@fps-games/editor-deployment 0.2.3-beta.12 → 0.2.3-beta.13
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/bin/fps-editor-agent.mjs +4 -4
- package/bin/fps-editor-project.mjs +15 -15
- package/licenses/THIRD_PARTY_NOTICES.txt +2 -2
- package/manifest.json +1546 -1546
- package/npm-shrinkwrap.json +2 -2
- package/package.json +5 -5
- package/public/assets/abstractAudioBus-B_nOEXGJ.js +1 -0
- package/public/assets/animation-BJ3gfwRN.js +1 -0
- package/public/assets/animation-BJ3gfwRN.js.br +0 -0
- package/public/assets/animation-BJ3gfwRN.js.gz +0 -0
- package/public/assets/animationGroup-Zr5QijPi.js +1 -0
- package/public/assets/animationGroup-Zr5QijPi.js.br +0 -0
- package/public/assets/animationGroup-Zr5QijPi.js.gz +0 -0
- package/public/assets/arcRotateCamera-CIfExzuE.js +1 -0
- package/public/assets/arcRotateCamera-CIfExzuE.js.br +0 -0
- package/public/assets/arcRotateCamera-CIfExzuE.js.gz +0 -0
- package/public/assets/babylon-core-B_h85E03.js +13882 -0
- package/public/assets/babylon-core-B_h85E03.js.br +0 -0
- package/public/assets/babylon-core-B_h85E03.js.gz +0 -0
- package/public/assets/babylon-core-DXA-HGqT.js +1 -0
- package/public/assets/babylon-core-DXA-HGqT.js.br +0 -0
- package/public/assets/babylon-core-DXA-HGqT.js.gz +0 -0
- package/public/assets/basisTextureLoader-BfLbEMNY.js +1 -0
- package/public/assets/basisTextureLoader-BfLbEMNY.js.br +0 -0
- package/public/assets/basisTextureLoader-BfLbEMNY.js.gz +0 -0
- package/public/assets/bumpVertex-DfO4pGMf.js +177 -0
- package/public/assets/bumpVertex-DfO4pGMf.js.br +0 -0
- package/public/assets/bumpVertex-DfO4pGMf.js.gz +0 -0
- package/public/assets/bumpVertex-DsXC0kj3.js +173 -0
- package/public/assets/bumpVertex-DsXC0kj3.js.br +0 -0
- package/public/assets/bumpVertex-DsXC0kj3.js.gz +0 -0
- package/public/assets/chromaticAberration.fragment-CHJLpDou.js +6 -0
- package/public/assets/chromaticAberration.fragment-CHJLpDou.js.br +0 -0
- package/public/assets/chromaticAberration.fragment-CHJLpDou.js.gz +0 -0
- package/public/assets/chromaticAberration.fragment-Rzzz5LCp.js +7 -0
- package/public/assets/chromaticAberration.fragment-Rzzz5LCp.js.br +0 -0
- package/public/assets/chromaticAberration.fragment-Rzzz5LCp.js.gz +0 -0
- package/public/assets/circleOfConfusion.fragment-BrgHydNp.js +17 -0
- package/public/assets/circleOfConfusion.fragment-BrgHydNp.js.br +0 -0
- package/public/assets/circleOfConfusion.fragment-BrgHydNp.js.gz +0 -0
- package/public/assets/circleOfConfusion.fragment-DdN7jk6r.js +17 -0
- package/public/assets/circleOfConfusion.fragment-DdN7jk6r.js.br +0 -0
- package/public/assets/circleOfConfusion.fragment-DdN7jk6r.js.gz +0 -0
- package/public/assets/clipPlaneFragment-C7LC_ghH.js +46 -0
- package/public/assets/clipPlaneFragment-C7LC_ghH.js.br +0 -0
- package/public/assets/clipPlaneFragment-C7LC_ghH.js.gz +0 -0
- package/public/assets/clipPlaneVertex-C5FTeCZf.js +177 -0
- package/public/assets/clipPlaneVertex-C5FTeCZf.js.br +0 -0
- package/public/assets/clipPlaneVertex-C5FTeCZf.js.gz +0 -0
- package/public/assets/color.fragment-Bhmq0WfX.js +21 -0
- package/public/assets/color.fragment-Bhmq0WfX.js.br +0 -0
- package/public/assets/color.fragment-Bhmq0WfX.js.gz +0 -0
- package/public/assets/color.fragment-DQ3X0Zbi.js +20 -0
- package/public/assets/color.fragment-DQ3X0Zbi.js.br +0 -0
- package/public/assets/color.fragment-DQ3X0Zbi.js.gz +0 -0
- package/public/assets/color.vertex-Dg_CyKzy.js +39 -0
- package/public/assets/color.vertex-Dg_CyKzy.js.br +0 -0
- package/public/assets/color.vertex-Dg_CyKzy.js.gz +0 -0
- package/public/assets/color.vertex-pptWVMrP.js +32 -0
- package/public/assets/color.vertex-pptWVMrP.js.br +0 -0
- package/public/assets/color.vertex-pptWVMrP.js.gz +0 -0
- package/public/assets/dds-C-AvuZYY.js +1 -0
- package/public/assets/dds-C-AvuZYY.js.br +0 -0
- package/public/assets/dds-C-AvuZYY.js.gz +0 -0
- package/public/assets/ddsTextureLoader-HiCc0ybV.js +1 -0
- package/public/assets/ddsTextureLoader-HiCc0ybV.js.br +0 -0
- package/public/assets/ddsTextureLoader-HiCc0ybV.js.gz +0 -0
- package/public/assets/default.fragment-BHa2Gp-a.js +526 -0
- package/public/assets/default.fragment-BHa2Gp-a.js.br +0 -0
- package/public/assets/default.fragment-BHa2Gp-a.js.gz +0 -0
- package/public/assets/default.fragment-Bw1RA6rL.js +468 -0
- package/public/assets/default.fragment-Bw1RA6rL.js.br +0 -0
- package/public/assets/default.fragment-Bw1RA6rL.js.gz +0 -0
- package/public/assets/default.vertex-B0xcPkMY.js +193 -0
- package/public/assets/default.vertex-B0xcPkMY.js.br +0 -0
- package/public/assets/default.vertex-B0xcPkMY.js.gz +0 -0
- package/public/assets/default.vertex-qeJ5L7IA.js +181 -0
- package/public/assets/default.vertex-qeJ5L7IA.js.br +0 -0
- package/public/assets/default.vertex-qeJ5L7IA.js.gz +0 -0
- package/public/assets/defaultUboDeclaration-CC5ANQaf.js +7 -0
- package/public/assets/defaultUboDeclaration-CC5ANQaf.js.br +0 -0
- package/public/assets/defaultUboDeclaration-CC5ANQaf.js.gz +0 -0
- package/public/assets/defaultUboDeclaration-ChHBbulv.js +5 -0
- package/public/assets/defaultUboDeclaration-ChHBbulv.js.br +0 -0
- package/public/assets/defaultUboDeclaration-ChHBbulv.js.gz +0 -0
- package/public/assets/depth.fragment-DziV1vvQ.js +40 -0
- package/public/assets/depth.fragment-DziV1vvQ.js.br +0 -0
- package/public/assets/depth.fragment-DziV1vvQ.js.gz +0 -0
- package/public/assets/depth.vertex-Bqb8e4iK.js +57 -0
- package/public/assets/depth.vertex-Bqb8e4iK.js.br +0 -0
- package/public/assets/depth.vertex-Bqb8e4iK.js.gz +0 -0
- package/public/assets/depthBoxBlur.fragment-1QU8zBtp.js +6 -0
- package/public/assets/depthBoxBlur.fragment-1QU8zBtp.js.br +0 -0
- package/public/assets/depthBoxBlur.fragment-1QU8zBtp.js.gz +0 -0
- package/public/assets/depthBoxBlur.fragment-Drp8IoJa.js +5 -0
- package/public/assets/depthBoxBlur.fragment-Drp8IoJa.js.br +0 -0
- package/public/assets/depthBoxBlur.fragment-Drp8IoJa.js.gz +0 -0
- package/public/assets/depthOfFieldMerge.fragment-ChsgMd3Z.js +21 -0
- package/public/assets/depthOfFieldMerge.fragment-ChsgMd3Z.js.br +0 -0
- package/public/assets/depthOfFieldMerge.fragment-ChsgMd3Z.js.gz +0 -0
- package/public/assets/depthOfFieldMerge.fragment-DARYGt4c.js +26 -0
- package/public/assets/depthOfFieldMerge.fragment-DARYGt4c.js.br +0 -0
- package/public/assets/depthOfFieldMerge.fragment-DARYGt4c.js.gz +0 -0
- package/public/assets/easing-BAP6Yimk.js +1 -0
- package/public/assets/easing-BAP6Yimk.js.br +0 -0
- package/public/assets/easing-BAP6Yimk.js.gz +0 -0
- package/public/assets/exrTextureLoader-BDHqc6R_.js +1 -0
- package/public/assets/exrTextureLoader-BDHqc6R_.js.br +0 -0
- package/public/assets/exrTextureLoader-BDHqc6R_.js.gz +0 -0
- package/public/assets/flowGraphArrayIndexBlock-BXv_IPsN.js +1 -0
- package/public/assets/flowGraphArrayIndexBlock-BXv_IPsN.js.br +2 -0
- package/public/assets/flowGraphArrayIndexBlock-BXv_IPsN.js.gz +0 -0
- package/public/assets/flowGraphBezierCurveEasingBlock-lv_DeY8A.js +1 -0
- package/public/assets/flowGraphBezierCurveEasingBlock-lv_DeY8A.js.br +0 -0
- package/public/assets/flowGraphBezierCurveEasingBlock-lv_DeY8A.js.gz +0 -0
- package/public/assets/flowGraphBinaryOperationBlock-DLe078Ie.js +1 -0
- package/public/assets/flowGraphBinaryOperationBlock-DLe078Ie.js.br +0 -0
- package/public/assets/flowGraphBinaryOperationBlock-DLe078Ie.js.gz +0 -0
- package/public/assets/flowGraphBranchBlock-B1A_lxZU.js +1 -0
- package/public/assets/flowGraphBranchBlock-B1A_lxZU.js.br +0 -0
- package/public/assets/flowGraphBranchBlock-B1A_lxZU.js.gz +0 -0
- package/public/assets/flowGraphCachedOperationBlock-e3K8WoCR.js +1 -0
- package/public/assets/flowGraphCachedOperationBlock-e3K8WoCR.js.br +0 -0
- package/public/assets/flowGraphCachedOperationBlock-e3K8WoCR.js.gz +0 -0
- package/public/assets/flowGraphCancelDelayBlock-B2R2AOGn.js +1 -0
- package/public/assets/flowGraphCancelDelayBlock-B2R2AOGn.js.br +0 -0
- package/public/assets/flowGraphCancelDelayBlock-B2R2AOGn.js.gz +0 -0
- package/public/assets/flowGraphCodeExecutionBlock-JsT0C6n1.js +1 -0
- package/public/assets/flowGraphCodeExecutionBlock-JsT0C6n1.js.br +0 -0
- package/public/assets/flowGraphCodeExecutionBlock-JsT0C6n1.js.gz +0 -0
- package/public/assets/flowGraphConditionalDataBlock-Cxt9P_Cy.js +1 -0
- package/public/assets/flowGraphConditionalDataBlock-Cxt9P_Cy.js.br +0 -0
- package/public/assets/flowGraphConditionalDataBlock-Cxt9P_Cy.js.gz +0 -0
- package/public/assets/flowGraphConsoleLogBlock-CSJqdpoW.js +1 -0
- package/public/assets/flowGraphConsoleLogBlock-CSJqdpoW.js.br +0 -0
- package/public/assets/flowGraphConsoleLogBlock-CSJqdpoW.js.gz +0 -0
- package/public/assets/flowGraphConstantBlock-D0I7FWSD.js +1 -0
- package/public/assets/flowGraphConstantBlock-D0I7FWSD.js.br +0 -0
- package/public/assets/flowGraphConstantBlock-D0I7FWSD.js.gz +0 -0
- package/public/assets/flowGraphContextBlock-DS4CbosO.js +1 -0
- package/public/assets/flowGraphContextBlock-DS4CbosO.js.br +0 -0
- package/public/assets/flowGraphContextBlock-DS4CbosO.js.gz +0 -0
- package/public/assets/flowGraphCounterBlock-CMWEtlWK.js +1 -0
- package/public/assets/flowGraphCounterBlock-CMWEtlWK.js.br +0 -0
- package/public/assets/flowGraphCounterBlock-CMWEtlWK.js.gz +0 -0
- package/public/assets/flowGraphDataSwitchBlock-DZZh0eaG.js +1 -0
- package/public/assets/flowGraphDataSwitchBlock-DZZh0eaG.js.br +0 -0
- package/public/assets/flowGraphDataSwitchBlock-DZZh0eaG.js.gz +0 -0
- package/public/assets/flowGraphDebounceBlock-KsAJee1r.js +1 -0
- package/public/assets/flowGraphDebounceBlock-KsAJee1r.js.br +0 -0
- package/public/assets/flowGraphDebounceBlock-KsAJee1r.js.gz +0 -0
- package/public/assets/flowGraphDoNBlock-B7b1Xxc9.js +1 -0
- package/public/assets/flowGraphDoNBlock-B7b1Xxc9.js.br +0 -0
- package/public/assets/flowGraphDoNBlock-B7b1Xxc9.js.gz +0 -0
- package/public/assets/flowGraphEasingBlock-BvNIcaQP.js +1 -0
- package/public/assets/flowGraphEasingBlock-BvNIcaQP.js.br +0 -0
- package/public/assets/flowGraphEasingBlock-BvNIcaQP.js.gz +0 -0
- package/public/assets/flowGraphFlipFlopBlock-DS0sHOEL.js +1 -0
- package/public/assets/flowGraphFlipFlopBlock-DS0sHOEL.js.br +0 -0
- package/public/assets/flowGraphFlipFlopBlock-DS0sHOEL.js.gz +0 -0
- package/public/assets/flowGraphForLoopBlock-co7kLvIH.js +1 -0
- package/public/assets/flowGraphForLoopBlock-co7kLvIH.js.br +0 -0
- package/public/assets/flowGraphForLoopBlock-co7kLvIH.js.gz +0 -0
- package/public/assets/flowGraphFunctionReferenceBlock-SgpJgqKZ.js +1 -0
- package/public/assets/flowGraphFunctionReferenceBlock-SgpJgqKZ.js.br +0 -0
- package/public/assets/flowGraphFunctionReferenceBlock-SgpJgqKZ.js.gz +0 -0
- package/public/assets/flowGraphGetAssetBlock-B1Oy72lh.js +1 -0
- package/public/assets/flowGraphGetAssetBlock-B1Oy72lh.js.br +0 -0
- package/public/assets/flowGraphGetAssetBlock-B1Oy72lh.js.gz +0 -0
- package/public/assets/flowGraphGetPropertyBlock-ver9CKsi.js +1 -0
- package/public/assets/flowGraphGetPropertyBlock-ver9CKsi.js.br +0 -0
- package/public/assets/flowGraphGetPropertyBlock-ver9CKsi.js.gz +0 -0
- package/public/assets/flowGraphGetVariableBlock-C6h4no6Z.js +1 -0
- package/public/assets/flowGraphGetVariableBlock-C6h4no6Z.js.br +0 -0
- package/public/assets/flowGraphGetVariableBlock-C6h4no6Z.js.gz +0 -0
- package/public/assets/flowGraphIndexOfBlock-D4lBbFPK.js +1 -0
- package/public/assets/flowGraphIndexOfBlock-D4lBbFPK.js.br +0 -0
- package/public/assets/flowGraphIndexOfBlock-D4lBbFPK.js.gz +0 -0
- package/public/assets/flowGraphInterpolationBlock-CqqJX-l2.js +1 -0
- package/public/assets/flowGraphInterpolationBlock-CqqJX-l2.js.br +0 -0
- package/public/assets/flowGraphInterpolationBlock-CqqJX-l2.js.gz +0 -0
- package/public/assets/flowGraphJsonPointerParserBlock-GbuK0nIt.js +1 -0
- package/public/assets/flowGraphJsonPointerParserBlock-GbuK0nIt.js.br +0 -0
- package/public/assets/flowGraphJsonPointerParserBlock-GbuK0nIt.js.gz +0 -0
- package/public/assets/flowGraphMathBlocks-D8bUSf4_.js +1 -0
- package/public/assets/flowGraphMathBlocks-D8bUSf4_.js.br +0 -0
- package/public/assets/flowGraphMathBlocks-D8bUSf4_.js.gz +0 -0
- package/public/assets/flowGraphMathCombineExtractBlocks-BYiKE1hO.js +1 -0
- package/public/assets/flowGraphMathCombineExtractBlocks-BYiKE1hO.js.br +0 -0
- package/public/assets/flowGraphMathCombineExtractBlocks-BYiKE1hO.js.gz +0 -0
- package/public/assets/flowGraphMatrixMathBlocks-yXxL8f3q.js +1 -0
- package/public/assets/flowGraphMatrixMathBlocks-yXxL8f3q.js.br +0 -0
- package/public/assets/flowGraphMatrixMathBlocks-yXxL8f3q.js.gz +0 -0
- package/public/assets/flowGraphMeshPickEventBlock-DKbb3bHq.js +1 -0
- package/public/assets/flowGraphMeshPickEventBlock-DKbb3bHq.js.br +0 -0
- package/public/assets/flowGraphMeshPickEventBlock-DKbb3bHq.js.gz +0 -0
- package/public/assets/flowGraphMultiGateBlock-DuYQuMSb.js +1 -0
- package/public/assets/flowGraphMultiGateBlock-DuYQuMSb.js.br +0 -0
- package/public/assets/flowGraphMultiGateBlock-DuYQuMSb.js.gz +0 -0
- package/public/assets/flowGraphPauseAnimationBlock-Bko1KolU.js +1 -0
- package/public/assets/flowGraphPauseAnimationBlock-Bko1KolU.js.br +0 -0
- package/public/assets/flowGraphPauseAnimationBlock-Bko1KolU.js.gz +0 -0
- package/public/assets/flowGraphPlayAnimationBlock-ZW7ykiw_.js +1 -0
- package/public/assets/flowGraphPlayAnimationBlock-ZW7ykiw_.js.br +0 -0
- package/public/assets/flowGraphPlayAnimationBlock-ZW7ykiw_.js.gz +0 -0
- package/public/assets/flowGraphPointerOutEventBlock-CPhb6HSR.js +1 -0
- package/public/assets/flowGraphPointerOutEventBlock-CPhb6HSR.js.br +0 -0
- package/public/assets/flowGraphPointerOutEventBlock-CPhb6HSR.js.gz +0 -0
- package/public/assets/flowGraphPointerOverEventBlock-DAbfkb_R.js +1 -0
- package/public/assets/flowGraphPointerOverEventBlock-DAbfkb_R.js.br +0 -0
- package/public/assets/flowGraphPointerOverEventBlock-DAbfkb_R.js.gz +0 -0
- package/public/assets/flowGraphReceiveCustomEventBlock-B63r37CB.js +1 -0
- package/public/assets/flowGraphReceiveCustomEventBlock-B63r37CB.js.br +5 -0
- package/public/assets/flowGraphReceiveCustomEventBlock-B63r37CB.js.gz +0 -0
- package/public/assets/flowGraphSceneReadyEventBlock-B7aw10n4.js +1 -0
- package/public/assets/flowGraphSceneReadyEventBlock-B7aw10n4.js.br +0 -0
- package/public/assets/flowGraphSceneReadyEventBlock-B7aw10n4.js.gz +0 -0
- package/public/assets/flowGraphSceneTickEventBlock-B2PWwmIq.js +1 -0
- package/public/assets/flowGraphSceneTickEventBlock-B2PWwmIq.js.br +0 -0
- package/public/assets/flowGraphSceneTickEventBlock-B2PWwmIq.js.gz +0 -0
- package/public/assets/flowGraphSendCustomEventBlock-DAechCe5.js +1 -0
- package/public/assets/flowGraphSendCustomEventBlock-DAechCe5.js.br +0 -0
- package/public/assets/flowGraphSendCustomEventBlock-DAechCe5.js.gz +0 -0
- package/public/assets/flowGraphSequenceBlock-SvTTrxN8.js +1 -0
- package/public/assets/flowGraphSequenceBlock-SvTTrxN8.js.br +0 -0
- package/public/assets/flowGraphSequenceBlock-SvTTrxN8.js.gz +0 -0
- package/public/assets/flowGraphSetDelayBlock-rcSH81q3.js +1 -0
- package/public/assets/flowGraphSetDelayBlock-rcSH81q3.js.br +0 -0
- package/public/assets/flowGraphSetDelayBlock-rcSH81q3.js.gz +0 -0
- package/public/assets/flowGraphSetPropertyBlock-BgLjbCJ6.js +1 -0
- package/public/assets/flowGraphSetPropertyBlock-BgLjbCJ6.js.br +0 -0
- package/public/assets/flowGraphSetPropertyBlock-BgLjbCJ6.js.gz +0 -0
- package/public/assets/flowGraphSetVariableBlock-BsrTkLY9.js +1 -0
- package/public/assets/flowGraphSetVariableBlock-BsrTkLY9.js.br +0 -0
- package/public/assets/flowGraphSetVariableBlock-BsrTkLY9.js.gz +0 -0
- package/public/assets/flowGraphStopAnimationBlock-zwPN2_DH.js +1 -0
- package/public/assets/flowGraphStopAnimationBlock-zwPN2_DH.js.br +0 -0
- package/public/assets/flowGraphStopAnimationBlock-zwPN2_DH.js.gz +0 -0
- package/public/assets/flowGraphSwitchBlock-DGOrM9pa.js +1 -0
- package/public/assets/flowGraphSwitchBlock-DGOrM9pa.js.br +0 -0
- package/public/assets/flowGraphSwitchBlock-DGOrM9pa.js.gz +0 -0
- package/public/assets/flowGraphThrottleBlock-BL8BzYKs.js +1 -0
- package/public/assets/flowGraphThrottleBlock-BL8BzYKs.js.br +0 -0
- package/public/assets/flowGraphThrottleBlock-BL8BzYKs.js.gz +0 -0
- package/public/assets/flowGraphTransformCoordinatesSystemBlock-6_XnsbTP.js +1 -0
- package/public/assets/flowGraphTransformCoordinatesSystemBlock-6_XnsbTP.js.br +1 -0
- package/public/assets/flowGraphTransformCoordinatesSystemBlock-6_XnsbTP.js.gz +0 -0
- package/public/assets/flowGraphTypeToTypeBlocks-DMUEbxWg.js +1 -0
- package/public/assets/flowGraphTypeToTypeBlocks-DMUEbxWg.js.br +0 -0
- package/public/assets/flowGraphTypeToTypeBlocks-DMUEbxWg.js.gz +0 -0
- package/public/assets/flowGraphUnaryOperationBlock-Du9WaZl8.js +1 -0
- package/public/assets/flowGraphUnaryOperationBlock-Du9WaZl8.js.br +0 -0
- package/public/assets/flowGraphUnaryOperationBlock-Du9WaZl8.js.gz +0 -0
- package/public/assets/flowGraphVectorMathBlocks-FYZfy12e.js +1 -0
- package/public/assets/flowGraphVectorMathBlocks-FYZfy12e.js.br +0 -0
- package/public/assets/flowGraphVectorMathBlocks-FYZfy12e.js.gz +0 -0
- package/public/assets/flowGraphWaitAllBlock-BVG0OpYr.js +1 -0
- package/public/assets/flowGraphWaitAllBlock-BVG0OpYr.js.br +0 -0
- package/public/assets/flowGraphWaitAllBlock-BVG0OpYr.js.gz +0 -0
- package/public/assets/flowGraphWhileLoopBlock-CRJ6XJrO.js +1 -0
- package/public/assets/flowGraphWhileLoopBlock-CRJ6XJrO.js.br +0 -0
- package/public/assets/flowGraphWhileLoopBlock-CRJ6XJrO.js.gz +0 -0
- package/public/assets/fogFragmentDeclaration-ByRcN1l4.js +23 -0
- package/public/assets/fogFragmentDeclaration-ByRcN1l4.js.br +0 -0
- package/public/assets/fogFragmentDeclaration-ByRcN1l4.js.gz +0 -0
- package/public/assets/fogFragmentDeclaration-CC670P2z.js +22 -0
- package/public/assets/fogFragmentDeclaration-CC670P2z.js.br +4 -0
- package/public/assets/fogFragmentDeclaration-CC670P2z.js.gz +0 -0
- package/public/assets/glowBlurPostProcess.fragment-B6T9tnVa.js +7 -0
- package/public/assets/glowBlurPostProcess.fragment-B6T9tnVa.js.br +0 -0
- package/public/assets/glowBlurPostProcess.fragment-B6T9tnVa.js.gz +0 -0
- package/public/assets/glowBlurPostProcess.fragment-qop8zjun.js +7 -0
- package/public/assets/glowBlurPostProcess.fragment-qop8zjun.js.br +6 -0
- package/public/assets/glowBlurPostProcess.fragment-qop8zjun.js.gz +0 -0
- package/public/assets/glowMapGeneration.fragment-BgA1aWf8.js +63 -0
- package/public/assets/glowMapGeneration.fragment-BgA1aWf8.js.br +0 -0
- package/public/assets/glowMapGeneration.fragment-BgA1aWf8.js.gz +0 -0
- package/public/assets/glowMapGeneration.fragment-DfFYW-Un.js +63 -0
- package/public/assets/glowMapGeneration.fragment-DfFYW-Un.js.br +0 -0
- package/public/assets/glowMapGeneration.fragment-DfFYW-Un.js.gz +0 -0
- package/public/assets/glowMapGeneration.vertex-BMwUxw1N.js +75 -0
- package/public/assets/glowMapGeneration.vertex-BMwUxw1N.js.br +0 -0
- package/public/assets/glowMapGeneration.vertex-BMwUxw1N.js.gz +0 -0
- package/public/assets/glowMapGeneration.vertex-D_lsnOt_.js +75 -0
- package/public/assets/glowMapGeneration.vertex-D_lsnOt_.js.br +0 -0
- package/public/assets/glowMapGeneration.vertex-D_lsnOt_.js.gz +0 -0
- package/public/assets/glowMapMerge.fragment-BDSBlRrM.js +23 -0
- package/public/assets/glowMapMerge.fragment-BDSBlRrM.js.br +0 -0
- package/public/assets/glowMapMerge.fragment-BDSBlRrM.js.gz +0 -0
- package/public/assets/glowMapMerge.fragment-CtdNSy1d.js +25 -0
- package/public/assets/glowMapMerge.fragment-CtdNSy1d.js.br +0 -0
- package/public/assets/glowMapMerge.fragment-CtdNSy1d.js.gz +0 -0
- package/public/assets/glowMapMerge.vertex-ByJGA6KF.js +8 -0
- package/public/assets/glowMapMerge.vertex-ByJGA6KF.js.br +0 -0
- package/public/assets/glowMapMerge.vertex-ByJGA6KF.js.gz +0 -0
- package/public/assets/glowMapMerge.vertex-DA6FlHr8.js +7 -0
- package/public/assets/glowMapMerge.vertex-DA6FlHr8.js.br +0 -0
- package/public/assets/glowMapMerge.vertex-DA6FlHr8.js.gz +0 -0
- package/public/assets/grain.fragment-CXLv6fDG.js +5 -0
- package/public/assets/grain.fragment-CXLv6fDG.js.br +0 -0
- package/public/assets/grain.fragment-CXLv6fDG.js.gz +0 -0
- package/public/assets/grain.fragment-CdNGk6pi.js +6 -0
- package/public/assets/grain.fragment-CdNGk6pi.js.br +0 -0
- package/public/assets/grain.fragment-CdNGk6pi.js.gz +0 -0
- package/public/assets/harmonicsFunctions-BmPSIk1T.js +189 -0
- package/public/assets/harmonicsFunctions-BmPSIk1T.js.br +0 -0
- package/public/assets/harmonicsFunctions-BmPSIk1T.js.gz +0 -0
- package/public/assets/harmonicsFunctions-CcRdY-2T.js +192 -0
- package/public/assets/harmonicsFunctions-CcRdY-2T.js.br +0 -0
- package/public/assets/harmonicsFunctions-CcRdY-2T.js.gz +0 -0
- package/public/assets/hdrTextureLoader-BtFHqjoz.js +2 -0
- package/public/assets/hdrTextureLoader-BtFHqjoz.js.br +0 -0
- package/public/assets/hdrTextureLoader-BtFHqjoz.js.gz +0 -0
- package/public/assets/hemisphericLight-C4swwL68.js +1329 -0
- package/public/assets/hemisphericLight-C4swwL68.js.br +0 -0
- package/public/assets/hemisphericLight-C4swwL68.js.gz +0 -0
- package/public/assets/iesTextureLoader-DcFNb6Zn.js +2 -0
- package/public/assets/iesTextureLoader-DcFNb6Zn.js.br +0 -0
- package/public/assets/iesTextureLoader-DcFNb6Zn.js.gz +0 -0
- package/public/assets/index-Xd6hsly2.js +4 -0
- package/public/assets/index-Xd6hsly2.js.br +0 -0
- package/public/assets/index-Xd6hsly2.js.gz +0 -0
- package/public/assets/index-c2oXc5B5.js +5 -0
- package/public/assets/index-c2oXc5B5.js.br +0 -0
- package/public/assets/index-c2oXc5B5.js.gz +0 -0
- package/public/assets/instancesDeclaration-CynBcyKA.js +23 -0
- package/public/assets/instancesDeclaration-CynBcyKA.js.br +2 -0
- package/public/assets/instancesDeclaration-CynBcyKA.js.gz +0 -0
- package/public/assets/ktxTextureLoader-DyvyZvYx.js +1 -0
- package/public/assets/ktxTextureLoader-DyvyZvYx.js.br +0 -0
- package/public/assets/ktxTextureLoader-DyvyZvYx.js.gz +0 -0
- package/public/assets/lazy-BIJx5tzE.js +2 -0
- package/public/assets/lazy-BIJx5tzE.js.br +0 -0
- package/public/assets/lazy-BIJx5tzE.js.gz +0 -0
- package/public/assets/lod.fragment-BB_Typy5.js +3 -0
- package/public/assets/lod.fragment-BB_Typy5.js.br +0 -0
- package/public/assets/lod.fragment-BB_Typy5.js.gz +0 -0
- package/public/assets/lod.fragment-Bw7np0wj.js +3 -0
- package/public/assets/lod.fragment-Bw7np0wj.js.br +0 -0
- package/public/assets/lod.fragment-Bw7np0wj.js.gz +0 -0
- package/public/assets/lodCube.fragment-9pxKLBoX.js +22 -0
- package/public/assets/lodCube.fragment-9pxKLBoX.js.br +0 -0
- package/public/assets/lodCube.fragment-9pxKLBoX.js.gz +0 -0
- package/public/assets/lodCube.fragment-DPCyRw6n.js +22 -0
- package/public/assets/lodCube.fragment-DPCyRw6n.js.br +0 -0
- package/public/assets/lodCube.fragment-DPCyRw6n.js.gz +0 -0
- package/public/assets/logDepthDeclaration-CE7ZAGOR.js +4 -0
- package/public/assets/logDepthDeclaration-D7zlRj7M.js +4 -0
- package/public/assets/logDepthFragment-D-mjEK6k.js +4 -0
- package/public/assets/logDepthFragment-DY9nfFWI.js +4 -0
- package/public/assets/logDepthFragment-DY9nfFWI.js.br +0 -0
- package/public/assets/logDepthFragment-DY9nfFWI.js.gz +0 -0
- package/public/assets/logDepthVertex-CD-tbNmY.js +4 -0
- package/public/assets/logDepthVertex-CD-tbNmY.js.br +0 -0
- package/public/assets/logDepthVertex-CD-tbNmY.js.gz +0 -0
- package/public/assets/logDepthVertex-CdRFv8a9.js +4 -0
- package/public/assets/logDepthVertex-CdRFv8a9.js.br +0 -0
- package/public/assets/logDepthVertex-CdRFv8a9.js.gz +0 -0
- package/public/assets/mainUVVaryingDeclaration-Bycz8MQc.js +4 -0
- package/public/assets/mainUVVaryingDeclaration-WfNLH92r.js +4 -0
- package/public/assets/meshUboDeclaration-D9ed1acE.js +13 -0
- package/public/assets/meshUboDeclaration-D9ed1acE.js.br +0 -0
- package/public/assets/meshUboDeclaration-D9ed1acE.js.gz +0 -0
- package/public/assets/meshUboDeclaration-fDoZMkHD.js +13 -0
- package/public/assets/meshUboDeclaration-fDoZMkHD.js.br +0 -0
- package/public/assets/meshUboDeclaration-fDoZMkHD.js.gz +0 -0
- package/public/assets/morphTargetsVertex-C23npTVw.js +100 -0
- package/public/assets/morphTargetsVertex-C23npTVw.js.br +0 -0
- package/public/assets/morphTargetsVertex-C23npTVw.js.gz +0 -0
- package/public/assets/oitFinalSimpleBlend.fragment-Bxdzby2K.js +3 -0
- package/public/assets/oitFinalSimpleBlend.fragment-Bxdzby2K.js.br +0 -0
- package/public/assets/oitFinalSimpleBlend.fragment-Bxdzby2K.js.gz +0 -0
- package/public/assets/oitFinalSimpleBlend.fragment-DOFgwnVx.js +2 -0
- package/public/assets/oitFinalSimpleBlend.fragment-DOFgwnVx.js.br +2 -0
- package/public/assets/oitFinalSimpleBlend.fragment-DOFgwnVx.js.gz +0 -0
- package/public/assets/oitFragment-SsHyGskb.js +1077 -0
- package/public/assets/oitFragment-SsHyGskb.js.br +0 -0
- package/public/assets/oitFragment-SsHyGskb.js.gz +0 -0
- package/public/assets/oitFragment-YOsQXT8Q.js +1202 -0
- package/public/assets/oitFragment-YOsQXT8Q.js.br +0 -0
- package/public/assets/oitFragment-YOsQXT8Q.js.gz +0 -0
- package/public/assets/openpbrMaterial-BumKV4pK.js +2 -0
- package/public/assets/openpbrMaterial-BumKV4pK.js.br +0 -0
- package/public/assets/openpbrMaterial-BumKV4pK.js.gz +0 -0
- package/public/assets/outline.fragment-7Y33z2Hv.js +18 -0
- package/public/assets/outline.fragment-7Y33z2Hv.js.br +0 -0
- package/public/assets/outline.fragment-7Y33z2Hv.js.gz +0 -0
- package/public/assets/outline.fragment-BtZScpBe.js +21 -0
- package/public/assets/outline.fragment-BtZScpBe.js.br +0 -0
- package/public/assets/outline.fragment-BtZScpBe.js.gz +0 -0
- package/public/assets/outline.vertex-DTKSFXAe.js +47 -0
- package/public/assets/outline.vertex-DTKSFXAe.js.br +0 -0
- package/public/assets/outline.vertex-DTKSFXAe.js.gz +0 -0
- package/public/assets/outline.vertex-DcvTMR1Z.js +47 -0
- package/public/assets/outline.vertex-DcvTMR1Z.js.br +0 -0
- package/public/assets/outline.vertex-DcvTMR1Z.js.gz +0 -0
- package/public/assets/passCube.fragment-E17cgo_Y.js +23 -0
- package/public/assets/passCube.fragment-E17cgo_Y.js.br +4 -0
- package/public/assets/passCube.fragment-E17cgo_Y.js.gz +0 -0
- package/public/assets/passCube.fragment-Ed3lijdP.js +23 -0
- package/public/assets/passCube.fragment-Ed3lijdP.js.br +0 -0
- package/public/assets/passCube.fragment-Ed3lijdP.js.gz +0 -0
- package/public/assets/pbr.fragment-B6uq8vhl.js +3327 -0
- package/public/assets/pbr.fragment-B6uq8vhl.js.br +0 -0
- package/public/assets/pbr.fragment-B6uq8vhl.js.gz +0 -0
- package/public/assets/pbr.fragment-CRE9JuWM.js +3277 -0
- package/public/assets/pbr.fragment-CRE9JuWM.js.br +0 -0
- package/public/assets/pbr.fragment-CRE9JuWM.js.gz +0 -0
- package/public/assets/pbr.vertex-DDq7KlvW.js +227 -0
- package/public/assets/pbr.vertex-DDq7KlvW.js.br +0 -0
- package/public/assets/pbr.vertex-DDq7KlvW.js.gz +0 -0
- package/public/assets/pbr.vertex-DXZm4PAj.js +357 -0
- package/public/assets/pbr.vertex-DXZm4PAj.js.br +0 -0
- package/public/assets/pbr.vertex-DXZm4PAj.js.gz +0 -0
- package/public/assets/playable-sdk-Dfz54Mv_.js +5 -0
- package/public/assets/playable-sdk-Dfz54Mv_.js.br +0 -0
- package/public/assets/playable-sdk-Dfz54Mv_.js.gz +0 -0
- package/public/assets/playable-standard-project-C61X2B53.js +5247 -0
- package/public/assets/playable-standard-project-C61X2B53.js.br +0 -0
- package/public/assets/playable-standard-project-C61X2B53.js.gz +0 -0
- package/public/assets/rgbdDecode.fragment-Cf7NitgJ.js +5 -0
- package/public/assets/rgbdDecode.fragment-Cf7NitgJ.js.br +0 -0
- package/public/assets/rgbdDecode.fragment-Cf7NitgJ.js.gz +0 -0
- package/public/assets/rgbdDecode.fragment-iVZ4ltHp.js +5 -0
- package/public/assets/rgbdDecode.fragment-iVZ4ltHp.js.br +0 -0
- package/public/assets/rgbdDecode.fragment-iVZ4ltHp.js.gz +0 -0
- package/public/assets/rgbdEncode.fragment-CGiMPQCn.js +5 -0
- package/public/assets/rgbdEncode.fragment-CGiMPQCn.js.br +1 -0
- package/public/assets/rgbdEncode.fragment-CGiMPQCn.js.gz +0 -0
- package/public/assets/rgbdEncode.fragment-daPKl9hu.js +5 -0
- package/public/assets/rgbdEncode.fragment-daPKl9hu.js.br +0 -0
- package/public/assets/rgbdEncode.fragment-daPKl9hu.js.gz +0 -0
- package/public/assets/sceneLoader-CfP8J-Fp.js +1 -0
- package/public/assets/sceneLoader-CfP8J-Fp.js.br +0 -0
- package/public/assets/sceneLoader-CfP8J-Fp.js.gz +0 -0
- package/public/assets/screenSpaceCurvature.fragment-b7w6BZob.js +15 -0
- package/public/assets/screenSpaceCurvature.fragment-b7w6BZob.js.br +0 -0
- package/public/assets/screenSpaceCurvature.fragment-b7w6BZob.js.gz +0 -0
- package/public/assets/selection.fragment-1Ur6gM2w.js +35 -0
- package/public/assets/selection.fragment-1Ur6gM2w.js.br +0 -0
- package/public/assets/selection.fragment-1Ur6gM2w.js.gz +0 -0
- package/public/assets/selection.fragment-c7PUVAj6.js +35 -0
- package/public/assets/selection.fragment-c7PUVAj6.js.br +0 -0
- package/public/assets/selection.fragment-c7PUVAj6.js.gz +0 -0
- package/public/assets/selection.vertex-BpznLz9l.js +73 -0
- package/public/assets/selection.vertex-BpznLz9l.js.br +0 -0
- package/public/assets/selection.vertex-BpznLz9l.js.gz +0 -0
- package/public/assets/selection.vertex-W0OnGav3.js +74 -0
- package/public/assets/selection.vertex-W0OnGav3.js.br +0 -0
- package/public/assets/selection.vertex-W0OnGav3.js.gz +0 -0
- package/public/assets/selectionOutline.fragment-CfSUEDhV.js +48 -0
- package/public/assets/selectionOutline.fragment-CfSUEDhV.js.br +0 -0
- package/public/assets/selectionOutline.fragment-CfSUEDhV.js.gz +0 -0
- package/public/assets/selectionOutline.fragment-jCvmzM4j.js +47 -0
- package/public/assets/selectionOutline.fragment-jCvmzM4j.js.br +0 -0
- package/public/assets/selectionOutline.fragment-jCvmzM4j.js.gz +0 -0
- package/public/assets/shadowMap.fragment-Be-569HQ.js +79 -0
- package/public/assets/shadowMap.fragment-Be-569HQ.js.br +0 -0
- package/public/assets/shadowMap.fragment-Be-569HQ.js.gz +0 -0
- package/public/assets/shadowMap.fragment-BoqsHNAd.js +78 -0
- package/public/assets/shadowMap.fragment-BoqsHNAd.js.br +0 -0
- package/public/assets/shadowMap.fragment-BoqsHNAd.js.gz +0 -0
- package/public/assets/shadowMap.vertex-4lI78BDk.js +109 -0
- package/public/assets/shadowMap.vertex-4lI78BDk.js.br +0 -0
- package/public/assets/shadowMap.vertex-4lI78BDk.js.gz +0 -0
- package/public/assets/shadowMap.vertex-Diz9-YWP.js +119 -0
- package/public/assets/shadowMap.vertex-Diz9-YWP.js.br +6 -0
- package/public/assets/shadowMap.vertex-Diz9-YWP.js.gz +0 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-BQ8W9rbW.js +4 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-BQ8W9rbW.js.br +0 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-BQ8W9rbW.js.gz +0 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-xEoX0tmS.js +4 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-xEoX0tmS.js.br +0 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-xEoX0tmS.js.gz +0 -0
- package/public/assets/sharpen.fragment-JRTeA3zV.js +8 -0
- package/public/assets/sharpen.fragment-JRTeA3zV.js.br +0 -0
- package/public/assets/sharpen.fragment-JRTeA3zV.js.gz +0 -0
- package/public/assets/textureMerger.fragment-BC6eNV2y.js +76 -0
- package/public/assets/textureMerger.fragment-BC6eNV2y.js.br +0 -0
- package/public/assets/textureMerger.fragment-BC6eNV2y.js.gz +0 -0
- package/public/assets/textureMerger.fragment-CXFj67tG.js +84 -0
- package/public/assets/textureMerger.fragment-CXFj67tG.js.br +0 -0
- package/public/assets/textureMerger.fragment-CXFj67tG.js.gz +0 -0
- package/public/assets/tgaTextureLoader-BeODbfw0.js +1 -0
- package/public/assets/tgaTextureLoader-BeODbfw0.js.br +0 -0
- package/public/assets/tgaTextureLoader-BeODbfw0.js.gz +0 -0
- package/public/assets/vertexColorMixing-BsBFwQyj.js +24 -0
- package/public/assets/vertexColorMixing-BsBFwQyj.js.br +0 -0
- package/public/assets/vertexColorMixing-BsBFwQyj.js.gz +0 -0
- package/public/assets/vertexColorMixing-DEsxJhjT.js +20 -0
- package/public/assets/vertexColorMixing-DEsxJhjT.js.br +0 -0
- package/public/assets/vertexColorMixing-DEsxJhjT.js.gz +0 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-PmfmFOZu.js +12 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-PmfmFOZu.js.br +0 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-PmfmFOZu.js.gz +0 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-guUr5gns.js +11 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-guUr5gns.js.br +4 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-guUr5gns.js.gz +0 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-CpA8NZT2.js +15 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-CpA8NZT2.js.br +0 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-CpA8NZT2.js.gz +0 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-DiDcyn7m.js +13 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-DiDcyn7m.js.br +0 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-DiDcyn7m.js.gz +0 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-BVxKtkpM.js +5 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-BVxKtkpM.js.br +2 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-BVxKtkpM.js.gz +0 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-G6o_qK00.js +4 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-G6o_qK00.js.br +0 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-G6o_qK00.js.gz +0 -0
- package/public/assets/webAudioBus-DHqRyV37.js +1 -0
- package/public/assets/webAudioBus-DHqRyV37.js.br +0 -0
- package/public/assets/webAudioBus-DHqRyV37.js.gz +0 -0
- package/public/assets/webAudioMainBus-DLKtMnh_.js +1 -0
- package/public/assets/webAudioMainBus-DLKtMnh_.js.br +0 -0
- package/public/assets/webAudioMainBus-DLKtMnh_.js.gz +0 -0
- package/public/index.html +4 -5
- package/public/index.html.br +0 -0
- package/public/index.html.gz +0 -0
- package/runtime/editor-control-plane.mjs +5 -5
- package/worker/editor-service-worker.mjs +23 -23
- package/public/assets/abstractAudioBus-BRAC2GY2.js +0 -1
- package/public/assets/animation-C6iNAO1g.js +0 -1
- package/public/assets/animation-C6iNAO1g.js.br +0 -0
- package/public/assets/animation-C6iNAO1g.js.gz +0 -0
- package/public/assets/animationGroup-C74XVFRE.js +0 -1
- package/public/assets/animationGroup-C74XVFRE.js.br +0 -0
- package/public/assets/animationGroup-C74XVFRE.js.gz +0 -0
- package/public/assets/arcRotateCamera-CIQYNBBJ.js +0 -1
- package/public/assets/arcRotateCamera-CIQYNBBJ.js.br +0 -0
- package/public/assets/arcRotateCamera-CIQYNBBJ.js.gz +0 -0
- package/public/assets/babylon-core-PuGyjHMj.js +0 -13882
- package/public/assets/babylon-core-PuGyjHMj.js.br +0 -0
- package/public/assets/babylon-core-PuGyjHMj.js.gz +0 -0
- package/public/assets/babylon-core-S0gBQJVe.js +0 -1
- package/public/assets/babylon-core-S0gBQJVe.js.br +0 -0
- package/public/assets/babylon-core-S0gBQJVe.js.gz +0 -0
- package/public/assets/basisTextureLoader-BdapVvhf.js +0 -1
- package/public/assets/basisTextureLoader-BdapVvhf.js.br +0 -0
- package/public/assets/basisTextureLoader-BdapVvhf.js.gz +0 -0
- package/public/assets/bumpVertex-DMhnr4dz.js +0 -173
- package/public/assets/bumpVertex-DMhnr4dz.js.br +0 -0
- package/public/assets/bumpVertex-DMhnr4dz.js.gz +0 -0
- package/public/assets/bumpVertex-DpGOKCkn.js +0 -177
- package/public/assets/bumpVertex-DpGOKCkn.js.br +0 -0
- package/public/assets/bumpVertex-DpGOKCkn.js.gz +0 -0
- package/public/assets/chromaticAberration.fragment-BgX-2zxS.js +0 -7
- package/public/assets/chromaticAberration.fragment-BgX-2zxS.js.br +0 -0
- package/public/assets/chromaticAberration.fragment-BgX-2zxS.js.gz +0 -0
- package/public/assets/chromaticAberration.fragment-D7t6Txg4.js +0 -6
- package/public/assets/chromaticAberration.fragment-D7t6Txg4.js.br +0 -0
- package/public/assets/chromaticAberration.fragment-D7t6Txg4.js.gz +0 -0
- package/public/assets/circleOfConfusion.fragment-D1RtHaPm.js +0 -17
- package/public/assets/circleOfConfusion.fragment-D1RtHaPm.js.br +0 -0
- package/public/assets/circleOfConfusion.fragment-D1RtHaPm.js.gz +0 -0
- package/public/assets/circleOfConfusion.fragment-D8geMRma.js +0 -17
- package/public/assets/circleOfConfusion.fragment-D8geMRma.js.br +0 -0
- package/public/assets/circleOfConfusion.fragment-D8geMRma.js.gz +0 -0
- package/public/assets/clipPlaneFragment-Bgl3Usc4.js +0 -46
- package/public/assets/clipPlaneFragment-Bgl3Usc4.js.br +0 -0
- package/public/assets/clipPlaneFragment-Bgl3Usc4.js.gz +0 -0
- package/public/assets/clipPlaneVertex-BxK9aoI2.js +0 -177
- package/public/assets/clipPlaneVertex-BxK9aoI2.js.br +0 -0
- package/public/assets/clipPlaneVertex-BxK9aoI2.js.gz +0 -0
- package/public/assets/color.fragment-BUdIBar6.js +0 -20
- package/public/assets/color.fragment-BUdIBar6.js.br +0 -0
- package/public/assets/color.fragment-BUdIBar6.js.gz +0 -0
- package/public/assets/color.fragment-CDn4ZgkT.js +0 -21
- package/public/assets/color.fragment-CDn4ZgkT.js.br +0 -0
- package/public/assets/color.fragment-CDn4ZgkT.js.gz +0 -0
- package/public/assets/color.vertex-CaMOSKlC.js +0 -39
- package/public/assets/color.vertex-CaMOSKlC.js.br +0 -5
- package/public/assets/color.vertex-CaMOSKlC.js.gz +0 -0
- package/public/assets/color.vertex-dgbB6mhK.js +0 -32
- package/public/assets/color.vertex-dgbB6mhK.js.br +0 -0
- package/public/assets/color.vertex-dgbB6mhK.js.gz +0 -0
- package/public/assets/dds-3J0FZYX1.js +0 -1
- package/public/assets/dds-3J0FZYX1.js.br +0 -0
- package/public/assets/dds-3J0FZYX1.js.gz +0 -0
- package/public/assets/ddsTextureLoader-s5HptTVZ.js +0 -1
- package/public/assets/ddsTextureLoader-s5HptTVZ.js.br +0 -0
- package/public/assets/ddsTextureLoader-s5HptTVZ.js.gz +0 -0
- package/public/assets/default.fragment-C4xg7O-P.js +0 -526
- package/public/assets/default.fragment-C4xg7O-P.js.br +0 -0
- package/public/assets/default.fragment-C4xg7O-P.js.gz +0 -0
- package/public/assets/default.fragment-C4zjkcFb.js +0 -468
- package/public/assets/default.fragment-C4zjkcFb.js.br +0 -0
- package/public/assets/default.fragment-C4zjkcFb.js.gz +0 -0
- package/public/assets/default.vertex-A8wQopNr.js +0 -193
- package/public/assets/default.vertex-A8wQopNr.js.br +0 -0
- package/public/assets/default.vertex-A8wQopNr.js.gz +0 -0
- package/public/assets/default.vertex-YrvIUn4x.js +0 -181
- package/public/assets/default.vertex-YrvIUn4x.js.br +0 -0
- package/public/assets/default.vertex-YrvIUn4x.js.gz +0 -0
- package/public/assets/defaultUboDeclaration-C8GCosBM.js +0 -5
- package/public/assets/defaultUboDeclaration-C8GCosBM.js.br +0 -0
- package/public/assets/defaultUboDeclaration-C8GCosBM.js.gz +0 -0
- package/public/assets/defaultUboDeclaration-D26o_DDO.js +0 -7
- package/public/assets/defaultUboDeclaration-D26o_DDO.js.br +0 -0
- package/public/assets/defaultUboDeclaration-D26o_DDO.js.gz +0 -0
- package/public/assets/depth.fragment-Bn8G24s-.js +0 -40
- package/public/assets/depth.fragment-Bn8G24s-.js.br +0 -4
- package/public/assets/depth.fragment-Bn8G24s-.js.gz +0 -0
- package/public/assets/depth.vertex-B2lrdlJh.js +0 -57
- package/public/assets/depth.vertex-B2lrdlJh.js.br +0 -0
- package/public/assets/depth.vertex-B2lrdlJh.js.gz +0 -0
- package/public/assets/depthBoxBlur.fragment-BtTv8wid.js +0 -5
- package/public/assets/depthBoxBlur.fragment-BtTv8wid.js.br +0 -0
- package/public/assets/depthBoxBlur.fragment-BtTv8wid.js.gz +0 -0
- package/public/assets/depthBoxBlur.fragment-DViDG6Vb.js +0 -6
- package/public/assets/depthBoxBlur.fragment-DViDG6Vb.js.br +0 -0
- package/public/assets/depthBoxBlur.fragment-DViDG6Vb.js.gz +0 -0
- package/public/assets/depthOfFieldMerge.fragment-DCspcdWZ.js +0 -26
- package/public/assets/depthOfFieldMerge.fragment-DCspcdWZ.js.br +0 -0
- package/public/assets/depthOfFieldMerge.fragment-DCspcdWZ.js.gz +0 -0
- package/public/assets/depthOfFieldMerge.fragment-Ds-g4Ln8.js +0 -21
- package/public/assets/depthOfFieldMerge.fragment-Ds-g4Ln8.js.br +0 -0
- package/public/assets/depthOfFieldMerge.fragment-Ds-g4Ln8.js.gz +0 -0
- package/public/assets/dynamicTexture-Cuby-VOT.js +0 -1329
- package/public/assets/dynamicTexture-Cuby-VOT.js.br +0 -0
- package/public/assets/dynamicTexture-Cuby-VOT.js.gz +0 -0
- package/public/assets/easing-DbzzrXOl.js +0 -1
- package/public/assets/easing-DbzzrXOl.js.br +0 -0
- package/public/assets/easing-DbzzrXOl.js.gz +0 -0
- package/public/assets/exrTextureLoader-D39k4eK_.js +0 -1
- package/public/assets/exrTextureLoader-D39k4eK_.js.br +0 -0
- package/public/assets/exrTextureLoader-D39k4eK_.js.gz +0 -0
- package/public/assets/flowGraphArrayIndexBlock-C8nTWR8h.js +0 -1
- package/public/assets/flowGraphArrayIndexBlock-C8nTWR8h.js.br +0 -0
- package/public/assets/flowGraphArrayIndexBlock-C8nTWR8h.js.gz +0 -0
- package/public/assets/flowGraphBezierCurveEasingBlock-Izh7s0Zh.js +0 -1
- package/public/assets/flowGraphBezierCurveEasingBlock-Izh7s0Zh.js.br +0 -0
- package/public/assets/flowGraphBezierCurveEasingBlock-Izh7s0Zh.js.gz +0 -0
- package/public/assets/flowGraphBinaryOperationBlock-BRfalQP5.js +0 -1
- package/public/assets/flowGraphBinaryOperationBlock-BRfalQP5.js.br +0 -0
- package/public/assets/flowGraphBinaryOperationBlock-BRfalQP5.js.gz +0 -0
- package/public/assets/flowGraphBranchBlock-CV_leJX3.js +0 -1
- package/public/assets/flowGraphBranchBlock-CV_leJX3.js.br +0 -0
- package/public/assets/flowGraphBranchBlock-CV_leJX3.js.gz +0 -0
- package/public/assets/flowGraphCachedOperationBlock-BysRM-Ha.js +0 -1
- package/public/assets/flowGraphCachedOperationBlock-BysRM-Ha.js.br +0 -2
- package/public/assets/flowGraphCachedOperationBlock-BysRM-Ha.js.gz +0 -0
- package/public/assets/flowGraphCancelDelayBlock-BK6tDTGy.js +0 -1
- package/public/assets/flowGraphCancelDelayBlock-BK6tDTGy.js.br +0 -0
- package/public/assets/flowGraphCancelDelayBlock-BK6tDTGy.js.gz +0 -0
- package/public/assets/flowGraphCodeExecutionBlock-CQABvaP8.js +0 -1
- package/public/assets/flowGraphCodeExecutionBlock-CQABvaP8.js.br +0 -0
- package/public/assets/flowGraphCodeExecutionBlock-CQABvaP8.js.gz +0 -0
- package/public/assets/flowGraphConditionalDataBlock-D7OU_UOM.js +0 -1
- package/public/assets/flowGraphConditionalDataBlock-D7OU_UOM.js.br +0 -0
- package/public/assets/flowGraphConditionalDataBlock-D7OU_UOM.js.gz +0 -0
- package/public/assets/flowGraphConsoleLogBlock-BBxVDGOV.js +0 -1
- package/public/assets/flowGraphConsoleLogBlock-BBxVDGOV.js.br +0 -0
- package/public/assets/flowGraphConsoleLogBlock-BBxVDGOV.js.gz +0 -0
- package/public/assets/flowGraphConstantBlock-Cn3ZMGR0.js +0 -1
- package/public/assets/flowGraphConstantBlock-Cn3ZMGR0.js.br +0 -0
- package/public/assets/flowGraphConstantBlock-Cn3ZMGR0.js.gz +0 -0
- package/public/assets/flowGraphContextBlock-BS3b2XbE.js +0 -1
- package/public/assets/flowGraphContextBlock-BS3b2XbE.js.br +0 -0
- package/public/assets/flowGraphContextBlock-BS3b2XbE.js.gz +0 -0
- package/public/assets/flowGraphCounterBlock-xdcRCw4l.js +0 -1
- package/public/assets/flowGraphCounterBlock-xdcRCw4l.js.br +0 -0
- package/public/assets/flowGraphCounterBlock-xdcRCw4l.js.gz +0 -0
- package/public/assets/flowGraphDataSwitchBlock-dY8TSZtd.js +0 -1
- package/public/assets/flowGraphDataSwitchBlock-dY8TSZtd.js.br +0 -0
- package/public/assets/flowGraphDataSwitchBlock-dY8TSZtd.js.gz +0 -0
- package/public/assets/flowGraphDebounceBlock-Q_f2x-ID.js +0 -1
- package/public/assets/flowGraphDebounceBlock-Q_f2x-ID.js.br +0 -0
- package/public/assets/flowGraphDebounceBlock-Q_f2x-ID.js.gz +0 -0
- package/public/assets/flowGraphDoNBlock-COo31G00.js +0 -1
- package/public/assets/flowGraphDoNBlock-COo31G00.js.br +0 -0
- package/public/assets/flowGraphDoNBlock-COo31G00.js.gz +0 -0
- package/public/assets/flowGraphEasingBlock-jGW-fKIB.js +0 -1
- package/public/assets/flowGraphEasingBlock-jGW-fKIB.js.br +0 -0
- package/public/assets/flowGraphEasingBlock-jGW-fKIB.js.gz +0 -0
- package/public/assets/flowGraphFlipFlopBlock-B8znf-3o.js +0 -1
- package/public/assets/flowGraphFlipFlopBlock-B8znf-3o.js.br +0 -0
- package/public/assets/flowGraphFlipFlopBlock-B8znf-3o.js.gz +0 -0
- package/public/assets/flowGraphForLoopBlock-UxZSh8US.js +0 -1
- package/public/assets/flowGraphForLoopBlock-UxZSh8US.js.br +0 -0
- package/public/assets/flowGraphForLoopBlock-UxZSh8US.js.gz +0 -0
- package/public/assets/flowGraphFunctionReferenceBlock-c3ZQWBhk.js +0 -1
- package/public/assets/flowGraphFunctionReferenceBlock-c3ZQWBhk.js.br +0 -0
- package/public/assets/flowGraphFunctionReferenceBlock-c3ZQWBhk.js.gz +0 -0
- package/public/assets/flowGraphGetAssetBlock-B3zYUZmJ.js +0 -1
- package/public/assets/flowGraphGetAssetBlock-B3zYUZmJ.js.br +0 -0
- package/public/assets/flowGraphGetAssetBlock-B3zYUZmJ.js.gz +0 -0
- package/public/assets/flowGraphGetPropertyBlock-D--vcmMS.js +0 -1
- package/public/assets/flowGraphGetPropertyBlock-D--vcmMS.js.br +0 -0
- package/public/assets/flowGraphGetPropertyBlock-D--vcmMS.js.gz +0 -0
- package/public/assets/flowGraphGetVariableBlock-BkCEyiL6.js +0 -1
- package/public/assets/flowGraphGetVariableBlock-BkCEyiL6.js.br +0 -0
- package/public/assets/flowGraphGetVariableBlock-BkCEyiL6.js.gz +0 -0
- package/public/assets/flowGraphIndexOfBlock-C4ipR7YB.js +0 -1
- package/public/assets/flowGraphIndexOfBlock-C4ipR7YB.js.br +0 -0
- package/public/assets/flowGraphIndexOfBlock-C4ipR7YB.js.gz +0 -0
- package/public/assets/flowGraphInterpolationBlock-DuRc3LX7.js +0 -1
- package/public/assets/flowGraphInterpolationBlock-DuRc3LX7.js.br +0 -0
- package/public/assets/flowGraphInterpolationBlock-DuRc3LX7.js.gz +0 -0
- package/public/assets/flowGraphJsonPointerParserBlock-urEWktqi.js +0 -1
- package/public/assets/flowGraphJsonPointerParserBlock-urEWktqi.js.br +0 -0
- package/public/assets/flowGraphJsonPointerParserBlock-urEWktqi.js.gz +0 -0
- package/public/assets/flowGraphMathBlocks-CGTCQVqz.js +0 -1
- package/public/assets/flowGraphMathBlocks-CGTCQVqz.js.br +0 -0
- package/public/assets/flowGraphMathBlocks-CGTCQVqz.js.gz +0 -0
- package/public/assets/flowGraphMathCombineExtractBlocks-DDHGbRPt.js +0 -1
- package/public/assets/flowGraphMathCombineExtractBlocks-DDHGbRPt.js.br +0 -0
- package/public/assets/flowGraphMathCombineExtractBlocks-DDHGbRPt.js.gz +0 -0
- package/public/assets/flowGraphMatrixMathBlocks-Bwp1BysB.js +0 -1
- package/public/assets/flowGraphMatrixMathBlocks-Bwp1BysB.js.br +0 -0
- package/public/assets/flowGraphMatrixMathBlocks-Bwp1BysB.js.gz +0 -0
- package/public/assets/flowGraphMeshPickEventBlock-2wkqhQCG.js +0 -1
- package/public/assets/flowGraphMeshPickEventBlock-2wkqhQCG.js.br +0 -0
- package/public/assets/flowGraphMeshPickEventBlock-2wkqhQCG.js.gz +0 -0
- package/public/assets/flowGraphMultiGateBlock-BuKmvqC8.js +0 -1
- package/public/assets/flowGraphMultiGateBlock-BuKmvqC8.js.br +0 -0
- package/public/assets/flowGraphMultiGateBlock-BuKmvqC8.js.gz +0 -0
- package/public/assets/flowGraphPauseAnimationBlock-T_-VP-t5.js +0 -1
- package/public/assets/flowGraphPauseAnimationBlock-T_-VP-t5.js.br +0 -0
- package/public/assets/flowGraphPauseAnimationBlock-T_-VP-t5.js.gz +0 -0
- package/public/assets/flowGraphPlayAnimationBlock-DDVrE__n.js +0 -1
- package/public/assets/flowGraphPlayAnimationBlock-DDVrE__n.js.br +0 -0
- package/public/assets/flowGraphPlayAnimationBlock-DDVrE__n.js.gz +0 -0
- package/public/assets/flowGraphPointerOutEventBlock-Cx15Sf5R.js +0 -1
- package/public/assets/flowGraphPointerOutEventBlock-Cx15Sf5R.js.br +0 -0
- package/public/assets/flowGraphPointerOutEventBlock-Cx15Sf5R.js.gz +0 -0
- package/public/assets/flowGraphPointerOverEventBlock-DzzHa-dN.js +0 -1
- package/public/assets/flowGraphPointerOverEventBlock-DzzHa-dN.js.br +0 -0
- package/public/assets/flowGraphPointerOverEventBlock-DzzHa-dN.js.gz +0 -0
- package/public/assets/flowGraphReceiveCustomEventBlock-DKfLODu3.js +0 -1
- package/public/assets/flowGraphReceiveCustomEventBlock-DKfLODu3.js.br +0 -0
- package/public/assets/flowGraphReceiveCustomEventBlock-DKfLODu3.js.gz +0 -0
- package/public/assets/flowGraphSceneReadyEventBlock-ClJu3s64.js +0 -1
- package/public/assets/flowGraphSceneReadyEventBlock-ClJu3s64.js.br +0 -0
- package/public/assets/flowGraphSceneReadyEventBlock-ClJu3s64.js.gz +0 -0
- package/public/assets/flowGraphSceneTickEventBlock-3ZNr4eqw.js +0 -1
- package/public/assets/flowGraphSceneTickEventBlock-3ZNr4eqw.js.br +0 -0
- package/public/assets/flowGraphSceneTickEventBlock-3ZNr4eqw.js.gz +0 -0
- package/public/assets/flowGraphSendCustomEventBlock-CdKQeuma.js +0 -1
- package/public/assets/flowGraphSendCustomEventBlock-CdKQeuma.js.br +0 -0
- package/public/assets/flowGraphSendCustomEventBlock-CdKQeuma.js.gz +0 -0
- package/public/assets/flowGraphSequenceBlock-D0-_bFV3.js +0 -1
- package/public/assets/flowGraphSequenceBlock-D0-_bFV3.js.br +0 -0
- package/public/assets/flowGraphSequenceBlock-D0-_bFV3.js.gz +0 -0
- package/public/assets/flowGraphSetDelayBlock-B8946WOc.js +0 -1
- package/public/assets/flowGraphSetDelayBlock-B8946WOc.js.br +0 -0
- package/public/assets/flowGraphSetDelayBlock-B8946WOc.js.gz +0 -0
- package/public/assets/flowGraphSetPropertyBlock-Cx0IyW-a.js +0 -1
- package/public/assets/flowGraphSetPropertyBlock-Cx0IyW-a.js.br +0 -0
- package/public/assets/flowGraphSetPropertyBlock-Cx0IyW-a.js.gz +0 -0
- package/public/assets/flowGraphSetVariableBlock-0dns_CH6.js +0 -1
- package/public/assets/flowGraphSetVariableBlock-0dns_CH6.js.br +0 -0
- package/public/assets/flowGraphSetVariableBlock-0dns_CH6.js.gz +0 -0
- package/public/assets/flowGraphStopAnimationBlock-z4ou311H.js +0 -1
- package/public/assets/flowGraphStopAnimationBlock-z4ou311H.js.br +0 -0
- package/public/assets/flowGraphStopAnimationBlock-z4ou311H.js.gz +0 -0
- package/public/assets/flowGraphSwitchBlock-E7meS39u.js +0 -1
- package/public/assets/flowGraphSwitchBlock-E7meS39u.js.br +0 -0
- package/public/assets/flowGraphSwitchBlock-E7meS39u.js.gz +0 -0
- package/public/assets/flowGraphThrottleBlock-CldHJDs6.js +0 -1
- package/public/assets/flowGraphThrottleBlock-CldHJDs6.js.br +0 -0
- package/public/assets/flowGraphThrottleBlock-CldHJDs6.js.gz +0 -0
- package/public/assets/flowGraphTransformCoordinatesSystemBlock-pYdpcwK7.js +0 -1
- package/public/assets/flowGraphTransformCoordinatesSystemBlock-pYdpcwK7.js.br +0 -0
- package/public/assets/flowGraphTransformCoordinatesSystemBlock-pYdpcwK7.js.gz +0 -0
- package/public/assets/flowGraphTypeToTypeBlocks-CYfvLPJ-.js +0 -1
- package/public/assets/flowGraphTypeToTypeBlocks-CYfvLPJ-.js.br +0 -0
- package/public/assets/flowGraphTypeToTypeBlocks-CYfvLPJ-.js.gz +0 -0
- package/public/assets/flowGraphUnaryOperationBlock-s-kJ99D8.js +0 -1
- package/public/assets/flowGraphUnaryOperationBlock-s-kJ99D8.js.br +0 -0
- package/public/assets/flowGraphUnaryOperationBlock-s-kJ99D8.js.gz +0 -0
- package/public/assets/flowGraphVectorMathBlocks-D7iofIoY.js +0 -1
- package/public/assets/flowGraphVectorMathBlocks-D7iofIoY.js.br +0 -0
- package/public/assets/flowGraphVectorMathBlocks-D7iofIoY.js.gz +0 -0
- package/public/assets/flowGraphWaitAllBlock-CAW7HgUP.js +0 -1
- package/public/assets/flowGraphWaitAllBlock-CAW7HgUP.js.br +0 -0
- package/public/assets/flowGraphWaitAllBlock-CAW7HgUP.js.gz +0 -0
- package/public/assets/flowGraphWhileLoopBlock-DRP9_Zd1.js +0 -1
- package/public/assets/flowGraphWhileLoopBlock-DRP9_Zd1.js.br +0 -0
- package/public/assets/flowGraphWhileLoopBlock-DRP9_Zd1.js.gz +0 -0
- package/public/assets/fogFragmentDeclaration-CzUy86ul.js +0 -22
- package/public/assets/fogFragmentDeclaration-CzUy86ul.js.br +0 -0
- package/public/assets/fogFragmentDeclaration-CzUy86ul.js.gz +0 -0
- package/public/assets/fogFragmentDeclaration-kfcrkpgB.js +0 -23
- package/public/assets/fogFragmentDeclaration-kfcrkpgB.js.br +0 -0
- package/public/assets/fogFragmentDeclaration-kfcrkpgB.js.gz +0 -0
- package/public/assets/glowBlurPostProcess.fragment-CS_rTtUL.js +0 -7
- package/public/assets/glowBlurPostProcess.fragment-CS_rTtUL.js.br +0 -0
- package/public/assets/glowBlurPostProcess.fragment-CS_rTtUL.js.gz +0 -0
- package/public/assets/glowBlurPostProcess.fragment-G_xfSiIr.js +0 -7
- package/public/assets/glowBlurPostProcess.fragment-G_xfSiIr.js.br +0 -0
- package/public/assets/glowBlurPostProcess.fragment-G_xfSiIr.js.gz +0 -0
- package/public/assets/glowMapGeneration.fragment-DwJ3bpr6.js +0 -63
- package/public/assets/glowMapGeneration.fragment-DwJ3bpr6.js.br +0 -0
- package/public/assets/glowMapGeneration.fragment-DwJ3bpr6.js.gz +0 -0
- package/public/assets/glowMapGeneration.fragment-mDEHNZRi.js +0 -63
- package/public/assets/glowMapGeneration.fragment-mDEHNZRi.js.br +0 -0
- package/public/assets/glowMapGeneration.fragment-mDEHNZRi.js.gz +0 -0
- package/public/assets/glowMapGeneration.vertex-BACa9-r4.js +0 -75
- package/public/assets/glowMapGeneration.vertex-BACa9-r4.js.br +0 -0
- package/public/assets/glowMapGeneration.vertex-BACa9-r4.js.gz +0 -0
- package/public/assets/glowMapGeneration.vertex-mAWUJxSB.js +0 -75
- package/public/assets/glowMapGeneration.vertex-mAWUJxSB.js.br +0 -3
- package/public/assets/glowMapGeneration.vertex-mAWUJxSB.js.gz +0 -0
- package/public/assets/glowMapMerge.fragment-0Im35OVD.js +0 -23
- package/public/assets/glowMapMerge.fragment-0Im35OVD.js.br +0 -0
- package/public/assets/glowMapMerge.fragment-0Im35OVD.js.gz +0 -0
- package/public/assets/glowMapMerge.fragment-BXHfrWgL.js +0 -25
- package/public/assets/glowMapMerge.fragment-BXHfrWgL.js.br +0 -0
- package/public/assets/glowMapMerge.fragment-BXHfrWgL.js.gz +0 -0
- package/public/assets/glowMapMerge.vertex-8A2ntYoS.js +0 -7
- package/public/assets/glowMapMerge.vertex-8A2ntYoS.js.br +0 -0
- package/public/assets/glowMapMerge.vertex-8A2ntYoS.js.gz +0 -0
- package/public/assets/glowMapMerge.vertex-Cnm-5WLT.js +0 -8
- package/public/assets/glowMapMerge.vertex-Cnm-5WLT.js.br +0 -0
- package/public/assets/glowMapMerge.vertex-Cnm-5WLT.js.gz +0 -0
- package/public/assets/grain.fragment-BMGi-Hgp.js +0 -6
- package/public/assets/grain.fragment-BMGi-Hgp.js.br +0 -0
- package/public/assets/grain.fragment-BMGi-Hgp.js.gz +0 -0
- package/public/assets/grain.fragment-CH9zg05c.js +0 -5
- package/public/assets/grain.fragment-CH9zg05c.js.br +0 -0
- package/public/assets/grain.fragment-CH9zg05c.js.gz +0 -0
- package/public/assets/harmonicsFunctions-BQTTvws3.js +0 -192
- package/public/assets/harmonicsFunctions-BQTTvws3.js.br +0 -0
- package/public/assets/harmonicsFunctions-BQTTvws3.js.gz +0 -0
- package/public/assets/harmonicsFunctions-DtIiYWL1.js +0 -189
- package/public/assets/harmonicsFunctions-DtIiYWL1.js.br +0 -0
- package/public/assets/harmonicsFunctions-DtIiYWL1.js.gz +0 -0
- package/public/assets/hdrTextureLoader-Dqvpv0kr.js +0 -2
- package/public/assets/hdrTextureLoader-Dqvpv0kr.js.br +0 -0
- package/public/assets/hdrTextureLoader-Dqvpv0kr.js.gz +0 -0
- package/public/assets/iesTextureLoader-B8AoKSG2.js +0 -2
- package/public/assets/iesTextureLoader-B8AoKSG2.js.br +0 -0
- package/public/assets/iesTextureLoader-B8AoKSG2.js.gz +0 -0
- package/public/assets/index-Ca6iR0Pp.js +0 -1
- package/public/assets/index-Ca6iR0Pp.js.br +0 -0
- package/public/assets/index-Ca6iR0Pp.js.gz +0 -0
- package/public/assets/index-CiIoJ8v1.js +0 -4
- package/public/assets/index-CiIoJ8v1.js.br +0 -0
- package/public/assets/index-CiIoJ8v1.js.gz +0 -0
- package/public/assets/instancesDeclaration-B2a0VuuR.js +0 -23
- package/public/assets/instancesDeclaration-B2a0VuuR.js.br +0 -0
- package/public/assets/instancesDeclaration-B2a0VuuR.js.gz +0 -0
- package/public/assets/ktxTextureLoader-DTr7AKqG.js +0 -1
- package/public/assets/ktxTextureLoader-DTr7AKqG.js.br +0 -0
- package/public/assets/ktxTextureLoader-DTr7AKqG.js.gz +0 -0
- package/public/assets/lazy-Cj-01uhW.js +0 -2
- package/public/assets/lazy-Cj-01uhW.js.br +0 -0
- package/public/assets/lazy-Cj-01uhW.js.gz +0 -0
- package/public/assets/lod.fragment-BuvQbBhE.js +0 -3
- package/public/assets/lod.fragment-BuvQbBhE.js.br +0 -0
- package/public/assets/lod.fragment-BuvQbBhE.js.gz +0 -0
- package/public/assets/lod.fragment-Cp0eqGjl.js +0 -3
- package/public/assets/lod.fragment-Cp0eqGjl.js.br +0 -3
- package/public/assets/lod.fragment-Cp0eqGjl.js.gz +0 -0
- package/public/assets/lodCube.fragment-CI1eTppS.js +0 -22
- package/public/assets/lodCube.fragment-CI1eTppS.js.br +0 -2
- package/public/assets/lodCube.fragment-CI1eTppS.js.gz +0 -0
- package/public/assets/lodCube.fragment-yDzV1teg.js +0 -22
- package/public/assets/lodCube.fragment-yDzV1teg.js.br +0 -0
- package/public/assets/lodCube.fragment-yDzV1teg.js.gz +0 -0
- package/public/assets/logDepthDeclaration-CeLLOhuK.js +0 -4
- package/public/assets/logDepthDeclaration-XDsVKoT0.js +0 -4
- package/public/assets/logDepthFragment-BPP-rBiT.js +0 -4
- package/public/assets/logDepthFragment-BPP-rBiT.js.br +0 -0
- package/public/assets/logDepthFragment-BPP-rBiT.js.gz +0 -0
- package/public/assets/logDepthFragment-CDaMyvfH.js +0 -4
- package/public/assets/logDepthVertex-CkFa6uAf.js +0 -4
- package/public/assets/logDepthVertex-CkFa6uAf.js.br +0 -0
- package/public/assets/logDepthVertex-CkFa6uAf.js.gz +0 -0
- package/public/assets/logDepthVertex-H6E8NLz1.js +0 -4
- package/public/assets/logDepthVertex-H6E8NLz1.js.br +0 -1
- package/public/assets/logDepthVertex-H6E8NLz1.js.gz +0 -0
- package/public/assets/mainUVVaryingDeclaration-DdwP8xi_.js +0 -4
- package/public/assets/mainUVVaryingDeclaration-OBB3LR8s.js +0 -4
- package/public/assets/meshUboDeclaration-Cr5YhBB1.js +0 -13
- package/public/assets/meshUboDeclaration-Cr5YhBB1.js.br +0 -0
- package/public/assets/meshUboDeclaration-Cr5YhBB1.js.gz +0 -0
- package/public/assets/meshUboDeclaration-Uj1CsoJP.js +0 -13
- package/public/assets/meshUboDeclaration-Uj1CsoJP.js.br +0 -0
- package/public/assets/meshUboDeclaration-Uj1CsoJP.js.gz +0 -0
- package/public/assets/morphTargetsVertex-B9xWvV_u.js +0 -100
- package/public/assets/morphTargetsVertex-B9xWvV_u.js.br +0 -0
- package/public/assets/morphTargetsVertex-B9xWvV_u.js.gz +0 -0
- package/public/assets/oitFinalSimpleBlend.fragment-4NtZHGOG.js +0 -3
- package/public/assets/oitFinalSimpleBlend.fragment-4NtZHGOG.js.br +0 -0
- package/public/assets/oitFinalSimpleBlend.fragment-4NtZHGOG.js.gz +0 -0
- package/public/assets/oitFinalSimpleBlend.fragment-D8T6jyS0.js +0 -2
- package/public/assets/oitFinalSimpleBlend.fragment-D8T6jyS0.js.br +0 -3
- package/public/assets/oitFinalSimpleBlend.fragment-D8T6jyS0.js.gz +0 -0
- package/public/assets/oitFragment-CK8Y-Z-q.js +0 -1202
- package/public/assets/oitFragment-CK8Y-Z-q.js.br +0 -0
- package/public/assets/oitFragment-CK8Y-Z-q.js.gz +0 -0
- package/public/assets/oitFragment-ZUHesxAg.js +0 -1077
- package/public/assets/oitFragment-ZUHesxAg.js.br +0 -0
- package/public/assets/oitFragment-ZUHesxAg.js.gz +0 -0
- package/public/assets/openpbrMaterial-Dc7VVRl6.js +0 -2
- package/public/assets/openpbrMaterial-Dc7VVRl6.js.br +0 -0
- package/public/assets/openpbrMaterial-Dc7VVRl6.js.gz +0 -0
- package/public/assets/outline.fragment-BK0vgcx7.js +0 -21
- package/public/assets/outline.fragment-BK0vgcx7.js.br +0 -0
- package/public/assets/outline.fragment-BK0vgcx7.js.gz +0 -0
- package/public/assets/outline.fragment-DQK2JikO.js +0 -18
- package/public/assets/outline.fragment-DQK2JikO.js.br +0 -0
- package/public/assets/outline.fragment-DQK2JikO.js.gz +0 -0
- package/public/assets/outline.vertex-CHR7GZYH.js +0 -47
- package/public/assets/outline.vertex-CHR7GZYH.js.br +0 -0
- package/public/assets/outline.vertex-CHR7GZYH.js.gz +0 -0
- package/public/assets/outline.vertex-CKcILDiL.js +0 -47
- package/public/assets/outline.vertex-CKcILDiL.js.br +0 -0
- package/public/assets/outline.vertex-CKcILDiL.js.gz +0 -0
- package/public/assets/passCube.fragment-Ch6aeybh.js +0 -23
- package/public/assets/passCube.fragment-Ch6aeybh.js.br +0 -0
- package/public/assets/passCube.fragment-Ch6aeybh.js.gz +0 -0
- package/public/assets/passCube.fragment-wvJ8mb6_.js +0 -23
- package/public/assets/passCube.fragment-wvJ8mb6_.js.br +0 -0
- package/public/assets/passCube.fragment-wvJ8mb6_.js.gz +0 -0
- package/public/assets/pbr.fragment-Bo4XM7Ct.js +0 -3277
- package/public/assets/pbr.fragment-Bo4XM7Ct.js.br +0 -0
- package/public/assets/pbr.fragment-Bo4XM7Ct.js.gz +0 -0
- package/public/assets/pbr.fragment-T2xKI2J0.js +0 -3327
- package/public/assets/pbr.fragment-T2xKI2J0.js.br +0 -0
- package/public/assets/pbr.fragment-T2xKI2J0.js.gz +0 -0
- package/public/assets/pbr.vertex-BezAbBHx.js +0 -357
- package/public/assets/pbr.vertex-BezAbBHx.js.br +0 -0
- package/public/assets/pbr.vertex-BezAbBHx.js.gz +0 -0
- package/public/assets/pbr.vertex-w2ZWBdHy.js +0 -227
- package/public/assets/pbr.vertex-w2ZWBdHy.js.br +0 -0
- package/public/assets/pbr.vertex-w2ZWBdHy.js.gz +0 -0
- package/public/assets/playable-sdk-DZtFJ_6m.js +0 -8
- package/public/assets/playable-sdk-DZtFJ_6m.js.br +0 -0
- package/public/assets/playable-sdk-DZtFJ_6m.js.gz +0 -0
- package/public/assets/playable-standard-project-CKDs9tbl.js +0 -5150
- package/public/assets/playable-standard-project-CKDs9tbl.js.br +0 -0
- package/public/assets/playable-standard-project-CKDs9tbl.js.gz +0 -0
- package/public/assets/rgbdDecode.fragment-BQ16CsAv.js +0 -5
- package/public/assets/rgbdDecode.fragment-BQ16CsAv.js.br +0 -4
- package/public/assets/rgbdDecode.fragment-BQ16CsAv.js.gz +0 -0
- package/public/assets/rgbdDecode.fragment-D_2CJy2O.js +0 -5
- package/public/assets/rgbdDecode.fragment-D_2CJy2O.js.br +0 -0
- package/public/assets/rgbdDecode.fragment-D_2CJy2O.js.gz +0 -0
- package/public/assets/rgbdEncode.fragment-CmDv6yEZ.js +0 -5
- package/public/assets/rgbdEncode.fragment-CmDv6yEZ.js.br +0 -3
- package/public/assets/rgbdEncode.fragment-CmDv6yEZ.js.gz +0 -0
- package/public/assets/rgbdEncode.fragment-QRg2h8KC.js +0 -5
- package/public/assets/rgbdEncode.fragment-QRg2h8KC.js.br +0 -1
- package/public/assets/rgbdEncode.fragment-QRg2h8KC.js.gz +0 -0
- package/public/assets/sceneLoader-CDreObGG.js +0 -1
- package/public/assets/sceneLoader-CDreObGG.js.br +0 -0
- package/public/assets/sceneLoader-CDreObGG.js.gz +0 -0
- package/public/assets/screenSpaceCurvature.fragment-BWdr_4iW.js +0 -15
- package/public/assets/screenSpaceCurvature.fragment-BWdr_4iW.js.br +0 -0
- package/public/assets/screenSpaceCurvature.fragment-BWdr_4iW.js.gz +0 -0
- package/public/assets/selection.fragment-CVXAuXcC.js +0 -35
- package/public/assets/selection.fragment-CVXAuXcC.js.br +0 -0
- package/public/assets/selection.fragment-CVXAuXcC.js.gz +0 -0
- package/public/assets/selection.fragment-DobH4NRw.js +0 -35
- package/public/assets/selection.fragment-DobH4NRw.js.br +0 -0
- package/public/assets/selection.fragment-DobH4NRw.js.gz +0 -0
- package/public/assets/selection.vertex-BUBv8X1j.js +0 -74
- package/public/assets/selection.vertex-BUBv8X1j.js.br +0 -0
- package/public/assets/selection.vertex-BUBv8X1j.js.gz +0 -0
- package/public/assets/selection.vertex-DlADXBtf.js +0 -73
- package/public/assets/selection.vertex-DlADXBtf.js.br +0 -0
- package/public/assets/selection.vertex-DlADXBtf.js.gz +0 -0
- package/public/assets/selectionOutline.fragment-CWpNrg8m.js +0 -47
- package/public/assets/selectionOutline.fragment-CWpNrg8m.js.br +0 -0
- package/public/assets/selectionOutline.fragment-CWpNrg8m.js.gz +0 -0
- package/public/assets/selectionOutline.fragment-DoKuUf2L.js +0 -48
- package/public/assets/selectionOutline.fragment-DoKuUf2L.js.br +0 -0
- package/public/assets/selectionOutline.fragment-DoKuUf2L.js.gz +0 -0
- package/public/assets/shadowMap.fragment-BEwhnKOg.js +0 -78
- package/public/assets/shadowMap.fragment-BEwhnKOg.js.br +0 -0
- package/public/assets/shadowMap.fragment-BEwhnKOg.js.gz +0 -0
- package/public/assets/shadowMap.fragment-CVar4C4N.js +0 -79
- package/public/assets/shadowMap.fragment-CVar4C4N.js.br +0 -0
- package/public/assets/shadowMap.fragment-CVar4C4N.js.gz +0 -0
- package/public/assets/shadowMap.vertex-ImOoSjTb.js +0 -109
- package/public/assets/shadowMap.vertex-ImOoSjTb.js.br +0 -0
- package/public/assets/shadowMap.vertex-ImOoSjTb.js.gz +0 -0
- package/public/assets/shadowMap.vertex-Q2d15P5z.js +0 -119
- package/public/assets/shadowMap.vertex-Q2d15P5z.js.br +0 -0
- package/public/assets/shadowMap.vertex-Q2d15P5z.js.gz +0 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-BmxybqRD.js +0 -4
- package/public/assets/shadowMapFragmentSoftTransparentShadow-BmxybqRD.js.br +0 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-BmxybqRD.js.gz +0 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-D6ZvWsNy.js +0 -4
- package/public/assets/shadowMapFragmentSoftTransparentShadow-D6ZvWsNy.js.br +0 -0
- package/public/assets/shadowMapFragmentSoftTransparentShadow-D6ZvWsNy.js.gz +0 -0
- package/public/assets/sharpen.fragment-CI40r28S.js +0 -8
- package/public/assets/sharpen.fragment-CI40r28S.js.br +0 -0
- package/public/assets/sharpen.fragment-CI40r28S.js.gz +0 -0
- package/public/assets/textureMerger.fragment-BGsvQGn5.js +0 -84
- package/public/assets/textureMerger.fragment-BGsvQGn5.js.br +0 -0
- package/public/assets/textureMerger.fragment-BGsvQGn5.js.gz +0 -0
- package/public/assets/textureMerger.fragment-Q7yPwkGt.js +0 -76
- package/public/assets/textureMerger.fragment-Q7yPwkGt.js.br +0 -0
- package/public/assets/textureMerger.fragment-Q7yPwkGt.js.gz +0 -0
- package/public/assets/tgaTextureLoader-D7Pjisvo.js +0 -1
- package/public/assets/tgaTextureLoader-D7Pjisvo.js.br +0 -0
- package/public/assets/tgaTextureLoader-D7Pjisvo.js.gz +0 -0
- package/public/assets/vertexColorMixing-CwuEx4gP.js +0 -20
- package/public/assets/vertexColorMixing-CwuEx4gP.js.br +0 -0
- package/public/assets/vertexColorMixing-CwuEx4gP.js.gz +0 -0
- package/public/assets/vertexColorMixing-DRlcGbEu.js +0 -24
- package/public/assets/vertexColorMixing-DRlcGbEu.js.br +0 -2
- package/public/assets/vertexColorMixing-DRlcGbEu.js.gz +0 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-0VKaEyya.js +0 -12
- package/public/assets/volumetricLightingBlendVolume.fragment-0VKaEyya.js.br +0 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-0VKaEyya.js.gz +0 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-BZLjMggm.js +0 -11
- package/public/assets/volumetricLightingBlendVolume.fragment-BZLjMggm.js.br +0 -0
- package/public/assets/volumetricLightingBlendVolume.fragment-BZLjMggm.js.gz +0 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-6GAsdyvE.js +0 -15
- package/public/assets/volumetricLightingRenderVolume.fragment-6GAsdyvE.js.br +0 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-6GAsdyvE.js.gz +0 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-Da_DpfG1.js +0 -13
- package/public/assets/volumetricLightingRenderVolume.fragment-Da_DpfG1.js.br +0 -0
- package/public/assets/volumetricLightingRenderVolume.fragment-Da_DpfG1.js.gz +0 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-BdVFX-tC.js +0 -4
- package/public/assets/volumetricLightingRenderVolume.vertex-BdVFX-tC.js.br +0 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-BdVFX-tC.js.gz +0 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-DO-VIhJn.js +0 -5
- package/public/assets/volumetricLightingRenderVolume.vertex-DO-VIhJn.js.br +0 -0
- package/public/assets/volumetricLightingRenderVolume.vertex-DO-VIhJn.js.gz +0 -0
- package/public/assets/webAudioBus-BkMWEG1L.js +0 -1
- package/public/assets/webAudioBus-BkMWEG1L.js.br +0 -0
- package/public/assets/webAudioBus-BkMWEG1L.js.gz +0 -0
- package/public/assets/webAudioMainBus-DYcQXAkm.js +0 -1
- package/public/assets/webAudioMainBus-DYcQXAkm.js.br +0 -0
- package/public/assets/webAudioMainBus-DYcQXAkm.js.gz +0 -0
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{gs as wr,$ as qt,_ as rn,G as nn,H as an,kz as Mt,kN as on,kA as Yt,c4 as sn,iN as cn,jU as dn,f_ as ln,jc as un,hq as mn,k0 as fn,lv as Cr,lp as Mr,lw as gn,bN as pn,cR as hn,bJ as En,bL as bn,bO as Sn,bM as yn,bP as In,bQ as Pn,w as An,p as j,kv as Tn,nl as Rn,bK as vn,nk as wn,nm as Cn,hh as Mn,n as Dn,o as _n,r as On,m as Wt,s as jn,kR as Dr,g7 as Y,be as Nt,bb as _r,mf as Nn,kX as kn,bj as Ln,gR as xn,gO as Gn,g8 as Fn,gQ as Bn,gG as zn,gu as Un,gt as $n,hn as Hn,jp as Vn,nE as qn,gv as Yn,D as Wn,cT as Kn,l as Jn,E as Xn,kQ as Qn,jT as Zn,lA as mt,q as ea,t as ta,u as ra,lH as Kt,g1 as na,mI as aa,my as oa,jO as ia,aP as Jt,jA as Xt,nd as Qt,mS as sa,gi as he,bo as ca,bn as da,gT as la,a5 as Zt,mJ as ua}from"./playable-standard-project-CKDs9tbl.js";import{C as zs,a as Us,b as $s,c as Hs,d as Vs,e as qs,f as Ys,g as Ws,h as Ks,i as Js,j as Xs,k as Qs,v as Zs,x as ec,y as tc,z as rc,A as nc,B as ac,F as oc,I as ic,J as sc,K as cc,L as dc,M as lc,N as uc,O as mc,P as fc,Q as gc,R as pc,S as hc,T as Ec,U as bc,V as Sc,W as yc,X as Ic,Y as Pc,Z as Ac,a0 as Tc,a1 as Rc,a2 as vc,a3 as wc,a4 as Cc,a6 as Mc,a7 as Dc,a8 as _c,a9 as Oc,aa as jc,ab as Nc,ac as kc,ad as Lc,ae as xc,af as Gc,ag as Fc,ah as Bc,ai as zc,aj as Uc,ak as $c,al as Hc,am as Vc,an as qc,ao as Yc,ap as Wc,aq as Kc,ar as Jc,as as Xc,at as Qc,au as Zc,av as ed,aw as td,ax as rd,ay as nd,az as ad,aA as od,aB as id,aC as sd,aD as cd,aE as dd,aF as ld,aG as ud,aH as md,aI as fd,aJ as gd,aK as pd,aL as hd,aM as Ed,aN as bd,aO as Sd,aQ as yd,aR as Id,aS as Pd,aT as Ad,aU as Td,aV as Rd,aW as vd,aX as wd,aY as Cd,aZ as Md,a_ as Dd,a$ as _d,b0 as Od,b1 as jd,b2 as Nd,b3 as kd,b4 as Ld,b5 as xd,b6 as Gd,b7 as Fd,b8 as Bd,b9 as zd,ba as Ud,bc as $d,bd as Hd,bf as Vd,bg as qd,bh as Yd,bi as Wd,bk as Kd,bl as Jd,bm as Xd,bp as Qd,bq as Zd,br as el,bs as tl,bt as rl,bu as nl,bv as al,bw as ol,bx as il,by as sl,bz as cl,bA as dl,bB as ll,bC as ul,bD as ml,bE as fl,bF as gl,bG as pl,bH as hl,bI as El,bR as bl,bS as Sl,bT as yl,bU as Il,bV as Pl,bW as Al,bX as Tl,bY as Rl,bZ as vl,b_ as wl,b$ as Cl,c0 as Ml,c1 as Dl,c2 as _l,c3 as Ol,c5 as jl,c6 as Nl,c7 as kl,c8 as Ll,c9 as xl,ca as Gl,cb as Fl,cc as Bl,cd as zl,ce as Ul,cf as $l,cg as Hl,ch as Vl,ci as ql,cj as Yl,ck as Wl,cl as Kl,cm as Jl,cn as Xl,co as Ql,cp as Zl,cq as eu,cr as tu,cs as ru,ct as nu,cu as au,cv as ou,cw as iu,cx as su,cy as cu,cz as du,cA as lu,cB as uu,cC as mu,cD as fu,cE as gu,cF as pu,cG as hu,cH as Eu,cI as bu,cJ as Su,cK as yu,cL as Iu,cM as Pu,cN as Au,cO as Tu,cP as Ru,cQ as vu,cS as wu,cU as Cu,cV as Mu,cW as Du,cX as _u,cY as Ou,cZ as ju,c_ as Nu,c$ as ku,d0 as Lu,d1 as xu,d2 as Gu,d3 as Fu,d4 as Bu,d5 as zu,d6 as Uu,d7 as $u,d8 as Hu,d9 as Vu,da as qu,db as Yu,dc as Wu,dd as Ku,de as Ju,df as Xu,dg as Qu,dh as Zu,di as em,dj as tm,dk as rm,dl as nm,dm as am,dn as om,dp as im,dq as sm,dr as cm,ds as dm,dt as lm,du as um,dv as mm,dw as fm,dx as gm,dy as pm,dz as hm,dA as Em,dB as bm,dC as Sm,dD as ym,dE as Im,dF as Pm,dG as Am,dH as Tm,dI as Rm,dJ as vm,dK as wm,dL as Cm,dM as Mm,dN as Dm,dO as _m,dP as Om,dQ as jm,dR as Nm,dS as km,dT as Lm,dU as xm,dV as Gm,dW as Fm,dX as Bm,dY as zm,dZ as Um,d_ as $m,d$ as Hm,e0 as Vm,e1 as qm,e2 as Ym,e3 as Wm,e4 as Km,e5 as Jm,e6 as Xm,e7 as Qm,e8 as Zm,e9 as ef,ea as tf,eb as rf,ec as nf,ed as af,ee as of,ef as sf,eg as cf,eh as df,ei as lf,ej as uf,ek as mf,el as ff,em as gf,en as pf,eo as hf,ep as Ef,eq as bf,er as Sf,es as yf,et as If,eu as Pf,ev as Af,ew as Tf,ex as Rf,ey as vf,ez as wf,eA as Cf,eB as Mf,eC as Df,eD as _f,eE as Of,eF as jf,eG as Nf,eH as kf,eI as Lf,eJ as xf,eK as Gf,eL as Ff,eM as Bf,eN as zf,eO as Uf,eP as $f,eQ as Hf,eR as Vf,eS as qf,eT as Yf,eU as Wf,eV as Kf,eW as Jf,eX as Xf,eY as Qf,eZ as Zf,e_ as eg,e$ as tg,f0 as rg,f1 as ng,f2 as ag,f3 as og,f4 as ig,f5 as sg,f6 as cg,f7 as dg,f8 as lg,f9 as ug,fa as mg,fb as fg,fc as gg,fd as pg,fe as hg,ff as Eg,fg as bg,fh as Sg,fi as yg,fj as Ig,fk as Pg,fl as Ag,fm as Tg,fn as Rg,fo as vg,fp as wg,fq as Cg,fr as Mg,fs as Dg,ft as _g,fu as Og,fv as jg,fw as Ng,fx as kg,fy as Lg,fz as xg,fA as Gg,fB as Fg,fC as Bg,fD as zg,fE as Ug,fF as $g,fG as Hg,fH as Vg,fI as qg,fJ as Yg,fM as Wg,fN as Kg,fO as Jg,fP as Xg,fQ as Qg,fR as Zg,fS as ep,fT as tp,fU as rp,fV as np,fW as ap,fX as op,fY as ip,fZ as sp,f$ as cp,g0 as dp,g2 as lp,g3 as up,g4 as mp,g5 as fp,g6 as gp,g9 as pp,ga as hp,gb as Ep,gc as bp,gd as Sp,ge as yp,gf as Ip,gg as Pp,gh as Ap,gj as Tp,gk as Rp,gl as vp,gm as wp,gn as Cp,go as Mp,gp as Dp,gq as _p,gr as Op,gw as jp,gx as Np,gy as kp,gz as Lp,gA as xp,gB as Gp,gC as Fp,gD as Bp,gE as zp,gF as Up,gH as $p,gI as Hp,gJ as Vp,gK as qp,gL as Yp,gM as Wp,gN as Kp,gP as Jp,gS as Xp,gU as Qp,gV as Zp,gW as eh,gX as th,gY as rh,gZ as nh,g_ as ah,g$ as oh,h0 as ih,h1 as sh,h2 as ch,h3 as dh,h4 as lh,h5 as uh,h6 as mh,h7 as fh,h8 as gh,h9 as ph,ha as hh,hb as Eh,hc as bh,hd as Sh,he as yh,hf as Ih,hg as Ph,hi as Ah,hj as Th,hk as Rh,hl as vh,hm as wh,ho as Ch,hp as Mh,hr as Dh,hs as _h,ht as Oh,hu as jh,hv as Nh,hw as kh,hx as Lh,hy as xh,hz as Gh,hA as Fh,hB as Bh,hC as zh,hD as Uh,hE as $h,hF as Hh,hG as Vh,hH as qh,hI as Yh,hJ as Wh,hK as Kh,hL as Jh,hM as Xh,hN as Qh,hO as Zh,hP as eE,hQ as tE,hR as rE,hS as nE,hT as aE,hU as oE,hV as iE,hW as sE,hX as cE,hY as dE,hZ as lE,h_ as uE,h$ as mE,i0 as fE,i1 as gE,i2 as pE,i4 as hE,i5 as EE,i6 as bE,i7 as SE,i8 as yE,i9 as IE,ia as PE,ib as AE,ic as TE,id as RE,ie as vE,ig as wE,ih as CE,ii as ME,ij as DE,ik as _E,il as OE,im as jE,io as NE,ip as kE,iq as LE,ir as xE,is as GE,it as FE,iu as BE,iv as zE,iw as UE,ix as $E,iy as HE,iz as VE,iA as qE,iB as YE,iC as WE,iD as KE,iE as JE,iF as XE,iG as QE,iH as ZE,iI as eb,iJ as tb,iK as rb,iL as nb,iM as ab,iO as ob,iP as ib,iQ as sb,iR as cb,iS as db,iT as lb,iU as ub,iV as mb,iW as fb,iX as gb,iY as pb,iZ as hb,i_ as Eb,i$ as bb,j0 as Sb,j1 as yb,j2 as Ib,j3 as Pb,j4 as Ab,j5 as Tb,j6 as Rb,j7 as vb,j8 as wb,j9 as Cb,ja as Mb,jb as Db,jd as _b,je as Ob,jf as jb,jg as Nb,jh as kb,ji as Lb,jj as xb,jk as Gb,jl as Fb,jm as Bb,jn as zb,jo as Ub,jq as $b,jr as Hb,js as Vb,jt as qb,ju as Yb,jv as Wb,jw as Kb,jx as Jb,jy as Xb,jz as Qb,jB as Zb,jC as eS,jD as tS,jE as rS,jF as nS,jG as aS,jH as oS,jI as iS,jJ as sS,jK as cS,jL as dS,jM as lS,jN as uS,jP as mS,jQ as fS,jR as gS,jS as pS,jV as hS,jW as ES,jX as bS,jY as SS,jZ as yS,j_ as IS,j$ as PS,k1 as AS,k2 as TS,k3 as RS,k4 as vS,k5 as wS,k6 as CS,k7 as MS,k8 as DS,k9 as _S,ka as OS,kb as jS,kc as NS,kd as kS,ke as LS,kf as xS,kg as GS,kh as FS,ki as BS,kj as zS,kk as US,kl as $S,km as HS,kn as VS,ko as qS,kp as YS,kq as WS,kr as KS,ks as JS,kt as XS,ku as QS,kw as ZS,kx as ey,ky as ty,kB as ry,kC as ny,kD as ay,kE as oy,kF as iy,kG as sy,kH as cy,kI as dy,kJ as ly,kK as uy,kL as my,kM as fy,kO as gy,kP as py,kS as hy,kT as Ey,kU as by,kV as Sy,kW as yy,kY as Iy,kZ as Py,k_ as Ay,k$ as Ty,l0 as Ry,l1 as vy,l2 as wy,l3 as Cy,l4 as My,l5 as Dy,l6 as _y,l7 as Oy,l8 as jy,l9 as Ny,la as ky,lb as Ly,lc as xy,ld as Gy,le as Fy,lf as By,lg as zy,lh as Uy,li as $y,lj as Hy,lk as Vy,ll as qy,lm as Yy,ln as Wy,lo as Ky,lq as Jy,lr as Xy,ls as Qy,lt as Zy,lu as eI,lx as tI,ly as rI,lz as nI,lB as aI,lC as oI,lD as iI,lE as sI,lF as cI,lG as dI,lI,lJ as uI,lK as mI,lL as fI,lM as gI,lN as pI,lO as hI,lP as EI,lQ as bI,lR as SI,lS as yI,lT as II,lU as PI,lV as AI,lW as TI,lX as RI,lY as vI,lZ as wI,l_ as CI,l$ as MI,m0 as DI,m1 as _I,m2 as OI,m3 as jI,m4 as NI,m5 as kI,m6 as LI,m7 as xI,m8 as GI,m9 as FI,ma as BI,mb as zI,mc as UI,md as $I,me as HI,mg as VI,mh as qI,mi as YI,mj as WI,mk as KI,ml as JI,mm as XI,mn as QI,mo as ZI,mp as eP,mq as tP,mr as rP,ms as nP,mt as aP,mu as oP,mv as iP,mw as sP,mx as cP,mz as dP,mA as lP,mB as uP,mC as mP,mD as fP,mE as gP,mF as pP,mG as hP,mH as EP,mK as bP,mL as SP,mM as yP,mN as IP,mO as PP,mP as AP,mQ as TP,mR as RP,mT as vP,mU as wP,mV as CP,mW as MP,mX as DP,mY as _P,mZ as OP,m_ as jP,m$ as NP,n0 as kP,n1 as LP,n2 as xP,n3 as GP,n4 as FP,n5 as BP,n6 as zP,n7 as UP,n8 as $P,n9 as HP,na as VP,nb as qP,nc as YP,ne as WP,nf as KP,ng as JP,nh as XP,ni as QP,nj as ZP,nn as eA,no as tA,np as rA,nq as nA,nr as aA,ns as oA,nt as iA,nu as sA,nv as cA,nw as dA,nx as lA,ny as uA,nz as mA,nA as fA,nB as gA,nC as pA,nD as hA,nF as EA,nG as bA,nH as SA,nI as yA,nJ as IA,nK as PA,nL as AA,nM as TA,nN as RA,nO as vA,nP as wA,nQ as CA}from"./playable-standard-project-CKDs9tbl.js";import"./dynamicTexture-Cuby-VOT.js";import"@fps-games/editor-core/plugin-host";function os(e,t){const r=wr(e),a=ma(t),n=r.revision??null;if(!a)return{detected:!0,sourceId:r.sourceId,sourceType:r.sourceType,sourceRevision:n,generatedRevision:null,reason:"missing-generated-from"};const o=typeof a.revision=="number"?a.revision:null;return a.sourceId!==r.sourceId||a.sourceType!==r.sourceType?{detected:!0,sourceId:r.sourceId,sourceType:r.sourceType,sourceRevision:n,generatedRevision:o,reason:"source-mismatch"}:n!==o?{detected:!0,sourceId:r.sourceId,sourceType:r.sourceType,sourceRevision:n,generatedRevision:o,reason:"revision-mismatch"}:{detected:!1,sourceId:r.sourceId,sourceType:r.sourceType,sourceRevision:n,generatedRevision:o}}function ma(e){if(!e||typeof e!="object")return null;const t=e.meta;if(!t||typeof t!="object")return null;const r=t.generatedFrom;if(!r||typeof r!="object")return null;const a=r.sourceId,n=r.sourceType;return typeof a!="string"||typeof n!="string"?null:{sourceId:a,sourceType:n,revision:typeof r.revision=="number"?r.revision:void 0}}function fa(e){const{document:t,runtimePatch:r}=e,a=e.getSourceRef?.(t)??wr(t),n=r.sourceBinding;if(!r.applyable||!n||r.applyTarget!==qt||n.sourceId!==rn||n.sourceType!==qt||n.sourceId!==a.sourceId||n.sourceType!==a.sourceType)return null;const o=n.objectId;if(!o||!e.findGameObject(t,o)||e.isRootGameObjectId?.(o))return null;const i=r.after;return ga(i)?{label:r.label??`Apply runtime transform ${o}`,patch:e.createPatch(o,i)}:null}function is(e,t){return fa({document:e,runtimePatch:t,findGameObject:(r,a)=>r.scene.gameObjects.find(n=>n.id===a)??null,isRootGameObjectId:r=>r==="root",createPatch:(r,a)=>({kind:"game-object.transform",targetId:r,transform:a})})}function ga(e){if(!e||typeof e!="object")return!1;const t=e;return bt(t.position)&&bt(t.rotation)&&bt(t.scale)}function bt(e){if(!e||typeof e!="object")return!1;const t=e;return typeof t.x=="number"&&Number.isFinite(t.x)&&typeof t.y=="number"&&Number.isFinite(t.y)&&typeof t.z=="number"&&Number.isFinite(t.z)}const Or="fps-editor.lighting-debug.open",jr="fps-editor.lighting-debug.language",pa=[{field:"environmentIntensity",textKey:"intensity",tooltipKey:"environmentIntensity",step:.01,min:0},{field:"iblIntensity",textKey:"iblIntensity",tooltipKey:"iblIntensity",step:.01,min:0,max:4},{field:"iblRotationY",textKey:"iblRotationY",tooltipKey:"iblRotationY",step:.01},{field:"directionalIntensity",textKey:"intensity",tooltipKey:"directionalIntensity",step:.01,min:0},{field:"directionalHorizontalAngle",textKey:"horizontalAngle",tooltipKey:"horizontalAngle",step:.01,min:-180,max:180},{field:"directionalElevationAngle",textKey:"elevationAngle",tooltipKey:"elevationAngle",step:.01,min:an,max:nn},{field:"shadowStrength",textKey:"shadowStrength",tooltipKey:"shadowStrength",step:.01,min:0,max:1},{field:"shadowSoftness",textKey:"shadowSoftness",tooltipKey:"shadowSoftness",step:.005,min:0,max:1}];function Ee(e){const t=pa.find(r=>r.field===e);if(!t)throw new Error(`Missing lighting number field config: ${e}`);return t}function St(e){const t=e.trim();if(!t||/^[+-]$/.test(t)||t.endsWith(".")||/[eE][+-]?$/.test(t))return null;const r=Number(t);return Number.isFinite(r)?r:null}const er={zh:{title:"光照调试",runtime:"运行时",languageButton:"EN",toggleTitle:"打开光照调试面板",environmentSection:"环境光",environmentTextureSection:"环境贴图 IBL",directionalSection:"直射光",shadowSection:"阴影外观",enabled:"启用",intensity:"强度",iblIntensity:"IBL 强度",iblRotationY:"IBL 旋转",skyLightColor:"天空光颜色",groundColor:"地面颜色",horizontalAngle:"水平角",elevationAngle:"高度角",lightColor:"光照颜色",rawDirection:"原始方向",shadowReadout:"阴影",shadowStrength:"阴影强度",shadowSoftness:"轮廓柔和度",shadowMap:"Shadow Map",shadowPlanarFollow:"Planar / 跟随直射光",shadowDynamic:"动态阴影",shadowBlob:"Blob 阴影",shadowStatic:"静态烘焙阴影",shadowNone:"Off",shadowUnknown:"Unknown",reset:"重置参数",save:"保存参数",resetStatus:"已重置为初始运行时光照。",savingStatus:"正在保存光照、IBL 和阴影参数...",savedStatus:"已保存光照、IBL 和阴影参数。",saveFailed:"保存失败",missingBindingStatus:"缺少光源绑定,只能临时预览,不能保存。"},en:{title:"Lighting Debug",runtime:"Runtime",languageButton:"中文",toggleTitle:"Toggle lighting debug panel",environmentSection:"Environment Light",environmentTextureSection:"Environment Texture IBL",directionalSection:"Directional Light",shadowSection:"Shadow Appearance",enabled:"Enabled",intensity:"Intensity",iblIntensity:"IBL Intensity",iblRotationY:"IBL Rotation",skyLightColor:"Sky Light Color",groundColor:"Ground Color",horizontalAngle:"Horizontal Angle",elevationAngle:"Elevation Angle",lightColor:"Light Color",rawDirection:"Raw Direction",shadowReadout:"Shadow",shadowStrength:"Shadow Strength",shadowSoftness:"Edge Softness",shadowMap:"Shadow Map",shadowPlanarFollow:"Planar / Follow Directional Light",shadowDynamic:"Dynamic Shadow",shadowBlob:"Blob Shadow",shadowStatic:"Static Baked Shadow",shadowNone:"Off",shadowUnknown:"Unknown",reset:"Reset",save:"Save Parameters",resetStatus:"Reset to initial runtime lighting.",savingStatus:"Saving lighting, IBL and shadows...",savedStatus:"Saved lighting, IBL and shadows.",saveFailed:"Save failed",missingBindingStatus:"Light binding missing; preview only, saving disabled."}},tr={zh:{languageButton:"切换光照调试面板的显示语言。",toggleTitle:"打开或关闭运行时光照调试面板。",enabled:"启用或禁用对应的运行时光源,保存后写回编辑器场景。",environmentIntensity:"环境光强度,对应运行时环境光 intensity。",iblIntensity:"环境贴图对 PBR 材质的光照贡献强度;实时预览不会重新加载贴图。",iblRotationY:"环境贴图绕 Y 轴的旋转弧度,用于调整环境反射和高光方向。",directionalIntensity:"直射光强度,对应运行时直射光 intensity。",skyLightColor:"环境光来自天空方向的漫反射颜色。",groundColor:"环境光来自地面反射方向的颜色。",horizontalAngle:"直射光在 XZ 平面内的朝向角度,会转换为运行时方向向量。",elevationAngle:"直射光相对地平线的高度角;90 度表示从正上方照下。",lightColor:"直射光漫反射颜色。",rawDirection:"只读方向向量,用于排查运行时转换结果。",shadowReadout:"只读阴影状态;支持宿主提供的运行时阴影模式摘要。",shadowStrength:"控制阴影的可见深浅;1 最深,0 不显示阴影。",shadowSoftness:"控制阴影接收边缘的柔和程度;0 表示硬边。",reset:"恢复为打开运行时时读取到的初始光照、IBL 和阴影参数。",save:"通过编辑器保存链路写回环境光、直射光、IBL 和 Shadow Map 外观参数。"},en:{languageButton:"Switch the lighting debug panel language.",toggleTitle:"Open or close the runtime lighting debug panel.",enabled:"Enable or disable the runtime light and save it back to the editor scene.",environmentIntensity:"Environment intensity. Maps to the runtime environment light intensity.",iblIntensity:"Environment texture contribution to PBR lighting. Live preview does not reload the texture.",iblRotationY:"Environment texture rotation around the Y axis in radians, affecting reflections and highlights.",directionalIntensity:"Directional intensity. Maps to the runtime directional light intensity.",skyLightColor:"Diffuse sky color for the environment light.",groundColor:"Ground bounce color for the environment light.",horizontalAngle:"Directional heading in the XZ plane, converted to a runtime direction vector.",elevationAngle:"Directional elevation above the horizon; 90 degrees points straight down.",lightColor:"Directional diffuse color.",rawDirection:"Read-only direction vector for checking runtime conversion.",shadowReadout:"Read-only shadow status supplied by the host runtime.",shadowStrength:"Visible shadow strength. One is darkest; zero hides the shadow.",shadowSoftness:"Receiver-edge softness. Zero produces a hard edge.",reset:"Restore the lighting, IBL and shadows captured when runtime opened.",save:"Save lighting, IBL and Shadow Map appearance through the editor authoring pipeline."}};function ha(e){return er[e]??er.zh}function Ea(e){return tr[e]??tr.zh}function ba(e,t){return e==="shadow-map"?t.shadowMap:e==="planar"?t.shadowPlanarFollow:e==="dynamic"?t.shadowDynamic:e==="blob"?t.shadowBlob:e==="static"?t.shadowStatic:e==="none"?t.shadowNone:t.shadowUnknown}function Sa(e){try{return e?.localStorage?.getItem(Or)==="true"}catch{return!1}}function ya(e,t){try{e?.localStorage?.setItem(Or,String(t))}catch{}}function Ia(e){try{return e?.localStorage?.getItem(jr)==="en"?"en":"zh"}catch{return"zh"}}function Pa(e,t){try{e?.localStorage?.setItem(jr,t)}catch{}}function ss(e,t){const r=rr(rr(e)?.__fpsEditor),a=ce(r?.sourceId),n=ce(r?.objectGuid),o=ce(r?.objectId),i=ce(r?.propertyPath),s=ce(r?.lightType);return!a||i!=="light"||!n&&!o||t&&s&&s!==t?null:{sourceId:a,propertyPath:"light",...t?{lightType:t}:s?{lightType:s}:{},...n?{objectGuid:n}:{},...o?{objectId:o}:{}}}function Aa(e){const t=ce(e.sourceId),r=ce(e.propertyPath),a=ce(e.objectGuid),n=ce(e.objectId),o=ce(e.lightType);if(!t)throw new Error("Runtime light binding is missing sourceId.");if(r!=="light")throw new Error(`Runtime light binding is not for light: ${r??"missing"}`);if(!a&&!n)throw new Error("Runtime light binding is missing objectGuid/objectId.");return{sourceId:t,propertyPath:r,...a?{objectGuid:a}:{},...n?{objectId:n}:{},...o?{lightType:o}:{}}}function rr(e){return e&&typeof e=="object"&&!Array.isArray(e)?e:null}function ce(e){return typeof e=="string"&&e.trim()?e.trim():null}function Se(e){return{environment:{enabled:e.environment.enabled,binding:e.environment.binding?{...e.environment.binding}:null,light:{type:"hemispheric",intensity:e.environment.light.intensity,...e.environment.light.diffuseColor?{diffuseColor:{...e.environment.light.diffuseColor}}:{},...e.environment.light.groundColor?{groundColor:{...e.environment.light.groundColor}}:{}}},...e.environmentTexture?{environmentTexture:{...e.environmentTexture}}:{},directional:{enabled:e.directional.enabled,binding:e.directional.binding?{...e.directional.binding}:null,light:{type:"directional",intensity:e.directional.light.intensity,direction:{...e.directional.light.direction},...e.directional.light.diffuseColor?{diffuseColor:{...e.directional.light.diffuseColor}}:{}}},shadow:{...e.shadow,...e.shadow.shadowMap?{shadowMap:{...e.shadow.shadowMap,lastRefreshReasons:[...e.shadow.shadowMap.lastRefreshReasons],...e.shadow.shadowMap.appearance?{appearance:{...e.shadow.shadowMap.appearance}}:{}}}:{}}}}function it(e){return!!e.environment.binding&&!!e.directional.binding}function cs(e){return it(e)?[{binding:e.environment.binding,enabled:e.environment.enabled,light:e.environment.light},{binding:e.directional.binding,enabled:e.directional.enabled,light:e.directional.light}]:[]}function Le(e,t){switch(t){case"environmentIntensity":return e.environment.light.intensity;case"iblIntensity":return e.environmentTexture?.iblIntensity??0;case"iblRotationY":return e.environmentTexture?.iblRotationY??0;case"directionalIntensity":return e.directional.light.intensity;case"directionalHorizontalAngle":return Mt(e.directional.light.direction).horizontalAngleDeg;case"directionalElevationAngle":return Mt(e.directional.light.direction).elevationAngleDeg;case"shadowStrength":return e.shadow.shadowMap?.appearance?.strength??0;case"shadowSoftness":return e.shadow.shadowMap?.appearance?.softness??0}}function nr(e,t){switch(t){case"environmentDiffuseColor":return e.environment.light.diffuseColor??{r:1,g:1,b:1};case"environmentGroundColor":return e.environment.light.groundColor??{r:.48,g:.52,b:.62};case"directionalDiffuseColor":return e.directional.light.diffuseColor??{r:1,g:1,b:1}}}function Ta(e,t,r){if(!Number.isFinite(r))return Se(e);const a=Se(e);switch(t){case"environmentIntensity":return a.environment.light.intensity=r,a;case"iblIntensity":return a.environmentTexture&&(a.environmentTexture.iblIntensity=r),a;case"iblRotationY":return a.environmentTexture&&(a.environmentTexture.iblRotationY=r),a;case"directionalIntensity":return a.directional.light.intensity=r,a;case"directionalHorizontalAngle":{const n=Yt(e.directional.light.direction);return ar(a,r,n.elevationAngleDeg)}case"directionalElevationAngle":{const n=Yt(e.directional.light.direction);return ar(a,n.horizontalAngleDeg,r)}case"shadowStrength":{const n=a.shadow.shadowMap?.appearance;return n&&(n.strength=r,n.darkness=1-r),a}case"shadowSoftness":return a.shadow.shadowMap?.appearance&&(a.shadow.shadowMap.appearance.softness=r),a}}function Ra(e,t,r){const a=Se(e);switch(t){case"environmentDiffuseColor":return a.environment.light.diffuseColor={...r},a;case"environmentGroundColor":return a.environment.light.groundColor={...r},a;case"directionalDiffuseColor":return a.directional.light.diffuseColor={...r},a}}function va(e,t,r){const a=Se(e);return a[t].enabled=r,a}function ar(e,t,r){const a=sn(t,r);return wa(e,a)}function wa(e,t){const r=Se(e);return r.directional.light.direction={...t},r.shadow.projectedLengthMultiplier=on(t),r}function Nr(e,t){const r=typeof t?.materialAssetId=="string"?t.materialAssetId.trim():"",a=r?e.scene.materialAssets?.find(o=>o.id===r)??null:null,n=cn(a?.properties,t?.override);return{materialAsset:a,...a?{materialAssetShaderId:a.shaderId}:{},profile:n,...r&&!a?{missingMaterialAssetId:r}:{}}}function ds(e,t){const r=Nr(e,t.overrides?.materialBinding),a={},n=dn(r.materialAssetShaderId);return n&&(Object.keys(r.profile).length>0?(a.artistMaterialShaderId=n,a.artistMaterialProfile=r.profile):a.artistMaterialShaderId=n),a}function ls(e,t){const r={},a=t.overrides?.materialSlotBindings??{};for(const[n,o]of Object.entries(a)){if(!n||!o)continue;const i=Nr(e,o);Object.keys(i.profile).length!==0&&(r[n]=i.profile)}return r}function us(e,t){const r=Ca(t),a=[];for(const n of e.inspector.fields){if(n.control!=="color"||n.updateClass!=="uniform")continue;const o=Ma(e,n.schemaPath??n.path);if(o?.kind!=="color")continue;const i=o.channels===4?"vec4":"vec3",s=r.get(n.binding);if(!s){a.push({code:"material.shaderColorBindingMissing",path:n.path,binding:n.binding,expectedType:i,message:`GLSL uniform ${n.binding} is missing; expected ${i}.`});continue}s!==i&&a.push({code:"material.shaderColorBindingTypeMismatch",path:n.path,binding:n.binding,expectedType:i,actualType:s,message:`GLSL uniform ${n.binding} uses ${s}; Shader Definition expects ${i}.`})}return a}function Ca(e){const t=e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/.*$/gm,""),r=new Map,a=/\buniform\s+(?:(?:lowp|mediump|highp)\s+)?([A-Za-z_]\w*)\s+([A-Za-z_]\w*)\s*(?:\[[^\]]+\])?\s*;/g;for(const n of t.matchAll(a))r.set(n[2],n[1]);return r}function Ma(e,t){const r=t.replace(/^properties\./,"").split(".").filter(Boolean);let a=e.propertiesSchema;for(const n of r){if(a.kind!=="object")return null;const o=a.properties[n];if(!o)return null;a=o}return a}function ms(e,t,r={}){const a=kr(e);let n=ln(e);const o=[];for(const i of t){const s=_a(i),l=Aa(s.binding);if(r.expectedSourceId&&l.sourceId!==r.expectedSourceId)throw new Error(`Runtime light binding source mismatch: ${l.sourceId} !== ${r.expectedSourceId}`);const d=Da(n,l,a);if(!d)throw new Error("Runtime light binding did not match an editor light object.");Na(d,s.light.type,l),n=xe(n,d.id,"enabled",s.enabled,r),n=xe(n,d.id,"light.intensity",s.light.intensity,r),s.light.diffuseColor&&(n=xe(n,d.id,"light.diffuseColor",s.light.diffuseColor,r)),s.light.type==="hemispheric"?s.light.groundColor&&(n=xe(n,d.id,"light.groundColor",s.light.groundColor,r)):n=xe(n,d.id,"light.direction",s.light.direction,r),o.push({id:d.id,...d.guid?{objectGuid:d.guid}:{},lightType:s.light.type})}return{document:n,targets:o}}function Da(e,t,r=kr(e)){if(t.objectGuid){const o=e.scene.gameObjects.find(i=>i.guid===t.objectGuid)??null;if(o){if(t.objectId&&o.id!==t.objectId)throw new Error(`Runtime light binding guid/id conflict: ${t.objectGuid} belongs to ${o.id}, not ${t.objectId}.`);return o}}if(!t.objectId)return null;const a=e.scene.gameObjects.find(o=>o.id===t.objectId)??null;if(!a)return null;const n=r.get(a.id);if(t.objectGuid&&n&&n!==t.objectGuid)throw new Error(`Runtime light binding guid conflict for ${a.id}.`);return a}function _a(e){const t=ka(e.enabled,"enabled");return e.light.type==="hemispheric"?{binding:e.binding,enabled:t,light:Oa(e.light)}:{binding:e.binding,enabled:t,light:ja(e.light)}}function Oa(e){if(e.type!=="hemispheric")throw new Error("Runtime light patch must be hemispheric.");return{type:"hemispheric",intensity:Lr(e.intensity,"hemispheric.intensity"),...e.diffuseColor?{diffuseColor:Dt(e.diffuseColor,"hemispheric.diffuseColor")}:{},...e.groundColor?{groundColor:Dt(e.groundColor,"hemispheric.groundColor")}:{}}}function ja(e){if(e.type!=="directional")throw new Error("Runtime light patch must be directional.");return{type:"directional",intensity:Lr(e.intensity,"directional.intensity"),direction:un(La(e.direction,"directional.direction")),...e.diffuseColor?{diffuseColor:Dt(e.diffuseColor,"directional.diffuseColor")}:{}}}function xe(e,t,r,a,n){return n.patchLightField?n.patchLightField(e,t,r,a):fn(e,t,r,a,n.fieldMutation)}function Na(e,t,r){if(!mn(e))throw new Error(`Runtime light binding target is not a light object: ${e.id}`);if(!e.light)throw new Error(`Runtime light binding target is missing light config: ${e.id}`);if(e.light.type!==t)throw new Error(`Runtime light binding type mismatch for ${e.id}: ${e.light.type} !== ${t}`);if(r.lightType&&r.lightType!==t)throw new Error(`Runtime light binding metadata type mismatch: ${r.lightType} !== ${t}`)}function kr(e){const t=new Map;for(const r of e.scene.gameObjects){const a=xa(r.guid);a&&t.set(r.id,a)}return t}function ka(e,t){if(typeof e!="boolean")throw new Error(`Runtime light ${t} must be a boolean.`);return e}function Lr(e,t){if(typeof e!="number"||!Number.isFinite(e)||e<0)throw new Error(`Runtime light ${t} must be a non-negative finite number.`);return e}function Dt(e,t){return{r:_e(e.r,`${t}.r`),g:_e(e.g,`${t}.g`),b:_e(e.b,`${t}.b`)}}function La(e,t){return{x:_e(e.x,`${t}.x`),y:_e(e.y,`${t}.y`),z:_e(e.z,`${t}.z`)}}function _e(e,t){if(typeof e!="number"||!Number.isFinite(e))throw new Error(`Runtime light ${t} must be a finite number.`);return e}function xa(e){return typeof e=="string"&&e.trim()?e.trim():null}function fs(e={}){const t=e.ttlMs??3e4,r=e.now??(()=>Date.now()),a=new Map;return{remember(n){const o=Mr(n);for(const i of gn(n)){const s=or(i);if(s.length===0)continue;const l={point:o??void 0,asset:i,timestamp:r()};for(const d of s)a.set(d,l)}yt(a,t,r())},normalize(n){yt(a,t,r());const o=Cr(n);if(!o)return n;const i=or(o),s=i.map(l=>a.get(l)).find(l=>!!l)??null;for(const l of i)a.delete(l);return Ga(n,s)},clearExpired(){yt(a,t,r())}}}function Ga(e,t){const r=Cr(e);if(!r)return e;const a=t?.asset??{},n={...a,...r,...e},o=H(e.assetName)??H(r.assetName)??H(r.name)??H(a.assetName)??H(a.name),i=H(e.assetPath)??H(r.assetPath)??H(r.path)??H(a.assetPath)??H(a.path),s=H(e.assetUrl)??H(r.assetUrl)??H(r.url)??H(a.assetUrl)??H(a.url);return{...n,...o?{assetName:o}:{},...i?{assetPath:i}:{},...s?{assetUrl:s}:{},...t?.point&&!Mr(n)?{point:t.point}:{}}}function yt(e,t,r){for(const[a,n]of e)r-n.timestamp>t&&e.delete(a)}function or(e){return[H(e.id),H(e.platformAssetId),H(e.assetId)].filter((t,r,a)=>!!t&&a.indexOf(t)===r)}function H(e){return typeof e=="string"&&e.trim()?e.trim():void 0}class ve extends Error{constructor(t){super(t),this.name="PlayableEditorEntryReloadRequiredError"}}function Fa(e){const t=e.now??(()=>Date.now()),r=new AbortController,a=new Set;let n=ir({phase:"idle",attempt:0,phaseStartedAtMs:t(),phaseDurationsMs:{},failure:null}),o=null,i=null,s=null,l=!1;const d=m=>{try{e.reportListenerError?.(m)}catch{}},h=(m,S={})=>{const T=t(),A={...n.phaseDurationsMs,[n.phase]:Math.max(0,T-n.phaseStartedAtMs)};n=ir({phase:m,attempt:S.attempt??n.attempt,phaseStartedAtMs:T,phaseDurationsMs:A,failure:S.failure===void 0?null:S.failure});for(const k of[...a])try{k(n)}catch(M){d(M)}return n},c=(m,S,T)=>{try{e.reportFailure?.(Object.freeze({failure:m,cause:S,rollbackCause:T}))}catch(A){d(A)}},u=()=>{if(l||r.signal.aborted)throw _t()},g=m=>{if(l||n.phase==="disposed")return Promise.reject(_t());if(n.phase==="ready"||n.phase==="preparing"||n.phase==="committing"||n.phase==="editing"||n.phase==="failed"&&n.failure?.phase!=="warmup")return Promise.resolve();if(o)return o;const S=Promise.resolve().then(async()=>{try{h("warming",m===void 0?{}:{attempt:m}),u(),await e.backend.warmup?.(r.signal),u(),h("ready")}catch(T){if(l||r.signal.aborted)throw T;const A=Be("warmup-failed","warmup",T,!0);throw h("failed",{failure:A}),c(A,T),T}});return o=S,S.finally(()=>{o===S&&(o=null)}).catch(()=>{}),S},E=async()=>{if(l||n.phase==="disposed")return we(n.attempt);if(n.phase==="editing")return Object.freeze({ok:!0,attempt:n.attempt});if(n.phase==="failed"&&n.failure&&!n.failure.recoverable)return Object.freeze({ok:!1,attempt:n.attempt,failure:n.failure});const m=n.attempt+1;try{await g(m)}catch(T){if(l||r.signal.aborted)return we(m);const A=n.failure??Be("warmup-failed","warmup",T,!0);return Object.freeze({ok:!1,attempt:m,failure:A})}if(l)return we(m);h("preparing",{attempt:m});let S;try{S=await e.backend.prepare({signal:r.signal}),u()}catch(T){if(l||r.signal.aborted)return we(m);const A=Be("prepare-failed","prepare",T,!0);return h("failed",{attempt:m,failure:A}),c(A,T),Object.freeze({ok:!1,attempt:m,failure:A})}h("committing",{attempt:m});try{return await e.backend.commit(S,{signal:r.signal}),u(),h("editing",{attempt:m}),Object.freeze({ok:!0,attempt:m})}catch(T){h("rolling-back",{attempt:m});try{await e.backend.rollback(S,T)}catch(k){if(l&&sr(T)&&sr(k))return we(m);const M=st("commit-failed","commit",T),R=st("rollback-failed","rollback",k),U=ct({...R,recoverable:!1,primary:M,rollback:R});return l||h("failed",{attempt:m,failure:U}),c(U,T,k),Object.freeze({ok:!1,attempt:m,failure:U})}if(l||r.signal.aborted)return we(m);const A=Be("commit-failed","commit",T,!0);return h("failed",{attempt:m,failure:A}),c(A,T),Object.freeze({ok:!1,attempt:m,failure:A})}},p=()=>{if(i)return i;const m=E();return i=m,m.finally(()=>{i===m&&(i=null)}).catch(()=>{}),m};return Object.freeze({start:()=>g(),enter:p,retry(){const m=n.failure;return n.phase!=="failed"||!m||m.recoverable?p():Promise.resolve(Object.freeze({ok:!1,attempt:n.attempt,failure:m}))},reset(){if(l||n.phase==="disposed")throw new Error("Disposed editor entry controller cannot be reset.");if(o||i)throw new Error("Editor entry controller cannot be reset during an active operation.");if(n.phase==="failed"&&n.failure&&!n.failure.recoverable)throw new Error("Non-recoverable editor entry failure cannot be reset. Refresh the page.");(n.phase!=="idle"||n.attempt!==0||n.failure)&&h("idle",{attempt:0})},getState:()=>n,subscribe(m){if(l)return()=>{};a.add(m);try{m(n)}catch(S){d(S)}return()=>{a.delete(m)}},dispose(){if(s)return s;l=!0,r.abort();const m=(async()=>{const S=[i,o].filter((T,A,k)=>T!==null&&k.indexOf(T)===A);await Promise.allSettled(S);try{await e.backend.dispose()}finally{n.phase!=="disposed"&&h("disposed"),a.clear()}})();return s=m,m.catch(()=>{s===m&&(s=null)}),m}})}function Be(e,t,r,a){return Ba(r)?ct({...st("reload-required","runtime",r),recoverable:!1}):ct({...st(e,t,r),recoverable:a})}function Ba(e){return e instanceof Error&&e.name==="PlayableEditorEntryReloadRequiredError"}function st(e,t,r){return Object.freeze({code:e,phase:t,message:za(r)})}function ct(e){return Object.freeze({...e,primary:e.primary?Object.freeze({...e.primary}):void 0,rollback:e.rollback?Object.freeze({...e.rollback}):void 0})}function ir(e){return Object.freeze({...e,phaseDurationsMs:Object.freeze({...e.phaseDurationsMs}),failure:e.failure?ct(e.failure):null})}function za(e){return e instanceof Error&&e.message.trim()?e.message:typeof e=="string"&&e.trim()?e:"Unknown editor entry failure."}function sr(e){return e instanceof Error&&e.name==="AbortError"}function _t(){const e=new Error("Editor entry was disposed.");return e.name="AbortError",e}function we(e){return Object.freeze({ok:!1,attempt:e,failure:Be("disposed","dispose",_t(),!1)})}function gs(e){const t=[],r=pn(),a=hn(),n=En(),o=bn(),i=Sn(),s=yn(),l=In(),d=Pn(),h=e.materialShaderDefinitions??An;try{t.push(e.host.registerCommand({manifest:N(j.HIERARCHY_SCOPE_GET),handler:async(c,u)=>{const g=e.sceneAssembly.getHierarchyItems(G(u)),E={scopeKey:"scene",scopeType:"scene",revision:u.session.getState({cloneDocuments:!1}).documentRevision,title:"Scene",readonly:!1,nodes:g.map(m=>({id:m.id,label:m.label,parentId:m.parentId??null,selectable:!0,canHaveChildren:!0,renamable:!0,deletable:!0,draggable:!0})),selectedIds:u.session.getSelection().selectedIds,activeId:u.session.getSelection().activeId,capabilities:{},totalCount:g.length,returnedCount:g.length},p=await r(E,c);return p.ok?{ok:!0,output:p.output}:{ok:!1,diagnostics:[{severity:"error",source:"hierarchy",code:p.code,message:p.message}]}}})),t.push(e.host.registerCommand({manifest:N(j.SCENE_OBJECTS_LIST),handler:async(c,u)=>{const g=u.session.getState({cloneDocuments:!1}),E=g.workingDocument,p=kt(E),m=await a(E.scene.gameObjects.map(S=>$e(S,E,p)),c,g.documentRevision);return m.ok?{ok:!0,output:{objects:m.items,totalCount:m.totalCount,returnedCount:m.returnedCount,...m.nextCursor?{nextCursor:m.nextCursor}:{}}}:be(m)}})),t.push(e.host.registerCommand({manifest:N(j.OBJECT_RESOLVE,{activeId:"objectId"}),handler:(c,u)=>yo(G(u),c)})),t.push(e.host.registerCommand({manifest:N(j.OBJECT_PROPERTIES_GET),handler:(c,u)=>{const g=u.session.getState({cloneDocuments:!1}),E=Tn(g.workingDocument,c,g.documentRevision,e.sceneAssembly.getInspectorObject);return E.ok?E:be(E)}})),t.push(e.host.registerCommand({manifest:N(j.OBJECT_REFERENCES_LIST),handler:async(c,u)=>{const g=u.session.getState({cloneDocuments:!1}),E=await i(g.workingDocument,c,g.documentRevision);return E.ok?E:be(E)}})),t.push(e.host.registerCommand({manifest:N(j.ASSET_LIBRARY_LIST),handler:async(c,u)=>{const g=u.session.getState({cloneDocuments:!1}),E=[...await e.listAssets(g.workingDocument)].map(Rn),p=await n(E,c,vn(g.documentRevision,E));return p.ok?{ok:!0,output:{assets:p.items,totalCount:p.totalCount,returnedCount:p.returnedCount,...p.nextCursor?{nextCursor:p.nextCursor}:{}}}:be(p)}})),t.push(e.host.registerCommand({manifest:N(j.ASSET_INFO_GET),handler:async(c,u)=>{const g=c.assetId.trim(),E=[...await e.listAssets(G(u))].find(p=>p.assetId===g||p.id===g);return E?{ok:!0,output:{asset:wn(E)}}:P("asset.notFound",`Asset was not found: ${g}`)}})),t.push(e.host.registerCommand({manifest:N(j.ASSET_REFERENCES_LIST),handler:async(c,u)=>{const g=u.session.getState({cloneDocuments:!1}),E=await o(g.workingDocument,c,g.documentRevision);return E.ok?E:be(E)}})),t.push(e.host.registerCommand({manifest:N(j.AUTHORING_VALIDATION_LIST),handler:async(c,u)=>{const g=u.session.getState({cloneDocuments:!1}),E=await s(g.workingDocument,c,g.documentRevision);return E.ok?E:be(E)}})),t.push(e.host.registerCommand({manifest:N(j.PREFAB_RESOLVE),handler:async(c,u)=>{const g=u.session.getState({cloneDocuments:!1}),E=await e.listAssets(g.workingDocument),p=g.workingDocument.assets.filter(S=>!!S.prefab).map(S=>Cn(S,E)),m=await l(p,c,g.documentRevision);return m.ok?{ok:!0,output:{prefabs:m.items,resolvedPrefab:m.totalCount===1?m.items[0]??null:null,ambiguous:m.totalCount>1,currentStage:null,totalCount:m.totalCount,returnedCount:m.returnedCount,...m.nextCursor?{nextCursor:m.nextCursor}:{}}}:be(m)}})),t.push(e.host.registerCommand({manifest:N(j.PREFAB_SCENE_GET),handler:async(c,u)=>{const g=u.session.getState({cloneDocuments:!1}),E=await d(g.workingDocument,c,g.documentRevision,{dirty:g.dirty});return E.ok?E:be(E)}})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_ASSETS_LIST),handler:(c,u)=>({ok:!0,output:Va(G(u),c)})})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_ASSET_GET),handler:(c,u)=>Wa(G(u),c.materialAssetId)})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_ASSET_CREATE),handler:(c,u)=>Ka(u,e.sceneAssembly,c,h)})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_ASSET_DUPLICATE),handler:(c,u)=>Ja(u,e.sceneAssembly,c)})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_ASSET_DELETE),handler:(c,u)=>Xa(u,e.sceneAssembly,c)})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_ASSET_RENAME),handler:(c,u)=>Qa(u,e.sceneAssembly,c)})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_ASSET_SET_SHADER),handler:(c,u)=>Za(u,e.sceneAssembly,c,h)})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_SHADER_DEFINITIONS_LIST),handler:c=>({ok:!0,output:qa(h,c)})})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_SHADER_DEFINITION_GET),handler:c=>Ya(h,c.shaderId)})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_REFERENCES_LIST),handler:(c,u)=>to(G(u),c)})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_BINDINGS_LIST),handler:(c,u)=>({ok:!0,output:ft(dt(G(u),c),c.cursor,c.limit)})})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_BINDING_SET),handler:(c,u)=>lr(u,e.sceneAssembly,c.targets,c.materialAssetId)})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_BINDING_CREATE_FROM_SOURCE),handler:(c,u)=>ro(u,e.sceneAssembly,c)})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_BINDING_CLEAR),handler:(c,u)=>lr(u,e.sceneAssembly,c.targets,null)})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_PROPERTIES_GET),handler:(c,u)=>no(G(u),c.materialAssetId,c.includeSchema===!0,h)})),t.push(e.host.registerCommand({manifest:N(j.MATERIAL_PROPERTIES_PATCH),handler:(c,u)=>ao(u,e.sceneAssembly,c,h)})),t.push(e.host.registerCommand({manifest:N(j.OBJECT_CREATE_GROUP),expectedRevisionPolicy:"handler-validated",handler:(c,u)=>mr(u,e.sceneAssembly,c,e.sceneAssembly.createCreateGroupPatch)})),t.push(e.host.registerCommand({manifest:N(j.OBJECT_CREATE_PRIMITIVE),expectedRevisionPolicy:"handler-validated",handler:(c,u)=>mr(u,e.sceneAssembly,c,e.sceneAssembly.createCreatePrimitivePatch)})),t.push(e.host.registerCommand({manifest:N(j.OBJECT_RENAME),expectedRevisionPolicy:"handler-validated",handler:(c,u)=>uo(u,e.sceneAssembly,c)})),t.push(e.host.registerCommand({manifest:N(j.OBJECT_MOVE),expectedRevisionPolicy:"handler-validated",handler:(c,u)=>mo(u,e.sceneAssembly,c)})),t.push(e.host.registerCommand({manifest:N(j.OBJECT_SET_ENABLED),expectedRevisionPolicy:"handler-validated",handler:(c,u)=>po(u,e.sceneAssembly,c)})),t.push(e.host.registerCommand({manifest:N(j.OBJECT_DELETE,{selectedIds:"objectIds"}),expectedRevisionPolicy:"handler-validated",handler:(c,u)=>ho(u,e.sceneAssembly,c)})),t.push(e.host.registerCommand({manifest:N(j.OBJECT_DUPLICATE),expectedRevisionPolicy:"handler-validated",handler:(c,u)=>fo(u,e.sceneAssembly,c)})),t.push(e.host.registerCommand({manifest:N(j.OBJECT_GROUP),expectedRevisionPolicy:"handler-validated",handler:(c,u)=>go(u,e.sceneAssembly,c)})),t.push(e.host.registerCommand({manifest:N(j.OBJECT_PROPERTIES_PATCH_MANY),expectedRevisionPolicy:"handler-validated",handler:(c,u)=>Ao(u,e.sceneAssembly,c)})),t.push(e.host.registerCommand({manifest:N(j.TRANSFORM_MOVE,{activeId:"objectId"}),handler:(c,u)=>{const g=Qe(G(u),c.objectId);if(!g)return P("object.notFound",`Scene object was not found: ${c.objectId}`);const E=c.position??(c.offset?{x:g.position.x+c.offset.x,y:g.position.y+c.offset.y,z:g.position.z+c.offset.z}:null);if(!E)return P("transform.invalidInput","Transform move requires position or offset.");const p=e.sceneAssembly.patchGameObjectField(G(u),c.objectId,"transform.position",E),m=Qe(p,c.objectId);return!m||JSON.stringify(m)===JSON.stringify(g)?P("transform.unchanged",`Transform did not change: ${c.objectId}`):(u.dispatch({type:"document.replace",document:p,label:`Move ${c.objectId}`,projectionImpact:{type:"incremental",syncTransformIds:[c.objectId]}}),{ok:!0,output:{objectId:c.objectId,before:g,after:m,selection:u.session.getSelection()}})}})),t.push(e.host.registerCommand({manifest:N(j.TRANSFORM_SET,{activeId:"objectId"}),expectedRevisionPolicy:"handler-validated",handler:(c,u)=>{const g=G(u),E=Qe(g,c.objectId);if(!E)return P("object.notFound",`Scene object was not found: ${c.objectId}`);const p=u.session.getState({cloneDocuments:!1}).documentRevision,m="changes"in c?c.changes:null,S="changes"in c?null:c,T=m?Ha(m):null;if(T)return P("transform.invalidInput",`Transform changes contain a duplicate path: ${T}.`,{objectId:c.objectId,path:T});if(!m&&!S?.expected&&u.expectedRevision?.document!==p)return P("command.documentRevisionMismatch",`Expected document revision ${u.expectedRevision?.document}, received ${p}.`,{expected:u.expectedRevision?.document,actual:p});const A=m?.filter(w=>!Object.is(cr(E,w.path),w.expected))??[],k=S?["position","rotation","scale"].filter(w=>S.expected?.[w]&&!ze(S.expected[w],E[w])):[];if(A.length>0||k.length>0){const w=A.length>0?A.map(D=>D.path):k.map(D=>`transform.${D}`);return P("authoring.remoteConflict",`Transform changed after the command base revision: ${c.objectId}.`,{objectId:c.objectId,paths:w,expected:A.length>0?Object.fromEntries(A.map(D=>[D.path,D.expected])):Object.fromEntries(k.map(D=>[D,{...S.expected[D]}])),actual:A.length>0?Object.fromEntries(A.map(D=>[D.path,cr(E,D.path)])):Object.fromEntries(k.map(D=>[D,{...E[D]}])),baseDocumentRevision:u.expectedRevision?.document??null,actualDocumentRevision:p})}const M=m?new Set(m.map(w=>w.path)):null,R=m?$a(E,m):{position:S.position?{...S.position}:{...E.position},rotation:S.rotation?{...S.rotation}:{...E.rotation},scale:S.scale?{...S.scale}:{...E.scale}},U=e.sceneAssembly.patchGameObjectTransform(g,c.objectId,{position:R.position,rotation:R.rotation,scale:R.scale}),O=Qe(U,c.objectId);return!O||Ua(O,E)?P("transform.unchanged",`Transform did not change: ${c.objectId}`):(u.dispatch({type:"document.replace",document:U,label:`Set transform on ${c.objectId}`,projectionImpact:{type:"incremental",syncTransformIds:[c.objectId]},presentationImpact:{inspector:["transform"]},authoringPatch:{kind:"fields",writes:["position","rotation","scale"].flatMap(w=>(M||S[w])&&!ze(E[w],O[w])?["x","y","z"].flatMap(D=>M&&!M.has(`transform.${w}.${D}`)||Object.is(E[w][D],O[w][D])?[]:[{targetId:c.objectId,path:`transform.${w}.${D}`,before:E[w][D],after:O[w][D]}]):[])}}),{ok:!0,output:{objectId:c.objectId,before:E,after:O,selection:u.session.getSelection()}})}})),t.push(e.host.registerCommand({manifest:N(j.OBJECT_CREATE_FROM_ASSET),handler:async(c,u)=>{const g=G(u),E=[...await e.listAssets(g)].find(T=>T.assetId===c.assetId);if(!E)return P("asset.notFound",`Asset was not found: ${c.assetId}`);if(!Mn(E))return P("asset.unplaceable",`Asset is not placeable: ${c.assetId}`);const p=e.sceneAssembly.addAssetLibraryItemToDocument(g,E,co(c)),m=e.sceneAssembly.getHierarchyItems(p.document),S=m.findIndex(T=>T.id===p.gameObject.id);return S<0?P("asset.create.invalidResult",`Created asset object is missing from the authoritative hierarchy: ${p.gameObject.id}`):(u.dispatch({type:"document.replace",document:p.document,label:`Create ${p.gameObject.name??p.gameObject.id}`,projectionImpact:{type:"incremental",createdNodeIds:[p.gameObject.id]},presentationImpact:{hierarchy:"full",inspector:"full"}}),u.captureAuthoringPatch({kind:"hierarchy",operations:[{type:"create",node:structuredClone(p.gameObject),index:S,parentId:m[S]?.parentId??null}]}),c.select!==!1&&u.session.dispatch({type:"selection.replace",selectedIds:[p.gameObject.id],activeId:p.gameObject.id,label:"Select Created Item"}),{ok:!0,output:{assetId:c.assetId,createdId:p.gameObject.id,object:$e(p.gameObject,p.document),selection:u.session.getSelection(),focused:!1,status:`Created ${p.gameObject.name??p.gameObject.id}`}})}}))}catch(c){for(const u of t.splice(0).reverse())u();throw c}return()=>{for(const c of t.splice(0).reverse())c()}}function ze(e,t){return Object.is(e.x,t.x)&&Object.is(e.y,t.y)&&Object.is(e.z,t.z)}function Ua(e,t){return ze(e.position,t.position)&&ze(e.rotation,t.rotation)&&ze(e.scale,t.scale)}function xr(e){const[,t,r]=e.split(".");return[t,r]}function cr(e,t){const[r,a]=xr(t);return e[r][a]}function $a(e,t){const r={position:{...e.position},rotation:{...e.rotation},scale:{...e.scale}};for(const a of t){const[n,o]=xr(a.path);r[n][o]=a.value}return r}function Ha(e){const t=new Set;for(const r of e){if(t.has(r.path))return r.path;t.add(r.path)}return null}function Va(e,t){const r=t.query?.trim().toLowerCase()??"",a=t.path?.trim().toLowerCase()??"",n=t.shaderId?.trim()??"",o=(e.scene.materialAssets??[]).map(i=>({id:i.id,name:i.name?.trim()||i.id,shaderId:i.shaderId,...i.definitionVersion!=null?{definitionVersion:i.definitionVersion}:{},properties:structuredClone(i.properties),...i.origin?{origin:structuredClone(i.origin)}:{}})).filter(i=>!n||i.shaderId===n).filter(i=>!r||`${i.name}
|
|
2
|
-
${i.id}`.toLowerCase().includes(r)).filter(i=>!a||JSON.stringify(i.origin??{}).toLowerCase().includes(a)).sort((i,s)=>i.name.localeCompare(s.name)||i.id.localeCompare(s.id));return ft(o,t.cursor,t.limit)}function qa(e,t){const r=t.query?.trim().toLowerCase()??"",a=e.list().map(Gr).filter(n=>t.builtin===void 0||n.builtin===t.builtin).filter(n=>!r||`${n.displayName}
|
|
3
|
-
${n.shaderId}
|
|
4
|
-
${n.runtimeKind}`.toLowerCase().includes(r)).sort((n,o)=>n.displayName.localeCompare(o.displayName)||n.shaderId.localeCompare(o.shaderId));return ft(a,t.cursor,t.limit)}function Ya(e,t){const r=t?.trim(),a=e.get(r);return a?{ok:!0,output:{definition:{...Gr(a),propertiesSchema:structuredClone(a.propertiesSchema),defaultProperties:structuredClone(a.defaultProperties),inspector:structuredClone(a.inspector)}}}:P("material.shaderDefinitionNotFound",`Shader Definition was not found: ${r}`)}function Gr(e){return{shaderId:e.shaderId,version:e.version,runtimeKind:e.runtimeKind,displayName:e.displayName,builtin:Yn(e.shaderId)!==null,...e.sourceFile?{sourceFile:e.sourceFile}:{},sectionCount:e.inspector.sections.length,fieldCount:e.inspector.fields.length}}function Wa(e,t){const r=t?.trim(),a=Y(e,r);return a?{ok:!0,output:{asset:{id:a.id,name:a.name?.trim()||a.id,shaderId:a.shaderId,...a.definitionVersion!=null?{definitionVersion:a.definitionVersion}:{},properties:structuredClone(a.properties),...a.origin?{origin:structuredClone(a.origin)}:{}},referenceCount:Nt(e).filter(n=>n.materialAssetId===r).length}}:P("material.assetNotFound",`Material asset was not found: ${r}`)}function Ka(e,t,r,a){const n=r.shaderId?.trim(),o=a.get(n);if(!o)return P("material.shaderDefinitionNotFound",`Shader Definition was not found: ${n}`);const i=r.name?.trim();if(r.name!==void 0&&!i)return P("material.invalidName","Material name must not be empty.");const s=t.createMaterialAssetCreatePatch({document:e.session.getWorkingDocument(),definition:o,...i?{name:i}:{}});if(!s?.createdId)return P("material.assetMutationUnavailable","Material Asset creation is unavailable.");const l=e.session.getState({cloneDocuments:!1}).documentRevision;Ve(e,s);const d=Y(e.session.getWorkingDocument(),s.createdId);return Ne(e,null,ue(d)),{ok:!0,output:{asset:ye(d),changed:e.session.getState({cloneDocuments:!1}).documentRevision!==l,revision:e.session.getState({cloneDocuments:!1}).documentRevision}}}function Ja(e,t,r){const a=e.session.getWorkingDocument(),n=r.materialAssetId?.trim();if(!Y(a,n))return P("material.assetNotFound",`Material asset was not found: ${n}`);const i=t.createMaterialAssetDuplicatePatch({document:a,materialAssetId:n});if(!i?.createdId)return P("material.assetMutationUnavailable","Material Asset duplication is unavailable.");const s=e.session.getState({cloneDocuments:!1}).documentRevision;Ve(e,i);const l=Y(e.session.getWorkingDocument(),i.createdId);if(!l)throw new Error(`Duplicated Material Asset is missing after the reducer: ${i.createdId}.`);return Ne(e,null,ue(l)),{ok:!0,output:{sourceMaterialAssetId:n,asset:ye(l),changed:e.session.getState({cloneDocuments:!1}).documentRevision!==s,revision:e.session.getState({cloneDocuments:!1}).documentRevision}}}function Xa(e,t,r){const a=e.session.getWorkingDocument(),n=r.materialAssetId?.trim(),o=Y(a,n);if(!o)return P("material.assetNotFound",`Material asset was not found: ${n}`);const i=Nt(a).filter(d=>d.materialAssetId===n);if(i.length>0)return P("material.assetInUse",`Material asset is still referenced: ${n}`,{materialAssetId:n,referenceCount:i.length});const s=t.createMaterialAssetDeletePatch({document:a,materialAssetId:n});if(!s)return P("material.assetReadonly",`Material asset cannot be deleted: ${n}`);const l=e.session.getState({cloneDocuments:!1}).documentRevision;if(Ve(e,s),Y(e.session.getWorkingDocument(),n))throw new Error(`Deleted Material Asset is still present after the reducer: ${n}.`);return Ne(e,ue(o),null),{ok:!0,output:{materialAssetId:n,changed:e.session.getState({cloneDocuments:!1}).documentRevision!==l,revision:e.session.getState({cloneDocuments:!1}).documentRevision}}}function Qa(e,t,r){const a=e.session.getWorkingDocument(),n=r.materialAssetId?.trim(),o=Y(a,n);if(!o)return P("material.assetNotFound",`Material asset was not found: ${n}`);const i=r.name?.trim();if(!i)return P("material.invalidName","Material name must not be empty.");const s=(a.scene.materialAssets??[]).find(c=>c.id!==n&&c.name?.trim().toLocaleLowerCase()===i.toLocaleLowerCase());if(s)return P("material.nameConflict",`A Material Asset named "${i}" already exists.`,{materialAssetId:n,conflictingMaterialAssetId:s.id,name:i});if(o.name===i)return{ok:!0,output:{asset:ye(o),changed:!1,revision:e.session.getState({cloneDocuments:!1}).documentRevision}};const l=t.createMaterialAssetRenamePatch({document:a,materialAssetId:n,name:i});if(!l)return P("material.assetReadonly",`Material asset is read-only: ${n}`);const d=e.session.getState({cloneDocuments:!1}).documentRevision;Ve(e,l);const h=Y(e.session.getWorkingDocument(),n);return Ne(e,ue(o),ue(h),l.changedIds??l.reprojectIds??[]),{ok:!0,output:{asset:ye(h),changed:e.session.getState({cloneDocuments:!1}).documentRevision!==d,revision:e.session.getState({cloneDocuments:!1}).documentRevision}}}function Za(e,t,r,a){const n=e.session.getWorkingDocument(),o=r.materialAssetId?.trim(),i=Y(n,o);if(!i)return P("material.assetNotFound",`Material asset was not found: ${o}`);const s=r.shaderId?.trim(),l=a.get(s);if(!l)return P("material.shaderDefinitionNotFound",`Shader Definition was not found: ${s}`);if(i.shaderId===s)return{ok:!0,output:{asset:ye(i),previousShaderId:i.shaderId,changed:!1,revision:e.session.getState({cloneDocuments:!1}).documentRevision,preservedPaths:[],resetPaths:[]}};const d=t.createMaterialAssetSetShaderPatch({document:n,materialAssetId:o,definition:l});if(!d)return P("material.assetReadonly",`Material asset is read-only: ${o}`);if((d.resetPaths?.length??0)>0&&r.allowReset!==!0)return P("material.shaderChangeRequiresConfirmation",`Changing to ${l.displayName} resets ${d.resetPaths.length} incompatible material properties.`,{materialAssetId:o,previousShaderId:i.shaderId,shaderId:s,preservedPaths:d.preservedPaths??[],resetPaths:d.resetPaths??[]});const h=e.session.getState({cloneDocuments:!1}).documentRevision;Ve(e,d);const c=Y(e.session.getWorkingDocument(),o);return Ne(e,ue(i),ue(c),d.changedIds??d.reprojectIds??[]),{ok:!0,output:{asset:ye(c),previousShaderId:i.shaderId,changed:e.session.getState({cloneDocuments:!1}).documentRevision!==h,revision:e.session.getState({cloneDocuments:!1}).documentRevision,preservedPaths:d.preservedPaths??[],resetPaths:d.resetPaths??[]}}}function Ve(e,t){e.dispatch({type:"document.patch",patch:t.patch,label:t.label,...t.reprojectIds?.length?{projectionImpact:{type:"incremental",reprojectIds:t.reprojectIds}}:{},...t.presentationImpact?{presentationImpact:t.presentationImpact}:{}})}function Ne(e,t,r,a=[]){const n={kind:"material",operations:[{type:"asset-update",materialAssetId:typeof r?.id=="string"?r.id:typeof t?.id=="string"?t.id:"",before:t,after:r,affectedNodeIds:[...new Set(a.filter(o=>o.trim().length>0))]}]};e.captureAuthoringPatch(n)}function ue(e){return JSON.parse(JSON.stringify(ye(e)))}function eo(e,t){const r={kind:"material",operations:[{type:"binding-update",scope:t.scope,targetId:t.targetId,...t.containerId?{containerId:t.containerId}:{},...t.slotId?{slotId:t.slotId}:{},before:t.before,after:t.after,affectedNodeIds:[...new Set((t.affectedNodeIds??[]).filter(a=>a.trim().length>0))]}]};e.captureAuthoringPatch(r)}function ye(e){return{id:e.id,name:e.name?.trim()||e.id,shaderId:e.shaderId,...e.definitionVersion!=null?{definitionVersion:e.definitionVersion}:{},properties:structuredClone(e.properties),...e.origin?{origin:structuredClone(e.origin)}:{}}}function to(e,t){const r=t.materialAssetId?.trim();if(!Y(e,r))return P("material.assetNotFound",`Material asset was not found: ${r}`);const a=Nt(e).filter(n=>n.materialAssetId===r).filter(n=>!t.scope||n.scope===t.scope).map(n=>({scope:n.scope,kind:n.kind,materialAssetId:n.materialAssetId,...n.scope==="scene"?{objectId:n.gameObjectId}:{},...n.gameObjectName?{objectName:n.gameObjectName}:{},...n.prefabAssetId?{prefabAssetId:n.prefabAssetId}:{},...n.prefabNodeId?{nodeId:n.prefabNodeId}:{},...n.slotId?{slotId:n.slotId}:{},bindingPath:n.bindingPath,label:n.label})).sort((n,o)=>ge(n).localeCompare(ge(o)));return{ok:!0,output:{materialAssetId:r,...ft(a,t.cursor,t.limit)}}}function dt(e,t){const r=t.scope==="prefab"?[]:e.scene.gameObjects.filter(n=>!t.objectId||n.id===t.objectId).flatMap(n=>{const o=_r(e,n),i=Nn(e,n.id)??n.overrides;return o.length===0?[lt({scope:"scene",objectId:n.id},n.overrides?.materialBinding,i?.materialBinding,i!==n.overrides?"prefab-root":"default","overrides.materialBinding.materialAssetId")]:o.map(s=>lt({scope:"scene",objectId:n.id,slotId:s.slotId},n.overrides?.materialSlotBindings?.[s.slotId],i?.materialSlotBindings?.[s.slotId],i!==n.overrides?"prefab-root":"glb-source",`overrides.materialSlotBindings.${s.slotId}.materialAssetId`))}),a=t.scope==="scene"?[]:e.assets.filter(n=>n.type==="prefab"&&!!n.prefab).filter(n=>!t.prefabAssetId||n.id===t.prefabAssetId).flatMap(n=>{const o=t.nodeId?[]:dr(e,n,null,n.prefab.overrides,void 0),i=kn(n),s=(n.prefab?.nodes??[]).filter(l=>l.id!==i).filter(l=>!t.nodeId||l.id===t.nodeId).flatMap(l=>dr(e,n,l,l.overrides,n.prefab.overrides));return[...o,...s]});return[...r,...a].sort((n,o)=>ge(n.target).localeCompare(ge(o.target)))}function dr(e,t,r,a,n){const o=io(e,t,r),i={scope:"prefab",prefabAssetId:t.id,...r?{nodeId:r.id}:{}};return o.length===0?[lt(i,a?.materialBinding,a?.materialBinding??n?.materialBinding,n?.materialBinding?"prefab-root":"default","overrides.materialBinding.materialAssetId")]:o.map(s=>lt({...i,slotId:s},a?.materialSlotBindings?.[s],a?.materialSlotBindings?.[s]??n?.materialSlotBindings?.[s],n?.materialSlotBindings?.[s]?"prefab-root":"glb-source",`overrides.materialSlotBindings.${s}.materialAssetId`))}function lt(e,t,r,a,n){const o=ur(t?.materialAssetId),i=ur(r?.materialAssetId),s=o?"authored":i?a:e.slotId?"glb-source":"default";return{target:e,kind:e.slotId?"slot":"root",bindingPath:n,authoredMaterialAssetId:o,effectiveMaterialAssetId:i??(s==="glb-source"?null:Wn),resolvedSource:s}}function lr(e,t,r,a){const n=G(e),o=a?.trim()||null;if(o&&!Y(n,o))return P("material.assetNotFound",`Material asset was not found: ${o}`);const i=oo(r);if(!i.ok)return i.failure;const s=new Map(dt(n,{}).map(p=>[ge(p.target),p])),l=i.targets.map(p=>s.get(ge(p)));if(l.some(p=>!p))return P("material.invalidTarget","One or more material binding targets do not exist or require a logical slotId.");const d=l,c=i.targets[0].scope==="scene"?t.createSceneMaterialBindingPatch({document:n,materialAssetId:o,targets:l.map(p=>({objectId:p.target.objectId,path:p.bindingPath}))}):t.createPrefabMaterialBindingPatch({document:n,materialAssetId:o,targets:l.map(p=>({prefabAssetId:p.target.prefabAssetId,...p.target.nodeId?{nodeId:p.target.nodeId}:{},path:p.bindingPath}))});if(!c)return P("material.patchUnavailable","Material binding preflight rejected the atomic patch.");e.dispatch({type:"document.patch",patch:c.patch,label:c.label,...c.reprojectIds?.length?{projectionImpact:{type:"incremental",reprojectIds:c.reprojectIds}}:{},...c.presentationImpact?{presentationImpact:c.presentationImpact}:{}});const u=G(e),g=new Map(dt(u,{}).map(p=>[ge(p.target),p])),E=i.targets.map(p=>g.get(ge(p)));return i.targets.forEach((p,m)=>{const S=d[m],T=E[m];eo(e,{scope:p.scope,targetId:p.scope==="scene"?p.objectId:p.nodeId??p.prefabAssetId,...p.scope==="prefab"&&p.prefabAssetId?{containerId:p.prefabAssetId}:{},...p.slotId?{slotId:p.slotId}:{},before:S.authoredMaterialAssetId??null,after:T.authoredMaterialAssetId??null,affectedNodeIds:c.reprojectIds??[]})}),{ok:!0,output:{changed:E.some((p,m)=>JSON.stringify(p)!==JSON.stringify(d[m])),changedCount:E.filter((p,m)=>JSON.stringify(p)!==JSON.stringify(d[m])).length,revision:e.session.getState({cloneDocuments:!1}).documentRevision,bindings:E}}}function ro(e,t,r){const a=G(e),n=r.objectId?.trim(),o=r.slotId?.trim();if(!n||!o)return P("material.invalidTarget","Material source creation requires a Scene objectId and slotId.");const i=a.scene.gameObjects.find(A=>A.id===n);if(!i)return P("material.invalidTarget",`Scene object was not found: ${n}`);if(i.overrides?.materialSlotBindings?.[o]?.materialAssetId)return P("material.bindingAlreadyAuthored",`Material slot already has an authored binding: ${o}`);const s=_r(a,i).find(A=>A.slotId===o);if(!s)return P("material.invalidTarget",`Material slot was not found: ${o}`);const l=Ln(s)[0];if(l==null)return P("material.sourceProfileUnavailable",`Material slot has no GLB source material: ${o}`);const d=xn(s,l)?.profile;if(!d)return P("material.sourceProfileUnavailable",`Material slot has no usable GLB source profile: ${o}`);const h=Gn(s),c=Fn(i),u=c?a.assets.find(A=>A.id===c.assetId)??null:null,g=t.createMaterialAssetCreateFromSourceAndBindPatch;if(!g)return P("material.sourceCreateUnavailable","Material source creation is unavailable for this project assembly.");const E=g({document:a,gameObject:i,bindingPath:h,profile:d,sourceAsset:u,sourceSlotId:o,sourceMaterialIndex:l,sourceMaterialName:Bn(s,l)??void 0});if(!E?.createdId)return P("material.sourceCreateUnavailable","Material source creation preflight rejected the atomic patch.");const p=e.session.getState({cloneDocuments:!1}).documentRevision;e.dispatch({type:"document.patch",patch:E.patch,label:E.label,projectionImpact:{type:"incremental",reprojectIds:E.reprojectIds??[n]},...E.presentationImpact?{presentationImpact:E.presentationImpact}:{}});const m=G(e),S=Y(m,E.createdId),T=dt(m,{scope:"scene",objectId:n}).find(A=>A.target.slotId===o);if(!S||!T||T.authoredMaterialAssetId!==E.createdId)throw new Error("Created Material Asset or its authoritative binding is missing after the reducer.");return e.captureAuthoringPatch({kind:"material",operations:[{type:"asset-update",materialAssetId:E.createdId,before:null,after:ue(S),affectedNodeIds:[n]},{type:"binding-update",scope:"scene",targetId:n,slotId:o,before:null,after:E.createdId,affectedNodeIds:[n]}]}),{ok:!0,output:{asset:ye(S),binding:T,changed:e.session.getState({cloneDocuments:!1}).documentRevision!==p,revision:e.session.getState({cloneDocuments:!1}).documentRevision}}}function no(e,t,r,a){const n=t?.trim(),o=Y(e,n),i=o?zn(o.shaderId,a):null;return o?i?{ok:!0,output:{materialAssetId:n,shaderId:o.shaderId,properties:structuredClone(o.properties),defaults:structuredClone(i.defaultProperties),...r?{schema:structuredClone(i.propertiesSchema)}:{}}}:P("material.shaderUnsupported",`Unsupported material shader: ${o.shaderId}`):P("material.assetNotFound",`Material asset was not found: ${n}`)}function ao(e,t,r,a){const n=G(e),o=r.materialAssetId?.trim(),i=Y(n,o);if(!i)return P("material.assetNotFound",`Material asset was not found: ${o}`);const s=new Set,l=[];for(const c of r.changes??[]){const u=so(c.path),g=Un(i.shaderId,u,a),E=Object.prototype.hasOwnProperty.call(c,"value"),p=c.reset===!0;if(!u||s.has(u)||!g||g.kind==="object"||E===p)return P("material.invalidPropertyPatch",`Invalid material property change: ${c.path}`);const m=p?$n(i.shaderId,u,a):{found:!0,value:c.value};if(!m.found)return P("material.invalidPropertyPatch",`Material property cannot be reset: ${u}`);s.add(u),l.push({path:u,value:m.value})}const d=t.createMaterialPropertiesPatch({document:n,materialAssetId:o,changes:l});if(!d)return P("material.invalidPropertyPatch","Material property preflight rejected the atomic patch.");e.dispatch({type:"document.patch",patch:d.patch,label:d.label,...d.reprojectIds?.length?{projectionImpact:{type:"incremental",reprojectIds:d.reprojectIds}}:{}});const h=Y(G(e),o);return Ne(e,ue(i),ue(h),d.reprojectIds??[]),{ok:!0,output:{materialAssetId:o,shaderId:h.shaderId,changed:JSON.stringify(i.properties)!==JSON.stringify(h.properties),changedPaths:JSON.stringify(i.properties)!==JSON.stringify(h.properties)?[...s]:[],revision:e.session.getState({cloneDocuments:!1}).documentRevision,properties:structuredClone(h.properties)}}}function oo(e){if(!Array.isArray(e)||e.length===0)return{ok:!1,failure:P("material.invalidTarget","At least one material target is required.")};const t=new Set,r=[];for(const a of e){const n=a.scope,o=a.objectId?.trim(),i=a.prefabAssetId?.trim(),s=a.nodeId?.trim(),l=a.slotId?.trim();if(n==="scene"&&(!o||i||s)||n==="prefab"&&(!i||o)||n!=="scene"&&n!=="prefab")return{ok:!1,failure:P("material.invalidTarget","Material target identity is invalid.")};const d={scope:n,...o?{objectId:o}:{},...i?{prefabAssetId:i}:{},...s?{nodeId:s}:{},...l?{slotId:l}:{}},h=ge(d);if(t.has(h))return{ok:!1,failure:P("material.invalidTarget","Duplicate material target.")};t.add(h),r.push(d)}return new Set(r.map(a=>a.scope)).size!==1?{ok:!1,failure:P("material.invalidTarget","Scene and Prefab targets cannot be mixed.")}:r[0].scope==="prefab"&&new Set(r.map(a=>a.prefabAssetId)).size!==1?{ok:!1,failure:P("material.invalidTarget","One atomic command must target one Prefab asset.")}:{ok:!0,targets:r}}function io(e,t,r){const a=r?.sourceAssetId??t.prefab?.sourceAssetId,n=e.assets.find(i=>i.id===a);return(Array.isArray(n?.metadata?.materialSlots)?n.metadata.materialSlots:[]).map(Qn).filter(i=>!!i?.slotId).map(i=>i.slotId)}function ft(e,t,r){const a=t?/^offset:(\d+)$/.exec(t.trim()):null,n=a?Number(a[1]):0,o=Number.isSafeInteger(r)?Math.max(1,Math.min(200,Number(r))):50,i=e.slice(n,n+o),s=n+i.length;return{items:i,total:e.length,...s<e.length?{nextCursor:`offset:${s}`}:{}}}function ge(e){return[e.scope??"",e.objectId??"",e.prefabAssetId??"",e.nodeId??"",e.slotId??""].join("\0")}function so(e){const t=typeof e=="string"?e.trim():"";return t&&!t.startsWith("properties.")?`properties.${t}`:t}function ur(e){return typeof e=="string"&&e.trim()?e.trim():null}function co(e){if(!(!e.position&&!e.rotation&&!e.scale))return{position:e.position??{x:0,y:0,z:0},rotation:e.rotation??{x:0,y:0,z:0},scale:e.scale??{x:1,y:1,z:1}}}function mr(e,t,r,a){const n=G(e),o=typeof r.parentId=="string"?r.parentId:typeof r.activeId=="string"?r.activeId:null;return o&&!t.getHierarchyItems(n).some(i=>i.id===o)?Ue(o,["exists"],{exists:!0},{exists:!1}):r.objectId&&t.getHierarchyItems(n).some(i=>i.id===r.objectId)?Ue(r.objectId,["exists"],{exists:!1},{exists:!0}):lo(e,t,a(n,r))}function lo(e,t,r){if(!r?.createdId)return P("command.unavailable","The requested Hierarchy create operation is unavailable.");const a=So(r);e.dispatch({type:"document.patch",patch:r.patch,label:r.label,...a?{projectionImpact:a}:{},presentationImpact:{hierarchy:"full",inspector:"full"}});const n=G(e),o=n.scene.gameObjects.find(l=>l.id===r.createdId),i=t.getHierarchyItems(n),s=i.findIndex(l=>l.id===r.createdId);if(!o||s<0)throw new Error(`Created Hierarchy node is missing after the authoritative reducer: ${r.createdId}.`);return e.captureAuthoringPatch({kind:"hierarchy",operations:[{type:"create",node:structuredClone(o),index:s,parentId:i[s]?.parentId??null}]}),{ok:!0,output:{createdId:r.createdId,object:$e(o,n),selection:e.session.getSelection()}}}function uo(e,t,r){const a=G(e),n=a.scene.gameObjects.find(d=>d.id===r.objectId);if(!n)return P("object.notFound",`Scene object was not found: ${r.objectId}`);const o=n.name??n.id;if(o!==r.expectedName)return Ue(r.objectId,["name"],{name:r.expectedName},{name:o});const i=t.createRenamePatch(a,{id:r.objectId,name:r.name});if(!i)return P("object.rename.unchanged",`Rename did not change: ${r.objectId}`);e.dispatch({type:"document.patch",patch:i.patch,label:i.label,projectionImpact:{type:"incremental",syncMetadataIds:[r.objectId]},presentationImpact:{hierarchy:{labelIds:[r.objectId]},inspector:["summary"]}});const s=G(e).scene.gameObjects.find(d=>d.id===r.objectId),l=s?.name??s?.id;if(!l||l===o)throw new Error(`Rename reducer did not converge: ${r.objectId}.`);return e.captureAuthoringPatch({kind:"hierarchy",operations:[{type:"rename",targetId:r.objectId,before:o,after:l}]}),{ok:!0,output:{objectId:r.objectId,before:o,after:l}}}function mo(e,t,r){const a=G(e),n=gt(t,a,r.expectedNodes);if(n)return n;const o={ids:[...r.objectIds],targetId:r.targetId??null,placement:r.placement,...r.parentId!==void 0?{parentId:r.parentId}:{},...r.beforeId!==void 0?{beforeId:r.beforeId}:{},...r.afterId!==void 0?{afterId:r.afterId}:{},preserveWorldTransform:r.preserveWorldTransform!==!1},i=t.validateHierarchyMove(a,o);if(!i.ok)return P("object.move.rejected",i.reason??"Hierarchy move was rejected.");const s=t.createHierarchyMovePatch(a,o);if(!s)return P("object.move.unchanged","Hierarchy move did not change the document.");e.dispatch({type:"document.patch",patch:s.patch,label:s.label,projectionImpact:{type:"incremental",syncTransformIds:s.changedIds??[...r.objectIds]},presentationImpact:{hierarchy:"full",inspector:["transform"]}});const l=G(e),d=s.changedIds??[...r.objectIds],h=Fr(a,l,d,t.getHierarchyItems(a),t.getHierarchyItems(l));if(h.moves.length===0)throw new Error("Hierarchy move reducer produced no canonical changes.");return e.captureAuthoringPatch({kind:"hierarchy",operations:[h]}),{ok:!0,output:{movedIds:d}}}function fo(e,t,r){const a=G(e),n=gt(t,a,r.expectedNodes);if(n)return n;const o=t.createDuplicateSelectionPatch({document:a,targetIds:[...r.objectIds],activeId:r.activeId??null});if(!o||o.createdIds.length===0)return P("object.duplicate.rejected","Hierarchy duplicate was rejected.");e.dispatch({type:"document.patch",patch:o.patch,label:o.label,projectionImpact:{type:"incremental",createdNodeIds:[...o.createdIds]},presentationImpact:{hierarchy:"full",inspector:"full"}});const i=G(e),s=t.getHierarchyItems(i),l=o.createdIds.map(c=>{const u=i.scene.gameObjects.find(E=>E.id===c),g=s.findIndex(E=>E.id===c);if(!u||g<0)throw new Error(`Duplicated Hierarchy node is missing after the reducer: ${c}.`);return{type:"create",node:structuredClone(u),index:g,parentId:s[g]?.parentId??null}}).sort((c,u)=>c.index-u.index);e.captureAuthoringPatch({kind:"hierarchy",operations:l});const d=o.selectedIds?.length?[...o.selectedIds]:[...o.createdIds],h=o.activeId&&d.includes(o.activeId)?o.activeId:d[d.length-1]??null;return d.length>0&&e.session.dispatch({type:"selection.replace",selectedIds:d,activeId:h,label:"Select Duplicated Nodes"}),{ok:!0,output:{createdIds:[...o.createdIds],selectedIds:d,activeId:h,selection:e.session.getSelection()}}}function go(e,t,r){const a=G(e),n=gt(t,a,r.expectedNodes);if(n)return n;const o={ids:[...r.objectIds],name:r.name,pivot:"selection-center",preserveWorldTransform:r.preserveWorldTransform!==!1,...r.parentId!==void 0?{parentId:r.parentId}:{},...r.insertBeforeId!==void 0?{insertBeforeId:r.insertBeforeId}:{}},i=t.validateGroupSelection(a,o);if(!i.ok)return P("object.group.rejected",i.reason??"Hierarchy group was rejected.");const s=t.createGroupSelectionPatch(a,o);if(!s?.createdId)return P("object.group.rejected","Hierarchy group was rejected.");const l=t.getHierarchyItems(a);e.dispatch({type:"document.patch",patch:s.patch,label:s.label,projectionImpact:{type:"incremental",createdNodeIds:[s.createdId],syncTransformIds:s.changedIds?.filter(m=>m!==s.createdId)??[...r.objectIds]},presentationImpact:{hierarchy:"full",inspector:"full"}});const d=G(e),h=t.getHierarchyItems(d),c=d.scene.gameObjects.find(m=>m.id===s.createdId),u=h.findIndex(m=>m.id===s.createdId);if(!c||u<0)throw new Error(`Grouped Hierarchy parent is missing after the reducer: ${s.createdId}.`);const g=[...l];g.splice(Math.min(u,g.length),0,h[u]);const E=(s.changedIds??[...r.objectIds]).filter(m=>m!==s.createdId),p=Fr(a,d,E,g,h);if(p.moves.length===0)throw new Error("Hierarchy group reducer produced no canonical moves.");return e.captureAuthoringPatch({kind:"hierarchy",operations:[{type:"create",node:structuredClone(c),index:u,parentId:h[u]?.parentId??null},p]}),e.session.dispatch({type:"selection.replace",selectedIds:[s.createdId],activeId:s.createdId,label:"Select Created Parent"}),{ok:!0,output:{createdId:s.createdId,movedIds:E,selection:e.session.getSelection()}}}function po(e,t,r){const a=G(e),n=a.scene.gameObjects.find(d=>d.id===r.objectId);if(!n)return P("object.notFound",`Scene object was not found: ${r.objectId}`);const o=n.active!==!1;if(o!==r.expectedEnabled)return Ue(r.objectId,["enabled"],{enabled:r.expectedEnabled},{enabled:o});const i=t.patchGameObjectField(a,r.objectId,"enabled",r.enabled),l=i.scene.gameObjects.find(d=>d.id===r.objectId)?.active!==!1;return i===a||l===o?P("object.enabled.unchanged",`Enabled state did not change: ${r.objectId}`):(e.dispatch({type:"document.replace",document:i,label:`${r.enabled?"Enable":"Disable"} ${r.objectId}`,projectionImpact:{type:"incremental",syncAppearanceIds:[r.objectId]},presentationImpact:{hierarchy:"full",inspector:["summary"]}}),e.captureAuthoringPatch({kind:"hierarchy",operations:[{type:"set-enabled",targetId:r.objectId,before:o,after:l}]}),{ok:!0,output:{objectId:r.objectId,before:o,after:l}})}function ho(e,t,r){const a=G(e);if(r.expectedNodes){const d=gt(t,a,r.expectedNodes);if(d)return d}else{const d=e.session.getState({cloneDocuments:!1}).documentRevision;if(e.expectedRevision?.document!==d)return P("command.documentRevisionMismatch",`Expected document revision ${e.expectedRevision?.document}, received ${d}.`,{expected:e.expectedRevision?.document,actual:d})}const n=r.objectIds??(r.objectId?[r.objectId]:[]),o=t.createDeleteSubtreePatch(a,{ids:n});if(!o)return P("command.unavailable","Hierarchy delete was rejected.");const i=o.deletedIds??n,s=t.getHierarchyItems(a),l=i.map(d=>{const h=a.scene.gameObjects.find(u=>u.id===d),c=s.findIndex(u=>u.id===d);if(!h||c<0)throw new Error(`Deleted Hierarchy node is missing from the command base: ${d}.`);return{node:structuredClone(h),index:c,parentId:s.find(u=>u.id===d)?.parentId??null}});return e.dispatch({type:"document.patch",patch:o.patch,label:o.label,projectionImpact:{type:"incremental",deletedNodeIds:i},presentationImpact:{hierarchy:"full",inspector:"full"}}),e.captureAuthoringPatch({kind:"hierarchy",operations:[{type:"delete",nodes:l}]}),{ok:!0,output:{deletedIds:i,fallbackSelectionId:e.session.getSelection().activeId,selection:e.session.getSelection()}}}function gt(e,t,r){const a=e.getHierarchyItems(t),n=r.map(i=>Eo(a,i.objectId)),o=r.flatMap((i,s)=>bo(i,n[s])?[]:[i.objectId]);return o.length===0?null:Ue(o[0],["parentId","previousSiblingId","nextSiblingId"],{nodes:r},{nodes:n})}function Eo(e,t){const r=e.find(i=>i.id===t);if(!r)return null;const a=r.parentId??null,n=e.filter(i=>(i.parentId??null)===a),o=n.findIndex(i=>i.id===t);return{objectId:t,parentId:a,previousSiblingId:o>0?n[o-1].id:null,nextSiblingId:o>=0&&o+1<n.length?n[o+1].id:null}}function bo(e,t){return!!t&&e.objectId===t.objectId&&e.parentId===t.parentId&&e.previousSiblingId===t.previousSiblingId&&e.nextSiblingId===t.nextSiblingId}function Ue(e,t,r,a){return P("authoring.remoteConflict",`Hierarchy changed after the command base revision: ${e}.`,{objectId:e,paths:t,expected:r,actual:a})}function Fr(e,t,r,a,n){return{type:"move",moves:r.flatMap(i=>{const s=a.findIndex(g=>g.id===i),l=n.findIndex(g=>g.id===i),d=e.scene.gameObjects.find(g=>g.id===i),h=t.scene.gameObjects.find(g=>g.id===i);if(!d||!h||s<0||l<0)return[];const c=d.components.find(g=>g.type==="Transform")??null,u=h.components.find(g=>g.type==="Transform")??null;return d.parentId===h.parentId&&s===l&&JSON.stringify(c)===JSON.stringify(u)?[]:[{targetId:i,beforeParentId:a.find(g=>g.id===i)?.parentId??null,afterParentId:n.find(g=>g.id===i)?.parentId??null,beforeIndex:s,afterIndex:l,beforeTransform:structuredClone(c),afterTransform:structuredClone(u)}]})}}function So(e){const t=e.createdId?[e.createdId]:[],r=e.deletedIds??[];let a=[];if(e.reprojectIds?.length){const n=new Set([...t,...r]);a=e.reprojectIds.filter(o=>!n.has(o))}if(!(t.length===0&&r.length===0&&a.length===0))return{type:"incremental",...t.length?{createdNodeIds:t}:{},...r.length?{deletedNodeIds:r}:{},...a.length?{reprojectIds:a}:{}}}function yo(e,t){const r=t.objectId??t.name??t.path??t.query??"",a=r.trim().toLocaleLowerCase(),n=e.scene.gameObjects.find(s=>s.id===r),o=n?[n]:e.scene.gameObjects.filter(s=>s.name?.trim().toLocaleLowerCase()===a||s.id.toLocaleLowerCase().includes(a)),i=kt(e);return{ok:!0,output:{objects:o.map(s=>$e(s,e,i)),resolvedObject:o.length===1?$e(o[0],e,i):null,ambiguous:o.length>1}}}function $e(e,t,r=kt(t)){const a=Io(e);return{id:e.id,label:e.name??e.id,name:e.name??e.id,type:Dr(e),...a?{sourceAssetId:a}:{},path:Po(r,e),parentId:e.parentId??null,selectable:!0,locked:!1}}function Io(e){return e.components.find(r=>r.type==="ModelRenderer"||r.type==="ImageRenderer")?.assetId||e.prefab?.sourceAssetId||e.prefab?.prefabId}function kt(e){return new Map(e.scene.gameObjects.map(t=>[t.id,t]))}function Po(e,t){const r=[],a=new Set;let n=t;for(;n&&!a.has(n.id);)a.add(n.id),r.push(n.name??n.id),n=n.parentId?e.get(n.parentId):void 0;return r.reverse().join("/")}function Ao(e,t,r){const a=G(e),n=new Map(a.scene.gameObjects.map(m=>[m.id,m])),o=new Map,i=new Map,s=new Set,l=Kn({hasMaterialAsset:(m,S)=>!!Y(m,S),isMarkerGameObject:m=>!!m.marker});let d=0;const h=e.session.getState({cloneDocuments:!1}).documentRevision;if(!r.targets.every(m=>m.changes.every(S=>Object.prototype.hasOwnProperty.call(S,"expected")))&&e.expectedRevision?.document!==h)return P("command.documentRevisionMismatch",`Expected document revision ${e.expectedRevision?.document}, received ${h}.`,{expected:e.expectedRevision?.document,actual:h});for(const m of r.targets){const S=m.objectId.trim(),T=n.get(S);if(!T)return P("object.notFound",`Scene object was not found: ${S}`);const A=new Map((t.getInspectorObject(a,S)?.sections??[]).flatMap(M=>M.properties).map(M=>[M.path,M])),k=o.get(S)??[];for(const M of m.changes){const R=M.path.trim(),U=`${S}\0${R}`;if(s.has(U))return P("object.properties.duplicateField",`Object property is duplicated: ${S}.${R}`);if(s.add(U),(R==="shadow.cast"||R==="shadow.receive")&&!Hn(T))return P("object.properties.readOnly",`Shadow participation is readonly for this target: ${S}.`);const O=A.get(R),w=Object.prototype.hasOwnProperty.call(M,"expected");if(w&&!O)return P("object.properties.unsupportedPath",`Inspector schema does not expose a field precondition path: ${S}.${R}`);const D=It(O?.value);if(w&&!ut(M.expected,D))return P("authoring.remoteConflict",`Object properties changed after the command base revision: ${S}.`,{objectId:S,paths:[R],expected:{[R]:It(M.expected)},actual:{[R]:D},baseDocumentRevision:e.expectedRevision.document,actualDocumentRevision:h});const K=O?.coerce?O.coerce(M.value):Vn(R,M.value),$=O?.validate?.(K)??qn({document:a,path:R,nodeKind:Dr(T),value:K,extraValidators:[l]});if(!$.ok)return P("object.properties.invalid",`${$.message??`Invalid object property: ${R}.`} Target: ${S}.`);O&&i.set(U,D),k.push({path:R,value:K}),d+=1}o.set(S,k)}const u=[...o].map(([m,S])=>({objectId:m,changes:S})),g=t.patchGameObjectPropertiesMany(a,u),E=new Map(g.scene.gameObjects.map(m=>[m.id,m])),p=u.map(m=>m.objectId).filter(m=>E.get(m)!==n.get(m));if(g!==a){const m=u.flatMap(R=>{const U=new Map((t.getInspectorObject(g,R.objectId)?.sections??[]).flatMap(O=>O.properties).map(O=>[O.path,O]));return R.changes.flatMap(O=>{const w=`${R.objectId}\0${O.path}`,D=i.get(w),K=U.get(O.path);if(D===void 0||!K)return[];const $=It(K.value);return ut(D,$)?[]:[{targetId:R.objectId,path:O.path,before:D,after:$}]})}),S=To(m);if(m.length===0)return{ok:!0,output:{requestedObjectCount:u.length,validatedPropertyCount:d,changed:!1,changedObjectCount:0,sampleChangedObjectIds:[]}};const T=[],A=[],k=[],M=[];for(const R of p){const U=o.get(R)??[],O=new Set(U.map(w=>Ro(w.path)));if(O.has("reproject")){M.push(R);continue}O.has("transform")&&T.push(R),O.has("metadata")&&A.push(R),O.has("appearance")&&k.push(R)}e.dispatch({type:"document.replace",document:g,label:`Patch ${d} properties on ${u.length} objects`,...p.length>0?{projectionImpact:{type:"incremental",...T.length>0?{syncTransformIds:T}:{},...A.length>0?{syncMetadataIds:A}:{},...k.length>0?{syncAppearanceIds:k}:{},...M.length>0?{reprojectIds:M}:{}}}:{},...S?{authoringPatch:S}:{}})}return{ok:!0,output:{requestedObjectCount:u.length,validatedPropertyCount:d,changed:p.length>0,changedObjectCount:p.length,sampleChangedObjectIds:p.slice(0,20)}}}function It(e){const t=JSON.stringify(e);return t===void 0?null:JSON.parse(t)}function ut(e,t){if(Object.is(e,t))return!0;if(typeof e!=typeof t||e===null||t===null)return!1;if(Array.isArray(e)||Array.isArray(t))return Array.isArray(e)&&Array.isArray(t)&&e.length===t.length&&e.every((i,s)=>ut(i,t[s]));if(typeof e!="object"||typeof t!="object")return!1;const r=e,a=t,n=Object.keys(r).sort(),o=Object.keys(a).sort();return n.length===o.length&&n.every((i,s)=>i===o[s]&&ut(r[i],a[i]))}function To(e){if(e.length===0||e.length>Jn)return;const t={kind:"fields",writes:e};return new TextEncoder().encode(JSON.stringify(t)).byteLength<=Xn?t:void 0}function Ro(e){return e==="transform.position"||e.startsWith("transform.position.")||e==="transform.rotation"||e.startsWith("transform.rotation.")||e==="transform.scale"||e.startsWith("transform.scale.")?"transform":e==="name"||e.startsWith("metadata.")?"metadata":e==="active"||e==="enabled"||e.startsWith("shadow.")||e.startsWith("rendering.")||e.startsWith("overrides.material")||e.startsWith("overrides.outline")||e.startsWith("material.")?"appearance":"reproject"}function G(e){return e.session.getState({cloneDocuments:!1}).workingDocument}function N(e,t){const r=Dn[e],a=On[e],n=_n[e];if(!r)throw new Error(`Built-in Editor command metadata is missing: ${e}`);return{schemaVersion:jn,id:e,version:1,title:r.title,...Wt[e]?{description:Wt[e]}:{},target:r.target,access:r.access,stability:r.stability,inputSchema:a.inputSchema,outputSchema:a.outputSchema,effects:{persistence:r.access==="write"?"authoring":"none",undoable:r.access==="write",idempotent:r.access==="read"},...r.target==="authoring"&&r.access==="write"?{transaction:{compatible:!0,sideEffects:"authoring",phase:"mutation"}}:{},presentation:{category:r.category,inputMode:vo(a.inputSchema)?"schema-form":"none",...n?.aliases?{aliases:n.aliases}:{},...n?.keywords?{keywords:n.keywords}:{},...n?.examples?{examples:n.examples}:{},...n?.shortcut?{shortcut:n.shortcut}:{},...n?.menu?{menu:n.menu}:{},...t?{selectionBinding:t}:{}}}}function Qe(e,t){const r=e.scene.gameObjects.find(n=>n.id===t),a=r?.components.find(n=>n.type==="Transform")??r?.transform;return!a||"mode"in a&&a.mode==="matrix"?null:{position:{...a.position},rotation:{...a.rotation},scale:{...a.scale??{x:1,y:1,z:1}}}}function vo(e){const t=e.properties;return!!t&&typeof t=="object"&&!Array.isArray(t)&&Object.keys(t).length>0}function P(e,t,r){return{ok:!1,diagnostics:[{severity:"error",source:"command",code:e,message:t,...r?{details:r}:{}}]}}function be(e){return P(e.code,e.message)}function ps(e){return{...e,paths:{...e.paths},supportedExtensions:e.supportedExtensions?[...e.supportedExtensions]:void 0,commands:e.commands?{...e.commands}:void 0}}const hs=["model","texture","image","sound"],Lt=[".glb",".gltf"],Br=[".png",".jpg",".jpeg",".webp"],wo=[".env",".hdr",".dds",".ktx",".ktx2"],xt=[...Br,...wo],Gt=[".mp3",".wav",".ogg",".flac",".aac",".m4a"],Co=[...Lt,...xt,...Gt];function Mo(e){return e.randomUUID?e.randomUUID():jo(e)}function zr(e){return String(e??"").trim().toLowerCase().replace(/-/g,"")}function Do(e,t){const r=zr(t);return`${e==="model"?"asset":e==="texture"?"texture":e==="sound"?"sound":"image"}_${r}`}function Es(e){const n=String(e??"").trim().split(/[^a-zA-Z0-9_$]+/).filter(Boolean).map((o,i)=>i===0?o:`${o.charAt(0).toUpperCase()}${o.slice(1)}`).join("").replace(/[^a-zA-Z0-9_$]/g,"")||"assetUrl";return/^[a-zA-Z_$]/.test(n)?n:`asset${n}`}function _o(e,t=""){const r=String(e??"").trim().toLowerCase();if(r==="glb"||r==="gltf"||r==="model")return"model";if(r==="groundtexture"||r==="ground-texture"||r==="texture")return"texture";if(r==="ui"||r==="image"||r==="img")return"image";if(r==="audio"||r==="sound")return"sound";const a=Oo(t);return Lt.includes(a)?"model":Gt.includes(a)?"sound":xt.includes(a)?"texture":null}function Oo(e){const t=e.split(/[?#]/,1)[0]??"",r=Math.max(t.lastIndexOf("/"),t.lastIndexOf("\\")),a=t.slice(r+1),n=a.lastIndexOf(".");return n>=0?a.slice(n).toLowerCase():""}function jo(e){const t=new Uint8Array(16);if(!e.fillRandomBytes)throw new Error("Asset GUID random source must provide randomUUID or fillRandomBytes.");if(e.fillRandomBytes(t),t.every(a=>a===0))throw new Error("Asset GUID random source returned no entropy.");t[6]=t[6]&15|64,t[8]=t[8]&63|128;const r=[...t].map(a=>a.toString(16).padStart(2,"0")).join("");return`${r.slice(0,8)}-${r.slice(8,12)}-${r.slice(12,16)}-${r.slice(16,20)}-${r.slice(20)}`}function Ft(e){let t=String(e??"").trim();const r=t.toLowerCase();for(const a of[...Co].sort((n,o)=>o.length-n.length))if(r.endsWith(a)){t=t.slice(0,-a.length);break}return t}function bs(e,t){return String(e??"").trim()||Ft(t)||"Asset"}function Ss(e,t){return Ft(e||t).trim().toLowerCase().normalize("NFKD").replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"").replace(/_{2,}/g,"_")||null}function ys(e){return e==="model"?Lt:e==="sound"?Gt:e==="texture"?xt:e==="image"?Br:[]}class Te extends Error{constructor(t,r){super(r),this.code=t,this.name="PlayableEditorManagedAssetError"}}function No(){const e=globalThis.crypto;return Mo({...typeof e?.randomUUID=="function"?{randomUUID:()=>e.randomUUID()}:{},fillRandomBytes(t){if(typeof e?.getRandomValues=="function")e.getRandomValues(t);else for(let r=0;r<t.length;r+=1)t[r]=Math.floor(Math.random()*256)}})}function Is(e){return zr(e)}function ko(e,t){return Do(e,t)}function fr(e){return Ft(e).trim()}function Ur(e,t,r){const a=Fo(t.kind,t.assetPath??t.assetName),n=de(t.guid),o=de(t.assetId),i=$r(t),s=Bo(e,t);if(s&&n&&s.guid&&s.guid!==n)throw new Te(r.errorCodes.assetIdConflict,`Requested guid "${n}" does not match existing asset guid "${s.guid}"`);const l=s?.guid??n??No(),d=ko(a,l);if(s?.id&&s.id!==d)throw new Te(r.errorCodes.assetIdConflict,`Asset id "${s.id}" does not match guid "${l}" (expected "${d}")`);if(o&&o!==d)throw new Te(r.errorCodes.assetIdConflict,`Project asset id "${o}" does not match guid "${l}" (expected "${d}")`);const h=e.assets.find(c=>c.id===d&&c.guid&&c.guid!==l);if(h)throw new Te(r.errorCodes.assetIdConflict,`Asset id "${d}" already points to guid "${h.guid}"`);return{guid:l,assetId:d,kind:a,...i?{external:i}:s?.external?{external:s.external}:{}}}function Lo(e){if(typeof e=="number"&&Number.isFinite(e)&&e>0)return e;if(!e||typeof e!="object")return;const t=e,r=Pt(t.x),a=Pt(t.y),n=Pt(t.z);if(!(r==null||a==null||n==null||r<=0||a<=0||n<=0))return{x:r,y:a,z:n}}function Ot(e,t,r){const a=Ur(e,t,r),n=t.displayName?.trim()||fr(t.assetName)||fr(t.assetPath?.split("/").pop())||"Imported Asset",o=t.category?.trim(),i=zo(t.materialMode),s=Uo(t.warmupCount),l=Lo(t.defaultScale??t.scale),d=$o(t.metadata);return{...a,displayName:n,...o?{category:o}:{},...i?{materialMode:i}:{},...s!=null?{warmupCount:s}:{},...typeof t.singleton=="boolean"?{singleton:t.singleton}:{},...l?{scale:l}:{},...d?{metadata:d}:{}}}function jt(e,t){if(e.kind==="model")return{id:e.assetId,guid:e.guid,type:"glb",displayName:e.displayName,...e.category?{category:e.category}:{},...e.materialMode?{materialMode:e.materialMode}:{},...e.warmupCount!=null?{warmupCount:e.warmupCount}:{},...typeof e.singleton=="boolean"?{singleton:e.singleton}:{},...e.scale?{defaults:{transform:{scale:e.scale}}}:{},...e.external?{external:e.external}:{},metadata:{...e.metadata??{},[t.metadata.key]:t.metadata.value}}}function xo(e,t,r){const a=t.assetName||t.assetPath?.split("/").pop()||"imported_asset.glb",n=Ot(e,{...t,assetName:a},r),o=t.requestId,i=t.payloadPath??t.createPayloadPath?.({...o?{requestId:o}:{},guid:n.guid,assetId:n.assetId,kind:n.kind})??`/tmp/playable-editor-asset-${o??n.assetId}.json`,s=jt(n,r),l=t.registerCommand??"npm run asset:register",d={...t.assetPath?{sourcePath:t.assetPath,assetPath:t.assetPath}:{},...t.assetUrl?{assetUrl:t.assetUrl}:{},guid:n.guid,projectAssetId:n.assetId,assetType:n.kind,assetName:a,displayName:n.displayName,...n.category?{category:n.category}:{},...n.materialMode?{materialMode:n.materialMode}:{},...n.warmupCount!=null?{warmupCount:n.warmupCount}:{},...typeof n.singleton=="boolean"?{singleton:n.singleton}:{},...n.scale?{scale:n.scale}:{},...n.metadata?{metadata:n.metadata}:{},...n.external?{external:n.external}:{},...n.external?.platformAssetId?{platformAssetId:n.external.platformAssetId}:{}},h=`${l} -- --payload ${i}`;return{...o?{requestId:o}:{},guid:n.guid,assetId:n.assetId,kind:n.kind,displayName:n.displayName,...n.external?{external:n.external}:{},transportPlan:{writes:[{path:i,contentType:"application/json",content:d}],commands:[{cmd:h,cwd:".",timeoutMs:6e4}]},...s?{sceneAsset:s}:{}}}function Go(e,t){const r=de(e.assetId),a=de(e.guid);if(!r&&!a)throw new Te(t.errorCodes.missingAssetId??"missing_asset_id","Missing assetId or guid for asset unregistration");const n=e.requestId,o=e.payloadPath??e.createPayloadPath?.({...n?{requestId:n}:{},...r?{assetId:r}:{},...a?{guid:a}:{}})??`/tmp/playable-editor-asset-unregister-${n??r??a}.json`,i=e.deleteFile!==!1,s=e.unregisterCommand??"npm run asset:unregister",l={...r?{assetId:r}:{},...a?{guid:a}:{},deleteFile:i},d=`${s} -- --payload ${o}`;return{...n?{requestId:n}:{},...a?{guid:a}:{},assetId:r??"",transportPlan:{writes:[{path:o,contentType:"application/json",content:l}],commands:[{cmd:d,cwd:".",timeoutMs:6e4}]}}}function de(e){return typeof e=="string"&&e.trim()?e.trim():void 0}function Fo(e,t){return _o(e,t)??"model"}function $r(e){const t=e.external&&typeof e.external=="object"?e.external:{},r=de(t.platformAssetId)??de(e.platformAssetId);let a;if(Object.prototype.hasOwnProperty.call(t,"assetPath")){try{a=Zn(t.assetPath)}catch{throw new Te("external_asset_path_must_be_portable","Explicit external.assetPath must be a non-empty portable relative path")}if(!a)throw new Te("external_asset_path_must_be_portable","Explicit external.assetPath must be a non-empty portable relative path")}const n=de(t.assetUrl)??de(e.assetUrl);if(!(!r&&!a&&!n))return{...r?{platformAssetId:r}:{},...a?{assetPath:a}:{},...n?{assetUrl:n}:{}}}function Bo(e,t){const r=de(t.guid),a=de(t.assetId),n=$r(t);return e.assets.find(o=>!!(r&&o.guid===r||a&&o.id===a||n?.platformAssetId&&o.external?.platformAssetId===n.platformAssetId||n?.assetPath&&o.external?.assetPath===n.assetPath))}function Pt(e){return typeof e=="number"&&Number.isFinite(e)?e:null}function zo(e){return e==="shared"||e==="instance"?e:void 0}function Uo(e){return Number.isInteger(e)&&e>=0?e:void 0}function $o(e){if(!(!e||typeof e!="object"||Array.isArray(e)))return JSON.parse(JSON.stringify(e))}function Ho(e){return{resolveAssetIdentity:(t,r,a=e.rules)=>Ge(e,()=>Ur(t,r,a)),buildAssetArgs:(t,r,a=e.rules)=>Ge(e,()=>Ot(t,r,a)),createSceneAsset:(t,r=e.rules)=>jt(t,r),planAssetRegistrationCore:(t,r,a=e.rules)=>Ge(e,()=>xo(t,Vo(r,e),a)),planAssetUnregistrationCore:(t,r=e.rules)=>Ge(e,()=>Go(qo(t,e),r)),resolveAssetReference:(t,r,a=e.rules)=>{const n=Ge(e,()=>Ot(t,r,a)),o=jt(n,a);if(!o)throw new Error(`Asset "${n.assetId}" is not a placeable model asset`);return{guid:n.guid,assetId:n.assetId,displayName:n.displayName,asset:o}}}}function Vo(e,t){return{...e,kind:e.kind??e.assetType,createPayloadPath:e.createPayloadPath??(e.payloadPath?void 0:t.createRegistrationPayloadPath)}}function qo(e,t){return{...e,createPayloadPath:e.createPayloadPath??(e.payloadPath?void 0:t.createUnregistrationPayloadPath)}}function Ge(e,t){try{return t()}catch(r){throw e.wrapError&&e.wrapError(r),r}}function Ps(e){const t=Ho(e);return{facade:t,planAssetRegistration(r,a){return t.planAssetRegistrationCore(gr(a),r)},planAssetRegistrationWithAssets(r,a){return t.planAssetRegistrationCore({assets:r},a)},planAssetUnregistration(r){return t.planAssetUnregistrationCore(r)},resolveAssetReference(r,a){return t.resolveAssetReference(gr(a),r)}}}function gr(e){return{assets:e.getAssets()}}const Yo="/__fps_runtime/debug-authoring";function As(e={}){const t=e.endpoint?.trim()||Yo,r=e.fetch??globalThis.fetch,a=Math.max(1,e.operationTimeoutMs??3e4);if(typeof r!="function")throw new Error("runtime_debug_authoring_fetch_unavailable");const n=async l=>{const d=await r(t,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(l)}),h=await d.json().catch(()=>null);if(!h)throw new Error(At(h,`runtime_debug_authoring_http_${d.status}`));if(!h.ok)throw new Error(At(h,`runtime_debug_authoring_http_${d.status}`));if(!d.ok)throw new Error(`runtime_debug_authoring_http_${d.status}`);return h},o=async l=>{const d=await n({kind:"command.invoke",invocation:l,timeoutMs:Math.min(a,1e4)});if(d.kind!=="operation"||!d.operation)throw new Error("runtime_debug_authoring_operation_missing");let h=d.operation;const c=Date.now()+a;for(;h.status==="accepted"||h.status==="running";){if(Date.now()>=c)throw new Error("runtime_debug_authoring_operation_timeout");await Wo(25);const u=await n({kind:"operation.get",operationId:h.operationId});if(u.kind!=="operation"||!u.operation)throw new Error("runtime_debug_authoring_operation_missing");h=u.operation}if(h.status!=="completed")throw new Error(At({ok:!1,diagnostics:h.diagnostics??[]},`runtime_debug_authoring_operation_${h.status}`));return h};return Object.freeze({load:async()=>{const l=await n({kind:"authoring.snapshot"});if(l.kind!=="authoring.snapshot"||l.result.kind!=="snapshot-required")throw new Error("runtime_debug_authoring_snapshot_missing");const d=l.result.snapshot,h=hr("companion"),c=await o({commandId:"document.companionState.get",input:{},requestId:h,idempotencyKey:h,expectedRevision:{serviceInstanceId:d.serviceInstanceId,document:d.documentRevision},principal:{type:"human"},source:"runtime-debug-panel",surface:"runtime-debug-panel"});return{snapshot:d,companionState:pr(c)}},async commitAndSave(l){const d=hr("commit"),h=await o({commandId:"runtimeDebug.commitAndSave",intentCommandId:l.commandId,input:{commandId:l.commandId,inputFingerprint:l.inputFingerprint,document:l.document,...l.companionConfigs?{companionConfigs:l.companionConfigs}:{},...l.shadowMapExperimentConfig?{shadowMapExperimentConfig:l.shadowMapExperimentConfig}:{}},requestId:d,idempotencyKey:d,expectedRevision:{serviceInstanceId:l.serviceInstanceId,document:l.expectedDocumentRevision},principal:{type:"human"},source:"runtime-debug-panel",surface:"runtime-debug-panel"});return pr(h)}})}function pr(e){const t=e.output;if(!t||typeof t!="object"||Array.isArray(t))throw new Error("runtime_debug_authoring_output_invalid");return t}function At(e,t){return e&&!e.ok&&e.diagnostics.length>0?e.diagnostics.map(r=>`${r.code}: ${r.message}`).join("; "):t}function hr(e){const t=globalThis.crypto?.randomUUID?.()??`${Date.now()}-${Math.random().toString(36).slice(2)}`;return`runtime-debug-${e}-${t}`}function Wo(e){return new Promise(t=>setTimeout(t,e))}const Ko=["/__fps_editor_authoring"],Jo=[["manifest","/manifest"],["commit","/commit"],["editor-scene","/editor-scene"],["editor-asset-library","/editor-asset-library"],["project-files","/project-files"],["project-media","/project-media"],["project-file","/project-file"],["save-editor-scene","/save-editor-scene"],["file","/file"],["exec","/exec"]];function Xo(e,t={}){const r=new URL(e??"","http://localhost").pathname,a=t.prefixes??Ko,n=Qo(r,a);if(!n)return null;const o=r.slice(n.length)||"/",i=Zo(o);return i?{route:o,routeName:i,prefix:n}:null}function Qo(e,t){return t.find(r=>e.startsWith(r))??null}function Zo(e){return Jo.find(([,t])=>e.startsWith(t))?.[0]??null}function V(e,t){return{statusCode:e,body:t}}function Hr(e){return{statusCode:e,body:null}}function ei(e){return typeof e=="string"?e:`${JSON.stringify(e??{},null,2)}
|
|
5
|
-
`}function ti(e){const r=e.match(/(?:^|\s)--payload(?:=|\s+)("[^"]+"|'[^']+'|\S+)/)?.[1]??"";return r.startsWith('"')&&r.endsWith('"')||r.startsWith("'")&&r.endsWith("'")?r.slice(1,-1):r}async function Ts(e,t){const r=Xo(e.url);if(!r)return null;const a=(e.method??"GET").toUpperCase();if(a==="OPTIONS")return Hr(204);try{if(ri(r.routeName)){if(a!=="GET")return V(405,{ok:!1,error:"method_not_allowed"});if(r.routeName==="project-file"){const o=new URL(e.url??"","http://localhost").searchParams.get("path")?.trim()??"";if(!o)return V(400,{ok:!1,error:"missing_file_path"});const i=await t.loadProjectFile?.({path:o,route:r});return V(200,i??{ok:!1,error:"not_found"})}return V(200,await ni(r,t))}if(a!=="POST")return V(405,{ok:!1,error:"method_not_allowed"});const n=e.body??await t.readBody?.(e,r)??{};return await ai(r,n,t)}catch(n){return V(500,{ok:!1,error:n instanceof Error?n.message:String(n),code:typeof n?.code=="string"?n.code:"authoring_request_failed",details:mt(n?.details)})}}function ri(e){return e==="manifest"||e==="editor-scene"||e==="editor-asset-library"||e==="project-files"||e==="project-file"||e==="project-media"}async function ni(e,t){return e.routeName==="manifest"&&t.loadManifest?t.loadManifest(e):e.routeName==="editor-scene"&&t.loadEditorScene?t.loadEditorScene(e):e.routeName==="editor-asset-library"&&t.loadEditorAssetLibrary?t.loadEditorAssetLibrary(e):e.routeName==="project-files"&&t.loadProjectFiles?t.loadProjectFiles(e):{ok:!1,error:"not_found"}}async function ai(e,t,r){return e.routeName==="file"?oi(e,t,r):e.routeName==="exec"?ii(e,t,r):e.routeName==="save-editor-scene"?si(e,t,r):e.routeName==="commit"?V(410,await ci(e,t,r)):V(404,{ok:!1,error:"not_found"})}async function oi(e,t,r){const a=String(t.path??""),n=r.normalizeTransportPath?.(a)??a;if(!n)return V(400,{ok:!1,error:"missing_file_path"});const o=t.content,i=ei(o),s=await r.writeFile?.({body:t,path:n,rawPath:a,content:o,text:i,route:e});return V(200,s??{ok:!0,path:n})}async function ii(e,t,r){const a=String(t.cmd??""),n=ti(a);if(!n)return V(400,{ok:!1,error:"missing_payload_arg",cmd:a});const o=r.normalizeTransportPath?.(n)??n,i=await r.runCommand?.({body:t,cmd:a,payloadPath:o,rawPayloadPath:n,route:e});return V(200,i??{ok:!0,cmd:a})}async function si(e,t,r){const a=t.mode==="prepare-platform-save"?"prepare-platform-save":"local-commit-save",n=await r.saveEditorScene?.({body:t,mode:a,rawEditorScene:t.editorScene,route:e});return V(200,n??{ok:!1,error:"not_found"})}async function ci(e,t,r){return r.commit?.({body:t,route:e})??{ok:!1,error:"platform_commit_route_disabled",message:"Save through /__fps_editor_authoring/save-editor-scene so scene.main remains the authoring source of truth."}}const Pe=ea,oe=ta,Rs=ra;function qe(e){return F(e.requestId)}function Vr(e){return{requestId:qe(e),assetName:F(e.assetName),assetPath:F(e.assetPath),assetUrl:F(e.assetUrl),guid:F(e.guid),assetId:F(e.projectAssetId),kind:F(e.assetType)??F(e.kind),platformAssetId:F(e.platformAssetId)??F(e.assetId),displayName:F(e.displayName),category:F(e.category),materialMode:e.materialMode,scale:e.scale,defaultScale:e.defaultScale,metadata:mt(e.metadata),payloadPath:F(e.payloadPath)}}function di(e){return{requestId:qe(e),guid:F(e.guid),assetId:F(e.projectAssetId)??F(e.assetId),payloadPath:F(e.payloadPath),deleteFile:typeof e.deleteFile=="boolean"?e.deleteFile:void 0}}function li(e){const t=F(e.assetName)??"",r=F(e.assetPath);return{...Vr(e),kind:F(e.assetType)??F(e.kind)??"model",rawAssetName:t,inferredAssetPath:r,inferredAssetUrl:F(e.assetUrl)??(r?`/@fs${r}`:""),instanceScale:e.instanceScale,dropSurfaceName:F(e.dropSurfaceName),clientX:typeof e.clientX=="number"&&Number.isFinite(e.clientX)?e.clientX:void 0,clientY:typeof e.clientY=="number"&&Number.isFinite(e.clientY)?e.clientY:void 0,position:e.position}}function ui(e){const t=fi(e);return{requestId:qe(e),id:F(e.id),name:F(e.name),kind:e.kind,parentId:F(e.parentId),enabled:typeof e.enabled=="boolean"?e.enabled:void 0,transform:e.transform,instance:e.instance,primitive:e.primitive,transformType:e.transformType,...t?{customTransformData:t}:{},camera:e.camera,light:e.light}}function mi(e){return{requestId:qe(e),nodeId:F(e.nodeId)??"",patches:Array.isArray(e.patches)?e.patches:F(e.path)?[{path:e.path,value:e.value}]:[]}}function Er(e){return{requestId:qe(e),nodeId:F(e.nodeId)}}function F(e){if(typeof e!="string")return;const t=e.trim();return t||void 0}function fi(e){const t=new Set(["requestId","id","name","kind","parentId","enabled","transform","instance","primitive","transformType","customTransformData","camera","light"]),r=mt(e.customTransformData),a=r?{...r}:{};for(const[n,o]of Object.entries(e))t.has(n)||(a[n]=o);return Object.keys(a).length>0?a:void 0}function gi(e,t,r={}){const a=r.readProjectError?.(e);if(a)return a;const n=e,o=Kt(n?.code)??t,i=e instanceof Error?e.message:Kt(n?.message)??String(e),s=mt(n?.details);return{code:o,error:i,...s?{details:s}:{}}}function pi(e,t={}){const r=new Set(t.omitKeys??["rootNode"]),a={...e};for(const n of r)delete a[n];return a}function hi(e){return{async handleCommand(t,r,a){const n=a;if(t===Pe.ASSET_REGISTRATION_PLAN){const o=Vr(r);return await Ze({eventName:oe.ASSET_REGISTRATION_PLANNED,failedEventName:oe.ASSET_REGISTRATION_FAILED,requestId:o.requestId,fallbackCode:e.errorCodes.assetRegistrationPlanFailed,emitEvent:e.emitEvent,createCommandError:e.handlers.createCommandError,run:()=>e.handlers.assetRegistrationPlan(o,n)}),!0}if(t===Pe.ASSET_UNREGISTRATION_PLAN){const o=di(r);return await Ze({eventName:oe.ASSET_UNREGISTRATION_PLANNED,failedEventName:oe.ASSET_UNREGISTRATION_FAILED,requestId:o.requestId,fallbackCode:e.errorCodes.assetUnregistrationPlanFailed,emitEvent:e.emitEvent,createCommandError:e.handlers.createCommandError,run:()=>e.handlers.assetUnregistrationPlan(o,n)}),!0}if(t===Pe.ASSET_IMPORT){const o=li(r),i=await e.handlers.assetImport(o,n);return i&&e.emitEvent(oe.ASSET_IMPORT_RESULT,i),!0}if(t===Pe.ASSET_REMOVE){const o=Er(r),i=await e.handlers.assetRemove(o,n);return i&&e.emitEvent(oe.ASSET_REMOVE_RESULT,i),!0}if(t===Pe.SCENE_NODE_CREATE){const o=ui(r);return await Ze({eventName:oe.SCENE_NODE_CREATE_RESULT,failedEventName:oe.SCENE_NODE_CREATE_RESULT,requestId:o.requestId,fallbackCode:e.errorCodes.sceneNodeCreateFailed,emitEvent:e.emitEvent,createCommandError:e.handlers.createCommandError,run:()=>e.handlers.sceneNodeCreate(o,n)}),!0}if(t===Pe.SCENE_NODE_PATCH){const o=mi(r);return await Ze({eventName:oe.SCENE_NODE_PATCH_RESULT,failedEventName:oe.SCENE_NODE_PATCH_RESULT,requestId:o.requestId,fallbackCode:e.errorCodes.sceneNodePatchFailed,failureExtra:{nodeId:o.nodeId},emitEvent:e.emitEvent,createCommandError:e.handlers.createCommandError,run:()=>e.handlers.sceneNodePatch(o,n)}),!0}if(t===Pe.SCENE_NODE_REMOVE){const o=Er(r),i=await e.handlers.sceneNodeRemove(o,n);return i&&e.emitEvent(oe.SCENE_NODE_REMOVE_RESULT,i),!0}return!1}}}async function Ze(e){try{const t=await e.run();t&&e.emitEvent(e.eventName,t)}catch(t){e.emitEvent(e.failedEventName,{requestId:e.requestId,ok:!1,...e.failureExtra,...e.createCommandError(t,e.fallbackCode)})}}function vs(e){const t=e.notifyDocumentStatus??(()=>{}),r=e.createCommandError??((a,n)=>gi(a,n));return hi({emitEvent:e.emitEvent,errorCodes:e.errorCodes,handlers:{createCommandError:r,assetRegistrationPlan:(a,n)=>e.planAssetRegistration(a,n),assetUnregistrationPlan:(a,n)=>e.planAssetUnregistration(a,n),assetImport:(a,n)=>Ei(a,n,e,t),assetRemove:(a,n)=>bi(a,n,e,t),sceneNodeCreate:async(a,n)=>{e.ensureDocumentLoaded();const o=await e.sceneNodeCreate(a,n);return o.rootNode&&e.selectRuntimeNode?.(o.rootNode),t(),{requestId:a.requestId,ok:!0,nodeId:o.node.id,node:o.node}},sceneNodePatch:async(a,n)=>{e.ensureDocumentLoaded();const o=await e.sceneNodePatch(a,n);return o.rootNode&&e.selectRuntimeNode?.(o.rootNode),t(),{requestId:a.requestId,ok:!0,nodeId:o.node.id,node:o.node}},sceneNodeRemove:async(a,n)=>{e.ensureDocumentLoaded();const o=await e.sceneNodeRemove(a,n);return o&&(e.selectRuntimeNode?.(null),t()),{requestId:a.requestId,ok:!!o,nodeId:a.nodeId,...o?{removedNodeId:o.node.id}:{code:e.errorCodes.nodeNotFound,error:e.errorCodes.nodeNotFound}}}}})}async function Ei(e,t,r,a){if(r.isBridgeActive?.())return null;r.ensureDocumentLoaded();const n=r.executeTransportPlan??(c=>na(c)),o=Si(e.inferredAssetUrl)||(e.inferredAssetPath?`/@fs${e.inferredAssetPath}`:""),i=await r.planAssetRegistration({...e,assetName:e.rawAssetName||void 0,assetPath:e.inferredAssetPath,assetUrl:o},t),s=i.transportPlan;if(e.inferredAssetPath&&!s)throw new Error("Asset registration transportPlan is required before placing an inferred project asset.");let l=null;e.inferredAssetPath&&(l=await n(s,t));const d=aa({result:l,fallback:{guid:i.guid,assetId:i.assetId,assetUrl:o,external:i.external}}),h=await r.createAssetInstance({requestId:e.requestId,guid:d.guid,assetId:d.assetId,external:d.external,assetUrl:d.assetUrl,assetName:e.rawAssetName||void 0,displayName:e.displayName,category:e.category,materialMode:e.materialMode,scale:e.scale,defaultScale:e.defaultScale,instanceScale:e.instanceScale,metadata:e.metadata,dropSurfaceName:e.dropSurfaceName,clientX:e.clientX,clientY:e.clientY,position:e.position},t);return h.ok&&(h.rootNode&&r.selectRuntimeNode?.(h.rootNode),a()),pi(h)}async function bi(e,t,r,a){r.ensureDocumentLoaded();const n=e.nodeId?await r.removeAssetInstance(e,t):{ok:!1,assetId:"",code:r.errorCodes.missingNodeId,error:r.errorCodes.missingNodeId};return n.ok&&(r.selectRuntimeNode?.(null),a()),{requestId:e.requestId,...n}}function Si(e){return typeof e=="string"&&e.trim()?e.trim():void 0}const Fe="public-export",x="bundled-alias",Ae="external-peer",ie="default",z="exclude",De="prebundle",yi=[["@fps-games/editor","packages/editor/src/index.ts",null,Fe,ie],["@fps-games/editor/vite","packages/editor/src/vite.ts",null,Fe,ie],["@fps-games/engine",null,null,Ae,ie],["@fps-games/engine/config",null,null,Ae,ie],["@fps-games/engine/rendering",null,null,Ae,ie],["@fps-games/engine/babylon",null,null,Ae,De],["@fps-games/editor-tooling","packages/editor-tooling/src/index.ts","@fps-games/editor-tooling/dist/index.js",x,z],["@fps-games/editor-tooling/node","packages/editor-tooling/src/package-metadata-node.ts","@fps-games/editor-tooling/dist/package-metadata-node.js",x,z],["@fps-games/editor-tooling/vite","packages/editor-tooling/src/vite.ts","@fps-games/editor-tooling/dist/vite.js",x,z],["@fps-games/plugin-sdk",null,null,Ae,ie],["@fps-games/plugin-sdk/host",null,null,Ae,ie],["@fps-games/plugin-sdk/runtime",null,null,Ae,ie],["@fps-games/plugin-hierarchy","packages/plugin-hierarchy/src/reference.ts","@fps-games/plugin-hierarchy/dist/reference.js",x,De],["@fps-games/plugin-hierarchy/kernel","packages/plugin-hierarchy/src/kernel.ts","@fps-games/plugin-hierarchy/dist/kernel.js",x,z],["@fps-games/plugin-hierarchy/integration","packages/plugin-hierarchy/src/integration.ts","@fps-games/plugin-hierarchy/dist/integration.js",x,z],["@fps-games/plugin-hierarchy/editor","packages/plugin-hierarchy/src/editor.ts","@fps-games/plugin-hierarchy/dist/editor.js",x,De],["@fps-games/editor/playable-sdk","packages/editor/src/playable-sdk.ts",null,Fe,ie],["@fps-games/editor/playable-sdk/upgrade-doctor","packages/editor/src/playable-sdk-upgrade-doctor.ts",null,Fe,ie],["@fps-games/editor/playable-sdk/vite","packages/editor/src/playable-sdk-vite.ts",null,Fe,ie],["@fps-games/editor-playable-sdk","packages/editor-playable-sdk/src/index.ts","@fps-games/editor-playable-sdk/dist/index.js",x,z],["@fps-games/editor-playable-sdk/internal/authoring-queries","packages/editor-playable-sdk/src/internal/authoring-queries.ts","@fps-games/editor-playable-sdk/dist/internal/authoring-queries.js",x,z],["@fps-games/editor-playable-sdk/internal/local-harness","packages/editor-playable-sdk/src/internal/local-harness.ts","@fps-games/editor-playable-sdk/dist/internal/local-harness.js",x,z],["@fps-games/editor-playable-sdk/upgrade-doctor","packages/editor-playable-sdk/src/upgrade-doctor/index.ts","@fps-games/editor-playable-sdk/dist/upgrade-doctor/index.js",x,z],["@fps-games/editor-playable-sdk/vite","packages/editor-playable-sdk/src/vite/index.ts","@fps-games/editor-playable-sdk/dist/vite/index.js",x,z],["@fps-games/editor-babylon","packages/editor-babylon/src/index.ts","@fps-games/editor-babylon/dist/index.js",x,z],["@fps-games/editor-browser","packages/editor-browser/src/index.ts","@fps-games/editor-browser/dist/index.js",x,z],["@fps-games/editor-browser/plugin-contributions","packages/editor-browser/src/plugin-contributions.ts","@fps-games/editor-browser/dist/plugin-contributions.js",x,z],["@fps-games/editor-browser/runtime-debug","packages/editor-browser/src/runtime-debug.ts","@fps-games/editor-browser/dist/runtime-debug.js",x,z],["@fps-games/editor-core","packages/editor-core/src/index.ts","@fps-games/editor-core/dist/index.js",x,z],["@fps-games/editor-core/plugin-host","packages/editor-core/src/editor-plugin-host.ts","@fps-games/editor-core/dist/editor-plugin-host.js",x,z],["@fps-games/editor-core/lifecycle","packages/editor-core/src/lifecycle.ts","@fps-games/editor-core/dist/lifecycle.js",x,z],["@fps-games/editor-core/events","packages/editor-core/src/events.ts","@fps-games/editor-core/dist/events.js",x,z],["@fps-games/editor-core/document-adapter","packages/editor-core/src/document-adapter.ts","@fps-games/editor-core/dist/document-adapter.js",x,z],["@fps-games/editor-core/diagnostics","packages/editor-core/src/editor-diagnostic-store.ts","@fps-games/editor-core/dist/editor-diagnostic-store.js",x,z],["@fps-games/editor-core/tools","packages/editor-core/src/editor-tools.ts","@fps-games/editor-core/dist/editor-tools.js",x,z],["@fps-games/editor-forge-play","packages/editor-forge-play/src/index.ts","@fps-games/editor-forge-play/dist/index.js",x,z],["@fps-games/editor-protocol","packages/editor-protocol/src/index.ts","@fps-games/editor-protocol/dist/index.js",x,z],["@fps-games/editor-ui","packages/editor-ui/src/index.ts","@fps-games/editor-ui/dist/index.js",x,z],["@babel/parser",null,"@babel/parser/lib/index.js",x,De],["@playcanvas/observer",null,"@playcanvas/observer/dist/index.mjs",x,z],["@playcanvas/pcui",null,"@playcanvas/pcui/dist/module/src/index.mjs",x,z],["@playcanvas/pcui/styles",null,"@playcanvas/pcui/styles/dist/index.mjs",x,z],["semver",null,"semver/index.js",x,De]],Ye=Object.freeze(yi.map(([e,t,r,a,n])=>Object.freeze({packageId:e,...t?{sourceFile:t}:{},...r?{bundledFile:r,bundledRoot:"editor-node-modules"}:{},resolution:a,optimizer:n,projectAllowlist:!0}))),ws=Object.freeze(Ye.filter(e=>e.projectAllowlist).map(e=>e.packageId)),Cs=Object.freeze(Ye.filter(e=>e.resolution===x).map(e=>e.packageId)),Ms=Object.freeze(Ye.filter(e=>e.optimizer===De).map(e=>e.packageId));function Ii(e,t={}){const r=t.resolvePath??Bt;return{entries:Ye.filter(a=>typeof a.sourceFile=="string").map(a=>({packageId:a.packageId,file:r(e,...a.sourceFile.split("/"))}))}}function Ds(e,t={}){const r=Ii(e,{resolvePath:t.resolvePath}),a=t.relativePath??Ai,n={};for(const o of r.entries){if(o.packageId==="semver")continue;const i=t.pathOverrides?.[o.packageId];n[o.packageId]=i?Pi(i):[t.projectRoot?je(a(t.projectRoot,o.file)):je(o.file)]}return{paths:n}}function _s(e,t={}){const r=t.resolvePath??Bt,a=r(e,"node_modules","@fps-games","editor");return{editorPackageRoot:a,bundledEditorPackagesRoot:r(a,"node_modules","@fps-games"),bundledEditorNodeModulesRoot:r(a,"node_modules"),editorPackageJsonPath:r(a,"package.json")}}function Os(e){const t=e.resolvePath??Bt,r=e.bundledEditorNodeModulesRoot??br(e.bundledEditorPackagesRoot),a=e.editorPackageRoot??br(r);return{entries:Ye.filter(o=>o.resolution===x&&typeof o.bundledFile=="string").map(o=>({packageId:o.packageId,file:t(o.bundledRoot==="editor-package"?a:r,...o.bundledFile.split("/"))}))}}function js(e,t){return e.entries.filter(r=>!t(r.file)).map(r=>({packageId:r.packageId,file:r.file}))}function Ns(e,t="The @fps-games editor package aliases point to missing files."){return[t,...e.map(r=>`- ${r.packageId}: ${r.file}`)].join(`
|
|
6
|
-
`)}function Bt(...e){return e.filter(t=>t.length>0).join("/").replace(/\/+/g,"/")}function je(e){return e.replace(/\\/g,"/").replace(/\/+/g,"/")}function br(e){const t=je(e).replace(/\/$/,""),r=t.lastIndexOf("/");return r>0?t.slice(0,r):"."}function Pi(e){return(Array.isArray(e)?e:[e]).map(je)}function Ai(e,t){const r=je(e).replace(/\/$/,""),a=je(t).replace(/\/$/,""),n=r.split("/").filter(Boolean),o=a.split("/").filter(Boolean);let i=0;for(;i<n.length&&i<o.length&&n[i]===o[i];)i+=1;const s=n.slice(i).map(()=>".."),l=o.slice(i);return[...s,...l].join("/")||"."}const Ti=new Set(["leftToRight","rightToLeft","bottomToTop","topToBottom"]);function ks(e){const t=oa(e),r={uiKind:e.uiKind,size:{width:e.size.width,depth:e.size.depth},layers:e.layers.map((a,n)=>Ri(a,n)),rendering:{textureWidth:t.width,textureHeight:t.height}};return e.aspectSourceLayerId&&(r.aspectSourceLayerId=e.aspectSourceLayerId),typeof e.lockAspectToBorder=="boolean"&&(r.lockAspectToBorder=e.lockAspectToBorder),e.mask&&(r.mask={...typeof e.mask.enabled=="boolean"?{enabled:e.mask.enabled}:{},...e.mask.source==="roundedRect"||e.mask.source==="borderAlpha"||e.mask.source==="texture"?{source:e.mask.source}:{},...e.mask.textureId?{textureId:e.mask.textureId}:{},...typeof e.mask.cornerRadius=="number"&&Number.isFinite(e.mask.cornerRadius)?{cornerRadius:e.mask.cornerRadius}:{},...typeof e.mask.padding=="number"&&Number.isFinite(e.mask.padding)?{padding:e.mask.padding}:{}}),e.rendering&&(r.rendering={...r.rendering,...typeof e.rendering.alphaIndex=="number"&&Number.isFinite(e.rendering.alphaIndex)?{alphaIndex:e.rendering.alphaIndex}:{},...typeof e.rendering.diffuseTextureLevel=="number"&&Number.isFinite(e.rendering.diffuseTextureLevel)?{diffuseTextureLevel:e.rendering.diffuseTextureLevel}:{},...typeof e.rendering.emissiveTextureLevel=="number"&&Number.isFinite(e.rendering.emissiveTextureLevel)?{emissiveTextureLevel:e.rendering.emissiveTextureLevel}:{}}),r}function Ri(e,t){const r=ia(e.rotationDeg??0)??0,a={id:e.id,role:e.role,zOrder:typeof e.zOrder=="number"&&Number.isFinite(e.zOrder)?e.zOrder:t,rect:vi(e.rect),...r!==0?{rotationDeg:r}:{},...typeof e.enabled=="boolean"?{enabled:e.enabled}:{},...typeof e.opacity=="number"&&Number.isFinite(e.opacity)?{opacity:e.opacity}:{}};return e.kind==="texture"?{...a,kind:"texture",...e.textureId?{textureId:e.textureId}:{},...e.tint?{tint:Ce(e.tint)}:{},...e.imageFit?{imageFit:e.imageFit}:{}}:e.kind==="textureProgress"?{...a,kind:"textureProgress",...e.textureId?{textureId:e.textureId}:{},value:yr(e.value),...e.tint?{tint:Ce(e.tint)}:{},...e.imageFit?{imageFit:e.imageFit}:{},...Sr(e.direction)?{direction:e.direction}:{}}:e.kind==="color"?{...a,kind:"color",color:Ce(e.color)}:e.kind==="progress"?{...a,kind:"progress",value:yr(e.value??0),color:Ce(e.color),...Sr(e.direction)?{direction:e.direction}:{}}:{...a,kind:"text",text:{value:e.text.value,color:Ce(e.text.color),...e.text.fontFamily?{fontFamily:e.text.fontFamily}:{},...typeof e.text.fontSize=="number"&&Number.isFinite(e.text.fontSize)?{fontSize:e.text.fontSize}:{},...e.text.fontWeight!=null?{fontWeight:String(e.text.fontWeight)}:{},...e.text.strokeColor?{strokeColor:Ce(e.text.strokeColor)}:{},...typeof e.text.strokeWidth=="number"&&Number.isFinite(e.text.strokeWidth)?{strokeWidth:e.text.strokeWidth}:{},...e.text.align==="left"||e.text.align==="center"||e.text.align==="right"?{align:e.text.align}:{},...e.text.baseline==="top"||e.text.baseline==="middle"||e.text.baseline==="bottom"?{baseline:e.text.baseline}:{}}}}function vi(e){return{x:e.x,z:e.z,width:e.width,depth:e.depth}}function Ce(e){return{r:e.r,g:e.g,b:e.b,...typeof e.a=="number"?{a:e.a}:{}}}function Sr(e){return typeof e=="string"&&Ti.has(e)}function yr(e){return Number.isFinite(e)?Math.max(0,Math.min(1,e)):0}const qr=1,wi="/__fps_editor/entry-manifest.json",Ci="no-cache",Mi="public, max-age=31536000, immutable";function Di(e){return ji({schemaVersion:qr,build:{packageName:le(e.packageName,"packageName"),version:le(e.version,"version"),buildId:le(e.buildId,"buildId"),distHash:le(e.distHash,"distHash")},entry:{kind:"module",url:Yr(e.entryUrl),cache:e.entryCache??"revalidate"},cacheControl:{manifest:Ci,immutableResource:Mi}})}function _i(e){if(!Tt(e))throw new Error("Editor entry manifest must be an object.");if(e.schemaVersion!==qr)throw new Error(`Unsupported Editor entry manifest schemaVersion: ${String(e.schemaVersion)}.`);if(!Tt(e.build))throw new Error("Editor entry manifest build must be an object.");if(!Tt(e.entry))throw new Error("Editor entry manifest entry must be an object.");if(e.entry.kind!=="module")throw new Error("Editor entry manifest entry.kind must be module.");if(e.entry.cache!=="revalidate"&&e.entry.cache!=="immutable")throw new Error("Editor entry manifest entry.cache must be revalidate or immutable.");return Di({packageName:le(e.build.packageName,"build.packageName"),version:le(e.build.version,"build.version"),buildId:le(e.build.buildId,"build.buildId"),distHash:le(e.build.distHash,"build.distHash"),entryUrl:Yr(e.entry.url),entryCache:e.entry.cache})}function Oi(e,t){const r=new URL(e.entry.url,le(t.baseUrl,"baseUrl"));r.searchParams.set("fps-editor-build",e.build.buildId);const a=t.retryAttempt??1;if(!Number.isInteger(a)||a<1)throw new Error("Editor entry retryAttempt must be a positive integer.");return a>1?r.searchParams.set("fps-editor-entry-retry",String(a)):r.searchParams.delete("fps-editor-entry-retry"),r.href}function ji(e){return Object.freeze({...e,build:Object.freeze({...e.build}),entry:Object.freeze({...e.entry}),cacheControl:Object.freeze({...e.cacheControl})})}function Yr(e){const t=le(e,"entry.url");let r;try{r=new URL(t,"https://fps-editor.invalid/")}catch{throw new Error(`Editor entry manifest entry.url is invalid: ${t}.`)}if(r.protocol!=="http:"&&r.protocol!=="https:")throw new Error(`Editor entry manifest entry.url must use HTTP(S): ${t}.`);return t}function le(e,t){if(typeof e!="string"||!e.trim())throw new Error(`Editor entry manifest ${t} must be a non-empty string.`);return e.trim()}function Tt(e){return!!e&&typeof e=="object"&&!Array.isArray(e)}function Ni(e){const t=new URL(e.manifestUrl??wi,e.baseUrl).href,r=e.fetchManifest??Li();let a=null,n,o=!1,i=0,s=null;return Object.freeze({load:d=>{if(o)return Promise.resolve(n);if(s)return s;const h=(async()=>{Rt(d);const c=a??await ki({fetchManifest:r,manifestUrl:t,signal:d});Rt(d),a=c;const u=i+1,g=Oi(c,{baseUrl:e.baseUrl,retryAttempt:u});i=u;const E=await e.importModule(g);return Rt(d),n=E,o=!0,E})();return s=h,h.finally(()=>{s===h&&(s=null)}).catch(()=>{}),h},getManifest:()=>a,getImportAttempt:()=>i})}async function ki(e){const t=await e.fetchManifest(e.manifestUrl,{cache:"no-cache",headers:Object.freeze({accept:"application/json"}),...e.signal?{signal:e.signal}:{}});if(!t.ok)throw new Error(`Editor entry manifest request failed with HTTP ${t.status}.`);return _i(await t.json())}function Li(){const e=globalThis.fetch;if(typeof e!="function")throw new Error("Editor entry module loader requires fetchManifest outside a browser.");return e.bind(globalThis)}function Rt(e){if(!e?.aborted)return;const t=new Error("Editor entry module load was aborted.");throw t.name="AbortError",t}function xi(e={}){const t=e.performance??zi(),r=e.maxResourceDetails??100,a=e.resourceTimingBufferSize??2e3;if(!Number.isInteger(r)||r<0)throw new Error("Editor entry maxResourceDetails must be a non-negative integer.");if(!Number.isInteger(a)||a<1)throw new Error("Editor entry resourceTimingBufferSize must be a positive integer.");return t.setResourceTimingBufferSize?.(a),Object.freeze({mark(){return Object.freeze({startedAtMs:t.now(),resourceIndex:t.getEntriesByType("resource").length})},measure(n){const o=t.getEntriesByType("resource").slice(n.resourceIndex).flatMap(Bi).filter(l=>e.includeResource?.(l)??!0).map(Gi),i={network:0,revalidated:0,cache:0,unknown:0};for(const l of o)i[l.cacheStatus]+=1;const s=o.slice(0,r);return Object.freeze({durationMs:Math.max(0,t.now()-n.startedAtMs),resourceCount:o.length,transferSize:vt(o,l=>l.transferSize),encodedBodySize:vt(o,l=>l.encodedBodySize),decodedBodySize:vt(o,l=>l.decodedBodySize),cacheCounts:Object.freeze(i),resources:Object.freeze(s),truncatedResourceCount:o.length-s.length})}})}function Gi(e){const t=Oe(e.transferSize),r=Oe(e.encodedBodySize),a=Oe(e.decodedBodySize);return Object.freeze({name:e.name,initiatorType:e.initiatorType??"",startTimeMs:e.startTime,durationMs:e.duration,transferSize:t,encodedBodySize:r,decodedBodySize:a,cacheStatus:Fi({transferSize:t,encodedBodySize:r,decodedBodySize:a})})}function Fi(e){return e.transferSize===0?e.encodedBodySize>0||e.decodedBodySize>0?"cache":"unknown":e.encodedBodySize>0&&e.transferSize<e.encodedBodySize?"revalidated":"network"}function Bi(e){if(!e||typeof e!="object"||Array.isArray(e))return[];const t=e;return typeof t.name!="string"||!t.name?[]:!Number.isFinite(t.startTime)||!Number.isFinite(t.duration)?[]:[{name:t.name,initiatorType:typeof t.initiatorType=="string"?t.initiatorType:"",startTime:t.startTime,duration:t.duration,transferSize:Oe(t.transferSize),encodedBodySize:Oe(t.encodedBodySize),decodedBodySize:Oe(t.decodedBodySize)}]}function zi(){const e=globalThis.performance;if(!e||typeof e!="object")throw new Error("Editor entry performance tracker requires a performance adapter.");const t=e;if(typeof t.now!="function"||typeof t.getEntriesByType!="function")throw new Error("Editor entry performance tracker requires now() and getEntriesByType().");return t}function Oe(e){return typeof e=="number"&&Number.isFinite(e)&&e>=0?e:0}function vt(e,t){return e.reduce((r,a)=>r+t(a),0)}async function Ls(e,t){const r=String(e.method??"GET").toUpperCase();if(r==="OPTIONS")return Hr(204);try{if(r==="GET"){const l=Vi(await t.loadConfig?.()),d=l.renderingConfig;Jt(d);const h=Xt(d);return V(200,{ok:!0,...l.response,renderingConfig:Hi(d),normalized:h,summary:Qt(h)})}if(r!=="POST")return V(405,{ok:!1,error:"method_not_allowed"});const a=e.body??await t.readBody?.(e)??{},n=He(a.renderingConfig);if(!n)return V(400,{ok:!1,error:"missing_rendering_config"});Jt(n);const o=Xt(n),i=Qt(o),s=await t.saveConfig?.({body:a,renderingConfig:n,normalized:o,summary:i});return V(200,{ok:!0,...s??{},renderingConfig:n,normalized:o,summary:i})}catch(a){const n=Ui(a),o=$i(a);return V(n?.startsWith("schema.")?400:500,{ok:!1,error:n??(a instanceof Error?a.message:String(a)),...o?{path:o}:{},details:He(a?.details)})}}function Ui(e){const t=e?.code;return typeof t=="string"&&t?t:null}function $i(e){const t=e?.path;return typeof t=="string"&&t?t:null}function He(e){return e&&typeof e=="object"&&!Array.isArray(e)?e:null}function Hi(e){return He(e)??{}}function Vi(e){const t=He(e);return t&&Object.prototype.hasOwnProperty.call(t,"renderingConfig")?{renderingConfig:t.renderingConfig,response:He(t.response)??{}}:{renderingConfig:e??{},response:{}}}function qi(e){const t=e.root??document.body,r=t.ownerDocument,a=e.tooltipDataAttribute??"editorRuntimeDebugTooltip",n=e.tooltipDelayMs??160;let o=e.initialOpen===!0,i=e.language,s=0,l=null,d=0;const h=e.panelMode==="managed",c=r.createElement("div");c.style.cssText=h?["position:relative","display:none","width:100%","max-width:100%","flex-direction:column","align-items:stretch",'font-family:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',"color:#edf2ff","pointer-events:none"].join(";"):["position:fixed",`right:${Ct(e.placement?.right??16)}`,`bottom:${Ct(e.placement?.bottom??16)}`,`z-index:${e.placement?.zIndex??2147482600}`,"display:none","flex-direction:column","align-items:flex-end",'font-family:system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',"color:#edf2ff","pointer-events:none"].join(";");const u=r.createElement("button");u.type="button",u.textContent=e.toggleLabel,u.style.cssText=["pointer-events:auto",h?"align-self:flex-end":"","height:34px","padding:0 12px","border:1px solid rgba(148, 163, 184, 0.36)","border-radius:7px","background:rgba(15, 23, 42, 0.88)","color:#f8fafc",'font:600 12px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',"box-shadow:0 10px 26px rgba(0,0,0,0.28)","cursor:pointer"].join(";");const g=r.createElement("section");g.style.cssText=["pointer-events:auto",`width:${h?"100%":Ct(e.placement?.width??320)}`,"max-height:min(70vh, 720px)","overflow:auto","box-sizing:border-box","margin-bottom:8px","padding:12px","border:1px solid rgba(148, 163, 184, 0.28)","border-radius:8px","background:rgba(13, 18, 28, 0.94)","box-shadow:0 18px 44px rgba(0,0,0,0.34)","backdrop-filter:blur(8px)","display:none"].join(";");const E=r.createElement("div");E.style.cssText="display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px;";const p=r.createElement("div");p.style.cssText="font-size:13px;font-weight:700;line-height:1.2;";const m=r.createElement("div");m.style.cssText="display:flex;align-items:center;gap:8px;";const S=r.createElement("div");S.style.cssText="font-size:11px;color:#93c5fd;line-height:1.2;";const T=r.createElement("button");T.type="button",T.style.cssText=["height:24px","padding:0 8px","border:1px solid rgba(148, 163, 184, 0.3)","border-radius:6px","background:rgba(30, 41, 59, 0.8)","color:#dbeafe",'font:700 11px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',"cursor:pointer"].join(";"),m.append(S,T),E.append(p,m);const A=r.createElement("div"),k=r.createElement("div");k.style.cssText="display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px;";const M=r.createElement("div");M.style.cssText="min-height:16px;margin-top:8px;font-size:11px;color:#94a3b8;",g.append(E,A,k,M),c.append(g,u),t.append(c);const R=r.createElement("div");R.style.cssText=["position:fixed","z-index:2147483601","display:none","max-width:min(280px, calc(100vw - 16px))","box-sizing:border-box","padding:5px 7px","border:1px solid rgba(148, 163, 184, 0.32)","border-radius:5px","background:rgba(15, 23, 42, 0.94)","box-shadow:0 10px 26px rgba(0, 0, 0, 0.3)","color:#dbeafe",'font:700 11px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',"line-height:1.35","white-space:normal","pointer-events:none"].join(";"),t.append(R);const U={root:t,ownerDocument:r,container:c,panel:g,title:p,modeLabel:S,languageButton:T,toggleButton:u,content:A,actions:k,status:M,get open(){return o},get language(){return i},setOpen(C){o=C,O(),e.onOpenChange?.(o)},setLanguageChrome(C){i=C.language,p.textContent=C.title,S.textContent=C.modeLabel,T.textContent=C.languageButtonLabel,U.setTooltip(T,C.languageTooltip??""),U.setTooltip(u,C.toggleTooltip??""),C.toggleTooltip&&u.setAttribute("aria-label",C.toggleTooltip)},setToggleActive(C){u.style.background=C?"rgba(29, 78, 216, 0.9)":"rgba(15, 23, 42, 0.88)"},setStatus(C,B={}){M.textContent=C,M.style.color=B.tone==="error"?"#fca5a5":"#94a3b8",s&&r.defaultView?.clearTimeout(s),s=0,!B.sticky&&(s=r.defaultView?.setTimeout(()=>{M.textContent===C&&(M.textContent=""),s=0},1800)??0)},setTooltip(C,B){const W=B.trim();if(!W){delete C.dataset[a],C.removeAttribute("title");return}C.dataset[a]=W,C.removeAttribute("title")},hideTooltip:J,dispose(){s&&r.defaultView?.clearTimeout(s),pe(),c.removeEventListener("pointerover",w),c.removeEventListener("pointerout",D),c.removeEventListener("focusin",K),c.removeEventListener("focusout",J),c.removeEventListener("click",J),c.remove(),R.remove()}};return u.addEventListener("click",()=>U.setOpen(!o)),c.addEventListener("pointerover",w),c.addEventListener("pointerout",D),c.addEventListener("focusin",K),c.addEventListener("focusout",J),c.addEventListener("click",J),U.setLanguageChrome({title:e.title,modeLabel:e.modeLabel,languageButtonLabel:e.languageButtonLabel,toggleTooltip:e.toggleTooltip,languageTooltip:e.languageTooltip,language:i}),O(),U;function O(){c.style.display="flex",g.style.display=o?"block":"none",U.setToggleActive(o),o||J()}function w(C){const B=$(C.target);!B||B===l||me(B)}function D(C){if(!l)return;const B=C.relatedTarget instanceof Node?C.relatedTarget:null;B&&l.contains(B)||J()}function K(C){const B=$(C.target);B&&me(B)}function $(C){return C instanceof HTMLElement?C.closest(`[data-${Wi(a)}]`):null}function me(C){const B=C.dataset[a]?.trim();if(!B){J();return}pe(),l=C,d=r.defaultView?.setTimeout(()=>{d=0,l===C&&Ie(C,B)},n)??0}function Ie(C,B){R.textContent=B,R.style.display="",R.style.left="0px",R.style.top="0px";const W=C.getBoundingClientRect(),re=R.getBoundingClientRect(),Z=r.defaultView?.innerWidth??r.documentElement.clientWidth,ee=r.defaultView?.innerHeight??r.documentElement.clientHeight,Q=Math.max(8,Math.min(W.left+(W.width-re.width)/2,Z-re.width-8)),y=W.bottom+7,I=W.top-re.height-7,_=y+re.height<=ee-8?y:Math.max(8,I);R.style.left=`${Q}px`,R.style.top=`${_}px`}function J(){pe(),l=null,R.style.display="none",R.textContent=""}function pe(){d&&(r.defaultView?.clearTimeout(d),d=0)}}function Ir(e){const t=e.createElement("button");return t.type="button",t.style.cssText=["height:28px","border:1px solid rgba(148, 163, 184, 0.32)","border-radius:6px","background:rgba(30, 41, 59, 0.86)","color:#f8fafc",'font:600 11px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',"cursor:pointer"].join(";"),t}function X(e){const t=e.createElement("label");return t.style.cssText="font-size:11px;color:#cbd5e1;",t}function et(e){const t=e.createElement("div");return t.style.cssText="display:grid;grid-template-columns:1fr 108px;gap:7px 8px;align-items:center;",t}function tt(e){const t=e.createElement("div");return t.style.cssText="display:flex;flex-direction:column;gap:7px;",t}function rt(e){const t=e.createElement("div");return t.style.cssText="font-size:11px;font-weight:800;color:#e2e8f0;letter-spacing:0;text-transform:none;",t}function Me(e,t={}){const r=e.createElement("input");return r.type="number",t.step!=null&&(r.step=String(t.step)),t.min!=null&&(r.min=String(t.min)),t.max!=null&&(r.max=String(t.max)),r.inputMode="decimal",r.style.cssText=Wr(),r}function Yi(e,t={}){const r=e.createElement("input");return r.type="range",t.step!=null&&(r.step=String(t.step)),t.min!=null&&(r.min=String(t.min)),t.max!=null&&(r.max=String(t.max)),r.style.cssText="width:100%;min-width:0;height:18px;margin:0;accent-color:#3b82f6;cursor:pointer;",r}function wt(e){const t=e.createElement("input");return t.type="color",t.style.cssText=[Wr(),"padding:2px 4px"].join(";"),t}function Pr(e){const t=e.createElement("input");return t.type="checkbox",t.style.cssText="justify-self:start;width:16px;height:16px;accent-color:#3b82f6;",t}function Ar(e){const t=e.createElement("div");return t.style.cssText=["min-height:26px","box-sizing:border-box","padding:5px 6px","border:1px solid rgba(148, 163, 184, 0.2)","border-radius:6px","background:rgba(15, 23, 42, 0.58)","color:#dbeafe","font:11px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace","line-height:1.35","white-space:normal"].join(";"),t}function Wr(e="12px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace"){return["width:108px","height:26px","min-width:0","box-sizing:border-box","border:1px solid rgba(148, 163, 184, 0.34)","border-radius:6px","background:rgba(15, 23, 42, 0.84)","color:#f8fafc","padding:0 6px",`font:${e}`].join(";")}function Ct(e){return typeof e=="number"?`${e}px`:e}function Wi(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}function Tr(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t}function xs(e){const t=e.root??document.body,r=t.ownerDocument;let a=Ia(r.defaultView),n=!1,o=!1,i=0,s=null,l=null;const d=qi({root:t,toggleLabel:"Light",title:ae().title,modeLabel:ae().runtime,languageButtonLabel:ae().languageButton,toggleTooltip:Et().toggleTitle,languageTooltip:Et().languageButton,tooltipDataAttribute:"lightingDebugTooltip",initialOpen:Sa(r.defaultView),language:a,panelMode:e.panelMode,placement:{right:100,width:330,...e.placement},onOpenChange:f=>{ya(r.defaultView,f),f&&ke(0)}}),h=tt(r),c=rt(r),u=et(r),g=Pr(r),E=Me(r,Ee("environmentIntensity")),p=wt(r),m=wt(r);u.append(X(r),g,X(r),E,X(r),p,X(r),m),h.append(c,u);const S=tt(r),T=rt(r),A=et(r),k=Me(r,Ee("iblIntensity")),M=Me(r,Ee("iblRotationY"));A.append(X(r),k,X(r),M),S.append(T,A);const R=tt(r),U=rt(r),O=et(r),w=Pr(r),D=Me(r,Ee("directionalIntensity")),K=Me(r,Ee("directionalHorizontalAngle")),$=Me(r,Ee("directionalElevationAngle")),me=wt(r),Ie=Ar(r),J=Ar(r);O.append(X(r),w,X(r),D,X(r),K,X(r),$,X(r),me,X(r),Ie,X(r),J),R.append(U,O);const pe=tt(r),C=rt(r),B=et(r),W=f=>{const b=r.createElement("div");b.style.cssText="display:grid;grid-template-columns:minmax(54px,1fr) 36px;align-items:center;gap:6px;min-width:0;";const v=Yi(r,Ee(f)),L=r.createElement("output");return L.style.cssText="font:11px ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;color:#dbeafe;text-align:right;font-variant-numeric:tabular-nums;",v.dataset.lightingDebugOutputId=f,L.dataset.lightingDebugOutput=f,v.addEventListener("input",()=>{L.value=he(Number(v.value))}),b.append(v,L),{input:v,wrapper:b}},re=W("shadowStrength"),Z=W("shadowSoftness");B.append(X(r),re.wrapper,X(r),Z.wrapper),pe.append(C,B),d.content.style.cssText="display:flex;flex-direction:column;gap:10px;",d.content.append(h,S,R,pe);const ee=Ir(r),Q=Ir(r);d.actions.append(ee,Q);const y=O.children,I={environmentEnabled:u.children[0],environmentIntensity:u.children[2],environmentDiffuseColor:u.children[4],environmentGroundColor:u.children[6],iblIntensity:A.children[0],iblRotationY:A.children[2],directionalEnabled:y[0],directionalIntensity:y[2],directionalHorizontalAngle:y[4],directionalElevationAngle:y[6],directionalDiffuseColor:y[8],rawDirection:y[10],shadowReadout:y[12],shadowStrength:B.children[0],shadowSoftness:B.children[2]},_=new Map([["environmentIntensity",E],["iblIntensity",k],["iblRotationY",M],["directionalIntensity",D],["directionalHorizontalAngle",K],["directionalElevationAngle",$],["shadowStrength",re.input],["shadowSoftness",Z.input]]),q=new Map([["environmentDiffuseColor",p],["environmentGroundColor",m],["directionalDiffuseColor",me]]),te=[g,w];g.addEventListener("change",()=>{Re({kind:"enabled",target:"environment"})}),w.addEventListener("change",()=>{Re({kind:"enabled",target:"directional"})});for(const[f,b]of _)b.addEventListener("input",()=>{b.type==="number"&&St(b.value)===null||Re({kind:"number",field:f})}),b.type==="number"&&(b.addEventListener("blur",()=>$t(f)),b.addEventListener("keydown",v=>{v.key==="Enter"?(v.preventDefault(),$t(f),b.blur()):v.key==="Escape"&&(v.preventDefault(),Ht(f),b.blur())}));for(const[f,b]of q)b.addEventListener("input",()=>Re({kind:"color",field:f}));return d.languageButton.addEventListener("click",()=>{a=a==="zh"?"en":"zh",Pa(r.defaultView,a),Vt()}),ee.addEventListener("click",()=>{!s||n||(zt(s),pt(s),d.setStatus(ae().resetStatus))}),Q.addEventListener("click",()=>{const f=l??e.readSnapshot();if(!f||n||!it(f)){d.setStatus(ae().missingBindingStatus,{tone:"error"});return}n=!0,se(f),d.setStatus(ae().savingStatus,{sticky:!0}),Promise.resolve(e.saveSnapshot(f)).then(()=>{d.setStatus(ae().savedStatus,{sticky:!0}),e.reloadAfterSave!==!1&&r.defaultView?.location.reload()}).catch(b=>{console.error("[EditorRuntimeLightingDebugPanel] Save lighting failed",b),n=!1,d.setStatus(Ki(b,ae().saveFailed),{sticky:!0,tone:"error"}),se(l)})}),Vt(),We(),{dispose(){o=!0,i&&r.defaultView?.clearTimeout(i),d.dispose()}};function We(){if(o)return;i=0;const f=e.readSnapshot();f?(s||(s=Se(f)),l=Se(f)):(s=null,l=null),se(f),ke(d.open?250:1e3)}function ke(f){o||(i&&r.defaultView?.clearTimeout(i),i=r.defaultView?.setTimeout(We,f)??0)}function se(f){if(d.container.style.display=f?"flex":"none",!f){d.hideTooltip();return}for(const v of[..._.values(),...q.values(),...te])v.disabled=n;const b=!!f.shadow.shadowMap?.appearance;S.style.display=f.environmentTexture?"flex":"none",pe.style.display=b?"flex":"none",re.input.disabled=n||!b,Z.input.disabled=n||!b,ee.disabled=!s||n,Q.disabled=n||!it(f),Q.style.opacity=Q.disabled?"0.68":"1",Q.style.cursor=Q.disabled?"not-allowed":"pointer",en()||zt(f),ht(f),!it(f)&&!n&&d.setStatus(ae().missingBindingStatus,{tone:"error"})}function Re(f){if(n)return;const b=l??e.readSnapshot();if(!b)return;const v=Ut(b,f);pt(v),Xr(v)}function pt(f){e.applySnapshot(f),l=Se(f),ht(f)}function zt(f){g.checked=f.environment.enabled,w.checked=f.directional.enabled,ne("environmentIntensity",f.environment.light.intensity),Ke("environmentDiffuseColor",f.environment.light.diffuseColor??{r:1,g:1,b:1}),Ke("environmentGroundColor",f.environment.light.groundColor??{r:.48,g:.52,b:.62}),f.environmentTexture&&(ne("iblIntensity",f.environmentTexture.iblIntensity),ne("iblRotationY",f.environmentTexture.iblRotationY));const b=Mt(f.directional.light.direction);ne("directionalIntensity",f.directional.light.intensity),ne("directionalHorizontalAngle",b.horizontalAngleDeg),ne("directionalElevationAngle",b.elevationAngleDeg),Ke("directionalDiffuseColor",f.directional.light.diffuseColor??{r:1,g:1,b:1}),f.shadow.shadowMap?.appearance&&(ne("shadowStrength",f.shadow.shadowMap.appearance.strength),ne("shadowSoftness",f.shadow.shadowMap.appearance.softness))}function Xr(f){const b=Tr(r);b!==g&&(g.checked=f.environment.enabled),b!==w&&(w.checked=f.directional.enabled);for(const v of _.keys()){const L=_.get(v);!L||b===L||ne(v,Le(f,v))}for(const v of q.keys()){const L=q.get(v);!L||b===L||Ke(v,nr(f,v))}}function Ut(f,b){if(b.kind==="enabled"){const L=b.target==="environment"?g.checked:w.checked;return va(f,b.target,L)}if(b.kind==="color"){const L=nr(f,b.field);return Ra(f,b.field,Zr(b.field,L))}const v=Le(f,b.field);return Ta(f,b.field,Qr(b.field,v))}function ne(f,b){const v=_.get(f);if(!v)return;v.value=String(sa(b));const L=d.container.querySelector(`output[data-lighting-debug-output="${f}"]`);L&&(L.value=he(b))}function Qr(f,b){const v=_.get(f);if(!v)return b;const L=St(v.value);if(L===null)return b;const Je=Ee(f),Xe=Je.min??Number.NEGATIVE_INFINITY,tn=Je.max??Number.POSITIVE_INFINITY;return Math.min(tn,Math.max(Xe,L))}function $t(f){if(n)return;const b=l??e.readSnapshot();if(!b)return;const v=_.get(f);if(!v||St(v.value)===null){Ht(f);return}const L=Ut(b,{kind:"number",field:f}),Je=Le(b,f),Xe=Le(L,f);Math.abs(Xe-Je)>1e-6&&pt(L),ne(f,Xe)}function Ht(f){const b=l??e.readSnapshot();b&&ne(f,Le(b,f))}function Ke(f,b){const v=q.get(f);v&&(v.value=ca(b))}function Zr(f,b){const v=q.get(f);return v?da(v.value,b):b}function ht(f){const b=f.directional.light.direction;Ie.textContent=`x ${he(b.x)} y ${he(b.y)} z ${he(b.z)}`;const v=ba(f.shadow.mode,ae()),L=f.shadow.shadowMap;J.textContent=f.shadow.mode==="shadow-map"&&L?[`${v} / ${L.backend??"pending"}`,...L.appearance?[`strength ${he(L.appearance.strength)} softness ${he(L.appearance.softness)}`]:[],`depth S ${L.staticRefreshCount??"-"} D ${L.dynamicRefreshCount??"-"} C ${L.compositeRefreshCount??"-"}`,L.lastRefreshReasons[L.lastRefreshReasons.length-1]??"ready"].join(`
|
|
7
|
-
`):`${v}
|
|
8
|
-
shadow length x${he(f.shadow.projectedLengthMultiplier)}`}function Vt(){const f=ae(),b=Et();d.setLanguageChrome({title:f.title,modeLabel:f.runtime,languageButtonLabel:f.languageButton,toggleTooltip:b.toggleTitle,languageTooltip:b.languageButton,language:a}),c.textContent=f.environmentSection,T.textContent=f.environmentTextureSection,U.textContent=f.directionalSection,C.textContent=f.shadowSection,I.environmentEnabled.textContent=f.enabled,I.environmentIntensity.textContent=f.intensity,I.environmentDiffuseColor.textContent=f.skyLightColor,I.environmentGroundColor.textContent=f.groundColor,I.iblIntensity.textContent=f.iblIntensity,I.iblRotationY.textContent=f.iblRotationY,I.directionalEnabled.textContent=f.enabled,I.directionalIntensity.textContent=f.intensity,I.directionalHorizontalAngle.textContent=f.horizontalAngle,I.directionalElevationAngle.textContent=f.elevationAngle,I.directionalDiffuseColor.textContent=f.lightColor,I.rawDirection.textContent=f.rawDirection,I.shadowReadout.textContent=f.shadowReadout,I.shadowStrength.textContent=f.shadowStrength,I.shadowSoftness.textContent=f.shadowSoftness;for(const[v,L]of _)L.setAttribute("aria-label",I[v].textContent??v);d.setTooltip(g,b.enabled),d.setTooltip(I.environmentEnabled,b.enabled),d.setTooltip(I.environmentIntensity,b.environmentIntensity),d.setTooltip(E,b.environmentIntensity),d.setTooltip(I.environmentDiffuseColor,b.skyLightColor),d.setTooltip(p,b.skyLightColor),d.setTooltip(I.environmentGroundColor,b.groundColor),d.setTooltip(m,b.groundColor),d.setTooltip(I.iblIntensity,b.iblIntensity),d.setTooltip(k,b.iblIntensity),d.setTooltip(I.iblRotationY,b.iblRotationY),d.setTooltip(M,b.iblRotationY),d.setTooltip(w,b.enabled),d.setTooltip(I.directionalEnabled,b.enabled),d.setTooltip(I.directionalIntensity,b.directionalIntensity),d.setTooltip(D,b.directionalIntensity),d.setTooltip(I.directionalHorizontalAngle,b.horizontalAngle),d.setTooltip(K,b.horizontalAngle),d.setTooltip(I.directionalElevationAngle,b.elevationAngle),d.setTooltip($,b.elevationAngle),d.setTooltip(I.directionalDiffuseColor,b.lightColor),d.setTooltip(me,b.lightColor),d.setTooltip(I.rawDirection,b.rawDirection),d.setTooltip(Ie,b.rawDirection),d.setTooltip(I.shadowReadout,b.shadowReadout),d.setTooltip(J,b.shadowReadout),d.setTooltip(I.shadowStrength,b.shadowStrength),d.setTooltip(re.input,b.shadowStrength),d.setTooltip(I.shadowSoftness,b.shadowSoftness),d.setTooltip(Z.input,b.shadowSoftness),ee.textContent=f.reset,d.setTooltip(ee,b.reset),Q.textContent=f.save,d.setTooltip(Q,b.save),l&&ht(l)}function en(){const f=Tr(r);return f===d.languageButton||f===g||f===w||[..._.values()].includes(f)||[...q.values()].includes(f)}function ae(){return ha(a)}function Et(){return Ea(a)}}function Ki(e,t){const r=e instanceof Error?e.message:String(e??"");return r?`${t}: ${r}`:t}const Ji=Object.freeze({preparingEditor:"正在准备编辑器…",enterEditor:"进入编辑场景",checkingEditor:"正在检查编辑环境…",enteringEditor:"正在进入编辑界面…",restoringPlayMode:"正在恢复游戏…",retryEditor:"重试进入编辑器",reloadPage:"刷新页面恢复"});function Gs(e){const t=e.browser?.window??window,r=e.browser?.document??t.document,a=e.browser?.canvasId??"renderCanvas",n=e.initialMode??"play",o=e.initialModeIntent??"fresh",i=Object.freeze({...Ji,...e.browser?.entryContent}),s=(y,I)=>{e.reportError?e.reportError(y,I):console.error(`[FpsGameEditor] ${y}`,I)};la({scope:t,reportError:y=>s("Browser Command Host failed",y)});const l=Ni({baseUrl:e.editorModule.baseUrl,...e.editorModule.manifestUrl?{manifestUrl:e.editorModule.manifestUrl}:{},importModule:e.editorModule.importModule}),d=xi({performance:t.performance}),h=new Set,c=new Set,u=new WeakMap;let g=null,E=null,p=nt(),m=null,S=null,T=!1,A=null,k=!1,M=null,R;const U=()=>A,O=()=>{if(k)return;const y=t;y.__FPS_EDITOR_ENTRY_DIAGNOSTICS__=p},w=()=>Object.freeze({entry:A??R.getState()}),D=()=>{if(k)return;const y=w();for(const I of[...h])try{I(y)}catch(_){s("editor entry listener failed",_)}},K=y=>{if(y.phase==="preparing"){m=d.mark(),p=nt({...p,enter:null}),O();return}if(!(y.phase==="editing"||y.phase==="failed"&&y.failure?.phase!=="warmup")||!m)return;const _=m;m=null,p=nt({...p,enter:d.measure(_)}),O()},$=y=>{const I=u.get(y);if(I)return I;const _=Promise.resolve().then(()=>y.switcher.dispose());return u.set(y,_),_.finally(()=>{u.get(y)===_&&u.delete(y)}).catch(()=>{}),_},me=async()=>{const y=[];for(const I of[...c])try{await $(I),c.delete(I)}catch(_){y.push(_)}at(y,"Retired Local Editor entry cleanup failed.")},Ie=y=>{g===y&&(g=null),c.add(y),S!==null&&t.clearTimeout(S),S=t.setTimeout(()=>{if(S=null,!(k||A)){try{R.reset()}catch(I){s("editor entry reset after play-mode return failed",I);return}R.start().catch(I=>s("editor warmup after play-mode return failed",I))}},0)},J=y=>{if(A)return Promise.reject(new ve(A.failure?.message??i.reloadPage));if(k||y.aborted)return Promise.reject(ot());if(g)return Promise.resolve(g);if(E)return E;const I=me().then(async()=>{const _=d.mark();let q;try{q=await l.load(y)}catch(se){throw Qi(se)?new ve("开发服务已更新,当前预览已失效,请刷新页面。"):se}finally{p=nt({build:l.getManifest()?.build??null,editorModuleImportAttempt:l.getImportAttempt(),editorModuleWarmup:d.measure(_),enter:p.enter}),O()}if(A)throw new ve(A.failure?.message??i.reloadPage);if(k||y.aborted)throw ot();const te={switcher:void 0,editorModeEntryAttempted:!1,playModeEntryCompleted:!1},We=await e.editorModule.mount(q,{projectMode:{async enterEditorMode(se){Q(),te.editorModeEntryAttempted=!0;const Re=es(r,a);try{await e.projectMode.enterEditorMode(se)}finally{ts(r,Re)}},async enterPlayMode(se){Q(),await e.projectMode.enterPlayMode(se),te.playModeEntryCompleted=!0,Ie(te)}},getCanvas:()=>Kr(r,a)},y);te.switcher=We;const ke=U();if(ke)throw await $(te),new ve(ke.failure?.message??i.reloadPage);if(k||y.aborted)throw await $(te),ot();return g=te,te});return E=I,I.finally(()=>{E===I&&(E=null)}).catch(()=>{}),I};R=Fa({backend:{warmup:y=>J(y).then(()=>{}),prepare:y=>J(y.signal),async commit(y,I){if(y!==g)throw new Error("Prepared Local Editor switcher is no longer current.");if(await y.switcher.enterEditor(),I.signal.aborted)throw ot()},async rollback(y){const I=[];try{await $(y),c.delete(y),g===y&&(g=null)}catch(_){I.push(_)}if(y.editorModeEntryAttempted&&!y.playModeEntryCompleted)try{await e.projectMode.enterPlayMode({reason:"editor-entry-rollback"}),y.playModeEntryCompleted=!0}catch(_){I.push(_)}at(I,"Local Editor entry rollback failed.")},async dispose(){const y=E;await Promise.allSettled(y?[y]:[]);const I=[];if(g){const _=g;try{await $(_),g===_&&(g=null)}catch(q){I.push(q)}}try{await me()}catch(_){I.push(_)}at(I,"Local Editor entry cleanup failed.")}},reportFailure:({failure:y,cause:I,rollbackCause:_})=>{s(`editor entry ${y.code}`,_===void 0?I:Jr(y.message,[I,_]))},reportListenerError:y=>s("editor entry listener failed",y)});const C=R.subscribe(y=>{K(y),D()});O();const B=y=>{if(k||A)return;const I=Xi(y),_=R.getState();A=Object.freeze({..._,phase:"failed",phaseStartedAtMs:Date.now(),failure:Object.freeze({code:"reload-required",phase:"runtime",message:I.message,recoverable:!1})}),D();const q=g;q&&(g=null,c.add(q),$(q).then(()=>{c.delete(q)}).catch(te=>s("stale local editor cleanup failed",te)))};t.addEventListener(Zt,B);const W={start:()=>A?Promise.reject(new ve(A.failure?.message??i.reloadPage)):R.start(),enterEditor:()=>A?Promise.resolve(Rr(A)):R.enter(),retryEditorEntry:()=>A?Promise.resolve(Rr(A)):R.retry(),getEntryState:w,getDiagnostics:()=>p,subscribe(y){return k?()=>{}:(h.add(y),y(w()),()=>h.delete(y))},dispose(){if(M)return M;k=!0;const y=(async()=>{t.removeEventListener("beforeunload",ee),t.removeEventListener("pagehide",ee),t.removeEventListener(Zt,B),r.removeEventListener("DOMContentLoaded",Z),S!==null&&(t.clearTimeout(S),S=null),re(),C(),h.clear(),delete t.__FPS_EDITOR_ENTRY_DIAGNOSTICS__;const I=[];try{await R.dispose()}catch(_){I.push(_)}I.push(...await ua()),at(I,"Local Editor Entry cleanup failed.")})();return M=y,y.catch(()=>{M===y&&(M=null)}),y}},re=e.browser?.showEntryButton===!1?()=>{}:Zi(W,t,r,e.browser?.root,i,s),Z=()=>{if(k||T)return;T=!0,r.removeEventListener("DOMContentLoaded",Z),(n==="edit"&&o==="fresh"?W.enterEditor():W.start()).catch(I=>s("local editor entry start failed",I))},ee=()=>{W.dispose().catch(y=>s("local editor entry dispose failed",y))};return t.addEventListener("beforeunload",ee),t.addEventListener("pagehide",ee),e.browser?.autoStart!==!1&&(r.readyState==="loading"?(r.addEventListener("DOMContentLoaded",Z,{once:!0}),t.queueMicrotask(Z)):Z()),W;function Q(){if(A)throw new ve(A.failure?.message??i.reloadPage)}}function Xi(e){const t=e.detail;return t&&typeof t=="object"&&(t.code==="authentication-invalidated"||t.code==="service-instance-changed")&&typeof t.message=="string"&&t.message.trim()?Object.freeze({code:t.code,message:t.message}):Object.freeze({code:"service-instance-changed",message:"开发服务已更新,当前预览已失效,请刷新页面。"})}function Rr(e){return Object.freeze({ok:!1,attempt:e.attempt,failure:e.failure})}function Qi(e){const t=e instanceof Error?e.message:String(e);return/failed to fetch dynamically imported module|error loading dynamically imported module|importing a module script failed/i.test(t)}function Zi(e,t,r,a,n,o){r.getElementById("fps-game-editor-entry-surface")?.remove(),r.getElementById("fps-game-editor-entry")?.remove();const i=r.createElement("div");i.id="fps-game-editor-entry-surface";const s=r.createElement("p");s.style.cssText=["margin:0 0 14px","color:var(--fps-editor-panel-fg,#edf0f2)",'font:500 14px/1.6 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif'].join(";");const l=r.createElement("button");l.id="fps-game-editor-entry",l.type="button";const d=["position:fixed","top:14px","right:16px","z-index:2147482604","height:32px","min-width:104px","padding:0 12px","border:1px solid #aee7c2","border-radius:999px","background:#e1f8e8","color:#2f6f52",'font:800 12px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif',"box-shadow:0 8px 20px rgba(15,23,42,.18)","white-space:nowrap","user-select:none"].join(";"),h=["position:static","height:36px","min-width:132px","padding:0 14px","border:1px solid var(--fps-editor-border-strong,#59656d)","border-radius:4px","background:var(--fps-editor-field-bg,#252b2f)","color:var(--fps-editor-panel-fg,#f4f6f7)",'font:700 13px system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif',"box-shadow:none","white-space:nowrap","user-select:none"].join(";");l.style.cssText=d,i.append(s,l);let c=vr(e.getEntryState(),n);const u=p=>{c=vr(p,n);const m=c.action==="reload";l.disabled=c.disabled,l.textContent=c.label,l.title=c.title,l.style.cssText=m?h:d,l.style.opacity=c.disabled?".72":"1",l.style.cursor=c.disabled?"default":"pointer",s.hidden=!m||a!==void 0,s.textContent=p.entry.failure?.message??n.reloadPage,i.setAttribute("role",m?"alert":"presentation"),i.style.cssText=m&&a===void 0?["position:fixed","left:50%","top:50%","transform:translate(-50%,-50%)","z-index:2147482604","width:min(420px,calc(100vw - 32px))","padding:20px","border:1px solid var(--fps-editor-danger-border,#714040)","border-radius:6px","background:var(--fps-editor-panel-bg,#171b1e)","box-shadow:0 18px 50px rgba(0,0,0,.42)"].join(";"):"",c.hidden?i.remove():i.isConnected||(a??r.body)?.append(i)},g=e.subscribe(u),E=()=>{(c.action==="enter"?e.enterEditor():c.action==="retry"?e.retryEditorEntry():c.action==="reload"?Promise.resolve(t.location.reload()):Promise.resolve()).catch(m=>o("editor entry action failed",m))};return l.addEventListener("click",E),()=>{g(),l.removeEventListener("click",E),i.remove()}}function vr(e,t){switch(e.entry.phase){case"idle":case"warming":return fe("none",!0,!1,t.preparingEditor);case"ready":return fe("enter",!1,!1,t.enterEditor);case"preparing":return fe("none",!0,!1,t.checkingEditor);case"committing":return fe("none",!0,!1,t.enteringEditor);case"rolling-back":return fe("none",!0,!1,t.restoringPlayMode);case"failed":return e.entry.failure?.recoverable?fe("retry",!1,!1,t.retryEditor,e.entry.failure.message):fe("reload",!1,!1,t.reloadPage,e.entry.failure?.message);case"editing":case"disposed":return fe("none",!0,!0,t.enterEditor)}return fe("none",!0,!0,t.enterEditor)}function fe(e,t,r,a,n=a){return Object.freeze({action:e,disabled:t,hidden:r,label:a,title:n})}function nt(e={}){return Object.freeze({build:e.build??null,editorModuleImportAttempt:e.editorModuleImportAttempt??0,editorModuleWarmup:e.editorModuleWarmup??null,enter:e.enter??null})}function es(e,t){const r=Kr(e,t);return r?.parentNode?{canvas:r,parent:r.parentNode,nextSibling:r.nextSibling}:null}function ts(e,t){if(!t||t.canvas.isConnected)return;const r=t.parent.isConnected?t.parent:e.body,a=t.nextSibling?.parentNode===r?t.nextSibling:null;r.insertBefore(t.canvas,a)}function Kr(e,t){const r=e.getElementById(t),a=e.defaultView?.HTMLCanvasElement;return a?r instanceof a?r:null:r?.tagName==="CANVAS"?r:null}function Jr(e,t){return Object.assign(new Error(e),{errors:[...t]})}function at(e,t){if(e.length===1)throw e[0];if(e.length>1)throw Jr(t,e)}function ot(){return Object.assign(new Error("Local Editor Entry was disposed."),{name:"AbortError"})}export{zs as CAMERA_LANGUAGE_OPTIONS,Wn as DEFAULT_EDITOR_SCENE_ARTIST_MATERIAL_ASSET_ID,Us as DEFAULT_EDITOR_SCENE_CAMERA,$s as DEFAULT_EDITOR_SCENE_ENVIRONMENT_LIGHT,Hs as DEFAULT_EDITOR_SCENE_SUN_LIGHT,Vs as DEFAULT_EDITOR_SCENE_TRANSFORM_TYPE_OPTIONS,qs as DEFAULT_PBR_EDITOR_SCENE_MATERIAL_ASSET,Ys as DEFAULT_PBR_EDITOR_SCENE_MATERIAL_ASSET_GUID,Ws as DEFAULT_PBR_EDITOR_SCENE_MATERIAL_ASSET_ID,Ks as DEFAULT_READONLY_EDITOR_SCENE_MATERIAL_ASSET_IDS,Js as DEFAULT_STANDARD_EDITOR_SCENE_MATERIAL_ASSET,Xs as DEFAULT_STANDARD_EDITOR_SCENE_MATERIAL_ASSET_GUID,Qs as DEFAULT_STANDARD_EDITOR_SCENE_MATERIAL_ASSET_ID,Zs as EDITOR_SCENE_BUILTIN_MATERIAL_SHADER_DEFINITIONS,An as EDITOR_SCENE_BUILTIN_MATERIAL_SHADER_DEFINITION_REGISTRY,ec as EDITOR_SCENE_DEFAULT_DIRECTIONAL_LIGHT_DIRECTION,tc as EDITOR_SCENE_DUPLICATE_MATERIAL_ASSET_VALUE_PREFIX,rc as EDITOR_SCENE_ENVIRONMENT_LIGHT_ID,nc as EDITOR_SCENE_FIELD_SCHEMA,ac as EDITOR_SCENE_LARGE_SELECTION_LIGHTWEIGHT_INSPECTOR_THRESHOLD,jr as EDITOR_SCENE_LIGHTING_DEBUG_LANGUAGE_STORAGE_KEY,pa as EDITOR_SCENE_LIGHTING_DEBUG_NUMBER_FIELDS,Or as EDITOR_SCENE_LIGHTING_DEBUG_STORAGE_KEY,er as EDITOR_SCENE_LIGHTING_DEBUG_TEXT,tr as EDITOR_SCENE_LIGHTING_DEBUG_TOOLTIPS,oc as EDITOR_SCENE_LIGHT_DIRECTION_ELEVATION_ANGLE_PATH,nn as EDITOR_SCENE_LIGHT_DIRECTION_ELEVATION_MAX_DEG,an as EDITOR_SCENE_LIGHT_DIRECTION_ELEVATION_MIN_DEG,ic as EDITOR_SCENE_LIGHT_DIRECTION_HORIZONTAL_ANGLE_PATH,sc as EDITOR_SCENE_LIGHT_DIRECTION_HORIZONTAL_MAX_DEG,cc as EDITOR_SCENE_LIGHT_DIRECTION_HORIZONTAL_MIN_DEG,dc as EDITOR_SCENE_LIGHT_INSPECTOR_LANGUAGE_OPTIONS,lc as EDITOR_SCENE_MAIN_CAMERA_ID,uc as EDITOR_SCENE_MATERIAL_ASSET_FIELD_PATH_PREFIX,mc as EDITOR_SCENE_MATERIAL_ASSET_ID_PREFIX,fc as EDITOR_SCENE_PREFAB_COMPOSITION_VERSION,gc as EDITOR_SCENE_PREFAB_DEFAULT_MODEL_NODE_ID,pc as EDITOR_SCENE_PREFAB_DEFAULT_ROOT_NODE_ID,hc as EDITOR_SCENE_RENDERING_PROFILE_ALLOWED_PATCH_PATHS,Ec as EDITOR_SCENE_ROOT_ID,bc as EDITOR_SCENE_ROOT_TRANSFORM,Sc as EDITOR_SCENE_RUNTIME_COLOR_SLOTS,yc as EDITOR_SCENE_RUNTIME_INTENSITY_SLOTS,Ic as EDITOR_SCENE_RUNTIME_METALLIC_ROUGHNESS_SLOTS,Pc as EDITOR_SCENE_RUNTIME_TEXTURE_SLOTS,Ac as EDITOR_SCENE_SCHEMA_VERSION,rn as EDITOR_SCENE_SOURCE_ID,qt as EDITOR_SCENE_SOURCE_TYPE,Tc as EDITOR_SCENE_STATIC_SHADOW_BAKE_ACTION_PATH,Rc as EDITOR_SCENE_SUN_LIGHT_ID,vc as FPS_GAME_EDITOR_GROUND_DECAL_FEATURE_ID,wc as FPS_GAME_EDITOR_GROUND_DECAL_PLUGIN_ID,Cc as FPS_GAME_EDITOR_GROUND_DECAL_PLUGIN_PACKAGE,Yo as FPS_GAME_EDITOR_RUNTIME_DEBUG_AUTHORING_PATH,Mc as MATERIAL_LANGUAGE_OPTIONS,Dc as PLAYABLE_AUTHORING_API_BASE,_c as PLAYABLE_BABYLON_DEFAULT_OUTLINE_OVERRIDE,hs as PLAYABLE_EDITOR_ASSET_CATALOG_KINDS,Cs as PLAYABLE_EDITOR_BUNDLED_ALIAS_PACKAGE_IDS,Pe as PLAYABLE_EDITOR_COMMAND_NAME,Co as PLAYABLE_EDITOR_DEFAULT_EXTENSIONS,Mi as PLAYABLE_EDITOR_ENTRY_IMMUTABLE_CACHE_CONTROL,Ci as PLAYABLE_EDITOR_ENTRY_MANIFEST_CACHE_CONTROL,wi as PLAYABLE_EDITOR_ENTRY_MANIFEST_PATH,qr as PLAYABLE_EDITOR_ENTRY_MANIFEST_SCHEMA_VERSION,wo as PLAYABLE_EDITOR_ENVIRONMENT_TEXTURE_EXTENSIONS,oe as PLAYABLE_EDITOR_EVENT_NAME,Br as PLAYABLE_EDITOR_IMAGE_EXTENSIONS,Lt as PLAYABLE_EDITOR_MODEL_EXTENSIONS,ws as PLAYABLE_EDITOR_PACKAGE_IDS,Ye as PLAYABLE_EDITOR_PACKAGE_RESOLUTION_CONTRACT,Rs as PLAYABLE_EDITOR_POST_MESSAGE,Ms as PLAYABLE_EDITOR_PREBUNDLE_PACKAGE_IDS,Oc as PLAYABLE_EDITOR_SCENE_COMPILER_ID,jc as PLAYABLE_EDITOR_SCENE_COMPILER_VERSION,Nc as PLAYABLE_EDITOR_SCENE_OUTLINE_DEFAULT_DISABLED_REASON,Gt as PLAYABLE_EDITOR_SOUND_EXTENSIONS,xt as PLAYABLE_EDITOR_TEXTURE_EXTENSIONS,kc as PLAYABLE_FORGE_PLAY_BRIDGE_SOURCE,Lc as PLAYABLE_FORGE_PLAY_COMMAND,xc as PLAYABLE_FORGE_PLAY_COMMAND_ALIASES,Gc as PLAYABLE_FORGE_PLAY_EVENT,Fc as PLAYABLE_FORGE_PLAY_EVENT_ALIASES,Bc as PLAYABLE_FORGE_PLAY_HISTORY_COMMANDS,zc as PLAYABLE_FORGE_PLAY_POST_MESSAGE,Uc as PLAYABLE_FORGE_PLAY_PROJECT_ASSET_COMMANDS,$c as PLAYABLE_GROUND_DECAL_TEXTURE_TINT,Hc as PLAYABLE_LOCAL_EDITOR_HOST_MANIFEST_VERSION,Vc as PLAYABLE_LOCAL_EDITOR_HOST_REQUIRED_CONTRACT,qc as PLAYABLE_LOCAL_EDITOR_SAVE_CANCELLATION_CODE,ve as PlayableEditorEntryReloadRequiredError,Te as PlayableEditorManagedAssetError,Yc as SCENE_MAIN_SOURCE_RENDERING_COMPANION_CONFIG_KEY,Wc as SCENE_MAIN_SOURCE_STATIC_SHADOWS_COMPANION_CONFIG_KEY,Kc as addAssetLibraryItemToEditorSceneDocument,Jc as addEditorSceneLightingPreviewColors,Xc as addEditorSceneMaterialAsset,Qc as addEditorSceneMaterialAssetAndBind,Zc as addEditorSceneMaterialAssetAndBindPrefabOverride,ed as addEditorScenePrefabAsset,td as addVec3,rd as appendEditorSceneReadonlyInspectorProperty,nd as appendEditorSceneRuntimeColorProperties,ad as appendEditorSceneRuntimeInspectorProperty,od as appendEditorSceneRuntimeTextureProperties,id as appendEditorSceneRuntimeVector3Properties,sd as applyEditorSceneAuthoringHierarchyPatch,cd as applyEditorSceneAuthoringMarkerPatch,dd as applyEditorSceneDocumentMutationPatch,ld as applyEditorSceneJsonFieldPatch,ud as applyEditorSceneRenderingProfileAction,md as applyEditorSceneRenderingProfilePatch,fd as applyEditorSceneSerializedPropertyPatch,gd as areMarkerGraphsEqual,pd as assertEditorSceneDocumentAssetCatalogCompleteness,hd as assertEditorSceneMarkerConfigContract,Ed as assertEditorSceneMaterialAssetIntegrity,bd as assertEditorScenePrefabMarkerNodeContract,Sd as assertEditorSceneTransformComponentContract,yd as assertPlayableEditorSceneDocumentContract,Id as assertPlayableEditorScenePersistedSourceContract,Ot as buildPlayableEditorManagedAssetArgs,Pd as bumpEditorSceneAuthoringSourceRevision,Ad as callEditorSceneRuntimeMethod,Td as canEditEditorSceneShadowSettings,Rd as canEditorSceneGameObjectHaveChildren,vd as canPatchPlayableEditorSceneGroundDecalMultiField,wd as canPatchPlayableGroundDecalLayerField,it as canSaveEditorSceneLightingDebugSnapshot,Cd as canonicalizePlayableJsonNumbers,Md as clampEditorSceneLightingPreview01,Dd as clampEditorSceneLightingPreviewNumber,_d as clampEditorSceneMaterialPreview01,Od as cleanupEditorSceneGameObjectOverrides,jd as cleanupLegacyImportedEditorSceneMaterialBindings,Nd as cloneBuiltInMarkerTypeDefinition,kd as cloneEditorSceneDocument,Se as cloneEditorSceneLightingDebugSnapshot,Ld as cloneEditorTransformMatrix,xd as cloneEditorTransformSnapshot,Gd as cloneMarker,Fd as cloneMarkerGraphCommand,Bd as cloneMarkerTypeDefinition,zd as cloneRelation,Ud as cloneVec3,_r as collectEditorSceneChildMaterialSlots,$d as collectEditorSceneGameObjectSubtreeIds,Hd as collectEditorSceneMaterialAssetBindingIds,Nt as collectEditorSceneMaterialAssetReferences,Vd as collectEditorSceneMaterialAssetUsages,qd as collectEditorSceneRenderingAlphaIndexMigrationTargetIds,Yd as collectEditorSceneRuntimeChildNodes,Wd as collectEditorSceneRuntimeMeshes,Ln as collectEditorSceneSlotSourceMaterialIndices,Kd as collectEditorSceneSubtreeIdList,Jd as collectEditorSceneSubtreeIds,Xd as collectEditorShadowReceiverCandidates,js as collectMissingPlayableEditorPackageAliasFiles,da as colorFromEditorSceneLightingHex,ca as colorToEditorSceneLightingHex,Qd as combineEditorTransforms,Zd as compareEditorSceneAssetLibraryItems,el as compileEditorSceneDocumentToSceneConfig,ks as compilePlayableGroundDecalRuntimeConfig,tl as composeEditorTransformMatrix,rl as createArtistMaterialAssetInspectorProperties,nl as createArtistMaterialBindingSummary,al as createArtistMaterialInspectorSections,ol as createAuthoredMarkerTypeDefinition,il as createBabylonAssetContainerProjectionImporter,sl as createBabylonPrimitiveProjectionInstancingController,cl as createBoundsCenter,dl as createCameraInspectorProperties,ll as createChildMaterialBindingInspectorProperties,ul as createChildMaterialBindingSummary,ml as createDefaultEditorSceneCameraGameObject,fl as createDefaultEditorSceneEnvironmentLightGameObject,gl as createDefaultEditorSceneSunLightGameObject,is as createDefaultEditorSceneTransformPatchFromRuntimePatch,pl as createDefaultMarkerScaleForKind,hl as createDefaultPbrEditorSceneMaterialAsset,El as createDefaultStandardEditorSceneMaterialAsset,bl as createEditorSceneAssetFromLibraryItem,Sl as createEditorSceneAssetHydrationCatalog,yl as createEditorSceneAssetLibrary,Il as createEditorSceneAssetLibraryItem,Pl as createEditorSceneAssetPlacementPatch,Al as createEditorSceneAuthoringSourceDescriptor,Tl as createEditorSceneCameraInspectorSection,Rl as createEditorSceneCommonInspectorProperties,vl as createEditorSceneCommonInspectorSection,wl as createEditorSceneComponentsInspectorProperties,Cl as createEditorSceneComponentsInspectorSection,Ml as createEditorSceneComponentsInspectorSummary,Dl as createEditorSceneCreateGroupPatch,_l as createEditorSceneCreatePrimitivePatch,Ol as createEditorSceneDeleteSubtreePatch,sn as createEditorSceneDirectionalLightDirectionFromAngles,jl as createEditorSceneDirectionalLightDirectionFromTransformRotation,Nl as createEditorSceneDirectionalLightShadowSummaryInspectorSection,kl as createEditorSceneDocumentInspectorProperty,Ll as createEditorSceneDocumentInspectorSections,xl as createEditorSceneDuplicateMaterialAssetForBindingPatch,Gl as createEditorSceneDuplicateMaterialAssetValue,Fl as createEditorSceneDuplicateSelectionPatch,Bl as createEditorSceneDuplicatedMaterialAsset,zl as createEditorSceneDuplicatedMaterialAssetCopy,Ul as createEditorSceneDuplicatedPrefabDefinition,$l as createEditorSceneFieldInspectorValidator,Hl as createEditorSceneGameObjectFieldPatch,Vl as createEditorSceneGameObjectGuid,ql as createEditorSceneGameObjectsFieldPatch,Yl as createEditorSceneGroupSelectionPatch,Wl as createEditorSceneHierarchyMovePatch,Kl as createEditorSceneHierarchySourceInspectorProperties,Jl as createEditorSceneHierarchySourceInspectorSection,Xl as createEditorSceneHierarchySourceInspectorSummary,Ql as createEditorSceneIdentityTransformComponent,Zl as createEditorSceneInspectorActionProperty,eu as createEditorSceneLightInspectorProperties,tu as createEditorSceneLightInspectorSections,ru as createEditorSceneMarkerConfig,nu as createEditorSceneMarkerGameObjectDocument,au as createEditorSceneMarkerGeometry,ou as createEditorSceneMarkerGraphPatchLabel,iu as createEditorSceneMaterialActionPatch,su as createEditorSceneMaterialAssetFieldInspectorPropertyInput,cu as createEditorSceneMaterialAssetFromShaderDefinition,du as createEditorSceneMaterialAssetFromSourceProfile,lu as createEditorSceneMaterialAssetGuid,uu as createEditorSceneMaterialAssetId,mu as createEditorSceneMaterialAssetInspectorObject,fu as createEditorSceneMaterialAssetMeta,gu as createEditorSceneMaterialAssetOwnershipView,pu as createEditorSceneMaterialAssetPreview,hu as createEditorSceneMaterialAssetSelectionId,Eu as createEditorSceneMaterialBindingSummary,bu as createEditorSceneMaterialBrowserAssetItems,Su as createEditorSceneMaterialPickerControlOptions,yu as createEditorSceneMaterialShaderDefinitionRegistry,Iu as createEditorSceneMetadataInspectorProperties,Pu as createEditorSceneMetadataInspectorSection,Au as createEditorSceneMetadataInspectorSummary,Tu as createEditorSceneModelAssetInspectorObject,Ru as createEditorSceneModelAssetSelectionId,vu as createEditorSceneModelGameObjectForAsset,wu as createEditorScenePlacementWorldTransform,Kn as createEditorScenePlayableFieldInspectorExtraValidator,Cu as createEditorScenePrefabActionPatch,Mu as createEditorScenePrefabAgentSummary,Du as createEditorScenePrefabBrowserAssetItems,_u as createEditorScenePrefabDefinitionFromAsset,Ou as createEditorScenePrefabDefinitionFromGameObject,ju as createEditorScenePrefabDraftCommitInput,Nu as createEditorScenePrefabGameObjectForAsset,ku as createEditorScenePrefabGroupNode,Lu as createEditorScenePrefabGuid,xu as createEditorScenePrefabInstanceGameObject,Gu as createEditorScenePrefabInstanceScopedNodeId,Fu as createEditorScenePrefabMarkerNode,Bu as createEditorScenePrefabMaterialOverrideInspectorSection,zu as createEditorScenePrefabNodeFromAsset,Uu as createEditorScenePrefabPrimitiveNode,$u as createEditorScenePrefabSourceStructureInspectorSection,Hu as createEditorScenePrefabStageCompositionProjectionNodes,Vu as createEditorScenePrefabStageContextLightProjectionNodes,qu as createEditorScenePrefabStageInspectorObject,Yu as createEditorScenePrefabStageMaterialSlotGroup,Wu as createEditorScenePrefabStageMaterialSlotItems,Ku as createEditorScenePrefabStageModelProjectionNode,Ju as createEditorScenePrefabStageNodeFallbackLabel,Xu as createEditorScenePrefabStageNodeTransform,Qu as createEditorScenePrefabStageNodeTreeItem,Zu as createEditorScenePrefabStageProjectionKind,em as createEditorScenePrefabStageProjectionNodeFromCompositionNode,tm as createEditorScenePrefabStageProjectionNodeId,rm as createEditorScenePrefabStageRuntimeGroups,nm as createEditorScenePrefabStageRuntimeLeaf,am as createEditorScenePrefabStageRuntimeNodeTree,om as createEditorScenePrefabStageSourceItem,im as createEditorScenePrefabStageStableId,sm as createEditorScenePrimitiveInspectorProperties,cm as createEditorScenePrimitiveInspectorSection,dm as createEditorSceneReadonlyDocumentInspectorProperty,lm as createEditorSceneReadonlyInspectorProperty,um as createEditorSceneReadonlyInspectorSection,mm as createEditorSceneReadonlyVector3Properties,fm as createEditorSceneRenamePatch,gm as createEditorSceneRendererInspectorProperties,pm as createEditorSceneRendererInspectorSection,hm as createEditorSceneRendererInspectorSummary,Em as createEditorSceneRenderingInspectorSection,bm as createEditorSceneRenderingPanelState,Sm as createEditorSceneRenderingProfileDraftState,ym as createEditorSceneReparentPatch,Im as createEditorSceneRootTransformComponent,Pm as createEditorSceneRuntimeAnimationSkeletonSection,Am as createEditorSceneRuntimeBindingSection,Tm as createEditorSceneRuntimeCollisionsSection,Rm as createEditorSceneRuntimeGeometryBoxSection,vm as createEditorSceneRuntimeInspectorSection,wm as createEditorSceneRuntimeInspectorSections,Cm as createEditorSceneRuntimeInspectorSectionsForDocument,Mm as createEditorSceneRuntimeInspectorSnapshot,Dm as createEditorSceneRuntimeIntensityPropertiesSection,_m as createEditorSceneRuntimeMaterialColorsSection,Om as createEditorSceneRuntimeMaterialSection,jm as createEditorSceneRuntimeMaterialTexturesSection,Nm as createEditorSceneRuntimeMetallicRoughnessSection,km as createEditorSceneRuntimePhysicsSection,Lm as createEditorSceneRuntimePreviewImageImportPlan,xm as createEditorSceneRuntimePreviewImportPlan,Gm as createEditorSceneRuntimePreviewMainCameraRig,Fm as createEditorSceneRuntimePreviewMissingAssetUrlDiagnostic,Bm as createEditorSceneRuntimePreviewModelImportPlan,zm as createEditorSceneRuntimePreviewNode,Um as createEditorSceneRuntimePreviewNodes,$m as createEditorSceneRuntimeRawMiscSection,Hm as createEditorSceneRuntimeRenderingSection,Vm as createEditorSceneRuntimeShadowsSection,qm as createEditorSceneSerializedMultiInspectorObject,Ym as createEditorSceneSerializedMultiInspectorSections,Wm as createEditorSceneSerializedMultiObject,Km as createEditorSceneSerializedMultiTransformPatch,Jm as createEditorSceneSerializedObject,Xm as createEditorSceneSerializedPropertyDescriptors,Qm as createEditorSceneSourceAssetFromActionInput,Zm as createEditorSceneSourceMaterialAssetForBindingPatch,ef as createEditorSceneStandardPrefabAssetFieldServices,tf as createEditorSceneStaticShadowArtifactDiagnostic,rf as createEditorSceneStaticShadowArtifactDraftStore,nf as createEditorSceneTextureAssetPreview,af as createEditorSceneTexturePickerControlOptions,of as createEditorSceneTransformBatchPatch,sf as createEditorSceneTransformFromSerializedPath,cf as createEditorSceneTransformInspectorProperties,df as createEditorSceneTransformInspectorSection,lf as createEditorSceneTransformInspectorSummary,uf as createEditorSceneTransformPatch,fa as createEditorSceneTransformPatchFromRuntimePatch,mf as createEditorSceneTransformRotationFromDirectionalLightDirection,ff as createEditorTransformMatrixSnapshot,gf as createFpsGameEditorAdapter,pf as createFpsGameEditorConfiguredGroundDecalSceneFeature,hf as createFpsGameEditorDeclarativeGroundDecalSceneFeature,Ef as createFpsGameEditorGroundDecalSceneFeature,bf as createFpsGameEditorLocalEditorHost,Sf as createFpsGameEditorLocalEditorHostManifest,Ps as createFpsGameEditorManagedAssetServices,yf as createFpsGameEditorPlayableProjectHostAssembly,If as createFpsGameEditorProductHostAssembly,Pf as createFpsGameEditorProductProjectHostServices,Af as createFpsGameEditorProductProjectionPreview,Tf as createFpsGameEditorProductRenderingRuntime,Rf as createFpsGameEditorProductSceneHostOptions,As as createFpsGameEditorRuntimeDebugAuthoringClient,vf as createFpsGameEditorSceneSourceServices,wf as createFpsGameEditorStandardAssetActionPatch,Cf as createFpsGameEditorStandardProjectRuntime,Mf as createFpsGameEditorStandardSceneAssembly,Df as createIdentityEditorTransform,_f as createMarkerGameObjectFromSpatialMarker,Of as createMarkerSemanticFrameFromTransform,jf as createMarkerType,Nf as createMaterialAlphaModeOptions,kf as createMaterialAssetPickerControlOptions,Lf as createMaterialAssetSelectorInspectorProperty,xf as createMaterialLightingModelOptions,Gf as createObjectBoundSemanticFrame,Ff as createPlayableAuthoringClient,Hr as createPlayableAuthoringEmptyResponse,V as createPlayableAuthoringJsonResponse,Bf as createPlayableBabylonEnvironmentTextureProfile,zf as createPlayableBabylonOutlineInspectorSection,Uf as createPlayableBabylonOutlineInspectorSeedPatchValue,$f as createPlayableBabylonPlanarShadowPolicyInput,Hf as createPlayableBabylonPlanarShadowPreviewOptions,Vf as createPlayableBabylonRenderingAlphaIndexMigrationPatch,qf as createPlayableBabylonRenderingCapability,Yf as createPlayableBabylonRenderingCapabilityFacade,Wf as createPlayableBabylonRenderingDiagnostics,Kf as createPlayableBabylonRenderingPanelState,Jf as createPlayableBabylonWorldRendering,hi as createPlayableBridgeCommandAssetAdapter,pi as createPlayableBridgeEventPayload,Mo as createPlayableEditorAssetGuid,Do as createPlayableEditorAssetId,Os as createPlayableEditorBundledPackageAliasPlan,_s as createPlayableEditorBundledPackageRoots,Xf as createPlayableEditorDoctorReport,Fa as createPlayableEditorEntryController,Di as createPlayableEditorEntryManifest,Ni as createPlayableEditorEntryModuleLoader,Oi as createPlayableEditorEntryModuleUrl,xi as createPlayableEditorEntryPerformanceTracker,Ho as createPlayableEditorManagedAssetFacade,No as createPlayableEditorManagedAssetGuid,ko as createPlayableEditorManagedAssetId,jt as createPlayableEditorManagedSceneAsset,Qf as createPlayableEditorSceneFieldMutationOptions,Zf as createPlayableEditorSceneHierarchyFacade,eg as createPlayableEditorSceneInspectorMultiObject,tg as createPlayableEditorSceneInspectorObject,rg as createPlayableEditorSceneInspectorPropertyPatch,ng as createPlayableEditorSceneInspectorSections,ag as createPlayableEditorSceneMarkerGraphFacade,og as createPlayableEditorSceneMarkerInspectorSection,ig as createPlayableEditorSceneObjectCommandFacade,sg as createPlayableEditorSceneOutlineInspectorSection,cg as createPlayableEditorSceneSessionFacade,Ii as createPlayableEditorSourcePackageAliasPlan,Ds as createPlayableEditorSourceTsconfigPathsPlan,dg as createPlayableForgePlaySaveState,lg as createPlayableGroundDecalDocumentBridge,ug as createPlayableGroundDecalDocumentServices,mg as createPlayableGroundDecalInspectorProperties,fg as createPlayableGroundDecalInspectorSection,gg as createPlayableGroundDecalInspectorServices,pg as createPlayableGroundDecalLayerLabel,hg as createPlayableGroundDecalMultiInspectorSection,Eg as createPlayableLocalEditorHost,bg as createPlayableLocalEditorLoadingOverlay,fs as createPlayablePlatformAssetDropCache,Sg as createPlayablePlatformAssetRegistrationPayload,yg as createPlayablePlatformAssetRegistrationTransportPlan,vs as createPlayableProjectAssetBridgeAdapter,Ig as createPlayableProjectAssetCommandHandler,Pg as createPrefabInstanceInspectorSection,Ag as createPrefabMaterialBindingPresentationImpact,Tg as createPrefabStageEditableProperty,Rg as createPrefabStageShadowDefaultProperties,vg as createReadonlyMaterialSlotListInspectorProperties,wg as createRuntimeSceneCompiledArtifact,Cg as createSceneMainSourceDriver,Mg as createSceneMainSourceSaveCompanionConfigPayload,Dg as createSceneMaterialBindingPresentationImpact,_g as createSceneObjectMarkerTargetRef,Og as createSpatialMarkerFromGameObject,jg as createSpatialMarkerGeometryForPresentation,Ng as createSpatialMarkerGeometryForTargetPatch,kg as createSpatialMarkerGeometryFromGameObject,Lg as createSpatialMarkersFromGameObjects,xg as createStableEditorSceneMaterialAssetGuid,Gg as createTexturePickerControlOptions,Fg as createUniqueEditorSceneGameObjectDisplayName,Bg as createUniqueEditorSceneGameObjectId,zg as createUniqueEditorSceneId,Ug as createUniqueEditorSceneMaterialAssetId,$g as createUniqueEditorScenePrefabAssetId,Hg as createUniqueMarkerGameObjectId,Vg as createVec3,qg as defineFpsGameEditorFeature,Yg as defineFpsGameEditorProject,ps as definePlayableEditorAssetDatabaseConfig,Wg as degreesToEditorSceneRadians,Kg as dehydrateEditorSceneDocumentAssets,Jg as deleteDefaultEditorSceneMaterialAsset,Xg as deleteEditorSceneMarkerGameObject,Qg as deleteEditorSceneMaterialAsset,Zg as deleteEditorScenePrefabNode,ep as deleteMarkerType,tp as describeEditorSceneRuntimeObject,rp as detectEditorSceneDirectionalLightOrientationDrift,os as detectEditorSceneRuntimeInputDrift,np as editorSceneGuidToStableToken,ap as encodeEditorScenePrefabInstanceIdentitySegment,op as enrichEditorSceneDocumentAssets,ip as ensureDefaultEditorSceneMaterialAssets,sp as ensureEditorSceneAuthoringSource,ln as ensureEditorSceneGameObjectGuids,cp as ensureEditorScenePrefabComposition,dp as ensurePlayableEditorSceneEnvironmentDefaultsCore,na as executePlayableAssetTransportPlan,lp as findEditorSceneGameObject,up as findEditorSceneImageRenderer,mp as findEditorSceneInspectorTextureAsset,fp as findEditorSceneInspectorTextureAssetFromContext,Ee as findEditorSceneLightingDebugNumberFieldConfig,gp as findEditorSceneLightingPreviewLightObject,Y as findEditorSceneMaterialAsset,Fn as findEditorSceneModelRenderer,pp as findEditorScenePrefabAsset,hp as findEditorScenePrefabNode,Ep as findEditorScenePrefabStageInspectorItem,bp as findEditorScenePrefabStageStructureItem,Da as findEditorSceneRuntimeLightTarget,Sp as findEditorSceneTransform,yp as fingerprintEditorScenePrefabStageAssetProjection,Ip as fingerprintEditorScenePrefabStageDocumentScope,Pp as flattenEditorScenePrefabStageStructureItems,Ap as formatEditorSceneBoundsSummary,he as formatEditorSceneLightingNumber,ba as formatEditorSceneLightingShadowMode,Tp as formatEditorSceneMaterialPreviewNumber,Rp as formatEditorSceneMaterialSlotLabel,vp as formatEditorScenePrefabStageMaterialSlotSummary,wp as formatPlayableEditorDoctorReport,Ns as formatPlayableEditorPackageAliasPlanError,Cp as formatPlayableLocalEditorHostCompatibilityReport,Mp as getArtistMaterialInspectorText,Dp as getBuiltInMarkerType,_p as getCameraInspectorText,Op as getDefaultEditorSceneMaterialPreset,wr as getEditorSceneAuthoringSourceRef,jp as getEditorSceneGameObjectWorldTransform,Np as getEditorSceneGameObjectWorldTrsTransform,kp as getEditorSceneHierarchyItems,Lp as getEditorSceneLightInspectorLanguage,xp as getEditorSceneLightInspectorText,Gp as getEditorSceneMarkerGraphPatchSelection,Fp as getEditorSceneMarkerTypeCatalogFromGraph,Bp as getEditorSceneMaterialAssetDefaultPreset,zp as getEditorSceneMaterialAssetDisplayMeta,Up as getEditorSceneMaterialAssetDisplayName,zn as getEditorSceneMaterialShaderDefinition,$p as getEditorSceneMaterialSlotPrimaryOwnerPath,Hp as getEditorScenePrefabStageDescriptor,Vp as getEditorScenePrefabStageProjectionNodeIdForNode,qp as getEditorScenePrefabStageProjectionNodes,Yp as getEditorScenePrefabStageStructure,Wp as getEditorSceneRelationTypeCatalog,Kp as getEditorSceneSlotMaterialBinding,Gn as getEditorSceneSlotMaterialBindingPath,Jp as getEditorSceneSlotSelectionKey,Bn as getEditorSceneSlotSourceMaterialName,xn as getEditorSceneSlotSourceMaterialProfile,Xp as getNextEditorSceneAssetPlacementPosition,ys as getPlayableEditorAssetKindExtensions,Oo as getPlayableEditorAssetPathExtension,Qp as getPlayableForgePlayHistoryResultEventName,Zp as getTopLevelSceneGraphNodeIds,eh as groundDecalFeature,zr as guidToPlayableEditorAssetStableToken,Is as guidToPlayableEditorManagedAssetStableToken,Ls as handleEditorSceneRenderingProfileAuthoringRequest,Ts as handlePlayableAuthoringServerRequest,th as hasDetectedModelMaterialSlots,rh as hasEditorSceneAncestorDescendantPair,nh as hasEditorSceneCamera,ah as hasEditorSceneDescendants,oh as hasEditorSceneMaterialAsset,ih as hasEditorScenePrefabForSourceAsset,sh as hasEditorScenePrefabStageRuntimeStructure,ch as hasInvalidEditorSceneCameraRelationships,dh as hasReadonlyEditorSceneMaterialSlotReimportIssues,lh as hslToEditorSceneMaterialPreviewRgb,uh as inspectPlayableEditorHostCompatibilityReport,mh as inspectPlayableLocalEditorHostManifest,fh as installPlayableForgePlayModeBridge,gh as isBlockedPlayableEditorSceneSystemFieldPatch,ph as isBuiltInMarkerType,hh as isCompiledArtifactForSource,Eh as isDefaultEditorSceneMaterialAsset,bh as isDefaultReadonlyEditorSceneMaterialAsset,Sh as isDeletedRelationEndpoint,yh as isEditorProjectFilePreviewable,Ih as isEditorProjectMediaPreviewable,Ph as isEditorSceneArtistMaterialPatchPath,Mn as isEditorSceneAssetPlaceable,Ah as isEditorSceneCameraGameObject,Th as isEditorSceneCameraProjection,Rh as isEditorSceneColor,vh as isEditorSceneDuplicateMaterialAssetPickerValue,wh as isEditorSceneFiniteNumber,Hn as isEditorSceneGameObjectShadowParticipationOwner,Ch as isEditorSceneGroupLikeGameObject,Mh as isEditorSceneLightDirectionAnglePath,mn as isEditorSceneLightGameObject,Dh as isEditorSceneLightType,_h as isEditorSceneMarkerGameObject,Oh as isEditorSceneMarkerGraphCommandSupported,jh as isEditorSceneMaterialAssetReadonlyForInspector,Nh as isEditorSceneMaterialBindingNullableStringPath,kh as isEditorSceneMaterialBindingPath,Lh as isEditorSceneMaterialColorRgb,xh as isEditorSceneMaterialColorRgba,Gh as isEditorSceneMatrixTransformComponent,Fh as isEditorSceneNonNegativeFiniteNumber,Bh as isEditorSceneOptionalBoolean,zh as isEditorSceneOptionalNonEmptyString,Uh as isEditorSceneOptionalString,$h as isEditorScenePositiveFiniteNumber,Hh as isEditorScenePositiveSize,Vh as isEditorScenePrefabAsset,qh as isEditorScenePrefabCoreMaterialOverridePath,Yh as isEditorScenePrefabDefaultShadowPath,Wh as isEditorScenePrefabInstance,Kh as isEditorScenePrefabMaterialAssetIdOverridePath,Jh as isEditorScenePrefabOverridePath,Xh as isEditorSceneProtectedSystemGameObject,Qh as isEditorSceneProtectedSystemGameObjectId,Zh as isEditorSceneRenderingProfileDraftDirty,eE as isEditorSceneRenderingProfilePatchPath,tE as isEditorSceneRootGameObject,rE as isEditorSceneRootGameObjectId,nE as isEditorSceneRootTransformPath,aE as isEditorSceneRuntimeMeshLike,oE as isEditorSceneScale,iE as isEditorSceneSelectableHierarchyId,sE as isEditorSceneStringArray,cE as isEditorSceneTextureAsset,dE as isEditorSceneTransformLike,lE as isEditorSceneTrsTransformComponent,uE as isEditorSceneUnitRangeNumber,mE as isEditorSceneVec2,fE as isEditorSceneVec3,gE as isEditorTransformMatrixSnapshot,pE as isEditorTransformTrsSnapshot,hE as isMarkerEndpoint,EE as isMarkerTypeDefinitionValid,bE as isObjectMarkerKind,SE as isPlayableBabylonOutlineInspectorPatchPath,yE as isPlayableBabylonRenderingEnvironmentTextureAsset,IE as isPlayableBabylonRenderingEnvironmentTextureResource,PE as isPlayableEditorSceneGroundDecalProjectionPath,AE as isPlayableGroundDecalEditableColorLayer,TE as isPlayableGroundDecalEditableTextLayer,RE as isPlayableGroundDecalEditableTextureLayer,vE as isPlayableGroundDecalInspectorPatchPath,wE as isPlayableGroundDecalLayerColorAlphaPath,CE as isPlayableGroundDecalLayerColorPath,ME as isPlayableGroundDecalLayerProgressPreviewPercentPath,DE as isPlayableGroundDecalLayerRectPath,_E as isPlayableGroundDecalLayerRotationPath,OE as isPlayableGroundDecalLayerTextColorAlphaPath,jE as isPlayableGroundDecalLayerTextColorPath,NE as isPlayableGroundDecalLayerTextFontSizePath,kE as isPlayableGroundDecalLayerTextValuePath,LE as isPlayableGroundDecalLayerTexturePath,xE as isPlayableGroundDecalLayerTextureTintAlphaPath,GE as isPlayableGroundDecalLayerTextureTintPath,FE as isPlayableGroundDecalLayoutEditableLayer,BE as isPlayableGroundDecalLayoutPatchCompatibleWithDecal,zE as isPlayableGroundDecalProjectEditableLayer,UE as isPlayableGroundDecalRenderingTextureDimensionPath,$E as isPlayableGroundDecalRotationEditableLayer,HE as isPlayableGroundDecalSerializedMultiFieldPath,VE as isPlayableLocalEditorSaveCancellation,qE as isReadonlyEditorSceneMaterialAsset,YE as isRegionMarkerKind,WE as isRelationEndpointValid,KE as isTargetRefValid,JE as isValidEditorAffineTransformMatrix,XE as isVec3ApproximatelyEqual,QE as isVec3Like,ZE as loadEditorAssetLibrary,eb as loadEditorProjectFile,tb as loadEditorProjectFiles,ki as loadPlayableEditorEntryManifest,rb as loadSceneMainSource,nb as markEditorSceneInspectorPropertiesEffect,ab as markEditorSceneRenderingProfileDraftSaved,Xo as matchPlayableAuthoringRoute,ob as mergeEditorSceneAssetWithLibraryItem,ib as mergeEditorSceneCameraDefaults,sb as mergeEditorSceneLightDefaults,cb as mergeEditorSceneMaterialBindingOverrides,db as mergeEditorScenePrefabOverrides,lb as mergeEditorSceneSourceMaterialProfile,ub as mergeMarkerTypeDefinition,mb as mergePlayableEditorDoctorReports,fb as mergePlayableGroundDecalDefaults,gb as migrateEditorSceneDocumentRenderingAlphaIndex,pb as migrateEditorSceneGameObjectsRenderingAlphaIndex,hb as migrateEditorSceneMarkerGraphMarkersToGameObjects,Eb as migrateEditorSceneMaterialAssetShader,bb as mixEditorSceneLightingPreviewColor,qi as mountEditorRuntimeDebugPanelShell,xs as mountEditorRuntimeLightingDebugPanel,Gs as mountFpsGameEditorLocalEditorEntry,Sb as mountFpsGameEditorProductLocalEditor,yb as mountFpsGameEditorProductLocalEditorFromEnvironmentModule,Ib as mountFpsGameEditorStandardLocalEditorFromEnvironmentModule,Pb as mountFpsGameEditorStandardProject,Ab as normalizeCompiledArtifacts,Tb as normalizeEditorSceneAssetBytesUrl,Rb as normalizeEditorSceneCameraAfterFieldPatch,vb as normalizeEditorSceneCameraGameObject,wb as normalizeEditorSceneFieldInspectorValue,Cb as normalizeEditorSceneGameObjectDisplayName,Mb as normalizeEditorSceneHierarchyDocument,Db as normalizeEditorSceneLightDirectionAngleValue,un as normalizeEditorSceneLightDirectionVector,_b as normalizeEditorSceneLightingAngleDegrees,Ob as normalizeEditorSceneLightingPreviewVec3,jb as normalizeEditorSceneMarkerGameObject,Nb as normalizeEditorSceneMarkerGameObjects,kb as normalizeEditorSceneMarkerGraph,Lb as normalizeEditorSceneMarkerGraphCommand,xb as normalizeEditorSceneMarkerPresentation,Gb as normalizeEditorSceneMaterialAssetValue,Fb as normalizeEditorSceneMaterialBindings,Bb as normalizeEditorSceneMaterialPreviewHue,zb as normalizeEditorSceneMaterialSlotOwnerPath,Ub as normalizeEditorScenePlainTransformGameObject,Vn as normalizeEditorScenePlayableInspectorValue,$b as normalizeEditorScenePrefabAssetComposition,Hb as normalizeEditorScenePrefabAssetFieldValue,Vb as normalizeEditorScenePrefabIdentifierPart,qb as normalizeEditorScenePrefabStageOwnerNodePath,Yb as normalizeEditorScenePrimitiveShape,Wb as normalizeEditorSceneRootGameObject,Kb as normalizeEditorSceneRootTransformDocument,Aa as normalizeEditorSceneRuntimeLightBinding,Jb as normalizeEditorSceneRuntimePreviewProjectUrlPath,Xb as normalizeEditorSceneShadowAuthoringSource,Qb as normalizeEditorSceneSystemLightGameObject,Zb as normalizeMarkerBoxSize,eS as normalizeMarkerNodeKind,Ss as normalizePlayableEditorAssetCodeKey,bs as normalizePlayableEditorAssetDisplayName,_o as normalizePlayableEditorAssetKind,tS as normalizePlayableEditorSceneGroundDecalGameObject,rS as normalizePlayableForgePlayCommandName,nS as normalizePlayableFsPath,aS as normalizePlayableGroundDecalAlphaValue,oS as normalizePlayableGroundDecalColorValue,iS as normalizePlayableGroundDecalFontSizeValue,sS as normalizePlayableGroundDecalInspectorFieldValue,cS as normalizePlayableGroundDecalLayoutLayerPatch,dS as normalizePlayableGroundDecalLayoutPatchValue,lS as normalizePlayableGroundDecalLayoutRect,uS as normalizePlayableGroundDecalProgressPreviewPercentValue,ia as normalizePlayableGroundDecalRotationDegrees,mS as normalizePlayableGroundDecalTextureDimension,fS as normalizePlayableGroundDecalUiScaleAfterFieldPatch,gS as normalizePlayableGroundDecalUiScales,pS as normalizePlayableGroundDecalUiScalesForCommand,Ga as normalizePlayablePlatformAssetPayload,Zn as normalizePlayablePortableAssetPath,hS as parseEditorSceneDuplicateMaterialAssetValue,St as parseEditorSceneLightingDebugNumberDraft,ES as parseEditorSceneMaterialAssetFieldPath,bS as parseEditorSceneMaterialAssetSelectionId,SS as parseEditorSceneModelAssetSelectionId,_i as parsePlayableEditorEntryManifest,yS as parsePlayableGroundDecalLayerPatchPath,IS as patchEditorSceneDirectionalLightOrientationAngles,PS as patchEditorSceneGameObjectByField,fn as patchEditorSceneGameObjectField,AS as patchEditorSceneGameObjectFieldsMany,TS as patchEditorSceneGameObjectMaterialBinding,RS as patchEditorSceneGameObjectTransform,vS as patchEditorSceneGameObjectTransformsMany,wS as patchEditorSceneGameObjectsField,CS as patchEditorSceneMaterialAsset,MS as patchEditorSceneMaterialAssetField,DS as patchEditorScenePrefabAsset,_S as patchEditorScenePrefabAssetField,OS as patchEditorScenePrefabOverride,ms as patchEditorSceneRuntimeLights,jS as patchMarkerGameObjectFromSpatialMarker,NS as patchMarkerGameObjectTransformComponents,kS as patchPlayableEditorSceneDirectionalLightAngleField,LS as patchPlayableEditorSceneGameObjectFieldWithServices,xS as patchPlayableEditorSceneGameObjectsFieldWithServices,GS as patchPlayableEditorSceneGroundDecalInspectorField,FS as patchPlayableEditorSceneGroundDecalKind,BS as patchPlayableEditorSceneGroundDecalLayout,zS as patchPlayableEditorSceneGroundDecalRenderingDimension,US as patchPlayableGroundDecalLayer,xo as planPlayableEditorAssetRegistrationCore,Go as planPlayableEditorAssetUnregistrationCore,$S as playableGroundDecalColorsEqual,HS as playableGroundDecalRectsEqual,VS as postPlayableAuthoringJson,qS as postPlayableForgePlayEvent,YS as preparePlayableEditorSceneDocument,WS as pruneEditorSceneArtistMaterialProfile,KS as radiansToEditorSceneDegrees,JS as readArtistMaterialInspectorLanguage,XS as readArtistMaterialTexturePickerValue,QS as readCompiledRuntimeSceneArtifact,ZS as readEditorProjectFileContent,ey as readEditorProjectFileSnapshot,ty as readEditorSceneAssetMaterialSlots,Mt as readEditorSceneDirectionalLightAngles,Yt as readEditorSceneDirectionalLightAnglesExact,ry as readEditorSceneDirectionalLightOrientation,ny as readEditorSceneGameObjectAlphaIndex,ay as readEditorSceneGameObjectLocalTransform,oy as readEditorSceneGameObjectRenderingGroupId,iy as readEditorSceneInspectorColor,sy as readEditorSceneInspectorShadowSettings,cy as readEditorSceneInspectorVec3,dy as readEditorSceneLightType,nr as readEditorSceneLightingDebugColorSnapshotField,Le as readEditorSceneLightingDebugNumberSnapshotField,ha as readEditorSceneLightingDebugText,Ea as readEditorSceneLightingDebugTooltipText,ly as readEditorSceneLightingPreviewColor,uy as readEditorSceneLightingPreviewDirectionalLight,my as readEditorSceneLightingPreviewFiniteNumber,fy as readEditorSceneLightingPreviewHemisphericLight,on as readEditorSceneLightingProjectedLengthMultiplier,gy as readEditorSceneMaterialBindingConfig,py as readEditorSceneMaterialSlotBindingSlotId,Qn as readEditorSceneMaterialSlotDescriptor,Dr as readEditorSceneNodeKind,hy as readEditorScenePhysicsParam,Ey as readEditorScenePrefabMaterialOverrideBinding,by as readEditorScenePrefabNodeChildren,Sy as readEditorScenePrefabNodes,yy as readEditorScenePrefabOverrideMaterialPath,kn as readEditorScenePrefabRootNodeId,Iy as readEditorScenePrefabStageAssetProjection,Py as readEditorScenePrefabStageMaterialSlot,Ay as readEditorSceneRuntimeArrayLength,Ty as readEditorSceneRuntimeArrayLengthFromMethod,Ry as readEditorSceneRuntimeBoolean,vy as readEditorSceneRuntimeBounds,wy as readEditorSceneRuntimeClassName,Cy as readEditorSceneRuntimeIsEnabled,ss as readEditorSceneRuntimeLightBinding,My as readEditorSceneRuntimeNumber,Dy as readEditorSceneRuntimePreviewAssetId,_y as readEditorSceneRuntimePreviewAssetKind,Oy as readEditorSceneRuntimePreviewAssetMetadata,jy as readEditorSceneRuntimeProjectionAssetId,Ny as readEditorSceneRuntimeProjectionAssetMetadata,ky as readEditorSceneRuntimeString,Ly as readEditorSceneRuntimeValue,xy as readEditorSceneTextureUrl,Gy as readEditorSceneTransformVector,Fy as readEditorTransformPosition,By as readFpsGameEditorPlatformAssetLookup,zy as readMarkerConfigTarget,Uy as readMarkerGameObjectScale,$y as readMarkerTypeDefinition,Hy as readMarkerTypeOverrides,li as readPlayableAssetImportInput,Vr as readPlayableAssetRegistrationPlanInput,Vy as readPlayableAssetRegistrationResultRecord,di as readPlayableAssetUnregistrationPlanInput,ti as readPlayableAuthoringPayloadPathFromCommand,qe as readPlayableBridgeRequestId,Lo as readPlayableEditorManagedAssetScale,qy as readPlayableForgePlayHistoryOperationOptions,Yy as readPlayableForgePlayRequestId,Wy as readPlayableGroundDecalFiniteNumber,Ky as readPlayableGroundDecalPositiveFiniteNumber,Mr as readPlayablePlatformAssetDropPoint,Jy as readPlayablePlatformAssetExternal,Xy as readPlayablePlatformAssetKind,Qy as readPlayablePlatformAssetName,Zy as readPlayablePlatformAssetPath,eI as readPlayablePlatformAssetPlacement,Cr as readPlayablePlatformAssetRecord,gn as readPlayablePlatformAssetRecords,tI as readPlayablePlatformAssetUrl,rI as readPlayablePlatformRawAssetId,ui as readPlayableSceneNodeCreateInput,mi as readPlayableSceneNodePatchInput,Er as readPlayableSceneNodeRemoveInput,nI as readRawEditorSceneGameObjectLocalTransform,aI as readSceneMainSourceRenderingConfig,oI as readSceneMainSourceSaveCompanionConfigs,iI as readSceneMainSourceStaticShadowsArtifact,sI as readSpatialMarkerTransformPosition,cI as readSpatialMarkerTransformRotation,dI as readSpatialMarkerTransformScale,Ia as readStoredEditorSceneLightingDebugLanguage,Sa as readStoredEditorSceneLightingDebugOpen,lI as rebaseEditorScenePrefabMarkerConfig,uI as rebaseEditorScenePrefabMarkerTarget,mI as reconcileEditorSceneMaterialSlotReimportBindings,fI as reduceEditorSceneDocumentMutation,gI as reduceEditorSceneMarkerGameObjectCommand,pI as reduceEditorSceneMarkerGraph,hI as reducePlayableEditorSceneDocumentCore,gs as registerFpsGameEditorStandardAuthoringCommands,EI as registerPlayablePlatformAsset,bI as registerPlayablePlatformAssetIfNeeded,SI as renameEditorScenePrefabAsset,yI as renameEditorScenePrefabNode,II as reparentEditorScenePrefabNode,PI as replaceEditorSceneMaterialAsset,AI as replaceEditorScenePrefabAsset,TI as replaceEditorScenePrefabStageAssetProjection,RI as replacePlayableEditorSceneGroundDecalUi,vI as resetEditorSceneRenderingProfileDraft,wI as resolveDefaultEditorSceneMaterialAssetDeleteState,CI as resolveEditorProjectFileExtension,MI as resolveEditorProjectFileLanguage,DI as resolveEditorProjectMediaSource,_I as resolveEditorProjectMediaSupport,OI as resolveEditorRuntimeAssetFetchUrl,Nr as resolveEditorSceneArtistMaterialBinding,ds as resolveEditorSceneArtistMaterialRuntimePreview,ls as resolveEditorSceneArtistMaterialSlotProfiles,jI as resolveEditorSceneAssetAvailabilityKey,NI as resolveEditorSceneAssetLibraryItemRelativePath,kI as resolveEditorSceneEffectiveShadowMode,LI as resolveEditorSceneFieldSchema,xI as resolveEditorSceneGameObjectRendering,GI as resolveEditorSceneGameObjectRuntimeEntityIds,FI as resolveEditorSceneGameObjectShadowSettings,BI as resolveEditorSceneLightingPreviewProfile,zI as resolveEditorSceneMaterialAssetDeleteState,UI as resolveEditorSceneMaterialAssetIntegrity,$I as resolveEditorSceneMaterialRuntimeKind,HI as resolveEditorSceneMaterialSlotReimportDiff,Nn as resolveEditorScenePrefabInstanceEffectiveOverrides,VI as resolveEditorScenePrefabInstanceMarkers,qI as resolveEditorScenePrefabInstanceRelation,YI as resolveEditorScenePrefabSourceAssetId,WI as resolveEditorScenePrefabSourceSessionState,KI as resolveEditorScenePrefabStageMarkers,JI as resolveEditorScenePrefabStageMaterialDropTarget,XI as resolveEditorScenePrefabStageMaterialOverrideTarget,QI as resolveEditorScenePrefabStagePreviewTarget,ZI as resolveEditorSceneProjectedMaterialRuntimeKind,eP as resolveEditorSceneRenderingAlphaIndexPresetValueMigration,tP as resolveEditorSceneRootContainerId,rP as resolveEditorSceneRuntimePreviewAssetUrl,nP as resolveEditorSceneRuntimePreviewAssetUrlCandidate,aP as resolveEditorShadowPlan,oP as resolveEditorTransformPreserveWorldPolicy,iP as resolveFpsGameEditorFeatureSceneContribution,sP as resolveFpsGameEditorGroundDecalFeatureConfig,cP as resolveFpsGameEditorStaticProject,dP as resolveMarkerGeometryKindForPresentation,lP as resolveMarkerNodeKindForType,uP as resolvePlayableBabylonPlanarShadowPolicy,mP as resolvePlayableBabylonRenderingEnvironmentTextureDiagnostic,fP as resolvePlayableBabylonRenderingEnvironmentTextureResource,Ur as resolvePlayableEditorAssetIdentity,gP as resolvePlayableGroundDecalImageRect,pP as resolvePlayableGroundDecalMultiInspectorTargetIds,hP as resolvePlayableGroundDecalUiInspectorScale,EP as resolvePlayableGroundDecalUniformScaleFromVec3,aa as resolvePlayablePlatformAssetRegistrationResult,bP as rewriteMarkerRelationEndpoint,SP as rewriteMarkerRelationIds,yP as rewriteMarkerTargetRef,IP as rewriteSpatialMarkerGeometryTargetRefs,PP as rewriteSpatialMarkerTargetRefs,AP as rgbToEditorSceneMaterialPreviewHsl,TP as rotateVec3ByEuler,RP as roundEditorSceneInspectorNumber,sa as roundEditorSceneLightingNumber,vP as roundPlayableGroundDecalFieldValue,wP as runPlayableAuthoringCommand,CP as sanitizeEditorSceneGameObjectId,MP as sanitizeEditorSceneId,DP as sanitizeEditorSceneMaterialAssetIdPart,ja as sanitizeEditorSceneRuntimeDirectionalLight,Oa as sanitizeEditorSceneRuntimeHemisphericLight,_a as sanitizeEditorSceneRuntimeLightingPatch,_P as sanitizeMarkerGameObjectId,fr as sanitizePlayableEditorManagedAssetName,OP as saveSceneMainSource,jP as scaleEditorSceneLightingPreviewColor,NP as selectEditorScenePrefabNode,kP as serializeEditorSceneStaticShadowArtifact,ei as serializePlayableAuthoringFileContent,LP as setEditorScenePrefabNodeMarker,xP as setEditorScenePrefabNodeTransform,GP as setEditorSceneRenderingProfileDraftConfig,FP as setEditorSceneRenderingProfileDraftError,BP as shallowEditorSceneGameObjectsEqual,zP as shouldApplyMarkerDefaultScaleForKind,UP as shouldApplyMarkerDefaultScaleOnPresentationChange,$P as shouldPreserveTransformForMarkerGeometry,HP as splitEditorSceneFieldPath,VP as splitMaterialSlotBindingFieldPath,qP as stripKnownPlayableAssetExtension,Ft as stripKnownPlayableEditorAssetExtension,YP as sumEditorSceneRuntimeMeshNumbers,WP as summarizeSaveResult,KP as syncEditorSceneDirectionalLightOrientationAfterTransformPatch,JP as syncEditorSceneDirectionalLightTransformRotationAfterDirectionPatch,XP as syncEditorSceneMarkerGraph,QP as syncEditorSceneMarkerGraphDocument,ZP as syncEditorScenePrefabRootNodeFields,eA as toEditorLocalTransformFromWorld,tA as toEditorSceneInspectorLabel,rA as toEditorSceneInspectorSafeValue,nA as toEditorSceneLocalTransformForParent,aA as toEditorSceneLocalTransformFromWorld,oA as toEditorSceneLocalTrsTransformForParent,iA as toEditorScenePreserveWorldLocalTransformForParent,cs as toEditorSceneRuntimeLightingPatches,sA as toEditorSceneTransformComponent,cA as toEditorSceneTransformSnapshot,gi as toPlayableBridgeCommandError,Es as toPlayableEditorAssetImportName,dA as toneMapEditorSceneLightingPreviewColor,lA as toneMapEditorSceneLightingPreviewNumber,uA as transformEditorSceneMaterialPreviewBaseColor,mA as tryCreateEditorSceneTransformComponent,fA as tryCreateEditorSceneTransformSnapshot,Ra as updateEditorSceneLightingDebugSnapshotColorField,wa as updateEditorSceneLightingDebugSnapshotDirection,va as updateEditorSceneLightingDebugSnapshotEnabled,ar as updateEditorSceneLightingDebugSnapshotFromAngles,Ta as updateEditorSceneLightingDebugSnapshotNumberField,gA as updateEditorSceneMarkerGameObject,pA as updateMarkerType,hA as validateAndNormalizeEditorSceneMaterialAssetField,qn as validateEditorSceneFieldInspectorValue,EA as validateEditorSceneGroupSelection,bA as validateEditorSceneHierarchyMove,SA as validateEditorSceneMaterialAssetFieldValue,us as validateEditorSceneMaterialGlslColorBindings,yA as validateEditorScenePrefabAssetFieldValue,IA as validateEditorSceneReparent,PA as validatePlayableGroundDecalInspectorField,AA as validateSceneMainDocument,TA as waitForPlayableLocalEditorPaint,RA as waitForPlayableMilliseconds,vA as withEditorSceneMarkerGraph,wA as writeMarkerTypeOverrides,CA as writePlayableAuthoringFile,Pa as writeStoredEditorSceneLightingDebugLanguage,ya as writeStoredEditorSceneLightingDebugOpen};
|
|
Binary file
|
|
Binary file
|