diff --git a/.gitignore b/.gitignore index 226b822..2c87b15 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,24 @@ node_modules -npm-debug.log +dist + public/workers *.mp4 *.flv *.rar *.zip *.7z -.catch/** \ No newline at end of file +.catch/** + +.DS_Store + +# Log files +npm-debug.log* +pnpm-debug.log* + +# Editor directories and files +.idea +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..2b3b7b2 --- /dev/null +++ b/.npmrc @@ -0,0 +1,2 @@ +auto-install-peers=true +registry=https://registry.npmmirror.com diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000..b1215e8 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v18.16.0 \ No newline at end of file diff --git a/.prettierrc b/.prettierrc index bf0361b..705970b 100644 --- a/.prettierrc +++ b/.prettierrc @@ -11,6 +11,7 @@ "quoteProps": "as-needed", "requirePragma": false, "semi": true, + "singleAttributePerLine": false, "singleQuote": false, "tabWidth": 4, "trailingComma": "none", diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..0555c66 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,3 @@ +{ + "recommendations": ["PolyMeilex.wgsl", "ritwickdey.LiveServer", "esbenp.prettier-vscode", "dbaeumer.vscode-eslint"] +} diff --git a/README.md b/README.md index ef997e7..bf2a65b 100644 --- a/README.md +++ b/README.md @@ -1,117 +1,135 @@ -## Note: +# GEngine.js -- WebGPU Engine +WebGPU Engine ## install -- `npm i @gengine-js/gengine` +```shell +$ yarn add @gengine-js/gengine +``` -## build +## develop -- `npm install` +```shell +# install +$ yarn -- `npm run build` +# dev +$ yarn dev -## Usage +# build +$ yarn build +``` - + function onWindowResize() { + camera.aspect = window.innerWidth / window.innerHeight; + scene.resize(window.innerWidth, window.innerHeight); + } + function animate() { + control.update(); + requestAnimationFrame(animate); + scene.render(); + } + animate(); + }; + init(); + +``` ## Native - + vertexBuffers: [ + { + stepMode: "vertex", //optional + uid: "vertAttr", //must + attributes: { + position: { size: 4, value: positions }, + color: { size: 4, value: colors } + } + } + ], + uniformBuffers: [ + { + type: "uniform", + uid: "systemMatrix", + uniforms: { + modelViewProjectionMatrix: { + type: "mat4", + value: () => { + let viewMatrix = mat4.identity([]); + mat4.translate(viewMatrix, viewMatrix, vec3.fromValues(0, 0, -4)); + const now = Date.now() / 1000; + mat4.rotate( + viewMatrix, + viewMatrix, + 1, + vec3.fromValues(Math.sin(now), Math.cos(now), 0) + ); + mat4.multiply(modelViewProjectionMatrix, projectionMatrix, viewMatrix); + return modelViewProjectionMatrix; + } + } + } + } + ], + renderState: { + targets: [ + { + format: presentationFormat + } + ], + primitive: { + topology: "triangle-list", + cullMode: "back" + }, + depthStencil: { + depthWriteEnabled: true, + depthCompare: "less", + format: "depth24plus" + } + }, + count: 36, + instances: 1 + }); + + function animate() { + requestAnimationFrame(animate); + const passEncoder = canvasRenderTarget.beginRenderPass(context.device); + model.render({ device: context.device, passEncoder }); + canvasRenderTarget.endRenderPass(); + } + animate(); + }; + init(); + +``` ## feature diff --git a/build/@rollup/plugin-wgsl/index.js b/build/@rollup/plugin-wgsl/index.js new file mode 100644 index 0000000..f26af8e --- /dev/null +++ b/build/@rollup/plugin-wgsl/index.js @@ -0,0 +1,22 @@ +// https://github.com/c8n1ao/rollup-plugin-wgsl +import { readFile } from "node:fs/promises"; + +export default function wgsl(options) { + options = { + ...{ fileTypes: ["frag", "vert", "wgsl", "glsl"] }, + ...options + }; + + return { + name: "wgsl", + + async load(id) { + const isTargetSuffix = options.fileTypes.some((type) => id.endsWith(`.${type}`)); + + if (isTargetSuffix) { + const code = await readFile(id, "utf-8"); + return `export default ${JSON.stringify(code)};`; + } + } + }; +} diff --git a/dist/index.js b/dist/index.js deleted file mode 100644 index b54833b..0000000 --- a/dist/index.js +++ /dev/null @@ -1,16723 +0,0 @@ -/** @internal */ -var PredefinedColorSpace; -(function (PredefinedColorSpace) { - PredefinedColorSpace["SRGB"] = "srgb"; -})(PredefinedColorSpace || (PredefinedColorSpace = {})); -/** @internal */ -var PowerPreference; -(function (PowerPreference) { - PowerPreference["LowPower"] = "low-power"; - PowerPreference["HighPerformance"] = "high-performance"; -})(PowerPreference || (PowerPreference = {})); -/** @internal */ -var FeatureName; -(function (FeatureName) { - FeatureName["DepthClipControl"] = "depth-clip-control"; - FeatureName["Depth24UnormStencil8"] = "depth24unorm-stencil8"; - FeatureName["Depth32FloatStencil8"] = "depth32float-stencil8"; - FeatureName["TextureCompressionBC"] = "texture-compression-bc"; - FeatureName["TextureCompressionETC2"] = "texture-compression-etc2"; - FeatureName["TextureCompressionASTC"] = "texture-compression-astc"; - FeatureName["TimestampQuery"] = "timestamp-query"; - FeatureName["IndirectFirstInstance"] = "indirect-first-instance"; - FeatureName["ShaderF16"] = "shader-f16"; - FeatureName["BGRA8UnormStorage"] = "bgra8unorm-storage"; -})(FeatureName || (FeatureName = {})); -/** @internal */ -var BufferUsage; -(function (BufferUsage) { - BufferUsage[(BufferUsage["MapRead"] = 1)] = "MapRead"; - BufferUsage[(BufferUsage["MapWrite"] = 2)] = "MapWrite"; - BufferUsage[(BufferUsage["CopySrc"] = 4)] = "CopySrc"; - BufferUsage[(BufferUsage["CopyDst"] = 8)] = "CopyDst"; - BufferUsage[(BufferUsage["Index"] = 16)] = "Index"; - BufferUsage[(BufferUsage["Vertex"] = 32)] = "Vertex"; - BufferUsage[(BufferUsage["Uniform"] = 64)] = "Uniform"; - BufferUsage[(BufferUsage["Storage"] = 128)] = "Storage"; - BufferUsage[(BufferUsage["Indirect"] = 256)] = "Indirect"; - BufferUsage[(BufferUsage["QueryResolve"] = 512)] = "QueryResolve"; -})(BufferUsage || (BufferUsage = {})); -/** @internal */ -var MapMode; -(function (MapMode) { - MapMode[(MapMode["Read"] = 1)] = "Read"; - MapMode[(MapMode["Write"] = 2)] = "Write"; -})(MapMode || (MapMode = {})); -/** @internal */ -var TextureDimension; -(function (TextureDimension) { - TextureDimension["E1d"] = "1d"; - TextureDimension["E2d"] = "2d"; - TextureDimension["E3d"] = "3d"; -})(TextureDimension || (TextureDimension = {})); -/** @internal */ -var TextureUsage; -(function (TextureUsage) { - TextureUsage[(TextureUsage["CopySrc"] = 1)] = "CopySrc"; - TextureUsage[(TextureUsage["CopyDst"] = 2)] = "CopyDst"; - TextureUsage[(TextureUsage["TextureBinding"] = 4)] = "TextureBinding"; - TextureUsage[(TextureUsage["StorageBinding"] = 8)] = "StorageBinding"; - TextureUsage[(TextureUsage["RenderAttachment"] = 16)] = "RenderAttachment"; -})(TextureUsage || (TextureUsage = {})); -/** @internal */ -var TextureViewDimension; -(function (TextureViewDimension) { - TextureViewDimension["E1d"] = "1d"; - TextureViewDimension["E2d"] = "2d"; - TextureViewDimension["E2dArray"] = "2d-array"; - TextureViewDimension["Cube"] = "cube"; - TextureViewDimension["CubeArray"] = "cube-array"; - TextureViewDimension["E3d"] = "3d"; -})(TextureViewDimension || (TextureViewDimension = {})); -/** @internal */ -var TextureAspect; -(function (TextureAspect) { - TextureAspect["All"] = "all"; - TextureAspect["StencilOnly"] = "stencil-only"; - TextureAspect["DepthOnly"] = "depth-only"; -})(TextureAspect || (TextureAspect = {})); -/** - * Comments taken from https://github.com/gfx-rs/wgpu/blob/master/wgpu-types/src/lib.rs - * @internal - */ -var TextureFormat; -(function (TextureFormat) { - // 8-bit formats - TextureFormat["R8Unorm"] = "r8unorm"; - TextureFormat["R8Snorm"] = "r8snorm"; - TextureFormat["R8Uint"] = "r8uint"; - TextureFormat["R8Sint"] = "r8sint"; - // 16-bit formats - TextureFormat["R16Uint"] = "r16uint"; - TextureFormat["R16Sint"] = "r16sint"; - TextureFormat["R16Float"] = "r16float"; - TextureFormat["RG8Unorm"] = "rg8unorm"; - TextureFormat["RG8Snorm"] = "rg8snorm"; - TextureFormat["RG8Uint"] = "rg8uint"; - TextureFormat["RG8Sint"] = "rg8sint"; - // 32-bit formats - TextureFormat["R32Uint"] = "r32uint"; - TextureFormat["R32Sint"] = "r32sint"; - TextureFormat["R32Float"] = "r32float"; - TextureFormat["RG16Uint"] = "rg16uint"; - TextureFormat["RG16Sint"] = "rg16sint"; - TextureFormat["RG16Float"] = "rg16float"; - TextureFormat["RGBA8Unorm"] = "rgba8unorm"; - TextureFormat["RGBA8UnormSRGB"] = "rgba8unorm-srgb"; - TextureFormat["RGBA8Snorm"] = "rgba8snorm"; - TextureFormat["RGBA8Uint"] = "rgba8uint"; - TextureFormat["RGBA8Sint"] = "rgba8sint"; - TextureFormat["BGRA8Unorm"] = "bgra8unorm"; - TextureFormat["BGRA8UnormSRGB"] = "bgra8unorm-srgb"; - // Packed 32-bit formats - TextureFormat["RGB9E5UFloat"] = "rgb9e5ufloat"; - TextureFormat["RGB10A2Unorm"] = "rgb10a2unorm"; - TextureFormat["RG11B10UFloat"] = "rg11b10ufloat"; - // 64-bit formats - TextureFormat["RG32Uint"] = "rg32uint"; - TextureFormat["RG32Sint"] = "rg32sint"; - TextureFormat["RG32Float"] = "rg32float"; - TextureFormat["RGBA16Uint"] = "rgba16uint"; - TextureFormat["RGBA16Sint"] = "rgba16sint"; - TextureFormat["RGBA16Float"] = "rgba16float"; - // 128-bit formats - TextureFormat["RGBA32Uint"] = "rgba32uint"; - TextureFormat["RGBA32Sint"] = "rgba32sint"; - TextureFormat["RGBA32Float"] = "rgba32float"; - // Depth and stencil formats - TextureFormat["Stencil8"] = "stencil8"; - TextureFormat["Depth16Unorm"] = "depth16unorm"; - TextureFormat["Depth24Plus"] = "depth24plus"; - TextureFormat["Depth24PlusStencil8"] = "depth24plus-stencil8"; - TextureFormat["Depth32Float"] = "depth32float"; - // BC compressed formats usable if "texture-compression-bc" is both - // supported by the device/user agent and enabled in requestDevice. - TextureFormat["BC1RGBAUnorm"] = "bc1-rgba-unorm"; - TextureFormat["BC1RGBAUnormSRGB"] = "bc1-rgba-unorm-srgb"; - TextureFormat["BC2RGBAUnorm"] = "bc2-rgba-unorm"; - TextureFormat["BC2RGBAUnormSRGB"] = "bc2-rgba-unorm-srgb"; - TextureFormat["BC3RGBAUnorm"] = "bc3-rgba-unorm"; - TextureFormat["BC3RGBAUnormSRGB"] = "bc3-rgba-unorm-srgb"; - TextureFormat["BC4RUnorm"] = "bc4-r-unorm"; - TextureFormat["BC4RSnorm"] = "bc4-r-snorm"; - TextureFormat["BC5RGUnorm"] = "bc5-rg-unorm"; - TextureFormat["BC5RGSnorm"] = "bc5-rg-snorm"; - TextureFormat["BC6HRGBUFloat"] = "bc6h-rgb-ufloat"; - TextureFormat["BC6HRGBFloat"] = "bc6h-rgb-float"; - TextureFormat["BC7RGBAUnorm"] = "bc7-rgba-unorm"; - TextureFormat["BC7RGBAUnormSRGB"] = "bc7-rgba-unorm-srgb"; - // ETC2 compressed formats usable if "texture-compression-etc2" is both - // supported by the device/user agent and enabled in requestDevice. - TextureFormat["ETC2RGB8Unorm"] = "etc2-rgb8unorm"; - TextureFormat["ETC2RGB8UnormSRGB"] = "etc2-rgb8unorm-srgb"; - TextureFormat["ETC2RGB8A1Unorm"] = "etc2-rgb8a1unorm"; - TextureFormat["ETC2RGB8A1UnormSRGB"] = "etc2-rgb8a1unorm-srgb"; - TextureFormat["ETC2RGBA8Unorm"] = "etc2-rgba8unorm"; - TextureFormat["ETC2RGBA8UnormSRGB"] = "etc2-rgba8unorm-srgb"; - TextureFormat["EACR11Unorm"] = "eac-r11unorm"; - TextureFormat["EACR11Snorm"] = "eac-r11snorm"; - TextureFormat["EACRG11Unorm"] = "eac-rg11unorm"; - TextureFormat["EACRG11Snorm"] = "eac-rg11snorm"; - // ASTC compressed formats usable if "texture-compression-astc" is both - // supported by the device/user agent and enabled in requestDevice. - TextureFormat["ASTC4x4Unorm"] = "astc-4x4-unorm"; - TextureFormat["ASTC4x4UnormSRGB"] = "astc-4x4-unorm-srgb"; - TextureFormat["ASTC5x4Unorm"] = "astc-5x4-unorm"; - TextureFormat["ASTC5x4UnormSRGB"] = "astc-5x4-unorm-srgb"; - TextureFormat["ASTC5x5Unorm"] = "astc-5x5-unorm"; - TextureFormat["ASTC5x5UnormSRGB"] = "astc-5x5-unorm-srgb"; - TextureFormat["ASTC6x5Unorm"] = "astc-6x5-unorm"; - TextureFormat["ASTC6x5UnormSRGB"] = "astc-6x5-unorm-srgb"; - TextureFormat["ASTC6x6Unorm"] = "astc-6x6-unorm"; - TextureFormat["ASTC6x6UnormSRGB"] = "astc-6x6-unorm-srgb"; - TextureFormat["ASTC8x5Unorm"] = "astc-8x5-unorm"; - TextureFormat["ASTC8x5UnormSRGB"] = "astc-8x5-unorm-srgb"; - TextureFormat["ASTC8x6Unorm"] = "astc-8x6-unorm"; - TextureFormat["ASTC8x6UnormSRGB"] = "astc-8x6-unorm-srgb"; - TextureFormat["ASTC8x8Unorm"] = "astc-8x8-unorm"; - TextureFormat["ASTC8x8UnormSRGB"] = "astc-8x8-unorm-srgb"; - TextureFormat["ASTC10x5Unorm"] = "astc-10x5-unorm"; - TextureFormat["ASTC10x5UnormSRGB"] = "astc-10x5-unorm-srgb"; - TextureFormat["ASTC10x6Unorm"] = "astc-10x6-unorm"; - TextureFormat["ASTC10x6UnormSRGB"] = "astc-10x6-unorm-srgb"; - TextureFormat["ASTC10x8Unorm"] = "astc-10x8-unorm"; - TextureFormat["ASTC10x8UnormSRGB"] = "astc-10x8-unorm-srgb"; - TextureFormat["ASTC10x10Unorm"] = "astc-10x10-unorm"; - TextureFormat["ASTC10x10UnormSRGB"] = "astc-10x10-unorm-srgb"; - TextureFormat["ASTC12x10Unorm"] = "astc-12x10-unorm"; - TextureFormat["ASTC12x10UnormSRGB"] = "astc-12x10-unorm-srgb"; - TextureFormat["ASTC12x12Unorm"] = "astc-12x12-unorm"; - TextureFormat["ASTC12x12UnormSRGB"] = "astc-12x12-unorm-srgb"; - // "depth24unorm-stencil8" feature - TextureFormat["Depth24UnormStencil8"] = "depth24unorm-stencil8"; - // "depth32float-stencil8" feature - TextureFormat["Depth32FloatStencil8"] = "depth32float-stencil8"; -})(TextureFormat || (TextureFormat = {})); -/** @internal */ -var AddressMode; -(function (AddressMode) { - AddressMode["ClampToEdge"] = "clamp-to-edge"; - AddressMode["Repeat"] = "repeat"; - AddressMode["MirrorRepeat"] = "mirror-repeat"; -})(AddressMode || (AddressMode = {})); -/** @internal */ -var FilterMode; -(function (FilterMode) { - FilterMode["Nearest"] = "nearest"; - FilterMode["Linear"] = "linear"; -})(FilterMode || (FilterMode = {})); -/** @internal */ -var CompareFunction; -(function (CompareFunction) { - CompareFunction["Never"] = "never"; - CompareFunction["Less"] = "less"; - CompareFunction["Equal"] = "equal"; - CompareFunction["LessEqual"] = "less-equal"; - CompareFunction["Greater"] = "greater"; - CompareFunction["NotEqual"] = "not-equal"; - CompareFunction["GreaterEqual"] = "greater-equal"; - CompareFunction["Always"] = "always"; -})(CompareFunction || (CompareFunction = {})); -/** @internal */ -var ShaderStage; -(function (ShaderStage) { - ShaderStage[(ShaderStage["Vertex"] = 1)] = "Vertex"; - ShaderStage[(ShaderStage["Fragment"] = 2)] = "Fragment"; - ShaderStage[(ShaderStage["Compute"] = 4)] = "Compute"; -})(ShaderStage || (ShaderStage = {})); -/** @internal */ -var BufferBindingType; -(function (BufferBindingType) { - BufferBindingType["Uniform"] = "uniform"; - BufferBindingType["Storage"] = "storage"; - BufferBindingType["ReadOnlyStorage"] = "read-only-storage"; -})(BufferBindingType || (BufferBindingType = {})); -/** @internal */ -var SamplerBindingType; -(function (SamplerBindingType) { - SamplerBindingType["Filtering"] = "filtering"; - SamplerBindingType["NonFiltering"] = "non-filtering"; - SamplerBindingType["Comparison"] = "comparison"; -})(SamplerBindingType || (SamplerBindingType = {})); -/** @internal */ -var TextureSampleType; -(function (TextureSampleType) { - TextureSampleType["Float"] = "float"; - TextureSampleType["UnfilterableFloat"] = "unfilterable-float"; - TextureSampleType["Depth"] = "depth"; - TextureSampleType["Sint"] = "sint"; - TextureSampleType["Uint"] = "uint"; -})(TextureSampleType || (TextureSampleType = {})); -/** @internal */ -var StorageTextureAccess; -(function (StorageTextureAccess) { - StorageTextureAccess["WriteOnly"] = "write-only"; -})(StorageTextureAccess || (StorageTextureAccess = {})); -/** @internal */ -var CompilationMessageType; -(function (CompilationMessageType) { - CompilationMessageType["Error"] = "error"; - CompilationMessageType["Warning"] = "warning"; - CompilationMessageType["Info"] = "info"; -})(CompilationMessageType || (CompilationMessageType = {})); -/** @internal */ -var AutoLayoutMode; -(function (AutoLayoutMode) { - AutoLayoutMode["Auto"] = "auto"; -})(AutoLayoutMode || (AutoLayoutMode = {})); -/** @internal */ -var PrimitiveTopology; -(function (PrimitiveTopology) { - PrimitiveTopology["PointList"] = "point-list"; - PrimitiveTopology["LineList"] = "line-list"; - PrimitiveTopology["LineStrip"] = "line-strip"; - PrimitiveTopology["TriangleList"] = "triangle-list"; - PrimitiveTopology["TriangleStrip"] = "triangle-strip"; -})(PrimitiveTopology || (PrimitiveTopology = {})); -/** @internal */ -var FrontFace; -(function (FrontFace) { - FrontFace["CCW"] = "ccw"; - FrontFace["CW"] = "cw"; -})(FrontFace || (FrontFace = {})); -/** @internal */ -var CullMode; -(function (CullMode) { - CullMode["None"] = "none"; - CullMode["Front"] = "front"; - CullMode["Back"] = "back"; -})(CullMode || (CullMode = {})); -/** @internal */ -var ColorWriteFlags; -(function (ColorWriteFlags) { - ColorWriteFlags[(ColorWriteFlags["Red"] = 1)] = "Red"; - ColorWriteFlags[(ColorWriteFlags["Green"] = 2)] = "Green"; - ColorWriteFlags[(ColorWriteFlags["Blue"] = 4)] = "Blue"; - ColorWriteFlags[(ColorWriteFlags["Alpha"] = 8)] = "Alpha"; - ColorWriteFlags[(ColorWriteFlags["All"] = 15)] = "All"; -})(ColorWriteFlags || (ColorWriteFlags = {})); -/** @internal */ -var BlendFactor; -(function (BlendFactor) { - BlendFactor["Zero"] = "zero"; - BlendFactor["One"] = "one"; - BlendFactor["Src"] = "src"; - BlendFactor["OneMinusSrc"] = "one-minus-src"; - BlendFactor["SrcAlpha"] = "src-alpha"; - BlendFactor["OneMinusSrcAlpha"] = "one-minus-src-alpha"; - BlendFactor["Dst"] = "dst"; - BlendFactor["OneMinusDst"] = "one-minus-dst"; - BlendFactor["DstAlpha"] = "dst-alpha"; - BlendFactor["OneMinusDstAlpha"] = "one-minus-dst-alpha"; - BlendFactor["SrcAlphaSaturated"] = "src-alpha-saturated"; - BlendFactor["Constant"] = "constant"; - BlendFactor["OneMinusConstant"] = "one-minus-constant"; -})(BlendFactor || (BlendFactor = {})); -/** @internal */ -var BlendOperation; -(function (BlendOperation) { - BlendOperation["Add"] = "add"; - BlendOperation["Subtract"] = "subtract"; - BlendOperation["ReverseSubtract"] = "reverse-subtract"; - BlendOperation["Min"] = "min"; - BlendOperation["Max"] = "max"; -})(BlendOperation || (BlendOperation = {})); -/** @internal */ -var StencilOperation; -(function (StencilOperation) { - StencilOperation["Keep"] = "keep"; - StencilOperation["Zero"] = "zero"; - StencilOperation["Replace"] = "replace"; - StencilOperation["Invert"] = "invert"; - StencilOperation["IncrementClamp"] = "increment-clamp"; - StencilOperation["DecrementClamp"] = "decrement-clamp"; - StencilOperation["IncrementWrap"] = "increment-wrap"; - StencilOperation["DecrementWrap"] = "decrement-wrap"; -})(StencilOperation || (StencilOperation = {})); -/** @internal */ -var IndexFormat; -(function (IndexFormat) { - IndexFormat["Uint16"] = "uint16"; - IndexFormat["Uint32"] = "uint32"; -})(IndexFormat || (IndexFormat = {})); -/** @internal */ -var VertexFormat; -(function (VertexFormat) { - VertexFormat["Uint8x2"] = "uint8x2"; - VertexFormat["Uint8x4"] = "uint8x4"; - VertexFormat["Sint8x2"] = "sint8x2"; - VertexFormat["Sint8x4"] = "sint8x4"; - VertexFormat["Unorm8x2"] = "unorm8x2"; - VertexFormat["Unorm8x4"] = "unorm8x4"; - VertexFormat["Snorm8x2"] = "snorm8x2"; - VertexFormat["Snorm8x4"] = "snorm8x4"; - VertexFormat["Uint16x2"] = "uint16x2"; - VertexFormat["Uint16x4"] = "uint16x4"; - VertexFormat["Sint16x2"] = "sint16x2"; - VertexFormat["Sint16x4"] = "sint16x4"; - VertexFormat["Unorm16x2"] = "unorm16x2"; - VertexFormat["Unorm16x4"] = "unorm16x4"; - VertexFormat["Snorm16x2"] = "snorm16x2"; - VertexFormat["Snorm16x4"] = "snorm16x4"; - VertexFormat["Float16x2"] = "float16x2"; - VertexFormat["Float16x4"] = "float16x4"; - VertexFormat["Float32"] = "float32"; - VertexFormat["Float32x2"] = "float32x2"; - VertexFormat["Float32x3"] = "float32x3"; - VertexFormat["Float32x4"] = "float32x4"; - VertexFormat["Uint32"] = "uint32"; - VertexFormat["Uint32x2"] = "uint32x2"; - VertexFormat["Uint32x3"] = "uint32x3"; - VertexFormat["Uint32x4"] = "uint32x4"; - VertexFormat["Sint32"] = "sint32"; - VertexFormat["Sint32x2"] = "sint32x2"; - VertexFormat["Sint32x3"] = "sint32x3"; - VertexFormat["Sint32x4"] = "sint32x4"; -})(VertexFormat || (VertexFormat = {})); -/** @internal */ -var InputStepMode; -(function (InputStepMode) { - InputStepMode["Vertex"] = "vertex"; - InputStepMode["Instance"] = "instance"; -})(InputStepMode || (InputStepMode = {})); -/** @internal */ -var ComputePassTimestampLocation; -(function (ComputePassTimestampLocation) { - ComputePassTimestampLocation["Beginning"] = "beginning"; - ComputePassTimestampLocation["End"] = "end"; -})(ComputePassTimestampLocation || (ComputePassTimestampLocation = {})); -/** @internal */ -var RenderPassTimestampLocation; -(function (RenderPassTimestampLocation) { - RenderPassTimestampLocation["Beginning"] = "beginning"; - RenderPassTimestampLocation["End"] = "end"; -})(RenderPassTimestampLocation || (RenderPassTimestampLocation = {})); -/** @internal */ -var LoadOp; -(function (LoadOp) { - LoadOp["Load"] = "load"; - LoadOp["Clear"] = "clear"; -})(LoadOp || (LoadOp = {})); -/** @internal */ -var StoreOp; -(function (StoreOp) { - StoreOp["Store"] = "store"; - StoreOp["Discard"] = "discard"; -})(StoreOp || (StoreOp = {})); -/** @internal */ -var QueryType; -(function (QueryType) { - QueryType["Occlusion"] = "occlusion"; - QueryType["Timestamp"] = "timestamp"; -})(QueryType || (QueryType = {})); -/** @internal */ -var CanvasAlphaMode; -(function (CanvasAlphaMode) { - CanvasAlphaMode["Opaque"] = "opaque"; - CanvasAlphaMode["Premultiplied"] = "premultiplied"; -})(CanvasAlphaMode || (CanvasAlphaMode = {})); -/** @internal */ -var DeviceLostReason; -(function (DeviceLostReason) { - DeviceLostReason["Destroyed"] = "destroyed"; -})(DeviceLostReason || (DeviceLostReason = {})); -/** @internal */ -var ErrorFilter; -(function (ErrorFilter) { - ErrorFilter["OutOfMemory"] = "out-of-memory"; - ErrorFilter["Validation"] = "validation"; -})(ErrorFilter || (ErrorFilter = {})); -var GPUColorWrite; -(function (GPUColorWrite) { - GPUColorWrite[(GPUColorWrite["Red"] = 1)] = "Red"; - GPUColorWrite[(GPUColorWrite["Green"] = 2)] = "Green"; - GPUColorWrite[(GPUColorWrite["Blue"] = 4)] = "Blue"; - GPUColorWrite[(GPUColorWrite["Alpha"] = 8)] = "Alpha"; - GPUColorWrite[(GPUColorWrite["All"] = 15)] = "All"; -})(GPUColorWrite || (GPUColorWrite = {})); -var CommandSubType; -(function (CommandSubType) { - CommandSubType["Shadow"] = "shadow"; - CommandSubType["Pick"] = "pick"; -})(CommandSubType || (CommandSubType = {})); -var Intersect; -(function (Intersect) { - Intersect[(Intersect["OUTSIDE"] = -1)] = "OUTSIDE"; - Intersect[(Intersect["INTERSECTING"] = 0)] = "INTERSECTING"; - Intersect[(Intersect["INSIDE"] = 1)] = "INSIDE"; -})(Intersect || (Intersect = {})); - -class Buffer { - constructor(label, device, usage, data, size) { - this.device = device; - this.usage = usage; - this.data = data; - this.size = size != undefined ? (size + 3) & ~3 : (data.byteLength + 3) & ~3; // 4 bytes alignments (because of the upload which requires this) - this.gpuBuffer = device.createBuffer({ - label: label || "", - size: this.size, - usage - }); - if (data) this.setSubData(0, data, this.size); - } - static create(label, device, usage, data, size) { - return new Buffer(label, device, usage, data, size); - } - static createVertexBuffer(label, device, data) { - return new Buffer(label, device, BufferUsage.Vertex | BufferUsage.CopyDst, data, data.byteLength); - } - static createIndexBuffer(label, device, data) { - return new Buffer(label, device, BufferUsage.Index | BufferUsage.CopyDst, data); - } - static createUniformBuffer(label, device, size, usage) { - return new Buffer(label, device, usage, null, size); - } - static createStorageBuffer(label, device, size, usage = BufferUsage.Storage) { - return new Buffer(label, device, usage, null, size); - } - // https://github.com/gpuweb/gpuweb/blob/main/design/BufferOperations.md - setSubData(offset, data, size) { - const srcArrayBuffer = data.buffer; - const byteCount = size ?? srcArrayBuffer.byteLength; - const srcBuffer = this.device.createBuffer({ - mappedAtCreation: true, - size: byteCount, - usage: GPUBufferUsage.COPY_SRC - }); - const arrayBuffer = srcBuffer.getMappedRange(); - new Uint16Array(arrayBuffer).set(new Uint16Array(srcArrayBuffer)); // memcpy - srcBuffer.unmap(); - this.copyToBuffer(srcBuffer, offset, byteCount); - srcBuffer.destroy(); - } - copyToBuffer(srcBuffer, offset, byteCount) { - const commandEncoder = this.device.createCommandEncoder(); - commandEncoder.copyBufferToBuffer(srcBuffer, 0, this.gpuBuffer, offset, byteCount); - this.device.queue.submit([commandEncoder.finish()]); - } - copyToTexture(bytesPerRow, rowsPerImage, destination, extent) { - const commandEncoder = this.device.createCommandEncoder(); - commandEncoder.copyBufferToTexture( - { - buffer: this.gpuBuffer, - bytesPerRow, - rowsPerImage - }, - destination, - extent - ); - this.device.queue.submit([commandEncoder.finish()]); - } - destroy() { - this.gpuBuffer.destroy(); - } -} - -const pipelineLayoutCache = new Map(); -class PipelineLayout { - constructor(device, label, groupLayouts = [], index) { - this.groupLayouts = groupLayouts; - this.index = index || 0; - this.gpuPipelineLayout = device.createPipelineLayout({ - label: label, - bindGroupLayouts: groupLayouts.map((layout) => { - return layout.gpuBindGroupLayout; - }) - }); - } - static getPipelineLayoutFromCache(device, label, groupLayouts) { - if (pipelineLayoutCache.has(label)) { - return pipelineLayoutCache.get(label); - } else { - const bindGroupLayout = new PipelineLayout(device, label, groupLayouts); - pipelineLayoutCache.set(label, bindGroupLayout); - return bindGroupLayout; - } - } -} - -const renderPipelines = new Map(); -const computePipelines = new Map(); -class Pipeline { - constructor(type, device, descriptor) { - this.type = type; - this.descriptor = descriptor; - this.device = device; - this.createPipeline(); - } - createPipeline() { - if (this.type == "render") { - this.gpuPipeline = this.device.createRenderPipeline(this.descriptor); - } else { - this.gpuPipeline = this.device.createComputePipeline(this.descriptor); - } - } - bind(passEncoder) { - if (this.type == "render") { - passEncoder.setPipeline(this.gpuPipeline); - } else { - passEncoder.setPipeline(this.gpuPipeline); - } - } - static getRenderPipelineFromCache(device, drawComand, groupLayouts) { - const { renderState, shaderSource } = drawComand; - const rsStr = JSON.stringify(renderState); - const combineStr = shaderSource.uid.concat(rsStr); - const hashId = stringToHash(combineStr); - const combineLayouts = groupLayouts - ?.filter((layout) => layout != undefined) - ?.sort((layout1, layout2) => layout1.index - layout2.index); - let pipeline = renderPipelines.get(hashId); - if (!pipeline) { - const descriptor = Pipeline.getPipelineDescriptor( - device, - drawComand, - renderState, - combineLayouts, - hashId.toString() - ); - pipeline = new Pipeline("render", device, descriptor); - renderPipelines.set(hashId, pipeline); - } - return pipeline; - } - static getComputePipelineFromCache(device, computeCommad, groupLayouts) { - const { shaderSource } = computeCommad; - const hashId = stringToHash(shaderSource.uid); - let pipeline = computePipelines.get(hashId); - if (!pipeline) { - pipeline = new Pipeline("compute", device, { - layout: PipelineLayout.getPipelineLayoutFromCache(device, hashId.toString(), groupLayouts) - .gpuPipelineLayout, - compute: { - module: shaderSource.getShaderModule(device).compute, - entryPoint: shaderSource?.compute?.computeMain || "main" - } - }); - computePipelines.set(hashId, pipeline); - } - return pipeline; - } - static getPipelineDescriptor(device, drawComand, renderState, groupLayouts, hashId) { - const { vertexBuffers, shaderSource } = drawComand; - const { vert, frag } = shaderSource.getShaderModule(device); - const pipelineDec = { - layout: PipelineLayout.getPipelineLayoutFromCache(device, hashId, groupLayouts).gpuPipelineLayout - }; - if (vert) - pipelineDec.vertex = { - module: vert, - entryPoint: shaderSource?.render?.vertMain || "main", - buffers: vertexBuffers.map((vertexBuffer) => vertexBuffer.getBufferDes()) - }; - if (renderState.primitive) pipelineDec.primitive = renderState.primitive.getGPUPrimitiveDec(); - if (renderState.depthStencil) pipelineDec.depthStencil = renderState.depthStencil.getGPUDepthStencilDec(); - if (renderState.multisample) pipelineDec.multisample = renderState.multisample.getMultiSampleDec(); - if (frag) - pipelineDec.fragment = { - module: frag, - entryPoint: shaderSource?.render?.fragMain || "main", - targets: renderState.targets.map((target) => { - return target.getGPUTargetDec(); - }) - }; - return pipelineDec; - } -} -// Borrowed from https://werxltd.com/wp/2010/05/13/javascript-implementation-of-javas-string-hashcode-method/ -function stringToHash(str) { - let hash = 0; - if (str.length == 0) return hash; - for (let i = 0; i < str.length; i++) { - const char = str.charCodeAt(i); - hash = (hash << 5) - hash + char; - hash = hash & hash; // Convert to 32bit integer - } - return hash; -} - -class DrawCommand { - constructor(options) { - this.shaderData = options.shaderData; - this.renderTarget = options.renderTarget; - this.useLight = options.useLight; - this.vertexBuffers = options.vertexBuffers; - this.indexBuffer = options.indexBuffer; - this.renderState = options.renderState; - this.queryIndex = options.queryIndex; - this.count = options.count; - this.instances = options.instances; - this.shaderSource = options.shaderSource; - this.dirty = options.dirty; - this.lightShaderData = options.lightShaderData; - } - shallowClone(material) { - if (!material) return; - return new DrawCommand({ - vertexBuffers: this.vertexBuffers, - indexBuffer: this.indexBuffer, - shaderData: material.shaderData, - instances: this.instances, - count: this.count, - renderState: material.renderState, - shaderSource: material.shaderSource, - lightShaderData: material.light ? this.lightShaderData : undefined, - useLight: material.light - }); - } - render(params) { - const { device, passEncoder, camera, querySet, viewPort, scissorTest } = params || {}; - const { - shaderData, - renderState, - vertexBuffers, - indexBuffer, - lightShaderData, - shaderSource, - count, - instances, - renderTarget, - useLight, - indirectOffset, - indirectBuffer, - queryIndex - } = this; - const currentPassEncoder = renderTarget?.beginRenderPass?.(device) ?? passEncoder; - const defines = Object.assign({}, lightShaderData?.defines ?? {}, camera?.shaderData?.defines ?? {}); - shaderData?.bind?.(device, currentPassEncoder); - camera?.shaderData?.bind(device, currentPassEncoder); - useLight && lightShaderData?.bind?.(device, currentPassEncoder); - renderState?.bind?.({ - passEncoder: currentPassEncoder, - viewPort: viewPort, - scissorTest: scissorTest - }); - vertexBuffers?.forEach?.((vertexBuffer) => vertexBuffer?.bind?.(device, currentPassEncoder)); - indexBuffer?.bind?.(device, currentPassEncoder); - shaderSource?.setDefines?.(defines); - const pipeline = Pipeline.getRenderPipelineFromCache(device, this, [ - shaderData?.groupLayout, - lightShaderData?.groupLayout, - camera?.shaderData?.groupLayout - ]); - if (queryIndex != undefined) querySet?.beginQuery(currentPassEncoder, queryIndex); - pipeline.bind(currentPassEncoder); - if (indexBuffer) { - if (indirectBuffer) { - currentPassEncoder.drawIndexedIndirect(indirectBuffer.gpuBuffer, indirectOffset || 0); - } else { - currentPassEncoder.drawIndexed(count || 0, instances || 1, 0, 0, 0); - } - } else if (count) { - if (indirectBuffer) { - currentPassEncoder.drawIndirect(indirectBuffer.gpuBuffer, indirectOffset); - } else { - currentPassEncoder.draw(count, instances || 1, 0, 0); - } - } - if (queryIndex != undefined) querySet?.endQuery(currentPassEncoder); - renderTarget?.endRenderPass?.(); - } -} - -const GPUCanvasCompositingAlphaMode = { - Opaque: "opaque", - Premultiplied: "premultiplied" -}; -var RenderObjectType; -(function (RenderObjectType) { - RenderObjectType["Camera"] = "camera"; - RenderObjectType["Light"] = "light"; - RenderObjectType["Mesh"] = "mesh"; - RenderObjectType["SkinMesh"] = "skinMesh"; - RenderObjectType["Node"] = "node"; - RenderObjectType["Axes"] = "axes"; - RenderObjectType["Skybox"] = "skyBox"; - RenderObjectType["PostEffect"] = "postEffect"; - RenderObjectType["Debug"] = "debug"; -})(RenderObjectType || (RenderObjectType = {})); -var LightType; -(function (LightType) { - LightType["SpotLight"] = "spotLight"; - LightType["PointLight"] = "pointLight"; - LightType["AmbientLight"] = "ambientLight"; - LightType["DirectionalLight"] = "directionalLight"; -})(LightType || (LightType = {})); -var UniformEnum; -(function (UniformEnum) { - UniformEnum["Float"] = "f32"; - UniformEnum["FloatVec2"] = "vec2"; - UniformEnum["FloatVec3"] = "vec3"; - UniformEnum["FloatVec4"] = "vec4"; - UniformEnum["FloatArray"] = "array"; - UniformEnum["Mat2"] = "mat2x2"; - UniformEnum["Mat3"] = "mat3x3"; - UniformEnum["Mat4"] = "mat4x4"; - UniformEnum["Color"] = "color"; - UniformEnum["Mat4Array"] = "array>"; - UniformEnum["Vec2Array"] = "array>"; - UniformEnum["Vec3Array"] = "array>"; - UniformEnum["Vec4Array"] = "array>"; - UniformEnum["UniformUint"] = "u32"; - UniformEnum["PointLights"] = "pointLights"; - UniformEnum["PointLightShadows"] = "pointLightShadows"; - UniformEnum["SpotLights"] = "spotLights"; - UniformEnum["SpotLightShadows"] = "spotLightShadows"; - UniformEnum["DirtectLights"] = "dirtectLights"; - UniformEnum["DirtectLightShadows"] = "dirtectLightShadows"; - UniformEnum["UniformStructArray"] = "StructArray"; -})(UniformEnum || (UniformEnum = {})); -var ShaderLanguage; -(function (ShaderLanguage) { - ShaderLanguage["WGSL"] = "wgsl"; - ShaderLanguage["GLSL"] = "glsl"; -})(ShaderLanguage || (ShaderLanguage = {})); -var ShaderMainStage; -(function (ShaderMainStage) { - ShaderMainStage["VERT"] = "vertex"; - ShaderMainStage["FRAG"] = "fragment"; - ShaderMainStage["COMPUTE"] = "compute"; -})(ShaderMainStage || (ShaderMainStage = {})); - -// import Color from "../../math/Color"; -var colorFrag = ` - struct VertexOutput { - @builtin(position) position: vec4, - @location(0) color: vec4, - }; - @fragment - fn main(input:VertexOutput) -> @location(0) vec4 { - return input.color; - } - `; - -var colorVert = ` - struct VertexInput { - @location(positionLocation) position: vec3, - @location(colorLocation) color: vec4, - } - struct VertexOutput { - @builtin(position) position: vec4, - @location(0) color: vec4, - }; - struct SelfUniform { - modelMatrix: mat4x4, - } - struct SystemUniform { - projectionMatrix: mat4x4, - viewMatrix: mat4x4, - inverseViewMatrix: mat4x4, - cameraPosition: vec3, - }; - @binding(colorBinding) @group(0) var selfUniform : SelfUniform; - @binding(cameraBinding) @group(1) var systemUniform : SystemUniform; - @vertex - fn main(input: VertexInput) -> VertexOutput { - var output:VertexOutput; - output.color=input.color; - output.position = systemUniform.projectionMatrix * systemUniform.viewMatrix *selfUniform.modelMatrix*vec4(input.position,1.0); - return output; - } - `; - -var pbr_fs = ` - // reference: https://github.com/KhronosGroup/glTF-WebGL-PBR/blob/master/shaders/pbr-frag.glsl - #include - #include - #include - #include - #include - #include - struct PhysicalMaterial { - diffuseColor:vec3, - roughness:f32, - specularColor:vec3, - #if USE_CLEARCOAT - clearcoat:f32, - clearcoatRoughness:f32, - clearcoatF0:vec3, - clearcoatF90:f32, - #endif - - #if USE_IRIDESCENCE - iridescence:f32, - iridescenceIOR:f32, - iridescenceThickness:f32, - iridescenceFresnel:vec3, - iridescenceF0:vec3, - #endif - - #if USE_SHEEN - sheenColor:vec3, - sheenRoughness:f32, - #endif - - #if IOR - ior:f32, - #endif - - #if USE_TRANSMISSION - transmission:f32, - transmissionAlpha:f32, - thickness:f32, - attenuationDistance:f32, - attenuationColor:vec3, - #endif - }; - const M_PI:f32 = 3.141592653589793; - const c_MinRoughness:f32 = 0.04; - #include - #if USE_IBL - #include - #endif - @binding(pbrBinding) @group(0) var materialUniform : MaterialUniform; - @binding(cameraBinding) @group(1) var systemUniform : SystemUniform; - @fragment - fn main(input:FragInput) -> @location(0) vec4 - { - var perceptualRoughness:f32 = materialUniform.roughness; - var metallic:f32 = materialUniform.metallic; - - #if USE_METALNESSTEXTURE - let mrSample:vec4 = textureSample(metalnessRoughnessTexture,metalnessRoughnessSampler, input.uv); - perceptualRoughness = mrSample.g * perceptualRoughness; - metallic = mrSample.b * metallic; - #endif - perceptualRoughness = clamp(perceptualRoughness, c_MinRoughness, 1.0); - metallic = clamp(metallic, 0.0, 1.0); - let alphaRoughness:f32 = perceptualRoughness * perceptualRoughness; - - - // The albedo may be defined from a base texture or a flat color - #if USE_TEXTURE - let baseColor:vec4 = textureSample(baseColorTexture,baseColorSampler, input.uv) ; - #else - let baseColor:vec4 = vec4(materialUniform.color,1.0); - #endif - - #if USE_NORMALTEXTURE - let n:vec3 = getNormalByNormalTexture(input); - #else - let n:vec3 = getNormal(input); - #endif - var material:PhysicalMaterial; - material.diffuseColor=baseColor.rgb*( 1.0 - metallic ); - material.roughness=perceptualRoughness; - material.specularColor=mix( vec3( 0.04), baseColor.rgb, metallic ); - var geometry:Geometry; - geometry.normal=n; - geometry.viewDir=normalize(systemUniform.cameraPosition - input.worldPos); - geometry.position=input.worldPos; - geometry.dotNV = saturate(dot(geometry.normal, geometry.viewDir) ); - //light shading - var reflectedLight=parseLights(geometry,material); - var color=reflectedLight.directDiffuse+reflectedLight.directSpecular; - //ibl - #if USE_IBL&&HAS_UV - var reflectedLightDiffuse=indirectDiffuse_Physical(geometry,material); - var reflectedLightSpecular=indirectSpecular_Physical(geometry,material); - color+=reflectedLightDiffuse.indirectDiffuse; - color+=reflectedLightSpecular.indirectSpecular; - #endif - #if USE_AOTEXTURE - let ao:f32 = textureSample(aoTexture,aoSampler, input.uv).r; - color = mix(color, color * ao, materialUniform.occlusionStrength); - #endif - - #if USE_EMISSIVETEXTURE - let emissive:vec3 = textureSample(emissiveTexture, emissiveSampler,input.uv).rgb ; - color += emissive; - #endif - return vec4(color, baseColor.a); - } - `; - -var pbr_vs = ` - #include - #include - #include - #include - #include - #include - @binding(pbrBinding) @group(0) var materialUniform : MaterialUniform; - @binding(cameraBinding) @group(1) var systemUniform : SystemUniform; - @vertex - fn main(input: VertexInput)-> VertexOutput - { - var output: VertexOutput; - #if HAS_UV - output.uv = input.uv; - #endif - var modelMatrix:mat4x4; - var vNormalView:vec3; - vNormalView = normalize(materialUniform.normalMatrix * vec4(input.normal,0.0)).xyz; - modelMatrix=materialUniform.modelMatrix; - #include - #include - output.normal = vNormalView.xyz; - output.position = systemUniform.projectionMatrix * systemUniform.viewMatrix *modelMatrix* vec4(input.position, 1.0); - let modelPos=modelMatrix *vec4(input.position,1.0); - output.worldPos = modelPos.xyz/modelPos.w; - return output; - } - `; - -const preprocessorSymbols$1 = /#([^\s]*)(\s*)/gm; -// Template literal tag that handles simple preprocessor symbols for WGSL -// shaders. Supports #if/elif/else/endif statements. -function wgslParseDefines(strings, ...values) { - const stateStack = []; - let state = { frag: "", elseIsValid: false, expression: true }; - let depth = 1; - for (let i = 0; i < strings.length; ++i) { - const frag = strings[i]; - const matchedSymbols = frag.matchAll(preprocessorSymbols$1); - let lastIndex = 0; - let valueConsumed = false; - for (const match of matchedSymbols) { - state.frag += frag.substring(lastIndex, match.index); - switch (match[1]) { - case "if": - if (match.index + match[0].length != frag.length) { - throw new Error("#if must be immediately followed by a template expression (ie: ${value})"); - } - valueConsumed = true; - stateStack.push(state); - depth++; - state = { frag: "", elseIsValid: true, expression: !!values[i] }; - break; - case "elif": - if (match.index + match[0].length != frag.length) { - throw new Error("#elif must be immediately followed by a template expression (ie: ${value})"); - } else if (!state.elseIsValid) { - throw new Error("#elif not preceeded by an #if or #elif"); - } - valueConsumed = true; - if (state.expression && stateStack.length != depth) { - stateStack.push(state); - } - state = { frag: "", elseIsValid: true, expression: !!values[i] }; - break; - case "else": - if (!state.elseIsValid) { - throw new Error("#else not preceeded by an #if or #elif"); - } - if (state.expression && stateStack.length != depth) { - stateStack.push(state); - } - state = { frag: match[2], elseIsValid: false, expression: true }; - break; - case "endif": - if (!stateStack.length) { - throw new Error("#endif not preceeded by an #if"); - } - // eslint-disable-next-line no-case-declarations - const branchState = stateStack.length == depth ? stateStack.pop() : state; - state = stateStack.pop(); - depth--; - if (branchState.expression) { - state.frag += branchState.frag; - } - state.frag += match[2]; - break; - default: - // Unknown preprocessor symbol. Emit it back into the output frag unchanged. - state.frag += match[0]; - break; - } - lastIndex = match.index + match[0].length; - } - // If the frag didn't end on one of the preprocessor symbols append the rest of it here. - if (lastIndex != frag.length) { - state.frag += frag.substring(lastIndex, frag.length); - } - // If the next value wasn't consumed by the preprocessor symbol, append it here. - if (!valueConsumed && values.length > i) { - state.frag += values[i]; - } - } - if (stateStack.length) { - throw new Error("Mismatched #if/#endif count"); - } - return state.frag; -} - -function pbrFrag(defines) { - return wgslParseDefines` - #include - #include - #include - #include - #include - #include - #include - #include - struct SystemUniform { - projectionMatrix: mat4x4, - viewMatrix: mat4x4, - inverseViewMatrix: mat4x4, - cameraPosition: vec3, - }; - // uniform vec3 lightProbe[9], -//////////////////////////////////// -struct VertexOutput { - @builtin(position) position: vec4, - @builtin(front_facing) is_front: bool, - @location(0) vUv: vec2, - @location(1) vViewPosition: vec3, // Vector from vertex to camera. - @location(2) vWorldPosition: vec3, - @location(3) vNormal: vec3, - // 可选 - #if ${defines.USE_LIGHTTEXTURE || defines.USE_AOTEXTURE} - @location(${defines.vUv2OutLocation}) vUv2: vec2, - #endif - - #if ${defines.USE_COLOR_ALPHA} - @location(${defines.vColorOutLocation}) vColor: vec4, - #elif ${defines.USE_COLOR || defines.USE_INSTANCING_COLOR} - @location(${defines.vColorOutLocation}) vColor: vec3, - #endif - - #if ${defines.USE_TANGENT} - @location(${defines.vTangentOutLocation}) vTangent: vec3, - @location(${defines.vBitangentOutLocation}) vBitangent: vec3, - #endif -}; - struct PhysicalMaterial { - diffuseColor:vec3, - roughness:f32, - specularColor:vec3, - specularF90:f32, - #if ${defines.USE_CLEARCOAT} - clearcoat:f32, - clearcoatRoughness:f32, - clearcoatF0:vec3, - clearcoatF90:f32, - #endif - - #if ${defines.USE_IRIDESCENCE} - iridescence:f32, - iridescenceIOR:f32, - iridescenceThickness:f32, - iridescenceFresnel:vec3, - iridescenceF0:vec3, - #endif - - #if ${defines.USE_SHEEN} - sheenColor:vec3, - sheenRoughness:f32, - #endif - - #if ${defines.IOR} - ior:f32, - #endif - - #if ${defines.USE_TRANSMISSION} - transmission:f32, - transmissionAlpha:f32, - thickness:f32, - attenuationDistance:f32, - attenuationColor:vec3, - #endif - }; -@binding(0) @group(0) var materialUniform : MaterialUniform; -@binding(0) @group(1) var systemUniform : SystemUniform; -@fragment -fn main(input:VertexOutput)-> @location(0) vec4 { - var diffuseColor:vec4 = vec4(materialUniform.diffuse, materialUniform.opacity ); - // ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - var reflectedLight:ReflectedLight; - var totalEmissiveRadiance:vec3 = materialUniform.emissive; - #if ${defines.USE_TEXTURE} - var sampledDiffuseColor:vec4 =textureSample(baseTexture, baseSampler, input.vUv); - #if ${defines.DECODE_VIDEO_TEXTURE} - sampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w ); - #endif - - diffuseColor *= sampledDiffuseColor; - #endif - - var roughnessFactor:f32 = materialUniform.roughness; - - #if ${defines.USE_ROUGHNESSTEXTURE} - let texelRoughness:vec4=textureSample(roughnessTexture, baseSampler, input.vUv); - roughnessFactor *= texelRoughness.g; - #endif - - var metalnessFactor:f32 = materialUniform.metalness; - - #if ${defines.USE_METALNESSTEXTURE} - let texelMetalness:vec4 =textureSample(metalnessTexture, baseSampler, input.vUv); - metalnessFactor *= texelMetalness.b; - #endif - - let faceDirection:f32 =select(-1.0,1.0,input.is_front); - #if ${defines.FLAT_SHADED} - let fdx:vec3 = dpdx( input.vViewPosition ); - let fdy:vec3 = dpdy( input.vViewPosition ); - let normal:vec3 = normalize( cross( fdy, fdx ) ); - #else - let normal:vec3 = normalize( input.vNormal ); - #if ${defines.DOUBLE_SIDED} - normal = normal * faceDirection; - #endif - #if ${defines.USE_TANGENT} - let tangent:vec3 = normalize( input.vTangent ); - let bitangent:vec3 = normalize( input.vBitangent ); - #if ${defines.DOUBLE_SIDED} - tangent = tangent * faceDirection; - bitangent = bitangent * faceDirection; - #endif - #if ${defines.TANGENTSPACE_NORMALTEXTURE || defines.USE_CLEARCOAT_NORMALTEXTURE} - let vTBN:mat3x3 = mat3x3( tangent, bitangent, normal ); - #endif - #endif - #endif - - let geometryNormal:vec3 = normal; - - #if ${defines.OBJECTSPACE_NORMALTEXTURE} - normal =textureSample(normalTexture, baseSampler, input.vUv).xyz * 2.0 - 1.0; - #if ${defines.FLIP_SIDED} - normal = - normal; - #endif - #if ${defines.DOUBLE_SIDED} - normal = normal * faceDirection; - #endif - - normal = normalize(materialUniform.normalMatrix * normal ); - - #elif ${defines.TANGENTSPACE_NORMALTEXTURE} - let tempMapN:vec3 =textureSample(normalTexture, baseSampler, input.vUv).xyz * 2.0 - 1.0; - let mapN:vec3 =tempMapN.xy *= materialUniform.normalScale; - #if ${defines.USE_TANGENT} - normal = normalize( vTBN * mapN ); - #else - normal = perturbNormal2Arb( - input.vViewPosition, normal, mapN, faceDirection ); - #endif - - #elif ${defines.USE_BUMPTEXTURE} - - normal = perturbNormalArb( - input.vViewPosition, normal, dHdxy_fwd(), faceDirection ); - #endif - - #if ${defines.USE_CLEARCOAT} - var clearcoatNormal:vec3 = geometryNormal; - #endif - #if ${defines.USE_CLEARCOAT_NORMALTEXTURE} - var clearcoatMapN:vec3 =textureSample(clearcoatNormalTexture, baseSampler, input.vUv).xyz * 2.0 - 1.0; - clearcoatMapN.xy *= materialUniform.clearcoatNormalScale; - #if ${defines.USE_TANGENT} - clearcoatNormal = normalize( vTBN * clearcoatMapN ); - #else - clearcoatNormal = perturbNormal2Arb( - input.vViewPosition, clearcoatNormal, clearcoatMapN, faceDirection ); - #endif - #endif - #if ${defines.USE_EMISSIVETEXTURE} - let emissiveColor:vec4 =textureSample(emissiveTexture, baseSampler, input.vUv); - totalEmissiveRadiance *= emissiveColor.rgb; - #endif - - var material:PhysicalMaterial; - material.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor ); - let dxy:vec3 = max( abs( dpdx( geometryNormal ) ), abs( dpdy( geometryNormal ) ) ); - let geometryRoughness:f32 = max( max( dxy.x, dxy.y ), dxy.z ); - material.roughness = max( roughnessFactor, 0.0525 ); - material.roughness += geometryRoughness; - material.roughness = min( material.roughness, 1.0 ); - - #if ${defines.IOR} - material.ior = materialUniform.ior; - #if ${defines.SPECULAR} - let specularIntensityFactor:f32 = materialUniform.specularIntensity; - let specularColorFactor:vec3 = materialUniform.specularColor; - #if ${defines.USE_SPECULARINTENSITYTEXTURE} - specularIntensityFactor *=textureSample(specularIntensityTexture, baseSampler, input.vUv).a; - #endif - - #if ${defines.USE_SPECULARCOLORTEXTURE} - specularColorFactor *=textureSample(specularColorTexture, baseSampler, input.vUv).rgb; - #endif - - material.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor ); - #else - let specularIntensityFactor:f32 = 1.0; - let specularColorFactor:vec3 = vec3( 1.0 ); - material.specularF90 = 1.0; - #endif - material.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor ); - #else - material.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor ); - material.specularF90 = 1.0; - #endif - #if ${defines.USE_CLEARCOAT} - material.clearcoat = materialUniform.clearcoat; - material.clearcoatRoughness = materialUniform.clearcoatRoughness; - material.clearcoatF0 = vec3( 0.04 ); - material.clearcoatF90 = 1.0; - #if ${defines.USE_CLEARCOATTEXTURE} - material.clearcoat *=textureSample(clearcoatTexture, baseSampler, input.vUv).x; - #endif - #if ${defines.USE_CLEARCOAT_ROUGHNESSTEXTURE} - material.clearcoatRoughness *=textureSample(clearcoatRoughnessTexture, baseSampler, input.vUv).y; - #endif - material.clearcoat = saturate( material.clearcoat ); - material.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 ); - material.clearcoatRoughness += geometryRoughness; - material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 ); - #endif - #if ${defines.USE_IRIDESCENCE} - material.iridescence = materialUniform.iridescence; - material.iridescenceIOR = materialUniform.iridescenceIOR; - #if ${defines.USE_IRIDESCENCETEXTURE} - material.iridescence *=textureSample(iridescenceTexture, baseSampler, input.vUv).r; - #endif - #if ${defines.USE_IRIDESCENCE_THICKNESSTEXTURE} - material.iridescenceThickness = (materialUniform.iridescenceThicknessMaximum - materialUniform.iridescenceThicknessMinimum) * textureSample(iridescenceThicknessTexture, baseSampler, input.vUv).g + materialUniform.iridescenceThicknessMinimum; - #else - material.iridescenceThickness = materialUniform.iridescenceThicknessMaximum; - #endif - #endif - #if ${defines.USE_SHEEN} - material.sheenColor = materialUniform.sheenColor; - #if ${defines.USE_SHEENCOLORTEXTURE} - material.sheenColor *=textureSample(sheenColorTexture, baseSampler, input.vUv).rgb; - #endif - material.sheenRoughness = clamp( materialUniform.sheenRoughness, 0.07, 1.0 ); - #if ${defines.USE_SHEENROUGHNESSTEXTURE} - material.sheenRoughness *=textureSample(sheenRoughnessTexture, baseSampler, input.vUv).a; - #endif - #endif - - var geometry:GeometricContext; - geometry.position = - input.vViewPosition; - geometry.normal = normal; - // geometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( input.vViewPosition ); - geometry.viewDir = normalize( input.vViewPosition); - - #if ${defines.USE_CLEARCOAT} - geometry.clearcoatNormal = clearcoatNormal; - #endif - - #if ${defines.USE_IRIDESCENCE} - let dotNVi:f32 = saturate( dot( normal, geometry.viewDir ) ); - if ( material.iridescenceThickness == 0.0 ) { - material.iridescence = 0.0; - } - else { - material.iridescence = saturate( material.iridescence ); - } - if ( material.iridescence > 0.0 ) { - material.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor ); - material.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi ); - } - #endif - - var iblIrradiance:vec3 = vec3( 0.0 ); - var irradiance:vec3 = getAmbientLightIrradiance(commonLightsParms.ambient); - //irradiance += getLightProbeIrradiance( lightProbe, geometry.normal,systemUniform.viewMatrix ); - - var radiance:vec3 = vec3( 0.0 ); - var clearcoatRadiance:vec3 = vec3( 0.0 ); - - #if ${defines.USE_LIGHTTEXTURE} - let lightMapTexel:vec4 =textureSample(lightTexture, baseSampler, input.vUv2); - let lightMapIrradiance:vec3 = lightMapTexel.rgb * materialUniform.lightTextureIntensity; - irradiance += lightMapIrradiance; - #endif - //&& defines.STANDARD&&defines.ENVTEXTURE_TYPE_CUBE_UV - #if ${defines.USE_ENVTEXTURE} - iblIrradiance += getIBLIrradiance( geometry.normal,baseSampler,systemUniform.viewMatrix ); - #endif - #if ${defines.USE_ENVTEXTURE} - radiance += getIBLRadiance( geometry.viewDir,baseSampler,systemUniform.viewMatrix, geometry.normal, materialUniform.roughness ); - #if ${defines.USE_CLEARCOAT} - clearcoatRadiance += getIBLRadiance( geometry.viewDir,baseSampler,systemUniform.viewMatrix, geometry.clearcoatNormal, material.clearcoatRoughness ); - #endif - #endif - //直接光照 - let dirReflectedLight:ReflectedLight= parseLights(geometry,material); - reflectedLight.directDiffuse +=dirReflectedLight.directDiffuse; - reflectedLight.directSpecular +=dirReflectedLight.directSpecular; - //间接漫反射 - let indirectDiffuseLight:ReflectedLight= RE_IndirectDiffuse_Physical( irradiance, geometry, material); - reflectedLight.directDiffuse +=indirectDiffuseLight.indirectDiffuse; - reflectedLight.directSpecular +=indirectDiffuseLight.indirectSpecular; - //间接高光 - let indirectSpecularLight:ReflectedLight=RE_IndirectSpecular_Physical( radiance, iblIrradiance, clearcoatRadiance, geometry, material); - reflectedLight.directDiffuse +=indirectSpecularLight.indirectDiffuse; - reflectedLight.directSpecular +=indirectSpecularLight.indirectSpecular; - //环境光遮蔽 - #if ${defines.USE_AOTEXTURE} - let ambientOcclusion:f32 = (textureSample(aoTexture, baseSampler, input.vUv2).r - 1.0 ) * materialUniform.aoTextureIntensity + 1.0; - - reflectedLight.indirectDiffuse *= ambientOcclusion; - //&&defines.STANDARD - #if ${defines.USE_ENVTEXTURE} - let dotNV:f32 = saturate( dot( geometry.normal, geometry.viewDir ) ); - reflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness ); - #endif - #endif - - var totalDiffuse:vec3 = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse; - var totalSpecular:vec3 = reflectedLight.directSpecular + reflectedLight.indirectSpecular; - //透射 - #if ${defines.USE_TRANSMISSION} - material.transmission = materialUniform.transmission; - material.transmissionAlpha = 1.0; - material.thickness = materialUniform.thickness; - material.attenuationDistance = materialUniform.attenuationDistance; - material.attenuationColor = materialUniform.attenuationColor; - #if ${defines.USE_TRANSMISSIONTEXTURE} - material.transmission *=textureSample(transmissionTexture, baseSampler, input.vUv).r; - #endif - #if ${defines.USE_THICKNESSTEXTURE} - material.thickness *=textureSample(thicknessTexture, baseSampler, input.vUv).g; - #endif - let pos:vec3 = vWorldPosition; - let v:vec3 = normalize( cameraPosition - pos ); - let n:vec3 = inverseTransformDirection( normal, systemUniform.viewMatrix ); - let transmission:vec4 = getIBLVolumeRefraction( - n, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90, pos, modelMatrix, systemUniform.viewMatrix, systemUniform.projectionMatrix, material.ior, material.thickness, material.attenuationColor, material.attenuationDistance ); - material.transmissionAlpha = mix( material.transmissionAlpha, transmission.a, material.transmission ); - totalDiffuse = mix( totalDiffuse, transmission.rgb, material.transmission ); - #endif - - let outgoingLight:vec3 = totalDiffuse + totalSpecular + totalEmissiveRadiance; - - #if ${defines.USE_SHEEN} - let sheenEnergyComp:f32 = 1.0 - 0.157 * max3( material.sheenColor ); - outgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular; - #endif - - #if ${defines.USE_CLEARCOAT} - let dotNVcc:f32 = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) ); - let Fcc:vec3 = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc ); - outgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearcoat; - #endif - - #if ${defines.USE_TRANSMISSION} - diffuseColor.a *= material.transmissionAlpha + 0.1; - #endif - - var finnalColor:vec4; - finnalColor = vec4( outgoingLight, diffuseColor.a ); - #if ${defines.TONE_MAPPING} - finnalColor.rgb = toneMapping( finnalColor.rgb,materialUniform.toneMappingExposure ); - #endif - - finnalColor = linearToOutputTexel( finnalColor); - - #if ${defines.PREMULTIPLIED_ALPHA} - finnalColor.rgb *= finnalColor.a; - #endif - #if ${defines.DITHERING} - finnalColor.rgb = dithering( finnalColor.rgb ); - #endif - return finnalColor; - }`; -} - -function pbrVert(defines) { - return wgslParseDefines` - #include - struct VertexOutput { - @builtin(position) position: vec4, - @location(0) vUv: vec2, - @location(1) vViewPosition: vec3, // Vector from vertex to camera. - @location(2) vWorldPosition: vec3, - @location(3) vNormal: vec3, - // 可选 - #if ${defines.USE_LIGHTTEXTURE || defines.USE_AOTEXTURE} - @location(${defines.vUv2OutLocation}) vUv2: vec2, - #endif - - #if ${defines.USE_COLOR_ALPHA} - @location(${defines.vColorOutLocation}) vColor: vec4, - #elif ${defines.USE_COLOR || defines.USE_INSTANCING_COLOR} - @location(${defines.vColorOutLocation}) vColor: vec3, - #endif - - #if ${defines.USE_TANGENT} - @location(${defines.vTangentOutLocation}) vTangent: vec3, - @location(${defines.vBitangentOutLocation}) vBitangent: vec3, - #endif - }; - struct GlobalUniform { - projectionMatrix: mat4x4, - viewMatrix: mat4x4, - inverseViewMatrix: mat4x4, - cameraPosition: vec3, - }; - - //texture and sampler - // @group(0) @binding(${defines.samplerBinding}) var baseSampler: sampler; - #if ${defines.USE_SKINNING} - //uniform highp sampler2D boneTexture; - @group(0) @binding(${defines.boneTextureBinding}) var boneTexture: texture_2d; - #endif - - #if ${defines.USE_DISPLACEMENTTEXTURE} - //uniform sampler2D displacementMap; - @group(0) @binding(${defines.displacementTextureBinding}) var displacementMap: texture_2d; - #endif - - #if ${defines.MORPHTARGETS_TEXTURE} - //uniform sampler2DArray morphTargetsTexture; - @group(0) @binding(${defines.morphTargetsTextureBinding}) var morphTargetsTexture: texture_2d_array; - #endif - - struct VertexInput { - @location(0) position: vec3, - - @location(1) normal: vec3, - - @location(2) uv: vec2, - #if ${defines.USE_LIGHTTEXTURE || defines.USE_AOTEXTURE} - @location(${defines.uv2Location}) uv2:vec2, - #endif - #if ${defines.USE_INSTANCING} - @location(${defines.instanceMatrixLocation}) instanceMatrix:mat4x4, - #endif - #if ${defines.USE_INSTANCING_COLOR} - @location(${defines.instanceColorLocation}) instanceColor:vec3, - #endif - - #if ${defines.USE_TANGENT} - @location(${defines.tangentLocation}) tangent:vec4, - #endif - #if ${defines.USE_COLOR_ALPHA} - @location(${defines.colorLocation}) color:vec4, - #elif ${defines.USE_COLOR} - @location(${defines.colorLocation}) color:vec3, - #endif - - #if ${defines.USE_MORPHTARGETS && !defines.MORPHTARGETS_TEXTURE} - @location(${defines.morphTarget0Location}) morphTarget0:vec3, - - @location(${defines.morphTarget1Location}) morphTarget1:vec3, - - @location(${defines.morphTarget2Location}) morphTarget2:vec3, - - @location(${defines.morphTarget3Location}) morphTarget3:vec3, - #if ${defines.USE_MORPHNORMALS} - @location(${defines.morphNormal0Location}) morphNormal0:vec3, - - @location(${defines.morphNormal1Location}) morphNormal1:vec3, - - @location(${defines.morphNormal2Location}) morphNormal2:vec3, - - @location(${defines.morphNormal3Location}) morphNormal3:vec3, - #else - @location(${defines.morphTarget4Location}) morphTarget4:vec3, - - @location(${defines.morphTarget5Location}) morphTarget5:vec3, - - @location(${defines.morphTarget6Location}) morphTarget6:vec3, - - @location(${defines.morphTarget7Location}) morphTarget7:vec3, - #endif - #endif - #if ${defines.USE_SKINNING} - @location(${defines.skinIndexLocation}) skinIndex:vec4, - @location(${defines.skinWeightLocation}) skinWeight:vec4, - #endif - } - - #if ${defines.MORPHTARGETS_TEXTURE} - fn getMorph( vertexIndex:u32, morphTargetIndex:u32,offset:u32 )->vec4 { - let texelIndex:u32 = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset; - let y:u32 = texelIndex / materialUniform.morphTargetsTextureSize.x; - let x:u32 = texelIndex - y * materialUniform.morphTargetsTextureSize.x; - let morphUV:vec3 = vec3( x, y, morphTargetIndex ); - //textureLoad - //return texelFetch( morphTargetsTexture, morphUV, 0 ); - return textureLoad( morphTargetsTexture, morphUV, 0 ); - } - #endif - #if ${defines.USE_SKINNING} - fn getBoneMatrix( i:f32 )->mat4x4 { - let j:f32 = i * 4.0; - let x:f32 = j%f32( materialUniform.boneTextureSize ); - let y:f32 = floor( j / f32( materialUniform.boneTextureSize ) ); - let dx:f32 = 1.0 / f32( materialUniform.boneTextureSize ); - let dy:f32 = 1.0 / f32( materialUniform.boneTextureSize ); - y = dy * ( y + 0.5 ); - - let v1:vec4 = textureSample(boneTexture, baseSampler, vec2( dx * ( x + 0.5 ), y ) ); - let v2:vec4 = textureSample(boneTexture, baseSampler, vec2( dx * ( x + 1.5 ), y ) ); - let v3:vec4 = textureSample(boneTexture, baseSampler, vec2( dx * ( x + 2.5 ), y ) ); - let v4:vec4 = textureSample(boneTexture, baseSampler, vec2( dx * ( x + 3.5 ), y ) ); - let bone:mat4x4 = mat4x4( v1, v2, v3, v4 ); - return bone; - } - #endif - - @binding(0) @group(0) var materialUniform : MaterialUniform; - @binding(0) @group(1) var globalUniform : GlobalUniform; - @vertex - fn main(input:VertexInput)->VertexOutput { - var vertexOutput:VertexOutput; - #if ${defines.USE_TEXTURE} - vertexOutput.vUv = input.uv; - #endif - #if ${defines.USE_LIGHTTEXTURE || defines.USE_AOTEXTURE} - vertexOutput.vUv2 input.uv2; - #endif - #if ${defines.USE_COLOR_ALPHA} - vertexOutput.vColor = vec4( 1.0 ); - #elif ${defines.USE_COLOR || defines.USE_INSTANCING_COLOR} - vertexOutput.vColor = vec3( 1.0 ); - #endif - #if ${defines.USE_COLOR} - vertexOutput.vColor *= input.color; - #endif - #if ${defines.USE_INSTANCING_COLOR} - vertexOutput.vColor.xyz *= input.instanceColor.xyz; - #endif - #if ${defines.USE_MORPHCOLORS && defines.MORPHTARGETS_TEXTURE} - vertexOutput.vColor *= materialUniform.morphTargetBaseInfluence; - for (let i : u32 = 0u; i < materialUniform.MORPHTARGETS_COUNT; i = i + 1u ) { - #if ${defines.USE_COLOR_ALPHA} - if ( materialUniform.morphTargetInfluences[ i ] ! = 0.0 ) vertexOutput.vColor += getMorph( gl_VertexID, i, 2 ) * materialUniform.morphTargetInfluences[ i ]; - #elif ${defines.USE_COLOR} - if ( materialUniform.morphTargetInfluences[ i ] ! = 0.0 ) vertexOutput.vColor += getMorph( gl_VertexID, i, 2 ).rgb * materialUniform.morphTargetInfluences[ i ]; - #endif - } - #endif - var objectNormal:vec3 = vec3(input.normal); - #if ${defines.USE_TANGENT} - let objectTangent:vec3 = vec3( input.tangent.xyz ); - #endif - #if ${defines.USE_MORPHNORMALS} - objectNormal *= materialUniform.morphTargetBaseInfluence; - #if ${defines.MORPHTARGETS_TEXTURE} - for ( let i : u32 = 0u; i < materialUniform.MORPHTARGETS_COUNT; i = i + 1u) { - if ( materialUniform.morphTargetInfluences[ i ] ! = 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * materialUniform.morphTargetInfluences[ i ]; - } - #else - objectNormal += morphNormal0 * materialUniform.morphTargetInfluences[ 0 ]; - objectNormal += morphNormal1 * materialUniform.morphTargetInfluences[ 1 ]; - objectNormal += morphNormal2 * materialUniform.morphTargetInfluences[ 2 ]; - objectNormal += morphNormal3 * materialUniform.morphTargetInfluences[ 3 ]; - #endif - #endif - #if ${defines.USE_SKINNING} - let boneMatX:mat4x4 = getBoneMatrix( input.skinIndex.x ); - let boneMatY:mat4x4 = getBoneMatrix( input.skinIndex.y ); - let boneMatZ:mat4x4 = getBoneMatrix( input.skinIndex.z ); - let boneMatW:mat4x4 = getBoneMatrix( input.skinIndex.w ); - #endif - #if ${defines.USE_SKINNING} - let skinMatrix:mat4x4 = mat4x4( 0.0 ); - skinMatrix += input.skinWeight.x * boneMatX; - skinMatrix += input.skinWeight.y * boneMatY; - skinMatrix += input.skinWeight.z * boneMatZ; - skinMatrix += input.skinWeight.w * boneMatW; - skinMatrix = materialUniform.bindMatrixInverse * skinMatrix * materialUniform.bindMatrix; - objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz; - #if ${defines.USE_TANGENT} - objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz; - #endif - #endif - var transformedNormal:vec3 = objectNormal; - // transformedNormal+=vec3(0.0); - #if ${defines.USE_INSTANCING} - let m:mat3x3 = mat3x3( input.instanceMatrix ); - transformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) ); - transformedNormal = m * transformedNormal; - #endif - transformedNormal = materialUniform.normalMatrix * transformedNormal; - #if ${defines.FLIP_SIDED} - transformedNormal = - transformedNormal; - #endif - #if ${defines.USE_TANGENT} - let transformedTangent:vec3 = (globalUniform.viewMatrix*materialUniform.modelMatrix * vec4( objectTangent, 0.0 ) ).xyz; - #if ${defines.FLIP_SIDED} - transformedTangent = - transformedTangent; - #endif - #endif - vertexOutput.vNormal = normalize( transformedNormal ); - #if ${defines.FLAT_SHADED} - #if ${defines.USE_TANGENT} - vTangent = normalize( transformedTangent ); - vBitangent = normalize( cross( vNormal, vTangent ) * input.tangent.w ); - #endif - #endif - let transformed:vec3 = vec3( input.position ); - #if ${defines.USE_MORPHTARGETS} - transformed *= materialUniform.morphTargetBaseInfluence; - #if ${defines.MORPHTARGETS_TEXTURE} - for ( let i : u32 = 0u; i < materialUniform.MORPHTARGETS_COUNT; i = i + 1u ) { - if ( materialUniform.morphTargetInfluences[ i ] ! = 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ]; - } - #else - transformed += input.morphTarget0 * materialUniform.morphTargetInfluences[ 0 ]; - transformed += input.morphTarget1 * materialUniform.morphTargetInfluences[ 1 ]; - transformed += input.morphTarget2 * materialUniform.morphTargetInfluences[ 2 ]; - transformed += input.morphTarget3 * materialUniform.morphTargetInfluences[ 3 ]; - #if ${defines.USE_MORPHNORMALS} - transformed += input.morphTarget4 * materialUniform.morphTargetInfluences[ 4 ]; - transformed += input.morphTarget5 * materialUniform.morphTargetInfluences[ 5 ]; - transformed += input.morphTarget6 * materialUniform.morphTargetInfluences[ 6 ]; - transformed += input.morphTarget7 * materialUniform.morphTargetInfluences[ 7 ]; - #endif - #endif - #endif - #if ${defines.USE_SKINNING} - let skinVertex:vec4 = materialUniform.bindMatrix * vec4( transformed, 1.0 ); - let skinned:vec4 = vec4( 0.0 ); - skinned += boneMatX * skinVertex * input.skinWeight.x; - skinned += boneMatY * skinVertex * input.skinWeight.y; - skinned += boneMatZ * skinVertex * input.skinWeight.z; - skinned += boneMatW * skinVertex * input.skinWeight.w; - transformed = ( materialUniform.bindMatrixInverse * skinned ).xyz; - #endif - #if ${defines.USE_DISPLACEMENTTEXTURE} - transformed += normalize( objectNormal ) * (textureSample(displacementMap, baseSampler, vUv).x * materialUniform.displacementScale + materialUniform.displacementBias ); - #endif - var mvPosition:vec4 = vec4( transformed, 1.0 ); - #if ${defines.USE_INSTANCING} - mvPosition = input.instanceMatrix * mvPosition; - #endif - mvPosition = globalUniform.viewMatrix*materialUniform.modelMatrix * mvPosition; - vertexOutput.position = globalUniform.projectionMatrix * mvPosition; - vertexOutput.vViewPosition = - mvPosition.xyz/mvPosition.w; - #if ${defines.USE_ENVTEXTURE || defines.DISTANCE || defines.USE_TRANSMISSION} - var worldPosition:vec4 = vec4( transformed, 1.0 ); - #if ${defines.USE_INSTANCING} - worldPosition = input.instanceMatrix * worldPosition; - #endif - worldPosition = materialUniform.modelMatrix * worldPosition; - #endif - #if ${defines.USE_TRANSMISSION} - vertexOutput.vWorldPosition = worldPosition.xyz; - #endif - return vertexOutput; - } - `; -} - -var phongFrag = ` - struct MaterialUniform { - modelMatrix: mat4x4, - color: vec3, - opacity:f32, - normalMatrix: mat4x4, - emissive:vec3, - shininess:f32, - specular:vec3, - } - #include - #include - #include - #include - @binding(phongBinding) @group(0) var materialUniform : MaterialUniform; - @binding(cameraBinding) @group(1) var systemUniform : SystemUniform; - @fragment - fn main(input:FragInput) -> @location(0) vec4 { - var totalEmissiveRadiance:vec3 = materialUniform.emissive; - var color:vec4; - #if USE_COLORTEXTURE - color= vec4(textureSample(baseColorTexture, baseColorSampler, input.uv).rgb+materialUniform.color,materialUniform.opacity); - #else - color=vec4(materialUniform.color,materialUniform.opacity); - #endif - let v:vec3 = normalize( systemUniform.cameraPosition - input.worldPos); - #if USE_NORMALTEXTURE - let n:vec3 = getNormalByNormalTexture(input); - #else - let n:vec3 = getNormal(input); - #endif - var geometry:Geometry; - geometry.normal=n; - geometry.viewDir=v; - geometry.position=input.worldPos; - let lightColor:ReflectedLight=parseLights(geometry,materialUniform.shininess); - // var finnalColor:vec3=color.xyz + (lightColor.directDiffuse + lightColor.directSpecular + lightColor.ambient); - var finnalColor:vec3=color.xyz * (lightColor.directDiffuse + lightColor.directSpecular + lightColor.ambient); - - // finnalColor = lightColor.testColor.xyz; - - return vec4(finnalColor,color.a); - }`; - -var phongVert = ` - struct MaterialUniform { - modelMatrix: mat4x4, - color: vec3, - opacity:f32, - normalMatrix: mat4x4, - emissive:vec3, - specular:vec3, - shininess:f32, - } - #include - #include - #include - @binding(phongBinding) @group(0) var selfUniform : MaterialUniform; - @binding(cameraBinding) @group(1) var systemUniform : SystemUniform; - @vertex - fn main(input: VertexInput) -> VertexOutput { - var output: VertexOutput; - #if HAS_UV - output.uv = input.uv; - #endif - let modelPos=selfUniform.modelMatrix *vec4(input.position,1.0); - output.worldPos = modelPos.xyz/modelPos.w; - let vNormalView = selfUniform.normalMatrix * vec4(input.normal,0.0); - output.normal = vNormalView.xyz; - output.view = systemUniform.cameraPosition.xyz - modelPos.xyz; - let viewPosition=systemUniform.viewMatrix * modelPos; - output.viewPosition = -viewPosition.xyz; - output.position = systemUniform.projectionMatrix * systemUniform.viewMatrix * modelPos; - return output; - }`; - -const point_fs = ` - #include - struct SelfUniform { - modelMatrix: mat4x4, - color:vec3, - size:f32, - opacity:f32, - } - @binding(pointBinding) @group(0) var selfUniform : SelfUniform; - #if USE_COLORTEXTURE - @group(0) @binding(baseColorSamplerBinding) var baseColorSampler: sampler; - @group(0) @binding(baseColorTextureBinding) var baseColorTexture: texture_2d; - #endif - @fragment - fn main(input:PointFragInput) -> @location(0) vec4 { - var color:vec4=vec4(selfUniform.color,selfUniform.opacity); - #if USE_COLORTEXTURE - color=textureSample(baseColorTexture, baseColorSampler, input.uv); - #endif - #if HAS_COLOR - color=vec4(input.color,selfUniform.opacity); - #endif - return color; - } - `; - -const point_vs = ` - #include - #include - #include - struct SelfUniform { - modelMatrix: mat4x4, - color:vec3, - size:f32, - opacity:f32, - } - @binding(pointBinding) @group(0) var selfUniform : SelfUniform; - @binding(cameraBinding) @group(1) var systemUniform : SystemUniform; - @vertex - fn main(input: PointVertInput) -> PointVertOutput { - var output:PointVertOutput; - let mvPosition:vec4= ystemUniform.viewMatrix *selfUniform.modelMatrix*vec4(0.0,0.0,0.0, 1.0 ); - #if HAS_UV - output.uv=input.uv; - #endif - #if HAS_COLOR - output.color=input.color; - #endif - #if HAS_SIZE - output.size=input.size; - #endif - vec2 alignedPosition = input.position.xy* selfUniform.size; - mvPosition.xy += alignedPosition; - output.position = systemUniform.projectionMatrix * mvPosition; - return output; - } - `; - -var quadFrag = ` - @group(0) @binding(1) var baseSampler: sampler; - @group(0) @binding(0) var colorTexture: texture_2d; - struct VertexOutput { - @builtin(position) position: vec4, - @location(0) uv: vec2, - }; - @fragment - fn main(input:VertexOutput) -> @location(0) vec4 { - return textureSample(colorTexture, baseSampler, vec2(input.uv.x,1.0-input.uv.y)); - } - `; - -var quadVert = ` - struct VertexInput { - @location(positionLocation) position: vec2, - } - struct VertexOutput { - @builtin(position) position: vec4, - @location(0) uv: vec2, - }; - @vertex - fn main(input: VertexInput) -> VertexOutput { - var output:VertexOutput; - output.uv = input.position * 0.5 + 0.5; - output.position = vec4(input.position, 0.0, 1.0);; - return output; - } - `; - -var skyBoxFrag = ` - fn lessThanEqual(a:vec3,b:vec3)->vec3{ - let xValue:f32=select(b.x,a.x,a.x<=b.x); - let yValue:f32=select(b.y,a.y,a.y<=b.y); - let zValue:f32=select(b.z,a.z,a.z<=b.z); - return vec3(xValue,yValue,zValue); - } - fn LinearTosRGB( value:vec4 )->vec4 { - return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a ); - } - struct FragmentInput { - @location(0) texCoord : vec3 - }; - @group(0) @binding(2) var defaultSampler: sampler; - @group(0) @binding(1) var skyboxTexture: texture_cube; - @fragment - fn main(input : FragmentInput) -> @location(0) vec4 { - let color = textureSample(skyboxTexture, defaultSampler, input.texCoord); - return LinearTosRGB(color); - } -`; - -var skyBoxVert = ` - struct SystemUniform { - projectionMatrix: mat4x4, - viewMatrix: mat4x4, - inverseViewMatrix: mat4x4, - cameraPosition: vec3, - }; - struct MaterialUniform { - modelMatrix: mat4x4, - } - @binding(skyboxBinding) @group(0) var selfUniform : MaterialUniform; - @binding(cameraBinding) @group(1) var systemUniform : SystemUniform; - struct VertexInput { - @location(positionLocation) position : vec3, - }; - struct VertexOutput { - @builtin(position) position : vec4, - @location(0) texCoord : vec3, - }; - @vertex - fn main(input : VertexInput) -> VertexOutput { - var output : VertexOutput; - output.texCoord = input.position.xyz; - var modelView = systemUniform.viewMatrix; - // Drop the translation portion of the modelView matrix - modelView[3] = vec4(0.0, 0.0, 0.0, modelView[3].w); - output.position = systemUniform.projectionMatrix * modelView * vec4(input.position,1.0); - output.position = output.position.xyww; - return output; - } - `; - -const sprite_fs = ` - #include - struct SelfUniform { - modelMatrix: mat4x4, - color:vec3, - rotation:f32, - center:vec2, - opacity:f32, - } - @binding(spriteBinding) @group(0) var selfUniform : SelfUniform; - #if USE_COLORTEXTURE - @group(0) @binding(baseColorSamplerBinding) var baseColorSampler: sampler; - @group(0) @binding(baseColorTextureBinding) var baseColorTexture: texture_2d; - #endif - @fragment - fn main(input:VertexOutput) -> @location(0) vec4 { - #if USE_COLORTEXTURE - return textureSample(baseColorTexture, baseColorSampler, input.uv); - #else - return vec4(selfUniform.color,selfUniform.opacity); - #endif - } - `; - -const sprite_vs = ` - - #include - #include - #include - struct SelfUniform { - modelMatrix: mat4x4, - color:vec3, - rotation:f32, - center:vec2, - opacity:f32, - } - @binding(spriteBinding) @group(0) var selfUniform : SelfUniform; - @binding(cameraBinding) @group(1) var systemUniform : SystemUniform; - @vertex - fn main(input: VertexInput) -> VertexOutput { - var output:VertexOutput; - var mvPosition:vec4= systemUniform.viewMatrix *selfUniform.modelMatrix*vec4(0.0,0.0,0.0,1.0); - #if HAS_UV - output.uv=input.uv; - #endif - var scale:vec2; - scale.x = length(vec3(selfUniform.modelMatrix[0].x, selfUniform.modelMatrix[0].y, selfUniform.modelMatrix[0].z)); - scale.y = length(vec3(selfUniform.modelMatrix[1].x, selfUniform.modelMatrix[1].y, selfUniform.modelMatrix[1].z)); - // scale *= - mvPosition.z; - var alignedPosition:vec2 =(input.position.xy- (selfUniform.center - vec2(0.5,0.5))) * scale; - let rotatedPositionX = cos(selfUniform.rotation) * alignedPosition.x - sin( selfUniform.rotation ) * alignedPosition.y; - let rotatedPositionY = sin(selfUniform.rotation) * alignedPosition.x + cos( selfUniform.rotation ) * alignedPosition.y; - var rotatedPosition=vec2(rotatedPositionX,rotatedPositionY); - let newPoint =mvPosition.xy+ rotatedPosition; - output.position = systemUniform.projectionMatrix * vec4(newPoint.x,newPoint.y,mvPosition.z,mvPosition.w); - return output; - } - `; - -var blendFrag = ` - struct FragInput { - @location(0) uv: vec2, - }; - @group(0) @binding({{tDiffuseBinding}}) var tDiffuse: texture_2d; - @group(0) @binding({{baseColorTextureBinding}}) var baseColorTexture: texture_2d; - @group(0) @binding({{tSamplerBinding}}) var tSampler: sampler; - @fragment - fn main(input:FragInput) -> @location(0) vec4 { - let postColor:vec4 = textureSample(tDiffuse, tSampler, input.uv); - let baseColor:vec4 = textureSample(baseColorTexture, tSampler, input.uv); - return baseColor+postColor; - } - `; - -var Blur = ` - struct FragInput { - @location(0) uv: vec2, - } - struct BlurUniforms { - direction:vec2, - } - fn gaussianPdf(x:f32, sigma:f32)->f32 { - return 0.39894 * exp( -0.5 * x * x/( sigma * sigma))/sigma; - } - @group(0) @binding(0) var blurUniforms : BlurUniforms; - @group(0) @binding({{tDiffuseBinding}}) var tDiffuse: texture_2d; - @group(0) @binding({{tSamplerBinding}}) var tSampler: sampler; - @fragment - fn main(input:FragInput) -> @location(0) vec4 { - let invSize:vec2 = vec2(1.0,1.0) / vec2(textureDimensions(tDiffuse)); - let fSigma:f32 =f32(sigmaConst); - var weightSum:f32 = gaussianPdf(0.0, fSigma); - let baseColor=textureSample(tDiffuse, tSampler, input.uv); - var diffuseSum:vec3 = baseColor.rgb * weightSum; - let uvOffset:vec2 = blurUniforms.direction * invSize; - for( var i : u32 = 1; i < kernelRadius;i = i + 1 ) { - let x:f32 = f32(i); - let w:f32 = gaussianPdf(x, fSigma); - let sample1:vec3=textureSample(tDiffuse, tSampler, input.uv+ uvOffset*x).rgb; - let sample2:vec3=textureSample(tDiffuse, tSampler, input.uv- uvOffset*x).rgb; - diffuseSum =diffuseSum+ (sample2+sample2)* w; - weightSum += 2.0 * w; - } - diffuseSum/=weightSum; - return vec4(diffuseSum,baseColor.a); - } - `; - -var LuminosityHigh = ` - struct LuminosityUniforms{ - luminosityThreshold:f32, - smoothWidth:f32, - defaultColor:vec3, - defaultOpacity:f32, - } - struct FragInput { - @location(0) uv: vec2, - }; - @group(0) @binding(0) var luminosityUniforms : LuminosityUniforms; - @group(0) @binding({{tDiffuseBinding}}) var tDiffuse: texture_2d; - @group(0) @binding({{tSamplerBinding}}) var tSampler: sampler; - @fragment - fn main(input:FragInput)-> @location(0) vec4 { - - let texel:vec4 = textureSample(tDiffuse, tSampler, input.uv); - - let luma:vec3 = vec3( 0.299,0.587,0.114 ); - - let v:f32 = dot( texel.xyz, luma ); - - let outputColor:vec4 = vec4( luminosityUniforms.defaultColor.rgb, luminosityUniforms.defaultOpacity ); - - let alpha:f32 = smoothstep( luminosityUniforms.luminosityThreshold, luminosityUniforms.luminosityThreshold + luminosityUniforms.smoothWidth, v ); - - return mix( outputColor, texel, alpha ); - } - `; - -const FragInput = ` - struct FragInput { - @builtin(front_facing) frontFacing: bool, - @location(0) worldPos:vec3, - @location(1) normal:vec3, - @location(2) uv:vec2, - @location(3) view: vec3, // Vector from vertex to camera. - @location(4) color: vec4, - @location(5) viewPosition: vec3, - } - `; - -const PointFragInput = ` - struct PointFragInput{ - @location(0) uv:vec2, - @location(1) color: vec4, - @location(2) size: f32, - } - `; - -const PointVertInput = ` - struct PointVertInput { - @location(positionLocation) position: vec3, - @location(uvLocation) uv: vec2, - #if HAS_COLOR - @location(colorLocation) color: vec3, - #endif - #if HAS_SIZE - @location(sizeLocation) size: f32, - #endif - #if USE_INSTANCE - @builtin(instance_index) instanceIdx : u32 - #endif - } - `; - -const PointVertOutput = ` - struct PointVertOutput{ - @builtin(position) position:vec4, - @location(0) uv:vec2, - @location(1) color: vec4, - @location(2) size: f32, - } - `; - -const VertexInput = ` - struct VertexInput { - @location(positionLocation) position: vec3, - #if HAS_NORMAL - @location(normalLocation) normal: vec3, - #endif - #if HAS_COLOR - @location(colorLocation) color: vec3, - #endif - #if HAS_UV - @location(uvLocation) uv: vec2, - #endif - #if HAS_SKIN - @location(joint0Location) joint0:vec4, - @location(weight0Location) weight0:vec4, - #endif - #if USE_INSTANCE - @builtin(instance_index) instanceIdx : u32 - #endif - } - `; - -const VertexOutput = ` - struct VertexOutput { - @builtin(position) position:vec4, - @location(0) worldPos:vec3, - @location(1) normal:vec3, - @location(2) uv:vec2, - @location(3) view: vec3, // Vector from vertex to camera. - @location(4) color: vec4, - @location(5) viewPosition: vec3, - } - `; - -const SystemUniform = ` - struct SystemUniform { - projectionMatrix: mat4x4, - viewMatrix: mat4x4, - inverseViewMatrix: mat4x4, - cameraPosition: vec3, - }; - `; - -const TextureAndSamplerDefine = ` - #if USE_IBL - @group(0) @binding(specularEnvTextureBinding) var specularEnvTexture: texture_cube; - @group(0) @binding(specularEnvSamplerBinding) var specularEnvSampler: sampler; - #endif - #if USE_TEXTURE - @group(0) @binding(baseColorTextureBinding) var baseColorTexture: texture_2d; - @group(0) @binding(baseColorSamplerBinding) var baseColorSampler: sampler; - #endif - // normal map - #if USE_NORMALTEXTURE - @group(0) @binding(normalTextureBinding) var normalTexture: texture_2d; - @group(0) @binding(normalSamplerBinding) var normalSampler: sampler; - #endif - // emmisve map - #if USE_EMISSIVETEXTURE - @group(0) @binding(emissiveTextureBinding) var emissiveTexture: texture_2d; - @group(0) @binding(emissiveSamplerBinding) var emissiveSampler: sampler; - #endif - - // metal roughness - #if USE_METALNESSTEXTURE - @group(0) @binding(metalnessRoughnessTextureBinding) var metalnessRoughnessTexture: texture_2d; - @group(0) @binding(metalnessRoughnessSamplerBinding) var metalnessRoughnessSampler: sampler; - #endif - // occlusion texture - #if USE_AOTEXTURE - @group(0) @binding(aoTextureBinding) var aoTexture: texture_2d; - @group(0) @binding(aoSamplerBinding) var aoSampler: sampler; - #endif - #if USE_NORMALTEXTURE - #include - #include - #else - #include - #endif - `; - -function environment(defines) { - return wgslParseDefines` - #if ${defines.ENVTEXTURE_TYPE_CUBE_UV} - const cubeUV_minMipLevel:f32= 4.0; - const cubeUV_minTileSize:f32= 16.0; - const CUBEUV_MAX_MIP:f32=6.0; - const CUBEUV_TEXEL_WIDTH:f32=1.0/256.0; - const CUBEUV_TEXEL_HEIGHT:f32=1.0/256.0; - fn getFace(direction:vec3 )->f32 { - let absDirection:vec3 = abs( direction ); - var face:f32 = - 1.0; - if ( absDirection.x > absDirection.z ) { - if ( absDirection.x > absDirection.y ){ - face =select(3.0,0.0,direction.x > 0.0); - }else{ - face =select(4.0,1.0,direction.y > 0.0); - } - - } - else { - if ( absDirection.z > absDirection.y ){ - face =select(5.0,2.0,direction.z > 0.0); - }else{ - face =select(4.0,1.0,direction.y > 0.0); - } - } - return face; - } - fn getUV( direction:vec3, face:f32 )->vec2 { - var uv:vec2; - if ( face == 0.0 ) { - uv = vec2( direction.z, direction.y ) / abs( direction.x ); - } - else if ( face == 1.0 ) { - uv = vec2( - direction.x, - direction.z ) / abs( direction.y ); - } - else if ( face == 2.0 ) { - uv = vec2( - direction.x, direction.y ) / abs( direction.z ); - } - else if ( face == 3.0 ) { - uv = vec2( - direction.z, direction.y ) / abs( direction.x ); - } - else if ( face == 4.0 ) { - uv = vec2( - direction.x, direction.z ) / abs( direction.y ); - } - else { - uv = vec2( direction.x, direction.y ) / abs( direction.z ); - } - return 0.5 * ( uv + 1.0 ); - } - fn bilinearCubeUV(envTexture:texture_cube,baseSampler:sampler,direction:vec3, mipInt:f32 )->vec3 { - var face:f32 = getFace( direction ); - let filterInt:f32 = max( cubeUV_minMipLevel - mipInt, 0.0 ); - let tempMipInt = max( mipInt, cubeUV_minMipLevel ); - let faceSize:f32 = exp2( tempMipInt ); - var uv:vec2 = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0; - if ( face > 2.0 ) { - uv.y += faceSize; - face -= 3.0; - } - uv.x += face * faceSize; - uv.x += filterInt * 3.0 * cubeUV_minTileSize; - uv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize ); - uv.x *= CUBEUV_TEXEL_WIDTH; - uv.y *= CUBEUV_TEXEL_HEIGHT; - return textureSample(envTexture,baseSampler,direction).rgb; - } - const cubeUV_r0:f32= 1.0; - const cubeUV_v0:f32= 0.339; - const cubeUV_m0:f32= - 2.0; - const cubeUV_r1:f32= 0.8; - const cubeUV_v1:f32= 0.276; - const cubeUV_m1:f32= - 1.0; - const cubeUV_r4:f32= 0.4; - const cubeUV_v4:f32= 0.046; - const cubeUV_m4:f32= 2.0; - const cubeUV_r5:f32= 0.305; - const cubeUV_v5:f32= 0.016; - const cubeUV_m5:f32= 3.0; - const cubeUV_r6:f32= 0.21; - const cubeUV_v6:f32= 0.0038; - const cubeUV_m6:f32= 4.0; - fn roughnessToMip( roughness:f32)->f32 { - var mip:f32 = 0.0; - if ( roughness >= cubeUV_r1 ) { - mip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0; - } - else if ( roughness >= cubeUV_r4 ) { - mip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1; - } - else if ( roughness >= cubeUV_r5 ) { - mip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4; - } - else if ( roughness >= cubeUV_r6 ) { - mip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5; - } - else { - mip = - 2.0 * log2( 1.16 * roughness ); - } - return mip; - } - fn textureCubeUV(envTexture:texture_cube, baseSampler:sampler,sampleDir:vec3,roughness:f32 )->vec4 { - let mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP ); - let mipF = fract( mip ); - let mipInt = floor( mip ); - let color0:vec3 = bilinearCubeUV( envTexture,baseSampler,sampleDir, mipInt ); - if ( mipF == 0.0 ) { - return vec4(color0, 1.0 ); - } - else { - let color1:vec3 = bilinearCubeUV( envTexture,baseSampler, sampleDir, mipInt + 1.0 ); - return vec4(mix( color0, color1, mipF ), 1.0 ); - } - - } - #endif - #if ${defines.USE_ENVTEXTURE} - fn getIBLIrradiance( normal:vec3,baseSampler:sampler,viewMatrix:mat4x4)->vec3 { - #if ${defines.ENVTEXTURE_TYPE_CUBE_UV} - let worldNormal:vec3 = inverseTransformDirection( normal, viewMatrix ); - let envTextureColor:vec4 = textureCubeUV( envTexture,baseSampler, worldNormal, 1.0 ); - return PI * envTextureColor.rgb * materialUniform.envTextureIntensity; - #else - return vec3( 0.0 ); - #endif - } - fn getIBLRadiance( viewDir:vec3,baseSampler:sampler,viewMatrix:mat4x4,normal:vec3, roughness:f32 )->vec3 { - #if ${defines.ENVTEXTURE_TYPE_CUBE_UV} - var reflectVec:vec3 = reflect( - viewDir, normal ); - reflectVec = normalize( mix( reflectVec, normal, roughness * roughness) ); - reflectVec = inverseTransformDirection( reflectVec, viewMatrix ); - let envTextureColor:vec4 = textureCubeUV( envTexture,baseSampler, reflectVec, roughness ); - return envTextureColor.rgb * materialUniform.envTextureIntensity; - #else - return vec3( 0.0 ); - #endif - } - #endif - `; -} - -const instanceVertHeader = ` - #if USE_INSTANCE - struct InstancesUniform { - instanceMatrixs: array, instanceCount>, - }; - @group(0) @binding(instanceMatrixsBufferBinding) var instancesUniform: InstancesUniform; - #endif - `; -const instanceVertMain = ` - #if USE_INSTANCE - modelMatrix=instancesUniform.instanceMatrixs[input.instanceIdx]; - #endif - `; - -var light = ` - struct ReflectedLight { - ambient: vec3, - directDiffuse:vec3, - directSpecular:vec3, - indirectDiffuse:vec3, - indirectSpecular:vec3, - testColor: vec3, - }; - struct IncidentLight { - color: vec3, - direction: vec3, - visible: bool, - }; - struct Geometry { - position: vec3, - normal: vec3, - viewDir: vec3, - dotNV:f32, - #if USE_CLEARCOAT - vec3 clearcoatNormal; - #endif - }; - - #if USE_SPOTLIGHT - struct SpotLight { - position: vec3, - distance: f32, - direction: vec3, - coneCos: f32, - color: vec3, - penumbraCos: f32, - decay: f32, - }; - fn getSpotLightInfo(spotLight:SpotLight,worldPos:vec3,shininess:f32,n:vec3,v:vec3)->ReflectedLight{ - var direction:vec3 = spotLight.position - worldPos; - var lightColor:ReflectedLight; - let lightDistance:f32 = length(direction); - direction = normalize(direction); - let angleCos:f32 = dot( direction, spotLight.direction ); - let decay:f32 = clamp(1.0 - pow(lightDistance/spotLight.distance, spotLight.decay), 0.0, 1.0); - let spotEffect:f32 = smoothstep( spotLight.penumbraCos, spotLight.coneCos, angleCos ); - let decayTotal:f32 = decay * spotEffect; - let d:f32 = max( dot( n, direction ), 0.0 ) * decayTotal; - lightColor.directDiffuse= spotLight.color * d; - let halfDir:vec3 = normalize( v + direction ); - let s:f32 = pow( clamp( dot( n, halfDir ), 0.0, 1.0 ), shininess ) * decayTotal; - lightColor.directSpecular= spotLight.color * s; - return lightColor; - } - fn getSpotLightIncidentLight(spotLight:SpotLight, geometry:Geometry)->IncidentLight { - var incidentLight:IncidentLight; - let lVector:vec3 = spotLight.position - geometry.position; - incidentLight.direction = normalize( lVector ); - - let lightDistance:f32 = length( lVector ); - let angleCos:f32 = dot( incidentLight.direction, spotLight.direction ); - - let spotEffect:f32 = smoothstep( spotLight.penumbraCos, spotLight.coneCos, angleCos ); - let decayEffect:f32 = clamp(1.0 - pow(lightDistance/spotLight.distance, 4.0), 0.0, 1.0); - - incidentLight.color=spotLight.color*spotEffect * decayEffect; - return incidentLight; - } - - #endif - - #if USE_POINTLIGHT - struct PointLight { - position: vec3, - distance: f32, - color: vec3, - decay: f32, - }; - fn getPointLightInfo(pointLight:PointLight,worldPos:vec3,shininess:f32,n:vec3,v:vec3)->ReflectedLight{ - var lightColor:ReflectedLight; - var direction:vec3 = worldPos - pointLight.position; - let dist:f32 = length( direction ); - direction = normalize(direction); - let decay = clamp(1.0 - pow(dist / pointLight.distance, pointLight.decay), 0.0, 1.0); - - let d = max( dot( n, -direction ), 0.0 ) * decay; - lightColor.directDiffuse = pointLight.color * d; - - let halfDir:vec3 = normalize( v - direction ); - let s:f32 = pow( clamp( dot( n, halfDir ), 0.0, 1.0 ), shininess ) * decay; - lightColor.directSpecular = pointLight.color * s; - return lightColor; - } - fn getPointLightIncidentLight(pointLight:PointLight, geometry:Geometry)->IncidentLight { - var incidentLight:IncidentLight; - let lVector:vec3 = pointLight.position-geometry.position; - incidentLight.direction= normalize( lVector ); - let lightDistance:f32 = length( lVector ); - // let weight:f32=1.0 - pow(lightDistance/pointLight.distance, 4.0); - incidentLight.color=pointLight.color*clamp(1.0 - pow(lightDistance/pointLight.distance, 4.0), 0.0, 1.0); - return incidentLight; - } - #endif - #if USE_DIRTECTLIGHT - struct DirectionalLight { - direction: vec3, - color: vec3, - }; - fn getDirectLightInfo(directionalLight:DirectionalLight,shininess:f32,n:vec3,v:vec3)->ReflectedLight{ - var lightColor:ReflectedLight; - let d:f32 = max(dot(n, -directionalLight.direction), 0.0); - lightColor.directDiffuse += directionalLight.color * d; - - let halfDir:vec3 = normalize( v - directionalLight.direction ); - let s:f32 = pow( clamp( dot( n, halfDir ), 0.0, 1.0 ), shininess ); - lightColor.directSpecular += directionalLight.color * s; - return lightColor; - } - fn getDirectionalDirectLightIncidentLight(directionalLight:DirectionalLight,geometry:Geometry)->IncidentLight { - var incidentLight:IncidentLight; - incidentLight.color = directionalLight.color; - incidentLight.direction = normalize(directionalLight.direction); - return incidentLight; - } - #endif - - #if OPEN_SHADOW - struct LightInfo { - direction: vec3, - viewport: vec4, - }; - - fn linearizeDepth(depth: f32, near: f32, far: f32)->f32 { - return 2 * (near * far) / (far + near - depth * (far - near)); - } - - fn getCubeFace(v : vec3) -> i32{ - let vAbs = abs(v); - - if (vAbs.z >= vAbs.x && vAbs.z >= vAbs.y) { - if (v.z < 0.0) { - return 3; - } - return 2; - } - - if (vAbs.y >= vAbs.x) { - if (v.y < 0.0) { - return 5; - } - return 4; - } - - if (v.x < 0.0) { - return 1; - } - return 0; - } - - fn getShadowValue(shadowMapArray:texture_depth_2d_array, shadowSampler:sampler_comparison, lightPos:vec4, geometry:Geometry, lightInfo:LightInfo, index:u32, isPointLight: bool, near: f32, far: f32)->f32 { - var visibility = 0.0; - var projectPos: vec3 = lightPos.xyz / lightPos.w; - var shadowPos: vec3 = vec3(projectPos.xy * vec2(0.5, -0.5) + vec2(0.5), projectPos.z); - var d:f32 = dot(geometry.normal, -lightInfo.direction); - var bias = max(0.012 * (1.0 - d), 0.001) / lightPos.w; - let oneOverShadowDepthTextureSize = 1.0 / 1024.0; - // var depth = select(shadowPos.z, (linearizeDepth(shadowPos.z, near, far) - near) / (far- near), isPerspectiveCamera); - var depth = shadowPos.z; - - if (isPointLight) { - shadowPos.x = shadowPos.x * lightInfo.viewport.z; - shadowPos.y = shadowPos.y * lightInfo.viewport.w; - var viewportX = lightInfo.viewport.x * lightInfo.viewport.z; - var viewportY = lightInfo.viewport.y * lightInfo.viewport.w; - var uvOffset = 1.5 / 1024.0; - shadowPos.x = clamp(shadowPos.x + viewportX, viewportX + uvOffset, viewportX + lightInfo.viewport.z - uvOffset); - shadowPos.y = clamp(shadowPos.y + viewportY, viewportY + uvOffset, viewportY + lightInfo.viewport.w - uvOffset); - } - - for (var y = -1; y <= 1; y++) { - for (var x = -1; x <= 1; x++) { - let offset = vec2(vec2(x, y)) * oneOverShadowDepthTextureSize; - - visibility += textureSampleCompare( - shadowMapArray, shadowSampler, - shadowPos.xy + offset, index, depth - bias); - } - } - visibility /= 9.0; - var inFrustum = shadowPos.x >= 0.0 && shadowPos.x <= 1.0 && shadowPos.y >= 0.0 && shadowPos.y <= 1.0; - if (!inFrustum || depth > 1.0) { - visibility = 1.0; - } - return visibility; - } - #endif - - #if USE_AMBIENTLIGHT||USE_SPOTLIGHT||USE_POINTLIGHT||USE_DIRTECTLIGHT - struct LightUniforms{ - #if USE_AMBIENTLIGHT - ambient:vec4, - #endif - #if USE_SPOTLIGHT - spotLights:array, - #endif - #if USE_POINTLIGHT - pointLights:array, - #endif - #if USE_DIRTECTLIGHT - dirtectLights:array, - #endif - } - @group(2) @binding(lightBinding) var lightUniforms: LightUniforms; - - #if OPEN_SHADOW - #if USE_SPOTLIGHT_SHADOWMAP - struct SpotLightShadow { - shadowCameraVPMatrix: mat4x4, - shadowCameraNear: f32, - shadowCameraFar: f32 - } - #endif - #if USE_POINTLIGHT_SHADOWMAP - struct PointLightShadow { - shadowCameraVPMatrixArray: array, 6>, - shadowCameraViewportArray: array, 6>, - shadowCameraNear: f32, - shadowCameraFar: f32, - // shadowCameraVPMatrix: mat4x4, - // shadowCameraVPMatrixArray: array, 6>, - // shadowCameraViewportArray: array, 6>, - } - #endif - #if USE_DIRECTLIGHT_SHADOWMAP - struct DirectLightShadow { - shadowCameraVPMatrix: mat4x4, - } - #endif - struct ShadowUniforms{ - #if USE_SPOTLIGHT_SHADOWMAP - spotLightShadows:array, - #endif - #if USE_POINTLIGHT_SHADOWMAP - pointLightShadows:array, - #endif - #if USE_DIRECTLIGHT_SHADOWMAP - directLightShadows:array, - #endif - } - @group(2) @binding(shadowBinding) var shadowUniforms: ShadowUniforms; - - #if SPOTLIGHT_SHADOWMAP_TEXTUREARRAY - @group(2) @binding(spotLightShadowMapTextureArrayBinding) var spotLightShadowMapTextureArray: texture_depth_2d_array; - #endif - #if POINTLIGHT_SHADOWMAP_TEXTUREARRAY - @group(2) @binding(pointLightShadowMapTextureArrayBinding) var pointLightShadowMapTextureArray: texture_depth_2d_array; - #endif - #if DIRECTLIGHT_SHADOWMAP_TEXTUREARRAY - @group(2) @binding(directLightShadowMapTextureArrayBinding) var directLightShadowMapTextureArray: texture_depth_2d_array; - #endif - @group(2) @binding(shadowSamplerBinding) var shadowSampler: sampler_comparison; - #endif - - #endif - #if MATERIAL_PHONG - fn parseLights(geometry:Geometry,shininess:f32)->ReflectedLight { - #elif MATERIAL_PBR - fn parseLights(geometry:Geometry,material:PhysicalMaterial)->ReflectedLight{ - #endif - var reflectedLight:ReflectedLight; - var shadowValue:f32 = 1.0; - #if USE_AMBIENTLIGHT - //处理环境光 - var ambientColor:vec3 = lightUniforms.ambient.xyz * lightUniforms.ambient.w; - reflectedLight.ambient += ambientColor; - #endif - - #if USE_SPOTLIGHT - //处理聚光灯 - var spotLight:SpotLight; - for (var k = 0u; k < spotLightsCount; k = k + 1u) { - spotLight= lightUniforms.spotLights[k]; - #if MATERIAL_PHONG&&OPEN_SHADOW&&USE_SPOTLIGHT_SHADOWMAP - if k < textureNumLayers(spotLightShadowMapTextureArray) { - var spotLightShadow:SpotLightShadow = shadowUniforms.spotLightShadows[k]; - var lightPos: vec4 = spotLightShadow.shadowCameraVPMatrix * vec4(geometry.position,1.0); - var lightInfo:LightInfo; - lightInfo.direction = normalize(geometry.position - spotLight.position); - - shadowValue = getShadowValue(spotLightShadowMapTextureArray, shadowSampler, lightPos, geometry, lightInfo, k, false, - spotLightShadow.shadowCameraNear, spotLightShadow.shadowCameraFar); - } - spotLight.color *= shadowValue; - #endif - #if MATERIAL_PHONG - let spReflectedLight=getSpotLightInfo(spotLight,geometry.position,shininess,geometry.normal,geometry.viewDir); - #elif MATERIAL_PBR - let incidentLight=getSpotLightIncidentLight(spotLight,geometry); - let spReflectedLight=direct_Physical(incidentLight, geometry, material); - #endif - - reflectedLight.directDiffuse+=spReflectedLight.directDiffuse; - reflectedLight.directSpecular+=spReflectedLight.directSpecular; - } - #endif - #if USE_POINTLIGHT - //处理点光源 - var pointLight:PointLight; - for (var j = 0u; j < pointLightsCount;j = j + 1u) { - pointLight = lightUniforms.pointLights[j]; - #if MATERIAL_PHONG&&OPEN_SHADOW&&USE_POINTLIGHT_SHADOWMAP - if j < textureNumLayers(pointLightShadowMapTextureArray) { - var pointLightShadow:PointLightShadow = shadowUniforms.pointLightShadows[j]; - var lightInfo:LightInfo; - lightInfo.direction = normalize(geometry.position - pointLight.position); - var cubeFace = getCubeFace(lightInfo.direction); - var lightPos: vec4 = pointLightShadow.shadowCameraVPMatrixArray[cubeFace] * vec4(geometry.position,1.0); - lightInfo.viewport = pointLightShadow.shadowCameraViewportArray[cubeFace]; - - // var lightPos: vec4 = pointLightShadow.shadowCameraVPMatrix * vec4(geometry.position,1.0); - - shadowValue = getShadowValue(pointLightShadowMapTextureArray, shadowSampler, lightPos, geometry, lightInfo, j, true, - pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar); - - // reflectedLight.testColor = vec3(pointLightShadow.shadowCameraFar / 1000, - // pointLightShadow.shadowCameraVPMatrixArray[5][3][2] / 255, pointLightShadow.shadowCameraVPMatrixArray[5][3][3] / 255); - // reflectedLight.testColor = vec3(pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraNear); - } - pointLight.color *= shadowValue; - #endif - #if MATERIAL_PHONG - let poiReflectedLight=getPointLightInfo(pointLight,geometry.position,shininess,geometry.normal,geometry.viewDir); - #elif MATERIAL_PBR - let incidentLight=getPointLightIncidentLight(pointLight,geometry); - let poiReflectedLight=direct_Physical(incidentLight, geometry, material); - #endif - - reflectedLight.directDiffuse+=poiReflectedLight.directDiffuse; - reflectedLight.directSpecular+=poiReflectedLight.directSpecular; - } - #endif - #if USE_DIRTECTLIGHT - //处理方向光 - var directionalLight:DirectionalLight; - for (var i= 0u; i = directLightShadow.shadowCameraVPMatrix * vec4(geometry.position,1.0); - var lightInfo:LightInfo; - lightInfo.direction = directionalLight.direction; - - shadowValue = getShadowValue(directLightShadowMapTextureArray, shadowSampler, lightPos, geometry, lightInfo, i, false, 0, 0); - } - directionalLight.color *= shadowValue; - #endif - - #if MATERIAL_PHONG - let dirReflectedLight=getDirectLightInfo(directionalLight,shininess,geometry.normal,geometry.viewDir); - #elif MATERIAL_PBR - let incidentLight=getDirectionalDirectLightIncidentLight(directionalLight,geometry); - let dirReflectedLight=direct_Physical(incidentLight, geometry, material); - #endif - - reflectedLight.directDiffuse+=dirReflectedLight.directDiffuse; - reflectedLight.directSpecular+=dirReflectedLight.directSpecular; - } - #endif - return reflectedLight; - }`; - -var lightCommon = ` - struct ReflectedLight { - directDiffuse:vec3, - directSpecular:vec3, - indirectDiffuse:vec3, - indirectSpecular:vec3, - }; - struct Geometry { - position: vec3, - normal: vec3, - viewDir: vec3, - #if USE_CLEARCOAT - vec3 clearcoatNormal; - #endif - }; - fn getAmbientLightIrradiance(ambientLightColor: vec3) -> vec3 { - let irradiance = ambientLightColor; - return irradiance; - } - fn getDistanceAttenuation(lightDistance: f32, cutoffDistance: f32, decayExponent: f32) -> f32 { - if (cutoffDistance > 0.0 && decayExponent > 0.0) { - let x:f32 = saturate(- lightDistance / cutoffDistance + 1.0); - return pow(x, decayExponent); - } - return 1.0; - } - fn getSpotAttenuation(coneCosine: f32, penumbraCosine: f32, angleCosine: f32) -> f32 { - return smoothstep(coneCosine, penumbraCosine, angleCosine); - } - fn shGetIrradianceAt( normal:vec3, shCoefficients:array,9>)->vec3 { - let x:f32 = normal.x; - let y:f32 = normal.y; - let z:f32 = normal.z; - var result:vec3 = shCoefficients[ 0 ] * 0.886227; - result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y; - result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z; - result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x; - result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y; - result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z; - result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 ); - result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z; - result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y ); - return result; - } - fn inverseTransformDirection( dir:vec3, matrix:mat4x4 )->vec3 { - return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz ); - } - `; - -const getNormal = ` - fn getNormal(input:FragInput)->vec3{ - var normal:vec3; - #if HAS_NORMAL - normal= input.normal; - #else - let pos_dx = dpdx(input.worldPos); - let pos_dy = dpdy(input.worldPos); - normal = normalize( cross(pos_dy, pos_dx) ); - #endif - return normal*(f32(input.frontFacing) * 2.0 - 1.0); - } - `; -const getNormalByNormalTexture = ` - fn getNormalByNormalTexture(input:FragInput)->vec3{ - var n:vec3 = textureSample(normalTexture,normalSampler, input.uv).rgb; - let tbn:mat3x3 =getTBN(input); - n = normalize(tbn * (2.0 * n - vec3(1.0))); - n=n*(f32(input.frontFacing) * 2.0 - 1.0); - return n; - } - `; -const getTBN = ` - fn getTBN(input:FragInput)->mat3x3{ - #if HAS_TANGENT - let tbn:mat3x3 = input.tbn; - #else - let normal:vec3 =normalize(input.normal); - let uv:vec2 = select(-input.uv,input.uv,input.frontFacing); - // ref: http://www.thetenthplanet.de/archives/1180 - // get edge vectors of the pixel triangle - let dp1:vec3 = vec3(dpdx(input.worldPos.x), dpdx(input.worldPos.y), dpdx(input.worldPos.z)); - let dp2:vec3 = vec3(dpdy(input.worldPos.x), dpdy(input.worldPos.y), dpdy(input.worldPos.z)); - let duv1:vec2 = dpdx(uv); - let duv2:vec2 = dpdy(uv); - - // solve the linear system - let dp2perp:vec3 = cross(dp2, normal); - let dp1perp:vec3 = cross(normal, dp1); - let tangent:vec3 = dp2perp * duv1.x + dp1perp * duv2.x; - let binormal:vec3 = dp2perp * duv1.y + dp1perp * duv2.y; - // construct a scale-invariant frame - let result:f32=max(dot(tangent, tangent), dot(binormal, binormal)); - let invmax:f32 = 1.0/sqrt(result); - let tbn:mat3x3 = mat3x3(tangent * invmax, binormal * invmax, normal); - #endif - return tbn; - } - `; - -var brdf = ` - #if USE_SHEEN - fn D_Charlie( roughness:f32,dotNH:f32 )->f32 { - let alpha:f32 = pow2( roughness ); - let invAlpha:f32 = 1.0 / alpha; - let cos2h:f32 = dotNH * dotNH; - let sin2h:f32 = max( 1.0 - cos2h, 0.0078125 ); - return ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * pi ); - } - fn V_Neubelt( dotNV:f32, dotNL:f32 )->f32 { - return saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) ); - } - fn BRDF_Sheen(lightDir:vec3, viewDir:vec3, normal:vec3,sheenColor:vec3,sheenRoughness:f32 )->vec3 { - let halfDir:vec3 = normalize( lightDir + viewDir ); - let dotNL:f32 = saturate( dot( normal, lightDir ) ); - let dotNV:f32 = saturate( dot( normal, viewDir ) ); - let dotNH:f32 = saturate( dot( normal, halfDir ) ); - let D:f32 = D_Charlie( sheenRoughness, dotNH ); - let V:f32 = V_Neubelt( dotNV, dotNL ); - return sheenColor * ( D * V ); - } - #endif - fn BRDF_Lambert(diffuseColor:vec3)->vec3 { - - return reciprocal_pi * diffuseColor; - - } // validated - - fn F_Schlick( f0:vec3, dotVH:f32 )->vec3 { - - // Original approximation by Christophe Schlick '94 - // float fresnel = pow( 1.0 - dotVH, 5.0 ); - - // Optimized variant (presented by Epic at SIGGRAPH '13) - // https://cdn2.unrealengine.com/Resources/files/2013SiggraphPresentationsNotes-26915738.pdf - let fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH ); - return ( 1.0 - f0 ) * fresnel + f0; - - } // validated - - fn Schlick_to_F0(f:vec3, f90:f32, dotVH:f32 )->vec3 { - let x:f32 = clamp( 1.0 - dotVH, 0.0, 1.0 ); - let x2:f32 = x * x; - let x5:f32 = clamp( x * x2 * x2, 0.0, 0.9999 ); - - return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 ); - } - fn V_GGX_SmithCorrelated( alpha:f32, dotNL:f32,dotNV:f32 )->f32 { - - let a2 :f32= pow2( alpha ); - - let gv:f32 = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) ); - let gl:f32 = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) ); - - return 0.5 / max((gv + gl), 0.000000001 ); - - } - fn D_ggx( alpha:f32, dotNH:f32 )->f32 { - - let a2:f32 = pow2( alpha ); - - let denom:f32 = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0; // avoid alpha = 0 with dotNH = 1 - - return reciprocal_pi * a2 / pow2( denom ); - - } - fn BRDF_ggx( lightDir:vec3, viewDir:vec3, normal:vec3, f0:vec3, roughness:f32 )->vec3 { - - let alpha:f32 = pow2( roughness ); // UE4's roughness - - let halfDir = normalize( lightDir + viewDir ); - - let dotNL:f32 = saturate( dot( normal, lightDir ) ); - let dotNV:f32 = saturate( dot( normal, viewDir ) ); - let dotNH:f32 = saturate( dot( normal, halfDir ) ); - let dotVH:f32 = saturate( dot( lightDir, halfDir ) ); - - let f = F_Schlick( f0, dotVH ); - - let v = V_GGX_SmithCorrelated( alpha, dotNL, dotNV ); - - let d = D_ggx( alpha, dotNH ); - - return f * ( v * d ); - - } - fn direct_Physical( directLight:IncidentLight, geometry:Geometry,material:PhysicalMaterial)->ReflectedLight { - var reflectedLight:ReflectedLight; - let dotNL:f32 = saturate(dot( geometry.normal,geometry.viewDir)); - let irradiance:vec3 = dotNL * directLight.color*3.1415926; - reflectedLight.directSpecular = irradiance * BRDF_ggx( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.roughness ); - reflectedLight.directDiffuse = irradiance * BRDF_Lambert( material.diffuseColor ); - return reflectedLight; - } - `; - -var ibl = ` - fn getLightProbeRadiance( viewDir:vec3,normal:vec3, roughness:f32 )->vec3{ - var reflectVec:vec3 = reflect( -viewDir, normal ); - reflectVec.x = -reflectVec.x; // TextureCube is left-hand,so x need inverse - let mipCount:f32 = 10.0; // resolution of 256x256 - let lod:f32 = roughness * mipCount; - let specularLight:vec3 = textureSampleLevel(specularEnvTexture,specularEnvSampler, reflectVec, lod).rgb; - return specularLight; - } - fn getLightProbeIrradiance( lightProbe:array,9>, normal:vec3)->vec3 { - var worldNormal:vec3 = normal; - worldNormal.x = -normal.x; - var irradiance:vec3 = lightProbe[0]; - irradiance+=lightProbe[1] * (normal.y); - irradiance+=lightProbe[2] * (normal.z) ; - irradiance+=lightProbe[3] * (normal.x) ; - - irradiance+=lightProbe[4] * (normal.y * normal.x) ; - irradiance+=lightProbe[5] * (normal.y * normal.z) ; - irradiance+=lightProbe[6] * (3.0 * normal.z * normal.z - 1.0); - irradiance+=lightProbe[7] * (normal.z * normal.x) ; - irradiance+=lightProbe[8] * (normal.x * normal.x - normal.y * normal.y); - - return max(irradiance, vec3(0.0,0.0,0.0)); - } - fn DFGApprox( specularColor:vec3, roughness:f32,dotNV:f32 )->vec3 { - const c0:vec4 = vec4( - 1, - 0.0275, - 0.572, 0.022 ); - let c1:vec4 = vec4( 1, 0.0425, 1.04, - 0.04 ); - let r:vec4 = roughness * c0 + c1; - let a004:f32 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y; - let fab:vec2 = vec2( - 1.04, 1.04 ) * a004 + r.zw; - return specularColor * fab.x + fab.y; - } - //间接光照 - fn indirectDiffuse_Physical(geometry:Geometry, material:PhysicalMaterial )->ReflectedLight { - var reflectedLight:ReflectedLight; - var irradiance:vec3 = lightUniforms.ambient.xyz*lightUniforms.ambient.w; - irradiance *= pi; - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); - return reflectedLight; - } - //间接高光 - fn indirectSpecular_Physical(geometry:Geometry, material:PhysicalMaterial)->ReflectedLight { - var reflectedLight:ReflectedLight; - // IBL specular - let radiance:vec3 = getLightProbeRadiance(geometry.viewDir, geometry.normal, material.roughness); - let radianceAttenuation:f32 = 1.0; - reflectedLight.indirectSpecular += radianceAttenuation * radiance * DFGApprox(material.specularColor, material.roughness, geometry.dotNV ); - return reflectedLight; - } - `; - -function pbrFunction(defines) { - return wgslParseDefines` - - #if ${defines.DITHERING} - fn dithering(color:vec3 )->vec3 { - let grid_position:f32 = rand( gl_FragCoord.xy ); - let dither_shift_RGB:vec3 = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 ); - dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position ); - return color + dither_shift_RGB; - } - #endif - - #if ${defines.USE_IRIDESCENCE} - fn BRDF_GGX_Iridescence( lightDir:vec3, viewDir:vec3,normal:vec3, f0:vec3, f90:f32,iridescence:f32, iridescenceFresnel:vec3,roughness:f32 )->vec3 { - let alpha:f32 = pow2( roughness ); - let halfDir:vec3 = normalize( lightDir + viewDir ); - let dotNL:f32 = saturate( dot( normal, lightDir ) ); - let dotNV:f32 = saturate( dot( normal, viewDir ) ); - let dotNH:f32 = saturate( dot( normal, halfDir ) ); - let dotVH:f32 = saturate( dot( viewDir, halfDir ) ); - let f:vec3 = mix( F_Schlick( f0, f90, dotVH ), iridescenceFresnel, iridescence ); - let v:f32 = V_GGX_SmithCorrelated( alpha, dotNL, dotNV ); - let d:f32 = D_ggx(alpha, dotNH ); - return f * ( v * d ); - } - #endif - - #if ${defines.USE_SHEEN} - fn D_Charlie( roughness:f32,dotNH:f32 )->f32 { - let alpha:f32 = pow2( roughness ); - let invAlpha:f32 = 1.0 / alpha; - let cos2h:f32 = dotNH * dotNH; - let sin2h:f32 = max( 1.0 - cos2h, 0.0078125 ); - return ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * pi ); - } - fn V_Neubelt( dotNV:f32, dotNL:f32 )->f32 { - return saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) ); - } - fn BRDF_Sheen(lightDir:vec3, viewDir:vec3, normal:vec3,sheenColor:vec3,sheenRoughness:f32 )->vec3 { - let halfDir:vec3 = normalize( lightDir + viewDir ); - let dotNL:f32 = saturate( dot( normal, lightDir ) ); - let dotNV:f32 = saturate( dot( normal, viewDir ) ); - let dotNH:f32 = saturate( dot( normal, halfDir ) ); - let d:f32 = D_Charlie( sheenRoughness, dotNH ); - let v:f32 = V_Neubelt( dotNV, dotNL ); - return sheenColor * ( d * v ); - } - #endif - - #if ${defines.USE_IRIDESCENCE} - let XYZ_TO_REC709: mat3x3 = mat3x3( - 3.2404542, -0.9692660, 0.0556434, -1.5371385, 1.8760108, -0.2040259, -0.4985314, 0.0415560, 1.0572252 - ); - fn Fresnel0ToIor( fresnel0:vec3 )->vec3 { - let sqrtF0:vec3 = sqrt( fresnel0 ); - return ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 ); - } - fn IorToFresnel0(transmittedIor:vec3,incidentIor:f32 )->vec3 { - return pow2Vector( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) ); - } - fn IorToFresnel0(transmittedIor:f32, incidentIor:f32 )->f32 { - return pow2Vector( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor )); - } - fn evalSensitivity(opd:f32,shift:vec3 )->vec3 { - let phase:f32 = 2.0 * pi * opd * 1.0e-9; - let val:vec3 = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 ); - let pos:vec3 = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 ); - let vart:vec3 = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 ); - let xyz:vec3 = val * sqrt( 2.0 * pi * vart ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * vart ); - xyz.x += 9.7470e-14 * sqrt( 2.0 * pi * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) ); - xyz /= 1.0685e-7; - let rgb:vec3 = XYZ_TO_REC709 * xyz; - return rgb; - } - fn evalIridescence(outsideIOR:f32, eta2:f32,cosTheta1:f32,thinFilmThickness:f32,baseF0:vec3 )->vec3 { - var I:vec3; - let iridescenceIOR:f32 = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) ); - let sinTheta2Sq:f32 = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) ); - let cosTheta2Sq:f32 = 1.0 - sinTheta2Sq; - if ( cosTheta2Sq < 0.0 ) { - return vec3( 1.0 ); - } - let cosTheta2:f32 = sqrt( cosTheta2Sq ); - let R0:f32 = IorToFresnel0( iridescenceIOR, outsideIOR ); - let R12:f32 = F_Schlick( R0, 1.0, cosTheta1 ); - let R21:f32 = R12; - let T121:f32 = 1.0 - R12; - let phi12:f32 = 0.0; - if ( iridescenceIOR < outsideIOR ) phi12 = pi; - let phi21:f32 = pi - phi12; - let baseIOR:vec3 = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) ); - let R1:vec3 = IorToFresnel0( baseIOR, iridescenceIOR ); - let R23:vec3 = F_Schlick( R1, 1.0, cosTheta2 ); - let phi23:vec3 = vec3( 0.0 ); - if ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = pi; - if ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = pi; - if ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = pi; - let OPD:f32 = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2; - let phi:vec3 = vec3( phi21 ) + phi23; - let R123:vec3 = clamp( R12 * R23, 1e-5, 0.9999 ); - let r123:vec3 = sqrt( R123 ); - let Rs:vec3 = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 ); - let C0:vec3 = R12 + Rs; - I = C0; - let Cm:vec3 = Rs - T121; - for ( let m : u32 = 1;m <= 2; ++ m ) { - Cm *= r123; - Sm:vec3 = 2.0 * evalSensitivity( f32( m ) * OPD, f32( m ) * phi ); - I += Cm * Sm; - } - return max( I, vec3( 0.0 ) ); - } - #endif - const clearcoatSpecular:vec3 = vec3( 0.0 ); - const sheenSpecular:vec3 = vec3( 0.0 ); - - fn IBLSheenBRDF( normal:vec3, viewDir:vec3, roughness:f32 )->f32 { - let dotNV:f32 = saturate( dot( normal, viewDir ) ); - let r2:f32 = roughness * roughness; - let a:f32 =select(-8.48 * r2 + 14.3 * roughness - 9.95,-339.2 * r2 + 161.4 * roughness - 25.9,roughness < 0.25); - //let a:f32 = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95; - let b:f32=select(1.97 * r2 - 3.27 * roughness + 0.72,44.0 * r2 - 23.7 * roughness + 3.26, roughness < 0.25); - //let b:f32 = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72; - //let DG:f32 = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) ); - let dg:f32 = exp( a * dotNV + b ) + select(0.1 * ( roughness - 0.25 ),0.0,roughness < 0.25); - return saturate( dg * reciprocal_pi ); - } - fn DFGApprox( specularColor:vec3, roughness:f32,dotNV:f32 )->vec3 { - const c0:vec4 = vec4( - 1, - 0.0275, - 0.572, 0.022 ); - let c1:vec4 = vec4( 1, 0.0425, 1.04, - 0.04 ); - let r:vec4 = roughness * c0 + c1; - let a004:f32 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y; - let fab:vec2 = vec2( - 1.04, 1.04 ) * a004 + r.zw; - return specularColor * fab.x + fab.y; - } - fn EnvironmentBRDF( normal:vec3,viewDir:vec3,specularColor:vec3, specularF90:f32,roughness:f32 )->vec3 { - let fab:vec2 = DFGApprox( normal, viewDir, roughness ); - return specularColor * fab.x + specularF90 * fab.y; - } - - - fn computeSpecularOcclusion( dotNV:f32, ambientOcclusion:f32, roughness:f32 )->f32 { - return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion ); - } - #if ${defines.USE_TRANSMISSION} - - fn getVolumeTransmissionRay( n:vec3, v:vec3, thickness:f32, ior:f32, modelMatrix:mat4x4:f32)->vec3 { - var refractionVector:vec3 = refract( - v, normalize( n ), 1.0 / ior ); - var modelScale:vec3; - modelScale.x = length( vec3( modelMatrix[0].xyz ) ); - modelScale.y = length( vec3( modelMatrix[1].xyz ) ); - modelScale.z = length( vec3( modelMatrix[2].xyz ) ); - return normalize( refractionVector ) * thickness * modelScale; - } - fn applyIorToRoughness(roughness:f32, ior:f32 )->f32 { - return roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 ); - } - fn getTransmissionSample( fragCoord:vec2, roughness:f32,ior:f32 )->vec4 { - let framebufferLod:f32 = log2( materialUniform.transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior ); - return textureSampleLevel(transmissionSamplerTexture,baseSampler,fragCoord.xy, framebufferLod); - - } - fn applyVolumeAttenuation( radiance:vec3, transmissionDistance:f32,attenuationColor:vec3,attenuationDistance:f32 )->vec3 { - if ( isinf( attenuationDistance ) ) { - return radiance; - } - else { - let attenuationCoefficient:vec3 = -log( attenuationColor ) / attenuationDistance; - let transmittance:vec3 = exp( - attenuationCoefficient * transmissionDistance ); - return transmittance * radiance; - } - - } - fn getIBLVolumeRefraction( n:vec3,v:vec3, roughness:f32, diffuseColor:vec3,specularColor:vec3, specularF90:f32,position:vec3, modelMatrix:mat4x4, viewMatrix:mat4x4,projMatrix:mat4x4,ior:f32, thickness:f32,attenuationColor:vec3,attenuationDistance:f32 )->vec4 { - let transmissionRay:vec3 = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix ); - let refractedRayExit:vec3 = position + transmissionRay; - let ndcPos:vec4 = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 ); - let refractionCoords:vec2 = ndcPos.xy / ndcPos.w; - refractionCoords += 1.0; - refractionCoords /= 2.0; - let transmittedLight:vec4 = getTransmissionSample( refractionCoords, roughness, ior ); - let attenuatedColor:vec3 = applyVolumeAttenuation( transmittedLight.rgb, length( transmissionRay ), attenuationColor, attenuationDistance ); - let F:vec3 = EnvironmentBRDF( n, v, specularColor, specularF90, roughness ); - return vec4( ( 1.0 - F ) * attenuatedColor * diffuseColor, transmittedLight.a ); - } - #endif - - #if ${defines.USE_BUMPTEXTURE} - fn dHdxy_fwd()->vec2 { - let dSTdx:vec2 = dpdx( vUv ); - let dSTdy:vec2 = dpdy( vUv ); - - let Hll:f32 = materialUniform.bumpScale * textureSample(bumpTexture, baseSampler, vUv).x; - let dBx:f32 = materialUniform.bumpScale * textureSample(bumpTexture, baseSampler, vUv + dSTdx).x - Hll; - let dBy:f32 = materialUniform.bumpScale * textureSample(bumpTexture, baseSampler, vUv + dSTdy).x - Hll; - return vec2( dBx, dBy ); - } - fn perturbNormalArb( surf_pos:vec3, surf_norm:vec3, dHdxy:vec2, faceDirection:f32 )->vec3 { - let vSigmaX:vec3 = dpdx( surf_pos.xyz ); - let vSigmaY:vec3 = dpdy( surf_pos.xyz ); - let vN:vec3 = surf_norm; - let R1:vec3 = cross( vSigmaY, vN ); - let R2:vec3 = cross( vN, vSigmaX ); - let fDet:f32 = dot( vSigmaX, R1 ) * faceDirection; - let vGrad:vec3 = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 ); - return normalize( abs( fDet ) * surf_norm - vGrad ); - } - #endif - - //! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALTEXTURE ) || defined ( USE_CLEARCOAT_NORMALTEXTURE ) ) - #if ${(!defines.USE_TANGENT && defines.TANGENTSPACE_NORMALTEXTURE) || defines.USE_CLEARCOAT_NORMALTEXTURE} - fn perturbNormal2Arb( eye_pos:vec3, surf_norm:vec3, textureN:vec3, faceDirection:f32 )->vec3 { - let q0:vec3 = dpdx( eye_pos.xyz ); - let q1:vec3 = dpdy( eye_pos.xyz ); - let st0:vec2 = dpdx( vUv.st ); - let st1:vec2 = dpdy( vUv.st ); - let N:vec3 = surf_norm; - let q1perp:vec3 = cross( q1, N ); - let q0perp:vec3 = cross( N, q0 ); - let T:vec3 = q1perp * st0.x + q0perp * st1.x; - let B:vec3 = q1perp * st0.y + q0perp * st1.y; - let det:f32 = max( dot( T, T ), dot( B, B ) ); - let scale:f32 = ( det == 0.0 ) ? 0.0 : faceDirection * inversesqrt( det ); - return normalize( T * ( textureN.x * scale ) + B * ( textureN.y * scale ) + N * textureN.z ); - } - #endif - struct MultiAndSingleScatter{ - multiScatter:vec3, - singleScatter:vec3 - } - #if ${defines.USE_IRIDESCENCE} - ////////inout vec3 singleScatter, inout vec3 multiScatter - fn computeMultiscatteringIridescence( normal:vec3, viewDir:vec3, specularColor:vec3, specularF90:f32, iridescence:f32,iridescenceF0:vec3, roughness:f32 )->MultiAndSingleScatter { - #else - ////////inout vec3 singleScatter, inout vec3 multiScatter - fn computeMultiscattering( normal:vec3,viewDir:vec3, specularColor:vec3, specularF90:f32, roughness:f32)->MultiAndSingleScatter { - #endif - let fab:vec2 = DFGApprox( normal, viewDir, roughness ); - - var multiAndSingleScatter:MultiAndSingleScatter; - - #if ${defines.USE_IRIDESCENCE} - let Fr:vec3 = mix( specularColor, iridescenceF0, iridescence ); - #else - let Fr:vec3 = specularColor; - #endif - let FssEss:vec3 = Fr * fab.x + specularF90 * fab.y; - let Ess:f32 = fab.x + fab.y; - let Ems:f32 = 1.0 - Ess; - let Favg:vec3 = Fr + ( 1.0 - Fr ) * 0.047619; - let Fms:vec3 = FssEss * Favg / ( 1.0 - Ems * Favg ); - // singleScatter += FssEss; - // multiScatter += Fms * Ems; - multiAndSingleScatter.multiScatter=Fms * Ems; - multiAndSingleScatter.singleScatter=FssEss; - return multiAndSingleScatter; - } - //直接光照 - fn RE_Direct_Physical( directLight:IncidentLight, geometry:GeometricContext, material:PhysicalMaterial)->ReflectedLight { - var reflectedLight:ReflectedLight; - let dotNL:f32 = saturate(dot( geometry.normal, directLight.direction)); - let irradiance:vec3 = dotNL * directLight.color; - #if ${defines.USE_CLEARCOAT} - let dotNLcc:f32 = saturate( dot( geometry.clearcoatNormal, directLight.direction ) ); - let ccIrradiance:vec3 = dotNLcc * directLight.color; - clearcoatSpecular += ccIrradiance * BRDF_ggx( directLight.direction, geometry.viewDir, geometry.clearcoatNormal, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness ); - #endif - - #if ${defines.USE_SHEEN} - sheenSpecular += irradiance * BRDF_Sheen( directLight.direction, geometry.viewDir, geometry.normal, material.sheenColor, material.sheenRoughness ); - #endif - - #if ${defines.USE_IRIDESCENCE} - reflectedLight.directSpecular = irradiance * BRDF_GGX_Iridescence( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness ); - #else - reflectedLight.directSpecular = irradiance * BRDF_ggx( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.roughness ); - #endif - reflectedLight.directDiffuse = irradiance * BRDF_Lambert( material.diffuseColor ); - return reflectedLight; - } - //间接光照 - fn RE_IndirectDiffuse_Physical( irradiance:vec3, geometry:GeometricContext, material:PhysicalMaterial )->ReflectedLight { - var reflectedLight:ReflectedLight; - reflectedLight.indirectDiffuse = irradiance * BRDF_Lambert( material.diffuseColor ); - return reflectedLight; - } - //间接高光 - fn RE_IndirectSpecular_Physical( radiance:vec3, irradiance:vec3, clearcoatRadiance:vec3, geometry:GeometricContext, material:PhysicalMaterial)->ReflectedLight { - var reflectedLight:ReflectedLight; - #if ${defines.USE_CLEARCOAT} - clearcoatSpecular += clearcoatRadiance * EnvironmentBRDF( geometry.clearcoatNormal, geometry.viewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness ); - #endif - #if ${defines.USE_SHEEN} - sheenSpecular += irradiance * material.sheenColor * IBLSheenBRDF( geometry.normal, geometry.viewDir, material.sheenRoughness ); - #endif - var singleScattering:vec3; - var multiScattering:vec3; - let cosineWeightedIrradiance:vec3 = irradiance * reciprocal_pi; - var tempMultiAndSingleScatter:MultiAndSingleScatter; - #if ${defines.USE_IRIDESCENCE} - tempMultiAndSingleScatter=computeMultiscatteringIridescence( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness ); - #else - tempMultiAndSingleScatter= computeMultiscattering( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness ); - #endif - singleScattering=tempMultiAndSingleScatter.singleScatter; - multiScattering=tempMultiAndSingleScatter.multiScatter; - let totalScattering:vec3 = singleScattering + multiScattering; - let diffuse:vec3 = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) ); - reflectedLight.indirectSpecular = radiance * singleScattering; - reflectedLight.indirectSpecular = multiScattering * cosineWeightedIrradiance; - reflectedLight.indirectDiffuse = diffuse * cosineWeightedIrradiance; - return reflectedLight; - } - `; -} - -var pbrStruct = ` - struct MaterialUniform{ - - modelMatrix: mat4x4, - - diffuse:vec3, - - opacity:f32, - - normalMatrix: mat3x3, - - emissive:vec3, - - roughness:f32, - - metalness:f32, - - #if TONE_MAPPING - toneMappingExposure:f32, - #endif - - #if SPECULAR - - specularColor:vec3, - - specularIntensity:f32, - #endif - - #if USE_SHEEN - - sheenColor:vec3, - - sheenRoughness:f32, - #endif - - #if USE_TRANSMISSION - - attenuationColor:vec3, - - transmission:f32, - - transmissionSamplerSize:vec2, - - thickness:f32, - - attenuationDistance:f32, - - #endif - - #if USE_SKINNING - - bindMatrix:mat4x4, - - bindMatrixInverse:mat4x4, - - boneTextureSize:u32, - #endif - - #if USE_NORMALTEXTURE - normalScale:vec2, - #endif - - #if IOR - ior:f32, - #endif - - #if USE_CLEARCOAT - - #if USE_CLEARCOAT_NORMALTEXTURE - clearcoatNormalScale:vec2, - #endif - - clearcoat:f32, - - clearcoatRoughness:f32, - #endif - - #if USE_IRIDESCENCE - iridescence:f32, - - iridescenceIOR:f32, - - iridescenceThicknessMinimum:f32, - - iridescenceThicknessMaximum:f32, - - #endif - - #if USE_AOTEXTURE - aoTextureIntensity:f32, - #endif - - #if USE_LIGHTTEXTURE - lightTextureIntensity:f32, - #endif - - #if USE_ENVTEXTURE - envTextureIntensity:f32, - - flipEnvTexture:f32, - #endif - - #if USE_BUMPTEXTURE - bumpScale:f32; - #endif - - #if USE_DISPLACEMENTTEXTURE - - displacementScale:f32, - - displacementBias:f32, - #endif - - #if USE_MORPHTARGETS - - morphTargetBaseInfluence:f32, - - #if MORPHTARGETS_TEXTURE - - morphTargetsTextureSize:vec2, - - MORPHTARGETS_COUNT:u32, - - #endif - - morphTargetInfluences:array, - - #endif - } - - `; - -var pbrTexture = ` - #if USE_BUMPTEXTURE - @group(0) @binding(bumpTextureBinding) var bumpTexture: texture_2d; - #endif - #if USE_TRANSMISSION - #if USE_TRANSMISSIONTEXTURE - @group(0) @binding(transmissionTextureBinding) var transmissionTexture: texture_2d; - #endif - #if USE_THICKNESSTEXTURE - @group(0) @binding(thicknessTextureBinding) var thicknessTexture: texture_2d; - #endif - @group(0) @binding(transmissionSamplerTextureBinding) var transmissionSamplerTexture: texture_2d; - #endif - #if USE_ENVTEXTURE - @group(0) @binding(envTextureBinding) var envTexture: texture_cube; - #endif - #if USE_NORMALTEXTURE - @group(0) @binding(normalTextureBinding) var normalTexture: texture_2d; - #endif - - #if USE_CLEARCOATTEXTURE - @group(0) @binding(clearcoatTextureBinding) var clearcoatTexture: texture_2d; - #endif - - #if USE_CLEARCOAT_ROUGHNESSTEXTURE - @group(0) @binding(clearcoatRclearcoatRoughnessTextureBinding) var clearcoatRoughnessTexture: texture_2d; - #endif - - #if USE_CLEARCOAT_NORMALTEXTURE - @group(0) @binding(clearcoatNormalTextureBinding) var clearcoatNormalTexture: texture_2d; - #endif - - #if USE_IRIDESCENCETEXTURE - @group(0) @binding(iridescenceTextureBinding) var iridescenceTexture: texture_2d; - #endif - - #if USE_IRIDESCENCE_THICKNESSTEXTURE - @group(0) @binding(iridescenceThicknessTextureBinding) var iridescenceThicknessTexture: texture_2d; - #endif - - #if USE_ROUGHNESSTEXTURE - @group(0) @binding(roughnessTextureBinding) var roughnessTexture: texture_2d; - #endif - - #if USE_METALNESSTEXTURE - @group(0) @binding(metalnessTextureBinding) var metalnessTexture: texture_2d; - #endif - - #if SPECULAR - #if USE_SPECULARINTENSITYTEXTURE - @group(0) @binding(specularIntensityTextureBinding) var specularIntensityTexture: texture_2d; - #endif - - #if USE_SPECULARCOLORTEXTURE - @group(0) @binding(specularColorTextureBinding) var specularColorTexture: texture_2d; - #endif - #endif - - #if USE_SHEEN - #if USE_SHEENCOLORTEXTURE - @group(0) @binding(sheenColorTextureBinding) var sheenColorTexture: texture_2d; - #endif - #if USE_SHEENROUGHNESSTEXTURE - @group(0) @binding(sheenRoughnessTextureBinding) var sheenRoughnessTexture: texture_2d; - #endif - #endif - - #if USE_TEXTURE - @group(0) @binding(baseSamplerBinding) var baseSampler: sampler; - @group(0) @binding(baseTextureBinding) var baseTexture: texture_2d; - #endif - - #if USE_ALPHATEXTURE - @group(0) @binding(alphaTextureBinding) var alphaTexture: texture_2d; - #endif - - #if USE_AOTEXTURE - @group(0) @binding(aoTextureBinding) var aoTexture: texture_2d; - - #endif - #if USE_LIGHTTEXTURE - @group(0) @binding(lightTextureBinding) var lightTexture: texture_2d; - #endif - - #if USE_EMISSIVETEXTURE - @group(0) @binding(emissiveTextureBinding) var emissiveTexture: texture_2d; - #endif - `; - -var pbrUtils = ` - const pi:f32= 3.141592653589793; - - const reciprocal_pi:f32= 0.3183098861837907; - fn pow2(x:f32 )->f32 { - return x*x; - } - fn pow2Vector(x:vec3 )->vec3 { - return x*x; - } - fn pow3( x:f32 )->f32 { - return x*x*x; - } - fn pow4( x:f32 )->f32 { - let x2:f32 = x*x; - return x2*x2; - } - fn max3( v:vec3 )->f32 { - return max( max( v.x, v.y ), v.z ); - } - fn average(v:vec3 )->f32 { - return dot( v, vec3( 0.3333333 ) ); - } - fn rand( uv:vec2 )->f32 { - let a:f32 = 12.9898; - let b:f32 = 78.233; - let c:f32 = 43758.5453; - let dt:f32 = dot( uv.xy, vec2( a, b ) ); - let sn:f32 = dt % pi; - return fract( sin( sn ) * c ); - } - fn transformDirection( dir:vec3, matrix:mat4x4 )->vec3 { - return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); - } - - fn transposeMat3( m:mat3x3 )->mat3x3 { - var tmp:mat3x3; - tmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x ); - tmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y ); - tmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z ); - return tmp; - } - fn luminance( rgb:vec3 )->f32 { - let weights:vec3 = vec3(0.2126729, 0.7151522, 0.0721750 ); - return dot( weights, rgb ); - } - fn LinearToneMapping( color:vec3,toneMappingExposure:f32 )->vec3 { - return toneMappingExposure * color; - } - - fn ReinhardToneMapping( color:vec3,toneMappingExposure:f32 )->vec3 { - var tempColor:vec3; - tempColor=color; - tempColor *= toneMappingExposure; - return saturate( tempColor / ( vec3( 1.0 ) + tempColor ) ); - } - fn CustomToneMapping( color:vec3 )->vec3 { - return color; - } - fn toneMapping( color:vec3,toneMappingExposure:f32 )->vec3 { - return ReinhardToneMapping( color,toneMappingExposure ); - } - - fn LinearToLinear( value:vec4 )->vec4 { - return value; - } - fn lessThanEqual(a:vec3,b:vec3)->vec3{ - let xValue:f32=select(b.x,a.x,a.x<=b.x); - let yValue:f32=select(b.y,a.y,a.y<=b.y); - let zValue:f32=select(b.z,a.z,a.z<=b.z); - return vec3(xValue,yValue,zValue); - } - fn LinearTosRGB( value:vec4 )->vec4 { - return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a ); - } - fn linearToOutputTexel(value:vec4 )->vec4 { - return LinearTosRGB( value ); - } - `; - -var blinn_phong = ` - fn getPointLightInfo(pointLight:PointLight,worldPos:vec3,shininess:f32,N:vec3,V:vec3)->vec3{ - var color=vec3(0.0,0.0,0.0); - var direction:vec3 = worldPos - pointLight.position; - let dist:f32 = length( direction ); - direction = normalize(direction); - let decay = clamp(1.0 - pow(dist / pointLight.distance, 4.0), 0.0, 1.0); - - let d = max( dot( N, -direction ), 0.0 ) * decay; - color += pointLight.color * d; - - let halfDir:vec3 = normalize( V - direction ); - let s:f32 = pow( clamp( dot( N, halfDir ), 0.0, 1.0 ), shininess ) * decay; - color += pointLight.color * s; - return color; - } - fn getSpotLightInfo(spotLight:SpotLight,worldPos:vec3,shininess:f32,N:vec3,V:vec3)->vec3{ - var color=vec3(0.0,0.0,0.0); - var direction:vec3 = spotLight.position - worldPos; - let lightDistance:f32 = length(direction); - direction = normalize(direction); - let angleCos:f32 = dot( direction, -spotLight.direction ); - let decay:f32 = clamp(1.0 - pow(lightDistance/spotLight.distance, 4.0), 0.0, 1.0); - let spotEffect:f32 = smoothstep( spotLight.penumbraCos, spotLight.coneCos, angleCos ); - let decayTotal:f32 = decay * spotEffect; - let d:f32 = max( dot( N, direction ), 0.0 ) * decayTotal; - color += spotLight.color * d; - let halfDir:vec3 = normalize( V + direction ); - let s:f32 = pow( clamp( dot( N, halfDir ), 0.0, 1.0 ), shininess ) * decayTotal; - color += spotLight.color * s; - return color; - } - struct DirectionalLight { - direction: vec3, - color: vec3, - }; - fn getDirectLightInfo(directionalLight:DirectionalLight,shininess:f32,N:vec3,V:vec3)->vec3{ - var color=vec3(0.0,0.0,0.0); - let d:f32 = max(dot(N, -directionalLight.direction), 0.0); - color += directionalLight.color * d; - - let halfDir:vec3 = normalize( V - directionalLight.direction ); - let s:f32 = pow( clamp( dot( N, halfDir ), 0.0, 1.0 ), shininess ); - color += directionalLight.color * s; - return color; - } - `; - -var phongFunction = ` - fn G_BlinnPhong_Implicit( )->f32 { - - // geometry term is (n dot l)(n dot v) / 4(n dot l)(n dot v) - return 0.25; - - } - fn D_BlinnPhong( shininess:f32, dotNH:f32 )->f32 { - - return reciprocal_pi * ( shininess * 0.5 + 1.0 ) * pow(dotNH, shininess); - - } - fn BRDF_BlinnPhong( lightDir:vec3, viewDir:vec3, normal:vec3, specularColor:vec3, shininess:f32 )->vec3 { - - let halfDir = normalize( lightDir + viewDir ); - - let dotNH:f32 = saturate( dot( normal, halfDir ) ); - let dotVH:f32 = saturate( dot( viewDir, halfDir ) ); - - let F = F_Schlick( specularColor, 1.0, dotVH ); - - let G:f32 = G_BlinnPhong_Implicit( ); - - let D = D_BlinnPhong( shininess, dotNH ); - - return F * ( G * D ); - - } - fn RE_Direct_BlinnPhong( directLight:IncidentLight,geometry:GeometricContext, material:BlinnPhongMaterial )->ReflectedLight{ - var reflectedLight:ReflectedLight; - let dotNL:f32 = saturate(dot(geometry.normal, directLight.direction)); - let irradiance:vec3 = dotNL*directLight.color; - - reflectedLight.directDiffuse= irradiance * BRDF_Lambert( material.diffuseColor ); - - reflectedLight.directSpecular= irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength; - return reflectedLight; - } - fn RE_IndirectDiffuse_BlinnPhong( irradiance:vec3, geometry:GeometricContext, material:BlinnPhongMaterial)->ReflectedLight { - var reflectedLight:ReflectedLight; - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); - return reflectedLight; - } - `; - -var phongUtils = ` - struct BlinnPhongMaterial { - diffuseColor:vec3, - specularColor:vec3, - specularShininess:f32, - specularStrength:f32, - }; - const reciprocal_pi:f32= 0.3183098861837907; - fn pow2( x:f32 )->f32 { return x*x; } - fn pow3( x:f32 )->f32 { return x*x*x; } - fn pow4(x:f32 )->f32 { let x2 = x*x; return x2*x2; } - fn max3( v:vec3 )->f32 { return max( max( v.x, v.y ), v.z ); } - fn average(v:vec3 )->f32 { - let result=vec3( 0.3333333, 0.3333333, 0.3333333); - return dot( v,result ); - } - `; - -const skinVertHeader = ` - #if HAS_SKIN - struct JointsUniform{ - matrixs:array, - } - struct InverseBindMatricesUniform{ - matrixs:array, - } - @binding(skinJointsBufferBinding) @group(0) var jointsUniform : JointsUniform; - @binding(invsBufferBinding) @group(0) var inverseBindMatricesUniform : InverseBindMatricesUniform; - fn getSkinMatrix(joints: vec4f, weights: vec4f) -> mat4x4 { - let joint0 = jointsUniform.matrixs[u32(joints.x)] * inverseBindMatricesUniform.matrixs[u32(joints.x)]; - let joint1 = jointsUniform.matrixs[u32(joints.y)] * inverseBindMatricesUniform.matrixs[u32(joints.y)]; - let joint2 = jointsUniform.matrixs[u32(joints.z)] * inverseBindMatricesUniform.matrixs[u32(joints.z)]; - let joint3 = jointsUniform.matrixs[u32(joints.w)] * inverseBindMatricesUniform.matrixs[u32(joints.w)]; - - let skinMatrix = joint0 * weights.x + - joint1 * weights.y + - joint2 * weights.z + - joint3 * weights.w; - return skinMatrix; - } - #endif - `; -const skinVertMain = ` - #if HAS_SKIN - modelMatrix =getSkinMatrix(input.joint0,input.weight0); - vNormalView = normalize((materialUniform.normalMatrix * modelMatrix * vec4(input.normal, 0.0)).xyz); - #endif - `; - -const PbrMaterialStruct = ` - struct MaterialUniform { - modelMatrix: mat4x4, - color: vec3, - opacity:f32, - normalMatrix: mat4x4, - emissive:vec3, - metallic:f32, - roughness:f32, - #if USE_NORMALTEXTURE - normalTextureScale:vec2, - #endif - #if USE_AOTEXTURE - occlusionStrength:f32, - #endif - } - `; - -const ShaderChunk = { - light, - brdf, - phongFunction, - phongUtils, - lightCommon, - pbrStruct, - pbrFunction, - pbrTexture, - pbrUtils, - environment, - blinn_phong, - getNormal, - getTBN, - getNormalByNormalTexture, - ibl, - skinVertMain, - skinVertHeader, - FragInput, - VertexInput, - VertexOutput, - PbrMaterialStruct, - SystemUniform, - instanceVertMain, - instanceVertHeader, - TextureAndSamplerDefine, - PointVertInput, - PointVertOutput, - PointFragInput -}; - -var shadowMapDebuggerFrag = ` - @group(0) @binding(1) var shadowSampler: sampler; - @group(0) @binding(0) var shadowMap: texture_depth_2d; - - // @group(0) @binding(0) var shadowMap: texture_depth_2d_array; - // @group(0) @binding(0) var shadowMap: texture_2d; - - struct VertexOutput { - @builtin(position) position: vec4, - @location(0) uv: vec2, - }; - - fn linearizeDepth(depth: f32, near: f32, far: f32)->f32 { - return 2 * (near * far) / (far + near - depth * (far - near)); - } - - @fragment - fn main(input:VertexOutput) -> @location(0) vec4 { - let color: vec4 = textureGather(shadowMap, shadowSampler, vec2(input.uv.x,1.0-input.uv.y)); - let depth = (linearizeDepth(color.r, 0.1, 500) - 0.1) / (500 - 0.1); - return vec4(vec3(depth), 1.0); // PerspectiveCamera - // return color; - - // return textureSample(shadowMap, shadowSampler, vec2(input.uv.x,1.0-input.uv.y)); - - } - `; - -var shadowMapDebuggerVert = ` - struct VertexInput { - @location(positionLocation) position: vec2, - } - struct VertexOutput { - @builtin(position) position: vec4, - @location(0) uv: vec2, - }; - @vertex - fn main(input: VertexInput) -> VertexOutput { - var output:VertexOutput; - output.uv = input.position * 0.5 + 0.5; - output.position = vec4(input.position, 0.0, 1.0);; - return output; - } - `; - -// import Color from "../../math/Color"; -var shadowMapFrag = ` - struct VertexOutput { - @builtin(position) position: vec4, - @location(0) color: vec4, - }; - @fragment - fn main(input:VertexOutput) -> @location(0) vec4 { - return input.color; - } - `; - -var shadowMapVert = ` - struct VertexInput { - @location(positionLocation) position: vec3, - }; - struct VertexOutput { - @builtin(position) position: vec4, - }; - struct SelfUniform { - modelMatrix: mat4x4, - }; - struct SystemUniform { - projectionMatrix: mat4x4, - viewMatrix: mat4x4, - inverseViewMatrix: mat4x4, - cameraPosition: vec3, - }; - - #if IS_POINTLIGHT_SHADOWMAP - struct PointLightUniform { - vpMatrix: mat4x4, - // vpMatrixArray: array, 6>, - }; - @group(1) @binding(pointLightShadowCameraBinding) var pointLightUniform: PointLightUniform; - #endif - - @group(0) @binding(selfBinding) var selfUniform : SelfUniform; - @group(1) @binding(cameraBinding) var systemUniform : SystemUniform; - - @vertex - fn main(input: VertexInput) -> VertexOutput { - var output:VertexOutput; - #if IS_POINTLIGHT_SHADOWMAP - output.position = pointLightUniform.vpMatrix * selfUniform.modelMatrix * vec4(input.position,1.0); - #else - output.position = systemUniform.projectionMatrix * systemUniform.viewMatrix * selfUniform.modelMatrix * vec4(input.position,1.0); - #endif - return output; - } - `; - -const preprocessorSymbols = /#([^\s]*)(\s*)/gm; -const defineRexg = /\b[0-9A-Z_&&||]+\b/g; -const isNumeric = (n) => !isNaN(n); -function WGSLParseDefines(shader, defines) { - if (!shader) return undefined; - // parse shader inner const define - const notDefineConstShader = ParseDefinesConst(shader, defines); - // filter "&&","||",number - const rexgDefines = notDefineConstShader - .match(defineRexg) - ?.filter((define) => !["&&", "||", "_"].includes(define) && !isNumeric(define) && define != ""); - // normallize defines - const normalizeDefines = getNormalizeDefines(rexgDefines, defines); - // split Shader - const shaderStrs = splitShaderStrsByDefine(notDefineConstShader, rexgDefines); - // parse conditional macro definition - return shaderStrs.length > 0 ? ParseDefines(shaderStrs, normalizeDefines) : notDefineConstShader; -} -function ParseDefines(strings, values) { - const stateStack = []; - let state = { frag: "", elseIsValid: false, expression: true }; - let depth = 1; - for (let i = 0; i < strings.length; ++i) { - const frag = strings[i]; - const matchedSymbols = frag.matchAll(preprocessorSymbols); - let lastIndex = 0; - let valueConsumed = false; - for (const match of matchedSymbols) { - state.frag += frag.substring(lastIndex, match.index); - switch (match[1]) { - case "if": - if (match.index + match[0].length != frag.length) { - throw new Error("#if must be immediately followed by a template expression (ie: ${value})"); - } - valueConsumed = true; - stateStack.push(state); - depth++; - state = { frag: "", elseIsValid: true, expression: !!values[i] }; - break; - case "elif": - if (match.index + match[0].length != frag.length) { - throw new Error("#elif must be immediately followed by a template expression (ie: ${value})"); - } else if (!state.elseIsValid) { - throw new Error("#elif not preceeded by an #if or #elif"); - } - valueConsumed = true; - if (state.expression && stateStack.length != depth) { - stateStack.push(state); - } - state = { frag: "", elseIsValid: true, expression: !!values[i] }; - break; - case "else": - if (!state.elseIsValid) { - throw new Error("#else not preceeded by an #if or #elif"); - } - if (state.expression && stateStack.length != depth) { - stateStack.push(state); - } - state = { frag: match[2], elseIsValid: false, expression: true }; - break; - case "endif": - if (!stateStack.length) { - throw new Error("#endif not preceeded by an #if"); - } - // eslint-disable-next-line no-case-declarations - const branchState = stateStack.length == depth ? stateStack.pop() : state; - state = stateStack.pop(); - depth--; - if (branchState.expression) { - state.frag += branchState.frag; - } - state.frag += match[2]; - break; - default: - // Unknown preprocessor symbol. Emit it back into the output frag unchanged. - state.frag += match[0]; - break; - } - lastIndex = match.index + match[0].length; - } - // If the frag didn't end on one of the preprocessor symbols append the rest of it here. - if (lastIndex != frag.length) { - state.frag += frag.substring(lastIndex, frag.length); - } - // If the next value wasn't consumed by the preprocessor symbol, append it here. - if (!valueConsumed && values.length > i) { - state.frag += values[i]; - } - } - if (stateStack.length) { - throw new Error("Mismatched #if/#endif count"); - } - return state.frag; -} -function ParseDefinesConst(sourceShader, defines) { - if (!defines) return sourceShader; - let result = sourceShader; - const constDefineKeys = Object.keys(defines)?.filter?.((key) => key != key.toUpperCase()); - constDefineKeys?.forEach?.((key) => { - result = result.replaceAll(key, defines[key]); - }); - return result; -} -function getNormalizeDefines(rexgDefines, defines) { - return rexgDefines?.map?.((define) => { - if (define?.includes("&&") || define?.includes("||")) { - if (define.includes("&&")) { - const splitDefines = define.split("&&"); - return getAndDefineValue(splitDefines, defines); - } - const splitDefines = define.split("||"); - return !getOrDefineValue(splitDefines, defines); - } - return defines[define]; - }); -} -function getAndDefineValue(splitDefines, defines) { - let total = 0; - splitDefines?.forEach?.((defineKey) => (total += Number(defines[defineKey]) > 1 ? 1 : Number(defines[defineKey]))); - return total === splitDefines.length; -} -function getOrDefineValue(splitDefines, defines) { - let total = 0; - splitDefines?.forEach?.((defineKey) => (total += Number(defines[defineKey]) > 1 ? 1 : Number(defines[defineKey]))); - return total === 0; -} -function splitShaderStrsByDefine(shader, defines) { - let currentShaderStr = shader; - const shaderStrs = - defines?.map((define) => { - const length = currentShaderStr.indexOf(define); - const sliceStr = currentShaderStr.slice(0, length); - currentShaderStr = currentShaderStr.slice(length + 1 + define.length); - return sliceStr; - }) || []; - if (shaderStrs?.length) shaderStrs.push(currentShaderStr); - return shaderStrs; -} - -function reduceComma(shader) { - // 对所有的include处理 - return shader != undefined ? resolveIncludes(shader) : undefined; -} -const includePattern = /^[ \t]*#include +<([\w\d./]+)>/gm; -let currentDefines = {}; -const shaders = { - phong: { - frag: phongFrag, - vert: phongVert - }, - color: { - frag: colorFrag, - vert: colorVert - }, - pbr: { - frag: pbrFrag, - vert: pbrVert - }, - skybox: { - frag: skyBoxFrag, - vert: skyBoxVert - }, - resolve: { - frag: quadFrag, - vert: quadVert - }, - pbr_mat: { - frag: pbr_fs, - vert: pbr_vs - }, - blur: { - frag: Blur, - vert: quadVert - }, - luminosityHigh: { - frag: LuminosityHigh, - vert: quadVert - }, - blend: { - frag: blendFrag, - vert: quadVert - }, - shadowMapDebugger: { - frag: shadowMapDebuggerFrag, - vert: shadowMapDebuggerVert - }, - shadowMap: { - vert: shadowMapVert, - frag: shadowMapFrag - }, - sprite: { - vert: sprite_vs, - frag: sprite_fs - }, - point: { - vert: point_vs, - frag: point_fs - } -}; -function resolveIncludes(string) { - return string.replace(includePattern, includeReplacer); -} -function includeReplacer(match, include) { - const partShader = ShaderChunk[include]; - if (partShader === undefined) { - throw new Error(`Can not resolve #include <${include}>`); - } - const result = WGSLParseDefines(partShader, currentDefines); - return resolveIncludes(result); -} -function getVertFrag(type, defines = {}) { - const shader = shaders[type]; - currentDefines = defines; - return { - vert: shader?.vert ? reduceComma(WGSLParseDefines(shader.vert, currentDefines)) : undefined, - frag: shader?.frag ? reduceComma(WGSLParseDefines(shader.frag, currentDefines)) : undefined - }; -} - -class ShaderSource { - constructor(options) { - this.shaderId = options.shaderId; - this.defines = options.defines || {}; - this.render = options.render; - this.compute = options.compute; - this._shaderLanguage = options.language; - this.dirty = true; - } - get uid() { - this._uid = this.shaderId.concat(JSON.stringify(this.defines)); - return this._uid; - } - setDefines(defines) { - if (!defines) return; - this.dirty = true; - this.defines = Object.assign(this.defines, defines); - } - getShaderModule(device) { - if (this.dirty) { - const { vert, frag, compute } = this.getShaderStr() || {}; - const isGLSL = this._shaderLanguage == ShaderLanguage.GLSL; - const vertGPUModule = vert - ? device.createShaderModule({ - code: isGLSL ? ShaderSource?.glslang.compileGLSL(vert, ShaderMainStage.VERT) : vert - }) - : undefined; - const fragGPUModule = frag - ? device.createShaderModule({ - code: isGLSL ? ShaderSource?.glslang.compileGLSL(frag, ShaderMainStage.FRAG) : frag - }) - : undefined; - const computeGPUModule = compute - ? device.createShaderModule({ - code: isGLSL ? ShaderSource?.glslang.compileGLSL(compute, ShaderMainStage.COMPUTE) : compute - }) - : undefined; - this._shaderModule = { - vert: vertGPUModule, - frag: fragGPUModule, - compute: computeGPUModule - }; - this.dirty = false; - } - return this._shaderModule; - } - destroy() { - this.render = null; - this.compute = null; - this._shaderModule = null; - this.defines = null; - } - getShaderStr() { - const { fragShader, vertShader } = this.render || {}; - const { computeShader } = this.compute || {}; - const source = getVertFrag(this.shaderId, this.defines); - const vert = - source?.vert ?? WGSLParseDefines(vertShader instanceof Function ? vertShader() : vertShader, this.defines); - const frag = - source?.frag ?? WGSLParseDefines(fragShader instanceof Function ? fragShader() : fragShader, this.defines); - const compute = WGSLParseDefines( - computeShader instanceof Function ? computeShader() : computeShader, - this.defines - ); - return { - vert, - frag, - compute - }; - } - static replaceMain(source, renamedMain) { - renamedMain = `void ${renamedMain}()`; - return source.replace(/void\s+main\s*\(\s*(?:void)?\s*\)/g, renamedMain); - } -} - -async function loadGlslangModule() { - // @ts-ignore - const glslangModule = await import("https://unpkg.com/@webgpu/glslang@0.0.15/dist/web-devel/glslang.js"); - const glslang = await glslangModule.default(); - return glslang; -} - -class MipmapGenerator { - constructor(device) { - this.device = device; - this.sampler = device.createSampler({ minFilter: "linear" }); - // We'll need a new pipeline for every texture format used. - this.pipelines = {}; - } - getMipmapPipeline(format) { - let pipeline = this.pipelines[format]; - if (!pipeline) { - // Shader modules is shared between all pipelines, so only create once. - if (!this.mipmapShaderModule) { - this.mipmapShaderModule = this.device.createShaderModule({ - code: ` - var pos : array, 3> = array, 3>( - vec2(-1.0, -1.0), vec2(-1.0, 3.0), vec2(3.0, -1.0)); - struct VertexOutput { - @builtin(position) position : vec4, - @location(0) texCoord : vec2, - }; - @vertex - fn vertexMain(@builtin(vertex_index) vertexIndex : u32) -> VertexOutput { - var output : VertexOutput; - output.texCoord = pos[vertexIndex] * vec2(0.5, -0.5) + vec2(0.5); - output.position = vec4(pos[vertexIndex], 0.0, 1.0); - return output; - } - @group(0) @binding(0) var imgSampler : sampler; - @group(0) @binding(1) var img : texture_2d; - @fragment - fn fragmentMain(@location(0) texCoord : vec2) -> @location(0) vec4 { - return textureSample(img, imgSampler, texCoord); - } - ` - }); - } - pipeline = this.device.createRenderPipeline({ - layout: "auto", - vertex: { - module: this.mipmapShaderModule, - entryPoint: "vertexMain" - }, - fragment: { - module: this.mipmapShaderModule, - entryPoint: "fragmentMain", - targets: [{ format }] - } - }); - this.pipelines[format] = pipeline; - } - return pipeline; - } - /** - * Generates mipmaps for the given GPUTexture from the data in level 0. - * - * @param {module:External.GPUTexture} texture - Texture to generate mipmaps for. - * @param {object} textureDescriptor - GPUTextureDescriptor the texture was created with. - * @returns {module:External.GPUTexture} - The originally passed texture - */ - generateMipmap(sourceTexture) { - const texture = sourceTexture.gpuTexture; - const textureDescriptor = sourceTexture.textureProp; - // TODO: Does this need to handle sRGB formats differently? - const pipeline = this.getMipmapPipeline(textureDescriptor.format); - if (textureDescriptor.dimension == "3d" || textureDescriptor.dimension == "1d") { - throw new Error("Generating mipmaps for non-2d textures is currently unsupported!"); - } - let mipTexture = texture; - const arrayLayerCount = textureDescriptor.size.depth || 1; // Only valid for 2D textures. - // If the texture was created with RENDER_ATTACHMENT usage we can render directly between mip levels. - const renderToSource = textureDescriptor.usage & GPUTextureUsage.RENDER_ATTACHMENT; - if (!renderToSource) { - // Otherwise we have to use a separate texture to render into. It can be one mip level smaller than the source - // texture, since we already have the top level. - const mipTextureDescriptor = { - size: { - width: Math.ceil(textureDescriptor.size.width / 2), - height: Math.ceil(textureDescriptor.size.height / 2), - depthOrArrayLayers: arrayLayerCount - }, - format: textureDescriptor.format, - usage: GPUTextureUsage.TEXTURE_BINDING | GPUTextureUsage.COPY_SRC | GPUTextureUsage.RENDER_ATTACHMENT, - mipLevelCount: textureDescriptor.mipLevelCount - 1 - }; - mipTexture = this.device.createTexture(mipTextureDescriptor); - } - const commandEncoder = this.device.createCommandEncoder({}); - // TODO: Consider making this static. - const bindGroupLayout = pipeline.getBindGroupLayout(0); - for (let arrayLayer = 0; arrayLayer < arrayLayerCount; ++arrayLayer) { - let srcView = texture.createView({ - baseMipLevel: 0, - mipLevelCount: 1, - dimension: "2d", - baseArrayLayer: arrayLayer, - arrayLayerCount: 1 - }); - let dstMipLevel = renderToSource ? 1 : 0; - for (let i = 1; i < textureDescriptor.mipLevelCount; ++i) { - const dstView = mipTexture.createView({ - baseMipLevel: dstMipLevel++, - mipLevelCount: 1, - dimension: "2d", - baseArrayLayer: arrayLayer, - arrayLayerCount: 1 - }); - const passEncoder = commandEncoder.beginRenderPass({ - colorAttachments: [ - { - view: dstView, - loadOp: "clear", - storeOp: "store" - } - ] - }); - const bindGroup = this.device.createBindGroup({ - layout: bindGroupLayout, - entries: [ - { - binding: 0, - resource: this.sampler - }, - { - binding: 1, - resource: srcView - } - ] - }); - passEncoder.setPipeline(pipeline); - passEncoder.setBindGroup(0, bindGroup); - passEncoder.draw(3, 1, 0, 0); - passEncoder.end(); - srcView = dstView; - } - } - // If we didn't render to the source texture, finish by copying the mip results from the temporary mipmap texture - // to the source. - if (!renderToSource) { - const mipLevelSize = { - width: Math.ceil(textureDescriptor.size.width / 2), - height: Math.ceil(textureDescriptor.size.height / 2), - depthOrArrayLayers: arrayLayerCount - }; - for (let i = 1; i < textureDescriptor.mipLevelCount; ++i) { - commandEncoder.copyTextureToTexture( - { - texture: mipTexture, - mipLevel: i - 1 - }, - { - texture: texture, - mipLevel: i - }, - mipLevelSize - ); - mipLevelSize.width = Math.ceil(mipLevelSize.width / 2); - mipLevelSize.height = Math.ceil(mipLevelSize.height / 2); - } - } - this.device.queue.submit([commandEncoder.finish()]); - if (!renderToSource) { - mipTexture.destroy(); - } - return texture; - } -} - -function defaultValue(a, b) { - if (a !== undefined && a !== null) { - return a; - } - return b; -} -/** - * A frozen empty object that can be used as the default value for options passed as - * an object literal. - * @type {Object} - * @memberof defaultValue - */ -defaultValue.EMPTY_OBJECT = Object.freeze({}); - -class RenderState { - constructor(params) { - this.scissorTest = params?.scissorTest; - this.viewport = params?.viewport; - this.depthStencil = params?.depthStencil; - this.blendConstant = params?.blendConstant; - this.stencilReference = params?.stencilReference; - this.multisample = params?.multisample; - this.primitive = params?.primitive; - this.stencilEnabled = false; - this.scissorTestEnabled = false; - this.targets = params?.targets; - } - bind(params) { - const { passEncoder, viewPort, scissorTest } = params; - const finalViewport = this.viewport ?? viewPort; - const finalScissorTest = this.scissorTest ?? scissorTest; - if (this.stencilReference) passEncoder.setStencilReference(this.stencilReference); - if (finalViewport?.equalsAndUpdateCache(cacheViewPort)) { - const { x, y, width, height, minDepth, maxDepth } = finalViewport; - passEncoder.setViewport(x, y, width, height, minDepth, maxDepth); - } - if (this.blendConstant) passEncoder.setBlendConstant(this.blendConstant); - if (finalScissorTest?.equalsAndUpdateCache(cacheScissorTest)) { - const { x, y, width, height } = finalScissorTest; - passEncoder.setScissorRect(x, y, width, height); - } - } - destroy() { - this.scissorTest = undefined; - this.viewport = undefined; - this.depthStencil = undefined; - this.blendConstant = undefined; - this.stencilReference = -1; - this.multisample = undefined; - this.primitive = undefined; - this.stencilEnabled = false; - this.scissorTestEnabled = false; - } -} -class BlendConstant { - constructor(r, g, b, a) { - this.r = r; - this.g = g; - this.b = b; - this.a = a; - } -} -class MultiSample { - constructor(count = 1, mask = 0xffffffff, alphaToCoverageEnabled = false) { - this.count = count; - this.mask = mask; - this.alphaToCoverageEnabled = alphaToCoverageEnabled; - } - getMultiSampleDec() { - return { - count: this.count, - mask: this.mask, - alphaToCoverageEnabled: this.alphaToCoverageEnabled - }; - } -} -class ScissorTest { - constructor(x = 0, y = 0, width = 0, height = 0, variable = true) { - this.x = x; - this.y = y; - this.width = width; - this.height = height; - this.variable = variable; - } - set(x, y, width, height) { - this.x = x; - this.y = y; - this.width = width; - this.height = height; - } - equalsAndUpdateCache(scissorTest) { - const { x, y, width, height } = scissorTest; - if (this.x != x || this.y != y || this.width != width || this.height != height) { - scissorTest.set(this.x, this.y, this.width, this.height); - return true; - } - return false; - } -} -class ViewPort { - constructor(x = 0, y = 0, width = 0, height = 0, minDepth = 0, maxDepth = 1, variable = true) { - this.x = x; - this.y = y; - this.width = width; - this.height = height; - this.minDepth = minDepth; - this.maxDepth = maxDepth; - this.variable = variable; - } - set(x, y, width, height, minDepth = 0, maxDepth = 1) { - if (!this.variable) return; - this.x = x; - this.y = y; - this.width = width; - this.height = height; - this.minDepth = minDepth; - this.maxDepth = maxDepth; - } - equalsAndUpdateCache(viewPort) { - const { x, y, width, height, minDepth, maxDepth } = viewPort; - if ( - this.x != x || - this.y != y || - this.width != width || - this.height != height || - this.minDepth != minDepth || - this.maxDepth != maxDepth - ) { - viewPort.set(this.x, this.y, this.width, this.height, this.minDepth, this.maxDepth); - return true; - } - return false; - } -} -class Primitive { - constructor(topology, cullMode, frontFace, unclippedDepth) { - this.frontFace = defaultValue(frontFace, FrontFace.CCW); - this.cullMode = defaultValue(cullMode, CullMode.None); - this.unclippedDepth = defaultValue(unclippedDepth, false); - this.topology = defaultValue(topology, PrimitiveTopology.TriangleList); - } - getGPUPrimitiveDec() { - return { - frontFace: this.frontFace, - cullMode: this.cullMode, - unclippedDepth: this.unclippedDepth, - topology: this.topology - }; - } -} -class DepthStencil { - constructor(options) { - this.format = defaultValue(options?.format, TextureFormat.Depth24Plus); - this.depthWriteEnabled = defaultValue(options?.depthWriteEnabled, true); - this.depthCompare = defaultValue(options?.depthCompare, CompareFunction.Less); - this.stencilReadMask = defaultValue(options?.stencilReadMask, 0xffffffff); - this.stencilWriteMask = defaultValue(options?.stencilWriteMask, 0xffffffff); - this.stencilFrontCompare = defaultValue(options?.stencilFrontCompare, CompareFunction.Always); - this.stencilFrontFailOp = defaultValue(options?.stencilFrontFailOp, StencilOperation.Keep); - this.stencilFrontDepthFailOp = defaultValue(options?.stencilFrontDepthFailOp, StencilOperation.Keep); - this.stencilFrontPassOp = defaultValue(options?.stencilFrontPassOp, StencilOperation.Keep); - this.stencilBackCompare = defaultValue(options?.stencilBackCompare, CompareFunction.Always); - this.stencilBackFailOp = defaultValue(options?.stencilBackFailOp, StencilOperation.Keep); - this.stencilBackDepthFailOp = defaultValue(options?.stencilBackDepthFailOp, StencilOperation.Keep); - this.stencilBackPassOp = defaultValue(options?.stencilBackPassOp, StencilOperation.Keep); - this.depthBias = defaultValue(options?.depthBias, 0); - this.depthBiasSlopeScale = defaultValue(options?.depthBiasSlopeScale, 0); - this.depthBiasClamp = defaultValue(options?.depthBiasClamp, 0); - } - getGPUDepthStencilDec() { - return { - format: this.format, - depthWriteEnabled: this.depthWriteEnabled, - depthCompare: this.depthCompare, - stencilReadMask: this.stencilReadMask, - stencilWriteMask: this.stencilWriteMask, - stencilFront: { - compare: this.stencilFrontCompare, - failOp: this.stencilFrontFailOp, - depthFailOp: this.stencilFrontDepthFailOp, - passOp: this.stencilFrontPassOp - }, - stencilBack: { - compare: this.stencilBackCompare, - failOp: this.stencilBackFailOp, - depthFailOp: this.stencilBackDepthFailOp, - passOp: this.stencilBackPassOp - }, - depthBias: this.depthBias, - depthBiasSlopeScale: this.depthBiasSlopeScale, - depthBiasClamp: this.depthBiasClamp - }; - } -} -class Target { - constructor(options) { - this.format = defaultValue(options?.format, TextureFormat.BGRA8Unorm); - this.blendColorOperation = defaultValue(options?.blendColorOperation, BlendOperation.Add); - this.blendColorSrcFactor = defaultValue(options?.blendColorSrcFactor, BlendFactor?.SrcAlpha); - this.blendColorDstFactor = defaultValue(options?.blendColorDstFactor, BlendFactor.OneMinusSrcAlpha); - this.blendAlphaOperation = defaultValue(options?.blendAlphaOperation, BlendOperation.Add); - this.blendAlphaSrcFactor = defaultValue(options?.blendAlphaSrcFactor, BlendFactor.One); - this.blendAlphaDstFactor = defaultValue(options?.blendAlphaDstFactor, BlendFactor.One); - this.writeMask = defaultValue(options?.writeMask, GPUColorWrite.All); - } - getGPUTargetDec() { - return { - format: this.format, - blend: { - color: { - operation: this.blendColorOperation, - srcFactor: this.blendColorSrcFactor, - dstFactor: this.blendColorDstFactor - }, - alpha: { - operation: this.blendAlphaOperation, - srcFactor: this.blendAlphaSrcFactor, - dstFactor: this.blendAlphaDstFactor - } - }, - writeMask: this.writeMask - }; - } -} -const cacheViewPort = new ViewPort(); -const cacheScissorTest = new ScissorTest(); - -class Context { - get viewPort() { - return this._viewPort; - } - get scissorTest() { - return this._scissorTest; - } - constructor({ canvas, container, context, pixelRatio, useGLSL = false }) { - if (!container.clientWidth || !container.clientHeight) throw new Error("container width or height illegality"); - this.canvas = canvas || document.createElement("canvas"); - // this.canvas.style.display = "block"; - this.pixelRatio = pixelRatio || window.devicePixelRatio || 1; - const width = container.clientWidth * this.pixelRatio; - const height = container.clientHeight * this.pixelRatio; - this.canvas.width = width; - this.canvas.height = height; - this.canvas.style.width = container.clientWidth + "px"; - this.canvas.style.height = container.clientHeight + "px"; - container.appendChild(this.canvas); - this.context = context || this.canvas.getContext("webgpu"); - this._useGLSL = useGLSL; - this.device = undefined; - } - async init(requestAdapter = {}, deviceDescriptor = {}, presentationContextDescriptor = {}) { - try { - if (!this.context) { - throw new Error(`Failed to instantiate "webgpu" context.`); - } - if (!navigator.gpu) { - throw new Error(`Missing "navigator.gpu".`); - } - this.adapter = await navigator.gpu.requestAdapter(); - this.device = await this.adapter.requestDevice(); - this.presentationSize = { - width: this.canvas.clientWidth * this.pixelRatio, - height: this.canvas.clientHeight * this.pixelRatio, - depth: 1 - }; - this.presentationFormat = navigator.gpu.getPreferredCanvasFormat(); - this.device.addEventListener("uncapturederror", (error) => { - console.error(error); - // State.error = true; - }); - if (this._useGLSL) ShaderSource.glslang = await loadGlslangModule(); - this.mipmapTools = new MipmapGenerator(this.device); - this.context.configure({ - device: this.device, - format: this.presentationFormat, - usage: TextureUsage.RenderAttachment, - alphaMode: "premultiplied", - ...presentationContextDescriptor - }); - this._viewPort = new ViewPort( - 0, - 0, - this.canvas.clientWidth * this.pixelRatio, - this.canvas.clientHeight * this.pixelRatio - ); - this._scissorTest = new ScissorTest( - 0, - 0, - this.canvas.clientWidth * this.pixelRatio, - this.canvas.clientHeight * this.pixelRatio - ); - } catch (error) { - console.error(error); - return false; - } - return true; - } - setViewPort(x, y, width, height) { - this._viewPort.set(x, y, width, height); - } - resetViewPortToFullCanvas() { - this._viewPort.set(0, 0, this.canvas.clientWidth * this.pixelRatio, this.canvas.clientHeight * this.pixelRatio); - } - setScissorTest(x, y, width, height) { - this._scissorTest.set(x, y, width, height); - } - resize(width, height, presentationContextDescriptor = {}) { - const w = width * this.pixelRatio; - const h = height * this.pixelRatio; - this.canvas.style.width = w + "px"; - this.canvas.style.height = h + "px"; - this.canvas.width = w; - this.canvas.height = h; - this.presentationSize = { - width: w, - height: h, - depth: 1 - }; - this.context.configure({ - device: this.device, - format: navigator.gpu.getPreferredCanvasFormat(), - usage: TextureUsage.RenderAttachment, - alphaMode: GPUCanvasCompositingAlphaMode.Premultiplied, - ...presentationContextDescriptor - }); - } -} - -class Texture { - constructor(textureProp) { - this.textureProp = Object.assign( - { - format: TextureFormat.RGBA8Unorm, - usage: GPUTextureUsage.TEXTURE_BINDING | GPUTextureUsage.COPY_DST | GPUTextureUsage.RENDER_ATTACHMENT, - dataIsTexture: false - }, - textureProp - ); - this.dirty = true; - this.fixedSize = textureProp.fixedSize || false; - } - get layoutType() { - const { viewFormats, sampleType, sampleCount } = this.textureProp; - // const - return { - sampleType: defaultValue(sampleType, "float"), - viewDimension: defaultValue(viewFormats, "2d"), - multisampled: sampleCount && sampleCount > 1 ? true : false - }; - } - get storageTextureLayoutType() { - const { access = StorageTextureAccess.WriteOnly, viewFormats, format } = this.textureProp; - return { - viewDimension: defaultValue(viewFormats, "2d"), - access, - format - }; - } - get textureView() { - if (!this._textureView) - this._textureView = this.gpuTexture.createView({ - dimension: defaultValue(this.textureProp.viewFormats, "2d") - }); - return this._textureView; - } - update(device) { - if (!this.device) this.device = device; - if (this.dirty) { - this.checkNeedCreateTexture(); - this.dirty = false; - if (this.textureProp.data) { - if (Array.isArray(this.textureProp.data)) { - this.textureProp.data.forEach((imageData) => { - this.setData(imageData); - }); - } else { - this.setData(this.textureProp.data); - } - } - if (this.textureProp.needMipMap) { - if (!Texture.mipmapTools) Texture.mipmapTools = new MipmapGenerator(this.device); - this.gpuTexture = Texture.mipmapTools.generateMipmap(this); - } - } - } - setData(options) { - const { - source, - width = options.source.width, - height = options.source.height, - depth = 1, - sourceX = 0, - sourceY = 0, - mipLevel = 0, - x = 0, - y = 0, - z = 0, - aspect = "all", - colorSpace = "srgb", - premultipliedAlpha = false - } = options; - if (source instanceof Texture) { - let commandEncoder = this.device.createCommandEncoder(); - commandEncoder.copyTextureToTexture( - { - texture: source.gpuTexture, - origin: [sourceX, sourceY] - // aspect - }, - { - texture: this.gpuTexture, - origin: { x: 0, y: 0, z }, - mipLevel - // aspect - }, - { - width, - height, - depthOrArrayLayers: 1 - } - ); - this.device.queue.submit([commandEncoder.finish()]); - commandEncoder = null; - } else { - this.device.queue.copyExternalImageToTexture( - { - source, - origin: [sourceX, sourceY] - }, - { - texture: this.gpuTexture, - origin: [x, y, z], - mipLevel, - aspect, - colorSpace, - premultipliedAlpha - }, - [width, height, depth] - ); - } - } - setSize(width, height, depth) { - if (this.fixedSize) return; - this.textureProp.size.width = width; - this.textureProp.size.height = height; - if (depth) this.textureProp.size.depth = depth; - this.dirty = true; - } - destroy() { - this.gpuTexture.destroy(); - } - createGPUTexture() { - if (typeof this.textureProp.format === "number") { - throw new Error("number format"); - } - const { width, height, depth } = this.textureProp.size; - return this.device.createTexture({ - label: this.textureProp?.label || "undefined", - size: [width, height, depth], - dimension: this.textureProp.dimension || "2d", - format: this.textureProp.format, - usage: this.textureProp.usage, - mipLevelCount: this.textureProp.mipLevelCount || 1, - sampleCount: this.textureProp.sampleCount || 1 - }); - } - checkNeedCreateTexture() { - const { width, height, depth } = this.textureProp.size; - if (this.gpuTexture) { - if (width != this.gpuTexture.width || height != this.gpuTexture.height) { - this._textureView = undefined; - this.gpuTexture.destroy(); - this.gpuTexture = this.createGPUTexture(); - } - } else { - this.gpuTexture = this.createGPUTexture(); - } - } -} - -class Sampler { - constructor( - descriptor, - layoutType = { - type: "filtering" - } - ) { - this.descriptor = descriptor; - this.descriptor = {}; - Object.assign( - this.descriptor, - { - magFilter: "linear", - minFilter: "linear", - // mipmapFilter: "linear", - addressModeU: "clamp-to-edge", - addressModeV: "clamp-to-edge" - // addressModeW: "clamp-to-edge", - }, - descriptor - ); - this.layoutType = layoutType; - } - update(device) { - if (!this.gpuSampler) this.gpuSampler = device.createSampler(this.descriptor); - } -} -Sampler.baseSampler = new Sampler({ - magFilter: "linear", - minFilter: "linear" -}); - -class Attachment { - constructor(value, options) { - this.value = value; - this.op = "clear"; - this.storeOp = "store"; - Object.assign(this, options); - } -} - -function defined(value) { - return value !== undefined && value !== null; -} - -/* - https://github.com/banksean wrapped Makoto Matsumoto and Takuji Nishimura's code in a namespace - so it's better encapsulated. Now you can have multiple random number generators - and they won't stomp all over eachother's state. - - If you want to use this as a substitute for Math.random(), use the random() - method like so: - - var m = new MersenneTwister(); - var randomNumber = m.random(); - - You can also call the other genrand_{foo}() methods on the instance. - - If you want to use a specific seed in order to get a repeatable random - sequence, pass an integer into the constructor: - - var m = new MersenneTwister(123); - - and that will always produce the same random sequence. - - Sean McCullough (banksean@gmail.com) -*/ - -/* - A C-program for MT19937, with initialization improved 2002/1/26. - Coded by Takuji Nishimura and Makoto Matsumoto. - - Before using, initialize the state by using init_seed(seed) - or init_by_array(init_key, key_length). - - Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - - 3. The names of its contributors may not be used to endorse or promote - products derived from this software without specific prior written - permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - Any feedback is very welcome. - http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html - email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space) -*/ - -var MersenneTwister = function (seed) { - if (seed == undefined) { - seed = new Date().getTime(); - } - - /* Period parameters */ - this.N = 624; - this.M = 397; - this.MATRIX_A = 0x9908b0df; /* constant vector a */ - this.UPPER_MASK = 0x80000000; /* most significant w-r bits */ - this.LOWER_MASK = 0x7fffffff; /* least significant r bits */ - - this.mt = new Array(this.N); /* the array for the state vector */ - this.mti = this.N + 1; /* mti==N+1 means mt[N] is not initialized */ - - if (seed.constructor == Array) { - this.init_by_array(seed, seed.length); - } else { - this.init_seed(seed); - } -}; - -/* initializes mt[N] with a seed */ -/* origin name init_genrand */ -MersenneTwister.prototype.init_seed = function (s) { - this.mt[0] = s >>> 0; - for (this.mti = 1; this.mti < this.N; this.mti++) { - var s = this.mt[this.mti - 1] ^ (this.mt[this.mti - 1] >>> 30); - this.mt[this.mti] = ((((s & 0xffff0000) >>> 16) * 1812433253) << 16) + (s & 0x0000ffff) * 1812433253 + this.mti; - /* See Knuth TAOCP Vol2. 3rd Ed. P.106 for multiplier. */ - /* In the previous versions, MSBs of the seed affect */ - /* only MSBs of the array mt[]. */ - /* 2002/01/09 modified by Makoto Matsumoto */ - this.mt[this.mti] >>>= 0; - /* for >32 bit machines */ - } -}; - -/* initialize by an array with array-length */ -/* init_key is the array for initializing keys */ -/* key_length is its length */ -/* slight change for C++, 2004/2/26 */ -MersenneTwister.prototype.init_by_array = function (init_key, key_length) { - var i, j, k; - this.init_seed(19650218); - i = 1; - j = 0; - k = this.N > key_length ? this.N : key_length; - for (; k; k--) { - var s = this.mt[i - 1] ^ (this.mt[i - 1] >>> 30); - this.mt[i] = - (this.mt[i] ^ (((((s & 0xffff0000) >>> 16) * 1664525) << 16) + (s & 0x0000ffff) * 1664525)) + - init_key[j] + - j; /* non linear */ - this.mt[i] >>>= 0; /* for WORDSIZE > 32 machines */ - i++; - j++; - if (i >= this.N) { - this.mt[0] = this.mt[this.N - 1]; - i = 1; - } - if (j >= key_length) j = 0; - } - for (k = this.N - 1; k; k--) { - var s = this.mt[i - 1] ^ (this.mt[i - 1] >>> 30); - this.mt[i] = - (this.mt[i] ^ (((((s & 0xffff0000) >>> 16) * 1566083941) << 16) + (s & 0x0000ffff) * 1566083941)) - - i; /* non linear */ - this.mt[i] >>>= 0; /* for WORDSIZE > 32 machines */ - i++; - if (i >= this.N) { - this.mt[0] = this.mt[this.N - 1]; - i = 1; - } - } - - this.mt[0] = 0x80000000; /* MSB is 1; assuring non-zero initial array */ -}; - -/* generates a random number on [0,0xffffffff]-interval */ -/* origin name genrand_int32 */ -MersenneTwister.prototype.random_int = function () { - var y; - var mag01 = new Array(0x0, this.MATRIX_A); - /* mag01[x] = x * MATRIX_A for x=0,1 */ - - if (this.mti >= this.N) { - /* generate N words at one time */ - var kk; - - if (this.mti == this.N + 1) - /* if init_seed() has not been called, */ - this.init_seed(5489); /* a default initial seed is used */ - - for (kk = 0; kk < this.N - this.M; kk++) { - y = (this.mt[kk] & this.UPPER_MASK) | (this.mt[kk + 1] & this.LOWER_MASK); - this.mt[kk] = this.mt[kk + this.M] ^ (y >>> 1) ^ mag01[y & 0x1]; - } - for (; kk < this.N - 1; kk++) { - y = (this.mt[kk] & this.UPPER_MASK) | (this.mt[kk + 1] & this.LOWER_MASK); - this.mt[kk] = this.mt[kk + (this.M - this.N)] ^ (y >>> 1) ^ mag01[y & 0x1]; - } - y = (this.mt[this.N - 1] & this.UPPER_MASK) | (this.mt[0] & this.LOWER_MASK); - this.mt[this.N - 1] = this.mt[this.M - 1] ^ (y >>> 1) ^ mag01[y & 0x1]; - - this.mti = 0; - } - - y = this.mt[this.mti++]; - - /* Tempering */ - y ^= y >>> 11; - y ^= (y << 7) & 0x9d2c5680; - y ^= (y << 15) & 0xefc60000; - y ^= y >>> 18; - - return y >>> 0; -}; - -/* generates a random number on [0,0x7fffffff]-interval */ -/* origin name genrand_int31 */ -MersenneTwister.prototype.random_int31 = function () { - return this.random_int() >>> 1; -}; - -/* generates a random number on [0,1]-real-interval */ -/* origin name genrand_real1 */ -MersenneTwister.prototype.random_incl = function () { - return this.random_int() * (1.0 / 4294967295.0); - /* divided by 2^32-1 */ -}; - -/* generates a random number on [0,1)-real-interval */ -MersenneTwister.prototype.random = function () { - return this.random_int() * (1.0 / 4294967296.0); - /* divided by 2^32 */ -}; - -/* generates a random number on (0,1)-real-interval */ -/* origin name genrand_real3 */ -MersenneTwister.prototype.random_excl = function () { - return (this.random_int() + 0.5) * (1.0 / 4294967296.0); - /* divided by 2^32 */ -}; - -/* generates a random number on [0,1) with 53-bit resolution*/ -/* origin name genrand_res53 */ -MersenneTwister.prototype.random_long = function () { - var a = this.random_int() >>> 5, - b = this.random_int() >>> 6; - return (a * 67108864.0 + b) * (1.0 / 9007199254740992.0); -}; - -/* These real versions are due to Isaku Wada, 2002/01/09 added */ - -var mersenneTwister = MersenneTwister; - -class GMath { - static signNotZero(value) { - return value < 0.0 ? -1.0 : 1.0; - } - static toSNorm(value, rangeMaximum) { - rangeMaximum = defaultValue(rangeMaximum, 255); - return Math.round((GMath.clamp(value, -1.0, 1.0) * 0.5 + 0.5) * rangeMaximum); - } - static fromSNorm(value, rangeMaximum) { - rangeMaximum = defaultValue(rangeMaximum, 255); - return (GMath.clamp(value, 0.0, rangeMaximum) / rangeMaximum) * 2.0 - 1.0; - } - static normalize(value, rangeMinimum, rangeMaximum) { - rangeMaximum = Math.max(rangeMaximum - rangeMinimum, 0.0); - return rangeMaximum === 0.0 ? 0.0 : GMath.clamp((value - rangeMinimum) / rangeMaximum, 0.0, 1.0); - } - static lerp(p, q, time) { - return (1.0 - time) * p + time * q; - } - static toRadians(degrees) { - if (!defined(degrees)) { - throw new Error("degrees is required."); - } - return degrees * GMath.RADIANS_PER_DEGREE; - } - static toDegrees(radians) { - if (!defined(radians)) { - throw new Error("radians is required."); - } - return radians * GMath.DEGREES_PER_RADIAN; - } - static negativePiToPi(angle) { - if (!defined(angle)) { - throw new Error("angle is required."); - } - if (angle >= -GMath.PI && angle <= GMath.PI) { - // Early exit if the input is already inside the range. This avoids - // unnecessary math which could introduce floating point error. - return angle; - } - return GMath.zeroToTwoPi(angle + GMath.PI) - GMath.PI; - } - static zeroToTwoPi(angle) { - if (!defined(angle)) { - throw new Error("angle is required."); - } - if (angle >= 0 && angle <= GMath.TWO_PI) { - // Early exit if the input is already inside the range. This avoids - // unnecessary math which could introduce floating point error. - return angle; - } - const mod = GMath.mod(angle, GMath.TWO_PI); - if (Math.abs(mod) < GMath.EPSILON14 && Math.abs(angle) > GMath.EPSILON14) { - return GMath.TWO_PI; - } - return mod; - } - static mod(m, n) { - if (!defined(m)) { - throw new Error("m is required."); - } - if (!defined(n)) { - throw new Error("n is required."); - } - if (n === 0.0) { - throw new Error("divisor cannot be 0."); - } - if (GMath.sign(m) === GMath.sign(n) && Math.abs(m) < Math.abs(n)) { - // Early exit if the input does not need to be modded. This avoids - // unnecessary math which could introduce floating point error. - return m; - } - return ((m % n) + n) % n; - } - static equalsEpsilon(left, right, relativeEpsilon, absoluteEpsilon = relativeEpsilon) { - if (!defined(left)) { - throw new Error("left is required."); - } - if (!defined(right)) { - throw new Error("right is required."); - } - relativeEpsilon = defaultValue(relativeEpsilon, 0.0); - absoluteEpsilon = defaultValue(absoluteEpsilon, relativeEpsilon); - const absDiff = Math.abs(left - right); - return absDiff <= absoluteEpsilon || absDiff <= relativeEpsilon * Math.max(Math.abs(left), Math.abs(right)); - } - static lessThan(left, right, absoluteEpsilon = 0) { - if (!defined(left)) { - throw new Error("first is required."); - } - if (!defined(right)) { - throw new Error("second is required."); - } - if (!defined(absoluteEpsilon)) { - throw new Error("absoluteEpsilon is required."); - } - return left - right < -absoluteEpsilon; - } - static lessThanOrEquals(left, right, absoluteEpsilon = 0) { - if (!defined(left)) { - throw new Error("first is required."); - } - if (!defined(right)) { - throw new Error("second is required."); - } - if (!defined(absoluteEpsilon)) { - throw new Error("absoluteEpsilon is required."); - } - return left - right < absoluteEpsilon; - } - static greaterThan(left, right, absoluteEpsilon = 0) { - if (!defined(left)) { - throw new Error("first is required."); - } - if (!defined(right)) { - throw new Error("second is required."); - } - if (!defined(absoluteEpsilon)) { - throw new Error("absoluteEpsilon is required."); - } - return left - right > absoluteEpsilon; - } - static greaterThanOrEquals(left, right, absoluteEpsilon = 0) { - if (!defined(left)) { - throw new Error("first is required."); - } - if (!defined(right)) { - throw new Error("second is required."); - } - if (!defined(absoluteEpsilon)) { - throw new Error("absoluteEpsilon is required."); - } - return left - right > -absoluteEpsilon; - } - static isPowerOfTwo(n) { - // >>includeStart('debug', pragmas.debug); - if (typeof n !== "number" || n < 0 || n > 4294967295) { - throw new Error("A number between 0 and (2^32)-1 is required."); - } - // >>includeEnd('debug'); - return n !== 0 && (n & (n - 1)) === 0; - } - static nextPowerOfTwo(n) { - if (typeof n !== "number" || n < 0 || n > 2147483648) { - throw new Error("A number between 0 and 2^31 is required."); - } - // From http://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2 - --n; - n |= n >> 1; - n |= n >> 2; - n |= n >> 4; - n |= n >> 8; - n |= n >> 16; - ++n; - return n; - } - static previousPowerOfTwo(n) { - if (typeof n !== "number" || n < 0 || n > 4294967295) { - throw new Error("A number between 0 and (2^32)-1 is required."); - } - n |= n >> 1; - n |= n >> 2; - n |= n >> 4; - n |= n >> 8; - n |= n >> 16; - n |= n >> 32; - // The previous bitwise operations implicitly convert to signed 32-bit. Use `>>>` to convert to unsigned - n = (n >>> 0) - (n >>> 1); - return n; - } - static clamp(value, min, max) { - return value < min ? min : value > max ? max : value; - } - /** - * @private - */ - static fog(distanceToCamera, density) { - const scalar = distanceToCamera * density; - return 1.0 - Math.exp(-(scalar * scalar)); - } -} -GMath.EPSILON1 = 0.1; -GMath.EPSILON2 = 0.01; -GMath.EPSILON3 = 0.001; -GMath.EPSILON4 = 0.0001; -GMath.EPSILON5 = 0.00001; -GMath.EPSILON6 = 0.000001; -GMath.EPSILON7 = 0.0000001; -GMath.EPSILON8 = 0.00000001; -GMath.EPSILON9 = 0.000000001; -GMath.EPSILON10 = 0.0000000001; -GMath.EPSILON11 = 0.00000000001; -GMath.EPSILON12 = 0.000000000001; -GMath.EPSILON13 = 0.0000000000001; -GMath.EPSILON14 = 0.00000000000001; -GMath.EPSILON15 = 0.000000000000001; -GMath.EPSILON16 = 0.0000000000000001; -GMath.EPSILON17 = 0.00000000000000001; -GMath.EPSILON18 = 0.000000000000000001; -GMath.EPSILON19 = 0.0000000000000000001; -GMath.EPSILON20 = 0.00000000000000000001; -GMath.EPSILON21 = 0.000000000000000000001; -GMath.GRAVITATIONALPARAMETER = 3.986004418e14; -GMath.SIXTY_FOUR_KILOBYTES = 64 * 1024; -GMath.FOUR_GIGABYTES = 4 * 1024 * 1024 * 1024; -GMath.sign = defaultValue(Math.sign, function sign(value) { - value = +value; // coerce to number - if (value === 0 || value !== value) { - // zero or NaN - return value; - } - return value > 0 ? 1 : -1; -}); -GMath.sinh = defaultValue(Math.sinh, function sinh(value) { - return (Math.exp(value) - Math.exp(-value)) / 2.0; -}); -GMath.cosh = defaultValue(Math.cosh, function cosh(value) { - return (Math.exp(value) + Math.exp(-value)) / 2.0; -}); -GMath.PI = Math.PI; -GMath.ONE_OVER_PI = 1.0 / Math.PI; -GMath.PI_OVER_TWO = Math.PI / 2.0; -GMath.PI_OVER_THREE = Math.PI / 3.0; -GMath.PI_OVER_FOUR = Math.PI / 4.0; -GMath.PI_OVER_SIX = Math.PI / 6.0; -GMath.THREE_PI_OVER_TWO = (3.0 * Math.PI) / 2.0; -GMath.TWO_PI = 2.0 * Math.PI; -GMath.ONE_OVER_TWO_PI = 1.0 / (2.0 * Math.PI); -GMath.RADIANS_PER_DEGREE = Math.PI / 180.0; -GMath.DEGREES_PER_RADIAN = 180.0 / Math.PI; -GMath.RADIANS_PER_ARCSECOND = GMath.RADIANS_PER_DEGREE / 3600.0; -GMath.nextRandomNumber = function () { - return randomNumberGenerator.random(); -}; -GMath.randomBetween = function (min, max) { - return GMath.nextRandomNumber() * (max - min) + min; -}; -GMath.acosClamped = function (value) { - if (!defined(value)) { - throw new Error("value is required."); - } - return Math.acos(GMath.clamp(value, -1.0, 1.0)); -}; -GMath.asinClamped = function (value) { - if (!defined(value)) { - throw new Error("value is required."); - } - return Math.asin(GMath.clamp(value, -1.0, 1.0)); -}; -GMath.chordLength = function (angle, radius) { - if (!defined(angle)) { - throw new Error("angle is required."); - } - if (!defined(radius)) { - throw new Error("radius is required."); - } - return 2.0 * radius * Math.sin(angle * 0.5); -}; -GMath.logBase = function (number, base) { - if (!defined(number)) { - throw new Error("number is required."); - } - if (!defined(base)) { - throw new Error("base is required."); - } - return Math.log(number) / Math.log(base); -}; -GMath.cbrt = defaultValue(Math.cbrt, function cbrt(number) { - const result = Math.pow(Math.abs(number), 1.0 / 3.0); - return number < 0.0 ? -result : result; -}); -GMath.log2 = defaultValue(Math.log2, function log2(number) { - return Math.log(number) * Math.LOG2E; -}); -const randomNumberGenerator = new mersenneTwister(); - -/** - * A 2D Cartesian point. - * @alias Vector2 - * @constructor - * - * @param {Number} [x=0.0] The X component. - * @param {Number} [y=0.0] The Y component. - * - */ -class Vector2 { - constructor(x = 0.0, y = 0.0) { - this.x = x; - this.y = y; - this.x = x; - this.y = y; - } - set(x, y) { - this.x = x; - this.y = y; - return this; - } - toArray() { - return [this.x, this.y]; - } - clone(result) { - return Vector2.clone(this, result); - } - equals(right) { - return Vector2.equals(this, right); - } - equalsEpsilon(right, relativeEpsilon = 0, absoluteEpsilon = 0) { - return Vector2.equalsEpsilon(this, right, relativeEpsilon, absoluteEpsilon); - } - toString() { - return `(${this.x}, ${this.y})`; - } - fromBufferAttribute(attribute, index) { - this.x = attribute.getX(index); - this.y = attribute.getY(index); - return this; - } - applyMatrix3(matrix3) { - const x = this.x, - y = this.y; - this.x = matrix3[0] * x + matrix3[3] * y + matrix3[6]; - this.y = matrix3[1] * x + matrix3[4] * y + matrix3[7]; - return this; - } - static fromElements(x, y, result) { - if (!defined(result)) { - return new Vector2(x, y); - } - result.x = x; - result.y = y; - return result; - } - static clone(cartesian, result) { - if (!defined(cartesian)) { - return undefined; - } - if (!defined(result)) { - return new Vector2(cartesian.x, cartesian.y); - } - result.x = cartesian.x; - result.y = cartesian.y; - return result; - } - static maximumComponent(cartesian) { - return Math.max(cartesian.x, cartesian.y); - } - static minimumComponent(cartesian) { - return Math.min(cartesian.x, cartesian.y); - } - static minimumByComponent(first, second, result) { - result.x = Math.min(first.x, second.x); - result.y = Math.min(first.y, second.y); - return result; - } - static maximumByComponent(first, second, result) { - result.x = Math.max(first.x, second.x); - result.y = Math.max(first.y, second.y); - return result; - } - static clamp(value, min, max, result) { - const x = GMath.clamp(value.x, min.x, max.x); - const y = GMath.clamp(value.y, min.y, max.y); - result.x = x; - result.y = y; - return result; - } - static magnitudeSquared(cartesian) { - return cartesian.x * cartesian.x + cartesian.y * cartesian.y; - } - static magnitude(cartesian) { - return Math.sqrt(Vector2.magnitudeSquared(cartesian)); - } - static distance(left, right) { - Vector2.subtract(left, right, distanceScratch$2); - return Vector2.magnitude(distanceScratch$2); - } - static distanceSquared(left, right) { - Vector2.subtract(left, right, distanceScratch$2); - return Vector2.magnitudeSquared(distanceScratch$2); - } - static normalize(cartesian, result) { - const magnitude = Vector2.magnitude(cartesian); - result.x = cartesian.x / magnitude; - result.y = cartesian.y / magnitude; - // >>includeStart('debug', pragmas.debug); - if (isNaN(result.x) || isNaN(result.y)) { - throw new Error("normalized result is not a number"); - } - // >>includeEnd('debug'); - return result; - } - static dot(left, right) { - return left.x * right.x + left.y * right.y; - } - static cross(left, right) { - return left.x * right.y - left.y * right.x; - } - static multiplyComponents(left, right, result) { - result.x = left.x * right.x; - result.y = left.y * right.y; - return result; - } - static divideComponents(left, right, result) { - result.x = left.x / right.x; - result.y = left.y / right.y; - return result; - } - static add(left, right, result) { - result.x = left.x + right.x; - result.y = left.y + right.y; - return result; - } - static subtract(left, right, result) { - result.x = left.x - right.x; - result.y = left.y - right.y; - return result; - } - static multiplyByScalar(cartesian, scalar, result) { - result.x = cartesian.x * scalar; - result.y = cartesian.y * scalar; - return result; - } - static divideByScalar(cartesian, scalar, result) { - result.x = cartesian.x / scalar; - result.y = cartesian.y / scalar; - return result; - } - static negate(cartesian, result) { - result.x = -cartesian.x; - result.y = -cartesian.y; - return result; - } - static abs(cartesian, result) { - result.x = Math.abs(cartesian.x); - result.y = Math.abs(cartesian.y); - return result; - } - static lerp(start, end, t, result) { - Vector2.multiplyByScalar(end, t, lerpScratch$3); - result = Vector2.multiplyByScalar(start, 1.0 - t, result); - return Vector2.add(lerpScratch$3, result, result); - } - static angleBetween(left, right) { - Vector2.normalize(left, angleBetweenScratch$1); - Vector2.normalize(right, angleBetweenScratch2$1); - return GMath.acosClamped(Vector2.dot(angleBetweenScratch$1, angleBetweenScratch2$1)); - } - static mostOrthogonalAxis(cartesian, result) { - const f = Vector2.normalize(cartesian, mostOrthogonalAxisScratch$1); - Vector2.abs(f, f); - if (f.x <= f.y) { - result = Vector2.clone(Vector2.UNIT_X, result); - } else { - result = Vector2.clone(Vector2.UNIT_Y, result); - } - return result; - } - static equals(left, right) { - return left === right || (defined(left) && defined(right) && left.x === right.x && left.y === right.y); - } - /** - * @private - */ - static equalsArray(cartesian, array, offset) { - return cartesian.x === array[offset] && cartesian.y === array[offset + 1]; - } - static equalsEpsilon(left, right, relativeEpsilon = 0, absoluteEpsilon = 0) { - return ( - left === right || - (defined(left) && - defined(right) && - GMath.equalsEpsilon(left.x, right.x, relativeEpsilon, absoluteEpsilon) && - GMath.equalsEpsilon(left.y, right.y, relativeEpsilon, absoluteEpsilon)) - ); - } -} -Vector2.ZERO = Object.freeze(new Vector2(0.0, 0.0)); -Vector2.ONE = Object.freeze(new Vector2(1.0, 1.0)); -Vector2.UNIT_X = Object.freeze(new Vector2(1.0, 0.0)); -Vector2.UNIT_Y = Object.freeze(new Vector2(0.0, 1.0)); -const distanceScratch$2 = new Vector2(); -const lerpScratch$3 = new Vector2(); -const angleBetweenScratch$1 = new Vector2(); -const angleBetweenScratch2$1 = new Vector2(); -const mostOrthogonalAxisScratch$1 = new Vector2(); - -class Vector3 { - constructor(x = 0, y = 0, z = 0) { - this.x = x; - this.y = y; - this.z = z; - } - set(x, y, z) { - this.x = x; - this.y = y; - this.z = z; - return this; - } - toArray() { - return [this.x, this.y, this.z]; - } - copy(v) { - this.x = v.x; - this.y = v.y; - this.z = v.z; - return this; - } - lerp(end, t) { - Vector3.lerp(this, end, t, this); - return this; - } - add(v) { - Vector3.add(this, v, this); - return this; - } - addScaledVector(v, s) { - this.x += v.x * s; - this.y += v.y * s; - this.z += v.z * s; - return this; - } - subtract(v) { - Vector3.subtract(this, v, this); - return this; - } - applyQuaternion(q) { - const x = this.x, - y = this.y, - z = this.z; - const qx = q.x, - qy = q.y, - qz = q.z, - qw = q.w; - // calculate quat * vector - const ix = qw * x + qy * z - qz * y; - const iy = qw * y + qz * x - qx * z; - const iz = qw * z + qx * y - qy * x; - const iw = -qx * x - qy * y - qz * z; - // calculate result * inverse quat - this.x = ix * qw + iw * -qx + iy * -qz - iz * -qy; - this.y = iy * qw + iw * -qy + iz * -qx - ix * -qz; - this.z = iz * qw + iw * -qz + ix * -qy - iy * -qx; - return this; - } - setFromMatrixColumn(m, index) { - return this.fromArray(m, index * 4); - } - fromArray(array, offset = 0) { - this.x = array[offset]; - this.y = array[offset + 1]; - this.z = array[offset + 2]; - return this; - } - multiplyByScalar(scale) { - Vector3.multiplyByScalar(this, scale, this); - return this; - } - clone() { - return Vector3.clone(this, new Vector3()); - } - length() { - return Math.sqrt(this.x * this.x + this.y * this.y + this.z * this.z); - } - applyMatrix4(matrix) { - const x = this.x, - y = this.y, - z = this.z; - const e = matrix; - const w = 1 / (e[3] * x + e[7] * y + e[11] * z + e[15]); - this.x = (e[0] * x + e[4] * y + e[8] * z + e[12]) * w; - this.y = (e[1] * x + e[5] * y + e[9] * z + e[13]) * w; - this.z = (e[2] * x + e[6] * y + e[10] * z + e[14]) * w; - return this; - } - applyMatrix3(matrix) { - const x = this.x, - y = this.y, - z = this.z; - this.x = x * matrix[0] + y * matrix[3] + z * matrix[6]; - this.y = x * matrix[1] + y * matrix[4] + z * matrix[7]; - this.z = x * matrix[2] + y * matrix[5] + z * matrix[8]; - return this; - } - transformDirection(matrix) { - const x = this.x, - y = this.y, - z = this.z; - const e = matrix; - this.x = e[0] * x + e[4] * y + e[8] * z; - this.y = e[1] * x + e[5] * y + e[9] * z; - this.z = e[2] * x + e[6] * y + e[10] * z; - return this.normalize(); - } - setFromMatrixPosition(matrix) { - const e = matrix; - this.x = e[12]; - this.y = e[13]; - this.z = e[14]; - return this; - } - normalize() { - Vector3.normalize(this, this); - return this; - } - equals(right) { - return Vector3.equals(this, right); - } - equalsEpsilon(right, relativeEpsilon = 0, absoluteEpsilon = 0) { - return Vector3.equalsEpsilon(this, right, relativeEpsilon, absoluteEpsilon); - } - toString() { - return `(${this.x}, ${this.y}, ${this.z})`; - } - fromBufferAttribute(attribute, index) { - this.x = attribute.getX(index); - this.y = attribute.getY(index); - this.z = attribute.getZ(index); - return this; - } - static fromVector4(vec4, result) { - result.x = vec4.x; - result.y = vec4.y; - result.z = vec4.z; - return result; - } - static fromSpherical(spherical, result) { - if (!defined(result)) { - result = new Vector3(); - } - const { phi, radius, theta } = spherical; - const sinPhiRadius = Math.sin(phi) * radius; - result.x = sinPhiRadius * Math.sin(theta); - result.y = Math.cos(phi) * radius; - result.z = sinPhiRadius * Math.cos(theta); - return result; - } - static fromElements(x, y, z, result) { - if (!defined(result)) { - return new Vector3(x, y, z); - } - result.x = x; - result.y = y; - result.z = z; - return result; - } - static clone(cartesian, result = new Vector3()) { - if (!defined(cartesian)) { - return undefined; - } - if (!defined(result)) { - return new Vector3(cartesian.x, cartesian.y, cartesian.z); - } - result.x = cartesian.x; - result.y = cartesian.y; - result.z = cartesian.z; - return result; - } - static maximumComponent(cartesian) { - return Math.max(cartesian.x, cartesian.y, cartesian.z); - } - static minimumComponent(cartesian) { - return Math.min(cartesian.x, cartesian.y, cartesian.z); - } - static minimumByComponent(first, second, result) { - result.x = Math.min(first.x, second.x); - result.y = Math.min(first.y, second.y); - result.z = Math.min(first.z, second.z); - return result; - } - static maximumByComponent(first, second, result) { - result.x = Math.max(first.x, second.x); - result.y = Math.max(first.y, second.y); - result.z = Math.max(first.z, second.z); - return result; - } - static clamp(value, min, max, result) { - const x = GMath.clamp(value.x, min.x, max.x); - const y = GMath.clamp(value.y, min.y, max.y); - const z = GMath.clamp(value.z, min.z, max.z); - result.x = x; - result.y = y; - result.z = z; - return result; - } - static magnitudeSquared(cartesian) { - return cartesian.x * cartesian.x + cartesian.y * cartesian.y + cartesian.z * cartesian.z; - } - static magnitude(cartesian) { - return Math.sqrt(Vector3.magnitudeSquared(cartesian)); - } - static distance(left, right) { - Vector3.subtract(left, right, distanceScratch$1); - return Vector3.magnitude(distanceScratch$1); - } - static distanceSquared(left, right) { - Vector3.subtract(left, right, distanceScratch$1); - return Vector3.magnitudeSquared(distanceScratch$1); - } - static normalize(cartesian, result) { - const magnitude = Vector3.magnitude(cartesian); - result.x = cartesian.x / magnitude; - result.y = cartesian.y / magnitude; - result.z = cartesian.z / magnitude; - if (isNaN(result.x) || isNaN(result.y) || isNaN(result.z)) { - throw new Error("normalized result is not a number"); - } - return result; - } - static dot(left, right) { - return left.x * right.x + left.y * right.y + left.z * right.z; - } - static multiplyComponents(left, right, result) { - result.x = left.x * right.x; - result.y = left.y * right.y; - result.z = left.z * right.z; - return result; - } - static divideComponents(left, right, result) { - result.x = left.x / right.x; - result.y = left.y / right.y; - result.z = left.z / right.z; - return result; - } - static add(left, right, result) { - result.x = left.x + right.x; - result.y = left.y + right.y; - result.z = left.z + right.z; - return result; - } - static subtract(left, right, result) { - result.x = left.x - right.x; - result.y = left.y - right.y; - result.z = left.z - right.z; - return result; - } - static multiplyByScalar(cartesian, scalar, result) { - result.x = cartesian.x * scalar; - result.y = cartesian.y * scalar; - result.z = cartesian.z * scalar; - return result; - } - static divideByScalar(cartesian, scalar, result) { - result.x = cartesian.x / scalar; - result.y = cartesian.y / scalar; - result.z = cartesian.z / scalar; - return result; - } - static negate(cartesian, result) { - result.x = -cartesian.x; - result.y = -cartesian.y; - result.z = -cartesian.z; - return result; - } - static abs(cartesian, result) { - result.x = Math.abs(cartesian.x); - result.y = Math.abs(cartesian.y); - result.z = Math.abs(cartesian.z); - return result; - } - static lerp(start, end, t, result) { - Vector3.multiplyByScalar(end, t, lerpScratch$2); - result = Vector3.multiplyByScalar(start, 1.0 - t, result); - return Vector3.add(lerpScratch$2, result, result); - } - static angleBetween(left, right) { - Vector3.normalize(left, angleBetweenScratch); - Vector3.normalize(right, angleBetweenScratch2); - const cosine = Vector3.dot(angleBetweenScratch, angleBetweenScratch2); - const sine = Vector3.magnitude(Vector3.cross(angleBetweenScratch, angleBetweenScratch2, angleBetweenScratch)); - return Math.atan2(sine, cosine); - } - static mostOrthogonalAxis(cartesian, result) { - const f = Vector3.normalize(cartesian, mostOrthogonalAxisScratch); - Vector3.abs(f, f); - if (f.x <= f.y) { - if (f.x <= f.z) { - result = Vector3.clone(Vector3.UNIT_X, result); - } else { - result = Vector3.clone(Vector3.UNIT_Z, result); - } - } else if (f.y <= f.z) { - result = Vector3.clone(Vector3.UNIT_Y, result); - } else { - result = Vector3.clone(Vector3.UNIT_Z, result); - } - return result; - } - static projectVector(a, b, result) { - const scalar = Vector3.dot(a, b) / Vector3.dot(b, b); - return Vector3.multiplyByScalar(b, scalar, result); - } - static equals(left, right) { - return ( - left === right || - (defined(left) && defined(right) && left.x === right.x && left.y === right.y && left.z === right.z) - ); - } - /** - * @private - */ - static equalsArray(cartesian, array, offset) { - return cartesian.x === array[offset] && cartesian.y === array[offset + 1] && cartesian.z === array[offset + 2]; - } - static equalsEpsilon(left, right, relativeEpsilon = 0, absoluteEpsilon = 0) { - return ( - left === right || - (defined(left) && - defined(right) && - GMath.equalsEpsilon(left.x, right.x, relativeEpsilon, absoluteEpsilon) && - GMath.equalsEpsilon(left.y, right.y, relativeEpsilon, absoluteEpsilon) && - GMath.equalsEpsilon(left.z, right.z, relativeEpsilon, absoluteEpsilon)) - ); - } - static cross(left, right, result) { - const leftX = left.x; - const leftY = left.y; - const leftZ = left.z; - const rightX = right.x; - const rightY = right.y; - const rightZ = right.z; - const x = leftY * rightZ - leftZ * rightY; - const y = leftZ * rightX - leftX * rightZ; - const z = leftX * rightY - leftY * rightX; - result.x = x; - result.y = y; - result.z = z; - return result; - } -} -Vector3.ZERO = Object.freeze(new Vector3(0.0, 0.0, 0.0)); -Vector3.ONE = Object.freeze(new Vector3(1.0, 1.0, 1.0)); -Vector3.UNIT_X = Object.freeze(new Vector3(1.0, 0.0, 0.0)); -Vector3.UNIT_Y = Object.freeze(new Vector3(0.0, 1.0, 0.0)); -Vector3.UNIT_Z = Object.freeze(new Vector3(0.0, 0.0, 1.0)); -Vector3.midpoint = function (left, right, result) { - result.x = (left.x + right.x) * 0.5; - result.y = (left.y + right.y) * 0.5; - result.z = (left.z + right.z) * 0.5; - return result; -}; -const distanceScratch$1 = new Vector3(); -const lerpScratch$2 = new Vector3(); -const angleBetweenScratch = new Vector3(); -const angleBetweenScratch2 = new Vector3(); -const mostOrthogonalAxisScratch = new Vector3(); - -class Attribute { - constructor(name, value, itemSize) { - this.name = name; - this.value = value; - this.itemSize = itemSize; - this.name = name; - this.offset = 0; - this.shaderLocation = 0; - this.attributeType = AttributeType.attribute; - this.dirty = true; - } - getGPUAttribute() { - return [ - { - shaderLocation: this.shaderLocation, - format: this.format, - offset: this.offset - } - ]; - } - destroy() { - this.value = []; - } - applyMatrix3(matrix3) { - if (this.itemSize === 2) { - for (let i = 0, l = this.value.length / this.itemSize; i < l; i++) { - Attribute.v2.fromBufferAttribute(this, i); - Attribute.v2.applyMatrix3(matrix3); - this.setXY(i, Attribute.v2.x, Attribute.v2.y); - } - } else if (this.itemSize === 3) { - for (let i = 0, l = this.value.length / this.itemSize; i < l; i++) { - Attribute.v3.fromBufferAttribute(this, i); - Attribute.v3.applyMatrix3(matrix3); - this.setXYZ(i, Attribute.v3.x, Attribute.v3.y, Attribute.v3.z); - } - } - return this; - } - applyMatrix4(matrix4) { - for (let i = 0, l = this.value.length / this.itemSize; i < l; i++) { - Attribute.v3.fromBufferAttribute(this, i); - Attribute.v3.applyMatrix4(matrix4); - this.setXYZ(i, Attribute.v3.x, Attribute.v3.y, Attribute.v3.z); - } - return this; - } - setX(index, x) { - this.value[index * this.itemSize] = x; - return this; - } - getX(index) { - const x = this.value[index * this.itemSize]; - return x; - } - setY(index, y) { - this.value[index * this.itemSize + 1] = y; - return this; - } - getY(index) { - const y = this.value[index * this.itemSize + 1]; - return y; - } - setZ(index, z) { - this.value[index * this.itemSize + 2] = z; - return this; - } - getZ(index) { - const z = this.value[index * this.itemSize + 2]; - return z; - } - getW(index) { - const w = this.value[index * this.itemSize + 3]; - return w; - } - setXY(index, x, y) { - index *= this.itemSize; - this.value[index + 0] = x; - this.value[index + 1] = y; - return this; - } - setXYZ(index, x, y, z) { - index *= this.itemSize; - this.value[index + 0] = x; - this.value[index + 1] = y; - this.value[index + 2] = z; - return this; - } - setXYZW(index, x, y, z, w) { - index *= this.itemSize; - this.value[index + 0] = x; - this.value[index + 1] = y; - this.value[index + 2] = z; - this.value[index + 3] = w; - return this; - } -} -Attribute.v3 = new Vector3(); -Attribute.v2 = new Vector2(); -class InterleavedAttribute { - constructor(names, value, itemSizes) { - this.names = names; - this.itemSizes = itemSizes; - this.value = value; - this.attributeType = AttributeType.interleavedAttribute; - this.dirty = true; - } - getGPUAttribute() { - const result = []; - this.itemSizes.reduce((total, current, index) => { - result.push({ - shaderLocation: index, - format: current == 1 ? `${this.format}` : `${this.format}x${current}`, - offset: total * this.byteSize - }); - return (total += current); - }, 0); - return result; - } - destroy() { - this.value = null; - this.names = null; - this.itemSizes = null; - } -} -class Float32Attribute extends Attribute { - constructor(name, value, itemSize) { - super(name, value, itemSize); - const { format, totalByteSize } = getAttributeFormat(VertexFormat.Float32, itemSize); - this.format = format; - this.attributeByteSize = totalByteSize; - } -} -class InterleavedFloat32Attribute extends InterleavedAttribute { - constructor(names, value, itemSizes) { - super(names, value, itemSizes); - this.format = VertexFormat.Float32; - this.byteSize = Float32Array.BYTES_PER_ELEMENT; - } -} -class BufferFloat32Attribute extends InterleavedFloat32Attribute { - constructor(names, buffer, itemSizes) { - super(names, undefined, itemSizes); - this.buffer = buffer; - } -} -var AttributeType; -(function (AttributeType) { - AttributeType[(AttributeType["interleavedAttribute"] = 0)] = "interleavedAttribute"; - AttributeType[(AttributeType["attribute"] = 1)] = "attribute"; -})(AttributeType || (AttributeType = {})); -function getAttributeFormat(type, itemSize) { - const key = `${type}x${itemSize}`; - return { - [VertexFormat.Float32]: { - format: "float32", - totalByteSize: Float32Array.BYTES_PER_ELEMENT * itemSize, - byteSize: Float32Array.BYTES_PER_ELEMENT - }, - [VertexFormat.Float32x2]: { - format: "float32x2", - totalByteSize: Float32Array.BYTES_PER_ELEMENT * itemSize, - byteSize: Float32Array.BYTES_PER_ELEMENT - }, - [VertexFormat.Float32x3]: { - format: "float32x3", - totalByteSize: Float32Array.BYTES_PER_ELEMENT * itemSize, - byteSize: Float32Array.BYTES_PER_ELEMENT - }, - [VertexFormat.Float32x4]: { - format: "float32x4", - totalByteSize: Float32Array.BYTES_PER_ELEMENT * itemSize, - byteSize: Float32Array.BYTES_PER_ELEMENT - } - }[key]; -} - -const bindGroupCache = new Map(); -class BindGroup { - constructor(options) { - this.index = options.index || 0; - this.offset = options.offset ?? 0; - this.alignedSize = options.alignedSize ?? 0; - this.maxOffset = options.maxOffset ?? 0; - this.dynamic = options.dynamic ?? false; - this.gpuBindGroup = options.device.createBindGroup({ - label: options.label, - layout: options.layout.gpuBindGroupLayout, - entries: options.entires.map((entity) => ({ - binding: entity.binding, - resource: entity.resource - })) - }); - } - bind(passEncoder) { - // dynamic uniforms must bind multiple times - if (this.dynamic) { - const dynamicOffsets = [0]; - dynamicOffsets[0] = this.offset * this.alignedSize; - this.offset = ++this.offset < this.maxOffset ? this.offset : 0; - passEncoder.setBindGroup(this.index, this.gpuBindGroup, dynamicOffsets); - } else { - passEncoder.setBindGroup(this.index, this.gpuBindGroup); - } - } - destroy() { - this.gpuBindGroup = undefined; - this.device = undefined; - } - static getBindGroupFromCache(options) { - if (bindGroupCache.has(options.label)) { - return bindGroupCache.get(options.label); - } else { - const bindGroup = new BindGroup(options); - bindGroupCache.set(options.label, bindGroup); - return bindGroup; - } - } - static removeBindGroupFromCache(bindGroup) { - bindGroupCache.delete(bindGroup); - } -} - -class BindGroupEntity { - constructor(options) { - this.binding = options.binding; - this.resource = options.resource; - } - getGPUGroupEntity() { - return { - binding: this.binding, - resource: this.resource - }; - } -} - -class RenderTarget { - constructor(type, colorAttachments, depthAttachment, stencilAttachment, querySet, fixedSize) { - this.type = type; - this.colorAttachments = colorAttachments; - this.depthAttachment = depthAttachment; - this.stencilAttachment = stencilAttachment; - this.querySet = querySet; - this.fixedSize = fixedSize; - this.renderEncoder = undefined; - this.computeEncoder = undefined; - this._renderPassDescriptor = undefined; - this.commandEncoder = undefined; - this.device = undefined; - this.fixedSize = false; - } - get renderPassDescriptor() { - this._renderPassDescriptor = this.getRenderPassDescriptor(); - return this._renderPassDescriptor; - } - getColorTexture(index = 0) { - const colAtt = this.colorAttachments[index]; - if (colAtt) { - return colAtt.texture; - } else { - return null; - } - } - getDepthTexture() { - if (this.depthAttachment) { - return this.depthAttachment.texture; - } - } - getRenderPassDescriptor() { - this.depthAttachment?.texture?.update(this.device); - this?.querySet?.update(this.device); - return { - ...(this.colorAttachments && { - colorAttachments: this.colorAttachments.map((colorAttachment) => { - colorAttachment?.texture?.update && colorAttachment?.texture?.update(this.device); - return { - view: - // 暂时这么写 - colorAttachment?.textureView?.() ?? colorAttachment.texture.textureView, - resolveTarget: - colorAttachment.resolveTarget != undefined - ? colorAttachment.resolveTarget.textureView - : undefined, - clearValue: colorAttachment.value, - loadOp: colorAttachment.op, - storeOp: colorAttachment.storeOp - }; - }) - }), - ...((this.depthAttachment || this.stencilAttachment) && { - depthStencilAttachment: { - view: this.depthAttachment?.texture?.textureView || undefined, - depthLoadOp: this.depthAttachment?.op || "clear", - depthClearValue: this.depthAttachment?.value || 1.0, - depthStoreOp: this.depthAttachment?.storeOp || "store", - depthReadOnly: this.depthAttachment?.readOnly || false - // stencilLoadOp: this.stencilAttachment?.op || "clear", - // stencilClearValue: this.stencilAttachment?.value || 0, - // stencilStoreOp: this.stencilAttachment?.storeOp || "store", - } - }), - ...(this.querySet && { occlusionQuerySet: this.querySet.gpuQuerySet }) - }; - } - beginRenderPass(device) { - if (!this.device) this.device = device; - this.commandEncoder = this.device.createCommandEncoder(); - this.renderEncoder = this.commandEncoder.beginRenderPass(this.renderPassDescriptor); - return this.renderEncoder; - } - endRenderPass() { - this.renderEncoder?.end(); - this.device.queue.submit([this.commandEncoder.finish()]); - this.commandEncoder = null; - this.renderEncoder = null; - } - beginComputePassEncoder(device) { - if (!this.device) this.device = device; - this.commandEncoder = this.device.createCommandEncoder(); - this.computeEncoder = this.commandEncoder.beginComputePass(); - return this.computeEncoder; - } - endComputePassEncoder() { - this.computeEncoder?.end(); - this.device.queue.submit([this.commandEncoder.finish()]); - this.commandEncoder = null; - this.renderEncoder = null; - } - setSize(width, height, depth = 1) { - if (this.fixedSize) return; - this?.depthAttachment?.texture?.setSize?.(width, height, depth); - this?.colorAttachments?.forEach?.((colorAttachment) => - colorAttachment?.texture?.setSize?.(width, height, depth) - ); - } - destroy() { - if (this.colorAttachments) { - this.colorAttachments.forEach((colorAttachment) => { - if (colorAttachment.texture) { - colorAttachment.texture.destroy(); - } - }); - } - if (this.depthAttachment.texture) this.depthAttachment.texture.destroy(); - } -} - -/** - * A 3x3 matrix, indexable as a column-major order array. - * @param {Number} [column0Row0=0.0] The value for column 0, row 0. - * @param {Number} [column1Row0=0.0] The value for column 1, row 0. - * @param {Number} [column2Row0=0.0] The value for column 2, row 0. - * @param {Number} [column0Row1=0.0] The value for column 0, row 1. - * @param {Number} [column1Row1=0.0] The value for column 1, row 1. - * @param {Number} [column2Row1=0.0] The value for column 2, row 1. - * @param {Number} [column0Row2=0.0] The value for column 0, row 2. - * @param {Number} [column1Row2=0.0] The value for column 1, row 2. - * @param {Number} [column2Row2=0.0] The value for column 2, row 2. - */ -class Matrix3 { - constructor( - column0Row0 = 0, - column1Row0 = 0, - column2Row0 = 0, - column0Row1 = 0, - column1Row1 = 0, - column2Row1 = 0, - column0Row2 = 0, - column1Row2 = 0, - column2Row2 = 0 - ) { - this[0] = column0Row0; - this[1] = column0Row1; - this[2] = column0Row2; - this[3] = column1Row0; - this[4] = column1Row1; - this[5] = column1Row2; - this[6] = column2Row0; - this[7] = column2Row1; - this[8] = column2Row2; - } - setFromMatrix4(matrix) { - this[0] = matrix[0]; - this[1] = matrix[1]; - this[2] = matrix[2]; - this[3] = matrix[4]; - this[4] = matrix[5]; - this[5] = matrix[2]; - this[6] = matrix[8]; - this[7] = matrix[9]; - this[8] = matrix[10]; - return this; - } - getNormalMatrix(matrix4) { - this.setFromMatrix4(matrix4); - Matrix3.inverse(this, this); - Matrix3.transpose(this, this); - return this; - } - static clone(matrix, result) { - if (!defined(matrix)) { - return undefined; - } - if (!defined(result)) { - return new Matrix3( - matrix[0], - matrix[3], - matrix[6], - matrix[1], - matrix[4], - matrix[7], - matrix[2], - matrix[5], - matrix[8] - ); - } - result[0] = matrix[0]; - result[1] = matrix[1]; - result[2] = matrix[2]; - result[3] = matrix[3]; - result[4] = matrix[4]; - result[5] = matrix[5]; - result[6] = matrix[6]; - result[7] = matrix[7]; - result[8] = matrix[8]; - return result; - } - static fromColumnMajorArray(values, result) { - if (!defined(result)) { - result = new Matrix3(); - } - return Matrix3.clone(values, result); - } - static fromRowMajorArray(values, result) { - if (!defined(result)) { - return new Matrix3( - values[0], - values[1], - values[2], - values[3], - values[4], - values[5], - values[6], - values[7], - values[8] - ); - } - result[0] = values[0]; - result[1] = values[3]; - result[2] = values[6]; - result[3] = values[1]; - result[4] = values[4]; - result[5] = values[7]; - result[6] = values[2]; - result[7] = values[5]; - result[8] = values[8]; - return result; - } - static fromQuaternion(quaternion, result) { - const x2 = quaternion.x * quaternion.x; - const xy = quaternion.x * quaternion.y; - const xz = quaternion.x * quaternion.z; - const xw = quaternion.x * quaternion.w; - const y2 = quaternion.y * quaternion.y; - const yz = quaternion.y * quaternion.z; - const yw = quaternion.y * quaternion.w; - const z2 = quaternion.z * quaternion.z; - const zw = quaternion.z * quaternion.w; - const w2 = quaternion.w * quaternion.w; - const m00 = x2 - y2 - z2 + w2; - const m01 = 2.0 * (xy - zw); - const m02 = 2.0 * (xz + yw); - const m10 = 2.0 * (xy + zw); - const m11 = -x2 + y2 - z2 + w2; - const m12 = 2.0 * (yz - xw); - const m20 = 2.0 * (xz - yw); - const m21 = 2.0 * (yz + xw); - const m22 = -x2 - y2 + z2 + w2; - if (!defined(result)) { - return new Matrix3(m00, m01, m02, m10, m11, m12, m20, m21, m22); - } - result[0] = m00; - result[1] = m10; - result[2] = m20; - result[3] = m01; - result[4] = m11; - result[5] = m21; - result[6] = m02; - result[7] = m12; - result[8] = m22; - return result; - } - static fromScale(scale, result) { - if (!defined(result)) { - return new Matrix3(scale.x, 0.0, 0.0, 0.0, scale.y, 0.0, 0.0, 0.0, scale.z); - } - result[0] = scale.x; - result[1] = 0.0; - result[2] = 0.0; - result[3] = 0.0; - result[4] = scale.y; - result[5] = 0.0; - result[6] = 0.0; - result[7] = 0.0; - result[8] = scale.z; - return result; - } - static fromRotationX(angle, result) { - const cosAngle = Math.cos(angle); - const sinAngle = Math.sin(angle); - if (!defined(result)) { - return new Matrix3(1.0, 0.0, 0.0, 0.0, cosAngle, -sinAngle, 0.0, sinAngle, cosAngle); - } - result[0] = 1.0; - result[1] = 0.0; - result[2] = 0.0; - result[3] = 0.0; - result[4] = cosAngle; - result[5] = sinAngle; - result[6] = 0.0; - result[7] = -sinAngle; - result[8] = cosAngle; - return result; - } - static fromRotationY(angle, result) { - const cosAngle = Math.cos(angle); - const sinAngle = Math.sin(angle); - if (!defined(result)) { - return new Matrix3(cosAngle, 0.0, sinAngle, 0.0, 1.0, 0.0, -sinAngle, 0.0, cosAngle); - } - result[0] = cosAngle; - result[1] = 0.0; - result[2] = -sinAngle; - result[3] = 0.0; - result[4] = 1.0; - result[5] = 0.0; - result[6] = sinAngle; - result[7] = 0.0; - result[8] = cosAngle; - return result; - } - static fromRotationZstatic(angle, result) { - const cosAngle = Math.cos(angle); - const sinAngle = Math.sin(angle); - if (!defined(result)) { - return new Matrix3(cosAngle, -sinAngle, 0.0, sinAngle, cosAngle, 0.0, 0.0, 0.0, 1.0); - } - result[0] = cosAngle; - result[1] = sinAngle; - result[2] = 0.0; - result[3] = -sinAngle; - result[4] = cosAngle; - result[5] = 0.0; - result[6] = 0.0; - result[7] = 0.0; - result[8] = 1.0; - return result; - } - toArray() { - const result = []; - Matrix3.toArray(this, result); - return result; - } - static toArray(matrix, result) { - if (!defined(result)) { - return [matrix[0], matrix[1], matrix[2], matrix[3], matrix[4], matrix[5], matrix[6], matrix[7], matrix[8]]; - } - result[0] = matrix[0]; - result[1] = matrix[1]; - result[2] = matrix[2]; - result[3] = matrix[3]; - result[4] = matrix[4]; - result[5] = matrix[5]; - result[6] = matrix[6]; - result[7] = matrix[7]; - result[8] = matrix[8]; - return result; - } - static getElementIndex(column, row) { - return column * 3 + row; - } - static getColumn(matrix, index, result) { - const startIndex = index * 3; - const x = matrix[startIndex]; - const y = matrix[startIndex + 1]; - const z = matrix[startIndex + 2]; - result.x = x; - result.y = y; - result.z = z; - return result; - } - static setColumn(matrix, index, cartesian, result) { - result = Matrix3.clone(matrix, result); - const startIndex = index * 3; - result[startIndex] = cartesian.x; - result[startIndex + 1] = cartesian.y; - result[startIndex + 2] = cartesian.z; - return result; - } - static getRow(matrix, index, result) { - const x = matrix[index]; - const y = matrix[index + 3]; - const z = matrix[index + 6]; - result.x = x; - result.y = y; - result.z = z; - return result; - } - static setRow(matrix, index, cartesian, result) { - result = Matrix3.clone(matrix, result); - result[index] = cartesian.x; - result[index + 3] = cartesian.y; - result[index + 6] = cartesian.z; - return result; - } - static setScale(matrix, scale, result) { - const existingScale = Matrix3.getScale(matrix, scaleScratch1$2); - const scaleRatioX = scale.x / existingScale.x; - const scaleRatioY = scale.y / existingScale.y; - const scaleRatioZ = scale.z / existingScale.z; - result[0] = matrix[0] * scaleRatioX; - result[1] = matrix[1] * scaleRatioX; - result[2] = matrix[2] * scaleRatioX; - result[3] = matrix[3] * scaleRatioY; - result[4] = matrix[4] * scaleRatioY; - result[5] = matrix[5] * scaleRatioY; - result[6] = matrix[6] * scaleRatioZ; - result[7] = matrix[7] * scaleRatioZ; - result[8] = matrix[8] * scaleRatioZ; - return result; - } - static getScale(matrix, result) { - result.x = Vector3.magnitude(Vector3.fromElements(matrix[0], matrix[1], matrix[2], scratchColumn$2)); - result.y = Vector3.magnitude(Vector3.fromElements(matrix[3], matrix[4], matrix[5], scratchColumn$2)); - result.z = Vector3.magnitude(Vector3.fromElements(matrix[6], matrix[7], matrix[8], scratchColumn$2)); - return result; - } - static getMaximumScale(matrix) { - Matrix3.getScale(matrix, scaleScratch3$2); - return Vector3.maximumComponent(scaleScratch3$2); - } - static setRotation(matrix, rotation, result) { - const scale = Matrix3.getScale(matrix, scaleScratch4$2); - result[0] = rotation[0] * scale.x; - result[1] = rotation[1] * scale.x; - result[2] = rotation[2] * scale.x; - result[3] = rotation[3] * scale.y; - result[4] = rotation[4] * scale.y; - result[5] = rotation[5] * scale.y; - result[6] = rotation[6] * scale.z; - result[7] = rotation[7] * scale.z; - result[8] = rotation[8] * scale.z; - return result; - } - static getRotation(matrix, result) { - const scale = Matrix3.getScale(matrix, scaleScratch5$2); - result[0] = matrix[0] / scale.x; - result[1] = matrix[1] / scale.x; - result[2] = matrix[2] / scale.x; - result[3] = matrix[3] / scale.y; - result[4] = matrix[4] / scale.y; - result[5] = matrix[5] / scale.y; - result[6] = matrix[6] / scale.z; - result[7] = matrix[7] / scale.z; - result[8] = matrix[8] / scale.z; - return result; - } - static multiply(left, right, result) { - const column0Row0 = left[0] * right[0] + left[3] * right[1] + left[6] * right[2]; - const column0Row1 = left[1] * right[0] + left[4] * right[1] + left[7] * right[2]; - const column0Row2 = left[2] * right[0] + left[5] * right[1] + left[8] * right[2]; - const column1Row0 = left[0] * right[3] + left[3] * right[4] + left[6] * right[5]; - const column1Row1 = left[1] * right[3] + left[4] * right[4] + left[7] * right[5]; - const column1Row2 = left[2] * right[3] + left[5] * right[4] + left[8] * right[5]; - const column2Row0 = left[0] * right[6] + left[3] * right[7] + left[6] * right[8]; - const column2Row1 = left[1] * right[6] + left[4] * right[7] + left[7] * right[8]; - const column2Row2 = left[2] * right[6] + left[5] * right[7] + left[8] * right[8]; - result[0] = column0Row0; - result[1] = column0Row1; - result[2] = column0Row2; - result[3] = column1Row0; - result[4] = column1Row1; - result[5] = column1Row2; - result[6] = column2Row0; - result[7] = column2Row1; - result[8] = column2Row2; - return result; - } - static add(left, right, result) { - result[0] = left[0] + right[0]; - result[1] = left[1] + right[1]; - result[2] = left[2] + right[2]; - result[3] = left[3] + right[3]; - result[4] = left[4] + right[4]; - result[5] = left[5] + right[5]; - result[6] = left[6] + right[6]; - result[7] = left[7] + right[7]; - result[8] = left[8] + right[8]; - return result; - } - static subtract(left, right, result) { - result[0] = left[0] - right[0]; - result[1] = left[1] - right[1]; - result[2] = left[2] - right[2]; - result[3] = left[3] - right[3]; - result[4] = left[4] - right[4]; - result[5] = left[5] - right[5]; - result[6] = left[6] - right[6]; - result[7] = left[7] - right[7]; - result[8] = left[8] - right[8]; - return result; - } - static multiplyByVector(matrix, cartesian, result) { - const vX = cartesian.x; - const vY = cartesian.y; - const vZ = cartesian.z; - const x = matrix[0] * vX + matrix[3] * vY + matrix[6] * vZ; - const y = matrix[1] * vX + matrix[4] * vY + matrix[7] * vZ; - const z = matrix[2] * vX + matrix[5] * vY + matrix[8] * vZ; - result.x = x; - result.y = y; - result.z = z; - return result; - } - static multiplyByScalar(matrix, scalar, result) { - result[0] = matrix[0] * scalar; - result[1] = matrix[1] * scalar; - result[2] = matrix[2] * scalar; - result[3] = matrix[3] * scalar; - result[4] = matrix[4] * scalar; - result[5] = matrix[5] * scalar; - result[6] = matrix[6] * scalar; - result[7] = matrix[7] * scalar; - result[8] = matrix[8] * scalar; - return result; - } - static multiplyByScale(matrix, scale, result) { - result[0] = matrix[0] * scale.x; - result[1] = matrix[1] * scale.x; - result[2] = matrix[2] * scale.x; - result[3] = matrix[3] * scale.y; - result[4] = matrix[4] * scale.y; - result[5] = matrix[5] * scale.y; - result[6] = matrix[6] * scale.z; - result[7] = matrix[7] * scale.z; - result[8] = matrix[8] * scale.z; - return result; - } - static negate(matrix, result) { - result[0] = -matrix[0]; - result[1] = -matrix[1]; - result[2] = -matrix[2]; - result[3] = -matrix[3]; - result[4] = -matrix[4]; - result[5] = -matrix[5]; - result[6] = -matrix[6]; - result[7] = -matrix[7]; - result[8] = -matrix[8]; - return result; - } - static transpose(matrix, result) { - const column0Row0 = matrix[0]; - const column0Row1 = matrix[3]; - const column0Row2 = matrix[6]; - const column1Row0 = matrix[1]; - const column1Row1 = matrix[4]; - const column1Row2 = matrix[7]; - const column2Row0 = matrix[2]; - const column2Row1 = matrix[5]; - const column2Row2 = matrix[8]; - result[0] = column0Row0; - result[1] = column0Row1; - result[2] = column0Row2; - result[3] = column1Row0; - result[4] = column1Row1; - result[5] = column1Row2; - result[6] = column2Row0; - result[7] = column2Row1; - result[8] = column2Row2; - return result; - } - static abs(matrix, result) { - result[0] = Math.abs(matrix[0]); - result[1] = Math.abs(matrix[1]); - result[2] = Math.abs(matrix[2]); - result[3] = Math.abs(matrix[3]); - result[4] = Math.abs(matrix[4]); - result[5] = Math.abs(matrix[5]); - result[6] = Math.abs(matrix[6]); - result[7] = Math.abs(matrix[7]); - result[8] = Math.abs(matrix[8]); - return result; - } - static determinant(matrix) { - const m11 = matrix[0]; - const m21 = matrix[3]; - const m31 = matrix[6]; - const m12 = matrix[1]; - const m22 = matrix[4]; - const m32 = matrix[7]; - const m13 = matrix[2]; - const m23 = matrix[5]; - const m33 = matrix[8]; - return m11 * (m22 * m33 - m23 * m32) + m12 * (m23 * m31 - m21 * m33) + m13 * (m21 * m32 - m22 * m31); - } - static inverse(matrix, result) { - const m11 = matrix[0]; - const m21 = matrix[1]; - const m31 = matrix[2]; - const m12 = matrix[3]; - const m22 = matrix[4]; - const m32 = matrix[5]; - const m13 = matrix[6]; - const m23 = matrix[7]; - const m33 = matrix[8]; - const determinant = Matrix3.determinant(matrix); - // >>includeStart('debug', pragmas.debug); - if (Math.abs(determinant) <= GMath.EPSILON15) { - throw new Error("matrix is not invertible"); - } - // >>includeEnd('debug'); - result[0] = m22 * m33 - m23 * m32; - result[1] = m23 * m31 - m21 * m33; - result[2] = m21 * m32 - m22 * m31; - result[3] = m13 * m32 - m12 * m33; - result[4] = m11 * m33 - m13 * m31; - result[5] = m12 * m31 - m11 * m32; - result[6] = m12 * m23 - m13 * m22; - result[7] = m13 * m21 - m11 * m23; - result[8] = m11 * m22 - m12 * m21; - const scale = 1.0 / determinant; - return Matrix3.multiplyByScalar(result, scale, result); - } - static inverseTranspose(matrix, result) { - return Matrix3.inverse(Matrix3.transpose(matrix, scratchTransposeMatrix$1), result); - } - static equals(left, right) { - return ( - left === right || - (defined(left) && - defined(right) && - left[0] === right[0] && - left[1] === right[1] && - left[2] === right[2] && - left[3] === right[3] && - left[4] === right[4] && - left[5] === right[5] && - left[6] === right[6] && - left[7] === right[7] && - left[8] === right[8]) - ); - } - static equalsEpsilon(left, right, epsilon = 0) { - epsilon = defaultValue(epsilon, 0); - return ( - left === right || - (defined(left) && - defined(right) && - Math.abs(left[0] - right[0]) <= epsilon && - Math.abs(left[1] - right[1]) <= epsilon && - Math.abs(left[2] - right[2]) <= epsilon && - Math.abs(left[3] - right[3]) <= epsilon && - Math.abs(left[4] - right[4]) <= epsilon && - Math.abs(left[5] - right[5]) <= epsilon && - Math.abs(left[6] - right[6]) <= epsilon && - Math.abs(left[7] - right[7]) <= epsilon && - Math.abs(left[8] - right[8]) <= epsilon) - ); - } - clone(result) { - return Matrix3.clone(this, result); - } - equals(right) { - return Matrix3.equals(this, right); - } - /** - * @private - */ - equalsArray(matrix, array, offset) { - return ( - matrix[0] === array[offset] && - matrix[1] === array[offset + 1] && - matrix[2] === array[offset + 2] && - matrix[3] === array[offset + 3] && - matrix[4] === array[offset + 4] && - matrix[5] === array[offset + 5] && - matrix[6] === array[offset + 6] && - matrix[7] === array[offset + 7] && - matrix[8] === array[offset + 8] - ); - } - /** - * Compares this matrix to the provided matrix componentwise and returns - * true if they are within the provided epsilon, - * false otherwise. - * - * @param {Matrix3} [right] The right hand side matrix. - * @param {Number} [epsilon=0] The epsilon to use for equality testing. - * @returns {Boolean} true if they are within the provided epsilon, false otherwise. - */ - equalsEpsilon(right, epsilon) { - return Matrix3.equalsEpsilon(this, right, epsilon); - } - toString() { - return ( - `(${this[0]}, ${this[3]}, ${this[6]})\n` + - `(${this[1]}, ${this[4]}, ${this[7]})\n` + - `(${this[2]}, ${this[5]}, ${this[8]})` - ); - } -} -Matrix3.IDENTITY = Object.freeze(new Matrix3(1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0)); -Matrix3.ZERO = Object.freeze(new Matrix3(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)); -const scaleScratch1$2 = new Vector3(); -new Vector3(); -const scratchColumn$2 = new Vector3(); -const scaleScratch3$2 = new Vector3(); -const scaleScratch4$2 = new Vector3(); -const scaleScratch5$2 = new Vector3(); -const scratchTransposeMatrix$1 = new Matrix3(); - -class Vector4 { - constructor(x = 0, y = 0, z = 0, w = 0) { - this.x = x; - this.y = y; - this.z = z; - this.w = w; - } - set(x, y, z, w) { - this.x = x; - this.y = y; - this.z = z; - this.w = w; - } - toArray() { - return [this.x, this.y, this.z, this.w]; - } - clone(result) { - return Vector4.clone(this, result); - } - equals(right) { - return Vector4.equals(this, right); - } - equalsEpsilon(right, relativeEpsilon = 0, absoluteEpsilon = 0) { - return Vector4.equalsEpsilon(this, right, relativeEpsilon, absoluteEpsilon); - } - toString() { - return `(${this.x}, ${this.y}, ${this.z}, ${this.w})`; - } - fromBufferAttribute(attribute, index) { - this.x = attribute.getX(index); - this.y = attribute.getY(index); - this.z = attribute.getZ(index); - this.w = attribute.getW(index); - return this; - } - static fromElements(x, y, z, w, result) { - if (!defined(result)) { - return new Vector4(x, y, z, w); - } - result.x = x; - result.y = y; - result.z = z; - result.w = w; - return result; - } - static clone(cartesian, result) { - if (!defined(cartesian)) { - return undefined; - } - if (!defined(result)) { - return new Vector4(cartesian.x, cartesian.y, cartesian.z, cartesian.w); - } - result.x = cartesian.x; - result.y = cartesian.y; - result.z = cartesian.z; - result.w = cartesian.w; - return result; - } - static maximumComponent(cartesian) { - return Math.max(cartesian.x, cartesian.y, cartesian.z, cartesian.w); - } - static minimumComponent(cartesian) { - return Math.min(cartesian.x, cartesian.y, cartesian.z, cartesian.w); - } - static minimumByComponent(first, second, result) { - result.x = Math.min(first.x, second.x); - result.y = Math.min(first.y, second.y); - result.z = Math.min(first.z, second.z); - result.w = Math.min(first.w, second.w); - return result; - } - static maximumByComponent(first, second, result) { - result.x = Math.max(first.x, second.x); - result.y = Math.max(first.y, second.y); - result.z = Math.max(first.z, second.z); - result.w = Math.max(first.w, second.w); - return result; - } - static clamp(value, min, max, result) { - const x = GMath.clamp(value.x, min.x, max.x); - const y = GMath.clamp(value.y, min.y, max.y); - const z = GMath.clamp(value.z, min.z, max.z); - const w = GMath.clamp(value.w, min.w, max.w); - result.x = x; - result.y = y; - result.z = z; - result.w = w; - return result; - } - static magnitudeSquared(cartesian) { - return ( - cartesian.x * cartesian.x + - cartesian.y * cartesian.y + - cartesian.z * cartesian.z + - cartesian.w * cartesian.w - ); - } - static magnitude(cartesian) { - return Math.sqrt(Vector4.magnitudeSquared(cartesian)); - } - static distance(left, right) { - Vector4.subtract(left, right, distanceScratch); - return Vector4.magnitude(distanceScratch); - } - static distanceSquared(left, right) { - Vector4.subtract(left, right, distanceScratch); - return Vector4.magnitudeSquared(distanceScratch); - } - static normalize(cartesian, result) { - const magnitude = Vector4.magnitude(cartesian); - result.x = cartesian.x / magnitude; - result.y = cartesian.y / magnitude; - result.z = cartesian.z / magnitude; - result.w = cartesian.w / magnitude; - // >>includeStart('debug', pragmas.debug); - if (isNaN(result.x) || isNaN(result.y) || isNaN(result.z) || isNaN(result.w)) { - throw new Error("normalized result is not a number"); - } - // >>includeEnd('debug'); - return result; - } - static dot(left, right) { - return left.x * right.x + left.y * right.y + left.z * right.z + left.w * right.w; - } - static multiplyComponents(left, right, result) { - result.x = left.x * right.x; - result.y = left.y * right.y; - result.z = left.z * right.z; - result.w = left.w * right.w; - return result; - } - static divideComponents(left, right, result) { - result.x = left.x / right.x; - result.y = left.y / right.y; - result.z = left.z / right.z; - result.w = left.w / right.w; - return result; - } - static add(left, right, result) { - result.x = left.x + right.x; - result.y = left.y + right.y; - result.z = left.z + right.z; - result.w = left.w + right.w; - return result; - } - static subtract(left, right, result) { - result.x = left.x - right.x; - result.y = left.y - right.y; - result.z = left.z - right.z; - result.w = left.w - right.w; - return result; - } - static multiplyByScalar(cartesian, scalar, result) { - result.x = cartesian.x * scalar; - result.y = cartesian.y * scalar; - result.z = cartesian.z * scalar; - result.w = cartesian.w * scalar; - return result; - } - static divideByScalar(cartesian, scalar, result) { - result.x = cartesian.x / scalar; - result.y = cartesian.y / scalar; - result.z = cartesian.z / scalar; - result.w = cartesian.w / scalar; - return result; - } - static negate(cartesian, result) { - result.x = -cartesian.x; - result.y = -cartesian.y; - result.z = -cartesian.z; - result.w = -cartesian.w; - return result; - } - static abs(cartesian, result) { - result.x = Math.abs(cartesian.x); - result.y = Math.abs(cartesian.y); - result.z = Math.abs(cartesian.z); - result.w = Math.abs(cartesian.w); - return result; - } - static lerp(start, end, t, result) { - Vector4.multiplyByScalar(end, t, lerpScratch$1); - result = Vector4.multiplyByScalar(start, 1.0 - t, result); - return Vector4.add(lerpScratch$1, result, result); - } - static equals(left, right) { - return ( - left === right || - (defined(left) && - defined(right) && - left.x === right.x && - left.y === right.y && - left.z === right.z && - left.w === right.w) - ); - } - static equalsArray(cartesian, array, offset) { - return ( - cartesian.x === array[offset] && - cartesian.y === array[offset + 1] && - cartesian.z === array[offset + 2] && - cartesian.w === array[offset + 3] - ); - } - static equalsEpsilon(left, right, relativeEpsilon = 0, absoluteEpsilon = 0) { - return ( - left === right || - (defined(left) && - defined(right) && - GMath.equalsEpsilon(left.x, right.x, relativeEpsilon, absoluteEpsilon) && - GMath.equalsEpsilon(left.y, right.y, relativeEpsilon, absoluteEpsilon) && - GMath.equalsEpsilon(left.z, right.z, relativeEpsilon, absoluteEpsilon) && - GMath.equalsEpsilon(left.w, right.w, relativeEpsilon, absoluteEpsilon)) - ); - } -} -Vector4.ZERO = Object.freeze(new Vector4(0.0, 0.0, 0.0, 0.0)); -Vector4.ONE = Object.freeze(new Vector4(1.0, 1.0, 1.0, 1.0)); -Vector4.UNIT_X = Object.freeze(new Vector4(1.0, 0.0, 0.0, 0.0)); -Vector4.UNIT_Y = Object.freeze(new Vector4(0.0, 1.0, 0.0, 0.0)); -Vector4.UNIT_Z = Object.freeze(new Vector4(0.0, 0.0, 1.0, 0.0)); -Vector4.UNIT_W = Object.freeze(new Vector4(0.0, 0.0, 0.0, 1.0)); -// scratchU8Array and scratchF32Array are views into the same buffer -const scratchF32Array = new Float32Array(1); -new Uint8Array(scratchF32Array.buffer); -const testU32 = new Uint32Array([0x11223344]); -const testU8 = new Uint8Array(testU32.buffer); -testU8[0] === 0x44; -const distanceScratch = new Vector4(); -const lerpScratch$1 = new Vector4(); -new Vector4(); - -class Matrix4 { - /** - * A 4x4 matrix, indexable as a column-major order array. - * @param {Number} [column0Row0=0.0] The value for column 0, row 0. - * @param {Number} [column1Row0=0.0] The value for column 1, row 0. - * @param {Number} [column2Row0=0.0] The value for column 2, row 0. - * @param {Number} [column3Row0=0.0] The value for column 3, row 0. - * @param {Number} [column0Row1=0.0] The value for column 0, row 1. - * @param {Number} [column1Row1=0.0] The value for column 1, row 1. - * @param {Number} [column2Row1=0.0] The value for column 2, row 1. - * @param {Number} [column3Row1=0.0] The value for column 3, row 1. - * @param {Number} [column0Row2=0.0] The value for column 0, row 2. - * @param {Number} [column1Row2=0.0] The value for column 1, row 2. - * @param {Number} [column2Row2=0.0] The value for column 2, row 2. - * @param {Number} [column3Row2=0.0] The value for column 3, row 2. - * @param {Number} [column0Row3=0.0] The value for column 0, row 3. - * @param {Number} [column1Row3=0.0] The value for column 1, row 3. - * @param {Number} [column2Row3=0.0] The value for column 2, row 3. - * @param {Number} [column3Row3=0.0] The value for column 3, row 3. - */ - constructor( - column0Row0 = 0, - column1Row0 = 0, - column2Row0 = 0, - column3Row0 = 0, - column0Row1 = 0, - column1Row1 = 0, - column2Row1 = 0, - column3Row1 = 0, - column0Row2 = 0, - column1Row2 = 0, - column2Row2 = 0, - column3Row2 = 0, - column0Row3 = 0, - column1Row3 = 0, - column2Row3 = 0, - column3Row3 = 0 - ) { - this[0] = column0Row0; - this[1] = column0Row1; - this[2] = column0Row2; - this[3] = column0Row3; - this[4] = column1Row0; - this[5] = column1Row1; - this[6] = column1Row2; - this[7] = column1Row3; - this[8] = column2Row0; - this[9] = column2Row1; - this[10] = column2Row2; - this[11] = column2Row3; - this[12] = column3Row0; - this[13] = column3Row1; - this[14] = column3Row2; - this[15] = column3Row3; - } - // ???? - clone(result = new Matrix4()) { - return Matrix4.clone(this, result); - } - set(mat4) { - Matrix4.clone(mat4, this); - return this; - } - equals(right) { - return Matrix4.equals(this, right); - } - compose(position, quaternion, scale) { - const te = this; - const x = quaternion.x, - y = quaternion.y, - z = quaternion.z, - w = quaternion.w; - const x2 = x + x, - y2 = y + y, - z2 = z + z; - const xx = x * x2, - xy = x * y2, - xz = x * z2; - const yy = y * y2, - yz = y * z2, - zz = z * z2; - const wx = w * x2, - wy = w * y2, - wz = w * z2; - const sx = scale.x, - sy = scale.y, - sz = scale.z; - te[0] = (1 - (yy + zz)) * sx; - te[1] = (xy + wz) * sx; - te[2] = (xz - wy) * sx; - te[3] = 0; - te[4] = (xy - wz) * sy; - te[5] = (1 - (xx + zz)) * sy; - te[6] = (yz + wx) * sy; - te[7] = 0; - te[8] = (xz + wy) * sz; - te[9] = (yz - wx) * sz; - te[10] = (1 - (xx + yy)) * sz; - te[11] = 0; - te[12] = position.x; - te[13] = position.y; - te[14] = position.z; - te[15] = 1; - return this; - } - equalsEpsilon(right, epsilon = 0) { - return Matrix4.equalsEpsilon(this, right, epsilon); - } - lookAt(eye, target, up) { - const matrix = this; - Vector3.subtract(eye, target, z); - if (z.length() === 0) { - // eye and target are in the same position - z.z = 1; - } - z.normalize(); - Vector3.cross(up, z, x); - if (x.length() === 0) { - // up and z are parallel - if (Math.abs(up.z) === 1) { - z.x += 0.0001; - } else { - z.z += 0.0001; - } - z.normalize(); - Vector3.cross(up, z, x); - } - x.normalize(); - Vector3.cross(z, x, y); - matrix[0] = x.x; - matrix[4] = y.x; - matrix[8] = z.x; - matrix[1] = x.y; - matrix[5] = y.y; - matrix[9] = z.y; - matrix[2] = x.z; - matrix[6] = y.z; - matrix[10] = z.z; - return this; - } - toString() { - return ( - `(${this[0]}, ${this[4]}, ${this[8]}, ${this[12]})\n` + - `(${this[1]}, ${this[5]}, ${this[9]}, ${this[13]})\n` + - `(${this[2]}, ${this[6]}, ${this[10]}, ${this[14]})\n` + - `(${this[3]}, ${this[7]}, ${this[11]}, ${this[15]})` - ); - } - static clone(matrix, result) { - if (!defined(matrix)) { - return undefined; - } - if (!defined(result)) { - return new Matrix4( - matrix[0], - matrix[4], - matrix[8], - matrix[12], - matrix[1], - matrix[5], - matrix[9], - matrix[13], - matrix[2], - matrix[6], - matrix[10], - matrix[14], - matrix[3], - matrix[7], - matrix[11], - matrix[15] - ); - } - result[0] = matrix[0]; - result[1] = matrix[1]; - result[2] = matrix[2]; - result[3] = matrix[3]; - result[4] = matrix[4]; - result[5] = matrix[5]; - result[6] = matrix[6]; - result[7] = matrix[7]; - result[8] = matrix[8]; - result[9] = matrix[9]; - result[10] = matrix[10]; - result[11] = matrix[11]; - result[12] = matrix[12]; - result[13] = matrix[13]; - result[14] = matrix[14]; - result[15] = matrix[15]; - return result; - } - static fromColumnMajorArray(values, result) { - return Matrix4.clone(values, result); - } - static fromRowMajorArray(values, result) { - if (!defined(result)) { - return new Matrix4( - values[0], - values[1], - values[2], - values[3], - values[4], - values[5], - values[6], - values[7], - values[8], - values[9], - values[10], - values[11], - values[12], - values[13], - values[14], - values[15] - ); - } - result[0] = values[0]; - result[1] = values[4]; - result[2] = values[8]; - result[3] = values[12]; - result[4] = values[1]; - result[5] = values[5]; - result[6] = values[9]; - result[7] = values[13]; - result[8] = values[2]; - result[9] = values[6]; - result[10] = values[10]; - result[11] = values[14]; - result[12] = values[3]; - result[13] = values[7]; - result[14] = values[11]; - result[15] = values[15]; - return result; - } - static fromRotationTranslation(rotation, translation, result) { - translation = defaultValue(translation, Vector3.ZERO); - if (!defined(result)) { - return new Matrix4( - rotation[0], - rotation[3], - rotation[6], - translation.x, - rotation[1], - rotation[4], - rotation[7], - translation.y, - rotation[2], - rotation[5], - rotation[8], - translation.z, - 0.0, - 0.0, - 0.0, - 1.0 - ); - } - result[0] = rotation[0]; - result[1] = rotation[1]; - result[2] = rotation[2]; - result[3] = 0.0; - result[4] = rotation[3]; - result[5] = rotation[4]; - result[6] = rotation[5]; - result[7] = 0.0; - result[8] = rotation[6]; - result[9] = rotation[7]; - result[10] = rotation[8]; - result[11] = 0.0; - result[12] = translation.x; - result[13] = translation.y; - result[14] = translation.z; - result[15] = 1.0; - return result; - } - static fromTranslationQuaternionRotationScale(translation, rotation, scale, result) { - if (!defined(result)) { - result = new Matrix4(); - } - const scaleX = scale.x; - const scaleY = scale.y; - const scaleZ = scale.z; - const x2 = rotation.x * rotation.x; - const xy = rotation.x * rotation.y; - const xz = rotation.x * rotation.z; - const xw = rotation.x * rotation.w; - const y2 = rotation.y * rotation.y; - const yz = rotation.y * rotation.z; - const yw = rotation.y * rotation.w; - const z2 = rotation.z * rotation.z; - const zw = rotation.z * rotation.w; - const w2 = rotation.w * rotation.w; - const m00 = x2 - y2 - z2 + w2; - const m01 = 2.0 * (xy - zw); - const m02 = 2.0 * (xz + yw); - const m10 = 2.0 * (xy + zw); - const m11 = -x2 + y2 - z2 + w2; - const m12 = 2.0 * (yz - xw); - const m20 = 2.0 * (xz - yw); - const m21 = 2.0 * (yz + xw); - const m22 = -x2 - y2 + z2 + w2; - result[0] = m00 * scaleX; - result[1] = m10 * scaleX; - result[2] = m20 * scaleX; - result[3] = 0.0; - result[4] = m01 * scaleY; - result[5] = m11 * scaleY; - result[6] = m21 * scaleY; - result[7] = 0.0; - result[8] = m02 * scaleZ; - result[9] = m12 * scaleZ; - result[10] = m22 * scaleZ; - result[11] = 0.0; - result[12] = translation.x; - result[13] = translation.y; - result[14] = translation.z; - result[15] = 1.0; - return result; - } - static fromTranslationRotationScale(translationRotationScale, result) { - return Matrix4.fromTranslationQuaternionRotationScale( - translationRotationScale.translation, - translationRotationScale.rotation, - translationRotationScale.scale, - result - ); - } - static fromTranslation(translation, result) { - return Matrix4.fromRotationTranslation(Matrix3.IDENTITY, translation, result); - } - static fromScale(scale, result) { - if (!defined(result)) { - return new Matrix4( - scale.x, - 0.0, - 0.0, - 0.0, - 0.0, - scale.y, - 0.0, - 0.0, - 0.0, - 0.0, - scale.z, - 0.0, - 0.0, - 0.0, - 0.0, - 1.0 - ); - } - result[0] = scale.x; - result[1] = 0.0; - result[2] = 0.0; - result[3] = 0.0; - result[4] = 0.0; - result[5] = scale.y; - result[6] = 0.0; - result[7] = 0.0; - result[8] = 0.0; - result[9] = 0.0; - result[10] = scale.z; - result[11] = 0.0; - result[12] = 0.0; - result[13] = 0.0; - result[14] = 0.0; - result[15] = 1.0; - return result; - } - static fromRotation(rotation, result) { - if (!defined(result)) { - result = new Matrix4(); - } - result[0] = rotation[0]; - result[1] = rotation[1]; - result[2] = rotation[2]; - result[3] = 0.0; - result[4] = rotation[3]; - result[5] = rotation[4]; - result[6] = rotation[5]; - result[7] = 0.0; - result[8] = rotation[6]; - result[9] = rotation[7]; - result[10] = rotation[8]; - result[11] = 0.0; - result[12] = 0.0; - result[13] = 0.0; - result[14] = 0.0; - result[15] = 1.0; - return result; - } - static makePerspective(left, right, top, bottom, near, far) { - // from three.js - const matrix = new Matrix4(); - const x = (2 * near) / (right - left); - const y = (2 * near) / (top - bottom); - const a = (right + left) / (right - left); - const b = (top + bottom) / (top - bottom); - const c = -far / (far - near); - const d = (-far * near) / (far - near); - matrix[0] = x; - matrix[4] = 0; - matrix[8] = a; - matrix[12] = 0; - matrix[1] = 0; - matrix[5] = y; - matrix[9] = b; - matrix[13] = 0; - matrix[2] = 0; - matrix[6] = 0; - matrix[10] = c; - matrix[14] = d; - matrix[3] = 0; - matrix[7] = 0; - matrix[11] = -1; - matrix[15] = 0; - return matrix; - } - static makeOrthographic(left, right, top, bottom, near, far) { - const matrix = new Matrix4(); - const w = 1.0 / (right - left); - const h = 1.0 / (top - bottom); - const p = 1.0 / (far - near); - const x = (right + left) * w; - const y = (top + bottom) * h; - const z = near * p; - matrix[0] = 2 * w; - matrix[4] = 0; - matrix[8] = 0; - matrix[12] = -x; - matrix[1] = 0; - matrix[5] = 2 * h; - matrix[9] = 0; - matrix[13] = -y; - matrix[2] = 0; - matrix[6] = 0; - matrix[10] = -1 * p; - matrix[14] = -z; - matrix[3] = 0; - matrix[7] = 0; - matrix[11] = 0; - matrix[15] = 1; - return matrix; - } - toArray() { - const result = []; - Matrix4.toArray(this, result); - return result; - } - /** - * Computes an Array from the provided Matrix4 instance. - * The array will be in column-major order. - * @example - * //create an array from an instance of Matrix4 - * // m = [10.0, 14.0, 18.0, 22.0] - * // [11.0, 15.0, 19.0, 23.0] - * // [12.0, 16.0, 20.0, 24.0] - * // [13.0, 17.0, 21.0, 25.0] - * const a = Matrix4.toArray(m); - * - * // m remains the same - * //creates a = [10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0] - */ - static toArray(matrix, result) { - if (!defined(result)) { - return [ - matrix[0], - matrix[1], - matrix[2], - matrix[3], - matrix[4], - matrix[5], - matrix[6], - matrix[7], - matrix[8], - matrix[9], - matrix[10], - matrix[11], - matrix[12], - matrix[13], - matrix[14], - matrix[15] - ]; - } - result[0] = matrix[0]; - result[1] = matrix[1]; - result[2] = matrix[2]; - result[3] = matrix[3]; - result[4] = matrix[4]; - result[5] = matrix[5]; - result[6] = matrix[6]; - result[7] = matrix[7]; - result[8] = matrix[8]; - result[9] = matrix[9]; - result[10] = matrix[10]; - result[11] = matrix[11]; - result[12] = matrix[12]; - result[13] = matrix[13]; - result[14] = matrix[14]; - result[15] = matrix[15]; - return result; - } - static getElementIndex(column, row) { - return column * 4 + row; - } - static getColumn(matrix, index, result) { - const startIndex = index * 4; - const x = matrix[startIndex]; - const y = matrix[startIndex + 1]; - const z = matrix[startIndex + 2]; - const w = matrix[startIndex + 3]; - result.x = x; - result.y = y; - result.z = z; - result.w = w; - return result; - } - static setColumn(matrix, index, cartesian, result) { - result = Matrix4.clone(matrix, result); - const startIndex = index * 4; - result[startIndex] = cartesian.x; - result[startIndex + 1] = cartesian.y; - result[startIndex + 2] = cartesian.z; - result[startIndex + 3] = cartesian.w; - return result; - } - static getRow(matrix, index, result) { - const x = matrix[index]; - const y = matrix[index + 4]; - const z = matrix[index + 8]; - const w = matrix[index + 12]; - result.x = x; - result.y = y; - result.z = z; - result.w = w; - return result; - } - static setRow(matrix, index, cartesian, result) { - result = Matrix4.clone(matrix, result); - result[index] = cartesian.x; - result[index + 4] = cartesian.y; - result[index + 8] = cartesian.z; - result[index + 12] = cartesian.w; - return result; - } - static setTranslation(matrix, translation, result) { - result[0] = matrix[0]; - result[1] = matrix[1]; - result[2] = matrix[2]; - result[3] = matrix[3]; - result[4] = matrix[4]; - result[5] = matrix[5]; - result[6] = matrix[6]; - result[7] = matrix[7]; - result[8] = matrix[8]; - result[9] = matrix[9]; - result[10] = matrix[10]; - result[11] = matrix[11]; - result[12] = translation.x; - result[13] = translation.y; - result[14] = translation.z; - result[15] = matrix[15]; - return result; - } - static setScale(matrix, scale, result) { - const existingScale = Matrix4.getScale(matrix, scaleScratch1$1); - const scaleRatioX = scale.x / existingScale.x; - const scaleRatioY = scale.y / existingScale.y; - const scaleRatioZ = scale.z / existingScale.z; - result[0] = matrix[0] * scaleRatioX; - result[1] = matrix[1] * scaleRatioX; - result[2] = matrix[2] * scaleRatioX; - result[3] = matrix[3]; - result[4] = matrix[4] * scaleRatioY; - result[5] = matrix[5] * scaleRatioY; - result[6] = matrix[6] * scaleRatioY; - result[7] = matrix[7]; - result[8] = matrix[8] * scaleRatioZ; - result[9] = matrix[9] * scaleRatioZ; - result[10] = matrix[10] * scaleRatioZ; - result[11] = matrix[11]; - result[12] = matrix[12]; - result[13] = matrix[13]; - result[14] = matrix[14]; - result[15] = matrix[15]; - return result; - } - static getScale(matrix, result) { - result.x = Vector3.magnitude(Vector3.fromElements(matrix[0], matrix[1], matrix[2], scratchColumn$1)); - result.y = Vector3.magnitude(Vector3.fromElements(matrix[4], matrix[5], matrix[6], scratchColumn$1)); - result.z = Vector3.magnitude(Vector3.fromElements(matrix[8], matrix[9], matrix[10], scratchColumn$1)); - return result; - } - static getMaximumScale(matrix) { - Matrix4.getScale(matrix, scaleScratch3$1); - return Vector3.maximumComponent(scaleScratch3$1); - } - static setRotation(matrix, rotation, result) { - const scale = Matrix4.getScale(matrix, scaleScratch4$1); - result[0] = rotation[0] * scale.x; - result[1] = rotation[1] * scale.x; - result[2] = rotation[2] * scale.x; - result[3] = matrix[3]; - result[4] = rotation[3] * scale.y; - result[5] = rotation[4] * scale.y; - result[6] = rotation[5] * scale.y; - result[7] = matrix[7]; - result[8] = rotation[6] * scale.z; - result[9] = rotation[7] * scale.z; - result[10] = rotation[8] * scale.z; - result[11] = matrix[11]; - result[12] = matrix[12]; - result[13] = matrix[13]; - result[14] = matrix[14]; - result[15] = matrix[15]; - return result; - } - static getRotation(matrix, result) { - const scale = Matrix4.getScale(matrix, scaleScratch5$1); - const is1 = 1 / scale.x; - const is2 = 1 / scale.y; - const is3 = 1 / scale.z; - const sm11 = matrix[0] * is1; - const sm12 = matrix[1] * is2; - const sm13 = matrix[2] * is3; - const sm21 = matrix[4] * is1; - const sm22 = matrix[5] * is2; - const sm23 = matrix[6] * is3; - const sm31 = matrix[8] * is1; - const sm32 = matrix[9] * is2; - const sm33 = matrix[10] * is3; - const trace = sm11 + sm22 + sm33; - let S = 0; - if (trace > 0) { - S = Math.sqrt(trace + 1.0) * 2; - result.w = 0.25 * S; - result.x = (sm23 - sm32) / S; - result.y = (sm31 - sm13) / S; - result.z = (sm12 - sm21) / S; - } else if (sm11 > sm22 && sm11 > sm33) { - S = Math.sqrt(1.0 + sm11 - sm22 - sm33) * 2; - result.w = (sm23 - sm32) / S; - result.x = 0.25 * S; - result.y = (sm12 + sm21) / S; - result.z = (sm31 + sm13) / S; - } else if (sm22 > sm33) { - S = Math.sqrt(1.0 + sm22 - sm11 - sm33) * 2; - result.w = (sm31 - sm13) / S; - result.x = (sm12 + sm21) / S; - result.y = 0.25 * S; - result.z = (sm23 + sm32) / S; - } else { - S = Math.sqrt(1.0 + sm33 - sm11 - sm22) * 2; - result.w = (sm12 - sm21) / S; - result.x = (sm31 + sm13) / S; - result.y = (sm23 + sm32) / S; - result.z = 0.25 * S; - } - return result; - } - static multiply(left, right, result) { - const left0 = left[0]; - const left1 = left[1]; - const left2 = left[2]; - const left3 = left[3]; - const left4 = left[4]; - const left5 = left[5]; - const left6 = left[6]; - const left7 = left[7]; - const left8 = left[8]; - const left9 = left[9]; - const left10 = left[10]; - const left11 = left[11]; - const left12 = left[12]; - const left13 = left[13]; - const left14 = left[14]; - const left15 = left[15]; - const right0 = right[0]; - const right1 = right[1]; - const right2 = right[2]; - const right3 = right[3]; - const right4 = right[4]; - const right5 = right[5]; - const right6 = right[6]; - const right7 = right[7]; - const right8 = right[8]; - const right9 = right[9]; - const right10 = right[10]; - const right11 = right[11]; - const right12 = right[12]; - const right13 = right[13]; - const right14 = right[14]; - const right15 = right[15]; - const column0Row0 = left0 * right0 + left4 * right1 + left8 * right2 + left12 * right3; - const column0Row1 = left1 * right0 + left5 * right1 + left9 * right2 + left13 * right3; - const column0Row2 = left2 * right0 + left6 * right1 + left10 * right2 + left14 * right3; - const column0Row3 = left3 * right0 + left7 * right1 + left11 * right2 + left15 * right3; - const column1Row0 = left0 * right4 + left4 * right5 + left8 * right6 + left12 * right7; - const column1Row1 = left1 * right4 + left5 * right5 + left9 * right6 + left13 * right7; - const column1Row2 = left2 * right4 + left6 * right5 + left10 * right6 + left14 * right7; - const column1Row3 = left3 * right4 + left7 * right5 + left11 * right6 + left15 * right7; - const column2Row0 = left0 * right8 + left4 * right9 + left8 * right10 + left12 * right11; - const column2Row1 = left1 * right8 + left5 * right9 + left9 * right10 + left13 * right11; - const column2Row2 = left2 * right8 + left6 * right9 + left10 * right10 + left14 * right11; - const column2Row3 = left3 * right8 + left7 * right9 + left11 * right10 + left15 * right11; - const column3Row0 = left0 * right12 + left4 * right13 + left8 * right14 + left12 * right15; - const column3Row1 = left1 * right12 + left5 * right13 + left9 * right14 + left13 * right15; - const column3Row2 = left2 * right12 + left6 * right13 + left10 * right14 + left14 * right15; - const column3Row3 = left3 * right12 + left7 * right13 + left11 * right14 + left15 * right15; - result[0] = column0Row0; - result[1] = column0Row1; - result[2] = column0Row2; - result[3] = column0Row3; - result[4] = column1Row0; - result[5] = column1Row1; - result[6] = column1Row2; - result[7] = column1Row3; - result[8] = column2Row0; - result[9] = column2Row1; - result[10] = column2Row2; - result[11] = column2Row3; - result[12] = column3Row0; - result[13] = column3Row1; - result[14] = column3Row2; - result[15] = column3Row3; - return result; - } - static add(left, right, result) { - result[0] = left[0] + right[0]; - result[1] = left[1] + right[1]; - result[2] = left[2] + right[2]; - result[3] = left[3] + right[3]; - result[4] = left[4] + right[4]; - result[5] = left[5] + right[5]; - result[6] = left[6] + right[6]; - result[7] = left[7] + right[7]; - result[8] = left[8] + right[8]; - result[9] = left[9] + right[9]; - result[10] = left[10] + right[10]; - result[11] = left[11] + right[11]; - result[12] = left[12] + right[12]; - result[13] = left[13] + right[13]; - result[14] = left[14] + right[14]; - result[15] = left[15] + right[15]; - return result; - } - static subtract(left, right, result) { - result[0] = left[0] - right[0]; - result[1] = left[1] - right[1]; - result[2] = left[2] - right[2]; - result[3] = left[3] - right[3]; - result[4] = left[4] - right[4]; - result[5] = left[5] - right[5]; - result[6] = left[6] - right[6]; - result[7] = left[7] - right[7]; - result[8] = left[8] - right[8]; - result[9] = left[9] - right[9]; - result[10] = left[10] - right[10]; - result[11] = left[11] - right[11]; - result[12] = left[12] - right[12]; - result[13] = left[13] - right[13]; - result[14] = left[14] - right[14]; - result[15] = left[15] - right[15]; - return result; - } - static multiplyTransformation(left, right, result) { - const left0 = left[0]; - const left1 = left[1]; - const left2 = left[2]; - const left4 = left[4]; - const left5 = left[5]; - const left6 = left[6]; - const left8 = left[8]; - const left9 = left[9]; - const left10 = left[10]; - const left12 = left[12]; - const left13 = left[13]; - const left14 = left[14]; - const right0 = right[0]; - const right1 = right[1]; - const right2 = right[2]; - const right4 = right[4]; - const right5 = right[5]; - const right6 = right[6]; - const right8 = right[8]; - const right9 = right[9]; - const right10 = right[10]; - const right12 = right[12]; - const right13 = right[13]; - const right14 = right[14]; - const column0Row0 = left0 * right0 + left4 * right1 + left8 * right2; - const column0Row1 = left1 * right0 + left5 * right1 + left9 * right2; - const column0Row2 = left2 * right0 + left6 * right1 + left10 * right2; - const column1Row0 = left0 * right4 + left4 * right5 + left8 * right6; - const column1Row1 = left1 * right4 + left5 * right5 + left9 * right6; - const column1Row2 = left2 * right4 + left6 * right5 + left10 * right6; - const column2Row0 = left0 * right8 + left4 * right9 + left8 * right10; - const column2Row1 = left1 * right8 + left5 * right9 + left9 * right10; - const column2Row2 = left2 * right8 + left6 * right9 + left10 * right10; - const column3Row0 = left0 * right12 + left4 * right13 + left8 * right14 + left12; - const column3Row1 = left1 * right12 + left5 * right13 + left9 * right14 + left13; - const column3Row2 = left2 * right12 + left6 * right13 + left10 * right14 + left14; - result[0] = column0Row0; - result[1] = column0Row1; - result[2] = column0Row2; - result[3] = 0.0; - result[4] = column1Row0; - result[5] = column1Row1; - result[6] = column1Row2; - result[7] = 0.0; - result[8] = column2Row0; - result[9] = column2Row1; - result[10] = column2Row2; - result[11] = 0.0; - result[12] = column3Row0; - result[13] = column3Row1; - result[14] = column3Row2; - result[15] = 1.0; - return result; - } - static multiplyByMatrix3(matrix, rotation, result) { - const left0 = matrix[0]; - const left1 = matrix[1]; - const left2 = matrix[2]; - const left4 = matrix[4]; - const left5 = matrix[5]; - const left6 = matrix[6]; - const left8 = matrix[8]; - const left9 = matrix[9]; - const left10 = matrix[10]; - const right0 = rotation[0]; - const right1 = rotation[1]; - const right2 = rotation[2]; - const right4 = rotation[3]; - const right5 = rotation[4]; - const right6 = rotation[5]; - const right8 = rotation[6]; - const right9 = rotation[7]; - const right10 = rotation[8]; - const column0Row0 = left0 * right0 + left4 * right1 + left8 * right2; - const column0Row1 = left1 * right0 + left5 * right1 + left9 * right2; - const column0Row2 = left2 * right0 + left6 * right1 + left10 * right2; - const column1Row0 = left0 * right4 + left4 * right5 + left8 * right6; - const column1Row1 = left1 * right4 + left5 * right5 + left9 * right6; - const column1Row2 = left2 * right4 + left6 * right5 + left10 * right6; - const column2Row0 = left0 * right8 + left4 * right9 + left8 * right10; - const column2Row1 = left1 * right8 + left5 * right9 + left9 * right10; - const column2Row2 = left2 * right8 + left6 * right9 + left10 * right10; - result[0] = column0Row0; - result[1] = column0Row1; - result[2] = column0Row2; - result[3] = 0.0; - result[4] = column1Row0; - result[5] = column1Row1; - result[6] = column1Row2; - result[7] = 0.0; - result[8] = column2Row0; - result[9] = column2Row1; - result[10] = column2Row2; - result[11] = 0.0; - result[12] = matrix[12]; - result[13] = matrix[13]; - result[14] = matrix[14]; - result[15] = matrix[15]; - return result; - } - static multiplyByTranslation(matrix, translation, result) { - const x = translation.x; - const y = translation.y; - const z = translation.z; - const tx = x * matrix[0] + y * matrix[4] + z * matrix[8] + matrix[12]; - const ty = x * matrix[1] + y * matrix[5] + z * matrix[9] + matrix[13]; - const tz = x * matrix[2] + y * matrix[6] + z * matrix[10] + matrix[14]; - result[0] = matrix[0]; - result[1] = matrix[1]; - result[2] = matrix[2]; - result[3] = matrix[3]; - result[4] = matrix[4]; - result[5] = matrix[5]; - result[6] = matrix[6]; - result[7] = matrix[7]; - result[8] = matrix[8]; - result[9] = matrix[9]; - result[10] = matrix[10]; - result[11] = matrix[11]; - result[12] = tx; - result[13] = ty; - result[14] = tz; - result[15] = matrix[15]; - return result; - } - static multiplyByScale(matrix, scale, result) { - const scaleX = scale.x; - const scaleY = scale.y; - const scaleZ = scale.z; - // Faster than Vector3.equals - if (scaleX === 1.0 && scaleY === 1.0 && scaleZ === 1.0) { - return Matrix4.clone(matrix, result); - } - result[0] = scaleX * matrix[0]; - result[1] = scaleX * matrix[1]; - result[2] = scaleX * matrix[2]; - result[3] = matrix[3]; - result[4] = scaleY * matrix[4]; - result[5] = scaleY * matrix[5]; - result[6] = scaleY * matrix[6]; - result[7] = matrix[7]; - result[8] = scaleZ * matrix[8]; - result[9] = scaleZ * matrix[9]; - result[10] = scaleZ * matrix[10]; - result[11] = matrix[11]; - result[12] = matrix[12]; - result[13] = matrix[13]; - result[14] = matrix[14]; - result[15] = matrix[15]; - return result; - } - static multiplyByUniformScale(matrix, scale, result) { - result[0] = matrix[0] * scale; - result[1] = matrix[1] * scale; - result[2] = matrix[2] * scale; - result[3] = matrix[3]; - result[4] = matrix[4] * scale; - result[5] = matrix[5] * scale; - result[6] = matrix[6] * scale; - result[7] = matrix[7]; - result[8] = matrix[8] * scale; - result[9] = matrix[9] * scale; - result[10] = matrix[10] * scale; - result[11] = matrix[11]; - result[12] = matrix[12]; - result[13] = matrix[13]; - result[14] = matrix[14]; - result[15] = matrix[15]; - return result; - } - static multiplyByVector(matrix, cartesian, result) { - const vX = cartesian.x; - const vY = cartesian.y; - const vZ = cartesian.z; - const vW = cartesian.w; - const x = matrix[0] * vX + matrix[4] * vY + matrix[8] * vZ + matrix[12] * vW; - const y = matrix[1] * vX + matrix[5] * vY + matrix[9] * vZ + matrix[13] * vW; - const z = matrix[2] * vX + matrix[6] * vY + matrix[10] * vZ + matrix[14] * vW; - const w = matrix[3] * vX + matrix[7] * vY + matrix[11] * vZ + matrix[15] * vW; - result.x = x; - result.y = y; - result.z = z; - result.w = w; - return result; - } - static multiplyByPointAsVector(matrix, cartesian, result) { - const vX = cartesian.x; - const vY = cartesian.y; - const vZ = cartesian.z; - const x = matrix[0] * vX + matrix[4] * vY + matrix[8] * vZ; - const y = matrix[1] * vX + matrix[5] * vY + matrix[9] * vZ; - const z = matrix[2] * vX + matrix[6] * vY + matrix[10] * vZ; - result.x = x; - result.y = y; - result.z = z; - return result; - } - static multiplyByPoint(matrix, cartesian, result) { - const vX = cartesian.x; - const vY = cartesian.y; - const vZ = cartesian.z; - const x = matrix[0] * vX + matrix[4] * vY + matrix[8] * vZ + matrix[12]; - const y = matrix[1] * vX + matrix[5] * vY + matrix[9] * vZ + matrix[13]; - const z = matrix[2] * vX + matrix[6] * vY + matrix[10] * vZ + matrix[14]; - result.x = x; - result.y = y; - result.z = z; - return result; - } - static multiplyByScalar(matrix, scalar, result) { - result[0] = matrix[0] * scalar; - result[1] = matrix[1] * scalar; - result[2] = matrix[2] * scalar; - result[3] = matrix[3] * scalar; - result[4] = matrix[4] * scalar; - result[5] = matrix[5] * scalar; - result[6] = matrix[6] * scalar; - result[7] = matrix[7] * scalar; - result[8] = matrix[8] * scalar; - result[9] = matrix[9] * scalar; - result[10] = matrix[10] * scalar; - result[11] = matrix[11] * scalar; - result[12] = matrix[12] * scalar; - result[13] = matrix[13] * scalar; - result[14] = matrix[14] * scalar; - result[15] = matrix[15] * scalar; - return result; - } - static negate(matrix, result) { - result[0] = -matrix[0]; - result[1] = -matrix[1]; - result[2] = -matrix[2]; - result[3] = -matrix[3]; - result[4] = -matrix[4]; - result[5] = -matrix[5]; - result[6] = -matrix[6]; - result[7] = -matrix[7]; - result[8] = -matrix[8]; - result[9] = -matrix[9]; - result[10] = -matrix[10]; - result[11] = -matrix[11]; - result[12] = -matrix[12]; - result[13] = -matrix[13]; - result[14] = -matrix[14]; - result[15] = -matrix[15]; - return result; - } - static transpose(matrix, result) { - const matrix1 = matrix[1]; - const matrix2 = matrix[2]; - const matrix3 = matrix[3]; - const matrix6 = matrix[6]; - const matrix7 = matrix[7]; - const matrix11 = matrix[11]; - result[0] = matrix[0]; - result[1] = matrix[4]; - result[2] = matrix[8]; - result[3] = matrix[12]; - result[4] = matrix1; - result[5] = matrix[5]; - result[6] = matrix[9]; - result[7] = matrix[13]; - result[8] = matrix2; - result[9] = matrix6; - result[10] = matrix[10]; - result[11] = matrix[14]; - result[12] = matrix3; - result[13] = matrix7; - result[14] = matrix11; - result[15] = matrix[15]; - return result; - } - static abs(matrix, result) { - result[0] = Math.abs(matrix[0]); - result[1] = Math.abs(matrix[1]); - result[2] = Math.abs(matrix[2]); - result[3] = Math.abs(matrix[3]); - result[4] = Math.abs(matrix[4]); - result[5] = Math.abs(matrix[5]); - result[6] = Math.abs(matrix[6]); - result[7] = Math.abs(matrix[7]); - result[8] = Math.abs(matrix[8]); - result[9] = Math.abs(matrix[9]); - result[10] = Math.abs(matrix[10]); - result[11] = Math.abs(matrix[11]); - result[12] = Math.abs(matrix[12]); - result[13] = Math.abs(matrix[13]); - result[14] = Math.abs(matrix[14]); - result[15] = Math.abs(matrix[15]); - return result; - } - static equals(left, right) { - // Given that most matrices will be transformation matrices, the elements - // are tested in order such that the test is likely to fail as early - // as possible. I _think_ this is just as friendly to the L1 cache - // as testing in index order. It is certainty faster in practice. - return ( - left === right || - (defined(left) && - defined(right) && - // Translation - left[12] === right[12] && - left[13] === right[13] && - left[14] === right[14] && - // Rotation/scale - left[0] === right[0] && - left[1] === right[1] && - left[2] === right[2] && - left[4] === right[4] && - left[5] === right[5] && - left[6] === right[6] && - left[8] === right[8] && - left[9] === right[9] && - left[10] === right[10] && - // Bottom row - left[3] === right[3] && - left[7] === right[7] && - left[11] === right[11] && - left[15] === right[15]) - ); - } - static equalsEpsilon(left, right, epsilon) { - epsilon = defaultValue(epsilon, 0); - return ( - left === right || - (defined(left) && - defined(right) && - Math.abs(left[0] - right[0]) <= epsilon && - Math.abs(left[1] - right[1]) <= epsilon && - Math.abs(left[2] - right[2]) <= epsilon && - Math.abs(left[3] - right[3]) <= epsilon && - Math.abs(left[4] - right[4]) <= epsilon && - Math.abs(left[5] - right[5]) <= epsilon && - Math.abs(left[6] - right[6]) <= epsilon && - Math.abs(left[7] - right[7]) <= epsilon && - Math.abs(left[8] - right[8]) <= epsilon && - Math.abs(left[9] - right[9]) <= epsilon && - Math.abs(left[10] - right[10]) <= epsilon && - Math.abs(left[11] - right[11]) <= epsilon && - Math.abs(left[12] - right[12]) <= epsilon && - Math.abs(left[13] - right[13]) <= epsilon && - Math.abs(left[14] - right[14]) <= epsilon && - Math.abs(left[15] - right[15]) <= epsilon) - ); - } - static getTranslation(matrix, result) { - result.x = matrix[12]; - result.y = matrix[13]; - result.z = matrix[14]; - return result; - } - static getMatrix3(matrix, result) { - result[0] = matrix[0]; - result[1] = matrix[1]; - result[2] = matrix[2]; - result[3] = matrix[4]; - result[4] = matrix[5]; - result[5] = matrix[6]; - result[6] = matrix[8]; - result[7] = matrix[9]; - result[8] = matrix[10]; - return result; - } - static inverse(matrix, result) { - // - // Ported from: - // ftp://download.intel.com/design/PentiumIII/sml/24504301.pdf - // - const src0 = matrix[0]; - const src1 = matrix[4]; - const src2 = matrix[8]; - const src3 = matrix[12]; - const src4 = matrix[1]; - const src5 = matrix[5]; - const src6 = matrix[9]; - const src7 = matrix[13]; - const src8 = matrix[2]; - const src9 = matrix[6]; - const src10 = matrix[10]; - const src11 = matrix[14]; - const src12 = matrix[3]; - const src13 = matrix[7]; - const src14 = matrix[11]; - const src15 = matrix[15]; - // calculate pairs for first 8 elements (cofactors) - let tmp0 = src10 * src15; - let tmp1 = src11 * src14; - let tmp2 = src9 * src15; - let tmp3 = src11 * src13; - let tmp4 = src9 * src14; - let tmp5 = src10 * src13; - let tmp6 = src8 * src15; - let tmp7 = src11 * src12; - let tmp8 = src8 * src14; - let tmp9 = src10 * src12; - let tmp10 = src8 * src13; - let tmp11 = src9 * src12; - // calculate first 8 elements (cofactors) - const dst0 = tmp0 * src5 + tmp3 * src6 + tmp4 * src7 - (tmp1 * src5 + tmp2 * src6 + tmp5 * src7); - const dst1 = tmp1 * src4 + tmp6 * src6 + tmp9 * src7 - (tmp0 * src4 + tmp7 * src6 + tmp8 * src7); - const dst2 = tmp2 * src4 + tmp7 * src5 + tmp10 * src7 - (tmp3 * src4 + tmp6 * src5 + tmp11 * src7); - const dst3 = tmp5 * src4 + tmp8 * src5 + tmp11 * src6 - (tmp4 * src4 + tmp9 * src5 + tmp10 * src6); - const dst4 = tmp1 * src1 + tmp2 * src2 + tmp5 * src3 - (tmp0 * src1 + tmp3 * src2 + tmp4 * src3); - const dst5 = tmp0 * src0 + tmp7 * src2 + tmp8 * src3 - (tmp1 * src0 + tmp6 * src2 + tmp9 * src3); - const dst6 = tmp3 * src0 + tmp6 * src1 + tmp11 * src3 - (tmp2 * src0 + tmp7 * src1 + tmp10 * src3); - const dst7 = tmp4 * src0 + tmp9 * src1 + tmp10 * src2 - (tmp5 * src0 + tmp8 * src1 + tmp11 * src2); - // calculate pairs for second 8 elements (cofactors) - tmp0 = src2 * src7; - tmp1 = src3 * src6; - tmp2 = src1 * src7; - tmp3 = src3 * src5; - tmp4 = src1 * src6; - tmp5 = src2 * src5; - tmp6 = src0 * src7; - tmp7 = src3 * src4; - tmp8 = src0 * src6; - tmp9 = src2 * src4; - tmp10 = src0 * src5; - tmp11 = src1 * src4; - // calculate second 8 elements (cofactors) - const dst8 = tmp0 * src13 + tmp3 * src14 + tmp4 * src15 - (tmp1 * src13 + tmp2 * src14 + tmp5 * src15); - const dst9 = tmp1 * src12 + tmp6 * src14 + tmp9 * src15 - (tmp0 * src12 + tmp7 * src14 + tmp8 * src15); - const dst10 = tmp2 * src12 + tmp7 * src13 + tmp10 * src15 - (tmp3 * src12 + tmp6 * src13 + tmp11 * src15); - const dst11 = tmp5 * src12 + tmp8 * src13 + tmp11 * src14 - (tmp4 * src12 + tmp9 * src13 + tmp10 * src14); - const dst12 = tmp2 * src10 + tmp5 * src11 + tmp1 * src9 - (tmp4 * src11 + tmp0 * src9 + tmp3 * src10); - const dst13 = tmp8 * src11 + tmp0 * src8 + tmp7 * src10 - (tmp6 * src10 + tmp9 * src11 + tmp1 * src8); - const dst14 = tmp6 * src9 + tmp11 * src11 + tmp3 * src8 - (tmp10 * src11 + tmp2 * src8 + tmp7 * src9); - const dst15 = tmp10 * src10 + tmp4 * src8 + tmp9 * src9 - (tmp8 * src9 + tmp11 * src10 + tmp5 * src8); - // calculate determinant - let det = src0 * dst0 + src1 * dst1 + src2 * dst2 + src3 * dst3; - if (Math.abs(det) < GMath.EPSILON21) { - // Special case for a zero scale matrix that can occur, for example, - // when a model's node has a [0, 0, 0] scale. - if ( - Matrix3.equalsEpsilon( - Matrix4.getMatrix3(matrix, scratchInverseRotation), - scratchMatrix3Zero, - GMath.EPSILON7 - ) && - Vector4.equals(Matrix4.getRow(matrix, 3, scratchBottomRow), scratchExpectedBottomRow) - ) { - result[0] = 0.0; - result[1] = 0.0; - result[2] = 0.0; - result[3] = 0.0; - result[4] = 0.0; - result[5] = 0.0; - result[6] = 0.0; - result[7] = 0.0; - result[8] = 0.0; - result[9] = 0.0; - result[10] = 0.0; - result[11] = 0.0; - result[12] = -matrix[12]; - result[13] = -matrix[13]; - result[14] = -matrix[14]; - result[15] = 1.0; - return result; - } - throw new Error("matrix is not invertible because its determinate is zero."); - } - // calculate matrix inverse - det = 1.0 / det; - result[0] = dst0 * det; - result[1] = dst1 * det; - result[2] = dst2 * det; - result[3] = dst3 * det; - result[4] = dst4 * det; - result[5] = dst5 * det; - result[6] = dst6 * det; - result[7] = dst7 * det; - result[8] = dst8 * det; - result[9] = dst9 * det; - result[10] = dst10 * det; - result[11] = dst11 * det; - result[12] = dst12 * det; - result[13] = dst13 * det; - result[14] = dst14 * det; - result[15] = dst15 * det; - return result; - } - static inverseTransformation(matrix, result) { - // This function is an optimized version of the below 4 lines. - // const rT = Matrix3.transpose(Matrix4.getMatrix3(matrix)); - // const rTN = Matrix3.negate(rT); - // const rTT = Matrix3.multiplyByVector(rTN, Matrix4.getTranslation(matrix)); - // return Matrix4.fromRotationTranslation(rT, rTT, result); - const matrix0 = matrix[0]; - const matrix1 = matrix[1]; - const matrix2 = matrix[2]; - const matrix4 = matrix[4]; - const matrix5 = matrix[5]; - const matrix6 = matrix[6]; - const matrix8 = matrix[8]; - const matrix9 = matrix[9]; - const matrix10 = matrix[10]; - const vX = matrix[12]; - const vY = matrix[13]; - const vZ = matrix[14]; - const x = -matrix0 * vX - matrix1 * vY - matrix2 * vZ; - const y = -matrix4 * vX - matrix5 * vY - matrix6 * vZ; - const z = -matrix8 * vX - matrix9 * vY - matrix10 * vZ; - result[0] = matrix0; - result[1] = matrix4; - result[2] = matrix8; - result[3] = 0.0; - result[4] = matrix1; - result[5] = matrix5; - result[6] = matrix9; - result[7] = 0.0; - result[8] = matrix2; - result[9] = matrix6; - result[10] = matrix10; - result[11] = 0.0; - result[12] = x; - result[13] = y; - result[14] = z; - result[15] = 1.0; - return result; - } - static inverseTranspose(matrix, result) { - return Matrix4.inverse(Matrix4.transpose(matrix, scratchTransposeMatrix), result); - } - /** - * @private - */ - static equalsArray(matrix, array, offset) { - return ( - matrix[0] === array[offset] && - matrix[1] === array[offset + 1] && - matrix[2] === array[offset + 2] && - matrix[3] === array[offset + 3] && - matrix[4] === array[offset + 4] && - matrix[5] === array[offset + 5] && - matrix[6] === array[offset + 6] && - matrix[7] === array[offset + 7] && - matrix[8] === array[offset + 8] && - matrix[9] === array[offset + 9] && - matrix[10] === array[offset + 10] && - matrix[11] === array[offset + 11] && - matrix[12] === array[offset + 12] && - matrix[13] === array[offset + 13] && - matrix[14] === array[offset + 14] && - matrix[15] === array[offset + 15] - ); - } -} -Matrix4.IDENTITY = Object.freeze( - new Matrix4(1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0) -); -Matrix4.ZERO = Object.freeze( - new Matrix4(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0) -); -const scratchTransposeMatrix = new Matrix4(); -new Vector3(); -new Vector3(); -new Vector3(); -const scaleScratch1$1 = new Vector3(); -new Vector3(); -const scratchColumn$1 = new Vector3(); -const scaleScratch3$1 = new Vector3(); -const scaleScratch4$1 = new Vector3(); -const scaleScratch5$1 = new Vector3(); -const scratchInverseRotation = new Matrix3(); -const scratchMatrix3Zero = new Matrix3(); -const scratchBottomRow = new Vector4(); -const scratchExpectedBottomRow = new Vector4(0.0, 0.0, 0.0, 1.0); -const x = new Vector3(); -const y = new Vector3(); -const z = new Vector3(); - -class BoundingSphere { - constructor(center = new Vector3(0, 0, 0), radius = 0) { - this.center = center; - this.radius = radius; - this.originCenter = this.center.clone(); - this.originRadius = radius; - } - /** - * @param {Vector3[]} [positions] An array of points that the bounding sphere will enclose. Each point must have x, y, and z properties. - * @returns {BoundingSphere} The modified result parameter or a new BoundingSphere instance if one was not provided. - */ - static fromPoints(positions) { - const result = new BoundingSphere(); - if (!defined(positions) || positions.length === 0) { - result.center = Vector3.clone(Vector3.ZERO, result.center); - result.radius = 0.0; - return result; - } - const currentPos = Vector3.clone(positions[0], fromPointsCurrentPos); - const xMin = Vector3.clone(currentPos, fromPointsXMin); - const yMin = Vector3.clone(currentPos, fromPointsYMin); - const zMin = Vector3.clone(currentPos, fromPointsZMin); - const xMax = Vector3.clone(currentPos, fromPointsXMax); - const yMax = Vector3.clone(currentPos, fromPointsYMax); - const zMax = Vector3.clone(currentPos, fromPointsZMax); - const numPositions = positions.length; - let i; - for (i = 1; i < numPositions; i++) { - Vector3.clone(positions[i], currentPos); - const x = currentPos.x; - const y = currentPos.y; - const z = currentPos.z; - // Store points containing the the smallest and largest components - if (x < xMin.x) { - Vector3.clone(currentPos, xMin); - } - if (x > xMax.x) { - Vector3.clone(currentPos, xMax); - } - if (y < yMin.y) { - Vector3.clone(currentPos, yMin); - } - if (y > yMax.y) { - Vector3.clone(currentPos, yMax); - } - if (z < zMin.z) { - Vector3.clone(currentPos, zMin); - } - if (z > zMax.z) { - Vector3.clone(currentPos, zMax); - } - } - // Compute x-, y-, and z-spans (Squared distances b/n each component's min. and max.). - const xSpan = Vector3.magnitudeSquared(Vector3.subtract(xMax, xMin, fromPointsScratch)); - const ySpan = Vector3.magnitudeSquared(Vector3.subtract(yMax, yMin, fromPointsScratch)); - const zSpan = Vector3.magnitudeSquared(Vector3.subtract(zMax, zMin, fromPointsScratch)); - // Set the diameter endpoints to the largest span. - let diameter1 = xMin; - let diameter2 = xMax; - let maxSpan = xSpan; - if (ySpan > maxSpan) { - maxSpan = ySpan; - diameter1 = yMin; - diameter2 = yMax; - } - if (zSpan > maxSpan) { - maxSpan = zSpan; - diameter1 = zMin; - diameter2 = zMax; - } - // Calculate the center of the initial sphere found by Ritter's algorithm - const ritterCenter = fromPointsRitterCenter; - ritterCenter.x = (diameter1.x + diameter2.x) * 0.5; - ritterCenter.y = (diameter1.y + diameter2.y) * 0.5; - ritterCenter.z = (diameter1.z + diameter2.z) * 0.5; - // Calculate the radius of the initial sphere found by Ritter's algorithm - let radiusSquared = Vector3.magnitudeSquared(Vector3.subtract(diameter2, ritterCenter, fromPointsScratch)); - let ritterRadius = Math.sqrt(radiusSquared); - // Find the center of the sphere found using the Naive method. - const minBoxPt = fromPointsMinBoxPt; - minBoxPt.x = xMin.x; - minBoxPt.y = yMin.y; - minBoxPt.z = zMin.z; - const maxBoxPt = fromPointsMaxBoxPt; - maxBoxPt.x = xMax.x; - maxBoxPt.y = yMax.y; - maxBoxPt.z = zMax.z; - const naiveCenter = Vector3.midpoint(minBoxPt, maxBoxPt, fromPointsNaiveCenterScratch); - // Begin 2nd pass to find naive radius and modify the ritter sphere. - let naiveRadius = 0; - for (i = 0; i < numPositions; i++) { - Vector3.clone(positions[i], currentPos); - // Find the furthest point from the naive center to calculate the naive radius. - const r = Vector3.magnitude(Vector3.subtract(currentPos, naiveCenter, fromPointsScratch)); - if (r > naiveRadius) { - naiveRadius = r; - } - // Make adjustments to the Ritter Sphere to include all points. - const oldCenterToPointSquared = Vector3.magnitudeSquared( - Vector3.subtract(currentPos, ritterCenter, fromPointsScratch) - ); - if (oldCenterToPointSquared > radiusSquared) { - const oldCenterToPoint = Math.sqrt(oldCenterToPointSquared); - // Calculate new radius to include the point that lies outside - ritterRadius = (ritterRadius + oldCenterToPoint) * 0.5; - radiusSquared = ritterRadius * ritterRadius; - // Calculate center of new Ritter sphere - const oldToNew = oldCenterToPoint - ritterRadius; - ritterCenter.x = (ritterRadius * ritterCenter.x + oldToNew * currentPos.x) / oldCenterToPoint; - ritterCenter.y = (ritterRadius * ritterCenter.y + oldToNew * currentPos.y) / oldCenterToPoint; - ritterCenter.z = (ritterRadius * ritterCenter.z + oldToNew * currentPos.z) / oldCenterToPoint; - } - } - if (ritterRadius < naiveRadius) { - Vector3.clone(ritterCenter, result.center); - result.radius = ritterRadius; - } else { - Vector3.clone(naiveCenter, result.center); - result.radius = naiveRadius; - } - return result; - } - /** - * Computes a tight-fitting bounding sphere enclosing a list of 3D points, where the points are - * stored in a flat array in X, Y, Z, order. The bounding sphere is computed by running two - * algorithms, a naive algorithm and Ritter's algorithm. The smaller of the two spheres is used to - * ensure a tight fit. - * - * @param {Number[]} [positions] An array of points that the bounding sphere will enclose. Each point - * is formed from three elements in the array in the order X, Y, Z. - * @param {Vector3} [center=Vector3.ZERO] The position to which the positions are relative, which need not be the - * origin of the coordinate system. This is useful when the positions are to be used for - * relative-to-center (RTC) rendering. - * @param {Number} [stride=3] The number of array elements per vertex. It must be at least 3, but it may - * be higher. Regardless of the value of this parameter, the X coordinate of the first position - * is at array index 0, the Y coordinate is at array index 1, and the Z coordinate is at array index - * 2. When stride is 3, the X coordinate of the next position then begins at array index 3. If - * the stride is 5, however, two array elements are skipped and the next position begins at array - * index 5. - * @param {BoundingSphere} [result] The object onto which to store the result. - * @returns {BoundingSphere} The modified result parameter or a new BoundingSphere instance if one was not provided. - * - * @example - * // Compute the bounding sphere from 3 positions, each specified relative to a center. - * // In addition to the X, Y, and Z coordinates, the points array contains two additional - * // elements per point which are ignored for the purpose of computing the bounding sphere. - * const center = new Vector3(1.0, 2.0, 3.0); - * const points = [1.0, 2.0, 3.0, 0.1, 0.2, - * 4.0, 5.0, 6.0, 0.1, 0.2, - * 7.0, 8.0, 9.0, 0.1, 0.2]; - * const sphere = BoundingSphere.fromVertices(points, center, 5); - * - */ - static fromVertices(positions, center = Vector3.ZERO, stride = 3) { - const result = new BoundingSphere(); - if (!defined(positions) || positions.length === 0) { - result.center = Vector3.clone(Vector3.ZERO, result.center); - result.radius = 0.0; - return result; - } - center = defaultValue(center, Vector3.ZERO); - stride = defaultValue(stride, 3); - const currentPos = fromPointsCurrentPos; - currentPos.x = positions[0] + center.x; - currentPos.y = positions[1] + center.y; - currentPos.z = positions[2] + center.z; - const xMin = Vector3.clone(currentPos, fromPointsXMin); - const yMin = Vector3.clone(currentPos, fromPointsYMin); - const zMin = Vector3.clone(currentPos, fromPointsZMin); - const xMax = Vector3.clone(currentPos, fromPointsXMax); - const yMax = Vector3.clone(currentPos, fromPointsYMax); - const zMax = Vector3.clone(currentPos, fromPointsZMax); - const numElements = positions.length; - let i; - for (i = 0; i < numElements; i += stride) { - const x = positions[i] + center.x; - const y = positions[i + 1] + center.y; - const z = positions[i + 2] + center.z; - currentPos.x = x; - currentPos.y = y; - currentPos.z = z; - // Store points containing the the smallest and largest components - if (x < xMin.x) { - Vector3.clone(currentPos, xMin); - } - if (x > xMax.x) { - Vector3.clone(currentPos, xMax); - } - if (y < yMin.y) { - Vector3.clone(currentPos, yMin); - } - if (y > yMax.y) { - Vector3.clone(currentPos, yMax); - } - if (z < zMin.z) { - Vector3.clone(currentPos, zMin); - } - if (z > zMax.z) { - Vector3.clone(currentPos, zMax); - } - } - // Compute x-, y-, and z-spans (Squared distances b/n each component's min. and max.). - const xSpan = Vector3.magnitudeSquared(Vector3.subtract(xMax, xMin, fromPointsScratch)); - const ySpan = Vector3.magnitudeSquared(Vector3.subtract(yMax, yMin, fromPointsScratch)); - const zSpan = Vector3.magnitudeSquared(Vector3.subtract(zMax, zMin, fromPointsScratch)); - // Set the diameter endpoints to the largest span. - let diameter1 = xMin; - let diameter2 = xMax; - let maxSpan = xSpan; - if (ySpan > maxSpan) { - maxSpan = ySpan; - diameter1 = yMin; - diameter2 = yMax; - } - if (zSpan > maxSpan) { - maxSpan = zSpan; - diameter1 = zMin; - diameter2 = zMax; - } - // Calculate the center of the initial sphere found by Ritter's algorithm - const ritterCenter = fromPointsRitterCenter; - ritterCenter.x = (diameter1.x + diameter2.x) * 0.5; - ritterCenter.y = (diameter1.y + diameter2.y) * 0.5; - ritterCenter.z = (diameter1.z + diameter2.z) * 0.5; - // Calculate the radius of the initial sphere found by Ritter's algorithm - let radiusSquared = Vector3.magnitudeSquared(Vector3.subtract(diameter2, ritterCenter, fromPointsScratch)); - let ritterRadius = Math.sqrt(radiusSquared); - // Find the center of the sphere found using the Naive method. - const minBoxPt = fromPointsMinBoxPt; - minBoxPt.x = xMin.x; - minBoxPt.y = yMin.y; - minBoxPt.z = zMin.z; - const maxBoxPt = fromPointsMaxBoxPt; - maxBoxPt.x = xMax.x; - maxBoxPt.y = yMax.y; - maxBoxPt.z = zMax.z; - const naiveCenter = Vector3.midpoint(minBoxPt, maxBoxPt, fromPointsNaiveCenterScratch); - // Begin 2nd pass to find naive radius and modify the ritter sphere. - let naiveRadius = 0; - for (i = 0; i < numElements; i += stride) { - currentPos.x = positions[i] + center.x; - currentPos.y = positions[i + 1] + center.y; - currentPos.z = positions[i + 2] + center.z; - // Find the furthest point from the naive center to calculate the naive radius. - const r = Vector3.magnitude(Vector3.subtract(currentPos, naiveCenter, fromPointsScratch)); - if (r > naiveRadius) { - naiveRadius = r; - } - // Make adjustments to the Ritter Sphere to include all points. - const oldCenterToPointSquared = Vector3.magnitudeSquared( - Vector3.subtract(currentPos, ritterCenter, fromPointsScratch) - ); - if (oldCenterToPointSquared > radiusSquared) { - const oldCenterToPoint = Math.sqrt(oldCenterToPointSquared); - // Calculate new radius to include the point that lies outside - ritterRadius = (ritterRadius + oldCenterToPoint) * 0.5; - radiusSquared = ritterRadius * ritterRadius; - // Calculate center of new Ritter sphere - const oldToNew = oldCenterToPoint - ritterRadius; - ritterCenter.x = (ritterRadius * ritterCenter.x + oldToNew * currentPos.x) / oldCenterToPoint; - ritterCenter.y = (ritterRadius * ritterCenter.y + oldToNew * currentPos.y) / oldCenterToPoint; - ritterCenter.z = (ritterRadius * ritterCenter.z + oldToNew * currentPos.z) / oldCenterToPoint; - } - } - if (ritterRadius < naiveRadius) { - Vector3.clone(ritterCenter, result.center); - result.radius = ritterRadius; - } else { - Vector3.clone(naiveCenter, result.center); - result.radius = naiveRadius; - } - return result; - } - intersectPlane(plane) { - const center = this.center; - const radius = this.radius; - const normal = plane.normal; - const distanceToPlane = Vector3.dot(normal, center) + plane.distance; - if (distanceToPlane < -radius) { - // The center point is negative side of the plane normal - return Intersect.OUTSIDE; - } else if (distanceToPlane < radius) { - // The center point is positive side of the plane, but radius extends beyond it; partial overlap - return Intersect.INTERSECTING; - } - return Intersect.INSIDE; - } - update(transform) { - Matrix4.multiplyByPoint(transform, this.originCenter, this.center); - this.radius = Matrix4.getMaximumScale(transform) * this.originRadius; - } - distanceToCamera(camera) { - return Math.max(0.0, Vector3.distance(this.center, camera.position) - this.radius); - } -} -const fromPointsXMin = new Vector3(); -const fromPointsYMin = new Vector3(); -const fromPointsZMin = new Vector3(); -const fromPointsXMax = new Vector3(); -const fromPointsYMax = new Vector3(); -const fromPointsZMax = new Vector3(); -const fromPointsCurrentPos = new Vector3(); -const fromPointsScratch = new Vector3(); -const fromPointsRitterCenter = new Vector3(); -const fromPointsMinBoxPt = new Vector3(); -const fromPointsMaxBoxPt = new Vector3(); -const fromPointsNaiveCenterScratch = new Vector3(); - -class IndexBuffer { - constructor(label, indices) { - this.label = label; - this.indices = indices; - this.indexFormat = indices instanceof Uint32Array ? IndexFormat.Uint32 : IndexFormat.Uint16; - this.dirty = true; - } - setIndices(indices) { - this.indices = indices; - this.indexFormat = indices instanceof Uint32Array ? IndexFormat.Uint32 : IndexFormat.Uint16; - this.dirty = true; - } - bind(device, passEncoder) { - if (this.dirty) { - this.dirty = false; - this.buffer = Buffer.createIndexBuffer( - this.label, - device, - this.indices instanceof Array - ? IndexFormat.Uint16 - ? new Uint16Array(this.indices) - : new Uint32Array(this.indices) - : this.indices - ); - } - passEncoder.setIndexBuffer(this.buffer.gpuBuffer, this.indexFormat); - } - destroy() { - this.buffer.destroy(); - } -} - -class Attributes { - constructor(shaderLocation = 0) { - this._attributes = new Map(); - this.shaderLocation = shaderLocation; - this.offset = 0; - this.interleave = false; - } - get dirty() { - let result = false; - this._attributes.forEach((attribute) => (!result ? (result = attribute.dirty) : false)); - return result; - } - set dirty(value) { - this._attributes.forEach((attribute) => (attribute.dirty = value)); - } - get values() { - return this._attributes; - } - getAttribute(name) { - return this._attributes.get(name); - } - setAttribute(attribute) { - if (attribute.attributeType === AttributeType.attribute) { - this.setNotInterleavedAttribute(attribute); - } else { - this.setInterleavedAttribute(attribute); - } - } - setNotInterleavedAttribute(attribute) { - if (this._attributes.has(attribute.name)) return; - attribute.shaderLocation = this.shaderLocation; - this.shaderLocation += 1; - attribute.offset = this.offset; - this.offset += attribute.attributeByteSize; - this._attributes.set(attribute.name, attribute); - } - setInterleavedAttribute(attribute) { - if (this._attributes.has(attribute.names.toString())) return; - this._attributes.set(attribute.names.toString(), attribute); - } - getGPUAttributesDes() { - const result = []; - this._attributes.forEach((attribute) => { - result.push(...attribute.getGPUAttribute()); - }); - return result; - } - getAtrributeValues() { - const arrayStrides = []; - let arrayStride = 0; - let buffer = undefined; - let values = null; - const arrays = []; - this._attributes.forEach((attribute) => { - if (attribute.attributeType === AttributeType.attribute) { - arrayStrides.push(attribute.itemSize); - arrays.push(attribute.value); - arrayStride += attribute.itemSize; - } else { - if (!this.interleave) this.interleave = true; - values = values ?? attribute.value; - buffer = attribute?.buffer; - arrayStride = attribute.itemSizes.reduce((total, current) => (total += current), 0); - } - }); - const typeArray = this.interleave - ? new Float32Array(values) - : this.interleaveTypedArray(Float32Array, arrayStrides, ...arrays); - return { - arrayStride: arrayStride * typeArray.BYTES_PER_ELEMENT, - typeArray, - buffer - }; - } - destroy() { - this._attributes.forEach((attribute) => { - attribute.destroy(); - }); - } - /** - * Interleave n typed arrays - * @alias module:interleaveTypedArray - * @param {TypedArray} ResultConstructor Returned typed array constructor - * @param {Array} elements Number of elements to group for each typed array - * @param {...TypedArray} arrays Arrays to interleave - * @returns {TypedArray} - */ - interleaveTypedArray(ResultConstructor, elements, ...arrays) { - const totalLength = arrays.reduce((total, arr) => total + arr.length, 0); - const result = new ResultConstructor(totalLength); - const stride = elements.reduce((a, b) => a + b); - for (let i = 0; i < totalLength; i++) { - let offset = 0; - for (let j = 0; j < elements.length; j++) { - for (let k = 0; k < elements[j]; k++) { - result[i * stride + offset] = arrays[j][elements[j] * i + k]; - offset++; - } - } - } - return result; - } -} - -class VertexBuffer { - // - constructor(params) { - const { label, index, locationIndex = 0, stepMode = InputStepMode.Vertex, arrayStride } = params; - this.index = index || 0; - this.attributes = new Attributes(locationIndex); - this.stepMode = stepMode; - this.dirty = true; - this.label = label?.concat(`_${index}_VertexBuffer`); - this.arrayStride = arrayStride; - this.defines = {}; - this.locationIndex = locationIndex; - } - getBufferDes() { - const result = { - arrayStride: this.arrayStride, - stepMode: this.stepMode, - attributes: this.attributes.getGPUAttributesDes() - }; - return result; - } - setAttribute(attribute) { - if (attribute.attributeType === AttributeType.attribute) { - this.setLocationIndex(attribute.name); - } else { - attribute?.names.forEach((name) => this.setLocationIndex(name)); - } - this.attributes.setAttribute(attribute); - this.dirty = true; - } - getAttribute(name) { - return this.attributes.getAttribute(name); - } - containAttribute(name) { - return this.defines[name?.concat("Location")] != undefined ? true : false; - } - bind(device, passEncoder) { - if (this.attributes.dirty) { - this.attributes.dirty = false; - const { arrayStride, typeArray, buffer } = this.attributes.getAtrributeValues(); - if (this.arrayStride === undefined) this.arrayStride = arrayStride; - if (!this.buffer) { - this.buffer = buffer ?? Buffer.createVertexBuffer(this.label, device, typeArray); - } else { - // update Buffer - if (typeArray) this.buffer.setSubData(0, typeArray); - } - } - passEncoder.setVertexBuffer(this.index, this.buffer.gpuBuffer); - } - setLocationIndex(name) { - if (this.defines[name?.concat("Location")] || !name) return; - this.defines[name?.concat("Location")] = this.locationIndex; - this.locationIndex += 1; - } - destroy() { - this.buffer.destroy(); - this.attributes.destroy(); - } -} - -/** - * Merges two objects, copying their properties onto a new combined object. When two objects have the same - * property, the value of the property on the first object is used. If either object is undefined, - * it will be treated as an empty object. - * - * @example - * const object1 = { - * propOne : 1, - * propTwo : { - * value1 : 10 - * } - * } - * const object2 = { - * propTwo : 2 - * } - * const final = combine(object1, object2); - * - * // final === { - * // propOne : 1, - * // propTwo : { - * // value1 : 10 - * // } - * // } - * - * @param {Object} [object1] The first object to merge. - * @param {Object} [object2] The second object to merge. - * @param {Boolean} [deep=false] Perform a recursive merge. - * @returns {Object} The combined object containing all properties from both objects. - * - * @function - */ -function combine(object1, object2, deep) { - deep = defaultValue(deep, false); - const result = {}; - const object1Defined = defined(object1); - const object2Defined = defined(object2); - let property; - let object1Value; - let object2Value; - if (object1Defined) { - for (property in object1) { - if (object1.hasOwnProperty(property)) { - object1Value = object1[property]; - if (object2Defined && deep && typeof object1Value === "object" && object2.hasOwnProperty(property)) { - object2Value = object2[property]; - if (typeof object2Value === "object") { - result[property] = combine(object1Value, object2Value, deep); - } else { - result[property] = object1Value; - } - } else { - result[property] = object1Value; - } - } - } - } - if (object2Defined) { - for (property in object2) { - if (object2.hasOwnProperty(property) && !result.hasOwnProperty(property)) { - object2Value = object2[property]; - result[property] = object2Value; - } - } - } - return result; -} - -class Geometry { - get defines() { - return Object.assign({}, this._defines, ...this.vertexBuffers.map((vertexBuffer) => vertexBuffer.defines)); - } - set defines(value) { - this.definesDirty = true; - this._defines = combine(value, this._defines, false); - } - get currentLocationIndex() { - return this?.vertexBuffers?.reduce( - (max, current) => (current.locationIndex > max ? (max = current.locationIndex) : max), - 0 - ); - } - get vertexBufferCount() { - return this.vertexBuffers.length; - } - constructor(options) { - this.type = options.type || undefined; - this.boundingSphere = undefined; - this.dirty = false; - this.definesDirty = true; - this.defaultVertexBuffer = new VertexBuffer({ - label: this.type, - index: 0 - }); - this.vertexBuffers = [this.defaultVertexBuffer]; - this._defines = {}; - this.normals = []; - this.uvs = []; - this.positions = []; - this.indices = []; - this.tangents = []; - } - getAttribute(name) { - return this.defaultVertexBuffer.getAttribute(name); - } - setAttribute(attribute) { - this.defaultVertexBuffer.setAttribute(attribute); - } - setIndice(indices) { - this.indices = indices; - if (!this.indexBuffer) this.indexBuffer = new IndexBuffer(this.type + "IndexBuffer"); - this.indexBuffer.setIndices(indices); - } - update(frameState) { - // todo - } - computeBoundingSphere(positions, stride = 3) { - this.boundingSphere = BoundingSphere.fromVertices(positions, new Vector3(0, 0, 0), stride); - } - /** - * Calculate mesh tangent. - * @remark need to set positions(with or not with indices), normals, uv before calculation. - * @remark based on http://foundationsofgameenginedev.com/FGED2-sample.pdf - */ - calculateTangents() { - if (!this.normals || !this.uvs) { - throw "Set normal and uv before calculation."; - } - const { indices, positions, normals, uvs } = this; - const tempPos0 = new Vector3(), - tempPos1 = new Vector3(), - tempPos2 = new Vector3(), - tempUV0 = new Vector2(), - tempUV1 = new Vector2(), - tempUV2 = new Vector2(); - const e1 = new Vector3(), - e2 = new Vector3(), - t = new Vector3(), - b = new Vector3(), - temp = new Vector3(); - const vertexCount = this.indices.length; - const triangleCount = indices ? indices.length / 3 : positions.length / 3; - const tangents = new Array(vertexCount); - const biTangents = new Array(vertexCount); - this.tangents = []; - for (let i = 0; i < vertexCount; i++) { - tangents[i] = new Vector4(); - biTangents[i] = new Vector3(); - } - // Calculate tangent and bi-tangent for each triangle and add to all three vertices. - for (let k = 0; k < triangleCount; k++) { - let i0 = 3 * k; - let i1 = 3 * k + 1; - let i2 = 3 * k + 2; - if (indices) { - i0 = indices[i0]; - i1 = indices[i1]; - i2 = indices[i2]; - } - const p0 = tempPos0.set(positions[i0], positions[i0 + 1], positions[i0 + 2]); - const p1 = tempPos1.set(positions[i1], positions[i1 + 1], positions[i1 + 2]); - const p2 = tempPos2.set(positions[i2], positions[i2 + 1], positions[i2 + 2]); - const w0 = tempUV0.set(uvs[i0], uvs[i0 + 1]); - const w1 = tempUV1.set(uvs[i1], uvs[i1 + 1]); - const w2 = tempUV2.set(uvs[i2], uvs[i2 + 1]); - Vector3.subtract(p1, p0, e1); - Vector3.subtract(p2, p0, e2); - const x1 = w1.x - w0.x; - const x2 = w2.x - w0.x; - const y1 = w1.y - w0.y; - const y2 = w2.y - w0.y; - const r = 1.0 / (x1 * y2 - x2 * y1); - Vector3.multiplyByScalar(e1, y2 * r, t); - Vector3.multiplyByScalar(e2, y1 * r, temp); - Vector3.subtract(t, temp, t); - Vector3.multiplyByScalar(e2, x1 * r, b); - Vector3.multiplyByScalar(e1, x2 * r, temp); - Vector3.subtract(b, temp, b); - let tangent = tangents[i0]; - tangent.set(tangent.x + t.x, tangent.y + t.y, tangent.z + t.z, 1.0); - tangent = tangents[i1]; - tangent.set(tangent.x + t.x, tangent.y + t.y, tangent.z + t.z, 1.0); - tangent = tangents[i2]; - tangent.set(tangent.x + t.x, tangent.y + t.y, tangent.z + t.z, 1.0); - biTangents[i0].add(b); - biTangents[i1].add(b); - biTangents[i2].add(b); - } - // Orthonormalize each tangent and calculate the handedness. - for (let i = 0; i < vertexCount; i++) { - const n = new Vector3(normals[3 * i], normals[3 * i + 1], normals[3 * i + 2]); - const b = biTangents[i]; - const tangent = tangents[i]; - t.set(tangent.x, tangent.y, tangent.z); - Vector3.cross(t, b, temp); - const w = Vector3.dot(temp, n) > 0.0 ? 1 : -1; - Vector3.multiplyByScalar(n, Vector3.dot(t, n), temp); - Vector3.subtract(t, temp, t); - Vector3.normalize(t, t); - // t.normalize(); - tangent.set(t.x, t.y, t.z, w); - this.tangents.push(t.x, t.y, t.z, w); - } - // this.setTangents(tangents); - } - destroy() { - this?.indexBuffer.destroy(); - this.defaultVertexBuffer.destroy(); - this.normals = null; - this.uvs = null; - this.positions = null; - this.indices = null; - this.tangents = null; - this.boundingSphere = undefined; - } -} - -class PlaneGeometry extends Geometry { - constructor(width = 10, height = 10) { - super({ - type: "planeGeometry" - }); - this.width = width; - this.height = height; - this.defines = { - HAS_NORMAL: true - }; - this.init(); - } - init() { - // generate pos uv normal so on - const { indices, normals, uvs, vertices } = this.createGrid(this.width, this.height); - this.computeBoundingSphere(vertices); - this.setAttribute(new Float32Attribute("position", vertices, 3)); - this.setAttribute(new Float32Attribute("normal", normals, 3)); - this.setAttribute(new Float32Attribute("uv", uvs, 2)); - this.setIndice(indices); - this.count = indices.length; - } - createGrid(width = 1, height = 1, widthSegments = 1, heightSegments = 1) { - const width_half = width / 2; - const height_half = height / 2; - const gridX = Math.floor(widthSegments); - const gridY = Math.floor(heightSegments); - const gridX1 = gridX + 1; - const gridY1 = gridY + 1; - const segment_width = width / gridX; - const segment_height = height / gridY; - // - const indices = []; - const vertices = []; - const normals = []; - const uvs = []; - for (let iy = 0; iy < gridY1; iy++) { - const y = iy * segment_height - height_half; - for (let ix = 0; ix < gridX1; ix++) { - const x = ix * segment_width - width_half; - vertices.push(x, -y, 0); - normals.push(0, 0, 1); - uvs.push(ix / gridX); - uvs.push(1 - iy / gridY); - } - } - for (let iy = 0; iy < gridY; iy++) { - for (let ix = 0; ix < gridX; ix++) { - const a = ix + gridX1 * iy; - const b = ix + gridX1 * (iy + 1); - const c = ix + 1 + gridX1 * (iy + 1); - const d = ix + 1 + gridX1 * iy; - indices.push(a, b, d); - indices.push(b, c, d); - } - } - return { indices, normals, uvs, vertices }; - } -} - -/** - * A set of 4-dimensional coordinates used to represent rotation in 3-dimensional space. - * @alias Quaternion - * @constructor - * - * @param {Number} [x=0.0] The X component. - * @param {Number} [y=0.0] The Y component. - * @param {Number} [z=0.0] The Z component. - * @param {Number} [w=0.0] The W component. - * - * @see PackableForInterpolation - */ -class Quaternion { - constructor(x = 0, y = 0, z = 0, w = 1) { - this.x = x; - this.y = y; - this.z = z; - this.w = w; - } - set(x, y, z, w) { - this.x = x; - this.y = y; - this.z = z; - this.w = w; - } - normalize() { - const inverseMagnitude = 1.0 / Quaternion.magnitude(this); - const x = this.x * inverseMagnitude; - const y = this.y * inverseMagnitude; - const z = this.z * inverseMagnitude; - const w = this.w * inverseMagnitude; - this.x = x; - this.y = y; - this.z = z; - this.w = w; - return this; - } - invert() { - this.x *= -1; - this.y *= -1; - this.z *= -1; - return this; - } - dot(v) { - return this.x * v.x + this.y * v.y + this.z * v.z + this.w * v.w; - } - setFromUnitVectors(vFrom, vTo) { - // assumes direction vectors vFrom and vTo are normalized - let r = Vector3.dot(vFrom, vTo) + 1; - if (r < Number.EPSILON) { - // vFrom and vTo point in opposite directions - r = 0; - if (Math.abs(vFrom.x) > Math.abs(vFrom.z)) { - this.x = -vFrom.y; - this.y = vFrom.x; - this.z = 0; - this.w = r; - } else { - this.x = 0; - this.y = -vFrom.z; - this.z = vFrom.y; - this.w = r; - } - } else { - // crossVectors( vFrom, vTo ); // inlined to avoid cyclic dependency on Vector3 - this.x = vFrom.y * vTo.z - vFrom.z * vTo.y; - this.y = vFrom.z * vTo.x - vFrom.x * vTo.z; - this.z = vFrom.x * vTo.y - vFrom.y * vTo.x; - this.w = r; - } - return this.normalize(); - } - setFromRotationMatrix(matrix) { - const te = matrix, - m11 = te[0], - m12 = te[4], - m13 = te[8], - m21 = te[1], - m22 = te[5], - m23 = te[9], - m31 = te[2], - m32 = te[6], - m33 = te[10], - trace = m11 + m22 + m33; - if (trace > 0) { - const s = 0.5 / Math.sqrt(trace + 1.0); - this.w = 0.25 / s; - this.x = (m32 - m23) * s; - this.y = (m13 - m31) * s; - this.z = (m21 - m12) * s; - } else if (m11 > m22 && m11 > m33) { - const s = 2.0 * Math.sqrt(1.0 + m11 - m22 - m33); - this.w = (m32 - m23) / s; - this.x = 0.25 * s; - this.y = (m12 + m21) / s; - this.z = (m13 + m31) / s; - } else if (m22 > m33) { - const s = 2.0 * Math.sqrt(1.0 + m22 - m11 - m33); - this.w = (m13 - m31) / s; - this.x = (m12 + m21) / s; - this.y = 0.25 * s; - this.z = (m23 + m32) / s; - } else { - const s = 2.0 * Math.sqrt(1.0 + m33 - m11 - m22); - this.w = (m21 - m12) / s; - this.x = (m13 + m31) / s; - this.y = (m23 + m32) / s; - this.z = 0.25 * s; - } - return this; - } - clone() { - return Quaternion.clone(this, this); - } - equals(right) { - return Quaternion.equals(this, right); - } - equalsEpsilon(right, epsilon = 0) { - return Quaternion.equalsEpsilon(this, right, epsilon); - } - toArray() { - const { x, y, z, w } = this; - return [x, y, z, w]; - } - static fromAxisAngle(axis, angle) { - const halfAngle = angle / 2.0; - const s = Math.sin(halfAngle); - fromAxisAngleScratch = Vector3.normalize(axis, fromAxisAngleScratch); - const x = fromAxisAngleScratch.x * s; - const y = fromAxisAngleScratch.y * s; - const z = fromAxisAngleScratch.z * s; - const w = Math.cos(halfAngle); - // if (!defined(result)) { - // return - // } - const result = new Quaternion(x, y, z, w); - result.x = x; - result.y = y; - result.z = z; - result.w = w; - return result; - } - // static fromRotationMatrix(matrix: Matrix3, result: Quaternion): Quaternion { - // let root; - // let x; - // let y; - // let z; - // let w; - // const m00 = matrix[Matrix3.COLUMN0ROW0]; - // const m11 = matrix[Matrix3.COLUMN1ROW1]; - // const m22 = matrix[Matrix3.COLUMN2ROW2]; - // const trace = m00 + m11 + m22; - // if (trace > 0.0) { - // // |w| > 1/2, may as well choose w > 1/2 - // root = Math.sqrt(trace + 1.0); // 2w - // w = 0.5 * root; - // root = 0.5 / root; // 1/(4w) - // x = (matrix[Matrix3.COLUMN1ROW2] - matrix[Matrix3.COLUMN2ROW1]) * root; - // y = (matrix[Matrix3.COLUMN2ROW0] - matrix[Matrix3.COLUMN0ROW2]) * root; - // z = (matrix[Matrix3.COLUMN0ROW1] - matrix[Matrix3.COLUMN1ROW0]) * root; - // } else { - // // |w| <= 1/2 - // const next = fromRotationMatrixNext; - // let i = 0; - // if (m11 > m00) { - // i = 1; - // } - // if (m22 > m00 && m22 > m11) { - // i = 2; - // } - // const j = next[i]; - // const k = next[j]; - // root = Math.sqrt( - // matrix[Matrix3.getElementIndex(i, i)] - - // matrix[Matrix3.getElementIndex(j, j)] - - // matrix[Matrix3.getElementIndex(k, k)] + - // 1.0 - // ); - // const quat = fromRotationMatrixQuat; - // quat[i] = 0.5 * root; - // root = 0.5 / root; - // w = (matrix[Matrix3.getElementIndex(k, j)] - matrix[Matrix3.getElementIndex(j, k)]) * root; - // quat[j] = (matrix[Matrix3.getElementIndex(j, i)] + matrix[Matrix3.getElementIndex(i, j)]) * root; - // quat[k] = (matrix[Matrix3.getElementIndex(k, i)] + matrix[Matrix3.getElementIndex(i, k)]) * root; - // x = -quat[0]; - // y = -quat[1]; - // z = -quat[2]; - // } - // if (!defined(result)) { - // return new Quaternion(x, y, z, w); - // } - // result.x = x; - // result.y = y; - // result.z = z; - // result.w = w; - // return result; - // } - static clone(quaternion, result) { - if (!defined(quaternion)) { - return undefined; - } - if (!defined(result)) { - return new Quaternion(quaternion.x, quaternion.y, quaternion.z, quaternion.w); - } - result.x = quaternion.x; - result.y = quaternion.y; - result.z = quaternion.z; - result.w = quaternion.w; - return result; - } - static conjugate(quaternion, result) { - result.x = -quaternion.x; - result.y = -quaternion.y; - result.z = -quaternion.z; - result.w = quaternion.w; - return result; - } - static magnitudeSquared(quaternion) { - return ( - quaternion.x * quaternion.x + - quaternion.y * quaternion.y + - quaternion.z * quaternion.z + - quaternion.w * quaternion.w - ); - } - static magnitude(quaternion) { - return Math.sqrt(Quaternion.magnitudeSquared(quaternion)); - } - static normalize(quaternion, result) { - const inverseMagnitude = 1.0 / Quaternion.magnitude(quaternion); - const x = quaternion.x * inverseMagnitude; - const y = quaternion.y * inverseMagnitude; - const z = quaternion.z * inverseMagnitude; - const w = quaternion.w * inverseMagnitude; - result.x = x; - result.y = y; - result.z = z; - result.w = w; - return result; - } - static inverse(quaternion, result) { - const magnitudeSquared = Quaternion.magnitudeSquared(quaternion); - result = Quaternion.conjugate(quaternion, result); - return Quaternion.multiplyByScalar(result, 1.0 / magnitudeSquared, result); - } - static add(left, right, result) { - result.x = left.x + right.x; - result.y = left.y + right.y; - result.z = left.z + right.z; - result.w = left.w + right.w; - return result; - } - static subtract(left, right, result) { - result.x = left.x - right.x; - result.y = left.y - right.y; - result.z = left.z - right.z; - result.w = left.w - right.w; - return result; - } - static negate(quaternion, result) { - result.x = -quaternion.x; - result.y = -quaternion.y; - result.z = -quaternion.z; - result.w = -quaternion.w; - return result; - } - static dot(left, right) { - return left.x * right.x + left.y * right.y + left.z * right.z + left.w * right.w; - } - static multiply(left, right, result) { - const leftX = left.x; - const leftY = left.y; - const leftZ = left.z; - const leftW = left.w; - const rightX = right.x; - const rightY = right.y; - const rightZ = right.z; - const rightW = right.w; - const x = leftW * rightX + leftX * rightW + leftY * rightZ - leftZ * rightY; - const y = leftW * rightY - leftX * rightZ + leftY * rightW + leftZ * rightX; - const z = leftW * rightZ + leftX * rightY - leftY * rightX + leftZ * rightW; - const w = leftW * rightW - leftX * rightX - leftY * rightY - leftZ * rightZ; - result.x = x; - result.y = y; - result.z = z; - result.w = w; - return result; - } - static multiplyByScalar(quaternion, scalar, result) { - result.x = quaternion.x * scalar; - result.y = quaternion.y * scalar; - result.z = quaternion.z * scalar; - result.w = quaternion.w * scalar; - return result; - } - static divideByScalar(quaternion, scalar, result) { - result.x = quaternion.x / scalar; - result.y = quaternion.y / scalar; - result.z = quaternion.z / scalar; - result.w = quaternion.w / scalar; - return result; - } - static computeAxis(quaternion, result) { - const w = quaternion.w; - if (Math.abs(w - 1.0) < GMath.EPSILON6) { - result.x = result.y = result.z = 0; - return result; - } - const scalar = 1.0 / Math.sqrt(1.0 - w * w); - result.x = quaternion.x * scalar; - result.y = quaternion.y * scalar; - result.z = quaternion.z * scalar; - return result; - } - static computeAngle(quaternion) { - if (Math.abs(quaternion.w - 1.0) < GMath.EPSILON6) { - return 0.0; - } - return 2.0 * Math.acos(quaternion.w); - } - static lerp(start, end, t, result) { - lerpScratch = Quaternion.multiplyByScalar(end, t, lerpScratch); - result = Quaternion.multiplyByScalar(start, 1.0 - t, result); - return Quaternion.add(lerpScratch, result, result); - } - static slerp(start, end, t, result) { - let dot = Quaternion.dot(start, end); - // The angle between start must be acute. Since q and -q represent - // the same rotation, negate q to get the acute angle. - let r = end; - if (dot < 0.0) { - dot = -dot; - r = slerpEndNegated = Quaternion.negate(end, slerpEndNegated); - } - // dot > 0, as the dot product approaches 1, the angle between the - // quaternions vanishes. use linear interpolation. - if (1.0 - dot < GMath.EPSILON6) { - return Quaternion.lerp(start, r, t, result); - } - const theta = Math.acos(dot); - slerpScaledP = Quaternion.multiplyByScalar(start, Math.sin((1 - t) * theta), slerpScaledP); - slerpScaledR = Quaternion.multiplyByScalar(r, Math.sin(t * theta), slerpScaledR); - result = Quaternion.add(slerpScaledP, slerpScaledR, result); - return Quaternion.multiplyByScalar(result, 1.0 / Math.sin(theta), result); - } - static squad(q0, q1, s0, s1, t, result) { - const slerp0 = Quaternion.slerp(q0, q1, t, squadScratchQuaternion0); - const slerp1 = Quaternion.slerp(s0, s1, t, squadScratchQuaternion1); - return Quaternion.slerp(slerp0, slerp1, 2.0 * t * (1.0 - t), result); - } - static equals(left, right) { - return ( - left === right || - (defined(left) && - defined(right) && - left.x === right.x && - left.y === right.y && - left.z === right.z && - left.w === right.w) - ); - } - static equalsEpsilon(left, right, epsilon = 0) { - epsilon = defaultValue(epsilon, 0); - return ( - left === right || - (defined(left) && - defined(right) && - Math.abs(left.x - right.x) <= epsilon && - Math.abs(left.y - right.y) <= epsilon && - Math.abs(left.z - right.z) <= epsilon && - Math.abs(left.w - right.w) <= epsilon) - ); - } - static exp(cartesian, result) { - const theta = Vector3.magnitude(cartesian); - let sinThetaOverTheta = 0.0; - if (theta !== 0.0) { - sinThetaOverTheta = Math.sin(theta) / theta; - } - result.x = cartesian.x * sinThetaOverTheta; - result.y = cartesian.y * sinThetaOverTheta; - result.z = cartesian.z * sinThetaOverTheta; - result.w = Math.cos(theta); - return result; - } -} -Quaternion.ZERO = Object.freeze(new Quaternion(0.0, 0.0, 0.0, 0.0)); -Quaternion.IDENTITY = Object.freeze(new Quaternion(0.0, 0.0, 0.0, 1.0)); -let fromAxisAngleScratch = new Vector3(); -new Array(3); -let lerpScratch = new Quaternion(); -let slerpEndNegated = new Quaternion(); -let slerpScaledP = new Quaternion(); -let slerpScaledR = new Quaternion(); -new Vector3(); -new Vector3(); -const squadScratchQuaternion0 = new Quaternion(); -const squadScratchQuaternion1 = new Quaternion(); - -class RenderObject { - constructor() { - this._position = new Vector3(); - this._scale = new Vector3(1, 1, 1); - this._quaternion = new Quaternion(); - this.modelMatrix = Matrix4.clone(Matrix4.IDENTITY, new Matrix4()); - this._normalMatrix = Matrix4.clone(Matrix4.IDENTITY, new Matrix4()); - this.up = new Vector3(0, 1, 0); - this._target = new Vector3(0, 0, 0); - } - get normalMatrix() { - return this._normalMatrix; - } - get position() { - return this._position; - } - get scale() { - return this._scale; - } - get quaternion() { - return this._quaternion; - } - updateNormalMatrix() { - Matrix4.inverse(this.modelMatrix, this._normalMatrix); - Matrix4.transpose(this._normalMatrix, this._normalMatrix); - } - updateMatrix(matrix) { - this.modelMatrix.compose(this.position, this.quaternion, this.scale); - if (matrix) Matrix4.multiply(matrix, this.modelMatrix, this.modelMatrix); - this.updateNormalMatrix(); - } - lookAt(x, y, z) { - this._target.set(x, y, z); - if (this.type == RenderObjectType.Camera || this.type == RenderObjectType.Light) { - _m1.lookAt(this.position, this._target, this.up); - } else { - _m1.lookAt(this._target, this.position, this.up); - } - this.quaternion.setFromRotationMatrix(_m1); - } - rotateOnAxis(axis, angle) { - const quat = Quaternion.fromAxisAngle(axis, angle); - Quaternion.multiply(this.quaternion, quat, this.quaternion); - } - rotateX(angle) { - return this.rotateOnAxis(_xAxis, angle); - } - rotateY(angle) { - return this.rotateOnAxis(_yAxis, angle); - } - rotateZ(angle) { - return this.rotateOnAxis(_zAxis, angle); - } -} -const _xAxis = new Vector3(1, 0, 0); -const _yAxis = new Vector3(0, 1, 0); -const _zAxis = new Vector3(0, 0, 1); -const _m1 = new Matrix4(); - -class Light extends RenderObject { - constructor(color, intensity) { - super(); - this.type = RenderObjectType.Light; - this._color = Vector3.multiplyByScalar(color, intensity, new Vector3()); - this._intensity = intensity; - this._position = new Vector3(0, 1, 0); - this._target = new Vector3(); - this.positionDirty = true; - this.targetDirty = true; - this.colorDirty = true; - this.shadowDirty = true; - this.intensityDirty = true; - this._shadow = null; - } - get position() { - return this._position; - } - set position(value) { - this.positionDirty = true; - this._position = value; - } - get target() { - return this._target; - } - set target(value) { - this.targetDirty = true; - this._target = value; - } - get color() { - return this._color; - } - set color(value) { - this.colorDirty = true; - this._color = value; - } - set intensity(value) { - this.color = Vector3.multiplyByScalar(this.color, value, new Vector3()); - this.intensityDirty = true; - this._intensity = value; - } - get intensity() { - return this._intensity; - } - get shadow() { - return this._shadow; - } - set shadow(value) { - this.shadowDirty = true; - this._shadow = value; - } -} - -// #rgba -const rgbaMatcher = /^#([0-9a-f])([0-9a-f])([0-9a-f])([0-9a-f])?$/i; -// #rrggbbaa -const rrggbbaaMatcher = /^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})?$/i; -// rgb(), rgba(), or rgb%() -const rgbParenthesesMatcher = /^rgba?\(\s*([0-9.]+%?)\s*,\s*([0-9.]+%?)\s*,\s*([0-9.]+%?)(?:\s*,\s*([0-9.]+))?\s*\)$/i; -// hsl() or hsla() -const hslParenthesesMatcher = /^hsla?\(\s*([0-9.]+)\s*,\s*([0-9.]+%)\s*,\s*([0-9.]+%)(?:\s*,\s*([0-9.]+))?\s*\)$/i; -function hue2rgb(m1, m2, h) { - if (h < 0) { - h += 1; - } - if (h > 1) { - h -= 1; - } - if (h * 6 < 1) { - return m1 + (m2 - m1) * 6 * h; - } - if (h * 2 < 1) { - return m2; - } - if (h * 3 < 2) { - return m1 + (m2 - m1) * (2 / 3 - h) * 6; - } - return m1; -} -class Color { - constructor(red = 1.0, green = 1.0, blue = 1.0) { - /** - * The red component. - * @type {Number} - * @default 1.0 - */ - this.red = red; - /** - * The green component. - * @type {Number} - * @default 1.0 - */ - this.green = green; - /** - * The blue component. - * @type {Number} - * @default 1.0 - */ - this.blue = blue; - } - set(value) { - if (typeof value === "string") { - Color.fromCssColorString(value, this); - } - return this; - } - toArray() { - return [this.red, this.green, this.blue]; - } - clone(result) { - return Color.clone(this, result); - } - equals(other) { - return Color.equals(this, other); - } - toCssHexString() { - let r = Color.floatToByte(this.red).toString(16); - if (r.length < 2) { - r = `0${r}`; - } - let g = Color.floatToByte(this.green).toString(16); - if (g.length < 2) { - g = `0${g}`; - } - let b = Color.floatToByte(this.blue).toString(16); - if (b.length < 2) { - b = `0${b}`; - } - return `#${r}${g}${b}`; - } - toBytes(result) { - const red = Color.floatToByte(this.red); - const green = Color.floatToByte(this.green); - const blue = Color.floatToByte(this.blue); - if (!defined(result)) { - return [red, green, blue]; - } - result[0] = red; - result[1] = green; - result[2] = blue; - return result; - } - static fromBytes(red, green, blue, result) { - red = Color.byteToFloat(defaultValue(red, 255.0)); - green = Color.byteToFloat(defaultValue(green, 255.0)); - blue = Color.byteToFloat(defaultValue(blue, 255.0)); - if (!defined(result)) { - return new Color(red, green, blue); - } - result.red = red; - result.green = green; - result.blue = blue; - return result; - } - static fromHsl(hue, saturation, lightness, result) { - hue = defaultValue(hue, 0.0) % 1.0; - saturation = defaultValue(saturation, 0.0); - lightness = defaultValue(lightness, 0.0); - let red = lightness; - let green = lightness; - let blue = lightness; - if (saturation !== 0) { - let m2; - if (lightness < 0.5) { - m2 = lightness * (1 + saturation); - } else { - m2 = lightness + saturation - lightness * saturation; - } - const m1 = 2.0 * lightness - m2; - red = hue2rgb(m1, m2, hue + 1 / 3); - green = hue2rgb(m1, m2, hue); - blue = hue2rgb(m1, m2, hue - 1 / 3); - } - if (!defined(result)) { - return new Color(red, green, blue); - } - result.red = red; - result.green = green; - result.blue = blue; - return result; - } - /** - * Creates a random color using the provided options. For reproducible random colors, you should - * call {@link GMath#setRandomNumberSeed} once at the beginning of your application. - * - * @param {Object} [options] Object with the following properties: - * @param {Number} [options.red] If specified, the red component to use instead of a randomized value. - * @param {Number} [options.minimumRed=0.0] The maximum red value to generate if none was specified. - * @param {Number} [options.maximumRed=1.0] The minimum red value to generate if none was specified. - * @param {Number} [options.green] If specified, the green component to use instead of a randomized value. - * @param {Number} [options.minimumGreen=0.0] The maximum green value to generate if none was specified. - * @param {Number} [options.maximumGreen=1.0] The minimum green value to generate if none was specified. - * @param {Number} [options.blue] If specified, the blue component to use instead of a randomized value. - * @param {Number} [options.minimumBlue=0.0] The maximum blue value to generate if none was specified. - * @param {Number} [options.maximumBlue=1.0] The minimum blue value to generate if none was specified. - * @param {Color} [result] The object to store the result in, if undefined a new instance will be created. - * @returns {Color} The modified result parameter or a new instance if result was undefined. - * - * @example - * //Create a completely random color - * const color = Color.fromRandom(); - * - * //Create a random shade of yellow. - * const color1 = Color.fromRandom({ - * red : 1.0, - * green : 1.0, - * }); - * - * //Create a random bright color. - * const color2 = Color.fromRandom({ - * minimumRed : 0.75, - * minimumGreen : 0.75, - * minimumBlue : 0.75, - * }); - */ - static fromRandom(options, result) { - options = defaultValue(options, defaultValue.EMPTY_OBJECT); - let red = options.red; - if (!defined(red)) { - const minimumRed = defaultValue(options.minimumRed, 0); - const maximumRed = defaultValue(options.maximumRed, 1.0); - red = minimumRed + GMath.nextRandomNumber() * (maximumRed - minimumRed); - } - let green = options.green; - if (!defined(green)) { - const minimumGreen = defaultValue(options.minimumGreen, 0); - const maximumGreen = defaultValue(options.maximumGreen, 1.0); - green = minimumGreen + GMath.nextRandomNumber() * (maximumGreen - minimumGreen); - } - let blue = options.blue; - if (!defined(blue)) { - const minimumBlue = defaultValue(options.minimumBlue, 0); - const maximumBlue = defaultValue(options.maximumBlue, 1.0); - blue = minimumBlue + GMath.nextRandomNumber() * (maximumBlue - minimumBlue); - } - if (!defined(result)) { - return new Color(red, green, blue); - } - result.red = red; - result.green = green; - result.blue = blue; - return result; - } - static fromCssColorString(color, result = new Color()) { - // Remove all whitespaces from the color string - color = color.replace(/\s/g, ""); - const namedColor = Color[color.toUpperCase()]; - if (defined(namedColor)) { - Color.clone(namedColor, result); - return result; - } - let matches = rgbaMatcher.exec(color); - if (matches !== null) { - result.red = parseInt(matches[1], 16) / 15; - result.green = parseInt(matches[2], 16) / 15.0; - result.blue = parseInt(matches[3], 16) / 15.0; - return result; - } - matches = rrggbbaaMatcher.exec(color); - if (matches !== null) { - result.red = parseInt(matches[1], 16) / 255.0; - result.green = parseInt(matches[2], 16) / 255.0; - result.blue = parseInt(matches[3], 16) / 255.0; - return result; - } - matches = rgbParenthesesMatcher.exec(color); - if (matches !== null) { - result.red = parseFloat(matches[1]) / ("%" === matches[1].substr(-1) ? 100.0 : 255.0); - result.green = parseFloat(matches[2]) / ("%" === matches[2].substr(-1) ? 100.0 : 255.0); - result.blue = parseFloat(matches[3]) / ("%" === matches[3].substr(-1) ? 100.0 : 255.0); - return result; - } - matches = hslParenthesesMatcher.exec(color); - if (matches !== null) { - return Color.fromHsl( - parseFloat(matches[1]) / 360.0, - parseFloat(matches[2]) / 100.0, - parseFloat(matches[3]) / 100.0, - result - ); - } - result = undefined; - return result; - } - static byteToFloat(value) { - return value / 255.0; - } - static floatToByte(value) { - return value === 1.0 ? 255.0 : (value * 256.0) | 0; - } - static clone(color, result) { - if (!defined(color)) { - return undefined; - } - if (!defined(result)) { - return new Color(color.red, color.green, color.blue); - } - result.red = color.red; - result.green = color.green; - result.blue = color.blue; - return result; - } - static equals(left, right) { - return ( - left === right || // - (defined(left) && // - defined(right) && // - left.red === right.red && // - left.green === right.green && // - left.blue === right.blue) - ); - } - /** - * @private - */ - static equalsArray(color, array, offset) { - return color.red === array[offset] && color.green === array[offset + 1] && color.blue === array[offset + 2]; - } -} - -/** - * A 2x2 matrix, indexable as a column-major order array. - * @param {Number} [column0Row0=0.0] The value for column 0, row 0. - * @param {Number} [column1Row0=0.0] The value for column 1, row 0. - * @param {Number} [column0Row1=0.0] The value for column 0, row 1. - * @param {Number} [column1Row1=0.0] The value for column 1, row 1. - */ -class Matrix2 { - constructor(column0Row0 = 0, column1Row0 = 0, column0Row1 = 0, column1Row1 = 0) { - this[0] = column0Row0; - this[1] = column0Row1; - this[2] = column1Row0; - this[3] = column1Row1; - } - static clone(matrix, result) { - if (!defined(matrix)) { - return undefined; - } - if (!defined(result)) { - return new Matrix2(matrix[0], matrix[2], matrix[1], matrix[3]); - } - result[0] = matrix[0]; - result[1] = matrix[1]; - result[2] = matrix[2]; - result[3] = matrix[3]; - return result; - } - static fromColumnMajorArray(values, result) { - return Matrix2.clone(values, result); - } - static fromRowMajorArray(values, result) { - if (!defined(result)) { - return new Matrix2(values[0], values[1], values[2], values[3]); - } - result[0] = values[0]; - result[1] = values[2]; - result[2] = values[1]; - result[3] = values[3]; - return result; - } - static fromScale(scale, result) { - if (!defined(result)) { - return new Matrix2(scale.x, 0.0, 0.0, scale.y); - } - result[0] = scale.x; - result[1] = 0.0; - result[2] = 0.0; - result[3] = scale.y; - return result; - } - static fromRotation(angle, result) { - const cosAngle = Math.cos(angle); - const sinAngle = Math.sin(angle); - if (!defined(result)) { - return new Matrix2(cosAngle, -sinAngle, sinAngle, cosAngle); - } - result[0] = cosAngle; - result[1] = sinAngle; - result[2] = -sinAngle; - result[3] = cosAngle; - return result; - } - toArray() { - const result = []; - Matrix2.toArray(this, result); - return result; - } - static toArray(matrix, result) { - if (!defined(result)) { - return [matrix[0], matrix[1], matrix[2], matrix[3]]; - } - result[0] = matrix[0]; - result[1] = matrix[1]; - result[2] = matrix[2]; - result[3] = matrix[3]; - return result; - } - static getElementIndex(column, row) { - return column * 2 + row; - } - static getColumn(matrix, index, result) { - const startIndex = index * 2; - const x = matrix[startIndex]; - const y = matrix[startIndex + 1]; - result.x = x; - result.y = y; - return result; - } - static setColumn(matrix, index, cartesian, result) { - result = Matrix2.clone(matrix, result); - const startIndex = index * 2; - result[startIndex] = cartesian.x; - result[startIndex + 1] = cartesian.y; - return result; - } - static getRow(matrix, index, result) { - const x = matrix[index]; - const y = matrix[index + 2]; - result.x = x; - result.y = y; - return result; - } - static setRow(matrix, index, cartesian, result) { - result = Matrix2.clone(matrix, result); - result[index] = cartesian.x; - result[index + 2] = cartesian.y; - return result; - } - static setScale(matrix, scale, result) { - const existingScale = Matrix2.getScale(matrix, scaleScratch1); - const scaleRatioX = scale.x / existingScale.x; - const scaleRatioY = scale.y / existingScale.y; - result[0] = matrix[0] * scaleRatioX; - result[1] = matrix[1] * scaleRatioX; - result[2] = matrix[2] * scaleRatioY; - result[3] = matrix[3] * scaleRatioY; - return result; - } - static getScale(matrix, result) { - result.x = Vector2.magnitude(Vector2.fromElements(matrix[0], matrix[1], scratchColumn)); - result.y = Vector2.magnitude(Vector2.fromElements(matrix[2], matrix[3], scratchColumn)); - return result; - } - static getMaximumScale(matrix) { - Matrix2.getScale(matrix, scaleScratch3); - return Vector2.maximumComponent(scaleScratch3); - } - static setRotation(matrix, rotation, result) { - const scale = Matrix2.getScale(matrix, scaleScratch4); - result[0] = rotation[0] * scale.x; - result[1] = rotation[1] * scale.x; - result[2] = rotation[2] * scale.y; - result[3] = rotation[3] * scale.y; - return result; - } - static getRotation(matrix, result) { - const scale = Matrix2.getScale(matrix, scaleScratch5); - result[0] = matrix[0] / scale.x; - result[1] = matrix[1] / scale.x; - result[2] = matrix[2] / scale.y; - result[3] = matrix[3] / scale.y; - return result; - } - static multiply(left, right, result) { - const column0Row0 = left[0] * right[0] + left[2] * right[1]; - const column1Row0 = left[0] * right[2] + left[2] * right[3]; - const column0Row1 = left[1] * right[0] + left[3] * right[1]; - const column1Row1 = left[1] * right[2] + left[3] * right[3]; - result[0] = column0Row0; - result[1] = column0Row1; - result[2] = column1Row0; - result[3] = column1Row1; - return result; - } - static add(left, right, result) { - result[0] = left[0] + right[0]; - result[1] = left[1] + right[1]; - result[2] = left[2] + right[2]; - result[3] = left[3] + right[3]; - return result; - } - static subtract(left, right, result) { - result[0] = left[0] - right[0]; - result[1] = left[1] - right[1]; - result[2] = left[2] - right[2]; - result[3] = left[3] - right[3]; - return result; - } - static multiplyByVector(matrix, cartesian, result) { - const x = matrix[0] * cartesian.x + matrix[2] * cartesian.y; - const y = matrix[1] * cartesian.x + matrix[3] * cartesian.y; - result.x = x; - result.y = y; - return result; - } - static multiplyByScalar(matrix, scalar, result) { - result[0] = matrix[0] * scalar; - result[1] = matrix[1] * scalar; - result[2] = matrix[2] * scalar; - result[3] = matrix[3] * scalar; - return result; - } - static multiplyByScale(matrix, scale, result) { - result[0] = matrix[0] * scale.x; - result[1] = matrix[1] * scale.x; - result[2] = matrix[2] * scale.y; - result[3] = matrix[3] * scale.y; - return result; - } - static negate(matrix, result) { - result[0] = -matrix[0]; - result[1] = -matrix[1]; - result[2] = -matrix[2]; - result[3] = -matrix[3]; - return result; - } - static transpose(matrix, result) { - const column0Row0 = matrix[0]; - const column0Row1 = matrix[2]; - const column1Row0 = matrix[1]; - const column1Row1 = matrix[3]; - result[0] = column0Row0; - result[1] = column0Row1; - result[2] = column1Row0; - result[3] = column1Row1; - return result; - } - static abs(matrix, result) { - result[0] = Math.abs(matrix[0]); - result[1] = Math.abs(matrix[1]); - result[2] = Math.abs(matrix[2]); - result[3] = Math.abs(matrix[3]); - return result; - } - static equals(left, right) { - return ( - left === right || - (defined(left) && - defined(right) && - left[0] === right[0] && - left[1] === right[1] && - left[2] === right[2] && - left[3] === right[3]) - ); - } - /** - * @private - */ - static equalsArray(matrix, array, offset) { - return ( - matrix[0] === array[offset] && - matrix[1] === array[offset + 1] && - matrix[2] === array[offset + 2] && - matrix[3] === array[offset + 3] - ); - } - static equalsEpsilon(left, right, epsilon = 0) { - epsilon = defaultValue(epsilon, 0); - return ( - left === right || - (defined(left) && - defined(right) && - Math.abs(left[0] - right[0]) <= epsilon && - Math.abs(left[1] - right[1]) <= epsilon && - Math.abs(left[2] - right[2]) <= epsilon && - Math.abs(left[3] - right[3]) <= epsilon) - ); - } - clone(result) { - return Matrix2.clone(this, result); - } - equals(right) { - return Matrix2.equals(this, right); - } - equalsEpsilon(right, epsilon = 0) { - return Matrix2.equalsEpsilon(this, right, epsilon); - } - toString() { - return `(${this[0]}, ${this[2]})\n` + `(${this[1]}, ${this[3]})`; - } -} -Matrix2.IDENTITY = Object.freeze(new Matrix2(1.0, 0.0, 0.0, 1.0)); -Matrix2.ZERO = Object.freeze(new Matrix2(0.0, 0.0, 0.0, 0.0)); -const scaleScratch1 = new Vector2(); -new Vector2(); -const scaleScratch3 = new Vector2(); -const scaleScratch4 = new Vector2(); -const scratchColumn = new Vector2(); -const scaleScratch5 = new Vector2(); - -class Uniform { - constructor(uniformName, cb, offset) { - this.name = uniformName; - this.cb = cb; - this.offset = defaultValue(offset, 0); - this.type = "number"; - } - setBuffer(array, offset = 0) { - for (let i = 0; i < array.length; i++) { - this.buffer[i + offset] = array[i]; - } - } - set() { - return undefined; - } - getValue() { - let result; - const cbType = typeof this.cb; - switch (cbType) { - case "object": - result = this.cb[this.name] || this.cb; - break; - case "function": - // @ts-ignore - result = this.cb(); - break; - case "number": - result = this.cb; - break; - default: - throw new Error("type is error"); - } - return result; - } - // compare array - equals(v) { - if (this._value.length !== v.length) return false; - for (let i = 0; i < v.length; i++) { - if (v[i] !== this._value[i]) { - return false; - } - } - return true; - } -} -class UniformUint extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, offset) { - super(uniformName, cb, offset); - this.value = undefined; - this._value = 0; - this.byteSize = 4; - this.buffer = new Uint32Array(buffer.buffer, byteOffset, 1); - this.type = "uint"; - } - set() { - if (this.cb != undefined) this.value = this.getValue(); - if (this.value !== this._value) { - this._value = this.value; - this.buffer[0] = this.value; - return true; - } - return false; - } -} -UniformUint.align = 4; -class UniformFloat extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, offset) { - super(uniformName, cb, offset); - this.value = undefined; - this._value = 0; - this.byteSize = 4; - this.buffer = new Float32Array(buffer.buffer, byteOffset, 1); - this.type = "vec1"; - } - set() { - if (this.cb != undefined) this.value = this.getValue(); - if (this.value !== this._value) { - this._value = this.value; - this.buffer[0] = this.value; - return true; - } - return false; - } -} -UniformFloat.align = 4; -class UniformFloatVec2 extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, offset) { - super(uniformName, cb, offset); - this.value = undefined; - this._value = new Vector2(); - this.buffer = new Float32Array(buffer.buffer, byteOffset, 2); - this.byteSize = 8; - this.type = "vec2"; - } - set() { - if (this.cb != undefined) this.value = this.getValue(); - const v = this.value; - if (v instanceof Vector2) { - if (Vector2.equals(v, this._value)) return false; - Vector2.clone(v, this._value); - this.setBuffer(this._value.toArray()); - return true; - } else { - if (this.equals(v)) return false; - this._value = v; - this.setBuffer(v); - return true; - } - } -} -UniformFloatVec2.align = 8; -class UniformFloatVec3 extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, offset) { - super(uniformName, cb, offset); - this.value = undefined; - this._value = new Vector3(); - this.buffer = new Float32Array(buffer.buffer, byteOffset, 3); - this.byteSize = 12; - this.type = "vec3"; - } - set() { - if (this.cb != undefined) this.value = this.getValue(); - const v = this.value; - if (v instanceof Vector3) { - if (Vector3.equals(v, this._value)) return false; - Vector3.clone(v, this._value); - this.setBuffer(this._value.toArray()); - return true; - } else { - if (this.equals(v)) return false; - this._value = v; - this.setBuffer(v); - return true; - } - } -} -UniformFloatVec3.align = 16; -class UniformFloatVec4 extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, offset) { - super(uniformName, cb, offset); - this.value = undefined; - this._value = new Vector4(); - this.buffer = new Float32Array(buffer.buffer, byteOffset, 4); - this.byteSize = 16; - this.type = "vec4"; - } - set() { - if (this.cb != undefined) this.value = this.getValue(); - const v = this.value; - if (v instanceof Vector4) { - if (Vector4.equals(v, this._value)) return false; - Vector4.clone(v, this._value); - this.setBuffer(this._value.toArray()); - return true; - } else { - if (this.equals(v)) return false; - this._value = v; - this.setBuffer(v); - return true; - } - } -} -UniformFloatVec4.align = 16; -class UniformColor extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, offset) { - super(uniformName, cb, offset); - this.value = undefined; - this._value = new Color(); - this.buffer = new Float32Array(buffer.buffer, byteOffset, 3); - this.byteSize = 12; - this.type = "vec3"; - } - set() { - if (this.cb != undefined) this.value = this.getValue(); - const v = this.value; - if (v instanceof Color) { - if (Color.equals(v, this._value)) return false; - Color.clone(v, this._value); - this.setBuffer(this._value.toArray()); - return true; - } else { - if (this.equals(v)) return false; - this._value = v; - this.setBuffer(v); - return true; - } - } -} -UniformColor.align = 16; -class UniformMat2 extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, offset) { - super(uniformName, cb, offset); - this.value = undefined; - this._value = new Matrix2(); - this.buffer = new Float32Array(buffer.buffer, byteOffset, 4); - this.byteSize = 16; - this.type = "mat2"; - } - set() { - if (this.cb != undefined) this.value = this.getValue(); - const v = this.value; - if (v instanceof Matrix2) { - if (Matrix2.equals(v, this._value)) return false; - Matrix2.clone(v, this._value); - this.setBuffer(this._value.toArray()); - return true; - } else { - if (this.equals(v)) return false; - this._value = v; - this.setBuffer(v); - return true; - } - } -} -UniformMat2.align = 8; -class UniformMat3 extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, offset) { - super(uniformName, cb, offset); - this.value = undefined; - this._value = new Matrix3(); - this.buffer = new Float32Array(buffer.buffer, byteOffset, 9); - this.byteSize = 48; - this.type = "mat3"; - } - set() { - if (this.cb != undefined) this.value = this.getValue(); - const v = this.value; - if (v instanceof Matrix3) { - if (Matrix3.equals(v, this._value)) return false; - Matrix3.clone(v, this._value); - this.setBuffer(this._value.toArray()); - return true; - } else { - if (this.equals(v)) return false; - this._value = v; - this.setBuffer(v); - return true; - } - } -} -UniformMat3.align = 16; -class UniformMat4 extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, offset) { - super(uniformName, cb, offset); - this.value = undefined; - this._value = new Matrix4(); - this.buffer = new Float32Array(buffer.buffer, byteOffset, 16); - this.byteSize = 64; - this.type = "mat4"; - } - set() { - if (this.cb != undefined) this.value = this.getValue(); - const v = this.value; - if (v instanceof Matrix4) { - if (Matrix4.equals(v, this._value)) return false; - Matrix4.clone(v, this._value); - this.setBuffer(this._value.toArray()); - return true; - } else { - // if(this.equals(v)) return false; - this._value = v; - this.setBuffer(v); - return true; - } - } -} -UniformMat4.align = 16; -class UniformMatrix4Array extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, count) { - super(uniformName, cb, 0); - this.byteSize = count * 64; - this.buffer = new Float32Array(buffer.buffer, byteOffset, this.byteSize / 4); - this.type = "mat4-array"; - } - set() { - this.value = this.getValue(); - if (!this.value) return false; - for (let i = 0; i < this.value.length; i++) { - this.setBuffer(this.value[i].toArray(), i * 16); - } - return true; - } -} -UniformMatrix4Array.align = 16; -class UniformFloatArray extends Uniform { - // cb: Function; - constructor(uniformName, buffer, byteOffset, cb, count) { - super(uniformName, cb, 0); - this.buffer = new Float32Array(buffer.buffer, byteOffset, count); - this.byteSize = 4 * count; - this.type = "float-array"; - } - set() { - this.value = this.getValue(); - for (let i = 0; i < this.value.length; i++) { - this.buffer[i] = this.value[i]; - } - return true; - } -} -UniformFloatArray.align = 4; -class UniformVec2Array extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, count) { - super(uniformName, cb, 0); - this.byteSize = count * 8; - this.buffer = new Float32Array(buffer.buffer, byteOffset, this.byteSize / 4); - this.type = "vec2-array"; - } - set() { - // this.value = this.cb(); - this.value = this.getValue(); - let j = 0; - for (let i = 0; i < this.value.length; i++) { - this.buffer[j] = this.value[i].x; - this.buffer[j + 1] = this.value[i].y; - j += 2; - } - return true; - } -} -UniformVec2Array.align = 8; -class UniformVec3Array extends Uniform { - // cb: Function; - constructor(uniformName, buffer, byteOffset, cb, count) { - super(uniformName, cb, 0); - this.byteSize = count * 16; - this.buffer = new Float32Array(buffer.buffer, byteOffset, this.byteSize / 4); - this.type = "vec3-array"; - } - set() { - // this.value = this.cb(); - this.value = this.getValue(); - let j = 0; - for (let i = 0; i < this.value.length; i++) { - this.buffer[j] = this.value[i].x; - this.buffer[j + 1] = this.value[i].y; - this.buffer[j + 2] = this.value[i].z; - this.buffer[j + 3] = 0; - j += 4; - } - return true; - } -} -UniformVec3Array.align = 16; -class UniformVec4Array extends Uniform { - // cb: Function; - constructor(uniformName, buffer, byteOffset, cb, count) { - super(uniformName, cb, 0); - this.byteSize = count * 16; - this.buffer = new Float32Array(buffer.buffer, byteOffset, this.byteSize / 4); - this.type = "vec4-array"; - } - set() { - this.value = this.getValue(); - let j = 0; - for (let i = 0; i < this.value.length; i++) { - this.buffer[j] = this.value[i].x; - this.buffer[j + 1] = this.value[i].y; - this.buffer[j + 2] = this.value[i].z; - this.buffer[j + 3] = this.value[i].w; - j += 4; - } - return true; - } -} -UniformVec4Array.align = 16; -class UniformTexture extends Uniform { - constructor(uniformName, binding, texture, type, visibility, textureView) { - super(uniformName, undefined, 0); - this.binding = binding; - this.visibility = defaultValue(visibility, ShaderStage.Vertex | ShaderStage.Fragment); - this.textureView = textureView; - this.type = type ?? "texture"; - this.isTexture = true; - this._texture = texture; - } - get layoutType() { - return this.texture?.layoutType || "not yet bind"; - } - get storageTextureLayoutType() { - return this.texture?.storageTextureLayoutType || "not yet bind"; - } - bind(device) { - if (!this._texture) return; - this.texture = this._texture instanceof Function ? this._texture() : this._texture; - this.texture.update(device); - } -} -class UniformSampler extends Uniform { - constructor(uniformName, binding, sampler, visibility) { - super(uniformName, undefined, 0); - this.visibility = defaultValue(visibility, ShaderStage.Vertex | ShaderStage.Fragment); - this.name = uniformName; - this.binding = binding; - this.type = "sampler"; - this.isSampler = true; - this._sampler = sampler; - } - get layoutType() { - return this.sampler?.layoutType || "not yet bind"; - } - bind(device) { - this.sampler = this._sampler instanceof Function ? this._sampler() : this._sampler; - this.sampler.update(device); - } -} -class UniformStructArray extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, offset) { - super(uniformName, cb, offset); - this.cb = cb; - this.type = "struct-array"; - this.dirty = false; - this.byteOffset = byteOffset; - this.sourceBuffer = buffer; - } - set() { - // - this.structArray = this.getValue(); - this.byteSize = this.getStructSize(); - this.buffer = new Float32Array(this.sourceBuffer.buffer, this.byteOffset, this.byteSize / 4); - this.setSubData(); - return true; - } - setSubData() { - this.structArray.forEach((struct) => { - const keys = Object.keys(struct); - keys.forEach((key) => { - const data = Array.isArray(struct[key]?.value) ? struct[key]?.value : (struct[key]?.value).toArray(); - setDataToTypeArray(this.buffer, data, struct[key].offset); - }); - }); - } - getStructSize() { - let byteOffset = 0; - this.structArray.forEach((struct) => { - const keys = Object.keys(struct); - keys.forEach((key) => { - byteOffset += UniformBuffer.checkUniformOffset(byteOffset, UniformStructArray.aligns[struct[key].type]); - struct[key].offset = byteOffset; - this.byteOffset += UniformStructArray.byteSizes[struct[key].type]; - }); - }); - return byteOffset; - } -} -UniformStructArray.align = 16; -UniformStructArray.aligns = { - [UniformEnum.UniformUint]: 4, - [UniformEnum.Float]: 4, - [UniformEnum.FloatVec2]: 8, - [UniformEnum.FloatVec3]: 16, - [UniformEnum.FloatVec4]: 16, - [UniformEnum.Mat2]: 8, - [UniformEnum.Mat3]: 16, - [UniformEnum.Mat4]: 16, - [UniformEnum.Color]: 16 -}; -UniformStructArray.byteSizes = { - [UniformEnum.UniformUint]: 4, - [UniformEnum.Float]: 4, - [UniformEnum.FloatVec2]: 8, - [UniformEnum.FloatVec3]: 12, - [UniformEnum.FloatVec4]: 16, - [UniformEnum.Mat2]: 16, - [UniformEnum.Mat3]: 48, - [UniformEnum.Mat4]: 64, - [UniformEnum.Color]: 12 -}; -class UniformSpotLights extends Uniform { - // cb: Function; - constructor(uniformName, buffer, byteOffset, cb, count) { - super(uniformName, cb, 0); - this.cb = cb; - this.byteSize = count * 64; - this.buffer = new Float32Array(buffer.buffer, byteOffset, this.byteSize / 4); - this.type = "spotsLight"; - this.dirty = false; - } - set() { - this.lights = this.getValue(); - this.lights.forEach((spotLight, index) => { - this.setSubData(spotLight, index); - }); - return this.dirty; - } - setSubData(spotLight, index) { - const offset = index * 16; - if (spotLight.positionDirty) { - this.dirty = setDataToTypeArray(this.buffer, spotLight.position.toArray(), offset + 0); // byteOffset=0; - } - if (spotLight.distanceDirty) { - this.dirty = setDataToTypeArray(this.buffer, spotLight.distance, offset + 3); // byteOffset=12; - } - if (spotLight.dirtectDirty) { - this.dirty = setDataToTypeArray(this.buffer, spotLight.directional.toArray(), offset + 4); // byteOffset=16; - } - if (spotLight.coneCosDirty) { - this.dirty = setDataToTypeArray(this.buffer, spotLight.coneCos, offset + 7); // byteOffset=28; - } - if (spotLight.colorDirty) { - this.dirty = setDataToTypeArray(this.buffer, spotLight.color.toArray(), offset + 8); // byteOffset=32; - } - if (spotLight.penumbraCosDirty) { - this.dirty = setDataToTypeArray(this.buffer, spotLight.penumbraCos, offset + 11); // byteOffset=44; - } - if (spotLight.decayDirty) { - this.dirty = setDataToTypeArray(this.buffer, spotLight.decay, offset + 12); // byteOffset=48; - } - spotLight.positionDirty = false; - spotLight.distanceDirty = false; - spotLight.dirtectDirty = false; - spotLight.coneCosDirty = false; - spotLight.colorDirty = false; - spotLight.penumbraCosDirty = false; - spotLight.decayDirty = false; - } -} -UniformSpotLights.align = 16; -class UniformSpotLightShadows extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, count) { - super(uniformName, cb, 0); - const bytesPerElement = Float32Array.BYTES_PER_ELEMENT; - this._subDataSize = UniformSpotLightShadows.uniformSize; - this.byteSize = count * this._subDataSize * bytesPerElement; - this.buffer = new Float32Array(buffer.buffer, byteOffset, this.byteSize / 4); - this.type = "spotLightShadows"; - this._nearValue = null; - this._farValue = null; - } - set() { - this.lights = this.getValue(); - this.lights.forEach((spotLight, index) => { - this.setSubData(spotLight, index); - }); - return this.dirty; - } - setSubData(spotLight, index) { - const offset = index * this._subDataSize; - if (spotLight.shadow.vpMatrixDirty) { - spotLight.shadow.vpMatrixDirty = false; - this.dirty = setDataToTypeArray(this.buffer, spotLight.shadow.camera.vpMatrix.toArray(), offset + 0); // byteOffset=0; - } - const nearValue = spotLight.shadow.camera.near; - if (nearValue != this._nearValue) { - this._nearValue = nearValue; - this.dirty = setDataToTypeArray(this.buffer, this._nearValue, offset + 16); // byteOffset=0; - } - const farValue = spotLight.shadow.camera.far; - if (farValue != this._farValue) { - this._farValue = farValue; - this.dirty = setDataToTypeArray(this.buffer, this._farValue, offset + 17); // byteOffset=0; - } - } -} -UniformSpotLightShadows.align = 16; -UniformSpotLightShadows.uniformSize = 18; -class UniformPointLights extends Uniform { - // cb: Function; - constructor(uniformName, buffer, byteOffset, cb, count) { - super(uniformName, cb, 0); - this.byteSize = count * 32; - this.buffer = new Float32Array(buffer.buffer, byteOffset, this.byteSize / 4); - this.type = "pointsLight"; - } - set() { - this.lights = this.getValue(); - this.lights.forEach((pointLight, index) => { - this.setSubData(pointLight, index); - }); - return this.dirty; - } - setSubData(pointLight, index) { - const offset = index * 8; - if (pointLight.positionDirty) { - pointLight.positionDirty = false; - this.dirty = setDataToTypeArray(this.buffer, pointLight.position.toArray(), offset + 0); // byteOffset=0; - } - if (pointLight.distanceDirty) { - pointLight.distanceDirty = false; - this.dirty = setDataToTypeArray(this.buffer, pointLight.distance, offset + 3); // byteOffset=12; - } - if (pointLight.colorDirty) { - pointLight.colorDirty = false; - this.dirty = setDataToTypeArray(this.buffer, pointLight.color.toArray(), offset + 4); // byteOffset=32; - } - if (pointLight.decayDirty) { - pointLight.decayDirty = false; - this.dirty = setDataToTypeArray(this.buffer, pointLight.decay, offset + 7); // byteOffset=12; - } - } -} -UniformPointLights.align = 16; -class UniformPointLightShadows extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, count) { - super(uniformName, cb, 0); - const bytesPerElement = Float32Array.BYTES_PER_ELEMENT; - this._subDataSize = UniformPointLightShadows.uniformSize; - this.byteSize = count * bytesPerElement * this._subDataSize; - this.buffer = new Float32Array(buffer.buffer, byteOffset, this.byteSize / 4); - this.type = "pointLightShadows"; - this._nearValue = null; - this._farValue = null; - } - set() { - this.lights = this.getValue(); - this.lights.forEach((pointLight, index) => { - this.setSubData(pointLight, index); - }); - return this.dirty; - } - setSubData(pointLight, index) { - const offset = index * this._subDataSize; - if (pointLight.shadow.vpMatrixArrayDirty) { - pointLight.shadow.vpMatrixArrayDirty = false; - const vpMatrixArray = pointLight.shadow.camera.vpMatrixArray; - for (let i = 0; i < vpMatrixArray.length; i++) { - const vpMatrix = vpMatrixArray[i]; - this.dirty = setDataToTypeArray(this.buffer, vpMatrix.toArray(), offset + 0 + 16 * i); // byteOffset=98 * 4; - } - } - if (pointLight.shadow.viewPortDirty) { - pointLight.shadow.viewPortDirty = false; - for (let i = 0; i < 6; i++) { - this.dirty = setDataToTypeArray( - this.buffer, - pointLight.shadow.viewports[i].toArray(), - offset + 96 + 4 * i - ); // byteOffset=0; - } - } - const nearValue = pointLight.shadow.camera.near; - if (nearValue != this._nearValue) { - this._nearValue = nearValue; - this.dirty = setDataToTypeArray(this.buffer, this._nearValue, offset + 120); // byteOffset=0; - } - const farValue = pointLight.shadow.camera.far; - if (farValue != this._farValue) { - this._farValue = farValue; - this.dirty = setDataToTypeArray(this.buffer, this._farValue, offset + 121); // byteOffset=1; - } - } -} -UniformPointLightShadows.align = 16; -UniformPointLightShadows.uniformSize = 122; -class UniformDirtectLights extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, count) { - super(uniformName, cb, 0); - this.cb = cb; - this.byteSize = count * 32; - this.buffer = new Float32Array(buffer.buffer, byteOffset, this.byteSize / 4); - this.type = "dirtectLights"; - } - set() { - this.lights = this.getValue(); - this.lights.forEach((directionalLight, index) => { - this.setSubData(directionalLight, index); - }); - return this.dirty; - } - setSubData(directionalLight, index) { - const offset = index * 8; - if (directionalLight.dirtectDirty) { - directionalLight.dirtectDirty = false; - this.dirty = setDataToTypeArray(this.buffer, directionalLight.directional.toArray(), offset + 0); // byteOffset=16; - } - if (directionalLight.colorDirty) { - directionalLight.colorDirty = false; - this.dirty = setDataToTypeArray(this.buffer, directionalLight.color.toArray(), offset + 4); // byteOffset=32; - } - } -} -UniformDirtectLights.align = 16; -class UniformDirtectLightShadows extends Uniform { - constructor(uniformName, buffer, byteOffset, cb, count) { - super(uniformName, cb, 0); - const bytesPerElement = Float32Array.BYTES_PER_ELEMENT; - this._subDataSize = UniformDirtectLightShadows.uniformSize; - this.byteSize = count * bytesPerElement * this._subDataSize; - this.buffer = new Float32Array(buffer.buffer, byteOffset, this.byteSize / 4); - this.type = "dirtectLightShadows"; - } - set() { - this.lights = this.getValue(); - this.lights.forEach((directionalLight, index) => { - this.setSubData(directionalLight, index); - }); - return this.dirty; - } - setSubData(directionalLight, index) { - const offset = index * this._subDataSize; - if (directionalLight.shadow.vpMatrixDirty) { - directionalLight.shadow.vpMatrixDirty = false; - this.dirty = setDataToTypeArray(this.buffer, directionalLight.shadow.camera.vpMatrix.toArray(), offset + 0); // byteOffset=16; - } - } -} -UniformDirtectLightShadows.align = 16; -UniformDirtectLightShadows.uniformSize = 16; -function setDataToTypeArray(buffer, data, offset) { - if (Array.isArray(data)) { - data.forEach((value, index) => { - buffer[index + offset] = value; - }); - } else { - buffer[offset] = data; - } - return true; -} - -class UniformBuffer { - constructor(options) { - this.type = defaultValue(options.type, "uniform"); - this.label = defaultValue(options.label, ""); - this.name = defaultValue(options.label, ""); - this.hasDynamicOffset = options.hasDynamicOffset ?? false; - this.minBindingSize = options.minBindingSize ?? 0; - this.binding = options.binding ?? 0; - this.visibility = defaultValue(options.visibility, ShaderStage.Fragment | ShaderStage.Vertex); - this.usage = defaultValue(options.usage, BufferUsage.Uniform | BufferUsage.CopyDst); - this._uniformStruct = new Map(); - this.uniformDirty = true; - this._bufferSize = options.size; - this.buffer = options.buffer; - this.offset = 0; - this.dataBuffer = defaultValue(options.dataBuffer, new Float32Array(defaultValue(this._bufferSize, 400))); - this.byteOffset = 0; - this.isUniformBuffer = true; - this.maxOffset = options.maxOffset ?? 0; - } - get layoutType() { - return { - type: this.type, - hasDynamicOffset: this.hasDynamicOffset, - minBindingSize: this.minBindingSize - }; - } - get bufferSize() { - return this._bufferSize ?? this.uniformsSize * 4; - } - get uniformsSize() { - // https://gpuweb.github.io/gpuweb/wgsl/#address-space-layout-constraints - return this._bufferSize != undefined ? this._bufferSize / 4 : Math.ceil(this.byteOffset / 16) * 16; - } - bind(device) { - this._uniformStruct.forEach((uniform) => { - const result = uniform.set(); - if (uniform?.dirty != undefined) uniform.dirty = false; - if (result != undefined && this.uniformDirty == false) this.uniformDirty = result; - }); - if (this.uniformDirty) { - this.uniformDirty = false; - if (!this.buffer) this.buffer = Buffer.createUniformBuffer(this.label, device, this.bufferSize, this.usage); - if (this.type != BufferBindingType.Storage) - this.buffer.setSubData( - 0, - this.dataBuffer.slice(0, defaultValue(this?.bufferSize / 4, this.uniformsSize)) - ); - } - } - getUniformBufferStruct() { - let uniformStruct = `struct MaterialUniform {\n `; - this._uniformStruct.forEach((uniform) => { - uniformStruct += this.createUniformString(uniform); - }); - uniformStruct += `}\n`; - return uniformStruct; - } - createUniformString(uniform) { - let result = ``; - switch (uniform.type) { - case "vec1": - result = `${uniform.name} :f32,\n`; - break; - case "vec2": - result = `${uniform.name} :vec2,\n`; - break; - case "vec3": - result = `${uniform.name} :vec3,\n`; - break; - case "vec4": - result = `${uniform.name} :vec4,\n`; - break; - case "mat2": - result = `${uniform.name} :mat2x2,\n`; - break; - case "mat3": - result = `${uniform.name} :mat3x3,\n`; - break; - case "mat4": - result = `${uniform.name} :mat4x4,\n`; - break; - } - return result; - } - contains(name) { - return this._uniformStruct.get(name); - } - replaceUniformValue(name, value) { - const uniform = this._uniformStruct.get(name); - if (!uniform) return; - uniform.cb = value; - } - getUniformByName(name) { - return this._uniformStruct.get(name); - } - // uniformBuffer.setVec3Array('test',()=>{return [new Vector3(1,0,0),new Vector3(1,0.8,0.5)]},2); - // uniformBuffer.setFloatArray('test1',()=>{return [0.5,0.5,1.0]},3); - // uniformBuffer.setVec4Array('test4',()=>{return [new Vector4(0.5,0.6,0.2,1.0),new Vector4(0.5,0.8,0.8,1.0)]},2); - // uniformBuffer.setVec2Array('test2',()=>{return [new Vector2(0.5,0.6),new Vector2(0.5,0.8,)]},2); - setUniform(name, value, uniformType, count) { - if (this._uniformStruct.get(name)) return; - const TypeUniform = UniformBuffer.UniformType[uniformType]; - this.byteOffset += UniformBuffer.checkUniformOffset(this.byteOffset, TypeUniform.align); - const uniform = - count != undefined - ? new TypeUniform(name, this.dataBuffer, this.byteOffset, value, count) - : new TypeUniform(name, this.dataBuffer, this.byteOffset, value); - this._uniformStruct.set(name, uniform); - this.byteOffset += uniform.byteSize; - } - setUniformsFromUniformBuffer(uniformBuffer) { - this._uniformStruct.forEach((value, key) => { - const uniform = uniformBuffer.getUniformByName(key); - if (uniform) this._uniformStruct.set(key, uniform); - }); - } - static checkUniformOffset(byteSize, Align) { - // from https://gpuweb.github.io/gpuweb/wgsl/#address-space-layout-constraints - // return this.hasDynamicOffset - // ? Math.ceil(byteSize / 256) * 256 - byteSize - // : Math.ceil(byteSize / Align) * Align - byteSize; - return Math.ceil(byteSize / Align) * Align - byteSize; - } - destroy() { - this?.buffer?.destroy(); - } -} -UniformBuffer.UniformType = { - [UniformEnum.UniformUint]: UniformUint, - [UniformEnum.Float]: UniformFloat, - [UniformEnum.FloatVec2]: UniformFloatVec2, - [UniformEnum.FloatVec3]: UniformFloatVec3, - [UniformEnum.FloatVec4]: UniformFloatVec4, - [UniformEnum.Mat2]: UniformMat2, - [UniformEnum.Mat3]: UniformMat3, - [UniformEnum.Mat4]: UniformMat4, - [UniformEnum.Color]: UniformColor, - [UniformEnum.FloatArray]: UniformFloatArray, - [UniformEnum.Vec2Array]: UniformVec2Array, - [UniformEnum.Vec3Array]: UniformVec3Array, - [UniformEnum.Vec4Array]: UniformVec4Array, - [UniformEnum.Mat4Array]: UniformMatrix4Array, - [UniformEnum.PointLights]: UniformPointLights, - [UniformEnum.SpotLights]: UniformSpotLights, - [UniformEnum.DirtectLights]: UniformDirtectLights, - [UniformEnum.PointLightShadows]: UniformPointLightShadows, - [UniformEnum.SpotLightShadows]: UniformSpotLightShadows, - [UniformEnum.DirtectLightShadows]: UniformDirtectLightShadows, - [UniformEnum.UniformStructArray]: UniformStructArray -}; - -function addUniformToShaderData(name, uniform, shaderData, mesh, uniformBuffer) { - const valueIsFunc = uniform?.value instanceof Function; - switch (uniform.type) { - case "f32": - uniformBuffer.setUniform( - name, - valueIsFunc - ? uniform.value - : () => { - return uniform.value; - }, - UniformEnum.Float - ); - break; - case "vec2": - uniformBuffer.setUniform( - name, - valueIsFunc - ? uniform.value - : () => { - return uniform.value; - }, - UniformEnum.FloatVec2 - ); - break; - case "vec3": - uniformBuffer.setUniform( - name, - valueIsFunc - ? uniform.value - : () => { - return uniform.value; - }, - UniformEnum.FloatVec3 - ); - break; - case "color": - uniformBuffer.setUniform( - name, - valueIsFunc - ? uniform.value - : () => { - return uniform.value; - }, - UniformEnum.Color - ); - break; - case "vec4": - uniformBuffer.setUniform( - name, - valueIsFunc - ? uniform.value - : () => { - return uniform.value; - }, - UniformEnum.FloatVec4 - ); - break; - case "mat2x2": - uniformBuffer.setUniform( - name, - valueIsFunc - ? uniform.value - : () => { - return uniform.value; - }, - UniformEnum.Mat2 - ); - break; - case "mat3x3": - uniformBuffer.setUniform( - name, - valueIsFunc - ? uniform.value - : () => { - return uniform.value; - }, - UniformEnum.Mat3 - ); - break; - case "mat4x4": - uniformBuffer.setUniform( - name, - valueIsFunc - ? uniform.value - : () => - name == "modelMatrix" - ? mesh?.modelMatrix - : name === "normalMatrix" - ? mesh?.normalMatrix - : uniform.value, - UniformEnum.Mat4 - ); - break; - case "array": - uniformBuffer.setUniform( - name, - valueIsFunc - ? uniform.value - : () => { - return uniform.value; - }, - UniformEnum.FloatArray, - uniform.value.length - ); - break; - case "array>": - uniformBuffer.setUniform( - name, - valueIsFunc - ? uniform.value - : () => { - return uniform.value; - }, - UniformEnum.Vec2Array, - uniform.value.length - ); - break; - case "array>": - uniformBuffer.setUniform( - name, - valueIsFunc - ? uniform.value - : () => { - return uniform.value; - }, - UniformEnum.Vec3Array, - uniform.value.length - ); - break; - case "array>": - uniformBuffer.setUniform( - name, - valueIsFunc - ? uniform.value - : () => { - return uniform.value; - }, - UniformEnum.Vec4Array, - uniform.value.length - ); - break; - case "texture": - case "storageTexture": - shaderData.setTexture( - name, - valueIsFunc - ? uniform.value - : () => { - return uniform.value; - }, - uniform?.binding, - uniform?.type, - uniform?.visibility, - uniform?.textureView - ); - break; - case "sampler": - shaderData.setSampler( - name, - valueIsFunc - ? uniform.value - : () => { - return uniform.value; - }, - uniform?.binding, - uniform?.visibility - ); - break; - default: - throw new Error("not match unifrom type"); - } -} - -const layoutCache = new Map(); -class BindGroupLayout { - constructor(device, label, entries = [], index = 0) { - this.entries = entries; - this.index = index || 0; - this.gpuBindGroupLayout = device.createBindGroupLayout({ - label: label, - entries: entries.map(({ visibility, buffer, sampler, texture, storageTexture, binding }) => ({ - binding, - visibility, - buffer, - sampler, - texture, - storageTexture - })) - }); - } - static getBindGroupLayoutFromCache(device, label, entires, index) { - if (layoutCache.has(label)) { - return layoutCache.get(label); - } else { - const bindGroupLayout = new BindGroupLayout(device, label, entires, index); - layoutCache.set(label, bindGroupLayout); - return bindGroupLayout; - } - } - static removeBindGroupLayoutFromCache(bindGroupLayout) { - layoutCache.delete(bindGroupLayout); - } -} - -class BindGroupLayoutEntry { - constructor(options) { - this.binding = options.binding; - this.visibility = options.visibility; - this.buffer = options.buffer; - this.sampler = options.sampler; - this.texture = options.texture; - this.storageTexture = options.storageTexture; - this.externalTexture = options.externalTexture; - } - getGPULayoutEntity() { - return { - binding: this.binding, - visibility: this.visibility, - buffer: this.buffer, - sampler: this.sampler, - texture: this.texture, - externalTexture: this.externalTexture, - storageTexture: this.storageTexture - }; - } -} - -class ShaderData { - constructor(label, size, layoutIndex, groupIndex) { - this.label = label; - this.currentBinding = 0; - this.defineDirty = true; - this.defines = {}; - this._uniforms = new Map(); - this.groupIndex = defaultValue(groupIndex, 0); - this.layoutIndex = defaultValue(layoutIndex, 0); - } - getUniformBuffer(name) { - return this._uniforms.get(name); - } - getTexture(name) { - return this._uniforms.get(name); - } - getSampler(name) { - return this._uniforms.get(name); - } - setUniformBuffer(name, uniformBuffer, binding) { - if (this._uniforms.get(name)) return; - uniformBuffer.binding = this.currentBinding; - this.setDefine(name.concat("Binding"), binding ?? this.currentBinding); - this.currentBinding += 1; - this._uniforms.set(name, uniformBuffer); - } - setTexture(name, value, binding, type, visibility, textureView) { - if (this._uniforms.get(name)) return; - const uniform = new UniformTexture(name, binding ?? this.currentBinding, value, type, visibility, textureView); - this.setDefine(name.concat("Binding"), binding ?? this.currentBinding); - this.currentBinding += 1; - this._uniforms.set(name, uniform); - } - setSampler(name, value, binding, visibility) { - if (this._uniforms.get(name)) return; - const uniform = new UniformSampler(name, binding ?? this.currentBinding, value, visibility); - this.setDefine(name.concat("Binding"), binding ?? this.currentBinding); - this.currentBinding += 1; - this._uniforms.set(name, uniform); - } - setDefine(name, value) { - if (this.defines[name] === undefined) { - this.defineDirty = true; - this.defines[name] = value; - } else { - if (this.defines[name] === value) { - return; - } else { - this.defineDirty = true; - this.defines[name] = value; - } - } - } - setUniformBufferValue(uniformBuffer) { - const distUbo = this._uniforms.get(uniformBuffer.name); - distUbo.setUniformsFromUniformBuffer(uniformBuffer); - } - bind(device, passEncoder) { - this.uploadUniform(device); - if (!this.groupLayout) this.groupLayout = this.createBindGroupLayout(device, this.label, this.layoutIndex); - if (!this.bindGroup) this.bindGroup = this.createBindGroup(device, this.label, this.groupIndex); - this.bindGroup.bind(passEncoder); - } - destroy() { - this._uniforms.forEach((uniform) => { - if (uniform.destroy) uniform?.destroy(); - }); - this.label = undefined; - this.currentBinding = 1; - this.defineDirty = true; - this.defines = undefined; - this._uniforms.clear(); - BindGroupLayout.removeBindGroupLayoutFromCache(this.groupLayout); - this.bindGroup = undefined; - } - createBindGroup(device, label, groupIndex) { - const { entities, dynamic, alignedSize, maxOffset } = this.createBindGroupEntity(); - const bindGroup = new BindGroup({ - label: label, - entires: entities, - device: device, - layout: this.groupLayout, - index: groupIndex || 0, - dynamic, - alignedSize, - maxOffset - }); - return bindGroup; - } - createBindGroupLayout(device, label, layoutIndex) { - const result = this.createBindGroupLayoutEntry(); - const groupLayout = BindGroupLayout.getBindGroupLayoutFromCache( - device, - label + "-" + result.uid, - result.layouts, - layoutIndex || 0 - ); - return groupLayout; - } - uploadUniform(device) { - this._uniforms.forEach((uniform) => { - uniform.bind(device); - }); - } - createBindGroupLayoutEntry() { - let uid = ""; - const result = new Map(); - this._uniforms.forEach((uniform) => { - if (!result.has(uniform.name)) { - uid = uid === "" ? uid.concat(uniform.name) : uid.concat(", ").concat(uniform.name); - result.set(uniform.name, this.createOneLayoutEntry(uniform)); - } - }); - uid = `uniforms[${uid}]`; - return { uid, layouts: [...result.values()] }; - } - createBindGroupEntity() { - const result = new Map(); - let dynamic = false, - alignedSize = 0, - maxOffset = 0; - this._uniforms.forEach((uniform) => { - if (!result.has(uniform.name)) { - if (uniform?.hasDynamicOffset) { - dynamic = true; - maxOffset = uniform.maxOffset; - alignedSize = Math.ceil(uniform.uniformsSize / (4 * 256)) * 256; - } - result.set(uniform.name, this.creayeOneGroupEntity(uniform)); - } - }); - return { - entities: [...result.values()], - dynamic, - alignedSize, - maxOffset - }; - } - createOneLayoutEntry(uniform) { - let layoutEntity; - if (uniform.isUniformBuffer) { - layoutEntity = new BindGroupLayoutEntry({ - binding: uniform.binding, - buffer: uniform.layoutType, - visibility: uniform.visibility - }); - } else if (uniform.isTexture) { - layoutEntity = new BindGroupLayoutEntry({ - binding: uniform.binding, - visibility: uniform.visibility, - texture: uniform.type == "texture" ? uniform.layoutType : undefined, - storageTexture: uniform.type == "storageTexture" ? uniform.storageTextureLayoutType : undefined - }); - } else if (uniform.isSampler) { - layoutEntity = new BindGroupLayoutEntry({ - binding: uniform.binding, - visibility: uniform.visibility, - sampler: uniform.layoutType - }); - } - return layoutEntity; - } - creayeOneGroupEntity(uniform) { - let groupEntity; - if (uniform.isUniformBuffer) { - groupEntity = new BindGroupEntity({ - binding: uniform.binding, - resource: { - buffer: uniform.buffer.gpuBuffer, - offset: uniform.offset, - size: uniform.bufferSize - } - }); - } else if (uniform.isTexture) { - groupEntity = new BindGroupEntity({ - binding: uniform.binding, - resource: uniform?.textureView ?? uniform.texture.textureView - }); - } else if (uniform.isSampler) { - groupEntity = new BindGroupEntity({ - binding: uniform.binding, - resource: uniform.sampler.gpuSampler - }); - } - return groupEntity; - } -} - -class Material { - constructor() { - this.label = undefined; - this.type = undefined; - this.baseTexture = undefined; - this.baseSampler = undefined; - this._diffuse = new Color(0.0, 0.0, 0.0); - this._opacity = 1.0; - // Buffer - this.shaderData = undefined; - this.shaderSource = undefined; - this.dirty = true; - this._emissive = new Color(0.0, 0.0, 0); - this._emissiveIntensity = 1.0; - this._doubleSided = true; - this.light = false; - this.ready = false; - this.init(); - } - set wireframe(value) { - this.renderState.primitive.topology = value ? PrimitiveTopology.LineList : PrimitiveTopology.TriangleList; - } - set topology(value) { - this.renderState.primitive.topology = value; - } - get doubleSided() { - return this._doubleSided; - } - set doubleSided(value) { - this._renderState.primitive.cullMode = value ? CullMode.None : CullMode.Back; - this._doubleSided = value; - } - get renderState() { - return this._renderState; - } - set renderState(value) { - this._renderState = value; - } - get diffuse() { - return this._diffuse; - } - set diffuse(v) { - this._diffuse = v; - } - get emissive() { - return this._emissive; - } - set emissive(v) { - this._emissive = v; - } - get emissiveIntensity() { - return this._emissiveIntensity; - } - set emissiveIntensity(v) { - this._emissiveIntensity = v; - } - get opacity() { - return this._opacity; - } - set opacity(v) { - this._opacity = v; - } - onBeforeRender() { - // callback - } - onBeforeCompile() { - // callback - } - clone() { - return null; - } - update(frameState, mesh) { - // update material - } - createShaderData() { - if (this.shaderData) this.shaderData.destroy(); - this.shaderData = new ShaderData(this.type, 0); - this.ready = true; - } - init() { - // 默认渲染状态 - const primitive = new Primitive(); - const target = new Target(); - const depthStencil = new DepthStencil(); - this._renderState = new RenderState(); - this._renderState.primitive = primitive; - this._renderState.targets = [target]; - this._renderState.depthStencil = depthStencil; - } - destroy() { - this.label = undefined; - this.type = undefined; - this.baseTexture = undefined; - this.baseSampler = undefined; - this.color = undefined; - } -} - -class ShaderMaterial extends Material { - constructor(options) { - super(); - const { type, frag, vert, defines, light, shaderId } = options; - this.type = shaderId ?? type; - this.shaderMaterialParms = options; - this.shaderSource = new ShaderSource({ - shaderId: shaderId ?? type, - render: { - fragShader: frag, - vertShader: vert - }, - defines: defaultValue(defines, {}) - }); - this.uniforms = options.uniforms; - this.light = light || false; - } - update(frameState, mesh) { - if (!this.shaderData || this.dirty) this.createShaderData(mesh); - } - clone() { - return new ShaderMaterial(this.shaderMaterialParms); - } - createShaderData(mesh) { - const { uniformBuffers, uniformTextureAndSampler } = this.shaderMaterialParms; - super.createShaderData(); - const shaderData = this.shaderData; - // fill uniformBuffer - uniformBuffers?.forEach?.((uniformBuffer) => this.createUniformBuffer(uniformBuffer, mesh)); - // fill texture and sampler - if (uniformTextureAndSampler) this.addUniformToShaderData(uniformTextureAndSampler); - return shaderData; - } - createUniformBuffer(uniformBufferParams, mesh) { - const { - type = "uniform", - usage = BufferUsage.Uniform | BufferUsage.CopyDst, - uniforms, - uid, - binding, - buffer, - bufferSize, - visibility - } = uniformBufferParams; - const uniformBuffer = new UniformBuffer({ - label: uid, - type: type, - usage: usage, - binding, - buffer, - visibility, - size: buffer?.size ?? bufferSize - }); - this.shaderData.setUniformBuffer(uid, uniformBuffer); - if (!buffer) this.addUniformToShaderData(uniforms, uniformBuffer, mesh); - } - addUniformToShaderData(uniforms, uniformBuffer, mesh) { - if (!uniforms) return; - const uniformsNames = Object.getOwnPropertyNames(uniforms); - uniformsNames.map((uniformsName) => { - addUniformToShaderData(uniformsName, uniforms[uniformsName], this.shaderData, mesh, uniformBuffer); - }); - } -} - -function createGuid() { - // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript - return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function (c) { - const r = (Math.random() * 16) | 0; - const v = c === "x" ? r : (r & 0x3) | 0x8; - return v.toString(16); - }); -} - -class Mesh extends RenderObject { - constructor(geometry, material) { - super(); - this.geometry = geometry; - this.material = material; - this.type = RenderObjectType.Mesh; - this.frustumCull = true; - this.uid = createGuid(); - this.subCommands = {}; - } - get ready() { - return this.material.ready; - } - update(frameState, camera) { - // update matrix - this.updateMatrix(this?.parent?.modelMatrix); - // create - this.geometry.update(frameState); - this.material.update(frameState, this); - // update boundingSphere - this.geometry.boundingSphere.update(this.modelMatrix); - this.material.shaderSource.setDefines(frameState.defines); - if (this.type == RenderObjectType.Debug) { - frameState.renderQueue.debugQueue.push(this); - return; - } - this.distanceToCamera = this.geometry.boundingSphere.distanceToCamera(camera); - const visibility = frameState.cullingVolume.computeVisibility(this.geometry.boundingSphere); - // 视锥剔除 - if (visibility === Intersect.OUTSIDE || !this.frustumCull) return; - if (this.material.transparent) { - frameState.renderQueue.transparent.push(this); - } else { - frameState.renderQueue.opaque.push(this); - } - } - beforeRender() { - // before render - } - afterRender() { - // after render - } - getDrawCommand(overrideMaterial, commandSubType, lightManger) { - if (!this.drawCommand || this.material.dirty) { - this.material.shaderSource.setDefines( - Object.assign({}, this.material.shaderData.defines, this.geometry.defines) - ); - if (this.material.dirty) this.material.dirty = false; - this.drawCommand = new DrawCommand({ - vertexBuffers: this.geometry.vertexBuffers, - indexBuffer: this.geometry.indexBuffer, - shaderData: this.material.shaderData, - instances: this.instanceCount, - count: this.geometry.count, - renderState: this.material.renderState, - shaderSource: this.material.shaderSource, - lightShaderData: this.material.light ? lightManger?.lightShaderData : undefined, - useLight: this.material.light - }); - } - if (overrideMaterial) { - if (!this.subCommands[commandSubType]) { - const copyMat = overrideMaterial.clone(); - copyMat.update(undefined, this); - if (copyMat.dirty) copyMat.dirty = false; - this.subCommands[commandSubType] = this.drawCommand.shallowClone(copyMat); - } - return this.subCommands[commandSubType]; - } - return this.drawCommand; - } - destroy() { - this.geometry.destroy(); - this.material.destroy(); - } -} - -class ShadowMapDebugger { - constructor(light, scene) { - if (!light || !(light instanceof Light)) throw new Error("The parameter must be Light instance"); - this.light = light; - this.scene = scene; - this.debuggerSize = { - width: 256, - height: 256 - }; - this.mesh = this._createShadowMapMesh(); - const shadowMap = this.light.shadow.getShadowMapTexture(); - this.material.shaderMaterialParms.uniformTextureAndSampler.texture.value = shadowMap; - this.mesh.type = RenderObjectType.Debug; - this.scene.add(this.mesh); - } - _createShadowMapMesh() { - const shader = getVertFrag("shadowMapDebugger", { - positionLocation: 0 - }); - this.geometry = new PlaneGeometry(2, 2); - this.material = new ShaderMaterial({ - shaderId: "shadowMapDebugger", - frag: shader.frag, - vert: shader.vert, - uniformTextureAndSampler: { - texture: { - type: "texture", - value: undefined - }, - sampler: { - type: "sampler", - value: new Sampler({ - magFilter: "linear", - minFilter: "linear" - }) - } - } - }); - this.material.renderState.viewport = new ViewPort(0, 0, this.debuggerSize.width, this.debuggerSize.height); - return new Mesh(this.geometry, this.material); - } - setSize(width, height) { - if (!width || !height) return; - this.debuggerSize.width = width; - this.debuggerSize.height = height; - this.update(); - } - update() { - this.material.renderState.viewport = new ViewPort(0, 0, this.debuggerSize.width, this.debuggerSize.height); - } -} - -class ColorMaterial extends Material { - constructor() { - super(); - this.type = "color"; - this.shaderSource = new ShaderSource({ - shaderId: this.type, - defines: {} - }); - } - update(frameState, mesh) { - if (!this.shaderData || this.dirty) this.createShaderData(); - const uniformBuffer = new UniformBuffer({ label: "color" }); - uniformBuffer.setUniform( - "modelMatrix", - () => { - return mesh.modelMatrix; - }, - UniformEnum.Mat4 - ); - this.shaderData.setUniformBuffer("color", uniformBuffer); - } -} - -class Axes extends Mesh { - constructor() { - super(); - this.type = RenderObjectType.Axes; - this.distanceToCamera = 10; - this.material = new ColorMaterial(); - this.material.wireframe = true; - this.init(); - } - update(frameState) { - this.updateMatrix(); - this.material.update(frameState, this); - frameState.renderQueue.opaque.push(this); - } - init() { - const position = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1]; - const colors = [1, 0, 0, 1, 1, 0.5, 0.5, 1, 0, 1, 0, 1, 0.5, 1, 0.5, 1, 0, 0, 1, 1, 0.5, 0.5, 1, 1]; - const indices = [0, 1, 2, 3, 4, 5]; - this.geometry = new Geometry({}); - this.geometry.setAttribute(new Float32Attribute("position", position, 3)); - this.geometry.setAttribute(new Float32Attribute("color", colors, 4)); - this.geometry.setIndice(indices); - this.geometry.count = indices.length; - } -} - -class SkyBoxGeometry extends Geometry { - constructor() { - super({ - type: "skyBoxGeometry" - }); - this.init(); - } - init() { - const positions = [ - 1.0, - 1.0, - 1.0, - -1.0, - 1.0, - 1.0, - 1.0, - -1.0, - 1.0, - -1.0, - -1.0, - 1.0, - 1.0, - 1.0, - -1.0, - -1.0, - 1.0, - -1.0, - 1.0, - -1.0, - -1.0, - -1.0, - -1.0, - -1.0 // 7 - ]; - const indices = [ - // PosX (Right) - 0, 2, 4, 6, 4, 2, - // NegX (Left) - 5, 3, 1, 3, 5, 7, - // PosY (Top) - 4, 1, 0, 1, 4, 5, - // NegY (Bottom) - 2, 3, 6, 7, 6, 3, - // PosZ (Front) - 0, 1, 2, 3, 2, 1, - // NegZ (Back) - 6, 5, 4, 5, 6, 7 - ]; - this.setAttribute(new Float32Attribute("position", positions, 3)); - this.setIndice(indices); - this.count = indices.length; - } -} - -function returnTrue() { - return true; -} -function destroyObject(object) { - // message =message||"This object was destroyed, i.e., destroy() was called."; - function throwOnDestroyed() { - throw new Error("This object was destroyed, i.e., destroy() was called."); - } - for (const key in object) { - if (typeof object[key] === "function") { - object[key] = throwOnDestroyed; - } - } - object.isDestroyed = returnTrue; - return undefined; -} - -class TextureCache { - constructor() { - this._numberOfTextures = 0; - this._textures = new Map(); - this._numberOfTextures = 0; - this._texturesToRelease = new Map(); - this.defaultSampler = new Sampler({ - magFilter: "linear", - minFilter: "linear", - addressModeU: "repeat", - addressModeV: "repeat" - }); - } - get numberOfTextures() { - return this._numberOfTextures; - } - getTexture(keyword) { - const cachedTexture = this._textures.get(keyword); - if (!defined(cachedTexture)) { - return undefined; - } - // No longer want to release this if it was previously released. - delete this._texturesToRelease[keyword]; - ++cachedTexture.count; - return cachedTexture.texture; - } - addTexture(keyword, texture) { - const cachedTexture = { - texture: texture, - count: 1 - }; - texture.finalDestroy = texture.destroy; - // const that = this; - texture.destroy = () => { - if (--cachedTexture.count === 0) { - this._texturesToRelease.set(keyword, cachedTexture); - } - }; - this._textures.set(keyword, cachedTexture); - ++this._numberOfTextures; - } - releasedTextures() { - this._texturesToRelease.forEach((cacheTexture) => { - cacheTexture.texture?.finalDestroy(); - --this._numberOfTextures; - }); - this._texturesToRelease.clear(); - } - destroy() { - this._textures.forEach((cachedTexture) => { - cachedTexture.texture?.finalDestroy(); - }); - return destroyObject(this); - } -} -const textureCache = new TextureCache(); - -async function CubeTextureLoader(urls) { - const promises = urls.map((src) => { - const img = document.createElement("img"); - img.src = src; - return img.decode().then(() => createImageBitmap(img)); - }); - const images = await Promise.all(promises); - await Promise.all(images); - const baseSampler = new Sampler({ - magFilter: "linear", - minFilter: "linear" - }); - const data = images.map((image, i) => { - return { - source: image, - width: image.width, - height: image.height, - depth: 1, - x: 0, - y: 0, - z: i - }; - }); - const baseTexture = new Texture({ - size: { - width: images[0].width, - height: images[0].height, - depth: 6 - }, - format: "rgba8unorm", - usage: GPUTextureUsage.TEXTURE_BINDING | GPUTextureUsage.COPY_DST | GPUTextureUsage.RENDER_ATTACHMENT, - data, - viewFormats: "cube", - mipLevelCount: 6, - needMipMap: true - }); - return { - texture: baseTexture, - sampler: baseSampler - }; -} - -class SkyBoxMaterial extends Material { - constructor() { - super(); - this.type = "skybox"; - this.shaderSource = new ShaderSource({ - shaderId: this.type, - defines: {} - }); - this.loadFish = false; - this.renderState.depthStencil.depthWriteEnabled = false; - this.renderState.depthStencil.depthCompare = CompareFunction.LessEqual; - } - async loadTexture(urls) { - const result = await CubeTextureLoader(urls); - this.loadFish = true; - textureCache.addTexture("specular", result.texture); - this.baseTexture = result.texture; - this.baseSampler = result.sampler; - } - update(frameState, mesh) { - if (!this.loadFish) return; - if (!this.shaderData) { - this.createShaderData(mesh); - } - } - createShaderData(mesh) { - super.createShaderData(); - const uniformBuffer = new UniformBuffer({ label: "skybox" }); - uniformBuffer.setUniform( - "modelMatrix", - () => { - return mesh.modelMatrix; - }, - UniformEnum.Mat4 - ); - this.shaderData.setUniformBuffer("skybox", uniformBuffer); - this.shaderData.setTexture("baseTexture", this.baseTexture); - this.shaderData.setSampler("baseSampler", this.baseSampler); - } -} - -class SkyBox extends Mesh { - constructor(urls) { - super(); - this.type = RenderObjectType.Skybox; - this.visibility = true; - this.material = new SkyBoxMaterial(); - if (urls) this.material.loadTexture(urls); - this.geometry = new SkyBoxGeometry(); - this.isSkyBox = true; - } - update(frameState) { - this.updateMatrix(); - this.geometry.update(frameState); - this.material.update(frameState, this); - if (this.visibility) frameState.renderQueue.pre.push(this); - } -} - -class Instance extends RenderObject { - constructor() { - super(); - this._notUpdateMatrix = false; - this.visiblity = false; - this.id = createGuid(); - } - setMatrix4(mat4) { - this.modelMatrix.set(mat4); - this._notUpdateMatrix = true; - } - updateMatrix(matrix) { - if (this._notUpdateMatrix) return; - super.updateMatrix(matrix); - } -} - -class InstanceMesh extends Mesh { - constructor(geo, mat) { - super(geo, mat); - this.instances = new Map(); - this.renderInstances = []; - this.hasAddInstances = false; - } - update(frameState, camera) { - // update instances visiblity - this.checkInstancesVisiblity({ frameState, camera }); - this.geometry.update(frameState); - this.material.update(frameState, this); - if (!this.hasAddInstances) this.addUniformsToMaterial(); - this.instanceCount = this.renderInstances.length; - if (this.renderInstances.length < 1) return; - if (this.material.transparent) { - frameState.renderQueue.transparent.push(this); - } else { - frameState.renderQueue.opaque.push(this); - } - } - addInstance(instance) { - if (this.instances.get(instance.id)) return; - this.instances.set(instance.id, instance); - } - removeInstance(key) { - return this.instances.delete(key); - } - getInstance(key) { - return this.instances.get(key); - } - checkInstancesVisiblity(options) { - const { frameState, camera } = options; - const preFrameInstanceCount = this.renderInstances.length; - this.renderInstances = []; - this.instances.forEach((instance) => { - instance.updateMatrix(this?.parent?.modelMatrix); - instance.visiblity = this.getInstanceVisiblity({ instance, frameState, camera }); - if (instance.visiblity) this.renderInstances.push(instance); - }); - this.material.dirty = this.renderInstances.length === preFrameInstanceCount; - // rebuild instanceMatrixsBuffer - if (this.material.dirty) this.hasAddInstances = false; - } - getInstanceVisiblity(options) { - const { instance, frameState, camera } = options; - this.geometry.boundingSphere.update(instance.modelMatrix); - this.distanceToCamera = this.geometry.boundingSphere.distanceToCamera(camera); - const visibility = frameState.cullingVolume.computeVisibility(this.geometry.boundingSphere); - return visibility === Intersect.INTERSECTING || visibility === Intersect.INSIDE; - } - addUniformsToMaterial() { - if (!this.material.shaderData) return; - this.hasAddInstances = true; - const instanceMatrixsBuffer = new UniformBuffer({ - label: "instanceMatrixsBuffer", - type: BufferBindingType.ReadOnlyStorage, - usage: BufferUsage.Storage | BufferUsage.CopyDst, - size: this.instances.size * 64 - }); - instanceMatrixsBuffer.setUniform( - "instanceMatrixs", - () => { - return this?.renderInstances?.map((renderInstance) => renderInstance.modelMatrix); - }, - UniformEnum.Mat4Array, - this?.renderInstances?.length - ); - this.material.shaderData.setUniformBuffer("instanceMatrixsBuffer", instanceMatrixsBuffer); - this.material.shaderData.setDefine("USE_INSTANCE", true); - this.material.shaderData.setDefine("instanceCount", this?.renderInstances?.length); - } -} - -class ComputeCommand { - constructor(options) { - this.dispatch = options.dispatch; - this.shaderData = options.shaderData; - this.shaderSource = options.shaderSource; - } - render(params) { - const { device, passEncoder } = params; - this.shaderData?.bind?.(device, passEncoder); - const pipeline = Pipeline.getComputePipelineFromCache(device, this, [this.shaderData.groupLayout]); - pipeline.bind(passEncoder); - const { x, y, z } = this.dispatch; - passEncoder.dispatchWorkgroups(x, y, z); - } -} - -class Model { - constructor(params) { - this.modelParams = params; - this.renderType = this.modelParams.compute != undefined ? "compute" : "render"; - this.vertexBuffers = new Map(); - } - render(params) { - const { device, passEncoder } = params; - if (!this.command) this.command = this.createDrawCommand(); - this.command.render({ - device, - passEncoder: passEncoder - }); - } - compute(params) { - const { device, passEncoder } = params; - if (!this.command) this.command = this.createComputeCommand(); - this.command.render({ - device, - passEncoder: passEncoder - }); - } - getVertexBufferByUid(uid) { - return this.vertexBuffers.get(uid); - } - getUniformBufferByUid(uid) { - return this.shaderData.getUniformBuffer(uid); - } - getTextureByName(name) { - return this.shaderData.getTexture(name); - } - getSamplerByName(name) { - return this.shaderData.getSampler(name); - } - destroy() { - this?.vertexBuffers.clear(); - this?.shaderData.destroy(); - this.command = null; - this.modelParams = null; - } - createDrawCommand() { - const { count, instances } = this.modelParams; - const vertexBuffers = this.createVertexBuffer(); - this.shaderData = this.createShaderData(); - const indexBuffer = this.createIndexBuffer(); - const shaderSource = this.createShaderSource(); - const renderState = this.createRenderState(); - return new DrawCommand({ - vertexBuffers, - shaderData: this.shaderData, - indexBuffer, - shaderSource, - renderState, - count, - instances - }); - } - createComputeCommand() { - const { dispatch } = this.modelParams; - const shaderData = this.createShaderData(); - const shaderSource = this.createShaderSource(); - return new ComputeCommand({ - dispatch, - shaderData, - shaderSource - }); - } - createVertexBuffer() { - const { vertexBuffers, shaderId } = this.modelParams; - let locationIndex = 0; - return ( - vertexBuffers?.map((vertexBufferObject, index) => { - const { attributes, stepMode, uid, arrayStride } = vertexBufferObject; - const vertexBuffer = new VertexBuffer({ - label: shaderId, - index, - locationIndex, - stepMode: stepMode, - arrayStride - }); - const attributeKeys = Object.keys(attributes); - attributeKeys.forEach((key) => { - const { size, value, names, itemSizes, buffer } = attributes[key]; - vertexBuffer.setAttribute( - names?.length > 0 - ? buffer - ? new BufferFloat32Attribute(names, buffer, itemSizes) - : new InterleavedFloat32Attribute(names, value, itemSizes) - : new Float32Attribute(key, value, size) - ); - const count = names?.length > 0 ? names?.length : 1; - locationIndex += count; - }); - this.vertexBuffers.set(uid, vertexBuffer); - return vertexBuffer; - }) || [] - ); - } - createShaderSource() { - const { vert, frag, compute, shaderId } = this.modelParams; - return new ShaderSource({ - shaderId, - render: { - vertShader: vert, - fragShader: frag - }, - compute: { - computeShader: compute - } - }); - } - createShaderData() { - const { shaderId, uniformBuffers, uniformTextureAndSampler } = this.modelParams; - const shaderData = new ShaderData(shaderId); - // fill uniformBuffer - uniformBuffers.forEach((uniformBuffer) => this.createUniformBuffer(uniformBuffer, shaderData, shaderId)); - // fill texture and sampler - this.addUniformToShaderData(uniformTextureAndSampler, shaderData, undefined); - return shaderData; - } - createRenderState() { - const { - blendConstant, - depthStencil, - viewPort, - scissorTest, - targets, - multiSample, - primitive, - stencilReference - } = this.modelParams.renderState; - return new RenderState({ - scissorTest: scissorTest - ? new ScissorTest(scissorTest.x, scissorTest.y, scissorTest.width, scissorTest.height) - : undefined, - viewport: viewPort ? new ViewPort(viewPort.x, viewPort.y, viewPort.width, viewPort.height) : undefined, - targets: targets?.map((target) => { - return new Target(target); - }), - depthStencil: depthStencil ? new DepthStencil(depthStencil) : undefined, - blendConstant: blendConstant - ? new BlendConstant(blendConstant.r, blendConstant.g, blendConstant.b, blendConstant.a) - : undefined, - stencilReference: stencilReference || 0, - multisample: multiSample - ? new MultiSample(multiSample.count, multiSample.mask, multiSample.alphaToCoverageEnabled) - : undefined, - primitive: primitive - ? new Primitive(primitive.topology, primitive.cullMode, primitive.frontFace, primitive.unclippedDepth) - : undefined, - stencilEnabled: false, - scissorTestEnabled: false - }); - } - createIndexBuffer() { - const { indices, shaderId } = this.modelParams; - let indexBuffer = undefined; - if (indices) { - indexBuffer = new IndexBuffer(shaderId + "IndexBuffer"); - indexBuffer.setIndices(indices); - } - return indexBuffer; - } - createUniformBuffer(uniformBufferParams, shaderData, shaderId) { - const { - type = "uniform", - usage = BufferUsage.Uniform | BufferUsage.CopyDst, - uniforms, - uid, - binding, - buffer, - bufferSize, - visibility - } = uniformBufferParams; - const uniformBuffer = new UniformBuffer({ - label: uid + "_UniformBuffer", - type: type, - usage: usage, - binding, - buffer, - visibility, - size: buffer?.size ?? bufferSize - }); - shaderData.setUniformBuffer(uid, uniformBuffer); - if (!buffer) this.addUniformToShaderData(uniforms, shaderData, uniformBuffer); - } - addUniformToShaderData(uniforms, shaderData, uniformBuffer) { - if (!uniforms) return; - const uniformsNames = Object.getOwnPropertyNames(uniforms); - uniformsNames.map((uniformsName) => { - addUniformToShaderData(uniformsName, uniforms[uniformsName], shaderData, undefined, uniformBuffer); - }); - } -} - -class SpriteGeometry extends Geometry { - constructor() { - super({ - type: "spriteGeometry" - }); - this.init(); - } - init() { - // xyz、uv - const vertices = [-0.5, -0.5, 0, 0, 0, 0.5, -0.5, 0, 1, 0, 0.5, 0.5, 0, 1, 1, -0.5, 0.5, 0, 0, 1]; - const indices = [0, 1, 2, 0, 2, 3]; - this.computeBoundingSphere(vertices, 5); - this.setAttribute(new InterleavedFloat32Attribute(["position", "uv"], vertices, [3, 2])); - this.setIndice(indices); - this.count = indices.length; - } -} - -class SpriteMaterial extends Material { - constructor() { - super(); - this.type = "sprite"; - this.shaderSource = new ShaderSource({ - shaderId: this.type, - defines: { - HAS_UV: true - } - }); - } - update(frameState, mesh) { - if (!this.shaderData || this.dirty) this.createShaderData(mesh); - } - createShaderData(mesh) { - super.createShaderData(); - const uniformBuffer = new UniformBuffer({ label: "sprite" }); - uniformBuffer.setUniform( - "modelMatrix", - () => { - return mesh.modelMatrix; - }, - UniformEnum.Mat4 - ); - uniformBuffer.setUniform("color", mesh, UniformEnum.Color); - uniformBuffer.setUniform("rotation", mesh, UniformEnum.Float); - uniformBuffer.setUniform("center", mesh, UniformEnum.FloatVec2); - uniformBuffer.setUniform("opacity", mesh, UniformEnum.Float); - this.shaderData.setUniformBuffer("sprite", uniformBuffer); - if (this.baseTexture) { - this.shaderData.setDefine("USE_COLORTEXTURE", true); - this.shaderData.setTexture("baseColorTexture", this.baseTexture); - this.shaderData.setSampler("baseColorSampler", this.baseSampler || textureCache.defaultSampler); - } - } - destroy() { - this?.baseTexture?.destroy(); - super.destroy(); - } -} - -class Sprite extends Mesh { - constructor() { - super(); - this.material = new SpriteMaterial(); - this.geometry = new SpriteGeometry(); - this.rotation = Math.PI; - this.opacity = 1; - this.center = new Vector2(0, 0); - this.color = new Color(1, 0, 0); - } - setTexture(texture) { - this.material.baseTexture = texture; - } - setSampler(sampler) { - this.material.baseSampler = sampler; - } -} - -/** - * Ensure first argument passed to the primitive functions is an object - * @param {...*} args - */ -function createBox(options) { - options = options || {}; - const dimensions = options.dimensions || [1, 1, 1]; - const position = options.position || [-dimensions[0] / 2, -dimensions[1] / 2, -dimensions[2] / 2]; - const x = position[0]; - const y = position[1]; - const z = position[2]; - const width = dimensions[0]; - const height = dimensions[1]; - const depth = dimensions[2]; - const fbl = { x: x, y: y, z: z + depth }; - const fbr = { x: x + width, y: y, z: z + depth }; - const ftl = { x: x, y: y + height, z: z + depth }; - const ftr = { x: x + width, y: y + height, z: z + depth }; - const bbl = { x: x, y: y, z: z }; - const bbr = { x: x + width, y: y, z: z }; - const btl = { x: x, y: y + height, z: z }; - const btr = { x: x + width, y: y + height, z: z }; - const positions = [ - // front - fbl.x, - fbl.y, - fbl.z, - fbr.x, - fbr.y, - fbr.z, - ftl.x, - ftl.y, - ftl.z, - ftl.x, - ftl.y, - ftl.z, - fbr.x, - fbr.y, - fbr.z, - ftr.x, - ftr.y, - ftr.z, - // right - fbr.x, - fbr.y, - fbr.z, - bbr.x, - bbr.y, - bbr.z, - ftr.x, - ftr.y, - ftr.z, - ftr.x, - ftr.y, - ftr.z, - bbr.x, - bbr.y, - bbr.z, - btr.x, - btr.y, - btr.z, - // back - fbr.x, - bbr.y, - bbr.z, - bbl.x, - bbl.y, - bbl.z, - btr.x, - btr.y, - btr.z, - btr.x, - btr.y, - btr.z, - bbl.x, - bbl.y, - bbl.z, - btl.x, - btl.y, - btl.z, - // left - bbl.x, - bbl.y, - bbl.z, - fbl.x, - fbl.y, - fbl.z, - btl.x, - btl.y, - btl.z, - btl.x, - btl.y, - btl.z, - fbl.x, - fbl.y, - fbl.z, - ftl.x, - ftl.y, - ftl.z, - // top - ftl.x, - ftl.y, - ftl.z, - ftr.x, - ftr.y, - ftr.z, - btl.x, - btl.y, - btl.z, - btl.x, - btl.y, - btl.z, - ftr.x, - ftr.y, - ftr.z, - btr.x, - btr.y, - btr.z, - // bottom - bbl.x, - bbl.y, - bbl.z, - bbr.x, - bbr.y, - bbr.z, - fbl.x, - fbl.y, - fbl.z, - fbl.x, - fbl.y, - fbl.z, - bbr.x, - bbr.y, - bbr.z, - fbr.x, - fbr.y, - fbr.z - ]; - const uvs = [ - // front - 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, - // right - 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, - // back - 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, - // left - 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, - // top - 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1, - // bottom - 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 1, 1 - ]; - const normals = [ - // front - 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, - // right - 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, - // back - 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, - // left - -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, - // top - 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, - // bottom - 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0, 0, -1, 0 - ]; - return { - positions: positions, - normals: normals, - uvs: uvs - }; -} -function createSphere(options) { - options = options || {}; - const longBands = options.longBands || 32; - const latBands = options.latBands || 32; - const radius = options.radius || 1; - const lat_step = Math.PI / latBands; - const long_step = (2 * Math.PI) / longBands; - const num_positions = longBands * latBands * 4; - const num_indices = longBands * latBands * 6; - let lat_angle, long_angle; - const positions = new Array(num_positions * 3); - const normals = new Array(num_positions * 3); - const uvs = new Array(num_positions * 2); - const indices = new Array(num_indices); - let x1, x2, x3, x4, y1, y2, z1, z2, z3, z4, u1, u2, v1, v2; - let i, j; - let k = 0, - l = 0; - let vi, ti; - for (i = 0; i < latBands; i++) { - lat_angle = i * lat_step; - y1 = Math.cos(lat_angle); - y2 = Math.cos(lat_angle + lat_step); - for (j = 0; j < longBands; j++) { - long_angle = j * long_step; - x1 = Math.sin(lat_angle) * Math.cos(long_angle); - x2 = Math.sin(lat_angle) * Math.cos(long_angle + long_step); - x3 = Math.sin(lat_angle + lat_step) * Math.cos(long_angle); - x4 = Math.sin(lat_angle + lat_step) * Math.cos(long_angle + long_step); - z1 = Math.sin(lat_angle) * Math.sin(long_angle); - z2 = Math.sin(lat_angle) * Math.sin(long_angle + long_step); - z3 = Math.sin(lat_angle + lat_step) * Math.sin(long_angle); - z4 = Math.sin(lat_angle + lat_step) * Math.sin(long_angle + long_step); - u1 = 1 - j / longBands; - u2 = 1 - (j + 1) / longBands; - v1 = 1 - i / latBands; - v2 = 1 - (i + 1) / latBands; - vi = k * 3; - ti = k * 2; - positions[vi] = x1 * radius; - positions[vi + 1] = y1 * radius; - positions[vi + 2] = z1 * radius; // v0 - positions[vi + 3] = x2 * radius; - positions[vi + 4] = y1 * radius; - positions[vi + 5] = z2 * radius; // v1 - positions[vi + 6] = x3 * radius; - positions[vi + 7] = y2 * radius; - positions[vi + 8] = z3 * radius; // v2 - positions[vi + 9] = x4 * radius; - positions[vi + 10] = y2 * radius; - positions[vi + 11] = z4 * radius; // v3 - normals[vi] = x1; - normals[vi + 1] = y1; - normals[vi + 2] = z1; - normals[vi + 3] = x2; - normals[vi + 4] = y1; - normals[vi + 5] = z2; - normals[vi + 6] = x3; - normals[vi + 7] = y2; - normals[vi + 8] = z3; - normals[vi + 9] = x4; - normals[vi + 10] = y2; - normals[vi + 11] = z4; - uvs[ti] = u1; - uvs[ti + 1] = v1; - uvs[ti + 2] = u2; - uvs[ti + 3] = v1; - uvs[ti + 4] = u1; - uvs[ti + 5] = v2; - uvs[ti + 6] = u2; - uvs[ti + 7] = v2; - indices[l] = k; - indices[l + 1] = k + 1; - indices[l + 2] = k + 2; - indices[l + 3] = k + 2; - indices[l + 4] = k + 1; - indices[l + 5] = k + 3; - k += 4; - l += 6; - } - } - return { - positions: positions, - normals: normals, - uvs: uvs, - indices: indices - }; -} - -class SphereGeometry extends Geometry { - constructor(radius) { - super({ - type: "sphereGeometry" - }); - this.defines = { - HAS_NORMAL: true - }; - this.radius = radius; - this.init(); - } - init() { - const { positions, normals, uvs, indices } = createSphere({ radius: this.radius }); - // this.positions = positions; - // this.normals = normals; - // this.uvs = uvs; - // this.indices = indices; - this.computeBoundingSphere(positions); - this.setAttribute(new Float32Attribute("position", positions, 3)); - this.setAttribute(new Float32Attribute("normal", normals, 3)); - this.setAttribute(new Float32Attribute("uv", uvs, 2)); - this.setIndice(indices); - this.count = indices.length; - } -} - -class BoxGeometry extends Geometry { - constructor(width = 10, height = 10, depth = 10) { - super({ - type: "boxGeometry" - }); - this.width = width; - this.height = height; - this.depth = depth; - this.defines = { - HAS_NORMAL: true - }; - this.init(); - } - init() { - // generate pos uv normal so on - const { positions, normals, uvs } = createBox({ - dimensions: [this.depth, this.width, this.height] - }); - this.computeBoundingSphere(positions); - this.setAttribute(new Float32Attribute("position", positions, 3)); - this.setAttribute(new Float32Attribute("normal", normals, 3)); - this.setAttribute(new Float32Attribute("uv", uvs, 2)); - this.count = 36; - } -} - -class TorusKnotGeometry extends Geometry { - constructor(radius = 1, tube = 0.4, tubularSegments = 64, radialSegments = 8, p = 2, q = 3) { - super({ - type: "torusKnotGeometry" - }); - this.defines = { - HAS_NORMAL: true - }; - this.radius = radius; - this.tube = tube; - this.tubularSegments = tubularSegments; - this.radialSegments = radialSegments; - this.p = p; - this.q = q; - this.init(); - } - init() { - const { normals, uvs, positions, indices } = this.createGeometry(); - this.computeBoundingSphere(positions); - this.setAttribute(new Float32Attribute("position", positions, 3)); - this.setAttribute(new Float32Attribute("normal", normals, 3)); - this.setAttribute(new Float32Attribute("uv", uvs, 2)); - this.setIndice(indices); - this.count = indices.length; - } - createGeometry() { - const positions = [], - normals = [], - uvs = [], - indices = []; - const tubularSegments = Math.floor(this.tubularSegments); - const radialSegments = Math.floor(this.radialSegments); - // helper variables - const vertex = new Vector3(); - const normal = new Vector3(); - const P1 = new Vector3(); - const P2 = new Vector3(); - const B = new Vector3(); - const T = new Vector3(); - const N = new Vector3(); - // generate vertices, normals and uvs - for (let i = 0; i <= tubularSegments; ++i) { - // the radian "u" is used to calculate the position on the torus curve of the current tubular segment - const u = (i / tubularSegments) * this.p * Math.PI * 2; - // now we calculate two points. P1 is our current position on the curve, P2 is a little farther ahead. - // these points are used to create a special "coordinate space", which is necessary to calculate the correct vertex positions - calculatePositionOnCurve(u, this.p, this.q, this.radius, P1); - calculatePositionOnCurve(u + 0.01, this.p, this.q, this.radius, P2); - // calculate orthonormal basis - Vector3.subtract(P2, P1, T); - // T.subVectors( P2, P1 ); - Vector3.add(P2, P1, N); - // N.addVectors( P2, P1 ); - Vector3.cross(T, N, B); - // B.crossVectors( T, N ); - Vector3.cross(B, T, N); - // N.crossVectors( B, T ); - // normalize B, N. T can be ignored, we don't use it - B.normalize(); - N.normalize(); - for (let j = 0; j <= radialSegments; ++j) { - // now calculate the vertices. they are nothing more than an extrusion of the torus curve. - // because we extrude a shape in the xy-plane, there is no need to calculate a z-value. - const v = (j / radialSegments) * Math.PI * 2; - const cx = -this.tube * Math.cos(v); - const cy = this.tube * Math.sin(v); - // now calculate the final vertex position. - // first we orient the extrusion with our basis vectors, then we add it to the current position on the curve - vertex.x = P1.x + (cx * N.x + cy * B.x); - vertex.y = P1.y + (cx * N.y + cy * B.y); - vertex.z = P1.z + (cx * N.z + cy * B.z); - positions.push(vertex.x, vertex.y, vertex.z); - // normal (P1 is always the center/origin of the extrusion, thus we can use it to calculate the normal) - Vector3.subtract(vertex, P1, normal); - normal.normalize(); - normals.push(normal.x, normal.y, normal.z); - // uv - uvs.push(i / tubularSegments); - uvs.push(j / radialSegments); - } - } - // generate indices - for (let j = 1; j <= tubularSegments; j++) { - for (let i = 1; i <= radialSegments; i++) { - // indices - const a = (radialSegments + 1) * (j - 1) + (i - 1); - const b = (radialSegments + 1) * j + (i - 1); - const c = (radialSegments + 1) * j + i; - const d = (radialSegments + 1) * (j - 1) + i; - // faces - indices.push(a, b, d); - indices.push(b, c, d); - } - } - return { - normals, - uvs, - positions, - indices - }; - } -} -function calculatePositionOnCurve(u, p, q, radius, position) { - const cu = Math.cos(u); - const su = Math.sin(u); - const quOverP = (q / p) * u; - const cs = Math.cos(quOverP); - position.x = radius * (2 + cs) * 0.5 * cu; - position.y = radius * (2 + cs) * su * 0.5; - position.z = radius * Math.sin(quOverP) * 0.5; -} - -class BlinnPhongMaterial extends Material { - constructor() { - super(); - this.type = "phong"; - this.color = new Color(1.0, 0.0, 0.0); - this.shaderSource = new ShaderSource({ - shaderId: this.type, - defines: { - materialPhong: true, - MATERIAL_PHONG: true - } - }); - this.light = true; - this.specular = new Color(1.0, 1.0, 1.0); - this.shininess = 30.0; - this.baseTexture = undefined; - this.baseSampler = undefined; - } - update(frameState, mesh) { - if (!this.shaderData || this.dirty) this.createShaderData(mesh); - } - createShaderData(mesh) { - super.createShaderData(); - const uniformBuffer = new UniformBuffer({ label: "phong" }); - uniformBuffer.setUniform( - "modelMatrix", - () => { - return mesh.modelMatrix; - }, - UniformEnum.Mat4 - ); - uniformBuffer.setUniform("color", this, UniformEnum.Color); - uniformBuffer.setUniform("opacity", this, UniformEnum.Float); - uniformBuffer.setUniform( - "normalMtrix", - () => { - return mesh.normalMatrix; - }, - UniformEnum.Mat4 - ); - uniformBuffer.setUniform("emissive", this, UniformEnum.Color); - uniformBuffer.setUniform("shininess", this, UniformEnum.Float); - uniformBuffer.setUniform("specular", this, UniformEnum.Color); - this.shaderData.setUniformBuffer("phong", uniformBuffer); - if (this.baseTexture) { - this.shaderData.setDefine("USE_COLORTEXTURE", true); - this.shaderData.setTexture("baseColorTexture", this.baseTexture); - this.shaderData.setSampler("baseColorSampler", this.baseSampler || textureCache.defaultSampler); - } - if (this.normalTexture) { - this.shaderData.setDefine("USE_NORMALTEXTURE", true); - this.shaderData.setTexture("normalTexture", this.normalTexture); - this.shaderData.setSampler("normalSampler", this.normalSampler || textureCache.defaultSampler); - } - } - destroy() { - this?.baseTexture?.destroy(); - super.destroy(); - } -} - -class PbrMaterial extends Material { - get roughness() { - return this._roughness; - } - set roughness(value) { - this._roughness = value; - } - get metalness() { - return this._metalness; - } - set metalness(v) { - this._metalness = v; - } - get aoTextureIntensity() { - return this._aoTextureIntensity; - } - set aoTextureIntensity(v) { - this._aoTextureIntensity = v; - } - get normalScale() { - if (this.renderState && this.renderState.primitive) { - if (this.renderState.primitive.cullMode == CullMode.Back) { - return Vector2.negate(this._normalScale, new Vector2()); - } - } - return this._normalScale; - } - set normalScale(v) { - this._normalScale = v; - } - set IBLRender(value) { - this._IBLRender = value; - this.shaderSource.setDefines({ - USE_IBL: this._IBLRender - }); - this.dirty = true; - } - constructor() { - super(); - this.type = "pbr_mat"; - this._roughness = 0.1; - this._metalness = 0.1; - this._aoTextureIntensity = 1.0; - this.light = true; - this._normalScale = new Vector2(1, 1); - this._IBLRender = true; - this.shaderSource = new ShaderSource({ - shaderId: this.type, - defines: { - materialPbr: true, - USE_IBL: this._IBLRender, - MATERIAL_PBR: true - } - }); - } - update(frameState, mesh) { - if (!textureCache.getTexture("specular")) return; - if (!this.shaderData || this.dirty) { - this.createShaderData(mesh); - } - } - createShaderData(mesh) { - super.createShaderData(); - const uniformBuffer = new UniformBuffer({ label: "pbr" }); - uniformBuffer.setUniform( - "modelMatrix", - () => { - return mesh.modelMatrix; - }, - UniformEnum.Mat4 - ); - uniformBuffer.setUniform("color", this, UniformEnum.Color); - uniformBuffer.setUniform("opacity", this, UniformEnum.Float); - uniformBuffer.setUniform( - "normalMtrix", - () => { - return mesh.normalMatrix; - }, - UniformEnum.Mat4 - ); - uniformBuffer.setUniform("emissive", this, UniformEnum.Color); - uniformBuffer.setUniform("metalness", this, UniformEnum.Float); - uniformBuffer.setUniform("roughness", this, UniformEnum.Float); - this.shaderData.setUniformBuffer("pbr", uniformBuffer); - this.specularEnvTexture = textureCache.getTexture("specular"); - if (this.baseTexture) { - this.shaderData.setDefine("USE_TEXTURE", true); - this.shaderData.setTexture("baseColorTexture", this.baseTexture); - this.shaderData.setSampler("baseColorSampler", this.baseSampler || textureCache.defaultSampler); - } - if (this.metalnessRoughnessTexture) { - this.shaderData.setDefine("USE_METALNESSTEXTURE", true); - this.shaderData.setTexture("metalnessRoughnessTexture", this.metalnessRoughnessTexture); - this.shaderData.setSampler( - "metalnessRoughnessSampler", - this.metalnessRoughnessSampler || textureCache.defaultSampler - ); - } - if (this.normalTexture) { - uniformBuffer.setUniform("normalScale", this, UniformEnum.FloatVec2); - this.shaderData.setDefine("USE_NORMALTEXTURE", true); - this.shaderData.setTexture("normalTexture", this.normalTexture); - this.shaderData.setSampler("normalSampler", this.normalSampler || textureCache.defaultSampler); - } - if (this.aoTexture) { - this.shaderData.setDefine("USE_AOTEXTURE", true); - this.shaderData.setTexture("aoTexture", this.aoTexture); - this.shaderData.setSampler("aoSampler", this.aoSampler || textureCache.defaultSampler); - uniformBuffer.setUniform("aoTextureIntensity", this, UniformEnum.Float); - } - if (this.emissiveTexture) { - this.shaderData.setDefine("USE_EMISSIVETEXTURE", true); - this.shaderData.setTexture("emissiveTexture", this.emissiveTexture); - this.shaderData.setSampler("emissiveSampler", this.emissiveSampler || textureCache.defaultSampler); - } - if (this.specularEnvTexture && this._IBLRender) { - this.shaderData.setTexture("specularEnvTexture", this.specularEnvTexture); - this.shaderData.setSampler("specularEnvSampler", this.specularEnvSampler || textureCache.defaultSampler); - } - } - destroy() { - this?.aoTexture?.destroy(); - this?.baseTexture?.destroy(); - this?.emissiveTexture?.destroy(); - this?.normalTexture?.destroy(); - this.specularEnvTexture = undefined; - } -} - -class EventDispatcher { - constructor() { - this._listeners = {}; - } - addEventListener(type, listener) { - if (this._listeners === undefined) this._listeners = {}; - const listeners = this._listeners; - if (listeners[type] === undefined) { - listeners[type] = []; - } - if (listeners[type].indexOf(listener) === -1) { - listeners[type].push(listener); - } - } - hasEventListener(type, listener) { - if (this._listeners === undefined) return false; - const listeners = this._listeners; - return listeners[type] !== undefined && listeners[type].indexOf(listener) !== -1; - } - removeEventListener(type, listener) { - if (this._listeners === undefined) return; - const listeners = this._listeners; - const listenerArray = listeners[type]; - if (listenerArray !== undefined) { - const index = listenerArray.indexOf(listener); - if (index !== -1) { - listenerArray.splice(index, 1); - } - } - } - dispatchEvent(event) { - if (this._listeners === undefined) return; - const listeners = this._listeners; - const listenerArray = listeners[event.type]; - if (listenerArray !== undefined) { - event.target = this; - const array = listenerArray.slice(0); - for (let i = 0, l = array.length; i < l; i++) { - array[i].call(this, event); - } - event.target = null; - } - } -} - -class RenderQueue { - constructor() { - this.pre = []; - this.opaque = []; - this.transparent = []; - this.computes = []; - this.debugQueue = []; - } - sort() { - RenderQueue.sort(this.opaque, 0, this.opaque.length, RenderQueue._compareFromNearToFar); - RenderQueue.sort(this.transparent, 0, this.transparent.length, RenderQueue._compareFromFarToNear); - } - opaqueRender(camera, context, passEncoder, replaceMaterial, commandSubType, lightManger) { - this.opaque.map((mesh) => { - if (!mesh.ready) return; - mesh.beforeRender(); - RenderQueue.excuteCommand( - mesh.getDrawCommand(replaceMaterial, commandSubType, lightManger), - context, - passEncoder, - camera - ); - mesh.afterRender(); - }); - } - transparentRender(camera, context, passEncoder, replaceMaterial, commandSubType, lightManger) { - this.transparent.map((mesh) => { - if (!mesh.ready) return; - mesh.beforeRender(); - RenderQueue.excuteCommand( - mesh.getDrawCommand(replaceMaterial, commandSubType, lightManger), - context, - passEncoder, - camera - ); - mesh.afterRender(); - }); - } - computeRender(context, passEncoder) { - this.computes.map((compute) => { - RenderQueue.excuteCompute(compute.getCommand(), context, passEncoder); - }); - } - debugQueueRender(camera, context, passEncoder, replaceMaterial, commandSubType) { - this.debugQueue.map((mesh) => { - if (!mesh.ready) return; - mesh.beforeRender(); - RenderQueue.excuteCommand( - mesh.getDrawCommand(replaceMaterial, commandSubType), - context, - passEncoder, - camera - ); - mesh.afterRender(); - }); - } - preRender(camera, context, passEncoder, replaceMaterial) { - this.pre.map((mesh) => { - if (!mesh.ready) return; - mesh.beforeRender(); - RenderQueue.excuteCommand(mesh.getDrawCommand(), context, passEncoder, camera); - mesh.afterRender(); - }); - } - static excuteCommand(command, context, passEncoder, camera) { - command.render({ - device: context.device, - passEncoder, - camera, - viewPort: context?.viewPort, - scissorTest: context?.scissorTest - }); - } - static excuteCompute(command, context, passEncoder) { - command.render({ device: context.device, passEncoder }); - } - reset() { - this.pre = []; - this.opaque = []; - this.transparent = []; - this.computes = []; - this.debugQueue = []; - } - static _compareFromNearToFar(a, b) { - return a.priority - b.priority || a.distanceToCamera - b.distanceToCamera; - } - static _compareFromFarToNear(a, b) { - return a.priority - b.priority || b.distanceToCamera - a.distanceToCamera; - } - // according to camera distance - static sort(insatnce, from, to, compareFunc) { - RenderQueue._quickSort(insatnce, from, to, compareFunc); - } - // from https://github.com/oasis-engine/engine/blob/main/packages/core/src/RenderPipeline/RenderQueue.ts - static _quickSort(a, from, to, compareFunc) { - while (true) { - // Insertion sort is faster for short arrays. - if (to - from <= 10) { - RenderQueue._insertionSort(a, from, to, compareFunc); - return; - } - const third_index = (from + to) >> 1; - // Find a pivot as the median of first, last and middle element. - let v0 = a[from]; - let v1 = a[to - 1]; - let v2 = a[third_index]; - const c01 = compareFunc(v0, v1); - if (c01 > 0) { - // v1 < v0, so swap them. - const tmp = v0; - v0 = v1; - v1 = tmp; - } // v0 <= v1. - const c02 = compareFunc(v0, v2); - if (c02 >= 0) { - // v2 <= v0 <= v1. - const tmp = v0; - v0 = v2; - v2 = v1; - v1 = tmp; - } else { - // v0 <= v1 && v0 < v2 - const c12 = compareFunc(v1, v2); - if (c12 > 0) { - // v0 <= v2 < v1 - const tmp = v1; - v1 = v2; - v2 = tmp; - } - } - // v0 <= v1 <= v2 - a[from] = v0; - a[to - 1] = v2; - const pivot = v1; - let low_end = from + 1; // Upper bound of elements lower than pivot. - let high_start = to - 1; // Lower bound of elements greater than pivot. - a[third_index] = a[low_end]; - a[low_end] = pivot; - // From low_end to i are elements equal to pivot. - // From i to high_start are elements that haven't been compared yet. - partition: for (let i = low_end + 1; i < high_start; i++) { - let element = a[i]; - let order = compareFunc(element, pivot); - if (order < 0) { - a[i] = a[low_end]; - a[low_end] = element; - low_end++; - } else if (order > 0) { - do { - high_start--; - if (high_start == i) break partition; - const top_elem = a[high_start]; - order = compareFunc(top_elem, pivot); - } while (order > 0); - a[i] = a[high_start]; - a[high_start] = element; - if (order < 0) { - element = a[i]; - a[i] = a[low_end]; - a[low_end] = element; - low_end++; - } - } - } - if (to - high_start < low_end - from) { - this._quickSort(a, high_start, to, compareFunc); - to = low_end; - } else { - this._quickSort(a, from, low_end, compareFunc); - from = high_start; - } - } - } - static _insertionSort(a, from, to, compareFunc) { - for (let i = from + 1; i < to; i++) { - let j; - const element = a[i]; - for (j = i - 1; j >= from; j--) { - const tmp = a[j]; - const order = compareFunc(tmp, element); - if (order > 0) { - a[j + 1] = tmp; - } else { - break; - } - } - a[j + 1] = element; - } - } -} - -class FrameState { - constructor(context, lightManger, options = {}) { - this.context = context; - this.lightManger = lightManger; - this.background = options.background; - this.renderQueue = new RenderQueue(); - this.geometryMemory = 0; - this.textureMemory = 0; - this.frameNumber = 0; - this._defines = {}; - this.definesDirty = true; - } - get defines() { - return this._defines; - } - set defines(value) { - this.definesDirty = true; - this._defines = combine(value, this._defines, false); - } - update(camera, options = {}) { - this.background = options.background; - this.renderQueue.reset(); - this?.lightManger?.update?.(this, camera); - this.cullingVolume = camera.getCullingVolume(); - this.frameNumber += 1; - } - resetCullingVolume(camera) { - this.cullingVolume = camera.getCullingVolume(); - } - static getFrameStateOptionsByScene(sceneInstance) { - return { - background: sceneInstance.background - }; - } -} - -class AmbientLight extends Light { - constructor(color, intensity) { - super(color, intensity); - this.lightType = LightType.AmbientLight; - this._colorAndIntensity = new Vector4(color.x, color.y, color.z, intensity); - } - get ColorAndIntensity() { - this._colorAndIntensity.set(this.color.x, this.color.y, this.color.z, this.intensity); - return this._colorAndIntensity; - } -} -// light.color ).multiplyScalar( light.intensity * scaleFactor ); - -class LightManger { - constructor(options) { - this.spotLights = []; - this.pointLights = []; - this.directLights = []; - this.ambientLight = new AmbientLight(new Vector3(1.0, 1.0, 1.0), 0.2); - this.lightCountDirty = true; - this.openShadow = options.openShadow; - } - update(frameState, camera) { - this.checkLightShadowState(); - this.updateLight(camera); - } - add(light) { - this.lightCountDirty = true; - if (light.lightType == LightType.AmbientLight) { - this.ambientLight = light; - } else if (light.lightType == LightType.DirectionalLight) { - this.directLights.push(light); - } else if (light.lightType == LightType.PointLight) { - this.pointLights.push(light); - } else if (light.lightType == LightType.SpotLight) { - this.spotLights.push(light); - } - } - remove(light) { - this.lightCountDirty = true; - if (light.lightType == LightType.AmbientLight) { - this.ambientLight = new AmbientLight(new Vector3(1.0, 1.0, 1.0), 1.0); - } else if (light.lightType == LightType.DirectionalLight) { - this.directLights.splice(this.directLights.indexOf(light), 1); - } else if (light.lightType == LightType.PointLight) { - this.pointLights.splice(this.pointLights.indexOf(light), 1); - } else if (light.lightType == LightType.SpotLight) { - this.spotLights.splice(this.spotLights.indexOf(light), 1); - } - } - checkLightShadowState() { - const lights = this.getAllLights(); - for (let i = 0; i < lights.length; i++) { - const light = lights[i]; - if (light.shadowDirty) { - light.shadowDirty = false; - this.lightCountDirty = true; - } - } - } - updateLightShadow() { - if (this.spotLightShadowMapTextureArray) this.spotLightShadowMapTextureArray.dirty = true; - if (this.pointLightShadowMapTextureArray) this.pointLightShadowMapTextureArray.dirty = true; - if (this.directLightShadowMapTextureArray) this.directLightShadowMapTextureArray.dirty = true; - } - updateLight(camera) { - if (this.lightCountDirty) { - this.lightCountDirty = false; - if (this.lightShaderData) this.lightShaderData.destroy(); - this.createLightShaderData(); - } - } - createLightShaderData() { - this.lightShaderData = new ShaderData("light", 0, 2, 2); - this.lightUniformBuffer = new UniformBuffer({ - label: "light", - type: BufferBindingType.ReadOnlyStorage, - usage: BufferUsage.Storage | BufferUsage.CopyDst - }); - this.lightShaderData.setDefine("spotLightsCount", this.spotLights.length); - this.lightShaderData.setDefine("pointLightsCount", this.pointLights.length); - this.lightShaderData.setDefine("dirtectLightsCount", this.directLights.length); - this.lightShaderData.setDefine("ambientLightCount", 1); - this.lightShaderData.setDefine("USE_SPOTLIGHT", this.spotLights.length); - this.lightShaderData.setDefine("USE_POINTLIGHT", this.pointLights.length); - this.lightShaderData.setDefine("USE_DIRTECTLIGHT", this.directLights.length); - this.lightShaderData.setDefine("USE_AMBIENTLIGHT", 1); - if (this.ambientLight) - this.lightUniformBuffer.setUniform( - "ambientLight", - () => { - return this.ambientLight.ColorAndIntensity; - }, - UniformEnum.FloatVec4 - ); - if (this.spotLights.length) { - // 初始化聚光灯 - this.lightUniformBuffer.setUniform( - "spotLights", - () => { - return this.spotLights; - }, - UniformEnum.SpotLights, - this.spotLights.length - ); - } - if (this.pointLights.length) { - // 点光源 - this.lightUniformBuffer.setUniform( - "pointLights", - () => { - return this.pointLights; - }, - UniformEnum.PointLights, - this.pointLights.length - ); - } - if (this.directLights.length) { - // 方向光 - this.lightUniformBuffer.setUniform( - "directLights", - () => { - return this.directLights; - }, - UniformEnum.DirtectLights, - this.directLights.length - ); - } - shadowShaderData: { - if (this.openShadow) { - const spotLightShadowMapTextureArray = (this.spotLightShadowMapTextureArray = - this.createShadowMapTextureArray(this.spotLights)); - const pointLightShadowMapTextureArray = (this.pointLightShadowMapTextureArray = - this.createShadowMapTextureArray(this.pointLights)); - const directLightShadowMapTextureArray = (this.directLightShadowMapTextureArray = - this.createShadowMapTextureArray(this.directLights)); - if ( - !spotLightShadowMapTextureArray && - !pointLightShadowMapTextureArray && - !directLightShadowMapTextureArray - ) - break shadowShaderData; - // define - this.lightShaderData.setDefine("openShadow", this.openShadow); - this.lightShaderData.setDefine("OPEN_SHADOW", this.openShadow); - // shadowUniformBuffer - this.shadowUniformBuffer = new UniformBuffer({ - label: "shadow", - type: BufferBindingType.ReadOnlyStorage, - usage: BufferUsage.Storage | BufferUsage.CopyDst - }); - // matrix,near,far... - const spotLightWithShadowCount = this.setShadowUniform( - "spotLightShadows", - this.spotLights, - UniformEnum.SpotLightShadows - ); - const pointLightWithShadowCount = this.setShadowUniform( - "pointLightShadows", - this.pointLights, - UniformEnum.PointLightShadows - ); - const directLightWithShadowCount = this.setShadowUniform( - "directLightShadows", - this.directLights, - UniformEnum.DirtectLightShadows - ); - this.lightShaderData.setUniformBuffer("shadow", this.shadowUniformBuffer); - this.lightShaderData.setDefine("spotLightShadowMapsCount", spotLightWithShadowCount); - this.lightShaderData.setDefine("pointLightShadowMapsCount", pointLightWithShadowCount); - this.lightShaderData.setDefine("directLightShadowMapsCount", directLightWithShadowCount); - this.lightShaderData.setDefine("USE_SPOTLIGHT_SHADOWMAP", spotLightWithShadowCount); - this.lightShaderData.setDefine("USE_POINTLIGHT_SHADOWMAP", pointLightWithShadowCount); - this.lightShaderData.setDefine("USE_DIRECTLIGHT_SHADOWMAP", directLightWithShadowCount); - // texture,sample - if (spotLightShadowMapTextureArray !== undefined) { - if (spotLightShadowMapTextureArray.textureProp.size.depth != spotLightWithShadowCount) - console.warn("spotLightShadowMap align has problem"); - this.lightShaderData.setTexture("spotLightShadowMapTextureArray", spotLightShadowMapTextureArray); - this.lightShaderData.setDefine("SPOTLIGHT_SHADOWMAP_TEXTUREARRAY", true); - // this._testTexture = spotLightShadowMapTextureArray - } - if (pointLightShadowMapTextureArray !== undefined) { - if (pointLightShadowMapTextureArray.textureProp.size.depth != pointLightWithShadowCount) - console.warn("pointLightShadowMap align has problem"); - this.lightShaderData.setTexture("pointLightShadowMapTextureArray", pointLightShadowMapTextureArray); - this.lightShaderData.setDefine("POINTLIGHT_SHADOWMAP_TEXTUREARRAY", true); - // this._testTexture = pointLightShadowMapTextureArray; - } - if (directLightShadowMapTextureArray !== undefined) { - if (directLightShadowMapTextureArray.textureProp.size.depth != directLightWithShadowCount) - console.warn("directLightShadowMap align has problem"); - this.lightShaderData.setTexture( - "directLightShadowMapTextureArray", - directLightShadowMapTextureArray - ); - this.lightShaderData.setDefine("DIRECTLIGHT_SHADOWMAP_TEXTUREARRAY", true); - // this._testTexture = directLightShadowMapTextureArray - } - this.lightShaderData.setSampler( - "shadowSampler", - new Sampler({ compare: CompareFunction.Less }, { type: SamplerBindingType.Comparison }) - ); - // this.lightShaderData.setSampler("shadowSampler", new Sampler()); - } - } - this.lightShaderData.setUniformBuffer("light", this.lightUniformBuffer); - } - getAllLights() { - const result = []; - return result.concat(this.spotLights, this.pointLights, this.directLights); - } - destroy() { - this.lightShaderData.destroy(); - this.lightUniformBuffer.destroy(); - } - createShadowMapTextureArray(lights) { - if (lights.length <= 0) return undefined; - const shadowMapSources = []; - for (let i = 0; i < lights.length; i++) { - const light = lights[i]; - if (light.shadow) { - const shadowMapTexture = light.shadow.getShadowMapTexture(); - const shadowMapSource = { - source: shadowMapTexture, - width: shadowMapTexture.textureProp.size.width, - height: shadowMapTexture.textureProp.size.height, - depth: 1, - x: 0, - y: 0, - z: i - }; - shadowMapSources.push(shadowMapSource); - } - } - if (shadowMapSources.length <= 0) return undefined; - const shadowMapTextureArray = new Texture({ - size: { - width: shadowMapSources[0].width, - height: shadowMapSources[0].height, - depth: shadowMapSources.length - }, - fixedSize: true, - sampleType: TextureSampleType.Depth, - format: TextureFormat.Depth24Plus, - usage: TextureUsage.TextureBinding | TextureUsage.CopyDst, - data: shadowMapSources, - viewFormats: TextureViewDimension.E2dArray - }); - return shadowMapTextureArray; - } - setShadowUniform(uniformName, lights, uniformType) { - if (lights.length) { - const lightWithShadowArray = []; - for (let i = 0; i < lights.length; i++) { - const light = lights[i]; - if (!light.shadow) continue; - lightWithShadowArray.push(light); - } - this.shadowUniformBuffer.setUniform( - uniformName, - () => { - return lightWithShadowArray; - }, - uniformType, - lightWithShadowArray.length - ); - return lightWithShadowArray.length; - } - } -} - -class MeshManger { - constructor() { - this._list = new Map(); - } - get length() { - return this._list.size; - } - update(frameState, camera) { - this._list.forEach((instance) => { - instance.update(frameState, camera); - }); - } - add(instance) { - if (this._list.get(instance.uid)) return this._list.get(instance.uid); - this._list.set(instance.uid, instance); - return instance; - } - remove(instance) { - if (this._list.get(instance.uid)) { - instance.destroy(); - this._list.delete(instance.uid); - return true; - } - return false; - } - contains(instance) { - return !!this._list.get(instance.uid); - } -} - -class ResolveFrame { - constructor() { - this.geometry = new Geometry({}); - this.geometry.setAttribute( - new Float32Attribute("position", [-1.0, 1.0, -1.0, -1.0, 1.0, -1.0, 1.0, -1.0, 1.0, 1.0, -1.0, 1.0], 2) - ); - this.geometry.count = 6; - const shader = getVertFrag("resolve", { positionLocation: 0 }); - this.material = new ShaderMaterial({ - shaderId: "resolve", - frag: shader.frag, - vert: shader.vert, - uniformTextureAndSampler: { - texture: { - type: "texture", - value: undefined - }, - sampler: { - type: "sampler", - value: new Sampler({ - magFilter: "linear", - minFilter: "linear" - }) - } - } - }); - this.quadMesh = new Mesh(this.geometry, this.material); - } - setSize(width, height) { - this.canvasRenderTarget.setSize(width, height); - this.material.dirty = true; - } - render(context, colorTexture) { - if (!this.canvasRenderTarget) this.initRenderTarget(context); - // this.material - this.material.shaderMaterialParms.uniformTextureAndSampler.texture.value = colorTexture; - this.material.update(undefined, this.quadMesh); - const drawComand = this.quadMesh.getDrawCommand(); - const currentRenderPassEncoder = this.canvasRenderTarget.beginRenderPass(context.device); - drawComand.render({ device: context.device, passEncoder: currentRenderPassEncoder }); - this.canvasRenderTarget.endRenderPass(); - } - initRenderTarget(context) { - const { width, height, depth } = context.presentationSize; - const colorAttachment = new Attachment( - { r: 0.0, g: 0.0, b: 0.0, a: 0 }, - { - textureView: () => { - return context.context.getCurrentTexture().createView(); - } - } - ); - const depthTexture = new Texture({ - label: "resolveDepth", - size: { width, height, depth }, - format: TextureFormat.Depth24Plus, - usage: TextureUsage.RenderAttachment - }); - const depthAttachment = new Attachment(1.0, { texture: depthTexture }); - this.canvasRenderTarget = new RenderTarget("render", [colorAttachment], depthAttachment); - } -} - -class PostEffectCollection { - constructor() { - this._postEffects = new Map(); - this.currentColorTexture = undefined; - this.resolveFrame = new ResolveFrame(); - } - add(postEffect) { - this._postEffects.set(postEffect.id, postEffect); - } - remove(postEffect) { - this._postEffects.delete(postEffect.id); - postEffect.destroy(); - } - render(context, colorTexture) { - this.currentColorTexture = colorTexture; - this._postEffects.forEach((postEffect) => { - this.currentColorTexture = postEffect.render(context, this.currentColorTexture); - }); - this.resolveFrame.render(context, this.currentColorTexture); - } - setSize(width, height) { - this._postEffects.forEach((postEffect) => postEffect.setSize(width, height)); - this.resolveFrame.setSize(width, height); - } - postEffectsSort() { - // this._postEffects.sort() - } -} - -class Pass { - constructor(context) { - this.context = context; - } - update(frameState) { - // todo; - } - setSize(width, height) { - // todo ; - } - beforeRender(options) { - this.passRenderEncoder = this.renderTarget.beginRenderPass(this.context.device); - if (this.computeTarget) - this.passComputeEncoder = this.computeTarget.beginComputePassEncoder(this.context.device); - } - getColorTexture(index = 0) { - return this.renderTarget.getColorTexture(index); - } - getDepthTexture() { - return this.renderTarget.getDepthTexture(); - } - afterRender() { - this.renderTarget.endRenderPass(); - if (this.computeTarget) this.computeTarget.endComputePassEncoder(); - } -} - -class BasicPass extends Pass { - constructor(context) { - super(context); - this.init(context); - } - beforeRender(frameState) { - this.updateRenderTarget(frameState); - super.beforeRender(); - } - render(frameState, camera) { - const { renderQueue, lightManger } = frameState; - renderQueue.sort(); - renderQueue.preRender(camera, this.context, this.passRenderEncoder); - renderQueue.transparentRender(camera, this.context, this.passRenderEncoder, undefined, undefined, lightManger); - renderQueue.opaqueRender(camera, this.context, this.passRenderEncoder, undefined, undefined, lightManger); - renderQueue.debugQueueRender(camera, this.context, this.passRenderEncoder); - } - init(context) { - this.createRenderTarget(context); - } - createRenderTarget(context) { - const { width, height, depth } = context.presentationSize; - const colorTexture = new Texture({ - label: "basicPassColor", - size: { width, height, depth }, - format: this.context.presentationFormat, - usage: TextureUsage.RenderAttachment | TextureUsage.TextureBinding - }); - const depthTexture = new Texture({ - label: "basicPassDepth", - size: { width, height, depth }, - format: TextureFormat.Depth24Plus, - usage: TextureUsage.RenderAttachment - }); - const colorAttachment = new Attachment({ r: 0.0, g: 0.0, b: 0.0, a: 0.0 }, { texture: colorTexture }); - const depthAttachment = new Attachment(1.0, { texture: depthTexture }); - this.renderTarget = new RenderTarget("render", [colorAttachment], depthAttachment); - } - setSize(width, height) { - this.renderTarget.setSize(width, height, 1); - } - updateRenderTarget(frameState) { - if (frameState?.background?.value instanceof Color) { - const { red, green, blue } = frameState.background.value; - const opacity = frameState.background?.opacity; - const clearValue = { - r: red, - g: green, - b: blue, - a: opacity ?? 1.0 - }; - this.renderTarget.colorAttachments[0].value = clearValue; - } - } -} - -/** - * A plane in Hessian Normal Form defined by - *
- * ax + by + cz + d = 0
- * 
- * where (a, b, c) is the plane's normal, d is the signed - * distance to the plane, and (x, y, z) is any point on - * the plane. - * - * @alias Plane - * @constructor - * - * @param {Vector3} normal The plane's normal (normalized). - * @param {Number} distance The shortest distance from the origin to the plane. The sign of - * @example - * // The plane x=0 - * const plane = new Plane(Vector3.UNIT_X, 0.0); - * - * @exception {DeveloperError} Normal must be normalized - */ -class Plane { - constructor(normal, distance) { - this.normal = Vector3.clone(normal); - this.distance = distance; - } - normalize() { - const inverseNormalLength = 1.0 / this.normal.length(); - this.normal = Vector3.multiplyByScalar(this.normal, inverseNormalLength, this.normal); - this.distance *= inverseNormalLength; - return this; - } - static fromPointNormal(point, normal, result) { - if (!GMath.equalsEpsilon(Vector3.magnitude(normal), 1.0, GMath.EPSILON6)) { - throw new Error("normal must be normalized."); - } - // >>includeEnd('debug'); - const distance = -Vector3.dot(normal, point); - if (!defined(result)) { - return new Plane(normal, distance); - } - Vector3.clone(normal, result.normal); - result.distance = distance; - return result; - } - static fromVector4(coefficients, result) { - const normal = Vector3.fromVector4(coefficients, scratchNormal); - const distance = coefficients.w; - // >>includeStart('debug', pragmas.debug); - if (!GMath.equalsEpsilon(Vector3.magnitude(normal), 1.0, GMath.EPSILON6)) { - throw new Error("normal must be normalized."); - } - // >>includeEnd('debug'); - if (!defined(result)) { - return new Plane(normal, distance); - } - Vector3.clone(normal, result.normal); - result.distance = distance; - return result; - } - static getPointDistance(plane, point) { - return Vector3.dot(plane.normal, point) + plane.distance; - } - static projectPointOntoPlane(plane, point, result) { - if (!defined(result)) { - result = new Vector3(); - } - // projectedPoint = point - (normal.point + scale) * normal - const pointDistance = Plane.getPointDistance(plane, point); - const scaledNormal = Vector3.multiplyByScalar(plane.normal, pointDistance, scratchCartesian); - return Vector3.subtract(point, scaledNormal, result); - } - static transform(plane, transform, result) { - const normal = plane.normal; - const distance = plane.distance; - const inverseTranspose = Matrix4.inverseTranspose(transform, scratchInverseTranspose); - let planeAsCartesian4 = Vector4.fromElements(normal.x, normal.y, normal.z, distance, scratchPlaneCartesian4); - planeAsCartesian4 = Matrix4.multiplyByVector(inverseTranspose, planeAsCartesian4, planeAsCartesian4); - // Convert the transformed plane to Hessian Normal Form - const transformedNormal = Vector3.fromVector4(planeAsCartesian4, scratchTransformNormal); - planeAsCartesian4 = Vector4.divideByScalar( - planeAsCartesian4, - Vector3.magnitude(transformedNormal), - planeAsCartesian4 - ); - return Plane.fromVector4(planeAsCartesian4, result); - } - static clone(plane, result) { - if (!defined(result)) { - return new Plane(plane.normal, plane.distance); - } - Vector3.clone(plane.normal, result.normal); - result.distance = plane.distance; - return result; - } - static equals(left, right) { - return left.distance === right.distance && Vector3.equals(left.normal, right.normal); - } -} -Plane.ORIGIN_XY_PLANE = Object.freeze(new Plane(Vector3.UNIT_Z, 0.0)); -Plane.ORIGIN_YZ_PLANE = Object.freeze(new Plane(Vector3.UNIT_X, 0.0)); -Plane.ORIGIN_ZX_PLANE = Object.freeze(new Plane(Vector3.UNIT_Y, 0.0)); -const scratchNormal = new Vector3(); -const scratchCartesian = new Vector3(); -const scratchInverseTranspose = new Matrix4(); -const scratchPlaneCartesian4 = new Vector4(); -const scratchTransformNormal = new Vector3(); - -/** - * The culling volume defined by planes. - * - * @alias CullingVolume - * @constructor - * - * @param {Vector4[]} [planes] An array of clipping planes. - */ -class CullingVolume { - constructor(planes) { - this.planes = defaultValue(planes, [ - new Plane(Vector3.UNIT_Z, 0.0), - new Plane(Vector3.UNIT_Z, 0.0), - new Plane(Vector3.UNIT_Z, 0.0), - new Plane(Vector3.UNIT_Z, 0.0), - new Plane(Vector3.UNIT_Z, 0.0), - new Plane(Vector3.UNIT_Z, 0.0) - ]); - } - /** - * Constructs a culling volume from a bounding sphere. Creates six planes that create a box containing the sphere. - * The planes are aligned to the x, y, and z axes in world coordinates. - * - * @param {BoundingSphere} boundingSphere The bounding sphere used to create the culling volume. - * @param {CullingVolume} [result] The object onto which to store the result. - * @returns {CullingVolume} The culling volume created from the bounding sphere. - */ - static fromBoundingSphere(boundingSphere, result) { - if (!defined(boundingSphere)) { - throw new Error("boundingSphere is required."); - } - if (!defined(result)) { - result = new CullingVolume(); - } - const length = faces.length; - const planes = result.planes; - planes.length = 2 * length; - const center = boundingSphere.center; - const radius = boundingSphere.radius; - let planeIndex = 0; - for (let i = 0; i < length; ++i) { - const faceNormal = faces[i]; - let plane0 = planes[planeIndex]; - let plane1 = planes[planeIndex + 1]; - if (!defined(plane0)) { - plane0 = planes[planeIndex] = new Vector4(); - } - if (!defined(plane1)) { - plane1 = planes[planeIndex + 1] = new Vector4(); - } - Vector3.multiplyByScalar(faceNormal, -radius, scratchPlaneCenter); - Vector3.add(center, scratchPlaneCenter, scratchPlaneCenter); - plane0.x = faceNormal.x; - plane0.y = faceNormal.y; - plane0.z = faceNormal.z; - plane0.w = -Vector3.dot(faceNormal, scratchPlaneCenter); - Vector3.multiplyByScalar(faceNormal, radius, scratchPlaneCenter); - Vector3.add(center, scratchPlaneCenter, scratchPlaneCenter); - plane1.x = -faceNormal.x; - plane1.y = -faceNormal.y; - plane1.z = -faceNormal.z; - plane1.w = -Vector3.dot(Vector3.negate(faceNormal, scratchPlaneNormal), scratchPlaneCenter); - planeIndex += 2; - } - return result; - } - /** - * Determines whether a bounding volume intersects the culling volume. - * - * @param {Object} boundingVolume The bounding volume whose intersection with the culling volume is to be tested. - * @returns {Intersect} Intersect.OUTSIDE, Intersect.INTERSECTING, or Intersect.INSIDE. - */ - computeVisibility(boundingVolume) { - if (!defined(boundingVolume)) { - throw new Error("boundingVolume is required."); - } - const planes = this.planes; - let intersecting = false; - for (let k = 0, len = planes.length; k < len; ++k) { - const result = boundingVolume.intersectPlane(planes[k]); - if (result === Intersect.OUTSIDE) { - return Intersect.OUTSIDE; - } else if (result === Intersect.INTERSECTING) { - intersecting = true; - } - } - return intersecting ? Intersect.INTERSECTING : Intersect.INSIDE; - } -} -CullingVolume.MASK_OUTSIDE = 0xffffffff; -CullingVolume.MASK_INSIDE = 0x00000000; -CullingVolume.MASK_INDETERMINATE = 0x7fffffff; -const faces = [new Vector3(), new Vector3(), new Vector3()]; -Vector3.clone(Vector3.UNIT_X, faces[0]); -Vector3.clone(Vector3.UNIT_Y, faces[1]); -Vector3.clone(Vector3.UNIT_Z, faces[2]); -const scratchPlaneCenter = new Vector3(); -const scratchPlaneNormal = new Vector3(); -new Vector4(); -new Plane(new Vector3(1.0, 0.0, 0.0), 0.0); - -class Camera extends RenderObject { - constructor() { - super(); - this._viewMatrix = undefined; - this.type = RenderObjectType.Camera; - this.cullingVolume = new CullingVolume(); - this._viewMatrix = new Matrix4(); - this._vpMatrix = new Matrix4(); - this.projectMatrixDirty = true; - this.createShaderData(); - } - get viewMatrix() { - this.updateMatrix(); - Matrix4.inverse(this.modelMatrix, this._viewMatrix); - return this._viewMatrix; - } - get projectionMatrix() { - this.updateProjectionMatrix(); - return this._projectionMatrix; - } - get vpMatrix() { - Matrix4.multiply(this.projectionMatrix, this.viewMatrix, this._vpMatrix); - return this._vpMatrix; - } - get inverseViewMatrix() { - this.updateMatrix(); - return this.modelMatrix; - } - updateProjectionMatrix() {} - /** - * get a culling volume for this frustum. - */ - getCullingVolume() { - const cloneViewMatrix = this.viewMatrix.clone(new Matrix4()); - const vpMatrix = Matrix4.multiply(this.projectionMatrix, cloneViewMatrix, new Matrix4()); - const planes = this.cullingVolume.planes; - const me = vpMatrix; - const me0 = me[0], - me1 = me[1], - me2 = me[2], - me3 = me[3]; - const me4 = me[4], - me5 = me[5], - me6 = me[6], - me7 = me[7]; - const me8 = me[8], - me9 = me[9], - me10 = me[10], - me11 = me[11]; - const me12 = me[12], - me13 = me[13], - me14 = me[14], - me15 = me[15]; - planes[0] = new Plane(new Vector3(me3 - me0, me7 - me4, me11 - me8), me15 - me12); - planes[0].normalize(); - planes[1] = new Plane(new Vector3(me3 + me0, me7 + me4, me11 + me8), me15 + me12); - planes[1].normalize(); - planes[2] = new Plane(new Vector3(me3 + me1, me7 + me5, me11 + me9), me15 + me13); - planes[2].normalize(); - planes[3] = new Plane(new Vector3(me3 - me1, me7 - me5, me11 - me9), me15 - me13); - planes[3].normalize(); - planes[4] = new Plane(new Vector3(me3 - me2, me7 - me6, me11 - me10), me15 - me14); - planes[4].normalize(); - planes[5] = new Plane(new Vector3(me3 + me2, me7 + me6, me11 + me10), me15 + me14); - planes[5].normalize(); - return this.cullingVolume; - } - createShaderData() { - this.shaderData = new ShaderData("camera", 0, 1, 1); - const uniformBuffer = new UniformBuffer({ label: "camera" }); - uniformBuffer.setUniform( - "projectionMatrix", - () => { - return this.projectionMatrix; - }, - UniformEnum.Mat4 - ); - uniformBuffer.setUniform( - "viewMatrix", - () => { - return this.viewMatrix; - }, - UniformEnum.Mat4 - ); - uniformBuffer.setUniform( - "inverseViewMatrix", - () => { - return this.inverseViewMatrix; - }, - UniformEnum.Mat4 - ); - uniformBuffer.setUniform( - "position", - () => { - return this.position; - }, - UniformEnum.FloatVec3 - ); - this.shaderData.setUniformBuffer("camera", uniformBuffer); - } -} - -class PerspectiveCamera extends Camera { - constructor(fov = 50, aspect = 1, near = 0.1, far = 2000) { - super(); - this._aspect = aspect; - this.fov = fov; - this.near = near; - this.far = far; - this.xOffset = 0; - this.yOffset = 0; - this.projectMatrixDirty = true; - this.updateCameraParms(); - this.cullingVolume = new CullingVolume(); - this.isPerspectiveCamera = true; - } - get aspect() { - return this._aspect; - } - set aspect(v) { - this.projectMatrixDirty = true; - this._aspect = v; - } - get fov() { - return this._fov; - } - set fov(v) { - this.projectMatrixDirty = true; - this._fov = v; - } - updateCameraParms() { - this.top = this.near * Math.tan(0.5 * GMath.RADIANS_PER_DEGREE * this.fov); - this.height = 2 * this.top; - this.width = this.aspect * this.height; - this.left = -0.5 * this.width; - } - updateProjectionMatrix() { - if (this.projectMatrixDirty) { - this.updateCameraParms(); - this._projectionMatrix = Matrix4.makePerspective( - this.left, - this.left + this.width, - this.top, - this.top - this.height, - this.near, - this.far - ); - this.projectMatrixDirty = false; - } - } -} - -class PointLightShadowCamera extends PerspectiveCamera { - constructor(fov = 50, aspect = 1, near = 0.1, far = 2000) { - super(fov, aspect, near, far); - this.vpMatrixArray = [new Matrix4(), new Matrix4(), new Matrix4(), new Matrix4(), new Matrix4(), new Matrix4()]; - } - // createShaderData() { - // this.shaderData = new ShaderData("camera", 0, 1, 1); - // const uniformBuffer = new UniformBuffer({ - // label: "pointLightShadowCamera", - // type: "read-only-storage", - // usage: BufferUsage.Storage | BufferUsage.CopyDst, - // hasDynamicOffset: true, - // minBindingSize: 64, - // maxOffset: 6, - // size: 256 * 6 - // }); - // uniformBuffer.setMatrix4Array( - // "vpMatrixArray", - // () => { - // if (this.vpMatrixArray.length != 6) throw new Error("pointLightShadowCamera uniformBuffer has Error"); - // return this.vpMatrixArray; - // }, - // 6, - // 256 - // ); - // this.shaderData.setUniformBuffer("pointLightShadowCamera", uniformBuffer); - // this.shaderData.setDefine("isPointLightShadowMap", true); - // } - createShaderData() { - this.shaderData = new ShaderData("camera", 0, 1, 1); - const uniformBuffer = new UniformBuffer({ - label: "pointLightShadowCamera", - type: "read-only-storage", - usage: BufferUsage.Storage | BufferUsage.CopyDst - }); - uniformBuffer.setUniform( - "vpMatrix", - () => { - return this.vpMatrix; - }, - UniformEnum.Mat4 - ); - this.shaderData.setUniformBuffer("pointLightShadowCamera", uniformBuffer); - this.shaderData.setDefine("isPointLightShadowMap", true); - this.shaderData.setDefine("IS_POINTLIGHT_SHADOWMAP", true); - } - updateVpMatrixArrayAndIndex(index) { - Matrix4.clone(this.vpMatrix, this.vpMatrixArray[index]); - } -} - -class BaseShadow { - constructor(shadowMapSize, camera) { - this._shadowMapSize = shadowMapSize; - this._camera = camera; - this.viewPortDirty = true; - this.vpMatrixDirty = true; - this._init(); - } - get camera() { - return this._camera; - } - get shadowMapSize() { - return this._shadowMapSize; - } - get viewports() { - return this._viewports; - } - getShadowMapTexture() { - return this._shadowMap; - } - _init() { - this._initShadowMapTexture(); - } - _initShadowMapTexture() { - this._createShadowMapTexture(); - } - _createShadowMapTexture() { - this._shadowMap = new Texture({ - size: { - width: this._shadowMapSize.x, - height: this._shadowMapSize.y, - depth: 1 - }, - fixedSize: true, - sampleType: TextureSampleType.Depth, - format: TextureFormat.Depth24Plus, - usage: TextureUsage.RenderAttachment | TextureUsage.TextureBinding | TextureUsage.CopySrc - }); - } - update(light) {} -} - -class PointLightShadow extends BaseShadow { - get camera() { - return this._camera; - } - constructor() { - const camera = new PointLightShadowCamera(90, 1, 0.1, 500); - super(new Vector2(1536, 1024), camera); - this.viewportSize = new Vector2(512, 512); - this.currentViewportIndex = 0; - this.type = "pointLightShadow"; - this.vpMatrixArrayDirty = true; - this._viewports = [ - // positive X 0 - new Vector4(0, 0, 1 / 3, 1 / 2), - // negative X 1 - new Vector4(1, 0, 1 / 3, 1 / 2), - // positive Z 2 - new Vector4(2, 0, 1 / 3, 1 / 2), - // negative Z 3 - new Vector4(0, 1, 1 / 3, 1 / 2), - // positive Y 4 - new Vector4(1, 1, 1 / 3, 1 / 2), - // negative Y 5 - new Vector4(2, 1, 1 / 3, 1 / 2) - ]; - this._pointLightShadowLookDirections = [ - new Vector3(1, 0, 0), - new Vector3(-1, 0, 0), - new Vector3(0, 0, 1), - new Vector3(0, 0, -1), - new Vector3(0, 1, 0), - new Vector3(0, -1, 0) - ]; - this._pointLightShadowUps = [ - new Vector3(0, 1, 0), - new Vector3(0, 1, 0), - new Vector3(0, 1, 0), - new Vector3(0, 1, 0), - new Vector3(0, 0, 1), - new Vector3(0, 0, -1) - ]; - } - update(light) { - this.updateMatrices(light); - } - updateMatrices(light) { - if (this.camera instanceof PointLightShadowCamera) { - this.camera.position.copy(light.position); - const target = Vector3.clone(light.position); - target.add(this._pointLightShadowLookDirections[this.currentViewportIndex]); - this.camera.up.copy(this._pointLightShadowUps[this.currentViewportIndex]); - const { x, y, z } = target; - this.camera.lookAt(x, y, z); - this.camera.updateMatrix(); - this.camera.updateVpMatrixArrayAndIndex(this.currentViewportIndex); - if (this.currentViewportIndex == 5) this.vpMatrixArrayDirty = true; - } - } -} - -class PointLight extends Light { - get shadow() { - return this._shadow; - } - set shadow(value) { - this.shadowDirty = true; - this._shadow = value; - } - constructor(color, intensity, distance = 0, decay = 4, openShadow = true) { - super(color, intensity); - this._distance = distance; - this._decay = decay; - this.distanceDirty = true; - this.decayDirty = true; - this.lightType = LightType.PointLight; - if (openShadow) this.shadow = new PointLightShadow(); - } - set distance(value) { - this.distanceDirty = true; - this._distance = value; - } - get distance() { - return this._distance; - } - set decay(value) { - this.decayDirty = true; - this._decay = value; - } - get decay() { - return this._decay; - } -} -// uniform -// color: {}, -// position: {}, -// decay: {}, -// distance: {} - -class ShadowPass extends Pass { - constructor(context) { - super(context); - this.init(context); - } - render(frameState, camera) { - const { renderQueue, context, lightManger } = frameState; - const lights = lightManger.getAllLights(); - if (lights.length === 0) return; - for (let i = 0; i < lights.length; i++) { - const light = lights[i]; - const shadow = light.shadow; - if (!shadow) continue; - // this._testTexture = context.lightManger._testTexture - // this.beforeRender({ shadow }); - if (shadow instanceof PointLightShadow && light instanceof PointLight) { - for (let i = 0; i < shadow.viewports.length; i++) { - // 动态buffer暂未调通,先以此种方式解决 - switch (i) { - case 0: - this.renderTarget.depthAttachment.op = "clear"; - break; - default: - this.renderTarget.depthAttachment.op = "load"; - break; - } - this.beforeRender({ shadow }); - const viewport = shadow.viewports[i]; - const viewportSize = shadow.viewportSize; - shadow.currentViewportIndex = i; - shadow.update(light); - // light.forceUpdate = true; - context.setViewPort( - viewport.x * viewportSize.x, - viewport.y * viewportSize.y, - viewportSize.x, - viewportSize.y - ); - context.setScissorTest( - viewport.x * viewportSize.x, - viewport.y * viewportSize.y, - viewportSize.x, - viewportSize.y - ); - this.subRender(renderQueue, shadow, lightManger); - super.afterRender(); - } - } else { - this.renderTarget.depthAttachment.op = "clear"; - this.beforeRender({ shadow }); - shadow.update(light); - context.setViewPort(0, 0, shadow.shadowMapSize.x, shadow.shadowMapSize.y); - context.setScissorTest(0, 0, shadow.shadowMapSize.x, shadow.shadowMapSize.y); - this.subRender(renderQueue, shadow, lightManger); - super.afterRender(); - } - } - // super.afterRender(); - lightManger.updateLightShadow(); - context.resetViewPortToFullCanvas(); - } - subRender(renderQueue, shadow, lightManger) { - renderQueue.sort(); - // renderQueue.preRender(shadow.camera, this.context, this.passRenderEncoder); - renderQueue.transparentRender( - shadow.camera, - this.context, - this.passRenderEncoder, - this.shadowMaterial, - CommandSubType.Shadow, - lightManger - ); - renderQueue.opaqueRender( - shadow.camera, - this.context, - this.passRenderEncoder, - this.shadowMaterial, - CommandSubType.Shadow, - lightManger - ); - } - // getDepthTexture(): Texture { - // return this._testTexture; - // } - beforeRender(options) { - const { shadow } = options; - this.setRenderTarget(shadow); - super.beforeRender(); - } - setSize(width, height) { - this.renderTarget.setSize(width, height, 1); - } - setRenderTarget(shadow) { - this.renderTarget.depthAttachment.texture = shadow.getShadowMapTexture(); - } - init(context) { - this.createRenderTarget(context); - this.createShadowMaterial(); - } - createRenderTarget(context) { - const depthAttachment = new Attachment(1.0, { texture: undefined }); - this.renderTarget = new RenderTarget("render", [], depthAttachment); - } - createShadowMaterial() { - const shadowMapShaderFunction = (defines = {}) => { - const finalDefines = Object.assign( - { - selfBinding: 0, - cameraBinding: 0, - positionLocation: 0 - }, - defines - ); - return getVertFrag("shadowMap", finalDefines).vert; - }; - this.shadowMaterial = new ShaderMaterial({ - shaderId: "shadowMaterial", - uniformBuffers: [ - { - uid: "shadow", - uniforms: { - modelMatrix: { type: "mat4x4", value: null } - } - } - ], - vert: shadowMapShaderFunction, - frag: undefined, - light: false // TODO:先true,false有显示bug - }); - } -} - -class ForwardRenderLine { - constructor(context) { - this.context = context; - this.basicPass = new BasicPass(context); - this.shadowPass = new ShadowPass(context); - } - getOutputTexture() { - return this.basicPass.getColorTexture(0); - // return this.shadowPass.getDepthTexture() - } - render(frameState, camera) { - this.shadowPass.render(frameState, camera); - this.basicPass.beforeRender(frameState); - this.basicPass.render(frameState, camera); - this.basicPass.afterRender(); - } - setSize(width, height) { - this.basicPass.setSize(width, height); - this.shadowPass.setSize(width, height); - } - destroy() { - this.basicPass = undefined; - } -} - -class Scene extends EventDispatcher { - constructor(options) { - super(); - this.container = - options.container instanceof HTMLDivElement - ? options.container - : document.getElementById(options.container); - this.meshManger = new MeshManger(); - this.postEffectCollection = new PostEffectCollection(); - this.context = new Context({ - canvas: null, - container: this.container, - pixelRatio: 1 - }); - this.requestAdapter = options.requestAdapter || {}; - this.deviceDescriptor = options.deviceDescriptor || {}; - this.presentationContextDescriptor = options.presentationContextDescriptor; - this.ready = false; - this.inited = false; - this.lightManger = new LightManger({ openShadow: true }); - this.background = options.background; - } - async init() { - await this.context.init(this.requestAdapter, this.deviceDescriptor, this.presentationContextDescriptor); - this.currentRenderPipeline = new ForwardRenderLine(this.context); - this.frameState = new FrameState(this.context, this.lightManger, FrameState.getFrameStateOptionsByScene(this)); - this.viewport = new ViewPort(0, 0, this.context.presentationSize.width, this.context.presentationSize.height); - this.ready = true; - } - add(instance) { - if ( - [RenderObjectType.Node, RenderObjectType.Skybox, RenderObjectType.Mesh, RenderObjectType.Debug].includes( - instance.type - ) - ) { - this.meshManger.add(instance); - } else if (instance.type == RenderObjectType.Light) { - this.lightManger.add(instance); - } else if (instance.type == RenderObjectType.PostEffect) { - this.postEffectCollection.add(instance); - } - } - remove(instance) { - if ([RenderObjectType.Node, RenderObjectType.Skybox, RenderObjectType.Mesh].includes(instance.type)) { - this.meshManger.remove(instance); - } else if (instance.type == RenderObjectType.Light) { - this.lightManger.remove(instance); - } else if (instance.type == RenderObjectType.PostEffect) { - this.postEffectCollection.remove(instance); - } - } - setCamera(camera) { - this.camera = camera; - } - resize(width, height) { - this.context.resize(width, height); - this?.currentRenderPipeline?.setSize(width, height); - this?.postEffectCollection?.setSize(width, height); - } - async render(node, camera) { - if (!this.inited) { - this.inited = true; - await this.init(); - this.update(node, camera); - this.afterRender(); - } else { - this.update(node, camera); - this.afterRender(); - } - } - afterRender() { - // TODO - } - setViewPort(x, y, width, height) { - if (!this.ready) return false; - this.context.setViewPort(x, y, width, height); - return true; - } - setScissorTest(x, y, width, height) { - if (!this.ready) return false; - this.context.setScissorTest(x, y, width, height); - return true; - } - update(node, camera) { - if (!this.ready) return; - // 释放纹理 - textureCache.releasedTextures(); - // 更新FrameState - this.frameState.update(camera ?? this.camera, FrameState.getFrameStateOptionsByScene(this)); - // update primitive and select - (node ?? this.meshManger).update(this.frameState, camera ?? this.camera); - // selct renderPipeline - this.currentRenderPipeline.render(this.frameState, camera ?? this.camera); - // 后处理 - this.postEffectCollection.render(this.context, this.currentRenderPipeline.getOutputTexture()); - } -} - -class PostEffect { - constructor(width, height, id) { - this.width = width; - this.height = height; - this.initDefaultParms(); - this.id = id; - this.priority = 0; - this.isPostEffect = true; - this.type = RenderObjectType.PostEffect; - } - render(context, colorTexture) { - return null; - } - setSize(width, height) { - // todo ; - } - destroy() { - this?.currentRenderTarget?.destroy(); - } - renderMesh(context) { - this.fullScreenQuad.material.dirty = true; - this.fullScreenQuad.material.update(); - const drawComand = this.fullScreenQuad.getDrawCommand(); - const currentRenderPassEncoder = this.currentRenderTarget.beginRenderPass(context.device); - drawComand.render({ device: context.device, passEncoder: currentRenderPassEncoder }); - this.currentRenderTarget.endRenderPass(); - } - initDefaultParms() { - const geometry = new Geometry({}); - geometry.setAttribute( - new Float32Attribute("position", [-1.0, 1.0, -1.0, -1.0, 1.0, -1.0, 1.0, -1.0, 1.0, 1.0, -1.0, 1.0], 2) - ); - geometry.count = 6; - // rs - const primitive = new Primitive(); - const target = new Target(); - // target.format=TextureFormat.RGBA8Unorm - const renderState = new RenderState(); - renderState.primitive = primitive; - renderState.targets = [target]; - this.renderState = renderState; - this.fullScreenQuad = new Mesh(geometry); - this.defaultSampler = new Sampler(); - } -} - -class BloomPostEffect extends PostEffect { - constructor(options) { - super(options.width, options.height, "bloom"); - this.strength = options.strength; - this.radius = options.radius; - this.threshold = options.threshold; - this.init(); - } - destroy() { - this.renderTargetBright.destroy(); - } - render(context, colorTexture) { - // 1. Extract Bright Areas - this.currentRenderTarget = this.renderTargetBright; - this.highPassUniformTextureAndSampler.tDiffuse.value = colorTexture; - this.fullScreenQuad.material = this.materialHighPassFilter; - this.renderMesh(context); - // 2. Blur All the mips progressively - let inputRenderTarget = this.renderTargetBright; - for (let i = 0; i < this.nMips; i++) { - this.fullScreenQuad.material = this.separableBlurMaterials[i]; - this.separableBlurMaterials[i].uniforms.tDiffuse.value = inputRenderTarget.getColorTexture(); - this.separableBlurMaterials[i].uniforms.direction.value = BloomPostEffect.BlurDirectionX; - this.currentRenderTarget = this.renderTargetsHorizontal[i]; - this.renderMesh(context); - this.fullScreenQuad.material = this.separableBlurYMaterials[i]; - this.separableBlurYMaterials[i].uniforms.tDiffuse.value = this.renderTargetsHorizontal[i].getColorTexture(); - this.separableBlurYMaterials[i].uniforms.direction.value = BloomPostEffect.BlurDirectionY; - this.currentRenderTarget = this.renderTargetsVertical[i]; - this.renderMesh(context); - inputRenderTarget = this.renderTargetsVertical[i]; - } - // Composite All the mips - this.fullScreenQuad.material = this.compositeMaterial; - this.currentRenderTarget = this.renderTargetsHorizontal[0]; - this.renderMesh(context); - // blend - this.blendUniformTextureAndSampler.baseColorTexture.value = colorTexture; - this.fullScreenQuad.material = this.blendMaterial; - this.currentRenderTarget = this.blendTarget; - this.renderMesh(context); - return this.currentRenderTarget.getColorTexture(); - } - setSize(width, height) { - this?.renderTargetsHorizontal?.forEach((renderTarget) => renderTarget.setSize(width, height, 1)); - this?.renderTargetsVertical?.forEach((renderTarget) => renderTarget.setSize(width, height, 1)); - this?.renderTargetBright?.setSize?.(width, height, 1); - this?.blendTarget?.setSize?.(width, height, 1); - } - init() { - this.renderTargetsHorizontal = []; - this.renderTargetsVertical = []; - this.nMips = 5; - let resx = Math.round(this.width / 2); - let resy = Math.round(this.height / 2); - this.renderTargetBright = new RenderTarget("render", [this.createColorAttachment(resx, resy)]); - for (let i = 0; i < this.nMips; i++) { - const renderTargetHorizonal = new RenderTarget("render", [this.createColorAttachment(resx, resy)]); - this.renderTargetsHorizontal.push(renderTargetHorizonal); - const renderTargetVertical = new RenderTarget("render", [this.createColorAttachment(resx, resy)]); - this.renderTargetsVertical.push(renderTargetVertical); - resx = Math.round(resx / 2); - resy = Math.round(resy / 2); - } - // luminosity high pass material - this.highPassUniformBuffer = { - uniforms: { - luminosityThreshol: { type: "float", value: this.threshold }, - smoothWidth: { type: "float", value: 0.01 }, - defaultColor: { type: "color", value: new Color(0.0, 0, 0) }, - defaultOpacity: { type: "float", value: 1.0 } - } - }; - this.highPassUniformTextureAndSampler = { - tDiffuse: { type: "texture", value: null }, - tSampler: { - type: "sampler", - value: this.defaultSampler - } - }; - const shader = getVertFrag("luminosityHigh", { positionLocation: 0 }); - this.materialHighPassFilter = new ShaderMaterial({ - shaderId: "bloom", - uniformBuffers: [this.highPassUniformBuffer], - uniformTextureAndSampler: this.highPassUniformTextureAndSampler, - vert: shader.vert, - frag: shader.frag - }); - // Gaussian Blur Materials - this.materialHighPassFilter.renderState = this.renderState; - this.separableBlurMaterials = []; - this.separableBlurYMaterials = []; - const kernelSizeArray = [3, 5, 7, 9, 11]; - resx = Math.round(this.width / 2); - resy = Math.round(this.height / 2); - for (let i = 0; i < this.nMips; i++) { - this.separableBlurMaterials.push(this.getSeperableBlurMaterial(kernelSizeArray[i], "BlurMaterial" + i)); - this.separableBlurYMaterials.push(this.getSeperableBlurMaterial(kernelSizeArray[i], "BlurMaterialY" + i)); - resx = Math.round(resx / 2); - resy = Math.round(resy / 2); - } - // Composite material - this.compositeMaterial = this.getCompositeMaterial(this.nMips, "compositeMaterial"); - this.compositeMaterial.renderState = this.renderState; - this.blendUniformTextureAndSampler = { - tDiffuse: { type: "texture", value: this.renderTargetsHorizontal[0].getColorTexture() }, - baseColorTexture: { type: "texture", value: null }, - tSampler: { - type: "sampler", - value: this.defaultSampler - } - }; - const blendShader = getVertFrag("blend", { positionLocation: 0 }); - this.blendMaterial = new ShaderMaterial({ - shaderId: "postBlend", - uniformTextureAndSampler: this.blendUniformTextureAndSampler, - vert: blendShader.vert, - frag: blendShader.frag - }); - this.blendMaterial.renderState = this.renderState; - this.blendTarget = new RenderTarget("render", [this.createColorAttachment(this.width, this.height)]); - } - createColorAttachment(width, height) { - const colorTexture = new Texture({ - size: { width, height, depth: 1 }, - format: TextureFormat.BGRA8Unorm, - usage: TextureUsage.RenderAttachment | TextureUsage.TextureBinding - }); - const colorAttachment = new Attachment({ r: 0.0, g: 0.0, b: 0.0, a: 0.0 }, { texture: colorTexture }); - return colorAttachment; - } - getCompositeMaterial(nMips, type) { - return new ShaderMaterial({ - shaderId: type, - uniformTextureAndSampler: { - blurTexture1: { type: "texture", value: this.renderTargetsVertical[0].getColorTexture() }, - blurTexture2: { type: "texture", value: this.renderTargetsVertical[1].getColorTexture() }, - blurTexture3: { type: "texture", value: this.renderTargetsVertical[2].getColorTexture() }, - blurTexture4: { type: "texture", value: this.renderTargetsVertical[3].getColorTexture() }, - blurTexture5: { type: "texture", value: this.renderTargetsVertical[4].getColorTexture() }, - tSampler: { - type: "sampler", - value: this.defaultSampler - } - }, - uniformBuffers: [ - { - uid: type, - uniforms: { - bloomStrength: { type: "f32", value: this.strength }, - bloomRadius: { type: "f32", value: this.radius }, - bloomFactors: { type: "array", value: [1.0, 0.8, 0.6, 0.4, 0.2] }, - bloomTintColors: { - type: "array", - value: [ - new Vector3(1, 1, 1), - new Vector3(1, 1, 1), - new Vector3(1, 1, 1), - new Vector3(1, 1, 1), - new Vector3(1, 1, 1) - ] - } - } - } - ], - vert: () => { - return ` - struct VertexInput { - @location(0) position: vec2, - } - struct VertexOutput { - @builtin(position) position: vec4, - @location(0) uv: vec2, - }; - @vertex - fn main(input: VertexInput) -> VertexOutput { - var output:VertexOutput; - output.uv = input.position * 0.5 + 0.5; - output.position = vec4(input.position, 0.0, 1.0);; - return output; - } - `; - }, - frag: (defines) => { - return ` - struct FragInput { - @location(0) uv: vec2, - }; - struct BloomUniforms{ - bloomStrength:f32, - bloomRadius:f32, - bloomFactors : array, - bloomTintColors : array,5> - } - @group(0) @binding(0) var bloomUniforms : BloomUniforms; - - @group(0) @binding(blurTexture1Binding) var blurTexture1: texture_2d; - @group(0) @binding(blurTexture2Binding) var blurTexture2: texture_2d; - @group(0) @binding(blurTexture3Binding) var blurTexture3: texture_2d; - @group(0) @binding(blurTexture4Binding) var blurTexture4: texture_2d; - @group(0) @binding(blurTexture5Binding) var blurTexture5: texture_2d; - @group(0) @binding(tSamplerBinding) var tSampler: sampler; - - fn lerpBloomFactor(factor:f32)->f32 { - let mirrorFactor:f32 = 1.2 - factor; - return mix(factor, mirrorFactor, bloomUniforms.bloomRadius); - } - @fragment - fn main(input:FragInput)-> @location(0) vec4 { - return bloomUniforms.bloomStrength * ( lerpBloomFactor(bloomUniforms.bloomFactors[0]) * vec4(bloomUniforms.bloomTintColors[0], 1.0) * textureSample(blurTexture1, tSampler, input.uv) + - lerpBloomFactor(bloomUniforms.bloomFactors[1]) * vec4(bloomUniforms.bloomTintColors[1], 1.0) * textureSample(blurTexture2, tSampler, input.uv) + - lerpBloomFactor(bloomUniforms.bloomFactors[2]) * vec4(bloomUniforms.bloomTintColors[2], 1.0) * textureSample(blurTexture3, tSampler, input.uv) + - lerpBloomFactor(bloomUniforms.bloomFactors[3]) * vec4(bloomUniforms.bloomTintColors[3], 1.0) * textureSample(blurTexture4, tSampler, input.uv) + - lerpBloomFactor(bloomUniforms.bloomFactors[4]) * vec4(bloomUniforms.bloomTintColors[4], 1.0) * textureSample(blurTexture5, tSampler, input.uv) ); - }`; - } - }); - } - getSeperableBlurMaterial(kernelRadius, type) { - const shader = getVertFrag("blur", { - kernelRadius: kernelRadius, - sigmaConst: kernelRadius, - positionLocation: 0 - }); - const mat = new ShaderMaterial({ - shaderId: type, - uniformBuffers: [ - { - uid: type, - uniforms: { - direction: { type: "vec2", value: new Vector2(0.0, 0.0) } - } - } - ], - uniformTextureAndSampler: { - tDiffuse: { type: "texture", value: null }, - tSampler: { - type: "sampler", - value: this.defaultSampler - } - }, - vert: shader.vert, - frag: shader.frag - }); - mat.renderState = this.renderState; - return mat; - } -} -BloomPostEffect.BlurDirectionX = new Vector2(1.0, 0.0); -BloomPostEffect.BlurDirectionY = new Vector2(0.0, 1.0); - -class OrthographicCamera extends Camera { - constructor(left = -1, right = 1, top = 1, bottom = -1, near = 0.1, far = 2000) { - super(); - this.near = near; - this.far = far; - this.left = left; - this.top = top; - this.bottom = bottom; - this.right = right; - this.isOrthographicCamera = true; - } - updateCameraParms() { - const dx = (this.right - this.left) / 2; - const dy = (this.top - this.bottom) / 2; - const cx = (this.right + this.left) / 2; - const cy = (this.top + this.bottom) / 2; - return { - left: cx - dx, - right: cx + dx, - top: cy + dy, - bottom: cy - dy - }; - } - updateProjectionMatrix() { - if (this.projectMatrixDirty) { - const { left, right, top, bottom } = this.updateCameraParms(); - this._projectionMatrix = Matrix4.makeOrthographic(left, right, top, bottom, this.near, this.far); - this.projectMatrixDirty = false; - } - } -} - -class SpotLightShadow extends BaseShadow { - constructor() { - const camera = new PerspectiveCamera(60, 1, 0.1, 500); - super(new Vector2(1024, 1024), camera); - this.type = "spotLightShadow"; - } - update(light) { - this.updateMatrices(light); - } - updateMatrices(light) { - this.camera.position.copy(light.position); - const { x, y, z } = light.target; - this.camera.lookAt(x, y, z); - this.camera.updateMatrix(); - this.vpMatrixDirty = true; - } -} - -class SpotLight extends Light { - constructor(color, intensity, distance = 0, angle = 60, penumbra = 60, decay = 4, openShadow = true) { - super(color, intensity); - this._distance = distance; - this._angle = (angle / 180) * Math.PI; - this._penumbra = (penumbra / 180) * Math.PI; - this._decay = decay; - this.lightType = LightType.SpotLight; - this.angleDirty = true; - this.penumbraDirty = true; - this.distanceDirty = true; - this.decayDirty = true; - this.coneCosDirty = true; - this.penumbraCosDirty = true; - if (openShadow) this.shadow = new SpotLightShadow(); - this.updateConeCosOrPenumbraCos(); - } - get dirtectDirty() { - return this.positionDirty || this.targetDirty; - } - set dirtectDirty(value) { - this.positionDirty = value; - this.targetDirty = value; - } - get directional() { - const result = new Vector3(); - Vector3.subtract(this.position, this.target, result); - return Vector3.normalize(result, new Vector3()); - } - get angle() { - return this._angle; - } - set angle(value) { - this.angleDirty = true; - this._angle = (value / 180) * Math.PI; - this.updateConeCosOrPenumbraCos(); - } - get penumbra() { - return this._penumbra; - } - set penumbra(value) { - this.penumbraDirty = true; - this._penumbra = (value / 180) * Math.PI; - this.updateConeCosOrPenumbraCos(); - } - set distance(value) { - this.distanceDirty = true; - this._distance = value; - } - get distance() { - return this._distance; - } - set decay(value) { - this.decayDirty = true; - this._decay = value; - } - get decay() { - return this._decay; - } - set coneCos(value) { - this.coneCosDirty = true; - this._coneCos = value; - } - get coneCos() { - return this._coneCos; - } - set penumbraCos(value) { - this.penumbraCosDirty = true; - this._penumbraCos = value; - } - get penumbraCos() { - return this._penumbraCos; - } - updateConeCosOrPenumbraCos() { - this._coneCos = Math.cos(this.angle); - this._penumbraCos = Math.cos(this.angle + this.penumbra); - } -} -// uniform -// color: {}, -// position: {}, -// direction: {}, -// distance: {}, -// coneCos: {}, -// penumbraCos: {}, -// decay: {} - -class DirectionalLightShadow extends BaseShadow { - constructor() { - const camera = new OrthographicCamera(-50, 50, 50, -50, 0, 100); - super(new Vector2(1024, 1024), camera); - this.type = "directionalLightShadow"; - } - update(light) { - this.updateMatrices(light); - } - updateMatrices(light) { - this.camera.position.copy(light.position); - const { x, y, z } = light.target; - this.camera.lookAt(x, y, z); - this.camera.updateMatrix(); - this.vpMatrixDirty = true; - } -} - -class DirectionalLight extends Light { - constructor(color, intensity, openShadow = true) { - super(color, intensity); - this.lightType = LightType.DirectionalLight; - if (openShadow) this.shadow = new DirectionalLightShadow(); - } - get dirtectDirty() { - return this.positionDirty || this.targetDirty; - } - set dirtectDirty(value) { - this.positionDirty = value; - this.targetDirty = value; - } - get directional() { - const result = new Vector3(); - Vector3.subtract(this.target, this.position, result); - return result.normalize(); - } -} -// uniform -// direction: {}, -// color: {} - -class Node extends RenderObject { - constructor() { - super(); - this.type = RenderObjectType.Node; - this.children = new Map(); - this.parent = null; - this.uid = createGuid(); - } - add(node) { - node.parent = this; - this.children.set(node.uid, node); - } - remove(node) { - this.children.delete(node.uid); - } - update(frameState, camera) { - this.updateMatrix(this?.parent?.modelMatrix?.clone()); - this?.children?.forEach?.((node) => { - node.update(frameState, camera); - }); - } - destroy() { - this.children.forEach((node) => { - node.destroy(); - }); - this?.children?.clear(); - } - traverse(traverseFunction, param) { - for (let i = 0, len = this.children.size; i < len; i++) { - this.children.forEach((child) => { - child.traverse(traverseFunction, param); - }); - } - } -} - -class SKinMesh extends Mesh { - constructor(geometry, material) { - super(geometry, material); - this.type = RenderObjectType.SkinMesh; - this.uniformMatrixs = []; - this.hasAddJoints = false; - } - setSkinData(data) { - this.inverseBindMatrices = data.inverseBindMatrices; - this.joints = data.joints; - } - update(frameState, camera) { - this.uniformMatrixs = this.joints.map((joint) => joint.modelMatrix); - super.update(frameState, camera); - if (!this.hasAddJoints) this.addUniformsToMaterial(); - } - addUniformsToMaterial() { - if (!this.material.shaderData) return; - this.hasAddJoints = true; - if (this.joints) { - const skinJointsBuffer = new UniformBuffer({ - label: "skinJointsBuffer", - type: BufferBindingType.ReadOnlyStorage, - usage: BufferUsage.Storage | BufferUsage.CopyDst, - size: 3000 - }); - const invsBuffer = new UniformBuffer({ - label: "invsBuffer", - type: BufferBindingType.ReadOnlyStorage, - usage: BufferUsage.Storage | BufferUsage.CopyDst, - size: 3000 - }); - skinJointsBuffer.setUniform( - "joints", - () => { - return this.uniformMatrixs; - }, - UniformEnum.Mat4Array, - this.uniformMatrixs.length - ); - invsBuffer.setUniform( - "jointsInv", - () => { - return this.inverseBindMatrices; - }, - UniformEnum.Mat4Array, - this.inverseBindMatrices.length - ); - this.material.shaderData.setUniformBuffer("skinJointsBuffer", skinJointsBuffer); - this.material.shaderData.setUniformBuffer("invsBuffer", invsBuffer); - } - } -} - -function newTypedArray(type, buffer, byteOffset, length) { - switch (type) { - case 5120: - return new Int8Array(buffer, byteOffset, length); - case 5121: - return new Uint8Array(buffer, byteOffset, length); - case 5122: - return new Int16Array(buffer, byteOffset, length); - case 5123: - return new Uint16Array(buffer, byteOffset, length); - case 5124: - return new Int32Array(buffer, byteOffset, length); - case 5125: - return new Uint32Array(buffer, byteOffset, length); - case 5126: - return new Float32Array(buffer, byteOffset, length); - default: - throw new Error("invalid component type"); - } -} -function toIndices(array) { - if (array instanceof Uint16Array || array instanceof Uint32Array) { - return array; - } - let toArray; - if (array instanceof Float32Array) { - toArray = new Uint32Array(array.length); - } else { - let max = 0; - for (let i = 0; i < array.length; i++) { - max = max < array[i] ? array[i] : max; - } - if (max < 65536) { - toArray = new Uint16Array(array.length); - } else { - toArray = new Uint32Array(array.length); - } - } - array.forEach((element, index) => { - toArray[index] = element; - }); - return toArray; -} -function generateNormals(indices, positions) { - const normals = new Float32Array(positions.length); - const vertexCount = indices ? indices.length : positions.length; - for (let i = 0; i < vertexCount; i += 3) { - const triIndices = []; - for (let n = 0; n < 3; n += 1) { - if (indices) { - triIndices.push(indices[i + n]); - } else { - triIndices.push(i + n); - } - } - const triangle = triIndices.map((vertexIndex) => { - const index = vertexIndex * 3; - return new Vector3(positions[index], positions[index + 1], positions[index + 2]); - }); - const dv1 = new Vector3(); - Vector3.subtract(triangle[1], triangle[0], dv1); - const dv2 = new Vector3(); - Vector3.subtract(triangle[2], triangle[0], dv2); - const normal = new Vector3(); - Vector3.cross(dv1.normalize(), dv2.normalize(), normal); - for (let n = 0; n < 3; n += 1) { - const index = (i + n) * 3; - normals[index + 0] += normal.x; - normals[index + 1] += normal.y; - normals[index + 2] += normal.z; - } - } - return normals; -} -const gltfEnum = { - SCALAR: 1, - VEC2: 2, - VEC3: 3, - VEC4: 4, - MAT2: 4, - MAT3: 9, - MAT4: 16, - 5120: 1, - 5121: 1, - 5122: 2, - 5123: 2, - 5125: 4, - 5126: 4, - 9728: "nearest", - 9729: "linear", - 9984: "linear", - 9985: "linear", - 9986: "linear", - 9987: "linear", - 33071: "clamp-to-edge", - 33648: "mirror-repeat", - 10497: "repeat" -}; - -class Accessor { - constructor(options) { - this.values = options.values ?? []; - this.id = options.id; - this.count = options.count; - this.componentType = options.componentType; - this.type = options.type; - this.min = options.min; - this.max = options.max; - } - getArray() { - return Array.from(this.values); - } - getVec4Array() { - const result = []; - for (let i = 0; i < this.values.length; i += 4) { - result.push(new Vector4(this.values[i], this.values[i + 1], this.values[i + 2], this.values[i + 3])); - } - return result; - } - getMat4Array() { - const result = []; - for (let i = 0; i < this.values.length; i += 16) { - const mat4 = new Matrix4(); - Matrix4.fromColumnMajorArray(this.values.slice(i, i + 16), mat4); - result.push(mat4); - } - return result; - } -} - -class Animation { - constructor(name, samplers, channels) { - this.name = name; - this.samplers = samplers; - this.channels = channels; - } - play(time) { - let node, animationSampler, target; - this?.channels?.map((channel) => { - animationSampler = channel.sampler; - animationSampler.getValue(time); - target = channel.target; - node = target.node; - switch (target.path) { - case "rotation": - Quaternion.clone(animationSampler.currentValue, node.quaternion); - break; - case "translation": - Vector4.clone(animationSampler.currentValue, node.position); - break; - case "scale": - Vector4.clone(animationSampler.currentValue, node.scale); - break; - } - }); - } -} - -class AnimationChannel { - constructor() {} -} - -class AnimationChannelTarget { - constructor(node, path) { - this.node = node; - this.path = path; - } -} - -var Type2NumOfComponent; -(function (Type2NumOfComponent) { - Type2NumOfComponent[(Type2NumOfComponent["SCALAR"] = 1)] = "SCALAR"; - Type2NumOfComponent[(Type2NumOfComponent["VEC2"] = 2)] = "VEC2"; - Type2NumOfComponent[(Type2NumOfComponent["VEC3"] = 3)] = "VEC3"; - Type2NumOfComponent[(Type2NumOfComponent["VEC4"] = 4)] = "VEC4"; - Type2NumOfComponent[(Type2NumOfComponent["MAT2"] = 4)] = "MAT2"; - Type2NumOfComponent[(Type2NumOfComponent["MAT3"] = 9)] = "MAT3"; - Type2NumOfComponent[(Type2NumOfComponent["MAT4"] = 16)] = "MAT4"; -})(Type2NumOfComponent || (Type2NumOfComponent = {})); - -class AnimationSampler { - constructor() {} - formGltf(gltf, sampler) { - this.input = gltf.accessors[sampler.input].values; //required, accessor object - this.output = gltf.accessors[sampler.output].values; //required, accessor object - this.interpolation = sampler.interpolation !== undefined ? sampler.interpolation : "LINEAR"; - this.currentIndex = 0; - // this.currentValue=new Vector4(); - this.endTime = this.input[this.input.length - 1]; - this.inputMax = this.endTime - this.input[0]; - this.inputType = gltf?.json?.accessors[sampler.input]?.type; - this.outputType = gltf?.json?.accessors[sampler.output]?.type; - } - getValue(time) { - if (time > this.endTime) { - time -= this.inputMax * Math.ceil((time - this.endTime) / this.inputMax); - this.currentIndex = 0; - } - const len = this.input.length; - while (this.currentIndex <= len - 2 && time >= this.input[this.currentIndex + 1]) { - this.currentIndex++; - } - if (this.currentIndex >= len - 1) { - // loop - time -= this.inputMax; - this.currentIndex = 0; - } - // @tmp: assume no stride - const count = Type2NumOfComponent[this.outputType]; - const animationOutputValueVec4a = count === 4 ? new Quaternion() : new Vector4(); - const animationOutputValueVec4b = count === 4 ? new Quaternion() : new Vector4(); - if (!this.currentValue) this.currentValue = count === 4 ? new Quaternion() : new Vector4(); - const i = this.currentIndex; - const o = i * count; - const on = o + count; - const u = Math.max(0, time - this.input[i]) / (this.input[i + 1] - this.input[i]); - animationOutputValueVec4a.set(this.output[o + 0], this.output[o + 1], this.output[o + 2], this.output[o + 3]); - animationOutputValueVec4b.set( - this.output[on + 0], - this.output[on + 1], - this.output[on + 2], - this.output[on + 3] - ); - switch (this.interpolation) { - case "LINEAR": - count === 4 - ? Quaternion.slerp(animationOutputValueVec4a, animationOutputValueVec4b, u, this.currentValue) - : Vector4.lerp(animationOutputValueVec4a, animationOutputValueVec4b, u, this.currentValue); - break; - } - } -} - -class GLTF { - constructor(json, rootUrl, glbOffset = 0, glbBin) { - this.json = json; - this.bufferViews = json.bufferViews; - this.glbOffset = glbOffset; - this.rootUrl = rootUrl; - this.scenes = json.scenes; - this.cameras = json.cameras || []; - this.glbBin = glbBin; - this.meshes = []; - } - async parseData() { - this.buffers = await this.loadBuffes(); - this.images = await this.loadImages(); - this.parseSamplers(); - this.parseTextures(); - this.parseMaterials(); - this.parseAccessors(); - this.parseMeshs(); - this.parseNodes(); - this.normalizeData(); - this.parseScenes(); - this.parseAnimations(); - } - getAccessor(index) { - return this.accessors[index]; - } - parseSamplers() { - this.samplers = this.json.samplers ? this.json.samplers.map((sampler) => this.getSampler(sampler)) : []; - } - parseScenes() { - this.scenes = this.json.scenes.map((scene) => { - const nodes = scene?.nodes?.map((nodeId) => { - return this.nodes[nodeId]; - }); - return nodes; - }); - } - parseTextures() { - this.textures = this.json.textures - ? this.json.textures.map((texture) => { - return { - sampler: texture.sampler !== undefined ? this.samplers[texture.sampler] : this.getSampler({}), - texture: this.createTexture(texture.source) - }; - }) - : []; - } - parseMaterials() { - this.materials = this.json.materials - ? this.json.materials.map((material) => { - const mat = new PbrMaterial(); - const { - baseColorFactor, - metallicFactor, - metallicRoughnessTexture, - baseColorTexture, - roughnessFactor - } = material.pbrMetallicRoughness; - if (material.normalTexture) mat.normalTexture = this.textures[material.normalTexture.index].texture; - if (material.occlusionTexture) - mat.aoTexture = this.textures[material.occlusionTexture.index].texture; - if (material.emissiveTexture) - mat.emissiveTexture = this.textures[material.emissiveTexture.index].texture; - if (baseColorTexture) mat.baseTexture = this.textures[baseColorTexture.index].texture; - if (metallicRoughnessTexture) - mat.metalnessRoughnessTexture = this.textures[metallicRoughnessTexture.index].texture; - if (baseColorFactor) - mat.color = new Color(baseColorFactor[0], baseColorFactor[1], baseColorFactor[2]); - mat.metalness = metallicFactor ?? 1.0; - mat.roughness = roughnessFactor ?? 0.0; - mat.baseSampler = new Sampler({ - magFilter: "linear", - minFilter: "linear", - addressModeU: "repeat", - addressModeV: "repeat" - }); - return mat; - }) - : []; - } - parseAccessors() { - this.accessors = this.json.accessors.map((accessor, index) => { - const n = gltfEnum[accessor.type]; - let array; - if (accessor.bufferView === undefined) { - array = newTypedArray( - accessor.componentType, - new ArrayBuffer(n * accessor.count * gltfEnum[accessor.componentType]), - 0, - accessor.count * n - ); - } else { - array = this.getBufferView(accessor, n); - } - if (accessor.sparse) { - accessor.sparse.indices.count = accessor.sparse.count; - accessor.sparse.values.count = accessor.sparse.count; - accessor.sparse.values.componentType = accessor.componentType; - const indices = this.getBufferView(accessor.sparse.indices, 1); - const values = this.getBufferView(accessor.sparse.values, n); - for (let i = 0; i < accessor.sparse.count; i += 1) { - for (let j = 0; j < n; j += 1) { - array[indices[i] * n + j] = values[i * n + j]; - } - } - } - return new Accessor({ - componentType: gltfEnum[accessor.componentType], - count: accessor.count, - type: n, - values: array, - id: index, - min: accessor?.min, - max: accessor?.max - }); - }); - } - parseAnimations() { - this.animations = this?.json?.animations?.map((gltfAnimation, index) => { - const samplers = gltfAnimation?.samplers?.map((gltfSampler) => { - const sampler = new AnimationSampler(); - sampler.formGltf(this, gltfSampler); - return sampler; - }); - const channels = gltfAnimation?.channels?.map((gltfChannel) => { - const animationChannel = new AnimationChannel(); - animationChannel.sampler = samplers[gltfChannel.sampler]; - animationChannel.target = new AnimationChannelTarget( - this.nodes[gltfChannel.target.node], - gltfChannel.target.path - ); - return animationChannel; - }); - const animation = new Animation(index.toString(), samplers, channels); - return animation; - }); - } - parseMeshs() { - this.meshes = this?.json?.meshes?.map?.((gltfmesh) => { - return { - name: gltfmesh.name, - primitives: gltfmesh?.primitives?.map?.((primitive) => { - const material = - primitive.material !== undefined - ? this.materials[primitive.material] - : { pbrMetallicRoughness: {} }; - const geo = this.createGeometry(primitive, material); - const mesh = new Mesh(geo, material); - mesh.name = gltfmesh.name; - return mesh; - }) - }; - }); - } - getSampler(samplerJson) { - return new Sampler({ - magFilter: gltfEnum[samplerJson.magFilter || 9729], - minFilter: gltfEnum[samplerJson.minFilter || 9729], - addressModeU: gltfEnum[samplerJson.wrapS || 10497], - addressModeV: gltfEnum[samplerJson.wrapT || 10497] - }); - } - getBufferView(accessor, n) { - const bufferView = this.bufferViews[accessor.bufferView]; - const offset = (bufferView.byteOffset || 0) + (accessor.byteOffset || 0); - const stride = Math.max(bufferView.byteStride / 4 || 0, n); - let array = newTypedArray( - accessor.componentType, - this.buffers[bufferView.buffer], - bufferView.buffer === 0 ? offset + this.glbOffset : offset, - (accessor.count - 1) * stride + n - ); - if (stride > n) { - const TypedArrayConstructor = array.constructor; - const strided = new TypedArrayConstructor(accessor.count * n); - for (let i = 0, j = 0; i < strided.length; i += n, j += stride) { - for (let k = 0; k < n; k += 1) { - strided[i + k] = array[j + k]; - } - } - array = strided; - } - return array; - } - createGeometry(primitive, material) { - let indices = null; - let accessor = null; - const defines = { HAS_NORMAL: true }; - let vertexCount; - accessor = this.getAccessor(primitive.attributes.POSITION); - const positions = accessor.getArray(); - vertexCount = accessor.count; - // const { max, min } = accessor; - // const boundingBox = { max, min }; - if (primitive.indices !== undefined) { - accessor = this.getAccessor(primitive.indices); - indices = toIndices(accessor.getArray()); - vertexCount = accessor.count; - } - let normals; - if (primitive.attributes.NORMAL !== undefined) { - accessor = this.getAccessor(primitive.attributes.NORMAL); - normals = accessor.getArray(); - } else { - normals = generateNormals(indices, positions); - } - let uvs = null; - if (primitive.attributes.TEXCOORD_0 !== undefined) { - accessor = this.getAccessor(primitive.attributes.TEXCOORD_0); - uvs = accessor.getArray(); - defines.HAS_UV = true; - } - if (primitive.attributes.TEXCOORD_1 !== undefined) { - accessor = this.getAccessor(primitive.attributes.TEXCOORD_1); - accessor.getArray(); - defines.HAS_UV1 = true; - } - if (primitive.attributes.TANGENT !== undefined && primitive.attributes.NORMAL !== undefined) { - accessor = this.getAccessor(primitive.attributes.TANGENT); - accessor.getArray(); - // defines.HAS_TANGENT = true; - } else if (material.normalTexture); - let colors = null, - colorSize = 3; - if (primitive.attributes.COLOR_0 !== undefined) { - accessor = this.accessors[primitive.attributes.COLOR_0]; - colors = accessor.getArray(); - colorSize = accessor.type; - defines.HAS_COLOR = true; - } - let joints = null; - if (primitive.attributes.JOINTS_0 !== undefined) { - accessor = this.getAccessor(primitive.attributes.JOINTS_0); - joints = accessor.getArray(); - defines.HAS_SKIN = true; - } - let weights = null; - if (primitive.attributes.WEIGHTS_0 !== undefined) { - accessor = this.getAccessor(primitive.attributes.WEIGHTS_0); - weights = accessor.getArray(); - } - const geo = new Geometry({ type: "pbrGeomtry" }); - if (indices) geo.setIndice(indices); - if (positions) geo.setAttribute(new Float32Attribute("position", Array.from(positions), 3)); - if (normals) geo.setAttribute(new Float32Attribute("normal", Array.from(normals), 3)); - if (colors) geo.setAttribute(new Float32Attribute("color", Array.from(colors), colorSize)); - if (uvs) geo.setAttribute(new Float32Attribute("uv", Array.from(uvs), 2)); - if (joints) geo.setAttribute(new Float32Attribute("joint0", Array.from(joints), 4)); - if (weights) geo.setAttribute(new Float32Attribute("weight0", Array.from(weights), 4)); - geo.defines = defines; - geo.computeBoundingSphere(Array.from(positions)); - geo.count = vertexCount; - return geo; - } - createTexture(source) { - return new Texture({ - size: { - width: this.images[source].width, - height: this.images[source].height, - depth: 1 - }, - data: { - source: this.images[source] - }, - format: "rgba8unorm", - usage: GPUTextureUsage.TEXTURE_BINDING | GPUTextureUsage.COPY_DST | GPUTextureUsage.RENDER_ATTACHMENT - }); - } - async loadImages() { - const images = []; - let loadExternalImages = Promise.resolve(); - if (this.json.images) { - loadExternalImages = Promise.all( - this.json.images.map(async (image, index) => { - if (image.uri) { - const imageUrl = image.uri.slice(0, 5) === "data:" ? image.uri : `${this.rootUrl}/${image.uri}`; - images[index] = await fetch(imageUrl) - .then((response) => response.blob()) - .then((blob) => - createImageBitmap(blob, { - colorSpaceConversion: "none" - }) - ); - } - }) - ); - } - let loadInternalImages = Promise.resolve(); - if (this.json.images) { - loadInternalImages = Promise.all( - this.json.images.map(async (image, index) => { - if (image.bufferView !== undefined) { - const { buffer, byteOffset, byteLength } = this.json.bufferViews[image.bufferView]; - const array = new Uint8Array( - this.buffers[buffer], - buffer === 0 ? byteOffset + this.glbOffset : byteOffset, - byteLength - ); - let type; - if (image.mimeType) { - type = image.mimeType; - } else { - type = array[0] === 0xff ? "image/jpeg" : "image/png"; - } - const blob = new Blob([array], { type }); - images[index] = await createImageBitmap(blob, { - colorSpaceConversion: "none" - }); - } - }) - ); - } - await Promise.all([loadExternalImages, loadInternalImages]); - return images; - } - async loadBuffes() { - const buffers = []; - await Promise.all( - this.json.buffers.map((buffer, index) => { - if (!buffer.uri) { - if (index !== 0) { - throw new Error("buffer uri undefined"); - } - buffers[index] = this.glbBin; - return Promise.resolve(); - } - const bufferUrl = buffer.uri.slice(0, 5) === "data:" ? buffer.uri : `${this.rootUrl}/${buffer.uri}`; - return fetch(bufferUrl) - .then((response) => response.arrayBuffer()) - .then((arrayBuffer) => { - buffers[index] = arrayBuffer; - }); - }) - ); - return buffers; - } - parseNodes() { - this.nodes = this?.json?.nodes?.map((gltfNode) => { - const node = new Node(); - this.parseNodeTRS(node, gltfNode); - if (gltfNode.name) node.name = gltfNode.name; - if (gltfNode.mesh != undefined) { - let gltfSkin = undefined, - isSkinMesh = false; - if (gltfNode.skin != undefined) { - gltfSkin = this.json.skins[gltfNode.skin]; - isSkinMesh = true; - } - this.meshes[gltfNode.mesh].primitives.forEach((primitive, index, source) => { - const tempPrimitive = - isSkinMesh && primitive.type == RenderObjectType.Mesh - ? new SKinMesh(primitive.geometry, primitive.material) - : primitive; - if (isSkinMesh && primitive.type == RenderObjectType.Mesh) { - source[index] = tempPrimitive; - tempPrimitive.setSkinData({ - inverseBindMatrices: this.getAccessor(gltfSkin.inverseBindMatrices).getMat4Array(), - joints: gltfSkin.joints - // name: gltfSkin.name, - // skeleton: gltfSkin.skeleton - }); - } - node.add(tempPrimitive); - }); - } - return node; - }); - } - parseNodeTRS(node, gltfNode) { - let { matrix, rotation, translation, scale } = gltfNode; - if (matrix) { - const tempMatrix4 = new Matrix4(), - tempScale = new Vector3(), - tempTranslation = new Vector3(), - tempRotation = new Quaternion(); - Matrix4.fromColumnMajorArray(matrix, tempMatrix4); - Matrix4.getScale(tempMatrix4, tempScale); - Matrix4.getTranslation(tempMatrix4, tempTranslation); - Matrix4.getRotation(tempMatrix4, tempRotation); - rotation = tempRotation.toArray(); - translation = tempTranslation.toArray(); - scale = tempScale.toArray(); - } - if (rotation) node.quaternion.set(rotation[0], rotation[1], rotation[2], rotation[3]); - if (translation) node.position.set(translation[0], translation[1], translation[2]); - if (scale) node.scale.set(scale[0], scale[1], scale[2]); - return node; - } - normalizeData() { - this?.nodes?.map?.((node, index) => { - this.json?.nodes[index]?.children?.map((nodeId) => { - const childNode = this.nodes[nodeId]; - node.add(childNode); - }); - }); - this.meshes.map((mesh) => { - mesh.primitives.map((primitive) => { - if (primitive.type == RenderObjectType.SkinMesh) - primitive.joints = primitive.joints.map((joint) => { - return this.nodes[joint]; - }); - }); - }); - } -} -async function loadGLTF(url) { - let gltf; - const ext = url.split(".").pop(); - const rootUrl = url.substring(0, url.lastIndexOf("/")); - if (ext === "gltf") { - const json = await fetch(url).then((response) => response.json()); - gltf = new GLTF(json, rootUrl, 0); - } else { - const glb = await fetch(url).then((response) => response.arrayBuffer()); - const jsonLength = new Uint32Array(glb, 12, 1)[0]; - const jsonChunk = new Uint8Array(glb, 20, jsonLength); - const json = JSON.parse(new TextDecoder("utf-8").decode(jsonChunk)); - gltf = new GLTF(json, rootUrl, 28 + jsonLength, glb); - } - await gltf.parseData(); - return gltf; -} - -async function loadTexture(url) { - const img = document.createElement("img"); - img.src = url; - await img.decode(); - const imageBitmap = await createImageBitmap(img); - const baseTexture = new Texture({ - size: { width: imageBitmap.width, height: imageBitmap.height, depth: 1 }, - data: { - source: imageBitmap - }, - format: "rgba8unorm" - }); - return baseTexture; -} - -// from three.js -class Spherical { - constructor(radius = 1, phi = 0, theta = 0) { - this.radius = radius; - this.phi = phi; // polar angle - this.theta = theta; // azimuthal angle - return this; - } - set(radius, phi, theta) { - this.radius = radius; - this.phi = phi; - this.theta = theta; - return this; - } - copy(other) { - this.radius = other.radius; - this.phi = other.phi; - this.theta = other.theta; - return this; - } - // restrict phi to be between EPS and PI-EPS - makeSafe() { - const EPS = 0.000001; - this.phi = Math.max(EPS, Math.min(Math.PI - EPS, this.phi)); - return this; - } - setFromVector3(v) { - return this.setFromCartesianCoords(v.x, v.y, v.z); - } - setFromCartesianCoords(x, y, z) { - this.radius = Math.sqrt(x * x + y * y + z * z); - if (this.radius === 0) { - this.theta = 0; - this.phi = 0; - } else { - this.theta = Math.atan2(x, z); - this.phi = Math.acos(GMath.clamp(y / this.radius, -1, 1)); - } - return this; - } - clone() { - return new Spherical(this.radius, this.phi, this.theta); - } -} - -//from three.js -const _changeEvent = { type: "change" }; -const _startEvent = { type: "start" }; -const _endEvent = { type: "end" }; -class OrbitControl extends EventDispatcher { - constructor(object, domElement) { - super(); - if (domElement === undefined) - console.warn('OrbitControls: The second parameter "domElement" is now mandatory.'); - if (domElement === document) - console.error( - 'OrbitControls: "document" should not be used as the target "domElement". Please use "renderer.domElement" instead.' - ); - this.object = object; - this.domElement = domElement; - this.domElement.style.touchAction = "none"; // disable touch scroll - // Set to false to disable this control - this.enabled = true; - // "target" sets the location of focus, where the object orbits around - this.target = new Vector3(); - // How far you can dolly in and out ( PerspectiveCamera only ) - this.minDistance = 0; - this.maxDistance = Infinity; - // How far you can zoom in and out ( OrthographicCamera only ) - this.minZoom = 0; - this.maxZoom = Infinity; - // How far you can orbit vertically, upper and lower limits. - // Range is 0 to Math.PI radians. - this.minPolarAngle = 0; // radians - this.maxPolarAngle = Math.PI; // radians - // How far you can orbit horizontally, upper and lower limits. - // If set, the interval [ min, max ] must be a sub-interval of [ - 2 PI, 2 PI ], with ( max - min < 2 PI ) - this.minAzimuthAngle = -Infinity; // radians - this.maxAzimuthAngle = Infinity; // radians - // Set to true to enable damping (inertia) - // If damping is enabled, you must call controls.update() in your animation loop - this.enableDamping = false; - this.dampingFactor = 0.05; - // This option actually enables dollying in and out; left as "zoom" for backwards compatibility. - // Set to false to disable zooming - this.enableZoom = true; - this.zoomSpeed = 1.0; - // Set to false to disable rotating - this.enableRotate = true; - this.rotateSpeed = 1.0; - // Set to false to disable panning - this.enablePan = true; - this.panSpeed = 1.0; - this.screenSpacePanning = false; // if false, pan orthogonal to world-space direction camera.up - this.keyPanSpeed = 7.0; // pixels moved per arrow key push - // Set to true to automatically rotate around the target - // If auto-rotate is enabled, you must call controls.update() in your animation loop - this.autoRotate = false; - this.autoRotateSpeed = 2.0; // 30 seconds per orbit when fps is 60 - // The four arrow keys - this.keys = { - LEFT: "ArrowLeft", - UP: "ArrowUp", - RIGHT: "ArrowRight", - BOTTOM: "ArrowDown" - }; - // Mouse buttons - this.mouseButtons = { - LEFT: MOUSE.ROTATE, - MIDDLE: MOUSE.DOLLY, - RIGHT: MOUSE.PAN - }; - // Touch fingers - this.touches = { ONE: TOUCH.ROTATE, TWO: TOUCH.DOLLY_PAN }; - // for reset - this.target0 = this.target.clone(); - this.position0 = this.object.position.clone(); - this.zoom0 = this.object.zoom; - // the target DOM element for key events - this._domElementKeyEvents = null; - // - // public methods - // - // this method is exposed, but perhaps it would be better if we can make it private... - const that = this; - this.update = (function () { - const offset = new Vector3(); - // so camera.up is the orbit axis - const quat = new Quaternion().setFromUnitVectors(that.object.up, new Vector3(0, 1, 0)); - const quatInverse = quat.clone().invert(); - const lastPosition = new Vector3(); - const lastQuaternion = new Quaternion(); - const twoPI = 2 * Math.PI; - return function update() { - const position = that.object.position; - offset.copy(position).subtract(that.target); - // rotate offset to "y-axis-is-up" space - offset.applyQuaternion(quat); - // angle from z-axis around y-axis - spherical.setFromVector3(offset); - if (that.autoRotate && state === STATE.NONE) { - rotateLeft(that.getAutoRotationAngle()); - } - if (that.enableDamping) { - spherical.theta += sphericalDelta.theta * that.dampingFactor; - spherical.phi += sphericalDelta.phi * that.dampingFactor; - } else { - spherical.theta += sphericalDelta.theta; - spherical.phi += sphericalDelta.phi; - } - // restrict theta to be between desired limits - let min = that.minAzimuthAngle; - let max = that.maxAzimuthAngle; - if (isFinite(min) && isFinite(max)) { - if (min < -Math.PI) min += twoPI; - else if (min > Math.PI) min -= twoPI; - if (max < -Math.PI) max += twoPI; - else if (max > Math.PI) max -= twoPI; - if (min <= max) { - spherical.theta = Math.max(min, Math.min(max, spherical.theta)); - } else { - spherical.theta = - spherical.theta > (min + max) / 2 - ? Math.max(min, spherical.theta) - : Math.min(max, spherical.theta); - } - } - // restrict phi to be between desired limits - spherical.phi = Math.max(that.minPolarAngle, Math.min(that.maxPolarAngle, spherical.phi)); - spherical.makeSafe(); - spherical.radius *= scale; - // restrict radius to be between desired limits - spherical.radius = Math.max(that.minDistance, Math.min(that.maxDistance, spherical.radius)); - // move target to panned location - if (that.enableDamping === true) { - that.target.addScaledVector(panOffset, that.dampingFactor); - } else { - that.target.add(panOffset); - } - Vector3.fromSpherical(spherical, offset); - // rotate offset back to "camera-up-vector-is-up" space - offset.applyQuaternion(quatInverse); - position.copy(that.target).add(offset); - that.object.lookAt(that.target.x, that.target.y, that.target.z); - if (that.enableDamping === true) { - sphericalDelta.theta *= 1 - that.dampingFactor; - sphericalDelta.phi *= 1 - that.dampingFactor; - Vector3.multiplyByScalar(panOffset, 1 - that.dampingFactor, panOffset); - // panOffset.multiplyScalar( 1 - this.dampingFactor ); - } else { - sphericalDelta.set(0, 0, 0); - panOffset.set(0, 0, 0); - } - scale = 1; - // update condition is: - // min(camera displacement, camera rotation in radians)^2 > EPS - // using small-angle approximation cos(x/2) = 1 - x^2 / 8 - if ( - zoomChanged || - Vector3.distanceSquared(lastPosition, that.object.position) > EPS || - 8 * (1 - lastQuaternion.dot(that.object.quaternion)) > EPS - ) { - that.dispatchEvent(_changeEvent); - //lastPosition.copy( this.object.position ); - Vector3.clone(that.object.position, lastPosition); - Quaternion.clone(that.object.quaternion, lastQuaternion); - //lastQuaternion.copy( this.object.quaternion ); - zoomChanged = false; - return true; - } - return false; - }; - })(); - this.init(); - } - getPolarAngle() { - return this.spherical.phi; - } - getAzimuthalAngle() { - return this.spherical.theta; - } - getDistance() { - return Vector3.distance(this.object.position, this.target); - } - listenToKeyEvents(domElement) { - domElement.addEventListener("keydown", this.onKeyDown); - this._domElementKeyEvents = domElement; - } - saveState() { - Vector3.clone(this.target, this.target0); - //this.target0.copy( this.target ); - Vector3.clone(this.object.position, this.position0); - //this.position0.copy( this.object.position ); - this.zoom0 = this.object.zoom; - } - reset() { - Vector3.clone(this.target0, this.target); - //this.target.copy( this.target0 ); - Vector3.clone(this.position0, this.object.position); - //this.object.position.copy( this.position0 ); - this.object.zoom = this.zoom0; - this.object.updateProjectionMatrix(); - this.dispatchEvent(_changeEvent); - this.update(); - state = STATE.NONE; - } - init() { - const that = this; - const panLeft = (function () { - const v = new Vector3(); - return function panLeft(distance, objectMatrix) { - v.setFromMatrixColumn(objectMatrix, 0); // get X column of objectMatrix - v.multiplyByScalar(-distance); - panOffset.add(v); - }; - })(); - const panUp = (function () { - const panUpV = new Vector3(); - return function panUp(distance, objectMatrix) { - if (that.screenSpacePanning === true) { - panUpV.setFromMatrixColumn(objectMatrix, 1); - } else { - panUpV.setFromMatrixColumn(objectMatrix, 0); - //panUpV.crossVectors( this.object.up, panUpV ); - Vector3.cross(that.object.up, panUpV, panUpV); - } - panUpV.multiplyByScalar(distance); - panOffset.add(panUpV); - }; - })(); - // deltaX and deltaY are in pixels; right and down are positive - const pan = (function () { - const offset = new Vector3(); - return function pan(deltaX, deltaY) { - const element = that.domElement; - if (that.object.isPerspectiveCamera) { - // perspective - const position = that.object.position; - offset.copy(position).subtract(that.target); - let targetDistance = offset.length(); - // half of the fov is center to top of screen - targetDistance *= Math.tan(((that.object.fov / 2) * Math.PI) / 180.0); - // we use only clientHeight here so aspect ratio does not distort speed - panLeft((2 * deltaX * targetDistance) / element.clientHeight, that.object.modelMatrix); - panUp((2 * deltaY * targetDistance) / element.clientHeight, that.object.modelMatrix); - } else if (that.object.isOrthographicCamera) { - // orthographic - panLeft( - (deltaX * (that.object.right - that.object.left)) / that.object.zoom / element.clientWidth, - that.object.modelMatrix - ); - panUp( - (deltaY * (that.object.top - that.object.bottom)) / that.object.zoom / element.clientHeight, - that.object.modelMatrix - ); - } else { - // camera neither orthographic nor perspective - console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."); - that.enablePan = false; - } - }; - })(); - const dollyOut = (dollyScale) => { - if (this.object.isPerspectiveCamera) { - scale /= dollyScale; - } else if (this.object.isOrthographicCamera) { - this.object.zoom = Math.max(this.minZoom, Math.min(this.maxZoom, this.object.zoom * dollyScale)); - this.object.updateProjectionMatrix(); - zoomChanged = true; - } else { - console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."); - this.enableZoom = false; - } - }; - const dollyIn = (dollyScale) => { - if (this.object.isPerspectiveCamera) { - scale *= dollyScale; - } else if (this.object.isOrthographicCamera) { - this.object.zoom = Math.max(this.minZoom, Math.min(this.maxZoom, this.object.zoom / dollyScale)); - this.object.updateProjectionMatrix(); - zoomChanged = true; - } else { - console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."); - this.enableZoom = false; - } - }; - const handleMouseMoveRotate = (event) => { - rotateEnd.set(event.clientX, event.clientY); - Vector2.subtract(rotateEnd, rotateStart, rotateDelta); - Vector2.multiplyByScalar(rotateDelta, this.rotateSpeed, rotateDelta); - //rotateDelta.subVectors( rotateEnd, rotateStart ).multiplyScalar( this.rotateSpeed ); - const element = this.domElement; - rotateLeft((2 * Math.PI * rotateDelta.x) / element.clientHeight); // yes, height - rotateUp((2 * Math.PI * rotateDelta.y) / element.clientHeight); - Vector2.clone(rotateEnd, rotateStart); - //rotateStart.copy( rotateEnd ); - this.update(); - }; - const handleMouseMoveDolly = (event) => { - dollyEnd.set(event.clientX, event.clientY); - Vector2.subtract(dollyEnd, dollyStart, dollyDelta); - // dollyDelta.subVectors( dollyEnd, dollyStart ); - if (dollyDelta.y > 0) { - dollyOut(getZoomScale()); - } else if (dollyDelta.y < 0) { - dollyIn(getZoomScale()); - } - Vector2.clone(dollyEnd, dollyStart); - // dollyStart.copy( dollyEnd ); - this.update(); - }; - const handleMouseMovePan = (event) => { - panEnd.set(event.clientX, event.clientY); - Vector2.subtract(panEnd, panStart, panDelta); - Vector2.multiplyByScalar(panDelta, this.panSpeed, panDelta); - //panDelta.subVectors( panEnd, panStart ).multiplyScalar( this.panSpeed ); - pan(panDelta.x, panDelta.y); - Vector2.clone(panEnd, panStart); - //panStart.copy( panEnd ); - this.update(); - }; - const handleMouseWheel = (event) => { - if (event.deltaY < 0) { - dollyIn(getZoomScale()); - } else if (event.deltaY > 0) { - dollyOut(getZoomScale()); - } - this.update(); - }; - const handleKeyDown = (event) => { - let needsUpdate = false; - switch (event.code) { - case this.keys.UP: - pan(0, this.keyPanSpeed); - needsUpdate = true; - break; - case this.keys.BOTTOM: - pan(0, -this.keyPanSpeed); - needsUpdate = true; - break; - case this.keys.LEFT: - pan(this.keyPanSpeed, 0); - needsUpdate = true; - break; - case this.keys.RIGHT: - pan(-this.keyPanSpeed, 0); - needsUpdate = true; - break; - } - if (needsUpdate) { - // prevent the browser from scrolling on cursor keys - event.preventDefault(); - this.update(); - } - }; - const handleTouchStartDollyPan = () => { - if (this.enableZoom) handleTouchStartDolly(); - if (this.enablePan) handleTouchStartPan(); - }; - const handleTouchStartDollyRotate = () => { - if (this.enableZoom) handleTouchStartDolly(); - if (this.enableRotate) handleTouchStartRotate(); - }; - const handleTouchMoveRotate = (event) => { - if (pointers.length == 1) { - rotateEnd.set(event.pageX, event.pageY); - } else { - const position = getSecondPointerPosition(event); - const x = 0.5 * (event.pageX + position.x); - const y = 0.5 * (event.pageY + position.y); - rotateEnd.set(x, y); - } - Vector2.subtract(rotateEnd, rotateStart, rotateDelta); - Vector2.multiplyByScalar(rotateDelta, this.rotateSpeed, rotateDelta); - //rotateDelta.subVectors( rotateEnd, rotateStart ).multiplyScalar( this.rotateSpeed ); - const element = this.domElement; - rotateLeft((2 * Math.PI * rotateDelta.x) / element.clientHeight); // yes, height - rotateUp((2 * Math.PI * rotateDelta.y) / element.clientHeight); - Vector2.clone(rotateEnd, rotateStart); - //rotateStart.copy( rotateEnd ); - }; - const handleTouchMovePan = (event) => { - if (pointers.length === 1) { - panEnd.set(event.pageX, event.pageY); - } else { - const position = getSecondPointerPosition(event); - const x = 0.5 * (event.pageX + position.x); - const y = 0.5 * (event.pageY + position.y); - panEnd.set(x, y); - } - Vector2.subtract(panEnd, panStart, panDelta); - Vector2.multiplyByScalar(panDelta, this.panSpeed, panDelta); - //panDelta.subVectors( panEnd, panStart ).multiplyScalar( this.panSpeed ); - pan(panDelta.x, panDelta.y); - Vector2.clone(panEnd, panStart); - // panStart.copy( panEnd ); - }; - const handleTouchMoveDolly = (event) => { - const position = getSecondPointerPosition(event); - const dx = event.pageX - position.x; - const dy = event.pageY - position.y; - const distance = Math.sqrt(dx * dx + dy * dy); - dollyEnd.set(0, distance); - dollyDelta.set(0, Math.pow(dollyEnd.y / dollyStart.y, this.zoomSpeed)); - dollyOut(dollyDelta.y); - Vector2.clone(dollyEnd, dollyStart); - //dollyStart.copy( dollyEnd ); - }; - const handleTouchMoveDollyPan = (event) => { - if (this.enableZoom) handleTouchMoveDolly(event); - if (this.enablePan) handleTouchMovePan(event); - }; - const handleTouchMoveDollyRotate = (event) => { - if (this.enableZoom) handleTouchMoveDolly(event); - if (this.enableRotate) handleTouchMoveRotate(event); - }; - // - // event handlers - FSM: listen for events and reset state - // - this.onPointerDown = (event) => { - if (this.enabled === false) return; - if (pointers.length === 0) { - this.domElement.setPointerCapture(event.pointerId); - this.domElement.addEventListener("pointermove", this.onPointerMove); - this.domElement.addEventListener("pointerup", this.onPointerUp); - } - // - addPointer(event); - if (event.pointerType === "touch") { - onTouchStart(event); - } else { - onMouseDown(event); - } - }; - this.onPointerMove = (event) => { - if (this.enabled === false) return; - if (event.pointerType === "touch") { - onTouchMove(event); - } else { - onMouseMove(event); - } - }; - this.onPointerUp = (event) => { - removePointer(event); - if (pointers.length === 0) { - this.domElement.releasePointerCapture(event.pointerId); - this.domElement.removeEventListener("pointermove", this.onPointerMove); - this.domElement.removeEventListener("pointerup", this.onPointerUp); - } - this.dispatchEvent(_endEvent); - state = STATE.NONE; - }; - const onMouseDown = (event) => { - let mouseAction; - switch (event.button) { - case 0: - mouseAction = this.mouseButtons.LEFT; - break; - case 1: - mouseAction = this.mouseButtons.MIDDLE; - break; - case 2: - mouseAction = this.mouseButtons.RIGHT; - break; - default: - mouseAction = -1; - } - switch (mouseAction) { - case MOUSE.DOLLY: - if (this.enableZoom === false) return; - handleMouseDownDolly(event); - state = STATE.DOLLY; - break; - case MOUSE.ROTATE: - if (event.ctrlKey || event.metaKey || event.shiftKey) { - if (this.enablePan === false) return; - handleMouseDownPan(event); - state = STATE.PAN; - } else { - if (this.enableRotate === false) return; - handleMouseDownRotate(event); - state = STATE.ROTATE; - } - break; - case MOUSE.PAN: - if (event.ctrlKey || event.metaKey || event.shiftKey) { - if (this.enableRotate === false) return; - handleMouseDownRotate(event); - state = STATE.ROTATE; - } else { - if (this.enablePan === false) return; - handleMouseDownPan(event); - state = STATE.PAN; - } - break; - default: - state = STATE.NONE; - } - if (state !== STATE.NONE) { - this.dispatchEvent(_startEvent); - } - }; - const onMouseMove = (event) => { - switch (state) { - case STATE.ROTATE: - if (this.enableRotate === false) return; - handleMouseMoveRotate(event); - break; - case STATE.DOLLY: - if (this.enableZoom === false) return; - handleMouseMoveDolly(event); - break; - case STATE.PAN: - if (this.enablePan === false) return; - handleMouseMovePan(event); - break; - } - }; - this.onMouseWheel = (event) => { - if (this.enabled === false || this.enableZoom === false || state !== STATE.NONE) return; - event.preventDefault(); - this.dispatchEvent(_startEvent); - handleMouseWheel(event); - this.dispatchEvent(_endEvent); - }; - this.onKeyDown = (event) => { - if (this.enabled === false || this.enablePan === false) return; - handleKeyDown(event); - }; - const onTouchStart = (event) => { - trackPointer(event); - switch (pointers.length) { - case 1: - switch (this.touches.ONE) { - case TOUCH.ROTATE: - if (this.enableRotate === false) return; - handleTouchStartRotate(); - state = STATE.TOUCH_ROTATE; - break; - case TOUCH.PAN: - if (this.enablePan === false) return; - handleTouchStartPan(); - state = STATE.TOUCH_PAN; - break; - default: - state = STATE.NONE; - } - break; - case 2: - switch (this.touches.TWO) { - case TOUCH.DOLLY_PAN: - if (this.enableZoom === false && this.enablePan === false) return; - handleTouchStartDollyPan(); - state = STATE.TOUCH_DOLLY_PAN; - break; - case TOUCH.DOLLY_ROTATE: - if (this.enableZoom === false && this.enableRotate === false) return; - handleTouchStartDollyRotate(); - state = STATE.TOUCH_DOLLY_ROTATE; - break; - default: - state = STATE.NONE; - } - break; - default: - state = STATE.NONE; - } - if (state !== STATE.NONE) { - this.dispatchEvent(_startEvent); - } - }; - const onTouchMove = (event) => { - trackPointer(event); - switch (state) { - case STATE.TOUCH_ROTATE: - if (this.enableRotate === false) return; - handleTouchMoveRotate(event); - this.update(); - break; - case STATE.TOUCH_PAN: - if (this.enablePan === false) return; - handleTouchMovePan(event); - this.update(); - break; - case STATE.TOUCH_DOLLY_PAN: - if (this.enableZoom === false && this.enablePan === false) return; - handleTouchMoveDollyPan(event); - this.update(); - break; - case STATE.TOUCH_DOLLY_ROTATE: - if (this.enableZoom === false && this.enableRotate === false) return; - handleTouchMoveDollyRotate(event); - this.update(); - break; - default: - state = STATE.NONE; - } - }; - this.onContextMenu = (event) => { - if (this.enabled === false) return; - event.preventDefault(); - }; - this.getAutoRotationAngle = () => { - return ((2 * Math.PI) / 60 / 60) * this.autoRotateSpeed; - }; - const getZoomScale = () => { - return Math.pow(0.95, this.zoomSpeed); - }; - this.domElement.addEventListener("contextmenu", this.onContextMenu); - this.domElement.addEventListener("pointerdown", this.onPointerDown); - this.domElement.addEventListener("pointercancel", onPointerCancel); - this.domElement.addEventListener("wheel", this.onMouseWheel, { - passive: false - }); - } - dispose() { - this.domElement.removeEventListener("contextmenu", this.onContextMenu); - this.domElement.removeEventListener("pointerdown", this.onPointerDown); - this.domElement.removeEventListener("pointercancel", onPointerCancel); - this.domElement.removeEventListener("wheel", this.onMouseWheel); - this.domElement.removeEventListener("pointermove", this.onPointerMove); - this.domElement.removeEventListener("pointerup", this.onPointerUp); - if (this._domElementKeyEvents !== null) { - this._domElementKeyEvents.removeEventListener("keydown", this.onKeyDown); - } - //this.dispatchEvent( { type: 'dispose' } ); // should this be added here? - } -} -const STATE = { - NONE: -1, - ROTATE: 0, - DOLLY: 1, - PAN: 2, - TOUCH_ROTATE: 3, - TOUCH_PAN: 4, - TOUCH_DOLLY_PAN: 5, - TOUCH_DOLLY_ROTATE: 6 -}; -let state = STATE.NONE; -const EPS = 0.000001; -// current position in spherical coordinates -const spherical = new Spherical(); -const sphericalDelta = new Spherical(); -let scale = 1; -const panOffset = new Vector3(); -let zoomChanged = false; -const rotateStart = new Vector2(); -const rotateEnd = new Vector2(); -const rotateDelta = new Vector2(); -const panStart = new Vector2(); -const panEnd = new Vector2(); -const panDelta = new Vector2(); -const dollyStart = new Vector2(); -const dollyEnd = new Vector2(); -const dollyDelta = new Vector2(); -const pointers = []; -const pointerPositions = {}; -var MOUSE; -(function (MOUSE) { - MOUSE[(MOUSE["LEFT"] = 0)] = "LEFT"; - MOUSE[(MOUSE["MIDDLE"] = 1)] = "MIDDLE"; - MOUSE[(MOUSE["RIGHT"] = 2)] = "RIGHT"; - MOUSE[(MOUSE["ROTATE"] = 0)] = "ROTATE"; - MOUSE[(MOUSE["DOLLY"] = 1)] = "DOLLY"; - MOUSE[(MOUSE["PAN"] = 2)] = "PAN"; -})(MOUSE || (MOUSE = {})); -var TOUCH; -(function (TOUCH) { - TOUCH[(TOUCH["ROTATE"] = 0)] = "ROTATE"; - TOUCH[(TOUCH["PAN"] = 1)] = "PAN"; - TOUCH[(TOUCH["DOLLY_PAN"] = 2)] = "DOLLY_PAN"; - TOUCH[(TOUCH["DOLLY_ROTATE"] = 3)] = "DOLLY_ROTATE"; -})(TOUCH || (TOUCH = {})); -function rotateLeft(angle) { - sphericalDelta.theta -= angle; -} -function rotateUp(angle) { - sphericalDelta.phi -= angle; -} -function addPointer(event) { - pointers.push(event); -} -function removePointer(event) { - delete pointerPositions[event.pointerId]; - for (let i = 0; i < pointers.length; i++) { - if (pointers[i].pointerId == event.pointerId) { - pointers.splice(i, 1); - return; - } - } -} -function trackPointer(event) { - let position = pointerPositions[event.pointerId]; - if (position === undefined) { - position = new Vector2(); - pointerPositions[event.pointerId] = position; - } - position.set(event.pageX, event.pageY); -} -function getSecondPointerPosition(event) { - const pointer = event.pointerId === pointers[0].pointerId ? pointers[1] : pointers[0]; - return pointerPositions[pointer.pointerId]; -} -function handleMouseDownRotate(event) { - rotateStart.set(event.clientX, event.clientY); -} -function handleMouseDownDolly(event) { - dollyStart.set(event.clientX, event.clientY); -} -function handleMouseDownPan(event) { - panStart.set(event.clientX, event.clientY); -} -function onPointerCancel(event) { - removePointer(event); -} -function handleTouchStartRotate() { - if (pointers.length === 1) { - rotateStart.set(pointers[0].pageX, pointers[0].pageY); - } else { - const x = 0.5 * (pointers[0].pageX + pointers[1].pageX); - const y = 0.5 * (pointers[0].pageY + pointers[1].pageY); - rotateStart.set(x, y); - } -} -function handleTouchStartPan() { - if (pointers.length === 1) { - panStart.set(pointers[0].pageX, pointers[0].pageY); - } else { - const x = 0.5 * (pointers[0].pageX + pointers[1].pageX); - const y = 0.5 * (pointers[0].pageY + pointers[1].pageY); - panStart.set(x, y); - } -} -function handleTouchStartDolly() { - const dx = pointers[0].pageX - pointers[1].pageX; - const dy = pointers[0].pageY - pointers[1].pageY; - const distance = Math.sqrt(dx * dx + dy * dy); - dollyStart.set(0, distance); -} - -export { - AddressMode, - AmbientLight, - Attachment, - Attribute, - Axes, - BindGroup, - BindGroupEntity, - BlendFactor, - BlendOperation, - BlinnPhongMaterial, - BloomPostEffect, - BoxGeometry, - Buffer, - BufferUsage, - Color, - ColorWriteFlags, - CompareFunction, - Context, - CubeTextureLoader, - CullMode, - DirectionalLight, - DrawCommand, - FilterMode, - FrontFace, - IndexFormat, - InputStepMode, - Instance, - InstanceMesh, - Mesh, - Model, - OrbitControl, - OrthographicCamera, - PbrMaterial, - PerspectiveCamera, - PlaneGeometry, - PointLight, - PrimitiveTopology, - RenderState, - RenderTarget, - Sampler, - Scene, - ShaderMaterial, - ShaderStage, - ShadowMapDebugger, - SkyBox, - SphereGeometry, - SpotLight, - Sprite, - StencilOperation, - StorageTextureAccess, - Texture, - TextureAspect, - TextureDimension, - TextureFormat, - TextureSampleType, - TextureUsage, - TextureViewDimension, - TorusKnotGeometry, - Vector3, - VertexFormat, - loadGLTF, - loadTexture -}; -//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzIjpbIi4uL3NyYy9jb3JlL1dlYkdQVUNvbnN0YW50LnRzIiwiLi4vc3JjL3JlbmRlci9CdWZmZXIudHMiLCIuLi9zcmMvcmVuZGVyL1BpcGVsaW5lTGF5b3V0LnRzIiwiLi4vc3JjL3JlbmRlci9QaXBlbGluZS50cyIsIi4uL3NyYy9yZW5kZXIvRHJhd0NvbW1hbmQudHMiLCIuLi9zcmMvY29yZS9XZWJHUFVUeXBlcy50cyIsIi4uL3NyYy9zaGFkZXIvbWF0ZXJpYWwvY29sb3JGcmFnLnRzIiwiLi4vc3JjL3NoYWRlci9tYXRlcmlhbC9jb2xvclZlcnQudHMiLCIuLi9zcmMvc2hhZGVyL21hdGVyaWFsL3Bicl9mcy50cyIsIi4uL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RlbVVuaWZvcm0+IFxuICAgICAgICAjaW5jbHVkZSA8RnJhZ0lucHV0PiAgIFxuICAgICAgICBzdHJ1Y3QgUGh5c2ljYWxNYXRlcmlhbCB7XG4gICAgICAgICAgICBkaWZmdXNlQ29sb3I6dmVjMzxmMzI+LFxuICAgICAgICAgICAgcm91Z2huZXNzOmYzMixcbiAgICAgICAgICAgIHNwZWN1bGFyQ29sb3I6dmVjMzxmMzI+LFxuICAgICAgICAgICAjaWYgVVNFX0NMRUFSQ09BVFxuICAgICAgICAgICAgICAgY2xlYXJjb2F0OmYzMixcbiAgICAgICAgICAgICAgIGNsZWFyY29hdFJvdWdobmVzczpmMzIsXG4gICAgICAgICAgICAgICBjbGVhcmNvYXRGMDp2ZWMzPGYzMj4sXG4gICAgICAgICAgICAgICBjbGVhcmNvYXRGOTA6ZjMyLFxuICAgICAgICAgICAjZW5kaWZcblxuICAgICAgICAgICAjaWYgVVNFX0lSSURFU0NFTkNFXG4gICAgICAgICAgICAgICBpcmlkZXNjZW5jZTpmMzIsXG4gICAgICAgICAgICAgICBpcmlkZXNjZW5jZUlPUjpmMzIsXG4gICAgICAgICAgICAgICBpcmlkZXNjZW5jZVRoaWNrbmVzczpmMzIsXG4gICAgICAgICAgICAgICBpcmlkZXNjZW5jZUZyZXNuZWw6dmVjMzxmMzI+LFxuICAgICAgICAgICAgICAgaXJpZGVzY2VuY2VGMDp2ZWMzPGYzMj4sXG4gICAgICAgICAgICNlbmRpZlxuXG4gICAgICAgICAgICNpZiBVU0VfU0hFRU5cbiAgICAgICAgICAgICAgIHNoZWVuQ29sb3I6dmVjMzxmMzI+LFxuICAgICAgICAgICAgICAgc2hlZW5Sb3VnaG5lc3M6ZjMyLFxuICAgICAgICAgICAjZW5kaWZcblxuICAgICAgICAgICAjaWYgSU9SXG4gICAgICAgICAgICAgICAgaW9yOmYzMixcbiAgICAgICAgICAgI2VuZGlmXG5cbiAgICAgICAgICAgI2lmIFVTRV9UUkFOU01JU1NJT05cbiAgIC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gICAgICAgY2xlYXJjb2F0RjA6dmVjMzxmMzI+LFxyXG4gICAgICAgICAgICAgICAgY2xlYXJjb2F0RjkwOmYzMixcclxuICAgICAgICAgICAgI2VuZGlmXHJcblxyXG4gICAgICAgICAgICAjaWYgJHtkZWZpbmVzLlVTRV9JUklERVNDRU5DRX1cclxuICAgICAgICAgICAgICAgIGlyaWRlc2NlbmNlOmYzMixcclxuICAgICAgICAgICAgICAgIGlyaWRlc2NlbmNlSU9SOmYzMixcclxuICAgICAgICAgICAgICAgIGlyaWRlc2NlbmNlVGhpY2tuZXNzOmYzMixcclxuICAgICAgICAgICAgICAgIGlyaWRlc2NlbmNlRnJlc25lbDp2ZWMzPGYzMj4sXHJcbiAgICAgICAgICAgICAgICBpcmlkZXNjZW5jZUYwOnZlYzM8ZjMyPixcclxuICAgICAgICAgICAgI2VuZGlmXHJcblxyXG4gICAgICAgICAgICAjaWYgJHtkZWZpbmVzLlVTRV9TSEVFTn1cclxuICAgICAgICAgICAgICAgIHNoZWVuQ29sb3I6dmVjMzxmMzI+LFxyXG4gICAgICAgICAgICAgICAgc2hlZW5Sb3VnaG5lc3M6ZjMyLFxyXG4gICAgICAgICAgICAjZW5kaWZcclxuXHJcbiAgICAgICAgICAgICNpZiAke2RlZmluZXMuSU9SfVxyXG4gICAgICAgICAgICAgICAgIGlvcjpmMzIsXHJcbiAgICAgICAgICAgICNlbmRpZlxyXG5cclxuICAgICAgICAgICAgI2lmICR7ZGVmaW5lcy5VU0VfVFJBTlNNSVNTSU9OfVxyXG4gICAgICAgICAgICAgICAgdHJhbnNtaXNzaW9uOmYzMixcclxuICAgICAgICAgICAgICAgIHRyYW5zbWlzc2lvbkFscGhhOmYzMixcclxuICAgICAgICAgICAgICAgIHRoaWNrbmVzczpmMzIsXHJcbiAgICAgICAgICAgICAgICBhdHRlbnVhdGlvbkRpc3RhbmNlOmYzMixcclxuICAgICAgICAgICAgICAgIGF0dGVudWF0aW9uQ29sb3I6dmVjMzxmMzI+LFxyX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ICAgICAgICAgICNpZiAke2RlZmluZXMuRE9VQkxFX1NJREVEfVxyXG4gICAgICAgICAgICAgICAgICAgIHRhbmdlbnQgPSB0YW5nZW50ICogZmFjZURpcmVjdGlvbjtcclxuICAgICAgICAgICAgICAgICAgICBiaXRhbmdlbnQgPSBiaXRhbmdlbnQgKiBmYWNlRGlyZWN0aW9uO1xyXG4gICAgICAgICAgICAgICAgI2VuZGlmXHJcbiAgICAgICAgICAgICAgICAjaWYgJHtkZWZpbmVzLlRBTkdFTlRTUEFDRV9OT1JNQUxURVhUVVJFIHx8IGRlZmluZXMuVVNFX0NMRUFSQ09BVF9OT1JNQUxURVhUVVJFfVxyXG4gICAgICAgICAgICAgICAgICAgIGxldCB2VEJOOm1hdDN4MzxmMzI+ID0gbWF0M3gzPGYzMj4oIHRhbmdlbnQsIGJpdGFuZ2VudCwgbm9ybWFsICk7XHJcbiAgICAgICAgICAgICAgICAjZW5kaWZcclxuICAgICAgICAgICAgI2VuZGlmXHJcbiAgICAgICAgI2VuZGlmXHJcbiAgICBcclxuICAgICAgICBsZXQgZ2VvbWV0cnlOb3JtYWw6dmVjMzxmMzI+ID0gbm9ybWFsO1xyXG5cclxuICAgICAgICAjaWYgJHtkZWZpbmVzLk9CSkVDVFNQQUNFX05PUk1BTFRFWFRVUkV9XHJcbiAgICAgICAgICAgIG5vcm1hbCA9dGV4dHVyZVNhbXBsZShub3JtYWxUZXh0dXJlLCBiYXNlU2FtcGxlciwgaW5wdXQudlV2KS54eXogKiAyLjAgLSAxLjA7XHJcbiAgICAgICAgICAgICNpZiAke2RlZmluZXMuRkxJUF9TSURFRH1cclxuICAgICAgICAgICAgICAgIG5vcm1hbCA9IC0gbm9ybWFsO1xyXG4gICAgICAgICAgICAjZW5kaWZcclxuICAgICAgICAgICAgI2lmICR7ZGVmaW5lcy5ET1VCTEVfU0lERUR9XHJcbiAgICAgICAgICAgICAgICBub3JtYWwgPSBub3JtYWwgKiBmYWNlRGlyZWN0aW9uO1xyXG4gIC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gICAgICAgICAgICAgfSkgbW9ycGhOb3JtYWwyOnZlYzM8ZjMyPixcclxuXHJcbiAgICAgICAgICAgICAgICBAbG9jYXRpb24oJHtcclxuICAgICAgICAgICAgICAgICAgZGVmaW5lcy5tb3JwaE5vcm1hbDNMb2NhdGlvblxyXG4gICAgICAgICAgICAgICAgfSkgbW9ycGhOb3JtYWwzOnZlYzM8ZjMyPixcclxuICAgICAgICAgICAgI2Vsc2VcclxuICAgICAgICAgICAgICAgIEBsb2NhdGlvbigke1xyXG4gICAgICAgICAgICAgICAgICBkZWZpbmVzLm1vcnBoVGFyZ2V0NExvY2F0aW9uXHJcbiAgICAgICAgICAgICAgICB9KSBtb3JwaFRhcmdldDQ6dmVjMzxmMzI+LFxyXG5cclxuICAgICAgICAgICAgICAgIEBsb2NhdGlvbigke1xyXG4gICAgICAgICAgICAgICAgICBkZWZpbmVzLm1vcnBoVGFyZ2V0NUxvY2F0aW9uXHJcbiAgICAgICAgICAgICAgICB9KSBtb3JwaFRhcmdldDU6dmVjMzxmMzI+LFxyXG5cclxuICAgICAgICAgICAgICAgIEBsb2NhdGlvbigke1xyXG4gICAgICAgICAgICAgICAgICBkZWZpbmVzLm1vcnBoVGFyZ2V0NkxvY2F0aW9uXHJcbiAgICAgICAgICAgICAgICB9KSBtb3JwaFRhcmdldDY6dmVjMzxmMzI+LFxyXG5cclxuICAgICAgICAgICAgICAgIEBsb2NhdGlvbigke1xyXG4gICAgICAgICAgICAgICAgICBkZWZpbmVzLm1vcnBoVGFyZ2V0N0xvY2F0aW9uXHJcbiAgICAgICAgICAgICAgICB9KSBtb3JwaFRhcmdldDc6dmVjMzxmMzI+LFxyXG4gICAgICAgICAgICAjZW5kaWZcclxuICAgICAgICAjZW5kaWZcclxuICAgICAgICAjaWYgJHtkZWZpbmVzLlVTRV9TS0lOTklOR31cclxuICAgICAgICAgICAgQGxvY2F0aW9uKCR7ZGVmaW5lcy5za2luSW5kZXhMb2NhdGlvbn0pIHNraW5JbmRleDp2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uICAgICAgICBmbiBnZXRGYWNlKGRpcmVjdGlvbjp2ZWMzPGYzMj4gKS0+ZjMyIHtcclxuICAgICAgICAgICAgbGV0IGFic0RpcmVjdGlvbjp2ZWMzPGYzMj4gPSBhYnMoIGRpcmVjdGlvbiApO1xyXG4gICAgICAgICAgICB2YXIgZmFjZTpmMzIgPSAtIDEuMDtcclxuICAgICAgICAgICAgaWYgKCBhYnNEaXJlY3Rpb24ueCA+IGFic0RpcmVjdGlvbi56ICkge1xyXG4gICAgICAgICAgICAgICAgaWYgKCBhYnNEaXJlY3Rpb24ueCA+IGFic0RpcmVjdGlvbi55ICl7XHJcbiAgICAgICAgICAgICAgICAgICAgZmFjZSA9c2VsZWN0KDMuMCwwLjAsZGlyZWN0aW9uLnggPiAwLjApO1xyXG4gICAgICAgICAgICAgICAgfWVsc2V7XHJcbiAgICAgICAgICAgICAgICAgICAgZmFjZSA9c2VsZWN0KDQuMCwxLjAsZGlyZWN0aW9uLnkgPiAwLjApO1xyXG4gICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgXHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgZWxzZSB7XHJcbiAgICAgICAgICAgICAgICBpZiAoIGFic0RpcmVjdGlvbi56ID4gYWJzRGlyZWN0aW9uLnkgKXtcclxuICAgICAgICAgICAgICAgICAgICBmYWNlID1zZWxlY3QoNS4wLDIuMCxkaXJlY3Rpb24ueiA+IDAuMCk7XHJcbiAgICAgICAgICAgICAgICB9ZWxzZXtcclxuICAgICAgICAgICAgICAgICAgICBmYWNlID1zZWxlY3QoNC4wLDEuMCxkaXJlY3Rpb24ueSA+IDAuMCk7XHJcbiAgICAgICAgICAgICAgICB9ICAgICAgIFxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIHJldHVybiBmYWNlO1xyXG4gICAgICAgIH1cclxuICAgICAgICBmbiBnZXRVViggZGlyZWN0aW9uOnZlYzM8ZjMyPiwgZmFjZTpmMzIgKS0+dmVjMjxmMzI+IHtcclxuICAgICAgICAgICAgdmFyIHV2OnZlYzI8ZjMyPjtcclxuICAgICAgICAgICAgaWYgKCBmYWNlID09IDAuMCApIHtcclxuICAgICAgICAgICAgICAgIHV2ID0gdmVjMjxmMzI+KCBkaXJlY3Rpb24ueiwgZGlyZWN0aW9uLnkgKSAvIGFicyggZGlyZWN0aW9uLnggKTtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICBlbHNlIGlmICggZmFjZSA9PSAxLjAgKSB7XHJcbiAgICAgICAgICAgICAgICB1diA9IHZlYzI8ZjMyPiggLSBkaXJlY3Rpb24ueCwgLSBkaXJlY3Rpb24ueiApIC8gYWJzKCBkaXJlY3Rpb24ueSApO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIGVsc2UgaWYgKCBmYWNlID09IDIuMCApIHtcclxuICAgICAgICAgICAgICAgIHV2ID0gdmVjMjxmMzI+KCAtIGRpcmVjdGlvbi54LCBkaXJlY3Rpb24ueSApIC8gYWJzKCBkaXJlY3Rpb24ueiApO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIGVsc2UgaWYgKCBmYWNlID09IDMuMCApIHtcclxuICAgICAgICAgICAgICAgIHV2ID0gdmVjMjxmMzI+KCAtIGRpcmVjdGlvbi56LCBkaXJlY3Rpb24ueSApIC8gYWJzKCBkaXJlY3Rpb24ueCApO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIGVsc2UgaWYgKCBmYWNlID09IDQuMCApIHtcclxuICAgICAgICAgICAgICAgIHV2ID0gdmVjMjxmMzI+KCAtIGRpcmVjdGlvbi54LCBkaXJlY3Rpb24ueiApIC8gYWJzKCBkaXJlY3Rpb24ueSApO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIGVsc2Uge1xyXG4gICAgICAgICAgICAgICAgdXYgPSB2ZWMyPGYzMj4oIGRpcmVjdGlvbi54LCBkaXJlY3Rpb24ueSApIC8gYWJzKCBkaXJlY3Rpb24ueiApO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIHJldHVybiAwLjUgKiAoIHV2ICsgMS4wICk7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIGZuIGJpbGluZWFyQ3ViZVVWKGVudlRleHR1cmU6dGV4dHVyZV9jdWJlPGYzMj4sYmFzZVNhbXBsZXI6c2FtcGxlcixkaXJlY3Rpb246dmVjMzxmMzI+LCBtaXBJbnQ6ZjMyICktPnZlYzM8ZjMyPiB7XHJcbiAgICAgICAgICAgIHZhciBmYWNlOmYzMiA9IGdldEZhY2UoIGRpcmVjdGlvbiApO1xyXG4gICAgICAgICAgICBsZXQgZmlsdGVySW50OmYzMiA9IG1heCggY3ViZVVWX21pbk1pcExldmVsIC0gbWlwSW50LCAwLjAgKTtcclxuICAgICAgICAgICAgbGV0IHRlbXBNaXBJbnQgPSBtYXgoIG1pcEludCwgY3ViZVVWX21pbk1pcExldmVsICk7XHJcbiAgICAgICAgICAgIGxldCBmYWNlU2l6ZTpmMzIgPSBleHAyKCB0ZW1wTWlwSW50ICk7XHJcbiAgICAgICAgICAgIHZhciB1djp2ZWMyPGYzMj4gPSBnZXRVViggZGlyZWN0aW9uLCBmYWNlICkgKiAoIGZhY2VTaXplIC0gMi4wICkgKyAxLjA7XHJcbiAgICAgICAgICAgIGlmICggZmFjZSA+IDIuMCApIHtcclxuICAgICAgICAgICAgICAgIHV2LnkgKz0gZmFjZVNpemU7XHJcbiAgICAgICAgICAgICAgICBmYWNlIC09IDMuMDtcclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICB1di54ICs9IGZhY2UgKiBmYWNlU2l6ZTtcclxuICAgICAgICAgICAgdXYueCArPSBmaWx0ZXJJbnQgKiAzLjAgKiBjdWJlVVZfbWluVGlsZVNpemU7XHJcbiAgICAgICAgICAgIHV2LnkgKz0gNC4wICogKCBleHAyKCBDVUJFVVZfTUFYX01JUCApIC0gZmFjZVNpemUgKTtcclxuICAgICAgICAgICAgdXY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AgICAgICAgaWYgKCByb3VnaG5lc3MgPj0gY3ViZVVWX3IxICkge1xyXG4gICAgICAgICAgICAgICAgbWlwID0gKCBjdWJlVVZfcjAgLSByb3VnaG5lc3MgKSAqICggY3ViZVVWX20xIC0gY3ViZVVWX20wICkgLyAoIGN1YmVVVl9yMCAtIGN1YmVVVl9yMSApICsgY3ViZVVWX20wO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIGVsc2UgaWYgKCByb3VnaG5lc3MgPj0gY3ViZVVWX3I0ICkge1xyXG4gICAgICAgICAgICAgICAgbWlwID0gKCBjdWJlVVZfcjEgLSByb3VnaG5lc3MgKSAqICggY3ViZVVWX200IC0gY3ViZVVWX20xICkgLyAoIGN1YmVVVl9yMSAtIGN1YmVVVl9yNCApICsgY3ViZVVWX20xO1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIGVsc2UgaWYgKCByb3VnaG5lc3MgPj0gY3ViZVVWX3I1ICkge1xyXG4gICAgICAgICAgICAgICAgbWlwID0gKCBjdWJlVVZfcjQgLSByb3VnaG5lc3MgKSAqICggY3ViZVVWX201IC0gY3ViZVVWX200ICkgLyAoIGN1YmVVVl9yNCAtIGN1YmVVVl9yNSApICsgY3ViZVVWX200O1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIGVsc2UgaWYgKCByb3VnaG5lc3MgPj0gY3ViZVVWX3I2ICkge1xyXG4gICAgICAgICAgICAgICAgbWlwID0gKCBjdWJlVVZfcjUgLSByb3VnaG5lc3MgKSAqICggY3ViZVVWX202IC0gY3ViZVVWX201ICkgLyAoIGN1YmVVVl9yNSAtIGN1YmVVVl9yNiApICsgY3ViZVVWX201O1xyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgICAgIGVsc2Uge1xyXG4gICAgICAgICAgICAgICAgbWlwID0gLSAyLjAgKiBsb2cyKCAxLjE2ICogcm91Z2huZXNzICk7XHJcbiAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgcmV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IsIG5lYXI6IGYzMiwgZmFyOiBmMzIpLT5mMzIge1xuICAgICAgICAgICAgcmV0dXJuIDIgKiAobmVhciAqIGZhcikgLyAoZmFyICsgbmVhciAtIGRlcHRoICogKGZhciAtIG5lYXIpKTtcbiAgICAgICAgfVxuXG4gICAgICAgIGZuIGdldEN1YmVGYWNlKHYgOiB2ZWMzPGYzMj4pIC0+IGkzMntcbiAgICAgICAgICAgIGxldCB2QWJzID0gYWJzKHYpO1xuICAgICAgICBcbiAgICAgICAgICAgIGlmICh2QWJzLnogPj0gdkFicy54ICYmIHZBYnMueiA+PSB2QWJzLnkpIHtcbiAgICAgICAgICAgICAgaWYgKHYueiA8IDAuMCkge1xuICAgICAgICAgICAgICAgIHJldHVybiAzO1xuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIHJldHVybiAyO1xuICAgICAgICAgICAgfVxuICAgICAgICBcbiAgICAgICAgICAgIGlmICh2QWJzLnkgPj0gdkFicy54KSB7XG4gICAgICAgICAgICAgIGlmICh2LnkgPCAwLjApIHtcbiAgICAgICAgICAgICAgICByZXR1cm4gNTtcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICByZXR1cm4gNDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgXG4gICAgICAgICAgICBpZiAodi54IDwgMC4wKSB7XG4gICAgICAgICAgICAgIHJldHVybiAxO1xuICAgICAgICAgICAgfVxuICAgICAgICAgICAgcmV0dXJuIDA7XG4gICAgICAgIH1cblxuICAgICAgICBmbiBnZXRTaGFkb3dWYWx1ZShzaGFkb3dNYXBBcnJheTp0ZXh0dXJlX2RlcHRoXzJkX2FycmF5LCBzaGFkb3dTYW1wbGVyOnNhbXBsZXJfY29tcGFyaXNvbiwgbGlnaHRQb3M6dmVjNDxmMzI+LCBnZW9tZXRyeTpHZW9tZXRyeSwgbGlnaHRJbmZvOkxpZ2h0SW5mbywgaW5kZXg6dTMyLCBpc1BvaW50TGlnaHQ6IGJvb2wsIG5lYXI6IGYzMiwgZmFyOiBmMzIpLT5mMzIge1xuICAgICAgICAgICAgdmFyIHZpc2liaWxpdHkgPSAwLjA7XG4gICAgICAgICAgICB2YXIgcHJvamVjdFBvczogdmVjMzxmMzI+ID0gbGlnaHRQb3MueHl6IC8gbGlnaHRQb3MudztcbiAgICAgICAgICAgIHZhciBzaGFkb3dQb3M6IHZlYzM8ZjMyPiA9IHZlYzMocHJvamVjdFBvcy54eSAqIHZlYzIoMC41LCAtMC41KSArIHZlYzIoMC41KSwgcHJvamVjdFBvcy56KTtcbiAgICAgICAgICAgIHZhciBkOmYzMiA9IGRvdChnZW9tZXRyeS5ub3JtYWwsIC1saWdodEluZm8uZGlyZWN0aW9uKTtcbiAgICAgICAgICAgIHZhciBiaWFzID0gbWF4KDAuMDEyICogKDEuMCAtIGQpLCAwLjAwMSkgLyBsaWdodFBvcy53O1xuICAgICAgICAgICAgbGV0IG9uZU92ZXJTaGFkb3dEZXB0aFRleHR1cmVTaXplID0gMS4wIC8gMTAyNC4wO1xuICAgICAgICAgICAgLy8gdmFyIGRlcHRoID0gc2VsZWN0KHNoYWRvd1Bvcy56LCAobGluZWFyaXplRGVwdGgoc2hhZG93UG9zLnosIG5lYXIsIGZhcikgLSBuZWFyKSAvIChmYXItIG5lYXIpLCBpc1BlcnNwZWN0aXZlQ2FtZXJhKTtcbiAgICAgICAgICAgIHZhciBkZXB0aCA9IHNoYWRvd1Bvcy56O1xuXG4gICAgICAgICAgICBpZiAoaXNQb2ludExpZ2h0KSB7XG4gICAgICAgICAgICAgICAgc2hhZG93UG9zLnggPSBzaGFkb3dQb3MueCAqIGxpZ2h0SW5mby52aWV3cG9ydC56O1xuICAgICAgICAgICAgICAgIHNoYWRvd1Bvcy55ID0gc2hhZG93UG9zLnkgKiBsaWdodEluZm8udmlld3BvcnQudztcbiAgICAgICAgICAgICAgICB2YXIgdmlld3BvcnRYID0gbGlnaHRJbmZvLnZpZXdwb3J0LnggKiBsaWdodEluZm8udmlld3BvcnQuejtcbiAgICAgICAgICAgICAgICB2YXIgdmlld3BvcnRZID0gbGlnaHRJbmZvLnZpZXdwb3J0LnkgKiBsaWdodEluZm8udmlld3BvcnQudztcbiAgICAgICAgICAgICAgICB2YXIgdXZPZmZzZXQgPSAxLjUgLyAxMDI0LjA7XG4gICAgICAgICAgICAgICAgc2hhZG93UG9zLnggPSBjbGFtcChzaGFkb3dQb3MueCArIHZpZXdwb3J0WCwgdmlld3BvcnRYICsgdXZPZmZzZXQsIHZpZXdwb3J0WCArIGxpZ2h0SW5mby52aWV3cG9ydC56IC0gdXZPZmZzZXQpO1xuICAgICAgICAgICAgICAgIHNoYWRvd1Bvcy55ID0gY2xhbXAoc2hhZG93UG9zLnkgKyB2aWV3cG9ydFksIHZpZXdwb3J0WSArIHV2T2Zmc2V0LCB2aWV3cG9ydFkgKyBsaWdodEluZm8udmlld3BvcnQudyAtIHV2T2Zmc2V0KTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgZm9yICh2YXIgeSA9IC0xOyB5IDw9IDE7IHkrKykge1xuICAgICAgICAgICAgICAgIGZvciAodmFyIHggPSAtMTsgeCA8PSAxOyB4KyspIHtcbiAgICAgICAgICAgICAgICAgICAgbGV0IG9mZnNldCA9IHZlYzI8ZjMyPih2ZWMyKHgsIHkpKSAqIG9uZU92ZXJTaGFkb3dEZXB0aFRleHR1cmVTaXplO1xuICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgICAgICB2aXNpYmlsaXR5ICs9IHRleHR1cmVTYW1wbGVDb21wYXJlKFxuICAgICAgICAgICAgICAgICAgICAgICAgc2hhZG93TWFwQXJyYXksIHNoYWRvd1NhbXBsZXIsXG4gICAgICAgICAgICAgICAgICAgICAgICBzaGFkb3dQb3MueHkgKyBvZmZzZXQsIGluZGV4LCBkZXB0aCAtIGJpYXMpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHZpc2liaWxpdHkgLz0gOS4wO1xuICAgICAgICAgICAgdmFyIGluRnJ1c3R1bSA9IHNoYWRvd1Bvcy54ID49IDAuMCAmJiBzaGFkb3dQb3MueCA8PSAxLjAgJiYgc2hhZG93UG9zLnkgPj0gMC4wICYmIHNoYWRvd1Bvcy55IDw9IDEuMDtcbiAgICAgICAgICAgIGlmICghaW5GcnVzdHVtIHx8IGRlcHRoID4gMS4wKSB7XG4gICAgICAgICAgICAgICAgdmlzaWJpbGl0eSA9IDEuMDtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIHJldHVybiB2aXNpYmlsaXR5O1xuICAgICAgICB9XG4gICAgI2VuZGlmXG5cbiAgICAjaWYgVVNFX0FNQklFTlRMSUdIVHx8VVNFX1NQT1RMSUdIVHx8VVNFX1BPSU5UTElHSFR8fFVTRV9ESVJURUNUTElHSFRcbiAgICAgICAgc3RydWN0IExpZ2h0VW5pZm9ybXN7XG4gICAgICAgICAgICAjaWYgVVNFX0FNQklFTlRMSUdIVFxuICAgICAgICAgICAgICAgIGFtYmllbnQ6dmVjNDxmMzI+LFxuICAgICAgICAgICAgI2VuZGlmXG4gICAgICAgICAgICAjaWYgVVNFX1NQT1RMSUdIVFxuICAgICAgICAgICAgICAgIHNwb3RMaWdodHM6YXJyYXk8U3BvdExpZ2h0LHNwb3RMaWdodHNDb3VudD4sXG4gICAgICAgICAgICAjZW5kaWZcbiAgICAgICAgICAgICNpZiBVU0VfUE9JTlRMSUdIVFxuICAgICAgICAgICAgICAgIHBvaW50TGlnaHRzOmFycmF5PFBvaW50TGlnaHQscG9pbnRMaWdodHNDb3VudD4sXG4gICAgICAgICAgICAjZW5kaWZcbiAgICAgICAgICAgICNpZiBVU0VfRElSVEVDVExJR0hUXG4gICAgICAgICAgICAgICAgZGlydGVjdExpZ2h0czphcnJheTxEaXJlY3Rpb25hbExpZ2h0LGRpcnRlY3RMaWdodHNDb3VudD4sXG4gICAgICAgICAgICAjZW5kaWZcbiAgICAgICAgfVxuICAgICAgICBAZ3JvdXAoMikgQGJpbmRpbmcobGlnaHRCaW5kaW5nKSB2YXI8c3RvcmFnZSwgcmVhZD4gbGlnaHRVbmlmb3JtczogTGlnaHRVbmlmb3JtcztcblxuICAgICAgICAjaWYgT1BFTl9TSEFET1dcbiAgICAgICAgICAgICNpZiBVU0VfU1BPVExJR0hUX1NIQURPV01BUFxuICAgICAgICAgICAgICAgIHN0cnVjdCBTcG90TGlnaHRTaGFkb3cge1xuICAgICAgICAgICAgICAgICAgICBzaGFkb3dDYW1lcmFWUE1hdHJpeDogbWF0NHg0PGYzMj4sXG4gICAgICAgICAgICAgICAgICAgIHNoYWRvd0NhbWVyYU5lYXI6IGYzMixcbiAgICAgICAgICAgICAgICAgICAgc2hhZG93Q2FtZXJhRmFyOiBmMzJcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAjZW5kaWZcbiAgICAgICAgICAgICNpZiBVU0VfUE9JTlRMSUdIVF9TSEFET1dNQVBcbiAgICAgICAgICAgICAgICBzdHJ1Y3QgUG9pbnRMaWdodFNoYWRvdyB7XG4gICAgICAgICAgICAgICAgICAgIHNoYWRvd0NhbWVyYVZQTWF0cml4QXJyYXk6IGFycmF5PG1hdDR4NDxmMzI+LCA2PixcbiAgICAgICAgICAgICAgICAgICAgc2hhZG93Q2FtZXJhVmlld3BvcnRBcnJheTogYXJyYXk8dmVjNDxmMzI+LCA2PixcbiAgICAgICAgICAgICAgICAgICAgc2hhZG93Q2FtZXJhTmVhcjogZjMyLFxuICAgICAgICAgICAgICAgICAgICBzaGFkb3dDYW1lcmFGYXI6IGYzMixcbiAgICAgICAgICAgICAgICAgICAgLy8gc2hhZG93Q2FtZXJhVlBNYXRyaXg6IG1hdDR4NDxmMzI+LFxuICAgICAgICAgICAgICAgICAgICAvLyBzaGFkb3dDYW1lcmFWUE1hdHJpeEFycmF5OiBhcnJheTxtYXQ0eDQ8ZjMyPiwgNj4sXG4gICAgICAgICAgICAgICAgICAgIC8vIHNoYWRvd0NhbWVyYVZpZXdwb3J0QXJyYXk6IGFycmF5PHZlYzQ8ZjMyPiwgNj4sXG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgI2VuZGlmXG4gICAgICAgICAgICAjaWYgVVNFX0RJUkVDVExJR0hUX1NIQURPV01BUFxuICAgICAgICAgICAgICAgIHN0cnVjdCBEaXJlY3RMaWdodFNoYWRvdyB7XG4gICAgICAgICAgICAgICAgICAgIHNoYWRvd0NhbWVyYVZQTWF0cml4OiBtYXQ0eDQ8ZjMyPixcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAjZW5kaWZcbiAgICAgICAgICAgIHN0cnVjdCBTaGFkb3dVbmlmb3Jtc3tcbiAgICAgICAgICAgICAgICAjaWYgVVNFX1NQT1RMSUdIVF9TSEFET1dNQVBcbiAgICAgICAgICAgICAgICAgICAgc3BvdExpZ2h0U2hhZG93czphcnJheTxTcG90TGlnaHRTaGFkb3csc3BvdExpZ2h0U2hhZG93TWFwc0NvdW50PixcbiAgICAgICAgICAgICAgICAjZW5kaWZcbiAgICAgICAgICAgICAgICAjaWYgVVNFX1BPSU5UTElHSFRfU0hBRE9XTUFQXG4gICAgICAgICAgICAgICAgICAgIHBvaW50TGlnaHRTaGFkb3dzOmFycmF5PFBvaW50TGlnaHRTaGFkb3cscG9pbnRMaWdodFNoYWRvd01hcHNDb3VudD4sXG4gICAgICAgICAgICAgICAgI2VuZGlmXG4gICAgICAgICAgICAgICAgI2lmIFVTRV9ESVJFQ1RMSUdIVF9TSEFET1dNQVBcbiAgICAgICAgICAgICAgICAgICAgZGlyZWN0TGlnaHRTaGFkb3dzOmFycmF5PERpcmVjdExpZ2h0U2hhZG93LGRpcmVjdExpZ2h0U2hhZG93TWFwc0NvdW50PixcbiAgICAgICAgICAgICAgICAjZW5kaWZcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgIEBncm91cCgyKSBAYmluZGluZyhzaGFkb3dCaW5kaW5nKSB2YXI8c3RvcmFnZSwgcmVhZD4gc2hhZG93VW5pZm9ybXM6IFNoYWRvd1VuaW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gICAgICAgIHZhciBzcG90TGlnaHRTaGFkb3c6U3BvdExpZ2h0U2hhZG93ID0gc2hhZG93VW5pZm9ybXMuc3BvdExpZ2h0U2hhZG93c1trXTtcbiAgICAgICAgICAgICAgICAgICAgICAgIHZhciBsaWdodFBvczogdmVjNDxmMzI+ID0gc3BvdExpZ2h0U2hhZG93LnNoYWRvd0NhbWVyYVZQTWF0cml4ICogdmVjNDxmMzI+KGdlb21ldHJ5LnBvc2l0aW9uLDEuMCk7XG4gICAgICAgICAgICAgICAgICAgICAgICB2YXIgbGlnaHRJbmZvOkxpZ2h0SW5mbztcbiAgICAgICAgICAgICAgICAgICAgICAgIGxpZ2h0SW5mby5kaXJlY3Rpb24gPSBub3JtYWxpemUoZ2VvbWV0cnkucG9zaXRpb24gLSBzcG90TGlnaHQucG9zaXRpb24pO1xuXG4gICAgICAgICAgICAgICAgICAgICAgICBzaGFkb3dWYWx1ZSA9IGdldFNoYWRvd1ZhbHVlKHNwb3RMaWdodFNoYWRvd01hcFRleHR1cmVBcnJheSwgc2hhZG93U2FtcGxlciwgbGlnaHRQb3MsIGdlb21ldHJ5LCBsaWdodEluZm8sIGssIGZhbHNlLFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHNwb3RMaWdodFNoYWRvdy5zaGFkb3dDYW1lcmFOZWFyLCBzcG90TGlnaHRTaGFkb3cuc2hhZG93Q2FtZXJhRmFyKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICBzcG90TGlnaHQuY29sb3IgKj0gc2hhZG93VmFsdWU7XG4gICAgICAgICAgICAgICAgI2VuZGlmXG4gICAgICAgICAgICAgICAgI2lmIE1BVEVSSUFMX1BIT05HXG4gICAgICAgICAgICAgICAgICAgIGxldCBzcFJlZmxlY3RlZExpZ2h0PWdldFNwb3RMaWdodEluZm8oc3BvdExpZ2h0LGdlb21ldHJ5LnBvc2l0aW9uLHNoaW5pbmVzcyxnZW9tZXRyeS5ub3JtYWwsZ2Vvb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lxuICAgICAgICAgICAgICAgICAgIGxldCBpbmNpZGVudExpZ2h0PWdldFBvaW50TGlnaHRJbmNpZGVudExpZ2h0KHBvaW50TGlnaHQsZ2VvbWV0cnkpO1xuICAgICAgICAgICAgICAgICAgIGxldCBwb2lSZWZsZWN0ZWRMaWdodD1kaXJlY3RfUGh5c2ljYWwoaW5jaWRlbnRMaWdodCwgZ2VvbWV0cnksIG1hdGVyaWFsKTtcbiAgICAgICAgICAgICAgICAjZW5kaWZcblxuICAgICAgICAgICAgICAgIHJlZmxlY3RlZExpZ2h0LmRpcmVjdERpZmZ1c2UrPXBvaVJlZmxlY3RlZExpZ2h0LmRpcmVjdERpZmZ1c2U7XG4gICAgICAgICAgICAgICAgcmVmbGVjdGVkTGlnaHQuZGlyZWN0U3BlY3VsYXIrPXBvaVJlZmxlY3RlZExpZ2h0LmRpcmVjdFNwZWN1bGFyO1xuICAgICAgICAgICAgfVxuICAgICAgICAjZW5kaWZcbiAgICAgICAgI2lmIFVTRV9ESVJURUNUTElHSFRcbiAgICAgICAgICAgIC8v5aSE55CG5pa55ZCR5YWJXG4gICAgICAgICAgICB2YXIgZGlyZWN0aW9uYWxMaWdodDpEaXJlY3Rpb25hbExpZ2h0O1xuICAgICAgICAgICAgZm9yICh2YXIgaT0gMHU7IGkgPGRpcnRlY3RMaWdodHNDb3VudDsgaSA9IGkgKyAxdSkge1xuICAgICAgICAgICAgICAgIGRpcmVjdGlvbmFsTGlnaHQgPSBsaWdodFVuaWZvcm1zLmRpcnRlY3RMaWdodHNbaV07XG4gICAgICAgICAgICAgICAgI2lmIE1BVEVSSUFMX1BIT05HJiZPUEVOX1NIQURPVyYmVVNFX0RJUkVDVExJR0hUX1NIQURPV01BUFxuICAgICAgICAgICAgICAgICAgICBpZiBpIDwgdGV4dHVyZU51bUxheWVycyhkaXJlY3RMaWdodFNoYWRvd01hcFRleHR1cmVBcnJheSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGRpcmVjdExpZ2h0U2hhZG93OkRpcmVjdExpZ2h0U2hhZG93ID0gc2hhZG93VW5pZm9ybXMuZGlyZWN0TGlnaHRTaGFkb3dzW2ldO1xuICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGxpZ2h0UG9zOiB2ZWM0PGYzMj4gPSBkaXJlY3RMaWdodFNoYWRvdy5zaGFkb3dDYW1lcmFWUE1hdHJpeCAqIHZlYzQ8ZjMyPihnZW9tZXRyeS5wb3NpdGlvbiwxLjApO1xuICAgICAgICAgICAgICAgICAgICAgICAgdmFyIGxpZ2h0SW5mbzpMaWdodEluZm87XG4gICAgICAgICAgICAgICAgICAgICAgICBsaWdodEluZm8uZGlyZWN0aW9uID0gZGlyZWN0aW9uYWxMaWdodC5kaXJlY3Rpb247XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgXG4gICAgICAgICAgICAgICAgICAgICAgICBzaGFkb3dWYWx1ZSA9IGdldFNoYWRvd1ZhbHVlKGRpcmVjdExpZ2h0U2hhZG93TWFwVGV4dHVyZUFycmF5LCBzaGFkb3dTYW1wbGVyLCBsaWdodFBvcywgZ2VvbWV0cnksIGxpZ2h0SW5mbywgaSwgZmFsc2UsIDAsIDApO1xuICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIGRpcmVjdGlvbmFsTGlnaHQuY29sb3IgKj0gc2hhZG93VmFsdWU7XG4gICAgICAgICAgICAgICAgI2VuZGlmXG4gICAgICAgICAgICBcbiAgICAgICAgICAgICAgICAjaWYgTUFURVJJQUxfUEhPTkdcbiAgICAgICAgICAgICAgICAgICAgbGV0IGRpclJlZmxlY3RlZExpZ2h0PWdldERpcmVjdExpZ2h0SW5mbyhkaXJlY3Rpb25hbExpZ2h0LHNoaW5pbmVzcyxnZW9tZXRyeS5ub3JtYWwsZ2VvbWV0cnkudmlld0Rpcik7XG4gICAgICAgICAgICAgICAgI2VsaWYgTUFURVJJQUxfUEJSXG4gICAgICAgICAgICAgICAgICAgIGxldCBpbmNpZGVudExpZ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cm9zcyhub3JtYWwsIGRwMSk7XG4gICAgICAgICAgICAgIGxldCB0YW5nZW50OnZlYzM8ZjMyPiA9IGRwMnBlcnAgKiBkdXYxLnggKyBkcDFwZXJwICogZHV2Mi54O1xuICAgICAgICAgICAgICBsZXQgYmlub3JtYWw6dmVjMzxmMzI+ID0gZHAycGVycCAqIGR1djEueSArIGRwMXBlcnAgKiBkdXYyLnk7XG4gICAgICAgICAgICAgIC8vIGNvbnN0cnVjdCBhIHNjYWxlLWludmFyaWFudCBmcmFtZSBcbiAgICAgICAgICAgICAgbGV0IHJlc3VsdDpmMzI9bWF4KGRvdCh0YW5nZW50LCB0YW5nZW50KSwgZG90KGJpbm9ybWFsLCBiaW5vcm1hbCkpO1xuICAgICAgICAgICAgICBsZXQgaW52bWF4OmYzMiA9IDEuMC9zcXJ0KHJlc3VsdCk7XG4gICAgICAgICAgICAgIGxldCB0Ym46bWF0M3gzPGYzMj4gPSBtYXQzeDM8ZjMyPih0YW5nZW50ICogaW52bWF4LCBiaW5vcm1hbCAqIGludm1heCwgbm9ybWFsKTtcbiAgICAgICAgI2VuZGlmXG4gICAgICAgIHJldHVybiB0Ym47XG4gICAgICB9XG4gIGA7XG4iLCJleHBvcnQgZGVmYXVsdCBgXG4gICAgICAgICNpZiBVU0VfU0hFRU5cbiAgICAgICAgICAgICAgICBmbiBEX0NoYXJsaWUoIHJvdWdobmVzczpmMzIsZG90Tkg6ZjMyICktPmYzMiB7XG4gICAgICAgICAgICAgICAgICAgIGxldCBhbHBoYTpmMzIgPSBwb3cyKCByb3VnaG5lc3MgKTtcbiAgICAgICAgICAgICAgICAgICAgbGV0IGludkFscGhhOmYzMiA9IDEuMCAvIGFscGhhO1xuICAgICAgICAgICAgICAgICAgICBsZXQgY29zMmg6ZjMyID0gZG90TkggKiBkb3ROSDtcbiAgICAgICAgICAgICAgICAgICAgbGV0IHNpbjJoOmYzMiA9IG1heCggMS4wIC0gY29zMmgsIDAuMDA3ODEyNSApO1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gKCAyLjAgKyBpbnZBbHBoYSApICogcG93KCBzaW4yaCwgaW52QWxwaGEgKiAwLjUgKSAvICggMi4wICogcGkgKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgZm4gVl9OZXViZWx0KCBkb3ROVjpmMzIsIGRvdE5MOmYzMiApLT5mMzIge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4gc2F0dXJhdGUoIDEuMCAvICggNC4wICogKCBkb3ROTCArIGRvdE5WIC0gZG90TkwgKiBkb3ROViApICkgKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgZm4gQlJERl9TaGVlbihsaWdodERpcjp2ZWMzPGYzMj4sIHZpZXdEaXI6dmVjMzxmMzI+LCBub3JtYWw6dmVjMzxmMzI+LHNoZWVuQ29sb3I6dmVjMzxmMzI+LHNoZWVuUm91Z2huZXNzOmYzMiApLT52ZWMzPGYzMj4ge1xuICAgICAgICAgICAgICAgICAgICBsZXQgaGFsZkRpcjp2ZWMzPGYzMj4gPSBub3JtYWxpemUoIGxpZ2h0RGlyICsgdmlld0RpciApO1xuICAgICAgICAgICAgICAgICAgICBsZXQgZG90Tkw6ZjMyID0gc2F0dXJhdGUoIGRvdCggbm9ybWFsLCBsaWdodERpciApICk7XG4gICAgICAgICAgICAgICAgICAgIGxldCBkb3ROVjpmMzIgPSBzYXR1cmF0ZSggZG90KCBub3JtYWwsIHZpZXdEaXIgKSApO1xuICAgICAgICAgICAgICAgICAgICBsZXQgZG90Tkg6ZjMyID0gc2F0dXJhdGUoIGRvdCggbm9ybWFsLCBoYWxmRGlyICkgKTtcbiAgICAgICAgICAgICAgICAgICAgbGV0IEQ6ZjMyID0gRF9DaGFybGllKCBzaGVlblJvdWdobmVzcywgZG90TkggKTtcbiAgICAgICAgICAgICAgICAgICAgbGV0IFY6ZjMyID0gVl9OZXViZWx0KCBkb3ROViwgZG90TkwgKTtcbiAgICAgICAgICAgICAgICAgICAgc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ub3JtYWwsIGxpZ2h0RGlyICkgKTtcbiAgICAgICAgICAgIGxldCBkb3ROVjpmMzIgPSBzYXR1cmF0ZSggZG90KCBub3JtYWwsIHZpZXdEaXIgKSApO1xuICAgICAgICAgICAgbGV0IGRvdE5IOmYzMiA9IHNhdHVyYXRlKCBkb3QoIG5vcm1hbCwgaGFsZkRpciApICk7XG4gICAgICAgICAgICBsZXQgZG90Vkg6ZjMyID0gc2F0dXJhdGUoIGRvdCggdmlld0RpciwgaGFsZkRpciApICk7XG4gICAgICAgICAgICBsZXQgZjp2ZWMzPGYzMj4gPSBtaXgoIEZfU2NobGljayggZjAsIGY5MCwgZG90VkggKSwgaXJpZGVzY2VuY2VGcmVzbmVsLCBpcmlkZXNjZW5jZSApO1xuICAgICAgICAgICAgbGV0IHY6ZjMyID0gVl9HR1hfU21pdGhDb3JyZWxhdGVkKCBhbHBoYSwgZG90TkwsIGRvdE5WICk7XG4gICAgICAgICAgICBsZXQgZDpmMzIgPSBEX2dneChhbHBoYSwgZG90TkggKTtcbiAgICAgICAgICAgIHJldHVybiBmICogKCB2ICogZCApO1xuICAgICAgICB9XG4gICAgI2VuZGlmXG5cbiAgICAjaWYgJHtkZWZpbmVzLlVTRV9TSEVFTn1cbiAgICAgICAgZm4gRF9DaGFybGllKCByb3VnaG5lc3M6ZjMyLGRvdE5IOmYzMiApLT5mMzIge1xuICAgICAgICAgICAgbGV0IGFscGhhOmYzMiA9IHBvdzIoIHJvdWdobmVzcyApO1xuICAgICAgICAgICAgbGV0IGludkFscGhhOmYzMiA9IDEuMCAvIGFscGhhO1xuICAgICAgICAgICAgbGV0IGNvczJoOmYzMiA9IGRvdE5IICogZG90Tkg7XG4gICAgICAgICAgICBsZXQgc2luMmg6ZjMyID0gbWF4KCAxLjAgLSBjb3MyaCwgMC4wMDc4MTI1ICk7XG4gICAgICAgICAgICByZXR1cm4gKCAyLjAgKyBpbnZBbHBoYSApICogcG93KCBzaW4yaCwgaW52QWxwaGEgKiAwLjUgKS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gICNpZiBUT05FX01BUFBJTkdcbiAgICAgICAgICAgICAgICB0b25lTWFwcGluZ0V4cG9zdXJlOmYzMixcbiAgICAgICAgICAgICNlbmRpZlxuICAgICAgICAgICBcbiAgICAgICAgICAgICNpZiBTUEVDVUxBUlxuICAgIFxuICAgICAgICAgICAgICAgICBzcGVjdWxhckNvbG9yOnZlYzM8ZjMyPixcbiAgICBcbiAgICAgICAgICAgICAgICAgc3BlY3VsYXJJbnRlbnNpdHk6ZjMyLFxuICAgICAgICAgICAgI2VuZGlmXG4gICAgICAgICAgICBcbiAgICAgICAgICAgICNpZiBVU0VfU0hFRU5cbiAgICBcbiAgICAgICAgICAgICAgICBzaGVlbkNvbG9yOnZlYzM8ZjMyPixcbiAgICBcbiAgICAgICAgICAgICAgICBzaGVlblJvdWdobmVzczpmMzIsXG4gICAgICAgICAgICAjZW5kaWZcblxuICAgICAgICAgICAgI2lmIFVTRV9UUkFOU01JU1NJT05cbiAgICBcbiAgICAgICAgICAgICAgICBhdHRlbnVhdGlvbkNvbG9yOnZlYzM8ZjMyPixcbiAgICBcbiAgICAgICAgICAgICAgICB0cmFuc21pc3Npb246ZjMyLFxuICAgIFxuICAgICAgICAgICAgICAgIHRyYW5zbWlzc2lvblNhbXBsZXJTaXplOnZlYzI8ZjMyPixcbiAgICBcbiAgICAgICAgICAgICAgICB0aGlja25lc3M6ZjMyLFxuICAgIFxuICAgICAgICAgICAgICAgIGF0dGVudWF0aW9uRGlzdGFuY2U6ZjMyLFxuICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgI2VuZGlmXG5cbiAgICAgICAgICAgICNpZiBVU0VfU0tJTk5JTkdcbiAgICBcbiAgICAgICAgICAgICAgICBiaW5kTWF0cml4Om1hdDR4NDxmMzI+LFxuICAgIFxuICAgICAgICAgICAgICAgIGJpbmRNYXRyaXhJbnZlcnNlOm1hdDR4NDxmMzI+LFxuICAgIFxuICAgICAgICAgICAgICAgIGJvbmVUZXh0dXJlU2l6ZTp1MzIsXG4gICAgICAgICAgICAjZW5kaWZcblxuICAgICAgICAgICAgI2lmIFVTRV9OT1JNQUxURVhUVVJFXG4gICAgICAgICAgICAgICAgIG5vcm1hbFNjYWxlOnZlYzI8ZjMyPixcbiAgICAgICAgICAgICNlbmRpZlxuICAgIFxuICAgICAgICAgICAgI2lmIElPUlxuICAgICAgICAgICAgICAgIGlvcjpmMzIsXG4gICAgICAgICAgICAjZW5kaWZcbiAgICBcbiAgICAgICAgICAgICNpZiBVU0VfQ0xFQVJDT0FUXG4gICAgXG4gICAgICAgICAgICAgICAgI2lmIFVTRV9DTEVBUkNPQVRfTk9STUFMVEVYVFVSRVxuICAgICAgICAgICAgICAgICAgICBjbGVhcmNvYXROb3JtYWxTY2FsZTp2ZWMyPGYzMj4sXG4gICAgICAgICAgICAgICAgI2VuZGlmXG4gICAgXG4gICAgICAgICAgICAgICAgIGNsZWFyY29hdDpmMzIsXG4gICAgXG4gICAgICAgICAgICAgICAgIGNsZWFyY29hdFJvdWdobmVzczpmMzIsXG4gICAgICAgICAgICAjZW5kaWZcbiAgICBcbiAgICAgICAgICAgICNpZiBVU0VfSVJJREVTQ0VOQ0VcbiAgICAgICAgICAgICAgICBpcmlkZXNjZW5jZTpmMzIsXG4gICAgXG4gICAgICAgICAgICAgICAgaXJpZGVzY2VuY2VJT1I6ZjMyLFxuICAgIFxuICAgICAgICAgICAgICAgIGlyaWRlc2NlbmNlVGhpY2tuZXNzTWluaW11bTpmMzIsXG4gICAgXG4gICAgICAgICAgICAgICAgaXJpZGVzY2VuY2VUaGlja25lc3NNYXhpbXVtOmYzMixcbiAgICBcbiAgICAgICAgICAgICNlbmRpZlxuXG4gICAgICAgICAgICAjaWYgVVNFX0FPVEVYVFVSRVxuICAgICAgICAgICAgICAgICBhb1RleHR1cmVJbnRlbnNpdHk6ZjMyLFxuICAgICAgICAgICAgI2VuZGlmXG5cbiAgICAgICAgICAgICNpZiBVU0VfTElHSFRURVhUVVJFXG4gICAgICAgICAgICAgICAgIGxpZ2h0VGV4dHVyZUludGVuc2l0eTpmMzIsXG4gICAgICAgICAgICAjZW5kaWZcbiAgICBcbiAgICAgICAgICAgICNpZiBVU0VfRU5WVEVYVFVSRVxuICAgICAgICAgICAgICAgIGVudlRleHR1cmVJbnRlbnNpdHk6ZjMyLFxuICAgIFxuICAgICAgICAgICAgICAgIGZsaXBFbnZUZXh0dXJlOmYzMixcbiAgICAgICAgICAgICNlbmRpZlxuXG4gICAgICAgICAgICAjaWYgVVNFX0JVTVBURVhUVVJFXG4gICAgICAgICAgICAgICAgYnVtcFNjYWxlOmYzMjtcbiAgICAgICAgICAgICNlbmRpZlxuXG4gICAgICAgICAgICAjaWYgVVNFX0RJU1BMQUNFTUVOVFRFWFRVUkVcbiAgICBcbiAgICAgICAgICAgICAgICBkaXNwbGFjZW1lbnRTY2FsZTpmMzIsXG4gICAgXG4gICAgICAgICAgICAgICAgZGlzcGxhY2VtZW50QmlhczpmMzIsXG4gICAgICAgICAgICAjZW5kaWZcbiAgICAgICAgICAgIFxuICAgICAgICAgICAgI2lmIFVTRV9NT1JQSFRBUkdFVFNcbiAgICBcbiAgICAgICAgICAgICAgICBtb3JwaFRhcmdldEJhc2VJbmZsdWVuY2U6ZjMyLFxuICAgIFxuICAgICAgICAgICAgICAgICNpZiBNT1JQSFRBUkdFVFNfVEVYVFVSRVxuICAgIFxuICAgICAgICAgICAgICAgICAgICBtb3JwaFRhcmdldHNUZXh0dXJlU2l6ZTp2ZWMyPHUzMj4sXG4gICAgXG4gICAgICAgICAgICAgICAgICAgIE1PUlBIVEFSR0VUU19DT1VOVDp1MzIsXG4gICAgXG4gICAgICAgICAgICAgICAgI2VuZGlmXG4gICAgXG4gICAgICAgICAgICAgICAgbW9ycGhUYXJnZXRJbmZsdWVuY2VzOmFycmF5PGYzMj4sXG4gICAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgI2VuZGlmXG4gICAgICAgIH1cblxuICAgYDtcbiIsImV4cG9ydCBkZWZhdWx0IGAgICAgICAgIFxuICAgICAgICAgICAgI2lmIFVTRV9CVU1QVEVYVFVSRVxuICAgICAgICAgICAgICAgIEBncm91cCgwKSBAYmluZGluZyhidW1wVGV4dHVyZUJpbmRpbmcpIHZhciBidW1wVGV4dHVyZTogdGV4dHVyZV8yZDxmMzI+O1xuICAgICAgICAgICAgI2VuZGlmXG4gICAgICAgICAgICAjaWYgVVNFX1RSQU5TTUlTU0lPTlxuICAgICAgICAgICAgICAgICNpZiBVU0VfVFJBTlNNSVNTSU9OVEVYVFVSRVxuICAgICAgICAgICAgICAgICAgICBAZ3JvdXAoMCkgQGJpbmRpbmcodHJhbnNtaXNzaW9uVGV4dHVyZUJpbmRpbmcpIHZhciB0cmFuc21pc3Npb25UZXh0dXJlOiB0ZXh0dXJlXzJkPGYzMj47XG4gICAgICAgICAgICAgICAgI2VuZGlmXG4gICAgICAgICAgICAgICAgI2lmIFVTRV9USElDS05FU1NURVhUVVJFXG4gICAgICAgICAgICAgICAgICAgIEBncm91cCgwKSBAYmluZGluZyh0aGlja25lc3NUZXh0dXJlQmluZGluZykgdmFyIHRoaWNrbmVzc1RleHR1cmU6IHRleHR1cmVfMmQ8ZjMyPjtcbiAgICAgICAgICAgICAgICAjZW5kaWZcbiAgICAgICAgICAgICAgICBAZ3JvdXAoMCkgQGJpbmRpbmcodHJhbnNtaXNzaW9uU2FtcGxlclRleHR1cmVCaW5kaW5nKSB2YXIgdHJhbnNtaXNzaW9uU2FtcGxlclRleHR1cmU6IHRleHR1cmVfMmQ8ZjMyPjtcbiAgICAgICAgICAgICNlbmRpZlxuICAgICAgICAgICAgI2lmIFVTRV9FTlZURVhUVVJFXG4gICAgICAgICAgICAgICAgQGdyb3VwKDApIEBiaW5kaW5nKGVudlRleHR1cmVCaW5kaW5nKSB2YXIgZW52VGV4dHVyZTogdGV4dHVyZV9jdWJlPGYzMj47XG4gICAgICAgICAgICAjZW5kaWZcbiAgICAgICAgICAgICNpZiBVU0VfTk9STUFMVEVYVFVSRVxuICAgIC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gICAgICAgICAjZW5kaWZcbiAgICAgICAgICAgIFxuICAgICAgICAgICAgI2lmIFVTRV9JUklERVNDRU5DRV9USElDS05FU1NURVhUVVJFXG4gICAgICAgICAgICAgICAgQGdyb3VwKDApIEBiaW5kaW5nKGlyaWRlc2NlbmNlVGhpY2tuZXNzVGV4dHVyZUJpbmRpbmcpIHZhciBpcmlkZXNjZW5jZVRoaWNrbmVzc1RleHR1cmU6IHRleHR1cmVfMmQ8ZjMyPjtcbiAgICAgICAgICAgICNlbmRpZlxuICAgICAgICAgICAgXG4gICAgICAgICAgICAjaWYgVVNFX1JPVUdITkVTU1RFWFRVUkVcbiAgICAgICAgICAgICAgICBAZ3JvdXAoMCkgQGJpbmRpbmcocm91Z2huZXNzVGV4dHVyZUJpbmRpbmcpIHZhciByb3VnaG5lc3NUZXh0dXJlOiB0ZXh0dXJlXzJkPGYzMj47XG4gICAgICAgICAgICAjZW5kaWZcbiAgICAgICAgICAgIFxuICAgICAgICAgICAgI2lmIFVTRV9NRVRBTE5FU1NURVhUVVJFXG4gICAgICAgICAgICAgICAgQGdyb3VwKDApIEBiaW5kaW5nKG1ldGFsbmVzc1RleHR1cmVCaW5kaW5nKSB2YXIgbWV0YWxuZXNzVGV4dHVyZTogdGV4dHVyZV8yZDxmMzI+O1xuICAgICAgICAgICAgI2VuZGlmXG5cbiAgICAgICAgICAgICNpZiBTUEVDVUxBUlxuICAgICAgICAgICAgICAgICNpZiBVU0VfU1BFQ1VMQVJJTlRFTlNJVFlURVhUVVJFXG4gICAgICAgICAgICAgICAgICAgIEBncm91cCgwKSBAYmluZGluZyhzcGVjdWxhckludGVuc2l0eVRleHR1cmVCaW5kaW5nKSB2YXIgc3BlY3VsYXJJbnRlbnNpdHlUZXh0dXJlOiB0ZXh0dXJlXzJkPGYzMj47XG4gICAgICAgICAgICAgICAgI2VuZGlmXG5cbiAgICAgICAgICAgICAgICAjaWYgVVNFX1NQRUNVTEFSQ09MT1JURVhUVVJFXG4gICAgICAgICAgICAgICAgICAgIEBncm91cCgwKSBAYmluZGluZyhzcGVjdWxhckNvbG9yVGV4dHVyZUJpbmRpbmcpIHZhciBzcGVjdWxhckNvbG9yVGV4dHVyZTogdGV4dHVyZV8yZDxmMzI+O1xuICAgICAgICAgICAgICAgICNlbmRpZlxuICAgICAgICAgICAgI2VuZGlmXG5cbiAgICAgICAgICAgICNpZiBVU0VfU0hFRU5cbiAgICAgICAgICAgICAgICAjaWYgVVNFX1NIRUVOQ09MT1JURVhUVVJFXG4gICAgICAgICAgICAgICAgICAgIEBncm91cCgwKSBAYmluZGluZyhzaGVlbkNvbG9yVGV4dHVyZUJpbmRpbmcpIHZhciBzaGVlbkNvbG9yVGV4dHVyZTogdGV4dHVyZV8yZDxmMzI+O1xuICAgICAgICAgICAgICAgICNlbmRpZlxuICAgICAgICAgICAgICAgICNpZiBVU0VfU0hFRU5ST1VHSE5FU1NURVhUVVJFXG4gICAgICAgICAgICAgICAgICAgIEBncm91cCgwKSBAYmluZGluZyhzaGVlblJvdWdobmVzc1RleHR1cmVCaW5kaW5nKSB2YXIgc2hlZW5Sb3VnaG5lc3NUZXh0dXJlOiB0ZXh0dXJlXzJkPGYzMj47XG4gICAgICAgICAgICAgICAgI2VuZGlmXG4gICAgICAgICAgICAjZW5kaWZcblxuICAgICAgICAgICAgI2lmIFVTRV9URVhUVVJFXG4gICAgICAgICAgICAgICAgQGdyb3VwKDApIEBiaW5kaW5nKGJhc2VTYW1wbGVyQmluZGluZykgdmFyIGJhc2VTYW1wbGVyOiBzYW1wbGVyO1xuICAgICAgICAgICAgICAgIEBncm91cCgwKSBAYmluZGluZyhiYXNlVGV4dHVyZUJpbmRpbmcpIHZhciBiYXNlVGV4dHVyZTogdGV4dHVyZV8yZDxmMzI+O1xuICAgICAgICAgICAgI2VuZGlmXG5cbiAgICAgICAgICAgICNpZiBVU0VfQUxQSEFURVhUVVJFXG4gICAgICAgICAgICAgICAgQGdyb3VwKDApIEBiaW5kaW5nKGFscGhhVGV4dHVy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GxldCBqb2ludDMgPSBqb2ludHNVbmlmb3JtLm1hdHJpeHNbdTMyKGpvaW50cy53KV0gKiBpbnZlcnNlQmluZE1hdHJpY2VzVW5pZm9ybS5tYXRyaXhzW3UzMihqb2ludHMudyldO1xuICAgICAgICBcbiAgICAgICAgICAgIGxldCBza2luTWF0cml4ID0gam9pbnQwICogd2VpZ2h0cy54ICtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBqb2ludDEgKiB3ZWlnaHRzLnkgK1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGpvaW50MiAqIHdlaWdodHMueiArXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgam9pbnQzICogd2VpZ2h0cy53O1xuICAgICAgICAgICAgcmV0dXJuIHNraW5NYXRyaXg7XG4gICAgICAgIH1cbiAgICAgICAgI2VuZGlmXG4gICBgO1xuXG5leHBvcnQgY29uc3Qgc2tpblZlcnRIZWFkZXIgPSBgXG4gICAjaWYgSEFTX1NLSU4gXG4gICAgICAgIHN0cnVjdCBKb2ludHNVbmlmb3Jte1xuICAgICAgICAgICAgIG1hdHJpeHM6YXJyYXk8bWF0NHg0Zj4sXG4gICAgICAgIH1cbiAgICAgICAgc3RydWN0IEludmVyc2VCaW5kTWF0cmljZXNVbmlmb3Jte1xuICAgICAgICAgICAgbWF0cml4czphcnJheTxtYXQ0eDRmPixcbiAgICAgICAgfVxuICAgICAgICBAYmluZGluZyhza2luSm9pbnRzQnVmZmVyQmluZGluZykgQGdyb3VwKDApIHZhcjxzdG9yYWdlLCByZWFkPiBqb2ludHNVbmlmb3JtIDogSm9pbnRzVW5pZm9ybTtcbiAgICAgICAgQGJpbmRpbmcoaW52c0J1ZmZlckJpbmRpbmcpIEBncm91cCgwKSB2YXI8c3RvcmFnZSwgcmVhZD4gaW52ZXJzZUJpbmRNYXRyaWNlc1VuaWZvcm0gOiBJbnZlcnNlQmluZE1hdHJpY2VzVW5pZm9ybTtcbiAgICAgICAgZm4gZ2V0U2tpbk1hdHJpeChqb2ludHM6IHZlYzRmLCB3ZWlnaHRzOiB2ZWM0ZikgLT4gbWF0NHg0PGYzMj4ge1xuICAgICAgICAgICAgbGV0IGpvaW50MCA9IGpvaW50c1VuaWZvcm0ubWF0cml4c1t1MzIoam9pbnRzLngpXSAqIGludmVyc2VCaW5kTWF0cmljZXNVbmlmb3JtLm1hdHJpeHNbdTMyKGpvaW50cy54KV07XG4gICAgICAgICAgICBsZXQgam9pbnQxID0gam9pbnRzVW5pZm9ybS5tYXRyaXhzW3UzMihqb2ludHMueSldICogaW52ZXJzZUJpbmRNYXRyaWNlc1VuaWZvcm0ubWF0cml4c1t1MzIoam9pbnRzLnkpXTtcbiAgICAgICAgICAgIGxldCBqb2ludDIgPSBqb2ludHNVbmlmb3JtLm1hdHJpeHNbdTMyKGpvaW50cy56KV0gKiBpbnZlcnNlQmluZE1hdHJpY2VzVW5pZm9ybS5tYXRyaXhzW3UzMihqb2ludHMueildO1xuICAgICAgICAgICAgbGV0IGpvaW50MyA9IGpvaW50c1VuaWZvcm0ubWF0cml4c1t1MzIoam9pbnRzLncpXSAqIGludmVyc2VCaW5kTWF0cmljZXNVbmlmb3JtLm1hdHJpeHNbdTMyKGpvaW50cy53KV07XG4gICAgICAgIFxuICAgICAgICAgICAgbGV0IHNraW5NYXRyaXggPSBqb2ludDAgKiB3ZWlnaHRzLnggK1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgIGpvaW50MSAqIHdlaWdodHMueSArXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgam9pbnQyICogd2VpZ2h0cy56ICtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBqb2ludDMgKiB3ZWlnaHRzLnc7XG4gICAgICAgICAgICByZXR1cm4gc2tpbk1hdHJpeDtcbiAgICAgICAgfVxuICAgICAgICAjZW5kaWZcbiAgIGA7XG5leHBvcnQgY29uc3Qgc2tpblZlcnRNYWluID0gYFxuICAgICAgICAjaWYgSEFTX1NLSU5cbiAgICAgICAgICAgIG1vZG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blxuXHRcdFx0dmVydDogKCkgPT4ge1xuXHRcdFx0XHRyZXR1cm4gYFxuICAgICAgICAgICAgICBzdHJ1Y3QgVmVydGV4SW5wdXQge1xuICAgICAgICAgICAgICAgICAgICBAbG9jYXRpb24oMCkgcG9zaXRpb246IHZlYzI8ZjMyPiwgICAgICAgXG4gICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICBzdHJ1Y3QgVmVydGV4T3V0cHV0IHtcbiAgICAgICAgICAgICAgICAgICAgQGJ1aWx0aW4ocG9zaXRpb24pIHBvc2l0aW9uOiB2ZWM0PGYzMj4sXG4gICAgICAgICAgICAgICAgICAgIEBsb2NhdGlvbigwKSB1djogdmVjMjxmMzI+LFxuICAgICAgICAgICAgICAgIH07XG4gICAgICAgICAgICAgICBAdmVydGV4XG4gICAgICAgICAgICAgICBmbiBtYWluKGlucHV0OiBWZXJ0ZXhJbnB1dCkgLT4gVmVydGV4T3V0cHV0IHtcbiAgICAgICAgICAgICAgICB2YXIgb3V0cHV0OlZlcnRleE91dHB1dDtcbiAgICAgICAgICAgICAgICBvdXRwdXQudXYgPSBpbnB1dC5wb3NpdGlvbiAqIDAuNSArIDAuNTtcbiAgICAgICAgICAgICAgICBvdXRwdXQucG9zaXRpb24gPSB2ZWM0PGYzMj4oaW5wdXQucG9zaXRpb24sIDAuMCwgMS4wKTs7XG4gICAgICAgICAgICAgICAgcmV0dXJuIG91dHB1dDtcbiAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICBgO1xuXHRcdFx0fSxcblxuXHRcdFx0ZnJhZzogKGRlZmluZXMpID0+IHtcblx0XHRcdFx0cmV0dXJuIGBcbiAgICAgICAgICAgICAgICBzdHJ1Y3QgRnJhZ0lucHV0IHtcbiAgICAgICAgICAgICAgICAgICAgQGxvY2F0aW9uKDApIHV2OiB2ZWMyPGYzMj4sXG4gICAgICAgICAgICAgICAgfTtcbiAgICAgICAgICAgICAgICBzdHJ1Y3QgQmxvb21Vbmlmb3Jtc3tcb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ICBzcGhlcmljYWwucGhpICs9IHNwaGVyaWNhbERlbHRhLnBoaTtcclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC8vIHJlc3RyaWN0IHRoZXRhIHRvIGJlIGJldHdlZW4gZGVzaXJlZCBsaW1pdHNcclxuXHJcbiAgICAgICAgbGV0IG1pbiA9IHRoYXQubWluQXppbXV0aEFuZ2xlO1xyXG4gICAgICAgIGxldCBtYXggPSB0aGF0Lm1heEF6aW11dGhBbmdsZTtcclxuXHJcbiAgICAgICAgaWYgKGlzRmluaXRlKG1pbikgJiYgaXNGaW5pdGUobWF4KSkge1xyXG4gICAgICAgICAgaWYgKG1pbiA8IC1NYXRoLlBJKSBtaW4gKz0gdHdvUEk7XHJcbiAgICAgICAgICBlbHNlIGlmIChtaW4gPiBNYXRoLlBJKSBtaW4gLT0gdHdvUEk7XHJcblxyXG4gICAgICAgICAgaWYgKG1heCA8IC1NYXRoLlBJKSBtYXggKz0gdHdvUEk7XHJcbiAgICAgICAgICBlbHNlIGlmIChtYXggPiBNYXRoLlBJKSBtYXggLT0gdHdvUEk7XHJcblxyXG4gICAgICAgICAgaWYgKG1pbiA8PSBtYXgpIHtcclxuICAgICAgICAgICAgc3BoZXJpY2FsLnRoZXRhID0gTWF0aC5tYXgobWluLCBNYXRoLm1pbihtYXgsIHNwaGVyaWNhbC50aGV0YSkpO1xyXG4gICAgICAgICAgfSBlbHNlIHtcclxuICAgICAgICAgICAgc3BoZXJpY2FsLnRoZXRhID1cclxuICAgICAgICAgICAgICBzcGhlcmljYWwudGhldGEgPiAobWluICsgbWF4KSAvIDJcclxuICAgICAgICAgICAgICAgID8gTWF0aC5tYXgobWluLCBzcGhlcmljYWwudGhldGEpXHJcbiAgICAgICAgICAgICAgICA6IE1hdGgubWluKG1heCwgc3BoZXJpY2FsLnRoZXRhKTtcclxuICAgICAgICAgIH1cclxuICAgICAgICB9XHJcblxyXG4gICAgICAgIC8vIHJlc3RyaWN0IHBoaSB0byBiZSBiZXR3ZWV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hbigoKHRoYXQub2JqZWN0LmZvdiAvIDIpICogTWF0aC5QSSkgLyAxODAuMCk7XHJcblxyXG4gICAgICAgICAgLy8gd2UgdXNlIG9ubHkgY2xpZW50SGVpZ2h0IGhlcmUgc28gYXNwZWN0IHJhdGlvIGRvZXMgbm90IGRpc3RvcnQgc3BlZWRcclxuICAgICAgICAgIHBhbkxlZnQoXHJcbiAgICAgICAgICAgICgyICogZGVsdGFYICogdGFyZ2V0RGlzdGFuY2UpIC8gZWxlbWVudC5jbGllbnRIZWlnaHQsXHJcbiAgICAgICAgICAgIHRoYXQub2JqZWN0Lm1vZGVsTWF0cml4XHJcbiAgICAgICAgICApO1xyXG4gICAgICAgICAgcGFuVXAoXHJcbiAgICAgICAgICAgICgyICogZGVsdGFZICogdGFyZ2V0RGlzdGFuY2UpIC8gZWxlbWVudC5jbGllbnRIZWlnaHQsXHJcbiAgICAgICAgICAgIHRoYXQub2JqZWN0Lm1vZGVsTWF0cml4XHJcbiAgICAgICAgICApO1xyXG4gICAgICAgIH0gZWxzZSBpZiAodGhhdC5vYmplY3QuaXNPcnRob2dyYXBoaWNDYW1lcmEpIHtcclxuICAgICAgICAgIC8vIG9ydGhvZ3JhcGhpY1xyXG4gICAgICAgICAgcGFuTGVmdChcclxuICAgICAgICAgICAgKGRlbHRhWCAqICh0aGF0Lm9iamVjdC5yaWdodCAtIHRoYXQub2JqZWN0LmxlZnQpKSAvXHJcbiAgICAgICAgICAgICAgdGhhdC5vYmplY3Quem9vbSAvXHJcbiAgICAgICAgICAgICAgZWxlbWVudC5jbGllbnRXaWR0aCxcclxuICAgICAgICAgICAgdGhhdC5vYmplY3QubW9kZWxNYXRyaXhcclxuICAgICAgICAgICk7XHJcbiAgICAgICAgICBwYW5VcChcclxuICAgICAgICAgICAgKGRlbHRhWSAqICh0aGF0Lm9iamVjdC50b3AgLSB0aGF0Lm9iamVjdC5ib3R0b20pKSAvXHJcbiAgICAgICAgICAgICAgdGhhdC5vYmplY3Quem9vbSAvXHJcbiAgICAgICAgICAgICAgZWxlbWVudC5jbGllbnRIZWlnaHQsXHJcbiAgICAgICAgICAgIHRoYXQub2JqZWN0Lm1vZGVsTWF0cml4XHJcbiAgICAgICAgICApO1xyXG4gICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAvLyBjYW1lcmEgbmVpdGhlciBvcnRob2dyYXBoaWMgbm9yIHBlcnNwZWN0aXZlXHJcbiAgICAgICAgICBjb25zb2xlLndhcm4oXHJcbiAgICAgICAgICAgIFwiV0FSTklORzogT3JiaXRDb250cm9scy5qcyBlbmNvdW50ZXJlZCBhbiB1bmtub3duIGNhbWVyYSB0eXBlIC0gcGFuIGRpc2FibGVkLlwiXHJcbiAgICAgICAgICApO1xyXG4gICAgICAgICAgdGhhdC5lbmFibGVQYW4gPSBmYWxzZTtcclxuICAgICAgICB9XHJcbiAgICAgIH07XHJcbiAgICB9KSgpO1xyXG4gICAgY29uc3QgZG9sbHlPdXQgPSAoZG9sbHlTY2FsZSkgPT4ge1xyXG4gICAgICBpZiAodGhpcy5vYmplY3QuaXNQZXJzcGVjdGl2ZUNhbWVyYSkge1xyXG4gICAgICAgIHNjYWxlIC89IGRvbGx5U2NhbGU7XHJcbiAgICAgIH0gZWxzZSBpZiAodGhpcy5vYmplY3QuaXNPcnRob2dyYXBoaWNDYW1lcmEpIHtcclxuICAgICAgICB0aGlzLm9iamVjdC56b29tID0gTWF0aC5tYXgoXHJcbiAgICAgICAgICB0aGlzLm1pblpvb20sXHJcbiAgICAgICAgICBNYXRoLm1pbih0aGlzLm1heFpvb20sIHRoaXMub2JqZWN0Lnpvb20gKiBkb2xseVNjYWxlKVxyXG4gICAgICAgICk7XHJcbiAgICAgICAgdGhpcy5vYmplY3QudXBkYXRlUHJvamVjdGlvbk1hdHJpeCgpO1xyXG4gICAgICAgIHpvb21DaGFuZ2VkID0gdHJ1ZTtcclxuICAgICAgfSBlbHNlIHtcclxuICAgICAgICBjb25zb2xlLndhcm4oXHJcbiAgICAgICAg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5cclxuICAgICAgaWYgKHBvaW50ZXJzLmxlbmd0aCA9PT0gMCkge1xyXG4gICAgICAgIHRoaXMuZG9tRWxlbWVudC5zZXRQb2ludGVyQ2FwdHVyZShldmVudC5wb2ludGVySWQpO1xyXG5cclxuICAgICAgICB0aGlzLmRvbUVsZW1lbnQuYWRkRXZlbnRMaXN0ZW5lcihcInBvaW50ZXJtb3ZlXCIsIHRoaXMub25Qb2ludGVyTW92ZSk7XHJcbiAgICAgICAgdGhpcy5kb21FbGVtZW50LmFkZEV2ZW50TGlzdGVuZXIoXCJwb2ludGVydXBcIiwgdGhpcy5vblBvaW50ZXJVcCk7XHJcbiAgICAgIH1cclxuXHJcbiAgICAgIC8vXHJcblxyXG4gICAgICBhZGRQb2ludGVyKGV2ZW50KTtcclxuXHJcbiAgICAgIGlmIChldmVudC5wb2ludGVyVHlwZSA9PT0gXCJ0b3VjaFwiKSB7XHJcbiAgICAgICAgb25Ub3VjaFN0YXJ0KGV2ZW50KTtcclxuICAgICAgfSBlbHNlIHtcclxuICAgICAgICBvbk1vdXNlRG93bihldmVudCk7XHJcbiAgICAgIH1cclxuICAgIH07XHJcblxyXG4gICAgdGhpcy5vblBvaW50ZXJNb3ZlID0gKGV2ZW50KSA9PiB7XHJcbiAgICAgIGlmICh0aGlzLmVuYWJsZWQgPT09IGZhbHNlKSByZXR1cm47XHJcblxyXG4gICAgICBpZiAoZXZlbnQucG9pbnRlclR5cGUgPT09IFwidG91Y2hcIikge1xyXG4gICAgICAgIG9uVG91Y2hNb3ZlKGV2ZW50KTtcclxuICAgICAgfSBlbHNlIHtcclxuICAgICAgICBvbk1vdXNlTW92ZShldmVudCk7XHJcbiAgICAgIH1cclxuICAgIH07XHJcblxyXG4gICAgdGhpcy5vblBvaW50ZXJVcCA9IChldmVudCkgPT4ge1xyXG4gICAgICByZW1vdmVQb2ludGVyKGV2ZW50KTtcclxuXHJcbiAgICAgIGlmIChwb2ludGVycy5sZW5ndGggPT09IDApIHtcclxuICAgICAg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lIE1PVVNFLkRPTExZOlxyXG4gICAgICAgICAgaWYgKHRoaXMuZW5hYmxlWm9vbSA9PT0gZmFsc2UpIHJldHVybjtcclxuXHJcbiAgICAgICAgICBoYW5kbGVNb3VzZURvd25Eb2xseShldmVudCk7XHJcblxyXG4gICAgICAgICAgc3RhdGUgPSBTVEFURS5ET0xMWTtcclxuXHJcbiAgICAgICAgICBicmVhaztcclxuXHJcbiAgICAgICAgY2FzZSBNT1VTRS5ST1RBVEU6XHJcbiAgICAgICAgICBpZiAoZXZlbnQuY3RybEtleSB8fCBldmVudC5tZXRhS2V5IHx8IGV2ZW50LnNoaWZ0S2V5KSB7XHJcbiAgICAgICAgICAgIGlmICh0aGlzLmVuYWJsZVBhbiA9PT0gZmFsc2UpIHJldHVybjtcclxuXHJcbiAgICAgICAgICAgIGhhbmRsZU1vdXNlRG93blBhbihldmVudCk7XHJcblxyXG4gICAgICAgICAgICBzdGF0ZSA9IFNUQVRFLlBBTjtcclxuICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgIGlmICh0aGlzLmVuYWJsZVJvdGF0ZSA9PT0gZmFsc2UpIHJldHVybjtcclxuXHJcbiAgICAgICAgICAgIGhhbmRsZU1vdXNlRG93blJvdGF0ZShldmVudCk7XHJcblxyXG4gICAgICAgICAgICBzdGF0ZSA9IFNUQVRFLlJPVEFURTtcclxuICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICBicmVhaztcclxuXHJcbiAgICAgICAgY2FzZSBNT1VTRS5QQU46XHJcbiAgICAgICAgICBpZiAoZXZlbnQuY3RybEtleSB8fCBldmVudC5tZXRhS2V5IHx8IGV2ZW50LnNoaWZ0S2V5KSB7XHJcbiAgICAgICAgICAgIGlmICh0aGlzLmVuYWJsZVJvdGF0ZSA9PT0gZmFsc2UpIHJldHVybjtcclxuXHJcbiAgICAgICAgICAgIGhhbmRsZU1vdXNlRG93blJvdGF0ZShldmVudCk7XHJcblxyXG4gICAgICAgICAgICBzdGF0ZSA9IFNUQVRFLlJPVEFURTtcclxuICAgICAgICAgIH0gZWxzZSB7XHJcbiAgICAgICAgICAgIGlmICh0aGlzLmVuYWJsZVBhbiA9PT0gZmFsc2UpIHJldHVybjtcclxuXHJcbiAgICAgICAgICAgIGhhbmRsZU1vdXNlRG93blBhbihldmVudCk7XHJcblxyXG4gICAgICAgICAgICBzdGF0ZSA9IFNUQVRFLlBBTjtcclxuICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICBicmVhaztcclxuXHJcbiAgICAgICAgZGVmYXVsdDpcclxuICAgICAgICAgIHN0YXRlID0gU1RBVEUuTk9ORTtcclxuICAgICAgfVxyXG5cclxuICAgICAgaWYgKHN0YXRlICE9PSBTVEFURS5OT05FKSB7XHJcbiAgICAgICAgdGhpcy5kaXNwYXRjaEV2ZW50KF9zdGFydEV2ZW50KTtcclxuICAgICAgfVxyXG4gICAgfTtcclxuXHJcbiAgICBjb25zdCBvbk1vdXNlTW92ZSA9IChldmVudCkgPT4ge1xyXG4gICAgICBzd2l0Y2ggKHN0YXRlKSB7XHJcbiAgICAgICAgY2FzZSBTVEFURS5ST1RBVEU6XHJcbiAgICAgICAgICBpZiAodGhpcy5lbmFibGVSb3RhdGUgPT09IGZhbHNlKSByZXR1cm47XHJcblxyXG4gICAgICAgICAgaGFuZGxlTW91c2VNb3ZlUm90YXRlKGV2ZW50KTtcclxuXHJcbiAgICAgICAgICBicmVhaztcclxuXHJcbiAgICAgICAgY2FzZSBTVEFURS5ET0xMWTpcclxuICAgICAgICAgIGlmICh0aGlzLmVuYWJsZVpvb20gPT09IGZhbHNlKSByZXR1cm47XHJcblxyXG4gICAgICAgICAgaGFuZGxlTW91c2VNb3ZlRG9sbHkoZXZlbnQpO1xyXG5cclxuICAgICAgICAgIGJyZWFrO1xyXG5cclxuICAgICAgICBjYXNlIFNUQVRFLlBBTjpcclxuICAgICAgICAgIGlmICh0aGlzLmVuYWJsZVBhbiA9PT0gZmFsc2UpIHJldHVybjtcclxuXHJcbiAgICAgICAgICBoYW5kbGVNb3VzZU1vdmVQYW4oZXZlbnQpO1xyXG5cclxuICAgICAgICAgIGJyZWFrO1xyXG4gICAgICB9XHJcbiAgICB9O1xyXG5cclxuICAgIHRoaXMub25Nb3VzZVdoZWVsID0gKGV2ZW50KSA9PiB7XHJcbiAgICAgIGlmIChcclxuICAgICAgICB0aGlzLmVuYWJsZWQgPT09IGZhbHNlIHx8XHJcbiAgICAgICAgdGhpcy5lbmFibGVab29tID09PSBmYWxzZSB8fFxyXG4gICAgICAgIHN0YXRlICE9PSBTVEFURS5OT05FXHJcbiAgICAgIClcclxuICAgICAgICByZXR1cm47XHJcblxyXG4gICAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpO1xyXG5cclxuICAgICAgdGhpcy5kaXNwYXRjaEV2ZW50KF9zdGFydEV2ZW50KTtcclxuXHJcbiAgICAgIGhhbmRsZU1vdXNlV2hlZWwoZXZlbnQpO1xyXG5cclxuICAgICAgdGhpcy5kaXNwYXRjaEV2ZW50KF9lbmRFdmVudCk7XHJcbiAgICB9O1xyXG5cclxuICAgIHRoaXMub25LZXlEb3duID0gKGV2ZW50KSA9PiB7XHJcbiAgICAgIGlmICh0aGlzLmVuYWJsZWQgPT09IGZhbHNlIHx8IHRoaXMuZW5hYmxlUGFuID09PSBmYWxzZSkgcmV0dXJuO1xyXG5cclxuICAgICAgaGFuZGxlS2V5RG93bihldmVudCk7XHJcbiAgICB9O1xyXG5cclxuICAgIGNvbnN0IG9uVG91Y2hTdGFydCA9IChldmVudCkgPT4ge1xyXG4gICAgICB0cmFja1BvaW50ZXIoZXZlbnQpO1xyXG5cclxuICAgICAgc3dpdGNoIChwb2ludGVycy5sZW5ndGgpIHtcclxuICAgICAgICBjYXNlIDE6XHJcbiAgICAgICAgICBzd2l0Y2ggKHRoaXMudG91Y2hlcy5PTkUpIHtcclxuICAgICAgICAgICAgY2FzZSBUT1VDSC5ST1RBVEU6XHJcbiAgICAgICAgICAgICAgaWYgKHRoaXMuZW5hYmxlUm90YXRlID09PSBmYWxzZSkgcmV0dXJuO1xyXG5cclxuICAgICAgICAgICAgICBoYW5kbGVUb3VjaFN0YXJ0Um90YXRlKCk7XHJcblxyXG4gICAgICAgICAgICAgIHN0YXRlID0gU1RBVEUuVE9VQ0hfUk9UQVRFO1xyXG5cclxuICAgICAgICAgICAgICBicmVhaztcclxuXHJcbiAgICAgICAgICAgIGNhc2UgVE9VQ0guUEFOOlxyXG4gICAgICAgICAgICAgIGlmICh0aGlzLmVuYWJsZVBhbiA9PT0gZmFsc2UpIHJldHVybjtcclxuXHJcbiAgICAgICAgICAgICAgaGFuZGxlVG91Y2hTdGFydFBhbigpO1xyXG5cclxuICAgICAgICAgICAgICBzdGF0ZSA9IFNUQVRFLlRPVUNIX1BBTjtcclxuXHJcbiAgICAgICAgICAgICAgYnJlYWs7XHJcblxyXG4gICAgICAgICAgICBkZWZhdWx0OlxyXG4gICAgICAgICAgICAgIHN0YXRlID0gU1RBVEUuTk9ORTtcclxuICAgICAgICAgIH1cclxuXHJcbiAgICAgICAgICBicmVhaztcclxuXHJcbiAgICAgICAgY2FzZSAyOlxyXG4gICAgICAgICAgc3dpdGNoICh0aGlzLnRvdWNoZXMuVFdPKSB7XHJcbiAgICAgICAgICAgIGNhc2UgVE9VQ0guRE9MTFlfUEFOOlxyXG4gICAgICAgICAgICAgIGlmICh0aGlzLmVuYWJsZVpvb20gPT09IGZhbHNlICYmIHRoaXMuZW5hYmxlUGFuID09PSBmYWxzZSkgcmV0dXJuO1xyXG5cclxuICAgICAgICAgICAgICBoYW5kbGVUb3VjaFN0YXJ0RG9sbHlQYW4oKTtcclxuXHJcbiAgICAgICAgICAgICAgc3RhdGUgPSBTVEFURS5UT1VDSF9ET0xMWV9QQU47XHJcblxyXG4gICAgICAgICAgICAgIGJyZWFrO1xyXG5cclxuICAgICAgICAgICAgY2FzZSBUT1VDSC5ET0xMWV9ST1RBVEU6XHJcbiAgICAgICAgICAgICAgaWYgKHRoaXMuZW5hYmx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HRoaXMuZW5hYmxlUGFuID09PSBmYWxzZSkgcmV0dXJuO1xyXG5cclxuICAgICAgICAgIGhhbmRsZVRvdWNoTW92ZVBhbihldmVudCk7XHJcblxyXG4gICAgICAgICAgdGhpcy51cGRhdGUoKTtcclxuXHJcbiAgICAgICAgICBicmVhaztcclxuXHJcbiAgICAgICAgY2FzZSBTVEFURS5UT1VDSF9ET0xMWV9QQU46XHJcbiAgICAgICAgICBpZiAodGhpcy5lbmFibGVab29tID09PSBmYWxzZSAmJiB0aGlzLmVuYWJsZVBhbiA9PT0gZmFsc2UpIHJldHVybjtcclxuXHJcbiAgICAgICAgICBoYW5kbGVUb3VjaE1vdmVEb2xseVBhbihldmVudCk7XHJcblxyXG4gICAgICAgICAgdGhpcy51cGRhdGUoKTtcclxuXHJcbiAgICAgICAgICBicmVhaztcclxuXHJcbiAgICAgICAgY2FzZSBTVEFURS5UT1VDSF9ET0xMWV9ST1RBVEU6XHJcbiAgICAgICAgICBpZiAodGhpcy5lbmFibGVab29tID09PSBmYWxzZSAmJiB0aGlzLmVuYWJsZVJvdGF0ZSA9PT0gZmFsc2UpIHJldHVybjtcclxuXHJcbiAgICAgICAgICBoYW5kbGVUb3VjaE1vdmVEb2xseVJvdGF0ZShldmVudCk7XHJcblxyXG4gICAgICAgICAgdGhpcy51cGRhdGUoKTtcclxuXHJcbiAgICAgICAgICBicmVhaztcclxuXHJcbiAgICAgICAgZGVmYXVsdDpcclxuICAgICAgICAgIHN0YXRlID0gU1RBVEUuTk9ORTtcclxuICAgICAgfVxyXG4gICAgfTtcclxuXHJcbiAgICB0aGlzLm9uQ29udGV4dE1lbnUgPSAoZXZlbnQpID0+IHtcclxuICAgICAgaWYgKHRoaXMuZW5hYmxlZCA9PT0gZmFsc2UpIHJldHVybjtcclxuXHJcbiAgICAgIGV2ZW50LnByZXZlbnREZWZhdWx0KCk7XHJcbiAgICB9O1xyXG4gICAgdGhpcy5nZXRBdXRvUm90YXRpb25BbmdsZSA9ICgpID0+IH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BUSxDQUFDLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDO0FBQ3hELFFBQUEsTUFBTSxDQUFDLEdBQUcsR0FBRyxJQUFJLFFBQVEsQ0FBQyxDQUFDLENBQUMsQ0FBQyxLQUFLLEdBQUcsUUFBUSxDQUFDLENBQUMsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDO0FBRXhELFFBQUEsUUFBUSxDQUFDLEdBQUcsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUM7QUFDcEIsS0FBQTtBQUNILENBQUM7QUFFRCxTQUFTLHFCQUFxQixHQUFBO0FBQzVCLElBQUEsTUFBTSxFQUFFLEdBQUcsUUFBUSxDQUFDLENBQUMsQ0FBQyxDQUFDLEtBQUssR0FBRyxRQUFRLENBQUMsQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDO0FBQ2pELElBQUEsTUFBTSxFQUFFLEdBQUcsUUFBUSxDQUFDLENBQUMsQ0FBQyxDQUFDLEtBQUssR0FBRyxRQUFRLENBQUMsQ0FBQyxDQUFDLENBQUMsS0FBSyxDQUFDO0FBRWpELElBQUEsTUFBTSxRQUFRLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxFQUFFLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxFQUFFLENBQUMsQ0FBQztBQUU5QyxJQUFBLFVBQVUsQ0FBQyxHQUFHLENBQUMsQ0FBQyxFQUFFLFFBQVEsQ0FBQyxDQUFDO0FBQzlCOzs7OyJ9 diff --git a/example/material/shaderMaterial.html b/example/material/shaderMaterial.html index 0acdb5c..73f57b9 100644 --- a/example/material/shaderMaterial.html +++ b/example/material/shaderMaterial.html @@ -77,17 +77,16 @@ } } ], - vert: (defines) => { - return ` + vert: ` struct MaterialUniform { modelMatrix: mat4x4, color:vec3, } struct VertexInput { //auto Fill - @location(${defines.positionLocation}) position: vec3, - @location(${defines.normalLocation}) normal: vec3, - @location(${defines.uvLocation}) uv: vec2, + @location(positionLocation) position: vec3, + @location(normalLocation) normal: vec3, + @location(uvLocation) uv: vec2, } struct VertexOutput { @builtin(position) position : vec4, @@ -100,8 +99,8 @@ cameraPosition: vec3, }; // Guaranteed to be consistent with the ShaderMaterial type - @binding(${defines.customBinding}) @group(0) var matUniform : MaterialUniform; - @binding(${defines.cameraBinding}) @group(1) var cameraUniform : CameraUniform; + @binding(customBinding) @group(0) var matUniform : MaterialUniform; + @binding(cameraBinding) @group(1) var cameraUniform : CameraUniform; @vertex fn main(input:VertexInput) -> VertexOutput { var output : VertexOutput; @@ -109,10 +108,8 @@ output.fragPosition = vec4(input.uv,input.uv.x,1.0); return output; } - `; - }, - frag: (defines) => { - return ` + `, + frag: ` struct VertexOutput { @builtin(position) position : vec4, @location(0) fragPosition: vec4, @@ -121,13 +118,12 @@ modelMatrix: mat4x4, color:vec3, } - @binding(${defines.customBinding}) @group(0) var matUniform : MaterialUniform; + @binding(customBinding) @group(0) var matUniform : MaterialUniform; @fragment fn main(input:VertexOutput) -> @location(0) vec4 { return vec4(input.fragPosition.xyz*matUniform.color,1.0); } - `; - } + ` }); const boxPrimitive = new Mesh(boxGeometry, boxMaterial); scene.add(boxPrimitive); diff --git a/example/native/cube1.html b/example/native/cube1.html index c34582c..b82d398 100644 --- a/example/native/cube1.html +++ b/example/native/cube1.html @@ -174,8 +174,10 @@ format: "depth24plus" } }, - count: 36, - instances: 1 + draw: { + count: 36, + instanceCount: 1 + } }); function animate() { diff --git a/example/native/model.html b/example/native/model.html index a8f6a4f..d513f54 100644 --- a/example/native/model.html +++ b/example/native/model.html @@ -187,8 +187,10 @@ format: "depth24plus" } }, - count: 36, - instances: 1 + draw: { + count: 36, + instanceCount: 1 + } }); function animate() { diff --git a/example/native/particles.html b/example/native/particles.html index 6a3e1cf..a6e8e77 100644 --- a/example/native/particles.html +++ b/example/native/particles.html @@ -208,8 +208,10 @@ format: "depth24plus" } }, - count: 6, - instances: numParticles + draw: { + count: 6, + instanceCount: numParticles + } }); const simulateModel = new Model({ shaderId: "simulate", diff --git a/example/native/textureCube.html b/example/native/textureCube.html index ededcfa..5c7ee7d 100644 --- a/example/native/textureCube.html +++ b/example/native/textureCube.html @@ -190,8 +190,10 @@ format: "depth24plus" } }, - count: 36, - instances: 1 + draw: { + count: 36, + instanceCount: 1 + } }); const model1 = new Model({ shaderId: "model", @@ -289,8 +291,10 @@ format: "depth24plus" } }, - count: 36, - instances: 1 + draw: { + count: 36, + instanceCount: 1 + } }); function animate() { diff --git a/package-lock.json b/package-lock.json index 8a85035..0939035 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5151 +1,5155 @@ { - "name": "GEngine", - "version": "1.0.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "GEngine", - "version": "1.0.0", - "license": "ISC", - "dependencies": { - "@rollup/plugin-commonjs": "^23.0.2", - "@types/gl-matrix": "^2.4.5", - "@typescript-eslint/eslint-plugin": "^5.59.5", - "@typescript-eslint/parser": "^5.59.5", - "@webgpu/glslang": "0.0.15", - "@webgpu/types": "0.1.20", - "cross-env": "^7.0.3", - "eslint-config-prettier": "^8.8.0", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", - "eslint-plugin-unused-imports": "^2.0.0", - "glob": "^8.0.3", - "mersenne-twister": "^1.1.0", - "prettier-eslint": "^15.0.1", - "primitive-geometry": "^2.9.0" - }, - "devDependencies": { - "@rollup/plugin-terser": "^0.4.2", - "commitizen": "^4.3.0", - "cz-conventional-changelog": "^3.3.0", - "cz-conventional-changelog-zh": "0.0.2", - "eslint": "^8.40.0", - "husky": "^8.0.3", - "prettier": "^2.8.3", - "pretty-quick": "^3.1.3", - "rollup": "3.10.0", - "rollup-plugin-node-resolve": "^5.2.0", - "rollup-plugin-replace": "^2.2.0", - "rollup-plugin-typescript2": "^0.31.1", - "typescript": "^4.8.4" - }, - "engines": { - "node": ">=14.19.3" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.18.6", - "resolved": "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.18.6.tgz", - "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", - "dev": true, - "optional": true, - "dependencies": { - "@babel/highlight": "^7.18.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.19.1", - "resolved": "https://registry.npmmirror.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", - "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", - "dev": true, - "optional": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.18.6", - "resolved": "https://registry.npmmirror.com/@babel/highlight/-/highlight-7.18.6.tgz", - "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", - "dev": true, - "optional": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.18.6", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@commitlint/config-validator": { - "version": "17.4.0", - "resolved": "https://registry.npmmirror.com/@commitlint/config-validator/-/config-validator-17.4.0.tgz", - "integrity": "sha512-Sa/+8KNpDXz4zT4bVbz2fpFjvgkPO6u2V2fP4TKgt6FjmOw2z3eEX859vtfeaTav/ukBw0/0jr+5ZTZp9zCBhA==", - "dev": true, - "optional": true, - "dependencies": { - "@commitlint/types": "^17.4.0", - "ajv": "^8.11.0" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/execute-rule": { - "version": "17.4.0", - "resolved": "https://registry.npmmirror.com/@commitlint/execute-rule/-/execute-rule-17.4.0.tgz", - "integrity": "sha512-LIgYXuCSO5Gvtc0t9bebAMSwd68ewzmqLypqI2Kke1rqOqqDbMpYcYfoPfFlv9eyLIh4jocHWwCK5FS7z9icUA==", - "dev": true, - "optional": true, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/load": { - "version": "17.4.2", - "resolved": "https://registry.npmmirror.com/@commitlint/load/-/load-17.4.2.tgz", - "integrity": "sha512-Si++F85rJ9t4hw6JcOw1i2h0fdpdFQt0YKwjuK4bk9KhFjyFkRxvR3SB2dPaMs+EwWlDrDBGL+ygip1QD6gmPw==", - "dev": true, - "optional": true, - "dependencies": { - "@commitlint/config-validator": "^17.4.0", - "@commitlint/execute-rule": "^17.4.0", - "@commitlint/resolve-extends": "^17.4.0", - "@commitlint/types": "^17.4.0", - "@types/node": "*", - "chalk": "^4.1.0", - "cosmiconfig": "^8.0.0", - "cosmiconfig-typescript-loader": "^4.0.0", - "lodash.isplainobject": "^4.0.6", - "lodash.merge": "^4.6.2", - "lodash.uniq": "^4.5.0", - "resolve-from": "^5.0.0", - "ts-node": "^10.8.1", - "typescript": "^4.6.4" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/load/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "optional": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@commitlint/load/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "optional": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@commitlint/load/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "optional": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/@commitlint/load/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true, - "optional": true - }, - "node_modules/@commitlint/load/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "optional": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@commitlint/load/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "optional": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@commitlint/resolve-extends": { - "version": "17.4.0", - "resolved": "https://registry.npmmirror.com/@commitlint/resolve-extends/-/resolve-extends-17.4.0.tgz", - "integrity": "sha512-3JsmwkrCzoK8sO22AzLBvNEvC1Pmdn/65RKXzEtQMy6oYMl0Snrq97a5bQQEFETF0VsvbtUuKttLqqgn99OXRQ==", - "dev": true, - "optional": true, - "dependencies": { - "@commitlint/config-validator": "^17.4.0", - "@commitlint/types": "^17.4.0", - "import-fresh": "^3.0.0", - "lodash.mergewith": "^4.6.2", - "resolve-from": "^5.0.0", - "resolve-global": "^1.0.0" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/types": { - "version": "17.4.0", - "resolved": "https://registry.npmmirror.com/@commitlint/types/-/types-17.4.0.tgz", - "integrity": "sha512-2NjAnq5IcxY9kXtUeO2Ac0aPpvkuOmwbH/BxIm36XXK5LtWFObWJWjXOA+kcaABMrthjWu6la+FUpyYFMHRvbA==", - "dev": true, - "optional": true, - "dependencies": { - "chalk": "^4.1.0" - }, - "engines": { - "node": ">=v14" - } - }, - "node_modules/@commitlint/types/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "optional": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@commitlint/types/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "optional": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@commitlint/types/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "optional": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/@commitlint/types/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true, - "optional": true - }, - "node_modules/@commitlint/types/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "optional": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@commitlint/types/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "optional": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@cspotcode/source-map-support": { - "version": "0.8.1", - "resolved": "https://registry.npmmirror.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", - "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", - "dev": true, - "optional": true, - "dependencies": { - "@jridgewell/trace-mapping": "0.3.9" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { - "version": "0.3.9", - "resolved": "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", - "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", - "dev": true, - "optional": true, - "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, - "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmmirror.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", - "dependencies": { - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" - } - }, - "node_modules/@eslint-community/regexpp": { - "version": "4.5.1", - "resolved": "https://registry.npmmirror.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", - "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==", - "engines": { - "node": "^12.0.0 || ^14.0.0 || >=16.0.0" - } - }, - "node_modules/@eslint/eslintrc": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz", - "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==", - "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^9.5.2", - "globals": "^13.19.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@eslint/eslintrc/node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/@eslint/eslintrc/node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "node_modules/@eslint/eslintrc/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/@eslint/js": { - "version": "8.40.0", - "resolved": "https://registry.npmmirror.com/@eslint/js/-/js-8.40.0.tgz", - "integrity": "sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@humanwhocodes/config-array": { - "version": "0.11.8", - "resolved": "https://registry.npmmirror.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", - "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", - "dependencies": { - "@humanwhocodes/object-schema": "^1.2.1", - "debug": "^4.1.1", - "minimatch": "^3.0.5" - }, - "engines": { - "node": ">=10.10.0" - } - }, - "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/@humanwhocodes/config-array/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/@humanwhocodes/module-importer": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", - "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", - "engines": { - "node": ">=12.22" - } - }, - "node_modules/@humanwhocodes/object-schema": { - "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", - "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==" - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.2", - "resolved": "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", - "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", - "dev": true, - "dependencies": { - "@jridgewell/set-array": "^1.0.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.9" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", - "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", - "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/set-array": { - "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/@jridgewell/set-array/-/set-array-1.1.2.tgz", - "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", - "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/source-map": { - "version": "0.3.2", - "resolved": "https://registry.npmmirror.com/@jridgewell/source-map/-/source-map-0.3.2.tgz", - "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", - "dev": true, - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.0", - "@jridgewell/trace-mapping": "^0.3.9" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.4.14", - "resolved": "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", - "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.17", - "resolved": "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz", - "integrity": "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==", - "dev": true, - "dependencies": { - "@jridgewell/resolve-uri": "3.1.0", - "@jridgewell/sourcemap-codec": "1.4.14" - } - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmmirror.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmmirror.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", - "engines": { - "node": ">= 8" - } - }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmmirror.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", - "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/@rollup/plugin-commonjs": { - "version": "23.0.7", - "resolved": "https://registry.npmmirror.com/@rollup/plugin-commonjs/-/plugin-commonjs-23.0.7.tgz", - "integrity": "sha512-hsSD5Qzyuat/swzrExGG5l7EuIlPhwTsT7KwKbSCQzIcJWjRxiimi/0tyMYY2bByitNb3i1p+6JWEDGa0NvT0Q==", - "dependencies": { - "@rollup/pluginutils": "^5.0.1", - "commondir": "^1.0.1", - "estree-walker": "^2.0.2", - "glob": "^8.0.3", - "is-reference": "1.2.1", - "magic-string": "^0.27.0" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "rollup": "^2.68.0||^3.0.0" - }, - "peerDependenciesMeta": { - "rollup": { - "optional": true - } - } - }, - "node_modules/@rollup/plugin-terser": { - "version": "0.4.2", - "resolved": "https://registry.npmmirror.com/@rollup/plugin-terser/-/plugin-terser-0.4.2.tgz", - "integrity": "sha512-jfUVQ4MxzIB0mz8QhDA1xiLT+pTF3WEWXeIqcwhoF84WhLWscPpxjJgjYMyAq0Po4UXqw2D9C64tD0gRDzJzfA==", - "dev": true, - "dependencies": { - "serialize-javascript": "^6.0.0", - "smob": "^0.0.6", - "terser": "^5.15.1" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "rollup": "^2.x || ^3.x" - }, - "peerDependenciesMeta": { - "rollup": { - "optional": true - } - } - }, - "node_modules/@rollup/plugin-terser/node_modules/serialize-javascript": { - "version": "6.0.1", - "resolved": "https://registry.npmmirror.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz", - "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==", - "dev": true, - "dependencies": { - "randombytes": "^2.1.0" - } - }, - "node_modules/@rollup/pluginutils": { - "version": "5.0.2", - "resolved": "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-5.0.2.tgz", - "integrity": "sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==", - "dependencies": { - "@types/estree": "^1.0.0", - "estree-walker": "^2.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=14.0.0" - }, - "peerDependencies": { - "rollup": "^1.20.0||^2.0.0||^3.0.0" - }, - "peerDependenciesMeta": { - "rollup": { - "optional": true - } - } - }, - "node_modules/@tsconfig/node10": { - "version": "1.0.9", - "resolved": "https://registry.npmmirror.com/@tsconfig/node10/-/node10-1.0.9.tgz", - "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", - "dev": true, - "optional": true - }, - "node_modules/@tsconfig/node12": { - "version": "1.0.11", - "resolved": "https://registry.npmmirror.com/@tsconfig/node12/-/node12-1.0.11.tgz", - "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", - "dev": true, - "optional": true - }, - "node_modules/@tsconfig/node14": { - "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/@tsconfig/node14/-/node14-1.0.3.tgz", - "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", - "dev": true, - "optional": true - }, - "node_modules/@tsconfig/node16": { - "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/@tsconfig/node16/-/node16-1.0.3.tgz", - "integrity": "sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==", - "dev": true, - "optional": true - }, - "node_modules/@types/eslint": { - "version": "8.37.0", - "resolved": "https://registry.npmmirror.com/@types/eslint/-/eslint-8.37.0.tgz", - "integrity": "sha512-Piet7dG2JBuDIfohBngQ3rCt7MgO9xCO4xIMKxBThCq5PNRB91IjlJ10eJVwfoNtvTErmxLzwBZ7rHZtbOMmFQ==", - "dependencies": { - "@types/estree": "*", - "@types/json-schema": "*" - } - }, - "node_modules/@types/estree": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.0.tgz", - "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" - }, - "node_modules/@types/gl-matrix": { - "version": "2.4.5", - "resolved": "https://registry.npmmirror.com/@types/gl-matrix/-/gl-matrix-2.4.5.tgz", - "integrity": "sha512-0L8Mq1+oaIW0oVzGUDbSW+HnTjCNb4CmoIQE5BkoHt/A7x20z0MJ1PnwfH3atty/vbWLGgvJwVu2Mz3SKFiEFw==" - }, - "node_modules/@types/json-schema": { - "version": "7.0.11", - "resolved": "https://registry.npmmirror.com/@types/json-schema/-/json-schema-7.0.11.tgz", - "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==" - }, - "node_modules/@types/json5": { - "version": "0.0.29", - "resolved": "https://registry.npmmirror.com/@types/json5/-/json5-0.0.29.tgz", - "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==" - }, - "node_modules/@types/minimatch": { - "version": "3.0.5", - "resolved": "https://registry.npmmirror.com/@types/minimatch/-/minimatch-3.0.5.tgz", - "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", - "dev": true - }, - "node_modules/@types/node": { - "version": "18.11.18", - "resolved": "https://registry.npmmirror.com/@types/node/-/node-18.11.18.tgz", - "integrity": "sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==", - "dev": true - }, - "node_modules/@types/prettier": { - "version": "2.7.2", - "resolved": "https://registry.npmmirror.com/@types/prettier/-/prettier-2.7.2.tgz", - "integrity": "sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg==" - }, - "node_modules/@types/resolve": { - "version": "0.0.8", - "resolved": "https://registry.npmmirror.com/@types/resolve/-/resolve-0.0.8.tgz", - "integrity": "sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/semver": { - "version": "7.5.0", - "resolved": "https://registry.npmmirror.com/@types/semver/-/semver-7.5.0.tgz", - "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==" - }, - "node_modules/@typescript-eslint/eslint-plugin": { - "version": "5.59.6", - "resolved": "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.6.tgz", - "integrity": "sha512-sXtOgJNEuRU5RLwPUb1jxtToZbgvq3M6FPpY4QENxoOggK+UpTxUBpj6tD8+Qh2g46Pi9We87E+eHnUw8YcGsw==", - "dependencies": { - "@eslint-community/regexpp": "^4.4.0", - "@typescript-eslint/scope-manager": "5.59.6", - "@typescript-eslint/type-utils": "5.59.6", - "@typescript-eslint/utils": "5.59.6", - "debug": "^4.3.4", - "grapheme-splitter": "^1.0.4", - "ignore": "^5.2.0", - "natural-compare-lite": "^1.4.0", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "@typescript-eslint/parser": "^5.0.0", - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": { - "version": "7.5.1", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.5.1.tgz", - "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/parser": { - "version": "5.59.6", - "resolved": "https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-5.59.6.tgz", - "integrity": "sha512-7pCa6al03Pv1yf/dUg/s1pXz/yGMUBAw5EeWqNTFiSueKvRNonze3hma3lhdsOrQcaOXhbk5gKu2Fludiho9VA==", - "dependencies": { - "@typescript-eslint/scope-manager": "5.59.6", - "@typescript-eslint/types": "5.59.6", - "@typescript-eslint/typescript-estree": "5.59.6", - "debug": "^4.3.4" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/scope-manager": { - "version": "5.59.6", - "resolved": "https://registry.npmmirror.com/@typescript-eslint/scope-manager/-/scope-manager-5.59.6.tgz", - "integrity": "sha512-gLbY3Le9Dxcb8KdpF0+SJr6EQ+hFGYFl6tVY8VxLPFDfUZC7BHFw+Vq7bM5lE9DwWPfx4vMWWTLGXgpc0mAYyQ==", - "dependencies": { - "@typescript-eslint/types": "5.59.6", - "@typescript-eslint/visitor-keys": "5.59.6" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@typescript-eslint/type-utils": { - "version": "5.59.6", - "resolved": "https://registry.npmmirror.com/@typescript-eslint/type-utils/-/type-utils-5.59.6.tgz", - "integrity": "sha512-A4tms2Mp5yNvLDlySF+kAThV9VTBPCvGf0Rp8nl/eoDX9Okun8byTKoj3fJ52IJitjWOk0fKPNQhXEB++eNozQ==", - "dependencies": { - "@typescript-eslint/typescript-estree": "5.59.6", - "@typescript-eslint/utils": "5.59.6", - "debug": "^4.3.4", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "*" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/types": { - "version": "5.59.6", - "resolved": "https://registry.npmmirror.com/@typescript-eslint/types/-/types-5.59.6.tgz", - "integrity": "sha512-tH5lBXZI7T2MOUgOWFdVNUILsI02shyQvfzG9EJkoONWugCG77NDDa1EeDGw7oJ5IvsTAAGVV8I3Tk2PNu9QfA==", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "5.59.6", - "resolved": "https://registry.npmmirror.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.6.tgz", - "integrity": "sha512-vW6JP3lMAs/Tq4KjdI/RiHaaJSO7IUsbkz17it/Rl9Q+WkQ77EOuOnlbaU8kKfVIOJxMhnRiBG+olE7f3M16DA==", - "dependencies": { - "@typescript-eslint/types": "5.59.6", - "@typescript-eslint/visitor-keys": "5.59.6", - "debug": "^4.3.4", - "globby": "^11.1.0", - "is-glob": "^4.0.3", - "semver": "^7.3.7", - "tsutils": "^3.21.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.5.1", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.5.1.tgz", - "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/utils": { - "version": "5.59.6", - "resolved": "https://registry.npmmirror.com/@typescript-eslint/utils/-/utils-5.59.6.tgz", - "integrity": "sha512-vzaaD6EXbTS29cVH0JjXBdzMt6VBlv+hE31XktDRMX1j3462wZCJa7VzO2AxXEXcIl8GQqZPcOPuW/Z1tZVogg==", - "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@types/json-schema": "^7.0.9", - "@types/semver": "^7.3.12", - "@typescript-eslint/scope-manager": "5.59.6", - "@typescript-eslint/types": "5.59.6", - "@typescript-eslint/typescript-estree": "5.59.6", - "eslint-scope": "^5.1.1", - "semver": "^7.3.7" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/@typescript-eslint/utils/node_modules/semver": { - "version": "7.5.1", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.5.1.tgz", - "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "5.59.6", - "resolved": "https://registry.npmmirror.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.6.tgz", - "integrity": "sha512-zEfbFLzB9ETcEJ4HZEEsCR9HHeNku5/Qw1jSS5McYJv5BR+ftYXwFFAH5Al+xkGaZEqowMwl7uoJjQb1YSPF8Q==", - "dependencies": { - "@typescript-eslint/types": "5.59.6", - "eslint-visitor-keys": "^3.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/@webgpu/glslang": { - "version": "0.0.15", - "resolved": "https://registry.npmmirror.com/@webgpu/glslang/-/glslang-0.0.15.tgz", - "integrity": "sha512-niT+Prh3Aff8Uf1MVBVUsaNjFj9rJAKDXuoHIKiQbB+6IUP/3J3JIhBNyZ7lDhytvXxw6ppgnwKZdDJ08UMj4Q==" - }, - "node_modules/@webgpu/types": { - "version": "0.1.20", - "resolved": "https://registry.npmmirror.com/@webgpu/types/-/types-0.1.20.tgz", - "integrity": "sha512-MFb5oyxX+A7PWQNjcY3kSCSG2FAHaBo7IJBWtxWFgsS20FtY3D9UY7lYqLZ6avS8fSkdSylIS4qiHzFlQUdXag==" - }, - "node_modules/@yarn-tool/resolve-package": { - "version": "1.0.47", - "resolved": "https://registry.npmmirror.com/@yarn-tool/resolve-package/-/resolve-package-1.0.47.tgz", - "integrity": "sha512-Zaw58gQxjQceJqhqybJi1oUDaORT8i2GTgwICPs8v/X/Pkx35FXQba69ldHVg5pQZ6YLKpROXgyHvBaCJOFXiA==", - "dev": true, - "dependencies": { - "pkg-dir": "< 6 >= 5", - "tslib": "^2", - "upath2": "^3.1.13" - } - }, - "node_modules/acorn": { - "version": "8.8.1", - "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.8.1.tgz", - "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.2", - "resolved": "https://registry.npmmirror.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz", - "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/acorn-walk": { - "version": "8.2.0", - "resolved": "https://registry.npmmirror.com/acorn-walk/-/acorn-walk-8.2.0.tgz", - "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmmirror.com/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", - "dev": true, - "optional": true, - "dependencies": { - "fast-deep-equal": "^3.1.1", - "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" - } - }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmmirror.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/arg": { - "version": "4.1.3", - "resolved": "https://registry.npmmirror.com/arg/-/arg-4.1.3.tgz", - "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", - "dev": true, - "optional": true - }, - "node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" - }, - "node_modules/array-buffer-byte-length": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", - "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", - "dependencies": { - "call-bind": "^1.0.2", - "is-array-buffer": "^3.0.1" - } - }, - "node_modules/array-differ": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/array-differ/-/array-differ-3.0.0.tgz", - "integrity": "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/array-includes": { - "version": "3.1.6", - "resolved": "https://registry.npmmirror.com/array-includes/-/array-includes-3.1.6.tgz", - "integrity": "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "get-intrinsic": "^1.1.3", - "is-string": "^1.0.7" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/array-union": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/array-union/-/array-union-2.1.0.tgz", - "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", - "engines": { - "node": ">=8" - } - }, - "node_modules/array.prototype.flat": { - "version": "1.3.1", - "resolved": "https://registry.npmmirror.com/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", - "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-shim-unscopables": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/array.prototype.flatmap": { - "version": "1.3.1", - "resolved": "https://registry.npmmirror.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", - "integrity": "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4", - "es-shim-unscopables": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/arrify": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/arrify/-/arrify-2.0.1.tgz", - "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/at-least-node": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/available-typed-arrays": { - "version": "1.0.5", - "resolved": "https://registry.npmmirror.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", - "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmmirror.com/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "dev": true - }, - "node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "dev": true, - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmmirror.com/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "dev": true, - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "node_modules/builtin-modules": { - "version": "3.3.0", - "resolved": "https://registry.npmmirror.com/builtin-modules/-/builtin-modules-3.3.0.tgz", - "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/cachedir": { - "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/cachedir/-/cachedir-2.3.0.tgz", - "integrity": "sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dependencies": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - } - }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", - "dev": true, - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmmirror.com/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", - "dev": true - }, - "node_modules/cli-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/cli-cursor/-/cli-cursor-3.1.0.tgz", - "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", - "dev": true, - "dependencies": { - "restore-cursor": "^3.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cli-spinners": { - "version": "2.7.0", - "resolved": "https://registry.npmmirror.com/cli-spinners/-/cli-spinners-2.7.0.tgz", - "integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/cli-width": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/cli-width/-/cli-width-3.0.0.tgz", - "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", - "dev": true, - "engines": { - "node": ">= 10" - } - }, - "node_modules/clone": { - "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/clone/-/clone-1.0.4.tgz", - "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", - "dev": true, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" - }, - "node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", - "dev": true - }, - "node_modules/commitizen": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/commitizen/-/commitizen-4.3.0.tgz", - "integrity": "sha512-H0iNtClNEhT0fotHvGV3E9tDejDeS04sN1veIebsKYGMuGscFaswRoYJKmT3eW85eIJAs0F28bG2+a/9wCOfPw==", - "dev": true, - "dependencies": { - "cachedir": "2.3.0", - "cz-conventional-changelog": "3.3.0", - "dedent": "0.7.0", - "detect-indent": "6.1.0", - "find-node-modules": "^2.1.2", - "find-root": "1.1.0", - "fs-extra": "9.1.0", - "glob": "7.2.3", - "inquirer": "8.2.5", - "is-utf8": "^0.2.1", - "lodash": "4.17.21", - "minimist": "1.2.7", - "strip-bom": "4.0.0", - "strip-json-comments": "3.1.1" - }, - "bin": { - "commitizen": "bin/commitizen", - "cz": "bin/git-cz", - "git-cz": "bin/git-cz" - }, - "engines": { - "node": ">= 12" - } - }, - "node_modules/commitizen/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/commitizen/node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dev": true, - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/commitizen/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - } - }, - "node_modules/commitizen/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/common-tags": { - "version": "1.8.2", - "resolved": "https://registry.npmmirror.com/common-tags/-/common-tags-1.8.2.tgz", - "integrity": "sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==", - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==" - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" - }, - "node_modules/conventional-commit-types": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/conventional-commit-types/-/conventional-commit-types-3.0.0.tgz", - "integrity": "sha512-SmmCYnOniSsAa9GqWOeLqc179lfr5TRu5b4QFDkbsrJ5TZjPJx85wtOr3zn+1dbeNiXDKGPbZ72IKbPhLXh/Lg==", - "dev": true - }, - "node_modules/cosmiconfig": { - "version": "8.0.0", - "resolved": "https://registry.npmmirror.com/cosmiconfig/-/cosmiconfig-8.0.0.tgz", - "integrity": "sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ==", - "dev": true, - "optional": true, - "dependencies": { - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "parse-json": "^5.0.0", - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/cosmiconfig-typescript-loader": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.3.0.tgz", - "integrity": "sha512-NTxV1MFfZDLPiBMjxbHRwSh5LaLcPMwNdCutmnHJCKoVnlvldPWlllonKwrsRJ5pYZBIBGRWWU2tfvzxgeSW5Q==", - "dev": true, - "optional": true, - "engines": { - "node": ">=12", - "npm": ">=6" - }, - "peerDependencies": { - "@types/node": "*", - "cosmiconfig": ">=7", - "ts-node": ">=10", - "typescript": ">=3" - } - }, - "node_modules/create-require": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/create-require/-/create-require-1.1.1.tgz", - "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", - "dev": true, - "optional": true - }, - "node_modules/cross-env": { - "version": "7.0.3", - "resolved": "https://registry.npmmirror.com/cross-env/-/cross-env-7.0.3.tgz", - "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", - "dependencies": { - "cross-spawn": "^7.0.1" - }, - "bin": { - "cross-env": "src/bin/cross-env.js", - "cross-env-shell": "src/bin/cross-env-shell.js" - }, - "engines": { - "node": ">=10.14", - "npm": ">=6", - "yarn": ">=1" - } - }, - "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/cz-conventional-changelog": { - "version": "3.3.0", - "resolved": "https://registry.npmmirror.com/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz", - "integrity": "sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw==", - "dev": true, - "dependencies": { - "chalk": "^2.4.1", - "commitizen": "^4.0.3", - "conventional-commit-types": "^3.0.0", - "lodash.map": "^4.5.1", - "longest": "^2.0.1", - "word-wrap": "^1.0.3" - }, - "engines": { - "node": ">= 10" - }, - "optionalDependencies": { - "@commitlint/load": ">6.1.1" - } - }, - "node_modules/cz-conventional-changelog-zh": { - "version": "0.0.2", - "resolved": "https://registry.npmmirror.com/cz-conventional-changelog-zh/-/cz-conventional-changelog-zh-0.0.2.tgz", - "integrity": "sha512-rXy2HiG/0M7xChuodAN1L9qHDWTBInGTljaE59AlyqrXQAv0srg147vjep5CO7mGtxVYJQJi9TVP5KVZMWxDqQ==", - "dev": true, - "dependencies": { - "chalk": "^2.4.1", - "commitizen": "^4.0.3", - "conventional-commit-types": "^3.0.0", - "lodash.assign": "^4.2.0", - "lodash.map": "^4.5.1", - "longest": "^2.0.1", - "word-wrap": "^1.0.3" - }, - "engines": { - "node": ">= 10" - }, - "optionalDependencies": { - "@commitlint/load": ">6.1.1" - } - }, - "node_modules/debug": { - "version": "4.3.4", - "resolved": "https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz", - "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/dedent": { - "version": "0.7.0", - "resolved": "https://registry.npmmirror.com/dedent/-/dedent-0.7.0.tgz", - "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", - "dev": true - }, - "node_modules/deep-is": { - "version": "0.1.4", - "resolved": "https://registry.npmmirror.com/deep-is/-/deep-is-0.1.4.tgz", - "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" - }, - "node_modules/defaults": { - "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/defaults/-/defaults-1.0.4.tgz", - "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", - "dev": true, - "dependencies": { - "clone": "^1.0.2" - } - }, - "node_modules/define-properties": { - "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/define-properties/-/define-properties-1.2.0.tgz", - "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", - "dependencies": { - "has-property-descriptors": "^1.0.0", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/detect-file": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/detect-file/-/detect-file-1.0.0.tgz", - "integrity": "sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/detect-indent": { - "version": "6.1.0", - "resolved": "https://registry.npmmirror.com/detect-indent/-/detect-indent-6.1.0.tgz", - "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/diff": { - "version": "4.0.2", - "resolved": "https://registry.npmmirror.com/diff/-/diff-4.0.2.tgz", - "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/dir-glob": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/dir-glob/-/dir-glob-3.0.1.tgz", - "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", - "dependencies": { - "path-type": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/dlv": { - "version": "1.1.3", - "resolved": "https://registry.npmmirror.com/dlv/-/dlv-1.1.3.tgz", - "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==" - }, - "node_modules/doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmmirror.com/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dev": true, - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmmirror.com/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, - "optional": true, - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/es-abstract": { - "version": "1.21.2", - "resolved": "https://registry.npmmirror.com/es-abstract/-/es-abstract-1.21.2.tgz", - "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", - "dependencies": { - "array-buffer-byte-length": "^1.0.0", - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "es-set-tostringtag": "^2.0.1", - "es-to-primitive": "^1.2.1", - "function.prototype.name": "^1.1.5", - "get-intrinsic": "^1.2.0", - "get-symbol-description": "^1.0.0", - "globalthis": "^1.0.3", - "gopd": "^1.0.1", - "has": "^1.0.3", - "has-property-descriptors": "^1.0.0", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "internal-slot": "^1.0.5", - "is-array-buffer": "^3.0.2", - "is-callable": "^1.2.7", - "is-negative-zero": "^2.0.2", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", - "is-string": "^1.0.7", - "is-typed-array": "^1.1.10", - "is-weakref": "^1.0.2", - "object-inspect": "^1.12.3", - "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.4.3", - "safe-regex-test": "^1.0.0", - "string.prototype.trim": "^1.2.7", - "string.prototype.trimend": "^1.0.6", - "string.prototype.trimstart": "^1.0.6", - "typed-array-length": "^1.0.4", - "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.9" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-set-tostringtag": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", - "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", - "dependencies": { - "get-intrinsic": "^1.1.3", - "has": "^1.0.3", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/es-shim-unscopables": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", - "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", - "dependencies": { - "has": "^1.0.3" - } - }, - "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/eslint": { - "version": "8.40.0", - "resolved": "https://registry.npmmirror.com/eslint/-/eslint-8.40.0.tgz", - "integrity": "sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==", - "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.4.0", - "@eslint/eslintrc": "^2.0.3", - "@eslint/js": "8.40.0", - "@humanwhocodes/config-array": "^0.11.8", - "@humanwhocodes/module-importer": "^1.0.1", - "@nodelib/fs.walk": "^1.2.8", - "ajv": "^6.10.0", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.3.2", - "doctrine": "^3.0.0", - "escape-string-regexp": "^4.0.0", - "eslint-scope": "^7.2.0", - "eslint-visitor-keys": "^3.4.1", - "espree": "^9.5.2", - "esquery": "^1.4.2", - "esutils": "^2.0.2", - "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^6.0.1", - "find-up": "^5.0.0", - "glob-parent": "^6.0.2", - "globals": "^13.19.0", - "grapheme-splitter": "^1.0.4", - "ignore": "^5.2.0", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "is-path-inside": "^3.0.3", - "js-sdsl": "^4.1.4", - "js-yaml": "^4.1.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", - "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "strip-ansi": "^6.0.1", - "strip-json-comments": "^3.1.0", - "text-table": "^0.2.0" - }, - "bin": { - "eslint": "bin/eslint.js" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/eslint-config-prettier": { - "version": "8.8.0", - "resolved": "https://registry.npmmirror.com/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", - "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", - "bin": { - "eslint-config-prettier": "bin/cli.js" - }, - "peerDependencies": { - "eslint": ">=7.0.0" - } - }, - "node_modules/eslint-import-resolver-node": { - "version": "0.3.7", - "resolved": "https://registry.npmmirror.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz", - "integrity": "sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==", - "dependencies": { - "debug": "^3.2.7", - "is-core-module": "^2.11.0", - "resolve": "^1.22.1" - } - }, - "node_modules/eslint-import-resolver-node/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eslint-module-utils": { - "version": "2.8.0", - "resolved": "https://registry.npmmirror.com/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz", - "integrity": "sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==", - "dependencies": { - "debug": "^3.2.7" - }, - "engines": { - "node": ">=4" - }, - "peerDependenciesMeta": { - "eslint": { - "optional": true - } - } - }, - "node_modules/eslint-module-utils/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eslint-plugin-import": { - "version": "2.27.5", - "resolved": "https://registry.npmmirror.com/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz", - "integrity": "sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==", - "dependencies": { - "array-includes": "^3.1.6", - "array.prototype.flat": "^1.3.1", - "array.prototype.flatmap": "^1.3.1", - "debug": "^3.2.7", - "doctrine": "^2.1.0", - "eslint-import-resolver-node": "^0.3.7", - "eslint-module-utils": "^2.7.4", - "has": "^1.0.3", - "is-core-module": "^2.11.0", - "is-glob": "^4.0.3", - "minimatch": "^3.1.2", - "object.values": "^1.1.6", - "resolve": "^1.22.1", - "semver": "^6.3.0", - "tsconfig-paths": "^3.14.1" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" - } - }, - "node_modules/eslint-plugin-import/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/eslint-plugin-import/node_modules/debug": { - "version": "3.2.7", - "resolved": "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz", - "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/eslint-plugin-import/node_modules/doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", - "dependencies": { - "esutils": "^2.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint-plugin-import/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/eslint-plugin-prettier": { - "version": "4.2.1", - "resolved": "https://registry.npmmirror.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz", - "integrity": "sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==", - "dependencies": { - "prettier-linter-helpers": "^1.0.0" - }, - "engines": { - "node": ">=12.0.0" - }, - "peerDependencies": { - "eslint": ">=7.28.0", - "prettier": ">=2.0.0" - }, - "peerDependenciesMeta": { - "eslint-config-prettier": { - "optional": true - } - } - }, - "node_modules/eslint-plugin-unused-imports": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-2.0.0.tgz", - "integrity": "sha512-3APeS/tQlTrFa167ThtP0Zm0vctjr4M44HMpeg1P4bK6wItarumq0Ma82xorMKdFsWpphQBlRPzw/pxiVELX1A==", - "dependencies": { - "eslint-rule-composer": "^0.3.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "@typescript-eslint/eslint-plugin": "^5.0.0", - "eslint": "^8.0.0" - }, - "peerDependenciesMeta": { - "@typescript-eslint/eslint-plugin": { - "optional": true - } - } - }, - "node_modules/eslint-rule-composer": { - "version": "0.3.0", - "resolved": "https://registry.npmmirror.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz", - "integrity": "sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==", - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/eslint-scope": { - "version": "5.1.1", - "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-5.1.1.tgz", - "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "3.4.1", - "resolved": "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", - "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/eslint/node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dependencies": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "node_modules/eslint/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/eslint/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/eslint/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/eslint/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/eslint/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/eslint/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "engines": { - "node": ">=10" - } - }, - "node_modules/eslint/node_modules/eslint-scope": { - "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-7.2.0.tgz", - "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/eslint/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/eslint/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/eslint/node_modules/json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" - }, - "node_modules/eslint/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/eslint/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/espree": { - "version": "9.5.2", - "resolved": "https://registry.npmmirror.com/espree/-/espree-9.5.2.tgz", - "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", - "dependencies": { - "acorn": "^8.8.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/esquery": { - "version": "1.5.0", - "resolved": "https://registry.npmmirror.com/esquery/-/esquery-1.5.0.tgz", - "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", - "dependencies": { - "estraverse": "^5.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/esquery/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esrecurse": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/esrecurse/-/esrecurse-4.3.0.tgz", - "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", - "dependencies": { - "estraverse": "^5.2.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/esrecurse/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estree-walker": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-2.0.2.tgz", - "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" - }, - "node_modules/esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmmirror.com/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/execa": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/execa/-/execa-4.1.0.tgz", - "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.0", - "get-stream": "^5.0.0", - "human-signals": "^1.1.1", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.0", - "onetime": "^5.1.0", - "signal-exit": "^3.0.2", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/expand-tilde": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/expand-tilde/-/expand-tilde-2.0.2.tgz", - "integrity": "sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==", - "dev": true, - "dependencies": { - "homedir-polyfill": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "dev": true, - "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" - }, - "node_modules/fast-diff": { - "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/fast-diff/-/fast-diff-1.2.0.tgz", - "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==" - }, - "node_modules/fast-glob": { - "version": "3.2.12", - "resolved": "https://registry.npmmirror.com/fast-glob/-/fast-glob-3.2.12.tgz", - "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, - "engines": { - "node": ">=8.6.0" - } - }, - "node_modules/fast-glob/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" - }, - "node_modules/fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmmirror.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" - }, - "node_modules/fastq": { - "version": "1.15.0", - "resolved": "https://registry.npmmirror.com/fastq/-/fastq-1.15.0.tgz", - "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", - "dependencies": { - "reusify": "^1.0.4" - } - }, - "node_modules/figures": { - "version": "3.2.0", - "resolved": "https://registry.npmmirror.com/figures/-/figures-3.2.0.tgz", - "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", - "dev": true, - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/file-entry-cache": { - "version": "6.0.1", - "resolved": "https://registry.npmmirror.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz", - "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", - "dependencies": { - "flat-cache": "^3.0.4" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/fill-range": { - "version": "7.0.1", - "resolved": "https://registry.npmmirror.com/fill-range/-/fill-range-7.0.1.tgz", - "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-cache-dir": { - "version": "3.3.2", - "resolved": "https://registry.npmmirror.com/find-cache-dir/-/find-cache-dir-3.3.2.tgz", - "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", - "dev": true, - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-cache-dir/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-cache-dir/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-cache-dir/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/find-cache-dir/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-cache-dir/node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmmirror.com/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-node-modules": { - "version": "2.1.3", - "resolved": "https://registry.npmmirror.com/find-node-modules/-/find-node-modules-2.1.3.tgz", - "integrity": "sha512-UC2I2+nx1ZuOBclWVNdcnbDR5dlrOdVb7xNjmT/lHE+LsgztWks3dG7boJ37yTS/venXw84B/mAW9uHVoC5QRg==", - "dev": true, - "dependencies": { - "findup-sync": "^4.0.0", - "merge": "^2.1.1" - } - }, - "node_modules/find-root": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/find-root/-/find-root-1.1.0.tgz", - "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", - "dev": true - }, - "node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", - "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/findup-sync": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/findup-sync/-/findup-sync-4.0.0.tgz", - "integrity": "sha512-6jvvn/12IC4quLBL1KNokxC7wWTvYncaVUYSoxWw7YykPLuRrnv4qdHcSOywOI5RpkOVGeQRtWM8/q+G6W6qfQ==", - "dev": true, - "dependencies": { - "detect-file": "^1.0.0", - "is-glob": "^4.0.0", - "micromatch": "^4.0.2", - "resolve-dir": "^1.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/flat-cache": { - "version": "3.0.4", - "resolved": "https://registry.npmmirror.com/flat-cache/-/flat-cache-3.0.4.tgz", - "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", - "dependencies": { - "flatted": "^3.1.0", - "rimraf": "^3.0.2" - }, - "engines": { - "node": "^10.12.0 || >=12.0.0" - } - }, - "node_modules/flatted": { - "version": "3.2.7", - "resolved": "https://registry.npmmirror.com/flatted/-/flatted-3.2.7.tgz", - "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" - }, - "node_modules/for-each": { - "version": "0.3.3", - "resolved": "https://registry.npmmirror.com/for-each/-/for-each-0.3.3.tgz", - "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", - "dependencies": { - "is-callable": "^1.1.3" - } - }, - "node_modules/fs-extra": { - "version": "10.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz", - "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" - }, - "node_modules/function-bind": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz", - "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" - }, - "node_modules/function.prototype.name": { - "version": "1.1.5", - "resolved": "https://registry.npmmirror.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz", - "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.19.0", - "functions-have-names": "^1.2.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/functions-have-names": { - "version": "1.2.3", - "resolved": "https://registry.npmmirror.com/functions-have-names/-/functions-have-names-1.2.3.tgz", - "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" - }, - "node_modules/get-intrinsic": { - "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.2.1.tgz", - "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", - "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3" - } - }, - "node_modules/get-stream": { - "version": "5.2.0", - "resolved": "https://registry.npmmirror.com/get-stream/-/get-stream-5.2.0.tgz", - "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", - "dev": true, - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/get-symbol-description": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz", - "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmmirror.com/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/glob-parent": { - "version": "6.0.2", - "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-6.0.2.tgz", - "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", - "dependencies": { - "is-glob": "^4.0.3" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/global-dirs": { - "version": "0.1.1", - "resolved": "https://registry.npmmirror.com/global-dirs/-/global-dirs-0.1.1.tgz", - "integrity": "sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==", - "dev": true, - "optional": true, - "dependencies": { - "ini": "^1.3.4" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/global-modules": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/global-modules/-/global-modules-1.0.0.tgz", - "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", - "dev": true, - "dependencies": { - "global-prefix": "^1.0.1", - "is-windows": "^1.0.1", - "resolve-dir": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/global-prefix": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/global-prefix/-/global-prefix-1.0.2.tgz", - "integrity": "sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg==", - "dev": true, - "dependencies": { - "expand-tilde": "^2.0.2", - "homedir-polyfill": "^1.0.1", - "ini": "^1.3.4", - "is-windows": "^1.0.1", - "which": "^1.2.14" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/global-prefix/node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmmirror.com/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "which": "bin/which" - } - }, - "node_modules/globals": { - "version": "13.20.0", - "resolved": "https://registry.npmmirror.com/globals/-/globals-13.20.0.tgz", - "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", - "dependencies": { - "type-fest": "^0.20.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/globals/node_modules/type-fest": { - "version": "0.20.2", - "resolved": "https://registry.npmmirror.com/type-fest/-/type-fest-0.20.2.tgz", - "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", - "engines": { - "node": ">=10" - } - }, - "node_modules/globalthis": { - "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/globalthis/-/globalthis-1.0.3.tgz", - "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", - "dependencies": { - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/globby": { - "version": "11.1.0", - "resolved": "https://registry.npmmirror.com/globby/-/globby-11.1.0.tgz", - "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", - "dependencies": { - "array-union": "^2.1.0", - "dir-glob": "^3.0.1", - "fast-glob": "^3.2.9", - "ignore": "^5.2.0", - "merge2": "^1.4.1", - "slash": "^3.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", - "dependencies": { - "get-intrinsic": "^1.1.3" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.10", - "resolved": "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.10.tgz", - "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", - "dev": true - }, - "node_modules/grapheme-splitter": { - "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", - "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==" - }, - "node_modules/has": { - "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/has/-/has-1.0.3.tgz", - "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", - "dependencies": { - "function-bind": "^1.1.1" - }, - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/has-ansi": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==", - "dependencies": { - "ansi-regex": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-ansi/node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-bigints": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/has-bigints/-/has-bigints-1.0.2.tgz", - "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==" - }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/has-property-descriptors": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", - "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", - "dependencies": { - "get-intrinsic": "^1.1.1" - } - }, - "node_modules/has-proto": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/has-proto/-/has-proto-1.0.1.tgz", - "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/has-tostringtag": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz", - "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/homedir-polyfill": { - "version": "1.0.3", - "resolved": "https://registry.npmmirror.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", - "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", - "dev": true, - "dependencies": { - "parse-passwd": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/human-signals": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/human-signals/-/human-signals-1.1.1.tgz", - "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", - "dev": true, - "engines": { - "node": ">=8.12.0" - } - }, - "node_modules/husky": { - "version": "8.0.3", - "resolved": "https://registry.npmmirror.com/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", - "dev": true, - "bin": { - "husky": "lib/bin.js" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dev": true, - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "dev": true - }, - "node_modules/ignore": { - "version": "5.2.4", - "resolved": "https://registry.npmmirror.com/ignore/-/ignore-5.2.4.tgz", - "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", - "engines": { - "node": ">= 4" - } - }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmmirror.com/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/import-fresh/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "engines": { - "node": ">=4" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmmirror.com/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/indent-string": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/indent-string/-/indent-string-4.0.0.tgz", - "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", - "engines": { - "node": ">=8" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmmirror.com/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmmirror.com/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" - }, - "node_modules/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmmirror.com/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", - "dev": true - }, - "node_modules/inquirer": { - "version": "8.2.5", - "resolved": "https://registry.npmmirror.com/inquirer/-/inquirer-8.2.5.tgz", - "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", - "dev": true, - "dependencies": { - "ansi-escapes": "^4.2.1", - "chalk": "^4.1.1", - "cli-cursor": "^3.1.0", - "cli-width": "^3.0.0", - "external-editor": "^3.0.3", - "figures": "^3.0.0", - "lodash": "^4.17.21", - "mute-stream": "0.0.8", - "ora": "^5.4.1", - "run-async": "^2.4.0", - "rxjs": "^7.5.5", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0", - "through": "^2.3.6", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12.0.0" - } - }, - "node_modules/inquirer/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/inquirer/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/inquirer/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/inquirer/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/inquirer/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/inquirer/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/internal-slot": { - "version": "1.0.5", - "resolved": "https://registry.npmmirror.com/internal-slot/-/internal-slot-1.0.5.tgz", - "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", - "dependencies": { - "get-intrinsic": "^1.2.0", - "has": "^1.0.3", - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-array-buffer": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/is-array-buffer/-/is-array-buffer-3.0.2.tgz", - "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.0", - "is-typed-array": "^1.1.10" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmmirror.com/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", - "dev": true, - "optional": true - }, - "node_modules/is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", - "dependencies": { - "has-bigints": "^1.0.1" - } - }, - "node_modules/is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmmirror.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-callable": { - "version": "1.2.7", - "resolved": "https://registry.npmmirror.com/is-callable/-/is-callable-1.2.7.tgz", - "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-core-module": { - "version": "2.11.0", - "resolved": "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.11.0.tgz", - "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", - "dependencies": { - "has": "^1.0.3" - } - }, - "node_modules/is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmmirror.com/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-interactive": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/is-interactive/-/is-interactive-1.0.0.tgz", - "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-module": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/is-module/-/is-module-1.0.0.tgz", - "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==", - "dev": true - }, - "node_modules/is-negative-zero": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz", - "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-number-object": { - "version": "1.0.7", - "resolved": "https://registry.npmmirror.com/is-number-object/-/is-number-object-1.0.7.tgz", - "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-path-inside": { - "version": "3.0.3", - "resolved": "https://registry.npmmirror.com/is-path-inside/-/is-path-inside-3.0.3.tgz", - "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-reference": { - "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/is-reference/-/is-reference-1.2.1.tgz", - "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", - "dependencies": { - "@types/estree": "*" - } - }, - "node_modules/is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-shared-array-buffer": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", - "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", - "dependencies": { - "call-bind": "^1.0.2" - } - }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmmirror.com/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", - "dependencies": { - "has-symbols": "^1.0.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-typed-array": { - "version": "1.1.10", - "resolved": "https://registry.npmmirror.com/is-typed-array/-/is-typed-array-1.1.10.tgz", - "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", - "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-unicode-supported": { - "version": "0.1.0", - "resolved": "https://registry.npmmirror.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", - "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/is-utf8": { - "version": "0.2.1", - "resolved": "https://registry.npmmirror.com/is-utf8/-/is-utf8-0.2.1.tgz", - "integrity": "sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q==", - "dev": true - }, - "node_modules/is-weakref": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", - "dependencies": { - "call-bind": "^1.0.2" - } - }, - "node_modules/is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" - }, - "node_modules/js-sdsl": { - "version": "4.4.0", - "resolved": "https://registry.npmmirror.com/js-sdsl/-/js-sdsl-4.4.0.tgz", - "integrity": "sha512-FfVSdx6pJ41Oa+CF7RDaFmTnCaFhua+SNYQX74riGOpl96x+2jQCqEfQ2bnXu/5DPCqlRuiqyvTJM0Qjz26IVg==" - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true, - "optional": true - }, - "node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dependencies": { - "argparse": "^2.0.1" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmmirror.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true, - "optional": true - }, - "node_modules/json-schema-traverse": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", - "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true, - "optional": true - }, - "node_modules/json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==" - }, - "node_modules/json5": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/json5/-/json5-1.0.2.tgz", - "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmmirror.com/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dev": true, - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmmirror.com/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmmirror.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true, - "optional": true - }, - "node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", - "dependencies": { - "p-locate": "^5.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "node_modules/lodash.assign": { - "version": "4.2.0", - "resolved": "https://registry.npmmirror.com/lodash.assign/-/lodash.assign-4.2.0.tgz", - "integrity": "sha512-hFuH8TY+Yji7Eja3mGiuAxBqLagejScbG8GbG0j6o9vzn0YL14My+ktnqtZgFTosKymC9/44wP6s7xyuLfnClw==", - "dev": true - }, - "node_modules/lodash.isplainobject": { - "version": "4.0.6", - "resolved": "https://registry.npmmirror.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", - "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", - "dev": true, - "optional": true - }, - "node_modules/lodash.map": { - "version": "4.6.0", - "resolved": "https://registry.npmmirror.com/lodash.map/-/lodash.map-4.6.0.tgz", - "integrity": "sha512-worNHGKLDetmcEYDvh2stPCrrQRkP20E4l0iIS7F8EvzMqBBi7ltvFN5m1HvTf1P7Jk1txKhvFcmYsCr8O2F1Q==", - "dev": true - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmmirror.com/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" - }, - "node_modules/lodash.mergewith": { - "version": "4.6.2", - "resolved": "https://registry.npmmirror.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", - "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==", - "dev": true, - "optional": true - }, - "node_modules/lodash.uniq": { - "version": "4.5.0", - "resolved": "https://registry.npmmirror.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz", - "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", - "dev": true, - "optional": true - }, - "node_modules/log-symbols": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/log-symbols/-/log-symbols-4.1.0.tgz", - "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", - "dev": true, - "dependencies": { - "chalk": "^4.1.0", - "is-unicode-supported": "^0.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/log-symbols/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/log-symbols/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/log-symbols/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/log-symbols/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/log-symbols/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/log-symbols/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/loglevel": { - "version": "1.8.1", - "resolved": "https://registry.npmmirror.com/loglevel/-/loglevel-1.8.1.tgz", - "integrity": "sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg==", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/loglevel-colored-level-prefix": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/loglevel-colored-level-prefix/-/loglevel-colored-level-prefix-1.0.0.tgz", - "integrity": "sha512-u45Wcxxc+SdAlh4yeF/uKlC1SPUPCy0gullSNKXod5I4bmifzk+Q4lSLExNEVn19tGaJipbZ4V4jbFn79/6mVA==", - "dependencies": { - "chalk": "^1.1.3", - "loglevel": "^1.4.1" - } - }, - "node_modules/loglevel-colored-level-prefix/node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/loglevel-colored-level-prefix/node_modules/ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/loglevel-colored-level-prefix/node_modules/chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==", - "dependencies": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/loglevel-colored-level-prefix/node_modules/strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", - "dependencies": { - "ansi-regex": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/loglevel-colored-level-prefix/node_modules/supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/longest": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/longest/-/longest-2.0.1.tgz", - "integrity": "sha512-Ajzxb8CM6WAnFjgiloPsI3bF+WCxcvhdIG3KNA2KN962+tdBsHcuQ4k4qX/EcS/2CRkcc0iAkR956Nib6aXU/Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/magic-string": { - "version": "0.27.0", - "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.27.0.tgz", - "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==", - "dependencies": { - "@jridgewell/sourcemap-codec": "^1.4.13" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/make-error": { - "version": "1.3.6", - "resolved": "https://registry.npmmirror.com/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", - "dev": true, - "optional": true - }, - "node_modules/merge": { - "version": "2.1.1", - "resolved": "https://registry.npmmirror.com/merge/-/merge-2.1.1.tgz", - "integrity": "sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w==", - "dev": true - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmmirror.com/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "engines": { - "node": ">= 8" - } - }, - "node_modules/mersenne-twister": { - "version": "1.1.0", - "resolved": "https://registry.npmmirror.com/mersenne-twister/-/mersenne-twister-1.1.0.tgz", - "integrity": "sha512-mUYWsMKNrm4lfygPkL3OfGzOPTR2DBlTkBNHM//F6hGp8cLThY897crAlk3/Jo17LEOOjQUrNAx6DvgO77QJkA==" - }, - "node_modules/micromatch": { - "version": "4.0.5", - "resolved": "https://registry.npmmirror.com/micromatch/-/micromatch-4.0.5.tgz", - "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", - "dependencies": { - "braces": "^3.0.2", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/minimatch": { - "version": "5.1.4", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-5.1.4.tgz", - "integrity": "sha512-U0iNYXt9wALljzfnGkhFSy5sAC6/SCR3JrHrlsdJz4kF8MvhTRQNiC59iUi1iqsitV7abrNAJWElVL9pdnoUgw==", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/minimist": { - "version": "1.2.7", - "resolved": "https://registry.npmmirror.com/minimist/-/minimist-1.2.7.tgz", - "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==" - }, - "node_modules/mri": { - "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/mri/-/mri-1.2.0.tgz", - "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/ms": { - "version": "2.1.2", - "resolved": "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" - }, - "node_modules/multimatch": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/multimatch/-/multimatch-4.0.0.tgz", - "integrity": "sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ==", - "dev": true, - "dependencies": { - "@types/minimatch": "^3.0.3", - "array-differ": "^3.0.0", - "array-union": "^2.1.0", - "arrify": "^2.0.1", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/multimatch/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/multimatch/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/mute-stream": { - "version": "0.0.8", - "resolved": "https://registry.npmmirror.com/mute-stream/-/mute-stream-0.0.8.tgz", - "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", - "dev": true - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmmirror.com/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==" - }, - "node_modules/natural-compare-lite": { - "version": "1.4.0", - "resolved": "https://registry.npmmirror.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", - "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==" - }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/object-inspect": { - "version": "1.12.3", - "resolved": "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.12.3.tgz", - "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==" - }, - "node_modules/object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmmirror.com/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.assign": { - "version": "4.1.4", - "resolved": "https://registry.npmmirror.com/object.assign/-/object.assign-4.1.4.tgz", - "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "has-symbols": "^1.0.3", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/object.values": { - "version": "1.1.6", - "resolved": "https://registry.npmmirror.com/object.values/-/object.values-1.1.6.tgz", - "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmmirror.com/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmmirror.com/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmmirror.com/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", - "dependencies": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/ora": { - "version": "5.4.1", - "resolved": "https://registry.npmmirror.com/ora/-/ora-5.4.1.tgz", - "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", - "dev": true, - "dependencies": { - "bl": "^4.1.0", - "chalk": "^4.1.0", - "cli-cursor": "^3.1.0", - "cli-spinners": "^2.5.0", - "is-interactive": "^1.0.0", - "is-unicode-supported": "^0.1.0", - "log-symbols": "^4.1.0", - "strip-ansi": "^6.0.0", - "wcwidth": "^1.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/ora/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/ora/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/ora/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/ora/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/ora/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/ora/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", - "dependencies": { - "p-limit": "^3.0.2" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmmirror.com/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, - "optional": true, - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/parse-passwd": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/parse-passwd/-/parse-passwd-1.0.0.tgz", - "integrity": "sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-is-network-drive": { - "version": "1.0.20", - "resolved": "https://registry.npmmirror.com/path-is-network-drive/-/path-is-network-drive-1.0.20.tgz", - "integrity": "sha512-p5wCWlRB4+ggzxWshqHH9aF3kAuVu295NaENXmVhThbZPJQBeJdxZTP6CIoUR+kWHDUW56S9YcaO1gXnc/BOxw==", - "dev": true, - "dependencies": { - "tslib": "^2" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmmirror.com/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" - }, - "node_modules/path-strip-sep": { - "version": "1.0.17", - "resolved": "https://registry.npmmirror.com/path-strip-sep/-/path-strip-sep-1.0.17.tgz", - "integrity": "sha512-+2zIC2fNgdilgV7pTrktY6oOxxZUo9x5zJYfTzxsGze5kSGDDwhA5/0WlBn+sUyv/WuuyYn3OfM+Ue5nhdQUgA==", - "dev": true, - "dependencies": { - "tslib": "^2" - } - }, - "node_modules/path-type": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/path-type/-/path-type-4.0.0.tgz", - "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", - "engines": { - "node": ">=8" - } - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "engines": { - "node": ">=8.6" - } - }, - "node_modules/pkg-dir": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/pkg-dir/-/pkg-dir-5.0.0.tgz", - "integrity": "sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==", - "dev": true, - "dependencies": { - "find-up": "^5.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmmirror.com/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/prettier": { - "version": "2.8.3", - "resolved": "https://registry.npmmirror.com/prettier/-/prettier-2.8.3.tgz", - "integrity": "sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw==", - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=10.13.0" - } - }, - "node_modules/prettier-eslint": { - "version": "15.0.1", - "resolved": "https://registry.npmmirror.com/prettier-eslint/-/prettier-eslint-15.0.1.tgz", - "integrity": "sha512-mGOWVHixSvpZWARqSDXbdtTL54mMBxc5oQYQ6RAqy8jecuNJBgN3t9E5a81G66F8x8fsKNiR1HWaBV66MJDOpg==", - "dependencies": { - "@types/eslint": "^8.4.2", - "@types/prettier": "^2.6.0", - "@typescript-eslint/parser": "^5.10.0", - "common-tags": "^1.4.0", - "dlv": "^1.1.0", - "eslint": "^8.7.0", - "indent-string": "^4.0.0", - "lodash.merge": "^4.6.0", - "loglevel-colored-level-prefix": "^1.0.0", - "prettier": "^2.5.1", - "pretty-format": "^23.0.1", - "require-relative": "^0.8.7", - "typescript": "^4.5.4", - "vue-eslint-parser": "^8.0.1" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/prettier-linter-helpers": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", - "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", - "dependencies": { - "fast-diff": "^1.1.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/pretty-format": { - "version": "23.6.0", - "resolved": "https://registry.npmmirror.com/pretty-format/-/pretty-format-23.6.0.tgz", - "integrity": "sha512-zf9NV1NSlDLDjycnwm6hpFATCGl/K1lt0R/GdkAK2O5LN/rwJoB+Mh93gGJjut4YbmecbfgLWVGSTCr0Ewvvbw==", - "dependencies": { - "ansi-regex": "^3.0.0", - "ansi-styles": "^3.2.0" - } - }, - "node_modules/pretty-format/node_modules/ansi-regex": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-3.0.1.tgz", - "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", - "engines": { - "node": ">=4" - } - }, - "node_modules/pretty-quick": { - "version": "3.1.3", - "resolved": "https://registry.npmmirror.com/pretty-quick/-/pretty-quick-3.1.3.tgz", - "integrity": "sha512-kOCi2FJabvuh1as9enxYmrnBC6tVMoVOenMaBqRfsvBHB0cbpYHjdQEpSglpASDFEXVwplpcGR4CLEaisYAFcA==", - "dev": true, - "dependencies": { - "chalk": "^3.0.0", - "execa": "^4.0.0", - "find-up": "^4.1.0", - "ignore": "^5.1.4", - "mri": "^1.1.5", - "multimatch": "^4.0.0" - }, - "bin": { - "pretty-quick": "bin/pretty-quick.js" - }, - "engines": { - "node": ">=10.13" - }, - "peerDependencies": { - "prettier": ">=2.0.0" - } - }, - "node_modules/pretty-quick/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pretty-quick/node_modules/chalk": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/chalk/-/chalk-3.0.0.tgz", - "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pretty-quick/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/pretty-quick/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/pretty-quick/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pretty-quick/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/pretty-quick/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pretty-quick/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/pretty-quick/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmmirror.com/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pretty-quick/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/primitive-geometry": { - "version": "2.9.1", - "resolved": "https://registry.npmmirror.com/primitive-geometry/-/primitive-geometry-2.9.1.tgz", - "integrity": "sha512-qImUPQPio/CwQX6w52q11T31Z3G0TDJUbiOwt/h8JL3OSqhwHCFPurT/fTwLrCjiFMmxnhjxT+EA5NGIUaKJRA==", - "engines": { - "node": ">=15.0.0", - "npm": ">=7.0.0" - } - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dev": true, - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmmirror.com/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", - "engines": { - "node": ">=6" - } - }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmmirror.com/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" - }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmmirror.com/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dev": true, - "dependencies": { - "safe-buffer": "^5.1.0" - } - }, - "node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/regexp.prototype.flags": { - "version": "1.5.0", - "resolved": "https://registry.npmmirror.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz", - "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "functions-have-names": "^1.2.3" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "dev": true, - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-relative": { - "version": "0.8.7", - "resolved": "https://registry.npmmirror.com/require-relative/-/require-relative-0.8.7.tgz", - "integrity": "sha512-AKGr4qvHiryxRb19m3PsLRGuKVAbJLUD7E6eOaHkfKhwc+vSgVOCY5xNvm9EkolBKTOf0GrQAZKLimOCz81Khg==" - }, - "node_modules/resolve": { - "version": "1.22.1", - "resolved": "https://registry.npmmirror.com/resolve/-/resolve-1.22.1.tgz", - "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", - "dependencies": { - "is-core-module": "^2.9.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - } - }, - "node_modules/resolve-dir": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/resolve-dir/-/resolve-dir-1.0.1.tgz", - "integrity": "sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg==", - "dev": true, - "dependencies": { - "expand-tilde": "^2.0.0", - "global-modules": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmmirror.com/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "optional": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-global": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/resolve-global/-/resolve-global-1.0.0.tgz", - "integrity": "sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==", - "dev": true, - "optional": true, - "dependencies": { - "global-dirs": "^0.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/restore-cursor": { - "version": "3.1.0", - "resolved": "https://registry.npmmirror.com/restore-cursor/-/restore-cursor-3.1.0.tgz", - "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", - "dev": true, - "dependencies": { - "onetime": "^5.1.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, - "node_modules/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/rimraf/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/rimraf/node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - } - }, - "node_modules/rimraf/node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/rollup": { - "version": "3.10.0", - "resolved": "https://registry.npmmirror.com/rollup/-/rollup-3.10.0.tgz", - "integrity": "sha512-JmRYz44NjC1MjVF2VKxc0M1a97vn+cDxeqWmnwyAF4FvpjK8YFdHpaqvQB+3IxCvX05vJxKZkoMDU8TShhmJVA==", - "devOptional": true, - "bin": { - "rollup": "dist/bin/rollup" - }, - "engines": { - "node": ">=14.18.0", - "npm": ">=8.0.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" - } - }, - "node_modules/rollup-plugin-node-resolve": { - "version": "5.2.0", - "resolved": "https://registry.npmmirror.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-5.2.0.tgz", - "integrity": "sha512-jUlyaDXts7TW2CqQ4GaO5VJ4PwwaV8VUGA7+km3n6k6xtOEacf61u0VXwN80phY/evMcaS+9eIeJ9MOyDxt5Zw==", - "deprecated": "This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.", - "dev": true, - "dependencies": { - "@types/resolve": "0.0.8", - "builtin-modules": "^3.1.0", - "is-module": "^1.0.0", - "resolve": "^1.11.1", - "rollup-pluginutils": "^2.8.1" - }, - "peerDependencies": { - "rollup": ">=1.11.0" - } - }, - "node_modules/rollup-plugin-replace": { - "version": "2.2.0", - "resolved": "https://registry.npmmirror.com/rollup-plugin-replace/-/rollup-plugin-replace-2.2.0.tgz", - "integrity": "sha512-/5bxtUPkDHyBJAKketb4NfaeZjL5yLZdeUihSfbF2PQMz+rSTEb8ARKoOl3UBT4m7/X+QOXJo3sLTcq+yMMYTA==", - "deprecated": "This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained.", - "dev": true, - "dependencies": { - "magic-string": "^0.25.2", - "rollup-pluginutils": "^2.6.0" - } - }, - "node_modules/rollup-plugin-replace/node_modules/magic-string": { - "version": "0.25.9", - "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.25.9.tgz", - "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", - "dev": true, - "dependencies": { - "sourcemap-codec": "^1.4.8" - } - }, - "node_modules/rollup-plugin-typescript2": { - "version": "0.31.2", - "resolved": "https://registry.npmmirror.com/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.31.2.tgz", - "integrity": "sha512-hRwEYR1C8xDGVVMFJQdEVnNAeWRvpaY97g5mp3IeLnzhNXzSVq78Ye/BJ9PAaUfN4DXa/uDnqerifMOaMFY54Q==", - "dev": true, - "dependencies": { - "@rollup/pluginutils": "^4.1.2", - "@yarn-tool/resolve-package": "^1.0.40", - "find-cache-dir": "^3.3.2", - "fs-extra": "^10.0.0", - "resolve": "^1.20.0", - "tslib": "^2.3.1" - }, - "peerDependencies": { - "rollup": ">=1.26.3", - "typescript": ">=2.4.0" - } - }, - "node_modules/rollup-plugin-typescript2/node_modules/@rollup/pluginutils": { - "version": "4.2.1", - "resolved": "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", - "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", - "dev": true, - "dependencies": { - "estree-walker": "^2.0.1", - "picomatch": "^2.2.2" - }, - "engines": { - "node": ">= 8.0.0" - } - }, - "node_modules/rollup-pluginutils": { - "version": "2.8.2", - "resolved": "https://registry.npmmirror.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", - "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", - "dev": true, - "dependencies": { - "estree-walker": "^0.6.1" - } - }, - "node_modules/rollup-pluginutils/node_modules/estree-walker": { - "version": "0.6.1", - "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-0.6.1.tgz", - "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", - "dev": true - }, - "node_modules/run-async": { - "version": "2.4.1", - "resolved": "https://registry.npmmirror.com/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, - "node_modules/rxjs": { - "version": "7.8.0", - "resolved": "https://registry.npmmirror.com/rxjs/-/rxjs-7.8.0.tgz", - "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", - "dev": true, - "dependencies": { - "tslib": "^2.1.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "dev": true - }, - "node_modules/safe-regex-test": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz", - "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", - "is-regex": "^1.1.4" - } - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", - "dev": true - }, - "node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmmirror.com/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "engines": { - "node": ">=8" - } - }, - "node_modules/side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dependencies": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } - }, - "node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmmirror.com/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "engines": { - "node": ">=8" - } - }, - "node_modules/smob": { - "version": "0.0.6", - "resolved": "https://registry.npmmirror.com/smob/-/smob-0.0.6.tgz", - "integrity": "sha512-V21+XeNni+tTyiST1MHsa84AQhT1aFZipzPpOFAVB8DkHzwJyjjAmt9bgwnuZiZWnIbMo2duE29wybxv/7HWUw==", - "dev": true - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.21", - "resolved": "https://registry.npmmirror.com/source-map-support/-/source-map-support-0.5.21.tgz", - "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", - "dev": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/sourcemap-codec": { - "version": "1.4.8", - "resolved": "https://registry.npmmirror.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", - "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", - "deprecated": "Please use @jridgewell/sourcemap-codec instead", - "dev": true - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/string.prototype.trim": { - "version": "1.2.7", - "resolved": "https://registry.npmmirror.com/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", - "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.6", - "resolved": "https://registry.npmmirror.com/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", - "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.6", - "resolved": "https://registry.npmmirror.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", - "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.4", - "es-abstract": "^1.20.4" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dev": true, - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/terser": { - "version": "5.16.1", - "resolved": "https://registry.npmmirror.com/terser/-/terser-5.16.1.tgz", - "integrity": "sha512-xvQfyfA1ayT0qdK47zskQgRZeWLoOQ8JQ6mIgRGVNwZKdQMU+5FkCBjmv4QjcrTzyZquRw2FVtlJSRUmMKQslw==", - "dev": true, - "dependencies": { - "@jridgewell/source-map": "^0.3.2", - "acorn": "^8.5.0", - "commander": "^2.20.0", - "source-map-support": "~0.5.20" - }, - "bin": { - "terser": "bin/terser" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmmirror.com/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==" - }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://registry.npmmirror.com/through/-/through-2.3.8.tgz", - "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", - "dev": true - }, - "node_modules/tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmmirror.com/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dev": true, - "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/ts-node": { - "version": "10.9.1", - "resolved": "https://registry.npmmirror.com/ts-node/-/ts-node-10.9.1.tgz", - "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", - "dev": true, - "optional": true, - "dependencies": { - "@cspotcode/source-map-support": "^0.8.0", - "@tsconfig/node10": "^1.0.7", - "@tsconfig/node12": "^1.0.7", - "@tsconfig/node14": "^1.0.0", - "@tsconfig/node16": "^1.0.2", - "acorn": "^8.4.1", - "acorn-walk": "^8.1.1", - "arg": "^4.1.0", - "create-require": "^1.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "v8-compile-cache-lib": "^3.0.1", - "yn": "3.1.1" - }, - "bin": { - "ts-node": "dist/bin.js", - "ts-node-cwd": "dist/bin-cwd.js", - "ts-node-esm": "dist/bin-esm.js", - "ts-node-script": "dist/bin-script.js", - "ts-node-transpile-only": "dist/bin-transpile.js", - "ts-script": "dist/bin-script-deprecated.js" - }, - "peerDependencies": { - "@swc/core": ">=1.2.50", - "@swc/wasm": ">=1.2.50", - "@types/node": "*", - "typescript": ">=2.7" - }, - "peerDependenciesMeta": { - "@swc/core": { - "optional": true - }, - "@swc/wasm": { - "optional": true - } - } - }, - "node_modules/tsconfig-paths": { - "version": "3.14.2", - "resolved": "https://registry.npmmirror.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz", - "integrity": "sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==", - "dependencies": { - "@types/json5": "^0.0.29", - "json5": "^1.0.2", - "minimist": "^1.2.6", - "strip-bom": "^3.0.0" - } - }, - "node_modules/tsconfig-paths/node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmmirror.com/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", - "engines": { - "node": ">=4" - } - }, - "node_modules/tslib": { - "version": "2.4.1", - "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.4.1.tgz", - "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", - "dev": true - }, - "node_modules/tsutils": { - "version": "3.21.0", - "resolved": "https://registry.npmmirror.com/tsutils/-/tsutils-3.21.0.tgz", - "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", - "dependencies": { - "tslib": "^1.8.1" - }, - "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" - } - }, - "node_modules/tsutils/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmmirror.com/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmmirror.com/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmmirror.com/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/typed-array-length": { - "version": "1.0.4", - "resolved": "https://registry.npmmirror.com/typed-array-length/-/typed-array-length-1.0.4.tgz", - "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", - "dependencies": { - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "is-typed-array": "^1.1.9" - } - }, - "node_modules/typescript": { - "version": "4.9.4", - "resolved": "https://registry.npmmirror.com/typescript/-/typescript-4.9.4.tgz", - "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==", - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=4.2.0" - } - }, - "node_modules/unbox-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz", - "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", - "dependencies": { - "call-bind": "^1.0.2", - "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" - } - }, - "node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmmirror.com/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "dev": true, - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/upath2": { - "version": "3.1.19", - "resolved": "https://registry.npmmirror.com/upath2/-/upath2-3.1.19.tgz", - "integrity": "sha512-d23dQLi8nDWSRTIQwXtaYqMrHuca0As53fNiTLLFDmsGBbepsZepISaB2H1x45bDFN/n3Qw9bydvyZEacTrEWQ==", - "dev": true, - "dependencies": { - "@types/node": "*", - "path-is-network-drive": "^1.0.20", - "path-strip-sep": "^1.0.17", - "tslib": "^2" - } - }, - "node_modules/uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "dev": true - }, - "node_modules/v8-compile-cache-lib": { - "version": "3.0.1", - "resolved": "https://registry.npmmirror.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", - "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", - "dev": true, - "optional": true - }, - "node_modules/vue-eslint-parser": { - "version": "8.3.0", - "resolved": "https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-8.3.0.tgz", - "integrity": "sha512-dzHGG3+sYwSf6zFBa0Gi9ZDshD7+ad14DGOdTLjruRVgZXe2J+DcZ9iUhyR48z5g1PqRa20yt3Njna/veLJL/g==", - "dependencies": { - "debug": "^4.3.2", - "eslint-scope": "^7.0.0", - "eslint-visitor-keys": "^3.1.0", - "espree": "^9.0.0", - "esquery": "^1.4.0", - "lodash": "^4.17.21", - "semver": "^7.3.5" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - }, - "peerDependencies": { - "eslint": ">=6.0.0" - } - }, - "node_modules/vue-eslint-parser/node_modules/eslint-scope": { - "version": "7.2.0", - "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-7.2.0.tgz", - "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", - "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" - }, - "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" - } - }, - "node_modules/vue-eslint-parser/node_modules/estraverse": { - "version": "5.3.0", - "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", - "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/vue-eslint-parser/node_modules/semver": { - "version": "7.5.1", - "resolved": "https://registry.npmmirror.com/semver/-/semver-7.5.1.tgz", - "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", - "dependencies": { - "lru-cache": "^6.0.0" - }, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/wcwidth": { - "version": "1.0.1", - "resolved": "https://registry.npmmirror.com/wcwidth/-/wcwidth-1.0.1.tgz", - "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", - "dev": true, - "dependencies": { - "defaults": "^1.0.3" - } - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmmirror.com/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", - "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" - } - }, - "node_modules/which-typed-array": { - "version": "1.1.9", - "resolved": "https://registry.npmmirror.com/which-typed-array/-/which-typed-array-1.1.9.tgz", - "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", - "dependencies": { - "available-typed-arrays": "^1.0.5", - "call-bind": "^1.0.2", - "for-each": "^0.3.3", - "gopd": "^1.0.1", - "has-tostringtag": "^1.0.0", - "is-typed-array": "^1.1.10" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmmirror.com/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/wrap-ansi/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/wrap-ansi/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/wrap-ansi/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmmirror.com/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" - }, - "node_modules/yallist": { - "version": "4.0.0", - "resolved": "https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz", - "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" - }, - "node_modules/yn": { - "version": "3.1.1", - "resolved": "https://registry.npmmirror.com/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", - "dev": true, - "optional": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmmirror.com/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "engines": { - "node": ">=10" - } - } - } + "name": "@gengine-js/gengine", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "@gengine-js/gengine", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "@rollup/plugin-commonjs": "^23.0.2", + "@types/gl-matrix": "^2.4.5", + "@typescript-eslint/eslint-plugin": "^5.59.5", + "@typescript-eslint/parser": "^5.59.5", + "@webgpu/glslang": "0.0.15", + "@webgpu/types": "0.1.20", + "cross-env": "^7.0.3", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-import": "^2.27.5", + "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-unused-imports": "^2.0.0", + "glob": "^8.0.3", + "mersenne-twister": "^1.1.0", + "prettier-eslint": "^15.0.1", + "primitive-geometry": "^2.9.0" + }, + "devDependencies": { + "@rollup/plugin-terser": "^0.4.2", + "commitizen": "^4.3.0", + "cz-conventional-changelog": "^3.3.0", + "cz-conventional-changelog-zh": "0.0.2", + "eslint": "^8.40.0", + "husky": "^8.0.3", + "prettier": "^2.8.3", + "pretty-quick": "^3.1.3", + "rollup": "3.10.0", + "rollup-plugin-node-resolve": "^5.2.0", + "rollup-plugin-replace": "^2.2.0", + "rollup-plugin-typescript2": "^0.31.1", + "rollup-plugin-wgsl": "^1.0.1", + "typescript": "^4.8.4" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.18.6", + "resolved": "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.18.6.tgz", + "integrity": "sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q==", + "dev": true, + "optional": true, + "dependencies": { + "@babel/highlight": "^7.18.6" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.19.1", + "resolved": "https://registry.npmmirror.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz", + "integrity": "sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w==", + "dev": true, + "optional": true, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/highlight": { + "version": "7.18.6", + "resolved": "https://registry.npmmirror.com/@babel/highlight/-/highlight-7.18.6.tgz", + "integrity": "sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g==", + "dev": true, + "optional": true, + "dependencies": { + "@babel/helper-validator-identifier": "^7.18.6", + "chalk": "^2.0.0", + "js-tokens": "^4.0.0" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@commitlint/config-validator": { + "version": "17.4.0", + "resolved": "https://registry.npmmirror.com/@commitlint/config-validator/-/config-validator-17.4.0.tgz", + "integrity": "sha512-Sa/+8KNpDXz4zT4bVbz2fpFjvgkPO6u2V2fP4TKgt6FjmOw2z3eEX859vtfeaTav/ukBw0/0jr+5ZTZp9zCBhA==", + "dev": true, + "optional": true, + "dependencies": { + "@commitlint/types": "^17.4.0", + "ajv": "^8.11.0" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/execute-rule": { + "version": "17.4.0", + "resolved": "https://registry.npmmirror.com/@commitlint/execute-rule/-/execute-rule-17.4.0.tgz", + "integrity": "sha512-LIgYXuCSO5Gvtc0t9bebAMSwd68ewzmqLypqI2Kke1rqOqqDbMpYcYfoPfFlv9eyLIh4jocHWwCK5FS7z9icUA==", + "dev": true, + "optional": true, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/load": { + "version": "17.4.2", + "resolved": "https://registry.npmmirror.com/@commitlint/load/-/load-17.4.2.tgz", + "integrity": "sha512-Si++F85rJ9t4hw6JcOw1i2h0fdpdFQt0YKwjuK4bk9KhFjyFkRxvR3SB2dPaMs+EwWlDrDBGL+ygip1QD6gmPw==", + "dev": true, + "optional": true, + "dependencies": { + "@commitlint/config-validator": "^17.4.0", + "@commitlint/execute-rule": "^17.4.0", + "@commitlint/resolve-extends": "^17.4.0", + "@commitlint/types": "^17.4.0", + "@types/node": "*", + "chalk": "^4.1.0", + "cosmiconfig": "^8.0.0", + "cosmiconfig-typescript-loader": "^4.0.0", + "lodash.isplainobject": "^4.0.6", + "lodash.merge": "^4.6.2", + "lodash.uniq": "^4.5.0", + "resolve-from": "^5.0.0", + "ts-node": "^10.8.1", + "typescript": "^4.6.4" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/load/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "optional": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@commitlint/load/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "optional": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@commitlint/load/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "optional": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@commitlint/load/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "optional": true + }, + "node_modules/@commitlint/load/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@commitlint/load/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "optional": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@commitlint/resolve-extends": { + "version": "17.4.0", + "resolved": "https://registry.npmmirror.com/@commitlint/resolve-extends/-/resolve-extends-17.4.0.tgz", + "integrity": "sha512-3JsmwkrCzoK8sO22AzLBvNEvC1Pmdn/65RKXzEtQMy6oYMl0Snrq97a5bQQEFETF0VsvbtUuKttLqqgn99OXRQ==", + "dev": true, + "optional": true, + "dependencies": { + "@commitlint/config-validator": "^17.4.0", + "@commitlint/types": "^17.4.0", + "import-fresh": "^3.0.0", + "lodash.mergewith": "^4.6.2", + "resolve-from": "^5.0.0", + "resolve-global": "^1.0.0" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/types": { + "version": "17.4.0", + "resolved": "https://registry.npmmirror.com/@commitlint/types/-/types-17.4.0.tgz", + "integrity": "sha512-2NjAnq5IcxY9kXtUeO2Ac0aPpvkuOmwbH/BxIm36XXK5LtWFObWJWjXOA+kcaABMrthjWu6la+FUpyYFMHRvbA==", + "dev": true, + "optional": true, + "dependencies": { + "chalk": "^4.1.0" + }, + "engines": { + "node": ">=v14" + } + }, + "node_modules/@commitlint/types/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "optional": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@commitlint/types/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "optional": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@commitlint/types/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "optional": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/@commitlint/types/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "optional": true + }, + "node_modules/@commitlint/types/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@commitlint/types/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "optional": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.8.1", + "resolved": "https://registry.npmmirror.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", + "dev": true, + "optional": true, + "dependencies": { + "@jridgewell/trace-mapping": "0.3.9" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "dev": true, + "optional": true, + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, + "node_modules/@eslint-community/eslint-utils": { + "version": "4.4.0", + "resolved": "https://registry.npmmirror.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", + "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "dependencies": { + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" + } + }, + "node_modules/@eslint-community/regexpp": { + "version": "4.5.1", + "resolved": "https://registry.npmmirror.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz", + "integrity": "sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ==", + "engines": { + "node": "^12.0.0 || ^14.0.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz", + "integrity": "sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ==", + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.5.2", + "globals": "^13.19.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@eslint/eslintrc/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "node_modules/@eslint/eslintrc/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/@eslint/eslintrc/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "node_modules/@eslint/eslintrc/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/@eslint/js": { + "version": "8.40.0", + "resolved": "https://registry.npmmirror.com/@eslint/js/-/js-8.40.0.tgz", + "integrity": "sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.8", + "resolved": "https://registry.npmmirror.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz", + "integrity": "sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==", + "dependencies": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.5" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/config-array/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/@humanwhocodes/config-array/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "engines": { + "node": ">=12.22" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==" + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.2", + "resolved": "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz", + "integrity": "sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A==", + "dev": true, + "dependencies": { + "@jridgewell/set-array": "^1.0.1", + "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/trace-mapping": "^0.3.9" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz", + "integrity": "sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/set-array": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/@jridgewell/set-array/-/set-array-1.1.2.tgz", + "integrity": "sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw==", + "dev": true, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/source-map": { + "version": "0.3.2", + "resolved": "https://registry.npmmirror.com/@jridgewell/source-map/-/source-map-0.3.2.tgz", + "integrity": "sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw==", + "dev": true, + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.0", + "@jridgewell/trace-mapping": "^0.3.9" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.4.14", + "resolved": "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz", + "integrity": "sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw==" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.17", + "resolved": "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz", + "integrity": "sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g==", + "dev": true, + "dependencies": { + "@jridgewell/resolve-uri": "3.1.0", + "@jridgewell/sourcemap-codec": "1.4.14" + } + }, + "node_modules/@nodelib/fs.scandir": { + "version": "2.1.5", + "resolved": "https://registry.npmmirror.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", + "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", + "dependencies": { + "@nodelib/fs.stat": "2.0.5", + "run-parallel": "^1.1.9" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.stat": { + "version": "2.0.5", + "resolved": "https://registry.npmmirror.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", + "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "engines": { + "node": ">= 8" + } + }, + "node_modules/@nodelib/fs.walk": { + "version": "1.2.8", + "resolved": "https://registry.npmmirror.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", + "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "dependencies": { + "@nodelib/fs.scandir": "2.1.5", + "fastq": "^1.6.0" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/@rollup/plugin-commonjs": { + "version": "23.0.7", + "resolved": "https://registry.npmmirror.com/@rollup/plugin-commonjs/-/plugin-commonjs-23.0.7.tgz", + "integrity": "sha512-hsSD5Qzyuat/swzrExGG5l7EuIlPhwTsT7KwKbSCQzIcJWjRxiimi/0tyMYY2bByitNb3i1p+6JWEDGa0NvT0Q==", + "dependencies": { + "@rollup/pluginutils": "^5.0.1", + "commondir": "^1.0.1", + "estree-walker": "^2.0.2", + "glob": "^8.0.3", + "is-reference": "1.2.1", + "magic-string": "^0.27.0" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^2.68.0||^3.0.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } + }, + "node_modules/@rollup/plugin-terser": { + "version": "0.4.2", + "resolved": "https://registry.npmmirror.com/@rollup/plugin-terser/-/plugin-terser-0.4.2.tgz", + "integrity": "sha512-jfUVQ4MxzIB0mz8QhDA1xiLT+pTF3WEWXeIqcwhoF84WhLWscPpxjJgjYMyAq0Po4UXqw2D9C64tD0gRDzJzfA==", + "dev": true, + "dependencies": { + "serialize-javascript": "^6.0.0", + "smob": "^0.0.6", + "terser": "^5.15.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^2.x || ^3.x" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } + }, + "node_modules/@rollup/plugin-terser/node_modules/serialize-javascript": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz", + "integrity": "sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==", + "dev": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/@rollup/pluginutils": { + "version": "5.0.2", + "resolved": "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-5.0.2.tgz", + "integrity": "sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==", + "dependencies": { + "@types/estree": "^1.0.0", + "estree-walker": "^2.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=14.0.0" + }, + "peerDependencies": { + "rollup": "^1.20.0||^2.0.0||^3.0.0" + }, + "peerDependenciesMeta": { + "rollup": { + "optional": true + } + } + }, + "node_modules/@tsconfig/node10": { + "version": "1.0.9", + "resolved": "https://registry.npmmirror.com/@tsconfig/node10/-/node10-1.0.9.tgz", + "integrity": "sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA==", + "dev": true, + "optional": true + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.11", + "resolved": "https://registry.npmmirror.com/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", + "dev": true, + "optional": true + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", + "dev": true, + "optional": true + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/@tsconfig/node16/-/node16-1.0.3.tgz", + "integrity": "sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ==", + "dev": true, + "optional": true + }, + "node_modules/@types/eslint": { + "version": "8.37.0", + "resolved": "https://registry.npmmirror.com/@types/eslint/-/eslint-8.37.0.tgz", + "integrity": "sha512-Piet7dG2JBuDIfohBngQ3rCt7MgO9xCO4xIMKxBThCq5PNRB91IjlJ10eJVwfoNtvTErmxLzwBZ7rHZtbOMmFQ==", + "dependencies": { + "@types/estree": "*", + "@types/json-schema": "*" + } + }, + "node_modules/@types/estree": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/@types/estree/-/estree-1.0.0.tgz", + "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==" + }, + "node_modules/@types/gl-matrix": { + "version": "2.4.5", + "resolved": "https://registry.npmmirror.com/@types/gl-matrix/-/gl-matrix-2.4.5.tgz", + "integrity": "sha512-0L8Mq1+oaIW0oVzGUDbSW+HnTjCNb4CmoIQE5BkoHt/A7x20z0MJ1PnwfH3atty/vbWLGgvJwVu2Mz3SKFiEFw==" + }, + "node_modules/@types/json-schema": { + "version": "7.0.11", + "resolved": "https://registry.npmmirror.com/@types/json-schema/-/json-schema-7.0.11.tgz", + "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==" + }, + "node_modules/@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmmirror.com/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==" + }, + "node_modules/@types/minimatch": { + "version": "3.0.5", + "resolved": "https://registry.npmmirror.com/@types/minimatch/-/minimatch-3.0.5.tgz", + "integrity": "sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==", + "dev": true + }, + "node_modules/@types/node": { + "version": "18.11.18", + "resolved": "https://registry.npmmirror.com/@types/node/-/node-18.11.18.tgz", + "integrity": "sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA==", + "dev": true + }, + "node_modules/@types/prettier": { + "version": "2.7.2", + "resolved": "https://registry.npmmirror.com/@types/prettier/-/prettier-2.7.2.tgz", + "integrity": "sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg==" + }, + "node_modules/@types/resolve": { + "version": "0.0.8", + "resolved": "https://registry.npmmirror.com/@types/resolve/-/resolve-0.0.8.tgz", + "integrity": "sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ==", + "dev": true, + "dependencies": { + "@types/node": "*" + } + }, + "node_modules/@types/semver": { + "version": "7.5.0", + "resolved": "https://registry.npmmirror.com/@types/semver/-/semver-7.5.0.tgz", + "integrity": "sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw==" + }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "5.59.6", + "resolved": "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.6.tgz", + "integrity": "sha512-sXtOgJNEuRU5RLwPUb1jxtToZbgvq3M6FPpY4QENxoOggK+UpTxUBpj6tD8+Qh2g46Pi9We87E+eHnUw8YcGsw==", + "dependencies": { + "@eslint-community/regexpp": "^4.4.0", + "@typescript-eslint/scope-manager": "5.59.6", + "@typescript-eslint/type-utils": "5.59.6", + "@typescript-eslint/utils": "5.59.6", + "debug": "^4.3.4", + "grapheme-splitter": "^1.0.4", + "ignore": "^5.2.0", + "natural-compare-lite": "^1.4.0", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^5.0.0", + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": { + "version": "7.5.1", + "resolved": "https://registry.npmmirror.com/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "5.59.6", + "resolved": "https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-5.59.6.tgz", + "integrity": "sha512-7pCa6al03Pv1yf/dUg/s1pXz/yGMUBAw5EeWqNTFiSueKvRNonze3hma3lhdsOrQcaOXhbk5gKu2Fludiho9VA==", + "dependencies": { + "@typescript-eslint/scope-manager": "5.59.6", + "@typescript-eslint/types": "5.59.6", + "@typescript-eslint/typescript-estree": "5.59.6", + "debug": "^4.3.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "5.59.6", + "resolved": "https://registry.npmmirror.com/@typescript-eslint/scope-manager/-/scope-manager-5.59.6.tgz", + "integrity": "sha512-gLbY3Le9Dxcb8KdpF0+SJr6EQ+hFGYFl6tVY8VxLPFDfUZC7BHFw+Vq7bM5lE9DwWPfx4vMWWTLGXgpc0mAYyQ==", + "dependencies": { + "@typescript-eslint/types": "5.59.6", + "@typescript-eslint/visitor-keys": "5.59.6" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "5.59.6", + "resolved": "https://registry.npmmirror.com/@typescript-eslint/type-utils/-/type-utils-5.59.6.tgz", + "integrity": "sha512-A4tms2Mp5yNvLDlySF+kAThV9VTBPCvGf0Rp8nl/eoDX9Okun8byTKoj3fJ52IJitjWOk0fKPNQhXEB++eNozQ==", + "dependencies": { + "@typescript-eslint/typescript-estree": "5.59.6", + "@typescript-eslint/utils": "5.59.6", + "debug": "^4.3.4", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/types": { + "version": "5.59.6", + "resolved": "https://registry.npmmirror.com/@typescript-eslint/types/-/types-5.59.6.tgz", + "integrity": "sha512-tH5lBXZI7T2MOUgOWFdVNUILsI02shyQvfzG9EJkoONWugCG77NDDa1EeDGw7oJ5IvsTAAGVV8I3Tk2PNu9QfA==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "5.59.6", + "resolved": "https://registry.npmmirror.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.6.tgz", + "integrity": "sha512-vW6JP3lMAs/Tq4KjdI/RiHaaJSO7IUsbkz17it/Rl9Q+WkQ77EOuOnlbaU8kKfVIOJxMhnRiBG+olE7f3M16DA==", + "dependencies": { + "@typescript-eslint/types": "5.59.6", + "@typescript-eslint/visitor-keys": "5.59.6", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { + "version": "7.5.1", + "resolved": "https://registry.npmmirror.com/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "5.59.6", + "resolved": "https://registry.npmmirror.com/@typescript-eslint/utils/-/utils-5.59.6.tgz", + "integrity": "sha512-vzaaD6EXbTS29cVH0JjXBdzMt6VBlv+hE31XktDRMX1j3462wZCJa7VzO2AxXEXcIl8GQqZPcOPuW/Z1tZVogg==", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@types/json-schema": "^7.0.9", + "@types/semver": "^7.3.12", + "@typescript-eslint/scope-manager": "5.59.6", + "@typescript-eslint/types": "5.59.6", + "@typescript-eslint/typescript-estree": "5.59.6", + "eslint-scope": "^5.1.1", + "semver": "^7.3.7" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/@typescript-eslint/utils/node_modules/semver": { + "version": "7.5.1", + "resolved": "https://registry.npmmirror.com/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "5.59.6", + "resolved": "https://registry.npmmirror.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.6.tgz", + "integrity": "sha512-zEfbFLzB9ETcEJ4HZEEsCR9HHeNku5/Qw1jSS5McYJv5BR+ftYXwFFAH5Al+xkGaZEqowMwl7uoJjQb1YSPF8Q==", + "dependencies": { + "@typescript-eslint/types": "5.59.6", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/@webgpu/glslang": { + "version": "0.0.15", + "resolved": "https://registry.npmmirror.com/@webgpu/glslang/-/glslang-0.0.15.tgz", + "integrity": "sha512-niT+Prh3Aff8Uf1MVBVUsaNjFj9rJAKDXuoHIKiQbB+6IUP/3J3JIhBNyZ7lDhytvXxw6ppgnwKZdDJ08UMj4Q==" + }, + "node_modules/@webgpu/types": { + "version": "0.1.20", + "resolved": "https://registry.npmmirror.com/@webgpu/types/-/types-0.1.20.tgz", + "integrity": "sha512-MFb5oyxX+A7PWQNjcY3kSCSG2FAHaBo7IJBWtxWFgsS20FtY3D9UY7lYqLZ6avS8fSkdSylIS4qiHzFlQUdXag==" + }, + "node_modules/@yarn-tool/resolve-package": { + "version": "1.0.47", + "resolved": "https://registry.npmmirror.com/@yarn-tool/resolve-package/-/resolve-package-1.0.47.tgz", + "integrity": "sha512-Zaw58gQxjQceJqhqybJi1oUDaORT8i2GTgwICPs8v/X/Pkx35FXQba69ldHVg5pQZ6YLKpROXgyHvBaCJOFXiA==", + "dev": true, + "dependencies": { + "pkg-dir": "< 6 >= 5", + "tslib": "^2", + "upath2": "^3.1.13" + } + }, + "node_modules/acorn": { + "version": "8.8.1", + "resolved": "https://registry.npmmirror.com/acorn/-/acorn-8.8.1.tgz", + "integrity": "sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==", + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmmirror.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/acorn-walk": { + "version": "8.2.0", + "resolved": "https://registry.npmmirror.com/acorn-walk/-/acorn-walk-8.2.0.tgz", + "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmmirror.com/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "dev": true, + "optional": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + } + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmmirror.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "3.2.1", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-3.2.1.tgz", + "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "dependencies": { + "color-convert": "^1.9.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmmirror.com/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true, + "optional": true + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==" + }, + "node_modules/array-buffer-byte-length": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", + "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", + "dependencies": { + "call-bind": "^1.0.2", + "is-array-buffer": "^3.0.1" + } + }, + "node_modules/array-differ": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/array-differ/-/array-differ-3.0.0.tgz", + "integrity": "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/array-includes": { + "version": "3.1.6", + "resolved": "https://registry.npmmirror.com/array-includes/-/array-includes-3.1.6.tgz", + "integrity": "sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "get-intrinsic": "^1.1.3", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array-union": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/array-union/-/array-union-2.1.0.tgz", + "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", + "engines": { + "node": ">=8" + } + }, + "node_modules/array.prototype.flat": { + "version": "1.3.1", + "resolved": "https://registry.npmmirror.com/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz", + "integrity": "sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/array.prototype.flatmap": { + "version": "1.3.1", + "resolved": "https://registry.npmmirror.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz", + "integrity": "sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/arrify": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/arrify/-/arrify-2.0.1.tgz", + "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/at-least-node": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/at-least-node/-/at-least-node-1.0.0.tgz", + "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", + "dev": true, + "engines": { + "node": ">= 4.0.0" + } + }, + "node_modules/available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==" + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmmirror.com/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "dev": true + }, + "node_modules/bl": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/bl/-/bl-4.1.0.tgz", + "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", + "dev": true, + "dependencies": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmmirror.com/buffer/-/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "dev": true, + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", + "dev": true + }, + "node_modules/builtin-modules": { + "version": "3.3.0", + "resolved": "https://registry.npmmirror.com/builtin-modules/-/builtin-modules-3.3.0.tgz", + "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/cachedir": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/cachedir/-/cachedir-2.3.0.tgz", + "integrity": "sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/call-bind": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.2.tgz", + "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", + "dependencies": { + "function-bind": "^1.1.1", + "get-intrinsic": "^1.0.2" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "engines": { + "node": ">=6" + } + }, + "node_modules/chalk": { + "version": "2.4.2", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-2.4.2.tgz", + "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "dev": true, + "dependencies": { + "ansi-styles": "^3.2.1", + "escape-string-regexp": "^1.0.5", + "supports-color": "^5.3.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chardet": { + "version": "0.7.0", + "resolved": "https://registry.npmmirror.com/chardet/-/chardet-0.7.0.tgz", + "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", + "dev": true + }, + "node_modules/cli-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/cli-cursor/-/cli-cursor-3.1.0.tgz", + "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", + "dev": true, + "dependencies": { + "restore-cursor": "^3.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/cli-spinners": { + "version": "2.7.0", + "resolved": "https://registry.npmmirror.com/cli-spinners/-/cli-spinners-2.7.0.tgz", + "integrity": "sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/cli-width": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/cli-width/-/cli-width-3.0.0.tgz", + "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", + "dev": true, + "engines": { + "node": ">= 10" + } + }, + "node_modules/clone": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/clone/-/clone-1.0.4.tgz", + "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", + "dev": true, + "engines": { + "node": ">=0.8" + } + }, + "node_modules/color-convert": { + "version": "1.9.3", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-1.9.3.tgz", + "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "dependencies": { + "color-name": "1.1.3" + } + }, + "node_modules/color-name": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.3.tgz", + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" + }, + "node_modules/commander": { + "version": "2.20.3", + "resolved": "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz", + "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", + "dev": true + }, + "node_modules/commitizen": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/commitizen/-/commitizen-4.3.0.tgz", + "integrity": "sha512-H0iNtClNEhT0fotHvGV3E9tDejDeS04sN1veIebsKYGMuGscFaswRoYJKmT3eW85eIJAs0F28bG2+a/9wCOfPw==", + "dev": true, + "dependencies": { + "cachedir": "2.3.0", + "cz-conventional-changelog": "3.3.0", + "dedent": "0.7.0", + "detect-indent": "6.1.0", + "find-node-modules": "^2.1.2", + "find-root": "1.1.0", + "fs-extra": "9.1.0", + "glob": "7.2.3", + "inquirer": "8.2.5", + "is-utf8": "^0.2.1", + "lodash": "4.17.21", + "minimist": "1.2.7", + "strip-bom": "4.0.0", + "strip-json-comments": "3.1.1" + }, + "bin": { + "commitizen": "bin/commitizen", + "cz": "bin/git-cz", + "git-cz": "bin/git-cz" + }, + "engines": { + "node": ">= 12" + } + }, + "node_modules/commitizen/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/commitizen/node_modules/fs-extra": { + "version": "9.1.0", + "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-9.1.0.tgz", + "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", + "dev": true, + "dependencies": { + "at-least-node": "^1.0.0", + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/commitizen/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + } + }, + "node_modules/commitizen/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/common-tags": { + "version": "1.8.2", + "resolved": "https://registry.npmmirror.com/common-tags/-/common-tags-1.8.2.tgz", + "integrity": "sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA==", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/commondir": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/commondir/-/commondir-1.0.1.tgz", + "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==" + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" + }, + "node_modules/conventional-commit-types": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/conventional-commit-types/-/conventional-commit-types-3.0.0.tgz", + "integrity": "sha512-SmmCYnOniSsAa9GqWOeLqc179lfr5TRu5b4QFDkbsrJ5TZjPJx85wtOr3zn+1dbeNiXDKGPbZ72IKbPhLXh/Lg==", + "dev": true + }, + "node_modules/cosmiconfig": { + "version": "8.0.0", + "resolved": "https://registry.npmmirror.com/cosmiconfig/-/cosmiconfig-8.0.0.tgz", + "integrity": "sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ==", + "dev": true, + "optional": true, + "dependencies": { + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "parse-json": "^5.0.0", + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/cosmiconfig-typescript-loader": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.3.0.tgz", + "integrity": "sha512-NTxV1MFfZDLPiBMjxbHRwSh5LaLcPMwNdCutmnHJCKoVnlvldPWlllonKwrsRJ5pYZBIBGRWWU2tfvzxgeSW5Q==", + "dev": true, + "optional": true, + "engines": { + "node": ">=12", + "npm": ">=6" + }, + "peerDependencies": { + "@types/node": "*", + "cosmiconfig": ">=7", + "ts-node": ">=10", + "typescript": ">=3" + } + }, + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true, + "optional": true + }, + "node_modules/cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmmirror.com/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dependencies": { + "cross-spawn": "^7.0.1" + }, + "bin": { + "cross-env": "src/bin/cross-env.js", + "cross-env-shell": "src/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=10.14", + "npm": ">=6", + "yarn": ">=1" + } + }, + "node_modules/cross-spawn": { + "version": "7.0.3", + "resolved": "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.3.tgz", + "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/cz-conventional-changelog": { + "version": "3.3.0", + "resolved": "https://registry.npmmirror.com/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz", + "integrity": "sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw==", + "dev": true, + "dependencies": { + "chalk": "^2.4.1", + "commitizen": "^4.0.3", + "conventional-commit-types": "^3.0.0", + "lodash.map": "^4.5.1", + "longest": "^2.0.1", + "word-wrap": "^1.0.3" + }, + "engines": { + "node": ">= 10" + }, + "optionalDependencies": { + "@commitlint/load": ">6.1.1" + } + }, + "node_modules/cz-conventional-changelog-zh": { + "version": "0.0.2", + "resolved": "https://registry.npmmirror.com/cz-conventional-changelog-zh/-/cz-conventional-changelog-zh-0.0.2.tgz", + "integrity": "sha512-rXy2HiG/0M7xChuodAN1L9qHDWTBInGTljaE59AlyqrXQAv0srg147vjep5CO7mGtxVYJQJi9TVP5KVZMWxDqQ==", + "dev": true, + "dependencies": { + "chalk": "^2.4.1", + "commitizen": "^4.0.3", + "conventional-commit-types": "^3.0.0", + "lodash.assign": "^4.2.0", + "lodash.map": "^4.5.1", + "longest": "^2.0.1", + "word-wrap": "^1.0.3" + }, + "engines": { + "node": ">= 10" + }, + "optionalDependencies": { + "@commitlint/load": ">6.1.1" + } + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/dedent": { + "version": "0.7.0", + "resolved": "https://registry.npmmirror.com/dedent/-/dedent-0.7.0.tgz", + "integrity": "sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA==", + "dev": true + }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmmirror.com/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==" + }, + "node_modules/defaults": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/defaults/-/defaults-1.0.4.tgz", + "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", + "dev": true, + "dependencies": { + "clone": "^1.0.2" + } + }, + "node_modules/define-properties": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/define-properties/-/define-properties-1.2.0.tgz", + "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", + "dependencies": { + "has-property-descriptors": "^1.0.0", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/detect-file": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/detect-file/-/detect-file-1.0.0.tgz", + "integrity": "sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/detect-indent": { + "version": "6.1.0", + "resolved": "https://registry.npmmirror.com/detect-indent/-/detect-indent-6.1.0.tgz", + "integrity": "sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/dir-glob": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/dir-glob/-/dir-glob-3.0.1.tgz", + "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==", + "dependencies": { + "path-type": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/dlv": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/dlv/-/dlv-1.1.3.tgz", + "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==" + }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/end-of-stream": { + "version": "1.4.4", + "resolved": "https://registry.npmmirror.com/end-of-stream/-/end-of-stream-1.4.4.tgz", + "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", + "dev": true, + "dependencies": { + "once": "^1.4.0" + } + }, + "node_modules/error-ex": { + "version": "1.3.2", + "resolved": "https://registry.npmmirror.com/error-ex/-/error-ex-1.3.2.tgz", + "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "dev": true, + "optional": true, + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-abstract": { + "version": "1.21.2", + "resolved": "https://registry.npmmirror.com/es-abstract/-/es-abstract-1.21.2.tgz", + "integrity": "sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg==", + "dependencies": { + "array-buffer-byte-length": "^1.0.0", + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "es-set-tostringtag": "^2.0.1", + "es-to-primitive": "^1.2.1", + "function.prototype.name": "^1.1.5", + "get-intrinsic": "^1.2.0", + "get-symbol-description": "^1.0.0", + "globalthis": "^1.0.3", + "gopd": "^1.0.1", + "has": "^1.0.3", + "has-property-descriptors": "^1.0.0", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.5", + "is-array-buffer": "^3.0.2", + "is-callable": "^1.2.7", + "is-negative-zero": "^2.0.2", + "is-regex": "^1.1.4", + "is-shared-array-buffer": "^1.0.2", + "is-string": "^1.0.7", + "is-typed-array": "^1.1.10", + "is-weakref": "^1.0.2", + "object-inspect": "^1.12.3", + "object-keys": "^1.1.1", + "object.assign": "^4.1.4", + "regexp.prototype.flags": "^1.4.3", + "safe-regex-test": "^1.0.0", + "string.prototype.trim": "^1.2.7", + "string.prototype.trimend": "^1.0.6", + "string.prototype.trimstart": "^1.0.6", + "typed-array-length": "^1.0.4", + "unbox-primitive": "^1.0.2", + "which-typed-array": "^1.1.9" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-set-tostringtag": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", + "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", + "dependencies": { + "get-intrinsic": "^1.1.3", + "has": "^1.0.3", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-shim-unscopables": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", + "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", + "dependencies": { + "has": "^1.0.3" + } + }, + "node_modules/es-to-primitive": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz", + "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "dependencies": { + "is-callable": "^1.1.4", + "is-date-object": "^1.0.1", + "is-symbol": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/escape-string-regexp": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/eslint": { + "version": "8.40.0", + "resolved": "https://registry.npmmirror.com/eslint/-/eslint-8.40.0.tgz", + "integrity": "sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==", + "dependencies": { + "@eslint-community/eslint-utils": "^4.2.0", + "@eslint-community/regexpp": "^4.4.0", + "@eslint/eslintrc": "^2.0.3", + "@eslint/js": "8.40.0", + "@humanwhocodes/config-array": "^0.11.8", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.2.0", + "eslint-visitor-keys": "^3.4.1", + "espree": "^9.5.2", + "esquery": "^1.4.2", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.19.0", + "grapheme-splitter": "^1.0.4", + "ignore": "^5.2.0", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-sdsl": "^4.1.4", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/eslint-config-prettier": { + "version": "8.8.0", + "resolved": "https://registry.npmmirror.com/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz", + "integrity": "sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA==", + "bin": { + "eslint-config-prettier": "bin/cli.js" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-import-resolver-node": { + "version": "0.3.7", + "resolved": "https://registry.npmmirror.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz", + "integrity": "sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA==", + "dependencies": { + "debug": "^3.2.7", + "is-core-module": "^2.11.0", + "resolve": "^1.22.1" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-module-utils": { + "version": "2.8.0", + "resolved": "https://registry.npmmirror.com/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz", + "integrity": "sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==", + "dependencies": { + "debug": "^3.2.7" + }, + "engines": { + "node": ">=4" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + } + }, + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import": { + "version": "2.27.5", + "resolved": "https://registry.npmmirror.com/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz", + "integrity": "sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==", + "dependencies": { + "array-includes": "^3.1.6", + "array.prototype.flat": "^1.3.1", + "array.prototype.flatmap": "^1.3.1", + "debug": "^3.2.7", + "doctrine": "^2.1.0", + "eslint-import-resolver-node": "^0.3.7", + "eslint-module-utils": "^2.7.4", + "has": "^1.0.3", + "is-core-module": "^2.11.0", + "is-glob": "^4.0.3", + "minimatch": "^3.1.2", + "object.values": "^1.1.6", + "resolve": "^1.22.1", + "semver": "^6.3.0", + "tsconfig-paths": "^3.14.1" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" + } + }, + "node_modules/eslint-plugin-import/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/eslint-plugin-prettier": { + "version": "4.2.1", + "resolved": "https://registry.npmmirror.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz", + "integrity": "sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==", + "dependencies": { + "prettier-linter-helpers": "^1.0.0" + }, + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "eslint": ">=7.28.0", + "prettier": ">=2.0.0" + }, + "peerDependenciesMeta": { + "eslint-config-prettier": { + "optional": true + } + } + }, + "node_modules/eslint-plugin-unused-imports": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-2.0.0.tgz", + "integrity": "sha512-3APeS/tQlTrFa167ThtP0Zm0vctjr4M44HMpeg1P4bK6wItarumq0Ma82xorMKdFsWpphQBlRPzw/pxiVELX1A==", + "dependencies": { + "eslint-rule-composer": "^0.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "@typescript-eslint/eslint-plugin": "^5.0.0", + "eslint": "^8.0.0" + }, + "peerDependenciesMeta": { + "@typescript-eslint/eslint-plugin": { + "optional": true + } + } + }, + "node_modules/eslint-rule-composer": { + "version": "0.3.0", + "resolved": "https://registry.npmmirror.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz", + "integrity": "sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==", + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/eslint-scope": { + "version": "5.1.1", + "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-5.1.1.tgz", + "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^4.1.1" + }, + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.4.1", + "resolved": "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz", + "integrity": "sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA==", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/eslint/node_modules/ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dependencies": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "node_modules/eslint/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/eslint/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/eslint/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" + }, + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint/node_modules/eslint-scope": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-7.2.0.tgz", + "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/eslint/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/eslint/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "node_modules/eslint/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/eslint/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/espree": { + "version": "9.5.2", + "resolved": "https://registry.npmmirror.com/espree/-/espree-9.5.2.tgz", + "integrity": "sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw==", + "dependencies": { + "acorn": "^8.8.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/esquery": { + "version": "1.5.0", + "resolved": "https://registry.npmmirror.com/esquery/-/esquery-1.5.0.tgz", + "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==", + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esquery/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/esrecurse/-/esrecurse-4.3.0.tgz", + "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", + "dependencies": { + "estraverse": "^5.2.0" + }, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/esrecurse/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estraverse": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-4.3.0.tgz", + "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/estree-walker": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-2.0.2.tgz", + "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==" + }, + "node_modules/esutils": { + "version": "2.0.3", + "resolved": "https://registry.npmmirror.com/esutils/-/esutils-2.0.3.tgz", + "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/execa": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/execa/-/execa-4.1.0.tgz", + "integrity": "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.0", + "get-stream": "^5.0.0", + "human-signals": "^1.1.1", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.0", + "onetime": "^5.1.0", + "signal-exit": "^3.0.2", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/expand-tilde": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/expand-tilde/-/expand-tilde-2.0.2.tgz", + "integrity": "sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==", + "dev": true, + "dependencies": { + "homedir-polyfill": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/external-editor": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/external-editor/-/external-editor-3.1.0.tgz", + "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", + "dev": true, + "dependencies": { + "chardet": "^0.7.0", + "iconv-lite": "^0.4.24", + "tmp": "^0.0.33" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "node_modules/fast-diff": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/fast-diff/-/fast-diff-1.2.0.tgz", + "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==" + }, + "node_modules/fast-glob": { + "version": "3.2.12", + "resolved": "https://registry.npmmirror.com/fast-glob/-/fast-glob-3.2.12.tgz", + "integrity": "sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w==", + "dependencies": { + "@nodelib/fs.stat": "^2.0.2", + "@nodelib/fs.walk": "^1.2.3", + "glob-parent": "^5.1.2", + "merge2": "^1.3.0", + "micromatch": "^4.0.4" + }, + "engines": { + "node": ">=8.6.0" + } + }, + "node_modules/fast-glob/node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmmirror.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==" + }, + "node_modules/fastq": { + "version": "1.15.0", + "resolved": "https://registry.npmmirror.com/fastq/-/fastq-1.15.0.tgz", + "integrity": "sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw==", + "dependencies": { + "reusify": "^1.0.4" + } + }, + "node_modules/figures": { + "version": "3.2.0", + "resolved": "https://registry.npmmirror.com/figures/-/figures-3.2.0.tgz", + "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", + "dev": true, + "dependencies": { + "escape-string-regexp": "^1.0.5" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmmirror.com/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-cache-dir": { + "version": "3.3.2", + "resolved": "https://registry.npmmirror.com/find-cache-dir/-/find-cache-dir-3.3.2.tgz", + "integrity": "sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==", + "dev": true, + "dependencies": { + "commondir": "^1.0.1", + "make-dir": "^3.0.2", + "pkg-dir": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-cache-dir/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-cache-dir/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-cache-dir/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/find-cache-dir/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-cache-dir/node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmmirror.com/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-node-modules": { + "version": "2.1.3", + "resolved": "https://registry.npmmirror.com/find-node-modules/-/find-node-modules-2.1.3.tgz", + "integrity": "sha512-UC2I2+nx1ZuOBclWVNdcnbDR5dlrOdVb7xNjmT/lHE+LsgztWks3dG7boJ37yTS/venXw84B/mAW9uHVoC5QRg==", + "dev": true, + "dependencies": { + "findup-sync": "^4.0.0", + "merge": "^2.1.1" + } + }, + "node_modules/find-root": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/find-root/-/find-root-1.1.0.tgz", + "integrity": "sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==", + "dev": true + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/findup-sync": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/findup-sync/-/findup-sync-4.0.0.tgz", + "integrity": "sha512-6jvvn/12IC4quLBL1KNokxC7wWTvYncaVUYSoxWw7YykPLuRrnv4qdHcSOywOI5RpkOVGeQRtWM8/q+G6W6qfQ==", + "dev": true, + "dependencies": { + "detect-file": "^1.0.0", + "is-glob": "^4.0.0", + "micromatch": "^4.0.2", + "resolve-dir": "^1.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmmirror.com/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "dependencies": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.2.7", + "resolved": "https://registry.npmmirror.com/flatted/-/flatted-3.2.7.tgz", + "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==" + }, + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmmirror.com/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dependencies": { + "is-callable": "^1.1.3" + } + }, + "node_modules/fs-extra": { + "version": "10.1.0", + "resolved": "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", + "dev": true, + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" + }, + "node_modules/function-bind": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz", + "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" + }, + "node_modules/function.prototype.name": { + "version": "1.1.5", + "resolved": "https://registry.npmmirror.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz", + "integrity": "sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.0", + "functions-have-names": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/functions-have-names": { + "version": "1.2.3", + "resolved": "https://registry.npmmirror.com/functions-have-names/-/functions-have-names-1.2.3.tgz", + "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==" + }, + "node_modules/get-intrinsic": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.2.1.tgz", + "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", + "dependencies": { + "function-bind": "^1.1.1", + "has": "^1.0.3", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3" + } + }, + "node_modules/get-stream": { + "version": "5.2.0", + "resolved": "https://registry.npmmirror.com/get-stream/-/get-stream-5.2.0.tgz", + "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", + "dev": true, + "dependencies": { + "pump": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/get-symbol-description": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz", + "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/glob": { + "version": "8.1.0", + "resolved": "https://registry.npmmirror.com/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^5.0.1", + "once": "^1.3.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmmirror.com/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/global-dirs": { + "version": "0.1.1", + "resolved": "https://registry.npmmirror.com/global-dirs/-/global-dirs-0.1.1.tgz", + "integrity": "sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==", + "dev": true, + "optional": true, + "dependencies": { + "ini": "^1.3.4" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/global-modules": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/global-modules/-/global-modules-1.0.0.tgz", + "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", + "dev": true, + "dependencies": { + "global-prefix": "^1.0.1", + "is-windows": "^1.0.1", + "resolve-dir": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/global-prefix": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/global-prefix/-/global-prefix-1.0.2.tgz", + "integrity": "sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg==", + "dev": true, + "dependencies": { + "expand-tilde": "^2.0.2", + "homedir-polyfill": "^1.0.1", + "ini": "^1.3.4", + "is-windows": "^1.0.1", + "which": "^1.2.14" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/global-prefix/node_modules/which": { + "version": "1.3.1", + "resolved": "https://registry.npmmirror.com/which/-/which-1.3.1.tgz", + "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", + "dev": true, + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "which": "bin/which" + } + }, + "node_modules/globals": { + "version": "13.20.0", + "resolved": "https://registry.npmmirror.com/globals/-/globals-13.20.0.tgz", + "integrity": "sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ==", + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/globals/node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmmirror.com/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "engines": { + "node": ">=10" + } + }, + "node_modules/globalthis": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/globalthis/-/globalthis-1.0.3.tgz", + "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", + "dependencies": { + "define-properties": "^1.1.3" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/globby": { + "version": "11.1.0", + "resolved": "https://registry.npmmirror.com/globby/-/globby-11.1.0.tgz", + "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==", + "dependencies": { + "array-union": "^2.1.0", + "dir-glob": "^3.0.1", + "fast-glob": "^3.2.9", + "ignore": "^5.2.0", + "merge2": "^1.4.1", + "slash": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dependencies": { + "get-intrinsic": "^1.1.3" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.10", + "resolved": "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.10.tgz", + "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", + "dev": true + }, + "node_modules/grapheme-splitter": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", + "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==" + }, + "node_modules/has": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/has/-/has-1.0.3.tgz", + "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", + "dependencies": { + "function-bind": "^1.1.1" + }, + "engines": { + "node": ">= 0.4.0" + } + }, + "node_modules/has-ansi": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/has-ansi/-/has-ansi-2.0.0.tgz", + "integrity": "sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg==", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-ansi/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/has-bigints": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/has-bigints/-/has-bigints-1.0.2.tgz", + "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==" + }, + "node_modules/has-flag": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-3.0.0.tgz", + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", + "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", + "dependencies": { + "get-intrinsic": "^1.1.1" + } + }, + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/homedir-polyfill": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz", + "integrity": "sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==", + "dev": true, + "dependencies": { + "parse-passwd": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/human-signals": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/human-signals/-/human-signals-1.1.1.tgz", + "integrity": "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==", + "dev": true, + "engines": { + "node": ">=8.12.0" + } + }, + "node_modules/husky": { + "version": "8.0.3", + "resolved": "https://registry.npmmirror.com/husky/-/husky-8.0.3.tgz", + "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", + "dev": true, + "bin": { + "husky": "lib/bin.js" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "dev": true, + "dependencies": { + "safer-buffer": ">= 2.1.2 < 3" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/ieee754/-/ieee754-1.2.1.tgz", + "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", + "dev": true + }, + "node_modules/ignore": { + "version": "5.2.4", + "resolved": "https://registry.npmmirror.com/ignore/-/ignore-5.2.4.tgz", + "integrity": "sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ==", + "engines": { + "node": ">= 4" + } + }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmmirror.com/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/import-fresh/node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "engines": { + "node": ">=4" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmmirror.com/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/indent-string": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/indent-string/-/indent-string-4.0.0.tgz", + "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==", + "engines": { + "node": ">=8" + } + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmmirror.com/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/ini": { + "version": "1.3.8", + "resolved": "https://registry.npmmirror.com/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "dev": true + }, + "node_modules/inquirer": { + "version": "8.2.5", + "resolved": "https://registry.npmmirror.com/inquirer/-/inquirer-8.2.5.tgz", + "integrity": "sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ==", + "dev": true, + "dependencies": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.1", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.21", + "mute-stream": "0.0.8", + "ora": "^5.4.1", + "run-async": "^2.4.0", + "rxjs": "^7.5.5", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12.0.0" + } + }, + "node_modules/inquirer/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/inquirer/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/inquirer/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/inquirer/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/inquirer/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/inquirer/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/internal-slot": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/internal-slot/-/internal-slot-1.0.5.tgz", + "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", + "dependencies": { + "get-intrinsic": "^1.2.0", + "has": "^1.0.3", + "side-channel": "^1.0.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-array-buffer": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/is-array-buffer/-/is-array-buffer-3.0.2.tgz", + "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.2.0", + "is-typed-array": "^1.1.10" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmmirror.com/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true, + "optional": true + }, + "node_modules/is-bigint": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/is-bigint/-/is-bigint-1.0.4.tgz", + "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "dependencies": { + "has-bigints": "^1.0.1" + } + }, + "node_modules/is-boolean-object": { + "version": "1.1.2", + "resolved": "https://registry.npmmirror.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz", + "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmmirror.com/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-core-module": { + "version": "2.11.0", + "resolved": "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.11.0.tgz", + "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", + "dependencies": { + "has": "^1.0.3" + } + }, + "node_modules/is-date-object": { + "version": "1.0.5", + "resolved": "https://registry.npmmirror.com/is-date-object/-/is-date-object-1.0.5.tgz", + "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-interactive": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/is-interactive/-/is-interactive-1.0.0.tgz", + "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-module": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/is-module/-/is-module-1.0.0.tgz", + "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==", + "dev": true + }, + "node_modules/is-negative-zero": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz", + "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-number-object": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/is-number-object/-/is-number-object-1.0.7.tgz", + "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmmirror.com/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-reference": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/is-reference/-/is-reference-1.2.1.tgz", + "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==", + "dependencies": { + "@types/estree": "*" + } + }, + "node_modules/is-regex": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/is-regex/-/is-regex-1.1.4.tgz", + "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-shared-array-buffer": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", + "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", + "dependencies": { + "call-bind": "^1.0.2" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-string": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/is-string/-/is-string-1.0.7.tgz", + "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-symbol": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/is-symbol/-/is-symbol-1.0.4.tgz", + "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.10", + "resolved": "https://registry.npmmirror.com/is-typed-array/-/is-typed-array-1.1.10.tgz", + "integrity": "sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A==", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmmirror.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/is-utf8": { + "version": "0.2.1", + "resolved": "https://registry.npmmirror.com/is-utf8/-/is-utf8-0.2.1.tgz", + "integrity": "sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q==", + "dev": true + }, + "node_modules/is-weakref": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/is-weakref/-/is-weakref-1.0.2.tgz", + "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "dependencies": { + "call-bind": "^1.0.2" + } + }, + "node_modules/is-windows": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/is-windows/-/is-windows-1.0.2.tgz", + "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==" + }, + "node_modules/js-sdsl": { + "version": "4.4.0", + "resolved": "https://registry.npmmirror.com/js-sdsl/-/js-sdsl-4.4.0.tgz", + "integrity": "sha512-FfVSdx6pJ41Oa+CF7RDaFmTnCaFhua+SNYQX74riGOpl96x+2jQCqEfQ2bnXu/5DPCqlRuiqyvTJM0Qjz26IVg==" + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "optional": true + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "optional": true + }, + "node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true, + "optional": true + }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==" + }, + "node_modules/json5": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/json5/-/json5-1.0.2.tgz", + "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==", + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, + "node_modules/jsonfile": { + "version": "6.1.0", + "resolved": "https://registry.npmmirror.com/jsonfile/-/jsonfile-6.1.0.tgz", + "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", + "dev": true, + "dependencies": { + "universalify": "^2.0.0" + }, + "optionalDependencies": { + "graceful-fs": "^4.1.6" + } + }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmmirror.com/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmmirror.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true, + "optional": true + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/lodash.assign": { + "version": "4.2.0", + "resolved": "https://registry.npmmirror.com/lodash.assign/-/lodash.assign-4.2.0.tgz", + "integrity": "sha512-hFuH8TY+Yji7Eja3mGiuAxBqLagejScbG8GbG0j6o9vzn0YL14My+ktnqtZgFTosKymC9/44wP6s7xyuLfnClw==", + "dev": true + }, + "node_modules/lodash.isplainobject": { + "version": "4.0.6", + "resolved": "https://registry.npmmirror.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz", + "integrity": "sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==", + "dev": true, + "optional": true + }, + "node_modules/lodash.map": { + "version": "4.6.0", + "resolved": "https://registry.npmmirror.com/lodash.map/-/lodash.map-4.6.0.tgz", + "integrity": "sha512-worNHGKLDetmcEYDvh2stPCrrQRkP20E4l0iIS7F8EvzMqBBi7ltvFN5m1HvTf1P7Jk1txKhvFcmYsCr8O2F1Q==", + "dev": true + }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmmirror.com/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" + }, + "node_modules/lodash.mergewith": { + "version": "4.6.2", + "resolved": "https://registry.npmmirror.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz", + "integrity": "sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ==", + "dev": true, + "optional": true + }, + "node_modules/lodash.uniq": { + "version": "4.5.0", + "resolved": "https://registry.npmmirror.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz", + "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", + "dev": true, + "optional": true + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/log-symbols/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/log-symbols/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/log-symbols/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/log-symbols/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/log-symbols/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/log-symbols/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/loglevel": { + "version": "1.8.1", + "resolved": "https://registry.npmmirror.com/loglevel/-/loglevel-1.8.1.tgz", + "integrity": "sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg==", + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/loglevel-colored-level-prefix": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/loglevel-colored-level-prefix/-/loglevel-colored-level-prefix-1.0.0.tgz", + "integrity": "sha512-u45Wcxxc+SdAlh4yeF/uKlC1SPUPCy0gullSNKXod5I4bmifzk+Q4lSLExNEVn19tGaJipbZ4V4jbFn79/6mVA==", + "dependencies": { + "chalk": "^1.1.3", + "loglevel": "^1.4.1" + } + }, + "node_modules/loglevel-colored-level-prefix/node_modules/ansi-regex": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-2.1.1.tgz", + "integrity": "sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/loglevel-colored-level-prefix/node_modules/ansi-styles": { + "version": "2.2.1", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-2.2.1.tgz", + "integrity": "sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/loglevel-colored-level-prefix/node_modules/chalk": { + "version": "1.1.3", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-1.1.3.tgz", + "integrity": "sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A==", + "dependencies": { + "ansi-styles": "^2.2.1", + "escape-string-regexp": "^1.0.2", + "has-ansi": "^2.0.0", + "strip-ansi": "^3.0.0", + "supports-color": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/loglevel-colored-level-prefix/node_modules/strip-ansi": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-3.0.1.tgz", + "integrity": "sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==", + "dependencies": { + "ansi-regex": "^2.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/loglevel-colored-level-prefix/node_modules/supports-color": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-2.0.0.tgz", + "integrity": "sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g==", + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/longest": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/longest/-/longest-2.0.1.tgz", + "integrity": "sha512-Ajzxb8CM6WAnFjgiloPsI3bF+WCxcvhdIG3KNA2KN962+tdBsHcuQ4k4qX/EcS/2CRkcc0iAkR956Nib6aXU/Q==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/lru-cache": { + "version": "6.0.0", + "resolved": "https://registry.npmmirror.com/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/magic-string": { + "version": "0.27.0", + "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.27.0.tgz", + "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.4.13" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/make-dir": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/make-dir/-/make-dir-3.1.0.tgz", + "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", + "dev": true, + "dependencies": { + "semver": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmmirror.com/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true, + "optional": true + }, + "node_modules/merge": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/merge/-/merge-2.1.1.tgz", + "integrity": "sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w==", + "dev": true + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true + }, + "node_modules/merge2": { + "version": "1.4.1", + "resolved": "https://registry.npmmirror.com/merge2/-/merge2-1.4.1.tgz", + "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", + "engines": { + "node": ">= 8" + } + }, + "node_modules/mersenne-twister": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/mersenne-twister/-/mersenne-twister-1.1.0.tgz", + "integrity": "sha512-mUYWsMKNrm4lfygPkL3OfGzOPTR2DBlTkBNHM//F6hGp8cLThY897crAlk3/Jo17LEOOjQUrNAx6DvgO77QJkA==" + }, + "node_modules/micromatch": { + "version": "4.0.5", + "resolved": "https://registry.npmmirror.com/micromatch/-/micromatch-4.0.5.tgz", + "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==", + "dependencies": { + "braces": "^3.0.2", + "picomatch": "^2.3.1" + }, + "engines": { + "node": ">=8.6" + } + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/minimatch": { + "version": "5.1.4", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-5.1.4.tgz", + "integrity": "sha512-U0iNYXt9wALljzfnGkhFSy5sAC6/SCR3JrHrlsdJz4kF8MvhTRQNiC59iUi1iqsitV7abrNAJWElVL9pdnoUgw==", + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/minimist": { + "version": "1.2.7", + "resolved": "https://registry.npmmirror.com/minimist/-/minimist-1.2.7.tgz", + "integrity": "sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==" + }, + "node_modules/mri": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/mri/-/mri-1.2.0.tgz", + "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + }, + "node_modules/multimatch": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/multimatch/-/multimatch-4.0.0.tgz", + "integrity": "sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ==", + "dev": true, + "dependencies": { + "@types/minimatch": "^3.0.3", + "array-differ": "^3.0.0", + "array-union": "^2.1.0", + "arrify": "^2.0.1", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/multimatch/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/multimatch/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/mute-stream": { + "version": "0.0.8", + "resolved": "https://registry.npmmirror.com/mute-stream/-/mute-stream-0.0.8.tgz", + "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", + "dev": true + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==" + }, + "node_modules/natural-compare-lite": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz", + "integrity": "sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g==" + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/object-inspect": { + "version": "1.12.3", + "resolved": "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.12.3.tgz", + "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==" + }, + "node_modules/object-keys": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/object-keys/-/object-keys-1.1.1.tgz", + "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.assign": { + "version": "4.1.4", + "resolved": "https://registry.npmmirror.com/object.assign/-/object.assign-4.1.4.tgz", + "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "has-symbols": "^1.0.3", + "object-keys": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.values": { + "version": "1.1.6", + "resolved": "https://registry.npmmirror.com/object.values/-/object.values-1.1.6.tgz", + "integrity": "sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmmirror.com/once/-/once-1.4.0.tgz", + "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmmirror.com/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmmirror.com/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/ora": { + "version": "5.4.1", + "resolved": "https://registry.npmmirror.com/ora/-/ora-5.4.1.tgz", + "integrity": "sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==", + "dev": true, + "dependencies": { + "bl": "^4.1.0", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-spinners": "^2.5.0", + "is-interactive": "^1.0.0", + "is-unicode-supported": "^0.1.0", + "log-symbols": "^4.1.0", + "strip-ansi": "^6.0.0", + "wcwidth": "^1.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ora/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/ora/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ora/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/ora/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/ora/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ora/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/os-tmpdir": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz", + "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmmirror.com/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "optional": true, + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/parse-passwd": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/parse-passwd/-/parse-passwd-1.0.0.tgz", + "integrity": "sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/path-is-network-drive": { + "version": "1.0.20", + "resolved": "https://registry.npmmirror.com/path-is-network-drive/-/path-is-network-drive-1.0.20.tgz", + "integrity": "sha512-p5wCWlRB4+ggzxWshqHH9aF3kAuVu295NaENXmVhThbZPJQBeJdxZTP6CIoUR+kWHDUW56S9YcaO1gXnc/BOxw==", + "dev": true, + "dependencies": { + "tslib": "^2" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-parse": { + "version": "1.0.7", + "resolved": "https://registry.npmmirror.com/path-parse/-/path-parse-1.0.7.tgz", + "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==" + }, + "node_modules/path-strip-sep": { + "version": "1.0.17", + "resolved": "https://registry.npmmirror.com/path-strip-sep/-/path-strip-sep-1.0.17.tgz", + "integrity": "sha512-+2zIC2fNgdilgV7pTrktY6oOxxZUo9x5zJYfTzxsGze5kSGDDwhA5/0WlBn+sUyv/WuuyYn3OfM+Ue5nhdQUgA==", + "dev": true, + "dependencies": { + "tslib": "^2" + } + }, + "node_modules/path-type": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/path-type/-/path-type-4.0.0.tgz", + "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==", + "engines": { + "node": ">=8" + } + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "engines": { + "node": ">=8.6" + } + }, + "node_modules/pkg-dir": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/pkg-dir/-/pkg-dir-5.0.0.tgz", + "integrity": "sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==", + "dev": true, + "dependencies": { + "find-up": "^5.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/prettier": { + "version": "2.8.3", + "resolved": "https://registry.npmmirror.com/prettier/-/prettier-2.8.3.tgz", + "integrity": "sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw==", + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/prettier-eslint": { + "version": "15.0.1", + "resolved": "https://registry.npmmirror.com/prettier-eslint/-/prettier-eslint-15.0.1.tgz", + "integrity": "sha512-mGOWVHixSvpZWARqSDXbdtTL54mMBxc5oQYQ6RAqy8jecuNJBgN3t9E5a81G66F8x8fsKNiR1HWaBV66MJDOpg==", + "dependencies": { + "@types/eslint": "^8.4.2", + "@types/prettier": "^2.6.0", + "@typescript-eslint/parser": "^5.10.0", + "common-tags": "^1.4.0", + "dlv": "^1.1.0", + "eslint": "^8.7.0", + "indent-string": "^4.0.0", + "lodash.merge": "^4.6.0", + "loglevel-colored-level-prefix": "^1.0.0", + "prettier": "^2.5.1", + "pretty-format": "^23.0.1", + "require-relative": "^0.8.7", + "typescript": "^4.5.4", + "vue-eslint-parser": "^8.0.1" + }, + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/prettier-linter-helpers": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz", + "integrity": "sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==", + "dependencies": { + "fast-diff": "^1.1.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/pretty-format": { + "version": "23.6.0", + "resolved": "https://registry.npmmirror.com/pretty-format/-/pretty-format-23.6.0.tgz", + "integrity": "sha512-zf9NV1NSlDLDjycnwm6hpFATCGl/K1lt0R/GdkAK2O5LN/rwJoB+Mh93gGJjut4YbmecbfgLWVGSTCr0Ewvvbw==", + "dependencies": { + "ansi-regex": "^3.0.0", + "ansi-styles": "^3.2.0" + } + }, + "node_modules/pretty-format/node_modules/ansi-regex": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-3.0.1.tgz", + "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", + "engines": { + "node": ">=4" + } + }, + "node_modules/pretty-quick": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/pretty-quick/-/pretty-quick-3.1.3.tgz", + "integrity": "sha512-kOCi2FJabvuh1as9enxYmrnBC6tVMoVOenMaBqRfsvBHB0cbpYHjdQEpSglpASDFEXVwplpcGR4CLEaisYAFcA==", + "dev": true, + "dependencies": { + "chalk": "^3.0.0", + "execa": "^4.0.0", + "find-up": "^4.1.0", + "ignore": "^5.1.4", + "mri": "^1.1.5", + "multimatch": "^4.0.0" + }, + "bin": { + "pretty-quick": "bin/pretty-quick.js" + }, + "engines": { + "node": ">=10.13" + }, + "peerDependencies": { + "prettier": ">=2.0.0" + } + }, + "node_modules/pretty-quick/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pretty-quick/node_modules/chalk": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/chalk/-/chalk-3.0.0.tgz", + "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pretty-quick/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/pretty-quick/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/pretty-quick/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pretty-quick/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/pretty-quick/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pretty-quick/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/pretty-quick/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pretty-quick/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/primitive-geometry": { + "version": "2.9.1", + "resolved": "https://registry.npmmirror.com/primitive-geometry/-/primitive-geometry-2.9.1.tgz", + "integrity": "sha512-qImUPQPio/CwQX6w52q11T31Z3G0TDJUbiOwt/h8JL3OSqhwHCFPurT/fTwLrCjiFMmxnhjxT+EA5NGIUaKJRA==", + "engines": { + "node": ">=15.0.0", + "npm": ">=7.0.0" + } + }, + "node_modules/pump": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/pump/-/pump-3.0.0.tgz", + "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "dev": true, + "dependencies": { + "end-of-stream": "^1.1.0", + "once": "^1.3.1" + } + }, + "node_modules/punycode": { + "version": "2.3.0", + "resolved": "https://registry.npmmirror.com/punycode/-/punycode-2.3.0.tgz", + "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "engines": { + "node": ">=6" + } + }, + "node_modules/queue-microtask": { + "version": "1.2.3", + "resolved": "https://registry.npmmirror.com/queue-microtask/-/queue-microtask-1.2.3.tgz", + "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==" + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/readable-stream": { + "version": "3.6.0", + "resolved": "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.0.tgz", + "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", + "dev": true, + "dependencies": { + "inherits": "^2.0.3", + "string_decoder": "^1.1.1", + "util-deprecate": "^1.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/regexp.prototype.flags": { + "version": "1.5.0", + "resolved": "https://registry.npmmirror.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz", + "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.2.0", + "functions-have-names": "^1.2.3" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/require-from-string": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/require-from-string/-/require-from-string-2.0.2.tgz", + "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", + "dev": true, + "optional": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/require-relative": { + "version": "0.8.7", + "resolved": "https://registry.npmmirror.com/require-relative/-/require-relative-0.8.7.tgz", + "integrity": "sha512-AKGr4qvHiryxRb19m3PsLRGuKVAbJLUD7E6eOaHkfKhwc+vSgVOCY5xNvm9EkolBKTOf0GrQAZKLimOCz81Khg==" + }, + "node_modules/resolve": { + "version": "1.22.1", + "resolved": "https://registry.npmmirror.com/resolve/-/resolve-1.22.1.tgz", + "integrity": "sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw==", + "dependencies": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + } + }, + "node_modules/resolve-dir": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/resolve-dir/-/resolve-dir-1.0.1.tgz", + "integrity": "sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg==", + "dev": true, + "dependencies": { + "expand-tilde": "^2.0.0", + "global-modules": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "optional": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-global": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/resolve-global/-/resolve-global-1.0.0.tgz", + "integrity": "sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw==", + "dev": true, + "optional": true, + "dependencies": { + "global-dirs": "^0.1.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/restore-cursor": { + "version": "3.1.0", + "resolved": "https://registry.npmmirror.com/restore-cursor/-/restore-cursor-3.1.0.tgz", + "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", + "dev": true, + "dependencies": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/reusify": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/reusify/-/reusify-1.0.4.tgz", + "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", + "engines": { + "iojs": ">=1.0.0", + "node": ">=0.10.0" + } + }, + "node_modules/rimraf": { + "version": "3.0.2", + "resolved": "https://registry.npmmirror.com/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", + "dependencies": { + "glob": "^7.1.3" + }, + "bin": { + "rimraf": "bin.js" + } + }, + "node_modules/rimraf/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/rimraf/node_modules/glob": { + "version": "7.2.3", + "resolved": "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.1.1", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + } + }, + "node_modules/rimraf/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/rollup": { + "version": "3.10.0", + "resolved": "https://registry.npmmirror.com/rollup/-/rollup-3.10.0.tgz", + "integrity": "sha512-JmRYz44NjC1MjVF2VKxc0M1a97vn+cDxeqWmnwyAF4FvpjK8YFdHpaqvQB+3IxCvX05vJxKZkoMDU8TShhmJVA==", + "devOptional": true, + "bin": { + "rollup": "dist/bin/rollup" + }, + "engines": { + "node": ">=14.18.0", + "npm": ">=8.0.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/rollup-plugin-node-resolve": { + "version": "5.2.0", + "resolved": "https://registry.npmmirror.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-5.2.0.tgz", + "integrity": "sha512-jUlyaDXts7TW2CqQ4GaO5VJ4PwwaV8VUGA7+km3n6k6xtOEacf61u0VXwN80phY/evMcaS+9eIeJ9MOyDxt5Zw==", + "deprecated": "This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.", + "dev": true, + "dependencies": { + "@types/resolve": "0.0.8", + "builtin-modules": "^3.1.0", + "is-module": "^1.0.0", + "resolve": "^1.11.1", + "rollup-pluginutils": "^2.8.1" + }, + "peerDependencies": { + "rollup": ">=1.11.0" + } + }, + "node_modules/rollup-plugin-replace": { + "version": "2.2.0", + "resolved": "https://registry.npmmirror.com/rollup-plugin-replace/-/rollup-plugin-replace-2.2.0.tgz", + "integrity": "sha512-/5bxtUPkDHyBJAKketb4NfaeZjL5yLZdeUihSfbF2PQMz+rSTEb8ARKoOl3UBT4m7/X+QOXJo3sLTcq+yMMYTA==", + "deprecated": "This module has moved and is now available at @rollup/plugin-replace. Please update your dependencies. This version is no longer maintained.", + "dev": true, + "dependencies": { + "magic-string": "^0.25.2", + "rollup-pluginutils": "^2.6.0" + } + }, + "node_modules/rollup-plugin-replace/node_modules/magic-string": { + "version": "0.25.9", + "resolved": "https://registry.npmmirror.com/magic-string/-/magic-string-0.25.9.tgz", + "integrity": "sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ==", + "dev": true, + "dependencies": { + "sourcemap-codec": "^1.4.8" + } + }, + "node_modules/rollup-plugin-typescript2": { + "version": "0.31.2", + "resolved": "https://registry.npmmirror.com/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.31.2.tgz", + "integrity": "sha512-hRwEYR1C8xDGVVMFJQdEVnNAeWRvpaY97g5mp3IeLnzhNXzSVq78Ye/BJ9PAaUfN4DXa/uDnqerifMOaMFY54Q==", + "dev": true, + "dependencies": { + "@rollup/pluginutils": "^4.1.2", + "@yarn-tool/resolve-package": "^1.0.40", + "find-cache-dir": "^3.3.2", + "fs-extra": "^10.0.0", + "resolve": "^1.20.0", + "tslib": "^2.3.1" + }, + "peerDependencies": { + "rollup": ">=1.26.3", + "typescript": ">=2.4.0" + } + }, + "node_modules/rollup-plugin-typescript2/node_modules/@rollup/pluginutils": { + "version": "4.2.1", + "resolved": "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", + "integrity": "sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ==", + "dev": true, + "dependencies": { + "estree-walker": "^2.0.1", + "picomatch": "^2.2.2" + }, + "engines": { + "node": ">= 8.0.0" + } + }, + "node_modules/rollup-plugin-wgsl": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/rollup-plugin-wgsl/-/rollup-plugin-wgsl-1.0.1.tgz", + "integrity": "sha512-i5arjFLdYzKcguG3Ajm4DpOm2L069BMLNzZv19u9RIB2nGGuzA2DnLbJbDO7lhhY+AgdNEMDTalhhU67GJUN3Q==", + "dev": true + }, + "node_modules/rollup-pluginutils": { + "version": "2.8.2", + "resolved": "https://registry.npmmirror.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz", + "integrity": "sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==", + "dev": true, + "dependencies": { + "estree-walker": "^0.6.1" + } + }, + "node_modules/rollup-pluginutils/node_modules/estree-walker": { + "version": "0.6.1", + "resolved": "https://registry.npmmirror.com/estree-walker/-/estree-walker-0.6.1.tgz", + "integrity": "sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==", + "dev": true + }, + "node_modules/run-async": { + "version": "2.4.1", + "resolved": "https://registry.npmmirror.com/run-async/-/run-async-2.4.1.tgz", + "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/run-parallel": { + "version": "1.2.0", + "resolved": "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz", + "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", + "dependencies": { + "queue-microtask": "^1.2.2" + } + }, + "node_modules/rxjs": { + "version": "7.8.0", + "resolved": "https://registry.npmmirror.com/rxjs/-/rxjs-7.8.0.tgz", + "integrity": "sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg==", + "dev": true, + "dependencies": { + "tslib": "^2.1.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + }, + "node_modules/safe-regex-test": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz", + "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", + "dependencies": { + "call-bind": "^1.0.2", + "get-intrinsic": "^1.1.3", + "is-regex": "^1.1.4" + } + }, + "node_modules/safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", + "dev": true + }, + "node_modules/semver": { + "version": "6.3.0", + "resolved": "https://registry.npmmirror.com/semver/-/semver-6.3.0.tgz", + "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "engines": { + "node": ">=8" + } + }, + "node_modules/side-channel": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/side-channel/-/side-channel-1.0.4.tgz", + "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", + "dependencies": { + "call-bind": "^1.0.0", + "get-intrinsic": "^1.0.2", + "object-inspect": "^1.9.0" + } + }, + "node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmmirror.com/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "engines": { + "node": ">=8" + } + }, + "node_modules/smob": { + "version": "0.0.6", + "resolved": "https://registry.npmmirror.com/smob/-/smob-0.0.6.tgz", + "integrity": "sha512-V21+XeNni+tTyiST1MHsa84AQhT1aFZipzPpOFAVB8DkHzwJyjjAmt9bgwnuZiZWnIbMo2duE29wybxv/7HWUw==", + "dev": true + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/source-map-support": { + "version": "0.5.21", + "resolved": "https://registry.npmmirror.com/source-map-support/-/source-map-support-0.5.21.tgz", + "integrity": "sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==", + "dev": true, + "dependencies": { + "buffer-from": "^1.0.0", + "source-map": "^0.6.0" + } + }, + "node_modules/sourcemap-codec": { + "version": "1.4.8", + "resolved": "https://registry.npmmirror.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz", + "integrity": "sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==", + "deprecated": "Please use @jridgewell/sourcemap-codec instead", + "dev": true + }, + "node_modules/string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "dev": true, + "dependencies": { + "safe-buffer": "~5.2.0" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string.prototype.trim": { + "version": "1.2.7", + "resolved": "https://registry.npmmirror.com/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", + "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/string.prototype.trimend": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", + "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + } + }, + "node_modules/string.prototype.trimstart": { + "version": "1.0.6", + "resolved": "https://registry.npmmirror.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", + "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.20.4" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-color": { + "version": "5.5.0", + "resolved": "https://registry.npmmirror.com/supports-color/-/supports-color-5.5.0.tgz", + "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "dev": true, + "dependencies": { + "has-flag": "^3.0.0" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmmirror.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/terser": { + "version": "5.16.1", + "resolved": "https://registry.npmmirror.com/terser/-/terser-5.16.1.tgz", + "integrity": "sha512-xvQfyfA1ayT0qdK47zskQgRZeWLoOQ8JQ6mIgRGVNwZKdQMU+5FkCBjmv4QjcrTzyZquRw2FVtlJSRUmMKQslw==", + "dev": true, + "dependencies": { + "@jridgewell/source-map": "^0.3.2", + "acorn": "^8.5.0", + "commander": "^2.20.0", + "source-map-support": "~0.5.20" + }, + "bin": { + "terser": "bin/terser" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmmirror.com/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==" + }, + "node_modules/through": { + "version": "2.3.8", + "resolved": "https://registry.npmmirror.com/through/-/through-2.3.8.tgz", + "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", + "dev": true + }, + "node_modules/tmp": { + "version": "0.0.33", + "resolved": "https://registry.npmmirror.com/tmp/-/tmp-0.0.33.tgz", + "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", + "dev": true, + "dependencies": { + "os-tmpdir": "~1.0.2" + }, + "engines": { + "node": ">=0.6.0" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/ts-node": { + "version": "10.9.1", + "resolved": "https://registry.npmmirror.com/ts-node/-/ts-node-10.9.1.tgz", + "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", + "dev": true, + "optional": true, + "dependencies": { + "@cspotcode/source-map-support": "^0.8.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.1", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/tsconfig-paths": { + "version": "3.14.2", + "resolved": "https://registry.npmmirror.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz", + "integrity": "sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==", + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.2", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "node_modules/tsconfig-paths/node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmmirror.com/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "engines": { + "node": ">=4" + } + }, + "node_modules/tslib": { + "version": "2.4.1", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.4.1.tgz", + "integrity": "sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA==", + "dev": true + }, + "node_modules/tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmmirror.com/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dependencies": { + "tslib": "^1.8.1" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + } + }, + "node_modules/tsutils/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmmirror.com/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmmirror.com/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmmirror.com/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/typed-array-length": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/typed-array-length/-/typed-array-length-1.0.4.tgz", + "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", + "dependencies": { + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "is-typed-array": "^1.1.9" + } + }, + "node_modules/typescript": { + "version": "4.9.4", + "resolved": "https://registry.npmmirror.com/typescript/-/typescript-4.9.4.tgz", + "integrity": "sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg==", + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "node_modules/unbox-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz", + "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "dependencies": { + "call-bind": "^1.0.2", + "has-bigints": "^1.0.2", + "has-symbols": "^1.0.3", + "which-boxed-primitive": "^1.0.2" + } + }, + "node_modules/universalify": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/universalify/-/universalify-2.0.0.tgz", + "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", + "dev": true, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/upath2": { + "version": "3.1.19", + "resolved": "https://registry.npmmirror.com/upath2/-/upath2-3.1.19.tgz", + "integrity": "sha512-d23dQLi8nDWSRTIQwXtaYqMrHuca0As53fNiTLLFDmsGBbepsZepISaB2H1x45bDFN/n3Qw9bydvyZEacTrEWQ==", + "dev": true, + "dependencies": { + "@types/node": "*", + "path-is-network-drive": "^1.0.20", + "path-strip-sep": "^1.0.17", + "tslib": "^2" + } + }, + "node_modules/uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz", + "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", + "dependencies": { + "punycode": "^2.1.0" + } + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", + "dev": true + }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmmirror.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true, + "optional": true + }, + "node_modules/vue-eslint-parser": { + "version": "8.3.0", + "resolved": "https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-8.3.0.tgz", + "integrity": "sha512-dzHGG3+sYwSf6zFBa0Gi9ZDshD7+ad14DGOdTLjruRVgZXe2J+DcZ9iUhyR48z5g1PqRa20yt3Njna/veLJL/g==", + "dependencies": { + "debug": "^4.3.2", + "eslint-scope": "^7.0.0", + "eslint-visitor-keys": "^3.1.0", + "espree": "^9.0.0", + "esquery": "^1.4.0", + "lodash": "^4.17.21", + "semver": "^7.3.5" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": ">=6.0.0" + } + }, + "node_modules/vue-eslint-parser/node_modules/eslint-scope": { + "version": "7.2.0", + "resolved": "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-7.2.0.tgz", + "integrity": "sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw==", + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/vue-eslint-parser/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/vue-eslint-parser/node_modules/semver": { + "version": "7.5.1", + "resolved": "https://registry.npmmirror.com/semver/-/semver-7.5.1.tgz", + "integrity": "sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==", + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/wcwidth/-/wcwidth-1.0.1.tgz", + "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", + "dev": true, + "dependencies": { + "defaults": "^1.0.3" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmmirror.com/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/which-boxed-primitive": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", + "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "dependencies": { + "is-bigint": "^1.0.1", + "is-boolean-object": "^1.1.0", + "is-number-object": "^1.0.4", + "is-string": "^1.0.5", + "is-symbol": "^1.0.3" + } + }, + "node_modules/which-typed-array": { + "version": "1.1.9", + "resolved": "https://registry.npmmirror.com/which-typed-array/-/which-typed-array-1.1.9.tgz", + "integrity": "sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA==", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.2", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0", + "is-typed-array": "^1.1.10" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmmirror.com/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/wrap-ansi/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/wrap-ansi/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/wrap-ansi/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" + }, + "node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "optional": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmmirror.com/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "engines": { + "node": ">=10" + } + } + } } diff --git a/package.json b/package.json index 848f74b..d82267e 100644 --- a/package.json +++ b/package.json @@ -1,93 +1,105 @@ { - "name": "@gengine-js/gengine", - "version": "1.0.0", - "description": "", - "type": "module", - "main": "dist/index.js", - "keywords": ["webgpu", "gpu", "webgl2", "webgl"], - "source": "src/index.ts", - "scripts": { - "check-keyword": "bash ./hooks/check-keyword.sh", - "commit": "git cz", - "prepare": "husky install", - "pretty-quick": "pretty-quick --staged --pattern \"**/*.*(js|md|html|ts)\"", - "pre-build": "node hooks/checkDependency.js", - "install:npm": "npm install --registry=https://registry.npmmirror.com", - "install:yarn": "yarn install --registry=https://registry.npmmirror.com", - "build": "npm run pre-build && cross-env BUILD=production rollup -c", - "dev": "npm run pre-build && cross-env BUILD=development rollup -c -w", - "lint": "eslint --ext .js,.jsx,.ts,.tsx ./src" - }, - "devDependencies": { - "@rollup/plugin-terser": "^0.4.2", - "commitizen": "^4.3.0", - "cz-conventional-changelog": "^3.3.0", - "cz-conventional-changelog-zh": "0.0.2", - "eslint": "^8.40.0", - "husky": "^8.0.3", - "prettier": "^2.8.3", - "pretty-quick": "^3.1.3", - "rollup": "3.10.0", - "rollup-plugin-node-resolve": "^5.2.0", - "rollup-plugin-replace": "^2.2.0", - "rollup-plugin-typescript2": "^0.31.1", - "typescript": "^4.8.4" - }, - "dependencies": { - "@rollup/plugin-commonjs": "^23.0.2", - "@types/gl-matrix": "^2.4.5", - "@typescript-eslint/eslint-plugin": "^5.59.5", - "@typescript-eslint/parser": "^5.59.5", - "@webgpu/glslang": "0.0.15", - "@webgpu/types": "0.1.20", - "cross-env": "^7.0.3", - "eslint-config-prettier": "^8.8.0", - "eslint-plugin-import": "^2.27.5", - "eslint-plugin-prettier": "^4.2.1", - "eslint-plugin-unused-imports": "^2.0.0", - "glob": "^8.0.3", - "mersenne-twister": "^1.1.0", - "prettier-eslint": "^15.0.1", - "primitive-geometry": "^2.9.0" - }, - "repository": { - "type": "git", - "url": "https://github.com/hpugis/GEngine.git" - }, - "author": "", - "license": "ISC", - "bugs": { - "url": "https://github.com/hpugis/GEngine/issues" - }, - "homepage": "https://github.com/hpugis/GEngine/blob/main/README.md", - "engines": { - "node": ">=14.19.3" - }, - - "publishConfig": { - "access": "public" - }, - "config": { - "commitizen": { - "path": "node_modules/cz-conventional-changelog-zh", - "types": { - "merge": { - "description": "合并分支", - "title": "Merge" - }, - "demo": { - "description": "新增演示demo,或修改", - "title": "Demo" - }, - "release": { - "description": "发布版本", - "title": "Release" - }, - "WIP": { - "description": "进行中的功能, 属于未完成的情况", - "title": "WIP" - } - } - } - } + "name": "@gengine-js/gengine", + "version": "1.0.0", + "description": "A rendering engine based on webgpu", + "type": "module", + "source": "src/index.ts", + "main": "dist/index.js", + "keywords": [ + "webgpu", + "gpu", + "webgl2", + "webgl" + ], + "files": [ + "dist", + "package.json", + "README.md" + ], + "homepage": "https://github.com/hpugis/GEngine/blob/main/README.md", + "repository": { + "type": "git", + "url": "https://github.com/hpugis/GEngine.git" + }, + "bugs": { + "url": "https://github.com/hpugis/GEngine/issues" + }, + "publishConfig": { + "access": "public" + }, + "browserslist": [ + "last 1 version", + "> 1%", + "not dead" + ], + "author": "", + "scripts": { + "check-keyword": "bash ./hooks/check-keyword.sh", + "commit": "git cz", + "prepare": "husky install", + "pretty-quick": "pretty-quick --staged --pattern \"**/*.*(js|md|html|ts)\"", + "pre-build": "node hooks/checkDependency.js", + "install:npm": "npm install --registry=https://registry.npmmirror.com", + "install:yarn": "yarn install --registry=https://registry.npmmirror.com", + "build": "npm run pre-build && cross-env BUILD=production rollup -c", + "dev": "npm run pre-build && cross-env BUILD=development rollup -c -w", + "lint": "eslint --ext .js,.jsx,.ts,.tsx ./src" + }, + "devDependencies": { + "@rollup/plugin-terser": "^0.4.2", + "commitizen": "^4.3.0", + "cz-conventional-changelog": "^3.3.0", + "cz-conventional-changelog-zh": "0.0.2", + "eslint": "^8.40.0", + "husky": "^8.0.3", + "prettier": "^2.8.3", + "pretty-quick": "^3.1.3", + "rollup": "3.10.0", + "rollup-plugin-node-resolve": "^5.2.0", + "rollup-plugin-replace": "^2.2.0", + "rollup-plugin-typescript2": "^0.31.1", + "rollup-plugin-wgsl": "^1.0.1", + "typescript": "^4.8.4" + }, + "dependencies": { + "@rollup/plugin-commonjs": "^23.0.2", + "@types/gl-matrix": "^2.4.5", + "@typescript-eslint/eslint-plugin": "^5.59.5", + "@typescript-eslint/parser": "^5.59.5", + "@webgpu/glslang": "0.0.15", + "@webgpu/types": "0.1.20", + "cross-env": "^7.0.3", + "eslint-config-prettier": "^8.8.0", + "eslint-plugin-import": "^2.27.5", + "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-unused-imports": "^2.0.0", + "glob": "^8.0.3", + "mersenne-twister": "^1.1.0", + "prettier-eslint": "^15.0.1", + "primitive-geometry": "^2.9.0" + }, + "config": { + "commitizen": { + "path": "node_modules/cz-conventional-changelog-zh", + "types": { + "merge": { + "description": "合并分支", + "title": "Merge" + }, + "demo": { + "description": "新增演示demo,或修改", + "title": "Demo" + }, + "release": { + "description": "发布版本", + "title": "Release" + }, + "WIP": { + "description": "进行中的功能, 属于未完成的情况", + "title": "WIP" + } + } + } + }, + "license": "ISC" } diff --git a/rollup.config.js b/rollup.config.js index dbc685d..c24b30f 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -3,6 +3,7 @@ import terser from "@rollup/plugin-terser"; import ts from "rollup-plugin-typescript2"; import commonjs from "@rollup/plugin-commonjs"; import { fileURLToPath } from "url"; +import wgsl from "./build/@rollup/plugin-wgsl/index.js"; const { BUILD, BABEL } = process.env; const production = BUILD === "production"; @@ -21,5 +22,5 @@ export default { : { exclude: "node_modules/**" }, - plugins: [ts(), commonjs(), production ? terser() : null] + plugins: [ts(), wgsl(), commonjs({ ignoreGlobal: true }), production ? terser() : null] }; diff --git a/src/core/WebGPUTypes.ts b/src/core/WebGPUTypes.ts index 390e0d9..2f8c256 100644 --- a/src/core/WebGPUTypes.ts +++ b/src/core/WebGPUTypes.ts @@ -5,6 +5,7 @@ import BindGroupEntity from "../render/BindGroupEntity"; import BindGroupLayout from "../render/BindGroupLayout"; import Buffer from "../render/Buffer"; import IndexBuffer from "../render/IndexBuffer"; +import QuerySet from "../render/QuerySet"; import { RenderState } from "../render/RenderState"; import RenderTarget from "../render/RenderTarget"; import Sampler from "../render/Sampler"; @@ -187,7 +188,7 @@ export type bufferLayoutType = { minBindingSize?: number; }; // renderstate -export type DepthStencil = { +export type DepthStencilProps = { format: TextureFormat; depthWriteEnabled: boolean; depthCompare: CompareFunction; @@ -209,19 +210,19 @@ export type DepthStencil = { depthBiasSlopeScale?: number; depthBiasClamp?: number; }; -export type PrimitiveState = { +export type PrimitiveStateProps = { frontFace?: FrontFace; cullMode?: CullMode; unclippedDepth?: boolean; topology?: PrimitiveTopology; stripIndexFormat?: IndexFormat; }; -export type MultiSample = { +export type MultiSampleProps = { count?: number; mask?: number; alphaToCoverageEnabled?: boolean; }; -export type Target = { +export type TargetProps = { format: TextureFormat; blend?: { color: { @@ -237,36 +238,38 @@ export type Target = { }; writeMask: ColorWriteFlags; }; -export type BlendConstant = { +export type BlendConstantProp = { r: number; g: number; b: number; a: number; }; export type RenderStateProps = { - depthStencil?: DepthStencil; - primitive?: PrimitiveState; - multisample?: MultiSample; + depthStencil?: DepthStencilProps; + primitive?: PrimitiveStateProps; + multisample?: MultiSampleProps; stencilReference?: number; - targets?: Array; - viewport?: { x: number; y: number; width: number; height: number }; - blendConstant?: BlendConstant; + targets?: Array; + viewport?: ViewPortProps; + blendConstant?: BlendConstantProp; scissorTestEnabled?: boolean; stencilEnabled?: boolean; }; -export type ViewPort = { +export type ViewPortProps = { x?: number; y?: number; width?: number; height?: number; minDepth?: number; maxDepth?: number; + variable?: boolean; }; -export type ScissorTest = { +export type ScissorTestProps = { x: number; y: number; width: number; height: number; + variable?: boolean; }; export type ShaderMaterialParms = { type?: string; @@ -368,6 +371,8 @@ export type DrawCommandParams = { lightShaderData?: ShaderData; useLight?: boolean; + + drawParams?: DrawParmas; }; export type ModelParams = { @@ -381,8 +386,6 @@ export type ModelParams = { }; uniformBuffers?: Array; renderState?: RenderStateProp; - count?: number; - instances?: number; indices?: Array; draw?: DrawParmas; dispatch?: { x?: number; y?: number; z?: number }; @@ -413,66 +416,13 @@ export type AttributeProp = { }; export type RenderStateProp = { stencilReference: number; - blendConstant?: { - r: number; - g: number; - b: number; - a: number; - }; - multiSample?: { - count: number; - mask: number; - alphaToCoverageEnabled: boolean; - }; - scissorTest?: { - x: number; - y: number; - width: number; - height: number; - }; - viewPort?: { - x: number; - y: number; - width: number; - height: number; - minDepth: number; - maxDepth: number; - }; - primitive?: { - frontFace: string; - cullMode: string; - unclippedDepth: boolean; - topology: string; - }; - depthStencil?: { - format: string; - depthWriteEnabled: boolean; - depthCompare: string; - stencilReadMask: number; - stencilWriteMask: number; - stencilFrontCompare: string; - stencilFrontFailOp: string; - stencilFrontDepthFailOp: string; - stencilFrontPassOp: string; - - stencilBackCompare: string; - stencilBackFailOp: string; - stencilBackDepthFailOp: string; - stencilBackPassOp: string; - depthBias: number; - depthBiasSlopeScale: number; - depthBiasClamp: number; - }; - targets?: Array<{ - format?: string; - blendColorOperation?: string; - blendColorSrcFactor?: string; - blendColorDstFactor?: string; - blendAlphaOperation?: string; - blendAlphaSrcFactor?: string; - blendAlphaDstFactor?: string; - writeMask: GPUColorWrite; - }>; + blendConstant?: BlendConstantProp; + multiSample?: MultiSampleProps; + scissorTest?: ScissorTestProps; + viewPort?: ViewPortProps; + primitive?: PrimitiveStateProps; + depthStencil?: DepthStencilProps; + targets?: Array; }; export type DrawParmas = { count?: number; // The number of indices to draw./The number of vertices to draw. @@ -524,3 +474,14 @@ export enum ShaderMainStage { FRAG = "fragment", COMPUTE = "compute" } +export type RenderModelParams = { + device: GPUDevice; + passEncoder: GPURenderPassEncoder; + querySet?: QuerySet; + viewPort?: ViewPortProps; + scissorTest?: ScissorTestProps; +}; +export type ComputeModelParams = { + device: GPUDevice; + passEncoder: GPUComputePassEncoder; +}; diff --git a/src/mesh/Mesh.ts b/src/mesh/Mesh.ts index 5b75a58..bbfff4c 100644 --- a/src/mesh/Mesh.ts +++ b/src/mesh/Mesh.ts @@ -71,8 +71,10 @@ export class Mesh extends RenderObject { vertexBuffers: this.geometry.vertexBuffers, indexBuffer: this.geometry.indexBuffer, shaderData: this.material.shaderData, - instances: this.instanceCount, - count: this.geometry.count, + drawParams: { + count: this.geometry.count, + instanceCount: this.instanceCount + }, renderState: this.material.renderState, shaderSource: this.material.shaderSource, lightShaderData: this.material.light ? lightManger?.lightShaderData : undefined, diff --git a/src/mesh/Model.ts b/src/mesh/Model.ts index 885d587..8756501 100644 --- a/src/mesh/Model.ts +++ b/src/mesh/Model.ts @@ -6,7 +6,7 @@ import { InputStepMode, PrimitiveTopology } from "../core/WebGPUConstant"; -import { ModelParams } from "../core/WebGPUTypes"; +import { ComputeModelParams, ModelParams, RenderModelParams } from "../core/WebGPUTypes"; import { BufferFloat32Attribute, Float32Attribute, InterleavedFloat32Attribute } from "../render/Attribute"; import { ComputeCommand } from "../render/ComputeCommand"; import DrawCommand from "../render/DrawCommand"; @@ -14,7 +14,6 @@ import IndexBuffer from "../render/IndexBuffer"; import { BlendConstant, DepthStencil, - DepthStencilProps, MultiSample, Primitive, RenderState, @@ -40,15 +39,17 @@ export class Model { this.renderType = this.modelParams.compute != undefined ? "compute" : "render"; this.vertexBuffers = new Map(); } - render(params: RenderModelParams) { - const { device, passEncoder } = params; + public render(params: RenderModelParams) { + const { device, passEncoder, viewPort, scissorTest } = params; if (!this.command) this.command = this.createDrawCommand(); (this.command as DrawCommand).render({ device, - passEncoder: passEncoder + passEncoder: passEncoder, + viewPort: viewPort ? ViewPort.fromViewPortProps(viewPort) : undefined, + scissorTest: scissorTest ? ScissorTest.fromScissorTestProps(scissorTest) : undefined }); } - compute(params: ComputeModelParams) { + public compute(params: ComputeModelParams) { const { device, passEncoder } = params; if (!this.command) this.command = this.createComputeCommand(); (this.command as ComputeCommand).render({ @@ -75,7 +76,7 @@ export class Model { this.modelParams = null; } private createDrawCommand() { - const { count, instances } = this.modelParams; + const { draw } = this.modelParams; const vertexBuffers = this.createVertexBuffer(); this.shaderData = this.createShaderData(); const indexBuffer = this.createIndexBuffer(); @@ -87,8 +88,7 @@ export class Model { indexBuffer, shaderSource, renderState, - count, - instances + drawParams: draw }); } private createComputeCommand() { @@ -149,7 +149,7 @@ export class Model { const { shaderId, uniformBuffers, uniformTextureAndSampler } = this.modelParams; const shaderData = new ShaderData(shaderId); // fill uniformBuffer - uniformBuffers.forEach((uniformBuffer) => this.createUniformBuffer(uniformBuffer, shaderData, shaderId)); + uniformBuffers.forEach((uniformBuffer) => this.createUniformBuffer(uniformBuffer, shaderData)); // fill texture and sampler this.addUniformToShaderData(uniformTextureAndSampler, shaderData, undefined); return shaderData; @@ -166,14 +166,12 @@ export class Model { stencilReference } = this.modelParams.renderState; return new RenderState({ - scissorTest: scissorTest - ? new ScissorTest(scissorTest.x, scissorTest.y, scissorTest.width, scissorTest.height) - : undefined, - viewport: viewPort ? new ViewPort(viewPort.x, viewPort.y, viewPort.width, viewPort.height) : undefined, + scissorTest: scissorTest ? ScissorTest.fromScissorTestProps(scissorTest) : undefined, + viewport: viewPort ? ViewPort.fromViewPortProps(viewPort) : undefined, targets: targets?.map((target) => { - return new Target(target as any); + return new Target(target); }), - depthStencil: depthStencil ? new DepthStencil(depthStencil) : undefined, + depthStencil: depthStencil ? new DepthStencil(depthStencil) : undefined, blendConstant: blendConstant ? new BlendConstant(blendConstant.r, blendConstant.g, blendConstant.b, blendConstant.a) : undefined, @@ -203,7 +201,7 @@ export class Model { return indexBuffer; } - private createUniformBuffer(uniformBufferParams, shaderData: ShaderData, shaderId: string) { + private createUniformBuffer(uniformBufferParams, shaderData: ShaderData) { const { type = "uniform", usage = BufferUsage.Uniform | BufferUsage.CopyDst, @@ -234,12 +232,3 @@ export class Model { }); } } - -export type RenderModelParams = { - device: GPUDevice; - passEncoder: GPURenderPassEncoder; -}; -export type ComputeModelParams = { - device: GPUDevice; - passEncoder: GPUComputePassEncoder; -}; diff --git a/src/render/DrawCommand.ts b/src/render/DrawCommand.ts index 77b358b..80232e6 100644 --- a/src/render/DrawCommand.ts +++ b/src/render/DrawCommand.ts @@ -1,5 +1,5 @@ import Camera from "../camera/Camera"; -import { DrawCommandParams } from "../core/WebGPUTypes"; +import { DrawCommandParams, DrawParmas } from "../core/WebGPUTypes"; import { Material } from "../material/Material"; import { ShaderSource } from "../shader/ShaderSource"; import Buffer from "./Buffer"; @@ -26,10 +26,6 @@ class DrawCommand implements Command { public queryIndex?: number; - public count?: number; - - public instances?: number; - public shaderSource?: ShaderSource; public dirty?: boolean; @@ -42,6 +38,8 @@ class DrawCommand implements Command { public useLight?: boolean; + public drawParams: DrawParmas; + constructor(options: DrawCommandParams) { this.shaderData = options.shaderData; @@ -57,15 +55,13 @@ class DrawCommand implements Command { this.queryIndex = options.queryIndex; - this.count = options.count; - - this.instances = options.instances; - this.shaderSource = options.shaderSource; this.dirty = options.dirty; this.lightShaderData = options.lightShaderData; + + this.drawParams = options.drawParams; } public shallowClone(material?: Material) { if (!material) return; @@ -73,8 +69,7 @@ class DrawCommand implements Command { vertexBuffers: this.vertexBuffers, indexBuffer: this.indexBuffer, shaderData: material.shaderData, - instances: this.instances, - count: this.count, + drawParams: this.drawParams, renderState: material.renderState, shaderSource: material.shaderSource, lightShaderData: material.light ? this.lightShaderData : undefined, @@ -90,15 +85,25 @@ class DrawCommand implements Command { indexBuffer, lightShaderData, shaderSource, - count, - instances, renderTarget, useLight, indirectOffset, indirectBuffer, - queryIndex + queryIndex, + drawParams } = this; + + const { + count, + baseVertex, + instanceCount = 1, + firstIndex, + firstInstance = 0, + firstVertex = 0 + } = drawParams ?? {}; + const currentPassEncoder = renderTarget?.beginRenderPass?.(device) ?? passEncoder; + const defines = Object.assign({}, lightShaderData?.defines ?? {}, camera?.shaderData?.defines ?? {}); shaderData?.bind?.(device, currentPassEncoder); @@ -130,13 +135,13 @@ class DrawCommand implements Command { if (indirectBuffer) { currentPassEncoder.drawIndexedIndirect(indirectBuffer.gpuBuffer, indirectOffset || 0); } else { - currentPassEncoder.drawIndexed(count || 0, instances || 1, 0, 0, 0); + currentPassEncoder.drawIndexed(count, instanceCount, firstIndex, baseVertex, firstInstance); } } else if (count) { if (indirectBuffer) { currentPassEncoder.drawIndirect(indirectBuffer.gpuBuffer, indirectOffset); } else { - currentPassEncoder.draw(count, instances || 1, 0, 0); + currentPassEncoder.draw(count, instanceCount, firstVertex, firstInstance); } } if (queryIndex != undefined) querySet?.endQuery(currentPassEncoder); diff --git a/src/render/RenderState.ts b/src/render/RenderState.ts index d526268..13fd490 100644 --- a/src/render/RenderState.ts +++ b/src/render/RenderState.ts @@ -9,6 +9,7 @@ import { CullMode, PrimitiveTopology } from "../core/WebGPUConstant"; +import { DepthStencilProps, ScissorTestProps, TargetProps, ViewPortProps } from "../core/WebGPUTypes"; // import { BindRenderState } from "../core/WebGPUTypes"; import defaultValue from "../utils/defaultValue"; @@ -110,6 +111,10 @@ export class ScissorTest { this.width = width; this.height = height; } + static fromScissorTestProps(scissorTest: ScissorTestProps) { + const { x = 0, y = 0, width = 0, height = 0, variable = true } = scissorTest; + return new ScissorTest(x, y, width, height, variable); + } equalsAndUpdateCache(scissorTest: ScissorTest): boolean { const { x, y, width, height } = scissorTest; if (this.x != x || this.y != y || this.width != width || this.height != height) { @@ -145,6 +150,10 @@ export class ViewPort { this.minDepth = minDepth; this.maxDepth = maxDepth; } + static fromViewPortProps(viewPort: ViewPortProps) { + const { x = 0, y = 0, width = 0, height = 0, minDepth = 0, maxDepth = 1, variable = true } = viewPort; + return new ViewPort(x, y, width, height, minDepth, maxDepth, variable); + } equalsAndUpdateCache(viewPort: ViewPort): boolean { const { x, y, width, height, minDepth, maxDepth } = viewPort; if ( @@ -205,14 +214,14 @@ export class DepthStencil { this.depthCompare = defaultValue(options?.depthCompare, CompareFunction.Less); this.stencilReadMask = defaultValue(options?.stencilReadMask, 0xffffffff); this.stencilWriteMask = defaultValue(options?.stencilWriteMask, 0xffffffff); - this.stencilFrontCompare = defaultValue(options?.stencilFrontCompare, CompareFunction.Always); - this.stencilFrontFailOp = defaultValue(options?.stencilFrontFailOp, StencilOperation.Keep); - this.stencilFrontDepthFailOp = defaultValue(options?.stencilFrontDepthFailOp, StencilOperation.Keep); - this.stencilFrontPassOp = defaultValue(options?.stencilFrontPassOp, StencilOperation.Keep); - this.stencilBackCompare = defaultValue(options?.stencilBackCompare, CompareFunction.Always); - this.stencilBackFailOp = defaultValue(options?.stencilBackFailOp, StencilOperation.Keep); - this.stencilBackDepthFailOp = defaultValue(options?.stencilBackDepthFailOp, StencilOperation.Keep); - this.stencilBackPassOp = defaultValue(options?.stencilBackPassOp, StencilOperation.Keep); + this.stencilFrontCompare = defaultValue(options?.stencilFront?.compare, CompareFunction.Always); + this.stencilFrontFailOp = defaultValue(options?.stencilFront?.failOp, StencilOperation.Keep); + this.stencilFrontDepthFailOp = defaultValue(options?.stencilFront?.depthFailOp, StencilOperation.Keep); + this.stencilFrontPassOp = defaultValue(options?.stencilFront?.passOp, StencilOperation.Keep); + this.stencilBackCompare = defaultValue(options?.stencilBack?.compare, CompareFunction.Always); + this.stencilBackFailOp = defaultValue(options?.stencilBack?.failOp, StencilOperation.Keep); + this.stencilBackDepthFailOp = defaultValue(options?.stencilBack?.depthFailOp, StencilOperation.Keep); + this.stencilBackPassOp = defaultValue(options?.stencilBack?.passOp, StencilOperation.Keep); this.depthBias = defaultValue(options?.depthBias, 0); this.depthBiasSlopeScale = defaultValue(options?.depthBiasSlopeScale, 0); this.depthBiasClamp = defaultValue(options?.depthBiasClamp, 0); @@ -253,12 +262,12 @@ export class Target { writeMask: GPUColorWrite; constructor(options?: TargetProps) { this.format = defaultValue(options?.format, TextureFormat.BGRA8Unorm); - this.blendColorOperation = defaultValue(options?.blendColorOperation, BlendOperation.Add); - this.blendColorSrcFactor = defaultValue(options?.blendColorSrcFactor, BlendFactor?.SrcAlpha); - this.blendColorDstFactor = defaultValue(options?.blendColorDstFactor, BlendFactor.OneMinusSrcAlpha); - this.blendAlphaOperation = defaultValue(options?.blendAlphaOperation, BlendOperation.Add); - this.blendAlphaSrcFactor = defaultValue(options?.blendAlphaSrcFactor, BlendFactor.One); - this.blendAlphaDstFactor = defaultValue(options?.blendAlphaDstFactor, BlendFactor.One); + this.blendColorOperation = defaultValue(options?.blend?.color?.operation, BlendOperation.Add); + this.blendColorSrcFactor = defaultValue(options?.blend?.color?.srcFactor, BlendFactor?.SrcAlpha); + this.blendColorDstFactor = defaultValue(options?.blend?.color?.dstFactor, BlendFactor.OneMinusSrcAlpha); + this.blendAlphaOperation = defaultValue(options?.blend?.alpha?.operation, BlendOperation.Add); + this.blendAlphaSrcFactor = defaultValue(options?.blend?.alpha?.srcFactor, BlendFactor.One); + this.blendAlphaDstFactor = defaultValue(options?.blend?.alpha?.dstFactor, BlendFactor.One); this.writeMask = defaultValue(options?.writeMask, GPUColorWrite.All); } getGPUTargetDec() { @@ -282,35 +291,6 @@ export class Target { } const cacheViewPort = new ViewPort(); const cacheScissorTest = new ScissorTest(); -export type DepthStencilProps = { - format?: TextureFormat; - depthWriteEnabled?: boolean; - depthCompare?: CompareFunction; - stencilReadMask?: number; - stencilWriteMask?: number; - stencilFrontCompare?: CompareFunction; - stencilFrontFailOp?: StencilOperation; - stencilFrontDepthFailOp?: StencilOperation; - stencilFrontPassOp?: StencilOperation; - - stencilBackCompare?: CompareFunction; - stencilBackFailOp?: StencilOperation; - stencilBackDepthFailOp?: StencilOperation; - stencilBackPassOp?: StencilOperation; - depthBias?: number; - depthBiasSlopeScale?: number; - depthBiasClamp?: number; -}; -export type TargetProps = { - format?: TextureFormat; - blendColorOperation?: BlendOperation; - blendColorSrcFactor?: BlendFactor; - blendColorDstFactor?: BlendFactor; - blendAlphaOperation?: BlendOperation; - blendAlphaSrcFactor?: BlendFactor; - blendAlphaDstFactor?: BlendFactor; - writeMask?: GPUColorWrite; -}; export type RenderStateParams = { scissorTest?: ScissorTest; viewport?: ViewPort; diff --git a/src/shader/Shaders.ts b/src/shader/Shaders.ts index c98c15a..f76b4e7 100644 --- a/src/shader/Shaders.ts +++ b/src/shader/Shaders.ts @@ -1,4 +1,5 @@ -import colorFrag from "./material/colorFrag"; +// import colorFrag from "./material/colorFrag"; +import colorFrag from "./material/colorFrag.wgsl"; import colorVert from "./material/colorVert"; import pbr_fs from "./material/pbr_fs"; import pbr_vs from "./material/pbr_vs"; diff --git a/src/shader/material/colorFrag.wgsl b/src/shader/material/colorFrag.wgsl new file mode 100644 index 0000000..62a43b5 --- /dev/null +++ b/src/shader/material/colorFrag.wgsl @@ -0,0 +1,9 @@ +struct VertexOutput { + @builtin(position) position: vec4, + @location(0) color: vec4, +}; + +@fragment +fn main(input:VertexOutput) -> @location(0) vec4 { + return input.color; +} \ No newline at end of file diff --git a/src/wgsl.d.ts b/src/wgsl.d.ts new file mode 100644 index 0000000..35c0a48 --- /dev/null +++ b/src/wgsl.d.ts @@ -0,0 +1,4 @@ +declare module "*.wgsl" { + const value: string; + export default value; +} diff --git a/tests/README.md b/tests/README.md new file mode 100644 index 0000000..8286503 --- /dev/null +++ b/tests/README.md @@ -0,0 +1 @@ +# 待补充测试内容 diff --git a/tsconfig.json b/tsconfig.json index 750dc98..246b7e3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "allowJs": true, "allowSyntheticDefaultImports": true, "declaration": false, - "declarationDir": "types", + // "declarationDir": "types", "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "importHelpers": true, @@ -23,7 +23,7 @@ , "src/shader/material/pbrFrag.ts" ], "exclude": [ "node_modules", - "pblic", + "public", "dist", "example", "**/*.spec.ts" diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..faa562d --- /dev/null +++ b/yarn.lock @@ -0,0 +1,3082 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@babel/code-frame@^7.0.0": + version "7.18.6" + resolved "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.18.6.tgz" + integrity sha512-TDCmlK5eOvH+eH7cdAFlNXeVJqWIQ7gW9tY1GJIpUtFb6CmjVyq2VM3u71bOyR8CRihcCgMUYoDNyLXao3+70Q== + dependencies: + "@babel/highlight" "^7.18.6" + +"@babel/helper-validator-identifier@^7.18.6": + version "7.19.1" + resolved "https://registry.npmmirror.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.19.1.tgz" + integrity sha512-awrNfaMtnHUr653GgGEs++LlAvW6w+DcPrOliSMXWCKo597CwL5Acf/wWdNkf/tfEQE3mjkeD1YOVZOUV/od1w== + +"@babel/highlight@^7.18.6": + version "7.18.6" + resolved "https://registry.npmmirror.com/@babel/highlight/-/highlight-7.18.6.tgz" + integrity sha512-u7stbOuYjaPezCuLj29hNW1v64M2Md2qupEKP1fHc7WdOA3DgLh37suiSrZYY7haUB7iBeQZ9P1uiRF359do3g== + dependencies: + "@babel/helper-validator-identifier" "^7.18.6" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@commitlint/config-validator@^17.4.0": + version "17.4.0" + resolved "https://registry.npmmirror.com/@commitlint/config-validator/-/config-validator-17.4.0.tgz" + integrity sha512-Sa/+8KNpDXz4zT4bVbz2fpFjvgkPO6u2V2fP4TKgt6FjmOw2z3eEX859vtfeaTav/ukBw0/0jr+5ZTZp9zCBhA== + dependencies: + "@commitlint/types" "^17.4.0" + ajv "^8.11.0" + +"@commitlint/execute-rule@^17.4.0": + version "17.4.0" + resolved "https://registry.npmmirror.com/@commitlint/execute-rule/-/execute-rule-17.4.0.tgz" + integrity sha512-LIgYXuCSO5Gvtc0t9bebAMSwd68ewzmqLypqI2Kke1rqOqqDbMpYcYfoPfFlv9eyLIh4jocHWwCK5FS7z9icUA== + +"@commitlint/load@>6.1.1": + version "17.4.2" + resolved "https://registry.npmmirror.com/@commitlint/load/-/load-17.4.2.tgz" + integrity sha512-Si++F85rJ9t4hw6JcOw1i2h0fdpdFQt0YKwjuK4bk9KhFjyFkRxvR3SB2dPaMs+EwWlDrDBGL+ygip1QD6gmPw== + dependencies: + "@commitlint/config-validator" "^17.4.0" + "@commitlint/execute-rule" "^17.4.0" + "@commitlint/resolve-extends" "^17.4.0" + "@commitlint/types" "^17.4.0" + "@types/node" "*" + chalk "^4.1.0" + cosmiconfig "^8.0.0" + cosmiconfig-typescript-loader "^4.0.0" + lodash.isplainobject "^4.0.6" + lodash.merge "^4.6.2" + lodash.uniq "^4.5.0" + resolve-from "^5.0.0" + ts-node "^10.8.1" + typescript "^4.6.4" + +"@commitlint/resolve-extends@^17.4.0": + version "17.4.0" + resolved "https://registry.npmmirror.com/@commitlint/resolve-extends/-/resolve-extends-17.4.0.tgz" + integrity sha512-3JsmwkrCzoK8sO22AzLBvNEvC1Pmdn/65RKXzEtQMy6oYMl0Snrq97a5bQQEFETF0VsvbtUuKttLqqgn99OXRQ== + dependencies: + "@commitlint/config-validator" "^17.4.0" + "@commitlint/types" "^17.4.0" + import-fresh "^3.0.0" + lodash.mergewith "^4.6.2" + resolve-from "^5.0.0" + resolve-global "^1.0.0" + +"@commitlint/types@^17.4.0": + version "17.4.0" + resolved "https://registry.npmmirror.com/@commitlint/types/-/types-17.4.0.tgz" + integrity sha512-2NjAnq5IcxY9kXtUeO2Ac0aPpvkuOmwbH/BxIm36XXK5LtWFObWJWjXOA+kcaABMrthjWu6la+FUpyYFMHRvbA== + dependencies: + chalk "^4.1.0" + +"@cspotcode/source-map-support@^0.8.0": + version "0.8.1" + resolved "https://registry.npmmirror.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz" + integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== + dependencies: + "@jridgewell/trace-mapping" "0.3.9" + +"@eslint-community/eslint-utils@^4.2.0": + version "4.4.0" + resolved "https://registry.npmmirror.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz" + integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== + dependencies: + eslint-visitor-keys "^3.3.0" + +"@eslint-community/regexpp@^4.4.0": + version "4.5.1" + resolved "https://registry.npmmirror.com/@eslint-community/regexpp/-/regexpp-4.5.1.tgz" + integrity sha512-Z5ba73P98O1KUYCCJTUeVpja9RcGoMdncZ6T49FCUl2lN38JtCJ+3WgIDBv0AuY4WChU5PmtJmOCTlN6FZTFKQ== + +"@eslint/eslintrc@^2.0.3": + version "2.0.3" + resolved "https://registry.npmmirror.com/@eslint/eslintrc/-/eslintrc-2.0.3.tgz" + integrity sha512-+5gy6OQfk+xx3q0d6jGZZC3f3KzAkXc/IanVxd1is/VIIziRqqt3ongQz0FiTUXqTk0c7aDB3OaFuKnuSoJicQ== + dependencies: + ajv "^6.12.4" + debug "^4.3.2" + espree "^9.5.2" + globals "^13.19.0" + ignore "^5.2.0" + import-fresh "^3.2.1" + js-yaml "^4.1.0" + minimatch "^3.1.2" + strip-json-comments "^3.1.1" + +"@eslint/js@8.40.0": + version "8.40.0" + resolved "https://registry.npmmirror.com/@eslint/js/-/js-8.40.0.tgz" + integrity sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA== + +"@humanwhocodes/config-array@^0.11.8": + version "0.11.8" + resolved "https://registry.npmmirror.com/@humanwhocodes/config-array/-/config-array-0.11.8.tgz" + integrity sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g== + dependencies: + "@humanwhocodes/object-schema" "^1.2.1" + debug "^4.1.1" + minimatch "^3.0.5" + +"@humanwhocodes/module-importer@^1.0.1": + version "1.0.1" + resolved "https://registry.npmmirror.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz" + integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== + +"@humanwhocodes/object-schema@^1.2.1": + version "1.2.1" + resolved "https://registry.npmmirror.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz" + integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== + +"@jridgewell/gen-mapping@^0.3.0": + version "0.3.2" + resolved "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.2.tgz" + integrity sha512-mh65xKQAzI6iBcFzwv28KVWSmCkdRBWoOh+bYQGW3+6OZvbbN3TqMGo5hqYxQniRcH9F2VZIoJCm4pa3BPDK/A== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/resolve-uri@^3.0.3", "@jridgewell/resolve-uri@3.1.0": + version "3.1.0" + resolved "https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz" + integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== + +"@jridgewell/set-array@^1.0.1": + version "1.1.2" + resolved "https://registry.npmmirror.com/@jridgewell/set-array/-/set-array-1.1.2.tgz" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + +"@jridgewell/source-map@^0.3.2": + version "0.3.2" + resolved "https://registry.npmmirror.com/@jridgewell/source-map/-/source-map-0.3.2.tgz" + integrity sha512-m7O9o2uR8k2ObDysZYzdfhb08VuEml5oWGiosa1VdaPZ/A6QyPkAJuwN0Q1lhULOf6B7MtQmHENS743hWtCrgw== + dependencies: + "@jridgewell/gen-mapping" "^0.3.0" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.13", "@jridgewell/sourcemap-codec@1.4.14": + version "1.4.14" + resolved "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.14.tgz" + integrity sha512-XPSJHWmi394fuUuzDnGz1wiKqWfo1yXecHQMRf2l6hztTO+nPru658AyDngaBe7isIxEkRsPR3FZh+s7iVa4Uw== + +"@jridgewell/trace-mapping@^0.3.9": + version "0.3.17" + resolved "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.17.tgz" + integrity sha512-MCNzAp77qzKca9+W/+I0+sEpaUnZoeasnghNeVc41VZCEKaCH73Vq3BZZ/SzWIgrqE4H4ceI+p+b6C0mHf9T4g== + dependencies: + "@jridgewell/resolve-uri" "3.1.0" + "@jridgewell/sourcemap-codec" "1.4.14" + +"@jridgewell/trace-mapping@0.3.9": + version "0.3.9" + resolved "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz" + integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== + dependencies: + "@jridgewell/resolve-uri" "^3.0.3" + "@jridgewell/sourcemap-codec" "^1.4.10" + +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.npmmirror.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== + dependencies: + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" + +"@nodelib/fs.stat@^2.0.2", "@nodelib/fs.stat@2.0.5": + version "2.0.5" + resolved "https://registry.npmmirror.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== + +"@nodelib/fs.walk@^1.2.3", "@nodelib/fs.walk@^1.2.8": + version "1.2.8" + resolved "https://registry.npmmirror.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + dependencies: + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" + +"@rollup/plugin-commonjs@^23.0.2": + version "23.0.7" + resolved "https://registry.npmmirror.com/@rollup/plugin-commonjs/-/plugin-commonjs-23.0.7.tgz" + integrity sha512-hsSD5Qzyuat/swzrExGG5l7EuIlPhwTsT7KwKbSCQzIcJWjRxiimi/0tyMYY2bByitNb3i1p+6JWEDGa0NvT0Q== + dependencies: + "@rollup/pluginutils" "^5.0.1" + commondir "^1.0.1" + estree-walker "^2.0.2" + glob "^8.0.3" + is-reference "1.2.1" + magic-string "^0.27.0" + +"@rollup/plugin-terser@^0.4.2": + version "0.4.2" + resolved "https://registry.npmmirror.com/@rollup/plugin-terser/-/plugin-terser-0.4.2.tgz" + integrity sha512-jfUVQ4MxzIB0mz8QhDA1xiLT+pTF3WEWXeIqcwhoF84WhLWscPpxjJgjYMyAq0Po4UXqw2D9C64tD0gRDzJzfA== + dependencies: + serialize-javascript "^6.0.0" + smob "^0.0.6" + terser "^5.15.1" + +"@rollup/pluginutils@^4.1.2": + version "4.2.1" + resolved "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-4.2.1.tgz" + integrity sha512-iKnFXr7NkdZAIHiIWE+BX5ULi/ucVFYWD6TbAV+rZctiRTY2PL6tsIKhoIOaoskiWAkgu+VsbXgUVDNLHf+InQ== + dependencies: + estree-walker "^2.0.1" + picomatch "^2.2.2" + +"@rollup/pluginutils@^5.0.1": + version "5.0.2" + resolved "https://registry.npmmirror.com/@rollup/pluginutils/-/pluginutils-5.0.2.tgz" + integrity sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA== + dependencies: + "@types/estree" "^1.0.0" + estree-walker "^2.0.2" + picomatch "^2.3.1" + +"@tsconfig/node10@^1.0.7": + version "1.0.9" + resolved "https://registry.npmmirror.com/@tsconfig/node10/-/node10-1.0.9.tgz" + integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA== + +"@tsconfig/node12@^1.0.7": + version "1.0.11" + resolved "https://registry.npmmirror.com/@tsconfig/node12/-/node12-1.0.11.tgz" + integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag== + +"@tsconfig/node14@^1.0.0": + version "1.0.3" + resolved "https://registry.npmmirror.com/@tsconfig/node14/-/node14-1.0.3.tgz" + integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow== + +"@tsconfig/node16@^1.0.2": + version "1.0.3" + resolved "https://registry.npmmirror.com/@tsconfig/node16/-/node16-1.0.3.tgz" + integrity sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ== + +"@types/eslint@^8.4.2": + version "8.37.0" + resolved "https://registry.npmmirror.com/@types/eslint/-/eslint-8.37.0.tgz" + integrity sha512-Piet7dG2JBuDIfohBngQ3rCt7MgO9xCO4xIMKxBThCq5PNRB91IjlJ10eJVwfoNtvTErmxLzwBZ7rHZtbOMmFQ== + dependencies: + "@types/estree" "*" + "@types/json-schema" "*" + +"@types/estree@*", "@types/estree@^1.0.0": + version "1.0.0" + resolved "https://registry.npmmirror.com/@types/estree/-/estree-1.0.0.tgz" + integrity sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ== + +"@types/gl-matrix@^2.4.5": + version "2.4.5" + resolved "https://registry.npmmirror.com/@types/gl-matrix/-/gl-matrix-2.4.5.tgz" + integrity sha512-0L8Mq1+oaIW0oVzGUDbSW+HnTjCNb4CmoIQE5BkoHt/A7x20z0MJ1PnwfH3atty/vbWLGgvJwVu2Mz3SKFiEFw== + +"@types/json-schema@*", "@types/json-schema@^7.0.9": + version "7.0.11" + resolved "https://registry.npmmirror.com/@types/json-schema/-/json-schema-7.0.11.tgz" + integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + +"@types/json5@^0.0.29": + version "0.0.29" + resolved "https://registry.npmmirror.com/@types/json5/-/json5-0.0.29.tgz" + integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== + +"@types/minimatch@^3.0.3": + version "3.0.5" + resolved "https://registry.npmmirror.com/@types/minimatch/-/minimatch-3.0.5.tgz" + integrity sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ== + +"@types/node@*": + version "18.11.18" + resolved "https://registry.npmmirror.com/@types/node/-/node-18.11.18.tgz" + integrity sha512-DHQpWGjyQKSHj3ebjFI/wRKcqQcdR+MoFBygntYOZytCqNfkd2ZC4ARDJ2DQqhjH5p85Nnd3jhUJIXrszFX/JA== + +"@types/prettier@^2.6.0": + version "2.7.2" + resolved "https://registry.npmmirror.com/@types/prettier/-/prettier-2.7.2.tgz" + integrity sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg== + +"@types/resolve@0.0.8": + version "0.0.8" + resolved "https://registry.npmmirror.com/@types/resolve/-/resolve-0.0.8.tgz" + integrity sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ== + dependencies: + "@types/node" "*" + +"@types/semver@^7.3.12": + version "7.5.0" + resolved "https://registry.npmmirror.com/@types/semver/-/semver-7.5.0.tgz" + integrity sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw== + +"@typescript-eslint/eslint-plugin@^5.0.0", "@typescript-eslint/eslint-plugin@^5.59.5": + version "5.59.6" + resolved "https://registry.npmmirror.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.59.6.tgz" + integrity sha512-sXtOgJNEuRU5RLwPUb1jxtToZbgvq3M6FPpY4QENxoOggK+UpTxUBpj6tD8+Qh2g46Pi9We87E+eHnUw8YcGsw== + dependencies: + "@eslint-community/regexpp" "^4.4.0" + "@typescript-eslint/scope-manager" "5.59.6" + "@typescript-eslint/type-utils" "5.59.6" + "@typescript-eslint/utils" "5.59.6" + debug "^4.3.4" + grapheme-splitter "^1.0.4" + ignore "^5.2.0" + natural-compare-lite "^1.4.0" + semver "^7.3.7" + tsutils "^3.21.0" + +"@typescript-eslint/parser@^5.0.0", "@typescript-eslint/parser@^5.10.0", "@typescript-eslint/parser@^5.59.5": + version "5.59.6" + resolved "https://registry.npmmirror.com/@typescript-eslint/parser/-/parser-5.59.6.tgz" + integrity sha512-7pCa6al03Pv1yf/dUg/s1pXz/yGMUBAw5EeWqNTFiSueKvRNonze3hma3lhdsOrQcaOXhbk5gKu2Fludiho9VA== + dependencies: + "@typescript-eslint/scope-manager" "5.59.6" + "@typescript-eslint/types" "5.59.6" + "@typescript-eslint/typescript-estree" "5.59.6" + debug "^4.3.4" + +"@typescript-eslint/scope-manager@5.59.6": + version "5.59.6" + resolved "https://registry.npmmirror.com/@typescript-eslint/scope-manager/-/scope-manager-5.59.6.tgz" + integrity sha512-gLbY3Le9Dxcb8KdpF0+SJr6EQ+hFGYFl6tVY8VxLPFDfUZC7BHFw+Vq7bM5lE9DwWPfx4vMWWTLGXgpc0mAYyQ== + dependencies: + "@typescript-eslint/types" "5.59.6" + "@typescript-eslint/visitor-keys" "5.59.6" + +"@typescript-eslint/type-utils@5.59.6": + version "5.59.6" + resolved "https://registry.npmmirror.com/@typescript-eslint/type-utils/-/type-utils-5.59.6.tgz" + integrity sha512-A4tms2Mp5yNvLDlySF+kAThV9VTBPCvGf0Rp8nl/eoDX9Okun8byTKoj3fJ52IJitjWOk0fKPNQhXEB++eNozQ== + dependencies: + "@typescript-eslint/typescript-estree" "5.59.6" + "@typescript-eslint/utils" "5.59.6" + debug "^4.3.4" + tsutils "^3.21.0" + +"@typescript-eslint/types@5.59.6": + version "5.59.6" + resolved "https://registry.npmmirror.com/@typescript-eslint/types/-/types-5.59.6.tgz" + integrity sha512-tH5lBXZI7T2MOUgOWFdVNUILsI02shyQvfzG9EJkoONWugCG77NDDa1EeDGw7oJ5IvsTAAGVV8I3Tk2PNu9QfA== + +"@typescript-eslint/typescript-estree@5.59.6": + version "5.59.6" + resolved "https://registry.npmmirror.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.59.6.tgz" + integrity sha512-vW6JP3lMAs/Tq4KjdI/RiHaaJSO7IUsbkz17it/Rl9Q+WkQ77EOuOnlbaU8kKfVIOJxMhnRiBG+olE7f3M16DA== + dependencies: + "@typescript-eslint/types" "5.59.6" + "@typescript-eslint/visitor-keys" "5.59.6" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.3.7" + tsutils "^3.21.0" + +"@typescript-eslint/utils@5.59.6": + version "5.59.6" + resolved "https://registry.npmmirror.com/@typescript-eslint/utils/-/utils-5.59.6.tgz" + integrity sha512-vzaaD6EXbTS29cVH0JjXBdzMt6VBlv+hE31XktDRMX1j3462wZCJa7VzO2AxXEXcIl8GQqZPcOPuW/Z1tZVogg== + dependencies: + "@eslint-community/eslint-utils" "^4.2.0" + "@types/json-schema" "^7.0.9" + "@types/semver" "^7.3.12" + "@typescript-eslint/scope-manager" "5.59.6" + "@typescript-eslint/types" "5.59.6" + "@typescript-eslint/typescript-estree" "5.59.6" + eslint-scope "^5.1.1" + semver "^7.3.7" + +"@typescript-eslint/visitor-keys@5.59.6": + version "5.59.6" + resolved "https://registry.npmmirror.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.59.6.tgz" + integrity sha512-zEfbFLzB9ETcEJ4HZEEsCR9HHeNku5/Qw1jSS5McYJv5BR+ftYXwFFAH5Al+xkGaZEqowMwl7uoJjQb1YSPF8Q== + dependencies: + "@typescript-eslint/types" "5.59.6" + eslint-visitor-keys "^3.3.0" + +"@webgpu/glslang@0.0.15": + version "0.0.15" + resolved "https://registry.npmmirror.com/@webgpu/glslang/-/glslang-0.0.15.tgz" + integrity sha512-niT+Prh3Aff8Uf1MVBVUsaNjFj9rJAKDXuoHIKiQbB+6IUP/3J3JIhBNyZ7lDhytvXxw6ppgnwKZdDJ08UMj4Q== + +"@webgpu/types@0.1.20": + version "0.1.20" + resolved "https://registry.npmmirror.com/@webgpu/types/-/types-0.1.20.tgz" + integrity sha512-MFb5oyxX+A7PWQNjcY3kSCSG2FAHaBo7IJBWtxWFgsS20FtY3D9UY7lYqLZ6avS8fSkdSylIS4qiHzFlQUdXag== + +"@yarn-tool/resolve-package@^1.0.40": + version "1.0.47" + resolved "https://registry.npmmirror.com/@yarn-tool/resolve-package/-/resolve-package-1.0.47.tgz" + integrity sha512-Zaw58gQxjQceJqhqybJi1oUDaORT8i2GTgwICPs8v/X/Pkx35FXQba69ldHVg5pQZ6YLKpROXgyHvBaCJOFXiA== + dependencies: + pkg-dir "< 6 >= 5" + tslib "^2" + upath2 "^3.1.13" + +acorn-jsx@^5.3.2: + version "5.3.2" + resolved "https://registry.npmmirror.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz" + integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== + +acorn-walk@^8.1.1: + version "8.2.0" + resolved "https://registry.npmmirror.com/acorn-walk/-/acorn-walk-8.2.0.tgz" + integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== + +"acorn@^6.0.0 || ^7.0.0 || ^8.0.0", acorn@^8.4.1, acorn@^8.5.0, acorn@^8.8.0: + version "8.8.1" + resolved "https://registry.npmmirror.com/acorn/-/acorn-8.8.1.tgz" + integrity sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA== + +ajv@^6.10.0: + version "6.12.6" + resolved "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ajv@^6.12.4: + version "6.12.6" + resolved "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ajv@^8.11.0: + version "8.12.0" + resolved "https://registry.npmmirror.com/ajv/-/ajv-8.12.0.tgz" + integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== + dependencies: + fast-deep-equal "^3.1.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.2.2" + +ansi-escapes@^4.2.1: + version "4.3.2" + resolved "https://registry.npmmirror.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz" + integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== + dependencies: + type-fest "^0.21.3" + +ansi-regex@^2.0.0: + version "2.1.1" + resolved "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-2.1.1.tgz" + integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== + +ansi-regex@^3.0.0: + version "3.0.1" + resolved "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-3.0.1.tgz" + integrity sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw== + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +ansi-styles@^2.2.1: + version "2.2.1" + resolved "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-2.2.1.tgz" + integrity sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA== + +ansi-styles@^3.2.0, ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-3.2.1.tgz" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.0.0: + version "4.3.0" + resolved "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +arg@^4.1.0: + version "4.1.3" + resolved "https://registry.npmmirror.com/arg/-/arg-4.1.3.tgz" + integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== + +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/argparse/-/argparse-2.0.1.tgz" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + +array-buffer-byte-length@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz" + integrity sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A== + dependencies: + call-bind "^1.0.2" + is-array-buffer "^3.0.1" + +array-differ@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/array-differ/-/array-differ-3.0.0.tgz" + integrity sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg== + +array-includes@^3.1.6: + version "3.1.6" + resolved "https://registry.npmmirror.com/array-includes/-/array-includes-3.1.6.tgz" + integrity sha512-sgTbLvL6cNnw24FnbaDyjmvddQ2ML8arZsgaJhoABMoplz/4QRhtrYS+alr1BUM1Bwp6dhx8vVCBSLG+StwOFw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + get-intrinsic "^1.1.3" + is-string "^1.0.7" + +array-union@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/array-union/-/array-union-2.1.0.tgz" + integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== + +array.prototype.flat@^1.3.1: + version "1.3.1" + resolved "https://registry.npmmirror.com/array.prototype.flat/-/array.prototype.flat-1.3.1.tgz" + integrity sha512-roTU0KWIOmJ4DRLmwKd19Otg0/mT3qPNt0Qb3GWW8iObuZXxrjB/pzn0R3hqpRSWg4HCwqx+0vwOnWnvlOyeIA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + es-shim-unscopables "^1.0.0" + +array.prototype.flatmap@^1.3.1: + version "1.3.1" + resolved "https://registry.npmmirror.com/array.prototype.flatmap/-/array.prototype.flatmap-1.3.1.tgz" + integrity sha512-8UGn9O1FDVvMNB0UlLv4voxRMze7+FpHyF5mSMRjWHUMlpoDViniy05870VlxhfgTnLbpuwTzvD76MTtWxB/mQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + es-shim-unscopables "^1.0.0" + +arrify@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/arrify/-/arrify-2.0.1.tgz" + integrity sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug== + +at-least-node@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/at-least-node/-/at-least-node-1.0.0.tgz" + integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== + +available-typed-arrays@^1.0.5: + version "1.0.5" + resolved "https://registry.npmmirror.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz" + integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.npmmirror.com/base64-js/-/base64-js-1.5.1.tgz" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +bl@^4.1.0: + version "4.1.0" + resolved "https://registry.npmmirror.com/bl/-/bl-4.1.0.tgz" + integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== + dependencies: + buffer "^5.5.0" + inherits "^2.0.4" + readable-stream "^3.4.0" + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-2.0.1.tgz" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + +braces@^3.0.2: + version "3.0.2" + resolved "https://registry.npmmirror.com/braces/-/braces-3.0.2.tgz" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +buffer-from@^1.0.0: + version "1.1.2" + resolved "https://registry.npmmirror.com/buffer-from/-/buffer-from-1.1.2.tgz" + integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== + +buffer@^5.5.0: + version "5.7.1" + resolved "https://registry.npmmirror.com/buffer/-/buffer-5.7.1.tgz" + integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.1.13" + +builtin-modules@^3.1.0: + version "3.3.0" + resolved "https://registry.npmmirror.com/builtin-modules/-/builtin-modules-3.3.0.tgz" + integrity sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw== + +cachedir@2.3.0: + version "2.3.0" + resolved "https://registry.npmmirror.com/cachedir/-/cachedir-2.3.0.tgz" + integrity sha512-A+Fezp4zxnit6FanDmv9EqXNAi3vt9DWp51/71UEhXukb7QUuvtv9344h91dyAxuTLoSYJFU299qzR3tzwPAhw== + +call-bind@^1.0.0, call-bind@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.2.tgz" + integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== + dependencies: + function-bind "^1.1.1" + get-intrinsic "^1.0.2" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/callsites/-/callsites-3.1.0.tgz" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +chalk@^1.1.3: + version "1.1.3" + resolved "https://registry.npmmirror.com/chalk/-/chalk-1.1.3.tgz" + integrity sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A== + dependencies: + ansi-styles "^2.2.1" + escape-string-regexp "^1.0.2" + has-ansi "^2.0.0" + strip-ansi "^3.0.0" + supports-color "^2.0.0" + +chalk@^2.0.0, chalk@^2.4.1: + version "2.4.2" + resolved "https://registry.npmmirror.com/chalk/-/chalk-2.4.2.tgz" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/chalk/-/chalk-3.0.0.tgz" + integrity sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chalk@^4.0.0: + version "4.1.2" + resolved "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chalk@^4.1.0: + version "4.1.2" + resolved "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chalk@^4.1.1: + version "4.1.2" + resolved "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chardet@^0.7.0: + version "0.7.0" + resolved "https://registry.npmmirror.com/chardet/-/chardet-0.7.0.tgz" + integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== + +cli-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/cli-cursor/-/cli-cursor-3.1.0.tgz" + integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + dependencies: + restore-cursor "^3.1.0" + +cli-spinners@^2.5.0: + version "2.7.0" + resolved "https://registry.npmmirror.com/cli-spinners/-/cli-spinners-2.7.0.tgz" + integrity sha512-qu3pN8Y3qHNgE2AFweciB1IfMnmZ/fsNTEE+NOFjmGB2F/7rLhnhzppvpCnN4FovtP26k8lHyy9ptEbNwWFLzw== + +cli-width@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/cli-width/-/cli-width-3.0.0.tgz" + integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== + +clone@^1.0.2: + version "1.0.4" + resolved "https://registry.npmmirror.com/clone/-/clone-1.0.4.tgz" + integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg== + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmmirror.com/color-convert/-/color-convert-1.9.3.tgz" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmmirror.com/color-name/-/color-name-1.1.3.tgz" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +commander@^2.20.0: + version "2.20.3" + resolved "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz" + integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== + +commitizen@^4.0.3, commitizen@^4.3.0: + version "4.3.0" + resolved "https://registry.npmmirror.com/commitizen/-/commitizen-4.3.0.tgz" + integrity sha512-H0iNtClNEhT0fotHvGV3E9tDejDeS04sN1veIebsKYGMuGscFaswRoYJKmT3eW85eIJAs0F28bG2+a/9wCOfPw== + dependencies: + cachedir "2.3.0" + cz-conventional-changelog "3.3.0" + dedent "0.7.0" + detect-indent "6.1.0" + find-node-modules "^2.1.2" + find-root "1.1.0" + fs-extra "9.1.0" + glob "7.2.3" + inquirer "8.2.5" + is-utf8 "^0.2.1" + lodash "4.17.21" + minimist "1.2.7" + strip-bom "4.0.0" + strip-json-comments "3.1.1" + +common-tags@^1.4.0: + version "1.8.2" + resolved "https://registry.npmmirror.com/common-tags/-/common-tags-1.8.2.tgz" + integrity sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA== + +commondir@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/commondir/-/commondir-1.0.1.tgz" + integrity sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +conventional-commit-types@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/conventional-commit-types/-/conventional-commit-types-3.0.0.tgz" + integrity sha512-SmmCYnOniSsAa9GqWOeLqc179lfr5TRu5b4QFDkbsrJ5TZjPJx85wtOr3zn+1dbeNiXDKGPbZ72IKbPhLXh/Lg== + +cosmiconfig-typescript-loader@^4.0.0: + version "4.3.0" + resolved "https://registry.npmmirror.com/cosmiconfig-typescript-loader/-/cosmiconfig-typescript-loader-4.3.0.tgz" + integrity sha512-NTxV1MFfZDLPiBMjxbHRwSh5LaLcPMwNdCutmnHJCKoVnlvldPWlllonKwrsRJ5pYZBIBGRWWU2tfvzxgeSW5Q== + +cosmiconfig@^8.0.0, cosmiconfig@>=7: + version "8.0.0" + resolved "https://registry.npmmirror.com/cosmiconfig/-/cosmiconfig-8.0.0.tgz" + integrity sha512-da1EafcpH6b/TD8vDRaWV7xFINlHlF6zKsGwS1TsuVJTZRkquaS5HTMq7uq6h31619QjbsYl21gVDOm32KM1vQ== + dependencies: + import-fresh "^3.2.1" + js-yaml "^4.1.0" + parse-json "^5.0.0" + path-type "^4.0.0" + +create-require@^1.1.0: + version "1.1.1" + resolved "https://registry.npmmirror.com/create-require/-/create-require-1.1.1.tgz" + integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== + +cross-env@^7.0.3: + version "7.0.3" + resolved "https://registry.npmmirror.com/cross-env/-/cross-env-7.0.3.tgz" + integrity sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw== + dependencies: + cross-spawn "^7.0.1" + +cross-spawn@^7.0.0, cross-spawn@^7.0.1, cross-spawn@^7.0.2: + version "7.0.3" + resolved "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.3.tgz" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +cz-conventional-changelog-zh@0.0.2: + version "0.0.2" + resolved "https://registry.npmmirror.com/cz-conventional-changelog-zh/-/cz-conventional-changelog-zh-0.0.2.tgz" + integrity sha512-rXy2HiG/0M7xChuodAN1L9qHDWTBInGTljaE59AlyqrXQAv0srg147vjep5CO7mGtxVYJQJi9TVP5KVZMWxDqQ== + dependencies: + chalk "^2.4.1" + commitizen "^4.0.3" + conventional-commit-types "^3.0.0" + lodash.assign "^4.2.0" + lodash.map "^4.5.1" + longest "^2.0.1" + word-wrap "^1.0.3" + optionalDependencies: + "@commitlint/load" ">6.1.1" + +cz-conventional-changelog@^3.3.0, cz-conventional-changelog@3.3.0: + version "3.3.0" + resolved "https://registry.npmmirror.com/cz-conventional-changelog/-/cz-conventional-changelog-3.3.0.tgz" + integrity sha512-U466fIzU5U22eES5lTNiNbZ+d8dfcHcssH4o7QsdWaCcRs/feIPCxKYSWkYBNs5mny7MvEfwpTLWjvbm94hecw== + dependencies: + chalk "^2.4.1" + commitizen "^4.0.3" + conventional-commit-types "^3.0.0" + lodash.map "^4.5.1" + longest "^2.0.1" + word-wrap "^1.0.3" + optionalDependencies: + "@commitlint/load" ">6.1.1" + +debug@^3.2.7: + version "3.2.7" + resolved "https://registry.npmmirror.com/debug/-/debug-3.2.7.tgz" + integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== + dependencies: + ms "^2.1.1" + +debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: + version "4.3.4" + resolved "https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + +dedent@0.7.0: + version "0.7.0" + resolved "https://registry.npmmirror.com/dedent/-/dedent-0.7.0.tgz" + integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== + +deep-is@^0.1.3: + version "0.1.4" + resolved "https://registry.npmmirror.com/deep-is/-/deep-is-0.1.4.tgz" + integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== + +defaults@^1.0.3: + version "1.0.4" + resolved "https://registry.npmmirror.com/defaults/-/defaults-1.0.4.tgz" + integrity sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A== + dependencies: + clone "^1.0.2" + +define-properties@^1.1.3, define-properties@^1.1.4, define-properties@^1.2.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/define-properties/-/define-properties-1.2.0.tgz" + integrity sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +detect-file@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/detect-file/-/detect-file-1.0.0.tgz" + integrity sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q== + +detect-indent@6.1.0: + version "6.1.0" + resolved "https://registry.npmmirror.com/detect-indent/-/detect-indent-6.1.0.tgz" + integrity sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA== + +diff@^4.0.1: + version "4.0.2" + resolved "https://registry.npmmirror.com/diff/-/diff-4.0.2.tgz" + integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== + +dir-glob@^3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/dir-glob/-/dir-glob-3.0.1.tgz" + integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== + dependencies: + path-type "^4.0.0" + +dlv@^1.1.0: + version "1.1.3" + resolved "https://registry.npmmirror.com/dlv/-/dlv-1.1.3.tgz" + integrity sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA== + +doctrine@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/doctrine/-/doctrine-2.1.0.tgz" + integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw== + dependencies: + esutils "^2.0.2" + +doctrine@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/doctrine/-/doctrine-3.0.0.tgz" + integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== + dependencies: + esutils "^2.0.2" + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +end-of-stream@^1.1.0: + version "1.4.4" + resolved "https://registry.npmmirror.com/end-of-stream/-/end-of-stream-1.4.4.tgz" + integrity sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q== + dependencies: + once "^1.4.0" + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmmirror.com/error-ex/-/error-ex-1.3.2.tgz" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +es-abstract@^1.19.0, es-abstract@^1.20.4: + version "1.21.2" + resolved "https://registry.npmmirror.com/es-abstract/-/es-abstract-1.21.2.tgz" + integrity sha512-y/B5POM2iBnIxCiernH1G7rC9qQoM77lLIMQLuob0zhp8C56Po81+2Nj0WFKnd0pNReDTnkYryc+zhOzpEIROg== + dependencies: + array-buffer-byte-length "^1.0.0" + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + es-set-tostringtag "^2.0.1" + es-to-primitive "^1.2.1" + function.prototype.name "^1.1.5" + get-intrinsic "^1.2.0" + get-symbol-description "^1.0.0" + globalthis "^1.0.3" + gopd "^1.0.1" + has "^1.0.3" + has-property-descriptors "^1.0.0" + has-proto "^1.0.1" + has-symbols "^1.0.3" + internal-slot "^1.0.5" + is-array-buffer "^3.0.2" + is-callable "^1.2.7" + is-negative-zero "^2.0.2" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.2" + is-string "^1.0.7" + is-typed-array "^1.1.10" + is-weakref "^1.0.2" + object-inspect "^1.12.3" + object-keys "^1.1.1" + object.assign "^4.1.4" + regexp.prototype.flags "^1.4.3" + safe-regex-test "^1.0.0" + string.prototype.trim "^1.2.7" + string.prototype.trimend "^1.0.6" + string.prototype.trimstart "^1.0.6" + typed-array-length "^1.0.4" + unbox-primitive "^1.0.2" + which-typed-array "^1.1.9" + +es-set-tostringtag@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz" + integrity sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg== + dependencies: + get-intrinsic "^1.1.3" + has "^1.0.3" + has-tostringtag "^1.0.0" + +es-shim-unscopables@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz" + integrity sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w== + dependencies: + has "^1.0.3" + +es-to-primitive@^1.2.1: + version "1.2.1" + resolved "https://registry.npmmirror.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz" + integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== + dependencies: + is-callable "^1.1.4" + is-date-object "^1.0.1" + is-symbol "^1.0.2" + +escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +eslint-config-prettier@^8.8.0: + version "8.8.0" + resolved "https://registry.npmmirror.com/eslint-config-prettier/-/eslint-config-prettier-8.8.0.tgz" + integrity sha512-wLbQiFre3tdGgpDv67NQKnJuTlcUVYHas3k+DZCc2U2BadthoEY4B7hLPvAxaqdyOGCzuLfii2fqGph10va7oA== + +eslint-import-resolver-node@^0.3.7: + version "0.3.7" + resolved "https://registry.npmmirror.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.7.tgz" + integrity sha512-gozW2blMLJCeFpBwugLTGyvVjNoeo1knonXAcatC6bjPBZitotxdWf7Gimr25N4c0AAOo4eOUfaG82IJPDpqCA== + dependencies: + debug "^3.2.7" + is-core-module "^2.11.0" + resolve "^1.22.1" + +eslint-module-utils@^2.7.4: + version "2.8.0" + resolved "https://registry.npmmirror.com/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz" + integrity sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw== + dependencies: + debug "^3.2.7" + +eslint-plugin-import@^2.27.5: + version "2.27.5" + resolved "https://registry.npmmirror.com/eslint-plugin-import/-/eslint-plugin-import-2.27.5.tgz" + integrity sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow== + dependencies: + array-includes "^3.1.6" + array.prototype.flat "^1.3.1" + array.prototype.flatmap "^1.3.1" + debug "^3.2.7" + doctrine "^2.1.0" + eslint-import-resolver-node "^0.3.7" + eslint-module-utils "^2.7.4" + has "^1.0.3" + is-core-module "^2.11.0" + is-glob "^4.0.3" + minimatch "^3.1.2" + object.values "^1.1.6" + resolve "^1.22.1" + semver "^6.3.0" + tsconfig-paths "^3.14.1" + +eslint-plugin-prettier@^4.2.1: + version "4.2.1" + resolved "https://registry.npmmirror.com/eslint-plugin-prettier/-/eslint-plugin-prettier-4.2.1.tgz" + integrity sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ== + dependencies: + prettier-linter-helpers "^1.0.0" + +eslint-plugin-unused-imports@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/eslint-plugin-unused-imports/-/eslint-plugin-unused-imports-2.0.0.tgz" + integrity sha512-3APeS/tQlTrFa167ThtP0Zm0vctjr4M44HMpeg1P4bK6wItarumq0Ma82xorMKdFsWpphQBlRPzw/pxiVELX1A== + dependencies: + eslint-rule-composer "^0.3.0" + +eslint-rule-composer@^0.3.0: + version "0.3.0" + resolved "https://registry.npmmirror.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz" + integrity sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg== + +eslint-scope@^5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-5.1.1.tgz" + integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== + dependencies: + esrecurse "^4.3.0" + estraverse "^4.1.1" + +eslint-scope@^7.0.0: + version "7.2.0" + resolved "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-7.2.0.tgz" + integrity sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw== + dependencies: + esrecurse "^4.3.0" + estraverse "^5.2.0" + +eslint-scope@^7.2.0: + version "7.2.0" + resolved "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-7.2.0.tgz" + integrity sha512-DYj5deGlHBfMt15J7rdtyKNq/Nqlv5KfU4iodrQ019XESsRnwXH9KAE0y3cwtUHDo2ob7CypAnCqefh6vioWRw== + dependencies: + esrecurse "^4.3.0" + estraverse "^5.2.0" + +eslint-visitor-keys@^3.1.0, eslint-visitor-keys@^3.3.0, eslint-visitor-keys@^3.4.1: + version "3.4.1" + resolved "https://registry.npmmirror.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz" + integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA== + +eslint@*, "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8", "eslint@^6.0.0 || ^7.0.0 || ^8.0.0", "eslint@^6.0.0 || ^7.0.0 || >=8.0.0", eslint@^8.0.0, eslint@^8.40.0, eslint@^8.7.0, eslint@>=6.0.0, eslint@>=7.0.0, eslint@>=7.28.0: + version "8.40.0" + resolved "https://registry.npmmirror.com/eslint/-/eslint-8.40.0.tgz" + integrity sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ== + dependencies: + "@eslint-community/eslint-utils" "^4.2.0" + "@eslint-community/regexpp" "^4.4.0" + "@eslint/eslintrc" "^2.0.3" + "@eslint/js" "8.40.0" + "@humanwhocodes/config-array" "^0.11.8" + "@humanwhocodes/module-importer" "^1.0.1" + "@nodelib/fs.walk" "^1.2.8" + ajv "^6.10.0" + chalk "^4.0.0" + cross-spawn "^7.0.2" + debug "^4.3.2" + doctrine "^3.0.0" + escape-string-regexp "^4.0.0" + eslint-scope "^7.2.0" + eslint-visitor-keys "^3.4.1" + espree "^9.5.2" + esquery "^1.4.2" + esutils "^2.0.2" + fast-deep-equal "^3.1.3" + file-entry-cache "^6.0.1" + find-up "^5.0.0" + glob-parent "^6.0.2" + globals "^13.19.0" + grapheme-splitter "^1.0.4" + ignore "^5.2.0" + import-fresh "^3.0.0" + imurmurhash "^0.1.4" + is-glob "^4.0.0" + is-path-inside "^3.0.3" + js-sdsl "^4.1.4" + js-yaml "^4.1.0" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.4.1" + lodash.merge "^4.6.2" + minimatch "^3.1.2" + natural-compare "^1.4.0" + optionator "^0.9.1" + strip-ansi "^6.0.1" + strip-json-comments "^3.1.0" + text-table "^0.2.0" + +espree@^9.0.0, espree@^9.5.2: + version "9.5.2" + resolved "https://registry.npmmirror.com/espree/-/espree-9.5.2.tgz" + integrity sha512-7OASN1Wma5fum5SrNhFMAMJxOUAbhyfQ8dQ//PJaJbNw0URTPWqIghHWt1MmAANKhHZIYOHruW4Kw4ruUWOdGw== + dependencies: + acorn "^8.8.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^3.4.1" + +esquery@^1.4.0, esquery@^1.4.2: + version "1.5.0" + resolved "https://registry.npmmirror.com/esquery/-/esquery-1.5.0.tgz" + integrity sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg== + dependencies: + estraverse "^5.1.0" + +esrecurse@^4.3.0: + version "4.3.0" + resolved "https://registry.npmmirror.com/esrecurse/-/esrecurse-4.3.0.tgz" + integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== + dependencies: + estraverse "^5.2.0" + +estraverse@^4.1.1: + version "4.3.0" + resolved "https://registry.npmmirror.com/estraverse/-/estraverse-4.3.0.tgz" + integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== + +estraverse@^5.1.0: + version "5.3.0" + resolved "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== + +estraverse@^5.2.0: + version "5.3.0" + resolved "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== + +estree-walker@^0.6.1: + version "0.6.1" + resolved "https://registry.npmmirror.com/estree-walker/-/estree-walker-0.6.1.tgz" + integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w== + +estree-walker@^2.0.1, estree-walker@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/estree-walker/-/estree-walker-2.0.2.tgz" + integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w== + +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.npmmirror.com/esutils/-/esutils-2.0.3.tgz" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +execa@^4.0.0: + version "4.1.0" + resolved "https://registry.npmmirror.com/execa/-/execa-4.1.0.tgz" + integrity sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA== + dependencies: + cross-spawn "^7.0.0" + get-stream "^5.0.0" + human-signals "^1.1.1" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.0" + onetime "^5.1.0" + signal-exit "^3.0.2" + strip-final-newline "^2.0.0" + +expand-tilde@^2.0.0, expand-tilde@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/expand-tilde/-/expand-tilde-2.0.2.tgz" + integrity sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw== + dependencies: + homedir-polyfill "^1.0.1" + +external-editor@^3.0.3: + version "3.1.0" + resolved "https://registry.npmmirror.com/external-editor/-/external-editor-3.1.0.tgz" + integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== + dependencies: + chardet "^0.7.0" + iconv-lite "^0.4.24" + tmp "^0.0.33" + +fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-diff@^1.1.2: + version "1.2.0" + resolved "https://registry.npmmirror.com/fast-diff/-/fast-diff-1.2.0.tgz" + integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== + +fast-glob@^3.2.9: + version "3.2.12" + resolved "https://registry.npmmirror.com/fast-glob/-/fast-glob-3.2.12.tgz" + integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + +fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fast-levenshtein@^2.0.6: + version "2.0.6" + resolved "https://registry.npmmirror.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz" + integrity sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw== + +fastq@^1.6.0: + version "1.15.0" + resolved "https://registry.npmmirror.com/fastq/-/fastq-1.15.0.tgz" + integrity sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw== + dependencies: + reusify "^1.0.4" + +figures@^3.0.0: + version "3.2.0" + resolved "https://registry.npmmirror.com/figures/-/figures-3.2.0.tgz" + integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== + dependencies: + escape-string-regexp "^1.0.5" + +file-entry-cache@^6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/file-entry-cache/-/file-entry-cache-6.0.1.tgz" + integrity sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg== + dependencies: + flat-cache "^3.0.4" + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.npmmirror.com/fill-range/-/fill-range-7.0.1.tgz" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +find-cache-dir@^3.3.2: + version "3.3.2" + resolved "https://registry.npmmirror.com/find-cache-dir/-/find-cache-dir-3.3.2.tgz" + integrity sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig== + dependencies: + commondir "^1.0.1" + make-dir "^3.0.2" + pkg-dir "^4.1.0" + +find-node-modules@^2.1.2: + version "2.1.3" + resolved "https://registry.npmmirror.com/find-node-modules/-/find-node-modules-2.1.3.tgz" + integrity sha512-UC2I2+nx1ZuOBclWVNdcnbDR5dlrOdVb7xNjmT/lHE+LsgztWks3dG7boJ37yTS/venXw84B/mAW9uHVoC5QRg== + dependencies: + findup-sync "^4.0.0" + merge "^2.1.1" + +find-root@1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/find-root/-/find-root-1.1.0.tgz" + integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== + +find-up@^4.0.0: + version "4.1.0" + resolved "https://registry.npmmirror.com/find-up/-/find-up-4.1.0.tgz" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== + dependencies: + locate-path "^5.0.0" + path-exists "^4.0.0" + +find-up@^4.1.0: + version "4.1.0" + resolved "https://registry.npmmirror.com/find-up/-/find-up-4.1.0.tgz" + integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw== + dependencies: + locate-path "^5.0.0" + path-exists "^4.0.0" + +find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/find-up/-/find-up-5.0.0.tgz" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + +findup-sync@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/findup-sync/-/findup-sync-4.0.0.tgz" + integrity sha512-6jvvn/12IC4quLBL1KNokxC7wWTvYncaVUYSoxWw7YykPLuRrnv4qdHcSOywOI5RpkOVGeQRtWM8/q+G6W6qfQ== + dependencies: + detect-file "^1.0.0" + is-glob "^4.0.0" + micromatch "^4.0.2" + resolve-dir "^1.0.1" + +flat-cache@^3.0.4: + version "3.0.4" + resolved "https://registry.npmmirror.com/flat-cache/-/flat-cache-3.0.4.tgz" + integrity sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg== + dependencies: + flatted "^3.1.0" + rimraf "^3.0.2" + +flatted@^3.1.0: + version "3.2.7" + resolved "https://registry.npmmirror.com/flatted/-/flatted-3.2.7.tgz" + integrity sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ== + +for-each@^0.3.3: + version "0.3.3" + resolved "https://registry.npmmirror.com/for-each/-/for-each-0.3.3.tgz" + integrity sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw== + dependencies: + is-callable "^1.1.3" + +fs-extra@^10.0.0: + version "10.1.0" + resolved "https://registry.npmmirror.com/fs-extra/-/fs-extra-10.1.0.tgz" + integrity sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + +fs-extra@9.1.0: + version "9.1.0" + resolved "https://registry.npmmirror.com/fs-extra/-/fs-extra-9.1.0.tgz" + integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== + dependencies: + at-least-node "^1.0.0" + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.1.tgz" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +function.prototype.name@^1.1.5: + version "1.1.5" + resolved "https://registry.npmmirror.com/function.prototype.name/-/function.prototype.name-1.1.5.tgz" + integrity sha512-uN7m/BzVKQnCUF/iW8jYea67v++2u7m5UgENbHRtdDVclOUP+FMPlCNdmk0h/ysGyo2tavMJEDqJAkJdRa1vMA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.0" + functions-have-names "^1.2.2" + +functions-have-names@^1.2.2, functions-have-names@^1.2.3: + version "1.2.3" + resolved "https://registry.npmmirror.com/functions-have-names/-/functions-have-names-1.2.3.tgz" + integrity sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ== + +get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0: + version "1.2.1" + resolved "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.2.1.tgz" + integrity sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-proto "^1.0.1" + has-symbols "^1.0.3" + +get-stream@^5.0.0: + version "5.2.0" + resolved "https://registry.npmmirror.com/get-stream/-/get-stream-5.2.0.tgz" + integrity sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA== + dependencies: + pump "^3.0.0" + +get-symbol-description@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz" + integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.1" + +glob-parent@^5.1.2: + version "5.1.2" + resolved "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + +glob-parent@^6.0.2: + version "6.0.2" + resolved "https://registry.npmmirror.com/glob-parent/-/glob-parent-6.0.2.tgz" + integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== + dependencies: + is-glob "^4.0.3" + +glob@^7.1.3: + version "7.2.3" + resolved "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +glob@^8.0.3: + version "8.1.0" + resolved "https://registry.npmmirror.com/glob/-/glob-8.1.0.tgz" + integrity sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^5.0.1" + once "^1.3.0" + +glob@7.2.3: + version "7.2.3" + resolved "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +global-dirs@^0.1.1: + version "0.1.1" + resolved "https://registry.npmmirror.com/global-dirs/-/global-dirs-0.1.1.tgz" + integrity sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg== + dependencies: + ini "^1.3.4" + +global-modules@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/global-modules/-/global-modules-1.0.0.tgz" + integrity sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg== + dependencies: + global-prefix "^1.0.1" + is-windows "^1.0.1" + resolve-dir "^1.0.0" + +global-prefix@^1.0.1: + version "1.0.2" + resolved "https://registry.npmmirror.com/global-prefix/-/global-prefix-1.0.2.tgz" + integrity sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg== + dependencies: + expand-tilde "^2.0.2" + homedir-polyfill "^1.0.1" + ini "^1.3.4" + is-windows "^1.0.1" + which "^1.2.14" + +globals@^13.19.0: + version "13.20.0" + resolved "https://registry.npmmirror.com/globals/-/globals-13.20.0.tgz" + integrity sha512-Qg5QtVkCy/kv3FUSlu4ukeZDVf9ee0iXLAUYX13gbR17bnejFTzr4iS9bY7kwCf1NztRNm1t91fjOiyx4CSwPQ== + dependencies: + type-fest "^0.20.2" + +globalthis@^1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/globalthis/-/globalthis-1.0.3.tgz" + integrity sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA== + dependencies: + define-properties "^1.1.3" + +globby@^11.1.0: + version "11.1.0" + resolved "https://registry.npmmirror.com/globby/-/globby-11.1.0.tgz" + integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.2.9" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^3.0.0" + +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/gopd/-/gopd-1.0.1.tgz" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" + +graceful-fs@^4.1.6, graceful-fs@^4.2.0: + version "4.2.10" + resolved "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.10.tgz" + integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== + +grapheme-splitter@^1.0.4: + version "1.0.4" + resolved "https://registry.npmmirror.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz" + integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== + +has-ansi@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/has-ansi/-/has-ansi-2.0.0.tgz" + integrity sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg== + dependencies: + ansi-regex "^2.0.0" + +has-bigints@^1.0.1, has-bigints@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/has-bigints/-/has-bigints-1.0.2.tgz" + integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/has-flag/-/has-flag-3.0.0.tgz" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/has-proto/-/has-proto-1.0.1.tgz" + integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== + +has-symbols@^1.0.2, has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.0.3.tgz" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has-tostringtag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz" + integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== + dependencies: + has-symbols "^1.0.2" + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/has/-/has-1.0.3.tgz" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +homedir-polyfill@^1.0.1: + version "1.0.3" + resolved "https://registry.npmmirror.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz" + integrity sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== + dependencies: + parse-passwd "^1.0.0" + +human-signals@^1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/human-signals/-/human-signals-1.1.1.tgz" + integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw== + +husky@^8.0.3: + version "8.0.3" + resolved "https://registry.npmmirror.com/husky/-/husky-8.0.3.tgz" + integrity sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg== + +iconv-lite@^0.4.24: + version "0.4.24" + resolved "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.4.24.tgz" + integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== + dependencies: + safer-buffer ">= 2.1.2 < 3" + +ieee754@^1.1.13: + version "1.2.1" + resolved "https://registry.npmmirror.com/ieee754/-/ieee754-1.2.1.tgz" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +ignore@^5.1.4, ignore@^5.2.0: + version "5.2.4" + resolved "https://registry.npmmirror.com/ignore/-/ignore-5.2.4.tgz" + integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== + +import-fresh@^3.0.0, import-fresh@^3.2.1: + version "3.3.0" + resolved "https://registry.npmmirror.com/import-fresh/-/import-fresh-3.3.0.tgz" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.npmmirror.com/imurmurhash/-/imurmurhash-0.1.4.tgz" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + +indent-string@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/indent-string/-/indent-string-4.0.0.tgz" + integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.npmmirror.com/inflight/-/inflight-1.0.6.tgz" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@^2.0.3, inherits@^2.0.4, inherits@2: + version "2.0.4" + resolved "https://registry.npmmirror.com/inherits/-/inherits-2.0.4.tgz" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +ini@^1.3.4: + version "1.3.8" + resolved "https://registry.npmmirror.com/ini/-/ini-1.3.8.tgz" + integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== + +inquirer@8.2.5: + version "8.2.5" + resolved "https://registry.npmmirror.com/inquirer/-/inquirer-8.2.5.tgz" + integrity sha512-QAgPDQMEgrDssk1XiwwHoOGYF9BAbUcc1+j+FhEvaOt8/cKRqyLn0U5qA6F74fGhTMGxf92pOvPBeh29jQJDTQ== + dependencies: + ansi-escapes "^4.2.1" + chalk "^4.1.1" + cli-cursor "^3.1.0" + cli-width "^3.0.0" + external-editor "^3.0.3" + figures "^3.0.0" + lodash "^4.17.21" + mute-stream "0.0.8" + ora "^5.4.1" + run-async "^2.4.0" + rxjs "^7.5.5" + string-width "^4.1.0" + strip-ansi "^6.0.0" + through "^2.3.6" + wrap-ansi "^7.0.0" + +internal-slot@^1.0.5: + version "1.0.5" + resolved "https://registry.npmmirror.com/internal-slot/-/internal-slot-1.0.5.tgz" + integrity sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ== + dependencies: + get-intrinsic "^1.2.0" + has "^1.0.3" + side-channel "^1.0.4" + +is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: + version "3.0.2" + resolved "https://registry.npmmirror.com/is-array-buffer/-/is-array-buffer-3.0.2.tgz" + integrity sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.2.0" + is-typed-array "^1.1.10" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmmirror.com/is-arrayish/-/is-arrayish-0.2.1.tgz" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-bigint@^1.0.1: + version "1.0.4" + resolved "https://registry.npmmirror.com/is-bigint/-/is-bigint-1.0.4.tgz" + integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== + dependencies: + has-bigints "^1.0.1" + +is-boolean-object@^1.1.0: + version "1.1.2" + resolved "https://registry.npmmirror.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz" + integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-callable@^1.1.3, is-callable@^1.1.4, is-callable@^1.2.7: + version "1.2.7" + resolved "https://registry.npmmirror.com/is-callable/-/is-callable-1.2.7.tgz" + integrity sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA== + +is-core-module@^2.11.0, is-core-module@^2.9.0: + version "2.11.0" + resolved "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.11.0.tgz" + integrity sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw== + dependencies: + has "^1.0.3" + +is-date-object@^1.0.1: + version "1.0.5" + resolved "https://registry.npmmirror.com/is-date-object/-/is-date-object-1.0.5.tgz" + integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== + dependencies: + has-tostringtag "^1.0.0" + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3: + version "4.0.3" + resolved "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-interactive@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/is-interactive/-/is-interactive-1.0.0.tgz" + integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== + +is-module@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/is-module/-/is-module-1.0.0.tgz" + integrity sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g== + +is-negative-zero@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz" + integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== + +is-number-object@^1.0.4: + version "1.0.7" + resolved "https://registry.npmmirror.com/is-number-object/-/is-number-object-1.0.7.tgz" + integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ== + dependencies: + has-tostringtag "^1.0.0" + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-path-inside@^3.0.3: + version "3.0.3" + resolved "https://registry.npmmirror.com/is-path-inside/-/is-path-inside-3.0.3.tgz" + integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== + +is-reference@1.2.1: + version "1.2.1" + resolved "https://registry.npmmirror.com/is-reference/-/is-reference-1.2.1.tgz" + integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ== + dependencies: + "@types/estree" "*" + +is-regex@^1.1.4: + version "1.1.4" + resolved "https://registry.npmmirror.com/is-regex/-/is-regex-1.1.4.tgz" + integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-shared-array-buffer@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz" + integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA== + dependencies: + call-bind "^1.0.2" + +is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/is-stream/-/is-stream-2.0.1.tgz" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== + +is-string@^1.0.5, is-string@^1.0.7: + version "1.0.7" + resolved "https://registry.npmmirror.com/is-string/-/is-string-1.0.7.tgz" + integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== + dependencies: + has-tostringtag "^1.0.0" + +is-symbol@^1.0.2, is-symbol@^1.0.3: + version "1.0.4" + resolved "https://registry.npmmirror.com/is-symbol/-/is-symbol-1.0.4.tgz" + integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== + dependencies: + has-symbols "^1.0.2" + +is-typed-array@^1.1.10, is-typed-array@^1.1.9: + version "1.1.10" + resolved "https://registry.npmmirror.com/is-typed-array/-/is-typed-array-1.1.10.tgz" + integrity sha512-PJqgEHiWZvMpaFZ3uTc8kHPM4+4ADTlDniuQL7cU/UDA0Ql7F70yGfHph3cLNe+c9toaigv+DFzTJKhc2CtO6A== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.0" + +is-unicode-supported@^0.1.0: + version "0.1.0" + resolved "https://registry.npmmirror.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz" + integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== + +is-utf8@^0.2.1: + version "0.2.1" + resolved "https://registry.npmmirror.com/is-utf8/-/is-utf8-0.2.1.tgz" + integrity sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q== + +is-weakref@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/is-weakref/-/is-weakref-1.0.2.tgz" + integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== + dependencies: + call-bind "^1.0.2" + +is-windows@^1.0.1: + version "1.0.2" + resolved "https://registry.npmmirror.com/is-windows/-/is-windows-1.0.2.tgz" + integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/isexe/-/isexe-2.0.0.tgz" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +js-sdsl@^4.1.4: + version "4.4.0" + resolved "https://registry.npmmirror.com/js-sdsl/-/js-sdsl-4.4.0.tgz" + integrity sha512-FfVSdx6pJ41Oa+CF7RDaFmTnCaFhua+SNYQX74riGOpl96x+2jQCqEfQ2bnXu/5DPCqlRuiqyvTJM0Qjz26IVg== + +js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.npmmirror.com/js-yaml/-/js-yaml-4.1.0.tgz" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + +json-parse-even-better-errors@^2.3.0: + version "2.3.1" + resolved "https://registry.npmmirror.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +json-schema-traverse@^0.4.1: + version "0.4.1" + resolved "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz" + integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== + +json-schema-traverse@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz" + integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== + +json-stable-stringify-without-jsonify@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz" + integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw== + +json5@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/json5/-/json5-1.0.2.tgz" + integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA== + dependencies: + minimist "^1.2.0" + +jsonfile@^6.0.1: + version "6.1.0" + resolved "https://registry.npmmirror.com/jsonfile/-/jsonfile-6.1.0.tgz" + integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== + dependencies: + universalify "^2.0.0" + optionalDependencies: + graceful-fs "^4.1.6" + +levn@^0.4.1: + version "0.4.1" + resolved "https://registry.npmmirror.com/levn/-/levn-0.4.1.tgz" + integrity sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ== + dependencies: + prelude-ls "^1.2.1" + type-check "~0.4.0" + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmmirror.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +locate-path@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/locate-path/-/locate-path-5.0.0.tgz" + integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g== + dependencies: + p-locate "^4.1.0" + +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/locate-path/-/locate-path-6.0.0.tgz" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + +lodash.assign@^4.2.0: + version "4.2.0" + resolved "https://registry.npmmirror.com/lodash.assign/-/lodash.assign-4.2.0.tgz" + integrity sha512-hFuH8TY+Yji7Eja3mGiuAxBqLagejScbG8GbG0j6o9vzn0YL14My+ktnqtZgFTosKymC9/44wP6s7xyuLfnClw== + +lodash.isplainobject@^4.0.6: + version "4.0.6" + resolved "https://registry.npmmirror.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz" + integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA== + +lodash.map@^4.5.1: + version "4.6.0" + resolved "https://registry.npmmirror.com/lodash.map/-/lodash.map-4.6.0.tgz" + integrity sha512-worNHGKLDetmcEYDvh2stPCrrQRkP20E4l0iIS7F8EvzMqBBi7ltvFN5m1HvTf1P7Jk1txKhvFcmYsCr8O2F1Q== + +lodash.merge@^4.6.0, lodash.merge@^4.6.2: + version "4.6.2" + resolved "https://registry.npmmirror.com/lodash.merge/-/lodash.merge-4.6.2.tgz" + integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== + +lodash.mergewith@^4.6.2: + version "4.6.2" + resolved "https://registry.npmmirror.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + +lodash.uniq@^4.5.0: + version "4.5.0" + resolved "https://registry.npmmirror.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz" + integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ== + +lodash@^4.17.21, lodash@4.17.21: + version "4.17.21" + resolved "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +log-symbols@^4.1.0: + version "4.1.0" + resolved "https://registry.npmmirror.com/log-symbols/-/log-symbols-4.1.0.tgz" + integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== + dependencies: + chalk "^4.1.0" + is-unicode-supported "^0.1.0" + +loglevel-colored-level-prefix@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/loglevel-colored-level-prefix/-/loglevel-colored-level-prefix-1.0.0.tgz" + integrity sha512-u45Wcxxc+SdAlh4yeF/uKlC1SPUPCy0gullSNKXod5I4bmifzk+Q4lSLExNEVn19tGaJipbZ4V4jbFn79/6mVA== + dependencies: + chalk "^1.1.3" + loglevel "^1.4.1" + +loglevel@^1.4.1: + version "1.8.1" + resolved "https://registry.npmmirror.com/loglevel/-/loglevel-1.8.1.tgz" + integrity sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg== + +longest@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/longest/-/longest-2.0.1.tgz" + integrity sha512-Ajzxb8CM6WAnFjgiloPsI3bF+WCxcvhdIG3KNA2KN962+tdBsHcuQ4k4qX/EcS/2CRkcc0iAkR956Nib6aXU/Q== + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/lru-cache/-/lru-cache-6.0.0.tgz" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +magic-string@^0.25.2: + version "0.25.9" + resolved "https://registry.npmmirror.com/magic-string/-/magic-string-0.25.9.tgz" + integrity sha512-RmF0AsMzgt25qzqqLc1+MbHmhdx0ojF2Fvs4XnOqz2ZOBXzzkEwc/dJQZCYHAn7v1jbVOjAZfK8msRn4BxO4VQ== + dependencies: + sourcemap-codec "^1.4.8" + +magic-string@^0.27.0: + version "0.27.0" + resolved "https://registry.npmmirror.com/magic-string/-/magic-string-0.27.0.tgz" + integrity sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA== + dependencies: + "@jridgewell/sourcemap-codec" "^1.4.13" + +make-dir@^3.0.2: + version "3.1.0" + resolved "https://registry.npmmirror.com/make-dir/-/make-dir-3.1.0.tgz" + integrity sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw== + dependencies: + semver "^6.0.0" + +make-error@^1.1.1: + version "1.3.6" + resolved "https://registry.npmmirror.com/make-error/-/make-error-1.3.6.tgz" + integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/merge-stream/-/merge-stream-2.0.0.tgz" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +merge@^2.1.1: + version "2.1.1" + resolved "https://registry.npmmirror.com/merge/-/merge-2.1.1.tgz" + integrity sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w== + +merge2@^1.3.0, merge2@^1.4.1: + version "1.4.1" + resolved "https://registry.npmmirror.com/merge2/-/merge2-1.4.1.tgz" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== + +mersenne-twister@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/mersenne-twister/-/mersenne-twister-1.1.0.tgz" + integrity sha512-mUYWsMKNrm4lfygPkL3OfGzOPTR2DBlTkBNHM//F6hGp8cLThY897crAlk3/Jo17LEOOjQUrNAx6DvgO77QJkA== + +micromatch@^4.0.2, micromatch@^4.0.4: + version "4.0.5" + resolved "https://registry.npmmirror.com/micromatch/-/micromatch-4.0.5.tgz" + integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + dependencies: + braces "^3.0.2" + picomatch "^2.3.1" + +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/mimic-fn/-/mimic-fn-2.1.0.tgz" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + +minimatch@^3.0.4: + version "3.1.2" + resolved "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimatch@^3.0.5: + version "3.1.2" + resolved "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimatch@^3.1.1: + version "3.1.2" + resolved "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimatch@^3.1.2: + version "3.1.2" + resolved "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimatch@^5.0.1: + version "5.1.4" + resolved "https://registry.npmmirror.com/minimatch/-/minimatch-5.1.4.tgz" + integrity sha512-U0iNYXt9wALljzfnGkhFSy5sAC6/SCR3JrHrlsdJz4kF8MvhTRQNiC59iUi1iqsitV7abrNAJWElVL9pdnoUgw== + dependencies: + brace-expansion "^2.0.1" + +minimist@^1.2.0, minimist@^1.2.6, minimist@1.2.7: + version "1.2.7" + resolved "https://registry.npmmirror.com/minimist/-/minimist-1.2.7.tgz" + integrity sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g== + +mri@^1.1.5: + version "1.2.0" + resolved "https://registry.npmmirror.com/mri/-/mri-1.2.0.tgz" + integrity sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA== + +ms@^2.1.1, ms@2.1.2: + version "2.1.2" + resolved "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +multimatch@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/multimatch/-/multimatch-4.0.0.tgz" + integrity sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ== + dependencies: + "@types/minimatch" "^3.0.3" + array-differ "^3.0.0" + array-union "^2.1.0" + arrify "^2.0.1" + minimatch "^3.0.4" + +mute-stream@0.0.8: + version "0.0.8" + resolved "https://registry.npmmirror.com/mute-stream/-/mute-stream-0.0.8.tgz" + integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== + +natural-compare-lite@^1.4.0: + version "1.4.0" + resolved "https://registry.npmmirror.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz" + integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g== + +natural-compare@^1.4.0: + version "1.4.0" + resolved "https://registry.npmmirror.com/natural-compare/-/natural-compare-1.4.0.tgz" + integrity sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw== + +npm-run-path@^4.0.0: + version "4.0.1" + resolved "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-4.0.1.tgz" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + +object-inspect@^1.12.3, object-inspect@^1.9.0: + version "1.12.3" + resolved "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.12.3.tgz" + integrity sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/object-keys/-/object-keys-1.1.1.tgz" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +object.assign@^4.1.4: + version "4.1.4" + resolved "https://registry.npmmirror.com/object.assign/-/object.assign-4.1.4.tgz" + integrity sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + has-symbols "^1.0.3" + object-keys "^1.1.1" + +object.values@^1.1.6: + version "1.1.6" + resolved "https://registry.npmmirror.com/object.values/-/object.values-1.1.6.tgz" + integrity sha512-FVVTkD1vENCsAcwNs9k6jea2uHC/X0+JcjG8YA60FN5CMaJmG95wT9jek/xX9nornqGRrBkKtzuAu2wuHpKqvw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + +once@^1.3.0, once@^1.3.1, once@^1.4.0: + version "1.4.0" + resolved "https://registry.npmmirror.com/once/-/once-1.4.0.tgz" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +onetime@^5.1.0: + version "5.1.2" + resolved "https://registry.npmmirror.com/onetime/-/onetime-5.1.2.tgz" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + +optionator@^0.9.1: + version "0.9.1" + resolved "https://registry.npmmirror.com/optionator/-/optionator-0.9.1.tgz" + integrity sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw== + dependencies: + deep-is "^0.1.3" + fast-levenshtein "^2.0.6" + levn "^0.4.1" + prelude-ls "^1.2.1" + type-check "^0.4.0" + word-wrap "^1.2.3" + +ora@^5.4.1: + version "5.4.1" + resolved "https://registry.npmmirror.com/ora/-/ora-5.4.1.tgz" + integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ== + dependencies: + bl "^4.1.0" + chalk "^4.1.0" + cli-cursor "^3.1.0" + cli-spinners "^2.5.0" + is-interactive "^1.0.0" + is-unicode-supported "^0.1.0" + log-symbols "^4.1.0" + strip-ansi "^6.0.0" + wcwidth "^1.0.1" + +os-tmpdir@~1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz" + integrity sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g== + +p-limit@^2.2.0: + version "2.3.0" + resolved "https://registry.npmmirror.com/p-limit/-/p-limit-2.3.0.tgz" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + dependencies: + p-try "^2.0.0" + +p-limit@^3.0.2: + version "3.1.0" + resolved "https://registry.npmmirror.com/p-limit/-/p-limit-3.1.0.tgz" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + +p-locate@^4.1.0: + version "4.1.0" + resolved "https://registry.npmmirror.com/p-locate/-/p-locate-4.1.0.tgz" + integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A== + dependencies: + p-limit "^2.2.0" + +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/p-locate/-/p-locate-5.0.0.tgz" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + +p-try@^2.0.0: + version "2.2.0" + resolved "https://registry.npmmirror.com/p-try/-/p-try-2.2.0.tgz" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/parent-module/-/parent-module-1.0.1.tgz" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-json@^5.0.0: + version "5.2.0" + resolved "https://registry.npmmirror.com/parse-json/-/parse-json-5.2.0.tgz" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +parse-passwd@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/parse-passwd/-/parse-passwd-1.0.0.tgz" + integrity sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q== + +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/path-exists/-/path-exists-4.0.0.tgz" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-is-network-drive@^1.0.20: + version "1.0.20" + resolved "https://registry.npmmirror.com/path-is-network-drive/-/path-is-network-drive-1.0.20.tgz" + integrity sha512-p5wCWlRB4+ggzxWshqHH9aF3kAuVu295NaENXmVhThbZPJQBeJdxZTP6CIoUR+kWHDUW56S9YcaO1gXnc/BOxw== + dependencies: + tslib "^2" + +path-key@^3.0.0, path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.npmmirror.com/path-key/-/path-key-3.1.1.tgz" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmmirror.com/path-parse/-/path-parse-1.0.7.tgz" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-strip-sep@^1.0.17: + version "1.0.17" + resolved "https://registry.npmmirror.com/path-strip-sep/-/path-strip-sep-1.0.17.tgz" + integrity sha512-+2zIC2fNgdilgV7pTrktY6oOxxZUo9x5zJYfTzxsGze5kSGDDwhA5/0WlBn+sUyv/WuuyYn3OfM+Ue5nhdQUgA== + dependencies: + tslib "^2" + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/path-type/-/path-type-4.0.0.tgz" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +picomatch@^2.2.2, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +pkg-dir@^4.1.0: + version "4.2.0" + resolved "https://registry.npmmirror.com/pkg-dir/-/pkg-dir-4.2.0.tgz" + integrity sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ== + dependencies: + find-up "^4.0.0" + +"pkg-dir@< 6 >= 5": + version "5.0.0" + resolved "https://registry.npmmirror.com/pkg-dir/-/pkg-dir-5.0.0.tgz" + integrity sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA== + dependencies: + find-up "^5.0.0" + +prelude-ls@^1.2.1: + version "1.2.1" + resolved "https://registry.npmmirror.com/prelude-ls/-/prelude-ls-1.2.1.tgz" + integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== + +prettier-eslint@^15.0.1: + version "15.0.1" + resolved "https://registry.npmmirror.com/prettier-eslint/-/prettier-eslint-15.0.1.tgz" + integrity sha512-mGOWVHixSvpZWARqSDXbdtTL54mMBxc5oQYQ6RAqy8jecuNJBgN3t9E5a81G66F8x8fsKNiR1HWaBV66MJDOpg== + dependencies: + "@types/eslint" "^8.4.2" + "@types/prettier" "^2.6.0" + "@typescript-eslint/parser" "^5.10.0" + common-tags "^1.4.0" + dlv "^1.1.0" + eslint "^8.7.0" + indent-string "^4.0.0" + lodash.merge "^4.6.0" + loglevel-colored-level-prefix "^1.0.0" + prettier "^2.5.1" + pretty-format "^23.0.1" + require-relative "^0.8.7" + typescript "^4.5.4" + vue-eslint-parser "^8.0.1" + +prettier-linter-helpers@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz" + integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== + dependencies: + fast-diff "^1.1.2" + +prettier@^2.5.1, prettier@^2.8.3, prettier@>=2.0.0: + version "2.8.3" + resolved "https://registry.npmmirror.com/prettier/-/prettier-2.8.3.tgz" + integrity sha512-tJ/oJ4amDihPoufT5sM0Z1SKEuKay8LfVAMlbbhnnkvt6BUserZylqo2PN+p9KeljLr0OHa2rXHU1T8reeoTrw== + +pretty-format@^23.0.1: + version "23.6.0" + resolved "https://registry.npmmirror.com/pretty-format/-/pretty-format-23.6.0.tgz" + integrity sha512-zf9NV1NSlDLDjycnwm6hpFATCGl/K1lt0R/GdkAK2O5LN/rwJoB+Mh93gGJjut4YbmecbfgLWVGSTCr0Ewvvbw== + dependencies: + ansi-regex "^3.0.0" + ansi-styles "^3.2.0" + +pretty-quick@^3.1.3: + version "3.1.3" + resolved "https://registry.npmmirror.com/pretty-quick/-/pretty-quick-3.1.3.tgz" + integrity sha512-kOCi2FJabvuh1as9enxYmrnBC6tVMoVOenMaBqRfsvBHB0cbpYHjdQEpSglpASDFEXVwplpcGR4CLEaisYAFcA== + dependencies: + chalk "^3.0.0" + execa "^4.0.0" + find-up "^4.1.0" + ignore "^5.1.4" + mri "^1.1.5" + multimatch "^4.0.0" + +primitive-geometry@^2.9.0: + version "2.9.1" + resolved "https://registry.npmmirror.com/primitive-geometry/-/primitive-geometry-2.9.1.tgz" + integrity sha512-qImUPQPio/CwQX6w52q11T31Z3G0TDJUbiOwt/h8JL3OSqhwHCFPurT/fTwLrCjiFMmxnhjxT+EA5NGIUaKJRA== + +pump@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/pump/-/pump-3.0.0.tgz" + integrity sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww== + dependencies: + end-of-stream "^1.1.0" + once "^1.3.1" + +punycode@^2.1.0: + version "2.3.0" + resolved "https://registry.npmmirror.com/punycode/-/punycode-2.3.0.tgz" + integrity sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA== + +queue-microtask@^1.2.2: + version "1.2.3" + resolved "https://registry.npmmirror.com/queue-microtask/-/queue-microtask-1.2.3.tgz" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== + +randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/randombytes/-/randombytes-2.1.0.tgz" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +readable-stream@^3.4.0: + version "3.6.0" + resolved "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.0.tgz" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +regexp.prototype.flags@^1.4.3: + version "1.5.0" + resolved "https://registry.npmmirror.com/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz" + integrity sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.2.0" + functions-have-names "^1.2.3" + +require-from-string@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/require-from-string/-/require-from-string-2.0.2.tgz" + integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== + +require-relative@^0.8.7: + version "0.8.7" + resolved "https://registry.npmmirror.com/require-relative/-/require-relative-0.8.7.tgz" + integrity sha512-AKGr4qvHiryxRb19m3PsLRGuKVAbJLUD7E6eOaHkfKhwc+vSgVOCY5xNvm9EkolBKTOf0GrQAZKLimOCz81Khg== + +resolve-dir@^1.0.0, resolve-dir@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/resolve-dir/-/resolve-dir-1.0.1.tgz" + integrity sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg== + dependencies: + expand-tilde "^2.0.0" + global-modules "^1.0.0" + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/resolve-from/-/resolve-from-4.0.0.tgz" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve-from@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/resolve-from/-/resolve-from-5.0.0.tgz" + integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== + +resolve-global@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/resolve-global/-/resolve-global-1.0.0.tgz" + integrity sha512-zFa12V4OLtT5XUX/Q4VLvTfBf+Ok0SPc1FNGM/z9ctUdiU618qwKpWnd0CHs3+RqROfyEg/DhuHbMWYqcgljEw== + dependencies: + global-dirs "^0.1.1" + +resolve@^1.11.1, resolve@^1.20.0, resolve@^1.22.1: + version "1.22.1" + resolved "https://registry.npmmirror.com/resolve/-/resolve-1.22.1.tgz" + integrity sha512-nBpuuYuY5jFsli/JIs1oldw6fOQCBioohqWZg/2hiaOybXOft4lonv85uDOKXdf8rhyK159cxU5cDcK/NKk8zw== + dependencies: + is-core-module "^2.9.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +restore-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/restore-cursor/-/restore-cursor-3.1.0.tgz" + integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" + +reusify@^1.0.4: + version "1.0.4" + resolved "https://registry.npmmirror.com/reusify/-/reusify-1.0.4.tgz" + integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== + +rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.npmmirror.com/rimraf/-/rimraf-3.0.2.tgz" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + +rollup-plugin-node-resolve@^5.2.0: + version "5.2.0" + resolved "https://registry.npmmirror.com/rollup-plugin-node-resolve/-/rollup-plugin-node-resolve-5.2.0.tgz" + integrity sha512-jUlyaDXts7TW2CqQ4GaO5VJ4PwwaV8VUGA7+km3n6k6xtOEacf61u0VXwN80phY/evMcaS+9eIeJ9MOyDxt5Zw== + dependencies: + "@types/resolve" "0.0.8" + builtin-modules "^3.1.0" + is-module "^1.0.0" + resolve "^1.11.1" + rollup-pluginutils "^2.8.1" + +rollup-plugin-replace@^2.2.0: + version "2.2.0" + resolved "https://registry.npmmirror.com/rollup-plugin-replace/-/rollup-plugin-replace-2.2.0.tgz" + integrity sha512-/5bxtUPkDHyBJAKketb4NfaeZjL5yLZdeUihSfbF2PQMz+rSTEb8ARKoOl3UBT4m7/X+QOXJo3sLTcq+yMMYTA== + dependencies: + magic-string "^0.25.2" + rollup-pluginutils "^2.6.0" + +rollup-plugin-typescript2@^0.31.1: + version "0.31.2" + resolved "https://registry.npmmirror.com/rollup-plugin-typescript2/-/rollup-plugin-typescript2-0.31.2.tgz" + integrity sha512-hRwEYR1C8xDGVVMFJQdEVnNAeWRvpaY97g5mp3IeLnzhNXzSVq78Ye/BJ9PAaUfN4DXa/uDnqerifMOaMFY54Q== + dependencies: + "@rollup/pluginutils" "^4.1.2" + "@yarn-tool/resolve-package" "^1.0.40" + find-cache-dir "^3.3.2" + fs-extra "^10.0.0" + resolve "^1.20.0" + tslib "^2.3.1" + +rollup-plugin-wgsl@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/rollup-plugin-wgsl/-/rollup-plugin-wgsl-1.0.1.tgz" + integrity sha512-i5arjFLdYzKcguG3Ajm4DpOm2L069BMLNzZv19u9RIB2nGGuzA2DnLbJbDO7lhhY+AgdNEMDTalhhU67GJUN3Q== + +rollup-pluginutils@^2.6.0, rollup-pluginutils@^2.8.1: + version "2.8.2" + resolved "https://registry.npmmirror.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz" + integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ== + dependencies: + estree-walker "^0.6.1" + +rollup@^1.20.0||^2.0.0||^3.0.0, rollup@^2.68.0||^3.0.0, "rollup@^2.x || ^3.x", rollup@>=1.11.0, rollup@>=1.26.3, rollup@3.10.0: + version "3.10.0" + resolved "https://registry.npmmirror.com/rollup/-/rollup-3.10.0.tgz" + integrity sha512-JmRYz44NjC1MjVF2VKxc0M1a97vn+cDxeqWmnwyAF4FvpjK8YFdHpaqvQB+3IxCvX05vJxKZkoMDU8TShhmJVA== + optionalDependencies: + fsevents "~2.3.2" + +run-async@^2.4.0: + version "2.4.1" + resolved "https://registry.npmmirror.com/run-async/-/run-async-2.4.1.tgz" + integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== + +run-parallel@^1.1.9: + version "1.2.0" + resolved "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" + +rxjs@^7.5.5: + version "7.8.0" + resolved "https://registry.npmmirror.com/rxjs/-/rxjs-7.8.0.tgz" + integrity sha512-F2+gxDshqmIub1KdvZkaEfGDwLNpPvk9Fs6LD/MyQxNgMds/WH9OdDDXOmxUZpME+iSK3rQCctkL0DYyytUqMg== + dependencies: + tslib "^2.1.0" + +safe-buffer@^5.1.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.2.1.tgz" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +safe-regex-test@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz" + integrity sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.3" + is-regex "^1.1.4" + +"safer-buffer@>= 2.1.2 < 3": + version "2.1.2" + resolved "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +semver@^6.0.0, semver@^6.3.0: + version "6.3.0" + resolved "https://registry.npmmirror.com/semver/-/semver-6.3.0.tgz" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + +semver@^7.3.5: + version "7.5.1" + resolved "https://registry.npmmirror.com/semver/-/semver-7.5.1.tgz" + integrity sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw== + dependencies: + lru-cache "^6.0.0" + +semver@^7.3.7: + version "7.5.1" + resolved "https://registry.npmmirror.com/semver/-/semver-7.5.1.tgz" + integrity sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw== + dependencies: + lru-cache "^6.0.0" + +serialize-javascript@^6.0.0: + version "6.0.1" + resolved "https://registry.npmmirror.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz" + integrity sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w== + dependencies: + randombytes "^2.1.0" + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/shebang-command/-/shebang-command-2.0.0.tgz" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/shebang-regex/-/shebang-regex-3.0.0.tgz" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +side-channel@^1.0.4: + version "1.0.4" + resolved "https://registry.npmmirror.com/side-channel/-/side-channel-1.0.4.tgz" + integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== + dependencies: + call-bind "^1.0.0" + get-intrinsic "^1.0.2" + object-inspect "^1.9.0" + +signal-exit@^3.0.2: + version "3.0.7" + resolved "https://registry.npmmirror.com/signal-exit/-/signal-exit-3.0.7.tgz" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/slash/-/slash-3.0.0.tgz" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + +smob@^0.0.6: + version "0.0.6" + resolved "https://registry.npmmirror.com/smob/-/smob-0.0.6.tgz" + integrity sha512-V21+XeNni+tTyiST1MHsa84AQhT1aFZipzPpOFAVB8DkHzwJyjjAmt9bgwnuZiZWnIbMo2duE29wybxv/7HWUw== + +source-map-support@~0.5.20: + version "0.5.21" + resolved "https://registry.npmmirror.com/source-map-support/-/source-map-support-0.5.21.tgz" + integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map@^0.6.0: + version "0.6.1" + resolved "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + +sourcemap-codec@^1.4.8: + version "1.4.8" + resolved "https://registry.npmmirror.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz" + integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.3.0.tgz" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +string-width@^4.1.0: + version "4.2.3" + resolved "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string.prototype.trim@^1.2.7: + version "1.2.7" + resolved "https://registry.npmmirror.com/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz" + integrity sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + +string.prototype.trimend@^1.0.6: + version "1.0.6" + resolved "https://registry.npmmirror.com/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz" + integrity sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + +string.prototype.trimstart@^1.0.6: + version "1.0.6" + resolved "https://registry.npmmirror.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz" + integrity sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.4" + es-abstract "^1.20.4" + +strip-ansi@^3.0.0: + version "3.0.1" + resolved "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-3.0.1.tgz" + integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== + dependencies: + ansi-regex "^2.0.0" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-bom@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/strip-bom/-/strip-bom-3.0.0.tgz" + integrity sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA== + +strip-bom@4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/strip-bom/-/strip-bom-4.0.0.tgz" + integrity sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w== + +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== + +strip-json-comments@^3.1.0, strip-json-comments@^3.1.1, strip-json-comments@3.1.1: + version "3.1.1" + resolved "https://registry.npmmirror.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + +supports-color@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/supports-color/-/supports-color-2.0.0.tgz" + integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmmirror.com/supports-color/-/supports-color-5.5.0.tgz" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +terser@^5.15.1: + version "5.16.1" + resolved "https://registry.npmmirror.com/terser/-/terser-5.16.1.tgz" + integrity sha512-xvQfyfA1ayT0qdK47zskQgRZeWLoOQ8JQ6mIgRGVNwZKdQMU+5FkCBjmv4QjcrTzyZquRw2FVtlJSRUmMKQslw== + dependencies: + "@jridgewell/source-map" "^0.3.2" + acorn "^8.5.0" + commander "^2.20.0" + source-map-support "~0.5.20" + +text-table@^0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/text-table/-/text-table-0.2.0.tgz" + integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== + +through@^2.3.6: + version "2.3.8" + resolved "https://registry.npmmirror.com/through/-/through-2.3.8.tgz" + integrity sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg== + +tmp@^0.0.33: + version "0.0.33" + resolved "https://registry.npmmirror.com/tmp/-/tmp-0.0.33.tgz" + integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== + dependencies: + os-tmpdir "~1.0.2" + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +ts-node@^10.8.1, ts-node@>=10: + version "10.9.1" + resolved "https://registry.npmmirror.com/ts-node/-/ts-node-10.9.1.tgz" + integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw== + dependencies: + "@cspotcode/source-map-support" "^0.8.0" + "@tsconfig/node10" "^1.0.7" + "@tsconfig/node12" "^1.0.7" + "@tsconfig/node14" "^1.0.0" + "@tsconfig/node16" "^1.0.2" + acorn "^8.4.1" + acorn-walk "^8.1.1" + arg "^4.1.0" + create-require "^1.1.0" + diff "^4.0.1" + make-error "^1.1.1" + v8-compile-cache-lib "^3.0.1" + yn "3.1.1" + +tsconfig-paths@^3.14.1: + version "3.14.2" + resolved "https://registry.npmmirror.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz" + integrity sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g== + dependencies: + "@types/json5" "^0.0.29" + json5 "^1.0.2" + minimist "^1.2.6" + strip-bom "^3.0.0" + +tslib@^1.8.1: + version "1.14.1" + resolved "https://registry.npmmirror.com/tslib/-/tslib-1.14.1.tgz" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + +tslib@^2, tslib@^2.1.0, tslib@^2.3.1: + version "2.4.1" + resolved "https://registry.npmmirror.com/tslib/-/tslib-2.4.1.tgz" + integrity sha512-tGyy4dAjRIEwI7BzsB0lynWgOpfqjUdq91XXAlIWD2OwKBH7oCl/GZG/HT4BOHrTlPMOASlMQ7veyTqpmRcrNA== + +tsutils@^3.21.0: + version "3.21.0" + resolved "https://registry.npmmirror.com/tsutils/-/tsutils-3.21.0.tgz" + integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== + dependencies: + tslib "^1.8.1" + +type-check@^0.4.0, type-check@~0.4.0: + version "0.4.0" + resolved "https://registry.npmmirror.com/type-check/-/type-check-0.4.0.tgz" + integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew== + dependencies: + prelude-ls "^1.2.1" + +type-fest@^0.20.2: + version "0.20.2" + resolved "https://registry.npmmirror.com/type-fest/-/type-fest-0.20.2.tgz" + integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== + +type-fest@^0.21.3: + version "0.21.3" + resolved "https://registry.npmmirror.com/type-fest/-/type-fest-0.21.3.tgz" + integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== + +typed-array-length@^1.0.4: + version "1.0.4" + resolved "https://registry.npmmirror.com/typed-array-length/-/typed-array-length-1.0.4.tgz" + integrity sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng== + dependencies: + call-bind "^1.0.2" + for-each "^0.3.3" + is-typed-array "^1.1.9" + +typescript@^4.5.4, typescript@^4.6.4, typescript@^4.8.4, typescript@>=2.4.0, typescript@>=2.7, "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta", typescript@>=3: + version "4.9.4" + resolved "https://registry.npmmirror.com/typescript/-/typescript-4.9.4.tgz" + integrity sha512-Uz+dTXYzxXXbsFpM86Wh3dKCxrQqUcVMxwU54orwlJjOpO3ao8L7j5lH+dWfTwgCwIuM9GQ2kvVotzYJMXTBZg== + +unbox-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz" + integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== + dependencies: + call-bind "^1.0.2" + has-bigints "^1.0.2" + has-symbols "^1.0.3" + which-boxed-primitive "^1.0.2" + +universalify@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/universalify/-/universalify-2.0.0.tgz" + integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ== + +upath2@^3.1.13: + version "3.1.19" + resolved "https://registry.npmmirror.com/upath2/-/upath2-3.1.19.tgz" + integrity sha512-d23dQLi8nDWSRTIQwXtaYqMrHuca0As53fNiTLLFDmsGBbepsZepISaB2H1x45bDFN/n3Qw9bydvyZEacTrEWQ== + dependencies: + "@types/node" "*" + path-is-network-drive "^1.0.20" + path-strip-sep "^1.0.17" + tslib "^2" + +uri-js@^4.2.2: + version "4.4.1" + resolved "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== + dependencies: + punycode "^2.1.0" + +util-deprecate@^1.0.1: + version "1.0.2" + resolved "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +v8-compile-cache-lib@^3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz" + integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== + +vue-eslint-parser@^8.0.1: + version "8.3.0" + resolved "https://registry.npmmirror.com/vue-eslint-parser/-/vue-eslint-parser-8.3.0.tgz" + integrity sha512-dzHGG3+sYwSf6zFBa0Gi9ZDshD7+ad14DGOdTLjruRVgZXe2J+DcZ9iUhyR48z5g1PqRa20yt3Njna/veLJL/g== + dependencies: + debug "^4.3.2" + eslint-scope "^7.0.0" + eslint-visitor-keys "^3.1.0" + espree "^9.0.0" + esquery "^1.4.0" + lodash "^4.17.21" + semver "^7.3.5" + +wcwidth@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/wcwidth/-/wcwidth-1.0.1.tgz" + integrity sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg== + dependencies: + defaults "^1.0.3" + +which-boxed-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz" + integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== + dependencies: + is-bigint "^1.0.1" + is-boolean-object "^1.1.0" + is-number-object "^1.0.4" + is-string "^1.0.5" + is-symbol "^1.0.3" + +which-typed-array@^1.1.9: + version "1.1.9" + resolved "https://registry.npmmirror.com/which-typed-array/-/which-typed-array-1.1.9.tgz" + integrity sha512-w9c4xkx6mPidwp7180ckYWfMmvxpjlZuIudNtDf4N/tTAUB8VJbX25qZoAsrtGuYNnGw3pa0AXgbGKRB8/EceA== + dependencies: + available-typed-arrays "^1.0.5" + call-bind "^1.0.2" + for-each "^0.3.3" + gopd "^1.0.1" + has-tostringtag "^1.0.0" + is-typed-array "^1.1.10" + +which@^1.2.14: + version "1.3.1" + resolved "https://registry.npmmirror.com/which/-/which-1.3.1.tgz" + integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== + dependencies: + isexe "^2.0.0" + +which@^2.0.1: + version "2.0.2" + resolved "https://registry.npmmirror.com/which/-/which-2.0.2.tgz" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +word-wrap@^1.0.3, word-wrap@^1.2.3: + version "1.2.3" + resolved "https://registry.npmmirror.com/word-wrap/-/word-wrap-1.2.3.tgz" + integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== + +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrappy@1: + version "1.0.2" + resolved "https://registry.npmmirror.com/wrappy/-/wrappy-1.0.2.tgz" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yn@3.1.1: + version "3.1.1" + resolved "https://registry.npmmirror.com/yn/-/yn-3.1.1.tgz" + integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.npmmirror.com/yocto-queue/-/yocto-queue-0.1.0.tgz" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==