Skip to content

Import a 3D Model and automatically assign and export animations

TypeScript

Add linter and start cleaning up files

Scott Petrovic491992346631
diff --git a/.eslintrc.json b/.eslintrc.json
new file mode 100644
index 0000000..6c25e69
--- /dev/null
+++ b/.eslintrc.json
@@ -0,0 +1,29 @@
+{
+ "env": {
+ "browser": true,
+ "es2021": true
+ },
+ "extends": "standard-with-typescript",
+ "parserOptions": {
+ "ecmaVersion": "latest",
+ "sourceType": "module"
+ },
+ "rules": {
+ "@typescript-eslint/naming-convention": [
+ "error",
+ {
+ "selector": "default",
+ "format": ["snake_case"]
+ },
+ {
+ "selector": "class",
+ "format": ["PascalCase"]
+ }
+ ],
+ "indent": "off",
+ "keyword-spacing": "off",
+ "brace-style": "off",
+ "@typescript-eslint/brace-style": "error"
+ }
+
+}
diff --git a/package-lock.json b/package-lock.json
index 5d8e707..ef80bb0 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -12,10 +12,26 @@
"vite-plugin-glsl": "^1.1.2"
},
"devDependencies": {
- "typescript": "^5.2.2",
+ "@types/three": "^0.159.0",
+ "@typescript-eslint/eslint-plugin": "^6.15.0",
+ "eslint": "^8.56.0",
+ "eslint-config-standard-with-typescript": "^43.0.0",
+ "eslint-plugin-import": "^2.29.1",
+ "eslint-plugin-n": "^16.5.0",
+ "eslint-plugin-promise": "^6.1.1",
+ "typescript": "^5.3.3",
"vite": "^4.5.0"
}
},
+ "node_modules/@aashutoshrathi/word-wrap": {
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",
+ "integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/@esbuild/android-arm": {
"version": "0.18.20",
"resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz",
@@ -346,6 +362,130 @@
"node": ">=12"
}
},
+ "node_modules/@eslint-community/eslint-utils": {
+ "version": "4.4.0",
+ "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz",
+ "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==",
+ "dev": true,
+ "dependencies": {
+ "eslint-visitor-keys": "^3.3.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0"
+ }
+ },
+ "node_modules/@eslint-community/regexpp": {
+ "version": "4.10.0",
+ "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.10.0.tgz",
+ "integrity": "sha512-Cu96Sd2By9mCNTx2iyKOmq10v22jUVQv0lQnlGNy16oE9589yE+QADPbrMGCkA51cKZSg3Pu/aTJVTGfL/qjUA==",
+ "dev": true,
+ "engines": {
+ "node": "^12.0.0 || ^14.0.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@eslint/eslintrc": {
+ "version": "2.1.4",
+ "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-2.1.4.tgz",
+ "integrity": "sha512-269Z39MS6wVJtsoUl10L60WdkhJVdPG24Q4eZTH3nnF6lpvSShEK3wQjDX9JRWAUPvPh7COouPpU9IrqaZFvtQ==",
+ "dev": true,
+ "dependencies": {
+ "ajv": "^6.12.4",
+ "debug": "^4.3.2",
+ "espree": "^9.6.0",
+ "globals": "^13.19.0",
+ "ignore": "^5.2.0",
+ "import-fresh": "^3.2.1",
+ "js-yaml": "^4.1.0",
+ "minimatch": "^3.1.2",
+ "strip-json-comments": "^3.1.1"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/@eslint/js": {
+ "version": "8.56.0",
+ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz",
+ "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==",
+ "dev": true,
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ }
+ },
+ "node_modules/@humanwhocodes/config-array": {
+ "version": "0.11.13",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz",
+ "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==",
+ "dev": true,
+ "dependencies": {
+ "@humanwhocodes/object-schema": "^2.0.1",
+ "debug": "^4.1.1",
+ "minimatch": "^3.0.5"
+ },
+ "engines": {
+ "node": ">=10.10.0"
+ }
+ },
+ "node_modules/@humanwhocodes/module-importer": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz",
+ "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==",
+ "dev": true,
+ "engines": {
+ "node": ">=12.22"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/nzakas"
+ }
+ },
+ "node_modules/@humanwhocodes/object-schema": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz",
+ "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==",
+ "dev": true
+ },
+ "node_modules/@nodelib/fs.scandir": {
+ "version": "2.1.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
+ "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==",
+ "dev": true,
+ "dependencies": {
+ "@nodelib/fs.stat": "2.0.5",
+ "run-parallel": "^1.1.9"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.stat": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz",
+ "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==",
+ "dev": true,
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/@nodelib/fs.walk": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz",
+ "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==",
+ "dev": true,
+ "dependencies": {
+ "@nodelib/fs.scandir": "2.1.5",
+ "fastq": "^1.6.0"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
"node_modules/@rollup/pluginutils": {
"version": "5.0.5",
"resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.5.tgz",
@@ -372,179 +512,2872 @@
"resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz",
"integrity": "sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw=="
},
- "node_modules/esbuild": {
- "version": "0.18.20",
- "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
- "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
- "hasInstallScript": true,
- "bin": {
- "esbuild": "bin/esbuild"
+ "node_modules/@types/json-schema": {
+ "version": "7.0.15",
+ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz",
+ "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==",
+ "dev": true
+ },
+ "node_modules/@types/json5": {
+ "version": "0.0.29",
+ "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz",
+ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==",
+ "dev": true
+ },
+ "node_modules/@types/semver": {
+ "version": "7.5.6",
+ "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.6.tgz",
+ "integrity": "sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A==",
+ "dev": true
+ },
+ "node_modules/@types/stats.js": {
+ "version": "0.17.3",
+ "resolved": "https://registry.npmjs.org/@types/stats.js/-/stats.js-0.17.3.tgz",
+ "integrity": "sha512-pXNfAD3KHOdif9EQXZ9deK82HVNaXP5ZIF5RP2QG6OQFNTaY2YIetfrE9t528vEreGQvEPRDDc8muaoYeK0SxQ==",
+ "dev": true
+ },
+ "node_modules/@types/three": {
+ "version": "0.159.0",
+ "resolved": "https://registry.npmjs.org/@types/three/-/three-0.159.0.tgz",
+ "integrity": "sha512-2gybdh7HtX+rGUgslzK7QEJfzD2I0qrbUGzKk+dK0FDx49UHkNX0rqZVRzIgeFjBd1HzzhNNgwNoMacm3Wyc7w==",
+ "dev": true,
+ "dependencies": {
+ "@types/stats.js": "*",
+ "@types/webxr": "*",
+ "fflate": "~0.6.10",
+ "meshoptimizer": "~0.18.1"
+ }
+ },
+ "node_modules/@types/webxr": {
+ "version": "0.5.10",
+ "resolved": "https://registry.npmjs.org/@types/webxr/-/webxr-0.5.10.tgz",
+ "integrity": "sha512-n3u5sqXQJhf1CS68mw3Wf16FQ4cRPNBBwdYLFzq3UddiADOim1Pn3Y6PBdDilz1vOJF3ybLxJ8ZEDlLIzrOQZg==",
+ "dev": true
+ },
+ "node_modules/@typescript-eslint/eslint-plugin": {
+ "version": "6.15.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.15.0.tgz",
+ "integrity": "sha512-j5qoikQqPccq9QoBAupOP+CBu8BaJ8BLjaXSioDISeTZkVO3ig7oSIKh3H+rEpee7xCXtWwSB4KIL5l6hWZzpg==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/regexpp": "^4.5.1",
+ "@typescript-eslint/scope-manager": "6.15.0",
+ "@typescript-eslint/type-utils": "6.15.0",
+ "@typescript-eslint/utils": "6.15.0",
+ "@typescript-eslint/visitor-keys": "6.15.0",
+ "debug": "^4.3.4",
+ "graphemer": "^1.4.0",
+ "ignore": "^5.2.4",
+ "natural-compare": "^1.4.0",
+ "semver": "^7.5.4",
+ "ts-api-utils": "^1.0.1"
},
"engines": {
- "node": ">=12"
+ "node": "^16.0.0 || >=18.0.0"
},
- "optionalDependencies": {
- "@esbuild/android-arm": "0.18.20",
- "@esbuild/android-arm64": "0.18.20",
- "@esbuild/android-x64": "0.18.20",
- "@esbuild/darwin-arm64": "0.18.20",
- "@esbuild/darwin-x64": "0.18.20",
- "@esbuild/freebsd-arm64": "0.18.20",
- "@esbuild/freebsd-x64": "0.18.20",
- "@esbuild/linux-arm": "0.18.20",
- "@esbuild/linux-arm64": "0.18.20",
- "@esbuild/linux-ia32": "0.18.20",
- "@esbuild/linux-loong64": "0.18.20",
- "@esbuild/linux-mips64el": "0.18.20",
- "@esbuild/linux-ppc64": "0.18.20",
- "@esbuild/linux-riscv64": "0.18.20",
- "@esbuild/linux-s390x": "0.18.20",
- "@esbuild/linux-x64": "0.18.20",
- "@esbuild/netbsd-x64": "0.18.20",
- "@esbuild/openbsd-x64": "0.18.20",
- "@esbuild/sunos-x64": "0.18.20",
- "@esbuild/win32-arm64": "0.18.20",
- "@esbuild/win32-ia32": "0.18.20",
- "@esbuild/win32-x64": "0.18.20"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "@typescript-eslint/parser": "^6.0.0 || ^6.0.0-alpha",
+ "eslint": "^7.0.0 || ^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
}
},
- "node_modules/estree-walker": {
- "version": "2.0.2",
- "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
- "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="
- },
- "node_modules/fsevents": {
- "version": "2.3.3",
- "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
- "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
- "hasInstallScript": true,
- "optional": true,
- "os": [
- "darwin"
- ],
+ "node_modules/@typescript-eslint/parser": {
+ "version": "6.15.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.15.0.tgz",
+ "integrity": "sha512-MkgKNnsjC6QwcMdlNAel24jjkEO/0hQaMDLqP4S9zq5HBAUJNQB6y+3DwLjX7b3l2b37eNAxMPLwb3/kh8VKdA==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/scope-manager": "6.15.0",
+ "@typescript-eslint/types": "6.15.0",
+ "@typescript-eslint/typescript-estree": "6.15.0",
+ "@typescript-eslint/visitor-keys": "6.15.0",
+ "debug": "^4.3.4"
+ },
"engines": {
- "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^7.0.0 || ^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
}
},
- "node_modules/nanoid": {
- "version": "3.3.6",
- "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
- "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
- "funding": [
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
- "bin": {
- "nanoid": "bin/nanoid.cjs"
+ "node_modules/@typescript-eslint/scope-manager": {
+ "version": "6.15.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.15.0.tgz",
+ "integrity": "sha512-+BdvxYBltqrmgCNu4Li+fGDIkW9n//NrruzG9X1vBzaNK+ExVXPoGB71kneaVw/Jp+4rH/vaMAGC6JfMbHstVg==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/types": "6.15.0",
+ "@typescript-eslint/visitor-keys": "6.15.0"
},
"engines": {
- "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
}
},
- "node_modules/picocolors": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
- "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
+ "node_modules/@typescript-eslint/type-utils": {
+ "version": "6.15.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.15.0.tgz",
+ "integrity": "sha512-CnmHKTfX6450Bo49hPg2OkIm/D/TVYV7jO1MCfPYGwf6x3GO0VU8YMO5AYMn+u3X05lRRxA4fWCz87GFQV6yVQ==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/typescript-estree": "6.15.0",
+ "@typescript-eslint/utils": "6.15.0",
+ "debug": "^4.3.4",
+ "ts-api-utils": "^1.0.1"
+ },
+ "engines": {
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^7.0.0 || ^8.0.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
},
- "node_modules/picomatch": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
- "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "node_modules/@typescript-eslint/types": {
+ "version": "6.15.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.15.0.tgz",
+ "integrity": "sha512-yXjbt//E4T/ee8Ia1b5mGlbNj9fB9lJP4jqLbZualwpP2BCQ5is6BcWwxpIsY4XKAhmdv3hrW92GdtJbatC6dQ==",
+ "dev": true,
"engines": {
- "node": ">=8.6"
+ "node": "^16.0.0 || >=18.0.0"
},
"funding": {
- "url": "https://github.com/sponsors/jonschlinkert"
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
}
},
- "node_modules/postcss": {
- "version": "8.4.31",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
- "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",
- "funding": [
- {
- "type": "opencollective",
- "url": "https://opencollective.com/postcss/"
- },
- {
- "type": "tidelift",
- "url": "https://tidelift.com/funding/github/npm/postcss"
- },
- {
- "type": "github",
- "url": "https://github.com/sponsors/ai"
- }
- ],
+ "node_modules/@typescript-eslint/typescript-estree": {
+ "version": "6.15.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.15.0.tgz",
+ "integrity": "sha512-7mVZJN7Hd15OmGuWrp2T9UvqR2Ecg+1j/Bp1jXUEY2GZKV6FXlOIoqVDmLpBiEiq3katvj/2n2mR0SDwtloCew==",
+ "dev": true,
"dependencies": {
- "nanoid": "^3.3.6",
- "picocolors": "^1.0.0",
- "source-map-js": "^1.0.2"
+ "@typescript-eslint/types": "6.15.0",
+ "@typescript-eslint/visitor-keys": "6.15.0",
+ "debug": "^4.3.4",
+ "globby": "^11.1.0",
+ "is-glob": "^4.0.3",
+ "semver": "^7.5.4",
+ "ts-api-utils": "^1.0.1"
},
"engines": {
- "node": "^10 || ^12 || >=14"
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
}
},
- "node_modules/rollup": {
- "version": "3.29.4",
- "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz",
- "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==",
- "bin": {
- "rollup": "dist/bin/rollup"
+ "node_modules/@typescript-eslint/utils": {
+ "version": "6.15.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.15.0.tgz",
+ "integrity": "sha512-eF82p0Wrrlt8fQSRL0bGXzK5nWPRV2dYQZdajcfzOD9+cQz9O7ugifrJxclB+xVOvWvagXfqS4Es7vpLP4augw==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.4.0",
+ "@types/json-schema": "^7.0.12",
+ "@types/semver": "^7.5.0",
+ "@typescript-eslint/scope-manager": "6.15.0",
+ "@typescript-eslint/types": "6.15.0",
+ "@typescript-eslint/typescript-estree": "6.15.0",
+ "semver": "^7.5.4"
},
"engines": {
- "node": ">=14.18.0",
- "npm": ">=8.0.0"
+ "node": "^16.0.0 || >=18.0.0"
},
- "optionalDependencies": {
- "fsevents": "~2.3.2"
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
+ },
+ "peerDependencies": {
+ "eslint": "^7.0.0 || ^8.0.0"
}
},
- "node_modules/source-map-js": {
- "version": "1.0.2",
- "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
- "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
+ "node_modules/@typescript-eslint/visitor-keys": {
+ "version": "6.15.0",
+ "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.15.0.tgz",
+ "integrity": "sha512-1zvtdC1a9h5Tb5jU9x3ADNXO9yjP8rXlaoChu0DQX40vf5ACVpYIVIZhIMZ6d5sDXH7vq4dsZBT1fEGj8D2n2w==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/types": "6.15.0",
+ "eslint-visitor-keys": "^3.4.1"
+ },
"engines": {
- "node": ">=0.10.0"
+ "node": "^16.0.0 || >=18.0.0"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/typescript-eslint"
}
},
- "node_modules/three": {
- "version": "0.157.0",
- "resolved": "https://registry.npmjs.org/three/-/three-0.157.0.tgz",
- "integrity": "sha512-CeAwQrf4x3z0/e+MC4F+nXLW5t0gh3pw+L6CCBqpHvOq3bGYIgRYub7Pv0j/9wR+d++OiEglyZzWyuSYbwWGOA=="
+ "node_modules/@ungap/structured-clone": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz",
+ "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==",
+ "dev": true
},
- "node_modules/typescript": {
- "version": "5.2.2",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
- "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==",
+ "node_modules/acorn": {
+ "version": "8.11.2",
+ "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.11.2.tgz",
+ "integrity": "sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w==",
"dev": true,
"bin": {
- "tsc": "bin/tsc",
- "tsserver": "bin/tsserver"
+ "acorn": "bin/acorn"
},
"engines": {
- "node": ">=14.17"
+ "node": ">=0.4.0"
}
},
- "node_modules/vite": {
- "version": "4.5.0",
- "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.0.tgz",
- "integrity": "sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==",
+ "node_modules/acorn-jsx": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz",
+ "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==",
+ "dev": true,
+ "peerDependencies": {
+ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/ajv": {
+ "version": "6.12.6",
+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
+ "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==",
+ "dev": true,
"dependencies": {
- "esbuild": "^0.18.10",
- "postcss": "^8.4.27",
- "rollup": "^3.27.1"
- },
- "bin": {
- "vite": "bin/vite.js"
- },
- "engines": {
- "node": "^14.18.0 || >=16.0.0"
+ "fast-deep-equal": "^3.1.1",
+ "fast-json-stable-stringify": "^2.0.0",
+ "json-schema-traverse": "^0.4.1",
+ "uri-js": "^4.2.2"
},
"funding": {
- "url": "https://github.com/vitejs/vite?sponsor=1"
- },
+ "type": "github",
+ "url": "https://github.com/sponsors/epoberezkin"
+ }
+ },
+ "node_modules/ansi-regex": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
+ "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/ansi-styles": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
+ "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
+ "dev": true,
+ "dependencies": {
+ "color-convert": "^2.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"
+ }
+ },
+ "node_modules/argparse": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
+ "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
+ "dev": true
+ },
+ "node_modules/array-buffer-byte-length": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz",
+ "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "is-array-buffer": "^3.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array-includes": {
+ "version": "3.1.7",
+ "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.7.tgz",
+ "integrity": "sha512-dlcsNBIiWhPkHdOEEKnehA+RNUWDc4UqFtnIXU4uuYDPtA4LDkr7qip2p0VvFAEXNDr0yWZ9PJyIRiGjRLQzwQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "get-intrinsic": "^1.2.1",
+ "is-string": "^1.0.7"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array-union": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz",
+ "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/array.prototype.findlastindex": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz",
+ "integrity": "sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "es-shim-unscopables": "^1.0.0",
+ "get-intrinsic": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.flat": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz",
+ "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "es-shim-unscopables": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/array.prototype.flatmap": {
+ "version": "1.3.2",
+ "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz",
+ "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "es-shim-unscopables": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/arraybuffer.prototype.slice": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz",
+ "integrity": "sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw==",
+ "dev": true,
+ "dependencies": {
+ "array-buffer-byte-length": "^1.0.0",
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "get-intrinsic": "^1.2.1",
+ "is-array-buffer": "^3.0.2",
+ "is-shared-array-buffer": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/available-typed-arrays": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz",
+ "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/balanced-match": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
+ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
+ "dev": true
+ },
+ "node_modules/brace-expansion": {
+ "version": "1.1.11",
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
+ "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
+ "dev": true,
+ "dependencies": {
+ "balanced-match": "^1.0.0",
+ "concat-map": "0.0.1"
+ }
+ },
+ "node_modules/braces": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
+ "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
+ "dev": true,
+ "dependencies": {
+ "fill-range": "^7.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/builtin-modules": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz",
+ "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/builtins": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz",
+ "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==",
+ "dev": true,
+ "dependencies": {
+ "semver": "^7.0.0"
+ }
+ },
+ "node_modules/call-bind": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz",
+ "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==",
+ "dev": true,
+ "dependencies": {
+ "function-bind": "^1.1.2",
+ "get-intrinsic": "^1.2.1",
+ "set-function-length": "^1.1.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/callsites": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz",
+ "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/chalk": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz",
+ "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==",
+ "dev": true,
+ "dependencies": {
+ "ansi-styles": "^4.1.0",
+ "supports-color": "^7.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/chalk/chalk?sponsor=1"
+ }
+ },
+ "node_modules/color-convert": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
+ "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
+ "dev": true,
+ "dependencies": {
+ "color-name": "~1.1.4"
+ },
+ "engines": {
+ "node": ">=7.0.0"
+ }
+ },
+ "node_modules/color-name": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
+ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
+ "dev": true
+ },
+ "node_modules/concat-map": {
+ "version": "0.0.1",
+ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
+ "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==",
+ "dev": true
+ },
+ "node_modules/cross-spawn": {
+ "version": "7.0.3",
+ "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
+ "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
+ "dev": true,
+ "dependencies": {
+ "path-key": "^3.1.0",
+ "shebang-command": "^2.0.0",
+ "which": "^2.0.1"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/debug": {
+ "version": "4.3.4",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
+ "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
+ "dev": true,
+ "dependencies": {
+ "ms": "2.1.2"
+ },
+ "engines": {
+ "node": ">=6.0"
+ },
+ "peerDependenciesMeta": {
+ "supports-color": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/deep-is": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz",
+ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==",
+ "dev": true
+ },
+ "node_modules/define-data-property": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz",
+ "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==",
+ "dev": true,
+ "dependencies": {
+ "get-intrinsic": "^1.2.1",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/define-properties": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz",
+ "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==",
+ "dev": true,
+ "dependencies": {
+ "define-data-property": "^1.0.1",
+ "has-property-descriptors": "^1.0.0",
+ "object-keys": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/dir-glob": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-3.0.1.tgz",
+ "integrity": "sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==",
+ "dev": true,
+ "dependencies": {
+ "path-type": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/doctrine": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz",
+ "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==",
+ "dev": true,
+ "dependencies": {
+ "esutils": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=6.0.0"
+ }
+ },
+ "node_modules/es-abstract": {
+ "version": "1.22.3",
+ "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.3.tgz",
+ "integrity": "sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA==",
+ "dev": true,
+ "dependencies": {
+ "array-buffer-byte-length": "^1.0.0",
+ "arraybuffer.prototype.slice": "^1.0.2",
+ "available-typed-arrays": "^1.0.5",
+ "call-bind": "^1.0.5",
+ "es-set-tostringtag": "^2.0.1",
+ "es-to-primitive": "^1.2.1",
+ "function.prototype.name": "^1.1.6",
+ "get-intrinsic": "^1.2.2",
+ "get-symbol-description": "^1.0.0",
+ "globalthis": "^1.0.3",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.0",
+ "has-proto": "^1.0.1",
+ "has-symbols": "^1.0.3",
+ "hasown": "^2.0.0",
+ "internal-slot": "^1.0.5",
+ "is-array-buffer": "^3.0.2",
+ "is-callable": "^1.2.7",
+ "is-negative-zero": "^2.0.2",
+ "is-regex": "^1.1.4",
+ "is-shared-array-buffer": "^1.0.2",
+ "is-string": "^1.0.7",
+ "is-typed-array": "^1.1.12",
+ "is-weakref": "^1.0.2",
+ "object-inspect": "^1.13.1",
+ "object-keys": "^1.1.1",
+ "object.assign": "^4.1.4",
+ "regexp.prototype.flags": "^1.5.1",
+ "safe-array-concat": "^1.0.1",
+ "safe-regex-test": "^1.0.0",
+ "string.prototype.trim": "^1.2.8",
+ "string.prototype.trimend": "^1.0.7",
+ "string.prototype.trimstart": "^1.0.7",
+ "typed-array-buffer": "^1.0.0",
+ "typed-array-byte-length": "^1.0.0",
+ "typed-array-byte-offset": "^1.0.0",
+ "typed-array-length": "^1.0.4",
+ "unbox-primitive": "^1.0.2",
+ "which-typed-array": "^1.1.13"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/es-set-tostringtag": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.2.tgz",
+ "integrity": "sha512-BuDyupZt65P9D2D2vA/zqcI3G5xRsklm5N3xCwuiy+/vKy8i0ifdsQP1sLgO4tZDSCaQUSnmC48khknGMV3D2Q==",
+ "dev": true,
+ "dependencies": {
+ "get-intrinsic": "^1.2.2",
+ "has-tostringtag": "^1.0.0",
+ "hasown": "^2.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/es-shim-unscopables": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz",
+ "integrity": "sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw==",
+ "dev": true,
+ "dependencies": {
+ "hasown": "^2.0.0"
+ }
+ },
+ "node_modules/es-to-primitive": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz",
+ "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==",
+ "dev": true,
+ "dependencies": {
+ "is-callable": "^1.1.4",
+ "is-date-object": "^1.0.1",
+ "is-symbol": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/esbuild": {
+ "version": "0.18.20",
+ "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.18.20.tgz",
+ "integrity": "sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA==",
+ "hasInstallScript": true,
+ "bin": {
+ "esbuild": "bin/esbuild"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "optionalDependencies": {
+ "@esbuild/android-arm": "0.18.20",
+ "@esbuild/android-arm64": "0.18.20",
+ "@esbuild/android-x64": "0.18.20",
+ "@esbuild/darwin-arm64": "0.18.20",
+ "@esbuild/darwin-x64": "0.18.20",
+ "@esbuild/freebsd-arm64": "0.18.20",
+ "@esbuild/freebsd-x64": "0.18.20",
+ "@esbuild/linux-arm": "0.18.20",
+ "@esbuild/linux-arm64": "0.18.20",
+ "@esbuild/linux-ia32": "0.18.20",
+ "@esbuild/linux-loong64": "0.18.20",
+ "@esbuild/linux-mips64el": "0.18.20",
+ "@esbuild/linux-ppc64": "0.18.20",
+ "@esbuild/linux-riscv64": "0.18.20",
+ "@esbuild/linux-s390x": "0.18.20",
+ "@esbuild/linux-x64": "0.18.20",
+ "@esbuild/netbsd-x64": "0.18.20",
+ "@esbuild/openbsd-x64": "0.18.20",
+ "@esbuild/sunos-x64": "0.18.20",
+ "@esbuild/win32-arm64": "0.18.20",
+ "@esbuild/win32-ia32": "0.18.20",
+ "@esbuild/win32-x64": "0.18.20"
+ }
+ },
+ "node_modules/escape-string-regexp": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz",
+ "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/eslint": {
+ "version": "8.56.0",
+ "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz",
+ "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.2.0",
+ "@eslint-community/regexpp": "^4.6.1",
+ "@eslint/eslintrc": "^2.1.4",
+ "@eslint/js": "8.56.0",
+ "@humanwhocodes/config-array": "^0.11.13",
+ "@humanwhocodes/module-importer": "^1.0.1",
+ "@nodelib/fs.walk": "^1.2.8",
+ "@ungap/structured-clone": "^1.2.0",
+ "ajv": "^6.12.4",
+ "chalk": "^4.0.0",
+ "cross-spawn": "^7.0.2",
+ "debug": "^4.3.2",
+ "doctrine": "^3.0.0",
+ "escape-string-regexp": "^4.0.0",
+ "eslint-scope": "^7.2.2",
+ "eslint-visitor-keys": "^3.4.3",
+ "espree": "^9.6.1",
+ "esquery": "^1.4.2",
+ "esutils": "^2.0.2",
+ "fast-deep-equal": "^3.1.3",
+ "file-entry-cache": "^6.0.1",
+ "find-up": "^5.0.0",
+ "glob-parent": "^6.0.2",
+ "globals": "^13.19.0",
+ "graphemer": "^1.4.0",
+ "ignore": "^5.2.0",
+ "imurmurhash": "^0.1.4",
+ "is-glob": "^4.0.0",
+ "is-path-inside": "^3.0.3",
+ "js-yaml": "^4.1.0",
+ "json-stable-stringify-without-jsonify": "^1.0.1",
+ "levn": "^0.4.1",
+ "lodash.merge": "^4.6.2",
+ "minimatch": "^3.1.2",
+ "natural-compare": "^1.4.0",
+ "optionator": "^0.9.3",
+ "strip-ansi": "^6.0.1",
+ "text-table": "^0.2.0"
+ },
+ "bin": {
+ "eslint": "bin/eslint.js"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-compat-utils": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/eslint-compat-utils/-/eslint-compat-utils-0.1.2.tgz",
+ "integrity": "sha512-Jia4JDldWnFNIru1Ehx1H5s9/yxiRHY/TimCuUc0jNexew3cF1gI6CYZil1ociakfWO3rRqFjl1mskBblB3RYg==",
+ "dev": true,
+ "engines": {
+ "node": ">=12"
+ },
+ "peerDependencies": {
+ "eslint": ">=6.0.0"
+ }
+ },
+ "node_modules/eslint-config-standard": {
+ "version": "17.1.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-17.1.0.tgz",
+ "integrity": "sha512-IwHwmaBNtDK4zDHQukFDW5u/aTb8+meQWZvNFWkiGmbWjD6bqyuSSBxxXKkCftCUzc1zwCH2m/baCNDLGmuO5Q==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "peerDependencies": {
+ "eslint": "^8.0.1",
+ "eslint-plugin-import": "^2.25.2",
+ "eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
+ "eslint-plugin-promise": "^6.0.0"
+ }
+ },
+ "node_modules/eslint-config-standard-with-typescript": {
+ "version": "43.0.0",
+ "resolved": "https://registry.npmjs.org/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-43.0.0.tgz",
+ "integrity": "sha512-AT0qK01M5bmsWiE3UZvaQO5da1y1n6uQckAKqGNe6zPW5IOzgMLXZxw77nnFm+C11nxAZXsCPrbsgJhSrGfX6Q==",
+ "dev": true,
+ "dependencies": {
+ "@typescript-eslint/parser": "^6.4.0",
+ "eslint-config-standard": "17.1.0"
+ },
+ "peerDependencies": {
+ "@typescript-eslint/eslint-plugin": "^6.4.0",
+ "eslint": "^8.0.1",
+ "eslint-plugin-import": "^2.25.2",
+ "eslint-plugin-n": "^15.0.0 || ^16.0.0 ",
+ "eslint-plugin-promise": "^6.0.0",
+ "typescript": "*"
+ }
+ },
+ "node_modules/eslint-import-resolver-node": {
+ "version": "0.3.9",
+ "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.9.tgz",
+ "integrity": "sha512-WFj2isz22JahUv+B788TlO3N6zL3nNJGU8CcZbPZvVEkBPaJdCV4vy5wyghty5ROFbCRnm132v8BScu5/1BQ8g==",
+ "dev": true,
+ "dependencies": {
+ "debug": "^3.2.7",
+ "is-core-module": "^2.13.0",
+ "resolve": "^1.22.4"
+ }
+ },
+ "node_modules/eslint-import-resolver-node/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint-module-utils": {
+ "version": "2.8.0",
+ "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.8.0.tgz",
+ "integrity": "sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==",
+ "dev": true,
+ "dependencies": {
+ "debug": "^3.2.7"
+ },
+ "engines": {
+ "node": ">=4"
+ },
+ "peerDependenciesMeta": {
+ "eslint": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/eslint-module-utils/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint-plugin-es-x": {
+ "version": "7.5.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-es-x/-/eslint-plugin-es-x-7.5.0.tgz",
+ "integrity": "sha512-ODswlDSO0HJDzXU0XvgZ3lF3lS3XAZEossh15Q2UHjwrJggWeBoKqqEsLTZLXl+dh5eOAozG0zRcYtuE35oTuQ==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.1.2",
+ "@eslint-community/regexpp": "^4.6.0",
+ "eslint-compat-utils": "^0.1.2"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ota-meshi"
+ },
+ "peerDependencies": {
+ "eslint": ">=8"
+ }
+ },
+ "node_modules/eslint-plugin-import": {
+ "version": "2.29.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz",
+ "integrity": "sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw==",
+ "dev": true,
+ "dependencies": {
+ "array-includes": "^3.1.7",
+ "array.prototype.findlastindex": "^1.2.3",
+ "array.prototype.flat": "^1.3.2",
+ "array.prototype.flatmap": "^1.3.2",
+ "debug": "^3.2.7",
+ "doctrine": "^2.1.0",
+ "eslint-import-resolver-node": "^0.3.9",
+ "eslint-module-utils": "^2.8.0",
+ "hasown": "^2.0.0",
+ "is-core-module": "^2.13.1",
+ "is-glob": "^4.0.3",
+ "minimatch": "^3.1.2",
+ "object.fromentries": "^2.0.7",
+ "object.groupby": "^1.0.1",
+ "object.values": "^1.1.7",
+ "semver": "^6.3.1",
+ "tsconfig-paths": "^3.15.0"
+ },
+ "engines": {
+ "node": ">=4"
+ },
+ "peerDependencies": {
+ "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8"
+ }
+ },
+ "node_modules/eslint-plugin-import/node_modules/debug": {
+ "version": "3.2.7",
+ "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz",
+ "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==",
+ "dev": true,
+ "dependencies": {
+ "ms": "^2.1.1"
+ }
+ },
+ "node_modules/eslint-plugin-import/node_modules/doctrine": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz",
+ "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==",
+ "dev": true,
+ "dependencies": {
+ "esutils": "^2.0.2"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/eslint-plugin-import/node_modules/semver": {
+ "version": "6.3.1",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz",
+ "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==",
+ "dev": true,
+ "bin": {
+ "semver": "bin/semver.js"
+ }
+ },
+ "node_modules/eslint-plugin-n": {
+ "version": "16.5.0",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-16.5.0.tgz",
+ "integrity": "sha512-Hw02Bj1QrZIlKyj471Tb1jSReTl4ghIMHGuBGiMVmw+s0jOPbI4CBuYpGbZr+tdQ+VAvSK6FDSta3J4ib/SKHQ==",
+ "dev": true,
+ "dependencies": {
+ "@eslint-community/eslint-utils": "^4.4.0",
+ "builtins": "^5.0.1",
+ "eslint-plugin-es-x": "^7.5.0",
+ "get-tsconfig": "^4.7.0",
+ "ignore": "^5.2.4",
+ "is-builtin-module": "^3.2.1",
+ "is-core-module": "^2.12.1",
+ "minimatch": "^3.1.2",
+ "resolve": "^1.22.2",
+ "semver": "^7.5.3"
+ },
+ "engines": {
+ "node": ">=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/mysticatea"
+ },
+ "peerDependencies": {
+ "eslint": ">=7.0.0"
+ }
+ },
+ "node_modules/eslint-plugin-promise": {
+ "version": "6.1.1",
+ "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-6.1.1.tgz",
+ "integrity": "sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==",
+ "dev": true,
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "peerDependencies": {
+ "eslint": "^7.0.0 || ^8.0.0"
+ }
+ },
+ "node_modules/eslint-scope": {
+ "version": "7.2.2",
+ "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.2.2.tgz",
+ "integrity": "sha512-dOt21O7lTMhDM+X9mB4GX+DZrZtCUJPL/wlcTqxyrx5IvO0IYtILdtrQGQp+8n5S0gwSVmOf9NQrjMOgfQZlIg==",
+ "dev": true,
+ "dependencies": {
+ "esrecurse": "^4.3.0",
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/eslint-visitor-keys": {
+ "version": "3.4.3",
+ "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz",
+ "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==",
+ "dev": true,
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/espree": {
+ "version": "9.6.1",
+ "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz",
+ "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==",
+ "dev": true,
+ "dependencies": {
+ "acorn": "^8.9.0",
+ "acorn-jsx": "^5.3.2",
+ "eslint-visitor-keys": "^3.4.1"
+ },
+ "engines": {
+ "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://opencollective.com/eslint"
+ }
+ },
+ "node_modules/esquery": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.5.0.tgz",
+ "integrity": "sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==",
+ "dev": true,
+ "dependencies": {
+ "estraverse": "^5.1.0"
+ },
+ "engines": {
+ "node": ">=0.10"
+ }
+ },
+ "node_modules/esrecurse": {
+ "version": "4.3.0",
+ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz",
+ "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==",
+ "dev": true,
+ "dependencies": {
+ "estraverse": "^5.2.0"
+ },
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estraverse": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz",
+ "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==",
+ "dev": true,
+ "engines": {
+ "node": ">=4.0"
+ }
+ },
+ "node_modules/estree-walker": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w=="
+ },
+ "node_modules/esutils": {
+ "version": "2.0.3",
+ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
+ "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/fast-deep-equal": {
+ "version": "3.1.3",
+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
+ "dev": true
+ },
+ "node_modules/fast-glob": {
+ "version": "3.3.2",
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
+ "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
+ "dev": true,
+ "dependencies": {
+ "@nodelib/fs.stat": "^2.0.2",
+ "@nodelib/fs.walk": "^1.2.3",
+ "glob-parent": "^5.1.2",
+ "merge2": "^1.3.0",
+ "micromatch": "^4.0.4"
+ },
+ "engines": {
+ "node": ">=8.6.0"
+ }
+ },
+ "node_modules/fast-glob/node_modules/glob-parent": {
+ "version": "5.1.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz",
+ "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
+ "dev": true,
+ "dependencies": {
+ "is-glob": "^4.0.1"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
+ "node_modules/fast-json-stable-stringify": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
+ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==",
+ "dev": true
+ },
+ "node_modules/fast-levenshtein": {
+ "version": "2.0.6",
+ "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz",
+ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==",
+ "dev": true
+ },
+ "node_modules/fastq": {
+ "version": "1.16.0",
+ "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz",
+ "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==",
+ "dev": true,
+ "dependencies": {
+ "reusify": "^1.0.4"
+ }
+ },
+ "node_modules/fflate": {
+ "version": "0.6.10",
+ "resolved": "https://registry.npmjs.org/fflate/-/fflate-0.6.10.tgz",
+ "integrity": "sha512-IQrh3lEPM93wVCEczc9SaAOvkmcoQn/G8Bo1e8ZPlY3X3bnAxWaBdvTdvM1hP62iZp0BXWDy4vTAy4fF0+Dlpg==",
+ "dev": true
+ },
+ "node_modules/file-entry-cache": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz",
+ "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==",
+ "dev": true,
+ "dependencies": {
+ "flat-cache": "^3.0.4"
+ },
+ "engines": {
+ "node": "^10.12.0 || >=12.0.0"
+ }
+ },
+ "node_modules/fill-range": {
+ "version": "7.0.1",
+ "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
+ "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
+ "dev": true,
+ "dependencies": {
+ "to-regex-range": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/find-up": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
+ "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
+ "dev": true,
+ "dependencies": {
+ "locate-path": "^6.0.0",
+ "path-exists": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/flat-cache": {
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.2.0.tgz",
+ "integrity": "sha512-CYcENa+FtcUKLmhhqyctpclsq7QF38pKjZHsGNiSQF5r4FtoKDWabFDl3hzaEQMvT1LHEysw5twgLvpYYb4vbw==",
+ "dev": true,
+ "dependencies": {
+ "flatted": "^3.2.9",
+ "keyv": "^4.5.3",
+ "rimraf": "^3.0.2"
+ },
+ "engines": {
+ "node": "^10.12.0 || >=12.0.0"
+ }
+ },
+ "node_modules/flatted": {
+ "version": "3.2.9",
+ "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.9.tgz",
+ "integrity": "sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ==",
+ "dev": true
+ },
+ "node_modules/for-each": {
+ "version": "0.3.3",
+ "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz",
+ "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==",
+ "dev": true,
+ "dependencies": {
+ "is-callable": "^1.1.3"
+ }
+ },
+ "node_modules/fs.realpath": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
+ "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==",
+ "dev": true
+ },
+ "node_modules/fsevents": {
+ "version": "2.3.3",
+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",
+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
+ "hasInstallScript": true,
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"
+ }
+ },
+ "node_modules/function-bind": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/function.prototype.name": {
+ "version": "1.1.6",
+ "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz",
+ "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "functions-have-names": "^1.2.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/functions-have-names": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz",
+ "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-intrinsic": {
+ "version": "1.2.2",
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz",
+ "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==",
+ "dev": true,
+ "dependencies": {
+ "function-bind": "^1.1.2",
+ "has-proto": "^1.0.1",
+ "has-symbols": "^1.0.3",
+ "hasown": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-symbol-description": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz",
+ "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/get-tsconfig": {
+ "version": "4.7.2",
+ "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-4.7.2.tgz",
+ "integrity": "sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A==",
+ "dev": true,
+ "dependencies": {
+ "resolve-pkg-maps": "^1.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"
+ }
+ },
+ "node_modules/glob": {
+ "version": "7.2.3",
+ "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz",
+ "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==",
+ "dev": true,
+ "dependencies": {
+ "fs.realpath": "^1.0.0",
+ "inflight": "^1.0.4",
+ "inherits": "2",
+ "minimatch": "^3.1.1",
+ "once": "^1.3.0",
+ "path-is-absolute": "^1.0.0"
+ },
+ "engines": {
+ "node": "*"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/glob-parent": {
+ "version": "6.0.2",
+ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz",
+ "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==",
+ "dev": true,
+ "dependencies": {
+ "is-glob": "^4.0.3"
+ },
+ "engines": {
+ "node": ">=10.13.0"
+ }
+ },
+ "node_modules/globals": {
+ "version": "13.24.0",
+ "resolved": "https://registry.npmjs.org/globals/-/globals-13.24.0.tgz",
+ "integrity": "sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ==",
+ "dev": true,
+ "dependencies": {
+ "type-fest": "^0.20.2"
+ },
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/globalthis": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz",
+ "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==",
+ "dev": true,
+ "dependencies": {
+ "define-properties": "^1.1.3"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/globby": {
+ "version": "11.1.0",
+ "resolved": "https://registry.npmjs.org/globby/-/globby-11.1.0.tgz",
+ "integrity": "sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==",
+ "dev": true,
+ "dependencies": {
+ "array-union": "^2.1.0",
+ "dir-glob": "^3.0.1",
+ "fast-glob": "^3.2.9",
+ "ignore": "^5.2.0",
+ "merge2": "^1.4.1",
+ "slash": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/gopd": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
+ "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
+ "dev": true,
+ "dependencies": {
+ "get-intrinsic": "^1.1.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/graphemer": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz",
+ "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==",
+ "dev": true
+ },
+ "node_modules/has-bigints": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz",
+ "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-flag": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz",
+ "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/has-property-descriptors": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz",
+ "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==",
+ "dev": true,
+ "dependencies": {
+ "get-intrinsic": "^1.2.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-proto": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz",
+ "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-symbols": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
+ "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/has-tostringtag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz",
+ "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==",
+ "dev": true,
+ "dependencies": {
+ "has-symbols": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/hasown": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz",
+ "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==",
+ "dev": true,
+ "dependencies": {
+ "function-bind": "^1.1.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/ignore": {
+ "version": "5.3.0",
+ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz",
+ "integrity": "sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg==",
+ "dev": true,
+ "engines": {
+ "node": ">= 4"
+ }
+ },
+ "node_modules/import-fresh": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz",
+ "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==",
+ "dev": true,
+ "dependencies": {
+ "parent-module": "^1.0.0",
+ "resolve-from": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/imurmurhash": {
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz",
+ "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.8.19"
+ }
+ },
+ "node_modules/inflight": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
+ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==",
+ "dev": true,
+ "dependencies": {
+ "once": "^1.3.0",
+ "wrappy": "1"
+ }
+ },
+ "node_modules/inherits": {
+ "version": "2.0.4",
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
+ "dev": true
+ },
+ "node_modules/internal-slot": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.6.tgz",
+ "integrity": "sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg==",
+ "dev": true,
+ "dependencies": {
+ "get-intrinsic": "^1.2.2",
+ "hasown": "^2.0.0",
+ "side-channel": "^1.0.4"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/is-array-buffer": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz",
+ "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.2.0",
+ "is-typed-array": "^1.1.10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-bigint": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz",
+ "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==",
+ "dev": true,
+ "dependencies": {
+ "has-bigints": "^1.0.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-boolean-object": {
+ "version": "1.1.2",
+ "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz",
+ "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-builtin-module": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz",
+ "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==",
+ "dev": true,
+ "dependencies": {
+ "builtin-modules": "^3.3.0"
+ },
+ "engines": {
+ "node": ">=6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/is-callable": {
+ "version": "1.2.7",
+ "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz",
+ "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-core-module": {
+ "version": "2.13.1",
+ "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.1.tgz",
+ "integrity": "sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==",
+ "dev": true,
+ "dependencies": {
+ "hasown": "^2.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-date-object": {
+ "version": "1.0.5",
+ "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz",
+ "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==",
+ "dev": true,
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-extglob": {
+ "version": "2.1.1",
+ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz",
+ "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-glob": {
+ "version": "4.0.3",
+ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz",
+ "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
+ "dev": true,
+ "dependencies": {
+ "is-extglob": "^2.1.1"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/is-negative-zero": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz",
+ "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-number": {
+ "version": "7.0.0",
+ "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
+ "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.12.0"
+ }
+ },
+ "node_modules/is-number-object": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz",
+ "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==",
+ "dev": true,
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-path-inside": {
+ "version": "3.0.3",
+ "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz",
+ "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/is-regex": {
+ "version": "1.1.4",
+ "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz",
+ "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-shared-array-buffer": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz",
+ "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-string": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz",
+ "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==",
+ "dev": true,
+ "dependencies": {
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-symbol": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz",
+ "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==",
+ "dev": true,
+ "dependencies": {
+ "has-symbols": "^1.0.2"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-typed-array": {
+ "version": "1.1.12",
+ "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz",
+ "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==",
+ "dev": true,
+ "dependencies": {
+ "which-typed-array": "^1.1.11"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/is-weakref": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz",
+ "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/isarray": {
+ "version": "2.0.5",
+ "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz",
+ "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==",
+ "dev": true
+ },
+ "node_modules/isexe": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
+ "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
+ "dev": true
+ },
+ "node_modules/js-yaml": {
+ "version": "4.1.0",
+ "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
+ "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
+ "dev": true,
+ "dependencies": {
+ "argparse": "^2.0.1"
+ },
+ "bin": {
+ "js-yaml": "bin/js-yaml.js"
+ }
+ },
+ "node_modules/json-buffer": {
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz",
+ "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==",
+ "dev": true
+ },
+ "node_modules/json-schema-traverse": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
+ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==",
+ "dev": true
+ },
+ "node_modules/json-stable-stringify-without-jsonify": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz",
+ "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==",
+ "dev": true
+ },
+ "node_modules/json5": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.2.tgz",
+ "integrity": "sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==",
+ "dev": true,
+ "dependencies": {
+ "minimist": "^1.2.0"
+ },
+ "bin": {
+ "json5": "lib/cli.js"
+ }
+ },
+ "node_modules/keyv": {
+ "version": "4.5.4",
+ "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",
+ "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==",
+ "dev": true,
+ "dependencies": {
+ "json-buffer": "3.0.1"
+ }
+ },
+ "node_modules/levn": {
+ "version": "0.4.1",
+ "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz",
+ "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==",
+ "dev": true,
+ "dependencies": {
+ "prelude-ls": "^1.2.1",
+ "type-check": "~0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/locate-path": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
+ "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
+ "dev": true,
+ "dependencies": {
+ "p-locate": "^5.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/lodash.merge": {
+ "version": "4.6.2",
+ "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz",
+ "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==",
+ "dev": true
+ },
+ "node_modules/lru-cache": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz",
+ "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==",
+ "dev": true,
+ "dependencies": {
+ "yallist": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/merge2": {
+ "version": "1.4.1",
+ "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz",
+ "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==",
+ "dev": true,
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/meshoptimizer": {
+ "version": "0.18.1",
+ "resolved": "https://registry.npmjs.org/meshoptimizer/-/meshoptimizer-0.18.1.tgz",
+ "integrity": "sha512-ZhoIoL7TNV4s5B6+rx5mC//fw8/POGyNxS/DZyCJeiZ12ScLfVwRE/GfsxwiTkMYYD5DmK2/JXnEVXqL4rF+Sw==",
+ "dev": true
+ },
+ "node_modules/micromatch": {
+ "version": "4.0.5",
+ "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.5.tgz",
+ "integrity": "sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==",
+ "dev": true,
+ "dependencies": {
+ "braces": "^3.0.2",
+ "picomatch": "^2.3.1"
+ },
+ "engines": {
+ "node": ">=8.6"
+ }
+ },
+ "node_modules/minimatch": {
+ "version": "3.1.2",
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
+ "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
+ "dev": true,
+ "dependencies": {
+ "brace-expansion": "^1.1.7"
+ },
+ "engines": {
+ "node": "*"
+ }
+ },
+ "node_modules/minimist": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz",
+ "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/ms": {
+ "version": "2.1.2",
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
+ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
+ "dev": true
+ },
+ "node_modules/nanoid": {
+ "version": "3.3.6",
+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.6.tgz",
+ "integrity": "sha512-BGcqMMJuToF7i1rt+2PWSNVnWIkGCU78jBG3RxO/bZlnZPK2Cmi2QaffxGO/2RvWi9sL+FAiRiXMgsyxQ1DIDA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "bin": {
+ "nanoid": "bin/nanoid.cjs"
+ },
+ "engines": {
+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
+ }
+ },
+ "node_modules/natural-compare": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
+ "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==",
+ "dev": true
+ },
+ "node_modules/object-inspect": {
+ "version": "1.13.1",
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz",
+ "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object-keys": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz",
+ "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/object.assign": {
+ "version": "4.1.5",
+ "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz",
+ "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.5",
+ "define-properties": "^1.2.1",
+ "has-symbols": "^1.0.3",
+ "object-keys": "^1.1.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.fromentries": {
+ "version": "2.0.7",
+ "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.7.tgz",
+ "integrity": "sha512-UPbPHML6sL8PI/mOqPwsH4G6iyXcCGzLin8KvEPenOZN5lpCNBZZQ+V62vdjB1mQHrmqGQt5/OJzemUA+KJmEA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/object.groupby": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/object.groupby/-/object.groupby-1.0.1.tgz",
+ "integrity": "sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1",
+ "get-intrinsic": "^1.2.1"
+ }
+ },
+ "node_modules/object.values": {
+ "version": "1.1.7",
+ "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.7.tgz",
+ "integrity": "sha512-aU6xnDFYT3x17e/f0IiiwlGPTy2jzMySGfUB4fq6z7CV8l85CWHDk5ErhyhpfDHhrOMwGFhSQkhMGHaIotA6Ng==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/once": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
+ "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==",
+ "dev": true,
+ "dependencies": {
+ "wrappy": "1"
+ }
+ },
+ "node_modules/optionator": {
+ "version": "0.9.3",
+ "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz",
+ "integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==",
+ "dev": true,
+ "dependencies": {
+ "@aashutoshrathi/word-wrap": "^1.2.3",
+ "deep-is": "^0.1.3",
+ "fast-levenshtein": "^2.0.6",
+ "levn": "^0.4.1",
+ "prelude-ls": "^1.2.1",
+ "type-check": "^0.4.0"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/p-limit": {
+ "version": "3.1.0",
+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
+ "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
+ "dev": true,
+ "dependencies": {
+ "yocto-queue": "^0.1.0"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/p-locate": {
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
+ "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
+ "dev": true,
+ "dependencies": {
+ "p-limit": "^3.0.2"
+ },
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/parent-module": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz",
+ "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==",
+ "dev": true,
+ "dependencies": {
+ "callsites": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/path-exists": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
+ "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-is-absolute": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
+ "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/path-key": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
+ "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/path-parse": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz",
+ "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==",
+ "dev": true
+ },
+ "node_modules/path-type": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz",
+ "integrity": "sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/picocolors": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.0.tgz",
+ "integrity": "sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ=="
+ },
+ "node_modules/picomatch": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
+ "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
+ "engines": {
+ "node": ">=8.6"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/jonschlinkert"
+ }
+ },
+ "node_modules/postcss": {
+ "version": "8.4.31",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz",
+ "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==",
+ "funding": [
+ {
+ "type": "opencollective",
+ "url": "https://opencollective.com/postcss/"
+ },
+ {
+ "type": "tidelift",
+ "url": "https://tidelift.com/funding/github/npm/postcss"
+ },
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/ai"
+ }
+ ],
+ "dependencies": {
+ "nanoid": "^3.3.6",
+ "picocolors": "^1.0.0",
+ "source-map-js": "^1.0.2"
+ },
+ "engines": {
+ "node": "^10 || ^12 || >=14"
+ }
+ },
+ "node_modules/prelude-ls": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz",
+ "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/punycode": {
+ "version": "2.3.1",
+ "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz",
+ "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==",
+ "dev": true,
+ "engines": {
+ "node": ">=6"
+ }
+ },
+ "node_modules/queue-microtask": {
+ "version": "1.2.3",
+ "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz",
+ "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ]
+ },
+ "node_modules/regexp.prototype.flags": {
+ "version": "1.5.1",
+ "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.1.tgz",
+ "integrity": "sha512-sy6TXMN+hnP/wMy+ISxg3krXx7BAtWVO4UouuCN/ziM9UEne0euamVNafDfvC83bRNr95y0V5iijeDQFUNpvrg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "set-function-name": "^2.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/resolve": {
+ "version": "1.22.8",
+ "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz",
+ "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==",
+ "dev": true,
+ "dependencies": {
+ "is-core-module": "^2.13.0",
+ "path-parse": "^1.0.7",
+ "supports-preserve-symlinks-flag": "^1.0.0"
+ },
+ "bin": {
+ "resolve": "bin/resolve"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/resolve-from": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz",
+ "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/resolve-pkg-maps": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",
+ "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",
+ "dev": true,
+ "funding": {
+ "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"
+ }
+ },
+ "node_modules/reusify": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz",
+ "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==",
+ "dev": true,
+ "engines": {
+ "iojs": ">=1.0.0",
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/rimraf": {
+ "version": "3.0.2",
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz",
+ "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==",
+ "dev": true,
+ "dependencies": {
+ "glob": "^7.1.3"
+ },
+ "bin": {
+ "rimraf": "bin.js"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/isaacs"
+ }
+ },
+ "node_modules/rollup": {
+ "version": "3.29.4",
+ "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.29.4.tgz",
+ "integrity": "sha512-oWzmBZwvYrU0iJHtDmhsm662rC15FRXmcjCk1xD771dFDx5jJ02ufAQQTn0etB2emNk4J9EZg/yWKpsn9BWGRw==",
+ "bin": {
+ "rollup": "dist/bin/rollup"
+ },
+ "engines": {
+ "node": ">=14.18.0",
+ "npm": ">=8.0.0"
+ },
+ "optionalDependencies": {
+ "fsevents": "~2.3.2"
+ }
+ },
+ "node_modules/run-parallel": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz",
+ "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==",
+ "dev": true,
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/feross"
+ },
+ {
+ "type": "patreon",
+ "url": "https://www.patreon.com/feross"
+ },
+ {
+ "type": "consulting",
+ "url": "https://feross.org/support"
+ }
+ ],
+ "dependencies": {
+ "queue-microtask": "^1.2.2"
+ }
+ },
+ "node_modules/safe-array-concat": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.1.tgz",
+ "integrity": "sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.2.1",
+ "has-symbols": "^1.0.3",
+ "isarray": "^2.0.5"
+ },
+ "engines": {
+ "node": ">=0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/safe-regex-test": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz",
+ "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.1.3",
+ "is-regex": "^1.1.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/semver": {
+ "version": "7.5.4",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz",
+ "integrity": "sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==",
+ "dev": true,
+ "dependencies": {
+ "lru-cache": "^6.0.0"
+ },
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
+ "node_modules/set-function-length": {
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz",
+ "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==",
+ "dev": true,
+ "dependencies": {
+ "define-data-property": "^1.1.1",
+ "get-intrinsic": "^1.2.1",
+ "gopd": "^1.0.1",
+ "has-property-descriptors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/set-function-name": {
+ "version": "2.0.1",
+ "resolved": "https://registry.npmjs.org/set-function-name/-/set-function-name-2.0.1.tgz",
+ "integrity": "sha512-tMNCiqYVkXIZgc2Hnoy2IvC/f8ezc5koaRFkCjrpWzGpCd3qbZXPzVy9MAZzK1ch/X0jvSkojys3oqJN0qCmdA==",
+ "dev": true,
+ "dependencies": {
+ "define-data-property": "^1.0.1",
+ "functions-have-names": "^1.2.3",
+ "has-property-descriptors": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/shebang-command": {
+ "version": "2.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
+ "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
+ "dev": true,
+ "dependencies": {
+ "shebang-regex": "^3.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/shebang-regex": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
+ "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/side-channel": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz",
+ "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.0",
+ "get-intrinsic": "^1.0.2",
+ "object-inspect": "^1.9.0"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/slash": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz",
+ "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/source-map-js": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.0.2.tgz",
+ "integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/string.prototype.trim": {
+ "version": "1.2.8",
+ "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.8.tgz",
+ "integrity": "sha512-lfjY4HcixfQXOfaqCvcBuOIapyaroTXhbkfJN3gcB1OtyupngWK4sEET9Knd0cXd28kTUqu/kHoV4HKSJdnjiQ==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/string.prototype.trimend": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.7.tgz",
+ "integrity": "sha512-Ni79DqeB72ZFq1uH/L6zJ+DKZTkOtPIHovb3YZHQViE+HDouuU4mBrLOLDn5Dde3RF8qw5qVETEjhu9locMLvA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/string.prototype.trimstart": {
+ "version": "1.0.7",
+ "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.7.tgz",
+ "integrity": "sha512-NGhtDFu3jCEm7B4Fy0DpLewdJQOZcQ0rGbwQ/+stjnrp2i+rlKeCvos9hOIeCmqwratM47OBxY7uFZzjxHXmrg==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "define-properties": "^1.2.0",
+ "es-abstract": "^1.22.1"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/strip-ansi": {
+ "version": "6.0.1",
+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
+ "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
+ "dev": true,
+ "dependencies": {
+ "ansi-regex": "^5.0.1"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/strip-bom": {
+ "version": "3.0.0",
+ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz",
+ "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==",
+ "dev": true,
+ "engines": {
+ "node": ">=4"
+ }
+ },
+ "node_modules/strip-json-comments": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz",
+ "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==",
+ "dev": true,
+ "engines": {
+ "node": ">=8"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/supports-color": {
+ "version": "7.2.0",
+ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz",
+ "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==",
+ "dev": true,
+ "dependencies": {
+ "has-flag": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=8"
+ }
+ },
+ "node_modules/supports-preserve-symlinks-flag": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz",
+ "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==",
+ "dev": true,
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/text-table": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz",
+ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==",
+ "dev": true
+ },
+ "node_modules/three": {
+ "version": "0.157.0",
+ "resolved": "https://registry.npmjs.org/three/-/three-0.157.0.tgz",
+ "integrity": "sha512-CeAwQrf4x3z0/e+MC4F+nXLW5t0gh3pw+L6CCBqpHvOq3bGYIgRYub7Pv0j/9wR+d++OiEglyZzWyuSYbwWGOA=="
+ },
+ "node_modules/to-regex-range": {
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",
+ "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
+ "dev": true,
+ "dependencies": {
+ "is-number": "^7.0.0"
+ },
+ "engines": {
+ "node": ">=8.0"
+ }
+ },
+ "node_modules/ts-api-utils": {
+ "version": "1.0.3",
+ "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.0.3.tgz",
+ "integrity": "sha512-wNMeqtMz5NtwpT/UZGY5alT+VoKdSsOOP/kqHFcUW1P/VRhH2wJ48+DN2WwUliNbQ976ETwDL0Ifd2VVvgonvg==",
+ "dev": true,
+ "engines": {
+ "node": ">=16.13.0"
+ },
+ "peerDependencies": {
+ "typescript": ">=4.2.0"
+ }
+ },
+ "node_modules/tsconfig-paths": {
+ "version": "3.15.0",
+ "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz",
+ "integrity": "sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg==",
+ "dev": true,
+ "dependencies": {
+ "@types/json5": "^0.0.29",
+ "json5": "^1.0.2",
+ "minimist": "^1.2.6",
+ "strip-bom": "^3.0.0"
+ }
+ },
+ "node_modules/type-check": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz",
+ "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==",
+ "dev": true,
+ "dependencies": {
+ "prelude-ls": "^1.2.1"
+ },
+ "engines": {
+ "node": ">= 0.8.0"
+ }
+ },
+ "node_modules/type-fest": {
+ "version": "0.20.2",
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz",
+ "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
+ },
+ "node_modules/typed-array-buffer": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz",
+ "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "get-intrinsic": "^1.2.1",
+ "is-typed-array": "^1.1.10"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ }
+ },
+ "node_modules/typed-array-byte-length": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz",
+ "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "for-each": "^0.3.3",
+ "has-proto": "^1.0.1",
+ "is-typed-array": "^1.1.10"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/typed-array-byte-offset": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz",
+ "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==",
+ "dev": true,
+ "dependencies": {
+ "available-typed-arrays": "^1.0.5",
+ "call-bind": "^1.0.2",
+ "for-each": "^0.3.3",
+ "has-proto": "^1.0.1",
+ "is-typed-array": "^1.1.10"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/typed-array-length": {
+ "version": "1.0.4",
+ "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz",
+ "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "for-each": "^0.3.3",
+ "is-typed-array": "^1.1.9"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/typescript": {
+ "version": "5.3.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",
+ "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==",
+ "dev": true,
+ "bin": {
+ "tsc": "bin/tsc",
+ "tsserver": "bin/tsserver"
+ },
+ "engines": {
+ "node": ">=14.17"
+ }
+ },
+ "node_modules/unbox-primitive": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz",
+ "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==",
+ "dev": true,
+ "dependencies": {
+ "call-bind": "^1.0.2",
+ "has-bigints": "^1.0.2",
+ "has-symbols": "^1.0.3",
+ "which-boxed-primitive": "^1.0.2"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/uri-js": {
+ "version": "4.4.1",
+ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
+ "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==",
+ "dev": true,
+ "dependencies": {
+ "punycode": "^2.1.0"
+ }
+ },
+ "node_modules/vite": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/vite/-/vite-4.5.0.tgz",
+ "integrity": "sha512-ulr8rNLA6rkyFAlVWw2q5YJ91v098AFQ2R0PRFwPzREXOUJQPtFUG0t+/ZikhaOCDqFoDhN6/v8Sq0o4araFAw==",
+ "dependencies": {
+ "esbuild": "^0.18.10",
+ "postcss": "^8.4.27",
+ "rollup": "^3.27.1"
+ },
+ "bin": {
+ "vite": "bin/vite.js"
+ },
+ "engines": {
+ "node": "^14.18.0 || >=16.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/vitejs/vite?sponsor=1"
+ },
"optionalDependencies": {
"fsevents": "~2.3.2"
},
@@ -595,6 +3428,80 @@
"peerDependencies": {
"vite": "^3.0.0 || ^4.0.0"
}
+ },
+ "node_modules/which": {
+ "version": "2.0.2",
+ "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
+ "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
+ "dev": true,
+ "dependencies": {
+ "isexe": "^2.0.0"
+ },
+ "bin": {
+ "node-which": "bin/node-which"
+ },
+ "engines": {
+ "node": ">= 8"
+ }
+ },
+ "node_modules/which-boxed-primitive": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz",
+ "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==",
+ "dev": true,
+ "dependencies": {
+ "is-bigint": "^1.0.1",
+ "is-boolean-object": "^1.1.0",
+ "is-number-object": "^1.0.4",
+ "is-string": "^1.0.5",
+ "is-symbol": "^1.0.3"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/which-typed-array": {
+ "version": "1.1.13",
+ "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz",
+ "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==",
+ "dev": true,
+ "dependencies": {
+ "available-typed-arrays": "^1.0.5",
+ "call-bind": "^1.0.4",
+ "for-each": "^0.3.3",
+ "gopd": "^1.0.1",
+ "has-tostringtag": "^1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.4"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/ljharb"
+ }
+ },
+ "node_modules/wrappy": {
+ "version": "1.0.2",
+ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
+ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==",
+ "dev": true
+ },
+ "node_modules/yallist": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz",
+ "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==",
+ "dev": true
+ },
+ "node_modules/yocto-queue": {
+ "version": "0.1.0",
+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
+ "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
+ "dev": true,
+ "engines": {
+ "node": ">=10"
+ },
+ "funding": {
+ "url": "https://github.com/sponsors/sindresorhus"
+ }
}
}
}
diff --git a/package.json b/package.json
index a895613..8917861 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,14 @@
"build": "vite build"
},
"devDependencies": {
- "typescript": "^5.2.2",
+ "@types/three": "^0.159.0",
+ "@typescript-eslint/eslint-plugin": "^6.15.0",
+ "eslint": "^8.56.0",
+ "eslint-config-standard-with-typescript": "^43.0.0",
+ "eslint-plugin-import": "^2.29.1",
+ "eslint-plugin-n": "^16.5.0",
+ "eslint-plugin-promise": "^6.1.1",
+ "typescript": "^5.3.3",
"vite": "^4.5.0"
},
"dependencies": {
diff --git a/src/lib/Generators.ts b/src/lib/Generators.ts
index ec34175..6c25b46 100644
--- a/src/lib/Generators.ts
+++ b/src/lib/Generators.ts
@@ -1,232 +1,225 @@
-import { PerspectiveCamera, MeshStandardMaterial, DoubleSide, DirectionalLight, GridHelper,
- Bone, Skeleton, DirectionalLightHelper, AmbientLight, PlaneGeometry, Mesh,
- SphereGeometry, SkeletonHelper, MeshBasicMaterial, MeshPhongMaterial, AxesHelper,
- Vector3, PointsMaterial, BufferGeometry, Points } from 'three';
+import { PerspectiveCamera, MeshStandardMaterial, DoubleSide, DirectionalLight, GridHelper,
+ Bone, Skeleton, DirectionalLightHelper, AmbientLight, PlaneGeometry, Mesh,
+ SphereGeometry, SkeletonHelper, MeshBasicMaterial, MeshPhongMaterial, AxesHelper,
+ Vector3, PointsMaterial, BufferGeometry, Points, Object3D } from 'three'
-import { Utility } from './Utilities';
+import { Utility } from './Utilities'
-export class Generators
-{
- static create_material( wireframeValue = true, colorHex = 0x00ff00): MeshPhongMaterial
- {
- const material = new MeshPhongMaterial({ color: colorHex, wireframe: wireframeValue });
- material.side = DoubleSide;
- return material;
- }
-
- static create_grid_helper(color = 0x111155): any[]
- {
- // create floor mesh and add to scene to help with shadows
- const floor_geometry = new PlaneGeometry(100, 100, 10, 10);
- const floor_material = new MeshPhongMaterial({ color: 0x4e4e7a, wireframe: false, opacity: 0.2, transparent: true });
- floor_material.side = DoubleSide; // helps us see that we are below the character
-
-
- const floor_mesh = new Mesh(floor_geometry, floor_material);
- floor_mesh.name = 'Floor Mesh';
- floor_mesh.rotation.x = -Math.PI / 2;
- floor_mesh.position.y = -.01;
- floor_mesh.receiveShadow = true;
-
- // xyz axes helper display
- const axesHelper = new AxesHelper(0.15);
- axesHelper.name = 'Axes Helper';
- axesHelper.position.copy(new Vector3(0, 0.002, 0)); // offset a bit to avoid z-fighting
-
- // grid display on floor
- const size: number = 10;
- const divisions: number = 10;
- const gridHelper: GridHelper = new GridHelper(size, divisions, color, color);
-
-
- return [gridHelper, floor_mesh, axesHelper];
- }
-
- static create_bone_hierarchy()
- {
- // offset root bone down to move entire bone structure
- const bone0 = new Bone();
- bone0.name = 'rootBone';
-
- const bone1 = new Bone();
- bone1.name = 'childBone';
-
- const bone2 = new Bone();
- bone2.name = 'grandchildBone';
-
- const bone3 = new Bone();
- bone3.name = 'greatGrandchildBone';
-
- bone0.add(bone1);
- bone1.add(bone2);
- bone2.add(bone3);
-
- // this is the local position...relative to the parent
- // @ts-ignore
- bone0.position.y = -0.8;
-
- // @ts-ignore
- bone1.position.y = 0.5;
-
- // @ts-ignore
- bone2.position.y = 0.5;
- // bone2.position.x = 0.5; // temporarily to test cylinder
-
- // @ts-ignore
- bone3.position.y = 0.5;
-
- return bone0;
- }
-
- static create_skeleton(bone_hierarchy): Skeleton
- {
- const bone_list = Utility.bone_list_from_hierarchy(bone_hierarchy);
- const skeleton = new Skeleton(bone_list);
- return skeleton;
- }
-
- static create_skeleton_helper(skeleton): SkeletonHelper
- {
- const skeletonHelper = new SkeletonHelper(skeleton.bones[0]);
- return skeletonHelper;
- }
-
- static create_spheres_for_points(points, sphere_size = 0.01, color = 0x00ffff, name = '' ): Points
- {
- let points_material = new PointsMaterial({ size: sphere_size, color: color });
- const points_geometry = new BufferGeometry().setFromPoints(points);
- const point_objects: Points = new Points(points_geometry, points_material);
- point_objects.name = `Point display: ${name} `;
-
- return point_objects;
- }
-
- static create_test_plane_mesh(size: number = 0.08, color: number = 0x0000ff): Mesh
- {
- const plane_width = size;
- const plane_height = size;
- const plane_width_segments = 2;
- const plane_height_segments = 2;
- const plane_geometry = new PlaneGeometry( plane_width, plane_height, plane_width_segments, plane_height_segments );
- const plane_material: MeshBasicMaterial = Generators.create_material(false, color);
- const mesh_object = new Mesh(plane_geometry, plane_material);
- mesh_object.name = 'Plane Intersection Mesh'
- return mesh_object
- }
-
- static create_default_lights()
- {
- const light_1 = new DirectionalLight(0x777777, 7);
- light_1.castShadow = true;
-
- // @ts-ignore
- light_1.position.set(-2, 2, 2);
-
- //const light_1_helper = new DirectionalLightHelper(light_1, 1, 0x333333);
- const light_2 = new AmbientLight(0xffffff, 0.3);
-
- // backfill light
- const backfill_light = new DirectionalLight(0x777777, 3);
- backfill_light.castShadow = false; // one shadow is enough
-
- // @ts-ignore
- backfill_light.position.set(2, 2, -2);
-
- return [light_1, light_2, backfill_light]
- }
-
- static create_camera()
- {
- const fieldOfView = 10; // in millimeters. Lower makes the camera more isometric
- const camera = new PerspectiveCamera(fieldOfView, window.innerWidth / window.innerHeight, 0.1, 1000);
-
- // @ts-ignore
- camera.position.z = 10;
-
- // @ts-ignore
- camera.position.y = 5;
-
- // @ts-ignore
- camera.position.x = 5;
-
- return camera;
- }
-
- static create_equidistant_spheres_around_circle(sphere_count = 6, color = 0x00ff00, distance = 0.3)
- {
- const plane_points: Array<Mesh> = [];
- const plane_point_geometry = new SphereGeometry(0.03, 12, 12)
- const plane_point_material: MeshBasicMaterial = Generators.create_material(true, color);
- for (let i = 0; i < sphere_count; i++)
- {
- // have the points go around the plane in an even circle increments
- const angle = (i/sphere_count) * (Math.PI*2)
- const x = Math.cos(angle) * distance
- const y = Math.sin(angle) * distance
- const z = 0
- const point_mesh: Mesh = new Mesh(plane_point_geometry, plane_point_material)
-
- // @ts-ignore
- point_mesh.position.set(x, y, z)
-
-
- plane_points.push(point_mesh)
- }
-
- return plane_points
- }
-
- static create_window_resize_listener(renderer, camera): void
+export class Generators
+{
+ static create_material( wireframeValue = true, colorHex = 0x00ff00): MeshPhongMaterial
+ {
+ const material = new MeshPhongMaterial({ color: colorHex, wireframe: wireframeValue })
+ material.side = DoubleSide
+ return material
+ }
+
+ static create_grid_helper(color = 0x111155): any[]
+ {
+ // create floor mesh and add to scene to help with shadows
+ const floor_geometry = new PlaneGeometry(100, 100, 10, 10)
+ const floor_material = new MeshPhongMaterial({ color: 0x4e4e7a, wireframe: false, opacity: 0.2, transparent: true })
+ floor_material.side = DoubleSide // helps us see that we are below the character
+
+
+ const floor_mesh = new Mesh(floor_geometry, floor_material)
+ floor_mesh.name = 'Floor Mesh'
+ floor_mesh.rotation.x = -Math.PI / 2
+ floor_mesh.position.y = -.01
+ floor_mesh.receiveShadow = true
+
+ // xyz axes helper display
+ const axesHelper = new AxesHelper(0.15)
+ axesHelper.name = 'Axes Helper'
+ axesHelper.position.copy(new Vector3(0, 0.002, 0)) // offset a bit to avoid z-fighting
+
+ // grid display on floor
+ const size: number = 10
+ const divisions: number = 10
+ const gridHelper: GridHelper = new GridHelper(size, divisions, color, color)
+
+
+ return [gridHelper, floor_mesh, axesHelper]
+ }
+
+ static create_bone_hierarchy(): Bone
+ {
+ // offset root bone down to move entire bone structure
+ const bone0 = new Bone()
+ bone0.name = 'rootBone'
+
+ const bone1 = new Bone()
+ bone1.name = 'childBone'
+
+ const bone2 = new Bone()
+ bone2.name = 'grandchildBone'
+
+ const bone3 = new Bone()
+ bone3.name = 'greatGrandchildBone'
+
+ bone0.add(bone1)
+ bone1.add(bone2)
+ bone2.add(bone3)
+
+ // this is the local position...relative to the parent
+ bone0.position.y = -0.8
+ bone1.position.y = 0.5
+ bone2.position.y = 0.5
+ // bone2.position.x = 0.5; // temporarily to test cylinder
+ bone3.position.y = 0.5
+
+ return bone0
+ }
+
+ static create_skeleton(bone_hierarchy: Object3D): Skeleton
+ {
+ const bone_list = Utility.bone_list_from_hierarchy(bone_hierarchy)
+ const skeleton = new Skeleton(bone_list)
+ return skeleton
+ }
+
+ static create_skeleton_helper(skeleton): SkeletonHelper
+ {
+ const skeletonHelper = new SkeletonHelper(skeleton.bones[0])
+ return skeletonHelper
+ }
+
+ static create_spheres_for_points(points, sphere_size = 0.01, color = 0x00ffff, name = '' ): Points
+ {
+ let points_material = new PointsMaterial({ size: sphere_size, color: color })
+ const points_geometry = new BufferGeometry().setFromPoints(points)
+ const point_objects: Points = new Points(points_geometry, points_material)
+ point_objects.name = `Point display: ${name} `
+
+ return point_objects
+ }
+
+ static create_test_plane_mesh(size: number = 0.08, color: number = 0x0000ff): Mesh
+ {
+ const plane_width = size
+ const plane_height = size
+ const plane_width_segments = 2
+ const plane_height_segments = 2
+ const plane_geometry = new PlaneGeometry( plane_width, plane_height, plane_width_segments, plane_height_segments )
+ const plane_material: MeshBasicMaterial = Generators.create_material(false, color)
+ const mesh_object = new Mesh(plane_geometry, plane_material)
+ mesh_object.name = 'Plane Intersection Mesh'
+ return mesh_object
+ }
+
+ static create_default_lights()
+ {
+ const light_1 = new DirectionalLight(0x777777, 7)
+ light_1.castShadow = true
+
+ // @ts-ignore
+ light_1.position.set(-2, 2, 2)
+
+ //const light_1_helper = new DirectionalLightHelper(light_1, 1, 0x333333);
+ const light_2 = new AmbientLight(0xffffff, 0.3)
+
+ // backfill light
+ const backfill_light = new DirectionalLight(0x777777, 3)
+ backfill_light.castShadow = false // one shadow is enough
+
+ // @ts-ignore
+ backfill_light.position.set(2, 2, -2)
+
+ return [light_1, light_2, backfill_light]
+ }
+
+ static create_camera()
+ {
+ const fieldOfView = 10 // in millimeters. Lower makes the camera more isometric
+ const camera = new PerspectiveCamera(fieldOfView, window.innerWidth / window.innerHeight, 0.1, 1000)
+
+ // @ts-ignore
+ camera.position.z = 10
+
+ // @ts-ignore
+ camera.position.y = 5
+
+ // @ts-ignore
+ camera.position.x = 5
+
+ return camera
+ }
+
+ static create_equidistant_spheres_around_circle(sphere_count = 6, color = 0x00ff00, distance = 0.3)
+ {
+ const plane_points: Array<Mesh> = []
+ const plane_point_geometry = new SphereGeometry(0.03, 12, 12)
+ const plane_point_material: MeshBasicMaterial = Generators.create_material(true, color)
+ for (let i = 0; i < sphere_count; i++)
{
- // there was a bit of horizontal and vertical scrollbars
- // I tried doing overflow: none, but that wasn't working for some reason
- const contraction_size = 2;
-
- window.addEventListener('resize', () => {
- renderer.setSize(window.innerWidth-contraction_size, window.innerHeight-contraction_size);
- camera.aspect = window.innerWidth / window.innerHeight;
- camera.updateProjectionMatrix(); // update camera
- })
+ // have the points go around the plane in an even circle increments
+ const angle = (i/sphere_count) * (Math.PI*2)
+ const x = Math.cos(angle) * distance
+ const y = Math.sin(angle) * distance
+ const z = 0
+ const point_mesh: Mesh = new Mesh(plane_point_geometry, plane_point_material)
+
+ // @ts-ignore
+ point_mesh.position.set(x, y, z)
+
+
+ plane_points.push(point_mesh)
}
-
- static create_bone_plane_mesh(bone_start, bone_end, rays_to_cast): Mesh
+
+ return plane_points
+ }
+
+ static create_window_resize_listener(renderer, camera): void
+ {
+ // there was a bit of horizontal and vertical scrollbars
+ // I tried doing overflow: none, but that wasn't working for some reason
+ const contraction_size = 2
+
+ window.addEventListener('resize', () => {
+ renderer.setSize(window.innerWidth-contraction_size, window.innerHeight-contraction_size)
+ camera.aspect = window.innerWidth / window.innerHeight
+ camera.updateProjectionMatrix() // update camera
+ })
+ }
+
+ static create_bone_plane_mesh(bone_start, bone_end, rays_to_cast): Mesh
+ {
+ // create plane mesh to do the ray casting
+ // we also want to offset it it half the bone distance up the bone
+ // for a better approximation with what counts
+ const plane_mesh: Mesh = Generators.create_test_plane_mesh(0.02)
+
+ // @ts-ignore
+ plane_mesh.position.copy(Utility.world_position_from_object(bone_start))
+
+ plane_mesh.lookAt(Utility.world_position_from_object(bone_end))
+ plane_mesh.translateZ(Utility.distance_between_objects(bone_start, bone_end)*0.5)
+
+ // create 4 reference points around the plane that will be used for raycasting
+ const plane_point_geometry = new SphereGeometry(0.002, 3, 3)
+ const plane_point_material: MeshBasicMaterial = Generators.create_material(true, 0x00ffff)
+
+ for (let i = 0; i < rays_to_cast; i++)
{
- // create plane mesh to do the ray casting
- // we also want to offset it it half the bone distance up the bone
- // for a better approximation with what counts
- const plane_mesh: Mesh = Generators.create_test_plane_mesh(0.02)
-
+ // have the points go around the plane in an even circle increments
+ const distance: number = 0.005 // set radial distance from origin close to help with close vertices
+ const angle: number = (i/rays_to_cast) * (Math.PI*2)
+ const x = Math.cos(angle) * distance
+ const y = Math.sin(angle) * distance
+ const z = 0
+ const point_mesh = new Mesh(plane_point_geometry, plane_point_material)
+ point_mesh.name = 'Point mesh PLANE'
+
// @ts-ignore
- plane_mesh.position.copy(Utility.world_position_from_object(bone_start))
-
- plane_mesh.lookAt(Utility.world_position_from_object(bone_end))
- plane_mesh.translateZ(Utility.distance_between_objects(bone_start, bone_end)*0.5)
-
- // create 4 reference points around the plane that will be used for raycasting
- const plane_point_geometry = new SphereGeometry(0.002, 3, 3)
- const plane_point_material: MeshBasicMaterial = Generators.create_material(true, 0x00ffff);
-
- for (let i = 0; i < rays_to_cast; i++)
- {
- // have the points go around the plane in an even circle increments
- const distance: number = 0.005; // set radial distance from origin close to help with close vertices
- const angle: number = (i/rays_to_cast) * (Math.PI*2)
- const x = Math.cos(angle) * distance
- const y = Math.sin(angle) * distance
- const z = 0
- const point_mesh = new Mesh(plane_point_geometry, plane_point_material)
- point_mesh.name = 'Point mesh PLANE';
-
- // @ts-ignore
- point_mesh.position.set(x, y, z)
- plane_mesh.add(point_mesh)
- }
-
- return plane_mesh
-
+ point_mesh.position.set(x, y, z)
+ plane_mesh.add(point_mesh)
}
+ return plane_mesh
+
+ }
+
}
diff --git a/src/lib/Utilities.ts b/src/lib/Utilities.ts
index 1f1b7ad..3d1c2f9 100644
--- a/src/lib/Utilities.ts
+++ b/src/lib/Utilities.ts
@@ -1,16 +1,16 @@
-import { Vector3, Vector2, Object3D, Mesh, Group, Bone, Skeleton, Euler, Raycaster} from 'three';
-import BoneTransformState from './models/BoneTransformState';
+import { Vector3, Vector2, Object3D, Mesh, Group, Bone, Skeleton, Euler, Raycaster} from 'three'
+import BoneTransformState from './models/BoneTransformState'
export class Utility {
static distance_between_objects(
object_1: Object3D,
object_2: Object3D
): number {
- const object_1_position = new Vector3();
- const object_2_position = new Vector3();
- object_1.getWorldPosition(object_1_position);
- object_2.getWorldPosition(object_2_position);
- return object_1_position.distanceTo(object_2_position);
+ const object_1_position = new Vector3()
+ const object_2_position = new Vector3()
+ object_1.getWorldPosition(object_1_position)
+ object_2.getWorldPosition(object_2_position)
+ return object_1_position.distanceTo(object_2_position)
}
/**
@@ -22,102 +22,102 @@ export class Utility {
* @returns local position for object in a Vector3 object
*/
static world_position_from_object(object: Object3D): Vector3 {
- const position: Vector3 = new Vector3();
- return object.getWorldPosition(position);
+ const position: Vector3 = new Vector3()
+ return object.getWorldPosition(position)
}
static direction_between_points(point_1: Vector3, point_2: Vector3): Vector3 {
- let direction: Vector3 = new Vector3();
- direction.subVectors(point_2, point_1).normalize();
- return direction;
+ let direction: Vector3 = new Vector3()
+ direction.subVectors(point_2, point_1).normalize()
+ return direction
}
static is_point_in_box(point: Vector3, box_mesh: Mesh): boolean {
//Transform the point from world space into the objects space
- box_mesh.updateMatrixWorld();
- let localPt: Vector3 = box_mesh.worldToLocal(point.clone());
- return box_mesh.geometry.boundingBox.containsPoint(localPt);
+ box_mesh.updateMatrixWorld()
+ let localPt: Vector3 = box_mesh.worldToLocal(point.clone())
+ return box_mesh.geometry.boundingBox.containsPoint(localPt)
}
static remove_object_array(obj: Object3D): void {
obj.traverse((child: any) => {
if (child instanceof Mesh) {
- child.geometry.dispose();
+ child.geometry.dispose()
for (const key in child.material) {
- const value = child.material[key];
+ const value = child.material[key]
if (value && typeof value.dispose === "function") {
- value.dispose();
+ value.dispose()
}
}
- obj.remove(obj);
+ obj.remove(obj)
}
- });
+ })
}
static remove_object_with_children(obj: Object3D): void {
if (obj.children.length > 0) {
obj.children.forEach((child) => {
- this.remove_object_with_children(child);
- });
+ this.remove_object_with_children(child)
+ })
}
if (obj instanceof Mesh) {
if (obj.geometry) {
- obj.geometry.dispose();
+ obj.geometry.dispose()
}
if (obj.material) {
if (obj.material.map) {
- obj.material.map.dispose();
+ obj.material.map.dispose()
}
- obj.material.dispose();
+ obj.material.dispose()
}
}
if (obj.parent) {
- obj.parent.remove(obj);
+ obj.parent.remove(obj)
}
- obj.removeFromParent();
+ obj.removeFromParent()
}
- static bone_list_from_hierarchy(bone_hierarchy: Object3D): Array<Bone> {
+ static bone_list_from_hierarchy(bone_hierarchy: Object3D): Bone[] {
if (bone_hierarchy === undefined || bone_hierarchy === null) {
throw new Error(
- "bone_list_from_hierarchy() - bone_hierarchy parameter is undefined or null"
- );
+ 'bone_list_from_hierarchy() - bone_hierarchy parameter is undefined or null'
+ )
}
- const bone_list: Array<Bone> = [];
+ const bone_list: Bone[] = []
bone_hierarchy.traverse((bone) => {
if (bone instanceof Bone) {
- bone_list.push(bone);
+ bone_list.push(bone)
}
- });
- return bone_list;
+ })
+ return bone_list
}
static intersection_points_between_positions_and_mesh(positions, envelope_mesh) {
- const vertex_positions_inside_bone_envelope: Array<Vector3> = [];
- const vertex_indexes_inside_bone_evelope: Array<number> = [];
- const vertex_count: number = positions.array.length / 3;
+ const vertex_positions_inside_bone_envelope: Array<Vector3> = []
+ const vertex_indexes_inside_bone_evelope: Array<number> = []
+ const vertex_count: number = positions.array.length / 3
for( let i = 0; i < vertex_count; i++)
{
- const vertexPosition: Vector3 = new Vector3().fromBufferAttribute(positions, i);
- const is_intersecting: boolean = Utility.is_point_in_box(vertexPosition, envelope_mesh)
+ const vertex_position: Vector3 = new Vector3().fromBufferAttribute(positions, i)
+ const is_intersecting: boolean = Utility.is_point_in_box(vertex_position, envelope_mesh)
- if(is_intersecting)
- {
- vertex_positions_inside_bone_envelope.push(vertexPosition)
- vertex_indexes_inside_bone_evelope.push(i)
- }
+ if(is_intersecting)
+ {
+ vertex_positions_inside_bone_envelope.push(vertex_position)
+ vertex_indexes_inside_bone_evelope.push(i)
+ }
}
- return { vertex_positions_inside_bone_envelope, vertex_indexes_inside_bone_evelope };
+ return { vertex_positions_inside_bone_envelope, vertex_indexes_inside_bone_evelope }
}
/**
@@ -128,10 +128,10 @@ export class Utility {
* @returns x and y coordinates normalized between -1 and 1
*/
static normalized_mouse_position(mouse_event): Vector2 {
- let mouse: Vector2 = new Vector2();
- mouse.x = (mouse_event.clientX / window.innerWidth) * 2 - 1;
- mouse.y = -(mouse_event.clientY / window.innerHeight) * 2 + 1;
- return mouse;
+ let mouse: Vector2 = new Vector2()
+ mouse.x = (mouse_event.clientX / window.innerWidth) * 2 - 1
+ mouse.y = -(mouse_event.clientY / window.innerHeight) * 2 + 1
+ return mouse
}
/**
@@ -141,38 +141,38 @@ export class Utility {
* @returns
*/
static regenerate_debugging_scene(scene): Group {
- const debugging_object_name: string = "Skinning Debug Container";
+ const debugging_object_name: string = "Skinning Debug Container"
// clear out debugging container if it exists
const existing_debugging_container: Object3D = scene.getObjectByName(
debugging_object_name
- );
+ )
if (existing_debugging_container) {
- this.remove_object_array(existing_debugging_container);
- existing_debugging_container.clear();
- scene.remove(existing_debugging_container);
+ this.remove_object_array(existing_debugging_container)
+ existing_debugging_container.clear()
+ scene.remove(existing_debugging_container)
}
// add a reusable container for debugging
- const debugging_scene_object: Group = new Group();
- debugging_scene_object.name = debugging_object_name;
- scene.add(debugging_scene_object);
- return debugging_scene_object;
+ const debugging_scene_object: Group = new Group()
+ debugging_scene_object.name = debugging_object_name
+ scene.add(debugging_scene_object)
+ return debugging_scene_object
}
static store_bone_transforms(skeleton: Skeleton): Array<BoneTransformState> {
- const bone_transforms: Array<BoneTransformState> = [];
+ const bone_transforms: Array<BoneTransformState> = []
skeleton.bones.forEach((bone) => {
const new_transform_state = new BoneTransformState(
bone.name,
bone.position.clone(),
bone.rotation.clone(),
bone.scale.clone()
- );
- bone_transforms.push(new_transform_state);
- });
+ )
+ bone_transforms.push(new_transform_state)
+ })
- return bone_transforms;
+ return bone_transforms
}
static restore_bone_transforms(
@@ -182,47 +182,47 @@ export class Utility {
original_bone_transforms.forEach((bone_transform) => {
const bone: Bone | null =
skeleton.bones.find((bone) => bone.name === bone_transform.name) ??
- null;
+ null
if (bone !== null) {
- bone.position.copy(bone_transform.position);
- let euler = new Euler();
- euler.setFromVector3(bone_transform.rotation);
- bone.rotation.copy(euler);
- bone.scale.copy(bone_transform.scale);
+ bone.position.copy(bone_transform.position)
+ let euler = new Euler()
+ euler.setFromVector3(bone_transform.rotation)
+ bone.rotation.copy(euler)
+ bone.scale.copy(bone_transform.scale)
}
- });
+ })
}
static calculate_bone_base_name(bone_name) {
return bone_name
.replace("mixamorig_", "")
- .replace(/(Right|Right_|R_|_Right|_R|Left|Left_|_Left|L_)/g, "");
+ .replace(/(Right|Right_|R_|_Right|_R|Left|Left_|_Left|L_)/g, "")
}
static raycast_closest_bone_test(camera, mouse_event, skeleton)
{
- // Find the closest bone for raycaster. Select that
- let raycaster = new Raycaster();
- raycaster.setFromCamera(Utility.normalized_mouse_position(mouse_event), camera);
- let closestBone = null;
- let closestBoneIndex = 0;
- let closestDistance = Infinity;
+ // Find the closest bone for raycaster. Select that
+ let raycaster = new Raycaster()
+ raycaster.setFromCamera(Utility.normalized_mouse_position(mouse_event), camera)
+ let closestBone = null
+ let closestBoneIndex = 0
+ let closestDistance = Infinity
- skeleton.bones.forEach((bone, bone_index) => {
- let worldPosition = Utility.world_position_from_object(bone);
- let target = new Vector3();
- let point = raycaster.ray.closestPointToPoint(worldPosition, target);
- let distance = point.distanceTo(worldPosition);
+ skeleton.bones.forEach((bone, bone_index) => {
+ let worldPosition = Utility.world_position_from_object(bone)
+ let target = new Vector3()
+ let point = raycaster.ray.closestPointToPoint(worldPosition, target)
+ let distance = point.distanceTo(worldPosition)
- if (distance < closestDistance) {
- closestBone = bone;
- closestDistance = distance;
- closestBoneIndex = bone_index;
- }
- });
+ if (distance < closestDistance) {
+ closestBone = bone
+ closestDistance = distance
+ closestBoneIndex = bone_index
+ }
+ })
- return [closestBone, closestBoneIndex, closestDistance]
+ return [closestBone, closestBoneIndex, closestDistance]
}
static scale_armature_by_scalar(armature, scalar)
@@ -230,9 +230,9 @@ export class Utility {
armature.traverse((bone) => {
if(bone.type === 'Bone')
{
- bone.position.multiplyScalar(scalar);
+ bone.position.multiplyScalar(scalar)
}
- });
+ })
}
diff --git a/src/lib/data/StepData.js b/src/lib/data/StepData.js
index cb47d6a..5c1cc2a 100644
--- a/src/lib/data/StepData.js
+++ b/src/lib/data/StepData.js
@@ -1,46 +1,45 @@
// helps populate information about the current step along with instructions
export const STEPDATA = [
- {
- name: ProcessStep.LoadModel,
- index: 0,
- title: 'Load Model',
- description: 'Load a model to edit',
- instructions: 'Upload your own model, or choose from a pre-existing model.',
- },
- {
- name: ProcessStep.LoadSkeleton,
- index: 1,
- title: 'Load Skeleton',
- description: 'Load a skeleton to edit',
- instructions: 'Choose what type of skeleton to use.',
- },
- {
- name: ProcessStep.EditSkeleton,
- index: 2,
- title: 'Edit Skeleton',
- description: 'Edit the skeleton',
- instructions: 'Right click by a bone and translate or rotate it. Try to fit the bones evenly inside the mesh.',
- },
- {
- name: ProcessStep.WeightSkin,
- index: 3,
- title: 'Weight Skin',
- description: 'Weight the skin',
- instructions: 'See the bounding boxes that were created from bones. Red circles mean that there are no boxes that contain the vertex. They will use a shortest distance formular for this calculation',
- },
- {
- name: ProcessStep.AnimationsListing,
- index: 4,
- title: 'Animations Listing',
- description: 'Test out animations',
- instructions: 'Play animations and see if the results are good. If not, go back to the edit skeleton step and make modifications to get better results. After you are happy with the animations, select which animations you want to include with the final export.',
- },
- {
- name: ProcessStep.StepExportToFile,
- index: 5,
- title: 'Export to GLB',
- description: 'Export to File',
- instructions: 'GLB is the only available file export format. ',
- },
-
- ]
\ No newline at end of file
+ {
+ name: ProcessStep.LoadModel,
+ index: 0,
+ title: 'Load Model',
+ description: 'Load a model to edit',
+ instructions: 'Upload your own model, or choose from a pre-existing model.',
+ },
+ {
+ name: ProcessStep.LoadSkeleton,
+ index: 1,
+ title: 'Load Skeleton',
+ description: 'Load a skeleton to edit',
+ instructions: 'Choose what type of skeleton to use.',
+ },
+ {
+ name: ProcessStep.EditSkeleton,
+ index: 2,
+ title: 'Edit Skeleton',
+ description: 'Edit the skeleton',
+ instructions: 'Right click by a bone and translate or rotate it. Try to fit the bones evenly inside the mesh.',
+ },
+ {
+ name: ProcessStep.WeightSkin,
+ index: 3,
+ title: 'Weight Skin',
+ description: 'Weight the skin',
+ instructions: 'See the bounding boxes that were created from bones. Red circles mean that there are no boxes that contain the vertex. They will use a shortest distance formular for this calculation',
+ },
+ {
+ name: ProcessStep.AnimationsListing,
+ index: 4,
+ title: 'Animations Listing',
+ description: 'Test out animations',
+ instructions: 'Play animations and see if the results are good. If not, go back to the edit skeleton step and make modifications to get better results. After you are happy with the animations, select which animations you want to include with the final export.',
+ },
+ {
+ name: ProcessStep.StepExportToFile,
+ index: 5,
+ title: 'Export to GLB',
+ description: 'Export to File',
+ instructions: 'GLB is the only available file export format. ',
+ }
+]
diff --git a/src/lib/enums/ProcessStep.js b/src/lib/enums/ProcessStep.js
index d3dd738..21cb502 100644
--- a/src/lib/enums/ProcessStep.js
+++ b/src/lib/enums/ProcessStep.js
@@ -5,10 +5,9 @@ export const ProcessStep = {
WeightSkin: 'weight-skin',
AnimationsListing: 'animations-export',
StepExportToFile: 'export-to-file'
-};
+}
export const step_data = [
-
{
name: ProcessStep.LoadModel,
index: 0,
@@ -50,6 +49,6 @@ export const step_data = [
title: 'Export to File',
description: 'Export to File',
instructions: 'Export to File',
- },
-
-]
\ No newline at end of file
+ }
+
+]
diff --git a/src/lib/enums/SkeletonType.js b/src/lib/enums/SkeletonType.js
index 43f292e..a7728c4 100644
--- a/src/lib/enums/SkeletonType.js
+++ b/src/lib/enums/SkeletonType.js
@@ -4,4 +4,4 @@ export const SkeletonType = {
Quadraped: 'skeletons/skeleton-quadraped.glb',
BipedalSimple: 'skeletons/skeleton-bipedal-simple.glb',
BipedalFull: 'skeletons/skeleton-mecanim-full.glb',
-};
\ No newline at end of file
+}
diff --git a/src/lib/enums/SkinningFormula.js b/src/lib/enums/SkinningFormula.js
index d8c885f..a92c081 100644
--- a/src/lib/enums/SkinningFormula.js
+++ b/src/lib/enums/SkinningFormula.js
@@ -1,5 +1,5 @@
export const SkinningFormula = {
- Distance: 'distance',
- MedianDistance: 'median-distance',
- Envelope: 'envelope'
- };
\ No newline at end of file
+ Distance: 'distance',
+ MedianDistance: 'median-distance',
+ Envelope: 'envelope'
+}
diff --git a/src/lib/geometry/BoneEnvelopeGeometry.js b/src/lib/geometry/BoneEnvelopeGeometry.js
index 9d1302c..8f5b66a 100644
--- a/src/lib/geometry/BoneEnvelopeGeometry.js
+++ b/src/lib/geometry/BoneEnvelopeGeometry.js
@@ -1,152 +1,141 @@
-import { BufferGeometry } from 'three/src/core/BufferGeometry.js';
-import { BufferAttribute } from 'three/src/core/BufferAttribute.js';
-import * as BufferGeometryUtils from 'three/addons/utils/BufferGeometryUtils.js';
+import { BufferGeometry } from 'three/src/core/BufferGeometry.js'
+import { BufferAttribute } from 'three/src/core/BufferAttribute.js'
+import * as BufferGeometryUtils from 'three/addons/utils/BufferGeometryUtils.js'
class BoneEnvelopeGeometry {
-
- constructor( )
- {
-
- let geometry = new BufferGeometry();
- geometry.type = 'BoneEnvelopeGeometry'
-
- // points for a 0.01x0.01x0.01 cube
- const box_vertice_data = new Float32Array([
- 0.01,0.01,0.01,-0.01,0.01,0.01,-0.01,-0.01,0.01,0.01,0.01,0.01,-0.01,-0.01,0.01,0.01,-0.01,0.01,0.01,-0.01,-0.01,0.01,-0.01,0.01,-0.01,-0.01,0.01,0.01,-0.01,-0.01,-0.01,-0.01,0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,-0.01,0.01,-0.01,0.01,0.01,-0.01,-0.01,-0.01,-0.01,0.01,0.01,-0.01,0.01,-0.01,-0.01,0.01,-0.01,0.01,0.01,-0.01,0.01,-0.01,-0.01,-0.01,0.01,-0.01,0.01,-0.01,-0.01,-0.01,-0.01,-0.01,0.01,0.01,-0.01,0.01,0.01,0.01,0.01,-0.01,0.01,0.01,0.01,-0.01,0.01,-0.01,0.01,0.01,-0.01,-0.01,-0.01,0.01,-0.01,-0.01,0.01,0.01,0.01,0.01,0.01,-0.01,0.01,-0.01,0.01,0.01,0.01,0.01,0.01,-0.01
- ]);
- geometry.setAttribute( "position", new BufferAttribute( box_vertice_data, 3 ) );
- geometry.getAttribute("position").needsUpdate = true;
-
- // create indexed vertex positions for easier manipulation later
- geometry = BufferGeometryUtils.mergeVertices( geometry );
- geometry.computeVertexNormals(); // required after setting new position attributes
-
- return geometry;
- }
+ constructor ()
+ {
+ let geometry = new BufferGeometry()
+ geometry.type = 'BoneEnvelopeGeometry'
+
+ // points for a 0.01x0.01x0.01 cube
+ const box_vertice_data = new Float32Array([
+ 0.01, 0.01, 0.01, -0.01, 0.01, 0.01, -0.01, -0.01, 0.01, 0.01, 0.01, 0.01, -0.01, -0.01, 0.01, 0.01, -0.01, 0.01, 0.01, -0.01, -0.01, 0.01, -0.01, 0.01, -0.01, -0.01, 0.01, 0.01, -0.01, -0.01, -0.01, -0.01, 0.01, -0.01, -0.01, -0.01, -0.01, -0.01, -0.01, -0.01, -0.01, 0.01, -0.01, 0.01, 0.01, -0.01, -0.01, -0.01, -0.01, 0.01, 0.01, -0.01, 0.01, -0.01, -0.01, 0.01, -0.01, 0.01, 0.01, -0.01, 0.01, -0.01, -0.01, -0.01, 0.01, -0.01, 0.01, -0.01, -0.01, -0.01, -0.01, -0.01, 0.01, 0.01, -0.01, 0.01, 0.01, 0.01, 0.01, -0.01, 0.01, 0.01, 0.01, -0.01, 0.01, -0.01, 0.01, 0.01, -0.01, -0.01, -0.01, 0.01, -0.01, -0.01, 0.01, 0.01, 0.01, 0.01, 0.01, -0.01, 0.01, -0.01, 0.01, 0.01, 0.01, 0.01, 0.01, -0.01
+ ])
+ geometry.setAttribute('position', new BufferAttribute(box_vertice_data, 3))
+ geometry.getAttribute('position').needsUpdate = true
+
+ // create indexed vertex positions for easier manipulation later
+ geometry = BufferGeometryUtils.mergeVertices(geometry)
+ geometry.computeVertexNormals() // required after setting new position attributes
+
+ return geometry
+ }
}
-
class BoneEnvelopeGeometryUtils
{
- static expand_x_positive_face(geometry,x)
- {
- this.move_x_pos_top_left(geometry, x, 0, 0)
- this.move_x_pos_top_right(geometry, x, 0, 0)
- this.move_x_pos_bottom_left(geometry, x,0,0)
- this.move_x_pos_bottom_right(geometry, x,0,0)
- }
-
- static expand_x_negative_face(geometry, x)
- {
- this.move_x_neg_top_left(geometry, -x, 0, 0)
- this.move_x_neg_top_right(geometry, -x, 0, 0)
- this.move_x_neg_bottom_left(geometry, -x,0,0)
- this.move_x_neg_bottom_right(geometry, -x,0,0)
- }
-
- static expand_z_negative_face(geometry, z)
- {
- this.move_x_pos_top_right(geometry, 0, 0, -z)
- this.move_x_pos_bottom_right(geometry, 0,0,-z)
- this.move_x_neg_bottom_left(geometry, 0,0,-z)
- this.move_x_neg_top_right(geometry, 0, 0, -z)
-
- }
-
- static expand_z_positive_face(geometry, z)
- {
- this.move_x_pos_top_left(geometry, 0, 0, z)
- this.move_x_pos_bottom_left(geometry, 0,0,z)
- this.move_x_neg_bottom_right(geometry, 0,0,z)
- this.move_x_neg_top_left(geometry, 0, 0,z)
- }
-
-
- static expand_y_positive_face(geometry, y)
- {
- this.move_x_pos_top_left(geometry, 0, y, 0)
- this.move_x_neg_top_left(geometry, 0, y,0)
- this.move_x_pos_top_right(geometry, 0, y,0)
- this.move_x_neg_top_right(geometry, 0, y,0)
- }
-
- static expand_y_negative_face(geometry, y)
- {
- this.move_x_pos_bottom_left(geometry, 0, -y, 0)
- this.move_x_neg_bottom_left(geometry, 0, -y,0)
- this.move_x_pos_bottom_right(geometry, 0, -y,0)
- this.move_x_neg_bottom_right(geometry, 0, -y,0)
- }
-
-
- static move_x_neg_top_left(geometry, x,y,z)
- {
- // X-Negative Top Right indexed vertex
- geometry.attributes.position.array[3] += x
- geometry.attributes.position.array[4] += y
- geometry.attributes.position.array[5] += z
- }
-
- static move_x_neg_bottom_right(geometry, x,y,z)
- {
- // X-Negative Bottom Right indexed vertex
- geometry.attributes.position.array[6] += x
- geometry.attributes.position.array[7] += y
- geometry.attributes.position.array[8] += z
-
- }
-
- static move_x_neg_bottom_left(geometry, x,y,z)
- {
- // X-Negative Bottom Left indexed vertex
- geometry.attributes.position.array[15] += x
- geometry.attributes.position.array[16] += y
- geometry.attributes.position.array[17] += z
- }
-
- static move_x_neg_top_right(geometry, x,y,z)
- {
- // X-Negative Top Left indexed vertex
- geometry.attributes.position.array[18] += x
- geometry.attributes.position.array[19] += y
- geometry.attributes.position.array[20] += z
- }
-
-
- static move_x_pos_top_left(geometry, x, y, z)
- {
- // X-Positive Top Left indexed vertex
- geometry.attributes.position.array[0] += x;
- geometry.attributes.position.array[1] += y;
- geometry.attributes.position.array[2] += z;
- }
-
- static move_x_pos_bottom_left(geometry, x,y,z)
- {
- // X-Positive Bottom Left indexed vertex
- geometry.attributes.position.array[9] += x
- geometry.attributes.position.array[10] += y
- geometry.attributes.position.array[11] += z
- }
-
- static move_x_pos_bottom_right(geometry, x,y,z)
- {
- // X-Positive Bottom Right indexed vertex
- geometry.attributes.position.array[12] += x
- geometry.attributes.position.array[13] += y
- geometry.attributes.position.array[14] += z
- }
-
- static move_x_pos_top_right(geometry, x,y,z)
- {
- // X-Positive Top Right indexed vertex
- geometry.attributes.position.array[21] += x
- geometry.attributes.position.array[22] += y
- geometry.attributes.position.array[23] += z
- }
-
-
-
+ static expand_x_positive_face(geometry, x)
+ {
+ this.move_x_pos_top_left(geometry, x, 0, 0)
+ this.move_x_pos_top_right(geometry, x, 0, 0)
+ this.move_x_pos_bottom_left(geometry, x, 0, 0)
+ this.move_x_pos_bottom_right(geometry, x, 0, 0)
+ }
+
+ static expand_x_negative_face(geometry, x)
+ {
+ this.move_x_neg_top_left(geometry, -x, 0, 0)
+ this.move_x_neg_top_right(geometry, -x, 0, 0)
+ this.move_x_neg_bottom_left(geometry, -x, 0, 0)
+ this.move_x_neg_bottom_right(geometry, -x, 0, 0)
+ }
+
+ static expand_z_negative_face(geometry, z)
+ {
+ this.move_x_pos_top_right(geometry, 0, 0, -z)
+ this.move_x_pos_bottom_right(geometry, 0, 0, -z)
+ this.move_x_neg_bottom_left(geometry, 0, 0, -z)
+ this.move_x_neg_top_right(geometry, 0, 0, -z)
+ }
+
+ static expand_z_positive_face(geometry, z)
+ {
+ this.move_x_pos_top_left(geometry, 0, 0, z)
+ this.move_x_pos_bottom_left(geometry, 0, 0, z)
+ this.move_x_neg_bottom_right(geometry, 0, 0, z)
+ this.move_x_neg_top_left(geometry, 0, 0, z)
+ }
+
+ static expand_y_positive_face(geometry, y)
+ {
+ this.move_x_pos_top_left(geometry, 0, y, 0)
+ this.move_x_neg_top_left(geometry, 0, y, 0)
+ this.move_x_pos_top_right(geometry, 0, y, 0)
+ this.move_x_neg_top_right(geometry, 0, y, 0)
+ }
+
+ static expand_y_negative_face(geometry, y)
+ {
+ this.move_x_pos_bottom_left(geometry, 0, -y, 0)
+ this.move_x_neg_bottom_left(geometry, 0, -y, 0)
+ this.move_x_pos_bottom_right(geometry, 0, -y, 0)
+ this.move_x_neg_bottom_right(geometry, 0, -y, 0)
+ }
+
+ static move_x_neg_top_left(geometry, x, y, z)
+ {
+ // X-Negative Top Right indexed vertex
+ geometry.attributes.position.array[3] += x
+ geometry.attributes.position.array[4] += y
+ geometry.attributes.position.array[5] += z
+ }
+
+ static move_x_neg_bottom_right(geometry, x, y, z)
+ {
+ // X-Negative Bottom Right indexed vertex
+ geometry.attributes.position.array[6] += x
+ geometry.attributes.position.array[7] += y
+ geometry.attributes.position.array[8] += z
+ }
+
+ static move_x_neg_bottom_left(geometry, x, y, z)
+ {
+ // X-Negative Bottom Left indexed vertex
+ geometry.attributes.position.array[15] += x
+ geometry.attributes.position.array[16] += y
+ geometry.attributes.position.array[17] += z
+ }
+
+ static move_x_neg_top_right(geometry, x, y, z)
+ {
+ // X-Negative Top Left indexed vertex
+ geometry.attributes.position.array[18] += x
+ geometry.attributes.position.array[19] += y
+ geometry.attributes.position.array[20] += z
+ }
+
+ static move_x_pos_top_left(geometry, x, y, z)
+ {
+ // X-Positive Top Left indexed vertex
+ geometry.attributes.position.array[0] += x
+ geometry.attributes.position.array[1] += y
+ geometry.attributes.position.array[2] += z
+ }
+
+ static move_x_pos_bottom_left(geometry, x, y, z)
+ {
+ // X-Positive Bottom Left indexed vertex
+ geometry.attributes.position.array[9] += x
+ geometry.attributes.position.array[10] += y
+ geometry.attributes.position.array[11] += z
+ }
+
+ static move_x_pos_bottom_right(geometry, x, y, z)
+ {
+ // X-Positive Bottom Right indexed vertex
+ geometry.attributes.position.array[12] += x
+ geometry.attributes.position.array[13] += y
+ geometry.attributes.position.array[14] += z
+ }
+
+ static move_x_pos_top_right(geometry, x, y, z)
+ {
+ // X-Positive Top Right indexed vertex
+ geometry.attributes.position.array[21] += x
+ geometry.attributes.position.array[22] += y
+ geometry.attributes.position.array[23] += z
+ }
}
-export { BoneEnvelopeGeometry, BoneEnvelopeGeometryUtils };
\ No newline at end of file
+export { BoneEnvelopeGeometry, BoneEnvelopeGeometryUtils }
\ No newline at end of file
diff --git a/src/lib/geometry/BoxGeometry.js b/src/lib/geometry/BoxGeometry.js
index 99053dc..d824cc3 100644
--- a/src/lib/geometry/BoxGeometry.js
+++ b/src/lib/geometry/BoxGeometry.js
@@ -1,11 +1,12 @@
export function create_box_geometry()
{
- const geometry = new BufferGeometry();
- const box_vertice_data = new Float32Array([
- 1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,1.0,-1.0,-1.0,-1.0,-1.0,-1.0,1.0,1.0,-1.0,1.0,1.0,1.0,1.0,-1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,-1.0,-1.0,-1.0,1.0,-1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0,1.0,-1.0,1.0,1.0,1.0,1.0,1.0,-1.0
- ]);
- geometry.setAttribute('position', new BufferAttribute( box_vertice_data, 3 ) );
- geometry.getAttribute('position').needsUpdate = true;
- geometry.computeVertexNormals(); // required after setting new position attributes
- return geometry;
+ const geometry = new BufferGeometry()
+
+ const box_vertice_data = new Float32Array([
+ 1.0, 1.0, 1.0, -1.0, 1.0, 1.0, -1.0, -1.0, 1.0, 1.0, 1.0, 1.0, -1.0, -1.0, 1.0, 1.0, -1.0, 1.0, 1.0, -1.0, -1.0, 1.0, -1.0, 1.0, -1.0, -1.0, 1.0, 1.0, -1.0, -1.0, -1.0, -1.0, 1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, -1.0, 1.0, -1.0, 1.0, 1.0, -1.0, -1.0, -1.0, -1.0, 1.0, 1.0, -1.0, 1.0, -1.0, -1.0, 1.0, -1.0, 1.0, 1.0, -1.0, 1.0, -1.0, -1.0, -1.0, 1.0, -1.0, 1.0, -1.0, -1.0, -1.0, -1.0, -1.0, 1.0, 1.0, -1.0, 1.0, 1.0, 1.0, 1.0, -1.0, 1.0, 1.0, 1.0, -1.0, 1.0, -1.0, 1.0, 1.0, -1.0, -1.0, -1.0, 1.0, -1.0, -1.0, 1.0, 1.0, 1.0, 1.0, 1.0, -1.0, 1.0, -1.0, 1.0, 1.0, 1.0, 1.0, 1.0, -1.0
+ ])
+ geometry.setAttribute('position', new BufferAttribute(box_vertice_data, 3))
+ geometry.getAttribute('position').needsUpdate = true
+ geometry.computeVertexNormals() // required after setting new position attributes
+ return geometry
}
diff --git a/src/lib/geometry/ComplexBoxGeometry.js b/src/lib/geometry/ComplexBoxGeometry.js
index 5d206c5..67db41d 100644
--- a/src/lib/geometry/ComplexBoxGeometry.js
+++ b/src/lib/geometry/ComplexBoxGeometry.js
@@ -1,12 +1,11 @@
export function create_complex_box_geometry() {
- const geometry = new BufferGeometry();
-
- const box_vertice_data = new Float32Array([0.28999996185302734,-0.28999999165534973,-1.0,0.8700000047683716,-0.28999996185302734,-1.0,0.8700000047683716,-0.8700000047683716,-1.0,0.28999996185302734,-0.28999999165534973,-1.0,0.8700000047683716,-0.8700000047683716,-1.0,0.2900000214576721,-0.8700000047683716,-1.0,-1.0,0.28999999165534973,0.28999996185302734,-1.0,0.28999996185302734,0.8700000047683716,-1.0,0.8700000047683716,0.8700000047683716,-1.0,0.28999999165534973,0.28999996185302734,-1.0,0.8700000047683716,0.8700000047683716,-1.0,0.8700000047683716,0.2900000214576721,-0.28999999165534973,-1.0,0.28999996185302734,-0.28999996185302734,-1.0,0.8700000047683716,-0.8700000047683716,-1.0,0.8700000047683716,-0.28999999165534973,-1.0,0.28999996185302734,-0.8700000047683716,-1.0,0.8700000047683716,-0.8700000047683716,-1.0,0.2900000214576721,-0.28999996185302734,-0.28999999165534973,1.0,-0.8700000047683716,-0.28999996185302734,1.0,-0.8700000047683716,-0.8700000047683716,1.0,-0.28999996185302734,-0.28999999165534973,1.0,-0.8700000047683716,-0.8700000047683716,1.0,-0.2900000214576721,-0.8700000047683716,1.0,1.0,-0.28999999165534973,0.28999996185302734,1.0,-0.28999996185302734,0.8700000047683716,1.0,-0.8700000047683716,0.8700000047683716,1.0,-0.28999999165534973,0.28999996185302734,1.0,-0.8700000047683716,0.8700000047683716,1.0,-0.8700000047683716,0.2900000214576721,0.8700000047683716,1.0,0.8700000047683716,0.8700000047683716,0.9619238972663879,0.9619238972663879,0.9450555443763733,0.9450555443763733,0.9450555443763733,0.8700000047683716,1.0,0.8700000047683716,0.9450555443763733,0.9450555443763733,0.9450555443763733,0.9619238972663879,0.9619238972663879,0.8700000047683716,0.8700000047683716,0.8700000047683716,1.0,0.9619238972663879,0.8700000047683716,0.9619238972663879,0.9450555443763733,0.9450555443763733,0.9450555443763733,0.8700000047683716,0.8700000047683716,1.0,0.9450555443763733,0.9450555443763733,0.9450555443763733,0.8700000047683716,0.9619238972663879,0.9619238972663879,1.0,0.8700000047683716,0.8700000047683716,0.9619238972663879,0.9619238972663879,0.8700000047683716,0.9450555443763733,0.9450555443763733,0.9450555443763733,1.0,0.8700000047683716,0.8700000047683716,0.9450555443763733,0.9450555443763733,0.9450555443763733,0.9619238972663879,0.8700000047683716,0.9619238972663879,0.8700000047683716,0.8700000047683716,-1.0,0.8700000047683716,0.9619238972663879,-0.9619238972663879,0.9450555443763733,0.9450555443763733,-0.9450555443763733,0.8700000047683716,0.8700000047683716,-1.0,0.9450555443763733,0.9450555443763733,-0.9450555443763733,0.9619238972663879,0.8700000047683716,-0.9619238972663879,0.8700000047683716,1.0,-0.8700000047683716,0.9619238972663879,0.9619238972663879,-0.8700000047683716,0.9450555443763733,0.9450555443763733,-0.9450555443763733,0.8700000047683716,1.0,-0.8700000047683716,0.9450555443763733,0.9450555443763733,-0.9450555443763733,0.8700000047683716,0.9619238972663879,-0.9619238972663879,1.0,0.8700000047683716,-0.8700000047683716,0.9619238972663879,0.8700000047683716,-0.9619238972663879,0.9450555443763733,0.9450555443763733,-0.9450555443763733,1.0,0.8700000047683716,-0.8700000047683716,0.9450555443763733,0.9450555443763733,-0.9450555443763733,0.9619238972663879,0.9619238972663879,-0.8700000047683716,1.0,-0.8700000047683716,0.8700000047683716,0.9619238972663879,-0.8700000047683716,0.9619238972663879,0.9450555443763733,-0.9450555443763733,0.9450555443763733,1.0,-0.8700000047683716,0.8700000047683716,0.9450555443763733,-0.9450555443763733,0.9450555443763733,0.9619238972663879,-0.9619238972663879,0.8700000047683716,0.8700000047683716,-0.8700000047683716,1.0,0.8700000047683716,-0.9619238972663879,0.9619238972663879,0.9450555443763733,-0.9450555443763733,0.9450555443763733,0.8700000047683716,-0.8700000047683716,1.0,0.9450555443763733,-0.9450555443763733,0.9450555443763733,0.9619238972663879,-0.8700000047683716,0.9619238972663879,0.8700000047683716,-1.0,0.8700000047683716,0.9619238972663879,-0.9619238972663879,0.8700000047683716,0.9450555443763733,-0.9450555443763733,0.9450555443763733,0.8700000047683716,-1.0,0.8700000047683716,0.9450555443763733,-0.9450555443763733,0.9450555443763733,0.8700000047683716,-0.9619238972663879,0.9619238972663879,1.0,-0.8700000047683716,-0.8700000047683716,0.9619238972663879,-0.9619238972663879,-0.8700000047683716,0.9450555443763733,-0.9450555443763733,-0.9450555443763733,1.0,-0.8700000047683716,-0.8700000047683716,0.9450555443763733,-0.9450555443763733,-0.9450555443763733,0.9619238972663879,-0.8700000047683716,-0.9619238972663879,0.8700000047683716,-1.0,-0.8700000047683716,0.8700000047683716,-0.9619238972663879,-0.9619238972663879,0.9450555443763733,-0.9450555443763733,-0.9450555443763733,0.8700000047683716,-1.0,-0.8700000047683716,0.9450555443763733,-0.9450555443763733,-0.9450555443763733,0.9619238972663879,-0.9619238972663879,-0.8700000047683716,0.8700000047683716,-0.8700000047683716,-1.0,0.9619238972663879,-0.8700000047683716,-0.9619238972663879,0.9450555443763733,-0.9450555443763733,-0.9450555443763733,0.8700000047683716,-0.8700000047683716,-1.0,0.9450555443763733,-0.9450555443763733,-0.9450555443763733,0.8700000047683716,-0.9619238972663879,-0.9619238972663879,-0.8700000047683716,1.0,0.8700000047683716,-0.9619238972663879,0.9619238972663879,0.8700000047683716,-0.9450555443763733,0.9450555443763733,0.9450555443763733,-0.8700000047683716,1.0,0.8700000047683716,-0.9450555443763733,0.9450555443763733,0.9450555443763733,-0.8700000047683716,0.9619238972663879,0.9619238972663879,-1.0,0.8700000047683716,0.8700000047683716,-0.9619238972663879,0.8700000047683716,0.9619238972663879,-0.9450555443763733,0.9450555443763733,0.9450555443763733,-1.0,0.8700000047683716,0.8700000047683716,-0.9450555443763733,0.9450555443763733,0.9450555443763733,-0.9619238972663879,0.9619238972663879,0.8700000047683716,-0.8700000047683716,0.8700000047683716,1.0,-0.8700000047683716,0.9619238972663879,0.9619238972663879,-0.9450555443763733,0.9450555443763733,0.9450555443763733,-0.8700000047683716,0.8700000047683716,1.0,-0.9450555443763733,0.9450555443763733,0.9450555443763733,-0.9619238972663879,0.8700000047683716,0.9619238972663879,-1.0,0.8700000047683716,-0.8700000047683716,-0.9619238972663879,0.9619238972663879,-0.8700000047683716,-0.9450555443763733,0.9450555443763733,-0.9450555443763733,-1.0,0.8700000047683716,-0.8700000047683716,-0.9450555443763733,0.9450555443763733,-0.9450555443763733,-0.9619238972663879,0.8700000047683716,-0.9619238972663879,-0.8700000047683716,1.0,-0.8700000047683716,-0.8700000047683716,0.9619238972663879,-0.9619238972663879,-0.9450555443763733,0.9450555443763733,-0.9450555443763733,-0.8700000047683716,1.0,-0.8700000047683716,-0.9450555443763733,0.9450555443763733,-0.9450555443763733,-0.9619238972663879,0.9619238972663879,-0.8700000047683716,-0.8700000047683716,0.8700000047683716,-1.0,-0.9619238972663879,0.8700000047683716,-0.9619238972663879,-0.9450555443763733,0.9450555443763733,-0.9450555443763733,-0.8700000047683716,0.8700000047683716,-1.0,-0.9450555443763733,0.9450555443763733,-0.9450555443763733,-0.8700000047683716,0.9619238972663879,-0.9619238972663879,-1.0,-0.8700000047683716,0.8700000047683716,-0.9619238972663879,-0.9619238972663879,0.8700000047683716,-0.9450555443763733,-0.9450555443763733,0.9450555443763733,-1.0,-0.8700000047683716,0.8700000047683716,-0.9450555443763733,-0.9450555443763733,0.9450555443763733,-0.9619238972663879,-0.8700000047683716,0.9619238972663879,-0.8700000047683716,-1.0,0.8700000047683716,-0.8700000047683716,-0.9619238972663879,0.9619238972663879,-0.9450555443763733,-0.9450555443763733,0.9450555443763733,-0.8700000047683716,-1.0,0.8700000047683716,-0.9450555443763733,-0.9450555443763733,0.9450555443763733,-0.9619238972663879,-0.9619238972663879,0.8700000047683716,-0.8700000047683716,-0.8700000047683716,1.0,-0.9619238972663879,-0.8700000047683716,0.9619238972663879,-0.9450555443763733,-0.9450555443763733,0.9450555443763733,-0.8700000047683716,-0.8700000047683716,1.0,-0.9450555443763733,-0.9450555443763733,0.9450555443763733,-0.8700000047683716,-0.9619238972663879,0.9619238972663879,-0.8700000047683716,-0.8700000047683716,-1.0,-0.8700000047683716,-0.9619238972663879,-0.9619238972663879,-0.9450555443763733,-0.9450555443763733,-0.9450555443763733,-0.8700000047683716,-0.8700000047683716,-1.0,-0.9450555443763733,-0.9450555443763733,-0.9450555443763733,-0.9619238972663879,-0.8700000047683716,-0.9619238972663879,-0.8700000047683716,-1.0,-0.8700000047683716,-0.9619238972663879,-0.9619238972663879,-0.8700000047683716,-0.9450555443763733,-0.9450555443763733,-0.9450555443763733,-0.8700000047683716,-1.0,-0.8700000047683716,-0.9450555443763733,-0.9450555443763733,-0.9450555443763733,-0.8700000047683716,-0.9619238972663879,-0.9619238972663879,-1.0,-0.8700000047683716,-0.8700000047683716,-0.9619238972663879,-0.8700000047683716,-0.9619238972663879,-0.9450555443763733,-0.9450555443763733,-0.9450555443763733,-1.0,-0.8700000047683716,-0.8700000047683716,-0.9450555443763733,-0.9450555443763733,-0.9450555443763733,-0.9619238972663879,-0.9619238972663879,-0.8700000047683716,-0.8700000047683716,-0.2900000214576721,-1.0,-0.8700000047683716,-0.8700000047683716,-1.0,-0.9619238972663879,-0.8700000047683716,-0.9619238972663879,-0.8700000047683716,-0.2900000214576721,-1.0,-0.9619238972663879,-0.8700000047683716,-0.9619238972663879,-0.9619238972663879,-0.28999996185302734,-0.9619238972663879,-0.9619238972663879,-0.28999996185302734,-0.9619238972663879,-0.9619238972663879,-0.8700000047683716,-0.9619238972663879,-1.0,-0.8700000047683716,-0.8700000047683716,-0.9619238972663879,-0.28999996185302734,-0.9619238972663879,-1.0,-0.8700000047683716,-0.8700000047683716,-1.0,-0.28999996185302734,-0.8700000047683716,-0.2900000214576721,0.8700000047683716,-1.0,-0.8700000047683716,0.8700000047683716,-1.0,-0.8700000047683716,0.9619238972663879,-0.9619238972663879,-0.2900000214576721,0.8700000047683716,-1.0,-0.8700000047683716,0.9619238972663879,-0.9619238972663879,-0.28999996185302734,0.9619238972663879,-0.9619238972663879,-0.28999996185302734,0.9619238972663879,-0.9619238972663879,-0.8700000047683716,0.9619238972663879,-0.9619238972663879,-0.8700000047683716,1.0,-0.8700000047683716,-0.28999996185302734,0.9619238972663879,-0.9619238972663879,-0.8700000047683716,1.0,-0.8700000047683716,-0.28999996185302734,1.0,-0.8700000047683716,1.0,0.8700000047683716,-0.2900000214576721,1.0,0.8700000047683716,-0.8700000047683716,0.9619238972663879,0.9619238972663879,-0.8700000047683716,1.0,0.8700000047683716,-0.2900000214576721,0.9619238972663879,0.9619238972663879,-0.8700000047683716,0.9619238972663879,0.9619238972663879,-0.28999996185302734,0.9619238972663879,0.9619238972663879,-0.28999996185302734,0.9619238972663879,0.9619238972663879,-0.8700000047683716,0.8700000047683716,1.0,-0.8700000047683716,0.9619238972663879,0.9619238972663879,-0.28999996185302734,0.8700000047683716,1.0,-0.8700000047683716,0.8700000047683716,1.0,-0.28999996185302734,-0.8700000047683716,-1.0,0.2900000214576721,-0.8700000047683716,-1.0,0.8700000047683716,-0.9619238972663879,-0.9619238972663879,0.8700000047683716,-0.8700000047683716,-1.0,0.2900000214576721,-0.9619238972663879,-0.9619238972663879,0.8700000047683716,-0.9619238972663879,-0.9619238972663879,0.28999996185302734,-0.9619238972663879,-0.9619238972663879,0.28999996185302734,-0.9619238972663879,-0.9619238972663879,0.8700000047683716,-1.0,-0.8700000047683716,0.8700000047683716,-0.9619238972663879,-0.9619238972663879,0.28999996185302734,-1.0,-0.8700000047683716,0.8700000047683716,-1.0,-0.8700000047683716,0.28999996185302734,0.8700000047683716,-1.0,-0.2900000214576721,0.8700000047683716,-1.0,-0.8700000047683716,0.9619238972663879,-0.9619238972663879,-0.8700000047683716,0.8700000047683716,-1.0,-0.2900000214576721,0.9619238972663879,-0.9619238972663879,-0.8700000047683716,0.9619238972663879,-0.9619238972663879,-0.28999996185302734,0.9619238972663879,-0.9619238972663879,-0.28999996185302734,0.9619238972663879,-0.9619238972663879,-0.8700000047683716,1.0,-0.8700000047683716,-0.8700000047683716,0.9619238972663879,-0.9619238972663879,-0.28999996185302734,1.0,-0.8700000047683716,-0.8700000047683716,1.0,-0.8700000047683716,-0.28999996185302734,-0.8700000047683716,1.0,-0.2900000214576721,-0.8700000047683716,1.0,-0.8700000047683716,-0.9619238972663879,0.9619238972663879,-0.8700000047683716,-0.8700000047683716,1.0,-0.2900000214576721,-0.9619238972663879,0.9619238972663879,-0.8700000047683716,-0.9619238972663879,0.9619238972663879,-0.28999996185302734,-0.9619238972663879,0.9619238972663879,-0.28999996185302734,-0.9619238972663879,0.9619238972663879,-0.8700000047683716,-1.0,0.8700000047683716,-0.8700000047683716,-0.9619238972663879,0.9619238972663879,-0.28999996185302734,-1.0,0.8700000047683716,-0.8700000047683716,-1.0,0.8700000047683716,-0.28999996185302734,-0.2900000214576721,-0.8700000047683716,1.0,-0.8700000047683716,-0.8700000047683716,1.0,-0.8700000047683716,-0.9619238972663879,0.9619238972663879,-0.2900000214576721,-0.8700000047683716,1.0,-0.8700000047683716,-0.9619238972663879,0.9619238972663879,-0.28999996185302734,-0.9619238972663879,0.9619238972663879,-0.28999996185302734,-0.9619238972663879,0.9619238972663879,-0.8700000047683716,-0.9619238972663879,0.9619238972663879,-0.8700000047683716,-1.0,0.8700000047683716,-0.28999996185302734,-0.9619238972663879,0.9619238972663879,-0.8700000047683716,-1.0,0.8700000047683716,-0.28999996185302734,-1.0,0.8700000047683716,0.8700000047683716,-0.2900000214576721,1.0,0.8700000047683716,-0.8700000047683716,1.0,0.9619238972663879,-0.8700000047683716,0.9619238972663879,0.8700000047683716,-0.2900000214576721,1.0,0.9619238972663879,-0.8700000047683716,0.9619238972663879,0.9619238972663879,-0.28999996185302734,0.9619238972663879,0.9619238972663879,-0.28999996185302734,0.9619238972663879,0.9619238972663879,-0.8700000047683716,0.9619238972663879,1.0,-0.8700000047683716,0.8700000047683716,0.9619238972663879,-0.28999996185302734,0.9619238972663879,1.0,-0.8700000047683716,0.8700000047683716,1.0,-0.28999996185302734,0.8700000047683716,0.2900000214576721,-0.8700000047683716,-1.0,0.8700000047683716,-0.8700000047683716,-1.0,0.8700000047683716,-0.9619238972663879,-0.9619238972663879,0.2900000214576721,-0.8700000047683716,-1.0,0.8700000047683716,-0.9619238972663879,-0.9619238972663879,0.28999996185302734,-0.9619238972663879,-0.9619238972663879,0.28999996185302734,-0.9619238972663879,-0.9619238972663879,0.8700000047683716,-0.9619238972663879,-0.9619238972663879,0.8700000047683716,-1.0,-0.8700000047683716,0.28999996185302734,-0.9619238972663879,-0.9619238972663879,0.8700000047683716,-1.0,-0.8700000047683716,0.28999996185302734,-1.0,-0.8700000047683716,-0.8700000047683716,0.2900000214576721,1.0,-0.8700000047683716,0.8700000047683716,1.0,-0.9619238972663879,0.8700000047683716,0.9619238972663879,-0.8700000047683716,0.2900000214576721,1.0,-0.9619238972663879,0.8700000047683716,0.9619238972663879,-0.9619238972663879,0.28999996185302734,0.9619238972663879,-0.9619238972663879,0.28999996185302734,0.9619238972663879,-0.9619238972663879,0.8700000047683716,0.9619238972663879,-1.0,0.8700000047683716,0.8700000047683716,-0.9619238972663879,0.28999996185302734,0.9619238972663879,-1.0,0.8700000047683716,0.8700000047683716,-1.0,0.28999996185302734,0.8700000047683716,0.2900000214576721,0.8700000047683716,1.0,0.8700000047683716,0.8700000047683716,1.0,0.8700000047683716,0.9619238972663879,0.9619238972663879,0.2900000214576721,0.8700000047683716,1.0,0.8700000047683716,0.9619238972663879,0.9619238972663879,0.28999996185302734,0.9619238972663879,0.9619238972663879,0.28999996185302734,0.9619238972663879,0.9619238972663879,0.8700000047683716,0.9619238972663879,0.9619238972663879,0.8700000047683716,1.0,0.8700000047683716,0.28999996185302734,0.9619238972663879,0.9619238972663879,0.8700000047683716,1.0,0.8700000047683716,0.28999996185302734,1.0,0.8700000047683716,0.8700000047683716,0.2900000214576721,-1.0,0.8700000047683716,0.8700000047683716,-1.0,0.9619238972663879,0.8700000047683716,-0.9619238972663879,0.8700000047683716,0.2900000214576721,-1.0,0.9619238972663879,0.8700000047683716,-0.9619238972663879,0.9619238972663879,0.28999996185302734,-0.9619238972663879,0.9619238972663879,0.28999996185302734,-0.9619238972663879,0.9619238972663879,0.8700000047683716,-0.9619238972663879,1.0,0.8700000047683716,-0.8700000047683716,0.9619238972663879,0.28999996185302734,-0.9619238972663879,1.0,0.8700000047683716,-0.8700000047683716,1.0,0.28999996185302734,-0.8700000047683716,0.28999999165534973,1.0,0.28999996185302734,0.28999996185302734,1.0,0.8700000047683716,0.8700000047683716,1.0,0.8700000047683716,0.28999999165534973,1.0,0.28999996185302734,0.8700000047683716,1.0,0.8700000047683716,0.8700000047683716,1.0,0.2900000214576721,0.9619238972663879,-0.8700000047683716,-0.9619238972663879,0.9619238972663879,-0.2900000214576721,-0.9619238972663879,1.0,-0.2900000214576721,-0.8700000047683716,0.9619238972663879,-0.8700000047683716,-0.9619238972663879,1.0,-0.2900000214576721,-0.8700000047683716,1.0,-0.8700000047683716,-0.8700000047683716,0.9619238972663879,-0.2900000214576721,-0.9619238972663879,0.9619238972663879,0.28999996185302734,-0.9619238972663879,1.0,0.28999996185302734,-0.8700000047683716,0.9619238972663879,-0.2900000214576721,-0.9619238972663879,1.0,0.28999996185302734,-0.8700000047683716,1.0,-0.2900000214576721,-0.8700000047683716,0.8700000047683716,-0.8700000047683716,-1.0,0.8700000047683716,-0.28999996185302734,-1.0,0.9619238972663879,-0.2900000214576721,-0.9619238972663879,0.8700000047683716,-0.8700000047683716,-1.0,0.9619238972663879,-0.2900000214576721,-0.9619238972663879,0.9619238972663879,-0.8700000047683716,-0.9619238972663879,0.8700000047683716,-0.28999996185302734,-1.0,0.8700000047683716,0.2900000214576721,-1.0,0.9619238972663879,0.28999996185302734,-0.9619238972663879,0.8700000047683716,-0.28999996185302734,-1.0,0.9619238972663879,0.28999996185302734,-0.9619238972663879,0.9619238972663879,-0.2900000214576721,-0.9619238972663879,-0.9619238972663879,-0.8700000047683716,0.9619238972663879,-0.9619238972663879,-0.2900000214576721,0.9619238972663879,-1.0,-0.2900000214576721,0.8700000047683716,-0.9619238972663879,-0.8700000047683716,0.9619238972663879,-1.0,-0.2900000214576721,0.8700000047683716,-1.0,-0.8700000047683716,0.8700000047683716,-0.9619238972663879,-0.2900000214576721,0.9619238972663879,-0.9619238972663879,0.28999996185302734,0.9619238972663879,-1.0,0.28999996185302734,0.8700000047683716,-0.9619238972663879,-0.2900000214576721,0.9619238972663879,-1.0,0.28999996185302734,0.8700000047683716,-1.0,-0.2900000214576721,0.8700000047683716,-0.8700000047683716,-0.8700000047683716,1.0,-0.8700000047683716,-0.28999996185302734,1.0,-0.9619238972663879,-0.2900000214576721,0.9619238972663879,-0.8700000047683716,-0.8700000047683716,1.0,-0.9619238972663879,-0.2900000214576721,0.9619238972663879,-0.9619238972663879,-0.8700000047683716,0.9619238972663879,-0.8700000047683716,-0.28999996185302734,1.0,-0.8700000047683716,0.2900000214576721,1.0,-0.9619238972663879,0.28999996185302734,0.9619238972663879,-0.8700000047683716,-0.28999996185302734,1.0,-0.9619238972663879,0.28999996185302734,0.9619238972663879,-0.9619238972663879,-0.2900000214576721,0.9619238972663879,0.9619238972663879,0.8700000047683716,0.9619238972663879,0.9619238972663879,0.2900000214576721,0.9619238972663879,1.0,0.2900000214576721,0.8700000047683716,0.9619238972663879,0.8700000047683716,0.9619238972663879,1.0,0.2900000214576721,0.8700000047683716,1.0,0.8700000047683716,0.8700000047683716,0.9619238972663879,0.2900000214576721,0.9619238972663879,0.9619238972663879,-0.28999996185302734,0.9619238972663879,1.0,-0.28999996185302734,0.8700000047683716,0.9619238972663879,0.2900000214576721,0.9619238972663879,1.0,-0.28999996185302734,0.8700000047683716,1.0,0.2900000214576721,0.8700000047683716,0.8700000047683716,0.8700000047683716,1.0,0.8700000047683716,0.28999996185302734,1.0,0.9619238972663879,0.2900000214576721,0.9619238972663879,0.8700000047683716,0.8700000047683716,1.0,0.9619238972663879,0.2900000214576721,0.9619238972663879,0.9619238972663879,0.8700000047683716,0.9619238972663879,0.8700000047683716,0.28999996185302734,1.0,0.8700000047683716,-0.2900000214576721,1.0,0.9619238972663879,-0.28999996185302734,0.9619238972663879,0.8700000047683716,0.28999996185302734,1.0,0.9619238972663879,-0.28999996185302734,0.9619238972663879,0.9619238972663879,0.2900000214576721,0.9619238972663879,-0.9619238972663879,0.8700000047683716,-0.9619238972663879,-0.9619238972663879,0.2900000214576721,-0.9619238972663879,-1.0,0.2900000214576721,-0.8700000047683716,-0.9619238972663879,0.8700000047683716,-0.9619238972663879,-1.0,0.2900000214576721,-0.8700000047683716,-1.0,0.8700000047683716,-0.8700000047683716,-0.9619238972663879,0.2900000214576721,-0.9619238972663879,-0.9619238972663879,-0.28999996185302734,-0.9619238972663879,-1.0,-0.28999996185302734,-0.8700000047683716,-0.9619238972663879,0.2900000214576721,-0.9619238972663879,-1.0,-0.28999996185302734,-0.8700000047683716,-1.0,0.2900000214576721,-0.8700000047683716,-0.8700000047683716,0.8700000047683716,-1.0,-0.8700000047683716,0.28999996185302734,-1.0,-0.9619238972663879,0.2900000214576721,-0.9619238972663879,-0.8700000047683716,0.8700000047683716,-1.0,-0.9619238972663879,0.2900000214576721,-0.9619238972663879,-0.9619238972663879,0.8700000047683716,-0.9619238972663879,-0.8700000047683716,0.28999996185302734,-1.0,-0.8700000047683716,-0.2900000214576721,-1.0,-0.9619238972663879,-0.28999996185302734,-0.9619238972663879,-0.8700000047683716,0.28999996185302734,-1.0,-0.9619238972663879,-0.28999996185302734,-0.9619238972663879,-0.9619238972663879,0.2900000214576721,-0.9619238972663879,1.0,0.8700000047683716,0.28999996185302734,1.0,0.8700000047683716,0.8700000047683716,1.0,0.2900000214576721,0.8700000047683716,1.0,0.8700000047683716,0.28999996185302734,1.0,0.2900000214576721,0.8700000047683716,1.0,0.28999999165534973,0.28999996185302734,1.0,0.28999999165534973,0.28999996185302734,1.0,0.2900000214576721,0.8700000047683716,1.0,-0.28999996185302734,0.8700000047683716,1.0,0.28999999165534973,0.28999996185302734,1.0,-0.28999996185302734,0.8700000047683716,1.0,-0.28999999165534973,0.28999996185302734,-0.28999996185302734,0.8700000047683716,1.0,-0.8700000047683716,0.8700000047683716,1.0,-0.8700000047683716,0.2900000214576721,1.0,-0.28999996185302734,0.8700000047683716,1.0,-0.8700000047683716,0.2900000214576721,1.0,-0.28999996185302734,0.28999999165534973,1.0,-0.28999996185302734,0.28999999165534973,1.0,-0.8700000047683716,0.2900000214576721,1.0,-0.8700000047683716,-0.28999996185302734,1.0,-0.28999996185302734,0.28999999165534973,1.0,-0.8700000047683716,-0.28999996185302734,1.0,-0.28999996185302734,-0.28999999165534973,1.0,-1.0,-0.8700000047683716,0.28999996185302734,-1.0,-0.8700000047683716,0.8700000047683716,-1.0,-0.2900000214576721,0.8700000047683716,-1.0,-0.8700000047683716,0.28999996185302734,-1.0,-0.2900000214576721,0.8700000047683716,-1.0,-0.28999999165534973,0.28999996185302734,-1.0,-0.28999999165534973,0.28999996185302734,-1.0,-0.2900000214576721,0.8700000047683716,-1.0,0.28999996185302734,0.8700000047683716,-1.0,-0.28999999165534973,0.28999996185302734,-1.0,0.28999996185302734,0.8700000047683716,-1.0,0.28999999165534973,0.28999996185302734,0.28999996185302734,0.8700000047683716,-1.0,0.8700000047683716,0.8700000047683716,-1.0,0.8700000047683716,0.2900000214576721,-1.0,0.28999996185302734,0.8700000047683716,-1.0,0.8700000047683716,0.2900000214576721,-1.0,0.28999996185302734,0.28999999165534973,-1.0,0.28999996185302734,0.28999999165534973,-1.0,0.8700000047683716,0.2900000214576721,-1.0,0.8700000047683716,-0.28999996185302734,-1.0,0.28999996185302734,0.28999999165534973,-1.0,0.8700000047683716,-0.28999996185302734,-1.0,0.28999996185302734,-0.28999999165534973,-1.0,-0.8700000047683716,0.28999996185302734,-1.0,-0.2900000214576721,0.28999996185302734,-1.0,-0.2900000214576721,-0.2900000214576721,-1.0,-0.8700000047683716,0.28999996185302734,-1.0,-0.2900000214576721,-0.2900000214576721,-1.0,-0.8700000047683716,-0.2900000214576721,-1.0,-0.2900000214576721,0.28999996185302734,-1.0,0.28999996185302734,0.28999999165534973,-1.0,0.28999996185302734,-0.28999999165534973,-1.0,-0.2900000214576721,0.28999996185302734,-1.0,0.28999996185302734,-0.28999999165534973,-1.0,-0.2900000214576721,-0.2900000214576721,-1.0,-0.8700000047683716,0.8700000047683716,-1.0,-0.2900000214576721,0.8700000047683716,-1.0,-0.2900000214576721,0.28999996185302734,-1.0,-0.8700000047683716,0.8700000047683716,-1.0,-0.2900000214576721,0.28999996185302734,-1.0,-0.8700000047683716,0.28999996185302734,-1.0,-0.2900000214576721,0.8700000047683716,-1.0,0.28999996185302734,0.8700000047683716,-1.0,0.28999996185302734,0.28999999165534973,-1.0,-0.2900000214576721,0.8700000047683716,-1.0,0.28999996185302734,0.28999999165534973,-1.0,-0.2900000214576721,0.28999996185302734,-1.0,0.8700000047683716,0.28999996185302734,1.0,0.2900000214576721,0.28999996185302734,1.0,0.2900000214576721,-0.2900000214576721,1.0,0.8700000047683716,0.28999996185302734,1.0,0.2900000214576721,-0.2900000214576721,1.0,0.8700000047683716,-0.2900000214576721,1.0,0.2900000214576721,0.28999996185302734,1.0,-0.28999996185302734,0.28999999165534973,1.0,-0.28999996185302734,-0.28999999165534973,1.0,0.2900000214576721,0.28999996185302734,1.0,-0.28999996185302734,-0.28999999165534973,1.0,0.2900000214576721,-0.2900000214576721,1.0,0.8700000047683716,0.8700000047683716,1.0,0.2900000214576721,0.8700000047683716,1.0,0.2900000214576721,0.28999996185302734,1.0,0.8700000047683716,0.8700000047683716,1.0,0.2900000214576721,0.28999996185302734,1.0,0.8700000047683716,0.28999996185302734,1.0,0.2900000214576721,0.8700000047683716,1.0,-0.28999996185302734,0.8700000047683716,1.0,-0.28999996185302734,0.28999999165534973,1.0,0.2900000214576721,0.8700000047683716,1.0,-0.28999996185302734,0.28999999165534973,1.0,0.2900000214576721,0.28999996185302734,1.0,-0.8700000047683716,1.0,0.28999996185302734,-0.8700000047683716,1.0,0.8700000047683716,-0.2900000214576721,1.0,0.8700000047683716,-0.8700000047683716,1.0,0.28999996185302734,-0.2900000214576721,1.0,0.8700000047683716,-0.28999999165534973,1.0,0.28999996185302734,-0.28999999165534973,1.0,0.28999996185302734,-0.2900000214576721,1.0,0.8700000047683716,0.28999996185302734,1.0,0.8700000047683716,-0.28999999165534973,1.0,0.28999996185302734,0.28999996185302734,1.0,0.8700000047683716,0.28999999165534973,1.0,0.28999996185302734,-0.8700000047683716,0.9619238972663879,0.9619238972663879,-0.2900000214576721,0.9619238972663879,0.9619238972663879,-0.2900000214576721,1.0,0.8700000047683716,-0.8700000047683716,0.9619238972663879,0.9619238972663879,-0.2900000214576721,1.0,0.8700000047683716,-0.8700000047683716,1.0,0.8700000047683716,-0.2900000214576721,0.9619238972663879,0.9619238972663879,0.28999996185302734,0.9619238972663879,0.9619238972663879,0.28999996185302734,1.0,0.8700000047683716,-0.2900000214576721,0.9619238972663879,0.9619238972663879,0.28999996185302734,1.0,0.8700000047683716,-0.2900000214576721,1.0,0.8700000047683716,-0.8700000047683716,0.8700000047683716,1.0,-0.28999996185302734,0.8700000047683716,1.0,-0.2900000214576721,0.9619238972663879,0.9619238972663879,-0.8700000047683716,0.8700000047683716,1.0,-0.2900000214576721,0.9619238972663879,0.9619238972663879,-0.8700000047683716,0.9619238972663879,0.9619238972663879,-0.28999996185302734,0.8700000047683716,1.0,0.2900000214576721,0.8700000047683716,1.0,0.28999996185302734,0.9619238972663879,0.9619238972663879,-0.28999996185302734,0.8700000047683716,1.0,0.28999996185302734,0.9619238972663879,0.9619238972663879,-0.2900000214576721,0.9619238972663879,0.9619238972663879,-0.8700000047683716,-0.9619238972663879,-0.9619238972663879,-0.2900000214576721,-0.9619238972663879,-0.9619238972663879,-0.2900000214576721,-1.0,-0.8700000047683716,-0.8700000047683716,-0.9619238972663879,-0.9619238972663879,-0.2900000214576721,-1.0,-0.8700000047683716,-0.8700000047683716,-1.0,-0.8700000047683716,-0.2900000214576721,-0.9619238972663879,-0.9619238972663879,0.28999996185302734,-0.9619238972663879,-0.9619238972663879,0.28999996185302734,-1.0,-0.8700000047683716,-0.2900000214576721,-0.9619238972663879,-0.9619238972663879,0.28999996185302734,-1.0,-0.8700000047683716,-0.2900000214576721,-1.0,-0.8700000047683716,-0.8700000047683716,-0.8700000047683716,-1.0,-0.28999996185302734,-0.8700000047683716,-1.0,-0.2900000214576721,-0.9619238972663879,-0.9619238972663879,-0.8700000047683716,-0.8700000047683716,-1.0,-0.2900000214576721,-0.9619238972663879,-0.9619238972663879,-0.8700000047683716,-0.9619238972663879,-0.9619238972663879,-0.28999996185302734,-0.8700000047683716,-1.0,0.2900000214576721,-0.8700000047683716,-1.0,0.28999996185302734,-0.9619238972663879,-0.9619238972663879,-0.28999996185302734,-0.8700000047683716,-1.0,0.28999996185302734,-0.9619238972663879,-0.9619238972663879,-0.2900000214576721,-0.9619238972663879,-0.9619238972663879,0.8700000047683716,-0.9619238972663879,0.9619238972663879,0.2900000214576721,-0.9619238972663879,0.9619238972663879,0.2900000214576721,-1.0,0.8700000047683716,0.8700000047683716,-0.9619238972663879,0.9619238972663879,0.2900000214576721,-1.0,0.8700000047683716,0.8700000047683716,-1.0,0.8700000047683716,0.2900000214576721,-0.9619238972663879,0.9619238972663879,-0.28999996185302734,-0.9619238972663879,0.9619238972663879,-0.28999996185302734,-1.0,0.8700000047683716,0.2900000214576721,-0.9619238972663879,0.9619238972663879,-0.28999996185302734,-1.0,0.8700000047683716,0.2900000214576721,-1.0,0.8700000047683716,0.8700000047683716,-0.8700000047683716,1.0,0.28999996185302734,-0.8700000047683716,1.0,0.2900000214576721,-0.9619238972663879,0.9619238972663879,0.8700000047683716,-0.8700000047683716,1.0,0.2900000214576721,-0.9619238972663879,0.9619238972663879,0.8700000047683716,-0.9619238972663879,0.9619238972663879,0.28999996185302734,-0.8700000047683716,1.0,-0.2900000214576721,-0.8700000047683716,1.0,-0.28999996185302734,-0.9619238972663879,0.9619238972663879,0.28999996185302734,-0.8700000047683716,1.0,-0.28999996185302734,-0.9619238972663879,0.9619238972663879,0.2900000214576721,-0.9619238972663879,0.9619238972663879,0.8700000047683716,0.9619238972663879,-0.9619238972663879,0.2900000214576721,0.9619238972663879,-0.9619238972663879,0.2900000214576721,1.0,-0.8700000047683716,0.8700000047683716,0.9619238972663879,-0.9619238972663879,0.2900000214576721,1.0,-0.8700000047683716,0.8700000047683716,1.0,-0.8700000047683716,0.2900000214576721,0.9619238972663879,-0.9619238972663879,-0.28999996185302734,0.9619238972663879,-0.9619238972663879,-0.28999996185302734,1.0,-0.8700000047683716,0.2900000214576721,0.9619238972663879,-0.9619238972663879,-0.28999996185302734,1.0,-0.8700000047683716,0.2900000214576721,1.0,-0.8700000047683716,0.8700000047683716,0.8700000047683716,-1.0,0.28999996185302734,0.8700000047683716,-1.0,0.2900000214576721,0.9619238972663879,-0.9619238972663879,0.8700000047683716,0.8700000047683716,-1.0,0.2900000214576721,0.9619238972663879,-0.9619238972663879,0.8700000047683716,0.9619238972663879,-0.9619238972663879,0.28999996185302734,0.8700000047683716,-1.0,-0.2900000214576721,0.8700000047683716,-1.0,-0.28999996185302734,0.9619238972663879,-0.9619238972663879,0.28999996185302734,0.8700000047683716,-1.0,-0.28999996185302734,0.9619238972663879,-0.9619238972663879,0.2900000214576721,0.9619238972663879,-0.9619238972663879,0.8700000047683716,-0.2900000214576721,1.0,0.2900000214576721,-0.2900000214576721,1.0,0.28999996185302734,-0.8700000047683716,1.0,0.8700000047683716,-0.2900000214576721,1.0,0.28999996185302734,-0.8700000047683716,1.0,0.8700000047683716,-0.8700000047683716,1.0,0.2900000214576721,-0.2900000214576721,1.0,-0.28999996185302734,-0.28999999165534973,1.0,-0.2900000214576721,-0.8700000047683716,1.0,0.2900000214576721,-0.2900000214576721,1.0,-0.2900000214576721,-0.8700000047683716,1.0,0.28999996185302734,-0.8700000047683716,1.0,0.8700000047683716,-1.0,0.28999996185302734,0.8700000047683716,-1.0,0.8700000047683716,0.2900000214576721,-1.0,0.8700000047683716,0.8700000047683716,-1.0,0.28999996185302734,0.2900000214576721,-1.0,0.8700000047683716,0.28999999165534973,-1.0,0.28999996185302734,0.28999999165534973,-1.0,0.28999996185302734,0.2900000214576721,-1.0,0.8700000047683716,-0.28999996185302734,-1.0,0.8700000047683716,0.28999999165534973,-1.0,0.28999996185302734,-0.28999996185302734,-1.0,0.8700000047683716,-0.28999999165534973,-1.0,0.28999996185302734,-0.8700000047683716,-0.2900000214576721,-1.0,-0.2900000214576721,-0.2900000214576721,-1.0,-0.28999996185302734,-0.8700000047683716,-1.0,-0.8700000047683716,-0.2900000214576721,-1.0,-0.28999996185302734,-0.8700000047683716,-1.0,-0.8700000047683716,-0.8700000047683716,-1.0,-0.2900000214576721,-0.2900000214576721,-1.0,0.28999996185302734,-0.28999999165534973,-1.0,0.2900000214576721,-0.8700000047683716,-1.0,-0.2900000214576721,-0.2900000214576721,-1.0,0.2900000214576721,-0.8700000047683716,-1.0,-0.28999996185302734,-0.8700000047683716,-1.0,0.28999996185302734,-1.0,-0.8700000047683716,0.28999996185302734,-1.0,-0.2900000214576721,-0.2900000214576721,-1.0,-0.2900000214576721,0.28999996185302734,-1.0,-0.8700000047683716,-0.2900000214576721,-1.0,-0.2900000214576721,-0.2900000214576721,-1.0,-0.8700000047683716,0.28999996185302734,-1.0,-0.2900000214576721,0.28999999165534973,-1.0,0.28999996185302734,-0.28999999165534973,-1.0,0.28999996185302734,0.28999996185302734,-1.0,-0.2900000214576721,-0.28999999165534973,-1.0,0.28999996185302734,-0.2900000214576721,-1.0,-0.2900000214576721,0.8700000047683716,-1.0,-0.8700000047683716,0.8700000047683716,-1.0,-0.2900000214576721,0.28999996185302734,-1.0,-0.2900000214576721,0.8700000047683716,-1.0,-0.8700000047683716,0.28999996185302734,-1.0,-0.2900000214576721,0.28999996185302734,-1.0,-0.8700000047683716,0.8700000047683716,-1.0,-0.2900000214576721,0.8700000047683716,-1.0,0.28999996185302734,0.28999999165534973,-1.0,0.28999996185302734,0.8700000047683716,-1.0,-0.2900000214576721,0.28999999165534973,-1.0,0.28999996185302734,0.28999996185302734,-1.0,-0.2900000214576721,-0.28999996185302734,1.0,-0.8700000047683716,-0.28999996185302734,1.0,-0.2900000214576721,0.2900000214576721,1.0,-0.2900000214576721,-0.28999996185302734,1.0,-0.8700000047683716,0.2900000214576721,1.0,-0.2900000214576721,0.2900000214576721,1.0,-0.8700000047683716,-0.28999996185302734,1.0,-0.2900000214576721,-0.28999999165534973,1.0,0.28999996185302734,0.28999999165534973,1.0,0.28999996185302734,-0.28999996185302734,1.0,-0.2900000214576721,0.28999999165534973,1.0,0.28999996185302734,0.2900000214576721,1.0,-0.2900000214576721,-0.8700000047683716,1.0,-0.8700000047683716,-0.8700000047683716,1.0,-0.2900000214576721,-0.28999996185302734,1.0,-0.2900000214576721,-0.8700000047683716,1.0,-0.8700000047683716,-0.28999996185302734,1.0,-0.2900000214576721,-0.28999996185302734,1.0,-0.8700000047683716,-0.8700000047683716,1.0,-0.2900000214576721,-0.8700000047683716,1.0,0.28999996185302734,-0.28999999165534973,1.0,0.28999996185302734,-0.8700000047683716,1.0,-0.2900000214576721,-0.28999999165534973,1.0,0.28999996185302734,-0.28999996185302734,1.0,-0.2900000214576721,-1.0,-0.28999996185302734,-0.8700000047683716,-1.0,-0.28999996185302734,-0.2900000214576721,-1.0,0.2900000214576721,-0.2900000214576721,-1.0,-0.28999996185302734,-0.8700000047683716,-1.0,0.2900000214576721,-0.2900000214576721,-1.0,0.2900000214576721,-0.8700000047683716,-1.0,-0.28999996185302734,-0.2900000214576721,-1.0,-0.28999999165534973,0.28999996185302734,-1.0,0.28999999165534973,0.28999996185302734,-1.0,-0.28999996185302734,-0.2900000214576721,-1.0,0.28999999165534973,0.28999996185302734,-1.0,0.2900000214576721,-0.2900000214576721,-1.0,-0.8700000047683716,-0.8700000047683716,-1.0,-0.8700000047683716,-0.2900000214576721,-1.0,-0.28999996185302734,-0.2900000214576721,-1.0,-0.8700000047683716,-0.8700000047683716,-1.0,-0.28999996185302734,-0.2900000214576721,-1.0,-0.28999996185302734,-0.8700000047683716,-1.0,-0.8700000047683716,-0.2900000214576721,-1.0,-0.8700000047683716,0.28999996185302734,-1.0,-0.28999999165534973,0.28999996185302734,-1.0,-0.8700000047683716,-0.2900000214576721,-1.0,-0.28999999165534973,0.28999996185302734,-1.0,-0.28999996185302734,-0.2900000214576721,1.0,0.28999996185302734,-0.8700000047683716,1.0,0.28999996185302734,-0.2900000214576721,1.0,-0.2900000214576721,-0.2900000214576721,1.0,0.28999996185302734,-0.8700000047683716,1.0,-0.2900000214576721,-0.2900000214576721,1.0,-0.2900000214576721,-0.8700000047683716,1.0,0.28999996185302734,-0.2900000214576721,1.0,0.28999999165534973,0.28999996185302734,1.0,-0.28999999165534973,0.28999996185302734,1.0,0.28999996185302734,-0.2900000214576721,1.0,-0.28999999165534973,0.28999996185302734,1.0,-0.2900000214576721,-0.2900000214576721,1.0,0.8700000047683716,-0.8700000047683716,1.0,0.8700000047683716,-0.2900000214576721,1.0,0.28999996185302734,-0.2900000214576721,1.0,0.8700000047683716,-0.8700000047683716,1.0,0.28999996185302734,-0.2900000214576721,1.0,0.28999996185302734,-0.8700000047683716,1.0,0.8700000047683716,-0.2900000214576721,1.0,0.8700000047683716,0.28999996185302734,1.0,0.28999999165534973,0.28999996185302734,1.0,0.8700000047683716,-0.2900000214576721,1.0,0.28999999165534973,0.28999996185302734,1.0,0.28999996185302734,-0.2900000214576721,0.2900000214576721,1.0,-0.8700000047683716,0.2900000214576721,1.0,-0.2900000214576721,0.8700000047683716,1.0,-0.28999996185302734,0.2900000214576721,1.0,-0.8700000047683716,0.8700000047683716,1.0,-0.28999996185302734,0.8700000047683716,1.0,-0.8700000047683716,0.2900000214576721,1.0,-0.2900000214576721,0.28999999165534973,1.0,0.28999996185302734,0.8700000047683716,1.0,0.2900000214576721,0.2900000214576721,1.0,-0.2900000214576721,0.8700000047683716,1.0,0.2900000214576721,0.8700000047683716,1.0,-0.28999996185302734,-0.9619238972663879,0.9619238972663879,0.8700000047683716,-0.9619238972663879,0.9619238972663879,0.2900000214576721,-1.0,0.8700000047683716,0.2900000214576721,-0.9619238972663879,0.9619238972663879,0.8700000047683716,-1.0,0.8700000047683716,0.2900000214576721,-1.0,0.8700000047683716,0.8700000047683716,-0.9619238972663879,0.9619238972663879,0.2900000214576721,-0.9619238972663879,0.9619238972663879,-0.28999996185302734,-1.0,0.8700000047683716,-0.28999996185302734,-0.9619238972663879,0.9619238972663879,0.2900000214576721,-1.0,0.8700000047683716,-0.28999996185302734,-1.0,0.8700000047683716,0.2900000214576721,-0.8700000047683716,1.0,0.8700000047683716,-0.8700000047683716,1.0,0.28999996185302734,-0.9619238972663879,0.9619238972663879,0.2900000214576721,-0.8700000047683716,1.0,0.8700000047683716,-0.9619238972663879,0.9619238972663879,0.2900000214576721,-0.9619238972663879,0.9619238972663879,0.8700000047683716,-0.8700000047683716,1.0,0.28999996185302734,-0.8700000047683716,1.0,-0.2900000214576721,-0.9619238972663879,0.9619238972663879,-0.28999996185302734,-0.8700000047683716,1.0,0.28999996185302734,-0.9619238972663879,0.9619238972663879,-0.28999996185302734,-0.9619238972663879,0.9619238972663879,0.2900000214576721,0.9619238972663879,-0.9619238972663879,0.8700000047683716,0.9619238972663879,-0.9619238972663879,0.2900000214576721,1.0,-0.8700000047683716,0.2900000214576721,0.9619238972663879,-0.9619238972663879,0.8700000047683716,1.0,-0.8700000047683716,0.2900000214576721,1.0,-0.8700000047683716,0.8700000047683716,0.9619238972663879,-0.9619238972663879,0.2900000214576721,0.9619238972663879,-0.9619238972663879,-0.28999996185302734,1.0,-0.8700000047683716,-0.28999996185302734,0.9619238972663879,-0.9619238972663879,0.2900000214576721,1.0,-0.8700000047683716,-0.28999996185302734,1.0,-0.8700000047683716,0.2900000214576721,0.8700000047683716,-1.0,0.8700000047683716,0.8700000047683716,-1.0,0.28999996185302734,0.9619238972663879,-0.9619238972663879,0.2900000214576721,0.8700000047683716,-1.0,0.8700000047683716,0.9619238972663879,-0.9619238972663879,0.2900000214576721,0.9619238972663879,-0.9619238972663879,0.8700000047683716,0.8700000047683716,-1.0,0.28999996185302734,0.8700000047683716,-1.0,-0.2900000214576721,0.9619238972663879,-0.9619238972663879,-0.28999996185302734,0.8700000047683716,-1.0,0.28999996185302734,0.9619238972663879,-0.9619238972663879,-0.28999996185302734,0.9619238972663879,-0.9619238972663879,0.2900000214576721,-0.9619238972663879,-0.9619238972663879,-0.8700000047683716,-0.9619238972663879,-0.9619238972663879,-0.2900000214576721,-1.0,-0.8700000047683716,-0.2900000214576721,-0.9619238972663879,-0.9619238972663879,-0.8700000047683716,-1.0,-0.8700000047683716,-0.2900000214576721,-1.0,-0.8700000047683716,-0.8700000047683716,-0.9619238972663879,-0.9619238972663879,-0.2900000214576721,-0.9619238972663879,-0.9619238972663879,0.28999996185302734,-1.0,-0.8700000047683716,0.28999996185302734,-0.9619238972663879,-0.9619238972663879,-0.2900000214576721,-1.0,-0.8700000047683716,0.28999996185302734,-1.0,-0.8700000047683716,-0.2900000214576721,-0.8700000047683716,-1.0,-0.8700000047683716,-0.8700000047683716,-1.0,-0.28999996185302734,-0.9619238972663879,-0.9619238972663879,-0.2900000214576721,-0.8700000047683716,-1.0,-0.8700000047683716,-0.9619238972663879,-0.9619238972663879,-0.2900000214576721,-0.9619238972663879,-0.9619238972663879,-0.8700000047683716,-0.8700000047683716,-1.0,-0.28999996185302734,-0.8700000047683716,-1.0,0.2900000214576721,-0.9619238972663879,-0.9619238972663879,0.28999996185302734,-0.8700000047683716,-1.0,-0.28999996185302734,-0.9619238972663879,-0.9619238972663879,0.28999996185302734,-0.9619238972663879,-0.9619238972663879,-0.2900000214576721,0.9619238972663879,0.9619238972663879,0.8700000047683716,0.9619238972663879,0.9619238972663879,0.2900000214576721,0.8700000047683716,1.0,0.2900000214576721,0.9619238972663879,0.9619238972663879,0.8700000047683716,0.8700000047683716,1.0,0.2900000214576721,0.8700000047683716,1.0,0.8700000047683716,0.9619238972663879,0.9619238972663879,0.2900000214576721,0.9619238972663879,0.9619238972663879,-0.28999996185302734,0.8700000047683716,1.0,-0.28999996185302734,0.9619238972663879,0.9619238972663879,0.2900000214576721,0.8700000047683716,1.0,-0.28999996185302734,0.8700000047683716,1.0,0.2900000214576721,1.0,0.8700000047683716,0.8700000047683716,1.0,0.8700000047683716,0.28999996185302734,0.9619238972663879,0.9619238972663879,0.2900000214576721,1.0,0.8700000047683716,0.8700000047683716,0.9619238972663879,0.9619238972663879,0.2900000214576721,0.9619238972663879,0.9619238972663879,0.8700000047683716,1.0,0.8700000047683716,0.28999996185302734,1.0,0.8700000047683716,-0.2900000214576721,0.9619238972663879,0.9619238972663879,-0.28999996185302734,1.0,0.8700000047683716,0.28999996185302734,0.9619238972663879,0.9619238972663879,-0.28999996185302734,0.9619238972663879,0.9619238972663879,0.2900000214576721,1.0,-0.2900000214576721,-0.8700000047683716,1.0,-0.2900000214576721,-0.2900000214576721,1.0,-0.8700000047683716,-0.28999996185302734,1.0,-0.2900000214576721,-0.8700000047683716,1.0,-0.8700000047683716,-0.28999996185302734,1.0,-0.8700000047683716,-0.8700000047683716,1.0,-0.2900000214576721,-0.2900000214576721,1.0,-0.28999999165534973,0.28999996185302734,1.0,-0.8700000047683716,0.2900000214576721,1.0,-0.2900000214576721,-0.2900000214576721,1.0,-0.8700000047683716,0.2900000214576721,1.0,-0.8700000047683716,-0.28999996185302734,-0.2900000214576721,-1.0,-0.8700000047683716,-0.2900000214576721,-1.0,-0.2900000214576721,-0.8700000047683716,-1.0,-0.28999996185302734,-0.2900000214576721,-1.0,-0.8700000047683716,-0.8700000047683716,-1.0,-0.28999996185302734,-0.8700000047683716,-1.0,-0.8700000047683716,-0.2900000214576721,-1.0,-0.2900000214576721,-0.28999999165534973,-1.0,0.28999996185302734,-0.8700000047683716,-1.0,0.2900000214576721,-0.2900000214576721,-1.0,-0.2900000214576721,-0.8700000047683716,-1.0,0.2900000214576721,-0.8700000047683716,-1.0,-0.28999996185302734,-1.0,0.2900000214576721,-0.8700000047683716,-1.0,0.2900000214576721,-0.2900000214576721,-1.0,0.8700000047683716,-0.28999996185302734,-1.0,0.2900000214576721,-0.8700000047683716,-1.0,0.8700000047683716,-0.28999996185302734,-1.0,0.8700000047683716,-0.8700000047683716,-1.0,0.2900000214576721,-0.2900000214576721,-1.0,0.28999999165534973,0.28999996185302734,-1.0,0.8700000047683716,0.2900000214576721,-1.0,0.2900000214576721,-0.2900000214576721,-1.0,0.8700000047683716,0.2900000214576721,-1.0,0.8700000047683716,-0.28999996185302734]);
+ const geometry = new BufferGeometry()
+ const box_vertice_data = new Float32Array([0.28999996185302734, -0.28999999165534973, -1.0, 0.8700000047683716, -0.28999996185302734, -1.0, 0.8700000047683716, -0.8700000047683716, -1.0, 0.28999996185302734, -0.28999999165534973, -1.0, 0.8700000047683716, -0.8700000047683716, -1.0, 0.2900000214576721, -0.8700000047683716, -1.0, -1.0, 0.28999999165534973, 0.28999996185302734, -1.0, 0.28999996185302734, 0.8700000047683716, -1.0, 0.8700000047683716, 0.8700000047683716, -1.0, 0.28999999165534973, 0.28999996185302734, -1.0, 0.8700000047683716, 0.8700000047683716, -1.0, 0.8700000047683716, 0.2900000214576721, -0.28999999165534973, -1.0, 0.28999996185302734, -0.28999996185302734, -1.0, 0.8700000047683716, -0.8700000047683716, -1.0, 0.8700000047683716, -0.28999999165534973, -1.0, 0.28999996185302734, -0.8700000047683716, -1.0, 0.8700000047683716, -0.8700000047683716, -1.0, 0.2900000214576721, -0.28999996185302734, -0.28999999165534973, 1.0, -0.8700000047683716, -0.28999996185302734, 1.0, -0.8700000047683716, -0.8700000047683716, 1.0, -0.28999996185302734, -0.28999999165534973, 1.0, -0.8700000047683716, -0.8700000047683716, 1.0, -0.2900000214576721, -0.8700000047683716, 1.0, 1.0, -0.28999999165534973, 0.28999996185302734, 1.0, -0.28999996185302734, 0.8700000047683716, 1.0, -0.8700000047683716, 0.8700000047683716, 1.0, -0.28999999165534973, 0.28999996185302734, 1.0, -0.8700000047683716, 0.8700000047683716, 1.0, -0.8700000047683716, 0.2900000214576721, 0.8700000047683716, 1.0, 0.8700000047683716, 0.8700000047683716, 0.9619238972663879, 0.9619238972663879, 0.9450555443763733, 0.9450555443763733, 0.9450555443763733, 0.8700000047683716, 1.0, 0.8700000047683716, 0.9450555443763733, 0.9450555443763733, 0.9450555443763733, 0.9619238972663879, 0.9619238972663879, 0.8700000047683716, 0.8700000047683716, 0.8700000047683716, 1.0, 0.9619238972663879, 0.8700000047683716, 0.9619238972663879, 0.9450555443763733, 0.9450555443763733, 0.9450555443763733, 0.8700000047683716, 0.8700000047683716, 1.0, 0.9450555443763733, 0.9450555443763733, 0.9450555443763733, 0.8700000047683716, 0.9619238972663879, 0.9619238972663879, 1.0, 0.8700000047683716, 0.8700000047683716, 0.9619238972663879, 0.9619238972663879, 0.8700000047683716, 0.9450555443763733, 0.9450555443763733, 0.9450555443763733, 1.0, 0.8700000047683716, 0.8700000047683716, 0.9450555443763733, 0.9450555443763733, 0.9450555443763733, 0.9619238972663879, 0.8700000047683716, 0.9619238972663879, 0.8700000047683716, 0.8700000047683716, -1.0, 0.8700000047683716, 0.9619238972663879, -0.9619238972663879, 0.9450555443763733, 0.9450555443763733, -0.9450555443763733, 0.8700000047683716, 0.8700000047683716, -1.0, 0.9450555443763733, 0.9450555443763733, -0.9450555443763733, 0.9619238972663879, 0.8700000047683716, -0.9619238972663879, 0.8700000047683716, 1.0, -0.8700000047683716, 0.9619238972663879, 0.9619238972663879, -0.8700000047683716, 0.9450555443763733, 0.9450555443763733, -0.9450555443763733, 0.8700000047683716, 1.0, -0.8700000047683716, 0.9450555443763733, 0.9450555443763733, -0.9450555443763733, 0.8700000047683716, 0.9619238972663879, -0.9619238972663879, 1.0, 0.8700000047683716, -0.8700000047683716, 0.9619238972663879, 0.8700000047683716, -0.9619238972663879, 0.9450555443763733, 0.9450555443763733, -0.9450555443763733, 1.0, 0.8700000047683716, -0.8700000047683716, 0.9450555443763733, 0.9450555443763733, -0.9450555443763733, 0.9619238972663879, 0.9619238972663879, -0.8700000047683716, 1.0, -0.8700000047683716, 0.8700000047683716, 0.9619238972663879, -0.8700000047683716, 0.9619238972663879, 0.9450555443763733, -0.9450555443763733, 0.9450555443763733, 1.0, -0.8700000047683716, 0.8700000047683716, 0.9450555443763733, -0.9450555443763733, 0.9450555443763733, 0.9619238972663879, -0.9619238972663879, 0.8700000047683716, 0.8700000047683716, -0.8700000047683716, 1.0, 0.8700000047683716, -0.9619238972663879, 0.9619238972663879, 0.9450555443763733, -0.9450555443763733, 0.9450555443763733, 0.8700000047683716, -0.8700000047683716, 1.0, 0.9450555443763733, -0.9450555443763733, 0.9450555443763733, 0.9619238972663879, -0.8700000047683716, 0.9619238972663879, 0.8700000047683716, -1.0, 0.8700000047683716, 0.9619238972663879, -0.9619238972663879, 0.8700000047683716, 0.9450555443763733, -0.9450555443763733, 0.9450555443763733, 0.8700000047683716, -1.0, 0.8700000047683716, 0.9450555443763733, -0.9450555443763733, 0.9450555443763733, 0.8700000047683716, -0.9619238972663879, 0.9619238972663879, 1.0, -0.8700000047683716, -0.8700000047683716, 0.9619238972663879, -0.9619238972663879, -0.8700000047683716, 0.9450555443763733, -0.9450555443763733, -0.9450555443763733, 1.0, -0.8700000047683716, -0.8700000047683716, 0.9450555443763733, -0.9450555443763733, -0.9450555443763733, 0.9619238972663879, -0.8700000047683716, -0.9619238972663879, 0.8700000047683716, -1.0, -0.8700000047683716, 0.8700000047683716, -0.9619238972663879, -0.9619238972663879, 0.9450555443763733, -0.9450555443763733, -0.9450555443763733, 0.8700000047683716, -1.0, -0.8700000047683716, 0.9450555443763733, -0.9450555443763733, -0.9450555443763733, 0.9619238972663879, -0.9619238972663879, -0.8700000047683716, 0.8700000047683716, -0.8700000047683716, -1.0, 0.9619238972663879, -0.8700000047683716, -0.9619238972663879, 0.9450555443763733, -0.9450555443763733, -0.9450555443763733, 0.8700000047683716, -0.8700000047683716, -1.0, 0.9450555443763733, -0.9450555443763733, -0.9450555443763733, 0.8700000047683716, -0.9619238972663879, -0.9619238972663879, -0.8700000047683716, 1.0, 0.8700000047683716, -0.9619238972663879, 0.9619238972663879, 0.8700000047683716, -0.9450555443763733, 0.9450555443763733, 0.9450555443763733, -0.8700000047683716, 1.0, 0.8700000047683716, -0.9450555443763733, 0.9450555443763733, 0.9450555443763733, -0.8700000047683716, 0.9619238972663879, 0.9619238972663879, -1.0, 0.8700000047683716, 0.8700000047683716, -0.9619238972663879, 0.8700000047683716, 0.9619238972663879, -0.9450555443763733, 0.9450555443763733, 0.9450555443763733, -1.0, 0.8700000047683716, 0.8700000047683716, -0.9450555443763733, 0.9450555443763733, 0.9450555443763733, -0.9619238972663879, 0.9619238972663879, 0.8700000047683716, -0.8700000047683716, 0.8700000047683716, 1.0, -0.8700000047683716, 0.9619238972663879, 0.9619238972663879, -0.9450555443763733, 0.9450555443763733, 0.9450555443763733, -0.8700000047683716, 0.8700000047683716, 1.0, -0.9450555443763733, 0.9450555443763733, 0.9450555443763733, -0.9619238972663879, 0.8700000047683716, 0.9619238972663879, -1.0, 0.8700000047683716, -0.8700000047683716, -0.9619238972663879, 0.9619238972663879, -0.8700000047683716, -0.9450555443763733, 0.9450555443763733, -0.9450555443763733, -1.0, 0.8700000047683716, -0.8700000047683716, -0.9450555443763733, 0.9450555443763733, -0.9450555443763733, -0.9619238972663879, 0.8700000047683716, -0.9619238972663879, -0.8700000047683716, 1.0, -0.8700000047683716, -0.8700000047683716, 0.9619238972663879, -0.9619238972663879, -0.9450555443763733, 0.9450555443763733, -0.9450555443763733, -0.8700000047683716, 1.0, -0.8700000047683716, -0.9450555443763733, 0.9450555443763733, -0.9450555443763733, -0.9619238972663879, 0.9619238972663879, -0.8700000047683716, -0.8700000047683716, 0.8700000047683716, -1.0, -0.9619238972663879, 0.8700000047683716, -0.9619238972663879, -0.9450555443763733, 0.9450555443763733, -0.9450555443763733, -0.8700000047683716, 0.8700000047683716, -1.0, -0.9450555443763733, 0.9450555443763733, -0.9450555443763733, -0.8700000047683716, 0.9619238972663879, -0.9619238972663879, -1.0, -0.8700000047683716, 0.8700000047683716, -0.9619238972663879, -0.9619238972663879, 0.8700000047683716, -0.9450555443763733, -0.9450555443763733, 0.9450555443763733, -1.0, -0.8700000047683716, 0.8700000047683716, -0.9450555443763733, -0.9450555443763733, 0.9450555443763733, -0.9619238972663879, -0.8700000047683716, 0.9619238972663879, -0.8700000047683716, -1.0, 0.8700000047683716, -0.8700000047683716, -0.9619238972663879, 0.9619238972663879, -0.9450555443763733, -0.9450555443763733, 0.9450555443763733, -0.8700000047683716, -1.0, 0.8700000047683716, -0.9450555443763733, -0.9450555443763733, 0.9450555443763733, -0.9619238972663879, -0.9619238972663879, 0.8700000047683716, -0.8700000047683716, -0.8700000047683716, 1.0, -0.9619238972663879, -0.8700000047683716, 0.9619238972663879, -0.9450555443763733, -0.9450555443763733, 0.9450555443763733, -0.8700000047683716, -0.8700000047683716, 1.0, -0.9450555443763733, -0.9450555443763733, 0.9450555443763733, -0.8700000047683716, -0.9619238972663879, 0.9619238972663879, -0.8700000047683716, -0.8700000047683716, -1.0, -0.8700000047683716, -0.9619238972663879, -0.9619238972663879, -0.9450555443763733, -0.9450555443763733, -0.9450555443763733, -0.8700000047683716, -0.8700000047683716, -1.0, -0.9450555443763733, -0.9450555443763733, -0.9450555443763733, -0.9619238972663879, -0.8700000047683716, -0.9619238972663879, -0.8700000047683716, -1.0, -0.8700000047683716, -0.9619238972663879, -0.9619238972663879, -0.8700000047683716, -0.9450555443763733, -0.9450555443763733, -0.9450555443763733, -0.8700000047683716, -1.0, -0.8700000047683716, -0.9450555443763733, -0.9450555443763733, -0.9450555443763733, -0.8700000047683716, -0.9619238972663879, -0.9619238972663879, -1.0, -0.8700000047683716, -0.8700000047683716, -0.9619238972663879, -0.8700000047683716, -0.9619238972663879, -0.9450555443763733, -0.9450555443763733, -0.9450555443763733, -1.0, -0.8700000047683716, -0.8700000047683716, -0.9450555443763733, -0.9450555443763733, -0.9450555443763733, -0.9619238972663879, -0.9619238972663879, -0.8700000047683716, -0.8700000047683716, -0.2900000214576721, -1.0, -0.8700000047683716, -0.8700000047683716, -1.0, -0.9619238972663879, -0.8700000047683716, -0.9619238972663879, -0.8700000047683716, -0.2900000214576721, -1.0, -0.9619238972663879, -0.8700000047683716, -0.9619238972663879, -0.9619238972663879, -0.28999996185302734, -0.9619238972663879, -0.9619238972663879, -0.28999996185302734, -0.9619238972663879, -0.9619238972663879, -0.8700000047683716, -0.9619238972663879, -1.0, -0.8700000047683716, -0.8700000047683716, -0.9619238972663879, -0.28999996185302734, -0.9619238972663879, -1.0, -0.8700000047683716, -0.8700000047683716, -1.0, -0.28999996185302734, -0.8700000047683716, -0.2900000214576721, 0.8700000047683716, -1.0, -0.8700000047683716, 0.8700000047683716, -1.0, -0.8700000047683716, 0.9619238972663879, -0.9619238972663879, -0.2900000214576721, 0.8700000047683716, -1.0, -0.8700000047683716, 0.9619238972663879, -0.9619238972663879, -0.28999996185302734, 0.9619238972663879, -0.9619238972663879, -0.28999996185302734, 0.9619238972663879, -0.9619238972663879, -0.8700000047683716, 0.9619238972663879, -0.9619238972663879, -0.8700000047683716, 1.0, -0.8700000047683716, -0.28999996185302734, 0.9619238972663879, -0.9619238972663879, -0.8700000047683716, 1.0, -0.8700000047683716, -0.28999996185302734, 1.0, -0.8700000047683716, 1.0, 0.8700000047683716, -0.2900000214576721, 1.0, 0.8700000047683716, -0.8700000047683716, 0.9619238972663879, 0.9619238972663879, -0.8700000047683716, 1.0, 0.8700000047683716, -0.2900000214576721, 0.9619238972663879, 0.9619238972663879, -0.8700000047683716, 0.9619238972663879, 0.9619238972663879, -0.28999996185302734, 0.9619238972663879, 0.9619238972663879, -0.28999996185302734, 0.9619238972663879, 0.9619238972663879, -0.8700000047683716, 0.8700000047683716, 1.0, -0.8700000047683716, 0.9619238972663879, 0.9619238972663879, -0.28999996185302734, 0.8700000047683716, 1.0, -0.8700000047683716, 0.8700000047683716, 1.0, -0.28999996185302734, -0.8700000047683716, -1.0, 0.2900000214576721, -0.8700000047683716, -1.0, 0.8700000047683716, -0.9619238972663879, -0.9619238972663879, 0.8700000047683716, -0.8700000047683716, -1.0, 0.2900000214576721, -0.9619238972663879, -0.9619238972663879, 0.8700000047683716, -0.9619238972663879, -0.9619238972663879, 0.28999996185302734, -0.9619238972663879, -0.9619238972663879, 0.28999996185302734, -0.9619238972663879, -0.9619238972663879, 0.8700000047683716, -1.0, -0.8700000047683716, 0.8700000047683716, -0.9619238972663879, -0.9619238972663879, 0.28999996185302734, -1.0, -0.8700000047683716, 0.8700000047683716, -1.0, -0.8700000047683716, 0.28999996185302734, 0.8700000047683716, -1.0, -0.2900000214576721, 0.8700000047683716, -1.0, -0.8700000047683716, 0.9619238972663879, -0.9619238972663879, -0.8700000047683716, 0.8700000047683716, -1.0, -0.2900000214576721, 0.9619238972663879, -0.9619238972663879, -0.8700000047683716, 0.9619238972663879, -0.9619238972663879, -0.28999996185302734, 0.9619238972663879, -0.9619238972663879, -0.28999996185302734, 0.9619238972663879, -0.9619238972663879, -0.8700000047683716, 1.0, -0.8700000047683716, -0.8700000047683716, 0.9619238972663879, -0.9619238972663879, -0.28999996185302734, 1.0, -0.8700000047683716, -0.8700000047683716, 1.0, -0.8700000047683716, -0.28999996185302734, -0.8700000047683716, 1.0, -0.2900000214576721, -0.8700000047683716, 1.0, -0.8700000047683716, -0.9619238972663879, 0.9619238972663879, -0.8700000047683716, -0.8700000047683716, 1.0, -0.2900000214576721, -0.9619238972663879, 0.9619238972663879, -0.8700000047683716, -0.9619238972663879, 0.9619238972663879, -0.28999996185302734, -0.9619238972663879, 0.9619238972663879, -0.28999996185302734, -0.9619238972663879, 0.9619238972663879, -0.8700000047683716, -1.0, 0.8700000047683716, -0.8700000047683716, -0.9619238972663879, 0.9619238972663879, -0.28999996185302734, -1.0, 0.8700000047683716, -0.8700000047683716, -1.0, 0.8700000047683716, -0.28999996185302734, -0.2900000214576721, -0.8700000047683716, 1.0, -0.8700000047683716, -0.8700000047683716, 1.0, -0.8700000047683716, -0.9619238972663879, 0.9619238972663879, -0.2900000214576721, -0.8700000047683716, 1.0, -0.8700000047683716, -0.9619238972663879, 0.9619238972663879, -0.28999996185302734, -0.9619238972663879, 0.9619238972663879, -0.28999996185302734, -0.9619238972663879, 0.9619238972663879, -0.8700000047683716, -0.9619238972663879, 0.9619238972663879, -0.8700000047683716, -1.0, 0.8700000047683716, -0.28999996185302734, -0.9619238972663879, 0.9619238972663879, -0.8700000047683716, -1.0, 0.8700000047683716, -0.28999996185302734, -1.0, 0.8700000047683716, 0.8700000047683716, -0.2900000214576721, 1.0, 0.8700000047683716, -0.8700000047683716, 1.0, 0.9619238972663879, -0.8700000047683716, 0.9619238972663879, 0.8700000047683716, -0.2900000214576721, 1.0, 0.9619238972663879, -0.8700000047683716, 0.9619238972663879, 0.9619238972663879, -0.28999996185302734, 0.9619238972663879, 0.9619238972663879, -0.28999996185302734, 0.9619238972663879, 0.9619238972663879, -0.8700000047683716, 0.9619238972663879, 1.0, -0.8700000047683716, 0.8700000047683716, 0.9619238972663879, -0.28999996185302734, 0.9619238972663879, 1.0, -0.8700000047683716, 0.8700000047683716, 1.0, -0.28999996185302734, 0.8700000047683716, 0.2900000214576721, -0.8700000047683716, -1.0, 0.8700000047683716, -0.8700000047683716, -1.0, 0.8700000047683716, -0.9619238972663879, -0.9619238972663879, 0.2900000214576721, -0.8700000047683716, -1.0, 0.8700000047683716, -0.9619238972663879, -0.9619238972663879, 0.28999996185302734, -0.9619238972663879, -0.9619238972663879, 0.28999996185302734, -0.9619238972663879, -0.9619238972663879, 0.8700000047683716, -0.9619238972663879, -0.9619238972663879, 0.8700000047683716, -1.0, -0.8700000047683716, 0.28999996185302734, -0.9619238972663879, -0.9619238972663879, 0.8700000047683716, -1.0, -0.8700000047683716, 0.28999996185302734, -1.0, -0.8700000047683716, -0.8700000047683716, 0.2900000214576721, 1.0, -0.8700000047683716, 0.8700000047683716, 1.0, -0.9619238972663879, 0.8700000047683716, 0.9619238972663879, -0.8700000047683716, 0.2900000214576721, 1.0, -0.9619238972663879, 0.8700000047683716, 0.9619238972663879, -0.9619238972663879, 0.28999996185302734, 0.9619238972663879, -0.9619238972663879, 0.28999996185302734, 0.9619238972663879, -0.9619238972663879, 0.8700000047683716, 0.9619238972663879, -1.0, 0.8700000047683716, 0.8700000047683716, -0.9619238972663879, 0.28999996185302734, 0.9619238972663879, -1.0, 0.8700000047683716, 0.8700000047683716, -1.0, 0.28999996185302734, 0.8700000047683716, 0.2900000214576721, 0.8700000047683716, 1.0, 0.8700000047683716, 0.8700000047683716, 1.0, 0.8700000047683716, 0.9619238972663879, 0.9619238972663879, 0.2900000214576721, 0.8700000047683716, 1.0, 0.8700000047683716, 0.9619238972663879, 0.9619238972663879, 0.28999996185302734, 0.9619238972663879, 0.9619238972663879, 0.28999996185302734, 0.9619238972663879, 0.9619238972663879, 0.8700000047683716, 0.9619238972663879, 0.9619238972663879, 0.8700000047683716, 1.0, 0.8700000047683716, 0.28999996185302734, 0.9619238972663879, 0.9619238972663879, 0.8700000047683716, 1.0, 0.8700000047683716, 0.28999996185302734, 1.0, 0.8700000047683716, 0.8700000047683716, 0.2900000214576721, -1.0, 0.8700000047683716, 0.8700000047683716, -1.0, 0.9619238972663879, 0.8700000047683716, -0.9619238972663879, 0.8700000047683716, 0.2900000214576721, -1.0, 0.9619238972663879, 0.8700000047683716, -0.9619238972663879, 0.9619238972663879, 0.28999996185302734, -0.9619238972663879, 0.9619238972663879, 0.28999996185302734, -0.9619238972663879, 0.9619238972663879, 0.8700000047683716, -0.9619238972663879, 1.0, 0.8700000047683716, -0.8700000047683716, 0.9619238972663879, 0.28999996185302734, -0.9619238972663879, 1.0, 0.8700000047683716, -0.8700000047683716, 1.0, 0.28999996185302734, -0.8700000047683716, 0.28999999165534973, 1.0, 0.28999996185302734, 0.28999996185302734, 1.0, 0.8700000047683716, 0.8700000047683716, 1.0, 0.8700000047683716, 0.28999999165534973, 1.0, 0.28999996185302734, 0.8700000047683716, 1.0, 0.8700000047683716, 0.8700000047683716, 1.0, 0.2900000214576721, 0.9619238972663879, -0.8700000047683716, -0.9619238972663879, 0.9619238972663879, -0.2900000214576721, -0.9619238972663879, 1.0, -0.2900000214576721, -0.8700000047683716, 0.9619238972663879, -0.8700000047683716, -0.9619238972663879, 1.0, -0.2900000214576721, -0.8700000047683716, 1.0, -0.8700000047683716, -0.8700000047683716, 0.9619238972663879, -0.2900000214576721, -0.9619238972663879, 0.9619238972663879, 0.28999996185302734, -0.9619238972663879, 1.0, 0.28999996185302734, -0.8700000047683716, 0.9619238972663879, -0.2900000214576721, -0.9619238972663879, 1.0, 0.28999996185302734, -0.8700000047683716, 1.0, -0.2900000214576721, -0.8700000047683716, 0.8700000047683716, -0.8700000047683716, -1.0, 0.8700000047683716, -0.28999996185302734, -1.0, 0.9619238972663879, -0.2900000214576721, -0.9619238972663879, 0.8700000047683716, -0.8700000047683716, -1.0, 0.9619238972663879, -0.2900000214576721, -0.9619238972663879, 0.9619238972663879, -0.8700000047683716, -0.9619238972663879, 0.8700000047683716, -0.28999996185302734, -1.0, 0.8700000047683716, 0.2900000214576721, -1.0, 0.9619238972663879, 0.28999996185302734, -0.9619238972663879, 0.8700000047683716, -0.28999996185302734, -1.0, 0.9619238972663879, 0.28999996185302734, -0.9619238972663879, 0.9619238972663879, -0.2900000214576721, -0.9619238972663879, -0.9619238972663879, -0.8700000047683716, 0.9619238972663879, -0.9619238972663879, -0.2900000214576721, 0.9619238972663879, -1.0, -0.2900000214576721, 0.8700000047683716, -0.9619238972663879, -0.8700000047683716, 0.9619238972663879, -1.0, -0.2900000214576721, 0.8700000047683716, -1.0, -0.8700000047683716, 0.8700000047683716, -0.9619238972663879, -0.2900000214576721, 0.9619238972663879, -0.9619238972663879, 0.28999996185302734, 0.9619238972663879, -1.0, 0.28999996185302734, 0.8700000047683716, -0.9619238972663879, -0.2900000214576721, 0.9619238972663879, -1.0, 0.28999996185302734, 0.8700000047683716, -1.0, -0.2900000214576721, 0.8700000047683716, -0.8700000047683716, -0.8700000047683716, 1.0, -0.8700000047683716, -0.28999996185302734, 1.0, -0.9619238972663879, -0.2900000214576721, 0.9619238972663879, -0.8700000047683716, -0.8700000047683716, 1.0, -0.9619238972663879, -0.2900000214576721, 0.9619238972663879, -0.9619238972663879, -0.8700000047683716, 0.9619238972663879, -0.8700000047683716, -0.28999996185302734, 1.0, -0.8700000047683716, 0.2900000214576721, 1.0, -0.9619238972663879, 0.28999996185302734, 0.9619238972663879, -0.8700000047683716, -0.28999996185302734, 1.0, -0.9619238972663879, 0.28999996185302734, 0.9619238972663879, -0.9619238972663879, -0.2900000214576721, 0.9619238972663879, 0.9619238972663879, 0.8700000047683716, 0.9619238972663879, 0.9619238972663879, 0.2900000214576721, 0.9619238972663879, 1.0, 0.2900000214576721, 0.8700000047683716, 0.9619238972663879, 0.8700000047683716, 0.9619238972663879, 1.0, 0.2900000214576721, 0.8700000047683716, 1.0, 0.8700000047683716, 0.8700000047683716, 0.9619238972663879, 0.2900000214576721, 0.9619238972663879, 0.9619238972663879, -0.28999996185302734, 0.9619238972663879, 1.0, -0.28999996185302734, 0.8700000047683716, 0.9619238972663879, 0.2900000214576721, 0.9619238972663879, 1.0, -0.28999996185302734, 0.8700000047683716, 1.0, 0.2900000214576721, 0.8700000047683716, 0.8700000047683716, 0.8700000047683716, 1.0, 0.8700000047683716, 0.28999996185302734, 1.0, 0.9619238972663879, 0.2900000214576721, 0.9619238972663879, 0.8700000047683716, 0.8700000047683716, 1.0, 0.9619238972663879, 0.2900000214576721, 0.9619238972663879, 0.9619238972663879, 0.8700000047683716, 0.9619238972663879, 0.8700000047683716, 0.28999996185302734, 1.0, 0.8700000047683716, -0.2900000214576721, 1.0, 0.9619238972663879, -0.28999996185302734, 0.9619238972663879, 0.8700000047683716, 0.28999996185302734, 1.0, 0.9619238972663879, -0.28999996185302734, 0.9619238972663879, 0.9619238972663879, 0.2900000214576721, 0.9619238972663879, -0.9619238972663879, 0.8700000047683716, -0.9619238972663879, -0.9619238972663879, 0.2900000214576721, -0.9619238972663879, -1.0, 0.2900000214576721, -0.8700000047683716, -0.9619238972663879, 0.8700000047683716, -0.9619238972663879, -1.0, 0.2900000214576721, -0.8700000047683716, -1.0, 0.8700000047683716, -0.8700000047683716, -0.9619238972663879, 0.2900000214576721, -0.9619238972663879, -0.9619238972663879, -0.28999996185302734, -0.9619238972663879, -1.0, -0.28999996185302734, -0.8700000047683716, -0.9619238972663879, 0.2900000214576721, -0.9619238972663879, -1.0, -0.28999996185302734, -0.8700000047683716, -1.0, 0.2900000214576721, -0.8700000047683716, -0.8700000047683716, 0.8700000047683716, -1.0, -0.8700000047683716, 0.28999996185302734, -1.0, -0.9619238972663879, 0.2900000214576721, -0.9619238972663879, -0.8700000047683716, 0.8700000047683716, -1.0, -0.9619238972663879, 0.2900000214576721, -0.9619238972663879, -0.9619238972663879, 0.8700000047683716, -0.9619238972663879, -0.8700000047683716, 0.28999996185302734, -1.0, -0.8700000047683716, -0.2900000214576721, -1.0, -0.9619238972663879, -0.28999996185302734, -0.9619238972663879, -0.8700000047683716, 0.28999996185302734, -1.0, -0.9619238972663879, -0.28999996185302734, -0.9619238972663879, -0.9619238972663879, 0.2900000214576721, -0.9619238972663879, 1.0, 0.8700000047683716, 0.28999996185302734, 1.0, 0.8700000047683716, 0.8700000047683716, 1.0, 0.2900000214576721, 0.8700000047683716, 1.0, 0.8700000047683716, 0.28999996185302734, 1.0, 0.2900000214576721, 0.8700000047683716, 1.0, 0.28999999165534973, 0.28999996185302734, 1.0, 0.28999999165534973, 0.28999996185302734, 1.0, 0.2900000214576721, 0.8700000047683716, 1.0, -0.28999996185302734, 0.8700000047683716, 1.0, 0.28999999165534973, 0.28999996185302734, 1.0, -0.28999996185302734, 0.8700000047683716, 1.0, -0.28999999165534973, 0.28999996185302734, -0.28999996185302734, 0.8700000047683716, 1.0, -0.8700000047683716, 0.8700000047683716, 1.0, -0.8700000047683716, 0.2900000214576721, 1.0, -0.28999996185302734, 0.8700000047683716, 1.0, -0.8700000047683716, 0.2900000214576721, 1.0, -0.28999996185302734, 0.28999999165534973, 1.0, -0.28999996185302734, 0.28999999165534973, 1.0, -0.8700000047683716, 0.2900000214576721, 1.0, -0.8700000047683716, -0.28999996185302734, 1.0, -0.28999996185302734, 0.28999999165534973, 1.0, -0.8700000047683716, -0.28999996185302734, 1.0, -0.28999996185302734, -0.28999999165534973, 1.0, -1.0, -0.8700000047683716, 0.28999996185302734, -1.0, -0.8700000047683716, 0.8700000047683716, -1.0, -0.2900000214576721, 0.8700000047683716, -1.0, -0.8700000047683716, 0.28999996185302734, -1.0, -0.2900000214576721, 0.8700000047683716, -1.0, -0.28999999165534973, 0.28999996185302734, -1.0, -0.28999999165534973, 0.28999996185302734, -1.0, -0.2900000214576721, 0.8700000047683716, -1.0, 0.28999996185302734, 0.8700000047683716, -1.0, -0.28999999165534973, 0.28999996185302734, -1.0, 0.28999996185302734, 0.8700000047683716, -1.0, 0.28999999165534973, 0.28999996185302734, 0.28999996185302734, 0.8700000047683716, -1.0, 0.8700000047683716, 0.8700000047683716, -1.0, 0.8700000047683716, 0.2900000214576721, -1.0, 0.28999996185302734, 0.8700000047683716, -1.0, 0.8700000047683716, 0.2900000214576721, -1.0, 0.28999996185302734, 0.28999999165534973, -1.0, 0.28999996185302734, 0.28999999165534973, -1.0, 0.8700000047683716, 0.2900000214576721, -1.0, 0.8700000047683716, -0.28999996185302734, -1.0, 0.28999996185302734, 0.28999999165534973, -1.0, 0.8700000047683716, -0.28999996185302734, -1.0, 0.28999996185302734, -0.28999999165534973, -1.0, -0.8700000047683716, 0.28999996185302734, -1.0, -0.2900000214576721, 0.28999996185302734, -1.0, -0.2900000214576721, -0.2900000214576721, -1.0, -0.8700000047683716, 0.28999996185302734, -1.0, -0.2900000214576721, -0.2900000214576721, -1.0, -0.8700000047683716, -0.2900000214576721, -1.0, -0.2900000214576721, 0.28999996185302734, -1.0, 0.28999996185302734, 0.28999999165534973, -1.0, 0.28999996185302734, -0.28999999165534973, -1.0, -0.2900000214576721, 0.28999996185302734, -1.0, 0.28999996185302734, -0.28999999165534973, -1.0, -0.2900000214576721, -0.2900000214576721, -1.0, -0.8700000047683716, 0.8700000047683716, -1.0, -0.2900000214576721, 0.8700000047683716, -1.0, -0.2900000214576721, 0.28999996185302734, -1.0, -0.8700000047683716, 0.8700000047683716, -1.0, -0.2900000214576721, 0.28999996185302734, -1.0, -0.8700000047683716, 0.28999996185302734, -1.0, -0.2900000214576721, 0.8700000047683716, -1.0, 0.28999996185302734, 0.8700000047683716, -1.0, 0.28999996185302734, 0.28999999165534973, -1.0, -0.2900000214576721, 0.8700000047683716, -1.0, 0.28999996185302734, 0.28999999165534973, -1.0, -0.2900000214576721, 0.28999996185302734, -1.0, 0.8700000047683716, 0.28999996185302734, 1.0, 0.2900000214576721, 0.28999996185302734, 1.0, 0.2900000214576721, -0.2900000214576721, 1.0, 0.8700000047683716, 0.28999996185302734, 1.0, 0.2900000214576721, -0.2900000214576721, 1.0, 0.8700000047683716, -0.2900000214576721, 1.0, 0.2900000214576721, 0.28999996185302734, 1.0, -0.28999996185302734, 0.28999999165534973, 1.0, -0.28999996185302734, -0.28999999165534973, 1.0, 0.2900000214576721, 0.28999996185302734, 1.0, -0.28999996185302734, -0.28999999165534973, 1.0, 0.2900000214576721, -0.2900000214576721, 1.0, 0.8700000047683716, 0.8700000047683716, 1.0, 0.2900000214576721, 0.8700000047683716, 1.0, 0.2900000214576721, 0.28999996185302734, 1.0, 0.8700000047683716, 0.8700000047683716, 1.0, 0.2900000214576721, 0.28999996185302734, 1.0, 0.8700000047683716, 0.28999996185302734, 1.0, 0.2900000214576721, 0.8700000047683716, 1.0, -0.28999996185302734, 0.8700000047683716, 1.0, -0.28999996185302734, 0.28999999165534973, 1.0, 0.2900000214576721, 0.8700000047683716, 1.0, -0.28999996185302734, 0.28999999165534973, 1.0, 0.2900000214576721, 0.28999996185302734, 1.0, -0.8700000047683716, 1.0, 0.28999996185302734, -0.8700000047683716, 1.0, 0.8700000047683716, -0.2900000214576721, 1.0, 0.8700000047683716, -0.8700000047683716, 1.0, 0.28999996185302734, -0.2900000214576721, 1.0, 0.8700000047683716, -0.28999999165534973, 1.0, 0.28999996185302734, -0.28999999165534973, 1.0, 0.28999996185302734, -0.2900000214576721, 1.0, 0.8700000047683716, 0.28999996185302734, 1.0, 0.8700000047683716, -0.28999999165534973, 1.0, 0.28999996185302734, 0.28999996185302734, 1.0, 0.8700000047683716, 0.28999999165534973, 1.0, 0.28999996185302734, -0.8700000047683716, 0.9619238972663879, 0.9619238972663879, -0.2900000214576721, 0.9619238972663879, 0.9619238972663879, -0.2900000214576721, 1.0, 0.8700000047683716, -0.8700000047683716, 0.9619238972663879, 0.9619238972663879, -0.2900000214576721, 1.0, 0.8700000047683716, -0.8700000047683716, 1.0, 0.8700000047683716, -0.2900000214576721, 0.9619238972663879, 0.9619238972663879, 0.28999996185302734, 0.9619238972663879, 0.9619238972663879, 0.28999996185302734, 1.0, 0.8700000047683716, -0.2900000214576721, 0.9619238972663879, 0.9619238972663879, 0.28999996185302734, 1.0, 0.8700000047683716, -0.2900000214576721, 1.0, 0.8700000047683716, -0.8700000047683716, 0.8700000047683716, 1.0, -0.28999996185302734, 0.8700000047683716, 1.0, -0.2900000214576721, 0.9619238972663879, 0.9619238972663879, -0.8700000047683716, 0.8700000047683716, 1.0, -0.2900000214576721, 0.9619238972663879, 0.9619238972663879, -0.8700000047683716, 0.9619238972663879, 0.9619238972663879, -0.28999996185302734, 0.8700000047683716, 1.0, 0.2900000214576721, 0.8700000047683716, 1.0, 0.28999996185302734, 0.9619238972663879, 0.9619238972663879, -0.28999996185302734, 0.8700000047683716, 1.0, 0.28999996185302734, 0.9619238972663879, 0.9619238972663879, -0.2900000214576721, 0.9619238972663879, 0.9619238972663879, -0.8700000047683716, -0.9619238972663879, -0.9619238972663879, -0.2900000214576721, -0.9619238972663879, -0.9619238972663879, -0.2900000214576721, -1.0, -0.8700000047683716, -0.8700000047683716, -0.9619238972663879, -0.9619238972663879, -0.2900000214576721, -1.0, -0.8700000047683716, -0.8700000047683716, -1.0, -0.8700000047683716, -0.2900000214576721, -0.9619238972663879, -0.9619238972663879, 0.28999996185302734, -0.9619238972663879, -0.9619238972663879, 0.28999996185302734, -1.0, -0.8700000047683716, -0.2900000214576721, -0.9619238972663879, -0.9619238972663879, 0.28999996185302734, -1.0, -0.8700000047683716, -0.2900000214576721, -1.0, -0.8700000047683716, -0.8700000047683716, -0.8700000047683716, -1.0, -0.28999996185302734, -0.8700000047683716, -1.0, -0.2900000214576721, -0.9619238972663879, -0.9619238972663879, -0.8700000047683716, -0.8700000047683716, -1.0, -0.2900000214576721, -0.9619238972663879, -0.9619238972663879, -0.8700000047683716, -0.9619238972663879, -0.9619238972663879, -0.28999996185302734, -0.8700000047683716, -1.0, 0.2900000214576721, -0.8700000047683716, -1.0, 0.28999996185302734, -0.9619238972663879, -0.9619238972663879, -0.28999996185302734, -0.8700000047683716, -1.0, 0.28999996185302734, -0.9619238972663879, -0.9619238972663879, -0.2900000214576721, -0.9619238972663879, -0.9619238972663879, 0.8700000047683716, -0.9619238972663879, 0.9619238972663879, 0.2900000214576721, -0.9619238972663879, 0.9619238972663879, 0.2900000214576721, -1.0, 0.8700000047683716, 0.8700000047683716, -0.9619238972663879, 0.9619238972663879, 0.2900000214576721, -1.0, 0.8700000047683716, 0.8700000047683716, -1.0, 0.8700000047683716, 0.2900000214576721, -0.9619238972663879, 0.9619238972663879, -0.28999996185302734, -0.9619238972663879, 0.9619238972663879, -0.28999996185302734, -1.0, 0.8700000047683716, 0.2900000214576721, -0.9619238972663879, 0.9619238972663879, -0.28999996185302734, -1.0, 0.8700000047683716, 0.2900000214576721, -1.0, 0.8700000047683716, 0.8700000047683716, -0.8700000047683716, 1.0, 0.28999996185302734, -0.8700000047683716, 1.0, 0.2900000214576721, -0.9619238972663879, 0.9619238972663879, 0.8700000047683716, -0.8700000047683716, 1.0, 0.2900000214576721, -0.9619238972663879, 0.9619238972663879, 0.8700000047683716, -0.9619238972663879, 0.9619238972663879, 0.28999996185302734, -0.8700000047683716, 1.0, -0.2900000214576721, -0.8700000047683716, 1.0, -0.28999996185302734, -0.9619238972663879, 0.9619238972663879, 0.28999996185302734, -0.8700000047683716, 1.0, -0.28999996185302734, -0.9619238972663879, 0.9619238972663879, 0.2900000214576721, -0.9619238972663879, 0.9619238972663879, 0.8700000047683716, 0.9619238972663879, -0.9619238972663879, 0.2900000214576721, 0.9619238972663879, -0.9619238972663879, 0.2900000214576721, 1.0, -0.8700000047683716, 0.8700000047683716, 0.9619238972663879, -0.9619238972663879, 0.2900000214576721, 1.0, -0.8700000047683716, 0.8700000047683716, 1.0, -0.8700000047683716, 0.2900000214576721, 0.9619238972663879, -0.9619238972663879, -0.28999996185302734, 0.9619238972663879, -0.9619238972663879, -0.28999996185302734, 1.0, -0.8700000047683716, 0.2900000214576721, 0.9619238972663879, -0.9619238972663879, -0.28999996185302734, 1.0, -0.8700000047683716, 0.2900000214576721, 1.0, -0.8700000047683716, 0.8700000047683716, 0.8700000047683716, -1.0, 0.28999996185302734, 0.8700000047683716, -1.0, 0.2900000214576721, 0.9619238972663879, -0.9619238972663879, 0.8700000047683716, 0.8700000047683716, -1.0, 0.2900000214576721, 0.9619238972663879, -0.9619238972663879, 0.8700000047683716, 0.9619238972663879, -0.9619238972663879, 0.28999996185302734, 0.8700000047683716, -1.0, -0.2900000214576721, 0.8700000047683716, -1.0, -0.28999996185302734, 0.9619238972663879, -0.9619238972663879, 0.28999996185302734, 0.8700000047683716, -1.0, -0.28999996185302734, 0.9619238972663879, -0.9619238972663879, 0.2900000214576721, 0.9619238972663879, -0.9619238972663879, 0.8700000047683716, -0.2900000214576721, 1.0, 0.2900000214576721, -0.2900000214576721, 1.0, 0.28999996185302734, -0.8700000047683716, 1.0, 0.8700000047683716, -0.2900000214576721, 1.0, 0.28999996185302734, -0.8700000047683716, 1.0, 0.8700000047683716, -0.8700000047683716, 1.0, 0.2900000214576721, -0.2900000214576721, 1.0, -0.28999996185302734, -0.28999999165534973, 1.0, -0.2900000214576721, -0.8700000047683716, 1.0, 0.2900000214576721, -0.2900000214576721, 1.0, -0.2900000214576721, -0.8700000047683716, 1.0, 0.28999996185302734, -0.8700000047683716, 1.0, 0.8700000047683716, -1.0, 0.28999996185302734, 0.8700000047683716, -1.0, 0.8700000047683716, 0.2900000214576721, -1.0, 0.8700000047683716, 0.8700000047683716, -1.0, 0.28999996185302734, 0.2900000214576721, -1.0, 0.8700000047683716, 0.28999999165534973, -1.0, 0.28999996185302734, 0.28999999165534973, -1.0, 0.28999996185302734, 0.2900000214576721, -1.0, 0.8700000047683716, -0.28999996185302734, -1.0, 0.8700000047683716, 0.28999999165534973, -1.0, 0.28999996185302734, -0.28999996185302734, -1.0, 0.8700000047683716, -0.28999999165534973, -1.0, 0.28999996185302734, -0.8700000047683716, -0.2900000214576721, -1.0, -0.2900000214576721, -0.2900000214576721, -1.0, -0.28999996185302734, -0.8700000047683716, -1.0, -0.8700000047683716, -0.2900000214576721, -1.0, -0.28999996185302734, -0.8700000047683716, -1.0, -0.8700000047683716, -0.8700000047683716, -1.0, -0.2900000214576721, -0.2900000214576721, -1.0, 0.28999996185302734, -0.28999999165534973, -1.0, 0.2900000214576721, -0.8700000047683716, -1.0, -0.2900000214576721, -0.2900000214576721, -1.0, 0.2900000214576721, -0.8700000047683716, -1.0, -0.28999996185302734, -0.8700000047683716, -1.0, 0.28999996185302734, -1.0, -0.8700000047683716, 0.28999996185302734, -1.0, -0.2900000214576721, -0.2900000214576721, -1.0, -0.2900000214576721, 0.28999996185302734, -1.0, -0.8700000047683716, -0.2900000214576721, -1.0, -0.2900000214576721, -0.2900000214576721, -1.0, -0.8700000047683716, 0.28999996185302734, -1.0, -0.2900000214576721, 0.28999999165534973, -1.0, 0.28999996185302734, -0.28999999165534973, -1.0, 0.28999996185302734, 0.28999996185302734, -1.0, -0.2900000214576721, -0.28999999165534973, -1.0, 0.28999996185302734, -0.2900000214576721, -1.0, -0.2900000214576721, 0.8700000047683716, -1.0, -0.8700000047683716, 0.8700000047683716, -1.0, -0.2900000214576721, 0.28999996185302734, -1.0, -0.2900000214576721, 0.8700000047683716, -1.0, -0.8700000047683716, 0.28999996185302734, -1.0, -0.2900000214576721, 0.28999996185302734, -1.0, -0.8700000047683716, 0.8700000047683716, -1.0, -0.2900000214576721, 0.8700000047683716, -1.0, 0.28999996185302734, 0.28999999165534973, -1.0, 0.28999996185302734, 0.8700000047683716, -1.0, -0.2900000214576721, 0.28999999165534973, -1.0, 0.28999996185302734, 0.28999996185302734, -1.0, -0.2900000214576721, -0.28999996185302734, 1.0, -0.8700000047683716, -0.28999996185302734, 1.0, -0.2900000214576721, 0.2900000214576721, 1.0, -0.2900000214576721, -0.28999996185302734, 1.0, -0.8700000047683716, 0.2900000214576721, 1.0, -0.2900000214576721, 0.2900000214576721, 1.0, -0.8700000047683716, -0.28999996185302734, 1.0, -0.2900000214576721, -0.28999999165534973, 1.0, 0.28999996185302734, 0.28999999165534973, 1.0, 0.28999996185302734, -0.28999996185302734, 1.0, -0.2900000214576721, 0.28999999165534973, 1.0, 0.28999996185302734, 0.2900000214576721, 1.0, -0.2900000214576721, -0.8700000047683716, 1.0, -0.8700000047683716, -0.8700000047683716, 1.0, -0.2900000214576721, -0.28999996185302734, 1.0, -0.2900000214576721, -0.8700000047683716, 1.0, -0.8700000047683716, -0.28999996185302734, 1.0, -0.2900000214576721, -0.28999996185302734, 1.0, -0.8700000047683716, -0.8700000047683716, 1.0, -0.2900000214576721, -0.8700000047683716, 1.0, 0.28999996185302734, -0.28999999165534973, 1.0, 0.28999996185302734, -0.8700000047683716, 1.0, -0.2900000214576721, -0.28999999165534973, 1.0, 0.28999996185302734, -0.28999996185302734, 1.0, -0.2900000214576721, -1.0, -0.28999996185302734, -0.8700000047683716, -1.0, -0.28999996185302734, -0.2900000214576721, -1.0, 0.2900000214576721, -0.2900000214576721, -1.0, -0.28999996185302734, -0.8700000047683716, -1.0, 0.2900000214576721, -0.2900000214576721, -1.0, 0.2900000214576721, -0.8700000047683716, -1.0, -0.28999996185302734, -0.2900000214576721, -1.0, -0.28999999165534973, 0.28999996185302734, -1.0, 0.28999999165534973, 0.28999996185302734, -1.0, -0.28999996185302734, -0.2900000214576721, -1.0, 0.28999999165534973, 0.28999996185302734, -1.0, 0.2900000214576721, -0.2900000214576721, -1.0, -0.8700000047683716, -0.8700000047683716, -1.0, -0.8700000047683716, -0.2900000214576721, -1.0, -0.28999996185302734, -0.2900000214576721, -1.0, -0.8700000047683716, -0.8700000047683716, -1.0, -0.28999996185302734, -0.2900000214576721, -1.0, -0.28999996185302734, -0.8700000047683716, -1.0, -0.8700000047683716, -0.2900000214576721, -1.0, -0.8700000047683716, 0.28999996185302734, -1.0, -0.28999999165534973, 0.28999996185302734, -1.0, -0.8700000047683716, -0.2900000214576721, -1.0, -0.28999999165534973, 0.28999996185302734, -1.0, -0.28999996185302734, -0.2900000214576721, 1.0, 0.28999996185302734, -0.8700000047683716, 1.0, 0.28999996185302734, -0.2900000214576721, 1.0, -0.2900000214576721, -0.2900000214576721, 1.0, 0.28999996185302734, -0.8700000047683716, 1.0, -0.2900000214576721, -0.2900000214576721, 1.0, -0.2900000214576721, -0.8700000047683716, 1.0, 0.28999996185302734, -0.2900000214576721, 1.0, 0.28999999165534973, 0.28999996185302734, 1.0, -0.28999999165534973, 0.28999996185302734, 1.0, 0.28999996185302734, -0.2900000214576721, 1.0, -0.28999999165534973, 0.28999996185302734, 1.0, -0.2900000214576721, -0.2900000214576721, 1.0, 0.8700000047683716, -0.8700000047683716, 1.0, 0.8700000047683716, -0.2900000214576721, 1.0, 0.28999996185302734, -0.2900000214576721, 1.0, 0.8700000047683716, -0.8700000047683716, 1.0, 0.28999996185302734, -0.2900000214576721, 1.0, 0.28999996185302734, -0.8700000047683716, 1.0, 0.8700000047683716, -0.2900000214576721, 1.0, 0.8700000047683716, 0.28999996185302734, 1.0, 0.28999999165534973, 0.28999996185302734, 1.0, 0.8700000047683716, -0.2900000214576721, 1.0, 0.28999999165534973, 0.28999996185302734, 1.0, 0.28999996185302734, -0.2900000214576721, 0.2900000214576721, 1.0, -0.8700000047683716, 0.2900000214576721, 1.0, -0.2900000214576721, 0.8700000047683716, 1.0, -0.28999996185302734, 0.2900000214576721, 1.0, -0.8700000047683716, 0.8700000047683716, 1.0, -0.28999996185302734, 0.8700000047683716, 1.0, -0.8700000047683716, 0.2900000214576721, 1.0, -0.2900000214576721, 0.28999999165534973, 1.0, 0.28999996185302734, 0.8700000047683716, 1.0, 0.2900000214576721, 0.2900000214576721, 1.0, -0.2900000214576721, 0.8700000047683716, 1.0, 0.2900000214576721, 0.8700000047683716, 1.0, -0.28999996185302734, -0.9619238972663879, 0.9619238972663879, 0.8700000047683716, -0.9619238972663879, 0.9619238972663879, 0.2900000214576721, -1.0, 0.8700000047683716, 0.2900000214576721, -0.9619238972663879, 0.9619238972663879, 0.8700000047683716, -1.0, 0.8700000047683716, 0.2900000214576721, -1.0, 0.8700000047683716, 0.8700000047683716, -0.9619238972663879, 0.9619238972663879, 0.2900000214576721, -0.9619238972663879, 0.9619238972663879, -0.28999996185302734, -1.0, 0.8700000047683716, -0.28999996185302734, -0.9619238972663879, 0.9619238972663879, 0.2900000214576721, -1.0, 0.8700000047683716, -0.28999996185302734, -1.0, 0.8700000047683716, 0.2900000214576721, -0.8700000047683716, 1.0, 0.8700000047683716, -0.8700000047683716, 1.0, 0.28999996185302734, -0.9619238972663879, 0.9619238972663879, 0.2900000214576721, -0.8700000047683716, 1.0, 0.8700000047683716, -0.9619238972663879, 0.9619238972663879, 0.2900000214576721, -0.9619238972663879, 0.9619238972663879, 0.8700000047683716, -0.8700000047683716, 1.0, 0.28999996185302734, -0.8700000047683716, 1.0, -0.2900000214576721, -0.9619238972663879, 0.9619238972663879, -0.28999996185302734, -0.8700000047683716, 1.0, 0.28999996185302734, -0.9619238972663879, 0.9619238972663879, -0.28999996185302734, -0.9619238972663879, 0.9619238972663879, 0.2900000214576721, 0.9619238972663879, -0.9619238972663879, 0.8700000047683716, 0.9619238972663879, -0.9619238972663879, 0.2900000214576721, 1.0, -0.8700000047683716, 0.2900000214576721, 0.9619238972663879, -0.9619238972663879, 0.8700000047683716, 1.0, -0.8700000047683716, 0.2900000214576721, 1.0, -0.8700000047683716, 0.8700000047683716, 0.9619238972663879, -0.9619238972663879, 0.2900000214576721, 0.9619238972663879, -0.9619238972663879, -0.28999996185302734, 1.0, -0.8700000047683716, -0.28999996185302734, 0.9619238972663879, -0.9619238972663879, 0.2900000214576721, 1.0, -0.8700000047683716, -0.28999996185302734, 1.0, -0.8700000047683716, 0.2900000214576721, 0.8700000047683716, -1.0, 0.8700000047683716, 0.8700000047683716, -1.0, 0.28999996185302734, 0.9619238972663879, -0.9619238972663879, 0.2900000214576721, 0.8700000047683716, -1.0, 0.8700000047683716, 0.9619238972663879, -0.9619238972663879, 0.2900000214576721, 0.9619238972663879, -0.9619238972663879, 0.8700000047683716, 0.8700000047683716, -1.0, 0.28999996185302734, 0.8700000047683716, -1.0, -0.2900000214576721, 0.9619238972663879, -0.9619238972663879, -0.28999996185302734, 0.8700000047683716, -1.0, 0.28999996185302734, 0.9619238972663879, -0.9619238972663879, -0.28999996185302734, 0.9619238972663879, -0.9619238972663879, 0.2900000214576721, -0.9619238972663879, -0.9619238972663879, -0.8700000047683716, -0.9619238972663879, -0.9619238972663879, -0.2900000214576721, -1.0, -0.8700000047683716, -0.2900000214576721, -0.9619238972663879, -0.9619238972663879, -0.8700000047683716, -1.0, -0.8700000047683716, -0.2900000214576721, -1.0, -0.8700000047683716, -0.8700000047683716, -0.9619238972663879, -0.9619238972663879, -0.2900000214576721, -0.9619238972663879, -0.9619238972663879, 0.28999996185302734, -1.0, -0.8700000047683716, 0.28999996185302734, -0.9619238972663879, -0.9619238972663879, -0.2900000214576721, -1.0, -0.8700000047683716, 0.28999996185302734, -1.0, -0.8700000047683716, -0.2900000214576721, -0.8700000047683716, -1.0, -0.8700000047683716, -0.8700000047683716, -1.0, -0.28999996185302734, -0.9619238972663879, -0.9619238972663879, -0.2900000214576721, -0.8700000047683716, -1.0, -0.8700000047683716, -0.9619238972663879, -0.9619238972663879, -0.2900000214576721, -0.9619238972663879, -0.9619238972663879, -0.8700000047683716, -0.8700000047683716, -1.0, -0.28999996185302734, -0.8700000047683716, -1.0, 0.2900000214576721, -0.9619238972663879, -0.9619238972663879, 0.28999996185302734, -0.8700000047683716, -1.0, -0.28999996185302734, -0.9619238972663879, -0.9619238972663879, 0.28999996185302734, -0.9619238972663879, -0.9619238972663879, -0.2900000214576721, 0.9619238972663879, 0.9619238972663879, 0.8700000047683716, 0.9619238972663879, 0.9619238972663879, 0.2900000214576721, 0.8700000047683716, 1.0, 0.2900000214576721, 0.9619238972663879, 0.9619238972663879, 0.8700000047683716, 0.8700000047683716, 1.0, 0.2900000214576721, 0.8700000047683716, 1.0, 0.8700000047683716, 0.9619238972663879, 0.9619238972663879, 0.2900000214576721, 0.9619238972663879, 0.9619238972663879, -0.28999996185302734, 0.8700000047683716, 1.0, -0.28999996185302734, 0.9619238972663879, 0.9619238972663879, 0.2900000214576721, 0.8700000047683716, 1.0, -0.28999996185302734, 0.8700000047683716, 1.0, 0.2900000214576721, 1.0, 0.8700000047683716, 0.8700000047683716, 1.0, 0.8700000047683716, 0.28999996185302734, 0.9619238972663879, 0.9619238972663879, 0.2900000214576721, 1.0, 0.8700000047683716, 0.8700000047683716, 0.9619238972663879, 0.9619238972663879, 0.2900000214576721, 0.9619238972663879, 0.9619238972663879, 0.8700000047683716, 1.0, 0.8700000047683716, 0.28999996185302734, 1.0, 0.8700000047683716, -0.2900000214576721, 0.9619238972663879, 0.9619238972663879, -0.28999996185302734, 1.0, 0.8700000047683716, 0.28999996185302734, 0.9619238972663879, 0.9619238972663879, -0.28999996185302734, 0.9619238972663879, 0.9619238972663879, 0.2900000214576721, 1.0, -0.2900000214576721, -0.8700000047683716, 1.0, -0.2900000214576721, -0.2900000214576721, 1.0, -0.8700000047683716, -0.28999996185302734, 1.0, -0.2900000214576721, -0.8700000047683716, 1.0, -0.8700000047683716, -0.28999996185302734, 1.0, -0.8700000047683716, -0.8700000047683716, 1.0, -0.2900000214576721, -0.2900000214576721, 1.0, -0.28999999165534973, 0.28999996185302734, 1.0, -0.8700000047683716, 0.2900000214576721, 1.0, -0.2900000214576721, -0.2900000214576721, 1.0, -0.8700000047683716, 0.2900000214576721, 1.0, -0.8700000047683716, -0.28999996185302734, -0.2900000214576721, -1.0, -0.8700000047683716, -0.2900000214576721, -1.0, -0.2900000214576721, -0.8700000047683716, -1.0, -0.28999996185302734, -0.2900000214576721, -1.0, -0.8700000047683716, -0.8700000047683716, -1.0, -0.28999996185302734, -0.8700000047683716, -1.0, -0.8700000047683716, -0.2900000214576721, -1.0, -0.2900000214576721, -0.28999999165534973, -1.0, 0.28999996185302734, -0.8700000047683716, -1.0, 0.2900000214576721, -0.2900000214576721, -1.0, -0.2900000214576721, -0.8700000047683716, -1.0, 0.2900000214576721, -0.8700000047683716, -1.0, -0.28999996185302734, -1.0, 0.2900000214576721, -0.8700000047683716, -1.0, 0.2900000214576721, -0.2900000214576721, -1.0, 0.8700000047683716, -0.28999996185302734, -1.0, 0.2900000214576721, -0.8700000047683716, -1.0, 0.8700000047683716, -0.28999996185302734, -1.0, 0.8700000047683716, -0.8700000047683716, -1.0, 0.2900000214576721, -0.2900000214576721, -1.0, 0.28999999165534973, 0.28999996185302734, -1.0, 0.8700000047683716, 0.2900000214576721, -1.0, 0.2900000214576721, -0.2900000214576721, -1.0, 0.8700000047683716, 0.2900000214576721, -1.0, 0.8700000047683716, -0.28999996185302734])
- geometry.setAttribute( 'position', new BufferAttribute( box_vertice_data, 3 ) );
- geometry.getAttribute("position").needsUpdate = true;
- geometry.computeVertexNormals(); // required after setting new position attributes
- return geometry;
+ geometry.setAttribute('position', new BufferAttribute(box_vertice_data, 3))
+ geometry.getAttribute('position').needsUpdate = true
+ geometry.computeVertexNormals() // required after setting new position attributes
+ return geometry
}
diff --git a/src/lib/geometry/PlaneGeometry.js b/src/lib/geometry/PlaneGeometry.js
index cf39b23..a87ec60 100644
--- a/src/lib/geometry/PlaneGeometry.js
+++ b/src/lib/geometry/PlaneGeometry.js
@@ -1,16 +1,15 @@
export function create_plane_geometry()
{
- const geometry = new BufferGeometry();
- const plane_vertice_data = new Float32Array( [
- -1.0, -1.0, 1.0, // v0
- 1.0, -1.0, 1.0, // v1
- 1.0, 1.0, 1.0, // v2
-
- 1.0, 1.0, 1.0, // v3
- -1.0, 1.0, 1.0, // v4
- -1.0, -1.0, 1.0 // v5
- ]);
+ const geometry = new BufferGeometry();
+ const plane_vertice_data = new Float32Array( [
+ -1.0, -1.0, 1.0, // v0
+ 1.0, -1.0, 1.0, // v1
+ 1.0, 1.0, 1.0, // v2
+ 1.0, 1.0, 1.0, // v3
+ -1.0, 1.0, 1.0, // v4
+ -1.0, -1.0, 1.0 // v5
+ ])
- geometry.setAttribute( 'position', new BufferAttribute( plane_vertice_data, 3 ) );
- return geometry;
-}
\ No newline at end of file
+ geometry.setAttribute('position', new BufferAttribute(plane_vertice_data, 3));
+ return geometry
+}
diff --git a/src/lib/mapping/MixamoToSimple.ts b/src/lib/mapping/MixamoToSimple.ts
index 91ee30b..65f3637 100644
--- a/src/lib/mapping/MixamoToSimple.ts
+++ b/src/lib/mapping/MixamoToSimple.ts
@@ -1,54 +1,54 @@
export const MixamoToSimpleMapping = {
- mixamorigHips: 'SpineBase',
- mixamorigSpine: 'SpineLow',
- mixamorigSpine1: 'SpineLow',
- mixamorigSpine2: 'SpineMid',
- mixamorigNeck: 'Neck',
- mixamorigHead: 'Head',
- mixamorigRightShoulder: 'R_Shoulder',
- mixamorigRightArm: 'R_Arm',
- mixamorigRightForeArm: 'R_Forearm',
- mixamorigRightHand: 'R_HandBase',
- mixamorigRightHandThumb1: 'R_ThumbBase',
- mixamorigRightHandThumb2: 'R_ThumbMid',
- mixamorigRightHandThumb3: 'R_ThumbTip',
- mixamorigRightHandIndex1: 'R_PointerBase',
- mixamorigRightHandIndex2: 'R_PointerMid',
- mixamorigRightHandIndex3: 'R_PointerTip',
- mixamorigRightHandMiddle1: 'R_FingersBase',
- mixamorigRightHandMiddle2: 'R_FingersMid',
- mixamorigRightHandMiddle3: 'R_FingersTip',
- mixamorigRightHandRing1: '',
- mixamorigRightHandRing2: '',
- mixamorigRightHandRing3: '',
- mixamorigRightHandPinky1: '',
- mixamorigRightHandPinky2: '',
- mixamorigRightHandPinky3: '',
- mixamorigLeftShoulder: 'L_Shoulder',
- mixamorigLeftArm: 'L_Arm',
- mixamorigLeftForeArm: 'L_Forearm',
- mixamorigLeftHand: 'L_HandBase',
- mixamorigLeftHandThumb1: 'L_ThumbBase',
- mixamorigLeftHandThumb2: 'L_ThumbMid',
- mixamorigLeftHandThumb3: 'L_ThumbTip',
- mixamorigLeftHandIndex1: 'L_PointerBase',
- mixamorigLeftHandIndex2: 'L_PointerMid',
- mixamorigLeftHandIndex3: 'L_PointerTip',
- mixamorigLeftHandMiddle1: 'L_FingersBase',
- mixamorigLeftHandMiddle2: 'L_FingersMid',
- mixamorigLeftHandMiddle3: 'L_FingersTip',
- mixamorigLeftHandRing1: '',
- mixamorigLeftHandRing2: '',
- mixamorigLeftHandRing3: '',
- mixamorigLeftHandPinky1: '',
- mixamorigLeftHandPinky2: '',
- mixamorigLeftHandPinky3: '',
- mixamorigRightUpLeg: 'R_UpLeg',
- mixamorigRightLeg: 'R_Leg',
- mixamorigRightFoot: 'R_Foot',
- mixamorigRightToeBase: 'R_Toe',
- mixamorigLeftUpLeg: 'L_UpLeg',
- mixamorigLeftLeg: 'L_Leg',
- mixamorigLeftFoot: 'L_Foot',
- mixamorigLeftToeBase: 'L_Toe',
-};
+ mixamorigHips: 'SpineBase',
+ mixamorigSpine: 'SpineLow',
+ mixamorigSpine1: 'SpineLow',
+ mixamorigSpine2: 'SpineMid',
+ mixamorigNeck: 'Neck',
+ mixamorigHead: 'Head',
+ mixamorigRightShoulder: 'R_Shoulder',
+ mixamorigRightArm: 'R_Arm',
+ mixamorigRightForeArm: 'R_Forearm',
+ mixamorigRightHand: 'R_HandBase',
+ mixamorigRightHandThumb1: 'R_ThumbBase',
+ mixamorigRightHandThumb2: 'R_ThumbMid',
+ mixamorigRightHandThumb3: 'R_ThumbTip',
+ mixamorigRightHandIndex1: 'R_PointerBase',
+ mixamorigRightHandIndex2: 'R_PointerMid',
+ mixamorigRightHandIndex3: 'R_PointerTip',
+ mixamorigRightHandMiddle1: 'R_FingersBase',
+ mixamorigRightHandMiddle2: 'R_FingersMid',
+ mixamorigRightHandMiddle3: 'R_FingersTip',
+ mixamorigRightHandRing1: '',
+ mixamorigRightHandRing2: '',
+ mixamorigRightHandRing3: '',
+ mixamorigRightHandPinky1: '',
+ mixamorigRightHandPinky2: '',
+ mixamorigRightHandPinky3: '',
+ mixamorigLeftShoulder: 'L_Shoulder',
+ mixamorigLeftArm: 'L_Arm',
+ mixamorigLeftForeArm: 'L_Forearm',
+ mixamorigLeftHand: 'L_HandBase',
+ mixamorigLeftHandThumb1: 'L_ThumbBase',
+ mixamorigLeftHandThumb2: 'L_ThumbMid',
+ mixamorigLeftHandThumb3: 'L_ThumbTip',
+ mixamorigLeftHandIndex1: 'L_PointerBase',
+ mixamorigLeftHandIndex2: 'L_PointerMid',
+ mixamorigLeftHandIndex3: 'L_PointerTip',
+ mixamorigLeftHandMiddle1: 'L_FingersBase',
+ mixamorigLeftHandMiddle2: 'L_FingersMid',
+ mixamorigLeftHandMiddle3: 'L_FingersTip',
+ mixamorigLeftHandRing1: '',
+ mixamorigLeftHandRing2: '',
+ mixamorigLeftHandRing3: '',
+ mixamorigLeftHandPinky1: '',
+ mixamorigLeftHandPinky2: '',
+ mixamorigLeftHandPinky3: '',
+ mixamorigRightUpLeg: 'R_UpLeg',
+ mixamorigRightLeg: 'R_Leg',
+ mixamorigRightFoot: 'R_Foot',
+ mixamorigRightToeBase: 'R_Toe',
+ mixamorigLeftUpLeg: 'L_UpLeg',
+ mixamorigLeftLeg: 'L_Leg',
+ mixamorigLeftFoot: 'L_Foot',
+ mixamorigLeftToeBase: 'L_Toe'
+}
diff --git a/src/lib/models/BoneCalculationData.ts b/src/lib/models/BoneCalculationData.ts
index e785c66..41e8d4b 100644
--- a/src/lib/models/BoneCalculationData.ts
+++ b/src/lib/models/BoneCalculationData.ts
@@ -1,21 +1,21 @@
-import { Bone } from 'three';
+import { type Bone } from 'three'
-export default class BoneCalculationData
+export default class BoneCalculationData
{
- public name: string;
- public bone_object: Bone;
- public supports_envelope_calculation: boolean;
- public has_child_bone: boolean;
- public assigned_vertices: Array<number>;
- public use_minimum_envelope_expand: boolean;
+ public name: string
+ public bone_object: Bone
+ public supports_envelope_calculation: boolean
+ public has_child_bone: boolean
+ public assigned_vertices: number[]
+ public use_minimum_envelope_expand: boolean
- constructor(name = '', bone , supports_envelope = false, has_child_bone = false, assigned_vertices = [], use_minimum_distance = false)
- {
- this.name = name;
- this.bone_object = bone;
- this.supports_envelope_calculation = supports_envelope;
- this.has_child_bone = has_child_bone;
- this.assigned_vertices = assigned_vertices;
- this.use_minimum_envelope_expand = use_minimum_distance;
- }
-}
\ No newline at end of file
+ constructor(name = '', bone: Bone, supports_envelope = false, has_child_bone = false, assigned_vertices = [], use_minimum_distance = false)
+ {
+ this.name = name
+ this.bone_object = bone
+ this.supports_envelope_calculation = supports_envelope
+ this.has_child_bone = has_child_bone
+ this.assigned_vertices = assigned_vertices
+ this.use_minimum_envelope_expand = use_minimum_distance
+ }
+}
diff --git a/src/lib/models/BoneTransformState.ts b/src/lib/models/BoneTransformState.ts
index 8f74d0c..b09ab86 100644
--- a/src/lib/models/BoneTransformState.ts
+++ b/src/lib/models/BoneTransformState.ts
@@ -1,17 +1,17 @@
-import { Vector3 } from 'three';
+import { type Vector3 } from 'three'
-export default class BoneTransformState
+export default class BoneTransformState
{
- public name: string;
- public position: Vector3;
- public rotation: Vector3; // Not sure if this is right
- public scale: Vector3;
+ public name: string
+ public position: Vector3
+ public rotation: Vector3 // Not sure if this is right
+ public scale: Vector3
- constructor(name = '', position, rotation, scale)
- {
- this.name = name;
- this.position = position;
- this.rotation = rotation;
- this.scale = scale;
- }
-}
\ No newline at end of file
+ constructor (name = '', position: Vector3, rotation: Vector3, scale: Vector3)
+ {
+ this.name = name
+ this.position = position
+ this.rotation = rotation
+ this.scale = scale
+ }
+}
diff --git a/src/lib/processes/StepAnimationsListing.ts b/src/lib/processes/StepAnimationsListing.ts
index eee4b06..98b7dab 100644
--- a/src/lib/processes/StepAnimationsListing.ts
+++ b/src/lib/processes/StepAnimationsListing.ts
@@ -1,400 +1,362 @@
-import { UI } from '../UI.js';
+import { UI } from '../UI.js'
-import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
-import { FBXLoader } from 'three/examples/jsm/loaders/FBXLoader.js';
+import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js'
+import { FBXLoader } from 'three/examples/jsm/loaders/FBXLoader.js'
-import { AnimationClip, AnimationMixer, Quaternion, Vector3 } from 'three';
-import { SkeletonType } from '../enums/SkeletonType.js';
-import { SkinnedMesh } from 'three';
-import { QuaternionKeyframeTrack } from 'three';
-import { KeyframeTrack } from 'three';
-import { AnimationAction } from 'three';
-import { MixamoToSimpleMapping } from '../mapping/MixamoToSimple.js';
+import { AnimationClip, AnimationMixer, Quaternion, Vector3, type SkinnedMesh, type QuaternionKeyframeTrack, type KeyframeTrack, type AnimationAction } from 'three'
+
+import { SkeletonType } from '../enums/SkeletonType.js'
+import { MixamoToSimpleMapping } from '../mapping/MixamoToSimple.js'
// Note: EventTarget is a built-ininterface and do not need to import it
export class StepAnimationsListing extends EventTarget
{
- private ui: UI;
- private animation_clips_loaded: AnimationClip[] = []
- private gltf_animation_loader: GLTFLoader;
- private fbx_animation_loader: FBXLoader;
-
- private animation_mixer: AnimationMixer;
- private skinned_meshes_to_animate: SkinnedMesh[] = []
- private current_playing_index: number = 0
- private skeleton_type: string = SkeletonType.BipedalSimple;
-
- private has_added_event_listeners: boolean = false
-
- constructor()
+ private readonly ui: UI
+ private animation_clips_loaded: AnimationClip[] = []
+ private gltf_animation_loader: GLTFLoader = new GLTFLoader()
+ private fbx_animation_loader: FBXLoader = new FBXLoader()
+
+ private animation_mixer: AnimationMixer = new AnimationMixer()
+ private skinned_meshes_to_animate: SkinnedMesh[] = []
+ private current_playing_index: number = 0
+ private skeleton_type: string = SkeletonType.BipedalSimple
+
+ private has_added_event_listeners: boolean = false
+
+ constructor () {
+ super()
+ this.ui = new UI()
+ }
+
+ public begin (): void
+ {
+ if (this.ui.dom_current_step_index != null)
{
- super();
- this.ui = new UI();
+ this.ui.dom_current_step_index.innerHTML = '4'
}
- public begin() {
- if(this.ui)
- {
- if (this.ui.dom_current_step_index)
- {
- this.ui.dom_current_step_index.innerHTML = '4';
- }
-
- if (this.ui.dom_current_step_element)
- {
- this.ui.dom_current_step_element.innerHTML = 'Test animations';
- }
-
- if (this.ui.dom_skinned_mesh_tools)
- {
- this.ui.dom_skinned_mesh_tools.style.display = 'flex';
- }
-
- if (this.ui.dom_skinned_mesh_animation_tools) {
- this.ui.dom_skinned_mesh_animation_tools.style.display = 'flex';
- }
-
- this.addEventListeners();
- }
- }
-
- public instructions_text()
+ if (this.ui.dom_current_step_element != null)
{
- return `<div>Instructions</div>
- <div>Test and export animations to GLB format</div>
- <ol>
- <li>Only GLB files can be exported</li>
- <li>Go back to edit skeleton if results don't look right</li>
- <li>Select animations you want to export by checking them by animation</li>
- </ol>`;
+ this.ui.dom_current_step_element.innerHTML = 'Test animations'
}
- public mixer()
+ if (this.ui.dom_skinned_mesh_tools != null)
{
- return this.animation_mixer
+ this.ui.dom_skinned_mesh_tools.style.display = 'flex'
}
- public animation_clips()
- {
- return this.animation_clips_loaded
+ if (this.ui.dom_skinned_mesh_animation_tools != null) {
+ this.ui.dom_skinned_mesh_animation_tools.style.display = 'flex'
}
- public load_and_apply_default_animation_to_skinned_mesh(final_skinned_meshes, skeleton_type)
- {
- this.skinned_meshes_to_animate = final_skinned_meshes
- this.skeleton_type = skeleton_type
-
- let animations_to_load_filepath: string = ''
- switch(skeleton_type)
- {
- case SkeletonType.BipedalSimple:
- animations_to_load_filepath = 'animations/character-simple-multiple.glb'
- break;
- case SkeletonType.Quadraped:
- animations_to_load_filepath = 'animations/quad-creature-animations.glb'
- break;
- case SkeletonType.BipedalFull:
- animations_to_load_filepath = 'animations/animations-mixamo-default.glb'
- break;
- }
-
- this.gltf_animation_loader = new GLTFLoader();
- this.gltf_animation_loader.load(animations_to_load_filepath, (gltf) => {
-
- // remove the animation position keyframes. That will mess up the skinning
- // process since we will be offsetting and moving the bone root positions
- this.load_animation_clips(gltf.animations)
-
- // create user interface with all available animation clips
- this.ui.build_animation_clip_ui(this.animation_clips_loaded);
-
- // create an animation mixer to do the playback. play the first by by default
- this.animation_mixer = new AnimationMixer();
+ this.add_event_listeners()
+ }
- this.play_animation(0);
- });
- }
-
- private extend_arm_animations_by_percentage(percentage: number): void
+ public instructions_text (): string
+ {
+ return `<div>Instructions</div>
+ <div>Test and export animations to GLB format</div>
+ <ol>
+ <li>Only GLB files can be exported</li>
+ <li>Go back to edit skeleton if results don't look right</li>
+ <li>Select animations you want to export by checking them by animation</li>
+ </ol>`
+ }
+
+ public mixer (): AnimationMixer
+ {
+ return this.animation_mixer
+ }
+
+ public animation_clips(): AnimationClip[]
+ {
+ return this.animation_clips_loaded
+ }
+
+ public load_and_apply_default_animation_to_skinned_mesh(final_skinned_meshes: SkinnedMesh[], skeleton_type: string): void
+ {
+ this.skinned_meshes_to_animate = final_skinned_meshes
+ this.skeleton_type = skeleton_type
+
+ let animations_to_load_filepath: string = ''
+ switch (skeleton_type)
{
- // loop through each animation clip to update the tracks
- this.animation_clips_loaded.forEach((animation_clip: AnimationClip) => {
-
- animation_clip.tracks.forEach((track: KeyframeTrack) => {
-
- // if our name does not contain 'quaternion', we need to exit
- // since we are only modifying the quaternion tracks (e.g. L_Arm.quaternion )
- if(track.name.indexOf('quaternion') < 0)
- {
- return
- }
-
- const quaterion_track: QuaternionKeyframeTrack = track;
-
- // if the track is an upper arm bone, then modify that
- const track_name_to_match: string = '_Arm' // for simplified human skeleton
- if(quaterion_track.name.indexOf(track_name_to_match) > -1)
- {
- const new_track_values: Float32Array = quaterion_track.values.slice(); // clone array
-
- const track_count: number = quaterion_track.times.length
- for(let i = 0; i < track_count; i++)
- {
- // get correct value since it is a quaternion
- const units_in_quaternions: number = 4
- const quaternion: Quaternion = new Quaternion();
- quaternion.setFromAxisAngle( new Vector3( 1, 0, 0 ), percentage/100 );
-
-
- // get the existing quaternion
- const existingQuaternion: Quaternion = new Quaternion(
- new_track_values[i * units_in_quaternions + 0],
- new_track_values[i * units_in_quaternions + 1],
- new_track_values[i * units_in_quaternions + 2],
- new_track_values[i * units_in_quaternions + 3]
- );
-
- // multiply the existing quaternion by the new quaternion
- existingQuaternion.multiply(quaternion);
-
-
- // this should change the first quaternion component of the track
- new_track_values[i * units_in_quaternions + 0] = existingQuaternion.x
- new_track_values[i * units_in_quaternions + 1] = existingQuaternion.y
- new_track_values[i * units_in_quaternions + 2] = existingQuaternion.z
- new_track_values[i * units_in_quaternions + 3] = existingQuaternion.w
- }
-
- track.values = new_track_values
- }
-
- })
-
- })
-
- // test out the new values for the animation
- // console.log(this.animation_clips_loaded)
- // this.animation_clips_loaded.forEach((animation_clip) => {
- // animation_clip.tracks.forEach((track) => {
-
- // if(track.name.indexOf('_Arm.quaternion') > -1)
- // {
- // console.log(animation_clip.name, track.name, track.values)
- // }
- // })
- // })
-
-
+ case SkeletonType.BipedalSimple:
+ animations_to_load_filepath = 'animations/character-simple-multiple.glb'
+ break
+ case SkeletonType.Quadraped:
+ animations_to_load_filepath = 'animations/quad-creature-animations.glb'
+ break
+ case SkeletonType.BipedalFull:
+ animations_to_load_filepath = 'animations/animations-mixamo-default.glb'
+ break
}
- private play_animation(index: number = 0): void
- {
- this.current_playing_index = index
+ this.gltf_animation_loader = new GLTFLoader()
+ this.gltf_animation_loader.load(animations_to_load_filepath, (gltf) => {
- // animation mixer has internal cache with animations. doing this helps clear it
- // otherwise modifications like arm extension will not update
- this.animation_mixer = new AnimationMixer();
+ // remove the animation position keyframes. That will mess up the skinning
+ // process since we will be offsetting and moving the bone root positions
+ this.load_animation_clips(gltf.animations)
- this.skinned_meshes_to_animate.forEach((skinned_mesh) => {
+ // create user interface with all available animation clips
+ this.ui.build_animation_clip_ui(this.animation_clips_loaded)
- const clip_to_play: AnimationClip = this.animation_clips_loaded[this.current_playing_index]
- let anim_action: AnimationAction = this.animation_mixer.clipAction(clip_to_play, skinned_mesh);
+ // create an animation mixer to do the playback. play the first by by default
+ this.animation_mixer = new AnimationMixer()
- anim_action.stop();
- anim_action.play();
+ this.play_animation(0)
+ })
+ }
- });
- }
-
- private load_animation_clips(animation_clips): void
- {
- this.animation_clips_loaded = this.remove_position_and_scale_keyframes_from_animations(animation_clips)
- }
-
- private addEventListeners(): void
- {
- if(this.has_added_event_listeners)
+ private extend_arm_animations_by_percentage(percentage: number): void
+ {
+ // loop through each animation clip to update the tracks
+ this.animation_clips_loaded.forEach((animation_clip: AnimationClip) => {
+ animation_clip.tracks.forEach((track: KeyframeTrack) => {
+ // if our name does not contain 'quaternion', we need to exit
+ // since we are only modifying the quaternion tracks (e.g. L_Arm.quaternion )
+ if (track.name.indexOf('quaternion') < 0)
{
- return
+ return
}
- // event listener for animation clip list with changing the current animation
- if (this.ui.dom_animation_clip_list) {
- this.ui.dom_animation_clip_list.addEventListener('click', (event) => {
- if (event.target && event.target.tagName === 'BUTTON')
- {
- let animation_index = event.target.getAttribute('data-index');
- this.play_animation(animation_index);
- }
- });
- }
-
- this.ui.dom_import_animations_button?.addEventListener('change', (event) => {
- const file = event.target?.files[0];
- const reader = new FileReader();
- reader.readAsDataURL(file);
-
- // extract filename from the file path
- const file_name = file.name.split('.').shift();
- const file_extension = file.name.split('.').pop();
-
- reader.onload = () => {
- var file_info = reader.result
-
- if(file_extension === 'fbx')
- {
- this.load_fbx_animation_clips(file_info, file_name)
- }
- else if(file_extension === 'glb' || file_extension === 'gltf')
- {
- this.load_gltf_animation_clips(file_info)
- }
+ const quaterion_track: QuaternionKeyframeTrack = track
- // clear out the file input field in case we want to test by loading same file again
- this.ui.dom_import_animations_button.value = '';
- };
-
- });
-
- this.ui.dom_extend_arm_button?.addEventListener('click', (event) => {
-
- let extend_arm_value = this.ui.dom_extend_arm_input.value
- this.extend_arm_animations_by_percentage(extend_arm_value)
-
- this.play_animation(this.current_playing_index)
-
- })
-
- // helps ensure we don't add event listeners multiple times
- this.has_added_event_listeners = true
- }
-
- private load_fbx_animation_clips(fbx_file, file_name: string): void
- {
- this.fbx_animation_loader = new FBXLoader();
-
- this.fbx_animation_loader.load(fbx_file, (fbx) => {
-
- let animations_for_scene: AnimationClip[] = fbx.animations; // we only need the animations
-
- // check to see if the animation is a mixamo skeleton. we will need this later for potential mapping
- const is_mixamo_animation: boolean = animations_for_scene[0].name === 'mixamo.com';
-
- if(is_mixamo_animation)
- {
- // mutates animations_for_scene contents
- this.process_mixamo_animation_clips(animations_for_scene, file_name)
- }
-
- // add the animations to the animation_clips_loaded
- // update the UI with the new animation clips
- this.append_animation_clips(animations_for_scene)
- this.ui.build_animation_clip_ui(this.animation_clips_loaded);
- });
-
- }
-
- private process_mixamo_animation_clips(animation_clips: AnimationClip[], file_name: string): void
+ // if the track is an upper arm bone, then modify that
+ const track_name_to_match: string = '_Arm' // for simplified human skeleton
+ if (quaterion_track.name.indexOf(track_name_to_match) > -1)
+ {
+ const new_track_values: Float32Array = quaterion_track.values.slice() // clone array
+
+ const track_count: number = quaterion_track.times.length
+ for (let i = 0; i < track_count; i++)
+ {
+ // get correct value since it is a quaternion
+ const units_in_quaternions: number = 4
+ const quaternion: Quaternion = new Quaternion()
+ quaternion.setFromAxisAngle(new Vector3(1, 0, 0), percentage / 100)
+
+ // get the existing quaternion
+ const existing_quaternion: Quaternion = new Quaternion(
+ new_track_values[i * units_in_quaternions + 0],
+ new_track_values[i * units_in_quaternions + 1],
+ new_track_values[i * units_in_quaternions + 2],
+ new_track_values[i * units_in_quaternions + 3]
+ )
+
+ // multiply the existing quaternion by the new quaternion
+ existing_quaternion.multiply(quaternion)
+
+ // this should change the first quaternion component of the track
+ new_track_values[i * units_in_quaternions + 0] = existing_quaternion.x
+ new_track_values[i * units_in_quaternions + 1] = existing_quaternion.y
+ new_track_values[i * units_in_quaternions + 2] = existing_quaternion.z
+ new_track_values[i * units_in_quaternions + 3] = existing_quaternion.w
+ }
+
+ track.values = new_track_values
+ }
+ })
+ })
+ }
+
+ private play_animation(index: number = 0): void
+ {
+ this.current_playing_index = index
+
+ // animation mixer has internal cache with animations. doing this helps clear it
+ // otherwise modifications like arm extension will not update
+ this.animation_mixer = new AnimationMixer()
+
+ this.skinned_meshes_to_animate.forEach((skinned_mesh) => {
+ const clip_to_play: AnimationClip = this.animation_clips_loaded[this.current_playing_index]
+ const anim_action: AnimationAction = this.animation_mixer.clipAction(clip_to_play, skinned_mesh)
+
+ anim_action.stop()
+ anim_action.play()
+ })
+ }
+
+ private load_animation_clips(animation_clips: AnimationClip[]): void
+ {
+ this.animation_clips_loaded = this.remove_position_and_scale_keyframes_from_animations(animation_clips)
+ }
+
+ private add_event_listeners(): void
+ {
+ if (this.has_added_event_listeners)
{
- const using_simplified_skeleton: boolean = this.skeleton_type === SkeletonType.BipedalSimple;
-
- // loop through each animation clip to update the tracks
- animation_clips.forEach((animation_clip, index) => {
-
- animation_clip.name = `${file_name} (${ index.toString() })`; // mixamo just calles the clip names 'mixamo.com'
-
- // get the track name and replace it with our simplfied mapping
- animation_clip.tracks.forEach((track) => {
-
- const mixamo_bone_name = track.name.split('.')[0];
- const keyframe_type = track.name.split('.')[1];
-
- // selected skeleton is a simplified mixamo skeleton. We need to map bone names
- if(using_simplified_skeleton)
- {
- const is_mappping_found = MixamoToSimpleMapping[mixamo_bone_name];
- if (is_mappping_found)
- {
- track.name = MixamoToSimpleMapping[mixamo_bone_name] + '.' + keyframe_type;
- }
- }
-
- // Mixamo has 1 unit = 1cm. We need to scale position data to compensate for that
- // the 200 value is arbitrary, but the results seem to look good, so I went with that.
- if(keyframe_type === 'position')
- {
- (track.values as Float32Array).forEach((value, index) => {
- track.values[index] = value / 200
- })
- }
- })
-
- // with the simple skeleton, there are many bones that are not used from the full mixamo animation
- // remove unmapped bones since they won't be used
- if(using_simplified_skeleton)
- {
- animation_clip.tracks = animation_clip.tracks.filter(x => x.name.indexOf('mixamorig') < 0);
- }
- });
-
+ return
}
- private load_gltf_animation_clips(gltf_file)
- {
- this.gltf_animation_loader = new GLTFLoader();
-
- this.gltf_animation_loader.load(gltf_file, (gltf) => {
-
- const animations_for_scene = gltf.animations; // we only need the animations
-
- // add the animations to the animation_clips_loaded
- // update the UI with the new animation clips
- this.append_animation_clips(animations_for_scene)
- this.ui.build_animation_clip_ui(this.animation_clips_loaded);
- });
-
-
+ // event listener for animation clip list with changing the current animation
+ if (this.ui.dom_animation_clip_list != null) {
+ this.ui.dom_animation_clip_list.addEventListener('click', (event) => {
+ if ((event.target != null) && event.target.tagName === 'BUTTON')
+ {
+ const animation_index: number = event.target.getAttribute('data-index')
+ this.play_animation(animation_index)
+ }
+ })
}
- private append_animation_clips(animation_clips)
- {
- // loop through each animation_clip and change name if the animaton name already exists
- // see if the aniation name is already taken.. if so, add a number to the end of the name
- animation_clips.forEach((animation_clip) => {
+ this.ui.dom_import_animations_button?.addEventListener('change', (event) => {
+ const file = event.target?.files[0]
+ const reader = new FileReader()
+ reader.readAsDataURL(file)
- let is_name_found = this.animation_clips_loaded.find((animation_clip_loaded) => {
- return animation_clip_loaded.name === animation_clip.name
- })
+ // extract filename from the file path
+ const file_name = file.name.split('.').shift()
+ const file_extension = file.name.split('.').pop()
- if(is_name_found)
- {
- animation_clip.name = animation_clip.name + ' Copy'
- }
- });
+ reader.onload = () => {
+ // GLB and FBX will come in as a data:application/octet-stream;base64
+ // GLTF will come in as a JSON string
+ // even the binary data comes in as string, so treat it all that way for now
+ const file_info: string = reader.result
- this.animation_clips_loaded.push(...this.remove_position_and_scale_keyframes_from_animations(animation_clips))
- }
-
- private remove_position_and_scale_keyframes_from_animations(animation_clip_list)
- {
- let animation_clips = this.deep_clone_animation_clips(animation_clip_list)
-
- let filtered_tracks = animation_clips.map((animation_clip) => {
- const filteredTracks = animation_clip.tracks.filter((track) => {
- return track.name.indexOf('quaternion') > 0;
- });
- return new AnimationClip(animation_clip.name, animation_clip.duration, filteredTracks);
- });
-
- return animation_clips
- }
+ if (file_extension === 'fbx')
+ {
+ this.load_fbx_animation_clips(file_info, file_name)
+ }
+ else if (file_extension === 'glb' || file_extension === 'gltf')
+ {
+ this.load_gltf_animation_clips(file_info)
+ }
- private deep_clone_animation_clips(animation_clips)
- {
- return animation_clips.map(clip => {
- let tracks = clip.tracks.map(track => track.clone());
- return new AnimationClip(clip.name, clip.duration, tracks);
- });
- }
+ // clear out the file input field in case we want to test by loading same file again
+ this.ui.dom_import_animations_button.value = ''
+ }
+ })
+
+ this.ui.dom_extend_arm_button?.addEventListener('click', (event) => {
+ const extend_arm_value: number = this.ui.dom_extend_arm_input?.value
+ this.extend_arm_animations_by_percentage(extend_arm_value)
+ this.play_animation(this.current_playing_index)
+ })
+
+ // helps ensure we don't add event listeners multiple times
+ this.has_added_event_listeners = true
+ }
+
+ private load_fbx_animation_clips(fbx_file: string, file_name: string): void
+ {
+ this.fbx_animation_loader = new FBXLoader()
+
+ this.fbx_animation_loader.load(fbx_file, (fbx) => {
+ const animations_for_scene: AnimationClip[] = fbx.animations // we only need the animations
+
+ // check to see if the animation is a mixamo skeleton. we will need this later for potential mapping
+ const is_mixamo_animation: boolean = animations_for_scene[0].name === 'mixamo.com'
+
+ if (is_mixamo_animation)
+ {
+ // mutates animations_for_scene contents
+ this.process_mixamo_animation_clips(animations_for_scene, file_name)
+ }
+
+ // add the animations to the animation_clips_loaded
+ // update the UI with the new animation clips
+ this.append_animation_clips(animations_for_scene)
+ this.ui.build_animation_clip_ui(this.animation_clips_loaded)
+ })
+ }
+
+ private process_mixamo_animation_clips(animation_clips: AnimationClip[], file_name: string): void
+ {
+ const using_simplified_skeleton: boolean = this.skeleton_type === SkeletonType.BipedalSimple
+
+ // loop through each animation clip to update the tracks
+ animation_clips.forEach((animation_clip, index) => {
+ animation_clip.name = `${file_name} (${index.toString()})` // mixamo just calles the clip names 'mixamo.com'
+
+ // get the track name and replace it with our simplfied mapping
+ animation_clip.tracks.forEach((track) => {
+ const mixamo_bone_name: string = track.name.split('.')[0]
+ const keyframe_type: string = track.name.split('.')[1]
+
+ // selected skeleton is a simplified mixamo skeleton. We need to map bone names
+ if (using_simplified_skeleton)
+ {
+ const is_mappping_found: boolean = MixamoToSimpleMapping[mixamo_bone_name]
+ if (is_mappping_found)
+ {
+ track.name = MixamoToSimpleMapping[mixamo_bone_name] + '.' + keyframe_type
+ }
+ }
-}
\ No newline at end of file
+ // Mixamo has 1 unit = 1cm. We need to scale position data to compensate for that
+ // the 200 value is arbitrary, but the results seem to look good, so I went with that.
+ if (keyframe_type === 'position')
+ {
+ (track.values as Float32Array).forEach((value, index) => {
+ track.values[index] = value / 200
+ })
+ }
+ })
+
+ // with the simple skeleton, there are many bones that are not used from the full mixamo animation
+ // remove unmapped bones since they won't be used
+ if (using_simplified_skeleton)
+ {
+ animation_clip.tracks = animation_clip.tracks.filter(x => !x.name.includes('mixamorig'))
+ }
+ })
+ }
+
+ private load_gltf_animation_clips(gltf_file: string): void
+ {
+ this.gltf_animation_loader = new GLTFLoader()
+
+ this.gltf_animation_loader.load(gltf_file, (gltf) => {
+ const animations_for_scene = gltf.animations // we only need the animations
+
+ // add the animations to the animation_clips_loaded
+ // update the UI with the new animation clips
+ this.append_animation_clips(animations_for_scene)
+ this.ui.build_animation_clip_ui(this.animation_clips_loaded)
+ })
+ }
+
+ private append_animation_clips(animation_clips: AnimationClip[]): void
+ {
+ // loop through each animation_clip and change name if the animaton name already exists
+ // see if the aniation name is already taken.. if so, add a number to the end of the name
+ animation_clips.forEach((animation_clip) => {
+ const is_name_found: AnimationClip | undefined = this.animation_clips_loaded.find((animation_clip_loaded) => {
+ return animation_clip_loaded.name === animation_clip.name
+ })
+
+ if (is_name_found !== undefined)
+ {
+ animation_clip.name = animation_clip.name + ' Copy'
+ }
+ })
+
+ this.animation_clips_loaded.push(...this.remove_position_and_scale_keyframes_from_animations(animation_clips))
+ }
+
+ private remove_position_and_scale_keyframes_from_animations(animation_clip_list: AnimationClip[]): AnimationClip[]
+ {
+ // Don't use this for now. Maybe delete this function later
+
+ const animation_clips = this.deep_clone_animation_clips(animation_clip_list)
+ // const filtered_tracks = animation_clips.map((animation_clip) => {
+ // const filteredTracks = animation_clip.tracks.filter((track) => {
+ // return track.name.indexOf('quaternion') > 0
+ // })
+ // return new AnimationClip(animation_clip.name, animation_clip.duration, filteredTracks)
+ // })
+
+ return animation_clips
+ }
+
+ private deep_clone_animation_clips(animation_clips: AnimationClip[]): AnimationClip[]
+ {
+ return animation_clips.map((clip: AnimationClip) => {
+ const tracks = clip.tracks.map(track => track.clone())
+ return new AnimationClip(clip.name, clip.duration, tracks)
+ })
+ }
+}
diff --git a/src/lib/processes/StepEditSkeleton.js b/src/lib/processes/StepEditSkeleton.js
index e946304..e5df9e1 100644
--- a/src/lib/processes/StepEditSkeleton.js
+++ b/src/lib/processes/StepEditSkeleton.js
@@ -1,48 +1,41 @@
-import { UI } from '../UI.js';
-
+import { UI } from '../UI.js'
import { Generators } from '../Generators.ts'
-
import { Utility } from '../Utilities.ts'
-
-import { Vector3, Euler } from 'three';
-import { SkinningFormula } from '../enums/SkinningFormula.js';
+import { Vector3, Euler } from 'three'
+import { SkinningFormula } from '../enums/SkinningFormula.js'
export class StepEditSkeleton extends EventTarget {
-
- ui = null;
- edited_armature = null;
- edited_skeleton = null;
- mirror_mode_enabled = true
- skinning_algorithm = SkinningFormula.Envelope
- show_debug = true
-
- constructor()
- {
- super();
- this.ui = new UI();
- }
-
- begin()
- {
- // show UI elemnents for editing mesh
- this.ui.dom_current_step_index.innerHTML = '3'
- this.ui.dom_current_step_element.innerHTML = 'Edit Skeleton'
- this.ui.dom_transform_controls_switch.style.display = 'flex';
- this.ui.dom_skeleton_edit_tools.style.display = 'flex';
-
-
- // get initial state for the show_debug checkbox
- this.show_debug = this.ui.dom_enable_skin_debugging.checked
- this._update_bind_button_text()
-
-
- this.addEventListeners();
- }
-
-
- instructions_text()
- {
- return `<div>Instructions</div>
+ ui = null
+ edited_armature = null
+ edited_skeleton = null
+ mirror_mode_enabled = true
+ skinning_algorithm = SkinningFormula.Envelope
+ show_debug = true
+
+ constructor()
+ {
+ super()
+ this.ui = new UI()
+ }
+
+ begin()
+ {
+ // show UI elemnents for editing mesh
+ this.ui.dom_current_step_index.innerHTML = '3'
+ this.ui.dom_current_step_element.innerHTML = 'Edit Skeleton'
+ this.ui.dom_transform_controls_switch.style.display = 'flex'
+ this.ui.dom_skeleton_edit_tools.style.display = 'flex'
+
+ // get initial state for the show_debug checkbox
+ this.show_debug = this.ui.dom_enable_skin_debugging.checked
+ this._update_bind_button_text()
+
+ this.addEventListeners()
+ }
+
+ instructions_text()
+ {
+ return `<div>Instructions</div>
<div>Position skeleton into correct postion</div>
<ol>
<li>Context clicking in model will select bones</li>
@@ -50,183 +43,177 @@ export class StepEditSkeleton extends EventTarget {
<li>Use the "Mirror" option to help position symmetrical bones</li>
<li>Debug skinning allows you to preview skinning results for testing</li>
<li>Try a different skinning algorithm if you aren't getting the results you like</li>
- </ol>`;
- }
+ </ol>`
+ }
- _update_bind_button_text()
+ _update_bind_button_text()
+ {
+ if(this.show_debug)
{
- if(this.show_debug)
- {
- this.ui.dom_bind_pose_button.innerHTML = 'Test Skinning'
- return
- }
-
- this.ui.dom_bind_pose_button.innerHTML = 'Skin Model'
+ this.ui.dom_bind_pose_button.innerHTML = 'Test Skinning'
+ return
}
- show_debugging()
- {
- return this.show_debug
- }
+ this.ui.dom_bind_pose_button.innerHTML = 'Skin Model'
+ }
+ show_debugging()
+ {
+ return this.show_debug
+ }
- set_mirror_mode_enabled(value)
- {
- this.mirror_mode_enabled = value
- }
+ set_mirror_mode_enabled(value)
+ {
+ this.mirror_mode_enabled = value
+ }
- is_mirror_mode_enabled()
- {
- return this.mirror_mode_enabled
- }
+ is_mirror_mode_enabled()
+ {
+ return this.mirror_mode_enabled
+ }
- algorithm()
+ algorithm()
+ {
+ return this.skinning_algorithm
+ }
+
+ addEventListeners()
+ {
+ this.ui.dom_move_to_origin_button.addEventListener('click', () =>
{
- return this.skinning_algorithm
- }
+ // the base bone itself is not at the origin, but the parent is the armature object
+ this.edited_skeleton.bones[0].position.set(0, 0, 0)
+ this.edited_skeleton.bones[0].updateWorldMatrix(true, true) // update on renderer
+ })
- addEventListeners()
+ this.ui.dom_scale_skeleton_button.addEventListener('click', () =>
{
- this.ui.dom_move_to_origin_button.addEventListener('click', () =>
- {
- // the base bone itself is not at the origin, but the parent is the armature object
- this.edited_skeleton.bones[0].position.set(0, 0, 0);
- this.edited_skeleton.bones[0].updateWorldMatrix(true, true); // update on renderer
- });
-
- this.ui.dom_scale_skeleton_button.addEventListener('click', () =>
- {
- const modify_scale = 1.0 + (this.ui.dom_scale_skeleton_input_box.value/100.0);
- Utility.scale_armature_by_scalar(this.edited_armature, modify_scale)
- this.edited_armature.updateWorldMatrix(true, true);
- });
-
- this.ui.dom_mirror_skeleton_checkbox.addEventListener('change', (event) => {
- // mirror skeleton movements along the X axis
- this.set_mirror_mode_enabled(event.target.checked)
- });
-
- this.ui.dom_skinning_algorithm_selection.addEventListener('change', (event) => {
- const selection = event.target.value;
-
- if(selection === 'bone-envelope')
- {
- this.skinning_algorithm = SkinningFormula.Envelope
- }
- else if(selection === 'closest-bone')
- {
- this.skinning_algorithm = SkinningFormula.Distance
- }
- else if(selection === 'closest-bone-middle')
- {
- this.skinning_algorithm = SkinningFormula.MedianDistance
- }
- });
-
- this.ui.dom_enable_skin_debugging.addEventListener('change', (event) => {
- this.show_debug = event.target.checked
- this._update_bind_button_text()
- });
- }
+ const modify_scale = 1.0 + (this.ui.dom_scale_skeleton_input_box.value/100.0)
+ Utility.scale_armature_by_scalar(this.edited_armature, modify_scale)
+ this.edited_armature.updateWorldMatrix(true, true)
+ })
- removeEventListeners()
+ this.ui.dom_mirror_skeleton_checkbox.addEventListener('change', (event) => {
+ // mirror skeleton movements along the X axis
+ this.set_mirror_mode_enabled(event.target.checked)
+ })
+
+ this.ui.dom_skinning_algorithm_selection.addEventListener('change', (event) => {
+ const selection = event.target.value
+
+ if(selection === 'bone-envelope')
+ {
+ this.skinning_algorithm = SkinningFormula.Envelope
+ }
+ else if(selection === 'closest-bone')
+ {
+ this.skinning_algorithm = SkinningFormula.Distance
+ }
+ else if(selection === 'closest-bone-middle')
+ {
+ this.skinning_algorithm = SkinningFormula.MedianDistance
+ }
+ })
+
+ this.ui.dom_enable_skin_debugging.addEventListener('change', (event) => {
+ this.show_debug = event.target.checked
+ this._update_bind_button_text()
+ })
+ }
+
+ removeEventListeners()
+ {
+ this.ui.dom_move_to_origin_button.removeEventListener('click', () => {})
+ this.ui.dom_scale_skeleton_button.removeEventListener('click', () => {})
+ this.ui.dom_mirror_skeleton_checkbox.removeEventListener('change', () => {})
+ this.ui.dom_skinning_algorithm_selection.removeEventListener('change', () => {})
+ this.ui.dom_enable_skin_debugging.removeEventListener('change', () => {})
+ }
+
+ set_armature(armature)
+ {
+ if(this.edited_armature !== null)
{
- this.ui.dom_move_to_origin_button.removeEventListener('click', () => {});
- this.ui.dom_scale_skeleton_button.removeEventListener('click', () => {});
- this.ui.dom_mirror_skeleton_checkbox.removeEventListener('change', () => {});
- this.ui.dom_skinning_algorithm_selection.removeEventListener('change', () => {});
- this.ui.dom_enable_skin_debugging.removeEventListener('change', () => {});
+ return this.edited_armature
}
- set_armature(armature)
- {
- if(this.edited_armature !== null)
- {
- return this.edited_armature
- }
+ this.edited_armature = armature.clone()
- this.edited_armature = armature.clone();
+ this._create_skeleton()
+ }
- this._create_skeleton()
- }
+ _create_skeleton()
+ {
+ // create skeleton and helper to visualize
+ this.edited_skeleton = Generators.create_skeleton(this.edited_armature.children[0])
+ this.edited_skeleton.name = 'Editing Skeleton'
- _create_skeleton()
- {
- // create skeleton and helper to visualize
- this.edited_skeleton = Generators.create_skeleton(this.edited_armature.children[0]);
- this.edited_skeleton.name = 'Editing Skeleton';
+ // update the world matrix for the skeleton
+ // without this the skeleton helper won't appear when the bones are first loaded
+ this.edited_skeleton.bones[0].updateWorldMatrix( true, true )
- // update the world matrix for the skeleton
- // without this the skeleton helper won't appear when the bones are first loaded
- this.edited_skeleton.bones[0].updateWorldMatrix( true, true );
+ return this.edited_skeleton
+ }
- return this.edited_skeleton
- }
+ armature()
+ {
+ return this.edited_armature
+ }
+
+ skeleton()
+ {
+ return this.edited_skeleton
+ }
+
+ apply_mirror_mode(selected_bone, transform_type)
+ {
+ // if we are on the positive side mirror mode is enabled
+ // we need to change the position of the bone on the other side of the mirror
+
+ // first step is to find the base bone name
+ // strip out the left/right and _L/_R from the name
+ // mixamo is a common skeleton that prefixes everything with mixamorig_, so remove that
+ const base_bone_name = Utility.calculate_bone_base_name(selected_bone.name)
- armature()
+ // Find another bone that has the same base name
+ // that should be the mirror
+ let mirror_bone = null
+
+ this.edited_skeleton.bones.forEach((bone) =>
{
- return this.edited_armature
- }
+ const bone_name_to_compare = Utility.calculate_bone_base_name(bone.name)
+ if(bone_name_to_compare === base_bone_name && bone.name !== selected_bone.name)
+ {
+ mirror_bone = bone
+ }
+ })
- skeleton()
+ if(mirror_bone === null)
{
- return this.edited_skeleton
+ return // we probably something along the axis (head, neck, spine)
}
- apply_mirror_mode(selected_bone, transform_type)
+ if(transform_type === 'translate')
{
- // if we are on the positive side mirror mode is enabled
- // we need to change the position of the bone on the other side of the mirror
-
- // first step is to find the base bone name
- // strip out the left/right and _L/_R from the name
- // mixamo is a common skeleton that prefixes everything with mixamorig_, so remove that
- const base_bone_name = Utility.calculate_bone_base_name(selected_bone.name)
-
- // Find another bone that has the same base name
- // that should be the mirror
- let mirror_bone = null;
-
- this.edited_skeleton.bones.forEach((bone) =>
- {
- const bone_name_to_compare = Utility.calculate_bone_base_name(bone.name)
- if(bone_name_to_compare === base_bone_name && bone.name !== selected_bone.name)
- {
- mirror_bone = bone;
- }
-
- });
-
- if(mirror_bone === null)
- {
- return; // we probably something along the axis (head, neck, spine)
- }
-
-
-
- if(transform_type === 'translate')
- {
- // move the mirror bone in the -X value of the transform control
- // this will mirror the movement of the bone
- mirror_bone.position.copy(
- new Vector3(
- -selected_bone.position.x,
- selected_bone.position.y,
- selected_bone.position.z,
- ))
- }
-
- if (transform_type === 'rotate') {
- const euler = new Euler(
- selected_bone.rotation.x,
- -selected_bone.rotation.y,
- -selected_bone.rotation.z,
- );
- mirror_bone.quaternion.setFromEuler(euler);
- }
-
- mirror_bone.updateWorldMatrix(true, true);
+ // move the mirror bone in the -X value of the transform control
+ // this will mirror the movement of the bone
+ mirror_bone.position.copy(
+ new Vector3(
+ -selected_bone.position.x,
+ selected_bone.position.y,
+ selected_bone.position.z,
+ ))
}
+ if (transform_type === 'rotate') {
+ const euler = new Euler(
+ selected_bone.rotation.x,
+ -selected_bone.rotation.y,
+ -selected_bone.rotation.z,
+ )
+ mirror_bone.quaternion.setFromEuler(euler)
+ }
+ mirror_bone.updateWorldMatrix(true, true)
+ }
}
diff --git a/src/lib/processes/StepExportToFile.js b/src/lib/processes/StepExportToFile.js
index 8ab2e21..3ffcec6 100644
--- a/src/lib/processes/StepExportToFile.js
+++ b/src/lib/processes/StepExportToFile.js
@@ -1,97 +1,94 @@
-import { UI } from '../UI.js';
-import { GLTFExporter } from 'three/examples/jsm/exporters/GLTFExporter.js';
-import * as SkeletonUtils from 'three/addons/utils/SkeletonUtils.js';
+import { UI } from '../UI.js'
+import { GLTFExporter } from 'three/examples/jsm/exporters/GLTFExporter.js'
+import * as SkeletonUtils from 'three/addons/utils/SkeletonUtils.js'
// import scene from three.js
-import { Scene } from 'three';
+import { Scene } from 'three'
// Note: EventTarget is a built-ininterface and do not need to import it
export class StepExportToFile extends EventTarget
{
- ui = null;
- animation_clips_to_export = []
-
- constructor()
+ ui = null
+ animation_clips_to_export = []
+
+ constructor()
+ {
+ super()
+ this.ui = new UI()
+ }
+
+ set_animation_clips_to_export(all_animations_clips)
+ {
+ this.animation_clips_to_export = []
+ const animation_checkboxes = this.ui.get_animated_selected_elements()
+ animation_checkboxes.forEach((checkbox) => {
+ if(checkbox.checked)
+ {
+ const animation_index = checkbox.getAttribute('value')
+ let originalClip = all_animations_clips[animation_index]
+ let clonedClip = originalClip.clone()
+ this.animation_clips_to_export.push(clonedClip)
+ }
+ })
+ }
+
+ export(skinned_meshes, filename = 'exported_model')
+ {
+ if(this.animation_clips_to_export.length == 0)
{
- super();
- this.ui = new UI();
+ console.log('ERROR: No animation clips added to export')
+ return
}
- set_animation_clips_to_export(all_animations_clips)
- {
- this.animation_clips_to_export = [];
- const animation_checkboxes = this.ui.get_animated_selected_elements()
- animation_checkboxes.forEach((checkbox) => {
- if(checkbox.checked)
- {
- const animation_index = checkbox.getAttribute('value');
- let originalClip = all_animations_clips[animation_index];
- let clonedClip = originalClip.clone();
- this.animation_clips_to_export.push(clonedClip);
- }
- })
- }
-
- export(skinned_meshes, filename = 'exported_model')
- {
- if(this.animation_clips_to_export.length == 0)
- {
- console.log('ERROR: No animation clips added to export')
- return
- }
-
- const export_scene = new Scene();
+ const export_scene = new Scene()
- skinned_meshes.forEach((final_skinned_mesh) => {
- export_scene.add( SkeletonUtils.clone(final_skinned_mesh) );
- });
+ skinned_meshes.forEach((final_skinned_mesh) => {
+ export_scene.add(SkeletonUtils.clone(final_skinned_mesh))
+ })
- this.export_GLB(export_scene, this.animation_clips_to_export, filename);
- }
+ this.export_GLB(export_scene, this.animation_clips_to_export, filename)
+ }
- export_GLB(exported_scene, animations_to_export, file_name)
- {
- const gltf_exporter = new GLTFExporter();
+ export_GLB(exported_scene, animations_to_export, file_name)
+ {
+ const gltf_exporter = new GLTFExporter()
- let export_options =
+ let export_options =
{
- binary: true,
- onlyVisible: false,
- embedImages: true,
- animations: animations_to_export,
- };
-
- gltf_exporter.parse(exported_scene, (result) =>
- {
- if ( result instanceof ArrayBuffer )
- {
- this._save_array_buffer( result, `${file_name}.glb` );
- }
- else
- {
- console.log('ERROR: result is not an instance of ArrayBuffer')
- }
- },
- (error) =>
- {
- console.log( 'An error happened during parsing', error );
- },
- export_options
- )
- };
+ binary: true,
+ onlyVisible: false,
+ embedImages: true,
+ animations: animations_to_export,
+ }
- _save_file(blob, filename)
+ gltf_exporter.parse(exported_scene, (result) =>
{
- this.ui.dom_export_button_hidden_link.href = URL.createObjectURL(blob);
- this.ui.dom_export_button_hidden_link.download = filename;
- this.ui.dom_export_button_hidden_link.click();
- }
-
- // used for GLB to turn content into a byte array for saving
- _save_array_buffer( buffer, filename ) {
- this._save_file( new Blob( [ buffer ], { type: 'application/octet-stream' } ), filename );
- }
-
-
-
-}
\ No newline at end of file
+ if (result instanceof ArrayBuffer)
+ {
+ this._save_array_buffer(result, `${file_name}.glb`)
+ }
+ else
+ {
+ console.log('ERROR: result is not an instance of ArrayBuffer')
+ }
+ },
+ (error) =>
+ {
+ console.log('An error happened during parsing', error)
+ },
+ export_options
+ )
+ };
+
+ _save_file(blob, filename)
+ {
+ this.ui.dom_export_button_hidden_link.href = URL.createObjectURL(blob)
+ this.ui.dom_export_button_hidden_link.download = filename
+ this.ui.dom_export_button_hidden_link.click()
+ }
+
+ // used for GLB to turn content into a byte array for saving
+ _save_array_buffer(buffer, filename) {
+ this._save_file(new Blob([buffer], { type: 'application/octet-stream' }), filename)
+ }
+}
diff --git a/src/lib/processes/StepLoadModel.js b/src/lib/processes/StepLoadModel.js
index 917d016..a51bc02 100644
--- a/src/lib/processes/StepLoadModel.js
+++ b/src/lib/processes/StepLoadModel.js
@@ -1,118 +1,110 @@
-import { UI } from '../UI.js';
-
-import * as THREE from 'three';
-import { Box3 } from 'three/src/math/Box3.js';
-import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
+import { UI } from '../UI.js'
+import * as THREE from 'three'
+import { Box3 } from 'three/src/math/Box3.js'
+import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js'
// Note: EventTarget is a built-ininterface and do not need to import it
export class StepLoadModel extends EventTarget
{
- loader = null
- ui = null
- original_model_data = null
-
- final_mesh_data = null
-
- debug_model_loading = false
-
- // there can be multiple objects in a model, so store them in a list
- geometry_list = []
- material_list = []
-
- // for debugging, let's count these to help us test performance things better
- vertex_count = 0;
- triangle_count = 0;
- objects_count = 0;
-
-
-
- // function that goes through all our geometry data and calculates how many triangles we have
- _calculate_mesh_metrics()
+ loader = null
+ ui = null
+ original_model_data = null
+
+ final_mesh_data = null
+
+ debug_model_loading = false
+
+ // there can be multiple objects in a model, so store them in a list
+ geometry_list = []
+ material_list = []
+
+ // for debugging, let's count these to help us test performance things better
+ vertex_count = 0
+ triangle_count = 0
+ objects_count = 0
+
+ // function that goes through all our geometry data and calculates how many triangles we have
+ _calculate_mesh_metrics()
+ {
+ let triangle_count = 0
+ let vertex_count = 0
+
+ // calculate all the loaded mesh data
+ this.models_geometry_list().forEach((geometry) => {
+ triangle_count += geometry.attributes.position.count / 3
+ vertex_count += geometry.attributes.position.count
+ })
+
+ this.triangle_count = triangle_count
+ this.vertex_count = vertex_count
+ this.objects_count = this.models_geometry_list().length
+ }
+
+ _calculate_geometry_list()
+ {
+ if(this.final_mesh_data === undefined)
{
- let triangle_count = 0;
- let vertex_count = 0
-
- // calculate all the loaded mesh data
- this.models_geometry_list().forEach((geometry) => {
- triangle_count += geometry.attributes.position.count / 3;
- vertex_count += geometry.attributes.position.count;
- })
-
- this.triangle_count = triangle_count;
- this.vertex_count = vertex_count;
- this.objects_count = this.models_geometry_list().length;
+ console.error('original model not loaded yet. Cannot do calculations')
}
- _calculate_geometry_list()
- {
-
- if(this.final_mesh_data === undefined)
+ this.final_mesh_data.traverse((child) => {
+ if(child.type === 'Mesh')
{
- console.error('original model not loaded yet. Cannot do calculations')
+ const geometry_to_add = child.geometry.clone()
+ geometry_to_add.name = child.name
+ this.geometry_list.push(geometry_to_add)
+ this.material_list.push(child.material.clone())
}
-
- this.final_mesh_data.traverse((child) => {
- if(child.type === 'Mesh')
- {
- let geometry_to_add = child.geometry.clone();
- geometry_to_add.name = child.name;
- this.geometry_list.push(geometry_to_add)
- this.material_list.push(child.material.clone())
- }
- })
-
- // debugging type data
- this._calculate_mesh_metrics()
- console.log( `Vertex count:${this.vertex_count} Triangle Count:${this.triangle_count} Object Count:${this.objects_count} `)
- }
-
-
- constructor()
- {
- super();
- }
-
- begin()
- {
- this.ui = new UI();
- this.ui.dom_current_step_index.innerHTML = '1'
- this.ui.dom_current_step_element.innerHTML = 'Load Model'
- this.ui.dom_load_model_tools.style.display = 'flex';
-
- this.addEventListeners();
- }
-
- addEventListeners()
- {
- this.ui.dom_upload_model_button.addEventListener('change', (event) => {
- const file = event.target.files[0];
- const reader = new FileReader();
- reader.readAsDataURL(file);
-
- reader.onload = () => {
- this._load_model_file(reader.result)
- };
-
- });
-
- this.ui.dom_load_model_debug_checkbox.addEventListener('change', (event) => {
- const debug_mode = event.target.checked;
- this.debug_model_loading = debug_mode;
- });
-
- this.ui.dom_load_model_button.addEventListener('click', () => {
-
- // get currently selected option out of the model-selection drop-down
- const model_selection = document.querySelector('#model-selection');
- const selected_model = model_selection.options[model_selection.selectedIndex].value;
-
- this._load_model_file(selected_model)
- });
- }
-
- instructions_text()
- {
- return `<div>Instructions</div>
+ })
+
+ // debugging type data
+ this._calculate_mesh_metrics()
+ console.log( `Vertex count:${this.vertex_count} Triangle Count:${this.triangle_count} Object Count:${this.objects_count} `)
+ }
+
+ constructor()
+ {
+ super()
+ }
+
+ begin()
+ {
+ this.ui = new UI()
+ this.ui.dom_current_step_index.innerHTML = '1'
+ this.ui.dom_current_step_element.innerHTML = 'Load Model'
+ this.ui.dom_load_model_tools.style.display = 'flex'
+
+ this.addEventListeners()
+ }
+
+ addEventListeners()
+ {
+ this.ui.dom_upload_model_button.addEventListener('change', (event) => {
+ const file = event.target.files[0]
+ const reader = new FileReader()
+ reader.readAsDataURL(file)
+
+ reader.onload = () => {
+ this._load_model_file(reader.result)
+ }
+ })
+
+ this.ui.dom_load_model_debug_checkbox.addEventListener('change', (event) => {
+ const debug_mode = event.target.checked
+ this.debug_model_loading = debug_mode
+ })
+
+ this.ui.dom_load_model_button.addEventListener('click', () => {
+ // get currently selected option out of the model-selection drop-down
+ const model_selection = document.querySelector('#model-selection')
+ const selected_model = model_selection.options[model_selection.selectedIndex].value
+ this._load_model_file(selected_model)
+ })
+ }
+
+ instructions_text()
+ {
+ return `<div>Instructions</div>
<div>Select existing models or upload your own.</div>
<ol>
<li>Only GLTF files can be loaded</li>
@@ -120,186 +112,171 @@ export class StepLoadModel extends EventTarget
<li>Mouse primary drag to move view</li>
<li>Mouse context drag to pan view</li>
<li>Debugging allows you to test odd material artifacts by using a 'Normal' material instead of what is included in the mesh</li>
- </ol>`;
- }
-
- _load_model_file(model_file)
- {
- this.loader = new GLTFLoader();
- const max_height = 1.5; // have 3d model scaled to be 1.5 units tall. helps normalize the models to work with
-
- this.loader.load(model_file, (gltf) => {
- const loaded_scene = gltf.scene;
-
- this.original_model_data = loaded_scene.clone()
- this.original_model_data.name = 'Cloned Scene';
-
- this.original_model_data.traverse((child) => {
- child.castShadow = true;
- })
-
- // strip out stuff that we are not bringing into the model step
- const clean_scene_with_only_models = this._strip_out_all_unecessary_model_data(this.original_model_data)
- this._scale_model_on_import(clean_scene_with_only_models, max_height); // if we have multiple objects, we want to scale them all the same
-
- // assign the final cleaned up model to the original model data
- this.final_mesh_data = clean_scene_with_only_models;
-
-
-
- this._calculate_geometry_list()
-
-
- this.dispatchEvent(new CustomEvent('modelLoaded'));
- });
-
- }
+ </ol>`
+ }
+ _load_model_file(model_file)
+ {
+ this.loader = new GLTFLoader()
+ const max_height = 1.5 // have 3d model scaled to be 1.5 units tall. helps normalize the models to work with
- _strip_out_all_unecessary_model_data(model_data)
- {
- // create a new scene object, and only include meshes
- const new_scene = new THREE.Scene();
- new_scene.name = 'New Scene';
- model_data.traverse((child) => {
+ this.loader.load(model_file, (gltf) => {
+ const loaded_scene = gltf.scene
- let new_mesh;
+ this.original_model_data = loaded_scene.clone()
+ this.original_model_data.name = 'Cloned Scene'
- // if the schild is a skinned mesh, create a new mesh object and apply the geometry and material
- if(child.type === 'SkinnedMesh')
- {
- new_mesh = new THREE.Mesh(child.geometry, child.material);
- new_mesh.name = child.name;
- new_scene.add(new_mesh);
- }
- else if(child.type === 'Mesh')
- {
- new_mesh = child.clone()
- new_mesh.name = child.name;
- new_scene.add(new_mesh);
- }
+ this.original_model_data.traverse((child) => {
+ child.castShadow = true
+ })
- // potentially use normal material to help debugging models that look odd
- // some materials have some odd transparency or back-face things that make it look odd
- let material_to_use;
- if(this.debug_model_loading && new_mesh !== undefined)
- {
- material_to_use = new THREE.MeshNormalMaterial()
- material_to_use.side = THREE.FrontSide;
- new_mesh.material = material_to_use;
- }
+ // strip out stuff that we are not bringing into the model step
+ const clean_scene_with_only_models = this._strip_out_all_unecessary_model_data(this.original_model_data)
+ this._scale_model_on_import(clean_scene_with_only_models, max_height) // if we have multiple objects, we want to scale them all the same
- })
+ // assign the final cleaned up model to the original model data
+ this.final_mesh_data = clean_scene_with_only_models
- return new_scene
- }
+ this._calculate_geometry_list()
- _scale_model_on_import(mesh, max_height = 1.0)
- {
- let scale_factor = null;
+ this.dispatchEvent(new CustomEvent('modelLoaded'))
+ })
+ }
- // calculate all the meshes to find out the max height
- let bounding_box = this._calculate_bounding_box(mesh)
+ _strip_out_all_unecessary_model_data(model_data)
+ {
+ // create a new scene object, and only include meshes
+ const new_scene = new THREE.Scene()
+ new_scene.name = 'New Scene'
+ model_data.traverse((child) => {
+ let new_mesh
- const height = bounding_box.max.y - bounding_box.min.y;
- scale_factor = max_height / height;
+ // if the schild is a skinned mesh, create a new mesh object and apply the geometry and material
+ if(child.type === 'SkinnedMesh')
+ {
+ new_mesh = new THREE.Mesh(child.geometry, child.material)
+ new_mesh.name = child.name
+ new_scene.add(new_mesh)
+ }
+ else if(child.type === 'Mesh')
+ {
+ new_mesh = child.clone()
+ new_mesh.name = child.name
+ new_scene.add(new_mesh)
+ }
- // scale all the meshes down by the calculated amount
- mesh.traverse((child) =>
+ // potentially use normal material to help debugging models that look odd
+ // some materials have some odd transparency or back-face things that make it look odd
+ let material_to_use
+ if(this.debug_model_loading && new_mesh !== undefined)
{
- if(child.type === 'Mesh')
- {
- child.geometry.scale(scale_factor, scale_factor, scale_factor);
- }
- })
+ material_to_use = new THREE.MeshNormalMaterial()
+ material_to_use.side = THREE.FrontSide
+ new_mesh.material = material_to_use
+ }
+ })
- }
+ return new_scene
+ }
- _calculate_bounding_box(mesh)
- {
- // calculate all the meshes to find out the max height
- let found_mesh = false;
- let bounding_box = null
+ _scale_model_on_import(mesh, max_height = 1.0)
+ {
+ let scale_factor = null
- mesh.traverse((child) => {
- if(child.type === 'Mesh' && found_mesh === false)
- {
- found_mesh = true;
- bounding_box = new Box3().setFromObject(child.parent);
- }
- })
+ // calculate all the meshes to find out the max height
+ let bounding_box = this._calculate_bounding_box(mesh)
- return bounding_box
- }
+ const height = bounding_box.max.y - bounding_box.min.y
+ scale_factor = max_height / height
- model_meshes()
+ // scale all the meshes down by the calculated amount
+ mesh.traverse((child) =>
{
- if(this.final_mesh_data !== undefined)
+ if(child.type === 'Mesh')
{
- return this.final_mesh_data;
+ child.geometry.scale(scale_factor, scale_factor, scale_factor)
}
+ })
+ }
+ _calculate_bounding_box(mesh)
+ {
+ // calculate all the meshes to find out the max height
+ let found_mesh = false
+ let bounding_box = null
- // create a new scene object, and only include meshes
- const new_scene = new THREE.Scene();
- new_scene.name = 'Model data';
-
- // do a for loop to add all the meshes to the scene from the geometry and material list
- for(let i = 0; i < this.geometry_list.length; i++)
+ mesh.traverse((child) => {
+ if(child.type === 'Mesh' && found_mesh === false)
{
- const mesh = new THREE.Mesh(this.geometry_list[i], this.material_list[i])
- new_scene.add(mesh)
+ found_mesh = true
+ bounding_box = new Box3().setFromObject(child.parent)
}
+ })
- this.final_mesh_data = new_scene;
+ return bounding_box
+ }
+ model_meshes()
+ {
+ if(this.final_mesh_data !== undefined)
+ {
return this.final_mesh_data
}
- models_geometry_list()
- {
- // loop through final mesh data and return the geometeries
- const geometries_to_return = []
- this.final_mesh_data.traverse((child) => {
- if(child.type === 'Mesh')
- {
- geometries_to_return.push(child.geometry.clone())
- }
- })
-
- return geometries_to_return;
- }
+ // create a new scene object, and only include meshes
+ const new_scene = new THREE.Scene()
+ new_scene.name = 'Model data'
- models_material_list()
+ // do a for loop to add all the meshes to the scene from the geometry and material list
+ for(let i = 0; i < this.geometry_list.length; i++)
{
- return this.material_list;
+ const mesh = new THREE.Mesh(this.geometry_list[i], this.material_list[i])
+ new_scene.add(mesh)
}
+ this.final_mesh_data = new_scene
- rotate_model_by_axis(axis, angle)
- {
- this.final_mesh_data.traverse((obj) => {
-
- // if object is a mesh, rotate the geometry data
- if(obj.type === 'Mesh')
- {
- switch( axis )
- {
- case 'x':
- obj.geometry.rotateX(THREE.MathUtils.degToRad(angle))
- break;
- case 'y':
- obj.geometry.rotateY(THREE.MathUtils.degToRad(angle))
- break;
- case 'z':
- obj.geometry.rotateZ(THREE.MathUtils.degToRad(angle))
- break;
- }
+ return this.final_mesh_data
+ }
- }
+ models_geometry_list()
+ {
+ // loop through final mesh data and return the geometeries
+ const geometries_to_return = []
+ this.final_mesh_data.traverse((child) => {
+ if(child.type === 'Mesh')
+ {
+ geometries_to_return.push(child.geometry.clone())
+ }
+ })
- })
- }
+ return geometries_to_return
+ }
+ models_material_list()
+ {
+ return this.material_list
+ }
+ rotate_model_by_axis(axis, angle)
+ {
+ this.final_mesh_data.traverse((obj) => {
+ // if object is a mesh, rotate the geometry data
+ if(obj.type === 'Mesh')
+ {
+ switch( axis )
+ {
+ case 'x':
+ obj.geometry.rotateX(THREE.MathUtils.degToRad(angle))
+ break
+ case 'y':
+ obj.geometry.rotateY(THREE.MathUtils.degToRad(angle))
+ break
+ case 'z':
+ obj.geometry.rotateZ(THREE.MathUtils.degToRad(angle))
+ break
+ }
+ }
+ })
+ }
}
\ No newline at end of file
diff --git a/src/lib/processes/StepLoadSkeleton.js b/src/lib/processes/StepLoadSkeleton.js
index 91f7cd0..4a6150c 100644
--- a/src/lib/processes/StepLoadSkeleton.js
+++ b/src/lib/processes/StepLoadSkeleton.js
@@ -1,161 +1,157 @@
-import { UI } from '../UI.js';
+import { UI } from '../UI.js'
import { Generators } from '../Generators.ts'
-import { BufferGeometry, Float32BufferAttribute, Mesh, Box3, MeshBasicMaterial, SkeletonHelper } from 'three'
-import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js';
-import { Utility } from '../Utilities.ts';
-import { SkeletonType } from '../enums/SkeletonType.js';
+import { BufferGeometry, Float32BufferAttribute, Mesh, Box3, MeshBasicMaterial } from 'three'
+import { GLTFLoader } from 'three/examples/jsm/loaders/GLTFLoader.js'
+import { Utility } from '../Utilities.ts'
+import { SkeletonType } from '../enums/SkeletonType.js'
// Note: EventTarget is a built-ininterface and do not need to import it
export class StepLoadSkeleton extends EventTarget
{
- loader = null;
- ui = null
- loaded_armature = null
- loaded_skeleton = null
- _skeleton_type = null
-
- constructor()
- {
- super()
- }
-
- skeleton_type()
- {
- return this._skeleton_type
- }
-
- begin()
- {
- this.ui = new UI()
-
- this.ui.dom_current_step_index.innerHTML = '2'
- this.ui.dom_current_step_element.innerHTML = 'Load Skeleton'
- this.ui.dom_load_skeleton_tools.style.display = 'flex'
-
- this.addEventListeners()
- }
-
- instructions_text()
- {
- return `<div>Instructions</div>
+ loader = null
+ ui = null
+ loaded_armature = null
+ loaded_skeleton = null
+ _skeleton_type = null
+
+ constructor()
+ {
+ super()
+ }
+
+ skeleton_type()
+ {
+ return this._skeleton_type
+ }
+
+ begin()
+ {
+ this.ui = new UI()
+
+ this.ui.dom_current_step_index.innerHTML = '2'
+ this.ui.dom_current_step_element.innerHTML = 'Load Skeleton'
+ this.ui.dom_load_skeleton_tools.style.display = 'flex'
+
+ this.addEventListeners()
+ }
+
+ instructions_text()
+ {
+ return `<div>Instructions</div>
<div>Select skeleton based off model type.</div>
<ol>
<li>Mixamo human has more bones in hands</li>
<li>Four leg creature has a tail</li>
<li>You will be able to resize or move bones after importing</li>
- </ol>`;
- }
-
- addEventListeners()
- {
- this.ui.dom_load_skeleton_button.addEventListener('click', () => {
-
- // get currently selected option out of the model-selection drop-down
- const skeleton_selection = this.ui.dom_skeleton_drop_type.options
- let skeleton_file = skeleton_selection[skeleton_selection.selectedIndex].value
-
-
- // set the skeleton type. This will be used for the animations listing later
- // so it knows what animations to load
- switch(skeleton_file)
- {
- case 'quadraped':
- this._skeleton_type = SkeletonType.Quadraped
- break;
- case 'bipedal-simple':
- this._skeleton_type = SkeletonType.BipedalSimple
- break;
- case 'bipedal-full':
- this._skeleton_type = SkeletonType.BipedalFull
- break;
- }
-
- // load skeleton from GLB file
- this.loader = new GLTFLoader()
- this.loader.load( this._skeleton_type, (gltf) => {
-
- // traverse scene and find first bone object
- // we will go to the parent and mark that as the original armature
- let armature_found = false
- let original_armature = null
-
- gltf.scene.traverse((child) => {
- if(child.type === 'Bone' && armature_found === false)
- {
- armature_found = true;
- original_armature = child.parent;
- }
- });
-
- this.loaded_armature = original_armature.clone();
- this.loaded_armature.name = 'Loaded Armature';
-
- // scale geometry for skeleton
- let skeleton_geometry = this._buffer_geometry_from_armature(this.loaded_armature);
- let temp_skeleton_mesh = new Mesh(skeleton_geometry, new MeshBasicMaterial({color: 0x00ff00}));
- let bounding_box = new Box3().setFromObject(temp_skeleton_mesh);
- const height = bounding_box.max.y - bounding_box.min.y;
- const max_height = 1.5;
- const scale_factor = max_height / height;
-
- // try to scale each bone down instead of the whole armature object
- Utility.scale_armature_by_scalar(this.loaded_armature, scale_factor)
-
- // reset the armature to 0,0,0 in case it is off for some reason
- this.loaded_armature.position.set(0, 0, 0);
- this.loaded_armature.updateWorldMatrix(true, true);
-
- this.dispatchEvent(new CustomEvent('skeletonLoaded', { detail: this.loaded_armature } ) );
- })
-
- });
- }
-
- armature()
- {
- return this.loaded_armature
- }
-
- skeleton()
- {
- if(loaded_skeleton !== null)
- {
- this.loaded_skeleton
- }
-
- // create skeleton and helper to visualize
- this.loaded_skeleton = Generators.create_skeleton(this.loaded_armature.children[0]);
- this.loaded_skeleton.name = 'Mesh Editing Skeleton';
-
- // update the world matrix for the skeleton
- // without this the skeleton helper won't appear when the bones are first loaded
- skeleton.bones[0].updateWorldMatrix( true, true );
-
- return skeleton
- }
-
-
- _buffer_geometry_from_armature(armature)
+ </ol>`
+ }
+
+ addEventListeners()
+ {
+ this.ui.dom_load_skeleton_button.addEventListener('click', () => {
+
+ // get currently selected option out of the model-selection drop-down
+ const skeleton_selection = this.ui.dom_skeleton_drop_type.options
+ let skeleton_file = skeleton_selection[skeleton_selection.selectedIndex].value
+
+
+ // set the skeleton type. This will be used for the animations listing later
+ // so it knows what animations to load
+ switch(skeleton_file)
+ {
+ case 'quadraped':
+ this._skeleton_type = SkeletonType.Quadraped
+ break
+ case 'bipedal-simple':
+ this._skeleton_type = SkeletonType.BipedalSimple
+ break
+ case 'bipedal-full':
+ this._skeleton_type = SkeletonType.BipedalFull
+ break
+ }
+
+ // load skeleton from GLB file
+ this.loader = new GLTFLoader()
+ this.loader.load( this._skeleton_type, (gltf) => {
+ // traverse scene and find first bone object
+ // we will go to the parent and mark that as the original armature
+ let armature_found = false
+ let original_armature = null
+
+ gltf.scene.traverse((child) => {
+ if(child.type === 'Bone' && armature_found === false)
+ {
+ armature_found = true
+ original_armature = child.parent
+ }
+ })
+
+ this.loaded_armature = original_armature.clone()
+ this.loaded_armature.name = 'Loaded Armature'
+
+ // scale geometry for skeleton
+ const skeleton_geometry = this._buffer_geometry_from_armature(this.loaded_armature)
+ const temp_skeleton_mesh = new Mesh(skeleton_geometry, new MeshBasicMaterial({color: 0x00ff00}))
+ const bounding_box = new Box3().setFromObject(temp_skeleton_mesh)
+ const height = bounding_box.max.y - bounding_box.min.y
+ const max_height = 1.5
+ const scale_factor = max_height / height
+
+ // try to scale each bone down instead of the whole armature object
+ Utility.scale_armature_by_scalar(this.loaded_armature, scale_factor)
+
+ // reset the armature to 0,0,0 in case it is off for some reason
+ this.loaded_armature.position.set(0, 0, 0)
+ this.loaded_armature.updateWorldMatrix(true, true)
+
+ this.dispatchEvent(new CustomEvent('skeletonLoaded', { detail: this.loaded_armature } ) )
+ })
+ })
+ }
+
+ armature()
+ {
+ return this.loaded_armature
+ }
+
+ skeleton()
+ {
+ if(loaded_skeleton !== null)
{
- // create a geometry object from the skeleton
- // we will use this to calculate the bone weights
- const geometry = new BufferGeometry();
- const vertices = [];
-
- armature.traverse((bone) => {
- if(bone.type === 'Bone')
- {
- let bone_world_pos = Utility.world_position_from_object(bone);
- vertices.push(bone_world_pos.x);
- vertices.push(bone_world_pos.y);
- vertices.push(bone_world_pos.z);
- }
- });
-
- // add the vertices to the geometry
- geometry.setAttribute('position', new Float32BufferAttribute(vertices, 3));
-
- return geometry;
+ this.loaded_skeleton
}
-}
\ No newline at end of file
+ // create skeleton and helper to visualize
+ this.loaded_skeleton = Generators.create_skeleton(this.loaded_armature.children[0])
+ this.loaded_skeleton.name = 'Mesh Editing Skeleton'
+
+ // update the world matrix for the skeleton
+ // without this the skeleton helper won't appear when the bones are first loaded
+ skeleton.bones[0].updateWorldMatrix( true, true )
+
+ return skeleton
+ }
+
+ _buffer_geometry_from_armature(armature)
+ {
+ // create a geometry object from the skeleton
+ // we will use this to calculate the bone weights
+ const geometry = new BufferGeometry()
+ const vertices = []
+
+ armature.traverse((bone) => {
+ if(bone.type === 'Bone')
+ {
+ const bone_world_pos = Utility.world_position_from_object(bone)
+ vertices.push(bone_world_pos.x)
+ vertices.push(bone_world_pos.y)
+ vertices.push(bone_world_pos.z)
+ }
+ })
+
+ // add the vertices to the geometry
+ geometry.setAttribute('position', new Float32BufferAttribute(vertices, 3))
+
+ return geometry
+ }
+}
diff --git a/src/lib/processes/StepWeightSkin.js b/src/lib/processes/StepWeightSkin.js
index f4d8458..9aaa829 100644
--- a/src/lib/processes/StepWeightSkin.js
+++ b/src/lib/processes/StepWeightSkin.js
@@ -1,151 +1,150 @@
-import { UI } from '../UI.js';
+import { UI } from '../UI.js'
-import { BoneWeightsByEnvelope } from '../solvers/BoneWeightsByEnvelope.ts';
-import BoneWeightsByDistance from '../solvers/BoneWeightsByDistance.ts';
-import BoneWeightsByMedianDistance from '../solvers/BoneWeightsByMedianDistance.ts';
+import { BoneWeightsByEnvelope } from '../solvers/BoneWeightsByEnvelope.ts'
+import BoneWeightsByDistance from '../solvers/BoneWeightsByDistance.ts'
+import BoneWeightsByMedianDistance from '../solvers/BoneWeightsByMedianDistance.ts'
-import { SkinningFormula } from '../enums/SkinningFormula.js';
+import { SkinningFormula } from '../enums/SkinningFormula.js'
-import { Generators } from '../Generators.ts';
+import { Generators } from '../Generators.ts'
-import { SkinnedMesh } from 'three';
+import { SkinnedMesh } from 'three'
// Note: EventTarget is a built-ininterface and do not need to import it
export class StepWeightSkin extends EventTarget
{
- ui = null;
- skinning_armature = null
- bone_skinning_formula = null
- binding_skeleton = null
- skinned_meshes = []
-
- // debug options for bone skinning formula
- enable_debugging = false
- show_debug = false
- debug_scene_object = null
- bone_index_to_test = -1
-
- constructor()
- {
- super();
- this.ui = new UI();
- }
-
- begin()
- {
- this.ui.dom_current_step_index.innerHTML = '3.5'
- this.ui.dom_current_step_element.innerHTML = 'Skin Debug'
- this.ui.dom_skinned_mesh_tools.style.display = 'flex';
- }
-
- instructions_text()
- {
- return `<div>Instructions</div>
+ ui = null
+ skinning_armature = null
+ bone_skinning_formula = null
+ binding_skeleton = null
+ skinned_meshes = []
+
+ // debug options for bone skinning formula
+ enable_debugging = false
+ show_debug = false
+ debug_scene_object = null
+ bone_index_to_test = -1
+
+ constructor()
+ {
+ super()
+ this.ui = new UI()
+ }
+
+ begin()
+ {
+ this.ui.dom_current_step_index.innerHTML = '3.5'
+ this.ui.dom_current_step_element.innerHTML = 'Skin Debug'
+ this.ui.dom_skinned_mesh_tools.style.display = 'flex'
+ }
+
+ instructions_text()
+ {
+ return `<div>Instructions</div>
<div>Visualize the results of the skinning. Currently only supported for Bone Envelope</div>
<ol>
<li>Green vertices indicate vertex is inside a bone cage</li>
<li>Red vertex indicates there is no bone found, so relies on closest distance to bone.</li>
<li>Modifying the position of the bones to be closer to the middle of the mesh can improve results</li>
- </ol>`;
- }
+ </ol>`
+ }
- create_bone_formula_object(editable_armature, skinning_formula)
- {
+ create_bone_formula_object(editable_armature, skinning_formula)
+ {
- this.skinning_armature = editable_armature.clone()
- this.skinning_armature.name = 'Armature for skinning';
+ this.skinning_armature = editable_armature.clone()
+ this.skinning_armature.name = 'Armature for skinning'
- // Swap out formulas to see different results
- if(skinning_formula === SkinningFormula.Envelope)
- {
- this.bone_skinning_formula = new BoneWeightsByEnvelope(this.skinning_armature.children[0]);
- }
- else if(skinning_formula === SkinningFormula.Distance)
- {
- this.bone_skinning_formula = new BoneWeightsByDistance(this.skinning_armature.children[0]);
- }
- else if(skinning_formula === SkinningFormula.MedianDistance)
- {
- this.bone_skinning_formula = new BoneWeightsByMedianDistance(this.skinning_armature.children[0]);
- }
-
- return this.bone_skinning_formula
- }
-
- skeleton()
+ // Swap out formulas to see different results
+ if(skinning_formula === SkinningFormula.Envelope)
{
- // gets bone hierarchy from the armature
- return this.binding_skeleton
+ this.bone_skinning_formula = new BoneWeightsByEnvelope(this.skinning_armature.children[0])
}
-
- set_mesh_geometry(geometry)
+ else if(skinning_formula === SkinningFormula.Distance)
{
- this.bone_skinning_formula.set_geometry(geometry)
+ this.bone_skinning_formula = new BoneWeightsByDistance(this.skinning_armature.children[0])
}
-
- test_geometry()
+ else if(skinning_formula === SkinningFormula.MedianDistance)
{
- if(this.show_debug)
- {
- this.bone_skinning_formula.set_show_debug(this.show_debug)
- this.bone_skinning_formula.set_debugging_scene_object(this.debug_scene_object)
- this.bone_skinning_formula.set_bone_index_to_test(this.bone_index_to_test)
- }
-
- return this.bone_skinning_formula.test_bones_outside_in_mesh()
+ this.bone_skinning_formula = new BoneWeightsByMedianDistance(this.skinning_armature.children[0])
}
- create_binding_skeleton()
- {
- // when we copy over the armature with the bind, we will lose the reference in the variable
- this.binding_skeleton = Generators.create_skeleton(this.skinning_armature.children[0]);
- this.binding_skeleton.name = 'Mesh Binding Skeleton';
- }
+ return this.bone_skinning_formula
+ }
- clear_skinned_meshes()
- {
- this.skinned_meshes = []
- }
+ skeleton()
+ {
+ // gets bone hierarchy from the armature
+ return this.binding_skeleton
+ }
- create_skinned_mesh(geometry, material)
- {
- // create skinned mesh
- let skinned_mesh = new SkinnedMesh(geometry, material);
- skinned_mesh.name = 'Skinned Mesh';
- skinned_mesh.castShadow = true; // skinned mesh won't update right if this is false
-
- // do the binding for the mesh to the skelleton
- skinned_mesh.add(this.binding_skeleton.bones[0]);
- skinned_mesh.bind(this.binding_skeleton);
-
- // keep track of all the skinned meshes we create to access later
- this.skinned_meshes.push(skinned_mesh)
- }
-
- final_skinned_meshes()
- {
- return this.skinned_meshes
- }
-
- set_show_debug(value)
- {
- this.show_debug = value
- }
-
- set_debug_scene_object(scene)
- {
- this.debug_scene_object = scene
- }
-
- set_bone_index_to_test(index)
- {
- this.bone_index_to_test = index
- }
+ set_mesh_geometry(geometry)
+ {
+ this.bone_skinning_formula.set_geometry(geometry)
+ }
- calculate_weights()
+ test_geometry()
+ {
+ if(this.show_debug)
{
- return this.bone_skinning_formula.calculate_indexes_and_weights()
+ this.bone_skinning_formula.set_show_debug(this.show_debug)
+ this.bone_skinning_formula.set_debugging_scene_object(this.debug_scene_object)
+ this.bone_skinning_formula.set_bone_index_to_test(this.bone_index_to_test)
}
-}
\ No newline at end of file
+ return this.bone_skinning_formula.test_bones_outside_in_mesh()
+ }
+
+ create_binding_skeleton()
+ {
+ // when we copy over the armature with the bind, we will lose the reference in the variable
+ this.binding_skeleton = Generators.create_skeleton(this.skinning_armature.children[0])
+ this.binding_skeleton.name = 'Mesh Binding Skeleton'
+ }
+
+ clear_skinned_meshes()
+ {
+ this.skinned_meshes = []
+ }
+
+ create_skinned_mesh(geometry, material)
+ {
+ // create skinned mesh
+ let skinned_mesh = new SkinnedMesh(geometry, material)
+ skinned_mesh.name = 'Skinned Mesh'
+ skinned_mesh.castShadow = true // skinned mesh won't update right if this is false
+
+ // do the binding for the mesh to the skelleton
+ skinned_mesh.add(this.binding_skeleton.bones[0])
+ skinned_mesh.bind(this.binding_skeleton)
+
+ // keep track of all the skinned meshes we create to access later
+ this.skinned_meshes.push(skinned_mesh)
+ }
+
+ final_skinned_meshes()
+ {
+ return this.skinned_meshes
+ }
+
+ set_show_debug(value)
+ {
+ this.show_debug = value
+ }
+
+ set_debug_scene_object(scene)
+ {
+ this.debug_scene_object = scene
+ }
+
+ set_bone_index_to_test(index)
+ {
+ this.bone_index_to_test = index
+ }
+
+ calculate_weights()
+ {
+ return this.bone_skinning_formula.calculate_indexes_and_weights()
+ }
+}
diff --git a/tsconfig.json b/tsconfig.json
new file mode 100644
index 0000000..98e0761
--- /dev/null
+++ b/tsconfig.json
@@ -0,0 +1,109 @@
+{
+ "compilerOptions": {
+ /* Visit https://aka.ms/tsconfig to read more about this file */
+
+ /* Projects */
+ // "incremental": true, /* Save .tsbuildinfo files to allow for incremental compilation of projects. */
+ // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */
+ // "tsBuildInfoFile": "./.tsbuildinfo", /* Specify the path to .tsbuildinfo incremental compilation file. */
+ // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects. */
+ // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */
+ // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */
+
+ /* Language and Environment */
+ "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */
+ // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */
+ // "jsx": "preserve", /* Specify what JSX code is generated. */
+ // "experimentalDecorators": true, /* Enable experimental support for legacy experimental decorators. */
+ // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */
+ // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'. */
+ // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */
+ // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */
+ // "reactNamespace": "", /* Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit. */
+ // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */
+ // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */
+ // "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
+
+ /* Modules */
+ "module": "commonjs", /* Specify what module code is generated. */
+ // "rootDir": "./", /* Specify the root folder within your source files. */
+ // "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
+ // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
+ // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
+ // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
+ // "typeRoots": [], /* Specify multiple folders that act like './node_modules/@types'. */
+ // "types": [], /* Specify type package names to be included without being referenced in a source file. */
+ // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
+ // "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */
+ // "allowImportingTsExtensions": true, /* Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set. */
+ // "resolvePackageJsonExports": true, /* Use the package.json 'exports' field when resolving package imports. */
+ // "resolvePackageJsonImports": true, /* Use the package.json 'imports' field when resolving imports. */
+ // "customConditions": [], /* Conditions to set in addition to the resolver-specific defaults when resolving imports. */
+ // "resolveJsonModule": true, /* Enable importing .json files. */
+ // "allowArbitraryExtensions": true, /* Enable importing files with any extension, provided a declaration file is present. */
+ // "noResolve": true, /* Disallow 'import's, 'require's or '<reference>'s from expanding the number of files TypeScript should add to a project. */
+
+ /* JavaScript Support */
+ "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files. */
+ // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */
+ // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
+
+ /* Emit */
+ // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
+ // "declarationMap": true, /* Create sourcemaps for d.ts files. */
+ // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
+ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
+ // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
+ // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
+ // "outDir": "./", /* Specify an output folder for all emitted files. */
+ // "removeComments": true, /* Disable emitting comments. */
+ // "noEmit": true, /* Disable emitting files from a compilation. */
+ // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */
+ // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types. */
+ // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */
+ // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */
+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
+ // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */
+ // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */
+ // "newLine": "crlf", /* Set the newline character for emitting files. */
+ // "stripInternal": true, /* Disable emitting declarations that have '@internal' in their JSDoc comments. */
+ // "noEmitHelpers": true, /* Disable generating custom helper functions like '__extends' in compiled output. */
+ // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */
+ // "preserveConstEnums": true, /* Disable erasing 'const enum' declarations in generated code. */
+ // "declarationDir": "./", /* Specify the output directory for generated declaration files. */
+ // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */
+
+ /* Interop Constraints */
+ // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */
+ // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */
+ // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */
+ "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
+ // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */
+ "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
+
+ /* Type Checking */
+ "strict": true, /* Enable all strict type-checking options. */
+ // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied 'any' type. */
+ // "strictNullChecks": true, /* When type checking, take into account 'null' and 'undefined'. */
+ // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
+ // "strictBindCallApply": true, /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
+ // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */
+ // "noImplicitThis": true, /* Enable error reporting when 'this' is given the type 'any'. */
+ // "useUnknownInCatchVariables": true, /* Default catch clause variables as 'unknown' instead of 'any'. */
+ // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */
+ // "noUnusedLocals": true, /* Enable error reporting when local variables aren't read. */
+ // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read. */
+ // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */
+ // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */
+ // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */
+ // "noUncheckedIndexedAccess": true, /* Add 'undefined' to a type when accessed using an index. */
+ // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */
+ // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type. */
+ // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */
+ // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */
+
+ /* Completeness */
+ // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */
+ "skipLibCheck": true /* Skip type checking all .d.ts files. */
+ }
+}