super-three 0.181.0 → 0.184.0
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/LICENSE +1 -1
- package/README.md +3 -4
- package/build/three.cjs +13152 -11354
- package/build/three.core.js +12319 -11539
- package/build/three.core.min.js +2 -2
- package/build/three.module.js +1808 -781
- package/build/three.module.min.js +2 -2
- package/build/three.tsl.js +27 -13
- package/build/three.tsl.min.js +2 -2
- package/build/three.webgpu.js +10523 -6263
- package/build/three.webgpu.min.js +2 -2
- package/build/three.webgpu.nodes.js +10484 -6262
- package/build/three.webgpu.nodes.min.js +2 -2
- package/examples/jsm/Addons.js +11 -3
- package/examples/jsm/animation/CCDIKSolver.js +7 -3
- package/examples/jsm/controls/ArcballControls.js +7 -4
- package/examples/jsm/controls/DragControls.js +2 -2
- package/examples/jsm/controls/FirstPersonControls.js +58 -54
- package/examples/jsm/controls/FlyControls.js +4 -0
- package/examples/jsm/controls/MapControls.js +55 -1
- package/examples/jsm/controls/OrbitControls.js +111 -8
- package/examples/jsm/controls/TrackballControls.js +8 -8
- package/examples/jsm/controls/TransformControls.js +34 -2
- package/examples/jsm/csm/CSM.js +2 -1
- package/examples/jsm/csm/CSMShadowNode.js +6 -2
- package/examples/jsm/effects/AnaglyphEffect.js +102 -7
- package/examples/jsm/environments/ColorEnvironment.js +59 -0
- package/examples/jsm/environments/RoomEnvironment.js +3 -0
- package/examples/jsm/exporters/EXRExporter.js +1 -1
- package/examples/jsm/exporters/GLTFExporter.js +152 -9
- package/examples/jsm/exporters/USDZExporter.js +22 -3
- package/examples/jsm/geometries/DecalGeometry.js +1 -1
- package/examples/jsm/geometries/TextGeometry.js +18 -0
- package/examples/jsm/helpers/AnimationPathHelper.js +302 -0
- package/examples/jsm/helpers/LightProbeGridHelper.js +221 -0
- package/examples/jsm/helpers/LightProbeHelperGPU.js +1 -1
- package/examples/jsm/helpers/TextureHelperGPU.js +1 -1
- package/examples/jsm/helpers/ViewHelper.js +67 -8
- package/examples/jsm/inspector/Extension.js +13 -0
- package/examples/jsm/inspector/Inspector.js +203 -88
- package/examples/jsm/inspector/RendererInspector.js +14 -4
- package/examples/jsm/inspector/extensions/extensions.json +6 -0
- package/examples/jsm/inspector/extensions/tsl-graph/TSLGraphEditor.js +916 -0
- package/examples/jsm/inspector/extensions/tsl-graph/TSLGraphLoader.js +281 -0
- package/examples/jsm/inspector/tabs/Console.js +41 -7
- package/examples/jsm/inspector/tabs/Memory.js +128 -0
- package/examples/jsm/inspector/tabs/Parameters.js +51 -3
- package/examples/jsm/inspector/tabs/Performance.js +4 -4
- package/examples/jsm/inspector/tabs/Settings.js +264 -0
- package/examples/jsm/inspector/tabs/Timeline.js +1611 -0
- package/examples/jsm/inspector/tabs/Viewer.js +107 -5
- package/examples/jsm/inspector/ui/Graph.js +2 -2
- package/examples/jsm/inspector/ui/List.js +1 -1
- package/examples/jsm/inspector/ui/Profiler.js +1936 -34
- package/examples/jsm/inspector/ui/Style.js +1044 -31
- package/examples/jsm/inspector/ui/Tab.js +222 -3
- package/examples/jsm/inspector/ui/Values.js +55 -2
- package/examples/jsm/inspector/ui/utils.js +13 -0
- package/examples/jsm/interaction/InteractionManager.js +226 -0
- package/examples/jsm/libs/meshopt_decoder.module.js +9 -8
- package/examples/jsm/lighting/DynamicLighting.js +82 -0
- package/examples/jsm/lighting/LightProbeGrid.js +651 -0
- package/examples/jsm/lines/LineMaterial.js +7 -1
- package/examples/jsm/loaders/3DMLoader.js +5 -4
- package/examples/jsm/loaders/3MFLoader.js +2 -2
- package/examples/jsm/loaders/AMFLoader.js +2 -2
- package/examples/jsm/loaders/ColladaLoader.js +24 -4026
- package/examples/jsm/loaders/DRACOLoader.js +5 -5
- package/examples/jsm/loaders/EXRLoader.js +687 -48
- package/examples/jsm/loaders/FBXLoader.js +235 -37
- package/examples/jsm/loaders/GCodeLoader.js +34 -8
- package/examples/jsm/loaders/GLTFLoader.js +146 -178
- package/examples/jsm/loaders/HDRLoader.js +1 -2
- package/examples/jsm/loaders/KMZLoader.js +5 -5
- package/examples/jsm/loaders/KTX2Loader.js +27 -5
- package/examples/jsm/loaders/LDrawLoader.js +41 -50
- package/examples/jsm/loaders/LWOLoader.js +7 -39
- package/examples/jsm/loaders/NRRDLoader.js +2 -2
- package/examples/jsm/loaders/PCDLoader.js +4 -2
- package/examples/jsm/loaders/SVGLoader.js +2 -2
- package/examples/jsm/loaders/TDSLoader.js +0 -2
- package/examples/jsm/loaders/TGALoader.js +0 -2
- package/examples/jsm/loaders/USDLoader.js +100 -40
- package/examples/jsm/loaders/UltraHDRLoader.js +285 -160
- package/examples/jsm/loaders/VOXLoader.js +660 -117
- package/examples/jsm/loaders/VRMLLoader.js +79 -2
- package/examples/jsm/loaders/VTKLoader.js +42 -25
- package/examples/jsm/loaders/collada/ColladaComposer.js +3044 -0
- package/examples/jsm/loaders/collada/ColladaParser.js +1977 -0
- package/examples/jsm/loaders/usd/USDAParser.js +450 -363
- package/examples/jsm/loaders/usd/USDCParser.js +1867 -6
- package/examples/jsm/loaders/usd/USDComposer.js +4594 -0
- package/examples/jsm/materials/LDrawConditionalLineNodeMaterial.js +2 -2
- package/examples/jsm/materials/WoodNodeMaterial.js +11 -11
- package/examples/jsm/math/Octree.js +131 -1
- package/examples/jsm/misc/GPUComputationRenderer.js +2 -0
- package/examples/jsm/misc/RollerCoaster.js +42 -4
- package/examples/jsm/misc/Volume.js +0 -1
- package/examples/jsm/misc/VolumeSlice.js +0 -1
- package/examples/jsm/modifiers/TessellateModifier.js +1 -1
- package/examples/jsm/objects/LensflareMesh.js +1 -1
- package/examples/jsm/objects/Reflector.js +73 -25
- package/examples/jsm/objects/Sky.js +90 -6
- package/examples/jsm/objects/SkyMesh.js +150 -16
- package/examples/jsm/objects/Water.js +4 -3
- package/examples/jsm/objects/Water2.js +5 -3
- package/examples/jsm/objects/WaterMesh.js +5 -7
- package/examples/jsm/physics/AmmoPhysics.js +12 -7
- package/examples/jsm/physics/JoltPhysics.js +10 -6
- package/examples/jsm/physics/RapierPhysics.js +9 -5
- package/examples/jsm/postprocessing/EffectComposer.js +7 -5
- package/examples/jsm/postprocessing/OutputPass.js +9 -0
- package/examples/jsm/postprocessing/RenderPass.js +10 -0
- package/examples/jsm/postprocessing/RenderTransitionPass.js +1 -1
- package/examples/jsm/postprocessing/UnrealBloomPass.js +48 -18
- package/examples/jsm/renderers/CSS3DRenderer.js +1 -1
- package/examples/jsm/renderers/Projector.js +246 -28
- package/examples/jsm/renderers/SVGRenderer.js +174 -60
- package/examples/jsm/shaders/GTAOShader.js +19 -6
- package/examples/jsm/shaders/HalftoneShader.js +12 -1
- package/examples/jsm/shaders/PoissonDenoiseShader.js +6 -2
- package/examples/jsm/shaders/SAOShader.js +17 -4
- package/examples/jsm/shaders/SSAOShader.js +11 -1
- package/examples/jsm/shaders/SSRShader.js +6 -5
- package/examples/jsm/shaders/UnpackDepthRGBAShader.js +2 -4
- package/examples/jsm/shaders/VignetteShader.js +1 -1
- package/examples/jsm/transpiler/AST.js +44 -0
- package/examples/jsm/transpiler/GLSLDecoder.js +63 -6
- package/examples/jsm/transpiler/ShaderToyDecoder.js +2 -0
- package/examples/jsm/transpiler/TSLEncoder.js +46 -3
- package/examples/jsm/transpiler/TranspilerUtils.js +3 -3
- package/examples/jsm/transpiler/WGSLEncoder.js +27 -0
- package/examples/jsm/tsl/WebGLNodesHandler.js +605 -0
- package/examples/jsm/tsl/display/AfterImageNode.js +11 -1
- package/examples/jsm/tsl/display/AnaglyphPassNode.js +458 -16
- package/examples/jsm/tsl/display/AnamorphicNode.js +12 -1
- package/examples/jsm/tsl/display/BilateralBlurNode.js +374 -0
- package/examples/jsm/tsl/display/BloomNode.js +16 -6
- package/examples/jsm/tsl/display/CRT.js +150 -0
- package/examples/jsm/tsl/display/ChromaticAberrationNode.js +3 -36
- package/examples/jsm/tsl/display/DenoiseNode.js +1 -1
- package/examples/jsm/tsl/display/DepthOfFieldNode.js +1 -1
- package/examples/jsm/tsl/display/DotScreenNode.js +1 -1
- package/examples/jsm/tsl/display/FSR1Node.js +477 -0
- package/examples/jsm/tsl/display/FXAANode.js +2 -2
- package/examples/jsm/tsl/display/GTAONode.js +6 -4
- package/examples/jsm/tsl/display/GaussianBlurNode.js +21 -2
- package/examples/jsm/tsl/display/GodraysNode.js +615 -0
- package/examples/jsm/tsl/display/LensflareNode.js +1 -1
- package/examples/jsm/tsl/display/Lut3DNode.js +1 -1
- package/examples/jsm/tsl/display/OutlineNode.js +69 -19
- package/examples/jsm/tsl/display/ParallaxBarrierPassNode.js +2 -2
- package/examples/jsm/tsl/display/PixelationPassNode.js +7 -6
- package/examples/jsm/tsl/display/RGBShiftNode.js +2 -2
- package/examples/jsm/tsl/display/RetroPassNode.js +263 -0
- package/examples/jsm/tsl/display/SMAANode.js +2 -2
- package/examples/jsm/tsl/display/SSAAPassNode.js +2 -2
- package/examples/jsm/tsl/display/SSGINode.js +8 -24
- package/examples/jsm/tsl/display/SSRNode.js +8 -8
- package/examples/jsm/tsl/display/SSSNode.js +6 -4
- package/examples/jsm/tsl/display/Shape.js +29 -0
- package/examples/jsm/tsl/display/SharpenNode.js +283 -0
- package/examples/jsm/tsl/display/SobelOperatorNode.js +2 -2
- package/examples/jsm/tsl/display/StereoCompositePassNode.js +8 -1
- package/examples/jsm/tsl/display/StereoPassNode.js +1 -2
- package/examples/jsm/tsl/display/TAAUNode.js +835 -0
- package/examples/jsm/tsl/display/TRAANode.js +315 -126
- package/examples/jsm/tsl/display/TransitionNode.js +1 -1
- package/examples/jsm/tsl/display/depthAwareBlend.js +80 -0
- package/examples/jsm/tsl/display/radialBlur.js +68 -0
- package/examples/jsm/tsl/lighting/DynamicLightsNode.js +300 -0
- package/examples/jsm/tsl/lighting/data/AmbientLightDataNode.js +61 -0
- package/examples/jsm/tsl/lighting/data/DirectionalLightDataNode.js +111 -0
- package/examples/jsm/tsl/lighting/data/HemisphereLightDataNode.js +99 -0
- package/examples/jsm/tsl/lighting/data/PointLightDataNode.js +134 -0
- package/examples/jsm/tsl/lighting/data/SpotLightDataNode.js +161 -0
- package/examples/jsm/tsl/math/Bayer.js +53 -3
- package/examples/jsm/utils/BufferGeometryUtils.js +2 -3
- package/examples/jsm/utils/ColorUtils.js +76 -0
- package/examples/jsm/utils/LDrawUtils.js +1 -1
- package/examples/jsm/utils/ShadowMapViewer.js +24 -10
- package/examples/jsm/utils/ShadowMapViewerGPU.js +1 -1
- package/examples/jsm/utils/SkeletonUtils.js +14 -8
- package/examples/jsm/utils/WebGPUTextureUtils.js +1 -1
- package/examples/jsm/webxr/XRHandMeshModel.js +36 -10
- package/examples/jsm/webxr/XRHandModelFactory.js +2 -1
- package/package.json +24 -30
- package/src/Three.Core.js +3 -1
- package/src/Three.TSL.js +25 -11
- package/src/Three.WebGPU.Nodes.js +5 -0
- package/src/Three.WebGPU.js +9 -0
- package/src/Three.js +1 -0
- package/src/animation/AnimationAction.js +12 -2
- package/src/animation/AnimationClip.js +1 -1
- package/src/animation/AnimationMixer.js +6 -0
- package/src/animation/AnimationUtils.js +1 -12
- package/src/animation/KeyframeTrack.js +47 -8
- package/src/animation/PropertyMixer.js +4 -4
- package/src/animation/tracks/BooleanKeyframeTrack.js +1 -1
- package/src/animation/tracks/ColorKeyframeTrack.js +1 -1
- package/src/animation/tracks/NumberKeyframeTrack.js +1 -1
- package/src/animation/tracks/QuaternionKeyframeTrack.js +1 -1
- package/src/animation/tracks/StringKeyframeTrack.js +1 -1
- package/src/animation/tracks/VectorKeyframeTrack.js +1 -1
- package/src/audio/Audio.js +1 -1
- package/src/audio/AudioContext.js +2 -2
- package/src/audio/AudioListener.js +5 -3
- package/src/cameras/Camera.js +32 -2
- package/src/cameras/CubeCamera.js +20 -0
- package/src/constants.js +90 -5
- package/src/core/BufferAttribute.js +13 -1
- package/src/core/BufferGeometry.js +14 -2
- package/src/core/Clock.js +7 -0
- package/src/core/Object3D.js +52 -4
- package/src/core/Raycaster.js +2 -2
- package/src/core/RenderTarget.js +4 -4
- package/src/extras/PMREMGenerator.js +7 -18
- package/src/extras/TextureUtils.js +5 -1
- package/src/extras/curves/CatmullRomCurve3.js +3 -2
- package/src/geometries/ExtrudeGeometry.js +2 -2
- package/src/geometries/PolyhedronGeometry.js +1 -1
- package/src/geometries/TorusGeometry.js +8 -3
- package/src/helpers/CameraHelper.js +3 -0
- package/src/helpers/DirectionalLightHelper.js +4 -1
- package/src/helpers/HemisphereLightHelper.js +3 -0
- package/src/helpers/PointLightHelper.js +1 -25
- package/src/helpers/SpotLightHelper.js +3 -0
- package/src/lights/DirectionalLight.js +13 -0
- package/src/lights/HemisphereLight.js +10 -0
- package/src/lights/Light.js +1 -11
- package/src/lights/LightProbe.js +0 -15
- package/src/lights/LightShadow.js +15 -6
- package/src/lights/PointLight.js +15 -0
- package/src/lights/PointLightShadow.js +0 -86
- package/src/lights/SpotLight.js +22 -1
- package/src/lights/webgpu/IESSpotLight.js +2 -1
- package/src/loaders/AudioLoader.js +11 -1
- package/src/loaders/Cache.js +28 -0
- package/src/loaders/DataTextureLoader.js +6 -4
- package/src/loaders/FileLoader.js +2 -3
- package/src/loaders/ImageBitmapLoader.js +12 -9
- package/src/loaders/Loader.js +6 -0
- package/src/loaders/MaterialLoader.js +3 -2
- package/src/loaders/ObjectLoader.js +46 -6
- package/src/loaders/nodes/NodeLoader.js +2 -2
- package/src/loaders/nodes/NodeObjectLoader.js +18 -0
- package/src/materials/Material.js +2 -0
- package/src/materials/MeshLambertMaterial.js +9 -0
- package/src/materials/MeshPhongMaterial.js +9 -0
- package/src/materials/MeshToonMaterial.js +1 -1
- package/src/materials/ShaderMaterial.js +20 -1
- package/src/materials/nodes/Line2NodeMaterial.js +34 -7
- package/src/materials/nodes/MeshPhysicalNodeMaterial.js +5 -2
- package/src/materials/nodes/MeshStandardNodeMaterial.js +5 -4
- package/src/materials/nodes/NodeMaterial.js +45 -25
- package/src/materials/nodes/manager/NodeMaterialObserver.js +191 -86
- package/src/math/Line3.js +6 -5
- package/src/math/MathUtils.js +10 -10
- package/src/math/Matrix2.js +13 -9
- package/src/math/Matrix3.js +13 -9
- package/src/math/Matrix4.js +87 -74
- package/src/math/Plane.js +4 -3
- package/src/math/Quaternion.js +3 -29
- package/src/math/Sphere.js +1 -1
- package/src/math/Triangle.js +1 -1
- package/src/math/Vector2.js +11 -7
- package/src/math/Vector3.js +15 -13
- package/src/math/Vector4.js +13 -9
- package/src/math/interpolants/BezierInterpolant.js +108 -0
- package/src/nodes/Nodes.js +86 -68
- package/src/nodes/TSL.js +7 -7
- package/src/nodes/accessors/Arrays.js +1 -1
- package/src/nodes/accessors/BatchNode.js +10 -10
- package/src/nodes/accessors/Bitangent.js +5 -5
- package/src/nodes/accessors/BufferAttributeNode.js +107 -15
- package/src/nodes/accessors/BufferNode.js +29 -2
- package/src/nodes/accessors/Camera.js +149 -28
- package/src/nodes/accessors/ClippingNode.js +4 -4
- package/src/nodes/accessors/CubeTextureNode.js +27 -2
- package/src/nodes/accessors/InstanceNode.js +148 -43
- package/src/nodes/accessors/MaterialNode.js +9 -1
- package/src/nodes/accessors/MaterialProperties.js +2 -5
- package/src/nodes/accessors/MaterialReferenceNode.js +1 -2
- package/src/nodes/accessors/ModelNode.js +1 -1
- package/src/nodes/accessors/Normal.js +11 -11
- package/src/nodes/accessors/Object3DNode.js +1 -1
- package/src/nodes/accessors/Position.js +34 -2
- package/src/nodes/accessors/ReferenceBaseNode.js +6 -6
- package/src/nodes/accessors/ReferenceNode.js +8 -8
- package/src/nodes/accessors/RendererReferenceNode.js +1 -2
- package/src/nodes/accessors/SceneProperties.js +47 -0
- package/src/nodes/accessors/SkinningNode.js +27 -26
- package/src/nodes/accessors/StorageBufferNode.js +14 -25
- package/src/nodes/accessors/StorageTextureNode.js +40 -9
- package/src/nodes/accessors/Tangent.js +4 -14
- package/src/nodes/accessors/Texture3DNode.js +32 -35
- package/src/nodes/accessors/TextureNode.js +67 -23
- package/src/nodes/accessors/UniformArrayNode.js +6 -4
- package/src/nodes/accessors/UserDataNode.js +1 -2
- package/src/nodes/accessors/VertexColorNode.js +1 -2
- package/src/nodes/code/FunctionCallNode.js +1 -1
- package/src/nodes/code/FunctionNode.js +2 -3
- package/src/nodes/core/ArrayNode.js +21 -2
- package/src/nodes/core/AssignNode.js +3 -3
- package/src/nodes/core/AttributeNode.js +3 -3
- package/src/nodes/core/BypassNode.js +1 -1
- package/src/nodes/core/ContextNode.js +104 -5
- package/src/nodes/core/IndexNode.js +2 -1
- package/src/nodes/core/InputNode.js +1 -1
- package/src/nodes/core/InspectorNode.js +1 -1
- package/src/nodes/core/IsolateNode.js +1 -1
- package/src/nodes/core/MRTNode.js +48 -2
- package/src/nodes/core/Node.js +112 -15
- package/src/nodes/core/NodeBuilder.js +284 -66
- package/src/nodes/core/NodeError.js +28 -0
- package/src/nodes/core/NodeFrame.js +12 -4
- package/src/nodes/core/NodeUtils.js +11 -9
- package/src/nodes/core/OutputStructNode.js +12 -10
- package/src/nodes/core/ParameterNode.js +4 -4
- package/src/nodes/core/PropertyNode.js +19 -3
- package/src/nodes/core/StackNode.js +66 -17
- package/src/nodes/core/StackTrace.js +139 -0
- package/src/nodes/core/StructNode.js +17 -3
- package/src/nodes/core/StructTypeNode.js +12 -18
- package/src/nodes/core/SubBuildNode.js +2 -2
- package/src/nodes/core/UniformGroupNode.js +36 -6
- package/src/nodes/core/UniformNode.js +21 -5
- package/src/nodes/core/VarNode.js +48 -23
- package/src/nodes/core/VaryingNode.js +2 -19
- package/src/nodes/display/BlendModes.js +0 -64
- package/src/nodes/display/ColorAdjustment.js +17 -0
- package/src/nodes/display/ColorSpaceNode.js +3 -3
- package/src/nodes/display/NormalMapNode.js +39 -4
- package/src/nodes/display/PassNode.js +125 -16
- package/src/nodes/display/RenderOutputNode.js +7 -7
- package/src/nodes/display/ScreenNode.js +4 -2
- package/src/nodes/display/ToneMappingNode.js +1 -1
- package/src/nodes/display/ToonOutlinePassNode.js +2 -2
- package/src/nodes/display/ViewportDepthNode.js +52 -4
- package/src/nodes/display/ViewportDepthTextureNode.js +11 -15
- package/src/nodes/display/ViewportTextureNode.js +39 -11
- package/src/nodes/fog/Fog.js +18 -35
- package/src/nodes/functions/BSDF/BRDF_GGX_Multiscatter.js +3 -3
- package/src/nodes/functions/BSDF/DFGLUT.js +56 -0
- package/src/nodes/functions/BSDF/EnvironmentBRDF.js +2 -2
- package/src/nodes/functions/BSDF/V_GGX_SmithCorrelated_Anisotropic.js +2 -2
- package/src/nodes/functions/PhysicalLightingModel.js +126 -45
- package/src/nodes/geometry/RangeNode.js +5 -3
- package/src/nodes/gpgpu/AtomicFunctionNode.js +1 -1
- package/src/nodes/gpgpu/BarrierNode.js +9 -0
- package/src/nodes/gpgpu/ComputeBuiltinNode.js +2 -3
- package/src/nodes/gpgpu/ComputeNode.js +74 -48
- package/src/nodes/gpgpu/SubgroupFunctionNode.js +2 -2
- package/src/nodes/gpgpu/WorkgroupInfoNode.js +4 -4
- package/src/nodes/lighting/AnalyticLightNode.js +53 -0
- package/src/nodes/lighting/EnvironmentNode.js +28 -3
- package/src/nodes/lighting/LightsNode.js +7 -28
- package/src/nodes/lighting/PointShadowNode.js +162 -149
- package/src/nodes/lighting/ShadowFilterNode.js +53 -65
- package/src/nodes/lighting/ShadowNode.js +120 -42
- package/src/nodes/math/BitcastNode.js +1 -1
- package/src/nodes/math/BitcountNode.js +433 -0
- package/src/nodes/math/ConditionalNode.js +3 -3
- package/src/nodes/math/MathNode.js +76 -41
- package/src/nodes/math/OperatorNode.js +3 -2
- package/src/nodes/math/PackFloatNode.js +98 -0
- package/src/nodes/math/UnpackFloatNode.js +96 -0
- package/src/nodes/pmrem/PMREMNode.js +1 -1
- package/src/nodes/pmrem/PMREMUtils.js +9 -15
- package/src/nodes/tsl/TSLBase.js +1 -1
- package/src/nodes/tsl/TSLCore.js +38 -17
- package/src/nodes/utils/ArrayElementNode.js +14 -1
- package/src/nodes/utils/ConvertNode.js +1 -1
- package/src/nodes/utils/DebugNode.js +12 -12
- package/src/nodes/utils/EventNode.js +31 -2
- package/src/nodes/utils/FlipNode.js +1 -1
- package/src/nodes/utils/FunctionOverloadingNode.js +1 -1
- package/src/nodes/utils/JoinNode.js +3 -3
- package/src/nodes/utils/LoopNode.js +1 -1
- package/src/nodes/utils/MemberNode.js +2 -2
- package/src/nodes/utils/Packing.js +13 -1
- package/src/nodes/utils/PostProcessingUtils.js +33 -1
- package/src/nodes/utils/RTTNode.js +1 -1
- package/src/nodes/utils/ReflectorNode.js +3 -4
- package/src/nodes/utils/Remap.js +48 -0
- package/src/nodes/utils/RotateNode.js +1 -1
- package/src/nodes/utils/SampleNode.js +1 -1
- package/src/nodes/utils/SetNode.js +1 -1
- package/src/nodes/utils/SplitNode.js +1 -1
- package/src/nodes/utils/SpriteSheetUV.js +35 -0
- package/src/nodes/utils/UVUtils.js +28 -0
- package/src/objects/BatchedMesh.js +44 -16
- package/src/objects/InstancedMesh.js +30 -3
- package/src/objects/Line.js +1 -1
- package/src/objects/Mesh.js +1 -1
- package/src/objects/Points.js +1 -1
- package/src/objects/Skeleton.js +9 -0
- package/src/objects/SkinnedMesh.js +26 -9
- package/src/renderers/WebGLRenderer.js +329 -145
- package/src/renderers/common/Animation.js +3 -3
- package/src/renderers/common/Attributes.js +15 -1
- package/src/renderers/common/Backend.js +29 -8
- package/src/renderers/common/Background.js +26 -13
- package/src/renderers/common/BindGroup.js +1 -16
- package/src/renderers/common/Binding.js +11 -0
- package/src/renderers/common/Bindings.js +29 -14
- package/src/renderers/common/BlendMode.js +143 -0
- package/src/renderers/common/Buffer.js +40 -0
- package/src/renderers/common/BundleGroup.js +1 -1
- package/src/renderers/common/ChainMap.js +30 -6
- package/src/renderers/common/ComputePipeline.js +1 -1
- package/src/renderers/common/CubeRenderTarget.js +51 -7
- package/src/renderers/common/Geometries.js +29 -3
- package/src/renderers/common/Info.js +333 -4
- package/src/renderers/common/InspectorBase.js +6 -1
- package/src/renderers/common/Lighting.js +5 -21
- package/src/renderers/common/Pipelines.js +40 -7
- package/src/renderers/common/PostProcessing.js +8 -206
- package/src/renderers/common/ReadbackBuffer.js +78 -0
- package/src/renderers/common/RenderBundle.js +3 -1
- package/src/renderers/common/RenderBundles.js +7 -3
- package/src/renderers/common/RenderContext.js +16 -0
- package/src/renderers/common/RenderContexts.js +33 -49
- package/src/renderers/common/RenderLists.js +2 -1
- package/src/renderers/common/RenderObject.js +17 -5
- package/src/renderers/common/RenderObjectPipeline.js +40 -0
- package/src/renderers/common/RenderObjects.js +21 -5
- package/src/renderers/common/RenderPipeline.js +232 -17
- package/src/renderers/common/Renderer.js +481 -117
- package/src/renderers/common/Sampler.js +4 -4
- package/src/renderers/common/StorageBuffer.js +13 -1
- package/src/renderers/common/Textures.js +89 -4
- package/src/renderers/common/TimestampQueryPool.js +5 -3
- package/src/renderers/common/Uniform.js +8 -0
- package/src/renderers/common/UniformsGroup.js +62 -1
- package/src/renderers/common/XRManager.js +37 -29
- package/src/renderers/common/extras/PMREMGenerator.js +25 -23
- package/src/renderers/common/nodes/NodeBuilderState.js +1 -1
- package/src/renderers/common/nodes/{Nodes.js → NodeManager.js} +242 -99
- package/src/renderers/common/nodes/NodeStorageBuffer.js +13 -2
- package/src/renderers/common/nodes/NodeUniformBuffer.js +52 -0
- package/src/renderers/shaders/DFGLUTData.js +19 -34
- package/src/renderers/shaders/ShaderChunk/batching_pars_vertex.glsl.js +2 -2
- package/src/renderers/shaders/ShaderChunk/color_fragment.glsl.js +1 -5
- package/src/renderers/shaders/ShaderChunk/color_pars_fragment.glsl.js +1 -5
- package/src/renderers/shaders/ShaderChunk/color_pars_vertex.glsl.js +1 -5
- package/src/renderers/shaders/ShaderChunk/color_vertex.glsl.js +8 -10
- package/src/renderers/shaders/ShaderChunk/envmap_common_pars_fragment.glsl.js +0 -1
- package/src/renderers/shaders/ShaderChunk/envmap_fragment.glsl.js +8 -12
- package/src/renderers/shaders/ShaderChunk/lightprobes_pars_fragment.glsl.js +80 -0
- package/src/renderers/shaders/ShaderChunk/lights_fragment_begin.glsl.js +13 -2
- package/src/renderers/shaders/ShaderChunk/lights_fragment_end.glsl.js +6 -0
- package/src/renderers/shaders/ShaderChunk/lights_fragment_maps.glsl.js +6 -2
- package/src/renderers/shaders/ShaderChunk/lights_pars_begin.glsl.js +2 -0
- package/src/renderers/shaders/ShaderChunk/lights_physical_fragment.glsl.js +8 -4
- package/src/renderers/shaders/ShaderChunk/lights_physical_pars_fragment.glsl.js +112 -53
- package/src/renderers/shaders/ShaderChunk/normal_fragment_maps.glsl.js +7 -0
- package/src/renderers/shaders/ShaderChunk/packing.glsl.js +20 -4
- package/src/renderers/shaders/ShaderChunk/premultiplied_alpha_fragment.glsl.js +0 -1
- package/src/renderers/shaders/ShaderChunk/shadowmap_pars_fragment.glsl.js +225 -186
- package/src/renderers/shaders/ShaderChunk/shadowmap_vertex.glsl.js +12 -2
- package/src/renderers/shaders/ShaderChunk/shadowmask_pars_fragment.glsl.js +1 -1
- package/src/renderers/shaders/ShaderChunk/transmission_fragment.glsl.js +1 -1
- package/src/renderers/shaders/ShaderChunk.js +5 -3
- package/src/renderers/shaders/ShaderLib/backgroundCube.glsl.js +1 -2
- package/src/renderers/shaders/ShaderLib/depth.glsl.js +3 -0
- package/src/renderers/shaders/ShaderLib/{distanceRGBA.glsl.js → distance.glsl.js} +1 -2
- package/src/renderers/shaders/ShaderLib/meshlambert.glsl.js +2 -1
- package/src/renderers/shaders/ShaderLib/meshnormal.glsl.js +1 -2
- package/src/renderers/shaders/ShaderLib/meshphong.glsl.js +2 -1
- package/src/renderers/shaders/ShaderLib/meshphysical.glsl.js +4 -9
- package/src/renderers/shaders/ShaderLib/meshtoon.glsl.js +0 -1
- package/src/renderers/shaders/ShaderLib/shadow.glsl.js +1 -1
- package/src/renderers/shaders/ShaderLib/vsm.glsl.js +4 -6
- package/src/renderers/shaders/ShaderLib.js +7 -6
- package/src/renderers/shaders/UniformsLib.js +7 -5
- package/src/renderers/shaders/UniformsUtils.js +27 -5
- package/src/renderers/webgl/WebGLAnimation.js +2 -1
- package/src/renderers/webgl/WebGLBackground.js +15 -15
- package/src/renderers/webgl/WebGLBindingStates.js +99 -27
- package/src/renderers/webgl/WebGLBufferRenderer.js +0 -32
- package/src/renderers/webgl/WebGLCapabilities.js +9 -4
- package/src/renderers/webgl/WebGLEnvironments.js +228 -0
- package/src/renderers/webgl/WebGLGeometries.js +10 -7
- package/src/renderers/webgl/WebGLIndexedBufferRenderer.js +0 -32
- package/src/renderers/webgl/WebGLLights.js +18 -1
- package/src/renderers/webgl/WebGLMaterials.js +24 -13
- package/src/renderers/webgl/WebGLObjects.js +3 -1
- package/src/renderers/webgl/WebGLOutput.js +270 -0
- package/src/renderers/webgl/WebGLProgram.js +49 -109
- package/src/renderers/webgl/WebGLPrograms.js +63 -51
- package/src/renderers/webgl/WebGLRenderLists.js +15 -0
- package/src/renderers/webgl/WebGLRenderStates.js +13 -2
- package/src/renderers/webgl/WebGLShadowMap.js +188 -24
- package/src/renderers/webgl/WebGLState.js +75 -37
- package/src/renderers/webgl/WebGLTextures.js +215 -54
- package/src/renderers/webgl/WebGLUniforms.js +40 -3
- package/src/renderers/webgl/WebGLUniformsGroups.js +19 -0
- package/src/renderers/webgl/WebGLUtils.js +6 -2
- package/src/renderers/webgl-fallback/WebGLBackend.js +253 -82
- package/src/renderers/webgl-fallback/WebGLBufferRenderer.js +0 -41
- package/src/renderers/webgl-fallback/nodes/GLSLNodeBuilder.js +173 -74
- package/src/renderers/webgl-fallback/utils/WebGLAttributeUtils.js +53 -19
- package/src/renderers/webgl-fallback/utils/WebGLCapabilities.js +25 -0
- package/src/renderers/webgl-fallback/utils/WebGLState.js +223 -6
- package/src/renderers/webgl-fallback/utils/WebGLTextureUtils.js +68 -53
- package/src/renderers/webgl-fallback/utils/WebGLTimestampQueryPool.js +10 -10
- package/src/renderers/webgl-fallback/utils/WebGLUtils.js +6 -2
- package/src/renderers/webgpu/WebGPUBackend.js +260 -140
- package/src/renderers/webgpu/WebGPURenderer.js +2 -1
- package/src/renderers/webgpu/nodes/WGSLNodeBuilder.js +366 -90
- package/src/renderers/webgpu/utils/WebGPUAttributeUtils.js +107 -34
- package/src/renderers/webgpu/utils/WebGPUBindingUtils.js +357 -200
- package/src/renderers/webgpu/utils/WebGPUCapabilities.js +48 -0
- package/src/renderers/webgpu/utils/WebGPUConstants.js +10 -0
- package/src/renderers/webgpu/utils/WebGPUPipelineUtils.js +61 -23
- package/src/renderers/webgpu/utils/WebGPUTexturePassUtils.js +152 -200
- package/src/renderers/webgpu/utils/WebGPUTextureUtils.js +156 -59
- package/src/renderers/webgpu/utils/WebGPUTimestampQueryPool.js +7 -7
- package/src/renderers/webgpu/utils/WebGPUUtils.js +33 -11
- package/src/renderers/webxr/WebXRController.js +12 -0
- package/src/renderers/webxr/WebXRManager.js +4 -2
- package/src/textures/CubeDepthTexture.js +76 -0
- package/src/textures/HTMLTexture.js +74 -0
- package/src/textures/Source.js +2 -2
- package/src/textures/Texture.js +16 -5
- package/src/utils.js +280 -3
- package/examples/jsm/materials/MeshGouraudMaterial.js +0 -434
- package/examples/jsm/materials/MeshPostProcessingMaterial.js +0 -167
- package/examples/jsm/shaders/GodRaysShader.js +0 -333
- package/src/nodes/accessors/SceneNode.js +0 -145
- package/src/nodes/code/ScriptableNode.js +0 -726
- package/src/nodes/code/ScriptableValueNode.js +0 -253
- package/src/nodes/display/PosterizeNode.js +0 -65
- package/src/nodes/functions/BSDF/DFGApprox.js +0 -71
- package/src/nodes/utils/RemapNode.js +0 -125
- package/src/nodes/utils/SpriteSheetUVNode.js +0 -90
- package/src/renderers/webgl/WebGLCubeMaps.js +0 -99
- package/src/renderers/webgl/WebGLCubeUVMaps.js +0 -134
|
@@ -16,6 +16,8 @@ export class Style {
|
|
|
16
16
|
--color-green: #4caf50;
|
|
17
17
|
--color-yellow: #ffc107;
|
|
18
18
|
--color-red: #f44336;
|
|
19
|
+
--color-fps: rgb(63, 81, 181);
|
|
20
|
+
--color-call: rgba(255, 185, 34, 1);
|
|
19
21
|
--font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
20
22
|
--font-mono: 'Fira Code', 'Courier New', Courier, monospace;
|
|
21
23
|
}
|
|
@@ -36,12 +38,13 @@ export class Style {
|
|
|
36
38
|
right: 15px;
|
|
37
39
|
background-color: rgba(30, 30, 36, 0.85);
|
|
38
40
|
border: 1px solid #4a4a5a54;
|
|
39
|
-
border-radius: 6px
|
|
41
|
+
border-radius: 12px 6px 6px 12px;
|
|
40
42
|
color: var(--text-primary);
|
|
41
43
|
cursor: pointer;
|
|
42
44
|
z-index: 1001;
|
|
43
45
|
transition: all 0.2s ease-in-out;
|
|
44
|
-
font-size: 14px
|
|
46
|
+
/*font-size: 14px;*/
|
|
47
|
+
font-size: 15px;
|
|
45
48
|
backdrop-filter: blur(8px);
|
|
46
49
|
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
|
|
47
50
|
display: flex;
|
|
@@ -51,13 +54,25 @@ export class Style {
|
|
|
51
54
|
font-family: var(--font-family);
|
|
52
55
|
}
|
|
53
56
|
|
|
57
|
+
#profiler-toggle.position-right.panel-open {
|
|
58
|
+
right: auto;
|
|
59
|
+
left: 15px;
|
|
60
|
+
border-radius: 6px 12px 12px 6px;
|
|
61
|
+
flex-direction: row-reverse;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
#profiler-toggle.position-right.panel-open #builtin-tabs-container {
|
|
65
|
+
border-right: none;
|
|
66
|
+
border-left: 1px solid #262636;
|
|
67
|
+
}
|
|
68
|
+
|
|
54
69
|
#profiler-toggle:hover {
|
|
55
70
|
border-color: var(--accent-color);
|
|
56
71
|
}
|
|
57
72
|
|
|
58
|
-
#profiler-toggle.
|
|
59
|
-
|
|
60
|
-
|
|
73
|
+
#profiler-toggle.panel-open #toggle-icon {
|
|
74
|
+
background-color: rgba(0, 170, 255, 0.2);
|
|
75
|
+
color: var(--accent-color);
|
|
61
76
|
}
|
|
62
77
|
|
|
63
78
|
#toggle-icon {
|
|
@@ -73,6 +88,10 @@ export class Style {
|
|
|
73
88
|
background-color: rgba(255, 255, 255, 0.05);
|
|
74
89
|
}
|
|
75
90
|
|
|
91
|
+
#profiler-toggle.panel-open:hover #toggle-icon {
|
|
92
|
+
background-color: rgba(0, 170, 255, 0.3);
|
|
93
|
+
}
|
|
94
|
+
|
|
76
95
|
.toggle-separator {
|
|
77
96
|
width: 1px;
|
|
78
97
|
background-color: var(--profiler-border);
|
|
@@ -92,6 +111,295 @@ export class Style {
|
|
|
92
111
|
color: #999;
|
|
93
112
|
}
|
|
94
113
|
|
|
114
|
+
#builtin-tabs-container {
|
|
115
|
+
display: flex;
|
|
116
|
+
align-items: stretch;
|
|
117
|
+
gap: 0;
|
|
118
|
+
border-right: 1px solid #262636;
|
|
119
|
+
order: -1;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.builtin-tab-btn {
|
|
123
|
+
background: transparent;
|
|
124
|
+
border: none;
|
|
125
|
+
color: var(--text-secondary);
|
|
126
|
+
cursor: pointer;
|
|
127
|
+
padding: 8px 14px;
|
|
128
|
+
font-family: var(--font-family);
|
|
129
|
+
font-size: 13px;
|
|
130
|
+
font-weight: 600;
|
|
131
|
+
transition: all 0.2s;
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
justify-content: center;
|
|
135
|
+
min-width: 32px;
|
|
136
|
+
position: relative;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.builtin-tab-btn svg {
|
|
140
|
+
width: 20px;
|
|
141
|
+
height: 20px;
|
|
142
|
+
stroke: currentColor;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.builtin-tab-btn:hover {
|
|
146
|
+
background-color: rgba(255, 255, 255, 0.08);
|
|
147
|
+
color: var(--accent-color);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.builtin-tab-btn:active {
|
|
151
|
+
background-color: rgba(255, 255, 255, 0.12);
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.builtin-tab-btn.active {
|
|
155
|
+
background-color: rgba(0, 170, 255, 0.2);
|
|
156
|
+
color: var(--accent-color);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.builtin-tab-btn.active:hover {
|
|
160
|
+
background-color: rgba(0, 170, 255, 0.3);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
#profiler-mini-panel {
|
|
164
|
+
position: fixed;
|
|
165
|
+
top: 60px;
|
|
166
|
+
right: 15px;
|
|
167
|
+
background-color: rgba(30, 30, 36, 0.85);
|
|
168
|
+
border: 1px solid #4a4a5a54;
|
|
169
|
+
border-radius: 8px;
|
|
170
|
+
color: var(--text-primary);
|
|
171
|
+
z-index: 9999;
|
|
172
|
+
backdrop-filter: blur(8px);
|
|
173
|
+
box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
|
|
174
|
+
font-family: var(--font-family);
|
|
175
|
+
font-size: 11px;
|
|
176
|
+
width: 350px;
|
|
177
|
+
max-height: calc(100vh - 100px);
|
|
178
|
+
overflow-y: auto;
|
|
179
|
+
overflow-x: hidden;
|
|
180
|
+
display: none;
|
|
181
|
+
opacity: 0;
|
|
182
|
+
transform: translateY(-10px) scale(0.98);
|
|
183
|
+
transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
|
|
184
|
+
transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
#profiler-mini-panel.position-right.panel-open {
|
|
188
|
+
right: auto;
|
|
189
|
+
left: 15px;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
#profiler-mini-panel.visible {
|
|
193
|
+
display: block;
|
|
194
|
+
opacity: 1;
|
|
195
|
+
transform: translateY(0) scale(1);
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
#profiler-mini-panel::-webkit-scrollbar {
|
|
199
|
+
width: 6px;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
#profiler-mini-panel::-webkit-scrollbar-track {
|
|
203
|
+
background: transparent;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
#profiler-mini-panel::-webkit-scrollbar-thumb {
|
|
207
|
+
background: rgba(255, 255, 255, 0.15);
|
|
208
|
+
border-radius: 3px;
|
|
209
|
+
transition: background 0.2s;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
#profiler-mini-panel::-webkit-scrollbar-thumb:hover {
|
|
213
|
+
background: rgba(255, 255, 255, 0.25);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.mini-panel-content {
|
|
217
|
+
padding: 0;
|
|
218
|
+
font-size: 11px;
|
|
219
|
+
line-height: 1.5;
|
|
220
|
+
font-family: var(--font-mono);
|
|
221
|
+
letter-spacing: 0.3px;
|
|
222
|
+
user-select: none;
|
|
223
|
+
-webkit-user-select: none;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.mini-panel-content .profiler-content {
|
|
227
|
+
display: block !important;
|
|
228
|
+
background: transparent;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.mini-panel-content .list-scroll-wrapper {
|
|
232
|
+
max-height: calc(100vh - 120px);
|
|
233
|
+
overflow-y: auto;
|
|
234
|
+
overflow-x: hidden;
|
|
235
|
+
width: 100%;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.mini-panel-content .list-scroll-wrapper::-webkit-scrollbar {
|
|
239
|
+
width: 4px;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.mini-panel-content .list-scroll-wrapper::-webkit-scrollbar-track {
|
|
243
|
+
background: transparent;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.mini-panel-content .list-scroll-wrapper::-webkit-scrollbar-thumb {
|
|
247
|
+
background: rgba(255, 255, 255, 0.1);
|
|
248
|
+
border-radius: 2px;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.mini-panel-content .list-scroll-wrapper::-webkit-scrollbar-thumb:hover {
|
|
252
|
+
background: rgba(255, 255, 255, 0.2);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.mini-panel-content .parameters {
|
|
256
|
+
background: transparent;
|
|
257
|
+
border: none;
|
|
258
|
+
box-shadow: none;
|
|
259
|
+
padding: 4px;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.mini-panel-content .list-container.parameters {
|
|
263
|
+
padding: 2px 6px 0px 6px !important;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.mini-panel-content .list-header {
|
|
267
|
+
display: none;
|
|
268
|
+
padding: 2px 4px;
|
|
269
|
+
font-size: 11px;
|
|
270
|
+
font-weight: 600;
|
|
271
|
+
text-transform: uppercase;
|
|
272
|
+
letter-spacing: 0.5px;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.mini-panel-content .list-item {
|
|
276
|
+
border-bottom: 1px solid rgba(74, 74, 90, 0.2);
|
|
277
|
+
transition: background-color 0.15s;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.mini-panel-content .list-item:last-child {
|
|
281
|
+
border-bottom: none;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.mini-panel-content .list-item:hover {
|
|
285
|
+
background-color: rgba(255, 255, 255, 0.04);
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.mini-panel-content .list-item.actionable:hover {
|
|
289
|
+
background-color: rgba(255, 255, 255, 0.06);
|
|
290
|
+
cursor: pointer;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/* Style adjustments for lil-gui look */
|
|
294
|
+
.mini-panel-content .item-row {
|
|
295
|
+
padding: 3px 8px;
|
|
296
|
+
min-height: 24px;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.mini-panel-content .list-item-row {
|
|
300
|
+
padding: 1px 4px;
|
|
301
|
+
gap: 8px;
|
|
302
|
+
min-height: 21px;
|
|
303
|
+
align-items: center;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.mini-panel-content input[type="checkbox"] {
|
|
307
|
+
width: 12px;
|
|
308
|
+
height: 12px;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.mini-panel-content input[type="range"] {
|
|
312
|
+
height: 18px;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
.mini-panel-content .value-number input,
|
|
316
|
+
.mini-panel-content .value-slider input {
|
|
317
|
+
background-color: rgba(0, 0, 0, 0.3);
|
|
318
|
+
border: 1px solid rgba(74, 74, 90, 0.5);
|
|
319
|
+
font-size: 10px;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.mini-panel-content .value-number input:focus,
|
|
323
|
+
.mini-panel-content .value-slider input:focus {
|
|
324
|
+
border-color: var(--accent-color);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
.mini-panel-content .value-slider {
|
|
328
|
+
gap: 6px;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/* Compact nested items */
|
|
332
|
+
.mini-panel-content .list-item .list-item {
|
|
333
|
+
margin-left: 8px;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.mini-panel-content .list-item .list-item .item-row,
|
|
337
|
+
.mini-panel-content .list-item .list-item .list-item-row {
|
|
338
|
+
padding: 2px 6px;
|
|
339
|
+
min-height: 22px;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/* Compact collapsible headers */
|
|
343
|
+
.mini-panel-content .collapsible .item-row,
|
|
344
|
+
.mini-panel-content .list-item-row.collapsible {
|
|
345
|
+
padding: 2px 8px;
|
|
346
|
+
font-weight: 600;
|
|
347
|
+
min-height: 16px;
|
|
348
|
+
display: flex;
|
|
349
|
+
align-items: center;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.mini-panel-content .collapsible-icon {
|
|
353
|
+
font-size: 10px;
|
|
354
|
+
width: 14px;
|
|
355
|
+
height: 14px;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
.mini-panel-content .param-control input[type="range"] {
|
|
359
|
+
height: 12px;
|
|
360
|
+
margin-top: 1px;
|
|
361
|
+
padding-top: 5px;
|
|
362
|
+
user-select: none;
|
|
363
|
+
-webkit-user-select: none;
|
|
364
|
+
outline: none;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.mini-panel-content .param-control input[type="range"]::-webkit-slider-thumb {
|
|
368
|
+
width: 14px;
|
|
369
|
+
height: 14px;
|
|
370
|
+
margin-top: -5px;
|
|
371
|
+
user-select: none;
|
|
372
|
+
-webkit-user-select: none;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
.mini-panel-content .param-control input[type="range"]::-moz-range-thumb {
|
|
376
|
+
width: 14px;
|
|
377
|
+
height: 14px;
|
|
378
|
+
user-select: none;
|
|
379
|
+
-moz-user-select: none;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.mini-panel-content .list-children-container {
|
|
383
|
+
padding-left: 0;
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.mini-panel-content .param-control input[type="number"] {
|
|
387
|
+
flex-basis: 60px !important;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.mini-panel-content .param-control {
|
|
391
|
+
align-items: center;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.mini-panel-content .param-control select {
|
|
395
|
+
font-size: 11px;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
.mini-panel-content .list-item-wrapper {
|
|
399
|
+
margin-top: 0;
|
|
400
|
+
margin-bottom: 0;
|
|
401
|
+
}
|
|
402
|
+
|
|
95
403
|
#profiler-panel {
|
|
96
404
|
position: fixed;
|
|
97
405
|
z-index: 1001 !important;
|
|
@@ -108,11 +416,12 @@ export class Style {
|
|
|
108
416
|
z-index: 1000;
|
|
109
417
|
/*box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);*/
|
|
110
418
|
transform: translateY(100%);
|
|
111
|
-
transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), height 0.3s ease-out;
|
|
419
|
+
transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), height 0.3s ease-out, width 0.3s ease-out;
|
|
112
420
|
font-family: var(--font-mono);
|
|
113
421
|
}
|
|
114
422
|
|
|
115
|
-
#profiler-panel.resizing
|
|
423
|
+
#profiler-panel.resizing,
|
|
424
|
+
#profiler-panel.dragging {
|
|
116
425
|
transition: none;
|
|
117
426
|
}
|
|
118
427
|
|
|
@@ -124,6 +433,92 @@ export class Style {
|
|
|
124
433
|
height: 100vh;
|
|
125
434
|
}
|
|
126
435
|
|
|
436
|
+
/* Position-specific styles */
|
|
437
|
+
#profiler-panel.position-top {
|
|
438
|
+
bottom: auto;
|
|
439
|
+
top: 0;
|
|
440
|
+
border-top: none;
|
|
441
|
+
border-bottom: 2px solid var(--profiler-border);
|
|
442
|
+
transform: translateY(-100%);
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
#profiler-panel.position-top.visible {
|
|
446
|
+
transform: translateY(0);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
#profiler-panel.position-bottom {
|
|
450
|
+
/* Default position - already defined above */
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
#profiler-panel.position-left {
|
|
454
|
+
top: 0;
|
|
455
|
+
bottom: 0;
|
|
456
|
+
left: 0;
|
|
457
|
+
right: auto;
|
|
458
|
+
width: 350px;
|
|
459
|
+
height: 100%;
|
|
460
|
+
border-top: none;
|
|
461
|
+
border-right: 2px solid var(--profiler-border);
|
|
462
|
+
transform: translateX(-100%);
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
#profiler-panel.position-left.visible {
|
|
466
|
+
transform: translateX(0);
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
#profiler-panel.position-right {
|
|
470
|
+
top: 0;
|
|
471
|
+
bottom: 0;
|
|
472
|
+
left: auto;
|
|
473
|
+
right: 0;
|
|
474
|
+
width: 350px;
|
|
475
|
+
height: 100%;
|
|
476
|
+
border-top: none;
|
|
477
|
+
border-left: 2px solid var(--profiler-border);
|
|
478
|
+
transform: translateX(100%);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
#profiler-panel.position-right.visible {
|
|
482
|
+
transform: translateX(0);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
#profiler-panel.position-floating {
|
|
486
|
+
border: 2px solid var(--profiler-border);
|
|
487
|
+
border-radius: 8px;
|
|
488
|
+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
|
|
489
|
+
transform: none !important;
|
|
490
|
+
overflow: hidden;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
#profiler-panel.position-floating.visible {
|
|
494
|
+
transform: none !important;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
#profiler-panel.position-floating .profiler-header {
|
|
498
|
+
border-radius: 6px 6px 0 0;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
#profiler-panel.position-floating .panel-resizer {
|
|
502
|
+
bottom: 0;
|
|
503
|
+
right: 0;
|
|
504
|
+
top: auto;
|
|
505
|
+
left: auto;
|
|
506
|
+
width: 16px;
|
|
507
|
+
height: 16px;
|
|
508
|
+
cursor: nwse-resize;
|
|
509
|
+
border-radius: 0 0 6px 0;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
#profiler-panel.position-floating .panel-resizer::after {
|
|
513
|
+
content: '';
|
|
514
|
+
position: absolute;
|
|
515
|
+
right: 2px;
|
|
516
|
+
bottom: 2px;
|
|
517
|
+
width: 10px;
|
|
518
|
+
height: 10px;
|
|
519
|
+
background: linear-gradient(135deg, transparent 0%, transparent 45%, var(--profiler-border) 45%, var(--profiler-border) 55%, transparent 55%);
|
|
520
|
+
}
|
|
521
|
+
|
|
127
522
|
|
|
128
523
|
.panel-resizer {
|
|
129
524
|
position: absolute;
|
|
@@ -133,24 +528,217 @@ export class Style {
|
|
|
133
528
|
height: 5px;
|
|
134
529
|
cursor: ns-resize;
|
|
135
530
|
z-index: 1001;
|
|
531
|
+
touch-action: none;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
#profiler-panel.position-top .panel-resizer {
|
|
535
|
+
top: auto;
|
|
536
|
+
bottom: -2px;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
#profiler-panel.position-left .panel-resizer {
|
|
540
|
+
top: 0;
|
|
541
|
+
left: auto;
|
|
542
|
+
right: -2px;
|
|
543
|
+
width: 5px;
|
|
544
|
+
height: 100%;
|
|
545
|
+
cursor: ew-resize;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
#profiler-panel.position-right .panel-resizer {
|
|
549
|
+
top: 0;
|
|
550
|
+
left: -2px;
|
|
551
|
+
right: auto;
|
|
552
|
+
width: 5px;
|
|
553
|
+
height: 100%;
|
|
554
|
+
cursor: ew-resize;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
.profiler-header {
|
|
558
|
+
display: flex;
|
|
559
|
+
background-color: var(--profiler-header-bg);
|
|
560
|
+
border-bottom: 1px solid var(--profiler-border);
|
|
561
|
+
flex-shrink: 0;
|
|
562
|
+
justify-content: space-between;
|
|
563
|
+
align-items: stretch;
|
|
564
|
+
|
|
565
|
+
overflow-x: auto;
|
|
566
|
+
overflow-y: hidden;
|
|
567
|
+
width: calc(100% - 134px);
|
|
568
|
+
height: 38px;
|
|
569
|
+
user-select: none;
|
|
570
|
+
-webkit-user-select: none;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
/* Adjust header width based on panel position */
|
|
574
|
+
#profiler-panel.position-right .profiler-header,
|
|
575
|
+
#profiler-panel.position-left .profiler-header {
|
|
576
|
+
width: calc(100% - 134px);
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
#profiler-panel.position-bottom .profiler-header,
|
|
580
|
+
#profiler-panel.position-top .profiler-header {
|
|
581
|
+
width: calc(100% - 134px);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/* Adjust header width when position toggle button is hidden (mobile) */
|
|
585
|
+
#profiler-panel.hide-position-toggle .profiler-header {
|
|
586
|
+
width: calc(100% - 90px);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/* ===== RULES FOR WHEN THERE ARE NO TABS ===== */
|
|
590
|
+
|
|
591
|
+
/* Horizontal mode (bottom/top) without tabs */
|
|
592
|
+
#profiler-panel.position-bottom.no-tabs:not(.maximized),
|
|
593
|
+
#profiler-panel.position-top.no-tabs:not(.maximized) {
|
|
594
|
+
height: 38px !important;
|
|
595
|
+
min-height: 38px !important;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
#profiler-panel.position-bottom.no-tabs .profiler-header,
|
|
599
|
+
#profiler-panel.position-top.no-tabs .profiler-header {
|
|
600
|
+
width: 100%;
|
|
601
|
+
height: 38px;
|
|
602
|
+
border-bottom: none;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
#profiler-panel.position-bottom.no-tabs .profiler-content-wrapper,
|
|
606
|
+
#profiler-panel.position-top.no-tabs .profiler-content-wrapper {
|
|
607
|
+
display: none;
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
#profiler-panel.position-bottom.no-tabs .panel-resizer,
|
|
611
|
+
#profiler-panel.position-top.no-tabs .panel-resizer {
|
|
612
|
+
display: none;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
/* Vertical mode (right/left) without tabs */
|
|
616
|
+
#profiler-panel.position-right.no-tabs:not(.maximized),
|
|
617
|
+
#profiler-panel.position-left.no-tabs:not(.maximized) {
|
|
618
|
+
width: 45px !important;
|
|
619
|
+
min-width: 45px !important;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
/* Vertical layout for header when no tabs */
|
|
623
|
+
#profiler-panel.position-right.no-tabs .profiler-header,
|
|
624
|
+
#profiler-panel.position-left.no-tabs .profiler-header {
|
|
625
|
+
width: 100%;
|
|
626
|
+
flex-direction: column;
|
|
627
|
+
height: 100%;
|
|
628
|
+
border-bottom: none;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
/* Vertical layout for controls when no tabs */
|
|
632
|
+
#profiler-panel.position-right.no-tabs .profiler-controls,
|
|
633
|
+
#profiler-panel.position-left.no-tabs .profiler-controls {
|
|
634
|
+
position: static;
|
|
635
|
+
flex-direction: column-reverse;
|
|
636
|
+
justify-content: flex-end;
|
|
637
|
+
width: 100%;
|
|
638
|
+
height: 100%;
|
|
639
|
+
border-bottom: none;
|
|
640
|
+
border-left: none;
|
|
641
|
+
background: transparent;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
#profiler-panel.position-right.no-tabs .profiler-controls button,
|
|
645
|
+
#profiler-panel.position-left.no-tabs .profiler-controls button {
|
|
646
|
+
width: 100%;
|
|
647
|
+
height: 45px;
|
|
648
|
+
border-left: none;
|
|
649
|
+
border-top: none;
|
|
650
|
+
border-bottom: 1px solid var(--profiler-border);
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
#profiler-panel.position-right.no-tabs .profiler-content-wrapper,
|
|
654
|
+
#profiler-panel.position-left.no-tabs .profiler-content-wrapper {
|
|
655
|
+
display: none;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
#profiler-panel.position-right.no-tabs .profiler-tabs,
|
|
659
|
+
#profiler-panel.position-left.no-tabs .profiler-tabs {
|
|
660
|
+
display: none;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
#profiler-panel.position-right.no-tabs .panel-resizer,
|
|
664
|
+
#profiler-panel.position-left.no-tabs .panel-resizer {
|
|
665
|
+
display: none;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
/* Hide position toggle on mobile without tabs */
|
|
669
|
+
#profiler-panel.hide-position-toggle.position-right.no-tabs:not(.maximized),
|
|
670
|
+
#profiler-panel.hide-position-toggle.position-left.no-tabs:not(.maximized) {
|
|
671
|
+
width: 45px !important;
|
|
672
|
+
min-width: 45px !important;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
/* Hide drag indicator on mobile devices */
|
|
676
|
+
#profiler-panel.is-mobile .tab-btn.active::before {
|
|
677
|
+
display: none;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.profiler-header::-webkit-scrollbar {
|
|
681
|
+
width: 8px;
|
|
682
|
+
height: 8px;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
.profiler-header::-webkit-scrollbar-track {
|
|
686
|
+
background: transparent;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.profiler-header::-webkit-scrollbar-thumb {
|
|
690
|
+
background-color: rgba(0, 0, 0, 0.25);
|
|
691
|
+
border-radius: 10px;
|
|
692
|
+
transition: background 0.3s ease;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
.profiler-header::-webkit-scrollbar-thumb:hover {
|
|
696
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
697
|
+
}
|
|
698
|
+
|
|
699
|
+
.profiler-header::-webkit-scrollbar-corner {
|
|
700
|
+
background: transparent;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
#profiler-panel.dragging .profiler-header {
|
|
704
|
+
cursor: grabbing !important;
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
#profiler-panel.dragging {
|
|
708
|
+
opacity: 0.8;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.profiler-tabs {
|
|
712
|
+
display: flex;
|
|
713
|
+
cursor: grab;
|
|
714
|
+
position: relative;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
.profiler-tabs:active {
|
|
718
|
+
cursor: grabbing;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.profiler-tabs::-webkit-scrollbar {
|
|
722
|
+
width: 8px;
|
|
723
|
+
height: 8px;
|
|
136
724
|
}
|
|
137
725
|
|
|
138
|
-
.profiler-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
border-bottom: 1px solid var(--profiler-border);
|
|
142
|
-
flex-shrink: 0;
|
|
143
|
-
justify-content: space-between;
|
|
144
|
-
align-items: stretch;
|
|
726
|
+
.profiler-tabs::-webkit-scrollbar-track {
|
|
727
|
+
background: transparent;
|
|
728
|
+
}
|
|
145
729
|
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
730
|
+
.profiler-tabs::-webkit-scrollbar-thumb {
|
|
731
|
+
background-color: rgba(0, 0, 0, 0.25);
|
|
732
|
+
border-radius: 10px;
|
|
733
|
+
transition: background 0.3s ease;
|
|
150
734
|
}
|
|
151
735
|
|
|
152
|
-
.profiler-tabs {
|
|
153
|
-
|
|
736
|
+
.profiler-tabs::-webkit-scrollbar-thumb:hover {
|
|
737
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
.profiler-tabs::-webkit-scrollbar-corner {
|
|
741
|
+
background: transparent;
|
|
154
742
|
}
|
|
155
743
|
|
|
156
744
|
.profiler-controls {
|
|
@@ -164,24 +752,45 @@ export class Style {
|
|
|
164
752
|
}
|
|
165
753
|
|
|
166
754
|
.tab-btn {
|
|
755
|
+
position: relative;
|
|
167
756
|
background: transparent;
|
|
168
757
|
border: none;
|
|
169
758
|
/*border-right: 1px solid var(--profiler-border);*/
|
|
170
759
|
color: var(--text-secondary);
|
|
171
760
|
padding: 8px 18px;
|
|
172
|
-
cursor:
|
|
761
|
+
cursor: default;
|
|
173
762
|
display: flex;
|
|
174
763
|
align-items: center;
|
|
175
764
|
font-family: var(--font-family);
|
|
176
|
-
|
|
765
|
+
font-weight: 600;
|
|
177
766
|
font-size: 14px;
|
|
767
|
+
user-select: none;
|
|
768
|
+
transition: opacity 0.2s, transform 0.2s;
|
|
769
|
+
touch-action: pan-x;
|
|
178
770
|
}
|
|
179
771
|
|
|
180
772
|
.tab-btn.active {
|
|
181
|
-
|
|
773
|
+
border-bottom: 2px solid var(--accent-color);
|
|
182
774
|
color: white;
|
|
183
775
|
}
|
|
184
776
|
|
|
777
|
+
.tab-btn.active::before {
|
|
778
|
+
content: '⋮⋮';
|
|
779
|
+
position: absolute;
|
|
780
|
+
left: 3px;
|
|
781
|
+
top: calc(50% - .1rem);
|
|
782
|
+
transform: translateY(-50%);
|
|
783
|
+
color: var(--profiler-border);
|
|
784
|
+
font-size: 18px;
|
|
785
|
+
letter-spacing: -2px;
|
|
786
|
+
opacity: 0.6;
|
|
787
|
+
}
|
|
788
|
+
|
|
789
|
+
.tab-btn.no-detach.active::before {
|
|
790
|
+
display: none;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
#floating-btn,
|
|
185
794
|
#maximize-btn,
|
|
186
795
|
#hide-panel-btn {
|
|
187
796
|
background: transparent;
|
|
@@ -189,19 +798,40 @@ export class Style {
|
|
|
189
798
|
border-left: 1px solid var(--profiler-border);
|
|
190
799
|
color: var(--text-secondary);
|
|
191
800
|
width: 45px;
|
|
801
|
+
height: 100%;
|
|
192
802
|
cursor: pointer;
|
|
193
803
|
transition: all 0.2s;
|
|
194
804
|
display: flex;
|
|
195
805
|
align-items: center;
|
|
196
806
|
justify-content: center;
|
|
807
|
+
flex-shrink: 0;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
/* Disable transitions in vertical mode to avoid broken animations */
|
|
811
|
+
#profiler-panel.position-right #floating-btn,
|
|
812
|
+
#profiler-panel.position-right #maximize-btn,
|
|
813
|
+
#profiler-panel.position-right #hide-panel-btn,
|
|
814
|
+
#profiler-panel.position-left #floating-btn,
|
|
815
|
+
#profiler-panel.position-left #maximize-btn,
|
|
816
|
+
#profiler-panel.position-left #hide-panel-btn {
|
|
817
|
+
transition: background-color 0.2s, color 0.2s;
|
|
197
818
|
}
|
|
198
819
|
|
|
820
|
+
#floating-btn:hover,
|
|
199
821
|
#maximize-btn:hover,
|
|
200
822
|
#hide-panel-btn:hover {
|
|
201
823
|
background-color: rgba(255, 255, 255, 0.1);
|
|
202
824
|
color: var(--text-primary);
|
|
203
825
|
}
|
|
204
826
|
|
|
827
|
+
/* Hide maximize button when there are no tabs */
|
|
828
|
+
#profiler-panel.position-right.no-tabs #maximize-btn,
|
|
829
|
+
#profiler-panel.position-left.no-tabs #maximize-btn,
|
|
830
|
+
#profiler-panel.position-bottom.no-tabs #maximize-btn,
|
|
831
|
+
#profiler-panel.position-top.no-tabs #maximize-btn {
|
|
832
|
+
display: none !important;
|
|
833
|
+
}
|
|
834
|
+
|
|
205
835
|
.profiler-content-wrapper {
|
|
206
836
|
flex-grow: 1;
|
|
207
837
|
overflow: hidden;
|
|
@@ -222,6 +852,8 @@ export class Style {
|
|
|
222
852
|
box-sizing: border-box;
|
|
223
853
|
display: flex;
|
|
224
854
|
flex-direction: column;
|
|
855
|
+
user-select: none;
|
|
856
|
+
-webkit-user-select: none;
|
|
225
857
|
}
|
|
226
858
|
|
|
227
859
|
.profiler-content.active {
|
|
@@ -269,11 +901,23 @@ export class Style {
|
|
|
269
901
|
transition: background-color 0.2s;
|
|
270
902
|
gap: 10px;
|
|
271
903
|
border-bottom: none;
|
|
904
|
+
user-select: none;
|
|
905
|
+
-webkit-user-select: none;
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
.parameters .list-item-row {
|
|
909
|
+
min-height: 31px;
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
.mini-panel-content .parameters .list-item-row {
|
|
913
|
+
min-height: 21px;
|
|
272
914
|
}
|
|
273
915
|
|
|
274
916
|
.list-item-wrapper {
|
|
275
917
|
margin-top: 2px;
|
|
276
918
|
margin-bottom: 2px;
|
|
919
|
+
user-select: none;
|
|
920
|
+
-webkit-user-select: none;
|
|
277
921
|
}
|
|
278
922
|
|
|
279
923
|
.list-item-wrapper:first-child {
|
|
@@ -291,6 +935,7 @@ export class Style {
|
|
|
291
935
|
|
|
292
936
|
.list-item-wrapper.header-wrapper>.list-item-row>.list-item-cell:first-child {
|
|
293
937
|
font-weight: 600;
|
|
938
|
+
line-height: 1;
|
|
294
939
|
}
|
|
295
940
|
|
|
296
941
|
.list-item-row.collapsible,
|
|
@@ -300,6 +945,7 @@ export class Style {
|
|
|
300
945
|
|
|
301
946
|
.list-item-row.collapsible {
|
|
302
947
|
background-color: rgba(0, 170, 255, 0.15) !important;
|
|
948
|
+
min-height: 23px;
|
|
303
949
|
}
|
|
304
950
|
|
|
305
951
|
.list-item-row.collapsible.alert,
|
|
@@ -326,6 +972,8 @@ export class Style {
|
|
|
326
972
|
white-space: pre;
|
|
327
973
|
display: flex;
|
|
328
974
|
align-items: center;
|
|
975
|
+
user-select: none;
|
|
976
|
+
-webkit-user-select: none;
|
|
329
977
|
}
|
|
330
978
|
|
|
331
979
|
.list-item-cell:not(:first-child) {
|
|
@@ -343,6 +991,8 @@ export class Style {
|
|
|
343
991
|
border-bottom: 1px solid var(--profiler-border);
|
|
344
992
|
margin-bottom: 5px;
|
|
345
993
|
gap: 10px;
|
|
994
|
+
user-select: none;
|
|
995
|
+
-webkit-user-select: none;
|
|
346
996
|
}
|
|
347
997
|
|
|
348
998
|
.list-item-wrapper.section-start {
|
|
@@ -392,12 +1042,14 @@ export class Style {
|
|
|
392
1042
|
}
|
|
393
1043
|
|
|
394
1044
|
.list-scroll-wrapper {
|
|
395
|
-
|
|
396
|
-
width: 100%;
|
|
1045
|
+
width: max-content;
|
|
1046
|
+
min-width: 100%;
|
|
1047
|
+
display: flex;
|
|
1048
|
+
flex-direction: column;
|
|
1049
|
+
min-height: 100%;
|
|
397
1050
|
}
|
|
398
1051
|
|
|
399
1052
|
.list-container.parameters .list-item-row:not(.collapsible) {
|
|
400
|
-
height: 31px;
|
|
401
1053
|
}
|
|
402
1054
|
|
|
403
1055
|
.graph-container {
|
|
@@ -430,7 +1082,7 @@ export class Style {
|
|
|
430
1082
|
justify-content: space-between;
|
|
431
1083
|
}
|
|
432
1084
|
|
|
433
|
-
.console-
|
|
1085
|
+
.console-buttons-group {
|
|
434
1086
|
display: flex;
|
|
435
1087
|
gap: 20px;
|
|
436
1088
|
}
|
|
@@ -447,6 +1099,33 @@ export class Style {
|
|
|
447
1099
|
border-radius: 15px;
|
|
448
1100
|
}
|
|
449
1101
|
|
|
1102
|
+
.console-filter-input:focus {
|
|
1103
|
+
outline: none;
|
|
1104
|
+
border-color: var(--text-secondary);
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
.console-copy-button {
|
|
1108
|
+
background: transparent;
|
|
1109
|
+
border: none;
|
|
1110
|
+
color: var(--text-secondary);
|
|
1111
|
+
cursor: pointer;
|
|
1112
|
+
padding: 4px;
|
|
1113
|
+
display: flex;
|
|
1114
|
+
align-items: center;
|
|
1115
|
+
justify-content: center;
|
|
1116
|
+
border-radius: 4px;
|
|
1117
|
+
transition: color 0.2s, background-color 0.2s;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
.console-copy-button:hover {
|
|
1121
|
+
color: var(--text-primary);
|
|
1122
|
+
background-color: var(--profiler-hover);
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
.console-copy-button.copied {
|
|
1126
|
+
color: var(--color-green);
|
|
1127
|
+
}
|
|
1128
|
+
|
|
450
1129
|
#console-log {
|
|
451
1130
|
display: flex;
|
|
452
1131
|
flex-direction: column;
|
|
@@ -454,6 +1133,8 @@ export class Style {
|
|
|
454
1133
|
padding: 10px;
|
|
455
1134
|
overflow-y: auto;
|
|
456
1135
|
flex-grow: 1;
|
|
1136
|
+
user-select: text;
|
|
1137
|
+
-webkit-user-select: text;
|
|
457
1138
|
}
|
|
458
1139
|
|
|
459
1140
|
.log-message {
|
|
@@ -526,6 +1207,11 @@ export class Style {
|
|
|
526
1207
|
box-sizing: border-box;
|
|
527
1208
|
}
|
|
528
1209
|
|
|
1210
|
+
.param-control input:focus {
|
|
1211
|
+
outline: none;
|
|
1212
|
+
border-color: var(--accent-color);
|
|
1213
|
+
}
|
|
1214
|
+
|
|
529
1215
|
.param-control select {
|
|
530
1216
|
padding-top: 3px;
|
|
531
1217
|
padding-bottom: 1px;
|
|
@@ -558,6 +1244,7 @@ export class Style {
|
|
|
558
1244
|
align-items: center;
|
|
559
1245
|
cursor: pointer;
|
|
560
1246
|
gap: 8px;
|
|
1247
|
+
will-change: transform;
|
|
561
1248
|
}
|
|
562
1249
|
|
|
563
1250
|
.custom-checkbox input {
|
|
@@ -567,7 +1254,7 @@ export class Style {
|
|
|
567
1254
|
.custom-checkbox .checkmark {
|
|
568
1255
|
width: 14px;
|
|
569
1256
|
height: 14px;
|
|
570
|
-
border: 1px solid var(--
|
|
1257
|
+
border: 1px solid var(--accent-color);
|
|
571
1258
|
border-radius: 3px;
|
|
572
1259
|
display: inline-flex;
|
|
573
1260
|
justify-content: center;
|
|
@@ -577,8 +1264,8 @@ export class Style {
|
|
|
577
1264
|
|
|
578
1265
|
.custom-checkbox .checkmark::after {
|
|
579
1266
|
content: '';
|
|
580
|
-
width:
|
|
581
|
-
height:
|
|
1267
|
+
width: 6px;
|
|
1268
|
+
height: 6px;
|
|
582
1269
|
background-color: var(--accent-color);
|
|
583
1270
|
border-radius: 1px;
|
|
584
1271
|
display: block;
|
|
@@ -636,13 +1323,339 @@ export class Style {
|
|
|
636
1323
|
border: 1px solid var(--profiler-border);
|
|
637
1324
|
}
|
|
638
1325
|
|
|
639
|
-
|
|
1326
|
+
/* Override .param-control styles for mini-panel-content */
|
|
1327
|
+
.mini-panel-content input,
|
|
1328
|
+
.mini-panel-content select,
|
|
1329
|
+
.mini-panel-content button {
|
|
1330
|
+
padding: 2px 4px;
|
|
1331
|
+
height: 21px;
|
|
1332
|
+
line-height: 1.4;
|
|
1333
|
+
padding-top: 4px;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
.mini-panel-content .param-control input,
|
|
1337
|
+
.mini-panel-content .param-control select,
|
|
1338
|
+
.mini-panel-content .param-control button {
|
|
1339
|
+
background-color: #1e1e24c2;
|
|
1340
|
+
line-height: 1.0;
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
.mini-panel-content .param-control select {
|
|
1344
|
+
padding: 2px 2px;
|
|
1345
|
+
padding-top: 3px;
|
|
1346
|
+
}
|
|
1347
|
+
|
|
1348
|
+
.mini-panel-content .param-control input[type="number"]::-webkit-outer-spin-button,
|
|
1349
|
+
.mini-panel-content .param-control input[type="number"]::-webkit-inner-spin-button {
|
|
1350
|
+
-webkit-appearance: none;
|
|
1351
|
+
margin: 0;
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
.mini-panel-content .param-control input[type="number"] {
|
|
1355
|
+
-moz-appearance: textfield;
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
.mini-panel-content .list-item-cell span {
|
|
1359
|
+
position: relative;
|
|
1360
|
+
top: 1px;
|
|
1361
|
+
margin-left: 2px;
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
.mini-panel-content .custom-checkbox .checkmark {
|
|
1365
|
+
width: 12px;
|
|
1366
|
+
height: 12px;
|
|
1367
|
+
margin-bottom: 2px;
|
|
1368
|
+
will-change: transform;
|
|
1369
|
+
}
|
|
1370
|
+
|
|
1371
|
+
.mini-panel-content .list-container.parameters .list-item-row:not(.collapsible) {
|
|
1372
|
+
margin-bottom: 2px;
|
|
1373
|
+
}
|
|
1374
|
+
|
|
1375
|
+
@media screen and (max-width: 450px) and (orientation: portrait) {
|
|
640
1376
|
|
|
641
1377
|
.console-filter-input {
|
|
642
1378
|
max-width: 100px;
|
|
643
1379
|
}
|
|
644
1380
|
|
|
645
1381
|
}
|
|
1382
|
+
|
|
1383
|
+
/* Touch device optimizations */
|
|
1384
|
+
@media (hover: none) and (pointer: coarse) {
|
|
1385
|
+
|
|
1386
|
+
.panel-resizer {
|
|
1387
|
+
top: -10px !important;
|
|
1388
|
+
height: 20px !important;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
#profiler-panel.position-top .panel-resizer {
|
|
1392
|
+
top: auto !important;
|
|
1393
|
+
bottom: -10px !important;
|
|
1394
|
+
height: 20px !important;
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
#profiler-panel.position-left .panel-resizer {
|
|
1398
|
+
right: -10px !important;
|
|
1399
|
+
width: 20px !important;
|
|
1400
|
+
height: 100% !important;
|
|
1401
|
+
}
|
|
1402
|
+
|
|
1403
|
+
#profiler-panel.position-right .panel-resizer {
|
|
1404
|
+
left: -10px !important;
|
|
1405
|
+
width: 20px !important;
|
|
1406
|
+
height: 100% !important;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
.detached-tab-resizer-top,
|
|
1410
|
+
.detached-tab-resizer-bottom {
|
|
1411
|
+
height: 10px !important;
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
.detached-tab-resizer-left,
|
|
1415
|
+
.detached-tab-resizer-right {
|
|
1416
|
+
width: 10px !important;
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
.drag-preview-indicator {
|
|
1422
|
+
position: fixed;
|
|
1423
|
+
background-color: rgba(0, 170, 255, 0.2);
|
|
1424
|
+
border: 2px dashed var(--accent-color);
|
|
1425
|
+
z-index: 999;
|
|
1426
|
+
pointer-events: none;
|
|
1427
|
+
transition: all 0.2s ease-out;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
/* Detached Tab Windows */
|
|
1431
|
+
.detached-tab-panel {
|
|
1432
|
+
position: fixed;
|
|
1433
|
+
width: 500px;
|
|
1434
|
+
height: 400px;
|
|
1435
|
+
background: var(--profiler-bg);
|
|
1436
|
+
border: 1px solid var(--profiler-border);
|
|
1437
|
+
border-radius: 8px;
|
|
1438
|
+
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
|
|
1439
|
+
z-index: 1002;
|
|
1440
|
+
display: flex;
|
|
1441
|
+
flex-direction: column;
|
|
1442
|
+
backdrop-filter: blur(10px);
|
|
1443
|
+
overflow: hidden;
|
|
1444
|
+
opacity: 1;
|
|
1445
|
+
visibility: visible;
|
|
1446
|
+
transition: opacity 0.2s, visibility 0.2s;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
#profiler-panel:not(.visible) ~ * .detached-tab-panel,
|
|
1450
|
+
body:has(#profiler-panel:not(.visible)) .detached-tab-panel {
|
|
1451
|
+
opacity: 0;
|
|
1452
|
+
visibility: hidden;
|
|
1453
|
+
pointer-events: none;
|
|
1454
|
+
}
|
|
1455
|
+
|
|
1456
|
+
.detached-tab-header {
|
|
1457
|
+
background: var(--profiler-header-bg);
|
|
1458
|
+
padding: 0 7px 0 15px;
|
|
1459
|
+
font-family: var(--font-family);
|
|
1460
|
+
font-size: 14px;
|
|
1461
|
+
color: var(--text-primary);
|
|
1462
|
+
font-weight: 600;
|
|
1463
|
+
display: flex;
|
|
1464
|
+
justify-content: space-between;
|
|
1465
|
+
align-items: center;
|
|
1466
|
+
border-bottom: 1px solid var(--profiler-border);
|
|
1467
|
+
cursor: grab;
|
|
1468
|
+
user-select: none;
|
|
1469
|
+
height: 38px;
|
|
1470
|
+
flex-shrink: 0;
|
|
1471
|
+
-webkit-font-smoothing: antialiased;
|
|
1472
|
+
-moz-osx-font-smoothing: grayscale;
|
|
1473
|
+
touch-action: none;
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
.detached-tab-header:active {
|
|
1477
|
+
cursor: grabbing;
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
.detached-header-controls {
|
|
1481
|
+
display: flex;
|
|
1482
|
+
gap: 5px;
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
.detached-reattach-btn {
|
|
1486
|
+
background: transparent;
|
|
1487
|
+
border: none;
|
|
1488
|
+
color: var(--text-secondary);
|
|
1489
|
+
font-family: var(--font-family);
|
|
1490
|
+
font-size: 18px;
|
|
1491
|
+
line-height: 1;
|
|
1492
|
+
cursor: pointer;
|
|
1493
|
+
padding: 4px 8px;
|
|
1494
|
+
border-radius: 4px;
|
|
1495
|
+
transition: all 0.2s;
|
|
1496
|
+
display: flex;
|
|
1497
|
+
align-items: center;
|
|
1498
|
+
justify-content: center;
|
|
1499
|
+
-webkit-font-smoothing: antialiased;
|
|
1500
|
+
-moz-osx-font-smoothing: grayscale;
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
.detached-reattach-btn:hover {
|
|
1504
|
+
background: rgba(0, 170, 255, 0.2);
|
|
1505
|
+
color: var(--accent-color);
|
|
1506
|
+
}
|
|
1507
|
+
|
|
1508
|
+
.detached-tab-content {
|
|
1509
|
+
flex: 1;
|
|
1510
|
+
overflow: auto;
|
|
1511
|
+
position: relative;
|
|
1512
|
+
background: var(--profiler-bg);
|
|
1513
|
+
}
|
|
1514
|
+
|
|
1515
|
+
.detached-tab-content::-webkit-scrollbar {
|
|
1516
|
+
width: 8px;
|
|
1517
|
+
height: 8px;
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
.detached-tab-content::-webkit-scrollbar-track {
|
|
1521
|
+
background: transparent;
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
.detached-tab-content::-webkit-scrollbar-thumb {
|
|
1525
|
+
background-color: rgba(0, 0, 0, 0.25);
|
|
1526
|
+
border-radius: 10px;
|
|
1527
|
+
transition: background 0.3s ease;
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
.detached-tab-content::-webkit-scrollbar-thumb:hover {
|
|
1531
|
+
background-color: rgba(0, 0, 0, 0.4);
|
|
1532
|
+
}
|
|
1533
|
+
|
|
1534
|
+
.detached-tab-content::-webkit-scrollbar-corner {
|
|
1535
|
+
background: transparent;
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
.detached-tab-content .profiler-content {
|
|
1539
|
+
display: block !important;
|
|
1540
|
+
height: 100%;
|
|
1541
|
+
visibility: visible !important;
|
|
1542
|
+
opacity: 1 !important;
|
|
1543
|
+
position: relative !important;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
.detached-tab-content .profiler-content > * {
|
|
1547
|
+
font-family: var(--font-mono);
|
|
1548
|
+
color: var(--text-primary);
|
|
1549
|
+
}
|
|
1550
|
+
|
|
1551
|
+
.detached-tab-resizer {
|
|
1552
|
+
position: absolute;
|
|
1553
|
+
bottom: 0;
|
|
1554
|
+
right: 0;
|
|
1555
|
+
width: 20px;
|
|
1556
|
+
height: 20px;
|
|
1557
|
+
cursor: nwse-resize;
|
|
1558
|
+
z-index: 10;
|
|
1559
|
+
touch-action: none;
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
.detached-tab-resizer::after {
|
|
1563
|
+
content: '';
|
|
1564
|
+
position: absolute;
|
|
1565
|
+
bottom: 2px;
|
|
1566
|
+
right: 2px;
|
|
1567
|
+
width: 12px;
|
|
1568
|
+
height: 12px;
|
|
1569
|
+
border-right: 2px solid var(--profiler-border);
|
|
1570
|
+
border-bottom: 2px solid var(--profiler-border);
|
|
1571
|
+
border-bottom-right-radius: 6px;
|
|
1572
|
+
opacity: 0.5;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
.detached-tab-resizer:hover::after {
|
|
1576
|
+
opacity: 1;
|
|
1577
|
+
border-color: var(--accent-color);
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
/* Edge resizers */
|
|
1581
|
+
.detached-tab-resizer-top {
|
|
1582
|
+
position: absolute;
|
|
1583
|
+
top: 0;
|
|
1584
|
+
left: 0;
|
|
1585
|
+
right: 0;
|
|
1586
|
+
height: 5px;
|
|
1587
|
+
cursor: ns-resize;
|
|
1588
|
+
z-index: 10;
|
|
1589
|
+
touch-action: none;
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
.detached-tab-resizer-right {
|
|
1593
|
+
position: absolute;
|
|
1594
|
+
top: 0;
|
|
1595
|
+
right: 0;
|
|
1596
|
+
bottom: 0;
|
|
1597
|
+
width: 5px;
|
|
1598
|
+
cursor: ew-resize;
|
|
1599
|
+
z-index: 10;
|
|
1600
|
+
touch-action: none;
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
.detached-tab-resizer-bottom {
|
|
1604
|
+
position: absolute;
|
|
1605
|
+
bottom: 0;
|
|
1606
|
+
left: 0;
|
|
1607
|
+
right: 0;
|
|
1608
|
+
height: 5px;
|
|
1609
|
+
cursor: ns-resize;
|
|
1610
|
+
z-index: 10;
|
|
1611
|
+
touch-action: none;
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
.detached-tab-resizer-left {
|
|
1615
|
+
position: absolute;
|
|
1616
|
+
top: 0;
|
|
1617
|
+
left: 0;
|
|
1618
|
+
bottom: 0;
|
|
1619
|
+
width: 5px;
|
|
1620
|
+
cursor: ew-resize;
|
|
1621
|
+
z-index: 10;
|
|
1622
|
+
touch-action: none;
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
/* Input number spin buttons - hide arrows */
|
|
1626
|
+
/* Chrome, Safari, Edge, Opera */
|
|
1627
|
+
#profiler-panel input[type="number"]::-webkit-outer-spin-button,
|
|
1628
|
+
#profiler-panel input[type="number"]::-webkit-inner-spin-button,
|
|
1629
|
+
.detached-tab-content input[type="number"]::-webkit-outer-spin-button,
|
|
1630
|
+
.detached-tab-content input[type="number"]::-webkit-inner-spin-button {
|
|
1631
|
+
-webkit-appearance: none;
|
|
1632
|
+
margin: 0;
|
|
1633
|
+
}
|
|
1634
|
+
|
|
1635
|
+
/* Firefox */
|
|
1636
|
+
#profiler-panel input[type="number"],
|
|
1637
|
+
.detached-tab-content input[type="number"] {
|
|
1638
|
+
-moz-appearance: textfield;
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
.panel-action-btn {
|
|
1642
|
+
background: transparent;
|
|
1643
|
+
color: var(--text-primary);
|
|
1644
|
+
border: 1px solid var(--profiler-border);
|
|
1645
|
+
border-radius: 4px;
|
|
1646
|
+
padding: 6px 12px;
|
|
1647
|
+
cursor: pointer;
|
|
1648
|
+
font-family: var(--font-family);
|
|
1649
|
+
font-size: 12px;
|
|
1650
|
+
transition: background-color 0.2s;
|
|
1651
|
+
display: flex;
|
|
1652
|
+
align-items: center;
|
|
1653
|
+
justify-content: center;
|
|
1654
|
+
}
|
|
1655
|
+
|
|
1656
|
+
.panel-action-btn:hover {
|
|
1657
|
+
background-color: rgba(255, 255, 255, 0.05);
|
|
1658
|
+
}
|
|
646
1659
|
`;
|
|
647
1660
|
const styleElement = document.createElement( 'style' );
|
|
648
1661
|
styleElement.id = 'profiler-styles';
|