agentroam-runtime-darwin-arm64 0.2.0-preview.72 → 0.2.0-preview.73
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/manifest.json +2 -2
- package/package.json +1 -1
- package/runtime/.next/BUILD_ID +1 -1
- package/runtime/.next/app-build-manifest.json +9 -9
- package/runtime/.next/app-path-routes-manifest.json +1 -1
- package/runtime/.next/build-manifest.json +5 -5
- package/runtime/.next/prerender-manifest.json +1 -1
- package/runtime/.next/required-server-files.json +1 -1
- package/runtime/.next/routes-manifest.json +1 -1
- package/runtime/.next/server/app/_not-found/page.js +1 -1
- package/runtime/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/runtime/.next/server/app/_not-found.html +1 -1
- package/runtime/.next/server/app/_not-found.rsc +1 -1
- package/runtime/.next/server/app/api/agent/abort/route.js +1 -1
- package/runtime/.next/server/app/api/agent/answer/route.js +1 -1
- package/runtime/.next/server/app/api/agent/codex-sharing/route.js +1 -1
- package/runtime/.next/server/app/api/agent/harness/status/route.js +1 -1
- package/runtime/.next/server/app/api/agent/model/route.js +1 -1
- package/runtime/.next/server/app/api/agent/models/route.js +1 -1
- package/runtime/.next/server/app/api/agent/run/route.js +1 -1
- package/runtime/.next/server/app/api/agent/runtime-health/route.js +1 -1
- package/runtime/.next/server/app/api/agent/steer/route.js +1 -1
- package/runtime/.next/server/app/api/agent/stream/route.js +2 -2
- package/runtime/.next/server/app/api/agent-workspaces/[workspaceId]/sessions/route.js +1 -1
- package/runtime/.next/server/app/api/agent-workspaces/route.js +1 -1
- package/runtime/.next/server/app/api/auth/verify/route.js +1 -1
- package/runtime/.next/server/app/api/business/route.js +1 -1
- package/runtime/.next/server/app/api/client-logs/route.js +1 -1
- package/runtime/.next/server/app/api/collaboration/route.js +9 -9
- package/runtime/.next/server/app/api/collaboration/route.js.nft.json +1 -1
- package/runtime/.next/server/app/api/engine-threads/route.js +1 -0
- package/runtime/.next/server/app/api/engine-threads/route.js.nft.json +1 -0
- package/runtime/.next/server/app/api/engine-threads.body +1 -0
- package/runtime/.next/server/app/api/engine-threads.meta +1 -0
- package/runtime/.next/server/app/api/flow/v1/catalog/route.js +1 -1
- package/runtime/.next/server/app/api/flow/v1/runs/[runId]/cancel/route.js +1 -1
- package/runtime/.next/server/app/api/flow/v1/runs/[runId]/events/route.js +2 -2
- package/runtime/.next/server/app/api/flow/v1/runs/route.js +1 -1
- package/runtime/.next/server/app/api/flow-studio/config/route.js +1 -1
- package/runtime/.next/server/app/api/mcp/connect/route.js +1 -1
- package/runtime/.next/server/app/api/mcp/disconnect/route.js +1 -1
- package/runtime/.next/server/app/api/mcp/servers/route.js +1 -1
- package/runtime/.next/server/app/api/memory/[key]/route.js +1 -1
- package/runtime/.next/server/app/api/memory/route.js +1 -1
- package/runtime/.next/server/app/api/messaging/route.js +1 -1
- package/runtime/.next/server/app/api/messaging/route.js.nft.json +1 -1
- package/runtime/.next/server/app/api/plugins/load/route.js +1 -1
- package/runtime/.next/server/app/api/projects/[id]/route.js +1 -1
- package/runtime/.next/server/app/api/projects/check/route.js +1 -1
- package/runtime/.next/server/app/api/projects/directories/route.js +1 -1
- package/runtime/.next/server/app/api/projects/roots/route.js +1 -1
- package/runtime/.next/server/app/api/projects/route.js +1 -1
- package/runtime/.next/server/app/api/push/subscribe/route.js +2 -2
- package/runtime/.next/server/app/api/push/unsubscribe/route.js +2 -2
- package/runtime/.next/server/app/api/push/vapid/route.js +2 -2
- package/runtime/.next/server/app/api/push/vapid.body +1 -1
- package/runtime/.next/server/app/api/remote-tools/register/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/background-jobs/[jobId]/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/background-jobs/[jobId]/stop/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/background-jobs/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/changes/route.js +2 -2
- package/runtime/.next/server/app/api/sessions/[id]/engine-switches/route.js +1 -0
- package/runtime/.next/server/app/api/sessions/[id]/engine-switches/route.js.nft.json +1 -0
- package/runtime/.next/server/app/api/sessions/[id]/fork/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/fork-at/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/goals/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/handoff/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/native-goal/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/query-index/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/query-index/route.js.nft.json +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/release/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/switch-engine/route.js +1 -0
- package/runtime/.next/server/app/api/sessions/[id]/switch-engine/route.js.nft.json +1 -0
- package/runtime/.next/server/app/api/sessions/[id]/thread-goal/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/thread-history/route.js +1 -0
- package/runtime/.next/server/app/api/sessions/[id]/thread-history/route.js.nft.json +1 -0
- package/runtime/.next/server/app/api/sessions/[id]/tool-result/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/[id]/tool-result/route.js.nft.json +1 -1
- package/runtime/.next/server/app/api/sessions/parallel/route.js +1 -1
- package/runtime/.next/server/app/api/sessions/route.js +1 -1
- package/runtime/.next/server/app/api/settings/route.js +1 -1
- package/runtime/.next/server/app/api/skills/route.js +1 -1
- package/runtime/.next/server/app/api/tool-policies/[policyId]/route.js +1 -1
- package/runtime/.next/server/app/api/tool-policies/route.js +1 -1
- package/runtime/.next/server/app/api/tools/route.js +1 -1
- package/runtime/.next/server/app/api/update/check/route.js +1 -1
- package/runtime/.next/server/app/api/update/install/route.js +1 -1
- package/runtime/.next/server/app/api/update/status/route.js +1 -1
- package/runtime/.next/server/app/api/web-auth/login/route.js +1 -1
- package/runtime/.next/server/app/api/web-auth/logout/route.js +1 -1
- package/runtime/.next/server/app/api/web-auth/revoke-all/route.js +1 -1
- package/runtime/.next/server/app/api/web-auth/setup/route.js +1 -1
- package/runtime/.next/server/app/api/web-auth/status/route.js +1 -1
- package/runtime/.next/server/app/api/web-console/bootstrap/route.js +1 -1
- package/runtime/.next/server/app/api/web-console/computer-settings/route.js +1 -1
- package/runtime/.next/server/app/api/web-console/computers/route.js +1 -1
- package/runtime/.next/server/app/api/web-console/device-state/route.js +1 -1
- package/runtime/.next/server/app/api/web-console/history/route.js +1 -1
- package/runtime/.next/server/app/api/web-console/preferences/route.js +1 -1
- package/runtime/.next/server/app/web/page.js +4 -4
- package/runtime/.next/server/app/web/page_client-reference-manifest.js +1 -1
- package/runtime/.next/server/app-paths-manifest.json +47 -43
- package/runtime/.next/server/chunks/1614.js +1 -1
- package/runtime/.next/server/chunks/5303.js +1 -1
- package/runtime/.next/server/chunks/5762.js +18 -0
- package/runtime/.next/server/chunks/6977.js +1 -1
- package/runtime/.next/server/middleware-build-manifest.js +1 -1
- package/runtime/.next/server/pages/404.html +1 -1
- package/runtime/.next/server/pages/500.html +1 -1
- package/runtime/.next/server/server-reference-manifest.json +1 -1
- package/runtime/.next/static/chunks/333-9881c3d2c558a28d.js +1 -0
- package/runtime/.next/static/chunks/app/web/{error-36b287ca40eab041.js → error-077f54cd48d5a6c2.js} +1 -1
- package/runtime/.next/static/chunks/app/web/layout-ebfc3a207c355453.js +1 -0
- package/runtime/.next/static/chunks/app/web/page-b456468be8e8e8fa.js +1 -0
- package/runtime/.next/static/chunks/{main-94a733696db11b91.js → main-93c452d518291b1c.js} +1 -1
- package/runtime/.next/static/chunks/{main-app-07b9ccbb642d9b9d.js → main-app-20135c1d85680f16.js} +1 -1
- package/runtime/lib/web-app-cache.mjs +6 -0
- package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/MacOS/agentroam-remote-desktop +0 -0
- package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/Resources/agentroam-component.json +1 -1
- package/runtime/native/Support.noindex/AgentRoam Remote Desktop.app/Contents/_CodeSignature/CodeResources +2 -2
- package/runtime/node_modules/.package-lock.json +30 -30
- package/runtime/node_modules/@agent/core/dist/index.js +874 -128
- package/runtime/node_modules/@agent/messaging/dist/assets/wecom/reader.py +185 -15
- package/runtime/node_modules/@agent/messaging/dist/assets/wecom//351/235/231/346/200/201/350/265/204/346/226/231/350/257/273/345/217/226/350/257/264/346/230/216.md +34 -0
- package/runtime/node_modules/@agent/native-runtime/dist/index.js +171 -34
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/README.md +1 -1
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/bridge.mjs +104 -84
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/browser-sdk.js +78 -67
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-0a66n3e7.mjs +16 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-0bmnpbz2.mjs +45 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-9je8ee1j.mjs +16 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-ds2jqcef.mjs +19 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-fxa8mwbm.mjs +18 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-gbbw9cgm.mjs +17 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-msnqqcc2.mjs +42 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-wadgcjfh.mjs +18 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-x20yarwf.mjs +17 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-x3hc9abc.mjs +17 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-zg882d22.mjs +16 -0
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core.mjs +11 -11
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.json +23 -23
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/manifest.zst.json +27 -27
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/package.json +21 -14
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/sdk.mjs +96 -85
- package/runtime/node_modules/caniuse-lite/data/agents.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/browserVersions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/aac.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/abortcontroller.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ac3-ec3.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/accelerometer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/addeventlistener.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/alternate-stylesheet.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ambient-light.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/apng.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/array-find-index.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/array-find.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/array-flat.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/array-includes.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/arrow-functions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/asmjs.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/async-clipboard.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/async-functions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/atob-btoa.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/audio-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/audio.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/audiotracks.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/autofocus.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/auxclick.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/av1.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/av2.js +1 -0
- package/runtime/node_modules/caniuse-lite/data/features/avif.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/background-attachment.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/background-clip-text.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/background-img-opts.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/background-position-x-y.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/background-repeat-round-space.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/background-sync.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/battery-status.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/beacon.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/beforeafterprint.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/bigint.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/blobbuilder.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/bloburls.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/border-image.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/border-radius.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/broadcastchannel.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/brotli.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/calc.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/canvas-blending.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/canvas-text.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/canvas.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ch-unit.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/chacha20-poly1305.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/channel-messaging.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/childnode-remove.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/classlist.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/client-hints-dpr-width-viewport.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/clipboard.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/colr-v1.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/colr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/comparedocumentposition.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/console-basic.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/console-time.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/const.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/constraint-validation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/contenteditable.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/contentsecuritypolicy.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/contentsecuritypolicy2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/cookie-store-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/cors.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/createimagebitmap.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/credential-management.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/cross-document-view-transitions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/cryptography.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-all.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-anchor-positioning.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-animation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-any-link.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-appearance.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-at-counter-style.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-autofill.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-backdrop-filter.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-background-offsets.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-backgroundblendmode.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-boxdecorationbreak.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-boxshadow.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-canvas.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-caret-color.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-cascade-layers.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-cascade-scope.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-case-insensitive.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-clip-path.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-color-adjust.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-color-function.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-conic-gradients.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-container-queries-style.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-container-queries.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-container-query-units.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-containment.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-content-visibility.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-counters.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-crisp-edges.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-cross-fade.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-default-pseudo.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-descendant-gtgt.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-deviceadaptation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-dir-pseudo.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-display-contents.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-element-function.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-env-function.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-exclusions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-featurequeries.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-file-selector-button.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-filter-function.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-filters.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-first-letter.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-first-line.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-fixed.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-focus-visible.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-focus-within.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-font-palette.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-font-rendering-controls.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-font-stretch.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-gencontent.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-gradients.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-grid-animation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-grid-lanes.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-grid.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-hanging-punctuation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-has.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-hyphens.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-if.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-image-orientation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-image-set.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-in-out-of-range.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-indeterminate-pseudo.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-initial-letter.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-initial-value.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-lch-lab.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-letter-spacing.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-line-clamp.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-logical-props.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-marker-pseudo.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-masks.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-matches-pseudo.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-math-functions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-media-interaction.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-media-range-syntax.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-media-resolution.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-media-scripting.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-mediaqueries.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-mixblendmode.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-module-scripts.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-motion-paths.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-namespaces.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-nesting.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-not-sel-list.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-nth-child-of.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-opacity.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-optional-pseudo.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-overflow-anchor.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-overflow-overlay.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-overflow.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-overscroll-behavior.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-page-break.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-paged-media.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-paint-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-placeholder-shown.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-placeholder.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-print-color-adjust.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-read-only-write.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-rebeccapurple.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-reflections.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-regions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-relative-colors.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-repeating-gradients.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-resize.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-revert-value.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-rrggbbaa.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-scroll-behavior.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-scrollbar.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-sel2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-sel3.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-selection.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-shapes.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-snappoints.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-sticky.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-subgrid.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-supports-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-table.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-text-align-last.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-text-box-trim.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-text-indent.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-text-justify.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-text-orientation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-text-spacing.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-text-wrap-balance.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-textshadow.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-touch-action.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-transitions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-unicode-bidi.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-unset-value.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-variables.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-when-else.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-widows-orphans.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-width-stretch.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-writing-mode.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css-zoom.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css3-attr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css3-boxsizing.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css3-colors.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css3-cursors-grab.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css3-cursors-newer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css3-cursors.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/css3-tabsize.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/currentcolor.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/custom-elements.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/custom-elementsv1.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/customevent.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/customizable-select.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/datalist.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dataset.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/datauri.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/date-tolocaledatestring.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/declarative-shadow-dom.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/decorators.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/details.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/deviceorientation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/devicepixelratio.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dialog.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dispatchevent.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dnssec.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/do-not-track.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/document-currentscript.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/document-evaluate-xpath.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/document-execcommand.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/document-policy.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/document-scrollingelement.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/documenthead.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dom-manip-convenience.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dom-range.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/domcontentloaded.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dommatrix.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/download.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/dragndrop.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/element-closest.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/element-from-point.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/element-scroll-methods.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/eme.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/eot.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es5.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es6-class.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es6-generators.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es6-module-dynamic-import.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es6-module.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es6-number.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es6-string-includes.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/es6.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/eventsource.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/extended-system-fonts.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/feature-policy.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/fetch.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/fieldset-disabled.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/fileapi.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/filereader.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/filereadersync.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/filesystem.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/flac.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/flexbox-gap.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/flexbox.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/flow-root.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/focusin-focusout-events.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-family-system-ui.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-feature.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-kerning.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-loading.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-size-adjust.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-smooth.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-unicode-range.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-variant-alternates.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/font-variant-numeric.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/fontface.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/form-attribute.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/form-submit-attributes.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/form-validation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/forms.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/fullscreen.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/gamepad.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/geolocation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/getboundingclientrect.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/getcomputedstyle.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/getelementsbyclassname.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/getrandomvalues.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/gyroscope.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/hardwareconcurrency.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/hashchange.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/heif.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/hevc.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/hidden.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/high-resolution-time.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/history.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/html-media-capture.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/html5semantic.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/http-live-streaming.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/http2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/http3.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/iframe-sandbox.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/iframe-seamless.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/iframe-srcdoc.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/imagecapture.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ime.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/img-naturalwidth-naturalheight.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/import-maps.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/imports.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/indeterminate-checkbox.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/indexeddb.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/indexeddb2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/inline-block.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/innertext.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-autocomplete-onoff.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-color.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-datetime.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-email-tel-url.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-event.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-file-accept.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-file-directory.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-file-multiple.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-inputmode.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-minlength.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-number.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-pattern.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-placeholder.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-range.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-search.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/input-selection.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/insert-adjacent.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/insertadjacenthtml.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/internationalization.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/intersectionobserver-v2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/intersectionobserver.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/intl-pluralrules.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/intrinsic-width.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/jpeg2000.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/jpegxl.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/jpegxr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/js-regexp-lookbehind.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/json.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/justify-content-space-evenly.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/kerning-pairs-ligatures.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/keyboardevent-charcode.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/keyboardevent-code.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/keyboardevent-getmodifierstate.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/keyboardevent-key.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/keyboardevent-location.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/keyboardevent-which.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/lazyload.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/let.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-icon-png.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-icon-svg.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-rel-dns-prefetch.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-rel-modulepreload.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-rel-preconnect.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-rel-prefetch.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-rel-preload.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/link-rel-prerender.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/loading-lazy-attr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/loading-lazy-media.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/localecompare.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/magnetometer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/matchesselector.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/matchmedia.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mathml.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/maxlength.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-css-backdrop-pseudo-element.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate-override.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-isolate.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-css-unicode-bidi-plaintext.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-text-decoration-color.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-text-decoration-line.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-text-decoration-shorthand.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mdn-text-decoration-style.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/media-fragments.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mediacapture-fromelement.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mediarecorder.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mediasource.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/menu.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/meta-theme-color.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/meter.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/midi.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/minmaxwh.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mp3.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mpeg-dash.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mpeg4.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/multibackgrounds.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/multicolumn.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mutation-events.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/mutationobserver.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/namevalue-storage.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/native-filesystem-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/nav-timing.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/netinfo.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/notifications.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/object-entries.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/object-fit.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/object-observe.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/object-values.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/objectrtc.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/offline-apps.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/offscreencanvas.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ogg-vorbis.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ogv.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ol-reversed.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/once-event-listener.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/online-status.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/opus.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/orientation-sensor.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/outline.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/pad-start-end.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/page-transition-events.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/pagevisibility.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/passive-event-listener.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/passkeys.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/passwordrules.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/path2d.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/payment-request.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/pdf-viewer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/permissions-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/permissions-policy.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/picture-in-picture.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/picture.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ping.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/png-alpha.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/pointer-events.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/pointer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/pointerlock.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/portals.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/prefers-color-scheme.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/prefers-reduced-motion.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/progress.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/promise-finally.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/promises.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/proximity.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/proxy.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/publickeypinning.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/push-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/queryselector.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/readonly-attr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/referrer-policy.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/registerprotocolhandler.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/rel-noopener.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/rel-noreferrer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/rellist.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/rem.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/requestanimationframe.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/requestidlecallback.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/resizeobserver.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/resource-timing.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/rest-parameters.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/rtcpeerconnection.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ruby.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/run-in.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/same-site-cookie-attribute.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/screen-orientation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/script-async.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/script-defer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/scrollintoview.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/scrollintoviewifneeded.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/sdch.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/selection-api.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/server-timing.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/serviceworkers.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/setimmediate.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/shadowdom.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/shadowdomv1.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/sharedarraybuffer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/sharedworkers.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/sni.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/spdy.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/speech-recognition.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/speech-synthesis.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/spellcheck-attribute.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/sql-storage.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/srcset.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/stream.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/streams.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/stricttransportsecurity.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/style-scoped.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/subresource-bundling.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/subresource-integrity.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-css.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-filters.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-fonts.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-fragment.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-html.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-html5.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-img.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg-smil.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/svg.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/sxg.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/tabindex-attr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/template-literals.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/template.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/temporal.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/testfeat.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/text-decoration.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/text-emphasis.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/text-overflow.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/text-size-adjust.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/text-stroke.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/textcontent.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/textencoder.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/tls1-1.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/tls1-2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/tls1-3.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/touch.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/transforms2d.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/transforms3d.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/trusted-types.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/ttf.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/typedarrays.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/u2f.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/unhandledrejection.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/upgradeinsecurerequests.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/url-scroll-to-text-fragment.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/url.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/urlsearchparams.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/use-strict.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/user-select-none.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/user-timing.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/variable-fonts.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/vector-effect.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/vibration.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/video.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/videotracks.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/view-transitions.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/viewport-unit-variants.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/viewport-units.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wai-aria.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wake-lock.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-bigint.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-bulk-memory.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-extended-const.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-gc.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-multi-memory.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-multi-value.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-mutable-globals.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-nontrapping-fptoint.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-reference-types.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-relaxed-simd.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-signext.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-simd.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-tail-calls.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm-threads.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wasm.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wav.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wbr-element.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/web-animation.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/web-app-manifest.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/web-bluetooth.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/web-serial.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/web-share.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webauthn.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webcodecs.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webgl.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webgl2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webgpu.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webhid.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webkit-user-drag.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webm.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webnfc.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webp.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/websockets.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webtransport.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webusb.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webvr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webvtt.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webworkers.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/webxr.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/will-change.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/woff.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/woff2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/word-break.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/wordwrap.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/x-doc-messaging.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/x-frame-options.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/xhr2.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/xhtml.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/xhtmlsmil.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/xml-serializer.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features/zstd.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/features.js +1 -1
- package/runtime/node_modules/caniuse-lite/data/versionGroups.js +1 -1
- package/runtime/node_modules/caniuse-lite/package.json +1 -1
- package/runtime/node_modules/graceful-fs/LICENSE.md +55 -0
- package/runtime/node_modules/graceful-fs/package.json +3 -4
- package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.cjs +4312 -2466
- package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.min.cjs +30 -24
- package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.min.mjs +30 -24
- package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.mjs +4312 -2466
- package/runtime/node_modules/mediabunny/dist/bundles/mediabunny.node.cjs +4312 -2466
- package/runtime/node_modules/mediabunny/dist/modules/shared/aac-misc.js +202 -5
- package/runtime/node_modules/mediabunny/dist/modules/shared/bitstream.js +4 -3
- package/runtime/node_modules/mediabunny/dist/modules/shared/dts-misc.js +7 -8
- package/runtime/node_modules/mediabunny/dist/modules/shared/mp3-misc.js +7 -1
- package/runtime/node_modules/mediabunny/dist/modules/src/adts/adts-demuxer.js +60 -41
- package/runtime/node_modules/mediabunny/dist/modules/src/adts/adts-muxer.js +12 -8
- package/runtime/node_modules/mediabunny/dist/modules/src/adts/adts-reader.js +39 -5
- package/runtime/node_modules/mediabunny/dist/modules/src/codec-data.js +220 -48
- package/runtime/node_modules/mediabunny/dist/modules/src/codec.js +80 -54
- package/runtime/node_modules/mediabunny/dist/modules/src/conversion.js +144 -96
- package/runtime/node_modules/mediabunny/dist/modules/src/decode.js +14 -8
- package/runtime/node_modules/mediabunny/dist/modules/src/encode.js +22 -9
- package/runtime/node_modules/mediabunny/dist/modules/src/flac/flac-demuxer.js +16 -13
- package/runtime/node_modules/mediabunny/dist/modules/src/flac/flac-misc.js +3 -2
- package/runtime/node_modules/mediabunny/dist/modules/src/flac/flac-muxer.js +40 -26
- package/runtime/node_modules/mediabunny/dist/modules/src/hls/hls-demuxer.js +129 -115
- package/runtime/node_modules/mediabunny/dist/modules/src/hls/hls-muxer.js +392 -326
- package/runtime/node_modules/mediabunny/dist/modules/src/hls/hls-segmented-input.js +27 -24
- package/runtime/node_modules/mediabunny/dist/modules/src/id3.js +111 -33
- package/runtime/node_modules/mediabunny/dist/modules/src/input-format.js +81 -149
- package/runtime/node_modules/mediabunny/dist/modules/src/input-track.js +48 -15
- package/runtime/node_modules/mediabunny/dist/modules/src/input.js +37 -15
- package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-boxes.js +104 -21
- package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-demuxer.js +347 -216
- package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-misc.js +11 -2
- package/runtime/node_modules/mediabunny/dist/modules/src/isobmff/isobmff-muxer.js +257 -163
- package/runtime/node_modules/mediabunny/dist/modules/src/matroska/ebml.js +93 -32
- package/runtime/node_modules/mediabunny/dist/modules/src/matroska/matroska-demuxer.js +193 -99
- package/runtime/node_modules/mediabunny/dist/modules/src/matroska/matroska-muxer.js +129 -116
- package/runtime/node_modules/mediabunny/dist/modules/src/media-sink.js +216 -136
- package/runtime/node_modules/mediabunny/dist/modules/src/media-source.js +237 -129
- package/runtime/node_modules/mediabunny/dist/modules/src/metadata.js +6 -0
- package/runtime/node_modules/mediabunny/dist/modules/src/misc.js +96 -49
- package/runtime/node_modules/mediabunny/dist/modules/src/mp3/mp3-demuxer.js +101 -29
- package/runtime/node_modules/mediabunny/dist/modules/src/mp3/mp3-muxer.js +18 -9
- package/runtime/node_modules/mediabunny/dist/modules/src/mp3/mp3-reader.js +45 -2
- package/runtime/node_modules/mediabunny/dist/modules/src/mp3/mp3-writer.js +9 -2
- package/runtime/node_modules/mediabunny/dist/modules/src/mpeg-ts/mpeg-ts-demuxer.js +253 -254
- package/runtime/node_modules/mediabunny/dist/modules/src/mpeg-ts/mpeg-ts-misc.js +5 -10
- package/runtime/node_modules/mediabunny/dist/modules/src/mpeg-ts/mpeg-ts-muxer.js +69 -43
- package/runtime/node_modules/mediabunny/dist/modules/src/muxer.js +11 -1
- package/runtime/node_modules/mediabunny/dist/modules/src/ogg/ogg-demuxer.js +89 -57
- package/runtime/node_modules/mediabunny/dist/modules/src/ogg/ogg-misc.js +1 -1
- package/runtime/node_modules/mediabunny/dist/modules/src/ogg/ogg-muxer.js +183 -73
- package/runtime/node_modules/mediabunny/dist/modules/src/output-format.js +70 -5
- package/runtime/node_modules/mediabunny/dist/modules/src/output.js +54 -29
- package/runtime/node_modules/mediabunny/dist/modules/src/packet.js +1 -1
- package/runtime/node_modules/mediabunny/dist/modules/src/resample.js +1 -0
- package/runtime/node_modules/mediabunny/dist/modules/src/sample.js +85 -42
- package/runtime/node_modules/mediabunny/dist/modules/src/segmented-input.js +40 -21
- package/runtime/node_modules/mediabunny/dist/modules/src/source.js +188 -88
- package/runtime/node_modules/mediabunny/dist/modules/src/subtitles.js +15 -9
- package/runtime/node_modules/mediabunny/dist/modules/src/target.js +63 -39
- package/runtime/node_modules/mediabunny/dist/modules/src/tsconfig.tsbuildinfo +1 -1
- package/runtime/node_modules/mediabunny/dist/modules/src/version.js +1 -1
- package/runtime/node_modules/mediabunny/dist/modules/src/wave/wave-demuxer.js +77 -41
- package/runtime/node_modules/mediabunny/dist/modules/src/wave/wave-muxer.js +83 -20
- package/runtime/node_modules/mediabunny/dist/modules/src/writer.js +4 -1
- package/runtime/node_modules/mediabunny/package.json +5 -4
- package/runtime/node_modules/mediabunny/src/adts/adts-demuxer.ts +76 -47
- package/runtime/node_modules/mediabunny/src/adts/adts-muxer.ts +13 -11
- package/runtime/node_modules/mediabunny/src/adts/adts-reader.ts +54 -5
- package/runtime/node_modules/mediabunny/src/codec-data.ts +249 -52
- package/runtime/node_modules/mediabunny/src/codec.ts +85 -58
- package/runtime/node_modules/mediabunny/src/conversion.ts +161 -94
- package/runtime/node_modules/mediabunny/src/decode.ts +15 -8
- package/runtime/node_modules/mediabunny/src/encode.ts +23 -14
- package/runtime/node_modules/mediabunny/src/flac/flac-demuxer.ts +21 -20
- package/runtime/node_modules/mediabunny/src/flac/flac-misc.ts +3 -2
- package/runtime/node_modules/mediabunny/src/flac/flac-muxer.ts +44 -29
- package/runtime/node_modules/mediabunny/src/hls/hls-demuxer.ts +161 -129
- package/runtime/node_modules/mediabunny/src/hls/hls-muxer.ts +453 -379
- package/runtime/node_modules/mediabunny/src/hls/hls-segmented-input.ts +35 -24
- package/runtime/node_modules/mediabunny/src/id3.ts +123 -35
- package/runtime/node_modules/mediabunny/src/input-format.ts +86 -170
- package/runtime/node_modules/mediabunny/src/input-track.ts +57 -17
- package/runtime/node_modules/mediabunny/src/input.ts +41 -17
- package/runtime/node_modules/mediabunny/src/isobmff/isobmff-boxes.ts +118 -21
- package/runtime/node_modules/mediabunny/src/isobmff/isobmff-demuxer.ts +435 -253
- package/runtime/node_modules/mediabunny/src/isobmff/isobmff-misc.ts +13 -4
- package/runtime/node_modules/mediabunny/src/isobmff/isobmff-muxer.ts +318 -191
- package/runtime/node_modules/mediabunny/src/matroska/ebml.ts +91 -38
- package/runtime/node_modules/mediabunny/src/matroska/matroska-demuxer.ts +212 -103
- package/runtime/node_modules/mediabunny/src/matroska/matroska-muxer.ts +155 -148
- package/runtime/node_modules/mediabunny/src/media-sink.ts +229 -146
- package/runtime/node_modules/mediabunny/src/media-source.ts +263 -141
- package/runtime/node_modules/mediabunny/src/metadata.ts +7 -1
- package/runtime/node_modules/mediabunny/src/misc.ts +122 -54
- package/runtime/node_modules/mediabunny/src/mp3/mp3-demuxer.ts +121 -33
- package/runtime/node_modules/mediabunny/src/mp3/mp3-muxer.ts +16 -12
- package/runtime/node_modules/mediabunny/src/mp3/mp3-reader.ts +66 -2
- package/runtime/node_modules/mediabunny/src/mp3/mp3-writer.ts +11 -2
- package/runtime/node_modules/mediabunny/src/mpeg-ts/mpeg-ts-demuxer.ts +295 -325
- package/runtime/node_modules/mediabunny/src/mpeg-ts/mpeg-ts-misc.ts +5 -14
- package/runtime/node_modules/mediabunny/src/mpeg-ts/mpeg-ts-muxer.ts +90 -51
- package/runtime/node_modules/mediabunny/src/muxer.ts +14 -1
- package/runtime/node_modules/mediabunny/src/ogg/ogg-demuxer.ts +92 -62
- package/runtime/node_modules/mediabunny/src/ogg/ogg-misc.ts +1 -1
- package/runtime/node_modules/mediabunny/src/ogg/ogg-muxer.ts +203 -88
- package/runtime/node_modules/mediabunny/src/output-format.ts +91 -7
- package/runtime/node_modules/mediabunny/src/output.ts +57 -30
- package/runtime/node_modules/mediabunny/src/packet.ts +1 -1
- package/runtime/node_modules/mediabunny/src/resample.ts +1 -0
- package/runtime/node_modules/mediabunny/src/sample.ts +105 -51
- package/runtime/node_modules/mediabunny/src/segmented-input.ts +50 -24
- package/runtime/node_modules/mediabunny/src/source.ts +227 -97
- package/runtime/node_modules/mediabunny/src/subtitles.ts +16 -9
- package/runtime/node_modules/mediabunny/src/target.ts +65 -41
- package/runtime/node_modules/mediabunny/src/version.ts +1 -1
- package/runtime/node_modules/mediabunny/src/wave/wave-demuxer.ts +103 -56
- package/runtime/node_modules/mediabunny/src/wave/wave-muxer.ts +88 -21
- package/runtime/node_modules/mediabunny/src/writer.ts +4 -1
- package/runtime/node_modules/sanitize-html/index.js +50 -20
- package/runtime/node_modules/sanitize-html/node_modules/postcss/lib/css-syntax-error.js +6 -4
- package/runtime/node_modules/sanitize-html/node_modules/postcss/lib/map-generator.js +12 -2
- package/runtime/node_modules/sanitize-html/node_modules/postcss/lib/processor.js +1 -1
- package/runtime/node_modules/sanitize-html/node_modules/postcss/lib/tokenize.js +6 -13
- package/runtime/node_modules/sanitize-html/node_modules/postcss/package.json +1 -1
- package/runtime/node_modules/sanitize-html/package.json +1 -1
- package/runtime/node_modules/ws/lib/websocket-server.js +3 -0
- package/runtime/node_modules/ws/lib/websocket.js +38 -7
- package/runtime/node_modules/ws/package.json +1 -1
- package/runtime/package-lock.json +54 -54
- package/runtime/server.js +1 -1
- package/runtime/webapp/dist/assets/AIHubView-BQKD1oRa.js +1 -0
- package/runtime/webapp/dist/assets/AgentManager-eTCpLsYc.js +3 -0
- package/runtime/webapp/dist/assets/{AiHubPane-DBuhzcId.js → AiHubPane-LnfAKHOH.js} +1 -1
- package/runtime/webapp/dist/assets/App-Cm4c_ukZ.js +177 -0
- package/runtime/webapp/dist/assets/BrowserLivePanel-BvXuMltx.js +56 -0
- package/runtime/webapp/dist/assets/CollaborationCreateDialog-0xwWJVAB.js +1 -0
- package/runtime/webapp/dist/assets/CollaborationDashboard-CDuqbRZZ.js +1 -0
- package/runtime/webapp/dist/assets/CollaborationPage-BLv1g5Ke.js +6 -0
- package/runtime/webapp/dist/assets/{FilePreview-CkY_jNql.js → FilePreview-DIsjFx4f.js} +9 -14
- package/runtime/webapp/dist/assets/FileTree-BJe67ELr.js +11 -0
- package/runtime/webapp/dist/assets/FileWorkspaceDrawer-PtNe21oN.js +1 -0
- package/runtime/webapp/dist/assets/FlowStudioPane-DGv9czqf.js +5 -0
- package/runtime/webapp/dist/assets/LSPServerList-DZkbA5NX.js +4 -0
- package/runtime/webapp/dist/assets/MCPServerList-DLJUT0j8.js +8 -0
- package/runtime/webapp/dist/assets/MemoryViewer-B4synV6O.js +1 -0
- package/runtime/webapp/dist/assets/RemoteDesktopPage-Db8WVCjo.js +1 -0
- package/runtime/webapp/dist/assets/{RunningSessionsIcon-BbgfV3Y9.js → RunningSessionsIcon-DRhO-CVq.js} +1 -1
- package/runtime/webapp/dist/assets/SessionDashboard-C6En31sg.js +21 -0
- package/runtime/webapp/dist/assets/{SessionDashboardBridge-DEUcW6SI.js → SessionDashboardBridge--lNIU1u6.js} +1 -1
- package/runtime/webapp/dist/assets/SettingsPanel-mJ5Ggwlp.js +4 -0
- package/runtime/webapp/dist/assets/SkillManager-C_mt62Rc.js +1 -0
- package/runtime/webapp/dist/assets/{TerminalPane-BLqkE0Sr.js → TerminalPane-D121NsSc.js} +2 -2
- package/runtime/webapp/dist/assets/{abnfDiagram-VCTEODGH-DeYUTKWn.js → abnfDiagram-VCTEODGH-CSTtPfA-.js} +1 -1
- package/runtime/webapp/dist/assets/arc-pE43fNGK.js +1 -0
- package/runtime/webapp/dist/assets/{architectureDiagram-5GKGNRK7-CuFeRT7v.js → architectureDiagram-5GKGNRK7-BlExjf1L.js} +1 -1
- package/runtime/webapp/dist/assets/{arrow-right-CBoNjLZc.js → arrow-right-CED95s1t.js} +1 -1
- package/runtime/webapp/dist/assets/{artifact-links-DPEFlv87.js → artifact-links-BWD7xpfV.js} +1 -1
- package/runtime/webapp/dist/assets/{blockDiagram-I7D4REHJ-CSQFiZW1.js → blockDiagram-I7D4REHJ-4pzU0s_A.js} +1 -1
- package/runtime/webapp/dist/assets/{c4Diagram-7LVT6UL2-Dp0yNsZN.js → c4Diagram-7LVT6UL2-DBoJHf0c.js} +1 -1
- package/runtime/webapp/dist/assets/channel-C029kbz3.js +1 -0
- package/runtime/webapp/dist/assets/{chevron-down-DqV6YJGE.js → chevron-down-DuxUTH_N.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-2Q5K7J3B-HGRodfIv.js → chunk-2Q5K7J3B-Bu1Sc-w9.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-5VM5RSS4-CBrQNVFD.js → chunk-5VM5RSS4-COwAF0w2.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-F27PBJKO-DB6uGYpD.js → chunk-F27PBJKO-FLl8DRP2.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-IMKFNOWR-Dedjjkdt.js → chunk-IMKFNOWR-BL8M_b-w.js} +3 -3
- package/runtime/webapp/dist/assets/{chunk-JWPE2WC7-CFqPSTPh.js → chunk-JWPE2WC7-Bm0OpXaO.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-POPQ4Y6H-3acvfPpy.js → chunk-POPQ4Y6H-Be_mjw7_.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-SVP7TREG-Bn9tMxLG.js → chunk-SVP7TREG-Dijp9l1U.js} +3 -3
- package/runtime/webapp/dist/assets/{chunk-TICWLB2K-BjPHa9Ep.js → chunk-TICWLB2K-CJDtjon2.js} +1 -1
- package/runtime/webapp/dist/assets/{chunk-XXDRQBXY-pSIpAtkj.js → chunk-XXDRQBXY-BLWOMtvS.js} +1 -1
- package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-DjlcT9EO.js +1 -0
- package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-DjlcT9EO.js +1 -0
- package/runtime/webapp/dist/assets/{codeSyntax-Bs__ElW1.js → codeSyntax-BnmCqa8x.js} +3 -3
- package/runtime/webapp/dist/assets/{collaboration-xcnZxf7i.js → collaboration-B0sTZDns.js} +1 -1
- package/runtime/webapp/dist/assets/composer-file-routing-BrWLenKF.js +11 -0
- package/runtime/webapp/dist/assets/{cose-bilkent-JH36ORCC-Cc1ea8TO.js → cose-bilkent-JH36ORCC-cA67vOKJ.js} +1 -1
- package/runtime/webapp/dist/assets/{cynefin-OW5HDTMX-B2IeHhVa.js → cynefin-OW5HDTMX-BPeSii-l.js} +1 -1
- package/runtime/webapp/dist/assets/{cynefinDiagram-5FMLGOSQ-BeZhQnWx.js → cynefinDiagram-5FMLGOSQ-B9f094pg.js} +2 -2
- package/runtime/webapp/dist/assets/{dagre-GXQ25YYZ-DF08UpVJ.js → dagre-GXQ25YYZ-C_xejuzH.js} +2 -2
- package/runtime/webapp/dist/assets/{diagram-S7CK7UJ4-Cx_tPRJp.js → diagram-S7CK7UJ4-0f77MjI_.js} +1 -1
- package/runtime/webapp/dist/assets/{diagram-UQ7AKVKN-Cb6fFvJt.js → diagram-UQ7AKVKN-B7qqB6UY.js} +1 -1
- package/runtime/webapp/dist/assets/{diagram-VSXAHHWV-CvuweBru.js → diagram-VSXAHHWV-eS0I06tX.js} +1 -1
- package/runtime/webapp/dist/assets/{diagram-VX7I27RA-BYouVdoe.js → diagram-VX7I27RA-BzaPvwZL.js} +1 -1
- package/runtime/webapp/dist/assets/{diagram-Z3DM3KII-DRBjsxYw.js → diagram-Z3DM3KII-C_EAUyuK.js} +1 -1
- package/runtime/webapp/dist/assets/download-DNa5KRtu.js +6 -0
- package/runtime/webapp/dist/assets/{ebnfDiagram-PWID7BFC-CxHOPzwg.js → ebnfDiagram-PWID7BFC-CpSazgmq.js} +1 -1
- package/runtime/webapp/dist/assets/{erDiagram-RLTQ6QDP-tUK9K8ZD.js → erDiagram-RLTQ6QDP-BbAq4dnX.js} +1 -1
- package/runtime/webapp/dist/assets/{external-link-DpecT7Vm.js → external-link-D0ZU8y72.js} +1 -1
- package/runtime/webapp/dist/assets/{file-types-CfFmgvNi.js → file-types-Bv8xIlsm.js} +9 -4
- package/runtime/webapp/dist/assets/{flowDiagram-HODETNUW-BFd8shzR.js → flowDiagram-HODETNUW-FxtiM8S_.js} +5 -5
- package/runtime/webapp/dist/assets/{ganttDiagram-EL5Y4UJY-Dt3qJ3nR.js → ganttDiagram-EL5Y4UJY-vbQAmYA_.js} +2 -2
- package/runtime/webapp/dist/assets/{gitGraphDiagram-WWUBYQGX-L22kw422.js → gitGraphDiagram-WWUBYQGX-CoH-vS6p.js} +1 -1
- package/runtime/webapp/dist/assets/{image-plus-Bzr6FXFm.js → image-plus-CMQPwQ1a.js} +1 -1
- package/runtime/webapp/dist/assets/{index-C165MF0E.js → index-B_qrzBSm.js} +48 -48
- package/runtime/webapp/dist/assets/index-DFMBt4EW.css +1 -0
- package/runtime/webapp/dist/assets/{infoDiagram-27XIBGKW-DBrWW4hh.js → infoDiagram-27XIBGKW-BhQjKjwI.js} +1 -1
- package/runtime/webapp/dist/assets/{ishikawaDiagram-5VMMS53U-BiQERurn.js → ishikawaDiagram-5VMMS53U-Do6164Lq.js} +1 -1
- package/runtime/webapp/dist/assets/{journeyDiagram-3NMN7TZE-CbuOAsvy.js → journeyDiagram-3NMN7TZE-DU9terNG.js} +1 -1
- package/runtime/webapp/dist/assets/{kanban-definition-UXKFOSKX-BS0cpYtD.js → kanban-definition-UXKFOSKX-PIi78bMz.js} +5 -5
- package/runtime/webapp/dist/assets/layout-kIcBLq12.js +1 -0
- package/runtime/webapp/dist/assets/{linear-DOnDPVCl.js → linear-DuoGw6Ne.js} +1 -1
- package/runtime/webapp/dist/assets/{loader-circle-DzxGeGeP.js → loader-circle-CkN6rr8Q.js} +1 -1
- package/runtime/webapp/dist/assets/{mermaid.core-CIbk74HW.js → mermaid.core-CMSVAwDO.js} +6 -6
- package/runtime/webapp/dist/assets/{mindmap-definition-YA3MSWOX-BXA3aIva.js → mindmap-definition-YA3MSWOX-BqXezPt8.js} +1 -1
- package/runtime/webapp/dist/assets/page-BJynASYd.js +91 -0
- package/runtime/webapp/dist/assets/{pegDiagram-XKGWAZYB-oUTq5zGX.js → pegDiagram-XKGWAZYB-CfhSiKuL.js} +1 -1
- package/runtime/webapp/dist/assets/pieDiagram-E7YTZNPT-D6dTu0HJ.js +39 -0
- package/runtime/webapp/dist/assets/{quadrantDiagram-AXDQQJYC-BDJl9Tah.js → quadrantDiagram-AXDQQJYC-B6Nk3my2.js} +2 -2
- package/runtime/webapp/dist/assets/{railroadDiagram-O6MQD6OU-BCu1VCKA.js → railroadDiagram-O6MQD6OU-9HdWlkSi.js} +1 -1
- package/runtime/webapp/dist/assets/{requirementDiagram-BXWQKSXE-CqUIqsRU.js → requirementDiagram-BXWQKSXE-CJ72A4ch.js} +1 -1
- package/runtime/webapp/dist/assets/{rotate-ccw-Bjr9jTxM.js → rotate-ccw-CFOlggPt.js} +1 -1
- package/runtime/webapp/dist/assets/{rotate-cw-A1YTnj9Q.js → rotate-cw-CV6TU7ho.js} +1 -1
- package/runtime/webapp/dist/assets/{sankeyDiagram-P5KCCOFB-DaveIjpG.js → sankeyDiagram-P5KCCOFB-B0k_-2GA.js} +1 -1
- package/runtime/webapp/dist/assets/{send-BEl9srBG.js → send-Br8F4frT.js} +1 -1
- package/runtime/webapp/dist/assets/{sequenceDiagram-WJ2MYXX4-C7zRgFw8.js → sequenceDiagram-WJ2MYXX4-D-Vubzl4.js} +1 -1
- package/runtime/webapp/dist/assets/session-dashboard-B_G9IZRa.js +6 -0
- package/runtime/webapp/dist/assets/{shield-check-C79GaqpX.js → shield-check-C_XCddHW.js} +1 -1
- package/runtime/webapp/dist/assets/{sizeCapture-INFHLROL-BKOrYnP1.js → sizeCapture-INFHLROL-CDLZ64va.js} +1 -1
- package/runtime/webapp/dist/assets/stateDiagram-D77RDMKH-D55B47_M.js +1 -0
- package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-DhVWnu4U.js +1 -0
- package/runtime/webapp/dist/assets/{swimlanes-42K2YHIH-CbDMTwgn.js → swimlanes-42K2YHIH-FSX6VCzY.js} +1 -1
- package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-B677Rs5I.js +8 -0
- package/runtime/webapp/dist/assets/{timeline-definition-24CTP7MA-CanMvfCK.js → timeline-definition-24CTP7MA-DGmgxtYO.js} +1 -1
- package/runtime/webapp/dist/assets/{trash-2-RnFgAyKW.js → trash-2-Drt7yRIe.js} +10 -5
- package/runtime/webapp/dist/assets/{types-DguAd3Ud.js → types-BOD4WqhS.js} +1 -1
- package/runtime/webapp/dist/assets/{vennDiagram-4TSXK5OY-CR-V0-y3.js → vennDiagram-4TSXK5OY-XbldOddh.js} +1 -1
- package/runtime/webapp/dist/assets/{wardleyDiagram-VM6X3IG4-CjTtvx6s.js → wardleyDiagram-VM6X3IG4-DrGMS-oH.js} +1 -1
- package/runtime/webapp/dist/assets/{web-DPag1EjS.js → web-Crv8v2xB.js} +1 -1
- package/runtime/webapp/dist/assets/{web-DedGjdA8.js → web-DQg6oOed.js} +1 -1
- package/runtime/webapp/dist/assets/{x-Bx8qOEL4.js → x-8eDWe1V2.js} +1 -1
- package/runtime/webapp/dist/assets/{xychartDiagram-S5SC5T6Z-D2959gYR.js → xychartDiagram-S5SC5T6Z-BClf-jGf.js} +1 -1
- package/runtime/webapp/dist/assets/zoom-out-CKWUyj9b.js +21 -0
- package/runtime/webapp/dist/index.html +2 -2
- package/runtime/ws-server.mjs +3 -6
- package/runtime/.next/server/chunks/1973.js +0 -1
- package/runtime/.next/static/chunks/50-0b6604ece6278dc2.js +0 -1
- package/runtime/.next/static/chunks/app/web/layout-62386960d8601cc2.js +0 -1
- package/runtime/.next/static/chunks/app/web/page-6b37d8153e607928.js +0 -1
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-8zdh6hy9.mjs +0 -45
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-b5da77cd.mjs +0 -34
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-f2yzhw4m.mjs +0 -18
- package/runtime/node_modules/@anthropic-ai/claude-agent-sdk/core-j29a9c1a.mjs +0 -17
- package/runtime/node_modules/graceful-fs/LICENSE +0 -15
- package/runtime/webapp/dist/assets/App-D3-qxUjs.js +0 -187
- package/runtime/webapp/dist/assets/BrowserLivePanel-BywwOAML.js +0 -76
- package/runtime/webapp/dist/assets/CollaborationDashboard-DQeiZyu9.js +0 -1
- package/runtime/webapp/dist/assets/CollaborationPage-CGymkv8f.js +0 -16
- package/runtime/webapp/dist/assets/FileTree-W85iiqhO.js +0 -11
- package/runtime/webapp/dist/assets/FlowStudioPane-Ccp0FhYn.js +0 -5
- package/runtime/webapp/dist/assets/MessagingBridge-D_cArR8-.js +0 -6
- package/runtime/webapp/dist/assets/MessagingPage-BIgDwGgU.js +0 -7
- package/runtime/webapp/dist/assets/MessagingPage-CpRafjqY.css +0 -1
- package/runtime/webapp/dist/assets/RemoteDesktopPage-Di31a6s4.js +0 -1
- package/runtime/webapp/dist/assets/SessionDashboard-a7HETCwZ.js +0 -16
- package/runtime/webapp/dist/assets/arc-Fb_TLw7m.js +0 -1
- package/runtime/webapp/dist/assets/arrow-left-ChO37N0V.js +0 -6
- package/runtime/webapp/dist/assets/channel-CcOPsanj.js +0 -1
- package/runtime/webapp/dist/assets/classDiagram-ZZMXUADV-De9Vn3qI.js +0 -1
- package/runtime/webapp/dist/assets/classDiagram-v2-VYDZK3BY-De9Vn3qI.js +0 -1
- package/runtime/webapp/dist/assets/index-IYQjHlQx.css +0 -1
- package/runtime/webapp/dist/assets/layout-C6lzLyIZ.js +0 -1
- package/runtime/webapp/dist/assets/page-oP1ftgSe.js +0 -91
- package/runtime/webapp/dist/assets/pieDiagram-E7YTZNPT-CES_HFyS.js +0 -39
- package/runtime/webapp/dist/assets/search-rB9Vl5Kd.js +0 -6
- package/runtime/webapp/dist/assets/stateDiagram-D77RDMKH-Cz_WH93D.js +0 -1
- package/runtime/webapp/dist/assets/stateDiagram-v2-MP3YSRHH-Dw9aybAU.js +0 -1
- package/runtime/webapp/dist/assets/swimlanesDiagram-VR7AAH4N-CZrm7vi4.js +0 -8
- package/runtime/webapp/dist/assets/use-error-notice-_MLy2aPZ.js +0 -11
- /package/runtime/.next/static/{ngVhkJylacc9Set69K3lG → fg72y0mrQ518VXPNOLU1t}/_buildManifest.js +0 -0
- /package/runtime/.next/static/{ngVhkJylacc9Set69K3lG → fg72y0mrQ518VXPNOLU1t}/_ssgManifest.js +0 -0
- /package/runtime/webapp/dist/assets/{use-error-notice-CAYVDT8Z.css → SessionDashboard-CAYVDT8Z.css} +0 -0
- /package/runtime/webapp/dist/assets/{SessionDashboard-D3n4eFut.css → session-dashboard-D3n4eFut.css} +0 -0
|
@@ -39,8 +39,17 @@ export const parseAacAudioSpecificConfig = (bytes) => {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
let frameLength = 1024;
|
|
42
|
+
let programConfigElement = null;
|
|
42
43
|
if (generalAudioObjectTypes.includes(coreObjectType)) {
|
|
43
44
|
frameLength = bitstream.readBits(1) ? 960 : 1024; // frameLengthFlag
|
|
45
|
+
if (channelConfiguration === 0) {
|
|
46
|
+
if (bitstream.readBits(1)) { // dependsOnCoreCoder
|
|
47
|
+
bitstream.skipBits(14); // coreCoderDelay
|
|
48
|
+
}
|
|
49
|
+
bitstream.skipBits(1); // extensionFlag
|
|
50
|
+
programConfigElement = readAacProgramConfigElement(bitstream);
|
|
51
|
+
numberOfChannels = getAacProgramConfigElementChannelCount(programConfigElement);
|
|
52
|
+
}
|
|
44
53
|
}
|
|
45
54
|
if (objectType !== 5 && objectType !== 29) {
|
|
46
55
|
// There may be SBR/PS flags sitting behind a sync word after the config of the core coder. We find them by
|
|
@@ -75,6 +84,7 @@ export const parseAacAudioSpecificConfig = (bytes) => {
|
|
|
75
84
|
? 2
|
|
76
85
|
: numberOfChannels,
|
|
77
86
|
frameLength,
|
|
87
|
+
programConfigElement,
|
|
78
88
|
};
|
|
79
89
|
};
|
|
80
90
|
const readAacObjectType = (bitstream) => {
|
|
@@ -102,7 +112,7 @@ export const buildAacAudioSpecificConfig = (config) => {
|
|
|
102
112
|
// SBR runs the core coder at half the output rate, and PS upmixes a mono core to stereo
|
|
103
113
|
const coreSampleRate = usesSbr ? config.outputSampleRate / 2 : config.outputSampleRate;
|
|
104
114
|
const coreNumberOfChannels = usesPs ? 1 : config.outputNumberOfChannels;
|
|
105
|
-
const channelConfiguration = aacChannelMap.indexOf(coreNumberOfChannels);
|
|
115
|
+
const channelConfiguration = config.programConfigElement ? 0 : aacChannelMap.indexOf(coreNumberOfChannels);
|
|
106
116
|
if (channelConfiguration === -1) {
|
|
107
117
|
throw new TypeError(`Unsupported number of channels: ${config.outputNumberOfChannels}`);
|
|
108
118
|
}
|
|
@@ -120,7 +130,8 @@ export const buildAacAudioSpecificConfig = (config) => {
|
|
|
120
130
|
bitCount += 24;
|
|
121
131
|
}
|
|
122
132
|
}
|
|
123
|
-
const byteCount = Math.ceil(bitCount / 8)
|
|
133
|
+
const byteCount = Math.ceil(bitCount / 8)
|
|
134
|
+
+ (config.programConfigElement ? getMaxPceByteLength(config.programConfigElement) : 0);
|
|
124
135
|
const bytes = new Uint8Array(byteCount);
|
|
125
136
|
const bitstream = new Bitstream(bytes);
|
|
126
137
|
writeAacObjectType(bitstream, config.objectType);
|
|
@@ -131,7 +142,10 @@ export const buildAacAudioSpecificConfig = (config) => {
|
|
|
131
142
|
writeAacObjectType(bitstream, 2); // AAC-LC underneath
|
|
132
143
|
}
|
|
133
144
|
bitstream.writeBits(3, 0); // frameLengthFlag, dependsOnCoreCoder, extensionFlag
|
|
134
|
-
|
|
145
|
+
if (config.programConfigElement) {
|
|
146
|
+
writeAacProgramConfigElement(bitstream, config.programConfigElement);
|
|
147
|
+
}
|
|
148
|
+
return bytes.subarray(0, Math.ceil(bitstream.pos / 8));
|
|
135
149
|
};
|
|
136
150
|
const writeAacObjectType = (bitstream, objectType) => {
|
|
137
151
|
if (objectType < 32) {
|
|
@@ -154,9 +168,69 @@ const findAacFrequencyIndex = (sampleRate) => {
|
|
|
154
168
|
return index === -1 ? 15 : index;
|
|
155
169
|
};
|
|
156
170
|
export const buildAdtsHeaderTemplate = (config) => {
|
|
157
|
-
const
|
|
171
|
+
const { coreObjectType, frequencyIndex, frameLength } = config;
|
|
172
|
+
let { channelConfiguration, programConfigElement } = config;
|
|
173
|
+
if (coreObjectType < 1 || coreObjectType > 4) {
|
|
174
|
+
throw new Error(`AAC object type ${coreObjectType} can't be stored in ADTS.`);
|
|
175
|
+
}
|
|
176
|
+
if (frequencyIndex >= aacFrequencyTable.length) {
|
|
177
|
+
// The explicit rate that index 15 escapes to has no room in the header, and 13 and 14 are reserved
|
|
178
|
+
throw new Error(`AAC sampling frequency index ${frequencyIndex} can't be stored in ADTS.`);
|
|
179
|
+
}
|
|
180
|
+
if (channelConfiguration === 11 || channelConfiguration === 12) {
|
|
181
|
+
// ADTS has no room for these configurations, but a PCE listing the same elements describes the same layout:
|
|
182
|
+
// 6.1 with back surround and a back center (11), or 7.1 with side and back surround (12)
|
|
183
|
+
const surroundPair = {
|
|
184
|
+
isCpe: true,
|
|
185
|
+
tagSelect: 1,
|
|
186
|
+
};
|
|
187
|
+
programConfigElement = {
|
|
188
|
+
elementInstanceTag: 0,
|
|
189
|
+
objectType: coreObjectType - 1,
|
|
190
|
+
samplingFrequencyIndex: frequencyIndex,
|
|
191
|
+
frontElements: [
|
|
192
|
+
{
|
|
193
|
+
isCpe: false,
|
|
194
|
+
tagSelect: 0,
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
isCpe: true,
|
|
198
|
+
tagSelect: 0,
|
|
199
|
+
},
|
|
200
|
+
],
|
|
201
|
+
sideElements: channelConfiguration === 12 ? [surroundPair] : [],
|
|
202
|
+
backElements: channelConfiguration === 11
|
|
203
|
+
? [
|
|
204
|
+
surroundPair,
|
|
205
|
+
{
|
|
206
|
+
isCpe: false,
|
|
207
|
+
tagSelect: 1,
|
|
208
|
+
},
|
|
209
|
+
]
|
|
210
|
+
: [{
|
|
211
|
+
isCpe: true,
|
|
212
|
+
tagSelect: 2,
|
|
213
|
+
}],
|
|
214
|
+
lfeElementTags: [0],
|
|
215
|
+
assocDataElementTags: [],
|
|
216
|
+
ccElements: [],
|
|
217
|
+
monoMixdownElementNumber: null,
|
|
218
|
+
stereoMixdownElementNumber: null,
|
|
219
|
+
matrixMixdown: null,
|
|
220
|
+
comment: new Uint8Array(0),
|
|
221
|
+
};
|
|
222
|
+
channelConfiguration = 0;
|
|
223
|
+
}
|
|
224
|
+
if (channelConfiguration > 7) {
|
|
225
|
+
throw new Error(`AAC channel configuration ${channelConfiguration} can't be stored in ADTS.`);
|
|
226
|
+
}
|
|
227
|
+
if (frameLength !== 1024) {
|
|
228
|
+
throw new Error(`AAC frame length ${frameLength} can't be stored in ADTS.`);
|
|
229
|
+
}
|
|
230
|
+
// With ADTS, a channel layout described by a PCE has to be inside the frames, so we stick it at the end
|
|
231
|
+
// of the header
|
|
232
|
+
let header = new Uint8Array(7 + (programConfigElement ? getMaxPceByteLength(programConfigElement) : 0));
|
|
158
233
|
const bitstream = new Bitstream(header);
|
|
159
|
-
const { coreObjectType, frequencyIndex, channelConfiguration } = config;
|
|
160
234
|
const profile = coreObjectType - 1;
|
|
161
235
|
bitstream.writeBits(12, 0b1111_11111111); // Syncword
|
|
162
236
|
bitstream.writeBits(1, 0); // MPEG Version
|
|
@@ -174,9 +248,132 @@ export const buildAdtsHeaderTemplate = (config) => {
|
|
|
174
248
|
bitstream.writeBits(11, 0x7ff); // Buffer fullness
|
|
175
249
|
bitstream.writeBits(2, 0); // Number of AAC frames minus 1
|
|
176
250
|
// Omit CRC check
|
|
251
|
+
if (programConfigElement) {
|
|
252
|
+
// The raw data block begins on a byte boundary
|
|
253
|
+
bitstream.pos = 8 * 7;
|
|
254
|
+
bitstream.writeBits(3, 5); // ID_PCE
|
|
255
|
+
writeAacProgramConfigElement(bitstream, programConfigElement);
|
|
256
|
+
header = header.subarray(0, bitstream.pos / 8);
|
|
257
|
+
}
|
|
177
258
|
return { header, bitstream };
|
|
178
259
|
};
|
|
260
|
+
const getMaxPceByteLength = (programConfigElement) => {
|
|
261
|
+
return 64 + programConfigElement.comment.byteLength; // Generous
|
|
262
|
+
};
|
|
263
|
+
const writeAacProgramConfigElement = (bitstream, pce) => {
|
|
264
|
+
bitstream.writeBits(4, pce.elementInstanceTag);
|
|
265
|
+
bitstream.writeBits(2, pce.objectType);
|
|
266
|
+
bitstream.writeBits(4, pce.samplingFrequencyIndex);
|
|
267
|
+
bitstream.writeBits(4, pce.frontElements.length);
|
|
268
|
+
bitstream.writeBits(4, pce.sideElements.length);
|
|
269
|
+
bitstream.writeBits(4, pce.backElements.length);
|
|
270
|
+
bitstream.writeBits(2, pce.lfeElementTags.length);
|
|
271
|
+
bitstream.writeBits(3, pce.assocDataElementTags.length);
|
|
272
|
+
bitstream.writeBits(4, pce.ccElements.length);
|
|
273
|
+
bitstream.writeBits(1, +(pce.monoMixdownElementNumber !== null));
|
|
274
|
+
if (pce.monoMixdownElementNumber !== null) {
|
|
275
|
+
bitstream.writeBits(4, pce.monoMixdownElementNumber);
|
|
276
|
+
}
|
|
277
|
+
bitstream.writeBits(1, +(pce.stereoMixdownElementNumber !== null));
|
|
278
|
+
if (pce.stereoMixdownElementNumber !== null) {
|
|
279
|
+
bitstream.writeBits(4, pce.stereoMixdownElementNumber);
|
|
280
|
+
}
|
|
281
|
+
bitstream.writeBits(1, +(pce.matrixMixdown !== null));
|
|
282
|
+
if (pce.matrixMixdown) {
|
|
283
|
+
bitstream.writeBits(2, pce.matrixMixdown.index);
|
|
284
|
+
bitstream.writeBits(1, +pce.matrixMixdown.pseudoSurroundEnabled);
|
|
285
|
+
}
|
|
286
|
+
for (const element of [...pce.frontElements, ...pce.sideElements, ...pce.backElements]) {
|
|
287
|
+
bitstream.writeBits(1, +element.isCpe);
|
|
288
|
+
bitstream.writeBits(4, element.tagSelect);
|
|
289
|
+
}
|
|
290
|
+
for (const tag of [...pce.lfeElementTags, ...pce.assocDataElementTags]) {
|
|
291
|
+
bitstream.writeBits(4, tag);
|
|
292
|
+
}
|
|
293
|
+
for (const element of pce.ccElements) {
|
|
294
|
+
bitstream.writeBits(1, +element.isIndependentlySwitched);
|
|
295
|
+
bitstream.writeBits(4, element.tagSelect);
|
|
296
|
+
}
|
|
297
|
+
bitstream.pos = 8 * Math.ceil(bitstream.pos / 8); // byte_alignment()
|
|
298
|
+
bitstream.writeBits(8, pce.comment.byteLength);
|
|
299
|
+
bitstream.bytes.set(pce.comment, bitstream.pos / 8);
|
|
300
|
+
bitstream.pos += 8 * pce.comment.byteLength;
|
|
301
|
+
};
|
|
179
302
|
export const writeAdtsFrameLength = (bitstream, frameLength) => {
|
|
303
|
+
if (frameLength >= 2 ** 13) {
|
|
304
|
+
throw new Error(`AAC frame too large for ADTS (${frameLength} bytes, at most ${2 ** 13 - 1} allowed).`);
|
|
305
|
+
}
|
|
180
306
|
bitstream.pos = 30;
|
|
181
307
|
bitstream.writeBits(13, frameLength);
|
|
182
308
|
};
|
|
309
|
+
// ADTS frames with channel configuration 0 describe their channel layout with a PCE in front of the raw data block
|
|
310
|
+
export const readAdtsProgramConfigElement = (rawDataBlock) => {
|
|
311
|
+
const bitstream = new Bitstream(rawDataBlock);
|
|
312
|
+
if (bitstream.readBits(3) !== 5) { // ID_PCE
|
|
313
|
+
return null;
|
|
314
|
+
}
|
|
315
|
+
const programConfigElement = readAacProgramConfigElement(bitstream);
|
|
316
|
+
const size = bitstream.pos / 8;
|
|
317
|
+
if (size > rawDataBlock.byteLength) {
|
|
318
|
+
throw new Error('Invalid ADTS frame: its program config element extends past the end of the frame.');
|
|
319
|
+
}
|
|
320
|
+
return {
|
|
321
|
+
programConfigElement,
|
|
322
|
+
size, // In bytes, within the raw data block
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
const readAacProgramConfigElement = (bitstream) => {
|
|
326
|
+
const elementInstanceTag = bitstream.readBits(4);
|
|
327
|
+
const objectType = bitstream.readBits(2);
|
|
328
|
+
const samplingFrequencyIndex = bitstream.readBits(4);
|
|
329
|
+
const frontElementCount = bitstream.readBits(4);
|
|
330
|
+
const sideElementCount = bitstream.readBits(4);
|
|
331
|
+
const backElementCount = bitstream.readBits(4);
|
|
332
|
+
const lfeElementCount = bitstream.readBits(2);
|
|
333
|
+
const assocDataElementCount = bitstream.readBits(3);
|
|
334
|
+
const ccElementCount = bitstream.readBits(4);
|
|
335
|
+
const monoMixdownElementNumber = bitstream.readBits(1) ? bitstream.readBits(4) : null;
|
|
336
|
+
const stereoMixdownElementNumber = bitstream.readBits(1) ? bitstream.readBits(4) : null;
|
|
337
|
+
const matrixMixdown = bitstream.readBits(1)
|
|
338
|
+
? {
|
|
339
|
+
index: bitstream.readBits(2),
|
|
340
|
+
pseudoSurroundEnabled: !!bitstream.readBits(1),
|
|
341
|
+
}
|
|
342
|
+
: null;
|
|
343
|
+
const readChannelElements = (count) => Array.from({ length: count }, () => ({
|
|
344
|
+
isCpe: !!bitstream.readBits(1),
|
|
345
|
+
tagSelect: bitstream.readBits(4),
|
|
346
|
+
}));
|
|
347
|
+
const frontElements = readChannelElements(frontElementCount);
|
|
348
|
+
const sideElements = readChannelElements(sideElementCount);
|
|
349
|
+
const backElements = readChannelElements(backElementCount);
|
|
350
|
+
const lfeElementTags = Array.from({ length: lfeElementCount }, () => bitstream.readBits(4));
|
|
351
|
+
const assocDataElementTags = Array.from({ length: assocDataElementCount }, () => bitstream.readBits(4));
|
|
352
|
+
const ccElements = Array.from({ length: ccElementCount }, () => ({
|
|
353
|
+
isIndependentlySwitched: !!bitstream.readBits(1),
|
|
354
|
+
tagSelect: bitstream.readBits(4),
|
|
355
|
+
}));
|
|
356
|
+
bitstream.pos = 8 * Math.ceil(bitstream.pos / 8); // byte_alignment()
|
|
357
|
+
const commentLength = bitstream.readBits(8);
|
|
358
|
+
const comment = bitstream.bytes.slice(bitstream.pos / 8, bitstream.pos / 8 + commentLength);
|
|
359
|
+
bitstream.pos += 8 * commentLength;
|
|
360
|
+
return {
|
|
361
|
+
elementInstanceTag,
|
|
362
|
+
objectType,
|
|
363
|
+
samplingFrequencyIndex,
|
|
364
|
+
frontElements,
|
|
365
|
+
sideElements,
|
|
366
|
+
backElements,
|
|
367
|
+
lfeElementTags,
|
|
368
|
+
assocDataElementTags,
|
|
369
|
+
ccElements,
|
|
370
|
+
monoMixdownElementNumber,
|
|
371
|
+
stereoMixdownElementNumber,
|
|
372
|
+
matrixMixdown,
|
|
373
|
+
comment,
|
|
374
|
+
};
|
|
375
|
+
};
|
|
376
|
+
export const getAacProgramConfigElementChannelCount = (pce) => {
|
|
377
|
+
const elements = [...pce.frontElements, ...pce.sideElements, ...pce.backElements];
|
|
378
|
+
return elements.reduce((count, element) => count + (element.isCpe ? 2 : 1), pce.lfeElementTags.length);
|
|
379
|
+
};
|
|
@@ -27,9 +27,9 @@ export class Bitstream {
|
|
|
27
27
|
return this.readBit();
|
|
28
28
|
}
|
|
29
29
|
let result = 0;
|
|
30
|
+
// Arithmetic instead of bit shifts, since those would overflow for values of 32 bits and wider
|
|
30
31
|
for (let i = 0; i < n; i++) {
|
|
31
|
-
result
|
|
32
|
-
result |= this.readBit();
|
|
32
|
+
result = 2 * result + this.readBit();
|
|
33
33
|
}
|
|
34
34
|
return result;
|
|
35
35
|
}
|
|
@@ -39,8 +39,9 @@ export class Bitstream {
|
|
|
39
39
|
const byteIndex = Math.floor(i / 8);
|
|
40
40
|
let byte = this.bytes[byteIndex];
|
|
41
41
|
const bitIndex = 0b111 - (i & 0b111);
|
|
42
|
+
const bit = Math.floor(value / 2 ** (end - i - 1)) & 1;
|
|
42
43
|
byte &= ~(1 << bitIndex);
|
|
43
|
-
byte |=
|
|
44
|
+
byte |= bit << bitIndex;
|
|
44
45
|
this.bytes[byteIndex] = byte;
|
|
45
46
|
}
|
|
46
47
|
this.pos = end;
|
|
@@ -11,16 +11,15 @@ export const DTS_SAMPLE_RATES = [8000, 11025, 12000, 16000, 22050, 24000, 32000,
|
|
|
11
11
|
export const DTS_CHANNEL_COUNTS = [1, 2, 4, 5, 6];
|
|
12
12
|
const DTS_MAX_FRAME_SIZE = 16384;
|
|
13
13
|
/**
|
|
14
|
-
* The DTS encoder
|
|
15
|
-
*
|
|
14
|
+
* The DTS encoder rejects bitrates whose frames can't hold the per-channel side info, or that exceed its limits (see
|
|
15
|
+
* FFmpeg's dcaenc.c), so this moves a bitrate into the range it accepts.
|
|
16
16
|
*/
|
|
17
|
-
export const
|
|
18
|
-
if (bitrate < 32000 || bitrate > 3840000) {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
17
|
+
export const clampDtsBitrate = (bitrate, sampleRate, numberOfChannels) => {
|
|
21
18
|
const hasLfe = numberOfChannels === 6;
|
|
22
19
|
const fullbandChannels = numberOfChannels - (hasLfe ? 1 : 0);
|
|
23
|
-
const frameBits = 32 * Math.ceil(Math.ceil(bitrate * 512 / sampleRate) / 32);
|
|
24
20
|
const minFrameBits = 132 + (493 + 28 * 32) * fullbandChannels + (hasLfe ? 72 : 0);
|
|
25
|
-
|
|
21
|
+
// Frames are a whole number of 32-bit words of 512 samples each
|
|
22
|
+
const minBitrate = Math.max(32000, Math.floor(32 * (Math.ceil(minFrameBits / 32) - 1) * sampleRate / 512) + 1);
|
|
23
|
+
const maxBitrate = Math.min(3840000, Math.floor(8 * DTS_MAX_FRAME_SIZE * sampleRate / 512));
|
|
24
|
+
return Math.min(Math.max(bitrate, minBitrate), maxBitrate);
|
|
26
25
|
};
|
|
@@ -24,6 +24,8 @@ export const KILOBIT_RATES = [
|
|
|
24
24
|
export const XING = 0x58696e67;
|
|
25
25
|
/** 'Info' */
|
|
26
26
|
export const INFO = 0x496e666f;
|
|
27
|
+
/** 'VBRI' */
|
|
28
|
+
export const VBRI = 0x56425249;
|
|
27
29
|
export const computeMp3FrameSize = (lowSamplingFrequency, layer, bitrate, sampleRate, padding) => {
|
|
28
30
|
if (layer === 0) {
|
|
29
31
|
return 0; // Not expected that this is hit
|
|
@@ -86,7 +88,11 @@ export const readMp3FrameHeader = (word, remainingBytes) => {
|
|
|
86
88
|
const mpegVersionId = (secondByte >> 3) & 0x3;
|
|
87
89
|
const layer = (secondByte >> 1) & 0x3;
|
|
88
90
|
const bitrateIndex = (thirdByte >> 4) & 0xf;
|
|
89
|
-
const frequencyIndex = (
|
|
91
|
+
const frequencyIndex = (thirdByte >> 2) & 0x3;
|
|
92
|
+
if (mpegVersionId === 1 || frequencyIndex === 3) {
|
|
93
|
+
// Reserved values
|
|
94
|
+
return { header: null, bytesAdvanced: 1 };
|
|
95
|
+
}
|
|
90
96
|
const padding = (thirdByte >> 1) & 0x1;
|
|
91
97
|
const channel = (fourthByte >> 6) & 0x3;
|
|
92
98
|
const modeExtension = (fourthByte >> 4) & 0x3;
|
|
@@ -5,20 +5,22 @@
|
|
|
5
5
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
6
6
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
|
7
7
|
*/
|
|
8
|
-
import { aacChannelMap, aacFrequencyTable } from '../../shared/aac-misc.js';
|
|
8
|
+
import { aacChannelMap, aacFrequencyTable, getAacProgramConfigElementChannelCount, readAdtsProgramConfigElement, } from '../../shared/aac-misc.js';
|
|
9
9
|
import { Demuxer } from '../demuxer.js';
|
|
10
|
-
import { ID3_V2_HEADER_SIZE, parseId3V2Tag, readId3V2Header, } from '../id3.js';
|
|
10
|
+
import { ID3_V2_HEADER_SIZE, parseId3V2Tag, readId3V2Header, skipId3V2Tags, } from '../id3.js';
|
|
11
11
|
import { DEFAULT_TRACK_DISPOSITION } from '../metadata.js';
|
|
12
|
-
import { assert, AsyncMutex, binarySearchExact, binarySearchLessOrEqual, isThenable, UNDETERMINED_LANGUAGE, } from '../misc.js';
|
|
12
|
+
import { assert, AsyncMutex, binarySearchExact, binarySearchLessOrEqual, isThenable, roundIfAlmostInteger, UNDETERMINED_LANGUAGE, } from '../misc.js';
|
|
13
13
|
import { EncodedPacket, PLACEHOLDER_DATA } from '../packet.js';
|
|
14
14
|
import { readBytes } from '../reader.js';
|
|
15
|
-
import {
|
|
15
|
+
import { Logging } from '../logging.js';
|
|
16
|
+
import { MIN_ADTS_FRAME_HEADER_SIZE, MAX_ADTS_FRAME_HEADER_SIZE, readAdtsFrameHeader, readConfirmedAdtsFrameHeader, } from './adts-reader.js';
|
|
16
17
|
export const SAMPLES_PER_AAC_FRAME = 1024;
|
|
17
18
|
export class AdtsDemuxer extends Demuxer {
|
|
18
19
|
constructor(input) {
|
|
19
20
|
super(input);
|
|
20
21
|
this.metadataPromise = null;
|
|
21
22
|
this.firstFrameHeader = null;
|
|
23
|
+
this.numberOfChannels = null;
|
|
22
24
|
this.loadedSamples = [];
|
|
23
25
|
this.metadataTags = null;
|
|
24
26
|
this.trackBackings = [];
|
|
@@ -35,37 +37,52 @@ export class AdtsDemuxer extends Demuxer {
|
|
|
35
37
|
await this.advanceReader();
|
|
36
38
|
}
|
|
37
39
|
// There has to be a frame if this demuxer got selected
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
if (this.lastLoadedPos === 0) {
|
|
45
|
-
// Skip all ID3v2 tags at the start of the file
|
|
46
|
-
while (true) {
|
|
47
|
-
let slice = this.reader.requestSlice(this.lastLoadedPos, ID3_V2_HEADER_SIZE);
|
|
40
|
+
const header = this.firstFrameHeader;
|
|
41
|
+
assert(header);
|
|
42
|
+
if (header.channelConfiguration === 0) {
|
|
43
|
+
// The channel layout comes from the PCE at the start of the frame's raw data block
|
|
44
|
+
const headerSize = header.crcCheck === null ? MIN_ADTS_FRAME_HEADER_SIZE : MAX_ADTS_FRAME_HEADER_SIZE;
|
|
45
|
+
let slice = this.reader.requestSlice(header.startPos + headerSize, header.frameLength - headerSize);
|
|
48
46
|
if (isThenable(slice))
|
|
49
47
|
slice = await slice;
|
|
50
48
|
if (!slice) {
|
|
51
|
-
|
|
52
|
-
return;
|
|
49
|
+
throw new Error('Invalid ADTS file: the first frame is cut off.');
|
|
53
50
|
}
|
|
54
|
-
const
|
|
55
|
-
if (!
|
|
56
|
-
|
|
51
|
+
const result = readAdtsProgramConfigElement(readBytes(slice, header.frameLength - headerSize));
|
|
52
|
+
if (!result) {
|
|
53
|
+
throw new Error('Invalid ADTS file: frames with channel configuration 0 must begin with a program config'
|
|
54
|
+
+ ' element.');
|
|
57
55
|
}
|
|
58
|
-
this.
|
|
56
|
+
this.numberOfChannels = getAacProgramConfigElementChannelCount(result.programConfigElement);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
this.numberOfChannels = aacChannelMap[header.channelConfiguration];
|
|
59
60
|
}
|
|
61
|
+
// Create the single audio track
|
|
62
|
+
this.trackBackings = [new AdtsAudioTrackBacking(this)];
|
|
63
|
+
})();
|
|
64
|
+
}
|
|
65
|
+
async advanceReader() {
|
|
66
|
+
let header;
|
|
67
|
+
if (this.lastLoadedPos === 0) {
|
|
68
|
+
// Start at the first confirmed frame, not at a false sync word in junk before it
|
|
69
|
+
const startPos = await skipId3V2Tags(this.reader, 0);
|
|
70
|
+
header = await readConfirmedAdtsFrameHeader(this.reader, startPos, 4096, null);
|
|
60
71
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
slice =
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
72
|
+
else {
|
|
73
|
+
// The next frame starts where the previous one ended
|
|
74
|
+
let slice = this.reader.requestSliceRange(this.lastLoadedPos, MIN_ADTS_FRAME_HEADER_SIZE, MAX_ADTS_FRAME_HEADER_SIZE);
|
|
75
|
+
if (isThenable(slice))
|
|
76
|
+
slice = await slice;
|
|
77
|
+
header = slice && readAdtsFrameHeader(slice);
|
|
78
|
+
if (!header) {
|
|
79
|
+
// Something else follows, like ID3v2 tags (timed metadata in HLS packed audio) or junk, so let's resync
|
|
80
|
+
// on the next confirmed frame of the stream
|
|
81
|
+
assert(this.firstFrameHeader);
|
|
82
|
+
const startPos = await skipId3V2Tags(this.reader, this.lastLoadedPos);
|
|
83
|
+
header = await readConfirmedAdtsFrameHeader(this.reader, startPos, 2 ** 16, this.firstFrameHeader);
|
|
84
|
+
}
|
|
67
85
|
}
|
|
68
|
-
const header = readAdtsFrameHeader(slice);
|
|
69
86
|
if (!header) {
|
|
70
87
|
this.lastSampleLoaded = true;
|
|
71
88
|
return;
|
|
@@ -75,15 +92,20 @@ export class AdtsDemuxer extends Demuxer {
|
|
|
75
92
|
this.lastSampleLoaded = true;
|
|
76
93
|
return;
|
|
77
94
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
const sampleRate = aacFrequencyTable[header.samplingFrequencyIndex];
|
|
95
|
+
this.firstFrameHeader ??= header;
|
|
96
|
+
const sampleRate = aacFrequencyTable[this.firstFrameHeader.samplingFrequencyIndex];
|
|
82
97
|
assert(sampleRate !== undefined);
|
|
83
|
-
|
|
98
|
+
if (header.samplingFrequencyIndex !== this.firstFrameHeader.samplingFrequencyIndex) {
|
|
99
|
+
// Since a track can only have one sample rate, the stream ends here
|
|
100
|
+
Logging._warn(`The sample rate changes mid-stream (from ${sampleRate} Hz to`
|
|
101
|
+
+ ` ${aacFrequencyTable[header.samplingFrequencyIndex]} Hz), which isn't properly supported or`
|
|
102
|
+
+ ` handled by Mediabunny.`);
|
|
103
|
+
this.lastSampleLoaded = true;
|
|
104
|
+
return;
|
|
105
|
+
}
|
|
84
106
|
const sample = {
|
|
85
107
|
timestamp: this.nextTimestampInSamples / sampleRate,
|
|
86
|
-
duration:
|
|
108
|
+
duration: SAMPLES_PER_AAC_FRAME / sampleRate,
|
|
87
109
|
dataStart: header.startPos,
|
|
88
110
|
dataSize: header.frameLength,
|
|
89
111
|
};
|
|
@@ -139,9 +161,6 @@ class AdtsAudioTrackBacking {
|
|
|
139
161
|
getType() {
|
|
140
162
|
return 'audio';
|
|
141
163
|
}
|
|
142
|
-
getId() {
|
|
143
|
-
return 1;
|
|
144
|
-
}
|
|
145
164
|
getNumber() {
|
|
146
165
|
return 1;
|
|
147
166
|
}
|
|
@@ -183,10 +202,8 @@ class AdtsAudioTrackBacking {
|
|
|
183
202
|
return this.demuxer.firstFrameHeader.objectType;
|
|
184
203
|
}
|
|
185
204
|
getNumberOfChannels() {
|
|
186
|
-
assert(this.demuxer.
|
|
187
|
-
|
|
188
|
-
assert(numberOfChannels !== undefined);
|
|
189
|
-
return numberOfChannels;
|
|
205
|
+
assert(this.demuxer.numberOfChannels !== null);
|
|
206
|
+
return this.demuxer.numberOfChannels;
|
|
190
207
|
}
|
|
191
208
|
getSampleRate() {
|
|
192
209
|
assert(this.demuxer.firstFrameHeader);
|
|
@@ -255,8 +272,10 @@ class AdtsAudioTrackBacking {
|
|
|
255
272
|
async getPacket(timestamp, options) {
|
|
256
273
|
const release = await this.demuxer.readingMutex.acquire();
|
|
257
274
|
try {
|
|
275
|
+
const sampleRate = this.getSampleRate();
|
|
276
|
+
const snappedTimestamp = roundIfAlmostInteger(timestamp * sampleRate) / sampleRate;
|
|
258
277
|
while (true) {
|
|
259
|
-
const index = binarySearchLessOrEqual(this.demuxer.loadedSamples,
|
|
278
|
+
const index = binarySearchLessOrEqual(this.demuxer.loadedSamples, snappedTimestamp, x => x.timestamp);
|
|
260
279
|
if (index === -1 && this.demuxer.loadedSamples.length > 0) {
|
|
261
280
|
// We're before the first sample
|
|
262
281
|
return null;
|
|
@@ -21,12 +21,16 @@ export class AdtsMuxer extends Muxer {
|
|
|
21
21
|
}
|
|
22
22
|
async start() {
|
|
23
23
|
const release = await this.mutex.acquire();
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
try {
|
|
25
|
+
this.writer = await this.output._getRootWriter(true);
|
|
26
|
+
if (!metadataTagsAreEmpty(this.output._metadataTags)) {
|
|
27
|
+
const id3Writer = new Id3V2Writer(this.writer);
|
|
28
|
+
id3Writer.writeId3V2Tag(this.output._metadataTags);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
finally {
|
|
32
|
+
release();
|
|
28
33
|
}
|
|
29
|
-
release();
|
|
30
34
|
}
|
|
31
35
|
async getMimeType() {
|
|
32
36
|
return 'audio/aac';
|
|
@@ -42,14 +46,14 @@ export class AdtsMuxer extends Muxer {
|
|
|
42
46
|
if (this.inputIsAdts === null) {
|
|
43
47
|
validateAudioChunkMetadata(meta, track.source._codec);
|
|
44
48
|
const description = meta?.decoderConfig?.description;
|
|
45
|
-
|
|
46
|
-
this.inputIsAdts = !description;
|
|
47
|
-
if (!this.inputIsAdts) {
|
|
49
|
+
if (description) {
|
|
48
50
|
const config = parseAacAudioSpecificConfig(toUint8Array(description));
|
|
49
51
|
const template = buildAdtsHeaderTemplate(config);
|
|
50
52
|
this.header = template.header;
|
|
51
53
|
this.headerBitstream = template.bitstream;
|
|
52
54
|
}
|
|
55
|
+
// Follows from the Mediabunny Codec Registry:
|
|
56
|
+
this.inputIsAdts = !description;
|
|
53
57
|
}
|
|
54
58
|
if (this.inputIsAdts) {
|
|
55
59
|
// Packets are already ADTS frames, write them directly
|
|
@@ -7,9 +7,46 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Bitstream } from '../../shared/bitstream.js';
|
|
9
9
|
import { aacFrequencyTable } from '../../shared/aac-misc.js';
|
|
10
|
-
import {
|
|
10
|
+
import { isThenable } from '../misc.js';
|
|
11
|
+
import { readBytes, readU16Be, readU8 } from '../reader.js';
|
|
11
12
|
export const MIN_ADTS_FRAME_HEADER_SIZE = 7;
|
|
12
13
|
export const MAX_ADTS_FRAME_HEADER_SIZE = 9;
|
|
14
|
+
export const readConfirmedAdtsFrameHeader = async (reader, startPos, searchLength, ref) => {
|
|
15
|
+
const headersMatch = (a, b) => a.objectType === b.objectType
|
|
16
|
+
&& a.samplingFrequencyIndex === b.samplingFrequencyIndex
|
|
17
|
+
&& a.channelConfiguration === b.channelConfiguration;
|
|
18
|
+
let slice = reader.requestSliceRange(startPos, MIN_ADTS_FRAME_HEADER_SIZE, searchLength + MAX_ADTS_FRAME_HEADER_SIZE);
|
|
19
|
+
if (isThenable(slice))
|
|
20
|
+
slice = await slice;
|
|
21
|
+
if (!slice) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
// A header is only confirmed by what follows it, since sync words show up in junk all the time
|
|
25
|
+
for (let pos = startPos; pos < Math.min(startPos + searchLength, slice.end); pos++) {
|
|
26
|
+
slice.filePos = pos;
|
|
27
|
+
if (readU8(slice) !== 0xff) {
|
|
28
|
+
continue;
|
|
29
|
+
}
|
|
30
|
+
slice.filePos = pos;
|
|
31
|
+
const header = readAdtsFrameHeader(slice);
|
|
32
|
+
if (!header || (ref && !headersMatch(header, ref))) {
|
|
33
|
+
continue;
|
|
34
|
+
}
|
|
35
|
+
const frameEndPos = pos + header.frameLength;
|
|
36
|
+
if (frameEndPos === reader.fileSize) {
|
|
37
|
+
// The frame ends the file
|
|
38
|
+
return header;
|
|
39
|
+
}
|
|
40
|
+
let nextSlice = reader.requestSliceRange(frameEndPos, MIN_ADTS_FRAME_HEADER_SIZE, MAX_ADTS_FRAME_HEADER_SIZE);
|
|
41
|
+
if (isThenable(nextSlice))
|
|
42
|
+
nextSlice = await nextSlice;
|
|
43
|
+
const nextHeader = nextSlice && readAdtsFrameHeader(nextSlice);
|
|
44
|
+
if (nextHeader && headersMatch(header, nextHeader)) {
|
|
45
|
+
return header;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return null;
|
|
49
|
+
};
|
|
13
50
|
export const readAdtsFrameHeader = (slice) => {
|
|
14
51
|
// https://wiki.multimedia.cx/index.php/ADTS (last visited: 2025/08/17)
|
|
15
52
|
const startPos = slice.filePos;
|
|
@@ -35,9 +72,6 @@ export const readAdtsFrameHeader = (slice) => {
|
|
|
35
72
|
}
|
|
36
73
|
bitstream.skipBits(1); // Private bit
|
|
37
74
|
const channelConfiguration = bitstream.readBits(3);
|
|
38
|
-
if (channelConfiguration === 0) {
|
|
39
|
-
throw new Error('ADTS frames with channel configuration 0 are not supported.');
|
|
40
|
-
}
|
|
41
75
|
bitstream.skipBits(1); // Originality
|
|
42
76
|
bitstream.skipBits(1); // Home
|
|
43
77
|
bitstream.skipBits(1); // Copyright ID bit
|
|
@@ -46,7 +80,7 @@ export const readAdtsFrameHeader = (slice) => {
|
|
|
46
80
|
bitstream.skipBits(11); // Buffer fullness
|
|
47
81
|
const numberOfAacFrames = bitstream.readBits(2) + 1;
|
|
48
82
|
if (numberOfAacFrames !== 1) {
|
|
49
|
-
|
|
83
|
+
return null; // Not supported
|
|
50
84
|
}
|
|
51
85
|
let crcCheck = null;
|
|
52
86
|
if (protectionAbsence === 0) { // CRC
|