Skip to content

🎥 Make videos programmatically with React

Initial @react-three integration with @remotion/three

Björn Zeutzheim12796d15f245
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 077a0b5e72..475196446e 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,5 +1,4 @@
{
- "editor.tabSize": 2,
"java.configuration.updateBuildConfiguration": "disabled",
"typescript.tsdk": "node_modules/typescript/lib",
"editor.codeActionsOnSave": {
diff --git a/package.json b/package.json
index e683737f11..2aafaaa8d5 100644
--- a/package.json
+++ b/package.json
@@ -12,6 +12,8 @@
},
"devDependencies": {
"@jonny/eslint-config": "^2.1.210",
+ "@react-three/fiber": "^6.0.14",
+ "@react-three/postprocessing": "^2.0.3",
"@types/jest": "^26.0.20",
"@types/minimist": "^1.2.1",
"@types/node": "^14.14.31",
@@ -25,6 +27,7 @@
"prettier": "^2.2.1",
"prettier-plugin-organize-imports": "^1.1.1",
"sharp": "^0.27.2",
+ "three": "^0.125.0",
"ts-jest": "^26.5.1",
"typescript": "^4.1.2"
},
diff --git a/packages/core/package.json b/packages/core/package.json
index ca941f0b46..3760b6e560 100644
--- a/packages/core/package.json
+++ b/packages/core/package.json
@@ -3,6 +3,7 @@
"version": "2.0.2",
"description": "Render videos in React",
"main": "dist/index.js",
+ "types": "dist/index.d.ts",
"sideEffects": false,
"scripts": {
"test": "eslint src --ext ts,tsx && jest",
diff --git a/packages/core/src/video/Video.tsx b/packages/core/src/video/Video.tsx
index 6801d0fce7..0bab6037aa 100644
--- a/packages/core/src/video/Video.tsx
+++ b/packages/core/src/video/Video.tsx
@@ -29,7 +29,7 @@ export const Video: React.FC<RemotionVideoProps & RemotionMainVideoProps> = (
validateMediaProps(props, 'Video');
if (process.env.NODE_ENV === 'development') {
- return <VideoForDevelopment {...props} />;
+ return <VideoForDevelopment {...otherProps} />;
}
- return <VideoForRendering {...props} />;
+ return <VideoForRendering {...otherProps} />;
};
diff --git a/packages/example/package.json b/packages/example/package.json
index 4b6bc9e1b6..75a9259167 100644
--- a/packages/example/package.json
+++ b/packages/example/package.json
@@ -27,6 +27,7 @@
"@remotion/eslint-plugin": "^2.0.2",
"@remotion/gif": "^2.0.2",
"@remotion/media-utils": "^2.0.2",
+ "@remotion/three": "^2.0.2",
"@types/node": "^14.0.13",
"@types/react-native": "^0.64.0",
"@types/styled-components": "^5.1.1",
@@ -39,7 +40,6 @@
"remotion": "^2.0.2",
"styled-components": "^5.1.1",
"svg-path-properties": "^1.0.4",
- "three": "^0.125.0",
"ts-unused-exports": "^7.0.1",
"typescript": "^4.1.2",
"xns": "^2.0.7"
@@ -50,6 +50,11 @@
"eslint": "^7.4.0",
"prettier-plugin-organize-imports": "^1.1.1"
},
+ "peerDependencies": {
+ "@react-three/fiber": "^6.0.14",
+ "@react-three/postprocessing": "^2.0.3",
+ "three": "^0.125.0"
+ },
"publishConfig": {
"access": "public"
}
diff --git a/packages/example/src/ThreeBasic/index.tsx b/packages/example/src/ThreeBasic/index.tsx
new file mode 100644
index 0000000000..da165e1bdf
--- /dev/null
+++ b/packages/example/src/ThreeBasic/index.tsx
@@ -0,0 +1,87 @@
+/// <reference types="@react-three/fiber" />
+
+import React from 'react';
+import { useCurrentFrame } from 'remotion';
+import { RemotionThreeCanvas, SwirlEffect, ThreeVideo } from '@remotion/three';
+import { EffectComposer, Vignette, Bloom, DotScreen, Scanline } from '@react-three/postprocessing';
+
+const videoSrc = 'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4';
+
+const ThreeBasic = (): React.ReactElement => {
+ const frame = useCurrentFrame();
+ const [enableEffects, setEnableEffects] = React.useState(true);
+ return (
+ <div
+ style={{ display: 'flex', width: '100%' }}
+ onClick={() => setEnableEffects(x => !x)}
+ >
+ <RemotionThreeCanvas
+ orthographic={false}
+ camera={{ fov: 75, position: [0, 0, 470] }}
+ >
+ <ambientLight intensity={0.1} />
+ <pointLight args={[undefined, 0.1]} position={[200, 0, 0]} />
+
+ <ThreeVideo ignoreDepth src={videoSrc} startFrom={460} />
+
+ {/* <Sequence
+ layout='none'
+ from={-460}
+ showInTimeline={false}
+ durationInFrames={Number.POSITIVE_INFINITY}
+ >
+ <ThreeVideo ignoreDepth src={videoSrc} />
+ </Sequence> */}
+
+ <mesh
+ position={[-300, -200, 0]}
+ rotation={[frame * 0.06 * 0.5, frame * 0.07 * 0.5, frame * 0.08 * 0.5]}
+ >
+ <boxGeometry args={[100, 100, 100]} />
+ <meshStandardMaterial
+ color={[
+ Math.sin(frame * 0.12) * 0.5 + 0.5,
+ Math.cos(frame * 0.11) * 0.5 + 0.5,
+ Math.sin(frame * 0.08) * 0.5 + 0.5,
+ ]}
+ />
+ </mesh>
+
+ <mesh
+ position={[300, -200, 0]}
+ rotation={[frame * 0.06 * 0.5, frame * 0.07 * 0.5, frame * 0.08 * 0.5]}
+ >
+ <cylinderGeometry args={[50, 50, 180, 24]} />
+ <meshStandardMaterial color='red' />
+ </mesh>
+
+ {enableEffects && (
+ <EffectComposer
+ multisampling={0} // TODO: Remove with three.js v128
+ >
+ {/* <Bloom
+ kernelSize={4}
+ intensity={1.1}
+ luminanceSmoothing={0.04}
+ luminanceThreshold={0.7}
+ /> */}
+ {/* <Noise premultiply opacity={0.6} /> */}
+ {/* <DotScreen scale={0.85} /> */}
+ <SwirlEffect
+ radius={400}
+ offset={[
+ Math.sin(frame * 0.1) * 300,
+ Math.cos(frame * 0.1) * 300
+ ]}
+ angle={Math.cos(frame * 0.013) * 0.6}
+ />
+ <Scanline density={0.9} opacity={0.2} />
+ <Vignette darkness={0.65} />
+ </EffectComposer>
+ )}
+ </RemotionThreeCanvas>
+ </div >
+ );
+};
+
+export default ThreeBasic;
diff --git a/packages/example/src/Video.tsx b/packages/example/src/Video.tsx
index 16a5beec9d..9053431261 100644
--- a/packages/example/src/Video.tsx
+++ b/packages/example/src/Video.tsx
@@ -4,6 +4,7 @@ import {Framer} from './Framer';
import {MissingImg} from './MissingImg';
import RemoteVideo from './RemoteVideo';
import {TenFrameTester} from './TenFrameTester';
+import ThreeBasic from './ThreeBasic';
import {VideoTesting} from './VideoTesting';
export const Index: React.FC = () => {
@@ -240,6 +241,14 @@ export const Index: React.FC = () => {
fps={30}
durationInFrames={600}
/>
+ <Composition
+ id="three-basic"
+ component={ThreeBasic}
+ width={1280}
+ height={720}
+ fps={30}
+ durationInFrames={600}
+ />
</>
);
};
diff --git a/packages/example/tsconfig.json b/packages/example/tsconfig.json
index c8e4a389c0..151e5ac2a1 100644
--- a/packages/example/tsconfig.json
+++ b/packages/example/tsconfig.json
@@ -11,6 +11,7 @@
"references": [
{"path": "../core"},
{"path": "../media-utils"},
- {"path": "../babel-loader"}
+ {"path": "../babel-loader"},
+ {"path": "../three"}
]
}
diff --git a/packages/three/.eslintrc b/packages/three/.eslintrc
new file mode 100644
index 0000000000..29b64f399b
--- /dev/null
+++ b/packages/three/.eslintrc
@@ -0,0 +1,9 @@
+{
+ "extends": "@remotion/eslint-config",
+ "parserOptions": {
+ "project": "./tsconfig.json"
+ },
+ "rules": {
+ "ts-exports/unused-exports": "off"
+ }
+}
diff --git a/packages/three/.npmignore b/packages/three/.npmignore
new file mode 100644
index 0000000000..49f1444687
--- /dev/null
+++ b/packages/three/.npmignore
@@ -0,0 +1,7 @@
+dist/test/**
+src
+.eslintrc
+tsconfig.tsbuildinfo
+.prettierrc
+jest.config.js
+*.tgz
diff --git a/packages/three/.prettierrc b/packages/three/.prettierrc
new file mode 100644
index 0000000000..9dab2d7a0f
--- /dev/null
+++ b/packages/three/.prettierrc
@@ -0,0 +1,14 @@
+{
+ "singleQuote": true,
+ "bracketSpacing": true,
+ "jsxBracketSameLine": false,
+ "useTabs": true,
+ "overrides": [
+ {
+ "files": ["*.yml"],
+ "options": {
+ "singleQuote": false
+ }
+ }
+ ]
+}
diff --git a/packages/three/package-lock.json b/packages/three/package-lock.json
new file mode 100644
index 0000000000..63b3a16fd9
--- /dev/null
+++ b/packages/three/package-lock.json
@@ -0,0 +1,2824 @@
+{
+ "name": "@remotion/three",
+ "version": "2.0.2",
+ "lockfileVersion": 1,
+ "requires": true,
+ "dependencies": {
+ "@babel/code-frame": {
+ "version": "7.12.13",
+ "resolved": "https://npm.bzeutzheim.de/@babel%2fcode-frame/-/code-frame-7.12.13.tgz",
+ "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==",
+ "dev": true,
+ "requires": {
+ "@babel/highlight": "^7.12.13"
+ }
+ },
+ "@babel/generator": {
+ "version": "7.13.9",
+ "resolved": "https://npm.bzeutzheim.de/@babel%2fgenerator/-/generator-7.13.9.tgz",
+ "integrity": "sha512-mHOOmY0Axl/JCTkxTU6Lf5sWOg/v8nUa+Xkt4zMTftX0wqmb6Sh7J8gvcehBw7q0AhrhAR+FDacKjCZ2X8K+Sw==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.13.0",
+ "jsesc": "^2.5.1",
+ "source-map": "^0.5.0"
+ }
+ },
+ "@babel/helper-function-name": {
+ "version": "7.12.13",
+ "resolved": "https://npm.bzeutzheim.de/@babel%2fhelper-function-name/-/helper-function-name-7.12.13.tgz",
+ "integrity": "sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-get-function-arity": "^7.12.13",
+ "@babel/template": "^7.12.13",
+ "@babel/types": "^7.12.13"
+ }
+ },
+ "@babel/helper-get-function-arity": {
+ "version": "7.12.13",
+ "resolved": "https://npm.bzeutzheim.de/@babel%2fhelper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz",
+ "integrity": "sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.12.13"
+ }
+ },
+ "@babel/helper-split-export-declaration": {
+ "version": "7.12.13",
+ "resolved": "https://npm.bzeutzheim.de/@babel%2fhelper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz",
+ "integrity": "sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==",
+ "dev": true,
+ "requires": {
+ "@babel/types": "^7.12.13"
+ }
+ },
+ "@babel/helper-validator-identifier": {
+ "version": "7.12.11",
+ "resolved": "https://npm.bzeutzheim.de/@babel%2fhelper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz",
+ "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==",
+ "dev": true
+ },
+ "@babel/highlight": {
+ "version": "7.13.10",
+ "resolved": "https://npm.bzeutzheim.de/@babel%2fhighlight/-/highlight-7.13.10.tgz",
+ "integrity": "sha512-5aPpe5XQPzflQrFwL1/QoeHkP2MsA4JCntcXHRhEsdsfPVkvPi2w7Qix4iV7t5S/oC9OodGrggd8aco1g3SZFg==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "chalk": "^2.0.0",
+ "js-tokens": "^4.0.0"
+ }
+ },
+ "@babel/parser": {
+ "version": "7.13.15",
+ "resolved": "https://npm.bzeutzheim.de/@babel%2fparser/-/parser-7.13.15.tgz",
+ "integrity": "sha512-b9COtcAlVEQljy/9fbcMHpG+UIW9ReF+gpaxDHTlZd0c6/UU9ng8zdySAW9sRTzpvcdCHn6bUcbuYUgGzLAWVQ==",
+ "dev": true
+ },
+ "@babel/template": {
+ "version": "7.12.13",
+ "resolved": "https://npm.bzeutzheim.de/@babel%2ftemplate/-/template-7.12.13.tgz",
+ "integrity": "sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.12.13",
+ "@babel/parser": "^7.12.13",
+ "@babel/types": "^7.12.13"
+ }
+ },
+ "@babel/traverse": {
+ "version": "7.13.15",
+ "resolved": "https://npm.bzeutzheim.de/@babel%2ftraverse/-/traverse-7.13.15.tgz",
+ "integrity": "sha512-/mpZMNvj6bce59Qzl09fHEs8Bt8NnpEDQYleHUPZQ3wXUMvXi+HJPLars68oAbmp839fGoOkv2pSL2z9ajCIaQ==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.12.13",
+ "@babel/generator": "^7.13.9",
+ "@babel/helper-function-name": "^7.12.13",
+ "@babel/helper-split-export-declaration": "^7.12.13",
+ "@babel/parser": "^7.13.15",
+ "@babel/types": "^7.13.14",
+ "debug": "^4.1.0",
+ "globals": "^11.1.0"
+ }
+ },
+ "@babel/types": {
+ "version": "7.13.14",
+ "resolved": "https://npm.bzeutzheim.de/@babel%2ftypes/-/types-7.13.14.tgz",
+ "integrity": "sha512-A2aa3QTkWoyqsZZFl56MLUsfmh7O0gN41IPvXAE/++8ojpbz12SszD7JEGYVdn4f9Kt4amIei07swF1h4AqmmQ==",
+ "dev": true,
+ "requires": {
+ "@babel/helper-validator-identifier": "^7.12.11",
+ "lodash": "^4.17.19",
+ "to-fast-properties": "^2.0.0"
+ }
+ },
+ "@dsherret/to-absolute-glob": {
+ "version": "2.0.2",
+ "resolved": "https://npm.bzeutzheim.de/@dsherret%2fto-absolute-glob/-/to-absolute-glob-2.0.2.tgz",
+ "integrity": "sha1-H2R13IvZdM6gei2vOGSzF7HdMyw=",
+ "dev": true,
+ "requires": {
+ "is-absolute": "^1.0.0",
+ "is-negated-glob": "^1.0.0"
+ }
+ },
+ "@eslint/eslintrc": {
+ "version": "0.4.0",
+ "resolved": "https://npm.bzeutzheim.de/@eslint%2feslintrc/-/eslintrc-0.4.0.tgz",
+ "integrity": "sha512-2ZPCc+uNbjV5ERJr+aKSPRwZgKd2z11x0EgLvb1PURmUrn9QNRXFqje0Ldq454PfAVyaJYyrDvvIKSFP4NnBog==",
+ "dev": true,
+ "requires": {
+ "ajv": "^6.12.4",
+ "debug": "^4.1.1",
+ "espree": "^7.3.0",
+ "globals": "^12.1.0",
+ "ignore": "^4.0.6",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^3.13.1",
+ "minimatch": "^3.0.4",
+ "strip-json-comments": "^3.1.1"
+ },
+ "dependencies": {
+ "globals": {
+ "version": "12.4.0",
+ "resolved": "https://npm.bzeutzheim.de/globals/-/globals-12.4.0.tgz",
+ "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==",
+ "dev": true,
+ "requires": {
+ "type-fest": "^0.8.1"
+ }
+ },
+ "ignore": {
+ "version": "4.0.6",
+ "resolved": "https://npm.bzeutzheim.de/ignore/-/ignore-4.0.6.tgz",
+ "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
+ "dev": true
+ }
+ }
+ },
+ "@jonny/eslint-config": {
+ "version": "2.1.225",
+ "resolved": "https://npm.bzeutzheim.de/@jonny%2feslint-config/-/eslint-config-2.1.225.tgz",
+ "integrity": "sha512-c6ukPCzyiRU0vA9h50M5nrqXT/Bzn7Z0vWrbts7M0JKvrwAQrHTt3h1CkyLS/odTAPywVa1SyJEatsQ+pFHsxA==",
+ "dev": true,
+ "requires": {
+ "@typescript-eslint/eslint-plugin": "^4.18.0",
+ "@typescript-eslint/parser": "^4.18.0",
+ "babel-eslint": "10.1.0",
+ "eslint-config-prettier": "^6.15.0",
+ "eslint-config-xo": "^0.29.1",
+ "eslint-config-xo-react": "^0.23.0",
+ "eslint-plugin-10x": "^1.5.0",
+ "eslint-plugin-ava": "^10.5.0",
+ "eslint-plugin-fp": "^2.3.0",
+ "eslint-plugin-import": "^2.22.1",
+ "eslint-plugin-promise": "^4.3.1",
+ "eslint-plugin-react": "^7.22.0",
+ "eslint-plugin-react-hooks": "^4.2.0",
+ "eslint-plugin-react-native-normalized": "^1.0.4",
+ "eslint-plugin-ts-exports": "^1.2.4"
+ }
+ },
+ "@nodelib/fs.scandir": {
+ "version": "2.1.4",
+ "resolved": "https://npm.bzeutzheim.de/@nodelib%2ffs.scandir/-/fs.scandir-2.1.4.tgz",
+ "integrity": "sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==",
+ "dev": true,
+ "requires": {
+ "@nodelib/fs.stat": "2.0.4",
+ "run-parallel": "^1.1.9"
+ }
+ },
+ "@nodelib/fs.stat": {
+ "version": "2.0.4",
+ "resolved": "https://npm.bzeutzheim.de/@nodelib%2ffs.stat/-/fs.stat-2.0.4.tgz",
+ "integrity": "sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==",
+ "dev": true
+ },
+ "@nodelib/fs.walk": {
+ "version": "1.2.6",
+ "resolved": "https://npm.bzeutzheim.de/@nodelib%2ffs.walk/-/fs.walk-1.2.6.tgz",
+ "integrity": "sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==",
+ "dev": true,
+ "requires": {
+ "@nodelib/fs.scandir": "2.1.4",
+ "fastq": "^1.6.0"
+ }
+ },
+ "@ts-morph/common": {
+ "version": "0.5.2",
+ "resolved": "https://npm.bzeutzheim.de/@ts-morph%2fcommon/-/common-0.5.2.tgz",
+ "integrity": "sha512-eLmfYV6u6gUgHrB9QV9lpuWg3cD60mhXdv0jvM5exWR/Cor8HG+GziFIj2hPEWHJknqzuU4meZd8DTqIzZfDRQ==",
+ "dev": true,
+ "requires": {
+ "@dsherret/to-absolute-glob": "^2.0.2",
+ "fast-glob": "^3.2.2",
+ "fs-extra": "^9.0.0",
+ "is-negated-glob": "^1.0.0",
+ "multimatch": "^4.0.0",
+ "typescript": "~3.9.7"
+ },
+ "dependencies": {
+ "typescript": {
+ "version": "3.9.9",
+ "resolved": "https://npm.bzeutzheim.de/typescript/-/typescript-3.9.9.tgz",
+ "integrity": "sha512-kdMjTiekY+z/ubJCATUPlRDl39vXYiMV9iyeMuEuXZh2we6zz80uovNN2WlAxmmdE/Z/YQe+EbOEXB5RHEED3w==",
+ "dev": true
+ }
+ }
+ },
+ "@types/json-schema": {
+ "version": "7.0.7",
+ "resolved": "https://npm.bzeutzheim.de/@types%2fjson-schema/-/json-schema-7.0.7.tgz",
+ "integrity": "sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA==",
+ "dev": true
+ },
+ "@types/json5": {
+ "version": "0.0.29",
+ "resolved": "https://npm.bzeutzheim.de/@types%2fjson5/-/json5-0.0.29.tgz",
+ "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=",
+ "dev": true
+ },
+ "@types/minimatch": {
+ "version": "3.0.4",
+ "resolved": "https://npm.bzeutzheim.de/@types%2fminimatch/-/minimatch-3.0.4.tgz",
+ "integrity": "sha512-1z8k4wzFnNjVK/tlxvrWuK5WMt6mydWWP7+zvH5eFep4oj+UkrfiJTRtjCeBXNpwaA/FYqqtb4/QS4ianFpIRA==",
+ "dev": true
+ },
+ "@types/node": {
+ "version": "14.14.37",
+ "resolved": "https://npm.bzeutzheim.de/@types%2fnode/-/node-14.14.37.tgz",
+ "integrity": "sha512-XYmBiy+ohOR4Lh5jE379fV2IU+6Jn4g5qASinhitfyO71b/sCo6MKsMLF5tc7Zf2CE8hViVQyYSobJNke8OvUw==",
+ "dev": true
+ },
+ "@types/parse-json": {
+ "version": "4.0.0",
+ "resolved": "https://npm.bzeutzheim.de/@types%2fparse-json/-/parse-json-4.0.0.tgz",
+ "integrity": "sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==",
+ "dev": true
+ },
+ "@typescript-eslint/eslint-plugin": {
+ "version": "4.22.0",
+ "resolved": "https://npm.bzeutzheim.de/@typescript-eslint%2feslint-plugin/-/eslint-plugin-4.22.0.tgz",
+ "integrity": "sha512-U8SP9VOs275iDXaL08Ln1Fa/wLXfj5aTr/1c0t0j6CdbOnxh+TruXu1p4I0NAvdPBQgoPjHsgKn28mOi0FzfoA==",
+ "dev": true,
+ "requires": {
+ "@typescript-eslint/experimental-utils": "4.22.0",
+ "@typescript-eslint/scope-manager": "4.22.0",
+ "debug": "^4.1.1",
+ "functional-red-black-tree": "^1.0.1",
+ "lodash": "^4.17.15",
+ "regexpp": "^3.0.0",
+ "semver": "^7.3.2",
+ "tsutils": "^3.17.1"
+ }
+ },
+ "@typescript-eslint/experimental-utils": {
+ "version": "4.22.0",
+ "resolved": "https://npm.bzeutzheim.de/@typescript-eslint%2fexperimental-utils/-/experimental-utils-4.22.0.tgz",
+ "integrity": "sha512-xJXHHl6TuAxB5AWiVrGhvbGL8/hbiCQ8FiWwObO3r0fnvBdrbWEDy1hlvGQOAWc6qsCWuWMKdVWlLAEMpxnddg==",
+ "dev": true,
+ "requires": {
+ "@types/json-schema": "^7.0.3",
+ "@typescript-eslint/scope-manager": "4.22.0",
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/typescript-estree": "4.22.0",
+ "eslint-scope": "^5.0.0",
+ "eslint-utils": "^2.0.0"
+ }
+ },
+ "@typescript-eslint/parser": {
+ "version": "4.22.0",
+ "resolved": "https://npm.bzeutzheim.de/@typescript-eslint%2fparser/-/parser-4.22.0.tgz",
+ "integrity": "sha512-z/bGdBJJZJN76nvAY9DkJANYgK3nlRstRRi74WHm3jjgf2I8AglrSY+6l7ogxOmn55YJ6oKZCLLy+6PW70z15Q==",
+ "dev": true,
+ "requires": {
+ "@typescript-eslint/scope-manager": "4.22.0",
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/typescript-estree": "4.22.0",
+ "debug": "^4.1.1"
+ }
+ },
+ "@typescript-eslint/scope-manager": {
+ "version": "4.22.0",
+ "resolved": "https://npm.bzeutzheim.de/@typescript-eslint%2fscope-manager/-/scope-manager-4.22.0.tgz",
+ "integrity": "sha512-OcCO7LTdk6ukawUM40wo61WdeoA7NM/zaoq1/2cs13M7GyiF+T4rxuA4xM+6LeHWjWbss7hkGXjFDRcKD4O04Q==",
+ "dev": true,
+ "requires": {
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/visitor-keys": "4.22.0"
+ }
+ },
+ "@typescript-eslint/types": {
+ "version": "4.22.0",
+ "resolved": "https://npm.bzeutzheim.de/@typescript-eslint%2ftypes/-/types-4.22.0.tgz",
+ "integrity": "sha512-sW/BiXmmyMqDPO2kpOhSy2Py5w6KvRRsKZnV0c4+0nr4GIcedJwXAq+RHNK4lLVEZAJYFltnnk1tJSlbeS9lYA==",
+ "dev": true
+ },
+ "@typescript-eslint/typescript-estree": {
+ "version": "4.22.0",
+ "resolved": "https://npm.bzeutzheim.de/@typescript-eslint%2ftypescript-estree/-/typescript-estree-4.22.0.tgz",
+ "integrity": "sha512-TkIFeu5JEeSs5ze/4NID+PIcVjgoU3cUQUIZnH3Sb1cEn1lBo7StSV5bwPuJQuoxKXlzAObjYTilOEKRuhR5yg==",
+ "dev": true,
+ "requires": {
+ "@typescript-eslint/types": "4.22.0",
+ "@typescript-eslint/visitor-keys": "4.22.0",
+ "debug": "^4.1.1",
+ "globby": "^11.0.1",
+ "is-glob": "^4.0.1",
+ "semver": "^7.3.2",
+ "tsutils": "^3.17.1"
+ }
+ },
+ "@typescript-eslint/visitor-keys": {
+ "version": "4.22.0",
+ "resolved": "https://npm.bzeutzheim.de/@typescript-eslint%2fvisitor-keys/-/visitor-keys-4.22.0.tgz",
+ "integrity": "sha512-nnMu4F+s4o0sll6cBSsTeVsT4cwxB7zECK3dFxzEjPBii9xLpq4yqqsy/FU5zMfan6G60DKZSCXAa3sHJZrcYw==",
+ "dev": true,
+ "requires": {
+ "@typescript-eslint/types": "4.22.0",
+ "eslint-visitor-keys": "^2.0.0"
+ }
+ },
+ "acorn": {
+ "version": "7.4.1",
+ "resolved": "https://npm.bzeutzheim.de/acorn/-/acorn-7.4.1.tgz",
+ "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==",
+ "dev": true
+ },
+ "acorn-jsx": {
+ "version": "5.3.1",
+ "resolved": "https://npm.bzeutzheim.de/acorn-jsx/-/acorn-jsx-5.3.1.tgz",
+ "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==",
+ "dev": true
+ },
+ "ajv": {
+ "version": "6.12.6",
+ "resolved": "https://npm.bzeutzheim.de/ajv/-/ajv-6.12.6.tgz",
+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
+ "dev": true,
+ "requires": {
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
+ }
+ },
+ "ansi-colors": {
+ "version": "4.1.1",
+ "resolved": "https://npm.bzeutzheim.de/ansi-colors/-/ansi-colors-4.1.1.tgz",
+ "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==",
+ "dev": true
+ },
+ "ansi-regex": {
+ "version": "5.0.0",
+ "resolved": "https://npm.bzeutzheim.de/ansi-regex/-/ansi-regex-5.0.0.tgz",
+ "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
+ "dev": true
+ },
+ "ansi-styles": {
+ "version": "3.2.1",
+ "resolved": "https://npm.bzeutzheim.de/ansi-styles/-/ansi-styles-3.2.1.tgz",
+ "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",
+ "dev": true,
+ "requires": {
+ "color-convert": "^1.9.0"
+ }
+ },
+ "argparse": {
+ "version": "1.0.10",
+ "resolved": "https://npm.bzeutzheim.de/argparse/-/argparse-1.0.10.tgz",
+ "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
+ "dev": true,
+ "requires": {
+ "sprintf-js": "~1.0.2"
+ }
+ },
+ "array-differ": {
+ "version": "3.0.0",
+ "resolved": "https://npm.bzeutzheim.de/array-differ/-/array-differ-3.0.0.tgz",
+ "integrity": "sha512-THtfYS6KtME/yIAhKjZ2ul7XI96lQGHRputJQHO80LAWQnuGP4iCIN8vdMRboGbIEYBwU33q8Tch1os2+X0kMg==",
+ "dev": true
+ },
+ "array-includes": {
+ "version": "3.1.3",
+ "resolved": "https://npm.bzeutzheim.de/array-includes/-/array-includes-3.1.3.tgz",
+ "integrity": "sha512-gcem1KlBU7c9rB+Rq8/3PPKsK2kjqeEBa3bD5kkQo4nYlOHQCJqIJFqBXDEfwaRuYTT4E+FxA9xez7Gf/e3Q7A==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.2",
+ "get-intrinsic": "^1.1.1",
+ "is-string": "^1.0.5"
+ }
+ },
+ "array-union": {
+ "version": "2.1.0",
+ "resolved": "https://npm.bzeutzheim.de/array-union/-/array-union-2.1.0.tgz",
+ "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
+ "dev": true
+ },
+ "array.prototype.flat": {
+ "version": "1.2.4",
+ "resolved": "https://npm.bzeutzheim.de/array.prototype.flat/-/array.prototype.flat-1.2.4.tgz",
+ "integrity": "sha512-4470Xi3GAPAjZqFcljX2xzckv1qeKPizoNkiS0+O4IoPR2ZNpcjE0pkhdihlDouK+x6QOast26B4Q/O9DJnwSg==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.1"
+ }
+ },
+ "array.prototype.flatmap": {
+ "version": "1.2.4",
+ "resolved": "https://npm.bzeutzheim.de/array.prototype.flatmap/-/array.prototype.flatmap-1.2.4.tgz",
+ "integrity": "sha512-r9Z0zYoxqHz60vvQbWEdXIEtCwHF0yxaWfno9qzXeNHvfyl3BZqygmGzb84dsubyaXLH4husF+NFgMSdpZhk2Q==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.1",
+ "function-bind": "^1.1.1"
+ }
+ },
+ "arrify": {
+ "version": "2.0.1",
+ "resolved": "https://npm.bzeutzheim.de/arrify/-/arrify-2.0.1.tgz",
+ "integrity": "sha512-3duEwti880xqi4eAMN8AyR4a0ByT90zoYdLlevfrvU43vb0YZwZVfxOgxWrLXXXpyugL0hNZc9G6BiB5B3nUug==",
+ "dev": true
+ },
+ "astral-regex": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/astral-regex/-/astral-regex-2.0.0.tgz",
+ "integrity": "sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==",
+ "dev": true
+ },
+ "at-least-node": {
+ "version": "1.0.0",
+ "resolved": "https://npm.bzeutzheim.de/at-least-node/-/at-least-node-1.0.0.tgz",
+ "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==",
+ "dev": true
+ },
+ "babel-eslint": {
+ "version": "10.1.0",
+ "resolved": "https://npm.bzeutzheim.de/babel-eslint/-/babel-eslint-10.1.0.tgz",
+ "integrity": "sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "^7.0.0",
+ "@babel/parser": "^7.7.0",
+ "@babel/traverse": "^7.7.0",
+ "@babel/types": "^7.7.0",
+ "eslint-visitor-keys": "^1.0.0",
+ "resolve": "^1.12.0"
+ },
+ "dependencies": {
+ "eslint-visitor-keys": {
+ "version": "1.3.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
+ "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
+ "dev": true
+ }
+ }
+ },
+ "balanced-match": {
+ "version": "1.0.2",
+ "resolved": "https://npm.bzeutzheim.de/balanced-match/-/balanced-match-1.0.2.tgz",
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
+ "dev": true
+ },
+ "brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://npm.bzeutzheim.de/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dev": true,
+ "requires": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "braces": {
+ "version": "3.0.2",
+ "resolved": "https://npm.bzeutzheim.de/braces/-/braces-3.0.2.tgz",
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "dev": true,
+ "requires": {
+ "fill-range": "^7.0.1"
+ }
+ },
+ "buf-compare": {
+ "version": "1.0.1",
+ "resolved": "https://npm.bzeutzheim.de/buf-compare/-/buf-compare-1.0.1.tgz",
+ "integrity": "sha1-/vKNqLgROgoNtEMLC2Rntpcws0o=",
+ "dev": true
+ },
+ "call-bind": {
+ "version": "1.0.2",
+ "resolved": "https://npm.bzeutzheim.de/call-bind/-/call-bind-1.0.2.tgz",
+ "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==",
+ "dev": true,
+ "requires": {
+ "function-bind": "^1.1.1",
+ "get-intrinsic": "^1.0.2"
+ }
+ },
+ "callsites": {
+ "version": "3.1.0",
+ "resolved": "https://npm.bzeutzheim.de/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "dev": true
+ },
+ "chalk": {
+ "version": "2.4.2",
+ "resolved": "https://npm.bzeutzheim.de/chalk/-/chalk-2.4.2.tgz",
+ "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",
+ "dev": true,
+ "requires": {
+ "ansi-styles": "^3.2.1",
+ "escape-string-regexp": "^1.0.5",
+ "supports-color": "^5.3.0"
+ }
+ },
+ "code-block-writer": {
+ "version": "10.1.1",
+ "resolved": "https://npm.bzeutzheim.de/code-block-writer/-/code-block-writer-10.1.1.tgz",
+ "integrity": "sha512-67ueh2IRGst/51p0n6FvPrnRjAGHY5F8xdjkgrYE7DDzpJe6qA07RYQ9VcoUeo5ATOjSOiWpSL3SWBRRbempMw==",
+ "dev": true
+ },
+ "color-convert": {
+ "version": "1.9.3",
+ "resolved": "https://npm.bzeutzheim.de/color-convert/-/color-convert-1.9.3.tgz",
+ "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==",
+ "dev": true,
+ "requires": {
+ "color-name": "1.1.3"
+ }
+ },
+ "color-name": {
+ "version": "1.1.3",
+ "resolved": "https://npm.bzeutzheim.de/color-name/-/color-name-1.1.3.tgz",
+ "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=",
+ "dev": true
+ },
+ "commander": {
+ "version": "6.2.1",
+ "resolved": "https://npm.bzeutzheim.de/commander/-/commander-6.2.1.tgz",
+ "integrity": "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==",
+ "dev": true
+ },
+ "concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://npm.bzeutzheim.de/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
+ "dev": true
+ },
+ "confusing-browser-globals": {
+ "version": "1.0.9",
+ "resolved": "https://npm.bzeutzheim.de/confusing-browser-globals/-/confusing-browser-globals-1.0.9.tgz",
+ "integrity": "sha512-KbS1Y0jMtyPgIxjO7ZzMAuUpAKMt1SzCL9fsrKsX6b0zJPTaT0SiSPmewwVZg9UAO83HVIlEhZF84LIjZ0lmAw==",
+ "dev": true
+ },
+ "contains-path": {
+ "version": "0.1.0",
+ "resolved": "https://npm.bzeutzheim.de/contains-path/-/contains-path-0.1.0.tgz",
+ "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=",
+ "dev": true
+ },
+ "core-assert": {
+ "version": "0.2.1",
+ "resolved": "https://npm.bzeutzheim.de/core-assert/-/core-assert-0.2.1.tgz",
+ "integrity": "sha1-+F4s+b/tKPdzzIs/pcW2m9wC/j8=",
+ "dev": true,
+ "requires": {
+ "buf-compare": "^1.0.0",
+ "is-error": "^2.2.0"
+ }
+ },
+ "cosmiconfig": {
+ "version": "7.0.0",
+ "resolved": "https://npm.bzeutzheim.de/cosmiconfig/-/cosmiconfig-7.0.0.tgz",
+ "integrity": "sha512-pondGvTuVYDk++upghXJabWzL6Kxu6f26ljFw64Swq9v6sQPUL3EUlVDV56diOjpCayKihL6hVe8exIACU4XcA==",
+ "dev": true,
+ "requires": {
+ "@types/parse-json": "^4.0.0",
+ "import-fresh": "^3.2.1",
+ "parse-json": "^5.0.0",
+ "path-type": "^4.0.0",
+ "yaml": "^1.10.0"
+ },
+ "dependencies": {
+ "parse-json": {
+ "version": "5.2.0",
+ "resolved": "https://npm.bzeutzheim.de/parse-json/-/parse-json-5.2.0.tgz",
+ "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==",
+ "dev": true,
+ "requires": {
+ "@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"
+ }
+ }
+ }
+ },
+ "create-eslint-index": {
+ "version": "1.0.0",
+ "resolved": "https://npm.bzeutzheim.de/create-eslint-index/-/create-eslint-index-1.0.0.tgz",
+ "integrity": "sha1-2VQ3LYbVeS/NZ+nyt5GxqxYkEbs=",
+ "dev": true,
+ "requires": {
+ "lodash.get": "^4.3.0"
+ }
+ },
+ "cross-spawn": {
+ "version": "7.0.3",
+ "resolved": "https://npm.bzeutzheim.de/cross-spawn/-/cross-spawn-7.0.3.tgz",
+ "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
+ "dev": true,
+ "requires": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ }
+ },
+ "debug": {
+ "version": "4.3.1",
+ "resolved": "https://npm.bzeutzheim.de/debug/-/debug-4.3.1.tgz",
+ "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==",
+ "dev": true,
+ "requires": {
+ "ms": "2.1.2"
+ }
+ },
+ "deep-is": {
+ "version": "0.1.3",
+ "resolved": "https://npm.bzeutzheim.de/deep-is/-/deep-is-0.1.3.tgz",
+ "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=",
+ "dev": true
+ },
+ "deep-strict-equal": {
+ "version": "0.2.0",
+ "resolved": "https://npm.bzeutzheim.de/deep-strict-equal/-/deep-strict-equal-0.2.0.tgz",
+ "integrity": "sha1-SgeBR6irV/ag1PVUckPNIvROtOQ=",
+ "dev": true,
+ "requires": {
+ "core-assert": "^0.2.0"
+ }
+ },
+ "define-properties": {
+ "version": "1.1.3",
+ "resolved": "https://npm.bzeutzheim.de/define-properties/-/define-properties-1.1.3.tgz",
+ "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==",
+ "dev": true,
+ "requires": {
+ "object-keys": "^1.0.12"
+ }
+ },
+ "dir-glob": {
+ "version": "3.0.1",
+ "resolved": "https://npm.bzeutzheim.de/dir-glob/-/dir-glob-3.0.1.tgz",
+ "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
+ "dev": true,
+ "requires": {
+ "path-type": "^4.0.0"
+ }
+ },
+ "doctrine": {
+ "version": "1.5.0",
+ "resolved": "https://npm.bzeutzheim.de/doctrine/-/doctrine-1.5.0.tgz",
+ "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2",
+ "isarray": "^1.0.0"
+ }
+ },
+ "emoji-regex": {
+ "version": "8.0.0",
+ "resolved": "https://npm.bzeutzheim.de/emoji-regex/-/emoji-regex-8.0.0.tgz",
+ "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+ "dev": true
+ },
+ "enhance-visitors": {
+ "version": "1.0.0",
+ "resolved": "https://npm.bzeutzheim.de/enhance-visitors/-/enhance-visitors-1.0.0.tgz",
+ "integrity": "sha1-qpRdBdpGVnKh69OP7i7T2oUY6Vo=",
+ "dev": true,
+ "requires": {
+ "lodash": "^4.13.1"
+ }
+ },
+ "enquirer": {
+ "version": "2.3.6",
+ "resolved": "https://npm.bzeutzheim.de/enquirer/-/enquirer-2.3.6.tgz",
+ "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==",
+ "dev": true,
+ "requires": {
+ "ansi-colors": "^4.1.1"
+ }
+ },
+ "error-ex": {
+ "version": "1.3.2",
+ "resolved": "https://npm.bzeutzheim.de/error-ex/-/error-ex-1.3.2.tgz",
+ "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==",
+ "dev": true,
+ "requires": {
+ "is-arrayish": "^0.2.1"
+ }
+ },
+ "es-abstract": {
+ "version": "1.18.0",
+ "resolved": "https://npm.bzeutzheim.de/es-abstract/-/es-abstract-1.18.0.tgz",
+ "integrity": "sha512-LJzK7MrQa8TS0ja2w3YNLzUgJCGPdPOV1yVvezjNnS89D+VR08+Szt2mz3YB2Dck/+w5tfIq/RoUAFqJJGM2yw==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.2",
+ "es-to-primitive": "^1.2.1",
+ "function-bind": "^1.1.1",
+ "get-intrinsic": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.2",
+ "is-callable": "^1.2.3",
+ "is-negative-zero": "^2.0.1",
+ "is-regex": "^1.1.2",
+ "is-string": "^1.0.5",
+ "object-inspect": "^1.9.0",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.2",
+ "string.prototype.trimend": "^1.0.4",
+ "string.prototype.trimstart": "^1.0.4",
+ "unbox-primitive": "^1.0.0"
+ }
+ },
+ "es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://npm.bzeutzheim.de/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "dev": true,
+ "requires": {
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
+ }
+ },
+ "escape-string-regexp": {
+ "version": "1.0.5",
+ "resolved": "https://npm.bzeutzheim.de/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
+ "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=",
+ "dev": true
+ },
+ "eslint": {
+ "version": "7.23.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint/-/eslint-7.23.0.tgz",
+ "integrity": "sha512-kqvNVbdkjzpFy0XOszNwjkKzZ+6TcwCQ/h+ozlcIWwaimBBuhlQ4nN6kbiM2L+OjDcznkTJxzYfRFH92sx4a0Q==",
+ "dev": true,
+ "requires": {
+ "@babel/code-frame": "7.12.11",
+ "@eslint/eslintrc": "^0.4.0",
+ "ajv": "^6.10.0",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.2",
+ "debug": "^4.0.1",
+ "doctrine": "^3.0.0",
+ "enquirer": "^2.3.5",
+ "eslint-scope": "^5.1.1",
+ "eslint-utils": "^2.1.0",
+ "eslint-visitor-keys": "^2.0.0",
+ "espree": "^7.3.1",
+ "esquery": "^1.4.0",
+ "esutils": "^2.0.2",
+ "file-entry-cache": "^6.0.1",
+ "functional-red-black-tree": "^1.0.1",
+ "glob-parent": "^5.0.0",
+ "globals": "^13.6.0",
+ "ignore": "^4.0.6",
+ "import-fresh": "^3.0.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "js-yaml": "^3.13.1",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "levn": "^0.4.1",
+ "lodash": "^4.17.21",
+ "minimatch": "^3.0.4",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.1",
+ "progress": "^2.0.0",
+ "regexpp": "^3.1.0",
+ "semver": "^7.2.1",
+ "strip-ansi": "^6.0.0",
+ "strip-json-comments": "^3.1.0",
+ "table": "^6.0.4",
+ "text-table": "^0.2.0",
+ "v8-compile-cache": "^2.0.3"
+ },
+ "dependencies": {
+ "@babel/code-frame": {
+ "version": "7.12.11",
+ "resolved": "https://npm.bzeutzheim.de/@babel%2fcode-frame/-/code-frame-7.12.11.tgz",
+ "integrity": "sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==",
+ "dev": true,
+ "requires": {
+ "@babel/highlight": "^7.10.4"
+ }
+ },
+ "ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://npm.bzeutzheim.de/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "requires": {
+ "color-convert": "^2.0.1"
+ }
+ },
+ "chalk": {
+ "version": "4.1.0",
+ "resolved": "https://npm.bzeutzheim.de/chalk/-/chalk-4.1.0.tgz",
+ "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==",
+ "dev": true,
+ "requires": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ }
+ },
+ "color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://npm.bzeutzheim.de/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
+ "requires": {
+ "color-name": "~1.1.4"
+ }
+ },
+ "color-name": {
+ "version": "1.1.4",
+ "resolved": "https://npm.bzeutzheim.de/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true
+ },
+ "doctrine": {
+ "version": "3.0.0",
+ "resolved": "https://npm.bzeutzheim.de/doctrine/-/doctrine-3.0.0.tgz",
+ "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2"
+ }
+ },
+ "globals": {
+ "version": "13.8.0",
+ "resolved": "https://npm.bzeutzheim.de/globals/-/globals-13.8.0.tgz",
+ "integrity": "sha512-rHtdA6+PDBIjeEvA91rpqzEvk/k3/i7EeNQiryiWuJH0Hw9cpyJMAt2jtbAwUaRdhD+573X4vWw6IcjKPasi9Q==",
+ "dev": true,
+ "requires": {
+ "type-fest": "^0.20.2"
+ }
+ },
+ "has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://npm.bzeutzheim.de/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "dev": true
+ },
+ "ignore": {
+ "version": "4.0.6",
+ "resolved": "https://npm.bzeutzheim.de/ignore/-/ignore-4.0.6.tgz",
+ "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://npm.bzeutzheim.de/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dev": true,
+ "requires": {
+ "has-flag": "^4.0.0"
+ }
+ },
+ "type-fest": {
+ "version": "0.20.2",
+ "resolved": "https://npm.bzeutzheim.de/type-fest/-/type-fest-0.20.2.tgz",
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
+ "dev": true
+ }
+ }
+ },
+ "eslint-ast-utils": {
+ "version": "1.1.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint-ast-utils/-/eslint-ast-utils-1.1.0.tgz",
+ "integrity": "sha512-otzzTim2/1+lVrlH19EfQQJEhVJSu0zOb9ygb3iapN6UlyaDtyRq4b5U1FuW0v1lRa9Fp/GJyHkSwm6NqABgCA==",
+ "dev": true,
+ "requires": {
+ "lodash.get": "^4.4.2",
+ "lodash.zip": "^4.2.0"
+ }
+ },
+ "eslint-config-prettier": {
+ "version": "6.15.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz",
+ "integrity": "sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw==",
+ "dev": true,
+ "requires": {
+ "get-stdin": "^6.0.0"
+ }
+ },
+ "eslint-config-xo": {
+ "version": "0.29.1",
+ "resolved": "https://npm.bzeutzheim.de/eslint-config-xo/-/eslint-config-xo-0.29.1.tgz",
+ "integrity": "sha512-RDjeKh8CV0/EH4utW/6uOkwJJOOU+rX3uE5eUBOamcLNe4lNjyo8kSt3B6DzAm1L/1tWGikI7LFNVY9gG7PDQw==",
+ "dev": true,
+ "requires": {
+ "confusing-browser-globals": "1.0.9"
+ }
+ },
+ "eslint-config-xo-react": {
+ "version": "0.23.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint-config-xo-react/-/eslint-config-xo-react-0.23.0.tgz",
+ "integrity": "sha512-yBNoMF6COjJLRijlWksC1Jws6CGWHMgTfR/PAReCdZUo5cg/ZsyNeZx/fntyU4SbARwW2RvuezMeKle+jI5yoA==",
+ "dev": true
+ },
+ "eslint-import-resolver-node": {
+ "version": "0.3.4",
+ "resolved": "https://npm.bzeutzheim.de/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz",
+ "integrity": "sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA==",
+ "dev": true,
+ "requires": {
+ "debug": "^2.6.9",
+ "resolve": "^1.13.1"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://npm.bzeutzheim.de/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dev": true,
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
+ "dev": true
+ }
+ }
+ },
+ "eslint-module-utils": {
+ "version": "2.6.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz",
+ "integrity": "sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA==",
+ "dev": true,
+ "requires": {
+ "debug": "^2.6.9",
+ "pkg-dir": "^2.0.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://npm.bzeutzheim.de/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dev": true,
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "find-up": {
+ "version": "2.1.0",
+ "resolved": "https://npm.bzeutzheim.de/find-up/-/find-up-2.1.0.tgz",
+ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
+ "dev": true,
+ "requires": {
+ "locate-path": "^2.0.0"
+ }
+ },
+ "locate-path": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/locate-path/-/locate-path-2.0.0.tgz",
+ "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=",
+ "dev": true,
+ "requires": {
+ "p-locate": "^2.0.0",
+ "path-exists": "^3.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
+ "dev": true
+ },
+ "p-limit": {
+ "version": "1.3.0",
+ "resolved": "https://npm.bzeutzheim.de/p-limit/-/p-limit-1.3.0.tgz",
+ "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
+ "dev": true,
+ "requires": {
+ "p-try": "^1.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/p-locate/-/p-locate-2.0.0.tgz",
+ "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
+ "dev": true,
+ "requires": {
+ "p-limit": "^1.1.0"
+ }
+ },
+ "p-try": {
+ "version": "1.0.0",
+ "resolved": "https://npm.bzeutzheim.de/p-try/-/p-try-1.0.0.tgz",
+ "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",
+ "dev": true
+ },
+ "path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://npm.bzeutzheim.de/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
+ "dev": true
+ },
+ "pkg-dir": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/pkg-dir/-/pkg-dir-2.0.0.tgz",
+ "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=",
+ "dev": true,
+ "requires": {
+ "find-up": "^2.1.0"
+ }
+ }
+ }
+ },
+ "eslint-plugin-10x": {
+ "version": "1.5.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint-plugin-10x/-/eslint-plugin-10x-1.5.0.tgz",
+ "integrity": "sha512-MZn5wgGgzBwE7SYnrwAhq1vb/vlt/Jw+ycezFr5x/BW1Kn7Uoe3WzKt5T4OITFVS6//BprMTT+79mYQvjlfWTQ==",
+ "dev": true,
+ "requires": {
+ "jsx-ast-utils": "^2.4.1"
+ }
+ },
+ "eslint-plugin-ava": {
+ "version": "10.5.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint-plugin-ava/-/eslint-plugin-ava-10.5.0.tgz",
+ "integrity": "sha512-2I0Ze8ZtwbSlLdnzms4bsa6PxxOxGMIJ9d4yy7aRy3yc5zEO2wHJLic8l3Lrct73hb5ML+PLt5VRqvdV87xWdQ==",
+ "dev": true,
+ "requires": {
+ "deep-strict-equal": "^0.2.0",
+ "enhance-visitors": "^1.0.0",
+ "espree": "^7.1.0",
+ "espurify": "^2.0.1",
+ "import-modules": "^2.0.0",
+ "micro-spelling-correcter": "^1.1.1",
+ "pkg-dir": "^4.2.0",
+ "resolve-from": "^5.0.0"
+ }
+ },
+ "eslint-plugin-fp": {
+ "version": "2.3.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint-plugin-fp/-/eslint-plugin-fp-2.3.0.tgz",
+ "integrity": "sha1-N20qEIcQ6YGYC9w4deO5kg2gSJw=",
+ "dev": true,
+ "requires": {
+ "create-eslint-index": "^1.0.0",
+ "eslint-ast-utils": "^1.0.0",
+ "lodash": "^4.13.1",
+ "req-all": "^0.1.0"
+ }
+ },
+ "eslint-plugin-import": {
+ "version": "2.22.1",
+ "resolved": "https://npm.bzeutzheim.de/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz",
+ "integrity": "sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw==",
+ "dev": true,
+ "requires": {
+ "array-includes": "^3.1.1",
+ "array.prototype.flat": "^1.2.3",
+ "contains-path": "^0.1.0",
+ "debug": "^2.6.9",
+ "doctrine": "1.5.0",
+ "eslint-import-resolver-node": "^0.3.4",
+ "eslint-module-utils": "^2.6.0",
+ "has": "^1.0.3",
+ "minimatch": "^3.0.4",
+ "object.values": "^1.1.1",
+ "read-pkg-up": "^2.0.0",
+ "resolve": "^1.17.0",
+ "tsconfig-paths": "^3.9.0"
+ },
+ "dependencies": {
+ "debug": {
+ "version": "2.6.9",
+ "resolved": "https://npm.bzeutzheim.de/debug/-/debug-2.6.9.tgz",
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
+ "dev": true,
+ "requires": {
+ "ms": "2.0.0"
+ }
+ },
+ "ms": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/ms/-/ms-2.0.0.tgz",
+ "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=",
+ "dev": true
+ }
+ }
+ },
+ "eslint-plugin-promise": {
+ "version": "4.3.1",
+ "resolved": "https://npm.bzeutzheim.de/eslint-plugin-promise/-/eslint-plugin-promise-4.3.1.tgz",
+ "integrity": "sha512-bY2sGqyptzFBDLh/GMbAxfdJC+b0f23ME63FOE4+Jao0oZ3E1LEwFtWJX/1pGMJLiTtrSSern2CRM/g+dfc0eQ==",
+ "dev": true
+ },
+ "eslint-plugin-react": {
+ "version": "7.23.2",
+ "resolved": "https://npm.bzeutzheim.de/eslint-plugin-react/-/eslint-plugin-react-7.23.2.tgz",
+ "integrity": "sha512-AfjgFQB+nYszudkxRkTFu0UR1zEQig0ArVMPloKhxwlwkzaw/fBiH0QWcBBhZONlXqQC51+nfqFrkn4EzHcGBw==",
+ "dev": true,
+ "requires": {
+ "array-includes": "^3.1.3",
+ "array.prototype.flatmap": "^1.2.4",
+ "doctrine": "^2.1.0",
+ "has": "^1.0.3",
+ "jsx-ast-utils": "^2.4.1 || ^3.0.0",
+ "minimatch": "^3.0.4",
+ "object.entries": "^1.1.3",
+ "object.fromentries": "^2.0.4",
+ "object.values": "^1.1.3",
+ "prop-types": "^15.7.2",
+ "resolve": "^2.0.0-next.3",
+ "string.prototype.matchall": "^4.0.4"
+ },
+ "dependencies": {
+ "doctrine": {
+ "version": "2.1.0",
+ "resolved": "https://npm.bzeutzheim.de/doctrine/-/doctrine-2.1.0.tgz",
+ "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
+ "dev": true,
+ "requires": {
+ "esutils": "^2.0.2"
+ }
+ },
+ "resolve": {
+ "version": "2.0.0-next.3",
+ "resolved": "https://npm.bzeutzheim.de/resolve/-/resolve-2.0.0-next.3.tgz",
+ "integrity": "sha512-W8LucSynKUIDu9ylraa7ueVZ7hc0uAgJBxVsQSKOXOyle8a93qXhcz+XAXZ8bIq2d6i4Ehddn6Evt+0/UwKk6Q==",
+ "dev": true,
+ "requires": {
+ "is-core-module": "^2.2.0",
+ "path-parse": "^1.0.6"
+ }
+ }
+ }
+ },
+ "eslint-plugin-react-hooks": {
+ "version": "4.2.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.2.0.tgz",
+ "integrity": "sha512-623WEiZJqxR7VdxFCKLI6d6LLpwJkGPYKODnkH3D7WpOG5KM8yWueBd8TLsNAetEJNF5iJmolaAKO3F8yzyVBQ==",
+ "dev": true
+ },
+ "eslint-plugin-react-native-normalized": {
+ "version": "1.1.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint-plugin-react-native-normalized/-/eslint-plugin-react-native-normalized-1.1.0.tgz",
+ "integrity": "sha512-weEhGC5YssE/eFiZFLMX3mgYBT9OuTQG9CBRSURXFGcw+X2e3+FC6Rh9cpXUNLGPHvShUOpetf8kAXzqjS6dMg==",
+ "dev": true
+ },
+ "eslint-plugin-ts-exports": {
+ "version": "1.2.5",
+ "resolved": "https://npm.bzeutzheim.de/eslint-plugin-ts-exports/-/eslint-plugin-ts-exports-1.2.5.tgz",
+ "integrity": "sha512-FlsOOE48hvWCv7tMeNBHeMl0QYG4p7nmGPxV00IIsobTzo9hpMdUzeH/+tuQ5Um1v9AIsLdoVQVqbO/wRUV6qw==",
+ "dev": true,
+ "requires": {
+ "@typescript-eslint/experimental-utils": "^4.12.0",
+ "ts-prune": "https://firebasestorage.googleapis.com/v0/b/start-react-native.appspot.com/o/ts-prune-v0.0.3-wcandillon.tgz?alt=media&token=f5c337f6-c8bb-41dd-a958-cb9c52e2f6d1",
+ "typescript": "^4.1.3"
+ },
+ "dependencies": {
+ "json5": {
+ "version": "2.2.0",
+ "resolved": "https://npm.bzeutzheim.de/json5/-/json5-2.2.0.tgz",
+ "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==",
+ "dev": true,
+ "requires": {
+ "minimist": "^1.2.5"
+ }
+ },
+ "ts-prune": {
+ "version": "https://firebasestorage.googleapis.com/v0/b/start-react-native.appspot.com/o/ts-prune-v0.0.3-wcandillon.tgz?alt=media&token=f5c337f6-c8bb-41dd-a958-cb9c52e2f6d1",
+ "integrity": "sha512-9pww8CNfiJZoRSpmfdjBV7j3taKfCBK+/W9AvJLffH6IqnttSDAk0sKYim3oZ04qYxSJp1PmG3uxywWnxvvjRw==",
+ "dev": true,
+ "requires": {
+ "commander": "^6.2.1",
+ "cosmiconfig": "^7.0.0",
+ "json5": "^2.1.3",
+ "lodash": "^4.17.20",
+ "true-myth": "^4.1.0",
+ "ts-morph": "^7.3.0"
+ }
+ }
+ }
+ },
+ "eslint-scope": {
+ "version": "5.1.1",
+ "resolved": "https://npm.bzeutzheim.de/eslint-scope/-/eslint-scope-5.1.1.tgz",
+ "integrity": "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==",
+ "dev": true,
+ "requires": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^4.1.1"
+ }
+ },
+ "eslint-utils": {
+ "version": "2.1.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint-utils/-/eslint-utils-2.1.0.tgz",
+ "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==",
+ "dev": true,
+ "requires": {
+ "eslint-visitor-keys": "^1.1.0"
+ },
+ "dependencies": {
+ "eslint-visitor-keys": {
+ "version": "1.3.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
+ "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
+ "dev": true
+ }
+ }
+ },
+ "eslint-visitor-keys": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz",
+ "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==",
+ "dev": true
+ },
+ "espree": {
+ "version": "7.3.1",
+ "resolved": "https://npm.bzeutzheim.de/espree/-/espree-7.3.1.tgz",
+ "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==",
+ "dev": true,
+ "requires": {
+ "acorn": "^7.4.0",
+ "acorn-jsx": "^5.3.1",
+ "eslint-visitor-keys": "^1.3.0"
+ },
+ "dependencies": {
+ "eslint-visitor-keys": {
+ "version": "1.3.0",
+ "resolved": "https://npm.bzeutzheim.de/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz",
+ "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==",
+ "dev": true
+ }
+ }
+ },
+ "esprima": {
+ "version": "4.0.1",
+ "resolved": "https://npm.bzeutzheim.de/esprima/-/esprima-4.0.1.tgz",
+ "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==",
+ "dev": true
+ },
+ "espurify": {
+ "version": "2.1.1",
+ "resolved": "https://npm.bzeutzheim.de/espurify/-/espurify-2.1.1.tgz",
+ "integrity": "sha512-zttWvnkhcDyGOhSH4vO2qCBILpdCMv/MX8lp4cqgRkQoDRGK2oZxi2GfWhlP2dIXmk7BaKeOTuzbHhyC68o8XQ==",
+ "dev": true
+ },
+ "esquery": {
+ "version": "1.4.0",
+ "resolved": "https://npm.bzeutzheim.de/esquery/-/esquery-1.4.0.tgz",
+ "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==",
+ "dev": true,
+ "requires": {
+ "estraverse": "^5.1.0"
+ },
+ "dependencies": {
+ "estraverse": {
+ "version": "5.2.0",
+ "resolved": "https://npm.bzeutzheim.de/estraverse/-/estraverse-5.2.0.tgz",
+ "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==",
+ "dev": true
+ }
+ }
+ },
+ "esrecurse": {
+ "version": "4.3.0",
+ "resolved": "https://npm.bzeutzheim.de/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
+ "dev": true,
+ "requires": {
+ "estraverse": "^5.2.0"
+ },
+ "dependencies": {
+ "estraverse": {
+ "version": "5.2.0",
+ "resolved": "https://npm.bzeutzheim.de/estraverse/-/estraverse-5.2.0.tgz",
+ "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==",
+ "dev": true
+ }
+ }
+ },
+ "estraverse": {
+ "version": "4.3.0",
+ "resolved": "https://npm.bzeutzheim.de/estraverse/-/estraverse-4.3.0.tgz",
+ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
+ "dev": true
+ },
+ "esutils": {
+ "version": "2.0.3",
+ "resolved": "https://npm.bzeutzheim.de/esutils/-/esutils-2.0.3.tgz",
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
+ "dev": true
+ },
+ "fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://npm.bzeutzheim.de/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "dev": true
+ },
+ "fast-glob": {
+ "version": "3.2.5",
+ "resolved": "https://npm.bzeutzheim.de/fast-glob/-/fast-glob-3.2.5.tgz",
+ "integrity": "sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg==",
+ "dev": true,
+ "requires": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.0",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.2",
+ "picomatch": "^2.2.1"
+ }
+ },
+ "fast-json-stable-stringify": {
+ "version": "2.1.0",
+ "resolved": "https://npm.bzeutzheim.de/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
+ "dev": true
+ },
+ "fast-levenshtein": {
+ "version": "2.0.6",
+ "resolved": "https://npm.bzeutzheim.de/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
+ "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=",
+ "dev": true
+ },
+ "fastq": {
+ "version": "1.11.0",
+ "resolved": "https://npm.bzeutzheim.de/fastq/-/fastq-1.11.0.tgz",
+ "integrity": "sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g==",
+ "dev": true,
+ "requires": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "file-entry-cache": {
+ "version": "6.0.1",
+ "resolved": "https://npm.bzeutzheim.de/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
+ "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
+ "dev": true,
+ "requires": {
+ "flat-cache": "^3.0.4"
+ }
+ },
+ "fill-range": {
+ "version": "7.0.1",
+ "resolved": "https://npm.bzeutzheim.de/fill-range/-/fill-range-7.0.1.tgz",
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "dev": true,
+ "requires": {
+ "to-regex-range": "^5.0.1"
+ }
+ },
+ "find-up": {
+ "version": "4.1.0",
+ "resolved": "https://npm.bzeutzheim.de/find-up/-/find-up-4.1.0.tgz",
+ "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
+ "dev": true,
+ "requires": {
+ "locate-path": "^5.0.0",
+ "path-exists": "^4.0.0"
+ }
+ },
+ "flat-cache": {
+ "version": "3.0.4",
+ "resolved": "https://npm.bzeutzheim.de/flat-cache/-/flat-cache-3.0.4.tgz",
+ "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==",
+ "dev": true,
+ "requires": {
+ "flatted": "^3.1.0",
+ "rimraf": "^3.0.2"
+ }
+ },
+ "flatted": {
+ "version": "3.1.1",
+ "resolved": "https://npm.bzeutzheim.de/flatted/-/flatted-3.1.1.tgz",
+ "integrity": "sha512-zAoAQiudy+r5SvnSw3KJy5os/oRJYHzrzja/tBDqrZtNhUw8bt6y8OBzMWcjWr+8liV8Eb6yOhw8WZ7VFZ5ZzA==",
+ "dev": true
+ },
+ "fs-extra": {
+ "version": "9.1.0",
+ "resolved": "https://npm.bzeutzheim.de/fs-extra/-/fs-extra-9.1.0.tgz",
+ "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==",
+ "dev": true,
+ "requires": {
+ "at-least-node": "^1.0.0",
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ }
+ },
+ "fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://npm.bzeutzheim.de/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
+ "dev": true
+ },
+ "function-bind": {
+ "version": "1.1.1",
+ "resolved": "https://npm.bzeutzheim.de/function-bind/-/function-bind-1.1.1.tgz",
+ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==",
+ "dev": true
+ },
+ "functional-red-black-tree": {
+ "version": "1.0.1",
+ "resolved": "https://npm.bzeutzheim.de/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz",
+ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=",
+ "dev": true
+ },
+ "get-intrinsic": {
+ "version": "1.1.1",
+ "resolved": "https://npm.bzeutzheim.de/get-intrinsic/-/get-intrinsic-1.1.1.tgz",
+ "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==",
+ "dev": true,
+ "requires": {
+ "function-bind": "^1.1.1",
+ "has": "^1.0.3",
+ "has-symbols": "^1.0.1"
+ }
+ },
+ "get-stdin": {
+ "version": "6.0.0",
+ "resolved": "https://npm.bzeutzheim.de/get-stdin/-/get-stdin-6.0.0.tgz",
+ "integrity": "sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==",
+ "dev": true
+ },
+ "glob": {
+ "version": "7.1.6",
+ "resolved": "https://npm.bzeutzheim.de/glob/-/glob-7.1.6.tgz",
+ "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==",
+ "dev": true,
+ "requires": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.0.4",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ }
+ },
+ "glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://npm.bzeutzheim.de/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dev": true,
+ "requires": {
+ "is-glob": "^4.0.1"
+ }
+ },
+ "globals": {
+ "version": "11.12.0",
+ "resolved": "https://npm.bzeutzheim.de/globals/-/globals-11.12.0.tgz",
+ "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==",
+ "dev": true
+ },
+ "globby": {
+ "version": "11.0.3",
+ "resolved": "https://npm.bzeutzheim.de/globby/-/globby-11.0.3.tgz",
+ "integrity": "sha512-ffdmosjA807y7+lA1NM0jELARVmYul/715xiILEjo3hBLPTcirgQNnXECn5g3mtR8TOLCVbkfua1Hpen25/Xcg==",
+ "dev": true,
+ "requires": {
+ "array-union": "^2.1.0",
+ "dir-glob": "^3.0.1",
+ "fast-glob": "^3.1.1",
+ "ignore": "^5.1.4",
+ "merge2": "^1.3.0",
+ "slash": "^3.0.0"
+ }
+ },
+ "graceful-fs": {
+ "version": "4.2.6",
+ "resolved": "https://npm.bzeutzheim.de/graceful-fs/-/graceful-fs-4.2.6.tgz",
+ "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==",
+ "dev": true
+ },
+ "has": {
+ "version": "1.0.3",
+ "resolved": "https://npm.bzeutzheim.de/has/-/has-1.0.3.tgz",
+ "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==",
+ "dev": true,
+ "requires": {
+ "function-bind": "^1.1.1"
+ }
+ },
+ "has-bigints": {
+ "version": "1.0.1",
+ "resolved": "https://npm.bzeutzheim.de/has-bigints/-/has-bigints-1.0.1.tgz",
+ "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==",
+ "dev": true
+ },
+ "has-flag": {
+ "version": "3.0.0",
+ "resolved": "https://npm.bzeutzheim.de/has-flag/-/has-flag-3.0.0.tgz",
+ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=",
+ "dev": true
+ },
+ "has-symbols": {
+ "version": "1.0.2",
+ "resolved": "https://npm.bzeutzheim.de/has-symbols/-/has-symbols-1.0.2.tgz",
+ "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==",
+ "dev": true
+ },
+ "hosted-git-info": {
+ "version": "2.8.9",
+ "resolved": "https://npm.bzeutzheim.de/hosted-git-info/-/hosted-git-info-2.8.9.tgz",
+ "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==",
+ "dev": true
+ },
+ "ignore": {
+ "version": "5.1.8",
+ "resolved": "https://npm.bzeutzheim.de/ignore/-/ignore-5.1.8.tgz",
+ "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==",
+ "dev": true
+ },
+ "import-fresh": {
+ "version": "3.3.0",
+ "resolved": "https://npm.bzeutzheim.de/import-fresh/-/import-fresh-3.3.0.tgz",
+ "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
+ "dev": true,
+ "requires": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ },
+ "dependencies": {
+ "resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://npm.bzeutzheim.de/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "dev": true
+ }
+ }
+ },
+ "import-modules": {
+ "version": "2.1.0",
+ "resolved": "https://npm.bzeutzheim.de/import-modules/-/import-modules-2.1.0.tgz",
+ "integrity": "sha512-8HEWcnkbGpovH9yInoisxaSoIg9Brbul+Ju3Kqe2UsYDUBJD/iQjSgEj0zPcTDPKfPp2fs5xlv1i+JSye/m1/A==",
+ "dev": true
+ },
+ "imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://npm.bzeutzheim.de/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=",
+ "dev": true
+ },
+ "inflight": {
+ "version": "1.0.6",
+ "resolved": "https://npm.bzeutzheim.de/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
+ "dev": true,
+ "requires": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "inherits": {
+ "version": "2.0.4",
+ "resolved": "https://npm.bzeutzheim.de/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "dev": true
+ },
+ "internal-slot": {
+ "version": "1.0.3",
+ "resolved": "https://npm.bzeutzheim.de/internal-slot/-/internal-slot-1.0.3.tgz",
+ "integrity": "sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA==",
+ "dev": true,
+ "requires": {
+ "get-intrinsic": "^1.1.0",
+ "has": "^1.0.3",
+ "side-channel": "^1.0.4"
+ }
+ },
+ "is-absolute": {
+ "version": "1.0.0",
+ "resolved": "https://npm.bzeutzheim.de/is-absolute/-/is-absolute-1.0.0.tgz",
+ "integrity": "sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA==",
+ "dev": true,
+ "requires": {
+ "is-relative": "^1.0.0",
+ "is-windows": "^1.0.1"
+ }
+ },
+ "is-arrayish": {
+ "version": "0.2.1",
+ "resolved": "https://npm.bzeutzheim.de/is-arrayish/-/is-arrayish-0.2.1.tgz",
+ "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=",
+ "dev": true
+ },
+ "is-bigint": {
+ "version": "1.0.1",
+ "resolved": "https://npm.bzeutzheim.de/is-bigint/-/is-bigint-1.0.1.tgz",
+ "integrity": "sha512-J0ELF4yHFxHy0cmSxZuheDOz2luOdVvqjwmEcj8H/L1JHeuEDSDbeRP+Dk9kFVk5RTFzbucJ2Kb9F7ixY2QaCg==",
+ "dev": true
+ },
+ "is-boolean-object": {
+ "version": "1.1.0",
+ "resolved": "https://npm.bzeutzheim.de/is-boolean-object/-/is-boolean-object-1.1.0.tgz",
+ "integrity": "sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.0"
+ }
+ },
+ "is-callable": {
+ "version": "1.2.3",
+ "resolved": "https://npm.bzeutzheim.de/is-callable/-/is-callable-1.2.3.tgz",
+ "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==",
+ "dev": true
+ },
+ "is-core-module": {
+ "version": "2.2.0",
+ "resolved": "https://npm.bzeutzheim.de/is-core-module/-/is-core-module-2.2.0.tgz",
+ "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==",
+ "dev": true,
+ "requires": {
+ "has": "^1.0.3"
+ }
+ },
+ "is-date-object": {
+ "version": "1.0.2",
+ "resolved": "https://npm.bzeutzheim.de/is-date-object/-/is-date-object-1.0.2.tgz",
+ "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==",
+ "dev": true
+ },
+ "is-error": {
+ "version": "2.2.2",
+ "resolved": "https://npm.bzeutzheim.de/is-error/-/is-error-2.2.2.tgz",
+ "integrity": "sha512-IOQqts/aHWbiisY5DuPJQ0gcbvaLFCa7fBa9xoLfxBZvQ+ZI/Zh9xoI7Gk+G64N0FdK4AbibytHht2tWgpJWLg==",
+ "dev": true
+ },
+ "is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://npm.bzeutzheim.de/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=",
+ "dev": true
+ },
+ "is-fullwidth-code-point": {
+ "version": "3.0.0",
+ "resolved": "https://npm.bzeutzheim.de/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+ "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+ "dev": true
+ },
+ "is-glob": {
+ "version": "4.0.1",
+ "resolved": "https://npm.bzeutzheim.de/is-glob/-/is-glob-4.0.1.tgz",
+ "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==",
+ "dev": true,
+ "requires": {
+ "is-extglob": "^2.1.1"
+ }
+ },
+ "is-negated-glob": {
+ "version": "1.0.0",
+ "resolved": "https://npm.bzeutzheim.de/is-negated-glob/-/is-negated-glob-1.0.0.tgz",
+ "integrity": "sha1-aRC8pdqMleeEtXUbl2z1oQ/uNtI=",
+ "dev": true
+ },
+ "is-negative-zero": {
+ "version": "2.0.1",
+ "resolved": "https://npm.bzeutzheim.de/is-negative-zero/-/is-negative-zero-2.0.1.tgz",
+ "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==",
+ "dev": true
+ },
+ "is-number": {
+ "version": "7.0.0",
+ "resolved": "https://npm.bzeutzheim.de/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "dev": true
+ },
+ "is-number-object": {
+ "version": "1.0.4",
+ "resolved": "https://npm.bzeutzheim.de/is-number-object/-/is-number-object-1.0.4.tgz",
+ "integrity": "sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw==",
+ "dev": true
+ },
+ "is-regex": {
+ "version": "1.1.2",
+ "resolved": "https://npm.bzeutzheim.de/is-regex/-/is-regex-1.1.2.tgz",
+ "integrity": "sha512-axvdhb5pdhEVThqJzYXwMlVuZwC+FF2DpcOhTS+y/8jVq4trxyPgfcwIxIKiyeuLlSQYKkmUaPQJ8ZE4yNKXDg==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.2",
+ "has-symbols": "^1.0.1"
+ }
+ },
+ "is-relative": {
+ "version": "1.0.0",
+ "resolved": "https://npm.bzeutzheim.de/is-relative/-/is-relative-1.0.0.tgz",
+ "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==",
+ "dev": true,
+ "requires": {
+ "is-unc-path": "^1.0.0"
+ }
+ },
+ "is-string": {
+ "version": "1.0.5",
+ "resolved": "https://npm.bzeutzheim.de/is-string/-/is-string-1.0.5.tgz",
+ "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==",
+ "dev": true
+ },
+ "is-symbol": {
+ "version": "1.0.3",
+ "resolved": "https://npm.bzeutzheim.de/is-symbol/-/is-symbol-1.0.3.tgz",
+ "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==",
+ "dev": true,
+ "requires": {
+ "has-symbols": "^1.0.1"
+ }
+ },
+ "is-unc-path": {
+ "version": "1.0.0",
+ "resolved": "https://npm.bzeutzheim.de/is-unc-path/-/is-unc-path-1.0.0.tgz",
+ "integrity": "sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ==",
+ "dev": true,
+ "requires": {
+ "unc-path-regex": "^0.1.2"
+ }
+ },
+ "is-windows": {
+ "version": "1.0.2",
+ "resolved": "https://npm.bzeutzheim.de/is-windows/-/is-windows-1.0.2.tgz",
+ "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==",
+ "dev": true
+ },
+ "isarray": {
+ "version": "1.0.0",
+ "resolved": "https://npm.bzeutzheim.de/isarray/-/isarray-1.0.0.tgz",
+ "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=",
+ "dev": true
+ },
+ "isexe": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=",
+ "dev": true
+ },
+ "js-tokens": {
+ "version": "4.0.0",
+ "resolved": "https://npm.bzeutzheim.de/js-tokens/-/js-tokens-4.0.0.tgz",
+ "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==",
+ "dev": true
+ },
+ "js-yaml": {
+ "version": "3.14.1",
+ "resolved": "https://npm.bzeutzheim.de/js-yaml/-/js-yaml-3.14.1.tgz",
+ "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==",
+ "dev": true,
+ "requires": {
+ "argparse": "^1.0.7",
+ "esprima": "^4.0.0"
+ }
+ },
+ "jsesc": {
+ "version": "2.5.2",
+ "resolved": "https://npm.bzeutzheim.de/jsesc/-/jsesc-2.5.2.tgz",
+ "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==",
+ "dev": true
+ },
+ "json-parse-even-better-errors": {
+ "version": "2.3.1",
+ "resolved": "https://npm.bzeutzheim.de/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz",
+ "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==",
+ "dev": true
+ },
+ "json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://npm.bzeutzheim.de/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true
+ },
+ "json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://npm.bzeutzheim.de/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=",
+ "dev": true
+ },
+ "json5": {
+ "version": "1.0.1",
+ "resolved": "https://npm.bzeutzheim.de/json5/-/json5-1.0.1.tgz",
+ "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==",
+ "dev": true,
+ "requires": {
+ "minimist": "^1.2.0"
+ }
+ },
+ "jsonfile": {
+ "version": "6.1.0",
+ "resolved": "https://npm.bzeutzheim.de/jsonfile/-/jsonfile-6.1.0.tgz",
+ "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
+ "dev": true,
+ "requires": {
+ "graceful-fs": "^4.1.6",
+ "universalify": "^2.0.0"
+ }
+ },
+ "jsx-ast-utils": {
+ "version": "2.4.1",
+ "resolved": "https://npm.bzeutzheim.de/jsx-ast-utils/-/jsx-ast-utils-2.4.1.tgz",
+ "integrity": "sha512-z1xSldJ6imESSzOjd3NNkieVJKRlKYSOtMG8SFyCj2FIrvSaSuli/WjpBkEzCBoR9bYYYFgqJw61Xhu7Lcgk+w==",
+ "dev": true,
+ "requires": {
+ "array-includes": "^3.1.1",
+ "object.assign": "^4.1.0"
+ }
+ },
+ "levn": {
+ "version": "0.4.1",
+ "resolved": "https://npm.bzeutzheim.de/levn/-/levn-0.4.1.tgz",
+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
+ "dev": true,
+ "requires": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ }
+ },
+ "lines-and-columns": {
+ "version": "1.1.6",
+ "resolved": "https://npm.bzeutzheim.de/lines-and-columns/-/lines-and-columns-1.1.6.tgz",
+ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=",
+ "dev": true
+ },
+ "load-json-file": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/load-json-file/-/load-json-file-2.0.0.tgz",
+ "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=",
+ "dev": true,
+ "requires": {
+ "graceful-fs": "^4.1.2",
+ "parse-json": "^2.2.0",
+ "pify": "^2.0.0",
+ "strip-bom": "^3.0.0"
+ }
+ },
+ "locate-path": {
+ "version": "5.0.0",
+ "resolved": "https://npm.bzeutzheim.de/locate-path/-/locate-path-5.0.0.tgz",
+ "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
+ "dev": true,
+ "requires": {
+ "p-locate": "^4.1.0"
+ }
+ },
+ "lodash": {
+ "version": "4.17.21",
+ "resolved": "https://npm.bzeutzheim.de/lodash/-/lodash-4.17.21.tgz",
+ "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==",
+ "dev": true
+ },
+ "lodash.clonedeep": {
+ "version": "4.5.0",
+ "resolved": "https://npm.bzeutzheim.de/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
+ "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=",
+ "dev": true
+ },
+ "lodash.flatten": {
+ "version": "4.4.0",
+ "resolved": "https://npm.bzeutzheim.de/lodash.flatten/-/lodash.flatten-4.4.0.tgz",
+ "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=",
+ "dev": true
+ },
+ "lodash.get": {
+ "version": "4.4.2",
+ "resolved": "https://npm.bzeutzheim.de/lodash.get/-/lodash.get-4.4.2.tgz",
+ "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=",
+ "dev": true
+ },
+ "lodash.truncate": {
+ "version": "4.4.2",
+ "resolved": "https://npm.bzeutzheim.de/lodash.truncate/-/lodash.truncate-4.4.2.tgz",
+ "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=",
+ "dev": true
+ },
+ "lodash.zip": {
+ "version": "4.2.0",
+ "resolved": "https://npm.bzeutzheim.de/lodash.zip/-/lodash.zip-4.2.0.tgz",
+ "integrity": "sha1-7GZi5IlkCO1KtsVCo5kLcswIACA=",
+ "dev": true
+ },
+ "loose-envify": {
+ "version": "1.4.0",
+ "resolved": "https://npm.bzeutzheim.de/loose-envify/-/loose-envify-1.4.0.tgz",
+ "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==",
+ "dev": true,
+ "requires": {
+ "js-tokens": "^3.0.0 || ^4.0.0"
+ }
+ },
+ "lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://npm.bzeutzheim.de/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "dev": true,
+ "requires": {
+ "yallist": "^4.0.0"
+ }
+ },
+ "merge2": {
+ "version": "1.4.1",
+ "resolved": "https://npm.bzeutzheim.de/merge2/-/merge2-1.4.1.tgz",
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
+ "dev": true
+ },
+ "micro-spelling-correcter": {
+ "version": "1.1.1",
+ "resolved": "https://npm.bzeutzheim.de/micro-spelling-correcter/-/micro-spelling-correcter-1.1.1.tgz",
+ "integrity": "sha512-lkJ3Rj/mtjlRcHk6YyCbvZhyWTOzdBvTHsxMmZSk5jxN1YyVSQ+JETAom55mdzfcyDrY/49Z7UCW760BK30crg==",
+ "dev": true
+ },
+ "micromatch": {
+ "version": "4.0.4",
+ "resolved": "https://npm.bzeutzheim.de/micromatch/-/micromatch-4.0.4.tgz",
+ "integrity": "sha512-pRmzw/XUcwXGpD9aI9q/0XOwLNygjETJ8y0ao0wdqprrzDa4YnxLcz7fQRZr8voh8V10kGhABbNcHVk5wHgWwg==",
+ "dev": true,
+ "requires": {
+ "braces": "^3.0.1",
+ "picomatch": "^2.2.3"
+ }
+ },
+ "minimatch": {
+ "version": "3.0.4",
+ "resolved": "https://npm.bzeutzheim.de/minimatch/-/minimatch-3.0.4.tgz",
+ "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
+ "dev": true,
+ "requires": {
+ "brace-expansion": "^1.1.7"
+ }
+ },
+ "minimist": {
+ "version": "1.2.5",
+ "resolved": "https://npm.bzeutzheim.de/minimist/-/minimist-1.2.5.tgz",
+ "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
+ "dev": true
+ },
+ "ms": {
+ "version": "2.1.2",
+ "resolved": "https://npm.bzeutzheim.de/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
+ },
+ "multimatch": {
+ "version": "4.0.0",
+ "resolved": "https://npm.bzeutzheim.de/multimatch/-/multimatch-4.0.0.tgz",
+ "integrity": "sha512-lDmx79y1z6i7RNx0ZGCPq1bzJ6ZoDDKbvh7jxr9SJcWLkShMzXrHbYVpTdnhNM5MXpDUxCQ4DgqVttVXlBgiBQ==",
+ "dev": true,
+ "requires": {
+ "@types/minimatch": "^3.0.3",
+ "array-differ": "^3.0.0",
+ "array-union": "^2.1.0",
+ "arrify": "^2.0.1",
+ "minimatch": "^3.0.4"
+ }
+ },
+ "natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://npm.bzeutzheim.de/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=",
+ "dev": true
+ },
+ "normalize-package-data": {
+ "version": "2.5.0",
+ "resolved": "https://npm.bzeutzheim.de/normalize-package-data/-/normalize-package-data-2.5.0.tgz",
+ "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==",
+ "dev": true,
+ "requires": {
+ "hosted-git-info": "^2.1.4",
+ "resolve": "^1.10.0",
+ "semver": "2 || 3 || 4 || 5",
+ "validate-npm-package-license": "^3.0.1"
+ },
+ "dependencies": {
+ "semver": {
+ "version": "5.7.1",
+ "resolved": "https://npm.bzeutzheim.de/semver/-/semver-5.7.1.tgz",
+ "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
+ "dev": true
+ }
+ }
+ },
+ "object-assign": {
+ "version": "4.1.1",
+ "resolved": "https://npm.bzeutzheim.de/object-assign/-/object-assign-4.1.1.tgz",
+ "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=",
+ "dev": true
+ },
+ "object-inspect": {
+ "version": "1.10.2",
+ "resolved": "https://npm.bzeutzheim.de/object-inspect/-/object-inspect-1.10.2.tgz",
+ "integrity": "sha512-gz58rdPpadwztRrPjZE9DZLOABUpTGdcANUgOwBFO1C+HZZhePoP83M65WGDmbpwFYJSWqavbl4SgDn4k8RYTA==",
+ "dev": true
+ },
+ "object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://npm.bzeutzheim.de/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "dev": true
+ },
+ "object.assign": {
+ "version": "4.1.2",
+ "resolved": "https://npm.bzeutzheim.de/object.assign/-/object.assign-4.1.2.tgz",
+ "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "has-symbols": "^1.0.1",
+ "object-keys": "^1.1.1"
+ }
+ },
+ "object.entries": {
+ "version": "1.1.3",
+ "resolved": "https://npm.bzeutzheim.de/object.entries/-/object.entries-1.1.3.tgz",
+ "integrity": "sha512-ym7h7OZebNS96hn5IJeyUmaWhaSM4SVtAPPfNLQEI2MYWCO2egsITb9nab2+i/Pwibx+R0mtn+ltKJXRSeTMGg==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.0",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.1",
+ "has": "^1.0.3"
+ }
+ },
+ "object.fromentries": {
+ "version": "2.0.4",
+ "resolved": "https://npm.bzeutzheim.de/object.fromentries/-/object.fromentries-2.0.4.tgz",
+ "integrity": "sha512-EsFBshs5RUUpQEY1D4q/m59kMfz4YJvxuNCJcv/jWwOJr34EaVnG11ZrZa0UHB3wnzV1wx8m58T4hQL8IuNXlQ==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.2",
+ "has": "^1.0.3"
+ }
+ },
+ "object.values": {
+ "version": "1.1.3",
+ "resolved": "https://npm.bzeutzheim.de/object.values/-/object.values-1.1.3.tgz",
+ "integrity": "sha512-nkF6PfDB9alkOUxpf1HNm/QlkeW3SReqL5WXeBLpEJJnlPSvRaDQpW3gQTksTN3fgJX4hL42RzKyOin6ff3tyw==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.2",
+ "has": "^1.0.3"
+ }
+ },
+ "once": {
+ "version": "1.4.0",
+ "resolved": "https://npm.bzeutzheim.de/once/-/once-1.4.0.tgz",
+ "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
+ "dev": true,
+ "requires": {
+ "wrappy": "1"
+ }
+ },
+ "optionator": {
+ "version": "0.9.1",
+ "resolved": "https://npm.bzeutzheim.de/optionator/-/optionator-0.9.1.tgz",
+ "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==",
+ "dev": true,
+ "requires": {
+ "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"
+ }
+ },
+ "p-limit": {
+ "version": "2.3.0",
+ "resolved": "https://npm.bzeutzheim.de/p-limit/-/p-limit-2.3.0.tgz",
+ "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==",
+ "dev": true,
+ "requires": {
+ "p-try": "^2.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "4.1.0",
+ "resolved": "https://npm.bzeutzheim.de/p-locate/-/p-locate-4.1.0.tgz",
+ "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
+ "dev": true,
+ "requires": {
+ "p-limit": "^2.2.0"
+ }
+ },
+ "p-try": {
+ "version": "2.2.0",
+ "resolved": "https://npm.bzeutzheim.de/p-try/-/p-try-2.2.0.tgz",
+ "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==",
+ "dev": true
+ },
+ "parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://npm.bzeutzheim.de/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dev": true,
+ "requires": {
+ "callsites": "^3.0.0"
+ }
+ },
+ "parse-json": {
+ "version": "2.2.0",
+ "resolved": "https://npm.bzeutzheim.de/parse-json/-/parse-json-2.2.0.tgz",
+ "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=",
+ "dev": true,
+ "requires": {
+ "error-ex": "^1.2.0"
+ }
+ },
+ "path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://npm.bzeutzheim.de/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true
+ },
+ "path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://npm.bzeutzheim.de/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
+ "dev": true
+ },
+ "path-key": {
+ "version": "3.1.1",
+ "resolved": "https://npm.bzeutzheim.de/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "dev": true
+ },
+ "path-parse": {
+ "version": "1.0.6",
+ "resolved": "https://npm.bzeutzheim.de/path-parse/-/path-parse-1.0.6.tgz",
+ "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==",
+ "dev": true
+ },
+ "path-type": {
+ "version": "4.0.0",
+ "resolved": "https://npm.bzeutzheim.de/path-type/-/path-type-4.0.0.tgz",
+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
+ "dev": true
+ },
+ "picomatch": {
+ "version": "2.2.3",
+ "resolved": "https://npm.bzeutzheim.de/picomatch/-/picomatch-2.2.3.tgz",
+ "integrity": "sha512-KpELjfwcCDUb9PeigTs2mBJzXUPzAuP2oPcA989He8Rte0+YUAjw1JVedDhuTKPkHjSYzMN3npC9luThGYEKdg==",
+ "dev": true
+ },
+ "pify": {
+ "version": "2.3.0",
+ "resolved": "https://npm.bzeutzheim.de/pify/-/pify-2.3.0.tgz",
+ "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=",
+ "dev": true
+ },
+ "pkg-dir": {
+ "version": "4.2.0",
+ "resolved": "https://npm.bzeutzheim.de/pkg-dir/-/pkg-dir-4.2.0.tgz",
+ "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==",
+ "dev": true,
+ "requires": {
+ "find-up": "^4.0.0"
+ }
+ },
+ "prelude-ls": {
+ "version": "1.2.1",
+ "resolved": "https://npm.bzeutzheim.de/prelude-ls/-/prelude-ls-1.2.1.tgz",
+ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
+ "dev": true
+ },
+ "prettier": {
+ "version": "2.2.1",
+ "resolved": "https://npm.bzeutzheim.de/prettier/-/prettier-2.2.1.tgz",
+ "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==",
+ "dev": true
+ },
+ "prettier-plugin-organize-imports": {
+ "version": "1.1.1",
+ "resolved": "https://npm.bzeutzheim.de/prettier-plugin-organize-imports/-/prettier-plugin-organize-imports-1.1.1.tgz",
+ "integrity": "sha512-rFA1lnek1FYkMGthm4xBKME41qUKItTovuo24bCGZu/Vu1n3gW71UPLAkIdwewwkZCe29gRVweSOPXvAdckFuw==",
+ "dev": true
+ },
+ "progress": {
+ "version": "2.0.3",
+ "resolved": "https://npm.bzeutzheim.de/progress/-/progress-2.0.3.tgz",
+ "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==",
+ "dev": true
+ },
+ "prop-types": {
+ "version": "15.7.2",
+ "resolved": "https://npm.bzeutzheim.de/prop-types/-/prop-types-15.7.2.tgz",
+ "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==",
+ "dev": true,
+ "requires": {
+ "loose-envify": "^1.4.0",
+ "object-assign": "^4.1.1",
+ "react-is": "^16.8.1"
+ }
+ },
+ "punycode": {
+ "version": "2.1.1",
+ "resolved": "https://npm.bzeutzheim.de/punycode/-/punycode-2.1.1.tgz",
+ "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==",
+ "dev": true
+ },
+ "queue-microtask": {
+ "version": "1.2.3",
+ "resolved": "https://npm.bzeutzheim.de/queue-microtask/-/queue-microtask-1.2.3.tgz",
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
+ "dev": true
+ },
+ "react-is": {
+ "version": "16.13.1",
+ "resolved": "https://npm.bzeutzheim.de/react-is/-/react-is-16.13.1.tgz",
+ "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
+ "dev": true
+ },
+ "read-pkg": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/read-pkg/-/read-pkg-2.0.0.tgz",
+ "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=",
+ "dev": true,
+ "requires": {
+ "load-json-file": "^2.0.0",
+ "normalize-package-data": "^2.3.2",
+ "path-type": "^2.0.0"
+ },
+ "dependencies": {
+ "path-type": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/path-type/-/path-type-2.0.0.tgz",
+ "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=",
+ "dev": true,
+ "requires": {
+ "pify": "^2.0.0"
+ }
+ }
+ }
+ },
+ "read-pkg-up": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/read-pkg-up/-/read-pkg-up-2.0.0.tgz",
+ "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=",
+ "dev": true,
+ "requires": {
+ "find-up": "^2.0.0",
+ "read-pkg": "^2.0.0"
+ },
+ "dependencies": {
+ "find-up": {
+ "version": "2.1.0",
+ "resolved": "https://npm.bzeutzheim.de/find-up/-/find-up-2.1.0.tgz",
+ "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=",
+ "dev": true,
+ "requires": {
+ "locate-path": "^2.0.0"
+ }
+ },
+ "locate-path": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/locate-path/-/locate-path-2.0.0.tgz",
+ "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=",
+ "dev": true,
+ "requires": {
+ "p-locate": "^2.0.0",
+ "path-exists": "^3.0.0"
+ }
+ },
+ "p-limit": {
+ "version": "1.3.0",
+ "resolved": "https://npm.bzeutzheim.de/p-limit/-/p-limit-1.3.0.tgz",
+ "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==",
+ "dev": true,
+ "requires": {
+ "p-try": "^1.0.0"
+ }
+ },
+ "p-locate": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/p-locate/-/p-locate-2.0.0.tgz",
+ "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=",
+ "dev": true,
+ "requires": {
+ "p-limit": "^1.1.0"
+ }
+ },
+ "p-try": {
+ "version": "1.0.0",
+ "resolved": "https://npm.bzeutzheim.de/p-try/-/p-try-1.0.0.tgz",
+ "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=",
+ "dev": true
+ },
+ "path-exists": {
+ "version": "3.0.0",
+ "resolved": "https://npm.bzeutzheim.de/path-exists/-/path-exists-3.0.0.tgz",
+ "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=",
+ "dev": true
+ }
+ }
+ },
+ "regexp.prototype.flags": {
+ "version": "1.3.1",
+ "resolved": "https://npm.bzeutzheim.de/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz",
+ "integrity": "sha512-JiBdRBq91WlY7uRJ0ds7R+dU02i6LKi8r3BuQhNXn+kmeLN+EfHhfjqMRis1zJxnlu88hq/4dx0P2OP3APRTOA==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3"
+ }
+ },
+ "regexpp": {
+ "version": "3.1.0",
+ "resolved": "https://npm.bzeutzheim.de/regexpp/-/regexpp-3.1.0.tgz",
+ "integrity": "sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q==",
+ "dev": true
+ },
+ "remotion": {
+ "version": "2.0.2",
+ "resolved": "https://npm.bzeutzheim.de/remotion/-/remotion-2.0.2.tgz",
+ "integrity": "sha512-NvpDKU/II0Nvc2MeXj195Ti2OZmJF9jLoJIdotgXGW2Rd726/WIx9P/QeMpta7G7uLJk6SwrEVyGUHlVrQ2SMg=="
+ },
+ "req-all": {
+ "version": "0.1.0",
+ "resolved": "https://npm.bzeutzheim.de/req-all/-/req-all-0.1.0.tgz",
+ "integrity": "sha1-EwBR4qzligLqy/ydRIV3pzapJzo=",
+ "dev": true
+ },
+ "require-from-string": {
+ "version": "2.0.2",
+ "resolved": "https://npm.bzeutzheim.de/require-from-string/-/require-from-string-2.0.2.tgz",
+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",
+ "dev": true
+ },
+ "resolve": {
+ "version": "1.20.0",
+ "resolved": "https://npm.bzeutzheim.de/resolve/-/resolve-1.20.0.tgz",
+ "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==",
+ "dev": true,
+ "requires": {
+ "is-core-module": "^2.2.0",
+ "path-parse": "^1.0.6"
+ }
+ },
+ "resolve-from": {
+ "version": "5.0.0",
+ "resolved": "https://npm.bzeutzheim.de/resolve-from/-/resolve-from-5.0.0.tgz",
+ "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==",
+ "dev": true
+ },
+ "reusify": {
+ "version": "1.0.4",
+ "resolved": "https://npm.bzeutzheim.de/reusify/-/reusify-1.0.4.tgz",
+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
+ "dev": true
+ },
+ "rimraf": {
+ "version": "3.0.2",
+ "resolved": "https://npm.bzeutzheim.de/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
+ "dev": true,
+ "requires": {
+ "glob": "^7.1.3"
+ }
+ },
+ "run-parallel": {
+ "version": "1.2.0",
+ "resolved": "https://npm.bzeutzheim.de/run-parallel/-/run-parallel-1.2.0.tgz",
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "dev": true,
+ "requires": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "semver": {
+ "version": "7.3.5",
+ "resolved": "https://npm.bzeutzheim.de/semver/-/semver-7.3.5.tgz",
+ "integrity": "sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==",
+ "dev": true,
+ "requires": {
+ "lru-cache": "^6.0.0"
+ }
+ },
+ "shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "dev": true,
+ "requires": {
+ "shebang-regex": "^3.0.0"
+ }
+ },
+ "shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://npm.bzeutzheim.de/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+ "dev": true
+ },
+ "side-channel": {
+ "version": "1.0.4",
+ "resolved": "https://npm.bzeutzheim.de/side-channel/-/side-channel-1.0.4.tgz",
+ "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.0",
+ "get-intrinsic": "^1.0.2",
+ "object-inspect": "^1.9.0"
+ }
+ },
+ "slash": {
+ "version": "3.0.0",
+ "resolved": "https://npm.bzeutzheim.de/slash/-/slash-3.0.0.tgz",
+ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
+ "dev": true
+ },
+ "slice-ansi": {
+ "version": "4.0.0",
+ "resolved": "https://npm.bzeutzheim.de/slice-ansi/-/slice-ansi-4.0.0.tgz",
+ "integrity": "sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==",
+ "dev": true,
+ "requires": {
+ "ansi-styles": "^4.0.0",
+ "astral-regex": "^2.0.0",
+ "is-fullwidth-code-point": "^3.0.0"
+ },
+ "dependencies": {
+ "ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://npm.bzeutzheim.de/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "requires": {
+ "color-convert": "^2.0.1"
+ }
+ },
+ "color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://npm.bzeutzheim.de/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
+ "requires": {
+ "color-name": "~1.1.4"
+ }
+ },
+ "color-name": {
+ "version": "1.1.4",
+ "resolved": "https://npm.bzeutzheim.de/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true
+ }
+ }
+ },
+ "source-map": {
+ "version": "0.5.7",
+ "resolved": "https://npm.bzeutzheim.de/source-map/-/source-map-0.5.7.tgz",
+ "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=",
+ "dev": true
+ },
+ "spdx-correct": {
+ "version": "3.1.1",
+ "resolved": "https://npm.bzeutzheim.de/spdx-correct/-/spdx-correct-3.1.1.tgz",
+ "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==",
+ "dev": true,
+ "requires": {
+ "spdx-expression-parse": "^3.0.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "spdx-exceptions": {
+ "version": "2.3.0",
+ "resolved": "https://npm.bzeutzheim.de/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz",
+ "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==",
+ "dev": true
+ },
+ "spdx-expression-parse": {
+ "version": "3.0.1",
+ "resolved": "https://npm.bzeutzheim.de/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz",
+ "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==",
+ "dev": true,
+ "requires": {
+ "spdx-exceptions": "^2.1.0",
+ "spdx-license-ids": "^3.0.0"
+ }
+ },
+ "spdx-license-ids": {
+ "version": "3.0.7",
+ "resolved": "https://npm.bzeutzheim.de/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz",
+ "integrity": "sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ==",
+ "dev": true
+ },
+ "sprintf-js": {
+ "version": "1.0.3",
+ "resolved": "https://npm.bzeutzheim.de/sprintf-js/-/sprintf-js-1.0.3.tgz",
+ "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
+ "dev": true
+ },
+ "string-width": {
+ "version": "4.2.2",
+ "resolved": "https://npm.bzeutzheim.de/string-width/-/string-width-4.2.2.tgz",
+ "integrity": "sha512-XBJbT3N4JhVumXE0eoLU9DCjcaF92KLNqTmFCnG1pf8duUxFGwtP6AD6nkjw9a3IdiRtL3E2w3JDiE/xi3vOeA==",
+ "dev": true,
+ "requires": {
+ "emoji-regex": "^8.0.0",
+ "is-fullwidth-code-point": "^3.0.0",
+ "strip-ansi": "^6.0.0"
+ }
+ },
+ "string.prototype.matchall": {
+ "version": "4.0.4",
+ "resolved": "https://npm.bzeutzheim.de/string.prototype.matchall/-/string.prototype.matchall-4.0.4.tgz",
+ "integrity": "sha512-pknFIWVachNcyqRfaQSeu/FUfpvJTe4uskUSZ9Wc1RijsPuzbZ8TyYT8WCNnntCjUEqQ3vUHMAfVj2+wLAisPQ==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3",
+ "es-abstract": "^1.18.0-next.2",
+ "has-symbols": "^1.0.1",
+ "internal-slot": "^1.0.3",
+ "regexp.prototype.flags": "^1.3.1",
+ "side-channel": "^1.0.4"
+ }
+ },
+ "string.prototype.trimend": {
+ "version": "1.0.4",
+ "resolved": "https://npm.bzeutzheim.de/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz",
+ "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3"
+ }
+ },
+ "string.prototype.trimstart": {
+ "version": "1.0.4",
+ "resolved": "https://npm.bzeutzheim.de/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz",
+ "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==",
+ "dev": true,
+ "requires": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.1.3"
+ }
+ },
+ "strip-ansi": {
+ "version": "6.0.0",
+ "resolved": "https://npm.bzeutzheim.de/strip-ansi/-/strip-ansi-6.0.0.tgz",
+ "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
+ "dev": true,
+ "requires": {
+ "ansi-regex": "^5.0.0"
+ }
+ },
+ "strip-bom": {
+ "version": "3.0.0",
+ "resolved": "https://npm.bzeutzheim.de/strip-bom/-/strip-bom-3.0.0.tgz",
+ "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=",
+ "dev": true
+ },
+ "strip-json-comments": {
+ "version": "3.1.1",
+ "resolved": "https://npm.bzeutzheim.de/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
+ "dev": true
+ },
+ "supports-color": {
+ "version": "5.5.0",
+ "resolved": "https://npm.bzeutzheim.de/supports-color/-/supports-color-5.5.0.tgz",
+ "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",
+ "dev": true,
+ "requires": {
+ "has-flag": "^3.0.0"
+ }
+ },
+ "table": {
+ "version": "6.1.0",
+ "resolved": "https://npm.bzeutzheim.de/table/-/table-6.1.0.tgz",
+ "integrity": "sha512-T4G5KMmqIk6X87gLKWyU5exPpTjLjY5KyrFWaIjv3SvgaIUGXV7UEzGEnZJdTA38/yUS6f9PlKezQ0bYXG3iIQ==",
+ "dev": true,
+ "requires": {
+ "ajv": "^8.0.1",
+ "is-boolean-object": "^1.1.0",
+ "is-number-object": "^1.0.4",
+ "is-string": "^1.0.5",
+ "lodash.clonedeep": "^4.5.0",
+ "lodash.flatten": "^4.4.0",
+ "lodash.truncate": "^4.4.2",
+ "slice-ansi": "^4.0.0",
+ "string-width": "^4.2.0"
+ },
+ "dependencies": {
+ "ajv": {
+ "version": "8.1.0",
+ "resolved": "https://npm.bzeutzheim.de/ajv/-/ajv-8.1.0.tgz",
+ "integrity": "sha512-B/Sk2Ix7A36fs/ZkuGLIR86EdjbgR6fsAcbx9lOP/QBSXujDNbVmIS/U4Itz5k8fPFDeVZl/zQ/gJW4Jrq6XjQ==",
+ "dev": true,
+ "requires": {
+ "fast-deep-equal": "^3.1.1",
+ "json-schema-traverse": "^1.0.0",
+ "require-from-string": "^2.0.2",
+ "uri-js": "^4.2.2"
+ }
+ },
+ "json-schema-traverse": {
+ "version": "1.0.0",
+ "resolved": "https://npm.bzeutzheim.de/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",
+ "dev": true
+ }
+ }
+ },
+ "text-table": {
+ "version": "0.2.0",
+ "resolved": "https://npm.bzeutzheim.de/text-table/-/text-table-0.2.0.tgz",
+ "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=",
+ "dev": true
+ },
+ "to-fast-properties": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/to-fast-properties/-/to-fast-properties-2.0.0.tgz",
+ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=",
+ "dev": true
+ },
+ "to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://npm.bzeutzheim.de/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "dev": true,
+ "requires": {
+ "is-number": "^7.0.0"
+ }
+ },
+ "true-myth": {
+ "version": "4.1.1",
+ "resolved": "https://npm.bzeutzheim.de/true-myth/-/true-myth-4.1.1.tgz",
+ "integrity": "sha512-rqy30BSpxPznbbTcAcci90oZ1YR4DqvKcNXNerG5gQBU2v4jk0cygheiul5J6ExIMrgDVuanv/MkGfqZbKrNNg==",
+ "dev": true
+ },
+ "ts-morph": {
+ "version": "7.3.0",
+ "resolved": "https://npm.bzeutzheim.de/ts-morph/-/ts-morph-7.3.0.tgz",
+ "integrity": "sha512-BUKSoz7AFSKPcYTZODbICW2mOthAN4vc5juD6FL1lD/dLwZ0WvrC3zqBM3/X6f5gHxq3yaz+HmanHGaWm0ddbQ==",
+ "dev": true,
+ "requires": {
+ "@dsherret/to-absolute-glob": "^2.0.2",
+ "@ts-morph/common": "~0.5.2",
+ "code-block-writer": "^10.1.0"
+ }
+ },
+ "tsconfig-paths": {
+ "version": "3.9.0",
+ "resolved": "https://npm.bzeutzheim.de/tsconfig-paths/-/tsconfig-paths-3.9.0.tgz",
+ "integrity": "sha512-dRcuzokWhajtZWkQsDVKbWyY+jgcLC5sqJhg2PSgf4ZkH2aHPvaOY8YWGhmjb68b5qqTfasSsDO9k7RUiEmZAw==",
+ "dev": true,
+ "requires": {
+ "@types/json5": "^0.0.29",
+ "json5": "^1.0.1",
+ "minimist": "^1.2.0",
+ "strip-bom": "^3.0.0"
+ }
+ },
+ "tslib": {
+ "version": "1.14.1",
+ "resolved": "https://npm.bzeutzheim.de/tslib/-/tslib-1.14.1.tgz",
+ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==",
+ "dev": true
+ },
+ "tsutils": {
+ "version": "3.21.0",
+ "resolved": "https://npm.bzeutzheim.de/tsutils/-/tsutils-3.21.0.tgz",
+ "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==",
+ "dev": true,
+ "requires": {
+ "tslib": "^1.8.1"
+ }
+ },
+ "type-check": {
+ "version": "0.4.0",
+ "resolved": "https://npm.bzeutzheim.de/type-check/-/type-check-0.4.0.tgz",
+ "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
+ "dev": true,
+ "requires": {
+ "prelude-ls": "^1.2.1"
+ }
+ },
+ "type-fest": {
+ "version": "0.8.1",
+ "resolved": "https://npm.bzeutzheim.de/type-fest/-/type-fest-0.8.1.tgz",
+ "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",
+ "dev": true
+ },
+ "typescript": {
+ "version": "4.2.4",
+ "resolved": "https://npm.bzeutzheim.de/typescript/-/typescript-4.2.4.tgz",
+ "integrity": "sha512-V+evlYHZnQkaz8TRBuxTA92yZBPotr5H+WhQ7bD3hZUndx5tGOa1fuCgeSjxAzM1RiN5IzvadIXTVefuuwZCRg==",
+ "dev": true
+ },
+ "unbox-primitive": {
+ "version": "1.0.1",
+ "resolved": "https://npm.bzeutzheim.de/unbox-primitive/-/unbox-primitive-1.0.1.tgz",
+ "integrity": "sha512-tZU/3NqK3dA5gpE1KtyiJUrEB0lxnGkMFHptJ7q6ewdZ8s12QrODwNbhIJStmJkd1QDXa1NRA8aF2A1zk/Ypyw==",
+ "dev": true,
+ "requires": {
+ "function-bind": "^1.1.1",
+ "has-bigints": "^1.0.1",
+ "has-symbols": "^1.0.2",
+ "which-boxed-primitive": "^1.0.2"
+ }
+ },
+ "unc-path-regex": {
+ "version": "0.1.2",
+ "resolved": "https://npm.bzeutzheim.de/unc-path-regex/-/unc-path-regex-0.1.2.tgz",
+ "integrity": "sha1-5z3T17DXxe2G+6xrCufYxqadUPo=",
+ "dev": true
+ },
+ "universalify": {
+ "version": "2.0.0",
+ "resolved": "https://npm.bzeutzheim.de/universalify/-/universalify-2.0.0.tgz",
+ "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
+ "dev": true
+ },
+ "uri-js": {
+ "version": "4.4.1",
+ "resolved": "https://npm.bzeutzheim.de/uri-js/-/uri-js-4.4.1.tgz",
+ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
+ "dev": true,
+ "requires": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "v8-compile-cache": {
+ "version": "2.3.0",
+ "resolved": "https://npm.bzeutzheim.de/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz",
+ "integrity": "sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA==",
+ "dev": true
+ },
+ "validate-npm-package-license": {
+ "version": "3.0.4",
+ "resolved": "https://npm.bzeutzheim.de/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
+ "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==",
+ "dev": true,
+ "requires": {
+ "spdx-correct": "^3.0.0",
+ "spdx-expression-parse": "^3.0.0"
+ }
+ },
+ "which": {
+ "version": "2.0.2",
+ "resolved": "https://npm.bzeutzheim.de/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "dev": true,
+ "requires": {
+ "isexe": "^2.0.0"
+ }
+ },
+ "which-boxed-primitive": {
+ "version": "1.0.2",
+ "resolved": "https://npm.bzeutzheim.de/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",
+ "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",
+ "dev": true,
+ "requires": {
+ "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"
+ }
+ },
+ "word-wrap": {
+ "version": "1.2.3",
+ "resolved": "https://npm.bzeutzheim.de/word-wrap/-/word-wrap-1.2.3.tgz",
+ "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
+ "dev": true
+ },
+ "wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://npm.bzeutzheim.de/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
+ "dev": true
+ },
+ "yallist": {
+ "version": "4.0.0",
+ "resolved": "https://npm.bzeutzheim.de/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true
+ },
+ "yaml": {
+ "version": "1.10.2",
+ "resolved": "https://npm.bzeutzheim.de/yaml/-/yaml-1.10.2.tgz",
+ "integrity": "sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==",
+ "dev": true
+ }
+ }
+}
diff --git a/packages/three/package.json b/packages/three/package.json
new file mode 100644
index 0000000000..876fe23d7c
--- /dev/null
+++ b/packages/three/package.json
@@ -0,0 +1,40 @@
+{
+ "name": "@remotion/three",
+ "version": "2.0.2",
+ "description": "Utility functions for using react-three-fiber with remotion",
+ "main": "dist/index.js",
+ "types": "dist/index.d.ts",
+ "sideEffects": false,
+ "scripts": {
+ "test": "eslint src --ext ts,tsx",
+ "watch": "tsc -w",
+ "build": "tsc -d"
+ },
+ "author": "Björn Zeutzheim",
+ "contributors": [],
+ "license": "MIT",
+ "repository": {
+ "url": "https://github.com/JonnyBurger/remotion"
+ },
+ "dependencies": {
+ "remotion": "^2.0.2"
+ },
+ "peerDependencies": {
+ "@react-three/fiber": "^6.0.14",
+ "@react-three/postprocessing": "^2.0.3",
+ "react": "^17.0.1",
+ "react-dom": "^17.0.1",
+ "three": "^0.127.0"
+ },
+ "devDependencies": {
+ "@jonny/eslint-config": "^2.1.210",
+ "@types/node": "^14.14.14",
+ "eslint": "^7.4.0",
+ "prettier": "^2.0.5",
+ "prettier-plugin-organize-imports": "^1.1.1",
+ "typescript": "^4.1.2"
+ },
+ "publishConfig": {
+ "access": "public"
+ }
+}
diff --git a/packages/three/src/RemotionThreeCanvas.tsx b/packages/three/src/RemotionThreeCanvas.tsx
new file mode 100644
index 0000000000..85d47bee0c
--- /dev/null
+++ b/packages/three/src/RemotionThreeCanvas.tsx
@@ -0,0 +1,191 @@
+/// <reference path="./effects/postprocessing.d.ts" />
+
+/* eslint-disable @typescript-eslint/no-non-null-assertion */
+import React from 'react';
+import ReactDOM from 'react-dom';
+import { Canvas, render, unmountComponentAtNode } from '@react-three/fiber';
+
+import { RemotionThreeContext, RemotionThreeContextType } from './RemotionThreeContext';
+import { Internals } from 'remotion';
+
+export default function RemotionThreeCanvas({
+ children,
+ tabIndex,
+ resize,
+ id,
+ style,
+ className,
+ events,
+ ...rest
+}: React.ComponentProps<typeof Canvas>) {
+ const wrapperRef = React.useRef<HTMLDivElement>(null);
+ const canvasRef = React.useRef<HTMLCanvasElement>(null);
+
+ const remotionContexts = Internals.useRemotionContexts();
+
+ const [threeDomNodesWrapper, remotionThreeContext] = useCreateRemotionThreeContext();
+
+ const width = wrapperRef.current?.clientWidth;
+ const height = wrapperRef.current?.clientHeight;
+ const size = React.useMemo(() => !width || !height ? undefined : ({ width, height }), [width, height]);
+
+ React.useLayoutEffect(() => {
+ if (!canvasRef.current) {
+ return;
+ }
+ const threeFiberContent = (
+ <RemotionThreeContext.Provider value={remotionThreeContext}>
+ <Internals.RemotionContextProvider contexts={remotionContexts}>
+ {children}
+ </Internals.RemotionContextProvider>
+ </RemotionThreeContext.Provider>
+ );
+ render(threeFiberContent, canvasRef.current, {
+ frameloop: 'demand',
+ orthographic: true,
+ ...rest,
+ size,
+ });
+ });
+
+ React.useEffect(() => {
+ const canvas = canvasRef.current!;
+ return () => {
+ unmountComponentAtNode(canvas);
+ };
+ }, []);
+
+ return (
+ <div
+ ref={wrapperRef}
+ id={id}
+ className={className}
+ tabIndex={tabIndex}
+ style={{
+ position: 'relative',
+ width: '100%',
+ height: '100%',
+ overflow: 'hidden',
+ ...style
+ }}
+ >
+ <canvas ref={canvasRef} style={{ display: 'block' }} />
+ {threeDomNodesWrapper}
+ </div>
+ );
+}
+
+function useCreateRemotionThreeContext() {
+ const isMountedRef = React.useRef(true);
+ React.useEffect(() => () => {
+ isMountedRef.current = false;
+ }, []);
+
+ const portalRef = React.useRef<HTMLDivElement>(null);
+
+ const remotionThreeContext = React.useState<RemotionThreeContextType>(() => ({
+ useDomNode: (node) => {
+ const _remotionContexts = Internals.useRemotionContexts();
+
+ const containerNode = React.useState(() => document.createElement('div'))[0];
+ React.useEffect(() => {
+ portalRef.current!.appendChild(containerNode);
+ return () => {
+ ReactDOM.unmountComponentAtNode(containerNode);
+ containerNode.remove();
+ };
+ }, []); // eslint-disable-line react-hooks/exhaustive-deps
+
+ React.useEffect(() => {
+ // Updating threeDomNodes has to happen outside the react-three render loop, so use a timeout
+ setTimeout(() => {
+ if (isMountedRef.current) {
+ const finalNode = (
+ <Internals.RemotionContextProvider contexts={_remotionContexts}>
+ {node}
+ </Internals.RemotionContextProvider>
+ );
+ ReactDOM.render(finalNode, containerNode);
+ }
+ });
+ });
+ }
+ }))[0];
+
+ const threeDomNodesWrapper = (
+ <div
+ ref={portalRef}
+ style={{
+ position: 'absolute',
+ top: 0,
+ left: 0,
+ overflow: 'hidden',
+ visibility: 'hidden'
+ }}
+ />
+ );
+ return [threeDomNodesWrapper, remotionThreeContext] as const;
+}
+
+// Alternative implementation which does not directly call ReactDOM.render.
+// It causes huge lags right now, however it would allow using all contexts present in the canvas scope
+// Should be evaluated again
+
+// function useCreateRemotionThreeContext() {
+// const isMountedRef = React.useRef(true);
+// React.useEffect(() => () => {
+// isMountedRef.current = false;
+// }, []);
+
+// const [threeDomNodes, setThreeDomNodes] = React.useState<React.ReactElement[]>([]);
+
+// const remotionThreeContext = React.useState<RemotionThreeContextType>(() => ({
+// useDomNode: node => {
+// const _remotionContexts = Internals.useRemotionContexts();
+
+// // Generate static, unique key
+// const key = React.useState(() => String(Math.random()))[0];
+
+// React.useEffect(() => {
+// // Updating threeDomNodes has to happen outside the react-three render loop, so use a timeout
+// setTimeout(() => {
+// // Only perform update, if the RemotionThreeCanvas is still mounted
+// if (isMountedRef.current) {
+// const finalNode = (
+// <Internals.RemotionContextProvider key={key} contexts={_remotionContexts}>
+// {node}
+// </Internals.RemotionContextProvider>
+// );
+// // Append to nodes array
+// setThreeDomNodes(sn => sn.filter(x => x.key !== key).concat(finalNode));
+// }
+// });
+// });
+
+// React.useEffect(() => () => {
+// setTimeout(() => {
+// // Only perform unmount, if the RemotionThreeCanvas is still mounted
+// if (isMountedRef.current) {
+// // Remove from nodes array
+// setThreeDomNodes(sn => sn.filter(x => x.key !== key));
+// }
+// });
+// }, []); // eslint-disable-line react-hooks/exhaustive-deps
+// }
+// }))[0];
+
+// const threeDomNodesWrapper = (
+// <div
+// style={{
+// position: 'absolute',
+// top: 0,
+// left: 0,
+// overflow: 'hidden',
+// visibility: 'hidden'
+// }}
+// >
+// {threeDomNodes}
+// </div>
+// );
+// return [threeDomNodesWrapper, remotionThreeContext] as const;
+// }
diff --git a/packages/three/src/RemotionThreeContext.tsx b/packages/three/src/RemotionThreeContext.tsx
new file mode 100644
index 0000000000..6e87fbeeed
--- /dev/null
+++ b/packages/three/src/RemotionThreeContext.tsx
@@ -0,0 +1,19 @@
+import React from 'react';
+
+export interface RemotionThreeContextType {
+ useDomNode: (node: React.ReactElement) => void;
+}
+
+export const RemotionThreeContext = React.createContext<RemotionThreeContextType | undefined>(undefined);
+
+export function useRemotionThreeContext() {
+ const ctx = React.useContext(RemotionThreeContext);
+ if (!ctx) {
+ throw new Error('useRemotionThreeContext used outside RemotionThreeContext');
+ }
+ return ctx;
+}
+
+export function useRemotionThreeDomNode(node: React.ReactElement) {
+ return useRemotionThreeContext().useDomNode(node);
+}
diff --git a/packages/three/src/ThreeVideo.tsx b/packages/three/src/ThreeVideo.tsx
new file mode 100644
index 0000000000..1b6ef9c02f
--- /dev/null
+++ b/packages/three/src/ThreeVideo.tsx
@@ -0,0 +1,129 @@
+import React from 'react';
+import { useCurrentFrame } from 'remotion';
+import { MeshProps, useThree } from '@react-three/fiber';
+
+import useVideoTexture, { UseVideoTextureOptions } from './useVideoTexture';
+import { ShaderLib } from 'three';
+
+const vShaderDefault = `
+varying vec2 v_uv;
+void main() {
+ v_uv = uv;
+ gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
+}
+`;
+
+const vShaderFullViewport = `
+varying vec2 v_uv;
+void main() {
+ v_uv = uv;
+ gl_Position = vec4(position * 2., 1.0);
+}
+`;
+
+const fShaderDefault = `
+varying vec2 v_uv;
+
+uniform sampler2D map;
+
+void main() {
+ vec4 color = texture2D(map, v_uv);
+ gl_FragColor = vec4(color.rgb, 1.0);
+}
+`;
+
+const swirlShader = `
+varying vec2 v_uv;
+
+uniform sampler2D map;
+
+uniform vec2 size;
+uniform int frame;
+uniform float t;
+
+uniform float radius;
+uniform float angle;
+uniform vec2 offset;
+
+vec2 xyToUv(in vec2 _xy) {
+ return vec2(_xy.x, _xy.y) / size;
+}
+
+void main() {
+ vec2 cUV = v_uv * size - size / 2. - offset;
+ float dist = length(cUV);
+ if (dist < radius)
+ {
+ float percent = (radius - dist) / radius;
+ float theta = percent * percent * angle * 8.0;
+ float s = sin(theta);
+ float c = cos(theta);
+ cUV = vec2(dot(cUV, vec2(c, -s)), dot(cUV, vec2(s, c)));
+ }
+ cUV = xyToUv(cUV + offset + size / 2.); // / vec2(width, height) + vec2(0.5, 0.5);
+ gl_FragColor = vec4(texture2D(map, cUV).rgb, 1.0);
+}
+`;
+
+export interface ThreeVideoProps extends MeshProps, Pick<UseVideoTextureOptions, 'src' | 'startFrom'> {
+ videoProps?: UseVideoTextureOptions;
+ fullViewport?: boolean;
+ ignoreDepth?: boolean;
+}
+
+const swirlShaderUniforms = {
+ ...ShaderLib.basic.uniforms,
+ map: { value: null },
+ //
+ radius: { value: 300 },
+ angle: { value: 0.5 },
+ offset: { value: [0, 0] },
+ frame: { value: 0 },
+ t: { value: 0 },
+ size: { value: [1920, 1080] },
+};
+
+const ThreeVideo = React.forwardRef((props: ThreeVideoProps, ref: React.ForwardedRef<React.ComponentType<'mesh'>>) => {
+ const {
+ src,
+ startFrom,
+ videoProps,
+ ignoreDepth,
+ fullViewport,
+ ...rest
+ } = props;
+ const frame = useCurrentFrame();
+ const [size] = useThree(s => [s.size] as const);
+ const videoTexture = useVideoTexture({ src, startFrom, ...videoProps });
+ return (
+ <mesh
+ ref={ref}
+ scale={[size.width, size.height, 1]}
+ renderOrder={ignoreDepth ? -10 : undefined}
+ {...rest}
+ >
+ {/* <boxGeometry args={[4, 4, 4]} /> */}
+ <planeGeometry args={[1, 1]} />
+ {videoTexture && (
+ <meshBasicMaterial
+ map={videoTexture}
+ depthTest={!ignoreDepth}
+ depthWrite={!ignoreDepth}
+ />
+ )}
+ {/* {videoTexture && (
+ <shaderMaterial
+ uniforms={swirlShaderUniforms}
+ uniforms-map-value={videoTexture}
+ uniforms-offset-value={[Math.sin(frame * 0.1) * 200, Math.cos(frame * 0.1) * 200]}
+ vertexShader={fullViewport ? vShaderFullViewport : vShaderDefault}
+ fragmentShader={fShaderDefault}
+ depthTest={!ignoreDepth}
+ depthWrite={!ignoreDepth}
+ />
+ )} */}
+ </mesh>
+ );
+});
+
+export default ThreeVideo;
diff --git a/packages/three/src/effects/SwirlEffect.tsx b/packages/three/src/effects/SwirlEffect.tsx
new file mode 100644
index 0000000000..e4db714beb
--- /dev/null
+++ b/packages/three/src/effects/SwirlEffect.tsx
@@ -0,0 +1,66 @@
+import React, { forwardRef, useMemo } from 'react';
+import { Uniform, Vector2, WebGLRenderer, WebGLRenderTarget } from 'three';
+import { BlendFunction, Effect } from 'postprocessing';
+
+const fragmentShader = `
+uniform vec2 offset;
+uniform float radius;
+uniform float angle;
+
+void mainUv(inout vec2 uv) {
+ vec2 cUV = uv * resolution - resolution / 2. - offset;
+ float dist = length(cUV);
+ if (dist < radius)
+ {
+ float percent = (radius - dist) / radius;
+ float theta = percent * percent * angle * 8.0;
+ float s = sin(theta);
+ float c = cos(theta);
+ cUV = vec2(dot(cUV, vec2(c, -s)), dot(cUV, vec2(s, c)));
+ }
+ uv = (cUV + offset + resolution / 2.) / resolution;
+}
+`;
+
+export interface SwirlEffectOptions {
+ offset?: Vector2 | [number, number];
+ angle?: number;
+ radius?: number;
+}
+
+/** Creates a swirl effect on the screen */
+export class SwirlEffectImpl extends Effect {
+
+ constructor(private readonly options: SwirlEffectOptions = {}) {
+ super('SwirlEffect', fragmentShader, {
+ blendFunction: BlendFunction.NORMAL,
+ uniforms: new Map<keyof SwirlEffectOptions, Uniform>([
+ ['offset', new Uniform(new Vector2())],
+ ['angle', new Uniform(0)],
+ ['radius', new Uniform(0)],
+ ]),
+ });
+ }
+
+ public update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number) {
+ this.uniforms.get('offset')!.value = this.options.offset || new Vector2();
+ this.uniforms.get('angle')!.value = this.options.angle || 0;
+ this.uniforms.get('radius')!.value = this.options.radius ?? 100;
+ }
+
+}
+
+const SwirlEffect = forwardRef(({ offset, angle, radius }: SwirlEffectOptions, ref: React.ForwardedRef<'primitive'>) => {
+ const effect = useMemo(() => (
+ new SwirlEffectImpl({ offset, angle, radius })
+ ), [offset, angle, radius]);
+ return (
+ <primitive
+ ref={ref}
+ object={effect}
+ dispose={null}
+ />
+ );
+});
+
+export default SwirlEffect;
diff --git a/packages/three/src/effects/postprocessing.d.ts b/packages/three/src/effects/postprocessing.d.ts
new file mode 100644
index 0000000000..ae447a5b8a
--- /dev/null
+++ b/packages/three/src/effects/postprocessing.d.ts
@@ -0,0 +1,2842 @@
+declare module 'postprocessing' {
+ import {
+ Vector2,
+ WebGLRenderer,
+ Camera,
+ PerspectiveCamera,
+ Texture,
+ Material,
+ WebGLRenderTarget,
+ Scene,
+ DepthTexture,
+ Uniform,
+ Object3D,
+ Vector3,
+ ShaderMaterial,
+ DataTexture,
+ Mesh,
+ Points,
+ LoadingManager,
+ TextureDataType,
+ Loader,
+ } from 'three';
+
+ /**
+ * A color channel enumeration.
+ * @property RED - Red.
+ * @property GREEN - Green.
+ * @property BLUE - Blue.
+ * @property ALPHA - Alpha.
+ */
+ export const ColorChannel: {
+ RED: number;
+ GREEN: number;
+ BLUE: number;
+ ALPHA: number;
+ };
+
+ /**
+ * The Disposable contract.
+
+ Implemented by objects that can free internal resources.
+ */
+ export interface Disposable {
+ /**
+ * Frees internal resources.
+ */
+ dispose(): void;
+ }
+
+ /**
+ * The initializable contract.
+
+ Implemented by objects that can be initialized.
+ */
+ export interface Initializable {
+ /**
+ * Performs initialization tasks.
+ * @param renderer - A renderer.
+ * @param alpha - Whether the renderer uses the alpha channel.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
+ }
+
+ /**
+ * Constructs a new adaptive luminance material.
+ */
+ export class AdaptiveLuminanceMaterial { }
+
+ /**
+ * Constructs a new bokeh material.
+ * @param [fill = false] - Enables or disables the bokeh highlight fill mode.
+ * @param [foreground = false] - Determines whether this material will be applied to foreground colors.
+ */
+ export class BokehMaterial {
+ constructor(fill?: boolean = false, foreground?: boolean = false);
+ /**
+ * Sets the texel size.
+ * @param x - The texel width.
+ * @param y - The texel height.
+ */
+ setTexelSize(x: number, y: number): void;
+ }
+
+ /**
+ * Constructs a new CoC material.
+ * @param camera - A camera.
+ */
+ export class CircleOfConfusionMaterial {
+ constructor(camera: Camera);
+ /**
+ * The current depth packing.
+ */
+ depthPacking: number;
+ /**
+ * Adopts the settings of the given camera.
+ * @param [camera = null] - A camera.
+ */
+ adoptCameraSettings(camera?: Camera = null): void;
+ }
+
+ /**
+ * Constructs a new color edges material.
+ * @param [texelSize] - The absolute screen texel size.
+ */
+ export class ColorEdgesMaterial {
+ constructor(texelSize?: Vector2);
+ /**
+ * Sets the local contrast adaptation factor.
+
+ If there is a neighbor edge that has _factor_ times bigger contrast than
+ the current edge, the edge will be discarded.
+
+ This allows to eliminate spurious crossing edges and is based on the fact
+ that if there is too much contrast in a direction, the perceptual contrast
+ in the other neighbors will be hidden.
+ * @param factor - The local contrast adaptation factor. Default is 2.0.
+ */
+ setLocalContrastAdaptationFactor(factor: number): void;
+ /**
+ * Sets the edge detection sensitivity.
+
+ A lower value results in more edges being detected at the expense of
+ performance.
+
+ 0.1 is a reasonable value, and allows to catch most visible edges.
+ 0.05 is a rather overkill value, that allows to catch 'em all.
+
+ If temporal supersampling is used, 0.2 could be a reasonable value, as low
+ contrast edges are properly filtered by just 2x.
+ * @param threshold - The edge detection sensitivity. Range: [0.05, 0.5].
+ */
+ setEdgeDetectionThreshold(threshold: number): void;
+ }
+
+ /**
+ * Constructs a new convolution material.
+ * @param [texelSize] - The absolute screen texel size.
+ */
+ export class ConvolutionMaterial {
+ constructor(texelSize?: Vector2);
+ /**
+ * The current kernel size.
+ */
+ kernelSize: KernelSize;
+ /**
+ * Returns the kernel.
+ * @returns The kernel.
+ */
+ getKernel(): Float32Array;
+ /**
+ * Sets the texel size.
+ * @param x - The texel width.
+ * @param y - The texel height.
+ */
+ setTexelSize(x: number, y: number): void;
+ }
+
+ /**
+ * A kernel size enumeration.
+ * @property VERY_SMALL - A very small kernel that matches a 7x7 Gauss blur kernel.
+ * @property SMALL - A small kernel that matches a 15x15 Gauss blur kernel.
+ * @property MEDIUM - A medium sized kernel that matches a 23x23 Gauss blur kernel.
+ * @property LARGE - A large kernel that matches a 35x35 Gauss blur kernel.
+ * @property VERY_LARGE - A very large kernel that matches a 63x63 Gauss blur kernel.
+ * @property HUGE - A huge kernel that matches a 127x127 Gauss blur kernel.
+ */
+ export const KernelSize: {
+ VERY_SMALL: number;
+ SMALL: number;
+ MEDIUM: number;
+ LARGE: number;
+ VERY_LARGE: number;
+ HUGE: number;
+ };
+
+ /**
+ * Constructs a new copy material.
+ */
+ export class CopyMaterial { }
+
+ /**
+ * Constructs a new depth comparison material.
+ * @param [depthTexture = null] - A depth texture.
+ * @param [camera] - A camera.
+ */
+ export class DepthComparisonMaterial {
+ constructor(depthTexture?: Texture, camera?: PerspectiveCamera);
+ /**
+ * Adopts the settings of the given camera.
+ * @param [camera = null] - A camera.
+ */
+ adoptCameraSettings(camera?: Camera): void;
+ }
+
+ /**
+ * Constructs a new depth mask material.
+ */
+ export class DepthMaskMaterial { }
+
+ /**
+ * Constructs a new edge detection material.
+ * @param [texelSize] - The screen texel size.
+ * @param [mode = EdgeDetectionMode.COLOR] - The edge detection mode.
+ */
+ export class EdgeDetectionMaterial {
+ constructor(texelSize?: Vector2, mode?: EdgeDetectionMode);
+ /**
+ * The current depth packing.
+ */
+ depthPacking: number;
+ /**
+ * Sets the edge detection mode.
+
+ Warning: If you intend to change the edge detection mode at runtime, make
+ sure that {@link EffectPass.needsDepthTexture} is set to `true` _before_
+ the EffectPass is added to the composer.
+ * @param mode - The edge detection mode.
+ */
+ setEdgeDetectionMode(mode: EdgeDetectionMode): void;
+ /**
+ * Sets the local contrast adaptation factor. Has no effect if the edge
+ detection mode is set to DEPTH.
+
+ If there is a neighbor edge that has _factor_ times bigger contrast than
+ the current edge, the edge will be discarded.
+
+ This allows to eliminate spurious crossing edges and is based on the fact
+ that if there is too much contrast in a direction, the perceptual contrast
+ in the other neighbors will be hidden.
+ * @param factor - The local contrast adaptation factor. Default is 2.0.
+ */
+ setLocalContrastAdaptationFactor(factor: number): void;
+ /**
+ * Sets the edge detection sensitivity.
+
+ A lower value results in more edges being detected at the expense of
+ performance.
+
+ 0.1 is a reasonable value, and allows to catch most visible edges.
+ 0.05 is a rather overkill value, that allows to catch 'em all.
+
+ If temporal supersampling is used, 0.2 could be a reasonable value, as low
+ contrast edges are properly filtered by just 2x.
+ * @param threshold - The edge detection sensitivity. Range: [0.05, 0.5].
+ */
+ setEdgeDetectionThreshold(threshold: number): void;
+ }
+
+ /**
+ * An enumeration of edge detection modes.
+ * @property DEPTH - Depth-based edge detection.
+ * @property LUMA - Luminance-based edge detection.
+ * @property COLOR - Chroma-based edge detection.
+ */
+ export const EdgeDetectionMode: {
+ DEPTH: number;
+ LUMA: number;
+ COLOR: number;
+ };
+
+ /**
+ * Constructs a new effect material.
+ * @param [shaderParts = null] - A collection of shader snippets. See {@link Section}.
+ * @param [defines = null] - A collection of preprocessor macro definitions.
+ * @param [uniforms = null] - A collection of uniforms.
+ * @param [camera = null] - A camera.
+ * @param [dithering = false] - Whether dithering should be enabled.
+ */
+ export class EffectMaterial implements Resizable {
+ constructor(
+ shaderParts?: Map<string, string>,
+ defines?: Map<string, string>,
+ uniforms?: Map<string, Uniform>,
+ camera?: Camera,
+ dithering?: boolean
+ );
+ /**
+ * The current depth packing.
+ */
+ depthPacking: number;
+ /**
+ * Sets the shader parts.
+ * @param shaderParts - A collection of shader snippets. See {@link Section}.
+ * @returns This material.
+ */
+ setShaderParts(shaderParts: Map<string, string>): EffectMaterial;
+ /**
+ * Sets the shader macros.
+ * @param defines - A collection of preprocessor macro definitions.
+ * @returns This material.
+ */
+ setDefines(defines: Map<string, string>): EffectMaterial;
+ /**
+ * Sets the shader uniforms.
+ * @param uniforms - A collection of uniforms.
+ * @returns This material.
+ */
+ setUniforms(uniforms: Map<string, Uniform>): EffectMaterial;
+ /**
+ * Adopts the settings of the given camera.
+ * @param [camera = null] - A camera.
+ */
+ adoptCameraSettings(camera?: Camera): void;
+ /**
+ * Sets the resolution.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * An enumeration of shader code placeholders used by the {@link EffectPass}.
+ * @property FRAGMENT_HEAD - A placeholder for function and variable declarations inside the fragment shader.
+ * @property FRAGMENT_MAIN_UV - A placeholder for UV transformations inside the fragment shader.
+ * @property FRAGMENT_MAIN_IMAGE - A placeholder for color calculations inside the fragment shader.
+ * @property VERTEX_HEAD - A placeholder for function and variable declarations inside the vertex shader.
+ * @property VERTEX_MAIN_SUPPORT - A placeholder for supporting calculations inside the vertex shader.
+ */
+ export const Section: {
+ FRAGMENT_HEAD: string;
+ FRAGMENT_MAIN_UV: string;
+ FRAGMENT_MAIN_IMAGE: string;
+ VERTEX_HEAD: string;
+ VERTEX_MAIN_SUPPORT: string;
+ };
+
+ /**
+ * Constructs a new god rays material.
+ * @param lightPosition - The light position in screen space.
+ */
+ export class GodRaysMaterial {
+ constructor(lightPosition: Vector2);
+ /**
+ * The amount of samples per pixel.
+ */
+ samples: number;
+ }
+
+ /**
+ * Constructs a new luminance material.
+ * @param [colorOutput = false] - Defines whether the shader should output colors scaled with their luminance value.
+ * @param [luminanceRange = null] - If provided, the shader will mask out texels that aren't in the specified luminance range.
+ */
+ export class LuminanceMaterial {
+ constructor(colorOutput?: boolean, luminanceRange?: Vector2);
+ /**
+ * The luminance threshold.
+ */
+ threshold: number;
+ /**
+ * The luminance threshold smoothing.
+ */
+ smoothing: number;
+ /**
+ * Indicates whether the luminance threshold is enabled.
+ */
+ useThreshold: boolean;
+
+ /**
+ * Indicates whether color output is enabled.
+ */
+ colorOutput: boolean;
+ /**
+ * Enables or disables color output.
+ * @param enabled - Whether color output should be enabled.
+ */
+ setColorOutputEnabled(enabled: boolean): void;
+ /**
+ * Indicates whether luminance masking is enabled.
+ */
+ useRange: boolean;
+ /**
+ * Indicates whether luminance masking is enabled.
+ */
+ luminanceRange: boolean;
+ /**
+ * Enables or disables the luminance mask.
+ * @param enabled - Whether the luminance mask should be enabled.
+ */
+ setLuminanceRangeEnabled(enabled: boolean): void;
+ }
+
+ /**
+ * Constructs a new mask material.
+ * @param [maskTexture = null] - The mask texture.
+ */
+ export class MaskMaterial {
+ constructor(maskTexture?: Texture);
+ /**
+ * Sets the mask texture.
+ */
+ maskTexture: Texture;
+ /**
+ * Sets the color channel to use for masking.
+
+ The default channel is `RED`.
+ */
+ colorChannel: ColorChannel;
+ /**
+ * Sets the masking technique.
+
+ The default function is `DISCARD`.
+ */
+ maskFunction: MaskFunction;
+
+ /**
+ * Indicates whether the masking is inverted.
+ */
+ inverted: boolean;
+ /**
+ * The current mask strength.
+
+ Individual mask values will be clamped to [0.0, 1.0].
+ */
+ strength: number;
+ }
+
+ /**
+ * A mask function enumeration.
+ * @property DISCARD - Discards elements when the respective mask value is zero.
+ * @property MULTIPLY - Multiplies the input buffer with the mask texture.
+ * @property MULTIPLY_RGB_SET_ALPHA - Multiplies the input RGB values with the mask and sets alpha to the mask value.
+ */
+ export const MaskFunction: {
+ DISCARD: number;
+ MULTIPLY: number;
+ MULTIPLY_RGB_SET_ALPHA: number;
+ };
+
+ /**
+ * Constructs a new outline material.
+ * @param [texelSize] - The screen texel size.
+ */
+ export class OutlineMaterial {
+ constructor(texelSize?: Vector2);
+ /**
+ * Sets the texel size.
+ * @param x - The texel width.
+ * @param y - The texel height.
+ */
+ setTexelSize(x: number, y: number): void;
+ }
+
+ /**
+ * An outline shader material.
+ */
+ export type OutlineEdgesMaterial = any;
+
+ /**
+ * Constructs a new SMAA weights material.
+ * @param [texelSize] - The absolute screen texel size.
+ * @param [resolution] - The resolution.
+ */
+ export class SMAAWeightsMaterial {
+ constructor(texelSize?: Vector2, resolution?: Vector2);
+ /**
+ * Sets the maximum amount of steps performed in the horizontal/vertical
+ pattern searches, at each side of the pixel.
+
+ In number of pixels, it's actually the double. So the maximum line length
+ perfectly handled by, for example 16, is 64 (perfectly means that longer
+ lines won't look as good, but are still antialiased).
+ * @param steps - The search steps. Range: [0, 112].
+ */
+ setOrthogonalSearchSteps(steps: number): void;
+ /**
+ * Specifies the maximum steps performed in the diagonal pattern searches, at
+ each side of the pixel. This search jumps one pixel at time.
+
+ On high-end machines this search is cheap (between 0.8x and 0.9x slower for
+ 16 steps), but it can have a significant impact on older machines.
+ * @param steps - The search steps. Range: [0, 20].
+ */
+ setDiagonalSearchSteps(steps: number): void;
+ /**
+ * Specifies how much sharp corners will be rounded.
+ * @param rounding - The corner rounding amount. Range: [0, 100].
+ */
+ setCornerRounding(rounding: number): void;
+ /**
+ * Indicates whether diagonal pattern detection is enabled.
+ */
+ diagonalDetection: boolean;
+ /**
+ * Indicates whether corner rounding is enabled.
+ */
+ cornerRounding: boolean;
+ }
+
+ /**
+ * Constructs a new resizer.
+ * @param resizeable - A resizable object.
+ * @param [width = Resizer.AUTO_SIZE] - The width.
+ * @param [height = Resizer.AUTO_SIZE] - The height.
+ */
+ export class Resizer {
+ constructor(resizeable: Resizable, width?: number, height?: number);
+ /**
+ * A resizable object.
+ */
+ resizable: Resizable;
+ /**
+ * The base size.
+
+ This size will be passed to the resizable object every time the width or
+ height is changed.
+ */
+ base: Vector2;
+ /**
+ * A scale.
+
+ If both the width and the height are set to {@link Resizer.AUTO_SIZE},
+ they will be scaled uniformly using this scalar.
+ */
+ scale: number;
+ /**
+ * The calculated width.
+
+ If both the width and the height are set to {@link Resizer.AUTO_SIZE}, the
+ base width will be returned.
+ */
+ width: number;
+ /**
+ * The calculated height.
+
+ If both the width and the height are set to {@link Resizer.AUTO_SIZE}, the
+ base height will be returned.
+ */
+ height: number;
+ /**
+ * An auto sizing constant.
+
+ Can be used to automatically calculate the width or height based on the
+ original aspect ratio.
+ */
+ static AUTO_SIZE: number;
+ }
+
+ export interface Pass extends Initializable, Resizable, Disposable { }
+
+ /**
+ * Constructs a new pass.
+ * @param [name = Pass] - The name of this pass. Does not have to be unique.
+ * @param [scene] - The scene to render. The default scene contains a single mesh that fills the screen.
+ * @param [camera] - A camera. Fullscreen effect passes don't require a camera.
+ */
+ export class Pass implements Initializable, Resizable, Disposable {
+ constructor(name?: string, scene?: Scene, camera?: Camera);
+ /**
+ * The name of this pass.
+ */
+ name: string;
+ /**
+ * The scene to render.
+ */
+ protected scene: Scene;
+ /**
+ * The camera.
+ */
+ protected camera: Camera;
+ /**
+ * Only relevant for subclassing.
+
+ Indicates whether the {@link EffectComposer} should swap the frame
+ buffers after this pass has finished rendering.
+
+ Set this to `false` if this pass doesn't render to the output buffer or
+ the screen. Otherwise, the contents of the input buffer will be lost.
+ */
+ needsSwap: boolean;
+ /**
+ * Indicates whether the {@link EffectComposer} should prepare a depth
+ texture for this pass.
+
+ Set this to `true` if this pass relies on depth information from a
+ preceding {@link RenderPass}.
+ */
+ needsDepthTexture: boolean;
+ /**
+ * Indicates whether this pass should be executed.
+ */
+ enabled: boolean;
+ /**
+ * Indicates whether this pass should render to screen.
+ */
+ renderToScreen: boolean;
+ /**
+ * Returns the current fullscreen material.
+ * @returns The current fullscreen material, or null if there is none.
+ */
+ getFullscreenMaterial(): Material;
+ /**
+ * Sets the fullscreen material.
+
+ The material will be assigned to a mesh that fills the screen. The mesh
+ will be created once a material is assigned via this method.
+ * @param material - A fullscreen material.
+ */
+ protected setFullscreenMaterial(material: Material): void;
+ /**
+ * Returns the current depth texture.
+ * @returns The current depth texture, or null if there is none.
+ */
+ getDepthTexture(): Texture;
+ /**
+ * Sets the depth texture.
+
+ You may override this method if your pass relies on the depth information
+ of a preceding {@link RenderPass}.
+ * @param depthTexture - A depth texture.
+ * @param [depthPacking = 0] - The depth packing.
+ */
+ setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
+ /**
+ * Renders the effect.
+
+ This is an abstract method that must be overridden.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ /**
+ * Updates this pass with the renderer's size.
+
+ You may override this method in case you want to be informed about the size
+ of the main frame buffer.
+
+ The {@link EffectComposer} calls this method before this pass is
+ initialized and every time its own size is updated.
+ * @example
+ * this.myRenderTarget.setSize(width, height);
+ * @param width - The renderer's width.
+ * @param height - The renderer's height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+
+ By overriding this method you gain access to the renderer. You'll also be
+ able to configure your custom render targets to use the appropriate format
+ (RGB or RGBA).
+
+ The provided renderer can be used to warm up special off-screen render
+ targets by performing a preliminary render operation.
+
+ The {@link EffectComposer} calls this method when this pass is added to its
+ queue, but not before its size has been set.
+ * @example
+ * if(!alpha && frameBufferType === UnsignedByteType) { this.myRenderTarget.texture.format = RGBFormat; }
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
+ /**
+ * Performs a shallow search for disposable properties and deletes them. The
+ pass will be inoperative after this method was called!
+
+ Disposable objects:
+ - WebGLRenderTarget
+ - Material
+ - Texture
+
+ The {@link EffectComposer} calls this method when it is being destroyed.
+ You may, however, use it independently to free memory when you are certain
+ that you don't need this pass anymore.
+ */
+ dispose(): void;
+ }
+
+ /**
+ * Constructs a new blur pass.
+ * @param [options] - The options.
+ * @param [options.width = Resizer.AUTO_SIZE] - The blur render width.
+ * @param [options.height = Resizer.AUTO_SIZE] - The blur render height.
+ * @param [options.kernelSize = KernelSize.LARGE] - The blur kernel size.
+ */
+ export class BlurPass {
+ constructor(
+ options?: Partial<{
+ width?: number;
+ height?: number;
+ kernelSize?: KernelSize;
+ }>
+ );
+ /**
+ * The desired render resolution.
+
+ It's recommended to set the height or the width to an absolute value for
+ consistent results across different devices and resolutions.
+
+ Use {@link Resizer.AUTO_SIZE} for the width or height to automatically
+ calculate it based on its counterpart and the original aspect ratio.
+ */
+ resolution: Resizer;
+ /**
+ * Whether the blurred result should also be dithered using noise.
+ */
+ dithering: boolean;
+ /**
+ * The current width of the internal render targets.
+ */
+ width: number;
+ /**
+ * The current height of the internal render targets.
+ */
+ height: number;
+ /**
+ * The current blur scale.
+ */
+ scale: number;
+ /**
+ * The kernel size.
+ */
+ kernelSize: KernelSize;
+ /**
+ * Returns the current resolution scale.
+ * @returns The resolution scale.
+ */
+ getResolutionScale(): number;
+ /**
+ * Sets the resolution scale.
+ * @param scale - The new resolution scale.
+ */
+ setResolutionScale(scale: number): void;
+ /**
+ * Blurs the input buffer and writes the result to the output buffer. The
+ input buffer remains intact, unless it's also the output buffer.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ /**
+ * Updates the size of this pass.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
+ /**
+ * An auto sizing flag.
+ */
+ static AUTO_SIZE: number;
+ }
+
+ /**
+ * Constructs a new clear mask pass.
+ */
+ export class ClearMaskPass {
+ /**
+ * Disables the global stencil test.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ }
+
+ /**
+ * Constructs a new clear pass.
+ * @param [color = true] - Determines whether the color buffer should be cleared.
+ * @param [depth = true] - Determines whether the depth buffer should be cleared.
+ * @param [stencil = false] - Determines whether the stencil buffer should be cleared.
+ */
+ export class ClearPass {
+ constructor(color?: boolean, depth?: boolean, stencil?: boolean);
+ /**
+ * Indicates whether the color buffer should be cleared.
+ */
+ color: boolean;
+ /**
+ * Indicates whether the depth buffer should be cleared.
+ */
+ depth: boolean;
+ /**
+ * Indicates whether the stencil buffer should be cleared.
+ */
+ stencil: boolean;
+ /**
+ * An override clear alpha.
+
+ The default value is -1.
+ */
+ overrideClearAlpha: number;
+ /**
+ * Clears the input buffer or the screen.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ }
+
+ /**
+ * Constructs a new render pass.
+ * @param scene - The scene to render.
+ * @param camera - The camera to use to render the scene.
+ * @param [overrideMaterial = null] - An override material for the scene.
+ */
+ export class RenderPass extends Pass {
+ constructor(scene: Scene, camera: Camera, overrideMaterial?: Material);
+ /**
+ * An override material.
+ */
+ overrideMaterial: Material;
+ /**
+ * Indicates whether the target buffer should be cleared before rendering.
+ */
+ clear: boolean;
+ /**
+ * Returns the clear pass.
+ * @returns The clear pass.
+ */
+ getClearPass(): ClearPass;
+ /**
+ * Returns the current depth texture.
+ * @returns The current depth texture, or null if there is none.
+ */
+ getDepthTexture(): Texture;
+ /**
+ * Sets the depth texture.
+
+ The provided texture will be attached to the input buffer unless this pass
+ renders to screen.
+ * @param depthTexture - A depth texture.
+ * @param [depthPacking = 0] - The depth packing.
+ */
+ setDepthTexture(depthTexture: DepthTexture, depthPacking?: number): void;
+ /**
+ * Renders the scene.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ }
+
+ /**
+ * Constructs a new depth pass.
+ * @param scene - The scene to render.
+ * @param camera - The camera to use to render the scene.
+ * @param [options] - The options.
+ * @param [options.width = Resizer.AUTO_SIZE] - The render width.
+ * @param [options.height = Resizer.AUTO_SIZE] - The render height.
+ * @param [options.renderTarget] - A custom render target.
+ */
+ export class DepthPass {
+ constructor(
+ scene: Scene,
+ camera: Camera,
+ options?: Partial<{
+ width?: number;
+ height?: number;
+ renderTarget?: WebGLRenderTarget;
+ }>
+ );
+ /**
+ * A render target that contains the scene depth.
+ */
+ renderTarget: WebGLRenderTarget;
+ /**
+ * The desired render resolution.
+
+ Use {@link Resizer.AUTO_SIZE} for the width or height to automatically
+ calculate it based on its counterpart and the original aspect ratio.
+ */
+ resolution: Resizer;
+ /**
+ * Returns the current resolution scale.
+ * @returns The resolution scale.
+ */
+ getResolutionScale(): number;
+ /**
+ * Sets the resolution scale.
+ * @param scale - The new resolution scale.
+ */
+ setResolutionScale(scale: number): void;
+ /**
+ * Renders the scene depth.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ /**
+ * Updates the size of this pass.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * A blend function enumeration.
+ * @property SKIP - No blending. The effect will not be included in the final shader.
+ * @property ADD - Additive blending. Fast, but may produce washed out results.
+ * @property ALPHA - Alpha blending. Blends based on the alpha value of the new color.
+ * @property AVERAGE - Average blending.
+ * @property COLOR_BURN - Color burn.
+ * @property COLOR_DODGE - Color dodge.
+ * @property DARKEN - Prioritize darker colors.
+ * @property DIFFERENCE - Color difference.
+ * @property EXCLUSION - Color exclusion.
+ * @property LIGHTEN - Prioritize lighter colors.
+ * @property MULTIPLY - Color multiplication.
+ * @property DIVIDE - Color division.
+ * @property NEGATION - Color negation.
+ * @property NORMAL - Normal blending. The new color overwrites the old one.
+ * @property OVERLAY - Color overlay.
+ * @property REFLECT - Color reflection.
+ * @property SCREEN - Screen blending. The two colors are effectively projected on a white screen simultaneously.
+ * @property SOFT_LIGHT - Soft light blending.
+ * @property SUBTRACT - Color subtraction.
+ */
+ export enum BlendFunction {
+ 'SKIP',
+ 'ADD',
+ 'ALPHA',
+ 'AVERAGE',
+ 'COLOR_BURN',
+ 'COLOR_DODGE',
+ 'DARKEN',
+ 'DIFFERENCE',
+ 'EXCLUSION',
+ 'LIGHTEN',
+ 'MULTIPLY',
+ 'DIVIDE',
+ 'NEGATION',
+ 'NORMAL',
+ 'OVERLAY',
+ 'REFLECT',
+ 'SCREEN',
+ 'SOFT_LIGHT',
+ 'SUBTRACT',
+ }
+
+ /**
+ * Constructs a new blend mode.
+ * @param blendFunction - The blend function to use.
+ * @param opacity - The opacity of the color that will be blended with the base color.
+ */
+ export class BlendMode {
+ constructor(blendFunction: BlendFunction, opacity?: number);
+ /**
+ * The blend function.
+ */
+ blendFunction: BlendFunction;
+ /**
+ * The opacity of the color that will be blended with the base color.
+ */
+ opacity: Uniform;
+ /**
+ * Returns the blend function shader code.
+ * @returns The blend function shader code.
+ */
+ getShaderCode(): string;
+ }
+
+ /**
+ * Constructs a new effect.
+ * @param name - The name of this effect. Doesn't have to be unique.
+ * @param fragmentShader - The fragment shader. This shader is required.
+ * @param [options] - Additional options.
+ * @param [options.attributes = EffectAttribute.NONE] - The effect attributes that determine the execution priority and resource requirements.
+ * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function of this effect.
+ * @param [options.defines] - Custom preprocessor macro definitions. Keys are names and values are code.
+ * @param [options.uniforms] - Custom shader uniforms. Keys are names and values are uniforms.
+ * @param [options.extensions] - WebGL extensions.
+ * @param [options.vertexShader = null] - The vertex shader. Most effects don't need one.
+ */
+ export class Effect implements Initializable, Resizable, Disposable {
+ constructor(
+ name: string,
+ fragmentShader: string,
+ options?: {
+ attributes?: EffectAttribute;
+ blendFunction?: BlendFunction;
+ defines?: Map<string, string>;
+ uniforms?: Map<string, Uniform>;
+ extensions?: Set<WebGLExtension>;
+ vertexShader?: string;
+ }
+ );
+ /**
+ * The name of this effect.
+ */
+ name: string;
+ /**
+ * The effect attributes.
+
+ Effects that have the same attributes will be executed in the order in
+ which they were registered. Some attributes imply a higher priority.
+ */
+ attributes: EffectAttribute;
+ /**
+ * The fragment shader.
+ */
+ fragmentShader: string;
+ /**
+ * The vertex shader.
+ */
+ vertexShader: string;
+ /**
+ * Preprocessor macro definitions.
+
+ You'll need to call {@link EffectPass#recompile} after changing a macro.
+ */
+ defines: Map<string, string>;
+ /**
+ * Shader uniforms.
+
+ You may freely modify the values of these uniforms at runtime. However,
+ uniforms must not be removed or added after the effect was created.
+ */
+ uniforms: Map<string, Uniform>;
+ /**
+ * WebGL extensions that are required by this effect.
+
+ You'll need to call {@link EffectPass#recompile} after adding or removing
+ an extension.
+ */
+ extensions: Set<WebGLExtension>;
+ /**
+ * The blend mode of this effect.
+
+ The result of this effect will be blended with the result of the previous
+ effect using this blend mode.
+
+ Feel free to adjust the opacity of the blend mode at runtime. However,
+ you'll need to call {@link EffectPass#recompile} if you change the blend
+ function.
+ */
+ blendMode: BlendMode;
+ /**
+ * Sets the depth texture.
+
+ You may override this method if your effect requires direct access to the
+ depth texture that is bound to the associated {@link EffectPass}.
+ * @param depthTexture - A depth texture.
+ * @param [depthPacking = 0] - The depth packing.
+ */
+ setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
+ /**
+ * Updates the effect by performing supporting operations.
+
+ This method is called by the {@link EffectPass} right before the main
+ fullscreen render operation, even if the blend function is set to `SKIP`.
+
+ You may override this method if you need to render additional off-screen
+ textures or update custom uniforms.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
+ /**
+ * Updates the size of this effect.
+
+ You may override this method in case you want to be informed about the main
+ render size.
+
+ The {@link EffectPass} calls this method before this effect is initialized
+ and every time its own size is updated.
+ * @example
+ * this.myRenderTarget.setSize(width, height);
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+
+ By overriding this method you gain access to the renderer. You'll also be
+ able to configure your custom render targets to use the appropriate format
+ (RGB or RGBA).
+
+ The provided renderer can be used to warm up special off-screen render
+ targets by performing a preliminary render operation.
+
+ The {@link EffectPass} calls this method during its own initialization
+ which happens after the size has been set.
+ * @example
+ * if(!alpha && frameBufferType === UnsignedByteType) { this.myRenderTarget.texture.format = RGBFormat; }
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
+ /**
+ * Performs a shallow search for properties that define a dispose method and
+ deletes them. The effect will be inoperative after this method was called!
+
+ Disposable objects:
+ - render targets
+ - materials
+ - textures
+
+ The {@link EffectPass} calls this method when it is being destroyed. Do not
+ call this method directly.
+ */
+ dispose(): void;
+ }
+
+ /**
+ * An enumeration of effect attributes.
+
+ Attributes can be concatenated using the bitwise OR operator.
+ * @example
+ * const attributes = EffectAttribute.CONVOLUTION | EffectAttribute.DEPTH;
+ * @property CONVOLUTION - Describes effects that fetch additional samples from the input buffer. There cannot be more than one effect with this attribute per {@link EffectPass}.
+ * @property DEPTH - Describes effects that require a depth texture.
+ * @property NONE - No attributes. Most effects don't need to specify any attributes.
+ */
+ export const EffectAttribute: {
+ CONVOLUTION: number;
+ DEPTH: number;
+ NONE: number;
+ };
+
+ /**
+ * An enumeration of WebGL extensions.
+ * @property DERIVATIVES - Enables derivatives by adding the functions dFdx, dFdy and fwidth.
+ * @property FRAG_DEPTH - Enables gl_FragDepthEXT to set a depth value of a fragment from within the fragment shader.
+ * @property DRAW_BUFFERS - Enables multiple render targets (MRT) support.
+ * @property SHADER_TEXTURE_LOD - Enables explicit control of texture LOD.
+ */
+ export const WebGLExtension: {
+ DERIVATIVES: string;
+ FRAG_DEPTH: string;
+ DRAW_BUFFERS: string;
+ SHADER_TEXTURE_LOD: string;
+ };
+
+ /**
+ * Constructs a new effect pass.
+
+ The provided effects will be organized and merged for optimal performance.
+ * @param camera - The main camera. The camera's type and settings will be available to all effects.
+ * @param effects - The effects that will be rendered by this pass.
+ */
+ export class EffectPass extends Pass {
+ constructor(camera: Camera, ...effects: Effect[]);
+ /**
+ * A time offset.
+
+ Elapsed time will start at this value.
+ */
+ minTime: number;
+ /**
+ * The maximum time.
+
+ If the elapsed time exceeds this value, it will be reset.
+ */
+ maxTime: number;
+ /**
+ * Indicates whether this pass encodes its output when rendering to screen.
+ */
+ encodeOutput: boolean;
+ /**
+ * Indicates whether dithering is enabled.
+
+ Color quantization reduces banding artifacts but degrades performance.
+ */
+ dithering: boolean;
+ /**
+ * Updates the shader material.
+
+ Warning: This method triggers a relatively expensive shader recompilation.
+ */
+ recompile(): void;
+ /**
+ * Returns the current depth texture.
+ * @returns The current depth texture, or null if there is none.
+ */
+ getDepthTexture(): Texture;
+ /**
+ * Sets the depth texture.
+ * @param depthTexture - A depth texture.
+ * @param [depthPacking = 0] - The depth packing.
+ */
+ setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
+ /**
+ * Renders the effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ /**
+ * Updates the size of this pass.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
+ /**
+ * Deletes disposable objects.
+
+ This pass will be inoperative after this method was called!
+ */
+ dispose(): void;
+ }
+
+ /**
+ * Constructs a new mask pass.
+ * @param scene - The scene to render.
+ * @param camera - The camera to use.
+ */
+ export class MaskPass {
+ constructor(scene: Scene, camera: Camera);
+ /**
+ * Inverse flag.
+ */
+ inverse: boolean;
+ /**
+ * Indicates whether this pass should clear the stencil buffer.
+ */
+ clear: boolean;
+ /**
+ * Renders the effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ }
+
+ /**
+ * Constructs a new normal pass.
+ * @param scene - The scene to render.
+ * @param camera - The camera to use to render the scene.
+ * @param [options] - The options.
+ * @param [options.width = Resizer.AUTO_SIZE] - The render width.
+ * @param [options.height = Resizer.AUTO_SIZE] - The render height.
+ * @param [options.renderTarget] - A custom render target.
+ */
+ export class NormalPass extends Pass {
+ constructor(
+ scene: Scene,
+ camera: Camera,
+ options?: Partial<{
+ width: number;
+ height: number;
+ renderTarget: WebGLRenderTarget;
+ }>
+ );
+ /**
+ * A render target that contains the scene normals.
+ */
+ renderTarget: WebGLRenderTarget;
+ /**
+ * The desired render resolution.
+
+ Use {@link Resizer.AUTO_SIZE} for the width or height to automatically
+ calculate it based on its counterpart and the original aspect ratio.
+ */
+ resolution: Resizer;
+ /**
+ * Returns the current resolution scale.
+ * @returns The resolution scale.
+ */
+ getResolutionScale(): number;
+ /**
+ * Sets the resolution scale.
+ * @param scale - The new resolution scale.
+ */
+ setResolutionScale(scale: number): void;
+ /**
+ * Renders the scene normals.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ /**
+ * Updates the size of this pass.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * Constructs a new save pass.
+ * @param [renderTarget] - A render target.
+ * @param [resize = true] - Whether the render target should adjust to the size of the input buffer.
+ */
+ export class SavePass {
+ constructor(renderTarget?: WebGLRenderTarget, resize?: boolean);
+ /**
+ * The render target.
+ */
+ renderTarget: WebGLRenderTarget;
+ /**
+ * Indicates whether the render target should be resized automatically.
+ */
+ resize: boolean;
+ /**
+ * Saves the input buffer.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ /**
+ * Updates the size of this pass.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - A renderer.
+ * @param alpha - Whether the renderer uses the alpha channel.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
+ }
+
+ /**
+ * Constructs a new shader pass.
+ * @param material - A shader material.
+ * @param [input = "inputBuffer"] - The name of the input buffer uniform.
+ */
+ export class ShaderPass {
+ constructor(material: ShaderMaterial, input?: string);
+ /**
+ * Sets the name of the input buffer uniform.
+
+ Most fullscreen materials modify texels from an input texture. This pass
+ automatically assigns the main input buffer to the uniform identified by
+ the given name.
+ * @param input - The name of the input buffer uniform.
+ */
+ setInput(input: string): void;
+ /**
+ * Renders the effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param outputBuffer - A frame buffer that serves as the output render target unless this pass renders to screen.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ * @param [stencilTest] - Indicates whether a stencil mask is active.
+ */
+ render(
+ renderer: WebGLRenderer,
+ inputBuffer: WebGLRenderTarget,
+ outputBuffer: WebGLRenderTarget,
+ deltaTime?: number,
+ stencilTest?: boolean
+ ): void;
+ }
+
+ export interface EffectComposer extends Resizable, Disposable { }
+
+ /**
+ * Constructs a new effect composer.
+ * @param renderer - The renderer that should be used.
+ * @param [options] - The options.
+ * @param [options.depthBuffer = true] - Whether the main render targets should have a depth buffer.
+ * @param [options.stencilBuffer = false] - Whether the main render targets should have a stencil buffer.
+ * @param [options.multisampling = 0] - The number of samples used for multisample antialiasing. Requires WebGL 2.
+ * @param [options.frameBufferType] - The type of the internal frame buffers. It's recommended to use HalfFloatType if possible.
+ */
+ export class EffectComposer implements Resizable, Disposable {
+ constructor(
+ renderer: WebGLRenderer,
+ options?: {
+ depthBuffer?: boolean;
+ stencilBuffer?: boolean;
+ multisampling?: number;
+ frameBufferType?: TextureDataType;
+ }
+ );
+ /**
+ * The current amount of samples used for multisample antialiasing.
+ */
+ multisampling: number;
+ /**
+ * Returns the WebGL renderer.
+
+ You may replace the renderer at any time by using
+ {@link EffectComposer#replaceRenderer}.
+ * @returns The renderer.
+ */
+ getRenderer(): WebGLRenderer;
+ /**
+ * Replaces the current renderer with the given one.
+
+ The auto clear mechanism of the provided renderer will be disabled. If the
+ new render size differs from the previous one, all passes will be updated.
+
+ By default, the DOM element of the current renderer will automatically be
+ removed from its parent node and the DOM element of the new renderer will
+ take its place.
+ * @param renderer - The new renderer.
+ * @param updateDOM - Indicates whether the old canvas should be replaced by the new one in the DOM.
+ * @returns The old renderer.
+ */
+ replaceRenderer(renderer: WebGLRenderer, updateDOM?: boolean): WebGLRenderer;
+ /**
+ * Creates a new render target by replicating the renderer's canvas.
+
+ The created render target uses a linear filter for texel minification and
+ magnification. Its render texture format depends on whether the renderer
+ uses the alpha channel. Mipmaps are disabled.
+
+ Note: The buffer format will also be set to RGBA if the frame buffer type
+ is HalfFloatType because RGB16F buffers are not renderable.
+ * @param depthBuffer - Whether the render target should have a depth buffer.
+ * @param stencilBuffer - Whether the render target should have a stencil buffer.
+ * @param type - The frame buffer type.
+ * @param multisampling - The number of samples to use for antialiasing.
+ * @returns A new render target that equals the renderer's canvas.
+ */
+ createBuffer(depthBuffer: boolean, stencilBuffer: boolean, type: number, multisampling: number): WebGLRenderTarget;
+ /**
+ * Adds a pass, optionally at a specific index.
+ * @param pass - A new pass.
+ * @param [index] - An index at which the pass should be inserted.
+ */
+ addPass(pass: Pass, index?: number): void;
+ /**
+ * Removes a pass.
+ * @param pass - The pass.
+ */
+ removePass(pass: Pass): void;
+ /**
+ * Renders all enabled passes in the order in which they were added.
+ * @param deltaTime - The time between the last frame and the current one in seconds.
+ */
+ render(deltaTime: number): void;
+ /**
+ * Sets the size of the buffers and the renderer's output canvas.
+
+ Every pass will be informed of the new size. It's up to each pass how that
+ information is used.
+
+ If no width or height is specified, the render targets and passes will be
+ updated with the current size of the renderer.
+ * @param [width] - The width.
+ * @param [height] - The height.
+ * @param [updateStyle] - Determines whether the style of the canvas should be updated.
+ */
+ setSize(width?: number, height?: number, updateStyle?: boolean): void;
+ /**
+ * Resets this composer by deleting all passes and creating new buffers.
+ */
+ reset(): void;
+ /**
+ * Destroys this composer and all passes.
+
+ This method deallocates all disposable objects created by the passes. It
+ also deletes the main frame buffers of this composer.
+ */
+ dispose(): void;
+ }
+
+ /**
+ * The Resizable contract.
+
+ Implemented by objects that can be resized.
+ */
+ export interface Resizable {
+ /**
+ * Sets the size of this object.
+ * @param width - The new width.
+ * @param height - The new height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * Constructs a new selection.
+ * @param [iterable] - A collection of objects that should be added to this selection.
+ * @param [layer = 10] - A dedicated render layer for selected objects.
+ */
+ export class Selection {
+ constructor(iterable?: Iterable<Object3D>, layer?: number);
+ /**
+ * A dedicated render layer for selected objects.
+
+ This layer is set to 10 by default. If this collides with your own custom
+ layers, please change it to a free layer before rendering!
+ */
+ layer: number;
+ /**
+ * Clears this selection.
+ * @returns This selection.
+ */
+ clear(): Selection;
+ /**
+ * Clears this selection and adds the given objects.
+ * @param objects - The objects that should be selected. This array will be copied.
+ * @returns This selection.
+ */
+ set(objects: Iterable<Object3D>): Selection;
+ /**
+ * An alias for {@link has}.
+ * @param object - An object.
+ * @returns Returns 0 if the given object is currently selected, or -1 otherwise.
+ */
+ indexOf(object: Object3D): number;
+ /**
+ * Adds an object to this selection.
+ * @param object - The object that should be selected.
+ * @returns This selection.
+ */
+ add(object: Object3D): Selection;
+ /**
+ * Removes an object from this selection.
+ * @param object - The object that should be deselected.
+ * @returns Returns true if an object has successfully been removed from this selection; otherwise false.
+ */
+ delete(object: Object3D): boolean;
+ /**
+ * Sets the visibility of all selected objects.
+
+ This method enables or disables render layer 0 of all selected objects.
+ * @param visible - Whether the selected objects should be visible.
+ * @returns This selection.
+ */
+ setVisible(visible: boolean): Selection;
+ }
+
+ /**
+ * Constructs a new bloom effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function of this effect.
+ * @param [options.luminanceThreshold = 0.9] - The luminance threshold. Raise this value to mask out darker elements in the scene. Range is [0, 1].
+ * @param [options.luminanceSmoothing = 0.025] - Controls the smoothness of the luminance threshold. Range is [0, 1].
+ * @param [options.intensity = 1.0] - The intensity.
+ * @param [options.width = Resizer.AUTO_SIZE] - The render width.
+ * @param [options.height = Resizer.AUTO_SIZE] - The render height.
+ * @param [options.kernelSize = KernelSize.LARGE] - The blur kernel size.
+ */
+ export class BloomEffect extends Effect {
+ constructor(options?: {
+ blendFunction?: BlendFunction;
+ luminanceThreshold?: number;
+ luminanceSmoothing?: number;
+ intensity?: number;
+ width?: number;
+ height?: number;
+ kernelSize?: KernelSize;
+ });
+ /**
+ * A blur pass.
+ */
+ blurPass: BlurPass;
+ /**
+ * A luminance shader pass.
+
+ You may disable this pass to deactivate luminance filtering.
+ */
+ luminancePass: ShaderPass;
+ /**
+ * A texture that contains the intermediate result of this effect.
+
+ This texture will be applied to the scene colors unless the blend function
+ is set to `SKIP`.
+ */
+ texture: Texture;
+ /**
+ * The luminance material.
+ */
+ luminanceMaterial: LuminanceMaterial;
+ /**
+ * The resolution of this effect.
+ */
+ resolution: Resizer;
+ /**
+ * The current width of the internal render targets.
+ */
+ width: number;
+ /**
+ * The current height of the internal render targets.
+ */
+ height: number;
+ /**
+ * Indicates whether dithering is enabled.
+ */
+ dithering: boolean;
+ /**
+ * The blur kernel size.
+ */
+ kernelSize: KernelSize;
+ distinction: number;
+ /**
+ * The bloom intensity.
+ */
+ intensity: number;
+ /**
+ * Returns the current resolution scale.
+ * @returns The resolution scale.
+ */
+ getResolutionScale(): number;
+ /**
+ * Sets the resolution scale.
+ * @param scale - The new resolution scale.
+ */
+ setResolutionScale(scale: number): void;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
+ /**
+ * Updates the size of internal render targets.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
+ }
+
+ /**
+ * Constructs a new brightness/contrast effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.brightness = 0.0] - The brightness factor, ranging from -1 to 1, where 0 means no change.
+ * @param [options.contrast = 0.0] - The contrast factor, ranging from -1 to 1, where 0 means no change.
+ */
+ export class BrightnessContrastEffect extends Effect {
+ constructor(options?: { blendFunction?: BlendFunction; brightness?: number; contrast?: number; });
+ }
+
+ /**
+ * Constructs a new color average effect.
+ * @param [blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ */
+ export class ColorAverageEffect extends Effect {
+ constructor(blendFunction?: BlendFunction);
+ }
+
+ /**
+ * Constructs a new color depth effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.bits = 16] - The color bit depth.
+ */
+ export class ColorDepthEffect extends Effect {
+ constructor(options?: { blendFunction?: BlendFunction; bits?: number; });
+ /**
+ * Returns the current color bit depth.
+ * @returns The color bit depth.
+ */
+ getBitDepth(): number;
+ /**
+ * Sets the virtual amount of color bits.
+
+ Each color channel will use a third of the available bits. The alpha
+ channel remains unaffected.
+
+ Note that the real color depth will not be altered by this effect.
+ * @param bits - The new color bit depth.
+ */
+ setBitDepth(bits: number): void;
+ }
+
+ /**
+ * Constructs a new chromatic aberration effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.offset] - The color offset.
+ */
+ export class ChromaticAberrationEffect extends Effect {
+ constructor(options?: { blendFunction?: BlendFunction; offset?: Vector2; });
+ /**
+ * The color offset.
+ */
+ offset: Vector2;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
+ }
+
+ /**
+ * Constructs a new depth effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.inverted = false] - Whether the depth values should be inverted.
+ */
+ export class DepthEffect extends Effect {
+ constructor(options?: { blendFunction?: BlendFunction; inverted?: boolean; });
+ /**
+ * Indicates whether depth will be inverted.
+ */
+ inverted: boolean;
+ }
+
+ /**
+ * Constructs a new depth of field effect.
+ * @param camera - The main camera.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.focusDistance = 0.0] - The normalized focus distance. Range is [0.0, 1.0].
+ * @param [options.focalLength = 0.05] - The focal length. Range is [0.0, 1.0].
+ * @param [options.bokehScale = 1.0] - The scale of the bokeh blur.
+ * @param [options.width = Resizer.AUTO_SIZE] - The render width.
+ * @param [options.height = Resizer.AUTO_SIZE] - The render height.
+ */
+ export class DepthOfFieldEffect extends Effect {
+ constructor(
+ camera: Camera,
+ options?: {
+ blendFunction?: BlendFunction;
+ focusDistance?: number;
+ focalLength?: number;
+ bokehScale?: number;
+ width?: number;
+ height?: number;
+ }
+ );
+ /**
+ * This pass blurs the foreground CoC buffer to soften edges.
+ */
+ blurPass: BlurPass;
+ /**
+ * A target position that should be kept in focus.
+
+ Set this to `null` to disable auto focus.
+ */
+ target: Vector3;
+ /**
+ * The circle of confusion material.
+ */
+ circleOfConfusionMaterial: CircleOfConfusionMaterial;
+ /**
+ * The resolution of this effect.
+ */
+ resolution: Resizer;
+ /**
+ * The current bokeh scale.
+ */
+ bokehScale: number;
+ /**
+ * Calculates the focus distance from the camera to the given position.
+ * @param target - The target.
+ * @returns The normalized focus distance.
+ */
+ calculateFocusDistance(target: Vector3): number;
+ /**
+ * Sets the depth texture.
+ * @param depthTexture - A depth texture.
+ * @param [depthPacking = 0] - The depth packing.
+ */
+ setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
+ /**
+ * Updates the size of internal render targets.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
+ }
+
+ /**
+ * Constructs a new dot screen effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.angle = 1.57] - The angle of the dot pattern.
+ * @param [options.scale = 1.0] - The scale of the dot pattern.
+ */
+ export class DotScreenEffect extends Effect {
+ constructor(options?: { blendFunction?: BlendFunction; angle?: number; scale?: number; });
+ /**
+ * Sets the pattern angle.
+ * @param [angle] - The angle of the dot pattern.
+ */
+ setAngle(angle?: number): void;
+ }
+
+ /**
+ * Constructs a new glitch effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.chromaticAberrationOffset] - A chromatic aberration offset. If provided, the glitch effect will influence this offset.
+ * @param [options.delay] - The minimum and maximum delay between glitch activations in seconds.
+ * @param [options.duration] - The minimum and maximum duration of a glitch in seconds.
+ * @param [options.strength] - The strength of weak and strong glitches.
+ * @param [options.perturbationMap] - A perturbation map. If none is provided, a noise texture will be created.
+ * @param [options.dtSize = 64] - The size of the generated noise map. Will be ignored if a perturbation map is provided.
+ * @param [options.columns = 0.05] - The scale of the blocky glitch columns.
+ * @param [options.ratio = 0.85] - The threshold for strong glitches.
+ */
+ export class GlitchEffect extends Effect {
+ constructor(options?: {
+ blendFunction?: BlendFunction;
+ chromaticAberrationOffset?: Vector2;
+ delay?: Vector2;
+ duration?: Vector2;
+ strength?: Vector2;
+ perturbationMap?: Texture;
+ dtSize?: number;
+ columns?: number;
+ ratio?: number;
+ });
+ /**
+ * The minimum and maximum delay between glitch activations in seconds.
+ */
+ delay: Vector2;
+ /**
+ * The minimum and maximum duration of a glitch in seconds.
+ */
+ duration: Vector2;
+ /**
+ * The effect mode.
+ */
+ mode: GlitchMode;
+ /**
+ * The strength of weak and strong glitches.
+ */
+ strength: Vector2;
+ /**
+ * The threshold for strong glitches, ranging from 0 to 1 where 0 means no
+ weak glitches and 1 means no strong ones. The default ratio of 0.85
+ offers a decent balance.
+ */
+ ratio: number;
+ /**
+ * The chromatic aberration offset.
+ */
+ chromaticAberrationOffset: Vector2;
+ /**
+ * Indicates whether the glitch effect is currently active.
+ */
+ active: boolean;
+ /**
+ * Returns the current perturbation map.
+ * @returns The current perturbation map.
+ */
+ getPerturbationMap(): Texture;
+ /**
+ * Replaces the current perturbation map with the given one.
+
+ The current map will be disposed if it was generated by this effect.
+ * @param perturbationMap - The new perturbation map.
+ */
+ setPerturbationMap(perturbationMap: Texture): void;
+ /**
+ * Generates a perturbation map.
+ * @param [size = 64] - The texture size.
+ * @returns The perturbation map.
+ */
+ generatePerturbationMap(size?: number): DataTexture;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
+ }
+
+ /**
+ * A glitch mode enumeration.
+ * @property DISABLED - No glitches.
+ * @property SPORADIC - Sporadic glitches.
+ * @property CONSTANT_MILD - Constant mild glitches.
+ * @property CONSTANT_WILD - Constant wild glitches.
+ */
+ export const GlitchMode: {
+ DISABLED: number;
+ SPORADIC: number;
+ CONSTANT_MILD: number;
+ CONSTANT_WILD: number;
+ };
+
+ /**
+ * Constructs a new god rays effect.
+ * @param camera - The main camera.
+ * @param lightSource - The light source. Must not write depth and has to be flagged as transparent.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function of this effect.
+ * @param [options.samples = 60.0] - The number of samples per pixel.
+ * @param [options.density = 0.96] - The density of the light rays.
+ * @param [options.decay = 0.9] - An illumination decay factor.
+ * @param [options.weight = 0.4] - A light ray weight factor.
+ * @param [options.exposure = 0.6] - A constant attenuation coefficient.
+ * @param [options.clampMax = 1.0] - An upper bound for the saturation of the overall effect.
+ * @param [options.width = Resizer.AUTO_SIZE] - The render width.
+ * @param [options.height = Resizer.AUTO_SIZE] - The render height.
+ * @param [options.kernelSize = KernelSize.SMALL] - The blur kernel size. Has no effect if blur is disabled.
+ * @param [options.blur = true] - Whether the god rays should be blurred to reduce artifacts.
+ */
+ export class GodRaysEffect extends Effect {
+ constructor(
+ camera: Camera,
+ lightSource: Mesh | Points,
+ options?: {
+ blendFunction?: BlendFunction;
+ samples?: number;
+ density?: number;
+ decay?: number;
+ weight?: number;
+ exposure?: number;
+ clampMax?: number;
+ width?: number;
+ height?: number;
+ kernelSize?: KernelSize;
+ blur?: number;
+ }
+ );
+ /**
+ * A blur pass that reduces aliasing artifacts and makes the light softer.
+
+ Disable this pass to improve performance.
+ */
+ blurPass: BlurPass;
+ /**
+ * A texture that contains the intermediate result of this effect.
+
+ This texture will be applied to the scene colors unless the blend function
+ is set to `SKIP`.
+ */
+ texture: Texture;
+ /**
+ * The internal god rays material.
+ */
+ godRaysMaterial: GodRaysMaterial;
+ /**
+ * The resolution of this effect.
+ */
+ resolution: Resizer;
+ /**
+ * The current width of the internal render targets.
+ */
+ width: number;
+ /**
+ * The current height of the internal render targets.
+ */
+ height: number;
+ /**
+ * Indicates whether dithering is enabled.
+ */
+ dithering: boolean;
+ /**
+ * Indicates whether the god rays should be blurred to reduce artifacts.
+ */
+ blur: boolean;
+ /**
+ * The blur kernel size.
+ */
+ kernelSize: KernelSize;
+ /**
+ * Returns the current resolution scale.
+ * @returns The resolution scale.
+ */
+ getResolutionScale(): number;
+ /**
+ * Sets the resolution scale.
+ * @param scale - The new resolution scale.
+ */
+ setResolutionScale(scale: number): void;
+ /**
+ * The number of samples per pixel.
+ */
+ samples: number;
+ /**
+ * Sets the depth texture.
+ * @param depthTexture - A depth texture.
+ * @param [depthPacking = 0] - The depth packing.
+ */
+ setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
+ /**
+ * Updates the size of internal render targets.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
+ }
+
+ /**
+ * Constructs a new grid effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.OVERLAY] - The blend function of this effect.
+ * @param [options.scale = 1.0] - The scale of the grid pattern.
+ * @param [options.lineWidth = 0.0] - The line width of the grid pattern.
+ */
+ export class GridEffect extends Effect {
+ constructor(
+ options?: Partial<{
+ blendFunction: BlendFunction;
+ scale: number;
+ lineWidth: number;
+ }>
+ );
+ /**
+ * Returns the current grid scale.
+ * @returns The grid scale.
+ */
+ getScale(): number;
+ /**
+ * Sets the grid scale.
+ * @param scale - The new grid scale.
+ */
+ setScale(scale: number): void;
+ /**
+ * Returns the current grid line width.
+ * @returns The grid line width.
+ */
+ getLineWidth(): number;
+ /**
+ * Sets the grid line width.
+ * @param lineWidth - The new grid line width.
+ */
+ setLineWidth(lineWidth: number): void;
+ /**
+ * Updates the size of this pass.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * Constructs a new hue/saturation effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.hue = 0.0] - The hue in radians.
+ * @param [options.saturation = 0.0] - The saturation factor, ranging from -1 to 1, where 0 means no change.
+ */
+ export class HueSaturationEffect extends Effect {
+ constructor(options?: { blendFunction?: BlendFunction; hue?: number; saturation?: number; });
+ /**
+ * Sets the hue.
+ * @param hue - The hue in radians.
+ */
+ setHue(hue: number): void;
+ }
+
+ /**
+ * Constructs a new noise effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function of this effect.
+ * @param [options.premultiply = false] - Whether the noise should be multiplied with the input color.
+ */
+ export class NoiseEffect extends Effect {
+ constructor(options?: { blendFunction?: BlendFunction; premultiply?: boolean; });
+ /**
+ * Indicates whether the noise should be multiplied with the input color.
+ */
+ premultiply: boolean;
+ }
+
+ /**
+ * Constructs a new outline effect.
+
+ If you want dark outlines, remember to use an appropriate blend function.
+ * @param scene - The main scene.
+ * @param camera - The main camera.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.SCREEN] - The blend function. Set this to `BlendFunction.ALPHA` for dark outlines.
+ * @param [options.patternTexture = null] - A pattern texture.
+ * @param [options.edgeStrength = 1.0] - The edge strength.
+ * @param [options.pulseSpeed = 0.0] - The pulse speed. A value of zero disables the pulse effect.
+ * @param [options.visibleEdgeColor = 0xffffff] - The color of visible edges.
+ * @param [options.hiddenEdgeColor = 0x22090a] - The color of hidden edges.
+ * @param [options.width = Resizer.AUTO_SIZE] - The render width.
+ * @param [options.height = Resizer.AUTO_SIZE] - The render height.
+ * @param [options.kernelSize = KernelSize.VERY_SMALL] - The blur kernel size.
+ * @param [options.blur = false] - Whether the outline should be blurred.
+ * @param [options.xRay = true] - Whether occluded parts of selected objects should be visible.
+ */
+ export class OutlineEffect extends Effect {
+ constructor(
+ scene: Scene,
+ camera: Camera,
+ options?: Partial<{
+ blendFunction: BlendFunction;
+ patternTexture: number;
+ edgeStrength: number;
+ pulseSpeed: number;
+ visibleEdgeColor: number;
+ hiddenEdgeColor: number;
+ width: number;
+ height: number;
+ kernelSize: KernelSize;
+ blur: boolean;
+ xRay: boolean;
+ }>
+ );
+ /**
+ * A blur pass.
+ */
+ blurPass: BlurPass;
+ /**
+ * A selection of objects that will be outlined.
+ */
+ selection: Selection;
+ /**
+ * The pulse speed. A value of zero disables the pulse effect.
+ */
+ pulseSpeed: number;
+ /**
+ * The resolution of this effect.
+ */
+ resolution: Resizer;
+ /**
+ * The current width of the internal render targets.
+ */
+ width: number;
+ /**
+ * The current height of the internal render targets.
+ */
+ height: number;
+ selectionLayer: number;
+ /**
+ * Indicates whether dithering is enabled.
+ */
+ dithering: boolean;
+ /**
+ * The blur kernel size.
+ */
+ kernelSize: KernelSize;
+ /**
+ * Indicates whether the outlines should be blurred.
+ */
+ blur: boolean;
+ /**
+ * Indicates whether X-Ray outlines are enabled.
+ */
+ xRay: boolean;
+ /**
+ * Sets the pattern texture.
+
+ You'll need to call {@link EffectPass#recompile} after changing the
+ texture.
+ * @param texture - The new texture.
+ */
+ setPatternTexture(texture: Texture): void;
+ /**
+ * Returns the current resolution scale.
+ * @returns The resolution scale.
+ */
+ getResolutionScale(): number;
+ /**
+ * Sets the resolution scale.
+ * @param scale - The new resolution scale.
+ */
+ setResolutionScale(scale: number): void;
+ /**
+ * Clears the current selection and selects a list of objects.
+ * @param objects - The objects that should be outlined. This array will be copied.
+ * @returns This pass.
+ */
+ setSelection(objects: Object3D[]): OutlinePass;
+ /**
+ * Clears the list of selected objects.
+ * @returns This pass.
+ */
+ clearSelection(): OutlinePass;
+ /**
+ * Selects an object.
+ * @param object - The object that should be outlined.
+ * @returns This pass.
+ */
+ selectObject(object: Object3D): OutlinePass;
+ /**
+ * Deselects an object.
+ * @param object - The object that should no longer be outlined.
+ * @returns This pass.
+ */
+ deselectObject(object: Object3D): OutlinePass;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
+ /**
+ * Updates the size of internal render targets.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
+ }
+
+ /**
+ * Constructs a new pixelation effect.
+ * @param [granularity = 30.0] - The pixel granularity.
+ */
+ export class PixelationEffect extends Effect {
+ constructor(granularity?: any);
+ /**
+ * Returns the pixel granularity.
+ * @returns The granularity.
+ */
+ getGranularity(): number;
+ /**
+ * Sets the pixel granularity.
+
+ A higher value yields coarser visuals.
+ * @param granularity - The new granularity.
+ */
+ setGranularity(granularity: number): void;
+ /**
+ * Updates the granularity.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * Constructs a new scanline effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.OVERLAY] - The blend function of this effect.
+ * @param [options.density = 1.25] - The scanline density.
+ */
+ export class ScanlineEffect extends Effect {
+ density: number;
+ blendFunction: BlendFunction;
+ constructor(options?: { blendFunction?: BlendFunction; density?: number; });
+ /**
+ * Returns the current scanline density.
+ * @returns The scanline density.
+ */
+ getDensity(): number;
+ /**
+ * Sets the scanline density.
+ * @param density - The new scanline density.
+ */
+ setDensity(density: number): void;
+ /**
+ * Updates the size of this pass.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * Constructs a new shock wave effect.
+ * @param camera - The main camera.
+ * @param [epicenter] - The world position of the shock wave epicenter.
+ * @param [options] - The options.
+ * @param [options.speed = 2.0] - The animation speed.
+ * @param [options.maxRadius = 1.0] - The extent of the shock wave.
+ * @param [options.waveSize = 0.2] - The wave size.
+ * @param [options.amplitude = 0.05] - The distortion amplitude.
+ */
+ export class ShockWaveEffect extends Effect {
+ constructor(
+ camera: Camera,
+ epicenter?: Vector3,
+ options?: {
+ speed?: number;
+ maxRadius?: number;
+ waveSize?: number;
+ amplitude?: number;
+ }
+ );
+ /**
+ * The main camera.
+ */
+ camera: Camera;
+ /**
+ * The epicenter.
+ * @example
+ * shockWavePass.epicenter = myMesh.position;
+ */
+ epicenter: Vector3;
+ /**
+ * The speed of the shock wave animation.
+ */
+ speed: number;
+ /**
+ * Emits the shock wave.
+ */
+ explode(): void;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [delta] - The time between the last frame and the current one in seconds.
+ */
+ update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, delta?: number): void;
+ }
+
+ /**
+ * Constructs a new selective bloom effect.
+ * @param scene - The main scene.
+ * @param camera - The main camera.
+ * @param [options] - The options. See {@link BloomEffect} for details.
+ */
+ export class SelectiveBloomEffect extends Effect {
+ constructor(scene: Scene, camera: Camera, options?: any);
+ /**
+ * A selection of objects.
+ */
+ selection: Selection;
+ /**
+ * Indicates whether the selection should be considered inverted.
+ */
+ inverted: boolean;
+ /**
+ * Indicates whether the scene background should be ignored.
+ */
+ ignoreBackground: boolean;
+
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
+ /**
+ * Updates the size of internal render targets.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
+ }
+
+ /**
+ * Constructs a new sepia effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.intensity = 1.0] - The intensity of the effect.
+ */
+ export class SepiaEffect extends Effect {
+ constructor(options?: { blendFunction?: BlendFunction; intensity?: number; });
+ }
+
+ /**
+ * Constructs a new SMAA effect.
+ * @param searchImage - The SMAA search image. Preload this image using the {@link SMAAImageLoader}.
+ * @param areaImage - The SMAA area image. Preload this image using the {@link SMAAImageLoader}.
+ * @param [preset = SMAAPreset.HIGH] - An SMAA quality preset.
+ * @param [edgeDetectionMode = EdgeDetectionMode.COLOR] - The edge detection mode.
+ */
+ export class SMAAEffect extends Effect {
+ constructor(searchImage: Image, areaImage: Image, preset?: SMAAPreset, edgeDetectionMode?: EdgeDetectionMode);
+ /**
+ * The internal edge detection material.
+ */
+ edgeDetectionMaterial: EdgeDetectionMaterial;
+ /**
+ * The internal edge detection material.
+ */
+ colorEdgesMaterial: EdgeDetectionMaterial;
+ /**
+ * The internal edge weights material.
+ */
+ weightsMaterial: SMAAWeightsMaterial;
+ /**
+ * Sets the edge detection sensitivity.
+
+ See {@link EdgeDetectionMaterial#setEdgeDetectionThreshold} for more details.
+ * @param threshold - The edge detection sensitivity. Range: [0.05, 0.5].
+ */
+ setEdgeDetectionThreshold(threshold: number): void;
+ /**
+ * Sets the maximum amount of horizontal/vertical search steps.
+
+ See {@link SMAAWeightsMaterial#setOrthogonalSearchSteps} for more details.
+ * @param steps - The search steps. Range: [0, 112].
+ */
+ setOrthogonalSearchSteps(steps: number): void;
+ /**
+ * Applies the given quality preset.
+ * @param preset - The preset.
+ */
+ applyPreset(preset: SMAAPreset): void;
+ /**
+ * Sets the depth texture.
+ * @param depthTexture - A depth texture.
+ * @param [depthPacking = 0] - The depth packing.
+ */
+ setDepthTexture(depthTexture: Texture, depthPacking?: number): void;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
+ /**
+ * Updates the size of internal render targets.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Deletes internal render targets and textures.
+ */
+ dispose(): void;
+ /**
+ * The SMAA search image, encoded as a base64 data URL.
+
+ Use this image data to create an Image instance and use it together with
+ the area image to create an {@link SMAAEffect}.
+ * @example
+ * const searchImage = new Image();
+ searchImage.addEventListener("load", progress);
+ searchImage.src = SMAAEffect.searchImageDataURL;
+ */
+ static searchImageDataURL: string;
+ /**
+ * The SMAA area image, encoded as a base64 data URL.
+
+ Use this image data to create an Image instance and use it together with
+ the search image to create an {@link SMAAEffect}.
+ * @example
+ * const areaImage = new Image();
+ areaImage.addEventListener("load", progress);
+ areaImage.src = SMAAEffect.areaImageDataURL;
+ */
+ static areaImageDataURL: string;
+ }
+
+ /**
+ * An enumeration of SMAA presets.
+ * @property LOW - Results in around 60% of the maximum quality.
+ * @property MEDIUM - Results in around 80% of the maximum quality.
+ * @property HIGH - Results in around 95% of the maximum quality.
+ * @property ULTRA - Results in around 99% of the maximum quality.
+ */
+ export const SMAAPreset: {
+ LOW: number;
+ MEDIUM: number;
+ HIGH: number;
+ ULTRA: number;
+ };
+
+ /**
+ * Constructs a new SSAO effect.
+ * @param camera - The main camera.
+ * @param normalBuffer - A texture that contains the scene normals. See {@link NormalPass}.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.MULTIPLY] - The blend function of this effect.
+ * @param [options.samples = 11] - The amount of samples per pixel. Should not be a multiple of the ring count.
+ * @param [options.rings = 4] - The amount of rings in the occlusion sampling pattern.
+ * @param [options.distanceThreshold = 0.97] - A global distance threshold at which the occlusion effect starts to fade out. Range [0.0, 1.0].
+ * @param [options.distanceFalloff = 0.03] - The distance falloff. Influences the smoothness of the overall occlusion cutoff. Range [0.0, 1.0].
+ * @param [options.rangeThreshold = 0.0005] - A local occlusion range threshold at which the occlusion starts to fade out. Range [0.0, 1.0].
+ * @param [options.rangeFalloff = 0.001] - The occlusion range falloff. Influences the smoothness of the proximity cutoff. Range [0.0, 1.0].
+ * @param [options.luminanceInfluence = 0.7] - Determines how much the luminance of the scene influences the ambient occlusion.
+ * @param [options.radius = 18.25] - The occlusion sampling radius.
+ * @param [options.scale = 1.0] - The scale of the ambient occlusion.
+ * @param [options.bias = 0.0] - An occlusion bias.
+ */
+ export class SSAOEffect extends Effect {
+ constructor(
+ camera: Camera,
+ normalBuffer: Texture,
+ options?: {
+ blendFunction?: BlendFunction;
+ samples?: number;
+ rings?: number;
+ distanceThreshold?: number;
+ distanceFalloff?: number;
+ rangeThreshold?: number;
+ rangeFalloff?: number;
+ luminanceInfluence?: number;
+ radius?: number;
+ scale?: number;
+ bias?: number;
+ }
+ );
+ /**
+ * The amount of occlusion samples per pixel.
+ */
+ samples: number;
+ /**
+ * The amount of rings in the occlusion sampling spiral pattern.
+ */
+ rings: number;
+ /**
+ * The occlusion sampling radius.
+ */
+ radius: number;
+ /**
+ * Sets the occlusion distance cutoff.
+ * @param threshold - The distance threshold. Range [0.0, 1.0].
+ * @param falloff - The falloff. Range [0.0, 1.0].
+ */
+ setDistanceCutoff(threshold: number, falloff: number): void;
+ /**
+ * Sets the occlusion proximity cutoff.
+ * @param threshold - The range threshold. Range [0.0, 1.0].
+ * @param falloff - The falloff. Range [0.0, 1.0].
+ */
+ setProximityCutoff(threshold: number, falloff: number): void;
+ /**
+ * Updates the camera projection matrix uniforms.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ }
+
+ /**
+ * Constructs a new texture effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.texture] - A texture.
+ */
+ export class TextureEffect extends Effect {
+ constructor(options?: Partial<{ blendFunction: BlendFunction; texture: Texture; }>);
+ /**
+ * The texture.
+ */
+ texture: Texture;
+ /**
+ * Indicates whether aspect correction is enabled.
+
+ If enabled, the texture can be scaled using the `scale` uniform.
+ */
+ aspectCorrection: number;
+ /**
+ * Indicates whether the texture UV coordinates will be transformed using the
+ transformation matrix of the texture.
+
+ Cannot be used if aspect correction is enabled.
+ */
+ uvTransform: boolean;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
+ }
+
+ /**
+ * Constructs a new tone mapping effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.adaptive = true] - Whether the tone mapping should use an adaptive luminance map.
+ * @param [options.resolution = 256] - The render texture resolution of the luminance map.
+ * @param [options.middleGrey = 0.6] - The middle grey factor.
+ * @param [options.maxLuminance = 16.0] - The maximum luminance.
+ * @param [options.averageLuminance = 1.0] - The average luminance.
+ * @param [options.adaptationRate = 1.0] - The luminance adaptation rate.
+ */
+ export class ToneMappingEffect extends Effect {
+ constructor(options?: {
+ blendFunction?: BlendFunction;
+ adaptive?: boolean;
+ resolution?: number;
+ middleGrey?: number;
+ maxLuminance?: number;
+ averageLuminance?: number;
+ adaptationRate?: number;
+ });
+ /**
+ * The resolution of the render targets.
+ */
+ resolution: number;
+ /**
+ * Indicates whether this pass uses adaptive luminance.
+ */
+ adaptive: boolean;
+ /**
+ * The luminance adaptation rate.
+ */
+ adaptationRate: number;
+
+ distinction: number;
+ /**
+ * Updates this effect.
+ * @param renderer - The renderer.
+ * @param inputBuffer - A frame buffer that contains the result of the previous pass.
+ * @param [deltaTime] - The time between the last frame and the current one in seconds.
+ */
+ update(renderer: WebGLRenderer, inputBuffer: WebGLRenderTarget, deltaTime?: number): void;
+ /**
+ * Updates the size of internal render targets.
+ * @param width - The width.
+ * @param height - The height.
+ */
+ setSize(width: number, height: number): void;
+ /**
+ * Performs initialization tasks.
+ * @param renderer - The renderer.
+ * @param alpha - Whether the renderer uses the alpha channel or not.
+ * @param frameBufferType - The type of the main frame buffers.
+ */
+ initialize(renderer: WebGLRenderer, alpha: boolean, frameBufferType: number): void;
+ }
+
+ /**
+ * Constructs a new vignette effect.
+ * @param [options] - The options.
+ * @param [options.blendFunction = BlendFunction.NORMAL] - The blend function of this effect.
+ * @param [options.eskil = false] - Enables Eskil's vignette technique.
+ * @param [options.offset = 0.5] - The vignette offset.
+ * @param [options.darkness = 0.5] - The vignette darkness.
+ */
+ export class VignetteEffect extends Effect {
+ constructor(options?: { blendFunction?: BlendFunction; eskil?: boolean; offset?: number; darkness?: number; });
+ /**
+ * Indicates whether Eskil's vignette technique is enabled.
+ */
+ eskil: boolean;
+ }
+
+ /**
+ * Constructs a new image data container.
+ * @param [width = 0] - The width of the image.
+ * @param [height = 0] - The height of the image.
+ * @param [data = null] - The image data.
+ */
+ export class RawImageData {
+ constructor(width?: number, height?: number, data?: Uint8ClampedArray);
+ /**
+ * The width of the image.
+ */
+ width: number;
+ /**
+ * The height of the image.
+ */
+ height: number;
+ /**
+ * The image data.
+ */
+ data: Uint8ClampedArray;
+ /**
+ * Creates a canvas from this image data.
+ * @returns The canvas or null if it couldn't be created.
+ */
+ toCanvas(): Canvas;
+ /**
+ * Creates a new image data container.
+ * @param data - Raw image data.
+ * @returns The image data.
+ */
+ static from(data: any): RawImageData;
+ }
+
+ /**
+ * Constructs a new SMAA image loader.
+ * @param [manager] - A loading manager.
+ */
+ export class SMAAImageLoader extends Loader {
+ constructor(manager?: LoadingManager);
+ /**
+ * Indicates whether data image caching is disabled.
+ */
+ disableCache: boolean;
+ /**
+ * Loads the SMAA data images.
+ * @param [onLoad] - A function to call when the loading process is done.
+ * @param [onError] - A function to call when an error occurs.
+ * @returns A promise that returns the search image and area image as a pair.
+ */
+ load(
+ url: string,
+ onLoad?: (result: any) => void,
+ onProgress?: (event: ProgressEvent) => void,
+ onError?: (event: ErrorEvent) => void
+ ): Promise<any, any>;
+ }
+
+ /**
+ * SMAA area image data.
+
+ This texture allows to obtain the area for a certain pattern and distances
+ to the left and to the right of the identified line.
+
+ Based on the official python scripts:
+ https://github.com/iryoku/smaa/tree/master/Scripts
+ */
+ export class SMAAAreaImageData {
+ /**
+ * Creates a new area image.
+ * @returns The generated image data.
+ */
+ static generate(): RawImageData;
+ }
+
+ /**
+ * SMAA search image data.
+
+ This image stores information about how many pixels the line search
+ algorithm must advance in the last step.
+
+ Based on the official python scripts:
+ https://github.com/iryoku/smaa/tree/master/Scripts
+ */
+ export class SMAASearchImageData {
+ /**
+ * Creates a new search image.
+ * @returns The generated image data.
+ */
+ static generate(): RawImageData;
+ }
+}
diff --git a/packages/three/src/index.ts b/packages/three/src/index.ts
new file mode 100644
index 0000000000..16f30697ef
--- /dev/null
+++ b/packages/three/src/index.ts
@@ -0,0 +1,14 @@
+
+export * from './RemotionThreeCanvas';
+export { default as RemotionThreeCanvas } from './RemotionThreeCanvas';
+
+export { useRemotionThreeDomNode } from './RemotionThreeContext';
+
+export * from './ThreeVideo';
+export { default as ThreeVideo } from './ThreeVideo';
+
+export * from './useVideoTexture';
+export { default as useVideoTexture } from './useVideoTexture';
+
+export * from './effects/SwirlEffect';
+export { default as SwirlEffect } from './effects/SwirlEffect';
diff --git a/packages/three/src/useVideoTexture.tsx b/packages/three/src/useVideoTexture.tsx
new file mode 100644
index 0000000000..c36e9663d1
--- /dev/null
+++ b/packages/three/src/useVideoTexture.tsx
@@ -0,0 +1,69 @@
+import React from 'react';
+import { continueRender, delayRender, useCurrentFrame, Video } from 'remotion';
+import { useThree } from '@react-three/fiber';
+import { VideoTexture } from 'three';
+
+import { useRemotionThreeDomNode } from './RemotionThreeContext';
+
+declare global {
+ interface HTMLVideoElement {
+ requestVideoFrameCallback?: (cb: () => void) => void;
+ }
+}
+
+export type UseVideoTextureOptions = React.ComponentProps<typeof Video>;
+
+export default function useVideoTexture(videoProps: UseVideoTextureOptions) {
+ const render = useThree(s => s.invalidate);
+
+ const videoRef = React.useRef<HTMLVideoElement | null>(null);
+ const [videoTexture, setVideoTexture] = React.useState<VideoTexture | null>(null);
+
+ const videoWrapperRef = React.useCallback((wrapper: HTMLDivElement | null) => {
+ if (wrapper) {
+ const video = videoRef.current = wrapper.firstChild as HTMLVideoElement;
+ video.addEventListener('loadeddata', () => {
+ const vt = new VideoTexture(video);
+ video.width = video.videoWidth;
+ video.height = video.videoHeight;
+ vt.needsUpdate = true;
+ setVideoTexture(vt);
+ });
+ } else {
+ videoRef.current = null;
+ }
+ }, []);
+
+ const frame = useCurrentFrame();
+ React.useEffect(() => {
+ const video = videoRef.current;
+ if (!video || !videoTexture) {
+ return;
+ }
+ if (!video.requestVideoFrameCallback) {
+ throw new Error('HTMLVideoElement.requestVideoFrameCallback not supported');
+ }
+ const handle = delayRender();
+ // wait for the video to render its next frame
+ video.requestVideoFrameCallback(() => {
+ // Now force a new render so the latest video frame shows up in the canvas
+ render();
+ // Allow remotion to continue
+ continueRender(handle);
+ });
+ }, [frame]);
+
+ useRemotionThreeDomNode((
+ // TODO: Remove wrapper once Video supports ref
+ <div ref={videoWrapperRef}>
+ <Video
+ crossOrigin='anonymous'
+ {...videoProps}
+ style={{ width: 800, height: 500 }}
+ />
+ </div>
+ ));
+
+ return videoTexture;
+}
+
diff --git a/packages/three/tsconfig.json b/packages/three/tsconfig.json
new file mode 100644
index 0000000000..5a4e0b7d96
--- /dev/null
+++ b/packages/three/tsconfig.json
@@ -0,0 +1,13 @@
+{
+ "extends": "../tsconfig.settings.json",
+ "compilerOptions": {
+ "composite": true,
+ "rootDir": "src",
+ "outDir": "dist",
+ "skipLibCheck": true
+ },
+ "include": ["src"],
+ "references": [{
+ "path": "../core"}
+ ]
+}