@uptimizr/dashboard 0.4.5 → 0.4.7
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.
- package/out/404.html +1 -1
- package/out/__next.__PAGE__.txt +19 -5
- package/out/__next._full.txt +11 -11
- package/out/__next._tree.txt +2 -2
- package/out/_next/static/chunks/{3kalvwsf11-ss.js → 0-_j1khfoib6l.js} +119 -115
- package/out/_next/static/chunks/{0-tzsd_n-ywom.js → 005bbq_px7lke.js} +2 -2
- package/out/_next/static/chunks/00fbhtmui-yxg.js +1 -0
- package/out/_next/static/chunks/017pn-pen381_.js +1 -0
- package/out/_next/static/chunks/01vov6inx1zzt.js +1 -0
- package/out/_next/static/chunks/{3d76e_yd8l_0x.js → 02qk_wmkf9at-.js} +211 -211
- package/out/_next/static/chunks/03bd5plut08tg.js +1 -0
- package/out/_next/static/chunks/03dwfqmo73w_z.js +1 -0
- package/out/_next/static/chunks/03sn4419dam-h.js +5 -0
- package/out/_next/static/chunks/05ere0-228syf.js +1 -0
- package/out/_next/static/chunks/{2g_1ov-0j2kwd.js → 05h8u5lrypn5m.js} +1 -1
- package/out/_next/static/chunks/05s0t-besbvu1.css +3 -0
- package/out/_next/static/chunks/{3go-mst7n3udd.js → 05v-nubi896jg.js} +1 -1
- package/out/_next/static/chunks/05z79zh625ezu.js +1 -0
- package/out/_next/static/chunks/{1t2exh89lnazc.js → 060iult6f68_e.js} +504 -571
- package/out/_next/static/chunks/08lvtnv7b1cxp.js +1 -0
- package/out/_next/static/chunks/0_v2luu_qmeid.js +1 -0
- package/out/_next/static/chunks/0ai0zgbgjqb92.js +1 -0
- package/out/_next/static/chunks/0boov9mwycanf.js +1 -0
- package/out/_next/static/chunks/{0av6n_6q6kzo3.js → 0btmk0wmekl02.js} +2 -2
- package/out/_next/static/chunks/0d8x8m2x6ca_m.js +1 -0
- package/out/_next/static/chunks/0dmrdrwtd093b.js +1 -0
- package/out/_next/static/chunks/0e1jfrmioeuws.js +1 -0
- package/out/_next/static/chunks/0e7nlxmneb2j_.js +1 -0
- package/out/_next/static/chunks/0es97pusfxupl.js +1 -0
- package/out/_next/static/chunks/{05uqfgf-hh-p5.js → 0fd-0i1yt23kz.js} +1 -1
- package/out/_next/static/chunks/0fxdyvb1w23d1.js +1 -0
- package/out/_next/static/chunks/0fxhc24djjcgq.js +1 -0
- package/out/_next/static/chunks/0gf-ztg86zd80.js +1 -0
- package/out/_next/static/chunks/{380ivzcfb4o_3.js → 0grasqqf5dw7r.js} +2 -2
- package/out/_next/static/chunks/{0okbyggxe6mx5.js → 0hajwk2yd-rwr.js} +1 -1
- package/out/_next/static/chunks/0hk1wg7h4araz.js +1 -0
- package/out/_next/static/chunks/{1vmpltnr0cyos.js → 0j74ipw4fps-n.js} +1 -1
- package/out/_next/static/chunks/{03zip1uidm6x9.js → 0kj-vckdn7t5p.js} +1 -1
- package/out/_next/static/chunks/0lbs5xdyjuzuo.js +1 -0
- package/out/_next/static/chunks/0lep3_bqwfuin.js +1 -0
- package/out/_next/static/chunks/0mp0jh1gj7290.js +1 -0
- package/out/_next/static/chunks/0ngpoj2g5i4kz.js +1 -0
- package/out/_next/static/chunks/0nhljhguceh66.js +1 -0
- package/out/_next/static/chunks/0p6z73afb9dj2.js +1 -0
- package/out/_next/static/chunks/0p9zfmidzqkps.js +1 -0
- package/out/_next/static/chunks/0q75860p8u_ii.js +1 -0
- package/out/_next/static/chunks/{0-0hui1_v3h8b.js → 0rracz73p38mo.js} +26 -23
- package/out/_next/static/chunks/{3z4suna4kq4j5.js → 0sw-8gxbg4x0l.js} +568 -569
- package/out/_next/static/chunks/0sx-6rf3eteqn.js +1 -0
- package/out/_next/static/chunks/0thw099xk3_0p.js +3 -0
- package/out/_next/static/chunks/0u85f0dhb4i8e.js +1 -0
- package/out/_next/static/chunks/0uk7kigzm4vi2.js +31 -0
- package/out/_next/static/chunks/0ulufxnsrou61.js +1 -0
- package/out/_next/static/chunks/0xa9dyg6ezzyd.js +2 -0
- package/out/_next/static/chunks/0xvrfvur0p534.js +1 -0
- package/out/_next/static/chunks/{35aagg46wp139.js → 0ybs1u66q26su.js} +1 -1
- package/out/_next/static/chunks/0ydfhk-p6zvm0.js +1 -0
- package/out/_next/static/chunks/{29gv2swsp7tzu.js → 0z004fn14pbcu.js} +1 -1
- package/out/_next/static/chunks/{2z9mdtudj8crz.js → 0z9erbl3llr_b.js} +226 -224
- package/out/_next/static/chunks/0zcsxvcvog9ue.js +1 -0
- package/out/_next/static/chunks/0zqgq0lwtz9tn.js +1 -0
- package/out/_next/static/chunks/1-ogak5u00kwa.js +1 -0
- package/out/_next/static/chunks/{1ng-fqh2_n984.js → 10_5p5-xf2aoo.js} +1 -1
- package/out/_next/static/chunks/118qlrzdwpfmo.js +1 -0
- package/out/_next/static/chunks/11km5p4gd0ut4.js +1 -0
- package/out/_next/static/chunks/120rl4l29q9xs.js +1 -0
- package/out/_next/static/chunks/{1ho02fc091nj2.js → 129m5i93ltoym.js} +1 -1
- package/out/_next/static/chunks/12n73o884lyyl.js +1 -0
- package/out/_next/static/chunks/{3n-7bcmfbh299.js → 13zcn4lv0qj76.js} +11 -11
- package/out/_next/static/chunks/15jlgfcaeaki9.js +1 -0
- package/out/_next/static/chunks/{1ux1rpe-n1mai.js → 15o4_2t-l3rj5.js} +1 -1
- package/out/_next/static/chunks/{00o9hr_3hd0r8.js → 175st2ogkg_1o.js} +1 -1
- package/out/_next/static/chunks/19rsodtu91ja_.js +1 -0
- package/out/_next/static/chunks/1a2ouhup611bz.js +1 -0
- package/out/_next/static/chunks/{1solqr18og2ot.js → 1by60_b14x-3o.js} +1 -1
- package/out/_next/static/chunks/1cyq7i39885sl.js +1 -0
- package/out/_next/static/chunks/1d9it6yocgt54.js +1 -0
- package/out/_next/static/chunks/1dp1s1t-y7gal.js +1 -0
- package/out/_next/static/chunks/1dr7gh6xgypl8.js +1 -0
- package/out/_next/static/chunks/{32vaw89wdwv5_.js → 1dt30s_sp8415.js} +1 -1
- package/out/_next/static/chunks/{1t7nl8rx7mabd.js → 1e8_jl2cxd3rp.js} +576 -576
- package/out/_next/static/chunks/1f1rek_fxk3of.js +1 -0
- package/out/_next/static/chunks/1f2mna0k5efeq.js +1 -0
- package/out/_next/static/chunks/1gfz3sxwkkg3d.js +1 -0
- package/out/_next/static/chunks/1gr35qeguuws0.js +1 -0
- package/out/_next/static/chunks/{0g2wngc6oe7fd.js → 1gttu-n9am66k.js} +255 -253
- package/out/_next/static/chunks/1imi0xwi9hd99.js +1 -0
- package/out/_next/static/chunks/1ka5v5zu0cstt.js +1 -0
- package/out/_next/static/chunks/{17aahvhpls1l7.js → 1l_3oidssbhns.js} +298 -231
- package/out/_next/static/chunks/1m9zc5gm-327d.js +112 -0
- package/out/_next/static/chunks/1n9nhz-6azcp3.js +3 -0
- package/out/_next/static/chunks/1ncqwe81t_9_x.js +1 -0
- package/out/_next/static/chunks/1nix_lulkpklo.js +1 -0
- package/out/_next/static/chunks/{141tngxsk32hq.js → 1ntqovuz2c217.js} +1 -1
- package/out/_next/static/chunks/1pgs-98tfkq9_.js +1 -0
- package/out/_next/static/chunks/1q2z0aeopo8t8.js +1 -0
- package/out/_next/static/chunks/{2zpn7010iqgsy.js → 1q4lkgxfnqnew.js} +1 -1
- package/out/_next/static/chunks/{2khh_pmm224k5.js → 1qg1l7t00nyib.js} +97 -300
- package/out/_next/static/chunks/{1qxhgauuomthl.js → 1rcdimhu0qhlu.js} +407 -407
- package/out/_next/static/chunks/1rlfg62jxqj3z.js +1 -0
- package/out/_next/static/chunks/1ses023uud001.js +1 -0
- package/out/_next/static/chunks/1t5oynmttpfsw.js +1 -0
- package/out/_next/static/chunks/{25gf6xn9u1c57.js → 1t9i20i5-f8ze.js} +1 -1
- package/out/_next/static/chunks/{2h5nvlgky7fpa.js → 1tgj55b305g4h.js} +1 -1
- package/out/_next/static/chunks/{255knovck7pv2.js → 1u8snlm6a7uhi.js} +4 -4
- package/out/_next/static/chunks/{04_3ri5emyfcu.js → 1ug4k-1zhr63a.js} +1 -1
- package/out/_next/static/chunks/{3-_08i4_7yhno.js → 1uh9zgsy69g92.js} +1 -1
- package/out/_next/static/chunks/1vrpzlif-z_p0.js +1 -0
- package/out/_next/static/chunks/1vurgl6oz2qey.js +17 -0
- package/out/_next/static/chunks/1w-qc09n9ijtq.js +1 -0
- package/out/_next/static/chunks/1ycqxcht6x54p.js +1 -0
- package/out/_next/static/chunks/{2zyjw8g4tiu51.js → 1zj4307ugq0qz.js} +1 -1
- package/out/_next/static/chunks/{425epvuw3yy-n.js → 1zkd8v-qka--j.js} +169 -174
- package/out/_next/static/chunks/1zm52cjrfrq7c.js +1 -0
- package/out/_next/static/chunks/{267q_eg-c6f6m.js → 1zm6eo861i3c8.js} +1 -1
- package/out/_next/static/chunks/{1e_-_7biavwmb.js → 1zp9363yfhpom.js} +1 -1
- package/out/_next/static/chunks/1zt1xxovnjhkm.js +1 -0
- package/out/_next/static/chunks/2-3hk_db5fpok.js +1 -0
- package/out/_next/static/chunks/2-bv9a_0zgw1f.js +1 -0
- package/out/_next/static/chunks/209sxygecny37.js +1 -0
- package/out/_next/static/chunks/{1ccn725by19i1.js → 216uiih3_vdfd.js} +1 -1
- package/out/_next/static/chunks/21kfpd_bityxt.js +1 -0
- package/out/_next/static/chunks/22yqh0zlo_vwr.js +1 -0
- package/out/_next/static/chunks/24ecas0m9tao7.js +3 -0
- package/out/_next/static/chunks/24pq9210rng3f.js +1 -0
- package/out/_next/static/chunks/{0zf26k6juhlzo.js → 267prao6fyt22.js} +23 -20
- package/out/_next/static/chunks/26skkagvj1z96.js +1 -0
- package/out/_next/static/chunks/26y9sv8_-ykxf.js +1 -0
- package/out/_next/static/chunks/2701xfv_07wz_.js +1 -0
- package/out/_next/static/chunks/{1x99m91nt1m3b.js → 271333m8y3k0e.js} +1 -1
- package/out/_next/static/chunks/29rkmguzky-bp.js +1 -0
- package/out/_next/static/chunks/{077eo-0dhbxz-.js → 2a07so920b6aa.js} +1 -1
- package/out/_next/static/chunks/2a2oy8ryz2tsk.js +1 -0
- package/out/_next/static/chunks/2ao-3jzz7yw3p.js +532 -0
- package/out/_next/static/chunks/2apihn9ra2ufp.js +1 -0
- package/out/_next/static/chunks/2apnpj0-fs9ks.js +1 -0
- package/out/_next/static/chunks/2b481pitl4k85.js +1 -0
- package/out/_next/static/chunks/2bettxaqt3d2p.js +1 -0
- package/out/_next/static/chunks/{1fyh50hjt7hi_.js → 2c721vfva711t.js} +1 -1
- package/out/_next/static/chunks/{442e2l3jzxd-_.js → 2d2kl_m64j9cb.js} +1 -1
- package/out/_next/static/chunks/2droqjmvmgj13.js +1 -0
- package/out/_next/static/chunks/2dxbvwbbgpzoq.js +1 -0
- package/out/_next/static/chunks/2eqbsut829r5l.js +1 -0
- package/out/_next/static/chunks/2f3_mzxjh3gso.js +1 -0
- package/out/_next/static/chunks/2fsde0jwi5qtt.js +1 -0
- package/out/_next/static/chunks/2h249uvhh2sij.js +114 -0
- package/out/_next/static/chunks/{1gvdmbr65lpud.js → 2izok2otbk8-2.js} +505 -505
- package/out/_next/static/chunks/{0yvevihll7sz-.js → 2j120dkh7q3uf.js} +1 -1
- package/out/_next/static/chunks/2j2ynchpqh34-.js +1 -0
- package/out/_next/static/chunks/2kj6pzs_wap1v.js +1 -0
- package/out/_next/static/chunks/{2-p206i_ihx09.js → 2kok6zedeeltw.js} +1 -1
- package/out/_next/static/chunks/2lnj9jruy4nrv.js +1 -0
- package/out/_next/static/chunks/{41yy4p3-rtyz1.js → 2lsvk7xcfkarc.js} +1 -1
- package/out/_next/static/chunks/2n-pveub8b_5t.js +1 -0
- package/out/_next/static/chunks/{00xc-0pj7on2s.js → 2n3xu_wbvtj7h.js} +29 -29
- package/out/_next/static/chunks/{1oljzgz5jistn.js → 2of8q0kaeqpf0.js} +1 -1
- package/out/_next/static/chunks/2ofwtw6p08sfz.js +1 -0
- package/out/_next/static/chunks/2phl5ta4iim7l.js +12 -0
- package/out/_next/static/chunks/2q6l-xdqzgmpf.js +1 -0
- package/out/_next/static/chunks/2q8yg63br2jc9.js +1 -0
- package/out/_next/static/chunks/2r5qgieqldcd9.js +1 -0
- package/out/_next/static/chunks/2r7y401cvjc1s.js +1 -0
- package/out/_next/static/chunks/{22ja7c3gk0_ko.js → 2r96kyeehsji9.js} +1 -1
- package/out/_next/static/chunks/{3gyyjsot8mdav.js → 2rmc6ru7mc-kg.js} +1 -1
- package/out/_next/static/chunks/{1ephzzweysylq.js → 2s6kpclh6ie7o.js} +901 -973
- package/out/_next/static/chunks/{0vso09vdz38sr.js → 2sys9nj8lo3uk.js} +1 -1
- package/out/_next/static/chunks/{0w-hm7g7trtjg.js → 2tc3e-iqv71y_.js} +1 -1
- package/out/_next/static/chunks/2uo6vm7mfgrbf.js +1 -0
- package/out/_next/static/chunks/2urx6fow8c8c9.js +505 -0
- package/out/_next/static/chunks/2w2k1gveljyb7.js +1 -0
- package/out/_next/static/chunks/{22rl_arnzs-ve.js → 2w99knknr5i8c.js} +1 -1
- package/out/_next/static/chunks/2w_ptlw-ad8-9.js +4 -0
- package/out/_next/static/chunks/2ws1s9d52ayv8.js +1 -0
- package/out/_next/static/chunks/2x7enks3ydgai.js +1 -0
- package/out/_next/static/chunks/{2e46-2ubc90do.js → 2y8i7_nxm4r05.js} +5 -5
- package/out/_next/static/chunks/2ydub0t01728d.js +1 -0
- package/out/_next/static/chunks/{309f81l5ucsb_.js → 2z_iab7ozohhq.js} +60 -60
- package/out/_next/static/chunks/3-m_vzabs1uez.js +1 -0
- package/out/_next/static/chunks/{0t89-lfct-7m6.js → 302qk2fjdrthp.js} +5 -5
- package/out/_next/static/chunks/30bhz7czzs4mf.js +1 -0
- package/out/_next/static/chunks/{0tn-9w46cwydp.js → 30n4y_uu8chbh.js} +515 -514
- package/out/_next/static/chunks/{2-hdejef-mpka.js → 32_c4mbb6j1l6.js} +372 -169
- package/out/_next/static/chunks/33hp-khdfohdq.js +1 -0
- package/out/_next/static/chunks/{28ndw4nsw2t_4.js → 33i36o_l69sm5.js} +1 -1
- package/out/_next/static/chunks/3527r3jo5fj3i.js +1 -0
- package/out/_next/static/chunks/355dg8yaa94hr.js +1 -0
- package/out/_next/static/chunks/{11p92pnn5el0v.js → 35ntbr_c-yx44.js} +1 -1
- package/out/_next/static/chunks/{2rjfrjhp4kjev.js → 35sne1llxnc-m.js} +57 -57
- package/out/_next/static/chunks/36enkx1skkv2-.js +4 -0
- package/out/_next/static/chunks/{3-x7522okdy-7.js → 3772oce1n3t_g.js} +1 -1
- package/out/_next/static/chunks/{1rb8wewjbdisv.js → 37cnbm5ft1mqf.js} +1 -1
- package/out/_next/static/chunks/38xdo3cifphut.js +1 -0
- package/out/_next/static/chunks/{1tt1bbry-4f-6.js → 3_dgblylldcgb.js} +1 -1
- package/out/_next/static/chunks/3beawo-qwuk8k.js +1 -0
- package/out/_next/static/chunks/3cj_6sl9kr3e9.js +1 -0
- package/out/_next/static/chunks/3d-i_skta_wes.js +1 -0
- package/out/_next/static/chunks/3df_l2we755bb.js +1 -0
- package/out/_next/static/chunks/{43hwl25uke0l_.js → 3eve5y7fpzx2h.js} +1 -1
- package/out/_next/static/chunks/3ewgyb4y19w-3.js +1 -0
- package/out/_next/static/chunks/3f3789eh18_oy.js +1 -0
- package/out/_next/static/chunks/{1n_gxvu31aofy.js → 3f8qelpscqfym.js} +2 -2
- package/out/_next/static/chunks/3g3-e9m1en45q.js +1 -0
- package/out/_next/static/chunks/{0uxdbfa8gv6tk.js → 3h6akt2uu05ku.js} +29 -29
- package/out/_next/static/chunks/{3w4qettzp7khe.js → 3huu0tqmxwowu.js} +523 -522
- package/out/_next/static/chunks/3i239y-1hbkm-.js +1 -0
- package/out/_next/static/chunks/{1qsut_e3msg0l.js → 3ipx7xbxchsq9.js} +1 -1
- package/out/_next/static/chunks/{2ftp5xmq_w23j.js → 3j9xvdz55bi4p.js} +345 -345
- package/out/_next/static/chunks/3kp8qmhoi24oz.js +1 -0
- package/out/_next/static/chunks/3ksq69yq-40_r.js +1 -0
- package/out/_next/static/chunks/{2x83vs8ns4pww.js → 3njwfothmmg7u.js} +3 -3
- package/out/_next/static/chunks/{0bj_310rugcn1.js → 3oqxl46ukaojj.js} +11 -11
- package/out/_next/static/chunks/{1upkv4ltuh3s5.js → 3qn6r8-0u6dij.js} +352 -352
- package/out/_next/static/chunks/3qye1lytea2i8.js +1 -0
- package/out/_next/static/chunks/3rlp9yr75liz7.js +1 -0
- package/out/_next/static/chunks/{2i82rmjta9ijs.js → 3sa_hlx3konc7.js} +1 -1
- package/out/_next/static/chunks/3tyo643l62h3m.js +1 -0
- package/out/_next/static/chunks/3tz2tpqa9uvwm.js +1 -0
- package/out/_next/static/chunks/{2pbgsq7vvtk8_.js → 3utpc-fc6_y0f.js} +1 -1
- package/out/_next/static/chunks/3v-0c2aj6c0on.js +1 -0
- package/out/_next/static/chunks/3v6nxa28rxngq.js +1 -0
- package/out/_next/static/chunks/{1og49_atcksim.js → 3vbamaoiuk9yj.js} +1 -1
- package/out/_next/static/chunks/3vv99btjc-mky.js +1 -0
- package/out/_next/static/chunks/{1nqojcig-0m3c.js → 3w59kt5ztyvoq.js} +1 -1
- package/out/_next/static/chunks/3x02lxdo28u9i.js +1 -0
- package/out/_next/static/chunks/3xl-op0hwxytg.js +272 -0
- package/out/_next/static/chunks/3ydnxyc4rvad_.js +1 -0
- package/out/_next/static/chunks/3ylg4gfetwgxw.js +1 -0
- package/out/_next/static/chunks/{1-4v8oivkgnyl.js → 3zdtteq-r2fs5.js} +3 -3
- package/out/_next/static/chunks/3zkwt0gybqtgm.js +1 -0
- package/out/_next/static/chunks/{0wq_9f98weoe3.js → 3zs7l4362msjd.js} +1 -1
- package/out/_next/static/chunks/40etabvml_71y.js +1 -0
- package/out/_next/static/chunks/417jkzz0slv9m.js +1 -0
- package/out/_next/static/chunks/41b5gpyqbj58m.js +338 -0
- package/out/_next/static/chunks/41u2-5jayyajf.js +22 -0
- package/out/_next/static/chunks/42gcpy51w7lk1.js +1 -0
- package/out/_next/static/chunks/{1ph0tfo-4hl-f.js → 42ymanq326mo7.js} +1 -1
- package/out/_next/static/chunks/{3w_umk1xtj6to.js → 43fp64xnfy646.js} +1 -1
- package/out/_next/static/chunks/43v4y2gu5z9_h.js +1 -0
- package/out/_next/static/chunks/44cer242u-f8v.js +1 -0
- package/out/_next/static/chunks/{1ozi46t8jajqh.js → 44zi0gl0a6a8w.js} +1 -1
- package/out/_next/static/chunks/turbopack-0n2o5_bkskckx.js +1 -0
- package/out/_not-found/__next._full.txt +12 -12
- package/out/_not-found/__next._not-found.__PAGE__.txt +19 -2
- package/out/_not-found/__next._tree.txt +2 -2
- package/out/_not-found.html +1 -1
- package/out/_not-found.txt +12 -12
- package/out/index.html +1 -1
- package/out/index.txt +11 -11
- package/package.json +15 -15
- package/out/__next._head.txt +0 -6
- package/out/__next._index.txt +0 -5
- package/out/_next/static/chunks/00g5suuoa-_wn.js +0 -1
- package/out/_next/static/chunks/01fh3_bncbe5u.js +0 -1
- package/out/_next/static/chunks/01urdkl1j8o6l.js +0 -1
- package/out/_next/static/chunks/026vw95s88gsy.js +0 -1
- package/out/_next/static/chunks/02eui3ctddbd2.js +0 -1
- package/out/_next/static/chunks/04c4nksb5y9r-.js +0 -1
- package/out/_next/static/chunks/04g-l-_b4payc.js +0 -1
- package/out/_next/static/chunks/04j9pexbmysdy.js +0 -1
- package/out/_next/static/chunks/055baac5e-c2o.js +0 -1
- package/out/_next/static/chunks/05bdni_jrobq1.js +0 -1
- package/out/_next/static/chunks/05o0tb8l_htmw.js +0 -1
- package/out/_next/static/chunks/07z6p262h5hgl.js +0 -1
- package/out/_next/static/chunks/08m_4cihfmik8.js +0 -1
- package/out/_next/static/chunks/08obqw64faj8j.js +0 -1
- package/out/_next/static/chunks/099ilz3dmm1jw.js +0 -1
- package/out/_next/static/chunks/09ppu_k464q-n.js +0 -1
- package/out/_next/static/chunks/0bgcaf2x51kms.js +0 -1
- package/out/_next/static/chunks/0c5d3qn2mb3ew.js +0 -1
- package/out/_next/static/chunks/0dck67in84de0.js +0 -1
- package/out/_next/static/chunks/0dg4wxz-6u5lo.js +0 -1
- package/out/_next/static/chunks/0dva036n8ab62.js +0 -1
- package/out/_next/static/chunks/0erga_bzezbza.js +0 -1
- package/out/_next/static/chunks/0f0-i105odxqd.js +0 -1
- package/out/_next/static/chunks/0gyeqz9pagssf.js +0 -1
- package/out/_next/static/chunks/0i82k-t0fbn8f.js +0 -1
- package/out/_next/static/chunks/0kzw45f61wm3j.js +0 -1
- package/out/_next/static/chunks/0l8bfa2xewq69.js +0 -1
- package/out/_next/static/chunks/0n-zml1gn0o1u.js +0 -1
- package/out/_next/static/chunks/0n92hec_jb_-_.js +0 -1
- package/out/_next/static/chunks/0pv2wirx45e1m.js +0 -1
- package/out/_next/static/chunks/0qxd_8t3nca36.js +0 -1
- package/out/_next/static/chunks/0s1jghzw8jufz.js +0 -1
- package/out/_next/static/chunks/0s84ekz_f9ngx.js +0 -1
- package/out/_next/static/chunks/0ti58h622yo-_.js +0 -2
- package/out/_next/static/chunks/0u8yr4k1y6m2t.js +0 -1
- package/out/_next/static/chunks/0ubxyut5rr600.js +0 -1
- package/out/_next/static/chunks/0wbw9h7rsis2r.js +0 -1
- package/out/_next/static/chunks/0y4e49hpuucdi.js +0 -1
- package/out/_next/static/chunks/1-b44873bjsdw.js +0 -1
- package/out/_next/static/chunks/1-c3a1vnl8v1q.js +0 -1
- package/out/_next/static/chunks/1-xf86jgea22y.js +0 -1
- package/out/_next/static/chunks/10b0qqdnb_nox.js +0 -1
- package/out/_next/static/chunks/12kdmh0h_mboy.js +0 -1
- package/out/_next/static/chunks/14ijcpo72av4r.js +0 -1
- package/out/_next/static/chunks/16hdip1drt8o-.js +0 -1
- package/out/_next/static/chunks/18txc1wwwu9f9.js +0 -1
- package/out/_next/static/chunks/18wa83g0qfh-b.js +0 -1
- package/out/_next/static/chunks/19dp8nr4uygg2.js +0 -5
- package/out/_next/static/chunks/1_8acnu6_-qe-.js +0 -1
- package/out/_next/static/chunks/1__nujzr9e352.js +0 -3
- package/out/_next/static/chunks/1bmyq1b0by7ug.js +0 -1
- package/out/_next/static/chunks/1d1tpj9nm1nhf.js +0 -1
- package/out/_next/static/chunks/1dfwa563iciz3.js +0 -1
- package/out/_next/static/chunks/1di5enkavl9vx.js +0 -4
- package/out/_next/static/chunks/1fwsjnd1y-lx_.js +0 -1
- package/out/_next/static/chunks/1gaexq_suxai0.js +0 -1
- package/out/_next/static/chunks/1gnggc6370ji-.js +0 -1
- package/out/_next/static/chunks/1gtj_l5ame5mw.js +0 -1
- package/out/_next/static/chunks/1hsvckd0sgdgr.js +0 -1
- package/out/_next/static/chunks/1i4f3n_2_3ery.js +0 -1
- package/out/_next/static/chunks/1j7e3qpjuj89a.js +0 -1
- package/out/_next/static/chunks/1mrvp94tietcv.js +0 -1
- package/out/_next/static/chunks/1mvadj46owrck.js +0 -1
- package/out/_next/static/chunks/1nasz7q3tvb53.js +0 -1
- package/out/_next/static/chunks/1o3ggu95lfu6i.js +0 -1
- package/out/_next/static/chunks/1qjsgebn9m-0l.js +0 -1
- package/out/_next/static/chunks/1rr74xxjtckyv.js +0 -1
- package/out/_next/static/chunks/1uu55ejvi7q5u.js +0 -1
- package/out/_next/static/chunks/1xbzxfeq9789f.js +0 -1
- package/out/_next/static/chunks/1ybiu-rkt50_1.js +0 -1
- package/out/_next/static/chunks/20qelrstvz9_n.js +0 -1
- package/out/_next/static/chunks/21at65obnoo8z.js +0 -1
- package/out/_next/static/chunks/21ko5mxfderw0.js +0 -1
- package/out/_next/static/chunks/21muzwu43o8xg.js +0 -1
- package/out/_next/static/chunks/23d-hvrwpixpm.js +0 -1
- package/out/_next/static/chunks/2569rrrffvm2w.js +0 -31
- package/out/_next/static/chunks/29o74k0d6hkdf.js +0 -1
- package/out/_next/static/chunks/2bm95r0011asw.js +0 -1
- package/out/_next/static/chunks/2btabnibkm0db.js +0 -1
- package/out/_next/static/chunks/2c--awgkdcikq.js +0 -1
- package/out/_next/static/chunks/2c2dspoukng-5.js +0 -1
- package/out/_next/static/chunks/2ep7mjbaoeou0.js +0 -1
- package/out/_next/static/chunks/2ezgqm7atphi6.js +0 -1
- package/out/_next/static/chunks/2gfjzq_vjea4w.js +0 -1
- package/out/_next/static/chunks/2h5hase6ewoyc.js +0 -1
- package/out/_next/static/chunks/2hghi41nhdww2.css +0 -3
- package/out/_next/static/chunks/2ies66gmou203.js +0 -1
- package/out/_next/static/chunks/2jenu2eek9viz.js +0 -1
- package/out/_next/static/chunks/2luaj_cf5f19-.js +0 -1
- package/out/_next/static/chunks/2mgmvz66gh5ub.js +0 -1
- package/out/_next/static/chunks/2nwlqtv3vrzcv.js +0 -1
- package/out/_next/static/chunks/2o8k8x5zcepfy.js +0 -1
- package/out/_next/static/chunks/2pcdnd4nzcw4c.js +0 -1
- package/out/_next/static/chunks/2q0rz76kj6h5z.js +0 -1
- package/out/_next/static/chunks/2si5cg3hl5dtf.js +0 -4
- package/out/_next/static/chunks/2uhrhq35bki6u.js +0 -1
- package/out/_next/static/chunks/2wi7y3sfqyqdo.js +0 -3
- package/out/_next/static/chunks/2ymtumj-hfrjo.js +0 -1
- package/out/_next/static/chunks/2zdzgmacaoor9.js +0 -1
- package/out/_next/static/chunks/3-irhmtm1q5qw.js +0 -1
- package/out/_next/static/chunks/3-k74vn9exnb6.js +0 -1
- package/out/_next/static/chunks/31ei992g8gqz9.js +0 -1
- package/out/_next/static/chunks/34845aqksy1dl.js +0 -3
- package/out/_next/static/chunks/34y7nx6qmat06.js +0 -1
- package/out/_next/static/chunks/36rqw8h6ildpl.js +0 -1
- package/out/_next/static/chunks/3a_khw6q6pyh1.js +0 -1
- package/out/_next/static/chunks/3c_31f20z4jrl.js +0 -1
- package/out/_next/static/chunks/3ckp70rgr63u9.js +0 -1
- package/out/_next/static/chunks/3ed24zmt8qfys.js +0 -1
- package/out/_next/static/chunks/3ez20hi1mxw0w.js +0 -1
- package/out/_next/static/chunks/3fdx-rnos5ft-.js +0 -1
- package/out/_next/static/chunks/3fgfbxxb-j_bn.js +0 -4
- package/out/_next/static/chunks/3k-gz8qf-mj-p.js +0 -1
- package/out/_next/static/chunks/3lehc5pujwhsz.js +0 -1
- package/out/_next/static/chunks/3m0ytnc241yfz.js +0 -1
- package/out/_next/static/chunks/3mpe7c3iyxn5h.js +0 -1
- package/out/_next/static/chunks/3mvaub8qjdyuc.js +0 -1
- package/out/_next/static/chunks/3nw7u4bie0-g6.js +0 -1
- package/out/_next/static/chunks/3qatb38-tk_gd.js +0 -1
- package/out/_next/static/chunks/3tdcdi_utmoy_.js +0 -1
- package/out/_next/static/chunks/3tdzweqszru4y.js +0 -1
- package/out/_next/static/chunks/3tt_ir_va6262.js +0 -1
- package/out/_next/static/chunks/3y_51bmdnc0ey.js +0 -1
- package/out/_next/static/chunks/3yr66ufoli71t.js +0 -1
- package/out/_next/static/chunks/41qxc142snm22.js +0 -1
- package/out/_next/static/chunks/43qmngblcab8f.js +0 -1
- package/out/_next/static/chunks/turbopack-3r8yn0j92tqw_.js +0 -1
- package/out/_not-found/__next._head.txt +0 -6
- package/out/_not-found/__next._index.txt +0 -5
- package/out/_not-found/__next._not-found.txt +0 -5
- /package/out/_next/static/{BvOGdrl2Cfw-jVV73WY6a → A1hxMz783bIWo0Q9qqV3L}/_buildManifest.js +0 -0
- /package/out/_next/static/{BvOGdrl2Cfw-jVV73WY6a → A1hxMz783bIWo0Q9qqV3L}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{BvOGdrl2Cfw-jVV73WY6a → A1hxMz783bIWo0Q9qqV3L}/_ssgManifest.js +0 -0
|
@@ -1,30 +1,334 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94704,88780,e=>{"use strict";var t=e.i(2342);let o="clipPlaneFragmentDeclaration",r=`#ifdef CLIPPLANE
|
|
2
|
+
varying float fClipDistance;
|
|
3
|
+
#endif
|
|
4
|
+
#ifdef CLIPPLANE2
|
|
5
|
+
varying float fClipDistance2;
|
|
6
|
+
#endif
|
|
7
|
+
#ifdef CLIPPLANE3
|
|
8
|
+
varying float fClipDistance3;
|
|
9
|
+
#endif
|
|
10
|
+
#ifdef CLIPPLANE4
|
|
11
|
+
varying float fClipDistance4;
|
|
12
|
+
#endif
|
|
13
|
+
#ifdef CLIPPLANE5
|
|
14
|
+
varying float fClipDistance5;
|
|
15
|
+
#endif
|
|
16
|
+
#ifdef CLIPPLANE6
|
|
17
|
+
varying float fClipDistance6;
|
|
18
|
+
#endif
|
|
19
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["clipPlaneFragmentDeclaration",0,{name:o,shader:r}],94704);let a="clipPlaneFragment",i=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
|
|
20
|
+
if (false) {}
|
|
21
|
+
#endif
|
|
22
|
+
#ifdef CLIPPLANE
|
|
23
|
+
else if (fClipDistance>0.0)
|
|
24
|
+
{discard;}
|
|
25
|
+
#endif
|
|
26
|
+
#ifdef CLIPPLANE2
|
|
27
|
+
else if (fClipDistance2>0.0)
|
|
28
|
+
{discard;}
|
|
29
|
+
#endif
|
|
30
|
+
#ifdef CLIPPLANE3
|
|
31
|
+
else if (fClipDistance3>0.0)
|
|
32
|
+
{discard;}
|
|
33
|
+
#endif
|
|
34
|
+
#ifdef CLIPPLANE4
|
|
35
|
+
else if (fClipDistance4>0.0)
|
|
36
|
+
{discard;}
|
|
37
|
+
#endif
|
|
38
|
+
#ifdef CLIPPLANE5
|
|
39
|
+
else if (fClipDistance5>0.0)
|
|
40
|
+
{discard;}
|
|
41
|
+
#endif
|
|
42
|
+
#ifdef CLIPPLANE6
|
|
43
|
+
else if (fClipDistance6>0.0)
|
|
44
|
+
{discard;}
|
|
45
|
+
#endif
|
|
46
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["clipPlaneFragment",0,{name:a,shader:i}],88780)},80936,e=>{"use strict";var t=e.i(2342);let o="decalFragmentDeclaration",r=`#ifdef DECAL
|
|
2
47
|
uniform vec4 vDecalInfos;
|
|
3
48
|
#endif
|
|
4
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["decalFragmentDeclaration",0,{name:o,shader:r}])},
|
|
5
|
-
|
|
6
|
-
layout(location=0) out highp vec4 glFragData[{X}];highp vec4 gl_FragColor;
|
|
7
|
-
#ifdef PREPASS_LOCAL_POSITION
|
|
8
|
-
varying highp vec3 vPosition;
|
|
49
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["decalFragmentDeclaration",0,{name:o,shader:r}])},40990,55186,e=>{"use strict";var t=e.i(2342);let o="depthPrePass",r=`#ifdef DEPTHPREPASS
|
|
50
|
+
gl_FragColor=vec4(0.,0.,0.,1.0);return;
|
|
9
51
|
#endif
|
|
10
|
-
|
|
11
|
-
|
|
52
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["depthPrePass",0,{name:o,shader:r}],40990);let a="oitFragment",i=`#ifdef ORDER_INDEPENDENT_TRANSPARENCY
|
|
53
|
+
float fragDepth=gl_FragCoord.z;
|
|
54
|
+
#ifdef ORDER_INDEPENDENT_TRANSPARENCY_16BITS
|
|
55
|
+
uint halfFloat=packHalf2x16(vec2(fragDepth));vec2 full=unpackHalf2x16(halfFloat);fragDepth=full.x;
|
|
12
56
|
#endif
|
|
13
|
-
|
|
14
|
-
|
|
57
|
+
ivec2 fragCoord=ivec2(gl_FragCoord.xy);vec2 lastDepth=texelFetch(oitDepthSampler,fragCoord,0).rg;vec4 lastFrontColor=texelFetch(oitFrontColorSampler,fragCoord,0);depth.rg=vec2(-MAX_DEPTH);frontColor=lastFrontColor;backColor=vec4(0.0);
|
|
58
|
+
#ifdef USE_REVERSE_DEPTHBUFFER
|
|
59
|
+
float furthestDepth=-lastDepth.x;float nearestDepth=lastDepth.y;
|
|
60
|
+
#else
|
|
61
|
+
float nearestDepth=-lastDepth.x;float furthestDepth=lastDepth.y;
|
|
15
62
|
#endif
|
|
16
|
-
|
|
17
|
-
|
|
63
|
+
float alphaMultiplier=1.0-lastFrontColor.a;
|
|
64
|
+
#ifdef USE_REVERSE_DEPTHBUFFER
|
|
65
|
+
if (fragDepth>nearestDepth || fragDepth<furthestDepth) {
|
|
66
|
+
#else
|
|
67
|
+
if (fragDepth<nearestDepth || fragDepth>furthestDepth) {
|
|
18
68
|
#endif
|
|
69
|
+
return;}
|
|
70
|
+
#ifdef USE_REVERSE_DEPTHBUFFER
|
|
71
|
+
if (fragDepth<nearestDepth && fragDepth>furthestDepth) {
|
|
72
|
+
#else
|
|
73
|
+
if (fragDepth>nearestDepth && fragDepth<furthestDepth) {
|
|
19
74
|
#endif
|
|
20
|
-
|
|
21
|
-
#
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
#define
|
|
25
|
-
|
|
75
|
+
depth.rg=vec2(-fragDepth,fragDepth);return;}
|
|
76
|
+
#endif
|
|
77
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["oitFragment",0,{name:a,shader:i}],55186)},18124,21487,e=>{"use strict";var t=e.i(2342);let o="fogFragmentDeclaration",r=`#ifdef FOG
|
|
78
|
+
#define FOGMODE_NONE 0.
|
|
79
|
+
#define FOGMODE_EXP 1.
|
|
80
|
+
#define FOGMODE_EXP2 2.
|
|
81
|
+
#define FOGMODE_LINEAR 3.
|
|
82
|
+
#define E 2.71828
|
|
83
|
+
uniform vec4 vFogInfos;uniform vec3 vFogColor;varying vec3 vFogDistance;float CalcFogFactor()
|
|
84
|
+
{float fogCoeff=1.0;float fogStart=vFogInfos.y;float fogEnd=vFogInfos.z;float fogDensity=vFogInfos.w;float fogDistance=length(vFogDistance);if (FOGMODE_LINEAR==vFogInfos.x)
|
|
85
|
+
{fogCoeff=(fogEnd-fogDistance)/(fogEnd-fogStart);}
|
|
86
|
+
else if (FOGMODE_EXP==vFogInfos.x)
|
|
87
|
+
{fogCoeff=1.0/pow(E,fogDistance*fogDensity);}
|
|
88
|
+
else if (FOGMODE_EXP2==vFogInfos.x)
|
|
89
|
+
{fogCoeff=1.0/pow(E,fogDistance*fogDistance*fogDensity*fogDensity);}
|
|
90
|
+
return clamp(fogCoeff,0.0,1.0);}
|
|
91
|
+
#endif
|
|
92
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["fogFragmentDeclaration",0,{name:o,shader:r}],18124);let a="fogFragment",i=`#ifdef FOG
|
|
93
|
+
float fog=CalcFogFactor();
|
|
94
|
+
#ifdef PBR
|
|
95
|
+
fog=toLinearSpace(fog);
|
|
96
|
+
#endif
|
|
97
|
+
color.rgb=mix(vFogColor,color.rgb,fog);
|
|
98
|
+
#endif
|
|
99
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["fogFragment",0,{name:a,shader:i}],21487)},62308,e=>{"use strict";var t=e.i(2342);let o="helperFunctions",r=`const float PI=3.1415926535897932384626433832795;const float TWO_PI=6.283185307179586;const float HALF_PI=1.5707963267948966;const float RECIPROCAL_PI=0.3183098861837907;const float RECIPROCAL_PI2=0.15915494309189535;const float RECIPROCAL_PI4=0.07957747154594767;const float HALF_MIN=5.96046448e-08;
|
|
100
|
+
const float LinearEncodePowerApprox=2.2;const float GammaEncodePowerApprox=1.0/LinearEncodePowerApprox;const vec3 LuminanceEncodeApprox=vec3(0.2126,0.7152,0.0722);const float Epsilon=0.0000001;
|
|
101
|
+
#define saturate(x) clamp(x,0.0,1.0)
|
|
102
|
+
#define absEps(x) abs(x)+Epsilon
|
|
103
|
+
#define maxEps(x) max(x,Epsilon)
|
|
104
|
+
#define saturateEps(x) clamp(x,Epsilon,1.0)
|
|
105
|
+
mat3 transposeMat3(mat3 inMatrix) {vec3 i0=inMatrix[0];vec3 i1=inMatrix[1];vec3 i2=inMatrix[2];mat3 outMatrix=mat3(
|
|
106
|
+
vec3(i0.x,i1.x,i2.x),
|
|
107
|
+
vec3(i0.y,i1.y,i2.y),
|
|
108
|
+
vec3(i0.z,i1.z,i2.z)
|
|
109
|
+
);return outMatrix;}
|
|
110
|
+
mat3 inverseMat3(mat3 inMatrix) {float a00=inMatrix[0][0],a01=inMatrix[0][1],a02=inMatrix[0][2];float a10=inMatrix[1][0],a11=inMatrix[1][1],a12=inMatrix[1][2];float a20=inMatrix[2][0],a21=inMatrix[2][1],a22=inMatrix[2][2];float b01=a22*a11-a12*a21;float b11=-a22*a10+a12*a20;float b21=a21*a10-a11*a20;float det=a00*b01+a01*b11+a02*b21;return mat3(b01,(-a22*a01+a02*a21),(a12*a01-a02*a11),
|
|
111
|
+
b11,(a22*a00-a02*a20),(-a12*a00+a02*a10),
|
|
112
|
+
b21,(-a21*a00+a01*a20),(a11*a00-a01*a10))/det;}
|
|
113
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
114
|
+
vec3 toLinearSpaceExact(vec3 color)
|
|
115
|
+
{vec3 nearZeroSection=0.0773993808*color;vec3 remainingSection=pow(0.947867299*(color+vec3(0.055)),vec3(2.4));
|
|
116
|
+
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
117
|
+
return mix(remainingSection,nearZeroSection,lessThanEqual(color,vec3(0.04045)));
|
|
118
|
+
#else
|
|
119
|
+
return
|
|
120
|
+
vec3(
|
|
121
|
+
color.r<=0.04045 ? nearZeroSection.r : remainingSection.r,
|
|
122
|
+
color.g<=0.04045 ? nearZeroSection.g : remainingSection.g,
|
|
123
|
+
color.b<=0.04045 ? nearZeroSection.b : remainingSection.b);
|
|
124
|
+
#endif
|
|
125
|
+
}
|
|
126
|
+
vec3 toGammaSpaceExact(vec3 color)
|
|
127
|
+
{vec3 nearZeroSection=12.92*color;vec3 remainingSection=1.055*pow(color,vec3(0.41666))-vec3(0.055);
|
|
128
|
+
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
129
|
+
return mix(remainingSection,nearZeroSection,lessThanEqual(color,vec3(0.0031308)));
|
|
130
|
+
#else
|
|
131
|
+
return
|
|
132
|
+
vec3(
|
|
133
|
+
color.r<=0.0031308 ? nearZeroSection.r : remainingSection.r,
|
|
134
|
+
color.g<=0.0031308 ? nearZeroSection.g : remainingSection.g,
|
|
135
|
+
color.b<=0.0031308 ? nearZeroSection.b : remainingSection.b);
|
|
136
|
+
#endif
|
|
137
|
+
}
|
|
138
|
+
#endif
|
|
139
|
+
float toLinearSpace(float color)
|
|
140
|
+
{
|
|
141
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
142
|
+
float nearZeroSection=0.0773993808*color;float remainingSection=pow(0.947867299*(color+0.055),2.4);return color<=0.04045 ? nearZeroSection : remainingSection;
|
|
143
|
+
#else
|
|
144
|
+
return pow(color,LinearEncodePowerApprox);
|
|
145
|
+
#endif
|
|
146
|
+
}
|
|
147
|
+
vec3 toLinearSpace(vec3 color)
|
|
148
|
+
{
|
|
149
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
150
|
+
return toLinearSpaceExact(color);
|
|
151
|
+
#else
|
|
152
|
+
return pow(color,vec3(LinearEncodePowerApprox));
|
|
153
|
+
#endif
|
|
154
|
+
}
|
|
155
|
+
vec4 toLinearSpace(vec4 color)
|
|
156
|
+
{
|
|
157
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
158
|
+
return vec4(toLinearSpaceExact(color.rgb),color.a);
|
|
159
|
+
#else
|
|
160
|
+
return vec4(pow(color.rgb,vec3(LinearEncodePowerApprox)),color.a);
|
|
161
|
+
#endif
|
|
162
|
+
}
|
|
163
|
+
float toGammaSpace(float color)
|
|
164
|
+
{
|
|
165
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
166
|
+
float nearZeroSection=12.92*color;float remainingSection=1.055*pow(color,0.41666)-0.055;return color<=0.0031308 ? nearZeroSection : remainingSection;
|
|
167
|
+
#else
|
|
168
|
+
return pow(color,GammaEncodePowerApprox);
|
|
169
|
+
#endif
|
|
170
|
+
}
|
|
171
|
+
vec3 toGammaSpace(vec3 color)
|
|
172
|
+
{
|
|
173
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
174
|
+
return toGammaSpaceExact(color);
|
|
175
|
+
#else
|
|
176
|
+
return pow(color,vec3(GammaEncodePowerApprox));
|
|
177
|
+
#endif
|
|
178
|
+
}
|
|
179
|
+
vec4 toGammaSpace(vec4 color)
|
|
180
|
+
{
|
|
181
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
182
|
+
return vec4(toGammaSpaceExact(color.rgb),color.a);
|
|
183
|
+
#else
|
|
184
|
+
return vec4(pow(color.rgb,vec3(GammaEncodePowerApprox)),color.a);
|
|
185
|
+
#endif
|
|
186
|
+
}
|
|
187
|
+
float square(float value)
|
|
188
|
+
{return value*value;}
|
|
189
|
+
vec3 square(vec3 value)
|
|
190
|
+
{return value*value;}
|
|
191
|
+
float pow5(float value) {float sq=value*value;return sq*sq*value;}
|
|
192
|
+
vec3 double_refract(vec3 I,vec3 N,float eta) {vec3 Tfront=refract(I,N,1.0/eta);vec3 Nback=normalize(reflect(N,Tfront));return refract(Tfront,-Nback,eta);}
|
|
193
|
+
float getLuminanceUnclamped(vec3 color)
|
|
194
|
+
{return dot(color,LuminanceEncodeApprox);}
|
|
195
|
+
float getLuminance(vec3 color)
|
|
196
|
+
{return saturate(getLuminanceUnclamped(color));}
|
|
197
|
+
float getRand(vec2 seed) {return fract(sin(dot(seed.xy ,vec2(12.9898,78.233)))*43758.5453);}
|
|
198
|
+
float dither(vec2 seed,float varianceAmount) {float rand=getRand(seed);float normVariance=varianceAmount/255.0;float dither=mix(-normVariance,normVariance,rand);return dither;}
|
|
199
|
+
const float rgbdMaxRange=255.;vec4 toRGBD(vec3 color) {float maxRGB=maxEps(max(color.r,max(color.g,color.b)));float D =max(rgbdMaxRange/maxRGB,1.);D =saturate(floor(D)/255.);vec3 rgb=color.rgb*D;rgb=toGammaSpace(rgb);return vec4(saturate(rgb),D);}
|
|
200
|
+
vec3 fromRGBD(vec4 rgbd) {rgbd.rgb=toLinearSpace(rgbd.rgb);return rgbd.rgb/rgbd.a;}
|
|
201
|
+
vec3 parallaxCorrectNormal( vec3 vertexPos,vec3 origVec,vec3 cubeSize,vec3 cubePos ) {vec3 invOrigVec=vec3(1.)/origVec;vec3 halfSize=cubeSize*0.5;vec3 intersecAtMaxPlane=(cubePos+halfSize-vertexPos)*invOrigVec;vec3 intersecAtMinPlane=(cubePos-halfSize-vertexPos)*invOrigVec;vec3 largestIntersec=max(intersecAtMaxPlane,intersecAtMinPlane);float distance=min(min(largestIntersec.x,largestIntersec.y),largestIntersec.z);vec3 intersectPositionWS=vertexPos+origVec*distance;return intersectPositionWS-cubePos;}
|
|
202
|
+
vec3 equirectangularToCubemapDirection(vec2 uv) {float longitude=uv.x*TWO_PI-PI;float latitude=HALF_PI-uv.y*PI;vec3 direction;direction.x=cos(latitude)*sin(longitude);direction.y=sin(latitude);direction.z=cos(latitude)*cos(longitude);return direction;}
|
|
203
|
+
float sqrtClamped(float value) {return sqrt(max(value,0.));}
|
|
204
|
+
float avg(vec3 value) {return dot(value,vec3(0.333333333));}
|
|
205
|
+
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
206
|
+
uint extractBits(uint value,int offset,int width) {return (value>>offset) & ((1u<<width)-1u);}
|
|
207
|
+
int onlyBitPosition(uint value) {return (floatBitsToInt(float(value))>>23)-0x7f;}
|
|
208
|
+
vec3 singleScatterToMultiScatterAlbedo(vec3 rho_ss) {vec3 s=sqrt(max(vec3(1.0)-rho_ss,vec3(0.0)));return (vec3(1.0)-s)*(vec3(1.0)-vec3(0.139)*s)/(vec3(1.0)+vec3(1.17)*s);}
|
|
209
|
+
vec3 multiScatterToSingleScatterAlbedo(vec3 rho_ms) {vec3 s=4.09712+4.20863*rho_ms-sqrt(9.59217+41.6808*rho_ms+17.7126*rho_ms*rho_ms);return 1.0-s*s;}
|
|
210
|
+
vec3 multiScatterToSingleScatterAlbedo(vec3 rho_ms,float aniso) {vec3 s=4.09712+4.20863*rho_ms-sqrt(9.59217+41.6808*rho_ms+17.7126*rho_ms*rho_ms);return (1.0-s*s)/maxEps(1.0-aniso*s*s);}
|
|
211
|
+
float min3(vec3 v) {return min(v.x,min(v.y,v.z));}
|
|
212
|
+
float max3(vec3 v) {return max(v.x,max(v.y,v.z));}
|
|
213
|
+
float uint2float(uint i) {return uintBitsToFloat(0x3F800000u | (i>>9u))-1.0;}
|
|
214
|
+
vec2 plasticSequence(const uint rstate) {return vec2(uint2float(rstate*3242174889u),
|
|
215
|
+
uint2float(rstate*2447445414u));}
|
|
216
|
+
#endif
|
|
217
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["helperFunctions",0,{name:o,shader:r}])},74244,e=>{"use strict";var t=e.i(2342);let o="imageProcessingDeclaration",r=`#ifdef EXPOSURE
|
|
218
|
+
uniform float exposureLinear;
|
|
219
|
+
#endif
|
|
220
|
+
#ifdef CONTRAST
|
|
221
|
+
uniform float contrast;
|
|
222
|
+
#endif
|
|
223
|
+
#if defined(VIGNETTE) || defined(DITHER)
|
|
224
|
+
uniform vec2 vInverseScreenSize;
|
|
225
|
+
#endif
|
|
226
|
+
#ifdef VIGNETTE
|
|
227
|
+
uniform vec4 vignetteSettings1;uniform vec4 vignetteSettings2;
|
|
228
|
+
#endif
|
|
229
|
+
#ifdef COLORCURVES
|
|
230
|
+
uniform vec4 vCameraColorCurveNegative;uniform vec4 vCameraColorCurveNeutral;uniform vec4 vCameraColorCurvePositive;
|
|
231
|
+
#endif
|
|
232
|
+
#ifdef COLORGRADING
|
|
233
|
+
#ifdef COLORGRADING3D
|
|
234
|
+
uniform highp sampler3D txColorTransform;
|
|
235
|
+
#else
|
|
236
|
+
uniform sampler2D txColorTransform;
|
|
237
|
+
#endif
|
|
238
|
+
uniform vec4 colorTransformSettings;
|
|
239
|
+
#endif
|
|
240
|
+
#ifdef DITHER
|
|
241
|
+
uniform float ditherIntensity;
|
|
242
|
+
#endif
|
|
243
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["imageProcessingDeclaration",0,{name:o,shader:r}])},8044,e=>{"use strict";var t=e.i(2342);let o="imageProcessingFunctions",r=`#if defined(COLORGRADING) && !defined(COLORGRADING3D)
|
|
244
|
+
/**
|
|
245
|
+
* Polyfill for SAMPLE_TEXTURE_3D,which is unsupported in WebGL.
|
|
246
|
+
* sampler3dSetting.x=textureOffset (0.5/textureSize).
|
|
247
|
+
* sampler3dSetting.y=textureSize.
|
|
248
|
+
*/
|
|
249
|
+
#define inline
|
|
250
|
+
vec3 sampleTexture3D(sampler2D colorTransform,vec3 color,vec2 sampler3dSetting)
|
|
251
|
+
{float sliceSize=2.0*sampler3dSetting.x;
|
|
252
|
+
#ifdef SAMPLER3DGREENDEPTH
|
|
253
|
+
float sliceContinuous=(color.g-sampler3dSetting.x)*sampler3dSetting.y;
|
|
254
|
+
#else
|
|
255
|
+
float sliceContinuous=(color.b-sampler3dSetting.x)*sampler3dSetting.y;
|
|
256
|
+
#endif
|
|
257
|
+
float sliceInteger=floor(sliceContinuous);float sliceFraction=sliceContinuous-sliceInteger;
|
|
258
|
+
#ifdef SAMPLER3DGREENDEPTH
|
|
259
|
+
vec2 sliceUV=color.rb;
|
|
260
|
+
#else
|
|
261
|
+
vec2 sliceUV=color.rg;
|
|
262
|
+
#endif
|
|
263
|
+
sliceUV.x*=sliceSize;sliceUV.x+=sliceInteger*sliceSize;sliceUV=saturate(sliceUV);vec4 slice0Color=texture2D(colorTransform,sliceUV);sliceUV.x+=sliceSize;sliceUV=saturate(sliceUV);vec4 slice1Color=texture2D(colorTransform,sliceUV);vec3 result=mix(slice0Color.rgb,slice1Color.rgb,sliceFraction);
|
|
264
|
+
#ifdef SAMPLER3DBGRMAP
|
|
265
|
+
color.rgb=result.rgb;
|
|
266
|
+
#else
|
|
267
|
+
color.rgb=result.bgr;
|
|
268
|
+
#endif
|
|
269
|
+
return color;}
|
|
26
270
|
#endif
|
|
27
|
-
|
|
271
|
+
#if TONEMAPPING==3
|
|
272
|
+
const float PBRNeutralStartCompression=0.8-0.04;const float PBRNeutralDesaturation=0.15;vec3 PBRNeutralToneMapping( vec3 color ) {float x=min(color.r,min(color.g,color.b));float offset=x<0.08 ? x-6.25*x*x : 0.04;color-=offset;float peak=max(color.r,max(color.g,color.b));if (peak<PBRNeutralStartCompression) return color;float d=1.-PBRNeutralStartCompression;float newPeak=1.-d*d/(peak+d-PBRNeutralStartCompression);color*=newPeak/peak;float g=1.-1./(PBRNeutralDesaturation*(peak-newPeak)+1.);return mix(color,newPeak*vec3(1,1,1),g);}
|
|
273
|
+
#endif
|
|
274
|
+
#if TONEMAPPING==2
|
|
275
|
+
const mat3 ACESInputMat=mat3(
|
|
276
|
+
vec3(0.59719,0.07600,0.02840),
|
|
277
|
+
vec3(0.35458,0.90834,0.13383),
|
|
278
|
+
vec3(0.04823,0.01566,0.83777)
|
|
279
|
+
);const mat3 ACESOutputMat=mat3(
|
|
280
|
+
vec3( 1.60475,-0.10208,-0.00327),
|
|
281
|
+
vec3(-0.53108, 1.10813,-0.07276),
|
|
282
|
+
vec3(-0.07367,-0.00605, 1.07602)
|
|
283
|
+
);vec3 RRTAndODTFit(vec3 v)
|
|
284
|
+
{vec3 a=v*(v+0.0245786)-0.000090537;vec3 b=v*(0.983729*v+0.4329510)+0.238081;return a/b;}
|
|
285
|
+
vec3 ACESFitted(vec3 color)
|
|
286
|
+
{color=ACESInputMat*color;color=RRTAndODTFit(color);color=ACESOutputMat*color;color=saturate(color);return color;}
|
|
287
|
+
#endif
|
|
288
|
+
#define CUSTOM_IMAGEPROCESSINGFUNCTIONS_DEFINITIONS
|
|
289
|
+
vec4 applyImageProcessing(vec4 result) {
|
|
290
|
+
#define CUSTOM_IMAGEPROCESSINGFUNCTIONS_UPDATERESULT_ATSTART
|
|
291
|
+
#ifdef EXPOSURE
|
|
292
|
+
result.rgb*=exposureLinear;
|
|
293
|
+
#endif
|
|
294
|
+
#ifdef VIGNETTE
|
|
295
|
+
vec2 viewportXY=gl_FragCoord.xy*vInverseScreenSize;viewportXY=viewportXY*2.0-1.0;vec3 vignetteXY1=vec3(viewportXY*vignetteSettings1.xy+vignetteSettings1.zw,1.0);float vignetteTerm=dot(vignetteXY1,vignetteXY1);float vignette=pow(vignetteTerm,vignetteSettings2.w);vec3 vignetteColor=vignetteSettings2.rgb;
|
|
296
|
+
#ifdef VIGNETTEBLENDMODEMULTIPLY
|
|
297
|
+
vec3 vignetteColorMultiplier=mix(vignetteColor,vec3(1,1,1),vignette);result.rgb*=vignetteColorMultiplier;
|
|
298
|
+
#endif
|
|
299
|
+
#ifdef VIGNETTEBLENDMODEOPAQUE
|
|
300
|
+
result.rgb=mix(vignetteColor,result.rgb,vignette);
|
|
301
|
+
#endif
|
|
302
|
+
#endif
|
|
303
|
+
#if TONEMAPPING==3
|
|
304
|
+
result.rgb=PBRNeutralToneMapping(result.rgb);
|
|
305
|
+
#elif TONEMAPPING==2
|
|
306
|
+
result.rgb=ACESFitted(result.rgb);
|
|
307
|
+
#elif TONEMAPPING==1
|
|
308
|
+
const float tonemappingCalibration=1.590579;result.rgb=1.0-exp2(-tonemappingCalibration*result.rgb);
|
|
309
|
+
#endif
|
|
310
|
+
result.rgb=toGammaSpace(result.rgb);result.rgb=saturate(result.rgb);
|
|
311
|
+
#ifdef CONTRAST
|
|
312
|
+
vec3 resultHighContrast=result.rgb*result.rgb*(3.0-2.0*result.rgb);if (contrast<1.0) {result.rgb=mix(vec3(0.5,0.5,0.5),result.rgb,contrast);} else {result.rgb=mix(result.rgb,resultHighContrast,contrast-1.0);}
|
|
313
|
+
result.rgb=max(result.rgb,0.);
|
|
314
|
+
#endif
|
|
315
|
+
#ifdef COLORGRADING
|
|
316
|
+
vec3 colorTransformInput=result.rgb*colorTransformSettings.xxx+colorTransformSettings.yyy;
|
|
317
|
+
#ifdef COLORGRADING3D
|
|
318
|
+
vec3 colorTransformOutput=texture(txColorTransform,colorTransformInput).rgb;
|
|
319
|
+
#else
|
|
320
|
+
vec3 colorTransformOutput=sampleTexture3D(txColorTransform,colorTransformInput,colorTransformSettings.yz).rgb;
|
|
321
|
+
#endif
|
|
322
|
+
result.rgb=mix(result.rgb,colorTransformOutput,colorTransformSettings.www);
|
|
323
|
+
#endif
|
|
324
|
+
#ifdef COLORCURVES
|
|
325
|
+
float luma=getLuminance(result.rgb);vec2 curveMix=clamp(vec2(luma*3.0-1.5,luma*-3.0+1.5),vec2(0.0),vec2(1.0));vec4 colorCurve=vCameraColorCurveNeutral+curveMix.x*vCameraColorCurvePositive-curveMix.y*vCameraColorCurveNegative;result.rgb*=colorCurve.rgb;result.rgb=mix(vec3(luma),result.rgb,colorCurve.a);
|
|
326
|
+
#endif
|
|
327
|
+
#ifdef DITHER
|
|
328
|
+
float rand=getRand(gl_FragCoord.xy*vInverseScreenSize);float dither=mix(-ditherIntensity,ditherIntensity,rand);result.rgb=saturate(result.rgb+vec3(dither));
|
|
329
|
+
#endif
|
|
330
|
+
#define CUSTOM_IMAGEPROCESSINGFUNCTIONS_UPDATERESULT_ATEND
|
|
331
|
+
return result;}`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["imageProcessingFunctions",0,{name:o,shader:r}])},73421,73860,e=>{"use strict";var t=e.i(2342);let o="lightFragmentDeclaration",r=`#ifdef LIGHT{X}
|
|
28
332
|
uniform vec4 vLightData{X};uniform vec4 vLightDiffuse{X};
|
|
29
333
|
#ifdef SPECULARTERM
|
|
30
334
|
uniform vec4 vLightSpecular{X};
|
|
@@ -98,7 +402,7 @@ uniform mat4 textureProjectionMatrix{X};uniform sampler2D projectionLightTexture
|
|
|
98
402
|
uniform vec2 vSliceData{X};uniform vec2 vSliceRanges{X}[CLUSTLIGHT_SLICES];uniform sampler2D lightDataTexture{X};uniform highp sampler2D tileMaskTexture{X};
|
|
99
403
|
#endif
|
|
100
404
|
#endif
|
|
101
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["lightFragmentDeclaration",0,{name:o,shader:r}],
|
|
405
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["lightFragmentDeclaration",0,{name:o,shader:r}],73421);let a="lightUboDeclaration",i=`#ifdef LIGHT{X}
|
|
102
406
|
uniform Light{X}
|
|
103
407
|
{vec4 vLightData;vec4 vLightDiffuse;vec4 vLightSpecular;
|
|
104
408
|
#ifdef SPOTLIGHT{X}
|
|
@@ -170,7 +474,13 @@ uniform mat4 lightMatrix{X};
|
|
|
170
474
|
#endif
|
|
171
475
|
#endif
|
|
172
476
|
#endif
|
|
173
|
-
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["lightUboDeclaration",0,{name:a,shader:i}],
|
|
477
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["lightUboDeclaration",0,{name:a,shader:i}],73860)},80790,e=>{"use strict";var t=e.i(2342);let o="logDepthDeclaration",r=`#ifdef LOGARITHMICDEPTH
|
|
478
|
+
uniform float logarithmicDepthConstant;varying float vFragmentDepth;
|
|
479
|
+
#endif
|
|
480
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["logDepthDeclaration",0,{name:o,shader:r}])},51115,e=>{"use strict";var t=e.i(2342);let o="logDepthFragment",r=`#ifdef LOGARITHMICDEPTH
|
|
481
|
+
gl_FragDepthEXT=log2(vFragmentDepth)*logarithmicDepthConstant*0.5;
|
|
482
|
+
#endif
|
|
483
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["logDepthFragment",0,{name:o,shader:r}])},83457,e=>{"use strict";var t=e.i(2342);let o="ltcHelperFunctions",r=`vec2 LTCUv( const in vec3 N,const in vec3 V,const in float roughness ) {const float LUTSIZE=64.0;const float LUTSCALE=( LUTSIZE-1.0 )/LUTSIZE;const float LUTBIAS=0.5/LUTSIZE;float dotNV=saturate( dot( N,V ) );vec2 uv=vec2( roughness,sqrt( 1.0-dotNV ) );uv=uv*LUTSCALE+LUTBIAS;return uv;}
|
|
174
484
|
float LTCClippedSphereFormFactor( const in vec3 f ) {float l=length( f );return max( ( l*l+f.z )/( l+1.0 ),0.0 );}
|
|
175
485
|
vec3 LTCEdgeVectorFormFactor( const in vec3 v1,const in vec3 v2 ) {float x=dot( v1,v2 );float y=abs( x );float a=0.8543985+( 0.4965155+0.0145206*y )*y;float b=3.4175940+( 4.1616724+y )*y;float v=a/b;float thetaSintheta=0.0;if( x>0.0 )
|
|
176
486
|
{thetaSintheta=v;}
|
|
@@ -208,7 +518,45 @@ vec3( 0,1, 0 ),
|
|
|
208
518
|
vec3( t1.z,0,t1.w )
|
|
209
519
|
);result.Specular=LTCEvaluateWithEmission( normal,viewDir,position,mInv,rectCoords,texFilteredMap );result.Fresnel=t2;
|
|
210
520
|
#endif
|
|
211
|
-
result.Diffuse=LTCEvaluateWithEmission( normal,viewDir,position,mat3( 1.0 ),rectCoords,texFilteredMap );return result;}`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["ltcHelperFunctions",0,{name:o,shader:r}])},
|
|
521
|
+
result.Diffuse=LTCEvaluateWithEmission( normal,viewDir,position,mat3( 1.0 ),rectCoords,texFilteredMap );return result;}`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["ltcHelperFunctions",0,{name:o,shader:r}])},65225,e=>{"use strict";var t=e.i(2342);let o="mainUVVaryingDeclaration",r=`#ifdef MAINUV{X}
|
|
522
|
+
varying vec2 vMainUV{X};
|
|
523
|
+
#endif
|
|
524
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["mainUVVaryingDeclaration",0,{name:o,shader:r}])},49676,e=>{"use strict";var t=e.i(2342);let o="meshUboDeclaration",r=`#ifdef WEBGL2
|
|
525
|
+
uniform mat4 world;uniform float visibility;
|
|
526
|
+
#else
|
|
527
|
+
layout(std140,column_major) uniform;uniform Mesh
|
|
528
|
+
{mat4 world;float visibility;};
|
|
529
|
+
#endif
|
|
530
|
+
#define WORLD_UBO
|
|
531
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["meshUboDeclaration",0,{name:o,shader:r}])},8139,88799,e=>{"use strict";var t=e.i(2342);let o="prePassDeclaration",r=`#ifdef PREPASS
|
|
532
|
+
#extension GL_EXT_draw_buffers : require
|
|
533
|
+
layout(location=0) out highp vec4 glFragData[{X}];highp vec4 gl_FragColor;
|
|
534
|
+
#ifdef PREPASS_LOCAL_POSITION
|
|
535
|
+
varying highp vec3 vPosition;
|
|
536
|
+
#endif
|
|
537
|
+
#ifdef PREPASS_DEPTH
|
|
538
|
+
varying highp vec3 vViewPos;
|
|
539
|
+
#endif
|
|
540
|
+
#ifdef PREPASS_NORMALIZED_VIEW_DEPTH
|
|
541
|
+
varying highp float vNormViewDepth;
|
|
542
|
+
#endif
|
|
543
|
+
#if defined(PREPASS_VELOCITY) || defined(PREPASS_VELOCITY_LINEAR)
|
|
544
|
+
varying highp vec4 vCurrentPosition;varying highp vec4 vPreviousPosition;
|
|
545
|
+
#endif
|
|
546
|
+
#endif
|
|
547
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["prePassDeclaration",0,{name:o,shader:r}],8139);let a="oitDeclaration",i=`#ifdef ORDER_INDEPENDENT_TRANSPARENCY
|
|
548
|
+
#extension GL_EXT_draw_buffers : require
|
|
549
|
+
layout(location=0) out vec2 depth;
|
|
550
|
+
layout(location=1) out vec4 frontColor;layout(location=2) out vec4 backColor;
|
|
551
|
+
#define MAX_DEPTH 99999.0
|
|
552
|
+
highp vec4 gl_FragColor;uniform sampler2D oitDepthSampler;uniform sampler2D oitFrontColorSampler;
|
|
553
|
+
#endif
|
|
554
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["oitDeclaration",0,{name:a,shader:i}],88799)},19831,e=>{"use strict";var t=e.i(2342);let o="sceneUboDeclaration",r=`layout(std140,column_major) uniform;uniform Scene {mat4 viewProjection;
|
|
555
|
+
#ifdef MULTIVIEW
|
|
556
|
+
mat4 viewProjectionR;
|
|
557
|
+
#endif
|
|
558
|
+
mat4 view;mat4 projection;vec4 vEyePosition;mat4 inverseProjection;};
|
|
559
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["sceneUboDeclaration",0,{name:o,shader:r}])},58478,e=>{"use strict";var t=e.i(2342);let o="shadowsFragmentFunctions",r=`#ifdef SHADOWS
|
|
212
560
|
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
213
561
|
#define TEXTUREFUNC(s,c,l) texture2DLodEXT(s,c,l)
|
|
214
562
|
#else
|
|
@@ -551,121 +899,7 @@ float computeShadowWithCSMPCSS64(float layer,vec4 vPositionFromLight,float depth
|
|
|
551
899
|
{return computeShadowWithCSMPCSS(layer,vPositionFromLight,depthMetric,depthSampler,shadowSampler,shadowMapSizeInverse,lightSizeUV,darkness,frustumEdgeFalloff,32,64,PoissonSamplers64,lightSizeUVCorrection,depthCorrection,penumbraDarkness);}
|
|
552
900
|
#endif
|
|
553
901
|
#endif
|
|
554
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["shadowsFragmentFunctions",0,{name:o,shader:r}])},
|
|
555
|
-
uniform float exposureLinear;
|
|
556
|
-
#endif
|
|
557
|
-
#ifdef CONTRAST
|
|
558
|
-
uniform float contrast;
|
|
559
|
-
#endif
|
|
560
|
-
#if defined(VIGNETTE) || defined(DITHER)
|
|
561
|
-
uniform vec2 vInverseScreenSize;
|
|
562
|
-
#endif
|
|
563
|
-
#ifdef VIGNETTE
|
|
564
|
-
uniform vec4 vignetteSettings1;uniform vec4 vignetteSettings2;
|
|
565
|
-
#endif
|
|
566
|
-
#ifdef COLORCURVES
|
|
567
|
-
uniform vec4 vCameraColorCurveNegative;uniform vec4 vCameraColorCurveNeutral;uniform vec4 vCameraColorCurvePositive;
|
|
568
|
-
#endif
|
|
569
|
-
#ifdef COLORGRADING
|
|
570
|
-
#ifdef COLORGRADING3D
|
|
571
|
-
uniform highp sampler3D txColorTransform;
|
|
572
|
-
#else
|
|
573
|
-
uniform sampler2D txColorTransform;
|
|
574
|
-
#endif
|
|
575
|
-
uniform vec4 colorTransformSettings;
|
|
576
|
-
#endif
|
|
577
|
-
#ifdef DITHER
|
|
578
|
-
uniform float ditherIntensity;
|
|
579
|
-
#endif
|
|
580
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["imageProcessingDeclaration",0,{name:o,shader:r}])},3142,e=>{"use strict";var t=e.i(37875);let o="imageProcessingFunctions",r=`#if defined(COLORGRADING) && !defined(COLORGRADING3D)
|
|
581
|
-
/**
|
|
582
|
-
* Polyfill for SAMPLE_TEXTURE_3D,which is unsupported in WebGL.
|
|
583
|
-
* sampler3dSetting.x=textureOffset (0.5/textureSize).
|
|
584
|
-
* sampler3dSetting.y=textureSize.
|
|
585
|
-
*/
|
|
586
|
-
#define inline
|
|
587
|
-
vec3 sampleTexture3D(sampler2D colorTransform,vec3 color,vec2 sampler3dSetting)
|
|
588
|
-
{float sliceSize=2.0*sampler3dSetting.x;
|
|
589
|
-
#ifdef SAMPLER3DGREENDEPTH
|
|
590
|
-
float sliceContinuous=(color.g-sampler3dSetting.x)*sampler3dSetting.y;
|
|
591
|
-
#else
|
|
592
|
-
float sliceContinuous=(color.b-sampler3dSetting.x)*sampler3dSetting.y;
|
|
593
|
-
#endif
|
|
594
|
-
float sliceInteger=floor(sliceContinuous);float sliceFraction=sliceContinuous-sliceInteger;
|
|
595
|
-
#ifdef SAMPLER3DGREENDEPTH
|
|
596
|
-
vec2 sliceUV=color.rb;
|
|
597
|
-
#else
|
|
598
|
-
vec2 sliceUV=color.rg;
|
|
599
|
-
#endif
|
|
600
|
-
sliceUV.x*=sliceSize;sliceUV.x+=sliceInteger*sliceSize;sliceUV=saturate(sliceUV);vec4 slice0Color=texture2D(colorTransform,sliceUV);sliceUV.x+=sliceSize;sliceUV=saturate(sliceUV);vec4 slice1Color=texture2D(colorTransform,sliceUV);vec3 result=mix(slice0Color.rgb,slice1Color.rgb,sliceFraction);
|
|
601
|
-
#ifdef SAMPLER3DBGRMAP
|
|
602
|
-
color.rgb=result.rgb;
|
|
603
|
-
#else
|
|
604
|
-
color.rgb=result.bgr;
|
|
605
|
-
#endif
|
|
606
|
-
return color;}
|
|
607
|
-
#endif
|
|
608
|
-
#if TONEMAPPING==3
|
|
609
|
-
const float PBRNeutralStartCompression=0.8-0.04;const float PBRNeutralDesaturation=0.15;vec3 PBRNeutralToneMapping( vec3 color ) {float x=min(color.r,min(color.g,color.b));float offset=x<0.08 ? x-6.25*x*x : 0.04;color-=offset;float peak=max(color.r,max(color.g,color.b));if (peak<PBRNeutralStartCompression) return color;float d=1.-PBRNeutralStartCompression;float newPeak=1.-d*d/(peak+d-PBRNeutralStartCompression);color*=newPeak/peak;float g=1.-1./(PBRNeutralDesaturation*(peak-newPeak)+1.);return mix(color,newPeak*vec3(1,1,1),g);}
|
|
610
|
-
#endif
|
|
611
|
-
#if TONEMAPPING==2
|
|
612
|
-
const mat3 ACESInputMat=mat3(
|
|
613
|
-
vec3(0.59719,0.07600,0.02840),
|
|
614
|
-
vec3(0.35458,0.90834,0.13383),
|
|
615
|
-
vec3(0.04823,0.01566,0.83777)
|
|
616
|
-
);const mat3 ACESOutputMat=mat3(
|
|
617
|
-
vec3( 1.60475,-0.10208,-0.00327),
|
|
618
|
-
vec3(-0.53108, 1.10813,-0.07276),
|
|
619
|
-
vec3(-0.07367,-0.00605, 1.07602)
|
|
620
|
-
);vec3 RRTAndODTFit(vec3 v)
|
|
621
|
-
{vec3 a=v*(v+0.0245786)-0.000090537;vec3 b=v*(0.983729*v+0.4329510)+0.238081;return a/b;}
|
|
622
|
-
vec3 ACESFitted(vec3 color)
|
|
623
|
-
{color=ACESInputMat*color;color=RRTAndODTFit(color);color=ACESOutputMat*color;color=saturate(color);return color;}
|
|
624
|
-
#endif
|
|
625
|
-
#define CUSTOM_IMAGEPROCESSINGFUNCTIONS_DEFINITIONS
|
|
626
|
-
vec4 applyImageProcessing(vec4 result) {
|
|
627
|
-
#define CUSTOM_IMAGEPROCESSINGFUNCTIONS_UPDATERESULT_ATSTART
|
|
628
|
-
#ifdef EXPOSURE
|
|
629
|
-
result.rgb*=exposureLinear;
|
|
630
|
-
#endif
|
|
631
|
-
#ifdef VIGNETTE
|
|
632
|
-
vec2 viewportXY=gl_FragCoord.xy*vInverseScreenSize;viewportXY=viewportXY*2.0-1.0;vec3 vignetteXY1=vec3(viewportXY*vignetteSettings1.xy+vignetteSettings1.zw,1.0);float vignetteTerm=dot(vignetteXY1,vignetteXY1);float vignette=pow(vignetteTerm,vignetteSettings2.w);vec3 vignetteColor=vignetteSettings2.rgb;
|
|
633
|
-
#ifdef VIGNETTEBLENDMODEMULTIPLY
|
|
634
|
-
vec3 vignetteColorMultiplier=mix(vignetteColor,vec3(1,1,1),vignette);result.rgb*=vignetteColorMultiplier;
|
|
635
|
-
#endif
|
|
636
|
-
#ifdef VIGNETTEBLENDMODEOPAQUE
|
|
637
|
-
result.rgb=mix(vignetteColor,result.rgb,vignette);
|
|
638
|
-
#endif
|
|
639
|
-
#endif
|
|
640
|
-
#if TONEMAPPING==3
|
|
641
|
-
result.rgb=PBRNeutralToneMapping(result.rgb);
|
|
642
|
-
#elif TONEMAPPING==2
|
|
643
|
-
result.rgb=ACESFitted(result.rgb);
|
|
644
|
-
#elif TONEMAPPING==1
|
|
645
|
-
const float tonemappingCalibration=1.590579;result.rgb=1.0-exp2(-tonemappingCalibration*result.rgb);
|
|
646
|
-
#endif
|
|
647
|
-
result.rgb=toGammaSpace(result.rgb);result.rgb=saturate(result.rgb);
|
|
648
|
-
#ifdef CONTRAST
|
|
649
|
-
vec3 resultHighContrast=result.rgb*result.rgb*(3.0-2.0*result.rgb);if (contrast<1.0) {result.rgb=mix(vec3(0.5,0.5,0.5),result.rgb,contrast);} else {result.rgb=mix(result.rgb,resultHighContrast,contrast-1.0);}
|
|
650
|
-
result.rgb=max(result.rgb,0.);
|
|
651
|
-
#endif
|
|
652
|
-
#ifdef COLORGRADING
|
|
653
|
-
vec3 colorTransformInput=result.rgb*colorTransformSettings.xxx+colorTransformSettings.yyy;
|
|
654
|
-
#ifdef COLORGRADING3D
|
|
655
|
-
vec3 colorTransformOutput=texture(txColorTransform,colorTransformInput).rgb;
|
|
656
|
-
#else
|
|
657
|
-
vec3 colorTransformOutput=sampleTexture3D(txColorTransform,colorTransformInput,colorTransformSettings.yz).rgb;
|
|
658
|
-
#endif
|
|
659
|
-
result.rgb=mix(result.rgb,colorTransformOutput,colorTransformSettings.www);
|
|
660
|
-
#endif
|
|
661
|
-
#ifdef COLORCURVES
|
|
662
|
-
float luma=getLuminance(result.rgb);vec2 curveMix=clamp(vec2(luma*3.0-1.5,luma*-3.0+1.5),vec2(0.0),vec2(1.0));vec4 colorCurve=vCameraColorCurveNeutral+curveMix.x*vCameraColorCurvePositive-curveMix.y*vCameraColorCurveNegative;result.rgb*=colorCurve.rgb;result.rgb=mix(vec3(luma),result.rgb,colorCurve.a);
|
|
663
|
-
#endif
|
|
664
|
-
#ifdef DITHER
|
|
665
|
-
float rand=getRand(gl_FragCoord.xy*vInverseScreenSize);float dither=mix(-ditherIntensity,ditherIntensity,rand);result.rgb=saturate(result.rgb+vec3(dither));
|
|
666
|
-
#endif
|
|
667
|
-
#define CUSTOM_IMAGEPROCESSINGFUNCTIONS_UPDATERESULT_ATEND
|
|
668
|
-
return result;}`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["imageProcessingFunctions",0,{name:o,shader:r}])},13989,e=>{"use strict";var t=e.i(37875);let o="textureRepetitionFunctions",r=`#if TEXTURE_REPETITION_MODE>0
|
|
902
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["shadowsFragmentFunctions",0,{name:o,shader:r}])},59954,e=>{"use strict";var t=e.i(2342);let o="textureRepetitionFunctions",r=`#if TEXTURE_REPETITION_MODE>0
|
|
669
903
|
vec4 _texRepHash4(vec2 p) {return fract(sin(vec4(
|
|
670
904
|
1.0+dot(p,vec2(37.0,17.0)),
|
|
671
905
|
2.0+dot(p,vec2(11.0,47.0)),
|
|
@@ -706,35 +940,4 @@ float mean=0.3;vec4 res=mean+(va-wt*mean)/sqrt(w2);return mix(va/wt,res,0.4);}
|
|
|
706
940
|
#define TEXRD(s,uv) texture2D(s,uv)
|
|
707
941
|
#endif
|
|
708
942
|
#define TEXRD_DEFINED
|
|
709
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["textureRepetitionFunctions",0,{name:o,shader:r}])}
|
|
710
|
-
gl_FragColor=vec4(0.,0.,0.,1.0);return;
|
|
711
|
-
#endif
|
|
712
|
-
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["depthPrePass",0,{name:o,shader:r}],84852);let a="logDepthFragment",i=`#ifdef LOGARITHMICDEPTH
|
|
713
|
-
gl_FragDepthEXT=log2(vFragmentDepth)*logarithmicDepthConstant*0.5;
|
|
714
|
-
#endif
|
|
715
|
-
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=i),e.s(["logDepthFragment",0,{name:a,shader:i}],98008);let s="oitFragment",c=`#ifdef ORDER_INDEPENDENT_TRANSPARENCY
|
|
716
|
-
float fragDepth=gl_FragCoord.z;
|
|
717
|
-
#ifdef ORDER_INDEPENDENT_TRANSPARENCY_16BITS
|
|
718
|
-
uint halfFloat=packHalf2x16(vec2(fragDepth));vec2 full=unpackHalf2x16(halfFloat);fragDepth=full.x;
|
|
719
|
-
#endif
|
|
720
|
-
ivec2 fragCoord=ivec2(gl_FragCoord.xy);vec2 lastDepth=texelFetch(oitDepthSampler,fragCoord,0).rg;vec4 lastFrontColor=texelFetch(oitFrontColorSampler,fragCoord,0);depth.rg=vec2(-MAX_DEPTH);frontColor=lastFrontColor;backColor=vec4(0.0);
|
|
721
|
-
#ifdef USE_REVERSE_DEPTHBUFFER
|
|
722
|
-
float furthestDepth=-lastDepth.x;float nearestDepth=lastDepth.y;
|
|
723
|
-
#else
|
|
724
|
-
float nearestDepth=-lastDepth.x;float furthestDepth=lastDepth.y;
|
|
725
|
-
#endif
|
|
726
|
-
float alphaMultiplier=1.0-lastFrontColor.a;
|
|
727
|
-
#ifdef USE_REVERSE_DEPTHBUFFER
|
|
728
|
-
if (fragDepth>nearestDepth || fragDepth<furthestDepth) {
|
|
729
|
-
#else
|
|
730
|
-
if (fragDepth<nearestDepth || fragDepth>furthestDepth) {
|
|
731
|
-
#endif
|
|
732
|
-
return;}
|
|
733
|
-
#ifdef USE_REVERSE_DEPTHBUFFER
|
|
734
|
-
if (fragDepth<nearestDepth && fragDepth>furthestDepth) {
|
|
735
|
-
#else
|
|
736
|
-
if (fragDepth>nearestDepth && fragDepth<furthestDepth) {
|
|
737
|
-
#endif
|
|
738
|
-
depth.rg=vec2(-fragDepth,fragDepth);return;}
|
|
739
|
-
#endif
|
|
740
|
-
`;t.ShaderStore.IncludesShadersStore[s]||(t.ShaderStore.IncludesShadersStore[s]=c),e.s(["oitFragment",0,{name:s,shader:c}],46525)}]);
|
|
943
|
+
`;t.ShaderStore.IncludesShadersStore[o]||(t.ShaderStore.IncludesShadersStore[o]=r),e.s(["textureRepetitionFunctions",0,{name:o,shader:r}])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,98163,t=>{"use strict";var e=t.i(59012),i=t.i(97009);class r{constructor(t,r){this.path=t,this.ownerBlock=r,this.templatedInputs=[],this.templateInfos=[];const o=new Set,n=(n,a)=>{let s=n.exec(t);for(;s;){let[,l]=s;if(o.has(l))throw Error("Duplicate template variable detected.");o.add(l);let u=r.registerDataInput(l,i.RichTypeAny,new e.FlowGraphInteger(0));this.templatedInputs.push(u),this.templateInfos.push({name:l,style:a,connection:u}),s=n.exec(t)}};n(new RegExp(/\/\{(\w+)\}(?=\/|$)/g),"curly"),n(new RegExp(/\/\[(\w+)\](?=\/|$)/g),"square")}getAccessor(t,i){let r=this.path;for(let t of this.templateInfos){let a=t.connection.getValue(i),s="curly"===t.style?`{${t.name}}`:`[${t.name}]`,l=function(t,i,r,a){if(r instanceof e.FlowGraphInteger)return o(r.value,i),r.value.toString();if("number"==typeof r)return o(r,i),r.toString();if("string"==typeof r){if(""===r)throw Error(`Templated reference input "${i}" is null.`);return n(t,i,r)}if(r&&"object"==typeof r){let e=a.getObjectReference(r,function(t,e){let i,r=(i=[`{${e}}`,`[${e}]`],t.split("/").findIndex(t=>i.indexOf(t)>=0));return r>0?t.split("/")[r-1]:void 0}(t,i));if(e)return n(t,i,e)}throw Error(`Invalid value for templated input "${i}": got ${typeof r}.`)}(this.path,t.name,a,i);r=r.replace(s,l)}return t.convert(r)}}function o(t,e){if("number"!=typeof t||t<0||!Number.isFinite(t))throw Error(`Invalid value for templated input "${e}": ${t}.`)}function n(t,e,i){let r=t.split("/"),o=[`{${e}}`,`[${e}]`],n=r.findIndex(t=>o.indexOf(t)>=0),a=i.split("/");if(n>=0&&n<a.length&&""!==a[n])return a[n];for(let t=a.length-1;t>=0;t--)if(""!==a[t])return a[t];return i}var a=t.i(72003),s=t.i(64073),l=t.i(17484),u=t.i(99493);class p extends l.FlowGraphCachedOperationBlock{constructor(t){super(i.RichTypeAny,t),this.config=t,this.object=this.registerDataOutput("object",i.RichTypeAny),this.propertyName=this.registerDataOutput("propertyName",i.RichTypeAny),this.setterFunction=this.registerDataOutput("setFunction",i.RichTypeAny,this._setPropertyValue.bind(this)),this.getterFunction=this.registerDataOutput("getFunction",i.RichTypeAny,this._getPropertyValue.bind(this)),this.generateAnimationsFunction=this.registerDataOutput("generateAnimationsFunction",i.RichTypeAny,this._getInterpolationAnimationPropertyInfo.bind(this)),this.templateComponent=new r(t.jsonPointer,this)}_doOperation(t){let e=this.templateComponent.getAccessor(this.config.pathConverter,t),i=e.info.get(e.object,void 0,t),r=e.info.getTarget?.(e.object),o=e.info.getPropertyName?.[0](e.object);if(r)this.object.setValue(r,t),o&&this.propertyName.setValue(o,t);else throw Error("Object is undefined");return i}_setPropertyValue(t,e,i,r){let o=this.templateComponent.getAccessor(this.config.pathConverter,r),n=o.info.type;n.startsWith("Color")&&(i=c(i,n)),"number"==typeof i?.value&&i?.getClassName?.()==="FlowGraphInteger"&&(i=i.value),o.info.set?.(i,o.object)}_getPropertyValue(t,e,i){let r=this.templateComponent.getAccessor(this.config.pathConverter,i),o=r.info.type,n=r.info.get(r.object,void 0,i);return o.startsWith("Color")?function(t){if(t instanceof s.Color3)return new a.Vector3(t.r,t.g,t.b);if(t instanceof s.Color4)return new a.Vector4(t.r,t.g,t.b,t.a);throw Error("Invalid color type")}(n):n}_getInterpolationAnimationPropertyInfo(t,e,i){let r=this.templateComponent.getAccessor(this.config.pathConverter,i);return(t,e,i,o)=>{let n=[],a=r.info.type;return a.startsWith("Color")&&(t=t.map(t=>({frame:t.frame,value:c(t.value,a)}))),r.info.interpolation?.forEach((e,a)=>{let s=r.info.getPropertyName?.[a](r.object)||"Animation-interpolation-"+a,l=t;for(let a of(i!==e.type&&(l=t.map(t=>({frame:t.frame,value:e.getValue(void 0,t.value.asArray?t.value.asArray():[t.value],0,1)}))),e.buildAnimations(r.object,s,60,l)))o&&a.babylonAnimation.setEasingFunction(o),n.push(a.babylonAnimation)}),n}}getClassName(){return"FlowGraphJsonPointerParserBlock"}}function c(t,e){return t.getClassName().startsWith("Color")?t:"Color3"===e?new s.Color3(t.x,t.y,t.z):"Color4"===e?new s.Color4(t.x,t.y,t.z,t.w):t}let h=!1;function f(){h||(h=!0,(0,u.RegisterClass)("FlowGraphJsonPointerParserBlock",p))}t.s(["FlowGraphJsonPointerParserBlock",0,p,"RegisterFlowGraphJsonPointerParserBlock",0,f],1401),f(),t.s([],19784),t.i(19784),t.i(1401),t.s(["FlowGraphJsonPointerParserBlock",0,p],98163)},17484,t=>{"use strict";var e=t.i(37096),i=t.i(97009);let r="cachedOperationValue",o="cachedExecutionId";class n extends e.FlowGraphBlock{constructor(t,e){super(e),this._outputRichType=t,this.value=this.registerDataOutput("value",t),this.isValid=this.registerDataOutput("isValid",i.RichTypeBoolean)}_getInvalidOutputValue(t){let e=this._outputRichType.defaultValue,i=e?.clone;return"function"==typeof i?i.call(e):e}_updateOutputs(t){let e=t._getExecutionVariable(this,o,-1),i=t._getExecutionVariable(this,r,null);if(null!=i&&e===t.executionId)this.isValid.setValue(!0,t),this.value.setValue(i,t);else try{let e=this._doOperation(t);if(null==e)return void this._setInvalid(t);t._setExecutionVariable(this,r,e),t._setExecutionVariable(this,o,t.executionId),this.value.setValue(e,t),this.isValid.setValue(!0,t)}catch(e){this._setInvalid(t)}}_setInvalid(t){this.isValid.setValue(!1,t),this.value.setValue(this._getInvalidOutputValue(t),t)}}t.s(["FlowGraphCachedOperationBlock",0,n])}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,90088,t=>{"use strict";var e=t.i(20552),i=t.i(97009),o=t.i(99493);class r extends e.FlowGraphExecutionBlockWithOutSignal{constructor(t){super(t),this.body=this.registerDataInput("body",i.RichTypeAny),this.velocity=this.registerDataInput("velocity",i.RichTypeVector3)}_execute(t,e){let i=this.body.getValue(t);if(!i){this._reportError(t,"No physics body provided"),this.out._activateSignal(t);return}i.setLinearVelocity(this.velocity.getValue(t)),this.out._activateSignal(t)}getClassName(){return"FlowGraphSetLinearVelocityBlock"}}let l=!1;function c(){l||(l=!0,(0,o.RegisterClass)("FlowGraphSetLinearVelocityBlock",r))}t.s(["FlowGraphSetLinearVelocityBlock",0,r,"RegisterFlowGraphSetLinearVelocityBlock",0,c],20157),c(),t.s([],90034),t.i(90034),t.i(20157),t.s(["FlowGraphSetLinearVelocityBlock",0,r],90088)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,50532,e=>{"use strict";var o=e.i(75648),t=e.i(97009),a=e.i(59012),l=e.i(99493);class r extends o.FlowGraphUnaryOperationBlock{constructor(e){super(t.RichTypeBoolean,t.RichTypeNumber,e=>+e,"FlowGraphBooleanToFloat",e)}}class s extends o.FlowGraphUnaryOperationBlock{constructor(e){super(t.RichTypeBoolean,t.RichTypeFlowGraphInteger,e=>a.FlowGraphInteger.FromValue(+e),"FlowGraphBooleanToInt",e)}}class n extends o.FlowGraphUnaryOperationBlock{constructor(e){super(t.RichTypeNumber,t.RichTypeBoolean,e=>!!e,"FlowGraphFloatToBoolean",e)}}class i extends o.FlowGraphUnaryOperationBlock{constructor(e){super(t.RichTypeFlowGraphInteger,t.RichTypeBoolean,e=>!!e.value,"FlowGraphIntToBoolean",e)}}class h extends o.FlowGraphUnaryOperationBlock{constructor(e){super(t.RichTypeFlowGraphInteger,t.RichTypeNumber,e=>e.value,"FlowGraphIntToFloat",e)}}class p extends o.FlowGraphUnaryOperationBlock{constructor(e){super(t.RichTypeNumber,t.RichTypeFlowGraphInteger,o=>{switch(e?.roundingMode){case"floor":return a.FlowGraphInteger.FromValue(Math.floor(o));case"ceil":return a.FlowGraphInteger.FromValue(Math.ceil(o));case"round":return a.FlowGraphInteger.FromValue(Math.round(o));default:return a.FlowGraphInteger.FromValue(o)}},"FlowGraphFloatToInt",e)}}let u=!1;function c(){u||(u=!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))}e.s(["FlowGraphBooleanToFloat",0,r,"FlowGraphBooleanToInt",0,s,"FlowGraphFloatToBoolean",0,n,"FlowGraphFloatToInt",0,p,"FlowGraphIntToBoolean",0,i,"FlowGraphIntToFloat",0,h,"RegisterFlowGraphTypeToTypeBlocks",0,c],98302),c(),e.s([],56514),e.i(56514),e.i(98302),e.s(["FlowGraphBooleanToFloat",0,r,"FlowGraphBooleanToInt",0,s,"FlowGraphFloatToBoolean",0,n,"FlowGraphFloatToInt",0,p,"FlowGraphIntToBoolean",0,i,"FlowGraphIntToFloat",0,h],50532)},17484,e=>{"use strict";var o=e.i(37096),t=e.i(97009);let a="cachedOperationValue",l="cachedExecutionId";class r extends o.FlowGraphBlock{constructor(e,o){super(o),this._outputRichType=e,this.value=this.registerDataOutput("value",e),this.isValid=this.registerDataOutput("isValid",t.RichTypeBoolean)}_getInvalidOutputValue(e){let o=this._outputRichType.defaultValue,t=o?.clone;return"function"==typeof t?t.call(o):o}_updateOutputs(e){let o=e._getExecutionVariable(this,l,-1),t=e._getExecutionVariable(this,a,null);if(null!=t&&o===e.executionId)this.isValid.setValue(!0,e),this.value.setValue(t,e);else try{let o=this._doOperation(e);if(null==o)return void this._setInvalid(e);e._setExecutionVariable(this,a,o),e._setExecutionVariable(this,l,e.executionId),this.value.setValue(o,e),this.isValid.setValue(!0,e)}catch(o){this._setInvalid(e)}}_setInvalid(e){this.isValid.setValue(!1,e),this.value.setValue(this._getInvalidOutputValue(e),e)}}e.s(["FlowGraphCachedOperationBlock",0,r])},75648,e=>{"use strict";var o=e.i(17484);class t extends o.FlowGraphCachedOperationBlock{constructor(e,o,t,a,l){super(o,l),this._operation=t,this._className=a,this.a=this.registerDataInput("a",e)}_doOperation(e){return this._operation(this.a.getValue(e))}getClassName(){return this._className}}e.s(["FlowGraphUnaryOperationBlock",0,t])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,84538,i=>{"use strict";i.s([],95976),i.i(95976);var n=i.i(76256);i.s(["ThinEngine",()=>n.ThinEngine],84538)}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,50009,t=>{"use strict";var e=t.i(37096),o=t.i(97009),s=t.i(50137),i=t.i(99493);class a extends e.FlowGraphBlock{constructor(t){super(t),this.config=t,this.output=this.registerDataOutput("output",(0,o.getRichTypeFromValue)(t.value))}_updateOutputs(t){this.output.setValue(this.config.value,t)}getClassName(){return"FlowGraphConstantBlock"}serialize(t={},e=s.defaultValueSerializationFunction){super.serialize(t),e("value",this.config.value,t.config)}}let l=!1;function u(){l||(l=!0,(0,i.RegisterClass)("FlowGraphConstantBlock",a))}t.s(["FlowGraphConstantBlock",0,a,"RegisterFlowGraphConstantBlock",0,u],33979),u(),t.s([],58462),t.i(58462),t.i(33979),t.s(["FlowGraphConstantBlock",0,a],50009)}]);
|