remotion 2.5.5 → 2.5.6

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.
Files changed (86) hide show
  1. package/coverage/coverage-summary.json +3 -3
  2. package/dist/Composition.d.ts +1 -1
  3. package/dist/Composition.d.ts.map +1 -1
  4. package/dist/Composition.js +4 -3
  5. package/dist/Composition.js.map +1 -1
  6. package/dist/CompositionManager.d.ts +2 -2
  7. package/dist/CompositionManager.d.ts.map +1 -1
  8. package/dist/asset-types.d.ts +52 -13
  9. package/dist/asset-types.d.ts.map +1 -1
  10. package/dist/audio/Audio.d.ts +1 -1
  11. package/dist/audio/AudioForDevelopment.d.ts +1 -1
  12. package/dist/audio/AudioForDevelopment.d.ts.map +1 -1
  13. package/dist/audio/AudioForDevelopment.js.map +1 -1
  14. package/dist/audio/AudioForRendering.d.ts +1 -1
  15. package/dist/audio/AudioForRendering.js +1 -1
  16. package/dist/audio/AudioForRendering.js.map +1 -1
  17. package/dist/audio/audio-buffer-to-wav.d.ts +15 -0
  18. package/dist/audio/audio-buffer-to-wav.d.ts.map +1 -0
  19. package/dist/audio/audio-buffer-to-wav.js +91 -0
  20. package/dist/audio/audio-buffer-to-wav.js.map +1 -0
  21. package/dist/audio/audio-url-helpers.d.ts +2 -0
  22. package/dist/audio/audio-url-helpers.d.ts.map +1 -0
  23. package/dist/audio/audio-url-helpers.js +17 -0
  24. package/dist/audio/audio-url-helpers.js.map +1 -0
  25. package/dist/config/image-format.d.ts +1 -1
  26. package/dist/config/index.d.ts +3 -3
  27. package/dist/config/log.d.ts +1 -1
  28. package/dist/get-asset-file-name.d.ts +1 -1
  29. package/dist/get-asset-file-name.d.ts.map +1 -1
  30. package/dist/get-asset-file-name.js +6 -3
  31. package/dist/get-asset-file-name.js.map +1 -1
  32. package/dist/index.d.ts +2 -0
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/index.js +3 -1
  35. package/dist/index.js.map +1 -1
  36. package/dist/internals.d.ts +6 -6
  37. package/dist/is-remote-asset.d.ts +1 -1
  38. package/dist/is-remote-asset.d.ts.map +1 -1
  39. package/dist/is-remote-asset.js +3 -1
  40. package/dist/is-remote-asset.js.map +1 -1
  41. package/dist/register-root.js +1 -0
  42. package/dist/register-root.js.map +1 -1
  43. package/dist/static-file.d.ts +2 -0
  44. package/dist/static-file.d.ts.map +1 -0
  45. package/dist/static-file.js +24 -0
  46. package/dist/static-file.js.map +1 -0
  47. package/dist/use-media-in-timeline.js +1 -1
  48. package/dist/use-media-in-timeline.js.map +1 -1
  49. package/dist/video/Video.d.ts +1 -1
  50. package/dist/video/VideoForDevelopment.d.ts +1 -1
  51. package/dist/video/VideoForRendering.d.ts +1 -1
  52. package/dist/video/VideoForRendering.js +1 -1
  53. package/dist/video/VideoForRendering.js.map +1 -1
  54. package/package.json +2 -2
  55. package/dist/component-type.d.ts +0 -1
  56. package/dist/component-type.d.ts.map +0 -1
  57. package/dist/component-type.js +0 -2
  58. package/dist/component-type.js.map +0 -1
  59. package/dist/serie/flatten-children.d.ts +0 -3
  60. package/dist/serie/flatten-children.d.ts.map +0 -1
  61. package/dist/serie/flatten-children.js +0 -19
  62. package/dist/serie/flatten-children.js.map +0 -1
  63. package/dist/serie/index.d.ts +0 -12
  64. package/dist/serie/index.d.ts.map +0 -1
  65. package/dist/serie/index.js +0 -55
  66. package/dist/serie/index.js.map +0 -1
  67. package/dist/setup-environment.d.ts +0 -6
  68. package/dist/setup-environment.d.ts.map +0 -1
  69. package/dist/setup-environment.js +0 -47
  70. package/dist/setup-environment.js.map +0 -1
  71. package/dist/stagger/index.d.ts +0 -10
  72. package/dist/stagger/index.d.ts.map +0 -1
  73. package/dist/stagger/index.js +0 -54
  74. package/dist/stagger/index.js.map +0 -1
  75. package/dist/use-current-src.d.ts +0 -3
  76. package/dist/use-current-src.d.ts.map +0 -1
  77. package/dist/use-current-src.js +0 -23
  78. package/dist/use-current-src.js.map +0 -1
  79. package/dist/use-current-time.d.ts +0 -2
  80. package/dist/use-current-time.d.ts.map +0 -1
  81. package/dist/use-current-time.js +0 -12
  82. package/dist/use-current-time.js.map +0 -1
  83. package/dist/use-time.d.ts +0 -2
  84. package/dist/use-time.d.ts.map +0 -1
  85. package/dist/use-time.js +0 -15
  86. package/dist/use-time.js.map +0 -1
@@ -1,4 +1,4 @@
1
- {"total": {"lines":{"total":1857,"covered":1402,"skipped":0,"pct":75.49},"statements":{"total":2034,"covered":1560,"skipped":0,"pct":76.69},"functions":{"total":366,"covered":219,"skipped":0,"pct":59.83},"branches":{"total":1061,"covered":752,"skipped":0,"pct":70.87}}
1
+ {"total": {"lines":{"total":1860,"covered":1404,"skipped":0,"pct":75.48},"statements":{"total":2037,"covered":1562,"skipped":0,"pct":76.68},"functions":{"total":366,"covered":219,"skipped":0,"pct":59.83},"branches":{"total":1063,"covered":753,"skipped":0,"pct":70.83}}
2
2
  ,"/Users/jonathanburger/remotion/packages/core/src/AbsoluteFill.tsx": {"lines":{"total":6,"covered":2,"skipped":0,"pct":33.33},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":7,"covered":3,"skipped":0,"pct":42.85},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
3
3
  ,"/Users/jonathanburger/remotion/packages/core/src/Composition.tsx": {"lines":{"total":28,"covered":27,"skipped":0,"pct":96.42},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":29,"covered":28,"skipped":0,"pct":96.55},"branches":{"total":4,"covered":3,"skipped":0,"pct":75}}
4
4
  ,"/Users/jonathanburger/remotion/packages/core/src/CompositionManager.tsx": {"lines":{"total":41,"covered":30,"skipped":0,"pct":73.17},"functions":{"total":28,"covered":13,"skipped":0,"pct":46.42},"statements":{"total":48,"covered":32,"skipped":0,"pct":66.66},"branches":{"total":4,"covered":3,"skipped":0,"pct":75}}
@@ -56,7 +56,7 @@
56
56
  ,"/Users/jonathanburger/remotion/packages/core/src/config/browser.ts": {"lines":{"total":10,"covered":4,"skipped":0,"pct":40},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":12,"covered":6,"skipped":0,"pct":50},"branches":{"total":4,"covered":0,"skipped":0,"pct":0}}
57
57
  ,"/Users/jonathanburger/remotion/packages/core/src/config/codec.ts": {"lines":{"total":59,"covered":36,"skipped":0,"pct":61.01},"functions":{"total":4,"covered":3,"skipped":0,"pct":75},"statements":{"total":63,"covered":40,"skipped":0,"pct":63.49},"branches":{"total":66,"covered":45,"skipped":0,"pct":68.18}}
58
58
  ,"/Users/jonathanburger/remotion/packages/core/src/config/concurrency.ts": {"lines":{"total":7,"covered":7,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":9,"covered":9,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
59
- ,"/Users/jonathanburger/remotion/packages/core/src/config/crf.ts": {"lines":{"total":45,"covered":42,"skipped":0,"pct":93.33},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":51,"covered":48,"skipped":0,"pct":94.11},"branches":{"total":45,"covered":42,"skipped":0,"pct":93.33}}
59
+ ,"/Users/jonathanburger/remotion/packages/core/src/config/crf.ts": {"lines":{"total":47,"covered":43,"skipped":0,"pct":91.48},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":53,"covered":49,"skipped":0,"pct":92.45},"branches":{"total":47,"covered":43,"skipped":0,"pct":91.48}}
60
60
  ,"/Users/jonathanburger/remotion/packages/core/src/config/env-file.ts": {"lines":{"total":4,"covered":3,"skipped":0,"pct":75},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":7,"covered":5,"skipped":0,"pct":71.42},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
61
61
  ,"/Users/jonathanburger/remotion/packages/core/src/config/ffmpeg-executable.ts": {"lines":{"total":5,"covered":3,"skipped":0,"pct":60},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":7,"covered":5,"skipped":0,"pct":71.42},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
62
62
  ,"/Users/jonathanburger/remotion/packages/core/src/config/frame-range.ts": {"lines":{"total":48,"covered":48,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":54,"covered":54,"skipped":0,"pct":100},"branches":{"total":38,"covered":37,"skipped":0,"pct":97.36}}
@@ -68,7 +68,7 @@
68
68
  ,"/Users/jonathanburger/remotion/packages/core/src/config/log.ts": {"lines":{"total":12,"covered":12,"skipped":0,"pct":100},"functions":{"total":5,"covered":5,"skipped":0,"pct":100},"statements":{"total":16,"covered":16,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
69
69
  ,"/Users/jonathanburger/remotion/packages/core/src/config/max-timeline-tracks.ts": {"lines":{"total":13,"covered":3,"skipped":0,"pct":23.07},"functions":{"total":2,"covered":0,"skipped":0,"pct":0},"statements":{"total":15,"covered":5,"skipped":0,"pct":33.33},"branches":{"total":8,"covered":0,"skipped":0,"pct":0}}
70
70
  ,"/Users/jonathanburger/remotion/packages/core/src/config/override-webpack.ts": {"lines":{"total":6,"covered":4,"skipped":0,"pct":66.66},"functions":{"total":3,"covered":0,"skipped":0,"pct":0},"statements":{"total":10,"covered":7,"skipped":0,"pct":70},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
71
- ,"/Users/jonathanburger/remotion/packages/core/src/config/overwrite.ts": {"lines":{"total":6,"covered":6,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":9,"covered":9,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
71
+ ,"/Users/jonathanburger/remotion/packages/core/src/config/overwrite.ts": {"lines":{"total":7,"covered":7,"skipped":0,"pct":100},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":10,"covered":10,"skipped":0,"pct":100},"branches":{"total":2,"covered":2,"skipped":0,"pct":100}}
72
72
  ,"/Users/jonathanburger/remotion/packages/core/src/config/pixel-format.ts": {"lines":{"total":16,"covered":16,"skipped":0,"pct":100},"functions":{"total":3,"covered":3,"skipped":0,"pct":100},"statements":{"total":19,"covered":19,"skipped":0,"pct":100},"branches":{"total":10,"covered":10,"skipped":0,"pct":100}}
73
73
  ,"/Users/jonathanburger/remotion/packages/core/src/config/preview-server.ts": {"lines":{"total":10,"covered":8,"skipped":0,"pct":80},"functions":{"total":2,"covered":2,"skipped":0,"pct":100},"statements":{"total":13,"covered":11,"skipped":0,"pct":84.61},"branches":{"total":8,"covered":7,"skipped":0,"pct":87.5}}
74
74
  ,"/Users/jonathanburger/remotion/packages/core/src/config/prores-profile.ts": {"lines":{"total":11,"covered":11,"skipped":0,"pct":100},"functions":{"total":4,"covered":4,"skipped":0,"pct":100},"statements":{"total":14,"covered":14,"skipped":0,"pct":100},"branches":{"total":8,"covered":8,"skipped":0,"pct":100}}
@@ -16,6 +16,6 @@ declare type CompositionProps<T> = StillProps<T> & {
16
16
  fps: number;
17
17
  durationInFrames: number;
18
18
  };
19
- export declare const Composition: <T>({ width, height, fps, durationInFrames, id, defaultProps: props, ...compProps }: CompositionProps<T>) => null;
19
+ export declare const Composition: <T>({ width, height, fps, durationInFrames, id, defaultProps, ...compProps }: CompositionProps<T>) => null;
20
20
  export {};
21
21
  //# sourceMappingURL=Composition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Composition.d.ts","sourceRoot":"","sources":["../src/Composition.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAc7C,oBAAY,SAAS,CAAC,CAAC,IACpB;IACA,aAAa,EAAE,MAAM,OAAO,CAAC;QAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,CAAC;CACxD,GACD;IACA,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;CAC1B,CAAC;AAEL,oBAAY,UAAU,CAAC,CAAC,IAAI;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,CAAC,EAAE,CAAC,CAAC;CACjB,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAEjB,aAAK,gBAAgB,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,GAAG;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,WAAW,mHAuEvB,CAAC"}
1
+ {"version":3,"file":"Composition.d.ts","sourceRoot":"","sources":["../src/Composition.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAc7C,oBAAY,SAAS,CAAC,CAAC,IACpB;IACA,aAAa,EAAE,MAAM,OAAO,CAAC;QAAC,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,CAAC;CACxD,GACD;IACA,SAAS,EAAE,YAAY,CAAC,CAAC,CAAC,CAAC;CAC1B,CAAC;AAEL,oBAAY,UAAU,CAAC,CAAC,IAAI;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,CAAC,EAAE,CAAC,CAAC;CACjB,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAEjB,aAAK,gBAAgB,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,GAAG;IAC1C,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,eAAO,MAAM,WAAW,4GAuEvB,CAAC"}
@@ -10,7 +10,7 @@ const validate_composition_id_1 = require("./validation/validate-composition-id"
10
10
  const validate_dimensions_1 = require("./validation/validate-dimensions");
11
11
  const validate_duration_in_frames_1 = require("./validation/validate-duration-in-frames");
12
12
  const validate_fps_1 = require("./validation/validate-fps");
13
- const Composition = ({ width, height, fps, durationInFrames, id, defaultProps: props, ...compProps }) => {
13
+ const Composition = ({ width, height, fps, durationInFrames, id, defaultProps, ...compProps }) => {
14
14
  const { registerComposition, unregisterComposition } = (0, react_1.useContext)(CompositionManager_1.CompositionManager);
15
15
  const lazy = (0, use_lazy_component_1.useLazyComponent)(compProps);
16
16
  const nonce = (0, nonce_1.useNonce)();
@@ -31,7 +31,7 @@ const Composition = ({ width, height, fps, durationInFrames, id, defaultProps: p
31
31
  width,
32
32
  id,
33
33
  component: lazy,
34
- props,
34
+ defaultProps,
35
35
  nonce,
36
36
  });
37
37
  if ((0, register_root_1.getIsEvaluation)()) {
@@ -43,6 +43,7 @@ const Composition = ({ width, height, fps, durationInFrames, id, defaultProps: p
43
43
  id,
44
44
  width,
45
45
  nonce,
46
+ defaultProps,
46
47
  });
47
48
  }
48
49
  return () => {
@@ -55,7 +56,7 @@ const Composition = ({ width, height, fps, durationInFrames, id, defaultProps: p
55
56
  height,
56
57
  lazy,
57
58
  id,
58
- props,
59
+ defaultProps,
59
60
  registerComposition,
60
61
  unregisterComposition,
61
62
  width,
@@ -1 +1 @@
1
- {"version":3,"file":"Composition.js","sourceRoot":"","sources":["../src/Composition.tsx"],"names":[],"mappings":";;;AAAA,iCAA4C;AAE5C,6DAAwD;AACxD,mCAAiC;AACjC,mDAIyB;AACzB,6DAAsD;AACtD,kFAA2E;AAC3E,0EAAmE;AACnE,0FAAkF;AAClF,4DAAsD;AAsB/C,MAAM,WAAW,GAAG,CAAK,EAC/B,KAAK,EACL,MAAM,EACN,GAAG,EACH,gBAAgB,EAChB,EAAE,EACF,YAAY,EAAE,KAAK,EACnB,GAAG,SAAS,EACS,EAAE,EAAE;IACzB,MAAM,EAAC,mBAAmB,EAAE,qBAAqB,EAAC,GAAG,IAAA,kBAAU,EAC9D,uCAAkB,CAClB,CAAC;IAEF,MAAM,IAAI,GAAG,IAAA,qCAAgB,EAAC,SAAS,CAAC,CAAC;IACzC,MAAM,KAAK,GAAG,IAAA,gBAAQ,GAAE,CAAC;IAEzB,IAAA,iBAAS,EAAC,GAAG,EAAE;QACd,4BAA4B;QAC5B,IAAI,CAAC,EAAE,EAAE;YACR,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;SACjD;QAED,IAAA,+CAAqB,EAAC,EAAE,CAAC,CAAC;QAC1B,IAAA,uCAAiB,EAAC,KAAK,EAAE,OAAO,EAAE,iCAAiC,CAAC,CAAC;QACrE,IAAA,uCAAiB,EAAC,MAAM,EAAE,QAAQ,EAAE,iCAAiC,CAAC,CAAC;QACvE,IAAA,sDAAwB,EACvB,gBAAgB,EAChB,iCAAiC,CACjC,CAAC;QACF,IAAA,0BAAW,EAAC,GAAG,EAAE,2CAA2C,CAAC,CAAC;QAC9D,mBAAmB,CAAI;YACtB,gBAAgB;YAChB,GAAG;YACH,MAAM;YACN,KAAK;YACL,EAAE;YACF,SAAS,EAAE,IAAI;YACf,KAAK;YACL,KAAK;SACL,CAAC,CAAC;QAEH,IAAI,IAAA,+BAAe,GAAE,EAAE;YACtB,IAAA,oCAAoB,EAAC;gBACpB,SAAS,EAAE,IAAI;gBACf,gBAAgB;gBAChB,GAAG;gBACH,MAAM;gBACN,EAAE;gBACF,KAAK;gBACL,KAAK;aACL,CAAC,CAAC;SACH;QAED,OAAO,GAAG,EAAE;YACX,qBAAqB,CAAC,EAAE,CAAC,CAAC;YAC1B,IAAA,uCAAuB,EAAC,EAAE,CAAC,CAAC;QAC7B,CAAC,CAAC;IACH,CAAC,EAAE;QACF,gBAAgB;QAChB,GAAG;QACH,MAAM;QACN,IAAI;QACJ,EAAE;QACF,KAAK;QACL,mBAAmB;QACnB,qBAAqB;QACrB,KAAK;QACL,KAAK;KACL,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AAvEW,QAAA,WAAW,eAuEtB"}
1
+ {"version":3,"file":"Composition.js","sourceRoot":"","sources":["../src/Composition.tsx"],"names":[],"mappings":";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gBACL,YAAY;aACZ,CAAC,CAAC;SACH;QAED,OAAO,GAAG,EAAE;YACX,qBAAqB,CAAC,EAAE,CAAC,CAAC;YAC1B,IAAA,uCAAuB,EAAC,EAAE,CAAC,CAAC;QAC7B,CAAC,CAAC;IACH,CAAC,EAAE;QACF,gBAAgB;QAChB,GAAG;QACH,MAAM;QACN,IAAI;QACJ,EAAE;QACF,YAAY;QACZ,mBAAmB;QACnB,qBAAqB;QACrB,KAAK;QACL,KAAK;KACL,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC;AACb,CAAC,CAAC;AAvEW,QAAA,WAAW,eAuEtB"}
@@ -7,10 +7,10 @@ export declare type TComposition<T = unknown> = {
7
7
  durationInFrames: number;
8
8
  id: string;
9
9
  component: LazyExoticComponent<LooseAnyComponent<T>>;
10
- props?: T;
10
+ defaultProps: T | undefined;
11
11
  nonce: number;
12
12
  };
13
- export declare type TCompMetadata = Pick<TComposition, 'id' | 'height' | 'width' | 'fps' | 'durationInFrames'>;
13
+ export declare type TCompMetadata = Pick<TComposition, 'id' | 'height' | 'width' | 'fps' | 'durationInFrames' | 'defaultProps'>;
14
14
  declare type EnhancedTSequenceData = {
15
15
  type: 'sequence';
16
16
  } | {
@@ -1 +1 @@
1
- {"version":3,"file":"CompositionManager.d.ts","sourceRoot":"","sources":["../src/CompositionManager.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAEb,mBAAmB,EAKnB,MAAM,OAAO,CAAC;AACf,OAAO,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAElD,oBAAY,YAAY,CAAC,CAAC,GAAG,OAAO,IAAI;IACvC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,MAAM,CAAC;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,mBAAmB,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC,CAAC;IAC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,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,oBAAY,eAAe,GAAG;IAC7B,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,oBAAY,yBAAyB,GAAG;IACvC,YAAY,EAAE,YAAY,EAAE,CAAC;IAC7B,mBAAmB,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,KAAK,IAAI,CAAC;IACxD,qBAAqB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,qBAAqB,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,gBAAgB,EAAE,CAAC,GAAG,EAAE,SAAS,KAAK,IAAI,CAAC;IAC3C,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,SAAS,EAAE,SAAS,EAAE,CAAC;IACvB,MAAM,EAAE,MAAM,EAAE,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,kBAAkB,0CAY7B,CAAC;AAEH,eAAO,MAAM,0BAA0B,EAAE,KAAK,CAAC,EA2F9C,CAAC"}
@@ -1,15 +1,54 @@
1
- declare module '*.webm';
2
- declare module '*.png';
3
- declare module '*.mp4';
4
- declare module '*.mp3';
5
- declare module '*.wav';
6
- declare module '*.aac';
7
- declare module '*.svg';
8
- declare module '*.jpg';
9
- declare module '*.jpeg';
10
- declare module '*.bmp';
11
- declare module '*.gif';
12
- declare module '*.woff';
13
- declare module '*.woff2';
1
+ declare module '*.webm' {
2
+ const src: string;
3
+ export default src;
4
+ }
5
+ declare module '*.png' {
6
+ const src: string;
7
+ export default src;
8
+ }
9
+ declare module '*.mp4' {
10
+ const src: string;
11
+ export default src;
12
+ }
13
+ declare module '*.mp3' {
14
+ const src: string;
15
+ export default src;
16
+ }
17
+ declare module '*.wav' {
18
+ const src: string;
19
+ export default src;
20
+ }
21
+ declare module '*.aac' {
22
+ const src: string;
23
+ export default src;
24
+ }
25
+ declare module '*.svg' {
26
+ const src: string;
27
+ export default src;
28
+ }
29
+ declare module '*.jpg' {
30
+ const src: string;
31
+ export default src;
32
+ }
33
+ declare module '*.jpeg' {
34
+ const src: string;
35
+ export default src;
36
+ }
37
+ declare module '*.bmp' {
38
+ const src: string;
39
+ export default src;
40
+ }
41
+ declare module '*.gif' {
42
+ const src: string;
43
+ export default src;
44
+ }
45
+ declare module '*.woff' {
46
+ const src: string;
47
+ export default src;
48
+ }
49
+ declare module '*.woff2' {
50
+ const src: string;
51
+ export default src;
52
+ }
14
53
  declare module '*.css';
15
54
  //# sourceMappingURL=asset-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"asset-types.d.ts","sourceRoot":"","sources":["../src/asset-types.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,QAAQ,CAAC;AACxB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,QAAQ,CAAC;AACxB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,OAAO,CAAC;AACvB,OAAO,QAAQ,QAAQ,CAAC;AACxB,OAAO,QAAQ,SAAS,CAAC;AACzB,OAAO,QAAQ,OAAO,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C;CACnB;AAED,OAAO,QAAQ,SAAS,CAAC;IACxB,MAAM,GAAG,EAAE,MAAM,CAAC;IAClB,eAAe,GAAG,CAAC;CACnB;AAED,OAAO,QAAQ,OAAO,CAAC"}
@@ -3,5 +3,5 @@ import { RemotionMainAudioProps } from './props';
3
3
  export declare const Audio: React.ForwardRefExoticComponent<Pick<Omit<React.DetailedHTMLProps<React.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "autoPlay" | "controls" | "loop"> & {
4
4
  volume?: import("../volume-prop").VolumeProp | undefined;
5
5
  playbackRate?: number | undefined;
6
- } & RemotionMainAudioProps, "id" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof RemotionMainAudioProps> & React.RefAttributes<HTMLAudioElement>>;
6
+ } & RemotionMainAudioProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | keyof RemotionMainAudioProps> & React.RefAttributes<HTMLAudioElement>>;
7
7
  //# sourceMappingURL=Audio.d.ts.map
@@ -4,5 +4,5 @@ export declare const AudioForDevelopment: React.ForwardRefExoticComponent<Pick<O
4
4
  playbackRate?: number | undefined;
5
5
  } & {
6
6
  shouldPreMountAudioTags: boolean;
7
- }, "id" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "shouldPreMountAudioTags"> & React.RefAttributes<HTMLAudioElement>>;
7
+ }, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key" | "shouldPreMountAudioTags"> & React.RefAttributes<HTMLAudioElement>>;
8
8
  //# sourceMappingURL=AudioForDevelopment.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AudioForDevelopment.d.ts","sourceRoot":"","sources":["../../src/audio/AudioForDevelopment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAsFhF,eAAO,MAAM,mBAAmB;;;;6BAtEL,OAAO;urJAwEjC,CAAC"}
1
+ {"version":3,"file":"AudioForDevelopment.d.ts","sourceRoot":"","sources":["../../src/audio/AudioForDevelopment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2D,MAAM,OAAO,CAAC;AAiFhF,eAAO,MAAM,mBAAmB;;;;6BAjEL,OAAO;urJAmEjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AudioForDevelopment.js","sourceRoot":"","sources":["../../src/audio/AudioForDevelopment.tsx"],"names":[],"mappings":";;;;AAAA,iCAAgF;AAChF,oEAA4D;AAC5D,8DAAuD;AACvD,kEAA0D;AAC1D,sFAA4E;AAC5E,oEAGkC;AAElC,2DAAmD;AACnD,uDAAwD;AAExD,MAAM,qCAAqC,GAKvC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IAClB,MAAM,CAAC,kCAAkC,CAAC,GAAG,IAAA,gBAAQ,EACpD,KAAK,CAAC,uBAAuB,CAC7B,CAAC;IACF,IAAI,KAAK,CAAC,uBAAuB,KAAK,kCAAkC,EAAE;QACzE,MAAM,IAAI,KAAK,CACd,qEAAqE,CACrE,CAAC;KACF;IAED,MAAM,CAAC,WAAW,CAAC,GAAG,IAAA,2CAAmB,GAAE,CAAC;IAC5C,MAAM,CAAC,UAAU,CAAC,GAAG,IAAA,0CAAkB,GAAE,CAAC;IAE1C,MAAM,eAAe,GAAG,IAAA,uCAA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H,IAAA,0CAAkB,EAAC;QAClB,MAAM;QACN,WAAW;QACX,QAAQ,EAAE,QAAQ;QAClB,GAAG,EAAE,WAAW,CAAC,GAAG;QACpB,SAAS,EAAE,OAAO;KAClB,CAAC,CAAC;IAEH,IAAA,qCAAgB,EAAC;QAChB,QAAQ,EAAE,QAAQ;QAClB,GAAG,EAAE,WAAW,CAAC,GAAG;QACpB,SAAS,EAAE,OAAO;QAClB,YAAY,EAAE,YAAY,aAAZ,YAAY,cAAZ,YAAY,GAAI,CAAC;KAC/B,CAAC,CAAC;IAEH,IAAA,2BAAmB,EAAC,GAAG,EAAE,GAAG,EAAE;QAC7B,OAAO,QAAQ,CAAC,OAA2B,CAAC;IAC7C,CAAC,CAAC,CAAC;IAEH,IAAI,kCAAkC,EAAE;QACvC,OAAO,IAAI,CAAC;KACZ;IAED,OAAO,gDAAO,GAAG,EAAE,QAAQ,IAAM,WAAW,UAAI,CAAC;AAClD,CAAC,CAAC;AAEW,QAAA,mBAAmB,GAAG,IAAA,kBAAU,EAC5C,qCAAqC,CACrC,CAAC"}
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import { RemotionAudioProps } from './props';
3
- export declare const AudioForRendering: React.ForwardRefExoticComponent<Pick<RemotionAudioProps, "id" | "children" | "src" | "volume" | "playbackRate" | "slot" | "style" | "title" | "key" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & React.RefAttributes<HTMLAudioElement>>;
3
+ export declare const AudioForRendering: React.ForwardRefExoticComponent<Pick<RemotionAudioProps, "style" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "src" | "volume" | "playbackRate" | "controlsList" | "crossOrigin" | "mediaGroup" | "muted" | "playsInline" | "preload" | "key"> & React.RefAttributes<HTMLAudioElement>>;
4
4
  //# sourceMappingURL=AudioForRendering.d.ts.map
@@ -47,7 +47,7 @@ const AudioForRenderingRefForwardingFunction = (props, ref) => {
47
47
  id,
48
48
  frame: absoluteFrame,
49
49
  volume,
50
- isRemote: (0, is_remote_asset_1.isRemoteAsset)((0, absolute_src_1.getAbsoluteSrc)(props.src)),
50
+ isRemote: (0, is_remote_asset_1.isRemoteAsset)((0, absolute_src_1.getAbsoluteSrc)(props.src), true),
51
51
  mediaFrame: frame,
52
52
  playbackRate: (_a = props.playbackRate) !== null && _a !== void 0 ? _a : 1,
53
53
  });
@@ -1 +1 @@
1
- {"version":3,"file":"AudioForRendering.js","sourceRoot":"","sources":["../../src/audio/AudioForRendering.tsx"],"names":[],"mappings":";;;;AAAA,iCAOe;AACf,kDAA+C;AAC/C,8DAAyD;AACzD,wDAAiD;AACjD,sCAAiC;AACjC,8CAA8C;AAC9C,4CAAsE;AACtE,gDAA8C;AAE9C,uDAAwD;AAExD,MAAM,sCAAsC,GAGxC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE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,MAAM,IAAI,KAAK,CAAC,eAAe,CAAC,CAAC;SACjC;QAED,IAAI,KAAK,CAAC,KAAK,EAAE;YAChB,OAAO;SACP;QAED,aAAa,CAAC;YACb,IAAI,EAAE,OAAO;YACb,GAAG,EAAE,IAAA,6BAAc,EAAC,KAAK,CAAC,GAAG,CAAC;YAC9B,EAAE;YACF,KAAK,EAAE,aAAa;YACpB,MAAM;YACN,QAAQ,EAAE,IAAA,+BAAa,EAAC,IAAA,6BAAc,EAAC,KAAK,CAAC,GAAG,CAAC,CAAC;YAClD,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,MAAA,KAAK,CAAC,YAAY,mCAAI,CAAC;SACrC,CAAC,CAAC;QACH,OAAO,GAAG,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;IAClC,CAAC,EAAE;QACF,KAAK,CAAC,KAAK;QACX,KAAK,CAAC,GAAG;QACT,aAAa;QACb,aAAa;QACb,EAAE;QACF,eAAe;QACf,MAAM;QACN,eAAe;QACf,KAAK;QACL,YAAY;QACZ,KAAK,CAAC,YAAY;KAClB,CAAC,CAAC;IAEH,OAAO,gDAAO,GAAG,EAAE,QAAQ,IAAM,WAAW,UAAI,CAAC;AAClD,CAAC,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAA,kBAAU,EAC1C,sCAAsC,CACtC,CAAC"}
1
+ {"version":3,"file":"AudioForRendering.js","sourceRoot":"","sources":["../../src/audio/AudioForRendering.tsx"],"names":[],"mappings":";;;;AAAA,iCAOe;AACf,kDAA+C;AAC/C,8DAAyD;AACzD,wDAAiD;AACjD,sCAAiC;AACjC,8CAA8C;AAC9C,4CAAsE;AACtE,gDAA8C;AAE9C,uDAAwD;AAExD,MAAM,sCAAsC,GAGxC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;IAClB,MAAM,QAAQ,GAAG,IAAA,cAAM,EAAmB,IAAI,CAAC,CAAC;IAEhD,MAAM,aAAa,GAAG,IAAA,mCAAuB,GAAE,CAAC;IA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YACb,IAAI,EAAE,OAAO;YACb,GAAG,EAAE,IAAA,6BAAc,EAAC,KAAK,CAAC,GAAG,CAAC;YAC9B,EAAE;YACF,KAAK,EAAE,aAAa;YACpB,MAAM;YACN,QAAQ,EAAE,IAAA,+BAAa,EAAC,IAAA,6BAAc,EAAC,KAAK,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC;YACxD,UAAU,EAAE,KAAK;YACjB,YAAY,EAAE,MAAA,KAAK,CAAC,YAAY,mCAAI,CAAC;SACrC,CAAC,CAAC;QACH,OAAO,GAAG,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC,CAAC;IAClC,CAAC,EAAE;QACF,KAAK,CAAC,KAAK;QACX,KAAK,CAAC,GAAG;QACT,aAAa;QACb,aAAa;QACb,EAAE;QACF,eAAe;QACf,MAAM;QACN,eAAe;QACf,KAAK;QACL,YAAY;QACZ,KAAK,CAAC,YAAY;KAClB,CAAC,CAAC;IAEH,OAAO,gDAAO,GAAG,EAAE,QAAQ,IAAM,WAAW,UAAI,CAAC;AAClD,CAAC,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAA,kBAAU,EAC1C,sCAAsC,CACtC,CAAC"}
@@ -0,0 +1,15 @@
1
+ declare function audioBufferToWav(buffer: AudioBuffer, opt: {
2
+ float32: boolean;
3
+ }): ArrayBuffer;
4
+ declare function encodeWAV({ samples, format, sampleRate, numChannels, bitDepth, }: {
5
+ samples: Float32Array;
6
+ format: 3 | 1;
7
+ sampleRate: number;
8
+ numChannels: number;
9
+ bitDepth: 32 | 16;
10
+ }): ArrayBuffer;
11
+ declare function interleave(inputL: Float32Array, inputR: Float32Array): Float32Array;
12
+ declare function writeFloat32(output: DataView, offset: number, input: Float32Array): void;
13
+ declare function floatTo16BitPCM(output: DataView, offset: number, input: Float32Array): void;
14
+ declare function writeString(view: DataView, offset: number, string: string): void;
15
+ //# sourceMappingURL=audio-buffer-to-wav.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audio-buffer-to-wav.d.ts","sourceRoot":"","sources":["../../src/audio/audio-buffer-to-wav.ts"],"names":[],"mappings":"AAEA,iBAAS,gBAAgB,CACxB,MAAM,EAAE,WAAW,EACnB,GAAG,EAAE;IACJ,OAAO,EAAE,OAAO,CAAC;CACjB,eAqBD;AAED,iBAAS,SAAS,CAAC,EAClB,OAAO,EACP,MAAM,EACN,UAAU,EACV,WAAW,EACX,QAAQ,GACR,EAAE;IACF,OAAO,EAAE,YAAY,CAAC;IACtB,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,EAAE,GAAG,EAAE,CAAC;CAClB,eAyCA;AAED,iBAAS,UAAU,CAAC,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,gBAc7D;AAED,iBAAS,YAAY,CAAC,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,YAAY,QAI1E;AAED,iBAAS,eAAe,CACvB,MAAM,EAAE,QAAQ,EAChB,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,YAAY,QAMnB;AAED,iBAAS,WAAW,CAAC,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,QAIlE"}
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+ module.exports = audioBufferToWav;
3
+ function audioBufferToWav(buffer, opt) {
4
+ const numChannels = buffer.numberOfChannels;
5
+ const { sampleRate } = buffer;
6
+ const format = opt.float32 ? 3 : 1;
7
+ const bitDepth = format === 3 ? 32 : 16;
8
+ let result;
9
+ if (numChannels === 2) {
10
+ result = interleave(buffer.getChannelData(0), buffer.getChannelData(1));
11
+ }
12
+ else {
13
+ result = buffer.getChannelData(0);
14
+ }
15
+ return encodeWAV({
16
+ samples: result,
17
+ format,
18
+ sampleRate,
19
+ numChannels,
20
+ bitDepth,
21
+ });
22
+ }
23
+ function encodeWAV({ samples, format, sampleRate, numChannels, bitDepth, }) {
24
+ const bytesPerSample = bitDepth / 8;
25
+ const blockAlign = numChannels * bytesPerSample;
26
+ const buffer = new ArrayBuffer(44 + samples.length * bytesPerSample);
27
+ const view = new DataView(buffer);
28
+ /* RIFF identifier */
29
+ writeString(view, 0, 'RIFF');
30
+ /* RIFF chunk length */
31
+ view.setUint32(4, 36 + samples.length * bytesPerSample, true);
32
+ /* RIFF type */
33
+ writeString(view, 8, 'WAVE');
34
+ /* format chunk identifier */
35
+ writeString(view, 12, 'fmt ');
36
+ /* format chunk length */
37
+ view.setUint32(16, 16, true);
38
+ /* sample format (raw) */
39
+ view.setUint16(20, format, true);
40
+ /* channel count */
41
+ view.setUint16(22, numChannels, true);
42
+ /* sample rate */
43
+ view.setUint32(24, sampleRate, true);
44
+ /* byte rate (sample rate * block align) */
45
+ view.setUint32(28, sampleRate * blockAlign, true);
46
+ /* block align (channel count * bytes per sample) */
47
+ view.setUint16(32, blockAlign, true);
48
+ /* bits per sample */
49
+ view.setUint16(34, bitDepth, true);
50
+ /* data chunk identifier */
51
+ writeString(view, 36, 'data');
52
+ /* data chunk length */
53
+ view.setUint32(40, samples.length * bytesPerSample, true);
54
+ if (format === 1) {
55
+ // Raw PCM
56
+ floatTo16BitPCM(view, 44, samples);
57
+ }
58
+ else {
59
+ writeFloat32(view, 44, samples);
60
+ }
61
+ return buffer;
62
+ }
63
+ function interleave(inputL, inputR) {
64
+ const length = inputL.length + inputR.length;
65
+ const result = new Float32Array(length);
66
+ let index = 0;
67
+ let inputIndex = 0;
68
+ while (index < length) {
69
+ result[index++] = inputL[inputIndex];
70
+ result[index++] = inputR[inputIndex];
71
+ inputIndex++;
72
+ }
73
+ return result;
74
+ }
75
+ function writeFloat32(output, offset, input) {
76
+ for (let i = 0; i < input.length; i++, offset += 4) {
77
+ output.setFloat32(offset, input[i], true);
78
+ }
79
+ }
80
+ function floatTo16BitPCM(output, offset, input) {
81
+ for (let i = 0; i < input.length; i++, offset += 2) {
82
+ const s = Math.max(-1, Math.min(1, input[i]));
83
+ output.setInt16(offset, s < 0 ? s * 0x8000 : s * 0x7fff, true);
84
+ }
85
+ }
86
+ function writeString(view, offset, string) {
87
+ for (let i = 0; i < string.length; i++) {
88
+ view.setUint8(offset + i, string.charCodeAt(i));
89
+ }
90
+ }
91
+ //# sourceMappingURL=audio-buffer-to-wav.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audio-buffer-to-wav.js","sourceRoot":"","sources":["../../src/audio/audio-buffer-to-wav.ts"],"names":[],"mappings":";AAAA,MAAM,CAAC,OAAO,GAAG,gBAAgB,CAAC;AAElC,SAAS,gBAAgB,CACxB,MAAmB,EACnB,GAEC;IAED,MAAM,WAAW,GAAG,MAAM,CAAC,gBAAgB,CAAC;IAC5C,MAAM,EAAC,UAAU,EAAC,GAAG,MAAM,CAAC;IAC5B,MAAM,MAAM,GAAG,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACnC,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IAExC,IAAI,MAAM,CAAC;IACX,IAAI,WAAW,KAAK,CAAC,EAAE;QACtB,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;KACxE;SAAM;QACN,MAAM,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;KAClC;IAED,OAAO,SAAS,CAAC;QAChB,OAAO,EAAE,MAAM;QACf,MAAM;QACN,UAAU;QACV,WAAW;QACX,QAAQ;KACR,CAAC,CAAC;AACJ,CAAC;AAED,SAAS,SAAS,CAAC,EAClB,OAAO,EACP,MAAM,EACN,UAAU,EACV,WAAW,EACX,QAAQ,GAOR;IACA,MAAM,cAAc,GAAG,QAAQ,GAAG,CAA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AAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,MAAM,IAAI,CAAC,EAAE;QACnD,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC9C,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,EAAE,IAAI,CAAC,CAAC;KAC/D;AACF,CAAC;AAED,SAAS,WAAW,CAAC,IAAc,EAAE,MAAc,EAAE,MAAc;IAClE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;QACvC,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;KAChD;AACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const uint8ToBase64: (buffer: AudioBuffer) => string;
2
+ //# sourceMappingURL=audio-url-helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audio-url-helpers.d.ts","sourceRoot":"","sources":["../../src/audio/audio-url-helpers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa,WAAY,WAAW,WAYhD,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.uint8ToBase64 = void 0;
4
+ const uint8ToBase64 = (buffer) => {
5
+ const wavAsArrayBuffer = audioBufferToWav(buffer, {
6
+ float32: false,
7
+ });
8
+ let binary = '';
9
+ const bytes = new Uint8Array(wavAsArrayBuffer);
10
+ const len = bytes.byteLength;
11
+ for (let i = 0; i < len; i++) {
12
+ binary += String.fromCharCode(bytes[i]);
13
+ }
14
+ return window.btoa(binary);
15
+ };
16
+ exports.uint8ToBase64 = uint8ToBase64;
17
+ //# sourceMappingURL=audio-url-helpers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"audio-url-helpers.js","sourceRoot":"","sources":["../../src/audio/audio-url-helpers.ts"],"names":[],"mappings":";;;AAAO,MAAM,aAAa,GAAG,CAAC,MAAmB,EAAE,EAAE;IACpD,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,MAAM,EAAE;QACjD,OAAO,EAAE,KAAK;KACd,CAAC,CAAC;IACH,IAAI,MAAM,GAAG,EAAE,CAAC;IAChB,MAAM,KAAK,GAAG,IAAI,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAC/C,MAAM,GAAG,GAAG,KAAK,CAAC,UAAU,CAAC;IAC7B,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAAE;QAC7B,MAAM,IAAI,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;KACxC;IAED,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC5B,CAAC,CAAC;AAZW,QAAA,aAAa,iBAYxB"}
@@ -2,7 +2,7 @@ import { PixelFormat } from './pixel-format';
2
2
  declare const validOptions: readonly ["png", "jpeg", "none"];
3
3
  export declare type ImageFormat = typeof validOptions[number];
4
4
  export declare const setImageFormat: (format: ImageFormat) => void;
5
- export declare const getUserPreferredImageFormat: () => "png" | "jpeg" | "none" | undefined;
5
+ export declare const getUserPreferredImageFormat: () => "none" | "png" | "jpeg" | undefined;
6
6
  export declare const validateSelectedPixelFormatAndImageFormatCombination: (pixelFormat: PixelFormat, imageFormat: ImageFormat) => 'none' | 'valid';
7
7
  export {};
8
8
  //# sourceMappingURL=image-format.d.ts.map
@@ -44,7 +44,7 @@ export declare const Config: {
44
44
  *
45
45
  * Set this to 'verbose' to get browser logs and other IO.
46
46
  */
47
- readonly setLevel: (newLogLevel: "error" | "verbose" | "info" | "warn") => void;
47
+ readonly setLevel: (newLogLevel: "verbose" | "info" | "warn" | "error") => void;
48
48
  };
49
49
  readonly Puppeteer: {
50
50
  /**
@@ -74,7 +74,7 @@ export declare const Config: {
74
74
  /** Decide in which image format to render. Can be either 'jpeg' or 'png'.
75
75
  * PNG is slower, but supports transparency.
76
76
  */
77
- readonly setImageFormat: (format: "png" | "jpeg" | "none") => void;
77
+ readonly setImageFormat: (format: "none" | "png" | "jpeg") => void;
78
78
  /**
79
79
  * Render only a subset of a video.
80
80
  * Pass in a tuple [20, 30] to only render frames 20-30 into a video.
@@ -126,7 +126,7 @@ export declare const Config: {
126
126
  * Possible values: 4444-xq, 4444, hq, standard, light, proxy. Default: 'hq'
127
127
  * See https://avpres.net/FFmpeg/im_ProRes.html for meaning of possible values.
128
128
  */
129
- readonly setProResProfile: (profile: "4444-xq" | "4444" | "hq" | "standard" | "light" | "proxy" | undefined) => void;
129
+ readonly setProResProfile: (profile: "light" | "4444-xq" | "4444" | "hq" | "standard" | "proxy" | undefined) => void;
130
130
  };
131
131
  };
132
132
  export type { PixelFormat, Concurrency, WebpackConfiguration, WebpackOverrideFn, BrowserExecutable, FfmpegExecutable, ImageFormat, Codec, Browser, FrameRange, LogLevel, };
@@ -1,6 +1,6 @@
1
1
  export declare const logLevels: readonly ["verbose", "info", "warn", "error"];
2
2
  export declare type LogLevel = typeof logLevels[number];
3
- export declare const getLogLevel: () => "error" | "verbose" | "info" | "warn";
3
+ export declare const getLogLevel: () => "verbose" | "info" | "warn" | "error";
4
4
  export declare const setLogLevel: (newLogLevel: LogLevel) => void;
5
5
  export declare const isValidLogLevel: (level: string) => boolean;
6
6
  export declare const isEqualOrBelowLogLevel: (level: LogLevel) => boolean;
@@ -1,2 +1,2 @@
1
- export declare const getAssetFileName: (filename: string) => string;
1
+ export declare const getAssetDisplayName: (filename: string) => string;
2
2
  //# sourceMappingURL=get-asset-file-name.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-asset-file-name.d.ts","sourceRoot":"","sources":["../src/get-asset-file-name.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,aAAc,MAAM,KAAG,MAMnD,CAAC"}
1
+ {"version":3,"file":"get-asset-file-name.d.ts","sourceRoot":"","sources":["../src/get-asset-file-name.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,aAAc,MAAM,KAAG,MAUtD,CAAC"}
@@ -1,12 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAssetFileName = void 0;
4
- const getAssetFileName = (filename) => {
3
+ exports.getAssetDisplayName = void 0;
4
+ const getAssetDisplayName = (filename) => {
5
+ if (/data:|blob:/.test(filename.substring(0, 5))) {
6
+ return 'Data URL';
7
+ }
5
8
  const splitted = filename
6
9
  .split('/')
7
10
  .map((s) => s.split('\\'))
8
11
  .flat(1);
9
12
  return splitted[splitted.length - 1];
10
13
  };
11
- exports.getAssetFileName = getAssetFileName;
14
+ exports.getAssetDisplayName = getAssetDisplayName;
12
15
  //# sourceMappingURL=get-asset-file-name.js.map