@vonage/client-sdk 0.1.3 → 0.1.4-alpha.2

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.
@@ -16,25 +16,25 @@
16
16
  'use strict';
17
17
  //region block: imports
18
18
  var imul = Math.imul;
19
- var THROW_ISE = kotlin_kotlin.$_$.w7;
20
- var Unit_getInstance = kotlin_kotlin.$_$.o2;
19
+ var THROW_ISE = kotlin_kotlin.$_$.z7;
20
+ var Unit_getInstance = kotlin_kotlin.$_$.p2;
21
21
  var ClientConfigRegion_AP_getInstance = kotlin_com_vonage_clientcore.$_$.r;
22
22
  var ClientConfigRegion_EU_getInstance = kotlin_com_vonage_clientcore.$_$.s;
23
23
  var ClientConfigRegion_US_getInstance = kotlin_com_vonage_clientcore.$_$.t;
24
- var Enum = kotlin_kotlin.$_$.q7;
25
- var classMeta = kotlin_kotlin.$_$.h5;
24
+ var Enum = kotlin_kotlin.$_$.s7;
25
+ var classMeta = kotlin_kotlin.$_$.j5;
26
26
  var Companion_getInstance = kotlin_com_vonage_clientcore.$_$.u;
27
27
  var ILoggingLevel = kotlin_com_vonage_clientcore.$_$.b;
28
28
  var setDefaultLoggingLevel = kotlin_com_vonage_clientcore.$_$.e;
29
- var newThrowable = kotlin_kotlin.$_$.e6;
29
+ var newThrowable = kotlin_kotlin.$_$.g6;
30
30
  var SessionListener = kotlin_com_vonage_clientcore.$_$.c;
31
31
  var VoiceClientDelegate = kotlin_com_vonage_clientcore.$_$.d;
32
32
  var Builder = kotlin_com_vonage_clientcore.$_$.j;
33
33
  var SetConfig = kotlin_com_vonage_clientcore.$_$.i;
34
- var emptyMap = kotlin_kotlin.$_$.u3;
35
- var THROW_CCE = kotlin_kotlin.$_$.v7;
36
- var getStringHashCode = kotlin_kotlin.$_$.m5;
37
- var equals = kotlin_kotlin.$_$.i5;
34
+ var emptyMap = kotlin_kotlin.$_$.v3;
35
+ var THROW_CCE = kotlin_kotlin.$_$.y7;
36
+ var getStringHashCode = kotlin_kotlin.$_$.o5;
37
+ var equals = kotlin_kotlin.$_$.k5;
38
38
  var Exception_init_$Create$ = kotlin_kotlin.$_$.z;
39
39
  var HTTPClient = kotlin_com_vonage_clientcore.$_$.f;
40
40
  var SocketClient = kotlin_com_vonage_clientcore.$_$.h;
@@ -48,15 +48,15 @@
48
48
  var SocketConnectionFailedReason_PingTimeout_getInstance = kotlin_com_vonage_clientcore.$_$.m;
49
49
  var MediaClient = kotlin_com_vonage_clientcore.$_$.g;
50
50
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
51
- var to = kotlin_kotlin.$_$.p8;
52
- var toMap = kotlin_kotlin.$_$.t4;
51
+ var to = kotlin_kotlin.$_$.s8;
52
+ var toMap = kotlin_kotlin.$_$.u4;
53
53
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.t;
54
- var Map = kotlin_kotlin.$_$.a3;
55
- var isInterface = kotlin_kotlin.$_$.w5;
56
- var Exception = kotlin_kotlin.$_$.r7;
57
- var Pair = kotlin_kotlin.$_$.u7;
58
- var copyToArray = kotlin_kotlin.$_$.s3;
59
- var json = kotlin_kotlin.$_$.c6;
54
+ var Map = kotlin_kotlin.$_$.b3;
55
+ var isInterface = kotlin_kotlin.$_$.y5;
56
+ var Exception = kotlin_kotlin.$_$.u7;
57
+ var Pair = kotlin_kotlin.$_$.x7;
58
+ var copyToArray = kotlin_kotlin.$_$.t3;
59
+ var json = kotlin_kotlin.$_$.e6;
60
60
  //endregion
61
61
  //region block: pre-declaration
62
62
  CoreClientConfigRegionJS.prototype = Object.create(Enum.prototype);
@@ -95,75 +95,75 @@
95
95
  }
96
96
  function CoreClientConfigRegionJS(name, ordinal, coreRegion) {
97
97
  Enum.call(this, name, ordinal);
98
- this.g2c_1 = coreRegion;
98
+ this.j2e_1 = coreRegion;
99
99
  }
100
- CoreClientConfigRegionJS.prototype.h2c = function () {
101
- return this.g2c_1;
100
+ CoreClientConfigRegionJS.prototype.k2e = function () {
101
+ return this.j2e_1;
102
102
  };
103
103
  CoreClientConfigRegionJS.$metadata$ = classMeta('CoreClientConfigRegionJS', undefined, undefined, undefined, undefined, Enum.prototype);
104
104
  Object.defineProperty(CoreClientConfigRegionJS.prototype, 'coreRegion', {
105
105
  configurable: true,
106
- get: CoreClientConfigRegionJS.prototype.h2c
106
+ get: CoreClientConfigRegionJS.prototype.k2e
107
107
  });
108
108
  Object.defineProperty(CoreClientConfigRegionJS.prototype, 'name', {
109
109
  configurable: true,
110
- get: CoreClientConfigRegionJS.prototype.q3
110
+ get: CoreClientConfigRegionJS.prototype.r3
111
111
  });
112
112
  Object.defineProperty(CoreClientConfigRegionJS.prototype, 'ordinal', {
113
113
  configurable: true,
114
- get: CoreClientConfigRegionJS.prototype.oe
114
+ get: CoreClientConfigRegionJS.prototype.qe
115
115
  });
116
116
  function CoreClientConfigJS(region) {
117
- this.i2c_1 = Companion_getInstance().t1y(region.g2c_1);
118
- this.j2c_1 = this.i2c_1.u1y_1;
119
- this.k2c_1 = this.i2c_1.v1y_1;
120
- this.l2c_1 = this.i2c_1.w1y_1;
121
- this.m2c_1 = this.i2c_1.x1y_1;
117
+ this.l2e_1 = Companion_getInstance().h1z(region.j2e_1);
118
+ this.m2e_1 = this.l2e_1.i1z_1;
119
+ this.n2e_1 = this.l2e_1.j1z_1;
120
+ this.o2e_1 = this.l2e_1.k1z_1;
121
+ this.p2e_1 = this.l2e_1.l1z_1;
122
122
  }
123
- CoreClientConfigJS.prototype.n2c = function (_set____db54di) {
124
- this.j2c_1 = _set____db54di;
123
+ CoreClientConfigJS.prototype.q2e = function (_set____db54di) {
124
+ this.m2e_1 = _set____db54di;
125
125
  };
126
- CoreClientConfigJS.prototype.o2c = function () {
127
- return this.j2c_1;
126
+ CoreClientConfigJS.prototype.r2e = function () {
127
+ return this.m2e_1;
128
128
  };
129
- CoreClientConfigJS.prototype.p2c = function (_set____db54di) {
130
- this.k2c_1 = _set____db54di;
129
+ CoreClientConfigJS.prototype.s2e = function (_set____db54di) {
130
+ this.n2e_1 = _set____db54di;
131
131
  };
132
- CoreClientConfigJS.prototype.q2c = function () {
133
- return this.k2c_1;
132
+ CoreClientConfigJS.prototype.t2e = function () {
133
+ return this.n2e_1;
134
134
  };
135
- CoreClientConfigJS.prototype.r2c = function (_set____db54di) {
136
- this.l2c_1 = _set____db54di;
135
+ CoreClientConfigJS.prototype.u2e = function (_set____db54di) {
136
+ this.o2e_1 = _set____db54di;
137
137
  };
138
- CoreClientConfigJS.prototype.s2c = function () {
139
- return this.l2c_1;
138
+ CoreClientConfigJS.prototype.v2e = function () {
139
+ return this.o2e_1;
140
140
  };
141
- CoreClientConfigJS.prototype.t2c = function (_set____db54di) {
142
- this.m2c_1 = _set____db54di;
141
+ CoreClientConfigJS.prototype.w2e = function (_set____db54di) {
142
+ this.p2e_1 = _set____db54di;
143
143
  };
144
- CoreClientConfigJS.prototype.u2c = function () {
145
- return this.m2c_1;
144
+ CoreClientConfigJS.prototype.x2e = function () {
145
+ return this.p2e_1;
146
146
  };
147
147
  CoreClientConfigJS.$metadata$ = classMeta('CoreClientConfigJS');
148
148
  Object.defineProperty(CoreClientConfigJS.prototype, 'apiUrl', {
149
149
  configurable: true,
150
- get: CoreClientConfigJS.prototype.o2c,
151
- set: CoreClientConfigJS.prototype.n2c
150
+ get: CoreClientConfigJS.prototype.r2e,
151
+ set: CoreClientConfigJS.prototype.q2e
152
152
  });
153
153
  Object.defineProperty(CoreClientConfigJS.prototype, 'websocketUrl', {
154
154
  configurable: true,
155
- get: CoreClientConfigJS.prototype.q2c,
156
- set: CoreClientConfigJS.prototype.p2c
155
+ get: CoreClientConfigJS.prototype.t2e,
156
+ set: CoreClientConfigJS.prototype.s2e
157
157
  });
158
158
  Object.defineProperty(CoreClientConfigJS.prototype, 'websocketPath', {
159
159
  configurable: true,
160
- get: CoreClientConfigJS.prototype.s2c,
161
- set: CoreClientConfigJS.prototype.r2c
160
+ get: CoreClientConfigJS.prototype.v2e,
161
+ set: CoreClientConfigJS.prototype.u2e
162
162
  });
163
163
  Object.defineProperty(CoreClientConfigJS.prototype, 'autoMediaReoffer', {
164
164
  configurable: true,
165
- get: CoreClientConfigJS.prototype.u2c,
166
- set: CoreClientConfigJS.prototype.t2c
165
+ get: CoreClientConfigJS.prototype.x2e,
166
+ set: CoreClientConfigJS.prototype.w2e
167
167
  });
168
168
  var LoggingLevelJS_Verbose_instance;
169
169
  var LoggingLevelJS_Debug_instance;
@@ -208,19 +208,19 @@
208
208
  }
209
209
  function LoggingLevelJS(name, ordinal, sev) {
210
210
  Enum.call(this, name, ordinal);
211
- this.x2c_1 = sev;
211
+ this.a2f_1 = sev;
212
212
  }
213
- LoggingLevelJS.prototype.x1b = function () {
214
- return this.x2c_1;
213
+ LoggingLevelJS.prototype.a1c = function () {
214
+ return this.a2f_1;
215
215
  };
216
216
  LoggingLevelJS.$metadata$ = classMeta('LoggingLevelJS', [ILoggingLevel], undefined, undefined, undefined, Enum.prototype);
217
217
  Object.defineProperty(LoggingLevelJS.prototype, 'name', {
218
218
  configurable: true,
219
- get: LoggingLevelJS.prototype.q3
219
+ get: LoggingLevelJS.prototype.r3
220
220
  });
221
221
  Object.defineProperty(LoggingLevelJS.prototype, 'ordinal', {
222
222
  configurable: true,
223
- get: LoggingLevelJS.prototype.oe
223
+ get: LoggingLevelJS.prototype.qe
224
224
  });
225
225
  function setDefaultLoggingLevel_0(level) {
226
226
  setDefaultLoggingLevel(level);
@@ -238,7 +238,7 @@
238
238
  }
239
239
  function CoreClientJS$createSession$lambda(this$0, $token, $sessionId) {
240
240
  return function (resolve, reject) {
241
- this$0.z2c_1.u1a($token, $sessionId, CoreClientJS$createSession$lambda$lambda(reject, resolve));
241
+ this$0.d2f_1.w1a($token, $sessionId, CoreClientJS$createSession$lambda$lambda(reject, resolve));
242
242
  return Unit_getInstance();
243
243
  };
244
244
  }
@@ -253,7 +253,7 @@
253
253
  }
254
254
  function CoreClientJS$deleteSession$lambda(this$0) {
255
255
  return function (resolve, reject) {
256
- this$0.z2c_1.v1a(CoreClientJS$deleteSession$lambda$lambda(reject, resolve));
256
+ this$0.d2f_1.x1a(CoreClientJS$deleteSession$lambda$lambda(reject, resolve));
257
257
  return Unit_getInstance();
258
258
  };
259
259
  }
@@ -268,7 +268,7 @@
268
268
  }
269
269
  function CoreClientJS$refreshSession$lambda(this$0, $token) {
270
270
  return function (resolve, reject) {
271
- this$0.z2c_1.w1a($token, CoreClientJS$refreshSession$lambda$lambda(reject, resolve));
271
+ this$0.d2f_1.y1a($token, CoreClientJS$refreshSession$lambda$lambda(reject, resolve));
272
272
  return Unit_getInstance();
273
273
  };
274
274
  }
@@ -286,31 +286,49 @@
286
286
  }
287
287
  function CoreClientJS$serverCall$lambda(this$0, $typedContext) {
288
288
  return function (resolve, reject) {
289
- this$0.z2c_1.z1a($typedContext, CoreClientJS$serverCall$lambda$lambda(resolve, reject));
289
+ this$0.d2f_1.b1b($typedContext, CoreClientJS$serverCall$lambda$lambda(resolve, reject));
290
+ return Unit_getInstance();
291
+ };
292
+ }
293
+ function CoreClientJS$reconnectCall$lambda$lambda($resolve, $reject) {
294
+ return function (err, call) {
295
+ var tmp;
296
+ if (!(call == null)) {
297
+ tmp = $resolve(new VoiceCallJS(call));
298
+ } else {
299
+ var tmp0_elvis_lhs = err;
300
+ tmp = $reject(tmp0_elvis_lhs == null ? newThrowable('', void 1) : tmp0_elvis_lhs);
301
+ }
302
+ return Unit_getInstance();
303
+ };
304
+ }
305
+ function CoreClientJS$reconnectCall$lambda(this$0, $legId) {
306
+ return function (resolve, reject) {
307
+ this$0.d2f_1.c1b($legId, CoreClientJS$reconnectCall$lambda$lambda(resolve, reject));
290
308
  return Unit_getInstance();
291
309
  };
292
310
  }
293
311
  function CoreClientJS$1(this$0) {
294
- this.a2d_1 = this$0;
312
+ this.e2f_1 = this$0;
295
313
  }
296
- CoreClientJS$1.prototype.n20 = function () {
297
- var tmp0_safe_receiver = this.a2d_1.y2c_1;
314
+ CoreClientJS$1.prototype.b21 = function () {
315
+ var tmp0_safe_receiver = this.e2f_1.c2f_1;
298
316
  if (tmp0_safe_receiver == null)
299
317
  null;
300
318
  else {
301
319
  tmp0_safe_receiver.reconnecting();
302
320
  }
303
321
  };
304
- CoreClientJS$1.prototype.o20 = function () {
305
- var tmp0_safe_receiver = this.a2d_1.y2c_1;
322
+ CoreClientJS$1.prototype.c21 = function () {
323
+ var tmp0_safe_receiver = this.e2f_1.c2f_1;
306
324
  if (tmp0_safe_receiver == null)
307
325
  null;
308
326
  else {
309
327
  tmp0_safe_receiver.reconnection();
310
328
  }
311
329
  };
312
- CoreClientJS$1.prototype.p20 = function (reason) {
313
- var tmp0_safe_receiver = this.a2d_1.y2c_1;
330
+ CoreClientJS$1.prototype.d21 = function (reason) {
331
+ var tmp0_safe_receiver = this.e2f_1.c2f_1;
314
332
  if (tmp0_safe_receiver == null)
315
333
  null;
316
334
  else {
@@ -319,71 +337,80 @@
319
337
  };
320
338
  CoreClientJS$1.$metadata$ = classMeta(undefined, [SessionListener]);
321
339
  function CoreClientJS$2(this$0) {
322
- this.b2d_1 = this$0;
340
+ this.f2f_1 = this$0;
323
341
  }
324
- CoreClientJS$2.prototype.a22 = function (invite) {
325
- var tmp0_safe_receiver = this.b2d_1.y2c_1;
342
+ CoreClientJS$2.prototype.l22 = function (invite) {
343
+ var tmp0_safe_receiver = this.f2f_1.c2f_1;
326
344
  if (tmp0_safe_receiver == null)
327
345
  null;
328
346
  else {
329
347
  tmp0_safe_receiver.callInvite(VoiceInviteJS_init_$Create$(invite, null, 2, null));
330
348
  }
331
349
  };
332
- CoreClientJS$2.prototype.b22 = function (call, newConversation, prevConversation) {
333
- var tmp0_safe_receiver = this.b2d_1.y2c_1;
350
+ CoreClientJS$2.prototype.m22 = function (call, newConversation, prevConversation) {
351
+ var tmp0_safe_receiver = this.f2f_1.c2f_1;
334
352
  if (tmp0_safe_receiver == null)
335
353
  null;
336
354
  else {
337
355
  tmp0_safe_receiver.callTransfer(new VoiceCallJS(call), new ConversationJS(newConversation), new ConversationJS(prevConversation));
338
356
  }
339
357
  };
340
- CoreClientJS$2.prototype.c22 = function (call, legId, isMuted) {
341
- var tmp0_safe_receiver = this.b2d_1.y2c_1;
358
+ CoreClientJS$2.prototype.n22 = function (call, legId, isMuted) {
359
+ var tmp0_safe_receiver = this.f2f_1.c2f_1;
342
360
  if (tmp0_safe_receiver == null)
343
361
  null;
344
362
  else {
345
363
  tmp0_safe_receiver.mute(new VoiceCallJS(call), legId, isMuted);
346
364
  }
347
365
  };
348
- CoreClientJS$2.prototype.d22 = function (call, legId, earmuffStatus) {
349
- var tmp0_safe_receiver = this.b2d_1.y2c_1;
366
+ CoreClientJS$2.prototype.o22 = function (call, legId, earmuffStatus) {
367
+ var tmp0_safe_receiver = this.f2f_1.c2f_1;
350
368
  if (tmp0_safe_receiver == null)
351
369
  null;
352
370
  else {
353
371
  tmp0_safe_receiver.earmuff(new VoiceCallJS(call), legId, earmuffStatus);
354
372
  }
355
373
  };
356
- CoreClientJS$2.prototype.e22 = function (call, legId, digits) {
357
- var tmp0_safe_receiver = this.b2d_1.y2c_1;
374
+ CoreClientJS$2.prototype.p22 = function (call, legId, digits) {
375
+ var tmp0_safe_receiver = this.f2f_1.c2f_1;
358
376
  if (tmp0_safe_receiver == null)
359
377
  null;
360
378
  else {
361
379
  tmp0_safe_receiver.dtmf(new VoiceCallJS(call), legId, digits);
362
380
  }
363
381
  };
364
- CoreClientJS$2.prototype.f22 = function (call, legId, callQuality) {
365
- var tmp0_safe_receiver = this.b2d_1.y2c_1;
382
+ CoreClientJS$2.prototype.q22 = function (call, legId, callQuality) {
383
+ var tmp0_safe_receiver = this.f2f_1.c2f_1;
366
384
  if (tmp0_safe_receiver == null)
367
385
  null;
368
386
  else {
369
387
  tmp0_safe_receiver.rtcHangup(new VoiceCallJS(call), legId, new RTCQualityJS(callQuality));
370
388
  }
371
389
  };
390
+ CoreClientJS$2.prototype.r22 = function (call, legId, status) {
391
+ var tmp0_safe_receiver = this.f2f_1.c2f_1;
392
+ if (tmp0_safe_receiver == null)
393
+ null;
394
+ else {
395
+ tmp0_safe_receiver.legStatusUpdate(new VoiceCallJS(call), legId, status);
396
+ }
397
+ };
372
398
  CoreClientJS$2.$metadata$ = classMeta(undefined, [VoiceClientDelegate]);
373
399
  function CoreClientJS(http, socket, media) {
374
- this.y2c_1 = null;
375
- this.z2c_1 = (new Builder()).y1b(HttpClientJSAdapter(http)).z1b(SocketClientJSAdapter(socket)).a1c(MediaClientJSAdapter(media));
376
- this.z2c_1.x1a(new CoreClientJS$1(this));
377
- this.z2c_1.y1a(new CoreClientJS$2(this));
400
+ this.b2f_1 = media;
401
+ this.c2f_1 = null;
402
+ this.d2f_1 = (new Builder()).b1c(HttpClientJSAdapter(http)).c1c(SocketClientJSAdapter(socket)).d1c(MediaClientJSAdapter(media));
403
+ this.d2f_1.z1a(new CoreClientJS$1(this));
404
+ this.d2f_1.a1b(new CoreClientJS$2(this));
378
405
  }
379
- CoreClientJS.prototype.c2d = function (_set____db54di) {
380
- this.y2c_1 = _set____db54di;
406
+ CoreClientJS.prototype.g2f = function (_set____db54di) {
407
+ this.c2f_1 = _set____db54di;
381
408
  };
382
- CoreClientJS.prototype.d2d = function () {
383
- return this.y2c_1;
409
+ CoreClientJS.prototype.h2f = function () {
410
+ return this.c2f_1;
384
411
  };
385
412
  CoreClientJS.prototype.setConfig = function (config) {
386
- this.z2c_1.t1a(new SetConfig(config.k2c_1, config.l2c_1, config.j2c_1));
413
+ this.d2f_1.v1a(new SetConfig(config.n2e_1, config.o2e_1, config.m2e_1));
387
414
  };
388
415
  CoreClientJS.prototype.createSession = function (token, sessionId) {
389
416
  return new Promise(CoreClientJS$createSession$lambda(this, token, sessionId));
@@ -394,6 +421,9 @@
394
421
  CoreClientJS.prototype.refreshSession = function (token) {
395
422
  return new Promise(CoreClientJS$refreshSession$lambda(this, token));
396
423
  };
424
+ CoreClientJS.prototype.getPeerConnection = function (id) {
425
+ return this.b2f_1.getPeerConnection(id);
426
+ };
397
427
  CoreClientJS.prototype.serverCall = function (context) {
398
428
  var tmp0_safe_receiver = get_jsonNullable(context);
399
429
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toMap_0(tmp0_safe_receiver);
@@ -409,11 +439,14 @@
409
439
  var typedContext = tmp;
410
440
  return new Promise(CoreClientJS$serverCall$lambda(this, typedContext));
411
441
  };
442
+ CoreClientJS.prototype.reconnectCall = function (legId) {
443
+ return new Promise(CoreClientJS$reconnectCall$lambda(this, legId));
444
+ };
412
445
  CoreClientJS.$metadata$ = classMeta('CoreClientJS');
413
446
  Object.defineProperty(CoreClientJS.prototype, 'emitter', {
414
447
  configurable: true,
415
- get: CoreClientJS.prototype.d2d,
416
- set: CoreClientJS.prototype.c2d
448
+ get: CoreClientJS.prototype.h2f,
449
+ set: CoreClientJS.prototype.g2f
417
450
  });
418
451
  function VoiceCallJS$hangup$lambda$lambda($resolve, $reject) {
419
452
  return function (it) {
@@ -429,7 +462,7 @@
429
462
  }
430
463
  function VoiceCallJS$hangup$lambda(this$0, $reasonText, $reasonCode) {
431
464
  return function (resolve, reject) {
432
- this$0.e2d_1.j21($reasonText, $reasonCode, VoiceCallJS$hangup$lambda$lambda(resolve, reject));
465
+ this$0.i2f_1.u21($reasonText, $reasonCode, VoiceCallJS$hangup$lambda$lambda(resolve, reject));
433
466
  return Unit_getInstance();
434
467
  };
435
468
  }
@@ -457,7 +490,7 @@
457
490
  var tmp_3 = tmp3_elvis_lhs == null ? 'amy' : tmp3_elvis_lhs;
458
491
  var tmp4_elvis_lhs = get_jsonNullable($params.ssml);
459
492
  var tmp_4 = tmp4_elvis_lhs == null ? true : tmp4_elvis_lhs;
460
- this$0.e2d_1.z21(tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, VoiceCallJS$say$lambda$lambda(reject, resolve));
493
+ this$0.i2f_1.k22(tmp, tmp_0, tmp_1, tmp_2, tmp_3, tmp_4, VoiceCallJS$say$lambda$lambda(reject, resolve));
461
494
  return Unit_getInstance();
462
495
  };
463
496
  }
@@ -474,7 +507,7 @@
474
507
  }
475
508
  function VoiceCallJS$mute$lambda(this$0) {
476
509
  return function (resolve, reject) {
477
- this$0.e2d_1.u21(VoiceCallJS$mute$lambda$lambda(reject, resolve));
510
+ this$0.i2f_1.f22(VoiceCallJS$mute$lambda$lambda(reject, resolve));
478
511
  return Unit_getInstance();
479
512
  };
480
513
  }
@@ -489,7 +522,7 @@
489
522
  }
490
523
  function VoiceCallJS$unmute$lambda(this$0) {
491
524
  return function (resolve, reject) {
492
- this$0.e2d_1.v21(VoiceCallJS$unmute$lambda$lambda(reject, resolve));
525
+ this$0.i2f_1.g22(VoiceCallJS$unmute$lambda$lambda(reject, resolve));
493
526
  return Unit_getInstance();
494
527
  };
495
528
  }
@@ -504,7 +537,7 @@
504
537
  }
505
538
  function VoiceCallJS$enableEarmuff$lambda(this$0) {
506
539
  return function (resolve, reject) {
507
- this$0.e2d_1.w21(VoiceCallJS$enableEarmuff$lambda$lambda(reject, resolve));
540
+ this$0.i2f_1.h22(VoiceCallJS$enableEarmuff$lambda$lambda(reject, resolve));
508
541
  return Unit_getInstance();
509
542
  };
510
543
  }
@@ -519,7 +552,7 @@
519
552
  }
520
553
  function VoiceCallJS$disableEarmuff$lambda(this$0) {
521
554
  return function (resolve, reject) {
522
- this$0.e2d_1.x21(VoiceCallJS$disableEarmuff$lambda$lambda(reject, resolve));
555
+ this$0.i2f_1.i22(VoiceCallJS$disableEarmuff$lambda$lambda(reject, resolve));
523
556
  return Unit_getInstance();
524
557
  };
525
558
  }
@@ -534,29 +567,29 @@
534
567
  }
535
568
  function VoiceCallJS$sendDTMF$lambda(this$0, $digits) {
536
569
  return function (resolve, reject) {
537
- this$0.e2d_1.y21($digits, VoiceCallJS$sendDTMF$lambda$lambda(reject, resolve));
570
+ this$0.i2f_1.j22($digits, VoiceCallJS$sendDTMF$lambda$lambda(reject, resolve));
538
571
  return Unit_getInstance();
539
572
  };
540
573
  }
541
574
  function VoiceCallJS(call) {
542
- this.e2d_1 = call;
543
- this.f2d_1 = this.e2d_1.c21_1;
575
+ this.i2f_1 = call;
576
+ this.j2f_1 = this.i2f_1.p21_1;
544
577
  }
545
- VoiceCallJS.prototype.o1k = function () {
546
- return this.f2d_1;
578
+ VoiceCallJS.prototype.u1n = function () {
579
+ return this.j2f_1;
547
580
  };
548
581
  VoiceCallJS.prototype.hangup = function (reasonText, reasonCode) {
549
- return this.g2d(reasonText === void 1 ? null : reasonText, reasonCode === void 1 ? null : reasonCode);
582
+ return this.k2f(reasonText === void 1 ? null : reasonText, reasonCode === void 1 ? null : reasonCode);
550
583
  };
551
- VoiceCallJS.prototype.g2d = function (reasonText, reasonCode) {
584
+ VoiceCallJS.prototype.k2f = function (reasonText, reasonCode) {
552
585
  return new Promise(VoiceCallJS$hangup$lambda(this, reasonText, reasonCode));
553
586
  };
554
- VoiceCallJS.prototype.h2d = function (reasonText, reasonCode, $mask0, $handler) {
587
+ VoiceCallJS.prototype.l2f = function (reasonText, reasonCode, $mask0, $handler) {
555
588
  if (!(($mask0 & 1) === 0))
556
589
  reasonText = null;
557
590
  if (!(($mask0 & 2) === 0))
558
591
  reasonCode = null;
559
- return this.g2d(reasonText, reasonCode);
592
+ return this.k2f(reasonText, reasonCode);
560
593
  };
561
594
  VoiceCallJS.prototype.say = function (params) {
562
595
  return new Promise(VoiceCallJS$say$lambda(this, params));
@@ -579,43 +612,43 @@
579
612
  VoiceCallJS.$metadata$ = classMeta('VoiceCallJS');
580
613
  Object.defineProperty(VoiceCallJS.prototype, 'id', {
581
614
  configurable: true,
582
- get: VoiceCallJS.prototype.o1k
615
+ get: VoiceCallJS.prototype.u1n
583
616
  });
584
617
  function VoiceInviteFromInfoJS(id, type) {
585
- this.i2d_1 = id;
586
- this.j2d_1 = type;
618
+ this.m2f_1 = id;
619
+ this.n2f_1 = type;
587
620
  }
588
- VoiceInviteFromInfoJS.prototype.o1k = function () {
589
- return this.i2d_1;
621
+ VoiceInviteFromInfoJS.prototype.u1n = function () {
622
+ return this.m2f_1;
590
623
  };
591
- VoiceInviteFromInfoJS.prototype.k2d = function () {
592
- return this.j2d_1;
624
+ VoiceInviteFromInfoJS.prototype.o2f = function () {
625
+ return this.n2f_1;
593
626
  };
594
627
  VoiceInviteFromInfoJS.prototype.component1 = function () {
595
- return this.i2d_1;
628
+ return this.m2f_1;
596
629
  };
597
630
  VoiceInviteFromInfoJS.prototype.component2 = function () {
598
- return this.j2d_1;
631
+ return this.n2f_1;
599
632
  };
600
633
  VoiceInviteFromInfoJS.prototype.copy = function (id, type) {
601
- return this.l2d(id === void 1 ? this.i2d_1 : id, type === void 1 ? this.j2d_1 : type);
634
+ return this.p2f(id === void 1 ? this.m2f_1 : id, type === void 1 ? this.n2f_1 : type);
602
635
  };
603
- VoiceInviteFromInfoJS.prototype.l2d = function (id, type) {
636
+ VoiceInviteFromInfoJS.prototype.p2f = function (id, type) {
604
637
  return new VoiceInviteFromInfoJS(id, type);
605
638
  };
606
- VoiceInviteFromInfoJS.prototype.m2d = function (id, type, $mask0, $handler) {
639
+ VoiceInviteFromInfoJS.prototype.q2f = function (id, type, $mask0, $handler) {
607
640
  if (!(($mask0 & 1) === 0))
608
- id = this.i2d_1;
641
+ id = this.m2f_1;
609
642
  if (!(($mask0 & 2) === 0))
610
- type = this.j2d_1;
611
- return this.l2d(id, type);
643
+ type = this.n2f_1;
644
+ return this.p2f(id, type);
612
645
  };
613
646
  VoiceInviteFromInfoJS.prototype.toString = function () {
614
- return 'VoiceInviteFromInfoJS(id=' + this.i2d_1 + ', type=' + this.j2d_1 + ')';
647
+ return 'VoiceInviteFromInfoJS(id=' + this.m2f_1 + ', type=' + this.n2f_1 + ')';
615
648
  };
616
649
  VoiceInviteFromInfoJS.prototype.hashCode = function () {
617
- var result = this.i2d_1 == null ? 0 : getStringHashCode(this.i2d_1);
618
- result = imul(result, 31) + getStringHashCode(this.j2d_1) | 0;
650
+ var result = this.m2f_1 == null ? 0 : getStringHashCode(this.m2f_1);
651
+ result = imul(result, 31) + getStringHashCode(this.n2f_1) | 0;
619
652
  return result;
620
653
  };
621
654
  VoiceInviteFromInfoJS.prototype.equals = function (other) {
@@ -624,24 +657,24 @@
624
657
  if (!(other instanceof VoiceInviteFromInfoJS))
625
658
  return false;
626
659
  var tmp0_other_with_cast = other instanceof VoiceInviteFromInfoJS ? other : THROW_CCE();
627
- if (!(this.i2d_1 == tmp0_other_with_cast.i2d_1))
660
+ if (!(this.m2f_1 == tmp0_other_with_cast.m2f_1))
628
661
  return false;
629
- if (!(this.j2d_1 === tmp0_other_with_cast.j2d_1))
662
+ if (!(this.n2f_1 === tmp0_other_with_cast.n2f_1))
630
663
  return false;
631
664
  return true;
632
665
  };
633
666
  VoiceInviteFromInfoJS.$metadata$ = classMeta('VoiceInviteFromInfoJS');
634
667
  Object.defineProperty(VoiceInviteFromInfoJS.prototype, 'id', {
635
668
  configurable: true,
636
- get: VoiceInviteFromInfoJS.prototype.o1k
669
+ get: VoiceInviteFromInfoJS.prototype.u1n
637
670
  });
638
671
  Object.defineProperty(VoiceInviteFromInfoJS.prototype, 'type', {
639
672
  configurable: true,
640
- get: VoiceInviteFromInfoJS.prototype.k2d
673
+ get: VoiceInviteFromInfoJS.prototype.o2f
641
674
  });
642
675
  function VoiceInviteJS_init_$Init$(invite, from, $mask0, $marker, $this) {
643
676
  if (!(($mask0 & 2) === 0))
644
- from = new VoiceInviteFromInfoJS(invite.i22_1.n22_1, invite.i22_1.o22_1);
677
+ from = new VoiceInviteFromInfoJS(invite.t22_1.j23_1, invite.t22_1.k23_1);
645
678
  VoiceInviteJS.call($this, invite, from);
646
679
  return $this;
647
680
  }
@@ -663,7 +696,7 @@
663
696
  }
664
697
  function VoiceInviteJS$answerCall$lambda(this$0) {
665
698
  return function (resolve, reject) {
666
- this$0.n2d_1.j22(VoiceInviteJS$answerCall$lambda$lambda(reject, resolve));
699
+ this$0.r2f_1.g23(VoiceInviteJS$answerCall$lambda$lambda(reject, resolve));
667
700
  return Unit_getInstance();
668
701
  };
669
702
  }
@@ -680,16 +713,16 @@
680
713
  }
681
714
  function VoiceInviteJS$rejectCall$lambda(this$0) {
682
715
  return function (resolve, reject) {
683
- this$0.n2d_1.m22(VoiceInviteJS$rejectCall$lambda$lambda(reject, resolve));
716
+ this$0.r2f_1.h23(VoiceInviteJS$rejectCall$lambda$lambda(reject, resolve));
684
717
  return Unit_getInstance();
685
718
  };
686
719
  }
687
720
  function VoiceInviteJS(invite, from) {
688
- this.n2d_1 = invite;
689
- this.o2d_1 = from;
721
+ this.r2f_1 = invite;
722
+ this.s2f_1 = from;
690
723
  }
691
- VoiceInviteJS.prototype.v1j = function () {
692
- return this.o2d_1;
724
+ VoiceInviteJS.prototype.j1i = function () {
725
+ return this.s2f_1;
693
726
  };
694
727
  VoiceInviteJS.prototype.answerCall = function () {
695
728
  return new Promise(VoiceInviteJS$answerCall$lambda(this));
@@ -700,34 +733,34 @@
700
733
  VoiceInviteJS.$metadata$ = classMeta('VoiceInviteJS');
701
734
  Object.defineProperty(VoiceInviteJS.prototype, 'from', {
702
735
  configurable: true,
703
- get: VoiceInviteJS.prototype.v1j
736
+ get: VoiceInviteJS.prototype.j1i
704
737
  });
705
738
  function ConversationJS(conversation) {
706
- this.p2d_1 = conversation;
707
- this.q2d_1 = this.p2d_1.z1y_1;
739
+ this.t2f_1 = conversation;
740
+ this.u2f_1 = this.t2f_1.n1z_1;
708
741
  }
709
- ConversationJS.prototype.r2d = function (_set____db54di) {
710
- this.q2d_1 = _set____db54di;
742
+ ConversationJS.prototype.v2f = function (_set____db54di) {
743
+ this.u2f_1 = _set____db54di;
711
744
  };
712
- ConversationJS.prototype.o1k = function () {
713
- return this.q2d_1;
745
+ ConversationJS.prototype.u1n = function () {
746
+ return this.u2f_1;
714
747
  };
715
748
  ConversationJS.prototype.copy = function (conversation) {
716
- return this.s2d(conversation === void 1 ? this.p2d_1 : conversation);
749
+ return this.w2f(conversation === void 1 ? this.t2f_1 : conversation);
717
750
  };
718
- ConversationJS.prototype.s2d = function (conversation) {
751
+ ConversationJS.prototype.w2f = function (conversation) {
719
752
  return new ConversationJS(conversation);
720
753
  };
721
- ConversationJS.prototype.t2d = function (conversation, $mask0, $handler) {
754
+ ConversationJS.prototype.x2f = function (conversation, $mask0, $handler) {
722
755
  if (!(($mask0 & 1) === 0))
723
- conversation = this.p2d_1;
724
- return this.s2d(conversation);
756
+ conversation = this.t2f_1;
757
+ return this.w2f(conversation);
725
758
  };
726
759
  ConversationJS.prototype.toString = function () {
727
- return 'ConversationJS(conversation=' + this.p2d_1 + ')';
760
+ return 'ConversationJS(conversation=' + this.t2f_1 + ')';
728
761
  };
729
762
  ConversationJS.prototype.hashCode = function () {
730
- return this.p2d_1.hashCode();
763
+ return this.t2f_1.hashCode();
731
764
  };
732
765
  ConversationJS.prototype.equals = function (other) {
733
766
  if (this === other)
@@ -735,15 +768,15 @@
735
768
  if (!(other instanceof ConversationJS))
736
769
  return false;
737
770
  var tmp0_other_with_cast = other instanceof ConversationJS ? other : THROW_CCE();
738
- if (!this.p2d_1.equals(tmp0_other_with_cast.p2d_1))
771
+ if (!this.t2f_1.equals(tmp0_other_with_cast.t2f_1))
739
772
  return false;
740
773
  return true;
741
774
  };
742
775
  ConversationJS.$metadata$ = classMeta('ConversationJS');
743
776
  Object.defineProperty(ConversationJS.prototype, 'id', {
744
777
  configurable: true,
745
- get: ConversationJS.prototype.o1k,
746
- set: ConversationJS.prototype.r2d
778
+ get: ConversationJS.prototype.u1n,
779
+ set: ConversationJS.prototype.v2f
747
780
  });
748
781
  function get_jsonNullable(_this__u8e3s4) {
749
782
  var tmp0_subject = _this__u8e3s4;
@@ -814,60 +847,60 @@
814
847
  }
815
848
  var REASON_PING_TIMEOUT;
816
849
  function RTCQualityJS(callQuality) {
817
- this.u2d_1 = callQuality;
818
- this.v2d_1 = this.u2d_1.z24_1;
819
- this.w2d_1 = this.u2d_1.a25_1;
820
- this.x2d_1 = this.u2d_1.b25_1;
821
- this.y2d_1 = this.u2d_1.c25_1;
822
- this.z2d_1 = this.u2d_1.d25_1;
823
- this.a2e_1 = this.u2d_1.e25_1;
824
- this.b2e_1 = this.u2d_1.f25_1;
825
- this.c2e_1 = this.u2d_1.g25_1;
826
- this.d2e_1 = this.u2d_1.h25_1;
850
+ this.y2f_1 = callQuality;
851
+ this.z2f_1 = this.y2f_1.t26_1;
852
+ this.a2g_1 = this.y2f_1.u26_1;
853
+ this.b2g_1 = this.y2f_1.v26_1;
854
+ this.c2g_1 = this.y2f_1.w26_1;
855
+ this.d2g_1 = this.y2f_1.x26_1;
856
+ this.e2g_1 = this.y2f_1.y26_1;
857
+ this.f2g_1 = this.y2f_1.z26_1;
858
+ this.g2g_1 = this.y2f_1.a27_1;
859
+ this.h2g_1 = this.y2f_1.b27_1;
827
860
  }
828
- RTCQualityJS.prototype.e2e = function () {
829
- return this.v2d_1;
861
+ RTCQualityJS.prototype.i2g = function () {
862
+ return this.z2f_1;
830
863
  };
831
- RTCQualityJS.prototype.f2e = function () {
832
- return this.w2d_1;
864
+ RTCQualityJS.prototype.j2g = function () {
865
+ return this.a2g_1;
833
866
  };
834
- RTCQualityJS.prototype.g2e = function () {
835
- return this.x2d_1;
867
+ RTCQualityJS.prototype.k2g = function () {
868
+ return this.b2g_1;
836
869
  };
837
- RTCQualityJS.prototype.h2e = function () {
838
- return this.y2d_1;
870
+ RTCQualityJS.prototype.l2g = function () {
871
+ return this.c2g_1;
839
872
  };
840
- RTCQualityJS.prototype.i2e = function () {
841
- return this.z2d_1;
873
+ RTCQualityJS.prototype.m2g = function () {
874
+ return this.d2g_1;
842
875
  };
843
- RTCQualityJS.prototype.j2e = function () {
844
- return this.a2e_1;
876
+ RTCQualityJS.prototype.n2g = function () {
877
+ return this.e2g_1;
845
878
  };
846
- RTCQualityJS.prototype.k2e = function () {
847
- return this.b2e_1;
879
+ RTCQualityJS.prototype.o2g = function () {
880
+ return this.f2g_1;
848
881
  };
849
- RTCQualityJS.prototype.l2e = function () {
850
- return this.c2e_1;
882
+ RTCQualityJS.prototype.p2g = function () {
883
+ return this.g2g_1;
851
884
  };
852
- RTCQualityJS.prototype.m2e = function () {
853
- return this.d2e_1;
885
+ RTCQualityJS.prototype.q2g = function () {
886
+ return this.h2g_1;
854
887
  };
855
888
  RTCQualityJS.prototype.copy = function (callQuality) {
856
- return this.n2e(callQuality === void 1 ? this.u2d_1 : callQuality);
889
+ return this.r2g(callQuality === void 1 ? this.y2f_1 : callQuality);
857
890
  };
858
- RTCQualityJS.prototype.n2e = function (callQuality) {
891
+ RTCQualityJS.prototype.r2g = function (callQuality) {
859
892
  return new RTCQualityJS(callQuality);
860
893
  };
861
- RTCQualityJS.prototype.o2e = function (callQuality, $mask0, $handler) {
894
+ RTCQualityJS.prototype.s2g = function (callQuality, $mask0, $handler) {
862
895
  if (!(($mask0 & 1) === 0))
863
- callQuality = this.u2d_1;
864
- return this.n2e(callQuality);
896
+ callQuality = this.y2f_1;
897
+ return this.r2g(callQuality);
865
898
  };
866
899
  RTCQualityJS.prototype.toString = function () {
867
- return 'RTCQualityJS(callQuality=' + this.u2d_1 + ')';
900
+ return 'RTCQualityJS(callQuality=' + this.y2f_1 + ')';
868
901
  };
869
902
  RTCQualityJS.prototype.hashCode = function () {
870
- return this.u2d_1.hashCode();
903
+ return this.y2f_1.hashCode();
871
904
  };
872
905
  RTCQualityJS.prototype.equals = function (other) {
873
906
  if (this === other)
@@ -875,46 +908,46 @@
875
908
  if (!(other instanceof RTCQualityJS))
876
909
  return false;
877
910
  var tmp0_other_with_cast = other instanceof RTCQualityJS ? other : THROW_CCE();
878
- if (!this.u2d_1.equals(tmp0_other_with_cast.u2d_1))
911
+ if (!this.y2f_1.equals(tmp0_other_with_cast.y2f_1))
879
912
  return false;
880
913
  return true;
881
914
  };
882
915
  RTCQualityJS.$metadata$ = classMeta('RTCQualityJS');
883
916
  Object.defineProperty(RTCQualityJS.prototype, 'mos_score', {
884
917
  configurable: true,
885
- get: RTCQualityJS.prototype.e2e
918
+ get: RTCQualityJS.prototype.i2g
886
919
  });
887
920
  Object.defineProperty(RTCQualityJS.prototype, 'quality_percentage', {
888
921
  configurable: true,
889
- get: RTCQualityJS.prototype.f2e
922
+ get: RTCQualityJS.prototype.j2g
890
923
  });
891
924
  Object.defineProperty(RTCQualityJS.prototype, 'jitter_min_var', {
892
925
  configurable: true,
893
- get: RTCQualityJS.prototype.g2e
926
+ get: RTCQualityJS.prototype.k2g
894
927
  });
895
928
  Object.defineProperty(RTCQualityJS.prototype, 'jitter_max_var', {
896
929
  configurable: true,
897
- get: RTCQualityJS.prototype.h2e
930
+ get: RTCQualityJS.prototype.l2g
898
931
  });
899
932
  Object.defineProperty(RTCQualityJS.prototype, 'jitter_loss_rate', {
900
933
  configurable: true,
901
- get: RTCQualityJS.prototype.i2e
934
+ get: RTCQualityJS.prototype.m2g
902
935
  });
903
936
  Object.defineProperty(RTCQualityJS.prototype, 'jitter_burst_rate', {
904
937
  configurable: true,
905
- get: RTCQualityJS.prototype.j2e
938
+ get: RTCQualityJS.prototype.n2g
906
939
  });
907
940
  Object.defineProperty(RTCQualityJS.prototype, 'flaw_total', {
908
941
  configurable: true,
909
- get: RTCQualityJS.prototype.k2e
942
+ get: RTCQualityJS.prototype.o2g
910
943
  });
911
944
  Object.defineProperty(RTCQualityJS.prototype, 'packet_cnt', {
912
945
  configurable: true,
913
- get: RTCQualityJS.prototype.l2e
946
+ get: RTCQualityJS.prototype.p2g
914
947
  });
915
948
  Object.defineProperty(RTCQualityJS.prototype, 'packet_loss_perc', {
916
949
  configurable: true,
917
- get: RTCQualityJS.prototype.m2e
950
+ get: RTCQualityJS.prototype.q2g
918
951
  });
919
952
  function HttpClientJSAdapter(js) {
920
953
  return new HttpClientJSAdapter$1(js);
@@ -926,7 +959,6 @@
926
959
  }
927
960
  function MediaClientJSAdapter(js) {
928
961
  var adapter = new MediaClientJSAdapter$adapter$1(js);
929
- js.delegate = new MediaClientJSAdapter$1(adapter);
930
962
  return adapter;
931
963
  }
932
964
  function HttpClientJSAdapter$o$request$lambda($callback) {
@@ -939,9 +971,9 @@
939
971
  };
940
972
  }
941
973
  function HttpClientJSAdapter$1($js) {
942
- this.p2e_1 = $js;
974
+ this.t2g_1 = $js;
943
975
  }
944
- HttpClientJSAdapter$1.prototype.f1b = function (verb, url, headers, body, callback) {
976
+ HttpClientJSAdapter$1.prototype.j1b = function (verb, url, headers, body, callback) {
945
977
  var tmp = verb.toString();
946
978
  var tmp$ret$1;
947
979
  // Inline function 'kotlin.let' call
@@ -951,7 +983,7 @@
951
983
  tmp$ret$0 = fromMap(JSON, headers);
952
984
  tmp$ret$1 = tmp$ret$0;
953
985
  var tmp_0 = tmp$ret$1;
954
- this.p2e_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
986
+ this.t2g_1.request(tmp, url, tmp_0, body, HttpClientJSAdapter$o$request$lambda(callback));
955
987
  };
956
988
  HttpClientJSAdapter$1.$metadata$ = classMeta(undefined, [HTTPClient]);
957
989
  function SocketClientJSAdapter$o$emit$lambda($callback) {
@@ -975,16 +1007,16 @@
975
1007
  };
976
1008
  }
977
1009
  function SocketClientJSAdapter$adapter$1($js) {
978
- this.r2e_1 = $js;
979
- this.q2e_1 = null;
1010
+ this.v2g_1 = $js;
1011
+ this.u2g_1 = null;
980
1012
  }
981
- SocketClientJSAdapter$adapter$1.prototype.i1b = function (_set____db54di) {
982
- this.q2e_1 = _set____db54di;
1013
+ SocketClientJSAdapter$adapter$1.prototype.m1b = function (_set____db54di) {
1014
+ this.u2g_1 = _set____db54di;
983
1015
  };
984
- SocketClientJSAdapter$adapter$1.prototype.z22 = function () {
985
- return this.q2e_1;
1016
+ SocketClientJSAdapter$adapter$1.prototype.a24 = function () {
1017
+ return this.u2g_1;
986
1018
  };
987
- SocketClientJSAdapter$adapter$1.prototype.j1b = function (type, msg, callback) {
1019
+ SocketClientJSAdapter$adapter$1.prototype.n1b = function (type, msg, callback) {
988
1020
  var tmp0_safe_receiver = msg;
989
1021
  var tmp;
990
1022
  if (tmp0_safe_receiver == null) {
@@ -1000,30 +1032,30 @@
1000
1032
  tmp = tmp$ret$1;
1001
1033
  }
1002
1034
  var tmp_0 = tmp;
1003
- this.r2e_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
1035
+ this.v2g_1.emit(type, tmp_0, SocketClientJSAdapter$o$emit$lambda(callback));
1004
1036
  };
1005
- SocketClientJSAdapter$adapter$1.prototype.k1b = function (host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, session_id, query) {
1006
- this.r2e_1.connect(host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, query);
1037
+ SocketClientJSAdapter$adapter$1.prototype.o1b = function (host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, token, session_id, query) {
1038
+ this.v2g_1.connect(host, path, reconnectionAttempts, reconnectionDelay, randomizationFactor, query);
1007
1039
  };
1008
- SocketClientJSAdapter$adapter$1.prototype.l1b = function () {
1009
- this.r2e_1.disconnect();
1040
+ SocketClientJSAdapter$adapter$1.prototype.p1b = function () {
1041
+ this.v2g_1.disconnect();
1010
1042
  };
1011
- SocketClientJSAdapter$adapter$1.prototype.m1b = function (token) {
1012
- this.r2e_1.setConnectParamsSocketConfig(token);
1043
+ SocketClientJSAdapter$adapter$1.prototype.q1b = function (token) {
1044
+ this.v2g_1.setConnectParamsSocketConfig(token);
1013
1045
  };
1014
- SocketClientJSAdapter$adapter$1.prototype.n1b = function (milliseconds, callback) {
1015
- this.r2e_1.startVerifyResponseTimer(milliseconds, callback);
1046
+ SocketClientJSAdapter$adapter$1.prototype.r1b = function (milliseconds, callback) {
1047
+ this.v2g_1.startVerifyResponseTimer(milliseconds, callback);
1016
1048
  };
1017
1049
  SocketClientJSAdapter$adapter$1.$metadata$ = classMeta(undefined, [SocketClient]);
1018
1050
  function SocketClientJSAdapter$1($adapter) {
1019
- this.s2e_1 = $adapter;
1051
+ this.w2g_1 = $adapter;
1020
1052
  }
1021
1053
  SocketClientJSAdapter$1.prototype.didReceiveNewSocketEvent = function (type, body) {
1022
- var tmp0_safe_receiver = this.s2e_1.q2e_1;
1054
+ var tmp0_safe_receiver = this.w2g_1.u2g_1;
1023
1055
  if (tmp0_safe_receiver == null)
1024
1056
  null;
1025
1057
  else {
1026
- tmp0_safe_receiver.j27(new UnknownSocketEvent(body, type));
1058
+ tmp0_safe_receiver.e29(new UnknownSocketEvent(body, type));
1027
1059
  }
1028
1060
  };
1029
1061
  SocketClientJSAdapter$1.prototype.didReceiveNewSocketConnectionStatusEvent = function (type, reason) {
@@ -1057,60 +1089,60 @@
1057
1089
  var tmp;
1058
1090
  switch (tmp0_subject_0) {
1059
1091
  case 'NXMCORE_REASON_SERVER_DISCONNECTED':
1060
- var tmp1_safe_receiver_0 = this.s2e_1.q2e_1;
1092
+ var tmp1_safe_receiver_0 = this.w2g_1.u2g_1;
1061
1093
  var tmp_0;
1062
1094
  if (tmp1_safe_receiver_0 == null) {
1063
1095
  tmp_0 = null;
1064
1096
  } else {
1065
- tmp1_safe_receiver_0.k27(tmp1_safe_receiver, SocketConnectionFailedReason_ServerDisconnected_getInstance());
1097
+ tmp1_safe_receiver_0.f29(tmp1_safe_receiver, SocketConnectionFailedReason_ServerDisconnected_getInstance());
1066
1098
  tmp_0 = Unit_getInstance();
1067
1099
  }
1068
1100
 
1069
1101
  tmp = tmp_0;
1070
1102
  break;
1071
1103
  case 'NXMCORE_REASON_CLIENT_DISCONNECTED':
1072
- var tmp2_safe_receiver = this.s2e_1.q2e_1;
1104
+ var tmp2_safe_receiver = this.w2g_1.u2g_1;
1073
1105
  var tmp_1;
1074
1106
  if (tmp2_safe_receiver == null) {
1075
1107
  tmp_1 = null;
1076
1108
  } else {
1077
- tmp2_safe_receiver.k27(tmp1_safe_receiver, SocketConnectionFailedReason_ClientDisconnected_getInstance());
1109
+ tmp2_safe_receiver.f29(tmp1_safe_receiver, SocketConnectionFailedReason_ClientDisconnected_getInstance());
1078
1110
  tmp_1 = Unit_getInstance();
1079
1111
  }
1080
1112
 
1081
1113
  tmp = tmp_1;
1082
1114
  break;
1083
1115
  case 'NXMCORE_CLIENT_NETWORK_ERROR':
1084
- var tmp3_safe_receiver = this.s2e_1.q2e_1;
1116
+ var tmp3_safe_receiver = this.w2g_1.u2g_1;
1085
1117
  var tmp_2;
1086
1118
  if (tmp3_safe_receiver == null) {
1087
1119
  tmp_2 = null;
1088
1120
  } else {
1089
- tmp3_safe_receiver.k27(tmp1_safe_receiver, SocketConnectionFailedReason_ClientNetworkError_getInstance());
1121
+ tmp3_safe_receiver.f29(tmp1_safe_receiver, SocketConnectionFailedReason_ClientNetworkError_getInstance());
1090
1122
  tmp_2 = Unit_getInstance();
1091
1123
  }
1092
1124
 
1093
1125
  tmp = tmp_2;
1094
1126
  break;
1095
1127
  case 'NXMCORE_REASON_PING_TIMEOUT':
1096
- var tmp4_safe_receiver = this.s2e_1.q2e_1;
1128
+ var tmp4_safe_receiver = this.w2g_1.u2g_1;
1097
1129
  var tmp_3;
1098
1130
  if (tmp4_safe_receiver == null) {
1099
1131
  tmp_3 = null;
1100
1132
  } else {
1101
- tmp4_safe_receiver.k27(tmp1_safe_receiver, SocketConnectionFailedReason_PingTimeout_getInstance());
1133
+ tmp4_safe_receiver.f29(tmp1_safe_receiver, SocketConnectionFailedReason_PingTimeout_getInstance());
1102
1134
  tmp_3 = Unit_getInstance();
1103
1135
  }
1104
1136
 
1105
1137
  tmp = tmp_3;
1106
1138
  break;
1107
1139
  default:
1108
- var tmp5_safe_receiver = this.s2e_1.q2e_1;
1140
+ var tmp5_safe_receiver = this.w2g_1.u2g_1;
1109
1141
  var tmp_4;
1110
1142
  if (tmp5_safe_receiver == null) {
1111
1143
  tmp_4 = null;
1112
1144
  } else {
1113
- tmp5_safe_receiver.k27(tmp1_safe_receiver, null);
1145
+ tmp5_safe_receiver.f29(tmp1_safe_receiver, null);
1114
1146
  tmp_4 = Unit_getInstance();
1115
1147
  }
1116
1148
 
@@ -1123,59 +1155,30 @@
1123
1155
  };
1124
1156
  SocketClientJSAdapter$1.$metadata$ = classMeta();
1125
1157
  function MediaClientJSAdapter$adapter$1($js) {
1126
- this.u2e_1 = $js;
1127
- this.t2e_1 = null;
1158
+ this.x2g_1 = $js;
1128
1159
  }
1129
- MediaClientJSAdapter$adapter$1.prototype.q1b = function (_set____db54di) {
1130
- this.t2e_1 = _set____db54di;
1160
+ MediaClientJSAdapter$adapter$1.prototype.u1b = function (closure) {
1161
+ this.x2g_1.enableMediaOutbound(closure);
1131
1162
  };
1132
- MediaClientJSAdapter$adapter$1.prototype.r1b = function (id) {
1133
- this.u2e_1.enableMedia(id, null);
1163
+ MediaClientJSAdapter$adapter$1.prototype.y2g = function (closure, offerSDP, rtcId) {
1164
+ this.x2g_1.enableMediaInbound(closure, offerSDP, rtcId);
1134
1165
  };
1135
- MediaClientJSAdapter$adapter$1.prototype.s1b = function (id, remoteDescription) {
1136
- this.u2e_1.enableMedia(id, remoteDescription);
1166
+ MediaClientJSAdapter$adapter$1.prototype.v1b = function (closure, offerSDP, rtcId) {
1167
+ return this.y2g(closure, offerSDP, rtcId);
1137
1168
  };
1138
- MediaClientJSAdapter$adapter$1.prototype.t1b = function (id, sdp, streamId, legId) {
1139
- this.u2e_1.processAnswer(id, sdp, streamId, legId);
1169
+ MediaClientJSAdapter$adapter$1.prototype.w1b = function (id, sdp) {
1170
+ this.x2g_1.processAnswer(id, sdp);
1140
1171
  };
1141
- MediaClientJSAdapter$adapter$1.prototype.u1b = function (id) {
1142
- this.u2e_1.disableMedia(id);
1172
+ MediaClientJSAdapter$adapter$1.prototype.x1b = function (id) {
1173
+ this.x2g_1.disableMedia(id);
1143
1174
  };
1144
- MediaClientJSAdapter$adapter$1.prototype.v1b = function (id) {
1145
- this.u2e_1.mute(id);
1175
+ MediaClientJSAdapter$adapter$1.prototype.y1b = function (id) {
1176
+ this.x2g_1.mute(id);
1146
1177
  };
1147
- MediaClientJSAdapter$adapter$1.prototype.w1b = function (id) {
1148
- this.u2e_1.unmute(id);
1178
+ MediaClientJSAdapter$adapter$1.prototype.z1b = function (id) {
1179
+ this.x2g_1.unmute(id);
1149
1180
  };
1150
1181
  MediaClientJSAdapter$adapter$1.$metadata$ = classMeta(undefined, [MediaClient]);
1151
- function MediaClientJSAdapter$1($adapter) {
1152
- this.v2e_1 = $adapter;
1153
- }
1154
- MediaClientJSAdapter$1.prototype.onOffer = function (mediaId, streamId, sdp, callback) {
1155
- var tmp0_safe_receiver = this.v2e_1.t2e_1;
1156
- if (tmp0_safe_receiver == null)
1157
- null;
1158
- else {
1159
- tmp0_safe_receiver.g27(mediaId, streamId, sdp, callback);
1160
- }
1161
- };
1162
- MediaClientJSAdapter$1.prototype.onAnswer = function (mediaId, streamId, sdp, callback) {
1163
- var tmp0_safe_receiver = this.v2e_1.t2e_1;
1164
- if (tmp0_safe_receiver == null)
1165
- null;
1166
- else {
1167
- tmp0_safe_receiver.h27(mediaId, streamId, sdp, callback);
1168
- }
1169
- };
1170
- MediaClientJSAdapter$1.prototype.onError = function (mediaId, error) {
1171
- var tmp0_safe_receiver = this.v2e_1.t2e_1;
1172
- if (tmp0_safe_receiver == null)
1173
- null;
1174
- else {
1175
- tmp0_safe_receiver.i27(mediaId, Exception_init_$Create$(error));
1176
- }
1177
- };
1178
- MediaClientJSAdapter$1.$metadata$ = classMeta();
1179
1182
  function entriesOf(jsObject) {
1180
1183
  var tmp$ret$2;
1181
1184
  // Inline function 'kotlin.collections.map' call