@osmo.inc/cli 0.1.18 → 0.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DEPLOY.md +62 -16
- package/README.md +31 -15
- package/SETUP.md +19 -7
- package/THIRD_PARTY_NOTICES.md +5 -16
- package/bin/osmo.mjs +12 -0
- package/dist/osmo.js +2500 -8905
- package/package.json +13 -26
- package/release.json +49 -84
- package/third-party/inventory.json +0 -3601
- package/node_modules/@esbuild/darwin-arm64/README.md +0 -3
- package/node_modules/@esbuild/darwin-arm64/bin/esbuild +0 -0
- package/node_modules/@esbuild/darwin-arm64/package.json +0 -20
- package/node_modules/esbuild/LICENSE.md +0 -21
- package/node_modules/esbuild/README.md +0 -3
- package/node_modules/esbuild/bin/esbuild +0 -223
- package/node_modules/esbuild/install.js +0 -289
- package/node_modules/esbuild/lib/main.d.ts +0 -716
- package/node_modules/esbuild/lib/main.js +0 -2532
- package/node_modules/esbuild/package.json +0 -49
- package/node_modules/typescript/LICENSE.txt +0 -55
- package/node_modules/typescript/ThirdPartyNoticeText.txt +0 -193
- package/node_modules/typescript/lib/lib.d.ts +0 -22
- package/node_modules/typescript/lib/lib.decorators.d.ts +0 -384
- package/node_modules/typescript/lib/lib.decorators.legacy.d.ts +0 -22
- package/node_modules/typescript/lib/lib.dom.asynciterable.d.ts +0 -41
- package/node_modules/typescript/lib/lib.dom.d.ts +0 -39429
- package/node_modules/typescript/lib/lib.dom.iterable.d.ts +0 -571
- package/node_modules/typescript/lib/lib.es2015.collection.d.ts +0 -147
- package/node_modules/typescript/lib/lib.es2015.core.d.ts +0 -597
- package/node_modules/typescript/lib/lib.es2015.d.ts +0 -28
- package/node_modules/typescript/lib/lib.es2015.generator.d.ts +0 -77
- package/node_modules/typescript/lib/lib.es2015.iterable.d.ts +0 -605
- package/node_modules/typescript/lib/lib.es2015.promise.d.ts +0 -81
- package/node_modules/typescript/lib/lib.es2015.proxy.d.ts +0 -128
- package/node_modules/typescript/lib/lib.es2015.reflect.d.ts +0 -144
- package/node_modules/typescript/lib/lib.es2015.symbol.d.ts +0 -46
- package/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts +0 -326
- package/node_modules/typescript/lib/lib.es2016.array.include.d.ts +0 -116
- package/node_modules/typescript/lib/lib.es2016.d.ts +0 -21
- package/node_modules/typescript/lib/lib.es2016.full.d.ts +0 -23
- package/node_modules/typescript/lib/lib.es2016.intl.d.ts +0 -31
- package/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts +0 -21
- package/node_modules/typescript/lib/lib.es2017.d.ts +0 -26
- package/node_modules/typescript/lib/lib.es2017.date.d.ts +0 -31
- package/node_modules/typescript/lib/lib.es2017.full.d.ts +0 -23
- package/node_modules/typescript/lib/lib.es2017.intl.d.ts +0 -44
- package/node_modules/typescript/lib/lib.es2017.object.d.ts +0 -49
- package/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts +0 -135
- package/node_modules/typescript/lib/lib.es2017.string.d.ts +0 -45
- package/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts +0 -53
- package/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts +0 -77
- package/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts +0 -53
- package/node_modules/typescript/lib/lib.es2018.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2018.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2018.intl.d.ts +0 -83
- package/node_modules/typescript/lib/lib.es2018.promise.d.ts +0 -30
- package/node_modules/typescript/lib/lib.es2018.regexp.d.ts +0 -37
- package/node_modules/typescript/lib/lib.es2019.array.d.ts +0 -79
- package/node_modules/typescript/lib/lib.es2019.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2019.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2019.intl.d.ts +0 -23
- package/node_modules/typescript/lib/lib.es2019.object.d.ts +0 -33
- package/node_modules/typescript/lib/lib.es2019.string.d.ts +0 -37
- package/node_modules/typescript/lib/lib.es2019.symbol.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2020.bigint.d.ts +0 -765
- package/node_modules/typescript/lib/lib.es2020.d.ts +0 -27
- package/node_modules/typescript/lib/lib.es2020.date.d.ts +0 -42
- package/node_modules/typescript/lib/lib.es2020.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2020.intl.d.ts +0 -474
- package/node_modules/typescript/lib/lib.es2020.number.d.ts +0 -28
- package/node_modules/typescript/lib/lib.es2020.promise.d.ts +0 -47
- package/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts +0 -99
- package/node_modules/typescript/lib/lib.es2020.string.d.ts +0 -44
- package/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts +0 -41
- package/node_modules/typescript/lib/lib.es2021.d.ts +0 -23
- package/node_modules/typescript/lib/lib.es2021.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2021.intl.d.ts +0 -166
- package/node_modules/typescript/lib/lib.es2021.promise.d.ts +0 -48
- package/node_modules/typescript/lib/lib.es2021.string.d.ts +0 -33
- package/node_modules/typescript/lib/lib.es2021.weakref.d.ts +0 -78
- package/node_modules/typescript/lib/lib.es2022.array.d.ts +0 -121
- package/node_modules/typescript/lib/lib.es2022.d.ts +0 -25
- package/node_modules/typescript/lib/lib.es2022.error.d.ts +0 -75
- package/node_modules/typescript/lib/lib.es2022.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2022.intl.d.ts +0 -145
- package/node_modules/typescript/lib/lib.es2022.object.d.ts +0 -26
- package/node_modules/typescript/lib/lib.es2022.regexp.d.ts +0 -39
- package/node_modules/typescript/lib/lib.es2022.string.d.ts +0 -25
- package/node_modules/typescript/lib/lib.es2023.array.d.ts +0 -924
- package/node_modules/typescript/lib/lib.es2023.collection.d.ts +0 -21
- package/node_modules/typescript/lib/lib.es2023.d.ts +0 -22
- package/node_modules/typescript/lib/lib.es2023.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2023.intl.d.ts +0 -56
- package/node_modules/typescript/lib/lib.es2024.arraybuffer.d.ts +0 -65
- package/node_modules/typescript/lib/lib.es2024.collection.d.ts +0 -29
- package/node_modules/typescript/lib/lib.es2024.d.ts +0 -26
- package/node_modules/typescript/lib/lib.es2024.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.es2024.object.d.ts +0 -29
- package/node_modules/typescript/lib/lib.es2024.promise.d.ts +0 -35
- package/node_modules/typescript/lib/lib.es2024.regexp.d.ts +0 -25
- package/node_modules/typescript/lib/lib.es2024.sharedmemory.d.ts +0 -68
- package/node_modules/typescript/lib/lib.es2024.string.d.ts +0 -29
- package/node_modules/typescript/lib/lib.es5.d.ts +0 -4601
- package/node_modules/typescript/lib/lib.es6.d.ts +0 -23
- package/node_modules/typescript/lib/lib.esnext.array.d.ts +0 -35
- package/node_modules/typescript/lib/lib.esnext.collection.d.ts +0 -96
- package/node_modules/typescript/lib/lib.esnext.d.ts +0 -29
- package/node_modules/typescript/lib/lib.esnext.decorators.d.ts +0 -28
- package/node_modules/typescript/lib/lib.esnext.disposable.d.ts +0 -193
- package/node_modules/typescript/lib/lib.esnext.error.d.ts +0 -24
- package/node_modules/typescript/lib/lib.esnext.float16.d.ts +0 -445
- package/node_modules/typescript/lib/lib.esnext.full.d.ts +0 -24
- package/node_modules/typescript/lib/lib.esnext.intl.d.ts +0 -21
- package/node_modules/typescript/lib/lib.esnext.iterator.d.ts +0 -148
- package/node_modules/typescript/lib/lib.esnext.promise.d.ts +0 -34
- package/node_modules/typescript/lib/lib.esnext.sharedmemory.d.ts +0 -25
- package/node_modules/typescript/lib/lib.scripthost.d.ts +0 -322
- package/node_modules/typescript/lib/lib.webworker.asynciterable.d.ts +0 -41
- package/node_modules/typescript/lib/lib.webworker.d.ts +0 -13150
- package/node_modules/typescript/lib/lib.webworker.importscripts.d.ts +0 -23
- package/node_modules/typescript/lib/lib.webworker.iterable.d.ts +0 -340
- package/node_modules/typescript/lib/typescript.js +0 -382
- package/node_modules/typescript/package.json +0 -57
- package/runtime/apps/native/tools/compile.mjs +0 -217
- package/runtime/packages/scene/scripts/validate-strict.mjs +0 -246
- package/runtime/packages/scene/src/clip.d.mts +0 -14
- package/runtime/packages/scene/src/clip.mjs +0 -15
- package/runtime/packages/scene/src/color-value.d.mts +0 -5
- package/runtime/packages/scene/src/color-value.mjs +0 -19
- package/runtime/packages/scene/src/color.ts +0 -1
- package/runtime/packages/scene/src/effects.ts +0 -213
- package/runtime/packages/scene/src/elements.ts +0 -491
- package/runtime/packages/scene/src/evaluate.ts +0 -919
- package/runtime/packages/scene/src/index.ts +0 -69
- package/runtime/packages/scene/src/jsx-runtime.ts +0 -73
- package/runtime/packages/scene/src/knob-schema.ts +0 -115
- package/runtime/packages/scene/src/knobs.ts +0 -118
- package/runtime/packages/scene/src/mask.d.mts +0 -6
- package/runtime/packages/scene/src/mask.mjs +0 -17
- package/runtime/packages/scene/src/metadata.d.mts +0 -23
- package/runtime/packages/scene/src/metadata.mjs +0 -44
- package/runtime/packages/scene/src/motion-sampling.d.mts +0 -2
- package/runtime/packages/scene/src/motion-sampling.mjs +0 -50
- package/runtime/packages/scene/src/motion.ts +0 -121
- package/runtime/packages/scene/src/shader.ts +0 -57
- package/src/resource-examples/example-image/landscape.svg +0 -7
- package/src/resource-examples/example-image/resource.json +0 -8
- package/src/resource-examples/example-model/gem.glb +0 -0
- package/src/resource-examples/example-model/preview.svg +0 -1
- package/src/resource-examples/example-model/resource.json +0 -7
- package/src/resource-examples/example-scene/resource.json +0 -1
- package/src/resource-examples/example-scene/scene.tsx +0 -8
- package/src/resource-examples/example-shader/effect.wgsl +0 -7
- package/src/resource-examples/example-shader/preview.svg +0 -1
- package/src/resource-examples/example-shader/resource.json +0 -27
- package/src/resource-examples/example-shader/tint.wgsl +0 -7
- package/src/resource-examples/example-video/ambient.mp4 +0 -0
- package/src/resource-examples/example-video/resource.json +0 -9
- package/src/starter/scene.tsx +0 -20
- package/studio/index.html +0 -2
- package/studio/public/check-circle-filled.svg +0 -3
- package/studio/public/comment-cursor/active-outer.svg +0 -3
- package/studio/public/comment-cursor/default.svg +0 -6
- package/studio/public/osmo-studio-logo.svg +0 -12
- package/studio/public/pencil-simple.svg +0 -5
- package/studio/src/active-outer-TVYUEURE.svg +0 -3
- package/studio/src/app.css +0 -4
- package/studio/src/app.js +0 -714
- package/studio/src/default-6CTRH4V5.svg +0 -6
- package/studio/src/engine_bg.wasm +0 -0
- package/studio/src/inter-cyrillic-ext-wght-normal-IYF56FF6.woff2 +0 -0
- package/studio/src/inter-cyrillic-wght-normal-JEOLYBOO.woff2 +0 -0
- package/studio/src/inter-greek-ext-wght-normal-EOVOK2B5.woff2 +0 -0
- package/studio/src/inter-greek-wght-normal-IRE366VL.woff2 +0 -0
- package/studio/src/inter-latin-ext-wght-normal-HA22NDSG.woff2 +0 -0
- package/studio/src/inter-latin-wght-normal-NRMW37G5.woff2 +0 -0
- package/studio/src/inter-vietnamese-wght-normal-CE5GGD3W.woff2 +0 -0
- package/studio/src/osmo-studio-logo-D5R2V77B.svg +0 -12
- package/third-party/cargo/adler2@2.0.1/Cargo.toml +0 -91
- package/third-party/cargo/adler2@2.0.1/LICENSE-0BSD +0 -12
- package/third-party/cargo/adler2@2.0.1/LICENSE-APACHE +0 -201
- package/third-party/cargo/adler2@2.0.1/LICENSE-MIT +0 -23
- package/third-party/cargo/allocator-api2@0.2.21/Cargo.toml +0 -48
- package/third-party/cargo/allocator-api2@0.2.21/LICENSE-APACHE +0 -176
- package/third-party/cargo/allocator-api2@0.2.21/LICENSE-MIT +0 -23
- package/third-party/cargo/arrayref@0.3.9/Cargo.toml +0 -23
- package/third-party/cargo/arrayref@0.3.9/LICENSE +0 -26
- package/third-party/cargo/arrayvec@0.7.8/Cargo.toml +0 -112
- package/third-party/cargo/arrayvec@0.7.8/LICENSE-APACHE +0 -201
- package/third-party/cargo/arrayvec@0.7.8/LICENSE-MIT +0 -25
- package/third-party/cargo/ascii@1.1.0/Cargo.toml +0 -41
- package/third-party/cargo/ascii@1.1.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/ascii@1.1.0/LICENSE-MIT +0 -22
- package/third-party/cargo/ash@0.38.0+1.3.281/Cargo.toml +0 -66
- package/third-party/cargo/ash@0.38.0+1.3.281/LICENSE-APACHE +0 -67
- package/third-party/cargo/ash@0.38.0+1.3.281/LICENSE-MIT +0 -25
- package/third-party/cargo/autocfg@1.5.1/Cargo.toml +0 -75
- package/third-party/cargo/autocfg@1.5.1/LICENSE-APACHE +0 -201
- package/third-party/cargo/autocfg@1.5.1/LICENSE-MIT +0 -25
- package/third-party/cargo/base64@0.13.1/Cargo.toml +0 -53
- package/third-party/cargo/base64@0.13.1/LICENSE-APACHE +0 -201
- package/third-party/cargo/base64@0.13.1/LICENSE-MIT +0 -21
- package/third-party/cargo/base64@0.22.1/Cargo.toml +0 -85
- package/third-party/cargo/base64@0.22.1/LICENSE-APACHE +0 -201
- package/third-party/cargo/base64@0.22.1/LICENSE-MIT +0 -21
- package/third-party/cargo/bit-set@0.10.0/Cargo.toml +0 -108
- package/third-party/cargo/bit-set@0.10.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/bit-set@0.10.0/LICENSE-MIT +0 -25
- package/third-party/cargo/bit-vec@0.9.1/Cargo.toml +0 -94
- package/third-party/cargo/bit-vec@0.9.1/LICENSE-APACHE +0 -201
- package/third-party/cargo/bit-vec@0.9.1/LICENSE-MIT +0 -25
- package/third-party/cargo/bitflags@2.13.0/Cargo.toml +0 -120
- package/third-party/cargo/bitflags@2.13.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/bitflags@2.13.0/LICENSE-MIT +0 -25
- package/third-party/cargo/block2@0.6.2/Cargo.toml +0 -115
- package/third-party/cargo/block2@0.6.2/MIT-terms.txt +0 -22
- package/third-party/cargo/block2@0.6.2/madsmtm-objc2-b4167b582b2f-LICENSE.md +0 -34
- package/third-party/cargo/bumpalo@3.20.3/Cargo.toml +0 -99
- package/third-party/cargo/bumpalo@3.20.3/LICENSE-APACHE +0 -201
- package/third-party/cargo/bumpalo@3.20.3/LICENSE-MIT +0 -25
- package/third-party/cargo/bytemuck@1.25.1/Cargo.toml +0 -153
- package/third-party/cargo/bytemuck@1.25.1/LICENSE-APACHE +0 -61
- package/third-party/cargo/bytemuck@1.25.1/LICENSE-MIT +0 -9
- package/third-party/cargo/bytemuck@1.25.1/LICENSE-ZLIB +0 -11
- package/third-party/cargo/bytemuck_derive@1.11.0/Cargo.toml +0 -60
- package/third-party/cargo/bytemuck_derive@1.11.0/LICENSE-APACHE +0 -61
- package/third-party/cargo/bytemuck_derive@1.11.0/LICENSE-MIT +0 -9
- package/third-party/cargo/bytemuck_derive@1.11.0/LICENSE-ZLIB +0 -11
- package/third-party/cargo/byteorder-lite@0.1.0/Cargo.toml +0 -57
- package/third-party/cargo/byteorder-lite@0.1.0/LICENSE-MIT +0 -21
- package/third-party/cargo/byteorder-lite@0.1.0/UNLICENSE +0 -24
- package/third-party/cargo/byteorder@1.5.0/COPYING +0 -3
- package/third-party/cargo/byteorder@1.5.0/Cargo.toml +0 -54
- package/third-party/cargo/byteorder@1.5.0/LICENSE-MIT +0 -21
- package/third-party/cargo/byteorder@1.5.0/UNLICENSE +0 -24
- package/third-party/cargo/cfg-if@1.0.4/Cargo.toml +0 -47
- package/third-party/cargo/cfg-if@1.0.4/LICENSE-APACHE +0 -201
- package/third-party/cargo/cfg-if@1.0.4/LICENSE-MIT +0 -25
- package/third-party/cargo/cfg_aliases@0.2.1/Cargo.toml +0 -43
- package/third-party/cargo/cfg_aliases@0.2.1/LICENSE +0 -9
- package/third-party/cargo/chunked_transfer@1.5.0/Cargo.toml +0 -27
- package/third-party/cargo/chunked_transfer@1.5.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/chunked_transfer@1.5.0/LICENSE-MIT +0 -22
- package/third-party/cargo/codespan-reporting@0.13.1/Cargo.toml +0 -115
- package/third-party/cargo/codespan-reporting@0.13.1/LICENSE +0 -201
- package/third-party/cargo/color_quant@1.1.0/Cargo.toml +0 -20
- package/third-party/cargo/color_quant@1.1.0/LICENSE +0 -21
- package/third-party/cargo/console_error_panic_hook@0.1.7/Cargo.toml +0 -27
- package/third-party/cargo/console_error_panic_hook@0.1.7/LICENSE-APACHE +0 -201
- package/third-party/cargo/console_error_panic_hook@0.1.7/LICENSE-MIT +0 -25
- package/third-party/cargo/core_maths@0.1.1/Cargo.toml +0 -37
- package/third-party/cargo/core_maths@0.1.1/LICENSE +0 -21
- package/third-party/cargo/cosmic-text@0.19.0/Cargo.toml +0 -214
- package/third-party/cargo/cosmic-text@0.19.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/cosmic-text@0.19.0/LICENSE-MIT +0 -21
- package/third-party/cargo/crc32fast@1.5.0/Cargo.toml +0 -68
- package/third-party/cargo/crc32fast@1.5.0/LICENSE-APACHE +0 -202
- package/third-party/cargo/crc32fast@1.5.0/LICENSE-MIT +0 -21
- package/third-party/cargo/data-url@0.3.2/Cargo.toml +0 -63
- package/third-party/cargo/data-url@0.3.2/LICENSE-APACHE +0 -201
- package/third-party/cargo/data-url@0.3.2/LICENSE-MIT +0 -25
- package/third-party/cargo/dispatch2@0.3.1/Cargo.toml +0 -122
- package/third-party/cargo/dispatch2@0.3.1/MIT-terms.txt +0 -22
- package/third-party/cargo/dispatch2@0.3.1/madsmtm-objc2-8852b424193c-LICENSE.md +0 -34
- package/third-party/cargo/dlib@0.5.3/Cargo.toml +0 -43
- package/third-party/cargo/dlib@0.5.3/LICENSE.txt +0 -19
- package/third-party/cargo/document-features@0.2.12/Cargo.toml +0 -51
- package/third-party/cargo/document-features@0.2.12/LICENSE-APACHE +0 -73
- package/third-party/cargo/document-features@0.2.12/LICENSE-MIT +0 -19
- package/third-party/cargo/equivalent@1.0.2/Cargo.toml +0 -37
- package/third-party/cargo/equivalent@1.0.2/LICENSE-APACHE +0 -201
- package/third-party/cargo/equivalent@1.0.2/LICENSE-MIT +0 -25
- package/third-party/cargo/errno@0.3.14/Cargo.toml +0 -67
- package/third-party/cargo/errno@0.3.14/LICENSE-APACHE +0 -201
- package/third-party/cargo/errno@0.3.14/LICENSE-MIT +0 -25
- package/third-party/cargo/etagere@0.3.0/Cargo.toml +0 -57
- package/third-party/cargo/etagere@0.3.0/LICENSE-APACHE +0 -13
- package/third-party/cargo/etagere@0.3.0/LICENSE-MIT +0 -20
- package/third-party/cargo/euclid@0.22.14/COPYRIGHT +0 -5
- package/third-party/cargo/euclid@0.22.14/Cargo.toml +0 -66
- package/third-party/cargo/euclid@0.22.14/LICENSE-APACHE +0 -201
- package/third-party/cargo/euclid@0.22.14/LICENSE-MIT +0 -25
- package/third-party/cargo/fastrand@2.5.0/Cargo.toml +0 -89
- package/third-party/cargo/fastrand@2.5.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/fastrand@2.5.0/LICENSE-MIT +0 -23
- package/third-party/cargo/fdeflate@0.3.7/Cargo.toml +0 -55
- package/third-party/cargo/fdeflate@0.3.7/LICENSE-APACHE +0 -177
- package/third-party/cargo/fdeflate@0.3.7/LICENSE-MIT +0 -25
- package/third-party/cargo/flate2@1.1.9/Cargo.toml +0 -274
- package/third-party/cargo/flate2@1.1.9/LICENSE-APACHE +0 -201
- package/third-party/cargo/flate2@1.1.9/LICENSE-MIT +0 -25
- package/third-party/cargo/float-cmp@0.9.0/Cargo.toml +0 -39
- package/third-party/cargo/float-cmp@0.9.0/LICENSE +0 -19
- package/third-party/cargo/float_next_after@1.0.0/Cargo.toml +0 -43
- package/third-party/cargo/float_next_after@1.0.0/LICENSE +0 -23
- package/third-party/cargo/foldhash@0.2.0/Cargo.toml +0 -80
- package/third-party/cargo/foldhash@0.2.0/LICENSE +0 -19
- package/third-party/cargo/font-types@0.11.3/Cargo.toml +0 -55
- package/third-party/cargo/font-types@0.11.3/LICENSE-APACHE +0 -67
- package/third-party/cargo/font-types@0.11.3/LICENSE-MIT +0 -25
- package/third-party/cargo/fontdb@0.23.0/Cargo.toml +0 -83
- package/third-party/cargo/fontdb@0.23.0/LICENSE +0 -21
- package/third-party/cargo/futures-core@0.3.32/Cargo.toml +0 -66
- package/third-party/cargo/futures-core@0.3.32/LICENSE-APACHE +0 -202
- package/third-party/cargo/futures-core@0.3.32/LICENSE-MIT +0 -26
- package/third-party/cargo/futures-task@0.3.32/Cargo.toml +0 -58
- package/third-party/cargo/futures-task@0.3.32/LICENSE-APACHE +0 -202
- package/third-party/cargo/futures-task@0.3.32/LICENSE-MIT +0 -26
- package/third-party/cargo/futures-util@0.3.32/Cargo.toml +0 -181
- package/third-party/cargo/futures-util@0.3.32/LICENSE-APACHE +0 -202
- package/third-party/cargo/futures-util@0.3.32/LICENSE-MIT +0 -26
- package/third-party/cargo/getrandom@0.4.3/Cargo.toml +0 -165
- package/third-party/cargo/getrandom@0.4.3/LICENSE-APACHE +0 -201
- package/third-party/cargo/getrandom@0.4.3/LICENSE-MIT +0 -26
- package/third-party/cargo/gif@0.14.2/Cargo.toml +0 -84
- package/third-party/cargo/gif@0.14.2/LICENSE-APACHE +0 -201
- package/third-party/cargo/gif@0.14.2/LICENSE-MIT +0 -21
- package/third-party/cargo/glam@0.33.2/Cargo.toml +0 -354
- package/third-party/cargo/glam@0.33.2/LICENSE-APACHE +0 -201
- package/third-party/cargo/glam@0.33.2/LICENSE-MIT +0 -23
- package/third-party/cargo/glow@0.17.0/Cargo.toml +0 -122
- package/third-party/cargo/glow@0.17.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/glow@0.17.0/LICENSE-MIT +0 -23
- package/third-party/cargo/glow@0.17.0/LICENSE-ZLIB +0 -15
- package/third-party/cargo/gltf-derive@1.4.1/Cargo.toml +0 -34
- package/third-party/cargo/gltf-derive@1.4.1/LICENSE-APACHE +0 -202
- package/third-party/cargo/gltf-derive@1.4.1/LICENSE-MIT +0 -26
- package/third-party/cargo/gltf-json@1.4.1/Cargo.toml +0 -50
- package/third-party/cargo/gltf-json@1.4.1/LICENSE-APACHE +0 -202
- package/third-party/cargo/gltf-json@1.4.1/LICENSE-MIT +0 -26
- package/third-party/cargo/gltf@1.4.1/Cargo.toml +0 -122
- package/third-party/cargo/gltf@1.4.1/LICENSE-APACHE +0 -202
- package/third-party/cargo/gltf@1.4.1/LICENSE-MIT +0 -26
- package/third-party/cargo/glyphon@0.12.0/Cargo.toml +0 -35
- package/third-party/cargo/glyphon@0.12.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/glyphon@0.12.0/LICENSE-MIT +0 -23
- package/third-party/cargo/glyphon@0.12.0/LICENSE-ZLIB +0 -15
- package/third-party/cargo/gpu-allocator@0.28.0/Cargo.toml +0 -180
- package/third-party/cargo/gpu-allocator@0.28.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/gpu-allocator@0.28.0/LICENSE-MIT +0 -7
- package/third-party/cargo/grid@1.0.1/Cargo.toml +0 -77
- package/third-party/cargo/grid@1.0.1/LICENSE +0 -21
- package/third-party/cargo/half@2.7.1/Cargo.toml +0 -137
- package/third-party/cargo/half@2.7.1/LICENSE-APACHE +0 -176
- package/third-party/cargo/half@2.7.1/LICENSE-MIT +0 -19
- package/third-party/cargo/harfrust@0.5.2/Cargo.toml +0 -115
- package/third-party/cargo/harfrust@0.5.2/harfbuzz-harfrust-efdae3142ab7-LICENSE +0 -22
- package/third-party/cargo/hashbrown@0.16.1/Cargo.toml +0 -180
- package/third-party/cargo/hashbrown@0.16.1/LICENSE-APACHE +0 -201
- package/third-party/cargo/hashbrown@0.16.1/LICENSE-MIT +0 -25
- package/third-party/cargo/hashbrown@0.17.1/Cargo.toml +0 -201
- package/third-party/cargo/hashbrown@0.17.1/LICENSE-APACHE +0 -201
- package/third-party/cargo/hashbrown@0.17.1/LICENSE-MIT +0 -25
- package/third-party/cargo/httpdate@1.0.3/Cargo.toml +0 -35
- package/third-party/cargo/httpdate@1.0.3/LICENSE-APACHE +0 -201
- package/third-party/cargo/httpdate@1.0.3/LICENSE-MIT +0 -19
- package/third-party/cargo/image-webp@0.2.4/Cargo.toml +0 -63
- package/third-party/cargo/image-webp@0.2.4/LICENSE-APACHE +0 -177
- package/third-party/cargo/image-webp@0.2.4/LICENSE-MIT +0 -25
- package/third-party/cargo/image@0.25.10/Cargo.toml +0 -248
- package/third-party/cargo/image@0.25.10/LICENSE-APACHE +0 -177
- package/third-party/cargo/image@0.25.10/LICENSE-MIT +0 -25
- package/third-party/cargo/imagesize@0.14.0/Cargo.toml +0 -104
- package/third-party/cargo/imagesize@0.14.0/LICENSE +0 -21
- package/third-party/cargo/indexmap@2.14.0/Cargo.toml +0 -167
- package/third-party/cargo/indexmap@2.14.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/indexmap@2.14.0/LICENSE-MIT +0 -25
- package/third-party/cargo/inflections@1.1.1/Cargo.toml +0 -21
- package/third-party/cargo/inflections@1.1.1/LICENSE +0 -20
- package/third-party/cargo/itoa@1.0.18/Cargo.toml +0 -66
- package/third-party/cargo/itoa@1.0.18/LICENSE-APACHE +0 -176
- package/third-party/cargo/itoa@1.0.18/LICENSE-MIT +0 -23
- package/third-party/cargo/js-sys@0.3.103/Cargo.toml +0 -98
- package/third-party/cargo/js-sys@0.3.103/LICENSE-APACHE +0 -201
- package/third-party/cargo/js-sys@0.3.103/LICENSE-MIT +0 -25
- package/third-party/cargo/khronos-egl@6.0.0/Cargo.toml +0 -82
- package/third-party/cargo/khronos-egl@6.0.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/khronos-egl@6.0.0/LICENSE-MIT +0 -23
- package/third-party/cargo/kurbo@0.13.1/Cargo.toml +0 -230
- package/third-party/cargo/kurbo@0.13.1/LICENSE-APACHE +0 -202
- package/third-party/cargo/kurbo@0.13.1/LICENSE-MIT +0 -25
- package/third-party/cargo/lazy_static@1.5.0/Cargo.toml +0 -46
- package/third-party/cargo/lazy_static@1.5.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/lazy_static@1.5.0/LICENSE-MIT +0 -25
- package/third-party/cargo/libc@0.2.186/Cargo.toml +0 -229
- package/third-party/cargo/libc@0.2.186/LICENSE-APACHE +0 -176
- package/third-party/cargo/libc@0.2.186/LICENSE-MIT +0 -25
- package/third-party/cargo/libloading@0.8.9/Cargo.toml +0 -90
- package/third-party/cargo/libloading@0.8.9/LICENSE +0 -12
- package/third-party/cargo/libm@0.2.16/Cargo.toml +0 -61
- package/third-party/cargo/libm@0.2.16/LICENSE.txt +0 -258
- package/third-party/cargo/linebender_resource_handle@0.1.1/Cargo.toml +0 -107
- package/third-party/cargo/linebender_resource_handle@0.1.1/LICENSE-APACHE +0 -176
- package/third-party/cargo/linebender_resource_handle@0.1.1/LICENSE-MIT +0 -19
- package/third-party/cargo/litrs@1.0.0/Cargo.toml +0 -63
- package/third-party/cargo/litrs@1.0.0/LICENSE-APACHE +0 -176
- package/third-party/cargo/litrs@1.0.0/LICENSE-MIT +0 -25
- package/third-party/cargo/lock_api@0.4.14/Cargo.toml +0 -68
- package/third-party/cargo/lock_api@0.4.14/LICENSE-APACHE +0 -201
- package/third-party/cargo/lock_api@0.4.14/LICENSE-MIT +0 -25
- package/third-party/cargo/log@0.4.33/Cargo.toml +0 -152
- package/third-party/cargo/log@0.4.33/LICENSE-APACHE +0 -201
- package/third-party/cargo/log@0.4.33/LICENSE-MIT +0 -25
- package/third-party/cargo/lru@0.16.4/Cargo.toml +0 -47
- package/third-party/cargo/lru@0.16.4/LICENSE +0 -21
- package/third-party/cargo/lyon_geom@1.0.19/Cargo.toml +0 -69
- package/third-party/cargo/lyon_geom@1.0.19/nical-lyon-56219c95c658-LICENSE-APACHE +0 -13
- package/third-party/cargo/lyon_geom@1.0.19/nical-lyon-56219c95c658-LICENSE-MIT +0 -20
- package/third-party/cargo/lyon_path@1.0.19/Cargo.toml +0 -58
- package/third-party/cargo/lyon_path@1.0.19/nical-lyon-56219c95c658-LICENSE-APACHE +0 -13
- package/third-party/cargo/lyon_path@1.0.19/nical-lyon-56219c95c658-LICENSE-MIT +0 -20
- package/third-party/cargo/lyon_tessellation@1.0.20/Cargo.toml +0 -71
- package/third-party/cargo/lyon_tessellation@1.0.20/nical-lyon-7fa75ea8eea3-LICENSE-APACHE +0 -13
- package/third-party/cargo/lyon_tessellation@1.0.20/nical-lyon-7fa75ea8eea3-LICENSE-MIT +0 -20
- package/third-party/cargo/memchr@2.8.3/COPYING +0 -3
- package/third-party/cargo/memchr@2.8.3/Cargo.toml +0 -89
- package/third-party/cargo/memchr@2.8.3/LICENSE-MIT +0 -21
- package/third-party/cargo/memchr@2.8.3/UNLICENSE +0 -24
- package/third-party/cargo/memmap2@0.9.11/Cargo.toml +0 -59
- package/third-party/cargo/memmap2@0.9.11/LICENSE-APACHE +0 -201
- package/third-party/cargo/memmap2@0.9.11/LICENSE-MIT +0 -26
- package/third-party/cargo/miniz_oxide@0.8.9/Cargo.toml +0 -91
- package/third-party/cargo/miniz_oxide@0.8.9/LICENSE +0 -25
- package/third-party/cargo/miniz_oxide@0.8.9/LICENSE-APACHE.md +0 -177
- package/third-party/cargo/miniz_oxide@0.8.9/LICENSE-MIT.md +0 -24
- package/third-party/cargo/miniz_oxide@0.8.9/LICENSE-ZLIB.md +0 -14
- package/third-party/cargo/moxcms@0.8.1/Cargo.toml +0 -113
- package/third-party/cargo/moxcms@0.8.1/LICENSE-APACHE.md +0 -201
- package/third-party/cargo/moxcms@0.8.1/LICENSE.md +0 -26
- package/third-party/cargo/naga-types@30.0.0/Cargo.toml +0 -94
- package/third-party/cargo/naga-types@30.0.0/LICENSE.APACHE +0 -176
- package/third-party/cargo/naga-types@30.0.0/LICENSE.MIT +0 -21
- package/third-party/cargo/naga@30.0.0/Cargo.toml +0 -246
- package/third-party/cargo/naga@30.0.0/LICENSE.APACHE +0 -176
- package/third-party/cargo/naga@30.0.0/LICENSE.MIT +0 -21
- package/third-party/cargo/num-traits@0.2.19/Cargo.toml +0 -54
- package/third-party/cargo/num-traits@0.2.19/LICENSE-APACHE +0 -201
- package/third-party/cargo/num-traits@0.2.19/LICENSE-MIT +0 -25
- package/third-party/cargo/objc2-core-foundation@0.3.2/Cargo.toml +0 -221
- package/third-party/cargo/objc2-core-foundation@0.3.2/MIT-terms.txt +0 -22
- package/third-party/cargo/objc2-core-foundation@0.3.2/madsmtm-objc2-7b1abfd750a2-LICENSE.md +0 -34
- package/third-party/cargo/objc2-core-graphics@0.3.2/Cargo.toml +0 -331
- package/third-party/cargo/objc2-core-graphics@0.3.2/MIT-terms.txt +0 -22
- package/third-party/cargo/objc2-core-graphics@0.3.2/madsmtm-objc2-7b1abfd750a2-LICENSE.md +0 -34
- package/third-party/cargo/objc2-encode@4.1.0/Cargo.toml +0 -81
- package/third-party/cargo/objc2-encode@4.1.0/MIT-terms.txt +0 -22
- package/third-party/cargo/objc2-encode@4.1.0/madsmtm-objc2-8d214f547736-LICENSE.md +0 -34
- package/third-party/cargo/objc2-foundation@0.3.2/Cargo.toml +0 -529
- package/third-party/cargo/objc2-foundation@0.3.2/MIT-terms.txt +0 -22
- package/third-party/cargo/objc2-foundation@0.3.2/madsmtm-objc2-7b1abfd750a2-LICENSE.md +0 -34
- package/third-party/cargo/objc2-io-surface@0.3.2/Cargo.toml +0 -139
- package/third-party/cargo/objc2-io-surface@0.3.2/MIT-terms.txt +0 -22
- package/third-party/cargo/objc2-io-surface@0.3.2/madsmtm-objc2-7b1abfd750a2-LICENSE.md +0 -34
- package/third-party/cargo/objc2-metal@0.3.2/Cargo.toml +0 -601
- package/third-party/cargo/objc2-metal@0.3.2/MIT-terms.txt +0 -22
- package/third-party/cargo/objc2-metal@0.3.2/madsmtm-objc2-7b1abfd750a2-LICENSE.md +0 -34
- package/third-party/cargo/objc2-quartz-core@0.3.2/Cargo.toml +0 -302
- package/third-party/cargo/objc2-quartz-core@0.3.2/MIT-terms.txt +0 -22
- package/third-party/cargo/objc2-quartz-core@0.3.2/madsmtm-objc2-7b1abfd750a2-LICENSE.md +0 -34
- package/third-party/cargo/objc2@0.6.4/Cargo.toml +0 -232
- package/third-party/cargo/objc2@0.6.4/MIT-terms.txt +0 -22
- package/third-party/cargo/objc2@0.6.4/madsmtm-objc2-8852b424193c-LICENSE.md +0 -34
- package/third-party/cargo/once_cell@1.21.4/Cargo.toml +0 -119
- package/third-party/cargo/once_cell@1.21.4/LICENSE-APACHE +0 -201
- package/third-party/cargo/once_cell@1.21.4/LICENSE-MIT +0 -23
- package/third-party/cargo/ordered-float@5.3.0/Cargo.toml +0 -162
- package/third-party/cargo/ordered-float@5.3.0/LICENSE-MIT +0 -25
- package/third-party/cargo/parking_lot@0.12.5/Cargo.toml +0 -87
- package/third-party/cargo/parking_lot@0.12.5/LICENSE-APACHE +0 -201
- package/third-party/cargo/parking_lot@0.12.5/LICENSE-MIT +0 -25
- package/third-party/cargo/parking_lot_core@0.9.12/Cargo.toml +0 -72
- package/third-party/cargo/parking_lot_core@0.9.12/LICENSE-APACHE +0 -201
- package/third-party/cargo/parking_lot_core@0.9.12/LICENSE-MIT +0 -25
- package/third-party/cargo/pico-args@0.5.0/Cargo.toml +0 -32
- package/third-party/cargo/pico-args@0.5.0/LICENSE +0 -20
- package/third-party/cargo/pin-project-lite@0.2.17/Cargo.toml +0 -198
- package/third-party/cargo/pin-project-lite@0.2.17/LICENSE-APACHE +0 -177
- package/third-party/cargo/pin-project-lite@0.2.17/LICENSE-MIT +0 -23
- package/third-party/cargo/pkg-config@0.3.33/Cargo.toml +0 -43
- package/third-party/cargo/pkg-config@0.3.33/LICENSE-APACHE +0 -201
- package/third-party/cargo/pkg-config@0.3.33/LICENSE-MIT +0 -25
- package/third-party/cargo/png@0.18.1/Cargo.toml +0 -130
- package/third-party/cargo/png@0.18.1/LICENSE-APACHE +0 -201
- package/third-party/cargo/png@0.18.1/LICENSE-MIT +0 -25
- package/third-party/cargo/pollster@0.4.0/Cargo.toml +0 -53
- package/third-party/cargo/pollster@0.4.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/pollster@0.4.0/LICENSE-MIT +0 -25
- package/third-party/cargo/polycool@0.4.0/Cargo.toml +0 -83
- package/third-party/cargo/polycool@0.4.0/LICENSE-APACHE +0 -202
- package/third-party/cargo/polycool@0.4.0/LICENSE-MIT +0 -25
- package/third-party/cargo/pp-rs@0.2.1/Cargo.toml +0 -23
- package/third-party/cargo/pp-rs@0.2.1/LICENSE +0 -29
- package/third-party/cargo/presser@0.3.1/Cargo.toml +0 -58
- package/third-party/cargo/presser@0.3.1/LICENSE-APACHE +0 -201
- package/third-party/cargo/presser@0.3.1/LICENSE-MIT +0 -25
- package/third-party/cargo/proc-macro2@1.0.106/Cargo.toml +0 -105
- package/third-party/cargo/proc-macro2@1.0.106/LICENSE-APACHE +0 -176
- package/third-party/cargo/proc-macro2@1.0.106/LICENSE-MIT +0 -23
- package/third-party/cargo/profiling@1.0.18/Cargo.toml +0 -96
- package/third-party/cargo/profiling@1.0.18/aclysma-profiling-8271551172eb-LICENSE-APACHE +0 -201
- package/third-party/cargo/profiling@1.0.18/aclysma-profiling-8271551172eb-LICENSE-MIT +0 -21
- package/third-party/cargo/pxfm@0.1.30/Cargo.toml +0 -53
- package/third-party/cargo/pxfm@0.1.30/LICENSE-APACHE.md +0 -201
- package/third-party/cargo/pxfm@0.1.30/LICENSE.md +0 -26
- package/third-party/cargo/quick-error@2.0.1/Cargo.toml +0 -24
- package/third-party/cargo/quick-error@2.0.1/LICENSE-APACHE +0 -202
- package/third-party/cargo/quick-error@2.0.1/LICENSE-MIT +0 -19
- package/third-party/cargo/quote@1.0.46/Cargo.toml +0 -70
- package/third-party/cargo/quote@1.0.46/LICENSE-APACHE +0 -176
- package/third-party/cargo/quote@1.0.46/LICENSE-MIT +0 -23
- package/third-party/cargo/rangemap@1.7.1/Cargo.toml +0 -91
- package/third-party/cargo/rangemap@1.7.1/LICENSE-APACHE +0 -191
- package/third-party/cargo/rangemap@1.7.1/LICENSE-MIT +0 -7
- package/third-party/cargo/raw-window-handle@0.6.2/Cargo.toml +0 -56
- package/third-party/cargo/raw-window-handle@0.6.2/LICENSE-APACHE.md +0 -177
- package/third-party/cargo/raw-window-handle@0.6.2/LICENSE-MIT.md +0 -21
- package/third-party/cargo/raw-window-handle@0.6.2/LICENSE-ZLIB.md +0 -11
- package/third-party/cargo/raw-window-metal@1.1.0/Cargo.toml +0 -111
- package/third-party/cargo/raw-window-metal@1.1.0/LICENSE-APACHE +0 -202
- package/third-party/cargo/raw-window-metal@1.1.0/LICENSE-MIT +0 -17
- package/third-party/cargo/read-fonts@0.37.0/Cargo.toml +0 -95
- package/third-party/cargo/read-fonts@0.37.0/LICENSE-APACHE +0 -67
- package/third-party/cargo/read-fonts@0.37.0/LICENSE-MIT +0 -25
- package/third-party/cargo/read-fonts@0.39.2/Cargo.toml +0 -96
- package/third-party/cargo/read-fonts@0.39.2/LICENSE-APACHE +0 -67
- package/third-party/cargo/read-fonts@0.39.2/LICENSE-MIT +0 -25
- package/third-party/cargo/renderdoc-sys@1.1.0/Cargo.toml +0 -39
- package/third-party/cargo/renderdoc-sys@1.1.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/renderdoc-sys@1.1.0/LICENSE-MIT +0 -25
- package/third-party/cargo/resvg@0.47.0/Cargo.toml +0 -112
- package/third-party/cargo/resvg@0.47.0/LICENSE-APACHE +0 -176
- package/third-party/cargo/resvg@0.47.0/LICENSE-MIT +0 -25
- package/third-party/cargo/rgb@0.8.53/Cargo.toml +0 -110
- package/third-party/cargo/rgb@0.8.53/LICENSE +0 -21
- package/third-party/cargo/roxmltree@0.21.1/Cargo.toml +0 -75
- package/third-party/cargo/roxmltree@0.21.1/LICENSE-APACHE +0 -201
- package/third-party/cargo/roxmltree@0.21.1/LICENSE-MIT +0 -21
- package/third-party/cargo/rustc-hash@1.1.0/Cargo.toml +0 -25
- package/third-party/cargo/rustc-hash@1.1.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/rustc-hash@1.1.0/LICENSE-MIT +0 -23
- package/third-party/cargo/rustc-hash@2.1.3/Cargo.toml +0 -50
- package/third-party/cargo/rustc-hash@2.1.3/LICENSE-APACHE +0 -176
- package/third-party/cargo/rustc-hash@2.1.3/LICENSE-MIT +0 -23
- package/third-party/cargo/rustix@1.1.4/COPYRIGHT +0 -29
- package/third-party/cargo/rustix@1.1.4/Cargo.toml +0 -292
- package/third-party/cargo/rustix@1.1.4/LICENSE-APACHE +0 -201
- package/third-party/cargo/rustix@1.1.4/LICENSE-Apache-2.0_WITH_LLVM-exception +0 -220
- package/third-party/cargo/rustix@1.1.4/LICENSE-MIT +0 -23
- package/third-party/cargo/rustversion@1.0.23/Cargo.toml +0 -69
- package/third-party/cargo/rustversion@1.0.23/LICENSE-APACHE +0 -176
- package/third-party/cargo/rustversion@1.0.23/LICENSE-MIT +0 -23
- package/third-party/cargo/rustybuzz@0.20.1/Cargo.toml +0 -110
- package/third-party/cargo/rustybuzz@0.20.1/LICENSE +0 -22
- package/third-party/cargo/scopeguard@1.2.0/Cargo.toml +0 -43
- package/third-party/cargo/scopeguard@1.2.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/scopeguard@1.2.0/LICENSE-MIT +0 -25
- package/third-party/cargo/self_cell@1.2.2/Cargo.toml +0 -33
- package/third-party/cargo/self_cell@1.2.2/LICENSE-APACHE +0 -201
- package/third-party/cargo/self_cell@1.2.2/LICENSE-GPLv2 +0 -339
- package/third-party/cargo/self_cell@1.3.0/Cargo.toml +0 -33
- package/third-party/cargo/self_cell@1.3.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/self_cell@1.3.0/LICENSE-GPLv2 +0 -339
- package/third-party/cargo/serde@1.0.228/Cargo.toml +0 -84
- package/third-party/cargo/serde@1.0.228/LICENSE-APACHE +0 -176
- package/third-party/cargo/serde@1.0.228/LICENSE-MIT +0 -23
- package/third-party/cargo/serde_core@1.0.228/Cargo.toml +0 -87
- package/third-party/cargo/serde_core@1.0.228/LICENSE-APACHE +0 -176
- package/third-party/cargo/serde_core@1.0.228/LICENSE-MIT +0 -23
- package/third-party/cargo/serde_derive@1.0.228/Cargo.toml +0 -87
- package/third-party/cargo/serde_derive@1.0.228/LICENSE-APACHE +0 -176
- package/third-party/cargo/serde_derive@1.0.228/LICENSE-MIT +0 -23
- package/third-party/cargo/serde_json@1.0.150/Cargo.toml +0 -162
- package/third-party/cargo/serde_json@1.0.150/LICENSE-APACHE +0 -176
- package/third-party/cargo/serde_json@1.0.150/LICENSE-MIT +0 -23
- package/third-party/cargo/simd-adler32@0.3.10/Cargo.toml +0 -68
- package/third-party/cargo/simd-adler32@0.3.10/LICENSE.md +0 -21
- package/third-party/cargo/simplecss@0.2.2/Cargo.toml +0 -146
- package/third-party/cargo/simplecss@0.2.2/LICENSE-APACHE +0 -201
- package/third-party/cargo/simplecss@0.2.2/LICENSE-MIT +0 -21
- package/third-party/cargo/siphasher@1.0.3/COPYING +0 -7
- package/third-party/cargo/siphasher@1.0.3/Cargo.toml +0 -64
- package/third-party/cargo/skrifa@0.40.0/Cargo.toml +0 -86
- package/third-party/cargo/skrifa@0.40.0/LICENSE-APACHE +0 -67
- package/third-party/cargo/skrifa@0.40.0/LICENSE-MIT +0 -25
- package/third-party/cargo/skrifa@0.42.1/Cargo.toml +0 -86
- package/third-party/cargo/skrifa@0.42.1/LICENSE-APACHE +0 -67
- package/third-party/cargo/skrifa@0.42.1/LICENSE-MIT +0 -25
- package/third-party/cargo/slab@0.4.12/Cargo.toml +0 -67
- package/third-party/cargo/slab@0.4.12/LICENSE +0 -25
- package/third-party/cargo/slotmap@1.1.1/Cargo.toml +0 -83
- package/third-party/cargo/slotmap@1.1.1/LICENSE +0 -19
- package/third-party/cargo/smallvec@1.15.2/Cargo.toml +0 -103
- package/third-party/cargo/smallvec@1.15.2/LICENSE-APACHE +0 -201
- package/third-party/cargo/smallvec@1.15.2/LICENSE-MIT +0 -25
- package/third-party/cargo/smol_str@0.3.6/Cargo.toml +0 -155
- package/third-party/cargo/smol_str@0.3.6/LICENSE-APACHE +0 -201
- package/third-party/cargo/smol_str@0.3.6/LICENSE-MIT +0 -23
- package/third-party/cargo/spirv@0.4.0+sdk-1.4.341.0/Cargo.toml +0 -56
- package/third-party/cargo/spirv@0.4.0+sdk-1.4.341.0/gfx-rs-rspirv-8afc3d0ac8e1-LICENSE +0 -202
- package/third-party/cargo/static_assertions@1.1.0/Cargo.toml +0 -39
- package/third-party/cargo/static_assertions@1.1.0/LICENSE-APACHE +0 -202
- package/third-party/cargo/static_assertions@1.1.0/LICENSE-MIT +0 -21
- package/third-party/cargo/strict-num@0.1.1/Cargo.toml +0 -35
- package/third-party/cargo/strict-num@0.1.1/LICENSE +0 -19
- package/third-party/cargo/svgtypes@0.16.1/Cargo.toml +0 -57
- package/third-party/cargo/svgtypes@0.16.1/LICENSE-APACHE +0 -201
- package/third-party/cargo/svgtypes@0.16.1/LICENSE-MIT +0 -20
- package/third-party/cargo/swash@0.2.9/Cargo.toml +0 -93
- package/third-party/cargo/swash@0.2.9/LICENSE-APACHE +0 -201
- package/third-party/cargo/swash@0.2.9/LICENSE-MIT +0 -25
- package/third-party/cargo/syn@2.0.118/Cargo.toml +0 -272
- package/third-party/cargo/syn@2.0.118/LICENSE-APACHE +0 -176
- package/third-party/cargo/syn@2.0.118/LICENSE-MIT +0 -23
- package/third-party/cargo/sys-locale@0.3.2/Cargo.toml +0 -73
- package/third-party/cargo/sys-locale@0.3.2/LICENSE-APACHE +0 -201
- package/third-party/cargo/sys-locale@0.3.2/LICENSE-MIT +0 -21
- package/third-party/cargo/taffy@0.12.1/Cargo.toml +0 -171
- package/third-party/cargo/taffy@0.12.1/DioxusLabs-taffy-1c9e37a0a1cf-LICENSE.md +0 -25
- package/third-party/cargo/tempfile@3.27.0/Cargo.toml +0 -105
- package/third-party/cargo/tempfile@3.27.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/tempfile@3.27.0/LICENSE-MIT +0 -25
- package/third-party/cargo/termcolor@1.4.1/COPYING +0 -3
- package/third-party/cargo/termcolor@1.4.1/Cargo.toml +0 -40
- package/third-party/cargo/termcolor@1.4.1/LICENSE-MIT +0 -21
- package/third-party/cargo/termcolor@1.4.1/UNLICENSE +0 -24
- package/third-party/cargo/thiserror-impl@2.0.18/Cargo.toml +0 -52
- package/third-party/cargo/thiserror-impl@2.0.18/LICENSE-APACHE +0 -176
- package/third-party/cargo/thiserror-impl@2.0.18/LICENSE-MIT +0 -23
- package/third-party/cargo/thiserror@2.0.18/Cargo.toml +0 -119
- package/third-party/cargo/thiserror@2.0.18/LICENSE-APACHE +0 -176
- package/third-party/cargo/thiserror@2.0.18/LICENSE-MIT +0 -23
- package/third-party/cargo/tiny-skia-path@0.12.0/Cargo.toml +0 -58
- package/third-party/cargo/tiny-skia-path@0.12.0/LICENSE +0 -30
- package/third-party/cargo/tiny-skia@0.12.0/Cargo.toml +0 -116
- package/third-party/cargo/tiny-skia@0.12.0/LICENSE +0 -30
- package/third-party/cargo/tiny_http@0.12.0/Cargo.toml +0 -82
- package/third-party/cargo/tiny_http@0.12.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/tiny_http@0.12.0/LICENSE-MIT +0 -25
- package/third-party/cargo/tinyvec@1.12.0/Cargo.toml +0 -184
- package/third-party/cargo/tinyvec@1.12.0/LICENSE-APACHE.md +0 -202
- package/third-party/cargo/tinyvec@1.12.0/LICENSE-MIT.md +0 -5
- package/third-party/cargo/tinyvec@1.12.0/LICENSE-ZLIB.md +0 -11
- package/third-party/cargo/tinyvec_macros@0.1.1/Cargo.toml +0 -19
- package/third-party/cargo/tinyvec_macros@0.1.1/LICENSE-APACHE.md +0 -202
- package/third-party/cargo/tinyvec_macros@0.1.1/LICENSE-MIT.md +0 -21
- package/third-party/cargo/tinyvec_macros@0.1.1/LICENSE-ZLIB.md +0 -20
- package/third-party/cargo/ttf-parser@0.25.1/Cargo.toml +0 -101
- package/third-party/cargo/ttf-parser@0.25.1/LICENSE-APACHE +0 -201
- package/third-party/cargo/ttf-parser@0.25.1/LICENSE-MIT +0 -20
- package/third-party/cargo/unicode-bidi-mirroring@0.4.0/Cargo.toml +0 -22
- package/third-party/cargo/unicode-bidi-mirroring@0.4.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/unicode-bidi-mirroring@0.4.0/LICENSE-MIT +0 -21
- package/third-party/cargo/unicode-bidi@0.3.18/COPYRIGHT +0 -8
- package/third-party/cargo/unicode-bidi@0.3.18/Cargo.toml +0 -90
- package/third-party/cargo/unicode-bidi@0.3.18/LICENSE-APACHE +0 -201
- package/third-party/cargo/unicode-bidi@0.3.18/LICENSE-MIT +0 -25
- package/third-party/cargo/unicode-ccc@0.4.0/Cargo.toml +0 -22
- package/third-party/cargo/unicode-ccc@0.4.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/unicode-ccc@0.4.0/LICENSE-MIT +0 -21
- package/third-party/cargo/unicode-ident@1.0.24/Cargo.toml +0 -84
- package/third-party/cargo/unicode-ident@1.0.24/LICENSE-APACHE +0 -176
- package/third-party/cargo/unicode-ident@1.0.24/LICENSE-MIT +0 -23
- package/third-party/cargo/unicode-ident@1.0.24/LICENSE-UNICODE +0 -39
- package/third-party/cargo/unicode-linebreak@0.1.5/Cargo.toml +0 -32
- package/third-party/cargo/unicode-linebreak@0.1.5/LICENSE +0 -201
- package/third-party/cargo/unicode-properties@0.1.4/COPYRIGHT +0 -7
- package/third-party/cargo/unicode-properties@0.1.4/Cargo.toml +0 -65
- package/third-party/cargo/unicode-properties@0.1.4/LICENSE-APACHE +0 -201
- package/third-party/cargo/unicode-properties@0.1.4/LICENSE-MIT +0 -25
- package/third-party/cargo/unicode-script@0.5.8/Cargo.toml +0 -63
- package/third-party/cargo/unicode-script@0.5.8/LICENSE-APACHE +0 -201
- package/third-party/cargo/unicode-script@0.5.8/LICENSE-MIT +0 -27
- package/third-party/cargo/unicode-segmentation@1.13.3/COPYRIGHT +0 -7
- package/third-party/cargo/unicode-segmentation@1.13.3/Cargo.toml +0 -91
- package/third-party/cargo/unicode-segmentation@1.13.3/LICENSE-APACHE +0 -201
- package/third-party/cargo/unicode-segmentation@1.13.3/LICENSE-MIT +0 -25
- package/third-party/cargo/unicode-vo@0.1.0/Cargo.toml +0 -22
- package/third-party/cargo/unicode-vo@0.1.0/LICENSE-APACHE +0 -201
- package/third-party/cargo/unicode-vo@0.1.0/LICENSE-MIT +0 -21
- package/third-party/cargo/unicode-width@0.2.2/COPYRIGHT +0 -7
- package/third-party/cargo/unicode-width@0.2.2/Cargo.toml +0 -77
- package/third-party/cargo/unicode-width@0.2.2/LICENSE-APACHE +0 -201
- package/third-party/cargo/unicode-width@0.2.2/LICENSE-MIT +0 -25
- package/third-party/cargo/unicode-xid@0.2.6/COPYRIGHT +0 -7
- package/third-party/cargo/unicode-xid@0.2.6/Cargo.toml +0 -65
- package/third-party/cargo/unicode-xid@0.2.6/LICENSE-APACHE +0 -201
- package/third-party/cargo/unicode-xid@0.2.6/LICENSE-MIT +0 -25
- package/third-party/cargo/urlencoding@2.1.3/Cargo.toml +0 -41
- package/third-party/cargo/urlencoding@2.1.3/LICENSE +0 -20
- package/third-party/cargo/usvg@0.47.0/Cargo.toml +0 -138
- package/third-party/cargo/usvg@0.47.0/LICENSE-APACHE +0 -176
- package/third-party/cargo/usvg@0.47.0/LICENSE-MIT +0 -25
- package/third-party/cargo/version_check@0.9.5/Cargo.toml +0 -38
- package/third-party/cargo/version_check@0.9.5/LICENSE-APACHE +0 -201
- package/third-party/cargo/version_check@0.9.5/LICENSE-MIT +0 -19
- package/third-party/cargo/wasm-bindgen-futures@0.4.76/Cargo.toml +0 -88
- package/third-party/cargo/wasm-bindgen-futures@0.4.76/LICENSE-APACHE +0 -201
- package/third-party/cargo/wasm-bindgen-futures@0.4.76/LICENSE-MIT +0 -25
- package/third-party/cargo/wasm-bindgen-macro-support@0.2.126/Cargo.toml +0 -83
- package/third-party/cargo/wasm-bindgen-macro-support@0.2.126/LICENSE-APACHE +0 -201
- package/third-party/cargo/wasm-bindgen-macro-support@0.2.126/LICENSE-MIT +0 -25
- package/third-party/cargo/wasm-bindgen-macro@0.2.126/Cargo.toml +0 -73
- package/third-party/cargo/wasm-bindgen-macro@0.2.126/LICENSE-APACHE +0 -201
- package/third-party/cargo/wasm-bindgen-macro@0.2.126/LICENSE-MIT +0 -25
- package/third-party/cargo/wasm-bindgen-shared@0.2.126/Cargo.toml +0 -66
- package/third-party/cargo/wasm-bindgen-shared@0.2.126/LICENSE-APACHE +0 -201
- package/third-party/cargo/wasm-bindgen-shared@0.2.126/LICENSE-MIT +0 -25
- package/third-party/cargo/wasm-bindgen@0.2.126/Cargo.toml +0 -122
- package/third-party/cargo/wasm-bindgen@0.2.126/LICENSE-APACHE +0 -201
- package/third-party/cargo/wasm-bindgen@0.2.126/LICENSE-MIT +0 -25
- package/third-party/cargo/wayland-sys@0.31.11/Cargo.toml +0 -81
- package/third-party/cargo/wayland-sys@0.31.11/LICENSE.txt +0 -19
- package/third-party/cargo/web-sys@0.3.103/Cargo.toml +0 -2823
- package/third-party/cargo/web-sys@0.3.103/LICENSE-APACHE +0 -201
- package/third-party/cargo/web-sys@0.3.103/LICENSE-MIT +0 -25
- package/third-party/cargo/weezl@0.1.12/Cargo.toml +0 -120
- package/third-party/cargo/weezl@0.1.12/LICENSE-APACHE +0 -201
- package/third-party/cargo/weezl@0.1.12/LICENSE-MIT +0 -22
- package/third-party/cargo/wgpu-core-deps-apple@30.0.0/Cargo.toml +0 -53
- package/third-party/cargo/wgpu-core-deps-apple@30.0.0/LICENSE.APACHE +0 -176
- package/third-party/cargo/wgpu-core-deps-apple@30.0.0/LICENSE.MIT +0 -21
- package/third-party/cargo/wgpu-core@30.0.0/Cargo.toml +0 -237
- package/third-party/cargo/wgpu-core@30.0.0/LICENSE.APACHE +0 -176
- package/third-party/cargo/wgpu-core@30.0.0/LICENSE.MIT +0 -21
- package/third-party/cargo/wgpu-hal@30.0.0/Cargo.toml +0 -541
- package/third-party/cargo/wgpu-hal@30.0.0/LICENSE.APACHE +0 -176
- package/third-party/cargo/wgpu-hal@30.0.0/LICENSE.MIT +0 -21
- package/third-party/cargo/wgpu-naga-bridge@30.0.0/Cargo.toml +0 -46
- package/third-party/cargo/wgpu-naga-bridge@30.0.0/LICENSE.APACHE +0 -176
- package/third-party/cargo/wgpu-naga-bridge@30.0.0/LICENSE.MIT +0 -21
- package/third-party/cargo/wgpu-types@30.0.0/Cargo.toml +0 -161
- package/third-party/cargo/wgpu-types@30.0.0/LICENSE.APACHE +0 -176
- package/third-party/cargo/wgpu-types@30.0.0/LICENSE.MIT +0 -21
- package/third-party/cargo/wgpu@30.0.0/Cargo.toml +0 -278
- package/third-party/cargo/wgpu@30.0.0/LICENSE.APACHE +0 -176
- package/third-party/cargo/wgpu@30.0.0/LICENSE.MIT +0 -21
- package/third-party/cargo/xmlwriter@0.1.0/Cargo.toml +0 -23
- package/third-party/cargo/xmlwriter@0.1.0/LICENSE +0 -21
- package/third-party/cargo/yazi@0.2.1/Cargo.toml +0 -45
- package/third-party/cargo/yazi@0.2.1/LICENSE-APACHE +0 -201
- package/third-party/cargo/yazi@0.2.1/LICENSE-MIT +0 -19
- package/third-party/cargo/zeno@0.3.3/Cargo.toml +0 -65
- package/third-party/cargo/zeno@0.3.3/LICENSE-APACHE +0 -201
- package/third-party/cargo/zeno@0.3.3/LICENSE-MIT +0 -25
- package/third-party/cargo/zerocopy-derive@0.8.54/Cargo.toml +0 -209
- package/third-party/cargo/zerocopy-derive@0.8.54/LICENSE-APACHE +0 -202
- package/third-party/cargo/zerocopy-derive@0.8.54/LICENSE-BSD +0 -24
- package/third-party/cargo/zerocopy-derive@0.8.54/LICENSE-MIT +0 -26
- package/third-party/cargo/zerocopy@0.8.54/Cargo.toml +0 -419
- package/third-party/cargo/zerocopy@0.8.54/LICENSE-APACHE +0 -202
- package/third-party/cargo/zerocopy@0.8.54/LICENSE-BSD +0 -24
- package/third-party/cargo/zerocopy@0.8.54/LICENSE-MIT +0 -26
- package/third-party/cargo/zmij@1.0.23/Cargo.toml +0 -90
- package/third-party/cargo/zmij@1.0.23/LICENSE-MIT +0 -23
- package/third-party/cargo/zune-core@0.5.1/Cargo.toml +0 -47
- package/third-party/cargo/zune-core@0.5.1/LICENSE-APACHE +0 -201
- package/third-party/cargo/zune-core@0.5.1/LICENSE-MIT +0 -21
- package/third-party/cargo/zune-core@0.5.1/LICENSE-ZLIB +0 -19
- package/third-party/cargo/zune-jpeg@0.5.15/Cargo.toml +0 -67
- package/third-party/cargo/zune-jpeg@0.5.15/LICENSE-APACHE +0 -201
- package/third-party/cargo/zune-jpeg@0.5.15/LICENSE-MIT +0 -21
- package/third-party/cargo/zune-jpeg@0.5.15/LICENSE-ZLIB +0 -19
- package/third-party/npm/@esbuild__darwin-arm64@0.27.4/esbuild-0.27.4-LICENSE.md +0 -21
- package/third-party/npm/@esbuild__darwin-arm64@0.27.4/go-LICENSE +0 -27
- package/third-party/npm/@esbuild__darwin-arm64@0.27.4/golang-x-sys-c0bba94af5f8-LICENSE +0 -27
- package/third-party/npm/@esbuild__darwin-arm64@0.27.4/package.json +0 -20
- package/third-party/npm/@floating-ui__core@1.7.5/LICENSE +0 -20
- package/third-party/npm/@floating-ui__core@1.7.5/package.json +0 -63
- package/third-party/npm/@floating-ui__dom@1.7.6/LICENSE +0 -20
- package/third-party/npm/@floating-ui__dom@1.7.6/package.json +0 -71
- package/third-party/npm/@floating-ui__react-dom@2.1.8/LICENSE +0 -20
- package/third-party/npm/@floating-ui__react-dom@2.1.8/package.json +0 -76
- package/third-party/npm/@floating-ui__utils@0.2.11/LICENSE +0 -20
- package/third-party/npm/@floating-ui__utils@0.2.11/package.json +0 -70
- package/third-party/npm/@radix-ui__primitive@1.1.7/LICENSE +0 -21
- package/third-party/npm/@radix-ui__primitive@1.1.7/package.json +0 -79
- package/third-party/npm/@radix-ui__react-arrow@1.1.15/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-arrow@1.1.15/package.json +0 -68
- package/third-party/npm/@radix-ui__react-collection@1.1.15/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-collection@1.1.15/package.json +0 -71
- package/third-party/npm/@radix-ui__react-compose-refs@1.1.5/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-compose-refs@1.1.5/package.json +0 -60
- package/third-party/npm/@radix-ui__react-context-menu@2.3.7/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-context-menu@2.3.7/package.json +0 -73
- package/third-party/npm/@radix-ui__react-context@1.2.2/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-context@1.2.2/package.json +0 -60
- package/third-party/npm/@radix-ui__react-direction@1.1.4/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-direction@1.1.4/package.json +0 -60
- package/third-party/npm/@radix-ui__react-dismissable-layer@1.1.19/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-dismissable-layer@1.1.19/package.json +0 -74
- package/third-party/npm/@radix-ui__react-focus-guards@1.1.6/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-focus-guards@1.1.6/package.json +0 -60
- package/third-party/npm/@radix-ui__react-focus-scope@1.1.16/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-focus-scope@1.1.16/package.json +0 -71
- package/third-party/npm/@radix-ui__react-id@1.1.4/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-id@1.1.4/package.json +0 -63
- package/third-party/npm/@radix-ui__react-menu@2.1.24/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-menu@2.1.24/package.json +0 -86
- package/third-party/npm/@radix-ui__react-popper@1.3.7/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-popper@1.3.7/package.json +0 -78
- package/third-party/npm/@radix-ui__react-portal@1.1.17/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-portal@1.1.17/package.json +0 -69
- package/third-party/npm/@radix-ui__react-presence@1.1.10/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-presence@1.1.10/package.json +0 -68
- package/third-party/npm/@radix-ui__react-primitive@2.1.10/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-primitive@2.1.10/package.json +0 -68
- package/third-party/npm/@radix-ui__react-roving-focus@1.1.19/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-roving-focus@1.1.19/package.json +0 -78
- package/third-party/npm/@radix-ui__react-slot@1.3.3/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-slot@1.3.3/package.json +0 -63
- package/third-party/npm/@radix-ui__react-use-callback-ref@1.1.4/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-use-callback-ref@1.1.4/package.json +0 -60
- package/third-party/npm/@radix-ui__react-use-controllable-state@1.2.6/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-use-controllable-state@1.2.6/package.json +0 -65
- package/third-party/npm/@radix-ui__react-use-effect-event@0.0.5/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-use-effect-event@0.0.5/package.json +0 -65
- package/third-party/npm/@radix-ui__react-use-is-hydrated@0.1.3/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-use-is-hydrated@0.1.3/package.json +0 -61
- package/third-party/npm/@radix-ui__react-use-layout-effect@1.1.4/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-use-layout-effect@1.1.4/package.json +0 -60
- package/third-party/npm/@radix-ui__react-use-size@1.1.4/LICENSE +0 -21
- package/third-party/npm/@radix-ui__react-use-size@1.1.4/package.json +0 -63
- package/third-party/npm/aria-hidden@1.2.6/LICENSE +0 -21
- package/third-party/npm/aria-hidden@1.2.6/package.json +0 -71
- package/third-party/npm/detect-node-es@1.1.0/LICENSE +0 -21
- package/third-party/npm/detect-node-es@1.1.0/package.json +0 -29
- package/third-party/npm/esbuild@0.27.4/LICENSE.md +0 -21
- package/third-party/npm/esbuild@0.27.4/package.json +0 -49
- package/third-party/npm/get-nonce@1.0.1/LICENSE +0 -21
- package/third-party/npm/get-nonce@1.0.1/package.json +0 -68
- package/third-party/npm/mediabunny@1.52.2/LICENSE +0 -373
- package/third-party/npm/mediabunny@1.52.2/package.json +0 -136
- package/third-party/npm/mediabunny@1.52.2/source/LICENSE +0 -373
- package/third-party/npm/mediabunny@1.52.2/source/package.json +0 -136
- package/third-party/npm/mediabunny@1.52.2/source/src/adts/adts-demuxer.ts +0 -400
- package/third-party/npm/mediabunny@1.52.2/source/src/adts/adts-muxer.ts +0 -124
- package/third-party/npm/mediabunny@1.52.2/source/src/adts/adts-reader.ts +0 -85
- package/third-party/npm/mediabunny@1.52.2/source/src/aes.ts +0 -307
- package/third-party/npm/mediabunny@1.52.2/source/src/codec-data.ts +0 -3178
- package/third-party/npm/mediabunny@1.52.2/source/src/codec.ts +0 -1154
- package/third-party/npm/mediabunny@1.52.2/source/src/conversion.ts +0 -2042
- package/third-party/npm/mediabunny@1.52.2/source/src/custom-coder.ts +0 -212
- package/third-party/npm/mediabunny@1.52.2/source/src/decode.ts +0 -263
- package/third-party/npm/mediabunny@1.52.2/source/src/demuxer.ts +0 -43
- package/third-party/npm/mediabunny@1.52.2/source/src/encode.ts +0 -1412
- package/third-party/npm/mediabunny@1.52.2/source/src/flac/flac-demuxer.ts +0 -813
- package/third-party/npm/mediabunny@1.52.2/source/src/flac/flac-misc.ts +0 -165
- package/third-party/npm/mediabunny@1.52.2/source/src/flac/flac-muxer.ts +0 -350
- package/third-party/npm/mediabunny@1.52.2/source/src/hls/hls-demuxer.ts +0 -995
- package/third-party/npm/mediabunny@1.52.2/source/src/hls/hls-misc.ts +0 -81
- package/third-party/npm/mediabunny@1.52.2/source/src/hls/hls-muxer.ts +0 -1529
- package/third-party/npm/mediabunny@1.52.2/source/src/hls/hls-segmented-input.ts +0 -772
- package/third-party/npm/mediabunny@1.52.2/source/src/id3.ts +0 -972
- package/third-party/npm/mediabunny@1.52.2/source/src/index.ts +0 -319
- package/third-party/npm/mediabunny@1.52.2/source/src/input-format.ts +0 -819
- package/third-party/npm/mediabunny@1.52.2/source/src/input-track.ts +0 -1141
- package/third-party/npm/mediabunny@1.52.2/source/src/input.ts +0 -571
- package/third-party/npm/mediabunny@1.52.2/source/src/isobmff/isobmff-boxes.ts +0 -1911
- package/third-party/npm/mediabunny@1.52.2/source/src/isobmff/isobmff-demuxer.ts +0 -3953
- package/third-party/npm/mediabunny@1.52.2/source/src/isobmff/isobmff-misc.ts +0 -90
- package/third-party/npm/mediabunny@1.52.2/source/src/isobmff/isobmff-muxer.ts +0 -1595
- package/third-party/npm/mediabunny@1.52.2/source/src/isobmff/isobmff-reader.ts +0 -91
- package/third-party/npm/mediabunny@1.52.2/source/src/logging.ts +0 -120
- package/third-party/npm/mediabunny@1.52.2/source/src/matroska/ebml.ts +0 -770
- package/third-party/npm/mediabunny@1.52.2/source/src/matroska/matroska-demuxer.ts +0 -2598
- package/third-party/npm/mediabunny@1.52.2/source/src/matroska/matroska-misc.ts +0 -29
- package/third-party/npm/mediabunny@1.52.2/source/src/matroska/matroska-muxer.ts +0 -1360
- package/third-party/npm/mediabunny@1.52.2/source/src/media-sink.ts +0 -2589
- package/third-party/npm/mediabunny@1.52.2/source/src/media-source.ts +0 -3041
- package/third-party/npm/mediabunny@1.52.2/source/src/metadata.ts +0 -335
- package/third-party/npm/mediabunny@1.52.2/source/src/misc.ts +0 -1336
- package/third-party/npm/mediabunny@1.52.2/source/src/mp3/mp3-demuxer.ts +0 -469
- package/third-party/npm/mediabunny@1.52.2/source/src/mp3/mp3-muxer.ts +0 -169
- package/third-party/npm/mediabunny@1.52.2/source/src/mp3/mp3-reader.ts +0 -61
- package/third-party/npm/mediabunny@1.52.2/source/src/mp3/mp3-writer.ts +0 -121
- package/third-party/npm/mediabunny@1.52.2/source/src/mpeg-ts/mpeg-ts-demuxer.ts +0 -2519
- package/third-party/npm/mediabunny@1.52.2/source/src/mpeg-ts/mpeg-ts-misc.ts +0 -32
- package/third-party/npm/mediabunny@1.52.2/source/src/mpeg-ts/mpeg-ts-muxer.ts +0 -842
- package/third-party/npm/mediabunny@1.52.2/source/src/muxer.ts +0 -80
- package/third-party/npm/mediabunny@1.52.2/source/src/node.ts +0 -11
- package/third-party/npm/mediabunny@1.52.2/source/src/ogg/ogg-demuxer.ts +0 -1087
- package/third-party/npm/mediabunny@1.52.2/source/src/ogg/ogg-misc.ts +0 -116
- package/third-party/npm/mediabunny@1.52.2/source/src/ogg/ogg-muxer.ts +0 -527
- package/third-party/npm/mediabunny@1.52.2/source/src/ogg/ogg-reader.ts +0 -93
- package/third-party/npm/mediabunny@1.52.2/source/src/output-format.ts +0 -1425
- package/third-party/npm/mediabunny@1.52.2/source/src/output.ts +0 -940
- package/third-party/npm/mediabunny@1.52.2/source/src/packet.ts +0 -287
- package/third-party/npm/mediabunny@1.52.2/source/src/pcm.ts +0 -112
- package/third-party/npm/mediabunny@1.52.2/source/src/reader.ts +0 -391
- package/third-party/npm/mediabunny@1.52.2/source/src/resample.ts +0 -287
- package/third-party/npm/mediabunny@1.52.2/source/src/sample.ts +0 -3231
- package/third-party/npm/mediabunny@1.52.2/source/src/segmented-input.ts +0 -575
- package/third-party/npm/mediabunny@1.52.2/source/src/source.ts +0 -2588
- package/third-party/npm/mediabunny@1.52.2/source/src/subtitles.ts +0 -131
- package/third-party/npm/mediabunny@1.52.2/source/src/target.ts +0 -871
- package/third-party/npm/mediabunny@1.52.2/source/src/tsconfig.json +0 -16
- package/third-party/npm/mediabunny@1.52.2/source/src/wave/riff-writer.ts +0 -36
- package/third-party/npm/mediabunny@1.52.2/source/src/wave/wave-demuxer.ts +0 -583
- package/third-party/npm/mediabunny@1.52.2/source/src/wave/wave-muxer.ts +0 -375
- package/third-party/npm/mediabunny@1.52.2/source/src/writer.ts +0 -128
- package/third-party/npm/react-dom@19.3.0/LICENSE +0 -21
- package/third-party/npm/react-dom@19.3.0/package.json +0 -117
- package/third-party/npm/react-remove-scroll-bar@2.3.8/package.json +0 -85
- package/third-party/npm/react-remove-scroll-bar@2.3.8/react-remove-scroll-bar-LICENSE +0 -21
- package/third-party/npm/react-remove-scroll@2.7.2/LICENSE +0 -21
- package/third-party/npm/react-remove-scroll@2.7.2/package.json +0 -98
- package/third-party/npm/react-style-singleton@2.2.3/LICENSE +0 -21
- package/third-party/npm/react-style-singleton@2.2.3/package.json +0 -90
- package/third-party/npm/react@19.3.0/LICENSE +0 -21
- package/third-party/npm/react@19.3.0/package.json +0 -51
- package/third-party/npm/scheduler@0.28.0/LICENSE +0 -21
- package/third-party/npm/scheduler@0.28.0/package.json +0 -27
- package/third-party/npm/tslib@2.8.1/LICENSE.txt +0 -12
- package/third-party/npm/tslib@2.8.1/package.json +0 -47
- package/third-party/npm/typescript@5.9.3/LICENSE.txt +0 -55
- package/third-party/npm/typescript@5.9.3/ThirdPartyNoticeText.txt +0 -193
- package/third-party/npm/typescript@5.9.3/package.json +0 -120
- package/third-party/npm/use-callback-ref@1.3.3/LICENSE +0 -21
- package/third-party/npm/use-callback-ref@1.3.3/package.json +0 -85
- package/third-party/npm/use-sidecar@1.1.3/LICENSE +0 -21
- package/third-party/npm/use-sidecar@1.1.3/package.json +0 -93
- package/third-party/packages/render-engine/assets/OFL.txt +0 -93
- package/third-party/packages/studio/public/fonts/OFL.txt +0 -93
- package/third-party/packages/studio/vendor/osmo-icons/LICENSE +0 -21
- package/third-party/packages/studio/vendor/shadcn/LICENSE +0 -21
- package/third-party/repository-notices.md +0 -41
- package/third-party/rust-standard-library/COPYRIGHT-library.html +0 -5556
- package/third-party/rust-standard-library/licenses/Apache-2.0.txt +0 -73
- package/third-party/rust-standard-library/licenses/BSD-2-Clause.txt +0 -9
- package/third-party/rust-standard-library/licenses/CC-BY-SA-4.0.txt +0 -427
- package/third-party/rust-standard-library/licenses/GCC-exception-3.1.txt +0 -30
- package/third-party/rust-standard-library/licenses/GPL-2.0-only.txt +0 -133
- package/third-party/rust-standard-library/licenses/GPL-3.0-or-later.txt +0 -202
- package/third-party/rust-standard-library/licenses/ISC.txt +0 -7
- package/third-party/rust-standard-library/licenses/LLVM-exception.txt +0 -15
- package/third-party/rust-standard-library/licenses/MIT.txt +0 -9
- package/third-party/rust-standard-library/licenses/NCSA.txt +0 -29
- package/third-party/rust-standard-library/licenses/OFL-1.1.txt +0 -43
- package/third-party/rust-standard-library/licenses/Unicode-3.0.txt +0 -39
- package/third-party/rust-standard-library/version.txt +0 -1
- package/vendor/osmo-lite +0 -0
- package/vendor/osmo-scene-0.1.0.tgz +0 -0
- package/vendor/platform.json +0 -1
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "typescript",
|
|
3
|
-
"author": "Microsoft Corp.",
|
|
4
|
-
"homepage": "https://www.typescriptlang.org/",
|
|
5
|
-
"version": "5.9.3",
|
|
6
|
-
"license": "Apache-2.0",
|
|
7
|
-
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
|
-
"keywords": [
|
|
9
|
-
"TypeScript",
|
|
10
|
-
"Microsoft",
|
|
11
|
-
"compiler",
|
|
12
|
-
"language",
|
|
13
|
-
"javascript"
|
|
14
|
-
],
|
|
15
|
-
"bugs": {
|
|
16
|
-
"url": "https://github.com/microsoft/TypeScript/issues"
|
|
17
|
-
},
|
|
18
|
-
"repository": {
|
|
19
|
-
"type": "git",
|
|
20
|
-
"url": "https://github.com/microsoft/TypeScript.git"
|
|
21
|
-
},
|
|
22
|
-
"main": "./lib/typescript.js",
|
|
23
|
-
"typings": "./lib/typescript.d.ts",
|
|
24
|
-
"engines": {
|
|
25
|
-
"node": ">=14.17"
|
|
26
|
-
},
|
|
27
|
-
"files": [
|
|
28
|
-
"bin",
|
|
29
|
-
"lib",
|
|
30
|
-
"!lib/enu",
|
|
31
|
-
"LICENSE.txt",
|
|
32
|
-
"README.md",
|
|
33
|
-
"SECURITY.md",
|
|
34
|
-
"ThirdPartyNoticeText.txt",
|
|
35
|
-
"!**/.gitattributes"
|
|
36
|
-
],
|
|
37
|
-
"overrides": {
|
|
38
|
-
"typescript@*": "$typescript"
|
|
39
|
-
},
|
|
40
|
-
"browser": {
|
|
41
|
-
"fs": false,
|
|
42
|
-
"os": false,
|
|
43
|
-
"path": false,
|
|
44
|
-
"crypto": false,
|
|
45
|
-
"buffer": false,
|
|
46
|
-
"source-map-support": false,
|
|
47
|
-
"inspector": false,
|
|
48
|
-
"perf_hooks": false
|
|
49
|
-
},
|
|
50
|
-
"packageManager": "npm@8.19.4",
|
|
51
|
-
"volta": {
|
|
52
|
-
"node": "20.1.0",
|
|
53
|
-
"npm": "8.19.4"
|
|
54
|
-
},
|
|
55
|
-
"gitHead": "c63de15a992d37f0d6cec03ac7631872838602cb",
|
|
56
|
-
"osmoDistributionNote": "Osmo compiler-only distribution: command tools, declarations for the TypeScript API, translated diagnostics and development metadata are removed; compiler JS has whitespace-only minification."
|
|
57
|
-
}
|
|
@@ -1,217 +0,0 @@
|
|
|
1
|
-
import { build } from "esbuild";
|
|
2
|
-
import ts from "typescript";
|
|
3
|
-
import { open, readFile, stat } from "node:fs/promises";
|
|
4
|
-
import path from "node:path";
|
|
5
|
-
import { fileURLToPath } from "node:url";
|
|
6
|
-
|
|
7
|
-
// TSX runs only in this compiler process. The native app consumes a frozen
|
|
8
|
-
// frame snapshot; playback and export require neither a browser nor a JS clock.
|
|
9
|
-
const source = path.resolve(
|
|
10
|
-
process.argv[2] ?? "packages/scene/examples/focus.tsx",
|
|
11
|
-
);
|
|
12
|
-
const output = process.argv[3];
|
|
13
|
-
if (!output) throw new Error("Usage: node compile.mjs source.tsx output.jsonl");
|
|
14
|
-
// Studio can validate edited source without writing a temporary TSX or changing provenance.
|
|
15
|
-
const sourceInput = process.argv.includes("--source-stdin") || process.argv.includes("--sources-stdin")
|
|
16
|
-
? await new Promise((resolve, reject) => {
|
|
17
|
-
let text = ""; process.stdin.setEncoding("utf8");
|
|
18
|
-
process.stdin.on("data", chunk => text += chunk);
|
|
19
|
-
process.stdin.on("end", () => resolve(text)); process.stdin.on("error", reject);
|
|
20
|
-
}) : undefined;
|
|
21
|
-
const sources = process.argv.includes('--sources-stdin') ? JSON.parse(sourceInput) :
|
|
22
|
-
sourceInput === undefined ? {} : {[source]: sourceInput};
|
|
23
|
-
const repo = fileURLToPath(new URL("../../../", import.meta.url));
|
|
24
|
-
const api = path.join(repo, "packages/scene/src/index.ts");
|
|
25
|
-
const runtime = path.join(repo, "packages/scene/src/jsx-runtime.ts");
|
|
26
|
-
const result = await build({
|
|
27
|
-
stdin: {
|
|
28
|
-
contents: `import scene from ${JSON.stringify(source)}; export {scene}; export {EFFECT_INPUT} from ${JSON.stringify(path.join(repo, "packages/scene/src/effects.ts"))}; export {Scene, Group, evaluateFrame} from ${JSON.stringify(api)}; export {prepareShader} from ${JSON.stringify(path.join(repo, "packages/scene/src/shader.ts"))};`,
|
|
29
|
-
resolveDir: path.dirname(source),
|
|
30
|
-
},
|
|
31
|
-
plugins: [{ name: "effect-source", setup(build) {
|
|
32
|
-
build.onLoad({ filter: /\.[cm]?[jt]sx?$/ }, async ({ path: file }) => {
|
|
33
|
-
const overridden = Object.hasOwn(sources, file);
|
|
34
|
-
const text = overridden ? sources[file] : await readFile(file, "utf8");
|
|
35
|
-
const loader = /tsx$/.test(file) ? "tsx" : /jsx$/.test(file) ? "jsx" : /[cm]?ts$/.test(file) ? "ts" : "js";
|
|
36
|
-
if (!text.includes("defineEffect")) return overridden ? {contents:text,loader} : undefined;
|
|
37
|
-
const ast = ts.createSourceFile(file, text, ts.ScriptTarget.Latest, true);
|
|
38
|
-
const names = new Set(), namespaces = new Set();
|
|
39
|
-
for (const statement of ast.statements) {
|
|
40
|
-
if (!ts.isImportDeclaration(statement) || statement.moduleSpecifier.text !== "@osmo/scene") continue;
|
|
41
|
-
const imports = statement.importClause?.namedBindings;
|
|
42
|
-
if (imports && ts.isNamedImports(imports)) for (const item of imports.elements) {
|
|
43
|
-
if ((item.propertyName ?? item.name).text === "defineEffect") names.add(item.name.text);
|
|
44
|
-
}
|
|
45
|
-
if (imports && ts.isNamespaceImport(imports)) namespaces.add(imports.name.text);
|
|
46
|
-
}
|
|
47
|
-
const transformed = ts.transform(ast, [context => root => {
|
|
48
|
-
const visit = node => {
|
|
49
|
-
if (ts.isCallExpression(node) && node.arguments.length === 1 &&
|
|
50
|
-
(ts.isIdentifier(node.expression) && names.has(node.expression.text) ||
|
|
51
|
-
ts.isPropertyAccessExpression(node.expression) && ts.isIdentifier(node.expression.expression) && namespaces.has(node.expression.expression.text) && node.expression.name.text === "defineEffect")) {
|
|
52
|
-
return ts.factory.updateCallExpression(node, node.expression, node.typeArguments, [ts.visitNode(node.arguments[0], visit), ts.factory.createStringLiteral(file)]);
|
|
53
|
-
}
|
|
54
|
-
return ts.visitEachChild(node, visit, context);
|
|
55
|
-
};
|
|
56
|
-
return ts.visitNode(root, visit);
|
|
57
|
-
}]);
|
|
58
|
-
const contents = ts.createPrinter().printFile(transformed.transformed[0]);
|
|
59
|
-
transformed.dispose();
|
|
60
|
-
return { contents, loader: /tsx$/.test(file) ? "tsx" : /jsx$/.test(file) ? "jsx" : /[cm]?ts$/.test(file) ? "ts" : "js" };
|
|
61
|
-
});
|
|
62
|
-
} }],
|
|
63
|
-
absWorkingDir: repo,
|
|
64
|
-
bundle: true,
|
|
65
|
-
write: false,
|
|
66
|
-
platform: "node",
|
|
67
|
-
format: "esm",
|
|
68
|
-
metafile: true,
|
|
69
|
-
jsx: "automatic",
|
|
70
|
-
jsxDev: true,
|
|
71
|
-
jsxImportSource: "@osmo/scene",
|
|
72
|
-
alias: {
|
|
73
|
-
"@osmo/scene/jsx-dev-runtime": runtime,
|
|
74
|
-
"@osmo/scene/jsx-runtime": runtime,
|
|
75
|
-
"@osmo/scene": api,
|
|
76
|
-
},
|
|
77
|
-
});
|
|
78
|
-
const { scene: document, Scene, Group, evaluateFrame, prepareShader, EFFECT_INPUT } = await import(
|
|
79
|
-
`data:text/javascript;base64,${Buffer.from(result.outputFiles[0].text).toString("base64")}`
|
|
80
|
-
);
|
|
81
|
-
// A standalone Group is previewed inside a host. Its dimensions remain optional
|
|
82
|
-
// in source; board instances and CLI flags supply independent host sizes.
|
|
83
|
-
const isGroup = document.type === Group || document.type === 'group';
|
|
84
|
-
const preview = JSON.parse(process.env.OSMO_GROUP_PREVIEW ?? '{}');
|
|
85
|
-
const scene = isGroup ? Scene({
|
|
86
|
-
width: preview.width ?? 960, height: preview.height ?? 600,
|
|
87
|
-
duration: preview.duration ?? document.props.duration ?? 4, fps: preview.fps ?? 30,
|
|
88
|
-
background: '#000000', children: { ...document, props: {
|
|
89
|
-
...document.props, start: 0,
|
|
90
|
-
width: document.props.width ?? 'fill', height: document.props.height ?? 'fill',
|
|
91
|
-
...(preview.values && (document.props.knobs || Object.keys(preview.values).length) ? { values: { ...document.props.values, ...preview.values } } : {}),
|
|
92
|
-
} },
|
|
93
|
-
}) : document;
|
|
94
|
-
const first = evaluateFrame(scene, 0);
|
|
95
|
-
if (first.width > 8192 || first.height > 8192 || first.totalFrames > 18000) {
|
|
96
|
-
throw new Error(
|
|
97
|
-
"Prototype limits: 8192 pixels per side and 18,000 frames per composition",
|
|
98
|
-
);
|
|
99
|
-
}
|
|
100
|
-
if (!Number.isInteger(first.width) || !Number.isInteger(first.height))
|
|
101
|
-
throw new Error("Native composition dimensions must be whole pixels");
|
|
102
|
-
const fonts = new Map();
|
|
103
|
-
const dependencies = new Set([
|
|
104
|
-
source,
|
|
105
|
-
...Object.keys(result.metafile.inputs)
|
|
106
|
-
.filter((p) => p !== "<stdin>")
|
|
107
|
-
.map((p) => path.resolve(repo, p)),
|
|
108
|
-
]);
|
|
109
|
-
const shaders = new Map();
|
|
110
|
-
async function collectEffects(target) {
|
|
111
|
-
for (const effect of target.effects ?? []) {
|
|
112
|
-
let key = "effect:" + effect.code;
|
|
113
|
-
if (effect.src) {
|
|
114
|
-
effect.src = path.resolve(path.dirname(path.resolve(repo, effect.sourceFile ?? source)), effect.src);
|
|
115
|
-
dependencies.add(effect.src);
|
|
116
|
-
key = "effect:" + effect.src;
|
|
117
|
-
}
|
|
118
|
-
if (!shaders.has(key)) {
|
|
119
|
-
if (effect.src && (await stat(effect.src)).size > 1024 * 1024) throw new Error("Effect shader exceeds 1 MB");
|
|
120
|
-
const code = effect.src ? await readFile(effect.src, "utf8") : effect.code;
|
|
121
|
-
shaders.set(key, prepareShader("//!effect\n" + EFFECT_INPUT + code));
|
|
122
|
-
}
|
|
123
|
-
const shader = shaders.get(key);
|
|
124
|
-
effect.code = shader.code;
|
|
125
|
-
effect.uniformData = shader.pack(effect.uniforms);
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
async function collectFonts(nodes) {
|
|
129
|
-
for (const node of nodes) {
|
|
130
|
-
await collectEffects(node);
|
|
131
|
-
if(node.type === "composition") { await collectEffects(node.scene); await collectFonts(node.scene.children); }
|
|
132
|
-
if (["group","model","surface"].includes(node.type)) await collectFonts(node.children);
|
|
133
|
-
if (["image", "video", "audio", "model"].includes(node.type)) {
|
|
134
|
-
node.src = path.resolve(
|
|
135
|
-
path.dirname(path.resolve(repo, node.sourceFile ?? source)),
|
|
136
|
-
node.src,
|
|
137
|
-
);
|
|
138
|
-
dependencies.add(node.src);
|
|
139
|
-
}
|
|
140
|
-
if (node.type === "shader") {
|
|
141
|
-
node.src = path.resolve(path.dirname(path.resolve(repo, node.sourceFile ?? source)), node.src);
|
|
142
|
-
dependencies.add(node.src);
|
|
143
|
-
try {
|
|
144
|
-
if (!shaders.has(node.src)) {
|
|
145
|
-
if ((await stat(node.src)).size > 1024 * 1024) throw new Error("Shader source exceeds 1 MB");
|
|
146
|
-
shaders.set(node.src, prepareShader(await readFile(node.src, "utf8")));
|
|
147
|
-
}
|
|
148
|
-
const shader = shaders.get(node.src);
|
|
149
|
-
node.code = shader.code;
|
|
150
|
-
node.uniformData = shader.pack(node.uniforms);
|
|
151
|
-
} catch (error) { throw new Error(`${node.src}: ${error.message}`); }
|
|
152
|
-
}
|
|
153
|
-
if (node.type === "text" && node.font !== "Inter") {
|
|
154
|
-
const font = path.resolve(
|
|
155
|
-
path.dirname(path.resolve(repo, node.fontSource ?? source)),
|
|
156
|
-
node.font,
|
|
157
|
-
);
|
|
158
|
-
if (!/\.(ttf|otf)$/i.test(font))
|
|
159
|
-
throw new Error(
|
|
160
|
-
`Custom fonts must be .ttf or .otf files: ${node.font}`,
|
|
161
|
-
);
|
|
162
|
-
node.font = font;
|
|
163
|
-
fonts.set(font, true);
|
|
164
|
-
dependencies.add(font);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
// Every frame is held in memory by the renderer, so the snapshot is capped.
|
|
169
|
-
// Long or dense scenes can raise it: OSMO_SNAPSHOT_LIMIT_MB=4096.
|
|
170
|
-
const limitMb = Number(process.env.OSMO_SNAPSHOT_LIMIT_MB) > 0 ? Number(process.env.OSMO_SNAPSHOT_LIMIT_MB) : 1024;
|
|
171
|
-
// Source locations resolve asset paths above; the renderer never reads them,
|
|
172
|
-
// and repeated on every node of every frame they were a large share of the file.
|
|
173
|
-
const compact = (key, value) => (key === "sourceFile" || key === "fontSource" ? undefined : value);
|
|
174
|
-
let size = 0;
|
|
175
|
-
const file = await open(output, "wx");
|
|
176
|
-
async function line(value) {
|
|
177
|
-
const text = JSON.stringify(value, compact) + "\n";
|
|
178
|
-
size += Buffer.byteLength(text);
|
|
179
|
-
if (size > limitMb * 1024 * 1024)
|
|
180
|
-
throw new Error(
|
|
181
|
-
`Compiled scene exceeds the ${limitMb} MB snapshot limit. Shorten the scene or lower fps, or raise the limit with OSMO_SNAPSHOT_LIMIT_MB.`,
|
|
182
|
-
);
|
|
183
|
-
await file.write(text);
|
|
184
|
-
}
|
|
185
|
-
try {
|
|
186
|
-
await line({
|
|
187
|
-
version: 1,
|
|
188
|
-
source,
|
|
189
|
-
width: first.width,
|
|
190
|
-
height: first.height,
|
|
191
|
-
fps: first.fps,
|
|
192
|
-
totalFrames: first.totalFrames,
|
|
193
|
-
duration: first.duration,
|
|
194
|
-
});
|
|
195
|
-
for (let frame = 0; frame < first.totalFrames; frame++) {
|
|
196
|
-
const evaluated = frame === 0 ? first : evaluateFrame(scene, frame);
|
|
197
|
-
await collectEffects(evaluated);
|
|
198
|
-
await collectFonts(evaluated.children);
|
|
199
|
-
await line(evaluated);
|
|
200
|
-
}
|
|
201
|
-
const assets = [];
|
|
202
|
-
for (const font of fonts.keys()) {
|
|
203
|
-
const info = await stat(font);
|
|
204
|
-
if (info.size > 32 * 1024 * 1024)
|
|
205
|
-
throw new Error(`Font is too large: ${font}`);
|
|
206
|
-
assets.push({
|
|
207
|
-
path: font,
|
|
208
|
-
bytes: (await readFile(font)).toString("base64"),
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
await line({ assets, dependencies: [...dependencies] });
|
|
212
|
-
} finally {
|
|
213
|
-
await file.close();
|
|
214
|
-
}
|
|
215
|
-
console.log(
|
|
216
|
-
`Compiled ${first.totalFrames} frames (${(size / 1024).toFixed(0)} KB)`,
|
|
217
|
-
);
|
|
@@ -1,246 +0,0 @@
|
|
|
1
|
-
// Static authoring contract, not a security sandbox. Runtime/type validation is separate.
|
|
2
|
-
import fs from 'node:fs';
|
|
3
|
-
import path from 'node:path';
|
|
4
|
-
import ts from 'typescript';
|
|
5
|
-
import {isClipPrimitive} from '../src/clip.mjs';
|
|
6
|
-
import {readGroupLabel, readGroupPlayback, readSceneTracks} from '../src/metadata.mjs';
|
|
7
|
-
export function resolveGroupImport(file, specifier) {
|
|
8
|
-
if (!specifier.startsWith('./') && !specifier.startsWith('../')) throw new Error('Group imports must use relative local TSX paths');
|
|
9
|
-
const candidate = path.resolve(path.dirname(file), specifier.endsWith('.tsx') ? specifier : specifier.endsWith('.js') ? specifier.slice(0, -3) + '.tsx' : specifier + '.tsx');
|
|
10
|
-
if (!candidate.endsWith('.tsx')) throw new Error('Group imports must reference .tsx files');
|
|
11
|
-
return fs.realpathSync(candidate);
|
|
12
|
-
}
|
|
13
|
-
function projectDirectory(file) {
|
|
14
|
-
let dir = path.dirname(file);
|
|
15
|
-
while (true) {
|
|
16
|
-
if (fs.existsSync(path.join(dir, '.osmo/project.json'))) return dir;
|
|
17
|
-
const parent = path.dirname(dir);
|
|
18
|
-
if (parent === dir) return path.dirname(file);
|
|
19
|
-
dir = parent;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export function validate(file, mode, options = {}) {
|
|
23
|
-
file = fs.realpathSync(file);
|
|
24
|
-
const root = options.root ?? projectDirectory(file);
|
|
25
|
-
const stack = options.stack ?? [];
|
|
26
|
-
if (stack.includes(file)) return { ok:false, errors:[`Cyclic Group import: ${[...stack,file].map(p=>path.basename(p)).join(' → ')}`], bytes:0 };
|
|
27
|
-
if (stack.length > 32) return {ok:false,errors:['Group import nesting exceeds 32 files'],bytes:0};
|
|
28
|
-
const text = options.text ?? options.sources?.[file] ?? fs.readFileSync(file, 'utf8');
|
|
29
|
-
const ast = ts.createSourceFile(file, text, ts.ScriptTarget.Latest, true, ts.ScriptKind.TSX);
|
|
30
|
-
const errors = [];
|
|
31
|
-
const fail = (n, msg) => { const p = ast.getLineAndCharacterOfPosition(n.getStart(ast)); errors.push(`${p.line + 1}:${p.character + 1} ${msg}`); };
|
|
32
|
-
for (const d of ast.parseDiagnostics)
|
|
33
|
-
errors.push(ts.flattenDiagnosticMessageText(d.messageText, '\n'));
|
|
34
|
-
const allowed = new Set(['Scene', 'Camera', 'Group', 'Rect', 'Path', 'Text', 'Image', 'Video', 'Audio', 'Model', 'Surface', 'Fragment', 'defineMotion', 'defineKnobs', 'Shader', 'sampleMotion', 'describeMotion', 'blur', 'grain']);
|
|
35
|
-
allowed.add('defineEffect');
|
|
36
|
-
const importedGroups = new Set(), sourceIds = new Set(), effects = new Set();
|
|
37
|
-
const tracks = new Map();
|
|
38
|
-
const knobSets = new Set();
|
|
39
|
-
const literal = n => ts.isStringLiteral(n) || ts.isNumericLiteral(n) || [ts.SyntaxKind.TrueKeyword, ts.SyntaxKind.FalseKeyword, ts.SyntaxKind.NullKeyword].includes(n.kind) || ts.isPrefixUnaryExpression(n) && [ts.SyntaxKind.PlusToken, ts.SyntaxKind.MinusToken].includes(n.operator) && ts.isNumericLiteral(n.operand);
|
|
40
|
-
function metadataLiteral(n) {
|
|
41
|
-
if (n && (ts.isJsxExpression(n) || ts.isParenthesizedExpression(n))) return metadataLiteral(n.expression);
|
|
42
|
-
if (n && ts.isStringLiteral(n)) return n.text;
|
|
43
|
-
if (n?.kind === ts.SyntaxKind.TrueKeyword) return true;
|
|
44
|
-
if (n?.kind === ts.SyntaxKind.FalseKeyword) return false;
|
|
45
|
-
if (n && ts.isObjectLiteralExpression(n)) return Object.fromEntries(n.properties.map(p => {
|
|
46
|
-
if (!ts.isPropertyAssignment(p) || ts.isComputedPropertyName(p.name)) throw new Error('Labels require explicit literal properties');
|
|
47
|
-
return [p.name.text, metadataLiteral(p.initializer)];
|
|
48
|
-
}));
|
|
49
|
-
throw new Error('Editor metadata must use static string/boolean literals and literal objects');
|
|
50
|
-
}
|
|
51
|
-
function value(n, refs = true) {
|
|
52
|
-
if (literal(n))
|
|
53
|
-
return;
|
|
54
|
-
if (ts.isArrayLiteralExpression(n)) {
|
|
55
|
-
n.elements.forEach(e => value(e, refs));
|
|
56
|
-
return;
|
|
57
|
-
}
|
|
58
|
-
if (ts.isObjectLiteralExpression(n)) {
|
|
59
|
-
for (const p of n.properties) {
|
|
60
|
-
if (!ts.isPropertyAssignment(p) || ts.isComputedPropertyName(p.name))
|
|
61
|
-
fail(p, 'Only explicit literal object properties are allowed');
|
|
62
|
-
else
|
|
63
|
-
value(p.initializer, refs);
|
|
64
|
-
}
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
if (refs && ts.isIdentifier(n) && knobSets.has(n.text)) return;
|
|
68
|
-
if (refs && ts.isPropertyAccessExpression(n) && ts.isIdentifier(n.expression) && tracks.get(n.expression.text)?.has(n.name.text))
|
|
69
|
-
return;
|
|
70
|
-
if (refs && ts.isCallExpression(n) && ts.isIdentifier(n.expression) && (['blur', 'grain'].includes(n.expression.text)||effects.has(n.expression.text)) && n.arguments.length <= 1) {
|
|
71
|
-
if(n.arguments[0])value(n.arguments[0]);
|
|
72
|
-
return;
|
|
73
|
-
}
|
|
74
|
-
fail(n, 'Strict accepts literals, literal collections, declared motion/knob references, declared effects, blur and grain only');
|
|
75
|
-
}
|
|
76
|
-
for (const st of ast.statements) {
|
|
77
|
-
if (ts.isImportDeclaration(st)) {
|
|
78
|
-
if (st.moduleSpecifier.text !== '@osmo/scene') {
|
|
79
|
-
const clause = st.importClause;
|
|
80
|
-
if (!clause?.name || clause.namedBindings || clause.isTypeOnly) {
|
|
81
|
-
fail(st, 'Reusable Groups use a default import from a local TSX file');
|
|
82
|
-
continue;
|
|
83
|
-
}
|
|
84
|
-
importedGroups.add(clause.name.text);
|
|
85
|
-
try {
|
|
86
|
-
const imported = resolveGroupImport(file, st.moduleSpecifier.text);
|
|
87
|
-
const relative = path.relative(root, imported);
|
|
88
|
-
if (relative === '..' || relative.startsWith('..' + path.sep) || path.isAbsolute(relative)) throw new Error('Group imports must stay inside the project');
|
|
89
|
-
const result = validate(imported, mode, {root, stack:[...stack,file], group:true, sources:options.sources});
|
|
90
|
-
for (const error of result.errors) fail(st, `${path.relative(root, imported)}: ${error}`);
|
|
91
|
-
} catch (error) { fail(st, error.message); }
|
|
92
|
-
continue;
|
|
93
|
-
}
|
|
94
|
-
const b = st.importClause?.namedBindings;
|
|
95
|
-
if (!b || !ts.isNamedImports(b))
|
|
96
|
-
fail(st, 'Use named imports');
|
|
97
|
-
else
|
|
98
|
-
for (const e of b.elements) {
|
|
99
|
-
if (e.propertyName)
|
|
100
|
-
fail(e, 'Import aliases are not allowed');
|
|
101
|
-
if (!st.importClause.isTypeOnly && !e.isTypeOnly && !allowed.has(e.name.text))
|
|
102
|
-
fail(e, `Unsupported import ${e.name.text}`);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
if (mode === 'strict' && ts.isVariableStatement(st)) {
|
|
106
|
-
if (!(st.declarationList.flags & ts.NodeFlags.Const))
|
|
107
|
-
fail(st, 'Only const motion/knob/effect declarations are allowed');
|
|
108
|
-
for (const d of st.declarationList.declarations) {
|
|
109
|
-
const call = d.initializer;
|
|
110
|
-
if (!ts.isIdentifier(d.name) || !call || !ts.isCallExpression(call) || !ts.isIdentifier(call.expression) || !['defineMotion','defineKnobs','defineEffect'].includes(call.expression.text) || (call.expression.text !== 'defineKnobs' ? call.arguments.length !== 1 : call.arguments.length < 1 || call.arguments.length > 2) || !ts.isObjectLiteralExpression(call.arguments[0])) {
|
|
111
|
-
fail(d, 'Variables may only name defineMotion, defineKnobs or defineEffect declarations');
|
|
112
|
-
continue;
|
|
113
|
-
}
|
|
114
|
-
value(call.arguments[0], false);
|
|
115
|
-
if(call.expression.text==='defineEffect') {
|
|
116
|
-
effects.add(d.name.text);
|
|
117
|
-
const src=call.arguments[0].properties.find(p=>p.name?.text==='src')?.initializer;
|
|
118
|
-
if(src&&(!ts.isStringLiteral(src)||!src.text.endsWith('.wgsl')||path.isAbsolute(src.text)||/^[a-z]+:/i.test(src.text)))fail(src,'Effect.src must be a static relative local .wgsl path');
|
|
119
|
-
}
|
|
120
|
-
if (call.arguments[1]) value(call.arguments[1], false);
|
|
121
|
-
if (call.expression.text === 'defineKnobs') knobSets.add(d.name.text);
|
|
122
|
-
if(call.expression.text!=='defineEffect') tracks.set(d.name.text, new Set(call.arguments[0].properties.filter(ts.isPropertyAssignment).map(p => p.name.text)));
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
else if (mode === 'strict' && !ts.isImportDeclaration(st) && !ts.isExportAssignment(st) && !ts.isEmptyStatement(st))
|
|
126
|
-
fail(st, 'Strict permits imports, const defineMotion/defineKnobs/defineEffect declarations, and export default JSX only');
|
|
127
|
-
}
|
|
128
|
-
function jsx(n, parent = null) {
|
|
129
|
-
if (ts.isParenthesizedExpression(n)) {
|
|
130
|
-
jsx(n.expression, parent);
|
|
131
|
-
return;
|
|
132
|
-
}
|
|
133
|
-
if (ts.isJsxFragment(n)) {
|
|
134
|
-
n.children.forEach(c => child(c, parent));
|
|
135
|
-
return;
|
|
136
|
-
}
|
|
137
|
-
if (!ts.isJsxElement(n) && !ts.isJsxSelfClosingElement(n)) {
|
|
138
|
-
fail(n, 'Scene structure must be explicit JSX');
|
|
139
|
-
return;
|
|
140
|
-
}
|
|
141
|
-
const el = ts.isJsxElement(n) ? n.openingElement : n;
|
|
142
|
-
const tag = el.tagName.getText(ast);
|
|
143
|
-
const clip = isClipPrimitive(tag) || importedGroups.has(tag);
|
|
144
|
-
const track = el.attributes.properties.find(a => ts.isJsxAttribute(a) && a.name.text === 'track');
|
|
145
|
-
if (options.requireTracks && parent === 'Scene' && clip && !track)
|
|
146
|
-
fail(el, `${tag}: root clips require track. Open Studio in interactive mode to assign tracks to an existing scene.`);
|
|
147
|
-
if (track) {
|
|
148
|
-
if (!clip || parent !== 'Scene') fail(track, 'track belongs to root clips only; nested elements use their parent clip');
|
|
149
|
-
const v = track.initializer && (ts.isJsxExpression(track.initializer) ? track.initializer.expression : track.initializer);
|
|
150
|
-
const lane = v && ts.isNumericLiteral(v) ? Number(v.text) : NaN;
|
|
151
|
-
if (!Number.isInteger(lane) || lane < 0 || lane > 99) fail(track, 'track must be a literal integer from 0 to 99');
|
|
152
|
-
}
|
|
153
|
-
if ((!allowed.has(tag) && !importedGroups.has(tag)) || ['defineMotion', 'defineKnobs', 'defineEffect', 'sampleMotion', 'describeMotion', 'blur', 'grain'].includes(tag))
|
|
154
|
-
fail(el, 'Use public visual primitives only');
|
|
155
|
-
if (importedGroups.has(tag) && ts.isJsxElement(n) && n.children.some(c => !ts.isJsxText(c) || c.text.trim()))
|
|
156
|
-
fail(n, 'Animation instances cannot replace children; edit the original Group file');
|
|
157
|
-
for (const a of el.attributes.properties) {
|
|
158
|
-
if (!ts.isJsxAttribute(a)) {
|
|
159
|
-
fail(a, 'Spreads are forbidden in Strict');
|
|
160
|
-
continue;
|
|
161
|
-
}
|
|
162
|
-
if (importedGroups.has(tag) && ['knobs', 'children'].includes(a.name.text))
|
|
163
|
-
fail(a, 'Animation instances customize values, not knob definitions or children');
|
|
164
|
-
if (a.name.text === 'label' || a.name.text === 'tracks') {
|
|
165
|
-
try {
|
|
166
|
-
if (a.name.text === 'label') {
|
|
167
|
-
if (tag !== 'Group' && !importedGroups.has(tag)) throw new Error('label belongs to Groups only');
|
|
168
|
-
readGroupLabel(metadataLiteral(a.initializer));
|
|
169
|
-
} else {
|
|
170
|
-
if (tag !== 'Scene') throw new Error('tracks metadata belongs to Scene only');
|
|
171
|
-
readSceneTracks(metadataLiteral(a.initializer));
|
|
172
|
-
}
|
|
173
|
-
} catch (error) { fail(a, error.message); }
|
|
174
|
-
}
|
|
175
|
-
if (['hidden', 'solo'].includes(a.name.text)) {
|
|
176
|
-
try {
|
|
177
|
-
if (tag !== 'Group' && !importedGroups.has(tag)) throw new Error('hidden and solo belong to Groups only');
|
|
178
|
-
readGroupPlayback({[a.name.text]: a.initializer ? metadataLiteral(a.initializer) : true});
|
|
179
|
-
} catch (error) { fail(a, error.message); }
|
|
180
|
-
}
|
|
181
|
-
if (['id','start','duration','track'].includes(a.name.text) && a.initializer) {
|
|
182
|
-
const v = ts.isJsxExpression(a.initializer) ? a.initializer.expression : a.initializer;
|
|
183
|
-
if (v) value(v, false);
|
|
184
|
-
}
|
|
185
|
-
if (a.name.text === 'id') {
|
|
186
|
-
const id = a.initializer && (ts.isJsxExpression(a.initializer) ? a.initializer.expression : a.initializer);
|
|
187
|
-
if (!id || !ts.isStringLiteral(id) || !id.text.trim()) fail(a, 'id must be a nonempty literal string');
|
|
188
|
-
else if (sourceIds.has(id.text)) fail(a, 'IDs must be unique within their source file');
|
|
189
|
-
else sourceIds.add(id.text);
|
|
190
|
-
}
|
|
191
|
-
if (tag === 'Shader' && a.name.text === 'src') {
|
|
192
|
-
const src = a.initializer && (ts.isJsxExpression(a.initializer) ? a.initializer.expression : a.initializer);
|
|
193
|
-
if (!src || !ts.isStringLiteral(src) || !src.text.trim() || /^[a-z]+:/i.test(src.text) || path.isAbsolute(src.text) || !/\.wgsl$/i.test(src.text))
|
|
194
|
-
fail(a, 'Shader.src must be a static relative local .wgsl path');
|
|
195
|
-
}
|
|
196
|
-
if (tag === 'Path' && a.name.text === 'd' && a.initializer) {
|
|
197
|
-
const d = ts.isJsxExpression(a.initializer) ? a.initializer.expression : a.initializer;
|
|
198
|
-
if (!d || !ts.isStringLiteral(d)) fail(a, 'Path.d must be a static SVG string literal');
|
|
199
|
-
}
|
|
200
|
-
if (a.initializer) {
|
|
201
|
-
if (ts.isJsxExpression(a.initializer)) {
|
|
202
|
-
if (a.initializer.expression)
|
|
203
|
-
value(a.initializer.expression);
|
|
204
|
-
}
|
|
205
|
-
else
|
|
206
|
-
value(a.initializer);
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
if (ts.isJsxElement(n))
|
|
210
|
-
n.children.forEach(c => child(c, tag === "Fragment" ? parent : tag));
|
|
211
|
-
}
|
|
212
|
-
function child(n, parent) { if (ts.isJsxText(n))
|
|
213
|
-
return; if (ts.isJsxExpression(n)) {
|
|
214
|
-
if (n.expression)
|
|
215
|
-
value(n.expression);
|
|
216
|
-
return;
|
|
217
|
-
} jsx(n, parent); }
|
|
218
|
-
if (mode === 'strict') {
|
|
219
|
-
const exports = ast.statements.filter(ts.isExportAssignment);
|
|
220
|
-
if (exports.length !== 1) errors.push('Export exactly one default Scene or Group');
|
|
221
|
-
for (const st of exports) {
|
|
222
|
-
let n = st.expression;
|
|
223
|
-
while (ts.isParenthesizedExpression(n)) n = n.expression;
|
|
224
|
-
const tag = ts.isJsxElement(n) ? n.openingElement.tagName.getText(ast) : ts.isJsxSelfClosingElement(n) ? n.tagName.getText(ast) : '';
|
|
225
|
-
if (!options.group && !['Scene','Group'].includes(tag)) fail(st, 'The entry must export a Scene or Group');
|
|
226
|
-
if (options.group && !['Scene','Group'].includes(tag)) fail(st, 'Reusable files must export a Scene (or legacy Group)');
|
|
227
|
-
jsx(st.expression);
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
function audit(n) {
|
|
231
|
-
if (ts.isImportEqualsDeclaration(n))
|
|
232
|
-
fail(n, 'Import-equals is forbidden');
|
|
233
|
-
if (ts.isCallExpression(n) && n.expression.kind === ts.SyntaxKind.ImportKeyword)
|
|
234
|
-
fail(n, 'Dynamic imports are forbidden');
|
|
235
|
-
if (ts.isIdentifier(n) && ['require', 'eval', 'Function', 'process', 'globalThis', 'fetch', 'WebSocket', 'Date'].includes(n.text))
|
|
236
|
-
fail(n, 'Submitted animation must be deterministic and self-contained');
|
|
237
|
-
ts.forEachChild(n, audit);
|
|
238
|
-
}
|
|
239
|
-
audit(ast);
|
|
240
|
-
return { ok: errors.length === 0, errors: errors.slice(0, 40), bytes: Buffer.byteLength(text) };
|
|
241
|
-
}
|
|
242
|
-
if (process.argv[1] === new URL(import.meta.url).pathname) {
|
|
243
|
-
const result = validate(path.resolve(process.argv[2]), process.argv[3] ?? "strict");
|
|
244
|
-
console.log(JSON.stringify(result));
|
|
245
|
-
process.exitCode = result.ok ? 0 : 1;
|
|
246
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/** @param {{start?: unknown, duration?: unknown, track?: unknown}} props
|
|
2
|
-
* @param {number} parentDuration @param {number} fps @param {string} label */
|
|
3
|
-
export function clipTiming(props: {
|
|
4
|
-
start?: unknown;
|
|
5
|
-
duration?: unknown;
|
|
6
|
-
track?: unknown;
|
|
7
|
-
}, parentDuration: number, fps: number, label: string): {
|
|
8
|
-
start: number;
|
|
9
|
-
duration: number;
|
|
10
|
-
track: number | undefined;
|
|
11
|
-
};
|
|
12
|
-
export const clipPrimitives: readonly string[];
|
|
13
|
-
export const clipFields: readonly string[];
|
|
14
|
-
export function isClipPrimitive(name: string): boolean;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// Shared by evaluation, Strict validation, outline inspection and source editing.
|
|
2
|
-
export const clipPrimitives = Object.freeze(['Group', 'Rect', 'Path', 'Text', 'Image', 'Video', 'Audio', 'Shader', 'Model', 'Composition']);
|
|
3
|
-
export const clipFields = Object.freeze(['id', 'track', 'start', 'duration']);
|
|
4
|
-
export const isClipPrimitive = (/** @type {string} */ name) => clipPrimitives.some(tag => tag.toLowerCase() === name.toLowerCase());
|
|
5
|
-
|
|
6
|
-
/** @param {{start?: unknown, duration?: unknown, track?: unknown}} props
|
|
7
|
-
* @param {number} parentDuration @param {number} fps @param {string} label */
|
|
8
|
-
export function clipTiming(props, parentDuration, fps, label) {
|
|
9
|
-
const start = props.start ?? 0, duration = props.duration ?? Math.max(parentDuration - Number(start), 1 / fps);
|
|
10
|
-
if (typeof start !== 'number' || !Number.isFinite(start) || start < 0) throw new Error(`${label}.start: expected a finite nonnegative number`);
|
|
11
|
-
if (typeof duration !== 'number' || !Number.isFinite(duration) || duration <= 0) throw new Error(`${label}.duration: expected a positive finite number`);
|
|
12
|
-
const track = props.track;
|
|
13
|
-
if (track !== undefined && (typeof track !== 'number' || !Number.isInteger(track) || track < 0 || track > 99)) throw new Error(`${label}.track: expected an integer from 0 to 99`);
|
|
14
|
-
return {start, duration, track};
|
|
15
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/** sRGBA authoring colors. Interpolation is in linear light, premultiplied by alpha. */
|
|
2
|
-
/** @param {unknown} value @returns {readonly [number, number, number, number] | undefined} */
|
|
3
|
-
export function parseColor(value: unknown): readonly [number, number, number, number] | undefined;
|
|
4
|
-
/** @param {string} a @param {string} b @param {number} t */
|
|
5
|
-
export function mixColor(a: string, b: string, t: number): string;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/** sRGBA authoring colors. Interpolation is in linear light, premultiplied by alpha. */
|
|
2
|
-
/** @param {unknown} value @returns {readonly [number, number, number, number] | undefined} */
|
|
3
|
-
export function parseColor(value) {
|
|
4
|
-
if (value === "transparent") return [0, 0, 0, 0];
|
|
5
|
-
if (typeof value !== "string" || !/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i.test(value)) return;
|
|
6
|
-
let hex = value.slice(1);
|
|
7
|
-
if (hex.length <= 4) hex = [...hex].map(c => c + c).join("");
|
|
8
|
-
if (hex.length === 6) hex += "ff";
|
|
9
|
-
return /** @type {[number, number, number, number]} */ ([0, 2, 4, 6].map(i => parseInt(hex.slice(i, i + 2), 16) / 255));
|
|
10
|
-
}
|
|
11
|
-
/** @param {string} a @param {string} b @param {number} t */
|
|
12
|
-
export function mixColor(a, b, t) {
|
|
13
|
-
const x = parseColor(a), y = parseColor(b);
|
|
14
|
-
const linear = (v) => v <= 0.04045 ? v / 12.92 : ((v + 0.055) / 1.055) ** 2.4;
|
|
15
|
-
const srgb = (v) => v <= 0.0031308 ? v * 12.92 : 1.055 * v ** (1 / 2.4) - 0.055;
|
|
16
|
-
const alpha = x[3] + (y[3] - x[3]) * t;
|
|
17
|
-
const values = [0, 1, 2].map(i => srgb(alpha > 0 ? (linear(x[i]) * x[3] * (1 - t) + linear(y[i]) * y[3] * t) / alpha : 0));
|
|
18
|
-
return "#" + [...values, alpha].map(v => Math.round(Math.min(1, Math.max(0, v)) * 255).toString(16).padStart(2, "0")).join("");
|
|
19
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { parseColor, mixColor } from "./color-value.mjs";
|