react-native-audio-browser 0.2.0-next.54 → 0.2.0-next.56

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 (271) hide show
  1. package/README.md +32 -19
  2. package/lib/commonjs/CLAUDE.md +7 -2
  3. package/lib/commonjs/features/battery.js +16 -12
  4. package/lib/commonjs/features/battery.js.map +1 -1
  5. package/lib/commonjs/features/browser-config.js +1 -1
  6. package/lib/commonjs/features/browser.js +74 -24
  7. package/lib/commonjs/features/browser.js.map +1 -1
  8. package/lib/commonjs/features/carConnection.js +3 -4
  9. package/lib/commonjs/features/carConnection.js.map +1 -1
  10. package/lib/commonjs/features/equalizer.js +9 -5
  11. package/lib/commonjs/features/equalizer.js.map +1 -1
  12. package/lib/commonjs/features/errors.js +35 -21
  13. package/lib/commonjs/features/errors.js.map +1 -1
  14. package/lib/commonjs/features/favorites.js +15 -13
  15. package/lib/commonjs/features/favorites.js.map +1 -1
  16. package/lib/commonjs/features/gate.js +12 -6
  17. package/lib/commonjs/features/gate.js.map +1 -1
  18. package/lib/commonjs/features/metadata.js +16 -14
  19. package/lib/commonjs/features/metadata.js.map +1 -1
  20. package/lib/commonjs/features/network.js +5 -1
  21. package/lib/commonjs/features/network.js.map +1 -1
  22. package/lib/commonjs/features/nowPlaying.js +28 -14
  23. package/lib/commonjs/features/nowPlaying.js.map +1 -1
  24. package/lib/commonjs/features/output.js +8 -4
  25. package/lib/commonjs/features/output.js.map +1 -1
  26. package/lib/commonjs/features/playback/controls.js +10 -5
  27. package/lib/commonjs/features/playback/controls.js.map +1 -1
  28. package/lib/commonjs/features/playback/playWhenReady.js +6 -5
  29. package/lib/commonjs/features/playback/playWhenReady.js.map +1 -1
  30. package/lib/commonjs/features/playback/playing.js +5 -3
  31. package/lib/commonjs/features/playback/playing.js.map +1 -1
  32. package/lib/commonjs/features/playback/progress.js +11 -5
  33. package/lib/commonjs/features/playback/progress.js.map +1 -1
  34. package/lib/commonjs/features/playback/state.js +3 -3
  35. package/lib/commonjs/features/playback/state.js.map +1 -1
  36. package/lib/commonjs/features/playback/trackPlaybackTime.js +6 -1
  37. package/lib/commonjs/features/playback/trackPlaybackTime.js.map +1 -1
  38. package/lib/commonjs/features/playback/volume.js +6 -5
  39. package/lib/commonjs/features/playback/volume.js.map +1 -1
  40. package/lib/commonjs/features/player/options.js +20 -10
  41. package/lib/commonjs/features/player/options.js.map +1 -1
  42. package/lib/commonjs/features/player/setup.js +34 -38
  43. package/lib/commonjs/features/player/setup.js.map +1 -1
  44. package/lib/commonjs/features/queue/activeTrack.js +0 -1
  45. package/lib/commonjs/features/queue/activeTrack.js.map +1 -1
  46. package/lib/commonjs/features/queue/queue.js +48 -20
  47. package/lib/commonjs/features/queue/queue.js.map +1 -1
  48. package/lib/commonjs/features/queue/repeatMode.js +2 -1
  49. package/lib/commonjs/features/queue/repeatMode.js.map +1 -1
  50. package/lib/commonjs/features/queue/shuffle.js +0 -1
  51. package/lib/commonjs/features/queue/shuffle.js.map +1 -1
  52. package/lib/commonjs/features/remoteControls.js +59 -35
  53. package/lib/commonjs/features/remoteControls.js.map +1 -1
  54. package/lib/commonjs/features/sleepTimer.js +15 -6
  55. package/lib/commonjs/features/sleepTimer.js.map +1 -1
  56. package/lib/commonjs/utils/LazyNativeEmitter.js +6 -9
  57. package/lib/commonjs/utils/LazyNativeEmitter.js.map +1 -1
  58. package/lib/commonjs/utils/NativeUpdatedValue.js +13 -12
  59. package/lib/commonjs/utils/NativeUpdatedValue.js.map +1 -1
  60. package/lib/commonjs/utils/getTrackIdentity.js +6 -4
  61. package/lib/commonjs/utils/getTrackIdentity.js.map +1 -1
  62. package/lib/commonjs/utils/useDebug.js +16 -3
  63. package/lib/commonjs/utils/useDebug.js.map +1 -1
  64. package/lib/commonjs/web/NativeAudioBrowser.js +2 -4
  65. package/lib/commonjs/web/NativeAudioBrowser.js.map +1 -1
  66. package/lib/commonjs/web/browser/parseSearchResponse.js +3 -4
  67. package/lib/commonjs/web/browser/parseSearchResponse.js.map +1 -1
  68. package/lib/commonjs/web/browser/sections.js +1 -1
  69. package/lib/commonjs/web/util/BrowserPathHelper.js +1 -3
  70. package/lib/commonjs/web/util/BrowserPathHelper.js.map +1 -1
  71. package/lib/module/CLAUDE.md +7 -2
  72. package/lib/module/features/battery.js +16 -12
  73. package/lib/module/features/battery.js.map +1 -1
  74. package/lib/module/features/browser-config.js +1 -1
  75. package/lib/module/features/browser.js +74 -24
  76. package/lib/module/features/browser.js.map +1 -1
  77. package/lib/module/features/carConnection.js +3 -4
  78. package/lib/module/features/carConnection.js.map +1 -1
  79. package/lib/module/features/equalizer.js +9 -5
  80. package/lib/module/features/equalizer.js.map +1 -1
  81. package/lib/module/features/errors.js +35 -21
  82. package/lib/module/features/errors.js.map +1 -1
  83. package/lib/module/features/favorites.js +15 -13
  84. package/lib/module/features/favorites.js.map +1 -1
  85. package/lib/module/features/gate.js +12 -6
  86. package/lib/module/features/gate.js.map +1 -1
  87. package/lib/module/features/metadata.js +16 -14
  88. package/lib/module/features/metadata.js.map +1 -1
  89. package/lib/module/features/network.js +5 -1
  90. package/lib/module/features/network.js.map +1 -1
  91. package/lib/module/features/nowPlaying.js +28 -14
  92. package/lib/module/features/nowPlaying.js.map +1 -1
  93. package/lib/module/features/output.js +8 -4
  94. package/lib/module/features/output.js.map +1 -1
  95. package/lib/module/features/playback/controls.js +10 -5
  96. package/lib/module/features/playback/controls.js.map +1 -1
  97. package/lib/module/features/playback/playWhenReady.js +6 -5
  98. package/lib/module/features/playback/playWhenReady.js.map +1 -1
  99. package/lib/module/features/playback/playing.js +5 -3
  100. package/lib/module/features/playback/playing.js.map +1 -1
  101. package/lib/module/features/playback/progress.js +11 -5
  102. package/lib/module/features/playback/progress.js.map +1 -1
  103. package/lib/module/features/playback/state.js +3 -3
  104. package/lib/module/features/playback/state.js.map +1 -1
  105. package/lib/module/features/playback/trackPlaybackTime.js +6 -1
  106. package/lib/module/features/playback/trackPlaybackTime.js.map +1 -1
  107. package/lib/module/features/playback/volume.js +6 -5
  108. package/lib/module/features/playback/volume.js.map +1 -1
  109. package/lib/module/features/player/options.js +20 -10
  110. package/lib/module/features/player/options.js.map +1 -1
  111. package/lib/module/features/player/setup.js +34 -38
  112. package/lib/module/features/player/setup.js.map +1 -1
  113. package/lib/module/features/queue/activeTrack.js +0 -1
  114. package/lib/module/features/queue/activeTrack.js.map +1 -1
  115. package/lib/module/features/queue/queue.js +48 -20
  116. package/lib/module/features/queue/queue.js.map +1 -1
  117. package/lib/module/features/queue/repeatMode.js +2 -1
  118. package/lib/module/features/queue/repeatMode.js.map +1 -1
  119. package/lib/module/features/queue/shuffle.js +0 -1
  120. package/lib/module/features/queue/shuffle.js.map +1 -1
  121. package/lib/module/features/remoteControls.js +59 -35
  122. package/lib/module/features/remoteControls.js.map +1 -1
  123. package/lib/module/features/sleepTimer.js +15 -6
  124. package/lib/module/features/sleepTimer.js.map +1 -1
  125. package/lib/module/utils/LazyNativeEmitter.js +6 -9
  126. package/lib/module/utils/LazyNativeEmitter.js.map +1 -1
  127. package/lib/module/utils/NativeUpdatedValue.js +13 -12
  128. package/lib/module/utils/NativeUpdatedValue.js.map +1 -1
  129. package/lib/module/utils/getTrackIdentity.js +6 -4
  130. package/lib/module/utils/getTrackIdentity.js.map +1 -1
  131. package/lib/module/utils/useDebug.js +16 -3
  132. package/lib/module/utils/useDebug.js.map +1 -1
  133. package/lib/module/web/NativeAudioBrowser.js +2 -4
  134. package/lib/module/web/NativeAudioBrowser.js.map +1 -1
  135. package/lib/module/web/browser/parseSearchResponse.js +3 -4
  136. package/lib/module/web/browser/parseSearchResponse.js.map +1 -1
  137. package/lib/module/web/browser/sections.js +1 -1
  138. package/lib/module/web/util/BrowserPathHelper.js +1 -3
  139. package/lib/module/web/util/BrowserPathHelper.js.map +1 -1
  140. package/lib/typescript/src/features/battery.d.ts +17 -12
  141. package/lib/typescript/src/features/battery.d.ts.map +1 -1
  142. package/lib/typescript/src/features/browser.d.ts +64 -24
  143. package/lib/typescript/src/features/browser.d.ts.map +1 -1
  144. package/lib/typescript/src/features/carConnection.d.ts +3 -4
  145. package/lib/typescript/src/features/carConnection.d.ts.map +1 -1
  146. package/lib/typescript/src/features/equalizer.d.ts +9 -5
  147. package/lib/typescript/src/features/equalizer.d.ts.map +1 -1
  148. package/lib/typescript/src/features/errors.d.ts +37 -22
  149. package/lib/typescript/src/features/errors.d.ts.map +1 -1
  150. package/lib/typescript/src/features/favorites.d.ts +15 -13
  151. package/lib/typescript/src/features/favorites.d.ts.map +1 -1
  152. package/lib/typescript/src/features/gate.d.ts +14 -8
  153. package/lib/typescript/src/features/gate.d.ts.map +1 -1
  154. package/lib/typescript/src/features/metadata.d.ts +37 -17
  155. package/lib/typescript/src/features/metadata.d.ts.map +1 -1
  156. package/lib/typescript/src/features/network.d.ts +5 -1
  157. package/lib/typescript/src/features/network.d.ts.map +1 -1
  158. package/lib/typescript/src/features/nowPlaying.d.ts +28 -14
  159. package/lib/typescript/src/features/nowPlaying.d.ts.map +1 -1
  160. package/lib/typescript/src/features/output.d.ts +8 -4
  161. package/lib/typescript/src/features/output.d.ts.map +1 -1
  162. package/lib/typescript/src/features/playback/controls.d.ts +10 -5
  163. package/lib/typescript/src/features/playback/controls.d.ts.map +1 -1
  164. package/lib/typescript/src/features/playback/playWhenReady.d.ts +6 -5
  165. package/lib/typescript/src/features/playback/playWhenReady.d.ts.map +1 -1
  166. package/lib/typescript/src/features/playback/playing.d.ts +16 -3
  167. package/lib/typescript/src/features/playback/playing.d.ts.map +1 -1
  168. package/lib/typescript/src/features/playback/progress.d.ts +11 -5
  169. package/lib/typescript/src/features/playback/progress.d.ts.map +1 -1
  170. package/lib/typescript/src/features/playback/state.d.ts +8 -3
  171. package/lib/typescript/src/features/playback/state.d.ts.map +1 -1
  172. package/lib/typescript/src/features/playback/trackPlaybackTime.d.ts +9 -2
  173. package/lib/typescript/src/features/playback/trackPlaybackTime.d.ts.map +1 -1
  174. package/lib/typescript/src/features/playback/volume.d.ts +6 -5
  175. package/lib/typescript/src/features/playback/volume.d.ts.map +1 -1
  176. package/lib/typescript/src/features/player/options.d.ts +52 -37
  177. package/lib/typescript/src/features/player/options.d.ts.map +1 -1
  178. package/lib/typescript/src/features/player/setup.d.ts +65 -60
  179. package/lib/typescript/src/features/player/setup.d.ts.map +1 -1
  180. package/lib/typescript/src/features/queue/activeTrack.d.ts +0 -1
  181. package/lib/typescript/src/features/queue/activeTrack.d.ts.map +1 -1
  182. package/lib/typescript/src/features/queue/queue.d.ts +48 -20
  183. package/lib/typescript/src/features/queue/queue.d.ts.map +1 -1
  184. package/lib/typescript/src/features/queue/repeatMode.d.ts +1 -1
  185. package/lib/typescript/src/features/queue/repeatMode.d.ts.map +1 -1
  186. package/lib/typescript/src/features/queue/shuffle.d.ts +0 -1
  187. package/lib/typescript/src/features/queue/shuffle.d.ts.map +1 -1
  188. package/lib/typescript/src/features/remoteControls.d.ts +58 -25
  189. package/lib/typescript/src/features/remoteControls.d.ts.map +1 -1
  190. package/lib/typescript/src/features/sleepTimer.d.ts +15 -7
  191. package/lib/typescript/src/features/sleepTimer.d.ts.map +1 -1
  192. package/lib/typescript/src/types/browser-nodes.d.ts +54 -57
  193. package/lib/typescript/src/types/browser-nodes.d.ts.map +1 -1
  194. package/lib/typescript/src/types/browser.d.ts +181 -144
  195. package/lib/typescript/src/types/browser.d.ts.map +1 -1
  196. package/lib/typescript/src/utils/LazyNativeEmitter.d.ts +6 -9
  197. package/lib/typescript/src/utils/LazyNativeEmitter.d.ts.map +1 -1
  198. package/lib/typescript/src/utils/NativeUpdatedValue.d.ts +13 -12
  199. package/lib/typescript/src/utils/NativeUpdatedValue.d.ts.map +1 -1
  200. package/lib/typescript/src/utils/getTrackIdentity.d.ts +6 -4
  201. package/lib/typescript/src/utils/getTrackIdentity.d.ts.map +1 -1
  202. package/lib/typescript/src/utils/useDebug.d.ts +16 -3
  203. package/lib/typescript/src/utils/useDebug.d.ts.map +1 -1
  204. package/package.json +1 -1
  205. package/src/CLAUDE.md +7 -2
  206. package/src/docs-floors.test.ts +71 -0
  207. package/src/features/battery.ts +17 -13
  208. package/src/features/browser-config.ts +1 -1
  209. package/src/features/browser.ts +65 -24
  210. package/src/features/carConnection.ts +3 -4
  211. package/src/features/equalizer.ts +9 -5
  212. package/src/features/errors.ts +37 -22
  213. package/src/features/favorites.ts +15 -13
  214. package/src/features/gate.ts +14 -8
  215. package/src/features/metadata.ts +37 -17
  216. package/src/features/network.ts +5 -1
  217. package/src/features/nowPlaying.ts +28 -14
  218. package/src/features/output.ts +8 -4
  219. package/src/features/playback/controls.ts +10 -5
  220. package/src/features/playback/playWhenReady.ts +6 -5
  221. package/src/features/playback/playing.ts +16 -3
  222. package/src/features/playback/progress.ts +11 -5
  223. package/src/features/playback/state.ts +8 -3
  224. package/src/features/playback/trackPlaybackTime.ts +9 -2
  225. package/src/features/playback/volume.ts +6 -5
  226. package/src/features/player/options.ts +54 -43
  227. package/src/features/player/setup.ts +67 -61
  228. package/src/features/queue/activeTrack.ts +0 -1
  229. package/src/features/queue/queue.ts +48 -20
  230. package/src/features/queue/repeatMode.ts +1 -1
  231. package/src/features/queue/shuffle.ts +0 -1
  232. package/src/features/remoteControls.ts +59 -35
  233. package/src/features/sleepTimer.ts +15 -7
  234. package/src/types/browser-nodes.ts +54 -57
  235. package/src/types/browser.ts +183 -146
  236. package/src/utils/LazyNativeEmitter.ts +6 -9
  237. package/src/utils/NativeUpdatedValue.ts +13 -12
  238. package/src/utils/getTrackIdentity.ts +6 -4
  239. package/src/utils/useDebug.ts +16 -3
  240. package/src/web/NativeAudioBrowser.ts +2 -4
  241. package/src/web/browser/parseSearchResponse.ts +3 -4
  242. package/src/web/browser/sections.ts +1 -1
  243. package/src/web/util/BrowserPathHelper.ts +1 -3
  244. package/website/guide/android-auto.md +25 -13
  245. package/website/guide/android-certificates.md +199 -120
  246. package/website/guide/artwork.md +93 -48
  247. package/website/guide/audio-output.md +86 -68
  248. package/website/guide/automotive.md +15 -10
  249. package/website/guide/basic-usage.md +5 -2
  250. package/website/guide/battery.md +50 -23
  251. package/website/guide/browser.md +155 -68
  252. package/website/guide/carplay.md +132 -49
  253. package/website/guide/configuration.md +85 -49
  254. package/website/guide/equalizer.md +36 -32
  255. package/website/guide/errors.md +106 -64
  256. package/website/guide/favorites.md +41 -31
  257. package/website/guide/gate.md +24 -10
  258. package/website/guide/getting-started.md +55 -2
  259. package/website/guide/hooks.md +53 -47
  260. package/website/guide/live-streams.md +80 -49
  261. package/website/guide/metadata.md +87 -53
  262. package/website/guide/migrating-from-track-player.md +94 -49
  263. package/website/guide/native-callback-fetch.md +46 -36
  264. package/website/guide/network.md +36 -20
  265. package/website/guide/now-playing.md +72 -44
  266. package/website/guide/playback.md +112 -35
  267. package/website/guide/queue.md +77 -43
  268. package/website/guide/remote-controls.md +87 -29
  269. package/website/guide/search.md +37 -22
  270. package/website/guide/sleep-timer.md +35 -14
  271. package/website/guide/track.md +59 -35
@@ -1,6 +1,19 @@
1
1
  import { NativeUpdatedValue } from '../../utils/NativeUpdatedValue';
2
+ /** Whether the player is playing, and whether it is buffering while it does. */
2
3
  export type PlayingState = {
4
+ /**
5
+ * True while the player intends to play and can: `playWhenReady` is set and
6
+ * the state is not `'none'`, `'stopped'`, `'ended'` or `'error'`. Also true
7
+ * while loading or buffering, so it does not mean sound is audible. On
8
+ * Android, also false while a transient audio-focus loss holds output back,
9
+ * though `playWhenReady` stays true.
10
+ */
3
11
  playing: boolean;
12
+ /**
13
+ * True while the player intends to play and the state is `'loading'` or
14
+ * `'buffering'`. On Android, also false while a transient audio-focus loss
15
+ * holds output back, though `playWhenReady` stays true.
16
+ */
4
17
  buffering: boolean;
5
18
  };
6
19
  /**
@@ -8,9 +21,9 @@ export type PlayingState = {
8
21
  */
9
22
  export declare function getPlayingState(): PlayingState;
10
23
  /**
11
- * Subscribes to playing state changes.
12
- * @param callback - Called when playing or buffering state changes
13
- * @returns An emitter — subscribe with `addListener(callback)`, which returns a cleanup function
24
+ * Emits the {@link PlayingState} each time `playing` or `buffering` changes.
25
+ * Subscribe with `onPlayingState.addListener(cb)`, which returns an
26
+ * unsubscribe function.
14
27
  */
15
28
  export declare const onPlayingState: NativeUpdatedValue<PlayingState>;
16
29
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"playing.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/playing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAKnE,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,OAAO,CAAA;CACnB,CAAA;AAID;;GAEG;AACH,wBAAgB,eAAe,IAAI,YAAY,CAE9C;AAID;;;;GAIG;AACH,eAAO,MAAM,cAAc,kCAE1B,CAAA;AAID;;;GAGG;AACH,wBAAgB,eAAe,IAAI,YAAY,CAE9C"}
1
+ {"version":3,"file":"playing.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/playing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAKnE,gFAAgF;AAChF,MAAM,MAAM,YAAY,GAAG;IACzB;;;;;;OAMG;IACH,OAAO,EAAE,OAAO,CAAA;IAChB;;;;OAIG;IACH,SAAS,EAAE,OAAO,CAAA;CACnB,CAAA;AAID;;GAEG;AACH,wBAAgB,eAAe,IAAI,YAAY,CAE9C;AAID;;;;GAIG;AACH,eAAO,MAAM,cAAc,kCAE1B,CAAA;AAID;;;GAGG;AACH,wBAAgB,eAAe,IAAI,YAAY,CAE9C"}
@@ -27,15 +27,21 @@ export interface PlaybackProgressUpdatedEvent extends Progress {
27
27
  */
28
28
  export declare function getProgress(): Progress;
29
29
  /**
30
- * Subscribes to playback progress updates.
31
- * @param callback - Called periodically with playback progress updates
32
- * @returns An emitter — subscribe with `addListener(callback)`, which returns a cleanup function
30
+ * Emits the progress every `progressUpdateEventInterval` seconds while the
31
+ * player is loading, buffering or playing. Off by default (the interval is
32
+ * `null`). Subscribe with `onProgressUpdated.addListener(cb)`, which returns
33
+ * an unsubscribe function.
33
34
  */
34
35
  export declare const onProgressUpdated: NativeUpdatedValue<PlaybackProgressUpdatedEvent>;
35
36
  /**
36
- * Hook that returns the current playback progress and updates when it changes.
37
+ * Hook that returns the current playback progress and updates on each
38
+ * progress event.
37
39
  *
38
- * Progress update frequency is controlled globally via `updateOptions({ progressUpdateEventInterval })`.
40
+ * Progress events are off by default (`progressUpdateEventInterval: null`), so
41
+ * this hook does not update until you set an interval in `setupPlayer` or
42
+ * `updateOptions`. Events fire only while loading, buffering or playing, so a
43
+ * seek while paused does not show. For updates without configuration, use
44
+ * {@link usePolledProgress}.
39
45
  * @returns The current playback progress
40
46
  */
41
47
  export declare function useProgress(): Progress;
@@ -1 +1 @@
1
- {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAMnE,MAAM,WAAW,QAAQ;IACvB;;QAEI;IACJ,QAAQ,EAAE,MAAM,CAAA;IAChB;;QAEI;IACJ,QAAQ,EAAE,MAAM,CAAA;IAChB;;QAEI;IACJ,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,QAAQ;IAC5D,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAA;CACd;AAID;;;;GAIG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC;AAID;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,kDAG3B,CAAA;AAIH;;;;;GAKG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,cAAc,SAAO,GAAG,QAAQ,CA+DjE"}
1
+ {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/progress.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAMnE,MAAM,WAAW,QAAQ;IACvB;;QAEI;IACJ,QAAQ,EAAE,MAAM,CAAA;IAChB;;QAEI;IACJ,QAAQ,EAAE,MAAM,CAAA;IAChB;;QAEI;IACJ,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,4BAA6B,SAAQ,QAAQ;IAC5D,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAA;CACd;AAID;;;;GAIG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC;AAID;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,kDAG3B,CAAA;AAIH;;;;;;;;;;GAUG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,cAAc,SAAO,GAAG,QAAQ,CA+DjE"}
@@ -21,6 +21,11 @@ import { NativeUpdatedValue } from '../../utils/NativeUpdatedValue';
21
21
  export type PlaybackState = 'none' | 'ready' | 'playing' | 'paused' | 'stopped' | 'loading' | 'buffering' | 'error' | 'ended';
22
22
  export type Playback = {
23
23
  state: PlaybackState;
24
+ /**
25
+ * What made playback fail, in the `'error'` state. On iOS and Android, also
26
+ * a failure still being retried (`retrying: true`) while loading, buffering
27
+ * or paused.
28
+ */
24
29
  error?: PlaybackError;
25
30
  };
26
31
  /**
@@ -29,9 +34,9 @@ export type Playback = {
29
34
  */
30
35
  export declare function getPlayback(): Playback;
31
36
  /**
32
- * Subscribes to playback state changes.
33
- * @param callback - Called when the playback state changes
34
- * @returns An emitter — subscribe with `addListener(callback)`, which returns a cleanup function
37
+ * Emits the {@link Playback} each time the playback state or error changes.
38
+ * Subscribe with `onPlaybackChanged.addListener(cb)`, which returns an
39
+ * unsubscribe function.
35
40
  */
36
41
  export declare const onPlaybackChanged: NativeUpdatedValue<Playback>;
37
42
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAKnE;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,OAAO,GACP,SAAS,GACT,QAAQ,GACR,SAAS,GACT,SAAS,GACT,WAAW,GACX,OAAO,GACP,OAAO,CAAA;AAEX,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,aAAa,CAAA;IACpB,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAID;;;GAGG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC;AAID;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,8BAE7B,CAAA;AAID;;;GAGG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC"}
1
+ {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/state.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,WAAW,CAAA;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAKnE;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,aAAa,GACrB,MAAM,GACN,OAAO,GACP,SAAS,GACT,QAAQ,GACR,SAAS,GACT,SAAS,GACT,WAAW,GACX,OAAO,GACP,OAAO,CAAA;AAEX,MAAM,MAAM,QAAQ,GAAG;IACrB,KAAK,EAAE,aAAa,CAAA;IACpB;;;;OAIG;IACH,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB,CAAA;AAID;;;GAGG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC;AAID;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,8BAE7B,CAAA;AAID;;;GAGG;AACH,wBAAgB,WAAW,IAAI,QAAQ,CAEtC"}
@@ -1,10 +1,14 @@
1
1
  import type { Track } from '../../types/browser-nodes';
2
+ /** What a {@link trackPlaybackTime} callback receives each period. */
2
3
  export interface PlaybackElapsed {
3
4
  /** Cumulative seconds spent `playing` since this subscription started. */
4
5
  total: number;
5
6
  /** Seconds played since the previous callback (≈ `period`). */
6
7
  sinceLast: number;
7
- /** The currently playing track (id / src / path / title …), if any. */
8
+ /**
9
+ * The active track as of the latest track change since the first
10
+ * subscription; `undefined` until one happens.
11
+ */
8
12
  track?: Track;
9
13
  }
10
14
  /**
@@ -24,8 +28,11 @@ export interface PlaybackElapsed {
24
28
  * subscribe to {@link onActiveTrackChanged} and cancel + re-subscribe here on each
25
29
  * change, so every track gets a fresh `total` starting at zero.
26
30
  *
31
+ * On Android, subscribe after `setupPlayer` resolves. After a service restart
32
+ * no callback fires until every subscription is cancelled and a new one is made.
33
+ *
27
34
  * @param callback Invoked once per elapsed `period`, with cumulative play time
28
- * and the currently playing track.
35
+ * and the active track (see {@link PlaybackElapsed.track}).
29
36
  * @param period Seconds of playback between calls. Must be >= 1.
30
37
  * @returns A function that cancels this subscription (idempotent — safe to call
31
38
  * more than once).
@@ -1 +1 @@
1
- {"version":3,"file":"trackPlaybackTime.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/trackPlaybackTime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAMtD,MAAM,WAAW,eAAe;IAC9B,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAA;IACb,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAA;IACjB,uEAAuE;IACvE,KAAK,CAAC,EAAE,KAAK,CAAA;CACd;AA4CD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,EAC5C,MAAM,EAAE,MAAM,GACb,MAAM,IAAI,CAiBZ"}
1
+ {"version":3,"file":"trackPlaybackTime.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/trackPlaybackTime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAA;AAMtD,sEAAsE;AACtE,MAAM,WAAW,eAAe;IAC9B,0EAA0E;IAC1E,KAAK,EAAE,MAAM,CAAA;IACb,+DAA+D;IAC/D,SAAS,EAAE,MAAM,CAAA;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,KAAK,CAAA;CACd;AA4CD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,wBAAgB,iBAAiB,CAC/B,QAAQ,EAAE,CAAC,OAAO,EAAE,eAAe,KAAK,IAAI,EAC5C,MAAM,EAAE,MAAM,GACb,MAAM,IAAI,CAiBZ"}
@@ -4,7 +4,7 @@ import { NativeUpdatedValue } from '../../utils/NativeUpdatedValue';
4
4
  */
5
5
  export declare function getVolume(): number;
6
6
  /**
7
- * Gets the current system volume as a number between 0 and 1.
7
+ * Gets the current system volume as a number between 0 and 1. On web, always 1.
8
8
  */
9
9
  export declare function getSystemVolume(): number;
10
10
  /**
@@ -15,17 +15,18 @@ export declare function setVolume(level: number): void;
15
15
  /**
16
16
  * Sets the system volume.
17
17
  * @param level - The volume as a number between 0 and 1.
18
- * @remarks On iOS this is a no-op as Apple doesn't provide a public API to set system volume.
18
+ * @remarks A no-op on iOS, which has no public API for it, and on web.
19
19
  */
20
20
  export declare function setSystemVolume(level: number): void;
21
21
  /**
22
- * Subscribes to system volume changes.
23
- * @param callback - Called when the system volume changes
24
- * @returns An emitter — subscribe with `addListener(callback)`, which returns a cleanup function
22
+ * Emits the system volume (0 to 1) each time it changes. Never fires on web.
23
+ * Subscribe with `onSystemVolumeChanged.addListener(cb)`, which returns an
24
+ * unsubscribe function.
25
25
  */
26
26
  export declare const onSystemVolumeChanged: NativeUpdatedValue<number>;
27
27
  /**
28
28
  * Hook that returns the current system volume and updates when it changes.
29
+ * On web, always 1.
29
30
  * @returns The current system volume (0 to 1)
30
31
  */
31
32
  export declare function useSystemVolume(): number;
@@ -1 +1 @@
1
- {"version":3,"file":"volume.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/volume.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAGnE;;GAEG;AACH,wBAAgB,SAAS,IAAI,MAAM,CAElC;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAID;;;GAGG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAE7C;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAEnD;AAID;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,4BAEjC,CAAA;AAID;;;GAGG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAExC"}
1
+ {"version":3,"file":"volume.d.ts","sourceRoot":"","sources":["../../../../../src/features/playback/volume.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAGnE;;GAEG;AACH,wBAAgB,SAAS,IAAI,MAAM,CAElC;AAED;;GAEG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAID;;;GAGG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAE7C;AAED;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAEnD;AAID;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,4BAEjC,CAAA;AAID;;;;GAIG;AACH,wBAAgB,eAAe,IAAI,MAAM,CAExC"}
@@ -62,8 +62,10 @@ export interface PlayerCapabilities {
62
62
  /**
63
63
  * Enable track favoriting.
64
64
  *
65
- * Turns on the favorite/like heart across all surfaces:
66
- * - iOS: Control Center + CarPlay now-playing.
65
+ * - iOS: turns on matching tracks against `setFavorites`. It shows no heart
66
+ * of its own: the CarPlay now-playing heart appears when
67
+ * `ios.carPlayNowPlayingButtons` includes `'favorite'`. Control Center
68
+ * and the lock screen show none.
67
69
  * - Android: a place in the {@link RemoteButtonLayout} — the notification,
68
70
  * Android Auto and the Android 13+ system media controls — and an
69
71
  * (empty or filled) heart on playable browse rows.
@@ -178,26 +180,27 @@ export type RemoteButtonLayout = {
178
180
  * AppKilledPlaybackBehavior options:
179
181
  * - `'continue-playback'`: This option will continue playing audio in the
180
182
  * background when the app is removed from recents. The notification remains.
181
- * This is the default.
182
183
  * - `'pause-playback'`: This option will pause playing audio in the background
183
184
  * when the app is removed from recents. The notification remains and can be
184
185
  * used to resume playback.
185
186
  * - `'stop-playback-and-remove-notification'`: This option will stop playing
186
187
  * audio in the background when the app is removed from recents. The
187
188
  * notification is removed and can't be used to resume playback. Users would
188
- * need to open the app again to start playing audio.
189
+ * need to open the app again to start playing audio. This is the default.
189
190
  */
190
191
  export type AppKilledPlaybackBehavior = 'continue-playback' | 'pause-playback' | 'stop-playback-and-remove-notification';
191
192
  /**
192
- * Current player options with resolved defaults.
193
- * This is what you receive from getOptions() - all properties are present with their current values.
193
+ * Current player options, as {@link getOptions} reports them. The intervals and the platform
194
+ * block come with their defaults filled in; `capabilities` holds the values set, plus,
195
+ * on Android and iOS, `jumpForward` and `jumpBackward`, which are `false` until set.
194
196
  * Platform-specific properties (android/ios) are only available on their respective platforms.
195
197
  *
196
198
  * @example
197
199
  * ```typescript
198
200
  * const options = getOptions();
199
201
  * console.log(options.forwardJumpInterval); // 15
200
- * console.log(options.capabilities); // { shuffleMode: false } - only disabled caps shown
202
+ * console.log(options.capabilities);
203
+ * // { jumpForward: false, jumpBackward: false, shuffleMode: false }
201
204
  * console.log(options.android?.skipSilence); // true (Android only)
202
205
  * ```
203
206
  */
@@ -207,9 +210,13 @@ export interface Options {
207
210
  /**
208
211
  * Jump forward interval in seconds when using jump forward controls.
209
212
  *
210
- * On Android, an interval of exactly 5, 10, 15 or 30 seconds gets an icon
211
- * showing that number; any other interval gets an icon without one. Other
212
- * values are perfectly valid — the interval also sets the seek distance.
213
+ * On Android, Media3 has icons for intervals of exactly 5, 10, 15 or 30
214
+ * seconds, which show that number; any other interval gets an icon without
215
+ * one. Other values are valid. On iOS a jump with no `handleRemoteJump*`
216
+ * override seeks by the interval. On Android it seeks by Media3's default
217
+ * seek increment (15 seconds forward, 5 seconds back), and the interval sets
218
+ * only the icon and the event's `interval`; to jump by the interval,
219
+ * override the control and call `seekBy`.
213
220
  *
214
221
  * @default 15
215
222
  */
@@ -217,9 +224,7 @@ export interface Options {
217
224
  /**
218
225
  * Jump backward interval in seconds when using jump backward controls.
219
226
  *
220
- * On Android, an interval of exactly 5, 10, 15 or 30 seconds gets an icon
221
- * showing that number; any other interval gets an icon without one. Other
222
- * values are perfectly valid — the interval also sets the seek distance.
227
+ * Platform differences as for {@link Options.forwardJumpInterval}.
223
228
  *
224
229
  * @default 15
225
230
  */
@@ -231,8 +236,10 @@ export interface Options {
231
236
  */
232
237
  progressUpdateEventInterval: number | null;
233
238
  /**
234
- * The capabilities that the player has.
235
- * Most capabilities are enabled by default - this shows which ones are disabled.
239
+ * The capabilities as set, plus, on Android and iOS, `jumpForward` and
240
+ * `jumpBackward`, which are `false` until set. An absent field means its
241
+ * default: off for `jumpForward`, `jumpBackward` and `favorite`, on for the
242
+ * rest.
236
243
  */
237
244
  capabilities: PlayerCapabilities;
238
245
  /** iOS-specific player options with resolved defaults (only present on iOS). */
@@ -255,7 +262,7 @@ export interface IOSOptions {
255
262
  */
256
263
  carPlayUpNextButton: boolean;
257
264
  /**
258
- * Buttons shown on the CarPlay Now Playing screen (left-to-right, up to 5).
265
+ * Buttons shown on the CarPlay Now Playing screen (left to right, at most one of each kind).
259
266
  * @default []
260
267
  */
261
268
  carPlayNowPlayingButtons: CarPlayNowPlayingButton[];
@@ -266,11 +273,16 @@ export interface IOSOptions {
266
273
  */
267
274
  carPlayPlayingIndicatorLocation: CarPlayPlayingIndicatorLocation;
268
275
  }
276
+ /**
277
+ * Android runtime options as {@link getOptions} reports them.
278
+ * @platform android
279
+ */
269
280
  export interface AndroidOptions {
270
281
  /**
271
- * Whether the audio playback notification is also removed when the playback
272
- * stops. **If `stoppingAppPausesPlayback` is set to false, this will be
273
- * ignored.**
282
+ * What happens to playback and the notification when the user removes the
283
+ * app from recents.
284
+ *
285
+ * @default 'stop-playback-and-remove-notification'
274
286
  */
275
287
  appKilledPlaybackBehavior: AppKilledPlaybackBehavior;
276
288
  /**
@@ -290,11 +302,16 @@ export interface AndroidOptions {
290
302
  */
291
303
  remoteButtonLayout: RemoteButtonLayout | null;
292
304
  }
305
+ /**
306
+ * Android options {@link updateOptions} can change at runtime.
307
+ * @platform android
308
+ */
293
309
  export interface AndroidUpdateOptions {
294
310
  /**
295
- * Whether the audio playback notification is also removed when the playback
296
- * stops. **If `stoppingAppPausesPlayback` is set to false, this will be
297
- * ignored.**
311
+ * What happens to playback and the notification when the user removes the
312
+ * app from recents.
313
+ *
314
+ * @default 'stop-playback-and-remove-notification'
298
315
  */
299
316
  appKilledPlaybackBehavior?: AppKilledPlaybackBehavior;
300
317
  /**
@@ -332,8 +349,9 @@ export interface IOSUpdateOptions {
332
349
  */
333
350
  carPlayUpNextButton?: boolean;
334
351
  /**
335
- * Configure up to 5 buttons on the CarPlay Now Playing screen, arranged in
336
- * array order (left to right).
352
+ * Configure buttons, at most one of each {@link CarPlayNowPlayingButton}
353
+ * kind, on the CarPlay Now Playing screen, arranged in array order (left to
354
+ * right).
337
355
  *
338
356
  * @example
339
357
  * ```typescript
@@ -380,9 +398,7 @@ export interface UpdateOptions {
380
398
  /**
381
399
  * Jump forward interval in seconds when using jump forward controls.
382
400
  *
383
- * On Android, an interval of exactly 5, 10, 15 or 30 seconds gets an icon
384
- * showing that number; any other interval gets an icon without one. Other
385
- * values are perfectly valid — the interval also sets the seek distance.
401
+ * See {@link Options.forwardJumpInterval} for how iOS and Android treat it.
386
402
  *
387
403
  * @default 15
388
404
  */
@@ -390,9 +406,7 @@ export interface UpdateOptions {
390
406
  /**
391
407
  * Jump backward interval in seconds when using jump backward controls.
392
408
  *
393
- * On Android, an interval of exactly 5, 10, 15 or 30 seconds gets an icon
394
- * showing that number; any other interval gets an icon without one. Other
395
- * values are perfectly valid — the interval also sets the seek distance.
409
+ * See {@link Options.forwardJumpInterval} for how iOS and Android treat it.
396
410
  *
397
411
  * @default 15
398
412
  */
@@ -404,8 +418,10 @@ export interface UpdateOptions {
404
418
  */
405
419
  progressUpdateEventInterval?: number | null;
406
420
  /**
407
- * Player capabilities to enable or disable.
408
- * All capabilities are enabled by default - only specify ones you want to disable.
421
+ * Player capabilities to enable or disable. Most default to on;
422
+ * `jumpForward`, `jumpBackward` and `favorite` default to off. On Android
423
+ * and iOS, fields you omit keep their current value; on web, the object
424
+ * passed replaces the previous one.
409
425
  *
410
426
  * @example
411
427
  * ```typescript
@@ -437,10 +453,10 @@ export interface UpdateOptions {
437
453
  */
438
454
  export declare function updateOptions(options: UpdateOptions): void;
439
455
  /**
440
- * Gets the current player options with resolved defaults.
441
- * Returns all current option values - use this to read the current state.
456
+ * Gets the current player options. `capabilities` holds the values set, plus, on Android
457
+ * and iOS, `jumpForward` and `jumpBackward` (`false` until set); a missing capability
458
+ * means its default.
442
459
  *
443
- * @returns The current player options with all properties resolved to their current values
444
460
  * @example
445
461
  * ```typescript
446
462
  * const options = getOptions();
@@ -451,8 +467,7 @@ export declare function updateOptions(options: UpdateOptions): void;
451
467
  */
452
468
  export declare function getOptions(): Options;
453
469
  /**
454
- * Subscribes to player options changes.
455
- * @param callback - Called when the player options change
470
+ * Emits each time the player options change.
456
471
  * @returns An emitter — subscribe with `addListener(callback)`, which returns a cleanup function
457
472
  */
458
473
  export declare const onOptionsChanged: NativeUpdatedValue<Options>;
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/features/player/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBA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ACH,wBAAwB,CAAC,EAAE,uBAAuB,EAAE,CAAA;IAEpD;;;;OAIG;IACH,+BAA+B,CAAC,EAAE,+BAA+B,CAAA;CAClE;AAaD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAM,WAAW,aAAa;IAC5B,6CAA6C;IAC7C,OAAO,CAAC,EAAE,oBAAoB,CAAA;IAE9B,yCAAyC;IACzC,GAAG,CAAC,EAAE,gBAAgB,CAAA;IAEtB;;;;;;;;OAQG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAE5B;;;;;;;;OAQG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAE7B;;;;OAIG;IACH,2BAA2B,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3C;;;;;;;;;;;;;;OAcG;IACH,YAAY,CAAC,EAAE,kBAAkB,CAAA;CAClC;AA+CD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CAG1D;AAID;;;;;;;;;;;;GAYG;AACH,wBAAgB,UAAU,IAAI,OAAO,CAEpC;AAID;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,6BAE5B,CAAA;AAID;;;GAGG;AACH,wBAAgB,UAAU,IAAI,OAAO,CAEpC"}
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/features/player/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,+BAA+B,EAChC,MAAM,qBAAqB,CAAA;AAE5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAA;AAMnE;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IACd;;;OAGG;IACH,MAAM,CAAC,EAA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