@splinetool/runtime 2.0.96 → 2.0.97
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/{runtime-bloom-KUVUF3MS.js → runtime-bloom-R72YUMWE.js} +1 -1
- package/build/runtime-bloom-R72YUMWE.js.br +0 -0
- package/build/runtime-bloom-R72YUMWE.js.gz +0 -0
- package/build/{runtime-brightnessContrast-RZIPSXZD.js → runtime-brightnessContrast-6ZYF6FFC.js} +1 -1
- package/build/runtime-brightnessContrast-6ZYF6FFC.js.br +0 -0
- package/build/runtime-brightnessContrast-6ZYF6FFC.js.gz +0 -0
- package/build/{runtime-chromaticAberration-VWSDDXVP.js → runtime-chromaticAberration-MG6GD5I2.js} +1 -1
- package/build/runtime-chromaticAberration-MG6GD5I2.js.br +0 -0
- package/build/runtime-chromaticAberration-MG6GD5I2.js.gz +0 -0
- package/build/{runtime-chunk-7CYLYBQ5.js → runtime-chunk-3D3KTUJE.js} +1 -1
- package/build/runtime-chunk-3D3KTUJE.js.br +0 -0
- package/build/runtime-chunk-3D3KTUJE.js.gz +0 -0
- package/build/{runtime-chunk-YKB4J25U.js → runtime-chunk-3DDUXQUV.js} +1 -1
- package/build/runtime-chunk-3DDUXQUV.js.br +0 -0
- package/build/runtime-chunk-3DDUXQUV.js.gz +0 -0
- package/build/{runtime-chunk-INE6H4OE.js → runtime-chunk-44ONHPC4.js} +1 -1
- package/build/runtime-chunk-44ONHPC4.js.br +0 -0
- package/build/runtime-chunk-44ONHPC4.js.gz +0 -0
- package/build/{runtime-chunk-ATO2EGQZ.js → runtime-chunk-4BTNQ4XZ.js} +1 -1
- package/build/runtime-chunk-4BTNQ4XZ.js.br +0 -0
- package/build/runtime-chunk-4BTNQ4XZ.js.gz +0 -0
- package/build/{runtime-chunk-MYD4GPIH.js → runtime-chunk-4FU7HOS5.js} +1 -1
- package/build/runtime-chunk-4FU7HOS5.js.br +0 -0
- package/build/runtime-chunk-4FU7HOS5.js.gz +0 -0
- package/build/{runtime-chunk-4K4MHZCN.js → runtime-chunk-5O6ZZJZ7.js} +1 -1
- package/build/runtime-chunk-5O6ZZJZ7.js.br +1 -0
- package/build/runtime-chunk-5O6ZZJZ7.js.gz +0 -0
- package/build/{runtime-chunk-HLKBJOJR.js → runtime-chunk-64O6TWBM.js} +1 -1
- package/build/runtime-chunk-64O6TWBM.js.br +0 -0
- package/build/runtime-chunk-64O6TWBM.js.gz +0 -0
- package/build/{runtime-chunk-FOSFTPCW.js → runtime-chunk-AU2N6EQR.js} +1 -1
- package/build/runtime-chunk-AU2N6EQR.js.br +0 -0
- package/build/runtime-chunk-AU2N6EQR.js.gz +0 -0
- package/build/{runtime-chunk-CZ5BOMDR.js → runtime-chunk-BGF7YJY5.js} +1 -1
- package/build/{runtime-chunk-CZ5BOMDR.js.br → runtime-chunk-BGF7YJY5.js.br} +0 -0
- package/build/runtime-chunk-BGF7YJY5.js.gz +0 -0
- package/build/{runtime-chunk-X3Z7FXJJ.js → runtime-chunk-CDQEW7B4.js} +1 -1
- package/build/runtime-chunk-CDQEW7B4.js.br +0 -0
- package/build/runtime-chunk-CDQEW7B4.js.gz +0 -0
- package/build/{runtime-chunk-SKPGCNMT.js → runtime-chunk-ECL4ZJCD.js} +1 -1
- package/build/runtime-chunk-ECL4ZJCD.js.br +0 -0
- package/build/runtime-chunk-ECL4ZJCD.js.gz +0 -0
- package/build/{runtime-chunk-VGSGDMZ7.js → runtime-chunk-EVO5WBYP.js} +1 -1
- package/build/{runtime-chunk-VGSGDMZ7.js.br → runtime-chunk-EVO5WBYP.js.br} +0 -0
- package/build/runtime-chunk-EVO5WBYP.js.gz +0 -0
- package/build/{runtime-chunk-TWPMCRN2.js → runtime-chunk-G5UGDU5A.js} +1 -1
- package/build/runtime-chunk-G5UGDU5A.js.br +0 -0
- package/build/runtime-chunk-G5UGDU5A.js.gz +0 -0
- package/build/{runtime-chunk-RBTWRPRA.js → runtime-chunk-J4ICJ6X4.js} +1 -1
- package/build/runtime-chunk-J4ICJ6X4.js.br +0 -0
- package/build/runtime-chunk-J4ICJ6X4.js.gz +0 -0
- package/build/{runtime-chunk-P5TM33Y6.js → runtime-chunk-J55ISWU3.js} +1 -1
- package/build/runtime-chunk-J55ISWU3.js.br +0 -0
- package/build/runtime-chunk-J55ISWU3.js.gz +0 -0
- package/build/{runtime-chunk-EWDNCAKN.js → runtime-chunk-JLS6WAMD.js} +1 -1
- package/build/runtime-chunk-JLS6WAMD.js.br +0 -0
- package/build/runtime-chunk-JLS6WAMD.js.gz +0 -0
- package/build/{runtime-chunk-H3EUOEVG.js → runtime-chunk-JZVDWKAL.js} +1 -1
- package/build/runtime-chunk-JZVDWKAL.js.br +0 -0
- package/build/runtime-chunk-JZVDWKAL.js.gz +0 -0
- package/build/{runtime-chunk-FY7AWKJV.js → runtime-chunk-MSZSWDE3.js} +1 -1
- package/build/runtime-chunk-MSZSWDE3.js.br +0 -0
- package/build/runtime-chunk-MSZSWDE3.js.gz +0 -0
- package/build/{runtime-chunk-5ZJKH7AZ.js → runtime-chunk-NJ4O2QSD.js} +1 -1
- package/build/runtime-chunk-NJ4O2QSD.js.br +0 -0
- package/build/runtime-chunk-NJ4O2QSD.js.gz +0 -0
- package/build/{runtime-chunk-3UHEFC7E.js → runtime-chunk-OEUC2DBV.js} +1 -1
- package/build/runtime-chunk-OEUC2DBV.js.br +0 -0
- package/build/runtime-chunk-OEUC2DBV.js.gz +0 -0
- package/build/{runtime-chunk-7CIS3RJQ.js → runtime-chunk-OHNX2PJY.js} +1 -1
- package/build/runtime-chunk-OHNX2PJY.js.br +0 -0
- package/build/runtime-chunk-OHNX2PJY.js.gz +0 -0
- package/build/{runtime-chunk-EIR6AEKJ.js → runtime-chunk-QWFX7BK2.js} +1 -1
- package/build/runtime-chunk-QWFX7BK2.js.br +0 -0
- package/build/runtime-chunk-QWFX7BK2.js.gz +0 -0
- package/build/{runtime-chunk-PSEXY7SH.js → runtime-chunk-SXKNGF55.js} +1 -1
- package/build/runtime-chunk-SXKNGF55.js.br +0 -0
- package/build/runtime-chunk-SXKNGF55.js.gz +0 -0
- package/build/{runtime-chunk-LX7GMLDZ.js → runtime-chunk-UIZX6MQD.js} +1 -1
- package/build/runtime-chunk-UIZX6MQD.js.br +0 -0
- package/build/runtime-chunk-UIZX6MQD.js.gz +0 -0
- package/build/{runtime-chunk-IXSYZOUH.js → runtime-chunk-VKGMCBOI.js} +1 -1
- package/build/{runtime-chunk-IXSYZOUH.js.br → runtime-chunk-VKGMCBOI.js.br} +0 -0
- package/build/runtime-chunk-VKGMCBOI.js.gz +0 -0
- package/build/{runtime-chunk-CEICEMMU.js → runtime-chunk-VRICZSCY.js} +1 -1
- package/build/runtime-chunk-VRICZSCY.js.br +3 -0
- package/build/runtime-chunk-VRICZSCY.js.gz +0 -0
- package/build/{runtime-chunk-6DVO6Z2C.js → runtime-chunk-WEIWHAA4.js} +1 -1
- package/build/runtime-chunk-WEIWHAA4.js.br +0 -0
- package/build/runtime-chunk-WEIWHAA4.js.gz +0 -0
- package/build/{runtime-classicRuntime-RLY6VXCY.js → runtime-classicRuntime-A5CGENUI.js} +1 -1
- package/build/runtime-classicRuntime-A5CGENUI.js.br +0 -0
- package/build/runtime-classicRuntime-A5CGENUI.js.gz +0 -0
- package/build/{runtime-cloners-OUOZ32NU.js → runtime-cloners-XYODDVZ4.js} +1 -1
- package/build/runtime-cloners-XYODDVZ4.js.br +0 -0
- package/build/runtime-cloners-XYODDVZ4.js.gz +0 -0
- package/build/{runtime-components-A753C44O.js → runtime-components-IKTWGHKT.js} +1 -1
- package/build/runtime-components-IKTWGHKT.js.br +0 -0
- package/build/runtime-components-IKTWGHKT.js.gz +0 -0
- package/build/{runtime-createDestroy-TBN2HEPC.js → runtime-createDestroy-QNXPA3LK.js} +1 -1
- package/build/runtime-createDestroy-QNXPA3LK.js.br +0 -0
- package/build/runtime-createDestroy-QNXPA3LK.js.gz +0 -0
- package/build/{runtime-depthOfField-KIFXOXXV.js → runtime-depthOfField-WC2QGXQR.js} +1 -1
- package/build/runtime-depthOfField-WC2QGXQR.js.br +0 -0
- package/build/runtime-depthOfField-WC2QGXQR.js.gz +0 -0
- package/build/{runtime-dragDrop-F5DRXQJG.js → runtime-dragDrop-P36SMD5P.js} +1 -1
- package/build/runtime-dragDrop-P36SMD5P.js.br +0 -0
- package/build/runtime-dragDrop-P36SMD5P.js.gz +0 -0
- package/build/{runtime-gameControls-LN7QTWOJ.js → runtime-gameControls-ATZSQQFV.js} +1 -1
- package/build/runtime-gameControls-ATZSQQFV.js.br +0 -0
- package/build/runtime-gameControls-ATZSQQFV.js.gz +0 -0
- package/build/{runtime-hair-62GDZFKO.js → runtime-hair-CLGKA26N.js} +1 -1
- package/build/runtime-hair-CLGKA26N.js.br +2 -0
- package/build/runtime-hair-CLGKA26N.js.gz +0 -0
- package/build/{runtime-hueSaturation-7KRUX22J.js → runtime-hueSaturation-RXXDUKG5.js} +1 -1
- package/build/runtime-hueSaturation-RXXDUKG5.js.br +0 -0
- package/build/runtime-hueSaturation-RXXDUKG5.js.gz +0 -0
- package/build/{runtime-mergeStaticGeometries-Y2KHHJ3J.js → runtime-mergeStaticGeometries-JI6SEB5D.js} +1 -1
- package/build/runtime-mergeStaticGeometries-JI6SEB5D.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-JI6SEB5D.js.gz +0 -0
- package/build/{runtime-miscActions-XAGVFXC6.js → runtime-miscActions-TTG5W2I6.js} +1 -1
- package/build/runtime-miscActions-TTG5W2I6.js.br +0 -0
- package/build/runtime-miscActions-TTG5W2I6.js.gz +0 -0
- package/build/{runtime-mouseHover-YQZLDCNA.js → runtime-mouseHover-WFZS4QA4.js} +1 -1
- package/build/runtime-mouseHover-WFZS4QA4.js.br +0 -0
- package/build/runtime-mouseHover-WFZS4QA4.js.gz +0 -0
- package/build/{runtime-noise-PHKL2HZA.js → runtime-noise-X2OQBZPC.js} +1 -1
- package/build/runtime-noise-X2OQBZPC.js.br +0 -0
- package/build/runtime-noise-X2OQBZPC.js.gz +0 -0
- package/build/{runtime-particles-SVDWTK6P.js → runtime-particles-WTP726FH.js} +1 -1
- package/build/runtime-particles-WTP726FH.js.br +0 -0
- package/build/runtime-particles-WTP726FH.js.gz +0 -0
- package/build/{runtime-paths-V3MZPDGM.js → runtime-paths-5REOINBP.js} +1 -1
- package/build/runtime-paths-5REOINBP.js.br +0 -0
- package/build/runtime-paths-5REOINBP.js.gz +0 -0
- package/build/{runtime-pixelation-E3T2655N.js → runtime-pixelation-R5II6YIS.js} +1 -1
- package/build/runtime-pixelation-R5II6YIS.js.br +0 -0
- package/build/runtime-pixelation-R5II6YIS.js.gz +0 -0
- package/build/{runtime-resize-A44LZEWS.js → runtime-resize-PMJRXEPH.js} +1 -1
- package/build/runtime-resize-PMJRXEPH.js.br +0 -0
- package/build/runtime-resize-PMJRXEPH.js.gz +0 -0
- package/build/{runtime-sceneTransition-FKJQSTTM.js → runtime-sceneTransition-IMIQ4B5L.js} +1 -1
- package/build/runtime-sceneTransition-IMIQ4B5L.js.br +0 -0
- package/build/runtime-sceneTransition-IMIQ4B5L.js.gz +0 -0
- package/build/{runtime-scroll-HETPT43A.js → runtime-scroll-K5V4V2PT.js} +1 -1
- package/build/runtime-scroll-K5V4V2PT.js.br +0 -0
- package/build/runtime-scroll-K5V4V2PT.js.gz +0 -0
- package/build/runtime-shapeBlends-TIHQRJL4.js +1 -0
- package/build/runtime-shapeBlends-TIHQRJL4.js.br +2 -0
- package/build/runtime-shapeBlends-TIHQRJL4.js.gz +0 -0
- package/build/{runtime-text-PYFNPMFC.js → runtime-text-2JRNGNWK.js} +1 -1
- package/build/runtime-text-2JRNGNWK.js.br +0 -0
- package/build/runtime-text-2JRNGNWK.js.gz +0 -0
- package/build/{runtime-textInputs-RZ6K5HUH.js → runtime-textInputs-FJI3RHUP.js} +1 -1
- package/build/runtime-textInputs-FJI3RHUP.js.br +0 -0
- package/build/runtime-textInputs-FJI3RHUP.js.gz +0 -0
- package/build/{runtime-timeline-WCZ7STYE.js → runtime-timeline-KCQF7BDH.js} +1 -1
- package/build/runtime-timeline-KCQF7BDH.js.br +0 -0
- package/build/runtime-timeline-KCQF7BDH.js.gz +0 -0
- package/build/{runtime-tracking-2HA2B7J7.js → runtime-tracking-I4U6YXGK.js} +1 -1
- package/build/runtime-tracking-I4U6YXGK.js.br +0 -0
- package/build/runtime-tracking-I4U6YXGK.js.gz +0 -0
- package/build/{runtime-transitions-S5EKXVZM.js → runtime-transitions-ATC6MH44.js} +1 -1
- package/build/runtime-transitions-ATC6MH44.js.br +0 -0
- package/build/runtime-transitions-ATC6MH44.js.gz +0 -0
- package/build/{runtime-ui2d-4HZUC2SJ.js → runtime-ui2d-D3FB5TE5.js} +1 -1
- package/build/runtime-ui2d-D3FB5TE5.js.br +0 -0
- package/build/runtime-ui2d-D3FB5TE5.js.gz +0 -0
- package/build/{runtime-vectorShapes-BSMXQN4R.js → runtime-vectorShapes-WDARIQYW.js} +1 -1
- package/build/runtime-vectorShapes-WDARIQYW.js.br +0 -0
- package/build/runtime-vectorShapes-WDARIQYW.js.gz +0 -0
- package/build/{runtime-vignette-DCUNX3SW.js → runtime-vignette-GCRJEZYD.js} +1 -1
- package/build/runtime-vignette-GCRJEZYD.js.br +0 -0
- package/build/runtime-vignette-GCRJEZYD.js.gz +0 -0
- package/build/{runtime-webgpu-ROHAID67.js → runtime-webgpu-PMTSBK7A.js} +1 -1
- package/build/runtime-webgpu-PMTSBK7A.js.br +0 -0
- package/build/runtime-webgpu-PMTSBK7A.js.gz +0 -0
- package/build/runtime.cjs +7 -7
- 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-bloom-KUVUF3MS.js.br +0 -0
- package/build/runtime-bloom-KUVUF3MS.js.gz +0 -0
- package/build/runtime-brightnessContrast-RZIPSXZD.js.br +0 -0
- package/build/runtime-brightnessContrast-RZIPSXZD.js.gz +0 -0
- package/build/runtime-chromaticAberration-VWSDDXVP.js.br +0 -0
- package/build/runtime-chromaticAberration-VWSDDXVP.js.gz +0 -0
- package/build/runtime-chunk-3UHEFC7E.js.br +0 -0
- package/build/runtime-chunk-3UHEFC7E.js.gz +0 -0
- package/build/runtime-chunk-4K4MHZCN.js.br +0 -1
- package/build/runtime-chunk-4K4MHZCN.js.gz +0 -0
- package/build/runtime-chunk-5ZJKH7AZ.js.br +0 -0
- package/build/runtime-chunk-5ZJKH7AZ.js.gz +0 -0
- package/build/runtime-chunk-6DVO6Z2C.js.br +0 -0
- package/build/runtime-chunk-6DVO6Z2C.js.gz +0 -0
- package/build/runtime-chunk-7CIS3RJQ.js.br +0 -0
- package/build/runtime-chunk-7CIS3RJQ.js.gz +0 -0
- package/build/runtime-chunk-7CYLYBQ5.js.br +0 -0
- package/build/runtime-chunk-7CYLYBQ5.js.gz +0 -0
- package/build/runtime-chunk-ATO2EGQZ.js.br +0 -0
- package/build/runtime-chunk-ATO2EGQZ.js.gz +0 -0
- package/build/runtime-chunk-CEICEMMU.js.br +0 -3
- package/build/runtime-chunk-CEICEMMU.js.gz +0 -0
- package/build/runtime-chunk-CZ5BOMDR.js.gz +0 -0
- package/build/runtime-chunk-EIR6AEKJ.js.br +0 -0
- package/build/runtime-chunk-EIR6AEKJ.js.gz +0 -0
- package/build/runtime-chunk-EWDNCAKN.js.br +0 -0
- package/build/runtime-chunk-EWDNCAKN.js.gz +0 -0
- package/build/runtime-chunk-FOSFTPCW.js.br +0 -0
- package/build/runtime-chunk-FOSFTPCW.js.gz +0 -0
- package/build/runtime-chunk-FY7AWKJV.js.br +0 -0
- package/build/runtime-chunk-FY7AWKJV.js.gz +0 -0
- package/build/runtime-chunk-H3EUOEVG.js.br +0 -0
- package/build/runtime-chunk-H3EUOEVG.js.gz +0 -0
- package/build/runtime-chunk-HLKBJOJR.js.br +0 -0
- package/build/runtime-chunk-HLKBJOJR.js.gz +0 -0
- package/build/runtime-chunk-INE6H4OE.js.br +0 -0
- package/build/runtime-chunk-INE6H4OE.js.gz +0 -0
- package/build/runtime-chunk-IXSYZOUH.js.gz +0 -0
- package/build/runtime-chunk-LX7GMLDZ.js.br +0 -0
- package/build/runtime-chunk-LX7GMLDZ.js.gz +0 -0
- package/build/runtime-chunk-MYD4GPIH.js.br +0 -0
- package/build/runtime-chunk-MYD4GPIH.js.gz +0 -0
- package/build/runtime-chunk-P5TM33Y6.js.br +0 -0
- package/build/runtime-chunk-P5TM33Y6.js.gz +0 -0
- package/build/runtime-chunk-PSEXY7SH.js.br +0 -0
- package/build/runtime-chunk-PSEXY7SH.js.gz +0 -0
- package/build/runtime-chunk-RBTWRPRA.js.br +0 -0
- package/build/runtime-chunk-RBTWRPRA.js.gz +0 -0
- package/build/runtime-chunk-SKPGCNMT.js.br +0 -0
- package/build/runtime-chunk-SKPGCNMT.js.gz +0 -0
- package/build/runtime-chunk-TWPMCRN2.js.br +0 -0
- package/build/runtime-chunk-TWPMCRN2.js.gz +0 -0
- package/build/runtime-chunk-VGSGDMZ7.js.gz +0 -0
- package/build/runtime-chunk-X3Z7FXJJ.js.br +0 -0
- package/build/runtime-chunk-X3Z7FXJJ.js.gz +0 -0
- package/build/runtime-chunk-YKB4J25U.js.br +0 -0
- package/build/runtime-chunk-YKB4J25U.js.gz +0 -0
- package/build/runtime-classicRuntime-RLY6VXCY.js.br +0 -0
- package/build/runtime-classicRuntime-RLY6VXCY.js.gz +0 -0
- package/build/runtime-cloners-OUOZ32NU.js.br +0 -0
- package/build/runtime-cloners-OUOZ32NU.js.gz +0 -0
- package/build/runtime-components-A753C44O.js.br +0 -0
- package/build/runtime-components-A753C44O.js.gz +0 -0
- package/build/runtime-createDestroy-TBN2HEPC.js.br +0 -0
- package/build/runtime-createDestroy-TBN2HEPC.js.gz +0 -0
- package/build/runtime-depthOfField-KIFXOXXV.js.br +0 -0
- package/build/runtime-depthOfField-KIFXOXXV.js.gz +0 -0
- package/build/runtime-dragDrop-F5DRXQJG.js.br +0 -0
- package/build/runtime-dragDrop-F5DRXQJG.js.gz +0 -0
- package/build/runtime-gameControls-LN7QTWOJ.js.br +0 -0
- package/build/runtime-gameControls-LN7QTWOJ.js.gz +0 -0
- package/build/runtime-hair-62GDZFKO.js.br +0 -4
- package/build/runtime-hair-62GDZFKO.js.gz +0 -0
- package/build/runtime-hueSaturation-7KRUX22J.js.br +0 -0
- package/build/runtime-hueSaturation-7KRUX22J.js.gz +0 -0
- package/build/runtime-mergeStaticGeometries-Y2KHHJ3J.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-Y2KHHJ3J.js.gz +0 -0
- package/build/runtime-miscActions-XAGVFXC6.js.br +0 -0
- package/build/runtime-miscActions-XAGVFXC6.js.gz +0 -0
- package/build/runtime-mouseHover-YQZLDCNA.js.br +0 -0
- package/build/runtime-mouseHover-YQZLDCNA.js.gz +0 -0
- package/build/runtime-noise-PHKL2HZA.js.br +0 -0
- package/build/runtime-noise-PHKL2HZA.js.gz +0 -0
- package/build/runtime-particles-SVDWTK6P.js.br +0 -0
- package/build/runtime-particles-SVDWTK6P.js.gz +0 -0
- package/build/runtime-paths-V3MZPDGM.js.br +0 -0
- package/build/runtime-paths-V3MZPDGM.js.gz +0 -0
- package/build/runtime-pixelation-E3T2655N.js.br +0 -0
- package/build/runtime-pixelation-E3T2655N.js.gz +0 -0
- package/build/runtime-resize-A44LZEWS.js.br +0 -0
- package/build/runtime-resize-A44LZEWS.js.gz +0 -0
- package/build/runtime-sceneTransition-FKJQSTTM.js.br +0 -0
- package/build/runtime-sceneTransition-FKJQSTTM.js.gz +0 -0
- package/build/runtime-scroll-HETPT43A.js.br +0 -0
- package/build/runtime-scroll-HETPT43A.js.gz +0 -0
- package/build/runtime-shapeBlends-NYIF2I5D.js +0 -1
- package/build/runtime-shapeBlends-NYIF2I5D.js.br +0 -2
- package/build/runtime-shapeBlends-NYIF2I5D.js.gz +0 -0
- package/build/runtime-text-PYFNPMFC.js.br +0 -0
- package/build/runtime-text-PYFNPMFC.js.gz +0 -0
- package/build/runtime-textInputs-RZ6K5HUH.js.br +0 -0
- package/build/runtime-textInputs-RZ6K5HUH.js.gz +0 -0
- package/build/runtime-timeline-WCZ7STYE.js.br +0 -0
- package/build/runtime-timeline-WCZ7STYE.js.gz +0 -0
- package/build/runtime-tracking-2HA2B7J7.js.br +0 -0
- package/build/runtime-tracking-2HA2B7J7.js.gz +0 -0
- package/build/runtime-transitions-S5EKXVZM.js.br +0 -0
- package/build/runtime-transitions-S5EKXVZM.js.gz +0 -0
- package/build/runtime-ui2d-4HZUC2SJ.js.br +0 -0
- package/build/runtime-ui2d-4HZUC2SJ.js.gz +0 -0
- package/build/runtime-vectorShapes-BSMXQN4R.js.br +0 -0
- package/build/runtime-vectorShapes-BSMXQN4R.js.gz +0 -0
- package/build/runtime-vignette-DCUNX3SW.js.br +0 -0
- package/build/runtime-vignette-DCUNX3SW.js.gz +0 -0
- package/build/runtime-webgpu-ROHAID67.js.br +0 -0
- package/build/runtime-webgpu-ROHAID67.js.gz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,b as t}from"./runtime-chunk-LX7GMLDZ.js";import{a as r,b as i,c as s,d as o}from"./runtime-chunk-ATO2EGQZ.js";import{ia as a}from"./runtime-chunk-INE6H4OE.js";import{h as n,o as h,p,q as c,r as m,s as d,t as l,v as u}from"./runtime-chunk-IXSYZOUH.js";import{f}from"./runtime-chunk-RTLL6WIB.js";import{i as g}from"./runtime-chunk-2PT2WH66.js";import{K as y,za as v}from"./runtime-chunk-H3ODKGZ7.js";import{Ce as C,Gc as T,Hc as b,Qc as j,Tc as w,Vc as M,dd as P,fd as x,wd as O,we as A,yd as _,ye as S,ze as F}from"./runtime-chunk-KPOUV3HD.js";var D=new b,W=new S,U=class extends _{constructor(e){let t=new x,r=new O({color:16777215,vertexColors:!0,toneMapped:!1}),i=[],s=[],o={},a=new M(15711266),n=new M(15711266),h=new M(2857471);function p(e,t,r){c(e,r),c(t,r)}function c(e,t){i.push(0,0,0),s.push(t.r,t.g,t.b),void 0===o[e]&&(o[e]=[]),o[e].push(i.length/3-1)}p("n1","n2",a),p("n2","n4",a),p("n4","n3",a),p("n3","n1",a),p("f1","f2",a),p("f2","f4",a),p("f4","f3",a),p("f3","f1",a),p("n1","f1",a),p("n2","f2",a),p("n3","f3",a),p("n4","f4",a),p("p","n1",n),p("p","n2",n),p("p","n3",n),p("p","n4",n),p("u1","u2",h),p("u2","u3",h),p("u3","u1",h),t.setAttribute("position",new P(i,3)),t.setAttribute("color",new P(s,3)),super(t,r),this.type="CameraHelper",this.camera=e,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=o,this.update()}update(){let e=this.geometry,t=this.pointMap;W.projectionMatrixInverse.elements=[.5112609807824982,-0,-0,-0,-0,.41421356237309503,-0,-0,-0,-0,-0,-.099999,-0,-0,-1.0000000000000002,.100001];let r=.8;V("n1",t,e,W,-1,-1,r),V("n2",t,e,W,1,-1,r),V("n3",t,e,W,-1,1,r),V("n4",t,e,W,1,1,r);let i=r;V("f1",t,e,W,-1,-1,i),V("f2",t,e,W,1,-1,i),V("f3",t,e,W,-1,1,i),V("f4",t,e,W,1,1,i);let s=i;V("u1",t,e,W,.35,1.1,s),V("u2",t,e,W,-.35,1.1,s),V("u3",t,e,W,0,1.55,s),e.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}};function V(e,t,r,i,s,o,a){D.set(s,o,a).unproject(i);let n=t[e];if(void 0!==n){let e=r.getAttribute("position");for(let t=0,r=n.length;t<r;t++)e.setXYZ(n[t],D.x,D.y,D.z)}}var I=class extends(r(U)){constructor(e){super(e),this.object=e,this.name=`CombinedCameraHelper: ${e.uuid}`}updateMatrixWorld(e){super.updateMatrixWorld(e),this.updateTarget()}updateTarget(){let e=this.object.getTarget();this.updateWorldMatrix(!0,!1),this.worldToLocal(e)}raycast(e,t){i(this.object,this.geometry,e,t,!0)}};function z(e){return 1-Math.pow(1-e,3)}var B=new b,H=new b,E=new T,k=new b,L=new b,R=new b,q=class extends(o(S,I)){constructor(e="",t={...v.defaultData,name:""}){super(),this._cameraType="OrthographicCamera",this.targetOffset=y.DefaultTargetOffset,this.isUpVectorFlipped=!1,this.angleOffsetFromUp=0,this.wasMovedByUser=!1,this.wasMovedBySwitchCameraAction=!1,this._createdAt=typeof performance<"u"?performance.now():0,this._tickProjectionTransition=()=>{let e=this._projectionTransition;if(void 0===e)return;if(this.disposed)return void this._endProjectionTransition();e.raf=requestAnimationFrame(this._tickProjectionTransition);let t=q.projectionTransitionRequestRender??e.requestRender;this.updateProjectionMatrix(),t?.()},this.super_Entity(e,t),this.previousProjectionMatrix=new j,this.matrixAutoUpdate=!0,this.width=window.innerWidth,this.height=window.innerHeight;let r=this.width,i=this.height;this.orthoCamera=new C(-.5*r,.5*r,.5*i,-.5*i,-5e4,1e4),this.perspCamera=new F(45,r/i,50,1e4),this.left=this.orthoCamera.left,this.right=this.orthoCamera.right,this.top=this.orthoCamera.top,this.bottom=this.orthoCamera.bottom,this.far=this.orthoCamera.far,this.view=this.orthoCamera.view,this.aspect=this.perspCamera.aspect,this.focus=this.perspCamera.focus,this.filmGauge=this.perspCamera.filmGauge,this.filmOffset=this.perspCamera.filmOffset,this.objectHelper.update()}static withoutProjectionTransition(e){let t=q.projectionTransitionsEnabled;q.projectionTransitionsEnabled=!1;try{return e()}finally{q.projectionTransitionsEnabled=t}}get isPerspectiveCamera(){return"PerspectiveCamera"===this.cameraType}get isOrthographicCamera(){return!this.isPerspectiveCamera}get cameraType(){return this._cameraType}set fov(e){this.perspCamera.fov=e}get fov(){return this.perspCamera.fov}setNear(e,t){"PerspectiveCamera"===e?this.perspCamera.near=t:this.orthoCamera.near=t}setZoom(e,t){t>=0&&("PerspectiveCamera"===e?this.perspCamera.zoom=t:this.orthoCamera.zoom=t)}set cameraType(e){"PerspectiveCamera"===e?this.toPerspective():"OrthographicCamera"===e&&this.toOrthographic()}get near(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.near:this.orthoCamera.near}set near(e){"PerspectiveCamera"===this._cameraType?this.perspCamera.near=e:this.orthoCamera.near=e}get zoom(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.zoom:this.orthoCamera.zoom}set zoom(e){e>=0&&("PerspectiveCamera"===this._cameraType?this.perspCamera.zoom=e:this.orthoCamera.zoom=e)}lookAt(e,t,r){"number"==typeof e&&(e=new b(e,t,r)),super.lookAt(e),this.getWorldPosition(B),this.targetOffset=B.distanceTo(e)}getTarget(e=new b){return this.getWorldDirection(H),this.getWorldPosition(B),H.multiplyScalar(this.targetOffset),e.copy(B).add(H),e}getDistanceToTarget(){let e=this.getTarget();return this.getWorldPosition(B),B.distanceTo(e)}updateUp(){this.getWorldQuaternion(E),k.set(0,0,1).applyQuaternion(E),L.copy(w.DEFAULT_UP),this.isUpVectorFlipped&&L.negate(),L.applyQuaternion(E),R.copy(w.DEFAULT_UP).projectOnPlane(k),this.angleOffsetFromUp=R.angleTo(L),this.angleOffsetFromUp*=R.cross(L).dot(k)>=0?1:-1}updateTransformState(e,t){let r=super.updateTransformState(e,t);return void 0!==e.isUpVectorFlipped&&(this.isUpVectorFlipped=e.isUpVectorFlipped),this.updateUp(),r}getViewFrontToObject(e){let t=e.getWorldPosition(new b),r=e.getWorldDirection(new b).multiplyScalar(this.targetOffset);return{position:t.clone().add(r),target:t}}getViewToTarget(e){let t=this.getWorldDirection(new b).multiplyScalar(this.targetOffset);return{position:e.clone().sub(t),target:e}}getViewToObject(e){let t=new b;return e.getWorldPosition(t),this.getViewToTarget(t)}setViewplaneSize(e,t,r=!1){if(this.aspect=e/t,r){let r=e>t?this.aspect:1,i=e>t?1:this.aspect;this.left=-395*r,this.right=395*r,this.top=1/i*395,this.bottom=1/i*-395}else this.left=.5*-e,this.right=.5*e,this.top=.5*t,this.bottom=.5*-t;this.updateProjectionMatrix()}copyViewPlaneSize(e){this.aspect=e.aspect,this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.updateProjectionMatrix()}toOrthographic(){this.orthoCamera.left=this.left,this.orthoCamera.right=this.right,this.orthoCamera.top=this.top,this.orthoCamera.bottom=this.bottom,this.orthoCamera.view=this.view,this.orthoCamera.far=this.far,this.orthoCamera.updateProjectionMatrix(),this.projectionMatrix=this.orthoCamera.projectionMatrix,this.projectionMatrixInverse=this.orthoCamera.projectionMatrixInverse,this._cameraType="OrthographicCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}toPerspective(){this.perspCamera.aspect=this.aspect,this.perspCamera.fov=this.fov,this.perspCamera.view=this.view,this.perspCamera.far=this.far,this.perspCamera.updateProjectionMatrix(),this.projectionMatrix=this.perspCamera.projectionMatrix,this.projectionMatrixInverse=this.perspCamera.projectionMatrixInverse,this._cameraType="PerspectiveCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}get isProjectionTransitioning(){return void 0!==this._projectionTransition}get projectionTransitionProgress(){let e=this._projectionTransition;if(void 0===e)return 1;let t=(performance.now()-e.start)/e.duration;return t>=1?1:t<=0?0:z(t)}get _activeSubCamera(){return"PerspectiveCamera"===this._cameraType?this.perspCamera:this.orthoCamera}_canAnimateProjection(){return q.projectionTransitionsEnabled&&"function"==typeof requestAnimationFrame&&typeof performance<"u"&&performance.now()-this._createdAt>=q.projectionTransitionMinAgeMs}_beginProjectionTransition(e){let t=this._projectionTransition;void 0===t&&(t={from:new j,blend:new j,blendInverse:new j,start:0,duration:q.projectionTransitionDuration,referenceDepth:1,raf:0,requestRender:e},this._projectionTransition=t),t.from.copy(this.projectionMatrix),t.start=performance.now(),t.duration=q.projectionTransitionDuration,t.referenceDepth=Number.isFinite(this.targetOffset)?Math.max(1,this.targetOffset):1,e&&(t.requestRender=e),0!==t.raf&&cancelAnimationFrame(t.raf),t.raf=requestAnimationFrame(this._tickProjectionTransition)}_applyProjectionTransition(){let e=this._projectionTransition;if(void 0===e)return;let t=(performance.now()-e.start)/e.duration;if(t>=1)return void this._endProjectionTransition();let r=z(t),i=e.from.elements,s=this._activeSubCamera.projectionMatrix.elements,o=e.blend.elements,a=e.referenceDepth,n=Math.max(1e-6,i[15]-i[11]*a),h=r*n/(r*n+(1-r)*Math.max(1e-6,s[15]-s[11]*a));for(let e=0;e<16;e++)o[e]=i[e]+(s[e]-i[e])*h;e.blendInverse.copy(e.blend).invert(),this.projectionMatrix=e.blend,this.projectionMatrixInverse=e.blendInverse}_endProjectionTransition(){let e=this._projectionTransition;if(void 0===e)return;0!==e.raf&&cancelAnimationFrame(e.raf),this._projectionTransition=void 0;let t=this._activeSubCamera;this.projectionMatrix=t.projectionMatrix,this.projectionMatrixInverse=t.projectionMatrixInverse}_syncProjectionTransition(e){let t=e._projectionTransition;if(void 0===t)return void(void 0!==this._projectionTransition&&this._endProjectionTransition());let r=this._projectionTransition;void 0===r?(r={from:new j,blend:new j,blendInverse:new j,start:0,duration:1,referenceDepth:1,raf:0,requestRender:void 0},this._projectionTransition=r):0!==r.raf&&(cancelAnimationFrame(r.raf),r.raf=0),r.requestRender=void 0,r.from.copy(t.from),r.start=t.start,r.duration=t.duration,r.referenceDepth=t.referenceDepth,this._applyProjectionTransition()}setFocalLength(e){this.perspCamera.setFocalLength(e),this.toPerspective()}getFocalLength(){return this.perspCamera.getFocalLength()}getEffectiveFOV(){return this.perspCamera.getEffectiveFOV()}getFilmWidth(){return this.perspCamera.getFilmWidth()}getFilmHeight(){return this.perspCamera.getFilmHeight()}setViewOffset(e,t,r,i,s,o){"PerspectiveCamera"===this._cameraType?this.perspCamera.setViewOffset(e,t,r,i,s,o):this.orthoCamera.setViewOffset(e,t,r,i,s,o),this._applyProjectionTransition()}clearViewOffset(){"PerspectiveCamera"===this._cameraType?(this.perspCamera.clearViewOffset(),this.toPerspective()):(this.orthoCamera.clearViewOffset(),this.toOrthographic())}copyHistory(){this.previousProjectionMatrix&&this.previousProjectionMatrix.copy(this.projectionMatrix)}updateProjectionMatrix(){"PerspectiveCamera"===this._cameraType?this.toPerspective():"OrthographicCamera"===this._cameraType&&this.toOrthographic()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}copy(e,t){return super.copy(e,t),this.parent=e.parent,this.orthoCamera.copy(e.orthoCamera),this.perspCamera.copy(e.perspCamera),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.far=e.far,this.view=null===e.view?null:Object.assign({},e.view),this._cameraType=e._cameraType,this.aspect=e.aspect,this.fov=e.fov,this.focus=e.focus,this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this.targetOffset=y.sanitizeTargetOffset(e.targetOffset),this.updateProjectionMatrix(),this._syncProjectionTransition(e),this}toCameraState(e=[]){let t={type:this.cameraType,far:this.far,orthographic:{near:this.orthoCamera.near,zoom:this.orthoCamera.zoom},perspective:{near:this.perspCamera.near,fov:this.perspCamera.fov,zoom:this.perspCamera.zoom},up:this.up.toArray(),targetOffset:this.targetOffset,isUpVectorFlipped:this.isUpVectorFlipped};return f(t,e)}updateCameraSubtype(e,t){let r="perspective"===e?"PerspectiveCamera":"OrthographicCamera";void 0!==t.zoom&&this.setZoom(r,t.zoom),void 0!==t.near&&this.setNear(r,t.near),void 0!==t.fov&&"PerspectiveCamera"===r&&(this.fov=t.fov)}updateState(e,t){this.updateCameraState(e,t)}updateCameraState(e,t){this.updateState_Entity(e,t),void 0!==e.far&&(this.far=e.far),void 0!==e.orthographic&&this.updateCameraSubtype("orthographic",e.orthographic),void 0!==e.perspective&&this.updateCameraSubtype("perspective",e.perspective),void 0!==e.type&&(e.type!==this._cameraType&&this._canAnimateProjection()&&this._beginProjectionTransition(t?.shared.requestRender),this.cameraType=e.type),void 0!==e.up&&this.up.fromArray(e.up.map(e=>"number"==typeof e?e:0)),void 0!==e.targetOffset&&(this.targetOffset=y.sanitizeTargetOffset(e.targetOffset)),void 0!==e.isUpVectorFlipped&&(this.isUpVectorFlipped=e.isUpVectorFlipped),this.updateProjectionMatrix()}updateByPatchedOp(e,t,r){super.updateByPatchedOp(e,t,r),1===e.path.length&&0===e.type&&this.updateCameraSubtype(e.path[0],e.props)}toState(e){return{...super.toState(e),...this.toCameraState(e),type:this.cameraType}}},G=q;G.projectionTransitionsEnabled=!1,G.projectionTransitionDuration=350,G.projectionTransitionMinAgeMs=1e3;var Z=new j,N=new j,Q=new j,K=new j,X=new j;function Y(e){let t=!1;return e.scene.objects.traverse((e,r)=>{"BooleanGeometry"===r.geometry?.type&&(t=!0)}),t}function $(e,t){let r=e.cloner;return void 0!==r&&r.parent===t?r:void 0}var J=new Float32Array(0);function ee(e,t,r,i){let s=16*(t.children.length+1);J.length<s&&(J=new Float32Array(s));let o=0,a=e=>{e.toArray(J,16*o),o++},n=!0!==t.parameters.hideBase;n&&a(i),Q.copy(e.matrix);for(let e of t.children)!g(e)||!1===e.playModeVisible||(K.copy(e.matrix).multiply(e.pivotMatrix),X.multiplyMatrices(Q,K),(!n||!X.equals(i))&&a(X));try{return 0===o?0:l(r,J.subarray(0,16*o))}finally{d(r)}}var te,re=class extends a{constructor(e,t,r){super(e,t),this.data=t,this.meshSetAddresses=[],this.needsTransformForDownstream=!1,this.geometry=new x,this.onAfterRender=(e,t,r,i,s,o)=>{super.onAfterRender(e,t,r,i,s,o),this.recomputeBoolean()},this.geometry.userData.parameters={width:0,height:0,depth:0}}get booleanOp(){return this.data.geometry.operation}get phongAngle(){return this.data.geometry.phongAngle??45}get isLOD(){return this.recomputeBoolean(),!1}updateByPatchedOp(e,t,r){super.updateByPatchedOp(e,t,r),1===e.path.length&&"geometry"===e.path[0]&&0===e.type&&void 0!==e.props.operation&&(this.freeBooleanPointer(),this.resetBBoxNeedsUpdate())}freeBooleanPointer(){super.freeBooleanPointer(),this.geometry.dispose()}recomputeBoolean(r,i=!0){if(-1!==this.booleanMeshSetAddress&&!r)return;for(let e=0;e<this.children.length;e++){let t=this.children[e];t instanceof re&&!0===t.dataPatched.visible&&t.recomputeBoolean(!0===r,i)}this.meshSetAddresses=[];for(let e=0;e<this.children.length;e++){let t=this.children[e];if(t instanceof u&&!0===t.dataPatched.visible&&t.geometry.attributes.position?.count>0&&t.geometry.drawRange.count>0&&0!==t.booleanMeshSetAddress){Z.copy(t.matrix).multiply(t.pivotMatrix);try{let e=$(t,this);if(-1===t.booleanMeshSetAddress){if((t.geometry.index??t.geometry.getAttribute("position")).count/3<15e5){let s=h(t.geometry,!0===r,i);t.booleanMeshSetAddress=void 0===e||-1===s?s:ee(t,e,s,Z)}if(-1===t.booleanMeshSetAddress)return;void 0===e&&m(t.booleanMeshSetAddress,Z),t.booleanMatrixInvOld.copy(Z).invert(),t.booleanWasTransformed=!1}else t instanceof re&&!0===t.needsTransformForDownstream?(void 0===e?m(t.booleanMeshSetAddress,Z):t.booleanMeshSetAddress=ee(t,e,t.booleanMeshSetAddress,Z),t.needsTransformForDownstream=!1):!0===t.booleanWasTransformed&&(m(t.booleanMeshSetAddress,N.multiplyMatrices(Z,t.booleanMatrixInvOld)),t.booleanMatrixInvOld.copy(Z).invert(),t.booleanWasTransformed=!1)}catch(e){console.error(e),t.booleanMeshSetAddress=0,t.geometry.userData.booleanOperationDidFail=!0;continue}if(0===t.booleanMeshSetAddress)continue;this.meshSetAddresses.push(t.booleanMeshSetAddress),t.geometry.userData.booleanOperationDidFail=!1}}if(0===this.meshSetAddresses.length){if(0!==this.geometry.getAttribute("position")?.array.length){let e=this.geometry;e.dispose(),this.geometry=new x,this.geometry.userData=e.userData,this.geometry.boundingSphere=e.boundingSphere,this.geometry.setAttribute("position",new P([],3))}return void this.geometry.setDrawRange(0,0)}if(!0===r)return c(this.meshSetAddresses,this.booleanOp);let s=this.geometry;s.dispose(),this.geometry=new x,this.geometry.userData=s.userData,this.geometry.boundingSphere=s.boundingSphere;try{this.booleanMeshSetAddress=p(this.meshSetAddresses,this.booleanOp,this.geometry,this.phongAngle)}catch(e){this.booleanMeshSetAddress=0,this.geometry.userData.booleanOperationDidFail=!0,console.error(e)}this.booleanMatrixInvOld.copy(this.matrix).invert(),this.needsTransformForDownstream=!0,e(this),t(this)}dispose(){super.dispose(),this.geometry.dispose()}};(te||(te={})).is=function(e){return n.is(e)&&e instanceof A};var ie=(e,t)=>class extends(o(e,t)){updateState_Light(e,t){if(this.updateState_Entity(e,t),void 0!==e.color&&(this.color=t.shared.color(e.color)),void 0!==e.intensity&&(this.intensity=e.intensity*Math.PI),void 0!==e.depth){let t=this.shadow;t.camera.far=e.depth,t.needsUpdate=!0}void 0!==e.shadows&&(this.castShadow=e.shadows)}},se=e=>e instanceof u,oe=e=>null!==e&&e instanceof re,ae=e=>s.is(e);export{G as a,Y as b,re as c,te as d,ie as e,se as f,oe as g,ae as h};
|
|
1
|
+
import{a as e,b as t}from"./runtime-chunk-UIZX6MQD.js";import{a as r,b as i,c as s,d as o}from"./runtime-chunk-4BTNQ4XZ.js";import{ia as a}from"./runtime-chunk-44ONHPC4.js";import{h as n,o as h,p,q as c,r as m,s as d,t as l,v as u}from"./runtime-chunk-VKGMCBOI.js";import{f}from"./runtime-chunk-RTLL6WIB.js";import{i as g}from"./runtime-chunk-2PT2WH66.js";import{K as y,za as v}from"./runtime-chunk-H3ODKGZ7.js";import{Ce as C,Gc as T,Hc as b,Qc as j,Tc as w,Vc as M,dd as P,fd as x,wd as O,we as A,yd as _,ye as S,ze as F}from"./runtime-chunk-KPOUV3HD.js";var D=new b,W=new S,V=class extends _{constructor(e){let t=new x,r=new O({color:16777215,vertexColors:!0,toneMapped:!1}),i=[],s=[],o={},a=new M(15711266),n=new M(15711266),h=new M(2857471);function p(e,t,r){c(e,r),c(t,r)}function c(e,t){i.push(0,0,0),s.push(t.r,t.g,t.b),void 0===o[e]&&(o[e]=[]),o[e].push(i.length/3-1)}p("n1","n2",a),p("n2","n4",a),p("n4","n3",a),p("n3","n1",a),p("f1","f2",a),p("f2","f4",a),p("f4","f3",a),p("f3","f1",a),p("n1","f1",a),p("n2","f2",a),p("n3","f3",a),p("n4","f4",a),p("p","n1",n),p("p","n2",n),p("p","n3",n),p("p","n4",n),p("u1","u2",h),p("u2","u3",h),p("u3","u1",h),t.setAttribute("position",new P(i,3)),t.setAttribute("color",new P(s,3)),super(t,r),this.type="CameraHelper",this.camera=e,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=o,this.update()}update(){let e=this.geometry,t=this.pointMap;W.projectionMatrixInverse.elements=[.5112609807824982,-0,-0,-0,-0,.41421356237309503,-0,-0,-0,-0,-0,-.099999,-0,-0,-1.0000000000000002,.100001];let r=.8;U("n1",t,e,W,-1,-1,r),U("n2",t,e,W,1,-1,r),U("n3",t,e,W,-1,1,r),U("n4",t,e,W,1,1,r);let i=r;U("f1",t,e,W,-1,-1,i),U("f2",t,e,W,1,-1,i),U("f3",t,e,W,-1,1,i),U("f4",t,e,W,1,1,i);let s=i;U("u1",t,e,W,.35,1.1,s),U("u2",t,e,W,-.35,1.1,s),U("u3",t,e,W,0,1.55,s),e.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}};function U(e,t,r,i,s,o,a){D.set(s,o,a).unproject(i);let n=t[e];if(void 0!==n){let e=r.getAttribute("position");for(let t=0,r=n.length;t<r;t++)e.setXYZ(n[t],D.x,D.y,D.z)}}var I=class extends(r(V)){constructor(e){super(e),this.object=e,this.name=`CombinedCameraHelper: ${e.uuid}`}updateMatrixWorld(e){super.updateMatrixWorld(e),this.updateTarget()}updateTarget(){let e=this.object.getTarget();this.updateWorldMatrix(!0,!1),this.worldToLocal(e)}raycast(e,t){i(this.object,this.geometry,e,t,!0)}};function z(e){return 1-Math.pow(1-e,3)}var B=new b,H=new b,k=new T,R=new b,q=new b,E=new b,L=class extends(o(S,I)){constructor(e="",t={...v.defaultData,name:""}){super(),this._cameraType="OrthographicCamera",this.targetOffset=y.DefaultTargetOffset,this.isUpVectorFlipped=!1,this.angleOffsetFromUp=0,this.wasMovedByUser=!1,this.wasMovedBySwitchCameraAction=!1,this._createdAt=typeof performance<"u"?performance.now():0,this._tickProjectionTransition=()=>{let e=this._projectionTransition;if(void 0===e)return;if(this.disposed)return void this._endProjectionTransition();e.raf=requestAnimationFrame(this._tickProjectionTransition);let t=L.projectionTransitionRequestRender??e.requestRender;this.updateProjectionMatrix(),t?.()},this.super_Entity(e,t),this.previousProjectionMatrix=new j,this.matrixAutoUpdate=!0,this.width=window.innerWidth,this.height=window.innerHeight;let r=this.width,i=this.height;this.orthoCamera=new C(-.5*r,.5*r,.5*i,-.5*i,-5e4,1e4),this.perspCamera=new F(45,r/i,50,1e4),this.left=this.orthoCamera.left,this.right=this.orthoCamera.right,this.top=this.orthoCamera.top,this.bottom=this.orthoCamera.bottom,this.far=this.orthoCamera.far,this.view=this.orthoCamera.view,this.aspect=this.perspCamera.aspect,this.focus=this.perspCamera.focus,this.filmGauge=this.perspCamera.filmGauge,this.filmOffset=this.perspCamera.filmOffset,this.objectHelper.update()}static withoutProjectionTransition(e){let t=L.projectionTransitionsEnabled;L.projectionTransitionsEnabled=!1;try{return e()}finally{L.projectionTransitionsEnabled=t}}get isPerspectiveCamera(){return"PerspectiveCamera"===this.cameraType}get isOrthographicCamera(){return!this.isPerspectiveCamera}get cameraType(){return this._cameraType}set fov(e){this.perspCamera.fov=e}get fov(){return this.perspCamera.fov}setNear(e,t){"PerspectiveCamera"===e?this.perspCamera.near=t:this.orthoCamera.near=t}setZoom(e,t){t>=0&&("PerspectiveCamera"===e?this.perspCamera.zoom=t:this.orthoCamera.zoom=t)}set cameraType(e){"PerspectiveCamera"===e?this.toPerspective():"OrthographicCamera"===e&&this.toOrthographic()}get near(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.near:this.orthoCamera.near}set near(e){"PerspectiveCamera"===this._cameraType?this.perspCamera.near=e:this.orthoCamera.near=e}get zoom(){return"PerspectiveCamera"===this._cameraType?this.perspCamera.zoom:this.orthoCamera.zoom}set zoom(e){e>=0&&("PerspectiveCamera"===this._cameraType?this.perspCamera.zoom=e:this.orthoCamera.zoom=e)}lookAt(e,t,r){"number"==typeof e&&(e=new b(e,t,r)),super.lookAt(e),this.getWorldPosition(B),this.targetOffset=B.distanceTo(e)}getTarget(e=new b){return this.getWorldDirection(H),this.getWorldPosition(B),H.multiplyScalar(this.targetOffset),e.copy(B).add(H),e}getDistanceToTarget(){let e=this.getTarget();return this.getWorldPosition(B),B.distanceTo(e)}updateUp(){this.getWorldQuaternion(k),R.set(0,0,1).applyQuaternion(k),q.copy(w.DEFAULT_UP),this.isUpVectorFlipped&&q.negate(),q.applyQuaternion(k),E.copy(w.DEFAULT_UP).projectOnPlane(R),this.angleOffsetFromUp=E.angleTo(q),this.angleOffsetFromUp*=E.cross(q).dot(R)>=0?1:-1}updateTransformState(e,t){let r=super.updateTransformState(e,t);return void 0!==e.isUpVectorFlipped&&(this.isUpVectorFlipped=e.isUpVectorFlipped),this.updateUp(),r}getViewFrontToObject(e){let t=e.getWorldPosition(new b),r=e.getWorldDirection(new b).multiplyScalar(this.targetOffset);return{position:t.clone().add(r),target:t}}getViewToTarget(e){let t=this.getWorldDirection(new b).multiplyScalar(this.targetOffset);return{position:e.clone().sub(t),target:e}}getViewToObject(e){let t=new b;return e.getWorldPosition(t),this.getViewToTarget(t)}setViewplaneSize(e,t,r=!1){if(this.aspect=e/t,r){let r=e>t?this.aspect:1,i=e>t?1:this.aspect;this.left=-395*r,this.right=395*r,this.top=1/i*395,this.bottom=1/i*-395}else this.left=.5*-e,this.right=.5*e,this.top=.5*t,this.bottom=.5*-t;this.updateProjectionMatrix()}copyViewPlaneSize(e){this.aspect=e.aspect,this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.updateProjectionMatrix()}toOrthographic(){this.orthoCamera.left=this.left,this.orthoCamera.right=this.right,this.orthoCamera.top=this.top,this.orthoCamera.bottom=this.bottom,this.orthoCamera.view=this.view,this.orthoCamera.far=this.far,this.orthoCamera.updateProjectionMatrix(),this.projectionMatrix=this.orthoCamera.projectionMatrix,this.projectionMatrixInverse=this.orthoCamera.projectionMatrixInverse,this._cameraType="OrthographicCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}toPerspective(){this.perspCamera.aspect=this.aspect,this.perspCamera.fov=this.fov,this.perspCamera.view=this.view,this.perspCamera.far=this.far,this.perspCamera.updateProjectionMatrix(),this.projectionMatrix=this.perspCamera.projectionMatrix,this.projectionMatrixInverse=this.perspCamera.projectionMatrixInverse,this._cameraType="PerspectiveCamera",this._applyProjectionTransition(),this.objectHelper&&this.objectHelper.update()}get isProjectionTransitioning(){return void 0!==this._projectionTransition}get projectionTransitionProgress(){let e=this._projectionTransition;if(void 0===e)return 1;let t=(performance.now()-e.start)/e.duration;return t>=1?1:t<=0?0:z(t)}get _activeSubCamera(){return"PerspectiveCamera"===this._cameraType?this.perspCamera:this.orthoCamera}_canAnimateProjection(){return L.projectionTransitionsEnabled&&"function"==typeof requestAnimationFrame&&typeof performance<"u"&&performance.now()-this._createdAt>=L.projectionTransitionMinAgeMs}_beginProjectionTransition(e){let t=this._projectionTransition;void 0===t&&(t={from:new j,blend:new j,blendInverse:new j,start:0,duration:L.projectionTransitionDuration,referenceDepth:1,raf:0,requestRender:e},this._projectionTransition=t),t.from.copy(this.projectionMatrix),t.start=performance.now(),t.duration=L.projectionTransitionDuration,t.referenceDepth=Number.isFinite(this.targetOffset)?Math.max(1,this.targetOffset):1,e&&(t.requestRender=e),0!==t.raf&&cancelAnimationFrame(t.raf),t.raf=requestAnimationFrame(this._tickProjectionTransition)}_applyProjectionTransition(){let e=this._projectionTransition;if(void 0===e)return;let t=(performance.now()-e.start)/e.duration;if(t>=1)return void this._endProjectionTransition();let r=z(t),i=e.from.elements,s=this._activeSubCamera.projectionMatrix.elements,o=e.blend.elements,a=e.referenceDepth,n=Math.max(1e-6,i[15]-i[11]*a),h=r*n/(r*n+(1-r)*Math.max(1e-6,s[15]-s[11]*a));for(let e=0;e<16;e++)o[e]=i[e]+(s[e]-i[e])*h;e.blendInverse.copy(e.blend).invert(),this.projectionMatrix=e.blend,this.projectionMatrixInverse=e.blendInverse}_endProjectionTransition(){let e=this._projectionTransition;if(void 0===e)return;0!==e.raf&&cancelAnimationFrame(e.raf),this._projectionTransition=void 0;let t=this._activeSubCamera;this.projectionMatrix=t.projectionMatrix,this.projectionMatrixInverse=t.projectionMatrixInverse}_syncProjectionTransition(e){let t=e._projectionTransition;if(void 0===t)return void(void 0!==this._projectionTransition&&this._endProjectionTransition());let r=this._projectionTransition;void 0===r?(r={from:new j,blend:new j,blendInverse:new j,start:0,duration:1,referenceDepth:1,raf:0,requestRender:void 0},this._projectionTransition=r):0!==r.raf&&(cancelAnimationFrame(r.raf),r.raf=0),r.requestRender=void 0,r.from.copy(t.from),r.start=t.start,r.duration=t.duration,r.referenceDepth=t.referenceDepth,this._applyProjectionTransition()}setFocalLength(e){this.perspCamera.setFocalLength(e),this.toPerspective()}getFocalLength(){return this.perspCamera.getFocalLength()}getEffectiveFOV(){return this.perspCamera.getEffectiveFOV()}getFilmWidth(){return this.perspCamera.getFilmWidth()}getFilmHeight(){return this.perspCamera.getFilmHeight()}setViewOffset(e,t,r,i,s,o){"PerspectiveCamera"===this._cameraType?this.perspCamera.setViewOffset(e,t,r,i,s,o):this.orthoCamera.setViewOffset(e,t,r,i,s,o),this._applyProjectionTransition()}clearViewOffset(){"PerspectiveCamera"===this._cameraType?(this.perspCamera.clearViewOffset(),this.toPerspective()):(this.orthoCamera.clearViewOffset(),this.toOrthographic())}copyHistory(){this.previousProjectionMatrix&&this.previousProjectionMatrix.copy(this.projectionMatrix)}updateProjectionMatrix(){"PerspectiveCamera"===this._cameraType?this.toPerspective():"OrthographicCamera"===this._cameraType&&this.toOrthographic()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}copy(e,t){return super.copy(e,t),this.parent=e.parent,this.orthoCamera.copy(e.orthoCamera),this.perspCamera.copy(e.perspCamera),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.far=e.far,this.view=null===e.view?null:Object.assign({},e.view),this._cameraType=e._cameraType,this.aspect=e.aspect,this.fov=e.fov,this.focus=e.focus,this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this.targetOffset=y.sanitizeTargetOffset(e.targetOffset),this.updateProjectionMatrix(),this._syncProjectionTransition(e),this}toCameraState(e=[]){let t={type:this.cameraType,far:this.far,orthographic:{near:this.orthoCamera.near,zoom:this.orthoCamera.zoom},perspective:{near:this.perspCamera.near,fov:this.perspCamera.fov,zoom:this.perspCamera.zoom},up:this.up.toArray(),targetOffset:this.targetOffset,isUpVectorFlipped:this.isUpVectorFlipped};return f(t,e)}updateCameraSubtype(e,t){let r="perspective"===e?"PerspectiveCamera":"OrthographicCamera";void 0!==t.zoom&&this.setZoom(r,t.zoom),void 0!==t.near&&this.setNear(r,t.near),void 0!==t.fov&&"PerspectiveCamera"===r&&(this.fov=t.fov)}updateState(e,t){this.updateCameraState(e,t)}updateCameraState(e,t){this.updateState_Entity(e,t),void 0!==e.far&&(this.far=e.far),void 0!==e.orthographic&&this.updateCameraSubtype("orthographic",e.orthographic),void 0!==e.perspective&&this.updateCameraSubtype("perspective",e.perspective),void 0!==e.type&&(e.type!==this._cameraType&&this._canAnimateProjection()&&this._beginProjectionTransition(t?.shared.requestRender),this.cameraType=e.type),void 0!==e.up&&this.up.fromArray(e.up.map(e=>"number"==typeof e?e:0)),void 0!==e.targetOffset&&(this.targetOffset=y.sanitizeTargetOffset(e.targetOffset)),void 0!==e.isUpVectorFlipped&&(this.isUpVectorFlipped=e.isUpVectorFlipped),this.updateProjectionMatrix()}updateByPatchedOp(e,t,r){super.updateByPatchedOp(e,t,r),1===e.path.length&&0===e.type&&this.updateCameraSubtype(e.path[0],e.props)}toState(e){return{...super.toState(e),...this.toCameraState(e),type:this.cameraType}}},G=L;G.projectionTransitionsEnabled=!1,G.projectionTransitionDuration=350,G.projectionTransitionMinAgeMs=1e3;var N=new j,Q=new j,Z=new j,K=new j,X=new j;function Y(e){let t=!1;return e.scene.objects.traverse((e,r)=>{"BooleanGeometry"===r.geometry?.type&&(t=!0)}),t}function $(e,t){let r=e.cloner;return void 0!==r&&r.parent===t?r:void 0}var J=new Float32Array(0);function ee(e,t,r,i){let s=16*(t.children.length+1);J.length<s&&(J=new Float32Array(s));let o=0,a=e=>{e.toArray(J,16*o),o++},n=!0!==t.parameters.hideBase;n&&a(i),Z.copy(e.matrix);for(let e of t.children)!g(e)||!1===e.playModeVisible||(K.copy(e.matrix).multiply(e.pivotMatrix),X.multiplyMatrices(Z,K),(!n||!X.equals(i))&&a(X));try{return 0===o?0:l(r,J.subarray(0,16*o))}finally{d(r)}}var te,re=class extends a{constructor(e,t,r){super(e,t),this.data=t,this.meshSetAddresses=[],this.needsTransformForDownstream=!1,this.geometry=new x,this.onAfterRender=(e,t,r,i,s,o)=>{super.onAfterRender(e,t,r,i,s,o),this.recomputeBoolean()},this.geometry.userData.parameters={width:0,height:0,depth:0}}get booleanOp(){return this.data.geometry.operation}get phongAngle(){return this.data.geometry.phongAngle??45}get isLOD(){return this.recomputeBoolean(),!1}updateByPatchedOp(e,t,r){super.updateByPatchedOp(e,t,r),1===e.path.length&&"geometry"===e.path[0]&&0===e.type&&void 0!==e.props.operation&&(this.freeBooleanPointer(),this.resetBBoxNeedsUpdate())}freeBooleanPointer(){super.freeBooleanPointer(),this.geometry.dispose()}recomputeBoolean(r,i=!0){if(-1!==this.booleanMeshSetAddress&&!r)return;for(let e=0;e<this.children.length;e++){let t=this.children[e];t instanceof re&&!0===t.dataPatched.visible&&t.recomputeBoolean(!0===r,i)}this.meshSetAddresses=[];for(let e=0;e<this.children.length;e++){let t=this.children[e];if(t instanceof u&&!0===t.dataPatched.visible&&t.geometry.attributes.position?.count>0&&t.geometry.drawRange.count>0&&0!==t.booleanMeshSetAddress){N.copy(t.matrix).multiply(t.pivotMatrix);try{let e=$(t,this);if(-1===t.booleanMeshSetAddress){if((t.geometry.index??t.geometry.getAttribute("position")).count/3<15e5){let s=h(t.geometry,!0===r,i);t.booleanMeshSetAddress=void 0===e||-1===s?s:ee(t,e,s,N)}if(-1===t.booleanMeshSetAddress)return;void 0===e&&m(t.booleanMeshSetAddress,N),t.booleanMatrixInvOld.copy(N).invert(),t.booleanWasTransformed=!1}else t instanceof re&&!0===t.needsTransformForDownstream?(void 0===e?m(t.booleanMeshSetAddress,N):t.booleanMeshSetAddress=ee(t,e,t.booleanMeshSetAddress,N),t.needsTransformForDownstream=!1):!0===t.booleanWasTransformed&&(m(t.booleanMeshSetAddress,Q.multiplyMatrices(N,t.booleanMatrixInvOld)),t.booleanMatrixInvOld.copy(N).invert(),t.booleanWasTransformed=!1)}catch(e){console.error(e),t.booleanMeshSetAddress=0,t.geometry.userData.booleanOperationDidFail=!0;continue}if(0===t.booleanMeshSetAddress)continue;this.meshSetAddresses.push(t.booleanMeshSetAddress),t.geometry.userData.booleanOperationDidFail=!1}}if(0===this.meshSetAddresses.length){if(0!==this.geometry.getAttribute("position")?.array.length){let e=this.geometry;e.dispose(),this.geometry=new x,this.geometry.userData=e.userData,this.geometry.boundingSphere=e.boundingSphere,this.geometry.setAttribute("position",new P([],3))}return void this.geometry.setDrawRange(0,0)}if(!0===r)return c(this.meshSetAddresses,this.booleanOp);let s=this.geometry;s.dispose(),this.geometry=new x,this.geometry.userData=s.userData,this.geometry.boundingSphere=s.boundingSphere;try{this.booleanMeshSetAddress=p(this.meshSetAddresses,this.booleanOp,this.geometry,this.phongAngle)}catch(e){this.booleanMeshSetAddress=0,this.geometry.userData.booleanOperationDidFail=!0,console.error(e)}this.booleanMatrixInvOld.copy(this.matrix).invert(),this.needsTransformForDownstream=!0,e(this),t(this)}dispose(){super.dispose(),this.geometry.dispose()}};(te||(te={})).is=function(e){return n.is(e)&&e instanceof A};var ie=(e,t)=>class extends(o(e,t)){updateState_Light(e,t){if(this.updateState_Entity(e,t),void 0!==e.color&&(this.color=t.shared.color(e.color)),void 0!==e.intensity&&(this.intensity=e.intensity*Math.PI),void 0!==e.depth){let t=this.shadow;t.camera.far=e.depth,t.needsUpdate=!0}void 0!==e.shadows&&(this.castShadow=e.shadows)}},se=e=>e instanceof u,oe=e=>null!==e&&e instanceof re,ae=e=>s.is(e);export{G as a,Y as b,re as c,te as d,ie as e,se as f,oe as g,ae as h};
|
|
Binary file
|
|
Binary file
|