@archipelagolab/lobi 1.0.6 → 1.0.7
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/CHANGELOG.md +164 -0
- package/SPEC-SUPPORT.md +116 -0
- package/api.ts +18 -0
- package/auth-presence.ts +56 -0
- package/channel-plugin-api.ts +3 -0
- package/cli-metadata.ts +11 -0
- package/contract-api.ts +17 -0
- package/helper-api.ts +3 -0
- package/index.test.ts +61 -0
- package/index.ts +51 -0
- package/openclaw.plugin.json +10 -10
- package/package.json +13 -19
- package/plugin-entry.handlers.runtime.ts +1 -0
- package/runtime-api.ts +54 -0
- package/runtime-heavy-api.ts +1 -0
- package/secret-contract-api.ts +5 -0
- package/setup-entry.ts +13 -0
- package/src/account-selection.test.ts +124 -0
- package/src/account-selection.ts +220 -0
- package/src/actions.account-propagation.test.ts +251 -0
- package/src/actions.test.ts +251 -0
- package/src/actions.ts +336 -0
- package/src/approval-auth.test.ts +23 -0
- package/src/approval-auth.ts +25 -0
- package/src/approval-handler.runtime.test.ts +46 -0
- package/src/approval-handler.runtime.ts +400 -0
- package/src/approval-ids.ts +6 -0
- package/src/approval-native.test.ts +329 -0
- package/src/approval-native.ts +336 -0
- package/src/approval-reactions.test.ts +107 -0
- package/src/approval-reactions.ts +158 -0
- package/src/auth-precedence.ts +61 -0
- package/src/channel-account-paths.ts +92 -0
- package/src/channel.account-paths.test.ts +102 -0
- package/src/channel.directory.test.ts +601 -0
- package/src/channel.resolve.test.ts +38 -0
- package/src/channel.runtime.ts +16 -0
- package/src/channel.setup.test.ts +269 -0
- package/src/channel.ts +570 -0
- package/src/cli-metadata.ts +19 -0
- package/src/cli.test.ts +1015 -0
- package/src/cli.ts +1198 -0
- package/src/config-adapter.ts +41 -0
- package/src/config-schema.test.ts +90 -0
- package/src/config-schema.ts +114 -0
- package/src/directory-live.test.ts +200 -0
- package/src/directory-live.ts +238 -0
- package/src/doctor-contract.ts +287 -0
- package/src/doctor.test.ts +440 -0
- package/src/doctor.ts +262 -0
- package/src/env-vars.ts +92 -0
- package/src/exec-approval-resolver.test.ts +68 -0
- package/src/exec-approval-resolver.ts +23 -0
- package/src/exec-approvals.test.ts +483 -0
- package/src/exec-approvals.ts +290 -0
- package/src/group-mentions.ts +41 -0
- package/src/legacy-crypto-inspector-availability.test.ts +81 -0
- package/src/legacy-crypto-inspector-availability.ts +60 -0
- package/src/legacy-crypto.test.ts +234 -0
- package/src/legacy-crypto.ts +549 -0
- package/src/legacy-state.test.ts +86 -0
- package/src/legacy-state.ts +156 -0
- package/src/matrix/account-config.ts +150 -0
- package/src/matrix/accounts.readiness.test.ts +27 -0
- package/src/matrix/accounts.test.ts +757 -0
- package/src/matrix/accounts.ts +194 -0
- package/src/matrix/actions/client.test.ts +215 -0
- package/src/matrix/actions/client.ts +31 -0
- package/src/matrix/actions/devices.test.ts +114 -0
- package/src/matrix/actions/devices.ts +34 -0
- package/src/matrix/actions/limits.test.ts +15 -0
- package/src/matrix/actions/limits.ts +6 -0
- package/src/matrix/actions/messages.test.ts +289 -0
- package/src/matrix/actions/messages.ts +123 -0
- package/src/matrix/actions/pins.test.ts +74 -0
- package/src/matrix/actions/pins.ts +64 -0
- package/src/matrix/actions/polls.test.ts +71 -0
- package/src/matrix/actions/polls.ts +109 -0
- package/src/matrix/actions/profile.test.ts +109 -0
- package/src/matrix/actions/profile.ts +37 -0
- package/src/matrix/actions/reactions.test.ts +135 -0
- package/src/matrix/actions/reactions.ts +59 -0
- package/src/matrix/actions/room.test.ts +79 -0
- package/src/matrix/actions/room.ts +71 -0
- package/src/matrix/actions/summary.test.ts +87 -0
- package/src/matrix/actions/summary.ts +88 -0
- package/src/matrix/actions/types.ts +82 -0
- package/src/matrix/actions/verification.test.ts +105 -0
- package/src/matrix/actions/verification.ts +237 -0
- package/src/matrix/actions.ts +37 -0
- package/src/matrix/active-client.ts +26 -0
- package/src/matrix/async-lock.ts +18 -0
- package/src/matrix/backup-health.ts +115 -0
- package/src/matrix/client/config-runtime-api.ts +14 -0
- package/src/matrix/client/config-secret-input.runtime.ts +1 -0
- package/src/matrix/client/config.ts +979 -0
- package/src/matrix/client/create-client.test.ts +115 -0
- package/src/matrix/client/create-client.ts +101 -0
- package/src/matrix/client/env-auth.ts +6 -0
- package/src/matrix/client/file-sync-store.test.ts +265 -0
- package/src/matrix/client/file-sync-store.ts +289 -0
- package/src/matrix/client/logging.ts +123 -0
- package/src/matrix/client/migration-snapshot.runtime.ts +1 -0
- package/src/matrix/client/private-network-host.ts +56 -0
- package/src/matrix/client/runtime.ts +4 -0
- package/src/matrix/client/shared.test.ts +344 -0
- package/src/matrix/client/shared.ts +306 -0
- package/src/matrix/client/storage.test.ts +634 -0
- package/src/matrix/client/storage.ts +544 -0
- package/src/matrix/client/types.ts +50 -0
- package/src/matrix/client-bootstrap.test.ts +84 -0
- package/src/matrix/client-bootstrap.ts +164 -0
- package/src/matrix/client-resolver.test-helpers.ts +147 -0
- package/src/matrix/client.test.ts +1521 -0
- package/src/matrix/client.ts +23 -0
- package/src/matrix/config-paths.ts +31 -0
- package/src/matrix/config-update.test.ts +237 -0
- package/src/matrix/config-update.ts +291 -0
- package/src/matrix/credentials-read.ts +206 -0
- package/src/matrix/credentials-write.runtime.ts +26 -0
- package/src/matrix/credentials.test.ts +501 -0
- package/src/matrix/credentials.ts +95 -0
- package/src/matrix/deps.test.ts +74 -0
- package/src/matrix/deps.ts +225 -0
- package/src/matrix/device-health.test.ts +45 -0
- package/src/matrix/device-health.ts +31 -0
- package/src/matrix/direct-management.test.ts +350 -0
- package/src/matrix/direct-management.ts +347 -0
- package/src/matrix/direct-room.test.ts +61 -0
- package/src/matrix/direct-room.ts +128 -0
- package/src/matrix/draft-stream.test.ts +406 -0
- package/src/matrix/draft-stream.ts +216 -0
- package/src/matrix/encryption-guidance.ts +27 -0
- package/src/matrix/errors.ts +21 -0
- package/src/matrix/format.test.ts +340 -0
- package/src/matrix/format.ts +428 -0
- package/src/matrix/legacy-crypto-inspector.ts +95 -0
- package/src/matrix/media-errors.ts +20 -0
- package/src/matrix/media-text.ts +169 -0
- package/src/matrix/monitor/access-state.test.ts +45 -0
- package/src/matrix/monitor/access-state.ts +77 -0
- package/src/matrix/monitor/ack-config.test.ts +57 -0
- package/src/matrix/monitor/ack-config.ts +26 -0
- package/src/matrix/monitor/allowlist.test.ts +45 -0
- package/src/matrix/monitor/allowlist.ts +94 -0
- package/src/matrix/monitor/auto-join.test.ts +203 -0
- package/src/matrix/monitor/auto-join.ts +86 -0
- package/src/matrix/monitor/config.test.ts +197 -0
- package/src/matrix/monitor/config.ts +303 -0
- package/src/matrix/monitor/context-summary.ts +43 -0
- package/src/matrix/monitor/direct.test.ts +529 -0
- package/src/matrix/monitor/direct.ts +270 -0
- package/src/matrix/monitor/events.test.ts +1524 -0
- package/src/matrix/monitor/events.ts +213 -0
- package/src/matrix/monitor/handler.body-for-agent.test.ts +396 -0
- package/src/matrix/monitor/handler.group-history.test.ts +648 -0
- package/src/matrix/monitor/handler.media-failure.test.ts +267 -0
- package/src/matrix/monitor/handler.test-helpers.ts +308 -0
- package/src/matrix/monitor/handler.test.ts +2952 -0
- package/src/matrix/monitor/handler.thread-root-media.test.ts +82 -0
- package/src/matrix/monitor/handler.ts +1679 -0
- package/src/matrix/monitor/inbound-dedupe.test.ts +146 -0
- package/src/matrix/monitor/inbound-dedupe.ts +267 -0
- package/src/matrix/monitor/index.test.ts +920 -0
- package/src/matrix/monitor/index.ts +434 -0
- package/src/matrix/monitor/legacy-crypto-restore.test.ts +206 -0
- package/src/matrix/monitor/legacy-crypto-restore.ts +139 -0
- package/src/matrix/monitor/location.ts +100 -0
- package/src/matrix/monitor/media.test.ts +159 -0
- package/src/matrix/monitor/media.ts +119 -0
- package/src/matrix/monitor/mentions.test.ts +289 -0
- package/src/matrix/monitor/mentions.ts +177 -0
- package/src/matrix/monitor/reaction-events.test.ts +326 -0
- package/src/matrix/monitor/reaction-events.ts +187 -0
- package/src/matrix/monitor/recent-invite.test.ts +92 -0
- package/src/matrix/monitor/recent-invite.ts +30 -0
- package/src/matrix/monitor/replies.test.ts +265 -0
- package/src/matrix/monitor/replies.ts +136 -0
- package/src/matrix/monitor/reply-context.test.ts +276 -0
- package/src/matrix/monitor/reply-context.ts +92 -0
- package/src/matrix/monitor/room-history.test.ts +258 -0
- package/src/matrix/monitor/room-history.ts +301 -0
- package/src/matrix/monitor/room-info.test.ts +201 -0
- package/src/matrix/monitor/room-info.ts +126 -0
- package/src/matrix/monitor/rooms.test.ts +121 -0
- package/src/matrix/monitor/rooms.ts +52 -0
- package/src/matrix/monitor/route.test.ts +255 -0
- package/src/matrix/monitor/route.ts +178 -0
- package/src/matrix/monitor/runtime-api.ts +31 -0
- package/src/matrix/monitor/startup-verification.test.ts +294 -0
- package/src/matrix/monitor/startup-verification.ts +237 -0
- package/src/matrix/monitor/startup.test.ts +257 -0
- package/src/matrix/monitor/startup.ts +218 -0
- package/src/matrix/monitor/status.ts +111 -0
- package/src/matrix/monitor/sync-lifecycle.test.ts +224 -0
- package/src/matrix/monitor/sync-lifecycle.ts +91 -0
- package/src/matrix/monitor/task-runner.ts +38 -0
- package/src/matrix/monitor/thread-context.test.ts +149 -0
- package/src/matrix/monitor/thread-context.ts +108 -0
- package/src/matrix/monitor/threads.test.ts +68 -0
- package/src/matrix/monitor/threads.ts +85 -0
- package/src/matrix/monitor/types.ts +30 -0
- package/src/matrix/monitor/verification-events.ts +627 -0
- package/src/matrix/monitor/verification-utils.test.ts +47 -0
- package/src/matrix/monitor/verification-utils.ts +46 -0
- package/src/matrix/outbound-media-runtime.ts +1 -0
- package/src/matrix/poll-summary.ts +110 -0
- package/src/matrix/poll-types.test.ts +205 -0
- package/src/matrix/poll-types.ts +433 -0
- package/src/matrix/probe.runtime.ts +4 -0
- package/src/matrix/probe.test.ts +154 -0
- package/src/matrix/probe.ts +96 -0
- package/src/matrix/profile.test.ts +154 -0
- package/src/matrix/profile.ts +184 -0
- package/src/matrix/reaction-common.test.ts +96 -0
- package/src/matrix/reaction-common.ts +147 -0
- package/src/matrix/sdk/crypto-bootstrap.test.ts +505 -0
- package/src/matrix/sdk/crypto-bootstrap.ts +341 -0
- package/src/matrix/sdk/crypto-facade.test.ts +197 -0
- package/src/matrix/sdk/crypto-facade.ts +207 -0
- package/src/matrix/sdk/crypto-node.runtime.test.ts +27 -0
- package/src/matrix/sdk/crypto-node.runtime.ts +9 -0
- package/src/matrix/sdk/crypto-runtime.ts +11 -0
- package/src/matrix/sdk/decrypt-bridge.ts +356 -0
- package/src/matrix/sdk/event-helpers.test.ts +60 -0
- package/src/matrix/sdk/event-helpers.ts +71 -0
- package/src/matrix/sdk/http-client.test.ts +134 -0
- package/src/matrix/sdk/http-client.ts +87 -0
- package/src/matrix/sdk/idb-persistence-lock.ts +51 -0
- package/src/matrix/sdk/idb-persistence.lock-order.test.ts +108 -0
- package/src/matrix/sdk/idb-persistence.test-helpers.ts +88 -0
- package/src/matrix/sdk/idb-persistence.test.ts +149 -0
- package/src/matrix/sdk/idb-persistence.ts +283 -0
- package/src/matrix/sdk/logger.test.ts +25 -0
- package/src/matrix/sdk/logger.ts +108 -0
- package/src/matrix/sdk/read-response-with-limit.ts +19 -0
- package/src/matrix/sdk/recovery-key-store.test.ts +385 -0
- package/src/matrix/sdk/recovery-key-store.ts +430 -0
- package/src/matrix/sdk/transport.test.ts +161 -0
- package/src/matrix/sdk/transport.ts +344 -0
- package/src/matrix/sdk/types.ts +236 -0
- package/src/matrix/sdk/verification-manager.test.ts +509 -0
- package/src/matrix/sdk/verification-manager.ts +694 -0
- package/src/matrix/sdk/verification-status.ts +23 -0
- package/src/matrix/sdk.test.ts +2568 -0
- package/src/matrix/sdk.ts +1789 -0
- package/src/matrix/send/client.test.ts +174 -0
- package/src/matrix/send/client.ts +90 -0
- package/src/matrix/send/formatting.ts +189 -0
- package/src/matrix/send/media.ts +244 -0
- package/src/matrix/send/targets.test.ts +254 -0
- package/src/matrix/send/targets.ts +104 -0
- package/src/matrix/send/types.ts +134 -0
- package/src/matrix/send.test.ts +958 -0
- package/src/matrix/send.ts +609 -0
- package/src/matrix/session-store-metadata.ts +108 -0
- package/src/matrix/startup-abort.ts +44 -0
- package/src/matrix/sync-state.ts +27 -0
- package/src/matrix/target-ids.ts +102 -0
- package/src/matrix/thread-bindings-shared.ts +201 -0
- package/src/matrix/thread-bindings.test.ts +673 -0
- package/src/matrix/thread-bindings.ts +577 -0
- package/src/matrix-migration.runtime.ts +9 -0
- package/src/migration-config.test.ts +228 -0
- package/src/migration-config.ts +243 -0
- package/src/migration-snapshot-backup.ts +117 -0
- package/src/migration-snapshot.test.ts +184 -0
- package/src/migration-snapshot.ts +55 -0
- package/src/onboarding.resolve.test.ts +55 -0
- package/src/onboarding.test-harness.ts +158 -0
- package/src/onboarding.test.ts +665 -0
- package/src/onboarding.ts +773 -0
- package/src/outbound.test.ts +173 -0
- package/src/outbound.ts +78 -0
- package/src/plugin-entry.runtime.js +159 -0
- package/src/plugin-entry.runtime.test.ts +108 -0
- package/src/plugin-entry.runtime.ts +68 -0
- package/src/profile-update.ts +68 -0
- package/src/record-shared.ts +3 -0
- package/src/resolve-targets.test.ts +178 -0
- package/src/resolve-targets.ts +175 -0
- package/src/resolver.ts +21 -0
- package/src/runtime-api.ts +144 -0
- package/src/runtime.ts +7 -0
- package/src/secret-contract.ts +174 -0
- package/src/session-route.test.ts +315 -0
- package/src/session-route.ts +113 -0
- package/src/setup-bootstrap.ts +94 -0
- package/src/setup-config.ts +222 -0
- package/src/setup-contract.ts +89 -0
- package/src/setup-core.test.ts +326 -0
- package/src/setup-core.ts +50 -0
- package/src/setup-surface.ts +4 -0
- package/src/startup-maintenance.test.ts +227 -0
- package/src/startup-maintenance.ts +114 -0
- package/src/storage-paths.ts +92 -0
- package/src/test-helpers.ts +42 -0
- package/src/test-mocks.ts +55 -0
- package/src/test-runtime.ts +72 -0
- package/src/test-support/monitor-route-test-support.ts +8 -0
- package/src/tool-actions.runtime.ts +1 -0
- package/src/tool-actions.test.ts +422 -0
- package/src/tool-actions.ts +498 -0
- package/src/types.ts +230 -0
- package/test-api.ts +2 -0
- package/thread-bindings-runtime.ts +4 -0
- package/tsconfig.json +16 -0
- package/LICENSE +0 -17
- package/README.md +0 -136
- package/dist/APEv2Parser-6EMKXRZS.js +0 -15
- package/dist/APEv2Parser-6EMKXRZS.js.map +0 -7
- package/dist/APEv2Parser-FYYGMFPI.js +0 -15
- package/dist/APEv2Parser-FYYGMFPI.js.map +0 -7
- package/dist/AiffParser-E6XWRTXM.js +0 -194
- package/dist/AiffParser-E6XWRTXM.js.map +0 -7
- package/dist/AiffParser-JHSDQA7T.js +0 -194
- package/dist/AiffParser-JHSDQA7T.js.map +0 -7
- package/dist/AsfParser-TPCQDEJB.js +0 -620
- package/dist/AsfParser-TPCQDEJB.js.map +0 -7
- package/dist/AsfParser-WSOH2JQY.js +0 -620
- package/dist/AsfParser-WSOH2JQY.js.map +0 -7
- package/dist/DsdiffParser-CGD3C3TL.js +0 -192
- package/dist/DsdiffParser-CGD3C3TL.js.map +0 -7
- package/dist/DsdiffParser-EUWJ4YAR.js +0 -192
- package/dist/DsdiffParser-EUWJ4YAR.js.map +0 -7
- package/dist/DsfParser-3UTIJVNF.js +0 -114
- package/dist/DsfParser-3UTIJVNF.js.map +0 -7
- package/dist/DsfParser-R6TPBJIY.js +0 -114
- package/dist/DsfParser-R6TPBJIY.js.map +0 -7
- package/dist/FlacParser-HLLYPJ76.js +0 -16
- package/dist/FlacParser-HLLYPJ76.js.map +0 -7
- package/dist/FlacParser-VDASGZ3E.js +0 -16
- package/dist/FlacParser-VDASGZ3E.js.map +0 -7
- package/dist/MP4Parser-64RGJLUM.js +0 -1145
- package/dist/MP4Parser-64RGJLUM.js.map +0 -7
- package/dist/MP4Parser-SM7HYL3Z.js +0 -1145
- package/dist/MP4Parser-SM7HYL3Z.js.map +0 -7
- package/dist/MatroskaParser-O6RXAKYA.js +0 -662
- package/dist/MatroskaParser-O6RXAKYA.js.map +0 -7
- package/dist/MatroskaParser-X7WRZ6D4.js +0 -662
- package/dist/MatroskaParser-X7WRZ6D4.js.map +0 -7
- package/dist/MpegParser-B6NX6DS3.js +0 -652
- package/dist/MpegParser-B6NX6DS3.js.map +0 -7
- package/dist/MpegParser-KXQEC6KD.js +0 -652
- package/dist/MpegParser-KXQEC6KD.js.map +0 -7
- package/dist/MusepackParser-NURI46TG.js +0 -331
- package/dist/MusepackParser-NURI46TG.js.map +0 -7
- package/dist/MusepackParser-WUBT63DS.js +0 -331
- package/dist/MusepackParser-WUBT63DS.js.map +0 -7
- package/dist/OggParser-5IYVBXPS.js +0 -448
- package/dist/OggParser-5IYVBXPS.js.map +0 -7
- package/dist/OggParser-ZY6E5C2P.js +0 -448
- package/dist/OggParser-ZY6E5C2P.js.map +0 -7
- package/dist/WavPackParser-5KTCSQEU.js +0 -209
- package/dist/WavPackParser-5KTCSQEU.js.map +0 -7
- package/dist/WavPackParser-RTEHKSJH.js +0 -209
- package/dist/WavPackParser-RTEHKSJH.js.map +0 -7
- package/dist/WaveParser-3R2NLXGP.js +0 -300
- package/dist/WaveParser-3R2NLXGP.js.map +0 -7
- package/dist/WaveParser-RZSHVQPZ.js +0 -300
- package/dist/WaveParser-RZSHVQPZ.js.map +0 -7
- package/dist/auth-presence.js +0 -46
- package/dist/auth-presence.js.map +0 -7
- package/dist/channel-plugin-api.js +0 -79
- package/dist/channel-plugin-api.js.map +0 -7
- package/dist/chunk-22WAAZ6I.js +0 -114
- package/dist/chunk-22WAAZ6I.js.map +0 -7
- package/dist/chunk-2A6HEFSO.js +0 -676
- package/dist/chunk-2A6HEFSO.js.map +0 -7
- package/dist/chunk-2GFROLI2.js +0 -261
- package/dist/chunk-2GFROLI2.js.map +0 -7
- package/dist/chunk-2IQWKATM.js +0 -127
- package/dist/chunk-2IQWKATM.js.map +0 -7
- package/dist/chunk-2KGHUHKU.js +0 -169
- package/dist/chunk-2KGHUHKU.js.map +0 -7
- package/dist/chunk-2NEQI4K6.js +0 -171
- package/dist/chunk-2NEQI4K6.js.map +0 -7
- package/dist/chunk-2OSJ3MTW.js +0 -175
- package/dist/chunk-2OSJ3MTW.js.map +0 -7
- package/dist/chunk-2Q626TDO.js +0 -27
- package/dist/chunk-2Q626TDO.js.map +0 -7
- package/dist/chunk-2U6OZ7N2.js +0 -155
- package/dist/chunk-2U6OZ7N2.js.map +0 -7
- package/dist/chunk-2V6Y4CAN.js +0 -25
- package/dist/chunk-2V6Y4CAN.js.map +0 -7
- package/dist/chunk-2WHRUMOM.js +0 -321
- package/dist/chunk-2WHRUMOM.js.map +0 -7
- package/dist/chunk-2Z4IOUDZ.js +0 -129
- package/dist/chunk-2Z4IOUDZ.js.map +0 -7
- package/dist/chunk-2ZEPAW7U.js +0 -154
- package/dist/chunk-2ZEPAW7U.js.map +0 -7
- package/dist/chunk-2ZI6JK5O.js +0 -63
- package/dist/chunk-2ZI6JK5O.js.map +0 -7
- package/dist/chunk-34UY6D6X.js +0 -36
- package/dist/chunk-34UY6D6X.js.map +0 -7
- package/dist/chunk-3GIK7SAA.js +0 -109
- package/dist/chunk-3GIK7SAA.js.map +0 -7
- package/dist/chunk-3JD6JSJD.js +0 -111
- package/dist/chunk-3JD6JSJD.js.map +0 -7
- package/dist/chunk-3OXOEMBS.js +0 -123
- package/dist/chunk-3OXOEMBS.js.map +0 -7
- package/dist/chunk-3R4ATE4Q.js +0 -176
- package/dist/chunk-3R4ATE4Q.js.map +0 -7
- package/dist/chunk-3TOEIHG5.js +0 -314
- package/dist/chunk-3TOEIHG5.js.map +0 -7
- package/dist/chunk-3TRKKAVT.js +0 -130
- package/dist/chunk-3TRKKAVT.js.map +0 -7
- package/dist/chunk-3UFTTK7C.js +0 -418
- package/dist/chunk-3UFTTK7C.js.map +0 -7
- package/dist/chunk-3XO6AAIC.js +0 -25
- package/dist/chunk-3XO6AAIC.js.map +0 -7
- package/dist/chunk-427SAQME.js +0 -321
- package/dist/chunk-427SAQME.js.map +0 -7
- package/dist/chunk-4CFQNJ7F.js +0 -7
- package/dist/chunk-4CFQNJ7F.js.map +0 -7
- package/dist/chunk-4COI4L2Y.js +0 -31
- package/dist/chunk-4COI4L2Y.js.map +0 -7
- package/dist/chunk-4EKKDVG3.js +0 -1662
- package/dist/chunk-4EKKDVG3.js.map +0 -7
- package/dist/chunk-4JVNTZAI.js +0 -80
- package/dist/chunk-4JVNTZAI.js.map +0 -7
- package/dist/chunk-4L2QI6AY.js +0 -71
- package/dist/chunk-4L2QI6AY.js.map +0 -7
- package/dist/chunk-4O3BEYYM.js +0 -187
- package/dist/chunk-4O3BEYYM.js.map +0 -7
- package/dist/chunk-4OXPPDV6.js +0 -676
- package/dist/chunk-4OXPPDV6.js.map +0 -7
- package/dist/chunk-4QTZHELX.js +0 -51
- package/dist/chunk-4QTZHELX.js.map +0 -7
- package/dist/chunk-4U42OJMK.js +0 -217
- package/dist/chunk-4U42OJMK.js.map +0 -7
- package/dist/chunk-4WCKVGQ5.js +0 -193
- package/dist/chunk-4WCKVGQ5.js.map +0 -7
- package/dist/chunk-4XXERLFH.js +0 -95
- package/dist/chunk-4XXERLFH.js.map +0 -7
- package/dist/chunk-4Z2N4GW6.js +0 -247
- package/dist/chunk-4Z2N4GW6.js.map +0 -7
- package/dist/chunk-4ZY2BOQ4.js +0 -123
- package/dist/chunk-4ZY2BOQ4.js.map +0 -7
- package/dist/chunk-56HN4SH6.js +0 -46
- package/dist/chunk-56HN4SH6.js.map +0 -7
- package/dist/chunk-57ROEOHB.js +0 -183
- package/dist/chunk-57ROEOHB.js.map +0 -7
- package/dist/chunk-5APBBTGW.js +0 -7
- package/dist/chunk-5APBBTGW.js.map +0 -7
- package/dist/chunk-5BQ6LLNU.js +0 -39
- package/dist/chunk-5BQ6LLNU.js.map +0 -7
- package/dist/chunk-5LNGMBWW.js +0 -93
- package/dist/chunk-5LNGMBWW.js.map +0 -7
- package/dist/chunk-5XFQSYZ4.js +0 -52
- package/dist/chunk-5XFQSYZ4.js.map +0 -7
- package/dist/chunk-62N5N4AC.js +0 -241
- package/dist/chunk-62N5N4AC.js.map +0 -7
- package/dist/chunk-63QTHDJL.js +0 -52
- package/dist/chunk-63QTHDJL.js.map +0 -7
- package/dist/chunk-65UUVZ6B.js +0 -151
- package/dist/chunk-65UUVZ6B.js.map +0 -7
- package/dist/chunk-6COVTMAO.js +0 -3586
- package/dist/chunk-6COVTMAO.js.map +0 -7
- package/dist/chunk-6EYPDJUD.js +0 -34
- package/dist/chunk-6EYPDJUD.js.map +0 -7
- package/dist/chunk-6HDYPVA4.js +0 -15
- package/dist/chunk-6HDYPVA4.js.map +0 -7
- package/dist/chunk-6HX3DEXK.js +0 -178
- package/dist/chunk-6HX3DEXK.js.map +0 -7
- package/dist/chunk-6NO5VEVV.js +0 -18
- package/dist/chunk-6NO5VEVV.js.map +0 -7
- package/dist/chunk-6OP3FK5F.js +0 -266
- package/dist/chunk-6OP3FK5F.js.map +0 -7
- package/dist/chunk-6PZGDVLR.js +0 -465
- package/dist/chunk-6PZGDVLR.js.map +0 -7
- package/dist/chunk-6RBDFNSX.js +0 -88
- package/dist/chunk-6RBDFNSX.js.map +0 -7
- package/dist/chunk-6SOGH3TW.js +0 -163
- package/dist/chunk-6SOGH3TW.js.map +0 -7
- package/dist/chunk-6TWWCETB.js +0 -70
- package/dist/chunk-6TWWCETB.js.map +0 -7
- package/dist/chunk-6WFHPMUF.js +0 -17
- package/dist/chunk-6WFHPMUF.js.map +0 -7
- package/dist/chunk-72TGY3LX.js +0 -104
- package/dist/chunk-72TGY3LX.js.map +0 -7
- package/dist/chunk-76IE55K7.js +0 -392
- package/dist/chunk-76IE55K7.js.map +0 -7
- package/dist/chunk-77BEEAPD.js +0 -86
- package/dist/chunk-77BEEAPD.js.map +0 -7
- package/dist/chunk-77JJ6QJK.js +0 -50
- package/dist/chunk-77JJ6QJK.js.map +0 -7
- package/dist/chunk-7BIUNV33.js +0 -62
- package/dist/chunk-7BIUNV33.js.map +0 -7
- package/dist/chunk-7F3242AO.js +0 -86
- package/dist/chunk-7F3242AO.js.map +0 -7
- package/dist/chunk-7FLQSTPG.js +0 -57
- package/dist/chunk-7FLQSTPG.js.map +0 -7
- package/dist/chunk-7L37R42D.js +0 -52
- package/dist/chunk-7L37R42D.js.map +0 -7
- package/dist/chunk-7MP46JBP.js +0 -177
- package/dist/chunk-7MP46JBP.js.map +0 -7
- package/dist/chunk-7MVZYR2T.js +0 -87
- package/dist/chunk-7MVZYR2T.js.map +0 -7
- package/dist/chunk-7N7ISMPG.js +0 -50
- package/dist/chunk-7N7ISMPG.js.map +0 -7
- package/dist/chunk-7S7LQQPX.js +0 -127
- package/dist/chunk-7S7LQQPX.js.map +0 -7
- package/dist/chunk-7TTNY5FK.js +0 -21
- package/dist/chunk-7TTNY5FK.js.map +0 -7
- package/dist/chunk-7W73QCTR.js +0 -244
- package/dist/chunk-7W73QCTR.js.map +0 -7
- package/dist/chunk-7XXLU33Y.js +0 -76
- package/dist/chunk-7XXLU33Y.js.map +0 -7
- package/dist/chunk-7ZP3KYVO.js +0 -104
- package/dist/chunk-7ZP3KYVO.js.map +0 -7
- package/dist/chunk-AAO7BQEV.js +0 -258
- package/dist/chunk-AAO7BQEV.js.map +0 -7
- package/dist/chunk-AH4MLRYT.js +0 -91
- package/dist/chunk-AH4MLRYT.js.map +0 -7
- package/dist/chunk-AHKR32FH.js +0 -7
- package/dist/chunk-AHKR32FH.js.map +0 -7
- package/dist/chunk-ALKRFDAW.js +0 -94
- package/dist/chunk-ALKRFDAW.js.map +0 -7
- package/dist/chunk-AQQGAE7N.js +0 -12
- package/dist/chunk-AQQGAE7N.js.map +0 -7
- package/dist/chunk-ARGF232V.js +0 -32
- package/dist/chunk-ARGF232V.js.map +0 -7
- package/dist/chunk-ATCJOK3K.js +0 -24
- package/dist/chunk-ATCJOK3K.js.map +0 -7
- package/dist/chunk-AUUABFHL.js +0 -124
- package/dist/chunk-AUUABFHL.js.map +0 -7
- package/dist/chunk-AWW3YUGJ.js +0 -193
- package/dist/chunk-AWW3YUGJ.js.map +0 -7
- package/dist/chunk-AX7VEEWJ.js +0 -158
- package/dist/chunk-AX7VEEWJ.js.map +0 -7
- package/dist/chunk-B3NTODO7.js +0 -57
- package/dist/chunk-B3NTODO7.js.map +0 -7
- package/dist/chunk-BAX7Q6GR.js +0 -55
- package/dist/chunk-BAX7Q6GR.js.map +0 -7
- package/dist/chunk-BBM6BR3Z.js +0 -28
- package/dist/chunk-BBM6BR3Z.js.map +0 -7
- package/dist/chunk-BHXZMHSX.js +0 -109
- package/dist/chunk-BHXZMHSX.js.map +0 -7
- package/dist/chunk-BIUXDLVY.js +0 -62
- package/dist/chunk-BIUXDLVY.js.map +0 -7
- package/dist/chunk-BM7J2W36.js +0 -86
- package/dist/chunk-BM7J2W36.js.map +0 -7
- package/dist/chunk-BMFZL2P4.js +0 -97
- package/dist/chunk-BMFZL2P4.js.map +0 -7
- package/dist/chunk-BQXEXK4H.js +0 -114
- package/dist/chunk-BQXEXK4H.js.map +0 -7
- package/dist/chunk-BU2CTWBG.js +0 -30
- package/dist/chunk-BU2CTWBG.js.map +0 -7
- package/dist/chunk-BVKSCLF7.js +0 -195
- package/dist/chunk-BVKSCLF7.js.map +0 -7
- package/dist/chunk-BWA3D22L.js +0 -88
- package/dist/chunk-BWA3D22L.js.map +0 -7
- package/dist/chunk-CE24RSPL.js +0 -506
- package/dist/chunk-CE24RSPL.js.map +0 -7
- package/dist/chunk-CEB5S2Z5.js +0 -127
- package/dist/chunk-CEB5S2Z5.js.map +0 -7
- package/dist/chunk-CEKNTCJD.js +0 -177
- package/dist/chunk-CEKNTCJD.js.map +0 -7
- package/dist/chunk-CETZGSCP.js +0 -71
- package/dist/chunk-CETZGSCP.js.map +0 -7
- package/dist/chunk-CGBWMONK.js +0 -412
- package/dist/chunk-CGBWMONK.js.map +0 -7
- package/dist/chunk-CGFDIH77.js +0 -94
- package/dist/chunk-CGFDIH77.js.map +0 -7
- package/dist/chunk-CPLEC5LJ.js +0 -26
- package/dist/chunk-CPLEC5LJ.js.map +0 -7
- package/dist/chunk-CPNIXMGX.js +0 -127
- package/dist/chunk-CPNIXMGX.js.map +0 -7
- package/dist/chunk-CSJO73LD.js +0 -84
- package/dist/chunk-CSJO73LD.js.map +0 -7
- package/dist/chunk-CTKBDSL6.js +0 -81
- package/dist/chunk-CTKBDSL6.js.map +0 -7
- package/dist/chunk-CY6WHUCW.js +0 -54
- package/dist/chunk-CY6WHUCW.js.map +0 -7
- package/dist/chunk-D4GYYYMW.js +0 -155
- package/dist/chunk-D4GYYYMW.js.map +0 -7
- package/dist/chunk-D64CZG54.js +0 -78
- package/dist/chunk-D64CZG54.js.map +0 -7
- package/dist/chunk-D7Q6Z74D.js +0 -123
- package/dist/chunk-D7Q6Z74D.js.map +0 -7
- package/dist/chunk-DSGPDHF2.js +0 -737
- package/dist/chunk-DSGPDHF2.js.map +0 -7
- package/dist/chunk-DZIM4OWK.js +0 -17
- package/dist/chunk-DZIM4OWK.js.map +0 -7
- package/dist/chunk-E3GC4V5V.js +0 -30
- package/dist/chunk-E3GC4V5V.js.map +0 -7
- package/dist/chunk-E5HPDHCW.js +0 -34
- package/dist/chunk-E5HPDHCW.js.map +0 -7
- package/dist/chunk-E75BJJZ2.js +0 -635
- package/dist/chunk-E75BJJZ2.js.map +0 -7
- package/dist/chunk-EBXHW7ZO.js +0 -108
- package/dist/chunk-EBXHW7ZO.js.map +0 -7
- package/dist/chunk-EE4DHUUZ.js +0 -472
- package/dist/chunk-EE4DHUUZ.js.map +0 -7
- package/dist/chunk-EHELTAAD.js +0 -198
- package/dist/chunk-EHELTAAD.js.map +0 -7
- package/dist/chunk-EKXPSI7Z.js +0 -135
- package/dist/chunk-EKXPSI7Z.js.map +0 -7
- package/dist/chunk-EO35SCFP.js +0 -7
- package/dist/chunk-EO35SCFP.js.map +0 -7
- package/dist/chunk-ER2XTD2S.js +0 -271
- package/dist/chunk-ER2XTD2S.js.map +0 -7
- package/dist/chunk-ERCH75SH.js +0 -292
- package/dist/chunk-ERCH75SH.js.map +0 -7
- package/dist/chunk-ERXO3674.js +0 -54
- package/dist/chunk-ERXO3674.js.map +0 -7
- package/dist/chunk-EVFWZGFL.js +0 -235
- package/dist/chunk-EVFWZGFL.js.map +0 -7
- package/dist/chunk-EVPBRKMZ.js +0 -45
- package/dist/chunk-EVPBRKMZ.js.map +0 -7
- package/dist/chunk-F43CC2X2.js +0 -49
- package/dist/chunk-F43CC2X2.js.map +0 -7
- package/dist/chunk-F64TXVJJ.js +0 -158
- package/dist/chunk-F64TXVJJ.js.map +0 -7
- package/dist/chunk-F6AFJHWV.js +0 -45
- package/dist/chunk-F6AFJHWV.js.map +0 -7
- package/dist/chunk-F6APWSAA.js +0 -51
- package/dist/chunk-F6APWSAA.js.map +0 -7
- package/dist/chunk-F7LNS7G3.js +0 -235
- package/dist/chunk-F7LNS7G3.js.map +0 -7
- package/dist/chunk-FCNWR7ZX.js +0 -16352
- package/dist/chunk-FCNWR7ZX.js.map +0 -7
- package/dist/chunk-FFCG5NRU.js +0 -87
- package/dist/chunk-FFCG5NRU.js.map +0 -7
- package/dist/chunk-FG4NVFKM.js +0 -455
- package/dist/chunk-FG4NVFKM.js.map +0 -7
- package/dist/chunk-FHNEN6IR.js +0 -14
- package/dist/chunk-FHNEN6IR.js.map +0 -7
- package/dist/chunk-FJFC6CRR.js +0 -446
- package/dist/chunk-FJFC6CRR.js.map +0 -7
- package/dist/chunk-FK6RGYBB.js +0 -46
- package/dist/chunk-FK6RGYBB.js.map +0 -7
- package/dist/chunk-FMY6KXK6.js +0 -251
- package/dist/chunk-FMY6KXK6.js.map +0 -7
- package/dist/chunk-FPH56SCM.js +0 -21
- package/dist/chunk-FPH56SCM.js.map +0 -7
- package/dist/chunk-FQ4R7IOX.js +0 -32
- package/dist/chunk-FQ4R7IOX.js.map +0 -7
- package/dist/chunk-FQPYAPJJ.js +0 -124
- package/dist/chunk-FQPYAPJJ.js.map +0 -7
- package/dist/chunk-FQTLJO4W.js +0 -335
- package/dist/chunk-FQTLJO4W.js.map +0 -7
- package/dist/chunk-FVLJSB2W.js +0 -124
- package/dist/chunk-FVLJSB2W.js.map +0 -7
- package/dist/chunk-FVSH4Z6T.js +0 -173
- package/dist/chunk-FVSH4Z6T.js.map +0 -7
- package/dist/chunk-FVWBLEAD.js +0 -44
- package/dist/chunk-FVWBLEAD.js.map +0 -7
- package/dist/chunk-FYRKBNTI.js +0 -18
- package/dist/chunk-FYRKBNTI.js.map +0 -7
- package/dist/chunk-FYSARMGS.js +0 -93
- package/dist/chunk-FYSARMGS.js.map +0 -7
- package/dist/chunk-FZJOJ6P4.js +0 -28
- package/dist/chunk-FZJOJ6P4.js.map +0 -7
- package/dist/chunk-G46GHNDU.js +0 -4890
- package/dist/chunk-G46GHNDU.js.map +0 -7
- package/dist/chunk-G4TIS2SC.js +0 -56
- package/dist/chunk-G4TIS2SC.js.map +0 -7
- package/dist/chunk-GD6L3SLC.js +0 -30
- package/dist/chunk-GD6L3SLC.js.map +0 -7
- package/dist/chunk-GGWS7NQP.js +0 -247
- package/dist/chunk-GGWS7NQP.js.map +0 -7
- package/dist/chunk-GI2ZANRY.js +0 -24
- package/dist/chunk-GI2ZANRY.js.map +0 -7
- package/dist/chunk-GK3XVKXT.js +0 -737
- package/dist/chunk-GK3XVKXT.js.map +0 -7
- package/dist/chunk-GKOWCDQV.js +0 -699
- package/dist/chunk-GKOWCDQV.js.map +0 -7
- package/dist/chunk-GLLRCKKE.js +0 -26
- package/dist/chunk-GLLRCKKE.js.map +0 -7
- package/dist/chunk-GNYG6I36.js +0 -175
- package/dist/chunk-GNYG6I36.js.map +0 -7
- package/dist/chunk-GRBJYAYF.js +0 -129
- package/dist/chunk-GRBJYAYF.js.map +0 -7
- package/dist/chunk-GVYGUH2V.js +0 -7
- package/dist/chunk-GVYGUH2V.js.map +0 -7
- package/dist/chunk-GXDQGBA2.js +0 -106
- package/dist/chunk-GXDQGBA2.js.map +0 -7
- package/dist/chunk-GZAGAWSU.js +0 -28
- package/dist/chunk-GZAGAWSU.js.map +0 -7
- package/dist/chunk-H23E72SB.js +0 -163
- package/dist/chunk-H23E72SB.js.map +0 -7
- package/dist/chunk-H2HY73I6.js +0 -122
- package/dist/chunk-H2HY73I6.js.map +0 -7
- package/dist/chunk-H5MLA6PA.js +0 -29
- package/dist/chunk-H5MLA6PA.js.map +0 -7
- package/dist/chunk-H6YVV7GE.js +0 -22
- package/dist/chunk-H6YVV7GE.js.map +0 -7
- package/dist/chunk-H7KAUMBC.js +0 -635
- package/dist/chunk-H7KAUMBC.js.map +0 -7
- package/dist/chunk-HDPICD3P.js +0 -4890
- package/dist/chunk-HDPICD3P.js.map +0 -7
- package/dist/chunk-HGHU3TVL.js +0 -174
- package/dist/chunk-HGHU3TVL.js.map +0 -7
- package/dist/chunk-HJ5E2JRL.js +0 -88
- package/dist/chunk-HJ5E2JRL.js.map +0 -7
- package/dist/chunk-HJW3CKZL.js +0 -94
- package/dist/chunk-HJW3CKZL.js.map +0 -7
- package/dist/chunk-HKF5EBER.js +0 -418
- package/dist/chunk-HKF5EBER.js.map +0 -7
- package/dist/chunk-HLUR35G5.js +0 -30
- package/dist/chunk-HLUR35G5.js.map +0 -7
- package/dist/chunk-HNIW2NZU.js +0 -120
- package/dist/chunk-HNIW2NZU.js.map +0 -7
- package/dist/chunk-HP5HMWOM.js +0 -123
- package/dist/chunk-HP5HMWOM.js.map +0 -7
- package/dist/chunk-HQSHS6IB.js +0 -88
- package/dist/chunk-HQSHS6IB.js.map +0 -7
- package/dist/chunk-HSXRCP25.js +0 -171
- package/dist/chunk-HSXRCP25.js.map +0 -7
- package/dist/chunk-HTV3R73W.js +0 -51
- package/dist/chunk-HTV3R73W.js.map +0 -7
- package/dist/chunk-I26OPZLO.js +0 -28
- package/dist/chunk-I26OPZLO.js.map +0 -7
- package/dist/chunk-I7JJQ4BQ.js +0 -30
- package/dist/chunk-I7JJQ4BQ.js.map +0 -7
- package/dist/chunk-IJ6Y4W7F.js +0 -392
- package/dist/chunk-IJ6Y4W7F.js.map +0 -7
- package/dist/chunk-IJCMYMZB.js +0 -239
- package/dist/chunk-IJCMYMZB.js.map +0 -7
- package/dist/chunk-IJH4NOQ4.js +0 -18
- package/dist/chunk-IJH4NOQ4.js.map +0 -7
- package/dist/chunk-IMHRZQRH.js +0 -76
- package/dist/chunk-IMHRZQRH.js.map +0 -7
- package/dist/chunk-INNENDEE.js +0 -472
- package/dist/chunk-INNENDEE.js.map +0 -7
- package/dist/chunk-IOTLSMEQ.js +0 -177
- package/dist/chunk-IOTLSMEQ.js.map +0 -7
- package/dist/chunk-IQYYEHSM.js +0 -300
- package/dist/chunk-IQYYEHSM.js.map +0 -7
- package/dist/chunk-IRA5NJ4Q.js +0 -21
- package/dist/chunk-IRA5NJ4Q.js.map +0 -7
- package/dist/chunk-IU7EXXK7.js +0 -1662
- package/dist/chunk-IU7EXXK7.js.map +0 -7
- package/dist/chunk-IUXAKDAY.js +0 -102
- package/dist/chunk-IUXAKDAY.js.map +0 -7
- package/dist/chunk-JB6ZQEVR.js +0 -465
- package/dist/chunk-JB6ZQEVR.js.map +0 -7
- package/dist/chunk-JCWNMWNY.js +0 -102
- package/dist/chunk-JCWNMWNY.js.map +0 -7
- package/dist/chunk-JGIZPU2Y.js +0 -39
- package/dist/chunk-JGIZPU2Y.js.map +0 -7
- package/dist/chunk-JIU4FXA7.js +0 -485
- package/dist/chunk-JIU4FXA7.js.map +0 -7
- package/dist/chunk-JMYIFYY5.js +0 -233
- package/dist/chunk-JMYIFYY5.js.map +0 -7
- package/dist/chunk-JSZBX2TA.js +0 -5853
- package/dist/chunk-JSZBX2TA.js.map +0 -7
- package/dist/chunk-JU2Y33DB.js +0 -60
- package/dist/chunk-JU2Y33DB.js.map +0 -7
- package/dist/chunk-JVLRI4RU.js +0 -62
- package/dist/chunk-JVLRI4RU.js.map +0 -7
- package/dist/chunk-JZ3AVNZC.js +0 -44117
- package/dist/chunk-JZ3AVNZC.js.map +0 -7
- package/dist/chunk-K3HEWOHN.js +0 -30
- package/dist/chunk-K3HEWOHN.js.map +0 -7
- package/dist/chunk-K5EK4WZV.js +0 -7
- package/dist/chunk-K5EK4WZV.js.map +0 -7
- package/dist/chunk-KAWXMSYC.js +0 -58
- package/dist/chunk-KAWXMSYC.js.map +0 -7
- package/dist/chunk-KEGPHS4C.js +0 -80
- package/dist/chunk-KEGPHS4C.js.map +0 -7
- package/dist/chunk-KHFWQ334.js +0 -138
- package/dist/chunk-KHFWQ334.js.map +0 -7
- package/dist/chunk-KJW6JLM6.js +0 -95
- package/dist/chunk-KJW6JLM6.js.map +0 -7
- package/dist/chunk-KSEANSJE.js +0 -40
- package/dist/chunk-KSEANSJE.js.map +0 -7
- package/dist/chunk-KVU54E6W.js +0 -63
- package/dist/chunk-KVU54E6W.js.map +0 -7
- package/dist/chunk-KXXVR3DC.js +0 -244
- package/dist/chunk-KXXVR3DC.js.map +0 -7
- package/dist/chunk-L5OUVMHK.js +0 -174
- package/dist/chunk-L5OUVMHK.js.map +0 -7
- package/dist/chunk-L5T6XUDP.js +0 -412
- package/dist/chunk-L5T6XUDP.js.map +0 -7
- package/dist/chunk-LIFXTQ4U.js +0 -7287
- package/dist/chunk-LIFXTQ4U.js.map +0 -7
- package/dist/chunk-LIVQ7GIO.js +0 -86
- package/dist/chunk-LIVQ7GIO.js.map +0 -7
- package/dist/chunk-LMD5UTKM.js +0 -169
- package/dist/chunk-LMD5UTKM.js.map +0 -7
- package/dist/chunk-LO4F6E3N.js +0 -163
- package/dist/chunk-LO4F6E3N.js.map +0 -7
- package/dist/chunk-LSVKDUNM.js +0 -151
- package/dist/chunk-LSVKDUNM.js.map +0 -7
- package/dist/chunk-LTXNC6JX.js +0 -27
- package/dist/chunk-LTXNC6JX.js.map +0 -7
- package/dist/chunk-LUGTGPT6.js +0 -138
- package/dist/chunk-LUGTGPT6.js.map +0 -7
- package/dist/chunk-LVMK2GPM.js +0 -18
- package/dist/chunk-LVMK2GPM.js.map +0 -7
- package/dist/chunk-LXVPETLK.js +0 -1405
- package/dist/chunk-LXVPETLK.js.map +0 -7
- package/dist/chunk-LZNW24OB.js +0 -78
- package/dist/chunk-LZNW24OB.js.map +0 -7
- package/dist/chunk-LZQFDJNW.js +0 -300
- package/dist/chunk-LZQFDJNW.js.map +0 -7
- package/dist/chunk-M4VQPIF4.js +0 -5853
- package/dist/chunk-M4VQPIF4.js.map +0 -7
- package/dist/chunk-M64QE4QC.js +0 -64
- package/dist/chunk-M64QE4QC.js.map +0 -7
- package/dist/chunk-MAF6PSCJ.js +0 -44
- package/dist/chunk-MAF6PSCJ.js.map +0 -7
- package/dist/chunk-MBIX6Z7U.js +0 -80
- package/dist/chunk-MBIX6Z7U.js.map +0 -7
- package/dist/chunk-MDLLXMC3.js +0 -183
- package/dist/chunk-MDLLXMC3.js.map +0 -7
- package/dist/chunk-MEI5HTWV.js +0 -127
- package/dist/chunk-MEI5HTWV.js.map +0 -7
- package/dist/chunk-MH74AJ3A.js +0 -82
- package/dist/chunk-MH74AJ3A.js.map +0 -7
- package/dist/chunk-MIFIM4PI.js +0 -163
- package/dist/chunk-MIFIM4PI.js.map +0 -7
- package/dist/chunk-MISZB5QJ.js +0 -22
- package/dist/chunk-MISZB5QJ.js.map +0 -7
- package/dist/chunk-MJ27XQYG.js +0 -125
- package/dist/chunk-MJ27XQYG.js.map +0 -7
- package/dist/chunk-MJ2GW6SU.js +0 -163
- package/dist/chunk-MJ2GW6SU.js.map +0 -7
- package/dist/chunk-MLQY5SKR.js +0 -52
- package/dist/chunk-MLQY5SKR.js.map +0 -7
- package/dist/chunk-MTMHGC3G.js +0 -39
- package/dist/chunk-MTMHGC3G.js.map +0 -7
- package/dist/chunk-MWBAW3YV.js +0 -244
- package/dist/chunk-MWBAW3YV.js.map +0 -7
- package/dist/chunk-MYSK3SIM.js +0 -55
- package/dist/chunk-MYSK3SIM.js.map +0 -7
- package/dist/chunk-MZGGB2YT.js +0 -50
- package/dist/chunk-MZGGB2YT.js.map +0 -7
- package/dist/chunk-N46MIZXB.js +0 -154
- package/dist/chunk-N46MIZXB.js.map +0 -7
- package/dist/chunk-N53537P6.js +0 -31
- package/dist/chunk-N53537P6.js.map +0 -7
- package/dist/chunk-N5CTFOLX.js +0 -40
- package/dist/chunk-N5CTFOLX.js.map +0 -7
- package/dist/chunk-N5SNGZJV.js +0 -217
- package/dist/chunk-N5SNGZJV.js.map +0 -7
- package/dist/chunk-NGCTBYQ3.js +0 -181
- package/dist/chunk-NGCTBYQ3.js.map +0 -7
- package/dist/chunk-NIFG55CE.js +0 -52
- package/dist/chunk-NIFG55CE.js.map +0 -7
- package/dist/chunk-NJ63ALPX.js +0 -7
- package/dist/chunk-NJ63ALPX.js.map +0 -7
- package/dist/chunk-NMUX7SGU.js +0 -676
- package/dist/chunk-NMUX7SGU.js.map +0 -7
- package/dist/chunk-NO7GMLNU.js +0 -292
- package/dist/chunk-NO7GMLNU.js.map +0 -7
- package/dist/chunk-NTOGVX2Y.js +0 -92
- package/dist/chunk-NTOGVX2Y.js.map +0 -7
- package/dist/chunk-NZVHE4IT.js +0 -3101
- package/dist/chunk-NZVHE4IT.js.map +0 -7
- package/dist/chunk-O5IVKDX7.js +0 -30
- package/dist/chunk-O5IVKDX7.js.map +0 -7
- package/dist/chunk-O7ORICEC.js +0 -82
- package/dist/chunk-O7ORICEC.js.map +0 -7
- package/dist/chunk-OBMBAM3N.js +0 -73
- package/dist/chunk-OBMBAM3N.js.map +0 -7
- package/dist/chunk-OFWMLQMU.js +0 -7287
- package/dist/chunk-OFWMLQMU.js.map +0 -7
- package/dist/chunk-OJ3ZUKBI.js +0 -73
- package/dist/chunk-OJ3ZUKBI.js.map +0 -7
- package/dist/chunk-OJJBD5K3.js +0 -45
- package/dist/chunk-OJJBD5K3.js.map +0 -7
- package/dist/chunk-OJTHE4B7.js +0 -50
- package/dist/chunk-OJTHE4B7.js.map +0 -7
- package/dist/chunk-OKDOVX4B.js +0 -699
- package/dist/chunk-OKDOVX4B.js.map +0 -7
- package/dist/chunk-OOYPYBTA.js +0 -446
- package/dist/chunk-OOYPYBTA.js.map +0 -7
- package/dist/chunk-OQP4W4AR.js +0 -105
- package/dist/chunk-OQP4W4AR.js.map +0 -7
- package/dist/chunk-OVMDMCZ5.js +0 -241
- package/dist/chunk-OVMDMCZ5.js.map +0 -7
- package/dist/chunk-OVTT2EKA.js +0 -516
- package/dist/chunk-OVTT2EKA.js.map +0 -7
- package/dist/chunk-OVU43GJK.js +0 -63
- package/dist/chunk-OVU43GJK.js.map +0 -7
- package/dist/chunk-P3TMARA6.js +0 -18
- package/dist/chunk-P3TMARA6.js.map +0 -7
- package/dist/chunk-P5N63LBS.js +0 -94
- package/dist/chunk-P5N63LBS.js.map +0 -7
- package/dist/chunk-PARITZ7F.js +0 -28
- package/dist/chunk-PARITZ7F.js.map +0 -7
- package/dist/chunk-PBQK4KY4.js +0 -195
- package/dist/chunk-PBQK4KY4.js.map +0 -7
- package/dist/chunk-PLMOTQ42.js +0 -335
- package/dist/chunk-PLMOTQ42.js.map +0 -7
- package/dist/chunk-PSL2AHIA.js +0 -27
- package/dist/chunk-PSL2AHIA.js.map +0 -7
- package/dist/chunk-Q5QT7JBM.js +0 -92
- package/dist/chunk-Q5QT7JBM.js.map +0 -7
- package/dist/chunk-Q6H5OV2R.js +0 -180
- package/dist/chunk-Q6H5OV2R.js.map +0 -7
- package/dist/chunk-Q7WA5DCR.js +0 -62
- package/dist/chunk-Q7WA5DCR.js.map +0 -7
- package/dist/chunk-QAR5POXD.js +0 -472
- package/dist/chunk-QAR5POXD.js.map +0 -7
- package/dist/chunk-QATEENP2.js +0 -7
- package/dist/chunk-QATEENP2.js.map +0 -7
- package/dist/chunk-QDT24CIA.js +0 -485
- package/dist/chunk-QDT24CIA.js.map +0 -7
- package/dist/chunk-QI3NB7D5.js +0 -455
- package/dist/chunk-QI3NB7D5.js.map +0 -7
- package/dist/chunk-QIDAVXSX.js +0 -106
- package/dist/chunk-QIDAVXSX.js.map +0 -7
- package/dist/chunk-QKIGQVP2.js +0 -104
- package/dist/chunk-QKIGQVP2.js.map +0 -7
- package/dist/chunk-QNJENPK2.js +0 -81
- package/dist/chunk-QNJENPK2.js.map +0 -7
- package/dist/chunk-R5S76YR5.js +0 -12
- package/dist/chunk-R5S76YR5.js.map +0 -7
- package/dist/chunk-R7ZBOXPS.js +0 -163
- package/dist/chunk-R7ZBOXPS.js.map +0 -7
- package/dist/chunk-RAL3KX76.js +0 -239
- package/dist/chunk-RAL3KX76.js.map +0 -7
- package/dist/chunk-REVXXWAS.js +0 -31
- package/dist/chunk-REVXXWAS.js.map +0 -7
- package/dist/chunk-RFH4HRZP.js +0 -94
- package/dist/chunk-RFH4HRZP.js.map +0 -7
- package/dist/chunk-RHITG64O.js +0 -50
- package/dist/chunk-RHITG64O.js.map +0 -7
- package/dist/chunk-RK5HZFP6.js +0 -111
- package/dist/chunk-RK5HZFP6.js.map +0 -7
- package/dist/chunk-RNGAGYCL.js +0 -49
- package/dist/chunk-RNGAGYCL.js.map +0 -7
- package/dist/chunk-RPCVN3JA.js +0 -261
- package/dist/chunk-RPCVN3JA.js.map +0 -7
- package/dist/chunk-RQ26XXFS.js +0 -45
- package/dist/chunk-RQ26XXFS.js.map +0 -7
- package/dist/chunk-RQQE5DDT.js +0 -193
- package/dist/chunk-RQQE5DDT.js.map +0 -7
- package/dist/chunk-RSA7PKZH.js +0 -187
- package/dist/chunk-RSA7PKZH.js.map +0 -7
- package/dist/chunk-RTSINQ4T.js +0 -78
- package/dist/chunk-RTSINQ4T.js.map +0 -7
- package/dist/chunk-RVOD3ESA.js +0 -38
- package/dist/chunk-RVOD3ESA.js.map +0 -7
- package/dist/chunk-SAOUP24A.js +0 -70
- package/dist/chunk-SAOUP24A.js.map +0 -7
- package/dist/chunk-SFZL2TCV.js +0 -55
- package/dist/chunk-SFZL2TCV.js.map +0 -7
- package/dist/chunk-SH6Y4CGQ.js +0 -175
- package/dist/chunk-SH6Y4CGQ.js.map +0 -7
- package/dist/chunk-SHBAAFFH.js +0 -74
- package/dist/chunk-SHBAAFFH.js.map +0 -7
- package/dist/chunk-SJPFUXBV.js +0 -45
- package/dist/chunk-SJPFUXBV.js.map +0 -7
- package/dist/chunk-SLIUQWAR.js +0 -58
- package/dist/chunk-SLIUQWAR.js.map +0 -7
- package/dist/chunk-SPNSM6SB.js +0 -36
- package/dist/chunk-SPNSM6SB.js.map +0 -7
- package/dist/chunk-SQUHLLK5.js +0 -125
- package/dist/chunk-SQUHLLK5.js.map +0 -7
- package/dist/chunk-SSEX66OL.js +0 -39
- package/dist/chunk-SSEX66OL.js.map +0 -7
- package/dist/chunk-SWWK35VQ.js +0 -84
- package/dist/chunk-SWWK35VQ.js.map +0 -7
- package/dist/chunk-SX2LOHOX.js +0 -251
- package/dist/chunk-SX2LOHOX.js.map +0 -7
- package/dist/chunk-T72EMFTX.js +0 -74
- package/dist/chunk-T72EMFTX.js.map +0 -7
- package/dist/chunk-TA2QJPPG.js +0 -169
- package/dist/chunk-TA2QJPPG.js.map +0 -7
- package/dist/chunk-TC5ZVFV6.js +0 -292
- package/dist/chunk-TC5ZVFV6.js.map +0 -7
- package/dist/chunk-TFD7ZIYD.js +0 -105
- package/dist/chunk-TFD7ZIYD.js.map +0 -7
- package/dist/chunk-TFEETDNY.js +0 -78
- package/dist/chunk-TFEETDNY.js.map +0 -7
- package/dist/chunk-TH6ONRWT.js +0 -516
- package/dist/chunk-TH6ONRWT.js.map +0 -7
- package/dist/chunk-THM2QV25.js +0 -108
- package/dist/chunk-THM2QV25.js.map +0 -7
- package/dist/chunk-TMQMQ67T.js +0 -81
- package/dist/chunk-TMQMQ67T.js.map +0 -7
- package/dist/chunk-TPYWUZOR.js +0 -178
- package/dist/chunk-TPYWUZOR.js.map +0 -7
- package/dist/chunk-TRWT2N6Z.js +0 -15
- package/dist/chunk-TRWT2N6Z.js.map +0 -7
- package/dist/chunk-TTXEM54Y.js +0 -76
- package/dist/chunk-TTXEM54Y.js.map +0 -7
- package/dist/chunk-U2O4LE6S.js +0 -22
- package/dist/chunk-U2O4LE6S.js.map +0 -7
- package/dist/chunk-U44IVNP2.js +0 -91
- package/dist/chunk-U44IVNP2.js.map +0 -7
- package/dist/chunk-U4LVIY5F.js +0 -1405
- package/dist/chunk-U4LVIY5F.js.map +0 -7
- package/dist/chunk-U767LCSG.js +0 -78
- package/dist/chunk-U767LCSG.js.map +0 -7
- package/dist/chunk-U7GKLHU6.js +0 -120
- package/dist/chunk-U7GKLHU6.js.map +0 -7
- package/dist/chunk-UAB5P5QO.js +0 -60
- package/dist/chunk-UAB5P5QO.js.map +0 -7
- package/dist/chunk-UDDWLWKZ.js +0 -82
- package/dist/chunk-UDDWLWKZ.js.map +0 -7
- package/dist/chunk-UEHPJQBL.js +0 -38
- package/dist/chunk-UEHPJQBL.js.map +0 -7
- package/dist/chunk-UIBV6IGR.js +0 -31
- package/dist/chunk-UIBV6IGR.js.map +0 -7
- package/dist/chunk-UIYFRUET.js +0 -16352
- package/dist/chunk-UIYFRUET.js.map +0 -7
- package/dist/chunk-UJS3TIVS.js +0 -52
- package/dist/chunk-UJS3TIVS.js.map +0 -7
- package/dist/chunk-UMMPB6FL.js +0 -506
- package/dist/chunk-UMMPB6FL.js.map +0 -7
- package/dist/chunk-UP42ACP7.js +0 -27
- package/dist/chunk-UP42ACP7.js.map +0 -7
- package/dist/chunk-UPEF7ETP.js +0 -92
- package/dist/chunk-UPEF7ETP.js.map +0 -7
- package/dist/chunk-UU5PSBSI.js +0 -176
- package/dist/chunk-UU5PSBSI.js.map +0 -7
- package/dist/chunk-UV63XYFU.js +0 -173
- package/dist/chunk-UV63XYFU.js.map +0 -7
- package/dist/chunk-UWPHOAOC.js +0 -29
- package/dist/chunk-UWPHOAOC.js.map +0 -7
- package/dist/chunk-UXDDOSJC.js +0 -52
- package/dist/chunk-UXDDOSJC.js.map +0 -7
- package/dist/chunk-V3VAOMCO.js +0 -465
- package/dist/chunk-V3VAOMCO.js.map +0 -7
- package/dist/chunk-VA7ENH2S.js +0 -38
- package/dist/chunk-VA7ENH2S.js.map +0 -7
- package/dist/chunk-VBDLTKI2.js +0 -130
- package/dist/chunk-VBDLTKI2.js.map +0 -7
- package/dist/chunk-VCWIKEJ7.js +0 -7
- package/dist/chunk-VCWIKEJ7.js.map +0 -7
- package/dist/chunk-VFPDFLVE.js +0 -516
- package/dist/chunk-VFPDFLVE.js.map +0 -7
- package/dist/chunk-VHG4FNIJ.js +0 -93
- package/dist/chunk-VHG4FNIJ.js.map +0 -7
- package/dist/chunk-VKOO6MIZ.js +0 -51
- package/dist/chunk-VKOO6MIZ.js.map +0 -7
- package/dist/chunk-VKXKRZG7.js +0 -62
- package/dist/chunk-VKXKRZG7.js.map +0 -7
- package/dist/chunk-VPQICZQR.js +0 -93
- package/dist/chunk-VPQICZQR.js.map +0 -7
- package/dist/chunk-VRBJNFPL.js +0 -114
- package/dist/chunk-VRBJNFPL.js.map +0 -7
- package/dist/chunk-VUOLPEUZ.js +0 -7
- package/dist/chunk-VUOLPEUZ.js.map +0 -7
- package/dist/chunk-VUU5KFH3.js +0 -38
- package/dist/chunk-VUU5KFH3.js.map +0 -7
- package/dist/chunk-VVBL5CFF.js +0 -7
- package/dist/chunk-VVBL5CFF.js.map +0 -7
- package/dist/chunk-VYZEQ6KY.js +0 -22
- package/dist/chunk-VYZEQ6KY.js.map +0 -7
- package/dist/chunk-W6SOBS7M.js +0 -138
- package/dist/chunk-W6SOBS7M.js.map +0 -7
- package/dist/chunk-WBPQVWSU.js +0 -198
- package/dist/chunk-WBPQVWSU.js.map +0 -7
- package/dist/chunk-WDOKKRTE.js +0 -7
- package/dist/chunk-WDOKKRTE.js.map +0 -7
- package/dist/chunk-WGXXKFN5.js +0 -7
- package/dist/chunk-WGXXKFN5.js.map +0 -7
- package/dist/chunk-WHPUUP3J.js +0 -25
- package/dist/chunk-WHPUUP3J.js.map +0 -7
- package/dist/chunk-WS6HWBKT.js +0 -30
- package/dist/chunk-WS6HWBKT.js.map +0 -7
- package/dist/chunk-XF7LD6VV.js +0 -122
- package/dist/chunk-XF7LD6VV.js.map +0 -7
- package/dist/chunk-XFTXM3RE.js +0 -64
- package/dist/chunk-XFTXM3RE.js.map +0 -7
- package/dist/chunk-XJABPO2T.js +0 -235
- package/dist/chunk-XJABPO2T.js.map +0 -7
- package/dist/chunk-XK6VF3H7.js +0 -3586
- package/dist/chunk-XK6VF3H7.js.map +0 -7
- package/dist/chunk-XOZPOHLG.js +0 -233
- package/dist/chunk-XOZPOHLG.js.map +0 -7
- package/dist/chunk-XQYIIPOJ.js +0 -266
- package/dist/chunk-XQYIIPOJ.js.map +0 -7
- package/dist/chunk-XR7DPSNX.js +0 -195
- package/dist/chunk-XR7DPSNX.js.map +0 -7
- package/dist/chunk-XYH4JC3U.js +0 -7
- package/dist/chunk-XYH4JC3U.js.map +0 -7
- package/dist/chunk-XZSAN55E.js +0 -58
- package/dist/chunk-XZSAN55E.js.map +0 -7
- package/dist/chunk-Y3KJR4OG.js +0 -64
- package/dist/chunk-Y3KJR4OG.js.map +0 -7
- package/dist/chunk-Y4JKH7FF.js +0 -45
- package/dist/chunk-Y4JKH7FF.js.map +0 -7
- package/dist/chunk-Y6CJN4ID.js +0 -31
- package/dist/chunk-Y6CJN4ID.js.map +0 -7
- package/dist/chunk-YABGJU5M.js +0 -271
- package/dist/chunk-YABGJU5M.js.map +0 -7
- package/dist/chunk-YB5UCHLN.js +0 -314
- package/dist/chunk-YB5UCHLN.js.map +0 -7
- package/dist/chunk-YEJH7ZC2.js +0 -34
- package/dist/chunk-YEJH7ZC2.js.map +0 -7
- package/dist/chunk-YF5DYD3X.js +0 -97
- package/dist/chunk-YF5DYD3X.js.map +0 -7
- package/dist/chunk-YFTE4H54.js +0 -44117
- package/dist/chunk-YFTE4H54.js.map +0 -7
- package/dist/chunk-YGVQZCE7.js +0 -30
- package/dist/chunk-YGVQZCE7.js.map +0 -7
- package/dist/chunk-YNHADHHS.js +0 -138
- package/dist/chunk-YNHADHHS.js.map +0 -7
- package/dist/chunk-YNJYMD43.js +0 -392
- package/dist/chunk-YNJYMD43.js.map +0 -7
- package/dist/chunk-YNYEQGVN.js +0 -251
- package/dist/chunk-YNYEQGVN.js.map +0 -7
- package/dist/chunk-YOAMBAM2.js +0 -70
- package/dist/chunk-YOAMBAM2.js.map +0 -7
- package/dist/chunk-YUPBD27Z.js +0 -70
- package/dist/chunk-YUPBD27Z.js.map +0 -7
- package/dist/chunk-YWE5AQPZ.js +0 -258
- package/dist/chunk-YWE5AQPZ.js.map +0 -7
- package/dist/chunk-YWHH3MB6.js +0 -1405
- package/dist/chunk-YWHH3MB6.js.map +0 -7
- package/dist/chunk-YXJ52FD5.js +0 -271
- package/dist/chunk-YXJ52FD5.js.map +0 -7
- package/dist/chunk-YZ6F5N7R.js +0 -455
- package/dist/chunk-YZ6F5N7R.js.map +0 -7
- package/dist/chunk-YZGORRQN.js +0 -3101
- package/dist/chunk-YZGORRQN.js.map +0 -7
- package/dist/chunk-Z6IVJ6ZW.js +0 -30
- package/dist/chunk-Z6IVJ6ZW.js.map +0 -7
- package/dist/chunk-ZFC44XJJ.js +0 -86
- package/dist/chunk-ZFC44XJJ.js.map +0 -7
- package/dist/chunk-ZFGRQIB6.js +0 -38
- package/dist/chunk-ZFGRQIB6.js.map +0 -7
- package/dist/chunk-ZGAUVPAB.js +0 -14
- package/dist/chunk-ZGAUVPAB.js.map +0 -7
- package/dist/chunk-ZGCATLM5.js +0 -18
- package/dist/chunk-ZGCATLM5.js.map +0 -7
- package/dist/chunk-ZJDJC5TP.js +0 -82
- package/dist/chunk-ZJDJC5TP.js.map +0 -7
- package/dist/chunk-ZJGZNPDK.js +0 -171
- package/dist/chunk-ZJGZNPDK.js.map +0 -7
- package/dist/chunk-ZJHBJWZX.js +0 -699
- package/dist/chunk-ZJHBJWZX.js.map +0 -7
- package/dist/chunk-ZNOTD65D.js +0 -95
- package/dist/chunk-ZNOTD65D.js.map +0 -7
- package/dist/chunk-ZQ2QIFXW.js +0 -122
- package/dist/chunk-ZQ2QIFXW.js.map +0 -7
- package/dist/chunk-ZRMXPQGY.js +0 -241
- package/dist/chunk-ZRMXPQGY.js.map +0 -7
- package/dist/chunk-ZSOPE7DO.js +0 -92
- package/dist/chunk-ZSOPE7DO.js.map +0 -7
- package/dist/chunk-ZVEE5IDC.js +0 -3101
- package/dist/chunk-ZVEE5IDC.js.map +0 -7
- package/dist/chunk-ZY247PXY.js +0 -135
- package/dist/chunk-ZY247PXY.js.map +0 -7
- package/dist/cli-metadata.js +0 -12
- package/dist/cli-metadata.js.map +0 -7
- package/dist/contract-api.js +0 -104
- package/dist/contract-api.js.map +0 -7
- package/dist/dist-DVBXHDB4.js +0 -549
- package/dist/dist-DVBXHDB4.js.map +0 -7
- package/dist/dist-F3K7S5SS.js +0 -549
- package/dist/dist-F3K7S5SS.js.map +0 -7
- package/dist/helper-api.js +0 -51
- package/dist/helper-api.js.map +0 -7
- package/dist/index.js +0 -70
- package/dist/index.js.map +0 -7
- package/dist/magic-string.es-ITIPPYGW.js +0 -1315
- package/dist/magic-string.es-ITIPPYGW.js.map +0 -7
- package/dist/magic-string.es-V5NOGTUV.js +0 -1315
- package/dist/magic-string.es-V5NOGTUV.js.map +0 -7
- package/dist/openclaw.plugin.json +0 -23
- package/dist/package.json +0 -59
- package/dist/plugin-entry.handlers.runtime-JLRK5XTV.js +0 -20
- package/dist/plugin-entry.handlers.runtime-JLRK5XTV.js.map +0 -7
- package/dist/plugin-entry.handlers.runtime-POD4CSHM.js +0 -20
- package/dist/plugin-entry.handlers.runtime-POD4CSHM.js.map +0 -7
- package/dist/plugin-entry.handlers.runtime-YOSG6V6U.js +0 -20
- package/dist/plugin-entry.handlers.runtime-YOSG6V6U.js.map +0 -7
- package/dist/runtime-api.js +0 -104
- package/dist/runtime-api.js.map +0 -7
- package/dist/rust-crypto-7KS7OJ3F.js +0 -5323
- package/dist/rust-crypto-7KS7OJ3F.js.map +0 -7
- package/dist/rust-crypto-H35BXWUU.js +0 -5323
- package/dist/rust-crypto-H35BXWUU.js.map +0 -7
- package/dist/secret-contract-api.js +0 -18
- package/dist/secret-contract-api.js.map +0 -7
- package/dist/setup-entry.js +0 -22
- package/dist/setup-entry.js.map +0 -7
- package/dist/src/account-selection.js +0 -19
- package/dist/src/account-selection.js.map +0 -7
- package/dist/src/actions.js +0 -24
- package/dist/src/actions.js.map +0 -7
- package/dist/src/approval-auth.js +0 -27
- package/dist/src/approval-auth.js.map +0 -7
- package/dist/src/approval-handler.runtime.js +0 -378
- package/dist/src/approval-handler.runtime.js.map +0 -7
- package/dist/src/approval-ids.js +0 -9
- package/dist/src/approval-ids.js.map +0 -7
- package/dist/src/approval-native.js +0 -28
- package/dist/src/approval-native.js.map +0 -7
- package/dist/src/approval-reactions.js +0 -20
- package/dist/src/approval-reactions.js.map +0 -7
- package/dist/src/auth-precedence.js +0 -8
- package/dist/src/auth-precedence.js.map +0 -7
- package/dist/src/channel-account-paths.js +0 -11
- package/dist/src/channel-account-paths.js.map +0 -7
- package/dist/src/channel.js +0 -74
- package/dist/src/channel.js.map +0 -7
- package/dist/src/channel.runtime.js +0 -82
- package/dist/src/channel.runtime.js.map +0 -7
- package/dist/src/cli-metadata.js +0 -8
- package/dist/src/cli-metadata.js.map +0 -7
- package/dist/src/cli.js +0 -936
- package/dist/src/cli.js.map +0 -7
- package/dist/src/config-adapter.js +0 -26
- package/dist/src/config-adapter.js.map +0 -7
- package/dist/src/config-schema.js +0 -8
- package/dist/src/config-schema.js.map +0 -7
- package/dist/src/directory-live.js +0 -35
- package/dist/src/directory-live.js.map +0 -7
- package/dist/src/doctor-contract.js +0 -11
- package/dist/src/doctor-contract.js.map +0 -7
- package/dist/src/doctor.js +0 -42
- package/dist/src/doctor.js.map +0 -7
- package/dist/src/env-vars.js +0 -12
- package/dist/src/env-vars.js.map +0 -7
- package/dist/src/exec-approval-resolver.js +0 -10
- package/dist/src/exec-approval-resolver.js.map +0 -7
- package/dist/src/exec-approvals.js +0 -51
- package/dist/src/exec-approvals.js.map +0 -7
- package/dist/src/group-mentions.js +0 -28
- package/dist/src/group-mentions.js.map +0 -7
- package/dist/src/legacy-crypto-inspector-availability.js +0 -8
- package/dist/src/legacy-crypto-inspector-availability.js.map +0 -7
- package/dist/src/legacy-crypto.js +0 -26
- package/dist/src/legacy-crypto.js.map +0 -7
- package/dist/src/legacy-state.js +0 -24
- package/dist/src/legacy-state.js.map +0 -7
- package/dist/src/matrix/account-config.js +0 -16
- package/dist/src/matrix/account-config.js.map +0 -7
- package/dist/src/matrix/accounts.js +0 -31
- package/dist/src/matrix/accounts.js.map +0 -7
- package/dist/src/matrix/actions/client.js +0 -40
- package/dist/src/matrix/actions/client.js.map +0 -7
- package/dist/src/matrix/actions/devices.js +0 -42
- package/dist/src/matrix/actions/devices.js.map +0 -7
- package/dist/src/matrix/actions/limits.js +0 -8
- package/dist/src/matrix/actions/limits.js.map +0 -7
- package/dist/src/matrix/actions/messages.js +0 -49
- package/dist/src/matrix/actions/messages.js.map +0 -7
- package/dist/src/matrix/actions/pins.js +0 -46
- package/dist/src/matrix/actions/pins.js.map +0 -7
- package/dist/src/matrix/actions/polls.js +0 -37
- package/dist/src/matrix/actions/polls.js.map +0 -7
- package/dist/src/matrix/actions/profile.js +0 -38
- package/dist/src/matrix/actions/profile.js.map +0 -7
- package/dist/src/matrix/actions/reactions.js +0 -40
- package/dist/src/matrix/actions/reactions.js.map +0 -7
- package/dist/src/matrix/actions/room.js +0 -40
- package/dist/src/matrix/actions/room.js.map +0 -7
- package/dist/src/matrix/actions/summary.js +0 -19
- package/dist/src/matrix/actions/summary.js.map +0 -7
- package/dist/src/matrix/actions/types.js +0 -13
- package/dist/src/matrix/actions/types.js.map +0 -7
- package/dist/src/matrix/actions/verification.js +0 -77
- package/dist/src/matrix/actions/verification.js.map +0 -7
- package/dist/src/matrix/actions.js +0 -126
- package/dist/src/matrix/actions.js.map +0 -7
- package/dist/src/matrix/active-client.js +0 -10
- package/dist/src/matrix/active-client.js.map +0 -7
- package/dist/src/matrix/async-lock.js +0 -8
- package/dist/src/matrix/async-lock.js.map +0 -7
- package/dist/src/matrix/backup-health.js +0 -10
- package/dist/src/matrix/backup-health.js.map +0 -7
- package/dist/src/matrix/client/config-runtime-api.js +0 -24
- package/dist/src/matrix/client/config-runtime-api.js.map +0 -7
- package/dist/src/matrix/client/config-secret-input.runtime.js +0 -11
- package/dist/src/matrix/client/config-secret-input.runtime.js.map +0 -7
- package/dist/src/matrix/client/config.js +0 -42
- package/dist/src/matrix/client/config.js.map +0 -7
- package/dist/src/matrix/client/create-client.js +0 -20
- package/dist/src/matrix/client/create-client.js.map +0 -7
- package/dist/src/matrix/client/env-auth.js +0 -26
- package/dist/src/matrix/client/env-auth.js.map +0 -7
- package/dist/src/matrix/client/file-sync-store.js +0 -23
- package/dist/src/matrix/client/file-sync-store.js.map +0 -7
- package/dist/src/matrix/client/logging.js +0 -17
- package/dist/src/matrix/client/logging.js.map +0 -7
- package/dist/src/matrix/client/migration-snapshot.runtime.js +0 -13
- package/dist/src/matrix/client/migration-snapshot.runtime.js.map +0 -7
- package/dist/src/matrix/client/private-network-host.js +0 -8
- package/dist/src/matrix/client/private-network-host.js.map +0 -7
- package/dist/src/matrix/client/runtime.js +0 -8
- package/dist/src/matrix/client/runtime.js.map +0 -7
- package/dist/src/matrix/client/shared.js +0 -34
- package/dist/src/matrix/client/shared.js.map +0 -7
- package/dist/src/matrix/client/storage.js +0 -26
- package/dist/src/matrix/client/storage.js.map +0 -7
- package/dist/src/matrix/client/types.js +0 -7
- package/dist/src/matrix/client/types.js.map +0 -7
- package/dist/src/matrix/client-bootstrap.js +0 -15
- package/dist/src/matrix/client-bootstrap.js.map +0 -7
- package/dist/src/matrix/client-resolver.test-helpers.js +0 -122
- package/dist/src/matrix/client-resolver.test-helpers.js.map +0 -7
- package/dist/src/matrix/client.js +0 -63
- package/dist/src/matrix/client.js.map +0 -7
- package/dist/src/matrix/config-paths.js +0 -12
- package/dist/src/matrix/config-paths.js.map +0 -7
- package/dist/src/matrix/config-update.js +0 -17
- package/dist/src/matrix/config-update.js.map +0 -7
- package/dist/src/matrix/credentials-read.js +0 -22
- package/dist/src/matrix/credentials-read.js.map +0 -7
- package/dist/src/matrix/credentials-write.runtime.js +0 -24
- package/dist/src/matrix/credentials-write.runtime.js.map +0 -7
- package/dist/src/matrix/credentials.js +0 -90
- package/dist/src/matrix/credentials.js.map +0 -7
- package/dist/src/matrix/deps.js +0 -12
- package/dist/src/matrix/deps.js.map +0 -7
- package/dist/src/matrix/device-health.js +0 -10
- package/dist/src/matrix/device-health.js.map +0 -7
- package/dist/src/matrix/direct-management.js +0 -18
- package/dist/src/matrix/direct-management.js.map +0 -7
- package/dist/src/matrix/direct-room.js +0 -18
- package/dist/src/matrix/direct-room.js.map +0 -7
- package/dist/src/matrix/draft-stream.js +0 -33
- package/dist/src/matrix/draft-stream.js.map +0 -7
- package/dist/src/matrix/encryption-guidance.js +0 -17
- package/dist/src/matrix/encryption-guidance.js.map +0 -7
- package/dist/src/matrix/errors.js +0 -12
- package/dist/src/matrix/errors.js.map +0 -7
- package/dist/src/matrix/format.js +0 -13
- package/dist/src/matrix/format.js.map +0 -7
- package/dist/src/matrix/legacy-crypto-inspector.js +0 -72
- package/dist/src/matrix/legacy-crypto-inspector.js.map +0 -7
- package/dist/src/matrix/media-errors.js +0 -12
- package/dist/src/matrix/media-errors.js.map +0 -7
- package/dist/src/matrix/media-text.js +0 -22
- package/dist/src/matrix/media-text.js.map +0 -7
- package/dist/src/matrix/monitor/access-state.js +0 -9
- package/dist/src/matrix/monitor/access-state.js.map +0 -7
- package/dist/src/matrix/monitor/ack-config.js +0 -10
- package/dist/src/matrix/monitor/ack-config.js.map +0 -7
- package/dist/src/matrix/monitor/allowlist.js +0 -12
- package/dist/src/matrix/monitor/allowlist.js.map +0 -7
- package/dist/src/matrix/monitor/auto-join.js +0 -9
- package/dist/src/matrix/monitor/auto-join.js.map +0 -7
- package/dist/src/matrix/monitor/config.js +0 -37
- package/dist/src/matrix/monitor/config.js.map +0 -7
- package/dist/src/matrix/monitor/context-summary.js +0 -13
- package/dist/src/matrix/monitor/context-summary.js.map +0 -7
- package/dist/src/matrix/monitor/direct.js +0 -13
- package/dist/src/matrix/monitor/direct.js.map +0 -7
- package/dist/src/matrix/monitor/events.js +0 -20
- package/dist/src/matrix/monitor/events.js.map +0 -7
- package/dist/src/matrix/monitor/handler.js +0 -76
- package/dist/src/matrix/monitor/handler.js.map +0 -7
- package/dist/src/matrix/monitor/handler.test-helpers.js +0 -268
- package/dist/src/matrix/monitor/handler.test-helpers.js.map +0 -7
- package/dist/src/matrix/monitor/inbound-dedupe.js +0 -17
- package/dist/src/matrix/monitor/inbound-dedupe.js.map +0 -7
- package/dist/src/matrix/monitor/index.js +0 -502
- package/dist/src/matrix/monitor/index.js.map +0 -7
- package/dist/src/matrix/monitor/legacy-crypto-restore.js +0 -99
- package/dist/src/matrix/monitor/legacy-crypto-restore.js.map +0 -7
- package/dist/src/matrix/monitor/location.js +0 -11
- package/dist/src/matrix/monitor/location.js.map +0 -7
- package/dist/src/matrix/monitor/media.js +0 -10
- package/dist/src/matrix/monitor/media.js.map +0 -7
- package/dist/src/matrix/monitor/mentions.js +0 -9
- package/dist/src/matrix/monitor/mentions.js.map +0 -7
- package/dist/src/matrix/monitor/reaction-events.js +0 -38
- package/dist/src/matrix/monitor/reaction-events.js.map +0 -7
- package/dist/src/matrix/monitor/recent-invite.js +0 -10
- package/dist/src/matrix/monitor/recent-invite.js.map +0 -7
- package/dist/src/matrix/monitor/replies.js +0 -33
- package/dist/src/matrix/monitor/replies.js.map +0 -7
- package/dist/src/matrix/monitor/reply-context.js +0 -14
- package/dist/src/matrix/monitor/reply-context.js.map +0 -7
- package/dist/src/matrix/monitor/room-history.js +0 -10
- package/dist/src/matrix/monitor/room-history.js.map +0 -7
- package/dist/src/matrix/monitor/room-info.js +0 -9
- package/dist/src/matrix/monitor/room-info.js.map +0 -7
- package/dist/src/matrix/monitor/rooms.js +0 -9
- package/dist/src/matrix/monitor/rooms.js.map +0 -7
- package/dist/src/matrix/monitor/route.js +0 -12
- package/dist/src/matrix/monitor/route.js.map +0 -7
- package/dist/src/matrix/monitor/runtime-api.js +0 -40
- package/dist/src/matrix/monitor/runtime-api.js.map +0 -7
- package/dist/src/matrix/monitor/startup-verification.js +0 -174
- package/dist/src/matrix/monitor/startup-verification.js.map +0 -7
- package/dist/src/matrix/monitor/startup.js +0 -9
- package/dist/src/matrix/monitor/startup.js.map +0 -7
- package/dist/src/matrix/monitor/status.js +0 -10
- package/dist/src/matrix/monitor/status.js.map +0 -7
- package/dist/src/matrix/monitor/sync-lifecycle.js +0 -9
- package/dist/src/matrix/monitor/sync-lifecycle.js.map +0 -7
- package/dist/src/matrix/monitor/task-runner.js +0 -8
- package/dist/src/matrix/monitor/task-runner.js.map +0 -7
- package/dist/src/matrix/monitor/thread-context.js +0 -14
- package/dist/src/matrix/monitor/thread-context.js.map +0 -7
- package/dist/src/matrix/monitor/threads.js +0 -16
- package/dist/src/matrix/monitor/threads.js.map +0 -7
- package/dist/src/matrix/monitor/types.js +0 -11
- package/dist/src/matrix/monitor/types.js.map +0 -7
- package/dist/src/matrix/monitor/verification-events.js +0 -13
- package/dist/src/matrix/monitor/verification-events.js.map +0 -7
- package/dist/src/matrix/monitor/verification-utils.js +0 -16
- package/dist/src/matrix/monitor/verification-utils.js.map +0 -7
- package/dist/src/matrix/outbound-media-runtime.js +0 -9
- package/dist/src/matrix/outbound-media-runtime.js.map +0 -7
- package/dist/src/matrix/poll-summary.js +0 -14
- package/dist/src/matrix/poll-summary.js.map +0 -7
- package/dist/src/matrix/poll-types.js +0 -55
- package/dist/src/matrix/poll-types.js.map +0 -7
- package/dist/src/matrix/probe.js +0 -9
- package/dist/src/matrix/probe.js.map +0 -7
- package/dist/src/matrix/probe.runtime.js +0 -30
- package/dist/src/matrix/probe.runtime.js.map +0 -7
- package/dist/src/matrix/profile.js +0 -16
- package/dist/src/matrix/profile.js.map +0 -7
- package/dist/src/matrix/reaction-common.js +0 -26
- package/dist/src/matrix/reaction-common.js.map +0 -7
- package/dist/src/matrix/sdk/crypto-bootstrap.js +0 -15
- package/dist/src/matrix/sdk/crypto-bootstrap.js.map +0 -7
- package/dist/src/matrix/sdk/crypto-facade.js +0 -8
- package/dist/src/matrix/sdk/crypto-facade.js.map +0 -7
- package/dist/src/matrix/sdk/crypto-node.runtime.js +0 -14
- package/dist/src/matrix/sdk/crypto-node.runtime.js.map +0 -7
- package/dist/src/matrix/sdk/crypto-runtime.js +0 -84
- package/dist/src/matrix/sdk/crypto-runtime.js.map +0 -7
- package/dist/src/matrix/sdk/decrypt-bridge.js +0 -11
- package/dist/src/matrix/sdk/decrypt-bridge.js.map +0 -7
- package/dist/src/matrix/sdk/event-helpers.js +0 -12
- package/dist/src/matrix/sdk/event-helpers.js.map +0 -7
- package/dist/src/matrix/sdk/http-client.js +0 -13
- package/dist/src/matrix/sdk/http-client.js.map +0 -7
- package/dist/src/matrix/sdk/idb-persistence-lock.js +0 -12
- package/dist/src/matrix/sdk/idb-persistence-lock.js.map +0 -7
- package/dist/src/matrix/sdk/idb-persistence.js +0 -13
- package/dist/src/matrix/sdk/idb-persistence.js.map +0 -7
- package/dist/src/matrix/sdk/idb-persistence.test-helpers.js +0 -83
- package/dist/src/matrix/sdk/idb-persistence.test-helpers.js.map +0 -7
- package/dist/src/matrix/sdk/logger.js +0 -15
- package/dist/src/matrix/sdk/logger.js.map +0 -7
- package/dist/src/matrix/sdk/read-response-with-limit.js +0 -8
- package/dist/src/matrix/sdk/read-response-with-limit.js.map +0 -7
- package/dist/src/matrix/sdk/recovery-key-store.js +0 -14
- package/dist/src/matrix/sdk/recovery-key-store.js.map +0 -7
- package/dist/src/matrix/sdk/transport.js +0 -13
- package/dist/src/matrix/sdk/transport.js.map +0 -7
- package/dist/src/matrix/sdk/types.js +0 -7
- package/dist/src/matrix/sdk/types.js.map +0 -7
- package/dist/src/matrix/sdk/verification-manager.js +0 -11
- package/dist/src/matrix/sdk/verification-manager.js.map +0 -7
- package/dist/src/matrix/sdk/verification-status.js +0 -12
- package/dist/src/matrix/sdk/verification-status.js.map +0 -7
- package/dist/src/matrix/sdk.js +0 -1375
- package/dist/src/matrix/sdk.js.map +0 -7
- package/dist/src/matrix/send/client.js +0 -14
- package/dist/src/matrix/send/client.js.map +0 -7
- package/dist/src/matrix/send/formatting.js +0 -29
- package/dist/src/matrix/send/formatting.js.map +0 -7
- package/dist/src/matrix/send/media.js +0 -26
- package/dist/src/matrix/send/media.js.map +0 -7
- package/dist/src/matrix/send/targets.js +0 -15
- package/dist/src/matrix/send/targets.js.map +0 -7
- package/dist/src/matrix/send/types.js +0 -17
- package/dist/src/matrix/send/types.js.map +0 -7
- package/dist/src/matrix/send.js +0 -51
- package/dist/src/matrix/send.js.map +0 -7
- package/dist/src/matrix/session-store-metadata.js +0 -15
- package/dist/src/matrix/session-store-metadata.js.map +0 -7
- package/dist/src/matrix/startup-abort.js +0 -14
- package/dist/src/matrix/startup-abort.js.map +0 -7
- package/dist/src/matrix/sync-state.js +0 -12
- package/dist/src/matrix/sync-state.js.map +0 -7
- package/dist/src/matrix/target-ids.js +0 -20
- package/dist/src/matrix/target-ids.js.map +0 -7
- package/dist/src/matrix/thread-bindings-shared.js +0 -34
- package/dist/src/matrix/thread-bindings-shared.js.map +0 -7
- package/dist/src/matrix/thread-bindings.js +0 -49
- package/dist/src/matrix/thread-bindings.js.map +0 -7
- package/dist/src/matrix-migration.runtime.js +0 -45
- package/dist/src/matrix-migration.runtime.js.map +0 -7
- package/dist/src/migration-config.js +0 -29
- package/dist/src/migration-config.js.map +0 -7
- package/dist/src/migration-snapshot-backup.js +0 -12
- package/dist/src/migration-snapshot-backup.js.map +0 -7
- package/dist/src/migration-snapshot.js +0 -38
- package/dist/src/migration-snapshot.js.map +0 -7
- package/dist/src/onboarding.js +0 -43
- package/dist/src/onboarding.js.map +0 -7
- package/dist/src/onboarding.test-harness.js +0 -124
- package/dist/src/onboarding.test-harness.js.map +0 -7
- package/dist/src/outbound.js +0 -33
- package/dist/src/outbound.js.map +0 -7
- package/dist/src/plugin-entry.runtime.js +0 -15
- package/dist/src/plugin-entry.runtime.js.map +0 -7
- package/dist/src/profile-update.js +0 -41
- package/dist/src/profile-update.js.map +0 -7
- package/dist/src/record-shared.js +0 -8
- package/dist/src/record-shared.js.map +0 -7
- package/dist/src/resolve-targets.js +0 -34
- package/dist/src/resolve-targets.js.map +0 -7
- package/dist/src/resolver.js +0 -8
- package/dist/src/resolver.js.map +0 -7
- package/dist/src/runtime-api.js +0 -120
- package/dist/src/runtime-api.js.map +0 -7
- package/dist/src/runtime.js +0 -10
- package/dist/src/runtime.js.map +0 -7
- package/dist/src/secret-contract.js +0 -13
- package/dist/src/secret-contract.js.map +0 -7
- package/dist/src/session-route.js +0 -25
- package/dist/src/session-route.js.map +0 -7
- package/dist/src/setup-bootstrap.js +0 -124
- package/dist/src/setup-bootstrap.js.map +0 -7
- package/dist/src/setup-config.js +0 -28
- package/dist/src/setup-config.js.map +0 -7
- package/dist/src/setup-contract.js +0 -16
- package/dist/src/setup-contract.js.map +0 -7
- package/dist/src/setup-core.js +0 -25
- package/dist/src/setup-core.js.map +0 -7
- package/dist/src/setup-surface.js +0 -45
- package/dist/src/setup-surface.js.map +0 -7
- package/dist/src/startup-maintenance.js +0 -29
- package/dist/src/startup-maintenance.js.map +0 -7
- package/dist/src/storage-paths.js +0 -24
- package/dist/src/storage-paths.js.map +0 -7
- package/dist/src/test-helpers.js +0 -49
- package/dist/src/test-helpers.js.map +0 -7
- package/dist/src/test-mocks.js +0 -40
- package/dist/src/test-mocks.js.map +0 -7
- package/dist/src/test-runtime.js +0 -65
- package/dist/src/test-runtime.js.map +0 -7
- package/dist/src/tool-actions.js +0 -68
- package/dist/src/tool-actions.js.map +0 -7
- package/dist/src/tool-actions.runtime.js +0 -73
- package/dist/src/tool-actions.runtime.js.map +0 -7
- package/dist/src/types.js +0 -7
- package/dist/src/types.js.map +0 -7
- package/dist/test-api.js +0 -82
- package/dist/test-api.js.map +0 -7
- package/dist/thread-bindings-runtime.js +0 -15
- package/dist/thread-bindings-runtime.js.map +0 -7
|
@@ -1,1145 +0,0 @@
|
|
|
1
|
-
import "./chunk-EO35SCFP.js";
|
|
2
|
-
import {
|
|
3
|
-
TrackType
|
|
4
|
-
} from "./chunk-N5CTFOLX.js";
|
|
5
|
-
import {
|
|
6
|
-
Genres
|
|
7
|
-
} from "./chunk-YB5UCHLN.js";
|
|
8
|
-
import {
|
|
9
|
-
FourCcToken
|
|
10
|
-
} from "./chunk-2WHRUMOM.js";
|
|
11
|
-
import "./chunk-H7KAUMBC.js";
|
|
12
|
-
import "./chunk-65UUVZ6B.js";
|
|
13
|
-
import {
|
|
14
|
-
getBit,
|
|
15
|
-
uint8ArrayToHex
|
|
16
|
-
} from "./chunk-WBPQVWSU.js";
|
|
17
|
-
import {
|
|
18
|
-
BasicParser,
|
|
19
|
-
INT16_BE,
|
|
20
|
-
INT24_BE,
|
|
21
|
-
INT32_BE,
|
|
22
|
-
INT8,
|
|
23
|
-
StringType,
|
|
24
|
-
UINT16_BE,
|
|
25
|
-
UINT24_BE,
|
|
26
|
-
UINT32_BE,
|
|
27
|
-
UINT64_BE,
|
|
28
|
-
UINT8,
|
|
29
|
-
Uint8ArrayType,
|
|
30
|
-
lib_exports,
|
|
31
|
-
makeUnexpectedFileContentError,
|
|
32
|
-
require_src,
|
|
33
|
-
textDecode
|
|
34
|
-
} from "./chunk-4EKKDVG3.js";
|
|
35
|
-
import {
|
|
36
|
-
__toESM,
|
|
37
|
-
init_shims
|
|
38
|
-
} from "./chunk-G4TIS2SC.js";
|
|
39
|
-
|
|
40
|
-
// ../../node_modules/music-metadata/lib/mp4/MP4Parser.js
|
|
41
|
-
init_shims();
|
|
42
|
-
var import_debug3 = __toESM(require_src(), 1);
|
|
43
|
-
|
|
44
|
-
// ../../node_modules/music-metadata/lib/mp4/Atom.js
|
|
45
|
-
init_shims();
|
|
46
|
-
var import_debug2 = __toESM(require_src(), 1);
|
|
47
|
-
|
|
48
|
-
// ../../node_modules/music-metadata/lib/mp4/AtomToken.js
|
|
49
|
-
init_shims();
|
|
50
|
-
var import_debug = __toESM(require_src(), 1);
|
|
51
|
-
var debug = (0, import_debug.default)("music-metadata:parser:MP4:atom");
|
|
52
|
-
var Mp4ContentError = class extends makeUnexpectedFileContentError("MP4") {
|
|
53
|
-
};
|
|
54
|
-
var Header = {
|
|
55
|
-
len: 8,
|
|
56
|
-
get: (buf, off) => {
|
|
57
|
-
const length = UINT32_BE.get(buf, off);
|
|
58
|
-
if (length < 0)
|
|
59
|
-
throw new Mp4ContentError("Invalid atom header length");
|
|
60
|
-
return {
|
|
61
|
-
length: BigInt(length),
|
|
62
|
-
name: new StringType(4, "latin1").get(buf, off + 4)
|
|
63
|
-
};
|
|
64
|
-
},
|
|
65
|
-
put: (buf, off, hdr) => {
|
|
66
|
-
UINT32_BE.put(buf, off, Number(hdr.length));
|
|
67
|
-
return FourCcToken.put(buf, off + 4, hdr.name);
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
var ExtendedSize = UINT64_BE;
|
|
71
|
-
var ftyp = {
|
|
72
|
-
len: 4,
|
|
73
|
-
get: (buf, off) => {
|
|
74
|
-
return {
|
|
75
|
-
type: new StringType(4, "ascii").get(buf, off)
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
var FixedLengthAtom = class {
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @param {number} len Length as specified in the size field
|
|
83
|
-
* @param {number} expLen Total length of sum of specified fields in the standard
|
|
84
|
-
* @param atomId Atom ID
|
|
85
|
-
*/
|
|
86
|
-
constructor(len, expLen, atomId) {
|
|
87
|
-
if (len < expLen) {
|
|
88
|
-
throw new Mp4ContentError(`Atom ${atomId} expected to be ${expLen}, but specifies ${len} bytes long.`);
|
|
89
|
-
}
|
|
90
|
-
if (len > expLen) {
|
|
91
|
-
debug(`Warning: atom ${atomId} expected to be ${expLen}, but was actually ${len} bytes long.`);
|
|
92
|
-
}
|
|
93
|
-
this.len = len;
|
|
94
|
-
}
|
|
95
|
-
};
|
|
96
|
-
var SecondsSinceMacEpoch = {
|
|
97
|
-
len: 4,
|
|
98
|
-
get: (buf, off) => {
|
|
99
|
-
const secondsSinceUnixEpoch = UINT32_BE.get(buf, off) - 2082844800;
|
|
100
|
-
return new Date(secondsSinceUnixEpoch * 1e3);
|
|
101
|
-
}
|
|
102
|
-
};
|
|
103
|
-
var MdhdAtom = class extends FixedLengthAtom {
|
|
104
|
-
constructor(len) {
|
|
105
|
-
super(len, 24, "mdhd");
|
|
106
|
-
}
|
|
107
|
-
get(buf, off) {
|
|
108
|
-
return {
|
|
109
|
-
version: UINT8.get(buf, off + 0),
|
|
110
|
-
flags: UINT24_BE.get(buf, off + 1),
|
|
111
|
-
creationTime: SecondsSinceMacEpoch.get(buf, off + 4),
|
|
112
|
-
modificationTime: SecondsSinceMacEpoch.get(buf, off + 8),
|
|
113
|
-
timeScale: UINT32_BE.get(buf, off + 12),
|
|
114
|
-
duration: UINT32_BE.get(buf, off + 16),
|
|
115
|
-
language: UINT16_BE.get(buf, off + 20),
|
|
116
|
-
quality: UINT16_BE.get(buf, off + 22)
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
};
|
|
120
|
-
var MvhdAtom = class extends FixedLengthAtom {
|
|
121
|
-
constructor(len) {
|
|
122
|
-
super(len, 100, "mvhd");
|
|
123
|
-
}
|
|
124
|
-
get(buf, off) {
|
|
125
|
-
return {
|
|
126
|
-
version: UINT8.get(buf, off),
|
|
127
|
-
flags: UINT24_BE.get(buf, off + 1),
|
|
128
|
-
creationTime: SecondsSinceMacEpoch.get(buf, off + 4),
|
|
129
|
-
modificationTime: SecondsSinceMacEpoch.get(buf, off + 8),
|
|
130
|
-
timeScale: UINT32_BE.get(buf, off + 12),
|
|
131
|
-
duration: UINT32_BE.get(buf, off + 16),
|
|
132
|
-
preferredRate: UINT32_BE.get(buf, off + 20),
|
|
133
|
-
preferredVolume: UINT16_BE.get(buf, off + 24),
|
|
134
|
-
// ignore reserver: 10 bytes
|
|
135
|
-
// ignore matrix structure: 36 bytes
|
|
136
|
-
previewTime: UINT32_BE.get(buf, off + 72),
|
|
137
|
-
previewDuration: UINT32_BE.get(buf, off + 76),
|
|
138
|
-
posterTime: UINT32_BE.get(buf, off + 80),
|
|
139
|
-
selectionTime: UINT32_BE.get(buf, off + 84),
|
|
140
|
-
selectionDuration: UINT32_BE.get(buf, off + 88),
|
|
141
|
-
currentTime: UINT32_BE.get(buf, off + 92),
|
|
142
|
-
nextTrackID: UINT32_BE.get(buf, off + 96)
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
var DataAtom = class {
|
|
147
|
-
constructor(len) {
|
|
148
|
-
this.len = len;
|
|
149
|
-
}
|
|
150
|
-
get(buf, off) {
|
|
151
|
-
return {
|
|
152
|
-
type: {
|
|
153
|
-
set: UINT8.get(buf, off + 0),
|
|
154
|
-
type: UINT24_BE.get(buf, off + 1)
|
|
155
|
-
},
|
|
156
|
-
locale: UINT24_BE.get(buf, off + 4),
|
|
157
|
-
value: new Uint8ArrayType(this.len - 8).get(buf, off + 8)
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
};
|
|
161
|
-
var NameAtom = class {
|
|
162
|
-
constructor(len) {
|
|
163
|
-
this.len = len;
|
|
164
|
-
}
|
|
165
|
-
get(buf, off) {
|
|
166
|
-
return {
|
|
167
|
-
version: UINT8.get(buf, off),
|
|
168
|
-
flags: UINT24_BE.get(buf, off + 1),
|
|
169
|
-
name: new StringType(this.len - 4, "utf-8").get(buf, off + 4)
|
|
170
|
-
};
|
|
171
|
-
}
|
|
172
|
-
};
|
|
173
|
-
var TrackHeaderAtom = class {
|
|
174
|
-
constructor(len) {
|
|
175
|
-
this.len = len;
|
|
176
|
-
}
|
|
177
|
-
get(buf, off) {
|
|
178
|
-
return {
|
|
179
|
-
version: UINT8.get(buf, off),
|
|
180
|
-
flags: UINT24_BE.get(buf, off + 1),
|
|
181
|
-
creationTime: SecondsSinceMacEpoch.get(buf, off + 4),
|
|
182
|
-
modificationTime: SecondsSinceMacEpoch.get(buf, off + 8),
|
|
183
|
-
trackId: UINT32_BE.get(buf, off + 12),
|
|
184
|
-
// reserved 4 bytes
|
|
185
|
-
duration: UINT32_BE.get(buf, off + 20),
|
|
186
|
-
layer: UINT16_BE.get(buf, off + 24),
|
|
187
|
-
alternateGroup: UINT16_BE.get(buf, off + 26),
|
|
188
|
-
volume: UINT16_BE.get(buf, off + 28)
|
|
189
|
-
// ToDo: fixed point
|
|
190
|
-
// ToDo: add remaining fields
|
|
191
|
-
};
|
|
192
|
-
}
|
|
193
|
-
};
|
|
194
|
-
var stsdHeader = {
|
|
195
|
-
len: 8,
|
|
196
|
-
get: (buf, off) => {
|
|
197
|
-
return {
|
|
198
|
-
version: UINT8.get(buf, off),
|
|
199
|
-
flags: UINT24_BE.get(buf, off + 1),
|
|
200
|
-
numberOfEntries: UINT32_BE.get(buf, off + 4)
|
|
201
|
-
};
|
|
202
|
-
}
|
|
203
|
-
};
|
|
204
|
-
var SampleDescriptionTable = class {
|
|
205
|
-
constructor(len) {
|
|
206
|
-
this.len = len;
|
|
207
|
-
}
|
|
208
|
-
get(buf, off) {
|
|
209
|
-
const descrLen = this.len - 12;
|
|
210
|
-
return {
|
|
211
|
-
dataFormat: FourCcToken.get(buf, off),
|
|
212
|
-
dataReferenceIndex: UINT16_BE.get(buf, off + 10),
|
|
213
|
-
description: descrLen > 0 ? new Uint8ArrayType(descrLen).get(buf, off + 12) : void 0
|
|
214
|
-
};
|
|
215
|
-
}
|
|
216
|
-
};
|
|
217
|
-
var StsdAtom = class {
|
|
218
|
-
constructor(len) {
|
|
219
|
-
this.len = len;
|
|
220
|
-
}
|
|
221
|
-
get(buf, off) {
|
|
222
|
-
const header = stsdHeader.get(buf, off);
|
|
223
|
-
off += stsdHeader.len;
|
|
224
|
-
const table = [];
|
|
225
|
-
for (let n = 0; n < header.numberOfEntries; ++n) {
|
|
226
|
-
const size = UINT32_BE.get(buf, off);
|
|
227
|
-
off += UINT32_BE.len;
|
|
228
|
-
table.push(new SampleDescriptionTable(size - UINT32_BE.len).get(buf, off));
|
|
229
|
-
off += size;
|
|
230
|
-
}
|
|
231
|
-
return {
|
|
232
|
-
header,
|
|
233
|
-
table
|
|
234
|
-
};
|
|
235
|
-
}
|
|
236
|
-
};
|
|
237
|
-
var SoundSampleDescriptionVersion = {
|
|
238
|
-
len: 8,
|
|
239
|
-
get(buf, off) {
|
|
240
|
-
return {
|
|
241
|
-
version: INT16_BE.get(buf, off),
|
|
242
|
-
revision: INT16_BE.get(buf, off + 2),
|
|
243
|
-
vendor: INT32_BE.get(buf, off + 4)
|
|
244
|
-
};
|
|
245
|
-
}
|
|
246
|
-
};
|
|
247
|
-
var SoundSampleDescriptionV0 = {
|
|
248
|
-
len: 12,
|
|
249
|
-
get(buf, off) {
|
|
250
|
-
return {
|
|
251
|
-
numAudioChannels: INT16_BE.get(buf, off + 0),
|
|
252
|
-
sampleSize: INT16_BE.get(buf, off + 2),
|
|
253
|
-
compressionId: INT16_BE.get(buf, off + 4),
|
|
254
|
-
packetSize: INT16_BE.get(buf, off + 6),
|
|
255
|
-
sampleRate: UINT16_BE.get(buf, off + 8) + UINT16_BE.get(buf, off + 10) / 1e4
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
};
|
|
259
|
-
var SimpleTableAtom = class {
|
|
260
|
-
constructor(len, token) {
|
|
261
|
-
this.len = len;
|
|
262
|
-
this.token = token;
|
|
263
|
-
}
|
|
264
|
-
get(buf, off) {
|
|
265
|
-
const nrOfEntries = INT32_BE.get(buf, off + 4);
|
|
266
|
-
return {
|
|
267
|
-
version: INT8.get(buf, off + 0),
|
|
268
|
-
flags: INT24_BE.get(buf, off + 1),
|
|
269
|
-
numberOfEntries: nrOfEntries,
|
|
270
|
-
entries: readTokenTable(buf, this.token, off + 8, this.len - 8, nrOfEntries)
|
|
271
|
-
};
|
|
272
|
-
}
|
|
273
|
-
};
|
|
274
|
-
var TimeToSampleToken = {
|
|
275
|
-
len: 8,
|
|
276
|
-
get(buf, off) {
|
|
277
|
-
return {
|
|
278
|
-
count: INT32_BE.get(buf, off + 0),
|
|
279
|
-
duration: INT32_BE.get(buf, off + 4)
|
|
280
|
-
};
|
|
281
|
-
}
|
|
282
|
-
};
|
|
283
|
-
var SttsAtom = class extends SimpleTableAtom {
|
|
284
|
-
constructor(len) {
|
|
285
|
-
super(len, TimeToSampleToken);
|
|
286
|
-
}
|
|
287
|
-
};
|
|
288
|
-
var SampleToChunkToken = {
|
|
289
|
-
len: 12,
|
|
290
|
-
get(buf, off) {
|
|
291
|
-
return {
|
|
292
|
-
firstChunk: INT32_BE.get(buf, off),
|
|
293
|
-
samplesPerChunk: INT32_BE.get(buf, off + 4),
|
|
294
|
-
sampleDescriptionId: INT32_BE.get(buf, off + 8)
|
|
295
|
-
};
|
|
296
|
-
}
|
|
297
|
-
};
|
|
298
|
-
var StscAtom = class extends SimpleTableAtom {
|
|
299
|
-
constructor(len) {
|
|
300
|
-
super(len, SampleToChunkToken);
|
|
301
|
-
}
|
|
302
|
-
};
|
|
303
|
-
var StszAtom = class {
|
|
304
|
-
constructor(len) {
|
|
305
|
-
this.len = len;
|
|
306
|
-
}
|
|
307
|
-
get(buf, off) {
|
|
308
|
-
const nrOfEntries = INT32_BE.get(buf, off + 8);
|
|
309
|
-
return {
|
|
310
|
-
version: INT8.get(buf, off),
|
|
311
|
-
flags: INT24_BE.get(buf, off + 1),
|
|
312
|
-
sampleSize: INT32_BE.get(buf, off + 4),
|
|
313
|
-
numberOfEntries: nrOfEntries,
|
|
314
|
-
entries: readTokenTable(buf, INT32_BE, off + 12, this.len - 12, nrOfEntries)
|
|
315
|
-
};
|
|
316
|
-
}
|
|
317
|
-
};
|
|
318
|
-
var StcoAtom = class extends SimpleTableAtom {
|
|
319
|
-
constructor(len) {
|
|
320
|
-
super(len, INT32_BE);
|
|
321
|
-
this.len = len;
|
|
322
|
-
}
|
|
323
|
-
};
|
|
324
|
-
var ChapterText = class {
|
|
325
|
-
constructor(len) {
|
|
326
|
-
this.len = len;
|
|
327
|
-
}
|
|
328
|
-
get(buf, off) {
|
|
329
|
-
const titleLen = INT16_BE.get(buf, off + 0);
|
|
330
|
-
const str = new StringType(titleLen, "utf-8");
|
|
331
|
-
return str.get(buf, off + 2);
|
|
332
|
-
}
|
|
333
|
-
};
|
|
334
|
-
function readTokenTable(buf, token, off, remainingLen, numberOfEntries) {
|
|
335
|
-
debug(`remainingLen=${remainingLen}, numberOfEntries=${numberOfEntries} * token-len=${token.len}`);
|
|
336
|
-
if (remainingLen === 0)
|
|
337
|
-
return [];
|
|
338
|
-
if (remainingLen !== numberOfEntries * token.len)
|
|
339
|
-
throw new Mp4ContentError("mismatch number-of-entries with remaining atom-length");
|
|
340
|
-
const entries = [];
|
|
341
|
-
for (let n = 0; n < numberOfEntries; ++n) {
|
|
342
|
-
entries.push(token.get(buf, off));
|
|
343
|
-
off += token.len;
|
|
344
|
-
}
|
|
345
|
-
return entries;
|
|
346
|
-
}
|
|
347
|
-
var TrackFragmentHeaderBox = class {
|
|
348
|
-
constructor(len) {
|
|
349
|
-
this.len = len;
|
|
350
|
-
}
|
|
351
|
-
get(buf, off) {
|
|
352
|
-
const flagOffset = off + 1;
|
|
353
|
-
const header = {
|
|
354
|
-
version: INT8.get(buf, off),
|
|
355
|
-
flags: {
|
|
356
|
-
baseDataOffsetPresent: getBit(buf, flagOffset + 2, 0),
|
|
357
|
-
sampleDescriptionIndexPresent: getBit(buf, flagOffset + 2, 1),
|
|
358
|
-
defaultSampleDurationPresent: getBit(buf, flagOffset + 2, 3),
|
|
359
|
-
defaultSampleSizePresent: getBit(buf, flagOffset + 2, 4),
|
|
360
|
-
defaultSampleFlagsPresent: getBit(buf, flagOffset + 2, 5),
|
|
361
|
-
defaultDurationIsEmpty: getBit(buf, flagOffset, 0),
|
|
362
|
-
defaultBaseIsMoof: getBit(buf, flagOffset, 1)
|
|
363
|
-
},
|
|
364
|
-
trackId: UINT32_BE.get(buf, 4)
|
|
365
|
-
};
|
|
366
|
-
let dynOffset = 8;
|
|
367
|
-
if (header.flags.baseDataOffsetPresent) {
|
|
368
|
-
header.baseDataOffset = UINT64_BE.get(buf, dynOffset);
|
|
369
|
-
dynOffset += 8;
|
|
370
|
-
}
|
|
371
|
-
if (header.flags.sampleDescriptionIndexPresent) {
|
|
372
|
-
header.sampleDescriptionIndex = UINT32_BE.get(buf, dynOffset);
|
|
373
|
-
dynOffset += 4;
|
|
374
|
-
}
|
|
375
|
-
if (header.flags.defaultSampleDurationPresent) {
|
|
376
|
-
header.defaultSampleDuration = UINT32_BE.get(buf, dynOffset);
|
|
377
|
-
dynOffset += 4;
|
|
378
|
-
}
|
|
379
|
-
if (header.flags.defaultSampleSizePresent) {
|
|
380
|
-
header.defaultSampleSize = UINT32_BE.get(buf, dynOffset);
|
|
381
|
-
dynOffset += 4;
|
|
382
|
-
}
|
|
383
|
-
if (header.flags.defaultSampleFlagsPresent) {
|
|
384
|
-
header.defaultSampleFlags = UINT32_BE.get(buf, dynOffset);
|
|
385
|
-
}
|
|
386
|
-
return header;
|
|
387
|
-
}
|
|
388
|
-
};
|
|
389
|
-
var TrackRunBox = class {
|
|
390
|
-
constructor(len) {
|
|
391
|
-
this.len = len;
|
|
392
|
-
}
|
|
393
|
-
get(buf, off) {
|
|
394
|
-
const flagOffset = off + 1;
|
|
395
|
-
const trun = {
|
|
396
|
-
version: INT8.get(buf, off),
|
|
397
|
-
flags: {
|
|
398
|
-
dataOffsetPresent: getBit(buf, flagOffset + 2, 0),
|
|
399
|
-
firstSampleFlagsPresent: getBit(buf, flagOffset + 2, 2),
|
|
400
|
-
sampleDurationPresent: getBit(buf, flagOffset + 1, 0),
|
|
401
|
-
sampleSizePresent: getBit(buf, flagOffset + 1, 1),
|
|
402
|
-
sampleFlagsPresent: getBit(buf, flagOffset + 1, 2),
|
|
403
|
-
sampleCompositionTimeOffsetsPresent: getBit(buf, flagOffset + 1, 3)
|
|
404
|
-
},
|
|
405
|
-
sampleCount: UINT32_BE.get(buf, off + 4),
|
|
406
|
-
samples: []
|
|
407
|
-
};
|
|
408
|
-
let dynOffset = off + 8;
|
|
409
|
-
if (trun.flags.dataOffsetPresent) {
|
|
410
|
-
trun.dataOffset = UINT32_BE.get(buf, dynOffset);
|
|
411
|
-
dynOffset += 4;
|
|
412
|
-
}
|
|
413
|
-
if (trun.flags.firstSampleFlagsPresent) {
|
|
414
|
-
trun.firstSampleFlags = UINT32_BE.get(buf, dynOffset);
|
|
415
|
-
dynOffset += 4;
|
|
416
|
-
}
|
|
417
|
-
for (let n = 0; n < trun.sampleCount; ++n) {
|
|
418
|
-
if (dynOffset >= this.len) {
|
|
419
|
-
debug("TrackRunBox size mismatch");
|
|
420
|
-
break;
|
|
421
|
-
}
|
|
422
|
-
const sample = {};
|
|
423
|
-
if (trun.flags.sampleDurationPresent) {
|
|
424
|
-
sample.sampleDuration = UINT32_BE.get(buf, dynOffset);
|
|
425
|
-
dynOffset += 4;
|
|
426
|
-
}
|
|
427
|
-
if (trun.flags.sampleSizePresent) {
|
|
428
|
-
sample.sampleSize = UINT32_BE.get(buf, dynOffset);
|
|
429
|
-
dynOffset += 4;
|
|
430
|
-
}
|
|
431
|
-
if (trun.flags.sampleFlagsPresent) {
|
|
432
|
-
sample.sampleFlags = UINT32_BE.get(buf, dynOffset);
|
|
433
|
-
dynOffset += 4;
|
|
434
|
-
}
|
|
435
|
-
if (trun.flags.sampleCompositionTimeOffsetsPresent) {
|
|
436
|
-
sample.sampleCompositionTimeOffset = UINT32_BE.get(buf, dynOffset);
|
|
437
|
-
dynOffset += 4;
|
|
438
|
-
}
|
|
439
|
-
trun.samples.push(sample);
|
|
440
|
-
}
|
|
441
|
-
return trun;
|
|
442
|
-
}
|
|
443
|
-
};
|
|
444
|
-
var HandlerBox = class {
|
|
445
|
-
constructor(len) {
|
|
446
|
-
this.len = len;
|
|
447
|
-
}
|
|
448
|
-
get(buf, off) {
|
|
449
|
-
const _flagOffset = off + 1;
|
|
450
|
-
const charTypeToken = new StringType(4, "utf-8");
|
|
451
|
-
return {
|
|
452
|
-
version: INT8.get(buf, off),
|
|
453
|
-
flags: UINT24_BE.get(buf, off + 1),
|
|
454
|
-
componentType: charTypeToken.get(buf, off + 4),
|
|
455
|
-
handlerType: charTypeToken.get(buf, off + 8),
|
|
456
|
-
componentName: new StringType(this.len - 28, "utf-8").get(buf, off + 28)
|
|
457
|
-
};
|
|
458
|
-
}
|
|
459
|
-
};
|
|
460
|
-
var ChapterTrackReferenceBox = class {
|
|
461
|
-
constructor(len) {
|
|
462
|
-
this.len = len;
|
|
463
|
-
}
|
|
464
|
-
get(buf, off) {
|
|
465
|
-
let dynOffset = 0;
|
|
466
|
-
const trackIds = [];
|
|
467
|
-
while (dynOffset < this.len) {
|
|
468
|
-
trackIds.push(UINT32_BE.get(buf, off + dynOffset));
|
|
469
|
-
dynOffset += 4;
|
|
470
|
-
}
|
|
471
|
-
return trackIds;
|
|
472
|
-
}
|
|
473
|
-
};
|
|
474
|
-
|
|
475
|
-
// ../../node_modules/music-metadata/lib/mp4/Atom.js
|
|
476
|
-
var debug2 = (0, import_debug2.default)("music-metadata:parser:MP4:Atom");
|
|
477
|
-
var Atom = class _Atom {
|
|
478
|
-
static async readAtom(tokenizer, dataHandler, parent, remaining) {
|
|
479
|
-
const offset = tokenizer.position;
|
|
480
|
-
debug2(`Reading next token on offset=${offset}...`);
|
|
481
|
-
const header = await tokenizer.readToken(Header);
|
|
482
|
-
const extended = header.length === 1n;
|
|
483
|
-
if (extended) {
|
|
484
|
-
header.length = await tokenizer.readToken(ExtendedSize);
|
|
485
|
-
}
|
|
486
|
-
const atomBean = new _Atom(header, extended, parent);
|
|
487
|
-
const payloadLength = atomBean.getPayloadLength(remaining);
|
|
488
|
-
debug2(`parse atom name=${atomBean.atomPath}, extended=${atomBean.extended}, offset=${offset}, len=${atomBean.header.length}`);
|
|
489
|
-
await atomBean.readData(tokenizer, dataHandler, payloadLength);
|
|
490
|
-
return atomBean;
|
|
491
|
-
}
|
|
492
|
-
constructor(header, extended, parent) {
|
|
493
|
-
this.header = header;
|
|
494
|
-
this.extended = extended;
|
|
495
|
-
this.parent = parent;
|
|
496
|
-
this.children = [];
|
|
497
|
-
this.atomPath = (this.parent ? `${this.parent.atomPath}.` : "") + this.header.name;
|
|
498
|
-
}
|
|
499
|
-
getHeaderLength() {
|
|
500
|
-
return this.extended ? 16 : 8;
|
|
501
|
-
}
|
|
502
|
-
getPayloadLength(remaining) {
|
|
503
|
-
return (this.header.length === 0n ? remaining : Number(this.header.length)) - this.getHeaderLength();
|
|
504
|
-
}
|
|
505
|
-
async readAtoms(tokenizer, dataHandler, size) {
|
|
506
|
-
while (size > 0) {
|
|
507
|
-
const atomBean = await _Atom.readAtom(tokenizer, dataHandler, this, size);
|
|
508
|
-
this.children.push(atomBean);
|
|
509
|
-
size -= atomBean.header.length === 0n ? size : Number(atomBean.header.length);
|
|
510
|
-
}
|
|
511
|
-
}
|
|
512
|
-
async readData(tokenizer, dataHandler, remaining) {
|
|
513
|
-
switch (this.header.name) {
|
|
514
|
-
// "Container" atoms, contains nested atoms
|
|
515
|
-
case "moov":
|
|
516
|
-
// The Movie Atom: contains other atoms
|
|
517
|
-
case "udta":
|
|
518
|
-
// User defined atom
|
|
519
|
-
case "mdia":
|
|
520
|
-
// Media atom
|
|
521
|
-
case "minf":
|
|
522
|
-
// Media Information Atom
|
|
523
|
-
case "stbl":
|
|
524
|
-
// The Sample Table Atom
|
|
525
|
-
case "<id>":
|
|
526
|
-
case "ilst":
|
|
527
|
-
case "tref":
|
|
528
|
-
case "moof":
|
|
529
|
-
return this.readAtoms(tokenizer, dataHandler, this.getPayloadLength(remaining));
|
|
530
|
-
case "meta": {
|
|
531
|
-
const peekHeader = await tokenizer.peekToken(Header);
|
|
532
|
-
const paddingLength = peekHeader.name === "hdlr" ? 0 : 4;
|
|
533
|
-
await tokenizer.ignore(paddingLength);
|
|
534
|
-
return this.readAtoms(tokenizer, dataHandler, this.getPayloadLength(remaining) - paddingLength);
|
|
535
|
-
}
|
|
536
|
-
default:
|
|
537
|
-
return dataHandler(this, remaining);
|
|
538
|
-
}
|
|
539
|
-
}
|
|
540
|
-
};
|
|
541
|
-
|
|
542
|
-
// ../../node_modules/music-metadata/lib/mp4/MP4Parser.js
|
|
543
|
-
var debug3 = (0, import_debug3.default)("music-metadata:parser:MP4");
|
|
544
|
-
var tagFormat = "iTunes";
|
|
545
|
-
var encoderDict = {
|
|
546
|
-
raw: {
|
|
547
|
-
lossy: false,
|
|
548
|
-
format: "raw"
|
|
549
|
-
},
|
|
550
|
-
MAC3: {
|
|
551
|
-
lossy: true,
|
|
552
|
-
format: "MACE 3:1"
|
|
553
|
-
},
|
|
554
|
-
MAC6: {
|
|
555
|
-
lossy: true,
|
|
556
|
-
format: "MACE 6:1"
|
|
557
|
-
},
|
|
558
|
-
ima4: {
|
|
559
|
-
lossy: true,
|
|
560
|
-
format: "IMA 4:1"
|
|
561
|
-
},
|
|
562
|
-
ulaw: {
|
|
563
|
-
lossy: true,
|
|
564
|
-
format: "uLaw 2:1"
|
|
565
|
-
},
|
|
566
|
-
alaw: {
|
|
567
|
-
lossy: true,
|
|
568
|
-
format: "uLaw 2:1"
|
|
569
|
-
},
|
|
570
|
-
Qclp: {
|
|
571
|
-
lossy: true,
|
|
572
|
-
format: "QUALCOMM PureVoice"
|
|
573
|
-
},
|
|
574
|
-
".mp3": {
|
|
575
|
-
lossy: true,
|
|
576
|
-
format: "MPEG-1 layer 3"
|
|
577
|
-
},
|
|
578
|
-
alac: {
|
|
579
|
-
lossy: false,
|
|
580
|
-
format: "ALAC"
|
|
581
|
-
},
|
|
582
|
-
"ac-3": {
|
|
583
|
-
lossy: true,
|
|
584
|
-
format: "AC-3"
|
|
585
|
-
},
|
|
586
|
-
mp4a: {
|
|
587
|
-
lossy: true,
|
|
588
|
-
format: "MPEG-4/AAC"
|
|
589
|
-
},
|
|
590
|
-
mp4s: {
|
|
591
|
-
lossy: true,
|
|
592
|
-
format: "MP4S"
|
|
593
|
-
},
|
|
594
|
-
// Closed Captioning Media, https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFChap3/qtff3.html#//apple_ref/doc/uid/TP40000939-CH205-SW87
|
|
595
|
-
c608: {
|
|
596
|
-
lossy: true,
|
|
597
|
-
format: "CEA-608"
|
|
598
|
-
},
|
|
599
|
-
c708: {
|
|
600
|
-
lossy: true,
|
|
601
|
-
format: "CEA-708"
|
|
602
|
-
}
|
|
603
|
-
};
|
|
604
|
-
function distinct(value, index, self) {
|
|
605
|
-
return self.indexOf(value) === index;
|
|
606
|
-
}
|
|
607
|
-
var MP4Parser = class _MP4Parser extends BasicParser {
|
|
608
|
-
constructor() {
|
|
609
|
-
super(...arguments);
|
|
610
|
-
this.tracks = /* @__PURE__ */ new Map();
|
|
611
|
-
this.hasVideoTrack = false;
|
|
612
|
-
this.hasAudioTrack = true;
|
|
613
|
-
this.atomParsers = {
|
|
614
|
-
/**
|
|
615
|
-
* Parse movie header (mvhd) atom
|
|
616
|
-
* Ref: https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFChap2/qtff2.html#//apple_ref/doc/uid/TP40000939-CH204-56313
|
|
617
|
-
*/
|
|
618
|
-
mvhd: async (len) => {
|
|
619
|
-
const mvhd = await this.tokenizer.readToken(new MvhdAtom(len));
|
|
620
|
-
this.metadata.setFormat("creationTime", mvhd.creationTime);
|
|
621
|
-
this.metadata.setFormat("modificationTime", mvhd.modificationTime);
|
|
622
|
-
},
|
|
623
|
-
chap: async (len) => {
|
|
624
|
-
const td = this.getTrackDescription();
|
|
625
|
-
const trackIds = [];
|
|
626
|
-
while (len >= UINT32_BE.len) {
|
|
627
|
-
trackIds.push(await this.tokenizer.readNumber(UINT32_BE));
|
|
628
|
-
len -= UINT32_BE.len;
|
|
629
|
-
}
|
|
630
|
-
td.chapterList = trackIds;
|
|
631
|
-
},
|
|
632
|
-
/**
|
|
633
|
-
* Parse mdat atom.
|
|
634
|
-
* Will scan for chapters
|
|
635
|
-
*/
|
|
636
|
-
mdat: async (len) => {
|
|
637
|
-
if (this.options.includeChapters) {
|
|
638
|
-
const trackWithChapters = [...this.tracks.values()].filter((track) => track.chapterList);
|
|
639
|
-
if (trackWithChapters.length === 1) {
|
|
640
|
-
const chapterTrackIds = trackWithChapters[0].chapterList;
|
|
641
|
-
const chapterTracks = [...this.tracks.values()].filter((track) => chapterTrackIds.indexOf(track.header.trackId) !== -1);
|
|
642
|
-
if (chapterTracks.length === 1) {
|
|
643
|
-
return this.parseChapterTrack(chapterTracks[0], trackWithChapters[0], len);
|
|
644
|
-
}
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
await this.tokenizer.ignore(len);
|
|
648
|
-
},
|
|
649
|
-
ftyp: async (len) => {
|
|
650
|
-
const types = [];
|
|
651
|
-
while (len > 0) {
|
|
652
|
-
const ftype = await this.tokenizer.readToken(ftyp);
|
|
653
|
-
len -= ftyp.len;
|
|
654
|
-
const value = ftype.type.replace(/\W/g, "");
|
|
655
|
-
if (value.length > 0) {
|
|
656
|
-
types.push(value);
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
debug3(`ftyp: ${types.join("/")}`);
|
|
660
|
-
const x = types.filter(distinct).join("/");
|
|
661
|
-
this.metadata.setFormat("container", x);
|
|
662
|
-
},
|
|
663
|
-
/**
|
|
664
|
-
* Parse sample description atom
|
|
665
|
-
*/
|
|
666
|
-
stsd: async (len) => {
|
|
667
|
-
const stsd = await this.tokenizer.readToken(new StsdAtom(len));
|
|
668
|
-
const trackDescription = this.getTrackDescription();
|
|
669
|
-
trackDescription.soundSampleDescription = stsd.table.map((dfEntry) => this.parseSoundSampleDescription(dfEntry));
|
|
670
|
-
},
|
|
671
|
-
/**
|
|
672
|
-
* Parse sample-sizes atom ('stsz')
|
|
673
|
-
*/
|
|
674
|
-
stsz: async (len) => {
|
|
675
|
-
const stsz = await this.tokenizer.readToken(new StszAtom(len));
|
|
676
|
-
const td = this.getTrackDescription();
|
|
677
|
-
td.sampleSize = stsz.sampleSize;
|
|
678
|
-
td.sampleSizeTable = stsz.entries;
|
|
679
|
-
},
|
|
680
|
-
date: async (len) => {
|
|
681
|
-
const date = await this.tokenizer.readToken(new StringType(len, "utf-8"));
|
|
682
|
-
await this.addTag("date", date);
|
|
683
|
-
}
|
|
684
|
-
};
|
|
685
|
-
}
|
|
686
|
-
static read_BE_Integer(array, signed) {
|
|
687
|
-
const integerType = (signed ? "INT" : "UINT") + array.length * 8 + (array.length > 1 ? "_BE" : "");
|
|
688
|
-
const token = lib_exports[integerType];
|
|
689
|
-
if (!token) {
|
|
690
|
-
throw new Mp4ContentError(`Token for integer type not found: "${integerType}"`);
|
|
691
|
-
}
|
|
692
|
-
return Number(token.get(array, 0));
|
|
693
|
-
}
|
|
694
|
-
async parse() {
|
|
695
|
-
this.hasVideoTrack = false;
|
|
696
|
-
this.hasAudioTrack = true;
|
|
697
|
-
this.tracks.clear();
|
|
698
|
-
let remainingFileSize = this.tokenizer.fileInfo.size || 0;
|
|
699
|
-
while (!this.tokenizer.fileInfo.size || remainingFileSize > 0) {
|
|
700
|
-
try {
|
|
701
|
-
const token = await this.tokenizer.peekToken(Header);
|
|
702
|
-
if (token.name === "\0\0\0\0") {
|
|
703
|
-
const errMsg = `Error at offset=${this.tokenizer.position}: box.id=0`;
|
|
704
|
-
debug3(errMsg);
|
|
705
|
-
this.addWarning(errMsg);
|
|
706
|
-
break;
|
|
707
|
-
}
|
|
708
|
-
} catch (error) {
|
|
709
|
-
if (error instanceof Error) {
|
|
710
|
-
const errMsg = `Error at offset=${this.tokenizer.position}: ${error.message}`;
|
|
711
|
-
debug3(errMsg);
|
|
712
|
-
this.addWarning(errMsg);
|
|
713
|
-
} else
|
|
714
|
-
throw error;
|
|
715
|
-
break;
|
|
716
|
-
}
|
|
717
|
-
const rootAtom = await Atom.readAtom(this.tokenizer, (atom, remaining) => this.handleAtom(atom, remaining), null, remainingFileSize);
|
|
718
|
-
remainingFileSize -= rootAtom.header.length === BigInt(0) ? remainingFileSize : Number(rootAtom.header.length);
|
|
719
|
-
}
|
|
720
|
-
const formatList = [];
|
|
721
|
-
this.tracks.forEach((track) => {
|
|
722
|
-
const trackFormats = [];
|
|
723
|
-
track.soundSampleDescription.forEach((ssd) => {
|
|
724
|
-
const streamInfo = {};
|
|
725
|
-
const encoderInfo = encoderDict[ssd.dataFormat];
|
|
726
|
-
if (encoderInfo) {
|
|
727
|
-
trackFormats.push(encoderInfo.format);
|
|
728
|
-
streamInfo.codecName = encoderInfo.format;
|
|
729
|
-
} else {
|
|
730
|
-
streamInfo.codecName = `<${ssd.dataFormat}>`;
|
|
731
|
-
}
|
|
732
|
-
if (ssd.description) {
|
|
733
|
-
const { description } = ssd;
|
|
734
|
-
if (description.sampleRate > 0) {
|
|
735
|
-
streamInfo.type = TrackType.audio;
|
|
736
|
-
streamInfo.audio = {
|
|
737
|
-
samplingFrequency: description.sampleRate,
|
|
738
|
-
bitDepth: description.sampleSize,
|
|
739
|
-
channels: description.numAudioChannels
|
|
740
|
-
};
|
|
741
|
-
}
|
|
742
|
-
}
|
|
743
|
-
this.metadata.addStreamInfo(streamInfo);
|
|
744
|
-
});
|
|
745
|
-
if (trackFormats.length >= 1) {
|
|
746
|
-
formatList.push(trackFormats.join("/"));
|
|
747
|
-
}
|
|
748
|
-
});
|
|
749
|
-
if (formatList.length > 0) {
|
|
750
|
-
this.metadata.setFormat("codec", formatList.filter(distinct).join("+"));
|
|
751
|
-
}
|
|
752
|
-
const audioTracks = [...this.tracks.values()].filter((track) => {
|
|
753
|
-
return track.soundSampleDescription.length >= 1 && track.soundSampleDescription[0].description && track.soundSampleDescription[0].description.numAudioChannels > 0;
|
|
754
|
-
});
|
|
755
|
-
for (const audioTrack of audioTracks) {
|
|
756
|
-
if (audioTrack.media.header && audioTrack.media.header.timeScale > 0) {
|
|
757
|
-
audioTrack.sampleRate = audioTrack.media.header.timeScale;
|
|
758
|
-
if (audioTrack.media.header.duration > 0) {
|
|
759
|
-
debug3("Using duration defined on audio track");
|
|
760
|
-
audioTrack.samples = audioTrack.media.header.duration;
|
|
761
|
-
audioTrack.duration = audioTrack.samples / audioTrack.sampleRate;
|
|
762
|
-
}
|
|
763
|
-
if (audioTrack.fragments.length > 0) {
|
|
764
|
-
debug3("Calculate duration defined in track fragments");
|
|
765
|
-
let totalTimeUnits = 0;
|
|
766
|
-
audioTrack.sizeInBytes = 0;
|
|
767
|
-
for (const fragment of audioTrack.fragments) {
|
|
768
|
-
for (const sample of fragment.trackRun.samples) {
|
|
769
|
-
const dur = sample.sampleDuration ?? fragment.header.defaultSampleDuration ?? 0;
|
|
770
|
-
const size = sample.sampleSize ?? fragment.header.defaultSampleSize ?? 0;
|
|
771
|
-
if (dur === 0) {
|
|
772
|
-
throw new Error("Missing sampleDuration and no defaultSampleDuration in track fragment header");
|
|
773
|
-
}
|
|
774
|
-
if (size === 0) {
|
|
775
|
-
throw new Error("Missing sampleSize and no defaultSampleSize in track fragment header");
|
|
776
|
-
}
|
|
777
|
-
totalTimeUnits += dur;
|
|
778
|
-
audioTrack.sizeInBytes += size;
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
if (!audioTrack.samples) {
|
|
782
|
-
audioTrack.samples = totalTimeUnits;
|
|
783
|
-
}
|
|
784
|
-
if (!audioTrack.duration) {
|
|
785
|
-
audioTrack.duration = totalTimeUnits / audioTrack.sampleRate;
|
|
786
|
-
}
|
|
787
|
-
} else if (audioTrack.sampleSizeTable.length > 0) {
|
|
788
|
-
audioTrack.sizeInBytes = audioTrack.sampleSizeTable.reduce((sum, n) => sum + n, 0);
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
const ssd = audioTrack.soundSampleDescription[0];
|
|
792
|
-
if (ssd.description && audioTrack.media.header) {
|
|
793
|
-
this.metadata.setFormat("sampleRate", ssd.description.sampleRate);
|
|
794
|
-
this.metadata.setFormat("bitsPerSample", ssd.description.sampleSize);
|
|
795
|
-
this.metadata.setFormat("numberOfChannels", ssd.description.numAudioChannels);
|
|
796
|
-
if (audioTrack.media.header.timeScale === 0 && audioTrack.timeToSampleTable.length > 0) {
|
|
797
|
-
const totalSampleSize = audioTrack.timeToSampleTable.map((ttstEntry) => ttstEntry.count * ttstEntry.duration).reduce((total, sampleSize) => total + sampleSize);
|
|
798
|
-
audioTrack.duration = totalSampleSize / ssd.description.sampleRate;
|
|
799
|
-
}
|
|
800
|
-
}
|
|
801
|
-
const encoderInfo = encoderDict[ssd.dataFormat];
|
|
802
|
-
if (encoderInfo) {
|
|
803
|
-
this.metadata.setFormat("lossless", !encoderInfo.lossy);
|
|
804
|
-
}
|
|
805
|
-
}
|
|
806
|
-
if (audioTracks.length >= 1) {
|
|
807
|
-
const firstAudioTrack = audioTracks[0];
|
|
808
|
-
if (firstAudioTrack.duration) {
|
|
809
|
-
this.metadata.setFormat("duration", firstAudioTrack.duration);
|
|
810
|
-
if (firstAudioTrack.sizeInBytes) {
|
|
811
|
-
this.metadata.setFormat("bitrate", 8 * firstAudioTrack.sizeInBytes / firstAudioTrack.duration);
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
}
|
|
815
|
-
this.metadata.setFormat("hasAudio", this.hasAudioTrack);
|
|
816
|
-
this.metadata.setFormat("hasVideo", this.hasVideoTrack);
|
|
817
|
-
}
|
|
818
|
-
async handleAtom(atom, remaining) {
|
|
819
|
-
if (atom.parent) {
|
|
820
|
-
switch (atom.parent.header.name) {
|
|
821
|
-
case "ilst":
|
|
822
|
-
case "<id>":
|
|
823
|
-
return this.parseMetadataItemData(atom);
|
|
824
|
-
case "moov":
|
|
825
|
-
switch (atom.header.name) {
|
|
826
|
-
case "trak":
|
|
827
|
-
return this.parseTrackBox(atom);
|
|
828
|
-
case "udta":
|
|
829
|
-
return this.parseTrackBox(atom);
|
|
830
|
-
}
|
|
831
|
-
break;
|
|
832
|
-
case "moof":
|
|
833
|
-
switch (atom.header.name) {
|
|
834
|
-
case "traf":
|
|
835
|
-
return this.parseTrackFragmentBox(atom);
|
|
836
|
-
}
|
|
837
|
-
}
|
|
838
|
-
}
|
|
839
|
-
if (this.atomParsers[atom.header.name]) {
|
|
840
|
-
return this.atomParsers[atom.header.name](remaining);
|
|
841
|
-
}
|
|
842
|
-
debug3(`No parser for atom path=${atom.atomPath}, payload-len=${remaining}, ignoring atom`);
|
|
843
|
-
await this.tokenizer.ignore(remaining);
|
|
844
|
-
}
|
|
845
|
-
getTrackDescription() {
|
|
846
|
-
const tracks = [...this.tracks.values()];
|
|
847
|
-
return tracks[tracks.length - 1];
|
|
848
|
-
}
|
|
849
|
-
async addTag(id, value) {
|
|
850
|
-
await this.metadata.addTag(tagFormat, id, value);
|
|
851
|
-
}
|
|
852
|
-
addWarning(message) {
|
|
853
|
-
debug3(`Warning: ${message}`);
|
|
854
|
-
this.metadata.addWarning(message);
|
|
855
|
-
}
|
|
856
|
-
/**
|
|
857
|
-
* Parse data of Meta-item-list-atom (item of 'ilst' atom)
|
|
858
|
-
* @param metaAtom
|
|
859
|
-
* Ref: https://developer.apple.com/library/content/documentation/QuickTime/QTFF/Metadata/Metadata.html#//apple_ref/doc/uid/TP40000939-CH1-SW8
|
|
860
|
-
*/
|
|
861
|
-
parseMetadataItemData(metaAtom) {
|
|
862
|
-
let tagKey = metaAtom.header.name;
|
|
863
|
-
return metaAtom.readAtoms(this.tokenizer, async (child, remaining) => {
|
|
864
|
-
const payLoadLength = child.getPayloadLength(remaining);
|
|
865
|
-
switch (child.header.name) {
|
|
866
|
-
case "data":
|
|
867
|
-
return this.parseValueAtom(tagKey, child);
|
|
868
|
-
case "name":
|
|
869
|
-
// name atom (optional)
|
|
870
|
-
case "mean":
|
|
871
|
-
case "rate": {
|
|
872
|
-
const name = await this.tokenizer.readToken(new NameAtom(payLoadLength));
|
|
873
|
-
tagKey += `:${name.name}`;
|
|
874
|
-
break;
|
|
875
|
-
}
|
|
876
|
-
default: {
|
|
877
|
-
const uint8Array = await this.tokenizer.readToken(new Uint8ArrayType(payLoadLength));
|
|
878
|
-
this.addWarning(`Unsupported meta-item: ${tagKey}[${child.header.name}] => value=${uint8ArrayToHex(uint8Array)} ascii=${textDecode(uint8Array, "ascii")}`);
|
|
879
|
-
}
|
|
880
|
-
}
|
|
881
|
-
}, metaAtom.getPayloadLength(0));
|
|
882
|
-
}
|
|
883
|
-
async parseValueAtom(tagKey, metaAtom) {
|
|
884
|
-
const dataAtom = await this.tokenizer.readToken(new DataAtom(Number(metaAtom.header.length) - Header.len));
|
|
885
|
-
if (dataAtom.type.set !== 0) {
|
|
886
|
-
throw new Mp4ContentError(`Unsupported type-set != 0: ${dataAtom.type.set}`);
|
|
887
|
-
}
|
|
888
|
-
switch (dataAtom.type.type) {
|
|
889
|
-
case 0:
|
|
890
|
-
switch (tagKey) {
|
|
891
|
-
case "trkn":
|
|
892
|
-
case "disk": {
|
|
893
|
-
const num = UINT8.get(dataAtom.value, 3);
|
|
894
|
-
const of = UINT8.get(dataAtom.value, 5);
|
|
895
|
-
await this.addTag(tagKey, `${num}/${of}`);
|
|
896
|
-
break;
|
|
897
|
-
}
|
|
898
|
-
case "gnre": {
|
|
899
|
-
const genreInt = UINT8.get(dataAtom.value, 1);
|
|
900
|
-
const genreStr = Genres[genreInt - 1];
|
|
901
|
-
await this.addTag(tagKey, genreStr);
|
|
902
|
-
break;
|
|
903
|
-
}
|
|
904
|
-
case "rate": {
|
|
905
|
-
const rate = textDecode(dataAtom.value, "ascii");
|
|
906
|
-
await this.addTag(tagKey, rate);
|
|
907
|
-
break;
|
|
908
|
-
}
|
|
909
|
-
default:
|
|
910
|
-
debug3(`unknown proprietary value type for: ${metaAtom.atomPath}`);
|
|
911
|
-
}
|
|
912
|
-
break;
|
|
913
|
-
case 1:
|
|
914
|
-
// UTF-8: Without any count or NULL terminator
|
|
915
|
-
case 18:
|
|
916
|
-
await this.addTag(tagKey, textDecode(dataAtom.value));
|
|
917
|
-
break;
|
|
918
|
-
case 13:
|
|
919
|
-
if (this.options.skipCovers)
|
|
920
|
-
break;
|
|
921
|
-
await this.addTag(tagKey, {
|
|
922
|
-
format: "image/jpeg",
|
|
923
|
-
data: Uint8Array.from(dataAtom.value)
|
|
924
|
-
});
|
|
925
|
-
break;
|
|
926
|
-
case 14:
|
|
927
|
-
if (this.options.skipCovers)
|
|
928
|
-
break;
|
|
929
|
-
await this.addTag(tagKey, {
|
|
930
|
-
format: "image/png",
|
|
931
|
-
data: Uint8Array.from(dataAtom.value)
|
|
932
|
-
});
|
|
933
|
-
break;
|
|
934
|
-
case 21:
|
|
935
|
-
await this.addTag(tagKey, _MP4Parser.read_BE_Integer(dataAtom.value, true));
|
|
936
|
-
break;
|
|
937
|
-
case 22:
|
|
938
|
-
await this.addTag(tagKey, _MP4Parser.read_BE_Integer(dataAtom.value, false));
|
|
939
|
-
break;
|
|
940
|
-
case 65:
|
|
941
|
-
await this.addTag(tagKey, UINT8.get(dataAtom.value, 0));
|
|
942
|
-
break;
|
|
943
|
-
case 66:
|
|
944
|
-
await this.addTag(tagKey, UINT16_BE.get(dataAtom.value, 0));
|
|
945
|
-
break;
|
|
946
|
-
case 67:
|
|
947
|
-
await this.addTag(tagKey, UINT32_BE.get(dataAtom.value, 0));
|
|
948
|
-
break;
|
|
949
|
-
default:
|
|
950
|
-
this.addWarning(`atom key=${tagKey}, has unknown well-known-type (data-type): ${dataAtom.type.type}`);
|
|
951
|
-
}
|
|
952
|
-
}
|
|
953
|
-
async parseTrackBox(trakBox) {
|
|
954
|
-
const track = {
|
|
955
|
-
media: {},
|
|
956
|
-
fragments: []
|
|
957
|
-
};
|
|
958
|
-
await trakBox.readAtoms(this.tokenizer, async (child, remaining) => {
|
|
959
|
-
const payLoadLength = child.getPayloadLength(remaining);
|
|
960
|
-
switch (child.header.name) {
|
|
961
|
-
case "chap": {
|
|
962
|
-
const chap = await this.tokenizer.readToken(new ChapterTrackReferenceBox(remaining));
|
|
963
|
-
track.chapterList = chap;
|
|
964
|
-
break;
|
|
965
|
-
}
|
|
966
|
-
case "tkhd":
|
|
967
|
-
track.header = await this.tokenizer.readToken(new TrackHeaderAtom(payLoadLength));
|
|
968
|
-
break;
|
|
969
|
-
case "hdlr":
|
|
970
|
-
track.handler = await this.tokenizer.readToken(new HandlerBox(payLoadLength));
|
|
971
|
-
track.isAudio = () => track.handler.handlerType === "audi" || track.handler.handlerType === "soun";
|
|
972
|
-
track.isVideo = () => track.handler.handlerType === "vide";
|
|
973
|
-
if (track.isAudio()) {
|
|
974
|
-
this.hasAudioTrack = true;
|
|
975
|
-
} else if (track.isVideo()) {
|
|
976
|
-
this.hasVideoTrack = true;
|
|
977
|
-
}
|
|
978
|
-
break;
|
|
979
|
-
case "mdhd": {
|
|
980
|
-
const mdhd_data = await this.tokenizer.readToken(new MdhdAtom(payLoadLength));
|
|
981
|
-
track.media.header = mdhd_data;
|
|
982
|
-
break;
|
|
983
|
-
}
|
|
984
|
-
case "stco": {
|
|
985
|
-
const stco = await this.tokenizer.readToken(new StcoAtom(payLoadLength));
|
|
986
|
-
track.chunkOffsetTable = stco.entries;
|
|
987
|
-
break;
|
|
988
|
-
}
|
|
989
|
-
case "stsc": {
|
|
990
|
-
const stsc = await this.tokenizer.readToken(new StscAtom(payLoadLength));
|
|
991
|
-
track.sampleToChunkTable = stsc.entries;
|
|
992
|
-
break;
|
|
993
|
-
}
|
|
994
|
-
case "stsd": {
|
|
995
|
-
const stsd = await this.tokenizer.readToken(new StsdAtom(payLoadLength));
|
|
996
|
-
track.soundSampleDescription = stsd.table.map((dfEntry) => this.parseSoundSampleDescription(dfEntry));
|
|
997
|
-
break;
|
|
998
|
-
}
|
|
999
|
-
case "stts": {
|
|
1000
|
-
const stts = await this.tokenizer.readToken(new SttsAtom(payLoadLength));
|
|
1001
|
-
track.timeToSampleTable = stts.entries;
|
|
1002
|
-
break;
|
|
1003
|
-
}
|
|
1004
|
-
case "stsz": {
|
|
1005
|
-
const stsz = await this.tokenizer.readToken(new StszAtom(payLoadLength));
|
|
1006
|
-
track.sampleSize = stsz.sampleSize;
|
|
1007
|
-
track.sampleSizeTable = stsz.entries;
|
|
1008
|
-
break;
|
|
1009
|
-
}
|
|
1010
|
-
case "dinf":
|
|
1011
|
-
case "vmhd":
|
|
1012
|
-
case "smhd":
|
|
1013
|
-
debug3(`Ignoring: ${child.header.name}`);
|
|
1014
|
-
await this.tokenizer.ignore(payLoadLength);
|
|
1015
|
-
break;
|
|
1016
|
-
default: {
|
|
1017
|
-
debug3(`Unexpected track box: ${child.header.name}`);
|
|
1018
|
-
await this.tokenizer.ignore(payLoadLength);
|
|
1019
|
-
}
|
|
1020
|
-
}
|
|
1021
|
-
}, trakBox.getPayloadLength(0));
|
|
1022
|
-
this.tracks.set(track.header.trackId, track);
|
|
1023
|
-
}
|
|
1024
|
-
parseTrackFragmentBox(trafBox) {
|
|
1025
|
-
let tfhd;
|
|
1026
|
-
return trafBox.readAtoms(this.tokenizer, async (child, remaining) => {
|
|
1027
|
-
const payLoadLength = child.getPayloadLength(remaining);
|
|
1028
|
-
switch (child.header.name) {
|
|
1029
|
-
case "tfhd": {
|
|
1030
|
-
const fragmentHeaderBox = new TrackFragmentHeaderBox(child.getPayloadLength(remaining));
|
|
1031
|
-
tfhd = await this.tokenizer.readToken(fragmentHeaderBox);
|
|
1032
|
-
break;
|
|
1033
|
-
}
|
|
1034
|
-
case "tfdt":
|
|
1035
|
-
await this.tokenizer.ignore(payLoadLength);
|
|
1036
|
-
break;
|
|
1037
|
-
case "trun": {
|
|
1038
|
-
const trackRunBox = new TrackRunBox(payLoadLength);
|
|
1039
|
-
const trun = await this.tokenizer.readToken(trackRunBox);
|
|
1040
|
-
if (tfhd) {
|
|
1041
|
-
const track = this.tracks.get(tfhd.trackId);
|
|
1042
|
-
track?.fragments.push({ header: tfhd, trackRun: trun });
|
|
1043
|
-
}
|
|
1044
|
-
break;
|
|
1045
|
-
}
|
|
1046
|
-
default: {
|
|
1047
|
-
debug3(`Unexpected box: ${child.header.name}`);
|
|
1048
|
-
await this.tokenizer.ignore(payLoadLength);
|
|
1049
|
-
}
|
|
1050
|
-
}
|
|
1051
|
-
}, trafBox.getPayloadLength(0));
|
|
1052
|
-
}
|
|
1053
|
-
/**
|
|
1054
|
-
* @param sampleDescription
|
|
1055
|
-
* Ref: https://developer.apple.com/library/archive/documentation/QuickTime/QTFF/QTFFChap3/qtff3.html#//apple_ref/doc/uid/TP40000939-CH205-128916
|
|
1056
|
-
*/
|
|
1057
|
-
parseSoundSampleDescription(sampleDescription) {
|
|
1058
|
-
const ssd = {
|
|
1059
|
-
dataFormat: sampleDescription.dataFormat,
|
|
1060
|
-
dataReferenceIndex: sampleDescription.dataReferenceIndex
|
|
1061
|
-
};
|
|
1062
|
-
let offset = 0;
|
|
1063
|
-
if (sampleDescription.description) {
|
|
1064
|
-
const version = SoundSampleDescriptionVersion.get(sampleDescription.description, offset);
|
|
1065
|
-
offset += SoundSampleDescriptionVersion.len;
|
|
1066
|
-
if (version.version === 0 || version.version === 1) {
|
|
1067
|
-
ssd.description = SoundSampleDescriptionV0.get(sampleDescription.description, offset);
|
|
1068
|
-
} else {
|
|
1069
|
-
debug3(`Warning: sound-sample-description ${version} not implemented`);
|
|
1070
|
-
}
|
|
1071
|
-
}
|
|
1072
|
-
return ssd;
|
|
1073
|
-
}
|
|
1074
|
-
async parseChapterTrack(chapterTrack, track, len) {
|
|
1075
|
-
if (!chapterTrack.sampleSize) {
|
|
1076
|
-
if (chapterTrack.chunkOffsetTable.length !== chapterTrack.sampleSizeTable.length)
|
|
1077
|
-
throw new Error("Expected equal chunk-offset-table & sample-size-table length.");
|
|
1078
|
-
}
|
|
1079
|
-
const chapters = [];
|
|
1080
|
-
for (let i = 0; i < chapterTrack.chunkOffsetTable.length && len > 0; ++i) {
|
|
1081
|
-
const start = chapterTrack.timeToSampleTable.slice(0, i).reduce((acc, cur) => acc + cur.duration, 0);
|
|
1082
|
-
const chunkOffset = chapterTrack.chunkOffsetTable[i];
|
|
1083
|
-
const nextChunkLen = chunkOffset - this.tokenizer.position;
|
|
1084
|
-
const sampleSize = chapterTrack.sampleSize > 0 ? chapterTrack.sampleSize : chapterTrack.sampleSizeTable[i];
|
|
1085
|
-
len -= nextChunkLen + sampleSize;
|
|
1086
|
-
if (len < 0)
|
|
1087
|
-
throw new Mp4ContentError("Chapter chunk exceeding token length");
|
|
1088
|
-
await this.tokenizer.ignore(nextChunkLen);
|
|
1089
|
-
const title = await this.tokenizer.readToken(new ChapterText(sampleSize));
|
|
1090
|
-
debug3(`Chapter ${i + 1}: ${title}`);
|
|
1091
|
-
const chapter = {
|
|
1092
|
-
title,
|
|
1093
|
-
timeScale: chapterTrack.media.header ? chapterTrack.media.header.timeScale : 0,
|
|
1094
|
-
start,
|
|
1095
|
-
sampleOffset: this.findSampleOffset(track, this.tokenizer.position)
|
|
1096
|
-
};
|
|
1097
|
-
debug3(`Chapter title=${chapter.title}, offset=${chapter.sampleOffset}/${track.header.duration}`);
|
|
1098
|
-
chapters.push(chapter);
|
|
1099
|
-
}
|
|
1100
|
-
this.metadata.setFormat("chapters", chapters);
|
|
1101
|
-
await this.tokenizer.ignore(len);
|
|
1102
|
-
}
|
|
1103
|
-
findSampleOffset(track, chapterOffset) {
|
|
1104
|
-
let chunkIndex = 0;
|
|
1105
|
-
while (chunkIndex < track.chunkOffsetTable.length && track.chunkOffsetTable[chunkIndex] < chapterOffset) {
|
|
1106
|
-
++chunkIndex;
|
|
1107
|
-
}
|
|
1108
|
-
return this.getChunkDuration(chunkIndex + 1, track);
|
|
1109
|
-
}
|
|
1110
|
-
getChunkDuration(chunkId, track) {
|
|
1111
|
-
let ttsi = 0;
|
|
1112
|
-
let ttsc = track.timeToSampleTable[ttsi].count;
|
|
1113
|
-
let ttsd = track.timeToSampleTable[ttsi].duration;
|
|
1114
|
-
let curChunkId = 1;
|
|
1115
|
-
let samplesPerChunk = this.getSamplesPerChunk(curChunkId, track.sampleToChunkTable);
|
|
1116
|
-
let totalDuration = 0;
|
|
1117
|
-
while (curChunkId < chunkId) {
|
|
1118
|
-
const nrOfSamples = Math.min(ttsc, samplesPerChunk);
|
|
1119
|
-
totalDuration += nrOfSamples * ttsd;
|
|
1120
|
-
ttsc -= nrOfSamples;
|
|
1121
|
-
samplesPerChunk -= nrOfSamples;
|
|
1122
|
-
if (samplesPerChunk === 0) {
|
|
1123
|
-
++curChunkId;
|
|
1124
|
-
samplesPerChunk = this.getSamplesPerChunk(curChunkId, track.sampleToChunkTable);
|
|
1125
|
-
} else {
|
|
1126
|
-
++ttsi;
|
|
1127
|
-
ttsc = track.timeToSampleTable[ttsi].count;
|
|
1128
|
-
ttsd = track.timeToSampleTable[ttsi].duration;
|
|
1129
|
-
}
|
|
1130
|
-
}
|
|
1131
|
-
return totalDuration;
|
|
1132
|
-
}
|
|
1133
|
-
getSamplesPerChunk(chunkId, stcTable) {
|
|
1134
|
-
for (let i = 0; i < stcTable.length - 1; ++i) {
|
|
1135
|
-
if (chunkId >= stcTable[i].firstChunk && chunkId < stcTable[i + 1].firstChunk) {
|
|
1136
|
-
return stcTable[i].samplesPerChunk;
|
|
1137
|
-
}
|
|
1138
|
-
}
|
|
1139
|
-
return stcTable[stcTable.length - 1].samplesPerChunk;
|
|
1140
|
-
}
|
|
1141
|
-
};
|
|
1142
|
-
export {
|
|
1143
|
-
MP4Parser
|
|
1144
|
-
};
|
|
1145
|
-
//# sourceMappingURL=MP4Parser-SM7HYL3Z.js.map
|