@doordeck/doordeck-headless-sdk 0.155.0 → 0.157.0

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.
@@ -119,7 +119,7 @@
119
119
  CoroutineImpl.call(this, resultContinuation);
120
120
  }
121
121
  protoOf(AuthConfig$isUnauthorizedResponse$slambda).w4h = function (it, $completion) {
122
- var tmp = this.g3m(it, $completion);
122
+ var tmp = this.j3m(it, $completion);
123
123
  tmp.w8_1 = Unit_instance;
124
124
  tmp.x8_1 = null;
125
125
  return tmp.c9();
@@ -134,7 +134,7 @@
134
134
  var tmp = this.u8_1;
135
135
  if (tmp === 0) {
136
136
  this.v8_1 = 1;
137
- return this.v4h_1.j33().equals(Companion_getInstance().a2z_1);
137
+ return this.v4h_1.m33().equals(Companion_getInstance().d2z_1);
138
138
  } else if (tmp === 1) {
139
139
  throw this.x8_1;
140
140
  }
@@ -144,7 +144,7 @@
144
144
  }
145
145
  while (true);
146
146
  };
147
- protoOf(AuthConfig$isUnauthorizedResponse$slambda).g3m = function (it, completion) {
147
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).j3m = function (it, completion) {
148
148
  var i = new AuthConfig$isUnauthorizedResponse$slambda(completion);
149
149
  i.v4h_1 = it;
150
150
  return i;
@@ -176,8 +176,8 @@
176
176
  }
177
177
  function Auth$lambda($this$createClientPlugin) {
178
178
  _init_properties_Auth_kt__9ob1dk();
179
- var providers = toList($this$createClientPlugin.g3l_1.x4h_1);
180
- $this$createClientPlugin.f3l_1.h3b_1.b2i(get_AuthProvidersKey(), providers);
179
+ var providers = toList($this$createClientPlugin.j3l_1.x4h_1);
180
+ $this$createClientPlugin.i3l_1.k3b_1.c2i(get_AuthProvidersKey(), providers);
181
181
  var tokenVersions = new ConcurrentMap();
182
182
  // Inline function 'io.ktor.util.AttributeKey' call
183
183
  var name = 'ProviderVersionAttributeKey';
@@ -200,13 +200,13 @@
200
200
  var tmp$ret$0 = tmp_0;
201
201
  var tmp$ret$1 = new TypeInfo(tmp, tmp$ret$0);
202
202
  var tokenVersionsAttributeKey = new AttributeKey(name, tmp$ret$1);
203
- $this$createClientPlugin.v41(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
203
+ $this$createClientPlugin.w41(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
204
204
  var tmp_2 = Send_instance;
205
- $this$createClientPlugin.j3l(tmp_2, Auth$lambda$slambda_2($this$createClientPlugin, providers, tokenVersions, tokenVersionsAttributeKey, null));
205
+ $this$createClientPlugin.m3l(tmp_2, Auth$lambda$slambda_2($this$createClientPlugin, providers, tokenVersions, tokenVersionsAttributeKey, null));
206
206
  return Unit_instance;
207
207
  }
208
208
  function invoke$findProvider(call, candidateProviders) {
209
- var headerValues = call.d3c().n2x().c2m(HttpHeaders_getInstance().m2w_1);
209
+ var headerValues = call.g3c().p2x().d2m(HttpHeaders_getInstance().n2w_1);
210
210
  var tmp;
211
211
  if (headerValues == null) {
212
212
  tmp = null;
@@ -232,8 +232,8 @@
232
232
  // Inline function 'io.ktor.util.logging.trace' call
233
233
  var this_0 = get_LOGGER();
234
234
  if (get_isTraceEnabled(this_0)) {
235
- var tmp$ret$3 = 'Unauthorized response ' + call.l3e().u3e().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
236
- this_0.s2q(tmp$ret$3);
235
+ var tmp$ret$3 = 'Unauthorized response ' + call.o3e().x3e().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
236
+ this_0.t2q(tmp$ret$3);
237
237
  }
238
238
  tmp_0 = null;
239
239
  } else {
@@ -302,16 +302,16 @@
302
302
  this.o4j_1 = $tokenVersionsAttributeKey;
303
303
  CoroutineImpl.call(this, resultContinuation);
304
304
  }
305
- protoOf(Auth$lambda$slambda).i42 = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
306
- var tmp = this.j42($this$onRequest, request, _unused_var__etf5q3, $completion);
305
+ protoOf(Auth$lambda$slambda).j42 = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
306
+ var tmp = this.k42($this$onRequest, request, _unused_var__etf5q3, $completion);
307
307
  tmp.w8_1 = Unit_instance;
308
308
  tmp.x8_1 = null;
309
309
  return tmp.c9();
310
310
  };
311
- protoOf(Auth$lambda$slambda).k42 = function (p1, p2, p3, $completion) {
311
+ protoOf(Auth$lambda$slambda).l42 = function (p1, p2, p3, $completion) {
312
312
  var tmp = p1 instanceof OnRequestContext ? p1 : THROW_CCE();
313
313
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
314
- return this.i42(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
314
+ return this.j42(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
315
315
  };
316
316
  protoOf(Auth$lambda$slambda).c9 = function () {
317
317
  var suspendResult = this.w8_1;
@@ -343,11 +343,11 @@
343
343
  var element_0 = this.s4j_1.t();
344
344
  var this_0 = get_LOGGER();
345
345
  if (get_isTraceEnabled(this_0)) {
346
- this_0.s2q('Adding auth headers for ' + this.q4j_1.d3d_1.toString() + ' from provider ' + toString(element_0));
346
+ this_0.t2q('Adding auth headers for ' + this.q4j_1.g3d_1.toString() + ' from provider ' + toString(element_0));
347
347
  }
348
348
 
349
- var tokenVersion = this.n4j_1.h2q(element_0, Auth$lambda$slambda$lambda);
350
- var requestTokenVersions = this.q4j_1.i3d_1.d2i(this.o4j_1, Auth$lambda$slambda$lambda_0);
349
+ var tokenVersion = this.n4j_1.i2q(element_0, Auth$lambda$slambda$lambda);
350
+ var requestTokenVersions = this.q4j_1.l3d_1.e2i(this.o4j_1, Auth$lambda$slambda$lambda_0);
351
351
  var value = tokenVersion.z4h_1.kotlinx$atomicfu$value;
352
352
  requestTokenVersions.g2(element_0, value);
353
353
  this.u8_1 = 2;
@@ -376,7 +376,7 @@
376
376
  }
377
377
  while (true);
378
378
  };
379
- protoOf(Auth$lambda$slambda).j42 = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
379
+ protoOf(Auth$lambda$slambda).k42 = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
380
380
  var i = new Auth$lambda$slambda(this.m4j_1, this.n4j_1, this.o4j_1, completion);
381
381
  i.p4j_1 = $this$onRequest;
382
382
  i.q4j_1 = request;
@@ -386,7 +386,7 @@
386
386
  function Auth$lambda$slambda_0($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
387
387
  var i = new Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
388
388
  var l = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
389
- return i.i42($this$onRequest, request, _unused_var__etf5q3, $completion);
389
+ return i.j42($this$onRequest, request, _unused_var__etf5q3, $completion);
390
390
  };
391
391
  l.$arity = 3;
392
392
  return l;
@@ -398,15 +398,15 @@
398
398
  this.g4k_1 = $tokenVersionsAttributeKey;
399
399
  CoroutineImpl.call(this, resultContinuation);
400
400
  }
401
- protoOf(Auth$lambda$slambda_1).l3s = function ($this$on, originalRequest, $completion) {
402
- var tmp = this.m3s($this$on, originalRequest, $completion);
401
+ protoOf(Auth$lambda$slambda_1).o3s = function ($this$on, originalRequest, $completion) {
402
+ var tmp = this.p3s($this$on, originalRequest, $completion);
403
403
  tmp.w8_1 = Unit_instance;
404
404
  tmp.x8_1 = null;
405
405
  return tmp.c9();
406
406
  };
407
407
  protoOf(Auth$lambda$slambda_1).p9 = function (p1, p2, $completion) {
408
408
  var tmp = p1 instanceof Sender ? p1 : THROW_CCE();
409
- return this.l3s(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
409
+ return this.o3s(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
410
410
  };
411
411
  protoOf(Auth$lambda$slambda_1).c9 = function () {
412
412
  var suspendResult = this.w8_1;
@@ -417,7 +417,7 @@
417
417
  case 0:
418
418
  this.v8_1 = 10;
419
419
  this.u8_1 = 1;
420
- suspendResult = this.h4k_1.p3s(this.i4k_1, this);
420
+ suspendResult = this.h4k_1.s3s(this.i4k_1, this);
421
421
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
422
422
  return suspendResult;
423
423
  }
@@ -426,7 +426,7 @@
426
426
  case 1:
427
427
  this.n4k_1 = suspendResult;
428
428
  this.u8_1 = 2;
429
- suspendResult = this.d4k_1.g3l_1.y4h_1(this.n4k_1.d3c(), this);
429
+ suspendResult = this.d4k_1.j3l_1.y4h_1(this.n4k_1.g3c(), this);
430
430
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
431
431
  return suspendResult;
432
432
  }
@@ -441,7 +441,7 @@
441
441
  }
442
442
 
443
443
  case 3:
444
- if (this.n4k_1.l3e().m3e().a2i(get_AuthCircuitBreaker()))
444
+ if (this.n4k_1.o3e().p3e().b2i(get_AuthCircuitBreaker()))
445
445
  return this.n4k_1;
446
446
  this.j4k_1 = this.n4k_1;
447
447
  this.m4k_1 = HashSet_init_$Create$(this.e4k_1);
@@ -449,7 +449,7 @@
449
449
  continue $sm;
450
450
  case 4:
451
451
  this.u8_1 = 5;
452
- suspendResult = this.d4k_1.g3l_1.y4h_1(this.j4k_1.d3c(), this);
452
+ suspendResult = this.d4k_1.j3l_1.y4h_1(this.j4k_1.g3c(), this);
453
453
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
454
454
  return suspendResult;
455
455
  }
@@ -463,7 +463,7 @@
463
463
 
464
464
  var this_0 = get_LOGGER();
465
465
  if (get_isTraceEnabled(this_0)) {
466
- this_0.s2q('Unauthorized response for ' + this.j4k_1.l3e().u3e().toString());
466
+ this_0.t2q('Unauthorized response for ' + this.j4k_1.o3e().x3e().toString());
467
467
  }
468
468
 
469
469
  var tmp0_elvis_lhs = invoke$findProvider(this.j4k_1, this.m4k_1);
@@ -472,7 +472,7 @@
472
472
  this.h4k_1;
473
473
  var this_1 = get_LOGGER();
474
474
  if (get_isTraceEnabled(this_1)) {
475
- this_1.s2q('Can not find auth provider for ' + this.j4k_1.l3e().u3e().toString());
475
+ this_1.t2q('Can not find auth provider for ' + this.j4k_1.o3e().x3e().toString());
476
476
  }
477
477
  return this.j4k_1;
478
478
  } else {
@@ -484,7 +484,7 @@
484
484
  this.k4k_1 = _destruct__k2r9zo.jg();
485
485
  var this_2 = get_LOGGER();
486
486
  if (get_isTraceEnabled(this_2)) {
487
- this_2.s2q('Using provider ' + toString(this.l4k_1) + ' for ' + this.j4k_1.l3e().u3e().toString());
487
+ this_2.t2q('Using provider ' + toString(this.l4k_1) + ' for ' + this.j4k_1.o3e().x3e().toString());
488
488
  }
489
489
 
490
490
  this.m4k_1.p2(this.l4k_1);
@@ -531,7 +531,7 @@
531
531
  }
532
532
  while (true);
533
533
  };
534
- protoOf(Auth$lambda$slambda_1).m3s = function ($this$on, originalRequest, completion) {
534
+ protoOf(Auth$lambda$slambda_1).p3s = function ($this$on, originalRequest, completion) {
535
535
  var i = new Auth$lambda$slambda_1(this.d4k_1, this.e4k_1, this.f4k_1, this.g4k_1, completion);
536
536
  i.h4k_1 = $this$on;
537
537
  i.i4k_1 = originalRequest;
@@ -540,7 +540,7 @@
540
540
  function Auth$lambda$slambda_2($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
541
541
  var i = new Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
542
542
  var l = function ($this$on, originalRequest, $completion) {
543
- return i.l3s($this$on, originalRequest, $completion);
543
+ return i.o3s($this$on, originalRequest, $completion);
544
544
  };
545
545
  l.$arity = 2;
546
546
  return l;
@@ -571,17 +571,17 @@
571
571
  case 0:
572
572
  this.v8_1 = 4;
573
573
  var tmp_0 = this;
574
- tmp_0.o4i_1 = this.j4i_1.h2q(this.m4i_1, Auth$lambda$refreshTokenIfNeeded$lambda);
574
+ tmp_0.o4i_1 = this.j4i_1.i2q(this.m4i_1, Auth$lambda$refreshTokenIfNeeded$lambda);
575
575
  var tmp_1 = this;
576
- tmp_1.p4i_1 = this.n4i_1.i3d_1.d2i(this.k4i_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
576
+ tmp_1.p4i_1 = this.n4i_1.l3d_1.e2i(this.k4i_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
577
577
  var requestTokenVersion = this.p4i_1.o2(this.m4i_1);
578
578
  if (!(requestTokenVersion == null) && requestTokenVersion >= this.o4i_1.z4h_1.kotlinx$atomicfu$value) {
579
579
  var this_0 = get_LOGGER();
580
580
  if (get_isTraceEnabled(this_0)) {
581
- this_0.s2q('Refreshing token for ' + this.l4i_1.l3e().u3e().toString());
581
+ this_0.t2q('Refreshing token for ' + this.l4i_1.o3e().x3e().toString());
582
582
  }
583
583
  this.u8_1 = 1;
584
- suspendResult = this.m4i_1.o4k(this.l4i_1.d3c(), this);
584
+ suspendResult = this.m4i_1.o4k(this.l4i_1.g3c(), this);
585
585
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
586
586
  return suspendResult;
587
587
  }
@@ -595,7 +595,7 @@
595
595
  if (!suspendResult) {
596
596
  var this_1 = get_LOGGER();
597
597
  if (get_isTraceEnabled(this_1)) {
598
- this_1.s2q('Refreshing token failed for ' + this.l4i_1.l3e().u3e().toString());
598
+ this_1.t2q('Refreshing token failed for ' + this.l4i_1.o3e().x3e().toString());
599
599
  }
600
600
  return false;
601
601
  } else {
@@ -643,7 +643,7 @@
643
643
  case 0:
644
644
  this.v8_1 = 3;
645
645
  this.d4j_1 = new HttpRequestBuilder();
646
- this.d4j_1.v3i(this.b4j_1);
646
+ this.d4j_1.y3i(this.b4j_1);
647
647
  this.u8_1 = 1;
648
648
  suspendResult = this.a4j_1.p4k(this.d4j_1, this.c4j_1, this);
649
649
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -652,14 +652,14 @@
652
652
 
653
653
  continue $sm;
654
654
  case 1:
655
- this.d4j_1.i3d_1.b2i(get_AuthCircuitBreaker(), Unit_instance);
655
+ this.d4j_1.l3d_1.c2i(get_AuthCircuitBreaker(), Unit_instance);
656
656
  var this_0 = get_LOGGER();
657
657
  if (get_isTraceEnabled(this_0)) {
658
- this_0.s2q('Sending new request to ' + this.z4i_1.l3e().u3e().toString());
658
+ this_0.t2q('Sending new request to ' + this.z4i_1.o3e().x3e().toString());
659
659
  }
660
660
 
661
661
  this.u8_1 = 2;
662
- suspendResult = this.y4i_1.p3s(this.d4j_1, this);
662
+ suspendResult = this.y4i_1.s3s(this.d4j_1, this);
663
663
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
664
664
  return suspendResult;
665
665
  }
@@ -750,7 +750,7 @@
750
750
  CoroutineImpl.call(this, resultContinuation);
751
751
  }
752
752
  protoOf(AuthTokenHolder$setToken$slambda).b4l = function ($this$withContext, $completion) {
753
- var tmp = this.j1v($this$withContext, $completion);
753
+ var tmp = this.k1v($this$withContext, $completion);
754
754
  tmp.w8_1 = Unit_instance;
755
755
  tmp.x8_1 = null;
756
756
  return tmp.c9();
@@ -789,7 +789,7 @@
789
789
  }
790
790
  while (true);
791
791
  };
792
- protoOf(AuthTokenHolder$setToken$slambda).j1v = function ($this$withContext, completion) {
792
+ protoOf(AuthTokenHolder$setToken$slambda).k1v = function ($this$withContext, completion) {
793
793
  var i = new AuthTokenHolder$setToken$slambda(this.z4k_1, completion);
794
794
  i.a4l_1 = $this$withContext;
795
795
  return i;
@@ -1120,7 +1120,7 @@
1120
1120
  this.o4n_1 = oldTokens;
1121
1121
  }
1122
1122
  protoOf(RefreshTokensParams).p4n = function (_this__u8e3s4) {
1123
- _this__u8e3s4.i3d_1.b2i(get_AuthCircuitBreaker(), Unit_instance);
1123
+ _this__u8e3s4.l3d_1.c2i(get_AuthCircuitBreaker(), Unit_instance);
1124
1124
  };
1125
1125
  function BearerTokens(accessToken, refreshToken) {
1126
1126
  this.q4n_1 = accessToken;
@@ -1133,13 +1133,13 @@
1133
1133
  return function ($this$headers) {
1134
1134
  var tokenValue = 'Bearer ' + $token.q4n_1;
1135
1135
  var tmp;
1136
- if ($this$headers.x2l(HttpHeaders_getInstance().t2t_1)) {
1137
- $this$headers.m2m(HttpHeaders_getInstance().t2t_1);
1136
+ if ($this$headers.y2l(HttpHeaders_getInstance().u2t_1)) {
1137
+ $this$headers.n2m(HttpHeaders_getInstance().u2t_1);
1138
1138
  tmp = Unit_instance;
1139
1139
  }
1140
1140
  var tmp_0;
1141
- if (!$request.i3d_1.a2i(get_AuthCircuitBreaker())) {
1142
- $this$headers.y2l(HttpHeaders_getInstance().t2t_1, tokenValue);
1141
+ if (!$request.l3d_1.b2i(get_AuthCircuitBreaker())) {
1142
+ $this$headers.z2l(HttpHeaders_getInstance().u2t_1, tokenValue);
1143
1143
  tmp_0 = Unit_instance;
1144
1144
  }
1145
1145
  return Unit_instance;
@@ -1168,7 +1168,7 @@
1168
1168
  case 0:
1169
1169
  this.v8_1 = 3;
1170
1170
  this.c4o_1 = this.a4o_1.f4o_1;
1171
- this.d4o_1 = this.b4o_1.s3e().y3b_1;
1171
+ this.d4o_1 = this.b4o_1.v3e().b3c_1;
1172
1172
  this.u8_1 = 1;
1173
1173
  suspendResult = this.a4o_1.i4o_1.k4m(this);
1174
1174
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -1318,8 +1318,8 @@
1318
1318
  return this.g4o_1(request);
1319
1319
  };
1320
1320
  protoOf(BearerAuthProvider).a4i = function (auth) {
1321
- if (!(auth.z32_1 === 'Bearer')) {
1322
- get_LOGGER().s2q('Bearer Auth Provider is not applicable for ' + auth.toString());
1321
+ if (!(auth.c33_1 === 'Bearer')) {
1322
+ get_LOGGER().t2q('Bearer Auth Provider is not applicable for ' + auth.toString());
1323
1323
  return false;
1324
1324
  }
1325
1325
  var tmp;
@@ -1329,12 +1329,12 @@
1329
1329
  if (!(auth instanceof Parameterized)) {
1330
1330
  tmp = false;
1331
1331
  } else {
1332
- tmp = auth.f2t('realm') == this.h4o_1;
1332
+ tmp = auth.g2t('realm') == this.h4o_1;
1333
1333
  }
1334
1334
  }
1335
1335
  var isSameRealm = tmp;
1336
1336
  if (!isSameRealm) {
1337
- get_LOGGER().s2q('Bearer Auth Provider is not applicable for this realm');
1337
+ get_LOGGER().t2q('Bearer Auth Provider is not applicable for this realm');
1338
1338
  }
1339
1339
  return isSameRealm;
1340
1340
  };
@@ -108,7 +108,7 @@
108
108
  this.u56_1 = $pattern;
109
109
  }
110
110
  protoOf(ContentNegotiationConfig$defaultMatcher$1).v56 = function (contentType) {
111
- return contentType.e2t(this.u56_1);
111
+ return contentType.f2t(this.u56_1);
112
112
  };
113
113
  function ContentNegotiationConfig() {
114
114
  this.w56_1 = toMutableSet(plus(get_DefaultIgnoredTypes(), get_DefaultCommonIgnoredTypes()));
@@ -118,7 +118,7 @@
118
118
  this.y56_1 = null;
119
119
  }
120
120
  protoOf(ContentNegotiationConfig).y54 = function (contentType, converter, configuration) {
121
- var matcher = contentType.e2t(Application_getInstance().k2r_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
121
+ var matcher = contentType.f2t(Application_getInstance().l2r_1) ? JsonContentTypeMatcher_instance : defaultMatcher(this, contentType);
122
122
  this.z56(contentType, converter, matcher, configuration);
123
123
  };
124
124
  protoOf(ContentNegotiationConfig).z56 = function (contentTypeToSend, converter, contentTypeMatcher, configuration) {
@@ -140,10 +140,10 @@
140
140
  }
141
141
  function ContentNegotiation$lambda($this$createClientPlugin) {
142
142
  _init_properties_ContentNegotiation_kt__o183go();
143
- var registrations = $this$createClientPlugin.g3l_1.x56_1;
144
- var ignoredTypes = $this$createClientPlugin.g3l_1.w56_1;
145
- $this$createClientPlugin.n42(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
146
- $this$createClientPlugin.m3u(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
143
+ var registrations = $this$createClientPlugin.j3l_1.x56_1;
144
+ var ignoredTypes = $this$createClientPlugin.j3l_1.w56_1;
145
+ $this$createClientPlugin.o42(ContentNegotiation$lambda$slambda_0(registrations, $this$createClientPlugin, ignoredTypes, null));
146
+ $this$createClientPlugin.p3u(ContentNegotiation$lambda$slambda_2(ignoredTypes, registrations, $this$createClientPlugin, null));
147
147
  return Unit_instance;
148
148
  }
149
149
  function invoke$convertRequest(registrations, $this_createClientPlugin, ignoredTypes, request, body, $completion) {
@@ -153,7 +153,7 @@
153
153
  return tmp.c9();
154
154
  }
155
155
  function invoke$convertResponse(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion) {
156
- charset = charset === VOID ? Charsets_getInstance().d1w_1 : charset;
156
+ charset = charset === VOID ? Charsets_getInstance().e1w_1 : charset;
157
157
  var tmp = new $invoke$convertResponseCOROUTINE$(ignoredTypes, registrations, $this_createClientPlugin, requestUrl, info, body, responseContentType, charset, $completion);
158
158
  tmp.w8_1 = Unit_instance;
159
159
  tmp.x8_1 = null;
@@ -171,7 +171,7 @@
171
171
  tmp.x8_1 = null;
172
172
  return tmp.c9();
173
173
  };
174
- protoOf(ContentNegotiation$lambda$slambda).r3v = function (p1, p2, p3, p4, $completion) {
174
+ protoOf(ContentNegotiation$lambda$slambda).u3v = function (p1, p2, p3, p4, $completion) {
175
175
  var tmp = p1 instanceof TransformRequestBodyContext ? p1 : THROW_CCE();
176
176
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
177
177
  var tmp_1 = !(p3 == null) ? p3 : THROW_CCE();
@@ -230,17 +230,17 @@
230
230
  this.k59_1 = $this_createClientPlugin;
231
231
  CoroutineImpl.call(this, resultContinuation);
232
232
  }
233
- protoOf(ContentNegotiation$lambda$slambda_1).p3v = function ($this$transformResponseBody, response, body, info, $completion) {
234
- var tmp = this.q3v($this$transformResponseBody, response, body, info, $completion);
233
+ protoOf(ContentNegotiation$lambda$slambda_1).s3v = function ($this$transformResponseBody, response, body, info, $completion) {
234
+ var tmp = this.t3v($this$transformResponseBody, response, body, info, $completion);
235
235
  tmp.w8_1 = Unit_instance;
236
236
  tmp.x8_1 = null;
237
237
  return tmp.c9();
238
238
  };
239
- protoOf(ContentNegotiation$lambda$slambda_1).r3v = function (p1, p2, p3, p4, $completion) {
239
+ protoOf(ContentNegotiation$lambda$slambda_1).u3v = function (p1, p2, p3, p4, $completion) {
240
240
  var tmp = p1 instanceof TransformResponseBodyContext ? p1 : THROW_CCE();
241
241
  var tmp_0 = p2 instanceof HttpResponse ? p2 : THROW_CCE();
242
242
  var tmp_1 = (!(p3 == null) ? isInterface(p3, ByteReadChannel) : false) ? p3 : THROW_CCE();
243
- return this.p3v(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
243
+ return this.s3v(tmp, tmp_0, tmp_1, p4 instanceof TypeInfo ? p4 : THROW_CCE(), $completion);
244
244
  };
245
245
  protoOf(ContentNegotiation$lambda$slambda_1).c9 = function () {
246
246
  var suspendResult = this.w8_1;
@@ -259,9 +259,9 @@
259
259
  }
260
260
 
261
261
  var contentType_0 = tmp_0;
262
- var charset = suitableCharset(get_request(this.m59_1).n2x());
262
+ var charset = suitableCharset(get_request(this.m59_1).p2x());
263
263
  this.u8_1 = 1;
264
- suspendResult = invoke$convertResponse(this.i59_1, this.j59_1, this.k59_1, get_request(this.m59_1).u3e(), this.o59_1, this.n59_1, contentType_0, charset, this);
264
+ suspendResult = invoke$convertResponse(this.i59_1, this.j59_1, this.k59_1, get_request(this.m59_1).x3e(), this.o59_1, this.n59_1, contentType_0, charset, this);
265
265
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
266
266
  return suspendResult;
267
267
  }
@@ -283,7 +283,7 @@
283
283
  }
284
284
  while (true);
285
285
  };
286
- protoOf(ContentNegotiation$lambda$slambda_1).q3v = function ($this$transformResponseBody, response, body, info, completion) {
286
+ protoOf(ContentNegotiation$lambda$slambda_1).t3v = function ($this$transformResponseBody, response, body, info, completion) {
287
287
  var i = new ContentNegotiation$lambda$slambda_1(this.i59_1, this.j59_1, this.k59_1, completion);
288
288
  i.l59_1 = $this$transformResponseBody;
289
289
  i.m59_1 = response;
@@ -294,7 +294,7 @@
294
294
  function ContentNegotiation$lambda$slambda_2($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation) {
295
295
  var i = new ContentNegotiation$lambda$slambda_1($ignoredTypes, $registrations, $this_createClientPlugin, resultContinuation);
296
296
  var l = function ($this$transformResponseBody, response, body, info, $completion) {
297
- return i.p3v($this$transformResponseBody, response, body, info, $completion);
297
+ return i.s3v($this$transformResponseBody, response, body, info, $completion);
298
298
  };
299
299
  l.$arity = 4;
300
300
  return l;
@@ -320,8 +320,8 @@
320
320
  case 0:
321
321
  this.v8_1 = 7;
322
322
  var tmp_0;
323
- if (this.l57_1.i3d_1.a2i(get_ExcludedContentTypes())) {
324
- var excluded = this.l57_1.i3d_1.y2h(get_ExcludedContentTypes());
323
+ if (this.l57_1.l3d_1.b2i(get_ExcludedContentTypes())) {
324
+ var excluded = this.l57_1.l3d_1.z2h(get_ExcludedContentTypes());
325
325
  var tmp0 = this.i57_1;
326
326
  var destination = ArrayList_init_$Create$();
327
327
  var _iterator__ex2g4s = tmp0.r();
@@ -342,7 +342,7 @@
342
342
  var _iterator__ex2g4s_0 = excluded.r();
343
343
  while (_iterator__ex2g4s_0.s()) {
344
344
  var element_0 = _iterator__ex2g4s_0.t();
345
- if (element.s56_1.e2t(element_0)) {
345
+ if (element.s56_1.f2t(element_0)) {
346
346
  tmp$ret$0 = false;
347
347
  break l$ret$1;
348
348
  }
@@ -360,7 +360,7 @@
360
360
  }
361
361
 
362
362
  var requestRegistrations = tmp_0;
363
- var tmp0_elvis_lhs = this.l57_1.f3d_1.c2m(HttpHeaders_getInstance().k2t_1);
363
+ var tmp0_elvis_lhs = this.l57_1.i3d_1.d2m(HttpHeaders_getInstance().l2t_1);
364
364
  var acceptHeaders = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
365
365
  var _iterator__ex2g4s_1 = requestRegistrations.r();
366
366
  while (_iterator__ex2g4s_1.s()) {
@@ -380,7 +380,7 @@
380
380
  var _iterator__ex2g4s_2 = acceptHeaders.r();
381
381
  while (_iterator__ex2g4s_2.s()) {
382
382
  var element_2 = _iterator__ex2g4s_2.t();
383
- if (Companion_getInstance().hm(element_2).e2t(element_1.s56_1)) {
383
+ if (Companion_getInstance().hm(element_2).f2t(element_1.s56_1)) {
384
384
  tmp$ret$2 = false;
385
385
  break l$ret$3;
386
386
  }
@@ -389,9 +389,9 @@
389
389
  }
390
390
  while (false);
391
391
  if (tmp$ret$2) {
392
- var qValue = this.j57_1.g3l_1.y56_1;
393
- var contentTypeToSend = qValue == null ? element_1.s56_1 : element_1.s56_1.c2t('q', qValue.toString());
394
- get_LOGGER().s2q('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.l57_1.d3d_1.toString());
392
+ var qValue = this.j57_1.j3l_1.y56_1;
393
+ var contentTypeToSend = qValue == null ? element_1.s56_1 : element_1.s56_1.d2t('q', qValue.toString());
394
+ get_LOGGER().t2q('Adding Accept=' + contentTypeToSend.toString() + ' header for ' + this.l57_1.g3d_1.toString());
395
395
  accept(this.l57_1, contentTypeToSend);
396
396
  }
397
397
  }
@@ -429,7 +429,7 @@
429
429
  }
430
430
 
431
431
  if (tmp_3) {
432
- get_LOGGER().s2q('Body type ' + toString(getKClassFromExpression(this.m57_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.l57_1.d3d_1.toString() + '.'));
432
+ get_LOGGER().t2q('Body type ' + toString(getKClassFromExpression(this.m57_1)) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.l57_1.g3d_1.toString() + '.'));
433
433
  return null;
434
434
  }
435
435
 
@@ -438,7 +438,7 @@
438
438
  var tmp_7;
439
439
  if (tmp0_elvis_lhs_0 == null) {
440
440
  this.j57_1;
441
- get_LOGGER().s2q("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.l57_1.d3d_1.toString() + '.');
441
+ get_LOGGER().t2q("Request doesn't have Content-Type header. Skipping ContentNegotiation for " + this.l57_1.g3d_1.toString() + '.');
442
442
  return null;
443
443
  } else {
444
444
  tmp_7 = tmp0_elvis_lhs_0;
@@ -447,8 +447,8 @@
447
447
  tmp_6.o57_1 = tmp_7;
448
448
  var tmp_8 = this.m57_1;
449
449
  if (tmp_8 instanceof Unit) {
450
- get_LOGGER().s2q('Sending empty body for ' + this.l57_1.d3d_1.toString());
451
- this.l57_1.f3d_1.m2m(HttpHeaders_getInstance().c2u_1);
450
+ get_LOGGER().t2q('Sending empty body for ' + this.l57_1.g3d_1.toString());
451
+ this.l57_1.i3d_1.n2m(HttpHeaders_getInstance().d2u_1);
452
452
  return EmptyContent_getInstance();
453
453
  }
454
454
 
@@ -474,19 +474,19 @@
474
474
  var tmp_11;
475
475
  if (tmp1_elvis_lhs == null) {
476
476
  this.j57_1;
477
- get_LOGGER().s2q('None of the registered converters match request Content-Type=' + this.o57_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.l57_1.d3d_1.toString() + '.'));
477
+ get_LOGGER().t2q('None of the registered converters match request Content-Type=' + this.o57_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.l57_1.g3d_1.toString() + '.'));
478
478
  return null;
479
479
  } else {
480
480
  tmp_11 = tmp1_elvis_lhs;
481
481
  }
482
482
 
483
483
  tmp_9.n57_1 = tmp_11;
484
- if (this.l57_1.v44() == null) {
485
- get_LOGGER().s2q('Request has unknown body type. Skipping ContentNegotiation for ' + this.l57_1.d3d_1.toString() + '.');
484
+ if (this.l57_1.w44() == null) {
485
+ get_LOGGER().t2q('Request has unknown body type. Skipping ContentNegotiation for ' + this.l57_1.g3d_1.toString() + '.');
486
486
  return null;
487
487
  }
488
488
 
489
- this.l57_1.f3d_1.m2m(HttpHeaders_getInstance().c2u_1);
489
+ this.l57_1.i3d_1.n2m(HttpHeaders_getInstance().d2u_1);
490
490
  var tmp_12 = this;
491
491
  tmp_12.s57_1 = this.n57_1;
492
492
  this.u8_1 = 1;
@@ -505,8 +505,8 @@
505
505
  this.q57_1 = element_5;
506
506
  this.u8_1 = 3;
507
507
  var tmp0_elvis_lhs_1 = charset(this.o57_1);
508
- var tmp_13 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().d1w_1 : tmp0_elvis_lhs_1;
509
- var tmp_14 = ensureNotNull(this.l57_1.v44());
508
+ var tmp_13 = tmp0_elvis_lhs_1 == null ? Charsets_getInstance().e1w_1 : tmp0_elvis_lhs_1;
509
+ var tmp_14 = ensureNotNull(this.l57_1.w44());
510
510
  var this_0 = this.m57_1;
511
511
  var tmp_15;
512
512
  if (!equals(this_0, NullBody_instance)) {
@@ -524,7 +524,7 @@
524
524
  case 3:
525
525
  var result = suspendResult;
526
526
  if (!(result == null)) {
527
- get_LOGGER().s2q('Converted request body using ' + toString(this.q57_1.r56_1) + ' for ' + this.l57_1.d3d_1.toString());
527
+ get_LOGGER().t2q('Converted request body using ' + toString(this.q57_1.r56_1) + ' for ' + this.l57_1.g3d_1.toString());
528
528
  }
529
529
 
530
530
  var result_0 = result;
@@ -596,12 +596,12 @@
596
596
  this.v8_1 = 2;
597
597
  var tmp_0 = this.g58_1;
598
598
  if (!isInterface(tmp_0, ByteReadChannel)) {
599
- get_LOGGER().s2q('Response body is already transformed. Skipping ContentNegotiation for ' + this.e58_1.toString() + '.');
599
+ get_LOGGER().t2q('Response body is already transformed. Skipping ContentNegotiation for ' + this.e58_1.toString() + '.');
600
600
  return null;
601
601
  }
602
602
 
603
- if (this.b58_1.u1(this.f58_1.b2q_1)) {
604
- get_LOGGER().s2q('Response body type ' + toString(this.f58_1.b2q_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.e58_1.toString() + '.'));
603
+ if (this.b58_1.u1(this.f58_1.c2q_1)) {
604
+ get_LOGGER().t2q('Response body type ' + toString(this.f58_1.c2q_1) + ' is in ignored types. ' + ('Skipping ContentNegotiation for ' + this.e58_1.toString() + '.'));
605
605
  return null;
606
606
  }
607
607
 
@@ -633,7 +633,7 @@
633
633
  var tmp_2;
634
634
  if (tmp0_elvis_lhs == null) {
635
635
  this.d58_1;
636
- get_LOGGER().s2q('None of the registered converters match response with Content-Type=' + this.h58_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.e58_1.toString() + '.'));
636
+ get_LOGGER().t2q('None of the registered converters match response with Content-Type=' + this.h58_1.toString() + '. ' + ('Skipping ContentNegotiation for ' + this.e58_1.toString() + '.'));
637
637
  return null;
638
638
  } else {
639
639
  tmp_2 = tmp0_elvis_lhs;
@@ -650,7 +650,7 @@
650
650
  case 1:
651
651
  var result = suspendResult;
652
652
  if (!isInterface(result, ByteReadChannel)) {
653
- get_LOGGER().s2q('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.e58_1.toString() + '.');
653
+ get_LOGGER().t2q('Response body was converted to ' + toString(getKClassFromExpression(result)) + ' for ' + this.e58_1.toString() + '.');
654
654
  }
655
655
 
656
656
  return result;
@@ -702,11 +702,11 @@
702
702
  function JsonContentTypeMatcher() {
703
703
  }
704
704
  protoOf(JsonContentTypeMatcher).v56 = function (contentType) {
705
- if (contentType.e2t(Application_getInstance().k2r_1)) {
705
+ if (contentType.f2t(Application_getInstance().l2r_1)) {
706
706
  return true;
707
707
  }
708
- var value = contentType.d2t().toString();
709
- return Application_getInstance().e2s(value) && endsWith(value, '+json', true);
708
+ var value = contentType.e2t().toString();
709
+ return Application_getInstance().f2s(value) && endsWith(value, '+json', true);
710
710
  };
711
711
  var JsonContentTypeMatcher_instance;
712
712
  function JsonContentTypeMatcher_getInstance() {