@doordeck/doordeck-headless-sdk 0.105.0 → 0.106.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.
Files changed (28) hide show
  1. package/kotlin/Kermit-kermit-core.js +316 -0
  2. package/kotlin/Kermit-kermit.js +51 -0
  3. package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1400 -1400
  4. package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +17 -17
  5. package/kotlin/MultiplatformSettings-multiplatform-settings.js +10 -10
  6. package/kotlin/doordeck-sdk.d.ts +4 -2
  7. package/kotlin/doordeck-sdk.js +9905 -9672
  8. package/kotlin/kotlin-kotlin-stdlib.js +173 -164
  9. package/kotlin/kotlinx-atomicfu.js +13 -13
  10. package/kotlin/kotlinx-coroutines-core.js +2087 -1905
  11. package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +32 -32
  12. package/kotlin/kotlinx-io-kotlinx-io-core.js +427 -427
  13. package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1738 -1738
  14. package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1346 -1346
  15. package/kotlin/ktor-ktor-client-ktor-client-core.js +2314 -1913
  16. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +254 -254
  17. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +151 -151
  18. package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-logging.js +3131 -2
  19. package/kotlin/ktor-ktor-http-ktor-http-cio.js +350 -350
  20. package/kotlin/ktor-ktor-http.js +730 -715
  21. package/kotlin/ktor-ktor-io.js +805 -630
  22. package/kotlin/ktor-ktor-shared-ktor-events.js +9 -9
  23. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +7 -7
  24. package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +146 -146
  25. package/kotlin/ktor-ktor-shared-ktor-serialization.js +68 -68
  26. package/kotlin/ktor-ktor-shared-ktor-websockets.js +40 -40
  27. package/kotlin/ktor-ktor-utils.js +1182 -577
  28. package/package.json +1 -1
@@ -5,7 +5,7 @@
5
5
  var Unit_instance = kotlin_kotlin.$_$.k5;
6
6
  var protoOf = kotlin_kotlin.$_$.ub;
7
7
  var THROW_CCE = kotlin_kotlin.$_$.sf;
8
- var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.y;
8
+ var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.g1;
9
9
  var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.j;
10
10
  var initMetadataForLambda = kotlin_kotlin.$_$.xa;
11
11
  var VOID = kotlin_kotlin.$_$.h;
@@ -13,15 +13,15 @@
13
13
  var initMetadataForClass = kotlin_kotlin.$_$.sa;
14
14
  var atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
15
15
  var toList = kotlin_kotlin.$_$.t8;
16
- var ConcurrentMap = kotlin_io_ktor_ktor_utils.$_$.c;
16
+ var ConcurrentMap = kotlin_io_ktor_ktor_utils.$_$.d;
17
17
  var KtMutableMap = kotlin_kotlin.$_$.w5;
18
18
  var getKClass = kotlin_kotlin.$_$.f;
19
19
  var arrayOf = kotlin_kotlin.$_$.gg;
20
20
  var createKType = kotlin_kotlin.$_$.c;
21
21
  var createInvariantKTypeProjection = kotlin_kotlin.$_$.a;
22
22
  var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.a5;
23
- var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.l;
24
- var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.n;
23
+ var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.m;
24
+ var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.o;
25
25
  var Send_instance = kotlin_io_ktor_ktor_client_core.$_$.b;
26
26
  var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
27
27
  var collectionSizeOrDefault = kotlin_kotlin.$_$.f6;
@@ -30,19 +30,19 @@
30
30
  var flatten = kotlin_kotlin.$_$.i7;
31
31
  var emptyList = kotlin_kotlin.$_$.z6;
32
32
  var to = kotlin_kotlin.$_$.wg;
33
- var get_isTraceEnabled = kotlin_io_ktor_ktor_utils.$_$.h;
33
+ var get_isTraceEnabled = kotlin_io_ktor_ktor_utils.$_$.i;
34
34
  var first = kotlin_kotlin.$_$.h7;
35
35
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y;
36
- var OnRequestContext = kotlin_io_ktor_ktor_client_core.$_$.e;
37
- var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.s;
36
+ var OnRequestContext = kotlin_io_ktor_ktor_client_core.$_$.i;
37
+ var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.z;
38
38
  var toString = kotlin_kotlin.$_$.yb;
39
39
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.f9;
40
- var Sender = kotlin_io_ktor_ktor_client_core.$_$.f;
40
+ var Sender = kotlin_io_ktor_ktor_client_core.$_$.j;
41
41
  var HashSet_init_$Create$ = kotlin_kotlin.$_$.w;
42
42
  var initMetadataForCoroutine = kotlin_kotlin.$_$.ua;
43
- var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.g;
43
+ var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.h;
44
44
  var Unit = kotlin_kotlin.$_$.dg;
45
- var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.i;
45
+ var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.m;
46
46
  var KtList = kotlin_kotlin.$_$.r5;
47
47
  var initMetadataForInterface = kotlin_kotlin.$_$.wa;
48
48
  var initMetadataForCompanion = kotlin_kotlin.$_$.ta;
@@ -51,12 +51,12 @@
51
51
  var minusKey = kotlin_kotlin.$_$.s9;
52
52
  var plus = kotlin_kotlin.$_$.u9;
53
53
  var Element = kotlin_kotlin.$_$.t9;
54
- var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
54
+ var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
55
55
  var isInterface = kotlin_kotlin.$_$.hb;
56
56
  var equals = kotlin_kotlin.$_$.la;
57
- var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
58
- var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
59
- var headers = kotlin_io_ktor_ktor_client_core.$_$.v;
57
+ var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
58
+ var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
59
+ var headers = kotlin_io_ktor_ktor_client_core.$_$.c1;
60
60
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
61
61
  var Parameterized = kotlin_io_ktor_ktor_http.$_$.l;
62
62
  //endregion
@@ -69,11 +69,11 @@
69
69
  initMetadataForCoroutine($invoke$refreshTokenIfNeededCOROUTINE$0, CoroutineImpl);
70
70
  initMetadataForCoroutine($invoke$executeWithNewTokenCOROUTINE$1, CoroutineImpl);
71
71
  function sendWithoutRequest(request) {
72
- return this.m4m();
72
+ return this.d4u();
73
73
  }
74
74
  function addRequestHeaders$default(request, authHeader, $completion, $super) {
75
75
  authHeader = authHeader === VOID ? null : authHeader;
76
- return $super === VOID ? this.l4m(request, authHeader, $completion) : $super.l4m.call(this, request, authHeader, $completion);
76
+ return $super === VOID ? this.c4u(request, authHeader, $completion) : $super.c4u.call(this, request, authHeader, $completion);
77
77
  }
78
78
  function refreshToken(response, $completion) {
79
79
  return true;
@@ -118,14 +118,14 @@
118
118
  function AuthConfig$isUnauthorizedResponse$slambda(resultContinuation) {
119
119
  CoroutineImpl.call(this, resultContinuation);
120
120
  }
121
- protoOf(AuthConfig$isUnauthorizedResponse$slambda).h4j = function (it, $completion) {
122
- var tmp = this.d3m(it, $completion);
121
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).y4q = function (it, $completion) {
122
+ var tmp = this.y3q(it, $completion);
123
123
  tmp.i9_1 = Unit_instance;
124
124
  tmp.j9_1 = null;
125
125
  return tmp.o9();
126
126
  };
127
127
  protoOf(AuthConfig$isUnauthorizedResponse$slambda).ca = function (p1, $completion) {
128
- return this.h4j(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
128
+ return this.y4q(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
129
129
  };
130
130
  protoOf(AuthConfig$isUnauthorizedResponse$slambda).o9 = function () {
131
131
  var suspendResult = this.i9_1;
@@ -134,7 +134,7 @@
134
134
  var tmp = this.g9_1;
135
135
  if (tmp === 0) {
136
136
  this.h9_1 = 1;
137
- return this.g4j_1.g3f().equals(Companion_getInstance().q2v_1);
137
+ return this.x4q_1.t34().equals(Companion_getInstance().k30_1);
138
138
  } else if (tmp === 1) {
139
139
  throw this.j9_1;
140
140
  }
@@ -144,15 +144,15 @@
144
144
  }
145
145
  while (true);
146
146
  };
147
- protoOf(AuthConfig$isUnauthorizedResponse$slambda).d3m = function (it, completion) {
147
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).y3q = function (it, completion) {
148
148
  var i = new AuthConfig$isUnauthorizedResponse$slambda(completion);
149
- i.g4j_1 = it;
149
+ i.x4q_1 = it;
150
150
  return i;
151
151
  };
152
152
  function AuthConfig$isUnauthorizedResponse$slambda_0(resultContinuation) {
153
153
  var i = new AuthConfig$isUnauthorizedResponse$slambda(resultContinuation);
154
154
  var l = function (it, $completion) {
155
- return i.h4j(it, $completion);
155
+ return i.y4q(it, $completion);
156
156
  };
157
157
  l.$arity = 1;
158
158
  return l;
@@ -160,12 +160,12 @@
160
160
  function AuthConfig() {
161
161
  var tmp = this;
162
162
  // Inline function 'kotlin.collections.mutableListOf' call
163
- tmp.i4j_1 = ArrayList_init_$Create$();
163
+ tmp.z4q_1 = ArrayList_init_$Create$();
164
164
  var tmp_0 = this;
165
- tmp_0.j4j_1 = AuthConfig$isUnauthorizedResponse$slambda_0(null);
165
+ tmp_0.a4r_1 = AuthConfig$isUnauthorizedResponse$slambda_0(null);
166
166
  }
167
167
  function AtomicCounter() {
168
- this.k4j_1 = atomic$int$1(0);
168
+ this.b4r_1 = atomic$int$1(0);
169
169
  }
170
170
  function AuthConfig$_init_$ref_ms3pb9() {
171
171
  var l = function () {
@@ -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.d3l_1.i4j_1);
180
- $this$createClientPlugin.c3l_1.w3a_1.i2h(get_AuthProvidersKey(), providers);
179
+ var providers = toList($this$createClientPlugin.y3p_1.z4q_1);
180
+ $this$createClientPlugin.x3p_1.s3f_1.l2j(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.q43(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
203
+ $this$createClientPlugin.l48(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
204
204
  var tmp_2 = Send_instance;
205
- $this$createClientPlugin.g3l(tmp_2, Auth$lambda$slambda_2($this$createClientPlugin, providers, tokenVersions, tokenVersionsAttributeKey, null));
205
+ $this$createClientPlugin.b3q(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.t3b().d2u().w2i(HttpHeaders_getInstance().c2t_1);
209
+ var headerValues = call.p3g().x2y().o2n(HttpHeaders_getInstance().w2x_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.c3f().f3f().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
236
- this_0.m2n(tmp$ret$3);
235
+ var tmp$ret$3 = 'Unauthorized response ' + call.y3j().b3k().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
236
+ this_0.g2s(tmp$ret$3);
237
237
  }
238
238
  tmp_0 = null;
239
239
  } else {
@@ -250,7 +250,7 @@
250
250
  var _iterator__ex2g4s_1 = candidateProviders.p();
251
251
  while (_iterator__ex2g4s_1.q()) {
252
252
  var element_0 = _iterator__ex2g4s_1.r();
253
- if (element_0.l4j(element)) {
253
+ if (element_0.c4r(element)) {
254
254
  tmp$ret$6 = element_0;
255
255
  break $l$block;
256
256
  }
@@ -297,21 +297,21 @@
297
297
  return LinkedHashMap_init_$Create$();
298
298
  }
299
299
  function Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
300
- this.y4k_1 = $providers;
301
- this.z4k_1 = $tokenVersions;
302
- this.a4l_1 = $tokenVersionsAttributeKey;
300
+ this.p4s_1 = $providers;
301
+ this.q4s_1 = $tokenVersions;
302
+ this.r4s_1 = $tokenVersionsAttributeKey;
303
303
  CoroutineImpl.call(this, resultContinuation);
304
304
  }
305
- protoOf(Auth$lambda$slambda).d44 = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
306
- var tmp = this.e44($this$onRequest, request, _unused_var__etf5q3, $completion);
305
+ protoOf(Auth$lambda$slambda).y48 = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
306
+ var tmp = this.z48($this$onRequest, request, _unused_var__etf5q3, $completion);
307
307
  tmp.i9_1 = Unit_instance;
308
308
  tmp.j9_1 = null;
309
309
  return tmp.o9();
310
310
  };
311
- protoOf(Auth$lambda$slambda).f44 = function (p1, p2, p3, $completion) {
311
+ protoOf(Auth$lambda$slambda).a49 = 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.d44(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
314
+ return this.y48(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
315
315
  };
316
316
  protoOf(Auth$lambda$slambda).o9 = function () {
317
317
  var suspendResult = this.i9_1;
@@ -322,46 +322,46 @@
322
322
  case 0:
323
323
  this.h9_1 = 4;
324
324
  var tmp_0 = this;
325
- var tmp0 = this.y4k_1;
325
+ var tmp0 = this.p4s_1;
326
326
  var destination = ArrayList_init_$Create$();
327
327
  var _iterator__ex2g4s = tmp0.p();
328
328
  while (_iterator__ex2g4s.q()) {
329
329
  var element = _iterator__ex2g4s.r();
330
- if (element.m4l(this.c4l_1)) {
330
+ if (element.d4t(this.t4s_1)) {
331
331
  destination.k(element);
332
332
  }
333
333
  }
334
334
 
335
- tmp_0.e4l_1 = destination;
336
- this.f4l_1 = this.e4l_1;
337
- this.g4l_1 = this.f4l_1.p();
335
+ tmp_0.v4s_1 = destination;
336
+ this.w4s_1 = this.v4s_1;
337
+ this.x4s_1 = this.w4s_1.p();
338
338
  this.g9_1 = 1;
339
339
  continue $sm;
340
340
  case 1:
341
- if (!this.g4l_1.q()) {
341
+ if (!this.x4s_1.q()) {
342
342
  this.g9_1 = 3;
343
343
  continue $sm;
344
344
  }
345
345
 
346
- this.h4l_1 = this.g4l_1.r();
346
+ this.y4s_1 = this.x4s_1.r();
347
347
  var tmp_1 = this;
348
- tmp_1.i4l_1 = this.h4l_1;
349
- this.j4l_1 = this.i4l_1;
348
+ tmp_1.z4s_1 = this.y4s_1;
349
+ this.a4t_1 = this.z4s_1;
350
350
  var this_0 = get_LOGGER();
351
351
  if (get_isTraceEnabled(this_0)) {
352
- this_0.m2n('Adding auth headers for ' + this.c4l_1.t3c_1.toString() + ' from provider ' + toString(this.j4l_1));
352
+ this_0.g2s('Adding auth headers for ' + this.t4s_1.p3h_1.toString() + ' from provider ' + toString(this.a4t_1));
353
353
  }
354
354
 
355
355
  var tmp_2 = this;
356
- tmp_2.k4l_1 = this.z4k_1.e2n(this.j4l_1, Auth$lambda$slambda$lambda);
356
+ tmp_2.b4t_1 = this.q4s_1.y2r(this.a4t_1, Auth$lambda$slambda$lambda);
357
357
  var tmp_3 = this;
358
- tmp_3.l4l_1 = this.c4l_1.y3c_1.k2h(this.a4l_1, Auth$lambda$slambda$lambda_0);
359
- var tmp1 = this.l4l_1;
360
- var tmp2 = this.j4l_1;
361
- var value = this.k4l_1.k4j_1.kotlinx$atomicfu$value;
358
+ tmp_3.c4t_1 = this.t4s_1.u3h_1.n2j(this.r4s_1, Auth$lambda$slambda$lambda_0);
359
+ var tmp1 = this.c4t_1;
360
+ var tmp2 = this.a4t_1;
361
+ var value = this.b4t_1.b4r_1.kotlinx$atomicfu$value;
362
362
  tmp1.n2(tmp2, value);
363
363
  this.g9_1 = 2;
364
- suspendResult = this.j4l_1.n4l(this.c4l_1, VOID, this);
364
+ suspendResult = this.a4t_1.e4t(this.t4s_1, VOID, this);
365
365
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
366
366
  return suspendResult;
367
367
  }
@@ -386,37 +386,37 @@
386
386
  }
387
387
  while (true);
388
388
  };
389
- protoOf(Auth$lambda$slambda).e44 = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
390
- var i = new Auth$lambda$slambda(this.y4k_1, this.z4k_1, this.a4l_1, completion);
391
- i.b4l_1 = $this$onRequest;
392
- i.c4l_1 = request;
393
- i.d4l_1 = _unused_var__etf5q3;
389
+ protoOf(Auth$lambda$slambda).z48 = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
390
+ var i = new Auth$lambda$slambda(this.p4s_1, this.q4s_1, this.r4s_1, completion);
391
+ i.s4s_1 = $this$onRequest;
392
+ i.t4s_1 = request;
393
+ i.u4s_1 = _unused_var__etf5q3;
394
394
  return i;
395
395
  };
396
396
  function Auth$lambda$slambda_0($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
397
397
  var i = new Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
398
398
  var l = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
399
- return i.d44($this$onRequest, request, _unused_var__etf5q3, $completion);
399
+ return i.y48($this$onRequest, request, _unused_var__etf5q3, $completion);
400
400
  };
401
401
  l.$arity = 3;
402
402
  return l;
403
403
  }
404
404
  function Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
405
- this.w4l_1 = $this_createClientPlugin;
406
- this.x4l_1 = $providers;
407
- this.y4l_1 = $tokenVersions;
408
- this.z4l_1 = $tokenVersionsAttributeKey;
405
+ this.n4t_1 = $this_createClientPlugin;
406
+ this.o4t_1 = $providers;
407
+ this.p4t_1 = $tokenVersions;
408
+ this.q4t_1 = $tokenVersionsAttributeKey;
409
409
  CoroutineImpl.call(this, resultContinuation);
410
410
  }
411
- protoOf(Auth$lambda$slambda_1).l3u = function ($this$on, originalRequest, $completion) {
412
- var tmp = this.m3u($this$on, originalRequest, $completion);
411
+ protoOf(Auth$lambda$slambda_1).g3z = function ($this$on, originalRequest, $completion) {
412
+ var tmp = this.h3z($this$on, originalRequest, $completion);
413
413
  tmp.i9_1 = Unit_instance;
414
414
  tmp.j9_1 = null;
415
415
  return tmp.o9();
416
416
  };
417
417
  protoOf(Auth$lambda$slambda_1).da = function (p1, p2, $completion) {
418
418
  var tmp = p1 instanceof Sender ? p1 : THROW_CCE();
419
- return this.l3u(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
419
+ return this.g3z(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
420
420
  };
421
421
  protoOf(Auth$lambda$slambda_1).o9 = function () {
422
422
  var suspendResult = this.i9_1;
@@ -427,40 +427,40 @@
427
427
  case 0:
428
428
  this.h9_1 = 10;
429
429
  this.g9_1 = 1;
430
- suspendResult = this.a4m_1.p3u(this.b4m_1, this);
430
+ suspendResult = this.r4t_1.k3z(this.s4t_1, this);
431
431
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
432
432
  return suspendResult;
433
433
  }
434
434
 
435
435
  continue $sm;
436
436
  case 1:
437
- this.c4m_1 = suspendResult;
437
+ this.t4t_1 = suspendResult;
438
438
  this.g9_1 = 2;
439
- suspendResult = this.w4l_1.d3l_1.j4j_1(this.c4m_1.t3b(), this);
439
+ suspendResult = this.n4t_1.y3p_1.a4r_1(this.t4t_1.p3g(), this);
440
440
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
441
441
  return suspendResult;
442
442
  }
443
443
 
444
444
  continue $sm;
445
445
  case 2:
446
- this.d4m_1 = suspendResult;
447
- if (!this.d4m_1) {
448
- return this.c4m_1;
446
+ this.u4t_1 = suspendResult;
447
+ if (!this.u4t_1) {
448
+ return this.t4t_1;
449
449
  } else {
450
450
  this.g9_1 = 3;
451
451
  continue $sm;
452
452
  }
453
453
 
454
454
  case 3:
455
- if (this.c4m_1.c3f().b3e().h2h(get_AuthCircuitBreaker()))
456
- return this.c4m_1;
457
- this.e4m_1 = this.c4m_1;
458
- this.f4m_1 = HashSet_init_$Create$(this.x4l_1);
455
+ if (this.t4t_1.y3j().x3i().k2j(get_AuthCircuitBreaker()))
456
+ return this.t4t_1;
457
+ this.v4t_1 = this.t4t_1;
458
+ this.w4t_1 = HashSet_init_$Create$(this.o4t_1);
459
459
  this.g9_1 = 4;
460
460
  continue $sm;
461
461
  case 4:
462
462
  this.g9_1 = 5;
463
- suspendResult = this.w4l_1.d3l_1.j4j_1(this.e4m_1.t3b(), this);
463
+ suspendResult = this.n4t_1.y3p_1.a4r_1(this.v4t_1.p3g(), this);
464
464
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
465
465
  return suspendResult;
466
466
  }
@@ -474,43 +474,43 @@
474
474
 
475
475
  var this_0 = get_LOGGER();
476
476
  if (get_isTraceEnabled(this_0)) {
477
- this_0.m2n('Unauthorized response for ' + this.e4m_1.c3f().f3f().toString());
477
+ this_0.g2s('Unauthorized response for ' + this.v4t_1.y3j().b3k().toString());
478
478
  }
479
479
 
480
480
  var tmp_0 = this;
481
- var tmp0_elvis_lhs = invoke$findProvider(this.e4m_1, this.f4m_1);
481
+ var tmp0_elvis_lhs = invoke$findProvider(this.v4t_1, this.w4t_1);
482
482
  var tmp_1;
483
483
  if (tmp0_elvis_lhs == null) {
484
- this.a4m_1;
484
+ this.r4t_1;
485
485
  var this_1 = get_LOGGER();
486
486
  if (get_isTraceEnabled(this_1)) {
487
- this_1.m2n('Can not find auth provider for ' + this.e4m_1.c3f().f3f().toString());
487
+ this_1.g2s('Can not find auth provider for ' + this.v4t_1.y3j().b3k().toString());
488
488
  }
489
- return this.e4m_1;
489
+ return this.v4t_1;
490
490
  } else {
491
491
  tmp_1 = tmp0_elvis_lhs;
492
492
  }
493
493
 
494
- tmp_0.g4m_1 = tmp_1;
495
- this.h4m_1 = this.g4m_1.tg();
496
- this.i4m_1 = this.g4m_1.ug();
494
+ tmp_0.x4t_1 = tmp_1;
495
+ this.y4t_1 = this.x4t_1.tg();
496
+ this.z4t_1 = this.x4t_1.ug();
497
497
  var this_2 = get_LOGGER();
498
498
  if (get_isTraceEnabled(this_2)) {
499
- this_2.m2n('Using provider ' + toString(this.h4m_1) + ' for ' + this.e4m_1.c3f().f3f().toString());
499
+ this_2.g2s('Using provider ' + toString(this.y4t_1) + ' for ' + this.v4t_1.y3j().b3k().toString());
500
500
  }
501
501
 
502
- this.f4m_1.d2(this.h4m_1);
502
+ this.w4t_1.d2(this.y4t_1);
503
503
  this.g9_1 = 6;
504
- suspendResult = invoke$refreshTokenIfNeeded(this.y4l_1, this.z4l_1, this.e4m_1, this.h4m_1, this.b4m_1, this);
504
+ suspendResult = invoke$refreshTokenIfNeeded(this.p4t_1, this.q4t_1, this.v4t_1, this.y4t_1, this.s4t_1, this);
505
505
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
506
506
  return suspendResult;
507
507
  }
508
508
 
509
509
  continue $sm;
510
510
  case 6:
511
- this.j4m_1 = suspendResult;
512
- if (!this.j4m_1) {
513
- return this.e4m_1;
511
+ this.a4u_1 = suspendResult;
512
+ if (!this.a4u_1) {
513
+ return this.v4t_1;
514
514
  } else {
515
515
  this.g9_1 = 7;
516
516
  continue $sm;
@@ -518,18 +518,18 @@
518
518
 
519
519
  case 7:
520
520
  this.g9_1 = 8;
521
- suspendResult = invoke$executeWithNewToken(this.a4m_1, this.e4m_1, this.h4m_1, this.b4m_1, this.i4m_1, this);
521
+ suspendResult = invoke$executeWithNewToken(this.r4t_1, this.v4t_1, this.y4t_1, this.s4t_1, this.z4t_1, this);
522
522
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
523
523
  return suspendResult;
524
524
  }
525
525
 
526
526
  continue $sm;
527
527
  case 8:
528
- this.e4m_1 = suspendResult;
528
+ this.v4t_1 = suspendResult;
529
529
  this.g9_1 = 4;
530
530
  continue $sm;
531
531
  case 9:
532
- return this.e4m_1;
532
+ return this.v4t_1;
533
533
  case 10:
534
534
  throw this.j9_1;
535
535
  }
@@ -544,16 +544,16 @@
544
544
  }
545
545
  while (true);
546
546
  };
547
- protoOf(Auth$lambda$slambda_1).m3u = function ($this$on, originalRequest, completion) {
548
- var i = new Auth$lambda$slambda_1(this.w4l_1, this.x4l_1, this.y4l_1, this.z4l_1, completion);
549
- i.a4m_1 = $this$on;
550
- i.b4m_1 = originalRequest;
547
+ protoOf(Auth$lambda$slambda_1).h3z = function ($this$on, originalRequest, completion) {
548
+ var i = new Auth$lambda$slambda_1(this.n4t_1, this.o4t_1, this.p4t_1, this.q4t_1, completion);
549
+ i.r4t_1 = $this$on;
550
+ i.s4t_1 = originalRequest;
551
551
  return i;
552
552
  };
553
553
  function Auth$lambda$slambda_2($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
554
554
  var i = new Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
555
555
  var l = function ($this$on, originalRequest, $completion) {
556
- return i.l3u($this$on, originalRequest, $completion);
556
+ return i.g3z($this$on, originalRequest, $completion);
557
557
  };
558
558
  l.$arity = 2;
559
559
  return l;
@@ -569,11 +569,11 @@
569
569
  }
570
570
  function $invoke$refreshTokenIfNeededCOROUTINE$0(tokenVersions, tokenVersionsAttributeKey, call, provider, request, resultContinuation) {
571
571
  CoroutineImpl.call(this, resultContinuation);
572
- this.u4j_1 = tokenVersions;
573
- this.v4j_1 = tokenVersionsAttributeKey;
574
- this.w4j_1 = call;
575
- this.x4j_1 = provider;
576
- this.y4j_1 = request;
572
+ this.l4r_1 = tokenVersions;
573
+ this.m4r_1 = tokenVersionsAttributeKey;
574
+ this.n4r_1 = call;
575
+ this.o4r_1 = provider;
576
+ this.p4r_1 = request;
577
577
  }
578
578
  protoOf($invoke$refreshTokenIfNeededCOROUTINE$0).o9 = function () {
579
579
  var suspendResult = this.i9_1;
@@ -584,17 +584,17 @@
584
584
  case 0:
585
585
  this.h9_1 = 4;
586
586
  var tmp_0 = this;
587
- tmp_0.z4j_1 = this.u4j_1.e2n(this.x4j_1, Auth$lambda$refreshTokenIfNeeded$lambda);
587
+ tmp_0.q4r_1 = this.l4r_1.y2r(this.o4r_1, Auth$lambda$refreshTokenIfNeeded$lambda);
588
588
  var tmp_1 = this;
589
- tmp_1.a4k_1 = this.y4j_1.y3c_1.k2h(this.v4j_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
590
- this.b4k_1 = this.a4k_1.k2(this.x4j_1);
591
- if (!(this.b4k_1 == null) && this.b4k_1 >= this.z4j_1.k4j_1.kotlinx$atomicfu$value) {
589
+ tmp_1.r4r_1 = this.p4r_1.u3h_1.n2j(this.m4r_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
590
+ this.s4r_1 = this.r4r_1.k2(this.o4r_1);
591
+ if (!(this.s4r_1 == null) && this.s4r_1 >= this.q4r_1.b4r_1.kotlinx$atomicfu$value) {
592
592
  var this_0 = get_LOGGER();
593
593
  if (get_isTraceEnabled(this_0)) {
594
- this_0.m2n('Refreshing token for ' + this.w4j_1.c3f().f3f().toString());
594
+ this_0.g2s('Refreshing token for ' + this.n4r_1.y3j().b3k().toString());
595
595
  }
596
596
  this.g9_1 = 1;
597
- suspendResult = this.x4j_1.k4m(this.w4j_1.t3b(), this);
597
+ suspendResult = this.o4r_1.b4u(this.n4r_1.p3g(), this);
598
598
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
599
599
  return suspendResult;
600
600
  }
@@ -609,13 +609,13 @@
609
609
  if (!ARGUMENT) {
610
610
  var this_1 = get_LOGGER();
611
611
  if (get_isTraceEnabled(this_1)) {
612
- this_1.m2n('Refreshing token failed for ' + this.w4j_1.c3f().f3f().toString());
612
+ this_1.g2s('Refreshing token failed for ' + this.n4r_1.y3j().b3k().toString());
613
613
  }
614
614
  return false;
615
615
  } else {
616
- var tmp2 = this.a4k_1;
617
- var tmp3 = this.x4j_1;
618
- var value = this.z4j_1.k4j_1.atomicfu$incrementAndGet();
616
+ var tmp2 = this.r4r_1;
617
+ var tmp3 = this.o4r_1;
618
+ var value = this.q4r_1.b4r_1.atomicfu$incrementAndGet();
619
619
  tmp2.n2(tmp3, value);
620
620
  this.g9_1 = 2;
621
621
  continue $sm;
@@ -642,11 +642,11 @@
642
642
  };
643
643
  function $invoke$executeWithNewTokenCOROUTINE$1(_this__u8e3s4, call, provider, oldRequest, authHeader, resultContinuation) {
644
644
  CoroutineImpl.call(this, resultContinuation);
645
- this.k4k_1 = _this__u8e3s4;
646
- this.l4k_1 = call;
647
- this.m4k_1 = provider;
648
- this.n4k_1 = oldRequest;
649
- this.o4k_1 = authHeader;
645
+ this.b4s_1 = _this__u8e3s4;
646
+ this.c4s_1 = call;
647
+ this.d4s_1 = provider;
648
+ this.e4s_1 = oldRequest;
649
+ this.f4s_1 = authHeader;
650
650
  }
651
651
  protoOf($invoke$executeWithNewTokenCOROUTINE$1).o9 = function () {
652
652
  var suspendResult = this.i9_1;
@@ -656,24 +656,24 @@
656
656
  switch (tmp) {
657
657
  case 0:
658
658
  this.h9_1 = 3;
659
- this.p4k_1 = new HttpRequestBuilder();
660
- this.p4k_1.p3i(this.n4k_1);
659
+ this.g4s_1 = new HttpRequestBuilder();
660
+ this.g4s_1.k3n(this.e4s_1);
661
661
  this.g9_1 = 1;
662
- suspendResult = this.m4k_1.l4m(this.p4k_1, this.o4k_1, this);
662
+ suspendResult = this.d4s_1.c4u(this.g4s_1, this.f4s_1, this);
663
663
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
664
664
  return suspendResult;
665
665
  }
666
666
 
667
667
  continue $sm;
668
668
  case 1:
669
- this.p4k_1.y3c_1.i2h(get_AuthCircuitBreaker(), Unit_instance);
669
+ this.g4s_1.u3h_1.l2j(get_AuthCircuitBreaker(), Unit_instance);
670
670
  var this_0 = get_LOGGER();
671
671
  if (get_isTraceEnabled(this_0)) {
672
- this_0.m2n('Sending new request to ' + this.l4k_1.c3f().f3f().toString());
672
+ this_0.g2s('Sending new request to ' + this.c4s_1.y3j().b3k().toString());
673
673
  }
674
674
 
675
675
  this.g9_1 = 2;
676
- suspendResult = this.k4k_1.p3u(this.p4k_1, this);
676
+ suspendResult = this.b4s_1.k3z(this.g4s_1, this);
677
677
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
678
678
  return suspendResult;
679
679
  }
@@ -760,17 +760,17 @@
760
760
  return Companion_instance;
761
761
  };
762
762
  function AuthTokenHolder$setToken$slambda($block, resultContinuation) {
763
- this.v4m_1 = $block;
763
+ this.m4u_1 = $block;
764
764
  CoroutineImpl.call(this, resultContinuation);
765
765
  }
766
- protoOf(AuthTokenHolder$setToken$slambda).x4m = function ($this$withContext, $completion) {
767
- var tmp = this.s1u($this$withContext, $completion);
766
+ protoOf(AuthTokenHolder$setToken$slambda).o4u = function ($this$withContext, $completion) {
767
+ var tmp = this.v1w($this$withContext, $completion);
768
768
  tmp.i9_1 = Unit_instance;
769
769
  tmp.j9_1 = null;
770
770
  return tmp.o9();
771
771
  };
772
772
  protoOf(AuthTokenHolder$setToken$slambda).ca = function (p1, $completion) {
773
- return this.x4m((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
773
+ return this.o4u((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
774
774
  };
775
775
  protoOf(AuthTokenHolder$setToken$slambda).o9 = function () {
776
776
  var suspendResult = this.i9_1;
@@ -781,7 +781,7 @@
781
781
  case 0:
782
782
  this.h9_1 = 2;
783
783
  this.g9_1 = 1;
784
- suspendResult = this.v4m_1(this);
784
+ suspendResult = this.m4u_1(this);
785
785
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
786
786
  return suspendResult;
787
787
  }
@@ -803,22 +803,22 @@
803
803
  }
804
804
  while (true);
805
805
  };
806
- protoOf(AuthTokenHolder$setToken$slambda).s1u = function ($this$withContext, completion) {
807
- var i = new AuthTokenHolder$setToken$slambda(this.v4m_1, completion);
808
- i.w4m_1 = $this$withContext;
806
+ protoOf(AuthTokenHolder$setToken$slambda).v1w = function ($this$withContext, completion) {
807
+ var i = new AuthTokenHolder$setToken$slambda(this.m4u_1, completion);
808
+ i.n4u_1 = $this$withContext;
809
809
  return i;
810
810
  };
811
811
  function AuthTokenHolder$setToken$slambda_0($block, resultContinuation) {
812
812
  var i = new AuthTokenHolder$setToken$slambda($block, resultContinuation);
813
813
  var l = function ($this$withContext, $completion) {
814
- return i.x4m($this$withContext, $completion);
814
+ return i.o4u($this$withContext, $completion);
815
815
  };
816
816
  l.$arity = 1;
817
817
  return l;
818
818
  }
819
819
  function $loadTokenCOROUTINE$2(_this__u8e3s4, resultContinuation) {
820
820
  CoroutineImpl.call(this, resultContinuation);
821
- this.g4n_1 = _this__u8e3s4;
821
+ this.x4u_1 = _this__u8e3s4;
822
822
  }
823
823
  protoOf($loadTokenCOROUTINE$2).o9 = function () {
824
824
  var suspendResult = this.i9_1;
@@ -828,24 +828,24 @@
828
828
  switch (tmp) {
829
829
  case 0:
830
830
  this.h9_1 = 12;
831
- if (!(this.g4n_1.p4n_1 == null))
832
- return this.g4n_1.p4n_1;
833
- this.h4n_1 = this.g4n_1.p4n_1;
831
+ if (!(this.x4u_1.g4v_1 == null))
832
+ return this.x4u_1.g4v_1;
833
+ this.y4u_1 = this.x4u_1.g4v_1;
834
834
  if (!(this.m9().t9(Companion_instance) == null)) {
835
835
  this.g9_1 = 10;
836
- suspendResult = this.g4n_1.o4n_1(this);
836
+ suspendResult = this.x4u_1.f4v_1(this);
837
837
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
838
838
  return suspendResult;
839
839
  }
840
840
  continue $sm;
841
841
  } else {
842
842
  var tmp_0 = this;
843
- tmp_0.j4n_1 = this.g4n_1.r4n_1;
844
- this.k4n_1 = this.j4n_1;
843
+ tmp_0.a4v_1 = this.x4u_1.i4v_1;
844
+ this.b4v_1 = this.a4v_1;
845
845
  var tmp_1 = this;
846
- tmp_1.l4n_1 = null;
846
+ tmp_1.c4v_1 = null;
847
847
  this.g9_1 = 1;
848
- suspendResult = this.k4n_1.k1d(this.l4n_1, this);
848
+ suspendResult = this.b4v_1.n1e(this.c4v_1, this);
849
849
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
850
850
  return suspendResult;
851
851
  }
@@ -853,19 +853,19 @@
853
853
  }
854
854
 
855
855
  case 1:
856
- this.m4n_1 = Unit_instance;
856
+ this.d4v_1 = Unit_instance;
857
857
  this.g9_1 = 2;
858
858
  continue $sm;
859
859
  case 2:
860
860
  this.h9_1 = 9;
861
- this.g4n_1.q4n_1 = true;
861
+ this.x4u_1.h4v_1 = true;
862
862
  this.g9_1 = 3;
863
863
  continue $sm;
864
864
  case 3:
865
865
  this.h9_1 = 8;
866
- if (equals(this.h4n_1, this.g4n_1.p4n_1)) {
866
+ if (equals(this.y4u_1, this.x4u_1.g4v_1)) {
867
867
  this.g9_1 = 4;
868
- suspendResult = this.g4n_1.o4n_1(this);
868
+ suspendResult = this.x4u_1.f4v_1(this);
869
869
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
870
870
  return suspendResult;
871
871
  }
@@ -877,45 +877,45 @@
877
877
 
878
878
  case 4:
879
879
  var ARGUMENT = suspendResult;
880
- this.g4n_1.p4n_1 = ARGUMENT;
880
+ this.x4u_1.g4v_1 = ARGUMENT;
881
881
  this.g9_1 = 5;
882
882
  continue $sm;
883
883
  case 5:
884
- this.n4n_1 = Unit_instance;
884
+ this.e4v_1 = Unit_instance;
885
885
  this.g9_1 = 6;
886
886
  continue $sm;
887
887
  case 6:
888
888
  this.h9_1 = 9;
889
- this.g4n_1.q4n_1 = false;
890
- this.m4n_1 = this.g4n_1.p4n_1;
889
+ this.x4u_1.h4v_1 = false;
890
+ this.d4v_1 = this.x4u_1.g4v_1;
891
891
  this.h9_1 = 12;
892
892
  this.g9_1 = 7;
893
893
  continue $sm;
894
894
  case 7:
895
- var tmp_2 = this.m4n_1;
895
+ var tmp_2 = this.d4v_1;
896
896
  this.h9_1 = 12;
897
- this.k4n_1.w1c(this.l4n_1);
898
- this.i4n_1 = tmp_2;
897
+ this.b4v_1.z1d(this.c4v_1);
898
+ this.z4u_1 = tmp_2;
899
899
  this.g9_1 = 11;
900
900
  continue $sm;
901
901
  case 8:
902
902
  this.h9_1 = 9;
903
903
  var t = this.j9_1;
904
- this.g4n_1.q4n_1 = false;
904
+ this.x4u_1.h4v_1 = false;
905
905
  throw t;
906
906
  case 9:
907
907
  this.h9_1 = 12;
908
908
  var t_0 = this.j9_1;
909
- this.k4n_1.w1c(this.l4n_1);
909
+ this.b4v_1.z1d(this.c4v_1);
910
910
  throw t_0;
911
911
  case 10:
912
912
  var ARGUMENT_0 = suspendResult;
913
- this.g4n_1.p4n_1 = ARGUMENT_0;
914
- this.i4n_1 = this.g4n_1.p4n_1;
913
+ this.x4u_1.g4v_1 = ARGUMENT_0;
914
+ this.z4u_1 = this.x4u_1.g4v_1;
915
915
  this.g9_1 = 11;
916
916
  continue $sm;
917
917
  case 11:
918
- return this.i4n_1;
918
+ return this.z4u_1;
919
919
  case 12:
920
920
  throw this.j9_1;
921
921
  }
@@ -932,8 +932,8 @@
932
932
  };
933
933
  function $setTokenCOROUTINE$3(_this__u8e3s4, block, resultContinuation) {
934
934
  CoroutineImpl.call(this, resultContinuation);
935
- this.b4o_1 = _this__u8e3s4;
936
- this.c4o_1 = block;
935
+ this.s4v_1 = _this__u8e3s4;
936
+ this.t4v_1 = block;
937
937
  }
938
938
  protoOf($setTokenCOROUTINE$3).o9 = function () {
939
939
  var suspendResult = this.i9_1;
@@ -943,30 +943,30 @@
943
943
  switch (tmp) {
944
944
  case 0:
945
945
  this.h9_1 = 7;
946
- this.d4o_1 = this.b4o_1.p4n_1;
947
- this.e4o_1 = this.b4o_1.q4n_1;
946
+ this.u4v_1 = this.s4v_1.g4v_1;
947
+ this.v4v_1 = this.s4v_1.h4v_1;
948
948
  var tmp_0 = this;
949
- tmp_0.f4o_1 = this.b4o_1.r4n_1;
950
- this.g4o_1 = this.f4o_1;
949
+ tmp_0.w4v_1 = this.s4v_1.i4v_1;
950
+ this.x4v_1 = this.w4v_1;
951
951
  var tmp_1 = this;
952
- tmp_1.h4o_1 = null;
952
+ tmp_1.y4v_1 = null;
953
953
  this.g9_1 = 1;
954
- suspendResult = this.g4o_1.k1d(this.h4o_1, this);
954
+ suspendResult = this.x4v_1.n1e(this.y4v_1, this);
955
955
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
956
956
  return suspendResult;
957
957
  }
958
958
 
959
959
  continue $sm;
960
960
  case 1:
961
- this.i4o_1 = Unit_instance;
961
+ this.z4v_1 = Unit_instance;
962
962
  this.g9_1 = 2;
963
963
  continue $sm;
964
964
  case 2:
965
965
  this.h9_1 = 6;
966
- if (equals(this.d4o_1, this.b4o_1.p4n_1) || this.e4o_1) {
966
+ if (equals(this.u4v_1, this.s4v_1.g4v_1) || this.v4v_1) {
967
967
  this.g9_1 = 3;
968
- var tmp_2 = this.m9().rh(this.b4o_1.s4n_1);
969
- suspendResult = withContext(tmp_2, AuthTokenHolder$setToken$slambda_0(this.c4o_1, null), this);
968
+ var tmp_2 = this.m9().rh(this.s4v_1.j4v_1);
969
+ suspendResult = withContext(tmp_2, AuthTokenHolder$setToken$slambda_0(this.t4v_1, null), this);
970
970
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
971
971
  return suspendResult;
972
972
  }
@@ -979,25 +979,25 @@
979
979
  case 3:
980
980
  var newValue = suspendResult;
981
981
  if (!(newValue == null)) {
982
- this.b4o_1.p4n_1 = newValue;
982
+ this.s4v_1.g4v_1 = newValue;
983
983
  }
984
984
 
985
985
  this.g9_1 = 4;
986
986
  continue $sm;
987
987
  case 4:
988
- this.i4o_1 = this.b4o_1.p4n_1;
988
+ this.z4v_1 = this.s4v_1.g4v_1;
989
989
  this.h9_1 = 7;
990
990
  this.g9_1 = 5;
991
991
  continue $sm;
992
992
  case 5:
993
- var tmp_3 = this.i4o_1;
993
+ var tmp_3 = this.z4v_1;
994
994
  this.h9_1 = 7;
995
- this.g4o_1.w1c(this.h4o_1);
995
+ this.x4v_1.z1d(this.y4v_1);
996
996
  return tmp_3;
997
997
  case 6:
998
998
  this.h9_1 = 7;
999
999
  var t = this.j9_1;
1000
- this.g4o_1.w1c(this.h4o_1);
1000
+ this.x4v_1.z1d(this.y4v_1);
1001
1001
  throw t;
1002
1002
  case 7:
1003
1003
  throw this.j9_1;
@@ -1014,19 +1014,19 @@
1014
1014
  while (true);
1015
1015
  };
1016
1016
  function AuthTokenHolder(loadTokens) {
1017
- this.o4n_1 = loadTokens;
1018
- this.p4n_1 = null;
1019
- this.q4n_1 = false;
1020
- this.r4n_1 = Mutex();
1021
- this.s4n_1 = new SetTokenContext();
1017
+ this.f4v_1 = loadTokens;
1018
+ this.g4v_1 = null;
1019
+ this.h4v_1 = false;
1020
+ this.i4v_1 = Mutex();
1021
+ this.j4v_1 = new SetTokenContext();
1022
1022
  }
1023
- protoOf(AuthTokenHolder).j4o = function ($completion) {
1023
+ protoOf(AuthTokenHolder).a4w = function ($completion) {
1024
1024
  var tmp = new $loadTokenCOROUTINE$2(this, $completion);
1025
1025
  tmp.i9_1 = Unit_instance;
1026
1026
  tmp.j9_1 = null;
1027
1027
  return tmp.o9();
1028
1028
  };
1029
- protoOf(AuthTokenHolder).k4o = function (block, $completion) {
1029
+ protoOf(AuthTokenHolder).b4w = function (block, $completion) {
1030
1030
  var tmp = new $setTokenCOROUTINE$3(this, block, $completion);
1031
1031
  tmp.i9_1 = Unit_instance;
1032
1032
  tmp.j9_1 = null;
@@ -1037,19 +1037,19 @@
1037
1037
  var this_0 = new BearerAuthConfig();
1038
1038
  block(this_0);
1039
1039
  // Inline function 'kotlin.with' call
1040
- _this__u8e3s4.i4j_1.k(new BearerAuthProvider(this_0.l4o_1, this_0.m4o_1, this_0.n4o_1, this_0.o4o_1));
1040
+ _this__u8e3s4.z4q_1.k(new BearerAuthProvider(this_0.c4w_1, this_0.d4w_1, this_0.e4w_1, this_0.f4w_1));
1041
1041
  }
1042
1042
  function BearerAuthConfig$refreshTokens$slambda(resultContinuation) {
1043
1043
  CoroutineImpl.call(this, resultContinuation);
1044
1044
  }
1045
- protoOf(BearerAuthConfig$refreshTokens$slambda).y4o = function (_this__u8e3s4, $completion) {
1046
- var tmp = this.z4o(_this__u8e3s4, $completion);
1045
+ protoOf(BearerAuthConfig$refreshTokens$slambda).p4w = function (_this__u8e3s4, $completion) {
1046
+ var tmp = this.q4w(_this__u8e3s4, $completion);
1047
1047
  tmp.i9_1 = Unit_instance;
1048
1048
  tmp.j9_1 = null;
1049
1049
  return tmp.o9();
1050
1050
  };
1051
1051
  protoOf(BearerAuthConfig$refreshTokens$slambda).ca = function (p1, $completion) {
1052
- return this.y4o(p1 instanceof RefreshTokensParams ? p1 : THROW_CCE(), $completion);
1052
+ return this.p4w(p1 instanceof RefreshTokensParams ? p1 : THROW_CCE(), $completion);
1053
1053
  };
1054
1054
  protoOf(BearerAuthConfig$refreshTokens$slambda).o9 = function () {
1055
1055
  var suspendResult = this.i9_1;
@@ -1068,15 +1068,15 @@
1068
1068
  }
1069
1069
  while (true);
1070
1070
  };
1071
- protoOf(BearerAuthConfig$refreshTokens$slambda).z4o = function (_this__u8e3s4, completion) {
1071
+ protoOf(BearerAuthConfig$refreshTokens$slambda).q4w = function (_this__u8e3s4, completion) {
1072
1072
  var i = new BearerAuthConfig$refreshTokens$slambda(completion);
1073
- i.x4o_1 = _this__u8e3s4;
1073
+ i.o4w_1 = _this__u8e3s4;
1074
1074
  return i;
1075
1075
  };
1076
1076
  function BearerAuthConfig$refreshTokens$slambda_0(resultContinuation) {
1077
1077
  var i = new BearerAuthConfig$refreshTokens$slambda(resultContinuation);
1078
1078
  var l = function (_this__u8e3s4, $completion) {
1079
- return i.y4o(_this__u8e3s4, $completion);
1079
+ return i.p4w(_this__u8e3s4, $completion);
1080
1080
  };
1081
1081
  l.$arity = 1;
1082
1082
  return l;
@@ -1084,14 +1084,14 @@
1084
1084
  function BearerAuthConfig$loadTokens$slambda(resultContinuation) {
1085
1085
  CoroutineImpl.call(this, resultContinuation);
1086
1086
  }
1087
- protoOf(BearerAuthConfig$loadTokens$slambda).i4p = function ($completion) {
1088
- var tmp = this.j4p($completion);
1087
+ protoOf(BearerAuthConfig$loadTokens$slambda).z4w = function ($completion) {
1088
+ var tmp = this.a4x($completion);
1089
1089
  tmp.i9_1 = Unit_instance;
1090
1090
  tmp.j9_1 = null;
1091
1091
  return tmp.o9();
1092
1092
  };
1093
1093
  protoOf(BearerAuthConfig$loadTokens$slambda).hb = function ($completion) {
1094
- return this.i4p($completion);
1094
+ return this.z4w($completion);
1095
1095
  };
1096
1096
  protoOf(BearerAuthConfig$loadTokens$slambda).o9 = function () {
1097
1097
  var suspendResult = this.i9_1;
@@ -1110,13 +1110,13 @@
1110
1110
  }
1111
1111
  while (true);
1112
1112
  };
1113
- protoOf(BearerAuthConfig$loadTokens$slambda).j4p = function (completion) {
1113
+ protoOf(BearerAuthConfig$loadTokens$slambda).a4x = function (completion) {
1114
1114
  return new BearerAuthConfig$loadTokens$slambda(completion);
1115
1115
  };
1116
1116
  function BearerAuthConfig$loadTokens$slambda_0(resultContinuation) {
1117
1117
  var i = new BearerAuthConfig$loadTokens$slambda(resultContinuation);
1118
1118
  var l = function ($completion) {
1119
- return i.i4p($completion);
1119
+ return i.z4w($completion);
1120
1120
  };
1121
1121
  l.$arity = 0;
1122
1122
  return l;
@@ -1126,56 +1126,56 @@
1126
1126
  }
1127
1127
  function BearerAuthConfig() {
1128
1128
  var tmp = this;
1129
- tmp.l4o_1 = BearerAuthConfig$refreshTokens$slambda_0(null);
1129
+ tmp.c4w_1 = BearerAuthConfig$refreshTokens$slambda_0(null);
1130
1130
  var tmp_0 = this;
1131
- tmp_0.m4o_1 = BearerAuthConfig$loadTokens$slambda_0(null);
1131
+ tmp_0.d4w_1 = BearerAuthConfig$loadTokens$slambda_0(null);
1132
1132
  var tmp_1 = this;
1133
- tmp_1.n4o_1 = BearerAuthConfig$sendWithoutRequest$lambda;
1134
- this.o4o_1 = null;
1133
+ tmp_1.e4w_1 = BearerAuthConfig$sendWithoutRequest$lambda;
1134
+ this.f4w_1 = null;
1135
1135
  }
1136
- protoOf(BearerAuthConfig).k4p = function (block) {
1137
- this.l4o_1 = block;
1136
+ protoOf(BearerAuthConfig).b4x = function (block) {
1137
+ this.c4w_1 = block;
1138
1138
  };
1139
1139
  function RefreshTokensParams(client, response, oldTokens) {
1140
- this.l4p_1 = client;
1141
- this.m4p_1 = response;
1142
- this.n4p_1 = oldTokens;
1140
+ this.c4x_1 = client;
1141
+ this.d4x_1 = response;
1142
+ this.e4x_1 = oldTokens;
1143
1143
  }
1144
- protoOf(RefreshTokensParams).o4p = function (_this__u8e3s4) {
1145
- _this__u8e3s4.y3c_1.i2h(get_AuthCircuitBreaker(), Unit_instance);
1144
+ protoOf(RefreshTokensParams).f4x = function (_this__u8e3s4) {
1145
+ _this__u8e3s4.u3h_1.l2j(get_AuthCircuitBreaker(), Unit_instance);
1146
1146
  };
1147
1147
  function BearerTokens(accessToken, refreshToken) {
1148
- this.p4p_1 = accessToken;
1149
- this.q4p_1 = refreshToken;
1148
+ this.g4x_1 = accessToken;
1149
+ this.h4x_1 = refreshToken;
1150
1150
  }
1151
1151
  function BearerAuthProvider$_init_$lambda_lcdiwf(it) {
1152
1152
  return true;
1153
1153
  }
1154
1154
  function BearerAuthProvider$addRequestHeaders$lambda($token) {
1155
1155
  return function ($this$headers) {
1156
- var tokenValue = 'Bearer ' + $token.p4p_1;
1156
+ var tokenValue = 'Bearer ' + $token.g4x_1;
1157
1157
  var tmp;
1158
- if ($this$headers.e2j(HttpHeaders_getInstance().j2q_1)) {
1159
- $this$headers.k2j(HttpHeaders_getInstance().j2q_1);
1158
+ if ($this$headers.r2n(HttpHeaders_getInstance().d2v_1)) {
1159
+ $this$headers.c2o(HttpHeaders_getInstance().d2v_1);
1160
1160
  tmp = Unit_instance;
1161
1161
  }
1162
- $this$headers.h2j(HttpHeaders_getInstance().j2q_1, tokenValue);
1162
+ $this$headers.z2n(HttpHeaders_getInstance().d2v_1, tokenValue);
1163
1163
  return Unit_instance;
1164
1164
  };
1165
1165
  }
1166
1166
  function BearerAuthProvider$refreshToken$slambda(this$0, $response, resultContinuation) {
1167
- this.z4p_1 = this$0;
1168
- this.a4q_1 = $response;
1167
+ this.q4x_1 = this$0;
1168
+ this.r4x_1 = $response;
1169
1169
  CoroutineImpl.call(this, resultContinuation);
1170
1170
  }
1171
- protoOf(BearerAuthProvider$refreshToken$slambda).f4q = function ($completion) {
1172
- var tmp = this.j4p($completion);
1171
+ protoOf(BearerAuthProvider$refreshToken$slambda).w4x = function ($completion) {
1172
+ var tmp = this.a4x($completion);
1173
1173
  tmp.i9_1 = Unit_instance;
1174
1174
  tmp.j9_1 = null;
1175
1175
  return tmp.o9();
1176
1176
  };
1177
1177
  protoOf(BearerAuthProvider$refreshToken$slambda).hb = function ($completion) {
1178
- return this.f4q($completion);
1178
+ return this.w4x($completion);
1179
1179
  };
1180
1180
  protoOf(BearerAuthProvider$refreshToken$slambda).o9 = function () {
1181
1181
  var suspendResult = this.i9_1;
@@ -1185,20 +1185,20 @@
1185
1185
  switch (tmp) {
1186
1186
  case 0:
1187
1187
  this.h9_1 = 3;
1188
- this.b4q_1 = this.z4p_1.g4q_1;
1189
- this.c4q_1 = this.a4q_1.c3g().o3b_1;
1188
+ this.s4x_1 = this.q4x_1.x4x_1;
1189
+ this.t4x_1 = this.r4x_1.x3k().k3g_1;
1190
1190
  this.g9_1 = 1;
1191
- suspendResult = this.z4p_1.j4q_1.j4o(this);
1191
+ suspendResult = this.q4x_1.a4y_1.a4w(this);
1192
1192
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1193
1193
  return suspendResult;
1194
1194
  }
1195
1195
 
1196
1196
  continue $sm;
1197
1197
  case 1:
1198
- this.d4q_1 = suspendResult;
1199
- this.e4q_1 = new RefreshTokensParams(this.c4q_1, this.a4q_1, this.d4q_1);
1198
+ this.u4x_1 = suspendResult;
1199
+ this.v4x_1 = new RefreshTokensParams(this.t4x_1, this.r4x_1, this.u4x_1);
1200
1200
  this.g9_1 = 2;
1201
- suspendResult = this.b4q_1(this.e4q_1, this);
1201
+ suspendResult = this.s4x_1(this.v4x_1, this);
1202
1202
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1203
1203
  return suspendResult;
1204
1204
  }
@@ -1220,22 +1220,22 @@
1220
1220
  }
1221
1221
  while (true);
1222
1222
  };
1223
- protoOf(BearerAuthProvider$refreshToken$slambda).j4p = function (completion) {
1224
- return new BearerAuthProvider$refreshToken$slambda(this.z4p_1, this.a4q_1, completion);
1223
+ protoOf(BearerAuthProvider$refreshToken$slambda).a4x = function (completion) {
1224
+ return new BearerAuthProvider$refreshToken$slambda(this.q4x_1, this.r4x_1, completion);
1225
1225
  };
1226
1226
  function BearerAuthProvider$refreshToken$slambda_0(this$0, $response, resultContinuation) {
1227
1227
  var i = new BearerAuthProvider$refreshToken$slambda(this$0, $response, resultContinuation);
1228
1228
  var l = function ($completion) {
1229
- return i.f4q($completion);
1229
+ return i.w4x($completion);
1230
1230
  };
1231
1231
  l.$arity = 0;
1232
1232
  return l;
1233
1233
  }
1234
1234
  function $addRequestHeadersCOROUTINE$4(_this__u8e3s4, request, authHeader, resultContinuation) {
1235
1235
  CoroutineImpl.call(this, resultContinuation);
1236
- this.s4q_1 = _this__u8e3s4;
1237
- this.t4q_1 = request;
1238
- this.u4q_1 = authHeader;
1236
+ this.j4y_1 = _this__u8e3s4;
1237
+ this.k4y_1 = request;
1238
+ this.l4y_1 = authHeader;
1239
1239
  }
1240
1240
  protoOf($addRequestHeadersCOROUTINE$4).o9 = function () {
1241
1241
  var suspendResult = this.i9_1;
@@ -1246,7 +1246,7 @@
1246
1246
  case 0:
1247
1247
  this.h9_1 = 2;
1248
1248
  this.g9_1 = 1;
1249
- suspendResult = this.s4q_1.j4q_1.j4o(this);
1249
+ suspendResult = this.j4y_1.a4y_1.a4w(this);
1250
1250
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1251
1251
  return suspendResult;
1252
1252
  }
@@ -1262,7 +1262,7 @@
1262
1262
  }
1263
1263
 
1264
1264
  var token = tmp_0;
1265
- headers(this.t4q_1, BearerAuthProvider$addRequestHeaders$lambda(token));
1265
+ headers(this.k4y_1, BearerAuthProvider$addRequestHeaders$lambda(token));
1266
1266
  return Unit_instance;
1267
1267
  case 2:
1268
1268
  throw this.j9_1;
@@ -1280,8 +1280,8 @@
1280
1280
  };
1281
1281
  function $refreshTokenCOROUTINE$5(_this__u8e3s4, response, resultContinuation) {
1282
1282
  CoroutineImpl.call(this, resultContinuation);
1283
- this.d4r_1 = _this__u8e3s4;
1284
- this.e4r_1 = response;
1283
+ this.u4y_1 = _this__u8e3s4;
1284
+ this.v4y_1 = response;
1285
1285
  }
1286
1286
  protoOf($refreshTokenCOROUTINE$5).o9 = function () {
1287
1287
  var suspendResult = this.i9_1;
@@ -1292,7 +1292,7 @@
1292
1292
  case 0:
1293
1293
  this.h9_1 = 2;
1294
1294
  this.g9_1 = 1;
1295
- suspendResult = this.d4r_1.j4q_1.k4o(BearerAuthProvider$refreshToken$slambda_0(this.d4r_1, this.e4r_1, null), this);
1295
+ suspendResult = this.u4y_1.a4y_1.b4w(BearerAuthProvider$refreshToken$slambda_0(this.u4y_1, this.v4y_1, null), this);
1296
1296
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1297
1297
  return suspendResult;
1298
1298
  }
@@ -1323,46 +1323,46 @@
1323
1323
  tmp = sendWithoutRequestCallback;
1324
1324
  }
1325
1325
  sendWithoutRequestCallback = tmp;
1326
- this.g4q_1 = refreshTokens;
1327
- this.h4q_1 = sendWithoutRequestCallback;
1328
- this.i4q_1 = realm;
1329
- this.j4q_1 = new AuthTokenHolder(loadTokens);
1326
+ this.x4x_1 = refreshTokens;
1327
+ this.y4x_1 = sendWithoutRequestCallback;
1328
+ this.z4x_1 = realm;
1329
+ this.a4y_1 = new AuthTokenHolder(loadTokens);
1330
1330
  }
1331
- protoOf(BearerAuthProvider).m4m = function () {
1331
+ protoOf(BearerAuthProvider).d4u = function () {
1332
1332
  var message = 'Deprecated';
1333
1333
  throw IllegalStateException_init_$Create$(toString(message));
1334
1334
  };
1335
- protoOf(BearerAuthProvider).m4l = function (request) {
1336
- return this.h4q_1(request);
1335
+ protoOf(BearerAuthProvider).d4t = function (request) {
1336
+ return this.y4x_1(request);
1337
1337
  };
1338
- protoOf(BearerAuthProvider).l4j = function (auth) {
1339
- if (!(auth.p2z_1 === 'Bearer')) {
1340
- get_LOGGER().m2n('Bearer Auth Provider is not applicable for ' + auth.toString());
1338
+ protoOf(BearerAuthProvider).c4r = function (auth) {
1339
+ if (!(auth.j34_1 === 'Bearer')) {
1340
+ get_LOGGER().g2s('Bearer Auth Provider is not applicable for ' + auth.toString());
1341
1341
  return false;
1342
1342
  }
1343
1343
  var tmp;
1344
- if (this.i4q_1 == null) {
1344
+ if (this.z4x_1 == null) {
1345
1345
  tmp = true;
1346
1346
  } else {
1347
1347
  if (!(auth instanceof Parameterized)) {
1348
1348
  tmp = false;
1349
1349
  } else {
1350
- tmp = auth.v2p('realm') == this.i4q_1;
1350
+ tmp = auth.p2u('realm') == this.z4x_1;
1351
1351
  }
1352
1352
  }
1353
1353
  var isSameRealm = tmp;
1354
1354
  if (!isSameRealm) {
1355
- get_LOGGER().m2n('Bearer Auth Provider is not applicable for this realm');
1355
+ get_LOGGER().g2s('Bearer Auth Provider is not applicable for this realm');
1356
1356
  }
1357
1357
  return isSameRealm;
1358
1358
  };
1359
- protoOf(BearerAuthProvider).l4m = function (request, authHeader, $completion) {
1359
+ protoOf(BearerAuthProvider).c4u = function (request, authHeader, $completion) {
1360
1360
  var tmp = new $addRequestHeadersCOROUTINE$4(this, request, authHeader, $completion);
1361
1361
  tmp.i9_1 = Unit_instance;
1362
1362
  tmp.j9_1 = null;
1363
1363
  return tmp.o9();
1364
1364
  };
1365
- protoOf(BearerAuthProvider).k4m = function (response, $completion) {
1365
+ protoOf(BearerAuthProvider).b4u = function (response, $completion) {
1366
1366
  var tmp = new $refreshTokenCOROUTINE$5(this, response, $completion);
1367
1367
  tmp.i9_1 = Unit_instance;
1368
1368
  tmp.j9_1 = null;
@@ -1373,7 +1373,7 @@
1373
1373
  protoOf(SetTokenContext).qh = fold;
1374
1374
  protoOf(SetTokenContext).ph = minusKey;
1375
1375
  protoOf(SetTokenContext).rh = plus;
1376
- protoOf(BearerAuthProvider).n4l = addRequestHeaders$default;
1376
+ protoOf(BearerAuthProvider).e4t = addRequestHeaders$default;
1377
1377
  //endregion
1378
1378
  //region block: init
1379
1379
  Companion_instance = new Companion();