mediasoup 3.14.2 → 3.14.4

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 (92) hide show
  1. package/node/lib/fbs/data-consumer/binary.d.ts +25 -0
  2. package/node/lib/fbs/data-consumer/binary.d.ts.map +1 -0
  3. package/node/lib/fbs/data-consumer/binary.js +77 -0
  4. package/node/lib/fbs/data-consumer/data.d.ts +10 -0
  5. package/node/lib/fbs/data-consumer/data.d.ts.map +1 -0
  6. package/node/lib/fbs/data-consumer/data.js +30 -0
  7. package/node/lib/fbs/data-consumer/string.d.ts +22 -0
  8. package/node/lib/fbs/data-consumer/string.d.ts.map +1 -0
  9. package/node/lib/fbs/data-consumer/string.js +59 -0
  10. package/node/lib/fbs/data-producer/binary.d.ts +25 -0
  11. package/node/lib/fbs/data-producer/binary.d.ts.map +1 -0
  12. package/node/lib/fbs/data-producer/binary.js +77 -0
  13. package/node/lib/fbs/data-producer/data.d.ts +10 -0
  14. package/node/lib/fbs/data-producer/data.d.ts.map +1 -0
  15. package/node/lib/fbs/data-producer/data.js +30 -0
  16. package/node/lib/fbs/data-producer/string.d.ts +22 -0
  17. package/node/lib/fbs/data-producer/string.d.ts.map +1 -0
  18. package/node/lib/fbs/data-producer/string.js +59 -0
  19. package/node/lib/fbs/message/type.d.ts +7 -0
  20. package/node/lib/fbs/message/type.d.ts.map +1 -0
  21. package/node/lib/fbs/message/type.js +11 -0
  22. package/node/lib/fbs/message-from-worker/body.d.ts +12 -0
  23. package/node/lib/fbs/message-from-worker/body.d.ts.map +1 -0
  24. package/node/lib/fbs/message-from-worker/body.js +34 -0
  25. package/node/lib/fbs/message-from-worker/message.d.ts +30 -0
  26. package/node/lib/fbs/message-from-worker/message.d.ts.map +1 -0
  27. package/node/lib/fbs/message-from-worker/message.js +89 -0
  28. package/node/lib/fbs/message-from-worker.d.ts +3 -0
  29. package/node/lib/fbs/message-from-worker.d.ts.map +1 -0
  30. package/node/lib/fbs/message-from-worker.js +9 -0
  31. package/node/lib/fbs/message-to-worker/body.d.ts +10 -0
  32. package/node/lib/fbs/message-to-worker/body.d.ts.map +1 -0
  33. package/node/lib/fbs/message-to-worker/body.js +30 -0
  34. package/node/lib/fbs/message-to-worker/message.d.ts +29 -0
  35. package/node/lib/fbs/message-to-worker/message.d.ts.map +1 -0
  36. package/node/lib/fbs/message-to-worker/message.js +89 -0
  37. package/node/lib/fbs/message-to-worker.d.ts +3 -0
  38. package/node/lib/fbs/message-to-worker.d.ts.map +1 -0
  39. package/node/lib/fbs/message-to-worker.js +9 -0
  40. package/node/lib/fbs/notification-from-worker/body.d.ts +44 -0
  41. package/node/lib/fbs/notification-from-worker/body.d.ts.map +1 -0
  42. package/node/lib/fbs/notification-from-worker/body.js +98 -0
  43. package/node/lib/fbs/notification-from-worker/event.d.ts +31 -0
  44. package/node/lib/fbs/notification-from-worker/event.d.ts.map +1 -0
  45. package/node/lib/fbs/notification-from-worker/event.js +35 -0
  46. package/node/lib/fbs/notification-from-worker/notification.d.ts +52 -0
  47. package/node/lib/fbs/notification-from-worker/notification.d.ts.map +1 -0
  48. package/node/lib/fbs/notification-from-worker/notification.js +107 -0
  49. package/node/lib/fbs/notification-from-worker.d.ts +4 -0
  50. package/node/lib/fbs/notification-from-worker.d.ts.map +1 -0
  51. package/node/lib/fbs/notification-from-worker.js +11 -0
  52. package/node/lib/fbs/notification-to-worker/body.d.ts +12 -0
  53. package/node/lib/fbs/notification-to-worker/body.d.ts.map +1 -0
  54. package/node/lib/fbs/notification-to-worker/body.js +34 -0
  55. package/node/lib/fbs/notification-to-worker/event.d.ts +6 -0
  56. package/node/lib/fbs/notification-to-worker/event.d.ts.map +1 -0
  57. package/node/lib/fbs/notification-to-worker/event.js +10 -0
  58. package/node/lib/fbs/notification-to-worker/notification.d.ts +36 -0
  59. package/node/lib/fbs/notification-to-worker/notification.d.ts.map +1 -0
  60. package/node/lib/fbs/notification-to-worker/notification.js +107 -0
  61. package/node/lib/fbs/notification-to-worker.d.ts +4 -0
  62. package/node/lib/fbs/notification-to-worker.d.ts.map +1 -0
  63. package/node/lib/fbs/notification-to-worker.js +11 -0
  64. package/node/lib/fbs/trace-events/fir-trace-info.d.ts +21 -0
  65. package/node/lib/fbs/trace-events/fir-trace-info.d.ts.map +1 -0
  66. package/node/lib/fbs/trace-events/fir-trace-info.js +57 -0
  67. package/node/lib/fbs/trace-events/key-frame-trace-info.d.ts +25 -0
  68. package/node/lib/fbs/trace-events/key-frame-trace-info.d.ts.map +1 -0
  69. package/node/lib/fbs/trace-events/key-frame-trace-info.js +71 -0
  70. package/node/lib/fbs/trace-events/pli-trace-info.d.ts +21 -0
  71. package/node/lib/fbs/trace-events/pli-trace-info.d.ts.map +1 -0
  72. package/node/lib/fbs/trace-events/pli-trace-info.js +57 -0
  73. package/node/lib/fbs/trace-events/rtp-trace-info.d.ts +25 -0
  74. package/node/lib/fbs/trace-events/rtp-trace-info.d.ts.map +1 -0
  75. package/node/lib/fbs/trace-events/rtp-trace-info.js +71 -0
  76. package/node/lib/fbs/trace-events/trace-event-type.d.ts +8 -0
  77. package/node/lib/fbs/trace-events/trace-event-type.d.ts.map +1 -0
  78. package/node/lib/fbs/trace-events/trace-event-type.js +12 -0
  79. package/node/lib/fbs/trace-events/trace-info.d.ts +14 -0
  80. package/node/lib/fbs/trace-events/trace-info.d.ts.map +1 -0
  81. package/node/lib/fbs/trace-events/trace-info.js +38 -0
  82. package/node/lib/fbs/trace-events.d.ts +7 -0
  83. package/node/lib/fbs/trace-events.d.ts.map +1 -0
  84. package/node/lib/fbs/trace-events.js +20 -0
  85. package/package.json +4 -4
  86. package/worker/src/RTC/RTCP/FeedbackRtpTransport.cpp +3 -1
  87. package/worker/src/RTC/RtpDictionaries/RtcpFeedback.cpp +5 -2
  88. package/worker/src/RTC/RtpRetransmissionBuffer.cpp +9 -10
  89. package/worker/src/RTC/RtpStreamRecv.cpp +2 -1
  90. package/worker/src/RTC/RtpStreamSend.cpp +2 -1
  91. package/worker/src/RTC/RtxStream.cpp +1 -1
  92. package/worker/src/RTC/TransportCongestionControlServer.cpp +2 -2
@@ -0,0 +1,25 @@
1
+ import * as flatbuffers from 'flatbuffers';
2
+ export declare class Binary implements flatbuffers.IUnpackableObject<BinaryT> {
3
+ bb: flatbuffers.ByteBuffer | null;
4
+ bb_pos: number;
5
+ __init(i: number, bb: flatbuffers.ByteBuffer): Binary;
6
+ static getRootAsBinary(bb: flatbuffers.ByteBuffer, obj?: Binary): Binary;
7
+ static getSizePrefixedRootAsBinary(bb: flatbuffers.ByteBuffer, obj?: Binary): Binary;
8
+ value(index: number): number | null;
9
+ valueLength(): number;
10
+ valueArray(): Uint8Array | null;
11
+ static startBinary(builder: flatbuffers.Builder): void;
12
+ static addValue(builder: flatbuffers.Builder, valueOffset: flatbuffers.Offset): void;
13
+ static createValueVector(builder: flatbuffers.Builder, data: number[] | Uint8Array): flatbuffers.Offset;
14
+ static startValueVector(builder: flatbuffers.Builder, numElems: number): void;
15
+ static endBinary(builder: flatbuffers.Builder): flatbuffers.Offset;
16
+ static createBinary(builder: flatbuffers.Builder, valueOffset: flatbuffers.Offset): flatbuffers.Offset;
17
+ unpack(): BinaryT;
18
+ unpackTo(_o: BinaryT): void;
19
+ }
20
+ export declare class BinaryT implements flatbuffers.IGeneratedObject {
21
+ value: (number)[];
22
+ constructor(value?: (number)[]);
23
+ pack(builder: flatbuffers.Builder): flatbuffers.Offset;
24
+ }
25
+ //# sourceMappingURL=binary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"binary.d.ts","sourceRoot":"","sources":["../../../src/fbs/data-consumer/binary.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,MAAO,YAAW,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC;IACnE,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,M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OAAO,GAAG,WAAW,CAAC,MAAM;CAOpD"}
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ // automatically generated by the FlatBuffers compiler, do not modify
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.BinaryT = exports.Binary = void 0;
5
+ const flatbuffers = require("flatbuffers");
6
+ class Binary {
7
+ bb = null;
8
+ bb_pos = 0;
9
+ __init(i, bb) {
10
+ this.bb_pos = i;
11
+ this.bb = bb;
12
+ return this;
13
+ }
14
+ static getRootAsBinary(bb, obj) {
15
+ return (obj || new Binary()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
16
+ }
17
+ static getSizePrefixedRootAsBinary(bb, obj) {
18
+ bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
19
+ return (obj || new Binary()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
20
+ }
21
+ value(index) {
22
+ const offset = this.bb.__offset(this.bb_pos, 4);
23
+ return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : 0;
24
+ }
25
+ valueLength() {
26
+ const offset = this.bb.__offset(this.bb_pos, 4);
27
+ return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
28
+ }
29
+ valueArray() {
30
+ const offset = this.bb.__offset(this.bb_pos, 4);
31
+ return offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null;
32
+ }
33
+ static startBinary(builder) {
34
+ builder.startObject(1);
35
+ }
36
+ static addValue(builder, valueOffset) {
37
+ builder.addFieldOffset(0, valueOffset, 0);
38
+ }
39
+ static createValueVector(builder, data) {
40
+ builder.startVector(1, data.length, 1);
41
+ for (let i = data.length - 1; i >= 0; i--) {
42
+ builder.addInt8(data[i]);
43
+ }
44
+ return builder.endVector();
45
+ }
46
+ static startValueVector(builder, numElems) {
47
+ builder.startVector(1, numElems, 1);
48
+ }
49
+ static endBinary(builder) {
50
+ const offset = builder.endObject();
51
+ builder.requiredField(offset, 4); // value
52
+ return offset;
53
+ }
54
+ static createBinary(builder, valueOffset) {
55
+ Binary.startBinary(builder);
56
+ Binary.addValue(builder, valueOffset);
57
+ return Binary.endBinary(builder);
58
+ }
59
+ unpack() {
60
+ return new BinaryT(this.bb.createScalarList(this.value.bind(this), this.valueLength()));
61
+ }
62
+ unpackTo(_o) {
63
+ _o.value = this.bb.createScalarList(this.value.bind(this), this.valueLength());
64
+ }
65
+ }
66
+ exports.Binary = Binary;
67
+ class BinaryT {
68
+ value;
69
+ constructor(value = []) {
70
+ this.value = value;
71
+ }
72
+ pack(builder) {
73
+ const value = Binary.createValueVector(builder, this.value);
74
+ return Binary.createBinary(builder, value);
75
+ }
76
+ }
77
+ exports.BinaryT = BinaryT;
@@ -0,0 +1,10 @@
1
+ import { Binary } from '../../fbs/data-consumer/binary';
2
+ import { String } from '../../fbs/data-consumer/string';
3
+ export declare enum Data {
4
+ NONE = 0,
5
+ String = 1,
6
+ Binary = 2
7
+ }
8
+ export declare function unionToData(type: Data, accessor: (obj: Binary | String) => Binary | String | null): Binary | String | null;
9
+ export declare function unionListToData(type: Data, accessor: (index: number, obj: Binary | String) => Binary | String | null, index: number): Binary | String | null;
10
+ //# sourceMappingURL=data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../src/fbs/data-consumer/data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAW,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,MAAM,EAAW,MAAM,gCAAgC,CAAC;AAGjE,oBAAY,IAAI;IACd,IAAI,IAAI;IACR,MAAM,IAAI;IACV,MAAM,IAAI;CACX;AAED,wBAAgB,WAAW,CACzB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,CAAC,GAAG,EAAC,MAAM,GAAC,MAAM,KAAK,MAAM,GAAC,MAAM,GAAC,IAAI,GAClD,MAAM,GAAC,MAAM,GAAC,IAAI,CAOpB;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAC,MAAM,GAAC,MAAM,KAAK,MAAM,GAAC,MAAM,GAAC,IAAI,EAClE,KAAK,EAAE,MAAM,GACZ,MAAM,GAAC,MAAM,GAAC,IAAI,CAOpB"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ // automatically generated by the FlatBuffers compiler, do not modify
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.unionListToData = exports.unionToData = exports.Data = void 0;
5
+ const binary_1 = require("../../fbs/data-consumer/binary");
6
+ const string_1 = require("../../fbs/data-consumer/string");
7
+ var Data;
8
+ (function (Data) {
9
+ Data[Data["NONE"] = 0] = "NONE";
10
+ Data[Data["String"] = 1] = "String";
11
+ Data[Data["Binary"] = 2] = "Binary";
12
+ })(Data || (exports.Data = Data = {}));
13
+ function unionToData(type, accessor) {
14
+ switch (Data[type]) {
15
+ case 'NONE': return null;
16
+ case 'String': return accessor(new string_1.String());
17
+ case 'Binary': return accessor(new binary_1.Binary());
18
+ default: return null;
19
+ }
20
+ }
21
+ exports.unionToData = unionToData;
22
+ function unionListToData(type, accessor, index) {
23
+ switch (Data[type]) {
24
+ case 'NONE': return null;
25
+ case 'String': return accessor(index, new string_1.String());
26
+ case 'Binary': return accessor(index, new binary_1.Binary());
27
+ default: return null;
28
+ }
29
+ }
30
+ exports.unionListToData = unionListToData;
@@ -0,0 +1,22 @@
1
+ import * as flatbuffers from 'flatbuffers';
2
+ export declare class String implements flatbuffers.IUnpackableObject<StringT> {
3
+ bb: flatbuffers.ByteBuffer | null;
4
+ bb_pos: number;
5
+ __init(i: number, bb: flatbuffers.ByteBuffer): String;
6
+ static getRootAsString(bb: flatbuffers.ByteBuffer, obj?: String): String;
7
+ static getSizePrefixedRootAsString(bb: flatbuffers.ByteBuffer, obj?: String): String;
8
+ value(): string | null;
9
+ value(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
10
+ static startString(builder: flatbuffers.Builder): void;
11
+ static addValue(builder: flatbuffers.Builder, valueOffset: flatbuffers.Offset): void;
12
+ static endString(builder: flatbuffers.Builder): flatbuffers.Offset;
13
+ static createString(builder: flatbuffers.Builder, valueOffset: flatbuffers.Offset): flatbuffers.Offset;
14
+ unpack(): StringT;
15
+ unpackTo(_o: StringT): void;
16
+ }
17
+ export declare class StringT implements flatbuffers.IGeneratedObject {
18
+ value: string | Uint8Array | null;
19
+ constructor(value?: string | Uint8Array | null);
20
+ pack(builder: flatbuffers.Builder): flatbuffers.Offset;
21
+ }
22
+ //# sourceMappingURL=string.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../src/fbs/data-consumer/string.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,MAAO,YAAW,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC;IACnE,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,MAAM;IAMpD,MAAM,CAAC,eAAe,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,MAAM,GAAE,MAAM;IAIrE,MAAM,CAAC,2BAA2B,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,MAAM,GAAE,MAAM;IAKjF,KAAK,IAAG,MAAM,GAAC,IAAI;IACnB,KAAK,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAMnE,MAAM,CAAC,WAAW,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAI9C,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,WAAW,EAAC,WAAW,CAAC,MAAM;IAI3E,MAAM,CAAC,SAAS,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAMhE,MAAM,CAAC,YAAY,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,WAAW,EAAC,WAAW,CAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAMnG,MAAM,IAAI,OAAO;IAOjB,QAAQ,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI;CAG1B;AAED,qBAAa,OAAQ,YAAW,WAAW,CAAC,gBAAgB;IAEnD,KAAK,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;gBAA7B,KAAK,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW;IAI7C,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAOpD"}
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ // automatically generated by the FlatBuffers compiler, do not modify
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.StringT = exports.String = void 0;
5
+ const flatbuffers = require("flatbuffers");
6
+ class String {
7
+ bb = null;
8
+ bb_pos = 0;
9
+ __init(i, bb) {
10
+ this.bb_pos = i;
11
+ this.bb = bb;
12
+ return this;
13
+ }
14
+ static getRootAsString(bb, obj) {
15
+ return (obj || new String()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
16
+ }
17
+ static getSizePrefixedRootAsString(bb, obj) {
18
+ bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
19
+ return (obj || new String()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
20
+ }
21
+ value(optionalEncoding) {
22
+ const offset = this.bb.__offset(this.bb_pos, 4);
23
+ return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
24
+ }
25
+ static startString(builder) {
26
+ builder.startObject(1);
27
+ }
28
+ static addValue(builder, valueOffset) {
29
+ builder.addFieldOffset(0, valueOffset, 0);
30
+ }
31
+ static endString(builder) {
32
+ const offset = builder.endObject();
33
+ builder.requiredField(offset, 4); // value
34
+ return offset;
35
+ }
36
+ static createString(builder, valueOffset) {
37
+ String.startString(builder);
38
+ String.addValue(builder, valueOffset);
39
+ return String.endString(builder);
40
+ }
41
+ unpack() {
42
+ return new StringT(this.value());
43
+ }
44
+ unpackTo(_o) {
45
+ _o.value = this.value();
46
+ }
47
+ }
48
+ exports.String = String;
49
+ class StringT {
50
+ value;
51
+ constructor(value = null) {
52
+ this.value = value;
53
+ }
54
+ pack(builder) {
55
+ const value = (this.value !== null ? builder.createString(this.value) : 0);
56
+ return String.createString(builder, value);
57
+ }
58
+ }
59
+ exports.StringT = StringT;
@@ -0,0 +1,25 @@
1
+ import * as flatbuffers from 'flatbuffers';
2
+ export declare class Binary implements flatbuffers.IUnpackableObject<BinaryT> {
3
+ bb: flatbuffers.ByteBuffer | null;
4
+ bb_pos: number;
5
+ __init(i: number, bb: flatbuffers.ByteBuffer): Binary;
6
+ static getRootAsBinary(bb: flatbuffers.ByteBuffer, obj?: Binary): Binary;
7
+ static getSizePrefixedRootAsBinary(bb: flatbuffers.ByteBuffer, obj?: Binary): Binary;
8
+ value(index: number): number | null;
9
+ valueLength(): number;
10
+ valueArray(): Uint8Array | null;
11
+ static startBinary(builder: flatbuffers.Builder): void;
12
+ static addValue(builder: flatbuffers.Builder, valueOffset: flatbuffers.Offset): void;
13
+ static createValueVector(builder: flatbuffers.Builder, data: number[] | Uint8Array): flatbuffers.Offset;
14
+ static startValueVector(builder: flatbuffers.Builder, numElems: number): void;
15
+ static endBinary(builder: flatbuffers.Builder): flatbuffers.Offset;
16
+ static createBinary(builder: flatbuffers.Builder, valueOffset: flatbuffers.Offset): flatbuffers.Offset;
17
+ unpack(): BinaryT;
18
+ unpackTo(_o: BinaryT): void;
19
+ }
20
+ export declare class BinaryT implements flatbuffers.IGeneratedObject {
21
+ value: (number)[];
22
+ constructor(value?: (number)[]);
23
+ pack(builder: flatbuffers.Builder): flatbuffers.Offset;
24
+ }
25
+ //# sourceMappingURL=binary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"binary.d.ts","sourceRoot":"","sources":["../../../src/fbs/data-producer/binary.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,MAAO,YAAW,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC;IACnE,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,MAAM;IAMpD,MAAM,CAAC,eAAe,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,MAAM,GAAE,MAAM;IAIrE,MAAM,CAAC,2BAA2B,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,MAAM,GAAE,MAAM;IAKjF,KAAK,CAAC,KAAK,EAAE,MAAM,GAAE,MAAM,GAAC,IAAI;IAKhC,WAAW,IAAG,MAAM;IAKpB,UAAU,IAAG,UAAU,GAAC,IAAI;IAK5B,MAAM,CAAC,WAAW,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAI9C,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,WAAW,EAAC,WAAW,CAAC,MAAM;IAI3E,MAAM,CAAC,iBAAiB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,IAAI,EAAC,MAAM,EAAE,GAAC,UAAU,GAAE,WAAW,CAAC,MAAM;IAQlG,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAC,MAAM;IAIpE,MAAM,CAAC,SAAS,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAMhE,MAAM,CAAC,YAAY,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,WAAW,EAAC,WAAW,CAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAMnG,MAAM,IAAI,OAAO;IAOjB,QAAQ,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI;CAG1B;AAED,qBAAa,OAAQ,YAAW,WAAW,CAAC,gBAAgB;IAEnD,KAAK,EAAE,CAAC,MAAM,CAAC,EAAE;gBAAjB,KAAK,GAAE,CAAC,MAAM,CAAC,EAAO;IAI/B,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAOpD"}
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ // automatically generated by the FlatBuffers compiler, do not modify
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.BinaryT = exports.Binary = void 0;
5
+ const flatbuffers = require("flatbuffers");
6
+ class Binary {
7
+ bb = null;
8
+ bb_pos = 0;
9
+ __init(i, bb) {
10
+ this.bb_pos = i;
11
+ this.bb = bb;
12
+ return this;
13
+ }
14
+ static getRootAsBinary(bb, obj) {
15
+ return (obj || new Binary()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
16
+ }
17
+ static getSizePrefixedRootAsBinary(bb, obj) {
18
+ bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
19
+ return (obj || new Binary()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
20
+ }
21
+ value(index) {
22
+ const offset = this.bb.__offset(this.bb_pos, 4);
23
+ return offset ? this.bb.readUint8(this.bb.__vector(this.bb_pos + offset) + index) : 0;
24
+ }
25
+ valueLength() {
26
+ const offset = this.bb.__offset(this.bb_pos, 4);
27
+ return offset ? this.bb.__vector_len(this.bb_pos + offset) : 0;
28
+ }
29
+ valueArray() {
30
+ const offset = this.bb.__offset(this.bb_pos, 4);
31
+ return offset ? new Uint8Array(this.bb.bytes().buffer, this.bb.bytes().byteOffset + this.bb.__vector(this.bb_pos + offset), this.bb.__vector_len(this.bb_pos + offset)) : null;
32
+ }
33
+ static startBinary(builder) {
34
+ builder.startObject(1);
35
+ }
36
+ static addValue(builder, valueOffset) {
37
+ builder.addFieldOffset(0, valueOffset, 0);
38
+ }
39
+ static createValueVector(builder, data) {
40
+ builder.startVector(1, data.length, 1);
41
+ for (let i = data.length - 1; i >= 0; i--) {
42
+ builder.addInt8(data[i]);
43
+ }
44
+ return builder.endVector();
45
+ }
46
+ static startValueVector(builder, numElems) {
47
+ builder.startVector(1, numElems, 1);
48
+ }
49
+ static endBinary(builder) {
50
+ const offset = builder.endObject();
51
+ builder.requiredField(offset, 4); // value
52
+ return offset;
53
+ }
54
+ static createBinary(builder, valueOffset) {
55
+ Binary.startBinary(builder);
56
+ Binary.addValue(builder, valueOffset);
57
+ return Binary.endBinary(builder);
58
+ }
59
+ unpack() {
60
+ return new BinaryT(this.bb.createScalarList(this.value.bind(this), this.valueLength()));
61
+ }
62
+ unpackTo(_o) {
63
+ _o.value = this.bb.createScalarList(this.value.bind(this), this.valueLength());
64
+ }
65
+ }
66
+ exports.Binary = Binary;
67
+ class BinaryT {
68
+ value;
69
+ constructor(value = []) {
70
+ this.value = value;
71
+ }
72
+ pack(builder) {
73
+ const value = Binary.createValueVector(builder, this.value);
74
+ return Binary.createBinary(builder, value);
75
+ }
76
+ }
77
+ exports.BinaryT = BinaryT;
@@ -0,0 +1,10 @@
1
+ import { Binary } from '../../fbs/data-producer/binary';
2
+ import { String } from '../../fbs/data-producer/string';
3
+ export declare enum Data {
4
+ NONE = 0,
5
+ String = 1,
6
+ Binary = 2
7
+ }
8
+ export declare function unionToData(type: Data, accessor: (obj: Binary | String) => Binary | String | null): Binary | String | null;
9
+ export declare function unionListToData(type: Data, accessor: (index: number, obj: Binary | String) => Binary | String | null, index: number): Binary | String | null;
10
+ //# sourceMappingURL=data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../src/fbs/data-producer/data.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAW,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,MAAM,EAAW,MAAM,gCAAgC,CAAC;AAGjE,oBAAY,IAAI;IACd,IAAI,IAAI;IACR,MAAM,IAAI;IACV,MAAM,IAAI;CACX;AAED,wBAAgB,WAAW,CACzB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,CAAC,GAAG,EAAC,MAAM,GAAC,MAAM,KAAK,MAAM,GAAC,MAAM,GAAC,IAAI,GAClD,MAAM,GAAC,MAAM,GAAC,IAAI,CAOpB;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAC,MAAM,GAAC,MAAM,KAAK,MAAM,GAAC,MAAM,GAAC,IAAI,EAClE,KAAK,EAAE,MAAM,GACZ,MAAM,GAAC,MAAM,GAAC,IAAI,CAOpB"}
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ // automatically generated by the FlatBuffers compiler, do not modify
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.unionListToData = exports.unionToData = exports.Data = void 0;
5
+ const binary_1 = require("../../fbs/data-producer/binary");
6
+ const string_1 = require("../../fbs/data-producer/string");
7
+ var Data;
8
+ (function (Data) {
9
+ Data[Data["NONE"] = 0] = "NONE";
10
+ Data[Data["String"] = 1] = "String";
11
+ Data[Data["Binary"] = 2] = "Binary";
12
+ })(Data || (exports.Data = Data = {}));
13
+ function unionToData(type, accessor) {
14
+ switch (Data[type]) {
15
+ case 'NONE': return null;
16
+ case 'String': return accessor(new string_1.String());
17
+ case 'Binary': return accessor(new binary_1.Binary());
18
+ default: return null;
19
+ }
20
+ }
21
+ exports.unionToData = unionToData;
22
+ function unionListToData(type, accessor, index) {
23
+ switch (Data[type]) {
24
+ case 'NONE': return null;
25
+ case 'String': return accessor(index, new string_1.String());
26
+ case 'Binary': return accessor(index, new binary_1.Binary());
27
+ default: return null;
28
+ }
29
+ }
30
+ exports.unionListToData = unionListToData;
@@ -0,0 +1,22 @@
1
+ import * as flatbuffers from 'flatbuffers';
2
+ export declare class String implements flatbuffers.IUnpackableObject<StringT> {
3
+ bb: flatbuffers.ByteBuffer | null;
4
+ bb_pos: number;
5
+ __init(i: number, bb: flatbuffers.ByteBuffer): String;
6
+ static getRootAsString(bb: flatbuffers.ByteBuffer, obj?: String): String;
7
+ static getSizePrefixedRootAsString(bb: flatbuffers.ByteBuffer, obj?: String): String;
8
+ value(): string | null;
9
+ value(optionalEncoding: flatbuffers.Encoding): string | Uint8Array | null;
10
+ static startString(builder: flatbuffers.Builder): void;
11
+ static addValue(builder: flatbuffers.Builder, valueOffset: flatbuffers.Offset): void;
12
+ static endString(builder: flatbuffers.Builder): flatbuffers.Offset;
13
+ static createString(builder: flatbuffers.Builder, valueOffset: flatbuffers.Offset): flatbuffers.Offset;
14
+ unpack(): StringT;
15
+ unpackTo(_o: StringT): void;
16
+ }
17
+ export declare class StringT implements flatbuffers.IGeneratedObject {
18
+ value: string | Uint8Array | null;
19
+ constructor(value?: string | Uint8Array | null);
20
+ pack(builder: flatbuffers.Builder): flatbuffers.Offset;
21
+ }
22
+ //# sourceMappingURL=string.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../src/fbs/data-producer/string.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAI3C,qBAAa,MAAO,YAAW,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC;IACnE,EAAE,EAAE,WAAW,CAAC,UAAU,GAAC,IAAI,CAAQ;IACvC,MAAM,SAAK;IACX,MAAM,CAAC,CAAC,EAAC,MAAM,EAAE,EAAE,EAAC,WAAW,CAAC,UAAU,GAAE,MAAM;IAMpD,MAAM,CAAC,eAAe,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,MAAM,GAAE,MAAM;IAIrE,MAAM,CAAC,2BAA2B,CAAC,EAAE,EAAC,WAAW,CAAC,UAAU,EAAE,GAAG,CAAC,EAAC,MAAM,GAAE,MAAM;IAKjF,KAAK,IAAG,MAAM,GAAC,IAAI;IACnB,KAAK,CAAC,gBAAgB,EAAC,WAAW,CAAC,QAAQ,GAAE,MAAM,GAAC,UAAU,GAAC,IAAI;IAMnE,MAAM,CAAC,WAAW,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO;IAI9C,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,WAAW,EAAC,WAAW,CAAC,MAAM;IAI3E,MAAM,CAAC,SAAS,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAE,WAAW,CAAC,MAAM;IAMhE,MAAM,CAAC,YAAY,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,EAAE,WAAW,EAAC,WAAW,CAAC,MAAM,GAAE,WAAW,CAAC,MAAM;IAMnG,MAAM,IAAI,OAAO;IAOjB,QAAQ,CAAC,EAAE,EAAE,OAAO,GAAG,IAAI;CAG1B;AAED,qBAAa,OAAQ,YAAW,WAAW,CAAC,gBAAgB;IAEnD,KAAK,EAAE,MAAM,GAAC,UAAU,GAAC,IAAI;gBAA7B,KAAK,GAAE,MAAM,GAAC,UAAU,GAAC,IAAW;IAI7C,IAAI,CAAC,OAAO,EAAC,WAAW,CAAC,OAAO,GAAG,WAAW,CAAC,MAAM;CAOpD"}
@@ -0,0 +1,59 @@
1
+ "use strict";
2
+ // automatically generated by the FlatBuffers compiler, do not modify
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.StringT = exports.String = void 0;
5
+ const flatbuffers = require("flatbuffers");
6
+ class String {
7
+ bb = null;
8
+ bb_pos = 0;
9
+ __init(i, bb) {
10
+ this.bb_pos = i;
11
+ this.bb = bb;
12
+ return this;
13
+ }
14
+ static getRootAsString(bb, obj) {
15
+ return (obj || new String()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
16
+ }
17
+ static getSizePrefixedRootAsString(bb, obj) {
18
+ bb.setPosition(bb.position() + flatbuffers.SIZE_PREFIX_LENGTH);
19
+ return (obj || new String()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
20
+ }
21
+ value(optionalEncoding) {
22
+ const offset = this.bb.__offset(this.bb_pos, 4);
23
+ return offset ? this.bb.__string(this.bb_pos + offset, optionalEncoding) : null;
24
+ }
25
+ static startString(builder) {
26
+ builder.startObject(1);
27
+ }
28
+ static addValue(builder, valueOffset) {
29
+ builder.addFieldOffset(0, valueOffset, 0);
30
+ }
31
+ static endString(builder) {
32
+ const offset = builder.endObject();
33
+ builder.requiredField(offset, 4); // value
34
+ return offset;
35
+ }
36
+ static createString(builder, valueOffset) {
37
+ String.startString(builder);
38
+ String.addValue(builder, valueOffset);
39
+ return String.endString(builder);
40
+ }
41
+ unpack() {
42
+ return new StringT(this.value());
43
+ }
44
+ unpackTo(_o) {
45
+ _o.value = this.value();
46
+ }
47
+ }
48
+ exports.String = String;
49
+ class StringT {
50
+ value;
51
+ constructor(value = null) {
52
+ this.value = value;
53
+ }
54
+ pack(builder) {
55
+ const value = (this.value !== null ? builder.createString(this.value) : 0);
56
+ return String.createString(builder, value);
57
+ }
58
+ }
59
+ exports.StringT = StringT;
@@ -0,0 +1,7 @@
1
+ export declare enum Type {
2
+ REQUEST = 0,
3
+ RESPONSE = 1,
4
+ NOTIFICATION = 2,
5
+ LOG = 3
6
+ }
7
+ //# sourceMappingURL=type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../../../src/fbs/message/type.ts"],"names":[],"mappings":"AAEA,oBAAY,IAAI;IACd,OAAO,IAAI;IACX,QAAQ,IAAI;IACZ,YAAY,IAAI;IAChB,GAAG,IAAI;CACR"}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // automatically generated by the FlatBuffers compiler, do not modify
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.Type = void 0;
5
+ var Type;
6
+ (function (Type) {
7
+ Type[Type["REQUEST"] = 0] = "REQUEST";
8
+ Type[Type["RESPONSE"] = 1] = "RESPONSE";
9
+ Type[Type["NOTIFICATION"] = 2] = "NOTIFICATION";
10
+ Type[Type["LOG"] = 3] = "LOG";
11
+ })(Type || (exports.Type = Type = {}));
@@ -0,0 +1,12 @@
1
+ import { Log } from '../../fbs/log/log';
2
+ import { Notification } from '../../fbs/notification-from-worker/notification';
3
+ import { Response } from '../../fbs/response/response';
4
+ export declare enum Body {
5
+ NONE = 0,
6
+ Response = 1,
7
+ Notification = 2,
8
+ Log = 3
9
+ }
10
+ export declare function unionToBody(type: Body, accessor: (obj: Log | Notification | Response) => Log | Notification | Response | null): Log | Notification | Response | null;
11
+ export declare function unionListToBody(type: Body, accessor: (index: number, obj: Log | Notification | Response) => Log | Notification | Response | null, index: number): Log | Notification | Response | null;
12
+ //# sourceMappingURL=body.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"body.d.ts","sourceRoot":"","sources":["../../../src/fbs/message-from-worker/body.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAQ,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,YAAY,EAAiB,MAAM,iDAAiD,CAAC;AAC9F,OAAO,EAAE,QAAQ,EAAa,MAAM,6BAA6B,CAAC;AAGlE,oBAAY,IAAI;IACd,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,YAAY,IAAI;IAChB,GAAG,IAAI;CACR;AAED,wBAAgB,WAAW,CACzB,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,CAAC,GAAG,EAAC,GAAG,GAAC,YAAY,GAAC,QAAQ,KAAK,GAAG,GAAC,YAAY,GAAC,QAAQ,GAAC,IAAI,GAC1E,GAAG,GAAC,YAAY,GAAC,QAAQ,GAAC,IAAI,CAQhC;AAED,wBAAgB,eAAe,CAC7B,IAAI,EAAE,IAAI,EACV,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAC,GAAG,GAAC,YAAY,GAAC,QAAQ,KAAK,GAAG,GAAC,YAAY,GAAC,QAAQ,GAAC,IAAI,EAC1F,KAAK,EAAE,MAAM,GACZ,GAAG,GAAC,YAAY,GAAC,QAAQ,GAAC,IAAI,CAQhC"}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ // automatically generated by the FlatBuffers compiler, do not modify
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.unionListToBody = exports.unionToBody = exports.Body = void 0;
5
+ const log_1 = require("../../fbs/log/log");
6
+ const notification_1 = require("../../fbs/notification-from-worker/notification");
7
+ const response_1 = require("../../fbs/response/response");
8
+ var Body;
9
+ (function (Body) {
10
+ Body[Body["NONE"] = 0] = "NONE";
11
+ Body[Body["Response"] = 1] = "Response";
12
+ Body[Body["Notification"] = 2] = "Notification";
13
+ Body[Body["Log"] = 3] = "Log";
14
+ })(Body || (exports.Body = Body = {}));
15
+ function unionToBody(type, accessor) {
16
+ switch (Body[type]) {
17
+ case 'NONE': return null;
18
+ case 'Response': return accessor(new response_1.Response());
19
+ case 'Notification': return accessor(new notification_1.Notification());
20
+ case 'Log': return accessor(new log_1.Log());
21
+ default: return null;
22
+ }
23
+ }
24
+ exports.unionToBody = unionToBody;
25
+ function unionListToBody(type, accessor, index) {
26
+ switch (Body[type]) {
27
+ case 'NONE': return null;
28
+ case 'Response': return accessor(index, new response_1.Response());
29
+ case 'Notification': return accessor(index, new notification_1.Notification());
30
+ case 'Log': return accessor(index, new log_1.Log());
31
+ default: return null;
32
+ }
33
+ }
34
+ exports.unionListToBody = unionListToBody;
@@ -0,0 +1,30 @@
1
+ import * as flatbuffers from 'flatbuffers';
2
+ import { LogT } from '../../fbs/log/log';
3
+ import { Body } from '../../fbs/message-from-worker/body';
4
+ import { NotificationT } from '../../fbs/notification-from-worker/notification';
5
+ import { ResponseT } from '../../fbs/response/response';
6
+ export declare class Message implements flatbuffers.IUnpackableObject<MessageT> {
7
+ bb: flatbuffers.ByteBuffer | null;
8
+ bb_pos: number;
9
+ __init(i: number, bb: flatbuffers.ByteBuffer): Message;
10
+ static getRootAsMessage(bb: flatbuffers.ByteBuffer, obj?: Message): Message;
11
+ static getSizePrefixedRootAsMessage(bb: flatbuffers.ByteBuffer, obj?: Message): Message;
12
+ dataType(): Body;
13
+ data<T extends flatbuffers.Table>(obj: any): any | null;
14
+ static startMessage(builder: flatbuffers.Builder): void;
15
+ static addDataType(builder: flatbuffers.Builder, dataType: Body): void;
16
+ static addData(builder: flatbuffers.Builder, dataOffset: flatbuffers.Offset): void;
17
+ static endMessage(builder: flatbuffers.Builder): flatbuffers.Offset;
18
+ static finishMessageBuffer(builder: flatbuffers.Builder, offset: flatbuffers.Offset): void;
19
+ static finishSizePrefixedMessageBuffer(builder: flatbuffers.Builder, offset: flatbuffers.Offset): void;
20
+ static createMessage(builder: flatbuffers.Builder, dataType: Body, dataOffset: flatbuffers.Offset): flatbuffers.Offset;
21
+ unpack(): MessageT;
22
+ unpackTo(_o: MessageT): void;
23
+ }
24
+ export declare class MessageT implements flatbuffers.IGeneratedObject {
25
+ dataType: Body;
26
+ data: LogT | NotificationT | ResponseT | null;
27
+ constructor(dataType?: Body, data?: LogT | NotificationT | ResponseT | null);
28
+ pack(builder: flatbuffers.Builder): flatbuffers.Offset;
29
+ }
30
+ //# sourceMappingURL=message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../../src/fbs/message-from-worker/message.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,WAAW,MAAM,aAAa,CAAC;AAE3C,OAAO,EAAO,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAgC,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAAgB,aAAa,EAAE,MAAM,iDAAiD,CAAC;AAC9F,OAAO,EAAY,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAGl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