@ohuoy/easymap 1.0.0 → 1.0.2
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/index.js +2 -2
- package/lib/@antv/async-hook/LICENSE +21 -0
- package/lib/@antv/async-hook/README.md +97 -0
- package/lib/@antv/async-hook/es/index.js +1671 -0
- package/lib/@antv/async-hook/es/index.js.map +1 -0
- package/lib/@antv/async-hook/lib/index.js +1681 -0
- package/lib/@antv/async-hook/lib/index.js.map +1 -0
- package/lib/@antv/async-hook/package.json +48 -0
- package/lib/@antv/async-hook/types/src/core/AsyncParallelHook.d.ts +7 -0
- package/lib/@antv/async-hook/types/src/core/AsyncSeriesBailhook.d.ts +8 -0
- package/lib/@antv/async-hook/types/src/core/AsyncSeriesHook.d.ts +8 -0
- package/lib/@antv/async-hook/types/src/core/AsyncWaterfallHook.d.ts +7 -0
- package/lib/@antv/async-hook/types/src/core/IHook.d.ts +5 -0
- package/lib/@antv/async-hook/types/src/core/SyncBailHook.d.ts +7 -0
- package/lib/@antv/async-hook/types/src/core/SyncHook.d.ts +8 -0
- package/lib/@antv/async-hook/types/src/core/SyncWaterfallHook.d.ts +7 -0
- package/lib/@antv/async-hook/types/src/index.d.ts +7 -0
- package/lib/@antv/g-device-api/README.md +1442 -0
- package/lib/@antv/g-device-api/dist/api/constants.d.ts +622 -0
- package/lib/@antv/g-device-api/dist/api/format.d.ts +125 -0
- package/lib/@antv/g-device-api/dist/api/index.d.ts +4 -0
- package/lib/@antv/g-device-api/dist/api/interfaces.d.ts +665 -0
- package/lib/@antv/g-device-api/dist/api/utils/assert.d.ts +2 -0
- package/lib/@antv/g-device-api/dist/api/utils/color.d.ts +9 -0
- package/lib/@antv/g-device-api/dist/api/utils/depth.d.ts +12 -0
- package/lib/@antv/g-device-api/dist/api/utils/hash.d.ts +21 -0
- package/lib/@antv/g-device-api/dist/api/utils/index.d.ts +7 -0
- package/lib/@antv/g-device-api/dist/api/utils/states.d.ts +34 -0
- package/lib/@antv/g-device-api/dist/api/utils/typedarray.d.ts +2 -0
- package/lib/@antv/g-device-api/dist/api/utils/uniform.d.ts +50 -0
- package/lib/@antv/g-device-api/dist/index.d.ts +4 -0
- package/lib/@antv/g-device-api/dist/index.umd.min.js +2 -0
- package/lib/@antv/g-device-api/dist/index.umd.min.js.map +1 -0
- package/lib/@antv/g-device-api/dist/pkg/glsl_wgsl_compiler.d.ts +62 -0
- package/lib/@antv/g-device-api/dist/pkg/glsl_wgsl_compiler.js +340 -0
- package/lib/@antv/g-device-api/dist/pkg/glsl_wgsl_compiler_bg.wasm +0 -0
- package/lib/@antv/g-device-api/dist/pkg/glsl_wgsl_compiler_bg.wasm.d.ts +12 -0
- package/lib/@antv/g-device-api/dist/pkg/package.json +17 -0
- package/lib/@antv/g-device-api/dist/shader/compiler.d.ts +15 -0
- package/lib/@antv/g-device-api/dist/shader/index.d.ts +1 -0
- package/lib/@antv/g-device-api/dist/webgl/Bindings.d.ts +27 -0
- package/lib/@antv/g-device-api/dist/webgl/Buffer.d.ts +20 -0
- package/lib/@antv/g-device-api/dist/webgl/ComputePass.d.ts +13 -0
- package/lib/@antv/g-device-api/dist/webgl/ComputePipeline.d.ts +13 -0
- package/lib/@antv/g-device-api/dist/webgl/Device.d.ts +216 -0
- package/lib/@antv/g-device-api/dist/webgl/InputLayout.d.ts +20 -0
- package/lib/@antv/g-device-api/dist/webgl/Program.d.ts +37 -0
- package/lib/@antv/g-device-api/dist/webgl/QueryPool.d.ts +19 -0
- package/lib/@antv/g-device-api/dist/webgl/Readback.d.ts +22 -0
- package/lib/@antv/g-device-api/dist/webgl/RenderBundle.d.ts +8 -0
- package/lib/@antv/g-device-api/dist/webgl/RenderPipeline.d.ts +21 -0
- package/lib/@antv/g-device-api/dist/webgl/RenderTarget.d.ts +19 -0
- package/lib/@antv/g-device-api/dist/webgl/ResourceBase.d.ts +13 -0
- package/lib/@antv/g-device-api/dist/webgl/ResourceCreationTracker.d.ts +10 -0
- package/lib/@antv/g-device-api/dist/webgl/Sampler.d.ts +21 -0
- package/lib/@antv/g-device-api/dist/webgl/Texture.d.ts +35 -0
- package/lib/@antv/g-device-api/dist/webgl/WebGLDeviceContribution.d.ts +20 -0
- package/lib/@antv/g-device-api/dist/webgl/interfaces.d.ts +33 -0
- package/lib/@antv/g-device-api/dist/webgl/utils.d.ts +25 -0
- package/lib/@antv/g-device-api/dist/webgpu/Bindings.d.ts +16 -0
- package/lib/@antv/g-device-api/dist/webgpu/Buffer.d.ts +25 -0
- package/lib/@antv/g-device-api/dist/webgpu/ComputePass.d.ts +25 -0
- package/lib/@antv/g-device-api/dist/webgpu/ComputePipeline.d.ts +16 -0
- package/lib/@antv/g-device-api/dist/webgpu/Device.d.ts +84 -0
- package/lib/@antv/g-device-api/dist/webgpu/InputLayout.d.ts +15 -0
- package/lib/@antv/g-device-api/dist/webgpu/Program.d.ts +19 -0
- package/lib/@antv/g-device-api/dist/webgpu/QueryPool.d.ts +22 -0
- package/lib/@antv/g-device-api/dist/webgpu/Readback.d.ts +15 -0
- package/lib/@antv/g-device-api/dist/webgpu/RenderBundle.d.ts +19 -0
- package/lib/@antv/g-device-api/dist/webgpu/RenderPass.d.ts +54 -0
- package/lib/@antv/g-device-api/dist/webgpu/RenderPipeline.d.ts +17 -0
- package/lib/@antv/g-device-api/dist/webgpu/ResourceBase.d.ts +14 -0
- package/lib/@antv/g-device-api/dist/webgpu/Sampler.d.ts +14 -0
- package/lib/@antv/g-device-api/dist/webgpu/Texture.d.ts +35 -0
- package/lib/@antv/g-device-api/dist/webgpu/WebGPUDeviceContribution.d.ts +12 -0
- package/lib/@antv/g-device-api/dist/webgpu/constants.d.ts +16 -0
- package/lib/@antv/g-device-api/dist/webgpu/interfaces.d.ts +34 -0
- package/lib/@antv/g-device-api/dist/webgpu/utils.d.ts +74 -0
- package/lib/@antv/g-device-api/es/api/constants.d.ts +622 -0
- package/lib/@antv/g-device-api/es/api/format.d.ts +125 -0
- package/lib/@antv/g-device-api/es/api/index.d.ts +4 -0
- package/lib/@antv/g-device-api/es/api/interfaces.d.ts +665 -0
- package/lib/@antv/g-device-api/es/api/utils/assert.d.ts +2 -0
- package/lib/@antv/g-device-api/es/api/utils/color.d.ts +9 -0
- package/lib/@antv/g-device-api/es/api/utils/depth.d.ts +12 -0
- package/lib/@antv/g-device-api/es/api/utils/hash.d.ts +21 -0
- package/lib/@antv/g-device-api/es/api/utils/index.d.ts +7 -0
- package/lib/@antv/g-device-api/es/api/utils/states.d.ts +34 -0
- package/lib/@antv/g-device-api/es/api/utils/typedarray.d.ts +2 -0
- package/lib/@antv/g-device-api/es/api/utils/uniform.d.ts +50 -0
- package/lib/@antv/g-device-api/es/index.d.ts +4 -0
- package/lib/@antv/g-device-api/es/index.js +8345 -0
- package/lib/@antv/g-device-api/es/index.js.map +1 -0
- package/lib/@antv/g-device-api/es/shader/compiler.d.ts +15 -0
- package/lib/@antv/g-device-api/es/shader/index.d.ts +1 -0
- package/lib/@antv/g-device-api/es/webgl/Bindings.d.ts +27 -0
- package/lib/@antv/g-device-api/es/webgl/Buffer.d.ts +20 -0
- package/lib/@antv/g-device-api/es/webgl/ComputePass.d.ts +13 -0
- package/lib/@antv/g-device-api/es/webgl/ComputePipeline.d.ts +13 -0
- package/lib/@antv/g-device-api/es/webgl/Device.d.ts +216 -0
- package/lib/@antv/g-device-api/es/webgl/InputLayout.d.ts +20 -0
- package/lib/@antv/g-device-api/es/webgl/Program.d.ts +37 -0
- package/lib/@antv/g-device-api/es/webgl/QueryPool.d.ts +19 -0
- package/lib/@antv/g-device-api/es/webgl/Readback.d.ts +22 -0
- package/lib/@antv/g-device-api/es/webgl/RenderBundle.d.ts +8 -0
- package/lib/@antv/g-device-api/es/webgl/RenderPipeline.d.ts +21 -0
- package/lib/@antv/g-device-api/es/webgl/RenderTarget.d.ts +19 -0
- package/lib/@antv/g-device-api/es/webgl/ResourceBase.d.ts +13 -0
- package/lib/@antv/g-device-api/es/webgl/ResourceCreationTracker.d.ts +10 -0
- package/lib/@antv/g-device-api/es/webgl/Sampler.d.ts +21 -0
- package/lib/@antv/g-device-api/es/webgl/Texture.d.ts +35 -0
- package/lib/@antv/g-device-api/es/webgl/WebGLDeviceContribution.d.ts +20 -0
- package/lib/@antv/g-device-api/es/webgl/interfaces.d.ts +33 -0
- package/lib/@antv/g-device-api/es/webgl/utils.d.ts +25 -0
- package/lib/@antv/g-device-api/es/webgpu/Bindings.d.ts +16 -0
- package/lib/@antv/g-device-api/es/webgpu/Buffer.d.ts +25 -0
- package/lib/@antv/g-device-api/es/webgpu/ComputePass.d.ts +25 -0
- package/lib/@antv/g-device-api/es/webgpu/ComputePipeline.d.ts +16 -0
- package/lib/@antv/g-device-api/es/webgpu/Device.d.ts +84 -0
- package/lib/@antv/g-device-api/es/webgpu/InputLayout.d.ts +15 -0
- package/lib/@antv/g-device-api/es/webgpu/Program.d.ts +19 -0
- package/lib/@antv/g-device-api/es/webgpu/QueryPool.d.ts +22 -0
- package/lib/@antv/g-device-api/es/webgpu/Readback.d.ts +15 -0
- package/lib/@antv/g-device-api/es/webgpu/RenderBundle.d.ts +19 -0
- package/lib/@antv/g-device-api/es/webgpu/RenderPass.d.ts +54 -0
- package/lib/@antv/g-device-api/es/webgpu/RenderPipeline.d.ts +17 -0
- package/lib/@antv/g-device-api/es/webgpu/ResourceBase.d.ts +14 -0
- package/lib/@antv/g-device-api/es/webgpu/Sampler.d.ts +14 -0
- package/lib/@antv/g-device-api/es/webgpu/Texture.d.ts +35 -0
- package/lib/@antv/g-device-api/es/webgpu/WebGPUDeviceContribution.d.ts +12 -0
- package/lib/@antv/g-device-api/es/webgpu/constants.d.ts +16 -0
- package/lib/@antv/g-device-api/es/webgpu/interfaces.d.ts +34 -0
- package/lib/@antv/g-device-api/es/webgpu/utils.d.ts +74 -0
- package/lib/@antv/g-device-api/lib/api/constants.d.ts +622 -0
- package/lib/@antv/g-device-api/lib/api/format.d.ts +125 -0
- package/lib/@antv/g-device-api/lib/api/index.d.ts +4 -0
- package/lib/@antv/g-device-api/lib/api/interfaces.d.ts +665 -0
- package/lib/@antv/g-device-api/lib/api/utils/assert.d.ts +2 -0
- package/lib/@antv/g-device-api/lib/api/utils/color.d.ts +9 -0
- package/lib/@antv/g-device-api/lib/api/utils/depth.d.ts +12 -0
- package/lib/@antv/g-device-api/lib/api/utils/hash.d.ts +21 -0
- package/lib/@antv/g-device-api/lib/api/utils/index.d.ts +7 -0
- package/lib/@antv/g-device-api/lib/api/utils/states.d.ts +34 -0
- package/lib/@antv/g-device-api/lib/api/utils/typedarray.d.ts +2 -0
- package/lib/@antv/g-device-api/lib/api/utils/uniform.d.ts +50 -0
- package/lib/@antv/g-device-api/lib/index.d.ts +4 -0
- package/lib/@antv/g-device-api/lib/index.js +8427 -0
- package/lib/@antv/g-device-api/lib/index.js.map +1 -0
- package/lib/@antv/g-device-api/lib/shader/compiler.d.ts +15 -0
- package/lib/@antv/g-device-api/lib/shader/index.d.ts +1 -0
- package/lib/@antv/g-device-api/lib/webgl/Bindings.d.ts +27 -0
- package/lib/@antv/g-device-api/lib/webgl/Buffer.d.ts +20 -0
- package/lib/@antv/g-device-api/lib/webgl/ComputePass.d.ts +13 -0
- package/lib/@antv/g-device-api/lib/webgl/ComputePipeline.d.ts +13 -0
- package/lib/@antv/g-device-api/lib/webgl/Device.d.ts +216 -0
- package/lib/@antv/g-device-api/lib/webgl/InputLayout.d.ts +20 -0
- package/lib/@antv/g-device-api/lib/webgl/Program.d.ts +37 -0
- package/lib/@antv/g-device-api/lib/webgl/QueryPool.d.ts +19 -0
- package/lib/@antv/g-device-api/lib/webgl/Readback.d.ts +22 -0
- package/lib/@antv/g-device-api/lib/webgl/RenderBundle.d.ts +8 -0
- package/lib/@antv/g-device-api/lib/webgl/RenderPipeline.d.ts +21 -0
- package/lib/@antv/g-device-api/lib/webgl/RenderTarget.d.ts +19 -0
- package/lib/@antv/g-device-api/lib/webgl/ResourceBase.d.ts +13 -0
- package/lib/@antv/g-device-api/lib/webgl/ResourceCreationTracker.d.ts +10 -0
- package/lib/@antv/g-device-api/lib/webgl/Sampler.d.ts +21 -0
- package/lib/@antv/g-device-api/lib/webgl/Texture.d.ts +35 -0
- package/lib/@antv/g-device-api/lib/webgl/WebGLDeviceContribution.d.ts +20 -0
- package/lib/@antv/g-device-api/lib/webgl/interfaces.d.ts +33 -0
- package/lib/@antv/g-device-api/lib/webgl/utils.d.ts +25 -0
- package/lib/@antv/g-device-api/lib/webgpu/Bindings.d.ts +16 -0
- package/lib/@antv/g-device-api/lib/webgpu/Buffer.d.ts +25 -0
- package/lib/@antv/g-device-api/lib/webgpu/ComputePass.d.ts +25 -0
- package/lib/@antv/g-device-api/lib/webgpu/ComputePipeline.d.ts +16 -0
- package/lib/@antv/g-device-api/lib/webgpu/Device.d.ts +84 -0
- package/lib/@antv/g-device-api/lib/webgpu/InputLayout.d.ts +15 -0
- package/lib/@antv/g-device-api/lib/webgpu/Program.d.ts +19 -0
- package/lib/@antv/g-device-api/lib/webgpu/QueryPool.d.ts +22 -0
- package/lib/@antv/g-device-api/lib/webgpu/Readback.d.ts +15 -0
- package/lib/@antv/g-device-api/lib/webgpu/RenderBundle.d.ts +19 -0
- package/lib/@antv/g-device-api/lib/webgpu/RenderPass.d.ts +54 -0
- package/lib/@antv/g-device-api/lib/webgpu/RenderPipeline.d.ts +17 -0
- package/lib/@antv/g-device-api/lib/webgpu/ResourceBase.d.ts +14 -0
- package/lib/@antv/g-device-api/lib/webgpu/Sampler.d.ts +14 -0
- package/lib/@antv/g-device-api/lib/webgpu/Texture.d.ts +35 -0
- package/lib/@antv/g-device-api/lib/webgpu/WebGPUDeviceContribution.d.ts +12 -0
- package/lib/@antv/g-device-api/lib/webgpu/constants.d.ts +16 -0
- package/lib/@antv/g-device-api/lib/webgpu/interfaces.d.ts +34 -0
- package/lib/@antv/g-device-api/lib/webgpu/utils.d.ts +74 -0
- package/lib/@antv/g-device-api/package.json +128 -0
- package/lib/@antv/g-device-api/rust/Cargo.lock +464 -0
- package/lib/@antv/g-device-api/rust/Cargo.toml +23 -0
- package/lib/@antv/g-device-api/rust/pkg/glsl_wgsl_compiler.d.ts +62 -0
- package/lib/@antv/g-device-api/rust/pkg/glsl_wgsl_compiler.js +340 -0
- package/lib/@antv/g-device-api/rust/pkg/glsl_wgsl_compiler_bg.wasm +0 -0
- package/lib/@antv/g-device-api/rust/pkg/glsl_wgsl_compiler_bg.wasm.d.ts +12 -0
- package/lib/@antv/g-device-api/rust/pkg/package.json +17 -0
- package/lib/@antv/g-device-api/rust/src/lib.rs +130 -0
- package/lib/@antv/l7/LICENSE.md +21 -0
- package/lib/@antv/l7/README.en-US.md +98 -0
- package/lib/@antv/l7/README.md +131 -0
- package/lib/@antv/l7/dist/l7.js +1 -0
- package/lib/@antv/l7/es/index.d.ts +9 -0
- package/lib/@antv/l7/es/index.js +12 -0
- package/lib/@antv/l7/es/version.d.ts +2 -0
- package/lib/@antv/l7/es/version.js +5 -0
- package/lib/@antv/l7/lib/index.d.ts +9 -0
- package/lib/@antv/l7/lib/index.js +54 -0
- package/lib/@antv/l7/lib/version.d.ts +2 -0
- package/lib/@antv/l7/lib/version.js +29 -0
- package/lib/@antv/l7/package.json +40 -0
- package/lib/@antv/l7-component/LICENSE.md +21 -0
- package/lib/@antv/l7-component/es/assets/iconfont/iconfont.js +46 -0
- package/lib/@antv/l7-component/es/constants/index.d.ts +60 -0
- package/lib/@antv/l7-component/es/constants/index.js +60 -0
- package/lib/@antv/l7-component/es/control/baseControl/buttonControl.d.ts +60 -0
- package/lib/@antv/l7-component/es/control/baseControl/buttonControl.js +142 -0
- package/lib/@antv/l7-component/es/control/baseControl/control.d.ts +112 -0
- package/lib/@antv/l7-component/es/control/baseControl/control.js +256 -0
- package/lib/@antv/l7-component/es/control/baseControl/index.d.ts +4 -0
- package/lib/@antv/l7-component/es/control/baseControl/index.js +4 -0
- package/lib/@antv/l7-component/es/control/baseControl/popperControl.d.ts +28 -0
- package/lib/@antv/l7-component/es/control/baseControl/popperControl.js +92 -0
- package/lib/@antv/l7-component/es/control/baseControl/selectControl.d.ts +53 -0
- package/lib/@antv/l7-component/es/control/baseControl/selectControl.js +173 -0
- package/lib/@antv/l7-component/es/control/exportImage.d.ts +19 -0
- package/lib/@antv/l7-component/es/control/exportImage.js +73 -0
- package/lib/@antv/l7-component/es/control/fullscreen.d.ts +20 -0
- package/lib/@antv/l7-component/es/control/fullscreen.js +88 -0
- package/lib/@antv/l7-component/es/control/geoLocate.d.ts +17 -0
- package/lib/@antv/l7-component/es/control/geoLocate.js +60 -0
- package/lib/@antv/l7-component/es/control/layerSwitch.d.ts +27 -0
- package/lib/@antv/l7-component/es/control/layerSwitch.js +151 -0
- package/lib/@antv/l7-component/es/control/logo.d.ts +14 -0
- package/lib/@antv/l7-component/es/control/logo.js +49 -0
- package/lib/@antv/l7-component/es/control/mapTheme.d.ts +11 -0
- package/lib/@antv/l7-component/es/control/mapTheme.js +69 -0
- package/lib/@antv/l7-component/es/control/mouseLocation.d.ts +16 -0
- package/lib/@antv/l7-component/es/control/mouseLocation.js +51 -0
- package/lib/@antv/l7-component/es/control/scale.d.ts +35 -0
- package/lib/@antv/l7-component/es/control/scale.js +121 -0
- package/lib/@antv/l7-component/es/control/swipe.d.ts +66 -0
- package/lib/@antv/l7-component/es/control/swipe.js +392 -0
- package/lib/@antv/l7-component/es/control/zoom.d.ts +39 -0
- package/lib/@antv/l7-component/es/control/zoom.js +100 -0
- package/lib/@antv/l7-component/es/css/button.less +70 -0
- package/lib/@antv/l7-component/es/css/control.less +75 -0
- package/lib/@antv/l7-component/es/css/index.css +672 -0
- package/lib/@antv/l7-component/es/css/index.less +13 -0
- package/lib/@antv/l7-component/es/css/l7.less +66 -0
- package/lib/@antv/l7-component/es/css/layerPopup.less +8 -0
- package/lib/@antv/l7-component/es/css/logo.less +18 -0
- package/lib/@antv/l7-component/es/css/mouseLocation.less +9 -0
- package/lib/@antv/l7-component/es/css/popper.less +64 -0
- package/lib/@antv/l7-component/es/css/popup.less +185 -0
- package/lib/@antv/l7-component/es/css/scale.less +34 -0
- package/lib/@antv/l7-component/es/css/select.less +85 -0
- package/lib/@antv/l7-component/es/css/swipe.less +80 -0
- package/lib/@antv/l7-component/es/css/variables.less +29 -0
- package/lib/@antv/l7-component/es/css/zoom.less +29 -0
- package/lib/@antv/l7-component/es/images/layers.png +0 -0
- package/lib/@antv/l7-component/es/images/layers.svg +1 -0
- package/lib/@antv/l7-component/es/images/logo.png +0 -0
- package/lib/@antv/l7-component/es/images/quanping.svg +12 -0
- package/lib/@antv/l7-component/es/index.d.ts +19 -0
- package/lib/@antv/l7-component/es/index.js +724 -0
- package/lib/@antv/l7-component/es/interface.d.ts +18 -0
- package/lib/@antv/l7-component/es/interface.js +1 -0
- package/lib/@antv/l7-component/es/marker-layer.d.ts +55 -0
- package/lib/@antv/l7-component/es/marker-layer.js +312 -0
- package/lib/@antv/l7-component/es/marker.d.ts +58 -0
- package/lib/@antv/l7-component/es/marker.js +462 -0
- package/lib/@antv/l7-component/es/popup/layerPopup.d.ts +99 -0
- package/lib/@antv/l7-component/es/popup/layerPopup.js +324 -0
- package/lib/@antv/l7-component/es/popup/popup.d.ts +142 -0
- package/lib/@antv/l7-component/es/popup/popup.js +570 -0
- package/lib/@antv/l7-component/es/utils/anchor.d.ts +22 -0
- package/lib/@antv/l7-component/es/utils/anchor.js +31 -0
- package/lib/@antv/l7-component/es/utils/icon.d.ts +1 -0
- package/lib/@antv/l7-component/es/utils/icon.js +9 -0
- package/lib/@antv/l7-component/es/utils/popper.d.ts +76 -0
- package/lib/@antv/l7-component/es/utils/popper.js +249 -0
- package/lib/@antv/l7-component/es/utils/screenfull.d.ts +2 -0
- package/lib/@antv/l7-component/es/utils/screenfull.js +106 -0
- package/lib/@antv/l7-component/lib/assets/iconfont/iconfont.js +48 -0
- package/lib/@antv/l7-component/lib/constants/index.d.ts +60 -0
- package/lib/@antv/l7-component/lib/constants/index.js +66 -0
- package/lib/@antv/l7-component/lib/control/baseControl/buttonControl.d.ts +60 -0
- package/lib/@antv/l7-component/lib/control/baseControl/buttonControl.js +149 -0
- package/lib/@antv/l7-component/lib/control/baseControl/control.d.ts +112 -0
- package/lib/@antv/l7-component/lib/control/baseControl/control.js +269 -0
- package/lib/@antv/l7-component/lib/control/baseControl/index.d.ts +4 -0
- package/lib/@antv/l7-component/lib/control/baseControl/index.js +39 -0
- package/lib/@antv/l7-component/lib/control/baseControl/popperControl.d.ts +28 -0
- package/lib/@antv/l7-component/lib/control/baseControl/popperControl.js +99 -0
- package/lib/@antv/l7-component/lib/control/baseControl/selectControl.d.ts +53 -0
- package/lib/@antv/l7-component/lib/control/baseControl/selectControl.js +180 -0
- package/lib/@antv/l7-component/lib/control/exportImage.d.ts +19 -0
- package/lib/@antv/l7-component/lib/control/exportImage.js +80 -0
- package/lib/@antv/l7-component/lib/control/fullscreen.d.ts +20 -0
- package/lib/@antv/l7-component/lib/control/fullscreen.js +95 -0
- package/lib/@antv/l7-component/lib/control/geoLocate.d.ts +17 -0
- package/lib/@antv/l7-component/lib/control/geoLocate.js +67 -0
- package/lib/@antv/l7-component/lib/control/layerSwitch.d.ts +27 -0
- package/lib/@antv/l7-component/lib/control/layerSwitch.js +158 -0
- package/lib/@antv/l7-component/lib/control/logo.d.ts +14 -0
- package/lib/@antv/l7-component/lib/control/logo.js +55 -0
- package/lib/@antv/l7-component/lib/control/mapTheme.d.ts +11 -0
- package/lib/@antv/l7-component/lib/control/mapTheme.js +76 -0
- package/lib/@antv/l7-component/lib/control/mouseLocation.d.ts +16 -0
- package/lib/@antv/l7-component/lib/control/mouseLocation.js +58 -0
- package/lib/@antv/l7-component/lib/control/scale.d.ts +35 -0
- package/lib/@antv/l7-component/lib/control/scale.js +128 -0
- package/lib/@antv/l7-component/lib/control/swipe.d.ts +66 -0
- package/lib/@antv/l7-component/lib/control/swipe.js +399 -0
- package/lib/@antv/l7-component/lib/control/zoom.d.ts +39 -0
- package/lib/@antv/l7-component/lib/control/zoom.js +107 -0
- package/lib/@antv/l7-component/lib/css/button.less +70 -0
- package/lib/@antv/l7-component/lib/css/control.less +75 -0
- package/lib/@antv/l7-component/lib/css/index.css +672 -0
- package/lib/@antv/l7-component/lib/css/index.less +13 -0
- package/lib/@antv/l7-component/lib/css/l7.less +66 -0
- package/lib/@antv/l7-component/lib/css/layerPopup.less +8 -0
- package/lib/@antv/l7-component/lib/css/logo.less +18 -0
- package/lib/@antv/l7-component/lib/css/mouseLocation.less +9 -0
- package/lib/@antv/l7-component/lib/css/popper.less +64 -0
- package/lib/@antv/l7-component/lib/css/popup.less +185 -0
- package/lib/@antv/l7-component/lib/css/scale.less +34 -0
- package/lib/@antv/l7-component/lib/css/select.less +85 -0
- package/lib/@antv/l7-component/lib/css/swipe.less +80 -0
- package/lib/@antv/l7-component/lib/css/variables.less +29 -0
- package/lib/@antv/l7-component/lib/css/zoom.less +29 -0
- package/lib/@antv/l7-component/lib/images/layers.png +0 -0
- package/lib/@antv/l7-component/lib/images/layers.svg +1 -0
- package/lib/@antv/l7-component/lib/images/logo.png +0 -0
- package/lib/@antv/l7-component/lib/images/quanping.svg +12 -0
- package/lib/@antv/l7-component/lib/index.d.ts +19 -0
- package/lib/@antv/l7-component/lib/index.js +851 -0
- package/lib/@antv/l7-component/lib/interface.d.ts +18 -0
- package/lib/@antv/l7-component/lib/interface.js +5 -0
- package/lib/@antv/l7-component/lib/marker-layer.d.ts +55 -0
- package/lib/@antv/l7-component/lib/marker-layer.js +321 -0
- package/lib/@antv/l7-component/lib/marker.d.ts +58 -0
- package/lib/@antv/l7-component/lib/marker.js +469 -0
- package/lib/@antv/l7-component/lib/popup/layerPopup.d.ts +99 -0
- package/lib/@antv/l7-component/lib/popup/layerPopup.js +331 -0
- package/lib/@antv/l7-component/lib/popup/popup.d.ts +142 -0
- package/lib/@antv/l7-component/lib/popup/popup.js +577 -0
- package/lib/@antv/l7-component/lib/utils/anchor.d.ts +22 -0
- package/lib/@antv/l7-component/lib/utils/anchor.js +38 -0
- package/lib/@antv/l7-component/lib/utils/icon.d.ts +1 -0
- package/lib/@antv/l7-component/lib/utils/icon.js +16 -0
- package/lib/@antv/l7-component/lib/utils/popper.d.ts +76 -0
- package/lib/@antv/l7-component/lib/utils/popper.js +256 -0
- package/lib/@antv/l7-component/lib/utils/screenfull.d.ts +2 -0
- package/lib/@antv/l7-component/lib/utils/screenfull.js +112 -0
- package/lib/@antv/l7-component/package.json +40 -0
- package/lib/@antv/l7-core/LICENSE.md +21 -0
- package/lib/@antv/l7-core/es/index.d.ts +36 -0
- package/lib/@antv/l7-core/es/index.js +36 -0
- package/lib/@antv/l7-core/es/inversify.config.d.ts +81 -0
- package/lib/@antv/l7-core/es/inversify.config.js +106 -0
- package/lib/@antv/l7-core/es/services/asset/FontService.d.ts +56 -0
- package/lib/@antv/l7-core/es/services/asset/FontService.js +284 -0
- package/lib/@antv/l7-core/es/services/asset/IFontService.d.ts +66 -0
- package/lib/@antv/l7-core/es/services/asset/IFontService.js +1 -0
- package/lib/@antv/l7-core/es/services/asset/IIconService.d.ts +34 -0
- package/lib/@antv/l7-core/es/services/asset/IIconService.js +1 -0
- package/lib/@antv/l7-core/es/services/asset/ITextureService.d.ts +7 -0
- package/lib/@antv/l7-core/es/services/asset/ITextureService.js +1 -0
- package/lib/@antv/l7-core/es/services/asset/IconService.d.ts +45 -0
- package/lib/@antv/l7-core/es/services/asset/IconService.js +197 -0
- package/lib/@antv/l7-core/es/services/camera/Camera.d.ts +205 -0
- package/lib/@antv/l7-core/es/services/camera/Camera.js +491 -0
- package/lib/@antv/l7-core/es/services/camera/CameraService.d.ts +37 -0
- package/lib/@antv/l7-core/es/services/camera/CameraService.js +83 -0
- package/lib/@antv/l7-core/es/services/camera/ICameraService.d.ts +30 -0
- package/lib/@antv/l7-core/es/services/camera/ICameraService.js +10 -0
- package/lib/@antv/l7-core/es/services/camera/Landmark.d.ts +24 -0
- package/lib/@antv/l7-core/es/services/camera/Landmark.js +58 -0
- package/lib/@antv/l7-core/es/services/component/ControlService.d.ts +21 -0
- package/lib/@antv/l7-core/es/services/component/ControlService.js +123 -0
- package/lib/@antv/l7-core/es/services/component/IControlService.d.ts +43 -0
- package/lib/@antv/l7-core/es/services/component/IControlService.js +15 -0
- package/lib/@antv/l7-core/es/services/component/IMarkerService.d.ts +60 -0
- package/lib/@antv/l7-core/es/services/component/IMarkerService.js +1 -0
- package/lib/@antv/l7-core/es/services/component/IPopupService.d.ts +95 -0
- package/lib/@antv/l7-core/es/services/component/IPopupService.js +1 -0
- package/lib/@antv/l7-core/es/services/component/MarkerService.d.ts +21 -0
- package/lib/@antv/l7-core/es/services/component/MarkerService.js +78 -0
- package/lib/@antv/l7-core/es/services/component/PopupService.d.ts +14 -0
- package/lib/@antv/l7-core/es/services/component/PopupService.js +58 -0
- package/lib/@antv/l7-core/es/services/config/ConfigService.d.ts +33 -0
- package/lib/@antv/l7-core/es/services/config/ConfigService.js +167 -0
- package/lib/@antv/l7-core/es/services/config/IConfigService.d.ts +68 -0
- package/lib/@antv/l7-core/es/services/config/IConfigService.js +1 -0
- package/lib/@antv/l7-core/es/services/config/mapConfigSchema.d.ts +34 -0
- package/lib/@antv/l7-core/es/services/config/mapConfigSchema.js +36 -0
- package/lib/@antv/l7-core/es/services/config/sceneConfigSchema.d.ts +7 -0
- package/lib/@antv/l7-core/es/services/config/sceneConfigSchema.js +8 -0
- package/lib/@antv/l7-core/es/services/config/warnInfo.d.ts +7 -0
- package/lib/@antv/l7-core/es/services/config/warnInfo.js +5 -0
- package/lib/@antv/l7-core/es/services/coordinate/CoordinateSystemService.d.ts +53 -0
- package/lib/@antv/l7-core/es/services/coordinate/CoordinateSystemService.js +139 -0
- package/lib/@antv/l7-core/es/services/coordinate/ICoordinateSystemService.d.ts +39 -0
- package/lib/@antv/l7-core/es/services/coordinate/ICoordinateSystemService.js +33 -0
- package/lib/@antv/l7-core/es/services/debug/DebugService.d.ts +21 -0
- package/lib/@antv/l7-core/es/services/debug/DebugService.js +102 -0
- package/lib/@antv/l7-core/es/services/debug/IDebugService.d.ts +33 -0
- package/lib/@antv/l7-core/es/services/debug/IDebugService.js +13 -0
- package/lib/@antv/l7-core/es/services/interaction/IInteractionService.d.ts +25 -0
- package/lib/@antv/l7-core/es/services/interaction/IInteractionService.js +8 -0
- package/lib/@antv/l7-core/es/services/interaction/IPickingService.d.ts +44 -0
- package/lib/@antv/l7-core/es/services/interaction/IPickingService.js +1 -0
- package/lib/@antv/l7-core/es/services/interaction/InteractionService.d.ts +36 -0
- package/lib/@antv/l7-core/es/services/interaction/InteractionService.js +251 -0
- package/lib/@antv/l7-core/es/services/interaction/PickingService.d.ts +39 -0
- package/lib/@antv/l7-core/es/services/interaction/PickingService.js +353 -0
- package/lib/@antv/l7-core/es/services/layer/ILayerService.d.ts +575 -0
- package/lib/@antv/l7-core/es/services/layer/ILayerService.js +52 -0
- package/lib/@antv/l7-core/es/services/layer/IStyleAttributeService.d.ts +178 -0
- package/lib/@antv/l7-core/es/services/layer/IStyleAttributeService.js +33 -0
- package/lib/@antv/l7-core/es/services/layer/LayerService.d.ts +51 -0
- package/lib/@antv/l7-core/es/services/layer/LayerService.js +289 -0
- package/lib/@antv/l7-core/es/services/layer/StyleAttribute.d.ts +33 -0
- package/lib/@antv/l7-core/es/services/layer/StyleAttribute.js +63 -0
- package/lib/@antv/l7-core/es/services/layer/StyleAttributeService.d.ts +43 -0
- package/lib/@antv/l7-core/es/services/layer/StyleAttributeService.js +359 -0
- package/lib/@antv/l7-core/es/services/map/IMapService.d.ts +241 -0
- package/lib/@antv/l7-core/es/services/map/IMapService.js +10 -0
- package/lib/@antv/l7-core/es/services/renderer/IAttribute.d.ts +32 -0
- package/lib/@antv/l7-core/es/services/renderer/IAttribute.js +1 -0
- package/lib/@antv/l7-core/es/services/renderer/IBuffer.d.ts +34 -0
- package/lib/@antv/l7-core/es/services/renderer/IBuffer.js +1 -0
- package/lib/@antv/l7-core/es/services/renderer/IElements.d.ts +28 -0
- package/lib/@antv/l7-core/es/services/renderer/IElements.js +1 -0
- package/lib/@antv/l7-core/es/services/renderer/IFramebuffer.d.ts +32 -0
- package/lib/@antv/l7-core/es/services/renderer/IFramebuffer.js +1 -0
- package/lib/@antv/l7-core/es/services/renderer/IModel.d.ts +142 -0
- package/lib/@antv/l7-core/es/services/renderer/IModel.js +1 -0
- package/lib/@antv/l7-core/es/services/renderer/IMultiPassRenderer.d.ts +48 -0
- package/lib/@antv/l7-core/es/services/renderer/IMultiPassRenderer.js +17 -0
- package/lib/@antv/l7-core/es/services/renderer/IRenderbuffer.d.ts +19 -0
- package/lib/@antv/l7-core/es/services/renderer/IRenderbuffer.js +1 -0
- package/lib/@antv/l7-core/es/services/renderer/IRendererService.d.ts +82 -0
- package/lib/@antv/l7-core/es/services/renderer/IRendererService.js +1 -0
- package/lib/@antv/l7-core/es/services/renderer/ITexture2D.d.ts +71 -0
- package/lib/@antv/l7-core/es/services/renderer/ITexture2D.js +5 -0
- package/lib/@antv/l7-core/es/services/renderer/IUniform.d.ts +7 -0
- package/lib/@antv/l7-core/es/services/renderer/IUniform.js +1 -0
- package/lib/@antv/l7-core/es/services/renderer/gl.d.ts +307 -0
- package/lib/@antv/l7-core/es/services/renderer/gl.js +307 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/BaseNormalPass.d.ts +24 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/BaseNormalPass.js +36 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/BasePostProcessingPass.d.ts +54 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/BasePostProcessingPass.js +155 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/ClearPass.d.ts +10 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/ClearPass.js +20 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/MultiPassRenderer.d.ts +39 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/MultiPassRenderer.js +77 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/PixelPickingPass.d.ts +50 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/PixelPickingPass.js +247 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/PostProcessor.d.ts +37 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/PostProcessor.js +155 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/RenderPass.d.ts +12 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/RenderPass.js +42 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/TAAPass.d.ts +50 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/TAAPass.js +326 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/BloomPass.d.ts +19 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/BloomPass.js +47 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/BlurHPass.d.ts +17 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/BlurHPass.js +41 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/BlurVPass.d.ts +17 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/BlurVPass.js +41 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/ColorHalfTonePass.d.ts +15 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/ColorHalfTonePass.js +30 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/CopyPass.d.ts +4 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/CopyPass.js +14 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/HexagonalPixelatePass.d.ts +14 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/HexagonalPixelatePass.js +30 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/InkPass.d.ts +13 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/InkPass.js +30 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/NoisePass.d.ts +7 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/NoisePass.js +14 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/SepiaPass.d.ts +7 -0
- package/lib/@antv/l7-core/es/services/renderer/passes/post-processing/SepiaPass.js +14 -0
- package/lib/@antv/l7-core/es/services/scene/ISceneService.d.ts +20 -0
- package/lib/@antv/l7-core/es/services/scene/ISceneService.js +2 -0
- package/lib/@antv/l7-core/es/services/scene/SceneService.d.ts +69 -0
- package/lib/@antv/l7-core/es/services/scene/SceneService.js +340 -0
- package/lib/@antv/l7-core/es/services/shader/IShaderModuleService.d.ts +22 -0
- package/lib/@antv/l7-core/es/services/shader/IShaderModuleService.js +1 -0
- package/lib/@antv/l7-core/es/services/shader/ShaderModuleService.d.ts +11 -0
- package/lib/@antv/l7-core/es/services/shader/ShaderModuleService.js +206 -0
- package/lib/@antv/l7-core/es/services/source/ISourceService.d.ts +167 -0
- package/lib/@antv/l7-core/es/services/source/ISourceService.js +15 -0
- package/lib/@antv/l7-core/es/shaders/common.glsl +1 -0
- package/lib/@antv/l7-core/es/shaders/common_light.glsl +25 -0
- package/lib/@antv/l7-core/es/shaders/decode.glsl +30 -0
- package/lib/@antv/l7-core/es/shaders/lighting.glsl +63 -0
- package/lib/@antv/l7-core/es/shaders/picking.frag.glsl +69 -0
- package/lib/@antv/l7-core/es/shaders/picking.vert.glsl +58 -0
- package/lib/@antv/l7-core/es/shaders/picking_uniforms.glsl +11 -0
- package/lib/@antv/l7-core/es/shaders/post-processing/blend.glsl +13 -0
- package/lib/@antv/l7-core/es/shaders/post-processing/bloom.glsl +57 -0
- package/lib/@antv/l7-core/es/shaders/post-processing/blur.glsl +23 -0
- package/lib/@antv/l7-core/es/shaders/post-processing/colorhalftone.glsl +44 -0
- package/lib/@antv/l7-core/es/shaders/post-processing/copy.glsl +7 -0
- package/lib/@antv/l7-core/es/shaders/post-processing/hexagonalpixelate.glsl +44 -0
- package/lib/@antv/l7-core/es/shaders/post-processing/ink.glsl +34 -0
- package/lib/@antv/l7-core/es/shaders/post-processing/noise.glsl +22 -0
- package/lib/@antv/l7-core/es/shaders/post-processing/quad.glsl +8 -0
- package/lib/@antv/l7-core/es/shaders/post-processing/sepia.glsl +22 -0
- package/lib/@antv/l7-core/es/shaders/project.glsl +70 -0
- package/lib/@antv/l7-core/es/shaders/projection.glsl +268 -0
- package/lib/@antv/l7-core/es/shaders/rotation_2d.glsl +7 -0
- package/lib/@antv/l7-core/es/shaders/scene_uniforms.glsl +23 -0
- package/lib/@antv/l7-core/es/shaders/sdf_2d.glsl +74 -0
- package/lib/@antv/l7-core/es/utils/clock.d.ts +12 -0
- package/lib/@antv/l7-core/es/utils/clock.js +41 -0
- package/lib/@antv/l7-core/es/utils/dom.d.ts +7 -0
- package/lib/@antv/l7-core/es/utils/dom.js +47 -0
- package/lib/@antv/l7-core/es/utils/font_util.d.ts +13 -0
- package/lib/@antv/l7-core/es/utils/font_util.js +97 -0
- package/lib/@antv/l7-core/es/utils/math.d.ts +3 -0
- package/lib/@antv/l7-core/es/utils/math.js +21 -0
- package/lib/@antv/l7-core/es/utils/project.d.ts +22 -0
- package/lib/@antv/l7-core/es/utils/project.js +80 -0
- package/lib/@antv/l7-core/es/utils/sdf-2d.d.ts +2 -0
- package/lib/@antv/l7-core/es/utils/sdf-2d.js +4 -0
- package/lib/@antv/l7-core/es/utils/shader-module.d.ts +8 -0
- package/lib/@antv/l7-core/es/utils/shader-module.js +111 -0
- package/lib/@antv/l7-core/es/utils/vertex-compression.d.ts +51 -0
- package/lib/@antv/l7-core/es/utils/vertex-compression.js +98 -0
- package/lib/@antv/l7-core/lib/index.d.ts +36 -0
- package/lib/@antv/l7-core/lib/index.js +392 -0
- package/lib/@antv/l7-core/lib/inversify.config.d.ts +81 -0
- package/lib/@antv/l7-core/lib/inversify.config.js +115 -0
- package/lib/@antv/l7-core/lib/services/asset/FontService.d.ts +56 -0
- package/lib/@antv/l7-core/lib/services/asset/FontService.js +293 -0
- package/lib/@antv/l7-core/lib/services/asset/IFontService.d.ts +66 -0
- package/lib/@antv/l7-core/lib/services/asset/IFontService.js +5 -0
- package/lib/@antv/l7-core/lib/services/asset/IIconService.d.ts +34 -0
- package/lib/@antv/l7-core/lib/services/asset/IIconService.js +5 -0
- package/lib/@antv/l7-core/lib/services/asset/ITextureService.d.ts +7 -0
- package/lib/@antv/l7-core/lib/services/asset/ITextureService.js +5 -0
- package/lib/@antv/l7-core/lib/services/asset/IconService.d.ts +45 -0
- package/lib/@antv/l7-core/lib/services/asset/IconService.js +205 -0
- package/lib/@antv/l7-core/lib/services/camera/Camera.d.ts +205 -0
- package/lib/@antv/l7-core/lib/services/camera/Camera.js +498 -0
- package/lib/@antv/l7-core/lib/services/camera/CameraService.d.ts +37 -0
- package/lib/@antv/l7-core/lib/services/camera/CameraService.js +91 -0
- package/lib/@antv/l7-core/lib/services/camera/ICameraService.d.ts +30 -0
- package/lib/@antv/l7-core/lib/services/camera/ICameraService.js +16 -0
- package/lib/@antv/l7-core/lib/services/camera/Landmark.d.ts +24 -0
- package/lib/@antv/l7-core/lib/services/camera/Landmark.js +66 -0
- package/lib/@antv/l7-core/lib/services/component/ControlService.d.ts +21 -0
- package/lib/@antv/l7-core/lib/services/component/ControlService.js +131 -0
- package/lib/@antv/l7-core/lib/services/component/IControlService.d.ts +43 -0
- package/lib/@antv/l7-core/lib/services/component/IControlService.js +21 -0
- package/lib/@antv/l7-core/lib/services/component/IMarkerService.d.ts +60 -0
- package/lib/@antv/l7-core/lib/services/component/IMarkerService.js +5 -0
- package/lib/@antv/l7-core/lib/services/component/IPopupService.d.ts +95 -0
- package/lib/@antv/l7-core/lib/services/component/IPopupService.js +5 -0
- package/lib/@antv/l7-core/lib/services/component/MarkerService.d.ts +21 -0
- package/lib/@antv/l7-core/lib/services/component/MarkerService.js +86 -0
- package/lib/@antv/l7-core/lib/services/component/PopupService.d.ts +14 -0
- package/lib/@antv/l7-core/lib/services/component/PopupService.js +66 -0
- package/lib/@antv/l7-core/lib/services/config/ConfigService.d.ts +33 -0
- package/lib/@antv/l7-core/lib/services/config/ConfigService.js +175 -0
- package/lib/@antv/l7-core/lib/services/config/IConfigService.d.ts +68 -0
- package/lib/@antv/l7-core/lib/services/config/IConfigService.js +5 -0
- package/lib/@antv/l7-core/lib/services/config/mapConfigSchema.d.ts +34 -0
- package/lib/@antv/l7-core/lib/services/config/mapConfigSchema.js +42 -0
- package/lib/@antv/l7-core/lib/services/config/sceneConfigSchema.d.ts +7 -0
- package/lib/@antv/l7-core/lib/services/config/sceneConfigSchema.js +14 -0
- package/lib/@antv/l7-core/lib/services/config/warnInfo.d.ts +7 -0
- package/lib/@antv/l7-core/lib/services/config/warnInfo.js +11 -0
- package/lib/@antv/l7-core/lib/services/coordinate/CoordinateSystemService.d.ts +53 -0
- package/lib/@antv/l7-core/lib/services/coordinate/CoordinateSystemService.js +147 -0
- package/lib/@antv/l7-core/lib/services/coordinate/ICoordinateSystemService.d.ts +39 -0
- package/lib/@antv/l7-core/lib/services/coordinate/ICoordinateSystemService.js +36 -0
- package/lib/@antv/l7-core/lib/services/debug/DebugService.d.ts +21 -0
- package/lib/@antv/l7-core/lib/services/debug/DebugService.js +110 -0
- package/lib/@antv/l7-core/lib/services/debug/IDebugService.d.ts +33 -0
- package/lib/@antv/l7-core/lib/services/debug/IDebugService.js +19 -0
- package/lib/@antv/l7-core/lib/services/interaction/IInteractionService.d.ts +25 -0
- package/lib/@antv/l7-core/lib/services/interaction/IInteractionService.js +14 -0
- package/lib/@antv/l7-core/lib/services/interaction/IPickingService.d.ts +44 -0
- package/lib/@antv/l7-core/lib/services/interaction/IPickingService.js +5 -0
- package/lib/@antv/l7-core/lib/services/interaction/InteractionService.d.ts +36 -0
- package/lib/@antv/l7-core/lib/services/interaction/InteractionService.js +259 -0
- package/lib/@antv/l7-core/lib/services/interaction/PickingService.d.ts +39 -0
- package/lib/@antv/l7-core/lib/services/interaction/PickingService.js +361 -0
- package/lib/@antv/l7-core/lib/services/layer/ILayerService.d.ts +575 -0
- package/lib/@antv/l7-core/lib/services/layer/ILayerService.js +46 -0
- package/lib/@antv/l7-core/lib/services/layer/IStyleAttributeService.d.ts +178 -0
- package/lib/@antv/l7-core/lib/services/layer/IStyleAttributeService.js +38 -0
- package/lib/@antv/l7-core/lib/services/layer/LayerService.d.ts +51 -0
- package/lib/@antv/l7-core/lib/services/layer/LayerService.js +297 -0
- package/lib/@antv/l7-core/lib/services/layer/StyleAttribute.d.ts +33 -0
- package/lib/@antv/l7-core/lib/services/layer/StyleAttribute.js +71 -0
- package/lib/@antv/l7-core/lib/services/layer/StyleAttributeService.d.ts +43 -0
- package/lib/@antv/l7-core/lib/services/layer/StyleAttributeService.js +367 -0
- package/lib/@antv/l7-core/lib/services/map/IMapService.d.ts +241 -0
- package/lib/@antv/l7-core/lib/services/map/IMapService.js +16 -0
- package/lib/@antv/l7-core/lib/services/renderer/IAttribute.d.ts +32 -0
- package/lib/@antv/l7-core/lib/services/renderer/IAttribute.js +5 -0
- package/lib/@antv/l7-core/lib/services/renderer/IBuffer.d.ts +34 -0
- package/lib/@antv/l7-core/lib/services/renderer/IBuffer.js +5 -0
- package/lib/@antv/l7-core/lib/services/renderer/IElements.d.ts +28 -0
- package/lib/@antv/l7-core/lib/services/renderer/IElements.js +5 -0
- package/lib/@antv/l7-core/lib/services/renderer/IFramebuffer.d.ts +32 -0
- package/lib/@antv/l7-core/lib/services/renderer/IFramebuffer.js +5 -0
- package/lib/@antv/l7-core/lib/services/renderer/IModel.d.ts +142 -0
- package/lib/@antv/l7-core/lib/services/renderer/IModel.js +5 -0
- package/lib/@antv/l7-core/lib/services/renderer/IMultiPassRenderer.d.ts +48 -0
- package/lib/@antv/l7-core/lib/services/renderer/IMultiPassRenderer.js +21 -0
- package/lib/@antv/l7-core/lib/services/renderer/IRenderbuffer.d.ts +19 -0
- package/lib/@antv/l7-core/lib/services/renderer/IRenderbuffer.js +5 -0
- package/lib/@antv/l7-core/lib/services/renderer/IRendererService.d.ts +82 -0
- package/lib/@antv/l7-core/lib/services/renderer/IRendererService.js +5 -0
- package/lib/@antv/l7-core/lib/services/renderer/ITexture2D.d.ts +71 -0
- package/lib/@antv/l7-core/lib/services/renderer/ITexture2D.js +11 -0
- package/lib/@antv/l7-core/lib/services/renderer/IUniform.d.ts +7 -0
- package/lib/@antv/l7-core/lib/services/renderer/IUniform.js +5 -0
- package/lib/@antv/l7-core/lib/services/renderer/gl.d.ts +307 -0
- package/lib/@antv/l7-core/lib/services/renderer/gl.js +313 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/BaseNormalPass.d.ts +24 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/BaseNormalPass.js +44 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/BasePostProcessingPass.d.ts +54 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/BasePostProcessingPass.js +163 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/ClearPass.d.ts +10 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/ClearPass.js +27 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/MultiPassRenderer.d.ts +39 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/MultiPassRenderer.js +84 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/PixelPickingPass.d.ts +50 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/PixelPickingPass.js +254 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/PostProcessor.d.ts +37 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/PostProcessor.js +162 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/RenderPass.d.ts +12 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/RenderPass.js +49 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/TAAPass.d.ts +50 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/TAAPass.js +333 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/BloomPass.d.ts +19 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/BloomPass.js +55 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/BlurHPass.d.ts +17 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/BlurHPass.js +49 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/BlurVPass.d.ts +17 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/BlurVPass.js +49 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/ColorHalfTonePass.d.ts +15 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/ColorHalfTonePass.js +38 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/CopyPass.d.ts +4 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/CopyPass.js +22 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/HexagonalPixelatePass.d.ts +14 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/HexagonalPixelatePass.js +38 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/InkPass.d.ts +13 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/InkPass.js +38 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/NoisePass.d.ts +7 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/NoisePass.js +22 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/SepiaPass.d.ts +7 -0
- package/lib/@antv/l7-core/lib/services/renderer/passes/post-processing/SepiaPass.js +22 -0
- package/lib/@antv/l7-core/lib/services/scene/ISceneService.d.ts +20 -0
- package/lib/@antv/l7-core/lib/services/scene/ISceneService.js +8 -0
- package/lib/@antv/l7-core/lib/services/scene/SceneService.d.ts +69 -0
- package/lib/@antv/l7-core/lib/services/scene/SceneService.js +349 -0
- package/lib/@antv/l7-core/lib/services/shader/IShaderModuleService.d.ts +22 -0
- package/lib/@antv/l7-core/lib/services/shader/IShaderModuleService.js +5 -0
- package/lib/@antv/l7-core/lib/services/shader/ShaderModuleService.d.ts +11 -0
- package/lib/@antv/l7-core/lib/services/shader/ShaderModuleService.js +214 -0
- package/lib/@antv/l7-core/lib/services/source/ISourceService.d.ts +167 -0
- package/lib/@antv/l7-core/lib/services/source/ISourceService.js +18 -0
- package/lib/@antv/l7-core/lib/shaders/common.glsl +1 -0
- package/lib/@antv/l7-core/lib/shaders/common_light.glsl +25 -0
- package/lib/@antv/l7-core/lib/shaders/decode.glsl +30 -0
- package/lib/@antv/l7-core/lib/shaders/lighting.glsl +63 -0
- package/lib/@antv/l7-core/lib/shaders/picking.frag.glsl +69 -0
- package/lib/@antv/l7-core/lib/shaders/picking.vert.glsl +58 -0
- package/lib/@antv/l7-core/lib/shaders/picking_uniforms.glsl +11 -0
- package/lib/@antv/l7-core/lib/shaders/post-processing/blend.glsl +13 -0
- package/lib/@antv/l7-core/lib/shaders/post-processing/bloom.glsl +57 -0
- package/lib/@antv/l7-core/lib/shaders/post-processing/blur.glsl +23 -0
- package/lib/@antv/l7-core/lib/shaders/post-processing/colorhalftone.glsl +44 -0
- package/lib/@antv/l7-core/lib/shaders/post-processing/copy.glsl +7 -0
- package/lib/@antv/l7-core/lib/shaders/post-processing/hexagonalpixelate.glsl +44 -0
- package/lib/@antv/l7-core/lib/shaders/post-processing/ink.glsl +34 -0
- package/lib/@antv/l7-core/lib/shaders/post-processing/noise.glsl +22 -0
- package/lib/@antv/l7-core/lib/shaders/post-processing/quad.glsl +8 -0
- package/lib/@antv/l7-core/lib/shaders/post-processing/sepia.glsl +22 -0
- package/lib/@antv/l7-core/lib/shaders/project.glsl +70 -0
- package/lib/@antv/l7-core/lib/shaders/projection.glsl +268 -0
- package/lib/@antv/l7-core/lib/shaders/rotation_2d.glsl +7 -0
- package/lib/@antv/l7-core/lib/shaders/scene_uniforms.glsl +23 -0
- package/lib/@antv/l7-core/lib/shaders/sdf_2d.glsl +74 -0
- package/lib/@antv/l7-core/lib/utils/clock.d.ts +12 -0
- package/lib/@antv/l7-core/lib/utils/clock.js +49 -0
- package/lib/@antv/l7-core/lib/utils/dom.d.ts +7 -0
- package/lib/@antv/l7-core/lib/utils/dom.js +54 -0
- package/lib/@antv/l7-core/lib/utils/font_util.d.ts +13 -0
- package/lib/@antv/l7-core/lib/utils/font_util.js +106 -0
- package/lib/@antv/l7-core/lib/utils/math.d.ts +3 -0
- package/lib/@antv/l7-core/lib/utils/math.js +28 -0
- package/lib/@antv/l7-core/lib/utils/project.d.ts +22 -0
- package/lib/@antv/l7-core/lib/utils/project.js +86 -0
- package/lib/@antv/l7-core/lib/utils/sdf-2d.d.ts +2 -0
- package/lib/@antv/l7-core/lib/utils/sdf-2d.js +11 -0
- package/lib/@antv/l7-core/lib/utils/shader-module.d.ts +8 -0
- package/lib/@antv/l7-core/lib/utils/shader-module.js +119 -0
- package/lib/@antv/l7-core/lib/utils/vertex-compression.d.ts +51 -0
- package/lib/@antv/l7-core/lib/utils/vertex-compression.js +107 -0
- package/lib/@antv/l7-core/package.json +46 -0
- package/lib/@antv/l7-layers/LICENSE.md +21 -0
- package/lib/@antv/l7-layers/README.md +41 -0
- package/lib/@antv/l7-layers/es/canvas/index.d.ts +18 -0
- package/lib/@antv/l7-layers/es/canvas/index.js +70 -0
- package/lib/@antv/l7-layers/es/canvas/models/canvas.d.ts +23 -0
- package/lib/@antv/l7-layers/es/canvas/models/canvas.js +141 -0
- package/lib/@antv/l7-layers/es/canvas/models/constants.d.ts +2 -0
- package/lib/@antv/l7-layers/es/canvas/models/constants.js +6 -0
- package/lib/@antv/l7-layers/es/canvas/models/index.d.ts +2 -0
- package/lib/@antv/l7-layers/es/canvas/models/index.js +2 -0
- package/lib/@antv/l7-layers/es/citybuliding/building.d.ts +7 -0
- package/lib/@antv/l7-layers/es/citybuliding/building.js +25 -0
- package/lib/@antv/l7-layers/es/citybuliding/models/build.d.ts +17 -0
- package/lib/@antv/l7-layers/es/citybuliding/models/build.js +157 -0
- package/lib/@antv/l7-layers/es/citybuliding/shaders/build_frag.glsl +120 -0
- package/lib/@antv/l7-layers/es/citybuliding/shaders/build_vert.glsl +61 -0
- package/lib/@antv/l7-layers/es/core/BaseLayer.d.ts +247 -0
- package/lib/@antv/l7-layers/es/core/BaseLayer.js +1264 -0
- package/lib/@antv/l7-layers/es/core/BaseModel.d.ts +82 -0
- package/lib/@antv/l7-layers/es/core/BaseModel.js +333 -0
- package/lib/@antv/l7-layers/es/core/CommonStyleAttribute.d.ts +20 -0
- package/lib/@antv/l7-layers/es/core/CommonStyleAttribute.js +158 -0
- package/lib/@antv/l7-layers/es/core/LayerPickService.d.ts +12 -0
- package/lib/@antv/l7-layers/es/core/LayerPickService.js +100 -0
- package/lib/@antv/l7-layers/es/core/TextureService.d.ts +15 -0
- package/lib/@antv/l7-layers/es/core/TextureService.js +65 -0
- package/lib/@antv/l7-layers/es/core/constant.d.ts +6 -0
- package/lib/@antv/l7-layers/es/core/constant.js +19 -0
- package/lib/@antv/l7-layers/es/core/interface.d.ts +282 -0
- package/lib/@antv/l7-layers/es/core/interface.js +32 -0
- package/lib/@antv/l7-layers/es/core/line_trangluation.d.ts +19 -0
- package/lib/@antv/l7-layers/es/core/line_trangluation.js +86 -0
- package/lib/@antv/l7-layers/es/core/schema.d.ts +27 -0
- package/lib/@antv/l7-layers/es/core/schema.js +25 -0
- package/lib/@antv/l7-layers/es/core/shape/Path.d.ts +39 -0
- package/lib/@antv/l7-layers/es/core/shape/Path.js +63 -0
- package/lib/@antv/l7-layers/es/core/shape/arrow.d.ts +25 -0
- package/lib/@antv/l7-layers/es/core/shape/arrow.js +144 -0
- package/lib/@antv/l7-layers/es/core/shape/extrude.d.ts +17 -0
- package/lib/@antv/l7-layers/es/core/shape/extrude.js +130 -0
- package/lib/@antv/l7-layers/es/core/triangulation.d.ts +136 -0
- package/lib/@antv/l7-layers/es/core/triangulation.js +568 -0
- package/lib/@antv/l7-layers/es/core/utils.d.ts +1 -0
- package/lib/@antv/l7-layers/es/core/utils.js +3 -0
- package/lib/@antv/l7-layers/es/earth/index.d.ts +22 -0
- package/lib/@antv/l7-layers/es/earth/index.js +55 -0
- package/lib/@antv/l7-layers/es/earth/models/atmosphere.d.ts +15 -0
- package/lib/@antv/l7-layers/es/earth/models/atmosphere.js +110 -0
- package/lib/@antv/l7-layers/es/earth/models/base.d.ts +22 -0
- package/lib/@antv/l7-layers/es/earth/models/base.js +166 -0
- package/lib/@antv/l7-layers/es/earth/models/bloomsphere.d.ts +15 -0
- package/lib/@antv/l7-layers/es/earth/models/bloomsphere.js +109 -0
- package/lib/@antv/l7-layers/es/earth/shaders/atmosphere/atmosphere_frag.glsl +20 -0
- package/lib/@antv/l7-layers/es/earth/shaders/atmosphere/atmosphere_vert.glsl +22 -0
- package/lib/@antv/l7-layers/es/earth/shaders/base/base_frag.glsl +11 -0
- package/lib/@antv/l7-layers/es/earth/shaders/base/base_vert.glsl +52 -0
- package/lib/@antv/l7-layers/es/earth/shaders/bloomshpere/bloomsphere_frag.glsl +16 -0
- package/lib/@antv/l7-layers/es/earth/shaders/bloomshpere/bloomsphere_vert.glsl +19 -0
- package/lib/@antv/l7-layers/es/earth/utils.d.ts +26 -0
- package/lib/@antv/l7-layers/es/earth/utils.js +99 -0
- package/lib/@antv/l7-layers/es/geometry/index.d.ts +22 -0
- package/lib/@antv/l7-layers/es/geometry/index.js +54 -0
- package/lib/@antv/l7-layers/es/geometry/models/billboard.d.ts +24 -0
- package/lib/@antv/l7-layers/es/geometry/models/billboard.js +169 -0
- package/lib/@antv/l7-layers/es/geometry/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/es/geometry/models/index.js +9 -0
- package/lib/@antv/l7-layers/es/geometry/models/plane.d.ts +43 -0
- package/lib/@antv/l7-layers/es/geometry/models/plane.js +313 -0
- package/lib/@antv/l7-layers/es/geometry/models/sprite.d.ts +48 -0
- package/lib/@antv/l7-layers/es/geometry/models/sprite.js +231 -0
- package/lib/@antv/l7-layers/es/geometry/shaders/billboard_frag.glsl +18 -0
- package/lib/@antv/l7-layers/es/geometry/shaders/billboard_vert.glsl +40 -0
- package/lib/@antv/l7-layers/es/geometry/shaders/plane_frag.glsl +26 -0
- package/lib/@antv/l7-layers/es/geometry/shaders/plane_vert.glsl +32 -0
- package/lib/@antv/l7-layers/es/geometry/shaders/sprite_frag.glsl +25 -0
- package/lib/@antv/l7-layers/es/geometry/shaders/sprite_vert.glsl +23 -0
- package/lib/@antv/l7-layers/es/heatmap/index.d.ts +13 -0
- package/lib/@antv/l7-layers/es/heatmap/index.js +87 -0
- package/lib/@antv/l7-layers/es/heatmap/models/grid.d.ts +15 -0
- package/lib/@antv/l7-layers/es/heatmap/models/grid.js +76 -0
- package/lib/@antv/l7-layers/es/heatmap/models/grid3d.d.ts +15 -0
- package/lib/@antv/l7-layers/es/heatmap/models/grid3d.js +114 -0
- package/lib/@antv/l7-layers/es/heatmap/models/heatmap.d.ts +27 -0
- package/lib/@antv/l7-layers/es/heatmap/models/heatmap.js +435 -0
- package/lib/@antv/l7-layers/es/heatmap/models/hexagon.d.ts +15 -0
- package/lib/@antv/l7-layers/es/heatmap/models/hexagon.js +76 -0
- package/lib/@antv/l7-layers/es/heatmap/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/es/heatmap/models/index.js +12 -0
- package/lib/@antv/l7-layers/es/heatmap/shaders/grid/grid_frag.glsl +9 -0
- package/lib/@antv/l7-layers/es/heatmap/shaders/grid/grid_vert.glsl +42 -0
- package/lib/@antv/l7-layers/es/heatmap/shaders/grid3d/grid_3d_frag.glsl +17 -0
- package/lib/@antv/l7-layers/es/heatmap/shaders/grid3d/grid_3d_vert.glsl +46 -0
- package/lib/@antv/l7-layers/es/heatmap/shaders/heatmap/heatmap_3d_frag.glsl +24 -0
- package/lib/@antv/l7-layers/es/heatmap/shaders/heatmap/heatmap_3d_vert.glsl +56 -0
- package/lib/@antv/l7-layers/es/heatmap/shaders/heatmap/heatmap_frag.glsl +52 -0
- package/lib/@antv/l7-layers/es/heatmap/shaders/heatmap/heatmap_framebuffer_frag.glsl +17 -0
- package/lib/@antv/l7-layers/es/heatmap/shaders/heatmap/heatmap_framebuffer_vert.glsl +42 -0
- package/lib/@antv/l7-layers/es/heatmap/shaders/heatmap/heatmap_vert.glsl +22 -0
- package/lib/@antv/l7-layers/es/heatmap/shaders/hexagon/hexagon_frag.glsl +8 -0
- package/lib/@antv/l7-layers/es/heatmap/shaders/hexagon/hexagon_vert.glsl +40 -0
- package/lib/@antv/l7-layers/es/heatmap/triangulation.d.ts +5 -0
- package/lib/@antv/l7-layers/es/heatmap/triangulation.js +33 -0
- package/lib/@antv/l7-layers/es/image/index.d.ts +9 -0
- package/lib/@antv/l7-layers/es/image/index.js +28 -0
- package/lib/@antv/l7-layers/es/image/models/image.d.ts +17 -0
- package/lib/@antv/l7-layers/es/image/models/image.js +109 -0
- package/lib/@antv/l7-layers/es/image/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/es/image/models/index.js +5 -0
- package/lib/@antv/l7-layers/es/image/shaders/dataImage_frag.glsl +32 -0
- package/lib/@antv/l7-layers/es/image/shaders/image_frag.glsl +38 -0
- package/lib/@antv/l7-layers/es/image/shaders/image_vert.glsl +19 -0
- package/lib/@antv/l7-layers/es/index.d.ts +18 -0
- package/lib/@antv/l7-layers/es/index.js +18 -0
- package/lib/@antv/l7-layers/es/line/index.d.ts +36 -0
- package/lib/@antv/l7-layers/es/line/index.js +91 -0
- package/lib/@antv/l7-layers/es/line/models/arc.d.ts +22 -0
- package/lib/@antv/l7-layers/es/line/models/arc.js +230 -0
- package/lib/@antv/l7-layers/es/line/models/arc_3d.d.ts +22 -0
- package/lib/@antv/l7-layers/es/line/models/arc_3d.js +221 -0
- package/lib/@antv/l7-layers/es/line/models/flow.d.ts +14 -0
- package/lib/@antv/l7-layers/es/line/models/flow.js +112 -0
- package/lib/@antv/l7-layers/es/line/models/great_circle.d.ts +17 -0
- package/lib/@antv/l7-layers/es/line/models/great_circle.js +212 -0
- package/lib/@antv/l7-layers/es/line/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/es/line/models/index.js +18 -0
- package/lib/@antv/l7-layers/es/line/models/line.d.ts +27 -0
- package/lib/@antv/l7-layers/es/line/models/line.js +264 -0
- package/lib/@antv/l7-layers/es/line/models/simple_line.d.ts +19 -0
- package/lib/@antv/l7-layers/es/line/models/simple_line.js +153 -0
- package/lib/@antv/l7-layers/es/line/models/wall.d.ts +17 -0
- package/lib/@antv/l7-layers/es/line/models/wall.js +249 -0
- package/lib/@antv/l7-layers/es/line/shaders/arc/line_arc_frag.glsl +92 -0
- package/lib/@antv/l7-layers/es/line/shaders/arc/line_arc_vert.glsl +164 -0
- package/lib/@antv/l7-layers/es/line/shaders/arc3d/line_arc_3d_frag.glsl +109 -0
- package/lib/@antv/l7-layers/es/line/shaders/arc3d/line_arc_3d_vert.glsl +182 -0
- package/lib/@antv/l7-layers/es/line/shaders/flow/flow_line_frag.glsl +14 -0
- package/lib/@antv/l7-layers/es/line/shaders/flow/flow_line_vert.glsl +94 -0
- package/lib/@antv/l7-layers/es/line/shaders/greatCircle/line_arc_great_circle_frag.glsl +99 -0
- package/lib/@antv/l7-layers/es/line/shaders/greatCircle/line_arc_great_circle_vert.glsl +186 -0
- package/lib/@antv/l7-layers/es/line/shaders/line/line_frag.glsl +122 -0
- package/lib/@antv/l7-layers/es/line/shaders/line/line_vert.glsl +118 -0
- package/lib/@antv/l7-layers/es/line/shaders/simple/simpleline_frag.glsl +30 -0
- package/lib/@antv/l7-layers/es/line/shaders/simple/simpleline_vert.glsl +50 -0
- package/lib/@antv/l7-layers/es/line/shaders/wall/wall_frag.glsl +92 -0
- package/lib/@antv/l7-layers/es/line/shaders/wall/wall_vert.glsl +100 -0
- package/lib/@antv/l7-layers/es/mask/index.d.ts +16 -0
- package/lib/@antv/l7-layers/es/mask/index.js +21 -0
- package/lib/@antv/l7-layers/es/mask/models/fill.d.ts +18 -0
- package/lib/@antv/l7-layers/es/mask/models/fill.js +60 -0
- package/lib/@antv/l7-layers/es/mask/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/es/mask/models/index.js +5 -0
- package/lib/@antv/l7-layers/es/mask/shaders/mask_vert.glsl +19 -0
- package/lib/@antv/l7-layers/es/plugins/DataMappingPlugin.d.ts +13 -0
- package/lib/@antv/l7-layers/es/plugins/DataMappingPlugin.js +229 -0
- package/lib/@antv/l7-layers/es/plugins/DataSourcePlugin.d.ts +6 -0
- package/lib/@antv/l7-layers/es/plugins/DataSourcePlugin.js +75 -0
- package/lib/@antv/l7-layers/es/plugins/FeatureScalePlugin.d.ts +20 -0
- package/lib/@antv/l7-layers/es/plugins/FeatureScalePlugin.js +294 -0
- package/lib/@antv/l7-layers/es/plugins/LayerAnimateStylePlugin.d.ts +4 -0
- package/lib/@antv/l7-layers/es/plugins/LayerAnimateStylePlugin.js +14 -0
- package/lib/@antv/l7-layers/es/plugins/LayerMaskPlugin.d.ts +7 -0
- package/lib/@antv/l7-layers/es/plugins/LayerMaskPlugin.js +19 -0
- package/lib/@antv/l7-layers/es/plugins/LayerModelPlugin.d.ts +10 -0
- package/lib/@antv/l7-layers/es/plugins/LayerModelPlugin.js +60 -0
- package/lib/@antv/l7-layers/es/plugins/LayerStylePlugin.d.ts +7 -0
- package/lib/@antv/l7-layers/es/plugins/LayerStylePlugin.js +18 -0
- package/lib/@antv/l7-layers/es/plugins/LightingPlugin.d.ts +35 -0
- package/lib/@antv/l7-layers/es/plugins/LightingPlugin.js +84 -0
- package/lib/@antv/l7-layers/es/plugins/MultiPassRendererPlugin.d.ts +22 -0
- package/lib/@antv/l7-layers/es/plugins/MultiPassRendererPlugin.js +52 -0
- package/lib/@antv/l7-layers/es/plugins/PixelPickingPlugin.d.ts +11 -0
- package/lib/@antv/l7-layers/es/plugins/PixelPickingPlugin.js +146 -0
- package/lib/@antv/l7-layers/es/plugins/RegisterStyleAttributePlugin.d.ts +11 -0
- package/lib/@antv/l7-layers/es/plugins/RegisterStyleAttributePlugin.js +94 -0
- package/lib/@antv/l7-layers/es/plugins/ShaderUniformPlugin.d.ts +22 -0
- package/lib/@antv/l7-layers/es/plugins/ShaderUniformPlugin.js +176 -0
- package/lib/@antv/l7-layers/es/plugins/UpdateModelPlugin.d.ts +7 -0
- package/lib/@antv/l7-layers/es/plugins/UpdateModelPlugin.js +20 -0
- package/lib/@antv/l7-layers/es/plugins/UpdateStyleAttributePlugin.d.ts +9 -0
- package/lib/@antv/l7-layers/es/plugins/UpdateStyleAttributePlugin.js +54 -0
- package/lib/@antv/l7-layers/es/plugins/index.d.ts +15 -0
- package/lib/@antv/l7-layers/es/plugins/index.js +18 -0
- package/lib/@antv/l7-layers/es/point/index.d.ts +33 -0
- package/lib/@antv/l7-layers/es/point/index.js +143 -0
- package/lib/@antv/l7-layers/es/point/models/billboard_point.d.ts +21 -0
- package/lib/@antv/l7-layers/es/point/models/billboard_point.js +87 -0
- package/lib/@antv/l7-layers/es/point/models/earthExtrude.d.ts +16 -0
- package/lib/@antv/l7-layers/es/point/models/earthExtrude.js +192 -0
- package/lib/@antv/l7-layers/es/point/models/earthFill.d.ts +15 -0
- package/lib/@antv/l7-layers/es/point/models/earthFill.js +150 -0
- package/lib/@antv/l7-layers/es/point/models/extrude.d.ts +16 -0
- package/lib/@antv/l7-layers/es/point/models/extrude.js +188 -0
- package/lib/@antv/l7-layers/es/point/models/fill.d.ts +31 -0
- package/lib/@antv/l7-layers/es/point/models/fill.js +169 -0
- package/lib/@antv/l7-layers/es/point/models/fillImage.d.ts +26 -0
- package/lib/@antv/l7-layers/es/point/models/fillImage.js +189 -0
- package/lib/@antv/l7-layers/es/point/models/image.d.ts +18 -0
- package/lib/@antv/l7-layers/es/point/models/image.js +158 -0
- package/lib/@antv/l7-layers/es/point/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/es/point/models/index.js +24 -0
- package/lib/@antv/l7-layers/es/point/models/normal.d.ts +22 -0
- package/lib/@antv/l7-layers/es/point/models/normal.js +81 -0
- package/lib/@antv/l7-layers/es/point/models/radar.d.ts +22 -0
- package/lib/@antv/l7-layers/es/point/models/radar.js +106 -0
- package/lib/@antv/l7-layers/es/point/models/text.d.ts +69 -0
- package/lib/@antv/l7-layers/es/point/models/text.js +496 -0
- package/lib/@antv/l7-layers/es/point/shaders/billboard/billboard_point_frag.glsl +50 -0
- package/lib/@antv/l7-layers/es/point/shaders/billboard/billboard_point_vert.glsl +36 -0
- package/lib/@antv/l7-layers/es/point/shaders/earthExtrude/earthExtrude_frag.glsl +36 -0
- package/lib/@antv/l7-layers/es/point/shaders/earthExtrude/earthExtrude_vert.glsl +128 -0
- package/lib/@antv/l7-layers/es/point/shaders/earthFill/earthFill_frag.glsl +79 -0
- package/lib/@antv/l7-layers/es/point/shaders/earthFill/earthFill_vert.glsl +46 -0
- package/lib/@antv/l7-layers/es/point/shaders/extrude/extrude_frag.glsl +31 -0
- package/lib/@antv/l7-layers/es/point/shaders/extrude/extrude_vert.glsl +99 -0
- package/lib/@antv/l7-layers/es/point/shaders/fill/fill_frag.glsl +100 -0
- package/lib/@antv/l7-layers/es/point/shaders/fill/fill_vert.glsl +81 -0
- package/lib/@antv/l7-layers/es/point/shaders/fillImage/fillImage_frag.glsl +23 -0
- package/lib/@antv/l7-layers/es/point/shaders/fillImage/fillImage_vert.glsl +57 -0
- package/lib/@antv/l7-layers/es/point/shaders/image/image_frag.glsl +42 -0
- package/lib/@antv/l7-layers/es/point/shaders/image/image_vert.glsl +44 -0
- package/lib/@antv/l7-layers/es/point/shaders/normal/normal_frag.glsl +5 -0
- package/lib/@antv/l7-layers/es/point/shaders/normal/normal_vert.glsl +25 -0
- package/lib/@antv/l7-layers/es/point/shaders/radar/radar_frag.glsl +52 -0
- package/lib/@antv/l7-layers/es/point/shaders/radar/radar_vert.glsl +53 -0
- package/lib/@antv/l7-layers/es/point/shaders/text/text_frag.glsl +45 -0
- package/lib/@antv/l7-layers/es/point/shaders/text/text_vert.glsl +64 -0
- package/lib/@antv/l7-layers/es/point/shape/extrude.d.ts +15 -0
- package/lib/@antv/l7-layers/es/point/shape/extrude.js +48 -0
- package/lib/@antv/l7-layers/es/polygon/index.d.ts +18 -0
- package/lib/@antv/l7-layers/es/polygon/index.js +72 -0
- package/lib/@antv/l7-layers/es/polygon/models/extrude.d.ts +25 -0
- package/lib/@antv/l7-layers/es/polygon/models/extrude.js +233 -0
- package/lib/@antv/l7-layers/es/polygon/models/extrusion.d.ts +24 -0
- package/lib/@antv/l7-layers/es/polygon/models/extrusion.js +107 -0
- package/lib/@antv/l7-layers/es/polygon/models/fill.d.ts +18 -0
- package/lib/@antv/l7-layers/es/polygon/models/fill.js +119 -0
- package/lib/@antv/l7-layers/es/polygon/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/es/polygon/models/index.js +26 -0
- package/lib/@antv/l7-layers/es/polygon/models/ocean.d.ts +23 -0
- package/lib/@antv/l7-layers/es/polygon/models/ocean.js +156 -0
- package/lib/@antv/l7-layers/es/polygon/models/water.d.ts +21 -0
- package/lib/@antv/l7-layers/es/polygon/models/water.js +134 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/extrude/polygon_extrude_frag.glsl +25 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/extrude/polygon_extrude_picklight_frag.glsl +50 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/extrude/polygon_extrude_picklight_vert.glsl +51 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/extrude/polygon_extrude_vert.glsl +72 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/extrude/polygon_extrudetex_frag.glsl +54 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/extrude/polygon_extrudetex_vert.glsl +54 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/extrusion/polygon_extrusion_frag.glsl +10 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/extrusion/polygon_extrusion_vert.glsl +24 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/fill/fill_frag.glsl +8 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/fill/fill_linear_frag.glsl +21 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/fill/fill_linear_vert.glsl +35 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/fill/fill_vert.glsl +37 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/ocean/ocean_frag.glsl +247 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/ocean/ocean_vert.glsl +22 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/water/polygon_water_frag.glsl +73 -0
- package/lib/@antv/l7-layers/es/polygon/shaders/water/polygon_water_vert.glsl +22 -0
- package/lib/@antv/l7-layers/es/raster/buffers/triangulation.d.ts +6 -0
- package/lib/@antv/l7-layers/es/raster/buffers/triangulation.js +25 -0
- package/lib/@antv/l7-layers/es/raster/index.d.ts +11 -0
- package/lib/@antv/l7-layers/es/raster/index.js +54 -0
- package/lib/@antv/l7-layers/es/raster/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/es/raster/models/index.js +10 -0
- package/lib/@antv/l7-layers/es/raster/models/raster.d.ts +21 -0
- package/lib/@antv/l7-layers/es/raster/models/raster.js +146 -0
- package/lib/@antv/l7-layers/es/raster/models/rasterRgb.d.ts +21 -0
- package/lib/@antv/l7-layers/es/raster/models/rasterRgb.js +149 -0
- package/lib/@antv/l7-layers/es/raster/models/rasterTerrainRgb.d.ts +16 -0
- package/lib/@antv/l7-layers/es/raster/models/rasterTerrainRgb.js +110 -0
- package/lib/@antv/l7-layers/es/raster/shaders/raster/raster_2d_frag.glsl +34 -0
- package/lib/@antv/l7-layers/es/raster/shaders/raster/raster_2d_vert.glsl +21 -0
- package/lib/@antv/l7-layers/es/raster/shaders/rgb/raster_rgb_frag.glsl +27 -0
- package/lib/@antv/l7-layers/es/raster/shaders/rgb/raster_rgb_vert.glsl +21 -0
- package/lib/@antv/l7-layers/es/raster/shaders/terrain/terrain_rgb_frag.glsl +43 -0
- package/lib/@antv/l7-layers/es/raster/shaders/terrain/terrain_rgb_vert.glsl +19 -0
- package/lib/@antv/l7-layers/es/shader/minify_frag.glsl +11 -0
- package/lib/@antv/l7-layers/es/shader/minify_picking_frag.glsl +10 -0
- package/lib/@antv/l7-layers/es/tile/core/BaseLayer.d.ts +47 -0
- package/lib/@antv/l7-layers/es/tile/core/BaseLayer.js +264 -0
- package/lib/@antv/l7-layers/es/tile/core/TileDebugLayer.d.ts +15 -0
- package/lib/@antv/l7-layers/es/tile/core/TileDebugLayer.js +23 -0
- package/lib/@antv/l7-layers/es/tile/interaction/getFeatureData.d.ts +0 -0
- package/lib/@antv/l7-layers/es/tile/interaction/getFeatureData.js +0 -0
- package/lib/@antv/l7-layers/es/tile/interaction/getRasterData.d.ts +4 -0
- package/lib/@antv/l7-layers/es/tile/interaction/getRasterData.js +45 -0
- package/lib/@antv/l7-layers/es/tile/interaction/utils.d.ts +11 -0
- package/lib/@antv/l7-layers/es/tile/interaction/utils.js +69 -0
- package/lib/@antv/l7-layers/es/tile/interface.d.ts +29 -0
- package/lib/@antv/l7-layers/es/tile/interface.js +1 -0
- package/lib/@antv/l7-layers/es/tile/service/TileLayerService.d.ts +33 -0
- package/lib/@antv/l7-layers/es/tile/service/TileLayerService.js +123 -0
- package/lib/@antv/l7-layers/es/tile/service/TilePickService.d.ts +26 -0
- package/lib/@antv/l7-layers/es/tile/service/TilePickService.js +120 -0
- package/lib/@antv/l7-layers/es/tile/service/TileSourceService.d.ts +7 -0
- package/lib/@antv/l7-layers/es/tile/service/TileSourceService.js +26 -0
- package/lib/@antv/l7-layers/es/tile/tile/DebugTile.d.ts +16 -0
- package/lib/@antv/l7-layers/es/tile/tile/DebugTile.js +47 -0
- package/lib/@antv/l7-layers/es/tile/tile/ImageTile.d.ts +14 -0
- package/lib/@antv/l7-layers/es/tile/tile/ImageTile.js +39 -0
- package/lib/@antv/l7-layers/es/tile/tile/MaskTile.d.ts +18 -0
- package/lib/@antv/l7-layers/es/tile/tile/MaskTile.js +54 -0
- package/lib/@antv/l7-layers/es/tile/tile/RasterRGBTile.d.ts +11 -0
- package/lib/@antv/l7-layers/es/tile/tile/RasterRGBTile.js +47 -0
- package/lib/@antv/l7-layers/es/tile/tile/RasterTerrainRGBTile.d.ts +14 -0
- package/lib/@antv/l7-layers/es/tile/tile/RasterTerrainRGBTile.js +39 -0
- package/lib/@antv/l7-layers/es/tile/tile/RasterTile.d.ts +18 -0
- package/lib/@antv/l7-layers/es/tile/tile/RasterTile.js +81 -0
- package/lib/@antv/l7-layers/es/tile/tile/Tile.d.ts +112 -0
- package/lib/@antv/l7-layers/es/tile/tile/Tile.js +166 -0
- package/lib/@antv/l7-layers/es/tile/tile/VectorTile.d.ts +26 -0
- package/lib/@antv/l7-layers/es/tile/tile/VectorTile.js +87 -0
- package/lib/@antv/l7-layers/es/tile/tile/index.d.ts +12 -0
- package/lib/@antv/l7-layers/es/tile/tile/index.js +44 -0
- package/lib/@antv/l7-layers/es/tile/tile/util.d.ts +5 -0
- package/lib/@antv/l7-layers/es/tile/tile/util.js +18 -0
- package/lib/@antv/l7-layers/es/tile/utils/constants.d.ts +1 -0
- package/lib/@antv/l7-layers/es/tile/utils/constants.js +8 -0
- package/lib/@antv/l7-layers/es/tile/utils/utils.d.ts +8 -0
- package/lib/@antv/l7-layers/es/tile/utils/utils.js +11 -0
- package/lib/@antv/l7-layers/es/utils/blend.d.ts +2 -0
- package/lib/@antv/l7-layers/es/utils/blend.js +57 -0
- package/lib/@antv/l7-layers/es/utils/collision-index.d.ts +47 -0
- package/lib/@antv/l7-layers/es/utils/collision-index.js +87 -0
- package/lib/@antv/l7-layers/es/utils/extrude_polyline.d.ts +68 -0
- package/lib/@antv/l7-layers/es/utils/extrude_polyline.js +535 -0
- package/lib/@antv/l7-layers/es/utils/grid-index.d.ts +28 -0
- package/lib/@antv/l7-layers/es/utils/grid-index.js +128 -0
- package/lib/@antv/l7-layers/es/utils/identityScale.d.ts +8 -0
- package/lib/@antv/l7-layers/es/utils/identityScale.js +26 -0
- package/lib/@antv/l7-layers/es/utils/load-image.d.ts +1 -0
- package/lib/@antv/l7-layers/es/utils/load-image.js +22 -0
- package/lib/@antv/l7-layers/es/utils/multiPassRender.d.ts +16 -0
- package/lib/@antv/l7-layers/es/utils/multiPassRender.js +37 -0
- package/lib/@antv/l7-layers/es/utils/polylineNormal.d.ts +9 -0
- package/lib/@antv/l7-layers/es/utils/polylineNormal.js +182 -0
- package/lib/@antv/l7-layers/es/utils/rampcolor_legend.d.ts +6 -0
- package/lib/@antv/l7-layers/es/utils/rampcolor_legend.js +12 -0
- package/lib/@antv/l7-layers/es/utils/simpleLine.d.ts +23 -0
- package/lib/@antv/l7-layers/es/utils/simpleLine.js +76 -0
- package/lib/@antv/l7-layers/es/utils/stencil.d.ts +7 -0
- package/lib/@antv/l7-layers/es/utils/stencil.js +49 -0
- package/lib/@antv/l7-layers/es/utils/symbol-layout.d.ts +43 -0
- package/lib/@antv/l7-layers/es/utils/symbol-layout.js +251 -0
- package/lib/@antv/l7-layers/es/wind/index.d.ts +11 -0
- package/lib/@antv/l7-layers/es/wind/index.js +34 -0
- package/lib/@antv/l7-layers/es/wind/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/es/wind/models/index.js +5 -0
- package/lib/@antv/l7-layers/es/wind/models/utils.d.ts +19 -0
- package/lib/@antv/l7-layers/es/wind/models/utils.js +204 -0
- package/lib/@antv/l7-layers/es/wind/models/wind.d.ts +24 -0
- package/lib/@antv/l7-layers/es/wind/models/wind.js +232 -0
- package/lib/@antv/l7-layers/es/wind/models/windRender.d.ts +104 -0
- package/lib/@antv/l7-layers/es/wind/models/windRender.js +333 -0
- package/lib/@antv/l7-layers/es/wind/models/windShader.d.ts +12 -0
- package/lib/@antv/l7-layers/es/wind/models/windShader.js +151 -0
- package/lib/@antv/l7-layers/es/wind/shaders/wind_frag.glsl +9 -0
- package/lib/@antv/l7-layers/es/wind/shaders/wind_vert.glsl +13 -0
- package/lib/@antv/l7-layers/lib/canvas/index.d.ts +18 -0
- package/lib/@antv/l7-layers/lib/canvas/index.js +79 -0
- package/lib/@antv/l7-layers/lib/canvas/models/canvas.d.ts +23 -0
- package/lib/@antv/l7-layers/lib/canvas/models/canvas.js +149 -0
- package/lib/@antv/l7-layers/lib/canvas/models/constants.d.ts +2 -0
- package/lib/@antv/l7-layers/lib/canvas/models/constants.js +12 -0
- package/lib/@antv/l7-layers/lib/canvas/models/index.d.ts +2 -0
- package/lib/@antv/l7-layers/lib/canvas/models/index.js +27 -0
- package/lib/@antv/l7-layers/lib/citybuliding/building.d.ts +7 -0
- package/lib/@antv/l7-layers/lib/citybuliding/building.js +33 -0
- package/lib/@antv/l7-layers/lib/citybuliding/models/build.d.ts +17 -0
- package/lib/@antv/l7-layers/lib/citybuliding/models/build.js +165 -0
- package/lib/@antv/l7-layers/lib/citybuliding/shaders/build_frag.glsl +120 -0
- package/lib/@antv/l7-layers/lib/citybuliding/shaders/build_vert.glsl +61 -0
- package/lib/@antv/l7-layers/lib/core/BaseLayer.d.ts +247 -0
- package/lib/@antv/l7-layers/lib/core/BaseLayer.js +1271 -0
- package/lib/@antv/l7-layers/lib/core/BaseModel.d.ts +82 -0
- package/lib/@antv/l7-layers/lib/core/BaseModel.js +341 -0
- package/lib/@antv/l7-layers/lib/core/CommonStyleAttribute.d.ts +20 -0
- package/lib/@antv/l7-layers/lib/core/CommonStyleAttribute.js +165 -0
- package/lib/@antv/l7-layers/lib/core/LayerPickService.d.ts +12 -0
- package/lib/@antv/l7-layers/lib/core/LayerPickService.js +108 -0
- package/lib/@antv/l7-layers/lib/core/TextureService.d.ts +15 -0
- package/lib/@antv/l7-layers/lib/core/TextureService.js +73 -0
- package/lib/@antv/l7-layers/lib/core/constant.d.ts +6 -0
- package/lib/@antv/l7-layers/lib/core/constant.js +25 -0
- package/lib/@antv/l7-layers/lib/core/interface.d.ts +282 -0
- package/lib/@antv/l7-layers/lib/core/interface.js +34 -0
- package/lib/@antv/l7-layers/lib/core/line_trangluation.d.ts +19 -0
- package/lib/@antv/l7-layers/lib/core/line_trangluation.js +94 -0
- package/lib/@antv/l7-layers/lib/core/schema.d.ts +27 -0
- package/lib/@antv/l7-layers/lib/core/schema.js +31 -0
- package/lib/@antv/l7-layers/lib/core/shape/Path.d.ts +39 -0
- package/lib/@antv/l7-layers/lib/core/shape/Path.js +75 -0
- package/lib/@antv/l7-layers/lib/core/shape/arrow.d.ts +25 -0
- package/lib/@antv/l7-layers/lib/core/shape/arrow.js +158 -0
- package/lib/@antv/l7-layers/lib/core/shape/extrude.d.ts +17 -0
- package/lib/@antv/l7-layers/lib/core/shape/extrude.js +139 -0
- package/lib/@antv/l7-layers/lib/core/triangulation.d.ts +136 -0
- package/lib/@antv/l7-layers/lib/core/triangulation.js +596 -0
- package/lib/@antv/l7-layers/lib/core/utils.d.ts +1 -0
- package/lib/@antv/l7-layers/lib/core/utils.js +9 -0
- package/lib/@antv/l7-layers/lib/earth/index.d.ts +22 -0
- package/lib/@antv/l7-layers/lib/earth/index.js +63 -0
- package/lib/@antv/l7-layers/lib/earth/models/atmosphere.d.ts +15 -0
- package/lib/@antv/l7-layers/lib/earth/models/atmosphere.js +118 -0
- package/lib/@antv/l7-layers/lib/earth/models/base.d.ts +22 -0
- package/lib/@antv/l7-layers/lib/earth/models/base.js +174 -0
- package/lib/@antv/l7-layers/lib/earth/models/bloomsphere.d.ts +15 -0
- package/lib/@antv/l7-layers/lib/earth/models/bloomsphere.js +117 -0
- package/lib/@antv/l7-layers/lib/earth/shaders/atmosphere/atmosphere_frag.glsl +20 -0
- package/lib/@antv/l7-layers/lib/earth/shaders/atmosphere/atmosphere_vert.glsl +22 -0
- package/lib/@antv/l7-layers/lib/earth/shaders/base/base_frag.glsl +11 -0
- package/lib/@antv/l7-layers/lib/earth/shaders/base/base_vert.glsl +52 -0
- package/lib/@antv/l7-layers/lib/earth/shaders/bloomshpere/bloomsphere_frag.glsl +16 -0
- package/lib/@antv/l7-layers/lib/earth/shaders/bloomshpere/bloomsphere_vert.glsl +19 -0
- package/lib/@antv/l7-layers/lib/earth/utils.d.ts +26 -0
- package/lib/@antv/l7-layers/lib/earth/utils.js +107 -0
- package/lib/@antv/l7-layers/lib/geometry/index.d.ts +22 -0
- package/lib/@antv/l7-layers/lib/geometry/index.js +62 -0
- package/lib/@antv/l7-layers/lib/geometry/models/billboard.d.ts +24 -0
- package/lib/@antv/l7-layers/lib/geometry/models/billboard.js +177 -0
- package/lib/@antv/l7-layers/lib/geometry/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/lib/geometry/models/index.js +16 -0
- package/lib/@antv/l7-layers/lib/geometry/models/plane.d.ts +43 -0
- package/lib/@antv/l7-layers/lib/geometry/models/plane.js +321 -0
- package/lib/@antv/l7-layers/lib/geometry/models/sprite.d.ts +48 -0
- package/lib/@antv/l7-layers/lib/geometry/models/sprite.js +239 -0
- package/lib/@antv/l7-layers/lib/geometry/shaders/billboard_frag.glsl +18 -0
- package/lib/@antv/l7-layers/lib/geometry/shaders/billboard_vert.glsl +40 -0
- package/lib/@antv/l7-layers/lib/geometry/shaders/plane_frag.glsl +26 -0
- package/lib/@antv/l7-layers/lib/geometry/shaders/plane_vert.glsl +32 -0
- package/lib/@antv/l7-layers/lib/geometry/shaders/sprite_frag.glsl +25 -0
- package/lib/@antv/l7-layers/lib/geometry/shaders/sprite_vert.glsl +23 -0
- package/lib/@antv/l7-layers/lib/heatmap/index.d.ts +13 -0
- package/lib/@antv/l7-layers/lib/heatmap/index.js +95 -0
- package/lib/@antv/l7-layers/lib/heatmap/models/grid.d.ts +15 -0
- package/lib/@antv/l7-layers/lib/heatmap/models/grid.js +84 -0
- package/lib/@antv/l7-layers/lib/heatmap/models/grid3d.d.ts +15 -0
- package/lib/@antv/l7-layers/lib/heatmap/models/grid3d.js +122 -0
- package/lib/@antv/l7-layers/lib/heatmap/models/heatmap.d.ts +27 -0
- package/lib/@antv/l7-layers/lib/heatmap/models/heatmap.js +443 -0
- package/lib/@antv/l7-layers/lib/heatmap/models/hexagon.d.ts +15 -0
- package/lib/@antv/l7-layers/lib/heatmap/models/hexagon.js +84 -0
- package/lib/@antv/l7-layers/lib/heatmap/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/lib/heatmap/models/index.js +19 -0
- package/lib/@antv/l7-layers/lib/heatmap/shaders/grid/grid_frag.glsl +9 -0
- package/lib/@antv/l7-layers/lib/heatmap/shaders/grid/grid_vert.glsl +42 -0
- package/lib/@antv/l7-layers/lib/heatmap/shaders/grid3d/grid_3d_frag.glsl +17 -0
- package/lib/@antv/l7-layers/lib/heatmap/shaders/grid3d/grid_3d_vert.glsl +46 -0
- package/lib/@antv/l7-layers/lib/heatmap/shaders/heatmap/heatmap_3d_frag.glsl +24 -0
- package/lib/@antv/l7-layers/lib/heatmap/shaders/heatmap/heatmap_3d_vert.glsl +56 -0
- package/lib/@antv/l7-layers/lib/heatmap/shaders/heatmap/heatmap_frag.glsl +52 -0
- package/lib/@antv/l7-layers/lib/heatmap/shaders/heatmap/heatmap_framebuffer_frag.glsl +17 -0
- package/lib/@antv/l7-layers/lib/heatmap/shaders/heatmap/heatmap_framebuffer_vert.glsl +42 -0
- package/lib/@antv/l7-layers/lib/heatmap/shaders/heatmap/heatmap_vert.glsl +22 -0
- package/lib/@antv/l7-layers/lib/heatmap/shaders/hexagon/hexagon_frag.glsl +8 -0
- package/lib/@antv/l7-layers/lib/heatmap/shaders/hexagon/hexagon_vert.glsl +40 -0
- package/lib/@antv/l7-layers/lib/heatmap/triangulation.d.ts +5 -0
- package/lib/@antv/l7-layers/lib/heatmap/triangulation.js +39 -0
- package/lib/@antv/l7-layers/lib/image/index.d.ts +9 -0
- package/lib/@antv/l7-layers/lib/image/index.js +36 -0
- package/lib/@antv/l7-layers/lib/image/models/image.d.ts +17 -0
- package/lib/@antv/l7-layers/lib/image/models/image.js +117 -0
- package/lib/@antv/l7-layers/lib/image/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/lib/image/models/index.js +12 -0
- package/lib/@antv/l7-layers/lib/image/shaders/dataImage_frag.glsl +32 -0
- package/lib/@antv/l7-layers/lib/image/shaders/image_frag.glsl +38 -0
- package/lib/@antv/l7-layers/lib/image/shaders/image_vert.glsl +19 -0
- package/lib/@antv/l7-layers/lib/index.d.ts +18 -0
- package/lib/@antv/l7-layers/lib/index.js +148 -0
- package/lib/@antv/l7-layers/lib/line/index.d.ts +36 -0
- package/lib/@antv/l7-layers/lib/line/index.js +99 -0
- package/lib/@antv/l7-layers/lib/line/models/arc.d.ts +22 -0
- package/lib/@antv/l7-layers/lib/line/models/arc.js +238 -0
- package/lib/@antv/l7-layers/lib/line/models/arc_3d.d.ts +22 -0
- package/lib/@antv/l7-layers/lib/line/models/arc_3d.js +229 -0
- package/lib/@antv/l7-layers/lib/line/models/flow.d.ts +14 -0
- package/lib/@antv/l7-layers/lib/line/models/flow.js +120 -0
- package/lib/@antv/l7-layers/lib/line/models/great_circle.d.ts +17 -0
- package/lib/@antv/l7-layers/lib/line/models/great_circle.js +220 -0
- package/lib/@antv/l7-layers/lib/line/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/lib/line/models/index.js +25 -0
- package/lib/@antv/l7-layers/lib/line/models/line.d.ts +27 -0
- package/lib/@antv/l7-layers/lib/line/models/line.js +272 -0
- package/lib/@antv/l7-layers/lib/line/models/simple_line.d.ts +19 -0
- package/lib/@antv/l7-layers/lib/line/models/simple_line.js +161 -0
- package/lib/@antv/l7-layers/lib/line/models/wall.d.ts +17 -0
- package/lib/@antv/l7-layers/lib/line/models/wall.js +257 -0
- package/lib/@antv/l7-layers/lib/line/shaders/arc/line_arc_frag.glsl +92 -0
- package/lib/@antv/l7-layers/lib/line/shaders/arc/line_arc_vert.glsl +164 -0
- package/lib/@antv/l7-layers/lib/line/shaders/arc3d/line_arc_3d_frag.glsl +109 -0
- package/lib/@antv/l7-layers/lib/line/shaders/arc3d/line_arc_3d_vert.glsl +182 -0
- package/lib/@antv/l7-layers/lib/line/shaders/flow/flow_line_frag.glsl +14 -0
- package/lib/@antv/l7-layers/lib/line/shaders/flow/flow_line_vert.glsl +94 -0
- package/lib/@antv/l7-layers/lib/line/shaders/greatCircle/line_arc_great_circle_frag.glsl +99 -0
- package/lib/@antv/l7-layers/lib/line/shaders/greatCircle/line_arc_great_circle_vert.glsl +186 -0
- package/lib/@antv/l7-layers/lib/line/shaders/line/line_frag.glsl +122 -0
- package/lib/@antv/l7-layers/lib/line/shaders/line/line_vert.glsl +118 -0
- package/lib/@antv/l7-layers/lib/line/shaders/simple/simpleline_frag.glsl +30 -0
- package/lib/@antv/l7-layers/lib/line/shaders/simple/simpleline_vert.glsl +50 -0
- package/lib/@antv/l7-layers/lib/line/shaders/wall/wall_frag.glsl +92 -0
- package/lib/@antv/l7-layers/lib/line/shaders/wall/wall_vert.glsl +100 -0
- package/lib/@antv/l7-layers/lib/mask/index.d.ts +16 -0
- package/lib/@antv/l7-layers/lib/mask/index.js +29 -0
- package/lib/@antv/l7-layers/lib/mask/models/fill.d.ts +18 -0
- package/lib/@antv/l7-layers/lib/mask/models/fill.js +68 -0
- package/lib/@antv/l7-layers/lib/mask/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/lib/mask/models/index.js +12 -0
- package/lib/@antv/l7-layers/lib/mask/shaders/mask_vert.glsl +19 -0
- package/lib/@antv/l7-layers/lib/plugins/DataMappingPlugin.d.ts +13 -0
- package/lib/@antv/l7-layers/lib/plugins/DataMappingPlugin.js +237 -0
- package/lib/@antv/l7-layers/lib/plugins/DataSourcePlugin.d.ts +6 -0
- package/lib/@antv/l7-layers/lib/plugins/DataSourcePlugin.js +83 -0
- package/lib/@antv/l7-layers/lib/plugins/FeatureScalePlugin.d.ts +20 -0
- package/lib/@antv/l7-layers/lib/plugins/FeatureScalePlugin.js +304 -0
- package/lib/@antv/l7-layers/lib/plugins/LayerAnimateStylePlugin.d.ts +4 -0
- package/lib/@antv/l7-layers/lib/plugins/LayerAnimateStylePlugin.js +22 -0
- package/lib/@antv/l7-layers/lib/plugins/LayerMaskPlugin.d.ts +7 -0
- package/lib/@antv/l7-layers/lib/plugins/LayerMaskPlugin.js +26 -0
- package/lib/@antv/l7-layers/lib/plugins/LayerModelPlugin.d.ts +10 -0
- package/lib/@antv/l7-layers/lib/plugins/LayerModelPlugin.js +68 -0
- package/lib/@antv/l7-layers/lib/plugins/LayerStylePlugin.d.ts +7 -0
- package/lib/@antv/l7-layers/lib/plugins/LayerStylePlugin.js +25 -0
- package/lib/@antv/l7-layers/lib/plugins/LightingPlugin.d.ts +35 -0
- package/lib/@antv/l7-layers/lib/plugins/LightingPlugin.js +93 -0
- package/lib/@antv/l7-layers/lib/plugins/MultiPassRendererPlugin.d.ts +22 -0
- package/lib/@antv/l7-layers/lib/plugins/MultiPassRendererPlugin.js +59 -0
- package/lib/@antv/l7-layers/lib/plugins/PixelPickingPlugin.d.ts +11 -0
- package/lib/@antv/l7-layers/lib/plugins/PixelPickingPlugin.js +154 -0
- package/lib/@antv/l7-layers/lib/plugins/RegisterStyleAttributePlugin.d.ts +11 -0
- package/lib/@antv/l7-layers/lib/plugins/RegisterStyleAttributePlugin.js +100 -0
- package/lib/@antv/l7-layers/lib/plugins/ShaderUniformPlugin.d.ts +22 -0
- package/lib/@antv/l7-layers/lib/plugins/ShaderUniformPlugin.js +183 -0
- package/lib/@antv/l7-layers/lib/plugins/UpdateModelPlugin.d.ts +7 -0
- package/lib/@antv/l7-layers/lib/plugins/UpdateModelPlugin.js +27 -0
- package/lib/@antv/l7-layers/lib/plugins/UpdateStyleAttributePlugin.d.ts +9 -0
- package/lib/@antv/l7-layers/lib/plugins/UpdateStyleAttributePlugin.js +61 -0
- package/lib/@antv/l7-layers/lib/plugins/index.d.ts +15 -0
- package/lib/@antv/l7-layers/lib/plugins/index.js +26 -0
- package/lib/@antv/l7-layers/lib/point/index.d.ts +33 -0
- package/lib/@antv/l7-layers/lib/point/index.js +151 -0
- package/lib/@antv/l7-layers/lib/point/models/billboard_point.d.ts +21 -0
- package/lib/@antv/l7-layers/lib/point/models/billboard_point.js +96 -0
- package/lib/@antv/l7-layers/lib/point/models/earthExtrude.d.ts +16 -0
- package/lib/@antv/l7-layers/lib/point/models/earthExtrude.js +200 -0
- package/lib/@antv/l7-layers/lib/point/models/earthFill.d.ts +15 -0
- package/lib/@antv/l7-layers/lib/point/models/earthFill.js +158 -0
- package/lib/@antv/l7-layers/lib/point/models/extrude.d.ts +16 -0
- package/lib/@antv/l7-layers/lib/point/models/extrude.js +196 -0
- package/lib/@antv/l7-layers/lib/point/models/fill.d.ts +31 -0
- package/lib/@antv/l7-layers/lib/point/models/fill.js +177 -0
- package/lib/@antv/l7-layers/lib/point/models/fillImage.d.ts +26 -0
- package/lib/@antv/l7-layers/lib/point/models/fillImage.js +197 -0
- package/lib/@antv/l7-layers/lib/point/models/image.d.ts +18 -0
- package/lib/@antv/l7-layers/lib/point/models/image.js +166 -0
- package/lib/@antv/l7-layers/lib/point/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/lib/point/models/index.js +32 -0
- package/lib/@antv/l7-layers/lib/point/models/normal.d.ts +22 -0
- package/lib/@antv/l7-layers/lib/point/models/normal.js +90 -0
- package/lib/@antv/l7-layers/lib/point/models/radar.d.ts +22 -0
- package/lib/@antv/l7-layers/lib/point/models/radar.js +114 -0
- package/lib/@antv/l7-layers/lib/point/models/text.d.ts +69 -0
- package/lib/@antv/l7-layers/lib/point/models/text.js +505 -0
- package/lib/@antv/l7-layers/lib/point/shaders/billboard/billboard_point_frag.glsl +50 -0
- package/lib/@antv/l7-layers/lib/point/shaders/billboard/billboard_point_vert.glsl +36 -0
- package/lib/@antv/l7-layers/lib/point/shaders/earthExtrude/earthExtrude_frag.glsl +36 -0
- package/lib/@antv/l7-layers/lib/point/shaders/earthExtrude/earthExtrude_vert.glsl +128 -0
- package/lib/@antv/l7-layers/lib/point/shaders/earthFill/earthFill_frag.glsl +79 -0
- package/lib/@antv/l7-layers/lib/point/shaders/earthFill/earthFill_vert.glsl +46 -0
- package/lib/@antv/l7-layers/lib/point/shaders/extrude/extrude_frag.glsl +31 -0
- package/lib/@antv/l7-layers/lib/point/shaders/extrude/extrude_vert.glsl +99 -0
- package/lib/@antv/l7-layers/lib/point/shaders/fill/fill_frag.glsl +100 -0
- package/lib/@antv/l7-layers/lib/point/shaders/fill/fill_vert.glsl +81 -0
- package/lib/@antv/l7-layers/lib/point/shaders/fillImage/fillImage_frag.glsl +23 -0
- package/lib/@antv/l7-layers/lib/point/shaders/fillImage/fillImage_vert.glsl +57 -0
- package/lib/@antv/l7-layers/lib/point/shaders/image/image_frag.glsl +42 -0
- package/lib/@antv/l7-layers/lib/point/shaders/image/image_vert.glsl +44 -0
- package/lib/@antv/l7-layers/lib/point/shaders/normal/normal_frag.glsl +5 -0
- package/lib/@antv/l7-layers/lib/point/shaders/normal/normal_vert.glsl +25 -0
- package/lib/@antv/l7-layers/lib/point/shaders/radar/radar_frag.glsl +52 -0
- package/lib/@antv/l7-layers/lib/point/shaders/radar/radar_vert.glsl +53 -0
- package/lib/@antv/l7-layers/lib/point/shaders/text/text_frag.glsl +45 -0
- package/lib/@antv/l7-layers/lib/point/shaders/text/text_vert.glsl +64 -0
- package/lib/@antv/l7-layers/lib/point/shape/extrude.d.ts +15 -0
- package/lib/@antv/l7-layers/lib/point/shape/extrude.js +56 -0
- package/lib/@antv/l7-layers/lib/polygon/index.d.ts +18 -0
- package/lib/@antv/l7-layers/lib/polygon/index.js +80 -0
- package/lib/@antv/l7-layers/lib/polygon/models/extrude.d.ts +25 -0
- package/lib/@antv/l7-layers/lib/polygon/models/extrude.js +241 -0
- package/lib/@antv/l7-layers/lib/polygon/models/extrusion.d.ts +24 -0
- package/lib/@antv/l7-layers/lib/polygon/models/extrusion.js +115 -0
- package/lib/@antv/l7-layers/lib/polygon/models/fill.d.ts +18 -0
- package/lib/@antv/l7-layers/lib/polygon/models/fill.js +127 -0
- package/lib/@antv/l7-layers/lib/polygon/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/lib/polygon/models/index.js +33 -0
- package/lib/@antv/l7-layers/lib/polygon/models/ocean.d.ts +23 -0
- package/lib/@antv/l7-layers/lib/polygon/models/ocean.js +164 -0
- package/lib/@antv/l7-layers/lib/polygon/models/water.d.ts +21 -0
- package/lib/@antv/l7-layers/lib/polygon/models/water.js +142 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/extrude/polygon_extrude_frag.glsl +25 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/extrude/polygon_extrude_picklight_frag.glsl +50 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/extrude/polygon_extrude_picklight_vert.glsl +51 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/extrude/polygon_extrude_vert.glsl +72 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/extrude/polygon_extrudetex_frag.glsl +54 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/extrude/polygon_extrudetex_vert.glsl +54 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/extrusion/polygon_extrusion_frag.glsl +10 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/extrusion/polygon_extrusion_vert.glsl +24 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/fill/fill_frag.glsl +8 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/fill/fill_linear_frag.glsl +21 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/fill/fill_linear_vert.glsl +35 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/fill/fill_vert.glsl +37 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/ocean/ocean_frag.glsl +247 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/ocean/ocean_vert.glsl +22 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/water/polygon_water_frag.glsl +73 -0
- package/lib/@antv/l7-layers/lib/polygon/shaders/water/polygon_water_vert.glsl +22 -0
- package/lib/@antv/l7-layers/lib/raster/buffers/triangulation.d.ts +6 -0
- package/lib/@antv/l7-layers/lib/raster/buffers/triangulation.js +33 -0
- package/lib/@antv/l7-layers/lib/raster/index.d.ts +11 -0
- package/lib/@antv/l7-layers/lib/raster/index.js +62 -0
- package/lib/@antv/l7-layers/lib/raster/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/lib/raster/models/index.js +17 -0
- package/lib/@antv/l7-layers/lib/raster/models/raster.d.ts +21 -0
- package/lib/@antv/l7-layers/lib/raster/models/raster.js +154 -0
- package/lib/@antv/l7-layers/lib/raster/models/rasterRgb.d.ts +21 -0
- package/lib/@antv/l7-layers/lib/raster/models/rasterRgb.js +157 -0
- package/lib/@antv/l7-layers/lib/raster/models/rasterTerrainRgb.d.ts +16 -0
- package/lib/@antv/l7-layers/lib/raster/models/rasterTerrainRgb.js +118 -0
- package/lib/@antv/l7-layers/lib/raster/shaders/raster/raster_2d_frag.glsl +34 -0
- package/lib/@antv/l7-layers/lib/raster/shaders/raster/raster_2d_vert.glsl +21 -0
- package/lib/@antv/l7-layers/lib/raster/shaders/rgb/raster_rgb_frag.glsl +27 -0
- package/lib/@antv/l7-layers/lib/raster/shaders/rgb/raster_rgb_vert.glsl +21 -0
- package/lib/@antv/l7-layers/lib/raster/shaders/terrain/terrain_rgb_frag.glsl +43 -0
- package/lib/@antv/l7-layers/lib/raster/shaders/terrain/terrain_rgb_vert.glsl +19 -0
- package/lib/@antv/l7-layers/lib/shader/minify_frag.glsl +11 -0
- package/lib/@antv/l7-layers/lib/shader/minify_picking_frag.glsl +10 -0
- package/lib/@antv/l7-layers/lib/tile/core/BaseLayer.d.ts +47 -0
- package/lib/@antv/l7-layers/lib/tile/core/BaseLayer.js +272 -0
- package/lib/@antv/l7-layers/lib/tile/core/TileDebugLayer.d.ts +15 -0
- package/lib/@antv/l7-layers/lib/tile/core/TileDebugLayer.js +31 -0
- package/lib/@antv/l7-layers/lib/tile/interaction/getFeatureData.d.ts +0 -0
- package/lib/@antv/l7-layers/lib/tile/interaction/getFeatureData.js +1 -0
- package/lib/@antv/l7-layers/lib/tile/interaction/getRasterData.d.ts +4 -0
- package/lib/@antv/l7-layers/lib/tile/interaction/getRasterData.js +52 -0
- package/lib/@antv/l7-layers/lib/tile/interaction/utils.d.ts +11 -0
- package/lib/@antv/l7-layers/lib/tile/interaction/utils.js +81 -0
- package/lib/@antv/l7-layers/lib/tile/interface.d.ts +29 -0
- package/lib/@antv/l7-layers/lib/tile/interface.js +5 -0
- package/lib/@antv/l7-layers/lib/tile/service/TileLayerService.d.ts +33 -0
- package/lib/@antv/l7-layers/lib/tile/service/TileLayerService.js +131 -0
- package/lib/@antv/l7-layers/lib/tile/service/TilePickService.d.ts +26 -0
- package/lib/@antv/l7-layers/lib/tile/service/TilePickService.js +128 -0
- package/lib/@antv/l7-layers/lib/tile/service/TileSourceService.d.ts +7 -0
- package/lib/@antv/l7-layers/lib/tile/service/TileSourceService.js +35 -0
- package/lib/@antv/l7-layers/lib/tile/tile/DebugTile.d.ts +16 -0
- package/lib/@antv/l7-layers/lib/tile/tile/DebugTile.js +55 -0
- package/lib/@antv/l7-layers/lib/tile/tile/ImageTile.d.ts +14 -0
- package/lib/@antv/l7-layers/lib/tile/tile/ImageTile.js +47 -0
- package/lib/@antv/l7-layers/lib/tile/tile/MaskTile.d.ts +18 -0
- package/lib/@antv/l7-layers/lib/tile/tile/MaskTile.js +62 -0
- package/lib/@antv/l7-layers/lib/tile/tile/RasterRGBTile.d.ts +11 -0
- package/lib/@antv/l7-layers/lib/tile/tile/RasterRGBTile.js +55 -0
- package/lib/@antv/l7-layers/lib/tile/tile/RasterTerrainRGBTile.d.ts +14 -0
- package/lib/@antv/l7-layers/lib/tile/tile/RasterTerrainRGBTile.js +47 -0
- package/lib/@antv/l7-layers/lib/tile/tile/RasterTile.d.ts +18 -0
- package/lib/@antv/l7-layers/lib/tile/tile/RasterTile.js +89 -0
- package/lib/@antv/l7-layers/lib/tile/tile/Tile.d.ts +112 -0
- package/lib/@antv/l7-layers/lib/tile/tile/Tile.js +174 -0
- package/lib/@antv/l7-layers/lib/tile/tile/VectorTile.d.ts +26 -0
- package/lib/@antv/l7-layers/lib/tile/tile/VectorTile.js +95 -0
- package/lib/@antv/l7-layers/lib/tile/tile/index.d.ts +12 -0
- package/lib/@antv/l7-layers/lib/tile/tile/index.js +76 -0
- package/lib/@antv/l7-layers/lib/tile/tile/util.d.ts +5 -0
- package/lib/@antv/l7-layers/lib/tile/tile/util.js +26 -0
- package/lib/@antv/l7-layers/lib/tile/utils/constants.d.ts +1 -0
- package/lib/@antv/l7-layers/lib/tile/utils/constants.js +14 -0
- package/lib/@antv/l7-layers/lib/tile/utils/utils.d.ts +8 -0
- package/lib/@antv/l7-layers/lib/tile/utils/utils.js +18 -0
- package/lib/@antv/l7-layers/lib/utils/blend.d.ts +2 -0
- package/lib/@antv/l7-layers/lib/utils/blend.js +63 -0
- package/lib/@antv/l7-layers/lib/utils/collision-index.d.ts +47 -0
- package/lib/@antv/l7-layers/lib/utils/collision-index.js +96 -0
- package/lib/@antv/l7-layers/lib/utils/extrude_polyline.d.ts +68 -0
- package/lib/@antv/l7-layers/lib/utils/extrude_polyline.js +547 -0
- package/lib/@antv/l7-layers/lib/utils/grid-index.d.ts +28 -0
- package/lib/@antv/l7-layers/lib/utils/grid-index.js +135 -0
- package/lib/@antv/l7-layers/lib/utils/identityScale.d.ts +8 -0
- package/lib/@antv/l7-layers/lib/utils/identityScale.js +32 -0
- package/lib/@antv/l7-layers/lib/utils/load-image.d.ts +1 -0
- package/lib/@antv/l7-layers/lib/utils/load-image.js +29 -0
- package/lib/@antv/l7-layers/lib/utils/multiPassRender.d.ts +16 -0
- package/lib/@antv/l7-layers/lib/utils/multiPassRender.js +44 -0
- package/lib/@antv/l7-layers/lib/utils/polylineNormal.d.ts +9 -0
- package/lib/@antv/l7-layers/lib/utils/polylineNormal.js +191 -0
- package/lib/@antv/l7-layers/lib/utils/rampcolor_legend.d.ts +6 -0
- package/lib/@antv/l7-layers/lib/utils/rampcolor_legend.js +18 -0
- package/lib/@antv/l7-layers/lib/utils/simpleLine.d.ts +23 -0
- package/lib/@antv/l7-layers/lib/utils/simpleLine.js +85 -0
- package/lib/@antv/l7-layers/lib/utils/stencil.d.ts +7 -0
- package/lib/@antv/l7-layers/lib/utils/stencil.js +56 -0
- package/lib/@antv/l7-layers/lib/utils/symbol-layout.d.ts +43 -0
- package/lib/@antv/l7-layers/lib/utils/symbol-layout.js +258 -0
- package/lib/@antv/l7-layers/lib/wind/index.d.ts +11 -0
- package/lib/@antv/l7-layers/lib/wind/index.js +42 -0
- package/lib/@antv/l7-layers/lib/wind/models/index.d.ts +5 -0
- package/lib/@antv/l7-layers/lib/wind/models/index.js +12 -0
- package/lib/@antv/l7-layers/lib/wind/models/utils.d.ts +19 -0
- package/lib/@antv/l7-layers/lib/wind/models/utils.js +220 -0
- package/lib/@antv/l7-layers/lib/wind/models/wind.d.ts +24 -0
- package/lib/@antv/l7-layers/lib/wind/models/wind.js +240 -0
- package/lib/@antv/l7-layers/lib/wind/models/windRender.d.ts +104 -0
- package/lib/@antv/l7-layers/lib/wind/models/windRender.js +343 -0
- package/lib/@antv/l7-layers/lib/wind/models/windShader.d.ts +12 -0
- package/lib/@antv/l7-layers/lib/wind/models/windShader.js +157 -0
- package/lib/@antv/l7-layers/lib/wind/shaders/wind_frag.glsl +9 -0
- package/lib/@antv/l7-layers/lib/wind/shaders/wind_vert.glsl +13 -0
- package/lib/@antv/l7-layers/package.json +62 -0
- package/lib/@antv/l7-map/LICENSE.md +21 -0
- package/lib/@antv/l7-map/README.md +11 -0
- package/lib/@antv/l7-map/es/camera.d.ts +86 -0
- package/lib/@antv/l7-map/es/camera.js +639 -0
- package/lib/@antv/l7-map/es/css/l7.css +129 -0
- package/lib/@antv/l7-map/es/earthmap.d.ts +69 -0
- package/lib/@antv/l7-map/es/earthmap.js +445 -0
- package/lib/@antv/l7-map/es/geo/edge_insets.d.ts +54 -0
- package/lib/@antv/l7-map/es/geo/edge_insets.js +93 -0
- package/lib/@antv/l7-map/es/geo/lng_lat.d.ts +18 -0
- package/lib/@antv/l7-map/es/geo/lng_lat.js +59 -0
- package/lib/@antv/l7-map/es/geo/lng_lat_bounds.d.ts +25 -0
- package/lib/@antv/l7-map/es/geo/lng_lat_bounds.js +118 -0
- package/lib/@antv/l7-map/es/geo/mercator.d.ts +30 -0
- package/lib/@antv/l7-map/es/geo/mercator.js +72 -0
- package/lib/@antv/l7-map/es/geo/point.d.ts +40 -0
- package/lib/@antv/l7-map/es/geo/point.js +153 -0
- package/lib/@antv/l7-map/es/geo/simple.d.ts +30 -0
- package/lib/@antv/l7-map/es/geo/simple.js +75 -0
- package/lib/@antv/l7-map/es/geo/transform.d.ts +198 -0
- package/lib/@antv/l7-map/es/geo/transform.js +895 -0
- package/lib/@antv/l7-map/es/handler/IHandler.d.ts +34 -0
- package/lib/@antv/l7-map/es/handler/IHandler.js +1 -0
- package/lib/@antv/l7-map/es/handler/blockable_map_event.d.ts +17 -0
- package/lib/@antv/l7-map/es/handler/blockable_map_event.js +58 -0
- package/lib/@antv/l7-map/es/handler/box_zoom.d.ts +59 -0
- package/lib/@antv/l7-map/es/handler/box_zoom.js +162 -0
- package/lib/@antv/l7-map/es/handler/click_zoom.d.ts +16 -0
- package/lib/@antv/l7-map/es/handler/click_zoom.js +40 -0
- package/lib/@antv/l7-map/es/handler/events/event.d.ts +4 -0
- package/lib/@antv/l7-map/es/handler/events/event.js +12 -0
- package/lib/@antv/l7-map/es/handler/events/index.d.ts +4 -0
- package/lib/@antv/l7-map/es/handler/events/index.js +4 -0
- package/lib/@antv/l7-map/es/handler/events/map_mouse_event.d.ts +34 -0
- package/lib/@antv/l7-map/es/handler/events/map_mouse_event.js +45 -0
- package/lib/@antv/l7-map/es/handler/events/map_touch_event.d.ts +57 -0
- package/lib/@antv/l7-map/es/handler/events/map_touch_event.js +75 -0
- package/lib/@antv/l7-map/es/handler/events/map_wheel_event.d.ts +33 -0
- package/lib/@antv/l7-map/es/handler/events/map_wheel_event.js +33 -0
- package/lib/@antv/l7-map/es/handler/events/render_event.d.ts +6 -0
- package/lib/@antv/l7-map/es/handler/events/render_event.js +10 -0
- package/lib/@antv/l7-map/es/handler/handler_inertia.d.ts +23 -0
- package/lib/@antv/l7-map/es/handler/handler_inertia.js +142 -0
- package/lib/@antv/l7-map/es/handler/handler_manager.d.ts +61 -0
- package/lib/@antv/l7-map/es/handler/handler_manager.js +487 -0
- package/lib/@antv/l7-map/es/handler/handler_util.d.ts +4 -0
- package/lib/@antv/l7-map/es/handler/handler_util.js +9 -0
- package/lib/@antv/l7-map/es/handler/keyboard.d.ts +36 -0
- package/lib/@antv/l7-map/es/handler/keyboard.js +131 -0
- package/lib/@antv/l7-map/es/handler/map_event.d.ts +29 -0
- package/lib/@antv/l7-map/es/handler/map_event.js +89 -0
- package/lib/@antv/l7-map/es/handler/mouse/index.d.ts +4 -0
- package/lib/@antv/l7-map/es/handler/mouse/index.js +4 -0
- package/lib/@antv/l7-map/es/handler/mouse/mouse_handler.d.ts +22 -0
- package/lib/@antv/l7-map/es/handler/mouse/mouse_handler.js +99 -0
- package/lib/@antv/l7-map/es/handler/mouse/mousepan_handler.d.ts +10 -0
- package/lib/@antv/l7-map/es/handler/mouse/mousepan_handler.js +21 -0
- package/lib/@antv/l7-map/es/handler/mouse/mousepitch_hander.d.ts +9 -0
- package/lib/@antv/l7-map/es/handler/mouse/mousepitch_hander.js +24 -0
- package/lib/@antv/l7-map/es/handler/mouse/mouserotate_hander.d.ts +9 -0
- package/lib/@antv/l7-map/es/handler/mouse/mouserotate_hander.js +24 -0
- package/lib/@antv/l7-map/es/handler/mouse/util.d.ts +6 -0
- package/lib/@antv/l7-map/es/handler/mouse/util.js +12 -0
- package/lib/@antv/l7-map/es/handler/scroll_zoom.d.ts +93 -0
- package/lib/@antv/l7-map/es/handler/scroll_zoom.js +315 -0
- package/lib/@antv/l7-map/es/handler/shim/dblclick_zoom.d.ts +40 -0
- package/lib/@antv/l7-map/es/handler/shim/dblclick_zoom.js +56 -0
- package/lib/@antv/l7-map/es/handler/shim/drag_pan.d.ts +61 -0
- package/lib/@antv/l7-map/es/handler/shim/drag_pan.js +75 -0
- package/lib/@antv/l7-map/es/handler/shim/drag_rotate.d.ts +46 -0
- package/lib/@antv/l7-map/es/handler/shim/drag_rotate.js +64 -0
- package/lib/@antv/l7-map/es/handler/shim/touch_zoom_rotate.d.ts +70 -0
- package/lib/@antv/l7-map/es/handler/shim/touch_zoom_rotate.js +104 -0
- package/lib/@antv/l7-map/es/handler/tap/single_tap_recognizer.d.ts +20 -0
- package/lib/@antv/l7-map/es/handler/tap/single_tap_recognizer.js +77 -0
- package/lib/@antv/l7-map/es/handler/tap/tap_drag_zoom.d.ts +22 -0
- package/lib/@antv/l7-map/es/handler/tap/tap_drag_zoom.js +89 -0
- package/lib/@antv/l7-map/es/handler/tap/tap_recognizer.d.ts +17 -0
- package/lib/@antv/l7-map/es/handler/tap/tap_recognizer.js +46 -0
- package/lib/@antv/l7-map/es/handler/tap/tap_zoom.d.ts +22 -0
- package/lib/@antv/l7-map/es/handler/tap/tap_zoom.js +81 -0
- package/lib/@antv/l7-map/es/handler/touch/index.d.ts +5 -0
- package/lib/@antv/l7-map/es/handler/touch/index.js +5 -0
- package/lib/@antv/l7-map/es/handler/touch/touch_pan.d.ts +30 -0
- package/lib/@antv/l7-map/es/handler/touch/touch_pan.js +91 -0
- package/lib/@antv/l7-map/es/handler/touch/touch_pitch.d.ts +13 -0
- package/lib/@antv/l7-map/es/handler/touch/touch_pitch.js +75 -0
- package/lib/@antv/l7-map/es/handler/touch/touch_rotate.d.ts +12 -0
- package/lib/@antv/l7-map/es/handler/touch/touch_rotate.js +57 -0
- package/lib/@antv/l7-map/es/handler/touch/touch_zoom.d.ts +12 -0
- package/lib/@antv/l7-map/es/handler/touch/touch_zoom.js +37 -0
- package/lib/@antv/l7-map/es/handler/touch/two_touch.d.ts +23 -0
- package/lib/@antv/l7-map/es/handler/touch/two_touch.js +98 -0
- package/lib/@antv/l7-map/es/hash.d.ts +14 -0
- package/lib/@antv/l7-map/es/hash.js +121 -0
- package/lib/@antv/l7-map/es/index.d.ts +4 -0
- package/lib/@antv/l7-map/es/index.js +4 -0
- package/lib/@antv/l7-map/es/interface.d.ts +34 -0
- package/lib/@antv/l7-map/es/interface.js +1 -0
- package/lib/@antv/l7-map/es/map.d.ts +70 -0
- package/lib/@antv/l7-map/es/map.js +472 -0
- package/lib/@antv/l7-map/es/util.d.ts +25 -0
- package/lib/@antv/l7-map/es/util.js +70 -0
- package/lib/@antv/l7-map/es/utils/Aabb.d.ts +12 -0
- package/lib/@antv/l7-map/es/utils/Aabb.js +72 -0
- package/lib/@antv/l7-map/es/utils/dom.d.ts +4 -0
- package/lib/@antv/l7-map/es/utils/dom.js +117 -0
- package/lib/@antv/l7-map/es/utils/performance.d.ts +17 -0
- package/lib/@antv/l7-map/es/utils/performance.js +58 -0
- package/lib/@antv/l7-map/es/utils/primitives.d.ts +6 -0
- package/lib/@antv/l7-map/es/utils/primitives.js +37 -0
- package/lib/@antv/l7-map/es/utils/task_queue.d.ts +13 -0
- package/lib/@antv/l7-map/es/utils/task_queue.js +60 -0
- package/lib/@antv/l7-map/lib/camera.d.ts +86 -0
- package/lib/@antv/l7-map/lib/camera.js +648 -0
- package/lib/@antv/l7-map/lib/css/l7.css +129 -0
- package/lib/@antv/l7-map/lib/earthmap.d.ts +69 -0
- package/lib/@antv/l7-map/lib/earthmap.js +451 -0
- package/lib/@antv/l7-map/lib/geo/edge_insets.d.ts +54 -0
- package/lib/@antv/l7-map/lib/geo/edge_insets.js +101 -0
- package/lib/@antv/l7-map/lib/geo/lng_lat.d.ts +18 -0
- package/lib/@antv/l7-map/lib/geo/lng_lat.js +67 -0
- package/lib/@antv/l7-map/lib/geo/lng_lat_bounds.d.ts +25 -0
- package/lib/@antv/l7-map/lib/geo/lng_lat_bounds.js +126 -0
- package/lib/@antv/l7-map/lib/geo/mercator.d.ts +30 -0
- package/lib/@antv/l7-map/lib/geo/mercator.js +88 -0
- package/lib/@antv/l7-map/lib/geo/point.d.ts +40 -0
- package/lib/@antv/l7-map/lib/geo/point.js +161 -0
- package/lib/@antv/l7-map/lib/geo/simple.d.ts +30 -0
- package/lib/@antv/l7-map/lib/geo/simple.js +92 -0
- package/lib/@antv/l7-map/lib/geo/transform.d.ts +198 -0
- package/lib/@antv/l7-map/lib/geo/transform.js +906 -0
- package/lib/@antv/l7-map/lib/handler/IHandler.d.ts +34 -0
- package/lib/@antv/l7-map/lib/handler/IHandler.js +5 -0
- package/lib/@antv/l7-map/lib/handler/blockable_map_event.d.ts +17 -0
- package/lib/@antv/l7-map/lib/handler/blockable_map_event.js +66 -0
- package/lib/@antv/l7-map/lib/handler/box_zoom.d.ts +59 -0
- package/lib/@antv/l7-map/lib/handler/box_zoom.js +168 -0
- package/lib/@antv/l7-map/lib/handler/click_zoom.d.ts +16 -0
- package/lib/@antv/l7-map/lib/handler/click_zoom.js +48 -0
- package/lib/@antv/l7-map/lib/handler/events/event.d.ts +4 -0
- package/lib/@antv/l7-map/lib/handler/events/event.js +20 -0
- package/lib/@antv/l7-map/lib/handler/events/index.d.ts +4 -0
- package/lib/@antv/l7-map/lib/handler/events/index.js +27 -0
- package/lib/@antv/l7-map/lib/handler/events/map_mouse_event.d.ts +34 -0
- package/lib/@antv/l7-map/lib/handler/events/map_mouse_event.js +53 -0
- package/lib/@antv/l7-map/lib/handler/events/map_touch_event.d.ts +57 -0
- package/lib/@antv/l7-map/lib/handler/events/map_touch_event.js +83 -0
- package/lib/@antv/l7-map/lib/handler/events/map_wheel_event.d.ts +33 -0
- package/lib/@antv/l7-map/lib/handler/events/map_wheel_event.js +41 -0
- package/lib/@antv/l7-map/lib/handler/events/render_event.d.ts +6 -0
- package/lib/@antv/l7-map/lib/handler/events/render_event.js +18 -0
- package/lib/@antv/l7-map/lib/handler/handler_inertia.d.ts +23 -0
- package/lib/@antv/l7-map/lib/handler/handler_inertia.js +151 -0
- package/lib/@antv/l7-map/lib/handler/handler_manager.d.ts +61 -0
- package/lib/@antv/l7-map/lib/handler/handler_manager.js +495 -0
- package/lib/@antv/l7-map/lib/handler/handler_util.d.ts +4 -0
- package/lib/@antv/l7-map/lib/handler/handler_util.js +15 -0
- package/lib/@antv/l7-map/lib/handler/keyboard.d.ts +36 -0
- package/lib/@antv/l7-map/lib/handler/keyboard.js +138 -0
- package/lib/@antv/l7-map/lib/handler/map_event.d.ts +29 -0
- package/lib/@antv/l7-map/lib/handler/map_event.js +97 -0
- package/lib/@antv/l7-map/lib/handler/mouse/index.d.ts +4 -0
- package/lib/@antv/l7-map/lib/handler/mouse/index.js +27 -0
- package/lib/@antv/l7-map/lib/handler/mouse/mouse_handler.d.ts +22 -0
- package/lib/@antv/l7-map/lib/handler/mouse/mouse_handler.js +107 -0
- package/lib/@antv/l7-map/lib/handler/mouse/mousepan_handler.d.ts +10 -0
- package/lib/@antv/l7-map/lib/handler/mouse/mousepan_handler.js +29 -0
- package/lib/@antv/l7-map/lib/handler/mouse/mousepitch_hander.d.ts +9 -0
- package/lib/@antv/l7-map/lib/handler/mouse/mousepitch_hander.js +32 -0
- package/lib/@antv/l7-map/lib/handler/mouse/mouserotate_hander.d.ts +9 -0
- package/lib/@antv/l7-map/lib/handler/mouse/mouserotate_hander.js +32 -0
- package/lib/@antv/l7-map/lib/handler/mouse/util.d.ts +6 -0
- package/lib/@antv/l7-map/lib/handler/mouse/util.js +19 -0
- package/lib/@antv/l7-map/lib/handler/scroll_zoom.d.ts +93 -0
- package/lib/@antv/l7-map/lib/handler/scroll_zoom.js +322 -0
- package/lib/@antv/l7-map/lib/handler/shim/dblclick_zoom.d.ts +40 -0
- package/lib/@antv/l7-map/lib/handler/shim/dblclick_zoom.js +64 -0
- package/lib/@antv/l7-map/lib/handler/shim/drag_pan.d.ts +61 -0
- package/lib/@antv/l7-map/lib/handler/shim/drag_pan.js +83 -0
- package/lib/@antv/l7-map/lib/handler/shim/drag_rotate.d.ts +46 -0
- package/lib/@antv/l7-map/lib/handler/shim/drag_rotate.js +72 -0
- package/lib/@antv/l7-map/lib/handler/shim/touch_zoom_rotate.d.ts +70 -0
- package/lib/@antv/l7-map/lib/handler/shim/touch_zoom_rotate.js +112 -0
- package/lib/@antv/l7-map/lib/handler/tap/single_tap_recognizer.d.ts +20 -0
- package/lib/@antv/l7-map/lib/handler/tap/single_tap_recognizer.js +86 -0
- package/lib/@antv/l7-map/lib/handler/tap/tap_drag_zoom.d.ts +22 -0
- package/lib/@antv/l7-map/lib/handler/tap/tap_drag_zoom.js +97 -0
- package/lib/@antv/l7-map/lib/handler/tap/tap_recognizer.d.ts +17 -0
- package/lib/@antv/l7-map/lib/handler/tap/tap_recognizer.js +56 -0
- package/lib/@antv/l7-map/lib/handler/tap/tap_zoom.d.ts +22 -0
- package/lib/@antv/l7-map/lib/handler/tap/tap_zoom.js +89 -0
- package/lib/@antv/l7-map/lib/handler/touch/index.d.ts +5 -0
- package/lib/@antv/l7-map/lib/handler/touch/index.js +34 -0
- package/lib/@antv/l7-map/lib/handler/touch/touch_pan.d.ts +30 -0
- package/lib/@antv/l7-map/lib/handler/touch/touch_pan.js +100 -0
- package/lib/@antv/l7-map/lib/handler/touch/touch_pitch.d.ts +13 -0
- package/lib/@antv/l7-map/lib/handler/touch/touch_pitch.js +83 -0
- package/lib/@antv/l7-map/lib/handler/touch/touch_rotate.d.ts +12 -0
- package/lib/@antv/l7-map/lib/handler/touch/touch_rotate.js +65 -0
- package/lib/@antv/l7-map/lib/handler/touch/touch_zoom.d.ts +12 -0
- package/lib/@antv/l7-map/lib/handler/touch/touch_zoom.js +45 -0
- package/lib/@antv/l7-map/lib/handler/touch/two_touch.d.ts +23 -0
- package/lib/@antv/l7-map/lib/handler/touch/two_touch.js +106 -0
- package/lib/@antv/l7-map/lib/hash.d.ts +14 -0
- package/lib/@antv/l7-map/lib/hash.js +129 -0
- package/lib/@antv/l7-map/lib/index.d.ts +4 -0
- package/lib/@antv/l7-map/lib/index.js +49 -0
- package/lib/@antv/l7-map/lib/interface.d.ts +34 -0
- package/lib/@antv/l7-map/lib/interface.js +5 -0
- package/lib/@antv/l7-map/lib/map.d.ts +70 -0
- package/lib/@antv/l7-map/lib/map.js +478 -0
- package/lib/@antv/l7-map/lib/util.d.ts +25 -0
- package/lib/@antv/l7-map/lib/util.js +89 -0
- package/lib/@antv/l7-map/lib/utils/Aabb.d.ts +12 -0
- package/lib/@antv/l7-map/lib/utils/Aabb.js +80 -0
- package/lib/@antv/l7-map/lib/utils/dom.d.ts +4 -0
- package/lib/@antv/l7-map/lib/utils/dom.js +125 -0
- package/lib/@antv/l7-map/lib/utils/performance.d.ts +17 -0
- package/lib/@antv/l7-map/lib/utils/performance.js +64 -0
- package/lib/@antv/l7-map/lib/utils/primitives.d.ts +6 -0
- package/lib/@antv/l7-map/lib/utils/primitives.js +45 -0
- package/lib/@antv/l7-map/lib/utils/task_queue.d.ts +13 -0
- package/lib/@antv/l7-map/lib/utils/task_queue.js +67 -0
- package/lib/@antv/l7-map/package.json +43 -0
- package/lib/@antv/l7-maps/LICENSE.md +21 -0
- package/lib/@antv/l7-maps/dist/l7-maps.min.js +1 -0
- package/lib/@antv/l7-maps/es/amap/Viewport.d.ts +25 -0
- package/lib/@antv/l7-maps/es/amap/Viewport.js +103 -0
- package/lib/@antv/l7-maps/es/amap/index.d.ts +7 -0
- package/lib/@antv/l7-maps/es/amap/index.js +7 -0
- package/lib/@antv/l7-maps/es/amap/logo.css +6 -0
- package/lib/@antv/l7-maps/es/amap/map.d.ts +22 -0
- package/lib/@antv/l7-maps/es/amap/map.js +207 -0
- package/lib/@antv/l7-maps/es/amap2/Viewport.d.ts +25 -0
- package/lib/@antv/l7-maps/es/amap2/Viewport.js +105 -0
- package/lib/@antv/l7-maps/es/amap2/index.d.ts +7 -0
- package/lib/@antv/l7-maps/es/amap2/index.js +7 -0
- package/lib/@antv/l7-maps/es/amap2/logo.css +9 -0
- package/lib/@antv/l7-maps/es/amap2/map.d.ts +52 -0
- package/lib/@antv/l7-maps/es/amap2/map.js +433 -0
- package/lib/@antv/l7-maps/es/bmap/bmapglloader.d.ts +9 -0
- package/lib/@antv/l7-maps/es/bmap/bmapglloader.js +110 -0
- package/lib/@antv/l7-maps/es/bmap/index.d.ts +6 -0
- package/lib/@antv/l7-maps/es/bmap/index.js +7 -0
- package/lib/@antv/l7-maps/es/bmap/logo.css +7 -0
- package/lib/@antv/l7-maps/es/bmap/map.d.ts +76 -0
- package/lib/@antv/l7-maps/es/bmap/map.js +496 -0
- package/lib/@antv/l7-maps/es/earth/Viewport.d.ts +47 -0
- package/lib/@antv/l7-maps/es/earth/Viewport.js +108 -0
- package/lib/@antv/l7-maps/es/earth/index.d.ts +6 -0
- package/lib/@antv/l7-maps/es/earth/index.js +7 -0
- package/lib/@antv/l7-maps/es/earth/map.d.ts +40 -0
- package/lib/@antv/l7-maps/es/earth/map.js +188 -0
- package/lib/@antv/l7-maps/es/earth/theme.d.ts +3 -0
- package/lib/@antv/l7-maps/es/earth/theme.js +19 -0
- package/lib/@antv/l7-maps/es/gmap/index.d.ts +5 -0
- package/lib/@antv/l7-maps/es/gmap/index.js +8 -0
- package/lib/@antv/l7-maps/es/gmap/logo.css +4 -0
- package/lib/@antv/l7-maps/es/gmap/map.d.ts +56 -0
- package/lib/@antv/l7-maps/es/gmap/map.js +471 -0
- package/lib/@antv/l7-maps/es/gmap/maploader.d.ts +8 -0
- package/lib/@antv/l7-maps/es/gmap/maploader.js +87 -0
- package/lib/@antv/l7-maps/es/index.d.ts +13 -0
- package/lib/@antv/l7-maps/es/index.js +13 -0
- package/lib/@antv/l7-maps/es/map/index.d.ts +6 -0
- package/lib/@antv/l7-maps/es/map/index.js +7 -0
- package/lib/@antv/l7-maps/es/map/map.d.ts +25 -0
- package/lib/@antv/l7-maps/es/map/map.js +127 -0
- package/lib/@antv/l7-maps/es/map/theme.d.ts +3 -0
- package/lib/@antv/l7-maps/es/map/theme.js +19 -0
- package/lib/@antv/l7-maps/es/mapbox/Viewport.d.ts +17 -0
- package/lib/@antv/l7-maps/es/mapbox/Viewport.js +67 -0
- package/lib/@antv/l7-maps/es/mapbox/index.d.ts +8 -0
- package/lib/@antv/l7-maps/es/mapbox/index.js +41 -0
- package/lib/@antv/l7-maps/es/mapbox/logo.css +3 -0
- package/lib/@antv/l7-maps/es/mapbox/map.d.ts +34 -0
- package/lib/@antv/l7-maps/es/mapbox/map.js +238 -0
- package/lib/@antv/l7-maps/es/mapbox/theme.d.ts +3 -0
- package/lib/@antv/l7-maps/es/mapbox/theme.js +19 -0
- package/lib/@antv/l7-maps/es/maplibre/index.d.ts +7 -0
- package/lib/@antv/l7-maps/es/maplibre/index.js +7 -0
- package/lib/@antv/l7-maps/es/maplibre/map.d.ts +34 -0
- package/lib/@antv/l7-maps/es/maplibre/map.js +229 -0
- package/lib/@antv/l7-maps/es/tdtmap/index.d.ts +5 -0
- package/lib/@antv/l7-maps/es/tdtmap/index.js +9 -0
- package/lib/@antv/l7-maps/es/tdtmap/logo.css +4 -0
- package/lib/@antv/l7-maps/es/tdtmap/map.d.ts +51 -0
- package/lib/@antv/l7-maps/es/tdtmap/map.js +451 -0
- package/lib/@antv/l7-maps/es/tdtmap/maploader.d.ts +2 -0
- package/lib/@antv/l7-maps/es/tdtmap/maploader.js +28 -0
- package/lib/@antv/l7-maps/es/tmap/index.d.ts +5 -0
- package/lib/@antv/l7-maps/es/tmap/index.js +8 -0
- package/lib/@antv/l7-maps/es/tmap/logo.css +8 -0
- package/lib/@antv/l7-maps/es/tmap/map.d.ts +57 -0
- package/lib/@antv/l7-maps/es/tmap/map.js +501 -0
- package/lib/@antv/l7-maps/es/tmap/maploader.d.ts +10 -0
- package/lib/@antv/l7-maps/es/tmap/maploader.js +95 -0
- package/lib/@antv/l7-maps/es/types.d.ts +47 -0
- package/lib/@antv/l7-maps/es/types.js +1 -0
- package/lib/@antv/l7-maps/es/utils/BaseMapService.d.ts +77 -0
- package/lib/@antv/l7-maps/es/utils/BaseMapService.js +308 -0
- package/lib/@antv/l7-maps/es/utils/BaseMapWrapper.d.ts +8 -0
- package/lib/@antv/l7-maps/es/utils/BaseMapWrapper.js +21 -0
- package/lib/@antv/l7-maps/es/utils/Viewport.d.ts +20 -0
- package/lib/@antv/l7-maps/es/utils/Viewport.js +82 -0
- package/lib/@antv/l7-maps/es/utils/amap/AMapBaseService.d.ts +78 -0
- package/lib/@antv/l7-maps/es/utils/amap/AMapBaseService.js +517 -0
- package/lib/@antv/l7-maps/es/utils/amap/Viewport.d.ts +25 -0
- package/lib/@antv/l7-maps/es/utils/amap/Viewport.js +103 -0
- package/lib/@antv/l7-maps/es/utils/amap/logo.css +6 -0
- package/lib/@antv/l7-maps/es/utils/amap/theme.d.ts +2 -0
- package/lib/@antv/l7-maps/es/utils/amap/theme.js +12 -0
- package/lib/@antv/l7-maps/es/utils/amaploader.d.ts +18 -0
- package/lib/@antv/l7-maps/es/utils/amaploader.js +151 -0
- package/lib/@antv/l7-maps/es/utils/index.d.ts +4 -0
- package/lib/@antv/l7-maps/es/utils/index.js +4 -0
- package/lib/@antv/l7-maps/es/utils/simpleMapCoord.d.ts +31 -0
- package/lib/@antv/l7-maps/es/utils/simpleMapCoord.js +54 -0
- package/lib/@antv/l7-maps/es/utils/theme.d.ts +3 -0
- package/lib/@antv/l7-maps/es/utils/theme.js +19 -0
- package/lib/@antv/l7-maps/es/utils/utils.d.ts +94 -0
- package/lib/@antv/l7-maps/es/utils/utils.js +36 -0
- package/lib/@antv/l7-maps/lib/amap/Viewport.d.ts +25 -0
- package/lib/@antv/l7-maps/lib/amap/Viewport.js +111 -0
- package/lib/@antv/l7-maps/lib/amap/index.d.ts +7 -0
- package/lib/@antv/l7-maps/lib/amap/index.js +15 -0
- package/lib/@antv/l7-maps/lib/amap/logo.css +6 -0
- package/lib/@antv/l7-maps/lib/amap/map.d.ts +22 -0
- package/lib/@antv/l7-maps/lib/amap/map.js +214 -0
- package/lib/@antv/l7-maps/lib/amap2/Viewport.d.ts +25 -0
- package/lib/@antv/l7-maps/lib/amap2/Viewport.js +113 -0
- package/lib/@antv/l7-maps/lib/amap2/index.d.ts +7 -0
- package/lib/@antv/l7-maps/lib/amap2/index.js +15 -0
- package/lib/@antv/l7-maps/lib/amap2/logo.css +9 -0
- package/lib/@antv/l7-maps/lib/amap2/map.d.ts +52 -0
- package/lib/@antv/l7-maps/lib/amap2/map.js +441 -0
- package/lib/@antv/l7-maps/lib/bmap/bmapglloader.d.ts +9 -0
- package/lib/@antv/l7-maps/lib/bmap/bmapglloader.js +116 -0
- package/lib/@antv/l7-maps/lib/bmap/index.d.ts +6 -0
- package/lib/@antv/l7-maps/lib/bmap/index.js +15 -0
- package/lib/@antv/l7-maps/lib/bmap/logo.css +7 -0
- package/lib/@antv/l7-maps/lib/bmap/map.d.ts +76 -0
- package/lib/@antv/l7-maps/lib/bmap/map.js +504 -0
- package/lib/@antv/l7-maps/lib/earth/Viewport.d.ts +47 -0
- package/lib/@antv/l7-maps/lib/earth/Viewport.js +116 -0
- package/lib/@antv/l7-maps/lib/earth/index.d.ts +6 -0
- package/lib/@antv/l7-maps/lib/earth/index.js +15 -0
- package/lib/@antv/l7-maps/lib/earth/map.d.ts +40 -0
- package/lib/@antv/l7-maps/lib/earth/map.js +195 -0
- package/lib/@antv/l7-maps/lib/earth/theme.d.ts +3 -0
- package/lib/@antv/l7-maps/lib/earth/theme.js +25 -0
- package/lib/@antv/l7-maps/lib/gmap/index.d.ts +5 -0
- package/lib/@antv/l7-maps/lib/gmap/index.js +17 -0
- package/lib/@antv/l7-maps/lib/gmap/logo.css +4 -0
- package/lib/@antv/l7-maps/lib/gmap/map.d.ts +56 -0
- package/lib/@antv/l7-maps/lib/gmap/map.js +479 -0
- package/lib/@antv/l7-maps/lib/gmap/maploader.d.ts +8 -0
- package/lib/@antv/l7-maps/lib/gmap/maploader.js +93 -0
- package/lib/@antv/l7-maps/lib/index.d.ts +13 -0
- package/lib/@antv/l7-maps/lib/index.js +115 -0
- package/lib/@antv/l7-maps/lib/map/index.d.ts +6 -0
- package/lib/@antv/l7-maps/lib/map/index.js +15 -0
- package/lib/@antv/l7-maps/lib/map/map.d.ts +25 -0
- package/lib/@antv/l7-maps/lib/map/map.js +133 -0
- package/lib/@antv/l7-maps/lib/map/theme.d.ts +3 -0
- package/lib/@antv/l7-maps/lib/map/theme.js +25 -0
- package/lib/@antv/l7-maps/lib/mapbox/Viewport.d.ts +17 -0
- package/lib/@antv/l7-maps/lib/mapbox/Viewport.js +75 -0
- package/lib/@antv/l7-maps/lib/mapbox/index.d.ts +8 -0
- package/lib/@antv/l7-maps/lib/mapbox/index.js +49 -0
- package/lib/@antv/l7-maps/lib/mapbox/logo.css +3 -0
- package/lib/@antv/l7-maps/lib/mapbox/map.d.ts +34 -0
- package/lib/@antv/l7-maps/lib/mapbox/map.js +245 -0
- package/lib/@antv/l7-maps/lib/mapbox/theme.d.ts +3 -0
- package/lib/@antv/l7-maps/lib/mapbox/theme.js +25 -0
- package/lib/@antv/l7-maps/lib/maplibre/index.d.ts +7 -0
- package/lib/@antv/l7-maps/lib/maplibre/index.js +15 -0
- package/lib/@antv/l7-maps/lib/maplibre/map.d.ts +34 -0
- package/lib/@antv/l7-maps/lib/maplibre/map.js +235 -0
- package/lib/@antv/l7-maps/lib/tdtmap/index.d.ts +5 -0
- package/lib/@antv/l7-maps/lib/tdtmap/index.js +18 -0
- package/lib/@antv/l7-maps/lib/tdtmap/logo.css +4 -0
- package/lib/@antv/l7-maps/lib/tdtmap/map.d.ts +51 -0
- package/lib/@antv/l7-maps/lib/tdtmap/map.js +459 -0
- package/lib/@antv/l7-maps/lib/tdtmap/maploader.d.ts +2 -0
- package/lib/@antv/l7-maps/lib/tdtmap/maploader.js +36 -0
- package/lib/@antv/l7-maps/lib/tmap/index.d.ts +5 -0
- package/lib/@antv/l7-maps/lib/tmap/index.js +17 -0
- package/lib/@antv/l7-maps/lib/tmap/logo.css +8 -0
- package/lib/@antv/l7-maps/lib/tmap/map.d.ts +57 -0
- package/lib/@antv/l7-maps/lib/tmap/map.js +509 -0
- package/lib/@antv/l7-maps/lib/tmap/maploader.d.ts +10 -0
- package/lib/@antv/l7-maps/lib/tmap/maploader.js +101 -0
- package/lib/@antv/l7-maps/lib/types.d.ts +47 -0
- package/lib/@antv/l7-maps/lib/types.js +5 -0
- package/lib/@antv/l7-maps/lib/utils/BaseMapService.d.ts +77 -0
- package/lib/@antv/l7-maps/lib/utils/BaseMapService.js +316 -0
- package/lib/@antv/l7-maps/lib/utils/BaseMapWrapper.d.ts +8 -0
- package/lib/@antv/l7-maps/lib/utils/BaseMapWrapper.js +29 -0
- package/lib/@antv/l7-maps/lib/utils/Viewport.d.ts +20 -0
- package/lib/@antv/l7-maps/lib/utils/Viewport.js +90 -0
- package/lib/@antv/l7-maps/lib/utils/amap/AMapBaseService.d.ts +78 -0
- package/lib/@antv/l7-maps/lib/utils/amap/AMapBaseService.js +525 -0
- package/lib/@antv/l7-maps/lib/utils/amap/Viewport.d.ts +25 -0
- package/lib/@antv/l7-maps/lib/utils/amap/Viewport.js +111 -0
- package/lib/@antv/l7-maps/lib/utils/amap/logo.css +6 -0
- package/lib/@antv/l7-maps/lib/utils/amap/theme.d.ts +2 -0
- package/lib/@antv/l7-maps/lib/utils/amap/theme.js +18 -0
- package/lib/@antv/l7-maps/lib/utils/amaploader.d.ts +18 -0
- package/lib/@antv/l7-maps/lib/utils/amaploader.js +158 -0
- package/lib/@antv/l7-maps/lib/utils/index.d.ts +4 -0
- package/lib/@antv/l7-maps/lib/utils/index.js +27 -0
- package/lib/@antv/l7-maps/lib/utils/simpleMapCoord.d.ts +31 -0
- package/lib/@antv/l7-maps/lib/utils/simpleMapCoord.js +62 -0
- package/lib/@antv/l7-maps/lib/utils/theme.d.ts +3 -0
- package/lib/@antv/l7-maps/lib/utils/theme.js +25 -0
- package/lib/@antv/l7-maps/lib/utils/utils.d.ts +94 -0
- package/lib/@antv/l7-maps/lib/utils/utils.js +43 -0
- package/lib/@antv/l7-maps/package.json +53 -0
- package/lib/@antv/l7-renderer/LICENSE.md +21 -0
- package/lib/@antv/l7-renderer/es/device/DeviceAttribute.d.ts +13 -0
- package/lib/@antv/l7-renderer/es/device/DeviceAttribute.js +30 -0
- package/lib/@antv/l7-renderer/es/device/DeviceBuffer.d.ts +18 -0
- package/lib/@antv/l7-renderer/es/device/DeviceBuffer.js +51 -0
- package/lib/@antv/l7-renderer/es/device/DeviceCache.d.ts +14 -0
- package/lib/@antv/l7-renderer/es/device/DeviceCache.js +198 -0
- package/lib/@antv/l7-renderer/es/device/DeviceElements.d.ts +13 -0
- package/lib/@antv/l7-renderer/es/device/DeviceElements.js +42 -0
- package/lib/@antv/l7-renderer/es/device/DeviceFramebuffer.d.ts +24 -0
- package/lib/@antv/l7-renderer/es/device/DeviceFramebuffer.js +81 -0
- package/lib/@antv/l7-renderer/es/device/DeviceModel.d.ts +53 -0
- package/lib/@antv/l7-renderer/es/device/DeviceModel.js +416 -0
- package/lib/@antv/l7-renderer/es/device/DeviceTexture2D.d.ts +23 -0
- package/lib/@antv/l7-renderer/es/device/DeviceTexture2D.js +130 -0
- package/lib/@antv/l7-renderer/es/device/constants.d.ts +35 -0
- package/lib/@antv/l7-renderer/es/device/constants.js +117 -0
- package/lib/@antv/l7-renderer/es/device/index.d.ts +68 -0
- package/lib/@antv/l7-renderer/es/device/index.js +288 -0
- package/lib/@antv/l7-renderer/es/device/utils/HashMap.d.ts +24 -0
- package/lib/@antv/l7-renderer/es/device/utils/HashMap.js +86 -0
- package/lib/@antv/l7-renderer/es/device/utils/pipeline.d.ts +1 -0
- package/lib/@antv/l7-renderer/es/device/utils/pipeline.js +6 -0
- package/lib/@antv/l7-renderer/es/device/utils/typedarray.d.ts +7 -0
- package/lib/@antv/l7-renderer/es/device/utils/typedarray.js +33 -0
- package/lib/@antv/l7-renderer/es/device/utils/webgl.d.ts +1 -0
- package/lib/@antv/l7-renderer/es/device/utils/webgl.js +10 -0
- package/lib/@antv/l7-renderer/es/index.d.ts +6 -0
- package/lib/@antv/l7-renderer/es/index.js +7 -0
- package/lib/@antv/l7-renderer/es/regl/ReglAttribute.d.ts +16 -0
- package/lib/@antv/l7-renderer/es/regl/ReglAttribute.js +29 -0
- package/lib/@antv/l7-renderer/es/regl/ReglBuffer.d.ts +17 -0
- package/lib/@antv/l7-renderer/es/regl/ReglBuffer.js +33 -0
- package/lib/@antv/l7-renderer/es/regl/ReglElements.d.ts +14 -0
- package/lib/@antv/l7-renderer/es/regl/ReglElements.js +27 -0
- package/lib/@antv/l7-renderer/es/regl/ReglFramebuffer.d.ts +16 -0
- package/lib/@antv/l7-renderer/es/regl/ReglFramebuffer.js +31 -0
- package/lib/@antv/l7-renderer/es/regl/ReglModel.d.ts +46 -0
- package/lib/@antv/l7-renderer/es/regl/ReglModel.js +302 -0
- package/lib/@antv/l7-renderer/es/regl/ReglRenderbuffer.d.ts +16 -0
- package/lib/@antv/l7-renderer/es/regl/ReglRenderbuffer.js +24 -0
- package/lib/@antv/l7-renderer/es/regl/ReglTexture2D.d.ts +22 -0
- package/lib/@antv/l7-renderer/es/regl/ReglTexture2D.js +94 -0
- package/lib/@antv/l7-renderer/es/regl/constants.d.ts +43 -0
- package/lib/@antv/l7-renderer/es/regl/constants.js +133 -0
- package/lib/@antv/l7-renderer/es/regl/index.d.ts +56 -0
- package/lib/@antv/l7-renderer/es/regl/index.js +227 -0
- package/lib/@antv/l7-renderer/lib/device/DeviceAttribute.d.ts +13 -0
- package/lib/@antv/l7-renderer/lib/device/DeviceAttribute.js +50 -0
- package/lib/@antv/l7-renderer/lib/device/DeviceBuffer.d.ts +18 -0
- package/lib/@antv/l7-renderer/lib/device/DeviceBuffer.js +71 -0
- package/lib/@antv/l7-renderer/lib/device/DeviceCache.d.ts +14 -0
- package/lib/@antv/l7-renderer/lib/device/DeviceCache.js +214 -0
- package/lib/@antv/l7-renderer/lib/device/DeviceElements.d.ts +13 -0
- package/lib/@antv/l7-renderer/lib/device/DeviceElements.js +62 -0
- package/lib/@antv/l7-renderer/lib/device/DeviceFramebuffer.d.ts +24 -0
- package/lib/@antv/l7-renderer/lib/device/DeviceFramebuffer.js +101 -0
- package/lib/@antv/l7-renderer/lib/device/DeviceModel.d.ts +53 -0
- package/lib/@antv/l7-renderer/lib/device/DeviceModel.js +423 -0
- package/lib/@antv/l7-renderer/lib/device/DeviceTexture2D.d.ts +23 -0
- package/lib/@antv/l7-renderer/lib/device/DeviceTexture2D.js +149 -0
- package/lib/@antv/l7-renderer/lib/device/constants.d.ts +35 -0
- package/lib/@antv/l7-renderer/lib/device/constants.js +141 -0
- package/lib/@antv/l7-renderer/lib/device/index.d.ts +68 -0
- package/lib/@antv/l7-renderer/lib/device/index.js +309 -0
- package/lib/@antv/l7-renderer/lib/device/utils/HashMap.d.ts +24 -0
- package/lib/@antv/l7-renderer/lib/device/utils/HashMap.js +113 -0
- package/lib/@antv/l7-renderer/lib/device/utils/pipeline.d.ts +1 -0
- package/lib/@antv/l7-renderer/lib/device/utils/pipeline.js +30 -0
- package/lib/@antv/l7-renderer/lib/device/utils/typedarray.d.ts +7 -0
- package/lib/@antv/l7-renderer/lib/device/utils/typedarray.js +58 -0
- package/lib/@antv/l7-renderer/lib/device/utils/webgl.d.ts +1 -0
- package/lib/@antv/l7-renderer/lib/device/utils/webgl.js +34 -0
- package/lib/@antv/l7-renderer/lib/index.d.ts +6 -0
- package/lib/@antv/l7-renderer/lib/index.js +42 -0
- package/lib/@antv/l7-renderer/lib/regl/ReglAttribute.d.ts +16 -0
- package/lib/@antv/l7-renderer/lib/regl/ReglAttribute.js +49 -0
- package/lib/@antv/l7-renderer/lib/regl/ReglBuffer.d.ts +17 -0
- package/lib/@antv/l7-renderer/lib/regl/ReglBuffer.js +53 -0
- package/lib/@antv/l7-renderer/lib/regl/ReglElements.d.ts +14 -0
- package/lib/@antv/l7-renderer/lib/regl/ReglElements.js +47 -0
- package/lib/@antv/l7-renderer/lib/regl/ReglFramebuffer.d.ts +16 -0
- package/lib/@antv/l7-renderer/lib/regl/ReglFramebuffer.js +51 -0
- package/lib/@antv/l7-renderer/lib/regl/ReglModel.d.ts +46 -0
- package/lib/@antv/l7-renderer/lib/regl/ReglModel.js +311 -0
- package/lib/@antv/l7-renderer/lib/regl/ReglRenderbuffer.d.ts +16 -0
- package/lib/@antv/l7-renderer/lib/regl/ReglRenderbuffer.js +44 -0
- package/lib/@antv/l7-renderer/lib/regl/ReglTexture2D.d.ts +22 -0
- package/lib/@antv/l7-renderer/lib/regl/ReglTexture2D.js +107 -0
- package/lib/@antv/l7-renderer/lib/regl/constants.d.ts +43 -0
- package/lib/@antv/l7-renderer/lib/regl/constants.js +170 -0
- package/lib/@antv/l7-renderer/lib/regl/index.d.ts +56 -0
- package/lib/@antv/l7-renderer/lib/regl/index.js +256 -0
- package/lib/@antv/l7-renderer/package.json +37 -0
- package/lib/@antv/l7-scene/LICENSE.md +21 -0
- package/lib/@antv/l7-scene/es/ILayerManager.d.ts +9 -0
- package/lib/@antv/l7-scene/es/ILayerManager.js +0 -0
- package/lib/@antv/l7-scene/es/IMapController.d.ts +62 -0
- package/lib/@antv/l7-scene/es/IMapController.js +0 -0
- package/lib/@antv/l7-scene/es/IPostProcessingPassPluggable.d.ts +9 -0
- package/lib/@antv/l7-scene/es/IPostProcessingPassPluggable.js +0 -0
- package/lib/@antv/l7-scene/es/boxSelect.d.ts +23 -0
- package/lib/@antv/l7-scene/es/boxSelect.js +95 -0
- package/lib/@antv/l7-scene/es/index.d.ts +132 -0
- package/lib/@antv/l7-scene/es/index.js +464 -0
- package/lib/@antv/l7-scene/lib/ILayerManager.d.ts +9 -0
- package/lib/@antv/l7-scene/lib/ILayerManager.js +17 -0
- package/lib/@antv/l7-scene/lib/IMapController.d.ts +62 -0
- package/lib/@antv/l7-scene/lib/IMapController.js +17 -0
- package/lib/@antv/l7-scene/lib/IPostProcessingPassPluggable.d.ts +9 -0
- package/lib/@antv/l7-scene/lib/IPostProcessingPassPluggable.js +17 -0
- package/lib/@antv/l7-scene/lib/boxSelect.d.ts +23 -0
- package/lib/@antv/l7-scene/lib/boxSelect.js +119 -0
- package/lib/@antv/l7-scene/lib/index.d.ts +132 -0
- package/lib/@antv/l7-scene/lib/index.js +495 -0
- package/lib/@antv/l7-scene/package.json +40 -0
- package/lib/@antv/l7-source/LICENSE.md +21 -0
- package/lib/@antv/l7-source/es/factory.d.ts +8 -0
- package/lib/@antv/l7-source/es/factory.js +17 -0
- package/lib/@antv/l7-source/es/index.d.ts +7 -0
- package/lib/@antv/l7-source/es/index.js +53 -0
- package/lib/@antv/l7-source/es/interface.d.ts +80 -0
- package/lib/@antv/l7-source/es/interface.js +0 -0
- package/lib/@antv/l7-source/es/parser/csv.d.ts +2 -0
- package/lib/@antv/l7-source/es/parser/csv.js +10 -0
- package/lib/@antv/l7-source/es/parser/geojson.d.ts +9 -0
- package/lib/@antv/l7-source/es/parser/geojson.js +86 -0
- package/lib/@antv/l7-source/es/parser/geojsonvt.d.ts +4 -0
- package/lib/@antv/l7-source/es/parser/geojsonvt.js +221 -0
- package/lib/@antv/l7-source/es/parser/image.d.ts +8 -0
- package/lib/@antv/l7-source/es/parser/image.js +81 -0
- package/lib/@antv/l7-source/es/parser/json.d.ts +2 -0
- package/lib/@antv/l7-source/es/parser/json.js +86 -0
- package/lib/@antv/l7-source/es/parser/jsonTile.d.ts +3 -0
- package/lib/@antv/l7-source/es/parser/jsonTile.js +112 -0
- package/lib/@antv/l7-source/es/parser/mvt.d.ts +12 -0
- package/lib/@antv/l7-source/es/parser/mvt.js +103 -0
- package/lib/@antv/l7-source/es/parser/raster/ndi.d.ts +14 -0
- package/lib/@antv/l7-source/es/parser/raster/ndi.js +74 -0
- package/lib/@antv/l7-source/es/parser/raster/rgb.d.ts +14 -0
- package/lib/@antv/l7-source/es/parser/raster/rgb.js +74 -0
- package/lib/@antv/l7-source/es/parser/raster-tile.d.ts +12 -0
- package/lib/@antv/l7-source/es/parser/raster-tile.js +88 -0
- package/lib/@antv/l7-source/es/parser/raster.d.ts +3 -0
- package/lib/@antv/l7-source/es/parser/raster.js +45 -0
- package/lib/@antv/l7-source/es/parser/rasterRgb.d.ts +3 -0
- package/lib/@antv/l7-source/es/parser/rasterRgb.js +65 -0
- package/lib/@antv/l7-source/es/parser/testTile.d.ts +12 -0
- package/lib/@antv/l7-source/es/parser/testTile.js +94 -0
- package/lib/@antv/l7-source/es/source/baseSource.d.ts +8 -0
- package/lib/@antv/l7-source/es/source/baseSource.js +11 -0
- package/lib/@antv/l7-source/es/source/geojsonvt.d.ts +11 -0
- package/lib/@antv/l7-source/es/source/geojsonvt.js +26 -0
- package/lib/@antv/l7-source/es/source/index.d.ts +2 -0
- package/lib/@antv/l7-source/es/source/index.js +6 -0
- package/lib/@antv/l7-source/es/source/vector.d.ts +11 -0
- package/lib/@antv/l7-source/es/source/vector.js +63 -0
- package/lib/@antv/l7-source/es/source.d.ts +70 -0
- package/lib/@antv/l7-source/es/source.js +323 -0
- package/lib/@antv/l7-source/es/transform/cluster.d.ts +3 -0
- package/lib/@antv/l7-source/es/transform/cluster.js +60 -0
- package/lib/@antv/l7-source/es/transform/filter.d.ts +4 -0
- package/lib/@antv/l7-source/es/transform/filter.js +11 -0
- package/lib/@antv/l7-source/es/transform/grid.d.ts +11 -0
- package/lib/@antv/l7-source/es/transform/grid.js +85 -0
- package/lib/@antv/l7-source/es/transform/hexagon.d.ts +2 -0
- package/lib/@antv/l7-source/es/transform/hexagon.js +60 -0
- package/lib/@antv/l7-source/es/transform/join.d.ts +13 -0
- package/lib/@antv/l7-source/es/transform/join.js +33 -0
- package/lib/@antv/l7-source/es/transform/map.d.ts +4 -0
- package/lib/@antv/l7-source/es/transform/map.js +11 -0
- package/lib/@antv/l7-source/es/utils/bandOperation/bands.d.ts +14 -0
- package/lib/@antv/l7-source/es/utils/bandOperation/bands.js +118 -0
- package/lib/@antv/l7-source/es/utils/bandOperation/math.d.ts +35 -0
- package/lib/@antv/l7-source/es/utils/bandOperation/math.js +115 -0
- package/lib/@antv/l7-source/es/utils/bandOperation/operationSchema.d.ts +20 -0
- package/lib/@antv/l7-source/es/utils/bandOperation/operationSchema.js +48 -0
- package/lib/@antv/l7-source/es/utils/statistics.d.ts +8 -0
- package/lib/@antv/l7-source/es/utils/statistics.js +62 -0
- package/lib/@antv/l7-source/es/utils/tile/getCustomData.d.ts +12 -0
- package/lib/@antv/l7-source/es/utils/tile/getCustomData.js +88 -0
- package/lib/@antv/l7-source/es/utils/tile/getRasterData.d.ts +3 -0
- package/lib/@antv/l7-source/es/utils/tile/getRasterData.js +103 -0
- package/lib/@antv/l7-source/es/utils/tile/getRasterTile.d.ts +25 -0
- package/lib/@antv/l7-source/es/utils/tile/getRasterTile.js +107 -0
- package/lib/@antv/l7-source/es/utils/tile/request.d.ts +51 -0
- package/lib/@antv/l7-source/es/utils/tile/request.js +49 -0
- package/lib/@antv/l7-source/es/utils/util.d.ts +18 -0
- package/lib/@antv/l7-source/es/utils/util.js +66 -0
- package/lib/@antv/l7-source/lib/factory.d.ts +8 -0
- package/lib/@antv/l7-source/lib/factory.js +44 -0
- package/lib/@antv/l7-source/lib/index.d.ts +7 -0
- package/lib/@antv/l7-source/lib/index.js +94 -0
- package/lib/@antv/l7-source/lib/interface.d.ts +80 -0
- package/lib/@antv/l7-source/lib/interface.js +17 -0
- package/lib/@antv/l7-source/lib/parser/csv.d.ts +2 -0
- package/lib/@antv/l7-source/lib/parser/csv.js +40 -0
- package/lib/@antv/l7-source/lib/parser/geojson.d.ts +9 -0
- package/lib/@antv/l7-source/lib/parser/geojson.js +103 -0
- package/lib/@antv/l7-source/lib/parser/geojsonvt.d.ts +4 -0
- package/lib/@antv/l7-source/lib/parser/geojsonvt.js +248 -0
- package/lib/@antv/l7-source/lib/parser/image.d.ts +8 -0
- package/lib/@antv/l7-source/lib/parser/image.js +98 -0
- package/lib/@antv/l7-source/lib/parser/json.d.ts +2 -0
- package/lib/@antv/l7-source/lib/parser/json.js +103 -0
- package/lib/@antv/l7-source/lib/parser/jsonTile.d.ts +3 -0
- package/lib/@antv/l7-source/lib/parser/jsonTile.js +139 -0
- package/lib/@antv/l7-source/lib/parser/mvt.d.ts +12 -0
- package/lib/@antv/l7-source/lib/parser/mvt.js +130 -0
- package/lib/@antv/l7-source/lib/parser/raster/ndi.d.ts +14 -0
- package/lib/@antv/l7-source/lib/parser/raster/ndi.js +91 -0
- package/lib/@antv/l7-source/lib/parser/raster/rgb.d.ts +14 -0
- package/lib/@antv/l7-source/lib/parser/raster/rgb.js +91 -0
- package/lib/@antv/l7-source/lib/parser/raster-tile.d.ts +12 -0
- package/lib/@antv/l7-source/lib/parser/raster-tile.js +109 -0
- package/lib/@antv/l7-source/lib/parser/raster.d.ts +3 -0
- package/lib/@antv/l7-source/lib/parser/raster.js +65 -0
- package/lib/@antv/l7-source/lib/parser/rasterRgb.d.ts +3 -0
- package/lib/@antv/l7-source/lib/parser/rasterRgb.js +82 -0
- package/lib/@antv/l7-source/lib/parser/testTile.d.ts +12 -0
- package/lib/@antv/l7-source/lib/parser/testTile.js +111 -0
- package/lib/@antv/l7-source/lib/source/baseSource.d.ts +8 -0
- package/lib/@antv/l7-source/lib/source/baseSource.js +31 -0
- package/lib/@antv/l7-source/lib/source/geojsonvt.d.ts +11 -0
- package/lib/@antv/l7-source/lib/source/geojsonvt.js +46 -0
- package/lib/@antv/l7-source/lib/source/index.d.ts +2 -0
- package/lib/@antv/l7-source/lib/source/index.js +42 -0
- package/lib/@antv/l7-source/lib/source/vector.d.ts +11 -0
- package/lib/@antv/l7-source/lib/source/vector.js +90 -0
- package/lib/@antv/l7-source/lib/source.d.ts +70 -0
- package/lib/@antv/l7-source/lib/source.js +340 -0
- package/lib/@antv/l7-source/lib/transform/cluster.d.ts +3 -0
- package/lib/@antv/l7-source/lib/transform/cluster.js +92 -0
- package/lib/@antv/l7-source/lib/transform/filter.d.ts +4 -0
- package/lib/@antv/l7-source/lib/transform/filter.js +35 -0
- package/lib/@antv/l7-source/lib/transform/grid.d.ts +11 -0
- package/lib/@antv/l7-source/lib/transform/grid.js +109 -0
- package/lib/@antv/l7-source/lib/transform/hexagon.d.ts +2 -0
- package/lib/@antv/l7-source/lib/transform/hexagon.js +81 -0
- package/lib/@antv/l7-source/lib/transform/join.d.ts +13 -0
- package/lib/@antv/l7-source/lib/transform/join.js +54 -0
- package/lib/@antv/l7-source/lib/transform/map.d.ts +4 -0
- package/lib/@antv/l7-source/lib/transform/map.js +35 -0
- package/lib/@antv/l7-source/lib/utils/bandOperation/bands.d.ts +14 -0
- package/lib/@antv/l7-source/lib/utils/bandOperation/bands.js +140 -0
- package/lib/@antv/l7-source/lib/utils/bandOperation/math.d.ts +35 -0
- package/lib/@antv/l7-source/lib/utils/bandOperation/math.js +143 -0
- package/lib/@antv/l7-source/lib/utils/bandOperation/operationSchema.d.ts +20 -0
- package/lib/@antv/l7-source/lib/utils/bandOperation/operationSchema.js +73 -0
- package/lib/@antv/l7-source/lib/utils/statistics.d.ts +8 -0
- package/lib/@antv/l7-source/lib/utils/statistics.js +90 -0
- package/lib/@antv/l7-source/lib/utils/tile/getCustomData.d.ts +12 -0
- package/lib/@antv/l7-source/lib/utils/tile/getCustomData.js +112 -0
- package/lib/@antv/l7-source/lib/utils/tile/getRasterData.d.ts +3 -0
- package/lib/@antv/l7-source/lib/utils/tile/getRasterData.js +124 -0
- package/lib/@antv/l7-source/lib/utils/tile/getRasterTile.d.ts +25 -0
- package/lib/@antv/l7-source/lib/utils/tile/getRasterTile.js +130 -0
- package/lib/@antv/l7-source/lib/utils/tile/request.d.ts +51 -0
- package/lib/@antv/l7-source/lib/utils/tile/request.js +75 -0
- package/lib/@antv/l7-source/lib/utils/util.d.ts +18 -0
- package/lib/@antv/l7-source/lib/utils/util.js +105 -0
- package/lib/@antv/l7-source/package.json +52 -0
- package/lib/@antv/l7-utils/LICENSE.md +21 -0
- package/lib/@antv/l7-utils/es/ajax.d.ts +53 -0
- package/lib/@antv/l7-utils/es/ajax.js +196 -0
- package/lib/@antv/l7-utils/es/anchor.d.ts +15 -0
- package/lib/@antv/l7-utils/es/anchor.js +38 -0
- package/lib/@antv/l7-utils/es/color.d.ts +20 -0
- package/lib/@antv/l7-utils/es/color.js +168 -0
- package/lib/@antv/l7-utils/es/config.d.ts +9 -0
- package/lib/@antv/l7-utils/es/config.js +7 -0
- package/lib/@antv/l7-utils/es/cull.d.ts +1 -0
- package/lib/@antv/l7-utils/es/cull.js +32 -0
- package/lib/@antv/l7-utils/es/dom.d.ts +41 -0
- package/lib/@antv/l7-utils/es/dom.js +231 -0
- package/lib/@antv/l7-utils/es/env.d.ts +6 -0
- package/lib/@antv/l7-utils/es/env.js +31 -0
- package/lib/@antv/l7-utils/es/event.d.ts +7 -0
- package/lib/@antv/l7-utils/es/event.js +28 -0
- package/lib/@antv/l7-utils/es/geo.d.ts +68 -0
- package/lib/@antv/l7-utils/es/geo.js +353 -0
- package/lib/@antv/l7-utils/es/hash.d.ts +3 -0
- package/lib/@antv/l7-utils/es/hash.js +36 -0
- package/lib/@antv/l7-utils/es/index.d.ts +17 -0
- package/lib/@antv/l7-utils/es/index.js +31 -0
- package/lib/@antv/l7-utils/es/interface/map.d.ts +8 -0
- package/lib/@antv/l7-utils/es/interface/map.js +13 -0
- package/lib/@antv/l7-utils/es/lineAtOffset/arc.d.ts +3 -0
- package/lib/@antv/l7-utils/es/lineAtOffset/arc.js +48 -0
- package/lib/@antv/l7-utils/es/lineAtOffset/greatCircle.d.ts +4 -0
- package/lib/@antv/l7-utils/es/lineAtOffset/greatCircle.js +65 -0
- package/lib/@antv/l7-utils/es/lineAtOffset/index.d.ts +3 -0
- package/lib/@antv/l7-utils/es/lineAtOffset/index.js +82 -0
- package/lib/@antv/l7-utils/es/lineAtOffset/interface.d.ts +14 -0
- package/lib/@antv/l7-utils/es/lineAtOffset/interface.js +0 -0
- package/lib/@antv/l7-utils/es/lineAtOffset/line.d.ts +6 -0
- package/lib/@antv/l7-utils/es/lineAtOffset/line.js +48 -0
- package/lib/@antv/l7-utils/es/lodash-adapter.d.ts +69 -0
- package/lib/@antv/l7-utils/es/lodash-adapter.js +48 -0
- package/lib/@antv/l7-utils/es/lru_cache.d.ts +23 -0
- package/lib/@antv/l7-utils/es/lru_cache.js +64 -0
- package/lib/@antv/l7-utils/es/math.d.ts +1 -0
- package/lib/@antv/l7-utils/es/math.js +7 -0
- package/lib/@antv/l7-utils/es/statistics.d.ts +14 -0
- package/lib/@antv/l7-utils/es/statistics.js +92 -0
- package/lib/@antv/l7-utils/es/tileset-manager/const.d.ts +12 -0
- package/lib/@antv/l7-utils/es/tileset-manager/const.js +26 -0
- package/lib/@antv/l7-utils/es/tileset-manager/index.d.ts +5 -0
- package/lib/@antv/l7-utils/es/tileset-manager/index.js +10 -0
- package/lib/@antv/l7-utils/es/tileset-manager/tile.d.ts +48 -0
- package/lib/@antv/l7-utils/es/tileset-manager/tile.js +176 -0
- package/lib/@antv/l7-utils/es/tileset-manager/tileset-manager.d.ts +58 -0
- package/lib/@antv/l7-utils/es/tileset-manager/tileset-manager.js +359 -0
- package/lib/@antv/l7-utils/es/tileset-manager/types.d.ts +39 -0
- package/lib/@antv/l7-utils/es/tileset-manager/types.js +18 -0
- package/lib/@antv/l7-utils/es/tileset-manager/utils/bound-buffer.d.ts +8 -0
- package/lib/@antv/l7-utils/es/tileset-manager/utils/bound-buffer.js +25 -0
- package/lib/@antv/l7-utils/es/tileset-manager/utils/lonlat-tile.d.ts +34 -0
- package/lib/@antv/l7-utils/es/tileset-manager/utils/lonlat-tile.js +78 -0
- package/lib/@antv/l7-utils/es/tileset-manager/utils/strategies.d.ts +4 -0
- package/lib/@antv/l7-utils/es/tileset-manager/utils/strategies.js +69 -0
- package/lib/@antv/l7-utils/es/tileset-manager/utils/tile-url.d.ts +26 -0
- package/lib/@antv/l7-utils/es/tileset-manager/utils/tile-url.js +62 -0
- package/lib/@antv/l7-utils/lib/ajax.d.ts +53 -0
- package/lib/@antv/l7-utils/lib/ajax.js +226 -0
- package/lib/@antv/l7-utils/lib/anchor.d.ts +15 -0
- package/lib/@antv/l7-utils/lib/anchor.js +64 -0
- package/lib/@antv/l7-utils/lib/color.d.ts +20 -0
- package/lib/@antv/l7-utils/lib/color.js +211 -0
- package/lib/@antv/l7-utils/lib/config.d.ts +9 -0
- package/lib/@antv/l7-utils/lib/config.js +31 -0
- package/lib/@antv/l7-utils/lib/cull.d.ts +1 -0
- package/lib/@antv/l7-utils/lib/cull.js +56 -0
- package/lib/@antv/l7-utils/lib/dom.d.ts +41 -0
- package/lib/@antv/l7-utils/lib/dom.js +281 -0
- package/lib/@antv/l7-utils/lib/env.d.ts +6 -0
- package/lib/@antv/l7-utils/lib/env.js +60 -0
- package/lib/@antv/l7-utils/lib/event.d.ts +7 -0
- package/lib/@antv/l7-utils/lib/event.js +53 -0
- package/lib/@antv/l7-utils/lib/geo.d.ts +68 -0
- package/lib/@antv/l7-utils/lib/geo.js +411 -0
- package/lib/@antv/l7-utils/lib/hash.d.ts +3 -0
- package/lib/@antv/l7-utils/lib/hash.js +62 -0
- package/lib/@antv/l7-utils/lib/index.d.ts +17 -0
- package/lib/@antv/l7-utils/lib/index.js +84 -0
- package/lib/@antv/l7-utils/lib/interface/map.d.ts +8 -0
- package/lib/@antv/l7-utils/lib/interface/map.js +37 -0
- package/lib/@antv/l7-utils/lib/lineAtOffset/arc.d.ts +3 -0
- package/lib/@antv/l7-utils/lib/lineAtOffset/arc.js +72 -0
- package/lib/@antv/l7-utils/lib/lineAtOffset/greatCircle.d.ts +4 -0
- package/lib/@antv/l7-utils/lib/lineAtOffset/greatCircle.js +90 -0
- package/lib/@antv/l7-utils/lib/lineAtOffset/index.d.ts +3 -0
- package/lib/@antv/l7-utils/lib/lineAtOffset/index.js +104 -0
- package/lib/@antv/l7-utils/lib/lineAtOffset/interface.d.ts +14 -0
- package/lib/@antv/l7-utils/lib/lineAtOffset/interface.js +17 -0
- package/lib/@antv/l7-utils/lib/lineAtOffset/line.d.ts +6 -0
- package/lib/@antv/l7-utils/lib/lineAtOffset/line.js +72 -0
- package/lib/@antv/l7-utils/lib/lodash-adapter.d.ts +69 -0
- package/lib/@antv/l7-utils/lib/lodash-adapter.js +82 -0
- package/lib/@antv/l7-utils/lib/lru_cache.d.ts +23 -0
- package/lib/@antv/l7-utils/lib/lru_cache.js +88 -0
- package/lib/@antv/l7-utils/lib/math.d.ts +1 -0
- package/lib/@antv/l7-utils/lib/math.js +31 -0
- package/lib/@antv/l7-utils/lib/statistics.d.ts +14 -0
- package/lib/@antv/l7-utils/lib/statistics.js +123 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/const.d.ts +12 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/const.js +51 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/index.d.ts +5 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/index.js +39 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/tile.d.ts +48 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/tile.js +209 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/tileset-manager.d.ts +58 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/tileset-manager.js +385 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/types.d.ts +39 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/types.js +43 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/utils/bound-buffer.d.ts +8 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/utils/bound-buffer.js +50 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/utils/lonlat-tile.d.ts +34 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/utils/lonlat-tile.js +106 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/utils/strategies.d.ts +4 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/utils/strategies.js +95 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/utils/tile-url.d.ts +26 -0
- package/lib/@antv/l7-utils/lib/tileset-manager/utils/tile-url.js +89 -0
- package/lib/@antv/l7-utils/package.json +44 -0
- package/lib/@antv/util/LICENSE +21 -0
- package/lib/@antv/util/README.md +245 -0
- package/lib/@antv/util/dist/color/arr2rgb.d.ts +12 -0
- package/lib/@antv/util/dist/color/gradient.d.ts +6 -0
- package/lib/@antv/util/dist/color/index.d.ts +4 -0
- package/lib/@antv/util/dist/color/rgb2arr.d.ts +6 -0
- package/lib/@antv/util/dist/color/tocssgradient.d.ts +1 -0
- package/lib/@antv/util/dist/color/torgb.d.ts +14 -0
- package/lib/@antv/util/dist/dom/create-dom.d.ts +6 -0
- package/lib/@antv/util/dist/dom/index.d.ts +2 -0
- package/lib/@antv/util/dist/dom/modify-css.d.ts +9 -0
- package/lib/@antv/util/dist/index.d.ts +6 -0
- package/lib/@antv/util/dist/lodash/augment.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/cache.d.ts +14 -0
- package/lib/@antv/util/dist/lodash/clamp.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/clear-animation-frame.d.ts +1 -0
- package/lib/@antv/util/dist/lodash/clone.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/contains.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/debounce.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/deep-mix.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/difference.d.ts +11 -0
- package/lib/@antv/util/dist/lodash/each.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/ends-with.d.ts +3 -0
- package/lib/@antv/util/dist/lodash/every.d.ts +7 -0
- package/lib/@antv/util/dist/lodash/extend.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/filter.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/find-index.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/find.d.ts +3 -0
- package/lib/@antv/util/dist/lodash/first-value.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/fixed-base.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/flatten-deep.d.ts +12 -0
- package/lib/@antv/util/dist/lodash/flatten.d.ts +11 -0
- package/lib/@antv/util/dist/lodash/for-in.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/get-range.d.ts +6 -0
- package/lib/@antv/util/dist/lodash/get-type.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/get-wrap-behavior.d.ts +9 -0
- package/lib/@antv/util/dist/lodash/get.d.ts +8 -0
- package/lib/@antv/util/dist/lodash/group-by.d.ts +6 -0
- package/lib/@antv/util/dist/lodash/group-to-map.d.ts +8 -0
- package/lib/@antv/util/dist/lodash/group.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/has-key.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/has-value.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/has.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/head.d.ts +1 -0
- package/lib/@antv/util/dist/lodash/identity.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/index-of.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/index.d.ts +108 -0
- package/lib/@antv/util/dist/lodash/is-arguments.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-array-like.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-array.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-boolean.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-date.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-decimal.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-element.d.ts +6 -0
- package/lib/@antv/util/dist/lodash/is-empty.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-equal-with.d.ts +24 -0
- package/lib/@antv/util/dist/lodash/is-equal.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-error.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-even.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-finite.d.ts +1 -0
- package/lib/@antv/util/dist/lodash/is-function.d.ts +5 -0
- package/lib/@antv/util/dist/lodash/is-integer.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-match.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-negative.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-nil.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-null.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-number-equal.d.ts +1 -0
- package/lib/@antv/util/dist/lodash/is-number.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-object-like.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-object.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-odd.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-plain-object.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-positive.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-prototype.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-reg-exp.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-segment-equal.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-string.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-type.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/is-undefined.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/keys.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/last.d.ts +1 -0
- package/lib/@antv/util/dist/lodash/lower-case.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/lower-first.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/map-values.d.ts +6 -0
- package/lib/@antv/util/dist/lodash/map.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/max-by.d.ts +16 -0
- package/lib/@antv/util/dist/lodash/max.d.ts +19 -0
- package/lib/@antv/util/dist/lodash/memoize.d.ts +17 -0
- package/lib/@antv/util/dist/lodash/merge.d.ts +7 -0
- package/lib/@antv/util/dist/lodash/min-by.d.ts +16 -0
- package/lib/@antv/util/dist/lodash/min.d.ts +19 -0
- package/lib/@antv/util/dist/lodash/mix.d.ts +1 -0
- package/lib/@antv/util/dist/lodash/mod.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/noop.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/number2color.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/omit.d.ts +3 -0
- package/lib/@antv/util/dist/lodash/parse-radius.d.ts +9 -0
- package/lib/@antv/util/dist/lodash/pick.d.ts +16 -0
- package/lib/@antv/util/dist/lodash/pull-at.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/pull.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/reduce.d.ts +3 -0
- package/lib/@antv/util/dist/lodash/remove.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/request-animation-frame.d.ts +1 -0
- package/lib/@antv/util/dist/lodash/set.d.ts +8 -0
- package/lib/@antv/util/dist/lodash/size.d.ts +1 -0
- package/lib/@antv/util/dist/lodash/some.d.ts +7 -0
- package/lib/@antv/util/dist/lodash/sort-by.d.ts +7 -0
- package/lib/@antv/util/dist/lodash/starts-with.d.ts +3 -0
- package/lib/@antv/util/dist/lodash/substitute.d.ts +5 -0
- package/lib/@antv/util/dist/lodash/throttle.d.ts +6 -0
- package/lib/@antv/util/dist/lodash/to-array.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/to-degree.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/to-integer.d.ts +1 -0
- package/lib/@antv/util/dist/lodash/to-radian.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/to-string.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/types/index.d.ts +3 -0
- package/lib/@antv/util/dist/lodash/union.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/uniq.d.ts +1 -0
- package/lib/@antv/util/dist/lodash/unique-id.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/upper-case.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/upper-first.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/values-of-key.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/values.d.ts +2 -0
- package/lib/@antv/util/dist/lodash/wrap-behavior.d.ts +9 -0
- package/lib/@antv/util/dist/math/index.d.ts +2 -0
- package/lib/@antv/util/dist/math/is-point-in-polygon.d.ts +1 -0
- package/lib/@antv/util/dist/math/is-polygons-intersect.d.ts +4 -0
- package/lib/@antv/util/dist/matrix/angle-to.d.ts +7 -0
- package/lib/@antv/util/dist/matrix/direction.d.ts +7 -0
- package/lib/@antv/util/dist/matrix/index.d.ts +7 -0
- package/lib/@antv/util/dist/matrix/transform.d.ts +6 -0
- package/lib/@antv/util/dist/matrix/vertical.d.ts +7 -0
- package/lib/@antv/util/dist/path/convert/path-2-absolute.d.ts +2 -0
- package/lib/@antv/util/dist/path/convert/path-2-array.d.ts +2 -0
- package/lib/@antv/util/dist/path/convert/path-2-curve.d.ts +2 -0
- package/lib/@antv/util/dist/path/convert/path-2-string.d.ts +6 -0
- package/lib/@antv/util/dist/path/index.d.ts +19 -0
- package/lib/@antv/util/dist/path/parser/finalize-segment.d.ts +5 -0
- package/lib/@antv/util/dist/path/parser/is-arc-command.d.ts +4 -0
- package/lib/@antv/util/dist/path/parser/is-digit-start.d.ts +6 -0
- package/lib/@antv/util/dist/path/parser/is-path-command.d.ts +4 -0
- package/lib/@antv/util/dist/path/parser/is-space.d.ts +4 -0
- package/lib/@antv/util/dist/path/parser/params-count.d.ts +13 -0
- package/lib/@antv/util/dist/path/parser/params-parser.d.ts +10 -0
- package/lib/@antv/util/dist/path/parser/parse-path-string.d.ts +6 -0
- package/lib/@antv/util/dist/path/parser/path-parser.d.ts +16 -0
- package/lib/@antv/util/dist/path/parser/scan-flag.d.ts +6 -0
- package/lib/@antv/util/dist/path/parser/scan-param.d.ts +6 -0
- package/lib/@antv/util/dist/path/parser/scan-segment.d.ts +6 -0
- package/lib/@antv/util/dist/path/parser/skip-spaces.d.ts +7 -0
- package/lib/@antv/util/dist/path/process/arc-2-cubic.d.ts +7 -0
- package/lib/@antv/util/dist/path/process/clone-path.d.ts +2 -0
- package/lib/@antv/util/dist/path/process/fix-arc.d.ts +2 -0
- package/lib/@antv/util/dist/path/process/line-2-cubic.d.ts +1 -0
- package/lib/@antv/util/dist/path/process/normalize-path.d.ts +8 -0
- package/lib/@antv/util/dist/path/process/normalize-segment.d.ts +6 -0
- package/lib/@antv/util/dist/path/process/quad-2-cubic.d.ts +1 -0
- package/lib/@antv/util/dist/path/process/reverse-curve.d.ts +2 -0
- package/lib/@antv/util/dist/path/process/round-path.d.ts +6 -0
- package/lib/@antv/util/dist/path/process/segment-2-cubic.d.ts +2 -0
- package/lib/@antv/util/dist/path/types.d.ts +127 -0
- package/lib/@antv/util/dist/path/util/distance-square-root.d.ts +1 -0
- package/lib/@antv/util/dist/path/util/equalize-segments.d.ts +2 -0
- package/lib/@antv/util/dist/path/util/get-draw-direction.d.ts +2 -0
- package/lib/@antv/util/dist/path/util/get-path-area.d.ts +8 -0
- package/lib/@antv/util/dist/path/util/get-path-bbox-total-length.d.ts +5 -0
- package/lib/@antv/util/dist/path/util/get-path-bbox.d.ts +5 -0
- package/lib/@antv/util/dist/path/util/get-point-at-length.d.ts +5 -0
- package/lib/@antv/util/dist/path/util/get-properties-at-length.d.ts +6 -0
- package/lib/@antv/util/dist/path/util/get-properties-at-point.d.ts +7 -0
- package/lib/@antv/util/dist/path/util/get-rotated-curve.d.ts +2 -0
- package/lib/@antv/util/dist/path/util/get-total-length.d.ts +8 -0
- package/lib/@antv/util/dist/path/util/is-absolute-array.d.ts +6 -0
- package/lib/@antv/util/dist/path/util/is-curve-array.d.ts +9 -0
- package/lib/@antv/util/dist/path/util/is-normalized-array.d.ts +7 -0
- package/lib/@antv/util/dist/path/util/is-path-array.d.ts +5 -0
- package/lib/@antv/util/dist/path/util/is-point-in-stroke.d.ts +5 -0
- package/lib/@antv/util/dist/path/util/mid-point.d.ts +1 -0
- package/lib/@antv/util/dist/path/util/path-length-factory.d.ts +7 -0
- package/lib/@antv/util/dist/path/util/rotate-vector.d.ts +4 -0
- package/lib/@antv/util/dist/path/util/segment-arc-factory.d.ts +8 -0
- package/lib/@antv/util/dist/path/util/segment-cubic-factory.d.ts +6 -0
- package/lib/@antv/util/dist/path/util/segment-line-factory.d.ts +6 -0
- package/lib/@antv/util/dist/path/util/segment-quad-factory.d.ts +6 -0
- package/lib/@antv/util/dist/util.min.js +1 -0
- package/lib/@antv/util/esm/color/arr2rgb.d.ts +12 -0
- package/lib/@antv/util/esm/color/arr2rgb.js +18 -0
- package/lib/@antv/util/esm/color/arr2rgb.js.map +1 -0
- package/lib/@antv/util/esm/color/gradient.d.ts +6 -0
- package/lib/@antv/util/esm/color/gradient.js +45 -0
- package/lib/@antv/util/esm/color/gradient.js.map +1 -0
- package/lib/@antv/util/esm/color/index.d.ts +4 -0
- package/lib/@antv/util/esm/color/index.js +5 -0
- package/lib/@antv/util/esm/color/index.js.map +1 -0
- package/lib/@antv/util/esm/color/rgb2arr.d.ts +6 -0
- package/lib/@antv/util/esm/color/rgb2arr.js +9 -0
- package/lib/@antv/util/esm/color/rgb2arr.js.map +1 -0
- package/lib/@antv/util/esm/color/tocssgradient.d.ts +1 -0
- package/lib/@antv/util/esm/color/tocssgradient.js +37 -0
- package/lib/@antv/util/esm/color/tocssgradient.js.map +1 -0
- package/lib/@antv/util/esm/color/torgb.d.ts +14 -0
- package/lib/@antv/util/esm/color/torgb.js +43 -0
- package/lib/@antv/util/esm/color/torgb.js.map +1 -0
- package/lib/@antv/util/esm/dom/create-dom.d.ts +6 -0
- package/lib/@antv/util/esm/dom/create-dom.js +15 -0
- package/lib/@antv/util/esm/dom/create-dom.js.map +1 -0
- package/lib/@antv/util/esm/dom/index.d.ts +2 -0
- package/lib/@antv/util/esm/dom/index.js +3 -0
- package/lib/@antv/util/esm/dom/index.js.map +1 -0
- package/lib/@antv/util/esm/dom/modify-css.d.ts +9 -0
- package/lib/@antv/util/esm/dom/modify-css.js +15 -0
- package/lib/@antv/util/esm/dom/modify-css.js.map +1 -0
- package/lib/@antv/util/esm/index.d.ts +6 -0
- package/lib/@antv/util/esm/index.js +7 -0
- package/lib/@antv/util/esm/index.js.map +1 -0
- package/lib/@antv/util/esm/lodash/augment.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/augment.js +18 -0
- package/lib/@antv/util/esm/lodash/augment.js.map +1 -0
- package/lib/@antv/util/esm/lodash/cache.d.ts +14 -0
- package/lib/@antv/util/esm/lodash/cache.js +30 -0
- package/lib/@antv/util/esm/lodash/cache.js.map +1 -0
- package/lib/@antv/util/esm/lodash/clamp.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/clamp.js +11 -0
- package/lib/@antv/util/esm/lodash/clamp.js.map +1 -0
- package/lib/@antv/util/esm/lodash/clear-animation-frame.d.ts +1 -0
- package/lib/@antv/util/esm/lodash/clear-animation-frame.js +12 -0
- package/lib/@antv/util/esm/lodash/clear-animation-frame.js.map +1 -0
- package/lib/@antv/util/esm/lodash/clone.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/clone.js +32 -0
- package/lib/@antv/util/esm/lodash/clone.js.map +1 -0
- package/lib/@antv/util/esm/lodash/contains.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/contains.js +9 -0
- package/lib/@antv/util/esm/lodash/contains.js.map +1 -0
- package/lib/@antv/util/esm/lodash/debounce.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/debounce.js +20 -0
- package/lib/@antv/util/esm/lodash/debounce.js.map +1 -0
- package/lib/@antv/util/esm/lodash/deep-mix.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/deep-mix.js +52 -0
- package/lib/@antv/util/esm/lodash/deep-mix.js.map +1 -0
- package/lib/@antv/util/esm/lodash/difference.d.ts +11 -0
- package/lib/@antv/util/esm/lodash/difference.js +17 -0
- package/lib/@antv/util/esm/lodash/difference.js.map +1 -0
- package/lib/@antv/util/esm/lodash/each.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/each.js +28 -0
- package/lib/@antv/util/esm/lodash/each.js.map +1 -0
- package/lib/@antv/util/esm/lodash/ends-with.d.ts +3 -0
- package/lib/@antv/util/esm/lodash/ends-with.js +7 -0
- package/lib/@antv/util/esm/lodash/ends-with.js.map +1 -0
- package/lib/@antv/util/esm/lodash/every.d.ts +7 -0
- package/lib/@antv/util/esm/lodash/every.js +14 -0
- package/lib/@antv/util/esm/lodash/every.js.map +1 -0
- package/lib/@antv/util/esm/lodash/extend.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/extend.js +33 -0
- package/lib/@antv/util/esm/lodash/extend.js.map +1 -0
- package/lib/@antv/util/esm/lodash/filter.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/filter.js +16 -0
- package/lib/@antv/util/esm/lodash/filter.js.map +1 -0
- package/lib/@antv/util/esm/lodash/find-index.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/find-index.js +12 -0
- package/lib/@antv/util/esm/lodash/find-index.js.map +1 -0
- package/lib/@antv/util/esm/lodash/find.d.ts +3 -0
- package/lib/@antv/util/esm/lodash/find.js +25 -0
- package/lib/@antv/util/esm/lodash/find.js.map +1 -0
- package/lib/@antv/util/esm/lodash/first-value.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/first-value.js +21 -0
- package/lib/@antv/util/esm/lodash/first-value.js.map +1 -0
- package/lib/@antv/util/esm/lodash/fixed-base.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/fixed-base.js +14 -0
- package/lib/@antv/util/esm/lodash/fixed-base.js.map +1 -0
- package/lib/@antv/util/esm/lodash/flatten-deep.d.ts +12 -0
- package/lib/@antv/util/esm/lodash/flatten-deep.js +25 -0
- package/lib/@antv/util/esm/lodash/flatten-deep.js.map +1 -0
- package/lib/@antv/util/esm/lodash/flatten.d.ts +11 -0
- package/lib/@antv/util/esm/lodash/flatten.js +22 -0
- package/lib/@antv/util/esm/lodash/flatten.js.map +1 -0
- package/lib/@antv/util/esm/lodash/for-in.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/for-in.js +3 -0
- package/lib/@antv/util/esm/lodash/for-in.js.map +1 -0
- package/lib/@antv/util/esm/lodash/get-range.d.ts +6 -0
- package/lib/@antv/util/esm/lodash/get-range.js +29 -0
- package/lib/@antv/util/esm/lodash/get-range.js.map +1 -0
- package/lib/@antv/util/esm/lodash/get-type.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/get-type.js +9 -0
- package/lib/@antv/util/esm/lodash/get-type.js.map +1 -0
- package/lib/@antv/util/esm/lodash/get-wrap-behavior.d.ts +9 -0
- package/lib/@antv/util/esm/lodash/get-wrap-behavior.js +12 -0
- package/lib/@antv/util/esm/lodash/get-wrap-behavior.js.map +1 -0
- package/lib/@antv/util/esm/lodash/get.d.ts +8 -0
- package/lib/@antv/util/esm/lodash/get.js +16 -0
- package/lib/@antv/util/esm/lodash/get.js.map +1 -0
- package/lib/@antv/util/esm/lodash/group-by.d.ts +6 -0
- package/lib/@antv/util/esm/lodash/group-by.js +25 -0
- package/lib/@antv/util/esm/lodash/group-by.js.map +1 -0
- package/lib/@antv/util/esm/lodash/group-to-map.d.ts +8 -0
- package/lib/@antv/util/esm/lodash/group-to-map.js +29 -0
- package/lib/@antv/util/esm/lodash/group-to-map.js.map +1 -0
- package/lib/@antv/util/esm/lodash/group.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/group.js +14 -0
- package/lib/@antv/util/esm/lodash/group.js.map +1 -0
- package/lib/@antv/util/esm/lodash/has-key.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/has-key.js +3 -0
- package/lib/@antv/util/esm/lodash/has-key.js.map +1 -0
- package/lib/@antv/util/esm/lodash/has-value.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/has-value.js +4 -0
- package/lib/@antv/util/esm/lodash/has-value.js.map +1 -0
- package/lib/@antv/util/esm/lodash/has.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/has.js +2 -0
- package/lib/@antv/util/esm/lodash/has.js.map +1 -0
- package/lib/@antv/util/esm/lodash/head.d.ts +1 -0
- package/lib/@antv/util/esm/lodash/head.js +8 -0
- package/lib/@antv/util/esm/lodash/head.js.map +1 -0
- package/lib/@antv/util/esm/lodash/identity.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/identity.js +2 -0
- package/lib/@antv/util/esm/lodash/identity.js.map +1 -0
- package/lib/@antv/util/esm/lodash/index-of.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/index-of.js +20 -0
- package/lib/@antv/util/esm/lodash/index-of.js.map +1 -0
- package/lib/@antv/util/esm/lodash/index.d.ts +108 -0
- package/lib/@antv/util/esm/lodash/index.js +118 -0
- package/lib/@antv/util/esm/lodash/index.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-arguments.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-arguments.js +12 -0
- package/lib/@antv/util/esm/lodash/is-arguments.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-array-like.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-array-like.js +11 -0
- package/lib/@antv/util/esm/lodash/is-array-like.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-array.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-array.js +5 -0
- package/lib/@antv/util/esm/lodash/is-array.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-boolean.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-boolean.js +12 -0
- package/lib/@antv/util/esm/lodash/is-boolean.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-date.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-date.js +6 -0
- package/lib/@antv/util/esm/lodash/is-date.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-decimal.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-decimal.js +6 -0
- package/lib/@antv/util/esm/lodash/is-decimal.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-element.d.ts +6 -0
- package/lib/@antv/util/esm/lodash/is-element.js +9 -0
- package/lib/@antv/util/esm/lodash/is-element.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-empty.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-empty.js +37 -0
- package/lib/@antv/util/esm/lodash/is-empty.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-equal-with.d.ts +24 -0
- package/lib/@antv/util/esm/lodash/is-equal-with.js +31 -0
- package/lib/@antv/util/esm/lodash/is-equal-with.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-equal.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-equal.js +45 -0
- package/lib/@antv/util/esm/lodash/is-equal.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-error.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-error.js +12 -0
- package/lib/@antv/util/esm/lodash/is-error.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-even.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-even.js +6 -0
- package/lib/@antv/util/esm/lodash/is-even.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-finite.d.ts +1 -0
- package/lib/@antv/util/esm/lodash/is-finite.js +9 -0
- package/lib/@antv/util/esm/lodash/is-finite.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-function.d.ts +5 -0
- package/lib/@antv/util/esm/lodash/is-function.js +7 -0
- package/lib/@antv/util/esm/lodash/is-function.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-integer.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-integer.js +8 -0
- package/lib/@antv/util/esm/lodash/is-integer.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-match.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-match.js +17 -0
- package/lib/@antv/util/esm/lodash/is-match.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-negative.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-negative.js +6 -0
- package/lib/@antv/util/esm/lodash/is-negative.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-nil.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-nil.js +10 -0
- package/lib/@antv/util/esm/lodash/is-nil.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-null.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-null.js +5 -0
- package/lib/@antv/util/esm/lodash/is-null.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-number-equal.d.ts +1 -0
- package/lib/@antv/util/esm/lodash/is-number-equal.js +6 -0
- package/lib/@antv/util/esm/lodash/is-number-equal.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-number.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-number.js +10 -0
- package/lib/@antv/util/esm/lodash/is-number.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-object-like.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-object-like.js +11 -0
- package/lib/@antv/util/esm/lodash/is-object-like.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-object.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-object.js +11 -0
- package/lib/@antv/util/esm/lodash/is-object.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-odd.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-odd.js +6 -0
- package/lib/@antv/util/esm/lodash/is-odd.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-plain-object.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-plain-object.js +23 -0
- package/lib/@antv/util/esm/lodash/is-plain-object.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-positive.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-positive.js +6 -0
- package/lib/@antv/util/esm/lodash/is-positive.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-prototype.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-prototype.js +8 -0
- package/lib/@antv/util/esm/lodash/is-prototype.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-reg-exp.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-reg-exp.js +6 -0
- package/lib/@antv/util/esm/lodash/is-reg-exp.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-segment-equal.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-segment-equal.js +15 -0
- package/lib/@antv/util/esm/lodash/is-segment-equal.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-string.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-string.js +5 -0
- package/lib/@antv/util/esm/lodash/is-string.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-type.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-type.js +4 -0
- package/lib/@antv/util/esm/lodash/is-type.js.map +1 -0
- package/lib/@antv/util/esm/lodash/is-undefined.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/is-undefined.js +5 -0
- package/lib/@antv/util/esm/lodash/is-undefined.js.map +1 -0
- package/lib/@antv/util/esm/lodash/keys.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/keys.js +15 -0
- package/lib/@antv/util/esm/lodash/keys.js.map +1 -0
- package/lib/@antv/util/esm/lodash/last.d.ts +1 -0
- package/lib/@antv/util/esm/lodash/last.js +9 -0
- package/lib/@antv/util/esm/lodash/last.js.map +1 -0
- package/lib/@antv/util/esm/lodash/lower-case.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/lower-case.js +6 -0
- package/lib/@antv/util/esm/lodash/lower-case.js.map +1 -0
- package/lib/@antv/util/esm/lodash/lower-first.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/lower-first.js +7 -0
- package/lib/@antv/util/esm/lodash/lower-first.js.map +1 -0
- package/lib/@antv/util/esm/lodash/map-values.d.ts +6 -0
- package/lib/@antv/util/esm/lodash/map-values.js +15 -0
- package/lib/@antv/util/esm/lodash/map-values.js.map +1 -0
- package/lib/@antv/util/esm/lodash/map.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/map.js +15 -0
- package/lib/@antv/util/esm/lodash/map.js.map +1 -0
- package/lib/@antv/util/esm/lodash/max-by.d.ts +16 -0
- package/lib/@antv/util/esm/lodash/max-by.js +33 -0
- package/lib/@antv/util/esm/lodash/max-by.js.map +1 -0
- package/lib/@antv/util/esm/lodash/max.d.ts +19 -0
- package/lib/@antv/util/esm/lodash/max.js +27 -0
- package/lib/@antv/util/esm/lodash/max.js.map +1 -0
- package/lib/@antv/util/esm/lodash/memoize.d.ts +17 -0
- package/lib/@antv/util/esm/lodash/memoize.js +74 -0
- package/lib/@antv/util/esm/lodash/memoize.js.map +1 -0
- package/lib/@antv/util/esm/lodash/merge.d.ts +7 -0
- package/lib/@antv/util/esm/lodash/merge.js +13 -0
- package/lib/@antv/util/esm/lodash/merge.js.map +1 -0
- package/lib/@antv/util/esm/lodash/min-by.d.ts +16 -0
- package/lib/@antv/util/esm/lodash/min-by.js +33 -0
- package/lib/@antv/util/esm/lodash/min-by.js.map +1 -0
- package/lib/@antv/util/esm/lodash/min.d.ts +19 -0
- package/lib/@antv/util/esm/lodash/min.js +27 -0
- package/lib/@antv/util/esm/lodash/min.js.map +1 -0
- package/lib/@antv/util/esm/lodash/mix.d.ts +1 -0
- package/lib/@antv/util/esm/lodash/mix.js +18 -0
- package/lib/@antv/util/esm/lodash/mix.js.map +1 -0
- package/lib/@antv/util/esm/lodash/mod.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/mod.js +5 -0
- package/lib/@antv/util/esm/lodash/mod.js.map +1 -0
- package/lib/@antv/util/esm/lodash/noop.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/noop.js +2 -0
- package/lib/@antv/util/esm/lodash/noop.js.map +1 -0
- package/lib/@antv/util/esm/lodash/number2color.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/number2color.js +16 -0
- package/lib/@antv/util/esm/lodash/number2color.js.map +1 -0
- package/lib/@antv/util/esm/lodash/omit.d.ts +3 -0
- package/lib/@antv/util/esm/lodash/omit.js +10 -0
- package/lib/@antv/util/esm/lodash/omit.js.map +1 -0
- package/lib/@antv/util/esm/lodash/parse-radius.d.ts +9 -0
- package/lib/@antv/util/esm/lodash/parse-radius.js +35 -0
- package/lib/@antv/util/esm/lodash/parse-radius.js.map +1 -0
- package/lib/@antv/util/esm/lodash/pick.d.ts +16 -0
- package/lib/@antv/util/esm/lodash/pick.js +16 -0
- package/lib/@antv/util/esm/lodash/pick.js.map +1 -0
- package/lib/@antv/util/esm/lodash/pull-at.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/pull-at.js +20 -0
- package/lib/@antv/util/esm/lodash/pull-at.js.map +1 -0
- package/lib/@antv/util/esm/lodash/pull.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/pull.js +19 -0
- package/lib/@antv/util/esm/lodash/pull.js.map +1 -0
- package/lib/@antv/util/esm/lodash/reduce.d.ts +3 -0
- package/lib/@antv/util/esm/lodash/reduce.js +15 -0
- package/lib/@antv/util/esm/lodash/reduce.js.map +1 -0
- package/lib/@antv/util/esm/lodash/remove.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/remove.js +28 -0
- package/lib/@antv/util/esm/lodash/remove.js.map +1 -0
- package/lib/@antv/util/esm/lodash/request-animation-frame.d.ts +1 -0
- package/lib/@antv/util/esm/lodash/request-animation-frame.js +14 -0
- package/lib/@antv/util/esm/lodash/request-animation-frame.js.map +1 -0
- package/lib/@antv/util/esm/lodash/set.d.ts +8 -0
- package/lib/@antv/util/esm/lodash/set.js +27 -0
- package/lib/@antv/util/esm/lodash/set.js.map +1 -0
- package/lib/@antv/util/esm/lodash/size.d.ts +1 -0
- package/lib/@antv/util/esm/lodash/size.js +12 -0
- package/lib/@antv/util/esm/lodash/size.js.map +1 -0
- package/lib/@antv/util/esm/lodash/some.d.ts +7 -0
- package/lib/@antv/util/esm/lodash/some.js +14 -0
- package/lib/@antv/util/esm/lodash/some.js.map +1 -0
- package/lib/@antv/util/esm/lodash/sort-by.d.ts +7 -0
- package/lib/@antv/util/esm/lodash/sort-by.js +34 -0
- package/lib/@antv/util/esm/lodash/sort-by.js.map +1 -0
- package/lib/@antv/util/esm/lodash/starts-with.d.ts +3 -0
- package/lib/@antv/util/esm/lodash/starts-with.js +7 -0
- package/lib/@antv/util/esm/lodash/starts-with.js.map +1 -0
- package/lib/@antv/util/esm/lodash/substitute.d.ts +5 -0
- package/lib/@antv/util/esm/lodash/substitute.js +13 -0
- package/lib/@antv/util/esm/lodash/substitute.js.map +1 -0
- package/lib/@antv/util/esm/lodash/throttle.d.ts +6 -0
- package/lib/@antv/util/esm/lodash/throttle.js +42 -0
- package/lib/@antv/util/esm/lodash/throttle.js.map +1 -0
- package/lib/@antv/util/esm/lodash/to-array.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/to-array.js +5 -0
- package/lib/@antv/util/esm/lodash/to-array.js.map +1 -0
- package/lib/@antv/util/esm/lodash/to-degree.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/to-degree.js +6 -0
- package/lib/@antv/util/esm/lodash/to-degree.js.map +1 -0
- package/lib/@antv/util/esm/lodash/to-integer.d.ts +1 -0
- package/lib/@antv/util/esm/lodash/to-integer.js +2 -0
- package/lib/@antv/util/esm/lodash/to-integer.js.map +1 -0
- package/lib/@antv/util/esm/lodash/to-radian.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/to-radian.js +6 -0
- package/lib/@antv/util/esm/lodash/to-radian.js.map +1 -0
- package/lib/@antv/util/esm/lodash/to-string.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/to-string.js +7 -0
- package/lib/@antv/util/esm/lodash/to-string.js.map +1 -0
- package/lib/@antv/util/esm/lodash/types/index.d.ts +3 -0
- package/lib/@antv/util/esm/lodash/types/index.js +2 -0
- package/lib/@antv/util/esm/lodash/types/index.js.map +1 -0
- package/lib/@antv/util/esm/lodash/union.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/union.js +10 -0
- package/lib/@antv/util/esm/lodash/union.js.map +1 -0
- package/lib/@antv/util/esm/lodash/uniq.d.ts +1 -0
- package/lib/@antv/util/esm/lodash/uniq.js +16 -0
- package/lib/@antv/util/esm/lodash/uniq.js.map +1 -0
- package/lib/@antv/util/esm/lodash/unique-id.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/unique-id.js +12 -0
- package/lib/@antv/util/esm/lodash/unique-id.js.map +1 -0
- package/lib/@antv/util/esm/lodash/upper-case.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/upper-case.js +6 -0
- package/lib/@antv/util/esm/lodash/upper-case.js.map +1 -0
- package/lib/@antv/util/esm/lodash/upper-first.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/upper-first.js +7 -0
- package/lib/@antv/util/esm/lodash/upper-first.js.map +1 -0
- package/lib/@antv/util/esm/lodash/values-of-key.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/values-of-key.js +26 -0
- package/lib/@antv/util/esm/lodash/values-of-key.js.map +1 -0
- package/lib/@antv/util/esm/lodash/values.d.ts +2 -0
- package/lib/@antv/util/esm/lodash/values.js +16 -0
- package/lib/@antv/util/esm/lodash/values.js.map +1 -0
- package/lib/@antv/util/esm/lodash/wrap-behavior.d.ts +9 -0
- package/lib/@antv/util/esm/lodash/wrap-behavior.js +19 -0
- package/lib/@antv/util/esm/lodash/wrap-behavior.js.map +1 -0
- package/lib/@antv/util/esm/math/index.d.ts +2 -0
- package/lib/@antv/util/esm/math/index.js +3 -0
- package/lib/@antv/util/esm/math/index.js.map +1 -0
- package/lib/@antv/util/esm/math/is-point-in-polygon.d.ts +1 -0
- package/lib/@antv/util/esm/math/is-point-in-polygon.js +45 -0
- package/lib/@antv/util/esm/math/is-point-in-polygon.js.map +1 -0
- package/lib/@antv/util/esm/math/is-polygons-intersect.d.ts +4 -0
- package/lib/@antv/util/esm/math/is-polygons-intersect.js +136 -0
- package/lib/@antv/util/esm/math/is-polygons-intersect.js.map +1 -0
- package/lib/@antv/util/esm/matrix/angle-to.d.ts +7 -0
- package/lib/@antv/util/esm/matrix/angle-to.js +23 -0
- package/lib/@antv/util/esm/matrix/angle-to.js.map +1 -0
- package/lib/@antv/util/esm/matrix/direction.d.ts +7 -0
- package/lib/@antv/util/esm/matrix/direction.js +10 -0
- package/lib/@antv/util/esm/matrix/direction.js.map +1 -0
- package/lib/@antv/util/esm/matrix/index.d.ts +7 -0
- package/lib/@antv/util/esm/matrix/index.js +8 -0
- package/lib/@antv/util/esm/matrix/index.js.map +1 -0
- package/lib/@antv/util/esm/matrix/transform.d.ts +6 -0
- package/lib/@antv/util/esm/matrix/transform.js +48 -0
- package/lib/@antv/util/esm/matrix/transform.js.map +1 -0
- package/lib/@antv/util/esm/matrix/vertical.d.ts +7 -0
- package/lib/@antv/util/esm/matrix/vertical.js +18 -0
- package/lib/@antv/util/esm/matrix/vertical.js.map +1 -0
- package/lib/@antv/util/esm/path/convert/path-2-absolute.d.ts +2 -0
- package/lib/@antv/util/esm/path/convert/path-2-absolute.js +84 -0
- package/lib/@antv/util/esm/path/convert/path-2-absolute.js.map +1 -0
- package/lib/@antv/util/esm/path/convert/path-2-array.d.ts +2 -0
- package/lib/@antv/util/esm/path/convert/path-2-array.js +5 -0
- package/lib/@antv/util/esm/path/convert/path-2-array.js.map +1 -0
- package/lib/@antv/util/esm/path/convert/path-2-curve.d.ts +2 -0
- package/lib/@antv/util/esm/path/convert/path-2-curve.js +57 -0
- package/lib/@antv/util/esm/path/convert/path-2-curve.js.map +1 -0
- package/lib/@antv/util/esm/path/convert/path-2-string.d.ts +6 -0
- package/lib/@antv/util/esm/path/convert/path-2-string.js +12 -0
- package/lib/@antv/util/esm/path/convert/path-2-string.js.map +1 -0
- package/lib/@antv/util/esm/path/index.d.ts +19 -0
- package/lib/@antv/util/esm/path/index.js +20 -0
- package/lib/@antv/util/esm/path/index.js.map +1 -0
- package/lib/@antv/util/esm/path/parser/finalize-segment.d.ts +5 -0
- package/lib/@antv/util/esm/path/parser/finalize-segment.js +27 -0
- package/lib/@antv/util/esm/path/parser/finalize-segment.js.map +1 -0
- package/lib/@antv/util/esm/path/parser/is-arc-command.d.ts +4 -0
- package/lib/@antv/util/esm/path/parser/is-arc-command.js +7 -0
- package/lib/@antv/util/esm/path/parser/is-arc-command.js.map +1 -0
- package/lib/@antv/util/esm/path/parser/is-digit-start.d.ts +6 -0
- package/lib/@antv/util/esm/path/parser/is-digit-start.js +11 -0
- package/lib/@antv/util/esm/path/parser/is-digit-start.js.map +1 -0
- package/lib/@antv/util/esm/path/parser/is-path-command.d.ts +4 -0
- package/lib/@antv/util/esm/path/parser/is-path-command.js +23 -0
- package/lib/@antv/util/esm/path/parser/is-path-command.js.map +1 -0
- package/lib/@antv/util/esm/path/parser/is-space.d.ts +4 -0
- package/lib/@antv/util/esm/path/parser/is-space.js +22 -0
- package/lib/@antv/util/esm/path/parser/is-space.js.map +1 -0
- package/lib/@antv/util/esm/path/parser/params-count.d.ts +13 -0
- package/lib/@antv/util/esm/path/parser/params-count.js +14 -0
- package/lib/@antv/util/esm/path/parser/params-count.js.map +1 -0
- package/lib/@antv/util/esm/path/parser/params-parser.d.ts +10 -0
- package/lib/@antv/util/esm/path/parser/params-parser.js +11 -0
- package/lib/@antv/util/esm/path/parser/params-parser.js.map +1 -0
- package/lib/@antv/util/esm/path/parser/parse-path-string.d.ts +6 -0
- package/lib/@antv/util/esm/path/parser/parse-path-string.js +20 -0
- package/lib/@antv/util/esm/path/parser/parse-path-string.js.map +1 -0
- package/lib/@antv/util/esm/path/parser/path-parser.d.ts +16 -0
- package/lib/@antv/util/esm/path/parser/path-parser.js +20 -0
- package/lib/@antv/util/esm/path/parser/path-parser.js.map +1 -0
- package/lib/@antv/util/esm/path/parser/scan-flag.d.ts +6 -0
- package/lib/@antv/util/esm/path/parser/scan-flag.js +20 -0
- package/lib/@antv/util/esm/path/parser/scan-flag.js.map +1 -0
- package/lib/@antv/util/esm/path/parser/scan-param.d.ts +6 -0
- package/lib/@antv/util/esm/path/parser/scan-param.js +83 -0
- package/lib/@antv/util/esm/path/parser/scan-param.js.map +1 -0
- package/lib/@antv/util/esm/path/parser/scan-segment.d.ts +6 -0
- package/lib/@antv/util/esm/path/parser/scan-segment.js +57 -0
- package/lib/@antv/util/esm/path/parser/scan-segment.js.map +1 -0
- package/lib/@antv/util/esm/path/parser/skip-spaces.d.ts +7 -0
- package/lib/@antv/util/esm/path/parser/skip-spaces.js +13 -0
- package/lib/@antv/util/esm/path/parser/skip-spaces.js.map +1 -0
- package/lib/@antv/util/esm/path/process/arc-2-cubic.d.ts +7 -0
- package/lib/@antv/util/esm/path/process/arc-2-cubic.js +285 -0
- package/lib/@antv/util/esm/path/process/arc-2-cubic.js.map +1 -0
- package/lib/@antv/util/esm/path/process/clone-path.d.ts +2 -0
- package/lib/@antv/util/esm/path/process/clone-path.js +4 -0
- package/lib/@antv/util/esm/path/process/clone-path.js.map +1 -0
- package/lib/@antv/util/esm/path/process/fix-arc.d.ts +2 -0
- package/lib/@antv/util/esm/path/process/fix-arc.js +16 -0
- package/lib/@antv/util/esm/path/process/fix-arc.js.map +1 -0
- package/lib/@antv/util/esm/path/process/line-2-cubic.d.ts +1 -0
- package/lib/@antv/util/esm/path/process/line-2-cubic.js +8 -0
- package/lib/@antv/util/esm/path/process/line-2-cubic.js.map +1 -0
- package/lib/@antv/util/esm/path/process/normalize-path.d.ts +8 -0
- package/lib/@antv/util/esm/path/process/normalize-path.js +30 -0
- package/lib/@antv/util/esm/path/process/normalize-path.js.map +1 -0
- package/lib/@antv/util/esm/path/process/normalize-segment.d.ts +6 -0
- package/lib/@antv/util/esm/path/process/normalize-segment.js +42 -0
- package/lib/@antv/util/esm/path/process/normalize-segment.js.map +1 -0
- package/lib/@antv/util/esm/path/process/quad-2-cubic.d.ts +1 -0
- package/lib/@antv/util/esm/path/process/quad-2-cubic.js +13 -0
- package/lib/@antv/util/esm/path/process/quad-2-cubic.js.map +1 -0
- package/lib/@antv/util/esm/path/process/reverse-curve.d.ts +2 -0
- package/lib/@antv/util/esm/path/process/reverse-curve.js +14 -0
- package/lib/@antv/util/esm/path/process/reverse-curve.js.map +1 -0
- package/lib/@antv/util/esm/path/process/round-path.d.ts +6 -0
- package/lib/@antv/util/esm/path/process/round-path.js +20 -0
- package/lib/@antv/util/esm/path/process/round-path.js.map +1 -0
- package/lib/@antv/util/esm/path/process/segment-2-cubic.d.ts +2 -0
- package/lib/@antv/util/esm/path/process/segment-2-cubic.js +43 -0
- package/lib/@antv/util/esm/path/process/segment-2-cubic.js.map +1 -0
- package/lib/@antv/util/esm/path/types.d.ts +127 -0
- package/lib/@antv/util/esm/path/types.js +2 -0
- package/lib/@antv/util/esm/path/types.js.map +1 -0
- package/lib/@antv/util/esm/path/util/distance-square-root.d.ts +1 -0
- package/lib/@antv/util/esm/path/util/distance-square-root.js +4 -0
- package/lib/@antv/util/esm/path/util/distance-square-root.js.map +1 -0
- package/lib/@antv/util/esm/path/util/equalize-segments.d.ts +2 -0
- package/lib/@antv/util/esm/path/util/equalize-segments.js +78 -0
- package/lib/@antv/util/esm/path/util/equalize-segments.js.map +1 -0
- package/lib/@antv/util/esm/path/util/get-draw-direction.d.ts +2 -0
- package/lib/@antv/util/esm/path/util/get-draw-direction.js +5 -0
- package/lib/@antv/util/esm/path/util/get-draw-direction.js.map +1 -0
- package/lib/@antv/util/esm/path/util/get-path-area.d.ts +8 -0
- package/lib/@antv/util/esm/path/util/get-path-area.js +70 -0
- package/lib/@antv/util/esm/path/util/get-path-area.js.map +1 -0
- package/lib/@antv/util/esm/path/util/get-path-bbox-total-length.d.ts +5 -0
- package/lib/@antv/util/esm/path/util/get-path-bbox-total-length.js +38 -0
- package/lib/@antv/util/esm/path/util/get-path-bbox-total-length.js.map +1 -0
- package/lib/@antv/util/esm/path/util/get-path-bbox.d.ts +5 -0
- package/lib/@antv/util/esm/path/util/get-path-bbox.js +36 -0
- package/lib/@antv/util/esm/path/util/get-path-bbox.js.map +1 -0
- package/lib/@antv/util/esm/path/util/get-point-at-length.d.ts +5 -0
- package/lib/@antv/util/esm/path/util/get-point-at-length.js +9 -0
- package/lib/@antv/util/esm/path/util/get-point-at-length.js.map +1 -0
- package/lib/@antv/util/esm/path/util/get-properties-at-length.d.ts +6 -0
- package/lib/@antv/util/esm/path/util/get-properties-at-length.js +61 -0
- package/lib/@antv/util/esm/path/util/get-properties-at-length.js.map +1 -0
- package/lib/@antv/util/esm/path/util/get-properties-at-point.d.ts +7 -0
- package/lib/@antv/util/esm/path/util/get-properties-at-point.js +69 -0
- package/lib/@antv/util/esm/path/util/get-properties-at-point.js.map +1 -0
- package/lib/@antv/util/esm/path/util/get-rotated-curve.d.ts +2 -0
- package/lib/@antv/util/esm/path/util/get-rotated-curve.js +36 -0
- package/lib/@antv/util/esm/path/util/get-rotated-curve.js.map +1 -0
- package/lib/@antv/util/esm/path/util/get-total-length.d.ts +8 -0
- package/lib/@antv/util/esm/path/util/get-total-length.js +12 -0
- package/lib/@antv/util/esm/path/util/get-total-length.js.map +1 -0
- package/lib/@antv/util/esm/path/util/is-absolute-array.d.ts +6 -0
- package/lib/@antv/util/esm/path/util/is-absolute-array.js +14 -0
- package/lib/@antv/util/esm/path/util/is-absolute-array.js.map +1 -0
- package/lib/@antv/util/esm/path/util/is-curve-array.d.ts +9 -0
- package/lib/@antv/util/esm/path/util/is-curve-array.js +15 -0
- package/lib/@antv/util/esm/path/util/is-curve-array.js.map +1 -0
- package/lib/@antv/util/esm/path/util/is-normalized-array.d.ts +7 -0
- package/lib/@antv/util/esm/path/util/is-normalized-array.js +13 -0
- package/lib/@antv/util/esm/path/util/is-normalized-array.js.map +1 -0
- package/lib/@antv/util/esm/path/util/is-path-array.d.ts +5 -0
- package/lib/@antv/util/esm/path/util/is-path-array.js +12 -0
- package/lib/@antv/util/esm/path/util/is-path-array.js.map +1 -0
- package/lib/@antv/util/esm/path/util/is-point-in-stroke.d.ts +5 -0
- package/lib/@antv/util/esm/path/util/is-point-in-stroke.js +9 -0
- package/lib/@antv/util/esm/path/util/is-point-in-stroke.js.map +1 -0
- package/lib/@antv/util/esm/path/util/mid-point.d.ts +1 -0
- package/lib/@antv/util/esm/path/util/mid-point.js +8 -0
- package/lib/@antv/util/esm/path/util/mid-point.js.map +1 -0
- package/lib/@antv/util/esm/path/util/path-length-factory.d.ts +7 -0
- package/lib/@antv/util/esm/path/util/path-length-factory.js +90 -0
- package/lib/@antv/util/esm/path/util/path-length-factory.js.map +1 -0
- package/lib/@antv/util/esm/path/util/rotate-vector.d.ts +4 -0
- package/lib/@antv/util/esm/path/util/rotate-vector.js +6 -0
- package/lib/@antv/util/esm/path/util/rotate-vector.js.map +1 -0
- package/lib/@antv/util/esm/path/util/segment-arc-factory.d.ts +8 -0
- package/lib/@antv/util/esm/path/util/segment-arc-factory.js +143 -0
- package/lib/@antv/util/esm/path/util/segment-arc-factory.js.map +1 -0
- package/lib/@antv/util/esm/path/util/segment-cubic-factory.d.ts +6 -0
- package/lib/@antv/util/esm/path/util/segment-cubic-factory.js +68 -0
- package/lib/@antv/util/esm/path/util/segment-cubic-factory.js.map +1 -0
- package/lib/@antv/util/esm/path/util/segment-line-factory.d.ts +6 -0
- package/lib/@antv/util/esm/path/util/segment-line-factory.js +35 -0
- package/lib/@antv/util/esm/path/util/segment-line-factory.js.map +1 -0
- package/lib/@antv/util/esm/path/util/segment-quad-factory.d.ts +6 -0
- package/lib/@antv/util/esm/path/util/segment-quad-factory.js +70 -0
- package/lib/@antv/util/esm/path/util/segment-quad-factory.js.map +1 -0
- package/lib/@antv/util/lib/color/arr2rgb.d.ts +12 -0
- package/lib/@antv/util/lib/color/arr2rgb.js +23 -0
- package/lib/@antv/util/lib/color/arr2rgb.js.map +1 -0
- package/lib/@antv/util/lib/color/gradient.d.ts +6 -0
- package/lib/@antv/util/lib/color/gradient.js +49 -0
- package/lib/@antv/util/lib/color/gradient.js.map +1 -0
- package/lib/@antv/util/lib/color/index.d.ts +4 -0
- package/lib/@antv/util/lib/color/index.js +12 -0
- package/lib/@antv/util/lib/color/index.js.map +1 -0
- package/lib/@antv/util/lib/color/rgb2arr.d.ts +6 -0
- package/lib/@antv/util/lib/color/rgb2arr.js +13 -0
- package/lib/@antv/util/lib/color/rgb2arr.js.map +1 -0
- package/lib/@antv/util/lib/color/tocssgradient.d.ts +1 -0
- package/lib/@antv/util/lib/color/tocssgradient.js +41 -0
- package/lib/@antv/util/lib/color/tocssgradient.js.map +1 -0
- package/lib/@antv/util/lib/color/torgb.d.ts +14 -0
- package/lib/@antv/util/lib/color/torgb.js +46 -0
- package/lib/@antv/util/lib/color/torgb.js.map +1 -0
- package/lib/@antv/util/lib/dom/create-dom.d.ts +6 -0
- package/lib/@antv/util/lib/dom/create-dom.js +19 -0
- package/lib/@antv/util/lib/dom/create-dom.js.map +1 -0
- package/lib/@antv/util/lib/dom/index.d.ts +2 -0
- package/lib/@antv/util/lib/dom/index.js +8 -0
- package/lib/@antv/util/lib/dom/index.js.map +1 -0
- package/lib/@antv/util/lib/dom/modify-css.d.ts +9 -0
- package/lib/@antv/util/lib/dom/modify-css.js +19 -0
- package/lib/@antv/util/lib/dom/modify-css.js.map +1 -0
- package/lib/@antv/util/lib/index.d.ts +6 -0
- package/lib/@antv/util/lib/index.js +10 -0
- package/lib/@antv/util/lib/index.js.map +1 -0
- package/lib/@antv/util/lib/lodash/augment.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/augment.js +21 -0
- package/lib/@antv/util/lib/lodash/augment.js.map +1 -0
- package/lib/@antv/util/lib/lodash/cache.d.ts +14 -0
- package/lib/@antv/util/lib/lodash/cache.js +32 -0
- package/lib/@antv/util/lib/lodash/cache.js.map +1 -0
- package/lib/@antv/util/lib/lodash/clamp.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/clamp.js +13 -0
- package/lib/@antv/util/lib/lodash/clamp.js.map +1 -0
- package/lib/@antv/util/lib/lodash/clear-animation-frame.d.ts +1 -0
- package/lib/@antv/util/lib/lodash/clear-animation-frame.js +15 -0
- package/lib/@antv/util/lib/lodash/clear-animation-frame.js.map +1 -0
- package/lib/@antv/util/lib/lodash/clone.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/clone.js +35 -0
- package/lib/@antv/util/lib/lodash/clone.js.map +1 -0
- package/lib/@antv/util/lib/lodash/contains.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/contains.js +12 -0
- package/lib/@antv/util/lib/lodash/contains.js.map +1 -0
- package/lib/@antv/util/lib/lodash/debounce.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/debounce.js +22 -0
- package/lib/@antv/util/lib/lodash/debounce.js.map +1 -0
- package/lib/@antv/util/lib/lodash/deep-mix.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/deep-mix.js +55 -0
- package/lib/@antv/util/lib/lodash/deep-mix.js.map +1 -0
- package/lib/@antv/util/lib/lodash/difference.d.ts +11 -0
- package/lib/@antv/util/lib/lodash/difference.js +20 -0
- package/lib/@antv/util/lib/lodash/difference.js.map +1 -0
- package/lib/@antv/util/lib/lodash/each.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/each.js +31 -0
- package/lib/@antv/util/lib/lodash/each.js.map +1 -0
- package/lib/@antv/util/lib/lodash/ends-with.d.ts +3 -0
- package/lib/@antv/util/lib/lodash/ends-with.js +10 -0
- package/lib/@antv/util/lib/lodash/ends-with.js.map +1 -0
- package/lib/@antv/util/lib/lodash/every.d.ts +7 -0
- package/lib/@antv/util/lib/lodash/every.js +16 -0
- package/lib/@antv/util/lib/lodash/every.js.map +1 -0
- package/lib/@antv/util/lib/lodash/extend.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/extend.js +36 -0
- package/lib/@antv/util/lib/lodash/extend.js.map +1 -0
- package/lib/@antv/util/lib/lodash/filter.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/filter.js +19 -0
- package/lib/@antv/util/lib/lodash/filter.js.map +1 -0
- package/lib/@antv/util/lib/lodash/find-index.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/find-index.js +14 -0
- package/lib/@antv/util/lib/lodash/find-index.js.map +1 -0
- package/lib/@antv/util/lib/lodash/find.d.ts +3 -0
- package/lib/@antv/util/lib/lodash/find.js +28 -0
- package/lib/@antv/util/lib/lodash/find.js.map +1 -0
- package/lib/@antv/util/lib/lodash/first-value.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/first-value.js +24 -0
- package/lib/@antv/util/lib/lodash/first-value.js.map +1 -0
- package/lib/@antv/util/lib/lodash/fixed-base.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/fixed-base.js +16 -0
- package/lib/@antv/util/lib/lodash/fixed-base.js.map +1 -0
- package/lib/@antv/util/lib/lodash/flatten-deep.d.ts +12 -0
- package/lib/@antv/util/lib/lodash/flatten-deep.js +28 -0
- package/lib/@antv/util/lib/lodash/flatten-deep.js.map +1 -0
- package/lib/@antv/util/lib/lodash/flatten.d.ts +11 -0
- package/lib/@antv/util/lib/lodash/flatten.js +25 -0
- package/lib/@antv/util/lib/lodash/flatten.js.map +1 -0
- package/lib/@antv/util/lib/lodash/for-in.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/for-in.js +6 -0
- package/lib/@antv/util/lib/lodash/for-in.js.map +1 -0
- package/lib/@antv/util/lib/lodash/get-range.d.ts +6 -0
- package/lib/@antv/util/lib/lodash/get-range.js +32 -0
- package/lib/@antv/util/lib/lodash/get-range.js.map +1 -0
- package/lib/@antv/util/lib/lodash/get-type.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/get-type.js +11 -0
- package/lib/@antv/util/lib/lodash/get-type.js.map +1 -0
- package/lib/@antv/util/lib/lodash/get-wrap-behavior.d.ts +9 -0
- package/lib/@antv/util/lib/lodash/get-wrap-behavior.js +14 -0
- package/lib/@antv/util/lib/lodash/get-wrap-behavior.js.map +1 -0
- package/lib/@antv/util/lib/lodash/get.d.ts +8 -0
- package/lib/@antv/util/lib/lodash/get.js +19 -0
- package/lib/@antv/util/lib/lodash/get.js.map +1 -0
- package/lib/@antv/util/lib/lodash/group-by.d.ts +6 -0
- package/lib/@antv/util/lib/lodash/group-by.js +28 -0
- package/lib/@antv/util/lib/lodash/group-by.js.map +1 -0
- package/lib/@antv/util/lib/lodash/group-to-map.d.ts +8 -0
- package/lib/@antv/util/lib/lodash/group-to-map.js +33 -0
- package/lib/@antv/util/lib/lodash/group-to-map.js.map +1 -0
- package/lib/@antv/util/lib/lodash/group.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/group.js +17 -0
- package/lib/@antv/util/lib/lodash/group.js.map +1 -0
- package/lib/@antv/util/lib/lodash/has-key.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/has-key.js +6 -0
- package/lib/@antv/util/lib/lodash/has-key.js.map +1 -0
- package/lib/@antv/util/lib/lodash/has-value.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/has-value.js +7 -0
- package/lib/@antv/util/lib/lodash/has-value.js.map +1 -0
- package/lib/@antv/util/lib/lodash/has.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/has.js +4 -0
- package/lib/@antv/util/lib/lodash/has.js.map +1 -0
- package/lib/@antv/util/lib/lodash/head.d.ts +1 -0
- package/lib/@antv/util/lib/lodash/head.js +12 -0
- package/lib/@antv/util/lib/lodash/head.js.map +1 -0
- package/lib/@antv/util/lib/lodash/identity.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/identity.js +4 -0
- package/lib/@antv/util/lib/lodash/identity.js.map +1 -0
- package/lib/@antv/util/lib/lodash/index-of.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/index-of.js +23 -0
- package/lib/@antv/util/lib/lodash/index-of.js.map +1 -0
- package/lib/@antv/util/lib/lodash/index.d.ts +108 -0
- package/lib/@antv/util/lib/lodash/index.js +236 -0
- package/lib/@antv/util/lib/lodash/index.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-arguments.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-arguments.js +15 -0
- package/lib/@antv/util/lib/lodash/is-arguments.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-array-like.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-array-like.js +13 -0
- package/lib/@antv/util/lib/lodash/is-array-like.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-array.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-array.js +8 -0
- package/lib/@antv/util/lib/lodash/is-array.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-boolean.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-boolean.js +15 -0
- package/lib/@antv/util/lib/lodash/is-boolean.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-date.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-date.js +9 -0
- package/lib/@antv/util/lib/lodash/is-date.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-decimal.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-decimal.js +9 -0
- package/lib/@antv/util/lib/lodash/is-decimal.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-element.d.ts +6 -0
- package/lib/@antv/util/lib/lodash/is-element.js +11 -0
- package/lib/@antv/util/lib/lodash/is-element.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-empty.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-empty.js +40 -0
- package/lib/@antv/util/lib/lodash/is-empty.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-equal-with.d.ts +24 -0
- package/lib/@antv/util/lib/lodash/is-equal-with.js +34 -0
- package/lib/@antv/util/lib/lodash/is-equal-with.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-equal.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-equal.js +48 -0
- package/lib/@antv/util/lib/lodash/is-equal.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-error.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-error.js +15 -0
- package/lib/@antv/util/lib/lodash/is-error.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-even.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-even.js +9 -0
- package/lib/@antv/util/lib/lodash/is-even.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-finite.d.ts +1 -0
- package/lib/@antv/util/lib/lodash/is-finite.js +13 -0
- package/lib/@antv/util/lib/lodash/is-finite.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-function.d.ts +5 -0
- package/lib/@antv/util/lib/lodash/is-function.js +9 -0
- package/lib/@antv/util/lib/lodash/is-function.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-integer.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-integer.js +11 -0
- package/lib/@antv/util/lib/lodash/is-integer.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-match.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-match.js +20 -0
- package/lib/@antv/util/lib/lodash/is-match.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-negative.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-negative.js +9 -0
- package/lib/@antv/util/lib/lodash/is-negative.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-nil.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-nil.js +12 -0
- package/lib/@antv/util/lib/lodash/is-nil.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-null.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-null.js +7 -0
- package/lib/@antv/util/lib/lodash/is-null.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-number-equal.d.ts +1 -0
- package/lib/@antv/util/lib/lodash/is-number-equal.js +9 -0
- package/lib/@antv/util/lib/lodash/is-number-equal.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-number.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-number.js +13 -0
- package/lib/@antv/util/lib/lodash/is-number.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-object-like.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-object-like.js +13 -0
- package/lib/@antv/util/lib/lodash/is-object-like.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-object.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-object.js +13 -0
- package/lib/@antv/util/lib/lodash/is-object.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-odd.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-odd.js +9 -0
- package/lib/@antv/util/lib/lodash/is-odd.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-plain-object.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-plain-object.js +26 -0
- package/lib/@antv/util/lib/lodash/is-plain-object.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-positive.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-positive.js +9 -0
- package/lib/@antv/util/lib/lodash/is-positive.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-prototype.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-prototype.js +10 -0
- package/lib/@antv/util/lib/lodash/is-prototype.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-reg-exp.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-reg-exp.js +9 -0
- package/lib/@antv/util/lib/lodash/is-reg-exp.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-segment-equal.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-segment-equal.js +18 -0
- package/lib/@antv/util/lib/lodash/is-segment-equal.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-string.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-string.js +8 -0
- package/lib/@antv/util/lib/lodash/is-string.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-type.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-type.js +6 -0
- package/lib/@antv/util/lib/lodash/is-type.js.map +1 -0
- package/lib/@antv/util/lib/lodash/is-undefined.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/is-undefined.js +7 -0
- package/lib/@antv/util/lib/lodash/is-undefined.js.map +1 -0
- package/lib/@antv/util/lib/lodash/keys.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/keys.js +18 -0
- package/lib/@antv/util/lib/lodash/keys.js.map +1 -0
- package/lib/@antv/util/lib/lodash/last.d.ts +1 -0
- package/lib/@antv/util/lib/lodash/last.js +13 -0
- package/lib/@antv/util/lib/lodash/last.js.map +1 -0
- package/lib/@antv/util/lib/lodash/lower-case.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/lower-case.js +9 -0
- package/lib/@antv/util/lib/lodash/lower-case.js.map +1 -0
- package/lib/@antv/util/lib/lodash/lower-first.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/lower-first.js +10 -0
- package/lib/@antv/util/lib/lodash/lower-first.js.map +1 -0
- package/lib/@antv/util/lib/lodash/map-values.d.ts +6 -0
- package/lib/@antv/util/lib/lodash/map-values.js +18 -0
- package/lib/@antv/util/lib/lodash/map-values.js.map +1 -0
- package/lib/@antv/util/lib/lodash/map.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/map.js +18 -0
- package/lib/@antv/util/lib/lodash/map.js.map +1 -0
- package/lib/@antv/util/lib/lodash/max-by.d.ts +16 -0
- package/lib/@antv/util/lib/lodash/max-by.js +36 -0
- package/lib/@antv/util/lib/lodash/max-by.js.map +1 -0
- package/lib/@antv/util/lib/lodash/max.d.ts +19 -0
- package/lib/@antv/util/lib/lodash/max.js +30 -0
- package/lib/@antv/util/lib/lodash/max.js.map +1 -0
- package/lib/@antv/util/lib/lodash/memoize.d.ts +17 -0
- package/lib/@antv/util/lib/lodash/memoize.js +77 -0
- package/lib/@antv/util/lib/lodash/memoize.js.map +1 -0
- package/lib/@antv/util/lib/lodash/merge.d.ts +7 -0
- package/lib/@antv/util/lib/lodash/merge.js +15 -0
- package/lib/@antv/util/lib/lodash/merge.js.map +1 -0
- package/lib/@antv/util/lib/lodash/min-by.d.ts +16 -0
- package/lib/@antv/util/lib/lodash/min-by.js +36 -0
- package/lib/@antv/util/lib/lodash/min-by.js.map +1 -0
- package/lib/@antv/util/lib/lodash/min.d.ts +19 -0
- package/lib/@antv/util/lib/lodash/min.js +30 -0
- package/lib/@antv/util/lib/lodash/min.js.map +1 -0
- package/lib/@antv/util/lib/lodash/mix.d.ts +1 -0
- package/lib/@antv/util/lib/lodash/mix.js +21 -0
- package/lib/@antv/util/lib/lodash/mix.js.map +1 -0
- package/lib/@antv/util/lib/lodash/mod.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/mod.js +7 -0
- package/lib/@antv/util/lib/lodash/mod.js.map +1 -0
- package/lib/@antv/util/lib/lodash/noop.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/noop.js +4 -0
- package/lib/@antv/util/lib/lodash/noop.js.map +1 -0
- package/lib/@antv/util/lib/lodash/number2color.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/number2color.js +18 -0
- package/lib/@antv/util/lib/lodash/number2color.js.map +1 -0
- package/lib/@antv/util/lib/lodash/omit.d.ts +3 -0
- package/lib/@antv/util/lib/lodash/omit.js +13 -0
- package/lib/@antv/util/lib/lodash/omit.js.map +1 -0
- package/lib/@antv/util/lib/lodash/parse-radius.d.ts +9 -0
- package/lib/@antv/util/lib/lodash/parse-radius.js +38 -0
- package/lib/@antv/util/lib/lodash/parse-radius.js.map +1 -0
- package/lib/@antv/util/lib/lodash/pick.d.ts +16 -0
- package/lib/@antv/util/lib/lodash/pick.js +19 -0
- package/lib/@antv/util/lib/lodash/pick.js.map +1 -0
- package/lib/@antv/util/lib/lodash/pull-at.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/pull-at.js +23 -0
- package/lib/@antv/util/lib/lodash/pull-at.js.map +1 -0
- package/lib/@antv/util/lib/lodash/pull.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/pull.js +21 -0
- package/lib/@antv/util/lib/lodash/pull.js.map +1 -0
- package/lib/@antv/util/lib/lodash/reduce.d.ts +3 -0
- package/lib/@antv/util/lib/lodash/reduce.js +18 -0
- package/lib/@antv/util/lib/lodash/reduce.js.map +1 -0
- package/lib/@antv/util/lib/lodash/remove.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/remove.js +31 -0
- package/lib/@antv/util/lib/lodash/remove.js.map +1 -0
- package/lib/@antv/util/lib/lodash/request-animation-frame.d.ts +1 -0
- package/lib/@antv/util/lib/lodash/request-animation-frame.js +17 -0
- package/lib/@antv/util/lib/lodash/request-animation-frame.js.map +1 -0
- package/lib/@antv/util/lib/lodash/set.d.ts +8 -0
- package/lib/@antv/util/lib/lodash/set.js +30 -0
- package/lib/@antv/util/lib/lodash/set.js.map +1 -0
- package/lib/@antv/util/lib/lodash/size.d.ts +1 -0
- package/lib/@antv/util/lib/lodash/size.js +16 -0
- package/lib/@antv/util/lib/lodash/size.js.map +1 -0
- package/lib/@antv/util/lib/lodash/some.d.ts +7 -0
- package/lib/@antv/util/lib/lodash/some.js +16 -0
- package/lib/@antv/util/lib/lodash/some.js.map +1 -0
- package/lib/@antv/util/lib/lodash/sort-by.d.ts +7 -0
- package/lib/@antv/util/lib/lodash/sort-by.js +37 -0
- package/lib/@antv/util/lib/lodash/sort-by.js.map +1 -0
- package/lib/@antv/util/lib/lodash/starts-with.d.ts +3 -0
- package/lib/@antv/util/lib/lodash/starts-with.js +10 -0
- package/lib/@antv/util/lib/lodash/starts-with.js.map +1 -0
- package/lib/@antv/util/lib/lodash/substitute.d.ts +5 -0
- package/lib/@antv/util/lib/lodash/substitute.js +15 -0
- package/lib/@antv/util/lib/lodash/substitute.js.map +1 -0
- package/lib/@antv/util/lib/lodash/throttle.d.ts +6 -0
- package/lib/@antv/util/lib/lodash/throttle.js +44 -0
- package/lib/@antv/util/lib/lodash/throttle.js.map +1 -0
- package/lib/@antv/util/lib/lodash/to-array.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/to-array.js +8 -0
- package/lib/@antv/util/lib/lodash/to-array.js.map +1 -0
- package/lib/@antv/util/lib/lodash/to-degree.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/to-degree.js +8 -0
- package/lib/@antv/util/lib/lodash/to-degree.js.map +1 -0
- package/lib/@antv/util/lib/lodash/to-integer.d.ts +1 -0
- package/lib/@antv/util/lib/lodash/to-integer.js +4 -0
- package/lib/@antv/util/lib/lodash/to-integer.js.map +1 -0
- package/lib/@antv/util/lib/lodash/to-radian.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/to-radian.js +8 -0
- package/lib/@antv/util/lib/lodash/to-radian.js.map +1 -0
- package/lib/@antv/util/lib/lodash/to-string.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/to-string.js +10 -0
- package/lib/@antv/util/lib/lodash/to-string.js.map +1 -0
- package/lib/@antv/util/lib/lodash/types/index.d.ts +3 -0
- package/lib/@antv/util/lib/lodash/types/index.js +3 -0
- package/lib/@antv/util/lib/lodash/types/index.js.map +1 -0
- package/lib/@antv/util/lib/lodash/union.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/union.js +13 -0
- package/lib/@antv/util/lib/lodash/union.js.map +1 -0
- package/lib/@antv/util/lib/lodash/uniq.d.ts +1 -0
- package/lib/@antv/util/lib/lodash/uniq.js +19 -0
- package/lib/@antv/util/lib/lodash/uniq.js.map +1 -0
- package/lib/@antv/util/lib/lodash/unique-id.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/unique-id.js +14 -0
- package/lib/@antv/util/lib/lodash/unique-id.js.map +1 -0
- package/lib/@antv/util/lib/lodash/upper-case.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/upper-case.js +9 -0
- package/lib/@antv/util/lib/lodash/upper-case.js.map +1 -0
- package/lib/@antv/util/lib/lodash/upper-first.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/upper-first.js +10 -0
- package/lib/@antv/util/lib/lodash/upper-first.js.map +1 -0
- package/lib/@antv/util/lib/lodash/values-of-key.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/values-of-key.js +29 -0
- package/lib/@antv/util/lib/lodash/values-of-key.js.map +1 -0
- package/lib/@antv/util/lib/lodash/values.d.ts +2 -0
- package/lib/@antv/util/lib/lodash/values.js +19 -0
- package/lib/@antv/util/lib/lodash/values.js.map +1 -0
- package/lib/@antv/util/lib/lodash/wrap-behavior.d.ts +9 -0
- package/lib/@antv/util/lib/lodash/wrap-behavior.js +21 -0
- package/lib/@antv/util/lib/lodash/wrap-behavior.js.map +1 -0
- package/lib/@antv/util/lib/math/index.d.ts +2 -0
- package/lib/@antv/util/lib/math/index.js +8 -0
- package/lib/@antv/util/lib/math/index.js.map +1 -0
- package/lib/@antv/util/lib/math/is-point-in-polygon.d.ts +1 -0
- package/lib/@antv/util/lib/math/is-point-in-polygon.js +49 -0
- package/lib/@antv/util/lib/math/is-point-in-polygon.js.map +1 -0
- package/lib/@antv/util/lib/math/is-polygons-intersect.d.ts +4 -0
- package/lib/@antv/util/lib/math/is-polygons-intersect.js +140 -0
- package/lib/@antv/util/lib/math/is-polygons-intersect.js.map +1 -0
- package/lib/@antv/util/lib/matrix/angle-to.d.ts +7 -0
- package/lib/@antv/util/lib/matrix/angle-to.js +27 -0
- package/lib/@antv/util/lib/matrix/angle-to.js.map +1 -0
- package/lib/@antv/util/lib/matrix/direction.d.ts +7 -0
- package/lib/@antv/util/lib/matrix/direction.js +14 -0
- package/lib/@antv/util/lib/matrix/direction.js.map +1 -0
- package/lib/@antv/util/lib/matrix/index.d.ts +7 -0
- package/lib/@antv/util/lib/matrix/index.js +15 -0
- package/lib/@antv/util/lib/matrix/index.js.map +1 -0
- package/lib/@antv/util/lib/matrix/transform.d.ts +6 -0
- package/lib/@antv/util/lib/matrix/transform.js +52 -0
- package/lib/@antv/util/lib/matrix/transform.js.map +1 -0
- package/lib/@antv/util/lib/matrix/vertical.d.ts +7 -0
- package/lib/@antv/util/lib/matrix/vertical.js +22 -0
- package/lib/@antv/util/lib/matrix/vertical.js.map +1 -0
- package/lib/@antv/util/lib/path/convert/path-2-absolute.d.ts +2 -0
- package/lib/@antv/util/lib/path/convert/path-2-absolute.js +88 -0
- package/lib/@antv/util/lib/path/convert/path-2-absolute.js.map +1 -0
- package/lib/@antv/util/lib/path/convert/path-2-array.d.ts +2 -0
- package/lib/@antv/util/lib/path/convert/path-2-array.js +9 -0
- package/lib/@antv/util/lib/path/convert/path-2-array.js.map +1 -0
- package/lib/@antv/util/lib/path/convert/path-2-curve.d.ts +2 -0
- package/lib/@antv/util/lib/path/convert/path-2-curve.js +61 -0
- package/lib/@antv/util/lib/path/convert/path-2-curve.js.map +1 -0
- package/lib/@antv/util/lib/path/convert/path-2-string.d.ts +6 -0
- package/lib/@antv/util/lib/path/convert/path-2-string.js +16 -0
- package/lib/@antv/util/lib/path/convert/path-2-string.js.map +1 -0
- package/lib/@antv/util/lib/path/index.d.ts +19 -0
- package/lib/@antv/util/lib/path/index.js +42 -0
- package/lib/@antv/util/lib/path/index.js.map +1 -0
- package/lib/@antv/util/lib/path/parser/finalize-segment.d.ts +5 -0
- package/lib/@antv/util/lib/path/parser/finalize-segment.js +31 -0
- package/lib/@antv/util/lib/path/parser/finalize-segment.js.map +1 -0
- package/lib/@antv/util/lib/path/parser/is-arc-command.d.ts +4 -0
- package/lib/@antv/util/lib/path/parser/is-arc-command.js +11 -0
- package/lib/@antv/util/lib/path/parser/is-arc-command.js.map +1 -0
- package/lib/@antv/util/lib/path/parser/is-digit-start.d.ts +6 -0
- package/lib/@antv/util/lib/path/parser/is-digit-start.js +16 -0
- package/lib/@antv/util/lib/path/parser/is-digit-start.js.map +1 -0
- package/lib/@antv/util/lib/path/parser/is-path-command.d.ts +4 -0
- package/lib/@antv/util/lib/path/parser/is-path-command.js +27 -0
- package/lib/@antv/util/lib/path/parser/is-path-command.js.map +1 -0
- package/lib/@antv/util/lib/path/parser/is-space.d.ts +4 -0
- package/lib/@antv/util/lib/path/parser/is-space.js +26 -0
- package/lib/@antv/util/lib/path/parser/is-space.js.map +1 -0
- package/lib/@antv/util/lib/path/parser/params-count.d.ts +13 -0
- package/lib/@antv/util/lib/path/parser/params-count.js +17 -0
- package/lib/@antv/util/lib/path/parser/params-count.js.map +1 -0
- package/lib/@antv/util/lib/path/parser/params-parser.d.ts +10 -0
- package/lib/@antv/util/lib/path/parser/params-parser.js +14 -0
- package/lib/@antv/util/lib/path/parser/params-parser.js.map +1 -0
- package/lib/@antv/util/lib/path/parser/parse-path-string.d.ts +6 -0
- package/lib/@antv/util/lib/path/parser/parse-path-string.js +24 -0
- package/lib/@antv/util/lib/path/parser/parse-path-string.js.map +1 -0
- package/lib/@antv/util/lib/path/parser/path-parser.d.ts +16 -0
- package/lib/@antv/util/lib/path/parser/path-parser.js +23 -0
- package/lib/@antv/util/lib/path/parser/path-parser.js.map +1 -0
- package/lib/@antv/util/lib/path/parser/scan-flag.d.ts +6 -0
- package/lib/@antv/util/lib/path/parser/scan-flag.js +24 -0
- package/lib/@antv/util/lib/path/parser/scan-flag.js.map +1 -0
- package/lib/@antv/util/lib/path/parser/scan-param.d.ts +6 -0
- package/lib/@antv/util/lib/path/parser/scan-param.js +87 -0
- package/lib/@antv/util/lib/path/parser/scan-param.js.map +1 -0
- package/lib/@antv/util/lib/path/parser/scan-segment.d.ts +6 -0
- package/lib/@antv/util/lib/path/parser/scan-segment.js +61 -0
- package/lib/@antv/util/lib/path/parser/scan-segment.js.map +1 -0
- package/lib/@antv/util/lib/path/parser/skip-spaces.d.ts +7 -0
- package/lib/@antv/util/lib/path/parser/skip-spaces.js +17 -0
- package/lib/@antv/util/lib/path/parser/skip-spaces.js.map +1 -0
- package/lib/@antv/util/lib/path/process/arc-2-cubic.d.ts +7 -0
- package/lib/@antv/util/lib/path/process/arc-2-cubic.js +289 -0
- package/lib/@antv/util/lib/path/process/arc-2-cubic.js.map +1 -0
- package/lib/@antv/util/lib/path/process/clone-path.d.ts +2 -0
- package/lib/@antv/util/lib/path/process/clone-path.js +8 -0
- package/lib/@antv/util/lib/path/process/clone-path.js.map +1 -0
- package/lib/@antv/util/lib/path/process/fix-arc.d.ts +2 -0
- package/lib/@antv/util/lib/path/process/fix-arc.js +20 -0
- package/lib/@antv/util/lib/path/process/fix-arc.js.map +1 -0
- package/lib/@antv/util/lib/path/process/line-2-cubic.d.ts +1 -0
- package/lib/@antv/util/lib/path/process/line-2-cubic.js +12 -0
- package/lib/@antv/util/lib/path/process/line-2-cubic.js.map +1 -0
- package/lib/@antv/util/lib/path/process/normalize-path.d.ts +8 -0
- package/lib/@antv/util/lib/path/process/normalize-path.js +34 -0
- package/lib/@antv/util/lib/path/process/normalize-path.js.map +1 -0
- package/lib/@antv/util/lib/path/process/normalize-segment.d.ts +6 -0
- package/lib/@antv/util/lib/path/process/normalize-segment.js +46 -0
- package/lib/@antv/util/lib/path/process/normalize-segment.js.map +1 -0
- package/lib/@antv/util/lib/path/process/quad-2-cubic.d.ts +1 -0
- package/lib/@antv/util/lib/path/process/quad-2-cubic.js +17 -0
- package/lib/@antv/util/lib/path/process/quad-2-cubic.js.map +1 -0
- package/lib/@antv/util/lib/path/process/reverse-curve.d.ts +2 -0
- package/lib/@antv/util/lib/path/process/reverse-curve.js +18 -0
- package/lib/@antv/util/lib/path/process/reverse-curve.js.map +1 -0
- package/lib/@antv/util/lib/path/process/round-path.d.ts +6 -0
- package/lib/@antv/util/lib/path/process/round-path.js +24 -0
- package/lib/@antv/util/lib/path/process/round-path.js.map +1 -0
- package/lib/@antv/util/lib/path/process/segment-2-cubic.d.ts +2 -0
- package/lib/@antv/util/lib/path/process/segment-2-cubic.js +47 -0
- package/lib/@antv/util/lib/path/process/segment-2-cubic.js.map +1 -0
- package/lib/@antv/util/lib/path/types.d.ts +127 -0
- package/lib/@antv/util/lib/path/types.js +3 -0
- package/lib/@antv/util/lib/path/types.js.map +1 -0
- package/lib/@antv/util/lib/path/util/distance-square-root.d.ts +1 -0
- package/lib/@antv/util/lib/path/util/distance-square-root.js +8 -0
- package/lib/@antv/util/lib/path/util/distance-square-root.js.map +1 -0
- package/lib/@antv/util/lib/path/util/equalize-segments.d.ts +2 -0
- package/lib/@antv/util/lib/path/util/equalize-segments.js +82 -0
- package/lib/@antv/util/lib/path/util/equalize-segments.js.map +1 -0
- package/lib/@antv/util/lib/path/util/get-draw-direction.d.ts +2 -0
- package/lib/@antv/util/lib/path/util/get-draw-direction.js +9 -0
- package/lib/@antv/util/lib/path/util/get-draw-direction.js.map +1 -0
- package/lib/@antv/util/lib/path/util/get-path-area.d.ts +8 -0
- package/lib/@antv/util/lib/path/util/get-path-area.js +74 -0
- package/lib/@antv/util/lib/path/util/get-path-area.js.map +1 -0
- package/lib/@antv/util/lib/path/util/get-path-bbox-total-length.d.ts +5 -0
- package/lib/@antv/util/lib/path/util/get-path-bbox-total-length.js +42 -0
- package/lib/@antv/util/lib/path/util/get-path-bbox-total-length.js.map +1 -0
- package/lib/@antv/util/lib/path/util/get-path-bbox.d.ts +5 -0
- package/lib/@antv/util/lib/path/util/get-path-bbox.js +40 -0
- package/lib/@antv/util/lib/path/util/get-path-bbox.js.map +1 -0
- package/lib/@antv/util/lib/path/util/get-point-at-length.d.ts +5 -0
- package/lib/@antv/util/lib/path/util/get-point-at-length.js +13 -0
- package/lib/@antv/util/lib/path/util/get-point-at-length.js.map +1 -0
- package/lib/@antv/util/lib/path/util/get-properties-at-length.d.ts +6 -0
- package/lib/@antv/util/lib/path/util/get-properties-at-length.js +65 -0
- package/lib/@antv/util/lib/path/util/get-properties-at-length.js.map +1 -0
- package/lib/@antv/util/lib/path/util/get-properties-at-point.d.ts +7 -0
- package/lib/@antv/util/lib/path/util/get-properties-at-point.js +73 -0
- package/lib/@antv/util/lib/path/util/get-properties-at-point.js.map +1 -0
- package/lib/@antv/util/lib/path/util/get-rotated-curve.d.ts +2 -0
- package/lib/@antv/util/lib/path/util/get-rotated-curve.js +40 -0
- package/lib/@antv/util/lib/path/util/get-rotated-curve.js.map +1 -0
- package/lib/@antv/util/lib/path/util/get-total-length.d.ts +8 -0
- package/lib/@antv/util/lib/path/util/get-total-length.js +16 -0
- package/lib/@antv/util/lib/path/util/get-total-length.js.map +1 -0
- package/lib/@antv/util/lib/path/util/is-absolute-array.d.ts +6 -0
- package/lib/@antv/util/lib/path/util/is-absolute-array.js +18 -0
- package/lib/@antv/util/lib/path/util/is-absolute-array.js.map +1 -0
- package/lib/@antv/util/lib/path/util/is-curve-array.d.ts +9 -0
- package/lib/@antv/util/lib/path/util/is-curve-array.js +19 -0
- package/lib/@antv/util/lib/path/util/is-curve-array.js.map +1 -0
- package/lib/@antv/util/lib/path/util/is-normalized-array.d.ts +7 -0
- package/lib/@antv/util/lib/path/util/is-normalized-array.js +17 -0
- package/lib/@antv/util/lib/path/util/is-normalized-array.js.map +1 -0
- package/lib/@antv/util/lib/path/util/is-path-array.d.ts +5 -0
- package/lib/@antv/util/lib/path/util/is-path-array.js +16 -0
- package/lib/@antv/util/lib/path/util/is-path-array.js.map +1 -0
- package/lib/@antv/util/lib/path/util/is-point-in-stroke.d.ts +5 -0
- package/lib/@antv/util/lib/path/util/is-point-in-stroke.js +13 -0
- package/lib/@antv/util/lib/path/util/is-point-in-stroke.js.map +1 -0
- package/lib/@antv/util/lib/path/util/mid-point.d.ts +1 -0
- package/lib/@antv/util/lib/path/util/mid-point.js +12 -0
- package/lib/@antv/util/lib/path/util/mid-point.js.map +1 -0
- package/lib/@antv/util/lib/path/util/path-length-factory.d.ts +7 -0
- package/lib/@antv/util/lib/path/util/path-length-factory.js +94 -0
- package/lib/@antv/util/lib/path/util/path-length-factory.js.map +1 -0
- package/lib/@antv/util/lib/path/util/rotate-vector.d.ts +4 -0
- package/lib/@antv/util/lib/path/util/rotate-vector.js +10 -0
- package/lib/@antv/util/lib/path/util/rotate-vector.js.map +1 -0
- package/lib/@antv/util/lib/path/util/segment-arc-factory.d.ts +8 -0
- package/lib/@antv/util/lib/path/util/segment-arc-factory.js +147 -0
- package/lib/@antv/util/lib/path/util/segment-arc-factory.js.map +1 -0
- package/lib/@antv/util/lib/path/util/segment-cubic-factory.d.ts +6 -0
- package/lib/@antv/util/lib/path/util/segment-cubic-factory.js +72 -0
- package/lib/@antv/util/lib/path/util/segment-cubic-factory.js.map +1 -0
- package/lib/@antv/util/lib/path/util/segment-line-factory.d.ts +6 -0
- package/lib/@antv/util/lib/path/util/segment-line-factory.js +39 -0
- package/lib/@antv/util/lib/path/util/segment-line-factory.js.map +1 -0
- package/lib/@antv/util/lib/path/util/segment-quad-factory.d.ts +6 -0
- package/lib/@antv/util/lib/path/util/segment-quad-factory.js +74 -0
- package/lib/@antv/util/lib/path/util/segment-quad-factory.js.map +1 -0
- package/lib/@antv/util/package.json +97 -0
- package/lib/@antv/util/src/color/arr2rgb.ts +19 -0
- package/lib/@antv/util/src/color/gradient.ts +55 -0
- package/lib/@antv/util/src/color/index.ts +4 -0
- package/lib/@antv/util/src/color/rgb2arr.ts +8 -0
- package/lib/@antv/util/src/color/tocssgradient.ts +43 -0
- package/lib/@antv/util/src/color/torgb.ts +53 -0
- package/lib/@antv/util/src/dom/create-dom.ts +15 -0
- package/lib/@antv/util/src/dom/index.ts +2 -0
- package/lib/@antv/util/src/dom/modify-css.ts +14 -0
- package/lib/@antv/util/src/index.ts +6 -0
- package/lib/@antv/util/src/lodash/augment.ts +16 -0
- package/lib/@antv/util/src/lodash/cache.ts +31 -0
- package/lib/@antv/util/src/lodash/clamp.ts +10 -0
- package/lib/@antv/util/src/lodash/clear-animation-frame.ts +13 -0
- package/lib/@antv/util/src/lodash/clone.ts +31 -0
- package/lib/@antv/util/src/lodash/contains.ts +10 -0
- package/lib/@antv/util/src/lodash/debounce.ts +21 -0
- package/lib/@antv/util/src/lodash/deep-mix.ts +49 -0
- package/lib/@antv/util/src/lodash/difference.ts +17 -0
- package/lib/@antv/util/src/lodash/each.ts +28 -0
- package/lib/@antv/util/src/lodash/ends-with.ts +10 -0
- package/lib/@antv/util/src/lodash/every.ts +14 -0
- package/lib/@antv/util/src/lodash/extend.ts +36 -0
- package/lib/@antv/util/src/lodash/filter.ts +18 -0
- package/lib/@antv/util/src/lodash/find-index.ts +12 -0
- package/lib/@antv/util/src/lodash/find.ts +29 -0
- package/lib/@antv/util/src/lodash/first-value.ts +21 -0
- package/lib/@antv/util/src/lodash/fixed-base.ts +14 -0
- package/lib/@antv/util/src/lodash/flatten-deep.ts +24 -0
- package/lib/@antv/util/src/lodash/flatten.ts +23 -0
- package/lib/@antv/util/src/lodash/for-in.ts +3 -0
- package/lib/@antv/util/src/lodash/get-range.ts +35 -0
- package/lib/@antv/util/src/lodash/get-type.ts +10 -0
- package/lib/@antv/util/src/lodash/get-wrap-behavior.ts +12 -0
- package/lib/@antv/util/src/lodash/get.ts +18 -0
- package/lib/@antv/util/src/lodash/group-by.ts +35 -0
- package/lib/@antv/util/src/lodash/group-to-map.ts +30 -0
- package/lib/@antv/util/src/lodash/group.ts +14 -0
- package/lib/@antv/util/src/lodash/has-key.ts +2 -0
- package/lib/@antv/util/src/lodash/has-value.ts +4 -0
- package/lib/@antv/util/src/lodash/has.ts +1 -0
- package/lib/@antv/util/src/lodash/head.ts +8 -0
- package/lib/@antv/util/src/lodash/identity.ts +1 -0
- package/lib/@antv/util/src/lodash/index-of.ts +22 -0
- package/lib/@antv/util/src/lodash/index.ts +126 -0
- package/lib/@antv/util/src/lodash/is-arguments.ts +13 -0
- package/lib/@antv/util/src/lodash/is-array-like.ts +11 -0
- package/lib/@antv/util/src/lodash/is-array.ts +5 -0
- package/lib/@antv/util/src/lodash/is-boolean.ts +13 -0
- package/lib/@antv/util/src/lodash/is-date.ts +7 -0
- package/lib/@antv/util/src/lodash/is-decimal.ts +7 -0
- package/lib/@antv/util/src/lodash/is-element.ts +8 -0
- package/lib/@antv/util/src/lodash/is-empty.ts +39 -0
- package/lib/@antv/util/src/lodash/is-equal-with.ts +31 -0
- package/lib/@antv/util/src/lodash/is-equal.ts +46 -0
- package/lib/@antv/util/src/lodash/is-error.ts +13 -0
- package/lib/@antv/util/src/lodash/is-even.ts +7 -0
- package/lib/@antv/util/src/lodash/is-finite.ts +9 -0
- package/lib/@antv/util/src/lodash/is-function.ts +6 -0
- package/lib/@antv/util/src/lodash/is-integer.ts +9 -0
- package/lib/@antv/util/src/lodash/is-match.ts +17 -0
- package/lib/@antv/util/src/lodash/is-negative.ts +7 -0
- package/lib/@antv/util/src/lodash/is-nil.ts +10 -0
- package/lib/@antv/util/src/lodash/is-null.ts +5 -0
- package/lib/@antv/util/src/lodash/is-number-equal.ts +5 -0
- package/lib/@antv/util/src/lodash/is-number.ts +10 -0
- package/lib/@antv/util/src/lodash/is-object-like.ts +11 -0
- package/lib/@antv/util/src/lodash/is-object.ts +10 -0
- package/lib/@antv/util/src/lodash/is-odd.ts +7 -0
- package/lib/@antv/util/src/lodash/is-plain-object.ts +24 -0
- package/lib/@antv/util/src/lodash/is-positive.ts +7 -0
- package/lib/@antv/util/src/lodash/is-prototype.ts +9 -0
- package/lib/@antv/util/src/lodash/is-reg-exp.ts +7 -0
- package/lib/@antv/util/src/lodash/is-segment-equal.ts +15 -0
- package/lib/@antv/util/src/lodash/is-string.ts +5 -0
- package/lib/@antv/util/src/lodash/is-type.ts +5 -0
- package/lib/@antv/util/src/lodash/is-undefined.ts +5 -0
- package/lib/@antv/util/src/lodash/keys.ts +16 -0
- package/lib/@antv/util/src/lodash/last.ts +9 -0
- package/lib/@antv/util/src/lodash/lower-case.ts +7 -0
- package/lib/@antv/util/src/lodash/lower-first.ts +8 -0
- package/lib/@antv/util/src/lodash/map-values.ts +22 -0
- package/lib/@antv/util/src/lodash/map.ts +17 -0
- package/lib/@antv/util/src/lodash/max-by.ts +37 -0
- package/lib/@antv/util/src/lodash/max.ts +28 -0
- package/lib/@antv/util/src/lodash/memoize.ts +76 -0
- package/lib/@antv/util/src/lodash/merge.ts +12 -0
- package/lib/@antv/util/src/lodash/min-by.ts +38 -0
- package/lib/@antv/util/src/lodash/min.ts +28 -0
- package/lib/@antv/util/src/lodash/mix.ts +15 -0
- package/lib/@antv/util/src/lodash/mod.ts +5 -0
- package/lib/@antv/util/src/lodash/noop.ts +1 -0
- package/lib/@antv/util/src/lodash/number2color.ts +17 -0
- package/lib/@antv/util/src/lodash/omit.ts +15 -0
- package/lib/@antv/util/src/lodash/parse-radius.ts +45 -0
- package/lib/@antv/util/src/lodash/pick.ts +32 -0
- package/lib/@antv/util/src/lodash/pull-at.ts +23 -0
- package/lib/@antv/util/src/lodash/pull.ts +16 -0
- package/lib/@antv/util/src/lodash/reduce.ts +17 -0
- package/lib/@antv/util/src/lodash/remove.ts +30 -0
- package/lib/@antv/util/src/lodash/request-animation-frame.ts +15 -0
- package/lib/@antv/util/src/lodash/set.ts +29 -0
- package/lib/@antv/util/src/lodash/size.ts +12 -0
- package/lib/@antv/util/src/lodash/some.ts +14 -0
- package/lib/@antv/util/src/lodash/sort-by.ts +42 -0
- package/lib/@antv/util/src/lodash/starts-with.ts +10 -0
- package/lib/@antv/util/src/lodash/substitute.ts +17 -0
- package/lib/@antv/util/src/lodash/throttle.ts +45 -0
- package/lib/@antv/util/src/lodash/to-array.ts +5 -0
- package/lib/@antv/util/src/lodash/to-degree.ts +7 -0
- package/lib/@antv/util/src/lodash/to-integer.ts +1 -0
- package/lib/@antv/util/src/lodash/to-radian.ts +7 -0
- package/lib/@antv/util/src/lodash/to-string.ts +6 -0
- package/lib/@antv/util/src/lodash/types/index.ts +3 -0
- package/lib/@antv/util/src/lodash/union.ts +7 -0
- package/lib/@antv/util/src/lodash/uniq.ts +15 -0
- package/lib/@antv/util/src/lodash/unique-id.ts +11 -0
- package/lib/@antv/util/src/lodash/upper-case.ts +7 -0
- package/lib/@antv/util/src/lodash/upper-first.ts +8 -0
- package/lib/@antv/util/src/lodash/values-of-key.ts +29 -0
- package/lib/@antv/util/src/lodash/values.ts +17 -0
- package/lib/@antv/util/src/lodash/wrap-behavior.ts +19 -0
- package/lib/@antv/util/src/math/index.ts +2 -0
- package/lib/@antv/util/src/math/is-point-in-polygon.ts +51 -0
- package/lib/@antv/util/src/math/is-polygons-intersect.ts +161 -0
- package/lib/@antv/util/src/matrix/angle-to.ts +24 -0
- package/lib/@antv/util/src/matrix/direction.ts +9 -0
- package/lib/@antv/util/src/matrix/index.ts +7 -0
- package/lib/@antv/util/src/matrix/transform.ts +55 -0
- package/lib/@antv/util/src/matrix/vertical.ts +17 -0
- package/lib/@antv/util/src/path/convert/path-2-absolute.ts +91 -0
- package/lib/@antv/util/src/path/convert/path-2-array.ts +6 -0
- package/lib/@antv/util/src/path/convert/path-2-curve.ts +67 -0
- package/lib/@antv/util/src/path/convert/path-2-string.ts +12 -0
- package/lib/@antv/util/src/path/index.ts +20 -0
- package/lib/@antv/util/src/path/parser/finalize-segment.ts +30 -0
- package/lib/@antv/util/src/path/parser/is-arc-command.ts +6 -0
- package/lib/@antv/util/src/path/parser/is-digit-start.ts +13 -0
- package/lib/@antv/util/src/path/parser/is-path-command.ts +22 -0
- package/lib/@antv/util/src/path/parser/is-space.ts +23 -0
- package/lib/@antv/util/src/path/parser/params-count.ts +13 -0
- package/lib/@antv/util/src/path/parser/params-parser.ts +10 -0
- package/lib/@antv/util/src/path/parser/parse-path-string.ts +25 -0
- package/lib/@antv/util/src/path/parser/path-parser.ts +35 -0
- package/lib/@antv/util/src/path/parser/scan-flag.ts +24 -0
- package/lib/@antv/util/src/path/parser/scan-param.ts +98 -0
- package/lib/@antv/util/src/path/parser/scan-segment.ts +68 -0
- package/lib/@antv/util/src/path/parser/skip-spaces.ts +14 -0
- package/lib/@antv/util/src/path/process/arc-2-cubic.ts +341 -0
- package/lib/@antv/util/src/path/process/clone-path.ts +5 -0
- package/lib/@antv/util/src/path/process/fix-arc.ts +17 -0
- package/lib/@antv/util/src/path/process/line-2-cubic.ts +7 -0
- package/lib/@antv/util/src/path/process/normalize-path.ts +35 -0
- package/lib/@antv/util/src/path/process/normalize-segment.ts +42 -0
- package/lib/@antv/util/src/path/process/quad-2-cubic.ts +12 -0
- package/lib/@antv/util/src/path/process/reverse-curve.ts +18 -0
- package/lib/@antv/util/src/path/process/round-path.ts +22 -0
- package/lib/@antv/util/src/path/process/segment-2-cubic.ts +49 -0
- package/lib/@antv/util/src/path/types.ts +203 -0
- package/lib/@antv/util/src/path/util/distance-square-root.ts +3 -0
- package/lib/@antv/util/src/path/util/equalize-segments.ts +92 -0
- package/lib/@antv/util/src/path/util/get-draw-direction.ts +6 -0
- package/lib/@antv/util/src/path/util/get-path-area.ts +85 -0
- package/lib/@antv/util/src/path/util/get-path-bbox-total-length.ts +48 -0
- package/lib/@antv/util/src/path/util/get-path-bbox.ts +42 -0
- package/lib/@antv/util/src/path/util/get-point-at-length.ts +13 -0
- package/lib/@antv/util/src/path/util/get-properties-at-length.ts +65 -0
- package/lib/@antv/util/src/path/util/get-properties-at-point.ts +73 -0
- package/lib/@antv/util/src/path/util/get-rotated-curve.ts +42 -0
- package/lib/@antv/util/src/path/util/get-total-length.ts +12 -0
- package/lib/@antv/util/src/path/util/is-absolute-array.ts +14 -0
- package/lib/@antv/util/src/path/util/is-curve-array.ts +13 -0
- package/lib/@antv/util/src/path/util/is-normalized-array.ts +11 -0
- package/lib/@antv/util/src/path/util/is-path-array.ts +15 -0
- package/lib/@antv/util/src/path/util/is-point-in-stroke.ts +10 -0
- package/lib/@antv/util/src/path/util/mid-point.ts +7 -0
- package/lib/@antv/util/src/path/util/path-length-factory.ts +141 -0
- package/lib/@antv/util/src/path/util/rotate-vector.ts +5 -0
- package/lib/@antv/util/src/path/util/segment-arc-factory.ts +208 -0
- package/lib/@antv/util/src/path/util/segment-cubic-factory.ts +111 -0
- package/lib/@antv/util/src/path/util/segment-line-factory.ts +36 -0
- package/lib/@antv/util/src/path/util/segment-quad-factory.ts +109 -0
- package/package.json +2 -2
- package/node_modules.zip +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).GDeviceAPI={})}(this,(function(e){"use strict";var t,r,n,o,a,i,s,l,_,u,E,c,R,T,p,A,d,F,f,m,h,S,g,B,N,C;function L(e){return e}function O(e,t,r){return e<<16|t<<8|r}function M(e){return e>>>8&255}function I(e){return e>>>16&255}function U(e){return 255&e}function D(t){switch(t){case e.FormatTypeFlags.F32:case e.FormatTypeFlags.U32:case e.FormatTypeFlags.S32:return 4;case e.FormatTypeFlags.U16:case e.FormatTypeFlags.S16:case e.FormatTypeFlags.F16:return 2;case e.FormatTypeFlags.U8:case e.FormatTypeFlags.S8:return 1;default:throw Error("whoops")}}function G(e){return D(I(e))}function P(e){return D(I(e))*M(e)}function v(t){var r=U(t);if(r&e.FormatFlags.Depth)return e.SamplerFormatKind.Depth;if(r&e.FormatFlags.Normalized)return e.SamplerFormatKind.Float;var n=I(t);if(n===e.FormatTypeFlags.F16||n===e.FormatTypeFlags.F32)return e.SamplerFormatKind.Float;if(n===e.FormatTypeFlags.U8||n===e.FormatTypeFlags.U16||n===e.FormatTypeFlags.U32)return e.SamplerFormatKind.Uint;if(n===e.FormatTypeFlags.S8||n===e.FormatTypeFlags.S16||n===e.FormatTypeFlags.S32)return e.SamplerFormatKind.Sint;throw Error("whoops")}function y(e,t){if(void 0===t&&(t=""),!e)throw Error("Assert fail: ".concat(t))}function b(e){if(null!=e)return e;throw Error("Missing object")}function x(e,t){return e.r===t.r&&e.g===t.g&&e.b===t.b&&e.a===t.a}function X(e,t){e.r=t.r,e.g=t.g,e.b=t.b,e.a=t.a}function w(e){return{r:e.r,g:e.g,b:e.b,a:e.a}}function W(e,t,r,n){return void 0===n&&(n=1),{r:e,g:t,b:r,a:n}}e.GL=void 0,(t=e.GL||(e.GL={}))[t.DEPTH_BUFFER_BIT=256]="DEPTH_BUFFER_BIT",t[t.STENCIL_BUFFER_BIT=1024]="STENCIL_BUFFER_BIT",t[t.COLOR_BUFFER_BIT=16384]="COLOR_BUFFER_BIT",t[t.POINTS=0]="POINTS",t[t.LINES=1]="LINES",t[t.LINE_LOOP=2]="LINE_LOOP",t[t.LINE_STRIP=3]="LINE_STRIP",t[t.TRIANGLES=4]="TRIANGLES",t[t.TRIANGLE_STRIP=5]="TRIANGLE_STRIP",t[t.TRIANGLE_FAN=6]="TRIANGLE_FAN",t[t.ZERO=0]="ZERO",t[t.ONE=1]="ONE",t[t.SRC_COLOR=768]="SRC_COLOR",t[t.ONE_MINUS_SRC_COLOR=769]="ONE_MINUS_SRC_COLOR",t[t.SRC_ALPHA=770]="SRC_ALPHA",t[t.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",t[t.DST_ALPHA=772]="DST_ALPHA",t[t.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",t[t.DST_COLOR=774]="DST_COLOR",t[t.ONE_MINUS_DST_COLOR=775]="ONE_MINUS_DST_COLOR",t[t.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",t[t.CONSTANT_COLOR=32769]="CONSTANT_COLOR",t[t.ONE_MINUS_CONSTANT_COLOR=32770]="ONE_MINUS_CONSTANT_COLOR",t[t.CONSTANT_ALPHA=32771]="CONSTANT_ALPHA",t[t.ONE_MINUS_CONSTANT_ALPHA=32772]="ONE_MINUS_CONSTANT_ALPHA",t[t.FUNC_ADD=32774]="FUNC_ADD",t[t.FUNC_SUBTRACT=32778]="FUNC_SUBTRACT",t[t.FUNC_REVERSE_SUBTRACT=32779]="FUNC_REVERSE_SUBTRACT",t[t.BLEND_EQUATION=32777]="BLEND_EQUATION",t[t.BLEND_EQUATION_RGB=32777]="BLEND_EQUATION_RGB",t[t.BLEND_EQUATION_ALPHA=34877]="BLEND_EQUATION_ALPHA",t[t.BLEND_DST_RGB=32968]="BLEND_DST_RGB",t[t.BLEND_SRC_RGB=32969]="BLEND_SRC_RGB",t[t.BLEND_DST_ALPHA=32970]="BLEND_DST_ALPHA",t[t.BLEND_SRC_ALPHA=32971]="BLEND_SRC_ALPHA",t[t.BLEND_COLOR=32773]="BLEND_COLOR",t[t.ARRAY_BUFFER_BINDING=34964]="ARRAY_BUFFER_BINDING",t[t.ELEMENT_ARRAY_BUFFER_BINDING=34965]="ELEMENT_ARRAY_BUFFER_BINDING",t[t.LINE_WIDTH=2849]="LINE_WIDTH",t[t.ALIASED_POINT_SIZE_RANGE=33901]="ALIASED_POINT_SIZE_RANGE",t[t.ALIASED_LINE_WIDTH_RANGE=33902]="ALIASED_LINE_WIDTH_RANGE",t[t.CULL_FACE_MODE=2885]="CULL_FACE_MODE",t[t.FRONT_FACE=2886]="FRONT_FACE",t[t.DEPTH_RANGE=2928]="DEPTH_RANGE",t[t.DEPTH_WRITEMASK=2930]="DEPTH_WRITEMASK",t[t.DEPTH_CLEAR_VALUE=2931]="DEPTH_CLEAR_VALUE",t[t.DEPTH_FUNC=2932]="DEPTH_FUNC",t[t.STENCIL_CLEAR_VALUE=2961]="STENCIL_CLEAR_VALUE",t[t.STENCIL_FUNC=2962]="STENCIL_FUNC",t[t.STENCIL_FAIL=2964]="STENCIL_FAIL",t[t.STENCIL_PASS_DEPTH_FAIL=2965]="STENCIL_PASS_DEPTH_FAIL",t[t.STENCIL_PASS_DEPTH_PASS=2966]="STENCIL_PASS_DEPTH_PASS",t[t.STENCIL_REF=2967]="STENCIL_REF",t[t.STENCIL_VALUE_MASK=2963]="STENCIL_VALUE_MASK",t[t.STENCIL_WRITEMASK=2968]="STENCIL_WRITEMASK",t[t.STENCIL_BACK_FUNC=34816]="STENCIL_BACK_FUNC",t[t.STENCIL_BACK_FAIL=34817]="STENCIL_BACK_FAIL",t[t.STENCIL_BACK_PASS_DEPTH_FAIL=34818]="STENCIL_BACK_PASS_DEPTH_FAIL",t[t.STENCIL_BACK_PASS_DEPTH_PASS=34819]="STENCIL_BACK_PASS_DEPTH_PASS",t[t.STENCIL_BACK_REF=36003]="STENCIL_BACK_REF",t[t.STENCIL_BACK_VALUE_MASK=36004]="STENCIL_BACK_VALUE_MASK",t[t.STENCIL_BACK_WRITEMASK=36005]="STENCIL_BACK_WRITEMASK",t[t.VIEWPORT=2978]="VIEWPORT",t[t.SCISSOR_BOX=3088]="SCISSOR_BOX",t[t.COLOR_CLEAR_VALUE=3106]="COLOR_CLEAR_VALUE",t[t.COLOR_WRITEMASK=3107]="COLOR_WRITEMASK",t[t.UNPACK_ALIGNMENT=3317]="UNPACK_ALIGNMENT",t[t.PACK_ALIGNMENT=3333]="PACK_ALIGNMENT",t[t.MAX_TEXTURE_SIZE=3379]="MAX_TEXTURE_SIZE",t[t.MAX_VIEWPORT_DIMS=3386]="MAX_VIEWPORT_DIMS",t[t.SUBPIXEL_BITS=3408]="SUBPIXEL_BITS",t[t.RED_BITS=3410]="RED_BITS",t[t.GREEN_BITS=3411]="GREEN_BITS",t[t.BLUE_BITS=3412]="BLUE_BITS",t[t.ALPHA_BITS=3413]="ALPHA_BITS",t[t.DEPTH_BITS=3414]="DEPTH_BITS",t[t.STENCIL_BITS=3415]="STENCIL_BITS",t[t.POLYGON_OFFSET_UNITS=10752]="POLYGON_OFFSET_UNITS",t[t.POLYGON_OFFSET_FACTOR=32824]="POLYGON_OFFSET_FACTOR",t[t.TEXTURE_BINDING_2D=32873]="TEXTURE_BINDING_2D",t[t.SAMPLE_BUFFERS=32936]="SAMPLE_BUFFERS",t[t.SAMPLES=32937]="SAMPLES",t[t.SAMPLE_COVERAGE_VALUE=32938]="SAMPLE_COVERAGE_VALUE",t[t.SAMPLE_COVERAGE_INVERT=32939]="SAMPLE_COVERAGE_INVERT",t[t.COMPRESSED_TEXTURE_FORMATS=34467]="COMPRESSED_TEXTURE_FORMATS",t[t.VENDOR=7936]="VENDOR",t[t.RENDERER=7937]="RENDERER",t[t.VERSION=7938]="VERSION",t[t.IMPLEMENTATION_COLOR_READ_TYPE=35738]="IMPLEMENTATION_COLOR_READ_TYPE",t[t.IMPLEMENTATION_COLOR_READ_FORMAT=35739]="IMPLEMENTATION_COLOR_READ_FORMAT",t[t.BROWSER_DEFAULT_WEBGL=37444]="BROWSER_DEFAULT_WEBGL",t[t.STATIC_DRAW=35044]="STATIC_DRAW",t[t.STREAM_DRAW=35040]="STREAM_DRAW",t[t.DYNAMIC_DRAW=35048]="DYNAMIC_DRAW",t[t.ARRAY_BUFFER=34962]="ARRAY_BUFFER",t[t.ELEMENT_ARRAY_BUFFER=34963]="ELEMENT_ARRAY_BUFFER",t[t.BUFFER_SIZE=34660]="BUFFER_SIZE",t[t.BUFFER_USAGE=34661]="BUFFER_USAGE",t[t.CURRENT_VERTEX_ATTRIB=34342]="CURRENT_VERTEX_ATTRIB",t[t.VERTEX_ATTRIB_ARRAY_ENABLED=34338]="VERTEX_ATTRIB_ARRAY_ENABLED",t[t.VERTEX_ATTRIB_ARRAY_SIZE=34339]="VERTEX_ATTRIB_ARRAY_SIZE",t[t.VERTEX_ATTRIB_ARRAY_STRIDE=34340]="VERTEX_ATTRIB_ARRAY_STRIDE",t[t.VERTEX_ATTRIB_ARRAY_TYPE=34341]="VERTEX_ATTRIB_ARRAY_TYPE",t[t.VERTEX_ATTRIB_ARRAY_NORMALIZED=34922]="VERTEX_ATTRIB_ARRAY_NORMALIZED",t[t.VERTEX_ATTRIB_ARRAY_POINTER=34373]="VERTEX_ATTRIB_ARRAY_POINTER",t[t.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING=34975]="VERTEX_ATTRIB_ARRAY_BUFFER_BINDING",t[t.CULL_FACE=2884]="CULL_FACE",t[t.FRONT=1028]="FRONT",t[t.BACK=1029]="BACK",t[t.FRONT_AND_BACK=1032]="FRONT_AND_BACK",t[t.BLEND=3042]="BLEND",t[t.DEPTH_TEST=2929]="DEPTH_TEST",t[t.DITHER=3024]="DITHER",t[t.POLYGON_OFFSET_FILL=32823]="POLYGON_OFFSET_FILL",t[t.SAMPLE_ALPHA_TO_COVERAGE=32926]="SAMPLE_ALPHA_TO_COVERAGE",t[t.SAMPLE_COVERAGE=32928]="SAMPLE_COVERAGE",t[t.SCISSOR_TEST=3089]="SCISSOR_TEST",t[t.STENCIL_TEST=2960]="STENCIL_TEST",t[t.NO_ERROR=0]="NO_ERROR",t[t.INVALID_ENUM=1280]="INVALID_ENUM",t[t.INVALID_VALUE=1281]="INVALID_VALUE",t[t.INVALID_OPERATION=1282]="INVALID_OPERATION",t[t.OUT_OF_MEMORY=1285]="OUT_OF_MEMORY",t[t.CONTEXT_LOST_WEBGL=37442]="CONTEXT_LOST_WEBGL",t[t.CW=2304]="CW",t[t.CCW=2305]="CCW",t[t.DONT_CARE=4352]="DONT_CARE",t[t.FASTEST=4353]="FASTEST",t[t.NICEST=4354]="NICEST",t[t.GENERATE_MIPMAP_HINT=33170]="GENERATE_MIPMAP_HINT",t[t.BYTE=5120]="BYTE",t[t.UNSIGNED_BYTE=5121]="UNSIGNED_BYTE",t[t.SHORT=5122]="SHORT",t[t.UNSIGNED_SHORT=5123]="UNSIGNED_SHORT",t[t.INT=5124]="INT",t[t.UNSIGNED_INT=5125]="UNSIGNED_INT",t[t.FLOAT=5126]="FLOAT",t[t.DOUBLE=5130]="DOUBLE",t[t.DEPTH_COMPONENT=6402]="DEPTH_COMPONENT",t[t.ALPHA=6406]="ALPHA",t[t.RGB=6407]="RGB",t[t.RGBA=6408]="RGBA",t[t.LUMINANCE=6409]="LUMINANCE",t[t.LUMINANCE_ALPHA=6410]="LUMINANCE_ALPHA",t[t.UNSIGNED_SHORT_4_4_4_4=32819]="UNSIGNED_SHORT_4_4_4_4",t[t.UNSIGNED_SHORT_5_5_5_1=32820]="UNSIGNED_SHORT_5_5_5_1",t[t.UNSIGNED_SHORT_5_6_5=33635]="UNSIGNED_SHORT_5_6_5",t[t.FRAGMENT_SHADER=35632]="FRAGMENT_SHADER",t[t.VERTEX_SHADER=35633]="VERTEX_SHADER",t[t.COMPILE_STATUS=35713]="COMPILE_STATUS",t[t.DELETE_STATUS=35712]="DELETE_STATUS",t[t.LINK_STATUS=35714]="LINK_STATUS",t[t.VALIDATE_STATUS=35715]="VALIDATE_STATUS",t[t.ATTACHED_SHADERS=35717]="ATTACHED_SHADERS",t[t.ACTIVE_ATTRIBUTES=35721]="ACTIVE_ATTRIBUTES",t[t.ACTIVE_UNIFORMS=35718]="ACTIVE_UNIFORMS",t[t.MAX_VERTEX_ATTRIBS=34921]="MAX_VERTEX_ATTRIBS",t[t.MAX_VERTEX_UNIFORM_VECTORS=36347]="MAX_VERTEX_UNIFORM_VECTORS",t[t.MAX_VARYING_VECTORS=36348]="MAX_VARYING_VECTORS",t[t.MAX_COMBINED_TEXTURE_IMAGE_UNITS=35661]="MAX_COMBINED_TEXTURE_IMAGE_UNITS",t[t.MAX_VERTEX_TEXTURE_IMAGE_UNITS=35660]="MAX_VERTEX_TEXTURE_IMAGE_UNITS",t[t.MAX_TEXTURE_IMAGE_UNITS=34930]="MAX_TEXTURE_IMAGE_UNITS",t[t.MAX_FRAGMENT_UNIFORM_VECTORS=36349]="MAX_FRAGMENT_UNIFORM_VECTORS",t[t.SHADER_TYPE=35663]="SHADER_TYPE",t[t.SHADING_LANGUAGE_VERSION=35724]="SHADING_LANGUAGE_VERSION",t[t.CURRENT_PROGRAM=35725]="CURRENT_PROGRAM",t[t.NEVER=512]="NEVER",t[t.ALWAYS=519]="ALWAYS",t[t.LESS=513]="LESS",t[t.EQUAL=514]="EQUAL",t[t.LEQUAL=515]="LEQUAL",t[t.GREATER=516]="GREATER",t[t.GEQUAL=518]="GEQUAL",t[t.NOTEQUAL=517]="NOTEQUAL",t[t.KEEP=7680]="KEEP",t[t.REPLACE=7681]="REPLACE",t[t.INCR=7682]="INCR",t[t.DECR=7683]="DECR",t[t.INVERT=5386]="INVERT",t[t.INCR_WRAP=34055]="INCR_WRAP",t[t.DECR_WRAP=34056]="DECR_WRAP",t[t.NEAREST=9728]="NEAREST",t[t.LINEAR=9729]="LINEAR",t[t.NEAREST_MIPMAP_NEAREST=9984]="NEAREST_MIPMAP_NEAREST",t[t.LINEAR_MIPMAP_NEAREST=9985]="LINEAR_MIPMAP_NEAREST",t[t.NEAREST_MIPMAP_LINEAR=9986]="NEAREST_MIPMAP_LINEAR",t[t.LINEAR_MIPMAP_LINEAR=9987]="LINEAR_MIPMAP_LINEAR",t[t.TEXTURE_MAG_FILTER=10240]="TEXTURE_MAG_FILTER",t[t.TEXTURE_MIN_FILTER=10241]="TEXTURE_MIN_FILTER",t[t.TEXTURE_WRAP_S=10242]="TEXTURE_WRAP_S",t[t.TEXTURE_WRAP_T=10243]="TEXTURE_WRAP_T",t[t.TEXTURE_2D=3553]="TEXTURE_2D",t[t.TEXTURE=5890]="TEXTURE",t[t.TEXTURE_CUBE_MAP=34067]="TEXTURE_CUBE_MAP",t[t.TEXTURE_BINDING_CUBE_MAP=34068]="TEXTURE_BINDING_CUBE_MAP",t[t.TEXTURE_CUBE_MAP_POSITIVE_X=34069]="TEXTURE_CUBE_MAP_POSITIVE_X",t[t.TEXTURE_CUBE_MAP_NEGATIVE_X=34070]="TEXTURE_CUBE_MAP_NEGATIVE_X",t[t.TEXTURE_CUBE_MAP_POSITIVE_Y=34071]="TEXTURE_CUBE_MAP_POSITIVE_Y",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y=34072]="TEXTURE_CUBE_MAP_NEGATIVE_Y",t[t.TEXTURE_CUBE_MAP_POSITIVE_Z=34073]="TEXTURE_CUBE_MAP_POSITIVE_Z",t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z=34074]="TEXTURE_CUBE_MAP_NEGATIVE_Z",t[t.MAX_CUBE_MAP_TEXTURE_SIZE=34076]="MAX_CUBE_MAP_TEXTURE_SIZE",t[t.TEXTURE0=33984]="TEXTURE0",t[t.ACTIVE_TEXTURE=34016]="ACTIVE_TEXTURE",t[t.REPEAT=10497]="REPEAT",t[t.CLAMP_TO_EDGE=33071]="CLAMP_TO_EDGE",t[t.MIRRORED_REPEAT=33648]="MIRRORED_REPEAT",t[t.TEXTURE_WIDTH=4096]="TEXTURE_WIDTH",t[t.TEXTURE_HEIGHT=4097]="TEXTURE_HEIGHT",t[t.FLOAT_VEC2=35664]="FLOAT_VEC2",t[t.FLOAT_VEC3=35665]="FLOAT_VEC3",t[t.FLOAT_VEC4=35666]="FLOAT_VEC4",t[t.INT_VEC2=35667]="INT_VEC2",t[t.INT_VEC3=35668]="INT_VEC3",t[t.INT_VEC4=35669]="INT_VEC4",t[t.BOOL=35670]="BOOL",t[t.BOOL_VEC2=35671]="BOOL_VEC2",t[t.BOOL_VEC3=35672]="BOOL_VEC3",t[t.BOOL_VEC4=35673]="BOOL_VEC4",t[t.FLOAT_MAT2=35674]="FLOAT_MAT2",t[t.FLOAT_MAT3=35675]="FLOAT_MAT3",t[t.FLOAT_MAT4=35676]="FLOAT_MAT4",t[t.SAMPLER_2D=35678]="SAMPLER_2D",t[t.SAMPLER_CUBE=35680]="SAMPLER_CUBE",t[t.LOW_FLOAT=36336]="LOW_FLOAT",t[t.MEDIUM_FLOAT=36337]="MEDIUM_FLOAT",t[t.HIGH_FLOAT=36338]="HIGH_FLOAT",t[t.LOW_INT=36339]="LOW_INT",t[t.MEDIUM_INT=36340]="MEDIUM_INT",t[t.HIGH_INT=36341]="HIGH_INT",t[t.FRAMEBUFFER=36160]="FRAMEBUFFER",t[t.RENDERBUFFER=36161]="RENDERBUFFER",t[t.RGBA4=32854]="RGBA4",t[t.RGB5_A1=32855]="RGB5_A1",t[t.RGB565=36194]="RGB565",t[t.DEPTH_COMPONENT16=33189]="DEPTH_COMPONENT16",t[t.STENCIL_INDEX=6401]="STENCIL_INDEX",t[t.STENCIL_INDEX8=36168]="STENCIL_INDEX8",t[t.DEPTH_STENCIL=34041]="DEPTH_STENCIL",t[t.RENDERBUFFER_WIDTH=36162]="RENDERBUFFER_WIDTH",t[t.RENDERBUFFER_HEIGHT=36163]="RENDERBUFFER_HEIGHT",t[t.RENDERBUFFER_INTERNAL_FORMAT=36164]="RENDERBUFFER_INTERNAL_FORMAT",t[t.RENDERBUFFER_RED_SIZE=36176]="RENDERBUFFER_RED_SIZE",t[t.RENDERBUFFER_GREEN_SIZE=36177]="RENDERBUFFER_GREEN_SIZE",t[t.RENDERBUFFER_BLUE_SIZE=36178]="RENDERBUFFER_BLUE_SIZE",t[t.RENDERBUFFER_ALPHA_SIZE=36179]="RENDERBUFFER_ALPHA_SIZE",t[t.RENDERBUFFER_DEPTH_SIZE=36180]="RENDERBUFFER_DEPTH_SIZE",t[t.RENDERBUFFER_STENCIL_SIZE=36181]="RENDERBUFFER_STENCIL_SIZE",t[t.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE=36048]="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE",t[t.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME=36049]="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME",t[t.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL=36050]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL",t[t.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE=36051]="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE",t[t.COLOR_ATTACHMENT0=36064]="COLOR_ATTACHMENT0",t[t.DEPTH_ATTACHMENT=36096]="DEPTH_ATTACHMENT",t[t.STENCIL_ATTACHMENT=36128]="STENCIL_ATTACHMENT",t[t.DEPTH_STENCIL_ATTACHMENT=33306]="DEPTH_STENCIL_ATTACHMENT",t[t.NONE=0]="NONE",t[t.FRAMEBUFFER_COMPLETE=36053]="FRAMEBUFFER_COMPLETE",t[t.FRAMEBUFFER_INCOMPLETE_ATTACHMENT=36054]="FRAMEBUFFER_INCOMPLETE_ATTACHMENT",t[t.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT=36055]="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT",t[t.FRAMEBUFFER_INCOMPLETE_DIMENSIONS=36057]="FRAMEBUFFER_INCOMPLETE_DIMENSIONS",t[t.FRAMEBUFFER_UNSUPPORTED=36061]="FRAMEBUFFER_UNSUPPORTED",t[t.FRAMEBUFFER_BINDING=36006]="FRAMEBUFFER_BINDING",t[t.RENDERBUFFER_BINDING=36007]="RENDERBUFFER_BINDING",t[t.READ_FRAMEBUFFER=36008]="READ_FRAMEBUFFER",t[t.DRAW_FRAMEBUFFER=36009]="DRAW_FRAMEBUFFER",t[t.MAX_RENDERBUFFER_SIZE=34024]="MAX_RENDERBUFFER_SIZE",t[t.INVALID_FRAMEBUFFER_OPERATION=1286]="INVALID_FRAMEBUFFER_OPERATION",t[t.UNPACK_FLIP_Y_WEBGL=37440]="UNPACK_FLIP_Y_WEBGL",t[t.UNPACK_PREMULTIPLY_ALPHA_WEBGL=37441]="UNPACK_PREMULTIPLY_ALPHA_WEBGL",t[t.UNPACK_COLORSPACE_CONVERSION_WEBGL=37443]="UNPACK_COLORSPACE_CONVERSION_WEBGL",t[t.READ_BUFFER=3074]="READ_BUFFER",t[t.UNPACK_ROW_LENGTH=3314]="UNPACK_ROW_LENGTH",t[t.UNPACK_SKIP_ROWS=3315]="UNPACK_SKIP_ROWS",t[t.UNPACK_SKIP_PIXELS=3316]="UNPACK_SKIP_PIXELS",t[t.PACK_ROW_LENGTH=3330]="PACK_ROW_LENGTH",t[t.PACK_SKIP_ROWS=3331]="PACK_SKIP_ROWS",t[t.PACK_SKIP_PIXELS=3332]="PACK_SKIP_PIXELS",t[t.TEXTURE_BINDING_3D=32874]="TEXTURE_BINDING_3D",t[t.UNPACK_SKIP_IMAGES=32877]="UNPACK_SKIP_IMAGES",t[t.UNPACK_IMAGE_HEIGHT=32878]="UNPACK_IMAGE_HEIGHT",t[t.MAX_3D_TEXTURE_SIZE=32883]="MAX_3D_TEXTURE_SIZE",t[t.MAX_ELEMENTS_VERTICES=33e3]="MAX_ELEMENTS_VERTICES",t[t.MAX_ELEMENTS_INDICES=33001]="MAX_ELEMENTS_INDICES",t[t.MAX_TEXTURE_LOD_BIAS=34045]="MAX_TEXTURE_LOD_BIAS",t[t.MAX_FRAGMENT_UNIFORM_COMPONENTS=35657]="MAX_FRAGMENT_UNIFORM_COMPONENTS",t[t.MAX_VERTEX_UNIFORM_COMPONENTS=35658]="MAX_VERTEX_UNIFORM_COMPONENTS",t[t.MAX_ARRAY_TEXTURE_LAYERS=35071]="MAX_ARRAY_TEXTURE_LAYERS",t[t.MIN_PROGRAM_TEXEL_OFFSET=35076]="MIN_PROGRAM_TEXEL_OFFSET",t[t.MAX_PROGRAM_TEXEL_OFFSET=35077]="MAX_PROGRAM_TEXEL_OFFSET",t[t.MAX_VARYING_COMPONENTS=35659]="MAX_VARYING_COMPONENTS",t[t.FRAGMENT_SHADER_DERIVATIVE_HINT=35723]="FRAGMENT_SHADER_DERIVATIVE_HINT",t[t.RASTERIZER_DISCARD=35977]="RASTERIZER_DISCARD",t[t.VERTEX_ARRAY_BINDING=34229]="VERTEX_ARRAY_BINDING",t[t.MAX_VERTEX_OUTPUT_COMPONENTS=37154]="MAX_VERTEX_OUTPUT_COMPONENTS",t[t.MAX_FRAGMENT_INPUT_COMPONENTS=37157]="MAX_FRAGMENT_INPUT_COMPONENTS",t[t.MAX_SERVER_WAIT_TIMEOUT=37137]="MAX_SERVER_WAIT_TIMEOUT",t[t.MAX_ELEMENT_INDEX=36203]="MAX_ELEMENT_INDEX",t[t.RED=6403]="RED",t[t.RGB8=32849]="RGB8",t[t.RGBA8=32856]="RGBA8",t[t.RGB10_A2=32857]="RGB10_A2",t[t.TEXTURE_3D=32879]="TEXTURE_3D",t[t.TEXTURE_WRAP_R=32882]="TEXTURE_WRAP_R",t[t.TEXTURE_MIN_LOD=33082]="TEXTURE_MIN_LOD",t[t.TEXTURE_MAX_LOD=33083]="TEXTURE_MAX_LOD",t[t.TEXTURE_BASE_LEVEL=33084]="TEXTURE_BASE_LEVEL",t[t.TEXTURE_MAX_LEVEL=33085]="TEXTURE_MAX_LEVEL",t[t.TEXTURE_COMPARE_MODE=34892]="TEXTURE_COMPARE_MODE",t[t.TEXTURE_COMPARE_FUNC=34893]="TEXTURE_COMPARE_FUNC",t[t.SRGB=35904]="SRGB",t[t.SRGB8=35905]="SRGB8",t[t.SRGB8_ALPHA8=35907]="SRGB8_ALPHA8",t[t.COMPARE_REF_TO_TEXTURE=34894]="COMPARE_REF_TO_TEXTURE",t[t.RGBA32F=34836]="RGBA32F",t[t.RGB32F=34837]="RGB32F",t[t.RGBA16F=34842]="RGBA16F",t[t.RGB16F=34843]="RGB16F",t[t.TEXTURE_2D_ARRAY=35866]="TEXTURE_2D_ARRAY",t[t.TEXTURE_BINDING_2D_ARRAY=35869]="TEXTURE_BINDING_2D_ARRAY",t[t.R11F_G11F_B10F=35898]="R11F_G11F_B10F",t[t.RGB9_E5=35901]="RGB9_E5",t[t.RGBA32UI=36208]="RGBA32UI",t[t.RGB32UI=36209]="RGB32UI",t[t.RGBA16UI=36214]="RGBA16UI",t[t.RGB16UI=36215]="RGB16UI",t[t.RGBA8UI=36220]="RGBA8UI",t[t.RGB8UI=36221]="RGB8UI",t[t.RGBA32I=36226]="RGBA32I",t[t.RGB32I=36227]="RGB32I",t[t.RGBA16I=36232]="RGBA16I",t[t.RGB16I=36233]="RGB16I",t[t.RGBA8I=36238]="RGBA8I",t[t.RGB8I=36239]="RGB8I",t[t.RED_INTEGER=36244]="RED_INTEGER",t[t.RGB_INTEGER=36248]="RGB_INTEGER",t[t.RGBA_INTEGER=36249]="RGBA_INTEGER",t[t.R8=33321]="R8",t[t.RG8=33323]="RG8",t[t.R16F=33325]="R16F",t[t.R32F=33326]="R32F",t[t.RG16F=33327]="RG16F",t[t.RG32F=33328]="RG32F",t[t.R8I=33329]="R8I",t[t.R8UI=33330]="R8UI",t[t.R16I=33331]="R16I",t[t.R16UI=33332]="R16UI",t[t.R32I=33333]="R32I",t[t.R32UI=33334]="R32UI",t[t.RG8I=33335]="RG8I",t[t.RG8UI=33336]="RG8UI",t[t.RG16I=33337]="RG16I",t[t.RG16UI=33338]="RG16UI",t[t.RG32I=33339]="RG32I",t[t.RG32UI=33340]="RG32UI",t[t.R8_SNORM=36756]="R8_SNORM",t[t.RG8_SNORM=36757]="RG8_SNORM",t[t.RGB8_SNORM=36758]="RGB8_SNORM",t[t.RGBA8_SNORM=36759]="RGBA8_SNORM",t[t.RGB10_A2UI=36975]="RGB10_A2UI",t[t.TEXTURE_IMMUTABLE_FORMAT=37167]="TEXTURE_IMMUTABLE_FORMAT",t[t.TEXTURE_IMMUTABLE_LEVELS=33503]="TEXTURE_IMMUTABLE_LEVELS",t[t.UNSIGNED_INT_2_10_10_10_REV=33640]="UNSIGNED_INT_2_10_10_10_REV",t[t.UNSIGNED_INT_10F_11F_11F_REV=35899]="UNSIGNED_INT_10F_11F_11F_REV",t[t.UNSIGNED_INT_5_9_9_9_REV=35902]="UNSIGNED_INT_5_9_9_9_REV",t[t.FLOAT_32_UNSIGNED_INT_24_8_REV=36269]="FLOAT_32_UNSIGNED_INT_24_8_REV",t[t.UNSIGNED_INT_24_8=34042]="UNSIGNED_INT_24_8",t[t.HALF_FLOAT=5131]="HALF_FLOAT",t[t.RG=33319]="RG",t[t.RG_INTEGER=33320]="RG_INTEGER",t[t.INT_2_10_10_10_REV=36255]="INT_2_10_10_10_REV",t[t.CURRENT_QUERY=34917]="CURRENT_QUERY",t[t.QUERY_RESULT=34918]="QUERY_RESULT",t[t.QUERY_RESULT_AVAILABLE=34919]="QUERY_RESULT_AVAILABLE",t[t.ANY_SAMPLES_PASSED=35887]="ANY_SAMPLES_PASSED",t[t.ANY_SAMPLES_PASSED_CONSERVATIVE=36202]="ANY_SAMPLES_PASSED_CONSERVATIVE",t[t.MAX_DRAW_BUFFERS=34852]="MAX_DRAW_BUFFERS",t[t.DRAW_BUFFER0=34853]="DRAW_BUFFER0",t[t.DRAW_BUFFER1=34854]="DRAW_BUFFER1",t[t.DRAW_BUFFER2=34855]="DRAW_BUFFER2",t[t.DRAW_BUFFER3=34856]="DRAW_BUFFER3",t[t.DRAW_BUFFER4=34857]="DRAW_BUFFER4",t[t.DRAW_BUFFER5=34858]="DRAW_BUFFER5",t[t.DRAW_BUFFER6=34859]="DRAW_BUFFER6",t[t.DRAW_BUFFER7=34860]="DRAW_BUFFER7",t[t.DRAW_BUFFER8=34861]="DRAW_BUFFER8",t[t.DRAW_BUFFER9=34862]="DRAW_BUFFER9",t[t.DRAW_BUFFER10=34863]="DRAW_BUFFER10",t[t.DRAW_BUFFER11=34864]="DRAW_BUFFER11",t[t.DRAW_BUFFER12=34865]="DRAW_BUFFER12",t[t.DRAW_BUFFER13=34866]="DRAW_BUFFER13",t[t.DRAW_BUFFER14=34867]="DRAW_BUFFER14",t[t.DRAW_BUFFER15=34868]="DRAW_BUFFER15",t[t.MAX_COLOR_ATTACHMENTS=36063]="MAX_COLOR_ATTACHMENTS",t[t.COLOR_ATTACHMENT1=36065]="COLOR_ATTACHMENT1",t[t.COLOR_ATTACHMENT2=36066]="COLOR_ATTACHMENT2",t[t.COLOR_ATTACHMENT3=36067]="COLOR_ATTACHMENT3",t[t.COLOR_ATTACHMENT4=36068]="COLOR_ATTACHMENT4",t[t.COLOR_ATTACHMENT5=36069]="COLOR_ATTACHMENT5",t[t.COLOR_ATTACHMENT6=36070]="COLOR_ATTACHMENT6",t[t.COLOR_ATTACHMENT7=36071]="COLOR_ATTACHMENT7",t[t.COLOR_ATTACHMENT8=36072]="COLOR_ATTACHMENT8",t[t.COLOR_ATTACHMENT9=36073]="COLOR_ATTACHMENT9",t[t.COLOR_ATTACHMENT10=36074]="COLOR_ATTACHMENT10",t[t.COLOR_ATTACHMENT11=36075]="COLOR_ATTACHMENT11",t[t.COLOR_ATTACHMENT12=36076]="COLOR_ATTACHMENT12",t[t.COLOR_ATTACHMENT13=36077]="COLOR_ATTACHMENT13",t[t.COLOR_ATTACHMENT14=36078]="COLOR_ATTACHMENT14",t[t.COLOR_ATTACHMENT15=36079]="COLOR_ATTACHMENT15",t[t.SAMPLER_3D=35679]="SAMPLER_3D",t[t.SAMPLER_2D_SHADOW=35682]="SAMPLER_2D_SHADOW",t[t.SAMPLER_2D_ARRAY=36289]="SAMPLER_2D_ARRAY",t[t.SAMPLER_2D_ARRAY_SHADOW=36292]="SAMPLER_2D_ARRAY_SHADOW",t[t.SAMPLER_CUBE_SHADOW=36293]="SAMPLER_CUBE_SHADOW",t[t.INT_SAMPLER_2D=36298]="INT_SAMPLER_2D",t[t.INT_SAMPLER_3D=36299]="INT_SAMPLER_3D",t[t.INT_SAMPLER_CUBE=36300]="INT_SAMPLER_CUBE",t[t.INT_SAMPLER_2D_ARRAY=36303]="INT_SAMPLER_2D_ARRAY",t[t.UNSIGNED_INT_SAMPLER_2D=36306]="UNSIGNED_INT_SAMPLER_2D",t[t.UNSIGNED_INT_SAMPLER_3D=36307]="UNSIGNED_INT_SAMPLER_3D",t[t.UNSIGNED_INT_SAMPLER_CUBE=36308]="UNSIGNED_INT_SAMPLER_CUBE",t[t.UNSIGNED_INT_SAMPLER_2D_ARRAY=36311]="UNSIGNED_INT_SAMPLER_2D_ARRAY",t[t.MAX_SAMPLES=36183]="MAX_SAMPLES",t[t.SAMPLER_BINDING=35097]="SAMPLER_BINDING",t[t.PIXEL_PACK_BUFFER=35051]="PIXEL_PACK_BUFFER",t[t.PIXEL_UNPACK_BUFFER=35052]="PIXEL_UNPACK_BUFFER",t[t.PIXEL_PACK_BUFFER_BINDING=35053]="PIXEL_PACK_BUFFER_BINDING",t[t.PIXEL_UNPACK_BUFFER_BINDING=35055]="PIXEL_UNPACK_BUFFER_BINDING",t[t.COPY_READ_BUFFER=36662]="COPY_READ_BUFFER",t[t.COPY_WRITE_BUFFER=36663]="COPY_WRITE_BUFFER",t[t.COPY_READ_BUFFER_BINDING=36662]="COPY_READ_BUFFER_BINDING",t[t.COPY_WRITE_BUFFER_BINDING=36663]="COPY_WRITE_BUFFER_BINDING",t[t.FLOAT_MAT2x3=35685]="FLOAT_MAT2x3",t[t.FLOAT_MAT2x4=35686]="FLOAT_MAT2x4",t[t.FLOAT_MAT3x2=35687]="FLOAT_MAT3x2",t[t.FLOAT_MAT3x4=35688]="FLOAT_MAT3x4",t[t.FLOAT_MAT4x2=35689]="FLOAT_MAT4x2",t[t.FLOAT_MAT4x3=35690]="FLOAT_MAT4x3",t[t.UNSIGNED_INT_VEC2=36294]="UNSIGNED_INT_VEC2",t[t.UNSIGNED_INT_VEC3=36295]="UNSIGNED_INT_VEC3",t[t.UNSIGNED_INT_VEC4=36296]="UNSIGNED_INT_VEC4",t[t.UNSIGNED_NORMALIZED=35863]="UNSIGNED_NORMALIZED",t[t.SIGNED_NORMALIZED=36764]="SIGNED_NORMALIZED",t[t.VERTEX_ATTRIB_ARRAY_INTEGER=35069]="VERTEX_ATTRIB_ARRAY_INTEGER",t[t.VERTEX_ATTRIB_ARRAY_DIVISOR=35070]="VERTEX_ATTRIB_ARRAY_DIVISOR",t[t.TRANSFORM_FEEDBACK_BUFFER_MODE=35967]="TRANSFORM_FEEDBACK_BUFFER_MODE",t[t.MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS=35968]="MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS",t[t.TRANSFORM_FEEDBACK_VARYINGS=35971]="TRANSFORM_FEEDBACK_VARYINGS",t[t.TRANSFORM_FEEDBACK_BUFFER_START=35972]="TRANSFORM_FEEDBACK_BUFFER_START",t[t.TRANSFORM_FEEDBACK_BUFFER_SIZE=35973]="TRANSFORM_FEEDBACK_BUFFER_SIZE",t[t.TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN=35976]="TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN",t[t.MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS=35978]="MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS",t[t.MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS=35979]="MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS",t[t.INTERLEAVED_ATTRIBS=35980]="INTERLEAVED_ATTRIBS",t[t.SEPARATE_ATTRIBS=35981]="SEPARATE_ATTRIBS",t[t.TRANSFORM_FEEDBACK_BUFFER=35982]="TRANSFORM_FEEDBACK_BUFFER",t[t.TRANSFORM_FEEDBACK_BUFFER_BINDING=35983]="TRANSFORM_FEEDBACK_BUFFER_BINDING",t[t.TRANSFORM_FEEDBACK=36386]="TRANSFORM_FEEDBACK",t[t.TRANSFORM_FEEDBACK_PAUSED=36387]="TRANSFORM_FEEDBACK_PAUSED",t[t.TRANSFORM_FEEDBACK_ACTIVE=36388]="TRANSFORM_FEEDBACK_ACTIVE",t[t.TRANSFORM_FEEDBACK_BINDING=36389]="TRANSFORM_FEEDBACK_BINDING",t[t.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING=33296]="FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING",t[t.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE=33297]="FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE",t[t.FRAMEBUFFER_ATTACHMENT_RED_SIZE=33298]="FRAMEBUFFER_ATTACHMENT_RED_SIZE",t[t.FRAMEBUFFER_ATTACHMENT_GREEN_SIZE=33299]="FRAMEBUFFER_ATTACHMENT_GREEN_SIZE",t[t.FRAMEBUFFER_ATTACHMENT_BLUE_SIZE=33300]="FRAMEBUFFER_ATTACHMENT_BLUE_SIZE",t[t.FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE=33301]="FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE",t[t.FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE=33302]="FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE",t[t.FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE=33303]="FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE",t[t.FRAMEBUFFER_DEFAULT=33304]="FRAMEBUFFER_DEFAULT",t[t.DEPTH24_STENCIL8=35056]="DEPTH24_STENCIL8",t[t.DRAW_FRAMEBUFFER_BINDING=36006]="DRAW_FRAMEBUFFER_BINDING",t[t.READ_FRAMEBUFFER_BINDING=36010]="READ_FRAMEBUFFER_BINDING",t[t.RENDERBUFFER_SAMPLES=36011]="RENDERBUFFER_SAMPLES",t[t.FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER=36052]="FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER",t[t.FRAMEBUFFER_INCOMPLETE_MULTISAMPLE=36182]="FRAMEBUFFER_INCOMPLETE_MULTISAMPLE",t[t.UNIFORM_BUFFER=35345]="UNIFORM_BUFFER",t[t.UNIFORM_BUFFER_BINDING=35368]="UNIFORM_BUFFER_BINDING",t[t.UNIFORM_BUFFER_START=35369]="UNIFORM_BUFFER_START",t[t.UNIFORM_BUFFER_SIZE=35370]="UNIFORM_BUFFER_SIZE",t[t.MAX_VERTEX_UNIFORM_BLOCKS=35371]="MAX_VERTEX_UNIFORM_BLOCKS",t[t.MAX_FRAGMENT_UNIFORM_BLOCKS=35373]="MAX_FRAGMENT_UNIFORM_BLOCKS",t[t.MAX_COMBINED_UNIFORM_BLOCKS=35374]="MAX_COMBINED_UNIFORM_BLOCKS",t[t.MAX_UNIFORM_BUFFER_BINDINGS=35375]="MAX_UNIFORM_BUFFER_BINDINGS",t[t.MAX_UNIFORM_BLOCK_SIZE=35376]="MAX_UNIFORM_BLOCK_SIZE",t[t.MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS=35377]="MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS",t[t.MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS=35379]="MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS",t[t.UNIFORM_BUFFER_OFFSET_ALIGNMENT=35380]="UNIFORM_BUFFER_OFFSET_ALIGNMENT",t[t.ACTIVE_UNIFORM_BLOCKS=35382]="ACTIVE_UNIFORM_BLOCKS",t[t.UNIFORM_TYPE=35383]="UNIFORM_TYPE",t[t.UNIFORM_SIZE=35384]="UNIFORM_SIZE",t[t.UNIFORM_BLOCK_INDEX=35386]="UNIFORM_BLOCK_INDEX",t[t.UNIFORM_OFFSET=35387]="UNIFORM_OFFSET",t[t.UNIFORM_ARRAY_STRIDE=35388]="UNIFORM_ARRAY_STRIDE",t[t.UNIFORM_MATRIX_STRIDE=35389]="UNIFORM_MATRIX_STRIDE",t[t.UNIFORM_IS_ROW_MAJOR=35390]="UNIFORM_IS_ROW_MAJOR",t[t.UNIFORM_BLOCK_BINDING=35391]="UNIFORM_BLOCK_BINDING",t[t.UNIFORM_BLOCK_DATA_SIZE=35392]="UNIFORM_BLOCK_DATA_SIZE",t[t.UNIFORM_BLOCK_ACTIVE_UNIFORMS=35394]="UNIFORM_BLOCK_ACTIVE_UNIFORMS",t[t.UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES=35395]="UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES",t[t.UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER=35396]="UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER",t[t.UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER=35398]="UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER",t[t.OBJECT_TYPE=37138]="OBJECT_TYPE",t[t.SYNC_CONDITION=37139]="SYNC_CONDITION",t[t.SYNC_STATUS=37140]="SYNC_STATUS",t[t.SYNC_FLAGS=37141]="SYNC_FLAGS",t[t.SYNC_FENCE=37142]="SYNC_FENCE",t[t.SYNC_GPU_COMMANDS_COMPLETE=37143]="SYNC_GPU_COMMANDS_COMPLETE",t[t.UNSIGNALED=37144]="UNSIGNALED",t[t.SIGNALED=37145]="SIGNALED",t[t.ALREADY_SIGNALED=37146]="ALREADY_SIGNALED",t[t.TIMEOUT_EXPIRED=37147]="TIMEOUT_EXPIRED",t[t.CONDITION_SATISFIED=37148]="CONDITION_SATISFIED",t[t.WAIT_FAILED=37149]="WAIT_FAILED",t[t.SYNC_FLUSH_COMMANDS_BIT=1]="SYNC_FLUSH_COMMANDS_BIT",t[t.COLOR=6144]="COLOR",t[t.DEPTH=6145]="DEPTH",t[t.STENCIL=6146]="STENCIL",t[t.MIN=32775]="MIN",t[t.MAX=32776]="MAX",t[t.DEPTH_COMPONENT24=33190]="DEPTH_COMPONENT24",t[t.STREAM_READ=35041]="STREAM_READ",t[t.STREAM_COPY=35042]="STREAM_COPY",t[t.STATIC_READ=35045]="STATIC_READ",t[t.STATIC_COPY=35046]="STATIC_COPY",t[t.DYNAMIC_READ=35049]="DYNAMIC_READ",t[t.DYNAMIC_COPY=35050]="DYNAMIC_COPY",t[t.DEPTH_COMPONENT32F=36012]="DEPTH_COMPONENT32F",t[t.DEPTH32F_STENCIL8=36013]="DEPTH32F_STENCIL8",t[t.INVALID_INDEX=4294967295]="INVALID_INDEX",t[t.TIMEOUT_IGNORED=-1]="TIMEOUT_IGNORED",t[t.MAX_CLIENT_WAIT_TIMEOUT_WEBGL=37447]="MAX_CLIENT_WAIT_TIMEOUT_WEBGL",t[t.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE=35070]="VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE",t[t.UNMASKED_VENDOR_WEBGL=37445]="UNMASKED_VENDOR_WEBGL",t[t.UNMASKED_RENDERER_WEBGL=37446]="UNMASKED_RENDERER_WEBGL",t[t.MAX_TEXTURE_MAX_ANISOTROPY_EXT=34047]="MAX_TEXTURE_MAX_ANISOTROPY_EXT",t[t.TEXTURE_MAX_ANISOTROPY_EXT=34046]="TEXTURE_MAX_ANISOTROPY_EXT",t[t.COMPRESSED_RGB_S3TC_DXT1_EXT=33776]="COMPRESSED_RGB_S3TC_DXT1_EXT",t[t.COMPRESSED_RGBA_S3TC_DXT1_EXT=33777]="COMPRESSED_RGBA_S3TC_DXT1_EXT",t[t.COMPRESSED_RGBA_S3TC_DXT3_EXT=33778]="COMPRESSED_RGBA_S3TC_DXT3_EXT",t[t.COMPRESSED_RGBA_S3TC_DXT5_EXT=33779]="COMPRESSED_RGBA_S3TC_DXT5_EXT",t[t.COMPRESSED_R11_EAC=37488]="COMPRESSED_R11_EAC",t[t.COMPRESSED_SIGNED_R11_EAC=37489]="COMPRESSED_SIGNED_R11_EAC",t[t.COMPRESSED_RG11_EAC=37490]="COMPRESSED_RG11_EAC",t[t.COMPRESSED_SIGNED_RG11_EAC=37491]="COMPRESSED_SIGNED_RG11_EAC",t[t.COMPRESSED_RGB8_ETC2=37492]="COMPRESSED_RGB8_ETC2",t[t.COMPRESSED_RGBA8_ETC2_EAC=37493]="COMPRESSED_RGBA8_ETC2_EAC",t[t.COMPRESSED_SRGB8_ETC2=37494]="COMPRESSED_SRGB8_ETC2",t[t.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC=37495]="COMPRESSED_SRGB8_ALPHA8_ETC2_EAC",t[t.COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2=37496]="COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2",t[t.COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2=37497]="COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2",t[t.COMPRESSED_RGB_PVRTC_4BPPV1_IMG=35840]="COMPRESSED_RGB_PVRTC_4BPPV1_IMG",t[t.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG=35842]="COMPRESSED_RGBA_PVRTC_4BPPV1_IMG",t[t.COMPRESSED_RGB_PVRTC_2BPPV1_IMG=35841]="COMPRESSED_RGB_PVRTC_2BPPV1_IMG",t[t.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG=35843]="COMPRESSED_RGBA_PVRTC_2BPPV1_IMG",t[t.COMPRESSED_RGB_ETC1_WEBGL=36196]="COMPRESSED_RGB_ETC1_WEBGL",t[t.COMPRESSED_RGB_ATC_WEBGL=35986]="COMPRESSED_RGB_ATC_WEBGL",t[t.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL=35986]="COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL",t[t.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL=34798]="COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL",t[t.UNSIGNED_INT_24_8_WEBGL=34042]="UNSIGNED_INT_24_8_WEBGL",t[t.HALF_FLOAT_OES=36193]="HALF_FLOAT_OES",t[t.RGBA32F_EXT=34836]="RGBA32F_EXT",t[t.RGB32F_EXT=34837]="RGB32F_EXT",t[t.FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT=33297]="FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT",t[t.UNSIGNED_NORMALIZED_EXT=35863]="UNSIGNED_NORMALIZED_EXT",t[t.MIN_EXT=32775]="MIN_EXT",t[t.MAX_EXT=32776]="MAX_EXT",t[t.SRGB_EXT=35904]="SRGB_EXT",t[t.SRGB_ALPHA_EXT=35906]="SRGB_ALPHA_EXT",t[t.SRGB8_ALPHA8_EXT=35907]="SRGB8_ALPHA8_EXT",t[t.FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT=33296]="FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT",t[t.FRAGMENT_SHADER_DERIVATIVE_HINT_OES=35723]="FRAGMENT_SHADER_DERIVATIVE_HINT_OES",t[t.COLOR_ATTACHMENT0_WEBGL=36064]="COLOR_ATTACHMENT0_WEBGL",t[t.COLOR_ATTACHMENT1_WEBGL=36065]="COLOR_ATTACHMENT1_WEBGL",t[t.COLOR_ATTACHMENT2_WEBGL=36066]="COLOR_ATTACHMENT2_WEBGL",t[t.COLOR_ATTACHMENT3_WEBGL=36067]="COLOR_ATTACHMENT3_WEBGL",t[t.COLOR_ATTACHMENT4_WEBGL=36068]="COLOR_ATTACHMENT4_WEBGL",t[t.COLOR_ATTACHMENT5_WEBGL=36069]="COLOR_ATTACHMENT5_WEBGL",t[t.COLOR_ATTACHMENT6_WEBGL=36070]="COLOR_ATTACHMENT6_WEBGL",t[t.COLOR_ATTACHMENT7_WEBGL=36071]="COLOR_ATTACHMENT7_WEBGL",t[t.COLOR_ATTACHMENT8_WEBGL=36072]="COLOR_ATTACHMENT8_WEBGL",t[t.COLOR_ATTACHMENT9_WEBGL=36073]="COLOR_ATTACHMENT9_WEBGL",t[t.COLOR_ATTACHMENT10_WEBGL=36074]="COLOR_ATTACHMENT10_WEBGL",t[t.COLOR_ATTACHMENT11_WEBGL=36075]="COLOR_ATTACHMENT11_WEBGL",t[t.COLOR_ATTACHMENT12_WEBGL=36076]="COLOR_ATTACHMENT12_WEBGL",t[t.COLOR_ATTACHMENT13_WEBGL=36077]="COLOR_ATTACHMENT13_WEBGL",t[t.COLOR_ATTACHMENT14_WEBGL=36078]="COLOR_ATTACHMENT14_WEBGL",t[t.COLOR_ATTACHMENT15_WEBGL=36079]="COLOR_ATTACHMENT15_WEBGL",t[t.DRAW_BUFFER0_WEBGL=34853]="DRAW_BUFFER0_WEBGL",t[t.DRAW_BUFFER1_WEBGL=34854]="DRAW_BUFFER1_WEBGL",t[t.DRAW_BUFFER2_WEBGL=34855]="DRAW_BUFFER2_WEBGL",t[t.DRAW_BUFFER3_WEBGL=34856]="DRAW_BUFFER3_WEBGL",t[t.DRAW_BUFFER4_WEBGL=34857]="DRAW_BUFFER4_WEBGL",t[t.DRAW_BUFFER5_WEBGL=34858]="DRAW_BUFFER5_WEBGL",t[t.DRAW_BUFFER6_WEBGL=34859]="DRAW_BUFFER6_WEBGL",t[t.DRAW_BUFFER7_WEBGL=34860]="DRAW_BUFFER7_WEBGL",t[t.DRAW_BUFFER8_WEBGL=34861]="DRAW_BUFFER8_WEBGL",t[t.DRAW_BUFFER9_WEBGL=34862]="DRAW_BUFFER9_WEBGL",t[t.DRAW_BUFFER10_WEBGL=34863]="DRAW_BUFFER10_WEBGL",t[t.DRAW_BUFFER11_WEBGL=34864]="DRAW_BUFFER11_WEBGL",t[t.DRAW_BUFFER12_WEBGL=34865]="DRAW_BUFFER12_WEBGL",t[t.DRAW_BUFFER13_WEBGL=34866]="DRAW_BUFFER13_WEBGL",t[t.DRAW_BUFFER14_WEBGL=34867]="DRAW_BUFFER14_WEBGL",t[t.DRAW_BUFFER15_WEBGL=34868]="DRAW_BUFFER15_WEBGL",t[t.MAX_COLOR_ATTACHMENTS_WEBGL=36063]="MAX_COLOR_ATTACHMENTS_WEBGL",t[t.MAX_DRAW_BUFFERS_WEBGL=34852]="MAX_DRAW_BUFFERS_WEBGL",t[t.VERTEX_ARRAY_BINDING_OES=34229]="VERTEX_ARRAY_BINDING_OES",t[t.QUERY_COUNTER_BITS_EXT=34916]="QUERY_COUNTER_BITS_EXT",t[t.CURRENT_QUERY_EXT=34917]="CURRENT_QUERY_EXT",t[t.QUERY_RESULT_EXT=34918]="QUERY_RESULT_EXT",t[t.QUERY_RESULT_AVAILABLE_EXT=34919]="QUERY_RESULT_AVAILABLE_EXT",t[t.TIME_ELAPSED_EXT=35007]="TIME_ELAPSED_EXT",t[t.TIMESTAMP_EXT=36392]="TIMESTAMP_EXT",t[t.GPU_DISJOINT_EXT=36795]="GPU_DISJOINT_EXT",e.ResourceType=void 0,(r=e.ResourceType||(e.ResourceType={}))[r.Buffer=0]="Buffer",r[r.Texture=1]="Texture",r[r.RenderTarget=2]="RenderTarget",r[r.Sampler=3]="Sampler",r[r.Program=4]="Program",r[r.Bindings=5]="Bindings",r[r.InputLayout=6]="InputLayout",r[r.RenderPipeline=7]="RenderPipeline",r[r.ComputePipeline=8]="ComputePipeline",r[r.Readback=9]="Readback",r[r.QueryPool=10]="QueryPool",r[r.RenderBundle=11]="RenderBundle",e.CompareFunction=void 0,(n=e.CompareFunction||(e.CompareFunction={}))[n.NEVER=512]="NEVER",n[n.LESS=513]="LESS",n[n.EQUAL=514]="EQUAL",n[n.LEQUAL=515]="LEQUAL",n[n.GREATER=516]="GREATER",n[n.NOTEQUAL=517]="NOTEQUAL",n[n.GEQUAL=518]="GEQUAL",n[n.ALWAYS=519]="ALWAYS",e.FrontFace=void 0,(o=e.FrontFace||(e.FrontFace={}))[o.CCW=2305]="CCW",o[o.CW=2304]="CW",e.CullMode=void 0,(a=e.CullMode||(e.CullMode={}))[a.NONE=0]="NONE",a[a.FRONT=1]="FRONT",a[a.BACK=2]="BACK",a[a.FRONT_AND_BACK=3]="FRONT_AND_BACK",e.BlendFactor=void 0,(i=e.BlendFactor||(e.BlendFactor={}))[i.ZERO=0]="ZERO",i[i.ONE=1]="ONE",i[i.SRC=768]="SRC",i[i.ONE_MINUS_SRC=769]="ONE_MINUS_SRC",i[i.DST=774]="DST",i[i.ONE_MINUS_DST=775]="ONE_MINUS_DST",i[i.SRC_ALPHA=770]="SRC_ALPHA",i[i.ONE_MINUS_SRC_ALPHA=771]="ONE_MINUS_SRC_ALPHA",i[i.DST_ALPHA=772]="DST_ALPHA",i[i.ONE_MINUS_DST_ALPHA=773]="ONE_MINUS_DST_ALPHA",i[i.CONST=32769]="CONST",i[i.ONE_MINUS_CONSTANT=32770]="ONE_MINUS_CONSTANT",i[i.SRC_ALPHA_SATURATE=776]="SRC_ALPHA_SATURATE",e.BlendMode=void 0,(s=e.BlendMode||(e.BlendMode={}))[s.ADD=32774]="ADD",s[s.SUBSTRACT=32778]="SUBSTRACT",s[s.REVERSE_SUBSTRACT=32779]="REVERSE_SUBSTRACT",s[s.MIN=32775]="MIN",s[s.MAX=32776]="MAX",e.AddressMode=void 0,(l=e.AddressMode||(e.AddressMode={}))[l.CLAMP_TO_EDGE=0]="CLAMP_TO_EDGE",l[l.REPEAT=1]="REPEAT",l[l.MIRRORED_REPEAT=2]="MIRRORED_REPEAT",e.FilterMode=void 0,(_=e.FilterMode||(e.FilterMode={}))[_.POINT=0]="POINT",_[_.BILINEAR=1]="BILINEAR",e.MipmapFilterMode=void 0,(u=e.MipmapFilterMode||(e.MipmapFilterMode={}))[u.NO_MIP=0]="NO_MIP",u[u.NEAREST=1]="NEAREST",u[u.LINEAR=2]="LINEAR",e.PrimitiveTopology=void 0,(E=e.PrimitiveTopology||(e.PrimitiveTopology={}))[E.POINTS=0]="POINTS",E[E.TRIANGLES=1]="TRIANGLES",E[E.TRIANGLE_STRIP=2]="TRIANGLE_STRIP",E[E.LINES=3]="LINES",E[E.LINE_STRIP=4]="LINE_STRIP",e.BufferUsage=void 0,(c=e.BufferUsage||(e.BufferUsage={}))[c.MAP_READ=1]="MAP_READ",c[c.MAP_WRITE=2]="MAP_WRITE",c[c.COPY_SRC=4]="COPY_SRC",c[c.COPY_DST=8]="COPY_DST",c[c.INDEX=16]="INDEX",c[c.VERTEX=32]="VERTEX",c[c.UNIFORM=64]="UNIFORM",c[c.STORAGE=128]="STORAGE",c[c.INDIRECT=256]="INDIRECT",c[c.QUERY_RESOLVE=512]="QUERY_RESOLVE",e.BufferFrequencyHint=void 0,(R=e.BufferFrequencyHint||(e.BufferFrequencyHint={}))[R.STATIC=1]="STATIC",R[R.DYNAMIC=2]="DYNAMIC",e.VertexStepMode=void 0,(T=e.VertexStepMode||(e.VertexStepMode={}))[T.VERTEX=1]="VERTEX",T[T.INSTANCE=2]="INSTANCE",e.TextureEvent=void 0,(e.TextureEvent||(e.TextureEvent={})).LOADED="loaded",e.TextureDimension=void 0,(p=e.TextureDimension||(e.TextureDimension={}))[p.TEXTURE_2D=0]="TEXTURE_2D",p[p.TEXTURE_2D_ARRAY=1]="TEXTURE_2D_ARRAY",p[p.TEXTURE_3D=2]="TEXTURE_3D",p[p.TEXTURE_CUBE_MAP=3]="TEXTURE_CUBE_MAP",e.TextureUsage=void 0,(A=e.TextureUsage||(e.TextureUsage={}))[A.SAMPLED=1]="SAMPLED",A[A.RENDER_TARGET=2]="RENDER_TARGET",A[A.STORAGE=4]="STORAGE",e.ChannelWriteMask=void 0,(d=e.ChannelWriteMask||(e.ChannelWriteMask={}))[d.NONE=0]="NONE",d[d.RED=1]="RED",d[d.GREEN=2]="GREEN",d[d.BLUE=4]="BLUE",d[d.ALPHA=8]="ALPHA",d[d.RGB=7]="RGB",d[d.ALL=15]="ALL",e.StencilOp=void 0,(F=e.StencilOp||(e.StencilOp={}))[F.KEEP=7680]="KEEP",F[F.ZERO=0]="ZERO",F[F.REPLACE=7681]="REPLACE",F[F.INVERT=5386]="INVERT",F[F.INCREMENT_CLAMP=7682]="INCREMENT_CLAMP",F[F.DECREMENT_CLAMP=7683]="DECREMENT_CLAMP",F[F.INCREMENT_WRAP=34055]="INCREMENT_WRAP",F[F.DECREMENT_WRAP=34056]="DECREMENT_WRAP",e.SamplerFormatKind=void 0,(f=e.SamplerFormatKind||(e.SamplerFormatKind={}))[f.Float=0]="Float",f[f.UnfilterableFloat=1]="UnfilterableFloat",f[f.Uint=2]="Uint",f[f.Sint=3]="Sint",f[f.Depth=4]="Depth",e.ViewportOrigin=void 0,(m=e.ViewportOrigin||(e.ViewportOrigin={}))[m.LOWER_LEFT=0]="LOWER_LEFT",m[m.UPPER_LEFT=1]="UPPER_LEFT",e.ClipSpaceNearZ=void 0,(h=e.ClipSpaceNearZ||(e.ClipSpaceNearZ={}))[h.NEGATIVE_ONE=0]="NEGATIVE_ONE",h[h.ZERO=1]="ZERO",e.QueryPoolType=void 0,(S=e.QueryPoolType||(e.QueryPoolType={}))[S.OcclusionConservative=0]="OcclusionConservative",e.FormatTypeFlags=void 0,(g=e.FormatTypeFlags||(e.FormatTypeFlags={}))[g.U8=1]="U8",g[g.U16=2]="U16",g[g.U32=3]="U32",g[g.S8=4]="S8",g[g.S16=5]="S16",g[g.S32=6]="S32",g[g.F16=7]="F16",g[g.F32=8]="F32",g[g.BC1=65]="BC1",g[g.BC2=66]="BC2",g[g.BC3=67]="BC3",g[g.BC4_UNORM=68]="BC4_UNORM",g[g.BC4_SNORM=69]="BC4_SNORM",g[g.BC5_UNORM=70]="BC5_UNORM",g[g.BC5_SNORM=71]="BC5_SNORM",g[g.U16_PACKED_5551=97]="U16_PACKED_5551",g[g.U16_PACKED_565=98]="U16_PACKED_565",g[g.D24=129]="D24",g[g.D32F=130]="D32F",g[g.D24S8=131]="D24S8",g[g.D32FS8=132]="D32FS8",e.FormatCompFlags=void 0,(B=e.FormatCompFlags||(e.FormatCompFlags={}))[B.R=1]="R",B[B.RG=2]="RG",B[B.RGB=3]="RGB",B[B.RGBA=4]="RGBA",B[B.A=5]="A",e.FormatFlags=void 0,(N=e.FormatFlags||(e.FormatFlags={}))[N.None=0]="None",N[N.Normalized=1]="Normalized",N[N.sRGB=2]="sRGB",N[N.Depth=4]="Depth",N[N.Stencil=8]="Stencil",N[N.RenderTarget=16]="RenderTarget",N[N.Luminance=32]="Luminance",e.Format=void 0,(C=e.Format||(e.Format={}))[C.ALPHA=O(e.FormatTypeFlags.U8,e.FormatCompFlags.A,e.FormatFlags.None)]="ALPHA",C[C.U8_LUMINANCE=O(e.FormatTypeFlags.U8,e.FormatCompFlags.A,e.FormatFlags.Luminance)]="U8_LUMINANCE",C[C.F16_LUMINANCE=O(e.FormatTypeFlags.F16,e.FormatCompFlags.A,e.FormatFlags.Luminance)]="F16_LUMINANCE",C[C.F32_LUMINANCE=O(e.FormatTypeFlags.F32,e.FormatCompFlags.A,e.FormatFlags.Luminance)]="F32_LUMINANCE",C[C.F16_R=O(e.FormatTypeFlags.F16,e.FormatCompFlags.R,e.FormatFlags.None)]="F16_R",C[C.F16_RG=O(e.FormatTypeFlags.F16,e.FormatCompFlags.RG,e.FormatFlags.None)]="F16_RG",C[C.F16_RGB=O(e.FormatTypeFlags.F16,e.FormatCompFlags.RGB,e.FormatFlags.None)]="F16_RGB",C[C.F16_RGBA=O(e.FormatTypeFlags.F16,e.FormatCompFlags.RGBA,e.FormatFlags.None)]="F16_RGBA",C[C.F32_R=O(e.FormatTypeFlags.F32,e.FormatCompFlags.R,e.FormatFlags.None)]="F32_R",C[C.F32_RG=O(e.FormatTypeFlags.F32,e.FormatCompFlags.RG,e.FormatFlags.None)]="F32_RG",C[C.F32_RGB=O(e.FormatTypeFlags.F32,e.FormatCompFlags.RGB,e.FormatFlags.None)]="F32_RGB",C[C.F32_RGBA=O(e.FormatTypeFlags.F32,e.FormatCompFlags.RGBA,e.FormatFlags.None)]="F32_RGBA",C[C.U8_R=O(e.FormatTypeFlags.U8,e.FormatCompFlags.R,e.FormatFlags.None)]="U8_R",C[C.U8_R_NORM=O(e.FormatTypeFlags.U8,e.FormatCompFlags.R,e.FormatFlags.Normalized)]="U8_R_NORM",C[C.U8_RG=O(e.FormatTypeFlags.U8,e.FormatCompFlags.RG,e.FormatFlags.None)]="U8_RG",C[C.U8_RG_NORM=O(e.FormatTypeFlags.U8,e.FormatCompFlags.RG,e.FormatFlags.Normalized)]="U8_RG_NORM",C[C.U8_RGB=O(e.FormatTypeFlags.U8,e.FormatCompFlags.RGB,e.FormatFlags.None)]="U8_RGB",C[C.U8_RGB_NORM=O(e.FormatTypeFlags.U8,e.FormatCompFlags.RGB,e.FormatFlags.Normalized)]="U8_RGB_NORM",C[C.U8_RGB_SRGB=O(e.FormatTypeFlags.U8,e.FormatCompFlags.RGB,e.FormatFlags.sRGB|e.FormatFlags.Normalized)]="U8_RGB_SRGB",C[C.U8_RGBA=O(e.FormatTypeFlags.U8,e.FormatCompFlags.RGBA,e.FormatFlags.None)]="U8_RGBA",C[C.U8_RGBA_NORM=O(e.FormatTypeFlags.U8,e.FormatCompFlags.RGBA,e.FormatFlags.Normalized)]="U8_RGBA_NORM",C[C.U8_RGBA_SRGB=O(e.FormatTypeFlags.U8,e.FormatCompFlags.RGBA,e.FormatFlags.sRGB|e.FormatFlags.Normalized)]="U8_RGBA_SRGB",C[C.U16_R=O(e.FormatTypeFlags.U16,e.FormatCompFlags.R,e.FormatFlags.None)]="U16_R",C[C.U16_R_NORM=O(e.FormatTypeFlags.U16,e.FormatCompFlags.R,e.FormatFlags.Normalized)]="U16_R_NORM",C[C.U16_RG_NORM=O(e.FormatTypeFlags.U16,e.FormatCompFlags.RG,e.FormatFlags.Normalized)]="U16_RG_NORM",C[C.U16_RGBA_NORM=O(e.FormatTypeFlags.U16,e.FormatCompFlags.RGBA,e.FormatFlags.Normalized)]="U16_RGBA_NORM",C[C.U16_RGBA=O(e.FormatTypeFlags.U16,e.FormatCompFlags.RGBA,e.FormatFlags.None)]="U16_RGBA",C[C.U16_RGB=O(e.FormatTypeFlags.U16,e.FormatCompFlags.RGB,e.FormatFlags.None)]="U16_RGB",C[C.U16_RG=O(e.FormatTypeFlags.U16,e.FormatCompFlags.RG,e.FormatFlags.None)]="U16_RG",C[C.U32_R=O(e.FormatTypeFlags.U32,e.FormatCompFlags.R,e.FormatFlags.None)]="U32_R",C[C.U32_RG=O(e.FormatTypeFlags.U32,e.FormatCompFlags.RG,e.FormatFlags.None)]="U32_RG",C[C.U32_RGB=O(e.FormatTypeFlags.U32,e.FormatCompFlags.RGB,e.FormatFlags.None)]="U32_RGB",C[C.U32_RGBA=O(e.FormatTypeFlags.U32,e.FormatCompFlags.RGBA,e.FormatFlags.None)]="U32_RGBA",C[C.S8_R=O(e.FormatTypeFlags.S8,e.FormatCompFlags.R,e.FormatFlags.None)]="S8_R",C[C.S8_R_NORM=O(e.FormatTypeFlags.S8,e.FormatCompFlags.R,e.FormatFlags.Normalized)]="S8_R_NORM",C[C.S8_RG_NORM=O(e.FormatTypeFlags.S8,e.FormatCompFlags.RG,e.FormatFlags.Normalized)]="S8_RG_NORM",C[C.S8_RGB_NORM=O(e.FormatTypeFlags.S8,e.FormatCompFlags.RGB,e.FormatFlags.Normalized)]="S8_RGB_NORM",C[C.S8_RGBA_NORM=O(e.FormatTypeFlags.S8,e.FormatCompFlags.RGBA,e.FormatFlags.Normalized)]="S8_RGBA_NORM",C[C.S16_R=O(e.FormatTypeFlags.S16,e.FormatCompFlags.R,e.FormatFlags.None)]="S16_R",C[C.S16_RG=O(e.FormatTypeFlags.S16,e.FormatCompFlags.RG,e.FormatFlags.None)]="S16_RG",C[C.S16_RG_NORM=O(e.FormatTypeFlags.S16,e.FormatCompFlags.RG,e.FormatFlags.Normalized)]="S16_RG_NORM",C[C.S16_RGB_NORM=O(e.FormatTypeFlags.S16,e.FormatCompFlags.RGB,e.FormatFlags.Normalized)]="S16_RGB_NORM",C[C.S16_RGBA=O(e.FormatTypeFlags.S16,e.FormatCompFlags.RGBA,e.FormatFlags.None)]="S16_RGBA",C[C.S16_RGBA_NORM=O(e.FormatTypeFlags.S16,e.FormatCompFlags.RGBA,e.FormatFlags.Normalized)]="S16_RGBA_NORM",C[C.S32_R=O(e.FormatTypeFlags.S32,e.FormatCompFlags.R,e.FormatFlags.None)]="S32_R",C[C.S32_RG=O(e.FormatTypeFlags.S32,e.FormatCompFlags.RG,e.FormatFlags.None)]="S32_RG",C[C.S32_RGB=O(e.FormatTypeFlags.S32,e.FormatCompFlags.RGB,e.FormatFlags.None)]="S32_RGB",C[C.S32_RGBA=O(e.FormatTypeFlags.S32,e.FormatCompFlags.RGBA,e.FormatFlags.None)]="S32_RGBA",C[C.U16_RGBA_5551=O(e.FormatTypeFlags.U16_PACKED_5551,e.FormatCompFlags.RGBA,e.FormatFlags.Normalized)]="U16_RGBA_5551",C[C.U16_RGB_565=O(e.FormatTypeFlags.U16_PACKED_565,e.FormatCompFlags.RGB,e.FormatFlags.Normalized)]="U16_RGB_565",C[C.BC1=O(e.FormatTypeFlags.BC1,e.FormatCompFlags.RGBA,e.FormatFlags.Normalized)]="BC1",C[C.BC1_SRGB=O(e.FormatTypeFlags.BC1,e.FormatCompFlags.RGBA,e.FormatFlags.Normalized|e.FormatFlags.sRGB)]="BC1_SRGB",C[C.BC2=O(e.FormatTypeFlags.BC2,e.FormatCompFlags.RGBA,e.FormatFlags.Normalized)]="BC2",C[C.BC2_SRGB=O(e.FormatTypeFlags.BC2,e.FormatCompFlags.RGBA,e.FormatFlags.Normalized|e.FormatFlags.sRGB)]="BC2_SRGB",C[C.BC3=O(e.FormatTypeFlags.BC3,e.FormatCompFlags.RGBA,e.FormatFlags.Normalized)]="BC3",C[C.BC3_SRGB=O(e.FormatTypeFlags.BC3,e.FormatCompFlags.RGBA,e.FormatFlags.Normalized|e.FormatFlags.sRGB)]="BC3_SRGB",C[C.BC4_UNORM=O(e.FormatTypeFlags.BC4_UNORM,e.FormatCompFlags.R,e.FormatFlags.Normalized)]="BC4_UNORM",C[C.BC4_SNORM=O(e.FormatTypeFlags.BC4_SNORM,e.FormatCompFlags.R,e.FormatFlags.Normalized)]="BC4_SNORM",C[C.BC5_UNORM=O(e.FormatTypeFlags.BC5_UNORM,e.FormatCompFlags.RG,e.FormatFlags.Normalized)]="BC5_UNORM",C[C.BC5_SNORM=O(e.FormatTypeFlags.BC5_SNORM,e.FormatCompFlags.RG,e.FormatFlags.Normalized)]="BC5_SNORM",C[C.D24=O(e.FormatTypeFlags.D24,e.FormatCompFlags.R,e.FormatFlags.Depth)]="D24",C[C.D24_S8=O(e.FormatTypeFlags.D24S8,e.FormatCompFlags.RG,e.FormatFlags.Depth|e.FormatFlags.Stencil)]="D24_S8",C[C.D32F=O(e.FormatTypeFlags.D32F,e.FormatCompFlags.R,e.FormatFlags.Depth)]="D32F",C[C.D32F_S8=O(e.FormatTypeFlags.D32FS8,e.FormatCompFlags.RG,e.FormatFlags.Depth|e.FormatFlags.Stencil)]="D32F_S8",C[C.U8_RGB_RT=O(e.FormatTypeFlags.U8,e.FormatCompFlags.RGB,e.FormatFlags.RenderTarget|e.FormatFlags.Normalized)]="U8_RGB_RT",C[C.U8_RGBA_RT=O(e.FormatTypeFlags.U8,e.FormatCompFlags.RGBA,e.FormatFlags.RenderTarget|e.FormatFlags.Normalized)]="U8_RGBA_RT",C[C.U8_RGBA_RT_SRGB=O(e.FormatTypeFlags.U8,e.FormatCompFlags.RGBA,e.FormatFlags.RenderTarget|e.FormatFlags.Normalized|e.FormatFlags.sRGB)]="U8_RGBA_RT_SRGB";var H=W(0,0,0,0),V=W(0,0,0,1),k=W(1,1,1,0),Y=W(1,1,1,1),K=!0;function q(t,r){if(void 0===r&&(r=K),!r)return t;switch(t){case e.CompareFunction.LESS:return e.CompareFunction.GREATER;case e.CompareFunction.LEQUAL:return e.CompareFunction.GEQUAL;case e.CompareFunction.GEQUAL:return e.CompareFunction.LEQUAL;case e.CompareFunction.GREATER:return e.CompareFunction.LESS;default:return t}}function z(e){return!(!e||0!=(e&e-1))}function Z(e,t){return null!=e?e:t}function Q(e){return void 0===e?null:e}function j(e,t){var r=t-1;return e+r&~r}function $(e,t,r){for(var n=0,o=e.length;o>n;){var a=n+(o-n>>>1);0>r(t,e[a])?o=a:n=a+1}return n}function J(e,t){for(var r=Array(e),n=0;e>n;n++)r[n]=t();return r}function ee(e,t){return void 0===t&&(t=1),e.split("\n").map((function(e,r){return"".concat(te(""+(t+r),4," ")," ").concat(e)})).join("\n")}function te(e,t,r){for(void 0===r&&(r="0");t>e.length;)e="".concat(r).concat(e);return e}function re(e,t){e.blendDstFactor=t.blendDstFactor,e.blendSrcFactor=t.blendSrcFactor,e.blendMode=t.blendMode}function ne(e,t){return void 0===e&&(e={}),e.compare=t.compare,e.depthFailOp=t.depthFailOp,e.passOp=t.passOp,e.failOp=t.failOp,e.mask=t.mask,e}function oe(e,t){return void 0===e&&(e={rgbBlendState:{},alphaBlendState:{},channelWriteMask:0}),re(e.rgbBlendState,t.rgbBlendState),re(e.alphaBlendState,t.alphaBlendState),e.channelWriteMask=t.channelWriteMask,e}function ae(e,t){e.length!==t.length&&(e.length=t.length);for(var r=0;t.length>r;r++)e[r]=oe(e[r],t[r])}function ie(e,t){void 0!==t.attachmentsState&&ae(e.attachmentsState,t.attachmentsState),e.blendConstant&&t.blendConstant&&X(e.blendConstant,t.blendConstant),e.depthCompare=Z(t.depthCompare,e.depthCompare),e.depthWrite=Z(t.depthWrite,e.depthWrite),e.stencilWrite=Z(t.stencilWrite,e.stencilWrite),e.stencilFront&&t.stencilFront&&ne(e.stencilFront,t.stencilFront),e.stencilBack&&t.stencilBack&&ne(e.stencilBack,t.stencilBack),e.cullMode=Z(t.cullMode,e.cullMode),e.frontFace=Z(t.frontFace,e.frontFace),e.polygonOffset=Z(t.polygonOffset,e.polygonOffset),e.polygonOffsetFactor=Z(t.polygonOffsetFactor,e.polygonOffsetFactor),e.polygonOffsetUnits=Z(t.polygonOffsetUnits,e.polygonOffsetUnits)}function se(e){var t=Object.assign({},e);return t.attachmentsState=[],ae(t.attachmentsState,e.attachmentsState),t.blendConstant=t.blendConstant&&w(t.blendConstant),t.stencilFront=ne(void 0,e.stencilFront),t.stencilBack=ne(void 0,e.stencilBack),t}function le(e,t){void 0!==t.channelWriteMask&&(e.channelWriteMask=t.channelWriteMask),void 0!==t.rgbBlendMode&&(e.rgbBlendState.blendMode=t.rgbBlendMode),void 0!==t.alphaBlendMode&&(e.alphaBlendState.blendMode=t.alphaBlendMode),void 0!==t.rgbBlendSrcFactor&&(e.rgbBlendState.blendSrcFactor=t.rgbBlendSrcFactor),void 0!==t.alphaBlendSrcFactor&&(e.alphaBlendState.blendSrcFactor=t.alphaBlendSrcFactor),void 0!==t.rgbBlendDstFactor&&(e.rgbBlendState.blendDstFactor=t.rgbBlendDstFactor),void 0!==t.alphaBlendDstFactor&&(e.alphaBlendState.blendDstFactor=t.alphaBlendDstFactor)}var _e={blendMode:e.BlendMode.ADD,blendSrcFactor:e.BlendFactor.ONE,blendDstFactor:e.BlendFactor.ZERO},ue={attachmentsState:[{channelWriteMask:e.ChannelWriteMask.ALL,rgbBlendState:_e,alphaBlendState:_e}],blendConstant:w(H),depthWrite:!0,depthCompare:e.CompareFunction.LEQUAL,stencilWrite:!1,stencilFront:{compare:e.CompareFunction.ALWAYS,passOp:e.StencilOp.KEEP,depthFailOp:e.StencilOp.KEEP,failOp:e.StencilOp.KEEP},stencilBack:{compare:e.CompareFunction.ALWAYS,passOp:e.StencilOp.KEEP,depthFailOp:e.StencilOp.KEEP,failOp:e.StencilOp.KEEP},cullMode:e.CullMode.NONE,frontFace:e.FrontFace.CCW,polygonOffset:!1,polygonOffsetFactor:0,polygonOffsetUnits:0};function Ee(e,t){void 0===e&&(e=null),void 0===t&&(t=ue);var r=se(t);return null!==e&&ie(r,e),r}var ce=Ee({depthCompare:e.CompareFunction.ALWAYS,depthWrite:!1},ue);var Re={texture:null,sampler:null,formatKind:e.SamplerFormatKind.Float,dimension:e.TextureDimension.TEXTURE_2D},Te=function(e,t){return Te=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},Te(e,t)};function pe(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+t+" is not a constructor or null");function r(){this.constructor=e}Te(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var Ae=function(){return Ae=Object.assign||function(e){for(var t,r=1,n=arguments.length;n>r;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ae.apply(this,arguments)};function de(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,s)}l((n=n.apply(e,t||[])).next())}))}function Fe(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return i.label++,{value:s[1],done:!1};case 5:i.label++,n=s[1],s=[0];continue;case 7:s=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){i=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&o[3]>s[1])){i.label=s[1];break}if(6===s[0]&&o[1]>i.label){i.label=o[1],o=s;break}if(o&&o[2]>i.label){i.label=o[2],i.ops.push(s);break}o[2]&&i.ops.pop(),i.trys.pop();continue}s=t.call(e,i)}catch(e){s=[6,e],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}function fe(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function me(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function he(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;a>o;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}var Se,ge=function(e){return null==e},Be={}.toString,Ne=function(e,t){return Be.call(e)==="[object "+t+"]"},Ce=function(e,t,r){return t>e?t:e>r?r:e},Le=function(e){return Ne(e,"Number")};function Oe(e,t,r){if(e.length!==t.length)return!1;for(var n=0;e.length>n;n++)if(!r(e[n],t[n]))return!1;return!0}function Me(e,t){for(var r=Array(e.length),n=0;e.length>n;n++)r[n]=t(e[n]);return r}function Ie(e,t){return e.texture===t.texture&&e.binding===t.binding}function Ue(e,t){return e.buffer===t.buffer&&e.size===t.size&&e.binding===t.binding&&e.offset===t.offset}function De(e,t){return null===e?null===t:null!==t&&(e.sampler===t.sampler&&e.texture===t.texture&&e.dimension===t.dimension&&e.formatKind===t.formatKind&&e.comparison===t.comparison)}function Ge(e,t){return e.blendMode==t.blendMode&&e.blendSrcFactor===t.blendSrcFactor&&e.blendDstFactor===t.blendDstFactor}function Pe(e,t){return!!Ge(e.rgbBlendState,t.rgbBlendState)&&(!!Ge(e.alphaBlendState,t.alphaBlendState)&&e.channelWriteMask===t.channelWriteMask)}function ve(e,t){return e.compare==t.compare&&e.depthFailOp===t.depthFailOp&&e.failOp===t.failOp&&e.passOp===t.passOp&&e.mask===t.mask}function ye(e,t){return e.id===t.id}function be(e,t){return e===t}function xe(e,t){return e.offset===t.offset&&e.shaderLocation===t.shaderLocation&&e.format===t.format&&e.divisor===t.divisor}function Xe(e,t){return ge(e)?ge(t):!ge(t)&&(e.arrayStride===t.arrayStride&&e.stepMode===t.stepMode&&Oe(e.attributes,t.attributes,xe))}function we(e){return{sampler:e.sampler,texture:e.texture,dimension:e.dimension,formatKind:e.formatKind,comparison:e.comparison}}function We(e){return{binding:e.binding,buffer:e.buffer,offset:e.offset,size:e.size}}function He(e){return{binding:e.binding,texture:e.texture}}function Ve(e){return{shaderLocation:e.shaderLocation,format:e.format,offset:e.offset,divisor:e.divisor}}function ke(e){return ge(e)?e:{arrayStride:e.arrayStride,stepMode:e.stepMode,attributes:Me(e.attributes,Ve)}}var Ye=/([^[]*)(\[[0-9]+\])?/;function Ke(e){if("]"!==e[e.length-1])return{name:e,length:1,isArray:!1};var t=e.match(Ye);if(!t||2>t.length)throw Error("Failed to parse GLSL uniform name ".concat(e));return{name:t[1],length:Number(t[2])||1,isArray:!!t[2]}}function qe(){var e=null;return function(t,r,n){var o=e!==n;return o&&(t.uniform1i(r,n),e=n),o}}function ze(e,t,r,n){var o=null,a=null;return function(i,s,l){var _=t(l,r),u=_.length,E=!1;if(null===o)o=new Float32Array(u),a=u,E=!0;else{y(a===u,"Uniform length cannot change.");for(var c=0;u>c;++c)if(_[c]!==o[c]){E=!0;break}}return E&&(n(i,e,s,_),o.set(_)),E}}function Ze(e,t,r,n){e[t](r,n)}function Qe(e,t,r,n){e[t](r,!1,n)}var je={},$e={},Je={},et=[0];function tt(e,t,r,n){1===t&&"boolean"==typeof e&&(e=e?1:0),Number.isFinite(e)&&(et[0]=e,e=et);var o=e.length;if(e instanceof r)return e;var a=n[o];a||(a=new r(o),n[o]=a);for(var i=0;o>i;i++)a[i]=e[i];return a}function rt(e,t){return tt(e,t,Float32Array,je)}function nt(e,t){return tt(e,t,Int32Array,$e)}function ot(e,t){return tt(e,t,Uint32Array,Je)}var at=((Se={})[e.GL.FLOAT]=ze.bind(null,"uniform1fv",rt,1,Ze),Se[e.GL.FLOAT_VEC2]=ze.bind(null,"uniform2fv",rt,2,Ze),Se[e.GL.FLOAT_VEC3]=ze.bind(null,"uniform3fv",rt,3,Ze),Se[e.GL.FLOAT_VEC4]=ze.bind(null,"uniform4fv",rt,4,Ze),Se[e.GL.INT]=ze.bind(null,"uniform1iv",nt,1,Ze),Se[e.GL.INT_VEC2]=ze.bind(null,"uniform2iv",nt,2,Ze),Se[e.GL.INT_VEC3]=ze.bind(null,"uniform3iv",nt,3,Ze),Se[e.GL.INT_VEC4]=ze.bind(null,"uniform4iv",nt,4,Ze),Se[e.GL.BOOL]=ze.bind(null,"uniform1iv",nt,1,Ze),Se[e.GL.BOOL_VEC2]=ze.bind(null,"uniform2iv",nt,2,Ze),Se[e.GL.BOOL_VEC3]=ze.bind(null,"uniform3iv",nt,3,Ze),Se[e.GL.BOOL_VEC4]=ze.bind(null,"uniform4iv",nt,4,Ze),Se[e.GL.FLOAT_MAT2]=ze.bind(null,"uniformMatrix2fv",rt,4,Qe),Se[e.GL.FLOAT_MAT3]=ze.bind(null,"uniformMatrix3fv",rt,9,Qe),Se[e.GL.FLOAT_MAT4]=ze.bind(null,"uniformMatrix4fv",rt,16,Qe),Se[e.GL.UNSIGNED_INT]=ze.bind(null,"uniform1uiv",ot,1,Ze),Se[e.GL.UNSIGNED_INT_VEC2]=ze.bind(null,"uniform2uiv",ot,2,Ze),Se[e.GL.UNSIGNED_INT_VEC3]=ze.bind(null,"uniform3uiv",ot,3,Ze),Se[e.GL.UNSIGNED_INT_VEC4]=ze.bind(null,"uniform4uiv",ot,4,Ze),Se[e.GL.FLOAT_MAT2x3]=ze.bind(null,"uniformMatrix2x3fv",rt,6,Qe),Se[e.GL.FLOAT_MAT2x4]=ze.bind(null,"uniformMatrix2x4fv",rt,8,Qe),Se[e.GL.FLOAT_MAT3x2]=ze.bind(null,"uniformMatrix3x2fv",rt,6,Qe),Se[e.GL.FLOAT_MAT3x4]=ze.bind(null,"uniformMatrix3x4fv",rt,12,Qe),Se[e.GL.FLOAT_MAT4x2]=ze.bind(null,"uniformMatrix4x2fv",rt,8,Qe),Se[e.GL.FLOAT_MAT4x3]=ze.bind(null,"uniformMatrix4x3fv",rt,12,Qe),Se[e.GL.SAMPLER_2D]=qe,Se[e.GL.SAMPLER_CUBE]=qe,Se[e.GL.SAMPLER_3D]=qe,Se[e.GL.SAMPLER_2D_SHADOW]=qe,Se[e.GL.SAMPLER_2D_ARRAY]=qe,Se[e.GL.SAMPLER_2D_ARRAY_SHADOW]=qe,Se[e.GL.SAMPLER_CUBE_SHADOW]=qe,Se[e.GL.INT_SAMPLER_2D]=qe,Se[e.GL.INT_SAMPLER_3D]=qe,Se[e.GL.INT_SAMPLER_CUBE]=qe,Se[e.GL.INT_SAMPLER_2D_ARRAY]=qe,Se[e.GL.UNSIGNED_INT_SAMPLER_2D]=qe,Se[e.GL.UNSIGNED_INT_SAMPLER_3D]=qe,Se[e.GL.UNSIGNED_INT_SAMPLER_CUBE]=qe,Se[e.GL.UNSIGNED_INT_SAMPLER_2D_ARRAY]=qe,Se);function it(e,t,r){var n=at[r.type];if(!n)throw Error("Unknown GLSL uniform type ".concat(r.type));return n().bind(null,e,t)}var st={"[object Int8Array]":5120,"[object Int16Array]":5122,"[object Int32Array]":5124,"[object Uint8Array]":5121,"[object Uint8ClampedArray]":5121,"[object Uint16Array]":5123,"[object Uint32Array]":5125,"[object Float32Array]":5126,"[object Float64Array]":5121,"[object ArrayBuffer]":5121};function lt(e){return Object.prototype.toString.call(e)in st}function _t(e,t){return"#define ".concat(e," ").concat(t)}function ut(e){var t={};return e.replace(/^\s*#define\s*(\S*)\s*(\S*)\s*$/gm,(function(e,r,n){var o=Number(n);return t[r]=isNaN(o)?n:o,""})),t}function Et(e,t){var r=[];return e.replace(/^\s*layout\(location\s*=\s*(\S*)\)\s*in\s+\S+\s*(.*);$/gm,(function(e,n,o){var a=Number(n);return r.push({location:isNaN(a)?t[n]:a,name:o}),""})),r}function ct(e){if(void 0===e)return null;var t=/binding\s*=\s*(\d+)/.exec(e);if(null!==t){var r=parseInt(t[1],10);if(!Number.isNaN(r))return r}return null}function Rt(e){return[e,""]}function Tt(t,r,n,o,a){var i;void 0===o&&(o=null),void 0===a&&(a=!0);var s="#version 100"===t.glslVersion,l="frag"===r&&(null===(i=n.match(/^\s*layout\(location\s*=\s*\d*\)\s*out\s+vec4\s*(.*);$/gm))||void 0===i?void 0:i.length)>1,_=n.replace("\r\n","\n").split("\n").map((function(e){return e.replace(/[/][/].*$/,"")})).filter((function(e){return!(!e||/^\s+$/.test(e))})),u="";null!==o&&(u=Object.keys(o).map((function(e){return _t(e,o[e])})).join("\n"));var E=_.find((function(e){return e.startsWith("precision")}))||"precision mediump float;",c=a?_.filter((function(e){return!e.startsWith("precision")})).join("\n"):_.join("\n"),R="";if(t.viewportOrigin===e.ViewportOrigin.UPPER_LEFT&&(R+="".concat(_t("VIEWPORT_ORIGIN_TL","1"),"\n")),t.clipSpaceNearZ===e.ClipSpaceNearZ.ZERO&&(R+="".concat(_t("CLIPSPACE_NEAR_ZERO","1"),"\n")),t.explicitBindingLocations){var T=0,p=0,A=0;c=c.replace(/^\s*(layout\((.*)\))?\s*uniform(.+{)$/gm,(function(e,t,r,n){return"layout(".concat(r?"".concat(r,", "):"","set = ").concat(T,", binding = ").concat(p++,") uniform ").concat(n)})),T++,p=0,y(t.separateSamplerTextures),c=c.replace(/^\s*(layout\((.*)\))?\s*uniform sampler(\w+) (.*);/gm,(function(e,t,n,o,a){var i=ct(n);null===i&&(i=p++);var s=me(Rt(o),2),l=s[0],_=s[1];return"frag"===r?"\nlayout(set = ".concat(T,", binding = ").concat(2*i+0,") uniform texture").concat(l," T_").concat(a,";\nlayout(set = ").concat(T,", binding = ").concat(2*i+1,") uniform sampler").concat(_," S_").concat(a,";").trim():""})),c=c.replace("frag"===r?/^\s*\b(varying|in)\b/gm:/^\s*\b(varying|out)\b/gm,(function(e,t){return"layout(location = ".concat(A++,") ").concat(t)})),R+="".concat(_t("gl_VertexID","gl_VertexIndex"),"\n"),R+="".concat(_t("gl_InstanceID","gl_InstanceIndex"),"\n"),E=E.replace(/^precision (.*) sampler(.*);$/gm,"")}else{var d=0;c=c.replace(/^\s*(layout\((.*)\))?\s*uniform sampler(\w+) (.*);/gm,(function(e,t,r,n,o){var a=ct(r);return null===a&&(a=d++),"uniform sampler".concat(n," ").concat(o,"; // BINDING=").concat(a)}))}if(c=(c=(c=c.replace(/\bPU_SAMPLER_(\w+)\((.*?)\)/g,(function(e,t,r){return"SAMPLER_".concat(t,"(P_").concat(r,")")}))).replace(/\bPF_SAMPLER_(\w+)\((.*?)\)/g,(function(e,t,r){return"PP_SAMPLER_".concat(t,"(P_").concat(r,")")}))).replace(/\bPU_TEXTURE\((.*?)\)/g,(function(e,t){return"TEXTURE(P_".concat(t,")")})),t.separateSamplerTextures)c=c.replace(/\bPD_SAMPLER_(\w+)\((.*?)\)/g,(function(e,t,r){var n=me(Rt(t),2),o=n[1];return"texture".concat(n[0]," T_P_").concat(r,", sampler").concat(o," S_P_").concat(r)})),c=(c=(c=c.replace(/\bPP_SAMPLER_(\w+)\((.*?)\)/g,(function(e,t,r){return"T_".concat(r,", S_").concat(r)}))).replace(/\bSAMPLER_(\w+)\((.*?)\)/g,(function(e,t,r){return"sampler".concat(t,"(T_").concat(r,", S_").concat(r,")")}))).replace(/\bTEXTURE\((.*?)\)/g,(function(e,t){return"T_".concat(t)}));else{var F=[];c=(c=(c=c.replace(/\bPD_SAMPLER_(\w+)\((.*?)\)/g,(function(e,t,r){return"sampler".concat(t," P_").concat(r)}))).replace(/\bPP_SAMPLER_(\w+)\((.*?)\)/g,(function(e,t,r){return r}))).replace(/\bSAMPLER_(\w+)\((.*?)\)/g,(function(e,t,r){return F.push([r,t]),r})),s&&F.forEach((function(e){var t=me(e,2),r=t[0],n=t[1];c=c.replace(RegExp("texture\\(".concat(r),"g"),(function(){return"texture".concat(n,"(").concat(r)}))})),c=c.replace(/\bTEXTURE\((.*?)\)/g,(function(e,t){return t}))}var f="".concat(s?"":t.glslVersion,"\n").concat(s&&l?"#extension GL_EXT_draw_buffers : require\n":"","\n").concat(s&&"frag"===r?"#extension GL_OES_standard_derivatives : enable\n":"").concat(a?E:"","\n").concat(R||"").concat(u?u+"\n":"","\n").concat(c,"\n").trim();if(t.explicitBindingLocations&&"frag"===r&&(f=f.replace(/^\b(out)\b/g,(function(e,t){return"layout(location = 0) ".concat(t)}))),s){if("frag"===r&&(f=f.replace(/^\s*in\s+(\S+)\s*(.*);$/gm,(function(e,t,r){return"varying ".concat(t," ").concat(r,";\n")}))),"vert"===r&&(f=(f=f.replace(/^\s*out\s+(\S+)\s*(.*);$/gm,(function(e,t,r){return"varying ".concat(t," ").concat(r,";\n")}))).replace(/^\s*layout\(location\s*=\s*\S*\)\s*in\s+(\S+)\s*(.*);$/gm,(function(e,t,r){return"attribute ".concat(t," ").concat(r,";\n")}))),f=f.replace(/\s*uniform\s*.*\s*{((?:\s*.*\s*)*?)};/g,(function(e,t){return t.trim().replace(/^.*$/gm,(function(e){var t=e.trim();return t.startsWith("#")?t:e?"uniform ".concat(t):""}))})),"frag"===r)if(l){var m=[],h=(f=f.replace(/^\s*layout\(location\s*=\s*\d*\)\s*out\s+vec4\s*(.*);$/gm,(function(e,t){return m.push(t),"vec4 ".concat(t,";\n")}))).lastIndexOf("}");f=f.substring(0,h)+"\n ".concat(m.map((function(e,t){return"gl_FragData[".concat(t,"] = ").concat(e,";\n ")})).join("\n"))+f.substring(h)}else{var S;if(f=f.replace(/^\s*out\s+(\S+)\s*(.*);$/gm,(function(e,t,r){return S=r,"".concat(t," ").concat(r,";\n")})),S){h=f.lastIndexOf("}");f=f.substring(0,h)+"\n gl_FragColor = vec4(".concat(S,");\n")+f.substring(h)}}f=f.replace(/^\s*layout\((.*)\)/gm,"")}return f}function pt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var At={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,r="~";function n(){}function o(e,t,r){this.fn=e,this.context=t,this.once=r||!1}function a(e,t,n,a,i){if("function"!=typeof n)throw new TypeError("The listener must be a function");var s=new o(n,a||e,i),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function i(e,t){0==--e._eventsCount?e._events=new n:delete e._events[t]}function s(){this._events=new n,this._eventsCount=0}Object.create&&(n.prototype=Object.create(null),(new n).__proto__||(r=!1)),s.prototype.eventNames=function(){var e,n,o=[];if(0===this._eventsCount)return o;for(n in e=this._events)t.call(e,n)&&o.push(r?n.slice(1):n);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},s.prototype.listeners=function(e){var t=this._events[r?r+e:e];if(!t)return[];if(t.fn)return[t.fn];for(var n=0,o=t.length,a=Array(o);o>n;n++)a[n]=t[n].fn;return a},s.prototype.listenerCount=function(e){var t=this._events[r?r+e:e];return t?t.fn?1:t.length:0},s.prototype.emit=function(e,t,n,o,a,i){var s=r?r+e:e;if(!this._events[s])return!1;var l,_,u=this._events[s],E=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),E){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,o),!0;case 5:return u.fn.call(u.context,t,n,o,a),!0;case 6:return u.fn.call(u.context,t,n,o,a,i),!0}for(_=1,l=Array(E-1);E>_;_++)l[_-1]=arguments[_];u.fn.apply(u.context,l)}else{var c,R=u.length;for(_=0;R>_;_++)switch(u[_].once&&this.removeListener(e,u[_].fn,void 0,!0),E){case 1:u[_].fn.call(u[_].context);break;case 2:u[_].fn.call(u[_].context,t);break;case 3:u[_].fn.call(u[_].context,t,n);break;case 4:u[_].fn.call(u[_].context,t,n,o);break;default:if(!l)for(c=1,l=Array(E-1);E>c;c++)l[c-1]=arguments[c];u[_].fn.apply(u[_].context,l)}}return!0},s.prototype.on=function(e,t,r){return a(this,e,t,r,!1)},s.prototype.once=function(e,t,r){return a(this,e,t,r,!0)},s.prototype.removeListener=function(e,t,n,o){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return i(this,a),this;var s=this._events[a];if(s.fn)s.fn!==t||o&&!s.once||n&&s.context!==n||i(this,a);else{for(var l=0,_=[],u=s.length;u>l;l++)(s[l].fn!==t||o&&!s[l].once||n&&s[l].context!==n)&&_.push(s[l]);_.length?this._events[a]=1===_.length?_[0]:_:i(this,a)}return this},s.prototype.removeAllListeners=function(e){var t;return e?this._events[t=r?r+e:e]&&i(this,t):(this._events=new n,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=r,s.EventEmitter=s,e.exports=s}(At);var dt=pt(At.exports),Ft=function(e){function t(t){var r=t.id,n=t.device,o=e.call(this)||this;return o.id=r,o.device=n,null!==o.device.resourceCreationTracker&&o.device.resourceCreationTracker.trackResourceCreated(o),o}return pe(t,e),t.prototype.destroy=function(){null!==this.device.resourceCreationTracker&&this.device.resourceCreationTracker.trackResourceDestroyed(this)},t}(dt),ft=function(t){function r(r){var n=r.descriptor,o=t.call(this,{id:r.id,device:r.device})||this;o.type=e.ResourceType.Bindings;var a=n.samplerBindings;return o.uniformBufferBindings=n.uniformBufferBindings||[],o.samplerBindings=a||[],o.bindingLayouts=o.createBindingLayouts(),o}return pe(r,t),r.prototype.createBindingLayouts=function(){var e=0,t=0,r=[],n=this.uniformBufferBindings.length,o=this.samplerBindings.length;return r.push({firstUniformBuffer:e,numUniformBuffers:n,firstSampler:t,numSamplers:o}),{numUniformBuffers:e+=n,numSamplers:t+=o,bindingLayoutTables:r}},r}(Ft);function mt(e){return"undefined"!=typeof WebGL2RenderingContext&&e instanceof WebGL2RenderingContext||!(!e||2!==e._version)}function ht(t){switch(I(t)){case e.FormatTypeFlags.BC1:case e.FormatTypeFlags.BC2:case e.FormatTypeFlags.BC3:case e.FormatTypeFlags.BC4_UNORM:case e.FormatTypeFlags.BC4_SNORM:case e.FormatTypeFlags.BC5_UNORM:case e.FormatTypeFlags.BC5_SNORM:return!0;default:return!1}}function St(t){if(U(t)&e.FormatFlags.Normalized)return!1;var r=I(t);return r===e.FormatTypeFlags.S8||r===e.FormatTypeFlags.S16||r===e.FormatTypeFlags.S32||(r===e.FormatTypeFlags.U8||r===e.FormatTypeFlags.U16||r===e.FormatTypeFlags.U32)}function gt(t){return t&e.BufferUsage.INDEX?e.GL.ELEMENT_ARRAY_BUFFER:t&e.BufferUsage.VERTEX?e.GL.ARRAY_BUFFER:t&e.BufferUsage.UNIFORM?e.GL.UNIFORM_BUFFER:void 0}function Bt(t){var r=I(t),n=M(t),o=U(t),a=function(t){switch(t){case e.FormatTypeFlags.U8:return e.GL.UNSIGNED_BYTE;case e.FormatTypeFlags.U16:return e.GL.UNSIGNED_SHORT;case e.FormatTypeFlags.U32:return e.GL.UNSIGNED_INT;case e.FormatTypeFlags.S8:return e.GL.BYTE;case e.FormatTypeFlags.S16:return e.GL.SHORT;case e.FormatTypeFlags.S32:return e.GL.INT;case e.FormatTypeFlags.F16:return e.GL.HALF_FLOAT;case e.FormatTypeFlags.F32:return e.GL.FLOAT;default:throw Error("whoops")}}(r),i=function(t){switch(t){case e.FormatCompFlags.R:return 1;case e.FormatCompFlags.RG:return 2;case e.FormatCompFlags.RGB:return 3;case e.FormatCompFlags.RGBA:return 4;default:return 1}}(n);return{size:i,type:a,normalized:!!(o&e.FormatFlags.Normalized)}}function Nt(t){switch(t){case e.AddressMode.CLAMP_TO_EDGE:return e.GL.CLAMP_TO_EDGE;case e.AddressMode.REPEAT:return e.GL.REPEAT;case e.AddressMode.MIRRORED_REPEAT:return e.GL.MIRRORED_REPEAT;default:throw Error("whoops")}}function Ct(t,r){if(r===e.MipmapFilterMode.LINEAR&&t===e.FilterMode.BILINEAR)return e.GL.LINEAR_MIPMAP_LINEAR;if(r===e.MipmapFilterMode.LINEAR&&t===e.FilterMode.POINT)return e.GL.NEAREST_MIPMAP_LINEAR;if(r===e.MipmapFilterMode.NEAREST&&t===e.FilterMode.BILINEAR)return e.GL.LINEAR_MIPMAP_NEAREST;if(r===e.MipmapFilterMode.NEAREST&&t===e.FilterMode.POINT)return e.GL.NEAREST_MIPMAP_NEAREST;if(r===e.MipmapFilterMode.NO_MIP&&t===e.FilterMode.BILINEAR)return e.GL.LINEAR;if(r===e.MipmapFilterMode.NO_MIP&&t===e.FilterMode.POINT)return e.GL.NEAREST;throw Error("Unknown texture filter mode")}function Lt(e,t){void 0===t&&(t=0);return e.gl_buffer_pages[t/e.pageByteSize|0]}function Ot(e){return e.gl_texture}function Mt(e){return e.gl_sampler}function It(e,t){e.name=t,e.__SPECTOR_Metadata={name:t}}function Ut(e,t){for(var r=[];;){var n=t.exec(e);if(!n)break;r.push(n)}return r}function Dt(t){return t.blendMode==e.BlendMode.ADD&&t.blendSrcFactor==e.BlendFactor.ONE&&t.blendDstFactor===e.BlendFactor.ZERO}function Gt(t){if(t===e.TextureDimension.TEXTURE_2D)return e.GL.TEXTURE_2D;if(t===e.TextureDimension.TEXTURE_2D_ARRAY)return e.GL.TEXTURE_2D_ARRAY;if(t===e.TextureDimension.TEXTURE_CUBE_MAP)return e.GL.TEXTURE_CUBE_MAP;if(t===e.TextureDimension.TEXTURE_3D)return e.GL.TEXTURE_3D;throw Error("whoops")}function Pt(e,t,r,n){return e%r==0&&t%n==0}var vt,yt=function(t){function r(r){var n=r.device,o=r.descriptor,a=t.call(this,{id:r.id,device:n})||this;a.type=e.ResourceType.Buffer;var i=o.viewOrSize,s=o.usage,l=o.hint,_=void 0===l?e.BufferFrequencyHint.STATIC:l,u=n.uniformBufferMaxPageByteSize,E=n.gl,c=s&e.BufferUsage.UNIFORM;c||(mt(E)?E.bindVertexArray(null):n.OES_vertex_array_object.bindVertexArrayOES(null));var R,T=Le(i)?j(i,4):j(i.byteLength,4);if(a.gl_buffer_pages=[],c){for(var p=T;p>0;)a.gl_buffer_pages.push(a.createBufferPage(Math.min(p,u),s,_)),p-=u;R=u}else a.gl_buffer_pages.push(a.createBufferPage(T,s,_)),R=T;return a.pageByteSize=R,a.byteSize=T,a.usage=s,a.gl_target=gt(s),Le(i)||a.setSubData(0,new Uint8Array(i.buffer)),c||(mt(E)?E.bindVertexArray(a.device.currentBoundVAO):n.OES_vertex_array_object.bindVertexArrayOES(a.device.currentBoundVAO)),a}return pe(r,t),r.prototype.setSubData=function(e,t,r,n){void 0===r&&(r=0),void 0===n&&(n=t.byteLength-r);for(var o=this.device.gl,a=this.pageByteSize,i=e+n,s=e,l=e%a;i>s;){var _=mt(o)?o.COPY_WRITE_BUFFER:this.gl_target,u=Lt(this,s);if(u.ubo)return;o.bindBuffer(_,u),mt(o)?o.bufferSubData(_,l,t,r,Math.min(i-s,a)):o.bufferSubData(_,l,t),s+=a,l=0,r+=a,this.device.debugGroupStatisticsBufferUpload()}},r.prototype.destroy=function(){t.prototype.destroy.call(this);for(var e=0;this.gl_buffer_pages.length>e;e++)this.gl_buffer_pages[e].ubo||this.device.gl.deleteBuffer(this.gl_buffer_pages[e]);this.gl_buffer_pages=[]},r.prototype.createBufferPage=function(t,r,n){var o=this.device.gl,a=r&e.BufferUsage.UNIFORM;if(!mt(o)&&a)return{ubo:!0};var i=this.device.ensureResourceExists(o.createBuffer()),s=gt(r),l=function(t){switch(t){case e.BufferFrequencyHint.STATIC:return e.GL.STATIC_DRAW;case e.BufferFrequencyHint.DYNAMIC:return e.GL.DYNAMIC_DRAW}}(n);return o.bindBuffer(s,i),o.bufferData(s,t,l),i},r}(Ft),bt=function(t){function r(r){var n,o,a,i,s,l=r.device,_=r.descriptor,u=t.call(this,{id:r.id,device:l})||this;u.type=e.ResourceType.InputLayout;var E=_.vertexBufferDescriptors,c=_.indexBufferFormat,R=_.program;y(c===e.Format.U16_R||c===e.Format.U32_R||null===c);var T=null!==c?function(t){switch(t){case e.Format.U8_R:return e.GL.UNSIGNED_BYTE;case e.Format.U16_R:return e.GL.UNSIGNED_SHORT;case e.Format.U32_R:return e.GL.UNSIGNED_INT;default:throw Error("whoops")}}(c):null,p=null!==c?G(c):null,A=u.device.gl,d=u.device.ensureResourceExists(mt(A)?A.createVertexArray():l.OES_vertex_array_object.createVertexArrayOES());mt(A)?A.bindVertexArray(d):l.OES_vertex_array_object.bindVertexArrayOES(d),A.bindBuffer(A.ARRAY_BUFFER,Lt(u.device.fallbackVertexBuffer));try{for(var F=fe(_.vertexBufferDescriptors),f=F.next();!f.done;f=F.next()){var m=f.value,h=m.stepMode,S=m.attributes;try{for(var g=(a=void 0,fe(S)),B=g.next();!B.done;B=g.next()){var N=B.value,C=N.shaderLocation,L=N.format,O=N.divisor,M=void 0===O?1:O,I=mt(A)?C:null===(s=R.attributes[C])||void 0===s?void 0:s.location,U=Bt(L);if(N.vertexFormat=U,!ge(I))St(L),A.vertexAttribPointer(I,U.size,U.type,U.normalized,0,0),h===e.VertexStepMode.INSTANCE&&(mt(A)?A.vertexAttribDivisor(I,M):l.ANGLE_instanced_arrays.vertexAttribDivisorANGLE(I,M)),A.enableVertexAttribArray(I)}}catch(e){a={error:e}}finally{try{B&&!B.done&&(i=g.return)&&i.call(g)}finally{if(a)throw a.error}}}}catch(e){n={error:e}}finally{try{f&&!f.done&&(o=F.return)&&o.call(F)}finally{if(n)throw n.error}}return mt(A)?A.bindVertexArray(null):l.OES_vertex_array_object.bindVertexArrayOES(null),u.vertexBufferDescriptors=E,u.vao=d,u.indexBufferFormat=c,u.indexBufferType=T,u.indexBufferCompByteSize=p,u.program=R,u}return pe(r,t),r.prototype.destroy=function(){t.prototype.destroy.call(this),this.device.currentBoundVAO===this.vao&&(mt(this.device.gl)?(this.device.gl.bindVertexArray(null),this.device.gl.deleteVertexArray(this.vao)):(this.device.OES_vertex_array_object.bindVertexArrayOES(null),this.device.OES_vertex_array_object.deleteVertexArrayOES(this.vao)),this.device.currentBoundVAO=null)},r}(Ft),xt=function(t){function r(r){var n=r.device,o=r.descriptor,a=r.fake,i=t.call(this,{id:r.id,device:n})||this;i.type=e.ResourceType.Texture,o=Ae({dimension:e.TextureDimension.TEXTURE_2D,depthOrArrayLayers:1,mipLevelCount:1},o);var s,l,_=i.device.gl,u=i.clampmipLevelCount(o);if(i.immutable=o.usage===e.TextureUsage.RENDER_TARGET,i.pixelStore=o.pixelStore,i.format=o.format,i.dimension=o.dimension,i.formatKind=v(o.format),i.width=o.width,i.height=o.height,i.depthOrArrayLayers=o.depthOrArrayLayers,i.mipmaps=u>=1,!a){l=i.device.ensureResourceExists(_.createTexture());var E=i.device.translateTextureType(o.format),c=i.device.translateTextureInternalFormat(o.format);if(i.device.setActiveTexture(_.TEXTURE0),i.device.currentTextures[0]=null,i.preprocessImage(),o.dimension===e.TextureDimension.TEXTURE_2D){if(_.bindTexture(s=e.GL.TEXTURE_2D,l),i.immutable)if(mt(_))_.texStorage2D(s,u,c,o.width,o.height);else{var R=(c===e.GL.DEPTH_COMPONENT||i.isNPOT(),0);(i.format!==e.Format.D32F&&i.format!==e.Format.D24_S8||mt(_)||n.WEBGL_depth_texture)&&(_.texImage2D(s,R,c,o.width,o.height,0,c,E,null),i.mipmaps&&(i.mipmaps=!1,_.texParameteri(e.GL.TEXTURE_2D,e.GL.TEXTURE_MIN_FILTER,e.GL.LINEAR),_.texParameteri(e.GL.TEXTURE_2D,e.GL.TEXTURE_WRAP_S,e.GL.CLAMP_TO_EDGE),_.texParameteri(e.GL.TEXTURE_2D,e.GL.TEXTURE_WRAP_T,e.GL.CLAMP_TO_EDGE)))}y(1===o.depthOrArrayLayers)}else if(o.dimension===e.TextureDimension.TEXTURE_2D_ARRAY)_.bindTexture(s=e.GL.TEXTURE_2D_ARRAY,l),i.immutable&&mt(_)&&_.texStorage3D(s,u,c,o.width,o.height,o.depthOrArrayLayers);else if(o.dimension===e.TextureDimension.TEXTURE_3D)_.bindTexture(s=e.GL.TEXTURE_3D,l),i.immutable&&mt(_)&&_.texStorage3D(s,u,c,o.width,o.height,o.depthOrArrayLayers);else{if(o.dimension!==e.TextureDimension.TEXTURE_CUBE_MAP)throw Error("whoops");_.bindTexture(s=e.GL.TEXTURE_CUBE_MAP,l),i.immutable&&mt(_)&&_.texStorage2D(s,u,c,o.width,o.height),y(6===o.depthOrArrayLayers)}}return i.gl_texture=l,i.gl_target=s,i.mipLevelCount=u,i}return pe(r,t),r.prototype.setImageData=function(t,r){void 0===r&&(r=0);var n=this.device.gl;ht(this.format);var o=this.gl_target===e.GL.TEXTURE_3D||this.gl_target===e.GL.TEXTURE_2D_ARRAY,a=this.gl_target===e.GL.TEXTURE_CUBE_MAP,i=lt(t[0]);this.device.setActiveTexture(n.TEXTURE0),this.device.currentTextures[0]=null;var s,l,_=t[0];i?(s=this.width,l=this.height):(l=_.height,this.width=s=_.width,this.height=l),n.bindTexture(this.gl_target,this.gl_texture);var u=this.device.translateTextureFormat(this.format),E=mt(n)?this.device.translateInternalTextureFormat(this.format):u,c=this.device.translateTextureType(this.format);this.preprocessImage();for(var R=0;this.depthOrArrayLayers>R;R++){var T=t[R],p=this.gl_target;a&&(p=e.GL.TEXTURE_CUBE_MAP_POSITIVE_X+R%6),this.immutable?n.texSubImage2D(p,r,0,0,s,l,u,c,T):mt(n)?o?n.texImage3D(p,r,E,s,l,this.depthOrArrayLayers,0,u,c,T):n.texImage2D(p,r,E,s,l,0,u,c,T):i?n.texImage2D(p,r,u,s,l,0,u,c,T):n.texImage2D(p,r,u,u,c,T)}this.mipmaps&&this.generateMipmap(o)},r.prototype.destroy=function(){t.prototype.destroy.call(this),this.device.gl.deleteTexture(Ot(this))},r.prototype.clampmipLevelCount=function(t){if(t.dimension===e.TextureDimension.TEXTURE_2D_ARRAY&&t.depthOrArrayLayers>1&&I(t.format)===e.FormatTypeFlags.BC1)for(var r=t.width,n=t.height,o=0;t.mipLevelCount>o;o++){if(2>=r||2>=n)return o-1;r=Math.max(r/2|0,1),n=Math.max(n/2|0,1)}return t.mipLevelCount},r.prototype.preprocessImage=function(){var t=this.device.gl;this.pixelStore&&(this.pixelStore.unpackFlipY&&t.pixelStorei(e.GL.UNPACK_FLIP_Y_WEBGL,!0),this.pixelStore.packAlignment&&t.pixelStorei(e.GL.PACK_ALIGNMENT,this.pixelStore.packAlignment),this.pixelStore.unpackAlignment&&t.pixelStorei(e.GL.UNPACK_ALIGNMENT,this.pixelStore.unpackAlignment))},r.prototype.generateMipmap=function(t){void 0===t&&(t=!1);var r=this.device.gl;return!mt(r)&&this.isNPOT()||this.gl_texture&&this.gl_target&&(r.bindTexture(this.gl_target,this.gl_texture),t?(r.texParameteri(this.gl_target,e.GL.TEXTURE_BASE_LEVEL,0),r.texParameteri(this.gl_target,e.GL.TEXTURE_MAX_LEVEL,Math.log2(this.width)),r.texParameteri(this.gl_target,e.GL.TEXTURE_MIN_FILTER,e.GL.LINEAR_MIPMAP_LINEAR),r.texParameteri(this.gl_target,e.GL.TEXTURE_MAG_FILTER,e.GL.LINEAR)):r.texParameteri(e.GL.TEXTURE_2D,e.GL.TEXTURE_MIN_FILTER,e.GL.NEAREST_MIPMAP_LINEAR),r.generateMipmap(this.gl_target),r.bindTexture(this.gl_target,null)),this},r.prototype.isNPOT=function(){return!mt(this.device.gl)&&(!z(this.width)||!z(this.height))},r}(Ft),Xt=function(t){function r(r){var n=r.device,o=r.descriptor,a=t.call(this,{id:r.id,device:n})||this;a.type=e.ResourceType.RenderTarget,a.gl_renderbuffer=null,a.texture=null;var i=a.device.gl,s=o.format,l=o.width,_=o.height,u=o.sampleCount,E=void 0===u?1:u,c=o.texture,R=!1;if(s!==e.Format.D32F&&s!==e.Format.D24_S8||!c||mt(i)||n.WEBGL_depth_texture||(c.destroy(),a.texture=null,R=!0),!R&&c)a.texture=c;else{a.gl_renderbuffer=a.device.ensureResourceExists(i.createRenderbuffer()),i.bindRenderbuffer(i.RENDERBUFFER,a.gl_renderbuffer);var T=a.device.translateTextureInternalFormat(s,!0);mt(i)&&E>1?i.renderbufferStorageMultisample(e.GL.RENDERBUFFER,E,T,l,_):i.renderbufferStorage(e.GL.RENDERBUFFER,T,l,_)}return a.format=s,a.width=l,a.height=_,a.sampleCount=E,a}return pe(r,t),r.prototype.destroy=function(){t.prototype.destroy.call(this),null!==this.gl_renderbuffer&&this.device.gl.deleteRenderbuffer(this.gl_renderbuffer),this.texture&&this.texture.destroy()},r}(Ft);!function(e){e[e.NeedsCompile=0]="NeedsCompile",e[e.Compiling=1]="Compiling",e[e.NeedsBind=2]="NeedsBind",e[e.ReadyToUse=3]="ReadyToUse"}(vt||(vt={}));var wt=function(t){function r(r,n){var o=r.descriptor,a=t.call(this,{id:r.id,device:r.device})||this;a.rawVertexGLSL=n,a.type=e.ResourceType.Program,a.uniformSetters={},a.attributes=[];var i=a.device.gl;return a.descriptor=o,a.gl_program=a.device.ensureResourceExists(i.createProgram()),a.gl_shader_vert=null,a.gl_shader_frag=null,a.compileState=vt.NeedsCompile,a.tryCompileProgram(),a}return pe(r,t),r.prototype.destroy=function(){t.prototype.destroy.call(this),this.device.gl.deleteProgram(this.gl_program),this.device.gl.deleteShader(this.gl_shader_vert),this.device.gl.deleteShader(this.gl_shader_frag)},r.prototype.tryCompileProgram=function(){y(this.compileState===vt.NeedsCompile);var e=this.descriptor,t=e.vertex,r=e.fragment,n=this.device.gl;(null==t?void 0:t.glsl)&&(null==r?void 0:r.glsl)&&(this.gl_shader_vert=this.compileShader(t.postprocess?t.postprocess(t.glsl):t.glsl,n.VERTEX_SHADER),this.gl_shader_frag=this.compileShader(r.postprocess?r.postprocess(r.glsl):r.glsl,n.FRAGMENT_SHADER),n.attachShader(this.gl_program,this.gl_shader_vert),n.attachShader(this.gl_program,this.gl_shader_frag),n.linkProgram(this.gl_program),this.compileState=vt.Compiling,mt(n)||(this.readUniformLocationsFromLinkedProgram(),this.readAttributesFromLinkedProgram()))},r.prototype.readAttributesFromLinkedProgram=function(){for(var e,t=this.device.gl,r=t.getProgramParameter(this.gl_program,t.ACTIVE_ATTRIBUTES),n=ut(this.descriptor.vertex.glsl),o=Et(this.rawVertexGLSL,n),a=function(r){var n=t.getActiveAttrib(i.gl_program,r),a=n.name,s=n.type,l=n.size,_=t.getAttribLocation(i.gl_program,a),u=null===(e=o.find((function(e){return e.name===a})))||void 0===e?void 0:e.location;0>_||ge(u)||(i.attributes[u]={name:a,location:_,type:s,size:l})},i=this,s=0;r>s;s++)a(s)},r.prototype.readUniformLocationsFromLinkedProgram=function(){for(var e=this.device.gl,t=e.getProgramParameter(this.gl_program,e.ACTIVE_UNIFORMS),r=0;t>r;r++){var n=e.getActiveUniform(this.gl_program,r),o=Ke(n.name).name,a=e.getUniformLocation(this.gl_program,o);if(this.uniformSetters[o]=it(e,a,n),n&&n.size>1)for(var i=0;n.size>i;i++)a=e.getUniformLocation(this.gl_program,"".concat(o,"[").concat(i,"]")),this.uniformSetters["".concat(o,"[").concat(i,"]")]=it(e,a,n)}},r.prototype.compileShader=function(e,t){var r=this.device.gl,n=this.device.ensureResourceExists(r.createShader(t));return r.shaderSource(n,e),r.compileShader(n),n},r.prototype.setUniformsLegacy=function(e){void 0===e&&(e={});var t=this.device.gl;if(!mt(t)){var r=!1;for(var n in e){r||(t.useProgram(this.gl_program),r=!0);var o=this.uniformSetters[n];if(o){var a=e[n];a instanceof xt&&(a=a.textureIndex),o(a)}}}return this},r}(Ft),Wt=function(t){function r(r){var n=r.descriptor,o=t.call(this,{id:r.id,device:r.device})||this;o.type=e.ResourceType.QueryPool;var a=o.device.gl;if(mt(a)){var i=n.type;o.gl_query=J(n.elemCount,(function(){return o.device.ensureResourceExists(a.createQuery())})),o.gl_query_type=function(t){if(t===e.QueryPoolType.OcclusionConservative)return e.GL.ANY_SAMPLES_PASSED_CONSERVATIVE;throw Error("whoops")}(i)}return o}return pe(r,t),r.prototype.queryResultOcclusion=function(e){var t=this.device.gl;if(mt(t)){var r=this.gl_query[e];return t.getQueryParameter(r,t.QUERY_RESULT_AVAILABLE)?!!t.getQueryParameter(r,t.QUERY_RESULT):null}return null},r.prototype.destroy=function(){t.prototype.destroy.call(this);var e=this.device.gl;if(mt(e))for(var r=0;this.gl_query.length>r;r++)e.deleteQuery(this.gl_query[r])},r}(Ft),Ht=function(t){function r(r){var n=t.call(this,{id:r.id,device:r.device})||this;return n.type=e.ResourceType.Readback,n.gl_pbo=null,n.gl_sync=null,n}return pe(r,t),r.prototype.clientWaitAsync=function(e,t,r){void 0===t&&(t=0),void 0===r&&(r=10);var n=this.device.gl;return new Promise((function(o,a){!function i(){var s=n.clientWaitSync(e,t,0);s!=n.WAIT_FAILED?s!=n.TIMEOUT_EXPIRED?o():setTimeout(i,Ce(r,0,n.MAX_CLIENT_WAIT_TIMEOUT_WEBGL)):a()}()}))},r.prototype.getBufferSubDataAsync=function(e,t,r,n,o,a){return de(this,void 0,void 0,(function(){var i;return Fe(this,(function(s){switch(s.label){case 0:return mt(i=this.device.gl)?(this.gl_sync=i.fenceSync(i.SYNC_GPU_COMMANDS_COMPLETE,0),i.flush(),[4,this.clientWaitAsync(this.gl_sync,0,10)]):[3,2];case 1:return s.sent(),i.bindBuffer(e,t),i.getBufferSubData(e,r,n,o,a),i.bindBuffer(e,null),[2,n];case 2:return[2]}}))}))},r.prototype.readTexture=function(t,r,n,o,a,i,s,l){return void 0===s&&(s=0),void 0===l&&(l=i.byteLength||0),de(this,void 0,void 0,(function(){var _,u,E,c,R;return Fe(this,(function(T){return _=this.device.gl,E=this.device.translateTextureFormat((u=t).format),c=this.device.translateTextureType(u.format),R=P(u.format),mt(_)?(this.gl_pbo=this.device.ensureResourceExists(_.createBuffer()),_.bindBuffer(_.PIXEL_PACK_BUFFER,this.gl_pbo),_.bufferData(_.PIXEL_PACK_BUFFER,l,_.STREAM_READ),_.bindBuffer(_.PIXEL_PACK_BUFFER,null),_.bindFramebuffer(e.GL.READ_FRAMEBUFFER,this.device.readbackFramebuffer),_.framebufferTexture2D(e.GL.READ_FRAMEBUFFER,e.GL.COLOR_ATTACHMENT0,e.GL.TEXTURE_2D,u.gl_texture,0),_.bindBuffer(_.PIXEL_PACK_BUFFER,this.gl_pbo),_.readPixels(r,n,o,a,E,c,s*R),_.bindBuffer(_.PIXEL_PACK_BUFFER,null),[2,this.getBufferSubDataAsync(_.PIXEL_PACK_BUFFER,this.gl_pbo,0,i,s,0)]):[2,this.readTextureSync(t,r,n,o,a,i,s,l)]}))}))},r.prototype.readTextureSync=function(t,r,n,o,a,i,s,l){void 0===l&&(l=i.byteLength||0);var _=this.device.gl,u=t,E=this.device.translateTextureType(u.format);return _.bindFramebuffer(e.GL.FRAMEBUFFER,this.device.readbackFramebuffer),_.framebufferTexture2D(e.GL.FRAMEBUFFER,e.GL.COLOR_ATTACHMENT0,e.GL.TEXTURE_2D,u.gl_texture,0),_.pixelStorei(_.PACK_ALIGNMENT,4),_.readPixels(r,n,o,a,_.RGBA,E,i),i},r.prototype.readBuffer=function(e,t,r,n,o){return de(this,void 0,void 0,(function(){var a;return Fe(this,(function(i){return mt(a=this.device.gl)?[2,this.getBufferSubDataAsync(a.ARRAY_BUFFER,Lt(e,t),t,r,n,o)]:[2,Promise.reject()]}))}))},r.prototype.destroy=function(){t.prototype.destroy.call(this),mt(this.device.gl)&&(null!==this.gl_sync&&this.device.gl.deleteSync(this.gl_sync),null!==this.gl_pbo&&this.device.gl.deleteBuffer(this.gl_pbo))},r}(Ft),Vt=function(t){function r(r){var n,o,a=r.descriptor,i=t.call(this,{id:r.id,device:r.device})||this;return i.type=e.ResourceType.RenderPipeline,i.drawMode=function(t){switch(t){case e.PrimitiveTopology.TRIANGLES:return e.GL.TRIANGLES;case e.PrimitiveTopology.POINTS:return e.GL.POINTS;case e.PrimitiveTopology.TRIANGLE_STRIP:return e.GL.TRIANGLE_STRIP;case e.PrimitiveTopology.LINES:return e.GL.LINES;case e.PrimitiveTopology.LINE_STRIP:return e.GL.LINE_STRIP;default:throw Error("Unknown primitive topology mode")}}(null!==(n=a.topology)&&void 0!==n?n:e.PrimitiveTopology.TRIANGLES),i.program=a.program,i.inputLayout=a.inputLayout,i.megaState=Ae(Ae({},se(ue)),a.megaStateDescriptor),i.colorAttachmentFormats=a.colorAttachmentFormats.slice(),i.depthStencilAttachmentFormat=a.depthStencilAttachmentFormat,i.sampleCount=null!==(o=a.sampleCount)&&void 0!==o?o:1,i}return pe(r,t),r}(Ft),kt=function(t){function r(r){var n=r.descriptor,o=t.call(this,{id:r.id,device:r.device})||this;return o.type=e.ResourceType.ComputePipeline,o.descriptor=n,o}return pe(r,t),r}(Ft),Yt=function(){function e(){this.liveObjects=new Set,this.creationStacks=new Map,this.deletionStacks=new Map}return e.prototype.trackResourceCreated=function(e){this.creationStacks.set(e,Error().stack),this.liveObjects.add(e)},e.prototype.trackResourceDestroyed=function(e){this.deletionStacks.has(e)&&console.warn("Object double freed:",e,"\n\nCreation stack: ",this.creationStacks.get(e),"\n\nDeletion stack: ",this.deletionStacks.get(e),"\n\nThis stack: ",Error().stack),this.deletionStacks.set(e,Error().stack),this.liveObjects.delete(e)},e.prototype.checkForLeaks=function(){var e,t;try{for(var r=fe(this.liveObjects.values()),n=r.next();!n.done;n=r.next()){var o=n.value;console.warn("Object leaked:",o,"Creation stack:",this.creationStacks.get(o))}}catch(t){e={error:t}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}},e.prototype.setResourceLeakCheck=function(e,t){t?this.liveObjects.add(e):this.liveObjects.delete(e)},e}(),Kt=function(t){function r(r){var n,o,a=r.descriptor,i=t.call(this,{id:r.id,device:r.device})||this;i.type=e.ResourceType.Sampler;var s=i.device.gl;if(mt(s)){var l=i.device.ensureResourceExists(s.createSampler());s.samplerParameteri(l,e.GL.TEXTURE_WRAP_S,Nt(a.addressModeU)),s.samplerParameteri(l,e.GL.TEXTURE_WRAP_T,Nt(a.addressModeV)),s.samplerParameteri(l,e.GL.TEXTURE_WRAP_R,Nt(null!==(n=a.addressModeW)&&void 0!==n?n:a.addressModeU)),s.samplerParameteri(l,e.GL.TEXTURE_MIN_FILTER,Ct(a.minFilter,a.mipmapFilter)),s.samplerParameteri(l,e.GL.TEXTURE_MAG_FILTER,Ct(a.magFilter,e.MipmapFilterMode.NO_MIP)),void 0!==a.lodMinClamp&&s.samplerParameterf(l,e.GL.TEXTURE_MIN_LOD,a.lodMinClamp),void 0!==a.lodMaxClamp&&s.samplerParameterf(l,e.GL.TEXTURE_MAX_LOD,a.lodMaxClamp),void 0!==a.compareFunction&&(s.samplerParameteri(l,s.TEXTURE_COMPARE_MODE,s.COMPARE_REF_TO_TEXTURE),s.samplerParameteri(l,s.TEXTURE_COMPARE_FUNC,a.compareFunction));var _=null!==(o=a.maxAnisotropy)&&void 0!==o?o:1;_>1&&null!==i.device.EXT_texture_filter_anisotropic&&(y(a.minFilter===e.FilterMode.BILINEAR&&a.magFilter===e.FilterMode.BILINEAR&&a.mipmapFilter===e.MipmapFilterMode.LINEAR),s.samplerParameterf(l,i.device.EXT_texture_filter_anisotropic.TEXTURE_MAX_ANISOTROPY_EXT,_)),i.gl_sampler=l}else i.descriptor=a;return i}return pe(r,t),r.prototype.setTextureParameters=function(t,r,n){var o,a=this.device.gl,i=this.descriptor;this.isNPOT(r,n)?a.texParameteri(e.GL.TEXTURE_2D,e.GL.TEXTURE_MIN_FILTER,e.GL.LINEAR):a.texParameteri(t,e.GL.TEXTURE_MIN_FILTER,Ct(i.minFilter,i.mipmapFilter)),a.texParameteri(e.GL.TEXTURE_2D,e.GL.TEXTURE_WRAP_S,Nt(i.addressModeU)),a.texParameteri(e.GL.TEXTURE_2D,e.GL.TEXTURE_WRAP_T,Nt(i.addressModeV)),a.texParameteri(t,e.GL.TEXTURE_MAG_FILTER,Ct(i.magFilter,e.MipmapFilterMode.NO_MIP));var s=null!==(o=i.maxAnisotropy)&&void 0!==o?o:1;s>1&&null!==this.device.EXT_texture_filter_anisotropic&&(y(i.minFilter===e.FilterMode.BILINEAR&&i.magFilter===e.FilterMode.BILINEAR&&i.mipmapFilter===e.MipmapFilterMode.LINEAR),a.texParameteri(t,this.device.EXT_texture_filter_anisotropic.TEXTURE_MAX_ANISOTROPY_EXT,s))},r.prototype.destroy=function(){t.prototype.destroy.call(this),mt(this.device.gl)&&this.device.gl.deleteSampler(Mt(this))},r.prototype.isNPOT=function(e,t){return!z(e)||!z(t)},r}(Ft),qt=function(){function e(){}return e.prototype.dispatchWorkgroups=function(e,t,r){},e.prototype.dispatchWorkgroupsIndirect=function(e,t){},e.prototype.setPipeline=function(e){},e.prototype.setBindings=function(e){},e.prototype.pushDebugGroup=function(e){},e.prototype.popDebugGroup=function(){},e.prototype.insertDebugMarker=function(e){},e}(),zt=function(t){function r(){var r=null!==t&&t.apply(this,arguments)||this;return r.type=e.ResourceType.RenderBundle,r.commands=[],r}return pe(r,t),r.prototype.push=function(e){this.commands.push(e)},r.prototype.replay=function(){this.commands.forEach((function(e){return e()}))},r}(Ft),Zt=/uniform(?:\s+)(\w+)(?:\s?){([^]*?)}/g,Qt=function(){function t(t,r){void 0===r&&(r={}),this.shaderDebug=!1,this.OES_vertex_array_object=null,this.ANGLE_instanced_arrays=null,this.OES_texture_float=null,this.OES_draw_buffers_indexed=null,this.WEBGL_draw_buffers=null,this.WEBGL_depth_texture=null,this.WEBGL_color_buffer_float=null,this.EXT_color_buffer_half_float=null,this.WEBGL_compressed_texture_s3tc=null,this.WEBGL_compressed_texture_s3tc_srgb=null,this.EXT_texture_compression_rgtc=null,this.EXT_texture_filter_anisotropic=null,this.KHR_parallel_shader_compile=null,this.EXT_texture_norm16=null,this.EXT_color_buffer_float=null,this.OES_texture_float_linear=null,this.OES_texture_half_float_linear=null,this.scTexture=null,this.scPlatformFramebuffer=null,this.currentActiveTexture=null,this.currentBoundVAO=null,this.currentProgram=null,this.resourceCreationTracker=null,this.resourceUniqueId=0,this.currentColorAttachments=[],this.currentColorAttachmentLevels=[],this.currentColorResolveTos=[],this.currentColorResolveToLevels=[],this.currentSampleCount=-1,this.currentIndexBufferByteOffset=null,this.currentMegaState=se(ue),this.currentSamplers=[],this.currentTextures=[],this.currentUniformBuffers=[],this.currentUniformBufferByteOffsets=[],this.currentUniformBufferByteSizes=[],this.currentScissorEnabled=!1,this.currentStencilRef=null,this.currentRenderPassDescriptor=null,this.currentRenderPassDescriptorStack=[],this.debugGroupStack=[],this.resolveColorAttachmentsChanged=!1,this.resolveDepthStencilAttachmentsChanged=!1,this.explicitBindingLocations=!1,this.separateSamplerTextures=!1,this.viewportOrigin=e.ViewportOrigin.LOWER_LEFT,this.clipSpaceNearZ=e.ClipSpaceNearZ.NEGATIVE_ONE,this.supportMRT=!1,this.inBlitRenderPass=!1,this.supportedSampleCounts=[],this.occlusionQueriesRecommended=!1,this.computeShadersSupported=!1,this.gl=t,this.contextAttributes=b(t.getContextAttributes()),mt(t)?(this.EXT_texture_norm16=t.getExtension("EXT_texture_norm16"),this.EXT_color_buffer_float=t.getExtension("EXT_color_buffer_float")):(this.OES_vertex_array_object=t.getExtension("OES_vertex_array_object"),this.ANGLE_instanced_arrays=t.getExtension("ANGLE_instanced_arrays"),this.OES_texture_float=t.getExtension("OES_texture_float"),this.WEBGL_draw_buffers=t.getExtension("WEBGL_draw_buffers"),this.WEBGL_depth_texture=t.getExtension("WEBGL_depth_texture"),this.WEBGL_color_buffer_float=t.getExtension("WEBGL_color_buffer_float"),this.EXT_color_buffer_half_float=t.getExtension("EXT_color_buffer_half_float"),t.getExtension("EXT_frag_depth"),t.getExtension("OES_element_index_uint"),t.getExtension("OES_standard_derivatives")),this.WEBGL_compressed_texture_s3tc=t.getExtension("WEBGL_compressed_texture_s3tc"),this.WEBGL_compressed_texture_s3tc_srgb=t.getExtension("WEBGL_compressed_texture_s3tc_srgb"),this.EXT_texture_compression_rgtc=t.getExtension("EXT_texture_compression_rgtc"),this.EXT_texture_filter_anisotropic=t.getExtension("EXT_texture_filter_anisotropic"),this.EXT_texture_norm16=t.getExtension("EXT_texture_norm16"),this.OES_texture_float_linear=t.getExtension("OES_texture_float_linear"),this.OES_texture_half_float_linear=t.getExtension("OES_texture_half_float_linear"),this.KHR_parallel_shader_compile=t.getExtension("KHR_parallel_shader_compile"),mt(t)?(this.platformString="WebGL2",this.glslVersion="#version 300 es"):(this.platformString="WebGL1",this.glslVersion="#version 100"),this.scTexture=new xt({id:this.getNextUniqueId(),device:this,descriptor:{width:0,height:0,depthOrArrayLayers:1,dimension:e.TextureDimension.TEXTURE_2D,mipLevelCount:1,usage:e.TextureUsage.RENDER_TARGET,format:!1===this.contextAttributes.alpha?e.Format.U8_RGB_RT:e.Format.U8_RGBA_RT},fake:!0}),this.scTexture.formatKind=e.SamplerFormatKind.Float,this.scTexture.gl_target=null,this.scTexture.gl_texture=null,this.resolveColorReadFramebuffer=this.ensureResourceExists(t.createFramebuffer()),this.resolveColorDrawFramebuffer=this.ensureResourceExists(t.createFramebuffer()),this.resolveDepthStencilReadFramebuffer=this.ensureResourceExists(t.createFramebuffer()),this.resolveDepthStencilDrawFramebuffer=this.ensureResourceExists(t.createFramebuffer()),this.renderPassDrawFramebuffer=this.ensureResourceExists(t.createFramebuffer()),this.readbackFramebuffer=this.ensureResourceExists(t.createFramebuffer()),this.fallbackTexture2D=this.createFallbackTexture(e.TextureDimension.TEXTURE_2D,e.SamplerFormatKind.Float),this.fallbackTexture2DDepth=this.createFallbackTexture(e.TextureDimension.TEXTURE_2D,e.SamplerFormatKind.Depth),this.fallbackVertexBuffer=this.createBuffer({viewOrSize:1,usage:e.BufferUsage.VERTEX,hint:e.BufferFrequencyHint.STATIC}),mt(t)&&(this.fallbackTexture2DArray=this.createFallbackTexture(e.TextureDimension.TEXTURE_2D_ARRAY,e.SamplerFormatKind.Float),this.fallbackTexture3D=this.createFallbackTexture(e.TextureDimension.TEXTURE_3D,e.SamplerFormatKind.Float),this.fallbackTextureCube=this.createFallbackTexture(e.TextureDimension.TEXTURE_CUBE_MAP,e.SamplerFormatKind.Float)),this.currentMegaState.depthCompare=e.CompareFunction.LESS,this.currentMegaState.depthWrite=!1,this.currentMegaState.attachmentsState[0].channelWriteMask=e.ChannelWriteMask.ALL,t.enable(t.DEPTH_TEST),t.enable(t.STENCIL_TEST),this.checkLimits(),r.shaderDebug&&(this.shaderDebug=!0),r.trackResources&&(this.resourceCreationTracker=new Yt)}return t.prototype.destroy=function(){this.blitBindings&&this.blitBindings.destroy(),this.blitInputLayout&&this.blitInputLayout.destroy(),this.blitRenderPipeline&&this.blitRenderPipeline.destroy(),this.blitVertexBuffer&&this.blitVertexBuffer.destroy(),this.blitProgram&&this.blitProgram.destroy()},t.prototype.createFallbackTexture=function(t,r){var n=t===e.TextureDimension.TEXTURE_CUBE_MAP?6:1,o=this.createTexture({dimension:t,format:r===e.SamplerFormatKind.Depth?e.Format.D32F:e.Format.U8_RGBA_NORM,usage:e.TextureUsage.SAMPLED,width:1,height:1,depthOrArrayLayers:n,mipLevelCount:1});return r===e.SamplerFormatKind.Float&&o.setImageData([new Uint8Array(4*n)]),Ot(o)},t.prototype.getNextUniqueId=function(){return++this.resourceUniqueId},t.prototype.checkLimits=function(){var t=this.gl;if(this.maxVertexAttribs=t.getParameter(e.GL.MAX_VERTEX_ATTRIBS),mt(t)){this.uniformBufferMaxPageByteSize=Math.min(t.getParameter(e.GL.MAX_UNIFORM_BLOCK_SIZE),65536),this.uniformBufferWordAlignment=t.getParameter(t.UNIFORM_BUFFER_OFFSET_ALIGNMENT)/4;var r=t.getInternalformatParameter(t.RENDERBUFFER,t.DEPTH32F_STENCIL8,t.SAMPLES);this.supportedSampleCounts=r?he([],me(r),!1):[],this.occlusionQueriesRecommended=!0}else this.uniformBufferWordAlignment=64,this.uniformBufferMaxPageByteSize=65536;this.uniformBufferMaxPageWordSize=this.uniformBufferMaxPageByteSize/4,this.supportedSampleCounts.includes(1)||this.supportedSampleCounts.push(1),this.supportedSampleCounts.sort((function(e,t){return e-t}))},t.prototype.configureSwapChain=function(e,t,r){var n=this.scTexture;n.width=e,n.height=t,this.scPlatformFramebuffer=Q(r)},t.prototype.getDevice=function(){return this},t.prototype.getCanvas=function(){return this.gl.canvas},t.prototype.getOnscreenTexture=function(){return this.scTexture},t.prototype.beginFrame=function(){},t.prototype.endFrame=function(){},t.prototype.translateTextureInternalFormat=function(t,r){switch(void 0===r&&(r=!1),t){case e.Format.ALPHA:return e.GL.ALPHA;case e.Format.U8_LUMINANCE:case e.Format.F16_LUMINANCE:case e.Format.F32_LUMINANCE:return e.GL.LUMINANCE;case e.Format.F16_R:return e.GL.R16F;case e.Format.F16_RG:return e.GL.RG16F;case e.Format.F16_RGB:return e.GL.RGB16F;case e.Format.F16_RGBA:return e.GL.RGBA16F;case e.Format.F32_R:return e.GL.R32F;case e.Format.F32_RG:return e.GL.RG32F;case e.Format.F32_RGB:return e.GL.RGB32F;case e.Format.F32_RGBA:return mt(this.gl)?e.GL.RGBA32F:r?this.WEBGL_color_buffer_float.RGBA32F_EXT:e.GL.RGBA;case e.Format.U8_R_NORM:return e.GL.R8;case e.Format.U8_RG_NORM:return e.GL.RG8;case e.Format.U8_RGB_NORM:case e.Format.U8_RGB_RT:return e.GL.RGB8;case e.Format.U8_RGB_SRGB:return e.GL.SRGB8;case e.Format.U8_RGBA_NORM:case e.Format.U8_RGBA_RT:return mt(this.gl)?e.GL.RGBA8:r?e.GL.RGBA4:e.GL.RGBA;case e.Format.U8_RGBA:return e.GL.RGBA;case e.Format.U8_RGBA_SRGB:case e.Format.U8_RGBA_RT_SRGB:return e.GL.SRGB8_ALPHA8;case e.Format.U16_R:return e.GL.R16UI;case e.Format.U16_R_NORM:return this.EXT_texture_norm16.R16_EXT;case e.Format.U16_RG_NORM:return this.EXT_texture_norm16.RG16_EXT;case e.Format.U16_RGBA_NORM:return this.EXT_texture_norm16.RGBA16_EXT;case e.Format.U16_RGBA_5551:return e.GL.RGB5_A1;case e.Format.U16_RGB_565:return e.GL.RGB565;case e.Format.U32_R:return e.GL.R32UI;case e.Format.S8_RGBA_NORM:return e.GL.RGBA8_SNORM;case e.Format.S8_RG_NORM:return e.GL.RG8_SNORM;case e.Format.BC1:return this.WEBGL_compressed_texture_s3tc.COMPRESSED_RGBA_S3TC_DXT1_EXT;case e.Format.BC1_SRGB:return this.WEBGL_compressed_texture_s3tc_srgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;case e.Format.BC2:return this.WEBGL_compressed_texture_s3tc.COMPRESSED_RGBA_S3TC_DXT3_EXT;case e.Format.BC2_SRGB:return this.WEBGL_compressed_texture_s3tc_srgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;case e.Format.BC3:return this.WEBGL_compressed_texture_s3tc.COMPRESSED_RGBA_S3TC_DXT5_EXT;case e.Format.BC3_SRGB:return this.WEBGL_compressed_texture_s3tc_srgb.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT;case e.Format.BC4_UNORM:return this.EXT_texture_compression_rgtc.COMPRESSED_RED_RGTC1_EXT;case e.Format.BC4_SNORM:return this.EXT_texture_compression_rgtc.COMPRESSED_SIGNED_RED_RGTC1_EXT;case e.Format.BC5_UNORM:return this.EXT_texture_compression_rgtc.COMPRESSED_RED_GREEN_RGTC2_EXT;case e.Format.BC5_SNORM:return this.EXT_texture_compression_rgtc.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT;case e.Format.D32F_S8:return mt(this.gl)?e.GL.DEPTH32F_STENCIL8:this.WEBGL_depth_texture?e.GL.DEPTH_STENCIL:e.GL.DEPTH_COMPONENT16;case e.Format.D24_S8:return mt(this.gl)?e.GL.DEPTH24_STENCIL8:this.WEBGL_depth_texture?e.GL.DEPTH_STENCIL:e.GL.DEPTH_COMPONENT16;case e.Format.D32F:return mt(this.gl)?e.GL.DEPTH_COMPONENT32F:this.WEBGL_depth_texture?e.GL.DEPTH_COMPONENT:e.GL.DEPTH_COMPONENT16;case e.Format.D24:return mt(this.gl)?e.GL.DEPTH_COMPONENT24:this.WEBGL_depth_texture?e.GL.DEPTH_COMPONENT:e.GL.DEPTH_COMPONENT16;default:throw Error("whoops")}},t.prototype.translateTextureType=function(t){switch(I(t)){case e.FormatTypeFlags.U8:return e.GL.UNSIGNED_BYTE;case e.FormatTypeFlags.U16:return e.GL.UNSIGNED_SHORT;case e.FormatTypeFlags.U32:return e.GL.UNSIGNED_INT;case e.FormatTypeFlags.S8:return e.GL.BYTE;case e.FormatTypeFlags.F16:return e.GL.HALF_FLOAT;case e.FormatTypeFlags.F32:return e.GL.FLOAT;case e.FormatTypeFlags.U16_PACKED_5551:return e.GL.UNSIGNED_SHORT_5_5_5_1;case e.FormatTypeFlags.D32F:return mt(this.gl)?e.GL.FLOAT:this.WEBGL_depth_texture?e.GL.UNSIGNED_INT:e.GL.UNSIGNED_BYTE;case e.FormatTypeFlags.D24:return mt(this.gl)?e.GL.UNSIGNED_INT_24_8:this.WEBGL_depth_texture?e.GL.UNSIGNED_SHORT:e.GL.UNSIGNED_BYTE;case e.FormatTypeFlags.D24S8:return mt(this.gl)?e.GL.UNSIGNED_INT_24_8:this.WEBGL_depth_texture?e.GL.UNSIGNED_INT_24_8_WEBGL:e.GL.UNSIGNED_BYTE;case e.FormatTypeFlags.D32FS8:return e.GL.FLOAT_32_UNSIGNED_INT_24_8_REV;default:throw Error("whoops")}},t.prototype.translateInternalTextureFormat=function(t){switch(t){case e.Format.F32_R:return e.GL.R32F;case e.Format.F32_RG:return e.GL.RG32F;case e.Format.F32_RGB:return e.GL.RGB32F;case e.Format.F32_RGBA:return e.GL.RGBA32F;case e.Format.F16_R:return e.GL.R16F;case e.Format.F16_RG:return e.GL.RG16F;case e.Format.F16_RGB:return e.GL.RGB16F;case e.Format.F16_RGBA:return e.GL.RGBA16F}return this.translateTextureFormat(t)},t.prototype.translateTextureFormat=function(t){if(ht(t)||t===e.Format.F32_LUMINANCE||t===e.Format.U8_LUMINANCE)return this.translateTextureInternalFormat(t);var r=mt(this.gl)||!mt(this.gl)&&!!this.WEBGL_depth_texture;switch(t){case e.Format.D24_S8:case e.Format.D32F_S8:return r?e.GL.DEPTH_STENCIL:e.GL.RGBA;case e.Format.D24:case e.Format.D32F:return r?e.GL.DEPTH_COMPONENT:e.GL.RGBA}var n=St(t);switch(M(t)){case e.FormatCompFlags.A:return e.GL.ALPHA;case e.FormatCompFlags.R:return n?e.GL.RED_INTEGER:e.GL.RED;case e.FormatCompFlags.RG:return n?e.GL.RG_INTEGER:e.GL.RG;case e.FormatCompFlags.RGB:return n?e.GL.RGB_INTEGER:e.GL.RGB;case e.FormatCompFlags.RGBA:return e.GL.RGBA}},t.prototype.setActiveTexture=function(e){this.currentActiveTexture!==e&&(this.gl.activeTexture(e),this.currentActiveTexture=e)},t.prototype.bindVAO=function(e){this.currentBoundVAO!==e&&(mt(this.gl)?this.gl.bindVertexArray(e):this.OES_vertex_array_object.bindVertexArrayOES(e),this.currentBoundVAO=e)},t.prototype.programCompiled=function(e){y(e.compileState!==vt.NeedsCompile),e.compileState===vt.Compiling&&(e.compileState=vt.NeedsBind,this.shaderDebug&&this.checkProgramCompilationForErrors(e))},t.prototype.useProgram=function(e){this.currentProgram!==e&&(this.programCompiled(e),this.gl.useProgram(e.gl_program),this.currentProgram=e)},t.prototype.ensureResourceExists=function(e){if(null===e){var t=this.gl.getError();throw Error("Created resource is null; GL error encountered: ".concat(t))}return e},t.prototype.createBuffer=function(e){return new yt({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createTexture=function(e){return new xt({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createSampler=function(e){return new Kt({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createRenderTarget=function(e){return new Xt({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createRenderTargetFromTexture=function(e){var t=e.format,r=e.width,n=e.height;return y(1===e.mipLevelCount),this.createRenderTarget({format:t,width:r,height:n,sampleCount:1,texture:e})},t.prototype.createProgram=function(e){var t,r,n,o=null===(t=e.vertex)||void 0===t?void 0:t.glsl;return(null===(r=e.vertex)||void 0===r?void 0:r.glsl)&&(e.vertex.glsl=Tt(this.queryVendorInfo(),"vert",e.vertex.glsl)),(null===(n=e.fragment)||void 0===n?void 0:n.glsl)&&(e.fragment.glsl=Tt(this.queryVendorInfo(),"frag",e.fragment.glsl)),this.createProgramSimple(e,o)},t.prototype.createProgramSimple=function(e,t){return new wt({id:this.getNextUniqueId(),device:this,descriptor:e},t)},t.prototype.createBindings=function(e){return new ft({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createInputLayout=function(e){return new bt({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createRenderPipeline=function(e){return new Vt({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createComputePass=function(){return new qt},t.prototype.createComputePipeline=function(e){return new kt({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createReadback=function(){return new Ht({id:this.getNextUniqueId(),device:this})},t.prototype.createQueryPool=function(e,t){return new Wt({id:this.getNextUniqueId(),device:this,descriptor:{type:e,elemCount:t}})},t.prototype.formatRenderPassDescriptor=function(e){var t,r,n,o,a,i,s=e.colorAttachment;e.depthClearValue=null!==(t=e.depthClearValue)&&void 0!==t?t:"load",e.stencilClearValue=null!==(r=e.stencilClearValue)&&void 0!==r?r:"load";for(var l=0;s.length>l;l++)e.colorAttachmentLevel||(e.colorAttachmentLevel=[]),e.colorAttachmentLevel[l]=null!==(n=e.colorAttachmentLevel[l])&&void 0!==n?n:0,e.colorResolveToLevel||(e.colorResolveToLevel=[]),e.colorResolveToLevel[l]=null!==(o=e.colorResolveToLevel[l])&&void 0!==o?o:0,e.colorClearColor||(e.colorClearColor=[]),e.colorClearColor[l]=null!==(a=e.colorClearColor[l])&&void 0!==a?a:"load",e.colorStore||(e.colorStore=[]),e.colorStore[l]=null!==(i=e.colorStore[l])&&void 0!==i&&i},t.prototype.createRenderBundle=function(){return new zt({id:this.getNextUniqueId(),device:this})},t.prototype.beginBundle=function(e){this.renderBundle=e},t.prototype.endBundle=function(){this.renderBundle=void 0},t.prototype.executeBundles=function(e){e.forEach((function(e){e.replay()}))},t.prototype.createRenderPass=function(e){null!==this.currentRenderPassDescriptor&&this.currentRenderPassDescriptorStack.push(this.currentRenderPassDescriptor),this.currentRenderPassDescriptor=e,this.formatRenderPassDescriptor(e);var t=e.colorAttachment,r=e.colorAttachmentLevel,n=e.colorClearColor,o=e.colorResolveTo,a=e.colorResolveToLevel,i=e.depthStencilAttachment,s=e.depthClearValue,l=e.stencilClearValue,_=e.depthStencilResolveTo,u=o&&1===o.length&&o[0]===this.scTexture;this.setRenderPassParametersBegin(t.length,u);for(var E=0;t.length>E;E++)this.setRenderPassParametersColor(E,t[E],r[E],o[E],a[E],u);this.setRenderPassParametersDepthStencil(i,_,u),this.validateCurrentAttachments();for(E=0;t.length>E;E++){var c=n[E];"load"!==c&&this.setRenderPassParametersClearColor(E,c.r,c.g,c.b,c.a)}return this.setRenderPassParametersClearDepthStencil(s,l),this},t.prototype.submitPass=function(e){y(null!==this.currentRenderPassDescriptor),this.endPass(),this.currentRenderPassDescriptor=this.currentRenderPassDescriptorStack.length?this.currentRenderPassDescriptorStack.pop():null},t.prototype.copySubTexture2D=function(e,t,r,n,o,a){var i=this.gl,s=e,l=n;if(y(1===l.mipLevelCount),y(1===s.mipLevelCount),mt(i))s===this.scTexture?i.bindFramebuffer(i.DRAW_FRAMEBUFFER,this.scPlatformFramebuffer):(i.bindFramebuffer(i.DRAW_FRAMEBUFFER,this.resolveColorDrawFramebuffer),this.bindFramebufferAttachment(i.DRAW_FRAMEBUFFER,i.COLOR_ATTACHMENT0,s,0)),i.bindFramebuffer(i.READ_FRAMEBUFFER,this.resolveColorReadFramebuffer),this.bindFramebufferAttachment(i.READ_FRAMEBUFFER,i.COLOR_ATTACHMENT0,l,0),i.blitFramebuffer(o,a,o+l.width,a+l.height,t,r,t+l.width,r+l.height,i.COLOR_BUFFER_BIT,i.LINEAR),i.bindFramebuffer(i.READ_FRAMEBUFFER,null),i.bindFramebuffer(i.DRAW_FRAMEBUFFER,null);else if(s===this.scTexture){var _=this.createRenderTargetFromTexture(n);this.submitBlitRenderPass(_,s)}},t.prototype.queryLimits=function(){return this},t.prototype.queryTextureFormatSupported=function(t,r,n){switch(t){case e.Format.BC1_SRGB:case e.Format.BC2_SRGB:case e.Format.BC3_SRGB:return null!==this.WEBGL_compressed_texture_s3tc_srgb&&Pt(r,n,4,4);case e.Format.BC1:case e.Format.BC2:case e.Format.BC3:return null!==this.WEBGL_compressed_texture_s3tc&&Pt(r,n,4,4);case e.Format.BC4_UNORM:case e.Format.BC4_SNORM:case e.Format.BC5_UNORM:case e.Format.BC5_SNORM:return null!==this.EXT_texture_compression_rgtc&&Pt(r,n,4,4);case e.Format.U16_R_NORM:case e.Format.U16_RG_NORM:case e.Format.U16_RGBA_NORM:return null!==this.EXT_texture_norm16;case e.Format.F32_R:case e.Format.F32_RG:case e.Format.F32_RGB:case e.Format.F32_RGBA:return null!==this.OES_texture_float_linear;case e.Format.F16_R:case e.Format.F16_RG:case e.Format.F16_RGB:case e.Format.F16_RGBA:return null!==this.OES_texture_half_float_linear;default:return!0}},t.prototype.queryProgramReady=function(e){var t=this.gl;if(e.compileState===vt.NeedsCompile)throw Error("whoops");if(e.compileState===vt.Compiling){var r=void 0;return(r=null===this.KHR_parallel_shader_compile||t.getProgramParameter(e.gl_program,this.KHR_parallel_shader_compile.COMPLETION_STATUS_KHR))&&this.programCompiled(e),r}return e.compileState===vt.NeedsBind||e.compileState===vt.ReadyToUse},t.prototype.queryPlatformAvailable=function(){return this.gl.isContextLost()},t.prototype.queryVendorInfo=function(){return this},t.prototype.queryRenderPass=function(e){return this.currentRenderPassDescriptor},t.prototype.queryRenderTarget=function(e){return e},t.prototype.setResourceName=function(t,r){if(t.name=r,t.type===e.ResourceType.Buffer)for(var n=t.gl_buffer_pages,o=0;n.length>o;o++)It(n[o],"".concat(r," Page ").concat(o));else if(t.type===e.ResourceType.Texture)It(Ot(t),r);else if(t.type===e.ResourceType.Sampler)It(Mt(t),r);else if(t.type===e.ResourceType.RenderTarget){var a=t.gl_renderbuffer;null!==a&&It(a,r)}else t.type===e.ResourceType.InputLayout&&It(t.vao,r)},t.prototype.setResourceLeakCheck=function(e,t){null!==this.resourceCreationTracker&&this.resourceCreationTracker.setResourceLeakCheck(e,t)},t.prototype.checkForLeaks=function(){null!==this.resourceCreationTracker&&this.resourceCreationTracker.checkForLeaks()},t.prototype.pushDebugGroup=function(e){},t.prototype.popDebugGroup=function(){},t.prototype.insertDebugMarker=function(e){},t.prototype.programPatched=function(e,t){y(this.shaderDebug)},t.prototype.getBufferData=function(e,t,r){void 0===r&&(r=0);var n=this.gl;mt(n)&&(n.bindBuffer(n.COPY_READ_BUFFER,Lt(e,4*r)),n.getBufferSubData(n.COPY_READ_BUFFER,4*r,t))},t.prototype.debugGroupStatisticsDrawCall=function(e){void 0===e&&(e=1);for(var t=this.debugGroupStack.length-1;t>=0;t--)this.debugGroupStack[t].drawCallCount+=e},t.prototype.debugGroupStatisticsBufferUpload=function(e){void 0===e&&(e=1);for(var t=this.debugGroupStack.length-1;t>=0;t--)this.debugGroupStack[t].bufferUploadCount+=e},t.prototype.debugGroupStatisticsTextureBind=function(e){void 0===e&&(e=1);for(var t=this.debugGroupStack.length-1;t>=0;t--)this.debugGroupStack[t].textureBindCount+=e},t.prototype.debugGroupStatisticsTriangles=function(e){for(var t=this.debugGroupStack.length-1;t>=0;t--)this.debugGroupStack[t].triangleCount+=e},t.prototype.reportShaderError=function(e,t){var r=this.gl,n=r.getShaderParameter(e,r.COMPILE_STATUS);if(!n){console.error(ee(t));var o=r.getExtension("WEBGL_debug_shaders");o&&console.error(o.getTranslatedShaderSource(e)),console.error(r.getShaderInfoLog(e))}return n},t.prototype.checkProgramCompilationForErrors=function(e){var t=this.gl;if(!t.getProgramParameter(e.gl_program,t.LINK_STATUS)){var r=e.descriptor;if(!this.reportShaderError(e.gl_shader_vert,r.vertex.glsl))return;if(!this.reportShaderError(e.gl_shader_frag,r.fragment.glsl))return;console.error(t.getProgramInfoLog(e.gl_program))}},t.prototype.bindFramebufferAttachment=function(t,r,n,o){var a=this.gl;if(ge(n))a.framebufferRenderbuffer(t,r,a.RENDERBUFFER,null);else if(n.type===e.ResourceType.RenderTarget)null!==n.gl_renderbuffer?a.framebufferRenderbuffer(t,r,a.RENDERBUFFER,n.gl_renderbuffer):null!==n.texture&&a.framebufferTexture2D(t,r,e.GL.TEXTURE_2D,Ot(n.texture),o);else if(n.type===e.ResourceType.Texture){var i=Ot(n);n.dimension===e.TextureDimension.TEXTURE_2D?a.framebufferTexture2D(t,r,e.GL.TEXTURE_2D,i,o):mt(a)}},t.prototype.bindFramebufferDepthStencilAttachment=function(t,r){var n=this.gl,o=ge(r)?e.FormatFlags.Depth|e.FormatFlags.Stencil:U(r.format),a=!!(o&e.FormatFlags.Depth),i=!!(o&e.FormatFlags.Stencil);if(a&&i){var s=mt(this.gl)||!mt(this.gl)&&!!this.WEBGL_depth_texture;this.bindFramebufferAttachment(t,s?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,r,0)}else a?(this.bindFramebufferAttachment(t,n.DEPTH_ATTACHMENT,r,0),this.bindFramebufferAttachment(t,n.STENCIL_ATTACHMENT,null,0)):i&&(this.bindFramebufferAttachment(t,n.STENCIL_ATTACHMENT,r,0),this.bindFramebufferAttachment(t,n.DEPTH_ATTACHMENT,null,0))},t.prototype.validateCurrentAttachments=function(){for(var e=-1,t=-1,r=-1,n=0;this.currentColorAttachments.length>n;n++){var o=this.currentColorAttachments[n];null!==o&&(-1===e?(e=o.sampleCount,t=o.width,r=o.height):(y(e===o.sampleCount),y(t===o.width),y(r===o.height)))}this.currentDepthStencilAttachment&&(-1===e?e=this.currentDepthStencilAttachment.sampleCount:(y(e===this.currentDepthStencilAttachment.sampleCount),y(t===this.currentDepthStencilAttachment.width),y(r===this.currentDepthStencilAttachment.height))),this.currentSampleCount=e},t.prototype.setRenderPassParametersBegin=function(t,r){void 0===r&&(r=!1);var n=this.gl;if(r)n.bindFramebuffer(e.GL.FRAMEBUFFER,null);else if(mt(n)?n.bindFramebuffer(e.GL.DRAW_FRAMEBUFFER,this.renderPassDrawFramebuffer):this.inBlitRenderPass||n.bindFramebuffer(e.GL.FRAMEBUFFER,this.renderPassDrawFramebuffer),mt(n)?n.drawBuffers([e.GL.COLOR_ATTACHMENT0,e.GL.COLOR_ATTACHMENT1,e.GL.COLOR_ATTACHMENT2,e.GL.COLOR_ATTACHMENT3]):!this.inBlitRenderPass&&this.WEBGL_draw_buffers&&this.WEBGL_draw_buffers.drawBuffersWEBGL([e.GL.COLOR_ATTACHMENT0_WEBGL,e.GL.COLOR_ATTACHMENT1_WEBGL,e.GL.COLOR_ATTACHMENT2_WEBGL,e.GL.COLOR_ATTACHMENT3_WEBGL]),!this.inBlitRenderPass)for(var o=t;this.currentColorAttachments.length>o;o++){var a=mt(n)?e.GL.DRAW_FRAMEBUFFER:e.GL.FRAMEBUFFER,i=mt(n)?e.GL.COLOR_ATTACHMENT0:e.GL.COLOR_ATTACHMENT0_WEBGL;n.framebufferRenderbuffer(a,i+o,e.GL.RENDERBUFFER,null),n.framebufferTexture2D(a,i+o,e.GL.TEXTURE_2D,null,0)}this.currentColorAttachments.length=t},t.prototype.setRenderPassParametersColor=function(t,r,n,o,a,i){void 0===i&&(i=!1);var s=mt(this.gl);this.currentColorAttachments[t]===r&&this.currentColorAttachmentLevels[t]===n||(this.currentColorAttachments[t]=r,this.currentColorAttachmentLevels[t]=n,!i&&(s||!s&&this.WEBGL_draw_buffers)&&this.bindFramebufferAttachment(s?e.GL.DRAW_FRAMEBUFFER:e.GL.FRAMEBUFFER,(s?e.GL.COLOR_ATTACHMENT0:e.GL.COLOR_ATTACHMENT0_WEBGL)+t,r,n),this.resolveColorAttachmentsChanged=!0),this.currentColorResolveTos[t]===o&&this.currentColorResolveToLevels[t]===a||(this.currentColorResolveTos[t]=o,this.currentColorResolveToLevels[t]=a,null!==o&&(this.resolveColorAttachmentsChanged=!0))},t.prototype.setRenderPassParametersDepthStencil=function(t,r,n){void 0===n&&(n=!1);var o=this.gl;this.currentDepthStencilAttachment!==t&&(this.currentDepthStencilAttachment=t,n||this.inBlitRenderPass||this.bindFramebufferDepthStencilAttachment(mt(o)?e.GL.DRAW_FRAMEBUFFER:e.GL.FRAMEBUFFER,this.currentDepthStencilAttachment),this.resolveDepthStencilAttachmentsChanged=!0),this.currentDepthStencilResolveTo!==r&&(this.currentDepthStencilResolveTo=r,r&&(this.resolveDepthStencilAttachmentsChanged=!0))},t.prototype.setRenderPassParametersClearColor=function(t,r,n,o,a){var i,s=this.gl;null!==this.OES_draw_buffers_indexed?(i=this.currentMegaState.attachmentsState[t])&&i.channelWriteMask!==e.ChannelWriteMask.ALL&&(this.OES_draw_buffers_indexed.colorMaskiOES(t,!0,!0,!0,!0),i.channelWriteMask=e.ChannelWriteMask.ALL):(i=this.currentMegaState.attachmentsState[0])&&i.channelWriteMask!==e.ChannelWriteMask.ALL&&(s.colorMask(!0,!0,!0,!0),i.channelWriteMask=e.ChannelWriteMask.ALL);this.setScissorRectEnabled(!1),mt(s)?s.clearBufferfv(s.COLOR,t,[r,n,o,a]):(s.clearColor(r,n,o,a),s.clear(s.COLOR_BUFFER_BIT))},t.prototype.setRenderPassParametersClearDepthStencil=function(e,t){void 0===e&&(e="load"),void 0===t&&(t="load");var r=this.gl;"load"!==e&&(y(!!this.currentDepthStencilAttachment),this.currentMegaState.depthWrite||(r.depthMask(!0),this.currentMegaState.depthWrite=!0),mt(r)?r.clearBufferfv(r.DEPTH,0,[e]):(r.clearDepth(e),r.clear(r.DEPTH_BUFFER_BIT))),"load"!==t&&(y(!!this.currentDepthStencilAttachment),this.currentMegaState.stencilWrite||(r.enable(r.STENCIL_TEST),r.stencilMask(255),this.currentMegaState.stencilWrite=!0),mt(r)?r.clearBufferiv(r.STENCIL,0,[t]):(r.clearStencil(t),r.clear(r.STENCIL_BUFFER_BIT)))},t.prototype.setBindings=function(e){var t,r=this;if(this.renderBundle)this.renderBundle.push((function(){return r.setBindings(e)}));else{var n=this.gl,o=e.uniformBufferBindings,a=e.samplerBindings,i=e.bindingLayouts;y(i.bindingLayoutTables.length>0);var s=i.bindingLayoutTables[0];y(o.length>=s.numUniformBuffers),y(a.length>=s.numSamplers);for(var l=0;o.length>l;l++){if(0!==(p=o[l]).size){var _=s.firstUniformBuffer+l,u=p.buffer,E=p.offset||0,c=p.size||u.byteSize;if(u!==this.currentUniformBuffers[_]||E!==this.currentUniformBufferByteOffsets[_]||c!==this.currentUniformBufferByteSizes[_]){var R=E%u.pageByteSize,T=u.gl_buffer_pages[E/u.pageByteSize|0];y(u.pageByteSize>=R+c),mt(n)&&n.bindBufferRange(n.UNIFORM_BUFFER,_,T,R,c),this.currentUniformBuffers[_]=u,this.currentUniformBufferByteOffsets[_]=E,this.currentUniformBufferByteSizes[_]=c}}}for(l=0;s.numSamplers>l;l++){var p,A=s.firstSampler+l,d=null!==(p=a[l])&&null!==p.sampler?Mt(p.sampler):null,F=null!==p&&null!==p.texture?Ot(p.texture):null;if(this.currentSamplers[A]!==d&&(mt(n)&&n.bindSampler(A,d),this.currentSamplers[A]=d),this.currentTextures[A]!==F){if(this.setActiveTexture(n.TEXTURE0+A),null!==F){var f=b(p).texture,m=f.gl_target,h=f.width,S=f.height;p.texture.textureIndex=A,n.bindTexture(m,F),mt(n)||null===(t=p.sampler)||void 0===t||t.setTextureParameters(m,h,S),this.debugGroupStatisticsTextureBind()}else{var g=Ae(Ae({},p),Re),B=g.formatKind;m=Gt(g.dimension);n.bindTexture(m,this.getFallbackTexture(Ae({gl_target:m,formatKind:B},g)))}this.currentTextures[A]=F}}}},t.prototype.setViewport=function(e,t,r,n){this.gl.viewport(e,t,r,n)},t.prototype.setScissorRect=function(e,t,r,n){var o=this.gl;this.setScissorRectEnabled(!0),o.scissor(e,t,r,n)},t.prototype.applyAttachmentStateIndexed=function(t,r,n){var o=this.gl,a=this.OES_draw_buffers_indexed;r.channelWriteMask!==n.channelWriteMask&&(a.colorMaskiOES(t,!!(n.channelWriteMask&e.ChannelWriteMask.RED),!!(n.channelWriteMask&e.ChannelWriteMask.GREEN),!!(n.channelWriteMask&e.ChannelWriteMask.BLUE),!!(n.channelWriteMask&e.ChannelWriteMask.ALPHA)),r.channelWriteMask=n.channelWriteMask);var i=r.rgbBlendState.blendMode!==n.rgbBlendState.blendMode||r.alphaBlendState.blendMode!==n.alphaBlendState.blendMode,s=r.rgbBlendState.blendSrcFactor!==n.rgbBlendState.blendSrcFactor||r.alphaBlendState.blendSrcFactor!==n.alphaBlendState.blendSrcFactor||r.rgbBlendState.blendDstFactor!==n.rgbBlendState.blendDstFactor||r.alphaBlendState.blendDstFactor!==n.alphaBlendState.blendDstFactor;(s||i)&&(Dt(r.rgbBlendState)&&Dt(r.alphaBlendState)?a.enableiOES(t,o.BLEND):Dt(n.rgbBlendState)&&Dt(n.alphaBlendState)&&a.disableiOES(t,o.BLEND)),i&&(a.blendEquationSeparateiOES(t,n.rgbBlendState.blendMode,n.alphaBlendState.blendMode),r.rgbBlendState.blendMode=n.rgbBlendState.blendMode,r.alphaBlendState.blendMode=n.alphaBlendState.blendMode),s&&(a.blendFuncSeparateiOES(t,n.rgbBlendState.blendSrcFactor,n.rgbBlendState.blendDstFactor,n.alphaBlendState.blendSrcFactor,n.alphaBlendState.blendDstFactor),r.rgbBlendState.blendSrcFactor=n.rgbBlendState.blendSrcFactor,r.alphaBlendState.blendSrcFactor=n.alphaBlendState.blendSrcFactor,r.rgbBlendState.blendDstFactor=n.rgbBlendState.blendDstFactor,r.alphaBlendState.blendDstFactor=n.alphaBlendState.blendDstFactor)},t.prototype.applyAttachmentState=function(t,r){var n=this.gl;t.channelWriteMask!==r.channelWriteMask&&(n.colorMask(!!(r.channelWriteMask&e.ChannelWriteMask.RED),!!(r.channelWriteMask&e.ChannelWriteMask.GREEN),!!(r.channelWriteMask&e.ChannelWriteMask.BLUE),!!(r.channelWriteMask&e.ChannelWriteMask.ALPHA)),t.channelWriteMask=r.channelWriteMask);var o=t.rgbBlendState.blendMode!==r.rgbBlendState.blendMode||t.alphaBlendState.blendMode!==r.alphaBlendState.blendMode,a=t.rgbBlendState.blendSrcFactor!==r.rgbBlendState.blendSrcFactor||t.alphaBlendState.blendSrcFactor!==r.alphaBlendState.blendSrcFactor||t.rgbBlendState.blendDstFactor!==r.rgbBlendState.blendDstFactor||t.alphaBlendState.blendDstFactor!==r.alphaBlendState.blendDstFactor;(a||o)&&(Dt(t.rgbBlendState)&&Dt(t.alphaBlendState)?n.enable(n.BLEND):Dt(r.rgbBlendState)&&Dt(r.alphaBlendState)&&n.disable(n.BLEND)),o&&(n.blendEquationSeparate(r.rgbBlendState.blendMode,r.alphaBlendState.blendMode),t.rgbBlendState.blendMode=r.rgbBlendState.blendMode,t.alphaBlendState.blendMode=r.alphaBlendState.blendMode),a&&(n.blendFuncSeparate(r.rgbBlendState.blendSrcFactor,r.rgbBlendState.blendDstFactor,r.alphaBlendState.blendSrcFactor,r.alphaBlendState.blendDstFactor),t.rgbBlendState.blendSrcFactor=r.rgbBlendState.blendSrcFactor,t.alphaBlendState.blendSrcFactor=r.alphaBlendState.blendSrcFactor,t.rgbBlendState.blendDstFactor=r.rgbBlendState.blendDstFactor,t.alphaBlendState.blendDstFactor=r.alphaBlendState.blendDstFactor)},t.prototype.setMegaState=function(t){var r=this.gl,n=this.currentMegaState;if(null!==this.OES_draw_buffers_indexed)for(var o=0;t.attachmentsState.length>o;o++)this.applyAttachmentStateIndexed(o,n.attachmentsState[0],t.attachmentsState[0]);else y(1===t.attachmentsState.length),this.applyAttachmentState(n.attachmentsState[0],t.attachmentsState[0]);x(n.blendConstant,t.blendConstant)||(r.blendColor(t.blendConstant.r,t.blendConstant.g,t.blendConstant.b,t.blendConstant.a),X(n.blendConstant,t.blendConstant)),n.depthCompare!==t.depthCompare&&(r.depthFunc(t.depthCompare),n.depthCompare=t.depthCompare),!!n.depthWrite!=!!t.depthWrite&&(r.depthMask(t.depthWrite),n.depthWrite=t.depthWrite),!!n.stencilWrite!=!!t.stencilWrite&&(r.stencilMask(t.stencilWrite?255:0),n.stencilWrite=t.stencilWrite);var a=!1;if(!ve(n.stencilFront,t.stencilFront)){a=!0;var i=t.stencilFront,s=i.failOp,l=i.depthFailOp,_=i.compare;n.stencilFront.passOp===(u=i.passOp)&&n.stencilFront.failOp===s&&n.stencilFront.depthFailOp===l||(r.stencilOpSeparate(r.FRONT,s,l,u),n.stencilFront.passOp=u,n.stencilFront.failOp=s,n.stencilFront.depthFailOp=l),n.stencilFront.compare!==_&&(this.setStencilReference(0),n.stencilFront.compare=_)}if(!ve(n.stencilBack,t.stencilBack)){a=!0;var u,E=t.stencilBack;s=E.failOp,l=E.depthFailOp,_=E.compare;n.stencilBack.passOp===(u=E.passOp)&&n.stencilBack.failOp===s&&n.stencilBack.depthFailOp===l||(r.stencilOpSeparate(r.BACK,s,l,u),n.stencilBack.passOp=u,n.stencilBack.failOp=s,n.stencilBack.depthFailOp=l),n.stencilBack.compare!==_&&(this.setStencilReference(0),n.stencilBack.compare=_)}n.stencilFront.mask===t.stencilFront.mask&&n.stencilBack.mask===t.stencilBack.mask||(a=!0,n.stencilFront.mask=t.stencilFront.mask,n.stencilBack.mask=t.stencilBack.mask),a&&this.applyStencil(),n.cullMode!==t.cullMode&&(n.cullMode===e.CullMode.NONE?r.enable(r.CULL_FACE):t.cullMode===e.CullMode.NONE&&r.disable(r.CULL_FACE),t.cullMode===e.CullMode.BACK?r.cullFace(r.BACK):t.cullMode===e.CullMode.FRONT?r.cullFace(r.FRONT):t.cullMode===e.CullMode.FRONT_AND_BACK&&r.cullFace(r.FRONT_AND_BACK),n.cullMode=t.cullMode),n.frontFace!==t.frontFace&&(r.frontFace(t.frontFace),n.frontFace=t.frontFace),n.polygonOffset!==t.polygonOffset&&(t.polygonOffset?r.enable(r.POLYGON_OFFSET_FILL):r.disable(r.POLYGON_OFFSET_FILL),n.polygonOffset=t.polygonOffset),n.polygonOffsetFactor===t.polygonOffsetFactor&&n.polygonOffsetUnits===t.polygonOffsetUnits||(r.polygonOffset(t.polygonOffsetFactor,t.polygonOffsetUnits),n.polygonOffsetFactor=t.polygonOffsetFactor,n.polygonOffsetUnits=t.polygonOffsetUnits)},t.prototype.validatePipelineFormats=function(e){for(var t=0;this.currentColorAttachments.length>t;t++);this.currentDepthStencilAttachment&&y(this.currentDepthStencilAttachment.format===e.depthStencilAttachmentFormat),-1!==this.currentSampleCount&&y(this.currentSampleCount===e.sampleCount)},t.prototype.setPipeline=function(e){var t=this;if(this.renderBundle)this.renderBundle.push((function(){return t.setPipeline(e)}));else{this.currentPipeline=e,this.validatePipelineFormats(this.currentPipeline),this.setMegaState(this.currentPipeline.megaState);var r=this.currentPipeline.program;if(this.useProgram(r),r.compileState===vt.NeedsBind){var n=this.gl,o=r.gl_program,a=r.descriptor,i=Ut(a.vertex.glsl,Zt);if(mt(n))for(var s=0;i.length>s;s++){var l=me(i[s],2),_=n.getUniformBlockIndex(o,l[1]);-1!==_&&4294967295!==_&&n.uniformBlockBinding(o,_,s)}var u=Ut(a.fragment.glsl,/^uniform .*sampler\S+ (\w+);\s* \/\/ BINDING=(\d+)$/gm);for(s=0;u.length>s;s++){var E=me(u[s],3),c=E[2],R=n.getUniformLocation(o,E[1]);n.uniform1i(R,parseInt(c))}r.compileState=vt.ReadyToUse}}},t.prototype.setVertexInput=function(t,r,n){var o,a,i,s=this;if(this.renderBundle)this.renderBundle.push((function(){return s.setVertexInput(t,r,n)}));else if(null!==t){y(this.currentPipeline.inputLayout===t);var l=t;this.bindVAO(l.vao);for(var _=this.gl,u=0;l.vertexBufferDescriptors.length>u;u++){var E=l.vertexBufferDescriptors[u],c=E.arrayStride,R=E.attributes;try{for(var T=(o=void 0,fe(R)),p=T.next();!p.done;p=T.next()){var A=p.value,d=A.shaderLocation,F=A.offset,f=mt(_)?d:null===(i=l.program.attributes[d])||void 0===i?void 0:i.location;if(!ge(f)){var m=r[u];if(null===m)continue;var h=A.vertexFormat;_.bindBuffer(_.ARRAY_BUFFER,Lt(m.buffer)),_.vertexAttribPointer(f,h.size,h.type,h.normalized,c,(m.offset||0)+F)}}}catch(e){o={error:e}}finally{try{p&&!p.done&&(a=T.return)&&a.call(T)}finally{if(o)throw o.error}}}if(y(null!==n==(null!==l.indexBufferFormat)),null!==n){var S=n.buffer;y(S.usage===e.BufferUsage.INDEX),_.bindBuffer(_.ELEMENT_ARRAY_BUFFER,Lt(S)),this.currentIndexBufferByteOffset=n.offset||0}else this.currentIndexBufferByteOffset=null}else y(null===this.currentPipeline.inputLayout),y(null===n),this.bindVAO(null),this.currentIndexBufferByteOffset=0},t.prototype.setStencilReference=function(e){this.currentStencilRef!==e&&(this.currentStencilRef=e,this.applyStencil())},t.prototype.draw=function(e,t,r,n){var o,a=this;if(this.renderBundle)this.renderBundle.push((function(){return a.draw(e,t,r,n)}));else{var i=this.gl,s=this.currentPipeline;if(t){var l=[s.drawMode,r||0,e,t];mt(i)?i.drawArraysInstanced.apply(i,he([],me(l),!1)):(o=this.ANGLE_instanced_arrays).drawArraysInstancedANGLE.apply(o,he([],me(l),!1))}else i.drawArrays(s.drawMode,r,e);this.debugGroupStatisticsDrawCall(),this.debugGroupStatisticsTriangles(e/3*Math.max(t,1))}},t.prototype.drawIndexed=function(e,t,r,n,o){var a,i=this;if(this.renderBundle)this.renderBundle.push((function(){return i.drawIndexed(e,t,r,n,o)}));else{var s=this.gl,l=this.currentPipeline,_=b(l.inputLayout),u=b(this.currentIndexBufferByteOffset)+r*_.indexBufferCompByteSize;if(t){var E=[l.drawMode,e,_.indexBufferType,u,t];mt(s)?s.drawElementsInstanced.apply(s,he([],me(E),!1)):(a=this.ANGLE_instanced_arrays).drawElementsInstancedANGLE.apply(a,he([],me(E),!1))}else s.drawElements(l.drawMode,e,_.indexBufferType,u);this.debugGroupStatisticsDrawCall(),this.debugGroupStatisticsTriangles(e/3*Math.max(t,1))}},t.prototype.drawIndirect=function(e,t){},t.prototype.drawIndexedIndirect=function(e,t){},t.prototype.beginOcclusionQuery=function(e){var t=this.gl;if(mt(t)){var r=this.currentRenderPassDescriptor.occlusionQueryPool;t.beginQuery(r.gl_query_type,r.gl_query[e])}},t.prototype.endOcclusionQuery=function(){var e=this.gl;mt(e)&&e.endQuery(this.currentRenderPassDescriptor.occlusionQueryPool.gl_query_type)},t.prototype.pipelineQueryReady=function(e){return this.queryProgramReady(e.program)},t.prototype.pipelineForceReady=function(e){},t.prototype.endPass=function(){for(var t=this.gl,r=mt(t),n=1===this.currentColorResolveTos.length&&this.currentColorResolveTos[0]===this.scTexture,o=!1,a=0;this.currentColorAttachments.length>a;a++){var i=this.currentColorAttachments[a];if(null!==i){var s=this.currentColorResolveTos[a],l=!1;null!==s&&(y(i.width===s.width&&i.height===s.height),this.setScissorRectEnabled(!1),n||(r&&t.bindFramebuffer(t.READ_FRAMEBUFFER,this.resolveColorReadFramebuffer),this.resolveColorAttachmentsChanged&&r&&this.bindFramebufferAttachment(t.READ_FRAMEBUFFER,t.COLOR_ATTACHMENT0,i,this.currentColorAttachmentLevels[a])),l=!0,n||(s===this.scTexture?t.bindFramebuffer(r?e.GL.DRAW_FRAMEBUFFER:e.GL.FRAMEBUFFER,this.scPlatformFramebuffer):(t.bindFramebuffer(r?e.GL.DRAW_FRAMEBUFFER:e.GL.FRAMEBUFFER,this.resolveColorDrawFramebuffer),this.resolveColorAttachmentsChanged&&t.framebufferTexture2D(r?e.GL.DRAW_FRAMEBUFFER:e.GL.FRAMEBUFFER,t.COLOR_ATTACHMENT0,t.TEXTURE_2D,s.gl_texture,this.currentColorResolveToLevels[a]))),n||(r?(t.blitFramebuffer(0,0,i.width,i.height,0,0,s.width,s.height,t.COLOR_BUFFER_BIT,t.LINEAR),t.bindFramebuffer(t.DRAW_FRAMEBUFFER,null)):this.submitBlitRenderPass(i,s)),o=!0),this.currentRenderPassDescriptor.colorStore[a]||n||l||(t.bindFramebuffer(r?e.GL.READ_FRAMEBUFFER:e.GL.FRAMEBUFFER,this.resolveColorReadFramebuffer),this.resolveColorAttachmentsChanged&&this.bindFramebufferAttachment(r?e.GL.READ_FRAMEBUFFER:e.GL.FRAMEBUFFER,t.COLOR_ATTACHMENT0,i,this.currentColorAttachmentLevels[a])),n||t.bindFramebuffer(r?e.GL.READ_FRAMEBUFFER:e.GL.FRAMEBUFFER,null)}}this.resolveColorAttachmentsChanged=!1;var _=this.currentDepthStencilAttachment;if(_){var u=this.currentDepthStencilResolveTo;l=!1;u&&(y(_.width===u.width&&_.height===u.height),this.setScissorRectEnabled(!1),n||(t.bindFramebuffer(r?e.GL.READ_FRAMEBUFFER:e.GL.FRAMEBUFFER,this.resolveDepthStencilReadFramebuffer),t.bindFramebuffer(r?e.GL.DRAW_FRAMEBUFFER:e.GL.FRAMEBUFFER,this.resolveDepthStencilDrawFramebuffer),this.resolveDepthStencilAttachmentsChanged&&(this.bindFramebufferDepthStencilAttachment(r?e.GL.READ_FRAMEBUFFER:e.GL.FRAMEBUFFER,_),this.bindFramebufferDepthStencilAttachment(r?e.GL.DRAW_FRAMEBUFFER:e.GL.FRAMEBUFFER,u))),l=!0,n||(r&&t.blitFramebuffer(0,0,_.width,_.height,0,0,u.width,u.height,t.DEPTH_BUFFER_BIT,t.NEAREST),t.bindFramebuffer(r?e.GL.DRAW_FRAMEBUFFER:e.GL.FRAMEBUFFER,null)),o=!0),n||this.currentRenderPassDescriptor.depthStencilStore||(l||(t.bindFramebuffer(r?e.GL.READ_FRAMEBUFFER:e.GL.FRAMEBUFFER,this.resolveDepthStencilReadFramebuffer),this.resolveDepthStencilAttachmentsChanged&&this.bindFramebufferDepthStencilAttachment(r?e.GL.READ_FRAMEBUFFER:e.GL.FRAMEBUFFER,_),l=!0),r&&t.invalidateFramebuffer(t.READ_FRAMEBUFFER,[t.DEPTH_STENCIL_ATTACHMENT])),!n&&l&&t.bindFramebuffer(r?e.GL.READ_FRAMEBUFFER:e.GL.FRAMEBUFFER,null),this.resolveDepthStencilAttachmentsChanged=!1}n||o||t.bindFramebuffer(r?e.GL.DRAW_FRAMEBUFFER:e.GL.FRAMEBUFFER,null)},t.prototype.setScissorRectEnabled=function(e){if(this.currentScissorEnabled!==e){var t=this.gl;e?t.enable(t.SCISSOR_TEST):t.disable(t.SCISSOR_TEST),this.currentScissorEnabled=e}},t.prototype.applyStencil=function(){ge(this.currentStencilRef)||(this.gl.stencilFuncSeparate(e.GL.FRONT,this.currentMegaState.stencilFront.compare,this.currentStencilRef,this.currentMegaState.stencilFront.mask||255),this.gl.stencilFuncSeparate(e.GL.BACK,this.currentMegaState.stencilBack.compare,this.currentStencilRef,this.currentMegaState.stencilBack.mask||255))},t.prototype.getFallbackTexture=function(t){var r=t.gl_target;if(r===e.GL.TEXTURE_2D)return t.formatKind===e.SamplerFormatKind.Depth?this.fallbackTexture2DDepth:this.fallbackTexture2D;if(r===e.GL.TEXTURE_2D_ARRAY)return this.fallbackTexture2DArray;if(r===e.GL.TEXTURE_3D)return this.fallbackTexture3D;if(r===e.GL.TEXTURE_CUBE_MAP)return this.fallbackTextureCube;throw Error("whoops")},t.prototype.submitBlitRenderPass=function(t,r){this.blitRenderPipeline||(this.blitProgram=this.createProgram({vertex:{glsl:"layout(location = 0) in vec2 a_Position;\nout vec2 v_TexCoord;\nvoid main() {\n v_TexCoord = 0.5 * (a_Position + 1.0);\n gl_Position = vec4(a_Position, 0., 1.);\n\n #ifdef VIEWPORT_ORIGIN_TL\n v_TexCoord.y = 1.0 - v_TexCoord.y;\n #endif\n}"},fragment:{glsl:"uniform sampler2D u_Texture;\nin vec2 v_TexCoord;\nout vec4 outputColor;\nvoid main() {\n outputColor = texture(SAMPLER_2D(u_Texture), v_TexCoord);\n}"}}),this.blitVertexBuffer=this.createBuffer({usage:e.BufferUsage.VERTEX|e.BufferUsage.COPY_DST,viewOrSize:new Float32Array([-4,-4,4,-4,0,4])}),this.blitInputLayout=this.createInputLayout({vertexBufferDescriptors:[{arrayStride:8,stepMode:e.VertexStepMode.VERTEX,attributes:[{format:e.Format.F32_RG,offset:0,shaderLocation:0}]}],indexBufferFormat:null,program:this.blitProgram}),this.blitRenderPipeline=this.createRenderPipeline({topology:e.PrimitiveTopology.TRIANGLES,sampleCount:1,program:this.blitProgram,colorAttachmentFormats:[e.Format.U8_RGBA_RT],depthStencilAttachmentFormat:null,inputLayout:this.blitInputLayout,megaStateDescriptor:se(ue)}),this.blitBindings=this.createBindings({samplerBindings:[{sampler:null,texture:t.texture}],uniformBufferBindings:[]}),this.blitProgram.setUniformsLegacy({u_Texture:t}));var n=this.currentRenderPassDescriptor;this.currentRenderPassDescriptor=null,this.inBlitRenderPass=!0;var o=this.createRenderPass({colorAttachment:[t],colorResolveTo:[r],colorClearColor:[k]}),a=this.getCanvas(),i=a.width,s=a.height;o.setPipeline(this.blitRenderPipeline),o.setBindings(this.blitBindings),o.setVertexInput(this.blitInputLayout,[{buffer:this.blitVertexBuffer}],null),o.setViewport(0,0,i,s),this.gl.disable(this.gl.BLEND),o.draw(3,0),this.gl.enable(this.gl.BLEND),this.currentRenderPassDescriptor=n,this.inBlitRenderPass=!1},t}(),jt=function(){function e(e){this.pluginOptions=e}return e.prototype.createSwapChain=function(e){return de(this,void 0,void 0,(function(){var t,r,n,o,a,i,s,l,_;return Fe(this,(function(u){return r=(t=this.pluginOptions).targets,i=t.shaderDebug,s=t.trackResources,l={antialias:void 0!==(n=t.antialias)&&n,preserveDrawingBuffer:void 0!==(o=t.preserveDrawingBuffer)&&o,stencil:!0,premultipliedAlpha:void 0===(a=t.premultipliedAlpha)||a,xrCompatible:t.xrCompatible},this.handleContextEvents(e),r.includes("webgl2")&&(_=e.getContext("webgl2",l)||e.getContext("experimental-webgl2",l)),!_&&r.includes("webgl1")&&(_=e.getContext("webgl",l)||e.getContext("experimental-webgl",l)),[2,new Qt(_,{shaderDebug:i,trackResources:s})]}))}))},e.prototype.handleContextEvents=function(e){var t=this.pluginOptions,r=t.onContextLost,n=t.onContextRestored,o=t.onContextCreationError;o&&e.addEventListener("webglcontextcreationerror",o,!1),r&&e.addEventListener("webglcontextlost",r,!1),n&&e.addEventListener("webglcontextrestored",n,!1)},e}();let $t;const Jt="undefined"!=typeof TextDecoder?new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}):{decode:()=>{throw Error("TextDecoder not available")}};"undefined"!=typeof TextDecoder&&Jt.decode();let er=null;function tr(){return null!==er&&0!==er.byteLength||(er=new Uint8Array($t.memory.buffer)),er}function rr(e,t){return e>>>=0,Jt.decode(tr().subarray(e,e+t))}const nr=Array(128).fill(void 0);nr.push(void 0,null,!0,!1);let or=nr.length;function ar(e){return nr[e]}function ir(e){const t=ar(e);return function(e){132>e||(nr[e]=or,or=e)}(e),t}let sr=0;const lr="undefined"!=typeof TextEncoder?new TextEncoder("utf-8"):{encode:()=>{throw Error("TextEncoder not available")}},_r="function"==typeof lr.encodeInto?function(e,t){return lr.encodeInto(e,t)}:function(e,t){const r=lr.encode(e);return t.set(r),{read:e.length,written:r.length}};function ur(e,t,r){if(void 0===r){const r=lr.encode(e),n=t(r.length,1)>>>0;return tr().subarray(n,n+r.length).set(r),sr=r.length,n}let n=e.length,o=t(n,1)>>>0;const a=tr();let i=0;for(;n>i;i++){const t=e.charCodeAt(i);if(t>127)break;a[o+i]=t}if(i!==n){0!==i&&(e=e.slice(i)),o=r(o,n,n=i+3*e.length,1)>>>0;const t=tr().subarray(o+i,o+n);i+=_r(e,t).written}return sr=i,o}let Er=null;function cr(){return null!==Er&&0!==Er.byteLength||(Er=new Int32Array($t.memory.buffer)),Er}function Rr(e,t,r){let n,o;try{const s=$t.__wbindgen_add_to_stack_pointer(-16),l=ur(e,$t.__wbindgen_malloc,$t.__wbindgen_realloc),_=sr,u=ur(t,$t.__wbindgen_malloc,$t.__wbindgen_realloc);$t.glsl_compile(s,l,_,u,sr,r);var a=cr()[s/4+0],i=cr()[s/4+1];return n=a,o=i,rr(a,i)}finally{$t.__wbindgen_add_to_stack_pointer(16),$t.__wbindgen_free(n,o,1)}}class Tr{static __wrap(e){e>>>=0;const t=Object.create(Tr.prototype);return t.__wbg_ptr=e,t}__destroy_into_raw(){const e=this.__wbg_ptr;return this.__wbg_ptr=0,e}free(){const e=this.__destroy_into_raw();$t.__wbg_wgslcomposer_free(e)}constructor(){const e=$t.wgslcomposer_new();return Tr.__wrap(e)}load_composable(e){const t=ur(e,$t.__wbindgen_malloc,$t.__wbindgen_realloc);$t.wgslcomposer_load_composable(this.__wbg_ptr,t,sr)}wgsl_compile(e){let t,r;try{const a=$t.__wbindgen_add_to_stack_pointer(-16),i=ur(e,$t.__wbindgen_malloc,$t.__wbindgen_realloc);$t.wgslcomposer_wgsl_compile(a,this.__wbg_ptr,i,sr);var n=cr()[a/4+0],o=cr()[a/4+1];return t=n,r=o,rr(n,o)}finally{$t.__wbindgen_add_to_stack_pointer(16),$t.__wbindgen_free(t,r,1)}}}function pr(){const e={wbg:{}};return e.wbg.__wbindgen_string_new=function(e,t){return function(e){or===nr.length&&nr.push(nr.length+1);const t=or;return or=nr[t],nr[t]=e,t}(rr(e,t))},e.wbg.__wbindgen_object_drop_ref=function(e){ir(e)},e.wbg.__wbg_log_1d3ae0273d8f4f8a=function(e){console.log(ar(e))},e.wbg.__wbg_log_576ca876af0d4a77=function(e,t){console.log(ar(e),ar(t))},e.wbg.__wbindgen_throw=function(e,t){throw Error(rr(e,t))},e}async function Ar(e){if(void 0!==$t)return $t;const t=pr();("string"==typeof e||"function"==typeof Request&&e instanceof Request||"function"==typeof URL&&e instanceof URL)&&(e=fetch(e));const{instance:r,module:n}=await async function(e,t){if("function"==typeof Response&&e instanceof Response){if("function"==typeof WebAssembly.instantiateStreaming)try{return await WebAssembly.instantiateStreaming(e,t)}catch(t){if("application/wasm"==e.headers.get("Content-Type"))throw t;console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",t)}const r=await e.arrayBuffer();return await WebAssembly.instantiate(r,t)}{const r=await WebAssembly.instantiate(e,t);return r instanceof WebAssembly.Instance?{instance:r,module:e}:r}}(await e,t);return function(e,t){return $t=e.exports,Ar.__wbindgen_wasm_module=t,Er=null,er=null,$t}(r,n)}var dr,Fr;function fr(t){if(t===e.Format.U8_R_NORM)return"r8unorm";if(t===e.Format.S8_R_NORM)return"r8snorm";if(t===e.Format.U8_RG_NORM)return"rg8unorm";if(t===e.Format.S8_RG_NORM)return"rg8snorm";if(t===e.Format.U32_R)return"r32uint";if(t===e.Format.S32_R)return"r32sint";if(t===e.Format.F32_R)return"r32float";if(t===e.Format.U16_RG)return"rg16uint";if(t===e.Format.S16_RG)return"rg16sint";if(t===e.Format.F16_RG)return"rg16float";if(t===e.Format.U8_RGBA_RT)return"bgra8unorm";if(t===e.Format.U8_RGBA_RT_SRGB)return"bgra8unorm-srgb";if(t===e.Format.U8_RGBA_NORM)return"rgba8unorm";if(t===e.Format.U8_RGBA_SRGB)return"rgba8unorm-srgb";if(t===e.Format.S8_RGBA_NORM)return"rgba8snorm";if(t===e.Format.U32_RG)return"rg32uint";if(t===e.Format.S32_RG)return"rg32sint";if(t===e.Format.F32_RG)return"rg32float";if(t===e.Format.U16_RGBA)return"rgba16uint";if(t===e.Format.S16_RGBA)return"rgba16sint";if(t===e.Format.F16_RGBA)return"rgba16float";if(t===e.Format.F32_RGBA)return"rgba32float";if(t===e.Format.U32_RGBA)return"rgba32uint";if(t===e.Format.S32_RGBA)return"rgba32sint";if(t===e.Format.D24)return"depth24plus";if(t===e.Format.D24_S8)return"depth24plus-stencil8";if(t===e.Format.D32F)return"depth32float";if(t===e.Format.D32F_S8)return"depth32float-stencil8";if(t===e.Format.BC1)return"bc1-rgba-unorm";if(t===e.Format.BC1_SRGB)return"bc1-rgba-unorm-srgb";if(t===e.Format.BC2)return"bc2-rgba-unorm";if(t===e.Format.BC2_SRGB)return"bc2-rgba-unorm-srgb";if(t===e.Format.BC3)return"bc3-rgba-unorm";if(t===e.Format.BC3_SRGB)return"bc3-rgba-unorm-srgb";if(t===e.Format.BC4_SNORM)return"bc4-r-snorm";if(t===e.Format.BC4_UNORM)return"bc4-r-unorm";if(t===e.Format.BC5_SNORM)return"bc5-rg-snorm";if(t===e.Format.BC5_UNORM)return"bc5-rg-unorm";throw"whoops"}function mr(t){if(t===e.TextureDimension.TEXTURE_2D)return"2d";if(t===e.TextureDimension.TEXTURE_CUBE_MAP)return"cube";if(t===e.TextureDimension.TEXTURE_2D_ARRAY)return"2d-array";if(t===e.TextureDimension.TEXTURE_3D)return"3d";throw Error("whoops")}function hr(t){if(t===e.AddressMode.CLAMP_TO_EDGE)return"clamp-to-edge";if(t===e.AddressMode.REPEAT)return"repeat";if(t===e.AddressMode.MIRRORED_REPEAT)return"mirror-repeat";throw Error("whoops")}function Sr(t){if(t===e.FilterMode.BILINEAR)return"linear";if(t===e.FilterMode.POINT)return"nearest";throw Error("whoops")}function gr(t){if(t===e.MipmapFilterMode.LINEAR)return"linear";if(t===e.MipmapFilterMode.NEAREST)return"nearest";if(t===e.MipmapFilterMode.NO_MIP)return"nearest";throw Error("whoops")}function Br(e){return e.gpuBuffer}function Nr(t){if(t===e.QueryPoolType.OcclusionConservative)return"occlusion";throw Error("whoops")}function Cr(t){switch(t){case e.PrimitiveTopology.TRIANGLES:return"triangle-list";case e.PrimitiveTopology.POINTS:return"point-list";case e.PrimitiveTopology.TRIANGLE_STRIP:return"triangle-strip";case e.PrimitiveTopology.LINES:return"line-list";case e.PrimitiveTopology.LINE_STRIP:return"line-strip";default:throw Error("Unknown primitive topology mode")}}function Lr(t){if(t===e.CullMode.NONE)return"none";if(t===e.CullMode.FRONT)return"front";if(t===e.CullMode.BACK)return"back";throw Error("whoops")}function Or(t){if(t===e.FrontFace.CCW)return"ccw";if(t===e.FrontFace.CW)return"cw";throw Error("whoops")}function Mr(t){if(t===e.BlendFactor.ZERO)return"zero";if(t===e.BlendFactor.ONE)return"one";if(t===e.BlendFactor.SRC)return"src";if(t===e.BlendFactor.ONE_MINUS_SRC)return"one-minus-src";if(t===e.BlendFactor.DST)return"dst";if(t===e.BlendFactor.ONE_MINUS_DST)return"one-minus-dst";if(t===e.BlendFactor.SRC_ALPHA)return"src-alpha";if(t===e.BlendFactor.ONE_MINUS_SRC_ALPHA)return"one-minus-src-alpha";if(t===e.BlendFactor.DST_ALPHA)return"dst-alpha";if(t===e.BlendFactor.ONE_MINUS_DST_ALPHA)return"one-minus-dst-alpha";if(t===e.BlendFactor.CONST)return"constant";if(t===e.BlendFactor.ONE_MINUS_CONSTANT)return"one-minus-constant";if(t===e.BlendFactor.SRC_ALPHA_SATURATE)return"src-alpha-saturated";throw Error("whoops")}function Ir(t){if(t===e.BlendMode.ADD)return"add";if(t===e.BlendMode.SUBSTRACT)return"subtract";if(t===e.BlendMode.REVERSE_SUBSTRACT)return"reverse-subtract";if(t===e.BlendMode.MIN)return"min";if(t===e.BlendMode.MAX)return"max";throw Error("whoops")}function Ur(e){return{operation:Ir(e.blendMode),srcFactor:Mr(e.blendSrcFactor),dstFactor:Mr(e.blendDstFactor)}}function Dr(t){return t.blendMode===e.BlendMode.ADD&&t.blendSrcFactor===e.BlendFactor.ONE&&t.blendDstFactor===e.BlendFactor.ZERO}function Gr(e){return Dr(e.rgbBlendState)&&Dr(e.alphaBlendState)?void 0:{color:Ur(e.rgbBlendState),alpha:Ur(e.alphaBlendState)}}function Pr(e,t){return t.attachmentsState.map((function(t,r){return function(e,t){return{format:fr(t),blend:Gr(e),writeMask:e.channelWriteMask}}(t,e[r])}))}function vr(t){if(t===e.CompareFunction.NEVER)return"never";if(t===e.CompareFunction.LESS)return"less";if(t===e.CompareFunction.EQUAL)return"equal";if(t===e.CompareFunction.LEQUAL)return"less-equal";if(t===e.CompareFunction.GREATER)return"greater";if(t===e.CompareFunction.NOTEQUAL)return"not-equal";if(t===e.CompareFunction.GEQUAL)return"greater-equal";if(t===e.CompareFunction.ALWAYS)return"always";throw Error("whoops")}function yr(t){if(t===e.StencilOp.KEEP)return"keep";if(t===e.StencilOp.REPLACE)return"replace";if(t===e.StencilOp.ZERO)return"zero";if(t===e.StencilOp.DECREMENT_CLAMP)return"decrement-clamp";if(t===e.StencilOp.DECREMENT_WRAP)return"decrement-wrap";if(t===e.StencilOp.INCREMENT_CLAMP)return"increment-clamp";if(t===e.StencilOp.INCREMENT_WRAP)return"increment-wrap";if(t===e.StencilOp.INVERT)return"invert";throw Error("whoops")}function br(t){if(t===e.VertexStepMode.VERTEX)return"vertex";if(t===e.VertexStepMode.INSTANCE)return"instance";throw Error("whoops")}function xr(t){if(t===e.Format.U8_R)return"uint8x2";if(t===e.Format.U8_RG)return"uint8x2";if(t===e.Format.U8_RGB)return"uint8x4";if(t===e.Format.U8_RGBA)return"uint8x4";if(t===e.Format.U8_RG_NORM)return"unorm8x2";if(t===e.Format.U8_RGBA_NORM)return"unorm8x4";if(t===e.Format.S8_RGB_NORM)return"snorm8x4";if(t===e.Format.S8_RGBA_NORM)return"snorm8x4";if(t===e.Format.U16_RG_NORM)return"unorm16x2";if(t===e.Format.U16_RGBA_NORM)return"unorm16x4";if(t===e.Format.S16_RG_NORM)return"snorm16x2";if(t===e.Format.S16_RGBA_NORM)return"snorm16x4";if(t===e.Format.S16_RG)return"uint16x2";if(t===e.Format.F16_RG)return"float16x2";if(t===e.Format.F16_RGBA)return"float16x4";if(t===e.Format.F32_R)return"float32";if(t===e.Format.F32_RG)return"float32x2";if(t===e.Format.F32_RGB)return"float32x3";if(t===e.Format.F32_RGBA)return"float32x4";throw"whoops"}function Xr(t,r,n,o){switch(void 0===n&&(n=!1),t){case e.Format.S8_R:case e.Format.S8_R_NORM:case e.Format.S8_RG_NORM:case e.Format.S8_RGB_NORM:case e.Format.S8_RGBA_NORM:var a=(ArrayBuffer,new Int8Array(r));return o&&a.set(new Int8Array(o)),a;case e.Format.U8_R:case e.Format.U8_R_NORM:case e.Format.U8_RG:case e.Format.U8_RG_NORM:case e.Format.U8_RGB:case e.Format.U8_RGB_NORM:case e.Format.U8_RGB_SRGB:case e.Format.U8_RGBA:case e.Format.U8_RGBA_NORM:case e.Format.U8_RGBA_SRGB:var i=(ArrayBuffer,new Uint8Array(r));return o&&i.set(new Uint8Array(o)),i;case e.Format.S16_R:case e.Format.S16_RG:case e.Format.S16_RG_NORM:case e.Format.S16_RGB_NORM:case e.Format.S16_RGBA:case e.Format.S16_RGBA_NORM:var s=r instanceof ArrayBuffer?new Int16Array(r):new Int16Array(n?r/2:r);return o&&s.set(new Int16Array(o)),s;case e.Format.U16_R:case e.Format.U16_RGB:case e.Format.U16_RGBA_5551:case e.Format.U16_RGBA_NORM:case e.Format.U16_RG_NORM:case e.Format.U16_R_NORM:var l=r instanceof ArrayBuffer?new Uint16Array(r):new Uint16Array(n?r/2:r);return o&&l.set(new Uint16Array(o)),l;case e.Format.S32_R:var _=r instanceof ArrayBuffer?new Int32Array(r):new Int32Array(n?r/4:r);return o&&_.set(new Int32Array(o)),_;case e.Format.U32_R:case e.Format.U32_RG:var u=r instanceof ArrayBuffer?new Uint32Array(r):new Uint32Array(n?r/4:r);return o&&u.set(new Uint32Array(o)),u;case e.Format.F32_R:case e.Format.F32_RG:case e.Format.F32_RGB:case e.Format.F32_RGBA:var E=r instanceof ArrayBuffer?new Float32Array(r):new Float32Array(n?r/4:r);return o&&E.set(new Float32Array(o)),E}var c=(ArrayBuffer,new Uint8Array(r));return o&&c.set(new Uint8Array(o)),c}function wr(e){switch(e){case"r8unorm":case"r8snorm":case"r8uint":case"r8sint":return{width:1,height:1,length:1};case"r16uint":case"r16sint":case"r16float":case"rg8unorm":case"rg8snorm":case"rg8uint":case"rg8sint":case"depth16unorm":return{width:1,height:1,length:2};case"r32uint":case"r32sint":case"r32float":case"rg16uint":case"rg16sint":case"rg16float":case"rgba8unorm":case"rgba8unorm-srgb":case"rgba8snorm":case"rgba8uint":case"rgba8sint":case"bgra8unorm":case"bgra8unorm-srgb":case"rgb9e5ufloat":case"rgb10a2unorm":case"rg11b10ufloat":case"depth32float":default:return{width:1,height:1,length:4};case"rg32uint":case"rg32sint":case"rg32float":case"rgba16uint":case"rgba16sint":case"rgba16float":return{width:1,height:1,length:8};case"rgba32uint":case"rgba32sint":case"rgba32float":return{width:1,height:1,length:16};case"stencil8":throw Error("No fixed size for Stencil8 format!");case"depth24plus":throw Error("No fixed size for Depth24Plus format!");case"depth24plus-stencil8":throw Error("No fixed size for Depth24PlusStencil8 format!");case"depth32float-stencil8":return{width:1,height:1,length:5};case"bc7-rgba-unorm":case"bc7-rgba-unorm-srgb":case"bc6h-rgb-ufloat":case"bc6h-rgb-float":case"bc2-rgba-unorm":case"bc2-rgba-unorm-srgb":case"bc3-rgba-unorm":case"bc3-rgba-unorm-srgb":case"bc5-rg-unorm":case"bc5-rg-snorm":return{width:4,height:4,length:16};case"bc4-r-unorm":case"bc4-r-snorm":case"bc1-rgba-unorm":case"bc1-rgba-unorm-srgb":return{width:4,height:4,length:8}}}!function(e){e[e.COPY_SRC=1]="COPY_SRC",e[e.COPY_DST=2]="COPY_DST",e[e.TEXTURE_BINDING=4]="TEXTURE_BINDING",e[e.STORAGE_BINDING=8]="STORAGE_BINDING",e[e.STORAGE=8]="STORAGE",e[e.RENDER_ATTACHMENT=16]="RENDER_ATTACHMENT"}(dr||(dr={})),function(e){e[e.READ=1]="READ",e[e.WRITE=2]="WRITE"}(Fr||(Fr={}));var Wr=function(e){function t(t){var r=t.id,n=t.device,o=e.call(this)||this;return o.id=r,o.device=n,o}return pe(t,e),t.prototype.destroy=function(){},t}(dt),Hr=function(t){function r(r){var n,o,a=r.descriptor,i=t.call(this,{id:r.id,device:r.device})||this;i.type=e.ResourceType.Bindings;var s=a.pipeline;y(!!s);var l=a.uniformBufferBindings,_=a.storageBufferBindings,u=a.samplerBindings,E=a.storageTextureBindings;i.numUniformBuffers=(null==l?void 0:l.length)||0;var c=[[],[],[],[]],R=0;if(l&&l.length)for(var T=0;l.length>T;T++){var p=a.uniformBufferBindings[T],A=p.binding,d=p.size,F=p.offset,f={buffer:Br(p.buffer),offset:null!=F?F:0,size:d};c[0].push({binding:null!=A?A:R++,resource:f})}if(u&&u.length){R=0;for(T=0;u.length>T;T++){var m=Ae(Ae({},u[T]),Re),h=null!==(A=a.samplerBindings[T]).texture?A.texture:i.device.getFallbackTexture(m);if(m.dimension=h.dimension,m.formatKind=v(h.format),c[1].push({binding:null!==(n=A.textureBinding)&&void 0!==n?n:R++,resource:h.gpuTextureView}),-1!==A.samplerBinding){var S=null!==A.sampler?A.sampler:i.device.getFallbackSampler(m),g=S.gpuSampler;c[1].push({binding:null!==(o=A.samplerBinding)&&void 0!==o?o:R++,resource:g})}}}if(_&&_.length){R=0;for(T=0;_.length>T;T++){var B=a.storageBufferBindings[T];A=B.binding,d=B.size,F=B.offset,f={buffer:Br(B.buffer),offset:null!=F?F:0,size:d};c[2].push({binding:null!=A?A:R++,resource:f})}}if(E&&E.length){R=0;for(T=0;E.length>T;T++){var N=a.storageTextureBindings[T];c[3].push({binding:null!=(A=N.binding)?A:R++,resource:(h=N.texture).gpuTextureView})}}var C=c.findLastIndex((function(e){return!!e.length}));return i.gpuBindGroup=c.map((function(e,t){return C>=t&&i.device.device.createBindGroup({layout:s.getBindGroupLayout(t),entries:e})})),i}return pe(r,t),r}(Wr),Vr=function(t){function r(r){var n=r.descriptor,o=t.call(this,{id:r.id,device:r.device})||this;o.type=e.ResourceType.Buffer;var a=n.usage,i=n.viewOrSize,s=!!(a&e.BufferUsage.MAP_READ);o.usage=function(t){var r=0;return t&e.BufferUsage.INDEX&&(r|=GPUBufferUsage.INDEX),t&e.BufferUsage.VERTEX&&(r|=GPUBufferUsage.VERTEX),t&e.BufferUsage.UNIFORM&&(r|=GPUBufferUsage.UNIFORM),t&e.BufferUsage.STORAGE&&(r|=GPUBufferUsage.STORAGE),t&e.BufferUsage.COPY_SRC&&(r|=GPUBufferUsage.COPY_SRC),t&e.BufferUsage.INDIRECT&&(r|=GPUBufferUsage.INDIRECT),r|GPUBufferUsage.COPY_DST}(a),s&&(o.usage=e.BufferUsage.MAP_READ|e.BufferUsage.COPY_DST);var l=!Le(i);(o.view=Le(i)?null:i,o.size=Le(i)?j(i,4):j(i.byteLength,4),Le(i))?o.gpuBuffer=o.device.device.createBuffer({usage:o.usage,size:o.size,mappedAtCreation:!!s&&l}):(o.gpuBuffer=o.device.device.createBuffer({usage:o.usage,size:o.size,mappedAtCreation:!0}),new(i&&i.constructor||Float32Array)(o.gpuBuffer.getMappedRange()).set(i),o.gpuBuffer.unmap());return o}return pe(r,t),r.prototype.setSubData=function(e,t,r,n){void 0===r&&(r=0),void 0===n&&(n=0);var o=this.gpuBuffer,a=t.byteOffset+r,i=a+(n=Math.min(n=n||t.byteLength,this.size-e)),s=n+3&-4;if(s!==n){var l=new Uint8Array(t.buffer.slice(a,i));(t=new Uint8Array(s)).set(l),r=0,a=0,i=s,n=s}for(var _=15728640,u=0;i-(a+u)>_;)this.device.device.queue.writeBuffer(o,e+u,t.buffer,a+u,_),u+=_;this.device.device.queue.writeBuffer(o,e+u,t.buffer,a+u,n-u)},r.prototype.destroy=function(){t.prototype.destroy.call(this),this.gpuBuffer.destroy()},r}(Wr),kr=function(){function e(){this.gpuComputePassEncoder=null}return e.prototype.dispatchWorkgroups=function(e,t,r){this.gpuComputePassEncoder.dispatchWorkgroups(e,t,r)},e.prototype.dispatchWorkgroupsIndirect=function(e,t){this.gpuComputePassEncoder.dispatchWorkgroupsIndirect(e.gpuBuffer,t)},e.prototype.finish=function(){this.gpuComputePassEncoder.end(),this.gpuComputePassEncoder=null,this.frameCommandEncoder=null},e.prototype.beginComputePass=function(e){y(null===this.gpuComputePassEncoder),this.frameCommandEncoder=e,this.gpuComputePassEncoder=this.frameCommandEncoder.beginComputePass(this.gpuComputePassDescriptor)},e.prototype.setPipeline=function(e){var t=b(e.gpuComputePipeline);this.gpuComputePassEncoder.setPipeline(t)},e.prototype.setBindings=function(e){var t=this,r=e;r.gpuBindGroup.forEach((function(e,n){e&&t.gpuComputePassEncoder.setBindGroup(n,r.gpuBindGroup[n])}))},e.prototype.pushDebugGroup=function(e){this.gpuComputePassEncoder.pushDebugGroup(e)},e.prototype.popDebugGroup=function(){this.gpuComputePassEncoder.popDebugGroup()},e.prototype.insertDebugMarker=function(e){this.gpuComputePassEncoder.insertDebugMarker(e)},e}(),Yr=function(t){function r(r){var n=r.descriptor,o=t.call(this,{id:r.id,device:r.device})||this;o.type=e.ResourceType.ComputePipeline,o.gpuComputePipeline=null,o.descriptor=n;var a=n.program.computeStage;if(null===a)return o;var i={layout:"auto",compute:Ae({},a)};return o.gpuComputePipeline=o.device.device.createComputePipeline(i),void 0!==o.name&&(o.gpuComputePipeline.label=o.name),o}return pe(r,t),r.prototype.getBindGroupLayout=function(e){return this.gpuComputePipeline.getBindGroupLayout(e)},r}(Wr),Kr=function(t){function r(r){var n,o,a,i,s=r.descriptor,l=t.call(this,{id:r.id,device:r.device})||this;l.type=e.ResourceType.InputLayout;var _=[];try{for(var u=fe(s.vertexBufferDescriptors),E=u.next();!E.done;E=u.next()){var c=E.value,R=c.attributes;_.push({arrayStride:c.arrayStride,stepMode:br(c.stepMode),attributes:[]});try{for(var T=(a=void 0,fe(R)),p=T.next();!p.done;p=T.next()){var A=p.value,d=A.offset;_[_.length-1].attributes.push({shaderLocation:A.shaderLocation,format:xr(A.format),offset:d})}}catch(e){a={error:e}}finally{try{p&&!p.done&&(i=T.return)&&i.call(T)}finally{if(a)throw a.error}}}}catch(e){n={error:e}}finally{try{E&&!E.done&&(o=u.return)&&o.call(u)}finally{if(n)throw n.error}}return l.indexFormat=function(t){if(null!==t){if(t===e.Format.U16_R)return"uint16";if(t===e.Format.U32_R)return"uint32";throw Error("whoops")}}(s.indexBufferFormat),l.buffers=_,l}return pe(r,t),r}(Wr),qr=function(t){function r(r){var n=r.descriptor,o=t.call(this,{id:r.id,device:r.device})||this;return o.type=e.ResourceType.Program,o.vertexStage=null,o.fragmentStage=null,o.computeStage=null,o.descriptor=n,n.vertex&&(o.vertexStage=o.createShaderStage(n.vertex,"vertex")),n.fragment&&(o.fragmentStage=o.createShaderStage(n.fragment,"fragment")),n.compute&&(o.computeStage=o.createShaderStage(n.compute,"compute")),o}return pe(r,t),r.prototype.setUniformsLegacy=function(e){},r.prototype.createShaderStage=function(e,t){var r,n,o=e.glsl,a=e.entryPoint,i=e.postprocess,s=e.wgsl;if(!s)try{s=this.device.glsl_compile(o,t,!1)}catch(e){throw console.error(e,o),Error("whoops")}var l=function(e){if(!s.includes(e))return"continue";s=(s=s.replace("var T_".concat(e,": texture_2d<f32>;"),"var T_".concat(e,": texture_depth_2d;"))).replace(RegExp("textureSample\\(T_".concat(e,"(.*)\\);$"),"gm"),(function(t,r){return"vec4<f32>(textureSample(T_".concat(e).concat(r,"), 0.0, 0.0, 0.0);")}))};try{for(var _=fe(["u_TextureFramebufferDepth"]),u=_.next();!u.done;u=_.next()){l(u.value)}}catch(e){r={error:e}}finally{try{u&&!u.done&&(n=_.return)&&n.call(_)}finally{if(r)throw r.error}}return i&&(s=i(s)),{module:this.device.device.createShaderModule({code:s}),entryPoint:a||"main"}},r}(Wr),zr=function(t){function r(r){var n=r.descriptor,o=t.call(this,{id:r.id,device:r.device})||this;o.type=e.ResourceType.QueryPool;var a=n.elemCount;return o.querySet=o.device.device.createQuerySet({type:Nr(n.type),count:a}),o.resolveBuffer=o.device.device.createBuffer({size:8*a,usage:GPUBufferUsage.QUERY_RESOLVE|GPUBufferUsage.COPY_SRC}),o.cpuBuffer=o.device.device.createBuffer({size:8*a,usage:GPUBufferUsage.COPY_DST|GPUBufferUsage.MAP_READ}),o.results=null,o}return pe(r,t),r.prototype.queryResultOcclusion=function(e){return null===this.results?null:this.results[e]!==BigInt(0)},r.prototype.destroy=function(){t.prototype.destroy.call(this),this.querySet.destroy(),this.resolveBuffer.destroy(),this.cpuBuffer.destroy()},r}(Wr),Zr=function(t){function r(r){var n=t.call(this,{id:r.id,device:r.device})||this;return n.type=e.ResourceType.Readback,n}return pe(r,t),r.prototype.readTexture=function(t,r,n,o,a,i,s,l){return void 0===s&&(s=0),de(this,void 0,void 0,(function(){var l,_,u,E,c,R,T;return Fe(this,(function(p){return 0,_=wr((l=t).gpuTextureformat),R=this.device.createBuffer({usage:e.BufferUsage.STORAGE|e.BufferUsage.MAP_READ|e.BufferUsage.COPY_DST,hint:e.BufferFrequencyHint.STATIC,viewOrSize:c=(E=256*Math.ceil((u=Math.ceil(o/_.width)*_.length)/256))*a}),(T=this.device.device.createCommandEncoder()).copyTextureToBuffer({texture:l.gpuTexture,mipLevel:0,origin:{x:r,y:n,z:0}},{buffer:R.gpuBuffer,offset:0,bytesPerRow:E},{width:o,height:a,depthOrArrayLayers:1}),this.device.device.queue.submit([T.finish()]),[2,this.readBuffer(R,0,i.byteLength===c?i:null,s,c,l.format,!0,!1,u,E,a)]}))}))},r.prototype.readTextureSync=function(e,t,r,n,o,a,i,s){throw Error("ERROR_MSG_METHOD_NOT_IMPLEMENTED")},r.prototype.readBuffer=function(t,r,n,o,a,i,s,l,_,u,E){var c=this;void 0===r&&(r=0),void 0===n&&(n=null),void 0===a&&(a=0),void 0===i&&(i=e.Format.U8_RGB),void 0===s&&(s=!1),void 0===_&&(_=0),void 0===u&&(u=0),void 0===E&&(E=0);var R=t,T=a||R.size,p=n||R.view,A=p&&p.constructor&&p.constructor.BYTES_PER_ELEMENT||G(i),d=R;if(!(R.usage&e.BufferUsage.MAP_READ&&R.usage&e.BufferUsage.COPY_DST)){var F=this.device.device.createCommandEncoder();d=this.device.createBuffer({usage:e.BufferUsage.STORAGE|e.BufferUsage.MAP_READ|e.BufferUsage.COPY_DST,hint:e.BufferFrequencyHint.STATIC,viewOrSize:T}),F.copyBufferToBuffer(R.gpuBuffer,r,d.gpuBuffer,0,T),this.device.device.queue.submit([F.finish()])}return new Promise((function(e,t){d.gpuBuffer.mapAsync(Fr.READ,r,T).then((function(){var t=d.gpuBuffer.getMappedRange(r,T),n=p;if(s)n=null===n?Xr(i,T,!0,t):Xr(i,n.buffer,void 0,t);else if(null===n)switch(A){case 1:(n=new Uint8Array(T)).set(new Uint8Array(t));break;case 2:n=c.getHalfFloatAsFloatRGBAArrayBuffer(T/2,t);break;case 4:(n=new Float32Array(T/4)).set(new Float32Array(t))}else switch(A){case 1:(n=new Uint8Array(n.buffer)).set(new Uint8Array(t));break;case 2:n=c.getHalfFloatAsFloatRGBAArrayBuffer(T/2,t,p);break;case 4:var o=p&&p.constructor||Float32Array;(n=new o(n.buffer)).set(new o(t))}if(_!==u){1!==A||s||(_*=2,u*=2);for(var a=new Uint8Array(n.buffer),l=_,R=0,F=1;E>F;++F){R=F*u;for(var f=0;_>f;++f)a[l++]=a[R++]}n=0===A||s?new Uint8Array(a.buffer,0,l):new Float32Array(a.buffer,0,l/4)}d.gpuBuffer.unmap(),e(n)}),(function(e){return t(e)}))}))},r.prototype.getHalfFloatAsFloatRGBAArrayBuffer=function(e,t,r){r||(r=new Float32Array(e));for(var n,o,a,i,s=new Uint16Array(t);e--;)r[e]=(o=void 0,a=void 0,i=void 0,o=(32768&(n=s[e]))>>15,i=1023&n,0===(a=(31744&n)>>10)?(o?-1:1)*Math.pow(2,-14)*(i/1024):31==a?i?NaN:1/0*(o?-1:1):(o?-1:1)*Math.pow(2,a-15)*(1+i/1024));return r},r}(Wr),Qr=function(){function t(e){this.device=e,this.gpuRenderPassEncoder=null,this.gfxColorAttachment=[],this.gfxColorAttachmentLevel=[],this.gfxColorResolveTo=[],this.gfxColorResolveToLevel=[],this.gfxDepthStencilAttachment=null,this.gfxDepthStencilResolveTo=null,this.gpuColorAttachments=[],this.gpuDepthStencilAttachment={view:null,depthLoadOp:"load",depthStoreOp:"store",stencilLoadOp:"load",stencilStoreOp:"store"},this.gpuRenderPassDescriptor={colorAttachments:this.gpuColorAttachments,depthStencilAttachment:this.gpuDepthStencilAttachment}}return t.prototype.getEncoder=function(){var e;return(null===(e=this.renderBundle)||void 0===e?void 0:e.renderBundleEncoder)||this.gpuRenderPassEncoder},t.prototype.getTextureView=function(e,t){return y(e.mipLevelCount>t),1===e.mipLevelCount?e.gpuTextureView:e.gpuTexture.createView({baseMipLevel:t,mipLevelCount:1})},t.prototype.setRenderPassDescriptor=function(t){var r,n,o,a,i,s;this.descriptor=t,this.gpuRenderPassDescriptor.colorAttachments=this.gpuColorAttachments;var l=t.colorAttachment.length;this.gfxColorAttachment.length=l,this.gfxColorResolveTo.length=l;for(var _=0;t.colorAttachment.length>_;_++){var u=t.colorAttachment[_],E=t.colorResolveTo[_];if(null===u&&null!==E&&(u=E,E=null),this.gfxColorAttachment[_]=u,this.gfxColorResolveTo[_]=E,this.gfxColorAttachmentLevel[_]=(null===(r=t.colorAttachmentLevel)||void 0===r?void 0:r[_])||0,this.gfxColorResolveToLevel[_]=(null===(n=t.colorResolveToLevel)||void 0===n?void 0:n[_])||0,null===u){this.gpuColorAttachments.length=_,this.gfxColorAttachment.length=_,this.gfxColorResolveTo.length=_;break}void 0===this.gpuColorAttachments[_]&&(this.gpuColorAttachments[_]={}),(R=this.gpuColorAttachments[_]).view=this.getTextureView(u,(null===(o=this.gfxColorAttachmentLevel)||void 0===o?void 0:o[_])||0);var c=null!==(i=null===(a=t.colorClearColor)||void 0===a?void 0:a[_])&&void 0!==i?i:"load";"load"===c?R.loadOp="load":(R.loadOp="clear",R.clearValue=c),R.storeOp=(null===(s=t.colorStore)||void 0===s?void 0:s[_])?"store":"discard",R.resolveTarget=void 0,null!==E&&(u.sampleCount>1?R.resolveTarget=this.getTextureView(E,this.gfxColorResolveToLevel[_]):R.storeOp="store")}if(this.gfxDepthStencilAttachment=t.depthStencilAttachment,this.gfxDepthStencilResolveTo=t.depthStencilResolveTo,t.depthStencilAttachment){var R,T=t.depthStencilAttachment;(R=this.gpuDepthStencilAttachment).view=T.gpuTextureView,!!(U(T.format)&e.FormatFlags.Depth)?("load"===t.depthClearValue?R.depthLoadOp="load":(R.depthLoadOp="clear",R.depthClearValue=t.depthClearValue),R.depthStoreOp=t.depthStencilStore||null!==this.gfxDepthStencilResolveTo?"store":"discard"):(R.depthLoadOp=void 0,R.depthStoreOp=void 0),!!(U(T.format)&e.FormatFlags.Stencil)?("load"===t.stencilClearValue?R.stencilLoadOp="load":(R.stencilLoadOp="clear",R.stencilClearValue=t.stencilClearValue),R.stencilStoreOp=t.depthStencilStore||null!==this.gfxDepthStencilResolveTo?"store":"discard"):(R.stencilLoadOp=void 0,R.stencilStoreOp=void 0),this.gpuRenderPassDescriptor.depthStencilAttachment=this.gpuDepthStencilAttachment}else this.gpuRenderPassDescriptor.depthStencilAttachment=void 0;this.gpuRenderPassDescriptor.occlusionQuerySet=ge(t.occlusionQueryPool)?void 0:t.occlusionQueryPool.querySet},t.prototype.beginRenderPass=function(e,t){y(null===this.gpuRenderPassEncoder),this.setRenderPassDescriptor(t),this.frameCommandEncoder=e,this.gpuRenderPassEncoder=this.frameCommandEncoder.beginRenderPass(this.gpuRenderPassDescriptor)},t.prototype.flipY=function(e,t){return this.device.swapChainHeight-e-t},t.prototype.setViewport=function(e,t,r,n,o,a){void 0===o&&(o=0),void 0===a&&(a=1),this.gpuRenderPassEncoder.setViewport(e,this.flipY(t,n),r,n,o,a)},t.prototype.setScissorRect=function(e,t,r,n){this.gpuRenderPassEncoder.setScissorRect(e,this.flipY(t,n),r,n)},t.prototype.setPipeline=function(e){var t=b(e.gpuRenderPipeline);this.getEncoder().setPipeline(t)},t.prototype.setVertexInput=function(e,t,r){if(null!==e){var n=this.getEncoder(),o=e;null!==r&&n.setIndexBuffer(Br(r.buffer),b(o.indexFormat),r.offset);for(var a=0;t.length>a;a++){var i=t[a];null!==i&&n.setVertexBuffer(a,Br(i.buffer),i.offset)}}},t.prototype.setBindings=function(e){var t=e,r=this.getEncoder();t.gpuBindGroup.forEach((function(e,n){e&&r.setBindGroup(n,t.gpuBindGroup[n])}))},t.prototype.setStencilReference=function(e){this.gpuRenderPassEncoder.setStencilReference(e)},t.prototype.draw=function(e,t,r,n){this.getEncoder().draw(e,t,r,n)},t.prototype.drawIndexed=function(e,t,r,n,o){this.getEncoder().drawIndexed(e,t,r,n,o)},t.prototype.drawIndirect=function(e,t){this.getEncoder().drawIndirect(Br(e),t)},t.prototype.drawIndexedIndirect=function(e,t){this.getEncoder().drawIndexedIndirect(Br(e),t)},t.prototype.beginOcclusionQuery=function(e){this.gpuRenderPassEncoder.beginOcclusionQuery(e)},t.prototype.endOcclusionQuery=function(){this.gpuRenderPassEncoder.endOcclusionQuery()},t.prototype.pushDebugGroup=function(e){this.gpuRenderPassEncoder.pushDebugGroup(e)},t.prototype.popDebugGroup=function(){this.gpuRenderPassEncoder.popDebugGroup()},t.prototype.insertDebugMarker=function(e){this.gpuRenderPassEncoder.insertDebugMarker(e)},t.prototype.beginBundle=function(e){this.renderBundle=e},t.prototype.endBundle=function(){this.renderBundle.finish()},t.prototype.executeBundles=function(e){this.gpuRenderPassEncoder.executeBundles(e.map((function(e){return e.renderBundle})))},t.prototype.finish=function(){var e;null===(e=this.gpuRenderPassEncoder)||void 0===e||e.end(),this.gpuRenderPassEncoder=null;for(var t=0;this.gfxColorAttachment.length>t;t++){var r=this.gfxColorAttachment[t],n=this.gfxColorResolveTo[t];null!==r&&null!==n&&1===r.sampleCount&&this.copyAttachment(n,this.gfxColorAttachmentLevel[t],r,this.gfxColorResolveToLevel[t])}this.gfxDepthStencilAttachment&&this.gfxDepthStencilResolveTo&&(this.gfxDepthStencilAttachment.sampleCount>1||this.copyAttachment(this.gfxDepthStencilResolveTo,0,this.gfxDepthStencilAttachment,0)),this.frameCommandEncoder=null},t.prototype.copyAttachment=function(e,t,r,n){y(1===r.sampleCount);var o={texture:r.gpuTexture,mipLevel:n},a={texture:e.gpuTexture,mipLevel:t};y(r.width>>>n==e.width>>>t),y(r.height>>>n==e.height>>>t),y(!!(r.usage&dr.COPY_SRC)),y(!!(e.usage&dr.COPY_DST)),this.frameCommandEncoder.copyTextureToTexture(o,a,[e.width,e.height,1])},t}(),jr=function(t){function r(r){var n=r.descriptor,o=t.call(this,{id:r.id,device:r.device})||this;return o.type=e.ResourceType.RenderPipeline,o.isCreatingAsync=!1,o.gpuRenderPipeline=null,o.descriptor=n,o.device.createRenderPipelineInternal(o,!1),o}return pe(r,t),r.prototype.getBindGroupLayout=function(e){return this.gpuRenderPipeline.getBindGroupLayout(e)},r}(Wr),$r=function(t){function r(r){var n,o,a=r.descriptor,i=t.call(this,{id:r.id,device:r.device})||this;i.type=e.ResourceType.Sampler;var s=a.lodMinClamp,l=a.mipmapFilter===e.MipmapFilterMode.NO_MIP?a.lodMinClamp:a.lodMaxClamp,_=null!==(n=a.maxAnisotropy)&&void 0!==n?n:1;return _>1&&y(a.minFilter===e.FilterMode.BILINEAR&&a.magFilter===e.FilterMode.BILINEAR&&a.mipmapFilter===e.MipmapFilterMode.LINEAR),i.gpuSampler=i.device.device.createSampler({addressModeU:hr(a.addressModeU),addressModeV:hr(a.addressModeV),addressModeW:hr(null!==(o=a.addressModeW)&&void 0!==o?o:a.addressModeU),lodMinClamp:s,lodMaxClamp:l,minFilter:Sr(a.minFilter),magFilter:Sr(a.magFilter),mipmapFilter:gr(a.mipmapFilter),compare:void 0!==a.compareFunction?vr(a.compareFunction):void 0,maxAnisotropy:_}),i}return pe(r,t),r}(Wr),Jr=function(t){function r(r){var n=r.descriptor,o=r.skipCreate,a=r.sampleCount,i=t.call(this,{id:r.id,device:r.device})||this;i.type=e.ResourceType.Texture,i.flipY=!1;var s=n.format,l=n.dimension,_=n.width,u=n.height,E=n.depthOrArrayLayers,c=n.mipLevelCount,R=n.usage,T=n.pixelStore;return i.flipY=!!(null==T?void 0:T.unpackFlipY),i.device.createTextureShared({format:s,dimension:null!=l?l:e.TextureDimension.TEXTURE_2D,width:_,height:u,depthOrArrayLayers:null!=E?E:1,mipLevelCount:null!=c?c:1,usage:R,sampleCount:null!=a?a:1},i,o),i}return pe(r,t),r.prototype.textureFromImageBitmapOrCanvas=function(e,t,r){for(var n=t[0].width,o=t[0].height,a={size:{width:n,height:o,depthOrArrayLayers:r},format:"rgba8unorm",usage:GPUTextureUsage.TEXTURE_BINDING|GPUTextureUsage.COPY_DST|GPUTextureUsage.RENDER_ATTACHMENT},i=e.createTexture(a),s=0;t.length>s;s++)e.queue.copyExternalImageToTexture({source:t[s],flipY:this.flipY},{texture:i,origin:[0,0,s]},[n,o]);return[i,n,o]},r.prototype.isImageBitmapOrCanvases=function(e){var t=e[0];return t instanceof ImageBitmap||t instanceof HTMLCanvasElement||t instanceof OffscreenCanvas},r.prototype.isVideo=function(e){return e[0]instanceof HTMLVideoElement},r.prototype.setImageData=function(e,t){var r,n,o,a,i=this,s=this.device.device;if(this.isImageBitmapOrCanvases(e))n=(r=me(this.textureFromImageBitmapOrCanvas(s,e,this.depthOrArrayLayers),3))[0],o=r[1],a=r[2];else if(this.isVideo(e))n=s.importExternalTexture({source:e[0]});else{var l=wr(this.gpuTextureformat),_=Math.ceil(this.width/l.width)*l.length;e.forEach((function(e){s.queue.writeTexture({texture:i.gpuTexture},e,{bytesPerRow:_},{width:i.width,height:i.height})}))}this.width=o,this.height=a,n&&(this.gpuTexture=n),this.gpuTextureView=this.gpuTexture.createView({dimension:mr(this.dimension)})},r.prototype.destroy=function(){t.prototype.destroy.call(this),this.gpuTexture.destroy()},r}(Wr),en=function(t){function r(r){var n=t.call(this,{id:r.id,device:r.device})||this;return n.type=e.ResourceType.RenderBundle,n.renderBundleEncoder=n.device.device.createRenderBundleEncoder({colorFormats:[n.device.swapChainFormat]}),n}return pe(r,t),r.prototype.finish=function(){this.renderBundle=this.renderBundleEncoder.finish()},r}(Wr),tn=function(){function t(t,r,n,o,a,i){this.swapChainWidth=0,this.swapChainHeight=0,this.swapChainTextureUsage=dr.RENDER_ATTACHMENT|dr.COPY_DST,this._resourceUniqueId=0,this.renderPassPool=[],this.computePassPool=[],this.frameCommandEncoderPool=[],this.featureTextureCompressionBC=!1,this.platformString="WebGPU",this.glslVersion="#version 440",this.explicitBindingLocations=!0,this.separateSamplerTextures=!0,this.viewportOrigin=e.ViewportOrigin.UPPER_LEFT,this.clipSpaceNearZ=e.ClipSpaceNearZ.ZERO,this.supportsSyncPipelineCompilation=!1,this.supportMRT=!0,this.device=r,this.canvas=n,this.canvasContext=o,this.glsl_compile=a,this.WGSLComposer=i,this.fallbackTexture2D=this.createFallbackTexture(e.TextureDimension.TEXTURE_2D,e.SamplerFormatKind.Float),this.setResourceName(this.fallbackTexture2D,"Fallback Texture2D"),this.fallbackTexture2DDepth=this.createFallbackTexture(e.TextureDimension.TEXTURE_2D,e.SamplerFormatKind.Depth),this.setResourceName(this.fallbackTexture2DDepth,"Fallback Depth Texture2D"),this.fallbackTexture2DArray=this.createFallbackTexture(e.TextureDimension.TEXTURE_2D_ARRAY,e.SamplerFormatKind.Float),this.setResourceName(this.fallbackTexture2DArray,"Fallback Texture2DArray"),this.fallbackTexture3D=this.createFallbackTexture(e.TextureDimension.TEXTURE_3D,e.SamplerFormatKind.Float),this.setResourceName(this.fallbackTexture3D,"Fallback Texture3D"),this.fallbackTextureCube=this.createFallbackTexture(e.TextureDimension.TEXTURE_CUBE_MAP,e.SamplerFormatKind.Float),this.setResourceName(this.fallbackTextureCube,"Fallback TextureCube"),this.fallbackSamplerFiltering=this.createSampler({addressModeU:e.AddressMode.REPEAT,addressModeV:e.AddressMode.REPEAT,minFilter:e.FilterMode.POINT,magFilter:e.FilterMode.POINT,mipmapFilter:e.MipmapFilterMode.NEAREST}),this.setResourceName(this.fallbackSamplerFiltering,"Fallback Sampler Filtering"),this.fallbackSamplerComparison=this.createSampler({addressModeU:e.AddressMode.REPEAT,addressModeV:e.AddressMode.REPEAT,minFilter:e.FilterMode.POINT,magFilter:e.FilterMode.POINT,mipmapFilter:e.MipmapFilterMode.NEAREST,compareFunction:e.CompareFunction.ALWAYS}),this.setResourceName(this.fallbackSamplerComparison,"Fallback Sampler Comparison Filtering"),this.device.features&&(this.featureTextureCompressionBC=this.device.features.has("texture-compression-bc")),this.device.onuncapturederror=function(e){console.error(e.error)},this.swapChainFormat=navigator.gpu.getPreferredCanvasFormat(),this.canvasContext.configure({device:this.device,format:this.swapChainFormat,usage:this.swapChainTextureUsage,alphaMode:"premultiplied"})}return t.prototype.destroy=function(){},t.prototype.configureSwapChain=function(e,t){this.swapChainWidth===e&&this.swapChainHeight===t||(this.swapChainWidth=e,this.swapChainHeight=t)},t.prototype.getOnscreenTexture=function(){var t=this.canvasContext.getCurrentTexture(),r=t.createView(),n=new Jr({id:0,device:this,descriptor:{format:e.Format.U8_RGBA_RT,width:this.swapChainWidth,height:this.swapChainHeight,depthOrArrayLayers:0,dimension:e.TextureDimension.TEXTURE_2D,mipLevelCount:1,usage:this.swapChainTextureUsage},skipCreate:!0});return n.depthOrArrayLayers=1,n.sampleCount=1,n.gpuTexture=t,n.gpuTextureView=r,n.name="Onscreen",this.setResourceName(n,"Onscreen Texture"),n},t.prototype.getDevice=function(){return this},t.prototype.getCanvas=function(){return this.canvas},t.prototype.beginFrame=function(){y(0===this.frameCommandEncoderPool.length)},t.prototype.endFrame=function(){y(this.frameCommandEncoderPool.every((function(e){return null!==e}))),this.device.queue.submit(this.frameCommandEncoderPool.map((function(e){return e.finish()}))),this.frameCommandEncoderPool=[]},t.prototype.getNextUniqueId=function(){return++this._resourceUniqueId},t.prototype.createBuffer=function(e){return new Vr({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createTexture=function(e){return new Jr({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createSampler=function(e){return new $r({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createRenderTarget=function(t){var r=new Jr({id:this.getNextUniqueId(),device:this,descriptor:Ae(Ae({},t),{dimension:e.TextureDimension.TEXTURE_2D,mipLevelCount:1,depthOrArrayLayers:1,usage:e.TextureUsage.RENDER_TARGET}),sampleCount:t.sampleCount});return r.depthOrArrayLayers=1,r.type=e.ResourceType.RenderTarget,r},t.prototype.createRenderTargetFromTexture=function(t){var r=t.format,n=t.width,o=t.height,a=t.depthOrArrayLayers,i=t.sampleCount,s=t.mipLevelCount,l=t.gpuTexture,_=t.gpuTextureView,u=t.usage;y(!!(u&dr.RENDER_ATTACHMENT));var E=new Jr({id:this.getNextUniqueId(),device:this,descriptor:{format:r,width:n,height:o,depthOrArrayLayers:a,dimension:e.TextureDimension.TEXTURE_2D,mipLevelCount:s,usage:u},skipCreate:!0});return E.depthOrArrayLayers=a,E.sampleCount=i,E.gpuTexture=l,E.gpuTextureView=_,E},t.prototype.createProgram=function(e){var t,r;return(null===(t=e.vertex)||void 0===t?void 0:t.glsl)&&(e.vertex.glsl=Tt(this.queryVendorInfo(),"vert",e.vertex.glsl)),(null===(r=e.fragment)||void 0===r?void 0:r.glsl)&&(e.fragment.glsl=Tt(this.queryVendorInfo(),"frag",e.fragment.glsl)),new qr({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createProgramSimple=function(e){return new qr({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createTextureShared=function(t,r,n){var o={width:t.width,height:t.height,depthOrArrayLayers:t.depthOrArrayLayers},a=t.mipLevelCount,i=fr(t.format),s=function(t){if(t===e.TextureDimension.TEXTURE_2D)return"2d";if(t===e.TextureDimension.TEXTURE_CUBE_MAP)return"2d";if(t===e.TextureDimension.TEXTURE_2D_ARRAY)return"2d";if(t===e.TextureDimension.TEXTURE_3D)return"3d";throw Error("whoops")}(t.dimension),l=function(t){var r=0;return t&e.TextureUsage.SAMPLED&&(r|=dr.TEXTURE_BINDING|dr.COPY_DST|dr.COPY_SRC),t&e.TextureUsage.STORAGE&&(r|=dr.TEXTURE_BINDING|dr.STORAGE_BINDING|dr.COPY_SRC|dr.COPY_DST),t&e.TextureUsage.RENDER_TARGET&&(r|=dr.RENDER_ATTACHMENT|dr.TEXTURE_BINDING|dr.COPY_SRC|dr.COPY_DST),r}(t.usage);if(r.gpuTextureformat=i,r.dimension=t.dimension,r.format=t.format,r.width=t.width,r.height=t.height,r.depthOrArrayLayers=t.depthOrArrayLayers,r.mipLevelCount=a,r.usage=l,r.sampleCount=t.sampleCount,!n){var _=this.device.createTexture({size:o,mipLevelCount:a,format:i,dimension:s,sampleCount:t.sampleCount,usage:l}),u=_.createView();r.gpuTexture=_,r.gpuTextureView=u}},t.prototype.getFallbackSampler=function(t){return t.formatKind===e.SamplerFormatKind.Depth&&t.comparison?this.fallbackSamplerComparison:this.fallbackSamplerFiltering},t.prototype.getFallbackTexture=function(t){var r=t.dimension;if(r===e.TextureDimension.TEXTURE_2D)return t.formatKind===e.SamplerFormatKind.Depth?this.fallbackTexture2DDepth:this.fallbackTexture2D;if(r===e.TextureDimension.TEXTURE_2D_ARRAY)return this.fallbackTexture2DArray;if(r===e.TextureDimension.TEXTURE_3D)return this.fallbackTexture3D;if(r===e.TextureDimension.TEXTURE_CUBE_MAP)return this.fallbackTextureCube;throw Error("whoops")},t.prototype.createFallbackTexture=function(t,r){return this.createTexture({dimension:t,format:r===e.SamplerFormatKind.Float?e.Format.U8_RGBA_NORM:e.Format.D24,usage:e.TextureUsage.SAMPLED,width:1,height:1,depthOrArrayLayers:t===e.TextureDimension.TEXTURE_CUBE_MAP?6:1,mipLevelCount:1})},t.prototype.createBindings=function(e){return new Hr({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createInputLayout=function(e){return new Kr({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createComputePipeline=function(e){return new Yr({id:this.getNextUniqueId(),device:this,descriptor:e})},t.prototype.createRenderPipeline=function(e){return new jr({id:this.getNextUniqueId(),device:this,descriptor:Ae({},e)})},t.prototype.createQueryPool=function(e,t){return new zr({id:this.getNextUniqueId(),device:this,descriptor:{type:e,elemCount:t}})},t.prototype.createRenderPipelineInternal=function(t,r){var n;if(null===t.gpuRenderPipeline){var o=t.descriptor,a=o.program,i=a.vertexStage,s=a.fragmentStage;if(null!==i&&null!==s){var l=o.megaStateDescriptor||{},_=l.stencilBack,u=l.stencilFront,E=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);n.length>o;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(l,["stencilBack","stencilFront"]),c=se(ue);o.megaStateDescriptor=Ae(Ae(Ae({},c),{stencilBack:Ae(Ae({},c.stencilBack),_),stencilFront:Ae(Ae({},c.stencilFront),u)}),E);var R=o.megaStateDescriptor.attachmentsState[0];o.colorAttachmentFormats.forEach((function(e,t){o.megaStateDescriptor.attachmentsState[t]||(o.megaStateDescriptor.attachmentsState[t]=oe(void 0,R))}));var T,p,A=(T=null!==(n=o.topology)&&void 0!==n?n:e.PrimitiveTopology.TRIANGLES,p=o.megaStateDescriptor,{topology:Cr(T),cullMode:Lr(p.cullMode),frontFace:Or(p.frontFace)}),d=Pr(o.colorAttachmentFormats,o.megaStateDescriptor),F=function(e,t){if(!ge(e))return{format:fr(e),depthWriteEnabled:!!t.depthWrite,depthCompare:vr(t.depthCompare),depthBias:t.polygonOffset?t.polygonOffsetUnits:0,depthBiasSlopeScale:t.polygonOffset?t.polygonOffsetFactor:0,stencilFront:{compare:vr(t.stencilFront.compare),passOp:yr(t.stencilFront.passOp),failOp:yr(t.stencilFront.failOp),depthFailOp:yr(t.stencilFront.depthFailOp)},stencilBack:{compare:vr(t.stencilBack.compare),passOp:yr(t.stencilBack.passOp),failOp:yr(t.stencilBack.failOp),depthFailOp:yr(t.stencilBack.depthFailOp)},stencilReadMask:4294967295,stencilWriteMask:4294967295}}(o.depthStencilAttachmentFormat,o.megaStateDescriptor),f=void 0;null!==o.inputLayout&&(f=o.inputLayout.buffers);var m=o.sampleCount,h={layout:"auto",vertex:Ae(Ae({},i),{buffers:f}),primitive:A,depthStencil:F,multisample:{count:m},fragment:Ae(Ae({},s),{targets:d})};t.gpuRenderPipeline=this.device.createRenderPipeline(h)}}},t.prototype.createReadback=function(){return new Zr({id:this.getNextUniqueId(),device:this})},t.prototype.createRenderBundle=function(){return new en({id:this.getNextUniqueId(),device:this})},t.prototype.createRenderPass=function(e){var t=this.renderPassPool.pop();void 0===t&&(t=new Qr(this));var r=this.frameCommandEncoderPool.pop();return void 0===r&&(r=this.device.createCommandEncoder()),t.beginRenderPass(r,e),t},t.prototype.createComputePass=function(){var e=this.computePassPool.pop();void 0===e&&(e=new kr);var t=this.frameCommandEncoderPool.pop();return void 0===t&&(t=this.device.createCommandEncoder()),e.beginComputePass(t),e},t.prototype.submitPass=function(e){var t=e;t instanceof Qr?(this.frameCommandEncoderPool.push(t.frameCommandEncoder),t.finish(),this.renderPassPool.push(t)):t instanceof kr&&(this.frameCommandEncoderPool.push(t.frameCommandEncoder),t.finish(),this.computePassPool.push(t))},t.prototype.copySubTexture2D=function(e,t,r,n,o,a,i){var s=this.device.createCommandEncoder(),l=e,_=n,u={texture:_.gpuTexture,origin:[o,a,0],mipLevel:0,aspect:"all"},E={texture:l.gpuTexture,origin:[t,r,0],mipLevel:0,aspect:"all"};y(!!(_.usage&dr.COPY_SRC)),y(!!(l.usage&dr.COPY_DST)),s.copyTextureToTexture(u,E,[_.width,_.height,i||1]),this.device.queue.submit([s.finish()])},t.prototype.queryLimits=function(){return{uniformBufferMaxPageWordSize:this.device.limits.maxUniformBufferBindingSize>>>2,uniformBufferWordAlignment:this.device.limits.minUniformBufferOffsetAlignment>>>2,supportedSampleCounts:[1],occlusionQueriesRecommended:!0,computeShadersSupported:!0}},t.prototype.queryTextureFormatSupported=function(t,r,n){if(function(t){switch(I(t)){case e.FormatTypeFlags.BC1:case e.FormatTypeFlags.BC2:case e.FormatTypeFlags.BC3:case e.FormatTypeFlags.BC4_SNORM:case e.FormatTypeFlags.BC4_UNORM:case e.FormatTypeFlags.BC5_SNORM:case e.FormatTypeFlags.BC5_UNORM:return!0;default:return!1}}(t)){if(!this.featureTextureCompressionBC)return!1;var o=function(t){switch(I(t)){case e.FormatTypeFlags.BC1:case e.FormatTypeFlags.BC2:case e.FormatTypeFlags.BC3:case e.FormatTypeFlags.BC4_SNORM:case e.FormatTypeFlags.BC4_UNORM:case e.FormatTypeFlags.BC5_SNORM:case e.FormatTypeFlags.BC5_UNORM:return 4;default:return 1}}(t);return r%o==0&&n%o==0&&this.featureTextureCompressionBC}switch(t){case e.Format.U16_RGBA_NORM:case e.Format.F32_RGBA:return!1}return!0},t.prototype.queryPlatformAvailable=function(){return!0},t.prototype.queryVendorInfo=function(){return this},t.prototype.queryRenderPass=function(e){return e.descriptor},t.prototype.queryRenderTarget=function(e){return e},t.prototype.setResourceName=function(t,r){if(t.name=r,t.type===e.ResourceType.Buffer)(n=t).gpuBuffer.label=r;else if(t.type===e.ResourceType.Texture){(n=t).gpuTexture.label=r,n.gpuTextureView.label=r}else if(t.type===e.ResourceType.RenderTarget){(n=t).gpuTexture.label=r,n.gpuTextureView.label=r}else if(t.type===e.ResourceType.Sampler){(n=t).gpuSampler.label=r}else if(t.type===e.ResourceType.RenderPipeline){var n;null!==(n=t).gpuRenderPipeline&&(n.gpuRenderPipeline.label=r)}},t.prototype.setResourceLeakCheck=function(e,t){},t.prototype.checkForLeaks=function(){},t.prototype.programPatched=function(e){},t.prototype.pipelineQueryReady=function(e){return null!==e.gpuRenderPipeline},t.prototype.pipelineForceReady=function(e){this.createRenderPipelineInternal(e,!1)},t}(),rn=function(){function e(e){this.pluginOptions=e}return e.prototype.createSwapChain=function(e){return de(this,void 0,void 0,(function(){var t,r,n,o,a,i;return Fe(this,(function(s){switch(s.label){case 0:if(void 0===globalThis.navigator.gpu)return[2,null];t=null,s.label=1;case 1:return s.trys.push([1,3,,4]),[4,globalThis.navigator.gpu.requestAdapter({xrCompatible:this.pluginOptions.xrCompatible})];case 2:return t=s.sent(),[3,4];case 3:return r=s.sent(),console.log(r),[3,4];case 4:return null===t?[2,null]:(n=["depth32float-stencil8","texture-compression-bc","float32-filterable"].filter((function(e){return t.features.has(e)})),[4,t.requestDevice({requiredFeatures:n})]);case 5:if((o=s.sent())&&(a=this.pluginOptions.onContextLost,o.lost.then((function(){a&&a()}))),null===o)return[2,null];if(!(i=e.getContext("webgpu")))return[2,null];s.label=6;case 6:return s.trys.push([6,8,,9]),[4,Ar(this.pluginOptions.shaderCompilerPath)];case 7:case 8:return s.sent(),[3,9];case 9:return[2,new tn(t,o,e,i,Rr,Tr&&new Tr)]}}))}))},e}();e.IsDepthReversed=K,e.OpaqueBlack=V,e.OpaqueWhite=Y,e.TransparentBlack=H,e.TransparentWhite=k,e.UNIFORM_SETTERS=at,e.WebGLDeviceContribution=jt,e.WebGPUDeviceContribution=rn,e.align=j,e.alignNonPowerOfTwo=function(e,t){return((e+t-1)/t|0)*t},e.arrayCopy=Me,e.arrayEqual=Oe,e.assert=y,e.assertExists=b,e.bindingsDescriptorCopy=function(e){return{samplerBindings:e.samplerBindings&&Me(e.samplerBindings,we),uniformBufferBindings:e.uniformBufferBindings&&Me(e.uniformBufferBindings,We),storageBufferBindings:e.storageBufferBindings&&Me(e.storageBufferBindings,We),storageTextureBindings:e.storageTextureBindings&&Me(e.storageTextureBindings,He),pipeline:e.pipeline}},e.bindingsDescriptorEquals=function(e,t){return e.samplerBindings=e.samplerBindings||[],e.uniformBufferBindings=e.uniformBufferBindings||[],e.storageBufferBindings=e.storageBufferBindings||[],e.storageTextureBindings=e.storageTextureBindings||[],t.samplerBindings=t.samplerBindings||[],t.uniformBufferBindings=t.uniformBufferBindings||[],t.storageBufferBindings=t.storageBufferBindings||[],t.storageTextureBindings=t.storageTextureBindings||[],e.samplerBindings.length===t.samplerBindings.length&&(!!Oe(e.samplerBindings,t.samplerBindings,De)&&(!!Oe(e.uniformBufferBindings,t.uniformBufferBindings,Ue)&&(!!Oe(e.storageBufferBindings,t.storageBufferBindings,Ue)&&!!Oe(e.storageTextureBindings,t.storageTextureBindings,Ie))))},e.bisectRight=$,e.bufferBindingCopy=We,e.colorCopy=X,e.colorEqual=x,e.colorNewCopy=w,e.colorNewFromRGBA=W,e.compareDepthValues=function(t,r,n,o){if(void 0===o&&(o=K),(n=q(n,o))===e.CompareFunction.LESS)return r>t;if(n===e.CompareFunction.LEQUAL)return r>=t;if(n===e.CompareFunction.GREATER)return t>r;if(n===e.CompareFunction.GEQUAL)return t>=r;throw Error("whoops")},e.copyAttachmentState=oe,e.copyAttachmentStateFromSimple=le,e.copyMegaState=se,e.copyStencilFaceState=ne,e.defaultBindingLayoutSamplerDescriptor=Re,e.defaultMegaState=ue,e.fallbackUndefined=Z,e.fillArray=function(e,t,r){e.length=t,e.fill(r)},e.fullscreenMegaState=ce,e.getAttributeLocations=Et,e.getDefines=ut,e.getFormatByteSize=P,e.getFormatCompByteSize=G,e.getFormatCompFlags=M,e.getFormatCompFlagsComponentCount=L,e.getFormatComponentCount=function(e){return M(e)},e.getFormatFlags=U,e.getFormatSamplerKind=v,e.getFormatTypeFlags=I,e.getFormatTypeFlagsByteSize=D,e.getUniformSetter=it,e.getUniforms=function(e){var t=[],r=[];return e.replace(/\s*struct\s*(.*)\s*{((?:\s*.*\s*)*?)};/g,(function(e,t,n){var o=[];return n.trim().replace("\r\n","\n").split("\n").forEach((function(e){var t=me(e.trim().split(/\s+/),2),r=t[1];o.push({type:t[0].trim(),name:r.replace(";","").trim()})})),r.push({type:t.trim(),uniforms:o}),""})),e.replace(/\s*uniform(?:\s+)(?:\w+)(?:\s?){([^]*?)};?/g,(function(e,n){return n.trim().replace("\r\n","\n").split("\n").forEach((function(e){var n=e.trim().split(" "),o=n[0]||"",a=n[1]||"",i=a.indexOf("[")>-1;if(a=a.replace(";","").replace("[","").trim(),!o.startsWith("#")){if(o){var s=r.find((function(e){return o===e.type}));if(s)if(i)for(var l=function(e){s.uniforms.forEach((function(r){t.push("".concat(a,"[").concat(e,"].").concat(r.name))}))},_=0;5>_;_++)l(_);else s.uniforms.forEach((function(e){t.push("".concat(a,".").concat(e.name))}))}a&&t.push(a)}})),""})),t},e.inputLayoutBufferDescriptorCopy=ke,e.inputLayoutBufferDescriptorEquals=Xe,e.inputLayoutDescriptorCopy=function(e){return{vertexBufferDescriptors:Me(e.vertexBufferDescriptors,ke),indexBufferFormat:e.indexBufferFormat,program:e.program}},e.inputLayoutDescriptorEquals=function(e,t){return e.indexBufferFormat===t.indexBufferFormat&&(!!Oe(e.vertexBufferDescriptors,t.vertexBufferDescriptors,Xe)&&!!ye(e.program,t.program))},e.isPowerOfTwo=z,e.isTypedArray=lt,e.leftPad=te,e.makeFormat=O,e.makeMegaState=Ee,e.makeTextureDescriptor2D=function(t,r,n,o){return{dimension:e.TextureDimension.TEXTURE_2D,format:t,width:r,height:n,depthOrArrayLayers:1,mipLevelCount:o,usage:e.TextureUsage.SAMPLED}},e.nArray=J,e.nullify=Q,e.parseUniformName=Ke,e.prependLineNo=ee,e.preprocessProgram_GLSL=function(e,t,r,n){return void 0===n&&(n=null),{vert:t,frag:r,preprocessedVert:Tt(e,"vert",t,n),preprocessedFrag:Tt(e,"frag",r,n)}},e.preprocessShader_GLSL=Tt,e.range=function(e,t){for(var r=[],n=e;e+t>n;n++)r.push(n);return r},e.renderPipelineDescriptorCopy=function(e){var t=e.program,r=e.topology;return{inputLayout:e.inputLayout,megaStateDescriptor:e.megaStateDescriptor&&se(e.megaStateDescriptor),program:t,topology:r,colorAttachmentFormats:e.colorAttachmentFormats.slice(),depthStencilAttachmentFormat:e.depthStencilAttachmentFormat,sampleCount:e.sampleCount}},e.renderPipelineDescriptorEquals=function(e,t){return e.topology===t.topology&&(e.inputLayout===t.inputLayout&&(e.sampleCount===t.sampleCount&&(!(e.megaStateDescriptor&&t.megaStateDescriptor&&!function(e,t){return!(!Oe(e.attachmentsState,t.attachmentsState,Pe)||e.blendConstant&&t.blendConstant&&!x(e.blendConstant,t.blendConstant)||e.stencilFront&&t.stencilFront&&!ve(e.stencilFront,t.stencilFront)||e.stencilBack&&t.stencilBack&&!ve(e.stencilBack,t.stencilBack)||e.depthCompare!==t.depthCompare||e.depthWrite!==t.depthWrite||e.stencilWrite!==t.stencilWrite||e.cullMode!==t.cullMode||e.frontFace!==t.frontFace||e.polygonOffset!==t.polygonOffset||e.polygonOffsetFactor!==t.polygonOffsetFactor||e.polygonOffsetUnits!==t.polygonOffsetUnits)}(e.megaStateDescriptor,t.megaStateDescriptor))&&(!!ye(e.program,t.program)&&(!!Oe(e.colorAttachmentFormats,t.colorAttachmentFormats,be)&&e.depthStencilAttachmentFormat===t.depthStencilAttachmentFormat)))))},e.reverseDepthForClearValue=function(e,t){return void 0===t&&(t=K),t?1-e:e},e.reverseDepthForCompareFunction=q,e.reverseDepthForDepthOffset=function(e,t){return void 0===t&&(t=K),t?-e:e},e.reverseDepthForOrthographicProjectionMatrix=function(e,t){void 0===t&&(t=K),t&&(e[10]=-e[10],e[14]=1-e[14])},e.reverseDepthForPerspectiveProjectionMatrix=function(e,t){void 0===t&&(t=K),t&&(e[10]=-e[10],e[14]=-e[14])},e.samplerBindingCopy=we,e.samplerDescriptorEquals=function(e,t){return e.addressModeU===t.addressModeU&&e.addressModeV===t.addressModeV&&e.minFilter===t.minFilter&&e.magFilter===t.magFilter&&e.mipmapFilter===t.mipmapFilter&&e.lodMinClamp===t.lodMinClamp&&e.lodMaxClamp===t.lodMaxClamp&&e.maxAnisotropy===t.maxAnisotropy&&e.compareFunction===t.compareFunction},e.setAttachmentStateSimple=function(e,t){return void 0===e.attachmentsState&&(e.attachmentsState=[],ae(e.attachmentsState,ue.attachmentsState)),le(e.attachmentsState[0],t),e},e.setBitFlagEnabled=function(e,t,r){return r?e|=t:e&=~t,e},e.setFormatComponentCount=function(e,t){return 4294902015&e|t<<8},e.setFormatFlags=function(e,t){return 4294967040&e|t},e.setMegaStateFlags=ie,e.spliceBisectRight=function(e,t,r){var n=$(e,t,r);e.splice(n,0,t)},e.stencilFaceStateEquals=ve,e.textureBindingCopy=He,e.vertexAttributeDescriptorCopy=Ve,e.vertexAttributeDescriptorEquals=xe}));
|
|
2
|
+
//# sourceMappingURL=index.umd.min.js.map
|