@doordeck/doordeck-headless-sdk 0.195.0 → 0.196.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.
@@ -1,58 +1,58 @@
1
1
  (function (_, kotlin_kotlin, kotlin_io_ktor_ktor_client_core, kotlin_io_ktor_ktor_http, kotlin_org_jetbrains_kotlinx_atomicfu, kotlin_io_ktor_ktor_utils, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core) {
2
2
  'use strict';
3
3
  //region block: imports
4
- var CoroutineImpl = kotlin_kotlin.$_$.l9;
4
+ var CoroutineImpl = kotlin_kotlin.$_$.o9;
5
5
  var Unit_instance = kotlin_kotlin.$_$.z;
6
- var protoOf = kotlin_kotlin.$_$.zb;
7
- var THROW_CCE = kotlin_kotlin.$_$.zf;
6
+ var protoOf = kotlin_kotlin.$_$.cc;
7
+ var THROW_CCE = kotlin_kotlin.$_$.cg;
8
8
  var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.k1;
9
9
  var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.j;
10
- var initMetadataForLambda = kotlin_kotlin.$_$.hb;
10
+ var initMetadataForLambda = kotlin_kotlin.$_$.kb;
11
11
  var VOID = kotlin_kotlin.$_$.b;
12
12
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j1;
13
- var initMetadataForClass = kotlin_kotlin.$_$.cb;
13
+ var initMetadataForClass = kotlin_kotlin.$_$.fb;
14
14
  var atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
15
- var toList = kotlin_kotlin.$_$.i8;
15
+ var toList = kotlin_kotlin.$_$.l8;
16
16
  var ConcurrentMap = kotlin_io_ktor_ktor_utils.$_$.e;
17
- var KtMutableMap = kotlin_kotlin.$_$.p5;
18
- var getKClass = kotlin_kotlin.$_$.rc;
19
- var arrayOf = kotlin_kotlin.$_$.ng;
20
- var createKType = kotlin_kotlin.$_$.pc;
21
- var createInvariantKTypeProjection = kotlin_kotlin.$_$.nc;
17
+ var KtMutableMap = kotlin_kotlin.$_$.s5;
18
+ var getKClass = kotlin_kotlin.$_$.uc;
19
+ var arrayOf = kotlin_kotlin.$_$.qg;
20
+ var createKType = kotlin_kotlin.$_$.sc;
21
+ var createInvariantKTypeProjection = kotlin_kotlin.$_$.qc;
22
22
  var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.n;
23
23
  var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.p;
24
24
  var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.r;
25
25
  var Send_instance = kotlin_io_ktor_ktor_client_core.$_$.a;
26
26
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s1;
27
- var collectionSizeOrDefault = kotlin_kotlin.$_$.x5;
27
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.z5;
28
28
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i1;
29
29
  var parseAuthorizationHeaders = kotlin_io_ktor_ktor_http.$_$.l;
30
- var flatten = kotlin_kotlin.$_$.b7;
31
- var emptyList = kotlin_kotlin.$_$.s6;
32
- var to = kotlin_kotlin.$_$.dh;
30
+ var flatten = kotlin_kotlin.$_$.e7;
31
+ var emptyList = kotlin_kotlin.$_$.u6;
32
+ var to = kotlin_kotlin.$_$.gh;
33
33
  var get_isTraceEnabled = kotlin_io_ktor_ktor_utils.$_$.l;
34
- var first = kotlin_kotlin.$_$.a7;
34
+ var first = kotlin_kotlin.$_$.d7;
35
35
  var OnRequestContext = kotlin_io_ktor_ktor_client_core.$_$.k;
36
36
  var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.d1;
37
- var toString = kotlin_kotlin.$_$.cc;
38
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v8;
37
+ var toString = kotlin_kotlin.$_$.fc;
38
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.y8;
39
39
  var Sender = kotlin_io_ktor_ktor_client_core.$_$.l;
40
40
  var HashSet_init_$Create$ = kotlin_kotlin.$_$.q1;
41
- var initMetadataForCoroutine = kotlin_kotlin.$_$.eb;
41
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.hb;
42
42
  var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.k;
43
- var Unit = kotlin_kotlin.$_$.kg;
43
+ var Unit = kotlin_kotlin.$_$.ng;
44
44
  var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.o;
45
- var KtList = kotlin_kotlin.$_$.j5;
46
- var initMetadataForInterface = kotlin_kotlin.$_$.gb;
47
- var initMetadataForCompanion = kotlin_kotlin.$_$.db;
48
- var get = kotlin_kotlin.$_$.h9;
49
- var fold = kotlin_kotlin.$_$.g9;
50
- var minusKey = kotlin_kotlin.$_$.i9;
51
- var plus = kotlin_kotlin.$_$.k9;
52
- var Element = kotlin_kotlin.$_$.j9;
45
+ var KtList = kotlin_kotlin.$_$.l5;
46
+ var initMetadataForInterface = kotlin_kotlin.$_$.jb;
47
+ var initMetadataForCompanion = kotlin_kotlin.$_$.gb;
48
+ var get = kotlin_kotlin.$_$.k9;
49
+ var fold = kotlin_kotlin.$_$.j9;
50
+ var minusKey = kotlin_kotlin.$_$.l9;
51
+ var plus = kotlin_kotlin.$_$.n9;
52
+ var Element = kotlin_kotlin.$_$.m9;
53
53
  var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q1;
54
- var isInterface = kotlin_kotlin.$_$.rb;
55
- var equals = kotlin_kotlin.$_$.ua;
54
+ var isInterface = kotlin_kotlin.$_$.ub;
55
+ var equals = kotlin_kotlin.$_$.xa;
56
56
  var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i1;
57
57
  var NonCancellable_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
58
58
  var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
@@ -69,11 +69,11 @@
69
69
  initMetadataForCoroutine($invoke$refreshTokenIfNeededCOROUTINE$, CoroutineImpl);
70
70
  initMetadataForCoroutine($invoke$executeWithNewTokenCOROUTINE$, CoroutineImpl);
71
71
  function sendWithoutRequest(request) {
72
- return this.c52();
72
+ return this.q52();
73
73
  }
74
74
  function addRequestHeaders$default(request, authHeader, $completion, $super) {
75
75
  authHeader = authHeader === VOID ? null : authHeader;
76
- return $super === VOID ? this.b52(request, authHeader, $completion) : $super.b52.call(this, request, authHeader, $completion);
76
+ return $super === VOID ? this.p52(request, authHeader, $completion) : $super.p52.call(this, request, authHeader, $completion);
77
77
  }
78
78
  function refreshToken(response, $completion) {
79
79
  return true;
@@ -117,14 +117,14 @@
117
117
  function AuthConfig$isUnauthorizedResponse$slambda(resultContinuation) {
118
118
  CoroutineImpl.call(this, resultContinuation);
119
119
  }
120
- protoOf(AuthConfig$isUnauthorizedResponse$slambda).i4z = function (it, $completion) {
121
- var tmp = this.g3y(it, $completion);
120
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).w4z = function (it, $completion) {
121
+ var tmp = this.u3y(it, $completion);
122
122
  tmp.c9_1 = Unit_instance;
123
123
  tmp.d9_1 = null;
124
124
  return tmp.i9();
125
125
  };
126
126
  protoOf(AuthConfig$isUnauthorizedResponse$slambda).u9 = function (p1, $completion) {
127
- return this.i4z(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
127
+ return this.w4z(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
128
128
  };
129
129
  protoOf(AuthConfig$isUnauthorizedResponse$slambda).i9 = function () {
130
130
  var suspendResult = this.c9_1;
@@ -133,7 +133,7 @@
133
133
  var tmp = this.a9_1;
134
134
  if (tmp === 0) {
135
135
  this.b9_1 = 1;
136
- return this.h4z_1.i35().equals(Companion_getInstance().z30_1);
136
+ return this.v4z_1.w35().equals(Companion_getInstance().n31_1);
137
137
  } else if (tmp === 1) {
138
138
  throw this.d9_1;
139
139
  }
@@ -143,15 +143,15 @@
143
143
  }
144
144
  while (true);
145
145
  };
146
- protoOf(AuthConfig$isUnauthorizedResponse$slambda).g3y = function (it, completion) {
146
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).u3y = function (it, completion) {
147
147
  var i = new AuthConfig$isUnauthorizedResponse$slambda(completion);
148
- i.h4z_1 = it;
148
+ i.v4z_1 = it;
149
149
  return i;
150
150
  };
151
151
  function AuthConfig$isUnauthorizedResponse$slambda_0(resultContinuation) {
152
152
  var i = new AuthConfig$isUnauthorizedResponse$slambda(resultContinuation);
153
153
  var l = function (it, $completion) {
154
- return i.i4z(it, $completion);
154
+ return i.w4z(it, $completion);
155
155
  };
156
156
  l.$arity = 1;
157
157
  return l;
@@ -159,12 +159,12 @@
159
159
  function AuthConfig() {
160
160
  var tmp = this;
161
161
  // Inline function 'kotlin.collections.mutableListOf' call
162
- tmp.j4z_1 = ArrayList_init_$Create$();
162
+ tmp.x4z_1 = ArrayList_init_$Create$();
163
163
  var tmp_0 = this;
164
- tmp_0.k4z_1 = AuthConfig$isUnauthorizedResponse$slambda_0(null);
164
+ tmp_0.y4z_1 = AuthConfig$isUnauthorizedResponse$slambda_0(null);
165
165
  }
166
166
  function AtomicCounter() {
167
- this.l4z_1 = atomic$int$1(0);
167
+ this.z4z_1 = atomic$int$1(0);
168
168
  }
169
169
  function AuthConfig$_init_$ref_ms3pb9() {
170
170
  var l = function () {
@@ -175,8 +175,8 @@
175
175
  }
176
176
  function Auth$lambda($this$createClientPlugin) {
177
177
  _init_properties_Auth_kt__9ob1dk();
178
- var providers = toList($this$createClientPlugin.g3x_1.j4z_1);
179
- $this$createClientPlugin.f3x_1.g3n_1.v2j(get_AuthProvidersKey(), providers);
178
+ var providers = toList($this$createClientPlugin.u3x_1.x4z_1);
179
+ $this$createClientPlugin.t3x_1.u3n_1.r2j(get_AuthProvidersKey(), providers);
180
180
  var tokenVersions = new ConcurrentMap();
181
181
  // Inline function 'io.ktor.util.AttributeKey' call
182
182
  var name = 'ProviderVersionAttributeKey';
@@ -199,9 +199,9 @@
199
199
  var tmp$ret$2 = tmp_0;
200
200
  var tmp$ret$1 = new TypeInfo(tmp, tmp$ret$2);
201
201
  var tokenVersionsAttributeKey = new AttributeKey(name, tmp$ret$1);
202
- $this$createClientPlugin.h4c(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
202
+ $this$createClientPlugin.v4c(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
203
203
  var tmp_2 = Send_instance;
204
- $this$createClientPlugin.j3x(tmp_2, Auth$lambda$slambda_2($this$createClientPlugin, providers, tokenVersions, tokenVersionsAttributeKey, null));
204
+ $this$createClientPlugin.x3x(tmp_2, Auth$lambda$slambda_2($this$createClientPlugin, providers, tokenVersions, tokenVersionsAttributeKey, null));
205
205
  return Unit_instance;
206
206
  }
207
207
  function Auth$lambda$refreshTokenIfNeeded$lambda() {
@@ -214,7 +214,7 @@
214
214
  return LinkedHashMap_init_$Create$();
215
215
  }
216
216
  function invoke$findProvider(call, candidateProviders) {
217
- var headerValues = call.c3o().j2z().x2n('WWW-Authenticate');
217
+ var headerValues = call.q3o().x2z().f2o('WWW-Authenticate');
218
218
  var tmp;
219
219
  if (headerValues == null) {
220
220
  tmp = null;
@@ -242,7 +242,7 @@
242
242
  var _iterator__ex2g4s_0 = authHeaders.t();
243
243
  while (_iterator__ex2g4s_0.u()) {
244
244
  var element = _iterator__ex2g4s_0.v();
245
- if (provider.m4z(element)) {
245
+ if (provider.a50(element)) {
246
246
  tmp$ret$3 = element;
247
247
  break $l$block;
248
248
  }
@@ -255,8 +255,8 @@
255
255
  // Inline function 'io.ktor.util.logging.trace' call
256
256
  var this_0 = get_LOGGER();
257
257
  if (get_isTraceEnabled(this_0)) {
258
- var tmp$ret$6 = 'Unauthorized response ' + call.k3q().t3q().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
259
- this_0.n2s(tmp$ret$6);
258
+ var tmp$ret$6 = 'Unauthorized response ' + call.y3q().h3r().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
259
+ this_0.b2t(tmp$ret$6);
260
260
  }
261
261
  tmp_0 = null;
262
262
  } else {
@@ -273,7 +273,7 @@
273
273
  var _iterator__ex2g4s_2 = candidateProviders.t();
274
274
  while (_iterator__ex2g4s_2.u()) {
275
275
  var element_1 = _iterator__ex2g4s_2.v();
276
- if (element_1.m4z(element_0)) {
276
+ if (element_1.a50(element_0)) {
277
277
  tmp$ret$10 = element_1;
278
278
  break $l$block_0;
279
279
  }
@@ -320,21 +320,21 @@
320
320
  return LinkedHashMap_init_$Create$();
321
321
  }
322
322
  function Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
323
- this.y50_1 = $providers;
324
- this.z50_1 = $tokenVersions;
325
- this.a51_1 = $tokenVersionsAttributeKey;
323
+ this.m51_1 = $providers;
324
+ this.n51_1 = $tokenVersions;
325
+ this.o51_1 = $tokenVersionsAttributeKey;
326
326
  CoroutineImpl.call(this, resultContinuation);
327
327
  }
328
- protoOf(Auth$lambda$slambda).v4c = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
329
- var tmp = this.w4c($this$onRequest, request, _unused_var__etf5q3, $completion);
328
+ protoOf(Auth$lambda$slambda).j4d = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
329
+ var tmp = this.k4d($this$onRequest, request, _unused_var__etf5q3, $completion);
330
330
  tmp.c9_1 = Unit_instance;
331
331
  tmp.d9_1 = null;
332
332
  return tmp.i9();
333
333
  };
334
- protoOf(Auth$lambda$slambda).x4c = function (p1, p2, p3, $completion) {
334
+ protoOf(Auth$lambda$slambda).l4d = function (p1, p2, p3, $completion) {
335
335
  var tmp = p1 instanceof OnRequestContext ? p1 : THROW_CCE();
336
336
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
337
- return this.v4c(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
337
+ return this.j4d(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
338
338
  };
339
339
  protoOf(Auth$lambda$slambda).i9 = function () {
340
340
  var suspendResult = this.c9_1;
@@ -344,37 +344,37 @@
344
344
  switch (tmp) {
345
345
  case 0:
346
346
  this.b9_1 = 4;
347
- var tmp0 = this.y50_1;
347
+ var tmp0 = this.m51_1;
348
348
  var destination = ArrayList_init_$Create$();
349
349
  var _iterator__ex2g4s = tmp0.t();
350
350
  while (_iterator__ex2g4s.u()) {
351
351
  var element = _iterator__ex2g4s.v();
352
- if (element.f51(this.c51_1)) {
352
+ if (element.t51(this.q51_1)) {
353
353
  destination.j1(element);
354
354
  }
355
355
  }
356
356
 
357
- this.e51_1 = destination.t();
357
+ this.s51_1 = destination.t();
358
358
  this.a9_1 = 1;
359
359
  continue $sm;
360
360
  case 1:
361
- if (!this.e51_1.u()) {
361
+ if (!this.s51_1.u()) {
362
362
  this.a9_1 = 3;
363
363
  continue $sm;
364
364
  }
365
365
 
366
- var element_0 = this.e51_1.v();
366
+ var element_0 = this.s51_1.v();
367
367
  var this_0 = get_LOGGER();
368
368
  if (get_isTraceEnabled(this_0)) {
369
- this_0.n2s('Adding auth headers for ' + this.c51_1.c3p_1.toString() + ' from provider ' + toString(element_0));
369
+ this_0.b2t('Adding auth headers for ' + this.q51_1.q3p_1.toString() + ' from provider ' + toString(element_0));
370
370
  }
371
371
 
372
- var tokenVersion = this.z50_1.c2s(element_0, Auth$lambda$slambda$lambda);
373
- var requestTokenVersions = this.c51_1.h3p_1.y2j(this.a51_1, Auth$lambda$slambda$lambda_0);
374
- var value = tokenVersion.l4z_1.kotlinx$atomicfu$value;
372
+ var tokenVersion = this.n51_1.q2s(element_0, Auth$lambda$slambda$lambda);
373
+ var requestTokenVersions = this.q51_1.v3p_1.u2j(this.o51_1, Auth$lambda$slambda$lambda_0);
374
+ var value = tokenVersion.z4z_1.kotlinx$atomicfu$value;
375
375
  requestTokenVersions.y2(element_0, value);
376
376
  this.a9_1 = 2;
377
- suspendResult = element_0.g51(this.c51_1, VOID, this);
377
+ suspendResult = element_0.u51(this.q51_1, VOID, this);
378
378
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
379
379
  return suspendResult;
380
380
  }
@@ -399,37 +399,37 @@
399
399
  }
400
400
  while (true);
401
401
  };
402
- protoOf(Auth$lambda$slambda).w4c = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
403
- var i = new Auth$lambda$slambda(this.y50_1, this.z50_1, this.a51_1, completion);
404
- i.b51_1 = $this$onRequest;
405
- i.c51_1 = request;
406
- i.d51_1 = _unused_var__etf5q3;
402
+ protoOf(Auth$lambda$slambda).k4d = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
403
+ var i = new Auth$lambda$slambda(this.m51_1, this.n51_1, this.o51_1, completion);
404
+ i.p51_1 = $this$onRequest;
405
+ i.q51_1 = request;
406
+ i.r51_1 = _unused_var__etf5q3;
407
407
  return i;
408
408
  };
409
409
  function Auth$lambda$slambda_0($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
410
410
  var i = new Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
411
411
  var l = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
412
- return i.v4c($this$onRequest, request, _unused_var__etf5q3, $completion);
412
+ return i.j4d($this$onRequest, request, _unused_var__etf5q3, $completion);
413
413
  };
414
414
  l.$arity = 3;
415
415
  return l;
416
416
  }
417
417
  function Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
418
- this.p51_1 = $this_createClientPlugin;
419
- this.q51_1 = $providers;
420
- this.r51_1 = $tokenVersions;
421
- this.s51_1 = $tokenVersionsAttributeKey;
418
+ this.d52_1 = $this_createClientPlugin;
419
+ this.e52_1 = $providers;
420
+ this.f52_1 = $tokenVersions;
421
+ this.g52_1 = $tokenVersionsAttributeKey;
422
422
  CoroutineImpl.call(this, resultContinuation);
423
423
  }
424
- protoOf(Auth$lambda$slambda_1).l44 = function ($this$on, originalRequest, $completion) {
425
- var tmp = this.m44($this$on, originalRequest, $completion);
424
+ protoOf(Auth$lambda$slambda_1).z44 = function ($this$on, originalRequest, $completion) {
425
+ var tmp = this.a45($this$on, originalRequest, $completion);
426
426
  tmp.c9_1 = Unit_instance;
427
427
  tmp.d9_1 = null;
428
428
  return tmp.i9();
429
429
  };
430
430
  protoOf(Auth$lambda$slambda_1).v9 = function (p1, p2, $completion) {
431
431
  var tmp = p1 instanceof Sender ? p1 : THROW_CCE();
432
- return this.l44(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
432
+ return this.z44(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
433
433
  };
434
434
  protoOf(Auth$lambda$slambda_1).i9 = function () {
435
435
  var suspendResult = this.c9_1;
@@ -440,16 +440,16 @@
440
440
  case 0:
441
441
  this.b9_1 = 10;
442
442
  this.a9_1 = 1;
443
- suspendResult = this.t51_1.p44(this.u51_1, this);
443
+ suspendResult = this.h52_1.d45(this.i52_1, this);
444
444
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
445
445
  return suspendResult;
446
446
  }
447
447
 
448
448
  continue $sm;
449
449
  case 1:
450
- this.z51_1 = suspendResult;
450
+ this.n52_1 = suspendResult;
451
451
  this.a9_1 = 2;
452
- suspendResult = this.p51_1.g3x_1.k4z_1(this.z51_1.c3o(), this);
452
+ suspendResult = this.d52_1.u3x_1.y4z_1(this.n52_1.q3o(), this);
453
453
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
454
454
  return suspendResult;
455
455
  }
@@ -457,22 +457,22 @@
457
457
  continue $sm;
458
458
  case 2:
459
459
  if (!suspendResult) {
460
- return this.z51_1;
460
+ return this.n52_1;
461
461
  } else {
462
462
  this.a9_1 = 3;
463
463
  continue $sm;
464
464
  }
465
465
 
466
466
  case 3:
467
- if (this.z51_1.k3q().l3q().u2j(get_AuthCircuitBreaker()))
468
- return this.z51_1;
469
- this.v51_1 = this.z51_1;
470
- this.y51_1 = HashSet_init_$Create$(this.q51_1);
467
+ if (this.n52_1.y3q().z3q().q2j(get_AuthCircuitBreaker()))
468
+ return this.n52_1;
469
+ this.j52_1 = this.n52_1;
470
+ this.m52_1 = HashSet_init_$Create$(this.e52_1);
471
471
  this.a9_1 = 4;
472
472
  continue $sm;
473
473
  case 4:
474
474
  this.a9_1 = 5;
475
- suspendResult = this.p51_1.g3x_1.k4z_1(this.v51_1.c3o(), this);
475
+ suspendResult = this.d52_1.u3x_1.y4z_1(this.j52_1.q3o(), this);
476
476
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
477
477
  return suspendResult;
478
478
  }
@@ -486,33 +486,33 @@
486
486
 
487
487
  var this_0 = get_LOGGER();
488
488
  if (get_isTraceEnabled(this_0)) {
489
- this_0.n2s('Unauthorized response for ' + this.v51_1.k3q().t3q().toString());
489
+ this_0.b2t('Unauthorized response for ' + this.j52_1.y3q().h3r().toString());
490
490
  }
491
491
 
492
- var tmp0_elvis_lhs = invoke$findProvider(this.v51_1, this.y51_1);
492
+ var tmp0_elvis_lhs = invoke$findProvider(this.j52_1, this.m52_1);
493
493
  var tmp_0;
494
494
  if (tmp0_elvis_lhs == null) {
495
- this.t51_1;
495
+ this.h52_1;
496
496
  var this_1 = get_LOGGER();
497
497
  if (get_isTraceEnabled(this_1)) {
498
- this_1.n2s('Can not find auth provider for ' + this.v51_1.k3q().t3q().toString());
498
+ this_1.b2t('Can not find auth provider for ' + this.j52_1.y3q().h3r().toString());
499
499
  }
500
- return this.v51_1;
500
+ return this.j52_1;
501
501
  } else {
502
502
  tmp_0 = tmp0_elvis_lhs;
503
503
  }
504
504
 
505
505
  var _destruct__k2r9zo = tmp_0;
506
- this.x51_1 = _destruct__k2r9zo.bg();
507
- this.w51_1 = _destruct__k2r9zo.cg();
506
+ this.l52_1 = _destruct__k2r9zo.bg();
507
+ this.k52_1 = _destruct__k2r9zo.cg();
508
508
  var this_2 = get_LOGGER();
509
509
  if (get_isTraceEnabled(this_2)) {
510
- this_2.n2s('Using provider ' + toString(this.x51_1) + ' for ' + this.v51_1.k3q().t3q().toString());
510
+ this_2.b2t('Using provider ' + toString(this.l52_1) + ' for ' + this.j52_1.y3q().h3r().toString());
511
511
  }
512
512
 
513
- this.y51_1.i3(this.x51_1);
513
+ this.m52_1.i3(this.l52_1);
514
514
  this.a9_1 = 6;
515
- suspendResult = invoke$refreshTokenIfNeeded(this.r51_1, this.s51_1, this.v51_1, this.x51_1, this.u51_1, this);
515
+ suspendResult = invoke$refreshTokenIfNeeded(this.f52_1, this.g52_1, this.j52_1, this.l52_1, this.i52_1, this);
516
516
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
517
517
  return suspendResult;
518
518
  }
@@ -520,7 +520,7 @@
520
520
  continue $sm;
521
521
  case 6:
522
522
  if (!suspendResult) {
523
- return this.v51_1;
523
+ return this.j52_1;
524
524
  } else {
525
525
  this.a9_1 = 7;
526
526
  continue $sm;
@@ -528,18 +528,18 @@
528
528
 
529
529
  case 7:
530
530
  this.a9_1 = 8;
531
- suspendResult = invoke$executeWithNewToken(this.t51_1, this.v51_1, this.x51_1, this.u51_1, this.w51_1, this);
531
+ suspendResult = invoke$executeWithNewToken(this.h52_1, this.j52_1, this.l52_1, this.i52_1, this.k52_1, this);
532
532
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
533
533
  return suspendResult;
534
534
  }
535
535
 
536
536
  continue $sm;
537
537
  case 8:
538
- this.v51_1 = suspendResult;
538
+ this.j52_1 = suspendResult;
539
539
  this.a9_1 = 4;
540
540
  continue $sm;
541
541
  case 9:
542
- return this.v51_1;
542
+ return this.j52_1;
543
543
  case 10:
544
544
  throw this.d9_1;
545
545
  }
@@ -554,27 +554,27 @@
554
554
  }
555
555
  while (true);
556
556
  };
557
- protoOf(Auth$lambda$slambda_1).m44 = function ($this$on, originalRequest, completion) {
558
- var i = new Auth$lambda$slambda_1(this.p51_1, this.q51_1, this.r51_1, this.s51_1, completion);
559
- i.t51_1 = $this$on;
560
- i.u51_1 = originalRequest;
557
+ protoOf(Auth$lambda$slambda_1).a45 = function ($this$on, originalRequest, completion) {
558
+ var i = new Auth$lambda$slambda_1(this.d52_1, this.e52_1, this.f52_1, this.g52_1, completion);
559
+ i.h52_1 = $this$on;
560
+ i.i52_1 = originalRequest;
561
561
  return i;
562
562
  };
563
563
  function Auth$lambda$slambda_2($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
564
564
  var i = new Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
565
565
  var l = function ($this$on, originalRequest, $completion) {
566
- return i.l44($this$on, originalRequest, $completion);
566
+ return i.z44($this$on, originalRequest, $completion);
567
567
  };
568
568
  l.$arity = 2;
569
569
  return l;
570
570
  }
571
571
  function $invoke$refreshTokenIfNeededCOROUTINE$(tokenVersions, tokenVersionsAttributeKey, call, provider, request, resultContinuation) {
572
572
  CoroutineImpl.call(this, resultContinuation);
573
- this.v4z_1 = tokenVersions;
574
- this.w4z_1 = tokenVersionsAttributeKey;
575
- this.x4z_1 = call;
576
- this.y4z_1 = provider;
577
- this.z4z_1 = request;
573
+ this.j50_1 = tokenVersions;
574
+ this.k50_1 = tokenVersionsAttributeKey;
575
+ this.l50_1 = call;
576
+ this.m50_1 = provider;
577
+ this.n50_1 = request;
578
578
  }
579
579
  protoOf($invoke$refreshTokenIfNeededCOROUTINE$).i9 = function () {
580
580
  var suspendResult = this.c9_1;
@@ -585,17 +585,17 @@
585
585
  case 0:
586
586
  this.b9_1 = 4;
587
587
  var tmp_0 = this;
588
- tmp_0.a50_1 = this.v4z_1.c2s(this.y4z_1, Auth$lambda$refreshTokenIfNeeded$lambda);
588
+ tmp_0.o50_1 = this.j50_1.q2s(this.m50_1, Auth$lambda$refreshTokenIfNeeded$lambda);
589
589
  var tmp_1 = this;
590
- tmp_1.b50_1 = this.z4z_1.h3p_1.y2j(this.w4z_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
591
- var requestTokenVersion = this.b50_1.g3(this.y4z_1);
592
- if (!(requestTokenVersion == null) && requestTokenVersion >= this.a50_1.l4z_1.kotlinx$atomicfu$value) {
590
+ tmp_1.p50_1 = this.n50_1.v3p_1.u2j(this.k50_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
591
+ var requestTokenVersion = this.p50_1.g3(this.m50_1);
592
+ if (!(requestTokenVersion == null) && requestTokenVersion >= this.o50_1.z4z_1.kotlinx$atomicfu$value) {
593
593
  var this_0 = get_LOGGER();
594
594
  if (get_isTraceEnabled(this_0)) {
595
- this_0.n2s('Refreshing token for ' + this.x4z_1.k3q().t3q().toString());
595
+ this_0.b2t('Refreshing token for ' + this.l50_1.y3q().h3r().toString());
596
596
  }
597
597
  this.a9_1 = 1;
598
- suspendResult = this.y4z_1.a52(this.x4z_1.c3o(), this);
598
+ suspendResult = this.m50_1.o52(this.l50_1.q3o(), this);
599
599
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
600
600
  return suspendResult;
601
601
  }
@@ -609,13 +609,13 @@
609
609
  if (!suspendResult) {
610
610
  var this_1 = get_LOGGER();
611
611
  if (get_isTraceEnabled(this_1)) {
612
- this_1.n2s('Refreshing token failed for ' + this.x4z_1.k3q().t3q().toString());
612
+ this_1.b2t('Refreshing token failed for ' + this.l50_1.y3q().h3r().toString());
613
613
  }
614
614
  return false;
615
615
  } else {
616
- var tmp0 = this.b50_1;
617
- var tmp2 = this.y4z_1;
618
- var value = this.a50_1.l4z_1.atomicfu$incrementAndGet();
616
+ var tmp0 = this.p50_1;
617
+ var tmp2 = this.m50_1;
618
+ var value = this.o50_1.z4z_1.atomicfu$incrementAndGet();
619
619
  tmp0.y2(tmp2, value);
620
620
  this.a9_1 = 2;
621
621
  continue $sm;
@@ -642,11 +642,11 @@
642
642
  };
643
643
  function $invoke$executeWithNewTokenCOROUTINE$(_this__u8e3s4, call, provider, oldRequest, authHeader, resultContinuation) {
644
644
  CoroutineImpl.call(this, resultContinuation);
645
- this.k50_1 = _this__u8e3s4;
646
- this.l50_1 = call;
647
- this.m50_1 = provider;
648
- this.n50_1 = oldRequest;
649
- this.o50_1 = authHeader;
645
+ this.y50_1 = _this__u8e3s4;
646
+ this.z50_1 = call;
647
+ this.a51_1 = provider;
648
+ this.b51_1 = oldRequest;
649
+ this.c51_1 = authHeader;
650
650
  }
651
651
  protoOf($invoke$executeWithNewTokenCOROUTINE$).i9 = function () {
652
652
  var suspendResult = this.c9_1;
@@ -656,24 +656,24 @@
656
656
  switch (tmp) {
657
657
  case 0:
658
658
  this.b9_1 = 3;
659
- this.p50_1 = new HttpRequestBuilder();
660
- this.p50_1.v3u(this.n50_1);
659
+ this.d51_1 = new HttpRequestBuilder();
660
+ this.d51_1.j3v(this.b51_1);
661
661
  this.a9_1 = 1;
662
- suspendResult = this.m50_1.b52(this.p50_1, this.o50_1, this);
662
+ suspendResult = this.a51_1.p52(this.d51_1, this.c51_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.p50_1.h3p_1.v2j(get_AuthCircuitBreaker(), Unit_instance);
669
+ this.d51_1.v3p_1.r2j(get_AuthCircuitBreaker(), Unit_instance);
670
670
  var this_0 = get_LOGGER();
671
671
  if (get_isTraceEnabled(this_0)) {
672
- this_0.n2s('Sending new request to ' + this.l50_1.k3q().t3q().toString());
672
+ this_0.b2t('Sending new request to ' + this.z50_1.y3q().h3r().toString());
673
673
  }
674
674
 
675
675
  this.a9_1 = 2;
676
- suspendResult = this.k50_1.p44(this.p50_1, this);
676
+ suspendResult = this.y50_1.d45(this.d51_1, this);
677
677
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
678
678
  return suspendResult;
679
679
  }
@@ -760,20 +760,20 @@
760
760
  return Companion_instance;
761
761
  };
762
762
  function AuthTokenHolder$setToken$slambda(this$0, $prevValue, $lockedByLoad, $block, resultContinuation) {
763
- this.l52_1 = this$0;
764
- this.m52_1 = $prevValue;
765
- this.n52_1 = $lockedByLoad;
766
- this.o52_1 = $block;
763
+ this.z52_1 = this$0;
764
+ this.a53_1 = $prevValue;
765
+ this.b53_1 = $lockedByLoad;
766
+ this.c53_1 = $block;
767
767
  CoroutineImpl.call(this, resultContinuation);
768
768
  }
769
- protoOf(AuthTokenHolder$setToken$slambda).t52 = function ($this$withContext, $completion) {
770
- var tmp = this.y1w($this$withContext, $completion);
769
+ protoOf(AuthTokenHolder$setToken$slambda).h53 = function ($this$withContext, $completion) {
770
+ var tmp = this.u1w($this$withContext, $completion);
771
771
  tmp.c9_1 = Unit_instance;
772
772
  tmp.d9_1 = null;
773
773
  return tmp.i9();
774
774
  };
775
775
  protoOf(AuthTokenHolder$setToken$slambda).u9 = function (p1, $completion) {
776
- return this.t52((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
776
+ return this.h53((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
777
777
  };
778
778
  protoOf(AuthTokenHolder$setToken$slambda).i9 = function () {
779
779
  var suspendResult = this.c9_1;
@@ -783,24 +783,24 @@
783
783
  switch (tmp) {
784
784
  case 0:
785
785
  this.b9_1 = 7;
786
- this.r52_1 = this.l52_1.y52_1;
787
- this.q52_1 = null;
786
+ this.f53_1 = this.z52_1.m53_1;
787
+ this.e53_1 = null;
788
788
  this.a9_1 = 1;
789
- suspendResult = this.r52_1.e1j(this.q52_1, this);
789
+ suspendResult = this.f53_1.a1j(this.e53_1, this);
790
790
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
791
791
  return suspendResult;
792
792
  }
793
793
 
794
794
  continue $sm;
795
795
  case 1:
796
- this.s52_1 = Unit_instance;
796
+ this.g53_1 = Unit_instance;
797
797
  this.a9_1 = 2;
798
798
  continue $sm;
799
799
  case 2:
800
800
  this.b9_1 = 6;
801
- if (equals(this.m52_1, this.l52_1.w52_1) || this.n52_1) {
801
+ if (equals(this.a53_1, this.z52_1.k53_1) || this.b53_1) {
802
802
  this.a9_1 = 3;
803
- suspendResult = this.o52_1(this);
803
+ suspendResult = this.c53_1(this);
804
804
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
805
805
  return suspendResult;
806
806
  }
@@ -812,23 +812,23 @@
812
812
 
813
813
  case 3:
814
814
  var ARGUMENT = suspendResult;
815
- this.l52_1.w52_1 = ARGUMENT;
815
+ this.z52_1.k53_1 = ARGUMENT;
816
816
  this.a9_1 = 4;
817
817
  continue $sm;
818
818
  case 4:
819
- this.s52_1 = this.l52_1.w52_1;
819
+ this.g53_1 = this.z52_1.k53_1;
820
820
  this.b9_1 = 7;
821
821
  this.a9_1 = 5;
822
822
  continue $sm;
823
823
  case 5:
824
- var tmp_0 = this.s52_1;
824
+ var tmp_0 = this.g53_1;
825
825
  this.b9_1 = 7;
826
- this.r52_1.q1i(this.q52_1);
826
+ this.f53_1.m1i(this.e53_1);
827
827
  return tmp_0;
828
828
  case 6:
829
829
  this.b9_1 = 7;
830
830
  var t = this.d9_1;
831
- this.r52_1.q1i(this.q52_1);
831
+ this.f53_1.m1i(this.e53_1);
832
832
  throw t;
833
833
  case 7:
834
834
  throw this.d9_1;
@@ -844,22 +844,22 @@
844
844
  }
845
845
  while (true);
846
846
  };
847
- protoOf(AuthTokenHolder$setToken$slambda).y1w = function ($this$withContext, completion) {
848
- var i = new AuthTokenHolder$setToken$slambda(this.l52_1, this.m52_1, this.n52_1, this.o52_1, completion);
849
- i.p52_1 = $this$withContext;
847
+ protoOf(AuthTokenHolder$setToken$slambda).u1w = function ($this$withContext, completion) {
848
+ var i = new AuthTokenHolder$setToken$slambda(this.z52_1, this.a53_1, this.b53_1, this.c53_1, completion);
849
+ i.d53_1 = $this$withContext;
850
850
  return i;
851
851
  };
852
852
  function AuthTokenHolder$setToken$slambda_0(this$0, $prevValue, $lockedByLoad, $block, resultContinuation) {
853
853
  var i = new AuthTokenHolder$setToken$slambda(this$0, $prevValue, $lockedByLoad, $block, resultContinuation);
854
854
  var l = function ($this$withContext, $completion) {
855
- return i.t52($this$withContext, $completion);
855
+ return i.h53($this$withContext, $completion);
856
856
  };
857
857
  l.$arity = 1;
858
858
  return l;
859
859
  }
860
860
  function $loadTokenCOROUTINE$(_this__u8e3s4, resultContinuation) {
861
861
  CoroutineImpl.call(this, resultContinuation);
862
- this.i53_1 = _this__u8e3s4;
862
+ this.w53_1 = _this__u8e3s4;
863
863
  }
864
864
  protoOf($loadTokenCOROUTINE$).i9 = function () {
865
865
  var suspendResult = this.c9_1;
@@ -869,9 +869,9 @@
869
869
  switch (tmp) {
870
870
  case 0:
871
871
  this.b9_1 = 14;
872
- if (!this.i53_1.v52_1) {
872
+ if (!this.w53_1.j53_1) {
873
873
  this.a9_1 = 13;
874
- suspendResult = this.i53_1.u52_1(this);
874
+ suspendResult = this.w53_1.i53_1(this);
875
875
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
876
876
  return suspendResult;
877
877
  }
@@ -882,21 +882,21 @@
882
882
  }
883
883
 
884
884
  case 1:
885
- if (!(this.i53_1.w52_1 == null))
886
- return this.i53_1.w52_1;
887
- this.n53_1 = this.i53_1.w52_1;
885
+ if (!(this.w53_1.k53_1 == null))
886
+ return this.w53_1.k53_1;
887
+ this.b54_1 = this.w53_1.k53_1;
888
888
  if (!(this.g9().n9(Companion_instance) == null)) {
889
889
  this.a9_1 = 11;
890
- suspendResult = this.i53_1.u52_1(this);
890
+ suspendResult = this.w53_1.i53_1(this);
891
891
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
892
892
  return suspendResult;
893
893
  }
894
894
  continue $sm;
895
895
  } else {
896
- this.l53_1 = this.i53_1.y52_1;
897
- this.k53_1 = null;
896
+ this.z53_1 = this.w53_1.m53_1;
897
+ this.y53_1 = null;
898
898
  this.a9_1 = 2;
899
- suspendResult = this.l53_1.e1j(this.k53_1, this);
899
+ suspendResult = this.z53_1.a1j(this.y53_1, this);
900
900
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
901
901
  return suspendResult;
902
902
  }
@@ -904,19 +904,19 @@
904
904
  }
905
905
 
906
906
  case 2:
907
- this.m53_1 = Unit_instance;
907
+ this.a54_1 = Unit_instance;
908
908
  this.a9_1 = 3;
909
909
  continue $sm;
910
910
  case 3:
911
911
  this.b9_1 = 10;
912
- this.i53_1.x52_1 = true;
912
+ this.w53_1.l53_1 = true;
913
913
  this.a9_1 = 4;
914
914
  continue $sm;
915
915
  case 4:
916
916
  this.b9_1 = 9;
917
- if (equals(this.n53_1, this.i53_1.w52_1)) {
917
+ if (equals(this.b54_1, this.w53_1.k53_1)) {
918
918
  this.a9_1 = 5;
919
- suspendResult = this.i53_1.u52_1(this);
919
+ suspendResult = this.w53_1.i53_1(this);
920
920
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
921
921
  return suspendResult;
922
922
  }
@@ -928,7 +928,7 @@
928
928
 
929
929
  case 5:
930
930
  var ARGUMENT = suspendResult;
931
- this.i53_1.w52_1 = ARGUMENT;
931
+ this.w53_1.k53_1 = ARGUMENT;
932
932
  this.a9_1 = 6;
933
933
  continue $sm;
934
934
  case 6:
@@ -936,36 +936,36 @@
936
936
  continue $sm;
937
937
  case 7:
938
938
  this.b9_1 = 10;
939
- this.i53_1.x52_1 = false;
940
- this.m53_1 = this.i53_1.w52_1;
939
+ this.w53_1.l53_1 = false;
940
+ this.a54_1 = this.w53_1.k53_1;
941
941
  this.b9_1 = 14;
942
942
  this.a9_1 = 8;
943
943
  continue $sm;
944
944
  case 8:
945
- var tmp_0 = this.m53_1;
945
+ var tmp_0 = this.a54_1;
946
946
  this.b9_1 = 14;
947
- this.l53_1.q1i(this.k53_1);
948
- this.j53_1 = tmp_0;
947
+ this.z53_1.m1i(this.y53_1);
948
+ this.x53_1 = tmp_0;
949
949
  this.a9_1 = 12;
950
950
  continue $sm;
951
951
  case 9:
952
952
  this.b9_1 = 10;
953
953
  var t = this.d9_1;
954
- this.i53_1.x52_1 = false;
954
+ this.w53_1.l53_1 = false;
955
955
  throw t;
956
956
  case 10:
957
957
  this.b9_1 = 14;
958
958
  var t_0 = this.d9_1;
959
- this.l53_1.q1i(this.k53_1);
959
+ this.z53_1.m1i(this.y53_1);
960
960
  throw t_0;
961
961
  case 11:
962
962
  var ARGUMENT_0 = suspendResult;
963
- this.i53_1.w52_1 = ARGUMENT_0;
964
- this.j53_1 = this.i53_1.w52_1;
963
+ this.w53_1.k53_1 = ARGUMENT_0;
964
+ this.x53_1 = this.w53_1.k53_1;
965
965
  this.a9_1 = 12;
966
966
  continue $sm;
967
967
  case 12:
968
- return this.j53_1;
968
+ return this.x53_1;
969
969
  case 13:
970
970
  return suspendResult;
971
971
  case 14:
@@ -984,29 +984,29 @@
984
984
  };
985
985
  function AuthTokenHolder(loadTokens, cacheTokens) {
986
986
  cacheTokens = cacheTokens === VOID ? true : cacheTokens;
987
- this.u52_1 = loadTokens;
988
- this.v52_1 = cacheTokens;
989
- this.w52_1 = null;
990
- this.x52_1 = false;
991
- this.y52_1 = Mutex();
992
- this.z52_1 = new SetTokenContext();
987
+ this.i53_1 = loadTokens;
988
+ this.j53_1 = cacheTokens;
989
+ this.k53_1 = null;
990
+ this.l53_1 = false;
991
+ this.m53_1 = Mutex();
992
+ this.n53_1 = new SetTokenContext();
993
993
  }
994
- protoOf(AuthTokenHolder).o53 = function ($completion) {
994
+ protoOf(AuthTokenHolder).c54 = function ($completion) {
995
995
  var tmp = new $loadTokenCOROUTINE$(this, $completion);
996
996
  tmp.c9_1 = Unit_instance;
997
997
  tmp.d9_1 = null;
998
998
  return tmp.i9();
999
999
  };
1000
- protoOf(AuthTokenHolder).p53 = function (nonCancellable, block, $completion) {
1001
- var prevValue = this.w52_1;
1002
- var lockedByLoad = this.x52_1;
1000
+ protoOf(AuthTokenHolder).d54 = function (nonCancellable, block, $completion) {
1001
+ var prevValue = this.k53_1;
1002
+ var lockedByLoad = this.l53_1;
1003
1003
  var tmp;
1004
1004
  if (nonCancellable) {
1005
1005
  // Inline function 'kotlin.js.getCoroutineContext' call
1006
- tmp = $completion.g9().yg(NonCancellable_getInstance()).yg(this.z52_1);
1006
+ tmp = $completion.g9().yg(NonCancellable_getInstance()).yg(this.n53_1);
1007
1007
  } else {
1008
1008
  // Inline function 'kotlin.js.getCoroutineContext' call
1009
- tmp = $completion.g9().yg(this.z52_1);
1009
+ tmp = $completion.g9().yg(this.n53_1);
1010
1010
  }
1011
1011
  var context = tmp;
1012
1012
  return withContext(context, AuthTokenHolder$setToken$slambda_0(this, prevValue, lockedByLoad, block, null), $completion);
@@ -1016,19 +1016,19 @@
1016
1016
  var this_0 = new BearerAuthConfig();
1017
1017
  block(this_0);
1018
1018
  // Inline function 'kotlin.with' call
1019
- _this__u8e3s4.j4z_1.j1(new BearerAuthProvider(this_0.q53_1, this_0.r53_1, this_0.s53_1, this_0.t53_1, this_0.u53_1, this_0.v53_1));
1019
+ _this__u8e3s4.x4z_1.j1(new BearerAuthProvider(this_0.e54_1, this_0.f54_1, this_0.g54_1, this_0.h54_1, this_0.i54_1, this_0.j54_1));
1020
1020
  }
1021
1021
  function BearerAuthConfig$refreshTokens$slambda(resultContinuation) {
1022
1022
  CoroutineImpl.call(this, resultContinuation);
1023
1023
  }
1024
- protoOf(BearerAuthConfig$refreshTokens$slambda).f54 = function (_this__u8e3s4, $completion) {
1025
- var tmp = this.g54(_this__u8e3s4, $completion);
1024
+ protoOf(BearerAuthConfig$refreshTokens$slambda).t54 = function (_this__u8e3s4, $completion) {
1025
+ var tmp = this.u54(_this__u8e3s4, $completion);
1026
1026
  tmp.c9_1 = Unit_instance;
1027
1027
  tmp.d9_1 = null;
1028
1028
  return tmp.i9();
1029
1029
  };
1030
1030
  protoOf(BearerAuthConfig$refreshTokens$slambda).u9 = function (p1, $completion) {
1031
- return this.f54(p1 instanceof RefreshTokensParams ? p1 : THROW_CCE(), $completion);
1031
+ return this.t54(p1 instanceof RefreshTokensParams ? p1 : THROW_CCE(), $completion);
1032
1032
  };
1033
1033
  protoOf(BearerAuthConfig$refreshTokens$slambda).i9 = function () {
1034
1034
  var suspendResult = this.c9_1;
@@ -1047,15 +1047,15 @@
1047
1047
  }
1048
1048
  while (true);
1049
1049
  };
1050
- protoOf(BearerAuthConfig$refreshTokens$slambda).g54 = function (_this__u8e3s4, completion) {
1050
+ protoOf(BearerAuthConfig$refreshTokens$slambda).u54 = function (_this__u8e3s4, completion) {
1051
1051
  var i = new BearerAuthConfig$refreshTokens$slambda(completion);
1052
- i.e54_1 = _this__u8e3s4;
1052
+ i.s54_1 = _this__u8e3s4;
1053
1053
  return i;
1054
1054
  };
1055
1055
  function BearerAuthConfig$refreshTokens$slambda_0(resultContinuation) {
1056
1056
  var i = new BearerAuthConfig$refreshTokens$slambda(resultContinuation);
1057
1057
  var l = function (_this__u8e3s4, $completion) {
1058
- return i.f54(_this__u8e3s4, $completion);
1058
+ return i.t54(_this__u8e3s4, $completion);
1059
1059
  };
1060
1060
  l.$arity = 1;
1061
1061
  return l;
@@ -1063,14 +1063,14 @@
1063
1063
  function BearerAuthConfig$loadTokens$slambda(resultContinuation) {
1064
1064
  CoroutineImpl.call(this, resultContinuation);
1065
1065
  }
1066
- protoOf(BearerAuthConfig$loadTokens$slambda).p54 = function ($completion) {
1067
- var tmp = this.q54($completion);
1066
+ protoOf(BearerAuthConfig$loadTokens$slambda).d55 = function ($completion) {
1067
+ var tmp = this.e55($completion);
1068
1068
  tmp.c9_1 = Unit_instance;
1069
1069
  tmp.d9_1 = null;
1070
1070
  return tmp.i9();
1071
1071
  };
1072
1072
  protoOf(BearerAuthConfig$loadTokens$slambda).ra = function ($completion) {
1073
- return this.p54($completion);
1073
+ return this.d55($completion);
1074
1074
  };
1075
1075
  protoOf(BearerAuthConfig$loadTokens$slambda).i9 = function () {
1076
1076
  var suspendResult = this.c9_1;
@@ -1089,13 +1089,13 @@
1089
1089
  }
1090
1090
  while (true);
1091
1091
  };
1092
- protoOf(BearerAuthConfig$loadTokens$slambda).q54 = function (completion) {
1092
+ protoOf(BearerAuthConfig$loadTokens$slambda).e55 = function (completion) {
1093
1093
  return new BearerAuthConfig$loadTokens$slambda(completion);
1094
1094
  };
1095
1095
  function BearerAuthConfig$loadTokens$slambda_0(resultContinuation) {
1096
1096
  var i = new BearerAuthConfig$loadTokens$slambda(resultContinuation);
1097
1097
  var l = function ($completion) {
1098
- return i.p54($completion);
1098
+ return i.d55($completion);
1099
1099
  };
1100
1100
  l.$arity = 0;
1101
1101
  return l;
@@ -1105,62 +1105,62 @@
1105
1105
  }
1106
1106
  function BearerAuthConfig() {
1107
1107
  var tmp = this;
1108
- tmp.q53_1 = BearerAuthConfig$refreshTokens$slambda_0(null);
1108
+ tmp.e54_1 = BearerAuthConfig$refreshTokens$slambda_0(null);
1109
1109
  var tmp_0 = this;
1110
- tmp_0.r53_1 = BearerAuthConfig$loadTokens$slambda_0(null);
1110
+ tmp_0.f54_1 = BearerAuthConfig$loadTokens$slambda_0(null);
1111
1111
  var tmp_1 = this;
1112
- tmp_1.s53_1 = BearerAuthConfig$sendWithoutRequest$lambda;
1113
- this.t53_1 = null;
1114
- this.u53_1 = true;
1115
- this.v53_1 = false;
1112
+ tmp_1.g54_1 = BearerAuthConfig$sendWithoutRequest$lambda;
1113
+ this.h54_1 = null;
1114
+ this.i54_1 = true;
1115
+ this.j54_1 = false;
1116
1116
  }
1117
- protoOf(BearerAuthConfig).r54 = function (block) {
1118
- this.q53_1 = block;
1117
+ protoOf(BearerAuthConfig).f55 = function (block) {
1118
+ this.e54_1 = block;
1119
1119
  };
1120
1120
  function RefreshTokensParams(client, response, oldTokens) {
1121
- this.s54_1 = client;
1122
- this.t54_1 = response;
1123
- this.u54_1 = oldTokens;
1121
+ this.g55_1 = client;
1122
+ this.h55_1 = response;
1123
+ this.i55_1 = oldTokens;
1124
1124
  }
1125
- protoOf(RefreshTokensParams).v54 = function (_this__u8e3s4) {
1126
- _this__u8e3s4.h3p_1.v2j(get_AuthCircuitBreaker(), Unit_instance);
1125
+ protoOf(RefreshTokensParams).j55 = function (_this__u8e3s4) {
1126
+ _this__u8e3s4.v3p_1.r2j(get_AuthCircuitBreaker(), Unit_instance);
1127
1127
  };
1128
1128
  function BearerTokens(accessToken, refreshToken) {
1129
- this.w54_1 = accessToken;
1130
- this.x54_1 = refreshToken;
1129
+ this.k55_1 = accessToken;
1130
+ this.l55_1 = refreshToken;
1131
1131
  }
1132
1132
  function BearerAuthProvider$_init_$lambda_lcdiwf(it) {
1133
1133
  return true;
1134
1134
  }
1135
1135
  function BearerAuthProvider$addRequestHeaders$lambda($token, $request) {
1136
1136
  return function ($this$headers) {
1137
- var tokenValue = 'Bearer ' + $token.w54_1;
1137
+ var tokenValue = 'Bearer ' + $token.k55_1;
1138
1138
  var tmp;
1139
- if ($this$headers.s2n('Authorization')) {
1140
- $this$headers.h2o('Authorization');
1139
+ if ($this$headers.x2m('Authorization')) {
1140
+ $this$headers.p2o('Authorization');
1141
1141
  tmp = Unit_instance;
1142
1142
  }
1143
1143
  var tmp_0;
1144
- if (!$request.h3p_1.u2j(get_AuthCircuitBreaker())) {
1145
- $this$headers.t2n('Authorization', tokenValue);
1144
+ if (!$request.v3p_1.q2j(get_AuthCircuitBreaker())) {
1145
+ $this$headers.b2o('Authorization', tokenValue);
1146
1146
  tmp_0 = Unit_instance;
1147
1147
  }
1148
1148
  return Unit_instance;
1149
1149
  };
1150
1150
  }
1151
1151
  function BearerAuthProvider$refreshToken$slambda(this$0, $response, resultContinuation) {
1152
- this.g55_1 = this$0;
1153
- this.h55_1 = $response;
1152
+ this.u55_1 = this$0;
1153
+ this.v55_1 = $response;
1154
1154
  CoroutineImpl.call(this, resultContinuation);
1155
1155
  }
1156
- protoOf(BearerAuthProvider$refreshToken$slambda).p54 = function ($completion) {
1157
- var tmp = this.q54($completion);
1156
+ protoOf(BearerAuthProvider$refreshToken$slambda).d55 = function ($completion) {
1157
+ var tmp = this.e55($completion);
1158
1158
  tmp.c9_1 = Unit_instance;
1159
1159
  tmp.d9_1 = null;
1160
1160
  return tmp.i9();
1161
1161
  };
1162
1162
  protoOf(BearerAuthProvider$refreshToken$slambda).ra = function ($completion) {
1163
- return this.p54($completion);
1163
+ return this.d55($completion);
1164
1164
  };
1165
1165
  protoOf(BearerAuthProvider$refreshToken$slambda).i9 = function () {
1166
1166
  var suspendResult = this.c9_1;
@@ -1170,10 +1170,10 @@
1170
1170
  switch (tmp) {
1171
1171
  case 0:
1172
1172
  this.b9_1 = 3;
1173
- this.i55_1 = this.g55_1.k55_1;
1174
- this.j55_1 = this.h55_1.r3q().x3n_1;
1173
+ this.w55_1 = this.u55_1.y55_1;
1174
+ this.x55_1 = this.v55_1.f3r().l3o_1;
1175
1175
  this.a9_1 = 1;
1176
- suspendResult = this.g55_1.o55_1.o53(this);
1176
+ suspendResult = this.u55_1.c56_1.c54(this);
1177
1177
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1178
1178
  return suspendResult;
1179
1179
  }
@@ -1181,9 +1181,9 @@
1181
1181
  continue $sm;
1182
1182
  case 1:
1183
1183
  var ARGUMENT = suspendResult;
1184
- var ARGUMENT_0 = new RefreshTokensParams(this.j55_1, this.h55_1, ARGUMENT);
1184
+ var ARGUMENT_0 = new RefreshTokensParams(this.x55_1, this.v55_1, ARGUMENT);
1185
1185
  this.a9_1 = 2;
1186
- suspendResult = this.i55_1(ARGUMENT_0, this);
1186
+ suspendResult = this.w55_1(ARGUMENT_0, this);
1187
1187
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1188
1188
  return suspendResult;
1189
1189
  }
@@ -1205,22 +1205,22 @@
1205
1205
  }
1206
1206
  while (true);
1207
1207
  };
1208
- protoOf(BearerAuthProvider$refreshToken$slambda).q54 = function (completion) {
1209
- return new BearerAuthProvider$refreshToken$slambda(this.g55_1, this.h55_1, completion);
1208
+ protoOf(BearerAuthProvider$refreshToken$slambda).e55 = function (completion) {
1209
+ return new BearerAuthProvider$refreshToken$slambda(this.u55_1, this.v55_1, completion);
1210
1210
  };
1211
1211
  function BearerAuthProvider$refreshToken$slambda_0(this$0, $response, resultContinuation) {
1212
1212
  var i = new BearerAuthProvider$refreshToken$slambda(this$0, $response, resultContinuation);
1213
1213
  var l = function ($completion) {
1214
- return i.p54($completion);
1214
+ return i.d55($completion);
1215
1215
  };
1216
1216
  l.$arity = 0;
1217
1217
  return l;
1218
1218
  }
1219
1219
  function $addRequestHeadersCOROUTINE$(_this__u8e3s4, request, authHeader, resultContinuation) {
1220
1220
  CoroutineImpl.call(this, resultContinuation);
1221
- this.x55_1 = _this__u8e3s4;
1222
- this.y55_1 = request;
1223
- this.z55_1 = authHeader;
1221
+ this.l56_1 = _this__u8e3s4;
1222
+ this.m56_1 = request;
1223
+ this.n56_1 = authHeader;
1224
1224
  }
1225
1225
  protoOf($addRequestHeadersCOROUTINE$).i9 = function () {
1226
1226
  var suspendResult = this.c9_1;
@@ -1231,7 +1231,7 @@
1231
1231
  case 0:
1232
1232
  this.b9_1 = 2;
1233
1233
  this.a9_1 = 1;
1234
- suspendResult = this.x55_1.o55_1.o53(this);
1234
+ suspendResult = this.l56_1.c56_1.c54(this);
1235
1235
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1236
1236
  return suspendResult;
1237
1237
  }
@@ -1247,7 +1247,7 @@
1247
1247
  }
1248
1248
 
1249
1249
  var token = tmp_0;
1250
- headers(this.y55_1, BearerAuthProvider$addRequestHeaders$lambda(token, this.y55_1));
1250
+ headers(this.m56_1, BearerAuthProvider$addRequestHeaders$lambda(token, this.m56_1));
1251
1251
  return Unit_instance;
1252
1252
  case 2:
1253
1253
  throw this.d9_1;
@@ -1265,8 +1265,8 @@
1265
1265
  };
1266
1266
  function $refreshTokenCOROUTINE$(_this__u8e3s4, response, resultContinuation) {
1267
1267
  CoroutineImpl.call(this, resultContinuation);
1268
- this.i56_1 = _this__u8e3s4;
1269
- this.j56_1 = response;
1268
+ this.w56_1 = _this__u8e3s4;
1269
+ this.x56_1 = response;
1270
1270
  }
1271
1271
  protoOf($refreshTokenCOROUTINE$).i9 = function () {
1272
1272
  var suspendResult = this.c9_1;
@@ -1277,7 +1277,7 @@
1277
1277
  case 0:
1278
1278
  this.b9_1 = 2;
1279
1279
  this.a9_1 = 1;
1280
- suspendResult = this.i56_1.o55_1.p53(this.i56_1.n55_1, BearerAuthProvider$refreshToken$slambda_0(this.i56_1, this.j56_1, null), this);
1280
+ suspendResult = this.w56_1.c56_1.d54(this.w56_1.b56_1, BearerAuthProvider$refreshToken$slambda_0(this.w56_1, this.x56_1, null), this);
1281
1281
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1282
1282
  return suspendResult;
1283
1283
  }
@@ -1310,48 +1310,48 @@
1310
1310
  sendWithoutRequestCallback = tmp;
1311
1311
  cacheTokens = cacheTokens === VOID ? true : cacheTokens;
1312
1312
  nonCancellableRefresh = nonCancellableRefresh === VOID ? false : nonCancellableRefresh;
1313
- this.k55_1 = refreshTokens;
1314
- this.l55_1 = sendWithoutRequestCallback;
1315
- this.m55_1 = realm;
1316
- this.n55_1 = nonCancellableRefresh;
1317
- this.o55_1 = new AuthTokenHolder(loadTokens, cacheTokens);
1313
+ this.y55_1 = refreshTokens;
1314
+ this.z55_1 = sendWithoutRequestCallback;
1315
+ this.a56_1 = realm;
1316
+ this.b56_1 = nonCancellableRefresh;
1317
+ this.c56_1 = new AuthTokenHolder(loadTokens, cacheTokens);
1318
1318
  }
1319
- protoOf(BearerAuthProvider).c52 = function () {
1319
+ protoOf(BearerAuthProvider).q52 = function () {
1320
1320
  // Inline function 'kotlin.error' call
1321
1321
  var message = 'Deprecated';
1322
1322
  throw IllegalStateException_init_$Create$(toString(message));
1323
1323
  };
1324
- protoOf(BearerAuthProvider).f51 = function (request) {
1325
- return this.l55_1(request);
1324
+ protoOf(BearerAuthProvider).t51 = function (request) {
1325
+ return this.z55_1(request);
1326
1326
  };
1327
- protoOf(BearerAuthProvider).m4z = function (auth) {
1328
- if (!(auth.y34_1 === 'Bearer')) {
1329
- get_LOGGER().n2s('Bearer Auth Provider is not applicable for ' + auth.toString());
1327
+ protoOf(BearerAuthProvider).a50 = function (auth) {
1328
+ if (!(auth.m35_1 === 'Bearer')) {
1329
+ get_LOGGER().b2t('Bearer Auth Provider is not applicable for ' + auth.toString());
1330
1330
  return false;
1331
1331
  }
1332
1332
  var tmp;
1333
- if (this.m55_1 == null) {
1333
+ if (this.a56_1 == null) {
1334
1334
  tmp = true;
1335
1335
  } else {
1336
1336
  if (!(auth instanceof Parameterized)) {
1337
1337
  tmp = false;
1338
1338
  } else {
1339
- tmp = auth.a2v('realm') == this.m55_1;
1339
+ tmp = auth.o2v('realm') == this.a56_1;
1340
1340
  }
1341
1341
  }
1342
1342
  var isSameRealm = tmp;
1343
1343
  if (!isSameRealm) {
1344
- get_LOGGER().n2s('Bearer Auth Provider is not applicable for this realm');
1344
+ get_LOGGER().b2t('Bearer Auth Provider is not applicable for this realm');
1345
1345
  }
1346
1346
  return isSameRealm;
1347
1347
  };
1348
- protoOf(BearerAuthProvider).b52 = function (request, authHeader, $completion) {
1348
+ protoOf(BearerAuthProvider).p52 = function (request, authHeader, $completion) {
1349
1349
  var tmp = new $addRequestHeadersCOROUTINE$(this, request, authHeader, $completion);
1350
1350
  tmp.c9_1 = Unit_instance;
1351
1351
  tmp.d9_1 = null;
1352
1352
  return tmp.i9();
1353
1353
  };
1354
- protoOf(BearerAuthProvider).a52 = function (response, $completion) {
1354
+ protoOf(BearerAuthProvider).o52 = function (response, $completion) {
1355
1355
  var tmp = new $refreshTokenCOROUTINE$(this, response, $completion);
1356
1356
  tmp.c9_1 = Unit_instance;
1357
1357
  tmp.d9_1 = null;
@@ -1362,7 +1362,7 @@
1362
1362
  protoOf(SetTokenContext).xg = fold;
1363
1363
  protoOf(SetTokenContext).wg = minusKey;
1364
1364
  protoOf(SetTokenContext).yg = plus;
1365
- protoOf(BearerAuthProvider).g51 = addRequestHeaders$default;
1365
+ protoOf(BearerAuthProvider).u51 = addRequestHeaders$default;
1366
1366
  //endregion
1367
1367
  //region block: init
1368
1368
  Companion_instance = new Companion();