livekit-client 1.11.3 → 1.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. package/README.md +1 -3
  2. package/dist/livekit-client.e2ee.worker.js +2 -0
  3. package/dist/livekit-client.e2ee.worker.js.map +1 -0
  4. package/dist/livekit-client.e2ee.worker.mjs +1525 -0
  5. package/dist/livekit-client.e2ee.worker.mjs.map +1 -0
  6. package/dist/livekit-client.esm.mjs +1462 -660
  7. package/dist/livekit-client.esm.mjs.map +1 -1
  8. package/dist/livekit-client.umd.js +1 -1
  9. package/dist/livekit-client.umd.js.map +1 -1
  10. package/dist/src/api/SignalClient.d.ts +4 -1
  11. package/dist/src/api/SignalClient.d.ts.map +1 -1
  12. package/dist/src/connectionHelper/checks/turn.d.ts.map +1 -1
  13. package/dist/src/connectionHelper/checks/websocket.d.ts.map +1 -1
  14. package/dist/src/e2ee/E2eeManager.d.ts +45 -0
  15. package/dist/src/e2ee/E2eeManager.d.ts.map +1 -0
  16. package/dist/src/e2ee/KeyProvider.d.ts +42 -0
  17. package/dist/src/e2ee/KeyProvider.d.ts.map +1 -0
  18. package/dist/src/e2ee/constants.d.ts +14 -0
  19. package/dist/src/e2ee/constants.d.ts.map +1 -0
  20. package/dist/src/e2ee/errors.d.ts +11 -0
  21. package/dist/src/e2ee/errors.d.ts.map +1 -0
  22. package/dist/src/e2ee/index.d.ts +4 -0
  23. package/dist/src/e2ee/index.d.ts.map +1 -0
  24. package/dist/src/e2ee/types.d.ts +129 -0
  25. package/dist/src/e2ee/types.d.ts.map +1 -0
  26. package/dist/src/e2ee/utils.d.ts +24 -0
  27. package/dist/src/e2ee/utils.d.ts.map +1 -0
  28. package/dist/src/e2ee/worker/FrameCryptor.d.ts +175 -0
  29. package/dist/src/e2ee/worker/FrameCryptor.d.ts.map +1 -0
  30. package/dist/src/e2ee/worker/ParticipantKeyHandler.d.ts +46 -0
  31. package/dist/src/e2ee/worker/ParticipantKeyHandler.d.ts.map +1 -0
  32. package/dist/src/e2ee/worker/e2ee.worker.d.ts +2 -0
  33. package/dist/src/e2ee/worker/e2ee.worker.d.ts.map +1 -0
  34. package/dist/src/index.d.ts +2 -0
  35. package/dist/src/index.d.ts.map +1 -1
  36. package/dist/src/logger.d.ts +4 -1
  37. package/dist/src/logger.d.ts.map +1 -1
  38. package/dist/src/options.d.ts +5 -0
  39. package/dist/src/options.d.ts.map +1 -1
  40. package/dist/src/proto/livekit_models.d.ts +2 -2
  41. package/dist/src/proto/livekit_models.d.ts.map +1 -1
  42. package/dist/src/room/PCTransport.d.ts +3 -1
  43. package/dist/src/room/PCTransport.d.ts.map +1 -1
  44. package/dist/src/room/RTCEngine.d.ts +17 -3
  45. package/dist/src/room/RTCEngine.d.ts.map +1 -1
  46. package/dist/src/room/Room.d.ts +10 -1
  47. package/dist/src/room/Room.d.ts.map +1 -1
  48. package/dist/src/room/events.d.ts +14 -2
  49. package/dist/src/room/events.d.ts.map +1 -1
  50. package/dist/src/room/participant/LocalParticipant.d.ts +9 -2
  51. package/dist/src/room/participant/LocalParticipant.d.ts.map +1 -1
  52. package/dist/src/room/participant/Participant.d.ts +1 -0
  53. package/dist/src/room/participant/Participant.d.ts.map +1 -1
  54. package/dist/src/room/track/LocalAudioTrack.d.ts.map +1 -1
  55. package/dist/src/room/track/LocalTrack.d.ts +3 -2
  56. package/dist/src/room/track/LocalTrack.d.ts.map +1 -1
  57. package/dist/src/room/track/LocalVideoTrack.d.ts.map +1 -1
  58. package/dist/src/room/track/RemoteVideoTrack.d.ts.map +1 -1
  59. package/dist/src/room/track/TrackPublication.d.ts +3 -0
  60. package/dist/src/room/track/TrackPublication.d.ts.map +1 -1
  61. package/dist/src/room/track/facingMode.d.ts +41 -0
  62. package/dist/src/room/track/facingMode.d.ts.map +1 -0
  63. package/dist/src/room/track/options.d.ts +2 -2
  64. package/dist/src/room/track/options.d.ts.map +1 -1
  65. package/dist/src/room/track/utils.d.ts +5 -35
  66. package/dist/src/room/track/utils.d.ts.map +1 -1
  67. package/dist/src/room/utils.d.ts +2 -0
  68. package/dist/src/room/utils.d.ts.map +1 -1
  69. package/dist/src/test/MockMediaStreamTrack.d.ts.map +1 -1
  70. package/dist/ts4.2/src/api/SignalClient.d.ts +4 -1
  71. package/dist/ts4.2/src/e2ee/E2eeManager.d.ts +45 -0
  72. package/dist/ts4.2/src/e2ee/KeyProvider.d.ts +42 -0
  73. package/dist/ts4.2/src/e2ee/constants.d.ts +14 -0
  74. package/dist/ts4.2/src/e2ee/errors.d.ts +11 -0
  75. package/dist/ts4.2/src/e2ee/index.d.ts +4 -0
  76. package/dist/ts4.2/src/e2ee/types.d.ts +129 -0
  77. package/dist/ts4.2/src/e2ee/utils.d.ts +24 -0
  78. package/dist/ts4.2/src/e2ee/worker/FrameCryptor.d.ts +175 -0
  79. package/dist/ts4.2/src/e2ee/worker/ParticipantKeyHandler.d.ts +46 -0
  80. package/dist/ts4.2/src/e2ee/worker/e2ee.worker.d.ts +2 -0
  81. package/dist/ts4.2/src/index.d.ts +2 -0
  82. package/dist/ts4.2/src/logger.d.ts +4 -1
  83. package/dist/ts4.2/src/options.d.ts +5 -0
  84. package/dist/ts4.2/src/proto/livekit_models.d.ts +2 -2
  85. package/dist/ts4.2/src/room/PCTransport.d.ts +3 -1
  86. package/dist/ts4.2/src/room/RTCEngine.d.ts +17 -3
  87. package/dist/ts4.2/src/room/Room.d.ts +10 -1
  88. package/dist/ts4.2/src/room/events.d.ts +14 -2
  89. package/dist/ts4.2/src/room/participant/LocalParticipant.d.ts +9 -2
  90. package/dist/ts4.2/src/room/participant/Participant.d.ts +1 -0
  91. package/dist/ts4.2/src/room/track/LocalTrack.d.ts +3 -2
  92. package/dist/ts4.2/src/room/track/TrackPublication.d.ts +3 -0
  93. package/dist/ts4.2/src/room/track/facingMode.d.ts +41 -0
  94. package/dist/ts4.2/src/room/track/options.d.ts +6 -6
  95. package/dist/ts4.2/src/room/track/utils.d.ts +5 -35
  96. package/dist/ts4.2/src/room/utils.d.ts +2 -0
  97. package/package.json +17 -7
  98. package/src/api/SignalClient.ts +28 -9
  99. package/src/connectionHelper/checks/turn.ts +1 -0
  100. package/src/connectionHelper/checks/websocket.ts +1 -0
  101. package/src/e2ee/E2eeManager.ts +374 -0
  102. package/src/e2ee/KeyProvider.ts +77 -0
  103. package/src/e2ee/constants.ts +40 -0
  104. package/src/e2ee/errors.ts +16 -0
  105. package/src/e2ee/index.ts +3 -0
  106. package/src/e2ee/types.ts +160 -0
  107. package/src/e2ee/utils.ts +127 -0
  108. package/src/e2ee/worker/FrameCryptor.test.ts +21 -0
  109. package/src/e2ee/worker/FrameCryptor.ts +614 -0
  110. package/src/e2ee/worker/ParticipantKeyHandler.ts +129 -0
  111. package/src/e2ee/worker/e2ee.worker.ts +217 -0
  112. package/src/e2ee/worker/tsconfig.json +6 -0
  113. package/src/index.ts +2 -0
  114. package/src/logger.ts +10 -2
  115. package/src/options.ts +6 -0
  116. package/src/proto/livekit_models.ts +12 -12
  117. package/src/room/PCTransport.ts +39 -9
  118. package/src/room/RTCEngine.ts +127 -34
  119. package/src/room/Room.ts +83 -30
  120. package/src/room/defaults.ts +1 -1
  121. package/src/room/events.ts +14 -0
  122. package/src/room/participant/LocalParticipant.ts +82 -10
  123. package/src/room/participant/Participant.ts +4 -0
  124. package/src/room/track/LocalAudioTrack.ts +11 -4
  125. package/src/room/track/LocalTrack.ts +50 -43
  126. package/src/room/track/LocalVideoTrack.ts +5 -3
  127. package/src/room/track/RemoteVideoTrack.ts +2 -2
  128. package/src/room/track/TrackPublication.ts +9 -1
  129. package/src/room/track/facingMode.test.ts +30 -0
  130. package/src/room/track/facingMode.ts +103 -0
  131. package/src/room/track/options.ts +3 -2
  132. package/src/room/track/utils.test.ts +1 -30
  133. package/src/room/track/utils.ts +16 -91
  134. package/src/room/utils.ts +5 -0
  135. package/src/room/worker.d.ts +4 -0
  136. package/src/test/MockMediaStreamTrack.ts +1 -0
@@ -1,3 +1,4 @@
1
+ import * as log from 'loglevel';
1
2
  export declare enum LogLevel {
2
3
  trace = 0,
3
4
  debug = 1,
@@ -13,14 +14,16 @@ type StructuredLogger = {
13
14
  info: (msg: string, context?: object) => void;
14
15
  warn: (msg: string, context?: object) => void;
15
16
  error: (msg: string, context?: object) => void;
17
+ setDefaultLevel: (level: log.LogLevelDesc) => void;
16
18
  };
17
19
  declare const _default: StructuredLogger;
18
20
  export default _default;
19
- export declare function setLogLevel(level: LogLevel | LogLevelString): void;
21
+ export declare function setLogLevel(level: LogLevel | LogLevelString, loggerName?: 'livekit' | 'lk-e2ee'): void;
20
22
  export type LogExtension = (level: LogLevel, msg: string, context?: object) => void;
21
23
  /**
22
24
  * use this to hook into the logging function to allow sending internal livekit logs to third party services
23
25
  * if set, the browser logs will lose their stacktrace information (see https://github.com/pimterry/loglevel#writing-plugins)
24
26
  */
25
27
  export declare function setLogExtension(extension: LogExtension): void;
28
+ export declare const workerLogger: StructuredLogger;
26
29
  //# sourceMappingURL=logger.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../src/logger.ts"],"names":[],"mappings":"AAEA,oBAAY,QAAQ;IAClB,KAAK,IAAI;IACT,KAAK,IAAI;IACT,IAAI,IAAI;IACR,IAAI,IAAI;IACR,KAAK,IAAI;IACT,MAAM,IAAI;CACX;AAED,KAAK,cAAc,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE5C,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC/C,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,IAAI,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,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AAMF,wBAAiD;AAEjD,wBAAgB,WAAW,CAAC,KAAK,EAAE,QAAQ,GAAG,cAAc,EAAE,UAAU,CAAC,EAAE,SAAS,GAAG,SAAS,QAO/F;AAED,MAAM,MAAM,YAAY,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;AAEpF;;;GAGG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAAE,YAAY,QAkBtD;AAED,eAAO,MAAM,YAAY,kBAA+C,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { E2EEOptions } from './e2ee/types';
1
2
  import type { ReconnectPolicy } from './room/ReconnectPolicy';
2
3
  import type { AudioCaptureOptions, AudioOutputOptions, TrackPublishDefaults, VideoCaptureOptions } from './room/track/options';
3
4
  import type { AdaptiveStreamSettings } from './room/track/types';
@@ -65,6 +66,10 @@ export interface InternalRoomOptions {
65
66
  * experimental flag, mix all audio tracks in web audio
66
67
  */
67
68
  expWebAudioMix: boolean | WebAudioSettings;
69
+ /**
70
+ * @experimental
71
+ */
72
+ e2ee?: E2EEOptions;
68
73
  }
69
74
  /**
70
75
  * Options for when creating a new room
@@ -1 +1 @@
1
- {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../src/options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAEjE,MAAM,WAAW,gBAAgB;IAC/B,YAAY,EAAE,YAAY,CAAC;CAC5B;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;;;;OAQG;IACH,cAAc,EAAE,sBAAsB,GAAG,OAAO,CAAC;IAEjD;;;;OAIG;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7 @@ export declare enum DisconnectReason {
75
75
  export declare function disconnectReasonFromJSON(object: any): DisconnectReason;
76
76
  export declare function disconnectReasonToJSON(object: DisconnectReason): string;
77
77
  export declare enum ReconnectReason {
78
- RR_UNKOWN = 0,
78
+ RR_UNKNOWN = 0,
79
79
  RR_SIGNAL_DISCONNECTED = 1,
80
80
  RR_PUBLISHER_FAILED = 2,
81
81
  RR_SUBSCRIBER_FAILED = 3,
@@ -85,7 +85,7 @@ export declare enum ReconnectReason {
85
85
  export declare function reconnectReasonFromJSON(object: any): ReconnectReason;
86
86
  export declare function reconnectReasonToJSON(object: ReconnectReason): string;
87
87
  export declare enum SubscriptionError {
88
- SE_UNKOWN = 0,
88
+ SE_UNKNOWN = 0,
89
89
  SE_CODEC_UNSUPPORTED = 1,
90
90
  SE_TRACK_NOTFOUND = 2,
91
91
  UNRECOGNIZED = -1
@@ -1 +1 @@
1
- {"version":3,"file":"livekit_models.d.ts","sourceRoot":"","sources":["../../../src/proto/livekit_models.ts"],"names":[],"mappings":"AAEA,OAAO,GAAG,MAAM,oBAAoB,CAAC;AAGrC,eAAO,MAAM,eAAe,YAAY,CAAC;AAEzC,oBAAY,UAAU;IACpB,UAAU,IAAI;IACd,IAAI,IAAI;IACR,GAAG,IAAI;IACP,YAAY,KAAK;CAClB;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,GAAG,GAAG,UAAU,CAgB1D;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAY3D;AAED,oBAAY,UAAU;IACpB,UAAU,IAAI;IACd,aAAa,IAAI;IACjB,SAAS,IAAI;IACb,SAAS,IAAI;IACb,GAAG,IAAI;IACP,YAAY,KAAK;CAClB;AAED,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,GAAG,GAAG,UAAU,CAsB1D;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAgB3D;AAED,oBAAY,SAAS;IACnB,KAAK,IAAI;I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AC,GAAG;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GAAG;KAAG,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,GAAG,KAAK;CAAE,CAAC"}
@@ -9,10 +9,12 @@ interface TrackBitrateInfo {
9
9
  export declare const PCEvents: {
10
10
  readonly NegotiationStarted: "negotiationStarted";
11
11
  readonly NegotiationComplete: "negotiationComplete";
12
+ readonly RTPVideoPayloadTypes: "rtpVideoPayloadTypes";
12
13
  };
13
14
  /** @internal */
14
15
  export default class PCTransport extends EventEmitter {
15
- pc: RTCPeerConnection;
16
+ private _pc;
17
+ get pc(): RTCPeerConnection;
16
18
  pendingCandidates: RTCIceCandidateInit[];
17
19
  restartingIce: boolean;
18
20
  renegotiate: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"PCTransport.d.ts","sourceRoot":"","sources":["../../../src/room/PCTransport.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AAQzC,gBAAgB;AAChB,UAAU,gBAAgB;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAUD,eAAO,MAAM,QAAQ;;;CAGX,CAAC;AAEX,gBAAgB;AAChB,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,YAAY;IACnD,EAAE,EAAE,iBAAiB,CAAC;IAEtB,iBAAiB,EAAE,mBAAmB,EAAE,CAAM;IAE9C,aAAa,EAAE,OAAO,CAAS;IAE/B,WAAW,EAAE,OAAO,CAAS;IAE7B,aAAa,EAAE,gBAAgB,EAAE,CAAM;IAEvC,gBAAgB,EAAE,MAAM,EAAE,CAAM;IAEhC,cAAc,EAAE,MAAM,EAAE,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,CAAM;IAE9B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;gBAEzC,MAAM,CAAC,EAAE,gBAAgB,EAAE,gBAAgB,GAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAM;IAQrF,IAAI,cAAc,IAAI,OAAO,CAK5B;IAEK,eAAe,CAAC,SAAS,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;IAO9D,oBAAoB,CAAC,EAAE,EAAE,yBAAyB,GAAG,OAAO,CAAC,IAAI,CAAC;IAoFxE,SAAS;iDAA2B,KAAK,KAAK,IAAI;;MAW1C;IAEF,kBAAkB,CAAC,OAAO,CAAC,EAAE,eAAe;IAwF5C,kBAAkB,IAAI,OAAO,CAAC,yBAAyB,CAAC;IAY9D,oBAAoB,CAAC,IAAI,EAAE,gBAAgB;IAI3C,KAAK;YAmBS,YAAY;CAsC3B"}
@@ -2,13 +2,14 @@ import EventEmitter from 'eventemitter3';
2
2
  import { SignalClient } from '../api/SignalClient';
3
3
  import type { SignalOptions } from '../api/SignalClient';
4
4
  import type { InternalRoomOptions } from '../options';
5
- import { DataPacket, DataPacket_Kind, DisconnectReason, SpeakerInfo, TrackInfo, UserPacket } from '../proto/livekit_models';
6
- import { AddTrackRequest, JoinResponse } from '../proto/livekit_rtc';
5
+ import { DataPacket, DataPacket_Kind, DisconnectReason, ParticipantInfo, Room as RoomModel, SpeakerInfo, TrackInfo, UserPacket } from '../proto/livekit_models';
6
+ import { AddTrackRequest, ConnectionQualityUpdate, JoinResponse, StreamStateUpdate, SubscriptionPermissionUpdate, SubscriptionResponse } from '../proto/livekit_rtc';
7
7
  import PCTransport from './PCTransport';
8
8
  import type LocalTrack from './track/LocalTrack';
9
9
  import type LocalVideoTrack from './track/LocalVideoTrack';
10
10
  import type { SimulcastTrackInfo } from './track/LocalVideoTrack';
11
- import type { TrackPublishOptions } from './track/options';
11
+ import { Track } from './track/Track';
12
+ import type { TrackPublishOptions, VideoCodec } from './track/options';
12
13
  /** @internal */
13
14
  export default class RTCEngine extends EventEmitter<EngineEventCallbacks> {
14
15
  private options;
@@ -55,6 +56,8 @@ export default class RTCEngine extends EventEmitter<EngineEventCallbacks> {
55
56
  constructor(options: InternalRoomOptions);
56
57
  join(url: string, token: string, opts: SignalOptions, abortSignal?: AbortSignal): Promise<JoinResponse>;
57
58
  close(): Promise<void>;
59
+ cleanupPeerConnections(): Promise<void>;
60
+ cleanupClient(): Promise<void>;
58
61
  addTrack(req: AddTrackRequest): Promise<TrackInfo>;
59
62
  /**
60
63
  * Removes sender from PeerConnection, returning true if it was removed successfully
@@ -67,6 +70,7 @@ export default class RTCEngine extends EventEmitter<EngineEventCallbacks> {
67
70
  get dataSubscriberReadyState(): string | undefined;
68
71
  getConnectedServerAddress(): Promise<string | undefined>;
69
72
  private configure;
73
+ private setupSignalClientCallbacks;
70
74
  private makeRTCConfiguration;
71
75
  private createDataChannels;
72
76
  private handleDataChannel;
@@ -120,6 +124,16 @@ export type EngineEventCallbacks = {
120
124
  activeSpeakersUpdate: (speakers: Array<SpeakerInfo>) => void;
121
125
  dataPacketReceived: (userPacket: UserPacket, kind: DataPacket_Kind) => void;
122
126
  transportsCreated: (publisher: PCTransport, subscriber: PCTransport) => void;
127
+ /** @internal */
128
+ trackSenderAdded: (track: Track, sender: RTCRtpSender) => void;
129
+ rtpVideoMapUpdate: (rtpMap: Map<number, VideoCodec>) => void;
123
130
  dcBufferStatusChanged: (isLow: boolean, kind: DataPacket_Kind) => void;
131
+ participantUpdate: (infos: ParticipantInfo[]) => void;
132
+ roomUpdate: (room: RoomModel) => void;
133
+ connectionQualityUpdate: (update: ConnectionQualityUpdate) => void;
134
+ speakersChanged: (speakerUpdates: SpeakerInfo[]) => void;
135
+ streamStateChanged: (update: StreamStateUpdate) => void;
136
+ subscriptionError: (resp: SubscriptionResponse) => void;
137
+ subscriptionPermissionUpdate: (update: SubscriptionPermissionUpdate) => void;
124
138
  };
125
139
  //# sourceMappingURL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I,CAAC;IAC/D,iBAAiB,EAAE,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IAC7D,qBAAqB,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IACvE,iBAAiB,EAAE,CAAC,KAAK,EAAE,eAAe,EAAE,KAAK,IAAI,CAAC;IACtD,UAAU,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACtC,uBAAuB,EAAE,CAAC,MAAM,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACnE,eAAe,EAAE,CAAC,cAAc,EAAE,WAAW,EAAE,KAAK,IAAI,CAAC;IACzD,kBAAkB,EAAE,CAAC,MAAM,EAAE,iBAAiB,KAAK,IAAI,CAAC;IACxD,iBAAiB,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAC;IACxD,4BAA4B,EAAE,CAAC,MAAM,EAAE,4BAA4B,KAAK,IAAI,CAAC;CAC9E,CAAC"}
@@ -44,6 +44,8 @@ declare class Room extends EventEmitter<RoomEventCallbacks> {
44
44
  localParticipant: LocalParticipant;
45
45
  /** options of room */
46
46
  options: InternalRoomOptions;
47
+ /** reflects the sender encryption status of the local participant */
48
+ isE2EEEnabled: boolean;
47
49
  private roomInfo?;
48
50
  private identityToSid;
49
51
  /** connect options of room */
@@ -55,14 +57,19 @@ declare class Room extends EventEmitter<RoomEventCallbacks> {
55
57
  /** future holding client initiated connection attempt */
56
58
  private connectFuture?;
57
59
  private disconnectLock;
60
+ private e2eeManager;
58
61
  private cachedParticipantSids;
59
62
  private connectionReconcileInterval?;
60
- private activeDeviceMap;
61
63
  /**
62
64
  * Creates a new Room, the primary construct for a LiveKit session.
63
65
  * @param options
64
66
  */
65
67
  constructor(options?: RoomOptions);
68
+ /**
69
+ * @experimental
70
+ */
71
+ setE2EEEnabled(enabled: boolean): Promise<void>;
72
+ private setupE2EE;
66
73
  /**
67
74
  * if the current room has a participant with `recorder: true` in its JWT grant
68
75
  **/
@@ -229,6 +236,8 @@ export type RoomEventCallbacks = {
229
236
  audioPlaybackChanged: (playing: boolean) => void;
230
237
  signalConnected: () => void;
231
238
  recordingStatusChanged: (recording: boolean) => void;
239
+ participantEncryptionStatusChanged: (encrypted: boolean, participant?: Participant) => void;
240
+ encryptionError: (error: Error) => void;
232
241
  dcBufferStatusChanged: (isLow: boolean, kind: DataPacket_Kind) => void;
233
242
  activeDeviceChanged: (kind: MediaDeviceKind, deviceId: string) => void;
234
243
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Room.d.ts","sourceRoot":"","sources":["../../../src/room/Room.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AACzC,OAAO,gBAAgB,CAAC;AAGxB,OAAO,KAAK,EAEV,mBAAmB,EACnB,kBAAkB,EAClB,WAAW,EACZ,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,eAAe,EACf,gBAAgB,EAGhB,qBAAqB,EAIrB,iBAAiB,EAKlB,MAAM,yBAAyB,CAAC;AAUjC,OAAO,SAAS,MAAM,aAAa,CAAC;AAWpC,OAAO,gBAAgB,MAAM,gCAAgC,CAAC;AAC9D,OAAO,KAAK,WAAW,MAAM,2BAA2B,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,iBAAiB,MAAM,iCAAiC,CAAC;AAGhE,OAAO,qBAAqB,MAAM,+BAA+B,CAAC;AAElE,OAAO,KAAK,WAAW,MAAM,qBAAqB,CAAC;AACnD,OAAO,sBAAsB,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAGjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAcrE,oBAAY,eAAe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AAC;IAC1C,uBAAuB,EAAE,CACvB,WAAW,EAAE,sBAAsB,EACnC,WAAW,EAAE,KAAK,CAAC,WAAW,EAC9B,WAAW,EAAE,iBAAiB,KAC3B,IAAI,CAAC;IACV,kCAAkC,EAAE,CAClC,WAAW,EAAE,sBAAsB,EACnC,MAAM,EAAE,gBAAgB,CAAC,gBAAgB,EACzC,WAAW,EAAE,iBAAiB,KAC3B,IAAI,CAAC;IACV,8BAA8B,EAAE,CAC9B,WAAW,EAAE,sBAAsB,EACnC,MAAM,EAAE,gBAAgB,CAAC,kBAAkB,EAC3C,WAAW,EAAE,iBAAiB,KAC3B,IAAI,CAAC;IACV,oBAAoB,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IACjD,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,sBAAsB,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;IACrD,kCAAkC,EAAE,CAAC,SAAS,EAAE,OAAO,EAAE,WAAW,CAAC,EAAE,WAAW,KAAK,IAAI,CAAC;IAC5F,eAAe,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACxC,qBAAqB,EAAE,CAAC,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,eAAe,KAAK,IAAI,CAAC;IACvE,mBAAmB,EAAE,CAAC,IAAI,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACxE,CAAC"}
@@ -239,6 +239,8 @@ export declare enum RoomEvent {
239
239
  * args: (isRecording: boolean)
240
240
  */
241
241
  RecordingStatusChanged = "recordingStatusChanged",
242
+ ParticipantEncryptionStatusChanged = "participantEncryptionStatusChanged",
243
+ EncryptionError = "encryptionError",
242
244
  /**
243
245
  * Emits whenever the current buffer status of a data channel changes
244
246
  * args: (isLow: boolean, kind: [[DataPacket_Kind]])
@@ -387,7 +389,9 @@ export declare enum ParticipantEvent {
387
389
  * A participant's permission has changed. Currently only fired on LocalParticipant.
388
390
  * args: (prevPermissions: [[ParticipantPermission]])
389
391
  */
390
- ParticipantPermissionsChanged = "participantPermissionsChanged"
392
+ ParticipantPermissionsChanged = "participantPermissionsChanged",
393
+ /** @internal */
394
+ PCTrackAdded = "pcTrackAdded"
391
395
  }
392
396
  /** @internal */
393
397
  export declare enum EngineEvent {
@@ -404,7 +408,15 @@ export declare enum EngineEvent {
404
408
  MediaTrackAdded = "mediaTrackAdded",
405
409
  ActiveSpeakersUpdate = "activeSpeakersUpdate",
406
410
  DataPacketReceived = "dataPacketReceived",
407
- DCBufferStatusChanged = "dcBufferStatusChanged"
411
+ RTPVideoMapUpdate = "rtpVideoMapUpdate",
412
+ DCBufferStatusChanged = "dcBufferStatusChanged",
413
+ ParticipantUpdate = "participantUpdate",
414
+ RoomUpdate = "roomUpdate",
415
+ SpeakersChanged = "speakersChanged",
416
+ StreamStateChanged = "streamStateChanged",
417
+ ConnectionQualityUpdate = "connectionQualityUpdate",
418
+ SubscriptionError = "subscriptionError",
419
+ SubscriptionPermissionUpdate = "subscriptionPermissionUpdate"
408
420
  }
409
421
  export declare enum TrackEvent {
410
422
  Message = "message",
@@ -1 +1 @@
1
- {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/room/events.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,oBAAY,SAAS;IACnB;;OAEG;IACH,SAAS,cAAc;IAEvB;;;OAGG;IACH,YAAY,iBAAiB;IAE7B;;OAEG;IACH,WAAW,gBAAgB;IAE3B;;;OAGG;IACH,YAAY,iBAAiB;IAE7B;;;;OAIG;IACH,sBAAsB,2BAA2B;IAEjD;;OAEG;IACH,YAAY,2BAA2B;IAEvC;;OAEG;IACH,mBAAmB,wBAAwB;IAE3C;;;;;;OAMG;IACH,oBAAoB,yBAAyB;IAE7C;;;;;OAKG;IACH,uBAAuB,4BAA4B;IAEnD;;;;;;;;OAQG;IACH,cAAc,mBAAmB;IAEjC;;;;;OAKG;IACH,eAAe,oBAAoB;IAE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,8BAA8B;IACvD;;OAEG;IACH,kBAAkB,uBAAuB;CAC1C"}
@@ -1,5 +1,5 @@
1
1
  import type { InternalRoomOptions } from '../../options';
2
- import { DataPacket_Kind, ParticipantInfo } from '../../proto/livekit_models';
2
+ import { DataPacket_Kind, ParticipantInfo, ParticipantPermission } from '../../proto/livekit_models';
3
3
  import { DataChannelInfo, TrackPublishedResponse } from '../../proto/livekit_rtc';
4
4
  import type RTCEngine from '../RTCEngine';
5
5
  import LocalTrack from '../track/LocalTrack';
@@ -17,6 +17,8 @@ export default class LocalParticipant extends Participant {
17
17
  tracks: Map<string, LocalTrackPublication>;
18
18
  /** @internal */
19
19
  engine: RTCEngine;
20
+ /** @internal */
21
+ activeDeviceMap: Map<MediaDeviceKind, string>;
20
22
  private pendingPublishing;
21
23
  private pendingPublishPromises;
22
24
  private cameraError;
@@ -24,6 +26,7 @@ export default class LocalParticipant extends Participant {
24
26
  private participantTrackPermissions;
25
27
  private allParticipantsAllowedToSubscribe;
26
28
  private roomOptions;
29
+ private encryptionType;
27
30
  private reconnectFuture?;
28
31
  /** @internal */
29
32
  constructor(sid: string, identity: string, engine: RTCEngine, options: InternalRoomOptions);
@@ -69,6 +72,10 @@ export default class LocalParticipant extends Participant {
69
72
  * Resolves with a `LocalTrackPublication` instance if successful and `undefined` otherwise
70
73
  */
71
74
  setScreenShareEnabled(enabled: boolean, options?: ScreenShareCaptureOptions, publishOptions?: TrackPublishOptions): Promise<LocalTrackPublication | undefined>;
75
+ /** @internal */
76
+ setPermissions(permissions: ParticipantPermission): boolean;
77
+ /** @internal */
78
+ setE2EEEnabled(enabled: boolean): Promise<void>;
72
79
  /**
73
80
  * Enable or disable publishing for a track by source. This serves as a simple
74
81
  * way to manage the common tracks (camera, mic, or screen share).
@@ -106,7 +113,7 @@ export default class LocalParticipant extends Participant {
106
113
  publishAdditionalCodecForTrack(track: LocalTrack | MediaStreamTrack, videoCodec: BackupVideoCodec, options?: TrackPublishOptions): Promise<void>;
107
114
  unpublishTrack(track: LocalTrack | MediaStreamTrack, stopOnUnpublish?: boolean): Promise<LocalTrackPublication | undefined>;
108
115
  unpublishTracks(tracks: LocalTrack[] | MediaStreamTrack[]): Promise<LocalTrackPublication[]>;
109
- republishAllTracks(options?: TrackPublishOptions): Promise<void>;
116
+ republishAllTracks(options?: TrackPublishOptions, restartTracks?: boolean): Promise<void>;
110
117
  /**
111
118
  * Publish a new data payload to the room. Data will be forwarded to each
112
119
  * participant in the room if the destination field in publishOptions is empty
@@ -1 +1 @@
1
- {"version":3,"file":"LocalParticipant.d.ts","sourceRoot":"","sources":["../../../../src/room/participant/LocalParticipant.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAc,eAAe,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAC1F,OAAO,EAEL,eAAe,EAGf,sBAAsB,EAEvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,cAAc,CAAC;AAI1C,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,qBAAqB,MAAM,gCAAgC,CAAC;AAEnE,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,EACV,mBAAmB,EACnB,gBAAgB,EAChB,wBAAwB,EACxB,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACpB,MAAM,kBAAkB,CAAC;AAG1B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,OAAO,WAAW,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,iBAAiB,MAAM,qBAAqB,CAAC;AAOpD,MAAM,CAAC,OAAO,OAAO,gBAAiB,SAAQ,WAAW;IACvD,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IAEhD,WAAW,EAAE,GA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CACf,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,eAAe,EACrB,cAAc,CAAC,EAAE,kBAAkB,GAClC,OAAO,CAAC,IAAI,CAAC;IAChB;;;;;;;;;;OAUG;IACG,WAAW,CACf,IAAI,EAAE,UAAU,EAChB,IAAI,EAAE,eAAe,EACrB,WAAW,CAAC,EAAE,iBAAiB,EAAE,GAAG,MAAM,EAAE,GAC3C,OAAO,CAAC,IAAI,CAAC;IAwChB;;;;;;;;;;;;;;;;OAgBG;IACH,+BAA+B,CAC7B,sBAAsB,EAAE,OAAO,EAC/B,2BAA2B,GAAE,0BAA0B,EAAO;IAShE,gBAAgB;IAChB,UAAU,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO;IA8B1C,OAAO,CAAC,kCAAkC,CASxC;IAEF,gBAAgB;IAChB,OAAO,CAAC,cAAc,CAEpB;IAGF,gBAAgB;IAChB,OAAO,CAAC,YAAY,CAWlB;IAEF,OAAO,CAAC,qBAAqB,CAG3B;IAEF,OAAO,CAAC,sBAAsB,CAG5B;IAEF,OAAO,CAAC,6BAA6B,CA0BnC;IAEF,OAAO,CAAC,2BAA2B,CAUjC;IAEF,OAAO,CAAC,gBAAgB,CA+CtB;IAEF,OAAO,CAAC,sBAAsB;IAwB9B,gBAAgB;IAChB,mBAAmB,IAAI,sBAAsB,EAAE;IAa/C,gBAAgB;IAChB,gBAAgB,IAAI,eAAe,EAAE;CAoBtC"}
1
+ {"version":3,"file":"LocalParticipant.d.ts","sourceRoot":"","sources":["../../../../src/room/participant/LocalParticipant.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAEL,eAAe,EAEf,eAAe,EACf,qBAAqB,EACtB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEL,eAAe,EAGf,sBAAsB,EAEvB,MAAM,yBAAyB,CAAC;AACjC,OAAO,KAAK,SAAS,MAAM,cAAc,CAAC;AAI1C,OAAO,UAAU,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B,UAAU,CAAC,IAAI,EAAE,eAAe,GAAG,OAAO;IA8B1C,OAAO,CAAC,kCAAkC,CASxC;IAEF,gBAAgB;IAChB,OAAO,CAAC,cAAc,CAEpB;IAGF,gBAAgB;IAChB,OAAO,CAAC,YAAY,CAWlB;IAEF,OAAO,CAAC,qBAAqB,CAG3B;IAEF,OAAO,CAAC,sBAAsB,CAG5B;IAEF,OAAO,CAAC,6BAA6B,CA0BnC;IAEF,OAAO,CAAC,2BAA2B,CAUjC;IAEF,OAAO,CAAC,gBAAgB,CA+CtB;IAEF,OAAO,CAAC,sBAAsB;IAwB9B,gBAAgB;IAChB,mBAAmB,IAAI,sBAAsB,EAAE;IAa/C,gBAAgB;IAChB,gBAAgB,IAAI,eAAe,EAAE;CAoBtC"}
@@ -32,6 +32,7 @@ export default class Participant extends EventEmitter<ParticipantEventCallbacks>
32
32
  lastSpokeAt?: Date | undefined;
33
33
  permissions?: ParticipantPermission;
34
34
  private _connectionQuality;
35
+ get isEncrypted(): boolean;
35
36
  /** @internal */
36
37
  constructor(sid: string, identity: string, name?: string, metadata?: string);
37
38
  getTracks(): TrackPublication[];
@@ -1 +1 @@
1
- {"version":3,"file":"Participant.d.ts","sourceRoot":"","sources":["../../../../src/room/participant/Participant.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AAEzC,OAAO,EACL,eAAe,EACf,eAAe,EACf,qBAAqB,EACrB,iBAAiB,IAAI,YAAY,EACjC,iBAAiB,EAClB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,KAAK,qBAAqB,MAAM,gCAAgC,CAAC;AACxE,OAAO,KAAK,WAAW,MAAM,sBAAsB,CAAC;AACpD,OAAO,KAAK,sBAAsB,MAAM,iCAAiC,CAAC;AAC1E,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,oBAAY,iBAAiB;IAC3B,SAAS,c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OAAO,CAAC;IAa3D,IAAI,IAAI,OAAO,CAAC,eAAe,CAAC;IAgBhC,MAAM,IAAI,OAAO,CAAC,eAAe,CAAC;IAwBlC,YAAY,CAAC,OAAO,CAAC,EAAE,mBAAmB;cAWhC,OAAO,CAAC,WAAW,CAAC,EAAE,qBAAqB,GAAG,OAAO,CAAC,UAAU,CAAC;IAOjF,YAAY;IAYZ,SAAS,CAAC,aAAa,sBAmBrB;IAEI,cAAc,IAAI,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;IAyBvD,eAAe;CAUtB"}
@@ -7,14 +7,15 @@ export default abstract class LocalTrack extends Track {
7
7
  sender?: RTCRtpSender;
8
8
  /** @internal */
9
9
  codec?: VideoCodec;
10
- protected constraints: MediaTrackConstraints;
10
+ get constraints(): MediaTrackConstraints;
11
+ protected _constraints: MediaTrackConstraints;
11
12
  protected reacquireTrack: boolean;
12
13
  protected providedByUser: boolean;
13
14
  protected muteLock: Mutex;
14
15
  protected pauseUpstreamLock: Mutex;
15
16
  protected processorElement?: HTMLMediaElement;
16
17
  protected processor?: TrackProcessor<typeof this.kind>;
17
- protected isSettingUpProcessor: boolean;
18
+ protected processorLock: Mutex;
18
19
  /**
19
20
  *
20
21
  * @param mediaTrack
@@ -1 +1 @@
1
- {"version":3,"file":"LocalTrack.d.ts","sourceRoot":"","sources":["../../../../src/room/track/LocalTrack.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAoC,MAAM,UAAU,CAAC;AACnE,OAAO,EAAE,KAAK,EAAgC,MAAM,SAAS,CAAC;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAIxD,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,UAAW,SAAQ,KAAK;IACpD,gBAAgB;IAChB,MAAM,CAAC,EAAE,YAAY,CAAC;IAEtB,gBAAgB;IAChB,KAAK,CAAC,EA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AAa,IAAI,IAAI,CAAC;CACvB"}
@@ -1,4 +1,5 @@
1
1
  import EventEmitter from 'eventemitter3';
2
+ import { Encryption_Type } from '../../proto/livekit_models';
2
3
  import type { SubscriptionError, TrackInfo } from '../../proto/livekit_models';
3
4
  import type { UpdateSubscription, UpdateTrackSettings } from '../../proto/livekit_rtc';
4
5
  import LocalAudioTrack from './LocalAudioTrack';
@@ -22,12 +23,14 @@ export declare class TrackPublication extends EventEmitter<PublicationEventCallb
22
23
  /** @internal */
23
24
  trackInfo?: TrackInfo;
24
25
  protected metadataMuted: boolean;
26
+ protected encryption: Encryption_Type;
25
27
  constructor(kind: Track.Kind, id: string, name: string);
26
28
  /** @internal */
27
29
  setTrack(track?: Track): void;
28
30
  get isMuted(): boolean;
29
31
  get isEnabled(): boolean;
30
32
  get isSubscribed(): boolean;
33
+ get isEncrypted(): boolean;
31
34
  /**
32
35
  * an [AudioTrack] if this publication holds an audio track
33
36
  */
@@ -1 +1 @@
1
- {"version":3,"file":"TrackPublication.d.ts","sourceRoot":"","sources":["../../../../src/room/track/TrackPublication.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,eAAe,CAAC;AAEzC,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAC/E,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEvF,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,eAAe,MAAM,mBAAmB,CAAC;AAChD,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,gBAAgB,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,qBAAa,gBAAiB,SAAQ,YAAY,CAAC,yBAAyB,CAAC;IAC3E,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC;IAEjB,SAA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