@splinetool/runtime 2.0.90 → 2.0.91
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-aiAssistant-DBCVWUEB.js → runtime-aiAssistant-5ECVEZLI.js} +1 -1
- package/build/runtime-aiAssistant-5ECVEZLI.js.br +0 -0
- package/build/runtime-aiAssistant-5ECVEZLI.js.gz +0 -0
- package/build/{runtime-apiServices-JU3DOVOS.js → runtime-apiServices-J4QEEJ2S.js} +1 -1
- package/build/runtime-apiServices-J4QEEJ2S.js.br +0 -0
- package/build/runtime-apiServices-J4QEEJ2S.js.gz +0 -0
- package/build/{runtime-audio-LJOR4W23.js → runtime-audio-P56XBVSL.js} +1 -1
- package/build/runtime-audio-P56XBVSL.js.br +7 -0
- package/build/runtime-audio-P56XBVSL.js.gz +0 -0
- package/build/{runtime-bloom-QSFMSJ75.js → runtime-bloom-XTQYTPNH.js} +1 -1
- package/build/runtime-bloom-XTQYTPNH.js.br +0 -0
- package/build/runtime-bloom-XTQYTPNH.js.gz +0 -0
- package/build/{runtime-brightnessContrast-RCY3ODPF.js → runtime-brightnessContrast-JVORTXP2.js} +1 -1
- package/build/runtime-brightnessContrast-JVORTXP2.js.br +0 -0
- package/build/runtime-brightnessContrast-JVORTXP2.js.gz +0 -0
- package/build/{runtime-chromaticAberration-SY5X27ML.js → runtime-chromaticAberration-GEBNVWEI.js} +1 -1
- package/build/runtime-chromaticAberration-GEBNVWEI.js.br +0 -0
- package/build/runtime-chromaticAberration-GEBNVWEI.js.gz +0 -0
- package/build/runtime-chunk-2JS5FKKC.js +1 -0
- package/build/runtime-chunk-2JS5FKKC.js.br +0 -0
- package/build/runtime-chunk-2JS5FKKC.js.gz +0 -0
- package/build/runtime-chunk-3RYH75ZZ.js +1 -0
- package/build/runtime-chunk-3RYH75ZZ.js.br +0 -0
- package/build/runtime-chunk-3RYH75ZZ.js.gz +0 -0
- package/build/runtime-chunk-46GFSYQY.js +1 -0
- package/build/runtime-chunk-46GFSYQY.js.br +0 -0
- package/build/runtime-chunk-46GFSYQY.js.gz +0 -0
- package/build/{runtime-chunk-LUNJ7SLO.js → runtime-chunk-4YNO6ERS.js} +1 -1
- package/build/runtime-chunk-4YNO6ERS.js.br +0 -0
- package/build/runtime-chunk-4YNO6ERS.js.gz +0 -0
- package/build/{runtime-chunk-U44V7VUP.js → runtime-chunk-4ZCV6TBV.js} +1 -1
- package/build/runtime-chunk-4ZCV6TBV.js.br +0 -0
- package/build/runtime-chunk-4ZCV6TBV.js.gz +0 -0
- package/build/{runtime-chunk-R6NZ3XSG.js → runtime-chunk-5LMXU377.js} +1 -1
- package/build/runtime-chunk-5LMXU377.js.br +0 -0
- package/build/runtime-chunk-5LMXU377.js.gz +0 -0
- package/build/{runtime-chunk-EX3V3BQE.js → runtime-chunk-5ROCOKPQ.js} +1 -1
- package/build/runtime-chunk-5ROCOKPQ.js.br +0 -0
- package/build/runtime-chunk-5ROCOKPQ.js.gz +0 -0
- package/build/{runtime-chunk-F7Z2PGG5.js → runtime-chunk-6ZAOXAH3.js} +1 -1
- package/build/runtime-chunk-6ZAOXAH3.js.br +0 -0
- package/build/runtime-chunk-6ZAOXAH3.js.gz +0 -0
- package/build/runtime-chunk-AKRTZSTZ.js +1 -0
- package/build/runtime-chunk-AKRTZSTZ.js.br +0 -0
- package/build/runtime-chunk-AKRTZSTZ.js.gz +0 -0
- package/build/{runtime-chunk-S2A55QI5.js → runtime-chunk-C22HDMT7.js} +1 -1
- package/build/runtime-chunk-C22HDMT7.js.br +0 -0
- package/build/runtime-chunk-C22HDMT7.js.gz +0 -0
- package/build/{runtime-chunk-RLNFCXMS.js → runtime-chunk-CV7DSDHT.js} +1 -1
- package/build/runtime-chunk-CV7DSDHT.js.br +0 -0
- package/build/runtime-chunk-CV7DSDHT.js.gz +0 -0
- package/build/runtime-chunk-DFSRG2U6.js +1 -0
- package/build/runtime-chunk-DFSRG2U6.js.br +0 -0
- package/build/runtime-chunk-DFSRG2U6.js.gz +0 -0
- package/build/{runtime-chunk-X2RYY6RX.js → runtime-chunk-DKTEETN2.js} +1 -1
- package/build/runtime-chunk-DKTEETN2.js.br +2 -0
- package/build/runtime-chunk-DKTEETN2.js.gz +0 -0
- package/build/{runtime-chunk-QFWOD7KO.js → runtime-chunk-EGOUMNCI.js} +1 -1
- package/build/runtime-chunk-EGOUMNCI.js.br +0 -0
- package/build/runtime-chunk-EGOUMNCI.js.gz +0 -0
- package/build/runtime-chunk-IR4Z4PZL.js +1 -0
- package/build/runtime-chunk-IR4Z4PZL.js.br +0 -0
- package/build/runtime-chunk-IR4Z4PZL.js.gz +0 -0
- package/build/{runtime-chunk-NEOF7SBZ.js → runtime-chunk-JKFC5GFF.js} +1 -1
- package/build/runtime-chunk-JKFC5GFF.js.br +0 -0
- package/build/runtime-chunk-JKFC5GFF.js.gz +0 -0
- package/build/runtime-chunk-KHCWX7UM.js +1 -0
- package/build/runtime-chunk-KHCWX7UM.js.br +0 -0
- package/build/runtime-chunk-KHCWX7UM.js.gz +0 -0
- package/build/runtime-chunk-NBEG3YZF.js +1 -0
- package/build/runtime-chunk-NBEG3YZF.js.br +0 -0
- package/build/runtime-chunk-NBEG3YZF.js.gz +0 -0
- package/build/{runtime-chunk-ABZUBC4Q.js → runtime-chunk-ODRA7WQQ.js} +1 -1
- package/build/runtime-chunk-ODRA7WQQ.js.br +0 -0
- package/build/runtime-chunk-ODRA7WQQ.js.gz +0 -0
- package/build/runtime-chunk-P4MRRS7G.js +1 -0
- package/build/runtime-chunk-P4MRRS7G.js.br +0 -0
- package/build/runtime-chunk-P4MRRS7G.js.gz +0 -0
- package/build/{runtime-chunk-NW3DVKBD.js → runtime-chunk-PX2SHDSR.js} +1 -1
- package/build/runtime-chunk-PX2SHDSR.js.br +0 -0
- package/build/runtime-chunk-PX2SHDSR.js.gz +0 -0
- package/build/{runtime-chunk-HUXCP2PU.js → runtime-chunk-QSWZYIFB.js} +1 -1
- package/build/runtime-chunk-QSWZYIFB.js.br +0 -0
- package/build/runtime-chunk-QSWZYIFB.js.gz +0 -0
- package/build/{runtime-chunk-ZVGRIWWN.js → runtime-chunk-USH5SN53.js} +1 -1
- package/build/runtime-chunk-USH5SN53.js.br +1 -0
- package/build/runtime-chunk-USH5SN53.js.gz +0 -0
- package/build/{runtime-chunk-FUG375TP.js → runtime-chunk-UXBJEEBB.js} +1 -1
- package/build/{runtime-chunk-FUG375TP.js.br → runtime-chunk-UXBJEEBB.js.br} +0 -0
- package/build/runtime-chunk-UXBJEEBB.js.gz +0 -0
- package/build/runtime-chunk-VH6PPFRK.js +1 -0
- package/build/runtime-chunk-VH6PPFRK.js.br +0 -0
- package/build/runtime-chunk-VH6PPFRK.js.gz +0 -0
- package/build/{runtime-chunk-LOTNSNJT.js → runtime-chunk-VYI4FRTE.js} +1 -1
- package/build/runtime-chunk-VYI4FRTE.js.br +0 -0
- package/build/runtime-chunk-VYI4FRTE.js.gz +0 -0
- package/build/runtime-chunk-XUAR7IMM.js +1 -0
- package/build/runtime-chunk-XUAR7IMM.js.br +0 -0
- package/build/runtime-chunk-XUAR7IMM.js.gz +0 -0
- package/build/{runtime-chunk-K5Q5TON3.js → runtime-chunk-YAUQUF3M.js} +1 -1
- package/build/runtime-chunk-YAUQUF3M.js.br +0 -0
- package/build/runtime-chunk-YAUQUF3M.js.gz +0 -0
- package/build/runtime-chunk-ZEPDCH34.js +1 -0
- package/build/runtime-chunk-ZEPDCH34.js.br +0 -0
- package/build/runtime-chunk-ZEPDCH34.js.gz +0 -0
- package/build/{runtime-chunk-5NERARRS.js → runtime-chunk-ZQDMTPLX.js} +1 -1
- package/build/runtime-chunk-ZQDMTPLX.js.br +0 -0
- package/build/runtime-chunk-ZQDMTPLX.js.gz +0 -0
- package/build/runtime-classicRuntime-L7OCCZJP.js +1 -0
- package/build/runtime-classicRuntime-L7OCCZJP.js.br +0 -0
- package/build/runtime-classicRuntime-L7OCCZJP.js.gz +0 -0
- package/build/runtime-cloners-FLALMWIO.js +1 -0
- package/build/runtime-cloners-FLALMWIO.js.br +0 -0
- package/build/runtime-cloners-FLALMWIO.js.gz +0 -0
- package/build/{runtime-components-BK66NQJV.js → runtime-components-UEXJ53SX.js} +1 -1
- package/build/runtime-components-UEXJ53SX.js.br +0 -0
- package/build/runtime-components-UEXJ53SX.js.gz +0 -0
- package/build/{runtime-conditional-NND2FHP6.js → runtime-conditional-SK6JLPTN.js} +1 -1
- package/build/runtime-conditional-SK6JLPTN.js.br +0 -0
- package/build/runtime-conditional-SK6JLPTN.js.gz +0 -0
- package/build/runtime-createDestroy-7HPUGF4N.js +1 -0
- package/build/runtime-createDestroy-7HPUGF4N.js.br +0 -0
- package/build/runtime-createDestroy-7HPUGF4N.js.gz +0 -0
- package/build/{runtime-depthOfField-DGZKNDXA.js → runtime-depthOfField-CKYBFW6I.js} +1 -1
- package/build/runtime-depthOfField-CKYBFW6I.js.br +0 -0
- package/build/runtime-depthOfField-CKYBFW6I.js.gz +0 -0
- package/build/runtime-dragDrop-EX3OR5V4.js +1 -0
- package/build/runtime-dragDrop-EX3OR5V4.js.br +0 -0
- package/build/runtime-dragDrop-EX3OR5V4.js.gz +0 -0
- package/build/runtime-gameControls-RU5QOOTV.js +1 -0
- package/build/runtime-gameControls-RU5QOOTV.js.br +0 -0
- package/build/runtime-gameControls-RU5QOOTV.js.gz +0 -0
- package/build/runtime-hair-QTTGDM5L.js +1 -0
- package/build/runtime-hair-QTTGDM5L.js.br +1 -0
- package/build/runtime-hair-QTTGDM5L.js.gz +0 -0
- package/build/{runtime-hueSaturation-GPYT2K2E.js → runtime-hueSaturation-SRZYV565.js} +1 -1
- package/build/runtime-hueSaturation-SRZYV565.js.br +0 -0
- package/build/runtime-hueSaturation-SRZYV565.js.gz +0 -0
- package/build/{runtime-mergeStaticGeometries-O7VWNRBZ.js → runtime-mergeStaticGeometries-HHKXAWEN.js} +1 -1
- package/build/runtime-mergeStaticGeometries-HHKXAWEN.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-HHKXAWEN.js.gz +0 -0
- package/build/runtime-miscActions-WGLAQKYW.js +1 -0
- package/build/runtime-miscActions-WGLAQKYW.js.br +0 -0
- package/build/runtime-miscActions-WGLAQKYW.js.gz +0 -0
- package/build/runtime-mouseHover-JJVRNRUI.js +1 -0
- package/build/runtime-mouseHover-JJVRNRUI.js.br +0 -0
- package/build/runtime-mouseHover-JJVRNRUI.js.gz +0 -0
- package/build/{runtime-noise-6E6M63VS.js → runtime-noise-LCLVDWRJ.js} +1 -1
- package/build/runtime-noise-LCLVDWRJ.js.br +0 -0
- package/build/runtime-noise-LCLVDWRJ.js.gz +0 -0
- package/build/{runtime-particles-MD7UPOIE.js → runtime-particles-25AVSF7I.js} +1 -1
- package/build/runtime-particles-25AVSF7I.js.br +0 -0
- package/build/runtime-particles-25AVSF7I.js.gz +0 -0
- package/build/{runtime-paths-7ACRUYG4.js → runtime-paths-GZIZEYX2.js} +1 -1
- package/build/runtime-paths-GZIZEYX2.js.br +0 -0
- package/build/runtime-paths-GZIZEYX2.js.gz +0 -0
- package/build/{runtime-pixelation-NWN63YGU.js → runtime-pixelation-I34I7QKH.js} +1 -1
- package/build/runtime-pixelation-I34I7QKH.js.br +0 -0
- package/build/runtime-pixelation-I34I7QKH.js.gz +0 -0
- package/build/runtime-resize-6CLXNT5T.js +1 -0
- package/build/runtime-resize-6CLXNT5T.js.br +0 -0
- package/build/runtime-resize-6CLXNT5T.js.gz +0 -0
- package/build/runtime-sceneTransition-ZJEWNI5J.js +1 -0
- package/build/runtime-sceneTransition-ZJEWNI5J.js.br +0 -0
- package/build/runtime-sceneTransition-ZJEWNI5J.js.gz +0 -0
- package/build/runtime-scroll-UHHNM6EU.js +1 -0
- package/build/runtime-scroll-UHHNM6EU.js.br +0 -0
- package/build/runtime-scroll-UHHNM6EU.js.gz +0 -0
- package/build/runtime-shapeBlends-A7CDTV3D.js +1 -0
- package/build/runtime-shapeBlends-A7CDTV3D.js.br +2 -0
- package/build/runtime-shapeBlends-A7CDTV3D.js.gz +0 -0
- package/build/{runtime-text-DFWD2SPU.js → runtime-text-IHQA7IZN.js} +1 -1
- package/build/runtime-text-IHQA7IZN.js.br +0 -0
- package/build/runtime-text-IHQA7IZN.js.gz +0 -0
- package/build/runtime-textInputs-3SDEJR46.js +1 -0
- package/build/runtime-textInputs-3SDEJR46.js.br +0 -0
- package/build/runtime-textInputs-3SDEJR46.js.gz +0 -0
- package/build/runtime-timeline-44NIZADX.js +1 -0
- package/build/runtime-timeline-44NIZADX.js.br +0 -0
- package/build/runtime-timeline-44NIZADX.js.gz +0 -0
- package/build/runtime-tracking-L5RTSTUE.js +1 -0
- package/build/runtime-tracking-L5RTSTUE.js.br +0 -0
- package/build/runtime-tracking-L5RTSTUE.js.gz +0 -0
- package/build/runtime-transitions-NYRRMBB4.js +1 -0
- package/build/runtime-transitions-NYRRMBB4.js.br +0 -0
- package/build/runtime-transitions-NYRRMBB4.js.gz +0 -0
- package/build/{runtime-ui2d-2JS74EKD.js → runtime-ui2d-6WBI4AHC.js} +1 -1
- package/build/runtime-ui2d-6WBI4AHC.js.br +0 -0
- package/build/runtime-ui2d-6WBI4AHC.js.gz +0 -0
- package/build/{runtime-updater-KWRKWDYN.js → runtime-updater-RCOMZLTB.js} +1 -1
- package/build/runtime-updater-RCOMZLTB.js.br +3 -0
- package/build/runtime-updater-RCOMZLTB.js.gz +0 -0
- package/build/runtime-variables-DJUQPZDB.js +1 -0
- package/build/runtime-variables-DJUQPZDB.js.br +0 -0
- package/build/runtime-variables-DJUQPZDB.js.gz +0 -0
- package/build/{runtime-vectorShapes-YCCEKO2X.js → runtime-vectorShapes-S6ZZVE5D.js} +1 -1
- package/build/runtime-vectorShapes-S6ZZVE5D.js.br +0 -0
- package/build/runtime-vectorShapes-S6ZZVE5D.js.gz +0 -0
- package/build/{runtime-video-BMREJ4XX.js → runtime-video-U5RS7HHJ.js} +1 -1
- package/build/runtime-video-U5RS7HHJ.js.br +0 -0
- package/build/runtime-video-U5RS7HHJ.js.gz +0 -0
- package/build/{runtime-vignette-TU2E5T6G.js → runtime-vignette-RHYRJ6NJ.js} +1 -1
- package/build/runtime-vignette-RHYRJ6NJ.js.br +0 -0
- package/build/runtime-vignette-RHYRJ6NJ.js.gz +0 -0
- package/build/runtime-webgpu-A25J62AW.js +1 -0
- package/build/runtime-webgpu-A25J62AW.js.br +0 -0
- package/build/runtime-webgpu-A25J62AW.js.gz +0 -0
- package/build/runtime.cjs +369 -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/build/runtime-aiAssistant-DBCVWUEB.js.br +0 -0
- package/build/runtime-aiAssistant-DBCVWUEB.js.gz +0 -0
- package/build/runtime-apiServices-JU3DOVOS.js.br +0 -0
- package/build/runtime-apiServices-JU3DOVOS.js.gz +0 -0
- package/build/runtime-audio-LJOR4W23.js.br +0 -0
- package/build/runtime-audio-LJOR4W23.js.gz +0 -0
- package/build/runtime-bloom-QSFMSJ75.js.br +0 -0
- package/build/runtime-bloom-QSFMSJ75.js.gz +0 -0
- package/build/runtime-brightnessContrast-RCY3ODPF.js.br +0 -0
- package/build/runtime-brightnessContrast-RCY3ODPF.js.gz +0 -0
- package/build/runtime-chromaticAberration-SY5X27ML.js.br +0 -0
- package/build/runtime-chromaticAberration-SY5X27ML.js.gz +0 -0
- package/build/runtime-chunk-2AEIM2G4.js +0 -1
- package/build/runtime-chunk-2AEIM2G4.js.br +0 -0
- package/build/runtime-chunk-2AEIM2G4.js.gz +0 -0
- package/build/runtime-chunk-5CZ6MFAW.js +0 -1
- package/build/runtime-chunk-5CZ6MFAW.js.br +0 -0
- package/build/runtime-chunk-5CZ6MFAW.js.gz +0 -0
- package/build/runtime-chunk-5NERARRS.js.br +0 -0
- package/build/runtime-chunk-5NERARRS.js.gz +0 -0
- package/build/runtime-chunk-ABZUBC4Q.js.br +0 -0
- package/build/runtime-chunk-ABZUBC4Q.js.gz +0 -0
- package/build/runtime-chunk-AL2HGNMV.js +0 -1
- package/build/runtime-chunk-AL2HGNMV.js.br +0 -0
- package/build/runtime-chunk-AL2HGNMV.js.gz +0 -0
- package/build/runtime-chunk-EX3V3BQE.js.br +0 -0
- package/build/runtime-chunk-EX3V3BQE.js.gz +0 -0
- package/build/runtime-chunk-F7Z2PGG5.js.br +0 -0
- package/build/runtime-chunk-F7Z2PGG5.js.gz +0 -0
- package/build/runtime-chunk-FUG375TP.js.gz +0 -0
- package/build/runtime-chunk-HEZ7K3CW.js +0 -1
- package/build/runtime-chunk-HEZ7K3CW.js.br +0 -0
- package/build/runtime-chunk-HEZ7K3CW.js.gz +0 -0
- package/build/runtime-chunk-HUXCP2PU.js.br +0 -0
- package/build/runtime-chunk-HUXCP2PU.js.gz +0 -0
- package/build/runtime-chunk-JBTA64YE.js +0 -1
- package/build/runtime-chunk-JBTA64YE.js.br +0 -0
- package/build/runtime-chunk-JBTA64YE.js.gz +0 -0
- package/build/runtime-chunk-JRDX2TFU.js +0 -1
- package/build/runtime-chunk-JRDX2TFU.js.br +0 -0
- package/build/runtime-chunk-JRDX2TFU.js.gz +0 -0
- package/build/runtime-chunk-K5Q5TON3.js.br +0 -0
- package/build/runtime-chunk-K5Q5TON3.js.gz +0 -0
- package/build/runtime-chunk-LOTNSNJT.js.br +0 -0
- package/build/runtime-chunk-LOTNSNJT.js.gz +0 -0
- package/build/runtime-chunk-LUNJ7SLO.js.br +0 -0
- package/build/runtime-chunk-LUNJ7SLO.js.gz +0 -0
- package/build/runtime-chunk-NEOF7SBZ.js.br +0 -0
- package/build/runtime-chunk-NEOF7SBZ.js.gz +0 -0
- package/build/runtime-chunk-NW3DVKBD.js.br +0 -0
- package/build/runtime-chunk-NW3DVKBD.js.gz +0 -0
- package/build/runtime-chunk-ODYXBVNJ.js +0 -1
- package/build/runtime-chunk-ODYXBVNJ.js.br +0 -0
- package/build/runtime-chunk-ODYXBVNJ.js.gz +0 -0
- package/build/runtime-chunk-OKPYRW23.js +0 -1
- package/build/runtime-chunk-OKPYRW23.js.br +0 -0
- package/build/runtime-chunk-OKPYRW23.js.gz +0 -0
- package/build/runtime-chunk-PNJ7AF7H.js +0 -1
- package/build/runtime-chunk-PNJ7AF7H.js.br +0 -0
- package/build/runtime-chunk-PNJ7AF7H.js.gz +0 -0
- package/build/runtime-chunk-QFWOD7KO.js.br +0 -0
- package/build/runtime-chunk-QFWOD7KO.js.gz +0 -0
- package/build/runtime-chunk-R6NZ3XSG.js.br +0 -0
- package/build/runtime-chunk-R6NZ3XSG.js.gz +0 -0
- package/build/runtime-chunk-RLNFCXMS.js.br +0 -0
- package/build/runtime-chunk-RLNFCXMS.js.gz +0 -0
- package/build/runtime-chunk-S2A55QI5.js.br +0 -0
- package/build/runtime-chunk-S2A55QI5.js.gz +0 -0
- package/build/runtime-chunk-S6IQT6ZF.js +0 -1
- package/build/runtime-chunk-S6IQT6ZF.js.br +0 -0
- package/build/runtime-chunk-S6IQT6ZF.js.gz +0 -0
- package/build/runtime-chunk-U44V7VUP.js.br +0 -0
- package/build/runtime-chunk-U44V7VUP.js.gz +0 -0
- package/build/runtime-chunk-VKXOW65P.js +0 -1
- package/build/runtime-chunk-VKXOW65P.js.br +0 -0
- package/build/runtime-chunk-VKXOW65P.js.gz +0 -0
- package/build/runtime-chunk-WL2OAQWT.js +0 -1
- package/build/runtime-chunk-WL2OAQWT.js.br +0 -0
- package/build/runtime-chunk-WL2OAQWT.js.gz +0 -0
- package/build/runtime-chunk-X2RYY6RX.js.br +0 -2
- package/build/runtime-chunk-X2RYY6RX.js.gz +0 -0
- package/build/runtime-chunk-ZGFKGE5W.js +0 -1
- package/build/runtime-chunk-ZGFKGE5W.js.br +0 -0
- package/build/runtime-chunk-ZGFKGE5W.js.gz +0 -0
- package/build/runtime-chunk-ZVGRIWWN.js.br +0 -2
- package/build/runtime-chunk-ZVGRIWWN.js.gz +0 -0
- package/build/runtime-classicRuntime-BHVGEBZ6.js +0 -1
- package/build/runtime-classicRuntime-BHVGEBZ6.js.br +0 -0
- package/build/runtime-classicRuntime-BHVGEBZ6.js.gz +0 -0
- package/build/runtime-cloners-FJTKSHFU.js +0 -1
- package/build/runtime-cloners-FJTKSHFU.js.br +0 -0
- package/build/runtime-cloners-FJTKSHFU.js.gz +0 -0
- package/build/runtime-components-BK66NQJV.js.br +0 -0
- package/build/runtime-components-BK66NQJV.js.gz +0 -0
- package/build/runtime-conditional-NND2FHP6.js.br +0 -0
- package/build/runtime-conditional-NND2FHP6.js.gz +0 -0
- package/build/runtime-createDestroy-3IH64YKQ.js +0 -1
- package/build/runtime-createDestroy-3IH64YKQ.js.br +0 -0
- package/build/runtime-createDestroy-3IH64YKQ.js.gz +0 -0
- package/build/runtime-depthOfField-DGZKNDXA.js.br +0 -0
- package/build/runtime-depthOfField-DGZKNDXA.js.gz +0 -0
- package/build/runtime-dragDrop-7Z2LIYWZ.js +0 -1
- package/build/runtime-dragDrop-7Z2LIYWZ.js.br +0 -0
- package/build/runtime-dragDrop-7Z2LIYWZ.js.gz +0 -0
- package/build/runtime-gameControls-RTBNWQU7.js +0 -1
- package/build/runtime-gameControls-RTBNWQU7.js.br +0 -0
- package/build/runtime-gameControls-RTBNWQU7.js.gz +0 -0
- package/build/runtime-hair-OMZLXFFY.js +0 -1
- package/build/runtime-hair-OMZLXFFY.js.br +0 -2
- package/build/runtime-hair-OMZLXFFY.js.gz +0 -0
- package/build/runtime-hueSaturation-GPYT2K2E.js.br +0 -0
- package/build/runtime-hueSaturation-GPYT2K2E.js.gz +0 -0
- package/build/runtime-mergeStaticGeometries-O7VWNRBZ.js.br +0 -0
- package/build/runtime-mergeStaticGeometries-O7VWNRBZ.js.gz +0 -0
- package/build/runtime-miscActions-F5VEWDWC.js +0 -1
- package/build/runtime-miscActions-F5VEWDWC.js.br +0 -0
- package/build/runtime-miscActions-F5VEWDWC.js.gz +0 -0
- package/build/runtime-mouseHover-C4JRDB5P.js +0 -1
- package/build/runtime-mouseHover-C4JRDB5P.js.br +0 -0
- package/build/runtime-mouseHover-C4JRDB5P.js.gz +0 -0
- package/build/runtime-noise-6E6M63VS.js.br +0 -0
- package/build/runtime-noise-6E6M63VS.js.gz +0 -0
- package/build/runtime-particles-MD7UPOIE.js.br +0 -0
- package/build/runtime-particles-MD7UPOIE.js.gz +0 -0
- package/build/runtime-paths-7ACRUYG4.js.br +0 -0
- package/build/runtime-paths-7ACRUYG4.js.gz +0 -0
- package/build/runtime-pixelation-NWN63YGU.js.br +0 -0
- package/build/runtime-pixelation-NWN63YGU.js.gz +0 -0
- package/build/runtime-resize-PLIXP66B.js +0 -1
- package/build/runtime-resize-PLIXP66B.js.br +0 -0
- package/build/runtime-resize-PLIXP66B.js.gz +0 -0
- package/build/runtime-sceneTransition-KU7DBITG.js +0 -1
- package/build/runtime-sceneTransition-KU7DBITG.js.br +0 -0
- package/build/runtime-sceneTransition-KU7DBITG.js.gz +0 -0
- package/build/runtime-scroll-NOD7PULW.js +0 -1
- package/build/runtime-scroll-NOD7PULW.js.br +0 -0
- package/build/runtime-scroll-NOD7PULW.js.gz +0 -0
- package/build/runtime-shapeBlends-LADW256G.js +0 -1
- package/build/runtime-shapeBlends-LADW256G.js.br +0 -0
- package/build/runtime-shapeBlends-LADW256G.js.gz +0 -0
- package/build/runtime-text-DFWD2SPU.js.br +0 -0
- package/build/runtime-text-DFWD2SPU.js.gz +0 -0
- package/build/runtime-textInputs-KLOOCJ3R.js +0 -1
- package/build/runtime-textInputs-KLOOCJ3R.js.br +0 -0
- package/build/runtime-textInputs-KLOOCJ3R.js.gz +0 -0
- package/build/runtime-timeline-GAOPWXAQ.js +0 -1
- package/build/runtime-timeline-GAOPWXAQ.js.br +0 -0
- package/build/runtime-timeline-GAOPWXAQ.js.gz +0 -0
- package/build/runtime-tracking-T7KJ7NF7.js +0 -1
- package/build/runtime-tracking-T7KJ7NF7.js.br +0 -0
- package/build/runtime-tracking-T7KJ7NF7.js.gz +0 -0
- package/build/runtime-transitions-QQX2X2NI.js +0 -1
- package/build/runtime-transitions-QQX2X2NI.js.br +0 -0
- package/build/runtime-transitions-QQX2X2NI.js.gz +0 -0
- package/build/runtime-ui2d-2JS74EKD.js.br +0 -0
- package/build/runtime-ui2d-2JS74EKD.js.gz +0 -0
- package/build/runtime-updater-KWRKWDYN.js.br +0 -1
- package/build/runtime-updater-KWRKWDYN.js.gz +0 -0
- package/build/runtime-variables-S6VNWBXR.js +0 -1
- package/build/runtime-variables-S6VNWBXR.js.br +0 -0
- package/build/runtime-variables-S6VNWBXR.js.gz +0 -0
- package/build/runtime-vectorShapes-YCCEKO2X.js.br +0 -0
- package/build/runtime-vectorShapes-YCCEKO2X.js.gz +0 -0
- package/build/runtime-video-BMREJ4XX.js.br +0 -0
- package/build/runtime-video-BMREJ4XX.js.gz +0 -0
- package/build/runtime-vignette-TU2E5T6G.js.br +0 -0
- package/build/runtime-vignette-TU2E5T6G.js.gz +0 -0
- package/build/runtime-webgpu-5MIPMGNR.js +0 -1
- package/build/runtime-webgpu-5MIPMGNR.js.br +0 -0
- package/build/runtime-webgpu-5MIPMGNR.js.gz +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as e}from"./runtime-chunk-NBYTQLIB.js";import{f as t}from"./runtime-chunk-2AEIM2G4.js";import{a as n,b as i}from"./runtime-chunk-DZNU62CT.js";import{a as s}from"./runtime-chunk-VAVYZ35B.js";import{e as a}from"./runtime-chunk-FQNSP44B.js";import"./runtime-chunk-ODYXBVNJ.js";import"./runtime-chunk-RLNFCXMS.js";import"./runtime-chunk-U44V7VUP.js";import"./runtime-chunk-ABZUBC4Q.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{f as o,g as r}from"./runtime-chunk-NEOF7SBZ.js";import{d,v as l}from"./runtime-chunk-S6IQT6ZF.js";import"./runtime-chunk-RTLL6WIB.js";import"./runtime-chunk-2PT2WH66.js";import"./runtime-chunk-HUXCP2PU.js";import{a as h}from"./runtime-chunk-TZCHGFVF.js";import{s as u,t as p}from"./runtime-chunk-JBTA64YE.js";import{Dc as c,Ec as m,Fc as v,Ne as g,Oc as w,rd as E}from"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";var f=new v,y=new v,M=new v,x=new v,F=new E,L={type:"requestRender"},D=function(){let e=new v,t=new v;return(n,i,s)=>s>0?(e.subVectors(n,i),e.length()<=s?n:t.copy(i).add(e.normalize().multiplyScalar(s))):i}(),C=function(){let e=new w;return(n,i)=>{n.position.copy(i),null!==n.parent&&(e.copy(n.parent.matrixWorld).invert(),n.position.applyMatrix4(e)),e.copy(n.hiddenMatrix).invert(),n.position.applyMatrix4(e),n.updateMatrix(),n.hasNonUniformScale&&(n.updateMatrixWorld(),n.updateMatrixWorldRigid()),n instanceof l&&t(n.parent)&&n.invalidateDownstreamBooleanData(!0)}}(),P=class{constructor(e,t,n,i,s,a){this.data=e,this.id=t,this.object=n,this.paused=!1,this.currentDampingFactor=1,this.snapComplete=!1,this.isReset=!1,this.worldPosition0=new v,this.timeoutId=null,this.delayFinished=!0,this.wasOutside=!1,this.data={...u.defaultData,...e,...void 0===e.resetOnPointerLeave&&{resetOnPointerLeave:!1}},void 0===e.target||"cursor"===e.target||(this.target=i.find(e.target)),this.data.dampingFactor&&(this.currentDampingFactor=this.data.dampingFactor),this.resetDampingFactor=80/this.data.resetSpeed+1,this.object.getWorldPosition(this.worldPosition0),this.actions=o(e,e.actions,i,s,a,n)}},b=class extends n{constructor(e,t){super(e),this.eventManager=t,this.events=[],this.pairOfEventListeners=[],this.onMouseMove=e=>{if(!(s.length>1)){this.eventContext.updateRaycaster(e);for(let e of this.events)void 0===e.target&&this.updateSingleEvent(e)}},this.onMouseEnter=e=>{for(let e of this.events)void 0===e.target&&(e.isReset=!1,e.currentDampingFactor=e.data.dampingFactor)},this.onMouseLeave=e=>{for(let e of this.events)void 0===e.target&&(e.data.resetOnPointerLeave&&(e.isReset=!0,e.currentDampingFactor=e.resetDampingFactor),this.updateSingleEvent(e))},this.onTargetChange=e=>()=>{this.updateSingleEvent(e)}}connect(){let{page:e}=this.eventContext;if(e.traverseEntity(t=>{let n=t.data?.events.find(e=>"Follow"===e.data.type&&!e.data.disabled);n&&(!e.data.globalPhysics.usePhysics||"dynamic"!==t.dataPatched.physics?.rigidBody)&&this.events.push(new P(n.data,n.id,t,e,this.eventContext.sharedAssets,this.eventManager))}),!this.events.length)return;let{domElement:t,eventElement:n}=this.eventContext;this.domEventsNeeded.clear(),a&&(this.domEventsNeeded.add("pointerdown"),t.addEventListener("pointerdown",this.onMouseMove)),this.domEventsNeeded.add("pointermove"),n.addEventListener("pointermove",this.onMouseMove),this.eventContext.useWindowEvents||(t.addEventListener("pointerenter",this.onMouseEnter),t.addEventListener("pointerleave",this.onMouseLeave));for(let e of this.events)if(void 0!==e.target){let t=e.target,n=this.onTargetChange(e);this.pairOfEventListeners.push([t,n]),t.addEventListener("requestRender",n)}}disconnect(){if(!this.events.length)return;let{domElement:e,eventElement:t}=this.eventContext;this.domEventsNeeded.clear(),a&&e.removeEventListener("pointerdown",this.onMouseMove),t.removeEventListener("pointermove",this.onMouseMove),e.removeEventListener("pointerenter",this.onMouseEnter),e.removeEventListener("pointerleave",this.onMouseLeave);for(let[e,t]of this.pairOfEventListeners)e.removeEventListener("requestRender",t);for(let e of this.events)e.paused=!0,e.isReset=!1,r(e.actions)}onAnimationFrameDamping(){for(let e of this.events)e.paused||this.updateSingleEvent(e,!0)}updateSingleEvent(e,t=!1){this.events.forEach(e=>{e.actions.Create.forEach(e=>{e.dispatchThrottled()})});let{plane:n,limitDistance:i,limitDistanceEnabled:s}=e.data;if(e.object.getWorldPosition(M),e.isReset)x.copy(e.worldPosition0);else if(e.target)e.target.getWorldPosition(x);else{let{getCamera:e,raycaster:t}=this.eventContext;if("custom"===n?(e().getWorldDirection(y),y.negate(),f.copy(y)):"xy"===n?f.set(0,0,1):"xz"===n?f.set(0,1,0):"yz"===n&&f.set(1,0,0),F.setFromNormalAndCoplanarPoint(f,M),!t.ray.intersectPlane(F,x))return}if(!e.isReset)if(x.distanceTo(e.worldPosition0)>i&&s&&e.target){if(e.snapComplete=!1,e.data.snapDelay&&(e.delayFinished=!1,typeof window<"u"&&null!==e.timeoutId&&(window.clearTimeout(e.timeoutId),e.timeoutId=null)),e.wasOutside=!0,!e.data.resetAfterDistanceLimit)return;x.copy(e.worldPosition0),e.currentDampingFactor=e.resetDampingFactor}else if(e.wasOutside&&(e.data.snapDelay&&typeof window<"u"&&(e.timeoutId=window.setTimeout(()=>{e.delayFinished=!0,e.paused=!1,this.updateSingleEvent(e)},1e3*e.data.snapDelay)),e.currentDampingFactor=e.data.dampingFactor,e.wasOutside=!1),!1===e.delayFinished)return;!1===e.data.enabledTranslation[0]&&(x.x=M.x),!1===e.data.enabledTranslation[1]&&(x.y=M.y),!1===e.data.enabledTranslation[2]&&(x.z=M.z);let a=D(M,x,e.wasOutside?0:e.data.maxDelta);if(e.currentDampingFactor>1){let n=f.subVectors(a,M).divideScalar(e.currentDampingFactor);M.add(n),t&&C(e.object,M),e.paused=n.length()<.01}else C(e.object,a),e.paused=!0;e.object?.dispatchEvent({type:"beginEvent",eventName:"Follow"}),e.object.dispatchEvent(L)}},j=new v,W=new v,N=new w,S=new m,R=new m,O=new m,k=new m,z=new c,Q=new g,T=new v,V=new v,A=new v,B=new v,U=new E,I={type:"requestRender"},q={type:"changeRotation"},Z=["x","y","z"],X=function(){let e=new w;return function(n,i){null!==n.parent?e.multiplyMatrices(n.parent.matrixWorld,n.hiddenMatrix):e.copy(n.hiddenMatrix),i.premultiply(d(e).invert()),n.rotation.setFromRotationMatrix(i),n.updateMatrix(),n instanceof l&&t(n.parent)&&n.invalidateDownstreamBooleanData(!0)}}(),Y=class{constructor(e,t,n,i){this.id=t,this.object=n,this.paused=!1,this.currentDampingFactor=1,this.isReset=!1,this.worldQuaternion0=new m,this.aim=new m,this.lastPosition=new v,this.lastParentWorld=new w,this.timeoutId=null,this.delayFinished=!0,this.wasOutside=!1,this.data={...p.defaultData,...e,...void 0===e.resetOnPointerLeave&&{resetOnPointerLeave:!1}},void 0===e.target||"cursor"===e.target||(this.target=i.find(e.target)),this.data.dampingFactor&&(this.currentDampingFactor=this.data.dampingFactor),this.object.getWorldQuaternion(this.worldQuaternion0),isNaN(this.worldQuaternion0.x)&&(this.worldQuaternion0.x=0),isNaN(this.worldQuaternion0.y)&&(this.worldQuaternion0.y=0),isNaN(this.worldQuaternion0.z)&&(this.worldQuaternion0.z=0),isNaN(this.worldQuaternion0.w)&&(this.worldQuaternion0.w=1),this.aim.copy(this.worldQuaternion0),this.base0=n.rotation.clone(),this.base=n.rotation.clone(),this.written=n.rotation.clone(),this.lastPosition.copy(n.position),n.parent&&this.lastParentWorld.copy(n.parent.matrixWorld),this.resetDampingFactor=80/this.data.resetSpeed+1}},_=class extends n{constructor(){super(...arguments),this.events=[],this.pairOfEventListeners=[],this.pairOfUserEventListeners=[],this.lastCameraWorld=new w,this.lastCameraProjection=new w,this.onMouseMove=e=>{if(!(s.length>1)){this._lastMouseEvent=e,this.eventContext.updateRaycaster(e);for(let e of this.events)void 0===e.target&&this.updateSingleEvent(e)}},this.onMouseEnter=e=>{for(let e of this.events)void 0===e.target&&(e.isReset=!1,e.currentDampingFactor=e.data.dampingFactor)},this.onMouseLeave=e=>{for(let e of this.events)void 0===e.target&&(e.data.resetOnPointerLeave&&(e.isReset=!0,e.currentDampingFactor=e.resetDampingFactor),this.updateSingleEvent(e))},this.onScroll=e=>{if(this._lastMouseEvent){let e=new PointerEvent("pointermove",{clientX:this._lastMouseEvent.clientX,clientY:this._lastMouseEvent.clientY,bubbles:!0,cancelable:!0,view:window});this.eventContext.eventElement.dispatchEvent(e)}},this.onTargetChange=e=>()=>{this.updateSingleEvent(e)},this.createUserEventListener=t=>({eventName:n,target:i})=>{if(!n||!i)return;let s=e(n);s&&"LookAt"===s&&this.updateSingleEvent(t)}}connect(){let{page:e}=this.eventContext;if(e.traverseEntity(t=>{let n=t.data?.events.find(e=>"LookAt"===e.data.type&&!e.data.disabled);n&&(!e.data.globalPhysics.usePhysics||"dynamic"!==t.dataPatched.physics?.rigidBody)&&this.events.push(new Y(n.data,n.id,t,e))}),!this.events.length)return;let{domElement:t,eventElement:n}=this.eventContext;this.domEventsNeeded.clear(),a&&(this.domEventsNeeded.add("pointerdown"),t.addEventListener("pointerdown",this.onMouseMove)),this.domEventsNeeded.add("pointermove"),n.addEventListener("pointermove",this.onMouseMove),this.eventContext.useWindowEvents?n.addEventListener("scroll",this.onScroll):(t.addEventListener("pointerenter",this.onMouseEnter),t.addEventListener("pointerleave",this.onMouseLeave));for(let e of this.events){if(void 0!==e.target){let t=this.onTargetChange(e),n=e.target;this.pairOfEventListeners.push([n,t]),n.addEventListener("requestRender",t)}let t=this.createUserEventListener(e),n=e.object;this.pairOfUserEventListeners.push([n,t]),n.addEventListener("userEvent",t)}}disconnect(){if(!this.events.length)return;let{domElement:e,eventElement:t}=this.eventContext;this.domEventsNeeded.clear(),a&&e.removeEventListener("pointerdown",this.onMouseMove),t.removeEventListener("pointermove",this.onMouseMove),e.removeEventListener("pointerenter",this.onMouseEnter),e.removeEventListener("pointerleave",this.onMouseLeave),t.removeEventListener("scroll",this.onScroll);for(let[e,t]of this.pairOfEventListeners)e.removeEventListener("requestRender",t);for(let[e,t]of this.pairOfUserEventListeners)e.removeEventListener("userEvent",t);for(let e of this.events)e.paused=!0,e.isReset=!1}onAnimationFrameDamping(){let e=this.cameraMoved();for(let t of this.events)t.paused&&(this.objectMoved(t)||e&&!t.target)&&(t.paused=!1),!t.paused&&this.updateSingleEvent(t)}cameraMoved(){let e=this.eventContext.getCamera();return!(!e||(e.updateWorldMatrix(!0,!1),e===this.lastCamera&&this.lastCameraWorld.equals(e.matrixWorld)&&this.lastCameraProjection.equals(e.projectionMatrix))||(this.lastCamera=e,this.lastCameraWorld.copy(e.matrixWorld),this.lastCameraProjection.copy(e.projectionMatrix),0))}objectMoved(e){let{object:t}=e;return!t.rotation.equals(e.written)||!t.position.equals(e.lastPosition)||!!t.parent&&(t.parent.updateWorldMatrix(!0,!1),!t.parent.matrixWorld.equals(e.lastParentWorld))}updateSingleEvent(e){let{tilt:t,axis:n,distance:i,plane:s,limitDistance:a,enabledRotation:o,limitDistanceEnabled:r}=e.data,{getCamera:d}=this.eventContext,{object:l,target:h}=e,u=!1;for(let t of Z)l.rotation[t]!==e.written[t]&&(e.base[t]=l.rotation[t],u=!0);if(l.getWorldPosition(T),e.lastPosition.copy(l.position),l.parent&&e.lastParentWorld.copy(l.parent.matrixWorld),!e.isReset)if(e.target)e.target.getWorldPosition(V);else{let t=d();t.updateWorldMatrix(!0,!1);let{x:n,y:a}=this.eventContext.pointerWorld;if(Q.setFromCamera(z.set(n,a),t),"custom"===s?(t.getWorldDirection(W),W.negate(),U.setFromNormalAndCoplanarPoint(W,T)):("xy"===s?j.set(0,0,1):"xz"===s?j.set(0,1,0):"yz"===s&&j.set(1,0,0),U.setFromNormalAndCoplanarPoint(j,T)),!Q.ray.intersectPlane(U,V))return this.hold(e,u);i>0&&("custom"===s||void 0===s)&&V.addScaledVector(W,i)}if(e.isReset||(h?"target"===t?A.copy(h.up).applyMatrix4(N.extractRotation(h.matrixWorld)).normalize():o.some(e=>!1===e)?("x"===n?(B.set(0,0,1),!1===o[2]&&B.set(0,1,0)):"y"===n?(B.set(1,0,0),!1===o[0]&&B.set(0,0,1)):(B.set(0,1,0),!1===o[1]&&B.set(1,0,0)),A.copy(B).applyQuaternion(e.worldQuaternion0).normalize()):A.set(0,1,0):"custom"===s?A.set(0,1,0):A.copy(j)),e.isReset)R.copy(e.worldQuaternion0);else if(T.distanceTo(V)>a&&r&&h){if(e.data.snapDelay&&(e.delayFinished=!1,typeof window<"u"&&null!==e.timeoutId&&(window.clearTimeout(e.timeoutId),e.timeoutId=null)),e.wasOutside=!0,!e.data.resetAfterDistanceLimit)return this.hold(e,u);R.copy(e.worldQuaternion0),e.currentDampingFactor=e.resetDampingFactor}else{if(e.wasOutside&&(e.data.snapDelay&&typeof window<"u"&&(e.timeoutId=window.setTimeout(()=>{e.delayFinished=!0,e.paused=!1,this.updateSingleEvent(e)},1e3*e.data.snapDelay)),e.currentDampingFactor=e.data.dampingFactor,e.wasOutside=!1),!1===e.delayFinished)return this.hold(e,u);(function(e,t,n,i,s,a){let o=N.elements;J.subVectors(t,n),0===J.lengthSq()&&(J.z=1),J.normalize(),G.crossVectors(i,J),0===G.lengthSq()&&(1===Math.abs(i.z)?J.x+=1e-4:J.z+=1e-4,J.normalize(),G.crossVectors(i,J)),G.normalize(),H.crossVectors(J,G),"x"===s?1===a.z?[G,H,J]=[J,G,H]:(G.negate(),[G,J]=[J,G]):"y"===s?1===a.x?[G,H,J]=[H,J,G]:(G.negate(),[H,J]=[J,H]):1===a.x&&(G.negate(),[G,H]=[H,G]),o[0]=G.x,o[4]=H.x,o[8]=J.x,o[1]=G.y,o[5]=H.y,o[9]=J.y,o[2]=G.z,o[6]=H.z,o[10]=J.z})(0,V,T,A,n,B),R.setFromRotationMatrix(N),S.setFromUnitVectors(B.applyQuaternion(R),A),o.some(e=>!1===e)&&"target"!==t&&R.premultiply(S).normalize()}e.currentDampingFactor>1?(e.aim.slerp(R,1/e.currentDampingFactor),e.paused=8*(1-Math.abs(e.aim.dot(R)))<1e-6):(e.aim.copy(R),e.paused=!0),this.write(e)}hold(e,t){e.paused=!0,t&&this.write(e)}write(e){let{object:t}=e;k.setFromEuler(e.base0).invert().multiply(O.setFromEuler(e.base)),S.copy(e.aim).multiply(k),X(t,N.makeRotationFromQuaternion(S)),e.written.copy(t.rotation),e.object?.dispatchEvent({type:"beginEvent",eventName:"LookAt"}),t.dispatchEvent(I),t.dispatchEvent(q)}},H=new v,G=new v,J=new v;i("Follow",({eventContext:e,eventManager:t})=>new b(e,t)),i("LookAt",({eventContext:e})=>new _(e)),h("tracking");
|
|
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-PNJ7AF7H.js";import"./runtime-chunk-S2A55QI5.js";import"./runtime-chunk-NTUTXO7Q.js";import{a as r,b as a,e as o,g as h}from"./runtime-chunk-HBZCKQBD.js";import"./runtime-chunk-HD7WF3XN.js";import{a as c}from"./runtime-chunk-GGSUJEGZ.js";import"./runtime-chunk-2AEIM2G4.js";import"./runtime-chunk-FTVQTRM7.js";import{a as d}from"./runtime-chunk-ODYXBVNJ.js";import"./runtime-chunk-AL2HGNMV.js";import"./runtime-chunk-RLNFCXMS.js";import"./runtime-chunk-U44V7VUP.js";import"./runtime-chunk-ABZUBC4Q.js";import"./runtime-chunk-4YV3EXSU.js";import"./runtime-chunk-NSD7DU3P.js";import{b as l,e as m}from"./runtime-chunk-NEOF7SBZ.js";import"./runtime-chunk-S6IQT6ZF.js";import"./runtime-chunk-RTLL6WIB.js";import{e as u}from"./runtime-chunk-2PT2WH66.js";import{a as p}from"./runtime-chunk-HUXCP2PU.js";import{a as g}from"./runtime-chunk-TZCHGFVF.js";import{p as A}from"./runtime-chunk-JBTA64YE.js";import{Bc as f,Cc as j}from"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";function y(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 w={state:null,duration:0,delay:0,delayDirection:"start-once",direction:"normal",repeat:0,easing:0},T=class extends f{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!!m(this.shared,this.condition)||!(this.animating&&!this.loopsForever)}get loopsForever(){return-1===y(this.data).repeat||this.data.tweens.some((t,i)=>i>0&&-1===t.data.repeat)}get runMode(){return void 0!==this.runModeOverride?this.runModeOverride:A(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,w,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 h({...t(y(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 d&&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&&c.remove(this)}play(){if(!1===m(this.shared,this.condition)||"Once"===this.runMode&&this.hasPlayedOnce)return!1;this.hasPlayedOnce=!0,this.start()}start(){!this.runner||(this.runner.play(c.time),this.runner.isPlaying&&c.add(this))}pause(){this.runner?.stop(),c.remove(this)}stop(){this.pause();let t=void 0===this.data.tweens[0].data.state?this.initialCurrentState:this.data.tweens[0].data.state;u(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===m(this.shared,this.condition))return!1;this.runner?.seek(t)}playDirected(t){if(!1===m(this.shared,this.condition))return!1;!this.runner||(this.runner.playDirected(c.time,t),this.runner.isPlaying&&c.add(this))}playFromCurrent(){this.playDirected(!0)}reverseFromCurrent(){this.playDirected(!1)}dispose(){this.pause()}},b=new Map;function C(t,i){if(void 0===i)return;let e=t.scene.find(i);return e?a(e):i}var F=class extends f{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||!this.animationControls.resumeClip(t)||(this.threeAnimAction=t,0))}play(t=!1){if(!1===m(this.shared,this.condition))return!1;window.clearTimeout(this.timeoutId),this.timeoutId=window.setTimeout(()=>{this.resume()||(this.threeAnimAction=this.animationControls.play(this.data),this.threeAnimAction&&this.animationControls.startClip(this.threeAnimAction,this.data.object,{start:this.leftFrameTime,end:this.rightFrameTime,fade:t?.2:0}))},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=j.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===m(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()})}),this.animationControls.holdClips(this.data.interaction,(t,i)=>this.targetsClip(t,i))}disposeDelay(){clearTimeout(this.timeoutId),delete this.timeoutId}dispose(){this.disposeDelay()}},I=class{constructor(t,i,e,s,n){p.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()}};o(n),l("Transition",({eventType:t,data:i,page:e,shared:s,actionCondition:n,runModeOverride:r})=>new T(t,i,e,s,n,r)),l("Animation",({data:t,page:i,eventManager:e,shared:s,actionCondition:n})=>new I(t,i,e.animationControls,s,n)),g("transitions");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Z`��6�t�DW�J�!�eoˁ�j���$�\��|����B�͒y�`4�@CJOf�&��dŨ��o��X1Hp��*�]��"�P�����H4�骹���+>�٩�Z�Y�z�|+�o�+�w`U0���0 |&��i/�_:���4����1��mHD\�_cV>�n���?
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./runtime-chunk-TU4KDRKR.js";import{a,b as t}from"./runtime-chunk-DZNU62CT.js";import{a as i,b as s,e as r,f as n,g as d}from"./runtime-chunk-NEOF7SBZ.js";import"./runtime-chunk-HUXCP2PU.js";import{a as o}from"./runtime-chunk-TZCHGFVF.js";import{Ga as h,Ha as l,v as c}from"./runtime-chunk-JBTA64YE.js";import{Cc as m,Ec as u,Fc as p,Oc as y,Pc as V}from"./runtime-chunk-BVVSZMXD.js";import"./runtime-chunk-ML3Z74BL.js";var b=new y,v=new p,f=new u,g=new p,T=new V,I=class extends a{constructor(a,t,i,s,r){super(a),this.sharedVariables=t,this.eventManager=i,this.needsMouse=s,this.needsRaycast=r,this.dynamicVars=[],this.variablesToWatch=[],this.prevMouseProperty=null,this.prevRaycastProperty=null,this.pauseTime=0,this.isOutOfFocus=!1,this.events=[],this.onFrame=a=>{let t=this.eventContext.sharedAssets;if(this.rafId=window.requestAnimationFrame(this.onFrame),this.isOutOfFocus)return;let i=new Date,s=[],r=[];for(let e=0;e<this.propertiesToWatch.length;e++){let{objectId:a,property:t,prevValue:i}=this.propertiesToWatch[e],s=this.eventContext.scene.find(a),n=c.propertyPaths[t];if("width"===n[0]||"height"===n[0]||"depth"===n[0])s=s.geometry.userData.parameters[n[0]];else if(("position"===n[0]||"rotation"===n[0]&&n.length>1)&&s.getPhysicsLocalMatrix?.(b))b.decompose(v,f,g),"position"===n[0]?s=n.length>1?v[n[1]]:v:(T.setFromQuaternion(f,s.rotation.order),s=T[n[1]]);else for(let e=0;e<n.length;e++)s=s[n[e]];null===i?this.propertiesToWatch[e].prevValue=s instanceof p?s.clone():s:(s instanceof p?!s.equals(i):i!==s)&&(r.push({objId:a,property:t}),s instanceof p?this.propertiesToWatch[e].prevValue.copy(s):this.propertiesToWatch[e].prevValue=s)}for(let e=0;e<this.variablesToWatch.length;e++){let{id:a,prevValue:i}=this.variablesToWatch[e],r=t.getVariable(a);r!==i&&(s.push(a),this.variablesToWatch[e].prevValue=r)}for(let r=0;r<this.dynamicVars.length;r++){let{id:n,expectedTime:d,last:o,data:c,timerSeconds:u,startValue:p}=this.dynamicVars[r],y=1e3;if("timer"!==c.dynamicVariableType&&"stopwatch"!==c.dynamicVariableType||"number3decimal"!==c.format?"counter"===c.dynamicVariableType?y=c.updateInterval:"random"===c.dynamicVariableType&&(y=c.isStatic?1/0:c.updateInterval):y=1,-1!==d){if("Stopped"!==t.getDynamicVariablePlayState(n)&&"Restarted"!==t.getDynamicVariablePlayState(n)||(this.dynamicVars[r].last=a,this.dynamicVars[r].expectedTime=a+y,"counter"===c.dynamicVariableType&&t.getVariable(n)!==p&&(t.updateVariable(n,p),this.eventManager.requestRender()),("timer"===c.dynamicVariableType||"stopwatch"===c.dynamicVariableType)&&this.dynamicVars[r].timerSeconds!==p&&(this.dynamicVars[r].timerSeconds=p,t.updateVariable(n,l.getFormattedTimerTime(p,c)),this.eventManager.requestRender()),"Restarted"===t.getDynamicVariablePlayState(n)&&t.setDynamicVariablePlayState(n,"Playing"),"Stopped"!==t.getDynamicVariablePlayState(n))){if("Paused"===t.getDynamicVariablePlayState(n)){void 0===this.dynamicVars[r].deltaToExpectedTime&&(this.dynamicVars[r].deltaToExpectedTime=Math.max(this.dynamicVars[r].expectedTime-a,0)),this.dynamicVars[r].last=a-(y-this.dynamicVars[r].deltaToExpectedTime),this.dynamicVars[r].expectedTime=a+this.dynamicVars[r].deltaToExpectedTime;continue}if(this.dynamicVars[r].deltaToExpectedTime=void 0,a>=d)if(this.dynamicVars[r].last=a,this.dynamicVars[r].expectedTime+=y,"random"===c.dynamicVariableType){let e=c.min+Math.random()*(c.max-c.min),a=c.decimals;e=Math.round(e*Math.pow(10,a))/Math.pow(10,a),t.updateVariable(n,e),s.push(n),this.eventManager.requestRender()}else if("counter"===c.dynamicVariableType){let e=t.getVariable(n),a=t.getDynamicVariableToggleIsForward(n)??!0,i=t.getVariable(n)+c.increment*(a?1:-1);c.hasEnd&&(i=c.increment>0?m.clamp(i,p,c.endValue):m.clamp(i,c.endValue,p),i===p&&t.setDynamicVariableToggleIsForward(n,void 0),c.repeat?i===c.endValue&&(i=p):(i===p||i===c.endValue)&&t.setDynamicVariablePlayState(n,"Paused")),i!==e&&(s.push(n),t.updateVariable(n,i),this.eventManager.requestRender())}else if("time"===c.dynamicVariableType){let a=t.getVariable(n),r=e(i,c);if("object"==typeof a&&"textValue"in a&&"object"==typeof r&&"textValue"in r){if(Array.isArray(a.textValue)&&Array.isArray(r.textValue)){if(a.textValue.every((e,a)=>e===r.textValue[a]))continue}else if(a.textValue===r.textValue)continue}else if(a===r)continue;t.updateVariable(n,r),s.push(n),this.eventManager.requestRender()}else{let e=h.isTextValue(c.endValue)?w(c.endValue.textValue):c.endValue,i=t.getDynamicVariableToggleIsForward(n)??!0,d=u+(a-o)/1e3*("timer"===c.dynamicVariableType?-1:1)*(i?1:-1);d=Math.max(d,0),c.hasEnd&&(d="stopwatch"===c.dynamicVariableType?m.clamp(d,p,e):m.clamp(d,e,p),d===p&&t.setDynamicVariableToggleIsForward(n,void 0),c.repeat?Math.abs(d-e)<("number3decimal"===c.format?1e-4:.1)&&(d=p):(Math.abs(d-p)<("number3decimal"===c.format?1e-4:.1)||Math.abs(d-e)<("number3decimal"===c.format?1e-4:.1))&&t.setDynamicVariablePlayState(n,"Paused")),d!==u&&(s.push(n),this.dynamicVars[r].timerSeconds=d,t.updateVariable(n,l.getFormattedTimerTime(d,c)),this.eventManager.requestRender())}}}else this.dynamicVars[r].last=a,this.dynamicVars[r].expectedTime=a+y}let n=!1;t.mouseProperty!==this.prevMouseProperty&&(this.prevMouseProperty=t.mouseProperty,n=!0);let d=!1;t.raycastProperty!==this.prevRaycastProperty&&(this.prevRaycastProperty=t.raycastProperty,d=!0),this.events.forEach(e=>{(s.includes(e.data.variableId)||r.find(a=>a.objId===e.data.objectId&&a.property===e.data.property)||"mouseProperty"===e.data.variableId&&n||"raycastProperty"===e.data.variableId&&d)&&(e.dispatch(),this.eventManager.requestRender())})},this.onBlur=()=>{this.pause()},this.onFocus=()=>{this.resume()}}pause(){this.isOutOfFocus||(this.isOutOfFocus=!0,this.pauseTime=Date.now())}resume(){if(!this.isOutOfFocus)return;this.isOutOfFocus=!1;let e=Date.now()-this.pauseTime;for(let a=0;a<this.dynamicVars.length;a++)this.dynamicVars[a].last+=e,this.dynamicVars[a].expectedTime+=e}connect(){this.eventContext.page.traverseEntity(e=>{e.data?.events.filter(e=>"VariableChange"===e.data.type&&!e.data.disabled).forEach(a=>{this.events.push(new P(a.id,a.data,e,this.eventContext.page,this.eventContext.sharedAssets,this.eventManager))})}),this.propertiesToWatch=this.events.filter(e=>"objectProperty"===e.data.variableId&&null!==e.data.objectId).map(e=>({objectId:e.data.objectId,property:e.data.property,prevValue:null}));let a=this.eventContext.sharedAssets;this.sharedVariables.forEach(({id:t,data:i})=>{if(!("dynamicVariableType"in i))return void(this.events.find(e=>e.data.variableId===t)&&this.variablesToWatch.push({id:t,prevValue:a.getVariable(t)}));let s;if("timer"===i.dynamicVariableType||"stopwatch"===i.dynamicVariableType){let e;if(h.isTextValue(i.value)&&Array.isArray(i.value.textValue)){let a=i.value.textValue;e=3===a.length?a[2]+60*a[1]+3600*a[0]:a[1]+60*a[0]}else e=i.value;s=e,this.dynamicVars.push({id:t,last:-1,expectedTime:-1,data:i,timerSeconds:e,startValue:s})}else"time"===i.dynamicVariableType&&a.updateVariable(t,e(new Date,i)),"counter"===i.dynamicVariableType&&(s=h.isTextValue(i.value)?w(i.value.textValue):i.value),this.dynamicVars.push({id:t,last:-1,expectedTime:-1,data:i,startValue:s})}),this.rafId=window.requestAnimationFrame(this.onFrame),window.addEventListener("blur",this.onBlur),window.addEventListener("focus",this.onFocus)}disconnect(){window.removeEventListener("blur",this.onBlur),window.removeEventListener("focus",this.onFocus),this.rafId&&(window.cancelAnimationFrame(this.rafId),this.rafId=void 0),this.events.forEach(e=>e.dispose())}},P=class{constructor(e,a,t,i,s,r){this.id=e,this.data=a,this.object=t,this.actions=n(a,a.actions,i,s,r,t)}dispatch(){let e=this.actions;e.Audio.forEach(e=>e.dispatchConditional()),e.Particles.forEach(e=>e.dispatchConditional()),e.Video.forEach(e=>e.dispatchConditional()),e.Create.forEach(e=>e.dispatch()),e.Destroy.forEach(e=>e.dispatch()),e.Reset.forEach(e=>e.dispatch()),e.Transition.forEach(e=>{!e.shouldReinit()||(e.object.currentTransitionEvent!==this&&(e.object.currentTransitionEvent=this),e.init())}),e.Transition.forEach(e=>e.play()),e.Animation.forEach(e=>e.play()),e.TimelineAnimation.forEach(e=>e.dispatchConditional()),e.SwitchCamera.forEach(e=>e.play()),e.SceneTransition.forEach(e=>e.dispatch()),e.SetVariable.forEach(e=>e.checkConditions()),e.SetVariable.forEach(e=>e.dispatch()),e.DynamicVariablePlay.forEach(e=>e.dispatch()),e.ClearLocalStorage.forEach(e=>e.dispatch()),e.UserAPI.forEach(e=>e.dispatch())}dispose(){d(this.actions)}};function w(e){return 3===e.length?e[2]+60*e[1]+3600*e[0]:e[1]+60*e[0]}var x=class{constructor(e,a,t,i){this.data=e,this.page=a,this.shared=t,this.condition=i,this.evaluatedCondition=!1}checkConditions(){this.evaluatedCondition=r(this.shared,this.condition)}dispatch(){if(!1===this.evaluatedCondition)return!1;let e=this.shared.getVariable(this.data.variableId),a=i(this.data.expression,this.shared,h.typeOfVariable(e));void 0!==a&&this.shared.updateVariable(this.data.variableId,"string"==typeof a?{textValue:a}:a)}dispose(){}},D=class{constructor(e,a,t,i){this.data=e,this.page=a,this.shared=t,this.condition=i,this.timeoutId=null}dispatchInner(){if(!1===r(this.shared,this.condition))return!1;let e=this.shared.getDynamicVariablePlayState(this.data.variableId);if("PlayPause"===this.data.mode)void 0===this.shared.getDynamicVariableToggleIsForward(this.data.variableId)&&this.shared.setDynamicVariableToggleIsForward(this.data.variableId,!0),this.shared.setDynamicVariablePlayState(this.data.variableId,"Playing"===e?"Paused":"Playing");else if("Play"===this.data.mode&&"Playing"!==e)void 0===this.shared.getDynamicVariableToggleIsForward(this.data.variableId)&&this.shared.setDynamicVariableToggleIsForward(this.data.variableId,!0),this.shared.setDynamicVariablePlayState(this.data.variableId,"Playing");else if("Stop"===this.data.mode&&"Stopped"!==e)this.shared.setDynamicVariablePlayState(this.data.variableId,"Stopped");else if("Pause"===this.data.mode&&"Paused"!==e)this.shared.setDynamicVariablePlayState(this.data.variableId,"Paused");else if("Restart"===this.data.mode)this.shared.setDynamicVariablePlayState(this.data.variableId,"Restarted");else if("Toggle"===this.data.mode){let a=this.shared.getDynamicVariableToggleIsForward(this.data.variableId);"Playing"===e?this.shared.setDynamicVariableToggleIsForward(this.data.variableId,void 0!==a&&!a):(this.shared.setDynamicVariableToggleIsForward(this.data.variableId,!a),this.shared.setDynamicVariablePlayState(this.data.variableId,"Playing"))}}dispatch(){let e=this.data.delay,a=this.shared.getDynamicVariablePlayState(this.data.variableId);"PlayPause"===this.data.mode&&"Playing"===a&&(e=this.data.pauseDelay),0!==e?(this.timeoutId&&window.clearTimeout(this.timeoutId),this.timeoutId=window.setTimeout(()=>{this.timeoutId=null,this.dispatchInner()},e)):this.dispatchInner()}dispose(){this.timeoutId&&window.clearTimeout(this.timeoutId)}};t("VariableChange",({eventContext:e,sharedVariables:a,eventManager:t,needsMouse:i,needsRaycast:s})=>new I(e,a,t,i,s)),s("SetVariable",({data:e,page:a,shared:t,actionCondition:i})=>new x(e,a,t,i)),s("DynamicVariablePlay",({data:e,page:a,shared:t,actionCondition:i})=>new D(e,a,t,i)),o("variables");
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|