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
|
@@ -133,6 +133,12 @@ export const validateMetadataTags = (tags) => {
|
|
|
133
133
|
if (!['coverFront', 'coverBack', 'unknown'].includes(image.kind)) {
|
|
134
134
|
throw new TypeError('Each image.kind must be \'coverFront\', \'coverBack\', or \'unknown\'.');
|
|
135
135
|
}
|
|
136
|
+
if (image.name !== undefined && typeof image.name !== 'string') {
|
|
137
|
+
throw new TypeError('Each image.name, when provided, must be a string.');
|
|
138
|
+
}
|
|
139
|
+
if (image.description !== undefined && typeof image.description !== 'string') {
|
|
140
|
+
throw new TypeError('Each image.description, when provided, must be a string.');
|
|
141
|
+
}
|
|
136
142
|
}
|
|
137
143
|
}
|
|
138
144
|
if (tags.comment !== undefined && typeof tags.comment !== 'string') {
|
|
@@ -136,16 +136,6 @@ export const readSignedExpGolomb = (bitstream) => {
|
|
|
136
136
|
? -(codeNum / 2)
|
|
137
137
|
: (codeNum + 1) / 2;
|
|
138
138
|
};
|
|
139
|
-
export const writeBits = (bytes, start, end, value) => {
|
|
140
|
-
for (let i = start; i < end; i++) {
|
|
141
|
-
const byteIndex = Math.floor(i / 8);
|
|
142
|
-
let byte = bytes[byteIndex];
|
|
143
|
-
const bitIndex = 0b111 - (i & 0b111);
|
|
144
|
-
byte &= ~(1 << bitIndex);
|
|
145
|
-
byte |= ((value & (1 << (end - i - 1))) >> (end - i - 1)) << bitIndex;
|
|
146
|
-
bytes[byteIndex] = byte;
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
139
|
export const toUint8Array = (source) => {
|
|
150
140
|
if (source.constructor === Uint8Array) { // We want a true Uint8Array, not something that extends it like Buffer
|
|
151
141
|
return source;
|
|
@@ -169,7 +159,7 @@ export const toDataView = (source) => {
|
|
|
169
159
|
}
|
|
170
160
|
};
|
|
171
161
|
// Include a polyfill for environments that don't have TextEncoder (like AudioWorkletGlobalScope)
|
|
172
|
-
export const TextEncoder = typeof globalThis.TextEncoder !== 'undefined'
|
|
162
|
+
export const TextEncoder = /* #__PURE__ */ (() => typeof globalThis.TextEncoder !== 'undefined'
|
|
173
163
|
? globalThis.TextEncoder
|
|
174
164
|
: class TextEncoder {
|
|
175
165
|
constructor() {
|
|
@@ -212,9 +202,9 @@ export const TextEncoder = typeof globalThis.TextEncoder !== 'undefined'
|
|
|
212
202
|
}
|
|
213
203
|
return bytes.slice(0, n);
|
|
214
204
|
}
|
|
215
|
-
};
|
|
205
|
+
})();
|
|
216
206
|
// Include a polyfill for environments that don't have TextEncoder (like AudioWorkletGlobalScope)
|
|
217
|
-
export const TextDecoder = typeof globalThis.TextDecoder !== 'undefined'
|
|
207
|
+
export const TextDecoder = /* #__PURE__ */ (() => typeof globalThis.TextDecoder !== 'undefined'
|
|
218
208
|
? globalThis.TextDecoder
|
|
219
209
|
: class TextDecoder {
|
|
220
210
|
constructor(label = 'utf-8') {
|
|
@@ -308,6 +298,9 @@ export const TextDecoder = typeof globalThis.TextDecoder !== 'undefined'
|
|
|
308
298
|
}
|
|
309
299
|
else {
|
|
310
300
|
units.push(0xfffd);
|
|
301
|
+
if (i + 1 === bytes.length) {
|
|
302
|
+
i++; // Native decoders count a dangling odd byte after this as part of the same error
|
|
303
|
+
}
|
|
311
304
|
}
|
|
312
305
|
}
|
|
313
306
|
else if (unit >= 0xdc00 && unit <= 0xdfff) {
|
|
@@ -327,8 +320,9 @@ export const TextDecoder = typeof globalThis.TextDecoder !== 'undefined'
|
|
|
327
320
|
}
|
|
328
321
|
return result;
|
|
329
322
|
}
|
|
330
|
-
};
|
|
323
|
+
})();
|
|
331
324
|
export const textDecoder = /* #__PURE__ */ new TextDecoder();
|
|
325
|
+
export const strictTextDecoder = /* #__PURE__ */ new TextDecoder('utf-8', { fatal: true });
|
|
332
326
|
export const textEncoder = /* #__PURE__ */ new TextEncoder();
|
|
333
327
|
export const isIso88591Compatible = (text) => {
|
|
334
328
|
for (let i = 0; i < text.length; i++) {
|
|
@@ -373,7 +367,7 @@ export const colorSpaceIsComplete = (colorSpace) => {
|
|
|
373
367
|
&& !!colorSpace.primaries
|
|
374
368
|
&& !!colorSpace.transfer
|
|
375
369
|
&& !!colorSpace.matrix
|
|
376
|
-
&& colorSpace.fullRange
|
|
370
|
+
&& colorSpace.fullRange != null);
|
|
377
371
|
};
|
|
378
372
|
export const colorSpaceIsEmpty = (colorSpace) => {
|
|
379
373
|
return (!colorSpace
|
|
@@ -573,13 +567,14 @@ export const setInt24 = (view, byteOffset, value, littleEndian) => {
|
|
|
573
567
|
setUint24(view, byteOffset, value, littleEndian);
|
|
574
568
|
};
|
|
575
569
|
export const setInt64 = (view, byteOffset, value, littleEndian) => {
|
|
570
|
+
value = Math.trunc(value);
|
|
576
571
|
if (littleEndian) {
|
|
577
572
|
view.setUint32(byteOffset + 0, value, true);
|
|
578
573
|
view.setInt32(byteOffset + 4, Math.floor(value / 2 ** 32), true);
|
|
579
574
|
}
|
|
580
575
|
else {
|
|
581
|
-
view.setInt32(byteOffset + 0, Math.floor(value / 2 ** 32),
|
|
582
|
-
view.setUint32(byteOffset + 4, value,
|
|
576
|
+
view.setInt32(byteOffset + 0, Math.floor(value / 2 ** 32), false);
|
|
577
|
+
view.setUint32(byteOffset + 4, value, false);
|
|
583
578
|
}
|
|
584
579
|
};
|
|
585
580
|
/**
|
|
@@ -593,9 +588,14 @@ export const mapAsyncGenerator = (generator, map) => {
|
|
|
593
588
|
if (result.done) {
|
|
594
589
|
return { value: undefined, done: true };
|
|
595
590
|
}
|
|
596
|
-
|
|
591
|
+
try {
|
|
597
592
|
return { value: map(result.value), done: false };
|
|
598
593
|
}
|
|
594
|
+
catch (error) {
|
|
595
|
+
// The consumer won't call return() after next() rejected, so we end the source ourselves
|
|
596
|
+
await generator.return();
|
|
597
|
+
throw error;
|
|
598
|
+
}
|
|
599
599
|
},
|
|
600
600
|
return() {
|
|
601
601
|
return generator.return();
|
|
@@ -770,7 +770,9 @@ export class CallSerializer {
|
|
|
770
770
|
this.currentPromise = Promise.resolve();
|
|
771
771
|
}
|
|
772
772
|
call(fn) {
|
|
773
|
-
|
|
773
|
+
const result = this.currentPromise.then(fn);
|
|
774
|
+
this.currentPromise = result.catch(() => { });
|
|
775
|
+
return result;
|
|
774
776
|
}
|
|
775
777
|
}
|
|
776
778
|
let isWebKitCache = null;
|
|
@@ -838,7 +840,7 @@ export const isCodecReclaimedError = (error) => {
|
|
|
838
840
|
&& error.name === 'QuotaExceededError'
|
|
839
841
|
&& /reclaimed/i.test(error.message);
|
|
840
842
|
};
|
|
841
|
-
const NativePromiseConstructor = /* #__PURE__ */ (async () => { })().constructor;
|
|
843
|
+
const NativePromiseConstructor = /* #__PURE__ */ (() => (async () => { })().constructor)();
|
|
842
844
|
/**
|
|
843
845
|
* Needed to properly deal with custom Promise implementations and because this is closer to how the JS spec does it.
|
|
844
846
|
*/
|
|
@@ -932,23 +934,37 @@ export const isNumber = (x) => {
|
|
|
932
934
|
return typeof x === 'number' && !Number.isNaN(x);
|
|
933
935
|
};
|
|
934
936
|
export const joinPaths = (basePath, relativePath) => {
|
|
935
|
-
//
|
|
936
|
-
if (
|
|
937
|
+
// A path that starts with a scheme followed by "//" is absolute already, as are data: and blob: URIs
|
|
938
|
+
if (/^(?:[a-z][a-z0-9+.-]*:\/\/|(?:data|blob):)/i.test(relativePath)) {
|
|
937
939
|
return relativePath;
|
|
938
940
|
}
|
|
939
|
-
// Strip query
|
|
941
|
+
// Strip the query and fragment from URL base paths so their contents don't mess up the join
|
|
940
942
|
if (basePath.includes('://')) {
|
|
941
|
-
const queryIndex = basePath.
|
|
943
|
+
const queryIndex = basePath.search(/[?#]/);
|
|
942
944
|
if (queryIndex !== -1) {
|
|
943
945
|
basePath = basePath.slice(0, queryIndex);
|
|
944
946
|
}
|
|
945
947
|
}
|
|
948
|
+
// Dot segments only mean something in the path, so the query and fragment stay out of the join and normalization
|
|
949
|
+
const suffixIndex = relativePath.search(/[?#]/);
|
|
950
|
+
const suffix = suffixIndex === -1 ? '' : relativePath.slice(suffixIndex);
|
|
951
|
+
if (suffixIndex !== -1) {
|
|
952
|
+
relativePath = relativePath.slice(0, suffixIndex);
|
|
953
|
+
}
|
|
946
954
|
let result;
|
|
947
|
-
if (relativePath
|
|
955
|
+
if (relativePath === '') {
|
|
956
|
+
// Just a query or fragment, which goes onto the base path itself
|
|
957
|
+
result = basePath;
|
|
958
|
+
}
|
|
959
|
+
else if (relativePath.startsWith('/')) {
|
|
948
960
|
const protocolIndex = basePath.indexOf('://');
|
|
949
961
|
if (protocolIndex === -1) {
|
|
950
962
|
result = relativePath;
|
|
951
963
|
}
|
|
964
|
+
else if (relativePath.startsWith('//')) {
|
|
965
|
+
// Protocol-relative URL
|
|
966
|
+
result = basePath.slice(0, protocolIndex + 1) + relativePath;
|
|
967
|
+
}
|
|
952
968
|
else {
|
|
953
969
|
const pathStart = basePath.indexOf('/', protocolIndex + 3);
|
|
954
970
|
if (pathStart === -1) {
|
|
@@ -960,8 +976,13 @@ export const joinPaths = (basePath, relativePath) => {
|
|
|
960
976
|
}
|
|
961
977
|
}
|
|
962
978
|
else {
|
|
979
|
+
const protocolIndex = basePath.indexOf('://');
|
|
963
980
|
const lastSlash = basePath.lastIndexOf('/');
|
|
964
|
-
if (lastSlash ===
|
|
981
|
+
if (protocolIndex !== -1 && lastSlash === protocolIndex + 2) {
|
|
982
|
+
// The base URL has no path
|
|
983
|
+
result = basePath + '/' + relativePath;
|
|
984
|
+
}
|
|
985
|
+
else if (lastSlash === -1) {
|
|
965
986
|
result = relativePath;
|
|
966
987
|
}
|
|
967
988
|
else {
|
|
@@ -982,36 +1003,30 @@ export const joinPaths = (basePath, relativePath) => {
|
|
|
982
1003
|
const normalized = [];
|
|
983
1004
|
for (const segment of segments) {
|
|
984
1005
|
if (segment === '..') {
|
|
985
|
-
normalized.
|
|
1006
|
+
if (normalized.length === 0 || normalized[normalized.length - 1] === '..') {
|
|
1007
|
+
normalized.push('..');
|
|
1008
|
+
}
|
|
1009
|
+
else if (normalized.length !== 1 || normalized[0] !== '') {
|
|
1010
|
+
// Like browsers, never go above the root
|
|
1011
|
+
normalized.pop();
|
|
1012
|
+
}
|
|
986
1013
|
}
|
|
987
1014
|
else if (segment !== '.') {
|
|
988
1015
|
normalized.push(segment);
|
|
989
1016
|
}
|
|
990
1017
|
}
|
|
991
|
-
return prefix + normalized.join('/');
|
|
1018
|
+
return prefix + normalized.join('/') + suffix;
|
|
992
1019
|
};
|
|
993
1020
|
// eg. path `/media.m3u8?token=abc%20123` and name `token` resolve to `abc 123`
|
|
994
1021
|
export const getQueryParameter = (path, name) => {
|
|
995
|
-
|
|
1022
|
+
// Everything after a # is the fragment, even a ?
|
|
1023
|
+
const fragmentIndex = path.indexOf('#');
|
|
1024
|
+
const pathWithoutFragment = fragmentIndex === -1 ? path : path.slice(0, fragmentIndex);
|
|
1025
|
+
const queryIndex = pathWithoutFragment.indexOf('?');
|
|
996
1026
|
if (queryIndex === -1) {
|
|
997
1027
|
return null;
|
|
998
1028
|
}
|
|
999
|
-
|
|
1000
|
-
const query = path.slice(queryIndex + 1, fragmentIndex === -1 ? undefined : fragmentIndex);
|
|
1001
|
-
for (const parameter of query.split('&')) {
|
|
1002
|
-
const equalsIndex = parameter.indexOf('=');
|
|
1003
|
-
const encodedName = equalsIndex === -1 ? parameter : parameter.slice(0, equalsIndex);
|
|
1004
|
-
const encodedValue = equalsIndex === -1 ? '' : parameter.slice(equalsIndex + 1);
|
|
1005
|
-
try {
|
|
1006
|
-
if (decodeURIComponent(encodedName) === name) {
|
|
1007
|
-
return decodeURIComponent(encodedValue);
|
|
1008
|
-
}
|
|
1009
|
-
}
|
|
1010
|
-
catch {
|
|
1011
|
-
// Malformed percent-encoding, so let's not treat this as the parameter we're looking for
|
|
1012
|
-
}
|
|
1013
|
-
}
|
|
1014
|
-
return null;
|
|
1029
|
+
return new URLSearchParams(pathWithoutFragment.slice(queryIndex + 1)).get(name);
|
|
1015
1030
|
};
|
|
1016
1031
|
export const arrayCount = (array, predicate) => {
|
|
1017
1032
|
let count = 0;
|
|
@@ -1262,7 +1277,15 @@ export class EventEmitter {
|
|
|
1262
1277
|
if (!listeners) {
|
|
1263
1278
|
return;
|
|
1264
1279
|
}
|
|
1265
|
-
|
|
1280
|
+
// Iterate over a snapshot so that listeners added during this emit only receive the next one
|
|
1281
|
+
for (const entry of [...listeners]) {
|
|
1282
|
+
if (!listeners.has(entry)) {
|
|
1283
|
+
continue;
|
|
1284
|
+
}
|
|
1285
|
+
// Remove before calling
|
|
1286
|
+
if (entry.once) {
|
|
1287
|
+
listeners.delete(entry);
|
|
1288
|
+
}
|
|
1266
1289
|
try {
|
|
1267
1290
|
entry.fn(data);
|
|
1268
1291
|
}
|
|
@@ -1271,9 +1294,6 @@ export class EventEmitter {
|
|
|
1271
1294
|
// log listener would recurse straight back into this handler.
|
|
1272
1295
|
console.error(error);
|
|
1273
1296
|
}
|
|
1274
|
-
if (entry.once) {
|
|
1275
|
-
listeners.delete(entry);
|
|
1276
|
-
}
|
|
1277
1297
|
}
|
|
1278
1298
|
}
|
|
1279
1299
|
}
|
|
@@ -1332,3 +1352,30 @@ export const isRecordStringString = (value) => {
|
|
|
1332
1352
|
&& Object.getPrototypeOf(value) === Object.prototype
|
|
1333
1353
|
&& Object.values(value).every(x => typeof x === 'string');
|
|
1334
1354
|
};
|
|
1355
|
+
export const createUtcDate = (year, monthIndex = 0, day = 1) => {
|
|
1356
|
+
const date = new Date(0);
|
|
1357
|
+
date.setUTCFullYear(year, monthIndex, day);
|
|
1358
|
+
return date;
|
|
1359
|
+
};
|
|
1360
|
+
// Anything from yyyy up to yyyy-MM-ddTHH:mm:ss.sss with a time zone
|
|
1361
|
+
// eslint-disable-next-line @stylistic/max-len
|
|
1362
|
+
const ISO_SUFFIX_REGEX = /^(\d{4})(?:-(\d{2})(?:-(\d{2})(?:[T ](\d{2})(?::(\d{2})(?::(\d{2})(?:\.(\d+))?)?)?)?)?)?(?:Z|([+-])(\d{2})(?::?(\d{2}))?)?$/;
|
|
1363
|
+
export const parseIsoSuffix = (text) => {
|
|
1364
|
+
const match = ISO_SUFFIX_REGEX.exec(text);
|
|
1365
|
+
if (!match) {
|
|
1366
|
+
return null;
|
|
1367
|
+
}
|
|
1368
|
+
const [, year, month = '01', day = '01', hours = '00', minutes = '00', seconds = '00', fraction = '', offsetSign = '+', offsetHours = '00', offsetMinutes = '00',] = match;
|
|
1369
|
+
const isoString = `${year}-${month}-${day}T${hours}:${minutes}:${seconds}`;
|
|
1370
|
+
const date = new Date(`${isoString}.${fraction.padEnd(3, '0').slice(0, 3)}Z`);
|
|
1371
|
+
// Out-of-range fields like a February 31 would otherwise roll over
|
|
1372
|
+
if (Number.isNaN(date.getTime())
|
|
1373
|
+
|| !date.toISOString().startsWith(isoString)
|
|
1374
|
+
|| Number(offsetHours) > 23
|
|
1375
|
+
|| Number(offsetMinutes) > 59) {
|
|
1376
|
+
return null;
|
|
1377
|
+
}
|
|
1378
|
+
const offsetInMinutes = (offsetSign === '-' ? -1 : 1) * (60 * Number(offsetHours) + Number(offsetMinutes));
|
|
1379
|
+
date.setTime(date.getTime() - 60_000 * offsetInMinutes);
|
|
1380
|
+
return date;
|
|
1381
|
+
};
|
|
@@ -7,12 +7,14 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Demuxer } from '../demuxer.js';
|
|
9
9
|
import { DEFAULT_TRACK_DISPOSITION } from '../metadata.js';
|
|
10
|
-
import { assert, AsyncMutex, binarySearchExact, binarySearchLessOrEqual, isThenable, toDataView, UNDETERMINED_LANGUAGE, } from '../misc.js';
|
|
10
|
+
import { assert, AsyncMutex, binarySearchExact, binarySearchLessOrEqual, isThenable, roundIfAlmostInteger, toDataView, UNDETERMINED_LANGUAGE, } from '../misc.js';
|
|
11
11
|
import { EncodedPacket, PLACEHOLDER_DATA } from '../packet.js';
|
|
12
|
-
import { getXingOffset, INFO, XING, XingFlags, computeAverageMp3FrameSize, getMp3ChannelCount, MP3_DECODER_DELAY, } from '../../shared/mp3-misc.js';
|
|
13
|
-
import { ID3_V1_TAG_SIZE, ID3_V2_HEADER_SIZE, parseId3V1Tag, parseId3V2Tag, readId3V2Header, } from '../id3.js';
|
|
14
|
-
import { readNextMp3FrameHeader } from './mp3-reader.js';
|
|
15
|
-
import {
|
|
12
|
+
import { getXingOffset, INFO, XING, XingFlags, computeAverageMp3FrameSize, getMp3ChannelCount, MP3_DECODER_DELAY, MP3_FRAME_HEADER_SIZE, readMp3FrameHeader, VBRI, } from '../../shared/mp3-misc.js';
|
|
13
|
+
import { ID3_V1_TAG_SIZE, ID3_V2_HEADER_SIZE, parseId3V1Tag, parseId3V2Tag, readId3V2Header, skipId3V2Tags, } from '../id3.js';
|
|
14
|
+
import { readConfirmedMp3FrameHeader, readNextMp3FrameHeader } from './mp3-reader.js';
|
|
15
|
+
import { Logging } from '../logging.js';
|
|
16
|
+
import { readAscii, readBytes, readU16Be, readU32Be, readU32Le } from '../reader.js';
|
|
17
|
+
const APE_TAG_FOOTER_SIZE = 32;
|
|
16
18
|
export class Mp3Demuxer extends Demuxer {
|
|
17
19
|
constructor(input) {
|
|
18
20
|
super(input);
|
|
@@ -51,30 +53,49 @@ export class Mp3Demuxer extends Demuxer {
|
|
|
51
53
|
})();
|
|
52
54
|
}
|
|
53
55
|
async advanceReader() {
|
|
56
|
+
let result;
|
|
54
57
|
if (this.lastLoadedPos === 0) {
|
|
55
|
-
//
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
58
|
+
// Start at the first confirmed frame, not at a false sync word in junk before it
|
|
59
|
+
const startPos = await skipId3V2Tags(this.reader, 0);
|
|
60
|
+
result = await readConfirmedMp3FrameHeader(this.reader, startPos, 4096, null);
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
// The next frame starts where the previous one ended (or a byte earlier, in case it was a byte too short)
|
|
64
|
+
result = await readNextMp3FrameHeader(this.reader, this.lastLoadedPos, this.lastLoadedPos + 2, this.firstFrameHeader);
|
|
65
|
+
if (!result) {
|
|
66
|
+
if (this.firstFrameHeader) {
|
|
67
|
+
// If that's because the frame there has a different sample rate, the stream ends here, since a
|
|
68
|
+
// track can only have one sample rate
|
|
69
|
+
let slice = this.reader.requestSlice(this.lastLoadedPos, MP3_FRAME_HEADER_SIZE + 1);
|
|
70
|
+
if (isThenable(slice))
|
|
71
|
+
slice = await slice;
|
|
72
|
+
if (slice) {
|
|
73
|
+
for (let i = 0; i < 2; i++) {
|
|
74
|
+
slice.filePos = this.lastLoadedPos + i;
|
|
75
|
+
const { header } = readMp3FrameHeader(readU32Be(slice), null);
|
|
76
|
+
if (header && header.sampleRate !== this.firstFrameHeader.sampleRate) {
|
|
77
|
+
Logging._warn(`The sample rate changes mid-stream (from ${this.firstFrameHeader.sampleRate} Hz to`
|
|
78
|
+
+ ` ${header.sampleRate} Hz), which isn't properly supported or handled by`
|
|
79
|
+
+ ` Mediabunny.`);
|
|
80
|
+
this.lastSampleLoaded = true;
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
67
85
|
}
|
|
68
|
-
|
|
86
|
+
// Something else follows, so let's resync on the next confirmed frame of the stream
|
|
87
|
+
const startPos = await skipId3V2Tags(this.reader, this.lastLoadedPos + 1);
|
|
88
|
+
result = await readConfirmedMp3FrameHeader(this.reader, startPos, 2 ** 16, this.firstFrameHeader);
|
|
69
89
|
}
|
|
70
90
|
}
|
|
71
|
-
const result = await readNextMp3FrameHeader(this.reader, this.lastLoadedPos, this.reader.fileSize, this.firstFrameHeader);
|
|
72
91
|
if (!result) {
|
|
73
92
|
this.lastSampleLoaded = true;
|
|
74
93
|
return;
|
|
75
94
|
}
|
|
76
95
|
const header = result.header;
|
|
77
96
|
this.lastLoadedPos = result.startPos + header.totalSize - 1; // -1 in case the frame is 1 byte too short
|
|
97
|
+
// Header frames are checked for on every frame, not just the first, since concatenated MP3 files can have them
|
|
98
|
+
// mid-stream too
|
|
78
99
|
const xingOffset = getXingOffset(header.mpegVersionId, header.channel);
|
|
79
100
|
let slice = this.reader.requestSlice(result.startPos + xingOffset, 4);
|
|
80
101
|
if (isThenable(slice))
|
|
@@ -89,11 +110,11 @@ export class Mp3Demuxer extends Demuxer {
|
|
|
89
110
|
this.xingFrameHeaderPos = result.startPos;
|
|
90
111
|
}
|
|
91
112
|
if (!this.xingData) {
|
|
92
|
-
let xingDataSlice = this.reader.requestSlice(result.startPos + xingOffset + 4,
|
|
113
|
+
let xingDataSlice = this.reader.requestSlice(result.startPos + xingOffset + 4, 8);
|
|
93
114
|
if (isThenable(xingDataSlice))
|
|
94
115
|
xingDataSlice = await xingDataSlice;
|
|
95
116
|
if (xingDataSlice) {
|
|
96
|
-
const xingData = readBytes(xingDataSlice,
|
|
117
|
+
const xingData = readBytes(xingDataSlice, 8);
|
|
97
118
|
const view = toDataView(xingData);
|
|
98
119
|
const flags = view.getUint32(0, false);
|
|
99
120
|
this.xingData = {
|
|
@@ -102,9 +123,6 @@ export class Mp3Demuxer extends Demuxer {
|
|
|
102
123
|
frameCount: (flags & XingFlags.FrameCount)
|
|
103
124
|
? view.getUint32(4, false)
|
|
104
125
|
: null,
|
|
105
|
-
fileSize: (flags & XingFlags.FileSize)
|
|
106
|
-
? view.getUint32(8, false)
|
|
107
|
-
: null,
|
|
108
126
|
};
|
|
109
127
|
const lameOffset = result.startPos + xingOffset + 8
|
|
110
128
|
+ ((flags & XingFlags.FrameCount) ? 4 : 0)
|
|
@@ -129,6 +147,32 @@ export class Mp3Demuxer extends Demuxer {
|
|
|
129
147
|
return;
|
|
130
148
|
}
|
|
131
149
|
}
|
|
150
|
+
// Fraunhofer's Layer III encoder writes a VBRI header instead, which always sits 32 bytes past the frame header
|
|
151
|
+
let vbriSlice = header.layer === 1
|
|
152
|
+
? this.reader.requestSlice(result.startPos + MP3_FRAME_HEADER_SIZE + 32, 18)
|
|
153
|
+
: null;
|
|
154
|
+
if (isThenable(vbriSlice))
|
|
155
|
+
vbriSlice = await vbriSlice;
|
|
156
|
+
if (vbriSlice) {
|
|
157
|
+
const word = readU32Be(vbriSlice);
|
|
158
|
+
const version = readU16Be(vbriSlice);
|
|
159
|
+
if (word === VBRI && version === 1) {
|
|
160
|
+
// Just like with Xing, there's no actual audio data in this frame
|
|
161
|
+
if (!this.xingFrameHeader) {
|
|
162
|
+
this.xingFrameHeader = header;
|
|
163
|
+
this.xingFrameHeaderPos = result.startPos;
|
|
164
|
+
}
|
|
165
|
+
if (!this.xingData) {
|
|
166
|
+
vbriSlice.skip(8); // Delay, quality and byte count
|
|
167
|
+
const frameCount = readU32Be(vbriSlice);
|
|
168
|
+
this.xingData = {
|
|
169
|
+
isVbr: true,
|
|
170
|
+
frameCount,
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
132
176
|
if (!this.firstFrameHeader) {
|
|
133
177
|
this.firstFrameHeader = header;
|
|
134
178
|
this.firstFrameHeaderPos = result.startPos;
|
|
@@ -205,9 +249,6 @@ class Mp3AudioTrackBacking {
|
|
|
205
249
|
getType() {
|
|
206
250
|
return 'audio';
|
|
207
251
|
}
|
|
208
|
-
getId() {
|
|
209
|
-
return 1;
|
|
210
|
-
}
|
|
211
252
|
getNumber() {
|
|
212
253
|
return 1;
|
|
213
254
|
}
|
|
@@ -240,8 +281,37 @@ class Mp3AudioTrackBacking {
|
|
|
240
281
|
else if (!demuxer.xingData?.isVbr) {
|
|
241
282
|
// Not tagged as VBR, assuming CBR
|
|
242
283
|
if (demuxer.reader.fileSize !== null) {
|
|
284
|
+
// Tags trailing the audio data mustn't count toward it
|
|
285
|
+
let audioEndPos = demuxer.reader.fileSize;
|
|
286
|
+
if (audioEndPos - demuxer.firstFrameHeaderPos >= ID3_V1_TAG_SIZE) {
|
|
287
|
+
let slice = demuxer.reader.requestSlice(audioEndPos - ID3_V1_TAG_SIZE, 3);
|
|
288
|
+
if (isThenable(slice))
|
|
289
|
+
slice = await slice;
|
|
290
|
+
assert(slice);
|
|
291
|
+
if (readAscii(slice, 3) === 'TAG') {
|
|
292
|
+
audioEndPos -= ID3_V1_TAG_SIZE;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
// APEv2 tags sit before any ID3v1 tag
|
|
296
|
+
if (audioEndPos - demuxer.firstFrameHeaderPos >= APE_TAG_FOOTER_SIZE) {
|
|
297
|
+
let slice = demuxer.reader.requestSlice(audioEndPos - APE_TAG_FOOTER_SIZE, APE_TAG_FOOTER_SIZE);
|
|
298
|
+
if (isThenable(slice))
|
|
299
|
+
slice = await slice;
|
|
300
|
+
assert(slice);
|
|
301
|
+
if (readAscii(slice, 8) === 'APETAGEX') {
|
|
302
|
+
slice.skip(4); // Version
|
|
303
|
+
const tagSize = readU32Le(slice); // Includes the footer, but not the header
|
|
304
|
+
slice.skip(4); // Item count
|
|
305
|
+
const flags = readU32Le(slice);
|
|
306
|
+
const hasHeader = (flags & (1 << 31)) !== 0;
|
|
307
|
+
audioEndPos -= tagSize + (hasHeader ? APE_TAG_FOOTER_SIZE : 0);
|
|
308
|
+
if (audioEndPos < demuxer.firstFrameHeaderPos) {
|
|
309
|
+
throw new Error('Invalid APE tag size.');
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
243
313
|
const averageFrameSize = computeAverageMp3FrameSize(demuxer.firstFrameHeader.lowSamplingFrequency, demuxer.firstFrameHeader.layer, demuxer.firstFrameHeader.bitrate, demuxer.firstFrameHeader.sampleRate);
|
|
244
|
-
const frameCount = (
|
|
314
|
+
const frameCount = (audioEndPos - demuxer.firstFrameHeaderPos) / averageFrameSize;
|
|
245
315
|
return (Math.round(frameCount) * demuxer.firstFrameHeader.audioSamplesInFrame - demuxer.primingDelay) / demuxer.firstFrameHeader.sampleRate;
|
|
246
316
|
}
|
|
247
317
|
}
|
|
@@ -331,8 +401,10 @@ class Mp3AudioTrackBacking {
|
|
|
331
401
|
async getPacket(timestamp, options) {
|
|
332
402
|
const release = await this.demuxer.readingMutex.acquire();
|
|
333
403
|
try {
|
|
404
|
+
const sampleRate = this.getSampleRate();
|
|
405
|
+
const snappedTimestamp = roundIfAlmostInteger(timestamp * sampleRate) / sampleRate;
|
|
334
406
|
while (true) {
|
|
335
|
-
const index = binarySearchLessOrEqual(this.demuxer.loadedSamples,
|
|
407
|
+
const index = binarySearchLessOrEqual(this.demuxer.loadedSamples, snappedTimestamp, x => x.timestamp);
|
|
336
408
|
if (index === -1 && this.demuxer.loadedSamples.length > 0) {
|
|
337
409
|
// We're before the first sample
|
|
338
410
|
return null;
|
|
@@ -25,13 +25,17 @@ export class Mp3Muxer extends Muxer {
|
|
|
25
25
|
}
|
|
26
26
|
async start() {
|
|
27
27
|
const release = await this.mutex.acquire();
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
try {
|
|
29
|
+
this.writer = await this.output._getRootWriter(!this.writeXingHeader);
|
|
30
|
+
this.mp3Writer = new Mp3Writer(this.writer);
|
|
31
|
+
if (!metadataTagsAreEmpty(this.output._metadataTags)) {
|
|
32
|
+
const id3Writer = new Id3V2Writer(this.writer);
|
|
33
|
+
id3Writer.writeId3V2Tag(this.output._metadataTags);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
finally {
|
|
37
|
+
release();
|
|
33
38
|
}
|
|
34
|
-
release();
|
|
35
39
|
}
|
|
36
40
|
async getMimeType() {
|
|
37
41
|
return 'audio/mpeg';
|
|
@@ -52,7 +56,11 @@ export class Mp3Muxer extends Muxer {
|
|
|
52
56
|
if (!header) {
|
|
53
57
|
throw new Error('Invalid MP3 header in sample.');
|
|
54
58
|
}
|
|
55
|
-
if (!this.xingFrameData) {
|
|
59
|
+
if (!this.xingFrameData && header.layer !== 1) {
|
|
60
|
+
// Xing frames only exist for Layer III; with Layers I and II, decoders would play one as audio
|
|
61
|
+
this.writeXingHeader = false;
|
|
62
|
+
}
|
|
63
|
+
else if (!this.xingFrameData) {
|
|
56
64
|
const xingOffset = getXingOffset(header.mpegVersionId, header.channel);
|
|
57
65
|
if (view.byteLength >= xingOffset + 4) {
|
|
58
66
|
const word = view.getUint32(xingOffset, false);
|
|
@@ -79,6 +87,7 @@ export class Mp3Muxer extends Muxer {
|
|
|
79
87
|
copyright: header.copyright,
|
|
80
88
|
original: header.original,
|
|
81
89
|
emphasis: header.emphasis,
|
|
90
|
+
targetBitrate: header.bitrate,
|
|
82
91
|
isCbr: false,
|
|
83
92
|
frameCount: null,
|
|
84
93
|
fileSize: null,
|
|
@@ -90,7 +99,6 @@ export class Mp3Muxer extends Muxer {
|
|
|
90
99
|
// frame do we know whether it should say Xing or Info.
|
|
91
100
|
this.xingFramePos = this.writer.getPos();
|
|
92
101
|
this.mp3Writer.writeXingFrame(this.xingFrameData);
|
|
93
|
-
this.frameCount++;
|
|
94
102
|
}
|
|
95
103
|
if (this.frameBitrate === null) {
|
|
96
104
|
this.frameBitrate = header.bitrate;
|
|
@@ -149,6 +157,7 @@ export class Mp3Muxer extends Muxer {
|
|
|
149
157
|
copyright: header.copyright,
|
|
150
158
|
original: header.original,
|
|
151
159
|
emphasis: header.emphasis,
|
|
160
|
+
targetBitrate: header.bitrate,
|
|
152
161
|
isCbr: false,
|
|
153
162
|
frameCount: null,
|
|
154
163
|
fileSize: null,
|
|
@@ -183,6 +192,7 @@ export class Mp3Muxer extends Muxer {
|
|
|
183
192
|
copyright: 0,
|
|
184
193
|
original: 0,
|
|
185
194
|
emphasis: 0,
|
|
195
|
+
targetBitrate: null,
|
|
186
196
|
isCbr: false,
|
|
187
197
|
frameCount: null,
|
|
188
198
|
fileSize: null,
|
|
@@ -197,7 +207,6 @@ export class Mp3Muxer extends Muxer {
|
|
|
197
207
|
}
|
|
198
208
|
this.xingFramePos = this.writer.getPos();
|
|
199
209
|
this.mp3Writer.writeXingFrame(this.xingFrameData);
|
|
200
|
-
this.frameCount++;
|
|
201
210
|
}
|
|
202
211
|
if (this.writeXingHeader) {
|
|
203
212
|
assert(this.xingFrameData);
|
|
@@ -5,9 +5,52 @@
|
|
|
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 { MP3_FRAME_HEADER_SIZE, getMp3ChannelCount, readMp3FrameHeader } from '../../shared/mp3-misc.js';
|
|
8
|
+
import { MP3_FRAME_HEADER_SIZE, getMp3ChannelCount, getXingOffset, INFO, readMp3FrameHeader, XING, } from '../../shared/mp3-misc.js';
|
|
9
|
+
import { ID3_V1_TAG_SIZE } from '../id3.js';
|
|
9
10
|
import { isThenable } from '../misc.js';
|
|
10
|
-
import { readU32Be } from '../reader.js';
|
|
11
|
+
import { readAscii, readU32Be } from '../reader.js';
|
|
12
|
+
export const readConfirmedMp3FrameHeader = async (reader, startPos, searchLength, ref) => {
|
|
13
|
+
let currentPos = startPos;
|
|
14
|
+
// Loop because the first frame we find may not actually be a frame (it's confirmed with what follows it)
|
|
15
|
+
while (true) {
|
|
16
|
+
const result = await readNextMp3FrameHeader(reader, currentPos, startPos + searchLength, ref);
|
|
17
|
+
if (!result) {
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
20
|
+
const { header } = result;
|
|
21
|
+
const xingOffset = getXingOffset(header.mpegVersionId, header.channel);
|
|
22
|
+
let xingSlice = reader.requestSlice(result.startPos + xingOffset, 4);
|
|
23
|
+
if (isThenable(xingSlice))
|
|
24
|
+
xingSlice = await xingSlice;
|
|
25
|
+
if (xingSlice) {
|
|
26
|
+
const word = readU32Be(xingSlice);
|
|
27
|
+
if (word === XING || word === INFO) {
|
|
28
|
+
return result;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
const frameEndPos = result.startPos + header.totalSize;
|
|
32
|
+
if (frameEndPos === reader.fileSize) {
|
|
33
|
+
// The frame ends the file
|
|
34
|
+
return result;
|
|
35
|
+
}
|
|
36
|
+
if (frameEndPos + ID3_V1_TAG_SIZE === reader.fileSize) {
|
|
37
|
+
// The frame is followed by nothing but an ID3v1 tag
|
|
38
|
+
let tagSlice = reader.requestSlice(frameEndPos, 3);
|
|
39
|
+
if (isThenable(tagSlice))
|
|
40
|
+
tagSlice = await tagSlice;
|
|
41
|
+
if (tagSlice && readAscii(tagSlice, 3) === 'TAG') {
|
|
42
|
+
return result;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
const nextResult = await readNextMp3FrameHeader(reader, frameEndPos, frameEndPos + MP3_FRAME_HEADER_SIZE);
|
|
46
|
+
if (nextResult
|
|
47
|
+
&& nextResult.header.channel === header.channel
|
|
48
|
+
&& nextResult.header.sampleRate === header.sampleRate) {
|
|
49
|
+
return result;
|
|
50
|
+
}
|
|
51
|
+
currentPos = result.startPos + 1;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
11
54
|
export const readNextMp3FrameHeader = async (reader, startPos, until, ref = null) => {
|
|
12
55
|
const CHUNK_SIZE = 2 ** 16; // So we don't need to grab thousands of slices
|
|
13
56
|
let currentPos = startPos;
|
|
@@ -30,7 +30,10 @@ export class Mp3Writer {
|
|
|
30
30
|
const startPos = this.writer.getPos();
|
|
31
31
|
this.crc = 0;
|
|
32
32
|
const firstByte = 0xff;
|
|
33
|
-
const secondByte = 0xe0
|
|
33
|
+
const secondByte = 0xe0
|
|
34
|
+
| (data.mpegVersionId << 3)
|
|
35
|
+
| (data.layer << 1)
|
|
36
|
+
| 1; // No CRC
|
|
34
37
|
let lowSamplingFrequency;
|
|
35
38
|
if (data.mpegVersionId & 2) {
|
|
36
39
|
lowSamplingFrequency = (data.mpegVersionId & 1) ? 0 : 1;
|
|
@@ -43,9 +46,13 @@ export class Mp3Writer {
|
|
|
43
46
|
const neededBytes = data.encoderDelayInSamples === null ? 155 : xingOffset + 8 + 4 + 4 + 100 + 36;
|
|
44
47
|
let bitrateIndex = -1;
|
|
45
48
|
const bitrateOffset = lowSamplingFrequency * 16 * 4 + data.layer * 16;
|
|
46
|
-
//
|
|
49
|
+
// Find the lowest bitrate that's at least the target bitrate and whose frame is large enough to fit all the
|
|
50
|
+
// data. That way, a CBR file states the same bitrate throughout.
|
|
47
51
|
for (let i = 0; i < 16; i++) {
|
|
48
52
|
const kbr = KILOBIT_RATES[bitrateOffset + i];
|
|
53
|
+
if (1000 * kbr < (data.targetBitrate ?? 0)) {
|
|
54
|
+
continue;
|
|
55
|
+
}
|
|
49
56
|
const size = computeMp3FrameSize(lowSamplingFrequency, data.layer, 1000 * kbr, data.sampleRate, padding);
|
|
50
57
|
if (size >= neededBytes) {
|
|
51
58
|
bitrateIndex = i;
|