@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,772 +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 { AES_128_BLOCK_SIZE, createAes128CbcDecryptStream } from '../aes';
|
|
10
|
-
import { ENCRYPTION_KEY_CACHE_GROUP, Input } from '../input';
|
|
11
|
-
import { Segment, SegmentedInput, SegmentedInputTrackDeclaration, SegmentRetrievalOptions } from '../segmented-input';
|
|
12
|
-
import {
|
|
13
|
-
toDataView,
|
|
14
|
-
joinPaths,
|
|
15
|
-
last,
|
|
16
|
-
assert,
|
|
17
|
-
binarySearchLessOrEqual,
|
|
18
|
-
arrayArgmin,
|
|
19
|
-
wait,
|
|
20
|
-
base64ToBytes,
|
|
21
|
-
} from '../misc';
|
|
22
|
-
import { readAllLines, readBytes, Reader } from '../reader';
|
|
23
|
-
import { CustomPathedSource, PathedSource, ReadableStreamSource, SourceRef, SourceRequest } from '../source';
|
|
24
|
-
import { HlsDemuxer } from './hls-demuxer';
|
|
25
|
-
import {
|
|
26
|
-
AttributeList,
|
|
27
|
-
canIgnoreLine,
|
|
28
|
-
TAG_BYTERANGE,
|
|
29
|
-
TAG_DISCONTINUITY,
|
|
30
|
-
TAG_ENDLIST,
|
|
31
|
-
TAG_EXTINF,
|
|
32
|
-
TAG_KEY,
|
|
33
|
-
TAG_MAP,
|
|
34
|
-
TAG_MEDIA_SEQUENCE,
|
|
35
|
-
TAG_PLAYLIST_TYPE,
|
|
36
|
-
TAG_PROGRAM_DATE_TIME,
|
|
37
|
-
TAG_TARGETDURATION,
|
|
38
|
-
} from './hls-misc';
|
|
39
|
-
import { HlsInputFormat, type InputFormatOptions } from '../input-format';
|
|
40
|
-
import { parsePsshBoxContents, psshBoxesAreEqual, type PsshBox } from '../isobmff/isobmff-misc';
|
|
41
|
-
|
|
42
|
-
const IV_STRING_REGEX = /^0[xX][0-9a-fA-F]+$/;
|
|
43
|
-
const BASE64_DATA_URI_REGEX = /^data:.*;base64,/i;
|
|
44
|
-
|
|
45
|
-
export type HlsSegment = Segment & {
|
|
46
|
-
sequenceNumber: number | null;
|
|
47
|
-
location: HlsSegmentLocation;
|
|
48
|
-
encryption: HlsEncryptionInfo | null;
|
|
49
|
-
firstSegment: HlsSegment | null;
|
|
50
|
-
initSegment: HlsSegment | null;
|
|
51
|
-
lastProgramDateTimeSeconds: number | null;
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export type HlsEncryptionInfo = {
|
|
55
|
-
method: 'AES-128';
|
|
56
|
-
keyUri: string;
|
|
57
|
-
iv: Uint8Array | null;
|
|
58
|
-
keyFormat: string;
|
|
59
|
-
} | {
|
|
60
|
-
method: 'SAMPLE-AES' | 'SAMPLE-AES-CTR';
|
|
61
|
-
psshBox: PsshBox | null;
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
export type HlsSegmentLocation = {
|
|
65
|
-
path: string;
|
|
66
|
-
offset: number;
|
|
67
|
-
length: number | null;
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
export class HlsSegmentedInput extends SegmentedInput {
|
|
71
|
-
rootPath: string;
|
|
72
|
-
demuxer: HlsDemuxer;
|
|
73
|
-
segments: HlsSegment[] = [];
|
|
74
|
-
nextLines: string[] | null = null;
|
|
75
|
-
currentUpdateSegmentsPromise: Promise<void> | null = null;
|
|
76
|
-
streamHasEnded = false;
|
|
77
|
-
lastSegmentUpdateTime = -Infinity;
|
|
78
|
-
refreshInterval = 5; // Reasonable default in case the playlist doesn't specify it
|
|
79
|
-
|
|
80
|
-
constructor(
|
|
81
|
-
demuxer: HlsDemuxer,
|
|
82
|
-
path: string,
|
|
83
|
-
trackDeclarations: SegmentedInputTrackDeclaration[] | null,
|
|
84
|
-
lines: string[] | null,
|
|
85
|
-
) {
|
|
86
|
-
super(demuxer.input, path, trackDeclarations);
|
|
87
|
-
|
|
88
|
-
this.rootPath = path;
|
|
89
|
-
this.demuxer = demuxer;
|
|
90
|
-
this.nextLines = lines;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
runUpdateSegments() {
|
|
94
|
-
return this.currentUpdateSegmentsPromise ??= (async () => {
|
|
95
|
-
try {
|
|
96
|
-
const remainingWaitTimeMs = this.getRemainingWaitTimeMs();
|
|
97
|
-
if (remainingWaitTimeMs > 0) {
|
|
98
|
-
await wait(remainingWaitTimeMs);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
this.lastSegmentUpdateTime = performance.now();
|
|
102
|
-
await this.updateSegments();
|
|
103
|
-
} finally {
|
|
104
|
-
this.currentUpdateSegmentsPromise = null;
|
|
105
|
-
}
|
|
106
|
-
})();
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
getRemainingWaitTimeMs() {
|
|
110
|
-
const elapsed = performance.now() - this.lastSegmentUpdateTime;
|
|
111
|
-
const result = Math.max(0, 1000 * this.refreshInterval - elapsed);
|
|
112
|
-
|
|
113
|
-
if (result <= 50) {
|
|
114
|
-
// If only a little bit of time is left, don't wait at all; this removes the chance for timing race
|
|
115
|
-
// conditions when running a task every `refreshInterval` seconds
|
|
116
|
-
return 0;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
return result;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Reads and parses the segment info from the playlist file. When called more than one, it updates the existing
|
|
124
|
-
* segments by appending the new ones. Existing segments are never removed.
|
|
125
|
-
*/
|
|
126
|
-
async updateSegments() {
|
|
127
|
-
let lines = this.nextLines;
|
|
128
|
-
this.nextLines = null;
|
|
129
|
-
|
|
130
|
-
if (!lines) {
|
|
131
|
-
using ref = await this.demuxer.input._getSourceUncached({ path: this.rootPath, isRoot: false });
|
|
132
|
-
const reader = new Reader(ref.source);
|
|
133
|
-
|
|
134
|
-
const slice = await reader.requestEntireFile();
|
|
135
|
-
assert(slice);
|
|
136
|
-
lines = readAllLines(slice, slice.length, { ignore: canIgnoreLine });
|
|
137
|
-
|
|
138
|
-
if (ref.source instanceof PathedSource) {
|
|
139
|
-
// Copy back the source's path to become aware of potential redirects
|
|
140
|
-
this.rootPath = ref.source.rootPath;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
const offsetTimestampsByDateTime = this.input._formatOptions.hls?.offsetTimestampsByDateTime !== false;
|
|
145
|
-
|
|
146
|
-
let headerRead = false;
|
|
147
|
-
let accumulatedTime = 0;
|
|
148
|
-
let accumulatedUnixTime: number | null = null;
|
|
149
|
-
let nextSegmentDuration: number | null = null;
|
|
150
|
-
let currentKey: HlsEncryptionInfo | null = null;
|
|
151
|
-
let nextSequenceNumber = 0;
|
|
152
|
-
let currentFirstSegment: HlsSegment | null = null;
|
|
153
|
-
let currentInitSegment: HlsSegment | null = null;
|
|
154
|
-
let lastByteRangeEnd: number | null = null;
|
|
155
|
-
let nextByteRange: { offset: number; length: number } | null = null;
|
|
156
|
-
let lastProgramDateTimeSeconds: number | null = null;
|
|
157
|
-
let targetDuration: number | null = null;
|
|
158
|
-
let segmentSeen = false;
|
|
159
|
-
|
|
160
|
-
// Used for repeated parses where our job it is to only add the new segments
|
|
161
|
-
let prevLastSegment = last(this.segments) ?? null;
|
|
162
|
-
|
|
163
|
-
const parseByteRange = (content: string) => {
|
|
164
|
-
const atIndex = content.indexOf('@');
|
|
165
|
-
|
|
166
|
-
const length = Number(atIndex === -1 ? content : content.slice(0, atIndex));
|
|
167
|
-
if (!Number.isInteger(length) || length < 0) {
|
|
168
|
-
throw new Error(`Invalid #EXT-X-BYTERANGE length '${content}'.`);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
let offset: number | null = null;
|
|
172
|
-
if (atIndex !== -1) {
|
|
173
|
-
offset = Number(content.slice(atIndex + 1));
|
|
174
|
-
if (!Number.isInteger(offset) || offset < 0) {
|
|
175
|
-
throw new Error(`Invalid #EXT-X-BYTERANGE offset '${content}'.`);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
return { length, offset };
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
const setNextSequenceNumber = (number: number) => {
|
|
183
|
-
nextSequenceNumber = number;
|
|
184
|
-
|
|
185
|
-
if (prevLastSegment) {
|
|
186
|
-
assert(prevLastSegment.sequenceNumber !== null);
|
|
187
|
-
|
|
188
|
-
if (prevLastSegment.sequenceNumber < number) {
|
|
189
|
-
// The sequence number has finally exceeded the last sequence number we knew, meaning we can now
|
|
190
|
-
// continue the segment list from there. Set some data to continue where we left off.
|
|
191
|
-
accumulatedTime = prevLastSegment.timestamp + prevLastSegment.duration;
|
|
192
|
-
currentFirstSegment = prevLastSegment.firstSegment;
|
|
193
|
-
currentInitSegment = prevLastSegment.initSegment;
|
|
194
|
-
lastProgramDateTimeSeconds = prevLastSegment.lastProgramDateTimeSeconds;
|
|
195
|
-
accumulatedUnixTime = prevLastSegment.unixEpochTimestamp !== null
|
|
196
|
-
? prevLastSegment.unixEpochTimestamp + prevLastSegment.duration
|
|
197
|
-
: null;
|
|
198
|
-
prevLastSegment = null;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
};
|
|
202
|
-
|
|
203
|
-
for (let i = 0; i < lines.length; i++) {
|
|
204
|
-
const line = lines[i]!;
|
|
205
|
-
|
|
206
|
-
if (!headerRead) {
|
|
207
|
-
if (line !== '#EXTM3U') {
|
|
208
|
-
throw new Error('Invalid M3U8 file; expected first line to be #EXTM3U.');
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
headerRead = true;
|
|
212
|
-
continue;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
if (!line.startsWith('#')) {
|
|
216
|
-
if (!prevLastSegment) {
|
|
217
|
-
if (nextSegmentDuration === null) {
|
|
218
|
-
throw new Error('Invalid M3U8 file; a segment must be preceded by an #EXTINF tag.');
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
let key = currentKey;
|
|
222
|
-
if (key && key.method === 'AES-128' && !key.iv) {
|
|
223
|
-
// "the Media Sequence Number is to be used as the IV when decrypting a Media Segment, by
|
|
224
|
-
// putting its big-endian binary representation into a 16-octet (128-bit) buffer and padding
|
|
225
|
-
// (on the left) with zeros"
|
|
226
|
-
|
|
227
|
-
const iv = new Uint8Array(AES_128_BLOCK_SIZE);
|
|
228
|
-
const view = toDataView(iv);
|
|
229
|
-
view.setUint32(8, Math.floor(nextSequenceNumber / (2 ** 32)));
|
|
230
|
-
view.setUint32(12, nextSequenceNumber);
|
|
231
|
-
|
|
232
|
-
key = { ...key, iv };
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
const fullPath = joinPaths(this.rootPath, line);
|
|
236
|
-
const location: HlsSegmentLocation = {
|
|
237
|
-
path: fullPath,
|
|
238
|
-
offset: nextByteRange?.offset ?? 0,
|
|
239
|
-
length: nextByteRange?.length ?? null,
|
|
240
|
-
};
|
|
241
|
-
|
|
242
|
-
const segment: HlsSegment = {
|
|
243
|
-
timestamp: accumulatedTime,
|
|
244
|
-
unixEpochTimestamp: accumulatedUnixTime,
|
|
245
|
-
firstSegment: currentFirstSegment,
|
|
246
|
-
sequenceNumber: nextSequenceNumber,
|
|
247
|
-
location,
|
|
248
|
-
duration: nextSegmentDuration,
|
|
249
|
-
encryption: key,
|
|
250
|
-
initSegment: currentInitSegment,
|
|
251
|
-
lastProgramDateTimeSeconds,
|
|
252
|
-
};
|
|
253
|
-
|
|
254
|
-
currentFirstSegment ??= segment;
|
|
255
|
-
accumulatedTime += nextSegmentDuration;
|
|
256
|
-
if (accumulatedUnixTime !== null) {
|
|
257
|
-
accumulatedUnixTime += nextSegmentDuration;
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
this.segments.push(segment);
|
|
261
|
-
} else {
|
|
262
|
-
// We're still seeing segments we already know about
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
nextSegmentDuration = null;
|
|
266
|
-
|
|
267
|
-
if (nextByteRange === null) {
|
|
268
|
-
lastByteRangeEnd = null;
|
|
269
|
-
} else {
|
|
270
|
-
nextByteRange = null;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
setNextSequenceNumber(nextSequenceNumber + 1);
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
if (line.startsWith(TAG_EXTINF)) {
|
|
277
|
-
if (prevLastSegment) {
|
|
278
|
-
segmentSeen = true;
|
|
279
|
-
continue;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
if (!segmentSeen) {
|
|
283
|
-
if (lastProgramDateTimeSeconds === null && nextSequenceNumber > 0 && targetDuration !== null) {
|
|
284
|
-
// Offset the first segment's start timestamp by the following:
|
|
285
|
-
accumulatedTime = nextSequenceNumber * targetDuration;
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
segmentSeen = true;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
const extinfContent = line.slice(TAG_EXTINF.length);
|
|
292
|
-
const commaIndex = extinfContent.indexOf(',');
|
|
293
|
-
const durationStr = commaIndex === -1 ? extinfContent : extinfContent.slice(0, commaIndex);
|
|
294
|
-
const duration = Number(durationStr);
|
|
295
|
-
if (!Number.isFinite(duration) || duration < 0) {
|
|
296
|
-
throw new Error(`Invalid #EXTINF tag duration '${durationStr}'.`);
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
nextSegmentDuration = duration;
|
|
300
|
-
} else if (line.startsWith(TAG_MAP)) {
|
|
301
|
-
const attributes = new AttributeList(line.slice(TAG_MAP.length));
|
|
302
|
-
const uri = attributes.get('uri');
|
|
303
|
-
if (!uri) {
|
|
304
|
-
throw new Error('Invalid #EXT-X-MAP tag; missing URI attribute.');
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
const byteRange = attributes.get('byterange');
|
|
308
|
-
let parsedByteRange: ReturnType<typeof parseByteRange> | null = null;
|
|
309
|
-
if (byteRange !== null) {
|
|
310
|
-
parsedByteRange = parseByteRange(byteRange);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
if (parsedByteRange && parsedByteRange.offset === null) {
|
|
314
|
-
throw new Error('Invalid #EXT-X-MAP tag; BYTERANGE attribute must have a specified offset.');
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
if (!prevLastSegment) {
|
|
318
|
-
const fullPath = joinPaths(this.rootPath, uri);
|
|
319
|
-
const location: HlsSegmentLocation = {
|
|
320
|
-
path: fullPath,
|
|
321
|
-
offset: parsedByteRange?.offset ?? 0,
|
|
322
|
-
length: parsedByteRange?.length ?? null,
|
|
323
|
-
};
|
|
324
|
-
|
|
325
|
-
if (currentKey?.method === 'AES-128' && !currentKey.iv) {
|
|
326
|
-
// Required by the spec
|
|
327
|
-
throw new Error('IV attribute must be set on #EXT-X-KEY tag preceding the #EXT-X-MAP tag.');
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
const segment: HlsSegment = {
|
|
331
|
-
timestamp: accumulatedTime,
|
|
332
|
-
unixEpochTimestamp: accumulatedUnixTime,
|
|
333
|
-
firstSegment: null,
|
|
334
|
-
sequenceNumber: null,
|
|
335
|
-
location,
|
|
336
|
-
duration: 0,
|
|
337
|
-
encryption: currentKey,
|
|
338
|
-
initSegment: null,
|
|
339
|
-
lastProgramDateTimeSeconds,
|
|
340
|
-
};
|
|
341
|
-
|
|
342
|
-
// Accumulated time and sequence number are not updated in this case
|
|
343
|
-
currentInitSegment = segment;
|
|
344
|
-
} else {
|
|
345
|
-
// We're still seeing segments we already know about
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
nextSegmentDuration = null;
|
|
349
|
-
|
|
350
|
-
if (nextByteRange === null) {
|
|
351
|
-
lastByteRangeEnd = null;
|
|
352
|
-
} else {
|
|
353
|
-
nextByteRange = null;
|
|
354
|
-
}
|
|
355
|
-
} else if (line.startsWith(TAG_KEY)) {
|
|
356
|
-
const attributes = new AttributeList(line.slice(TAG_KEY.length));
|
|
357
|
-
const method = attributes.get('method');
|
|
358
|
-
|
|
359
|
-
if (method === 'NONE') {
|
|
360
|
-
currentKey = null;
|
|
361
|
-
} else if (method === 'AES-128') {
|
|
362
|
-
const uri = attributes.get('uri');
|
|
363
|
-
if (!uri) {
|
|
364
|
-
throw new Error('Invalid #EXT-X-KEY: AES-128 requires a URI attribute.');
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
let iv: Uint8Array | null = null;
|
|
368
|
-
const ivString = attributes.get('iv');
|
|
369
|
-
if (ivString) {
|
|
370
|
-
if (!IV_STRING_REGEX.test(ivString)) {
|
|
371
|
-
throw new Error(`Unsupported IV format '${ivString}'.`);
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
let hex = ivString.slice(2);
|
|
375
|
-
hex = hex.padStart(AES_128_BLOCK_SIZE * 2, '0');
|
|
376
|
-
|
|
377
|
-
iv = new Uint8Array(AES_128_BLOCK_SIZE);
|
|
378
|
-
for (let i = 0; i < AES_128_BLOCK_SIZE; i++) {
|
|
379
|
-
const startIndex = -AES_128_BLOCK_SIZE * 2 + i;
|
|
380
|
-
iv[i] = parseInt(hex.slice(startIndex, startIndex + 2), 16);
|
|
381
|
-
}
|
|
382
|
-
}
|
|
383
|
-
|
|
384
|
-
const keyFormat = attributes.get('keyformat') ?? 'identity';
|
|
385
|
-
if (keyFormat !== 'identity') {
|
|
386
|
-
throw new Error(
|
|
387
|
-
'For AES-128 encryption, only the \'identity\' KEYFORMAT is currently supported. If you'
|
|
388
|
-
+ ' think other formats should be supported, please raise an issue.',
|
|
389
|
-
);
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
currentKey = {
|
|
393
|
-
method: 'AES-128',
|
|
394
|
-
keyUri: joinPaths(this.rootPath, uri),
|
|
395
|
-
iv,
|
|
396
|
-
keyFormat,
|
|
397
|
-
};
|
|
398
|
-
} else if (method === 'SAMPLE-AES' || method === 'SAMPLE-AES-CTR') {
|
|
399
|
-
const uri = attributes.get('uri');
|
|
400
|
-
if (!uri) {
|
|
401
|
-
throw new Error(`Invalid #EXT-X-KEY: ${method} requires a URI attribute.`);
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
const keyFormat = attributes.get('keyformat') ?? 'identity';
|
|
405
|
-
if (keyFormat === 'identity') {
|
|
406
|
-
throw new Error(
|
|
407
|
-
'For SAMPLE-AES and SAMPLE-AES-CTR encryption, the \'identity\' KEYFORMAT is not'
|
|
408
|
-
+ ' supported. If you think this format should be supported, please raise an issue.',
|
|
409
|
-
);
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
let psshBox: PsshBox | null = null;
|
|
413
|
-
if (BASE64_DATA_URI_REGEX.test(uri)) {
|
|
414
|
-
const commaIndex = uri.indexOf(',');
|
|
415
|
-
const bytes = base64ToBytes(uri.slice(commaIndex + 1));
|
|
416
|
-
|
|
417
|
-
if (
|
|
418
|
-
bytes.length >= 8
|
|
419
|
-
&& bytes[4] === 0x70
|
|
420
|
-
&& bytes[5] === 0x73
|
|
421
|
-
&& bytes[6] === 0x73
|
|
422
|
-
&& bytes[7] === 0x68
|
|
423
|
-
) {
|
|
424
|
-
const size = toDataView(bytes).getUint32(0);
|
|
425
|
-
psshBox = parsePsshBoxContents(bytes.subarray(8, Math.min(size, bytes.length)));
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
currentKey = {
|
|
430
|
-
method,
|
|
431
|
-
psshBox,
|
|
432
|
-
};
|
|
433
|
-
} else {
|
|
434
|
-
throw new Error(
|
|
435
|
-
`Unsupported encryption method '${method}'. If you think this method should be supported,`
|
|
436
|
-
+ ` please raise an issue.`,
|
|
437
|
-
);
|
|
438
|
-
}
|
|
439
|
-
} else if (line.startsWith(TAG_MEDIA_SEQUENCE)) {
|
|
440
|
-
const value = line.slice(TAG_MEDIA_SEQUENCE.length);
|
|
441
|
-
const number = Number(value);
|
|
442
|
-
|
|
443
|
-
if (!Number.isInteger(number) || number < 0) {
|
|
444
|
-
throw new Error(`Invalid EXT-X-MEDIA-SEQUENCE value '${value}'.`);
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
setNextSequenceNumber(number);
|
|
448
|
-
} else if (line.startsWith(TAG_BYTERANGE)) {
|
|
449
|
-
const parsed = parseByteRange(line.slice(TAG_BYTERANGE.length));
|
|
450
|
-
if (parsed.offset === null) {
|
|
451
|
-
if (lastByteRangeEnd === null) {
|
|
452
|
-
throw new Error(
|
|
453
|
-
'Invalid M3U8 file; #EXT-X-BYTERANGE without offset requires a previous byte range.',
|
|
454
|
-
);
|
|
455
|
-
}
|
|
456
|
-
parsed.offset = lastByteRangeEnd;
|
|
457
|
-
}
|
|
458
|
-
|
|
459
|
-
nextByteRange = parsed as { length: number; offset: number };
|
|
460
|
-
lastByteRangeEnd = parsed.offset + parsed.length;
|
|
461
|
-
} else if (line.startsWith(TAG_PROGRAM_DATE_TIME)) {
|
|
462
|
-
if (prevLastSegment) {
|
|
463
|
-
// No need to spend effort parsing dates if we're gonna discard it anyway. Also would be wrong to do
|
|
464
|
-
// the segment shifting!
|
|
465
|
-
continue;
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
const dateTime = line.slice(TAG_PROGRAM_DATE_TIME.length);
|
|
469
|
-
const dateTimeMs = Date.parse(dateTime);
|
|
470
|
-
|
|
471
|
-
if (!Number.isFinite(dateTimeMs)) {
|
|
472
|
-
continue;
|
|
473
|
-
}
|
|
474
|
-
|
|
475
|
-
const dateTimeSeconds = dateTimeMs / 1000;
|
|
476
|
-
if (lastProgramDateTimeSeconds === dateTimeSeconds) {
|
|
477
|
-
continue;
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
if (lastProgramDateTimeSeconds === null && this.segments.length > 0) {
|
|
481
|
-
// "If the first EXT-X-PROGRAM-DATE-TIME tag in a Playlist appears after
|
|
482
|
-
// one or more Media Segment URIs, the client SHOULD extrapolate
|
|
483
|
-
// backward from that tag (using EXTINF durations and/or media
|
|
484
|
-
// timestamps) to associate dates with those segments."
|
|
485
|
-
const lastSegment = last(this.segments)!;
|
|
486
|
-
const lastSegmentEnd = lastSegment.timestamp + lastSegment.duration;
|
|
487
|
-
const offset = dateTimeSeconds - lastSegmentEnd;
|
|
488
|
-
|
|
489
|
-
for (const segment of this.segments) {
|
|
490
|
-
segment.unixEpochTimestamp = segment.timestamp + offset;
|
|
491
|
-
if (offsetTimestampsByDateTime) {
|
|
492
|
-
segment.timestamp = segment.unixEpochTimestamp;
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
lastProgramDateTimeSeconds = dateTimeSeconds;
|
|
498
|
-
accumulatedUnixTime = dateTimeSeconds;
|
|
499
|
-
|
|
500
|
-
if (offsetTimestampsByDateTime) {
|
|
501
|
-
accumulatedTime = dateTimeSeconds; // Snap the accumulated time into Unix space
|
|
502
|
-
}
|
|
503
|
-
} else if (line === TAG_DISCONTINUITY) {
|
|
504
|
-
currentFirstSegment = null;
|
|
505
|
-
// Note: the init segment is not reset; the #EXT-X-MAP statement simply lasts until the next
|
|
506
|
-
// #EXT-X-MAP statement.
|
|
507
|
-
} else if (line.startsWith(TAG_TARGETDURATION)) {
|
|
508
|
-
const value = line.slice(TAG_TARGETDURATION.length);
|
|
509
|
-
const duration = Number(value);
|
|
510
|
-
|
|
511
|
-
if (!Number.isFinite(duration) || duration < 0) {
|
|
512
|
-
throw new Error(`Invalid EXT-X-TARGETDURATION value '${value}'.`);
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
this.refreshInterval = duration;
|
|
516
|
-
targetDuration = duration;
|
|
517
|
-
} else if (line === TAG_ENDLIST) {
|
|
518
|
-
this.streamHasEnded = true;
|
|
519
|
-
break; // No need to keep reading after this
|
|
520
|
-
} else if (line.startsWith(TAG_PLAYLIST_TYPE)) {
|
|
521
|
-
const type = line.slice(TAG_PLAYLIST_TYPE.length);
|
|
522
|
-
if (type.toLowerCase() === 'vod') {
|
|
523
|
-
// A VOD playlist cannot be updated per spec so we can be sure the stream has ended
|
|
524
|
-
this.streamHasEnded = true;
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
if (!headerRead) {
|
|
530
|
-
throw new Error('Invalid M3U8 file; no #EXTM3U header.');
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
async getFirstSegment() {
|
|
535
|
-
if (this.segments.length === 0) {
|
|
536
|
-
await this.runUpdateSegments();
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
return this.segments[0] ?? null;
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
async getSegmentAt(timestamp: number, options: SegmentRetrievalOptions) {
|
|
543
|
-
if (this.segments.length === 0) {
|
|
544
|
-
await this.runUpdateSegments();
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
// If we're skipping the live wait BUT there's no wait time, we're actually not lazy for the first iteration
|
|
548
|
-
let isLazy = !!options.skipLiveWait && this.getRemainingWaitTimeMs() > 0;
|
|
549
|
-
|
|
550
|
-
while (true) {
|
|
551
|
-
const index = binarySearchLessOrEqual(this.segments, timestamp, x => x.timestamp);
|
|
552
|
-
if (index === -1) {
|
|
553
|
-
return null;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
if (index < this.segments.length - 1 || this.streamHasEnded || isLazy) {
|
|
557
|
-
return this.segments[index]!;
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
const segment = this.segments[index]!;
|
|
561
|
-
if (timestamp < segment.timestamp + segment.duration) {
|
|
562
|
-
return segment;
|
|
563
|
-
}
|
|
564
|
-
|
|
565
|
-
await this.runUpdateSegments();
|
|
566
|
-
|
|
567
|
-
if (options.skipLiveWait) {
|
|
568
|
-
isLazy = true; // Definitely lazy in the next iteration
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
async getNextSegment(segment: Segment, options: SegmentRetrievalOptions) {
|
|
574
|
-
const index = this.segments.indexOf(segment as HlsSegment);
|
|
575
|
-
assert(index !== -1);
|
|
576
|
-
|
|
577
|
-
const nextIndex = index + 1;
|
|
578
|
-
|
|
579
|
-
// If we're skipping the live wait BUT there's no wait time, we're actually not lazy for the first iteration
|
|
580
|
-
let isLazy = !!options.skipLiveWait && this.getRemainingWaitTimeMs() > 0;
|
|
581
|
-
|
|
582
|
-
while (true) {
|
|
583
|
-
if (nextIndex < this.segments.length) {
|
|
584
|
-
return this.segments[nextIndex]!;
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
if (this.streamHasEnded || isLazy) {
|
|
588
|
-
return null;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
await this.runUpdateSegments();
|
|
592
|
-
|
|
593
|
-
if (options.skipLiveWait) {
|
|
594
|
-
isLazy = true; // Definitely lazy in the next iteration
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
async getPreviousSegment(segment: Segment) {
|
|
600
|
-
const index = this.segments.indexOf(segment as HlsSegment);
|
|
601
|
-
assert(index !== -1);
|
|
602
|
-
|
|
603
|
-
return this.segments[index - 1] ?? null;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
getInputForSegment(segment: Segment): Input {
|
|
607
|
-
const hlsSegment = segment as HlsSegment;
|
|
608
|
-
|
|
609
|
-
const cacheEntry = this.inputCache.find(x => x.segment === hlsSegment);
|
|
610
|
-
if (cacheEntry) {
|
|
611
|
-
cacheEntry.age = this.nextInputCacheAge++;
|
|
612
|
-
return cacheEntry.input;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
let initInput: Input | null = null;
|
|
616
|
-
if (hlsSegment.initSegment || hlsSegment.firstSegment) {
|
|
617
|
-
initInput = this.getInputForSegment((hlsSegment.initSegment ?? hlsSegment.firstSegment)!);
|
|
618
|
-
}
|
|
619
|
-
|
|
620
|
-
const formatOptions: InputFormatOptions = {
|
|
621
|
-
...this.input._formatOptions,
|
|
622
|
-
isobmff: {
|
|
623
|
-
...this.input._formatOptions.isobmff,
|
|
624
|
-
// Intercept calls to resolveKeyId to inject our psshBox knowledge into it
|
|
625
|
-
resolveKeyId: this.input._formatOptions.isobmff?.resolveKeyId && ((options) => {
|
|
626
|
-
if (
|
|
627
|
-
!hlsSegment.encryption
|
|
628
|
-
|| !(
|
|
629
|
-
hlsSegment.encryption.method === 'SAMPLE-AES'
|
|
630
|
-
|| hlsSegment.encryption.method === 'SAMPLE-AES-CTR'
|
|
631
|
-
)
|
|
632
|
-
|| !hlsSegment.encryption.psshBox
|
|
633
|
-
) {
|
|
634
|
-
return this.input._formatOptions.isobmff!.resolveKeyId!(options);
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
let psshBoxes = options.psshBoxes;
|
|
638
|
-
const { psshBox } = hlsSegment.encryption;
|
|
639
|
-
|
|
640
|
-
if (
|
|
641
|
-
(psshBox.keyIds === null || psshBox.keyIds.includes(options.keyId))
|
|
642
|
-
&& !psshBoxes.some(x => psshBoxesAreEqual(x, psshBox))
|
|
643
|
-
) {
|
|
644
|
-
psshBoxes = [...psshBoxes, psshBox];
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
return this.input._formatOptions.isobmff!.resolveKeyId!({ ...options, psshBoxes });
|
|
648
|
-
}),
|
|
649
|
-
},
|
|
650
|
-
};
|
|
651
|
-
|
|
652
|
-
const input = new Input({
|
|
653
|
-
source: new CustomPathedSource(
|
|
654
|
-
hlsSegment.location.path,
|
|
655
|
-
async (request) => {
|
|
656
|
-
assert(request.isRoot); // Shouldn't fail since we don't allow recursive HLS
|
|
657
|
-
|
|
658
|
-
const proxiedRequest: SourceRequest = {
|
|
659
|
-
...request,
|
|
660
|
-
isRoot: false,
|
|
661
|
-
};
|
|
662
|
-
|
|
663
|
-
let ref: SourceRef;
|
|
664
|
-
const needsSlice = hlsSegment.location.offset > 0 || hlsSegment.location.length !== null;
|
|
665
|
-
|
|
666
|
-
if (
|
|
667
|
-
!hlsSegment.encryption
|
|
668
|
-
|| hlsSegment.encryption.method === 'SAMPLE-AES'
|
|
669
|
-
|| hlsSegment.encryption.method === 'SAMPLE-AES-CTR'
|
|
670
|
-
) {
|
|
671
|
-
ref = await this.input._getSourceCached(proxiedRequest);
|
|
672
|
-
|
|
673
|
-
if (needsSlice) {
|
|
674
|
-
const slice = ref.source.slice(
|
|
675
|
-
hlsSegment.location.offset,
|
|
676
|
-
hlsSegment.location.length ?? undefined,
|
|
677
|
-
);
|
|
678
|
-
const sliceRef = slice.ref();
|
|
679
|
-
ref.free();
|
|
680
|
-
ref = sliceRef;
|
|
681
|
-
}
|
|
682
|
-
} else if (hlsSegment.encryption.method === 'AES-128') {
|
|
683
|
-
const encryption = hlsSegment.encryption;
|
|
684
|
-
assert(encryption.iv);
|
|
685
|
-
|
|
686
|
-
let ciphertextRef = await this.input._getSourceCached(proxiedRequest);
|
|
687
|
-
if (needsSlice) {
|
|
688
|
-
// Slice before decrypting
|
|
689
|
-
const slice = ciphertextRef.source.slice(
|
|
690
|
-
hlsSegment.location.offset,
|
|
691
|
-
hlsSegment.location.length ?? undefined,
|
|
692
|
-
);
|
|
693
|
-
const sliceRef = slice.ref();
|
|
694
|
-
ciphertextRef.free();
|
|
695
|
-
ciphertextRef = sliceRef;
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
const ciphertextReader = new Reader(ciphertextRef.source);
|
|
699
|
-
|
|
700
|
-
const stream = createAes128CbcDecryptStream(ciphertextReader, async () => {
|
|
701
|
-
using keyRef = await this.input._getSourceCached(
|
|
702
|
-
{ path: encryption.keyUri, isRoot: false },
|
|
703
|
-
ENCRYPTION_KEY_CACHE_GROUP,
|
|
704
|
-
);
|
|
705
|
-
const keyReader = new Reader(keyRef.source);
|
|
706
|
-
const keySlice = await keyReader.requestSlice(0, AES_128_BLOCK_SIZE);
|
|
707
|
-
if (!keySlice) {
|
|
708
|
-
throw new Error('Invalid AES-128 key; expected at least 16 bytes of data.');
|
|
709
|
-
}
|
|
710
|
-
const key = readBytes(keySlice, AES_128_BLOCK_SIZE);
|
|
711
|
-
|
|
712
|
-
return { key, iv: encryption.iv! };
|
|
713
|
-
}, () => {
|
|
714
|
-
ciphertextRef.free();
|
|
715
|
-
});
|
|
716
|
-
|
|
717
|
-
ref = new ReadableStreamSource(stream).ref();
|
|
718
|
-
} else {
|
|
719
|
-
assert(false);
|
|
720
|
-
}
|
|
721
|
-
|
|
722
|
-
return ref;
|
|
723
|
-
},
|
|
724
|
-
),
|
|
725
|
-
// Do not allow recursive HLS. Cool on paper, but allows for nasty infinite-depth request trees.
|
|
726
|
-
formats: this.input._formats.filter(x => !(x instanceof HlsInputFormat)),
|
|
727
|
-
initInput: initInput ?? undefined,
|
|
728
|
-
formatOptions,
|
|
729
|
-
});
|
|
730
|
-
|
|
731
|
-
input._onFormatDetermined = (format) => {
|
|
732
|
-
if (
|
|
733
|
-
(hlsSegment.encryption?.method === 'SAMPLE-AES' || hlsSegment.encryption?.method === 'SAMPLE-AES-CTR')
|
|
734
|
-
&& !format._isIsobmff
|
|
735
|
-
) {
|
|
736
|
-
// These methods can also be used for formats such as MPEG-TS
|
|
737
|
-
// eslint-disable-next-line @stylistic/max-len
|
|
738
|
-
// (see https://developer.apple.com/library/archive/documentation/AudioVideo/Conceptual/HLS_Sample_Encryption/Encryption/Encryption.html)
|
|
739
|
-
// but we don't support them there yet, so instead of silently decrypting nothing, we throw an error.
|
|
740
|
-
throw new Error(
|
|
741
|
-
'The SAMPLE-AES and SAMPLE-AES-CTR encryption methods are currently only supported for'
|
|
742
|
-
+ ' ISOBMFF files.',
|
|
743
|
-
);
|
|
744
|
-
}
|
|
745
|
-
};
|
|
746
|
-
|
|
747
|
-
this.inputCache.push({
|
|
748
|
-
segment: hlsSegment,
|
|
749
|
-
input,
|
|
750
|
-
age: this.nextInputCacheAge++,
|
|
751
|
-
});
|
|
752
|
-
|
|
753
|
-
const MAX_INPUT_CACHE_SIZE = 4;
|
|
754
|
-
if (this.inputCache.length > MAX_INPUT_CACHE_SIZE) {
|
|
755
|
-
const minAgeIndex = arrayArgmin(this.inputCache, x => x.age);
|
|
756
|
-
assert(minAgeIndex !== -1);
|
|
757
|
-
this.inputCache.splice(minAgeIndex, 1);
|
|
758
|
-
|
|
759
|
-
// DON'T dispose here; the Input might still be used! The source disposal will happen with GC logic
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
return input;
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
async getLiveRefreshInterval() {
|
|
766
|
-
if (this.getRemainingWaitTimeMs() === 0) {
|
|
767
|
-
await this.runUpdateSegments();
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
return this.streamHasEnded ? null : this.refreshInterval;
|
|
771
|
-
}
|
|
772
|
-
}
|