@splinetool/runtime 2.0.83 → 2.0.85
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-WKWPISWQ.js → runtime-bloom-4V4IKQ6O.js} +1 -1
- package/build/runtime-bloom-4V4IKQ6O.js.br +0 -0
- package/build/runtime-bloom-4V4IKQ6O.js.gz +0 -0
- package/build/{runtime-brightnessContrast-ST2KANUD.js → runtime-brightnessContrast-OAAOO3WS.js} +1 -1
- package/build/runtime-brightnessContrast-OAAOO3WS.js.br +0 -0
- package/build/runtime-brightnessContrast-OAAOO3WS.js.gz +0 -0
- package/build/{runtime-chromaticAberration-3KZVF2I5.js → runtime-chromaticAberration-ZMQF6QJX.js} +1 -1
- package/build/runtime-chromaticAberration-ZMQF6QJX.js.br +0 -0
- package/build/runtime-chromaticAberration-ZMQF6QJX.js.gz +0 -0
- package/build/{runtime-chunk-W6LZ7W3G.js → runtime-chunk-3KLISZZY.js} +1 -1
- package/build/runtime-chunk-3KLISZZY.js.br +0 -0
- package/build/runtime-chunk-3KLISZZY.js.gz +0 -0
- package/build/{runtime-chunk-TL66IFBQ.js → runtime-chunk-3VQEGGJO.js} +1 -1
- package/build/runtime-chunk-3VQEGGJO.js.br +1 -0
- package/build/runtime-chunk-3VQEGGJO.js.gz +0 -0
- package/build/{runtime-chunk-QP6I5SE7.js → runtime-chunk-45CGBKUA.js} +1 -1
- package/build/{runtime-chunk-QP6I5SE7.js.br → runtime-chunk-45CGBKUA.js.br} +0 -0
- package/build/runtime-chunk-45CGBKUA.js.gz +0 -0
- package/build/{runtime-chunk-SF6BKHZF.js → runtime-chunk-57Z7EIYA.js} +1 -1
- package/build/runtime-chunk-57Z7EIYA.js.br +0 -0
- package/build/runtime-chunk-57Z7EIYA.js.gz +0 -0
- package/build/{runtime-chunk-E3ELGDFA.js → runtime-chunk-5AXKPISZ.js} +1 -1
- package/build/runtime-chunk-5AXKPISZ.js.br +0 -0
- package/build/runtime-chunk-5AXKPISZ.js.gz +0 -0
- package/build/{runtime-chunk-HN2OOZ4T.js → runtime-chunk-6H3XJDJH.js} +1 -1
- package/build/runtime-chunk-6H3XJDJH.js.br +0 -0
- package/build/runtime-chunk-6H3XJDJH.js.gz +0 -0
- package/build/{runtime-chunk-74JUCEG5.js → runtime-chunk-ACXZBP4U.js} +1 -1
- package/build/runtime-chunk-ACXZBP4U.js.br +0 -0
- package/build/runtime-chunk-ACXZBP4U.js.gz +0 -0
- package/build/{runtime-chunk-KRRLY2VT.js → runtime-chunk-B6KCC52S.js} +1 -1
- package/build/runtime-chunk-B6KCC52S.js.br +0 -0
- package/build/runtime-chunk-B6KCC52S.js.gz +0 -0
- package/build/{runtime-chunk-AWONHHY7.js → runtime-chunk-ER67PXEO.js} +1 -1
- package/build/runtime-chunk-ER67PXEO.js.br +0 -0
- package/build/runtime-chunk-ER67PXEO.js.gz +0 -0
- package/build/{runtime-chunk-NDAGVDNJ.js → runtime-chunk-EWJBOJIL.js} +1 -1
- package/build/runtime-chunk-EWJBOJIL.js.br +0 -0
- package/build/runtime-chunk-EWJBOJIL.js.gz +0 -0
- package/build/{runtime-chunk-FTAGEGJI.js → runtime-chunk-FRPHXJIJ.js} +1 -1
- package/build/runtime-chunk-FRPHXJIJ.js.br +0 -0
- package/build/runtime-chunk-FRPHXJIJ.js.gz +0 -0
- package/build/runtime-chunk-HBZCKQBD.js +1 -0
- package/build/runtime-chunk-HBZCKQBD.js.br +0 -0
- package/build/runtime-chunk-HBZCKQBD.js.gz +0 -0
- package/build/{runtime-chunk-4DU5FQ5Z.js → runtime-chunk-IIB25NE4.js} +1 -1
- package/build/runtime-chunk-IIB25NE4.js.br +0 -0
- package/build/runtime-chunk-IIB25NE4.js.gz +0 -0
- package/build/{runtime-chunk-6FDD4WYO.js → runtime-chunk-IPQEMARU.js} +1 -1
- package/build/runtime-chunk-IPQEMARU.js.br +0 -0
- package/build/runtime-chunk-IPQEMARU.js.gz +0 -0
- package/build/{runtime-chunk-MOCQDERO.js → runtime-chunk-JKPVWGKT.js} +1 -1
- package/build/runtime-chunk-JKPVWGKT.js.br +0 -0
- package/build/runtime-chunk-JKPVWGKT.js.gz +0 -0
- package/build/{runtime-chunk-C5EDR7G3.js → runtime-chunk-L77P7VY5.js} +1 -1
- package/build/runtime-chunk-L77P7VY5.js.br +0 -0
- package/build/runtime-chunk-L77P7VY5.js.gz +0 -0
- package/build/{runtime-chunk-GFGKHFBJ.js → runtime-chunk-MCL5HHPB.js} +1 -1
- package/build/runtime-chunk-MCL5HHPB.js.br +0 -0
- package/build/runtime-chunk-MCL5HHPB.js.gz +0 -0
- package/build/{runtime-chunk-RBN2VTR6.js → runtime-chunk-MSLKXZIC.js} +1 -1
- package/build/runtime-chunk-MSLKXZIC.js.br +0 -0
- package/build/runtime-chunk-MSLKXZIC.js.gz +0 -0
- package/build/{runtime-chunk-2VCC6HKT.js → runtime-chunk-N5YPHGWT.js} +1 -1
- package/build/runtime-chunk-N5YPHGWT.js.br +0 -0
- package/build/runtime-chunk-N5YPHGWT.js.gz +0 -0
- package/build/{runtime-chunk-NEFVNJD5.js → runtime-chunk-OEUULYGA.js} +1 -1
- package/build/runtime-chunk-OEUULYGA.js.br +4 -0
- package/build/runtime-chunk-OEUULYGA.js.gz +0 -0
- package/build/{runtime-chunk-JLDFP72D.js → runtime-chunk-R5DVC5DG.js} +1 -1
- package/build/runtime-chunk-R5DVC5DG.js.br +0 -0
- package/build/runtime-chunk-R5DVC5DG.js.gz +0 -0
- package/build/{runtime-chunk-AXQ6CZ5V.js → runtime-chunk-SRDROMOQ.js} +1 -1
- package/build/runtime-chunk-SRDROMOQ.js.br +0 -0
- package/build/runtime-chunk-SRDROMOQ.js.gz +0 -0
- package/build/{runtime-chunk-W5RFLCXW.js → runtime-chunk-T3YRM72N.js} +1 -1
- package/build/{runtime-chunk-W5RFLCXW.js.br → runtime-chunk-T3YRM72N.js.br} +0 -0
- package/build/runtime-chunk-T3YRM72N.js.gz +0 -0
- package/build/{runtime-chunk-EMR6GAS4.js → runtime-chunk-T45AAY5V.js} +1 -1
- package/build/runtime-chunk-T45AAY5V.js.br +0 -0
- package/build/runtime-chunk-T45AAY5V.js.gz +0 -0
- package/build/{runtime-chunk-OMWJQAA3.js → runtime-chunk-VMBIO4GK.js} +1 -1
- package/build/runtime-chunk-VMBIO4GK.js.br +0 -0
- package/build/runtime-chunk-VMBIO4GK.js.gz +0 -0
- package/build/{runtime-chunk-65QUMWIE.js → runtime-chunk-VXKHBMIR.js} +1 -1
- package/build/{runtime-chunk-65QUMWIE.js.br → runtime-chunk-VXKHBMIR.js.br} +0 -0
- package/build/runtime-chunk-VXKHBMIR.js.gz +0 -0
- package/build/{runtime-chunk-2UD32IPY.js → runtime-chunk-WUFF6WBW.js} +1 -1
- package/build/runtime-chunk-WUFF6WBW.js.br +0 -0
- package/build/runtime-chunk-WUFF6WBW.js.gz +0 -0
- package/build/{runtime-chunk-FMPGTGN4.js → runtime-chunk-Z7SEDWJQ.js} +1 -1
- package/build/{runtime-chunk-FMPGTGN4.js.br → runtime-chunk-Z7SEDWJQ.js.br} +0 -0
- package/build/runtime-chunk-Z7SEDWJQ.js.gz +0 -0
- package/build/{runtime-chunk-7CCQBZAJ.js → runtime-chunk-ZOBRCTNS.js} +1 -1
- package/build/runtime-chunk-ZOBRCTNS.js.br +0 -0
- package/build/runtime-chunk-ZOBRCTNS.js.gz +0 -0
- package/build/{runtime-classicRuntime-UF2NVIRB.js → runtime-classicRuntime-HHGIA5LI.js} +1 -1
- package/build/runtime-classicRuntime-HHGIA5LI.js.br +0 -0
- package/build/runtime-classicRuntime-HHGIA5LI.js.gz +0 -0
- package/build/{runtime-cloners-MYUU65K4.js → runtime-cloners-KE34LZSX.js} +1 -1
- package/build/runtime-cloners-KE34LZSX.js.br +0 -0
- package/build/runtime-cloners-KE34LZSX.js.gz +0 -0
- package/build/{runtime-components-7FZBCSFI.js → runtime-components-OHCJSL4S.js} +1 -1
- package/build/runtime-components-OHCJSL4S.js.br +0 -0
- package/build/runtime-components-OHCJSL4S.js.gz +0 -0
- package/build/{runtime-createDestroy-ILS36BPX.js → runtime-createDestroy-KAETDLMI.js} +1 -1
- package/build/runtime-createDestroy-KAETDLMI.js.br +0 -0
- package/build/runtime-createDestroy-KAETDLMI.js.gz +0 -0
- package/build/{runtime-depthOfField-7DPQLZ23.js → runtime-depthOfField-3SIKPFIQ.js} +1 -1
- package/build/runtime-depthOfField-3SIKPFIQ.js.br +0 -0
- package/build/runtime-depthOfField-3SIKPFIQ.js.gz +0 -0
- package/build/{runtime-dragDrop-WV2MCKJT.js → runtime-dragDrop-KVTMTSXW.js} +1 -1
- package/build/runtime-dragDrop-KVTMTSXW.js.br +0 -0
- package/build/runtime-dragDrop-KVTMTSXW.js.gz +0 -0
- package/build/{runtime-gameControls-TQ3FOIVP.js → runtime-gameControls-QI4RLCMJ.js} +1 -1
- package/build/runtime-gameControls-QI4RLCMJ.js.br +0 -0
- package/build/runtime-gameControls-QI4RLCMJ.js.gz +0 -0
- package/build/{runtime-hair-RIVPIGP5.js → runtime-hair-4LZCU6PQ.js} +1 -1
- package/build/runtime-hair-4LZCU6PQ.js.br +3 -0
- package/build/runtime-hair-4LZCU6PQ.js.gz +0 -0
- package/build/{runtime-hueSaturation-P724BP2E.js → runtime-hueSaturation-6B75G4V6.js} +1 -1
- package/build/runtime-hueSaturation-6B75G4V6.js.br +0 -0
- package/build/runtime-hueSaturation-6B75G4V6.js.gz +0 -0
- package/build/{runtime-mergeStaticGeometries-ATIGSMKX.js → runtime-mergeStaticGeometries-KQGFVBRB.js} +1 -1
- package/build/runtime-mergeStaticGeometries-KQGFVBRB.js.br +11 -0
- package/build/runtime-mergeStaticGeometries-KQGFVBRB.js.gz +0 -0
- package/build/{runtime-miscActions-B2JSIUI3.js → runtime-miscActions-XDMK4RA3.js} +1 -1
- package/build/runtime-miscActions-XDMK4RA3.js.br +0 -0
- package/build/runtime-miscActions-XDMK4RA3.js.gz +0 -0
- package/build/{runtime-mouseHover-BXC4YEOG.js → runtime-mouseHover-ALO3D5BJ.js} +1 -1
- package/build/runtime-mouseHover-ALO3D5BJ.js.br +0 -0
- package/build/runtime-mouseHover-ALO3D5BJ.js.gz +0 -0
- package/build/{runtime-noise-UPTYQDUB.js → runtime-noise-CCX26KZV.js} +1 -1
- package/build/runtime-noise-CCX26KZV.js.br +0 -0
- package/build/runtime-noise-CCX26KZV.js.gz +0 -0
- package/build/{runtime-particles-3PFODXNI.js → runtime-particles-VP7Y4QXE.js} +1 -1
- package/build/runtime-particles-VP7Y4QXE.js.br +0 -0
- package/build/runtime-particles-VP7Y4QXE.js.gz +0 -0
- package/build/{runtime-paths-BJHQL2YO.js → runtime-paths-7KNGYGJY.js} +1 -1
- package/build/runtime-paths-7KNGYGJY.js.br +0 -0
- package/build/runtime-paths-7KNGYGJY.js.gz +0 -0
- package/build/{runtime-pixelation-6YU4YYXZ.js → runtime-pixelation-BYNRB6O5.js} +1 -1
- package/build/runtime-pixelation-BYNRB6O5.js.br +0 -0
- package/build/runtime-pixelation-BYNRB6O5.js.gz +0 -0
- package/build/{runtime-resize-666RGC3Y.js → runtime-resize-UEUHJGY4.js} +1 -1
- package/build/runtime-resize-UEUHJGY4.js.br +0 -0
- package/build/runtime-resize-UEUHJGY4.js.gz +0 -0
- package/build/{runtime-sceneTransition-NM3BIPQD.js → runtime-sceneTransition-ETLQHFGO.js} +1 -1
- package/build/runtime-sceneTransition-ETLQHFGO.js.br +0 -0
- package/build/runtime-sceneTransition-ETLQHFGO.js.gz +0 -0
- package/build/{runtime-scroll-JNVXCNXU.js → runtime-scroll-ZIB3UKFL.js} +1 -1
- package/build/runtime-scroll-ZIB3UKFL.js.br +0 -0
- package/build/runtime-scroll-ZIB3UKFL.js.gz +0 -0
- package/build/runtime-shapeBlends-6WZL7BQT.js +1 -0
- package/build/runtime-shapeBlends-6WZL7BQT.js.br +0 -0
- package/build/runtime-shapeBlends-6WZL7BQT.js.gz +0 -0
- package/build/{runtime-text-XELKYC57.js → runtime-text-3PIP575O.js} +1 -1
- package/build/runtime-text-3PIP575O.js.br +0 -0
- package/build/runtime-text-3PIP575O.js.gz +0 -0
- package/build/{runtime-textInputs-KFGGVBQX.js → runtime-textInputs-P63SKXNF.js} +1 -1
- package/build/runtime-textInputs-P63SKXNF.js.br +0 -0
- package/build/runtime-textInputs-P63SKXNF.js.gz +0 -0
- package/build/{runtime-timeline-IHXJVODH.js → runtime-timeline-66GP2LZT.js} +1 -1
- package/build/runtime-timeline-66GP2LZT.js.br +0 -0
- package/build/runtime-timeline-66GP2LZT.js.gz +0 -0
- package/build/{runtime-tracking-OY2EWURI.js → runtime-tracking-MENC63DB.js} +1 -1
- package/build/runtime-tracking-MENC63DB.js.br +0 -0
- package/build/runtime-tracking-MENC63DB.js.gz +0 -0
- package/build/runtime-transitions-PGZ3LZU5.js +1 -0
- package/build/runtime-transitions-PGZ3LZU5.js.br +0 -0
- package/build/runtime-transitions-PGZ3LZU5.js.gz +0 -0
- package/build/{runtime-ui2d-PEMYWAVT.js → runtime-ui2d-MKBAOL5W.js} +1 -1
- package/build/runtime-ui2d-MKBAOL5W.js.br +0 -0
- package/build/runtime-ui2d-MKBAOL5W.js.gz +0 -0
- package/build/{runtime-vectorShapes-H2EPQ5NA.js → runtime-vectorShapes-VDM7KJFC.js} +1 -1
- package/build/runtime-vectorShapes-VDM7KJFC.js.br +0 -0
- package/build/runtime-vectorShapes-VDM7KJFC.js.gz +0 -0
- package/build/{runtime-vignette-H55QB7A7.js → runtime-vignette-QPNNUISR.js} +1 -1
- package/build/runtime-vignette-QPNNUISR.js.br +0 -0
- package/build/runtime-vignette-QPNNUISR.js.gz +0 -0
- package/build/runtime-webgpu-2HQVS5II.js +1 -0
- package/build/runtime-webgpu-2HQVS5II.js.br +0 -0
- package/build/runtime-webgpu-2HQVS5II.js.gz +0 -0
- package/build/runtime.cjs +377 -369
- 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/runtime.d.ts +11 -1
- package/build/runtime-bloom-WKWPISWQ.js.br +0 -0
- package/build/runtime-bloom-WKWPISWQ.js.gz +0 -0
- package/build/runtime-brightnessContrast-ST2KANUD.js.br +0 -0
- package/build/runtime-brightnessContrast-ST2KANUD.js.gz +0 -0
- package/build/runtime-chromaticAberration-3KZVF2I5.js.br +0 -0
- package/build/runtime-chromaticAberration-3KZVF2I5.js.gz +0 -0
- package/build/runtime-chunk-2UD32IPY.js.br +0 -0
- package/build/runtime-chunk-2UD32IPY.js.gz +0 -0
- package/build/runtime-chunk-2VCC6HKT.js.br +0 -0
- package/build/runtime-chunk-2VCC6HKT.js.gz +0 -0
- package/build/runtime-chunk-4DU5FQ5Z.js.br +0 -0
- package/build/runtime-chunk-4DU5FQ5Z.js.gz +0 -0
- package/build/runtime-chunk-65QUMWIE.js.gz +0 -0
- package/build/runtime-chunk-6FDD4WYO.js.br +0 -0
- package/build/runtime-chunk-6FDD4WYO.js.gz +0 -0
- package/build/runtime-chunk-74JUCEG5.js.br +0 -0
- package/build/runtime-chunk-74JUCEG5.js.gz +0 -0
- package/build/runtime-chunk-7CCQBZAJ.js.br +0 -0
- package/build/runtime-chunk-7CCQBZAJ.js.gz +0 -0
- package/build/runtime-chunk-AWONHHY7.js.br +0 -0
- package/build/runtime-chunk-AWONHHY7.js.gz +0 -0
- package/build/runtime-chunk-AXQ6CZ5V.js.br +0 -0
- package/build/runtime-chunk-AXQ6CZ5V.js.gz +0 -0
- package/build/runtime-chunk-C5EDR7G3.js.br +0 -0
- package/build/runtime-chunk-C5EDR7G3.js.gz +0 -0
- package/build/runtime-chunk-E3ELGDFA.js.br +0 -0
- package/build/runtime-chunk-E3ELGDFA.js.gz +0 -0
- package/build/runtime-chunk-EMR6GAS4.js.br +0 -0
- package/build/runtime-chunk-EMR6GAS4.js.gz +0 -0
- package/build/runtime-chunk-FMPGTGN4.js.gz +0 -0
- package/build/runtime-chunk-FTAGEGJI.js.br +0 -0
- package/build/runtime-chunk-FTAGEGJI.js.gz +0 -0
- package/build/runtime-chunk-GFGKHFBJ.js.br +0 -0
- package/build/runtime-chunk-GFGKHFBJ.js.gz +0 -0
- package/build/runtime-chunk-HN2OOZ4T.js.br +0 -0
- package/build/runtime-chunk-HN2OOZ4T.js.gz +0 -0
- package/build/runtime-chunk-JI6Q27BG.js +0 -1
- package/build/runtime-chunk-JI6Q27BG.js.br +0 -0
- package/build/runtime-chunk-JI6Q27BG.js.gz +0 -0
- package/build/runtime-chunk-JLDFP72D.js.br +0 -0
- package/build/runtime-chunk-JLDFP72D.js.gz +0 -0
- package/build/runtime-chunk-KRRLY2VT.js.br +0 -0
- package/build/runtime-chunk-KRRLY2VT.js.gz +0 -0
- package/build/runtime-chunk-MOCQDERO.js.br +0 -0
- package/build/runtime-chunk-MOCQDERO.js.gz +0 -0
- package/build/runtime-chunk-NDAGVDNJ.js.br +0 -0
- package/build/runtime-chunk-NDAGVDNJ.js.gz +0 -0
- package/build/runtime-chunk-NEFVNJD5.js.br +0 -1
- package/build/runtime-chunk-NEFVNJD5.js.gz +0 -0
- package/build/runtime-chunk-OMWJQAA3.js.br +0 -0
- package/build/runtime-chunk-OMWJQAA3.js.gz +0 -0
- package/build/runtime-chunk-QP6I5SE7.js.gz +0 -0
- package/build/runtime-chunk-RBN2VTR6.js.br +0 -0
- package/build/runtime-chunk-RBN2VTR6.js.gz +0 -0
- package/build/runtime-chunk-SF6BKHZF.js.br +0 -0
- package/build/runtime-chunk-SF6BKHZF.js.gz +0 -0
- package/build/runtime-chunk-TL66IFBQ.js.br +0 -1
- package/build/runtime-chunk-TL66IFBQ.js.gz +0 -0
- package/build/runtime-chunk-W5RFLCXW.js.gz +0 -0
- package/build/runtime-chunk-W6LZ7W3G.js.br +0 -0
- package/build/runtime-chunk-W6LZ7W3G.js.gz +0 -0
- package/build/runtime-classicRuntime-UF2NVIRB.js.br +0 -0
- package/build/runtime-classicRuntime-UF2NVIRB.js.gz +0 -0
- package/build/runtime-cloners-MYUU65K4.js.br +0 -0
- package/build/runtime-cloners-MYUU65K4.js.gz +0 -0
- package/build/runtime-components-7FZBCSFI.js.br +0 -0
- package/build/runtime-components-7FZBCSFI.js.gz +0 -0
- package/build/runtime-createDestroy-ILS36BPX.js.br +0 -0
- package/build/runtime-createDestroy-ILS36BPX.js.gz +0 -0
- package/build/runtime-depthOfField-7DPQLZ23.js.br +0 -0
- package/build/runtime-depthOfField-7DPQLZ23.js.gz +0 -0
- package/build/runtime-dragDrop-WV2MCKJT.js.br +0 -0
- package/build/runtime-dragDrop-WV2MCKJT.js.gz +0 -0
- package/build/runtime-gameControls-TQ3FOIVP.js.br +0 -0
- package/build/runtime-gameControls-TQ3FOIVP.js.gz +0 -0
- package/build/runtime-hair-RIVPIGP5.js.br +0 -0
- package/build/runtime-hair-RIVPIGP5.js.gz +0 -0
- package/build/runtime-hueSaturation-P724BP2E.js.br +0 -0
- package/build/runtime-hueSaturation-P724BP2E.js.gz +0 -0
- package/build/runtime-mergeStaticGeometries-ATIGSMKX.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-ATIGSMKX.js.gz +0 -0
- package/build/runtime-miscActions-B2JSIUI3.js.br +0 -0
- package/build/runtime-miscActions-B2JSIUI3.js.gz +0 -0
- package/build/runtime-mouseHover-BXC4YEOG.js.br +0 -0
- package/build/runtime-mouseHover-BXC4YEOG.js.gz +0 -0
- package/build/runtime-noise-UPTYQDUB.js.br +0 -0
- package/build/runtime-noise-UPTYQDUB.js.gz +0 -0
- package/build/runtime-particles-3PFODXNI.js.br +0 -0
- package/build/runtime-particles-3PFODXNI.js.gz +0 -0
- package/build/runtime-paths-BJHQL2YO.js.br +0 -0
- package/build/runtime-paths-BJHQL2YO.js.gz +0 -0
- package/build/runtime-pixelation-6YU4YYXZ.js.br +0 -0
- package/build/runtime-pixelation-6YU4YYXZ.js.gz +0 -0
- package/build/runtime-resize-666RGC3Y.js.br +0 -0
- package/build/runtime-resize-666RGC3Y.js.gz +0 -0
- package/build/runtime-sceneTransition-NM3BIPQD.js.br +0 -0
- package/build/runtime-sceneTransition-NM3BIPQD.js.gz +0 -0
- package/build/runtime-scroll-JNVXCNXU.js.br +0 -0
- package/build/runtime-scroll-JNVXCNXU.js.gz +0 -0
- package/build/runtime-shapeBlends-OFBPARZN.js +0 -1
- package/build/runtime-shapeBlends-OFBPARZN.js.br +0 -2
- package/build/runtime-shapeBlends-OFBPARZN.js.gz +0 -0
- package/build/runtime-text-XELKYC57.js.br +0 -0
- package/build/runtime-text-XELKYC57.js.gz +0 -0
- package/build/runtime-textInputs-KFGGVBQX.js.br +0 -0
- package/build/runtime-textInputs-KFGGVBQX.js.gz +0 -0
- package/build/runtime-timeline-IHXJVODH.js.br +0 -0
- package/build/runtime-timeline-IHXJVODH.js.gz +0 -0
- package/build/runtime-tracking-OY2EWURI.js.br +0 -0
- package/build/runtime-tracking-OY2EWURI.js.gz +0 -0
- package/build/runtime-transitions-IL5GLW7V.js +0 -1
- package/build/runtime-transitions-IL5GLW7V.js.br +0 -0
- package/build/runtime-transitions-IL5GLW7V.js.gz +0 -0
- package/build/runtime-ui2d-PEMYWAVT.js.br +0 -0
- package/build/runtime-ui2d-PEMYWAVT.js.gz +0 -0
- package/build/runtime-vectorShapes-H2EPQ5NA.js.br +0 -0
- package/build/runtime-vectorShapes-H2EPQ5NA.js.gz +0 -0
- package/build/runtime-vignette-H55QB7A7.js.br +0 -0
- package/build/runtime-vignette-H55QB7A7.js.gz +0 -0
- package/build/runtime-webgpu-XC6LH2VC.js +0 -1
- package/build/runtime-webgpu-XC6LH2VC.js.br +0 -0
- package/build/runtime-webgpu-XC6LH2VC.js.gz +0 -0
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@splinetool/runtime",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.85",
|
|
4
4
|
"description": "Spline is a collaborative design platform for creating production-ready interactive experiences in multiple dimensions. © 2026 Spline, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"spline",
|
package/runtime.d.ts
CHANGED
|
@@ -330,6 +330,14 @@ declare module '@splinetool/runtime' {
|
|
|
330
330
|
* sandboxed iframe wired to this Application through the injected
|
|
331
331
|
* `spline` bridge — the same HTML + 3D composition as the editor
|
|
332
332
|
* preview. It is removed on dispose().
|
|
333
|
+
*
|
|
334
|
+
* Overlapping calls: when a later load() or start() on this
|
|
335
|
+
* Application replaces the scene before this one is done, the
|
|
336
|
+
* returned promise settles with that later call instead — it
|
|
337
|
+
* resolves once the later scene is in place, or rejects if that one
|
|
338
|
+
* fails. A later call that fails early (e.g. on a file that can't be
|
|
339
|
+
* parsed) leaves this one to finish. After dispose(), a pending call
|
|
340
|
+
* resolves without loading anything.
|
|
333
341
|
* @param path the url pointing toward a .splinecode file
|
|
334
342
|
* @param variables a key:value object describing initial values of the variables in the file
|
|
335
343
|
*/
|
|
@@ -340,6 +348,8 @@ declare module '@splinetool/runtime' {
|
|
|
340
348
|
): Promise<void>;
|
|
341
349
|
/**
|
|
342
350
|
* Initializes the application starting from a binary encoded .splinecode file
|
|
351
|
+
*
|
|
352
|
+
* Overlapping calls settle the same way as load()'s.
|
|
343
353
|
* @param array the binary ArrayBuffer of the .splinecode
|
|
344
354
|
*/
|
|
345
355
|
start(
|
|
@@ -351,7 +361,7 @@ declare module '@splinetool/runtime' {
|
|
|
351
361
|
interactive?: boolean;
|
|
352
362
|
variables?: Record<string, string | number | boolean>;
|
|
353
363
|
}
|
|
354
|
-
): void
|
|
364
|
+
): Promise<void>;
|
|
355
365
|
/**
|
|
356
366
|
* Searches through scene's children and returns the object with that uuid
|
|
357
367
|
* @param uuid String to match to the object's uuid
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e,c as i}from"./runtime-chunk-HD7WF3XN.js";import{g as t}from"./runtime-chunk-RTLL6WIB.js";var s=null;function n(e){s=e}function r(){return s}function h(e){let i=e?.tracks.filter(e=>"vector"===e.ValueTypeName||"quaternion"===e.ValueTypeName).map(e=>e.times.length);if(i?.length){let e=t(i);return e&&e>2?e:2}return 2}var a=Math.fround;function d(e){return"pingpong"===e||"pingpong-rewind"===e}function o(e,i){return i?"start"===e?"end":"end"===e?"start":e:e}var l=class{constructor(e,i,t={}){this.hooks=t,this.isPlaying=!1,this.playingIndex=0,this.seekIndex=-1,this.currentRepeat=0,this.isReversed=!1,this.startTime=0,this.isToggledForward=!1,this.hasPlayedOnce=!1,this.isFirstTweenAfterStart=!1,this.hasClaimed=!1,this.isUnwinding=!1,this.config=e,this.tweens=i,this.delay=a(e.delay/1e3)}get currentTween(){return this.tweens[this.playingIndex]}get claimTime(){return this.claimedAt}play(e){if(0===this.tweens.length||this.isPlaying&&"Toggle"!==this.config.runMode||this.hasPlayedOnce&&"Once"===this.config.runMode)return;let i=this.isPlaying;this.isPlaying=!0,this.hasPlayedOnce=!0,this.isUnwinding=!1,this.currentRepeat=this.passRepeat,this.startTime=e,this.seekIndex=-1,!1===this.hooks.isOwner?.()&&(this.isToggledForward=!1,!i&&!this.isReversed&&this.hooks.assignCurrentState?.()),this.hasClaimed=!1,this.claimedAt=void 0,"Toggle"===this.config.runMode?(this.toggleDirection(),i?this.openPass():this.startChain()):this.startChain()}stop(){this.currentTween?.stop(),this.isPlaying=!1,this.isReversed=!1,this.hasClaimed=!1,this.claimedAt=void 0,this.isUnwinding=!1}unwindFromHere(){this.isUnwinding=!0,this.currentRepeat=0,this.currentTween?.endAfterCurrentPass()}get passRepeat(){return this.isUnwinding?0:this.config.repeat}playDirected(e,i){if(0===this.tweens.length)return;let t=this.isPlaying;t&&this.isForward===i?i||this.unwindFromHere():(this.isPlaying=!0,this.hasPlayedOnce=!0,this.isUnwinding=!i,this.currentRepeat=this.passRepeat,this.startTime=e,this.seekIndex=-1,this.isToggledForward=i,this.isReversed=!i,!1===this.hooks.isOwner?.()&&!t&&!this.isReversed&&this.hooks.assignCurrentState?.(),this.hasClaimed=!1,this.claimedAt=void 0,t?this.openPass():this.startChain())}get isAnimating(){return this.isPlaying&&this.hasClaimed}get isForward(){return!this.isReversed}seek(e){if(0===this.tweens.length)return;this.hooks.claim?.();let i=this.tweens.reduce((e,i)=>e+i.duration,0)*e,t=this.tweens.length-1,s=1,n=0;for(let e=0;e<this.tweens.length;e++){let r=this.tweens[e];if(n+r.duration>i){t=e,s=(i-n)/r.duration;break}n+=r.duration}for(0===s&&t>0&&(t-=1,s=1),-1===this.seekIndex&&(this.seekIndex=0);this.seekIndex<t;)this.tweens[this.seekIndex].seek(1),this.seekIndex+=1,this.tweens[this.seekIndex].rearm();for(;this.seekIndex>t;)this.tweens[this.seekIndex].seek(0),this.seekIndex-=1,this.tweens[this.seekIndex].seek(1);this.tweens[t].seek(s)}update(t){if(!this.isPlaying)return;if(this.claimWhenDue(t)){if(!1===this.hooks.isOwner?.())return void this.stop();this.currentTween.rearm()}if(this.hasClaimed&&!1===this.hooks.isOwner?.())return void this.stop();let s=o(this.config.delayDirection,this.isReversed);if(i(t,this.startTime,this.leadingDelay)||(this.currentTween.update(t),!this.isPlaying)||this.currentTween.isPlaying)return;if(this.isFirstTweenAfterStart=!1,this.isReversed?this.playingIndex>0:this.playingIndex<this.tweens.length-1)return void this.advanceToNextTween();let n=0;if("end"===s||"start-end"===s){if(i(t,this.currentTween.endTime,this.delay))return;n=this.delay}0!==this.currentRepeat?(this.currentRepeat>0&&(this.currentRepeat-=1),d(this.config.direction)&&("Toggle"===this.config.runMode?this.toggleDirection():this.isReversed=!this.isReversed),this.startTime=e(this.currentTween.endTime,n),this.playingIndex=this.isReversed?this.tweens.length-1:0,"normal"===this.config.direction&&this.currentTween.seek(this.currentTween.isReversed?1:0),this.openPass()):this.stop()}advanceToNextTween(){let e=this.currentTween;e.isPingpong&&e.config.repeat%2==1&&e.seek(e.isReversed?0:1);let i=e.endTime,t=this.isReversed;this.playingIndex+=t?-1:1;let s=this.currentTween;t&&s.isPingpong&&s.config.repeat%2==1&&s.seek(1),this.resume(i)}startChain(){this.playingIndex=this.isReversed?this.tweens.length-1:0,this.isFirstTweenAfterStart=!0,this.openPass()}openPass(){if(this.claimWhenDue(this.startTime)&&!1===this.hooks.isOwner?.())return void this.stop();let i=this.tweens[0];this.hasClaimed&&!this.isReversed&&i&&0===i.duration&&(i.seek(1),!this.isPlaying)||this.resume(e(this.startTime,this.leadingDelay))}claimWhenDue(t){return!this.hasClaimed&&!i(t,this.startTime,this.leadingDelay)&&(this.hasClaimed=!0,this.claimedAt=e(this.startTime,this.leadingDelay),this.hooks.claim?.(this.claimedAt),!0)}get leadingDelay(){let e=o(this.config.delayDirection,this.isReversed);return"start-once"===e?this.isFirstTweenAfterStart?this.delay:0:"start"!==e&&"start-end"!==e||this.isReversed||0!==this.playingIndex||d(this.config.direction)&&!this.isFirstTweenAfterStart?0:this.delay}resume(e){let i=this.currentTween;this.isReversed&&"pingpong-rewind"===this.config.direction&&(i.overrideDirection="pingpong-rewind"),i.isReversed=!(!this.isReversed||"normal"!==i.repeatDirection&&i.config.repeat%2==1),i.start(e),this.isUnwinding&&i.endAfterCurrentPass()}toggleDirection(){this.isToggledForward=!this.isToggledForward,this.isReversed=!this.isToggledForward}};export{h as a,n as b,r as c,l as d};
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
� ��9�M�>-�v����m\⟺�j���Q���t�O��RʶIH-Mm>�&��D��L�u�v�"�}�n�"�Z�juZ�k���Qt�|�ҥd*J)7C�e�Κh�YH�_&!*�S�LgD;z�����Ȕ�}�L��I8?�?5�̐Tg�������۽�l>��jз�`Ftz�Հ�����9A)���q"$�4����3~v�C6����6�G
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
G �¶��5��X'�6���J�㊞+�&�
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{k as m}from"./runtime-chunk-C5EDR7G3.js";import"./runtime-chunk-2VCC6HKT.js";import"./runtime-chunk-W5RFLCXW.js";import"./runtime-chunk-TL66IFBQ.js";import"./runtime-chunk-KRRLY2VT.js";import"./runtime-chunk-W6LZ7W3G.js";import"./runtime-chunk-FMPGTGN4.js";import"./runtime-chunk-SF6BKHZF.js";import"./runtime-chunk-MOCQDERO.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import"./runtime-chunk-65QUMWIE.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-HUXCP2PU.js";import{a as n,f as r}from"./runtime-chunk-TZCHGFVF.js";import"./runtime-chunk-JBTA64YE.js";import"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";r("ShapeBlendGeometry",(n,r,t)=>new m(n,r,t)),n("shape-blends");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as t,k as i,l as e,m as s,n}from"./runtime-chunk-4DU5FQ5Z.js";import"./runtime-chunk-JLDFP72D.js";import"./runtime-chunk-NTUTXO7Q.js";import{a as r,b as a,d as o}from"./runtime-chunk-JI6Q27BG.js";import"./runtime-chunk-HD7WF3XN.js";import{a as h}from"./runtime-chunk-GGSUJEGZ.js";import"./runtime-chunk-74JUCEG5.js";import"./runtime-chunk-FTVQTRM7.js";import{a as c}from"./runtime-chunk-AXQ6CZ5V.js";import"./runtime-chunk-KRRLY2VT.js";import"./runtime-chunk-W6LZ7W3G.js";import"./runtime-chunk-SF6BKHZF.js";import"./runtime-chunk-MOCQDERO.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{b as d,e as l}from"./runtime-chunk-NEOF7SBZ.js";import"./runtime-chunk-65QUMWIE.js";import"./runtime-chunk-RTLL6WIB.js";import{e as m}from"./runtime-chunk-2PT2WH66.js";import{a as u}from"./runtime-chunk-HUXCP2PU.js";import{a as p}from"./runtime-chunk-TZCHGFVF.js";import{p as g}from"./runtime-chunk-JBTA64YE.js";import{Bc as A,Cc as f}from"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";function j(t){let i=t.tweens[0]?.data;return{delay:i?.delay??t.delay,delayDirection:i?.delayDirection??"start-once",direction:i?.direction??t.direction,repeat:i?.repeat??t.repeat}}var y={state:null,duration:0,delay:0,delayDirection:"start-once",direction:"normal",repeat:0,easing:0},w=class extends A{constructor(t,i,s,n,r,a){if(super(),this.eventType=t,this.data=i,this.page=s,this.shared=n,this.condition=r,this.runModeOverride=a,this.tweens=[],this.hasPlayedOnce=!1,this.inert=e,!i.object)throw new Error("Missing property");let o=this.page.scene.find(i.object)??this.page.uiCanvas?.find(i.object)??this.page.scene.find2DInUIObjects(i.object);if(!o)throw new Error("Missing property");if(!o.states)throw new Error("Missing property");if(this.object=o,i.tweens.length<2)throw new Error("Missing property");this.init()}get playing(){return!0===this.runner?.isPlaying}get animating(){return!0===this.runner?.isAnimating}get claimTime(){return this.runner?.claimTime}get contested(){let t=this.object.previousAction;return null!==t&&t!==this&&t.animating}init(){this.initialCurrentState=i(this.object,this.object.currentState).id,this.build()}shouldReinit(){return!!l(this.shared,this.condition)||!(this.animating&&!this.loopsForever)}get loopsForever(){return-1===j(this.data).repeat||this.data.tweens.some((t,i)=>i>0&&-1===t.data.repeat)}get runMode(){return void 0!==this.runModeOverride?this.runModeOverride:g(this.eventType)?this.data.runMode:"Repeat"}get currentState(){return"Toggle"===this.runMode?this.initialCurrentState:this.object.currentState}get opensOnCurrent(){return void 0===this.data.tweens[0].data.state&&"Toggle"!==this.runMode}build(){let i=this.data.tweens,e=[];try{let t=i[0].data.state;void 0!==t&&e.push(new n(this.object,t,t,y,this.shared,this.data.allowSlerp??!1,this.page,{},()=>this.inert));for(let t=1;t<i.length;t++){let s=i[t-1],r=i[t];e.push(new n(this.object,void 0===s.data.state?this.currentState:s.data.state,void 0===r.data.state?this.currentState:r.data.state,r.data,this.shared,this.data.allowSlerp??!1,this.page,{},()=>this.inert))}}catch(t){return void(t instanceof Error&&console.error(t.message))}this.tweens=e,this.syncInert(),this.runner=new o({...t(j(this.data)),runMode:this.runMode},e.map(t=>t.runner),{claim:t=>this.claimObject(t),assignCurrentState:()=>this.rebindTweens(),isOwner:()=>this.object.previousAction===this})}claimObject(t){if(this.object.previousAction===this)return!1;let i=this.object.previousAction;if(!0===i?.animating){if(void 0!==t&&void 0!==i.claimTime&&i.claimTime>t)return!1;i.pause()}return this.object.previousAction=this,!0}rebindTweens(){for(let t of this.tweens)try{t.rebind()}catch(t){t instanceof Error&&console.error(t.message)}this.syncInert(),this.object instanceof c&&this.object.wasMovedByUser&&(this.object.wasMovedByUser=!1)}syncInert(){let t=this.tweens.flatMap(t=>t.endpointData);if(this.opensOnCurrent&&t.length>0){let e=i(this.object,this.object.currentState);e&&(t[0]=e.data)}this.inert=this.notMovedByOwner(s(t));for(let t of this.tweens)t.refresh()}notMovedByOwner(t){let i=this.object.previousAction;if(0===t.size||null===i||i===this||!i.animating)return t;let e=i.leavesAlone;return new Set([...t].filter(t=>e.has(t)))}get leavesAlone(){return this.inert}update(t){this.runner?.update(t),!0!==this.runner?.isPlaying&&h.remove(this)}play(){if(!1===l(this.shared,this.condition)||"Once"===this.runMode&&this.hasPlayedOnce)return!1;this.hasPlayedOnce=!0,this.start()}start(){!this.runner||(this.runner.play(h.time),this.runner.isPlaying&&h.add(this))}pause(){this.runner?.stop(),h.remove(this)}stop(){this.pause();let t=void 0===this.data.tweens[0].data.state?this.initialCurrentState:this.data.tweens[0].data.state;m(this.object)?this.object.changeSelectedState(t,{shared:this.shared}):this.object.changeSelectedState(t,{scene:this.page.scene,shared:this.shared}),this.object.currentState=t}seek(t){if(!1===l(this.shared,this.condition))return!1;this.runner?.seek(t)}playDirected(t){if(!1===l(this.shared,this.condition))return!1;!this.runner||(this.runner.playDirected(h.time,t),this.runner.isPlaying&&h.add(this))}playFromCurrent(){this.playDirected(!0)}reverseFromCurrent(){this.playDirected(!1)}dispose(){this.pause()}},b=new Map,T=new WeakSet;function C(t,i){if(void 0===i)return;let e=t.scene.find(i);return e&&Array.isArray(e.identity)?e.identity[0]:i}var F=class extends A{constructor(t,i,e,s,n){super(),this.page=i,this.animationControls=e,this.shared=s,this.condition=n,this.startOnceDelay=0,this.toggleIsForward=!1;let a=C(i,t.object)??t.object;this.data={...t,object:a};let o=this.animationControls.clipIdToAction[t.clipId+"/"+a];if(this.duration=o?.getClip()?.duration??1,this.data.crop2){let t=r(o?.getClip());this.leftFrameTime=this.data.crop2[0]/(t-1)*this.duration,this.rightFrameTime=this.data.crop2[1]/(t-1)*this.duration}else{let t=o?.getClip()?.tracks[0]?.times.length;t&&t>1?(this.leftFrameTime=this.data.crop[0]/t*this.duration,this.rightFrameTime=this.data.crop[1]/t*this.duration):(this.leftFrameTime=0,this.rightFrameTime=this.duration)}this.startOnceDelay=t.delay;let h=b.get(a);h||(h=new Set,b.set(a,h)),h.add(this)}get playing(){return this.threeAnimAction?.isRunning()??!1}cancelPending(){window.clearTimeout(this.timeoutId),delete this.timeoutId}resume(){let t=this.animationControls.clipIdToAction[this.data.clipId+"/"+this.data.object];return!(!t||!T.has(t)||(T.delete(t),this.threeAnimAction=t,t.paused=!1,t.play(),this.animationControls.requestRender(),0))}play(t=!1){if(!1===l(this.shared,this.condition))return!1;window.clearTimeout(this.timeoutId),this.timeoutId=window.setTimeout(()=>{if(this.resume()||(this.threeAnimAction=this.animationControls.play(this.data),!this.threeAnimAction))return;T.delete(this.threeAnimAction),this.threeAnimAction.reset(),this.threeAnimAction.time=this.leftFrameTime,this.threeAnimAction._clip.start=this.leftFrameTime,this.threeAnimAction._clip.duration=this.rightFrameTime;let i=this.data.object;Object.entries(this.animationControls.clipIdToAction).forEach(([e,s])=>{let n=e.split("/")[1];this.threeAnimAction!==s&&n===i&&(t?s.fadeOut(.2):s.stop())}),t&&this.threeAnimAction?.fadeIn(.2)},this.startOnceDelay)}pause(){this.threeAnimAction&&(this.threeAnimAction.paused=!0),this.cancelPending()}stop(){this.threeAnimAction?.fadeOut(.2)}seek(t){this.threeAnimAction=this.animationControls.play(this.data),this.threeAnimAction&&(this.threeAnimAction.paused=!0,this.threeAnimAction.time=f.clamp(this.threeAnimAction.time+1/60*t,this.leftFrameTime,this.rightFrameTime-16e-5),this.animationControls.needsUpdate=!0,this.animationControls.requestRender())}toggle(t,i=!1){if(!1===l(this.shared,this.condition))return!1;this.toggleIsForward=t??!this.toggleIsForward,this.threeAnimAction&&(this.threeAnimAction._loopCount=0),this.playing||this.resume()?this.threeAnimAction&&(this.threeAnimAction.timeScale=this.toggleIsForward?1:-1,this.toggleIsForward?(this.threeAnimAction._clip.start=this.leftFrameTime,this.threeAnimAction._clip.duration=this.rightFrameTime):(this.threeAnimAction._clip.start=this.rightFrameTime,this.threeAnimAction._clip.duration=this.leftFrameTime)):this.timeoutId=window.setTimeout(()=>{if(this.threeAnimAction=this.animationControls.play(this.data),this.threeAnimAction){this.toggleIsForward?(this.threeAnimAction.time=this.leftFrameTime,this.threeAnimAction._clip.start=this.leftFrameTime,this.threeAnimAction._clip.duration=this.rightFrameTime):(this.threeAnimAction.time=this.rightFrameTime,this.threeAnimAction._clip.start=this.rightFrameTime,this.threeAnimAction._clip.duration=this.leftFrameTime),this.threeAnimAction.paused=!1,this.threeAnimAction.timeScale=this.toggleIsForward?1:-1;let t=this.data.clipId.split("/")[1];Object.entries(this.animationControls.clipIdToAction).forEach(([e,s])=>{let n=e.split("/")[1];this.threeAnimAction!==s&&n===t&&s.isRunning()&&(i?s.fadeOut(.2):s.stop())}),i&&this.threeAnimAction?.fadeIn(.2)}},this.startOnceDelay)}playFromCurrent(){this.toggle(!0)}reverseFromCurrent(){this.toggle(!1)}dispose(){let t=this.animationControls.clipIdToAction[this.data.clipId+"/"+this.data.object]?.getClip();t&&(t.duration=this.duration),this.pause();let i=b.get(this.data.object);i&&(i.delete(this),0===i.size&&b.delete(this.data.object))}},v=class{constructor(t,i,e){this.data=t,this.page=i,this.animationControls=e,this.objectId=C(i,t.object)}dispatch(){this.data.delay>0?(this.disposeDelay(),this.timeoutId=window.setTimeout(()=>{this.apply(),this.disposeDelay()},this.data.delay)):this.apply()}targetsClip(t,i){return!(void 0!==this.objectId&&i!==this.objectId||this.data.clipId&&t!==this.data.clipId)}apply(){(void 0!==this.objectId?[b.get(this.objectId)]:[...b.values()]).forEach(t=>{t?.forEach(t=>{this.targetsClip(t.data.clipId,t.data.object)&&t.cancelPending()})});let t=!1;Object.entries(this.animationControls.clipIdToAction).forEach(([i,e])=>{let[s,n]=i.split("/");if(this.targetsClip(s,n))if("pause"===this.data.interaction){if(!e.isRunning())return;e.paused=!0,T.add(e)}else{if(!e.enabled||!e.isRunning()&&!e.paused)return;e.paused=!0,T.delete(e),e.time=e._clip.start??0,e._loopCount=-1,t=!0}}),t&&(this.animationControls.needsUpdate=!0,this.animationControls.requestRender())}disposeDelay(){clearTimeout(this.timeoutId),delete this.timeoutId}dispose(){this.disposeDelay()}},I=class{constructor(t,i,e,s,n){u.isPause(t)?this.interaction=new v(t,i,e):this.interaction=new F(t,i,e,s,n)}get data(){return this.interaction.data}get playing(){return this.interaction instanceof F&&this.interaction.playing}play(t=!1){if(this.interaction instanceof F)return this.interaction.play(t);this.interaction.dispatch()}pause(){this.interaction instanceof F&&this.interaction.pause()}stop(){this.interaction instanceof F&&this.interaction.stop()}seek(t){this.interaction instanceof F&&this.interaction.seek(t)}toggle(t,i=!1){if(this.interaction instanceof F)return this.interaction.toggle(t,i);this.interaction.dispatch()}playFromCurrent(){this.interaction instanceof F?this.interaction.playFromCurrent():this.interaction.dispatch()}reverseFromCurrent(){this.interaction instanceof F&&this.interaction.reverseFromCurrent()}dispose(){this.interaction.dispose()}};a(n),d("Transition",({eventType:t,data:i,page:e,shared:s,actionCondition:n,runModeOverride:r})=>new w(t,i,e,s,n,r)),d("Animation",({data:t,page:i,eventManager:e,shared:s,actionCondition:n})=>new I(t,i,e.animationControls,s,n)),p("transitions");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|