@splinetool/runtime 2.0.6 → 2.0.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/build/hana-ui.js +44 -40
- package/build/hana-ui.js.br +0 -0
- package/build/hana-ui.js.gz +0 -0
- package/build/hana-ui.wasm +0 -0
- package/build/hana-ui.wasm.br +0 -0
- package/build/hana-ui.wasm.gz +0 -0
- package/build/{runtime-aiAssistant-KA7ZJ3F6.js → runtime-aiAssistant-KCI2YU3F.js} +1 -1
- package/build/runtime-aiAssistant-KCI2YU3F.js.br +0 -0
- package/build/runtime-aiAssistant-KCI2YU3F.js.gz +0 -0
- package/build/{runtime-apiServices-CGMAW2B4.js → runtime-apiServices-EYRJ5E55.js} +1 -1
- package/build/runtime-apiServices-EYRJ5E55.js.br +0 -0
- package/build/runtime-apiServices-EYRJ5E55.js.gz +0 -0
- package/build/{runtime-audio-GCUGVRQ3.js → runtime-audio-TEHDPDRZ.js} +1 -1
- package/build/runtime-audio-TEHDPDRZ.js.br +4 -0
- package/build/runtime-audio-TEHDPDRZ.js.gz +0 -0
- package/build/{runtime-chunk-HUFJRFTO.js → runtime-chunk-23QXG35G.js} +1 -1
- package/build/runtime-chunk-23QXG35G.js.br +0 -0
- package/build/runtime-chunk-23QXG35G.js.gz +0 -0
- package/build/{runtime-chunk-H7D3VFTJ.js → runtime-chunk-32KZP4YN.js} +1 -1
- package/build/runtime-chunk-32KZP4YN.js.br +0 -0
- package/build/runtime-chunk-32KZP4YN.js.gz +0 -0
- package/build/{runtime-chunk-MM2G3DLE.js → runtime-chunk-3GRN37GY.js} +1 -1
- package/build/runtime-chunk-3GRN37GY.js.br +0 -0
- package/build/runtime-chunk-3GRN37GY.js.gz +0 -0
- package/build/{runtime-chunk-LX3KCQF6.js → runtime-chunk-557KVSJL.js} +1 -1
- package/build/runtime-chunk-557KVSJL.js.br +0 -0
- package/build/runtime-chunk-557KVSJL.js.gz +0 -0
- package/build/{runtime-chunk-CX2MRLZA.js → runtime-chunk-5JEZ42OM.js} +1 -1
- package/build/runtime-chunk-5JEZ42OM.js.br +0 -0
- package/build/runtime-chunk-5JEZ42OM.js.gz +0 -0
- package/build/{runtime-chunk-KYA2CB5O.js → runtime-chunk-5RXW5MNJ.js} +1 -1
- package/build/runtime-chunk-5RXW5MNJ.js.br +0 -0
- package/build/runtime-chunk-5RXW5MNJ.js.gz +0 -0
- package/build/{runtime-chunk-AKWBEROQ.js → runtime-chunk-AELTGHV2.js} +1 -1
- package/build/runtime-chunk-AELTGHV2.js.br +0 -0
- package/build/runtime-chunk-AELTGHV2.js.gz +0 -0
- package/build/{runtime-chunk-NAJSQF6K.js → runtime-chunk-BMA5KYBS.js} +1 -1
- package/build/runtime-chunk-BMA5KYBS.js.br +0 -0
- package/build/runtime-chunk-BMA5KYBS.js.gz +0 -0
- package/build/{runtime-chunk-4KX4KQWR.js → runtime-chunk-CKT62HES.js} +1 -1
- package/build/runtime-chunk-CKT62HES.js.br +0 -0
- package/build/runtime-chunk-CKT62HES.js.gz +0 -0
- package/build/{runtime-chunk-CEAWQBAS.js → runtime-chunk-DHWGP6NU.js} +1 -1
- package/build/runtime-chunk-DHWGP6NU.js.br +0 -0
- package/build/runtime-chunk-DHWGP6NU.js.gz +0 -0
- package/build/{runtime-chunk-SXPM42HJ.js → runtime-chunk-DK66VKWP.js} +1 -1
- package/build/runtime-chunk-DK66VKWP.js.br +0 -0
- package/build/runtime-chunk-DK66VKWP.js.gz +0 -0
- package/build/{runtime-chunk-XUM5HEC6.js → runtime-chunk-E3IEBR27.js} +1 -1
- package/build/runtime-chunk-E3IEBR27.js.br +0 -0
- package/build/runtime-chunk-E3IEBR27.js.gz +0 -0
- package/build/{runtime-chunk-ITLS6YIC.js → runtime-chunk-EJJZJ5MV.js} +1 -1
- package/build/runtime-chunk-EJJZJ5MV.js.br +0 -0
- package/build/runtime-chunk-EJJZJ5MV.js.gz +0 -0
- package/build/{runtime-chunk-NWCLOXDY.js → runtime-chunk-EPHVY3XO.js} +1 -1
- package/build/runtime-chunk-EPHVY3XO.js.br +0 -0
- package/build/runtime-chunk-EPHVY3XO.js.gz +0 -0
- package/build/{runtime-chunk-GN3HDYV2.js → runtime-chunk-F3ZACLZW.js} +1 -1
- package/build/runtime-chunk-F3ZACLZW.js.br +0 -0
- package/build/runtime-chunk-F3ZACLZW.js.gz +0 -0
- package/build/{runtime-chunk-PUBEJSJO.js → runtime-chunk-GZ7C2GJM.js} +1 -1
- package/build/runtime-chunk-GZ7C2GJM.js.br +0 -0
- package/build/runtime-chunk-GZ7C2GJM.js.gz +0 -0
- package/build/{runtime-chunk-BPYFB4BD.js → runtime-chunk-HK23JJVH.js} +1 -1
- package/build/runtime-chunk-HK23JJVH.js.br +0 -0
- package/build/runtime-chunk-HK23JJVH.js.gz +0 -0
- package/build/{runtime-chunk-4DNX5FPP.js → runtime-chunk-HZ6FL5GH.js} +1 -1
- package/build/runtime-chunk-HZ6FL5GH.js.br +0 -0
- package/build/runtime-chunk-HZ6FL5GH.js.gz +0 -0
- package/build/{runtime-chunk-FY3XD5P2.js → runtime-chunk-KE6HNYUL.js} +1 -1
- package/build/runtime-chunk-KE6HNYUL.js.br +0 -0
- package/build/runtime-chunk-KE6HNYUL.js.gz +0 -0
- package/build/runtime-chunk-KNL33WN7.js +1 -0
- package/build/runtime-chunk-KNL33WN7.js.br +0 -0
- package/build/runtime-chunk-KNL33WN7.js.gz +0 -0
- package/build/runtime-chunk-OUXEWX5Z.js +1 -0
- package/build/runtime-chunk-OUXEWX5Z.js.br +0 -0
- package/build/runtime-chunk-OUXEWX5Z.js.gz +0 -0
- package/build/{runtime-chunk-RRXSRYPQ.js → runtime-chunk-PDASWDVC.js} +1 -1
- package/build/{runtime-chunk-RRXSRYPQ.js.br → runtime-chunk-PDASWDVC.js.br} +0 -0
- package/build/runtime-chunk-PDASWDVC.js.gz +0 -0
- package/build/{runtime-chunk-JQ3A6ENO.js → runtime-chunk-RLYG5YBB.js} +1 -1
- package/build/runtime-chunk-RLYG5YBB.js.br +1 -0
- package/build/runtime-chunk-RLYG5YBB.js.gz +0 -0
- package/build/{runtime-chunk-OF7IZ6BI.js → runtime-chunk-TAY7IXEZ.js} +1 -1
- package/build/runtime-chunk-TAY7IXEZ.js.br +0 -0
- package/build/runtime-chunk-TAY7IXEZ.js.gz +0 -0
- package/build/{runtime-chunk-R34HNX2O.js → runtime-chunk-U4QOT2PX.js} +1 -1
- package/build/runtime-chunk-U4QOT2PX.js.br +0 -0
- package/build/runtime-chunk-U4QOT2PX.js.gz +0 -0
- package/build/{runtime-chunk-GO25U5WN.js → runtime-chunk-UIM3XKIT.js} +1 -1
- package/build/runtime-chunk-UIM3XKIT.js.br +0 -0
- package/build/runtime-chunk-UIM3XKIT.js.gz +0 -0
- package/build/{runtime-chunk-4E4NQ6GS.js → runtime-chunk-USGQ26QU.js} +1 -1
- package/build/{runtime-chunk-4E4NQ6GS.js.br → runtime-chunk-USGQ26QU.js.br} +0 -0
- package/build/runtime-chunk-USGQ26QU.js.gz +0 -0
- package/build/{runtime-chunk-RBM3UDQF.js → runtime-chunk-VPEJ5BFD.js} +1 -1
- package/build/runtime-chunk-VPEJ5BFD.js.br +0 -0
- package/build/{runtime-chunk-RBM3UDQF.js.gz → runtime-chunk-VPEJ5BFD.js.gz} +0 -0
- package/build/{runtime-chunk-XXRCB3ME.js → runtime-chunk-YULW5JRE.js} +1 -1
- package/build/runtime-chunk-YULW5JRE.js.br +0 -0
- package/build/runtime-chunk-YULW5JRE.js.gz +0 -0
- package/build/{runtime-classicRuntime-PJ7JLKSY.js → runtime-classicRuntime-U672GAGM.js} +1 -1
- package/build/runtime-classicRuntime-U672GAGM.js.br +0 -0
- package/build/runtime-classicRuntime-U672GAGM.js.gz +0 -0
- package/build/runtime-cloners-2AC7OZRC.js +1 -0
- package/build/runtime-cloners-2AC7OZRC.js.br +0 -0
- package/build/runtime-cloners-2AC7OZRC.js.gz +0 -0
- package/build/{runtime-components-VRLLFORJ.js → runtime-components-L63NUGAO.js} +1 -1
- package/build/runtime-components-L63NUGAO.js.br +0 -0
- package/build/runtime-components-L63NUGAO.js.gz +0 -0
- package/build/{runtime-conditional-VA7AKA6O.js → runtime-conditional-HGOAXTBF.js} +1 -1
- package/build/runtime-conditional-HGOAXTBF.js.br +0 -0
- package/build/runtime-conditional-HGOAXTBF.js.gz +0 -0
- package/build/{runtime-createDestroy-IQVBLQ24.js → runtime-createDestroy-QHHQ6LYS.js} +1 -1
- package/build/runtime-createDestroy-QHHQ6LYS.js.br +0 -0
- package/build/runtime-createDestroy-QHHQ6LYS.js.gz +0 -0
- package/build/{runtime-dragDrop-XFI62H3C.js → runtime-dragDrop-YBSWK3ET.js} +1 -1
- package/build/runtime-dragDrop-YBSWK3ET.js.br +0 -0
- package/build/runtime-dragDrop-YBSWK3ET.js.gz +0 -0
- package/build/{runtime-gameControls-W3YS7OS2.js → runtime-gameControls-DSJRSTW5.js} +1 -1
- package/build/runtime-gameControls-DSJRSTW5.js.br +0 -0
- package/build/runtime-gameControls-DSJRSTW5.js.gz +0 -0
- package/build/runtime-hair-V4RTCES2.js +1 -0
- package/build/runtime-hair-V4RTCES2.js.br +2 -0
- package/build/runtime-hair-V4RTCES2.js.gz +0 -0
- package/build/{runtime-mergeStaticGeometries-KJFDZ7TP.js → runtime-mergeStaticGeometries-VXENKMD4.js} +1 -1
- package/build/runtime-mergeStaticGeometries-VXENKMD4.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-VXENKMD4.js.gz +0 -0
- package/build/{runtime-miscActions-UGVVC2QC.js → runtime-miscActions-RPUPHHGJ.js} +1 -1
- package/build/runtime-miscActions-RPUPHHGJ.js.br +0 -0
- package/build/runtime-miscActions-RPUPHHGJ.js.gz +0 -0
- package/build/{runtime-mouseHover-O7Y26SM5.js → runtime-mouseHover-HG6AHA2L.js} +1 -1
- package/build/runtime-mouseHover-HG6AHA2L.js.br +0 -0
- package/build/runtime-mouseHover-HG6AHA2L.js.gz +0 -0
- package/build/{runtime-particles-GFRULQXO.js → runtime-particles-ZHE2MC33.js} +1 -1
- package/build/runtime-particles-ZHE2MC33.js.br +0 -0
- package/build/runtime-particles-ZHE2MC33.js.gz +0 -0
- package/build/{runtime-paths-Q7I56BAX.js → runtime-paths-GN6E6ZYL.js} +1 -1
- package/build/runtime-paths-GN6E6ZYL.js.br +0 -0
- package/build/runtime-paths-GN6E6ZYL.js.gz +0 -0
- package/build/{runtime-resize-2ZFLSK2M.js → runtime-resize-LACR4RFK.js} +1 -1
- package/build/runtime-resize-LACR4RFK.js.br +0 -0
- package/build/runtime-resize-LACR4RFK.js.gz +0 -0
- package/build/{runtime-sceneTransition-Z65VROHI.js → runtime-sceneTransition-QLPFYHHY.js} +1 -1
- package/build/runtime-sceneTransition-QLPFYHHY.js.br +0 -0
- package/build/runtime-sceneTransition-QLPFYHHY.js.gz +0 -0
- package/build/{runtime-scroll-NWKW6A6L.js → runtime-scroll-WZZBT2XR.js} +1 -1
- package/build/runtime-scroll-WZZBT2XR.js.br +0 -0
- package/build/runtime-scroll-WZZBT2XR.js.gz +0 -0
- package/build/runtime-shapeBlends-O6ATLCCA.js +1 -0
- package/build/runtime-shapeBlends-O6ATLCCA.js.br +0 -0
- package/build/runtime-shapeBlends-O6ATLCCA.js.gz +0 -0
- package/build/{runtime-text-VK3OGBSY.js → runtime-text-UADJSRL4.js} +1 -1
- package/build/runtime-text-UADJSRL4.js.br +0 -0
- package/build/runtime-text-UADJSRL4.js.gz +0 -0
- package/build/{runtime-textInputs-JJQSKO3C.js → runtime-textInputs-7U3TTJ4X.js} +1 -1
- package/build/runtime-textInputs-7U3TTJ4X.js.br +0 -0
- package/build/runtime-textInputs-7U3TTJ4X.js.gz +0 -0
- package/build/runtime-timeline-JXKHKUAC.js +1 -0
- package/build/runtime-timeline-JXKHKUAC.js.br +0 -0
- package/build/runtime-timeline-JXKHKUAC.js.gz +0 -0
- package/build/{runtime-tracking-KYP5WOMH.js → runtime-tracking-MC74576T.js} +1 -1
- package/build/runtime-tracking-MC74576T.js.br +0 -0
- package/build/runtime-tracking-MC74576T.js.gz +0 -0
- package/build/{runtime-transitions-FDRKYMVP.js → runtime-transitions-S22YS7E6.js} +1 -1
- package/build/runtime-transitions-S22YS7E6.js.br +0 -0
- package/build/runtime-transitions-S22YS7E6.js.gz +0 -0
- package/build/{runtime-ui2d-YO6M74VQ.js → runtime-ui2d-EX3RBXPP.js} +1 -1
- package/build/runtime-ui2d-EX3RBXPP.js.br +0 -0
- package/build/runtime-ui2d-EX3RBXPP.js.gz +0 -0
- package/build/{runtime-updater-FS5YHXO4.js → runtime-updater-GOXAMNAK.js} +1 -1
- package/build/runtime-updater-GOXAMNAK.js.br +5 -0
- package/build/runtime-updater-GOXAMNAK.js.gz +0 -0
- package/build/{runtime-variables-CYDDC6HF.js → runtime-variables-36KLHNE5.js} +1 -1
- package/build/runtime-variables-36KLHNE5.js.br +0 -0
- package/build/runtime-variables-36KLHNE5.js.gz +0 -0
- package/build/{runtime-vectorShapes-VMDJ36X2.js → runtime-vectorShapes-J5Y3LMND.js} +1 -1
- package/build/runtime-vectorShapes-J5Y3LMND.js.br +0 -0
- package/build/runtime-vectorShapes-J5Y3LMND.js.gz +0 -0
- package/build/{runtime-video-MTXK33PT.js → runtime-video-XIULR4BY.js} +1 -1
- package/build/runtime-video-XIULR4BY.js.br +0 -0
- package/build/runtime-video-XIULR4BY.js.gz +0 -0
- package/build/runtime-webgpu-LDZ3N2D5.js +1 -0
- package/build/runtime-webgpu-LDZ3N2D5.js.br +0 -0
- package/build/runtime-webgpu-LDZ3N2D5.js.gz +0 -0
- package/build/runtime.cjs +102 -102
- package/build/runtime.js +1 -1
- package/build/runtime.js.br +0 -0
- package/build/runtime.js.gz +0 -0
- package/build/runtime.standalone.js +1 -1
- package/build/runtime.standalone.js.br +0 -0
- package/build/runtime.standalone.js.gz +0 -0
- package/build/runtime.standalone.webgl.js +1 -1
- package/build/runtime.standalone.webgl.js.br +0 -0
- package/build/runtime.standalone.webgl.js.gz +0 -0
- package/build/runtime.standalone.webgpu.js +1 -1
- package/build/runtime.standalone.webgpu.js.br +0 -0
- package/build/runtime.standalone.webgpu.js.gz +0 -0
- package/build/runtime.standalone.webgpu.micro.js +1 -1
- package/build/runtime.standalone.webgpu.micro.js.br +0 -0
- package/build/runtime.standalone.webgpu.micro.js.gz +0 -0
- package/build/runtime.standalone.webgpu.min.js +1 -1
- package/build/runtime.standalone.webgpu.min.js.br +0 -0
- package/build/runtime.standalone.webgpu.min.js.gz +0 -0
- package/package.json +1 -1
- package/build/runtime-aiAssistant-KA7ZJ3F6.js.br +0 -0
- package/build/runtime-aiAssistant-KA7ZJ3F6.js.gz +0 -0
- package/build/runtime-apiServices-CGMAW2B4.js.br +0 -0
- package/build/runtime-apiServices-CGMAW2B4.js.gz +0 -0
- package/build/runtime-audio-GCUGVRQ3.js.br +0 -0
- package/build/runtime-audio-GCUGVRQ3.js.gz +0 -0
- package/build/runtime-chunk-3KIZF7P5.js +0 -1
- package/build/runtime-chunk-3KIZF7P5.js.br +0 -0
- package/build/runtime-chunk-3KIZF7P5.js.gz +0 -0
- package/build/runtime-chunk-4DNX5FPP.js.br +0 -0
- package/build/runtime-chunk-4DNX5FPP.js.gz +0 -0
- package/build/runtime-chunk-4E4NQ6GS.js.gz +0 -0
- package/build/runtime-chunk-4KX4KQWR.js.br +0 -0
- package/build/runtime-chunk-4KX4KQWR.js.gz +0 -0
- package/build/runtime-chunk-AKWBEROQ.js.br +0 -0
- package/build/runtime-chunk-AKWBEROQ.js.gz +0 -0
- package/build/runtime-chunk-BPYFB4BD.js.br +0 -0
- package/build/runtime-chunk-BPYFB4BD.js.gz +0 -0
- package/build/runtime-chunk-CCJD7IX7.js +0 -1
- package/build/runtime-chunk-CCJD7IX7.js.br +0 -0
- package/build/runtime-chunk-CCJD7IX7.js.gz +0 -0
- package/build/runtime-chunk-CEAWQBAS.js.br +0 -0
- package/build/runtime-chunk-CEAWQBAS.js.gz +0 -0
- package/build/runtime-chunk-CX2MRLZA.js.br +0 -0
- package/build/runtime-chunk-CX2MRLZA.js.gz +0 -0
- package/build/runtime-chunk-FY3XD5P2.js.br +0 -0
- package/build/runtime-chunk-FY3XD5P2.js.gz +0 -0
- package/build/runtime-chunk-GN3HDYV2.js.br +0 -0
- package/build/runtime-chunk-GN3HDYV2.js.gz +0 -0
- package/build/runtime-chunk-GO25U5WN.js.br +0 -0
- package/build/runtime-chunk-GO25U5WN.js.gz +0 -0
- package/build/runtime-chunk-H7D3VFTJ.js.br +0 -0
- package/build/runtime-chunk-H7D3VFTJ.js.gz +0 -0
- package/build/runtime-chunk-HUFJRFTO.js.br +0 -0
- package/build/runtime-chunk-HUFJRFTO.js.gz +0 -0
- package/build/runtime-chunk-ITLS6YIC.js.br +0 -0
- package/build/runtime-chunk-ITLS6YIC.js.gz +0 -0
- package/build/runtime-chunk-JQ3A6ENO.js.br +0 -1
- package/build/runtime-chunk-JQ3A6ENO.js.gz +0 -0
- package/build/runtime-chunk-KYA2CB5O.js.br +0 -0
- package/build/runtime-chunk-KYA2CB5O.js.gz +0 -0
- package/build/runtime-chunk-LX3KCQF6.js.br +0 -0
- package/build/runtime-chunk-LX3KCQF6.js.gz +0 -0
- package/build/runtime-chunk-MM2G3DLE.js.br +0 -0
- package/build/runtime-chunk-MM2G3DLE.js.gz +0 -0
- package/build/runtime-chunk-NAJSQF6K.js.br +0 -0
- package/build/runtime-chunk-NAJSQF6K.js.gz +0 -0
- package/build/runtime-chunk-NWCLOXDY.js.br +0 -0
- package/build/runtime-chunk-NWCLOXDY.js.gz +0 -0
- package/build/runtime-chunk-OF7IZ6BI.js.br +0 -0
- package/build/runtime-chunk-OF7IZ6BI.js.gz +0 -0
- package/build/runtime-chunk-PUBEJSJO.js.br +0 -0
- package/build/runtime-chunk-PUBEJSJO.js.gz +0 -0
- package/build/runtime-chunk-R34HNX2O.js.br +0 -0
- package/build/runtime-chunk-R34HNX2O.js.gz +0 -0
- package/build/runtime-chunk-RBM3UDQF.js.br +0 -0
- package/build/runtime-chunk-RRXSRYPQ.js.gz +0 -0
- package/build/runtime-chunk-SXPM42HJ.js.br +0 -0
- package/build/runtime-chunk-SXPM42HJ.js.gz +0 -0
- package/build/runtime-chunk-XUM5HEC6.js.br +0 -0
- package/build/runtime-chunk-XUM5HEC6.js.gz +0 -0
- package/build/runtime-chunk-XXRCB3ME.js.br +0 -0
- package/build/runtime-chunk-XXRCB3ME.js.gz +0 -0
- package/build/runtime-classicRuntime-PJ7JLKSY.js.br +0 -0
- package/build/runtime-classicRuntime-PJ7JLKSY.js.gz +0 -0
- package/build/runtime-cloners-SM2IKR3Q.js +0 -1
- package/build/runtime-cloners-SM2IKR3Q.js.br +0 -3
- package/build/runtime-cloners-SM2IKR3Q.js.gz +0 -0
- package/build/runtime-components-VRLLFORJ.js.br +0 -0
- package/build/runtime-components-VRLLFORJ.js.gz +0 -0
- package/build/runtime-conditional-VA7AKA6O.js.br +0 -0
- package/build/runtime-conditional-VA7AKA6O.js.gz +0 -0
- package/build/runtime-createDestroy-IQVBLQ24.js.br +0 -0
- package/build/runtime-createDestroy-IQVBLQ24.js.gz +0 -0
- package/build/runtime-dragDrop-XFI62H3C.js.br +0 -0
- package/build/runtime-dragDrop-XFI62H3C.js.gz +0 -0
- package/build/runtime-gameControls-W3YS7OS2.js.br +0 -0
- package/build/runtime-gameControls-W3YS7OS2.js.gz +0 -0
- package/build/runtime-hair-CWPDHNZF.js +0 -1
- package/build/runtime-hair-CWPDHNZF.js.br +0 -1
- package/build/runtime-hair-CWPDHNZF.js.gz +0 -0
- package/build/runtime-mergeStaticGeometries-KJFDZ7TP.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-KJFDZ7TP.js.gz +0 -0
- package/build/runtime-miscActions-UGVVC2QC.js.br +0 -0
- package/build/runtime-miscActions-UGVVC2QC.js.gz +0 -0
- package/build/runtime-mouseHover-O7Y26SM5.js.br +0 -0
- package/build/runtime-mouseHover-O7Y26SM5.js.gz +0 -0
- package/build/runtime-particles-GFRULQXO.js.br +0 -0
- package/build/runtime-particles-GFRULQXO.js.gz +0 -0
- package/build/runtime-paths-Q7I56BAX.js.br +0 -0
- package/build/runtime-paths-Q7I56BAX.js.gz +0 -0
- package/build/runtime-resize-2ZFLSK2M.js.br +0 -0
- package/build/runtime-resize-2ZFLSK2M.js.gz +0 -0
- package/build/runtime-sceneTransition-Z65VROHI.js.br +0 -0
- package/build/runtime-sceneTransition-Z65VROHI.js.gz +0 -0
- package/build/runtime-scroll-NWKW6A6L.js.br +0 -0
- package/build/runtime-scroll-NWKW6A6L.js.gz +0 -0
- package/build/runtime-shapeBlends-QB7JKEHC.js +0 -1
- package/build/runtime-shapeBlends-QB7JKEHC.js.br +0 -5
- package/build/runtime-shapeBlends-QB7JKEHC.js.gz +0 -0
- package/build/runtime-text-VK3OGBSY.js.br +0 -0
- package/build/runtime-text-VK3OGBSY.js.gz +0 -0
- package/build/runtime-textInputs-JJQSKO3C.js.br +0 -0
- package/build/runtime-textInputs-JJQSKO3C.js.gz +0 -0
- package/build/runtime-timeline-WRAEBCRZ.js +0 -1
- package/build/runtime-timeline-WRAEBCRZ.js.br +0 -0
- package/build/runtime-timeline-WRAEBCRZ.js.gz +0 -0
- package/build/runtime-tracking-KYP5WOMH.js.br +0 -0
- package/build/runtime-tracking-KYP5WOMH.js.gz +0 -0
- package/build/runtime-transitions-FDRKYMVP.js.br +0 -0
- package/build/runtime-transitions-FDRKYMVP.js.gz +0 -0
- package/build/runtime-ui2d-YO6M74VQ.js.br +0 -0
- package/build/runtime-ui2d-YO6M74VQ.js.gz +0 -0
- package/build/runtime-updater-FS5YHXO4.js.br +0 -1
- package/build/runtime-updater-FS5YHXO4.js.gz +0 -0
- package/build/runtime-variables-CYDDC6HF.js.br +0 -0
- package/build/runtime-variables-CYDDC6HF.js.gz +0 -0
- package/build/runtime-vectorShapes-VMDJ36X2.js.br +0 -0
- package/build/runtime-vectorShapes-VMDJ36X2.js.gz +0 -0
- package/build/runtime-video-MTXK33PT.js.br +0 -0
- package/build/runtime-video-MTXK33PT.js.gz +0 -0
- package/build/runtime-webgpu-WDY6L7BV.js +0 -1
- package/build/runtime-webgpu-WDY6L7BV.js.br +0 -0
- package/build/runtime-webgpu-WDY6L7BV.js.gz +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{e,g as t,j as a}from"./runtime-chunk-KE6HNYUL.js";import{a as r}from"./runtime-chunk-5JEZ42OM.js";import{a as n,b as o}from"./runtime-chunk-F3ZACLZW.js";import{c as i,e as s,f as l}from"./runtime-chunk-YULW5JRE.js";import{a as u}from"./runtime-chunk-32KZP4YN.js";import{b as d}from"./runtime-chunk-E3IEBR27.js";import{U as p,Y as c,Z as h,da as f,ea as g,h as m}from"./runtime-chunk-DK66VKWP.js";import{v as y}from"./runtime-chunk-CKT62HES.js";import{d as b,e as v}from"./runtime-chunk-2PT2WH66.js";import{d as w,f as j}from"./runtime-chunk-4KZXQGUQ.js";import{A as S,B as D,I as E,N as V,O as x,P as B,Q as O,R as A,S as C,da as k,ma as M,pa as N,va as P,z as R}from"./runtime-chunk-VPEJ5BFD.js";import{Cc as q,Dc as G,Ec as z,Fc as I,Oc as F,Pc as $,Tc as U}from"./runtime-chunk-VGN7YHB7.js";var{degToRad:T,radToDeg:W}=q,_=new I,L=new I,K=new z;function Z(e,t,a,r,n,o){let i=void 0!==a[e]?a[e]:void 0,s=r[e];if(null==s)return;let l=null!=i?"string"==typeof i?Number(n.getVariable(i)??0):i:t[e],u="string"==typeof s?Number(n.getVariable(s)??0):s;return l!==u?{update:a=>{let r=q.lerp(l,u,a);t[e]=o?Math.trunc(r):r},start:()=>{t[e]=l},end:()=>{t[e]=u}}:void 0}function Y(e,t,a,r,n,o){let i=a[e]?a[e]:void 0,s=r[e];if(!s)return;let l=t[e],u=[...i??l].map(e=>"string"==typeof e?Number(n.getVariable(e)??0):e),d=[...s].map(e=>"string"==typeof e?Number(n.getVariable(e)??0):e);return u.length!==d.length||w(u,d)?void 0:{update:a=>{u.forEach((r,n)=>{let i=q.lerp(r,d[n],a);t[e][n]=o?Math.trunc(i):i})},start:()=>{Object.assign(t[e],u)},end:()=>{Object.assign(t[e],d)}}}function H(e,t,a){return t.forEach((t,r)=>{e.setComponent(r,"string"==typeof t?Number(a.getVariable(t)??0):t)}),e}function Q(e,t,a,r,n){let o=a[e]?a[e]:void 0,i=r[e];if(!i)return;let s=t[e],l=o?H(new I,o,n):s.clone(),u=H(new I,i,n);return l.equals(u)?void 0:{update:e=>{s.lerpVectors(l,u,e)},start:()=>{s.copy(l)},end:()=>{s.copy(u)}}}function J(e,t,a){return t.forEach((t,r)=>{e.setComponent(r,"string"==typeof t?Number(a.getVariable(t)??0):t)}),e}function X(e,t,a,r,n){let o=a[e]?a[e]:void 0,i=r[e];if(!i)return;let s=t[e],l=!(s instanceof G),u=s instanceof G?s:(new G).fromArray(s),d=o?J(new G,o,n):u.clone(),p=J(new G,i,n);return d.equals(p)?void 0:{update:a=>{u.lerpVectors(d,p,a),l&&(t[e]=u.toArray())},start:()=>{u.copy(d),l&&(t[e]=u.toArray())},end:()=>{u.copy(p),l&&(t[e]=u.toArray())}}}function ee(e,t,a,r,n){let o=a[e]?a[e]:void 0,i=r[e];if(!i)return;let s=t[e],l=new m(s.r,s.g,s.b,s.a),u=o?"string"==typeof o?n.getColor(o).clone():new m(o.r,o.g,o.b,o.a):l.clone(),d="string"==typeof i?n.getColor(i).clone():new m(i.r,i.g,i.b,i.a);return u.equals(d)?void 0:{update:a=>{l.lerpColors(u,d,a);let r=q.lerp(u.a,d.a,a);l.a=r,t[e]={r:l.r,g:l.g,b:l.b,a:l.a}},start:()=>{l.copy(u)},end:()=>{l.copy(d)}}}function te(e,t,a,r,n){return"number"==typeof t[e]?Z(e,t,a??{},r,n):Array.isArray(t[e])?Y(e,t,a??{},r,n):void 0}function ae(e,t,a,r,n){let o=a[e],i=r[e];if("number"==typeof t[e])Math.abs(o-i)>1e-4&&(t[e]=q.lerp(o,i,n));else if(Array.isArray(t[e]))for(let a=0,r=o.length;a<r;a++)t[e][a]=q.lerp(o[a],i[a],n)}function re(e,t,a,r){let n=e.geometry.userData.parameters.extrusion;if(n)return M.forEach(e=>{ae(e,n,t,a,r)}),n}function ne(e,t,a,r){let n=e.updatedPathSnapping;if(n)return P.forEach(e=>{ae(e,n,t,a,r)}),n}function oe(e,t,a,r,n){let o=e.getValue(r);if(void 0!==o){if("colors"===r)return function(e,t,a,r="colors"){if(!e.hasValue(r)||!(r in a))return;let n=[],o=e.getValue(r),i=t?t[r]:o.map(e=>e.toArray()),s=a[r];for(let e=0;e<o.length;++e){let t=[...i[e]],a=[...s[e]];D.isEqual(t,a)||n.push({update:r=>{o[e].fromArray(D.lerp(t,a,r))},start:()=>{o[e].fromArray(t)},end:()=>{o[e].fromArray(a)}})}return n.length?n:void 0}(e,t,a,r);if(Array.isArray(o))return"steps"===r?function(e,t,a,r="steps"){if(!e.hasValue(r)||!(r in a))return;let n=[],o=e.getValue(r),i=t?t[r]:o,s=a[r];return w(i,s)||n.push({update:t=>{let a=[...o];for(let e=0;e<o.length;++e){let r=i[e],n=s[e];a[e]=q.lerp(r,n,t)}e.setValue(r,a)},start:()=>{e.setValue(r,i)},end:()=>{e.setValue(r,s)}}),n.length?n:void 0}(e,t,a,r):void 0;if("number"==typeof o)return function(e,t,a,r,n){if(!e.hasValue(r)||!(r in a))return;let o=t?t[r]:e.getValue(r),i=a[r],s="string"==typeof o?Number(n.getVariable(o)??0):o,l="string"==typeof i?Number(n.getVariable(i)??0):i;return{update:t=>{e.setValue(r,q.lerp(s,l,t))},start:()=>{e.setValue(r,s)},end:()=>{e.setValue(r,l)}}}(e,t,a,r,n);if("boolean"!=typeof o){if(o instanceof G)return function(e,t,a,r){if(!e.hasValue(r)||!(r in a))return;let n=e.getValue(r),o=t?(new G).fromArray(t[r]):n.clone(),i=(new G).fromArray(a[r]);return o.equals(i)?void 0:{update:e=>{n.lerpVectors(o,i,e)},start:()=>{n.copy(o)},end:()=>{n.copy(i)}}}(e,t,a,r);if(o instanceof I)return function(e,t,a,r,n){if(!e.hasValue(r)||!(r in a))return;let o=e.getValue(r),i=t?t[r]:void 0,s=a[r],l=i?H(new I,i,n):o.clone(),u=H(new I,s,n);return l.equals(u)?void 0:{update:e=>{o.lerpVectors(l,u,e)},start:()=>{o.copy(l)},end:()=>{o.copy(u)}}}(e,t,a,r,n);if(o instanceof m)return function(e,t,a,r,n){if(!e.hasValue(r)||!(r in a))return;let o=t?t[r]:void 0,i=a[r],s=e.getValue(r),l=o?"string"==typeof o?n.color(o).clone():(new U).setRGB(o.r,o.g,o.b):s.clone(),u="string"==typeof i?n.color(i).clone():new m(i.r,i.g,i.b,i.a);if(l.equals(u))return;let d=s.clone();return{update:t=>{e.getValue(r)!==d&&e.setValue(r,d),d.lerpColors(l,u,t)},start:()=>{d.copy(l)},end:()=>{d.copy(u)}}}(e,t,a,r,n);if(o instanceof U)return function(e,t,a,r,n){if(!e.hasValue(r)||!(r in a))return;let o=t?t[r]:void 0,i=a[r],s=e.getValue(r),l=o?"string"==typeof o?n.color(o).clone():(new U).setRGB(o.r,o.g,o.b):s.clone(),u="string"==typeof i?n.color(i).clone():(new U).setRGB(i.r,i.g,i.b);if(l.equals(u))return;let d=s.clone();return{update:t=>{e.getValue(r)!==d&&e.setValue(r,d),d.lerpColors(l,u,t)},start:()=>{d.copy(l)},end:()=>{d.copy(u)}}}(e,t,a,r,n);if("isTexture"in o)return function(e,t,a,r="texture"){if(!e.hasValue(r)||!(r in a))return;let n=e.getNode("rotation"),o=t?.[r]?.rotation??0,i=a[r]?.rotation??0;if(n&&o!==i)return{update:e=>{n.value=q.lerp(o,i,e)*q.DEG2RAD},start:()=>{n.value=o*q.DEG2RAD},end:()=>{n.value=i*q.DEG2RAD}};let s=e.getNode("mat"),l=s&&"function"==typeof s.updateMatrix?s:e.getValue("mat");if(!l)return;let u=t?t[r]:l,d=a[r],p=[...u.repeat],c=[...u.offset],h=[...d.repeat],f=[...d.offset],g=u.rotation??0,m=d.rotation??0;return R.isEqual(p,h)&&R.isEqual(c,f)&&g===m?void 0:{update:e=>{l.repeat=R.lerp(p,h,e),l.offset=R.lerp(c,f,e),l.rotation=q.lerp(g,m,e),l.updateMatrix()},start:()=>{l.repeat=[...p],l.offset=[...c],l.rotation=g,l.updateMatrix()},end:()=>{l.repeat=[...h],l.offset=[...f],l.rotation=m,l.updateMatrix()}}}(e,t,a,r)}}}function ie(e,t,a,r){let n=[],o=p(a,r)||!!t.layers&&p(t,r);n.push(function(e,t){return{update:()=>{e.transparent=t}}}(e,o)),function(e,t,a){let r=e.ensureRainbowNoiseCompiled;if("function"==typeof r)for(let n of[...e.layers]){if("rainbow"!==n.type)continue;let o=t.layers?.data(n.uuid),i=a.layers.data(n.uuid);(c(o?.noiseStrength)||c(i?.noiseStrength))&&r.call(e,n.uuid)}}(e,t,a);for(let o of e.layers){let e=t.layers?.data(o.uuid),i=a.layers.data(o.uuid);if(!i||"light"!==o.type&&(!(o.visible??1)||!(i.visible??1)))continue;let s=h[o.type]??[],l=o.getNames().filter(e=>!s.includes(e)&&!k.some(t=>e.includes(t)));for(let t of l)try{let a=oe(o,e,i,t,r);a&&(Array.isArray(a)?n.push(...a):n.push(a))}catch(e){console.error(`lerpMaterial: unexpected material layer for ${t}`,e)}}return n}function se(e,t,a,r,n,o){let i=oe(t,a,r,e,o);!i||(Array.isArray(i)?i.forEach(e=>e.update(n)):i.update(n))}new $;var le=new I,ue=new $;function de(e,t,a,r){let n=r.cloner?.parameters;if(n){ae("count",n,e,t,a),n.count=Math.trunc(n.count);for(let r of x)ae(r,n.radial,e.radial,t.radial,a);for(let r of B)ae(r,n.linear,e.linear,t.linear,a);for(let r of O)ae(r,n.grid,e.grid,t.grid,a);for(let r of A)ae(r,n.toObject,e.toObject,t.toObject,a);return n}}function pe(e,t,a,r){let n=r.cloner?.parameters;if(n){for(let r of C)ae(r,n.randomnessObject,e.randomnessObject,t.randomnessObject,a);return n}}function ce(r,n,o,p,c){let h=[];return r.data.visible&&h.push(...function(e,t,a,r,n){let o,i,u,d,p,c,h,f,g=[];if(v(e)?(o=X("position",e,t,a,n),o&&g.push(o),u=Z("rotation",e,t,a,n),u&&g.push(u),d=X("shear",e,t,a,n),d&&g.push(d)):(f={slide:t.pathSnapping?.slide??e.updatedPathSnapping?.slide??e.dataPatched.pathSnapping?.slide??0,offset:t.pathSnapping?.offset??e.updatedPathSnapping?.offset??e.dataPatched.pathSnapping?.offset??0},c=Z("slide",f,t.pathSnapping??e.updatedPathSnapping??e.dataPatched.pathSnapping,a.pathSnapping??e.dataPatched.pathSnapping,n),c&&g.push(c),h=Z("offset",f,t.pathSnapping??e.updatedPathSnapping??e.dataPatched.pathSnapping,a.pathSnapping??e.dataPatched.pathSnapping,n),h&&g.push(h),!c&&!h&&(o=Q("position",e,t,a,n),o&&g.push(o),i=Q("scale",e,t,a,n),i&&g.push(i),u=function(e,t,a,r,n){let o=t?.rotation?t.rotation.map(e=>("string"==typeof e?Number(n.getVariable(e)??0):e)*q.DEG2RAD):void 0,i=a.rotation?.map(e=>("string"==typeof e?Number(n.getVariable(e)??0):e)*q.DEG2RAD);if(!i)return;let s=o?(new I).fromArray(o):(new I).setFromEuler(e.rotation),l=(new I).fromArray(i);if(s.equals(l))return;let u=le.subVectors(l,s);if(r&&u.toArray().every(e=>Math.abs(e)<2*Math.PI)){let t=(new z).setFromEuler(ue.setFromVector3(s)),a=(new z).setFromEuler(ue.setFromVector3(l));return{update:r=>{!function(e,t,a,r){if(0===r)return a.copy(e);if(1===r)return a.copy(t);let n=e.w*t.w+e.x*t.x+e.y*t.y+e.z*t.z;if(n>=1)return a.copy(e);let o=1-n*n;if(o<=Number.EPSILON){let n=1-r;return a.w=n*e.w+r*t.w,a.x=n*e.x+r*t.x,a.y=n*e.y+r*t.y,a.z=n*e.z+r*t.z,a.normalize(),a}let i=Math.sqrt(o),s=Math.atan2(i,n),l=Math.sin((1-r)*s)/i,u=Math.sin(r*s)/i;a.w=e.w*l+t.w*u,a.x=e.x*l+t.x*u,a.y=e.y*l+t.y*u,a.z=e.z*l+t.z*u}(t,a,e.quaternion,r)},start:()=>{e.rotation.setFromVector3(s)},end:()=>{e.rotation.setFromVector3(l)}}}return{update:t=>{le.lerpVectors(s,l,t),e.rotation.setFromVector3(le)},start:()=>{e.rotation.setFromVector3(s)},end:()=>{e.rotation.setFromVector3(l)}}}(e,t,a,r,n),u&&g.push(u),p=function(e,t,a,r){let n=a[e]?a[e]:void 0,o=r[e];if(!o)return;let i=t[e],s=n?(new F).fromArray(n):i.clone(),l=new I,u=new z,d=new I;s.decompose(l,u,d);let p=(new F).fromArray(o),c=new I,h=new z,f=new I;return p.decompose(c,h,f),s.equals(p)?void 0:{update:e=>{K.slerpQuaternions(u,h,e),_.lerpVectors(l,c,e),L.lerpVectors(d,f,e),i.compose(_,K,L)},start:()=>{i.compose(l,u,d)},end:()=>{i.compose(c,h,f)}}}("hiddenMatrix",e,t,a),p&&g.push(p))),o||i||u||p||c||h){let a=v(e)?()=>{e.updateWorldMatrix(!0,!1,!0),e.resetBBoxNeedsUpdate()}:()=>{e.updateMatrix(),e.hasNonUniformScale&&(e.updateMatrixWorld(),e.updateMatrixWorldRigid()),e.parent?.matrixWorldFusedFalse&&(e.matrixWorld.multiplyMatrices(e.parent.matrixWorldFusedFalse,e.matrix),e.matrixWorldNeedsUpdate=!1),s(e)&&l(e.parent)&&e.invalidateDownstreamBooleanData(!0),e.updatePathSnapping(Object.assign({},t.pathSnapping,f))};g.push({update:a,start:a,end:a})}return g}(r,n,o,c,p.shared)),v(r)?h.push(...function(r,n,o,i,s){let l,u,d,p,c,h,f,g,m,y,b,v,w,j,S,D=[];if("width"in r&&(l=Z("width",r,n,o,s),l&&D.push(l)),"height"in r&&(u=Z("height",r,n,o,s),u&&D.push(u)),r instanceof e||r instanceof a){let t={...n.fill},a={...o.fill};void 0!==t.enabled&&t.enabled!==a.enabled&&(D.push(function(t){return{update:()=>{t instanceof e&&(t.fill.enabled=!0)}}}(r)),t.enabled||Object.assign(t,{enabled:!0,color:{...t.color,a:0}}),a.enabled||Object.assign(a,{enabled:!0,color:{...a.color,a:0}})),d=ee("color",r.fill,t,a,s),d&&D.push(d)}if(r instanceof e){let t={...n.stroke},a={...o.stroke};(t.enabled||a.enabled)&&(D.push(function(t){return{update:()=>{t instanceof e&&(t.stroke.enabled=!0)}}}(r)),t.enabled||Object.assign(t,{enabled:!0,color:{...t.color,a:0}}),a.enabled||Object.assign(a,{enabled:!0,color:{...a.color,a:0}})),p=ee("color",r.stroke,t,a,s),p&&D.push(p),c=Z("thickness",r.stroke,t,a,s),c&&D.push(c)}if(r instanceof e){let t={...n.dropShadow},a={...o.dropShadow};(t.enabled||a.enabled)&&(D.push(function(t){return{update:()=>{t instanceof e&&(t.dropShadow.enabled=!0)}}}(r)),t.enabled||Object.assign(t,{enabled:!0,color:{...t.color,a:0}}),a.enabled||Object.assign(a,{enabled:!0,color:{...a.color,a:0}})),h=ee("color",r.dropShadow,t,a,s),h&&D.push(h),f=Z("blurRadius",r.dropShadow,t,a,s),f&&D.push(f),m=Z("spread",r.dropShadow,t,a,s),m&&D.push(m),g=X("offset",r.dropShadow,t,a,s),g&&D.push(g)}if(r instanceof e){let t={...n.innerShadow},a={...o.innerShadow};(t.enabled||a.enabled)&&(D.push(function(t){return{update:()=>{t instanceof e&&(t.innerShadow.enabled=!0)}}}(r)),t.enabled||Object.assign(t,{enabled:!0,color:{...t.color,a:0}}),a.enabled||Object.assign(a,{enabled:!0,color:{...a.color,a:0}})),y=ee("color",r.innerShadow,t,a,s),y&&D.push(y),b=Z("blurRadius",r.innerShadow,t,a,s),b&&D.push(b),w=Z("spread",r.innerShadow,t,a,s),w&&D.push(w),v=X("offset",r.innerShadow,t,a,s),v&&D.push(v)}if(r instanceof e||r instanceof a){let t={...n.backgroundBlur},a={...o.backgroundBlur};(t.enabled||a.enabled)&&(D.push(function(t){return{update:()=>{t instanceof e&&(t.backgroundBlur.enabled=!0)}}}(r)),t.enabled||Object.assign(t,{enabled:!0,radius:0}),a.enabled||Object.assign(a,{enabled:!0,radius:0})),j=Z("radius",r.backgroundBlur,t,a,s),j&&D.push(j)}if(r instanceof e){let t={...n.layerBlur},a={...o.layerBlur};(t.enabled||a.enabled)&&(D.push(function(t){return{update:()=>{t instanceof e&&(t.layerBlur.enabled=!0)}}}(r)),t.enabled||Object.assign(t,{enabled:!0,radius:0}),a.enabled||Object.assign(a,{enabled:!0,radius:0})),S=Z("radius",r.layerBlur,t,a,s),S&&D.push(S)}if(r instanceof a||r instanceof t){let e=Y("cornerRadius",r,n,o,s);e&&D.push(e)}return D}(r,n,o,0,p.shared)):(r.data.visible&&h.push(...function(e,t,a,r){let n=[];if(!("cloner"in a)||!e.cloner)return n;let o=e.cloner,i="cloner"in t?t.cloner:{},s=a.cloner;V.forEach(e=>{let t;t="count"===e?Z("count",o.parameters,i,s,r.shared,!0):te(e,o.parameters,i??{},s,r.shared),t&&n.push(t)});let l=function(e,t,a,r){if("radial"!==e.parameters.type)return;let n=t.radial,o=a.radial;if(!o)return;let i=e.parameters.radial,s=[];return x.forEach(e=>{let t=te(e,i,n??{},o,r);t&&s.push(t)}),s}(o,i,s,r.shared);l?.length&&n.push(...l);let u=function(e,t,a,r){if("linear"!==e.parameters.type)return;let n=t.linear,o=a.linear;if(!o)return;let i=[],s=e.parameters.linear;return B.forEach(e=>{let t=te(e,s,n??{},o,r);t&&i.push(t)}),i}(o,i,s,r.shared);u?.length&&n.push(...u);let d=function(e,t,a,r){if("grid"!==e.parameters.type)return;let n=t.grid,o=a.grid;if(!o)return;let i=[],s=e.parameters.grid;return O.forEach(e=>{let t;t="count"===e?Y(e,s,n??{},o,r,!0):te(e,s,n??{},o,r),t&&i.push(t)}),i}(o,i,s,r.shared);d?.length&&n.push(...d);let p=function(e,t,a,r){if("toObject"!==e.parameters.type)return;let n=t.toObject,o=a.toObject;if(!o)return;let i=[],s=e.parameters.toObject;return A.forEach(e=>{let t;t="count"===e?Z(e,s,n??{},o,r,!0):te(e,s,n??{},o,r),t&&i.push(t)}),i}(o,i,s,r.shared);p?.length&&n.push(...p);let c=function(e,t,a,r){if(!e.parameters.randomness)return;let n=t.randomnessObject,o=a.randomnessObject;if(!o)return;let i=[],s=e.parameters.randomnessObject;return C.forEach(e=>{let t=te(e,s,n??{},o,r);t&&i.push(t)}),i}(o,i,s,r.shared);return c?.length&&n.push(...c),n.length&&n.push({update:()=>{o.update(r)}}),n}(r,n,o,p)),r instanceof y?(r instanceof g&&r.data.visible&&h.push(...function(e,t,a,r){let n=[];if(!("geometry"in a))return n;let o=e.geometry.userData.parameters,i="geometry"in t?t.geometry:{},s=a.geometry;if(e instanceof d){let t=function(e,t,a,r){if(void 0===a.scaleBaked)return;let n=(t.scaleBaked??e.data.geometry.scaleBaked).map(e=>"string"==typeof e?Number(r.shared.getVariable(e)??0):e),o=a.scaleBaked.map(e=>"string"==typeof e?Number(r.shared.getVariable(e)??0):e);if(S.isEqual(n,o))return;let i=[];return i.push({update:t=>{e.updateGeometryInteractions({scaleBaked:[q.lerp(n[0],o[0],t),q.lerp(n[1],o[1],t),q.lerp(n[2],o[2],t)]},r.shared),e.invalidateDownstreamBooleanData(),e.refreshAttachedClonersInteractions(r)},start:()=>{e.updateGeometryInteractions({scaleBaked:n},r.shared),e.invalidateDownstreamBooleanData(),e.refreshAttachedClonersInteractions(r)},end:()=>{e.updateGeometryInteractions({scaleBaked:o},r.shared),e.invalidateDownstreamBooleanData(),e.refreshAttachedClonersInteractions(r)}}),i}(e,i,s,r);t&&n.push(...t)}else{let t={};if(Object.assign(t,j(o,N),j(i,N)),N.forEach(e=>{let a=te(e,t,i,s,r.shared);a&&n.push(a)}),b(e)){Object.assign(t,{extrusion:{...o.extrusion}});let e=function(e,t,a,r){if(!a.extrusion)return;let n=e.extrusion,o=t.extrusion??{},i=a.extrusion,s=[];return M.forEach(e=>{let t=te(e,n,o,i,r);t&&s.push(t)}),s}(t,i,s,r.shared);e&&n.push(...e)}n.length&&n.push({update:a=>{e.updateGeometryInteractions(t,r.shared),e.updateGeometryGroupsIfNeeded(),e.refreshAttachedClonersInteractions(r)},start:a=>{e.updateGeometryInteractions(t,r.shared),e.updateGeometryGroupsIfNeeded(),e.refreshAttachedClonersInteractions(r)},end:a=>{e.updateGeometryInteractions(t,r.shared),e.updateGeometryGroupsIfNeeded(),e.refreshAttachedClonersInteractions(r)}})}return n}(r,n,o,p)),r.data.visible&&!(r instanceof f&&r.materialOverride)&&h.push(...function(e,t,a,r){let n=[];if(Array.isArray(e.material)){if(!("materials"in a)||!a.materials)return n;let o="materials"in t&&t.materials?t.materials:[],i=a.materials;e.material.forEach((e,t)=>{if(!i[t])return;let a=o[t]??{},s=i[t];"string"==typeof a||"string"==typeof s||n.push(...ie(e,a,s,r))})}else{if(!("material"in a)||!a.material)return n;let o="material"in t&&t.material?t.material:{},i=a.material;if("string"==typeof o||"string"==typeof i)return n;n.push(...ie(e.material,o,i,r))}return n}(r,n,o,p.shared))):i.is(r)?r.data.visible&&h.push(...function(e,t,a,r){let n=[];if(void 0!==a.intensity){let o=Z("intensity",e,t,a,r);o&&n.push(o)}if(void 0!==a.color){let o=function(e,t,a,r,n){let o=a[e]?a[e]:void 0,i=r[e];if(!i)return;let s=t[e],l=o?"string"==typeof o?n.getColor(o).clone():(new U).setRGB(o.r,o.g,o.b):s.clone(),u="string"==typeof i?n.getColor(i).clone():(new U).setRGB(i.r,i.g,i.b);if(l.equals(u))return;let d=s.clone();return{update:a=>{d.lerpColors(l,u,a),t[e]?.copy?.(d)},start:()=>{d.copy(l)},end:()=>{d.copy(u)}}}("color",e,t,a,r);o&&n.push(o)}return n}(r,n,o,p.shared)):r instanceof u&&h.push(...function(e,t,a,r){let n=[],o="OrthographicCamera"===e.cameraType?t.orthographic?.zoom:t.perspective?.zoom,i="OrthographicCamera"===e.cameraType?a.orthographic?.zoom:a.perspective?.zoom;if(void 0!==i){let t=o??e.zoom,a=i;t!==a&&n.push({update:r=>{e.zoom=q.lerp(t,a,r),e.updateProjectionMatrix()},start:()=>{e.zoom=t,e.updateProjectionMatrix()},end:()=>{e.zoom=a,e.updateProjectionMatrix()}})}if(void 0!==a.targetOffset){let o=Z("targetOffset",e,t,a,r);o&&n.push(o)}return n}(r,n,o,p.shared))),h.length?{update:e=>{h.forEach(t=>t.update(e))},start:e=>{h.forEach(t=>t.start?.(e))},end:e=>{h.forEach(t=>t.end?.(e))}}:void 0}function he(e,t){return{position(t){Object.assign(e.position,t),(void 0!==t.x||void 0!==t.y||void 0!==t.z)&&(e.updateMatrix(),e.resetBBoxNeedsUpdate(),e instanceof g&&e.invalidateDownstreamBooleanData(),e.dispatchEvent({type:"requestRender"}))},rotation(t){let a=Object.keys(t)[0];e.rotation[a]=t[a]*q.DEG2RAD,(void 0!==t.x||void 0!==t.y||void 0!==t.z)&&(e.updateMatrix(),e.resetBBoxNeedsUpdate(),e instanceof g&&e.invalidateDownstreamBooleanData(),e.dispatchEvent({type:"requestRender"}))},scale(t){Object.assign(e.scale,t),(void 0!==t.x||void 0!==t.y||void 0!==t.z)&&(e.updateMatrix(),e.resetBBoxNeedsUpdate(),e instanceof g&&e.invalidateDownstreamBooleanData(),e.dispatchEvent({type:"requestRender"}))},shapeSize(a){e instanceof g&&(e.userData.value={...e.userData.value,...a},(void 0!==a.x||void 0!==a.y||void 0!==a.z)&&(e.updateGeometryInteractions({width:e.userData.value.x,height:e.userData.value.y,depth:e.userData.value.z},t.shared),e.resetBBoxNeedsUpdate(),e.invalidateDownstreamBooleanData(),e.dispatchEvent({type:"requestRender"})))},material(a,r,n){n&&(Object.entries(n).forEach(([a,{start:n,end:o,t:i}])=>{let s=r.getValue(a);e instanceof y&&!Array.isArray(e.material)&&"alpha"===a&&"number"==typeof s&&s>0&&(e.material.transparent=!0),void 0!==s&&se(a,r,n,o,i,t.shared)}),e.dispatchEvent({type:"requestRender"}))},opacity(a){if(e instanceof y&&!Array.isArray(e.material)){let r=e.material.getLayersOfType("light")[0];if(void 0===r)return;e.material.transparent=!0,se("alphaOverride",r,{alphaOverride:a},{alphaOverride:a+1},0,t.shared),e.dispatchEvent({type:"requestRender"})}},light(t,a){(e instanceof n||e instanceof r||e instanceof o)&&(e[t]=a,e.dispatchEvent({type:"requestRender"}))},cloner(e){e.cloner?.update(t),e instanceof g&&e.invalidateDownstreamBooleanData(),e.dispatchEvent({type:"requestRender"})},pathExtrusion(e,a){e.geometry.userData.parameters.extrusion={...e.geometry.userData.parameters.extrusion,...a},e.updateGeometryInteractions({extrusion:{...e.geometry.userData.parameters.extrusion}},t.shared),e.resetBBoxNeedsUpdate(),e.invalidateDownstreamBooleanData(),e.dispatchEvent({type:"requestRender"})},pathSnapping(t){e.userData.pathSnapping={...e.userData.pathSnapping,...t},e.updatePathSnapping(e.userData.pathSnapping),e.dispatchEvent({type:"requestRender"})}}}var fe={type:"beginState"};function ge(e){let t;if(5===e.easing){let{control1:a,control2:r}=e;t=`cubicBezier(\n\t\t\t${a[0]}, ${a[1]}, ${r[0]}, ${r[1]}\n\t\t)`}else if(6===e.easing){let{mass:a,stiffness:r,damping:n,velocity:o}=e;t=`spring( ${a}, ${r}, ${n}, ${o} )`}else{let a;switch(e.easing){case 0:default:a=E.linear;break;case 1:a=E.ease;break;case 2:a=E.easeIn;break;case 3:a=E.easeOut;break;case 4:a=E.easeInOut}let[r,n,o,i]=a;t=`cubicBezier( ${r}, ${n}, ${o}, ${i} )`}return{duration:Math.max(e.duration,1e-4),easing:t}}function me(e){let t={delay:0,loop:-1===e.repeat||e.repeat+1};if(0===e.repeat)t.direction="normal",t.rewind=!1;else switch(e.direction){case"pingpong":t.direction="alternate",t.rewind=!1;break;case"pingpong-rewind":t.direction="alternate",t.rewind=!0;break;default:t.direction="normal",t.rewind=!1}switch(t.delay=0,t.endDelay=0,t.startOnceDelay=0,t.pingPongDelayCorrection=0,t.pingPongEndDelayCorrection=0,e.delayDirection){case"start-once":t.startOnceDelay=e.delay;break;case"start":t.delay=e.delay;break;case"end":t.endDelay=e.delay;break;case"start-end":case void 0:t.delay=e.delay,t.endDelay=e.delay}return"alternate"===t.direction&&(t.delay/=2,t.endDelay/=2,"start"===e.delayDirection?(t.pingPongDelayCorrection=t.delay,"number"==typeof t.loop&&t.loop%2==0&&(t.pingPongEndDelayCorrection=t.delay)):"end"===e.delayDirection?"number"==typeof t.loop&&t.loop%2!=0&&(t.pingPongEndDelayCorrection=t.endDelay):"start-end"===e.delayDirection&&(t.pingPongDelayCorrection=t.delay,t.pingPongEndDelayCorrection=t.endDelay)),t}var ye={type:"completeState",isfromEntity:!1};function be(e,t){let a,r;if("string"==typeof t?(a=t,r=e.states?.[a]):null===t&&(a=null,r=e.data),void 0!==a&&void 0!==r)return{id:a,data:r}}var ve=class{constructor(e,t,a,r,n,o,i){if(this.object=e,this.data=r,this.sharedAssets=n,this.allowSlerp=o,this.page=i,this.targets={t:0},this.firstLoop=!0,this._changeBegan=!1,this._changeCompleted=!0,this.onChange=()=>{this.callback&&(this.callback.update(this.targets.t),this.object.requestRender()),0===this.targets.t||1===this.targets.t?this._changeCompleted||(this._changeCompleted=!0,this._changeBegan=!1,this.onChangeComplete()):(this._changeCompleted&&(this._changeCompleted=!1),this._changeBegan||(this._changeBegan=!0,this.onChangeBegin()))},this.onChangeBegin=()=>{this.object.reversibleToState=this.to.id;let e=this.targets.t>.5?this.from.id:this.to.id;this.object.prevState!==this.object.currentState&&(this.object.prevState=this.object.currentState),this.object.currentState=e,this.object.dispatchEvent({type:"beginState",state:e}),v(this.object)||this.object.traverseEntity(e=>{e!==this.object&&e instanceof u&&e.dispatchEvent(fe)})},this.onChangeComplete=()=>{this.firstLoop&&(this.onFirstLoop(),this.firstLoop=!1),this.object.reversibleToState=this.to.id;let e=this.targets.t<.5?this.from.id:this.to.id;this.object.prevState!==this.object.currentState&&(this.object.prevState=this.object.currentState),this.object.currentState=e,this.object.dispatchEvent({type:"completeState",state:e}),v(this.object)||this.object.traverseEntity(e=>{e!==this.object&&e instanceof u&&e.dispatchEvent(ye)})},this.onFirstLoop=()=>{this.useCurrentState&&(this.callback=ce(this.object,this.from.data,this.to.data,{scene:this.page.scene,shared:this.sharedAssets},this.allowSlerp))},void 0===t){let e=be(this.object,this.object.currentState===a?this.object.prevState:this.object.currentState);if(!e)throw new Error("Missing property");this.from=e}else{let e=be(this.object,t);if(!e)throw new Error("Missing property");this.from=e}if(void 0===a)throw new Error("Missing property");{let e=be(this.object,a);if(!e)throw new Error("Missing property");this.to=e}this.useCurrentState=void 0===t||void 0===a,this.params={targets:this.targets,t:1,autoplay:!1,...me(r),...ge(r),change:this.onChange},this.callback=ce(this.object,void 0===t?{}:this.from.data,void 0===a?{}:this.to.data,{scene:this.page.scene,shared:this.sharedAssets},this.allowSlerp)}get changeBegan(){return this._changeBegan}get changeCompleted(){return this._changeCompleted}};export{re as a,ne as b,de as c,pe as d,he as e,fe as f,ge as g,me as h,ye as i,be as j,ve as k};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ea as t}from"./runtime-chunk-
|
|
1
|
+
import{ea as t}from"./runtime-chunk-DK66VKWP.js";import{Fc as e,Oc as r,jd as i}from"./runtime-chunk-VGN7YHB7.js";var s=new e,n=new r,a=new i,h=class extends t{constructor(t,e,r){super(t,e,r),this.data=e}get textGeometry(){return this.geometry}get charWidths(){return this.textGeometry.charWidths}get charCoords(){return this.textGeometry.charCoords}get wrappedText(){return this.textGeometry.wrappedText}get font(){return this.textGeometry.font}get initialOffsetY(){let t=this.dataPatched;return this.font?.getLineInitialOffsetY(this.lineHeight,this.wrappedText.length,"number"==typeof t.geometry.height?t.geometry.height:1,this.fontScale,t.geometry.verticalAlign)??0}get fontScale(){let t=this.dataPatched;return this.font?t.geometry.fontSize/this.font.unitsPerEm:1}get AD(){return Math.abs(this.ascender-this.descender)}get ascender(){return(this.font?.ascender??1)*this.fontScale}get descender(){return(this.font?.descender??1)*this.fontScale}get lineHeight(){let t=this.dataPatched;return t.geometry.fontSize*t.geometry.lineHeight}raycast(t,e){let{matrixWorld:r}=this;if(!isNaN(t.ray.origin.x)&&0!==this.scale.x&&0!==this.scale.y&&0!==this.scale.z&&(n.copy(r).invert(),a.copy(t.ray).applyMatrix4(n),a.intersectBox(this.singleBBox,s))){let i=s.applyMatrix4(r),n=t.ray.origin.distanceTo(i);e.push({distance:n,point:i.clone(),object:this})}}};export{h as a};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t}from"./runtime-chunk-
|
|
1
|
+
import{a as t}from"./runtime-chunk-USGQ26QU.js";import{d as e}from"./runtime-chunk-AELTGHV2.js";import{Sc as s}from"./runtime-chunk-VGN7YHB7.js";var r=class extends(e(s,t)){constructor(t,e,s){super(),this.super_Entity(t,e),this.context=s,this.objectHelper.update()}updateState(t,e){this.updateState_Entity(t,e)}};export{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
G ��tk<w�*���*KP���������7<7���B����J�}�k`�,)����[y��Yph�3���Pv ��+��Y����y��P�5�?����Pe4�����H)&��w�I2����!���
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e}from"./runtime-chunk-TU4KDRKR.js";import{W as o}from"./runtime-chunk-
|
|
1
|
+
import{a as e}from"./runtime-chunk-TU4KDRKR.js";import{W as o}from"./runtime-chunk-DK66VKWP.js";import{Dc as n,Fc as t,Jc as r}from"./runtime-chunk-VGN7YHB7.js";var i={enabled:!1},s=new WeakMap;function a(e){if(!i.enabled)return e;let o=s.get(e);return o||(o={...e,bloom:{...e.bloom,kernelSize:0},depthOfField:{...e.depthOfField,enabled:!1}},s.set(e,o)),o}var c=new WeakSet;function l(e){if(!e.isPointLight&&!e.isSpotLight&&!e.isDirectionalLight)return!1;if(i.enabled){if(!0===e.castShadow)return e.castShadow=!1,c.add(e),!0}else if(c.has(e)&&(c.delete(e),!1===e.castShadow))return e.castShadow=!0,!0;return!1}function u(i,s){switch(i.type){case"cavity":return function(e,o){return{...h(e,o),ridge:e.ridge,valley:e.valley}}(i,s);case"dust":return function(n,t){return{...h(n,t),color:e(n.color,t),coverage:o(n.coverage,t)??.2,softness:o(n.softness,t)??.2,noiseStrength:o(n.noiseStrength,t)??.2,noiseScale:o(n.noiseScale,t)??1}}(i,s);case"fresnel":return function(o,n){let{bias:t,scale:r,intensity:i,factor:s,color:a}=o;return{...h(o,n),color:e(a,n),bias:t,scale:r,intensity:i,factor:s}}(i,s);case"gradient":return function(e,o){let{gradientType:t,smooth:i,colors:s,steps:a,angle:c,offset:l,morph:u}=e;return{...h(e,o),gradientType:t,smooth:i,colors:s.map(e=>new r(e[0],e[1],e[2],e[3])),num:s.length,steps:a,offset:new n(...l.map(e=>"number"==typeof e?e:0)),morph:new n(...u.map(e=>"number"==typeof e?e:0)),angle:c}}(i,s);case"depth":return function(e,o){let{gradientType:n,near:i,far:s,isVector:a,isWorldSpace:c,origin:l,direction:u,colors:f,steps:p,smooth:m}=e;return{...h(e,o),gradientType:n,near:i,far:s,isVector:a,isWorldSpace:c,origin:new t(...l),direction:u?new t(...u):new t(1,0,0),colors:f.map(e=>void 0!==e?new r(e[0],e[1],e[2],e[3]):new r(0,0,0,0)),steps:p.slice(0,f.length),smooth:m}}(i,s);case"normal":return function(e,o){let{cnormal:n}=e;return{...h(e,o),cnormal:new t(n[0],n[1],n[2])}}(i,s);case"noise":return function(o,r){return{...h(o,r),scale:o.scale,move:o.move,fA:new n(...o.fA.map(e=>"number"==typeof e?e:0)),fB:new n(...o.fB.map(e=>"number"==typeof e?e:0)),size:new t(...o.size),distortion:new n(...o.distortion.map(e=>"number"==typeof e?e:0)),colorA:e(o.colorA,r),colorB:e(o.colorB,r),colorC:e(o.colorC,r),colorD:e(o.colorD,r),noiseType:o.noiseType,voronoiStyle:o.voronoiStyle,highCut:o.highCut,lowCut:o.lowCut,smoothness:o.smoothness,seed:o.seed,quality:o.quality}}(i,s);case"rainbow":return function(e,o){return{...h(e,o),filmThickness:e.filmThickness,movement:e.movement,wavelengths:new t(...e.wavelengths),noiseStrength:e.noiseStrength,noiseScale:e.noiseScale,offset:new t(...e.offset)}}(i,s);case"toon":return function(o,n){return{...h(o,n),positioning:o.positioning,colors:o.colors.map(e=>new r(e[0],e[1],e[2],e[3])),num:o.colors.length,steps:o.steps,source:new t(...o.source),isWorldSpace:o.isWorldSpace,noiseStrength:o.noiseStrength,noiseScale:o.noiseScale,shadowColor:e(o.shadowColor,n),offset:new t(...o.offset)}}(i,s);case"outline":return function(o,n){return{...h(o,n),outlineColor:e(o.outlineColor,n),contourColor:e(o.contourColor,n),outlineWidth:o.outlineWidth,contourWidth:o.contourWidth,outlineThreshold:o.outlineThreshold,contourThreshold:o.contourThreshold,outlineSmoothing:o.outlineSmoothing,contourFrequency:o.contourFrequency,contourDirection:new t(...o.contourDirection),positionalLines:o.positionalLines,compensation:o.compensation}}(i,s);case"transmission":return function(o,n){return{...h(o,n),thickness:o.thickness,ior:o.ior,roughness:o.roughness,attenuationColor:void 0!==o.attenuationColor?e(o.attenuationColor,n):{r:1,g:1,b:1,a:1},attenuationDistance:o.attenuationDistance??0}}(i,s);case"reflection":return function(e,n){return{...h(e,n),blur:o(e.blur,n)??0,thickness:o(e.thickness,n)??.001,steps:o(e.steps,n)??60,stepSize:o(e.stepSize,n)??.005,tracingMode:e.tracingMode,mirror:e.mirror??0}}(i,s);case"pattern":return function(o,t){return{...h(o,t),style:o.style,projection:o.projection,axis:o.axis,blending:o.blending,offset:new n(...o.offset.map(e=>"number"==typeof e?e:0)),colorA:e(o.colorA,t),colorB:e(o.colorB,t),frequency:new n(...o.frequency.map(e=>"number"==typeof e?e:0)),size:o.size,variation:o.variation,smoothness:o.smoothness,zigzag:o.zigzag,rotation:o.rotation,vertical:new n(...o.vertical.map(e=>"number"==typeof e?e:0)),horizontal:new n(...o.horizontal.map(e=>"number"==typeof e?e:0)),sides:o.sides}}(i,s);case"vertexColor":return h(i,s);default:return function(o,n){return{...h(o,n),color:e(o.color,n)}}(i,s)}}function f(e){return{type:e.type}}function h(e,o){let{alpha:n,mode:t,isMask:r}=e,i="string"==typeof n?Number(o.getVariable(n)??100)/100:n;return{...f(e),alpha:i,mode:t,isMask:r}}export{i as a,a as b,l as c,u as d};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as e,G as a,H as t,d as i,f as r,g as n,x as o,z as s}from"./runtime-chunk-
|
|
1
|
+
import{E as e,G as a,H as t,d as i,f as r,g as n,x as o,z as s}from"./runtime-chunk-VPEJ5BFD.js";var l,u,d,c,f,h,p,m,g,b,y,w,A,D,v,B,k,_,z,S,x,O,P,j;function C(e,a=[0,0]){return[e&&!isNaN(e[0])?e[0]:a[0],e&&!isNaN(e[1])?e[1]:a[1]]}function R(e,i,r){switch(e){case 0:return"cubicBezier( 0, 0, 1, 1 )";case 1:return"cubicBezier( .25, .1, .25, 1 )";case 2:return"cubicBezier( .42, 0, 1, 1 )";case 3:return"cubicBezier( 0, 0, .58, 1 )";case 4:return"cubicBezier( .42, 0, .58, 1 )";case 7:return"cubicBezier( .25, 1, .5, 1 )";case 5:{let{control1:e,control2:a}=i??{...t.defaultData};return`cubicBezier( ${e[0]}, ${e[1]}, ${a[0]}, ${a[1]} )`}case 6:{let{mass:e,stiffness:t,damping:i,velocity:n}=r??{...a.defaultData},o=new G(e,t,i,n),s=o.solve(1);return()=>e=>o.solve(e)/s}case 8:return()=>e=>Math.floor(e)}}function E(e,a,t){return{id:a,fi:t,data:{id:a,path:e,keyframes:new n}}}(l||(l={})).emptyImage={data:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQYV2NgYAAAAAMAAWgmWQ0AAAAASUVORK5CYII=",name:"empty"},(u||(u={})).is=function(e){return!0},(c=d||(d={})).defaultData={position:[0,0],scale:[1,1],rotation:0,shear:[0,0]},c.merge=function(e,a){return{position:a?.position??e.position,rotation:a?.rotation??e.rotation,scale:a?.scale??e.scale,shear:a?.shear??e.shear}},c.diff=function(e,a){return i({position:s.isEqual(e.position,a.position)?void 0:a.position,rotation:e.rotation===a.rotation?void 0:a.rotation,scale:s.isEqual(e.scale,a.scale)?void 0:a.scale,shear:e.shear&&a.shear&&s.isEqual(e.shear,a.shear)?void 0:a.shear})},(f||(f={})).defaultData={horizontalConstraint:0,verticalConstraint:0},(h||(h={})).defaultData={direction:"row",wrap:"unwrap",align:"top-left",gap:10,rowGap:10,autoGap:!1,autoRowGap:!1,leftPadding:8,rightPadding:8,topPadding:8,bottomPadding:8},(p||(p={})).defaultData={opacity:1,fill:{color:e.fromHexAndA(o,1),enabled:!0},stroke:{color:e.from0to1([0,0,0,1]),thickness:1,enabled:!1,mode:"inside"},layerBlur:{radius:2,enabled:!1},backgroundBlur:{radius:2,enabled:!1},dropShadow:{offset:[10,10],blurRadius:10,color:e.from0to1([0,0,0,1]),enabled:!1,spread:0},innerShadow:{offset:[10,10],blurRadius:10,color:e.from0to1([0,0,0,1]),enabled:!1,spread:0}},(g=m||(m={})).newEmpty=function(e,a){return{name:a}},g.patch=function(e,a){if(void 0===a)return e;let t={...e};return Object.assign(t,d.merge(t,a)),t=function(e,a){if(void 0===a)return e;let t={...e},i=["width","height","cornerRadius"];for(let e of i)e in t&&e in a&&void 0!==a[e]&&Object.assign(t,{[e]:a[e]});return t}(t,a),t=function(e,a){if(void 0===a)return e;let t={...e};return"fill"in t&&"fill"in a&&void 0!==a.fill&&Object.assign(t,{fill:{...t.fill,...a.fill}}),"stroke"in t&&"stroke"in a&&void 0!==a.stroke&&Object.assign(t,{stroke:{...t.stroke,...a.stroke}}),"layerBlur"in t&&"layerBlur"in a&&void 0!==a.layerBlur&&Object.assign(t,{layerBlur:{...t.layerBlur,...a.layerBlur}}),"backgroundBlur"in t&&"backgroundBlur"in a&&void 0!==a.backgroundBlur&&Object.assign(t,{backgroundBlur:{...t.backgroundBlur,...a.backgroundBlur}}),"dropShadow"in t&&"dropShadow"in a&&void 0!==a.dropShadow&&Object.assign(t,{dropShadow:{...t.dropShadow,...a.dropShadow}}),"innerShadow"in t&&"innerShadow"in a&&void 0!==a.innerShadow&&Object.assign(t,{innerShadow:{...t.innerShadow,...a.innerShadow}}),t}(t,a),t},g.toOps=function(e,a){let t,i=[];for(let[e,r]of Object.entries(a))"name"!==e&&(void 0===t&&(t={path:[],props:{},type:0},i.push(t)),t.props[e]=r);return i},(b||(b={})).defaultData={...d.defaultData,...f.defaultData,states:new n,events:new n,visible:!0,raycastLock:!1},(y||(y={})).defaultData={...b.defaultData,...p.defaultData},(w||(w={})).defaultData={cornerRadius:[0,0,0,0]},(A||(A={})).defaultData={...y.defaultData,type:"ellipse2d",width:100,height:100,name:"Ellipse"},(D||(D={})).defaultData={...y.defaultData,...w.defaultData,type:"rectangle2d",width:100,height:100,name:"Rectangle"},(v||(v={})).defaultData={...y.defaultData,type:"text2d",width:100,height:100,fontSize:12,lineHeight:1.2,letterSpacing:0,text:{textValue:"Hello world"},horizontalAlign:1,verticalAlign:1,textTransform:1,font:"Roboto_regular",name:"Text"},(B||(B={})).defaultData={...y.defaultData,type:"path2d",path:"",name:"Path"},(k||(k={})).is=function(e){return"ellipse2d"===e.type||"rectangle2d"===e.type||"text2d"===e.type||"vector2d"===e.type||"path2d"===e.type},(_||(_={})).defaultData={...b.defaultData,name:"Group",type:"group2d"},(z||(z={})).defaultData=()=>({...b.defaultData,...w.defaultData,...p.defaultData,name:"Frame",type:"frame2d",clipped:!0,width:200,height:200,fill:{color:e.fromHexAndA(4737101,1),enabled:!0},stroke:{color:e.fromHexAndA(0,1),thickness:1,enabled:!1,mode:"inside"},backgroundBlur:{radius:2,enabled:!1},layerBlur:{radius:2,enabled:!1}}),(e=>{e.defaultData=function(e){switch(e){case"rectangle2d":case"vector2d":return{...D.defaultData};case"ellipse2d":return{...A.defaultData};case"text2d":return{...v.defaultData};case"path2d":return{...B.defaultData};case"frame2d":return{...z.defaultData()};case"group2d":return{..._.defaultData}}},e.getPivot=function(e){return"width"in e&&"height"in e?["number"==typeof e.width?.5*e.width:0,"number"==typeof e.height?.5*e.height:0]:[0,0]},e.isResizeable=function(e){return"rectangle2d"===e.type||"ellipse2d"===e.type||"text2d"===e.type||"frame2d"===e.type},e.isAutoLayoutable=function(e){return"frame2d"===e.type&&void 0!==e.autoLayout},e.hasCorners=function(e){return"rectangle2d"===e.type||"frame2d"===e.type}})(S||(S={})),(O=x||(x={})).defaultData={name:"UI",type:"scene2d",objects:new r},O.emptyData=function(){return{type:"scene2d",objects:new r}},(P||(P={})).is=function(e){return e&&"number"==typeof e.x&&"number"==typeof e.y&&"number"==typeof e.z},(e=>{e.getControlsWithDefault=function(e,a){let t=[0,0],i=[1,1];if(e?.cubicControls)t=C(e.cubicControls.control1,t);else switch(e?.type){case 2:case 4:t=[.42,0];break;case 3:case 0:t=[0,0];break;case 1:t=[.25,.1];break;case 7:t=[.25,1]}if(a?.cubicControls)i=C(a.cubicControls.control2,i);else switch(a?.type){case 2:case 0:i=[1,1];break;case 3:case 4:i=[.58,1];break;case 1:i=[.25,1];break;case 7:i=[.5,1]}return{control1:t,control2:i}},e.defaultData=function(e,a){return{id:e,name:a,to:5,properties:new n}},e.createMaterialGroup=function(e){let a=new n;return e.forEach(({data:e,id:t,fi:i})=>{if("light"===e.type){let r=E(["material",`${e.category} lighting`],t,i);a.push(r)}else{let r=E(["material",e.type],t,i);a.push(r)}}),a},e.createName=function(e){return Object.entries(e).reduce((e,[a,t])=>("string"!=typeof t&&e.push({name:t.name}),e),[])},e.Presets=[{name:"Slide in",animationParams:{translateX:{value:[-20,0],easing:R(3),duration:1e3},opacity:{value:[0,1],easing:R(3),duration:1e3},endDelay:250,loop:!0}},{name:"Rotate",animationParams:{rotate:{value:[0,"1turn"],easing:R(5),duration:700},endDelay:250,loop:!0}},{name:"Scale Out",animationParams:{scale:{value:[1,1.5],easing:R(4),duration:1e3},endDelay:250,loop:!0}},{name:"Jump",animationParams:{translateY:[{value:0,duration:200,easing:"linear"},{value:-20,easing:"linear",duration:200},{value:0,easing:"linear",duration:100}],endDelay:500,loop:!0}},{name:"Jump Rotate",animationParams:{translateY:[{value:0,duration:200,easing:"linear"},{value:-20,easing:"linear",duration:200},{value:0,easing:"linear",duration:100}],rotate:{value:[0,"1turn"],easing:R(5),duration:500},endDelay:500,loop:!0}},{name:"Bounce",animationParams:{translateY:{value:["20px","-20px"],duration:575,easing:"easeOutQuad"},direction:"alternate",loop:!0}}]})(j||(j={}));var M=["x","y","z"],G=class{constructor(e=1,a=100,t=10,i=0){this.mass=e,this.stiffness=a,this.damping=t,this.initialVelocity=i,this.m_w0=Math.sqrt(a/e),this.m_zeta=t/(2*Math.sqrt(a*e)),this.m_zeta<1?(this.m_wd=this.m_w0*Math.sqrt(1-this.m_zeta*this.m_zeta),this.m_A=1,this.m_B=(this.m_zeta*this.m_w0-i)/this.m_wd):(this.m_wd=0,this.m_A=1,this.m_B=-i+this.m_w0)}solve(e){return 1-(this.m_zeta<1?Math.exp(-e*this.m_zeta*this.m_w0)*(this.m_A*Math.cos(this.m_wd*e)+this.m_B*Math.sin(this.m_wd*e)):(this.m_A+this.m_B*e)*Math.exp(-e*this.m_w0))}getDuration(){let e=.16666666666666666,a=0,t=0;for(;;)if(a+=e,1===this.solve(a)){if(t++,t>=16)break}else t=0;return a*e*1e3}};export{l as a,m as b,D as c,_ as d,S as e,x as f,C as g,R as h,M as i};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as n}from"./runtime-chunk-
|
|
1
|
+
import{h as n}from"./runtime-chunk-CKT62HES.js";function e(o){if(o.component){let t=o.component.instances.indexOf(o);t>=0&&o.component.instances.splice(t,1);for(let t of o.children)n.is(t)&&e(t)}}export{e as a};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t,b as e}from"./runtime-chunk-
|
|
1
|
+
import{a as t,b as e}from"./runtime-chunk-AELTGHV2.js";import{Ec as s,Fc as r,Sc as a,Xe as i}from"./runtime-chunk-VGN7YHB7.js";var o=new r(1,1,1),m=new r,d=new r,u=new s,c=class extends(t(i)){constructor(t,e=15){super(e),this.object=t,this.dummy=new a,this.object.updateMatrixWorld(),this.name=`EmptyObjectHelper: ${t.uuid}`,this.matrix=this.dummy.matrixWorld,this.matrixAutoUpdate=!1,this.object.isBone&&(this.visible=!1)}raycast(t,s){e(this.object,c.geometryHelper,t,s,!1,this.dummy)}update(){}updateMatrix(){}updateMatrixWorld(t){this.object.matrixWorld.decompose(m,u,d),this.matrix.compose(m,u,o),super.updateMatrixWorld(t)}updateWorldMatrix(t,e){}};export{c as a};
|
|
Binary file
|
|
Binary file
|