@volter/game-editor 0.5.118 → 0.5.119
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/BUNDLED_NOTICES +22 -22
- package/catalog/entries/blender.json +2 -2
- package/catalog/entries/music.json +2 -2
- package/dist/.vite/manifest.json +2134 -2134
- package/dist/assets/{AssetBudgetPanel-HqXuzq3a.js → AssetBudgetPanel-DLCLAueS.js} +3 -3
- package/dist/assets/{AudioViewer-DQVH0hNK.js → AudioViewer-Di7nEDRs.js} +1 -1
- package/dist/assets/{CanvasBoardDocument-BSu5ZZWY.js → CanvasBoardDocument-C1d64umq.js} +1 -1
- package/dist/assets/{CanvasSceneViewport-C5RoaG7I.js → CanvasSceneViewport--AeFMte7.js} +1 -1
- package/dist/assets/{ColorInput-DVD-8awT.js → ColorInput-DcPp2Jfs.js} +1 -1
- package/dist/assets/{ColorPicker-BZI7zqQx.js → ColorPicker-3aaqxI6W.js} +1 -1
- package/dist/assets/{EntityModelDocument-Bzuj9RRw.js → EntityModelDocument-CxovZk_6.js} +1 -1
- package/dist/assets/{EnvironmentAssetDocument-B8Yx6hdu.js → EnvironmentAssetDocument-CdSqG9Vm.js} +1 -1
- package/dist/assets/{GameplaySessionTimeline-BEbFFHE0.js → GameplaySessionTimeline-C2k1jpYs.js} +1 -1
- package/dist/assets/{ImageViewer-vfZT5nGX.js → ImageViewer-vkmrf7wM.js} +1 -1
- package/dist/assets/InspectorObjectPreview-mEPAUoAZ.js +1 -0
- package/dist/assets/{JsonAssetDocument-Bwvz7zsL.js → JsonAssetDocument-BlmkUDOB.js} +1 -1
- package/dist/assets/{LiveModuleDocument-DYJl03Cs.js → LiveModuleDocument-C0-wrS1f.js} +1 -1
- package/dist/assets/{LutAssetDocument-D9cd-cAQ.js → LutAssetDocument-Bc7eX697.js} +1 -1
- package/dist/assets/{ModelAssetDocument-Bzw9ZSLy.js → ModelAssetDocument--yhgna0g.js} +1 -1
- package/dist/assets/{NonThreeAuthoringBootstrap-ptbJfPLv.js → NonThreeAuthoringBootstrap-Cn-U4PJv.js} +1 -1
- package/dist/assets/{Object3DDocumentToolbar-vnVDSoG8.js → Object3DDocumentToolbar-CLmS1cvt.js} +1 -1
- package/dist/assets/Object3DDocumentViewport-DcvCbksR.js +2 -0
- package/dist/assets/{Object3DPreview-B-jygv_z.js → Object3DPreview-DgyDWbEl.js} +1 -1
- package/dist/assets/{OnlineAssetDetail-Bzu7E1Pr.js → OnlineAssetDetail-veDlf5bA.js} +1 -1
- package/dist/assets/{PlayBar-CSBeiHyp.js → PlayBar-BngVcGVk.js} +1 -1
- package/dist/assets/{QuarksAssetDocument-XTVTfvcn.js → QuarksAssetDocument-LE6lAFKN.js} +1 -1
- package/dist/assets/{ReactCanvasControls-CmX1xMIz.js → ReactCanvasControls-Gd1z8W3l.js} +1 -1
- package/dist/assets/{RootSelectionOverlay-DMTg_M22.js → RootSelectionOverlay-CBKKYwha.js} +1 -1
- package/dist/assets/{ShaderAssetDocument-BD-gA9si.js → ShaderAssetDocument-DubXFKhu.js} +1 -1
- package/dist/assets/{ShadowEditor-DQlwf09O.js → ShadowEditor-Bnf0lzSV.js} +1 -1
- package/dist/assets/{SourceAssetViewer-CE0AbdsH.js → SourceAssetViewer-B0A_jGKd.js} +1 -1
- package/dist/assets/{StageHost-D94S-LXy.js → StageHost-CY3uI_aZ.js} +2 -2
- package/dist/assets/{StoryPreviewMount-CCFugHBf.js → StoryPreviewMount-CyhPGq6N.js} +1 -1
- package/dist/assets/{ThreeBoardDocument-Dw8kQu3e.js → ThreeBoardDocument-BXbQC6hf.js} +2 -2
- package/dist/assets/{ThreeIsolationSceneContent-BUOG6DR0.js → ThreeIsolationSceneContent-V9yw24JZ.js} +1 -1
- package/dist/assets/{ToolObject3DPreview-DXn3BZXl.js → ToolObject3DPreview-nZwQcx4f.js} +1 -1
- package/dist/assets/{Toolbar-CKfCB7C5.js → Toolbar-C1jZJGkF.js} +1 -1
- package/dist/assets/{TransientHint-C_znI6kF.js → TransientHint-DvRAObC-.js} +1 -1
- package/dist/assets/{VideoViewer-ByKN3zV8.js → VideoViewer-CkwpcCCY.js} +1 -1
- package/dist/assets/{ViewportShadingMenu-CiwDFdZ3.js → ViewportShadingMenu-1qncBlne.js} +1 -1
- package/dist/assets/{active-ingest-D7vF0_WM.js → active-ingest-C8hWtGOu.js} +2 -2
- package/dist/assets/{animation-clock-9uOmSLnh.js → animation-clock-sx3eUOIs.js} +1 -1
- package/dist/assets/{animation-mixers.service-CezYh0uP.js → animation-mixers.service-C2ZQApSd.js} +1 -1
- package/dist/assets/{animation-timeline.utility-N08ogFNx.js → animation-timeline.utility-DEAcBLRa.js} +1 -1
- package/dist/assets/{asset-budget-asset.menu-CNb7-JeF.js → asset-budget-asset.menu-BrilAqmU.js} +1 -1
- package/dist/assets/{asset-budget.action-t7yUxtux.js → asset-budget.action-Cjwe4G7Y.js} +1 -1
- package/dist/assets/{asset-budget.document-CepgaRk2.js → asset-budget.document-DX2AQu1-.js} +1 -1
- package/dist/assets/{asset-budget.menu-CTikGjea.js → asset-budget.menu-D5vhleIA.js} +1 -1
- package/dist/assets/{asset-editor-persistence-BeOkWj7s.js → asset-editor-persistence-DYsnXrDV.js} +1 -1
- package/dist/assets/{asset-loaders-DUlmV2N7.js → asset-loaders-Btu5GbV9.js} +1 -1
- package/dist/assets/{asset-preview-AyKlHOUG.js → asset-preview-DUkvMSbV.js} +1 -1
- package/dist/assets/{audio-unlock.service-D9EB2KFU.js → audio-unlock.service-CR5IpmwB.js} +1 -1
- package/dist/assets/{audio.utility-DTA2tIvc.js → audio.utility-DT1iCksO.js} +1 -1
- package/dist/assets/autoplay.service-CoK3RZ8n.js +1 -0
- package/dist/assets/{babylon-authoring-adapter-B9wh_FNi.js → babylon-authoring-adapter-D1a4KiZ4.js} +1 -1
- package/dist/assets/{binding-resolver-Bj4lXGJM.js → binding-resolver-DVwy1f66.js} +2 -2
- package/dist/assets/{blender-node-editor.document-GFtxXIGD.js → blender-node-editor.document-DQskD7VZ.js} +1 -1
- package/dist/assets/{blender-properties-tab-D8P-ENR0.js → blender-properties-tab-BceodQGX.js} +1 -1
- package/dist/assets/{blender-runtime-host-DDpok1JE.js → blender-runtime-host-CYpPXvau.js} +1 -1
- package/dist/assets/{blender-runtime-skin-CsQYIDah.js → blender-runtime-skin-BCIA18OX.js} +1 -1
- package/dist/assets/{blender-runtime.document-BkLGZyCs.js → blender-runtime.document-BgpoM8Fv.js} +1 -1
- package/dist/assets/{blender-screenshot.menu-BxULFKVG.js → blender-screenshot.menu-Dry3spPI.js} +1 -1
- package/dist/assets/{blender-timeline.document-qanxaCRV.js → blender-timeline.document-f1NbXl1A.js} +1 -1
- package/dist/assets/{blender-uv-editor.document-Dupon7VB.js → blender-uv-editor.document-B86Zjzwa.js} +1 -1
- package/dist/assets/{blender-version.status-C0QhIFZf.js → blender-version.status-DLI3DMhy.js} +1 -1
- package/dist/assets/{blender.command-CAbLvvLY.js → blender.command-8BMB07nA.js} +1 -1
- package/dist/assets/{board-guides-D5c2iM0M.js → board-guides-pink9jqH.js} +1 -1
- package/dist/assets/{bridge.command-jsbw5GvJ.js → bridge.command-RNbvL1Uu.js} +3 -3
- package/dist/assets/{browserAll-Bq2ZxEEc.js → browserAll-CxLDb-Wi.js} +1 -1
- package/dist/assets/{build-player.document-BKv66fYH.js → build-player.document-VB0OYBs5.js} +1 -1
- package/dist/assets/{build-profiles.document-DUMRQcWP.js → build-profiles.document-nzcde20n.js} +1 -1
- package/dist/assets/{build-progress.status-CSLBDvVn.js → build-progress.status-CRcXiSQL.js} +1 -1
- package/dist/assets/{build-session-CoVPhaCV.js → build-session-CXhhaZcU.js} +1 -1
- package/dist/assets/{build.action-C8Pu0Qaa.js → build.action-CsGQuQCv.js} +1 -1
- package/dist/assets/{build.command-Y7ZFB16B.js → build.command-BKPVHWoq.js} +1 -1
- package/dist/assets/{build.header-C9cApJlp.js → build.header-BRxFtJIm.js} +1 -1
- package/dist/assets/{build.menu-zKiRZ-GW.js → build.menu-BWsofb5K.js} +1 -1
- package/dist/assets/{build.service-BGdLfM7q.js → build.service-BXlhc8EL.js} +1 -1
- package/dist/assets/{camera-Birs8s_0.js → camera-DF1vLxUp.js} +1 -1
- package/dist/assets/{camera-runtime.inspector-CUNGATjE.js → camera-runtime.inspector-BGNL8HWr.js} +1 -1
- package/dist/assets/{canvas-design-mount-BJse4KWh.js → canvas-design-mount-Bu2g_Z6U.js} +3 -3
- package/dist/assets/{canvas-entry-runtime-C2m3kEjI.js → canvas-entry-runtime-fW5lru8c.js} +2 -2
- package/dist/assets/{canvas-preview-frames-BGCULuzb.js → canvas-preview-frames-DHBuQIUp.js} +1 -1
- package/dist/assets/{canvas-story-capture.service-D6lgNuqO.js → canvas-story-capture.service-NFSYHWK1.js} +2 -2
- package/dist/assets/{capability-coverage-l_R9gCUV.js → capability-coverage-BgYecYfX.js} +1 -1
- package/dist/assets/{collaboration-presence-6bJbIMPv.js → collaboration-presence-68pTiVZq.js} +1 -1
- package/dist/assets/{collider-DCENOEQ6.js → collider-D9JbQvrM.js} +1 -1
- package/dist/assets/{component-board.service-CIMa_5-V.js → component-board.service-7uXFNxxq.js} +2 -2
- package/dist/assets/{component-board.service-MkNl3te3.js → component-board.service-BUGGXVtp.js} +2 -2
- package/dist/assets/{component-board.service-BmFiXn58.js → component-board.service-Chqlg7al.js} +2 -2
- package/dist/assets/{component-contracts.service-B-EpU1r1.js → component-contracts.service-C0KqJ2Wt.js} +1 -1
- package/dist/assets/{component-instance-root-1XORgnxr.js → component-instance-root-C-pbJiuH.js} +1 -1
- package/dist/assets/{component-verbs.command-CStHQ_Bz.js → component-verbs.command-CeVbwEJf.js} +1 -1
- package/dist/assets/{component-verbs.service-Wp5bZlu9.js → component-verbs.service-C9e75Wbt.js} +1 -1
- package/dist/assets/{config-DKBEKx6m.js → config-0G2Gsloi.js} +2 -2
- package/dist/assets/{configurations-CYmpAbNH.js → configurations-B5wOctpd.js} +1 -1
- package/dist/assets/{connection.status-BnD4-dZT.js → connection.status-dnBL9sXy.js} +1 -1
- package/dist/assets/{constraints.inspector-lGhV8mr_.js → constraints.inspector-flOa9ON8.js} +1 -1
- package/dist/assets/{content-bounds-Dm610thJ.js → content-bounds-B-QU78MQ.js} +1 -1
- package/dist/assets/{contract-system-adapters-BOsHzp5j.js → contract-system-adapters-CLuitKH0.js} +1 -1
- package/dist/assets/{coverage.service-G_1NEc3Q.js → coverage.service-Dzqr2y1w.js} +1 -1
- package/dist/assets/{create-runtime-BEEjK4hH.js → create-runtime-BrGlRGkJ.js} +1 -1
- package/dist/assets/{curve-C6m7I0EV.js → curve-Bflps6L3.js} +1 -1
- package/dist/assets/{data-asset-DwoqAORY.js → data-asset-7kO0Nvo6.js} +1 -1
- package/dist/assets/{data-ref-BhZ1uPKR.js → data-ref-CZU_ASsS.js} +1 -1
- package/dist/assets/{debug-bridge-TB8wZAZ5.js → debug-bridge-BqOqFvgc.js} +1 -1
- package/dist/assets/{debug-registry-BHb12FP7.js → debug-registry-G8zPk-Nr.js} +1 -1
- package/dist/assets/{deferred-ingest-play-CpmJ0gP7.js → deferred-ingest-play-kASYVQUE.js} +2 -2
- package/dist/assets/{design-time-canvas-mount-C4-MrRaz.js → design-time-canvas-mount-Botb5RBm.js} +2 -2
- package/dist/assets/{design-time-layers-BuyHIesr.js → design-time-layers-C_a0gkvn.js} +1 -1
- package/dist/assets/{design-time-mount.service-BlAOrzrK.js → design-time-mount.service-G0HQVCYH.js} +2 -2
- package/dist/assets/{design-time-mount.service-DBGcEAWr.js → design-time-mount.service-yBwAwEDr.js} +2 -2
- package/dist/assets/{design-time-react-mount-BYw17WQh.js → design-time-react-mount-C5uZw4qR.js} +1 -1
- package/dist/assets/{document-preview-three-CE0Ac35n.js → document-preview-three-6oJXAldu.js} +1 -1
- package/dist/assets/{dom-authoring-adapter-nF3yjN7P.js → dom-authoring-adapter-BM18vASm.js} +1 -1
- package/dist/assets/{draco3d-B-Z1CpIy.js → draco3d-CnwY_UE5.js} +1 -1
- package/dist/assets/{edit-mode-audio.service-FZej7fwZ.js → edit-mode-audio.service-IVYwYhXx.js} +1 -1
- package/dist/assets/{edit-mode-authoring-fpFMRgys.js → edit-mode-authoring-BBaUhfte.js} +1 -1
- package/dist/assets/{edit-mode-networking.service-DNWxywj7.js → edit-mode-networking.service-7BwLCOSa.js} +1 -1
- package/dist/assets/{editor-api-CI_Qw-N0.js → editor-api-Bg6j14zU.js} +1 -1
- package/dist/assets/{editor-layers-Cuup-Y7g.js → editor-layers-C7pYh_be.js} +1 -1
- package/dist/assets/{editor-shell-store-DE5vHuYk.js → editor-shell-store-C95nPlGP.js} +1 -1
- package/dist/assets/{entity-object-DExVBckP.js → entity-object-Hk6zSR-H.js} +1 -1
- package/dist/assets/{extend-xDmv3OxU.js → extend-Dg1WzVJs.js} +1 -1
- package/dist/assets/{fork-menu-7xaPK_gU.js → fork-menu-U1FqBTKg.js} +1 -1
- package/dist/assets/{frame-debugger-store-BlhhH3pp.js → frame-debugger-store-g_-BDkou.js} +1 -1
- package/dist/assets/{game-contract-seams-CKqbpHvU.js → game-contract-seams-DNZ0qcRP.js} +1 -1
- package/dist/assets/{game-css-scope-transform-UkxSXYmn.js → game-css-scope-transform-BVdFlT0j.js} +1 -1
- package/dist/assets/{game-document.service-Ciz46KwF.js → game-document.service-D_H02oOh.js} +1 -1
- package/dist/assets/{game-eval.command-Df1bHfKA.js → game-eval.command-DHY8rN8p.js} +1 -1
- package/dist/assets/{game-module-access-1zbEtLRW.js → game-module-access-BjeAQf2X.js} +1 -1
- package/dist/assets/{game-network-DDTDYWaq.js → game-network-CEFeVO4q.js} +3 -3
- package/dist/assets/{gameplay-export-BDwW4ZeA.js → gameplay-export-BpZOg7tS.js} +1 -1
- package/dist/assets/{gameplay-replay-BbxpFQrx.js → gameplay-replay-CQ0pKMJt.js} +1 -1
- package/dist/assets/{gameplay.command-DtsNBOvd.js → gameplay.command-C0elGVza.js} +1 -1
- package/dist/assets/{generation-jobs-BP43G8_Q.js → generation-jobs-ngXJRscY.js} +1 -1
- package/dist/assets/{generation.service-BScQu8Sg.js → generation.service-BLZT9du5.js} +1 -1
- package/dist/assets/{generations-BtJzN99e.js → generations-B-qIxLtY.js} +1 -1
- package/dist/assets/{generations.status-Cp38CoT7.js → generations.status-CwxQjJh8.js} +1 -1
- package/dist/assets/{hierarchy-marks-Dz55bvuk.js → hierarchy-marks-DZyjShW7.js} +1 -1
- package/dist/assets/{hosted-asset-materialization-Bsc70fRl.js → hosted-asset-materialization-Bfa_2TLA.js} +1 -1
- package/dist/assets/{index-C2LW-ago.js → index-2DslQjTP.js} +1 -1
- package/dist/assets/{index-CBAvzZFY.js → index-Bel72yaK.js} +1 -1
- package/dist/assets/{index-CIvW6PQY.js → index-Bi1gL-tZ.js} +7 -7
- package/dist/assets/{index-BInT63XM.js → index-CQ6b8Wtq.js} +1 -1
- package/dist/assets/{index-C4oYQeJh.js → index-D4I12t4G.js} +1 -1
- package/dist/assets/{index-D1xtpB4l.js → index-D6omBm3b.js} +1 -1
- package/dist/assets/{index-CL8BNyV7.js → index-DOYVxsuq.js} +1 -1
- package/dist/assets/{index-DAQswRB0.js → index-DfXjK5yA.js} +1 -1
- package/dist/assets/{index-BC5NeEVa.js → index-Y5KbBHX2.js} +2 -2
- package/dist/assets/{inference-diagnostics-BopptVH6.js → inference-diagnostics-Ble-6r6b.js} +1 -1
- package/dist/assets/{ingest-boot-viewport-DDnhjnTi.js → ingest-boot-viewport-CWek3Hxi.js} +1 -1
- package/dist/assets/{ingest-siblings-CRdWhngP.js → ingest-siblings-DimTKd0-.js} +1 -1
- package/dist/assets/{ingest-source-persistence-By_F6LJR.js → ingest-source-persistence-lTo50Ca-.js} +1 -1
- package/dist/assets/{ingest.service-DlAsqV7Q.js → ingest.service-DrIQPkzX.js} +1 -1
- package/dist/assets/{inspect-CzUqDCsp.js → inspect-CzbZFjV8.js} +1 -1
- package/dist/assets/instances.command-CLEsp91I.js +1 -0
- package/dist/assets/{json-history-resource-vSNgROIK.js → json-history-resource-BHeJn7fe.js} +1 -1
- package/dist/assets/{layered-pick-BT_GgsY-.js → layered-pick-DpLsmyN5.js} +1 -1
- package/dist/assets/{light-5_m5IbUA.js → light-D5XrsEC7.js} +1 -1
- package/dist/assets/{live-project-verbs-BDRLedOB.js → live-project-verbs-BYR1JnTB.js} +1 -1
- package/dist/assets/{machine.document-BjRrgqHf.js → machine.document-yfUVatUZ.js} +1 -1
- package/dist/assets/{machines.finder-CBDSpnDe.js → machines.finder-tSlMzZwB.js} +1 -1
- package/dist/assets/{material-CM-xU0DE.js → material-D0GQYful.js} +1 -1
- package/dist/assets/{material-factory-CUWU6Zu0.js → material-factory-DJklQcw7.js} +1 -1
- package/dist/assets/{mesh-Cu4CDso3.js → mesh-j1D2J7qd.js} +1 -1
- package/dist/assets/{model-asset-sections.service-CL2WtGng.js → model-asset-sections.service-BZS1zSpl.js} +1 -1
- package/dist/assets/{model-inspection-Dao1B-ji.js → model-inspection-DOy7D2tz.js} +1 -1
- package/dist/assets/{model-thumbnail-BiA0hed5.js → model-thumbnail-BKKkDFbB.js} +1 -1
- package/dist/assets/{models.finder-Cs4ldn9p.js → models.finder-BxLVqoV9.js} +1 -1
- package/dist/assets/{module-mode-D7OVp-ls.js → module-mode-YiN4W9ZK.js} +2 -2
- package/dist/assets/{mount-canvas-ingest-root-BahyyoSm.js → mount-canvas-ingest-root-Bdg0WIoA.js} +2 -2
- package/dist/assets/{mount-dom-ingest-root-BRJIxA08.js → mount-dom-ingest-root-bUKMfIeZ.js} +2 -2
- package/dist/assets/{mount-ingest-root-Bzp__CIu.js → mount-ingest-root-CdRrgzOS.js} +2 -2
- package/dist/assets/{mount-manifest-DnvIhEMH.js → mount-manifest-4Q5jphsi.js} +1 -1
- package/dist/assets/{mount-three-ingest-root-CFwkgF-d.js → mount-three-ingest-root-BIQ42T_s.js} +1 -1
- package/dist/assets/{mounted-authoring-BLnHIXL0.js → mounted-authoring-BSeER64c.js} +1 -1
- package/dist/assets/{mounted-story-viewport-source-BTc7aSjb.js → mounted-story-viewport-source-CNXpwsu7.js} +1 -1
- package/dist/assets/{native-debug-module-D4aoSlIt.js → native-debug-module-B02t5tKF.js} +1 -1
- package/dist/assets/{navigation-B5NuXfr8.js → navigation-CZGLeUYT.js} +1 -1
- package/dist/assets/{navmesh.menu-D6TyIUuc.js → navmesh.menu-DUQbXNd-.js} +1 -1
- package/dist/assets/{navmesh.service-DAWrobDD.js → navmesh.service-DfQGJz9M.js} +1 -1
- package/dist/assets/network-observer.service-uhIHGVVb.js +1 -0
- package/dist/assets/{network.utility-D0lqV8bb.js → network.utility-DyHeuhkv.js} +1 -1
- package/dist/assets/{object3d-document-session-registry-D8ERLHaX.js → object3d-document-session-registry-BgIvaFaY.js} +2 -2
- package/dist/assets/{oid-transform-7cVqkub5.js → oid-transform-CKAtfeIy.js} +1 -1
- package/dist/assets/{particles-C_j1vf_7.js → particles-Dp_69HKn.js} +1 -1
- package/dist/assets/{pixi-authoring-adapter-DxhYKDJ8.js → pixi-authoring-adapter-DHzidBFe.js} +1 -1
- package/dist/assets/{pixi-live-write-target-Lr5agPuW.js → pixi-live-write-target-DI7BwEh9.js} +1 -1
- package/dist/assets/{play.command-Ds-4_rH8.js → play.command-D5IGAHHu.js} +2 -2
- package/dist/assets/{presentation-Dgs5jGc2.js → presentation-BmL71dK_.js} +1 -1
- package/dist/assets/{product-BccUu3Jb.js → product-DHzfpjX5.js} +1 -1
- package/dist/assets/{profiler.action-Zq2jf4o4.js → profiler.action-DJHW-8kd.js} +1 -1
- package/dist/assets/{profiler.menu-sXzn65nz.js → profiler.menu-b5EXwtKt.js} +1 -1
- package/dist/assets/{profiler.utility-DZZAqxgp.js → profiler.utility-m_zY78O7.js} +1 -1
- package/dist/assets/{project-authoring-session-C927zHSE.js → project-authoring-session-C0dh_xhl.js} +2 -2
- package/dist/assets/{properties-bone-constraints.inspector-CUIOVDQV.js → properties-bone-constraints.inspector-MiAGiudr.js} +1 -1
- package/dist/assets/{properties-bone.inspector-DiWlK9Tg.js → properties-bone.inspector-t_Z5rAJQ.js} +1 -1
- package/dist/assets/{properties-collection.inspector-DCjnGSMu.js → properties-collection.inspector-UMmAXCL2.js} +1 -1
- package/dist/assets/{properties-constraints.inspector-DvZWlM_N.js → properties-constraints.inspector-BJDPmPw-.js} +1 -1
- package/dist/assets/{properties-data.inspector-BIlswH2t.js → properties-data.inspector-DuFrI0k7.js} +1 -1
- package/dist/assets/{properties-material.inspector-DIMuUuQF.js → properties-material.inspector-p_-0WMYe.js} +1 -1
- package/dist/assets/{properties-modifiers.inspector-CdLYLU78.js → properties-modifiers.inspector-DifRZYnA.js} +1 -1
- package/dist/assets/{properties-object.inspector-D10d_Lz3.js → properties-object.inspector-CA-ey_Xp.js} +1 -1
- package/dist/assets/{properties-output.inspector-DnzQmOKt.js → properties-output.inspector-CutEzo-6.js} +1 -1
- package/dist/assets/{properties-particles.inspector-DrZViJE-.js → properties-particles.inspector-DqxX720i.js} +1 -1
- package/dist/assets/{properties-physics.inspector-Hpgu-3dC.js → properties-physics.inspector-DeE7nab3.js} +1 -1
- package/dist/assets/{properties-render.inspector-DKfPTQiU.js → properties-render.inspector-C4GR_Jbv.js} +1 -1
- package/dist/assets/{properties-scene.inspector-J4fSpzXT.js → properties-scene.inspector-G6qpaSvx.js} +1 -1
- package/dist/assets/{properties-texture.inspector-BKqdvqgo.js → properties-texture.inspector-CuMiSkls.js} +1 -1
- package/dist/assets/{properties-view-layer.inspector-COm8b5K-.js → properties-view-layer.inspector-UP-Qrpi4.js} +1 -1
- package/dist/assets/{properties-world.inspector-Bj3KKJ_C.js → properties-world.inspector-Du4-w7om.js} +1 -1
- package/dist/assets/{r3f-design-session-BEATXGy2.js → r3f-design-session-CFvvadl6.js} +2 -2
- package/dist/assets/{r3f-physics-binding-sqfaF1ib.js → r3f-physics-binding-B1yHIZ3-.js} +1 -1
- package/dist/assets/{r3f-source-authoring-adapter-DZdYQWzy.js → r3f-source-authoring-adapter-Cdr6PweA.js} +1 -1
- package/dist/assets/{react-canvas-navigation-p37EiJMh.js → react-canvas-navigation-CwJ7nVjs.js} +1 -1
- package/dist/assets/{react-inspector.service-mbf-R-2Q.js → react-inspector.service-Bk8FWPiJ.js} +1 -1
- package/dist/assets/{react-story-board-B33NoSzW.js → react-story-board-DJka6aFH.js} +1 -1
- package/dist/assets/{react-three-rapier.esm-DtMZOCKx.js → react-three-rapier.esm-CK-ueHf1.js} +1 -1
- package/dist/assets/{react-world-authoring-adapter-DxDW0ty7.js → react-world-authoring-adapter-C3nt4-cm.js} +1 -1
- package/dist/assets/{realm-services-F7Kj_vrK.js → realm-services-OTF9qWQP.js} +1 -1
- package/dist/assets/{reflection-probe-capture.inspector-C-2IOPHX.js → reflection-probe-capture.inspector-Cs5C-Gbo.js} +1 -1
- package/dist/assets/{registry-BFgdbozc.js → registry-DT60P4rn.js} +1 -1
- package/dist/assets/{relative-import-specifier-Bi2_a2rG.js → relative-import-specifier-XFUW6YBu.js} +1 -1
- package/dist/assets/{render-env-miIZ6IrK.js → render-env-HoIZ9H43.js} +1 -1
- package/dist/assets/{render-features-BO6TVhcc.js → render-features-DbKSwOnR.js} +1 -1
- package/dist/assets/{render-settings-L80fXhuT.js → render-settings-Zk2ir5dr.js} +1 -1
- package/dist/assets/{resolve-three-Be3HCdVu.js → resolve-three-BzrR7JWE.js} +3 -3
- package/dist/assets/{root-seam-contract-ITdzkz3q.js → root-seam-contract-iCFvW5nM.js} +1 -1
- package/dist/assets/{run-selection-CVuEJNpv.js → run-selection-CYLW4laW.js} +1 -1
- package/dist/assets/{scene-capture-CLnRf-ay.js → scene-capture-BDxuZTci.js} +1 -1
- package/dist/assets/{scene-document.service-C1WttMW4.js → scene-document.service-hHG-XrSh.js} +2 -2
- package/dist/assets/{scene-framing-hzkM8H3d.js → scene-framing-V-SgiDK8.js} +1 -1
- package/dist/assets/{seeded-random-bWJ1RCY7.js → seeded-random-WpfQL6aR.js} +1 -1
- package/dist/assets/{setup-renderer-o_UHSQ11.js → setup-renderer-0WWuS9i8.js} +1 -1
- package/dist/assets/{source-object3d-authoring-adapter-DLz7rWxd.js → source-object3d-authoring-adapter-CFU_Fshn.js} +1 -1
- package/dist/assets/{source-persistence-backend-CQAxNrZO.js → source-persistence-backend-C2AhVqAj.js} +1 -1
- package/dist/assets/{stage-keyboard-D6SLGzpO.js → stage-keyboard-CQVRIDTP.js} +1 -1
- package/dist/assets/{stage-overlay-set-BiJpW1Z1.js → stage-overlay-set-KzvWXwHW.js} +1 -1
- package/dist/assets/{stage-presence-markers-DyX7CTfo.js → stage-presence-markers-E9oyWXiD.js} +1 -1
- package/dist/assets/{stage-transform-tools-BGu616ns.js → stage-transform-tools-BZ1SCvZJ.js} +1 -1
- package/dist/assets/{standard-viewport-dressing-6Jw1V5qc.js → standard-viewport-dressing-Bjv5He7G.js} +1 -1
- package/dist/assets/{state-watch.action-D8ZNvRzJ.js → state-watch.action-DjBFqWBP.js} +1 -1
- package/dist/assets/{state-watch.menu-xtLjviBo.js → state-watch.menu-DzOzKkGc.js} +1 -1
- package/dist/assets/{state-watch.utility-B9aBTWo1.js → state-watch.utility-DNYAkOo7.js} +1 -1
- package/dist/assets/{story-capture-CD5mQix-.js → story-capture-DFB3BBPY.js} +1 -1
- package/dist/assets/{story-documents-6Ju7lp6l.js → story-documents-DXKRzySA.js} +1 -1
- package/dist/assets/{story-documents.service-4qxegHX4.js → story-documents.service-BDz0APp7.js} +1 -1
- package/dist/assets/{story-documents.service-BnJA-Peb.js → story-documents.service-D1DeBd3j.js} +1 -1
- package/dist/assets/{story-media-presence-jZL4cO64.js → story-media-presence-BPsfRpvY.js} +1 -1
- package/dist/assets/{story-pixi-preview-BQp48tx-.js → story-pixi-preview-BG8PqRtP.js} +1 -1
- package/dist/assets/{story-presentation-NqyFbI4F.js → story-presentation-DPkOgZC_.js} +1 -1
- package/dist/assets/{story-three-preview-BmU6ZF6y.js → story-three-preview-CA_ZO3gk.js} +2 -2
- package/dist/assets/{studio-environment-iufbXOBi.js → studio-environment-CdhDVR6z.js} +1 -1
- package/dist/assets/{surface-state-DXubqNo5.js → surface-state-YwN1G_p1.js} +1 -1
- package/dist/assets/{syntactic-prop-specs-BM3YTEOR.js → syntactic-prop-specs-DTolqAEx.js} +1 -1
- package/dist/assets/{team-playtest.service-BykmNzR-.js → team-playtest.service-UVSMuvGr.js} +1 -1
- package/dist/assets/{three-CLmOBdem.js → three-BWw0pySQ.js} +1 -1
- package/dist/assets/{three-authoring-adapter-Cm5jfSwc.js → three-authoring-adapter-DzMA_DwF.js} +1 -1
- package/dist/assets/three-authoring.service-BhAFaBZd.js +2 -0
- package/dist/assets/{three-ingest-runtime-CYpDOZTv.js → three-ingest-runtime-8F3EuiEb.js} +1 -1
- package/dist/assets/{three-integration-CoYYjm63.js → three-integration-Ckew2mzY.js} +2 -2
- package/dist/assets/three-integration.service-Clpg1bwf.js +1 -0
- package/dist/assets/{three-projection-core-DZTszel5.js → three-projection-core-DUeeR0MU.js} +1 -1
- package/dist/assets/{three-state-DrJWKuiO.js → three-state-b1tGu0bA.js} +1 -1
- package/dist/assets/{three-story-capture.service-BClm29Ug.js → three-story-capture.service-BVMOtsox.js} +2 -2
- package/dist/assets/{three-story-model-CPRkC3Z7.js → three-story-model-CHPgselm.js} +1 -1
- package/dist/assets/{three-viewport-presentation-FMAOITDK.js → three-viewport-presentation-Bi5Vi-V0.js} +1 -1
- package/dist/assets/{transform-mode-request-N66cicyJ.js → transform-mode-request-c158UlT4.js} +1 -1
- package/dist/assets/{transport-strip-D7f4gfsu.js → transport-strip-BT3OSCfw.js} +1 -1
- package/dist/assets/transport.header-Ba0KSRMN.js +1 -0
- package/dist/assets/{tuples-BEd4OCzm.js → tuples-ptzBiDMS.js} +1 -1
- package/dist/assets/{ui-board-document-D5ynSZAE.js → ui-board-document-ByPdXe4d.js} +2 -2
- package/dist/assets/{user-data-ewYRLR68.js → user-data-BiEVHDVL.js} +1 -1
- package/dist/assets/{utility-view-state-BON-K1XX.js → utility-view-state-B23KZ1A8.js} +1 -1
- package/dist/assets/{viewport-door-Bk2lmKCe.js → viewport-door-6PGegXgC.js} +1 -1
- package/dist/assets/{viewport-root-presentation-CtKgppro.js → viewport-root-presentation-9ojnNAw-.js} +1 -1
- package/dist/assets/{viewport-surface-status-4TZe3TJM.js → viewport-surface-status-BQTkaBAp.js} +1 -1
- package/dist/assets/{webworkerAll-yldn-lq8.js → webworkerAll-mkVPDCCA.js} +1 -1
- package/dist/assets/{workspace-arrangement-Bykd8P3-.js → workspace-arrangement-DJpS2Tt-.js} +1 -1
- package/dist/assets/{world-documents-C8B1VJMM.js → world-documents-Cf7PyvJb.js} +1 -1
- package/dist/assets/{world-root-stage-binding-CskI2r49.js → world-root-stage-binding-Do5rC66L.js} +1 -1
- package/dist/assets/{xstate-animation-binding-BT4gAJE-.js → xstate-animation-binding-_GVz5yQp.js} +1 -1
- package/dist/assets/{xstate-animation-meta-pJUO-heu.js → xstate-animation-meta-BjXxbus2.js} +1 -1
- package/dist-node/cli.js +24 -25
- package/package.json +16 -16
- package/dist/assets/InspectorObjectPreview-ZX3qJB89.js +0 -1
- package/dist/assets/Object3DDocumentViewport-_Ta156Nu.js +0 -2
- package/dist/assets/autoplay.service-BaV1jauU.js +0 -1
- package/dist/assets/instances.command-Bx5I5SFi.js +0 -1
- package/dist/assets/network-observer.service-CwU_C1Ir.js +0 -1
- package/dist/assets/three-authoring.service-D-d2Gcx8.js +0 -2
- package/dist/assets/three-integration.service-DtpqKgz-.js +0 -1
- package/dist/assets/transport.header-BmL-sNkq.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bA as nt,aN as st,al as ot,e4 as E,dV as U,a6 as at,e6 as rt,e5 as it}from"./index-CIvW6PQY.js";import{hp as wt,hq as Rt,hr as Nt,aS as _t,dX as Ct,hs as Ft,ht as Ot,hu as kt,hv as Lt,hw as jt,hx as Bt,hy as Gt,eJ as Pt,hz as Ht,e_ as $t,hA as zt,hB as Wt,hC as Vt,hD as Kt,hE as Jt,dz as Ut,hF as qt,bQ as Yt,a7 as Qt,eq as Xt,bP as Zt,h1 as te,hG as ee,hH as ne,bv as se,hI as oe,hJ as ae,hK as re,eY as ie,fe as ce,hL as ue,ff as le,hM as de,d9 as pe,hN as fe,aM as he,df as me,hO as xe,hP as Ee,hQ as ge,dg as Se,f1 as Te,fz as be,bB as De,bC as Me,fN as ye,hR as Ae,hS as Ie,aT as ve,hT as we,hU as Re,aU as Ne,bH as _e,hV as Ce,db as Fe,de as Oe,eB as ke,hW as Le,hX as je,aL as Be,e$ as Ge,hY as Pe,hZ as He,gK as $e,h_ as ze,bw as We,h$ as Ve,i0 as Ke,es as Je,i1 as Ue,i2 as qe,i3 as Ye,i4 as Qe,i5 as Xe,eo as Ze,ep as tn,i6 as en,i7 as nn,i8 as sn,i9 as on,ev as an,ia as rn,ib as cn,ic as un,id as ln,ie as dn,a8 as pn,ig as fn,ih as hn,ii as mn,ij as xn,ik as En,il as gn,ew as Sn,im as Tn,io as bn,et as Dn,ip as Mn,iq as yn,ir as An,dA as In,is as vn,it as wn,iu as Rn,iv as Nn,iw as _n,ix as Cn,iy as Fn,eW as On,iz as kn,iA as Ln,iB as jn,iC as Bn,iD as Gn,iE as Pn,ex as Hn,iF as $n,iG as zn,iH as Wn,f0 as Vn,iI as Kn,iJ as Jn,iK as Un,iL as qn,dq as Yn,er as Qn,iM as Xn,iN as Zn,iO as ts,eu as es,iP as ns,aZ as ss,dW as os,iQ as as,iR as rs,iS as is,dp as cs}from"./index-CIvW6PQY.js";import{C as ls}from"./ColorInput-DVD-8awT.js";import{a as p}from"./jsx-runtime-DPjLkJKQ.js";import{r as b}from"./index-nmcBqr7Y.js";import{A as ps,k as fs,B as hs,a as ms,D as xs,l as Es,F as gs,h as Ss,G as Ts,m as bs,Q as Ds,S as Ms,f as ys,n as As,T as Is,d as vs,c as ws,g as Rs,i as Ns,j as _s,b as Cs,p as Fs,e as Os,u as ks,o as Ls}from"./ShadowEditor-DQlwf09O.js";import{a as Bs,C as Gs,h as Ps,p as Hs,t as $s}from"./ColorPicker-BZI7zqQx.js";import"./index-CtzuWnCS.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./index-CinJrH5C.js";function Dt({preview:t,children:e,...r}){const[o,a]=b.useState(!1),l=b.useRef(null),c=b.useId(),s=()=>a(!1),d=i=>{l.current=i,a(!0)};let m=e;if(b.isValidElement(e)){const i=[e.props["aria-describedby"],o?c:null].filter(Boolean).join(" ");m=b.cloneElement(e,i?{"aria-describedby":i}:{})}return p.jsxs("span",{className:"volter-tooltip-anchor",onMouseEnter:i=>d(i.currentTarget),onMouseLeave:s,onFocusCapture:i=>d(i.currentTarget),onBlurCapture:i=>{i.currentTarget.contains(i.relatedTarget)||s()},onKeyDown:i=>{i.key!=="Escape"||!o||(i.preventDefault(),i.stopPropagation(),s())},children:[m,o&&l.current&&p.jsx(nt,{...r,anchorRef:l,id:c,role:"tooltip",autoFocusFirst:!1,onDismiss:s,children:t})]})}function Mt({value:t,onCommit:e,style:r,disabled:o=!1}){const a=t===void 0?"":JSON.stringify(t),[l,c]=b.useState(a),[s,d]=b.useState(!1),m=b.useRef(!1);b.useEffect(()=>{c(a),d(!1)},[a]);const i=()=>{if(m.current){m.current=!1;return}if(l===a){d(!1);return}let h;try{h=JSON.parse(l)}catch{d(!0);return}d(!1),e(h)};return p.jsxs("div",{children:[p.jsx(st,{"data-testid":"json-input","aria-invalid":s||void 0,"data-tone":s?"danger":void 0,disabled:o,value:l,onChange:h=>{c(h.target.value),s&&d(!1)},onBlur:i,onKeyDown:h=>{h.key==="Enter"?i():h.key==="Escape"&&(m.current=!0,c(a),d(!1),h.target.blur())},style:r,title:s?"Not valid JSON — nothing written. Fix the JSON or press Escape to revert.":void 0}),s&&p.jsx("div",{"data-testid":"json-input-error",style:{fontSize:"var(--volter-font-sm)",color:ot.semantic.danger,marginTop:2},children:"Not valid JSON — nothing written. Fix the JSON or press Escape to revert."})]})}function v(t,e){return e+1<t.length?t[e+1].start:1}function ct(t){const e=t.map(o=>({time:o.start,value:o.function.p0})),r=t[t.length-1];return r&&e.push({time:1,value:r.function.p3}),e}function G(t){return t.map(e=>({start:e.start,function:{...e.function}}))}const B=.01;function C(t,e,r,o){const a=G(t),l=a.length;if(e<0||e>l)return a;if(e<l){const c=a[e],s=o-c.function.p0;if(c.function.p0=o,c.function.p1+=s,e>0){const d=a[e-1],m=o-d.function.p3;d.function.p3=o,d.function.p2+=m;const i=d.start+B,h=v(a,e)-B;c.start=Math.min(h,Math.max(i,r))}}else{const c=a[l-1],s=o-c.function.p3;c.function.p3=o,c.function.p2+=s}return a}function q(t,e,r,o){const a=G(t);return r==="out"&&e<a.length?a[e].function.p1=o:r==="in"&&e>0&&e<=a.length&&(a[e-1].function.p2=o),a}function M(t,e,r){return t+(e-t)*r}function yt(t,e){for(let r=0;r<t.length;r++){const o=t[r].start,a=v(t,r);if(e>=o&&e<=a){const l=a>o?(e-o)/(a-o):0,{p0:c,p1:s,p2:d,p3:m}=t[r].function,i=M(c,s,l),h=M(s,d,l),g=M(d,m,l),A=M(i,h,l),I=M(h,g,l);return M(A,I,l)}}return 0}function ut(t,e){for(let r=0;r<t.length;r++){const o=t[r].start,a=v(t,r);if(e<=o+B||e>=a-B||e<o||e>a)continue;const l=(e-o)/(a-o),{p0:c,p1:s,p2:d,p3:m}=t[r].function,i=M(c,s,l),h=M(s,d,l),g=M(d,m,l),A=M(i,h,l),I=M(h,g,l),D=M(A,I,l),S=G(t);return S.splice(r,1,{start:o,function:{p0:c,p1:i,p2:A,p3:D}},{start:e,function:{p0:D,p1:I,p2:g,p3:m}}),S}return t}function Y(t,e){if(e<=0||e>=t.length)return t;const r=t[e-1],o=t[e],a=o.start-r.start,l=v(t,e)-o.start,c=a+l;if(c<=0)return t;const s=r.function,d=o.function,m={start:r.start,function:{p0:s.p0,p1:s.p0+(s.p1-s.p0)*(a>0?c/a:1),p2:d.p3+(d.p2-d.p3)*(l>0?c/l:1),p3:d.p3}},i=G(t);return i.splice(e-1,2,m),i}function lt(t){let e=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;for(const o of t)for(const a of[o.function.p0,o.function.p1,o.function.p2,o.function.p3])a<e&&(e=a),a>r&&(r=a);return!Number.isFinite(e)||!Number.isFinite(r)?{min:0,max:1}:{min:e,max:r}}const F=34,Q=6,V=6,dt=14,j=260;function pt(t){return Math.abs(t)>=100?t.toFixed(0):Math.abs(t)>=1?String(Math.round(t*100)/100):String(Math.round(t*1e3)/1e3)}function At({value:t,onChange:e,onChangeEnd:r,disabled:o,height:a=90,color:l,testId:c="curve-editor"}){const[s,d]=b.useState(0),m=b.useRef(null),i=b.useRef(null),h=b.useMemo(()=>ct(t),[t]),g=b.useMemo(()=>{const{min:n,max:u}=lt(t);if(u-n<1e-6)return{min:n-1,max:u+1};const f=(u-n)*.1;return{min:n-f,max:u+f}},[t]),A=j-F-Q,I=a-V-dt,D=n=>F+n*A,S=n=>V+(1-(n-g.min)/(g.max-g.min))*I,X=n=>Math.max(0,Math.min(1,(n-F)/A)),Z=n=>g.min+(1-(n-V)/I)*(g.max-g.min),P=n=>{const u=m.current?.getBoundingClientRect();if(!u)return{t:0,v:0};const f=(n.clientX-u.left)/u.width*j,T=(n.clientY-u.top)/u.height*a;return{t:X(f),v:Z(T)}},tt=b.useMemo(()=>{if(t.length===0)return"";let n=`M ${D(t[0].start)} ${S(t[0].function.p0)}`;for(let u=0;u<t.length;u++){const f=t[u],T=v(t,u),y=T-f.start;n+=` C ${D(f.start+y/3)} ${S(f.function.p1)}, ${D(f.start+2*y/3)} ${S(f.function.p2)}, ${D(T)} ${S(f.function.p3)}`}return n},[t,g,a]),w=n=>rt({onChange:e,onChangeEnd:r},n),H=n=>it({onChange:e},n),$=(n,u)=>{if(o)return;n.preventDefault(),n.stopPropagation(),i.current=t;const f=y=>{const{t:_,v:W}=P(y),L=u(i.current??t,_,W);i.current=L,H(L)},T=y=>{const{t:_,v:W}=P(y),L=u(i.current??t,_,W);i.current=null,w(L),window.removeEventListener("pointermove",f),window.removeEventListener("pointerup",T)};window.addEventListener("pointermove",f),window.addEventListener("pointerup",T)},K=l??E.accent,J=t.length,x=h[s],z=s>0&&s<J,O=s<J?t[s]:void 0,k=s>0?t[s-1]:void 0,R=O?{x:D(O.start+(v(t,s)-O.start)/3),y:S(O.function.p1)}:null,N=k?{x:D(k.start+(v(t,s-1)-k.start)*2/3),y:S(k.function.p2)}:null,et=[g.min,(g.min+g.max)/2,g.max];return p.jsxs("div",{"data-testid":c,children:[p.jsxs("svg",{ref:m,"data-testid":`${c}-plot`,viewBox:`0 0 ${j} ${a}`,style:{width:"100%",height:a,display:"block",background:E.inputBg,border:`1px solid ${E.border}`,borderRadius:E.radiusSmall,touchAction:"none",outline:"none"},tabIndex:0,role:"application","aria-label":"Curve editor",onKeyDown:n=>{(n.key==="Delete"||n.key==="Backspace")&&z&&!o&&(n.preventDefault(),w(Y(t,s)),d(Math.max(0,s-1)))},onDoubleClick:n=>{if(o)return;const{t:u}=P(n),f=ut(t,u);f!==t&&(w(f),d(f.findIndex(T=>Math.abs(T.start-u)<1e-6)))},children:[et.map(n=>p.jsxs("g",{children:[p.jsx("line",{x1:F,x2:j-Q,y1:S(n),y2:S(n),stroke:E.border,strokeWidth:.5}),p.jsx("text",{x:F-3,y:S(n)+2.5,fontSize:7,fill:E.textMuted,textAnchor:"end",children:pt(n)})]},n)),[0,.5,1].map(n=>p.jsx("text",{x:D(n),y:a-3,fontSize:7,fill:E.textMuted,textAnchor:"middle",children:n},n)),p.jsx("path",{d:tt,fill:"none",stroke:K,strokeWidth:1.5}),x&&R&&p.jsxs("g",{children:[p.jsx("line",{x1:D(x.time),y1:S(x.value),x2:R.x,y2:R.y,stroke:E.textMuted,strokeDasharray:"2 2",strokeWidth:.75}),p.jsx("circle",{"data-testid":`${c}-tangent-out`,cx:R.x,cy:R.y,r:3,fill:E.surface,stroke:E.textMuted,style:{cursor:o?"not-allowed":"ns-resize"},onPointerDown:n=>$(n,(u,f,T)=>q(u,s,"out",T))})]}),x&&N&&p.jsxs("g",{children:[p.jsx("line",{x1:D(x.time),y1:S(x.value),x2:N.x,y2:N.y,stroke:E.textMuted,strokeDasharray:"2 2",strokeWidth:.75}),p.jsx("circle",{"data-testid":`${c}-tangent-in`,cx:N.x,cy:N.y,r:3,fill:E.surface,stroke:E.textMuted,style:{cursor:o?"not-allowed":"ns-resize"},onPointerDown:n=>$(n,(u,f,T)=>q(u,s,"in",T))})]}),h.map((n,u)=>p.jsx("circle",{"data-testid":`${c}-key-${u}`,cx:D(n.time),cy:S(n.value),r:4,fill:u===s?E.accent:E.surface,stroke:u===s?E.onAccent:K,strokeWidth:1.25,style:{cursor:o?"not-allowed":"move"},onPointerDown:f=>{d(u),$(f,(T,y,_)=>C(T,u,y,_))}},u))]}),p.jsxs("div",{style:{display:"flex",gap:4,alignItems:"center",marginTop:3},children:[p.jsxs("span",{style:{fontSize:9,color:E.textMuted,flex:"0 0 auto"},children:["Key ",s+1,"/",h.length]}),p.jsx(U,{label:"t",value:x?Math.round(x.time*1e3)/1e3:null,step:.05,testId:`${c}-key-time`,onChange:n=>{x&&H(C(t,s,n,x.value))},onChangeEnd:n=>{x&&w(C(t,s,n,x.value))}}),p.jsx(U,{label:"v",value:x?Math.round(x.value*1e3)/1e3:null,step:.05,testId:`${c}-key-value`,onChange:n=>{x&&H(C(t,s,x.time,n))},onChangeEnd:n=>{x&&w(C(t,s,x.time,n))}}),p.jsx(at,{type:"button",variant:"ghost",size:"compact","data-testid":`${c}-delete-key`,disabled:!z||o===!0,"aria-label":"Delete curve key",title:z?"Delete key":"Endpoint keys cannot be deleted",onClick:()=>{w(Y(t,s)),d(Math.max(0,s-1))},children:"×"})]})]})}export{wt as Actions,ps as AlignmentGrid,fs as AnchorPresets,nt as AnchoredMenu,Rt as AssetSlotPicker,hs as BorderEditor,ms as BorderRadiusEditor,at as Button,Nt as CLASSIC_MATERIAL,_t as Checkbox,ls as ColorInput,Bs as ColorPicker,Gs as ColorSwatch,Ct as ColorSwatchInput,At as CurveEditor,Ft as DEFAULT_ICON_SET_ID,xs as DEFAULT_SHADOW,Es as DEFAULT_TEXT_SHADOW,Ot as Dialog,kt as DialogBody,Lt as DialogField,jt as DialogFieldLabel,Bt as DialogFooter,Gt as DialogHeader,Pt as DisclosureIcon,Ht as Divider,$t as DraftTextInput,zt as DropIndicator,Wt as EDITOR_CATEGORY_NAMES,Vt as EDITOR_MATERIALS,Kt as EDITOR_MATERIAL_IDS,Jt as EDITOR_REGION_NAMES,Ut as EDITOR_THEME_CLASS,qt as EditorBadge,Yt as EditorBanner,Qt as EditorIcon,Xt as EditorListButton,Zt as EditorPopover,te as EditorSurface,ee as EditorTab,ne as EditorTabList,se as EditorToolbar,oe as EditorTree,ae as EditorTreeRow,re as FONT,ie as FONT_MONO,ce as FieldGroup,ue as FieldLabel,le as FieldRow,de as FileInput,gs as FilterEditor,pe as FloatingToolbar,Ss as FontPicker,fe as GLASS_MATERIAL,Ts as GradientEditor,bs as GradientStopsTrack,Dt as HoverPreview,he as IconButton,me as Inline,xe as InteractiveEditScopeContext,Ee as JoinedField,ge as JoinedFieldSuffix,Mt as JsonInput,Se as Keycap,Te as LABEL_COL_WIDTH,be as Menu,De as MenuItem,Me as MenuSeparator,ye as MenuSubmenu,Ae as MenuTrigger,U as NumberInput,Ie as Panel,Ds as QuarksGradientEditor,ve as RangeInput,we as ResizeHandle,Re as STAGE_WORD_MODES,Ms as ScrubbableInput,Ne as SectionHeader,_e as Select,ys as ShadowEditor,As as ShadowListEditor,Ce as Spacer,Fe as SplitButtonGroup,Oe as Stack,ke as StateSurface,E as THEME,Le as TONE_ERROR,je as TONE_WARNING,Be as Text,Ge as TextArea,st as TextInput,Is as TextShadowEditor,Pe as ThemeRootPortal,He as ToggleButton,$e as ToolbarDivider,ze as ToolbarGroup,We as Tooltip,Ve as TreeDisclosureIcon,Ke as Vec3Input,Je as accent,Ue as accentMuted,qe as activeIconGlyph,Ye as activeIconSetSnapshot,Qe as applyEditorTheme,Xe as areaEmbossValue,Ze as bg,tn as border,en as chromeSize,nn as clampRectToViewport,sn as composeEditorAppearance,vs as composeFilter,ws as composeGradient,Rs as composeShadows,on as controlSize,ct as curveKeys,lt as curveValueRange,an as danger,rn as dangerFaint,cn as dangerMuted,Y as deleteKey,un as dynamic,ln as dynamicBg,dn as editorIconSets,pn as editorIcons,fn as editorMaterials,hn as editorThemeVariables,mn as editorThemes,xn as fieldLabelStyle,it as fireChange,rt as fireEnd,En as focusFirstMenuItem,gn as focusRing,Sn as fontMono,Tn as fontSans,bn as fontSize,Dn as fontSizeVar,Mn as fontWeight,yn as glassDarkEditorTheme,An as glassDarkLiteEditorTheme,In as graphiteDarkEditorTheme,vn as graphiteNeutralEditorTheme,wn as groupLabelStyle,Ps as hexToRgb,Rn as iconSize,Nn as isEditorIconSetId,_n as isEditorMaterialId,Cn as isEditorThemeId,Ns as isUniformBorder,_s as isUniformRadius,Fn as lineHeight,On as lineHeightVar,kn as liquidGlassEditorTheme,Ln as liquidGlassLiteEditorTheme,jn as midnightHighContrastEditorTheme,Bn as motion,Gn as motionVar,C as moveKey,q as moveTangent,Hs as parseAlpha,Cs as parseFilterFunctions,Fs as parseGradient,Pn as parseNumericValue,Os as parseShadows,Hn as radius,$n as regionRowAltValue,zn as registerContributedIconSet,Wn as registerContributedMaterial,Vn as rowStyle,yt as sampleCurve,Kn as scrim,v as segmentEnd,Jn as selection,Un as setActiveIconSet,qn as shadow,Yn as space,Qn as spaceVar,ut as splitAt,Xn as strokeWidth,Zn as subscribeEditorMaterials,ts as subscribeIconSets,es as success,ns as successMuted,ss as text,ot as themeVars,$s as toHex,ks as uniformBorder,Ls as uniformRadius,os as useInteractiveEditScope,as as usesGlassMaterial,rs as warn,is as warnMuted,cs as zIndex};
|
|
1
|
+
import{bA as nt,aN as st,al as ot,e4 as E,dV as U,a6 as at,e6 as rt,e5 as it}from"./index-Bi1gL-tZ.js";import{hp as wt,hq as Rt,hr as Nt,aS as _t,dX as Ct,hs as Ft,ht as Ot,hu as kt,hv as Lt,hw as jt,hx as Bt,hy as Gt,eJ as Pt,hz as Ht,e_ as $t,hA as zt,hB as Wt,hC as Vt,hD as Kt,hE as Jt,dz as Ut,hF as qt,bQ as Yt,a7 as Qt,eq as Xt,bP as Zt,h1 as te,hG as ee,hH as ne,bv as se,hI as oe,hJ as ae,hK as re,eY as ie,fe as ce,hL as ue,ff as le,hM as de,d9 as pe,hN as fe,aM as he,df as me,hO as xe,hP as Ee,hQ as ge,dg as Se,f1 as Te,fz as be,bB as De,bC as Me,fN as ye,hR as Ae,hS as Ie,aT as ve,hT as we,hU as Re,aU as Ne,bH as _e,hV as Ce,db as Fe,de as Oe,eB as ke,hW as Le,hX as je,aL as Be,e$ as Ge,hY as Pe,hZ as He,gK as $e,h_ as ze,bw as We,h$ as Ve,i0 as Ke,es as Je,i1 as Ue,i2 as qe,i3 as Ye,i4 as Qe,i5 as Xe,eo as Ze,ep as tn,i6 as en,i7 as nn,i8 as sn,i9 as on,ev as an,ia as rn,ib as cn,ic as un,id as ln,ie as dn,a8 as pn,ig as fn,ih as hn,ii as mn,ij as xn,ik as En,il as gn,ew as Sn,im as Tn,io as bn,et as Dn,ip as Mn,iq as yn,ir as An,dA as In,is as vn,it as wn,iu as Rn,iv as Nn,iw as _n,ix as Cn,iy as Fn,eW as On,iz as kn,iA as Ln,iB as jn,iC as Bn,iD as Gn,iE as Pn,ex as Hn,iF as $n,iG as zn,iH as Wn,f0 as Vn,iI as Kn,iJ as Jn,iK as Un,iL as qn,dq as Yn,er as Qn,iM as Xn,iN as Zn,iO as ts,eu as es,iP as ns,aZ as ss,dW as os,iQ as as,iR as rs,iS as is,dp as cs}from"./index-Bi1gL-tZ.js";import{C as ls}from"./ColorInput-DcPp2Jfs.js";import{a as p}from"./jsx-runtime-DPjLkJKQ.js";import{r as b}from"./index-nmcBqr7Y.js";import{A as ps,k as fs,B as hs,a as ms,D as xs,l as Es,F as gs,h as Ss,G as Ts,m as bs,Q as Ds,S as Ms,f as ys,n as As,T as Is,d as vs,c as ws,g as Rs,i as Ns,j as _s,b as Cs,p as Fs,e as Os,u as ks,o as Ls}from"./ShadowEditor-Bnf0lzSV.js";import{a as Bs,C as Gs,h as Ps,p as Hs,t as $s}from"./ColorPicker-3aaqxI6W.js";import"./index-CtzuWnCS.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./index-CinJrH5C.js";function Dt({preview:t,children:e,...r}){const[o,a]=b.useState(!1),l=b.useRef(null),c=b.useId(),s=()=>a(!1),d=i=>{l.current=i,a(!0)};let m=e;if(b.isValidElement(e)){const i=[e.props["aria-describedby"],o?c:null].filter(Boolean).join(" ");m=b.cloneElement(e,i?{"aria-describedby":i}:{})}return p.jsxs("span",{className:"volter-tooltip-anchor",onMouseEnter:i=>d(i.currentTarget),onMouseLeave:s,onFocusCapture:i=>d(i.currentTarget),onBlurCapture:i=>{i.currentTarget.contains(i.relatedTarget)||s()},onKeyDown:i=>{i.key!=="Escape"||!o||(i.preventDefault(),i.stopPropagation(),s())},children:[m,o&&l.current&&p.jsx(nt,{...r,anchorRef:l,id:c,role:"tooltip",autoFocusFirst:!1,onDismiss:s,children:t})]})}function Mt({value:t,onCommit:e,style:r,disabled:o=!1}){const a=t===void 0?"":JSON.stringify(t),[l,c]=b.useState(a),[s,d]=b.useState(!1),m=b.useRef(!1);b.useEffect(()=>{c(a),d(!1)},[a]);const i=()=>{if(m.current){m.current=!1;return}if(l===a){d(!1);return}let h;try{h=JSON.parse(l)}catch{d(!0);return}d(!1),e(h)};return p.jsxs("div",{children:[p.jsx(st,{"data-testid":"json-input","aria-invalid":s||void 0,"data-tone":s?"danger":void 0,disabled:o,value:l,onChange:h=>{c(h.target.value),s&&d(!1)},onBlur:i,onKeyDown:h=>{h.key==="Enter"?i():h.key==="Escape"&&(m.current=!0,c(a),d(!1),h.target.blur())},style:r,title:s?"Not valid JSON — nothing written. Fix the JSON or press Escape to revert.":void 0}),s&&p.jsx("div",{"data-testid":"json-input-error",style:{fontSize:"var(--volter-font-sm)",color:ot.semantic.danger,marginTop:2},children:"Not valid JSON — nothing written. Fix the JSON or press Escape to revert."})]})}function v(t,e){return e+1<t.length?t[e+1].start:1}function ct(t){const e=t.map(o=>({time:o.start,value:o.function.p0})),r=t[t.length-1];return r&&e.push({time:1,value:r.function.p3}),e}function G(t){return t.map(e=>({start:e.start,function:{...e.function}}))}const B=.01;function C(t,e,r,o){const a=G(t),l=a.length;if(e<0||e>l)return a;if(e<l){const c=a[e],s=o-c.function.p0;if(c.function.p0=o,c.function.p1+=s,e>0){const d=a[e-1],m=o-d.function.p3;d.function.p3=o,d.function.p2+=m;const i=d.start+B,h=v(a,e)-B;c.start=Math.min(h,Math.max(i,r))}}else{const c=a[l-1],s=o-c.function.p3;c.function.p3=o,c.function.p2+=s}return a}function q(t,e,r,o){const a=G(t);return r==="out"&&e<a.length?a[e].function.p1=o:r==="in"&&e>0&&e<=a.length&&(a[e-1].function.p2=o),a}function M(t,e,r){return t+(e-t)*r}function yt(t,e){for(let r=0;r<t.length;r++){const o=t[r].start,a=v(t,r);if(e>=o&&e<=a){const l=a>o?(e-o)/(a-o):0,{p0:c,p1:s,p2:d,p3:m}=t[r].function,i=M(c,s,l),h=M(s,d,l),g=M(d,m,l),A=M(i,h,l),I=M(h,g,l);return M(A,I,l)}}return 0}function ut(t,e){for(let r=0;r<t.length;r++){const o=t[r].start,a=v(t,r);if(e<=o+B||e>=a-B||e<o||e>a)continue;const l=(e-o)/(a-o),{p0:c,p1:s,p2:d,p3:m}=t[r].function,i=M(c,s,l),h=M(s,d,l),g=M(d,m,l),A=M(i,h,l),I=M(h,g,l),D=M(A,I,l),S=G(t);return S.splice(r,1,{start:o,function:{p0:c,p1:i,p2:A,p3:D}},{start:e,function:{p0:D,p1:I,p2:g,p3:m}}),S}return t}function Y(t,e){if(e<=0||e>=t.length)return t;const r=t[e-1],o=t[e],a=o.start-r.start,l=v(t,e)-o.start,c=a+l;if(c<=0)return t;const s=r.function,d=o.function,m={start:r.start,function:{p0:s.p0,p1:s.p0+(s.p1-s.p0)*(a>0?c/a:1),p2:d.p3+(d.p2-d.p3)*(l>0?c/l:1),p3:d.p3}},i=G(t);return i.splice(e-1,2,m),i}function lt(t){let e=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;for(const o of t)for(const a of[o.function.p0,o.function.p1,o.function.p2,o.function.p3])a<e&&(e=a),a>r&&(r=a);return!Number.isFinite(e)||!Number.isFinite(r)?{min:0,max:1}:{min:e,max:r}}const F=34,Q=6,V=6,dt=14,j=260;function pt(t){return Math.abs(t)>=100?t.toFixed(0):Math.abs(t)>=1?String(Math.round(t*100)/100):String(Math.round(t*1e3)/1e3)}function At({value:t,onChange:e,onChangeEnd:r,disabled:o,height:a=90,color:l,testId:c="curve-editor"}){const[s,d]=b.useState(0),m=b.useRef(null),i=b.useRef(null),h=b.useMemo(()=>ct(t),[t]),g=b.useMemo(()=>{const{min:n,max:u}=lt(t);if(u-n<1e-6)return{min:n-1,max:u+1};const f=(u-n)*.1;return{min:n-f,max:u+f}},[t]),A=j-F-Q,I=a-V-dt,D=n=>F+n*A,S=n=>V+(1-(n-g.min)/(g.max-g.min))*I,X=n=>Math.max(0,Math.min(1,(n-F)/A)),Z=n=>g.min+(1-(n-V)/I)*(g.max-g.min),P=n=>{const u=m.current?.getBoundingClientRect();if(!u)return{t:0,v:0};const f=(n.clientX-u.left)/u.width*j,T=(n.clientY-u.top)/u.height*a;return{t:X(f),v:Z(T)}},tt=b.useMemo(()=>{if(t.length===0)return"";let n=`M ${D(t[0].start)} ${S(t[0].function.p0)}`;for(let u=0;u<t.length;u++){const f=t[u],T=v(t,u),y=T-f.start;n+=` C ${D(f.start+y/3)} ${S(f.function.p1)}, ${D(f.start+2*y/3)} ${S(f.function.p2)}, ${D(T)} ${S(f.function.p3)}`}return n},[t,g,a]),w=n=>rt({onChange:e,onChangeEnd:r},n),H=n=>it({onChange:e},n),$=(n,u)=>{if(o)return;n.preventDefault(),n.stopPropagation(),i.current=t;const f=y=>{const{t:_,v:W}=P(y),L=u(i.current??t,_,W);i.current=L,H(L)},T=y=>{const{t:_,v:W}=P(y),L=u(i.current??t,_,W);i.current=null,w(L),window.removeEventListener("pointermove",f),window.removeEventListener("pointerup",T)};window.addEventListener("pointermove",f),window.addEventListener("pointerup",T)},K=l??E.accent,J=t.length,x=h[s],z=s>0&&s<J,O=s<J?t[s]:void 0,k=s>0?t[s-1]:void 0,R=O?{x:D(O.start+(v(t,s)-O.start)/3),y:S(O.function.p1)}:null,N=k?{x:D(k.start+(v(t,s-1)-k.start)*2/3),y:S(k.function.p2)}:null,et=[g.min,(g.min+g.max)/2,g.max];return p.jsxs("div",{"data-testid":c,children:[p.jsxs("svg",{ref:m,"data-testid":`${c}-plot`,viewBox:`0 0 ${j} ${a}`,style:{width:"100%",height:a,display:"block",background:E.inputBg,border:`1px solid ${E.border}`,borderRadius:E.radiusSmall,touchAction:"none",outline:"none"},tabIndex:0,role:"application","aria-label":"Curve editor",onKeyDown:n=>{(n.key==="Delete"||n.key==="Backspace")&&z&&!o&&(n.preventDefault(),w(Y(t,s)),d(Math.max(0,s-1)))},onDoubleClick:n=>{if(o)return;const{t:u}=P(n),f=ut(t,u);f!==t&&(w(f),d(f.findIndex(T=>Math.abs(T.start-u)<1e-6)))},children:[et.map(n=>p.jsxs("g",{children:[p.jsx("line",{x1:F,x2:j-Q,y1:S(n),y2:S(n),stroke:E.border,strokeWidth:.5}),p.jsx("text",{x:F-3,y:S(n)+2.5,fontSize:7,fill:E.textMuted,textAnchor:"end",children:pt(n)})]},n)),[0,.5,1].map(n=>p.jsx("text",{x:D(n),y:a-3,fontSize:7,fill:E.textMuted,textAnchor:"middle",children:n},n)),p.jsx("path",{d:tt,fill:"none",stroke:K,strokeWidth:1.5}),x&&R&&p.jsxs("g",{children:[p.jsx("line",{x1:D(x.time),y1:S(x.value),x2:R.x,y2:R.y,stroke:E.textMuted,strokeDasharray:"2 2",strokeWidth:.75}),p.jsx("circle",{"data-testid":`${c}-tangent-out`,cx:R.x,cy:R.y,r:3,fill:E.surface,stroke:E.textMuted,style:{cursor:o?"not-allowed":"ns-resize"},onPointerDown:n=>$(n,(u,f,T)=>q(u,s,"out",T))})]}),x&&N&&p.jsxs("g",{children:[p.jsx("line",{x1:D(x.time),y1:S(x.value),x2:N.x,y2:N.y,stroke:E.textMuted,strokeDasharray:"2 2",strokeWidth:.75}),p.jsx("circle",{"data-testid":`${c}-tangent-in`,cx:N.x,cy:N.y,r:3,fill:E.surface,stroke:E.textMuted,style:{cursor:o?"not-allowed":"ns-resize"},onPointerDown:n=>$(n,(u,f,T)=>q(u,s,"in",T))})]}),h.map((n,u)=>p.jsx("circle",{"data-testid":`${c}-key-${u}`,cx:D(n.time),cy:S(n.value),r:4,fill:u===s?E.accent:E.surface,stroke:u===s?E.onAccent:K,strokeWidth:1.25,style:{cursor:o?"not-allowed":"move"},onPointerDown:f=>{d(u),$(f,(T,y,_)=>C(T,u,y,_))}},u))]}),p.jsxs("div",{style:{display:"flex",gap:4,alignItems:"center",marginTop:3},children:[p.jsxs("span",{style:{fontSize:9,color:E.textMuted,flex:"0 0 auto"},children:["Key ",s+1,"/",h.length]}),p.jsx(U,{label:"t",value:x?Math.round(x.time*1e3)/1e3:null,step:.05,testId:`${c}-key-time`,onChange:n=>{x&&H(C(t,s,n,x.value))},onChangeEnd:n=>{x&&w(C(t,s,n,x.value))}}),p.jsx(U,{label:"v",value:x?Math.round(x.value*1e3)/1e3:null,step:.05,testId:`${c}-key-value`,onChange:n=>{x&&H(C(t,s,x.time,n))},onChangeEnd:n=>{x&&w(C(t,s,x.time,n))}}),p.jsx(at,{type:"button",variant:"ghost",size:"compact","data-testid":`${c}-delete-key`,disabled:!z||o===!0,"aria-label":"Delete curve key",title:z?"Delete key":"Endpoint keys cannot be deleted",onClick:()=>{w(Y(t,s)),d(Math.max(0,s-1))},children:"×"})]})]})}export{wt as Actions,ps as AlignmentGrid,fs as AnchorPresets,nt as AnchoredMenu,Rt as AssetSlotPicker,hs as BorderEditor,ms as BorderRadiusEditor,at as Button,Nt as CLASSIC_MATERIAL,_t as Checkbox,ls as ColorInput,Bs as ColorPicker,Gs as ColorSwatch,Ct as ColorSwatchInput,At as CurveEditor,Ft as DEFAULT_ICON_SET_ID,xs as DEFAULT_SHADOW,Es as DEFAULT_TEXT_SHADOW,Ot as Dialog,kt as DialogBody,Lt as DialogField,jt as DialogFieldLabel,Bt as DialogFooter,Gt as DialogHeader,Pt as DisclosureIcon,Ht as Divider,$t as DraftTextInput,zt as DropIndicator,Wt as EDITOR_CATEGORY_NAMES,Vt as EDITOR_MATERIALS,Kt as EDITOR_MATERIAL_IDS,Jt as EDITOR_REGION_NAMES,Ut as EDITOR_THEME_CLASS,qt as EditorBadge,Yt as EditorBanner,Qt as EditorIcon,Xt as EditorListButton,Zt as EditorPopover,te as EditorSurface,ee as EditorTab,ne as EditorTabList,se as EditorToolbar,oe as EditorTree,ae as EditorTreeRow,re as FONT,ie as FONT_MONO,ce as FieldGroup,ue as FieldLabel,le as FieldRow,de as FileInput,gs as FilterEditor,pe as FloatingToolbar,Ss as FontPicker,fe as GLASS_MATERIAL,Ts as GradientEditor,bs as GradientStopsTrack,Dt as HoverPreview,he as IconButton,me as Inline,xe as InteractiveEditScopeContext,Ee as JoinedField,ge as JoinedFieldSuffix,Mt as JsonInput,Se as Keycap,Te as LABEL_COL_WIDTH,be as Menu,De as MenuItem,Me as MenuSeparator,ye as MenuSubmenu,Ae as MenuTrigger,U as NumberInput,Ie as Panel,Ds as QuarksGradientEditor,ve as RangeInput,we as ResizeHandle,Re as STAGE_WORD_MODES,Ms as ScrubbableInput,Ne as SectionHeader,_e as Select,ys as ShadowEditor,As as ShadowListEditor,Ce as Spacer,Fe as SplitButtonGroup,Oe as Stack,ke as StateSurface,E as THEME,Le as TONE_ERROR,je as TONE_WARNING,Be as Text,Ge as TextArea,st as TextInput,Is as TextShadowEditor,Pe as ThemeRootPortal,He as ToggleButton,$e as ToolbarDivider,ze as ToolbarGroup,We as Tooltip,Ve as TreeDisclosureIcon,Ke as Vec3Input,Je as accent,Ue as accentMuted,qe as activeIconGlyph,Ye as activeIconSetSnapshot,Qe as applyEditorTheme,Xe as areaEmbossValue,Ze as bg,tn as border,en as chromeSize,nn as clampRectToViewport,sn as composeEditorAppearance,vs as composeFilter,ws as composeGradient,Rs as composeShadows,on as controlSize,ct as curveKeys,lt as curveValueRange,an as danger,rn as dangerFaint,cn as dangerMuted,Y as deleteKey,un as dynamic,ln as dynamicBg,dn as editorIconSets,pn as editorIcons,fn as editorMaterials,hn as editorThemeVariables,mn as editorThemes,xn as fieldLabelStyle,it as fireChange,rt as fireEnd,En as focusFirstMenuItem,gn as focusRing,Sn as fontMono,Tn as fontSans,bn as fontSize,Dn as fontSizeVar,Mn as fontWeight,yn as glassDarkEditorTheme,An as glassDarkLiteEditorTheme,In as graphiteDarkEditorTheme,vn as graphiteNeutralEditorTheme,wn as groupLabelStyle,Ps as hexToRgb,Rn as iconSize,Nn as isEditorIconSetId,_n as isEditorMaterialId,Cn as isEditorThemeId,Ns as isUniformBorder,_s as isUniformRadius,Fn as lineHeight,On as lineHeightVar,kn as liquidGlassEditorTheme,Ln as liquidGlassLiteEditorTheme,jn as midnightHighContrastEditorTheme,Bn as motion,Gn as motionVar,C as moveKey,q as moveTangent,Hs as parseAlpha,Cs as parseFilterFunctions,Fs as parseGradient,Pn as parseNumericValue,Os as parseShadows,Hn as radius,$n as regionRowAltValue,zn as registerContributedIconSet,Wn as registerContributedMaterial,Vn as rowStyle,yt as sampleCurve,Kn as scrim,v as segmentEnd,Jn as selection,Un as setActiveIconSet,qn as shadow,Yn as space,Qn as spaceVar,ut as splitAt,Xn as strokeWidth,Zn as subscribeEditorMaterials,ts as subscribeIconSets,es as success,ns as successMuted,ss as text,ot as themeVars,$s as toHex,ks as uniformBorder,Ls as uniformRadius,os as useInteractiveEditScope,as as usesGlassMaterial,rs as warn,is as warnMuted,cs as zIndex};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as Ie}from"./extends-CF3RwP-h.js";import{r as A,a as Vn}from"./index-nmcBqr7Y.js";import{a as Jy}from"./client-DNXj_opT.js";import{U as Id,S as No,W as Zx}from"./three.module-BLhyNg0e.js";import{u as ue,a as He,I as Jx,q as _d,G as vi,s as ir,J as e4,K as Hu,e as xi,o as Wn,v as Xr,F as t4,l as ev,k as S0,L as i4}from"./events-156d8d12.esm-CYeuVCYr.js";import{fo as W,aI as bi,fd as Be,d9 as ci,d5 as Bi,az as ql,da as wr,cm as we,dp as rt,cl as Ln,ez as Vu,fp as Ei,_ as qe,aV as Pn,cj as Ze,co as ze,bu as tv,au as Ir,dw as Ti,b0 as si,ed as Ns,cE as Xt,N as Ji,M as Ai,aM as nn,ex as xn,em as hi,B as Ar,fe as Ko,K as cr,bl as n4,f1 as Hr,cW as yi,e6 as Wu,cp as ta,bX as ul,aq as Qn,a$ as $i,bV as It,db as an,cZ as Rr,ey as iv,e$ as Xl,cg as Th,bh as jo,I as Kt,aP as wh,bg as s4,fx as Fi,c1 as ni,cN as C0,Z as r4,aY as o4,b5 as nv,am as a4,ca as ia,cb as l4,aZ as ks,eX as _r,Y as Yn,eW as cn,cv as bh,cs as T0,aT as sv,F as Zm,dk as Eu,dd as Jm,eC as c4,aE as u4,ev as rv,et as h4,j as f4,f7 as d4,l as m4,fq as g4,dq as p4,cV as A4,eq as ur,a3 as Yu,aa as ov,ff as Gi,c5 as w0,dI as eg,e8 as Ms,e2 as zo,bi as fi,e0 as y4,d$ as v4,dZ as E4,dY as x4,dS as I4,dP as _4,dN as S4,dM as C4,dE as T4,av,aw as Qo,H as w4,er as b4,eo as R4,d8 as Rh,bs as b0,bt as Sd,bA as Go,fA as D4,bW as Fs,dn as L4,ag as P4,V as lv,x as M4,y as B4,cr as k4,cq as cv,dv as uv,br as xu,fb as pn,du as Ku,aO as F4,c_ as hv,cR as O4,ao as fv,dx as Iu,fj as Wr,fw as ju,a9 as dv,an as U4,el as br,T as mv,ad as R0,fs as N4,ej as gv,aC as pv,aA as Av,fm as D0,R as yv,b4 as _u,E as z4,e5 as Fl,by as ou,P as Cd,es as vv,e3 as Ev,e9 as Q4,n as G4,ch as $4,cw as xv,cx as Iv,cP as H4,dg as V4,f6 as Su,c7 as Td,cc as W4,c3 as tg,eG as Y4,cu as K4,S as j4,d as q4,ee as Dh,i as X4,bI as Lh,cU as Z4,aS as J4,aW as eI}from"./three.core-3arARmh6.js";import{v as Ol,d as _v,C as tI,u as BM}from"./Gltf-GjdUJfpn.js";import{G as VF}from"./Gltf-GjdUJfpn.js";import{m as iI,t as nI}from"./BufferGeometryUtils-FJZNEiJN.js";import{OrthographicCamera as sI}from"./OrthographicCamera-QGDXU8-_.js";import{PerspectiveCamera as YF}from"./PerspectiveCamera-CzyDwUe8.js";import{E as na,M as rI}from"./OrbitControls-DqeA2OK1.js";import{O as jF}from"./OrbitControls-DqeA2OK1.js";import{_ as Sv}from"./index-
|
|
1
|
+
import{_ as Ie}from"./extends-CF3RwP-h.js";import{r as A,a as Vn}from"./index-nmcBqr7Y.js";import{a as Jy}from"./client-DNXj_opT.js";import{U as Id,S as No,W as Zx}from"./three.module-BLhyNg0e.js";import{u as ue,a as He,I as Jx,q as _d,G as vi,s as ir,J as e4,K as Hu,e as xi,o as Wn,v as Xr,F as t4,l as ev,k as S0,L as i4}from"./events-156d8d12.esm-CYeuVCYr.js";import{fo as W,aI as bi,fd as Be,d9 as ci,d5 as Bi,az as ql,da as wr,cm as we,dp as rt,cl as Ln,ez as Vu,fp as Ei,_ as qe,aV as Pn,cj as Ze,co as ze,bu as tv,au as Ir,dw as Ti,b0 as si,ed as Ns,cE as Xt,N as Ji,M as Ai,aM as nn,ex as xn,em as hi,B as Ar,fe as Ko,K as cr,bl as n4,f1 as Hr,cW as yi,e6 as Wu,cp as ta,bX as ul,aq as Qn,a$ as $i,bV as It,db as an,cZ as Rr,ey as iv,e$ as Xl,cg as Th,bh as jo,I as Kt,aP as wh,bg as s4,fx as Fi,c1 as ni,cN as C0,Z as r4,aY as o4,b5 as nv,am as a4,ca as ia,cb as l4,aZ as ks,eX as _r,Y as Yn,eW as cn,cv as bh,cs as T0,aT as sv,F as Zm,dk as Eu,dd as Jm,eC as c4,aE as u4,ev as rv,et as h4,j as f4,f7 as d4,l as m4,fq as g4,dq as p4,cV as A4,eq as ur,a3 as Yu,aa as ov,ff as Gi,c5 as w0,dI as eg,e8 as Ms,e2 as zo,bi as fi,e0 as y4,d$ as v4,dZ as E4,dY as x4,dS as I4,dP as _4,dN as S4,dM as C4,dE as T4,av,aw as Qo,H as w4,er as b4,eo as R4,d8 as Rh,bs as b0,bt as Sd,bA as Go,fA as D4,bW as Fs,dn as L4,ag as P4,V as lv,x as M4,y as B4,cr as k4,cq as cv,dv as uv,br as xu,fb as pn,du as Ku,aO as F4,c_ as hv,cR as O4,ao as fv,dx as Iu,fj as Wr,fw as ju,a9 as dv,an as U4,el as br,T as mv,ad as R0,fs as N4,ej as gv,aC as pv,aA as Av,fm as D0,R as yv,b4 as _u,E as z4,e5 as Fl,by as ou,P as Cd,es as vv,e3 as Ev,e9 as Q4,n as G4,ch as $4,cw as xv,cx as Iv,cP as H4,dg as V4,f6 as Su,c7 as Td,cc as W4,c3 as tg,eG as Y4,cu as K4,S as j4,d as q4,ee as Dh,i as X4,bI as Lh,cU as Z4,aS as J4,aW as eI}from"./three.core-3arARmh6.js";import{v as Ol,d as _v,C as tI,u as BM}from"./Gltf-GjdUJfpn.js";import{G as VF}from"./Gltf-GjdUJfpn.js";import{m as iI,t as nI}from"./BufferGeometryUtils-FJZNEiJN.js";import{OrthographicCamera as sI}from"./OrthographicCamera-QGDXU8-_.js";import{PerspectiveCamera as YF}from"./PerspectiveCamera-CzyDwUe8.js";import{E as na,M as rI}from"./OrbitControls-DqeA2OK1.js";import{O as jF}from"./OrbitControls-DqeA2OK1.js";import{_ as Sv}from"./index-Bi1gL-tZ.js";import{g as oI}from"./_commonjsHelpers-D6-XlEtG.js";import{u as ds}from"./Fbo-BwAOPGSM.js";import{F as XF}from"./Fbo-BwAOPGSM.js";import{RoundedBox as JF,RoundedBoxGeometry as eO}from"./RoundedBox-DrJK5JOI.js";import"./index-D_NuPfjr.js";import"./index-CinJrH5C.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-bQE2NA0D.js";import"./index-CtzuWnCS.js";import"./index-FUuS4qwW.js";const Ul=new W,L0=new W,aI=new W,ig=new Be;function lI(r,e,t){const i=Ul.setFromMatrixPosition(r.matrixWorld);i.project(e);const n=t.width/2,s=t.height/2;return[i.x*n+n,-(i.y*s)+s]}function cI(r,e){const t=Ul.setFromMatrixPosition(r.matrixWorld),i=L0.setFromMatrixPosition(e.matrixWorld),n=t.sub(i),s=e.getWorldDirection(aI);return n.angleTo(s)>Math.PI/2}function uI(r,e,t,i){const n=Ul.setFromMatrixPosition(r.matrixWorld),s=n.clone();s.project(e),ig.set(s.x,s.y),t.setFromCamera(ig,e);const o=t.intersectObjects(i,!0);if(o.length){const a=o[0].distance;return n.distanceTo(t.ray.origin)<a}return!0}function hI(r,e){if(e instanceof Bi)return e.zoom;if(e instanceof ci){const t=Ul.setFromMatrixPosition(r.matrixWorld),i=L0.setFromMatrixPosition(e.matrixWorld),n=e.fov*Math.PI/180,s=t.distanceTo(i);return 1/(2*Math.tan(n/2)*s)}else return 1}function fI(r,e,t){if(e instanceof ci||e instanceof Bi){const i=Ul.setFromMatrixPosition(r.matrixWorld),n=L0.setFromMatrixPosition(e.matrixWorld),s=i.distanceTo(n),o=(t[1]-t[0])/(e.far-e.near),a=t[1]-o*e.far;return Math.round(o*s+a)}}const wd=r=>Math.abs(r)<1e-10?0:r;function Cv(r,e,t=""){let i="matrix3d(";for(let n=0;n!==16;n++)i+=wd(e[n]*r.elements[n])+(n!==15?",":")");return t+i}const dI=(r=>e=>Cv(e,r))([1,-1,1,1,1,-1,1,1,1,-1,1,1,1,-1,1,1]),mI=(r=>(e,t)=>Cv(e,r(t),"translate(-50%,-50%)"))(r=>[1/r,1/r,1/r,1,-1/r,-1/r,-1/r,-1,1/r,1/r,1/r,1,1,1,1,1]);function gI(r){return r&&typeof r=="object"&&"current"in r}const qu=A.forwardRef(({children:r,eps:e=.001,style:t,className:i,prepend:n,center:s,fullscreen:o,portal:a,distanceFactor:l,sprite:c=!1,transform:u=!1,occlude:h,onOcclude:f,castShadow:d,receiveShadow:g,material:m,geometry:p,zIndexRange:E=[16777271,0],calculatePosition:v=lI,as:y="div",wrapperClass:x,pointerEvents:I="auto",..._},S)=>{const{gl:C,camera:w,scene:T,size:D,raycaster:b,events:R,viewport:P}=ue(),[O]=A.useState(()=>document.createElement(y)),Q=A.useRef(null),V=A.useRef(null),K=A.useRef(0),k=A.useRef([0,0]),G=A.useRef(null),M=A.useRef(null),H=a?.current||R.connected||C.domElement.parentNode,Y=A.useRef(null),N=A.useRef(!1),z=A.useMemo(()=>h&&h!=="blending"||Array.isArray(h)&&h.length&&gI(h[0]),[h]);A.useLayoutEffect(()=>{const ee=C.domElement;h&&h==="blending"?(ee.style.zIndex=`${Math.floor(E[0]/2)}`,ee.style.position="absolute",ee.style.pointerEvents="none"):(ee.style.zIndex=null,ee.style.position=null,ee.style.pointerEvents=null)},[h]),A.useLayoutEffect(()=>{if(V.current){const ee=Q.current=Jy.createRoot(O);if(T.updateMatrixWorld(),u)O.style.cssText="position:absolute;top:0;left:0;pointer-events:none;overflow:hidden;";else{const Z=v(V.current,w,D);O.style.cssText=`position:absolute;top:0;left:0;transform:translate3d(${Z[0]}px,${Z[1]}px,0);transform-origin:0 0;`}return H&&(n?H.prepend(O):H.appendChild(O)),()=>{H&&H.removeChild(O),ee.unmount()}}},[H,u]),A.useLayoutEffect(()=>{x&&(O.className=x)},[x]);const B=A.useMemo(()=>u?{position:"absolute",top:0,left:0,width:D.width,height:D.height,transformStyle:"preserve-3d",pointerEvents:"none"}:{position:"absolute",transform:s?"translate3d(-50%,-50%,0)":"none",...o&&{top:-D.height/2,left:-D.width/2,width:D.width,height:D.height},...t},[t,s,o,D,u]),F=A.useMemo(()=>({position:"absolute",pointerEvents:I}),[I]);A.useLayoutEffect(()=>{if(N.current=!1,u){var ee;(ee=Q.current)==null||ee.render(A.createElement("div",{ref:G,style:B},A.createElement("div",{ref:M,style:F},A.createElement("div",{ref:S,className:i,style:t,children:r}))))}else{var Z;(Z=Q.current)==null||Z.render(A.createElement("div",{ref:S,style:B,className:i,children:r}))}});const U=A.useRef(!0);He(ee=>{if(V.current){w.updateMatrixWorld(),V.current.updateWorldMatrix(!0,!1);const Z=u?k.current:v(V.current,w,D);if(u||Math.abs(K.current-w.zoom)>e||Math.abs(k.current[0]-Z[0])>e||Math.abs(k.current[1]-Z[1])>e){const ne=cI(V.current,w);let ce=!1;z&&(Array.isArray(h)?ce=h.map(le=>le.current):h!=="blending"&&(ce=[T]));const me=U.current;if(ce){const le=uI(V.current,w,b,ce);U.current=le&&!ne}else U.current=!ne;me!==U.current&&(f?f(!U.current):O.style.display=U.current?"block":"none");const re=Math.floor(E[0]/2),te=h?z?[E[0],re]:[re-1,0]:E;if(O.style.zIndex=`${fI(V.current,w,te)}`,u){const[le,se]=[D.width/2,D.height/2],X=w.projectionMatrix.elements[5]*se,{isOrthographicCamera:j,top:oe,left:pe,bottom:_e,right:Ce}=w,ye=dI(w.matrixWorldInverse),Ne=j?`scale(${X})translate(${wd(-(Ce+pe)/2)}px,${wd((oe+_e)/2)}px)`:`translateZ(${X}px)`;let Te=V.current.matrixWorld;c&&(Te=w.matrixWorldInverse.clone().transpose().copyPosition(Te).scale(V.current.scale),Te.elements[3]=Te.elements[7]=Te.elements[11]=0,Te.elements[15]=1),O.style.width=D.width+"px",O.style.height=D.height+"px",O.style.perspective=j?"":`${X}px`,G.current&&M.current&&(G.current.style.transform=`${Ne}${ye}translate(${le}px,${se}px)`,M.current.style.transform=mI(Te,1/((l||10)/400)))}else{const le=l===void 0?1:hI(V.current,w)*l;O.style.transform=`translate3d(${Z[0]}px,${Z[1]}px,0) scale(${le})`}k.current=Z,K.current=w.zoom}}if(!z&&Y.current&&!N.current)if(u){if(G.current){const Z=G.current.children[0];if(Z!=null&&Z.clientWidth&&Z!=null&&Z.clientHeight){const{isOrthographicCamera:ne}=w;if(ne||p)_.scale&&(Array.isArray(_.scale)?_.scale instanceof W?Y.current.scale.copy(_.scale.clone().divideScalar(1)):Y.current.scale.set(1/_.scale[0],1/_.scale[1],1/_.scale[2]):Y.current.scale.setScalar(1/_.scale));else{const ce=(l||10)/400,me=Z.clientWidth*ce,re=Z.clientHeight*ce;Y.current.scale.set(me,re,1)}N.current=!0}}}else{const Z=O.children[0];if(Z!=null&&Z.clientWidth&&Z!=null&&Z.clientHeight){const ne=1/P.factor,ce=Z.clientWidth*ne,me=Z.clientHeight*ne;Y.current.scale.set(ce,me,1),N.current=!0}Y.current.lookAt(ee.camera.position)}});const J=A.useMemo(()=>({vertexShader:u?void 0:`
|
|
2
2
|
/*
|
|
3
3
|
This shader is from the THREE's SpriteMaterial.
|
|
4
4
|
We need to turn the backing plane into a Sprite
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CameraDescriptorSchema as f}from"./camera-
|
|
1
|
+
import{CameraDescriptorSchema as f}from"./camera-DF1vLxUp.js";import{ColliderDescriptorSchema as x}from"./collider-D9JbQvrM.js";import{LightDescriptorSchema as l}from"./light-D5XrsEC7.js";import{MaterialDescriptorSchema as M}from"./material-D0GQYful.js";import{MeshDescriptorSchema as d}from"./mesh-j1D2J7qd.js";import{ParticlesDescriptorSchema as T}from"./particles-Dp_69HKn.js";import{PostProcessingDescriptorSchema as v,RenderEnvironmentSchema as E,ToneMappingDescriptorSchema as L}from"./render-env-HoIZ9H43.js";import{QuatSchema as R,TransformSchema as V,Vec3Schema as b}from"./tuples-ptzBiDMS.js";import"./index-Bi1gL-tZ.js";import"./index-nmcBqr7Y.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-D_NuPfjr.js";import"./jsx-runtime-DPjLkJKQ.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";import"./render-features-DbKSwOnR.js";export{f as CameraDescriptorSchema,x as ColliderDescriptorSchema,l as LightDescriptorSchema,M as MaterialDescriptorSchema,d as MeshDescriptorSchema,T as ParticlesDescriptorSchema,v as PostProcessingDescriptorSchema,R as QuatSchema,E as RenderEnvironmentSchema,L as ToneMappingDescriptorSchema,V as TransformSchema,b as Vec3Schema};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{C as f,i as c,e as x,u as d}from"./extend-
|
|
1
|
+
import{C as f,i as c,e as x,u as d}from"./extend-Dg1WzVJs.js";import{A as z,a as B,c as D}from"./extend-Dg1WzVJs.js";import{A as k}from"./index-Y5KbBHX2.js";import{r as s}from"./index-nmcBqr7Y.js";import"./jsx-runtime-DPjLkJKQ.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./index-bQE2NA0D.js";import"./index-D_NuPfjr.js";import"./index-Bi1gL-tZ.js";import"./index-CtzuWnCS.js";import"./index-CinJrH5C.js";import"./index-FUuS4qwW.js";import"./client-DNXj_opT.js";function A(){const t=s.useContext(f);return c(t.app instanceof k,"No Context found with `%s`. Make sure to wrap component with `%s`","Application","AppProvider"),t}function R(t){s.useMemo(()=>{x(t)},[t])}function T(t){const{app:p,isInitialised:n}=A();let e,o,i=!0,r;typeof t=="function"?e=t:(e=t.callback,o=t.context,i=t.isEnabled??!0,r=t.priority),c(),d(()=>{if(n){const a=p?.ticker,l=i,m=o,u=e;return i&&a&&a.add(e,o,r),()=>{l&&a?.remove(u,m)}}},[p?.ticker,e,o,i,n,r])}export{z as Application,B as applyProps,D as createRoot,x as extend,A as useApplication,R as useExtend,T as useTick};
|