@vonage/client-sdk 2.6.2-snapshot.202608250912 → 2.6.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.
@@ -36565,7 +36565,7 @@ function requireKotlinDateTimeLibraryKotlinxDatetime () {
36565
36565
  return tmp;
36566
36566
  }
36567
36567
  initMetadataForInterface(AbstractWithOffsetBuilder, 'AbstractWithOffsetBuilder', VOID, VOID, [WithUtcOffset]);
36568
- initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithUtcOffset, WithDate, WithTime]);
36568
+ initMetadataForClass(Builder, 'Builder', VOID, VOID, [AbstractDateTimeFormatBuilder, AbstractWithDateTimeBuilder, AbstractWithOffsetBuilder, WithDate, WithTime, WithUtcOffset]);
36569
36569
  initMetadataForClass(AbstractDateTimeFormat, 'AbstractDateTimeFormat');
36570
36570
  initMetadataForClass(DateTimeComponentsFormat, 'DateTimeComponentsFormat', VOID, AbstractDateTimeFormat);
36571
36571
  initMetadataForClass(TwoDigitNumber, 'TwoDigitNumber');
@@ -43782,16 +43782,6 @@ function requireClientsdkClientcore () {
43782
43782
  initMetadataForCompanion(Companion_149);
43783
43783
  initMetadataForObject($serializer_172, '$serializer', VOID, VOID, [GeneratedSerializer]);
43784
43784
  initMetadataForClass(SessionTerminatedEvent, 'SessionTerminatedEvent', VOID, VOID, [SocketEvent], VOID, VOID, {0: $serializer_getInstance_172});
43785
- function onConversationEvent(event) {
43786
- }
43787
- initMetadataForInterface(ConversationEventListener, 'ConversationEventListener');
43788
- function onRTCHangup(conversationId, legId, hangup) {
43789
- }
43790
- function onRTCTransfer(conversationId, legId) {
43791
- }
43792
- function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
43793
- }
43794
- initMetadataForInterface(RTCEventListener, 'RTCEventListener');
43795
43785
  function onAudioSay() {
43796
43786
  }
43797
43787
  function onAudioMuteUpdate(conversationId, legId, isMuted) {
@@ -43801,7 +43791,17 @@ function requireClientsdkClientcore () {
43801
43791
  function onAudioDTMFUpdate(conversationId, legId, digits) {
43802
43792
  }
43803
43793
  initMetadataForInterface(AudioEventListener, 'AudioEventListener');
43804
- initMetadataForClass(ChatAPIImpl$1, VOID, VOID, VOID, [ConversationEventListener, RTCEventListener, AudioEventListener]);
43794
+ function onRTCHangup(conversationId, legId, hangup) {
43795
+ }
43796
+ function onRTCTransfer(conversationId, legId) {
43797
+ }
43798
+ function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
43799
+ }
43800
+ initMetadataForInterface(RTCEventListener, 'RTCEventListener');
43801
+ function onConversationEvent(event) {
43802
+ }
43803
+ initMetadataForInterface(ConversationEventListener, 'ConversationEventListener');
43804
+ initMetadataForClass(ChatAPIImpl$1, VOID, VOID, VOID, [AudioEventListener, RTCEventListener, ConversationEventListener]);
43805
43805
  initMetadataForClass(ChatAPIImpl, 'ChatAPIImpl', VOID, VOID, [ChatAPI]);
43806
43806
  initMetadataForClass(LoggingLevel, 'LoggingLevel', VOID, Enum);
43807
43807
  initMetadataForObject(DefaultConfig, 'DefaultConfig');
@@ -43814,6 +43814,7 @@ function requireClientsdkClientcore () {
43814
43814
  initMetadataForClass(NoCallFound, 'NoCallFound', NoCallFound, InternalError);
43815
43815
  initMetadataForClass(NoCallMediaFound, 'NoCallMediaFound', NoCallMediaFound, InternalError);
43816
43816
  initMetadataForClass(MediaTimeout, 'MediaTimeout', MediaTimeout, InternalError);
43817
+ initMetadataForClass(MediaSetupFailed, 'MediaSetupFailed', VOID, InternalError);
43817
43818
  initMetadataForClass(NoInviteFound, 'NoInviteFound', NoInviteFound, InternalError);
43818
43819
  initMetadataForClass(InvalidCallAction, 'InvalidCallAction', InvalidCallAction, InternalError);
43819
43820
  initMetadataForClass(NoOfferFound, 'NoOfferFound', NoOfferFound, InternalError);
@@ -43960,7 +43961,7 @@ function requireClientsdkClientcore () {
43960
43961
  initMetadataForClass(HangupReason, 'HangupReason', VOID, Enum);
43961
43962
  initMetadataForClass(LegStatus, 'LegStatus', VOID, Enum);
43962
43963
  initMetadataForClass(CallDisconnectReason, 'CallDisconnectReason', VOID, Enum);
43963
- initMetadataForClass(VoiceAPIImpl$1, VOID, VOID, VOID, [ConversationEventListener, RTCEventListener, AudioEventListener]);
43964
+ initMetadataForClass(VoiceAPIImpl$1, VOID, VOID, VOID, [AudioEventListener, RTCEventListener, ConversationEventListener]);
43964
43965
  initMetadataForClass(VoiceAPIImpl, 'VoiceAPIImpl');
43965
43966
  initMetadataForInterface(CallEvent, 'CallEvent');
43966
43967
  initMetadataForClass(SetupOutboundCall, 'SetupOutboundCall', VOID, VOID, [CallEvent]);
@@ -44180,7 +44181,7 @@ function requireClientsdkClientcore () {
44180
44181
  initMetadataForClass(runAfterDelay$1);
44181
44182
  //endregion
44182
44183
  function BuildKonfig() {
44183
- this.p1y_1 = '2.6.2-snapshot.202608250912';
44184
+ this.p1y_1 = '2.6.2';
44184
44185
  }
44185
44186
  var BuildKonfig_instance;
44186
44187
  function BuildKonfig_getInstance() {
@@ -75427,6 +75428,10 @@ function requireClientsdkClientcore () {
75427
75428
  InternalError.call(this, 'voice:error:media_timeout', "The call could not be established: the media connection failed to set up or the call wasn't answered in time. Check the network connection and try again.");
75428
75429
  captureStack(this, MediaTimeout);
75429
75430
  }
75431
+ function MediaSetupFailed(attempts) {
75432
+ InternalError.call(this, 'voice:error:media_setup_failed', 'The call could not be established: no media reached Vonage after ' + attempts + ' attempt' + (attempts === 1 ? '' : 's') + '. The network is most likely blocking the media connection \u2014 check for a restrictive firewall, proxy or VPN and try again.');
75433
+ captureStack(this, MediaSetupFailed);
75434
+ }
75430
75435
  function NoInviteFound() {
75431
75436
  InternalError.call(this, 'voice:error:no_invite_found', 'No invite found');
75432
75437
  captureStack(this, NoInviteFound);
@@ -79938,6 +79943,11 @@ function requireClientsdkClientcore () {
79938
79943
  return Unit_instance;
79939
79944
  };
79940
79945
  }
79946
+ function attemptOutboundCall($this, user, context, attempt, backoff, callback) {
79947
+ var setup = new SetupOutboundCall(user, context);
79948
+ var meta = new ActionMeta(VOID, VOID, VoiceAPIImpl$attemptOutboundCall$lambda($this, callback, attempt, user, context));
79949
+ $this.g44_1.z1z(backoff == null ? new Action_0(setup, meta) : new Action_0(new TimeoutAction(setup, backoff), meta));
79950
+ }
79941
79951
  function dispatchCallAction($this, callId, action) {
79942
79952
  var tmp0_elvis_lhs = getCallStateByLeg($this, callId);
79943
79953
  var tmp;
@@ -79947,10 +79957,10 @@ function requireClientsdkClientcore () {
79947
79957
  tmp = tmp0_elvis_lhs;
79948
79958
  }
79949
79959
  var call = tmp;
79950
- var callMemberShipState = call.k44_1.g2();
79960
+ var callMemberShipState = call.n44_1.g2();
79951
79961
  var tmp_0;
79952
79962
  if (callMemberShipState instanceof Joined) {
79953
- action(callMemberShipState.q44_1, callMemberShipState.r44_1);
79963
+ action(callMemberShipState.t44_1, callMemberShipState.u44_1);
79954
79964
  tmp_0 = null;
79955
79965
  } else {
79956
79966
  tmp_0 = new InvalidCallAction();
@@ -79966,15 +79976,15 @@ function requireClientsdkClientcore () {
79966
79976
  null;
79967
79977
  else {
79968
79978
  // Inline function 'kotlin.let' call
79969
- reportError_0($this.t44_1, callback, tmp0_safe_receiver, trail, VOID, callId);
79979
+ reportError_0($this.g44_1, callback, tmp0_safe_receiver, trail, VOID, callId);
79970
79980
  }
79971
79981
  }
79972
79982
  function getCallStateByLeg($this, legId) {
79973
- var state = $this.t44_1.l1z(getKClass(CallReducer));
79983
+ var state = $this.g44_1.l1z(getKClass(CallReducer));
79974
79984
  return state.w44_1.j2(legId);
79975
79985
  }
79976
79986
  function getCallStateByConversation($this, cid) {
79977
- var state = $this.t44_1.l1z(getKClass(CallReducer));
79987
+ var state = $this.g44_1.l1z(getKClass(CallReducer));
79978
79988
  var tmp0_safe_receiver = state.x44_1.j2(cid);
79979
79989
  var tmp;
79980
79990
  if (tmp0_safe_receiver == null) {
@@ -79986,16 +79996,16 @@ function requireClientsdkClientcore () {
79986
79996
  return tmp;
79987
79997
  }
79988
79998
  function getLegIdByConversation($this, cid) {
79989
- var state = $this.t44_1.l1z(getKClass(CallReducer));
79999
+ var state = $this.g44_1.l1z(getKClass(CallReducer));
79990
80000
  return state.x44_1.j2(cid);
79991
80001
  }
79992
80002
  function isFromMe($this, userId) {
79993
- var state = $this.t44_1.l1z(getKClass(SessionReducer));
80003
+ var state = $this.g44_1.l1z(getKClass(SessionReducer));
79994
80004
  var tmp0_safe_receiver = state.g2r_1.g2().s3j();
79995
80005
  return (tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u3q_1) === userId;
79996
80006
  }
79997
80007
  function invokeListener($this, conversationId, givenLegId, fn) {
79998
- var tmp0_safe_receiver = $this.v44_1;
80008
+ var tmp0_safe_receiver = $this.i44_1;
79999
80009
  if (tmp0_safe_receiver == null)
80000
80010
  null;
80001
80011
  else {
@@ -80025,13 +80035,13 @@ function requireClientsdkClientcore () {
80025
80035
  var tmp_2;
80026
80036
  if (tmp2_elvis_lhs == null) {
80027
80037
  var tmp3_safe_receiver = getCallStateByConversation($this, conversationId);
80028
- tmp_2 = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.j44_1;
80038
+ tmp_2 = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.m44_1;
80029
80039
  } else {
80030
80040
  tmp_2 = tmp2_elvis_lhs;
80031
80041
  }
80032
80042
  var legId = tmp_2;
80033
80043
  if (legId == null) {
80034
- $this.u44_1.k43('Call Id for Conversation Id: ' + conversationId + ' was not found');
80044
+ $this.h44_1.k43('Call Id for Conversation Id: ' + conversationId + ' was not found');
80035
80045
  } else
80036
80046
  fn(tmp0_safe_receiver, legId);
80037
80047
  }
@@ -80054,7 +80064,7 @@ function requireClientsdkClientcore () {
80054
80064
  } else {
80055
80065
  // Inline function 'kotlin.takeIf' call
80056
80066
  var tmp_0;
80057
- var tmp_1 = tmp0_safe_receiver.n44_1;
80067
+ var tmp_1 = tmp0_safe_receiver.q44_1;
80058
80068
  if (tmp_1 instanceof Reconnecting) {
80059
80069
  tmp_0 = tmp0_safe_receiver;
80060
80070
  } else {
@@ -80070,7 +80080,7 @@ function requireClientsdkClientcore () {
80070
80080
  tmp_2 = tmp1_elvis_lhs;
80071
80081
  }
80072
80082
  var updatedCall = tmp_2;
80073
- var tmp_3 = updatedCall.k44_1.g2();
80083
+ var tmp_3 = updatedCall.n44_1.g2();
80074
80084
  var tmp2_elvis_lhs = tmp_3 instanceof Joined ? tmp_3 : null;
80075
80085
  var tmp_4;
80076
80086
  if (tmp2_elvis_lhs == null) {
@@ -80079,36 +80089,36 @@ function requireClientsdkClientcore () {
80079
80089
  tmp_4 = tmp2_elvis_lhs;
80080
80090
  }
80081
80091
  var member = tmp_4;
80082
- var tmp_5 = new CallReconnect(updatedCall.j44_1, member.r44_1, member.q44_1);
80092
+ var tmp_5 = new CallReconnect(updatedCall.m44_1, member.u44_1, member.t44_1);
80083
80093
  var reconnectAction = new Action_0(tmp_5, new ActionMeta(VOID, VOID, VoiceAPIImpl$reconnectCall$lambda_0(store, updatedCall)));
80084
80094
  store.z1z(reconnectAction);
80085
80095
  }
80086
80096
  function onCallMediaChange($this, callState) {
80087
- var tmp = callState.l44_1;
80097
+ var tmp = callState.o44_1;
80088
80098
  if (tmp instanceof Failed) {
80089
- $this.t44_1.z1z(Action_init_$Create$(new MediaDisable(callState.j44_1)));
80099
+ $this.g44_1.z1z(Action_init_$Create$(new MediaDisable(callState.m44_1)));
80090
80100
  } else {
80091
- var tmp_0 = callState.l44_1.g2();
80101
+ var tmp_0 = callState.o44_1.g2();
80092
80102
  if (tmp_0 instanceof Completed) {
80093
- $this.t44_1.z1z(Action_init_$Create$(new MediaDisable(callState.j44_1)));
80103
+ $this.g44_1.z1z(Action_init_$Create$(new MediaDisable(callState.m44_1)));
80094
80104
  }
80095
80105
  }
80096
80106
  }
80097
80107
  function onCallMemberChange($this, callState) {
80098
- if (callState.k44_1 instanceof Failed) {
80099
- var tmp1_subject = callState.k44_1.g2();
80108
+ if (callState.n44_1 instanceof Failed) {
80109
+ var tmp1_subject = callState.n44_1.g2();
80100
80110
  if (tmp1_subject instanceof Knocking) {
80101
- $this.t44_1.z1z(Action_init_$Create$(new MediaDisable(callState.j44_1)));
80111
+ $this.g44_1.z1z(Action_init_$Create$(new MediaDisable(callState.m44_1)));
80102
80112
  } else {
80103
80113
  if (tmp1_subject instanceof Left) {
80104
- $this.t44_1.z1z(Action_init_$Create$(new MediaDisable(callState.j44_1)));
80114
+ $this.g44_1.z1z(Action_init_$Create$(new MediaDisable(callState.m44_1)));
80105
80115
  }
80106
80116
  }
80107
80117
  }
80108
80118
  }
80109
80119
  function getCallDetailsAndDispatchCallReconnect($this, legId, callback) {
80110
80120
  var tmp = new GetLegRequest(legId);
80111
- $this.t44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, legId, VoiceAPIImpl$getCallDetailsAndDispatchCallReconnect$lambda($this, callback, legId))));
80121
+ $this.g44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, legId, VoiceAPIImpl$getCallDetailsAndDispatchCallReconnect$lambda($this, callback, legId))));
80112
80122
  }
80113
80123
  function VoiceAPIImpl$getLeg$lambda($callback, this$0, $legId) {
80114
80124
  return function (response) {
@@ -80117,7 +80127,7 @@ function requireClientsdkClientcore () {
80117
80127
  var leg = Companion_instance_160.r3y(response);
80118
80128
  tmp = $callback(null, leg);
80119
80129
  } else {
80120
- reportError(this$0.t44_1, $callback, response, ErrorTrail_GET_LEG_getInstance(), VOID, $legId);
80130
+ reportError(this$0.g44_1, $callback, response, ErrorTrail_GET_LEG_getInstance(), VOID, $legId);
80121
80131
  tmp = Unit_instance;
80122
80132
  }
80123
80133
  return Unit_instance;
@@ -80157,7 +80167,7 @@ function requireClientsdkClientcore () {
80157
80167
  var page = new LegsPage(legs, previous, next);
80158
80168
  tmp = $callback(null, page);
80159
80169
  } else {
80160
- reportError(this$0.t44_1, $callback, conversationLegsResponse, ErrorTrail_GET_CALL_LEGS_FETCH_FAILED_getInstance(), $conversationId, $callId);
80170
+ reportError(this$0.g44_1, $callback, conversationLegsResponse, ErrorTrail_GET_CALL_LEGS_FETCH_FAILED_getInstance(), $conversationId, $callId);
80161
80171
  tmp = Unit_instance;
80162
80172
  }
80163
80173
  return Unit_instance;
@@ -80172,7 +80182,7 @@ function requireClientsdkClientcore () {
80172
80182
  if (tmp1_elvis_lhs == null) {
80173
80183
  // Inline function 'kotlin.run' call
80174
80184
  var $this$run = this$0;
80175
- reportError($this$run.t44_1, $callback, new NoCallMediaFound(), ErrorTrail_GET_CALL_LEGS_NO_MEDIA_getInstance(), $conversationId, $callId);
80185
+ reportError($this$run.g44_1, $callback, new NoCallMediaFound(), ErrorTrail_GET_CALL_LEGS_NO_MEDIA_getInstance(), $conversationId, $callId);
80176
80186
  return Unit_instance;
80177
80187
  } else {
80178
80188
  tmp_0 = tmp1_elvis_lhs;
@@ -80184,30 +80194,30 @@ function requireClientsdkClientcore () {
80184
80194
  var tmp_2 = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.q42_1;
80185
80195
  var tmp4_safe_receiver = $parameters;
80186
80196
  var tmp_3 = new GetConversationLegsRequest($conversationId, tmp_1, tmp_2, tmp4_safe_receiver == null ? null : tmp4_safe_receiver.r42_1);
80187
- this$0.t44_1.z1z(new Action_0(tmp_3, new ActionMeta(VOID, VOID, VoiceAPIImpl$getCallLegs$lambda$lambda(conversationMedia, $callback, this$0, $conversationId, $callId))));
80197
+ this$0.g44_1.z1z(new Action_0(tmp_3, new ActionMeta(VOID, VOID, VoiceAPIImpl$getCallLegs$lambda$lambda(conversationMedia, $callback, this$0, $conversationId, $callId))));
80188
80198
  tmp = Unit_instance;
80189
80199
  } else {
80190
- reportError(this$0.t44_1, $callback, getConversationResponse, ErrorTrail_GET_CALL_LEGS_CONVERSATION_FAILED_getInstance(), $conversationId, $callId);
80200
+ reportError(this$0.g44_1, $callback, getConversationResponse, ErrorTrail_GET_CALL_LEGS_CONVERSATION_FAILED_getInstance(), $conversationId, $callId);
80191
80201
  tmp = Unit_instance;
80192
80202
  }
80193
80203
  return Unit_instance;
80194
80204
  };
80195
80205
  }
80196
- function VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId) {
80206
+ function VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId) {
80197
80207
  return function () {
80198
80208
  var tmp;
80199
- if ($call.o44_1.v2_1 === 5) {
80209
+ if ($call.r44_1.v2_1 === 5) {
80200
80210
  var tmp1_safe_receiver = $cancel._v;
80201
80211
  if (tmp1_safe_receiver == null)
80202
80212
  null;
80203
80213
  else
80204
80214
  tmp1_safe_receiver();
80205
- reportError(this$0.t44_1, $callback, new MediaTimeout(), $call.p44_1 ? ErrorTrail_OUTBOUND_MEMBER_JOIN_TIMEOUT_getInstance() : ErrorTrail_OUTBOUND_POSTKNOCK_MEDIA_FAILED_getInstance(), VOID, $legId);
80206
- this$0.t44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
80215
+ reportError(this$0.g44_1, $callback, new MediaTimeout(), $call.s44_1 ? ErrorTrail_OUTBOUND_MEMBER_JOIN_TIMEOUT_getInstance() : ErrorTrail_OUTBOUND_POSTKNOCK_MEDIA_FAILED_getInstance(), VOID, $legId);
80216
+ this$0.g44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
80207
80217
  tmp = Unit_instance;
80208
80218
  } else {
80209
80219
  var tmp_0;
80210
- if ($call.k44_1.g2() instanceof Joined) {
80220
+ if ($call.n44_1.g2() instanceof Joined) {
80211
80221
  var tmp3_safe_receiver = $cancel._v;
80212
80222
  if (tmp3_safe_receiver == null)
80213
80223
  null;
@@ -80222,49 +80232,54 @@ function requireClientsdkClientcore () {
80222
80232
  return Unit_instance;
80223
80233
  };
80224
80234
  }
80225
- function VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId) {
80235
+ function VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId) {
80226
80236
  return function () {
80227
- return new StoredSubscription(VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId));
80237
+ return new StoredSubscription(VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId));
80228
80238
  };
80229
80239
  }
80230
- function VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda(this$0, $call, $callback, $legId, $cancel) {
80240
+ function VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda(this$0, $call, $callback, $legId, $cancel) {
80231
80241
  return function (it) {
80232
80242
  var tmp;
80233
80243
  if (it instanceof Exception) {
80234
- this$0.t44_1.z1z(Action_init_$Create$(new CallKnockingRequestFailure($call.j44_1, it)));
80235
- reportError(this$0.t44_1, $callback, it, ErrorTrail_OUTBOUND_KNOCK_FAILED_getInstance(), VOID, $legId);
80244
+ this$0.g44_1.z1z(Action_init_$Create$(new CallKnockingRequestFailure($call.m44_1, it)));
80245
+ reportError(this$0.g44_1, $callback, it, ErrorTrail_OUTBOUND_KNOCK_FAILED_getInstance(), VOID, $legId);
80236
80246
  tmp = Unit_instance;
80237
80247
  } else {
80238
80248
  var tmp_0 = getKClass(CallReducer);
80239
- $cancel._v = this$0.t44_1.r20(tmp_0, VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId));
80249
+ $cancel._v = this$0.g44_1.r20(tmp_0, VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda$lambda($call, $cancel, this$0, $callback, $legId));
80240
80250
  tmp = Unit_instance;
80241
80251
  }
80242
80252
  return Unit_instance;
80243
80253
  };
80244
80254
  }
80245
- function VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda_0() {
80255
+ function VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda_0($attempt, $legId) {
80256
+ return function () {
80257
+ return 'Media setup failed on attempt ' + $attempt + ' of leg ' + $legId + ', retrying with a fresh leg';
80258
+ };
80259
+ }
80260
+ function VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda_1() {
80246
80261
  return 'Unexpected Media Connection Transition during setup';
80247
80262
  }
80248
- function VoiceAPIImpl$serverCall$lambda$lambda$lambda(this$0, $legId, $cancel, $callback) {
80263
+ function VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda(this$0, $legId, $cancel, $attempt, $user, $context, $callback) {
80249
80264
  return function () {
80250
- var state = this$0.t44_1.l1z(getKClass(CallReducer));
80265
+ var state = this$0.g44_1.l1z(getKClass(CallReducer));
80251
80266
  var tmp0_safe_receiver = state.w44_1.j2($legId);
80252
80267
  if (tmp0_safe_receiver == null)
80253
80268
  null;
80254
80269
  else {
80255
80270
  // Inline function 'kotlin.let' call
80256
- switch (tmp0_safe_receiver.o44_1.v2_1) {
80271
+ switch (tmp0_safe_receiver.r44_1.v2_1) {
80257
80272
  case 3:
80258
80273
  var tmp1_safe_receiver = $cancel._v;
80259
80274
  if (tmp1_safe_receiver == null)
80260
80275
  null;
80261
80276
  else
80262
80277
  tmp1_safe_receiver();
80263
- var tmp2_safe_receiver = tmp0_safe_receiver.i44_1;
80278
+ var tmp2_safe_receiver = tmp0_safe_receiver.l44_1;
80264
80279
  var tmp = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.j2('to');
80265
80280
  var tmp3_elvis_lhs = (!(tmp == null) ? typeof tmp === 'string' : false) ? tmp : null;
80266
- var tmp_0 = new AppKnockingRequest(tmp0_safe_receiver.h44_1, new PhoneChannelEndpoint(tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs), $legId, tmp0_safe_receiver.i44_1);
80267
- this$0.t44_1.z1z(new Action_0(tmp_0, new ActionMeta(VOID, tmp0_safe_receiver.j44_1, VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda(this$0, tmp0_safe_receiver, $callback, $legId, $cancel))));
80281
+ var tmp_0 = new AppKnockingRequest(tmp0_safe_receiver.k44_1, new PhoneChannelEndpoint(tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs), $legId, tmp0_safe_receiver.l44_1);
80282
+ this$0.g44_1.z1z(new Action_0(tmp_0, new ActionMeta(VOID, tmp0_safe_receiver.m44_1, VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda(this$0, tmp0_safe_receiver, $callback, $legId, $cancel))));
80268
80283
  break;
80269
80284
  case 2:
80270
80285
  case 1:
@@ -80276,18 +80291,24 @@ function requireClientsdkClientcore () {
80276
80291
  null;
80277
80292
  else
80278
80293
  tmp4_safe_receiver();
80279
- reportError(this$0.t44_1, $callback, new MediaTimeout(), ErrorTrail_OUTBOUND_MEDIA_FAILED_getInstance(), VOID, $legId);
80280
- this$0.t44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
80294
+ this$0.g44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
80295
+ if ($attempt <= 1) {
80296
+ this$0.h44_1.a45(VOID, VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda_0($attempt, $legId));
80297
+ attemptOutboundCall(this$0, $user, $context, $attempt + 1 | 0, 500, $callback);
80298
+ } else {
80299
+ reportError(this$0.g44_1, $callback, new MediaSetupFailed($attempt), ErrorTrail_OUTBOUND_MEDIA_FAILED_getInstance(), VOID, $legId);
80300
+ }
80301
+
80281
80302
  break;
80282
80303
  case 6:
80283
80304
  case 4:
80284
- this$0.u44_1.a45(VOID, VoiceAPIImpl$serverCall$lambda$lambda$lambda$lambda_0);
80305
+ this$0.h44_1.a45(VOID, VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda$lambda_1);
80285
80306
  var tmp5_safe_receiver = $cancel._v;
80286
80307
  if (tmp5_safe_receiver == null)
80287
80308
  null;
80288
80309
  else
80289
80310
  tmp5_safe_receiver();
80290
- this$0.t44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
80311
+ this$0.g44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
80291
80312
  break;
80292
80313
  default:
80293
80314
  noWhenBranchMatchedException();
@@ -80297,22 +80318,22 @@ function requireClientsdkClientcore () {
80297
80318
  return Unit_instance;
80298
80319
  };
80299
80320
  }
80300
- function VoiceAPIImpl$serverCall$lambda$lambda(this$0, $legId, $cancel, $callback) {
80321
+ function VoiceAPIImpl$attemptOutboundCall$lambda$lambda(this$0, $legId, $cancel, $attempt, $user, $context, $callback) {
80301
80322
  return function () {
80302
- return new StoredSubscription(VoiceAPIImpl$serverCall$lambda$lambda$lambda(this$0, $legId, $cancel, $callback));
80323
+ return new StoredSubscription(VoiceAPIImpl$attemptOutboundCall$lambda$lambda$lambda(this$0, $legId, $cancel, $attempt, $user, $context, $callback));
80303
80324
  };
80304
80325
  }
80305
- function VoiceAPIImpl$serverCall$lambda(this$0, $callback) {
80326
+ function VoiceAPIImpl$attemptOutboundCall$lambda(this$0, $callback, $attempt, $user, $context) {
80306
80327
  return function (it) {
80307
80328
  var tmp;
80308
80329
  if (!(it == null) ? typeof it === 'string' : false) {
80309
80330
  var legId = it;
80310
80331
  var cancel = {_v: null};
80311
80332
  var tmp_0 = getKClass(CallReducer);
80312
- cancel._v = this$0.t44_1.r20(tmp_0, VoiceAPIImpl$serverCall$lambda$lambda(this$0, legId, cancel, $callback));
80333
+ cancel._v = this$0.g44_1.r20(tmp_0, VoiceAPIImpl$attemptOutboundCall$lambda$lambda(this$0, legId, cancel, $attempt, $user, $context, $callback));
80313
80334
  tmp = Unit_instance;
80314
80335
  } else {
80315
- reportError(this$0.t44_1, $callback, it, ErrorTrail_OUTBOUND_SETUP_getInstance());
80336
+ reportError(this$0.g44_1, $callback, it, ErrorTrail_OUTBOUND_SETUP_getInstance());
80316
80337
  tmp = Unit_instance;
80317
80338
  }
80318
80339
  return Unit_instance;
@@ -80320,7 +80341,7 @@ function requireClientsdkClientcore () {
80320
80341
  }
80321
80342
  function VoiceAPIImpl$reconnectCall$lambda$lambda(this$0, $callId, $once, $callback) {
80322
80343
  return function () {
80323
- var state = this$0.t44_1.l1z(getKClass(CallReducer));
80344
+ var state = this$0.g44_1.l1z(getKClass(CallReducer));
80324
80345
  var tmp0_elvis_lhs = state.w44_1.j2($callId);
80325
80346
  var tmp;
80326
80347
  if (tmp0_elvis_lhs == null) {
@@ -80329,7 +80350,7 @@ function requireClientsdkClientcore () {
80329
80350
  tmp = tmp0_elvis_lhs;
80330
80351
  }
80331
80352
  var call = tmp;
80332
- var legState = call.l44_1;
80353
+ var legState = call.o44_1;
80333
80354
  var tmp_0;
80334
80355
  if (legState.g2() instanceof Started) {
80335
80356
  var tmp2_safe_receiver = $once._v;
@@ -80338,7 +80359,7 @@ function requireClientsdkClientcore () {
80338
80359
  else
80339
80360
  tmp2_safe_receiver();
80340
80361
  var tmp_1;
80341
- if (call.g44_1) {
80362
+ if (call.j44_1) {
80342
80363
  tmp_1 = $callback(null);
80343
80364
  }
80344
80365
  tmp_0 = tmp_1;
@@ -80355,11 +80376,11 @@ function requireClientsdkClientcore () {
80355
80376
  }
80356
80377
  function VoiceAPIImpl$answerCall$lambda$lambda$lambda$lambda(this$0, $legIdOrErr, $callback, $invite, $cancel) {
80357
80378
  return function () {
80358
- var call = this$0.t44_1.l1z(getKClass(CallReducer)).w44_1.j2($legIdOrErr);
80359
- var tmp1_subject = call == null ? null : call.o44_1;
80379
+ var call = this$0.g44_1.l1z(getKClass(CallReducer)).w44_1.j2($legIdOrErr);
80380
+ var tmp1_subject = call == null ? null : call.r44_1;
80360
80381
  switch (tmp1_subject == null ? -1 : tmp1_subject.v2_1) {
80361
80382
  case -1:
80362
- reportError_0(this$0.t44_1, $callback, new NoInviteFound(), ErrorTrail_ANSWER_CALL_GONE_getInstance(), $invite.e45_1, $legIdOrErr);
80383
+ reportError_0(this$0.g44_1, $callback, new NoInviteFound(), ErrorTrail_ANSWER_CALL_GONE_getInstance(), $invite.e45_1, $legIdOrErr);
80363
80384
  // Inline function 'kotlin.also' call
80364
80385
 
80365
80386
  var tmp0_safe_receiver = $cancel._v;
@@ -80381,7 +80402,7 @@ function requireClientsdkClientcore () {
80381
80402
  // Inline function 'kotlin.also' call
80382
80403
 
80383
80404
  tmp3_safe_receiver == null || tmp3_safe_receiver();
80384
- reportError_0(this$0.t44_1, $callback, new InboundCallFailed(), ErrorTrail_ANSWER_MEDIA_FAILED_getInstance(), $invite.e45_1, $legIdOrErr);
80405
+ reportError_0(this$0.g44_1, $callback, new InboundCallFailed(), ErrorTrail_ANSWER_MEDIA_FAILED_getInstance(), $invite.e45_1, $legIdOrErr);
80385
80406
  break;
80386
80407
  default:
80387
80408
  break;
@@ -80400,10 +80421,10 @@ function requireClientsdkClientcore () {
80400
80421
  if (!(legIdOrErr == null) ? typeof legIdOrErr === 'string' : false) {
80401
80422
  var cancel = {_v: null};
80402
80423
  var tmp_0 = getKClass(CallReducer);
80403
- cancel._v = this$0.t44_1.r20(tmp_0, VoiceAPIImpl$answerCall$lambda$lambda$lambda(this$0, legIdOrErr, $callback, $invite, cancel));
80424
+ cancel._v = this$0.g44_1.r20(tmp_0, VoiceAPIImpl$answerCall$lambda$lambda$lambda(this$0, legIdOrErr, $callback, $invite, cancel));
80404
80425
  tmp = Unit_instance;
80405
80426
  } else {
80406
- reportError_0(this$0.t44_1, $callback, new InboundCallFailed(legIdOrErr instanceof Exception ? legIdOrErr : null), ErrorTrail_ANSWER_SETUP_getInstance(), $invite.e45_1, $callId);
80427
+ reportError_0(this$0.g44_1, $callback, new InboundCallFailed(legIdOrErr instanceof Exception ? legIdOrErr : null), ErrorTrail_ANSWER_SETUP_getInstance(), $invite.e45_1, $callId);
80407
80428
  tmp = Unit_instance;
80408
80429
  }
80409
80430
  return Unit_instance;
@@ -80413,17 +80434,17 @@ function requireClientsdkClientcore () {
80413
80434
  return function (it) {
80414
80435
  var tmp;
80415
80436
  if (it instanceof Exception) {
80416
- reportError_0(this$0.t44_1, $callback, it, ErrorTrail_ANSWER_MEMBER_JOIN_FAILED_getInstance(), $invite.e45_1, $callId);
80437
+ reportError_0(this$0.g44_1, $callback, it, ErrorTrail_ANSWER_MEMBER_JOIN_FAILED_getInstance(), $invite.e45_1, $callId);
80417
80438
  tmp = Unit_instance;
80418
80439
  } else {
80419
80440
  if ($invite.f45_1 == null) {
80420
80441
  // Inline function 'kotlin.run' call
80421
80442
  var $this$run = this$0;
80422
- reportError_0($this$run.t44_1, $callback, new NoOfferFound(), ErrorTrail_ANSWER_NO_OFFER_getInstance(), $invite.e45_1, $callId);
80443
+ reportError_0($this$run.g44_1, $callback, new NoOfferFound(), ErrorTrail_ANSWER_NO_OFFER_getInstance(), $invite.e45_1, $callId);
80423
80444
  return Unit_instance;
80424
80445
  }
80425
80446
  var tmp_0 = new SetupInboundCall($callId, $invite.e45_1, $invite.d45_1, $invite.b45_1, $invite.f45_1, null);
80426
- this$0.t44_1.z1z(new Action_0(tmp_0, new ActionMeta(VOID, VOID, VoiceAPIImpl$answerCall$lambda$lambda(this$0, $callback, $invite, $callId))));
80447
+ this$0.g44_1.z1z(new Action_0(tmp_0, new ActionMeta(VOID, VOID, VoiceAPIImpl$answerCall$lambda$lambda(this$0, $callback, $invite, $callId))));
80427
80448
  tmp = Unit_instance;
80428
80449
  }
80429
80450
  return Unit_instance;
@@ -80433,7 +80454,7 @@ function requireClientsdkClientcore () {
80433
80454
  return function (result) {
80434
80455
  var tmp;
80435
80456
  if (result instanceof Exception) {
80436
- reportError_0(this$0.t44_1, $callback, result, $trail, VOID, $callId);
80457
+ reportError_0(this$0.g44_1, $callback, result, $trail, VOID, $callId);
80437
80458
  tmp = Unit_instance;
80438
80459
  } else {
80439
80460
  tmp = $callback(null);
@@ -80445,10 +80466,10 @@ function requireClientsdkClientcore () {
80445
80466
  return function (muteOutcome) {
80446
80467
  var tmp;
80447
80468
  if (muteOutcome instanceof Exception) {
80448
- reportError_0(this$0.t44_1, $callback, muteOutcome, ErrorTrail_MUTE_MEDIA_FAILED_getInstance(), VOID, $callId);
80469
+ reportError_0(this$0.g44_1, $callback, muteOutcome, ErrorTrail_MUTE_MEDIA_FAILED_getInstance(), VOID, $callId);
80449
80470
  tmp = Unit_instance;
80450
80471
  } else {
80451
- this$0.t44_1.z1z(new Action_0(new LegMuteRequest($cid, $callId, $mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_MUTE_REQUEST_FAILED_getInstance(), $callId, $callback))));
80472
+ this$0.g44_1.z1z(new Action_0(new LegMuteRequest($cid, $callId, $mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_MUTE_REQUEST_FAILED_getInstance(), $callId, $callback))));
80452
80473
  tmp = Unit_instance;
80453
80474
  }
80454
80475
  return Unit_instance;
@@ -80457,7 +80478,7 @@ function requireClientsdkClientcore () {
80457
80478
  function VoiceAPIImpl$mute$lambda(this$0, $callId, $callback) {
80458
80479
  return function (cid, mid) {
80459
80480
  var tmp = new Mute($callId);
80460
- this$0.t44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, $callId, VoiceAPIImpl$mute$lambda$lambda(this$0, $callback, $callId, cid, mid))));
80481
+ this$0.g44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, $callId, VoiceAPIImpl$mute$lambda$lambda(this$0, $callback, $callId, cid, mid))));
80461
80482
  return Unit_instance;
80462
80483
  };
80463
80484
  }
@@ -80465,10 +80486,10 @@ function requireClientsdkClientcore () {
80465
80486
  return function (unmuteOutcome) {
80466
80487
  var tmp;
80467
80488
  if (unmuteOutcome instanceof Exception) {
80468
- reportError_0(this$0.t44_1, $callback, unmuteOutcome, ErrorTrail_UNMUTE_MEDIA_FAILED_getInstance(), VOID, $callId);
80489
+ reportError_0(this$0.g44_1, $callback, unmuteOutcome, ErrorTrail_UNMUTE_MEDIA_FAILED_getInstance(), VOID, $callId);
80469
80490
  tmp = Unit_instance;
80470
80491
  } else {
80471
- this$0.t44_1.z1z(new Action_0(new LegUnmuteRequest($cid, $callId, $mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_UNMUTE_REQUEST_FAILED_getInstance(), $callId, $callback))));
80492
+ this$0.g44_1.z1z(new Action_0(new LegUnmuteRequest($cid, $callId, $mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_UNMUTE_REQUEST_FAILED_getInstance(), $callId, $callback))));
80472
80493
  tmp = Unit_instance;
80473
80494
  }
80474
80495
  return Unit_instance;
@@ -80477,34 +80498,34 @@ function requireClientsdkClientcore () {
80477
80498
  function VoiceAPIImpl$unmute$lambda(this$0, $callId, $callback) {
80478
80499
  return function (cid, mid) {
80479
80500
  var tmp = new Unmute($callId);
80480
- this$0.t44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, $callId, VoiceAPIImpl$unmute$lambda$lambda(this$0, $callback, $callId, cid, mid))));
80501
+ this$0.g44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, $callId, VoiceAPIImpl$unmute$lambda$lambda(this$0, $callback, $callId, cid, mid))));
80481
80502
  return Unit_instance;
80482
80503
  };
80483
80504
  }
80484
80505
  function VoiceAPIImpl$enableEarmuff$lambda(this$0, $callId, $callback) {
80485
80506
  return function (cid, mid) {
80486
- this$0.t44_1.z1z(Action_init_$Create$(new EnableEarmuff($callId)));
80487
- this$0.t44_1.z1z(new Action_0(new LegEarmuffEnableRequest(cid, $callId, mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_ENABLE_EARMUFF_REQUEST_FAILED_getInstance(), $callId, $callback))));
80507
+ this$0.g44_1.z1z(Action_init_$Create$(new EnableEarmuff($callId)));
80508
+ this$0.g44_1.z1z(new Action_0(new LegEarmuffEnableRequest(cid, $callId, mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_ENABLE_EARMUFF_REQUEST_FAILED_getInstance(), $callId, $callback))));
80488
80509
  return Unit_instance;
80489
80510
  };
80490
80511
  }
80491
80512
  function VoiceAPIImpl$disableEarmuff$lambda(this$0, $callId, $callback) {
80492
80513
  return function (cid, mid) {
80493
- this$0.t44_1.z1z(Action_init_$Create$(new DisableEarmuff($callId)));
80494
- this$0.t44_1.z1z(new Action_0(new LegEarmuffDisableRequest(cid, $callId, mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_DISABLE_EARMUFF_REQUEST_FAILED_getInstance(), $callId, $callback))));
80514
+ this$0.g44_1.z1z(Action_init_$Create$(new DisableEarmuff($callId)));
80515
+ this$0.g44_1.z1z(new Action_0(new LegEarmuffDisableRequest(cid, $callId, mid), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_DISABLE_EARMUFF_REQUEST_FAILED_getInstance(), $callId, $callback))));
80495
80516
  return Unit_instance;
80496
80517
  };
80497
80518
  }
80498
80519
  function VoiceAPIImpl$sendDTMF$lambda(this$0, $callId, $digits, $callback) {
80499
80520
  return function (cid, mid) {
80500
- this$0.t44_1.z1z(Action_init_$Create$(new DisableEarmuff($callId)));
80501
- this$0.t44_1.z1z(new Action_0(new LegDTMFRequest(cid, $callId, mid, $digits), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_SEND_DTMF_REQUEST_FAILED_getInstance(), $callId, $callback))));
80521
+ this$0.g44_1.z1z(Action_init_$Create$(new DisableEarmuff($callId)));
80522
+ this$0.g44_1.z1z(new Action_0(new LegDTMFRequest(cid, $callId, mid, $digits), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_SEND_DTMF_REQUEST_FAILED_getInstance(), $callId, $callback))));
80502
80523
  return Unit_instance;
80503
80524
  };
80504
80525
  }
80505
80526
  function VoiceAPIImpl$say$lambda(this$0, $text, $level, $loop, $queue, $voiceName, $ssml, $callId, $callback) {
80506
80527
  return function (cid, mid) {
80507
- this$0.t44_1.z1z(new Action_0(new AudioSayRequest(cid, mid, $text, $level, $loop, $queue, $voiceName, $ssml), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_SAY_REQUEST_FAILED_getInstance(), $callId, $callback))));
80528
+ this$0.g44_1.z1z(new Action_0(new AudioSayRequest(cid, mid, $text, $level, $loop, $queue, $voiceName, $ssml), new ActionMeta(VOID, $callId, actionOutcome(this$0, ErrorTrail_SAY_REQUEST_FAILED_getInstance(), $callId, $callback))));
80508
80529
  return Unit_instance;
80509
80530
  };
80510
80531
  }
@@ -80520,7 +80541,7 @@ function requireClientsdkClientcore () {
80520
80541
  }
80521
80542
  var call = tmp;
80522
80543
  var tmp_0;
80523
- var tmp_1 = call.n44_1;
80544
+ var tmp_1 = call.q44_1;
80524
80545
  if (tmp_1 instanceof Connected) {
80525
80546
  var tmp1_safe_receiver = $cancel._v;
80526
80547
  if (tmp1_safe_receiver == null)
@@ -80529,7 +80550,7 @@ function requireClientsdkClientcore () {
80529
80550
  tmp1_safe_receiver();
80530
80551
  tmp_0 = Unit_instance;
80531
80552
  }
80532
- var tmp_2 = call.n44_1;
80553
+ var tmp_2 = call.q44_1;
80533
80554
  var tmp2_safe_receiver = tmp_2 instanceof Reconnecting ? tmp_2 : null;
80534
80555
  var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.n45_1;
80535
80556
  var tmp_3;
@@ -80566,10 +80587,10 @@ function requireClientsdkClientcore () {
80566
80587
  return function (response) {
80567
80588
  var tmp;
80568
80589
  if (!(response == null) ? typeof response === 'string' : false) {
80569
- $store.z1z(Action_init_$Create$(new CallReconnectSuccess($updatedCall.j44_1)));
80590
+ $store.z1z(Action_init_$Create$(new CallReconnectSuccess($updatedCall.m44_1)));
80570
80591
  tmp = Unit_instance;
80571
80592
  } else {
80572
- var tmp_0 = $updatedCall.n44_1;
80593
+ var tmp_0 = $updatedCall.q44_1;
80573
80594
  var tmp1_safe_receiver = tmp_0 instanceof Reconnecting ? tmp_0 : null;
80574
80595
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.n45_1;
80575
80596
  var tmp_1;
@@ -80582,10 +80603,10 @@ function requireClientsdkClientcore () {
80582
80603
  var csError = response instanceof CSError ? response : null;
80583
80604
  var tmp_2;
80584
80605
  if (retryCount === 5 || !(csError == null)) {
80585
- $store.z1z(Action_init_$Create$(new CallReconnectFailure($updatedCall.j44_1)));
80606
+ $store.z1z(Action_init_$Create$(new CallReconnectFailure($updatedCall.m44_1)));
80586
80607
  tmp_2 = Unit_instance;
80587
80608
  } else {
80588
- $store.z1z(Action_init_$Create$(new TimeoutAction(new CallReconnectionRetry($updatedCall.j44_1), 3000)));
80609
+ $store.z1z(Action_init_$Create$(new TimeoutAction(new CallReconnectionRetry($updatedCall.m44_1), 3000)));
80589
80610
  tmp_2 = Unit_instance;
80590
80611
  }
80591
80612
  tmp = tmp_2;
@@ -80618,18 +80639,18 @@ function requireClientsdkClientcore () {
80618
80639
  var tmp0 = hangup.t33_1.q45_1.v2_1;
80619
80640
  var reason = {_v: tmp0 === 0 ? HangupReason_localHangup_getInstance() : tmp0 === 2 ? HangupReason_remoteHangup_getInstance() : tmp0 === 1 ? HangupReason_mediaTimeout_getInstance() : tmp0 === 4 ? HangupReason_mediaTimeout_getInstance() : HangupReason_localHangup_getInstance()};
80620
80641
  if (!(call == null)) {
80621
- if (call.k44_1.x45() === null) {
80642
+ if (call.n44_1.x45() === null) {
80622
80643
  var tmp_0;
80623
80644
  var tmp_1;
80624
- var tmp_2 = call.k44_1;
80645
+ var tmp_2 = call.n44_1;
80625
80646
  if (tmp_2 instanceof Resolved) {
80626
- var tmp_3 = call.k44_1.g2();
80647
+ var tmp_3 = call.n44_1.g2();
80627
80648
  tmp_1 = tmp_3 instanceof Left;
80628
80649
  } else {
80629
80650
  tmp_1 = false;
80630
80651
  }
80631
80652
  if (tmp_1) {
80632
- var tmp_4 = call.k44_1.g2();
80653
+ var tmp_4 = call.n44_1.g2();
80633
80654
  var tmp_5;
80634
80655
  switch ((tmp_4 instanceof Left ? tmp_4 : THROW_CCE()).v45_1) {
80635
80656
  case 'remote_rejected':
@@ -80656,7 +80677,7 @@ function requireClientsdkClientcore () {
80656
80677
  }
80657
80678
  invokeListener$default(this.o45_1, conversationId, VOID, VoiceAPIImpl$o$onRTCHangup$lambda(hangup, reason));
80658
80679
  }
80659
- cleanupReducers(this.o45_1.t44_1, legId, conversationId);
80680
+ cleanupReducers(this.o45_1.g44_1, legId, conversationId);
80660
80681
  };
80661
80682
  protoOf(VoiceAPIImpl$1).a3q = function (conversationId, legId, fromUserId, status) {
80662
80683
  if (!(conversationId == null) && !isFromMe(this.o45_1, fromUserId)) {
@@ -80668,15 +80689,15 @@ function requireClientsdkClientcore () {
80668
80689
  };
80669
80690
  function VoiceAPIImpl$lambda$lambda(this$0, $cachedSessionId) {
80670
80691
  return function () {
80671
- var state = this$0.t44_1.l1z(getKClass(SessionReducer));
80692
+ var state = this$0.g44_1.l1z(getKClass(SessionReducer));
80672
80693
  var currentSessionId = state.g2r_1.g2().g2x();
80673
80694
  var tmp;
80674
80695
  if (!state.h2r_1.w3k_1.equals(SocketConnectionStatus_Connected_getInstance())) {
80675
80696
  $cachedSessionId._v = null;
80676
80697
  tmp = Unit_instance;
80677
80698
  } else if (!(currentSessionId == null) && !(currentSessionId == $cachedSessionId._v)) {
80678
- cleanupReducers(this$0.t44_1);
80679
- var invites = this$0.t44_1.l1z(getKClass(InviteReducer)).y45_1;
80699
+ cleanupReducers(this$0.g44_1);
80700
+ var invites = this$0.g44_1.l1z(getKClass(InviteReducer)).y45_1;
80680
80701
  // Inline function 'kotlin.collections.filterValues' call
80681
80702
  var result = LinkedHashMap_init_$Create$();
80682
80703
  // Inline function 'kotlin.collections.iterator' call
@@ -80693,7 +80714,7 @@ function requireClientsdkClientcore () {
80693
80714
  var _iterator__ex2g4s_0 = result.m2().t();
80694
80715
  while (_iterator__ex2g4s_0.u()) {
80695
80716
  var element = _iterator__ex2g4s_0.v();
80696
- this$0.t44_1.z1z(new Action_0(new GetConversationRequest(element.g2().e45_1), new ActionMeta(VOID, element.g2().c45_1)));
80717
+ this$0.g44_1.z1z(new Action_0(new GetConversationRequest(element.g2().e45_1), new ActionMeta(VOID, element.g2().c45_1)));
80697
80718
  }
80698
80719
  tmp = Unit_instance;
80699
80720
  } else {
@@ -80729,7 +80750,7 @@ function requireClientsdkClientcore () {
80729
80750
  var currentInviteState = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.g45_1;
80730
80751
  var tmp_2;
80731
80752
  if (!(currentInviteState == null) && equals(currentInviteState.g2(), None_instance_1)) {
80732
- this$0.t44_1.z1z(Action_init_$Create$(new InviteReconcile($it.c45_1)));
80753
+ this$0.g44_1.z1z(Action_init_$Create$(new InviteReconcile($it.c45_1)));
80733
80754
  tmp_2 = Unit_instance;
80734
80755
  }
80735
80756
  tmp = tmp_2;
@@ -80741,7 +80762,7 @@ function requireClientsdkClientcore () {
80741
80762
  }
80742
80763
  function VoiceAPIImpl$lambda$lambda_0(this$0, $cache) {
80743
80764
  return function () {
80744
- var state = this$0.t44_1.l1z(getKClass(InviteReducer));
80765
+ var state = this$0.g44_1.l1z(getKClass(InviteReducer));
80745
80766
  var tmp;
80746
80767
  if (state.a46_1 == null) {
80747
80768
  tmp = null;
@@ -80770,18 +80791,18 @@ function requireClientsdkClientcore () {
80770
80791
  var value = updatedInvite.b46();
80771
80792
  tmp0_1.n2(tmp2, value);
80772
80793
  // Inline function 'kotlin.also' call
80773
- var config = this$0.t44_1.l1z(getKClass(ConfigReducer));
80794
+ var config = this$0.g44_1.l1z(getKClass(ConfigReducer));
80774
80795
  if (config.z2q_1 && updatedInvite.h45_1) {
80775
- var tmp0_safe_receiver = this$0.v44_1;
80796
+ var tmp0_safe_receiver = this$0.i44_1;
80776
80797
  if (tmp0_safe_receiver == null)
80777
80798
  null;
80778
80799
  else {
80779
80800
  tmp0_safe_receiver.t43(updatedInvite.c45_1, from(updatedInvite.b45_1), updatedInvite.b45_1.z23());
80780
80801
  }
80781
80802
  }
80782
- this$0.t44_1.z1z(new Action_0(new GetConversationRequest(updatedInvite.e45_1), new ActionMeta(VOID, updatedInvite.c45_1)));
80803
+ this$0.g44_1.z1z(new Action_0(new GetConversationRequest(updatedInvite.e45_1), new ActionMeta(VOID, updatedInvite.c45_1)));
80783
80804
  var tmp_1 = new TimeoutAction(new GetConversationRequest(updatedInvite.e45_1), 60000);
80784
- this$0.t44_1.z1z(new Action_0(tmp_1, new ActionMeta(VOID, updatedInvite.c45_1, VoiceAPIImpl$lambda$lambda$lambda(state, updatedInvite, this$0))));
80805
+ this$0.g44_1.z1z(new Action_0(tmp_1, new ActionMeta(VOID, updatedInvite.c45_1, VoiceAPIImpl$lambda$lambda$lambda(state, updatedInvite, this$0))));
80785
80806
  } else {
80786
80807
  var tmp_2;
80787
80808
  var tmp_3;
@@ -80808,7 +80829,7 @@ function requireClientsdkClientcore () {
80808
80829
  tmp_2 = false;
80809
80830
  }
80810
80831
  if (tmp_2) {
80811
- var tmp1_safe_receiver = this$0.v44_1;
80832
+ var tmp1_safe_receiver = this$0.i44_1;
80812
80833
  if (tmp1_safe_receiver == null)
80813
80834
  null;
80814
80835
  else {
@@ -80871,7 +80892,7 @@ function requireClientsdkClientcore () {
80871
80892
  null;
80872
80893
  else {
80873
80894
  // Inline function 'kotlin.let' call
80874
- var tmp0_safe_receiver_0 = this$0.v44_1;
80895
+ var tmp0_safe_receiver_0 = this$0.i44_1;
80875
80896
  var tmp_15;
80876
80897
  if (tmp0_safe_receiver_0 == null) {
80877
80898
  tmp_15 = null;
@@ -80922,7 +80943,7 @@ function requireClientsdkClientcore () {
80922
80943
  }
80923
80944
  function VoiceAPIImpl$lambda$lambda_1(this$0, $cache) {
80924
80945
  return function () {
80925
- var state = this$0.t44_1.l1z(getKClass(CallReducer));
80946
+ var state = this$0.g44_1.l1z(getKClass(CallReducer));
80926
80947
  var tmp0_elvis_lhs = state.z44_1;
80927
80948
  var tmp;
80928
80949
  if (tmp0_elvis_lhs == null) {
@@ -80941,19 +80962,19 @@ function requireClientsdkClientcore () {
80941
80962
  var updatedCall = tmp_0;
80942
80963
  var cachedCall = $cache.j2(lastModifiedCallId);
80943
80964
  var tmp0 = $cache;
80944
- var tmp2 = updatedCall.j44_1;
80965
+ var tmp2 = updatedCall.m44_1;
80945
80966
  // Inline function 'kotlin.collections.set' call
80946
80967
  var value = updatedCall.c46();
80947
80968
  tmp0.n2(tmp2, value);
80948
80969
  if (cachedCall == null)
80949
80970
  return Unit_instance;
80950
80971
  var tmp_1;
80951
- if (!equals(updatedCall.k44_1, cachedCall.k44_1)) {
80972
+ if (!equals(updatedCall.n44_1, cachedCall.n44_1)) {
80952
80973
  onCallMemberChange(this$0, updatedCall);
80953
80974
  tmp_1 = Unit_instance;
80954
80975
  }
80955
80976
  var tmp_2;
80956
- if ((!(updatedCall.m44_1.d46_1 == null) || updatedCall.g44_1) && (!updatedCall.m44_1.equals(cachedCall.m44_1) || !equals(updatedCall.l44_1, cachedCall.l44_1))) {
80977
+ if ((!(updatedCall.p44_1.d46_1 == null) || updatedCall.j44_1) && (!updatedCall.p44_1.equals(cachedCall.p44_1) || !equals(updatedCall.o44_1, cachedCall.o44_1))) {
80957
80978
  onCallMediaChange(this$0, updatedCall);
80958
80979
  tmp_2 = Unit_instance;
80959
80980
  }
@@ -80969,7 +80990,7 @@ function requireClientsdkClientcore () {
80969
80990
  }
80970
80991
  function VoiceAPIImpl$lambda$lambda_2(this$0, $cache) {
80971
80992
  return function () {
80972
- var callState = this$0.t44_1.l1z(getKClass(CallReducer));
80993
+ var callState = this$0.g44_1.l1z(getKClass(CallReducer));
80973
80994
  var tmp0_elvis_lhs = callState.z44_1;
80974
80995
  var tmp;
80975
80996
  if (tmp0_elvis_lhs == null) {
@@ -80985,7 +81006,7 @@ function requireClientsdkClientcore () {
80985
81006
  } else {
80986
81007
  // Inline function 'kotlin.takeUnless' call
80987
81008
  var tmp_1;
80988
- var tmp_2 = tmp1_safe_receiver.l44_1.g2();
81009
+ var tmp_2 = tmp1_safe_receiver.o44_1.g2();
80989
81010
  if (!(tmp_2 instanceof Completed)) {
80990
81011
  tmp_1 = tmp1_safe_receiver;
80991
81012
  } else {
@@ -81008,7 +81029,7 @@ function requireClientsdkClientcore () {
81008
81029
  } else {
81009
81030
  // Inline function 'kotlin.takeUnless' call
81010
81031
  var tmp_5;
81011
- if (!getKClassFromExpression(tmp3_safe_receiver.n44_1).equals(getKClassFromExpression(updatedCall.n44_1))) {
81032
+ if (!getKClassFromExpression(tmp3_safe_receiver.q44_1).equals(getKClassFromExpression(updatedCall.q44_1))) {
81012
81033
  tmp_5 = tmp3_safe_receiver;
81013
81034
  } else {
81014
81035
  tmp_5 = null;
@@ -81021,10 +81042,10 @@ function requireClientsdkClientcore () {
81021
81042
  else {
81022
81043
  // Inline function 'kotlin.let' call
81023
81044
  $l$block: {
81024
- var tmp0_subject = updatedCall.n44_1;
81045
+ var tmp0_subject = updatedCall.q44_1;
81025
81046
  if (tmp0_subject instanceof Reconnecting) {
81026
81047
  // Inline function 'kotlin.takeIf' call
81027
- var this_0 = this$0.t44_1.l1z(getKClass(ConfigReducer));
81048
+ var this_0 = this$0.g44_1.l1z(getKClass(ConfigReducer));
81028
81049
  var tmp_6;
81029
81050
  if (this_0.e2r_1) {
81030
81051
  tmp_6 = this_0;
@@ -81034,23 +81055,23 @@ function requireClientsdkClientcore () {
81034
81055
  if (tmp_6 == null) {
81035
81056
  break $l$block;
81036
81057
  }
81037
- var tmp2_safe_receiver = this$0.v44_1;
81058
+ var tmp2_safe_receiver = this$0.i44_1;
81038
81059
  if (tmp2_safe_receiver == null)
81039
81060
  null;
81040
81061
  else {
81041
- tmp2_safe_receiver.b44(updatedCall.j44_1);
81062
+ tmp2_safe_receiver.b44(updatedCall.m44_1);
81042
81063
  }
81043
- handleCallReconnection(this$0, this$0.t44_1, updatedCall.j44_1);
81064
+ handleCallReconnection(this$0, this$0.g44_1, updatedCall.m44_1);
81044
81065
  } else {
81045
81066
  if (equals(tmp0_subject, Connected_instance)) {
81046
- var tmp3_safe_receiver_0 = this$0.v44_1;
81067
+ var tmp3_safe_receiver_0 = this$0.i44_1;
81047
81068
  var tmp_7;
81048
81069
  if (tmp3_safe_receiver_0 == null) {
81049
81070
  tmp_7 = null;
81050
81071
  } else {
81051
81072
  // Inline function 'kotlin.takeIf' call
81052
81073
  var tmp_8;
81053
- var tmp_9 = tmp4_safe_receiver.n44_1;
81074
+ var tmp_9 = tmp4_safe_receiver.q44_1;
81054
81075
  if (tmp_9 instanceof Reconnecting) {
81055
81076
  tmp_8 = tmp3_safe_receiver_0;
81056
81077
  } else {
@@ -81062,15 +81083,15 @@ function requireClientsdkClientcore () {
81062
81083
  if (tmp4_safe_receiver_0 == null)
81063
81084
  null;
81064
81085
  else {
81065
- tmp4_safe_receiver_0.c44(updatedCall.j44_1);
81086
+ tmp4_safe_receiver_0.c44(updatedCall.m44_1);
81066
81087
  }
81067
81088
  } else {
81068
81089
  if (equals(tmp0_subject, Disconnected_instance)) {
81069
- var tmp5_safe_receiver = this$0.v44_1;
81090
+ var tmp5_safe_receiver = this$0.i44_1;
81070
81091
  if (tmp5_safe_receiver == null)
81071
81092
  null;
81072
81093
  else {
81073
- tmp5_safe_receiver.d44(updatedCall.j44_1, CallDisconnectReason_networkChange_getInstance());
81094
+ tmp5_safe_receiver.d44(updatedCall.m44_1, CallDisconnectReason_networkChange_getInstance());
81074
81095
  }
81075
81096
  } else {
81076
81097
  if (!equals(tmp0_subject, New_instance)) {
@@ -81097,7 +81118,7 @@ function requireClientsdkClientcore () {
81097
81118
  }
81098
81119
  function VoiceAPIImpl$lambda$lambda_3(this$0) {
81099
81120
  return function () {
81100
- var state = this$0.t44_1.l1z(getKClass(MediaEventReducer));
81121
+ var state = this$0.g44_1.l1z(getKClass(MediaEventReducer));
81101
81122
  var tmp0_elvis_lhs = state.h46_1;
81102
81123
  var tmp;
81103
81124
  if (tmp0_elvis_lhs == null) {
@@ -81115,7 +81136,7 @@ function requireClientsdkClientcore () {
81115
81136
  }
81116
81137
  var mediaEvent = tmp_0;
81117
81138
  if (mediaEvent instanceof MediaErrorEvent) {
81118
- var tmp3_safe_receiver = this$0.v44_1;
81139
+ var tmp3_safe_receiver = this$0.i44_1;
81119
81140
  if (tmp3_safe_receiver == null)
81120
81141
  null;
81121
81142
  else {
@@ -81123,7 +81144,7 @@ function requireClientsdkClientcore () {
81123
81144
  }
81124
81145
  } else {
81125
81146
  if (mediaEvent instanceof RTCStatsUpdate) {
81126
- var tmp4_safe_receiver = this$0.v44_1;
81147
+ var tmp4_safe_receiver = this$0.i44_1;
81127
81148
  if (tmp4_safe_receiver == null)
81128
81149
  null;
81129
81150
  else {
@@ -81145,16 +81166,16 @@ function requireClientsdkClientcore () {
81145
81166
  if (memberResponse instanceof GetMember) {
81146
81167
  var tmp_0;
81147
81168
  if (memberResponse.s2h_1.v2_1 === 1) {
81148
- this$0.t44_1.z1z(Action_init_$Create$(new CallReconnect($legId, memberResponse.r2h_1, $legResponse.l29_1)));
81169
+ this$0.g44_1.z1z(Action_init_$Create$(new CallReconnect($legId, memberResponse.r2h_1, $legResponse.l29_1)));
81149
81170
  tmp_0 = Unit_instance;
81150
81171
  } else {
81151
- reportError_0(this$0.t44_1, $callback, new MemberNotInConversation(), ErrorTrail_RECONNECT_MEMBER_NOT_JOINED_getInstance(), VOID, $legId);
81172
+ reportError_0(this$0.g44_1, $callback, new MemberNotInConversation(), ErrorTrail_RECONNECT_MEMBER_NOT_JOINED_getInstance(), VOID, $legId);
81152
81173
  tmp_0 = Unit_instance;
81153
81174
  }
81154
81175
  tmp = tmp_0;
81155
81176
  } else {
81156
- reportError_0(this$0.t44_1, $callback, new NoConversationFound(), ErrorTrail_RECONNECT_MEMBER_FETCH_FAILED_getInstance(), VOID, $legId);
81157
- this$0.t44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
81177
+ reportError_0(this$0.g44_1, $callback, new NoConversationFound(), ErrorTrail_RECONNECT_MEMBER_FETCH_FAILED_getInstance(), VOID, $legId);
81178
+ this$0.g44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
81158
81179
  tmp = Unit_instance;
81159
81180
  }
81160
81181
  return Unit_instance;
@@ -81165,66 +81186,66 @@ function requireClientsdkClientcore () {
81165
81186
  var tmp;
81166
81187
  if (legResponse instanceof GetLeg) {
81167
81188
  var tmp_0 = new GetMyMemberRequest(legResponse.l29_1);
81168
- this$0.t44_1.z1z(new Action_0(tmp_0, new ActionMeta(VOID, legResponse.k29_1, VoiceAPIImpl$getCallDetailsAndDispatchCallReconnect$lambda$lambda(this$0, $legId, legResponse, $callback))));
81189
+ this$0.g44_1.z1z(new Action_0(tmp_0, new ActionMeta(VOID, legResponse.k29_1, VoiceAPIImpl$getCallDetailsAndDispatchCallReconnect$lambda$lambda(this$0, $legId, legResponse, $callback))));
81169
81190
  tmp = Unit_instance;
81170
81191
  } else {
81171
- reportError_0(this$0.t44_1, $callback, new NoLegFound(), ErrorTrail_RECONNECT_LEG_FETCH_FAILED_getInstance(), VOID, $legId);
81172
- this$0.t44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
81192
+ reportError_0(this$0.g44_1, $callback, new NoLegFound(), ErrorTrail_RECONNECT_LEG_FETCH_FAILED_getInstance(), VOID, $legId);
81193
+ this$0.g44_1.z1z(Action_init_$Create$(new CallCleanup($legId)));
81173
81194
  tmp = Unit_instance;
81174
81195
  }
81175
81196
  return Unit_instance;
81176
81197
  };
81177
81198
  }
81178
81199
  function VoiceAPIImpl(store, events, loggerAdapter) {
81179
- this.t44_1 = store;
81180
- this.u44_1 = loggerAdapter.q20(Voice_getInstance());
81181
- this.v44_1 = null;
81200
+ this.g44_1 = store;
81201
+ this.h44_1 = loggerAdapter.q20(Voice_getInstance());
81202
+ this.i44_1 = null;
81182
81203
  events.d27(new VoiceAPIImpl$1(this));
81183
81204
  var tmp = getKClass(SessionReducer);
81184
- this.t44_1.r20(tmp, VoiceAPIImpl$lambda(this));
81205
+ this.g44_1.r20(tmp, VoiceAPIImpl$lambda(this));
81185
81206
  var tmp_0 = getKClass(InviteReducer);
81186
- this.t44_1.r20(tmp_0, VoiceAPIImpl$lambda_0(this));
81207
+ this.g44_1.r20(tmp_0, VoiceAPIImpl$lambda_0(this));
81187
81208
  var tmp_1 = getKClass(CallReducer);
81188
- this.t44_1.r20(tmp_1, VoiceAPIImpl$lambda_1(this));
81209
+ this.g44_1.r20(tmp_1, VoiceAPIImpl$lambda_1(this));
81189
81210
  var tmp_2 = getKClass(CallReducer);
81190
- this.t44_1.r20(tmp_2, VoiceAPIImpl$lambda_2(this));
81211
+ this.g44_1.r20(tmp_2, VoiceAPIImpl$lambda_2(this));
81191
81212
  var tmp_3 = getKClass(MediaEventReducer);
81192
- this.t44_1.r20(tmp_3, VoiceAPIImpl$lambda_3(this));
81213
+ this.g44_1.r20(tmp_3, VoiceAPIImpl$lambda_3(this));
81193
81214
  }
81194
81215
  protoOf(VoiceAPIImpl).y25 = function (listener) {
81195
- this.v44_1 = listener;
81216
+ this.i44_1 = listener;
81196
81217
  };
81197
81218
  protoOf(VoiceAPIImpl).b26 = function (legId, callback) {
81198
- if (getSessionUserOrError(this.t44_1, callback) == null)
81219
+ if (getSessionUserOrError(this.g44_1, callback) == null)
81199
81220
  return Unit_instance;
81200
81221
  var tmp = new GetLegRequest(legId);
81201
- this.t44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, VOID, VoiceAPIImpl$getLeg$lambda(callback, this, legId))));
81222
+ this.g44_1.z1z(new Action_0(tmp, new ActionMeta(VOID, VOID, VoiceAPIImpl$getLeg$lambda(callback, this, legId))));
81202
81223
  };
81203
81224
  protoOf(VoiceAPIImpl).c26 = function (callId, parameters, callback) {
81204
- if (getSessionUserOrError(this.t44_1, callback) == null)
81225
+ if (getSessionUserOrError(this.g44_1, callback) == null)
81205
81226
  return Unit_instance;
81206
- var callState = this.t44_1.l1z(getKClass(CallReducer));
81227
+ var callState = this.g44_1.l1z(getKClass(CallReducer));
81207
81228
  var call = callState.w44_1.j2(callId);
81208
- var tmp2_safe_receiver = call == null ? null : call.k44_1;
81229
+ var tmp2_safe_receiver = call == null ? null : call.n44_1;
81209
81230
  var tmp = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.g2();
81210
81231
  var joinedMemberState = tmp instanceof Joined ? tmp : null;
81211
- var tmp4_elvis_lhs = joinedMemberState == null ? null : joinedMemberState.q44_1;
81232
+ var tmp4_elvis_lhs = joinedMemberState == null ? null : joinedMemberState.t44_1;
81212
81233
  var tmp_0;
81213
81234
  if (tmp4_elvis_lhs == null) {
81214
- var tmp5_safe_receiver = this.t44_1.l1z(getKClass(InviteReducer)).y45_1.j2(callId);
81235
+ var tmp5_safe_receiver = this.g44_1.l1z(getKClass(InviteReducer)).y45_1.j2(callId);
81215
81236
  tmp_0 = tmp5_safe_receiver == null ? null : tmp5_safe_receiver.e45_1;
81216
81237
  } else {
81217
81238
  tmp_0 = tmp4_elvis_lhs;
81218
81239
  }
81219
81240
  var conversationId = tmp_0;
81220
81241
  if (conversationId == null) {
81221
- return reportError(this.t44_1, callback, new NoCallFound(), ErrorTrail_GET_CALL_LEGS_NO_CALL_getInstance(), VOID, callId);
81242
+ return reportError(this.g44_1, callback, new NoCallFound(), ErrorTrail_GET_CALL_LEGS_NO_CALL_getInstance(), VOID, callId);
81222
81243
  }
81223
81244
  var tmp_1 = new GetConversationRequest(conversationId);
81224
- this.t44_1.z1z(new Action_0(tmp_1, new ActionMeta(VOID, VOID, VoiceAPIImpl$getCallLegs$lambda(this, callback, conversationId, callId, parameters))));
81245
+ this.g44_1.z1z(new Action_0(tmp_1, new ActionMeta(VOID, VOID, VoiceAPIImpl$getCallLegs$lambda(this, callback, conversationId, callId, parameters))));
81225
81246
  };
81226
81247
  protoOf(VoiceAPIImpl).z25 = function (context, callback) {
81227
- var tmp0_elvis_lhs = getSessionUserOrError(this.t44_1, callback);
81248
+ var tmp0_elvis_lhs = getSessionUserOrError(this.g44_1, callback);
81228
81249
  var tmp;
81229
81250
  if (tmp0_elvis_lhs == null) {
81230
81251
  return Unit_instance;
@@ -81232,30 +81253,29 @@ function requireClientsdkClientcore () {
81232
81253
  tmp = tmp0_elvis_lhs;
81233
81254
  }
81234
81255
  var user = tmp;
81235
- var tmp_0 = new SetupOutboundCall(user.v3q_1, context);
81236
- this.t44_1.z1z(new Action_0(tmp_0, new ActionMeta(VOID, VOID, VoiceAPIImpl$serverCall$lambda(this, callback))));
81256
+ attemptOutboundCall(this, user.v3q_1, context, 1, null, callback);
81237
81257
  };
81238
81258
  protoOf(VoiceAPIImpl).a26 = function (callId, callback) {
81239
81259
  var once = {_v: null};
81240
81260
  var tmp = getKClass(CallReducer);
81241
- once._v = this.t44_1.r20(tmp, VoiceAPIImpl$reconnectCall$lambda(this, callId, once, callback));
81242
- if (getSessionUserOrError_0(this.t44_1, callback) == null)
81261
+ once._v = this.g44_1.r20(tmp, VoiceAPIImpl$reconnectCall$lambda(this, callId, once, callback));
81262
+ if (getSessionUserOrError_0(this.g44_1, callback) == null)
81243
81263
  return Unit_instance;
81244
- var callState = this.t44_1.l1z(getKClass(CallReducer));
81264
+ var callState = this.g44_1.l1z(getKClass(CallReducer));
81245
81265
  var call = callState.w44_1.j2(callId);
81246
- var tmp2_safe_receiver = call == null ? null : call.k44_1;
81266
+ var tmp2_safe_receiver = call == null ? null : call.n44_1;
81247
81267
  var tmp_0 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.g2();
81248
81268
  var memberState = tmp_0 instanceof Joined ? tmp_0 : null;
81249
81269
  if (call == null || memberState == null) {
81250
81270
  getCallDetailsAndDispatchCallReconnect(this, callId, callback);
81251
81271
  } else {
81252
- this.t44_1.z1z(Action_init_$Create$(new CallReconnect(callId, memberState.r44_1, memberState.q44_1)));
81272
+ this.g44_1.z1z(Action_init_$Create$(new CallReconnect(callId, memberState.u44_1, memberState.t44_1)));
81253
81273
  }
81254
81274
  };
81255
81275
  protoOf(VoiceAPIImpl).d26 = function (callId, callback) {
81256
- var invite = this.t44_1.l1z(getKClass(InviteReducer)).y45_1.j2(callId);
81276
+ var invite = this.g44_1.l1z(getKClass(InviteReducer)).y45_1.j2(callId);
81257
81277
  if (invite == null) {
81258
- reportError_0(this.t44_1, callback, new NoInviteFound(), ErrorTrail_REJECT_NO_INVITE_getInstance(), VOID, callId);
81278
+ reportError_0(this.g44_1, callback, new NoInviteFound(), ErrorTrail_REJECT_NO_INVITE_getInstance(), VOID, callId);
81259
81279
  return Unit_instance;
81260
81280
  }
81261
81281
  var tmp;
@@ -81274,15 +81294,15 @@ function requireClientsdkClientcore () {
81274
81294
  tmp = tmp_3 instanceof Left;
81275
81295
  }
81276
81296
  if (tmp) {
81277
- reportError_0(this.t44_1, callback, new InvalidCallAction(), ErrorTrail_REJECT_INVALID_STATE_getInstance(), invite.e45_1, callId);
81297
+ reportError_0(this.g44_1, callback, new InvalidCallAction(), ErrorTrail_REJECT_INVALID_STATE_getInstance(), invite.e45_1, callId);
81278
81298
  return Unit_instance;
81279
81299
  }
81280
- this.t44_1.z1z(new Action_0(new MemberKickRequest(invite.e45_1, invite.d45_1, 'call-rejected-by-callee', 'REMOTE_REJECT', invite.d45_1), new ActionMeta(VOID, callId, actionOutcome(this, ErrorTrail_REJECT_REQUEST_FAILED_getInstance(), callId, callback))));
81300
+ this.g44_1.z1z(new Action_0(new MemberKickRequest(invite.e45_1, invite.d45_1, 'call-rejected-by-callee', 'REMOTE_REJECT', invite.d45_1), new ActionMeta(VOID, callId, actionOutcome(this, ErrorTrail_REJECT_REQUEST_FAILED_getInstance(), callId, callback))));
81281
81301
  };
81282
81302
  protoOf(VoiceAPIImpl).e26 = function (callId, callback) {
81283
- var invite = this.t44_1.l1z(getKClass(InviteReducer)).y45_1.j2(callId);
81303
+ var invite = this.g44_1.l1z(getKClass(InviteReducer)).y45_1.j2(callId);
81284
81304
  if (invite == null) {
81285
- reportError_0(this.t44_1, callback, new NoInviteFound(), ErrorTrail_ANSWER_NO_INVITE_getInstance(), VOID, callId);
81305
+ reportError_0(this.g44_1, callback, new NoInviteFound(), ErrorTrail_ANSWER_NO_INVITE_getInstance(), VOID, callId);
81286
81306
  return Unit_instance;
81287
81307
  }
81288
81308
  var tmp;
@@ -81301,27 +81321,27 @@ function requireClientsdkClientcore () {
81301
81321
  tmp = tmp_3 instanceof Left;
81302
81322
  }
81303
81323
  if (tmp) {
81304
- reportError_0(this.t44_1, callback, new InvalidCallAction(), ErrorTrail_ANSWER_INVALID_STATE_getInstance(), invite.e45_1, callId);
81324
+ reportError_0(this.g44_1, callback, new InvalidCallAction(), ErrorTrail_ANSWER_INVALID_STATE_getInstance(), invite.e45_1, callId);
81305
81325
  return Unit_instance;
81306
81326
  }
81307
81327
  var tmp_4 = new MemberJoinRequest(invite.e45_1, invite.d45_1, invite.d45_1);
81308
- this.t44_1.z1z(new Action_0(tmp_4, new ActionMeta(VOID, callId, VoiceAPIImpl$answerCall$lambda(this, callback, invite, callId))));
81328
+ this.g44_1.z1z(new Action_0(tmp_4, new ActionMeta(VOID, callId, VoiceAPIImpl$answerCall$lambda(this, callback, invite, callId))));
81309
81329
  };
81310
81330
  protoOf(VoiceAPIImpl).f26 = function (callId, reasonText, reasonCode, callback) {
81311
- var call = this.t44_1.l1z(getKClass(CallReducer)).w44_1.j2(callId);
81331
+ var call = this.g44_1.l1z(getKClass(CallReducer)).w44_1.j2(callId);
81312
81332
  if (call == null) {
81313
- reportError_0(this.t44_1, callback, new NoCallFound(), ErrorTrail_HANGUP_NO_CALL_getInstance(), VOID, callId);
81333
+ reportError_0(this.g44_1, callback, new NoCallFound(), ErrorTrail_HANGUP_NO_CALL_getInstance(), VOID, callId);
81314
81334
  return Unit_instance;
81315
81335
  }
81316
- this.t44_1.z1z(Action_init_$Create$(new MediaDisable(callId)));
81317
- var callMemberShipState = call.k44_1.g2();
81336
+ this.g44_1.z1z(Action_init_$Create$(new MediaDisable(callId)));
81337
+ var callMemberShipState = call.n44_1.g2();
81318
81338
  if (callMemberShipState instanceof Joined) {
81319
- this.t44_1.z1z(new Action_0(new MemberKickRequest(callMemberShipState.q44_1, callMemberShipState.r44_1, reasonText, reasonCode, callMemberShipState.r44_1), new ActionMeta(VOID, callId, actionOutcome(this, ErrorTrail_HANGUP_KICK_FAILED_getInstance(), callId, callback))));
81339
+ this.g44_1.z1z(new Action_0(new MemberKickRequest(callMemberShipState.t44_1, callMemberShipState.u44_1, reasonText, reasonCode, callMemberShipState.u44_1), new ActionMeta(VOID, callId, actionOutcome(this, ErrorTrail_HANGUP_KICK_FAILED_getInstance(), callId, callback))));
81320
81340
  } else {
81321
81341
  if (callMemberShipState instanceof Knocking) {
81322
- this.t44_1.z1z(new Action_0(new DeleteKnockerRequest(callMemberShipState.i46_1), new ActionMeta(VOID, callId, actionOutcome(this, ErrorTrail_HANGUP_KNOCKER_DELETE_FAILED_getInstance(), callId, callback))));
81342
+ this.g44_1.z1z(new Action_0(new DeleteKnockerRequest(callMemberShipState.i46_1), new ActionMeta(VOID, callId, actionOutcome(this, ErrorTrail_HANGUP_KNOCKER_DELETE_FAILED_getInstance(), callId, callback))));
81323
81343
  } else {
81324
- reportError_0(this.t44_1, callback, new InvalidCallAction(), ErrorTrail_HANGUP_INVALID_STATE_getInstance(), VOID, callId);
81344
+ reportError_0(this.g44_1, callback, new InvalidCallAction(), ErrorTrail_HANGUP_INVALID_STATE_getInstance(), VOID, callId);
81325
81345
  }
81326
81346
  }
81327
81347
  };
@@ -86417,7 +86437,7 @@ function requireClientsdkClientcore () {
86417
86437
  tmp_1 = tmp2_elvis_lhs;
86418
86438
  }
86419
86439
  var applicationId = tmp_1;
86420
- var tmp_2 = call.k44_1.g2();
86440
+ var tmp_2 = call.n44_1.g2();
86421
86441
  var tmp3_elvis_lhs = isInterface(tmp_2, CoreMemberStateWithCid) ? tmp_2 : null;
86422
86442
  var tmp_3;
86423
86443
  if (tmp3_elvis_lhs == null) {
@@ -86426,8 +86446,8 @@ function requireClientsdkClientcore () {
86426
86446
  tmp_3 = tmp3_elvis_lhs;
86427
86447
  }
86428
86448
  var member = tmp_3;
86429
- this.t4f_1.z1z(Action_init_$Create$(new RTCStatsUpdate(call.j44_1, rtcStats)));
86430
- this.t4f_1.z1z(Action_init_$Create$(new RTCStatsReportRequest(call.j44_1, rtcStats, applicationId, apiKey, member.d34(), member.u4f())));
86449
+ this.t4f_1.z1z(Action_init_$Create$(new RTCStatsUpdate(call.m44_1, rtcStats)));
86450
+ this.t4f_1.z1z(Action_init_$Create$(new RTCStatsReportRequest(call.m44_1, rtcStats, applicationId, apiKey, member.d34(), member.u4f())));
86431
86451
  };
86432
86452
  protoOf(mediaActionMiddleware$1).c23 = function (id, error) {
86433
86453
  this.t4f_1.z1z(Action_init_$Create$(new MediaErrorEvent(id, error)));
@@ -86726,9 +86746,9 @@ function requireClientsdkClientcore () {
86726
86746
  break $l$block_0;
86727
86747
  }
86728
86748
  if (autoReconnectMedia) {
86729
- $store.z1z(Action_init_$Create$(new TimeoutAction(new CallReconnectionRetry(call.j44_1), 3000)));
86749
+ $store.z1z(Action_init_$Create$(new TimeoutAction(new CallReconnectionRetry(call.m44_1), 3000)));
86730
86750
  } else {
86731
- $store.z1z(Action_init_$Create$(new CallReconnectFailure(call.j44_1)));
86751
+ $store.z1z(Action_init_$Create$(new CallReconnectFailure(call.m44_1)));
86732
86752
  }
86733
86753
  } else {
86734
86754
  if (tmp0_subject instanceof CallReconnectFailure) {
@@ -87326,7 +87346,7 @@ function requireClientsdkClientcore () {
87326
87346
  while (_iterator__ex2g4s_2.u()) {
87327
87347
  var element_2 = _iterator__ex2g4s_2.v();
87328
87348
  var tmp0_safe_receiver = $this$run.w44_1.j2(element_2);
87329
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l44_1;
87349
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o44_1;
87330
87350
  // Inline function 'kotlin.let' call
87331
87351
  if ((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.g2())instanceof Completed) {
87332
87352
  _this__u8e3s4.z1z(Action_init_$Create$(new CallCleanup(element_2)));
@@ -88014,47 +88034,47 @@ function requireClientsdkClientcore () {
88014
88034
  callConnectivityState = callConnectivityState === VOID ? New_instance : callConnectivityState;
88015
88035
  mediaState = mediaState === VOID ? MediaConnectionState_New_getInstance() : mediaState;
88016
88036
  memberJoinTimedOut = memberJoinTimedOut === VOID ? false : memberJoinTimedOut;
88017
- this.g44_1 = isReconnect;
88018
- this.h44_1 = from;
88019
- this.i44_1 = customData;
88020
- this.j44_1 = id;
88021
- this.k44_1 = memberState;
88022
- this.l44_1 = legState;
88023
- this.m44_1 = localMedia;
88024
- this.n44_1 = callConnectivityState;
88025
- this.o44_1 = mediaState;
88026
- this.p44_1 = memberJoinTimedOut;
88037
+ this.j44_1 = isReconnect;
88038
+ this.k44_1 = from;
88039
+ this.l44_1 = customData;
88040
+ this.m44_1 = id;
88041
+ this.n44_1 = memberState;
88042
+ this.o44_1 = legState;
88043
+ this.p44_1 = localMedia;
88044
+ this.q44_1 = callConnectivityState;
88045
+ this.r44_1 = mediaState;
88046
+ this.s44_1 = memberJoinTimedOut;
88027
88047
  }
88028
88048
  protoOf(Call_1).h4i = function (isReconnect, from, customData, id, memberState, legState, localMedia, callConnectivityState, mediaState, memberJoinTimedOut) {
88029
88049
  return new Call_1(isReconnect, from, customData, id, memberState, legState, localMedia, callConnectivityState, mediaState, memberJoinTimedOut);
88030
88050
  };
88031
88051
  protoOf(Call_1).c46 = function (isReconnect, from, customData, id, memberState, legState, localMedia, callConnectivityState, mediaState, memberJoinTimedOut, $super) {
88032
- isReconnect = isReconnect === VOID ? this.g44_1 : isReconnect;
88033
- from = from === VOID ? this.h44_1 : from;
88034
- customData = customData === VOID ? this.i44_1 : customData;
88035
- id = id === VOID ? this.j44_1 : id;
88036
- memberState = memberState === VOID ? this.k44_1 : memberState;
88037
- legState = legState === VOID ? this.l44_1 : legState;
88038
- localMedia = localMedia === VOID ? this.m44_1 : localMedia;
88039
- callConnectivityState = callConnectivityState === VOID ? this.n44_1 : callConnectivityState;
88040
- mediaState = mediaState === VOID ? this.o44_1 : mediaState;
88041
- memberJoinTimedOut = memberJoinTimedOut === VOID ? this.p44_1 : memberJoinTimedOut;
88052
+ isReconnect = isReconnect === VOID ? this.j44_1 : isReconnect;
88053
+ from = from === VOID ? this.k44_1 : from;
88054
+ customData = customData === VOID ? this.l44_1 : customData;
88055
+ id = id === VOID ? this.m44_1 : id;
88056
+ memberState = memberState === VOID ? this.n44_1 : memberState;
88057
+ legState = legState === VOID ? this.o44_1 : legState;
88058
+ localMedia = localMedia === VOID ? this.p44_1 : localMedia;
88059
+ callConnectivityState = callConnectivityState === VOID ? this.q44_1 : callConnectivityState;
88060
+ mediaState = mediaState === VOID ? this.r44_1 : mediaState;
88061
+ memberJoinTimedOut = memberJoinTimedOut === VOID ? this.s44_1 : memberJoinTimedOut;
88042
88062
  return $super === VOID ? this.h4i(isReconnect, from, customData, id, memberState, legState, localMedia, callConnectivityState, mediaState, memberJoinTimedOut) : $super.h4i.call(this, isReconnect, from, customData, id, memberState, legState, localMedia, callConnectivityState, mediaState, memberJoinTimedOut);
88043
88063
  };
88044
88064
  protoOf(Call_1).toString = function () {
88045
- return 'Call(isReconnect=' + this.g44_1 + ', from=' + toString(this.h44_1) + ', customData=' + toString_0(this.i44_1) + ', id=' + this.j44_1 + ', memberState=' + toString(this.k44_1) + ', legState=' + toString(this.l44_1) + ', localMedia=' + this.m44_1.toString() + ', callConnectivityState=' + toString(this.n44_1) + ', mediaState=' + this.o44_1.toString() + ', memberJoinTimedOut=' + this.p44_1 + ')';
88065
+ return 'Call(isReconnect=' + this.j44_1 + ', from=' + toString(this.k44_1) + ', customData=' + toString_0(this.l44_1) + ', id=' + this.m44_1 + ', memberState=' + toString(this.n44_1) + ', legState=' + toString(this.o44_1) + ', localMedia=' + this.p44_1.toString() + ', callConnectivityState=' + toString(this.q44_1) + ', mediaState=' + this.r44_1.toString() + ', memberJoinTimedOut=' + this.s44_1 + ')';
88046
88066
  };
88047
88067
  protoOf(Call_1).hashCode = function () {
88048
- var result = getBooleanHashCode(this.g44_1);
88049
- result = imul(result, 31) + hashCode(this.h44_1) | 0;
88050
- result = imul(result, 31) + (this.i44_1 == null ? 0 : hashCode(this.i44_1)) | 0;
88051
- result = imul(result, 31) + getStringHashCode(this.j44_1) | 0;
88068
+ var result = getBooleanHashCode(this.j44_1);
88052
88069
  result = imul(result, 31) + hashCode(this.k44_1) | 0;
88053
- result = imul(result, 31) + hashCode(this.l44_1) | 0;
88054
- result = imul(result, 31) + this.m44_1.hashCode() | 0;
88070
+ result = imul(result, 31) + (this.l44_1 == null ? 0 : hashCode(this.l44_1)) | 0;
88071
+ result = imul(result, 31) + getStringHashCode(this.m44_1) | 0;
88055
88072
  result = imul(result, 31) + hashCode(this.n44_1) | 0;
88056
- result = imul(result, 31) + this.o44_1.hashCode() | 0;
88057
- result = imul(result, 31) + getBooleanHashCode(this.p44_1) | 0;
88073
+ result = imul(result, 31) + hashCode(this.o44_1) | 0;
88074
+ result = imul(result, 31) + this.p44_1.hashCode() | 0;
88075
+ result = imul(result, 31) + hashCode(this.q44_1) | 0;
88076
+ result = imul(result, 31) + this.r44_1.hashCode() | 0;
88077
+ result = imul(result, 31) + getBooleanHashCode(this.s44_1) | 0;
88058
88078
  return result;
88059
88079
  };
88060
88080
  protoOf(Call_1).equals = function (other) {
@@ -88062,25 +88082,25 @@ function requireClientsdkClientcore () {
88062
88082
  return true;
88063
88083
  if (!(other instanceof Call_1))
88064
88084
  return false;
88065
- if (!(this.g44_1 === other.g44_1))
88066
- return false;
88067
- if (!equals(this.h44_1, other.h44_1))
88068
- return false;
88069
- if (!equals(this.i44_1, other.i44_1))
88070
- return false;
88071
88085
  if (!(this.j44_1 === other.j44_1))
88072
88086
  return false;
88073
88087
  if (!equals(this.k44_1, other.k44_1))
88074
88088
  return false;
88075
88089
  if (!equals(this.l44_1, other.l44_1))
88076
88090
  return false;
88077
- if (!this.m44_1.equals(other.m44_1))
88091
+ if (!(this.m44_1 === other.m44_1))
88078
88092
  return false;
88079
88093
  if (!equals(this.n44_1, other.n44_1))
88080
88094
  return false;
88081
- if (!this.o44_1.equals(other.o44_1))
88095
+ if (!equals(this.o44_1, other.o44_1))
88096
+ return false;
88097
+ if (!this.p44_1.equals(other.p44_1))
88098
+ return false;
88099
+ if (!equals(this.q44_1, other.q44_1))
88100
+ return false;
88101
+ if (!this.r44_1.equals(other.r44_1))
88082
88102
  return false;
88083
- if (!(this.p44_1 === other.p44_1))
88103
+ if (!(this.s44_1 === other.s44_1))
88084
88104
  return false;
88085
88105
  return true;
88086
88106
  };
@@ -88391,18 +88411,18 @@ function requireClientsdkClientcore () {
88391
88411
  if ($action.l3a_1.u3a_1.k2o_1 === this$0.y44_1) {
88392
88412
  var tmp_0;
88393
88413
  var tmp_1;
88394
- var tmp_2 = $this$modify.k44_1.g2();
88414
+ var tmp_2 = $this$modify.n44_1.g2();
88395
88415
  if (isInterface(tmp_2, CoreMemberStateWithCid)) {
88396
- var tmp_3 = $this$modify.k44_1.g2();
88416
+ var tmp_3 = $this$modify.n44_1.g2();
88397
88417
  tmp_1 = (isInterface(tmp_3, CoreMemberStateWithCid) ? tmp_3 : THROW_CCE()).d34() === $action.n3a_1;
88398
88418
  } else {
88399
88419
  tmp_1 = false;
88400
88420
  }
88401
88421
  if (tmp_1) {
88402
88422
  var tmp_4 = $this$modify;
88403
- var tmp_5 = $this$modify.k44_1;
88423
+ var tmp_5 = $this$modify.n44_1;
88404
88424
  var tmp0_safe_receiver = $action.l3a_1.w3a_1;
88405
- tmp_4.k44_1 = toResolved(tmp_5, new Left($action.n3a_1, $action.l3a_1.t3a_1, '', tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b3b_1));
88425
+ tmp_4.n44_1 = toResolved(tmp_5, new Left($action.n3a_1, $action.l3a_1.t3a_1, '', tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b3b_1));
88406
88426
  tmp_0 = Unit_instance;
88407
88427
  }
88408
88428
  tmp = tmp_0;
@@ -88421,22 +88441,22 @@ function requireClientsdkClientcore () {
88421
88441
  var tmp_0;
88422
88442
  switch ($action.c47_1.v2_1) {
88423
88443
  case 1:
88424
- tmp_0 = toResolved(this_0.l44_1, new Started($action.a47_1));
88444
+ tmp_0 = toResolved(this_0.o44_1, new Started($action.a47_1));
88425
88445
  break;
88426
88446
  case 0:
88427
- tmp_0 = toResolved(this_0.l44_1, new Prewarm($action.a47_1));
88447
+ tmp_0 = toResolved(this_0.o44_1, new Prewarm($action.a47_1));
88428
88448
  break;
88429
88449
  default:
88430
88450
  noWhenBranchMatchedException();
88431
88451
  break;
88432
88452
  }
88433
- tmp.l44_1 = tmp_0;
88453
+ tmp.o44_1 = tmp_0;
88434
88454
  var tmp1_safe_receiver = $action.e47_1;
88435
88455
  if (tmp1_safe_receiver == null)
88436
88456
  null;
88437
88457
  else {
88438
88458
  // Inline function 'kotlin.let' call
88439
- this_0.k44_1 = toResolved(this_0.k44_1, new Joined(tmp1_safe_receiver.g47_1, tmp1_safe_receiver.h47_1));
88459
+ this_0.n44_1 = toResolved(this_0.n44_1, new Joined(tmp1_safe_receiver.g47_1, tmp1_safe_receiver.h47_1));
88440
88460
  var tmp0 = $this$new.x44_1;
88441
88461
  var tmp2 = tmp1_safe_receiver.g47_1;
88442
88462
  // Inline function 'kotlin.collections.set' call
@@ -88449,9 +88469,9 @@ function requireClientsdkClientcore () {
88449
88469
  function CallState$update$lambda_1($action) {
88450
88470
  return function ($this$modify) {
88451
88471
  var tmp;
88452
- var tmp_0 = $this$modify.k44_1.g2();
88472
+ var tmp_0 = $this$modify.n44_1.g2();
88453
88473
  if (isInterface(tmp_0, CoreMemberStateWithCid)) {
88454
- var tmp_1 = $this$modify.k44_1.g2();
88474
+ var tmp_1 = $this$modify.n44_1.g2();
88455
88475
  (isInterface(tmp_1, CoreMemberStateWithCid) ? tmp_1 : THROW_CCE()).p4j($action.j47_1);
88456
88476
  tmp = Unit_instance;
88457
88477
  }
@@ -88460,7 +88480,7 @@ function requireClientsdkClientcore () {
88460
88480
  }
88461
88481
  function CallState$update$lambda_2($action, $requestId, $$this$apply, $callId) {
88462
88482
  return function ($this$modify) {
88463
- $this$modify.k44_1 = toPending($this$modify.k44_1, new Joined($action.p2c_1, $action.q2c_1), $requestId);
88483
+ $this$modify.n44_1 = toPending($this$modify.n44_1, new Joined($action.p2c_1, $action.q2c_1), $requestId);
88464
88484
  var tmp0 = $$this$apply.x44_1;
88465
88485
  var tmp2 = $action.p2c_1;
88466
88486
  // Inline function 'kotlin.collections.set' call
@@ -88471,7 +88491,7 @@ function requireClientsdkClientcore () {
88471
88491
  }
88472
88492
  function CallState$update$lambda_3($event, $newMemberId, $$this$apply, $callId) {
88473
88493
  return function ($this$modify) {
88474
- $this$modify.k44_1 = new Resolved(new Joined($event.y36_1, $newMemberId));
88494
+ $this$modify.n44_1 = new Resolved(new Joined($event.y36_1, $newMemberId));
88475
88495
  $$this$apply.x44_1.o2($event.w36_1.f37_1);
88476
88496
  var tmp0 = $$this$apply.x44_1;
88477
88497
  var tmp2 = $event.y36_1;
@@ -88482,57 +88502,57 @@ function requireClientsdkClientcore () {
88482
88502
  };
88483
88503
  }
88484
88504
  function CallState$update$lambda_4($this$modify) {
88485
- if ($this$modify.o44_1.equals(MediaConnectionState_Closed_getInstance()))
88505
+ if ($this$modify.r44_1.equals(MediaConnectionState_Closed_getInstance()))
88486
88506
  return Unit_instance;
88487
88507
  var tmp;
88488
- var tmp_0 = $this$modify.k44_1.g2();
88508
+ var tmp_0 = $this$modify.n44_1.g2();
88489
88509
  if (!(tmp_0 instanceof Joined)) {
88490
- tmp = $this$modify.o44_1.equals(MediaConnectionState_Connected_getInstance());
88510
+ tmp = $this$modify.r44_1.equals(MediaConnectionState_Connected_getInstance());
88491
88511
  } else {
88492
88512
  tmp = false;
88493
88513
  }
88494
88514
  if (tmp) {
88495
- $this$modify.p44_1 = true;
88515
+ $this$modify.s44_1 = true;
88496
88516
  }
88497
88517
  var tmp_1 = $this$modify;
88498
88518
  var tmp_2;
88499
- if ($this$modify.o44_1.equals(MediaConnectionState_New_getInstance())) {
88519
+ if ($this$modify.r44_1.equals(MediaConnectionState_New_getInstance())) {
88500
88520
  tmp_2 = MediaConnectionState_Failed_getInstance();
88501
88521
  } else {
88502
- var tmp_3 = $this$modify.k44_1.g2();
88522
+ var tmp_3 = $this$modify.n44_1.g2();
88503
88523
  if (!(tmp_3 instanceof Joined)) {
88504
88524
  tmp_2 = MediaConnectionState_Failed_getInstance();
88505
88525
  } else {
88506
- tmp_2 = $this$modify.o44_1;
88526
+ tmp_2 = $this$modify.r44_1;
88507
88527
  }
88508
88528
  }
88509
- tmp_1.o44_1 = tmp_2;
88529
+ tmp_1.r44_1 = tmp_2;
88510
88530
  return Unit_instance;
88511
88531
  }
88512
88532
  function CallState$update$lambda_5($event) {
88513
88533
  return function ($this$modify) {
88514
- $this$modify.k44_1 = toFailed($this$modify.k44_1, $event.m46_1);
88534
+ $this$modify.n44_1 = toFailed($this$modify.n44_1, $event.m46_1);
88515
88535
  return Unit_instance;
88516
88536
  };
88517
88537
  }
88518
88538
  function CallState$update$lambda_6($event) {
88519
88539
  return function ($this$modify) {
88520
- $this$modify.k44_1 = new Resolved(new Joined($event.r38_1, $event.p38_1.y38_1));
88540
+ $this$modify.n44_1 = new Resolved(new Joined($event.r38_1, $event.p38_1.y38_1));
88521
88541
  return Unit_instance;
88522
88542
  };
88523
88543
  }
88524
88544
  function CallState$update$lambda_7($requestId) {
88525
88545
  return function ($this$modify) {
88526
- $this$modify.k44_1 = toPending($this$modify.k44_1, new Knocking('placeholder'), $requestId);
88546
+ $this$modify.n44_1 = toPending($this$modify.n44_1, new Knocking('placeholder'), $requestId);
88527
88547
  return Unit_instance;
88528
88548
  };
88529
88549
  }
88530
88550
  function CallState$update$lambda_8($response) {
88531
88551
  return function ($this$modify) {
88532
88552
  var tmp;
88533
- var tmp_0 = $this$modify.k44_1.g2();
88553
+ var tmp_0 = $this$modify.n44_1.g2();
88534
88554
  if (tmp_0 instanceof Knocking) {
88535
- $this$modify.k44_1 = toResolved($this$modify.k44_1, new Knocking($response.l2u_1));
88555
+ $this$modify.n44_1 = toResolved($this$modify.n44_1, new Knocking($response.l2u_1));
88536
88556
  tmp = Unit_instance;
88537
88557
  }
88538
88558
  return Unit_instance;
@@ -88544,75 +88564,75 @@ function requireClientsdkClientcore () {
88544
88564
  }
88545
88565
  function CallState$update$lambda_10($response) {
88546
88566
  return function ($this$modify) {
88547
- $this$modify.l44_1 = toResolved($this$modify.l44_1, new Started($response.o2u_1));
88567
+ $this$modify.o44_1 = toResolved($this$modify.o44_1, new Started($response.o2u_1));
88548
88568
  return Unit_instance;
88549
88569
  };
88550
88570
  }
88551
88571
  function CallState$update$lambda_11($action, $requestId) {
88552
88572
  return function ($this$modify) {
88553
- $this$modify.k44_1 = toPending($this$modify.k44_1, new Left($action.z2b_1, $action.a2c_1), $requestId);
88573
+ $this$modify.n44_1 = toPending($this$modify.n44_1, new Left($action.z2b_1, $action.a2c_1), $requestId);
88554
88574
  return Unit_instance;
88555
88575
  };
88556
88576
  }
88557
88577
  function CallState$update$lambda_12($action) {
88558
88578
  return function ($this$modify) {
88559
- $this$modify.k44_1 = toResolved($this$modify.k44_1, new Left($action.b2m_1, $action.c2m_1));
88579
+ $this$modify.n44_1 = toResolved($this$modify.n44_1, new Left($action.b2m_1, $action.c2m_1));
88560
88580
  return Unit_instance;
88561
88581
  };
88562
88582
  }
88563
88583
  function CallState$update$lambda_13($callId, $action) {
88564
88584
  return function ($this$modify) {
88565
- $this$modify.l44_1 = new Resolved(new Completed($callId, $action.p36_1.t33_1));
88566
- $this$modify.n44_1 = Disconnected_instance;
88585
+ $this$modify.o44_1 = new Resolved(new Completed($callId, $action.p36_1.t33_1));
88586
+ $this$modify.q44_1 = Disconnected_instance;
88567
88587
  return Unit_instance;
88568
88588
  };
88569
88589
  }
88570
88590
  function CallState$update$lambda_14($action) {
88571
88591
  return function ($this$modify) {
88572
- $this$modify.k44_1 = toFailed($this$modify.k44_1, $action.w27_1);
88592
+ $this$modify.n44_1 = toFailed($this$modify.n44_1, $action.w27_1);
88573
88593
  return Unit_instance;
88574
88594
  };
88575
88595
  }
88576
88596
  function CallState$update$lambda_15($offer) {
88577
88597
  return function ($this$modify) {
88578
- $this$modify.m44_1 = $this$modify.m44_1.u48(new Offer_0($offer.k3j_1));
88598
+ $this$modify.p44_1 = $this$modify.p44_1.u48(new Offer_0($offer.k3j_1));
88579
88599
  return Unit_instance;
88580
88600
  };
88581
88601
  }
88582
88602
  function CallState$update$lambda_16($offer) {
88583
88603
  return function ($this$modify) {
88584
- $this$modify.m44_1 = $this$modify.m44_1.u48(new Answer_0($offer.m3j_1));
88604
+ $this$modify.p44_1 = $this$modify.p44_1.u48(new Answer_0($offer.m3j_1));
88585
88605
  return Unit_instance;
88586
88606
  };
88587
88607
  }
88588
88608
  function CallState$update$lambda_17($this$modify) {
88589
- $this$modify.m44_1 = $this$modify.m44_1.u48(VOID, VOID, false);
88609
+ $this$modify.p44_1 = $this$modify.p44_1.u48(VOID, VOID, false);
88590
88610
  return Unit_instance;
88591
88611
  }
88592
88612
  function CallState$update$lambda_18($action) {
88593
88613
  return function ($this$modify) {
88594
- $this$modify.m44_1 = $this$modify.m44_1.u48(VOID, new Answer_0($action.f39_1.n39_1));
88614
+ $this$modify.p44_1 = $this$modify.p44_1.u48(VOID, new Answer_0($action.f39_1.n39_1));
88595
88615
  return Unit_instance;
88596
88616
  };
88597
88617
  }
88598
88618
  function CallState$update$lambda_19($action) {
88599
88619
  return function ($this$modify) {
88600
- $this$modify.o44_1 = $action.f25_1;
88620
+ $this$modify.r44_1 = $action.f25_1;
88601
88621
  var tmp;
88602
- var tmp_0 = $this$modify.n44_1;
88622
+ var tmp_0 = $this$modify.q44_1;
88603
88623
  if (tmp_0 instanceof Disconnected) {
88604
88624
  return Unit_instance;
88605
88625
  }
88606
88626
  var tmp_1 = $this$modify;
88607
- switch ($this$modify.o44_1.v2_1) {
88627
+ switch ($this$modify.r44_1.v2_1) {
88608
88628
  case 3:
88609
- tmp_1.n44_1 = Connected_instance;
88629
+ tmp_1.q44_1 = Connected_instance;
88610
88630
  break;
88611
88631
  case 4:
88612
- tmp_1.n44_1 = new Reconnecting();
88632
+ tmp_1.q44_1 = new Reconnecting();
88613
88633
  break;
88614
88634
  default:
88615
- tmp_1.n44_1 = $this$modify.n44_1;
88635
+ tmp_1.q44_1 = $this$modify.q44_1;
88616
88636
  break;
88617
88637
  }
88618
88638
  return Unit_instance;
@@ -88633,11 +88653,11 @@ function requireClientsdkClientcore () {
88633
88653
  };
88634
88654
  }
88635
88655
  function CallState$update$lambda_21($this$modify) {
88636
- $this$modify.g44_1 = true;
88656
+ $this$modify.j44_1 = true;
88637
88657
  return Unit_instance;
88638
88658
  }
88639
88659
  function CallState$update$lambda_22($this$modify) {
88640
- var tmp = $this$modify.n44_1;
88660
+ var tmp = $this$modify.q44_1;
88641
88661
  var tmp0_safe_receiver = tmp instanceof Reconnecting ? tmp : null;
88642
88662
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n45_1;
88643
88663
  var tmp_0;
@@ -88647,16 +88667,16 @@ function requireClientsdkClientcore () {
88647
88667
  tmp_0 = tmp1_elvis_lhs;
88648
88668
  }
88649
88669
  var currentRetryCount = tmp_0;
88650
- $this$modify.n44_1 = new Reconnecting(currentRetryCount + 1 | 0);
88670
+ $this$modify.q44_1 = new Reconnecting(currentRetryCount + 1 | 0);
88651
88671
  return Unit_instance;
88652
88672
  }
88653
88673
  function CallState$update$lambda_23($this$modify) {
88654
- $this$modify.g44_1 = false;
88674
+ $this$modify.j44_1 = false;
88655
88675
  return Unit_instance;
88656
88676
  }
88657
88677
  function CallState$update$lambda_24($this$modify) {
88658
- $this$modify.g44_1 = false;
88659
- $this$modify.n44_1 = Disconnected_instance;
88678
+ $this$modify.j44_1 = false;
88679
+ $this$modify.q44_1 = Disconnected_instance;
88660
88680
  return Unit_instance;
88661
88681
  }
88662
88682
  function CallState(calls, conversationIdToCallId, currentUserId) {
@@ -88898,26 +88918,26 @@ function requireClientsdkClientcore () {
88898
88918
  };
88899
88919
  function Joined(cid, mid, conversationName) {
88900
88920
  conversationName = conversationName === VOID ? null : conversationName;
88901
- this.q44_1 = cid;
88902
- this.r44_1 = mid;
88903
- this.s44_1 = conversationName;
88921
+ this.t44_1 = cid;
88922
+ this.u44_1 = mid;
88923
+ this.v44_1 = conversationName;
88904
88924
  }
88905
88925
  protoOf(Joined).d34 = function () {
88906
- return this.q44_1;
88926
+ return this.t44_1;
88907
88927
  };
88908
88928
  protoOf(Joined).p4j = function (_set____db54di) {
88909
- this.s44_1 = _set____db54di;
88929
+ this.v44_1 = _set____db54di;
88910
88930
  };
88911
88931
  protoOf(Joined).u4f = function () {
88912
- return this.s44_1;
88932
+ return this.v44_1;
88913
88933
  };
88914
88934
  protoOf(Joined).toString = function () {
88915
- return 'Joined(cid=' + this.q44_1 + ', mid=' + this.r44_1 + ', conversationName=' + this.s44_1 + ')';
88935
+ return 'Joined(cid=' + this.t44_1 + ', mid=' + this.u44_1 + ', conversationName=' + this.v44_1 + ')';
88916
88936
  };
88917
88937
  protoOf(Joined).hashCode = function () {
88918
- var result = getStringHashCode(this.q44_1);
88919
- result = imul(result, 31) + getStringHashCode(this.r44_1) | 0;
88920
- result = imul(result, 31) + (this.s44_1 == null ? 0 : getStringHashCode(this.s44_1)) | 0;
88938
+ var result = getStringHashCode(this.t44_1);
88939
+ result = imul(result, 31) + getStringHashCode(this.u44_1) | 0;
88940
+ result = imul(result, 31) + (this.v44_1 == null ? 0 : getStringHashCode(this.v44_1)) | 0;
88921
88941
  return result;
88922
88942
  };
88923
88943
  protoOf(Joined).equals = function (other) {
@@ -88925,11 +88945,11 @@ function requireClientsdkClientcore () {
88925
88945
  return true;
88926
88946
  if (!(other instanceof Joined))
88927
88947
  return false;
88928
- if (!(this.q44_1 === other.q44_1))
88948
+ if (!(this.t44_1 === other.t44_1))
88929
88949
  return false;
88930
- if (!(this.r44_1 === other.r44_1))
88950
+ if (!(this.u44_1 === other.u44_1))
88931
88951
  return false;
88932
- if (!(this.s44_1 == other.s44_1))
88952
+ if (!(this.v44_1 == other.v44_1))
88933
88953
  return false;
88934
88954
  return true;
88935
88955
  };