@uptimizr/dashboard 0.4.4 → 0.4.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 (347) hide show
  1. package/out/404.html +1 -1
  2. package/out/__next.__PAGE__.txt +4 -4
  3. package/out/__next._full.txt +11 -11
  4. package/out/__next._head.txt +4 -4
  5. package/out/__next._index.txt +4 -4
  6. package/out/__next._tree.txt +2 -2
  7. package/out/_next/static/chunks/{2o8k8x5zcepfy.js → 0-k4hp87gwues.js} +1 -1
  8. package/out/_next/static/chunks/{0s84ekz_f9ngx.js → 0-laj-bivzp4x.js} +1 -1
  9. package/out/_next/static/chunks/{3tdzweqszru4y.js → 04zj0yf1qhk1o.js} +1 -1
  10. package/out/_next/static/chunks/05s0t-besbvu1.css +3 -0
  11. package/out/_next/static/chunks/{1e_-_7biavwmb.js → 06fbalmyyfpsy.js} +1 -1
  12. package/out/_next/static/chunks/{3yr66ufoli71t.js → 07hgbbqksqd1g.js} +1 -1
  13. package/out/_next/static/chunks/08ou2nvy48e0u.js +1 -0
  14. package/out/_next/static/chunks/08y5-irjbsiy8.js +1 -0
  15. package/out/_next/static/chunks/{2pbgsq7vvtk8_.js → 0_jrfk2u1u3fi.js} +1 -1
  16. package/out/_next/static/chunks/{1-4v8oivkgnyl.js → 0a475u_q5i_dd.js} +2 -2
  17. package/out/_next/static/chunks/0aad2r4s4wl1x.js +5 -0
  18. package/out/_next/static/chunks/{2rjfrjhp4kjev.js → 0cmyc-uvk93kl.js} +52 -52
  19. package/out/_next/static/chunks/{1ozi46t8jajqh.js → 0d9pxx1w_zqr9.js} +1 -1
  20. package/out/_next/static/chunks/{3-x7522okdy-7.js → 0e5dcxmkprebg.js} +1 -1
  21. package/out/_next/static/chunks/{1n_gxvu31aofy.js → 0gk5rnci1hznh.js} +2 -2
  22. package/out/_next/static/chunks/0gnjtwq-474uc.js +1 -0
  23. package/out/_next/static/chunks/0gsh_d0m5xss1.js +1 -0
  24. package/out/_next/static/chunks/0i9wa8hjd-5tc.js +1 -0
  25. package/out/_next/static/chunks/0ibzpjo0h731v.js +1 -0
  26. package/out/_next/static/chunks/{41yy4p3-rtyz1.js → 0j0a0wvmmghxj.js} +1 -1
  27. package/out/_next/static/chunks/{29gv2swsp7tzu.js → 0j2ygtc_-bo3m.js} +1 -1
  28. package/out/_next/static/chunks/{0dck67in84de0.js → 0j_3k5qhv_mdx.js} +1 -1
  29. package/out/_next/static/chunks/0jap7l5-bskj4.js +114 -0
  30. package/out/_next/static/chunks/{0n92hec_jb_-_.js → 0jis2w2mfx062.js} +1 -1
  31. package/out/_next/static/chunks/0jjvp2slpf7d6.js +1 -0
  32. package/out/_next/static/chunks/0ko10wo4rc9-b.js +1 -0
  33. package/out/_next/static/chunks/0lqmvz6k2h_of.js +1 -0
  34. package/out/_next/static/chunks/0lwjmr8efrlbt.js +17 -0
  35. package/out/_next/static/chunks/0noxyupihh8dk.js +1 -0
  36. package/out/_next/static/chunks/{2-hdejef-mpka.js → 0o0qtv35dqv3i.js} +219 -16
  37. package/out/_next/static/chunks/{43hwl25uke0l_.js → 0o1vph7x9shzu.js} +1 -1
  38. package/out/_next/static/chunks/{1tt1bbry-4f-6.js → 0o73w0cn5n_vl.js} +1 -1
  39. package/out/_next/static/chunks/0p6phe9kjlxn8.js +1 -0
  40. package/out/_next/static/chunks/0ptxb9dcwsw3o.js +1 -0
  41. package/out/_next/static/chunks/{31ei992g8gqz9.js → 0q0i4pdyq66gb.js} +1 -1
  42. package/out/_next/static/chunks/0q8pt8fd0ma30.js +1 -0
  43. package/out/_next/static/chunks/0qqx9aoz8l5d2.js +1 -0
  44. package/out/_next/static/chunks/0r-x702_jvhud.js +112 -0
  45. package/out/_next/static/chunks/{2h5nvlgky7fpa.js → 0rykrf_vofbad.js} +1 -1
  46. package/out/_next/static/chunks/0tsk32q-88t_7.js +1 -0
  47. package/out/_next/static/chunks/0u7577db_ivyr.js +1 -0
  48. package/out/_next/static/chunks/0unnrt0un064x.js +1 -0
  49. package/out/_next/static/chunks/{3mvaub8qjdyuc.js → 0uygtr4mo3h0v.js} +1 -1
  50. package/out/_next/static/chunks/0vf3facit951s.js +1 -0
  51. package/out/_next/static/chunks/{2pcdnd4nzcw4c.js → 0vzo-8t8c26k9.js} +1 -1
  52. package/out/_next/static/chunks/0xx7_7y5jdlh4.js +1 -0
  53. package/out/_next/static/chunks/0xyija62b6txc.js +1 -0
  54. package/out/_next/static/chunks/{0vso09vdz38sr.js → 0xzamrecplwzw.js} +1 -1
  55. package/out/_next/static/chunks/{2khh_pmm224k5.js → 0yd4_xh476fjn.js} +14 -217
  56. package/out/_next/static/chunks/0ypejzd74ixbw.js +338 -0
  57. package/out/_next/static/chunks/0zeb37703zcz3.js +1 -0
  58. package/out/_next/static/chunks/0zu5ato7-1-q9.js +1 -0
  59. package/out/_next/static/chunks/0zydv7y47dxgh.js +1 -0
  60. package/out/_next/static/chunks/103x4jwovb6d-.js +1 -0
  61. package/out/_next/static/chunks/107wfq84g9-kn.js +1 -0
  62. package/out/_next/static/chunks/10afagk8yn__n.js +1 -0
  63. package/out/_next/static/chunks/12ory_c78yl31.js +1 -0
  64. package/out/_next/static/chunks/{1ccn725by19i1.js → 133dqp8_7_yo6.js} +1 -1
  65. package/out/_next/static/chunks/1365lgwdd4vuo.js +1 -0
  66. package/out/_next/static/chunks/146ou-ohb_qhs.js +1 -0
  67. package/out/_next/static/chunks/{425epvuw3yy-n.js → 14e4k-718qadd.js} +31 -31
  68. package/out/_next/static/chunks/14orr68xgdykd.js +1 -0
  69. package/out/_next/static/chunks/15qfoj-vl9thu.js +1 -0
  70. package/out/_next/static/chunks/{0okbyggxe6mx5.js → 161yjxmdz9obc.js} +1 -1
  71. package/out/_next/static/chunks/166yqx3_qvbpy.js +1 -0
  72. package/out/_next/static/chunks/16gwjao676ieb.js +1 -0
  73. package/out/_next/static/chunks/{0n-zml1gn0o1u.js → 16rmmzhy2p7bw.js} +1 -1
  74. package/out/_next/static/chunks/{442e2l3jzxd-_.js → 17_jjyx4jz9dd.js} +1 -1
  75. package/out/_next/static/chunks/{0zf26k6juhlzo.js → 184pz6z3dflfm.js} +13 -10
  76. package/out/_next/static/chunks/18h9ugdz6igdb.js +1 -0
  77. package/out/_next/static/chunks/19d8n5t7ka2fb.js +1 -0
  78. package/out/_next/static/chunks/{1mvadj46owrck.js → 1_4hh3dfop93j.js} +1 -1
  79. package/out/_next/static/chunks/1_rbzw3n4fk0g.js +1 -0
  80. package/out/_next/static/chunks/{22ja7c3gk0_ko.js → 1a94whad0y57f.js} +1 -1
  81. package/out/_next/static/chunks/{1vmpltnr0cyos.js → 1aa9g197l4twm.js} +1 -1
  82. package/out/_next/static/chunks/1bq0fcnt1wy86.js +1 -0
  83. package/out/_next/static/chunks/{1fyh50hjt7hi_.js → 1bv-jzy_2jiqs.js} +1 -1
  84. package/out/_next/static/chunks/1c6mho7e0enta.js +1 -0
  85. package/out/_next/static/chunks/{2ymtumj-hfrjo.js → 1dfaheve77dhi.js} +1 -1
  86. package/out/_next/static/chunks/1dgf112ehnhm1.js +1 -0
  87. package/out/_next/static/chunks/{32vaw89wdwv5_.js → 1eirucr9s6-h5.js} +1 -1
  88. package/out/_next/static/chunks/{0dva036n8ab62.js → 1f07l3q77zat1.js} +1 -1
  89. package/out/_next/static/chunks/1fervgvgv10r-.js +1 -0
  90. package/out/_next/static/chunks/1fsof7un7igrn.js +1 -0
  91. package/out/_next/static/chunks/{3gyyjsot8mdav.js → 1gvu5a6ffbs7l.js} +1 -1
  92. package/out/_next/static/chunks/{0t89-lfct-7m6.js → 1h1gixjbjkbsl.js} +5 -5
  93. package/out/_next/static/chunks/1iel4pzhhh-c3.js +1 -0
  94. package/out/_next/static/chunks/1iojfx3-g4_n9.js +1 -0
  95. package/out/_next/static/chunks/{1__nujzr9e352.js → 1j4c0nvdo5q68.js} +1 -1
  96. package/out/_next/static/chunks/{1o3ggu95lfu6i.js → 1j4jt5q7px8sy.js} +1 -1
  97. package/out/_next/static/chunks/{2g_1ov-0j2kwd.js → 1jjw9hxgi2vzi.js} +1 -1
  98. package/out/_next/static/chunks/1k_8olnprvi8r.js +1 -0
  99. package/out/_next/static/chunks/1l0rt7d4m-xdk.js +5 -0
  100. package/out/_next/static/chunks/{1oljzgz5jistn.js → 1lu7rjfvxj8yj.js} +1 -1
  101. package/out/_next/static/chunks/{2c2dspoukng-5.js → 1mt4cnd_d6jvf.js} +1 -1
  102. package/out/_next/static/chunks/1my968s78he8g.js +272 -0
  103. package/out/_next/static/chunks/{03zip1uidm6x9.js → 1s0dpdqy480hg.js} +1 -1
  104. package/out/_next/static/chunks/1t-yolk97lmot.js +12 -0
  105. package/out/_next/static/chunks/1t2g1v0ubcsam.js +1 -0
  106. package/out/_next/static/chunks/{18wa83g0qfh-b.js → 1tbes2sv-qzcx.js} +1 -1
  107. package/out/_next/static/chunks/1upy8a5cb75kt.js +1 -0
  108. package/out/_next/static/chunks/{2zpn7010iqgsy.js → 1x0j78ohufpul.js} +1 -1
  109. package/out/_next/static/chunks/1xed71f608m4b.js +1 -0
  110. package/out/_next/static/chunks/1z790xxb46gxy.js +1 -0
  111. package/out/_next/static/chunks/{22rl_arnzs-ve.js → 1zmx71cvc6ksk.js} +1 -1
  112. package/out/_next/static/chunks/{3kalvwsf11-ss.js → 2-_a-v1xeo5hb.js} +15 -12
  113. package/out/_next/static/chunks/2-i29-jdbwww6.js +532 -0
  114. package/out/_next/static/chunks/{1solqr18og2ot.js → 2117sv2qzo6yq.js} +1 -1
  115. package/out/_next/static/chunks/219n3q-_eengm.js +1 -0
  116. package/out/_next/static/chunks/21wo3vdr_uby8.js +1 -0
  117. package/out/_next/static/chunks/{1nqojcig-0m3c.js → 22yht3s7c-xih.js} +1 -1
  118. package/out/_next/static/chunks/{3go-mst7n3udd.js → 23-y1f_zw56vo.js} +1 -1
  119. package/out/_next/static/chunks/{0-tzsd_n-ywom.js → 25brs445bjbik.js} +2 -2
  120. package/out/_next/static/chunks/25gep78-izw79.js +4 -0
  121. package/out/_next/static/chunks/{099ilz3dmm1jw.js → 26i7dn31afdtm.js} +1 -1
  122. package/out/_next/static/chunks/27hbplu797elx.js +1 -0
  123. package/out/_next/static/chunks/{3n-7bcmfbh299.js → 27z7j17kcrty_.js} +11 -11
  124. package/out/_next/static/chunks/{380ivzcfb4o_3.js → 287hakn2ijupp.js} +2 -2
  125. package/out/_next/static/chunks/28i3wgvgn_at1.js +1 -0
  126. package/out/_next/static/chunks/2992eiy52nazj.js +1 -0
  127. package/out/_next/static/chunks/29_n5j-hg_gsa.js +1 -0
  128. package/out/_next/static/chunks/29bxq-67oazfg.js +1 -0
  129. package/out/_next/static/chunks/{309f81l5ucsb_.js → 29hkkj9raxte9.js} +50 -50
  130. package/out/_next/static/chunks/29ings58w7kp1.js +1 -0
  131. package/out/_next/static/chunks/{2e46-2ubc90do.js → 2_6b9lraq-exh.js} +5 -5
  132. package/out/_next/static/chunks/{3w4qettzp7khe.js → 2_lw4d7t-xcqi.js} +32 -32
  133. package/out/_next/static/chunks/2_n0cpkdsjzli.js +1 -0
  134. package/out/_next/static/chunks/2a3iy701j4r_y.js +1 -0
  135. package/out/_next/static/chunks/2al9dh3_1ixhv.js +1 -0
  136. package/out/_next/static/chunks/{1gvdmbr65lpud.js → 2as_br1awqk6k.js} +69 -69
  137. package/out/_next/static/chunks/{0c5d3qn2mb3ew.js → 2awr1c_vfsutb.js} +1 -1
  138. package/out/_next/static/chunks/{2q0rz76kj6h5z.js → 2b5nt7yn-pq3a.js} +1 -1
  139. package/out/_next/static/chunks/2bxe3kjr17tdp.js +1 -0
  140. package/out/_next/static/chunks/{2z9mdtudj8crz.js → 2c8rmxz151fxa.js} +20 -18
  141. package/out/_next/static/chunks/{35aagg46wp139.js → 2clevl_9ayd0x.js} +1 -1
  142. package/out/_next/static/chunks/{41qxc142snm22.js → 2dvbzar93ooc-.js} +1 -1
  143. package/out/_next/static/chunks/2e-vp0e11g9ew.js +1 -0
  144. package/out/_next/static/chunks/{2-p206i_ihx09.js → 2epukrz6paj9n.js} +1 -1
  145. package/out/_next/static/chunks/2exj9-0p6n9x-.js +1 -0
  146. package/out/_next/static/chunks/{05uqfgf-hh-p5.js → 2fspbfbxbswzd.js} +1 -1
  147. package/out/_next/static/chunks/2gf8l6hbmt7v3.js +1 -0
  148. package/out/_next/static/chunks/{1ph0tfo-4hl-f.js → 2h07np207nlx7.js} +1 -1
  149. package/out/_next/static/chunks/{11p92pnn5el0v.js → 2h9i_adbqaxs4.js} +1 -1
  150. package/out/_next/static/chunks/{0bj_310rugcn1.js → 2iu0_3cx-ny74.js} +11 -11
  151. package/out/_next/static/chunks/2jio3sio-_43z.js +1 -0
  152. package/out/_next/static/chunks/{0uxdbfa8gv6tk.js → 2kk_vvmr2xm3d.js} +29 -29
  153. package/out/_next/static/chunks/2kmmk9coo9_b0.js +505 -0
  154. package/out/_next/static/chunks/{055baac5e-c2o.js → 2laz1v9fg2a2z.js} +1 -1
  155. package/out/_next/static/chunks/{1qsut_e3msg0l.js → 2mjjo0yj-4ro4.js} +1 -1
  156. package/out/_next/static/chunks/{0av6n_6q6kzo3.js → 2mrkv0z2i74pv.js} +2 -2
  157. package/out/_next/static/chunks/{04_3ri5emyfcu.js → 2neieeo9g2u56.js} +1 -1
  158. package/out/_next/static/chunks/{1upkv4ltuh3s5.js → 2oacwtbslo90t.js} +84 -84
  159. package/out/_next/static/chunks/2pb_uosb-aa8x.js +1 -0
  160. package/out/_next/static/chunks/2qu-gpm3ux1l6.js +1 -0
  161. package/out/_next/static/chunks/2rsi6v7qmqx2b.js +1 -0
  162. package/out/_next/static/chunks/2s4fzgzkwjluu.js +2 -0
  163. package/out/_next/static/chunks/2tdvuc-27khif.js +1 -0
  164. package/out/_next/static/chunks/{2bm95r0011asw.js → 2trolrgd7neax.js} +1 -1
  165. package/out/_next/static/chunks/2uyuafmoe5wi0.js +3 -0
  166. package/out/_next/static/chunks/2w2e0pxgs-n8f.js +1 -0
  167. package/out/_next/static/chunks/{1qxhgauuomthl.js → 2wgh5i70bzelt.js} +60 -60
  168. package/out/_next/static/chunks/{3d76e_yd8l_0x.js → 2x-7kbwq8tl-o.js} +59 -59
  169. package/out/_next/static/chunks/{1t2exh89lnazc.js → 2xe4bgir5l-9b.js} +32 -99
  170. package/out/_next/static/chunks/2xujlsx3stqig.js +1 -0
  171. package/out/_next/static/chunks/{267q_eg-c6f6m.js → 3-yhe6rcsjh88.js} +1 -1
  172. package/out/_next/static/chunks/30y71dxdpv52d.js +1 -0
  173. package/out/_next/static/chunks/32c-e_v8_2xkf.js +1 -0
  174. package/out/_next/static/chunks/32oj0iudhp8bm.js +1 -0
  175. package/out/_next/static/chunks/{0w-hm7g7trtjg.js → 336ckqpboqmbn.js} +1 -1
  176. package/out/_next/static/chunks/33p9du6y9eegg.js +1 -0
  177. package/out/_next/static/chunks/{3w_umk1xtj6to.js → 36pz_ews7u0xb.js} +1 -1
  178. package/out/_next/static/chunks/{1ux1rpe-n1mai.js → 374lzksboll-t.js} +1 -1
  179. package/out/_next/static/chunks/38om-j0h0rryk.js +1 -0
  180. package/out/_next/static/chunks/{3oyuoqr8y2g9r.js → 38q0enmlg5q9o.js} +2 -2
  181. package/out/_next/static/chunks/{25gf6xn9u1c57.js → 39cou9lia_g7l.js} +1 -1
  182. package/out/_next/static/chunks/39pkya0_bvcaj.js +1 -0
  183. package/out/_next/static/chunks/{1x99m91nt1m3b.js → 39rhmj_32ujyj.js} +1 -1
  184. package/out/_next/static/chunks/3_1zzmx92j9c0.js +1 -0
  185. package/out/_next/static/chunks/{3z4suna4kq4j5.js → 3_dm45k0vk1aa.js} +34 -35
  186. package/out/_next/static/chunks/3_earszshuz4n.js +1 -0
  187. package/out/_next/static/chunks/{1ephzzweysylq.js → 3_gfl66zf638s.js} +38 -105
  188. package/out/_next/static/chunks/3ap_uxc8lx7ni.js +1 -0
  189. package/out/_next/static/chunks/{0pv2wirx45e1m.js → 3b6na8zrex8jo.js} +1 -1
  190. package/out/_next/static/chunks/3c0cxt72vilyz.js +1 -0
  191. package/out/_next/static/chunks/3cp5nmtwxq4gr.js +1 -0
  192. package/out/_next/static/chunks/{0tn-9w46cwydp.js → 3d43gd91r06y6.js} +39 -40
  193. package/out/_next/static/chunks/3g78x0pdaoi_4.js +1 -0
  194. package/out/_next/static/chunks/{1di5enkavl9vx.js → 3gjvl1p-tugfe.js} +2 -2
  195. package/out/_next/static/chunks/{1mrvp94tietcv.js → 3i8iro1gas1vx.js} +1 -1
  196. package/out/_next/static/chunks/{3-_08i4_7yhno.js → 3ioxfi3bvznhh.js} +1 -1
  197. package/out/_next/static/chunks/{2i82rmjta9ijs.js → 3j3ol_d1vsdhx.js} +1 -1
  198. package/out/_next/static/chunks/3kpqfqr99vo7z.js +1 -0
  199. package/out/_next/static/chunks/3lladf_wemm-2.js +1 -0
  200. package/out/_next/static/chunks/{0-0hui1_v3h8b.js → 3mmy9zsb7zo-m.js} +12 -9
  201. package/out/_next/static/chunks/{17aahvhpls1l7.js → 3my05px5mv_s5.js} +83 -16
  202. package/out/_next/static/chunks/3n62hbywoknop.js +1 -0
  203. package/out/_next/static/chunks/{0wq_9f98weoe3.js → 3nr48h9zwum-3.js} +1 -1
  204. package/out/_next/static/chunks/{2x83vs8ns4pww.js → 3nwaovnpiyrt8.js} +1 -1
  205. package/out/_next/static/chunks/3o_dmzpahx-5g.js +1 -0
  206. package/out/_next/static/chunks/{0g2wngc6oe7fd.js → 3p03l0z65c8vc.js} +27 -25
  207. package/out/_next/static/chunks/{00xc-0pj7on2s.js → 3puu2_-t0lln9.js} +29 -29
  208. package/out/_next/static/chunks/{077eo-0dhbxz-.js → 3qo7e6b73mfxq.js} +1 -1
  209. package/out/_next/static/chunks/3r7v7un976sn7.js +1 -0
  210. package/out/_next/static/chunks/{255knovck7pv2.js → 3rj-5v0j_2-_2.js} +4 -4
  211. package/out/_next/static/chunks/3rl_nhqwew40w.js +1 -0
  212. package/out/_next/static/chunks/3s7hqij6xp_4e.js +1 -0
  213. package/out/_next/static/chunks/{1ng-fqh2_n984.js → 3si3migsmvz9o.js} +1 -1
  214. package/out/_next/static/chunks/3t4ys6th6gf2w.js +1 -0
  215. package/out/_next/static/chunks/{1og49_atcksim.js → 3twr9ds68-9us.js} +1 -1
  216. package/out/_next/static/chunks/{2ftp5xmq_w23j.js → 3txu-i5qn183a.js} +65 -65
  217. package/out/_next/static/chunks/{3y_51bmdnc0ey.js → 3uarw1i1ij1er.js} +1 -1
  218. package/out/_next/static/chunks/3un-w6wutw1qn.js +1 -0
  219. package/out/_next/static/chunks/3v8kgnjk27wbe.js +1 -0
  220. package/out/_next/static/chunks/{1t7nl8rx7mabd.js → 3vtmucpx25o7q.js} +61 -61
  221. package/out/_next/static/chunks/{04j9pexbmysdy.js → 3vu5y270muh-7.js} +1 -1
  222. package/out/_next/static/chunks/3we1khqfexh3x.js +1 -0
  223. package/out/_next/static/chunks/3yk0hzfq5rcs6.js +1 -0
  224. package/out/_next/static/chunks/3z35loj4i-id4.js +1 -0
  225. package/out/_next/static/chunks/{28ndw4nsw2t_4.js → 3zv5kyos9vtmm.js} +1 -1
  226. package/out/_next/static/chunks/{1hsvckd0sgdgr.js → 415g3asdds1ac.js} +1 -1
  227. package/out/_next/static/chunks/{1nasz7q3tvb53.js → 42lqt7ig40wk5.js} +1 -1
  228. package/out/_next/static/chunks/42s6ghsurq5q7.js +1 -0
  229. package/out/_next/static/chunks/42yctcfi2rfwr.js +1 -0
  230. package/out/_next/static/chunks/43_fau1gg69eo.js +1 -0
  231. package/out/_next/static/chunks/43ywrdzg_7af8.js +31 -0
  232. package/out/_next/static/chunks/{1ho02fc091nj2.js → 44m1ijc5cv80x.js} +1 -1
  233. package/out/_next/static/chunks/{3k-gz8qf-mj-p.js → 453_bg0lgesmp.js} +1 -1
  234. package/out/_next/static/chunks/{turbopack-3r8yn0j92tqw_.js → turbopack-1s36ieuku1ds3.js} +1 -1
  235. package/out/_not-found/__next._full.txt +9 -9
  236. package/out/_not-found/__next._head.txt +4 -4
  237. package/out/_not-found/__next._index.txt +4 -4
  238. package/out/_not-found/__next._not-found.__PAGE__.txt +2 -2
  239. package/out/_not-found/__next._not-found.txt +3 -3
  240. package/out/_not-found/__next._tree.txt +2 -2
  241. package/out/_not-found.html +1 -1
  242. package/out/_not-found.txt +9 -9
  243. package/out/index.html +1 -1
  244. package/out/index.txt +11 -11
  245. package/package.json +14 -14
  246. package/out/_next/static/chunks/00g5suuoa-_wn.js +0 -1
  247. package/out/_next/static/chunks/00o9hr_3hd0r8.js +0 -1
  248. package/out/_next/static/chunks/01fh3_bncbe5u.js +0 -1
  249. package/out/_next/static/chunks/01urdkl1j8o6l.js +0 -1
  250. package/out/_next/static/chunks/026vw95s88gsy.js +0 -1
  251. package/out/_next/static/chunks/02eui3ctddbd2.js +0 -1
  252. package/out/_next/static/chunks/04c4nksb5y9r-.js +0 -1
  253. package/out/_next/static/chunks/04g-l-_b4payc.js +0 -1
  254. package/out/_next/static/chunks/05bdni_jrobq1.js +0 -1
  255. package/out/_next/static/chunks/05o0tb8l_htmw.js +0 -1
  256. package/out/_next/static/chunks/07z6p262h5hgl.js +0 -1
  257. package/out/_next/static/chunks/08m_4cihfmik8.js +0 -1
  258. package/out/_next/static/chunks/08obqw64faj8j.js +0 -1
  259. package/out/_next/static/chunks/09ppu_k464q-n.js +0 -1
  260. package/out/_next/static/chunks/0bgcaf2x51kms.js +0 -1
  261. package/out/_next/static/chunks/0dg4wxz-6u5lo.js +0 -1
  262. package/out/_next/static/chunks/0erga_bzezbza.js +0 -1
  263. package/out/_next/static/chunks/0f0-i105odxqd.js +0 -1
  264. package/out/_next/static/chunks/0gyeqz9pagssf.js +0 -1
  265. package/out/_next/static/chunks/0i82k-t0fbn8f.js +0 -1
  266. package/out/_next/static/chunks/0kzw45f61wm3j.js +0 -1
  267. package/out/_next/static/chunks/0l8bfa2xewq69.js +0 -1
  268. package/out/_next/static/chunks/0qxd_8t3nca36.js +0 -1
  269. package/out/_next/static/chunks/0s1jghzw8jufz.js +0 -1
  270. package/out/_next/static/chunks/0ti58h622yo-_.js +0 -2
  271. package/out/_next/static/chunks/0u8yr4k1y6m2t.js +0 -1
  272. package/out/_next/static/chunks/0ubxyut5rr600.js +0 -1
  273. package/out/_next/static/chunks/0wbw9h7rsis2r.js +0 -1
  274. package/out/_next/static/chunks/0y4e49hpuucdi.js +0 -1
  275. package/out/_next/static/chunks/0yvevihll7sz-.js +0 -1
  276. package/out/_next/static/chunks/1-b44873bjsdw.js +0 -1
  277. package/out/_next/static/chunks/1-c3a1vnl8v1q.js +0 -1
  278. package/out/_next/static/chunks/1-xf86jgea22y.js +0 -1
  279. package/out/_next/static/chunks/10b0qqdnb_nox.js +0 -1
  280. package/out/_next/static/chunks/12kdmh0h_mboy.js +0 -1
  281. package/out/_next/static/chunks/141tngxsk32hq.js +0 -1
  282. package/out/_next/static/chunks/14ijcpo72av4r.js +0 -1
  283. package/out/_next/static/chunks/16hdip1drt8o-.js +0 -1
  284. package/out/_next/static/chunks/18txc1wwwu9f9.js +0 -1
  285. package/out/_next/static/chunks/19dp8nr4uygg2.js +0 -5
  286. package/out/_next/static/chunks/1_8acnu6_-qe-.js +0 -1
  287. package/out/_next/static/chunks/1bmyq1b0by7ug.js +0 -1
  288. package/out/_next/static/chunks/1d1tpj9nm1nhf.js +0 -1
  289. package/out/_next/static/chunks/1dfwa563iciz3.js +0 -1
  290. package/out/_next/static/chunks/1fwsjnd1y-lx_.js +0 -1
  291. package/out/_next/static/chunks/1gaexq_suxai0.js +0 -1
  292. package/out/_next/static/chunks/1gtj_l5ame5mw.js +0 -1
  293. package/out/_next/static/chunks/1i4f3n_2_3ery.js +0 -1
  294. package/out/_next/static/chunks/1j7e3qpjuj89a.js +0 -1
  295. package/out/_next/static/chunks/1qjsgebn9m-0l.js +0 -1
  296. package/out/_next/static/chunks/1rb8wewjbdisv.js +0 -1
  297. package/out/_next/static/chunks/1rr74xxjtckyv.js +0 -1
  298. package/out/_next/static/chunks/1uu55ejvi7q5u.js +0 -1
  299. package/out/_next/static/chunks/1xbzxfeq9789f.js +0 -1
  300. package/out/_next/static/chunks/1ybiu-rkt50_1.js +0 -1
  301. package/out/_next/static/chunks/20qelrstvz9_n.js +0 -1
  302. package/out/_next/static/chunks/21at65obnoo8z.js +0 -1
  303. package/out/_next/static/chunks/21ko5mxfderw0.js +0 -1
  304. package/out/_next/static/chunks/21muzwu43o8xg.js +0 -1
  305. package/out/_next/static/chunks/23d-hvrwpixpm.js +0 -1
  306. package/out/_next/static/chunks/2569rrrffvm2w.js +0 -31
  307. package/out/_next/static/chunks/29o74k0d6hkdf.js +0 -1
  308. package/out/_next/static/chunks/2btabnibkm0db.js +0 -1
  309. package/out/_next/static/chunks/2c--awgkdcikq.js +0 -1
  310. package/out/_next/static/chunks/2ep7mjbaoeou0.js +0 -1
  311. package/out/_next/static/chunks/2ezgqm7atphi6.js +0 -1
  312. package/out/_next/static/chunks/2gfjzq_vjea4w.js +0 -1
  313. package/out/_next/static/chunks/2h5hase6ewoyc.js +0 -1
  314. package/out/_next/static/chunks/2hghi41nhdww2.css +0 -3
  315. package/out/_next/static/chunks/2ies66gmou203.js +0 -1
  316. package/out/_next/static/chunks/2jenu2eek9viz.js +0 -1
  317. package/out/_next/static/chunks/2luaj_cf5f19-.js +0 -1
  318. package/out/_next/static/chunks/2mgmvz66gh5ub.js +0 -1
  319. package/out/_next/static/chunks/2nwlqtv3vrzcv.js +0 -1
  320. package/out/_next/static/chunks/2si5cg3hl5dtf.js +0 -4
  321. package/out/_next/static/chunks/2uhrhq35bki6u.js +0 -1
  322. package/out/_next/static/chunks/2zdzgmacaoor9.js +0 -1
  323. package/out/_next/static/chunks/2zyjw8g4tiu51.js +0 -1
  324. package/out/_next/static/chunks/3-irhmtm1q5qw.js +0 -1
  325. package/out/_next/static/chunks/3-k74vn9exnb6.js +0 -1
  326. package/out/_next/static/chunks/34845aqksy1dl.js +0 -3
  327. package/out/_next/static/chunks/34y7nx6qmat06.js +0 -1
  328. package/out/_next/static/chunks/36rqw8h6ildpl.js +0 -1
  329. package/out/_next/static/chunks/3a_khw6q6pyh1.js +0 -1
  330. package/out/_next/static/chunks/3c_31f20z4jrl.js +0 -1
  331. package/out/_next/static/chunks/3ckp70rgr63u9.js +0 -1
  332. package/out/_next/static/chunks/3ed24zmt8qfys.js +0 -1
  333. package/out/_next/static/chunks/3ez20hi1mxw0w.js +0 -1
  334. package/out/_next/static/chunks/3fdx-rnos5ft-.js +0 -1
  335. package/out/_next/static/chunks/3fgfbxxb-j_bn.js +0 -4
  336. package/out/_next/static/chunks/3lehc5pujwhsz.js +0 -1
  337. package/out/_next/static/chunks/3m0ytnc241yfz.js +0 -1
  338. package/out/_next/static/chunks/3mpe7c3iyxn5h.js +0 -1
  339. package/out/_next/static/chunks/3nw7u4bie0-g6.js +0 -1
  340. package/out/_next/static/chunks/3qatb38-tk_gd.js +0 -1
  341. package/out/_next/static/chunks/3rpm-1ryf073k.js +0 -1
  342. package/out/_next/static/chunks/3tdcdi_utmoy_.js +0 -1
  343. package/out/_next/static/chunks/3tt_ir_va6262.js +0 -1
  344. package/out/_next/static/chunks/43qmngblcab8f.js +0 -1
  345. /package/out/_next/static/{UgXxCZvX6DcLoCaAHvGbP → 5UjNvd7WCk97iC2cSmEGH}/_buildManifest.js +0 -0
  346. /package/out/_next/static/{UgXxCZvX6DcLoCaAHvGbP → 5UjNvd7WCk97iC2cSmEGH}/_clientMiddlewareManifest.js +0 -0
  347. /package/out/_next/static/{UgXxCZvX6DcLoCaAHvGbP → 5UjNvd7WCk97iC2cSmEGH}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,76427,t=>{"use strict";var e=t.i(17884),i=t.i(75105),a=t.i(8265),n=t.i(44520);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],27809),o(),t.s([],39356),t.i(39356),t.i(27809),t.s(["FlowGraphInterpolationBlock",0,r],76427)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,62750,o=>{"use strict";var e=o.i(17884),a=o.i(75105);let t="cachedOperationValue",l="cachedExecutionId";class r extends e.FlowGraphBlock{constructor(o,e){super(e),this.value=this.registerDataOutput("value",o),this.isValid=this.registerDataOutput("isValid",a.RichTypeBoolean)}_updateOutputs(o){let e=o._getExecutionVariable(this,l,-1),a=o._getExecutionVariable(this,t,null);if(null!=a&&e===o.executionId)this.isValid.setValue(!0,o),this.value.setValue(a,o);else try{let e=this._doOperation(o);if(null==e)return void this.isValid.setValue(!1,o);o._setExecutionVariable(this,t,e),o._setExecutionVariable(this,l,o.executionId),this.value.setValue(e,o),this.isValid.setValue(!0,o)}catch(e){this.isValid.setValue(!1,o)}}}o.s(["FlowGraphCachedOperationBlock",0,r])},8871,o=>{"use strict";var e=o.i(62750);class a extends e.FlowGraphCachedOperationBlock{constructor(o,e,a,t,l){super(e,l),this._operation=a,this._className=t,this.a=this.registerDataInput("a",o)}_doOperation(o){return this._operation(this.a.getValue(o))}getClassName(){return this._className}}o.s(["FlowGraphUnaryOperationBlock",0,a])},82154,o=>{"use strict";var e=o.i(8871),a=o.i(75105),t=o.i(32304),l=o.i(44520);class r extends e.FlowGraphUnaryOperationBlock{constructor(o){super(a.RichTypeBoolean,a.RichTypeNumber,o=>+o,"FlowGraphBooleanToFloat",o)}}class s extends e.FlowGraphUnaryOperationBlock{constructor(o){super(a.RichTypeBoolean,a.RichTypeFlowGraphInteger,o=>t.FlowGraphInteger.FromValue(+o),"FlowGraphBooleanToInt",o)}}class n extends e.FlowGraphUnaryOperationBlock{constructor(o){super(a.RichTypeNumber,a.RichTypeBoolean,o=>!!o,"FlowGraphFloatToBoolean",o)}}class i extends e.FlowGraphUnaryOperationBlock{constructor(o){super(a.RichTypeFlowGraphInteger,a.RichTypeBoolean,o=>!!o.value,"FlowGraphIntToBoolean",o)}}class h extends e.FlowGraphUnaryOperationBlock{constructor(o){super(a.RichTypeFlowGraphInteger,a.RichTypeNumber,o=>o.value,"FlowGraphIntToFloat",o)}}class p extends e.FlowGraphUnaryOperationBlock{constructor(o){super(a.RichTypeNumber,a.RichTypeFlowGraphInteger,e=>{switch(o?.roundingMode){case"floor":return t.FlowGraphInteger.FromValue(Math.floor(e));case"ceil":return t.FlowGraphInteger.FromValue(Math.ceil(e));case"round":return t.FlowGraphInteger.FromValue(Math.round(e));default:return t.FlowGraphInteger.FromValue(e)}},"FlowGraphFloatToInt",o)}}let c=!1;function u(){c||(c=!0,(0,l.RegisterClass)("FlowGraphBooleanToFloat",r),(0,l.RegisterClass)("FlowGraphBooleanToInt",s),(0,l.RegisterClass)("FlowGraphFloatToBoolean",n),(0,l.RegisterClass)("FlowGraphIntToBoolean",i),(0,l.RegisterClass)("FlowGraphIntToFloat",h),(0,l.RegisterClass)("FlowGraphFloatToInt",p))}o.s(["FlowGraphBooleanToFloat",0,r,"FlowGraphBooleanToInt",0,s,"FlowGraphFloatToBoolean",0,n,"FlowGraphFloatToInt",0,p,"FlowGraphIntToBoolean",0,i,"FlowGraphIntToFloat",0,h,"RegisterFlowGraphTypeToTypeBlocks",0,u],70062),u(),o.s([],70687),o.i(70687),o.i(70062),o.s(["FlowGraphBooleanToFloat",0,r,"FlowGraphBooleanToInt",0,s,"FlowGraphFloatToBoolean",0,n,"FlowGraphFloatToInt",0,p,"FlowGraphIntToBoolean",0,i,"FlowGraphIntToFloat",0,h],82154)}]);
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,84327,e=>{"use strict";var r=e.i(37875);let t="sceneUboDeclaration",i=`struct Scene {viewProjection : mat4x4<f32>,
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,97793,e=>{"use strict";var r=e.i(47150);let t="sceneUboDeclaration",i=`struct Scene {viewProjection : mat4x4<f32>,
2
2
  #ifdef MULTIVIEW
3
3
  viewProjectionR : mat4x4<f32>,
4
4
  #endif
@@ -8,7 +8,7 @@ vEyePosition : vec4<f32>,
8
8
  inverseProjection : mat4x4<f32>,};
9
9
  #define SCENE_UBO
10
10
  var<uniform> scene : Scene;
11
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["sceneUboDeclarationWGSL",0,{name:t,shader:i}])},17978,e=>{"use strict";var r=e.i(37875);let t="harmonicsFunctions",i=`#ifdef USESPHERICALFROMREFLECTIONMAP
11
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["sceneUboDeclarationWGSL",0,{name:t,shader:i}])},54058,e=>{"use strict";var r=e.i(47150);let t="harmonicsFunctions",i=`#ifdef USESPHERICALFROMREFLECTIONMAP
12
12
  #ifdef SPHERICAL_HARMONICS
13
13
  fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {return uniforms.vSphericalL00
14
14
  + uniforms.vSphericalL1_1*(normal.y)
@@ -23,7 +23,43 @@ fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {return uniforms.vSpherica
23
23
  fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {var Nx: f32=normal.x;var Ny: f32=normal.y;var Nz: f32=normal.z;var C1: vec3f=uniforms.vSphericalZZ.rgb;var Cx: vec3f=uniforms.vSphericalX.rgb;var Cy: vec3f=uniforms.vSphericalY.rgb;var Cz: vec3f=uniforms.vSphericalZ.rgb;var Cxx_zz: vec3f=uniforms.vSphericalXX_ZZ.rgb;var Cyy_zz: vec3f=uniforms.vSphericalYY_ZZ.rgb;var Cxy: vec3f=uniforms.vSphericalXY.rgb;var Cyz: vec3f=uniforms.vSphericalYZ.rgb;var Czx: vec3f=uniforms.vSphericalZX.rgb;var a1: vec3f=Cyy_zz*Ny+Cy;var a2: vec3f=Cyz*Nz+a1;var b1: vec3f=Czx*Nz+Cx;var b2: vec3f=Cxy*Ny+b1;var b3: vec3f=Cxx_zz*Nx+b2;var t1: vec3f=Cz *Nz+C1;var t2: vec3f=a2 *Ny+t1;var t3: vec3f=b3 *Nx+t2;return t3;}
24
24
  #endif
25
25
  #endif
26
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["harmonicsFunctionsWGSL",0,{name:t,shader:i}])},50641,93879,e=>{"use strict";var r=e.i(37875);let t="bonesDeclaration",i=`#if NUM_BONE_INFLUENCERS>0
26
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["harmonicsFunctionsWGSL",0,{name:t,shader:i}])},63593,4534,e=>{"use strict";var r=e.i(47150);let t="clipPlaneVertexDeclaration",i=`#ifdef CLIPPLANE
27
+ uniform vClipPlane: vec4<f32>;varying fClipDistance: f32;
28
+ #endif
29
+ #ifdef CLIPPLANE2
30
+ uniform vClipPlane2: vec4<f32>;varying fClipDistance2: f32;
31
+ #endif
32
+ #ifdef CLIPPLANE3
33
+ uniform vClipPlane3: vec4<f32>;varying fClipDistance3: f32;
34
+ #endif
35
+ #ifdef CLIPPLANE4
36
+ uniform vClipPlane4: vec4<f32>;varying fClipDistance4: f32;
37
+ #endif
38
+ #ifdef CLIPPLANE5
39
+ uniform vClipPlane5: vec4<f32>;varying fClipDistance5: f32;
40
+ #endif
41
+ #ifdef CLIPPLANE6
42
+ uniform vClipPlane6: vec4<f32>;varying fClipDistance6: f32;
43
+ #endif
44
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["clipPlaneVertexDeclarationWGSL",0,{name:t,shader:i}],63593);let n="clipPlaneVertex",a=`#ifdef CLIPPLANE
45
+ vertexOutputs.fClipDistance=dot(worldPos,uniforms.vClipPlane);
46
+ #endif
47
+ #ifdef CLIPPLANE2
48
+ vertexOutputs.fClipDistance2=dot(worldPos,uniforms.vClipPlane2);
49
+ #endif
50
+ #ifdef CLIPPLANE3
51
+ vertexOutputs.fClipDistance3=dot(worldPos,uniforms.vClipPlane3);
52
+ #endif
53
+ #ifdef CLIPPLANE4
54
+ vertexOutputs.fClipDistance4=dot(worldPos,uniforms.vClipPlane4);
55
+ #endif
56
+ #ifdef CLIPPLANE5
57
+ vertexOutputs.fClipDistance5=dot(worldPos,uniforms.vClipPlane5);
58
+ #endif
59
+ #ifdef CLIPPLANE6
60
+ vertexOutputs.fClipDistance6=dot(worldPos,uniforms.vClipPlane6);
61
+ #endif
62
+ `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["clipPlaneVertexWGSL",0,{name:n,shader:a}],4534)},57568,21550,11,58890,92928,67125,e=>{"use strict";var r=e.i(47150);let t="bonesDeclaration",i=`#if NUM_BONE_INFLUENCERS>0
27
63
  #ifndef USE_VERTEX_PULLING
28
64
  attribute matricesIndices : vec4f;attribute matricesWeights : vec4f;
29
65
  #if NUM_BONE_INFLUENCERS>4
@@ -46,7 +82,7 @@ let textureWidth=i32(uniforms.boneTextureInfo.x);let y=offset/textureWidth;let x
46
82
  #endif
47
83
  #endif
48
84
  #endif
49
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["bonesDeclarationWGSL",0,{name:t,shader:i}],50641);let n="bakedVertexAnimationDeclaration",a=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
85
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["bonesDeclarationWGSL",0,{name:t,shader:i}],57568);let n="bakedVertexAnimationDeclaration",a=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
50
86
  uniform bakedVertexAnimationTime: f32;uniform bakedVertexAnimationSettings: vec4<f32>;var bakedVertexAnimationTexture : texture_2d<f32>;
51
87
  #ifdef INSTANCES
52
88
  attribute bakedVertexAnimationSettingsInstanced : vec4<f32>;
@@ -54,7 +90,7 @@ attribute bakedVertexAnimationSettingsInstanced : vec4<f32>;
54
90
  fn readMatrixFromRawSamplerVAT(smp : texture_2d<f32>,index : f32,frame : f32)->mat4x4<f32>
55
91
  {let offset=i32(index)*4;let frameUV=i32(frame);let m0=textureLoad(smp,vec2<i32>(offset+0,frameUV),0);let m1=textureLoad(smp,vec2<i32>(offset+1,frameUV),0);let m2=textureLoad(smp,vec2<i32>(offset+2,frameUV),0);let m3=textureLoad(smp,vec2<i32>(offset+3,frameUV),0);return mat4x4<f32>(m0,m1,m2,m3);}
56
92
  #endif
57
- `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["bakedVertexAnimationDeclarationWGSL",0,{name:n,shader:a}],93879)},63547,e=>{"use strict";var r=e.i(37875);let t="instancesDeclaration",i=`#ifdef INSTANCES
93
+ `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["bakedVertexAnimationDeclarationWGSL",0,{name:n,shader:a}],21550);let f="instancesDeclaration",d=`#ifdef INSTANCES
58
94
  attribute world0 : vec4<f32>;attribute world1 : vec4<f32>;attribute world2 : vec4<f32>;attribute world3 : vec4<f32>;
59
95
  #ifdef INSTANCESCOLOR
60
96
  attribute instanceColor : vec4<f32>;
@@ -76,25 +112,7 @@ uniform world : mat4x4<f32>;
76
112
  uniform previousWorld : mat4x4<f32>;
77
113
  #endif
78
114
  #endif
79
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["instancesDeclarationWGSL",0,{name:t,shader:i}])},63608,e=>{"use strict";var r=e.i(37875);let t="clipPlaneVertexDeclaration",i=`#ifdef CLIPPLANE
80
- uniform vClipPlane: vec4<f32>;varying fClipDistance: f32;
81
- #endif
82
- #ifdef CLIPPLANE2
83
- uniform vClipPlane2: vec4<f32>;varying fClipDistance2: f32;
84
- #endif
85
- #ifdef CLIPPLANE3
86
- uniform vClipPlane3: vec4<f32>;varying fClipDistance3: f32;
87
- #endif
88
- #ifdef CLIPPLANE4
89
- uniform vClipPlane4: vec4<f32>;varying fClipDistance4: f32;
90
- #endif
91
- #ifdef CLIPPLANE5
92
- uniform vClipPlane5: vec4<f32>;varying fClipDistance5: f32;
93
- #endif
94
- #ifdef CLIPPLANE6
95
- uniform vClipPlane6: vec4<f32>;varying fClipDistance6: f32;
96
- #endif
97
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["clipPlaneVertexDeclarationWGSL",0,{name:t,shader:i}])},98046,99804,58220,4312,e=>{"use strict";var r=e.i(37875);let t="instancesVertex",i=`#ifdef INSTANCES
115
+ `;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["instancesDeclarationWGSL",0,{name:f,shader:d}],11);let o="instancesVertex",s=`#ifdef INSTANCES
98
116
  var finalWorld=mat4x4<f32>(vertexInputs.world0,vertexInputs.world1,vertexInputs.world2,vertexInputs.world3);
99
117
  #if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
100
118
  var finalPreviousWorld=mat4x4<f32>(
@@ -121,7 +139,7 @@ var finalWorld=mesh.world;
121
139
  var finalPreviousWorld=uniforms.previousWorld;
122
140
  #endif
123
141
  #endif
124
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["instancesVertexWGSL",0,{name:t,shader:i}],98046);let n="bonesVertex",a=`#ifndef BAKED_VERTEX_ANIMATION_TEXTURE
142
+ `;r.ShaderStore.IncludesShadersStoreWGSL[o]||(r.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["instancesVertexWGSL",0,{name:o,shader:s}],58890);let u="bonesVertex",v=`#ifndef BAKED_VERTEX_ANIMATION_TEXTURE
125
143
  #if NUM_BONE_INFLUENCERS>0
126
144
  var influence : mat4x4<f32>;
127
145
  #ifdef BONETEXTURE
@@ -174,7 +192,7 @@ influence=influence+uniforms.mBones[i32(vertexInputs.matricesIndicesExtra[3])]*v
174
192
  finalWorld=finalWorld*influence;
175
193
  #endif
176
194
  #endif
177
- `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["bonesVertexWGSL",0,{name:n,shader:a}],99804);let f="bakedVertexAnimation",d=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
195
+ `;r.ShaderStore.IncludesShadersStoreWGSL[u]||(r.ShaderStore.IncludesShadersStoreWGSL[u]=v),e.s(["bonesVertexWGSL",0,{name:u,shader:v}],92928);let m="bakedVertexAnimation",l=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
178
196
  {
179
197
  #ifdef INSTANCES
180
198
  let VATStartFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.x;let VATEndFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.y;let VATOffsetFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.z;let VATSpeed: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.w;
@@ -205,25 +223,7 @@ VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTextur
205
223
  #endif
206
224
  finalWorld=finalWorld*VATInfluence;}
207
225
  #endif
208
- `;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["bakedVertexAnimationWGSL",0,{name:f,shader:d}],58220);let o="clipPlaneVertex",s=`#ifdef CLIPPLANE
209
- vertexOutputs.fClipDistance=dot(worldPos,uniforms.vClipPlane);
210
- #endif
211
- #ifdef CLIPPLANE2
212
- vertexOutputs.fClipDistance2=dot(worldPos,uniforms.vClipPlane2);
213
- #endif
214
- #ifdef CLIPPLANE3
215
- vertexOutputs.fClipDistance3=dot(worldPos,uniforms.vClipPlane3);
216
- #endif
217
- #ifdef CLIPPLANE4
218
- vertexOutputs.fClipDistance4=dot(worldPos,uniforms.vClipPlane4);
219
- #endif
220
- #ifdef CLIPPLANE5
221
- vertexOutputs.fClipDistance5=dot(worldPos,uniforms.vClipPlane5);
222
- #endif
223
- #ifdef CLIPPLANE6
224
- vertexOutputs.fClipDistance6=dot(worldPos,uniforms.vClipPlane6);
225
- #endif
226
- `;r.ShaderStore.IncludesShadersStoreWGSL[o]||(r.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["clipPlaneVertexWGSL",0,{name:o,shader:s}],4312)},13407,16247,78326,9975,e=>{"use strict";var r=e.i(37875);let t="morphTargetsVertexGlobalDeclaration",i=`#ifdef MORPHTARGETS
226
+ `;r.ShaderStore.IncludesShadersStoreWGSL[m]||(r.ShaderStore.IncludesShadersStoreWGSL[m]=l),e.s(["bakedVertexAnimationWGSL",0,{name:m,shader:l}],67125)},92459,22253,61408,34609,e=>{"use strict";var r=e.i(47150);let t="morphTargetsVertexGlobalDeclaration",i=`#ifdef MORPHTARGETS
227
227
  uniform morphTargetInfluences : array<f32,NUM_MORPH_INFLUENCERS>;
228
228
  #ifdef MORPHTARGETS_TEXTURE
229
229
  uniform morphTargetTextureIndices : array<f32,NUM_MORPH_INFLUENCERS>;uniform morphTargetTextureInfo : vec3<f32>;var morphTargets : texture_2d_array<f32>;fn readVector3FromRawSampler(targetIndex : i32,vertexIndex : f32)->vec3<f32>
@@ -235,7 +235,7 @@ let textureWidth: i32=i32(uniforms.morphTargetTextureInfo.y);
235
235
  let y: i32=i32(vertexIndex)/textureWidth;let x: i32=i32(vertexIndex) % textureWidth;return textureLoad(morphTargets,vec2i(x,y),i32(uniforms.morphTargetTextureIndices[targetIndex]),0);}
236
236
  #endif
237
237
  #endif
238
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["morphTargetsVertexGlobalDeclarationWGSL",0,{name:t,shader:i}],13407);let n="morphTargetsVertexDeclaration",a=`#ifdef MORPHTARGETS
238
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["morphTargetsVertexGlobalDeclarationWGSL",0,{name:t,shader:i}],92459);let n="morphTargetsVertexDeclaration",a=`#ifdef MORPHTARGETS
239
239
  #ifndef MORPHTARGETS_TEXTURE
240
240
  #ifdef MORPHTARGETS_POSITION
241
241
  attribute position{X} : vec3<f32>;
@@ -259,12 +259,12 @@ attribute color{X} : vec4<f32>;
259
259
  uniform morphTargetCount: f32;
260
260
  #endif
261
261
  #endif
262
- `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["morphTargetsVertexDeclarationWGSL",0,{name:n,shader:a}],16247);let f="morphTargetsVertexGlobal",d=`#ifdef MORPHTARGETS
262
+ `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["morphTargetsVertexDeclarationWGSL",0,{name:n,shader:a}],22253);let f="morphTargetsVertexGlobal",d=`#ifdef MORPHTARGETS
263
263
  #ifdef MORPHTARGETS_TEXTURE
264
264
  var vertexID : f32;
265
265
  #endif
266
266
  #endif
267
- `;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["morphTargetsVertexGlobalWGSL",0,{name:f,shader:d}],78326);let o="morphTargetsVertex",s=`#ifdef MORPHTARGETS
267
+ `;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["morphTargetsVertexGlobalWGSL",0,{name:f,shader:d}],61408);let o="morphTargetsVertex",s=`#ifdef MORPHTARGETS
268
268
  #ifdef MORPHTARGETS_TEXTURE
269
269
  #if {X}==0
270
270
  for (var i=0; i<NUM_MORPH_INFLUENCERS; i=i+1) {if (f32(i)>=uniforms.morphTargetCount) {break;}
@@ -374,12 +374,12 @@ colorUpdated=colorUpdated+(vertexInputs.color{X}-vertexInputs.color)*uniforms.mo
374
374
  #endif
375
375
  #endif
376
376
  #endif
377
- `;r.ShaderStore.IncludesShadersStoreWGSL[o]||(r.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["morphTargetsVertexWGSL",0,{name:o,shader:s}],9975)},90305,e=>{"use strict";var r=e.i(37875);let t="bumpVertex",i=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
377
+ `;r.ShaderStore.IncludesShadersStoreWGSL[o]||(r.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["morphTargetsVertexWGSL",0,{name:o,shader:s}],34609)},19276,e=>{"use strict";var r=e.i(47150);let t="bumpVertex",i=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
378
378
  #if defined(TANGENT) && defined(NORMAL)
379
379
  var tbnNormal: vec3f=normalize(normalUpdated);var tbnTangent: vec3f=normalize(tangentUpdated.xyz);var tbnBitangent: vec3f=cross(tbnNormal,tbnTangent)*tangentUpdated.w;var matTemp= mat3x3f(finalWorld[0].xyz,finalWorld[1].xyz,finalWorld[2].xyz)* mat3x3f(tbnTangent,tbnBitangent,tbnNormal);vertexOutputs.vTBN0=matTemp[0];vertexOutputs.vTBN1=matTemp[1];vertexOutputs.vTBN2=matTemp[2];
380
380
  #endif
381
381
  #endif
382
- `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["bumpVertexWGSL",0,{name:t,shader:i}])},39779,e=>{"use strict";var r=e.i(37875),t=e.i(50641),i=e.i(93879),n=e.i(13407),a=e.i(16247),f=e.i(63547),d=e.i(84327),o=e.i(63608),s=e.i(17978),u=e.i(78326),v=e.i(9975),m=e.i(98046),l=e.i(99804),c=e.i(58220),p=e.i(4312),x=e.i(90305);let S="geometryVertexShader",I=`#include<bonesDeclaration>
382
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["bumpVertexWGSL",0,{name:t,shader:i}])},62160,e=>{"use strict";var r=e.i(47150),t=e.i(57568),i=e.i(21550),n=e.i(92459),a=e.i(22253),f=e.i(11),d=e.i(97793),o=e.i(63593),s=e.i(54058),u=e.i(61408),v=e.i(34609),m=e.i(58890),l=e.i(92928),c=e.i(67125),p=e.i(4534),x=e.i(19276);let S="geometryVertexShader",I=`#include<bonesDeclaration>
383
383
  #include<bakedVertexAnimationDeclaration>
384
384
  #include<morphTargetsVertexGlobalDeclaration>
385
385
  #include<morphTargetsVertexDeclaration>[0..maxSimultaneousMorphTargets]
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,64552,e=>{"use strict";let t,s,i,n,o,r,a;var l,h,c,d,u,_,g,p=e.i(3864),v=e.i(57575),b=e.i(9855),f=e.i(80065),O=e.i(14967),y=e.i(93872),m=e.i(16347);(l=u||(u={})).ExecuteBlock="ExecuteBlock",l.ExecuteEvent="ExecuteEvent",l.TriggerConnection="TriggerConnection",l.ContextVariableSet="ContextVariableSet",l.GlobalVariableSet="GlobalVariableSet",l.GlobalVariableDelete="GlobalVariableDelete",l.GlobalVariableGet="GlobalVariableGet",l.AddConnection="AddConnection",l.GetConnectionValue="GetConnectionValue",l.SetConnectionValue="SetConnectionValue",l.ActivateSignal="ActivateSignal",l.ContextVariableGet="ContextVariableGet";class x{constructor(){this.logToConsole=!1,this.log=[]}addLogItem(e){if(e.time||(e.time=Date.now()),this.log.push(e),this.logToConsole){let t=e.payload?.value;"object"==typeof t&&t.getClassName?m.Logger.Log(`[FGLog] ${e.className}:${e.uniqueId.split("-")[0]} ${e.action} - ${JSON.stringify(t.getClassName())}: ${t.toString()}`):m.Logger.Log(`[FGLog] ${e.className}:${e.uniqueId.split("-")[0]} ${e.action} - ${JSON.stringify(e.payload)}`)}}getItemsOfType(e){return this.log.filter(t=>t.action===e)}}let C=(i=[],n=[],o=[],r=[],h=class{get enableLogging(){return this._enableLogging}set enableLogging(e){this._enableLogging!==e&&(this._enableLogging=e,this._enableLogging?(this.logger=new x,this.logger.logToConsole=!0):this.logger=null)}constructor(e){this.uniqueId=(0,v.__runInitializers)(this,i,(0,f.RandomGUID)()),this.name=((0,v.__runInitializers)(this,n),(0,v.__runInitializers)(this,o,"")),this._userVariables=((0,v.__runInitializers)(this,r),{}),this._variableTypes={},this._executionVariables={},this._globalContextVariables={},this._connectionValues={},this._pendingBlocks=[],this._executionId=0,this.onNodeExecutedObservable=new p.Observable,this.onBreakpointHitObservable=new p.Observable,this.breakpointPredicate=null,this._pendingActivation=null,this._stepMode=!1,this._skipBreakpointForBlockId=null,this.treatDataAsRightHanded=!1,this._enableLogging=!1,this._configuration=e,this.assetsContext=e.assetsContext??e.scene}hasVariable(e){return e in this._userVariables}setVariable(e,t){this._userVariables[e]=t,this.logger?.addLogItem({time:Date.now(),className:this.getClassName(),uniqueId:this.uniqueId,action:"ContextVariableSet",payload:{name:e,value:t}})}getAsset(e,t){return(0,y.GetFlowGraphAssetWithType)(this.assetsContext,e,t)}getVariable(e){return this.logger?.addLogItem({time:Date.now(),className:this.getClassName(),uniqueId:this.uniqueId,action:"ContextVariableGet",payload:{name:e,value:this._userVariables[e]}}),this._userVariables[e]}get userVariables(){return this._userVariables}setVariableType(e,t){this._variableTypes[e]=t}getVariableType(e){return this._variableTypes[e]}get variableTypes(){return this._variableTypes}getScene(){return this._configuration.scene}_getUniqueIdPrefixedName(e,t){return`${e.uniqueId}_${t}`}_getGlobalContextVariable(e,t){return(this.logger?.addLogItem({time:Date.now(),className:this.getClassName(),uniqueId:this.uniqueId,action:"GlobalVariableGet",payload:{name:e,defaultValue:t,possibleValue:this._globalContextVariables[e]}}),this._hasGlobalContextVariable(e))?this._globalContextVariables[e]:t}_setGlobalContextVariable(e,t){this.logger?.addLogItem({time:Date.now(),className:this.getClassName(),uniqueId:this.uniqueId,action:"GlobalVariableSet",payload:{name:e,value:t}}),this._globalContextVariables[e]=t}_deleteGlobalContextVariable(e){this.logger?.addLogItem({time:Date.now(),className:this.getClassName(),uniqueId:this.uniqueId,action:"GlobalVariableDelete",payload:{name:e}}),delete this._globalContextVariables[e]}_hasGlobalContextVariable(e){return e in this._globalContextVariables}_setExecutionVariable(e,t,s){this._executionVariables[this._getUniqueIdPrefixedName(e,t)]=s}_getExecutionVariable(e,t,s){return this._hasExecutionVariable(e,t)?this._executionVariables[this._getUniqueIdPrefixedName(e,t)]:s}_deleteExecutionVariable(e,t){delete this._executionVariables[this._getUniqueIdPrefixedName(e,t)]}_hasExecutionVariable(e,t){return this._getUniqueIdPrefixedName(e,t)in this._executionVariables}_hasConnectionValue(e){return e.uniqueId in this._connectionValues}_setConnectionValue(e,t){this._connectionValues[e.uniqueId]=t,this.logger?.addLogItem({time:Date.now(),className:this.getClassName(),uniqueId:this.uniqueId,action:"SetConnectionValue",payload:{connectionPointId:e.uniqueId,value:t}})}_setConnectionValueByKey(e,t){this._connectionValues[e]=t}_getConnectionValue(e){return this.logger?.addLogItem({time:Date.now(),className:this.getClassName(),uniqueId:this.uniqueId,action:"GetConnectionValue",payload:{connectionPointId:e.uniqueId,value:this._connectionValues[e.uniqueId]}}),this._connectionValues[e.uniqueId]}get configuration(){return this._configuration}get hasPendingBlocks(){return this._pendingBlocks.length>0}_addPendingBlock(e){this._pendingBlocks.includes(e)||(this._pendingBlocks.push(e),this._pendingBlocks.sort((e,t)=>e.priority-t.priority))}_removePendingBlock(e){let t=this._pendingBlocks.indexOf(e);-1!==t&&this._pendingBlocks.splice(t,1)}_clearPendingBlocks(){for(let e of this._pendingBlocks)e._cancelPendingTasks(this);this._pendingBlocks.length=0}_notifyExecuteNode(e){this.onNodeExecutedObservable.notifyObservers(e),this.logger?.addLogItem({time:Date.now(),className:e.getClassName(),uniqueId:e.uniqueId,action:"ExecuteBlock"})}_notifyOnTick(e){for(let t of(this._setGlobalContextVariable("timeSinceStart",e.timeSinceStart),this._setGlobalContextVariable("deltaTime",e.deltaTime),this._pendingBlocks))t._executeOnTick?.(this)}_increaseExecutionId(){this._executionId++}get executionId(){return this._executionId}_shouldBreak(e,t){return this._skipBreakpointForBlockId===e.uniqueId?(this._skipBreakpointForBlockId=null,!1):!!this._pendingActivation||(this._stepMode?(this._stepMode=!1,this._pendingActivation={block:e,context:this,signal:t},this.onBreakpointHitObservable.notifyObservers(this._pendingActivation),!0):!!(this.breakpointPredicate&&this.breakpointPredicate(e))&&(this._pendingActivation={block:e,context:this,signal:t},this.onBreakpointHitObservable.notifyObservers(this._pendingActivation),!0))}get pendingActivation(){return this._pendingActivation}continueExecution(){let e=this._pendingActivation;e&&(this._pendingActivation=null,this._skipBreakpointForBlockId=e.block.uniqueId,e.signal._activateSignal(this),this._skipBreakpointForBlockId=null)}stepExecution(){let e=this._pendingActivation;e&&(this._pendingActivation=null,this._stepMode=!0,this._skipBreakpointForBlockId=e.block.uniqueId,e.signal._activateSignal(this),this._stepMode=!1,this._skipBreakpointForBlockId=null)}_clearPendingActivation(){this._pendingActivation=null,this._stepMode=!1,this._skipBreakpointForBlockId=null}serialize(e={},t=O.defaultValueSerializationFunction){for(let s in e.uniqueId=this.uniqueId,e.name=this.name,e._userVariables={},this._userVariables)t(s,this._userVariables[s],e._userVariables);for(let s in Object.keys(this._variableTypes).length>0&&(e._variableTypes={...this._variableTypes}),e._connectionValues={},this._connectionValues)t(s,this._connectionValues[s],e._connectionValues);this.assetsContext!==this.getScene()&&(e._assetsContext={meshes:this.assetsContext.meshes.map(e=>e.id),materials:this.assetsContext.materials.map(e=>e.id),textures:this.assetsContext.textures.map(e=>e.name),animations:this.assetsContext.animations.map(e=>e.name),lights:this.assetsContext.lights.map(e=>e.id),cameras:this.assetsContext.cameras.map(e=>e.id),sounds:this.assetsContext.sounds?.map(e=>e.name),skeletons:this.assetsContext.skeletons.map(e=>e.id),particleSystems:this.assetsContext.particleSystems.map(e=>e.name),geometries:this.assetsContext.geometries.map(e=>e.id),multiMaterials:this.assetsContext.multiMaterials.map(e=>e.id),transformNodes:this.assetsContext.transformNodes.map(e=>e.id)})}getClassName(){return"FlowGraphContext"}},a="function"==typeof Symbol&&Symbol.metadata?Object.create(null):void 0,t=[(0,b.serialize)()],s=[(0,b.serialize)()],(0,v.__esDecorate)(null,null,t,{kind:"field",name:"uniqueId",static:!1,private:!1,access:{has:e=>"uniqueId"in e,get:e=>e.uniqueId,set:(e,t)=>{e.uniqueId=t}},metadata:a},i,n),(0,v.__esDecorate)(null,null,s,{kind:"field",name:"name",static:!1,private:!1,access:{has:e=>"name"in e,get:e=>e.name,set:(e,t)=>{e.name=t}},metadata:a},o,r),a&&Object.defineProperty(h,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:a}),h);var E=e.i(44938),k=e.i(79440),I=e.i(84964),B=e.i(71092),w=e.i(79105);class T{constructor(e){this.onEventTriggeredObservable=new p.Observable,this.sceneReadyTriggered=!1,this._pointerUnderMeshState={},this._onBlurHandler=null,this.pressedKeys=new Set,this._startingTime=0,this._scene=e,this._initialize()}_initialize(){this._sceneReadyObserver=this._scene.onReadyObservable.addOnce(()=>{this.sceneReadyTriggered||(this.onEventTriggeredObservable.notifyObservers({type:"SceneReady"}),this.sceneReadyTriggered=!0)}),this._sceneDisposeObserver=this._scene.onDisposeObservable.add(()=>{this.onEventTriggeredObservable.notifyObservers({type:"SceneDispose"})}),this._sceneOnBeforeRenderObserver=this._scene.onBeforeRenderObservable.add(()=>{let e=this._scene.getEngine().getDeltaTime()/1e3;this.onEventTriggeredObservable.notifyObservers({type:"SceneBeforeRender",payload:{timeSinceStart:this._startingTime,deltaTime:e}}),this._startingTime+=e}),this._meshPickedObserver=this._scene.onPointerObservable.add(e=>{this.onEventTriggeredObservable.notifyObservers({type:"MeshPick",payload:e})},I.PointerEventTypes.POINTERPICK),this._pointerDownObserver=this._scene.onPointerObservable.add(e=>{this.onEventTriggeredObservable.notifyObservers({type:"PointerDown",payload:e})},I.PointerEventTypes.POINTERDOWN),this._pointerUpObserver=this._scene.onPointerObservable.add(e=>{this.onEventTriggeredObservable.notifyObservers({type:"PointerUp",payload:e})},I.PointerEventTypes.POINTERUP),this._pointerMoveObserver=this._scene.onPointerObservable.add(e=>{this.onEventTriggeredObservable.notifyObservers({type:"PointerMove",payload:e})},I.PointerEventTypes.POINTERMOVE),this._meshUnderPointerObserver=this._scene.onMeshUnderPointerUpdatedObservable.add(e=>{let t=e.pointerId,s=e.mesh,i=this._pointerUnderMeshState[t];!i&&s?this.onEventTriggeredObservable.notifyObservers({type:"PointerOver",payload:{pointerId:t,mesh:s}}):i&&!s?this.onEventTriggeredObservable.notifyObservers({type:"PointerOut",payload:{pointerId:t,mesh:i}}):i&&s&&i!==s&&(this.onEventTriggeredObservable.notifyObservers({type:"PointerOut",payload:{pointerId:t,mesh:i,over:s}}),this.onEventTriggeredObservable.notifyObservers({type:"PointerOver",payload:{pointerId:t,mesh:s,out:i}})),this._pointerUnderMeshState[t]=s},I.PointerEventTypes.POINTERMOVE),this._keyDownObserver=this._scene.onKeyboardObservable.add(e=>{let t=e.event.code;this.pressedKeys.add(t),T._COMMAND_OR_CTRL_CODES.has(t)&&this.pressedKeys.add("CommandOrControl"),this.onEventTriggeredObservable.notifyObservers({type:"KeyDown",payload:e})},B.KeyboardEventTypes.KEYDOWN),this._keyUpObserver=this._scene.onKeyboardObservable.add(e=>{let t=e.event.code;if(this.pressedKeys.delete(t),T._COMMAND_OR_CTRL_CODES.has(t)){let e=!1;for(let s of Array.from(T._COMMAND_OR_CTRL_CODES))if(s!==t&&this.pressedKeys.has(s)){e=!0;break}e||this.pressedKeys.delete("CommandOrControl")}this.onEventTriggeredObservable.notifyObservers({type:"KeyUp",payload:e})},B.KeyboardEventTypes.KEYUP);let e=this._scene.getEngine().getRenderingCanvas();e&&(this._onBlurHandler=()=>this.pressedKeys.clear(),e.addEventListener("blur",this._onBlurHandler))}dispose(){if(this._sceneDisposeObserver?.remove(),this._sceneReadyObserver?.remove(),this._sceneOnBeforeRenderObserver?.remove(),this._meshPickedObserver?.remove(),this._meshUnderPointerObserver?.remove(),this._pointerDownObserver?.remove(),this._pointerUpObserver?.remove(),this._pointerMoveObserver?.remove(),this._keyDownObserver?.remove(),this._keyUpObserver?.remove(),this._onBlurHandler){let e=this._scene.getEngine().getRenderingCanvas();e?.removeEventListener("blur",this._onBlurHandler),this._onBlurHandler=null}this.pressedKeys.clear(),this.onEventTriggeredObservable.clear()}}T._COMMAND_OR_CTRL_CODES=new Set(w._IsMacPlatform?["MetaLeft","MetaRight"]:["ControlLeft","ControlRight"]);var G=e.i(78992);(c=_||(_={}))[c.Error=0]="Error",c[c.Warning=1]="Warning";let P=new Set(["number","FlowGraphInteger","boolean"]),S=new Set(["Vector4","Quaternion"]),V=new Set(["Color3","Color4"]);function R(e){return e instanceof G.FlowGraphEventBlock}var q=e.i(92180),F=e.i(51843);(d=g||(g={}))[d.Stopped=0]="Stopped",d[d.Started=1]="Started",d[d.Paused=2]="Paused";class A{_getGlobalFlowGraphEditor(){if("u">typeof FLOWGRAPHEDITOR){if(FLOWGRAPHEDITOR.FlowGraphEditor)return FLOWGRAPHEDITOR;if(FLOWGRAPHEDITOR.default?.FlowGraphEditor)return FLOWGRAPHEDITOR.default}if("u">typeof BABYLON&&void 0!==BABYLON.FlowGraphEditor)return BABYLON}get scene(){return this._scene}get coordinator(){return this._coordinator}get sceneEventCoordinator(){return this._sceneEventCoordinator}get state(){return this._state}set state(e){this._state=e,this.onStateChangedObservable.notifyObservers(e)}constructor(e){this._BJSFLOWGRAPHEDITOR=this._getGlobalFlowGraphEditor(),this.onStateChangedObservable=new p.Observable,this._eventBlocks={SceneReady:[],SceneDispose:[],SceneBeforeRender:[],MeshPick:[],PointerDown:[],PointerUp:[],PointerMove:[],PointerOver:[],PointerOut:[],KeyDown:[],KeyUp:[],SceneAfterRender:[],NoTrigger:[]},this._allBlocks=[],this._executionContexts=[],this._state=0,this._scene=e.scene,this._sceneEventCoordinator=new T(this._scene),this._coordinator=e.coordinator,this.name=e.name??"Graph",this.uniqueId=e.uniqueId??(0,f.RandomGUID)()}_attachEventObserver(){this._eventObserver||(this._eventObserver=this._sceneEventCoordinator.onEventTriggeredObservable.add(e=>{if("SceneDispose"===e.type)return void this.dispose();if(1===this.state){for(let t of this._executionContexts)for(let s of this._getContextualOrder(e.type,t))if(!s._executeEvent(t,e.payload))break;switch(e.type){case"SceneReady":this._sceneEventCoordinator.sceneReadyTriggered=!0;break;case"SceneBeforeRender":for(let t of this._executionContexts)t._notifyOnTick(e.payload)}}}))}_detachEventObserver(){this._eventObserver?.remove(),this._eventObserver=null}setScene(e){if(e!==this._scene){for(let t of(1===this.state&&this.stop(),this._detachEventObserver(),this._sceneEventCoordinator.dispose(),this._executionContexts.length=0,this._scene=e,this._scene.constantlyUpdateMeshUnderPointer=!0,this._allBlocks))for(let s of t.dataInputs)s._reresolveDefaultValueForScene(e);this._sceneEventCoordinator=new T(this._scene),this._attachEventObserver()}}createContext(){let e=new C({scene:this._scene,coordinator:this._coordinator,sceneEventCoordinator:this._sceneEventCoordinator});return this._executionContexts.push(e),e}getContext(e){return this._executionContexts[e]}get contextCount(){return this._executionContexts.length}removeContext(e){if(e<0||e>=this._executionContexts.length)return;let[t]=this._executionContexts.splice(e,1);return t._clearPendingBlocks(),t}getAllBlocks(){return this._allBlocks}addBlock(e){-1===this._allBlocks.indexOf(e)&&this._allBlocks.push(e)}removeBlock(e){let t=this._allBlocks.indexOf(e);if(-1!==t&&this._allBlocks.splice(t,1),e instanceof E.FlowGraphExecutionBlock&&"type"in e){let t=this._eventBlocks[e.type];if(t){let s=t.indexOf(e);-1!==s&&t.splice(s,1)}}if(e instanceof k.FlowGraphAsyncExecutionBlock)for(let t of this._executionContexts)e._cancelPendingTasks(t),e._resetAfterCanceled(t);for(let t of e.dataInputs)t.disconnectFromAll();for(let t of e.dataOutputs)t.disconnectFromAll();if(e instanceof E.FlowGraphExecutionBlock){for(let t of e.signalInputs)t.disconnectFromAll();for(let t of e.signalOutputs)t.disconnectFromAll()}}addEventBlock(e){if(this.addBlock(e),("PointerOver"===e.type||"PointerOut"===e.type)&&(this._scene.constantlyUpdateMeshUnderPointer=!0),this._eventBlocks[e.type].push(e),1===this.state)for(let t of this._executionContexts)e._startPendingTasks(t);else this.onStateChangedObservable.addOnce(t=>{if(1===t)for(let t of this._executionContexts)e._startPendingTasks(t)})}stop(){if(0!==this.state){for(let e of(this._detachEventObserver(),this.state=0,this._executionContexts))e._clearPendingBlocks(),e._clearPendingActivation();this._executionContexts.length=0}}pause(){if(1===this.state)for(let e of(this._detachEventObserver(),this.state=2,this._executionContexts))e._clearPendingBlocks()}start(){if(1===this.state)return;let e=2===this.state;0===this._executionContexts.length&&this.createContext(),this._attachEventObserver(),this.state=1,this._startPendingEvents(),e||(this._sceneEventCoordinator.sceneReadyTriggered=!1,this._scene.isReady(!0)?(this._sceneEventCoordinator.sceneReadyTriggered=!0,this._sceneEventCoordinator.onEventTriggeredObservable.notifyObservers({type:"SceneReady"})):this._scene.executeWhenReady(()=>{1!==this.state||this._sceneEventCoordinator.sceneReadyTriggered||(this._sceneEventCoordinator.sceneReadyTriggered=!0,this._sceneEventCoordinator.onEventTriggeredObservable.notifyObservers({type:"SceneReady"}))},!0))}_startPendingEvents(){for(let e of this._executionContexts)for(let t in this._eventBlocks)for(let s of this._getContextualOrder(t,e))s._startPendingTasks(e)}_getContextualOrder(e,t){let s=this._eventBlocks[e].sort((e,t)=>t.initPriority-e.initPriority);if("MeshPick"===e){let e=[];for(let i of s){let n=i.asset.getValue(t),o=0;for(;o<s.length;o++){let e=s[o].asset.getValue(t);if(n&&e&&(0,w._IsDescendantOf)(n,e))break}e.splice(o,0,i)}return e}return s}dispose(){if(this._detachEventObserver(),this._sceneEventCoordinator.dispose(),0!==this.state){for(let e of(this.state=0,this._executionContexts))e._clearPendingBlocks(),e._clearPendingActivation();for(let e in this._executionContexts.length=0,this._eventBlocks)this._eventBlocks[e].length=0;this._allBlocks.length=0}}visitAllBlocks(e){let t=[],s=new Set;for(let e in this._eventBlocks)for(let i of this._eventBlocks[e])t.push(i),s.add(i.uniqueId);for(;t.length>0;){let i=t.pop();for(let n of(e(i),i.dataInputs))for(let e of n._connectedPoint)s.has(e._ownerBlock.uniqueId)||(t.push(e._ownerBlock),s.add(e._ownerBlock.uniqueId));if(i instanceof E.FlowGraphExecutionBlock)for(let e of i.signalOutputs)for(let i of e._connectedPoint)s.has(i._ownerBlock.uniqueId)||(t.push(i._ownerBlock),s.add(i._ownerBlock.uniqueId))}}validate(){return function(e,t){let s=function(e){let t=[],s=new Map,i=e=>{if(t.push(e),e.block){let t=s.get(e.block.uniqueId);t||(t=[],s.set(e.block.uniqueId,t)),t.push(e)}},n=[];for(let t of(e.visitAllBlocks(e=>{n.push(e)}),0===function(e){let t=[];for(let s in e._eventBlocks)for(let i of e._eventBlocks[s])t.push(i);return t}(e).length&&i({severity:0,message:"Graph has no event blocks — nothing will trigger execution."}),n))for(let e of t.dataInputs)e.optional||e.isDisabled||e.isConnected()||i({severity:1,message:`"${e.name}" is not connected and will use its default value.`,block:t,connectionName:e.name});for(let e of n)if(e instanceof E.FlowGraphExecutionBlock){if(R(e))continue;let t=e.signalInputs.find(e=>"in"===e.name);t&&!t.isConnected()&&i({severity:0,message:"Execution block has no incoming signal — it will never execute.",block:e,connectionName:"in"})}for(let e of n)for(let t of e.dataInputs){if(!t.isConnected())continue;let s=t._connectedPoint[0],n=s.richType?.typeName,o=t.richType?.typeName;if(n&&o&&!(n===o||"any"===n||"any"===o||P.has(n)&&P.has(o)||S.has(n)&&S.has(o)||V.has(n)&&V.has(o))){if(void 0!==s.richType.typeTransformer||void 0!==t.richType.typeTransformer)continue;i({severity:1,message:`Type mismatch: "${s._ownerBlock.name}.${s.name}" (${n}) → "${e.name}.${t.name}" (${o}).`,block:e,connectionName:t.name})}}let o=new Set;return e.visitAllBlocks(e=>{o.add(e.uniqueId)}),function(e,t){let s=new Map;for(let t of e)s.set(t.uniqueId,0);let i=new Map;for(let t of e)i.set(t.uniqueId,t);let n=new Set;for(let i of e)0===s.get(i.uniqueId)&&function e(i){for(let o of(s.set(i.uniqueId,1),i.dataInputs))if(o.isConnected())for(let r of o._connectedPoint){let o=r._ownerBlock;if(o instanceof E.FlowGraphExecutionBlock)continue;let a=s.get(o.uniqueId);if(1===a)return n.has(i.uniqueId)||(n.add(i.uniqueId),t({severity:0,message:"Data dependency cycle detected — getValue() will recurse infinitely.",block:i})),n.has(o.uniqueId)||(n.add(o.uniqueId),t({severity:0,message:"Data dependency cycle detected — getValue() will recurse infinitely.",block:o})),!0;0===a&&e(o)}return s.set(i.uniqueId,2),!1}(i)}(n,i),t.sort((e,t)=>e.severity-t.severity),{isValid:t.every(e=>0!==e.severity),issues:t,errorCount:t.filter(e=>0===e.severity).length,warningCount:t.filter(e=>1===e.severity).length,issuesByBlock:s}}(e),i=new Set;for(let n of(e.visitAllBlocks(e=>{i.add(e.uniqueId)}),t))if(!i.has(n.uniqueId)){let e={severity:1,message:"Block is unreachable from any event block.",block:n};s.issues.push(e),s.warningCount++;let t=s.issuesByBlock.get(n.uniqueId);for(let i of(t||(t=[],s.issuesByBlock.set(n.uniqueId,t)),t.push(e),n.dataInputs))if(!i.optional&&!i.isDisabled&&!i.isConnected()){let e={severity:1,message:`"${i.name}" is not connected and will use its default value.`,block:n,connectionName:i.name};s.issues.push(e),s.warningCount++,t.push(e)}if(n instanceof E.FlowGraphExecutionBlock&&!R(n)){let e=n.signalInputs.find(e=>"in"===e.name);if(e&&!e.isConnected()){let e={severity:0,message:"Execution block has no incoming signal — it will never execute.",block:n,connectionName:"in"};s.issues.push(e),s.errorCount++,t.push(e)}}}return s.isValid=s.issues.every(e=>0!==e.severity),s.issues.sort((e,t)=>e.severity-t.severity),s}(this,this._allBlocks)}serialize(e={},t){e.name=this.name,e.uniqueId=this.uniqueId,e.allBlocks=[];let s=new Set,i=t=>{if(s.has(t.uniqueId))return;s.add(t.uniqueId);let i={};t.serialize(i),e.allBlocks.push(i)};for(let e of(this.visitAllBlocks(i),this._allBlocks))i(e);for(let s of(e.executionContexts=[],this._executionContexts)){let i={};s.serialize(i,t),e.executionContexts.push(i)}}async edit(e){return await new Promise(t=>{if(this._BJSFLOWGRAPHEDITOR=this._BJSFLOWGRAPHEDITOR||this._getGlobalFlowGraphEditor(),void 0===this._BJSFLOWGRAPHEDITOR){let s=e&&e.editorURL?e.editorURL:A.EditorURL;q.Tools.LoadBabylonScript(s,()=>{this._BJSFLOWGRAPHEDITOR=this._BJSFLOWGRAPHEDITOR||this._getGlobalFlowGraphEditor(),this._createFlowGraphEditor(e?.flowGraphEditorConfig),t()})}else this._createFlowGraphEditor(e?.flowGraphEditorConfig),t()})}_createFlowGraphEditor(e){let t={flowGraph:this,hostScene:this._scene,attachToLiveScene:!0,...e};this._BJSFLOWGRAPHEDITOR.FlowGraphEditor.Show(t)}}A.EditorURL=`${q.Tools._DefaultCdnUrl}/v${F.AbstractEngine.Version}/flowGraphEditor/babylon.flowGraphEditor.js`;class D{static get OnFlowGraphAddedObservable(){return this._OnFlowGraphAddedObservable}static get OnFlowGraphRemovedObservable(){return this._OnFlowGraphRemovedObservable}constructor(e){this.config=e,this.dispatchEventsSynchronously=!0,this._flowGraphs=[],this._customEventsMap=new Map,this._eventExecutionCounter=new Map,this._executeOnNextFrame=[],this._eventUniqueId=0,this._disposeObserver=this.config.scene.onDisposeObservable.add(()=>{this.dispose()}),this._onBeforeRenderObserver=this.config.scene.onBeforeRenderObservable.add(()=>{this._eventExecutionCounter.clear();let e=this._executeOnNextFrame.slice(0);if(e.length)for(let t of e){this.notifyCustomEvent(t.id,t.data,!1);let e=this._executeOnNextFrame.findIndex(e=>e.uniqueId===t.uniqueId);-1!==e&&this._executeOnNextFrame.splice(e,1)}});let t=D.SceneCoordinators.get(this.config.scene);t||(t=[],D.SceneCoordinators.set(this.config.scene,t)),t.push(this)}createGraph(e){let t=e??`Graph ${this._flowGraphs.length+1}`,s=new A({scene:this.config.scene,coordinator:this,name:t});return this._flowGraphs.push(s),D._OnFlowGraphAddedObservable.notifyObservers(s),s}removeGraph(e){let t=this._flowGraphs.indexOf(e);-1!==t&&(e.dispose(),this._flowGraphs.splice(t,1),D._OnFlowGraphRemovedObservable.notifyObservers(e))}start(){for(let e of this._flowGraphs)e.start()}dispose(){for(let e of this._flowGraphs)e.dispose(),D._OnFlowGraphRemovedObservable.notifyObservers(e);this._flowGraphs.length=0,this._disposeObserver?.remove(),this._onBeforeRenderObserver?.remove();let e=D.SceneCoordinators.get(this.config.scene)??[],t=e.indexOf(this);-1!==t&&e.splice(t,1)}serialize(e,t){for(let s of(e._flowGraphs=[],this._flowGraphs)){let i={};s.serialize(i,t),e._flowGraphs.push(i)}e.dispatchEventsSynchronously=this.dispatchEventsSynchronously}get flowGraphs(){return this._flowGraphs}getCustomEventObservable(e){let t=this._customEventsMap.get(e);return t||(t=new p.Observable,this._customEventsMap.set(e,t)),t}notifyCustomEvent(e,t,s=!this.dispatchEventsSynchronously){if(s)return void this._executeOnNextFrame.push({id:e,data:t,uniqueId:this._eventUniqueId++});if(this._eventExecutionCounter.has(e)){let t=this._eventExecutionCounter.get(e);if(this._eventExecutionCounter.set(e,t+1),t>=D.MaxEventTypeExecutionPerFrame){t===D.MaxEventTypeExecutionPerFrame&&m.Logger.Warn(`FlowGraphCoordinator: Too many executions of event "${e}".`);return}}else this._eventExecutionCounter.set(e,1);let i=this._customEventsMap.get(e);i&&i.notifyObservers(t)}}D.MaxEventsPerType=30,D.MaxEventTypeExecutionPerFrame=30,D.SceneCoordinators=new Map,D._OnFlowGraphAddedObservable=new p.Observable,D._OnFlowGraphRemovedObservable=new p.Observable,e.s(["FlowGraphCoordinator",0,D],64552)}]);
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,4294,71990,e=>{"use strict";var f=e.i(37875);let n="clipPlaneFragmentDeclaration",i=`#ifdef CLIPPLANE
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,29741,69809,e=>{"use strict";var f=e.i(47150);let n="clipPlaneFragmentDeclaration",i=`#ifdef CLIPPLANE
2
2
  varying fClipDistance: f32;
3
3
  #endif
4
4
  #ifdef CLIPPLANE2
@@ -16,7 +16,7 @@ varying fClipDistance5: f32;
16
16
  #ifdef CLIPPLANE6
17
17
  varying fClipDistance6: f32;
18
18
  #endif
19
- `;f.ShaderStore.IncludesShadersStoreWGSL[n]||(f.ShaderStore.IncludesShadersStoreWGSL[n]=i),e.s(["clipPlaneFragmentDeclarationWGSL",0,{name:n,shader:i}],4294);let r="clipPlaneFragment",o=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
19
+ `;f.ShaderStore.IncludesShadersStoreWGSL[n]||(f.ShaderStore.IncludesShadersStoreWGSL[n]=i),e.s(["clipPlaneFragmentDeclarationWGSL",0,{name:n,shader:i}],29741);let r="clipPlaneFragment",o=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
20
20
  if (false) {}
21
21
  #endif
22
22
  #ifdef CLIPPLANE
@@ -43,7 +43,7 @@ else if (fragmentInputs.fClipDistance5>0.0)
43
43
  else if (fragmentInputs.fClipDistance6>0.0)
44
44
  {discard;}
45
45
  #endif
46
- `;f.ShaderStore.IncludesShadersStoreWGSL[r]||(f.ShaderStore.IncludesShadersStoreWGSL[r]=o),e.s(["clipPlaneFragmentWGSL",0,{name:r,shader:o}],71990)},11557,18510,e=>{"use strict";var f=e.i(37875);let n="fogFragmentDeclaration",i=`#ifdef FOG
46
+ `;f.ShaderStore.IncludesShadersStoreWGSL[r]||(f.ShaderStore.IncludesShadersStoreWGSL[r]=o),e.s(["clipPlaneFragmentWGSL",0,{name:r,shader:o}],69809)},79361,57636,e=>{"use strict";var f=e.i(47150);let n="fogFragmentDeclaration",i=`#ifdef FOG
47
47
  #define FOGMODE_NONE 0.
48
48
  #define FOGMODE_EXP 1.
49
49
  #define FOGMODE_EXP2 2.
@@ -57,14 +57,14 @@ else if (FOGMODE_EXP2==uniforms.vFogInfos.x)
57
57
  {fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}
58
58
  return clamp(fogCoeff,0.0,1.0);}
59
59
  #endif
60
- `;f.ShaderStore.IncludesShadersStoreWGSL[n]||(f.ShaderStore.IncludesShadersStoreWGSL[n]=i),e.s(["fogFragmentDeclarationWGSL",0,{name:n,shader:i}],11557);let r="fogFragment",o=`#ifdef FOG
60
+ `;f.ShaderStore.IncludesShadersStoreWGSL[n]||(f.ShaderStore.IncludesShadersStoreWGSL[n]=i),e.s(["fogFragmentDeclarationWGSL",0,{name:n,shader:i}],79361);let r="fogFragment",o=`#ifdef FOG
61
61
  var fog: f32=CalcFogFactor();
62
62
  #ifdef PBR
63
63
  fog=toLinearSpace(fog);
64
64
  #endif
65
65
  color= vec4f(mix(uniforms.vFogColor,color.rgb,fog),color.a);
66
66
  #endif
67
- `;f.ShaderStore.IncludesShadersStoreWGSL[r]||(f.ShaderStore.IncludesShadersStoreWGSL[r]=o),e.s(["fogFragmentWGSL",0,{name:r,shader:o}],18510)},53245,e=>{"use strict";var f=e.i(37875),n=e.i(4294),i=e.i(11557),r=e.i(71990),o=e.i(18510);let a="colorPixelShader",t=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
67
+ `;f.ShaderStore.IncludesShadersStoreWGSL[r]||(f.ShaderStore.IncludesShadersStoreWGSL[r]=o),e.s(["fogFragmentWGSL",0,{name:r,shader:o}],57636)},25576,e=>{"use strict";var f=e.i(47150),n=e.i(29741),i=e.i(79361),r=e.i(69809),o=e.i(57636);let a="colorPixelShader",t=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
68
68
  #define VERTEXCOLOR
69
69
  varying vColor: vec4f;
70
70
  #else
@@ -1,4 +1,4 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,73272,e=>{"use strict";var t=e.i(37875);let i="helperFunctions",r=`const PI: f32=3.1415926535897932384626433832795;const TWO_PI: f32=6.283185307179586;const HALF_PI: f32=1.5707963267948966;const RECIPROCAL_PI: f32=0.3183098861837907;const RECIPROCAL_PI2: f32=0.15915494309189535;const RECIPROCAL_PI4: f32=0.07957747154594767;const HALF_MIN: f32=5.96046448e-08;
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,55880,e=>{"use strict";var t=e.i(47150);let i="helperFunctions",r=`const PI: f32=3.1415926535897932384626433832795;const TWO_PI: f32=6.283185307179586;const HALF_PI: f32=1.5707963267948966;const RECIPROCAL_PI: f32=0.3183098861837907;const RECIPROCAL_PI2: f32=0.15915494309189535;const RECIPROCAL_PI4: f32=0.07957747154594767;const HALF_MIN: f32=5.96046448e-08;
2
2
  const LinearEncodePowerApprox: f32=2.2;const GammaEncodePowerApprox: f32=1.0/LinearEncodePowerApprox;const LuminanceEncodeApprox: vec3f=vec3f(0.2126,0.7152,0.0722);const Epsilon:f32=0.0000001;fn square(x: f32)->f32 {return x*x;}
3
3
  fn saturate(x: f32)->f32 {return clamp(x,0.0,1.0);}
4
4
  fn saturateVec3(x: vec3f)->vec3f {return clamp(x,vec3f(),vec3f(1.0));}
@@ -84,7 +84,10 @@ fn max3(v: vec3f)->f32 {return max(v.x,max(v.y,v.z));}
84
84
  fn uint2float(i: u32)->f32 {return bitcast<f32>(0x3F800000u | (i>>9u))-1.0;}
85
85
  fn plasticSequence(rstate: u32)->vec2f {return vec2f(uint2float(rstate*3242174889u),
86
86
  uint2float(rstate*2447445414u));}
87
- `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["helperFunctionsWGSL",0,{name:i,shader:r}])},84327,e=>{"use strict";var t=e.i(37875);let i="sceneUboDeclaration",r=`struct Scene {viewProjection : mat4x4<f32>,
87
+ `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["helperFunctionsWGSL",0,{name:i,shader:r}])},73317,e=>{"use strict";var t=e.i(47150);let i="logDepthDeclaration",r=`#ifdef LOGARITHMICDEPTH
88
+ uniform logarithmicDepthConstant: f32;varying vFragmentDepth: f32;
89
+ #endif
90
+ `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["logDepthDeclarationWGSL",0,{name:i,shader:r}])},97793,e=>{"use strict";var t=e.i(47150);let i="sceneUboDeclaration",r=`struct Scene {viewProjection : mat4x4<f32>,
88
91
  #ifdef MULTIVIEW
89
92
  viewProjectionR : mat4x4<f32>,
90
93
  #endif
@@ -94,16 +97,13 @@ vEyePosition : vec4<f32>,
94
97
  inverseProjection : mat4x4<f32>,};
95
98
  #define SCENE_UBO
96
99
  var<uniform> scene : Scene;
97
- `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["sceneUboDeclarationWGSL",0,{name:i,shader:r}])},2586,30368,95676,e=>{"use strict";var t=e.i(37875);let i="meshUboDeclaration",r=`struct Mesh {world : mat4x4<f32>,
100
+ `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["sceneUboDeclarationWGSL",0,{name:i,shader:r}])},36113,e=>{"use strict";var t=e.i(47150);let i="meshUboDeclaration",r=`struct Mesh {world : mat4x4<f32>,
98
101
  visibility : f32,};var<uniform> mesh : Mesh;
99
102
  #define WORLD_UBO
100
- `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["meshUboDeclarationWGSL",0,{name:i,shader:r}],2586);let f="mainUVVaryingDeclaration",a=`#ifdef MAINUV{X}
103
+ `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["meshUboDeclarationWGSL",0,{name:i,shader:r}])},47569,e=>{"use strict";var t=e.i(47150);let i="mainUVVaryingDeclaration",r=`#ifdef MAINUV{X}
101
104
  varying vMainUV{X}: vec2f;
102
105
  #endif
103
- `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["mainUVVaryingDeclarationWGSL",0,{name:f,shader:a}],30368);let n="logDepthDeclaration",o=`#ifdef LOGARITHMICDEPTH
104
- uniform logarithmicDepthConstant: f32;varying vFragmentDepth: f32;
105
- #endif
106
- `;t.ShaderStore.IncludesShadersStoreWGSL[n]||(t.ShaderStore.IncludesShadersStoreWGSL[n]=o),e.s(["logDepthDeclarationWGSL",0,{name:n,shader:o}],95676)},17978,e=>{"use strict";var t=e.i(37875);let i="harmonicsFunctions",r=`#ifdef USESPHERICALFROMREFLECTIONMAP
106
+ `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["mainUVVaryingDeclarationWGSL",0,{name:i,shader:r}])},54058,e=>{"use strict";var t=e.i(47150);let i="harmonicsFunctions",r=`#ifdef USESPHERICALFROMREFLECTIONMAP
107
107
  #ifdef SPHERICAL_HARMONICS
108
108
  fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {return uniforms.vSphericalL00
109
109
  + uniforms.vSphericalL1_1*(normal.y)
@@ -118,7 +118,7 @@ fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {return uniforms.vSpherica
118
118
  fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {var Nx: f32=normal.x;var Ny: f32=normal.y;var Nz: f32=normal.z;var C1: vec3f=uniforms.vSphericalZZ.rgb;var Cx: vec3f=uniforms.vSphericalX.rgb;var Cy: vec3f=uniforms.vSphericalY.rgb;var Cz: vec3f=uniforms.vSphericalZ.rgb;var Cxx_zz: vec3f=uniforms.vSphericalXX_ZZ.rgb;var Cyy_zz: vec3f=uniforms.vSphericalYY_ZZ.rgb;var Cxy: vec3f=uniforms.vSphericalXY.rgb;var Cyz: vec3f=uniforms.vSphericalYZ.rgb;var Czx: vec3f=uniforms.vSphericalZX.rgb;var a1: vec3f=Cyy_zz*Ny+Cy;var a2: vec3f=Cyz*Nz+a1;var b1: vec3f=Czx*Nz+Cx;var b2: vec3f=Cxy*Ny+b1;var b3: vec3f=Cxx_zz*Nx+b2;var t1: vec3f=Cz *Nz+C1;var t2: vec3f=a2 *Ny+t1;var t3: vec3f=b3 *Nx+t2;return t3;}
119
119
  #endif
120
120
  #endif
121
- `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["harmonicsFunctionsWGSL",0,{name:i,shader:r}])},44068,e=>{"use strict";var t=e.i(37875);let i="pbrBRDFFunctions",r=`#define FRESNEL_MAXIMUM_ON_ROUGH 0.25
121
+ `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["harmonicsFunctionsWGSL",0,{name:i,shader:r}])},88887,e=>{"use strict";var t=e.i(47150);let i="pbrBRDFFunctions",r=`#define FRESNEL_MAXIMUM_ON_ROUGH 0.25
122
122
  #define BRDF_DIFFUSE_MODEL_EON 0
123
123
  #define BRDF_DIFFUSE_MODEL_BURLEY 1
124
124
  #define BRDF_DIFFUSE_MODEL_LAMBERT 2
@@ -290,11 +290,11 @@ fn transmittanceBRDF_Burley(tintColor: vec3f,diffusionDistance: vec3f,thickness:
290
290
  fn computeWrappedDiffuseNdotL(NdotL: f32,w: f32)->f32 {var t: f32=1.0+w;var invt2: f32=1.0/(t*t);return saturate((NdotL+w)*invt2);}
291
291
  #endif
292
292
  #endif
293
- `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["pbrBRDFFunctionsWGSL",0,{name:i,shader:r}])},11868,e=>{"use strict";var t=e.i(37875);e.i(84327),e.i(2586);let i="pbrUboDeclaration",r=`uniform vAlbedoInfos: vec2f;uniform vBaseWeightInfos: vec2f;uniform vBaseDiffuseRoughnessInfos: vec2f;uniform vAmbientInfos: vec4f;uniform vOpacityInfos: vec2f;uniform vEmissiveInfos: vec2f;uniform vLightmapInfos: vec2f;uniform vReflectivityInfos: vec3f;uniform vMicroSurfaceSamplerInfos: vec2f;uniform vBumpInfos: vec3f;uniform albedoMatrix: mat4x4f;uniform baseWeightMatrix: mat4x4f;uniform baseDiffuseRoughnessMatrix: mat4x4f;uniform ambientMatrix: mat4x4f;uniform opacityMatrix: mat4x4f;uniform emissiveMatrix: mat4x4f;uniform lightmapMatrix: mat4x4f;uniform reflectivityMatrix: mat4x4f;uniform microSurfaceSamplerMatrix: mat4x4f;uniform bumpMatrix: mat4x4f;uniform vTangentSpaceParams: vec2f;uniform vAlbedoColor: vec4f;uniform baseWeight: f32;uniform baseDiffuseRoughness: f32;uniform vLightingIntensity: vec4f;uniform pointSize: f32;uniform vReflectivityColor: vec4f;uniform vEmissiveColor: vec3f;uniform vAmbientColor: vec3f;uniform vDebugMode: vec2f;uniform vMetallicReflectanceFactors: vec4f;uniform vMetallicReflectanceInfos: vec2f;uniform metallicReflectanceMatrix: mat4x4f;uniform vReflectanceInfos: vec2f;uniform reflectanceMatrix: mat4x4f;uniform cameraInfo: vec4f;uniform vTextureRepetitionHexTilingParams: vec4f;uniform vReflectionInfos: vec2f;uniform reflectionMatrix: mat4x4f;uniform vReflectionMicrosurfaceInfos: vec3f;uniform vReflectionPosition: vec3f;uniform vReflectionSize: vec3f;uniform vReflectionFilteringInfo: vec2f;uniform vReflectionDominantDirection: vec3f;uniform vReflectionColor: vec3f;uniform vSphericalL00: vec3f;uniform vSphericalL1_1: vec3f;uniform vSphericalL10: vec3f;uniform vSphericalL11: vec3f;uniform vSphericalL2_2: vec3f;uniform vSphericalL2_1: vec3f;uniform vSphericalL20: vec3f;uniform vSphericalL21: vec3f;uniform vSphericalL22: vec3f;uniform vSphericalX: vec3f;uniform vSphericalY: vec3f;uniform vSphericalZ: vec3f;uniform vSphericalXX_ZZ: vec3f;uniform vSphericalYY_ZZ: vec3f;uniform vSphericalZZ: vec3f;uniform vSphericalXY: vec3f;uniform vSphericalYZ: vec3f;uniform vSphericalZX: vec3f;
293
+ `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["pbrBRDFFunctionsWGSL",0,{name:i,shader:r}])},61144,e=>{"use strict";var t=e.i(47150);e.i(97793),e.i(36113);let i="pbrUboDeclaration",r=`uniform vAlbedoInfos: vec2f;uniform vBaseWeightInfos: vec2f;uniform vBaseDiffuseRoughnessInfos: vec2f;uniform vAmbientInfos: vec4f;uniform vOpacityInfos: vec2f;uniform vEmissiveInfos: vec2f;uniform vLightmapInfos: vec2f;uniform vReflectivityInfos: vec3f;uniform vMicroSurfaceSamplerInfos: vec2f;uniform vBumpInfos: vec3f;uniform albedoMatrix: mat4x4f;uniform baseWeightMatrix: mat4x4f;uniform baseDiffuseRoughnessMatrix: mat4x4f;uniform ambientMatrix: mat4x4f;uniform opacityMatrix: mat4x4f;uniform emissiveMatrix: mat4x4f;uniform lightmapMatrix: mat4x4f;uniform reflectivityMatrix: mat4x4f;uniform microSurfaceSamplerMatrix: mat4x4f;uniform bumpMatrix: mat4x4f;uniform vTangentSpaceParams: vec2f;uniform vAlbedoColor: vec4f;uniform baseWeight: f32;uniform baseDiffuseRoughness: f32;uniform vLightingIntensity: vec4f;uniform pointSize: f32;uniform vReflectivityColor: vec4f;uniform vEmissiveColor: vec3f;uniform vAmbientColor: vec3f;uniform vDebugMode: vec2f;uniform vMetallicReflectanceFactors: vec4f;uniform vMetallicReflectanceInfos: vec2f;uniform metallicReflectanceMatrix: mat4x4f;uniform vReflectanceInfos: vec2f;uniform reflectanceMatrix: mat4x4f;uniform cameraInfo: vec4f;uniform vTextureRepetitionHexTilingParams: vec4f;uniform vReflectionInfos: vec2f;uniform reflectionMatrix: mat4x4f;uniform vReflectionMicrosurfaceInfos: vec3f;uniform vReflectionPosition: vec3f;uniform vReflectionSize: vec3f;uniform vReflectionFilteringInfo: vec2f;uniform vReflectionDominantDirection: vec3f;uniform vReflectionColor: vec3f;uniform vSphericalL00: vec3f;uniform vSphericalL1_1: vec3f;uniform vSphericalL10: vec3f;uniform vSphericalL11: vec3f;uniform vSphericalL2_2: vec3f;uniform vSphericalL2_1: vec3f;uniform vSphericalL20: vec3f;uniform vSphericalL21: vec3f;uniform vSphericalL22: vec3f;uniform vSphericalX: vec3f;uniform vSphericalY: vec3f;uniform vSphericalZ: vec3f;uniform vSphericalXX_ZZ: vec3f;uniform vSphericalYY_ZZ: vec3f;uniform vSphericalZZ: vec3f;uniform vSphericalXY: vec3f;uniform vSphericalYZ: vec3f;uniform vSphericalZX: vec3f;
294
294
  #define ADDITIONAL_UBO_DECLARATION
295
295
  #include<sceneUboDeclaration>
296
296
  #include<meshUboDeclaration>
297
- `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["pbrUboDeclarationWGSL",0,{name:i,shader:r}])},51201,59575,26887,e=>{"use strict";var t=e.i(37875);let i="bumpFragmentMainFunctions",r=`#ifndef TEXRD_DEFINED
297
+ `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["pbrUboDeclarationWGSL",0,{name:i,shader:r}])},42241,2886,92544,e=>{"use strict";var t=e.i(47150);let i="bumpFragmentMainFunctions",r=`#ifndef TEXRD_DEFINED
298
298
  fn TEXRD(t: texture_2d<f32>,ts: sampler,uv: vec2f)->vec4f {return textureSample(t,ts,uv);}
299
299
  #define TEXRD_DEFINED
300
300
  #endif
@@ -338,7 +338,7 @@ fn perturbNormal(cotangentFrame: mat3x3f,textureSample: vec3f,scale: f32)->vec3f
338
338
  fn cotangent_frame(normal: vec3f,p: vec3f,uv: vec2f,tangentSpaceParams: vec2f)->mat3x3f
339
339
  {var dp1: vec3f=dpdx(p);var dp2: vec3f=dpdy(p);var duv1: vec2f=dpdx(uv);var duv2: vec2f=dpdy(uv);var dp2perp: vec3f=cross(dp2,normal);var dp1perp: vec3f=cross(normal,dp1);var tangent: vec3f=dp2perp*duv1.x+dp1perp*duv2.x;var bitangent: vec3f=dp2perp*duv1.y+dp1perp*duv2.y;tangent*=tangentSpaceParams.x;bitangent*=tangentSpaceParams.y;var det: f32=max(dot(tangent,tangent),dot(bitangent,bitangent));var invmax: f32=select(inverseSqrt(det),0.0,det==0.0);return mat3x3f(tangent*invmax,bitangent*invmax,normal);}
340
340
  #endif
341
- `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["bumpFragmentMainFunctionsWGSL",0,{name:i,shader:r}],51201),e.i(6761);let f="bumpFragmentFunctions",a=`#if defined(BUMP)
341
+ `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["bumpFragmentMainFunctionsWGSL",0,{name:i,shader:r}],42241),e.i(9343);let f="bumpFragmentFunctions",a=`#if defined(BUMP)
342
342
  #include<samplerFragmentDeclaration>(_DEFINENAME_,BUMP,_VARYINGNAME_,Bump,_SAMPLERNAME_,bump)
343
343
  #endif
344
344
  #if defined(DETAIL)
@@ -368,7 +368,7 @@ return -texCoordOffset;
368
368
  #endif
369
369
  }
370
370
  #endif
371
- `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["bumpFragmentFunctionsWGSL",0,{name:f,shader:a}],59575);let n="bumpFragment",o=`var uvOffset: vec2f= vec2f(0.0,0.0);
371
+ `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["bumpFragmentFunctionsWGSL",0,{name:f,shader:a}],2886);let n="bumpFragment",o=`var uvOffset: vec2f= vec2f(0.0,0.0);
372
372
  #if defined(BUMP) || defined(PARALLAX) || defined(DETAIL)
373
373
  #ifdef NORMALXYSCALE
374
374
  var normalScale: f32=1.0;
@@ -420,7 +420,7 @@ normalW=perturbNormalBase(TBN,blendedNormal,uniforms.vBumpInfos.y);
420
420
  #elif defined(DETAIL)
421
421
  detailNormal=vec3f(detailNormal.xy*uniforms.vDetailInfos.z,detailNormal.z);normalW=perturbNormalBase(TBN,detailNormal,uniforms.vDetailInfos.z);
422
422
  #endif
423
- `;t.ShaderStore.IncludesShadersStoreWGSL[n]||(t.ShaderStore.IncludesShadersStoreWGSL[n]=o),e.s(["bumpFragmentWGSL",0,{name:n,shader:o}],26887)},36963,31845,e=>{"use strict";var t=e.i(37875);let i="decalFragment",r=`#ifdef DECAL
423
+ `;t.ShaderStore.IncludesShadersStoreWGSL[n]||(t.ShaderStore.IncludesShadersStoreWGSL[n]=o),e.s(["bumpFragmentWGSL",0,{name:n,shader:o}],92544)},78595,32763,e=>{"use strict";var t=e.i(47150);let i="decalFragment",r=`#ifdef DECAL
424
424
  var decalTempColor=decalColor.rgb;var decalTempAlpha=decalColor.a;
425
425
  #ifdef GAMMADECAL
426
426
  decalTempColor=toLinearSpaceVec3(decalColor.rgb);
@@ -430,7 +430,7 @@ decalTempAlpha=decalColor.a*decalColor.a;
430
430
  #endif
431
431
  surfaceAlbedo=mix(surfaceAlbedo.rgb,decalTempColor,decalTempAlpha);
432
432
  #endif
433
- `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["decalFragmentWGSL",0,{name:i,shader:r}],36963);let f="lightFragment",a=`#ifdef LIGHT{X}
433
+ `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["decalFragmentWGSL",0,{name:i,shader:r}],78595);let f="lightFragment",a=`#ifdef LIGHT{X}
434
434
  #if defined(SHADOWONLY) || defined(LIGHTMAP) && defined(LIGHTMAPEXCLUDED{X}) && defined(LIGHTMAPNOSPECULAR{X})
435
435
  #else
436
436
  var diffuse{X}: vec4f=light{X}.vLightDiffuse;
@@ -817,7 +817,7 @@ sheenBase+=info.sheen.rgb*shadow;
817
817
  #endif
818
818
  #endif
819
819
  #endif
820
- `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["lightFragmentWGSL",0,{name:f,shader:a}],31845)},6761,18724,e=>{"use strict";var t=e.i(37875);let i="samplerFragmentDeclaration",r=`#ifdef _DEFINENAME_
820
+ `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["lightFragmentWGSL",0,{name:f,shader:a}],32763)},9343,49852,e=>{"use strict";var t=e.i(47150);let i="samplerFragmentDeclaration",r=`#ifdef _DEFINENAME_
821
821
  #if _DEFINENAME_DIRECTUV==1
822
822
  #define v_VARYINGNAME_UV vMainUV1
823
823
  #elif _DEFINENAME_DIRECTUV==2
@@ -835,7 +835,7 @@ varying v_VARYINGNAME_UV: vec2f;
835
835
  #endif
836
836
  var _SAMPLERNAME_SamplerSampler: sampler;var _SAMPLERNAME_Sampler: texture_2d<f32>;
837
837
  #endif
838
- `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["samplerFragmentDeclarationWGSL",0,{name:i,shader:r}],6761);let f="reflectionFunction",a=`fn computeFixedEquirectangularCoords(worldPos: vec4f,worldNormal: vec3f,direction: vec3f)->vec3f
838
+ `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["samplerFragmentDeclarationWGSL",0,{name:i,shader:r}],9343);let f="reflectionFunction",a=`fn computeFixedEquirectangularCoords(worldPos: vec4f,worldNormal: vec3f,direction: vec3f)->vec3f
839
839
  {var lon: f32=atan2(direction.z,direction.x);var lat: f32=acos(direction.y);var sphereCoords: vec2f= vec2f(lon,lat)*RECIPROCAL_PI2*2.0;var s: f32=sphereCoords.x*0.5+0.5;var t: f32=sphereCoords.y;return vec3f(s,t,0); }
840
840
  fn computeMirroredFixedEquirectangularCoords(worldPos: vec4f,worldNormal: vec3f,direction: vec3f)->vec3f
841
841
  {var lon: f32=atan2(direction.z,direction.x);var lat: f32=acos(direction.y);var sphereCoords: vec2f= vec2f(lon,lat)*RECIPROCAL_PI2*2.0;var s: f32=sphereCoords.x*0.5+0.5;var t: f32=sphereCoords.y;return vec3f(1.0-s,t,0); }
@@ -899,7 +899,7 @@ return vec3f(0,0,0);
899
899
  #endif
900
900
  }
901
901
  #endif
902
- `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["reflectionFunctionWGSL",0,{name:f,shader:a}],18724)},23208,66857,e=>{"use strict";var t=e.i(37875);let i="pbrFragmentReflectionDeclaration",r=`#ifdef REFLECTION
902
+ `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["reflectionFunctionWGSL",0,{name:f,shader:a}],49852)},17765,85959,e=>{"use strict";var t=e.i(47150);let i="pbrFragmentReflectionDeclaration",r=`#ifdef REFLECTION
903
903
  #ifdef REFLECTIONMAP_3D
904
904
  var reflectionSamplerSampler: sampler;var reflectionSampler: texture_cube<f32>;
905
905
  #ifdef LODBASEDMICROSFURACE
@@ -927,7 +927,7 @@ varying vDirectionW: vec3f;
927
927
  #endif
928
928
  #endif
929
929
  #endif
930
- `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["pbrFragmentReflectionDeclarationWGSL",0,{name:i,shader:r}],23208);let f="pbrIBLFunctions",a=`#if defined(REFLECTION) || defined(SS_REFRACTION)
930
+ `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["pbrFragmentReflectionDeclarationWGSL",0,{name:i,shader:r}],17765);let f="pbrIBLFunctions",a=`#if defined(REFLECTION) || defined(SS_REFRACTION)
931
931
  fn getLodFromAlphaG(cubeMapDimensionPixels: f32,microsurfaceAverageSlope: f32)->f32 {var microsurfaceAverageSlopeTexels: f32=cubeMapDimensionPixels*microsurfaceAverageSlope;var lod: f32=log2(microsurfaceAverageSlopeTexels);return lod;}
932
932
  fn getLinearLodFromRoughness(cubeMapDimensionPixels: f32,roughness: f32)->f32 {var lod: f32=log2(cubeMapDimensionPixels)*roughness;return lod;}
933
933
  #endif
@@ -941,7 +941,7 @@ fn environmentHorizonOcclusion(view: vec3f,normal: vec3f,geometricNormal: vec3f)
941
941
  fn UNPACK_LOD(x: f32)->f32 {return (1.0-x)*255.0;}
942
942
  fn getLodFromAlphaGNdotV(cubeMapDimensionPixels: f32,alphaG: f32,NdotV: f32)->f32 {var microsurfaceAverageSlope: f32=alphaG;microsurfaceAverageSlope*=sqrt(abs(NdotV));return getLodFromAlphaG(cubeMapDimensionPixels,microsurfaceAverageSlope);}
943
943
  #endif
944
- `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["pbrIBLFunctionsWGSL",0,{name:f,shader:a}],66857)},68300,85038,62456,98408,36244,1497,38129,73142,41290,10467,62403,19368,e=>{"use strict";var t=e.i(37875);e.i(30368);let i="pbrFragmentExtraDeclaration",r=`varying vPositionW: vec3f;
944
+ `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["pbrIBLFunctionsWGSL",0,{name:f,shader:a}],85959)},78432,30170,56631,47368,92185,84868,93016,91073,98049,43080,65617,52590,e=>{"use strict";var t=e.i(47150);e.i(47569);let i="pbrFragmentExtraDeclaration",r=`varying vPositionW: vec3f;
945
945
  #if DEBUGMODE>0
946
946
  varying vClipSpacePosition: vec4f;
947
947
  #endif
@@ -958,15 +958,15 @@ varying vColor: vec4f;
958
958
  #if defined(CLUSTLIGHT_BATCH) && CLUSTLIGHT_BATCH>0
959
959
  varying vViewDepth: f32;
960
960
  #endif
961
- `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["pbrFragmentExtraDeclarationWGSL",0,{name:i,shader:r}],68300);let f="subSurfaceScatteringFunctions",a=`fn testLightingForSSS(diffusionProfile: f32)->bool
962
- {return diffusionProfile<1.;}`;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["subSurfaceScatteringFunctionsWGSL",0,{name:f,shader:a}],85038);let n="importanceSampling",o=`fn hemisphereCosSample(u: vec2f)->vec3f {var phi: f32=2.*PI*u.x;var cosTheta2: f32=1.-u.y;var cosTheta: f32=sqrt(cosTheta2);var sinTheta: f32=sqrt(1.-cosTheta2);return vec3f(sinTheta*cos(phi),sinTheta*sin(phi),cosTheta);}
961
+ `;t.ShaderStore.IncludesShadersStoreWGSL[i]||(t.ShaderStore.IncludesShadersStoreWGSL[i]=r),e.s(["pbrFragmentExtraDeclarationWGSL",0,{name:i,shader:r}],78432);let f="subSurfaceScatteringFunctions",a=`fn testLightingForSSS(diffusionProfile: f32)->bool
962
+ {return diffusionProfile<1.;}`;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["subSurfaceScatteringFunctionsWGSL",0,{name:f,shader:a}],30170);let n="importanceSampling",o=`fn hemisphereCosSample(u: vec2f)->vec3f {var phi: f32=2.*PI*u.x;var cosTheta2: f32=1.-u.y;var cosTheta: f32=sqrt(cosTheta2);var sinTheta: f32=sqrt(1.-cosTheta2);return vec3f(sinTheta*cos(phi),sinTheta*sin(phi),cosTheta);}
963
963
  fn hemisphereImportanceSampleDggx(u: vec2f,a: f32)->vec3f {var phi: f32=2.*PI*u.x;var cosTheta2: f32=(1.-u.y)/(1.+(a+1.)*((a-1.)*u.y));var cosTheta: f32=sqrt(cosTheta2);var sinTheta: f32=sqrt(1.-cosTheta2);return vec3f(sinTheta*cos(phi),sinTheta*sin(phi),cosTheta);}
964
964
  fn hemisphereImportanceSampleDggxAnisotropic(Xi: vec2f,alphaTangent: f32,alphaBitangent: f32)->vec3f
965
965
  {let alphaT: f32=max(alphaTangent,0.0001);let alphaB: f32=max(alphaBitangent,0.0001);var phi: f32=atan(alphaB/alphaT*tan(2.0f*PI*Xi.x));if (Xi.x>0.5) {phi+=PI; }
966
966
  let cosPhi: f32=cos(phi);let sinPhi: f32=sin(phi);let alpha2: f32=(cosPhi*cosPhi)/(alphaT*alphaT) +
967
967
  (sinPhi*sinPhi)/(alphaB*alphaB);let tanTheta2: f32=Xi.y/(1.0f-Xi.y)/alpha2;let cosTheta: f32=1.0f/sqrt(1.0f+tanTheta2);let sinTheta: f32=sqrt(max(0.0f,1.0f-cosTheta*cosTheta));return vec3f(sinTheta*cosPhi,sinTheta*sinPhi,cosTheta);}
968
968
  fn hemisphereImportanceSampleDCharlie(u: vec2f,a: f32)->vec3f {
969
- var phi: f32=2.*PI*u.x;var sinTheta: f32=pow(u.y,a/(2.*a+1.));var cosTheta: f32=sqrt(1.-sinTheta*sinTheta);return vec3f(sinTheta*cos(phi),sinTheta*sin(phi),cosTheta);}`;t.ShaderStore.IncludesShadersStoreWGSL[n]||(t.ShaderStore.IncludesShadersStoreWGSL[n]=o),e.s(["importanceSamplingWGSL",0,{name:n,shader:o}],62456);let l="pbrHelperFunctions",s=`#define MINIMUMVARIANCE 0.0005
969
+ var phi: f32=2.*PI*u.x;var sinTheta: f32=pow(u.y,a/(2.*a+1.));var cosTheta: f32=sqrt(1.-sinTheta*sinTheta);return vec3f(sinTheta*cos(phi),sinTheta*sin(phi),cosTheta);}`;t.ShaderStore.IncludesShadersStoreWGSL[n]||(t.ShaderStore.IncludesShadersStoreWGSL[n]=o),e.s(["importanceSamplingWGSL",0,{name:n,shader:o}],56631);let l="pbrHelperFunctions",s=`#define MINIMUMVARIANCE 0.0005
970
970
  #ifndef TEXRD_DEFINED
971
971
  fn TEXRD(t: texture_2d<f32>,ts: sampler,uv: vec2f)->vec4f {return textureSample(t,ts,uv);}
972
972
  #define TEXRD_DEFINED
@@ -1004,7 +1004,7 @@ clearCoatIntensity);return clearCoatAbsorption;}
1004
1004
  fn computeDefaultMicroSurface(microSurface: f32,reflectivityColor: vec3f)->f32
1005
1005
  {const kReflectivityNoAlphaWorkflow_SmoothnessMax: f32=0.95;var reflectivityLuminance: f32=getLuminance(reflectivityColor);var reflectivityLuma: f32=sqrt(reflectivityLuminance);var resultMicroSurface=reflectivityLuma*kReflectivityNoAlphaWorkflow_SmoothnessMax;return resultMicroSurface;}
1006
1006
  #endif
1007
- `;t.ShaderStore.IncludesShadersStoreWGSL[l]||(t.ShaderStore.IncludesShadersStoreWGSL[l]=s),e.s(["pbrHelperFunctionsWGSL",0,{name:l,shader:s}],98408),e.i(50273);let c="pbrDirectLightingSetupFunctions",d=`struct preLightingInfo
1007
+ `;t.ShaderStore.IncludesShadersStoreWGSL[l]||(t.ShaderStore.IncludesShadersStoreWGSL[l]=s),e.s(["pbrHelperFunctionsWGSL",0,{name:l,shader:s}],47368),e.i(61227);let c="pbrDirectLightingSetupFunctions",d=`struct preLightingInfo
1008
1008
  {lightOffset: vec3f,
1009
1009
  lightDistanceSquared: f32,
1010
1010
  lightDistance: f32,
@@ -1049,7 +1049,7 @@ result.areaLightFresnel=data.Fresnel;result.areaLightSpecular=data.Specular;
1049
1049
  #endif
1050
1050
  result.areaLightDiffuse=data.Diffuse;result.LdotV=0.;result.roughness=0.;result.diffuseRoughness=0.;result.surfaceAlbedo=vec3f(0.);return result;}
1051
1051
  #endif
1052
- `;t.ShaderStore.IncludesShadersStoreWGSL[c]||(t.ShaderStore.IncludesShadersStoreWGSL[c]=d),e.s(["pbrDirectLightingSetupFunctionsWGSL",0,{name:c,shader:d}],36244);let u="pbrDirectLightingFalloffFunctions",v=`fn computeDistanceLightFalloff_Standard(lightOffset: vec3f,range: f32)->f32
1052
+ `;t.ShaderStore.IncludesShadersStoreWGSL[c]||(t.ShaderStore.IncludesShadersStoreWGSL[c]=d),e.s(["pbrDirectLightingSetupFunctionsWGSL",0,{name:c,shader:d}],92185);let u="pbrDirectLightingFalloffFunctions",v=`fn computeDistanceLightFalloff_Standard(lightOffset: vec3f,range: f32)->f32
1053
1053
  {return max(0.,1.0-length(lightOffset)/range);}
1054
1054
  fn computeDistanceLightFalloff_Physical(lightDistanceSquared: f32)->f32
1055
1055
  {return 1.0/maxEps(lightDistanceSquared);}
@@ -1085,7 +1085,7 @@ return computeDirectionalLightFalloff_GLTF(lightDirection,directionToLightCenter
1085
1085
  #else
1086
1086
  return computeDirectionalLightFalloff_Standard(lightDirection,directionToLightCenterW,cosHalfAngle,exponent);
1087
1087
  #endif
1088
- }`;t.ShaderStore.IncludesShadersStoreWGSL[u]||(t.ShaderStore.IncludesShadersStoreWGSL[u]=v),e.s(["pbrDirectLightingFalloffFunctionsWGSL",0,{name:u,shader:v}],1497);let h="hdrFilteringFunctions",m=`#ifdef NUM_SAMPLES
1088
+ }`;t.ShaderStore.IncludesShadersStoreWGSL[u]||(t.ShaderStore.IncludesShadersStoreWGSL[u]=v),e.s(["pbrDirectLightingFalloffFunctionsWGSL",0,{name:u,shader:v}],84868);let h="hdrFilteringFunctions",m=`#ifdef NUM_SAMPLES
1089
1089
  #if NUM_SAMPLES>0
1090
1090
  fn radicalInverse_VdC(value: u32)->f32
1091
1091
  {var bits=(value<<16u) | (value>>16u);bits=((bits & 0x55555555u)<<1u) | ((bits & 0xAAAAAAAAu)>>1u);bits=((bits & 0x33333333u)<<2u) | ((bits & 0xCCCCCCCCu)>>2u);bits=((bits & 0x0F0F0F0Fu)<<4u) | ((bits & 0xF0F0F0F0u)>>4u);bits=((bits & 0x00FF00FFu)<<8u) | ((bits & 0xFF00FF00u)>>8u);return f32(bits)*2.3283064365386963e-10; }
@@ -1202,11 +1202,11 @@ result=result/weight;return result;}
1202
1202
  #endif
1203
1203
  #endif
1204
1204
  #endif
1205
- `;t.ShaderStore.IncludesShadersStoreWGSL[h]||(t.ShaderStore.IncludesShadersStoreWGSL[h]=m),e.s(["hdrFilteringFunctionsWGSL",0,{name:h,shader:m}],38129);let p="pbrBlockReflectance0",g=`var reflectanceF0: f32=reflectivityOut.reflectanceF0;var specularEnvironmentR0: vec3f=reflectivityOut.colorReflectanceF0;var specularEnvironmentR90: vec3f= reflectivityOut.reflectanceF90;
1205
+ `;t.ShaderStore.IncludesShadersStoreWGSL[h]||(t.ShaderStore.IncludesShadersStoreWGSL[h]=m),e.s(["hdrFilteringFunctionsWGSL",0,{name:h,shader:m}],93016);let p="pbrBlockReflectance0",g=`var reflectanceF0: f32=reflectivityOut.reflectanceF0;var specularEnvironmentR0: vec3f=reflectivityOut.colorReflectanceF0;var specularEnvironmentR90: vec3f= reflectivityOut.reflectanceF90;
1206
1206
  #ifdef ALPHAFRESNEL
1207
1207
  var reflectance90: f32=fresnelGrazingReflectance(reflectanceF0);specularEnvironmentR90=specularEnvironmentR90*reflectance90;
1208
1208
  #endif
1209
- `;t.ShaderStore.IncludesShadersStoreWGSL[p]||(t.ShaderStore.IncludesShadersStoreWGSL[p]=g),e.s(["pbrBlockReflectance0WGSL",0,{name:p,shader:g}],73142),e.i(96429);let S="pbrDirectLightingFunctions",L=`#define CLEARCOATREFLECTANCE90 1.0
1209
+ `;t.ShaderStore.IncludesShadersStoreWGSL[p]||(t.ShaderStore.IncludesShadersStoreWGSL[p]=g),e.s(["pbrBlockReflectance0WGSL",0,{name:p,shader:g}],91073),e.i(14340);let S="pbrDirectLightingFunctions",L=`#define CLEARCOATREFLECTANCE90 1.0
1210
1210
  struct lightingInfo
1211
1211
  {diffuse: vec3f,
1212
1212
  #ifdef SS_TRANSLUCENCY
@@ -1428,7 +1428,7 @@ result.sheen+=info.sheen;
1428
1428
  batchOffset+=CLUSTLIGHT_BATCH;}
1429
1429
  return result;}
1430
1430
  #endif
1431
- `;t.ShaderStore.IncludesShadersStoreWGSL[S]||(t.ShaderStore.IncludesShadersStoreWGSL[S]=L),e.s(["pbrDirectLightingFunctionsWGSL",0,{name:S,shader:L}],41290);let E="pbrBlockNormalGeometric",I=`var viewDirectionW: vec3f=normalize(scene.vEyePosition.xyz-input.vPositionW);
1431
+ `;t.ShaderStore.IncludesShadersStoreWGSL[S]||(t.ShaderStore.IncludesShadersStoreWGSL[S]=L),e.s(["pbrDirectLightingFunctionsWGSL",0,{name:S,shader:L}],98049);let E="pbrBlockNormalGeometric",I=`var viewDirectionW: vec3f=normalize(scene.vEyePosition.xyz-input.vPositionW);
1432
1432
  #ifdef NORMAL
1433
1433
  var normalW: vec3f=normalize(input.vNormalW);
1434
1434
  #else
@@ -1438,7 +1438,7 @@ var geometricNormalW: vec3f=normalW;
1438
1438
  #if defined(TWOSIDEDLIGHTING) && defined(NORMAL)
1439
1439
  geometricNormalW=select(-geometricNormalW,geometricNormalW,fragmentInputs.frontFacing);
1440
1440
  #endif
1441
- `;t.ShaderStore.IncludesShadersStoreWGSL[E]||(t.ShaderStore.IncludesShadersStoreWGSL[E]=I),e.s(["pbrBlockNormalGeometricWGSL",0,{name:E,shader:I}],10467);let T="pbrBlockImageProcessing",A=`#if defined(IMAGEPROCESSINGPOSTPROCESS) || defined(SS_SCATTERING)
1441
+ `;t.ShaderStore.IncludesShadersStoreWGSL[E]||(t.ShaderStore.IncludesShadersStoreWGSL[E]=I),e.s(["pbrBlockNormalGeometricWGSL",0,{name:E,shader:I}],43080);let T="pbrBlockImageProcessing",A=`#if defined(IMAGEPROCESSINGPOSTPROCESS) || defined(SS_SCATTERING)
1442
1442
  #if !defined(SKIPFINALCOLORCLAMP)
1443
1443
  finalColor=vec4f(clamp(finalColor.rgb,vec3f(0.),vec3f(30.0)),finalColor.a);
1444
1444
  #endif
@@ -1449,7 +1449,7 @@ finalColor=vec4f(finalColor.rgb,finalColor.a*mesh.visibility);
1449
1449
  #ifdef PREMULTIPLYALPHA
1450
1450
  finalColor=vec4f(finalColor.rgb*finalColor.a,finalColor.a);;
1451
1451
  #endif
1452
- `;t.ShaderStore.IncludesShadersStoreWGSL[T]||(t.ShaderStore.IncludesShadersStoreWGSL[T]=A),e.s(["pbrBlockImageProcessingWGSL",0,{name:T,shader:A}],62403);let D="pbrDebug",R=`#if DEBUGMODE>0
1452
+ `;t.ShaderStore.IncludesShadersStoreWGSL[T]||(t.ShaderStore.IncludesShadersStoreWGSL[T]=A),e.s(["pbrBlockImageProcessingWGSL",0,{name:T,shader:A}],65617);let D="pbrDebug",R=`#if DEBUGMODE>0
1453
1453
  if (input.vClipSpacePosition.x/input.vClipSpacePosition.w>=uniforms.vDebugMode.x) {var color: vec3f;
1454
1454
  #if DEBUGMODE==1
1455
1455
  color=fragmentInputs.vPositionW.rgb;
@@ -1633,4 +1633,4 @@ return fragmentOutputs;
1633
1633
  #endif
1634
1634
  }
1635
1635
  #endif
1636
- `;t.ShaderStore.IncludesShadersStoreWGSL[D]||(t.ShaderStore.IncludesShadersStoreWGSL[D]=R),e.s(["pbrDebugWGSL",0,{name:D,shader:R}],19368)}]);
1636
+ `;t.ShaderStore.IncludesShadersStoreWGSL[D]||(t.ShaderStore.IncludesShadersStoreWGSL[D]=R),e.s(["pbrDebugWGSL",0,{name:D,shader:R}],52590)}]);