@uptimizr/dashboard 0.4.6 → 0.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/404.html +1 -1
- package/out/__next.__PAGE__.txt +19 -5
- package/out/__next._full.txt +10 -10
- package/out/__next._tree.txt +1 -1
- package/out/_next/static/chunks/{3cp5nmtwxq4gr.js → 0-6mdj5wxsfid.js} +1 -1
- package/out/_next/static/chunks/{2clevl_9ayd0x.js → 0-qthfqvm1jyj.js} +1 -1
- package/out/_next/static/chunks/01viyuclp2gm9.js +1 -0
- package/out/_next/static/chunks/02aym4t2hgo5c.js +1 -0
- package/out/_next/static/chunks/{1fervgvgv10r-.js → 02ic9b5ejugow.js} +1 -1
- package/out/_next/static/chunks/03p70i4c7qt0v.js +1 -0
- package/out/_next/static/chunks/{3zv5kyos9vtmm.js → 03pjr-ivdicng.js} +1 -1
- package/out/_next/static/chunks/041a06-lxipy5.js +1 -0
- package/out/_next/static/chunks/{3-yhe6rcsjh88.js → 06dzkwetqis-5.js} +1 -1
- package/out/_next/static/chunks/{2mjjo0yj-4ro4.js → 06kvanz5-fo52.js} +1 -1
- package/out/_next/static/chunks/{28i3wgvgn_at1.js → 07y8ke_iy59dn.js} +1 -1
- package/out/_next/static/chunks/09jukc-4jl735.js +1 -0
- package/out/_next/static/chunks/{0cmyc-uvk93kl.js → 09khmdgez3t0a.js} +74 -74
- package/out/_next/static/chunks/{2x-7kbwq8tl-o.js → 0_dca4876jshu.js} +196 -196
- package/out/_next/static/chunks/0axcgnl5qzr6e.js +1 -0
- package/out/_next/static/chunks/0ay4fjomijs3n.js +1 -0
- package/out/_next/static/chunks/0c7fy79wlccat.js +1 -0
- package/out/_next/static/chunks/0cqe4-l3imct3.js +1 -0
- package/out/_next/static/chunks/0cssvelju788j.js +1 -0
- package/out/_next/static/chunks/{2-_a-v1xeo5hb.js → 0ctain5xq2wsd.js} +116 -115
- package/out/_next/static/chunks/{3yk0hzfq5rcs6.js → 0df-dr3otg_4w.js} +1 -1
- package/out/_next/static/chunks/{0i9wa8hjd-5tc.js → 0endw997j7ao9.js} +1 -1
- package/out/_next/static/chunks/0ev_pbit1v_qg.js +1 -0
- package/out/_next/static/chunks/0eyw9oiwipywb.js +1 -0
- package/out/_next/static/chunks/0fkzbuo1tex4u.js +1 -0
- package/out/_next/static/chunks/0govas0u0t4w3.js +1 -0
- package/out/_next/static/chunks/{287hakn2ijupp.js → 0guzhnususp3-.js} +2 -2
- package/out/_next/static/chunks/0h7bq_ysu17q7.js +3 -0
- package/out/_next/static/chunks/0hneh_3xzlo28.js +1 -0
- package/out/_next/static/chunks/0iaqwme19z_0s.js +1 -0
- package/out/_next/static/chunks/0ibmar10xndpn.js +1 -0
- package/out/_next/static/chunks/0ii8mqoteppgh.js +11 -0
- package/out/_next/static/chunks/{3ioxfi3bvznhh.js → 0ip6v64di_l6x.js} +1 -1
- package/out/_next/static/chunks/{184pz6z3dflfm.js → 0ixymgjgz3grn.js} +20 -20
- package/out/_next/static/chunks/0kuah8g7lt5ox.js +1 -0
- package/out/_next/static/chunks/0l3k4j19vxm17.js +1 -0
- package/out/_next/static/chunks/0l6hg0ohwh9-m.js +1 -0
- package/out/_next/static/chunks/0m4um4ylhlfan.js +1 -0
- package/out/_next/static/chunks/0mj837d4h0ddq.js +1 -0
- package/out/_next/static/chunks/0nyn-f4905o91.js +1 -0
- package/out/_next/static/chunks/0og6i9rsgkuif.js +1 -0
- package/out/_next/static/chunks/0os1x-fxzgnxs.js +1 -0
- package/out/_next/static/chunks/0otnra7mp0hog.js +1 -0
- package/out/_next/static/chunks/{3p03l0z65c8vc.js → 0oyf2xzv8ofkk.js} +253 -253
- package/out/_next/static/chunks/0qvsy3gcqjm12.js +1 -0
- package/out/_next/static/chunks/{0yd4_xh476fjn.js → 0rl4ddh2vgxyl.js} +97 -97
- package/out/_next/static/chunks/0rwpttmsmqvn_.js +1 -0
- package/out/_next/static/chunks/0so3wjp9ch93y.js +1 -0
- package/out/_next/static/chunks/{36pz_ews7u0xb.js → 0te4g160_rb5d.js} +1 -1
- package/out/_next/static/chunks/0uby-zvu799ef.js +1 -0
- package/out/_next/static/chunks/{2kk_vvmr2xm3d.js → 0uvn0op2mlr2u.js} +12 -12
- package/out/_next/static/chunks/0vwj4hxjm0igv.js +1 -0
- package/out/_next/static/chunks/{0r-x702_jvhud.js → 0w7c30w07uct2.js} +12 -12
- package/out/_next/static/chunks/0wm38z3u2133a.js +1 -0
- package/out/_next/static/chunks/0y7yk5al7_p8q.js +4 -0
- package/out/_next/static/chunks/0ycr0gi6fn6bt.js +1 -0
- package/out/_next/static/chunks/0ywvahq9t0tki.js +1 -0
- package/out/_next/static/chunks/0zh6nslagkby-.js +1 -0
- package/out/_next/static/chunks/{3twr9ds68-9us.js → 0zo8xa0nej3ex.js} +1 -1
- package/out/_next/static/chunks/{1lu7rjfvxj8yj.js → 0zsir95gpf3xw.js} +1 -1
- package/out/_next/static/chunks/{1j4c0nvdo5q68.js → 0zu6ryyj0ig-j.js} +1 -1
- package/out/_next/static/chunks/{1bv-jzy_2jiqs.js → 1-jv8k10q_1uw.js} +1 -1
- package/out/_next/static/chunks/{0xx7_7y5jdlh4.js → 1-s5ioie9a94e.js} +1 -1
- package/out/_next/static/chunks/{27z7j17kcrty_.js → 1-yos1h0qws5e.js} +11 -11
- package/out/_next/static/chunks/10o7brc3x027r.js +1 -0
- package/out/_next/static/chunks/{2xe4bgir5l-9b.js → 10pae4gb9i929.js} +504 -504
- package/out/_next/static/chunks/13p93itm8a3ym.js +1 -0
- package/out/_next/static/chunks/{2mrkv0z2i74pv.js → 147s8i_lktp4_.js} +2 -2
- package/out/_next/static/chunks/{3nwaovnpiyrt8.js → 14tgo5xt_3j4w.js} +3 -3
- package/out/_next/static/chunks/1699hx-vlak0n.js +22 -0
- package/out/_next/static/chunks/{2b5nt7yn-pq3a.js → 16d6n9e77rqti.js} +1 -1
- package/out/_next/static/chunks/{3nr48h9zwum-3.js → 16f3d5dv83rsr.js} +1 -1
- package/out/_next/static/chunks/16i_tpwn_cmr-.js +1 -0
- package/out/_next/static/chunks/{2117sv2qzo6yq.js → 16rfr165nbha0.js} +1 -1
- package/out/_next/static/chunks/16sl51pvzo4tf.js +1 -0
- package/out/_next/static/chunks/1760s-32qpwgg.js +1 -0
- package/out/_next/static/chunks/{3rj-5v0j_2-_2.js → 18kq07c5xy_4g.js} +4 -4
- package/out/_next/static/chunks/{2wgh5i70bzelt.js → 190tbzt861ao3.js} +392 -392
- package/out/_next/static/chunks/19bhv6cupnnyj.js +1 -0
- package/out/_next/static/chunks/1_14pn2wwebxy.js +1 -0
- package/out/_next/static/chunks/{2_lw4d7t-xcqi.js → 1_kikmeubh0wq.js} +523 -522
- package/out/_next/static/chunks/1ay3z6agelsvz.js +1 -0
- package/out/_next/static/chunks/1b-fi3bfmpe31.js +1 -0
- package/out/_next/static/chunks/1bae3tqv53x9_.js +1 -0
- package/out/_next/static/chunks/{2s4fzgzkwjluu.js → 1bf421g4peccx.js} +2 -2
- package/out/_next/static/chunks/1bfony5qsc5tp.js +1 -0
- package/out/_next/static/chunks/{3vtmucpx25o7q.js → 1ddt0ot7kl8vq.js} +584 -584
- package/out/_next/static/chunks/1emz2vjkgck4z.js +1 -0
- package/out/_next/static/chunks/1eogzzw8i1wsg.js +1 -0
- package/out/_next/static/chunks/1g9p2h1-31q8o.js +1 -0
- package/out/_next/static/chunks/1gcz1k1v1woca.js +1 -0
- package/out/_next/static/chunks/1h8lyicgqhpxa.js +1 -0
- package/out/_next/static/chunks/{0e5dcxmkprebg.js → 1hot663akaepl.js} +1 -1
- package/out/_next/static/chunks/1i7pgl3ks5ye0.js +1 -0
- package/out/_next/static/chunks/{0xzamrecplwzw.js → 1i8sk_qgpdjhs.js} +1 -1
- package/out/_next/static/chunks/1kk3ct7pkpf3b.js +1 -0
- package/out/_next/static/chunks/1kq9o8del67le.js +1 -0
- package/out/_next/static/chunks/1l7tzyx2mumlq.js +1 -0
- package/out/_next/static/chunks/1n_uwed9o--go.js +1 -0
- package/out/_next/static/chunks/1o351eldttogn.js +1 -0
- package/out/_next/static/chunks/{1f07l3q77zat1.js → 1ogs4_aj84bfn.js} +1 -1
- package/out/_next/static/chunks/{3_dm45k0vk1aa.js → 1p206txlluipi.js} +565 -565
- package/out/_next/static/chunks/1p2bt1w845v6c.js +1 -0
- package/out/_next/static/chunks/1p3rgz4aef1gk.js +1 -0
- package/out/_next/static/chunks/{0ypejzd74ixbw.js → 1qcgdx9yl0gfx.js} +15 -15
- package/out/_next/static/chunks/1ql3mm2w5r-m8.js +1 -0
- package/out/_next/static/chunks/1qvcyuyshi3ll.js +53 -0
- package/out/_next/static/chunks/1r0yyg5a_0knc.js +1 -0
- package/out/_next/static/chunks/{374lzksboll-t.js → 1sa6qiidtcyk2.js} +1 -1
- package/out/_next/static/chunks/1t-9vrdrsi8le.js +1 -0
- package/out/_next/static/chunks/1t97zo0tlpbnz.js +1 -0
- package/out/_next/static/chunks/1te2tinzqnwck.js +1 -0
- package/out/_next/static/chunks/{3j3ol_d1vsdhx.js → 1trt-m2nrck0v.js} +1 -1
- package/out/_next/static/chunks/{3vu5y270muh-7.js → 1ty9jpwr3o_st.js} +1 -1
- package/out/_next/static/chunks/{415g3asdds1ac.js → 1u6w6veke8rze.js} +1 -1
- package/out/_next/static/chunks/{0-laj-bivzp4x.js → 1u900urmrbv73.js} +1 -1
- package/out/_next/static/chunks/{0o73w0cn5n_vl.js → 1vz2gd8k74lpi.js} +1 -1
- package/out/_next/static/chunks/1wkpl9bfb0wn7.js +1 -0
- package/out/_next/static/chunks/1wrly9a9c3teq.js +1 -0
- package/out/_next/static/chunks/1x0m05155yy4e.js +1 -0
- package/out/_next/static/chunks/{1my968s78he8g.js → 1xf1wfow43ekc.js} +15 -15
- package/out/_next/static/chunks/1y10o40v9odam.js +1 -0
- package/out/_next/static/chunks/{3_gfl66zf638s.js → 1y_zykt3fpen4.js} +901 -906
- package/out/_next/static/chunks/1ye6xtbm16pg4.js +1 -0
- package/out/_next/static/chunks/1z6_57k5h31u7.js +1 -0
- package/out/_next/static/chunks/1zboqft0h6mop.js +1 -0
- package/out/_next/static/chunks/1zr3c351x0ri5.js +1 -0
- package/out/_next/static/chunks/2-5p2lcedvrli.js +1 -0
- package/out/_next/static/chunks/{1_4hh3dfop93j.js → 206hxrq60f1_e.js} +1 -1
- package/out/_next/static/chunks/20r05k3-studj.js +1 -0
- package/out/_next/static/chunks/22gs24kj2du56.js +1 -0
- package/out/_next/static/chunks/22x5pd1gyp7sf.js +1 -0
- package/out/_next/static/chunks/{3qo7e6b73mfxq.js → 22z-2t_yp1jzs.js} +1 -1
- package/out/_next/static/chunks/{3d43gd91r06y6.js → 23hmfdw6z5zfy.js} +507 -505
- package/out/_next/static/chunks/23y1krqnc-8sm.js +1 -0
- package/out/_next/static/chunks/{0gk5rnci1hznh.js → 24tbkj1qkux88.js} +2 -2
- package/out/_next/static/chunks/{2-i29-jdbwww6.js → 26cmri51v7497.js} +111 -111
- package/out/_next/static/chunks/27jalbk9zu-2b.js +1 -0
- package/out/_next/static/chunks/285d2s9096ryc.js +1 -0
- package/out/_next/static/chunks/296ykep2nvppv.js +1 -0
- package/out/_next/static/chunks/29nehg5cal-ug.js +1 -0
- package/out/_next/static/chunks/2_a56_k3x7to6.js +1 -0
- package/out/_next/static/chunks/2a-0l6eb1blh3.js +4 -0
- package/out/_next/static/chunks/{2oacwtbslo90t.js → 2a31-txop1jzg.js} +360 -360
- package/out/_next/static/chunks/2bse5vll1o-x0.js +1 -0
- package/out/_next/static/chunks/2ct40spu9wfj7.js +1 -0
- package/out/_next/static/chunks/{2epukrz6paj9n.js → 2ept01b7t-e03.js} +1 -1
- package/out/_next/static/chunks/{22yht3s7c-xih.js → 2ey5dqelco_g5.js} +1 -1
- package/out/_next/static/chunks/2fd_009hw7y0m.js +1 -0
- package/out/_next/static/chunks/{2fspbfbxbswzd.js → 2ftz9kaxrsgxh.js} +1 -1
- package/out/_next/static/chunks/2gefdnozflr7p.js +1 -0
- package/out/_next/static/chunks/{2as_br1awqk6k.js → 2gs-u1n5uv7iz.js} +496 -496
- package/out/_next/static/chunks/{1a94whad0y57f.js → 2hizqql79u-54.js} +1 -1
- package/out/_next/static/chunks/2iqf2dpdg_vfl.js +1 -0
- package/out/_next/static/chunks/2j7z127s_ycjd.js +1 -0
- package/out/_next/static/chunks/2kax7uslfxdnx.js +31 -0
- package/out/_next/static/chunks/{2laz1v9fg2a2z.js → 2lh_w9rzy3vek.js} +1 -1
- package/out/_next/static/chunks/{3mmy9zsb7zo-m.js → 2ln1na26qwp-3.js} +23 -23
- package/out/_next/static/chunks/2n08l1q5o_27e.js +1 -0
- package/out/_next/static/chunks/2n7268gyd9z-6.js +1 -0
- package/out/_next/static/chunks/2nq9cgjmtqwvp.js +1 -0
- package/out/_next/static/chunks/{25brs445bjbik.js → 2oj8qc_pv14nk.js} +2 -2
- package/out/_next/static/chunks/2q24e72-olbe8.js +1 -0
- package/out/_next/static/chunks/2qc4hscs26cro.js +1 -0
- package/out/_next/static/chunks/2qe46redkqhfg.js +1 -0
- package/out/_next/static/chunks/2qmfe0mqw150h.js +1 -0
- package/out/_next/static/chunks/2qtc0nbl_521e.js +1 -0
- package/out/_next/static/chunks/2rofu6gu1xzuq.js +1 -0
- package/out/_next/static/chunks/2tdi94rkq739i.js +1 -0
- package/out/_next/static/chunks/2u_2sacqa9xa7.js +1 -0
- package/out/_next/static/chunks/2ujqz6088shm5.js +1 -0
- package/out/_next/static/chunks/{3my05px5mv_s5.js → 2urh9qafp3fiw.js} +235 -235
- package/out/_next/static/chunks/{23-y1f_zw56vo.js → 2v06n4z8wsmn9.js} +1 -1
- package/out/_next/static/chunks/2vp-5skbk1nfu.js +1 -0
- package/out/_next/static/chunks/2vu973j_n6cpx.js +1 -0
- package/out/_next/static/chunks/2wwra56rehfcj.js +1 -0
- package/out/_next/static/chunks/2xpwr97h2asal.js +1 -0
- package/out/_next/static/chunks/3000-0b8n9t_2.js +1 -0
- package/out/_next/static/chunks/{0q0i4pdyq66gb.js → 30t3203d7p2da.js} +1 -1
- package/out/_next/static/chunks/{3t4ys6th6gf2w.js → 31kto7-dxkt3z.js} +1 -1
- package/out/_next/static/chunks/{0j0a0wvmmghxj.js → 32oflcl79d8mu.js} +1 -1
- package/out/_next/static/chunks/32ovg81ae0l03.js +1 -0
- package/out/_next/static/chunks/{2c8rmxz151fxa.js → 331kthnvoma7n.js} +224 -224
- package/out/_next/static/chunks/337kn1mn34rc6.js +1 -0
- package/out/_next/static/chunks/{336ckqpboqmbn.js → 33xug8kf0-a1o.js} +1 -1
- package/out/_next/static/chunks/34dcb7_flbrvo.js +1 -0
- package/out/_next/static/chunks/34zotyeqrz_nq.js +1 -0
- package/out/_next/static/chunks/351wsmi75l8db.js +1 -0
- package/out/_next/static/chunks/36yv-ialtpx98.js +1 -0
- package/out/_next/static/chunks/37hwasxtee5e0.js +1 -0
- package/out/_next/static/chunks/37t0iclgxes05.js +1 -0
- package/out/_next/static/chunks/{1x0j78ohufpul.js → 37xnvnx1jxfaf.js} +1 -1
- package/out/_next/static/chunks/{29hkkj9raxte9.js → 38w74ixqt-9co.js} +77 -77
- package/out/_next/static/chunks/{0jap7l5-bskj4.js → 39t2x_9zd2rst.js} +12 -12
- package/out/_next/static/chunks/{38q0enmlg5q9o.js → 39v73timmzwny.js} +2 -2
- package/out/_next/static/chunks/{3puu2_-t0lln9.js → 3_xqc3658d8sw.js} +12 -12
- package/out/_next/static/chunks/3ba8eudvlczwe.js +1 -0
- package/out/_next/static/chunks/3buezhxqc8n6n.js +1 -0
- package/out/_next/static/chunks/3c5iwwj-fhbue.js +1 -0
- package/out/_next/static/chunks/{2kmmk9coo9_b0.js → 3d8ot2tw6yqfq.js} +143 -143
- package/out/_next/static/chunks/3dc057ffe7ij-.js +1 -0
- package/out/_next/static/chunks/3djnlzwj9869o.js +1 -0
- package/out/_next/static/chunks/{2_6b9lraq-exh.js → 3fuqxjjf8o1v9.js} +5 -5
- package/out/_next/static/chunks/{0j2ygtc_-bo3m.js → 3gt6rzg9qw-an.js} +1 -1
- package/out/_next/static/chunks/{0rykrf_vofbad.js → 3h_05w5j8x538.js} +1 -1
- package/out/_next/static/chunks/{3txu-i5qn183a.js → 3hkhd1_k8xohv.js} +321 -321
- package/out/_next/static/chunks/{2h07np207nlx7.js → 3ijcc5tfisfnj.js} +1 -1
- package/out/_next/static/chunks/3j0dbpd9zop3p.js +1 -0
- package/out/_next/static/chunks/{14e4k-718qadd.js → 3ju83xk-ca7ma.js} +163 -168
- package/out/_next/static/chunks/3jxhl4apmhbm1.js +13 -0
- package/out/_next/static/chunks/{1h1gixjbjkbsl.js → 3la99oz_0p0r6.js} +5 -5
- package/out/_next/static/chunks/{1mt4cnd_d6jvf.js → 3n1b34fd5fdrh.js} +1 -1
- package/out/_next/static/chunks/3nq_hq4x3rn3r.js +1 -0
- package/out/_next/static/chunks/3pgb1kkqrdl9t.js +1 -0
- package/out/_next/static/chunks/3pik_-jj-zkfl.js +1 -0
- package/out/_next/static/chunks/{1zmx71cvc6ksk.js → 3q38kdbzd2nbd.js} +1 -1
- package/out/_next/static/chunks/3q5zl4ks17au2.js +1 -0
- package/out/_next/static/chunks/{1t2g1v0ubcsam.js → 3qr10445lte-n.js} +1 -1
- package/out/_next/static/chunks/3r-8bnguvxsyo.js +1 -0
- package/out/_next/static/chunks/3sg56j8boe-3o.js +1 -0
- package/out/_next/static/chunks/3u7zj1-jdg781.js +1 -0
- package/out/_next/static/chunks/{0o0qtv35dqv3i.js → 3wj5dmf6cywz8.js} +239 -239
- package/out/_next/static/chunks/{2iu0_3cx-ny74.js → 3wr_oijfsq8lr.js} +11 -11
- package/out/_next/static/chunks/3xu0dh1ikzwj2.js +1 -0
- package/out/_next/static/chunks/{0vzo-8t8c26k9.js → 3y5tpixt23-fl.js} +1 -1
- package/out/_next/static/chunks/40gjf-_jt8upu.js +5 -0
- package/out/_next/static/chunks/41f12o_5lf-i9.js +1 -0
- package/out/_next/static/chunks/42ma8lqduohlc.js +1 -0
- package/out/_next/static/chunks/43usshq2nc125.js +1 -0
- package/out/_next/static/chunks/{161yjxmdz9obc.js → 44bl4ufopbmyh.js} +1 -1
- package/out/_next/static/chunks/44iutzkw9r21x.js +1 -0
- package/out/_next/static/chunks/turbopack-1xrxa3noq196-.js +1 -0
- package/out/_not-found/__next._full.txt +11 -11
- package/out/_not-found/__next._not-found.__PAGE__.txt +19 -2
- package/out/_not-found/__next._tree.txt +1 -1
- package/out/_not-found.html +1 -1
- package/out/_not-found.txt +11 -11
- package/out/index.html +1 -1
- package/out/index.txt +10 -10
- package/package.json +11 -11
- package/out/__next._head.txt +0 -6
- package/out/__next._index.txt +0 -5
- package/out/_next/static/chunks/0-k4hp87gwues.js +0 -1
- package/out/_next/static/chunks/04zj0yf1qhk1o.js +0 -1
- package/out/_next/static/chunks/06fbalmyyfpsy.js +0 -1
- package/out/_next/static/chunks/07hgbbqksqd1g.js +0 -1
- package/out/_next/static/chunks/08ou2nvy48e0u.js +0 -1
- package/out/_next/static/chunks/08y5-irjbsiy8.js +0 -1
- package/out/_next/static/chunks/0_jrfk2u1u3fi.js +0 -1
- package/out/_next/static/chunks/0a475u_q5i_dd.js +0 -62
- package/out/_next/static/chunks/0aad2r4s4wl1x.js +0 -5
- package/out/_next/static/chunks/0d9pxx1w_zqr9.js +0 -1
- package/out/_next/static/chunks/0gnjtwq-474uc.js +0 -1
- package/out/_next/static/chunks/0gsh_d0m5xss1.js +0 -1
- package/out/_next/static/chunks/0ibzpjo0h731v.js +0 -1
- package/out/_next/static/chunks/0j_3k5qhv_mdx.js +0 -1
- package/out/_next/static/chunks/0jis2w2mfx062.js +0 -1
- package/out/_next/static/chunks/0jjvp2slpf7d6.js +0 -1
- package/out/_next/static/chunks/0ko10wo4rc9-b.js +0 -1
- package/out/_next/static/chunks/0lqmvz6k2h_of.js +0 -1
- package/out/_next/static/chunks/0lwjmr8efrlbt.js +0 -17
- package/out/_next/static/chunks/0noxyupihh8dk.js +0 -1
- package/out/_next/static/chunks/0o1vph7x9shzu.js +0 -1
- package/out/_next/static/chunks/0p6phe9kjlxn8.js +0 -1
- package/out/_next/static/chunks/0ptxb9dcwsw3o.js +0 -1
- package/out/_next/static/chunks/0q8pt8fd0ma30.js +0 -1
- package/out/_next/static/chunks/0qqx9aoz8l5d2.js +0 -1
- package/out/_next/static/chunks/0tsk32q-88t_7.js +0 -1
- package/out/_next/static/chunks/0u7577db_ivyr.js +0 -1
- package/out/_next/static/chunks/0unnrt0un064x.js +0 -1
- package/out/_next/static/chunks/0uygtr4mo3h0v.js +0 -1
- package/out/_next/static/chunks/0vf3facit951s.js +0 -1
- package/out/_next/static/chunks/0xyija62b6txc.js +0 -1
- package/out/_next/static/chunks/0zeb37703zcz3.js +0 -1
- package/out/_next/static/chunks/0zu5ato7-1-q9.js +0 -1
- package/out/_next/static/chunks/0zydv7y47dxgh.js +0 -1
- package/out/_next/static/chunks/103x4jwovb6d-.js +0 -1
- package/out/_next/static/chunks/107wfq84g9-kn.js +0 -1
- package/out/_next/static/chunks/10afagk8yn__n.js +0 -1
- package/out/_next/static/chunks/12ory_c78yl31.js +0 -1
- package/out/_next/static/chunks/133dqp8_7_yo6.js +0 -1
- package/out/_next/static/chunks/1365lgwdd4vuo.js +0 -1
- package/out/_next/static/chunks/146ou-ohb_qhs.js +0 -1
- package/out/_next/static/chunks/14orr68xgdykd.js +0 -1
- package/out/_next/static/chunks/15qfoj-vl9thu.js +0 -1
- package/out/_next/static/chunks/166yqx3_qvbpy.js +0 -1
- package/out/_next/static/chunks/16gwjao676ieb.js +0 -1
- package/out/_next/static/chunks/16rmmzhy2p7bw.js +0 -1
- package/out/_next/static/chunks/17_jjyx4jz9dd.js +0 -1
- package/out/_next/static/chunks/18h9ugdz6igdb.js +0 -1
- package/out/_next/static/chunks/19d8n5t7ka2fb.js +0 -1
- package/out/_next/static/chunks/1_rbzw3n4fk0g.js +0 -1
- package/out/_next/static/chunks/1aa9g197l4twm.js +0 -1
- package/out/_next/static/chunks/1bq0fcnt1wy86.js +0 -1
- package/out/_next/static/chunks/1c6mho7e0enta.js +0 -1
- package/out/_next/static/chunks/1dfaheve77dhi.js +0 -1
- package/out/_next/static/chunks/1dgf112ehnhm1.js +0 -1
- package/out/_next/static/chunks/1eirucr9s6-h5.js +0 -1
- package/out/_next/static/chunks/1fsof7un7igrn.js +0 -1
- package/out/_next/static/chunks/1gvu5a6ffbs7l.js +0 -1
- package/out/_next/static/chunks/1iel4pzhhh-c3.js +0 -1
- package/out/_next/static/chunks/1iojfx3-g4_n9.js +0 -1
- package/out/_next/static/chunks/1j4jt5q7px8sy.js +0 -1
- package/out/_next/static/chunks/1jjw9hxgi2vzi.js +0 -1
- package/out/_next/static/chunks/1k_8olnprvi8r.js +0 -1
- package/out/_next/static/chunks/1l0rt7d4m-xdk.js +0 -5
- package/out/_next/static/chunks/1s0dpdqy480hg.js +0 -1
- package/out/_next/static/chunks/1t-yolk97lmot.js +0 -12
- package/out/_next/static/chunks/1tbes2sv-qzcx.js +0 -1
- package/out/_next/static/chunks/1upy8a5cb75kt.js +0 -1
- package/out/_next/static/chunks/1xed71f608m4b.js +0 -1
- package/out/_next/static/chunks/1z790xxb46gxy.js +0 -1
- package/out/_next/static/chunks/219n3q-_eengm.js +0 -1
- package/out/_next/static/chunks/21wo3vdr_uby8.js +0 -1
- package/out/_next/static/chunks/25gep78-izw79.js +0 -4
- package/out/_next/static/chunks/26i7dn31afdtm.js +0 -1
- package/out/_next/static/chunks/27hbplu797elx.js +0 -1
- package/out/_next/static/chunks/2992eiy52nazj.js +0 -1
- package/out/_next/static/chunks/29_n5j-hg_gsa.js +0 -1
- package/out/_next/static/chunks/29bxq-67oazfg.js +0 -1
- package/out/_next/static/chunks/29ings58w7kp1.js +0 -1
- package/out/_next/static/chunks/2_n0cpkdsjzli.js +0 -1
- package/out/_next/static/chunks/2a3iy701j4r_y.js +0 -1
- package/out/_next/static/chunks/2al9dh3_1ixhv.js +0 -1
- package/out/_next/static/chunks/2awr1c_vfsutb.js +0 -1
- package/out/_next/static/chunks/2bxe3kjr17tdp.js +0 -1
- package/out/_next/static/chunks/2dvbzar93ooc-.js +0 -1
- package/out/_next/static/chunks/2e-vp0e11g9ew.js +0 -1
- package/out/_next/static/chunks/2exj9-0p6n9x-.js +0 -1
- package/out/_next/static/chunks/2gf8l6hbmt7v3.js +0 -1
- package/out/_next/static/chunks/2h9i_adbqaxs4.js +0 -1
- package/out/_next/static/chunks/2jio3sio-_43z.js +0 -1
- package/out/_next/static/chunks/2neieeo9g2u56.js +0 -1
- package/out/_next/static/chunks/2pb_uosb-aa8x.js +0 -1
- package/out/_next/static/chunks/2qu-gpm3ux1l6.js +0 -1
- package/out/_next/static/chunks/2rsi6v7qmqx2b.js +0 -1
- package/out/_next/static/chunks/2tdvuc-27khif.js +0 -1
- package/out/_next/static/chunks/2trolrgd7neax.js +0 -1
- package/out/_next/static/chunks/2uyuafmoe5wi0.js +0 -3
- package/out/_next/static/chunks/2w2e0pxgs-n8f.js +0 -1
- package/out/_next/static/chunks/2xujlsx3stqig.js +0 -1
- package/out/_next/static/chunks/30y71dxdpv52d.js +0 -1
- package/out/_next/static/chunks/32c-e_v8_2xkf.js +0 -1
- package/out/_next/static/chunks/32oj0iudhp8bm.js +0 -1
- package/out/_next/static/chunks/33p9du6y9eegg.js +0 -1
- package/out/_next/static/chunks/38om-j0h0rryk.js +0 -1
- package/out/_next/static/chunks/39cou9lia_g7l.js +0 -1
- package/out/_next/static/chunks/39pkya0_bvcaj.js +0 -1
- package/out/_next/static/chunks/39rhmj_32ujyj.js +0 -1
- package/out/_next/static/chunks/3_1zzmx92j9c0.js +0 -1
- package/out/_next/static/chunks/3_earszshuz4n.js +0 -1
- package/out/_next/static/chunks/3ap_uxc8lx7ni.js +0 -1
- package/out/_next/static/chunks/3b6na8zrex8jo.js +0 -1
- package/out/_next/static/chunks/3c0cxt72vilyz.js +0 -1
- package/out/_next/static/chunks/3g78x0pdaoi_4.js +0 -1
- package/out/_next/static/chunks/3gjvl1p-tugfe.js +0 -4
- package/out/_next/static/chunks/3i8iro1gas1vx.js +0 -1
- package/out/_next/static/chunks/3kpqfqr99vo7z.js +0 -1
- package/out/_next/static/chunks/3lladf_wemm-2.js +0 -1
- package/out/_next/static/chunks/3n62hbywoknop.js +0 -1
- package/out/_next/static/chunks/3o_dmzpahx-5g.js +0 -1
- package/out/_next/static/chunks/3r7v7un976sn7.js +0 -1
- package/out/_next/static/chunks/3rl_nhqwew40w.js +0 -1
- package/out/_next/static/chunks/3s7hqij6xp_4e.js +0 -1
- package/out/_next/static/chunks/3si3migsmvz9o.js +0 -1
- package/out/_next/static/chunks/3uarw1i1ij1er.js +0 -1
- package/out/_next/static/chunks/3un-w6wutw1qn.js +0 -1
- package/out/_next/static/chunks/3v8kgnjk27wbe.js +0 -1
- package/out/_next/static/chunks/3we1khqfexh3x.js +0 -1
- package/out/_next/static/chunks/3z35loj4i-id4.js +0 -1
- package/out/_next/static/chunks/42lqt7ig40wk5.js +0 -1
- package/out/_next/static/chunks/42s6ghsurq5q7.js +0 -1
- package/out/_next/static/chunks/42yctcfi2rfwr.js +0 -1
- package/out/_next/static/chunks/43_fau1gg69eo.js +0 -1
- package/out/_next/static/chunks/43ywrdzg_7af8.js +0 -31
- package/out/_next/static/chunks/44m1ijc5cv80x.js +0 -1
- package/out/_next/static/chunks/453_bg0lgesmp.js +0 -1
- package/out/_next/static/chunks/turbopack-1s36ieuku1ds3.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/{5UjNvd7WCk97iC2cSmEGH → 4r0L0ZMJeBwOJCVDsvvZ4}/_buildManifest.js +0 -0
- /package/out/_next/static/{5UjNvd7WCk97iC2cSmEGH → 4r0L0ZMJeBwOJCVDsvvZ4}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{5UjNvd7WCk97iC2cSmEGH → 4r0L0ZMJeBwOJCVDsvvZ4}/_ssgManifest.js +0 -0
|
@@ -1,137 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
2
|
-
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;
|
|
3
|
-
#define saturate(x) clamp(x,0.0,1.0)
|
|
4
|
-
#define absEps(x) abs(x)+Epsilon
|
|
5
|
-
#define maxEps(x) max(x,Epsilon)
|
|
6
|
-
#define saturateEps(x) clamp(x,Epsilon,1.0)
|
|
7
|
-
mat3 transposeMat3(mat3 inMatrix) {vec3 i0=inMatrix[0];vec3 i1=inMatrix[1];vec3 i2=inMatrix[2];mat3 outMatrix=mat3(
|
|
8
|
-
vec3(i0.x,i1.x,i2.x),
|
|
9
|
-
vec3(i0.y,i1.y,i2.y),
|
|
10
|
-
vec3(i0.z,i1.z,i2.z)
|
|
11
|
-
);return outMatrix;}
|
|
12
|
-
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),
|
|
13
|
-
b11,(a22*a00-a02*a20),(-a12*a00+a02*a10),
|
|
14
|
-
b21,(-a21*a00+a01*a20),(a11*a00-a01*a10))/det;}
|
|
15
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
16
|
-
vec3 toLinearSpaceExact(vec3 color)
|
|
17
|
-
{vec3 nearZeroSection=0.0773993808*color;vec3 remainingSection=pow(0.947867299*(color+vec3(0.055)),vec3(2.4));
|
|
18
|
-
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
19
|
-
return mix(remainingSection,nearZeroSection,lessThanEqual(color,vec3(0.04045)));
|
|
20
|
-
#else
|
|
21
|
-
return
|
|
22
|
-
vec3(
|
|
23
|
-
color.r<=0.04045 ? nearZeroSection.r : remainingSection.r,
|
|
24
|
-
color.g<=0.04045 ? nearZeroSection.g : remainingSection.g,
|
|
25
|
-
color.b<=0.04045 ? nearZeroSection.b : remainingSection.b);
|
|
26
|
-
#endif
|
|
27
|
-
}
|
|
28
|
-
vec3 toGammaSpaceExact(vec3 color)
|
|
29
|
-
{vec3 nearZeroSection=12.92*color;vec3 remainingSection=1.055*pow(color,vec3(0.41666))-vec3(0.055);
|
|
30
|
-
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
31
|
-
return mix(remainingSection,nearZeroSection,lessThanEqual(color,vec3(0.0031308)));
|
|
32
|
-
#else
|
|
33
|
-
return
|
|
34
|
-
vec3(
|
|
35
|
-
color.r<=0.0031308 ? nearZeroSection.r : remainingSection.r,
|
|
36
|
-
color.g<=0.0031308 ? nearZeroSection.g : remainingSection.g,
|
|
37
|
-
color.b<=0.0031308 ? nearZeroSection.b : remainingSection.b);
|
|
38
|
-
#endif
|
|
39
|
-
}
|
|
40
|
-
#endif
|
|
41
|
-
float toLinearSpace(float color)
|
|
42
|
-
{
|
|
43
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
44
|
-
float nearZeroSection=0.0773993808*color;float remainingSection=pow(0.947867299*(color+0.055),2.4);return color<=0.04045 ? nearZeroSection : remainingSection;
|
|
45
|
-
#else
|
|
46
|
-
return pow(color,LinearEncodePowerApprox);
|
|
47
|
-
#endif
|
|
48
|
-
}
|
|
49
|
-
vec3 toLinearSpace(vec3 color)
|
|
50
|
-
{
|
|
51
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
52
|
-
return toLinearSpaceExact(color);
|
|
53
|
-
#else
|
|
54
|
-
return pow(color,vec3(LinearEncodePowerApprox));
|
|
55
|
-
#endif
|
|
56
|
-
}
|
|
57
|
-
vec4 toLinearSpace(vec4 color)
|
|
58
|
-
{
|
|
59
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
60
|
-
return vec4(toLinearSpaceExact(color.rgb),color.a);
|
|
61
|
-
#else
|
|
62
|
-
return vec4(pow(color.rgb,vec3(LinearEncodePowerApprox)),color.a);
|
|
63
|
-
#endif
|
|
64
|
-
}
|
|
65
|
-
float toGammaSpace(float color)
|
|
66
|
-
{
|
|
67
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
68
|
-
float nearZeroSection=12.92*color;float remainingSection=1.055*pow(color,0.41666)-0.055;return color<=0.0031308 ? nearZeroSection : remainingSection;
|
|
69
|
-
#else
|
|
70
|
-
return pow(color,GammaEncodePowerApprox);
|
|
71
|
-
#endif
|
|
72
|
-
}
|
|
73
|
-
vec3 toGammaSpace(vec3 color)
|
|
74
|
-
{
|
|
75
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
76
|
-
return toGammaSpaceExact(color);
|
|
77
|
-
#else
|
|
78
|
-
return pow(color,vec3(GammaEncodePowerApprox));
|
|
79
|
-
#endif
|
|
80
|
-
}
|
|
81
|
-
vec4 toGammaSpace(vec4 color)
|
|
82
|
-
{
|
|
83
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
84
|
-
return vec4(toGammaSpaceExact(color.rgb),color.a);
|
|
85
|
-
#else
|
|
86
|
-
return vec4(pow(color.rgb,vec3(GammaEncodePowerApprox)),color.a);
|
|
87
|
-
#endif
|
|
88
|
-
}
|
|
89
|
-
float square(float value)
|
|
90
|
-
{return value*value;}
|
|
91
|
-
vec3 square(vec3 value)
|
|
92
|
-
{return value*value;}
|
|
93
|
-
float pow5(float value) {float sq=value*value;return sq*sq*value;}
|
|
94
|
-
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);}
|
|
95
|
-
float getLuminanceUnclamped(vec3 color)
|
|
96
|
-
{return dot(color,LuminanceEncodeApprox);}
|
|
97
|
-
float getLuminance(vec3 color)
|
|
98
|
-
{return saturate(getLuminanceUnclamped(color));}
|
|
99
|
-
float getRand(vec2 seed) {return fract(sin(dot(seed.xy ,vec2(12.9898,78.233)))*43758.5453);}
|
|
100
|
-
float dither(vec2 seed,float varianceAmount) {float rand=getRand(seed);float normVariance=varianceAmount/255.0;float dither=mix(-normVariance,normVariance,rand);return dither;}
|
|
101
|
-
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);}
|
|
102
|
-
vec3 fromRGBD(vec4 rgbd) {rgbd.rgb=toLinearSpace(rgbd.rgb);return rgbd.rgb/rgbd.a;}
|
|
103
|
-
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;}
|
|
104
|
-
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;}
|
|
105
|
-
float sqrtClamped(float value) {return sqrt(max(value,0.));}
|
|
106
|
-
float avg(vec3 value) {return dot(value,vec3(0.333333333));}
|
|
107
|
-
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
108
|
-
uint extractBits(uint value,int offset,int width) {return (value>>offset) & ((1u<<width)-1u);}
|
|
109
|
-
int onlyBitPosition(uint value) {return (floatBitsToInt(float(value))>>23)-0x7f;}
|
|
110
|
-
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);}
|
|
111
|
-
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;}
|
|
112
|
-
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);}
|
|
113
|
-
float min3(vec3 v) {return min(v.x,min(v.y,v.z));}
|
|
114
|
-
float max3(vec3 v) {return max(v.x,max(v.y,v.z));}
|
|
115
|
-
float uint2float(uint i) {return uintBitsToFloat(0x3F800000u | (i>>9u))-1.0;}
|
|
116
|
-
vec2 plasticSequence(const uint rstate) {return vec2(uint2float(rstate*3242174889u),
|
|
117
|
-
uint2float(rstate*2447445414u));}
|
|
118
|
-
#endif
|
|
119
|
-
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["helperFunctions",0,{name:a,shader:o}])},68381,e=>{"use strict";var t=e.i(47150);let a="logDepthDeclaration",o=`#ifdef LOGARITHMICDEPTH
|
|
120
|
-
uniform float logarithmicDepthConstant;varying float vFragmentDepth;
|
|
121
|
-
#endif
|
|
122
|
-
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["logDepthDeclaration",0,{name:a,shader:o}])},67827,e=>{"use strict";var t=e.i(47150);let a="sceneUboDeclaration",o=`layout(std140,column_major) uniform;uniform Scene {mat4 viewProjection;
|
|
123
|
-
#ifdef MULTIVIEW
|
|
124
|
-
mat4 viewProjectionR;
|
|
125
|
-
#endif
|
|
126
|
-
mat4 view;mat4 projection;vec4 vEyePosition;mat4 inverseProjection;};
|
|
127
|
-
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["sceneUboDeclaration",0,{name:a,shader:o}])},38605,e=>{"use strict";var t=e.i(47150);let a="meshUboDeclaration",o=`#ifdef WEBGL2
|
|
128
|
-
uniform mat4 world;uniform float visibility;
|
|
129
|
-
#else
|
|
130
|
-
layout(std140,column_major) uniform;uniform Mesh
|
|
131
|
-
{mat4 world;float visibility;};
|
|
132
|
-
#endif
|
|
133
|
-
#define WORLD_UBO
|
|
134
|
-
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["meshUboDeclaration",0,{name:a,shader:o}])},49161,48661,e=>{"use strict";var t=e.i(47150);let a="clipPlaneVertexDeclaration",o=`#ifdef CLIPPLANE
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,86040,16642,e=>{"use strict";var t=e.i(25044);let a="clipPlaneVertexDeclaration",o=`#ifdef CLIPPLANE
|
|
135
2
|
uniform vec4 vClipPlane;varying float fClipDistance;
|
|
136
3
|
#endif
|
|
137
4
|
#ifdef CLIPPLANE2
|
|
@@ -149,7 +16,7 @@ uniform vec4 vClipPlane5;varying float fClipDistance5;
|
|
|
149
16
|
#ifdef CLIPPLANE6
|
|
150
17
|
uniform vec4 vClipPlane6;varying float fClipDistance6;
|
|
151
18
|
#endif
|
|
152
|
-
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["clipPlaneVertexDeclaration",0,{name:a,shader:o}],
|
|
19
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["clipPlaneVertexDeclaration",0,{name:a,shader:o}],86040);let i="clipPlaneVertex",r=`#ifdef CLIPPLANE
|
|
153
20
|
fClipDistance=dot(worldPos,vClipPlane);
|
|
154
21
|
#endif
|
|
155
22
|
#ifdef CLIPPLANE2
|
|
@@ -167,19 +34,16 @@ fClipDistance5=dot(worldPos,vClipPlane5);
|
|
|
167
34
|
#ifdef CLIPPLANE6
|
|
168
35
|
fClipDistance6=dot(worldPos,vClipPlane6);
|
|
169
36
|
#endif
|
|
170
|
-
`;t.ShaderStore.IncludesShadersStore[i]||(t.ShaderStore.IncludesShadersStore[i]=r),e.s(["clipPlaneVertex",0,{name:i,shader:r}],
|
|
37
|
+
`;t.ShaderStore.IncludesShadersStore[i]||(t.ShaderStore.IncludesShadersStore[i]=r),e.s(["clipPlaneVertex",0,{name:i,shader:r}],16642)},74912,46327,e=>{"use strict";var t=e.i(25044);let a="fogVertexDeclaration",o=`#ifdef FOG
|
|
171
38
|
varying vec3 vFogDistance;
|
|
172
39
|
#endif
|
|
173
|
-
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["fogVertexDeclaration",0,{name:a,shader:o}],
|
|
40
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["fogVertexDeclaration",0,{name:a,shader:o}],74912);let i="fogVertex",r=`#ifdef FOG
|
|
174
41
|
vFogDistance=(view*worldPos).xyz;
|
|
175
42
|
#endif
|
|
176
|
-
`;t.ShaderStore.IncludesShadersStore[i]||(t.ShaderStore.IncludesShadersStore[i]=r),e.s(["fogVertex",0,{name:i,shader:r}],
|
|
177
|
-
vFragmentDepth=1.0+gl_Position.w;gl_Position.z=log2(max(0.000001,vFragmentDepth))*logarithmicDepthConstant;
|
|
178
|
-
#endif
|
|
179
|
-
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["logDepthVertex",0,{name:a,shader:o}])},8571,63326,76305,e=>{"use strict";var t=e.i(47150);let a="gaussianSplattingVertexDeclaration",o="attribute vec3 position;attribute vec4 splatIndex0;attribute vec4 splatIndex1;attribute vec4 splatIndex2;attribute vec4 splatIndex3;uniform mat4 view;uniform mat4 projection;uniform mat4 world;uniform vec4 vEyePosition;";t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["gaussianSplattingVertexDeclaration",0,{name:a,shader:o}],8571),e.i(67827),e.i(38605);let i="gaussianSplattingUboDeclaration",r=`#include<sceneUboDeclaration>
|
|
43
|
+
`;t.ShaderStore.IncludesShadersStore[i]||(t.ShaderStore.IncludesShadersStore[i]=r),e.s(["fogVertex",0,{name:i,shader:r}],46327)},50264,72347,72465,e=>{"use strict";var t=e.i(25044);let a="gaussianSplattingVertexDeclaration",o="attribute vec3 position;attribute vec4 splatIndex0;attribute vec4 splatIndex1;attribute vec4 splatIndex2;attribute vec4 splatIndex3;uniform mat4 view;uniform mat4 projection;uniform mat4 world;uniform vec4 vEyePosition;";t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["gaussianSplattingVertexDeclaration",0,{name:a,shader:o}],50264),e.i(77074),e.i(4100);let i="gaussianSplattingUboDeclaration",r=`#include<sceneUboDeclaration>
|
|
180
44
|
#include<meshUboDeclaration>
|
|
181
45
|
attribute vec3 position;attribute vec4 splatIndex0;attribute vec4 splatIndex1;attribute vec4 splatIndex2;attribute vec4 splatIndex3;
|
|
182
|
-
`;t.ShaderStore.IncludesShadersStore[i]||(t.ShaderStore.IncludesShadersStore[i]=r),e.s(["gaussianSplattingUboDeclaration",0,{name:i,shader:r}],
|
|
46
|
+
`;t.ShaderStore.IncludesShadersStore[i]||(t.ShaderStore.IncludesShadersStore[i]=r),e.s(["gaussianSplattingUboDeclaration",0,{name:i,shader:r}],72347);let s="gaussianSplatting",n=`#if !defined(WEBGL2) && !defined(WEBGPU) && !defined(NATIVE)
|
|
183
47
|
mat3 transpose(mat3 matrix) {return mat3(matrix[0][0],matrix[1][0],matrix[2][0],
|
|
184
48
|
matrix[0][1],matrix[1][1],matrix[2][1],
|
|
185
49
|
matrix[0][2],matrix[1][2],matrix[2][2]);}
|
|
@@ -417,7 +281,143 @@ vec3(rotationB.z,rotationB.w,rotationScale.x)
|
|
|
417
281
|
vec3 offsetSplatSpace;if (axisLengthInViewZ.x>axisLengthInViewZ.y && axisLengthInViewZ.x>axisLengthInViewZ.z) {offsetSplatSpace=vec3(0.0,quadPos.x,quadPos.y)*splatScale*gaussianSplatCutoffStddev;} else if (axisLengthInViewZ.y>axisLengthInViewZ.z) {offsetSplatSpace=vec3(quadPos.x,0.0,quadPos.y)*splatScale*gaussianSplatCutoffStddev;} else {offsetSplatSpace=vec3(quadPos.x,quadPos.y,0.0)*splatScale*gaussianSplatCutoffStddev;}
|
|
418
282
|
vec3 vertexObjectSpace=center+splatRotation*offsetSplatSpace;return splatWorld*vec4(vertexObjectSpace,1.0);}
|
|
419
283
|
#endif
|
|
420
|
-
`;t.ShaderStore.IncludesShadersStore[s]||(t.ShaderStore.IncludesShadersStore[s]=n),e.s(["gaussianSplatting",0,{name:s,shader:n}],
|
|
284
|
+
`;t.ShaderStore.IncludesShadersStore[s]||(t.ShaderStore.IncludesShadersStore[s]=n),e.s(["gaussianSplatting",0,{name:s,shader:n}],72465)},31660,e=>{"use strict";var t=e.i(25044);let a="helperFunctions",o=`const float PI=3.1415926535897932384626433832795;const float TWO_PI=6.283185307179586;const float HALF_PI=1.5707963267948966;const float RECIPROCAL_PI=0.3183098861837907;const float RECIPROCAL_PI2=0.15915494309189535;const float RECIPROCAL_PI4=0.07957747154594767;const float HALF_MIN=5.96046448e-08;
|
|
285
|
+
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;
|
|
286
|
+
#define saturate(x) clamp(x,0.0,1.0)
|
|
287
|
+
#define absEps(x) abs(x)+Epsilon
|
|
288
|
+
#define maxEps(x) max(x,Epsilon)
|
|
289
|
+
#define saturateEps(x) clamp(x,Epsilon,1.0)
|
|
290
|
+
mat3 transposeMat3(mat3 inMatrix) {vec3 i0=inMatrix[0];vec3 i1=inMatrix[1];vec3 i2=inMatrix[2];mat3 outMatrix=mat3(
|
|
291
|
+
vec3(i0.x,i1.x,i2.x),
|
|
292
|
+
vec3(i0.y,i1.y,i2.y),
|
|
293
|
+
vec3(i0.z,i1.z,i2.z)
|
|
294
|
+
);return outMatrix;}
|
|
295
|
+
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),
|
|
296
|
+
b11,(a22*a00-a02*a20),(-a12*a00+a02*a10),
|
|
297
|
+
b21,(-a21*a00+a01*a20),(a11*a00-a01*a10))/det;}
|
|
298
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
299
|
+
vec3 toLinearSpaceExact(vec3 color)
|
|
300
|
+
{vec3 nearZeroSection=0.0773993808*color;vec3 remainingSection=pow(0.947867299*(color+vec3(0.055)),vec3(2.4));
|
|
301
|
+
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
302
|
+
return mix(remainingSection,nearZeroSection,lessThanEqual(color,vec3(0.04045)));
|
|
303
|
+
#else
|
|
304
|
+
return
|
|
305
|
+
vec3(
|
|
306
|
+
color.r<=0.04045 ? nearZeroSection.r : remainingSection.r,
|
|
307
|
+
color.g<=0.04045 ? nearZeroSection.g : remainingSection.g,
|
|
308
|
+
color.b<=0.04045 ? nearZeroSection.b : remainingSection.b);
|
|
309
|
+
#endif
|
|
310
|
+
}
|
|
311
|
+
vec3 toGammaSpaceExact(vec3 color)
|
|
312
|
+
{vec3 nearZeroSection=12.92*color;vec3 remainingSection=1.055*pow(color,vec3(0.41666))-vec3(0.055);
|
|
313
|
+
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
314
|
+
return mix(remainingSection,nearZeroSection,lessThanEqual(color,vec3(0.0031308)));
|
|
315
|
+
#else
|
|
316
|
+
return
|
|
317
|
+
vec3(
|
|
318
|
+
color.r<=0.0031308 ? nearZeroSection.r : remainingSection.r,
|
|
319
|
+
color.g<=0.0031308 ? nearZeroSection.g : remainingSection.g,
|
|
320
|
+
color.b<=0.0031308 ? nearZeroSection.b : remainingSection.b);
|
|
321
|
+
#endif
|
|
322
|
+
}
|
|
323
|
+
#endif
|
|
324
|
+
float toLinearSpace(float color)
|
|
325
|
+
{
|
|
326
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
327
|
+
float nearZeroSection=0.0773993808*color;float remainingSection=pow(0.947867299*(color+0.055),2.4);return color<=0.04045 ? nearZeroSection : remainingSection;
|
|
328
|
+
#else
|
|
329
|
+
return pow(color,LinearEncodePowerApprox);
|
|
330
|
+
#endif
|
|
331
|
+
}
|
|
332
|
+
vec3 toLinearSpace(vec3 color)
|
|
333
|
+
{
|
|
334
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
335
|
+
return toLinearSpaceExact(color);
|
|
336
|
+
#else
|
|
337
|
+
return pow(color,vec3(LinearEncodePowerApprox));
|
|
338
|
+
#endif
|
|
339
|
+
}
|
|
340
|
+
vec4 toLinearSpace(vec4 color)
|
|
341
|
+
{
|
|
342
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
343
|
+
return vec4(toLinearSpaceExact(color.rgb),color.a);
|
|
344
|
+
#else
|
|
345
|
+
return vec4(pow(color.rgb,vec3(LinearEncodePowerApprox)),color.a);
|
|
346
|
+
#endif
|
|
347
|
+
}
|
|
348
|
+
float toGammaSpace(float color)
|
|
349
|
+
{
|
|
350
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
351
|
+
float nearZeroSection=12.92*color;float remainingSection=1.055*pow(color,0.41666)-0.055;return color<=0.0031308 ? nearZeroSection : remainingSection;
|
|
352
|
+
#else
|
|
353
|
+
return pow(color,GammaEncodePowerApprox);
|
|
354
|
+
#endif
|
|
355
|
+
}
|
|
356
|
+
vec3 toGammaSpace(vec3 color)
|
|
357
|
+
{
|
|
358
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
359
|
+
return toGammaSpaceExact(color);
|
|
360
|
+
#else
|
|
361
|
+
return pow(color,vec3(GammaEncodePowerApprox));
|
|
362
|
+
#endif
|
|
363
|
+
}
|
|
364
|
+
vec4 toGammaSpace(vec4 color)
|
|
365
|
+
{
|
|
366
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
367
|
+
return vec4(toGammaSpaceExact(color.rgb),color.a);
|
|
368
|
+
#else
|
|
369
|
+
return vec4(pow(color.rgb,vec3(GammaEncodePowerApprox)),color.a);
|
|
370
|
+
#endif
|
|
371
|
+
}
|
|
372
|
+
float square(float value)
|
|
373
|
+
{return value*value;}
|
|
374
|
+
vec3 square(vec3 value)
|
|
375
|
+
{return value*value;}
|
|
376
|
+
float pow5(float value) {float sq=value*value;return sq*sq*value;}
|
|
377
|
+
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);}
|
|
378
|
+
float getLuminanceUnclamped(vec3 color)
|
|
379
|
+
{return dot(color,LuminanceEncodeApprox);}
|
|
380
|
+
float getLuminance(vec3 color)
|
|
381
|
+
{return saturate(getLuminanceUnclamped(color));}
|
|
382
|
+
float getRand(vec2 seed) {return fract(sin(dot(seed.xy ,vec2(12.9898,78.233)))*43758.5453);}
|
|
383
|
+
float dither(vec2 seed,float varianceAmount) {float rand=getRand(seed);float normVariance=varianceAmount/255.0;float dither=mix(-normVariance,normVariance,rand);return dither;}
|
|
384
|
+
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);}
|
|
385
|
+
vec3 fromRGBD(vec4 rgbd) {rgbd.rgb=toLinearSpace(rgbd.rgb);return rgbd.rgb/rgbd.a;}
|
|
386
|
+
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;}
|
|
387
|
+
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;}
|
|
388
|
+
float sqrtClamped(float value) {return sqrt(max(value,0.));}
|
|
389
|
+
float avg(vec3 value) {return dot(value,vec3(0.333333333));}
|
|
390
|
+
#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
391
|
+
uint extractBits(uint value,int offset,int width) {return (value>>offset) & ((1u<<width)-1u);}
|
|
392
|
+
int onlyBitPosition(uint value) {return (floatBitsToInt(float(value))>>23)-0x7f;}
|
|
393
|
+
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);}
|
|
394
|
+
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;}
|
|
395
|
+
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);}
|
|
396
|
+
float min3(vec3 v) {return min(v.x,min(v.y,v.z));}
|
|
397
|
+
float max3(vec3 v) {return max(v.x,max(v.y,v.z));}
|
|
398
|
+
float uint2float(uint i) {return uintBitsToFloat(0x3F800000u | (i>>9u))-1.0;}
|
|
399
|
+
vec2 plasticSequence(const uint rstate) {return vec2(uint2float(rstate*3242174889u),
|
|
400
|
+
uint2float(rstate*2447445414u));}
|
|
401
|
+
#endif
|
|
402
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["helperFunctions",0,{name:a,shader:o}])},10874,e=>{"use strict";var t=e.i(25044);let a="logDepthDeclaration",o=`#ifdef LOGARITHMICDEPTH
|
|
403
|
+
uniform float logarithmicDepthConstant;varying float vFragmentDepth;
|
|
404
|
+
#endif
|
|
405
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["logDepthDeclaration",0,{name:a,shader:o}])},24152,e=>{"use strict";var t=e.i(25044);let a="logDepthVertex",o=`#ifdef LOGARITHMICDEPTH
|
|
406
|
+
vFragmentDepth=1.0+gl_Position.w;gl_Position.z=log2(max(0.000001,vFragmentDepth))*logarithmicDepthConstant;
|
|
407
|
+
#endif
|
|
408
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["logDepthVertex",0,{name:a,shader:o}])},4100,e=>{"use strict";var t=e.i(25044);let a="meshUboDeclaration",o=`#ifdef WEBGL2
|
|
409
|
+
uniform mat4 world;uniform float visibility;
|
|
410
|
+
#else
|
|
411
|
+
layout(std140,column_major) uniform;uniform Mesh
|
|
412
|
+
{mat4 world;float visibility;};
|
|
413
|
+
#endif
|
|
414
|
+
#define WORLD_UBO
|
|
415
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["meshUboDeclaration",0,{name:a,shader:o}])},77074,e=>{"use strict";var t=e.i(25044);let a="sceneUboDeclaration",o=`layout(std140,column_major) uniform;uniform Scene {mat4 viewProjection;
|
|
416
|
+
#ifdef MULTIVIEW
|
|
417
|
+
mat4 viewProjectionR;
|
|
418
|
+
#endif
|
|
419
|
+
mat4 view;mat4 projection;vec4 vEyePosition;mat4 inverseProjection;};
|
|
420
|
+
`;t.ShaderStore.IncludesShadersStore[a]||(t.ShaderStore.IncludesShadersStore[a]=o),e.s(["sceneUboDeclaration",0,{name:a,shader:o}])},92237,e=>{"use strict";var t=e.i(25044),a=e.i(50264),o=e.i(77074),i=e.i(4100),r=e.i(72347),s=e.i(86040),n=e.i(74912),c=e.i(10874),l=e.i(31660),d=e.i(72465),f=e.i(16642),S=e.i(46327),x=e.i(24152);let v="gaussianSplattingVertexShader",p=`#include<__decl__gaussianSplattingVertex>
|
|
421
421
|
#ifdef LOGARITHMICDEPTH
|
|
422
422
|
#extension GL_EXT_frag_depth : enable
|
|
423
423
|
#endif
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,40672,e=>{"use strict";e.s(["useOpenGLOrientationForUV",()=>!1])},25044,e=>{"use strict";class t{static GetShadersRepository(e=0){return 0===e?t.ShadersRepository:t.ShadersRepositoryWGSL}static GetShadersStore(e=0){return 0===e?t.ShadersStore:t.ShadersStoreWGSL}static GetIncludesShadersStore(e=0){return 0===e?t.IncludesShadersStore:t.IncludesShadersStoreWGSL}}t.ShadersRepository="src/Shaders/",t.ShadersStore={},t.IncludesShadersStore={},t.ShadersRepositoryWGSL="src/ShadersWGSL/",t.ShadersStoreWGSL={},t.IncludesShadersStoreWGSL={},e.s(["ShaderStore",0,t])},51657,e=>{"use strict";e.s([],8337),e.i(8337);var t=e.i(8697),i=e.i(80603),s=e.i(4696),r=e.i(476),a=e.i(58724);let h=!1;class n extends i.Texture{constructor(e,t,n,o=!1,l=3,u=5,c){const d=!n||n._isScene;super(null,d?n:n?.scene,d?!o:n,c,l,void 0,void 0,void 0,void 0,u),h||(h=!0,r.ThinEngine.prototype.createDynamicTexture=function(e,t,i,r){let h=new a.InternalTexture(this,4);return h.baseWidth=e,h.baseHeight=t,i&&(e=this.needPOTTextures?(0,s.GetExponentOfTwo)(e,this._caps.maxTextureSize):e,t=this.needPOTTextures?(0,s.GetExponentOfTwo)(t,this._caps.maxTextureSize):t),h.width=e,h.height=t,h.isReady=!1,h.generateMipMaps=i,h.samplingMode=r,this.updateTextureSamplingMode(r,h),this._internalTexturesCache.push(h),h},r.ThinEngine.prototype.updateDynamicTexture=function(e,t,i,s=!1,r,a=!1,h=!1){if(!e)return;let n=this._gl,o=n.TEXTURE_2D,l=this._bindTextureDirectly(o,e,!0,a);this._unpackFlipY(void 0===i?e.invertY:i),s&&n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,1);let u=this._getWebGLTextureType(e.type),c=this._getInternalFormat(r||e.format),d=this._getRGBABufferInternalSizedFormat(e.type,c);n.texImage2D(o,0,d,c,u,t),e.generateMipMaps&&n.generateMipmap(o),l||this._bindTextureDirectly(o,null),s&&n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,0),r&&(e.format=r),e._dynamicTextureSource=t,e._premulAlpha=s,e.invertY=i||!1,e.isReady=!0}),this.name=e,this.wrapU=i.Texture.CLAMP_ADDRESSMODE,this.wrapV=i.Texture.CLAMP_ADDRESSMODE,this._generateMipMaps=o;const _=this._getEngine();if(!_)return;t.getContext?(this._canvas=t,this._ownCanvas=!1,this._texture=_.createDynamicTexture(this._canvas.width,this._canvas.height,o,l)):(this._canvas=_.createCanvas(1,1),this._ownCanvas=!0,t.width||0===t.width?this._texture=_.createDynamicTexture(t.width,t.height,o,l):this._texture=_.createDynamicTexture(t,t,o,l));const p=this.getSize();this._canvas.width!==p.width&&(this._canvas.width=p.width),this._canvas.height!==p.height&&(this._canvas.height=p.height),this._context=this._canvas.getContext("2d")}getClassName(){return"DynamicTexture"}get canRescale(){return!0}_recreate(e){this._canvas.width=e.width,this._canvas.height=e.height,this.releaseInternalTexture(),this._texture=this._getEngine().createDynamicTexture(e.width,e.height,this._generateMipMaps,this.samplingMode)}scale(e){let t=this.getSize();t.width*=e,t.height*=e,this._recreate(t)}scaleTo(e,t){let i=this.getSize();i.width=e,i.height=t,this._recreate(i)}getContext(){return this._context}clear(e){let t=this.getSize();e&&(this._context.fillStyle=e),this._context.clearRect(0,0,t.width,t.height)}update(e,t=!1,i=!1){this._texture&&this._getEngine().updateDynamicTexture(this._texture,this._canvas,void 0===e||e,t,this._format||void 0,void 0,i)}drawText(e,t,i,s,r,a,h,n=!0){let o=this.getSize();if(a&&(this._context.fillStyle=a,this._context.fillRect(0,0,o.width,o.height)),this._context.font=s,null==t){let i=this._context.measureText(e);t=(o.width-i.width)/2}if(null==i){let e=parseInt(s.replace(/\D/g,""));i=o.height/2+e/3.65}this._context.fillStyle=r||"",this._context.fillText(e,t,i),n&&this.update(h)}dispose(){super.dispose(),this._ownCanvas&&this._canvas?.remove?.(),this._canvas=null,this._context=null}clone(){let e=this.getScene();if(!e)return this;let t=this.getSize(),i=new n(this.name,t,e,this._generateMipMaps);return i.hasAlpha=this.hasAlpha,i.level=this.level,i.wrapU=this.wrapU,i.wrapV=this.wrapV,i}serialize(){let e=this.getScene();e&&!e.isReady()&&t.Logger.Warn("The scene must be ready before serializing the dynamic texture");let i=super.serialize();return n._IsCanvasElement(this._canvas)&&(i.base64String=this._canvas.toDataURL()),i.invertY=this._invertY,i.samplingMode=this.samplingMode,i}static _IsCanvasElement(e){return void 0!==e.toDataURL}_rebuild(){this.update()}}e.s(["DynamicTexture",0,n],99918),e.i(99918),e.s(["DynamicTexture",0,n],51657)},58724,e=>{"use strict";var t,i,s=e.i(97991);class r{get wrapU(){return this._cachedWrapU}set wrapU(e){this._cachedWrapU=e}get wrapV(){return this._cachedWrapV}set wrapV(e){this._cachedWrapV=e}get wrapR(){return this._cachedWrapR}set wrapR(e){this._cachedWrapR=e}get anisotropicFilteringLevel(){return this._cachedAnisotropicFilteringLevel}set anisotropicFilteringLevel(e){this._cachedAnisotropicFilteringLevel=e}get comparisonFunction(){return this._comparisonFunction}set comparisonFunction(e){this._comparisonFunction=e}get useMipMaps(){return this._useMipMaps}set useMipMaps(e){this._useMipMaps=e}constructor(){this.samplingMode=-1,this._useMipMaps=!0,this._cachedWrapU=null,this._cachedWrapV=null,this._cachedWrapR=null,this._cachedAnisotropicFilteringLevel=null,this._comparisonFunction=0}setParameters(e=1,t=1,i=1,s=1,r=2,a=0){return this._cachedWrapU=e,this._cachedWrapV=t,this._cachedWrapR=i,this._cachedAnisotropicFilteringLevel=s,this.samplingMode=r,this._comparisonFunction=a,this}compareSampler(e){return this._cachedWrapU===e._cachedWrapU&&this._cachedWrapV===e._cachedWrapV&&this._cachedWrapR===e._cachedWrapR&&this._cachedAnisotropicFilteringLevel===e._cachedAnisotropicFilteringLevel&&this.samplingMode===e.samplingMode&&this._comparisonFunction===e._comparisonFunction&&this._useMipMaps===e._useMipMaps}}(t=i||(i={}))[t.Unknown=0]="Unknown",t[t.Url=1]="Url",t[t.Temp=2]="Temp",t[t.Raw=3]="Raw",t[t.Dynamic=4]="Dynamic",t[t.RenderTarget=5]="RenderTarget",t[t.MultiRenderTarget=6]="MultiRenderTarget",t[t.Cube=7]="Cube",t[t.CubeRaw=8]="CubeRaw",t[t.CubePrefiltered=9]="CubePrefiltered",t[t.Raw3D=10]="Raw3D",t[t.Raw2DArray=11]="Raw2DArray",t[t.DepthStencil=12]="DepthStencil",t[t.CubeRawRGBD=13]="CubeRawRGBD",t[t.Depth=14]="Depth",t[t.External=15]="External";class a extends r{get useMipMaps(){return null===this._useMipMaps?this.generateMipMaps:this._useMipMaps}set useMipMaps(e){this._useMipMaps=e}get uniqueId(){return this._uniqueId}_setUniqueId(e){this._uniqueId=e}getEngine(){return this._engine}get source(){return this._source}constructor(e,t,i=!1){super(),this.isReady=!1,this.isCube=!1,this.is3D=!1,this.is2DArray=!1,this.isMultiview=!1,this.url="",this.generateMipMaps=!1,this._useMipMaps=null,this.mipLevelCount=1,this.samples=0,this.type=-1,this.format=-1,this.onLoadedObservable=new s.Observable,this.onErrorObservable=new s.Observable,this.onRebuildCallback=null,this.width=0,this.height=0,this.depth=0,this.baseWidth=0,this.baseHeight=0,this.baseDepth=0,this.invertY=!1,this._invertVScale=!1,this._associatedChannel=-1,this._source=0,this._buffer=null,this._bufferView=null,this._bufferViewArray=null,this._bufferViewArrayArray=null,this._size=0,this._extension="",this._files=null,this._workingCanvas=null,this._workingContext=null,this._cachedCoordinatesMode=null,this._isDisabled=!1,this._compression=null,this._sphericalPolynomial=null,this._sphericalPolynomialPromise=null,this._sphericalPolynomialComputed=!1,this._lodGenerationScale=0,this._lodGenerationOffset=0,this._useSRGBBuffer=!1,this._creationFlags=0,this._lodTextureHigh=null,this._lodTextureMid=null,this._lodTextureLow=null,this._isRGBD=!1,this._linearSpecularLOD=!1,this._irradianceTexture=null,this._hardwareTexture=null,this._maxLodLevel=null,this._references=1,this._gammaSpace=null,this._premulAlpha=!1,this._dynamicTextureSource=null,this._autoMSAAManagement=!1,this._engine=e,this._source=t,this._uniqueId=a._Counter++,i||(this._hardwareTexture=e._createHardwareTexture())}incrementReferences(){this._references++}updateSize(e,t,i=1){this._engine.updateTextureDimensions(this,e,t,i),this.width=e,this.height=t,this.depth=i,this.baseWidth=e,this.baseHeight=t,this.baseDepth=i,this._size=e*t*i}_rebuild(){let e;if(this.isReady=!1,this._cachedCoordinatesMode=null,this._cachedWrapU=null,this._cachedWrapV=null,this._cachedWrapR=null,this._cachedAnisotropicFilteringLevel=null,this.onRebuildCallback){let e=this.onRebuildCallback(this),t=t=>{t._swapAndDie(this,!1),this.isReady=e.isReady};e.isAsync?e.proxy.then(t):t(e.proxy);return}switch(this.source){case 2:case 12:case 14:break;case 1:e=this._engine.createTexture(this._originalUrl??this.url,!this.generateMipMaps,this.invertY,null,this.samplingMode,e=>{e._swapAndDie(this,!1),this.isReady=!0},null,this._buffer,void 0,this.format,this._extension,void 0,void 0,void 0,this._useSRGBBuffer);return;case 3:if((e=this._engine.createRawTexture(this._bufferView,this.baseWidth,this.baseHeight,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type,this._creationFlags,this._useSRGBBuffer,this.mipLevelCount))._swapAndDie(this,!1),this._bufferViewArray)for(let e=0;e<this._bufferViewArray.length;e++){let t=this._bufferViewArray[e];t&&this._engine.updateRawTexture(this,t,this.format,this.invertY,this._compression,this.type,this._useSRGBBuffer,e)}this.isReady=!0;break;case 10:(e=this._engine.createRawTexture3D(this._bufferView,this.baseWidth,this.baseHeight,this.baseDepth,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type))._swapAndDie(this,!1),this.isReady=!0;break;case 11:if((e=this._engine.createRawTexture2DArray(this._bufferView,this.baseWidth,this.baseHeight,this.baseDepth,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type,this._creationFlags,this.mipLevelCount))._swapAndDie(this,!1),this._bufferViewArray)for(let e=0;e<this._bufferViewArray.length;e++){let t=this._bufferViewArray[e];t&&this._engine.updateRawTexture2DArray(this,t,this.format,this.invertY,this._compression,this.type,e)}this.isReady=!0;break;case 4:(e=this._engine.createDynamicTexture(this.baseWidth,this.baseHeight,this.generateMipMaps,this.samplingMode))._swapAndDie(this,!1),this._dynamicTextureSource&&this._engine.updateDynamicTexture(this,this._dynamicTextureSource,this.invertY,this._premulAlpha,this.format,!0);break;case 7:e=this._engine.createCubeTexture(this.url,null,this._files,!this.generateMipMaps,()=>{e._swapAndDie(this,!1),this.isReady=!0},null,this.format,this._extension,!1,0,0,null,void 0,this._useSRGBBuffer,ArrayBuffer.isView(this._buffer)?this._buffer:null);return;case 8:(e=this._engine.createRawCubeTexture(this._bufferViewArray,this.width,this._originalFormat??this.format,this.type,this.generateMipMaps,this.invertY,this.samplingMode,this._compression))._swapAndDie(this,!1),this.isReady=!0;break;case 13:return;case 9:(e=this._engine.createPrefilteredCubeTexture(this.url,null,this._lodGenerationScale,this._lodGenerationOffset,e=>{e&&e._swapAndDie(this,!1),this.isReady=!0},null,this.format,this._extension))._sphericalPolynomial=this._sphericalPolynomial;return}}_swapAndDie(e,t=!0){this._hardwareTexture?.setUsage(e._source,this.generateMipMaps,this.is2DArray,this.isCube,this.is3D,this.width,this.height,this.depth),e._hardwareTexture=this._hardwareTexture,e._setUniqueId(a._Counter++),t&&(e._isRGBD=this._isRGBD),this._lodTextureHigh&&(e._lodTextureHigh&&e._lodTextureHigh.dispose(),e._lodTextureHigh=this._lodTextureHigh),this._lodTextureMid&&(e._lodTextureMid&&e._lodTextureMid.dispose(),e._lodTextureMid=this._lodTextureMid),this._lodTextureLow&&(e._lodTextureLow&&e._lodTextureLow.dispose(),e._lodTextureLow=this._lodTextureLow),this._irradianceTexture&&(e._irradianceTexture&&e._irradianceTexture.dispose(),e._irradianceTexture=this._irradianceTexture);let i=this._engine.getLoadedTexturesCache(),s=i.indexOf(this);-1!==s&&i.splice(s,1),-1===(s=i.indexOf(e))&&i.push(e)}dispose(){this._references--,0===this._references&&(this.onLoadedObservable.clear(),this.onErrorObservable.clear(),this._engine._releaseTexture(this),this._hardwareTexture=null,this._dynamicTextureSource=null)}}a._Counter=0,e.s(["InternalTexture",0,a],58724)},38450,e=>{"use strict";var t=e.i(56173);class i{constructor(e,i,s,r){this.normal=new t.Vector3(e,i,s),this.d=r}asArray(){return[this.normal.x,this.normal.y,this.normal.z,this.d]}clone(){return new i(this.normal.x,this.normal.y,this.normal.z,this.d)}getClassName(){return"Plane"}getHashCode(){let e=this.normal.getHashCode();return 397*e^this.d}normalize(){let e=Math.sqrt(this.normal.x*this.normal.x+this.normal.y*this.normal.y+this.normal.z*this.normal.z),t=0;return 0!==e&&(t=1/e),this.normal.x*=t,this.normal.y*=t,this.normal.z*=t,this.d*=t,this}transform(e){let t=i._TmpMatrix;e.invertToRef(t);let s=t.m,r=this.normal.x,a=this.normal.y,h=this.normal.z,n=this.d;return new i(r*s[0]+a*s[1]+h*s[2]+n*s[3],r*s[4]+a*s[5]+h*s[6]+n*s[7],r*s[8]+a*s[9]+h*s[10]+n*s[11],r*s[12]+a*s[13]+h*s[14]+n*s[15])}dotCoordinate(e){return this.normal.x*e.x+this.normal.y*e.y+this.normal.z*e.z+this.d}copyFromPoints(e,t,i){let s,r=t.x-e.x,a=t.y-e.y,h=t.z-e.z,n=i.x-e.x,o=i.y-e.y,l=i.z-e.z,u=a*l-h*o,c=h*n-r*l,d=r*o-a*n,_=Math.sqrt(u*u+c*c+d*d);return s=0!==_?1/_:0,this.normal.x=u*s,this.normal.y=c*s,this.normal.z=d*s,this.d=-(this.normal.x*e.x+this.normal.y*e.y+this.normal.z*e.z),this}isFrontFacingTo(e,i){return t.Vector3.Dot(this.normal,e)<=i}signedDistanceTo(e){return t.Vector3.Dot(e,this.normal)+this.d}static FromArray(e){return new i(e[0],e[1],e[2],e[3])}static FromPoints(e,t,s){let r=new i(0,0,0,0);return r.copyFromPoints(e,t,s),r}static FromPositionAndNormal(e,t){let s=new i(0,0,0,0);return this.FromPositionAndNormalToRef(e,t,s)}static FromPositionAndNormalToRef(e,t,i){return i.normal.copyFrom(t),i.normal.normalize(),i.d=-e.dot(i.normal),i}static SignedDistanceToPlaneFromPositionAndNormal(e,i,s){let r=-(i.x*e.x+i.y*e.y+i.z*e.z);return t.Vector3.Dot(s,i)+r}}i._TmpMatrix=t.Matrix.Identity(),e.s(["Plane",0,i])}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,7467,e=>{"use strict";var r=e.i(60699),o=e.i(65678),t=e.i(54668),a=e.i(82600);class l extends a.FlowGraphCachedOperationBlock{constructor(e,r,o,t){super(e,t),this._operation=r,this._className=o}_doOperation(e){return this._operation(e)}getClassName(){return this._className}}var s=e.i(56173),p=e.i(48878),i=e.i(54984),c=e.i(69194),h=e.i(28111),n=e.i(80129),u=e.i(68282);class y extends t.FlowGraphBinaryOperationBlock{constructor(e){super((0,o.getRichTypeByFlowGraphType)(e?.type),(0,o.getRichTypeByFlowGraphType)(e?.type),(0,o.getRichTypeByFlowGraphType)(e?.type),(e,r)=>this._polymorphicAdd(e,r),"FlowGraphAddBlock",e)}_polymorphicAdd(e,r){let o=(0,n._GetClassNameOf)(e),t=(0,n._GetClassNameOf)(r);if((0,n._AreSameVectorOrQuaternionClass)(o,t)||(0,n._AreSameMatrixClass)(o,t)||(0,n._AreSameIntegerClass)(o,t))return e.add(r);if("Quaternion"===o||"Vector4"===t)return new s.Vector4(e.x,e.y,e.z,e.w).addInPlace(r);if("Vector4"===o||"Quaternion"===t)return e.add(r);if(this.config?.preventIntegerFloatArithmetic&&typeof e!=typeof r)throw Error("Cannot add different types of numbers.");return(0,n.getNumericValue)(e)+(0,n.getNumericValue)(r)}}class w extends t.FlowGraphBinaryOperationBlock{constructor(e){super((0,o.getRichTypeByFlowGraphType)(e?.type),(0,o.getRichTypeByFlowGraphType)(e?.type),(0,o.getRichTypeByFlowGraphType)(e?.type),(e,r)=>this._polymorphicSubtract(e,r),"FlowGraphSubtractBlock",e)}_polymorphicSubtract(e,r){let o=(0,n._GetClassNameOf)(e),t=(0,n._GetClassNameOf)(r);if((0,n._AreSameVectorOrQuaternionClass)(o,t)||(0,n._AreSameIntegerClass)(o,t)||(0,n._AreSameMatrixClass)(o,t))return e.subtract(r);if("Quaternion"===o||"Vector4"===t)return new s.Vector4(e.x,e.y,e.z,e.w).subtractInPlace(r);if("Vector4"===o||"Quaternion"===t)return e.subtract(r);if(this.config?.preventIntegerFloatArithmetic&&typeof e!=typeof r)throw Error("Cannot add different types of numbers.");return(0,n.getNumericValue)(e)-(0,n.getNumericValue)(r)}}class G extends t.FlowGraphBinaryOperationBlock{constructor(e){super((0,o.getRichTypeByFlowGraphType)(e?.type),(0,o.getRichTypeByFlowGraphType)(e?.type),(0,o.getRichTypeByFlowGraphType)(e?.type),(e,r)=>this._polymorphicMultiply(e,r),"FlowGraphMultiplyBlock",e)}_polymorphicMultiply(e,r){let o=(0,n._GetClassNameOf)(e),t=(0,n._GetClassNameOf)(r);if((0,n._AreSameVectorOrQuaternionClass)(o,t)||(0,n._AreSameIntegerClass)(o,t))return e.multiply(r);if("Quaternion"===o||"Vector4"===t)return new s.Vector4(e.x,e.y,e.z,e.w).multiplyInPlace(r);if("Vector4"===o||"Quaternion"===t)return e.multiply(r);if((0,n._AreSameMatrixClass)(o,t))if(!this.config?.useMatrixPerComponent)return r.multiply(e);else{let t=e.m;for(let e=0;e<t.length;e++)t[e]*=r.m[e];return"Matrix2D"===o?new h.FlowGraphMatrix2D(t):"Matrix3D"===o?new h.FlowGraphMatrix3D(t):s.Matrix.FromArray(t)}if(this.config?.preventIntegerFloatArithmetic&&typeof e!=typeof r)throw Error("Cannot add different types of numbers.");return(0,n.getNumericValue)(e)*(0,n.getNumericValue)(r)}}class F extends t.FlowGraphBinaryOperationBlock{constructor(e){super((0,o.getRichTypeByFlowGraphType)(e?.type),(0,o.getRichTypeByFlowGraphType)(e?.type),(0,o.getRichTypeByFlowGraphType)(e?.type),(e,r)=>this._polymorphicDivide(e,r),"FlowGraphDivideBlock",e)}_polymorphicDivide(e,r){let o=(0,n._GetClassNameOf)(e),t=(0,n._GetClassNameOf)(r);if((0,n._AreSameVectorOrQuaternionClass)(o,t)||(0,n._AreSameIntegerClass)(o,t))return e.divide(r);if("Quaternion"===o||"Quaternion"===t){let o=e.clone();return o.x/=r.x,o.y/=r.y,o.z/=r.z,o.w/=r.w,o}if("Quaternion"===o||"Vector4"===t)return new s.Vector4(e.x,e.y,e.z,e.w).divideInPlace(r);if("Vector4"===o||"Quaternion"===t)return e.divide(r);if((0,n._AreSameMatrixClass)(o,t))if(!this.config?.useMatrixPerComponent)return e.divide(r);else{let t=e.m;for(let e=0;e<t.length;e++)t[e]/=r.m[e];return"Matrix2D"===o?new h.FlowGraphMatrix2D(t):"Matrix3D"===o?new h.FlowGraphMatrix3D(t):s.Matrix.FromArray(t)}else{if(this.config?.preventIntegerFloatArithmetic&&typeof e!=typeof r)throw Error("Cannot add different types of numbers.");return(0,n.getNumericValue)(e)/(0,n.getNumericValue)(r)}}}class B extends l{constructor(e){super(o.RichTypeNumber,e=>this._random(e),"FlowGraphRandomBlock",e),this.min=this.registerDataInput("min",o.RichTypeNumber,e?.min??0),this.max=this.registerDataInput("max",o.RichTypeNumber,e?.max??1),e?.seed&&(this._seed=e.seed)}_isSeed(e=this._seed){return void 0!==e}_getRandomValue(){if(this._isSeed(this._seed)){let e=1e4*Math.sin(this._seed++);return e-Math.floor(e)}return Math.random()}_random(e){let r=this.min.getValue(e),o=this.max.getValue(e);return this._getRandomValue()*(o-r)+r}}class m extends l{constructor(e){super(o.RichTypeNumber,()=>Math.E,"FlowGraphEBlock",e)}}class g extends l{constructor(e){super(o.RichTypeNumber,()=>Math.PI,"FlowGraphPIBlock",e)}}class R extends l{constructor(e){super(o.RichTypeNumber,()=>2*Math.PI,"FlowGraphTauBlock",e)}}class T extends l{constructor(e){super(o.RichTypeNumber,()=>1/0,"FlowGraphInfBlock",e)}}class k extends l{constructor(e){super(o.RichTypeNumber,()=>NaN,"FlowGraphNaNBlock",e)}}function d(e,r){switch((0,n._GetClassNameOf)(e)){case"FlowGraphInteger":return new c.FlowGraphInteger(r(e.value));case"Vector2":return new s.Vector2(r(e.x),r(e.y));case"Vector3":return new s.Vector3(r(e.x),r(e.y),r(e.z));case"Vector4":return new s.Vector4(r(e.x),r(e.y),r(e.z),r(e.w));case"Quaternion":return new s.Quaternion(r(e.x),r(e.y),r(e.z),r(e.w));case"Matrix":return s.Matrix.FromArray(e.m.map(r));case"Matrix2D":return new h.FlowGraphMatrix2D(e.m.map(r));case"Matrix3D":return new h.FlowGraphMatrix3D(e.m.map(r));default:return r(e)}}class _ extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeNumber,o.RichTypeNumber,e=>this._polymorphicAbs(e),"FlowGraphAbsBlock",e)}_polymorphicAbs(e){return d(e,Math.abs)}}class x extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeNumber,o.RichTypeNumber,e=>this._polymorphicSign(e),"FlowGraphSignBlock",e)}_polymorphicSign(e){return d(e,Math.sign)}}class C extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeNumber,o.RichTypeNumber,e=>this._polymorphicTrunc(e),"FlowGraphTruncBlock",e)}_polymorphicTrunc(e){return d(e,Math.trunc)}}class f extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeNumber,o.RichTypeNumber,e=>this._polymorphicFloor(e),"FlowGraphFloorBlock",e)}_polymorphicFloor(e){return d(e,Math.floor)}}class A extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,e=>this._polymorphicCeiling(e),"FlowGraphCeilBlock",e)}_polymorphicCeiling(e){return d(e,Math.ceil)}}class N extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,e=>this._polymorphicRound(e),"FlowGraphRoundBlock",e)}_polymorphicRound(e){return d(e,e=>e<0&&this.config?.roundHalfAwayFromZero?-Math.round(-e):Math.round(e))}}class O extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,e=>this._polymorphicFraction(e),"FlowGraphFractBlock",e)}_polymorphicFraction(e){return d(e,e=>e-Math.floor(e))}}class b extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,e=>this._polymorphicNeg(e),"FlowGraphNegationBlock",e)}_polymorphicNeg(e){return d(e,e=>-e)}}function M(e,r,o){switch((0,n._GetClassNameOf)(e)){case"FlowGraphInteger":return new c.FlowGraphInteger(o(e.value,r.value));case"Vector2":return new s.Vector2(o(e.x,r.x),o(e.y,r.y));case"Vector3":return new s.Vector3(o(e.x,r.x),o(e.y,r.y),o(e.z,r.z));case"Vector4":return new s.Vector4(o(e.x,r.x),o(e.y,r.y),o(e.z,r.z),o(e.w,r.w));case"Quaternion":return new s.Quaternion(o(e.x,r.x),o(e.y,r.y),o(e.z,r.z),o(e.w,r.w));case"Matrix":return s.Matrix.FromArray(e.m.map((e,t)=>o(e,r.m[t])));case"Matrix2D":return new h.FlowGraphMatrix2D(e.m.map((e,t)=>o(e,r.m[t])));case"Matrix3D":return new h.FlowGraphMatrix3D(e.m.map((e,t)=>o(e,r.m[t])));default:return o((0,n.getNumericValue)(e),(0,n.getNumericValue)(r))}}class I extends t.FlowGraphBinaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,o.RichTypeAny,(e,r)=>this._polymorphicRemainder(e,r),"FlowGraphModuloBlock",e)}_polymorphicRemainder(e,r){return M(e,r,(e,r)=>e%r)}}class V extends t.FlowGraphBinaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,o.RichTypeAny,(e,r)=>this._polymorphicMin(e,r),"FlowGraphMinBlock",e)}_polymorphicMin(e,r){return M(e,r,Math.min)}}class S extends t.FlowGraphBinaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,o.RichTypeAny,(e,r)=>this._polymorphicMax(e,r),"FlowGraphMaxBlock",e)}_polymorphicMax(e,r){return M(e,r,Math.max)}}function v(e,r,o){return Math.min(Math.max(e,Math.min(r,o)),Math.max(r,o))}function D(e,r,o,t){switch((0,n._GetClassNameOf)(e)){case"FlowGraphInteger":return new c.FlowGraphInteger(t(e.value,r.value,o.value));case"Vector2":return new s.Vector2(t(e.x,r.x,o.x),t(e.y,r.y,o.y));case"Vector3":return new s.Vector3(t(e.x,r.x,o.x),t(e.y,r.y,o.y),t(e.z,r.z,o.z));case"Vector4":return new s.Vector4(t(e.x,r.x,o.x),t(e.y,r.y,o.y),t(e.z,r.z,o.z),t(e.w,r.w,o.w));case"Quaternion":return new s.Quaternion(t(e.x,r.x,o.x),t(e.y,r.y,o.y),t(e.z,r.z,o.z),t(e.w,r.w,o.w));case"Matrix":return s.Matrix.FromArray(e.m.map((e,a)=>t(e,r.m[a],o.m[a])));case"Matrix2D":return new h.FlowGraphMatrix2D(e.m.map((e,a)=>t(e,r.m[a],o.m[a])));case"Matrix3D":return new h.FlowGraphMatrix3D(e.m.map((e,a)=>t(e,r.m[a],o.m[a])));default:return t((0,n.getNumericValue)(e),(0,n.getNumericValue)(r),(0,n.getNumericValue)(o))}}class E extends i.FlowGraphTernaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,o.RichTypeAny,o.RichTypeAny,(e,r,o)=>this._polymorphicClamp(e,r,o),"FlowGraphClampBlock",e)}_polymorphicClamp(e,r,o){return D(e,r,o,v)}}function U(e){return Math.min(Math.max(e,0),1)}class L extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,e=>this._polymorphicSaturate(e),"FlowGraphSaturateBlock",e)}_polymorphicSaturate(e){return d(e,U)}}function z(e,r,o){return(1-o)*e+o*r}function Q(e,r,o){if(e===r)return o<e?0:1;let t=U((o-Math.min(e,r))/Math.abs(r-e));return t*t*(3-2*t)}class q extends i.FlowGraphTernaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,o.RichTypeAny,o.RichTypeAny,(e,r,o)=>this._polymorphicInterpolate(e,r,o),"FlowGraphMathInterpolationBlock",e)}_polymorphicInterpolate(e,r,o){return D(e,r,o,z)}}class P extends i.FlowGraphTernaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,o.RichTypeNumber,o.RichTypeAny,(e,r,o)=>s.Quaternion.Slerp(e,r,o),"FlowGraphMathSlerpBlock",e)}}class $ extends i.FlowGraphTernaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,o.RichTypeAny,o.RichTypeAny,(e,r,o)=>this._polymorphicSmoothStep(e,r,o),"FlowGraphSmoothStepBlock",e)}_polymorphicSmoothStep(e,r,o){return D(e,r,o,Q)}}class j extends t.FlowGraphBinaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,o.RichTypeBoolean,(e,r)=>this._polymorphicEq(e,r),"FlowGraphEqualityBlock",e)}_polymorphicEq(e,r){let o=(0,n._GetClassNameOf)(e),t=(0,n._GetClassNameOf)(r),a=e=>"Vector4"===e||"Quaternion"===e;return a(o)&&a(t)||(0,n._AreSameVectorOrQuaternionClass)(o,t)||(0,n._AreSameMatrixClass)(o,t)||(0,n._AreSameIntegerClass)(o,t)?e.equals(r):(0,n.isNumeric)(e)&&(0,n.isNumeric)(r)?(0,n.getNumericValue)(e)===(0,n.getNumericValue)(r):typeof e==typeof r&&e===r}}function Z(e,r,o){if((0,n.isNumeric)(e)&&(0,n.isNumeric)(r))return o((0,n.getNumericValue)(e),(0,n.getNumericValue)(r));throw Error(`Cannot compare ${e} and ${r}`)}class X extends t.FlowGraphBinaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,o.RichTypeBoolean,(e,r)=>this._polymorphicLessThan(e,r),"FlowGraphLessThanBlock",e)}_polymorphicLessThan(e,r){return Z(e,r,(e,r)=>e<r)}}class K extends t.FlowGraphBinaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,o.RichTypeBoolean,(e,r)=>this._polymorphicLessThanOrEqual(e,r),"FlowGraphLessThanOrEqualBlock",e)}_polymorphicLessThanOrEqual(e,r){return Z(e,r,(e,r)=>e<=r)}}class H extends t.FlowGraphBinaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,o.RichTypeBoolean,(e,r)=>this._polymorphicGreaterThan(e,r),"FlowGraphGreaterThanBlock",e)}_polymorphicGreaterThan(e,r){return Z(e,r,(e,r)=>e>r)}}class J extends t.FlowGraphBinaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,o.RichTypeBoolean,(e,r)=>this._polymorphicGreaterThanOrEqual(e,r),"FlowGraphGreaterThanOrEqualBlock",e)}_polymorphicGreaterThanOrEqual(e,r){return Z(e,r,(e,r)=>e>=r)}}class W extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeBoolean,e=>this._polymorphicIsNan(e),"FlowGraphIsNaNBlock",e)}_polymorphicIsNan(e){if((0,n.isNumeric)(e,!0))return isNaN((0,n.getNumericValue)(e));throw Error(`Cannot get NaN of ${e}`)}}class Y extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeBoolean,e=>this._polymorphicIsInf(e),"FlowGraphIsInfBlock",e)}_polymorphicIsInf(e){if((0,n.isNumeric)(e))return!isFinite((0,n.getNumericValue)(e));throw Error(`Cannot get isInf of ${e}`)}}class ee extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,e=>this._polymorphicDegToRad(e),"FlowGraphDegToRadBlock",e)}_degToRad(e){return e*Math.PI/180}_polymorphicDegToRad(e){return d(e,this._degToRad)}}class er extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,e=>this._polymorphicRadToDeg(e),"FlowGraphRadToDegBlock",e)}_radToDeg(e){return 180*e/Math.PI}_polymorphicRadToDeg(e){return d(e,this._radToDeg)}}class eo extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeNumber,o.RichTypeNumber,e=>this._polymorphicSin(e),"FlowGraphSinBlock",e)}_polymorphicSin(e){return d(e,Math.sin)}}class et extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeNumber,o.RichTypeNumber,e=>this._polymorphicCos(e),"FlowGraphCosBlock",e)}_polymorphicCos(e){return d(e,Math.cos)}}class ea extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeNumber,o.RichTypeNumber,e=>this._polymorphicTan(e),"FlowGraphTanBlock",e)}_polymorphicTan(e){return d(e,Math.tan)}}class el extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeNumber,o.RichTypeNumber,e=>this._polymorphicAsin(e),"FlowGraphASinBlock",e)}_polymorphicAsin(e){return d(e,Math.asin)}}class es extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeNumber,o.RichTypeNumber,e=>this._polymorphicAcos(e),"FlowGraphACosBlock",e)}_polymorphicAcos(e){return d(e,Math.acos)}}class ep extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeNumber,o.RichTypeNumber,e=>this._polymorphicAtan(e),"FlowGraphATanBlock",e)}_polymorphicAtan(e){return d(e,Math.atan)}}class ei extends t.FlowGraphBinaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,o.RichTypeAny,(e,r)=>this._polymorphicAtan2(e,r),"FlowGraphATan2Block",e)}_polymorphicAtan2(e,r){return M(e,r,Math.atan2)}}class ec extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,e=>this._polymorphicSinh(e),"FlowGraphSinhBlock",e)}_polymorphicSinh(e){return d(e,Math.sinh)}}class eh extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,e=>this._polymorphicCosh(e),"FlowGraphCoshBlock",e)}_polymorphicCosh(e){return d(e,Math.cosh)}}class en extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeAny,e=>this._polymorphicTanh(e),"FlowGraphTanhBlock",e)}_polymorphicTanh(e){return d(e,Math.tanh)}}class eu extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeNumber,e=>this._polymorphicAsinh(e),"FlowGraphASinhBlock",e)}_polymorphicAsinh(e){return d(e,Math.asinh)}}class ey extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeNumber,e=>this._polymorphicAcosh(e),"FlowGraphACoshBlock",e)}_polymorphicAcosh(e){return d(e,Math.acosh)}}class ew extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeNumber,e=>this._polymorphicAtanh(e),"FlowGraphATanhBlock",e)}_polymorphicAtanh(e){return d(e,Math.atanh)}}class eG extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeNumber,e=>this._polymorphicExp(e),"FlowGraphExponentialBlock",e)}_polymorphicExp(e){return d(e,Math.exp)}}class eF extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeNumber,e=>this._polymorphicLog(e),"FlowGraphLogBlock",e)}_polymorphicLog(e){return d(e,Math.log)}}class eB extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeNumber,e=>this._polymorphicLog2(e),"FlowGraphLog2Block",e)}_polymorphicLog2(e){return d(e,Math.log2)}}class em extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeNumber,e=>this._polymorphicLog10(e),"FlowGraphLog10Block",e)}_polymorphicLog10(e){return d(e,Math.log10)}}class eg extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeNumber,e=>this._polymorphicSqrt(e),"FlowGraphSquareRootBlock",e)}_polymorphicSqrt(e){return d(e,Math.sqrt)}}class eR extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeNumber,e=>this._polymorphicCubeRoot(e),"FlowGraphCubeRootBlock",e)}_polymorphicCubeRoot(e){return d(e,Math.cbrt)}}class eT extends t.FlowGraphBinaryOperationBlock{constructor(e){super(o.RichTypeAny,o.RichTypeNumber,o.RichTypeNumber,(e,r)=>this._polymorphicPow(e,r),"FlowGraphPowerBlock",e)}_polymorphicPow(e,r){return M(e,r,Math.pow)}}class ek extends p.FlowGraphUnaryOperationBlock{constructor(e){super((0,o.getRichTypeByFlowGraphType)(e?.valueType||"FlowGraphInteger"),(0,o.getRichTypeByFlowGraphType)(e?.valueType||"FlowGraphInteger"),e=>"boolean"==typeof e?!e:"number"==typeof e?~e:new c.FlowGraphInteger(~e.value),"FlowGraphBitwiseNotBlock",e)}}class ed extends t.FlowGraphBinaryOperationBlock{constructor(e){super((0,o.getRichTypeByFlowGraphType)(e?.valueType||"FlowGraphInteger"),(0,o.getRichTypeByFlowGraphType)(e?.valueType||"FlowGraphInteger"),(0,o.getRichTypeByFlowGraphType)(e?.valueType||"FlowGraphInteger"),(e,r)=>{if("boolean"==typeof e&&"boolean"==typeof r)return e&&r;if("number"==typeof e&&"number"==typeof r)return e&r;if("object"==typeof e&&"object"==typeof r)return new c.FlowGraphInteger(e.value&r.value);throw Error(`Cannot perform bitwise AND on ${e} and ${r}`)},"FlowGraphBitwiseAndBlock",e)}}class e_ extends t.FlowGraphBinaryOperationBlock{constructor(e){super((0,o.getRichTypeByFlowGraphType)(e?.valueType||"FlowGraphInteger"),(0,o.getRichTypeByFlowGraphType)(e?.valueType||"FlowGraphInteger"),(0,o.getRichTypeByFlowGraphType)(e?.valueType||"FlowGraphInteger"),(e,r)=>{if("boolean"==typeof e&&"boolean"==typeof r)return e||r;if("number"==typeof e&&"number"==typeof r)return e|r;if("object"==typeof e&&"object"==typeof r)return new c.FlowGraphInteger(e.value|r.value);throw Error(`Cannot perform bitwise OR on ${e} and ${r}`)},"FlowGraphBitwiseOrBlock",e)}}class ex extends t.FlowGraphBinaryOperationBlock{constructor(e){super((0,o.getRichTypeByFlowGraphType)(e?.valueType||"FlowGraphInteger"),(0,o.getRichTypeByFlowGraphType)(e?.valueType||"FlowGraphInteger"),(0,o.getRichTypeByFlowGraphType)(e?.valueType||"FlowGraphInteger"),(e,r)=>{if("boolean"==typeof e&&"boolean"==typeof r)return e!==r;if("number"==typeof e&&"number"==typeof r)return e^r;if("object"==typeof e&&"object"==typeof r)return new c.FlowGraphInteger(e.value^r.value);throw Error(`Cannot perform bitwise XOR on ${e} and ${r}`)},"FlowGraphBitwiseXorBlock",e)}}class eC extends t.FlowGraphBinaryOperationBlock{constructor(e){super(o.RichTypeFlowGraphInteger,o.RichTypeFlowGraphInteger,o.RichTypeFlowGraphInteger,(e,r)=>new c.FlowGraphInteger(e.value<<r.value),"FlowGraphBitwiseLeftShiftBlock",e)}}class ef extends t.FlowGraphBinaryOperationBlock{constructor(e){super(o.RichTypeFlowGraphInteger,o.RichTypeFlowGraphInteger,o.RichTypeFlowGraphInteger,(e,r)=>new c.FlowGraphInteger(e.value>>r.value),"FlowGraphBitwiseRightShiftBlock",e)}}class eA extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeFlowGraphInteger,o.RichTypeFlowGraphInteger,e=>new c.FlowGraphInteger(Math.clz32(e.value)),"FlowGraphLeadingZerosBlock",e)}}class eN extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeFlowGraphInteger,o.RichTypeFlowGraphInteger,e=>new c.FlowGraphInteger(e.value?31-Math.clz32(e.value&-e.value):32),"FlowGraphTrailingZerosBlock",e)}}class eO extends p.FlowGraphUnaryOperationBlock{constructor(e){super(o.RichTypeFlowGraphInteger,o.RichTypeFlowGraphInteger,e=>new c.FlowGraphInteger(function(e){let r=0;for(;e;)r+=1&e,e>>=1;return r}(e.value)),"FlowGraphOneBitsCounterBlock",e)}}class eb extends r.FlowGraphBlock{constructor(e){super(e),this.r=this.registerDataInput("r",o.RichTypeNumber,0),this.g=this.registerDataInput("g",o.RichTypeNumber,0),this.b=this.registerDataInput("b",o.RichTypeNumber,0),this.l=this.registerDataOutput("l",o.RichTypeNumber,0),this.c=this.registerDataOutput("c",o.RichTypeNumber,0),this.h=this.registerDataOutput("h",o.RichTypeNumber,0)}_updateOutputs(e){var r,o,t;let a,l,s,p,i,{l:c,c:h,h:n}=(r=this.r.getValue(e),a=Math.cbrt(.4122214708*r+.5363325363*(o=this.g.getValue(e))+.0514459929*(t=this.b.getValue(e))),p=1.9779984951*a-2.428592205*(l=Math.cbrt(.2119034982*r+.6806995451*o+.1073969566*t))+.4505937099*(s=Math.cbrt(.0883024619*r+.2817188376*o+.6299787005*t)),i=.0259040371*a+.7827717662*l-.808675766*s,{l:.2104542553*a+.793617785*l-.0040720468*s,c:Math.hypot(p,i),h:Math.atan2(i,p)});this.l.setValue(c,e),this.c.setValue(h,e),this.h.setValue(n,e)}getClassName(){return"FlowGraphRGBToOkLChBlock"}}class eM extends r.FlowGraphBlock{constructor(e){super(e),this.l=this.registerDataInput("l",o.RichTypeNumber,0),this.c=this.registerDataInput("c",o.RichTypeNumber,0),this.h=this.registerDataInput("h",o.RichTypeNumber,0),this.r=this.registerDataOutput("r",o.RichTypeNumber,0),this.g=this.registerDataOutput("g",o.RichTypeNumber,0),this.b=this.registerDataOutput("b",o.RichTypeNumber,0)}_updateOutputs(e){var r,o,t;let a,l,s,p,i,c,h,n,{r:u,g:y,b:w}=(r=this.l.getValue(e),a=(o=this.c.getValue(e))*Math.cos(t=this.h.getValue(e)),s=r+.3963377774*a+.2158037573*(l=o*Math.sin(t)),p=r-.1055613458*a-.0638541728*l,i=r-.0894841775*a-1.291485548*l,{r:4.0767416621*(c=s*s*s)-3.3077115913*(h=p*p*p)+.2309699292*(n=i*i*i),g:-1.2684380046*c+2.6097574011*h-.3413193965*n,b:-.0041960863*c-.7034186147*h+1.707614701*n});this.r.setValue(u,e),this.g.setValue(y,e),this.b.setValue(w,e)}getClassName(){return"FlowGraphRGBFromOkLChBlock"}}let eI=!1;e.s(["FlowGraphAbsBlock",0,_,"FlowGraphAcosBlock",0,es,"FlowGraphAcoshBlock",0,ey,"FlowGraphAddBlock",0,y,"FlowGraphAsinBlock",0,el,"FlowGraphAsinhBlock",0,eu,"FlowGraphAtan2Block",0,ei,"FlowGraphAtanBlock",0,ep,"FlowGraphAtanhBlock",0,ew,"FlowGraphBitwiseAndBlock",0,ed,"FlowGraphBitwiseLeftShiftBlock",0,eC,"FlowGraphBitwiseNotBlock",0,ek,"FlowGraphBitwiseOrBlock",0,e_,"FlowGraphBitwiseRightShiftBlock",0,ef,"FlowGraphBitwiseXorBlock",0,ex,"FlowGraphCeilBlock",0,A,"FlowGraphClampBlock",0,E,"FlowGraphCosBlock",0,et,"FlowGraphCoshBlock",0,eh,"FlowGraphCubeRootBlock",0,eR,"FlowGraphDegToRadBlock",0,ee,"FlowGraphDivideBlock",0,F,"FlowGraphEBlock",0,m,"FlowGraphEqualityBlock",0,j,"FlowGraphExpBlock",0,eG,"FlowGraphFloorBlock",0,f,"FlowGraphFractionBlock",0,O,"FlowGraphGreaterThanBlock",0,H,"FlowGraphGreaterThanOrEqualBlock",0,J,"FlowGraphInfBlock",0,T,"FlowGraphIsInfinityBlock",0,Y,"FlowGraphIsNanBlock",0,W,"FlowGraphLeadingZerosBlock",0,eA,"FlowGraphLessThanBlock",0,X,"FlowGraphLessThanOrEqualBlock",0,K,"FlowGraphLog10Block",0,em,"FlowGraphLog2Block",0,eB,"FlowGraphLogBlock",0,eF,"FlowGraphMathInterpolationBlock",0,q,"FlowGraphMathSlerpBlock",0,P,"FlowGraphMathSmoothStepBlock",0,$,"FlowGraphMaxBlock",0,S,"FlowGraphMinBlock",0,V,"FlowGraphModuloBlock",0,I,"FlowGraphMultiplyBlock",0,G,"FlowGraphNaNBlock",0,k,"FlowGraphNegationBlock",0,b,"FlowGraphOneBitsCounterBlock",0,eO,"FlowGraphPiBlock",0,g,"FlowGraphPowerBlock",0,eT,"FlowGraphRGBFromOkLChBlock",0,eM,"FlowGraphRGBToOkLChBlock",0,eb,"FlowGraphRadToDegBlock",0,er,"FlowGraphRandomBlock",0,B,"FlowGraphRoundBlock",0,N,"FlowGraphSaturateBlock",0,L,"FlowGraphSignBlock",0,x,"FlowGraphSinBlock",0,eo,"FlowGraphSinhBlock",0,ec,"FlowGraphSquareRootBlock",0,eg,"FlowGraphSubtractBlock",0,w,"FlowGraphTanBlock",0,ea,"FlowGraphTanhBlock",0,en,"FlowGraphTauBlock",0,R,"FlowGraphTrailingZerosBlock",0,eN,"FlowGraphTruncBlock",0,C,"RegisterFlowGraphMathBlocks",0,function(){eI||(eI=!0,(0,u.RegisterClass)("FlowGraphAddBlock",y),(0,u.RegisterClass)("FlowGraphSubtractBlock",w),(0,u.RegisterClass)("FlowGraphMultiplyBlock",G),(0,u.RegisterClass)("FlowGraphDivideBlock",F),(0,u.RegisterClass)("FlowGraphRandomBlock",B),(0,u.RegisterClass)("FlowGraphEBlock",m),(0,u.RegisterClass)("FlowGraphPIBlock",g),(0,u.RegisterClass)("FlowGraphTauBlock",R),(0,u.RegisterClass)("FlowGraphInfBlock",T),(0,u.RegisterClass)("FlowGraphNaNBlock",k),(0,u.RegisterClass)("FlowGraphAbsBlock",_),(0,u.RegisterClass)("FlowGraphSignBlock",x),(0,u.RegisterClass)("FlowGraphTruncBlock",C),(0,u.RegisterClass)("FlowGraphFloorBlock",f),(0,u.RegisterClass)("FlowGraphCeilBlock",A),(0,u.RegisterClass)("FlowGraphRoundBlock",N),(0,u.RegisterClass)("FlowGraphFractBlock",O),(0,u.RegisterClass)("FlowGraphNegationBlock",b),(0,u.RegisterClass)("FlowGraphModuloBlock",I),(0,u.RegisterClass)("FlowGraphMinBlock",V),(0,u.RegisterClass)("FlowGraphMaxBlock",S),(0,u.RegisterClass)("FlowGraphClampBlock",E),(0,u.RegisterClass)("FlowGraphSaturateBlock",L),(0,u.RegisterClass)("FlowGraphMathInterpolationBlock",q),(0,u.RegisterClass)("FlowGraphMathSlerpBlock",P),(0,u.RegisterClass)("FlowGraphSmoothStepBlock",$),(0,u.RegisterClass)("FlowGraphRGBToOkLChBlock",eb),(0,u.RegisterClass)("FlowGraphRGBFromOkLChBlock",eM),(0,u.RegisterClass)("FlowGraphEqualityBlock",j),(0,u.RegisterClass)("FlowGraphLessThanBlock",X),(0,u.RegisterClass)("FlowGraphLessThanOrEqualBlock",K),(0,u.RegisterClass)("FlowGraphGreaterThanBlock",H),(0,u.RegisterClass)("FlowGraphGreaterThanOrEqualBlock",J),(0,u.RegisterClass)("FlowGraphIsNaNBlock",W),(0,u.RegisterClass)("FlowGraphIsInfBlock",Y),(0,u.RegisterClass)("FlowGraphDegToRadBlock",ee),(0,u.RegisterClass)("FlowGraphRadToDegBlock",er),(0,u.RegisterClass)("FlowGraphASinBlock",el),(0,u.RegisterClass)("FlowGraphACosBlock",es),(0,u.RegisterClass)("FlowGraphATanBlock",ep),(0,u.RegisterClass)("FlowGraphATan2Block",ei),(0,u.RegisterClass)("FlowGraphSinhBlock",ec),(0,u.RegisterClass)("FlowGraphCoshBlock",eh),(0,u.RegisterClass)("FlowGraphTanhBlock",en),(0,u.RegisterClass)("FlowGraphASinhBlock",eu),(0,u.RegisterClass)("FlowGraphACoshBlock",ey),(0,u.RegisterClass)("FlowGraphATanhBlock",ew),(0,u.RegisterClass)("FlowGraphExponentialBlock",eG),(0,u.RegisterClass)("FlowGraphLogBlock",eF),(0,u.RegisterClass)("FlowGraphLog2Block",eB),(0,u.RegisterClass)("FlowGraphLog10Block",em),(0,u.RegisterClass)("FlowGraphSquareRootBlock",eg),(0,u.RegisterClass)("FlowGraphCubeRootBlock",eR),(0,u.RegisterClass)("FlowGraphPowerBlock",eT),(0,u.RegisterClass)("FlowGraphBitwiseNotBlock",ek),(0,u.RegisterClass)("FlowGraphBitwiseAndBlock",ed),(0,u.RegisterClass)("FlowGraphBitwiseOrBlock",e_),(0,u.RegisterClass)("FlowGraphBitwiseXorBlock",ex),(0,u.RegisterClass)("FlowGraphBitwiseLeftShiftBlock",eC),(0,u.RegisterClass)("FlowGraphBitwiseRightShiftBlock",ef),(0,u.RegisterClass)("FlowGraphLeadingZerosBlock",eA),(0,u.RegisterClass)("FlowGraphTrailingZerosBlock",eN),(0,u.RegisterClass)("FlowGraphOneBitsCounterBlock",eO))}],7467)},54668,e=>{"use strict";var r=e.i(82600);class o extends r.FlowGraphCachedOperationBlock{constructor(e,r,o,t,a,l){super(o,l),this._operation=t,this._className=a,this.a=this.registerDataInput("a",e),this.b=this.registerDataInput("b",r)}_doOperation(e){let r=this.a.getValue(e),o=this.b.getValue(e);return this._operation(r,o)}getClassName(){return this._className}}e.s(["FlowGraphBinaryOperationBlock",0,o])},82600,e=>{"use strict";var r=e.i(60699),o=e.i(65678);let t="cachedOperationValue",a="cachedExecutionId";class l extends r.FlowGraphBlock{constructor(e,r){super(r),this._outputRichType=e,this.value=this.registerDataOutput("value",e),this.isValid=this.registerDataOutput("isValid",o.RichTypeBoolean)}_getInvalidOutputValue(e){let r=this._outputRichType.defaultValue,o=r?.clone;return"function"==typeof o?o.call(r):r}_updateOutputs(e){let r=e._getExecutionVariable(this,a,-1),o=e._getExecutionVariable(this,t,null);if(null!=o&&r===e.executionId)this.isValid.setValue(!0,e),this.value.setValue(o,e);else try{let r=this._doOperation(e);if(null==r)return void this._setInvalid(e);e._setExecutionVariable(this,t,r),e._setExecutionVariable(this,a,e.executionId),this.value.setValue(r,e),this.isValid.setValue(!0,e)}catch(r){this._setInvalid(e)}}_setInvalid(e){this.isValid.setValue(!1,e),this.value.setValue(this._getInvalidOutputValue(e),e)}}e.s(["FlowGraphCachedOperationBlock",0,l])},54984,e=>{"use strict";var r=e.i(82600);class o extends r.FlowGraphCachedOperationBlock{constructor(e,r,o,t,a,l,s){super(t,s),this._operation=a,this._className=l,this.a=this.registerDataInput("a",e),this.b=this.registerDataInput("b",r),this.c=this.registerDataInput("c",o)}_doOperation(e){return this._operation(this.a.getValue(e),this.b.getValue(e),this.c.getValue(e))}getClassName(){return this._className}}e.s(["FlowGraphTernaryOperationBlock",0,o])},48878,e=>{"use strict";var r=e.i(82600);class o extends r.FlowGraphCachedOperationBlock{constructor(e,r,o,t,a){super(r,a),this._operation=o,this._className=t,this.a=this.registerDataInput("a",e)}_doOperation(e){return this._operation(this.a.getValue(e))}getClassName(){return this._className}}e.s(["FlowGraphUnaryOperationBlock",0,o])}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
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,96045,63122,e=>{"use strict";var f=e.i(25044);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}],
|
|
19
|
+
`;f.ShaderStore.IncludesShadersStoreWGSL[n]||(f.ShaderStore.IncludesShadersStoreWGSL[n]=i),e.s(["clipPlaneFragmentDeclarationWGSL",0,{name:n,shader:i}],96045);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}],
|
|
46
|
+
`;f.ShaderStore.IncludesShadersStoreWGSL[r]||(f.ShaderStore.IncludesShadersStoreWGSL[r]=o),e.s(["clipPlaneFragmentWGSL",0,{name:r,shader:o}],63122)},36953,56821,e=>{"use strict";var f=e.i(25044);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}],
|
|
60
|
+
`;f.ShaderStore.IncludesShadersStoreWGSL[n]||(f.ShaderStore.IncludesShadersStoreWGSL[n]=i),e.s(["fogFragmentDeclarationWGSL",0,{name:n,shader:i}],36953);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}],
|
|
67
|
+
`;f.ShaderStore.IncludesShadersStoreWGSL[r]||(f.ShaderStore.IncludesShadersStoreWGSL[r]=o),e.s(["fogFragmentWGSL",0,{name:r,shader:o}],56821)},58210,e=>{"use strict";var f=e.i(25044),n=e.i(96045),i=e.i(36953),r=e.i(63122),o=e.i(56821);let a="colorPixelShader",t=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
|
|
68
68
|
#define VERTEXCOLOR
|
|
69
69
|
varying vColor: vec4f;
|
|
70
70
|
#else
|
|
@@ -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,88422,t=>{"use strict";var e=t.i(23422),o=t.i(65678),i=t.i(68282);class r extends e.FlowGraphExecutionBlockWithOutSignal{constructor(t){super(t),this.body=this.registerDataInput("body",o.RichTypeAny),this.force=this.registerDataInput("force",o.RichTypeVector3),this.location=this.registerDataInput("location",o.RichTypeVector3)}_execute(t,e){let o=this.body.getValue(t);if(!o){this._reportError(t,"No physics body provided"),this.out._activateSignal(t);return}let i=this.force.getValue(t),r=this.location.getValue(t);o.applyForce(i,r),this.out._activateSignal(t)}getClassName(){return"FlowGraphApplyForceBlock"}}let c=!1;t.s(["FlowGraphApplyForceBlock",0,r,"RegisterFlowGraphApplyForceBlock",0,function(){c||(c=!0,(0,i.RegisterClass)("FlowGraphApplyForceBlock",r))}])}]);
|
|
@@ -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,92048,t=>{"use strict";function e(t){return Math.floor(t/8)}class r{constructor(t){this.size=t,this._byteArray=new Uint8Array(Math.ceil(this.size/8))}get(t){if(t>=this.size)throw RangeError("Bit index out of range");let r=e(t),o=1<<t%8;return(this._byteArray[r]&o)!=0}set(t,r){if(t>=this.size)throw RangeError("Bit index out of range");let o=e(t),i=1<<t%8;r?this._byteArray[o]|=i:this._byteArray[o]&=~i}}t.s(["OptimizeIndices",0,function(t){let e=[],o=t.length/3;for(let r=0;r<o;r++)e.push([t[3*r],t[3*r+1],t[3*r+2]]);let i=new Map;for(let t=0;t<e.length;t++)for(let r of e[t]){let e=i.get(r);e||i.set(r,e=[]),e.push(t)}let s=new r(o),l=[],n=t=>{let r=[t];for(;r.length>0;){let t=r.pop();if(!s.get(t))for(let o of(s.set(t,!0),l.push(e[t]),e[t])){let t=i.get(o);if(!t)return;for(let e of t)s.get(e)||r.push(e)}}};for(let t=0;t<o;t++)s.get(t)||n(t);let f=0;for(let e of l)t[f++]=e[0],t[f++]=e[1],t[f++]=e[2]}],92048)}]);
|