@doordeck/doordeck-headless-sdk 0.208.0 → 0.210.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,64 +1,64 @@
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.$_$.s9;
5
- var Unit_instance = kotlin_kotlin.$_$.z2;
6
- var protoOf = kotlin_kotlin.$_$.hc;
7
- var THROW_CCE = kotlin_kotlin.$_$.jg;
4
+ var CoroutineImpl = kotlin_kotlin.$_$.y9;
5
+ var Unit_instance = kotlin_kotlin.$_$.c3;
6
+ var protoOf = kotlin_kotlin.$_$.nc;
7
+ var THROW_CCE = kotlin_kotlin.$_$.pg;
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.$_$.pb;
10
+ var initMetadataForLambda = kotlin_kotlin.$_$.vb;
11
11
  var VOID = kotlin_kotlin.$_$.c;
12
- var constructCallableReference = kotlin_kotlin.$_$.ab;
13
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j3;
14
- var initMetadataForClass = kotlin_kotlin.$_$.kb;
12
+ var constructCallableReference = kotlin_kotlin.$_$.gb;
13
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n3;
14
+ var initMetadataForClass = kotlin_kotlin.$_$.qb;
15
15
  var atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
16
- var toList = kotlin_kotlin.$_$.n8;
16
+ var toList = kotlin_kotlin.$_$.t8;
17
17
  var ConcurrentMap = kotlin_io_ktor_ktor_utils.$_$.e;
18
- var KtMutableMap = kotlin_kotlin.$_$.u5;
19
- var getKClass = kotlin_kotlin.$_$.ad;
20
- var arrayOf = kotlin_kotlin.$_$.xg;
21
- var createKType = kotlin_kotlin.$_$.yc;
22
- var createInvariantKTypeProjection = kotlin_kotlin.$_$.wc;
23
- var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.n2;
18
+ var KtMutableMap = kotlin_kotlin.$_$.y5;
19
+ var getKClass = kotlin_kotlin.$_$.gd;
20
+ var arrayOf = kotlin_kotlin.$_$.dh;
21
+ var createKType = kotlin_kotlin.$_$.ed;
22
+ var createInvariantKTypeProjection = kotlin_kotlin.$_$.cd;
23
+ var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.q2;
24
24
  var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.o;
25
25
  var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.q;
26
26
  var Send_instance = kotlin_io_ktor_ktor_client_core.$_$.a;
27
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s3;
28
- var collectionSizeOrDefault = kotlin_kotlin.$_$.b6;
29
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i3;
27
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w3;
28
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.f6;
29
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m3;
30
30
  var parseAuthorizationHeaders = kotlin_io_ktor_ktor_http.$_$.l;
31
- var flatten = kotlin_kotlin.$_$.g7;
32
- var emptyList = kotlin_kotlin.$_$.w6;
33
- var to = kotlin_kotlin.$_$.nh;
31
+ var flatten = kotlin_kotlin.$_$.k7;
32
+ var emptyList = kotlin_kotlin.$_$.a7;
33
+ var to = kotlin_kotlin.$_$.th;
34
34
  var get_isTraceEnabled = kotlin_io_ktor_ktor_utils.$_$.k;
35
- var first = kotlin_kotlin.$_$.f7;
35
+ var first = kotlin_kotlin.$_$.j7;
36
36
  var OnRequestContext = kotlin_io_ktor_ktor_client_core.$_$.k;
37
37
  var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.d1;
38
- var toString = kotlin_kotlin.$_$.kc;
39
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.b9;
38
+ var toString = kotlin_kotlin.$_$.qc;
39
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.h9;
40
40
  var Sender = kotlin_io_ktor_ktor_client_core.$_$.l;
41
- var HashSet_init_$Create$ = kotlin_kotlin.$_$.q3;
42
- var initMetadataForCoroutine = kotlin_kotlin.$_$.mb;
41
+ var HashSet_init_$Create$ = kotlin_kotlin.$_$.u3;
42
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.sb;
43
43
  var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.j;
44
- var Unit = kotlin_kotlin.$_$.ug;
44
+ var Unit = kotlin_kotlin.$_$.ah;
45
45
  var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.o;
46
- var KtList = kotlin_kotlin.$_$.n5;
47
- var initMetadataForInterface = kotlin_kotlin.$_$.ob;
48
- var initMetadataForCompanion = kotlin_kotlin.$_$.lb;
49
- var get = kotlin_kotlin.$_$.o9;
50
- var fold = kotlin_kotlin.$_$.n9;
51
- var minusKey = kotlin_kotlin.$_$.p9;
52
- var plus = kotlin_kotlin.$_$.r9;
53
- var Element = kotlin_kotlin.$_$.q9;
54
- var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r1;
55
- var isInterface = kotlin_kotlin.$_$.zb;
56
- var equals = kotlin_kotlin.$_$.cb;
57
- var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i1;
46
+ var KtList = kotlin_kotlin.$_$.r5;
47
+ var initMetadataForInterface = kotlin_kotlin.$_$.ub;
48
+ var initMetadataForCompanion = kotlin_kotlin.$_$.rb;
49
+ var get = kotlin_kotlin.$_$.u9;
50
+ var fold = kotlin_kotlin.$_$.t9;
51
+ var minusKey = kotlin_kotlin.$_$.v9;
52
+ var plus = kotlin_kotlin.$_$.x9;
53
+ var Element = kotlin_kotlin.$_$.w9;
54
+ var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s1;
55
+ var isInterface = kotlin_kotlin.$_$.fc;
56
+ var equals = kotlin_kotlin.$_$.ib;
57
+ var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
58
58
  var NonCancellable_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
59
- var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
59
+ var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
60
60
  var headers = kotlin_io_ktor_ktor_client_core.$_$.g1;
61
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s4;
61
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.w4;
62
62
  var Parameterized = kotlin_io_ktor_ktor_http.$_$.k;
63
63
  //endregion
64
64
  //region block: pre-declaration
@@ -70,11 +70,11 @@
70
70
  initMetadataForCoroutine($invoke$refreshTokenIfNeededCOROUTINE$, CoroutineImpl);
71
71
  initMetadataForCoroutine($invoke$executeWithNewTokenCOROUTINE$, CoroutineImpl);
72
72
  function sendWithoutRequest(request) {
73
- return this.w54();
73
+ return this.m55();
74
74
  }
75
75
  function addRequestHeaders$default(request, authHeader, $completion, $super) {
76
76
  authHeader = authHeader === VOID ? null : authHeader;
77
- return $super === VOID ? this.v54(request, authHeader, $completion) : $super.v54.call(this, request, authHeader, $completion);
77
+ return $super === VOID ? this.l55(request, authHeader, $completion) : $super.l55.call(this, request, authHeader, $completion);
78
78
  }
79
79
  function refreshToken(response, $completion) {
80
80
  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).c52 = function (it, $completion) {
122
- var tmp = this.u40(it, $completion);
121
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).s52 = function (it, $completion) {
122
+ var tmp = this.k41(it, $completion);
123
123
  tmp.f9_1 = Unit_instance;
124
124
  tmp.g9_1 = null;
125
125
  return tmp.l9();
126
126
  };
127
127
  protoOf(AuthConfig$isUnauthorizedResponse$slambda).y9 = function (p1, $completion) {
128
- return this.c52(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
128
+ return this.s52(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
129
129
  };
130
130
  protoOf(AuthConfig$isUnauthorizedResponse$slambda).l9 = function () {
131
131
  var suspendResult = this.f9_1;
@@ -134,7 +134,7 @@
134
134
  var tmp = this.d9_1;
135
135
  if (tmp === 0) {
136
136
  this.e9_1 = 1;
137
- return this.b52_1.v37().equals(Companion_getInstance().m33_1);
137
+ return this.r52_1.l38().equals(Companion_getInstance().c34_1);
138
138
  } else if (tmp === 1) {
139
139
  throw this.g9_1;
140
140
  }
@@ -144,26 +144,26 @@
144
144
  }
145
145
  while (true);
146
146
  };
147
- protoOf(AuthConfig$isUnauthorizedResponse$slambda).u40 = function (it, completion) {
147
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).k41 = function (it, completion) {
148
148
  var i = new AuthConfig$isUnauthorizedResponse$slambda(completion);
149
- i.b52_1 = it;
149
+ i.r52_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
  return constructCallableReference(function (it, $completion) {
155
- return i.c52(it, $completion);
155
+ return i.s52(it, $completion);
156
156
  }, 1);
157
157
  }
158
158
  function AuthConfig() {
159
159
  var tmp = this;
160
160
  // Inline function 'kotlin.collections.mutableListOf' call
161
- tmp.d52_1 = ArrayList_init_$Create$();
161
+ tmp.t52_1 = ArrayList_init_$Create$();
162
162
  var tmp_0 = this;
163
- tmp_0.e52_1 = AuthConfig$isUnauthorizedResponse$slambda_0(null);
163
+ tmp_0.u52_1 = AuthConfig$isUnauthorizedResponse$slambda_0(null);
164
164
  }
165
165
  function AtomicCounter() {
166
- this.f52_1 = atomic$int$1(0);
166
+ this.v52_1 = atomic$int$1(0);
167
167
  }
168
168
  function AuthConfig$_init_$ref_ms3pb9() {
169
169
  return constructCallableReference(function () {
@@ -172,8 +172,8 @@
172
172
  }
173
173
  function Auth$lambda($this$createClientPlugin) {
174
174
  _init_properties_Auth_kt__9ob1dk();
175
- var providers = toList($this$createClientPlugin.u3z_1.d52_1);
176
- $this$createClientPlugin.t3z_1.t3p_1.c2l(get_AuthProvidersKey(), providers);
175
+ var providers = toList($this$createClientPlugin.k40_1.t52_1);
176
+ $this$createClientPlugin.j40_1.j3q_1.t2l(get_AuthProvidersKey(), providers);
177
177
  var tokenVersions = new ConcurrentMap();
178
178
  // Inline function 'io.ktor.util.AttributeKey' call
179
179
  var name = 'ProviderVersionAttributeKey';
@@ -196,9 +196,9 @@
196
196
  var tmp$ret$2 = tmp_0;
197
197
  var tmp$ret$1 = new TypeInfo(tmp, tmp$ret$2);
198
198
  var tokenVersionsAttributeKey = new AttributeKey(name, tmp$ret$1);
199
- $this$createClientPlugin.x4e(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
199
+ $this$createClientPlugin.n4f(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
200
200
  var tmp_2 = Send_instance;
201
- $this$createClientPlugin.x3z(tmp_2, Auth$lambda$slambda_2($this$createClientPlugin, providers, tokenVersions, tokenVersionsAttributeKey, null));
201
+ $this$createClientPlugin.n40(tmp_2, Auth$lambda$slambda_2($this$createClientPlugin, providers, tokenVersions, tokenVersionsAttributeKey, null));
202
202
  return Unit_instance;
203
203
  }
204
204
  function Auth$lambda$refreshTokenIfNeeded$lambda() {
@@ -211,7 +211,7 @@
211
211
  return LinkedHashMap_init_$Create$();
212
212
  }
213
213
  function invoke$findProvider(call, candidateProviders) {
214
- var headerValues = call.u3q().w31().q2p('WWW-Authenticate');
214
+ var headerValues = call.k3r().m32().h2q('WWW-Authenticate');
215
215
  var tmp;
216
216
  if (headerValues == null) {
217
217
  tmp = null;
@@ -239,7 +239,7 @@
239
239
  var _iterator__ex2g4s_0 = authHeaders.t();
240
240
  while (_iterator__ex2g4s_0.u()) {
241
241
  var element = _iterator__ex2g4s_0.v();
242
- if (provider.g52(element)) {
242
+ if (provider.w52(element)) {
243
243
  tmp$ret$3 = element;
244
244
  break $l$block;
245
245
  }
@@ -252,8 +252,8 @@
252
252
  // Inline function 'io.ktor.util.logging.trace' call
253
253
  var this_0 = get_LOGGER();
254
254
  if (get_isTraceEnabled(this_0)) {
255
- var tmp$ret$6 = 'Unauthorized response ' + call.c3t().l3t().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
256
- this_0.m2u(tmp$ret$6);
255
+ var tmp$ret$6 = 'Unauthorized response ' + call.s3t().b3u().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
256
+ this_0.d2v(tmp$ret$6);
257
257
  }
258
258
  tmp_0 = null;
259
259
  } else {
@@ -270,7 +270,7 @@
270
270
  var _iterator__ex2g4s_2 = candidateProviders.t();
271
271
  while (_iterator__ex2g4s_2.u()) {
272
272
  var element_1 = _iterator__ex2g4s_2.v();
273
- if (element_1.g52(element_0)) {
273
+ if (element_1.w52(element_0)) {
274
274
  tmp$ret$10 = element_1;
275
275
  break $l$block_0;
276
276
  }
@@ -317,21 +317,21 @@
317
317
  return LinkedHashMap_init_$Create$();
318
318
  }
319
319
  function Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
320
- this.s53_1 = $providers;
321
- this.t53_1 = $tokenVersions;
322
- this.u53_1 = $tokenVersionsAttributeKey;
320
+ this.i54_1 = $providers;
321
+ this.j54_1 = $tokenVersions;
322
+ this.k54_1 = $tokenVersionsAttributeKey;
323
323
  CoroutineImpl.call(this, resultContinuation);
324
324
  }
325
- protoOf(Auth$lambda$slambda).l4f = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
326
- var tmp = this.m4f($this$onRequest, request, _unused_var__etf5q3, $completion);
325
+ protoOf(Auth$lambda$slambda).b4g = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
326
+ var tmp = this.c4g($this$onRequest, request, _unused_var__etf5q3, $completion);
327
327
  tmp.f9_1 = Unit_instance;
328
328
  tmp.g9_1 = null;
329
329
  return tmp.l9();
330
330
  };
331
- protoOf(Auth$lambda$slambda).n4f = function (p1, p2, p3, $completion) {
331
+ protoOf(Auth$lambda$slambda).d4g = function (p1, p2, p3, $completion) {
332
332
  var tmp = p1 instanceof OnRequestContext ? p1 : THROW_CCE();
333
333
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
334
- return this.l4f(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
334
+ return this.b4g(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
335
335
  };
336
336
  protoOf(Auth$lambda$slambda).l9 = function () {
337
337
  var suspendResult = this.f9_1;
@@ -341,37 +341,37 @@
341
341
  switch (tmp) {
342
342
  case 0:
343
343
  this.e9_1 = 4;
344
- var tmp0 = this.s53_1;
344
+ var tmp0 = this.i54_1;
345
345
  var destination = ArrayList_init_$Create$();
346
346
  var _iterator__ex2g4s = tmp0.t();
347
347
  while (_iterator__ex2g4s.u()) {
348
348
  var element = _iterator__ex2g4s.v();
349
- if (element.z53(this.w53_1)) {
349
+ if (element.p54(this.m54_1)) {
350
350
  destination.j1(element);
351
351
  }
352
352
  }
353
353
 
354
- this.y53_1 = destination.t();
354
+ this.o54_1 = destination.t();
355
355
  this.d9_1 = 1;
356
356
  continue $sm;
357
357
  case 1:
358
- if (!this.y53_1.u()) {
358
+ if (!this.o54_1.u()) {
359
359
  this.d9_1 = 3;
360
360
  continue $sm;
361
361
  }
362
362
 
363
- var element_0 = this.y53_1.v();
363
+ var element_0 = this.o54_1.v();
364
364
  var this_0 = get_LOGGER();
365
365
  if (get_isTraceEnabled(this_0)) {
366
- this_0.m2u('Adding auth headers for ' + this.w53_1.u3r_1.toString() + ' from provider ' + toString(element_0));
366
+ this_0.d2v('Adding auth headers for ' + this.m54_1.k3s_1.toString() + ' from provider ' + toString(element_0));
367
367
  }
368
368
 
369
- var tokenVersion = this.t53_1.b2u(element_0, Auth$lambda$slambda$lambda);
370
- var requestTokenVersions = this.w53_1.z3r_1.f2l(this.u53_1, Auth$lambda$slambda$lambda_0);
371
- var value = tokenVersion.f52_1.kotlinx$atomicfu$value;
369
+ var tokenVersion = this.j54_1.s2u(element_0, Auth$lambda$slambda$lambda);
370
+ var requestTokenVersions = this.m54_1.p3s_1.w2l(this.k54_1, Auth$lambda$slambda$lambda_0);
371
+ var value = tokenVersion.v52_1.kotlinx$atomicfu$value;
372
372
  requestTokenVersions.y2(element_0, value);
373
373
  this.d9_1 = 2;
374
- suspendResult = element_0.a54(this.w53_1, VOID, this);
374
+ suspendResult = element_0.q54(this.m54_1, VOID, this);
375
375
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
376
376
  return suspendResult;
377
377
  }
@@ -396,35 +396,35 @@
396
396
  }
397
397
  while (true);
398
398
  };
399
- protoOf(Auth$lambda$slambda).m4f = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
400
- var i = new Auth$lambda$slambda(this.s53_1, this.t53_1, this.u53_1, completion);
401
- i.v53_1 = $this$onRequest;
402
- i.w53_1 = request;
403
- i.x53_1 = _unused_var__etf5q3;
399
+ protoOf(Auth$lambda$slambda).c4g = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
400
+ var i = new Auth$lambda$slambda(this.i54_1, this.j54_1, this.k54_1, completion);
401
+ i.l54_1 = $this$onRequest;
402
+ i.m54_1 = request;
403
+ i.n54_1 = _unused_var__etf5q3;
404
404
  return i;
405
405
  };
406
406
  function Auth$lambda$slambda_0($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
407
407
  var i = new Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
408
408
  return constructCallableReference(function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
409
- return i.l4f($this$onRequest, request, _unused_var__etf5q3, $completion);
409
+ return i.b4g($this$onRequest, request, _unused_var__etf5q3, $completion);
410
410
  }, 3);
411
411
  }
412
412
  function Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
413
- this.j54_1 = $this_createClientPlugin;
414
- this.k54_1 = $providers;
415
- this.l54_1 = $tokenVersions;
416
- this.m54_1 = $tokenVersionsAttributeKey;
413
+ this.z54_1 = $this_createClientPlugin;
414
+ this.a55_1 = $providers;
415
+ this.b55_1 = $tokenVersions;
416
+ this.c55_1 = $tokenVersionsAttributeKey;
417
417
  CoroutineImpl.call(this, resultContinuation);
418
418
  }
419
- protoOf(Auth$lambda$slambda_1).y46 = function ($this$on, originalRequest, $completion) {
420
- var tmp = this.z46($this$on, originalRequest, $completion);
419
+ protoOf(Auth$lambda$slambda_1).o47 = function ($this$on, originalRequest, $completion) {
420
+ var tmp = this.p47($this$on, originalRequest, $completion);
421
421
  tmp.f9_1 = Unit_instance;
422
422
  tmp.g9_1 = null;
423
423
  return tmp.l9();
424
424
  };
425
425
  protoOf(Auth$lambda$slambda_1).z9 = function (p1, p2, $completion) {
426
426
  var tmp = p1 instanceof Sender ? p1 : THROW_CCE();
427
- return this.y46(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
427
+ return this.o47(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
428
428
  };
429
429
  protoOf(Auth$lambda$slambda_1).l9 = function () {
430
430
  var suspendResult = this.f9_1;
@@ -435,16 +435,16 @@
435
435
  case 0:
436
436
  this.e9_1 = 10;
437
437
  this.d9_1 = 1;
438
- suspendResult = this.n54_1.c47(this.o54_1, this);
438
+ suspendResult = this.d55_1.s47(this.e55_1, this);
439
439
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
440
440
  return suspendResult;
441
441
  }
442
442
 
443
443
  continue $sm;
444
444
  case 1:
445
- this.t54_1 = suspendResult;
445
+ this.j55_1 = suspendResult;
446
446
  this.d9_1 = 2;
447
- suspendResult = this.j54_1.u3z_1.e52_1(this.t54_1.u3q(), this);
447
+ suspendResult = this.z54_1.k40_1.u52_1(this.j55_1.k3r(), this);
448
448
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
449
449
  return suspendResult;
450
450
  }
@@ -452,22 +452,22 @@
452
452
  continue $sm;
453
453
  case 2:
454
454
  if (!suspendResult) {
455
- return this.t54_1;
455
+ return this.j55_1;
456
456
  } else {
457
457
  this.d9_1 = 3;
458
458
  continue $sm;
459
459
  }
460
460
 
461
461
  case 3:
462
- if (this.t54_1.c3t().d3t().b2l(get_AuthCircuitBreaker()))
463
- return this.t54_1;
464
- this.p54_1 = this.t54_1;
465
- this.s54_1 = HashSet_init_$Create$(this.k54_1);
462
+ if (this.j55_1.s3t().t3t().s2l(get_AuthCircuitBreaker()))
463
+ return this.j55_1;
464
+ this.f55_1 = this.j55_1;
465
+ this.i55_1 = HashSet_init_$Create$(this.a55_1);
466
466
  this.d9_1 = 4;
467
467
  continue $sm;
468
468
  case 4:
469
469
  this.d9_1 = 5;
470
- suspendResult = this.j54_1.u3z_1.e52_1(this.p54_1.u3q(), this);
470
+ suspendResult = this.z54_1.k40_1.u52_1(this.f55_1.k3r(), this);
471
471
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
472
472
  return suspendResult;
473
473
  }
@@ -481,33 +481,33 @@
481
481
 
482
482
  var this_0 = get_LOGGER();
483
483
  if (get_isTraceEnabled(this_0)) {
484
- this_0.m2u('Unauthorized response for ' + this.p54_1.c3t().l3t().toString());
484
+ this_0.d2v('Unauthorized response for ' + this.f55_1.s3t().b3u().toString());
485
485
  }
486
486
 
487
- var tmp0_elvis_lhs = invoke$findProvider(this.p54_1, this.s54_1);
487
+ var tmp0_elvis_lhs = invoke$findProvider(this.f55_1, this.i55_1);
488
488
  var tmp_0;
489
489
  if (tmp0_elvis_lhs == null) {
490
- this.n54_1;
490
+ this.d55_1;
491
491
  var this_1 = get_LOGGER();
492
492
  if (get_isTraceEnabled(this_1)) {
493
- this_1.m2u('Can not find auth provider for ' + this.p54_1.c3t().l3t().toString());
493
+ this_1.d2v('Can not find auth provider for ' + this.f55_1.s3t().b3u().toString());
494
494
  }
495
- return this.p54_1;
495
+ return this.f55_1;
496
496
  } else {
497
497
  tmp_0 = tmp0_elvis_lhs;
498
498
  }
499
499
 
500
500
  var _destruct__k2r9zo = tmp_0;
501
- this.r54_1 = _destruct__k2r9zo.jg();
502
- this.q54_1 = _destruct__k2r9zo.kg();
501
+ this.h55_1 = _destruct__k2r9zo.jg();
502
+ this.g55_1 = _destruct__k2r9zo.kg();
503
503
  var this_2 = get_LOGGER();
504
504
  if (get_isTraceEnabled(this_2)) {
505
- this_2.m2u('Using provider ' + toString(this.r54_1) + ' for ' + this.p54_1.c3t().l3t().toString());
505
+ this_2.d2v('Using provider ' + toString(this.h55_1) + ' for ' + this.f55_1.s3t().b3u().toString());
506
506
  }
507
507
 
508
- this.s54_1.i3(this.r54_1);
508
+ this.i55_1.i3(this.h55_1);
509
509
  this.d9_1 = 6;
510
- suspendResult = invoke$refreshTokenIfNeeded(this.l54_1, this.m54_1, this.p54_1, this.r54_1, this.o54_1, this);
510
+ suspendResult = invoke$refreshTokenIfNeeded(this.b55_1, this.c55_1, this.f55_1, this.h55_1, this.e55_1, this);
511
511
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
512
512
  return suspendResult;
513
513
  }
@@ -515,7 +515,7 @@
515
515
  continue $sm;
516
516
  case 6:
517
517
  if (!suspendResult) {
518
- return this.p54_1;
518
+ return this.f55_1;
519
519
  } else {
520
520
  this.d9_1 = 7;
521
521
  continue $sm;
@@ -523,18 +523,18 @@
523
523
 
524
524
  case 7:
525
525
  this.d9_1 = 8;
526
- suspendResult = invoke$executeWithNewToken(this.n54_1, this.p54_1, this.r54_1, this.o54_1, this.q54_1, this);
526
+ suspendResult = invoke$executeWithNewToken(this.d55_1, this.f55_1, this.h55_1, this.e55_1, this.g55_1, this);
527
527
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
528
528
  return suspendResult;
529
529
  }
530
530
 
531
531
  continue $sm;
532
532
  case 8:
533
- this.p54_1 = suspendResult;
533
+ this.f55_1 = suspendResult;
534
534
  this.d9_1 = 4;
535
535
  continue $sm;
536
536
  case 9:
537
- return this.p54_1;
537
+ return this.f55_1;
538
538
  case 10:
539
539
  throw this.g9_1;
540
540
  }
@@ -549,25 +549,25 @@
549
549
  }
550
550
  while (true);
551
551
  };
552
- protoOf(Auth$lambda$slambda_1).z46 = function ($this$on, originalRequest, completion) {
553
- var i = new Auth$lambda$slambda_1(this.j54_1, this.k54_1, this.l54_1, this.m54_1, completion);
554
- i.n54_1 = $this$on;
555
- i.o54_1 = originalRequest;
552
+ protoOf(Auth$lambda$slambda_1).p47 = function ($this$on, originalRequest, completion) {
553
+ var i = new Auth$lambda$slambda_1(this.z54_1, this.a55_1, this.b55_1, this.c55_1, completion);
554
+ i.d55_1 = $this$on;
555
+ i.e55_1 = originalRequest;
556
556
  return i;
557
557
  };
558
558
  function Auth$lambda$slambda_2($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
559
559
  var i = new Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
560
560
  return constructCallableReference(function ($this$on, originalRequest, $completion) {
561
- return i.y46($this$on, originalRequest, $completion);
561
+ return i.o47($this$on, originalRequest, $completion);
562
562
  }, 2);
563
563
  }
564
564
  function $invoke$refreshTokenIfNeededCOROUTINE$(tokenVersions, tokenVersionsAttributeKey, call, provider, request, resultContinuation) {
565
565
  CoroutineImpl.call(this, resultContinuation);
566
- this.p52_1 = tokenVersions;
567
- this.q52_1 = tokenVersionsAttributeKey;
568
- this.r52_1 = call;
569
- this.s52_1 = provider;
570
- this.t52_1 = request;
566
+ this.f53_1 = tokenVersions;
567
+ this.g53_1 = tokenVersionsAttributeKey;
568
+ this.h53_1 = call;
569
+ this.i53_1 = provider;
570
+ this.j53_1 = request;
571
571
  }
572
572
  protoOf($invoke$refreshTokenIfNeededCOROUTINE$).l9 = function () {
573
573
  var suspendResult = this.f9_1;
@@ -578,17 +578,17 @@
578
578
  case 0:
579
579
  this.e9_1 = 4;
580
580
  var tmp_0 = this;
581
- tmp_0.u52_1 = this.p52_1.b2u(this.s52_1, Auth$lambda$refreshTokenIfNeeded$lambda);
581
+ tmp_0.k53_1 = this.f53_1.s2u(this.i53_1, Auth$lambda$refreshTokenIfNeeded$lambda);
582
582
  var tmp_1 = this;
583
- tmp_1.v52_1 = this.t52_1.z3r_1.f2l(this.q52_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
584
- var requestTokenVersion = this.v52_1.g3(this.s52_1);
585
- if (!(requestTokenVersion == null) && requestTokenVersion >= this.u52_1.f52_1.kotlinx$atomicfu$value) {
583
+ tmp_1.l53_1 = this.j53_1.p3s_1.w2l(this.g53_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
584
+ var requestTokenVersion = this.l53_1.g3(this.i53_1);
585
+ if (!(requestTokenVersion == null) && requestTokenVersion >= this.k53_1.v52_1.kotlinx$atomicfu$value) {
586
586
  var this_0 = get_LOGGER();
587
587
  if (get_isTraceEnabled(this_0)) {
588
- this_0.m2u('Refreshing token for ' + this.r52_1.c3t().l3t().toString());
588
+ this_0.d2v('Refreshing token for ' + this.h53_1.s3t().b3u().toString());
589
589
  }
590
590
  this.d9_1 = 1;
591
- suspendResult = this.s52_1.u54(this.r52_1.u3q(), this);
591
+ suspendResult = this.i53_1.k55(this.h53_1.k3r(), this);
592
592
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
593
593
  return suspendResult;
594
594
  }
@@ -602,13 +602,13 @@
602
602
  if (!suspendResult) {
603
603
  var this_1 = get_LOGGER();
604
604
  if (get_isTraceEnabled(this_1)) {
605
- this_1.m2u('Refreshing token failed for ' + this.r52_1.c3t().l3t().toString());
605
+ this_1.d2v('Refreshing token failed for ' + this.h53_1.s3t().b3u().toString());
606
606
  }
607
607
  return false;
608
608
  } else {
609
- var tmp0 = this.v52_1;
610
- var tmp2 = this.s52_1;
611
- var value = this.u52_1.f52_1.atomicfu$incrementAndGet();
609
+ var tmp0 = this.l53_1;
610
+ var tmp2 = this.i53_1;
611
+ var value = this.k53_1.v52_1.atomicfu$incrementAndGet();
612
612
  tmp0.y2(tmp2, value);
613
613
  this.d9_1 = 2;
614
614
  continue $sm;
@@ -635,11 +635,11 @@
635
635
  };
636
636
  function $invoke$executeWithNewTokenCOROUTINE$(_this__u8e3s4, call, provider, oldRequest, authHeader, resultContinuation) {
637
637
  CoroutineImpl.call(this, resultContinuation);
638
- this.e53_1 = _this__u8e3s4;
639
- this.f53_1 = call;
640
- this.g53_1 = provider;
641
- this.h53_1 = oldRequest;
642
- this.i53_1 = authHeader;
638
+ this.u53_1 = _this__u8e3s4;
639
+ this.v53_1 = call;
640
+ this.w53_1 = provider;
641
+ this.x53_1 = oldRequest;
642
+ this.y53_1 = authHeader;
643
643
  }
644
644
  protoOf($invoke$executeWithNewTokenCOROUTINE$).l9 = function () {
645
645
  var suspendResult = this.f9_1;
@@ -649,24 +649,24 @@
649
649
  switch (tmp) {
650
650
  case 0:
651
651
  this.e9_1 = 3;
652
- this.j53_1 = new HttpRequestBuilder();
653
- this.j53_1.n3x(this.h53_1);
652
+ this.z53_1 = new HttpRequestBuilder();
653
+ this.z53_1.d3y(this.x53_1);
654
654
  this.d9_1 = 1;
655
- suspendResult = this.g53_1.v54(this.j53_1, this.i53_1, this);
655
+ suspendResult = this.w53_1.l55(this.z53_1, this.y53_1, this);
656
656
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
657
657
  return suspendResult;
658
658
  }
659
659
 
660
660
  continue $sm;
661
661
  case 1:
662
- this.j53_1.z3r_1.c2l(get_AuthCircuitBreaker(), Unit_instance);
662
+ this.z53_1.p3s_1.t2l(get_AuthCircuitBreaker(), Unit_instance);
663
663
  var this_0 = get_LOGGER();
664
664
  if (get_isTraceEnabled(this_0)) {
665
- this_0.m2u('Sending new request to ' + this.f53_1.c3t().l3t().toString());
665
+ this_0.d2v('Sending new request to ' + this.v53_1.s3t().b3u().toString());
666
666
  }
667
667
 
668
668
  this.d9_1 = 2;
669
- suspendResult = this.e53_1.c47(this.j53_1, this);
669
+ suspendResult = this.u53_1.s47(this.z53_1, this);
670
670
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
671
671
  return suspendResult;
672
672
  }
@@ -753,20 +753,20 @@
753
753
  return Companion_instance;
754
754
  };
755
755
  function AuthTokenHolder$setToken$slambda(this$0, $prevValue, $lockedByLoad, $block, resultContinuation) {
756
- this.f55_1 = this$0;
757
- this.g55_1 = $prevValue;
758
- this.h55_1 = $lockedByLoad;
759
- this.i55_1 = $block;
756
+ this.v55_1 = this$0;
757
+ this.w55_1 = $prevValue;
758
+ this.x55_1 = $lockedByLoad;
759
+ this.y55_1 = $block;
760
760
  CoroutineImpl.call(this, resultContinuation);
761
761
  }
762
- protoOf(AuthTokenHolder$setToken$slambda).n55 = function ($this$withContext, $completion) {
762
+ protoOf(AuthTokenHolder$setToken$slambda).d56 = function ($this$withContext, $completion) {
763
763
  var tmp = this.d1y($this$withContext, $completion);
764
764
  tmp.f9_1 = Unit_instance;
765
765
  tmp.g9_1 = null;
766
766
  return tmp.l9();
767
767
  };
768
768
  protoOf(AuthTokenHolder$setToken$slambda).y9 = function (p1, $completion) {
769
- return this.n55((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
769
+ return this.d56((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
770
770
  };
771
771
  protoOf(AuthTokenHolder$setToken$slambda).l9 = function () {
772
772
  var suspendResult = this.f9_1;
@@ -776,24 +776,24 @@
776
776
  switch (tmp) {
777
777
  case 0:
778
778
  this.e9_1 = 7;
779
- this.l55_1 = this.f55_1.s55_1;
780
- this.k55_1 = null;
779
+ this.b56_1 = this.v55_1.i56_1;
780
+ this.a56_1 = null;
781
781
  this.d9_1 = 1;
782
- suspendResult = this.l55_1.f1k(this.k55_1, this);
782
+ suspendResult = this.b56_1.f1k(this.a56_1, this);
783
783
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
784
784
  return suspendResult;
785
785
  }
786
786
 
787
787
  continue $sm;
788
788
  case 1:
789
- this.m55_1 = Unit_instance;
789
+ this.c56_1 = Unit_instance;
790
790
  this.d9_1 = 2;
791
791
  continue $sm;
792
792
  case 2:
793
793
  this.e9_1 = 6;
794
- if (equals(this.g55_1, this.f55_1.q55_1) || this.h55_1) {
794
+ if (equals(this.w55_1, this.v55_1.g56_1) || this.x55_1) {
795
795
  this.d9_1 = 3;
796
- suspendResult = this.i55_1(this);
796
+ suspendResult = this.y55_1(this);
797
797
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
798
798
  return suspendResult;
799
799
  }
@@ -805,23 +805,23 @@
805
805
 
806
806
  case 3:
807
807
  var ARGUMENT = suspendResult;
808
- this.f55_1.q55_1 = ARGUMENT;
808
+ this.v55_1.g56_1 = ARGUMENT;
809
809
  this.d9_1 = 4;
810
810
  continue $sm;
811
811
  case 4:
812
- this.m55_1 = this.f55_1.q55_1;
812
+ this.c56_1 = this.v55_1.g56_1;
813
813
  this.e9_1 = 7;
814
814
  this.d9_1 = 5;
815
815
  continue $sm;
816
816
  case 5:
817
- var tmp_0 = this.m55_1;
817
+ var tmp_0 = this.c56_1;
818
818
  this.e9_1 = 7;
819
- this.l55_1.r1j(this.k55_1);
819
+ this.b56_1.r1j(this.a56_1);
820
820
  return tmp_0;
821
821
  case 6:
822
822
  this.e9_1 = 7;
823
823
  var t = this.g9_1;
824
- this.l55_1.r1j(this.k55_1);
824
+ this.b56_1.r1j(this.a56_1);
825
825
  throw t;
826
826
  case 7:
827
827
  throw this.g9_1;
@@ -838,19 +838,19 @@
838
838
  while (true);
839
839
  };
840
840
  protoOf(AuthTokenHolder$setToken$slambda).d1y = function ($this$withContext, completion) {
841
- var i = new AuthTokenHolder$setToken$slambda(this.f55_1, this.g55_1, this.h55_1, this.i55_1, completion);
842
- i.j55_1 = $this$withContext;
841
+ var i = new AuthTokenHolder$setToken$slambda(this.v55_1, this.w55_1, this.x55_1, this.y55_1, completion);
842
+ i.z55_1 = $this$withContext;
843
843
  return i;
844
844
  };
845
845
  function AuthTokenHolder$setToken$slambda_0(this$0, $prevValue, $lockedByLoad, $block, resultContinuation) {
846
846
  var i = new AuthTokenHolder$setToken$slambda(this$0, $prevValue, $lockedByLoad, $block, resultContinuation);
847
847
  return constructCallableReference(function ($this$withContext, $completion) {
848
- return i.n55($this$withContext, $completion);
848
+ return i.d56($this$withContext, $completion);
849
849
  }, 1);
850
850
  }
851
851
  function $loadTokenCOROUTINE$(_this__u8e3s4, resultContinuation) {
852
852
  CoroutineImpl.call(this, resultContinuation);
853
- this.c56_1 = _this__u8e3s4;
853
+ this.s56_1 = _this__u8e3s4;
854
854
  }
855
855
  protoOf($loadTokenCOROUTINE$).l9 = function () {
856
856
  var suspendResult = this.f9_1;
@@ -860,9 +860,9 @@
860
860
  switch (tmp) {
861
861
  case 0:
862
862
  this.e9_1 = 14;
863
- if (!this.c56_1.p55_1) {
863
+ if (!this.s56_1.f56_1) {
864
864
  this.d9_1 = 13;
865
- suspendResult = this.c56_1.o55_1(this);
865
+ suspendResult = this.s56_1.e56_1(this);
866
866
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
867
867
  return suspendResult;
868
868
  }
@@ -873,21 +873,21 @@
873
873
  }
874
874
 
875
875
  case 1:
876
- if (!(this.c56_1.q55_1 == null))
877
- return this.c56_1.q55_1;
878
- this.h56_1 = this.c56_1.q55_1;
876
+ if (!(this.s56_1.g56_1 == null))
877
+ return this.s56_1.g56_1;
878
+ this.x56_1 = this.s56_1.g56_1;
879
879
  if (!(this.j9().q9(Companion_instance) == null)) {
880
880
  this.d9_1 = 11;
881
- suspendResult = this.c56_1.o55_1(this);
881
+ suspendResult = this.s56_1.e56_1(this);
882
882
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
883
883
  return suspendResult;
884
884
  }
885
885
  continue $sm;
886
886
  } else {
887
- this.f56_1 = this.c56_1.s55_1;
888
- this.e56_1 = null;
887
+ this.v56_1 = this.s56_1.i56_1;
888
+ this.u56_1 = null;
889
889
  this.d9_1 = 2;
890
- suspendResult = this.f56_1.f1k(this.e56_1, this);
890
+ suspendResult = this.v56_1.f1k(this.u56_1, this);
891
891
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
892
892
  return suspendResult;
893
893
  }
@@ -895,19 +895,19 @@
895
895
  }
896
896
 
897
897
  case 2:
898
- this.g56_1 = Unit_instance;
898
+ this.w56_1 = Unit_instance;
899
899
  this.d9_1 = 3;
900
900
  continue $sm;
901
901
  case 3:
902
902
  this.e9_1 = 10;
903
- this.c56_1.r55_1 = true;
903
+ this.s56_1.h56_1 = true;
904
904
  this.d9_1 = 4;
905
905
  continue $sm;
906
906
  case 4:
907
907
  this.e9_1 = 9;
908
- if (equals(this.h56_1, this.c56_1.q55_1)) {
908
+ if (equals(this.x56_1, this.s56_1.g56_1)) {
909
909
  this.d9_1 = 5;
910
- suspendResult = this.c56_1.o55_1(this);
910
+ suspendResult = this.s56_1.e56_1(this);
911
911
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
912
912
  return suspendResult;
913
913
  }
@@ -919,7 +919,7 @@
919
919
 
920
920
  case 5:
921
921
  var ARGUMENT = suspendResult;
922
- this.c56_1.q55_1 = ARGUMENT;
922
+ this.s56_1.g56_1 = ARGUMENT;
923
923
  this.d9_1 = 6;
924
924
  continue $sm;
925
925
  case 6:
@@ -927,36 +927,36 @@
927
927
  continue $sm;
928
928
  case 7:
929
929
  this.e9_1 = 10;
930
- this.c56_1.r55_1 = false;
931
- this.g56_1 = this.c56_1.q55_1;
930
+ this.s56_1.h56_1 = false;
931
+ this.w56_1 = this.s56_1.g56_1;
932
932
  this.e9_1 = 14;
933
933
  this.d9_1 = 8;
934
934
  continue $sm;
935
935
  case 8:
936
- var tmp_0 = this.g56_1;
936
+ var tmp_0 = this.w56_1;
937
937
  this.e9_1 = 14;
938
- this.f56_1.r1j(this.e56_1);
939
- this.d56_1 = tmp_0;
938
+ this.v56_1.r1j(this.u56_1);
939
+ this.t56_1 = tmp_0;
940
940
  this.d9_1 = 12;
941
941
  continue $sm;
942
942
  case 9:
943
943
  this.e9_1 = 10;
944
944
  var t = this.g9_1;
945
- this.c56_1.r55_1 = false;
945
+ this.s56_1.h56_1 = false;
946
946
  throw t;
947
947
  case 10:
948
948
  this.e9_1 = 14;
949
949
  var t_0 = this.g9_1;
950
- this.f56_1.r1j(this.e56_1);
950
+ this.v56_1.r1j(this.u56_1);
951
951
  throw t_0;
952
952
  case 11:
953
953
  var ARGUMENT_0 = suspendResult;
954
- this.c56_1.q55_1 = ARGUMENT_0;
955
- this.d56_1 = this.c56_1.q55_1;
954
+ this.s56_1.g56_1 = ARGUMENT_0;
955
+ this.t56_1 = this.s56_1.g56_1;
956
956
  this.d9_1 = 12;
957
957
  continue $sm;
958
958
  case 12:
959
- return this.d56_1;
959
+ return this.t56_1;
960
960
  case 13:
961
961
  return suspendResult;
962
962
  case 14:
@@ -975,29 +975,29 @@
975
975
  };
976
976
  function AuthTokenHolder(loadTokens, cacheTokens) {
977
977
  cacheTokens = cacheTokens === VOID ? true : cacheTokens;
978
- this.o55_1 = loadTokens;
979
- this.p55_1 = cacheTokens;
980
- this.q55_1 = null;
981
- this.r55_1 = false;
982
- this.s55_1 = Mutex();
983
- this.t55_1 = new SetTokenContext();
978
+ this.e56_1 = loadTokens;
979
+ this.f56_1 = cacheTokens;
980
+ this.g56_1 = null;
981
+ this.h56_1 = false;
982
+ this.i56_1 = Mutex();
983
+ this.j56_1 = new SetTokenContext();
984
984
  }
985
- protoOf(AuthTokenHolder).i56 = function ($completion) {
985
+ protoOf(AuthTokenHolder).y56 = function ($completion) {
986
986
  var tmp = new $loadTokenCOROUTINE$(this, $completion);
987
987
  tmp.f9_1 = Unit_instance;
988
988
  tmp.g9_1 = null;
989
989
  return tmp.l9();
990
990
  };
991
- protoOf(AuthTokenHolder).j56 = function (nonCancellable, block, $completion) {
992
- var prevValue = this.q55_1;
993
- var lockedByLoad = this.r55_1;
991
+ protoOf(AuthTokenHolder).z56 = function (nonCancellable, block, $completion) {
992
+ var prevValue = this.g56_1;
993
+ var lockedByLoad = this.h56_1;
994
994
  var tmp;
995
995
  if (nonCancellable) {
996
996
  // Inline function 'kotlin.js.getCoroutineContext' call
997
- tmp = $completion.j9().gh(NonCancellable_getInstance()).gh(this.t55_1);
997
+ tmp = $completion.j9().gh(NonCancellable_getInstance()).gh(this.j56_1);
998
998
  } else {
999
999
  // Inline function 'kotlin.js.getCoroutineContext' call
1000
- tmp = $completion.j9().gh(this.t55_1);
1000
+ tmp = $completion.j9().gh(this.j56_1);
1001
1001
  }
1002
1002
  var context = tmp;
1003
1003
  return withContext(context, AuthTokenHolder$setToken$slambda_0(this, prevValue, lockedByLoad, block, null), $completion);
@@ -1007,19 +1007,19 @@
1007
1007
  var this_0 = new BearerAuthConfig();
1008
1008
  block(this_0);
1009
1009
  // Inline function 'kotlin.with' call
1010
- _this__u8e3s4.d52_1.j1(new BearerAuthProvider(this_0.k56_1, this_0.l56_1, this_0.m56_1, this_0.n56_1, this_0.o56_1, this_0.p56_1));
1010
+ _this__u8e3s4.t52_1.j1(new BearerAuthProvider(this_0.a57_1, this_0.b57_1, this_0.c57_1, this_0.d57_1, this_0.e57_1, this_0.f57_1));
1011
1011
  }
1012
1012
  function BearerAuthConfig$refreshTokens$slambda(resultContinuation) {
1013
1013
  CoroutineImpl.call(this, resultContinuation);
1014
1014
  }
1015
- protoOf(BearerAuthConfig$refreshTokens$slambda).z56 = function (_this__u8e3s4, $completion) {
1016
- var tmp = this.a57(_this__u8e3s4, $completion);
1015
+ protoOf(BearerAuthConfig$refreshTokens$slambda).p57 = function (_this__u8e3s4, $completion) {
1016
+ var tmp = this.q57(_this__u8e3s4, $completion);
1017
1017
  tmp.f9_1 = Unit_instance;
1018
1018
  tmp.g9_1 = null;
1019
1019
  return tmp.l9();
1020
1020
  };
1021
1021
  protoOf(BearerAuthConfig$refreshTokens$slambda).y9 = function (p1, $completion) {
1022
- return this.z56(p1 instanceof RefreshTokensParams ? p1 : THROW_CCE(), $completion);
1022
+ return this.p57(p1 instanceof RefreshTokensParams ? p1 : THROW_CCE(), $completion);
1023
1023
  };
1024
1024
  protoOf(BearerAuthConfig$refreshTokens$slambda).l9 = function () {
1025
1025
  var suspendResult = this.f9_1;
@@ -1038,28 +1038,28 @@
1038
1038
  }
1039
1039
  while (true);
1040
1040
  };
1041
- protoOf(BearerAuthConfig$refreshTokens$slambda).a57 = function (_this__u8e3s4, completion) {
1041
+ protoOf(BearerAuthConfig$refreshTokens$slambda).q57 = function (_this__u8e3s4, completion) {
1042
1042
  var i = new BearerAuthConfig$refreshTokens$slambda(completion);
1043
- i.y56_1 = _this__u8e3s4;
1043
+ i.o57_1 = _this__u8e3s4;
1044
1044
  return i;
1045
1045
  };
1046
1046
  function BearerAuthConfig$refreshTokens$slambda_0(resultContinuation) {
1047
1047
  var i = new BearerAuthConfig$refreshTokens$slambda(resultContinuation);
1048
1048
  return constructCallableReference(function (_this__u8e3s4, $completion) {
1049
- return i.z56(_this__u8e3s4, $completion);
1049
+ return i.p57(_this__u8e3s4, $completion);
1050
1050
  }, 1);
1051
1051
  }
1052
1052
  function BearerAuthConfig$loadTokens$slambda(resultContinuation) {
1053
1053
  CoroutineImpl.call(this, resultContinuation);
1054
1054
  }
1055
- protoOf(BearerAuthConfig$loadTokens$slambda).j57 = function ($completion) {
1056
- var tmp = this.y2u($completion);
1055
+ protoOf(BearerAuthConfig$loadTokens$slambda).z57 = function ($completion) {
1056
+ var tmp = this.p2v($completion);
1057
1057
  tmp.f9_1 = Unit_instance;
1058
1058
  tmp.g9_1 = null;
1059
1059
  return tmp.l9();
1060
1060
  };
1061
1061
  protoOf(BearerAuthConfig$loadTokens$slambda).x9 = function ($completion) {
1062
- return this.j57($completion);
1062
+ return this.z57($completion);
1063
1063
  };
1064
1064
  protoOf(BearerAuthConfig$loadTokens$slambda).l9 = function () {
1065
1065
  var suspendResult = this.f9_1;
@@ -1078,13 +1078,13 @@
1078
1078
  }
1079
1079
  while (true);
1080
1080
  };
1081
- protoOf(BearerAuthConfig$loadTokens$slambda).y2u = function (completion) {
1081
+ protoOf(BearerAuthConfig$loadTokens$slambda).p2v = function (completion) {
1082
1082
  return new BearerAuthConfig$loadTokens$slambda(completion);
1083
1083
  };
1084
1084
  function BearerAuthConfig$loadTokens$slambda_0(resultContinuation) {
1085
1085
  var i = new BearerAuthConfig$loadTokens$slambda(resultContinuation);
1086
1086
  return constructCallableReference(function ($completion) {
1087
- return i.j57($completion);
1087
+ return i.z57($completion);
1088
1088
  }, 0);
1089
1089
  }
1090
1090
  function BearerAuthConfig$sendWithoutRequest$lambda(it) {
@@ -1092,62 +1092,62 @@
1092
1092
  }
1093
1093
  function BearerAuthConfig() {
1094
1094
  var tmp = this;
1095
- tmp.k56_1 = BearerAuthConfig$refreshTokens$slambda_0(null);
1095
+ tmp.a57_1 = BearerAuthConfig$refreshTokens$slambda_0(null);
1096
1096
  var tmp_0 = this;
1097
- tmp_0.l56_1 = BearerAuthConfig$loadTokens$slambda_0(null);
1097
+ tmp_0.b57_1 = BearerAuthConfig$loadTokens$slambda_0(null);
1098
1098
  var tmp_1 = this;
1099
- tmp_1.m56_1 = BearerAuthConfig$sendWithoutRequest$lambda;
1100
- this.n56_1 = null;
1101
- this.o56_1 = true;
1102
- this.p56_1 = false;
1099
+ tmp_1.c57_1 = BearerAuthConfig$sendWithoutRequest$lambda;
1100
+ this.d57_1 = null;
1101
+ this.e57_1 = true;
1102
+ this.f57_1 = false;
1103
1103
  }
1104
- protoOf(BearerAuthConfig).k57 = function (block) {
1105
- this.k56_1 = block;
1104
+ protoOf(BearerAuthConfig).a58 = function (block) {
1105
+ this.a57_1 = block;
1106
1106
  };
1107
1107
  function RefreshTokensParams(client, response, oldTokens) {
1108
- this.l57_1 = client;
1109
- this.m57_1 = response;
1110
- this.n57_1 = oldTokens;
1108
+ this.b58_1 = client;
1109
+ this.c58_1 = response;
1110
+ this.d58_1 = oldTokens;
1111
1111
  }
1112
- protoOf(RefreshTokensParams).o57 = function (_this__u8e3s4) {
1113
- _this__u8e3s4.z3r_1.c2l(get_AuthCircuitBreaker(), Unit_instance);
1112
+ protoOf(RefreshTokensParams).e58 = function (_this__u8e3s4) {
1113
+ _this__u8e3s4.p3s_1.t2l(get_AuthCircuitBreaker(), Unit_instance);
1114
1114
  };
1115
1115
  function BearerTokens(accessToken, refreshToken) {
1116
- this.p57_1 = accessToken;
1117
- this.q57_1 = refreshToken;
1116
+ this.f58_1 = accessToken;
1117
+ this.g58_1 = refreshToken;
1118
1118
  }
1119
1119
  function BearerAuthProvider$_init_$lambda_lcdiwf(it) {
1120
1120
  return true;
1121
1121
  }
1122
1122
  function BearerAuthProvider$addRequestHeaders$lambda($token, $request) {
1123
1123
  return function ($this$headers) {
1124
- var tokenValue = 'Bearer ' + $token.p57_1;
1124
+ var tokenValue = 'Bearer ' + $token.f58_1;
1125
1125
  var tmp;
1126
- if ($this$headers.i2o('Authorization')) {
1127
- $this$headers.a2q('Authorization');
1126
+ if ($this$headers.z2o('Authorization')) {
1127
+ $this$headers.r2q('Authorization');
1128
1128
  tmp = Unit_instance;
1129
1129
  }
1130
1130
  var tmp_0;
1131
- if (!$request.z3r_1.b2l(get_AuthCircuitBreaker())) {
1132
- $this$headers.m2p('Authorization', tokenValue);
1131
+ if (!$request.p3s_1.s2l(get_AuthCircuitBreaker())) {
1132
+ $this$headers.d2q('Authorization', tokenValue);
1133
1133
  tmp_0 = Unit_instance;
1134
1134
  }
1135
1135
  return Unit_instance;
1136
1136
  };
1137
1137
  }
1138
1138
  function BearerAuthProvider$refreshToken$slambda(this$0, $response, resultContinuation) {
1139
- this.z57_1 = this$0;
1140
- this.a58_1 = $response;
1139
+ this.p58_1 = this$0;
1140
+ this.q58_1 = $response;
1141
1141
  CoroutineImpl.call(this, resultContinuation);
1142
1142
  }
1143
- protoOf(BearerAuthProvider$refreshToken$slambda).j57 = function ($completion) {
1144
- var tmp = this.y2u($completion);
1143
+ protoOf(BearerAuthProvider$refreshToken$slambda).z57 = function ($completion) {
1144
+ var tmp = this.p2v($completion);
1145
1145
  tmp.f9_1 = Unit_instance;
1146
1146
  tmp.g9_1 = null;
1147
1147
  return tmp.l9();
1148
1148
  };
1149
1149
  protoOf(BearerAuthProvider$refreshToken$slambda).x9 = function ($completion) {
1150
- return this.j57($completion);
1150
+ return this.z57($completion);
1151
1151
  };
1152
1152
  protoOf(BearerAuthProvider$refreshToken$slambda).l9 = function () {
1153
1153
  var suspendResult = this.f9_1;
@@ -1157,10 +1157,10 @@
1157
1157
  switch (tmp) {
1158
1158
  case 0:
1159
1159
  this.e9_1 = 3;
1160
- this.b58_1 = this.z57_1.d58_1;
1161
- this.c58_1 = this.a58_1.j3t().p3q_1;
1160
+ this.r58_1 = this.p58_1.t58_1;
1161
+ this.s58_1 = this.q58_1.z3t().f3r_1;
1162
1162
  this.d9_1 = 1;
1163
- suspendResult = this.z57_1.h58_1.i56(this);
1163
+ suspendResult = this.p58_1.x58_1.y56(this);
1164
1164
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1165
1165
  return suspendResult;
1166
1166
  }
@@ -1168,9 +1168,9 @@
1168
1168
  continue $sm;
1169
1169
  case 1:
1170
1170
  var ARGUMENT = suspendResult;
1171
- var ARGUMENT_0 = new RefreshTokensParams(this.c58_1, this.a58_1, ARGUMENT);
1171
+ var ARGUMENT_0 = new RefreshTokensParams(this.s58_1, this.q58_1, ARGUMENT);
1172
1172
  this.d9_1 = 2;
1173
- suspendResult = this.b58_1(ARGUMENT_0, this);
1173
+ suspendResult = this.r58_1(ARGUMENT_0, this);
1174
1174
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1175
1175
  return suspendResult;
1176
1176
  }
@@ -1192,20 +1192,20 @@
1192
1192
  }
1193
1193
  while (true);
1194
1194
  };
1195
- protoOf(BearerAuthProvider$refreshToken$slambda).y2u = function (completion) {
1196
- return new BearerAuthProvider$refreshToken$slambda(this.z57_1, this.a58_1, completion);
1195
+ protoOf(BearerAuthProvider$refreshToken$slambda).p2v = function (completion) {
1196
+ return new BearerAuthProvider$refreshToken$slambda(this.p58_1, this.q58_1, completion);
1197
1197
  };
1198
1198
  function BearerAuthProvider$refreshToken$slambda_0(this$0, $response, resultContinuation) {
1199
1199
  var i = new BearerAuthProvider$refreshToken$slambda(this$0, $response, resultContinuation);
1200
1200
  return constructCallableReference(function ($completion) {
1201
- return i.j57($completion);
1201
+ return i.z57($completion);
1202
1202
  }, 0);
1203
1203
  }
1204
1204
  function $addRequestHeadersCOROUTINE$(_this__u8e3s4, request, authHeader, resultContinuation) {
1205
1205
  CoroutineImpl.call(this, resultContinuation);
1206
- this.q58_1 = _this__u8e3s4;
1207
- this.r58_1 = request;
1208
- this.s58_1 = authHeader;
1206
+ this.g59_1 = _this__u8e3s4;
1207
+ this.h59_1 = request;
1208
+ this.i59_1 = authHeader;
1209
1209
  }
1210
1210
  protoOf($addRequestHeadersCOROUTINE$).l9 = function () {
1211
1211
  var suspendResult = this.f9_1;
@@ -1216,7 +1216,7 @@
1216
1216
  case 0:
1217
1217
  this.e9_1 = 2;
1218
1218
  this.d9_1 = 1;
1219
- suspendResult = this.q58_1.h58_1.i56(this);
1219
+ suspendResult = this.g59_1.x58_1.y56(this);
1220
1220
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1221
1221
  return suspendResult;
1222
1222
  }
@@ -1232,7 +1232,7 @@
1232
1232
  }
1233
1233
 
1234
1234
  var token = tmp_0;
1235
- headers(this.r58_1, BearerAuthProvider$addRequestHeaders$lambda(token, this.r58_1));
1235
+ headers(this.h59_1, BearerAuthProvider$addRequestHeaders$lambda(token, this.h59_1));
1236
1236
  return Unit_instance;
1237
1237
  case 2:
1238
1238
  throw this.g9_1;
@@ -1250,8 +1250,8 @@
1250
1250
  };
1251
1251
  function $refreshTokenCOROUTINE$(_this__u8e3s4, response, resultContinuation) {
1252
1252
  CoroutineImpl.call(this, resultContinuation);
1253
- this.b59_1 = _this__u8e3s4;
1254
- this.c59_1 = response;
1253
+ this.r59_1 = _this__u8e3s4;
1254
+ this.s59_1 = response;
1255
1255
  }
1256
1256
  protoOf($refreshTokenCOROUTINE$).l9 = function () {
1257
1257
  var suspendResult = this.f9_1;
@@ -1262,7 +1262,7 @@
1262
1262
  case 0:
1263
1263
  this.e9_1 = 2;
1264
1264
  this.d9_1 = 1;
1265
- suspendResult = this.b59_1.h58_1.j56(this.b59_1.g58_1, BearerAuthProvider$refreshToken$slambda_0(this.b59_1, this.c59_1, null), this);
1265
+ suspendResult = this.r59_1.x58_1.z56(this.r59_1.w58_1, BearerAuthProvider$refreshToken$slambda_0(this.r59_1, this.s59_1, null), this);
1266
1266
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1267
1267
  return suspendResult;
1268
1268
  }
@@ -1295,48 +1295,48 @@
1295
1295
  sendWithoutRequestCallback = tmp;
1296
1296
  cacheTokens = cacheTokens === VOID ? true : cacheTokens;
1297
1297
  nonCancellableRefresh = nonCancellableRefresh === VOID ? false : nonCancellableRefresh;
1298
- this.d58_1 = refreshTokens;
1299
- this.e58_1 = sendWithoutRequestCallback;
1300
- this.f58_1 = realm;
1301
- this.g58_1 = nonCancellableRefresh;
1302
- this.h58_1 = new AuthTokenHolder(loadTokens, cacheTokens);
1298
+ this.t58_1 = refreshTokens;
1299
+ this.u58_1 = sendWithoutRequestCallback;
1300
+ this.v58_1 = realm;
1301
+ this.w58_1 = nonCancellableRefresh;
1302
+ this.x58_1 = new AuthTokenHolder(loadTokens, cacheTokens);
1303
1303
  }
1304
- protoOf(BearerAuthProvider).w54 = function () {
1304
+ protoOf(BearerAuthProvider).m55 = function () {
1305
1305
  // Inline function 'kotlin.error' call
1306
1306
  var message = 'Deprecated';
1307
1307
  throw IllegalStateException_init_$Create$(toString(message));
1308
1308
  };
1309
- protoOf(BearerAuthProvider).z53 = function (request) {
1310
- return this.e58_1(request);
1309
+ protoOf(BearerAuthProvider).p54 = function (request) {
1310
+ return this.u58_1(request);
1311
1311
  };
1312
- protoOf(BearerAuthProvider).g52 = function (auth) {
1313
- if (!(auth.l37_1 === 'Bearer')) {
1314
- get_LOGGER().m2u('Bearer Auth Provider is not applicable for ' + auth.toString());
1312
+ protoOf(BearerAuthProvider).w52 = function (auth) {
1313
+ if (!(auth.b38_1 === 'Bearer')) {
1314
+ get_LOGGER().d2v('Bearer Auth Provider is not applicable for ' + auth.toString());
1315
1315
  return false;
1316
1316
  }
1317
1317
  var tmp;
1318
- if (this.f58_1 == null) {
1318
+ if (this.v58_1 == null) {
1319
1319
  tmp = true;
1320
1320
  } else {
1321
1321
  if (!(auth instanceof Parameterized)) {
1322
1322
  tmp = false;
1323
1323
  } else {
1324
- tmp = auth.l2x('realm') == this.f58_1;
1324
+ tmp = auth.c2y('realm') == this.v58_1;
1325
1325
  }
1326
1326
  }
1327
1327
  var isSameRealm = tmp;
1328
1328
  if (!isSameRealm) {
1329
- get_LOGGER().m2u('Bearer Auth Provider is not applicable for this realm');
1329
+ get_LOGGER().d2v('Bearer Auth Provider is not applicable for this realm');
1330
1330
  }
1331
1331
  return isSameRealm;
1332
1332
  };
1333
- protoOf(BearerAuthProvider).v54 = function (request, authHeader, $completion) {
1333
+ protoOf(BearerAuthProvider).l55 = function (request, authHeader, $completion) {
1334
1334
  var tmp = new $addRequestHeadersCOROUTINE$(this, request, authHeader, $completion);
1335
1335
  tmp.f9_1 = Unit_instance;
1336
1336
  tmp.g9_1 = null;
1337
1337
  return tmp.l9();
1338
1338
  };
1339
- protoOf(BearerAuthProvider).u54 = function (response, $completion) {
1339
+ protoOf(BearerAuthProvider).k55 = function (response, $completion) {
1340
1340
  var tmp = new $refreshTokenCOROUTINE$(this, response, $completion);
1341
1341
  tmp.f9_1 = Unit_instance;
1342
1342
  tmp.g9_1 = null;
@@ -1347,7 +1347,7 @@
1347
1347
  protoOf(SetTokenContext).fh = fold;
1348
1348
  protoOf(SetTokenContext).eh = minusKey;
1349
1349
  protoOf(SetTokenContext).gh = plus;
1350
- protoOf(BearerAuthProvider).a54 = addRequestHeaders$default;
1350
+ protoOf(BearerAuthProvider).q54 = addRequestHeaders$default;
1351
1351
  //endregion
1352
1352
  //region block: init
1353
1353
  Companion_instance = new Companion();