@osmo.inc/cli 0.1.18 → 0.1.20
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,995 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Copyright (c) 2026-present, Vanilagy and contributors
|
|
3
|
-
*
|
|
4
|
-
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
5
|
-
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
6
|
-
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
7
|
-
*/
|
|
8
|
-
|
|
9
|
-
import { AUDIO_CODECS, AudioCodec, inferCodecFromCodecString, MediaCodec, VIDEO_CODECS, VideoCodec } from '../codec';
|
|
10
|
-
import { Demuxer, DurationMetadataRequestOptions } from '../demuxer';
|
|
11
|
-
import { Input } from '../input';
|
|
12
|
-
import {
|
|
13
|
-
InputAudioTrackBacking,
|
|
14
|
-
InputTrackBacking,
|
|
15
|
-
InputVideoTrackBacking,
|
|
16
|
-
} from '../input-track';
|
|
17
|
-
import { PacketRetrievalOptions } from '../media-sink';
|
|
18
|
-
import { DEFAULT_TRACK_DISPOSITION, MetadataTags, TrackDisposition } from '../metadata';
|
|
19
|
-
import { TrackType } from '../output';
|
|
20
|
-
import { assert, joinPaths, MaybePromise, Rotation, UNDETERMINED_LANGUAGE } from '../misc';
|
|
21
|
-
import { EncodedPacket } from '../packet';
|
|
22
|
-
import { readAllLines } from '../reader';
|
|
23
|
-
import {
|
|
24
|
-
AttributeList,
|
|
25
|
-
canIgnoreLine,
|
|
26
|
-
HLS_MIME_TYPE,
|
|
27
|
-
TAG_EXTINF,
|
|
28
|
-
TAG_I_FRAME_STREAM_INF,
|
|
29
|
-
TAG_I_FRAMES_ONLY,
|
|
30
|
-
TAG_MEDIA,
|
|
31
|
-
TAG_STREAM_INF,
|
|
32
|
-
} from './hls-misc';
|
|
33
|
-
import { HlsSegmentedInput } from './hls-segmented-input';
|
|
34
|
-
import { SegmentedInputTrackDeclaration } from '../segmented-input';
|
|
35
|
-
import { PathedSource } from '../source';
|
|
36
|
-
|
|
37
|
-
type InternalTrack = {
|
|
38
|
-
id: number;
|
|
39
|
-
demuxer: HlsDemuxer;
|
|
40
|
-
backingTrack: InputTrackBacking | null;
|
|
41
|
-
default: boolean;
|
|
42
|
-
autoselect: boolean;
|
|
43
|
-
languageCode: string;
|
|
44
|
-
lineNumber: number;
|
|
45
|
-
|
|
46
|
-
fullPath: string;
|
|
47
|
-
fullCodecString: string;
|
|
48
|
-
pairingMask: bigint;
|
|
49
|
-
peakBitrate: number | null;
|
|
50
|
-
averageBitrate: number | null;
|
|
51
|
-
name: string | null;
|
|
52
|
-
hasOnlyKeyPackets: boolean;
|
|
53
|
-
|
|
54
|
-
info: {
|
|
55
|
-
type: 'video';
|
|
56
|
-
width: number | null;
|
|
57
|
-
height: number | null;
|
|
58
|
-
} | {
|
|
59
|
-
type: 'audio';
|
|
60
|
-
numberOfChannels: number | null;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
type InternalVideoTrack = InternalTrack & { info: { type: 'video' } };
|
|
64
|
-
type InternalAudioTrack = InternalTrack & { info: { type: 'audio' } };
|
|
65
|
-
|
|
66
|
-
export class HlsDemuxer extends Demuxer {
|
|
67
|
-
metadataPromise: Promise<void> | null = null;
|
|
68
|
-
trackBackings: InputTrackBacking[] | null = null;
|
|
69
|
-
internalTracks: InternalTrack[] | null = null;
|
|
70
|
-
segmentedInputs: HlsSegmentedInput[] = [];
|
|
71
|
-
hasMasterPlaylist = true;
|
|
72
|
-
|
|
73
|
-
constructor(input: Input) {
|
|
74
|
-
super(input);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
readMetadata() {
|
|
78
|
-
return this.metadataPromise ??= (async () => {
|
|
79
|
-
assert(this.input._rootSource instanceof PathedSource);
|
|
80
|
-
|
|
81
|
-
const slice = await this.input._reader.requestEntireFile();
|
|
82
|
-
assert(slice);
|
|
83
|
-
const lines = readAllLines(slice, slice.length, { ignore: canIgnoreLine });
|
|
84
|
-
|
|
85
|
-
// Important: get the root path AFTER reading data to get the final root path, possibly affected by
|
|
86
|
-
// redirects. Any follow requests should be related to the redirected path, not the original one.
|
|
87
|
-
const { rootPath } = this.input._rootSource;
|
|
88
|
-
|
|
89
|
-
const variantStreams: {
|
|
90
|
-
fullPath: string;
|
|
91
|
-
attributes: AttributeList;
|
|
92
|
-
lineNumber: number;
|
|
93
|
-
hasOnlyKeyPackets: boolean;
|
|
94
|
-
}[] = [];
|
|
95
|
-
const mediaTags: {
|
|
96
|
-
fullPath: string | null;
|
|
97
|
-
attributes: AttributeList;
|
|
98
|
-
lineNumber: number;
|
|
99
|
-
}[] = [];
|
|
100
|
-
|
|
101
|
-
// Let's first iterate through the entire file, collecting all variant streams and media tags
|
|
102
|
-
|
|
103
|
-
for (let i = 1; i < lines.length; i++) {
|
|
104
|
-
const line = lines[i]!;
|
|
105
|
-
|
|
106
|
-
if (line.startsWith(TAG_STREAM_INF)) {
|
|
107
|
-
const streamInfLineNumber = i;
|
|
108
|
-
const playlistPath = lines[++i];
|
|
109
|
-
if (playlistPath === undefined) {
|
|
110
|
-
throw new Error('Incorrect M3U8 file; a line must follow the #EXT-X-STREAM-INF tag.');
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
const fullPath = joinPaths(rootPath, playlistPath);
|
|
114
|
-
const attributes = new AttributeList(line.slice(TAG_STREAM_INF.length));
|
|
115
|
-
|
|
116
|
-
const bandwidth = attributes.getAsNumber('bandwidth');
|
|
117
|
-
if (bandwidth === null) {
|
|
118
|
-
throw new Error(
|
|
119
|
-
'Invalid M3U8 file; #EXT-X-STREAM-INF tag requires a BANDWIDTH attribute with a valid'
|
|
120
|
-
+ ' numerical value.',
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
variantStreams.push({
|
|
125
|
-
fullPath,
|
|
126
|
-
attributes,
|
|
127
|
-
lineNumber: streamInfLineNumber,
|
|
128
|
-
hasOnlyKeyPackets: false,
|
|
129
|
-
});
|
|
130
|
-
} else if (line.startsWith(TAG_I_FRAME_STREAM_INF)) {
|
|
131
|
-
const attributes = new AttributeList(line.slice(TAG_I_FRAME_STREAM_INF.length));
|
|
132
|
-
const playlistPath = attributes.get('uri');
|
|
133
|
-
|
|
134
|
-
if (playlistPath === null) {
|
|
135
|
-
throw new Error(
|
|
136
|
-
'Invalid M3U8 file; #EXT-X-I-FRAME-STREAM-INF tag requires a URI attribute.',
|
|
137
|
-
);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
const bandwidth = attributes.getAsNumber('bandwidth');
|
|
141
|
-
if (bandwidth === null) {
|
|
142
|
-
throw new Error(
|
|
143
|
-
'Invalid M3U8 file; #EXT-X-I-FRAME-STREAM-INF tag requires a BANDWIDTH attribute with a'
|
|
144
|
-
+ ' valid numerical value.',
|
|
145
|
-
);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
const fullPath = joinPaths(rootPath, playlistPath);
|
|
149
|
-
|
|
150
|
-
variantStreams.push({
|
|
151
|
-
fullPath,
|
|
152
|
-
attributes,
|
|
153
|
-
lineNumber: i,
|
|
154
|
-
hasOnlyKeyPackets: true,
|
|
155
|
-
});
|
|
156
|
-
} else if (line.startsWith(TAG_MEDIA)) {
|
|
157
|
-
const attributes = new AttributeList(line.slice(TAG_MEDIA.length));
|
|
158
|
-
|
|
159
|
-
const type = attributes.get('type');
|
|
160
|
-
if (type === null) {
|
|
161
|
-
throw new Error(
|
|
162
|
-
'Invalid M3U8 file; #EXT-X-MEDIA tag requires a TYPE attribute.',
|
|
163
|
-
);
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
const groupId = attributes.get('group-id');
|
|
167
|
-
if (groupId === null) {
|
|
168
|
-
throw new Error(
|
|
169
|
-
'Invalid M3U8 file; #EXT-X-MEDIA tag requires a GROUP-ID attribute.',
|
|
170
|
-
);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
let fullPath: string | null = null;
|
|
174
|
-
const uri = attributes.get('uri');
|
|
175
|
-
if (uri !== null) {
|
|
176
|
-
fullPath = joinPaths(rootPath, uri);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
mediaTags.push({ fullPath, attributes, lineNumber: i });
|
|
180
|
-
} else if (line === TAG_I_FRAMES_ONLY) {
|
|
181
|
-
// iFramesOnlyTagFound = true;
|
|
182
|
-
} else if (line.startsWith(TAG_EXTINF)) {
|
|
183
|
-
// This is a media playlist, not a master playlist
|
|
184
|
-
const segmentedInput = new HlsSegmentedInput(this, rootPath, null, lines);
|
|
185
|
-
|
|
186
|
-
this.segmentedInputs = [segmentedInput];
|
|
187
|
-
this.hasMasterPlaylist = false;
|
|
188
|
-
this.trackBackings = await segmentedInput.getTrackBackings();
|
|
189
|
-
|
|
190
|
-
return;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
const videoGroupIds = [...new Set(
|
|
195
|
-
mediaTags
|
|
196
|
-
.filter(tag => tag.attributes.get('type')!.toLowerCase() === 'video')
|
|
197
|
-
.map(tag => tag.attributes.get('group-id')!)),
|
|
198
|
-
];
|
|
199
|
-
const audioGroupIds = [...new Set(
|
|
200
|
-
mediaTags
|
|
201
|
-
.filter(tag => tag.attributes.get('type')!.toLowerCase() === 'audio')
|
|
202
|
-
.map(tag => tag.attributes.get('group-id')!)),
|
|
203
|
-
];
|
|
204
|
-
|
|
205
|
-
// Now, let's process & resolve all variant streams in parallel, mapping each of them to tracks.
|
|
206
|
-
|
|
207
|
-
const internalTracksByVariant = await Promise.all(variantStreams.map(async (variantStream, i) => {
|
|
208
|
-
const result: InternalTrack[] = [];
|
|
209
|
-
|
|
210
|
-
const codecsList = variantStream.attributes.get('codecs');
|
|
211
|
-
let codecStrings: string[];
|
|
212
|
-
|
|
213
|
-
if (codecsList) {
|
|
214
|
-
codecStrings = codecsList.split(',').map(x => x.trim());
|
|
215
|
-
} else {
|
|
216
|
-
// No codecs were specified, we need to read the underlying media data
|
|
217
|
-
const segmentedInput = this.getSegmentedInputForPath(variantStream.fullPath);
|
|
218
|
-
const trackBackings = await segmentedInput.getTrackBackings();
|
|
219
|
-
|
|
220
|
-
const tracksWithCodec = await Promise.all(
|
|
221
|
-
trackBackings.map(async t => ({ track: t, codec: await t.getCodec() })),
|
|
222
|
-
);
|
|
223
|
-
codecStrings = await Promise.all(
|
|
224
|
-
tracksWithCodec
|
|
225
|
-
.filter(x => x.codec !== null)
|
|
226
|
-
.map(x => x.track.getDecoderConfig().then(x => x!.codec)),
|
|
227
|
-
);
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
const videoGroupId = variantStream.attributes.get('video');
|
|
231
|
-
const audioGroupId = variantStream.attributes.get('audio');
|
|
232
|
-
const containsVideoCodecs = codecStrings.some(x =>
|
|
233
|
-
VIDEO_CODECS.includes(inferCodecFromCodecString(x) as VideoCodec),
|
|
234
|
-
);
|
|
235
|
-
const containsAudioCodecs = codecStrings.some(x =>
|
|
236
|
-
AUDIO_CODECS.includes(inferCodecFromCodecString(x) as AudioCodec),
|
|
237
|
-
);
|
|
238
|
-
|
|
239
|
-
if (videoGroupId !== null && !containsVideoCodecs) {
|
|
240
|
-
// A video group is linked but no video codec is listed, sigh. Let's resolve the video codec.
|
|
241
|
-
|
|
242
|
-
if (!videoGroupIds.includes(videoGroupId)) {
|
|
243
|
-
throw new Error(
|
|
244
|
-
`Invalid M3U8 file; variant stream references video group "${videoGroupId}" which`
|
|
245
|
-
+ ` is not defined in any #EXT-X-MEDIA tags.`,
|
|
246
|
-
);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
// We only need to look at the first matching tag, since all tags are required to have the same
|
|
250
|
-
// codec anyway
|
|
251
|
-
const matchingVideoMediaTag = mediaTags.find((mediaTag) => {
|
|
252
|
-
const groupId = mediaTag.attributes.get('group-id')!;
|
|
253
|
-
const type = mediaTag.attributes.get('type')!;
|
|
254
|
-
return groupId === videoGroupId && type.toLowerCase() === 'video';
|
|
255
|
-
});
|
|
256
|
-
|
|
257
|
-
outer:
|
|
258
|
-
if (matchingVideoMediaTag) {
|
|
259
|
-
const uri = matchingVideoMediaTag.attributes.get('uri');
|
|
260
|
-
if (uri === null) {
|
|
261
|
-
break outer;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
const fullPath = joinPaths(rootPath, uri);
|
|
265
|
-
const segmentedInput = this.getSegmentedInputForPath(fullPath);
|
|
266
|
-
const trackBackings = await segmentedInput.getTrackBackings();
|
|
267
|
-
const videoTrack = trackBackings.find(x => x.getType() === 'video');
|
|
268
|
-
|
|
269
|
-
if (!videoTrack || (await videoTrack.getCodec()) === null) {
|
|
270
|
-
break outer;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
const additionalCodecString = await videoTrack.getDecoderConfig().then(x => x?.codec ?? null);
|
|
274
|
-
assert(additionalCodecString !== null);
|
|
275
|
-
|
|
276
|
-
codecStrings.push(additionalCodecString);
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
if (audioGroupId !== null && !containsAudioCodecs) {
|
|
281
|
-
// An audio group is linked but no audio codec is listed, sigh. Let's resolve the audio codec.
|
|
282
|
-
|
|
283
|
-
if (!audioGroupIds.includes(audioGroupId)) {
|
|
284
|
-
throw new Error(
|
|
285
|
-
`Invalid M3U8 file; variant stream references audio group "${audioGroupId}" which`
|
|
286
|
-
+ ` is not defined in any #EXT-X-MEDIA tags.`,
|
|
287
|
-
);
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
// We only need to look at the first matching tag, since all tags are required to have the same
|
|
291
|
-
// codec anyway
|
|
292
|
-
const matchingAudioMediaTag = mediaTags.find((tag) => {
|
|
293
|
-
const groupId = tag.attributes.get('group-id')!;
|
|
294
|
-
const type = tag.attributes.get('type')!;
|
|
295
|
-
return groupId === audioGroupId && type.toLowerCase() === 'audio';
|
|
296
|
-
});
|
|
297
|
-
|
|
298
|
-
outer:
|
|
299
|
-
if (matchingAudioMediaTag) {
|
|
300
|
-
const uri = matchingAudioMediaTag.attributes.get('uri');
|
|
301
|
-
if (uri === null) {
|
|
302
|
-
break outer;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
const fullPath = joinPaths(rootPath, uri);
|
|
306
|
-
const segmentedInput = this.getSegmentedInputForPath(fullPath);
|
|
307
|
-
const trackBackings = await segmentedInput.getTrackBackings();
|
|
308
|
-
const audioTrack = trackBackings.find(x => x.getType() === 'audio');
|
|
309
|
-
|
|
310
|
-
if (!audioTrack || (await audioTrack.getCodec()) === null) {
|
|
311
|
-
break outer;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
const additionalCodecString = await audioTrack.getDecoderConfig().then(x => x?.codec ?? null);
|
|
315
|
-
assert(additionalCodecString !== null);
|
|
316
|
-
|
|
317
|
-
codecStrings.push(additionalCodecString);
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
// Unique that shit
|
|
322
|
-
codecStrings = [...new Set(codecStrings)];
|
|
323
|
-
|
|
324
|
-
let videoCodecString: string | null = null;
|
|
325
|
-
let audioCodecString: string | null = null;
|
|
326
|
-
|
|
327
|
-
const bandwidth = variantStream.attributes.getAsNumber('bandwidth');
|
|
328
|
-
assert(bandwidth !== null);
|
|
329
|
-
|
|
330
|
-
const averageBandwidth = variantStream.attributes.getAsNumber('average-bandwidth');
|
|
331
|
-
const name = variantStream.attributes.get('name');
|
|
332
|
-
|
|
333
|
-
// Now, finally, loop over each codec string for the variant and resolve each one to one or more tracks.
|
|
334
|
-
for (const codecString of codecStrings) {
|
|
335
|
-
const inferredCodec = inferCodecFromCodecString(codecString);
|
|
336
|
-
if (inferredCodec === null) {
|
|
337
|
-
continue;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
if (VIDEO_CODECS.includes(inferredCodec as VideoCodec)) {
|
|
341
|
-
if (videoCodecString !== null) {
|
|
342
|
-
throw new Error(
|
|
343
|
-
'Unsupported M3U8 file; multiple video codecs found in the CODECS attribute of a'
|
|
344
|
-
+ ' variant stream.',
|
|
345
|
-
);
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
videoCodecString = codecString;
|
|
349
|
-
|
|
350
|
-
const videoGroupId = variantStream.attributes.get('video');
|
|
351
|
-
|
|
352
|
-
if (videoGroupId === null) {
|
|
353
|
-
const resolution = variantStream.attributes.get('resolution');
|
|
354
|
-
let width: number | null = null;
|
|
355
|
-
let height: number | null = null;
|
|
356
|
-
|
|
357
|
-
if (resolution) {
|
|
358
|
-
const match = resolution.match(/^(\d+)x(\d+)$/);
|
|
359
|
-
if (match) {
|
|
360
|
-
width = Number(match[1]);
|
|
361
|
-
height = Number(match[2]);
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
result.push({
|
|
366
|
-
id: -1,
|
|
367
|
-
demuxer: this,
|
|
368
|
-
backingTrack: null,
|
|
369
|
-
default: true,
|
|
370
|
-
autoselect: true,
|
|
371
|
-
languageCode: UNDETERMINED_LANGUAGE,
|
|
372
|
-
lineNumber: variantStream.lineNumber,
|
|
373
|
-
fullPath: variantStream.fullPath,
|
|
374
|
-
fullCodecString: videoCodecString,
|
|
375
|
-
pairingMask: 1n << BigInt(i),
|
|
376
|
-
peakBitrate: bandwidth,
|
|
377
|
-
averageBitrate: averageBandwidth,
|
|
378
|
-
name,
|
|
379
|
-
hasOnlyKeyPackets: variantStream.hasOnlyKeyPackets,
|
|
380
|
-
info: {
|
|
381
|
-
type: 'video',
|
|
382
|
-
width,
|
|
383
|
-
height,
|
|
384
|
-
},
|
|
385
|
-
});
|
|
386
|
-
} else {
|
|
387
|
-
if (!videoGroupIds.includes(videoGroupId)) {
|
|
388
|
-
throw new Error(
|
|
389
|
-
`Invalid M3U8 file; variant stream references video group "${videoGroupId}"`
|
|
390
|
-
+ ` which is not defined in any #EXT-X-MEDIA tags.`,
|
|
391
|
-
);
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
for (const mediaTag of mediaTags) {
|
|
395
|
-
const groupId = mediaTag.attributes.get('group-id')!;
|
|
396
|
-
const type = mediaTag.attributes.get('type')!;
|
|
397
|
-
|
|
398
|
-
if (groupId !== videoGroupId || type.toLowerCase() !== 'video') {
|
|
399
|
-
continue;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
const resolution = mediaTag.attributes.get('resolution')
|
|
403
|
-
?? variantStream.attributes.get('resolution');
|
|
404
|
-
let width: number | null = null;
|
|
405
|
-
let height: number | null = null;
|
|
406
|
-
|
|
407
|
-
if (resolution) {
|
|
408
|
-
const match = resolution.match(/^(\d+)x(\d+)$/);
|
|
409
|
-
if (match) {
|
|
410
|
-
width = Number(match[1]);
|
|
411
|
-
height = Number(match[2]);
|
|
412
|
-
}
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
result.push({
|
|
416
|
-
id: -1,
|
|
417
|
-
demuxer: this,
|
|
418
|
-
backingTrack: null,
|
|
419
|
-
default: getMediaTagDefault(mediaTag.attributes),
|
|
420
|
-
// Autoselect is inferred to be true if the default is true
|
|
421
|
-
autoselect: getMediaTagDefault(mediaTag.attributes)
|
|
422
|
-
|| getMediaTagAutoselect(mediaTag.attributes),
|
|
423
|
-
languageCode: preprocessLanguageCode(mediaTag.attributes.get('language')),
|
|
424
|
-
lineNumber: mediaTag.lineNumber,
|
|
425
|
-
fullPath: mediaTag.fullPath ?? variantStream.fullPath,
|
|
426
|
-
fullCodecString: videoCodecString,
|
|
427
|
-
pairingMask: 1n << BigInt(i),
|
|
428
|
-
peakBitrate: null,
|
|
429
|
-
averageBitrate: null,
|
|
430
|
-
name: mediaTag.attributes.get('name'),
|
|
431
|
-
hasOnlyKeyPackets: variantStream.hasOnlyKeyPackets,
|
|
432
|
-
info: {
|
|
433
|
-
type: 'video',
|
|
434
|
-
width,
|
|
435
|
-
height,
|
|
436
|
-
},
|
|
437
|
-
});
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
} else if (AUDIO_CODECS.includes(inferredCodec as AudioCodec)) {
|
|
441
|
-
if (audioCodecString !== null) {
|
|
442
|
-
throw new Error(
|
|
443
|
-
'Unsupported M3U8 file; multiple audio codecs found in the CODECS attribute of a'
|
|
444
|
-
+ ' variant stream.',
|
|
445
|
-
);
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
audioCodecString = codecString;
|
|
449
|
-
|
|
450
|
-
const audioGroupId = variantStream.attributes.get('audio');
|
|
451
|
-
|
|
452
|
-
if (audioGroupId === null) {
|
|
453
|
-
const channels = variantStream.attributes.get('channels');
|
|
454
|
-
const parsedChannels = channels !== null
|
|
455
|
-
? Number(channels.split('/')[0]!)
|
|
456
|
-
: null;
|
|
457
|
-
|
|
458
|
-
result.push({
|
|
459
|
-
id: -1,
|
|
460
|
-
demuxer: this,
|
|
461
|
-
backingTrack: null,
|
|
462
|
-
default: true,
|
|
463
|
-
autoselect: true,
|
|
464
|
-
languageCode: UNDETERMINED_LANGUAGE,
|
|
465
|
-
lineNumber: variantStream.lineNumber,
|
|
466
|
-
fullPath: variantStream.fullPath,
|
|
467
|
-
fullCodecString: audioCodecString,
|
|
468
|
-
pairingMask: 1n << BigInt(i),
|
|
469
|
-
peakBitrate: bandwidth,
|
|
470
|
-
averageBitrate: averageBandwidth,
|
|
471
|
-
name,
|
|
472
|
-
hasOnlyKeyPackets: variantStream.hasOnlyKeyPackets,
|
|
473
|
-
info: {
|
|
474
|
-
type: 'audio',
|
|
475
|
-
numberOfChannels:
|
|
476
|
-
parsedChannels !== null
|
|
477
|
-
&& Number.isInteger(parsedChannels)
|
|
478
|
-
&& parsedChannels > 0
|
|
479
|
-
? parsedChannels
|
|
480
|
-
: null,
|
|
481
|
-
},
|
|
482
|
-
});
|
|
483
|
-
} else {
|
|
484
|
-
if (!audioGroupIds.includes(audioGroupId)) {
|
|
485
|
-
throw new Error(
|
|
486
|
-
`Invalid M3U8 file; variant stream references audio group "${audioGroupId}"`
|
|
487
|
-
+ ` which is not defined in any #EXT-X-MEDIA tags.`,
|
|
488
|
-
);
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
for (const mediaTag of mediaTags) {
|
|
492
|
-
const groupId = mediaTag.attributes.get('group-id')!;
|
|
493
|
-
const type = mediaTag.attributes.get('type')!;
|
|
494
|
-
|
|
495
|
-
if (groupId !== audioGroupId || type.toLowerCase() !== 'audio') {
|
|
496
|
-
continue;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
const channels = mediaTag.attributes.get('channels')
|
|
500
|
-
?? variantStream.attributes.get('channels');
|
|
501
|
-
const parsedChannels = channels !== null
|
|
502
|
-
? Number(channels.split('/')[0]!)
|
|
503
|
-
: null;
|
|
504
|
-
|
|
505
|
-
result.push({
|
|
506
|
-
id: -1,
|
|
507
|
-
demuxer: this,
|
|
508
|
-
backingTrack: null,
|
|
509
|
-
default: getMediaTagDefault(mediaTag.attributes),
|
|
510
|
-
// Autoselect is inferred to be true if the default is true
|
|
511
|
-
autoselect: getMediaTagDefault(mediaTag.attributes)
|
|
512
|
-
|| getMediaTagAutoselect(mediaTag.attributes),
|
|
513
|
-
languageCode: preprocessLanguageCode(mediaTag.attributes.get('language')),
|
|
514
|
-
lineNumber: mediaTag.lineNumber,
|
|
515
|
-
fullPath: mediaTag.fullPath ?? variantStream.fullPath,
|
|
516
|
-
fullCodecString: audioCodecString,
|
|
517
|
-
pairingMask: 1n << BigInt(i),
|
|
518
|
-
peakBitrate: null,
|
|
519
|
-
averageBitrate: null,
|
|
520
|
-
name: mediaTag.attributes.get('name'),
|
|
521
|
-
hasOnlyKeyPackets: variantStream.hasOnlyKeyPackets,
|
|
522
|
-
info: {
|
|
523
|
-
type: 'audio',
|
|
524
|
-
numberOfChannels:
|
|
525
|
-
parsedChannels !== null
|
|
526
|
-
&& Number.isInteger(parsedChannels)
|
|
527
|
-
&& parsedChannels > 0
|
|
528
|
-
? parsedChannels
|
|
529
|
-
: null,
|
|
530
|
-
},
|
|
531
|
-
});
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
return result;
|
|
538
|
-
}));
|
|
539
|
-
|
|
540
|
-
const internalTracks: InternalTrack[] = [];
|
|
541
|
-
const addInternalTrack = (track: InternalTrack) => {
|
|
542
|
-
const existingTrack = internalTracks.find(x =>
|
|
543
|
-
x.fullPath === track.fullPath && x.info.type === track.info.type,
|
|
544
|
-
);
|
|
545
|
-
|
|
546
|
-
if (existingTrack) {
|
|
547
|
-
existingTrack.pairingMask |= track.pairingMask;
|
|
548
|
-
existingTrack.default ||= track.default;
|
|
549
|
-
existingTrack.autoselect ||= track.autoselect;
|
|
550
|
-
existingTrack.lineNumber = Math.min(existingTrack.lineNumber, track.lineNumber);
|
|
551
|
-
|
|
552
|
-
if (track.peakBitrate !== null) {
|
|
553
|
-
existingTrack.peakBitrate = Math.max(
|
|
554
|
-
existingTrack.peakBitrate ?? -Infinity,
|
|
555
|
-
track.peakBitrate,
|
|
556
|
-
);
|
|
557
|
-
}
|
|
558
|
-
if (track.averageBitrate !== null) {
|
|
559
|
-
existingTrack.averageBitrate = Math.max(
|
|
560
|
-
existingTrack.averageBitrate ?? -Infinity,
|
|
561
|
-
track.averageBitrate,
|
|
562
|
-
);
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
if (existingTrack.languageCode === UNDETERMINED_LANGUAGE) {
|
|
566
|
-
existingTrack.languageCode = track.languageCode;
|
|
567
|
-
}
|
|
568
|
-
} else {
|
|
569
|
-
track.id = internalTracks.length + 1;
|
|
570
|
-
internalTracks.push(track);
|
|
571
|
-
}
|
|
572
|
-
};
|
|
573
|
-
|
|
574
|
-
for (const variantInternalTracks of internalTracksByVariant) {
|
|
575
|
-
for (const trackEntry of variantInternalTracks) {
|
|
576
|
-
addInternalTrack(trackEntry);
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
|
|
580
|
-
// Order tracks by how they appear in the file
|
|
581
|
-
internalTracks.sort((a, b) => a.lineNumber - b.lineNumber);
|
|
582
|
-
|
|
583
|
-
this.trackBackings = [];
|
|
584
|
-
for (const internalTrack of internalTracks) {
|
|
585
|
-
if (internalTrack.info.type === 'video') {
|
|
586
|
-
this.trackBackings.push(
|
|
587
|
-
new HlsInputVideoTrackBacking(internalTrack as InternalVideoTrack),
|
|
588
|
-
);
|
|
589
|
-
} else {
|
|
590
|
-
this.trackBackings.push(
|
|
591
|
-
new HlsInputAudioTrackBacking(internalTrack as InternalAudioTrack),
|
|
592
|
-
);
|
|
593
|
-
}
|
|
594
|
-
}
|
|
595
|
-
|
|
596
|
-
this.internalTracks = internalTracks;
|
|
597
|
-
})();
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
async getTrackBackings() {
|
|
601
|
-
await this.readMetadata();
|
|
602
|
-
assert(this.trackBackings);
|
|
603
|
-
|
|
604
|
-
return this.trackBackings;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
getSegmentedInputForPath(path: string) {
|
|
608
|
-
let segmentedInput = this.segmentedInputs.find(x => x.path === path);
|
|
609
|
-
if (segmentedInput) {
|
|
610
|
-
return segmentedInput;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
let decls: SegmentedInputTrackDeclaration[] | null = null;
|
|
614
|
-
if (this.internalTracks) {
|
|
615
|
-
const tracks = this.internalTracks.filter(x => x.fullPath === path);
|
|
616
|
-
decls = tracks.map(x => ({
|
|
617
|
-
id: x.id,
|
|
618
|
-
type: x.info.type,
|
|
619
|
-
}));
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
segmentedInput = new HlsSegmentedInput(this, path, decls, null);
|
|
623
|
-
this.segmentedInputs.push(segmentedInput);
|
|
624
|
-
|
|
625
|
-
return segmentedInput;
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
async getMetadataTags(): Promise<MetadataTags> {
|
|
629
|
-
return {};
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
async getMimeType(): Promise<string> {
|
|
633
|
-
return HLS_MIME_TYPE;
|
|
634
|
-
}
|
|
635
|
-
|
|
636
|
-
override dispose(): void {
|
|
637
|
-
if (this.segmentedInputs) {
|
|
638
|
-
for (const segInput of this.segmentedInputs) {
|
|
639
|
-
segInput.dispose();
|
|
640
|
-
}
|
|
641
|
-
this.segmentedInputs.length = 0;
|
|
642
|
-
}
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
|
|
646
|
-
abstract class HlsInputTrackBacking implements InputTrackBacking {
|
|
647
|
-
hydrationPromise: Promise<void> | null = null;
|
|
648
|
-
|
|
649
|
-
constructor(public internalTrack: InternalTrack) {}
|
|
650
|
-
|
|
651
|
-
abstract getType(): TrackType;
|
|
652
|
-
abstract getDecoderConfig(): Promise<VideoDecoderConfig | AudioDecoderConfig | null>;
|
|
653
|
-
|
|
654
|
-
hydrate() {
|
|
655
|
-
return this.hydrationPromise ??= (async () => {
|
|
656
|
-
const segmentedInput = this.internalTrack.demuxer.getSegmentedInputForPath(this.internalTrack.fullPath);
|
|
657
|
-
|
|
658
|
-
let trackBacking: InputTrackBacking | null = null;
|
|
659
|
-
|
|
660
|
-
const trackBackings = await segmentedInput.getTrackBackings();
|
|
661
|
-
const matchingType = trackBackings.filter(x => x.getType() === this.getType());
|
|
662
|
-
|
|
663
|
-
if (matchingType.length === 1) {
|
|
664
|
-
// Avoids reading fields on the track
|
|
665
|
-
trackBacking = matchingType[0]!;
|
|
666
|
-
} else {
|
|
667
|
-
if (this instanceof HlsInputVideoTrackBacking) {
|
|
668
|
-
for (const backing of matchingType) {
|
|
669
|
-
if ((await backing.getCodec()) === this.getCodec()) {
|
|
670
|
-
trackBacking = backing;
|
|
671
|
-
break;
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
} else {
|
|
675
|
-
assert(this instanceof HlsInputAudioTrackBacking);
|
|
676
|
-
|
|
677
|
-
for (const backing of matchingType) {
|
|
678
|
-
if ((await backing.getCodec()) === this.getCodec()) {
|
|
679
|
-
trackBacking = backing;
|
|
680
|
-
break;
|
|
681
|
-
}
|
|
682
|
-
}
|
|
683
|
-
}
|
|
684
|
-
}
|
|
685
|
-
|
|
686
|
-
if (!trackBacking) {
|
|
687
|
-
throw new Error('Could not find matching track in underlying media data.');
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
this.internalTrack.backingTrack = trackBacking;
|
|
691
|
-
})();
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
/** If the backing track is already present, delegate synchronously; otherwise, hydrate first. */
|
|
695
|
-
delegate<T>(fn: () => MaybePromise<T>): MaybePromise<T> {
|
|
696
|
-
if (this.internalTrack.backingTrack) {
|
|
697
|
-
return fn();
|
|
698
|
-
}
|
|
699
|
-
|
|
700
|
-
return this.hydrate().then(fn);
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
getCodec(): MediaCodec | null {
|
|
704
|
-
throw new Error('Not implemented on base class.');
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
getDisposition(): TrackDisposition {
|
|
708
|
-
return {
|
|
709
|
-
...DEFAULT_TRACK_DISPOSITION,
|
|
710
|
-
// Meanings are swapped in HLS: "Default" means that a track is the primary track.
|
|
711
|
-
default: this.internalTrack.autoselect,
|
|
712
|
-
primary: this.internalTrack.default,
|
|
713
|
-
};
|
|
714
|
-
}
|
|
715
|
-
|
|
716
|
-
getId(): number {
|
|
717
|
-
return this.internalTrack.id;
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
getPairingMask(): bigint {
|
|
721
|
-
return this.internalTrack.pairingMask;
|
|
722
|
-
}
|
|
723
|
-
|
|
724
|
-
getInternalCodecId(): string | number | Uint8Array | null {
|
|
725
|
-
return null;
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
getLanguageCode(): string {
|
|
729
|
-
return this.internalTrack.languageCode;
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
getName(): string | null {
|
|
733
|
-
return this.internalTrack.name;
|
|
734
|
-
}
|
|
735
|
-
|
|
736
|
-
getNumber(): number {
|
|
737
|
-
assert(this.internalTrack.demuxer.internalTracks);
|
|
738
|
-
|
|
739
|
-
const trackType = this.internalTrack.info.type;
|
|
740
|
-
let number = 0;
|
|
741
|
-
for (const track of this.internalTrack.demuxer.internalTracks) {
|
|
742
|
-
if (track.info.type === trackType) {
|
|
743
|
-
number++;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
if (track === this.internalTrack) {
|
|
747
|
-
break;
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
return number;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
getTimeResolution(): MaybePromise<number> {
|
|
755
|
-
return this.delegate(() => this.internalTrack.backingTrack!.getTimeResolution());
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
isRelativeToUnixEpoch(): MaybePromise<boolean> {
|
|
759
|
-
return this.delegate(() => this.internalTrack.backingTrack!.isRelativeToUnixEpoch());
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
getUnixTimeForTimestamp(timestamp: number): MaybePromise<number | null> {
|
|
763
|
-
return this.delegate(() => this.internalTrack.backingTrack!.getUnixTimeForTimestamp(timestamp));
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
getBitrate(): number | null {
|
|
767
|
-
return this.internalTrack.peakBitrate;
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
getAverageBitrate(): number | null {
|
|
771
|
-
return this.internalTrack.averageBitrate;
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
async getDurationFromMetadata(options: DurationMetadataRequestOptions): Promise<number | null> {
|
|
775
|
-
await this.hydrate();
|
|
776
|
-
return this.internalTrack.backingTrack!.getDurationFromMetadata(options);
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
async getLiveRefreshInterval(): Promise<number | null> {
|
|
780
|
-
await this.hydrate();
|
|
781
|
-
return this.internalTrack.backingTrack!.getLiveRefreshInterval();
|
|
782
|
-
}
|
|
783
|
-
|
|
784
|
-
getHasOnlyKeyPackets() {
|
|
785
|
-
return this.internalTrack.hasOnlyKeyPackets || null;
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
async getFirstPacket(options: PacketRetrievalOptions): Promise<EncodedPacket | null> {
|
|
789
|
-
await this.hydrate();
|
|
790
|
-
return this.internalTrack.backingTrack!.getFirstPacket(options);
|
|
791
|
-
}
|
|
792
|
-
|
|
793
|
-
async getPacket(timestamp: number, options: PacketRetrievalOptions): Promise<EncodedPacket | null> {
|
|
794
|
-
await this.hydrate();
|
|
795
|
-
return this.internalTrack.backingTrack!.getPacket(timestamp, options);
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
async getKeyPacket(timestamp: number, options: PacketRetrievalOptions): Promise<EncodedPacket | null> {
|
|
799
|
-
await this.hydrate();
|
|
800
|
-
return this.internalTrack.backingTrack!.getKeyPacket(timestamp, options);
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
async getNextPacket(packet: EncodedPacket, options: PacketRetrievalOptions): Promise<EncodedPacket | null> {
|
|
804
|
-
await this.hydrate();
|
|
805
|
-
return this.internalTrack.backingTrack!.getNextPacket(packet, options);
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
async getNextKeyPacket(packet: EncodedPacket, options: PacketRetrievalOptions): Promise<EncodedPacket | null> {
|
|
809
|
-
await this.hydrate();
|
|
810
|
-
return this.internalTrack.backingTrack!.getNextKeyPacket(packet, options);
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
|
|
814
|
-
class HlsInputVideoTrackBacking
|
|
815
|
-
extends HlsInputTrackBacking
|
|
816
|
-
implements InputVideoTrackBacking {
|
|
817
|
-
override internalTrack!: InternalVideoTrack;
|
|
818
|
-
|
|
819
|
-
constructor(internalTrack: InternalVideoTrack) {
|
|
820
|
-
super(internalTrack);
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
get backingVideoTrack() {
|
|
824
|
-
return this.internalTrack.backingTrack as InputVideoTrackBacking | null;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
getType() {
|
|
828
|
-
return 'video' as const;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
override getCodec(): VideoCodec | null {
|
|
832
|
-
const inferredCodec = inferCodecFromCodecString(this.internalTrack.fullCodecString);
|
|
833
|
-
return inferredCodec as VideoCodec;
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
getCodedWidth(): MaybePromise<number> {
|
|
837
|
-
return this.delegate(() => this.backingVideoTrack!.getCodedWidth());
|
|
838
|
-
}
|
|
839
|
-
|
|
840
|
-
getCodedHeight(): MaybePromise<number> {
|
|
841
|
-
return this.delegate(() => this.backingVideoTrack!.getCodedHeight());
|
|
842
|
-
}
|
|
843
|
-
|
|
844
|
-
getSquarePixelWidth(): MaybePromise<number> {
|
|
845
|
-
return this.delegate(() => this.backingVideoTrack!.getSquarePixelWidth());
|
|
846
|
-
}
|
|
847
|
-
|
|
848
|
-
getSquarePixelHeight(): MaybePromise<number> {
|
|
849
|
-
return this.delegate(() => this.backingVideoTrack!.getSquarePixelHeight());
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
getMetadataDisplayWidth(): number | null {
|
|
853
|
-
if (this.backingVideoTrack) {
|
|
854
|
-
return null;
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
return this.internalTrack.info.width;
|
|
858
|
-
}
|
|
859
|
-
|
|
860
|
-
getMetadataDisplayHeight(): number | null {
|
|
861
|
-
if (this.backingVideoTrack) {
|
|
862
|
-
return null;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
return this.internalTrack.info.height;
|
|
866
|
-
}
|
|
867
|
-
|
|
868
|
-
getRotation(): MaybePromise<Rotation> {
|
|
869
|
-
return this.delegate(() => this.backingVideoTrack!.getRotation());
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
async getColorSpace(): Promise<VideoColorSpaceInit> {
|
|
873
|
-
await this.hydrate();
|
|
874
|
-
return this.backingVideoTrack!.getColorSpace();
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
async canBeTransparent(): Promise<boolean> {
|
|
878
|
-
await this.hydrate();
|
|
879
|
-
return this.backingVideoTrack!.canBeTransparent();
|
|
880
|
-
}
|
|
881
|
-
|
|
882
|
-
getMetadataCodecParameterString(): string | null {
|
|
883
|
-
if (this.backingVideoTrack) {
|
|
884
|
-
return null;
|
|
885
|
-
}
|
|
886
|
-
return this.internalTrack.fullCodecString;
|
|
887
|
-
}
|
|
888
|
-
|
|
889
|
-
async getDecoderConfig(): Promise<VideoDecoderConfig | null> {
|
|
890
|
-
await this.hydrate();
|
|
891
|
-
return this.backingVideoTrack!.getDecoderConfig();
|
|
892
|
-
}
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
class HlsInputAudioTrackBacking
|
|
896
|
-
extends HlsInputTrackBacking
|
|
897
|
-
implements InputAudioTrackBacking {
|
|
898
|
-
override internalTrack!: InternalAudioTrack;
|
|
899
|
-
|
|
900
|
-
constructor(internalTrack: InternalAudioTrack) {
|
|
901
|
-
super(internalTrack);
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
get backingAudioTrack() {
|
|
905
|
-
return this.internalTrack.backingTrack as InputAudioTrackBacking | null;
|
|
906
|
-
}
|
|
907
|
-
|
|
908
|
-
getType() {
|
|
909
|
-
return 'audio' as const;
|
|
910
|
-
}
|
|
911
|
-
|
|
912
|
-
override getCodec(): AudioCodec | null {
|
|
913
|
-
const inferredCodec = inferCodecFromCodecString(this.internalTrack.fullCodecString);
|
|
914
|
-
return inferredCodec as AudioCodec;
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
getNumberOfChannels(): MaybePromise<number> {
|
|
918
|
-
if (this.internalTrack.info.numberOfChannels !== null) {
|
|
919
|
-
return this.internalTrack.info.numberOfChannels;
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
return this.delegate(() => this.backingAudioTrack!.getNumberOfChannels());
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
getSampleRate(): MaybePromise<number> {
|
|
926
|
-
return this.delegate(() => this.backingAudioTrack!.getSampleRate());
|
|
927
|
-
}
|
|
928
|
-
|
|
929
|
-
getMetadataCodecParameterString(): string | null {
|
|
930
|
-
if (this.backingAudioTrack) {
|
|
931
|
-
return null;
|
|
932
|
-
}
|
|
933
|
-
return this.internalTrack.fullCodecString;
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
async getDecoderConfig(): Promise<AudioDecoderConfig | null> {
|
|
937
|
-
await this.hydrate();
|
|
938
|
-
return this.backingAudioTrack!.getDecoderConfig();
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
const getMediaTagDefault = (attributes: AttributeList) => {
|
|
943
|
-
const value = attributes.get('default');
|
|
944
|
-
if (value === null) {
|
|
945
|
-
return false;
|
|
946
|
-
}
|
|
947
|
-
|
|
948
|
-
const normalized = value.toUpperCase();
|
|
949
|
-
if (normalized === 'YES') {
|
|
950
|
-
return true;
|
|
951
|
-
}
|
|
952
|
-
if (normalized === 'NO') {
|
|
953
|
-
return false;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
throw new Error(
|
|
957
|
-
`Invalid M3U8 file; #EXT-X-MEDIA DEFAULT attribute must be YES or NO, got "${value}".`,
|
|
958
|
-
);
|
|
959
|
-
};
|
|
960
|
-
|
|
961
|
-
const getMediaTagAutoselect = (attributes: AttributeList) => {
|
|
962
|
-
const value = attributes.get('autoselect');
|
|
963
|
-
if (value === null) {
|
|
964
|
-
return false;
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
const normalized = value.toUpperCase();
|
|
968
|
-
if (normalized === 'YES') {
|
|
969
|
-
return true;
|
|
970
|
-
}
|
|
971
|
-
if (normalized === 'NO') {
|
|
972
|
-
return false;
|
|
973
|
-
}
|
|
974
|
-
|
|
975
|
-
throw new Error(
|
|
976
|
-
`Invalid M3U8 file; #EXT-X-MEDIA AUTOSELECT attribute must be YES or NO, got "${value}".`,
|
|
977
|
-
);
|
|
978
|
-
};
|
|
979
|
-
|
|
980
|
-
const preprocessLanguageCode = (code: string | null) => {
|
|
981
|
-
if (code === null) {
|
|
982
|
-
return UNDETERMINED_LANGUAGE;
|
|
983
|
-
}
|
|
984
|
-
|
|
985
|
-
const languageSubtag = code.split('-')[0];
|
|
986
|
-
if (!languageSubtag) {
|
|
987
|
-
return UNDETERMINED_LANGUAGE;
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
// Technically invalid, for now: The language subtag might be a language code from ISO 639-1,
|
|
991
|
-
// ISO 639-2, ISO 639-3, ISO 639-5 or some other thing (source: Wikipedia). But, `languageCode` is
|
|
992
|
-
// documented as ISO 639-2. Changing the definition would be a breaking change. This will get
|
|
993
|
-
// cleaned up in the future by defining languageCode to be BCP 47 instead.
|
|
994
|
-
return languageSubtag;
|
|
995
|
-
};
|