@doordeck/doordeck-headless-sdk 0.149.0 → 0.152.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,63 +1,63 @@
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.$_$.n9;
5
- var Unit_instance = kotlin_kotlin.$_$.f5;
6
- var protoOf = kotlin_kotlin.$_$.lb;
7
- var THROW_CCE = kotlin_kotlin.$_$.ff;
4
+ var CoroutineImpl = kotlin_kotlin.$_$.h9;
5
+ var Unit_instance = kotlin_kotlin.$_$.z4;
6
+ var protoOf = kotlin_kotlin.$_$.zb;
7
+ var THROW_CCE = kotlin_kotlin.$_$.yf;
8
8
  var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.g1;
9
9
  var Companion_getInstance = kotlin_io_ktor_ktor_http.$_$.j;
10
- var initMetadataForLambda = kotlin_kotlin.$_$.qa;
11
- var VOID = kotlin_kotlin.$_$.h;
12
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
13
- var initMetadataForClass = kotlin_kotlin.$_$.la;
10
+ var initMetadataForLambda = kotlin_kotlin.$_$.eb;
11
+ var VOID = kotlin_kotlin.$_$.b;
12
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
13
+ var initMetadataForClass = kotlin_kotlin.$_$.za;
14
14
  var atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
15
- var toList = kotlin_kotlin.$_$.k8;
15
+ var toList = kotlin_kotlin.$_$.e8;
16
16
  var ConcurrentMap = kotlin_io_ktor_ktor_utils.$_$.d;
17
- var KtMutableMap = kotlin_kotlin.$_$.s5;
18
- var getKClass = kotlin_kotlin.$_$.f;
19
- var arrayOf = kotlin_kotlin.$_$.tf;
20
- var createKType = kotlin_kotlin.$_$.c;
21
- var createInvariantKTypeProjection = kotlin_kotlin.$_$.a;
22
- var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.t4;
17
+ var KtMutableMap = kotlin_kotlin.$_$.m5;
18
+ var getKClass = kotlin_kotlin.$_$.qc;
19
+ var arrayOf = kotlin_kotlin.$_$.mg;
20
+ var createKType = kotlin_kotlin.$_$.oc;
21
+ var createInvariantKTypeProjection = kotlin_kotlin.$_$.mc;
22
+ var PrimitiveClasses_getInstance = kotlin_kotlin.$_$.n4;
23
23
  var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.m;
24
24
  var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.o;
25
25
  var Send_instance = kotlin_io_ktor_ktor_client_core.$_$.b;
26
26
  var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
27
- var collectionSizeOrDefault = kotlin_kotlin.$_$.a6;
28
- var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.o;
27
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.u5;
28
+ var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.i;
29
29
  var parseAuthorizationHeaders = kotlin_io_ktor_ktor_http.$_$.l;
30
- var flatten = kotlin_kotlin.$_$.d7;
31
- var emptyList = kotlin_kotlin.$_$.u6;
32
- var to = kotlin_kotlin.$_$.jg;
30
+ var flatten = kotlin_kotlin.$_$.x6;
31
+ var emptyList = kotlin_kotlin.$_$.o6;
32
+ var to = kotlin_kotlin.$_$.ch;
33
33
  var get_isTraceEnabled = kotlin_io_ktor_ktor_utils.$_$.i;
34
- var first = kotlin_kotlin.$_$.c7;
35
- var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.y;
34
+ var first = kotlin_kotlin.$_$.w6;
35
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.s;
36
36
  var OnRequestContext = kotlin_io_ktor_ktor_client_core.$_$.j;
37
37
  var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.z;
38
- var toString = kotlin_kotlin.$_$.pb;
39
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x8;
38
+ var toString = kotlin_kotlin.$_$.cc;
39
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.r8;
40
40
  var Sender = kotlin_io_ktor_ktor_client_core.$_$.k;
41
- var HashSet_init_$Create$ = kotlin_kotlin.$_$.w;
42
- var initMetadataForCoroutine = kotlin_kotlin.$_$.na;
41
+ var HashSet_init_$Create$ = kotlin_kotlin.$_$.q;
42
+ var initMetadataForCoroutine = kotlin_kotlin.$_$.bb;
43
43
  var KtorSimpleLogger = kotlin_io_ktor_ktor_utils.$_$.h;
44
- var Unit = kotlin_kotlin.$_$.qf;
44
+ var Unit = kotlin_kotlin.$_$.jg;
45
45
  var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.n;
46
- var KtList = kotlin_kotlin.$_$.m5;
47
- var initMetadataForInterface = kotlin_kotlin.$_$.pa;
48
- var initMetadataForCompanion = kotlin_kotlin.$_$.ma;
49
- var get = kotlin_kotlin.$_$.j9;
50
- var fold = kotlin_kotlin.$_$.i9;
51
- var minusKey = kotlin_kotlin.$_$.k9;
52
- var plus = kotlin_kotlin.$_$.m9;
53
- var Element = kotlin_kotlin.$_$.l9;
46
+ var KtList = kotlin_kotlin.$_$.g5;
47
+ var initMetadataForInterface = kotlin_kotlin.$_$.db;
48
+ var initMetadataForCompanion = kotlin_kotlin.$_$.ab;
49
+ var get = kotlin_kotlin.$_$.d9;
50
+ var fold = kotlin_kotlin.$_$.c9;
51
+ var minusKey = kotlin_kotlin.$_$.e9;
52
+ var plus = kotlin_kotlin.$_$.g9;
53
+ var Element = kotlin_kotlin.$_$.f9;
54
54
  var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
55
- var isInterface = kotlin_kotlin.$_$.ab;
56
- var equals = kotlin_kotlin.$_$.ea;
55
+ var isInterface = kotlin_kotlin.$_$.ob;
56
+ var equals = kotlin_kotlin.$_$.sa;
57
57
  var withContext = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
58
58
  var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
59
59
  var headers = kotlin_io_ktor_ktor_client_core.$_$.c1;
60
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.x1;
60
+ var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
61
61
  var Parameterized = kotlin_io_ktor_ktor_http.$_$.k;
62
62
  //endregion
63
63
  //region block: pre-declaration
@@ -69,11 +69,11 @@
69
69
  initMetadataForCoroutine($invoke$refreshTokenIfNeededCOROUTINE$, CoroutineImpl);
70
70
  initMetadataForCoroutine($invoke$executeWithNewTokenCOROUTINE$, CoroutineImpl);
71
71
  function sendWithoutRequest(request) {
72
- return this.w4v();
72
+ return this.q4k();
73
73
  }
74
74
  function addRequestHeaders$default(request, authHeader, $completion, $super) {
75
75
  authHeader = authHeader === VOID ? null : authHeader;
76
- return $super === VOID ? this.v4v(request, authHeader, $completion) : $super.v4v.call(this, request, authHeader, $completion);
76
+ return $super === VOID ? this.p4k(request, authHeader, $completion) : $super.p4k.call(this, request, authHeader, $completion);
77
77
  }
78
78
  function refreshToken(response, $completion) {
79
79
  return true;
@@ -118,25 +118,25 @@
118
118
  function AuthConfig$isUnauthorizedResponse$slambda(resultContinuation) {
119
119
  CoroutineImpl.call(this, resultContinuation);
120
120
  }
121
- protoOf(AuthConfig$isUnauthorizedResponse$slambda).r4s = function (it, $completion) {
122
- var tmp = this.g3t(it, $completion);
123
- tmp.p9_1 = Unit_instance;
124
- tmp.q9_1 = null;
125
- return tmp.v9();
121
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).w4h = function (it, $completion) {
122
+ var tmp = this.g3m(it, $completion);
123
+ tmp.w8_1 = Unit_instance;
124
+ tmp.x8_1 = null;
125
+ return tmp.c9();
126
126
  };
127
- protoOf(AuthConfig$isUnauthorizedResponse$slambda).ja = function (p1, $completion) {
128
- return this.r4s(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
127
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).o9 = function (p1, $completion) {
128
+ return this.w4h(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
129
129
  };
130
- protoOf(AuthConfig$isUnauthorizedResponse$slambda).v9 = function () {
131
- var suspendResult = this.p9_1;
130
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).c9 = function () {
131
+ var suspendResult = this.w8_1;
132
132
  $sm: do
133
133
  try {
134
- var tmp = this.n9_1;
134
+ var tmp = this.u8_1;
135
135
  if (tmp === 0) {
136
- this.o9_1 = 1;
137
- return this.q4s_1.v36().equals(Companion_getInstance().m32_1);
136
+ this.v8_1 = 1;
137
+ return this.v4h_1.j33().equals(Companion_getInstance().a2z_1);
138
138
  } else if (tmp === 1) {
139
- throw this.q9_1;
139
+ throw this.x8_1;
140
140
  }
141
141
  } catch ($p) {
142
142
  var e = $p;
@@ -144,15 +144,15 @@
144
144
  }
145
145
  while (true);
146
146
  };
147
- protoOf(AuthConfig$isUnauthorizedResponse$slambda).g3t = function (it, completion) {
147
+ protoOf(AuthConfig$isUnauthorizedResponse$slambda).g3m = function (it, completion) {
148
148
  var i = new AuthConfig$isUnauthorizedResponse$slambda(completion);
149
- i.q4s_1 = it;
149
+ i.v4h_1 = it;
150
150
  return i;
151
151
  };
152
152
  function AuthConfig$isUnauthorizedResponse$slambda_0(resultContinuation) {
153
153
  var i = new AuthConfig$isUnauthorizedResponse$slambda(resultContinuation);
154
154
  var l = function (it, $completion) {
155
- return i.r4s(it, $completion);
155
+ return i.w4h(it, $completion);
156
156
  };
157
157
  l.$arity = 1;
158
158
  return l;
@@ -160,12 +160,12 @@
160
160
  function AuthConfig() {
161
161
  var tmp = this;
162
162
  // Inline function 'kotlin.collections.mutableListOf' call
163
- tmp.s4s_1 = ArrayList_init_$Create$();
163
+ tmp.x4h_1 = ArrayList_init_$Create$();
164
164
  var tmp_0 = this;
165
- tmp_0.t4s_1 = AuthConfig$isUnauthorizedResponse$slambda_0(null);
165
+ tmp_0.y4h_1 = AuthConfig$isUnauthorizedResponse$slambda_0(null);
166
166
  }
167
167
  function AtomicCounter() {
168
- this.u4s_1 = atomic$int$1(0);
168
+ this.z4h_1 = atomic$int$1(0);
169
169
  }
170
170
  function AuthConfig$_init_$ref_ms3pb9() {
171
171
  var l = function () {
@@ -176,8 +176,8 @@
176
176
  }
177
177
  function Auth$lambda($this$createClientPlugin) {
178
178
  _init_properties_Auth_kt__9ob1dk();
179
- var providers = toList($this$createClientPlugin.g3s_1.s4s_1);
180
- $this$createClientPlugin.f3s_1.u3h_1.j2l(get_AuthProvidersKey(), providers);
179
+ var providers = toList($this$createClientPlugin.g3l_1.x4h_1);
180
+ $this$createClientPlugin.f3l_1.h3b_1.b2i(get_AuthProvidersKey(), providers);
181
181
  var tokenVersions = new ConcurrentMap();
182
182
  // Inline function 'io.ktor.util.AttributeKey' call
183
183
  var name = 'ProviderVersionAttributeKey';
@@ -186,7 +186,7 @@
186
186
  // Inline function 'io.ktor.util.reflect.typeOfOrNull' call
187
187
  var tmp_0;
188
188
  try {
189
- tmp_0 = createKType(getKClass(KtMutableMap), arrayOf([createInvariantKTypeProjection(createKType(getKClass(AuthProvider), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().tc(), arrayOf([]), false))]), false);
189
+ tmp_0 = createKType(getKClass(KtMutableMap), arrayOf([createInvariantKTypeProjection(createKType(getKClass(AuthProvider), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().xb(), arrayOf([]), false))]), false);
190
190
  } catch ($p) {
191
191
  var tmp_1;
192
192
  if ($p instanceof Error) {
@@ -200,13 +200,13 @@
200
200
  var tmp$ret$0 = tmp_0;
201
201
  var tmp$ret$1 = new TypeInfo(tmp, tmp$ret$0);
202
202
  var tokenVersionsAttributeKey = new AttributeKey(name, tmp$ret$1);
203
- $this$createClientPlugin.s4a(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
203
+ $this$createClientPlugin.v41(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
204
204
  var tmp_2 = Send_instance;
205
- $this$createClientPlugin.j3s(tmp_2, Auth$lambda$slambda_2($this$createClientPlugin, providers, tokenVersions, tokenVersionsAttributeKey, null));
205
+ $this$createClientPlugin.j3l(tmp_2, Auth$lambda$slambda_2($this$createClientPlugin, providers, tokenVersions, tokenVersionsAttributeKey, null));
206
206
  return Unit_instance;
207
207
  }
208
208
  function invoke$findProvider(call, candidateProviders) {
209
- var headerValues = call.r3i().z30().n2p(HttpHeaders_getInstance().y2z_1);
209
+ var headerValues = call.d3c().n2x().c2m(HttpHeaders_getInstance().m2w_1);
210
210
  var tmp;
211
211
  if (headerValues == null) {
212
212
  tmp = null;
@@ -214,11 +214,11 @@
214
214
  // Inline function 'kotlin.collections.map' call
215
215
  // Inline function 'kotlin.collections.mapTo' call
216
216
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(headerValues, 10));
217
- var _iterator__ex2g4s = headerValues.p();
218
- while (_iterator__ex2g4s.q()) {
219
- var item = _iterator__ex2g4s.r();
217
+ var _iterator__ex2g4s = headerValues.r();
218
+ while (_iterator__ex2g4s.s()) {
219
+ var item = _iterator__ex2g4s.t();
220
220
  var tmp$ret$0 = parseAuthorizationHeaders(item);
221
- destination.k(tmp$ret$0);
221
+ destination.p(tmp$ret$0);
222
222
  }
223
223
  tmp = destination;
224
224
  }
@@ -226,31 +226,31 @@
226
226
  var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : flatten(tmp1_safe_receiver);
227
227
  var authHeaders = tmp2_elvis_lhs == null ? emptyList() : tmp2_elvis_lhs;
228
228
  var tmp_0;
229
- if (authHeaders.h() && candidateProviders.s() === 1) {
229
+ if (authHeaders.j() && candidateProviders.u() === 1) {
230
230
  tmp_0 = to(first(candidateProviders), null);
231
- } else if (authHeaders.h()) {
231
+ } else if (authHeaders.j()) {
232
232
  // Inline function 'io.ktor.util.logging.trace' call
233
233
  var this_0 = get_LOGGER();
234
234
  if (get_isTraceEnabled(this_0)) {
235
- var tmp$ret$3 = 'Unauthorized response ' + call.z3k().i3l().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
236
- this_0.i2u(tmp$ret$3);
235
+ var tmp$ret$3 = 'Unauthorized response ' + call.l3e().u3e().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
236
+ this_0.s2q(tmp$ret$3);
237
237
  }
238
238
  tmp_0 = null;
239
239
  } else {
240
240
  var tmp$ret$11;
241
241
  $l$block_0: {
242
242
  // Inline function 'kotlin.collections.firstNotNullOfOrNull' call
243
- var _iterator__ex2g4s_0 = authHeaders.p();
244
- while (_iterator__ex2g4s_0.q()) {
245
- var element = _iterator__ex2g4s_0.r();
243
+ var _iterator__ex2g4s_0 = authHeaders.r();
244
+ while (_iterator__ex2g4s_0.s()) {
245
+ var element = _iterator__ex2g4s_0.t();
246
246
  // Inline function 'kotlin.collections.find' call
247
247
  var tmp$ret$6;
248
248
  $l$block: {
249
249
  // Inline function 'kotlin.collections.firstOrNull' call
250
- var _iterator__ex2g4s_1 = candidateProviders.p();
251
- while (_iterator__ex2g4s_1.q()) {
252
- var element_0 = _iterator__ex2g4s_1.r();
253
- if (element_0.v4s(element)) {
250
+ var _iterator__ex2g4s_1 = candidateProviders.r();
251
+ while (_iterator__ex2g4s_1.s()) {
252
+ var element_0 = _iterator__ex2g4s_1.t();
253
+ if (element_0.a4i(element)) {
254
254
  tmp$ret$6 = element_0;
255
255
  break $l$block;
256
256
  }
@@ -279,15 +279,15 @@
279
279
  }
280
280
  function invoke$refreshTokenIfNeeded(tokenVersions, tokenVersionsAttributeKey, call, provider, request, $completion) {
281
281
  var tmp = new $invoke$refreshTokenIfNeededCOROUTINE$(tokenVersions, tokenVersionsAttributeKey, call, provider, request, $completion);
282
- tmp.p9_1 = Unit_instance;
283
- tmp.q9_1 = null;
284
- return tmp.v9();
282
+ tmp.w8_1 = Unit_instance;
283
+ tmp.x8_1 = null;
284
+ return tmp.c9();
285
285
  }
286
286
  function invoke$executeWithNewToken(_this__u8e3s4, call, provider, oldRequest, authHeader, $completion) {
287
287
  var tmp = new $invoke$executeWithNewTokenCOROUTINE$(_this__u8e3s4, call, provider, oldRequest, authHeader, $completion);
288
- tmp.p9_1 = Unit_instance;
289
- tmp.q9_1 = null;
290
- return tmp.v9();
288
+ tmp.w8_1 = Unit_instance;
289
+ tmp.x8_1 = null;
290
+ return tmp.c9();
291
291
  }
292
292
  function Auth$lambda$slambda$lambda() {
293
293
  return new AtomicCounter();
@@ -297,170 +297,159 @@
297
297
  return LinkedHashMap_init_$Create$();
298
298
  }
299
299
  function Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
300
- this.i4u_1 = $providers;
301
- this.j4u_1 = $tokenVersions;
302
- this.k4u_1 = $tokenVersionsAttributeKey;
300
+ this.m4j_1 = $providers;
301
+ this.n4j_1 = $tokenVersions;
302
+ this.o4j_1 = $tokenVersionsAttributeKey;
303
303
  CoroutineImpl.call(this, resultContinuation);
304
304
  }
305
- protoOf(Auth$lambda$slambda).f4b = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
306
- var tmp = this.g4b($this$onRequest, request, _unused_var__etf5q3, $completion);
307
- tmp.p9_1 = Unit_instance;
308
- tmp.q9_1 = null;
309
- return tmp.v9();
305
+ protoOf(Auth$lambda$slambda).i42 = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
306
+ var tmp = this.j42($this$onRequest, request, _unused_var__etf5q3, $completion);
307
+ tmp.w8_1 = Unit_instance;
308
+ tmp.x8_1 = null;
309
+ return tmp.c9();
310
310
  };
311
- protoOf(Auth$lambda$slambda).h4b = function (p1, p2, p3, $completion) {
311
+ protoOf(Auth$lambda$slambda).k42 = function (p1, p2, p3, $completion) {
312
312
  var tmp = p1 instanceof OnRequestContext ? p1 : THROW_CCE();
313
313
  var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
314
- return this.f4b(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
314
+ return this.i42(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
315
315
  };
316
- protoOf(Auth$lambda$slambda).v9 = function () {
317
- var suspendResult = this.p9_1;
316
+ protoOf(Auth$lambda$slambda).c9 = function () {
317
+ var suspendResult = this.w8_1;
318
318
  $sm: do
319
319
  try {
320
- var tmp = this.n9_1;
320
+ var tmp = this.u8_1;
321
321
  switch (tmp) {
322
322
  case 0:
323
- this.o9_1 = 4;
324
- var tmp_0 = this;
325
- var tmp0 = this.i4u_1;
323
+ this.v8_1 = 4;
324
+ var tmp0 = this.m4j_1;
326
325
  var destination = ArrayList_init_$Create$();
327
- var _iterator__ex2g4s = tmp0.p();
328
- while (_iterator__ex2g4s.q()) {
329
- var element = _iterator__ex2g4s.r();
330
- if (element.w4u(this.m4u_1)) {
331
- destination.k(element);
326
+ var _iterator__ex2g4s = tmp0.r();
327
+ while (_iterator__ex2g4s.s()) {
328
+ var element = _iterator__ex2g4s.t();
329
+ if (element.t4j(this.q4j_1)) {
330
+ destination.p(element);
332
331
  }
333
332
  }
334
333
 
335
- tmp_0.o4u_1 = destination;
336
- this.p4u_1 = this.o4u_1;
337
- this.q4u_1 = this.p4u_1.p();
338
- this.n9_1 = 1;
334
+ this.s4j_1 = destination.r();
335
+ this.u8_1 = 1;
339
336
  continue $sm;
340
337
  case 1:
341
- if (!this.q4u_1.q()) {
342
- this.n9_1 = 3;
338
+ if (!this.s4j_1.s()) {
339
+ this.u8_1 = 3;
343
340
  continue $sm;
344
341
  }
345
342
 
346
- this.r4u_1 = this.q4u_1.r();
347
- var tmp_1 = this;
348
- tmp_1.s4u_1 = this.r4u_1;
349
- this.t4u_1 = this.s4u_1;
343
+ var element_0 = this.s4j_1.t();
350
344
  var this_0 = get_LOGGER();
351
345
  if (get_isTraceEnabled(this_0)) {
352
- this_0.i2u('Adding auth headers for ' + this.m4u_1.r3j_1.toString() + ' from provider ' + toString(this.t4u_1));
346
+ this_0.s2q('Adding auth headers for ' + this.q4j_1.d3d_1.toString() + ' from provider ' + toString(element_0));
353
347
  }
354
348
 
355
- var tmp_2 = this;
356
- tmp_2.u4u_1 = this.j4u_1.x2t(this.t4u_1, Auth$lambda$slambda$lambda);
357
- var tmp_3 = this;
358
- tmp_3.v4u_1 = this.m4u_1.w3j_1.l2l(this.k4u_1, Auth$lambda$slambda$lambda_0);
359
- var tmp0_0 = this.v4u_1;
360
- var tmp2 = this.t4u_1;
361
- var value = this.u4u_1.u4s_1.kotlinx$atomicfu$value;
362
- tmp0_0.p2(tmp2, value);
363
- this.n9_1 = 2;
364
- suspendResult = this.t4u_1.x4u(this.m4u_1, VOID, this);
349
+ var tokenVersion = this.n4j_1.h2q(element_0, Auth$lambda$slambda$lambda);
350
+ var requestTokenVersions = this.q4j_1.i3d_1.d2i(this.o4j_1, Auth$lambda$slambda$lambda_0);
351
+ var value = tokenVersion.z4h_1.kotlinx$atomicfu$value;
352
+ requestTokenVersions.g2(element_0, value);
353
+ this.u8_1 = 2;
354
+ suspendResult = element_0.u4j(this.q4j_1, VOID, this);
365
355
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
366
356
  return suspendResult;
367
357
  }
368
358
 
369
359
  continue $sm;
370
360
  case 2:
371
- this.n9_1 = 1;
361
+ this.u8_1 = 1;
372
362
  continue $sm;
373
363
  case 3:
374
364
  return Unit_instance;
375
365
  case 4:
376
- throw this.q9_1;
366
+ throw this.x8_1;
377
367
  }
378
368
  } catch ($p) {
379
369
  var e = $p;
380
- if (this.o9_1 === 4) {
370
+ if (this.v8_1 === 4) {
381
371
  throw e;
382
372
  } else {
383
- this.n9_1 = this.o9_1;
384
- this.q9_1 = e;
373
+ this.u8_1 = this.v8_1;
374
+ this.x8_1 = e;
385
375
  }
386
376
  }
387
377
  while (true);
388
378
  };
389
- protoOf(Auth$lambda$slambda).g4b = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
390
- var i = new Auth$lambda$slambda(this.i4u_1, this.j4u_1, this.k4u_1, completion);
391
- i.l4u_1 = $this$onRequest;
392
- i.m4u_1 = request;
393
- i.n4u_1 = _unused_var__etf5q3;
379
+ protoOf(Auth$lambda$slambda).j42 = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
380
+ var i = new Auth$lambda$slambda(this.m4j_1, this.n4j_1, this.o4j_1, completion);
381
+ i.p4j_1 = $this$onRequest;
382
+ i.q4j_1 = request;
383
+ i.r4j_1 = _unused_var__etf5q3;
394
384
  return i;
395
385
  };
396
386
  function Auth$lambda$slambda_0($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
397
387
  var i = new Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
398
388
  var l = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
399
- return i.f4b($this$onRequest, request, _unused_var__etf5q3, $completion);
389
+ return i.i42($this$onRequest, request, _unused_var__etf5q3, $completion);
400
390
  };
401
391
  l.$arity = 3;
402
392
  return l;
403
393
  }
404
394
  function Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
405
- this.g4v_1 = $this_createClientPlugin;
406
- this.h4v_1 = $providers;
407
- this.i4v_1 = $tokenVersions;
408
- this.j4v_1 = $tokenVersionsAttributeKey;
395
+ this.d4k_1 = $this_createClientPlugin;
396
+ this.e4k_1 = $providers;
397
+ this.f4k_1 = $tokenVersions;
398
+ this.g4k_1 = $tokenVersionsAttributeKey;
409
399
  CoroutineImpl.call(this, resultContinuation);
410
400
  }
411
- protoOf(Auth$lambda$slambda_1).v40 = function ($this$on, originalRequest, $completion) {
412
- var tmp = this.w40($this$on, originalRequest, $completion);
413
- tmp.p9_1 = Unit_instance;
414
- tmp.q9_1 = null;
415
- return tmp.v9();
401
+ protoOf(Auth$lambda$slambda_1).l3s = function ($this$on, originalRequest, $completion) {
402
+ var tmp = this.m3s($this$on, originalRequest, $completion);
403
+ tmp.w8_1 = Unit_instance;
404
+ tmp.x8_1 = null;
405
+ return tmp.c9();
416
406
  };
417
- protoOf(Auth$lambda$slambda_1).ka = function (p1, p2, $completion) {
407
+ protoOf(Auth$lambda$slambda_1).p9 = function (p1, p2, $completion) {
418
408
  var tmp = p1 instanceof Sender ? p1 : THROW_CCE();
419
- return this.v40(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
409
+ return this.l3s(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
420
410
  };
421
- protoOf(Auth$lambda$slambda_1).v9 = function () {
422
- var suspendResult = this.p9_1;
411
+ protoOf(Auth$lambda$slambda_1).c9 = function () {
412
+ var suspendResult = this.w8_1;
423
413
  $sm: do
424
414
  try {
425
- var tmp = this.n9_1;
415
+ var tmp = this.u8_1;
426
416
  switch (tmp) {
427
417
  case 0:
428
- this.o9_1 = 10;
429
- this.n9_1 = 1;
430
- suspendResult = this.k4v_1.z40(this.l4v_1, this);
418
+ this.v8_1 = 10;
419
+ this.u8_1 = 1;
420
+ suspendResult = this.h4k_1.p3s(this.i4k_1, this);
431
421
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
432
422
  return suspendResult;
433
423
  }
434
424
 
435
425
  continue $sm;
436
426
  case 1:
437
- this.m4v_1 = suspendResult;
438
- this.n9_1 = 2;
439
- suspendResult = this.g4v_1.g3s_1.t4s_1(this.m4v_1.r3i(), this);
427
+ this.n4k_1 = suspendResult;
428
+ this.u8_1 = 2;
429
+ suspendResult = this.d4k_1.g3l_1.y4h_1(this.n4k_1.d3c(), this);
440
430
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
441
431
  return suspendResult;
442
432
  }
443
433
 
444
434
  continue $sm;
445
435
  case 2:
446
- this.n4v_1 = suspendResult;
447
- if (!this.n4v_1) {
448
- return this.m4v_1;
436
+ if (!suspendResult) {
437
+ return this.n4k_1;
449
438
  } else {
450
- this.n9_1 = 3;
439
+ this.u8_1 = 3;
451
440
  continue $sm;
452
441
  }
453
442
 
454
443
  case 3:
455
- if (this.m4v_1.z3k().a3l().i2l(get_AuthCircuitBreaker()))
456
- return this.m4v_1;
457
- this.o4v_1 = this.m4v_1;
458
- this.p4v_1 = HashSet_init_$Create$(this.h4v_1);
459
- this.n9_1 = 4;
444
+ if (this.n4k_1.l3e().m3e().a2i(get_AuthCircuitBreaker()))
445
+ return this.n4k_1;
446
+ this.j4k_1 = this.n4k_1;
447
+ this.m4k_1 = HashSet_init_$Create$(this.e4k_1);
448
+ this.u8_1 = 4;
460
449
  continue $sm;
461
450
  case 4:
462
- this.n9_1 = 5;
463
- suspendResult = this.g4v_1.g3s_1.t4s_1(this.o4v_1.r3i(), this);
451
+ this.u8_1 = 5;
452
+ suspendResult = this.d4k_1.g3l_1.y4h_1(this.j4k_1.d3c(), this);
464
453
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
465
454
  return suspendResult;
466
455
  }
@@ -468,92 +457,90 @@
468
457
  continue $sm;
469
458
  case 5:
470
459
  if (!suspendResult) {
471
- this.n9_1 = 9;
460
+ this.u8_1 = 9;
472
461
  continue $sm;
473
462
  }
474
463
 
475
464
  var this_0 = get_LOGGER();
476
465
  if (get_isTraceEnabled(this_0)) {
477
- this_0.i2u('Unauthorized response for ' + this.o4v_1.z3k().i3l().toString());
466
+ this_0.s2q('Unauthorized response for ' + this.j4k_1.l3e().u3e().toString());
478
467
  }
479
468
 
480
- var tmp_0 = this;
481
- var tmp0_elvis_lhs = invoke$findProvider(this.o4v_1, this.p4v_1);
482
- var tmp_1;
469
+ var tmp0_elvis_lhs = invoke$findProvider(this.j4k_1, this.m4k_1);
470
+ var tmp_0;
483
471
  if (tmp0_elvis_lhs == null) {
484
- this.k4v_1;
472
+ this.h4k_1;
485
473
  var this_1 = get_LOGGER();
486
474
  if (get_isTraceEnabled(this_1)) {
487
- this_1.i2u('Can not find auth provider for ' + this.o4v_1.z3k().i3l().toString());
475
+ this_1.s2q('Can not find auth provider for ' + this.j4k_1.l3e().u3e().toString());
488
476
  }
489
- return this.o4v_1;
477
+ return this.j4k_1;
490
478
  } else {
491
- tmp_1 = tmp0_elvis_lhs;
479
+ tmp_0 = tmp0_elvis_lhs;
492
480
  }
493
481
 
494
- tmp_0.q4v_1 = tmp_1;
495
- this.r4v_1 = this.q4v_1.dh();
496
- this.s4v_1 = this.q4v_1.eh();
482
+ var _destruct__k2r9zo = tmp_0;
483
+ this.l4k_1 = _destruct__k2r9zo.ig();
484
+ this.k4k_1 = _destruct__k2r9zo.jg();
497
485
  var this_2 = get_LOGGER();
498
486
  if (get_isTraceEnabled(this_2)) {
499
- this_2.i2u('Using provider ' + toString(this.r4v_1) + ' for ' + this.o4v_1.z3k().i3l().toString());
487
+ this_2.s2q('Using provider ' + toString(this.l4k_1) + ' for ' + this.j4k_1.l3e().u3e().toString());
500
488
  }
501
489
 
502
- this.p4v_1.d2(this.r4v_1);
503
- this.n9_1 = 6;
504
- suspendResult = invoke$refreshTokenIfNeeded(this.i4v_1, this.j4v_1, this.o4v_1, this.r4v_1, this.l4v_1, this);
490
+ this.m4k_1.p2(this.l4k_1);
491
+ this.u8_1 = 6;
492
+ suspendResult = invoke$refreshTokenIfNeeded(this.f4k_1, this.g4k_1, this.j4k_1, this.l4k_1, this.i4k_1, this);
505
493
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
506
494
  return suspendResult;
507
495
  }
508
496
 
509
497
  continue $sm;
510
498
  case 6:
511
- this.t4v_1 = suspendResult;
512
- if (!this.t4v_1) {
513
- return this.o4v_1;
499
+ if (!suspendResult) {
500
+ return this.j4k_1;
514
501
  } else {
515
- this.n9_1 = 7;
502
+ this.u8_1 = 7;
516
503
  continue $sm;
517
504
  }
518
505
 
519
506
  case 7:
520
- this.n9_1 = 8;
521
- suspendResult = invoke$executeWithNewToken(this.k4v_1, this.o4v_1, this.r4v_1, this.l4v_1, this.s4v_1, this);
507
+ this.u8_1 = 8;
508
+ suspendResult = invoke$executeWithNewToken(this.h4k_1, this.j4k_1, this.l4k_1, this.i4k_1, this.k4k_1, this);
522
509
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
523
510
  return suspendResult;
524
511
  }
525
512
 
526
513
  continue $sm;
527
514
  case 8:
528
- this.o4v_1 = suspendResult;
529
- this.n9_1 = 4;
515
+ this.j4k_1 = suspendResult;
516
+ this.u8_1 = 4;
530
517
  continue $sm;
531
518
  case 9:
532
- return this.o4v_1;
519
+ return this.j4k_1;
533
520
  case 10:
534
- throw this.q9_1;
521
+ throw this.x8_1;
535
522
  }
536
523
  } catch ($p) {
537
524
  var e = $p;
538
- if (this.o9_1 === 10) {
525
+ if (this.v8_1 === 10) {
539
526
  throw e;
540
527
  } else {
541
- this.n9_1 = this.o9_1;
542
- this.q9_1 = e;
528
+ this.u8_1 = this.v8_1;
529
+ this.x8_1 = e;
543
530
  }
544
531
  }
545
532
  while (true);
546
533
  };
547
- protoOf(Auth$lambda$slambda_1).w40 = function ($this$on, originalRequest, completion) {
548
- var i = new Auth$lambda$slambda_1(this.g4v_1, this.h4v_1, this.i4v_1, this.j4v_1, completion);
549
- i.k4v_1 = $this$on;
550
- i.l4v_1 = originalRequest;
534
+ protoOf(Auth$lambda$slambda_1).m3s = function ($this$on, originalRequest, completion) {
535
+ var i = new Auth$lambda$slambda_1(this.d4k_1, this.e4k_1, this.f4k_1, this.g4k_1, completion);
536
+ i.h4k_1 = $this$on;
537
+ i.i4k_1 = originalRequest;
551
538
  return i;
552
539
  };
553
540
  function Auth$lambda$slambda_2($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
554
541
  var i = new Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
555
542
  var l = function ($this$on, originalRequest, $completion) {
556
- return i.v40($this$on, originalRequest, $completion);
543
+ return i.l3s($this$on, originalRequest, $completion);
557
544
  };
558
545
  l.$arity = 2;
559
546
  return l;
@@ -569,111 +556,110 @@
569
556
  }
570
557
  function $invoke$refreshTokenIfNeededCOROUTINE$(tokenVersions, tokenVersionsAttributeKey, call, provider, request, resultContinuation) {
571
558
  CoroutineImpl.call(this, resultContinuation);
572
- this.e4t_1 = tokenVersions;
573
- this.f4t_1 = tokenVersionsAttributeKey;
574
- this.g4t_1 = call;
575
- this.h4t_1 = provider;
576
- this.i4t_1 = request;
559
+ this.j4i_1 = tokenVersions;
560
+ this.k4i_1 = tokenVersionsAttributeKey;
561
+ this.l4i_1 = call;
562
+ this.m4i_1 = provider;
563
+ this.n4i_1 = request;
577
564
  }
578
- protoOf($invoke$refreshTokenIfNeededCOROUTINE$).v9 = function () {
579
- var suspendResult = this.p9_1;
565
+ protoOf($invoke$refreshTokenIfNeededCOROUTINE$).c9 = function () {
566
+ var suspendResult = this.w8_1;
580
567
  $sm: do
581
568
  try {
582
- var tmp = this.n9_1;
569
+ var tmp = this.u8_1;
583
570
  switch (tmp) {
584
571
  case 0:
585
- this.o9_1 = 4;
572
+ this.v8_1 = 4;
586
573
  var tmp_0 = this;
587
- tmp_0.j4t_1 = this.e4t_1.x2t(this.h4t_1, Auth$lambda$refreshTokenIfNeeded$lambda);
574
+ tmp_0.o4i_1 = this.j4i_1.h2q(this.m4i_1, Auth$lambda$refreshTokenIfNeeded$lambda);
588
575
  var tmp_1 = this;
589
- tmp_1.k4t_1 = this.i4t_1.w3j_1.l2l(this.f4t_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
590
- this.l4t_1 = this.k4t_1.m2(this.h4t_1);
591
- if (!(this.l4t_1 == null) && this.l4t_1 >= this.j4t_1.u4s_1.kotlinx$atomicfu$value) {
576
+ tmp_1.p4i_1 = this.n4i_1.i3d_1.d2i(this.k4i_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
577
+ var requestTokenVersion = this.p4i_1.o2(this.m4i_1);
578
+ if (!(requestTokenVersion == null) && requestTokenVersion >= this.o4i_1.z4h_1.kotlinx$atomicfu$value) {
592
579
  var this_0 = get_LOGGER();
593
580
  if (get_isTraceEnabled(this_0)) {
594
- this_0.i2u('Refreshing token for ' + this.g4t_1.z3k().i3l().toString());
581
+ this_0.s2q('Refreshing token for ' + this.l4i_1.l3e().u3e().toString());
595
582
  }
596
- this.n9_1 = 1;
597
- suspendResult = this.h4t_1.u4v(this.g4t_1.r3i(), this);
583
+ this.u8_1 = 1;
584
+ suspendResult = this.m4i_1.o4k(this.l4i_1.d3c(), this);
598
585
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
599
586
  return suspendResult;
600
587
  }
601
588
  continue $sm;
602
589
  } else {
603
- this.n9_1 = 3;
590
+ this.u8_1 = 3;
604
591
  continue $sm;
605
592
  }
606
593
 
607
594
  case 1:
608
- var ARGUMENT = suspendResult;
609
- if (!ARGUMENT) {
595
+ if (!suspendResult) {
610
596
  var this_1 = get_LOGGER();
611
597
  if (get_isTraceEnabled(this_1)) {
612
- this_1.i2u('Refreshing token failed for ' + this.g4t_1.z3k().i3l().toString());
598
+ this_1.s2q('Refreshing token failed for ' + this.l4i_1.l3e().u3e().toString());
613
599
  }
614
600
  return false;
615
601
  } else {
616
- var tmp0 = this.k4t_1;
617
- var tmp2 = this.h4t_1;
618
- var value = this.j4t_1.u4s_1.atomicfu$incrementAndGet();
619
- tmp0.p2(tmp2, value);
620
- this.n9_1 = 2;
602
+ var tmp0 = this.p4i_1;
603
+ var tmp2 = this.m4i_1;
604
+ var value = this.o4i_1.z4h_1.atomicfu$incrementAndGet();
605
+ tmp0.g2(tmp2, value);
606
+ this.u8_1 = 2;
621
607
  continue $sm;
622
608
  }
623
609
 
624
610
  case 2:
625
- this.n9_1 = 3;
611
+ this.u8_1 = 3;
626
612
  continue $sm;
627
613
  case 3:
628
614
  return true;
629
615
  case 4:
630
- throw this.q9_1;
616
+ throw this.x8_1;
631
617
  }
632
618
  } catch ($p) {
633
619
  var e = $p;
634
- if (this.o9_1 === 4) {
620
+ if (this.v8_1 === 4) {
635
621
  throw e;
636
622
  } else {
637
- this.n9_1 = this.o9_1;
638
- this.q9_1 = e;
623
+ this.u8_1 = this.v8_1;
624
+ this.x8_1 = e;
639
625
  }
640
626
  }
641
627
  while (true);
642
628
  };
643
629
  function $invoke$executeWithNewTokenCOROUTINE$(_this__u8e3s4, call, provider, oldRequest, authHeader, resultContinuation) {
644
630
  CoroutineImpl.call(this, resultContinuation);
645
- this.u4t_1 = _this__u8e3s4;
646
- this.v4t_1 = call;
647
- this.w4t_1 = provider;
648
- this.x4t_1 = oldRequest;
649
- this.y4t_1 = authHeader;
631
+ this.y4i_1 = _this__u8e3s4;
632
+ this.z4i_1 = call;
633
+ this.a4j_1 = provider;
634
+ this.b4j_1 = oldRequest;
635
+ this.c4j_1 = authHeader;
650
636
  }
651
- protoOf($invoke$executeWithNewTokenCOROUTINE$).v9 = function () {
652
- var suspendResult = this.p9_1;
637
+ protoOf($invoke$executeWithNewTokenCOROUTINE$).c9 = function () {
638
+ var suspendResult = this.w8_1;
653
639
  $sm: do
654
640
  try {
655
- var tmp = this.n9_1;
641
+ var tmp = this.u8_1;
656
642
  switch (tmp) {
657
643
  case 0:
658
- this.o9_1 = 3;
659
- this.z4t_1 = new HttpRequestBuilder();
660
- this.z4t_1.s3p(this.x4t_1);
661
- this.n9_1 = 1;
662
- suspendResult = this.w4t_1.v4v(this.z4t_1, this.y4t_1, this);
644
+ this.v8_1 = 3;
645
+ this.d4j_1 = new HttpRequestBuilder();
646
+ this.d4j_1.v3i(this.b4j_1);
647
+ this.u8_1 = 1;
648
+ suspendResult = this.a4j_1.p4k(this.d4j_1, this.c4j_1, this);
663
649
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
664
650
  return suspendResult;
665
651
  }
666
652
 
667
653
  continue $sm;
668
654
  case 1:
669
- this.z4t_1.w3j_1.j2l(get_AuthCircuitBreaker(), Unit_instance);
655
+ this.d4j_1.i3d_1.b2i(get_AuthCircuitBreaker(), Unit_instance);
670
656
  var this_0 = get_LOGGER();
671
657
  if (get_isTraceEnabled(this_0)) {
672
- this_0.i2u('Sending new request to ' + this.v4t_1.z3k().i3l().toString());
658
+ this_0.s2q('Sending new request to ' + this.z4i_1.l3e().u3e().toString());
673
659
  }
674
660
 
675
- this.n9_1 = 2;
676
- suspendResult = this.u4t_1.z40(this.z4t_1, this);
661
+ this.u8_1 = 2;
662
+ suspendResult = this.y4i_1.p3s(this.d4j_1, this);
677
663
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
678
664
  return suspendResult;
679
665
  }
@@ -682,15 +668,15 @@
682
668
  case 2:
683
669
  return suspendResult;
684
670
  case 3:
685
- throw this.q9_1;
671
+ throw this.x8_1;
686
672
  }
687
673
  } catch ($p) {
688
674
  var e = $p;
689
- if (this.o9_1 === 3) {
675
+ if (this.v8_1 === 3) {
690
676
  throw e;
691
677
  } else {
692
- this.n9_1 = this.o9_1;
693
- this.q9_1 = e;
678
+ this.u8_1 = this.v8_1;
679
+ this.x8_1 = e;
694
680
  }
695
681
  }
696
682
  while (true);
@@ -756,32 +742,32 @@
756
742
  }
757
743
  function SetTokenContext() {
758
744
  }
759
- protoOf(SetTokenContext).x = function () {
745
+ protoOf(SetTokenContext).z = function () {
760
746
  return Companion_instance;
761
747
  };
762
748
  function AuthTokenHolder$setToken$slambda($block, resultContinuation) {
763
- this.f4w_1 = $block;
749
+ this.z4k_1 = $block;
764
750
  CoroutineImpl.call(this, resultContinuation);
765
751
  }
766
- protoOf(AuthTokenHolder$setToken$slambda).h4w = function ($this$withContext, $completion) {
767
- var tmp = this.r1y($this$withContext, $completion);
768
- tmp.p9_1 = Unit_instance;
769
- tmp.q9_1 = null;
770
- return tmp.v9();
752
+ protoOf(AuthTokenHolder$setToken$slambda).b4l = function ($this$withContext, $completion) {
753
+ var tmp = this.j1v($this$withContext, $completion);
754
+ tmp.w8_1 = Unit_instance;
755
+ tmp.x8_1 = null;
756
+ return tmp.c9();
771
757
  };
772
- protoOf(AuthTokenHolder$setToken$slambda).ja = function (p1, $completion) {
773
- return this.h4w((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
758
+ protoOf(AuthTokenHolder$setToken$slambda).o9 = function (p1, $completion) {
759
+ return this.b4l((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
774
760
  };
775
- protoOf(AuthTokenHolder$setToken$slambda).v9 = function () {
776
- var suspendResult = this.p9_1;
761
+ protoOf(AuthTokenHolder$setToken$slambda).c9 = function () {
762
+ var suspendResult = this.w8_1;
777
763
  $sm: do
778
764
  try {
779
- var tmp = this.n9_1;
765
+ var tmp = this.u8_1;
780
766
  switch (tmp) {
781
767
  case 0:
782
- this.o9_1 = 2;
783
- this.n9_1 = 1;
784
- suspendResult = this.f4w_1(this);
768
+ this.v8_1 = 2;
769
+ this.u8_1 = 1;
770
+ suspendResult = this.z4k_1(this);
785
771
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
786
772
  return suspendResult;
787
773
  }
@@ -790,62 +776,60 @@
790
776
  case 1:
791
777
  return suspendResult;
792
778
  case 2:
793
- throw this.q9_1;
779
+ throw this.x8_1;
794
780
  }
795
781
  } catch ($p) {
796
782
  var e = $p;
797
- if (this.o9_1 === 2) {
783
+ if (this.v8_1 === 2) {
798
784
  throw e;
799
785
  } else {
800
- this.n9_1 = this.o9_1;
801
- this.q9_1 = e;
786
+ this.u8_1 = this.v8_1;
787
+ this.x8_1 = e;
802
788
  }
803
789
  }
804
790
  while (true);
805
791
  };
806
- protoOf(AuthTokenHolder$setToken$slambda).r1y = function ($this$withContext, completion) {
807
- var i = new AuthTokenHolder$setToken$slambda(this.f4w_1, completion);
808
- i.g4w_1 = $this$withContext;
792
+ protoOf(AuthTokenHolder$setToken$slambda).j1v = function ($this$withContext, completion) {
793
+ var i = new AuthTokenHolder$setToken$slambda(this.z4k_1, completion);
794
+ i.a4l_1 = $this$withContext;
809
795
  return i;
810
796
  };
811
797
  function AuthTokenHolder$setToken$slambda_0($block, resultContinuation) {
812
798
  var i = new AuthTokenHolder$setToken$slambda($block, resultContinuation);
813
799
  var l = function ($this$withContext, $completion) {
814
- return i.h4w($this$withContext, $completion);
800
+ return i.b4l($this$withContext, $completion);
815
801
  };
816
802
  l.$arity = 1;
817
803
  return l;
818
804
  }
819
805
  function $loadTokenCOROUTINE$(_this__u8e3s4, resultContinuation) {
820
806
  CoroutineImpl.call(this, resultContinuation);
821
- this.q4w_1 = _this__u8e3s4;
807
+ this.k4l_1 = _this__u8e3s4;
822
808
  }
823
- protoOf($loadTokenCOROUTINE$).v9 = function () {
824
- var suspendResult = this.p9_1;
809
+ protoOf($loadTokenCOROUTINE$).c9 = function () {
810
+ var suspendResult = this.w8_1;
825
811
  $sm: do
826
812
  try {
827
- var tmp = this.n9_1;
813
+ var tmp = this.u8_1;
828
814
  switch (tmp) {
829
815
  case 0:
830
- this.o9_1 = 12;
831
- if (!(this.q4w_1.z4w_1 == null))
832
- return this.q4w_1.z4w_1;
833
- this.r4w_1 = this.q4w_1.z4w_1;
834
- if (!(this.t9().aa(Companion_instance) == null)) {
835
- this.n9_1 = 10;
836
- suspendResult = this.q4w_1.y4w_1(this);
816
+ this.v8_1 = 12;
817
+ if (!(this.k4l_1.r4l_1 == null))
818
+ return this.k4l_1.r4l_1;
819
+ this.p4l_1 = this.k4l_1.r4l_1;
820
+ if (!(this.a9().h9(Companion_instance) == null)) {
821
+ this.u8_1 = 10;
822
+ suspendResult = this.k4l_1.q4l_1(this);
837
823
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
838
824
  return suspendResult;
839
825
  }
840
826
  continue $sm;
841
827
  } else {
828
+ this.n4l_1 = this.k4l_1.t4l_1;
842
829
  var tmp_0 = this;
843
- tmp_0.t4w_1 = this.q4w_1.b4x_1;
844
- this.u4w_1 = this.t4w_1;
845
- var tmp_1 = this;
846
- tmp_1.v4w_1 = null;
847
- this.n9_1 = 1;
848
- suspendResult = this.u4w_1.e1g(this.v4w_1, this);
830
+ tmp_0.m4l_1 = null;
831
+ this.u8_1 = 1;
832
+ suspendResult = this.n4l_1.l1h(this.m4l_1, this);
849
833
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
850
834
  return suspendResult;
851
835
  }
@@ -853,211 +837,208 @@
853
837
  }
854
838
 
855
839
  case 1:
856
- this.w4w_1 = Unit_instance;
857
- this.n9_1 = 2;
840
+ this.o4l_1 = Unit_instance;
841
+ this.u8_1 = 2;
858
842
  continue $sm;
859
843
  case 2:
860
- this.o9_1 = 9;
861
- this.q4w_1.a4x_1 = true;
862
- this.n9_1 = 3;
844
+ this.v8_1 = 9;
845
+ this.k4l_1.s4l_1 = true;
846
+ this.u8_1 = 3;
863
847
  continue $sm;
864
848
  case 3:
865
- this.o9_1 = 8;
866
- if (equals(this.r4w_1, this.q4w_1.z4w_1)) {
867
- this.n9_1 = 4;
868
- suspendResult = this.q4w_1.y4w_1(this);
849
+ this.v8_1 = 8;
850
+ if (equals(this.p4l_1, this.k4l_1.r4l_1)) {
851
+ this.u8_1 = 4;
852
+ suspendResult = this.k4l_1.q4l_1(this);
869
853
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
870
854
  return suspendResult;
871
855
  }
872
856
  continue $sm;
873
857
  } else {
874
- this.n9_1 = 5;
858
+ this.u8_1 = 5;
875
859
  continue $sm;
876
860
  }
877
861
 
878
862
  case 4:
879
863
  var ARGUMENT = suspendResult;
880
- this.q4w_1.z4w_1 = ARGUMENT;
881
- this.n9_1 = 5;
864
+ this.k4l_1.r4l_1 = ARGUMENT;
865
+ this.u8_1 = 5;
882
866
  continue $sm;
883
867
  case 5:
884
- this.x4w_1 = Unit_instance;
885
- this.n9_1 = 6;
868
+ this.u8_1 = 6;
886
869
  continue $sm;
887
870
  case 6:
888
- this.o9_1 = 9;
889
- this.q4w_1.a4x_1 = false;
890
- this.w4w_1 = this.q4w_1.z4w_1;
891
- this.o9_1 = 12;
892
- this.n9_1 = 7;
871
+ this.v8_1 = 9;
872
+ this.k4l_1.s4l_1 = false;
873
+ this.o4l_1 = this.k4l_1.r4l_1;
874
+ this.v8_1 = 12;
875
+ this.u8_1 = 7;
893
876
  continue $sm;
894
877
  case 7:
895
- var tmp_2 = this.w4w_1;
896
- this.o9_1 = 12;
897
- this.u4w_1.q1f(this.v4w_1);
898
- this.s4w_1 = tmp_2;
899
- this.n9_1 = 11;
878
+ var tmp_1 = this.o4l_1;
879
+ this.v8_1 = 12;
880
+ this.n4l_1.x1g(this.m4l_1);
881
+ this.l4l_1 = tmp_1;
882
+ this.u8_1 = 11;
900
883
  continue $sm;
901
884
  case 8:
902
- this.o9_1 = 9;
903
- var t = this.q9_1;
904
- this.q4w_1.a4x_1 = false;
885
+ this.v8_1 = 9;
886
+ var t = this.x8_1;
887
+ this.k4l_1.s4l_1 = false;
905
888
  throw t;
906
889
  case 9:
907
- this.o9_1 = 12;
908
- var t_0 = this.q9_1;
909
- this.u4w_1.q1f(this.v4w_1);
890
+ this.v8_1 = 12;
891
+ var t_0 = this.x8_1;
892
+ this.n4l_1.x1g(this.m4l_1);
910
893
  throw t_0;
911
894
  case 10:
912
895
  var ARGUMENT_0 = suspendResult;
913
- this.q4w_1.z4w_1 = ARGUMENT_0;
914
- this.s4w_1 = this.q4w_1.z4w_1;
915
- this.n9_1 = 11;
896
+ this.k4l_1.r4l_1 = ARGUMENT_0;
897
+ this.l4l_1 = this.k4l_1.r4l_1;
898
+ this.u8_1 = 11;
916
899
  continue $sm;
917
900
  case 11:
918
- return this.s4w_1;
901
+ return this.l4l_1;
919
902
  case 12:
920
- throw this.q9_1;
903
+ throw this.x8_1;
921
904
  }
922
905
  } catch ($p) {
923
906
  var e = $p;
924
- if (this.o9_1 === 12) {
907
+ if (this.v8_1 === 12) {
925
908
  throw e;
926
909
  } else {
927
- this.n9_1 = this.o9_1;
928
- this.q9_1 = e;
910
+ this.u8_1 = this.v8_1;
911
+ this.x8_1 = e;
929
912
  }
930
913
  }
931
914
  while (true);
932
915
  };
933
916
  function $setTokenCOROUTINE$(_this__u8e3s4, block, resultContinuation) {
934
917
  CoroutineImpl.call(this, resultContinuation);
935
- this.l4x_1 = _this__u8e3s4;
936
- this.m4x_1 = block;
918
+ this.d4m_1 = _this__u8e3s4;
919
+ this.e4m_1 = block;
937
920
  }
938
- protoOf($setTokenCOROUTINE$).v9 = function () {
939
- var suspendResult = this.p9_1;
921
+ protoOf($setTokenCOROUTINE$).c9 = function () {
922
+ var suspendResult = this.w8_1;
940
923
  $sm: do
941
924
  try {
942
- var tmp = this.n9_1;
925
+ var tmp = this.u8_1;
943
926
  switch (tmp) {
944
927
  case 0:
945
- this.o9_1 = 7;
946
- this.n4x_1 = this.l4x_1.z4w_1;
947
- this.o4x_1 = this.l4x_1.a4x_1;
928
+ this.v8_1 = 7;
929
+ this.j4m_1 = this.d4m_1.r4l_1;
930
+ this.i4m_1 = this.d4m_1.s4l_1;
931
+ this.g4m_1 = this.d4m_1.t4l_1;
948
932
  var tmp_0 = this;
949
- tmp_0.p4x_1 = this.l4x_1.b4x_1;
950
- this.q4x_1 = this.p4x_1;
951
- var tmp_1 = this;
952
- tmp_1.r4x_1 = null;
953
- this.n9_1 = 1;
954
- suspendResult = this.q4x_1.e1g(this.r4x_1, this);
933
+ tmp_0.f4m_1 = null;
934
+ this.u8_1 = 1;
935
+ suspendResult = this.g4m_1.l1h(this.f4m_1, this);
955
936
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
956
937
  return suspendResult;
957
938
  }
958
939
 
959
940
  continue $sm;
960
941
  case 1:
961
- this.s4x_1 = Unit_instance;
962
- this.n9_1 = 2;
942
+ this.h4m_1 = Unit_instance;
943
+ this.u8_1 = 2;
963
944
  continue $sm;
964
945
  case 2:
965
- this.o9_1 = 6;
966
- if (equals(this.n4x_1, this.l4x_1.z4w_1) || this.o4x_1) {
967
- this.n9_1 = 3;
968
- var tmp_2 = this.t9().bi(this.l4x_1.c4x_1);
969
- suspendResult = withContext(tmp_2, AuthTokenHolder$setToken$slambda_0(this.m4x_1, null), this);
946
+ this.v8_1 = 6;
947
+ if (equals(this.j4m_1, this.d4m_1.r4l_1) || this.i4m_1) {
948
+ this.u8_1 = 3;
949
+ var tmp_1 = this.a9().gh(this.d4m_1.u4l_1);
950
+ suspendResult = withContext(tmp_1, AuthTokenHolder$setToken$slambda_0(this.e4m_1, null), this);
970
951
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
971
952
  return suspendResult;
972
953
  }
973
954
  continue $sm;
974
955
  } else {
975
- this.n9_1 = 4;
956
+ this.u8_1 = 4;
976
957
  continue $sm;
977
958
  }
978
959
 
979
960
  case 3:
980
961
  var ARGUMENT = suspendResult;
981
- this.l4x_1.z4w_1 = ARGUMENT;
982
- this.n9_1 = 4;
962
+ this.d4m_1.r4l_1 = ARGUMENT;
963
+ this.u8_1 = 4;
983
964
  continue $sm;
984
965
  case 4:
985
- this.s4x_1 = this.l4x_1.z4w_1;
986
- this.o9_1 = 7;
987
- this.n9_1 = 5;
966
+ this.h4m_1 = this.d4m_1.r4l_1;
967
+ this.v8_1 = 7;
968
+ this.u8_1 = 5;
988
969
  continue $sm;
989
970
  case 5:
990
- var tmp_3 = this.s4x_1;
991
- this.o9_1 = 7;
992
- this.q4x_1.q1f(this.r4x_1);
993
- return tmp_3;
971
+ var tmp_2 = this.h4m_1;
972
+ this.v8_1 = 7;
973
+ this.g4m_1.x1g(this.f4m_1);
974
+ return tmp_2;
994
975
  case 6:
995
- this.o9_1 = 7;
996
- var t = this.q9_1;
997
- this.q4x_1.q1f(this.r4x_1);
976
+ this.v8_1 = 7;
977
+ var t = this.x8_1;
978
+ this.g4m_1.x1g(this.f4m_1);
998
979
  throw t;
999
980
  case 7:
1000
- throw this.q9_1;
981
+ throw this.x8_1;
1001
982
  }
1002
983
  } catch ($p) {
1003
984
  var e = $p;
1004
- if (this.o9_1 === 7) {
985
+ if (this.v8_1 === 7) {
1005
986
  throw e;
1006
987
  } else {
1007
- this.n9_1 = this.o9_1;
1008
- this.q9_1 = e;
988
+ this.u8_1 = this.v8_1;
989
+ this.x8_1 = e;
1009
990
  }
1010
991
  }
1011
992
  while (true);
1012
993
  };
1013
994
  function AuthTokenHolder(loadTokens) {
1014
- this.y4w_1 = loadTokens;
1015
- this.z4w_1 = null;
1016
- this.a4x_1 = false;
1017
- this.b4x_1 = Mutex();
1018
- this.c4x_1 = new SetTokenContext();
995
+ this.q4l_1 = loadTokens;
996
+ this.r4l_1 = null;
997
+ this.s4l_1 = false;
998
+ this.t4l_1 = Mutex();
999
+ this.u4l_1 = new SetTokenContext();
1019
1000
  }
1020
- protoOf(AuthTokenHolder).t4x = function ($completion) {
1001
+ protoOf(AuthTokenHolder).k4m = function ($completion) {
1021
1002
  var tmp = new $loadTokenCOROUTINE$(this, $completion);
1022
- tmp.p9_1 = Unit_instance;
1023
- tmp.q9_1 = null;
1024
- return tmp.v9();
1003
+ tmp.w8_1 = Unit_instance;
1004
+ tmp.x8_1 = null;
1005
+ return tmp.c9();
1025
1006
  };
1026
- protoOf(AuthTokenHolder).u4x = function (block, $completion) {
1007
+ protoOf(AuthTokenHolder).l4m = function (block, $completion) {
1027
1008
  var tmp = new $setTokenCOROUTINE$(this, block, $completion);
1028
- tmp.p9_1 = Unit_instance;
1029
- tmp.q9_1 = null;
1030
- return tmp.v9();
1009
+ tmp.w8_1 = Unit_instance;
1010
+ tmp.x8_1 = null;
1011
+ return tmp.c9();
1031
1012
  };
1032
1013
  function bearer(_this__u8e3s4, block) {
1033
1014
  // Inline function 'kotlin.apply' call
1034
1015
  var this_0 = new BearerAuthConfig();
1035
1016
  block(this_0);
1036
1017
  // Inline function 'kotlin.with' call
1037
- _this__u8e3s4.s4s_1.k(new BearerAuthProvider(this_0.v4x_1, this_0.w4x_1, this_0.x4x_1, this_0.y4x_1));
1018
+ _this__u8e3s4.x4h_1.p(new BearerAuthProvider(this_0.m4m_1, this_0.n4m_1, this_0.o4m_1, this_0.p4m_1));
1038
1019
  }
1039
1020
  function BearerAuthConfig$refreshTokens$slambda(resultContinuation) {
1040
1021
  CoroutineImpl.call(this, resultContinuation);
1041
1022
  }
1042
- protoOf(BearerAuthConfig$refreshTokens$slambda).i4y = function (_this__u8e3s4, $completion) {
1043
- var tmp = this.j4y(_this__u8e3s4, $completion);
1044
- tmp.p9_1 = Unit_instance;
1045
- tmp.q9_1 = null;
1046
- return tmp.v9();
1023
+ protoOf(BearerAuthConfig$refreshTokens$slambda).z4m = function (_this__u8e3s4, $completion) {
1024
+ var tmp = this.a4n(_this__u8e3s4, $completion);
1025
+ tmp.w8_1 = Unit_instance;
1026
+ tmp.x8_1 = null;
1027
+ return tmp.c9();
1047
1028
  };
1048
- protoOf(BearerAuthConfig$refreshTokens$slambda).ja = function (p1, $completion) {
1049
- return this.i4y(p1 instanceof RefreshTokensParams ? p1 : THROW_CCE(), $completion);
1029
+ protoOf(BearerAuthConfig$refreshTokens$slambda).o9 = function (p1, $completion) {
1030
+ return this.z4m(p1 instanceof RefreshTokensParams ? p1 : THROW_CCE(), $completion);
1050
1031
  };
1051
- protoOf(BearerAuthConfig$refreshTokens$slambda).v9 = function () {
1052
- var suspendResult = this.p9_1;
1032
+ protoOf(BearerAuthConfig$refreshTokens$slambda).c9 = function () {
1033
+ var suspendResult = this.w8_1;
1053
1034
  $sm: do
1054
1035
  try {
1055
- var tmp = this.n9_1;
1036
+ var tmp = this.u8_1;
1056
1037
  if (tmp === 0) {
1057
- this.o9_1 = 1;
1038
+ this.v8_1 = 1;
1058
1039
  return null;
1059
1040
  } else if (tmp === 1) {
1060
- throw this.q9_1;
1041
+ throw this.x8_1;
1061
1042
  }
1062
1043
  } catch ($p) {
1063
1044
  var e = $p;
@@ -1065,15 +1046,15 @@
1065
1046
  }
1066
1047
  while (true);
1067
1048
  };
1068
- protoOf(BearerAuthConfig$refreshTokens$slambda).j4y = function (_this__u8e3s4, completion) {
1049
+ protoOf(BearerAuthConfig$refreshTokens$slambda).a4n = function (_this__u8e3s4, completion) {
1069
1050
  var i = new BearerAuthConfig$refreshTokens$slambda(completion);
1070
- i.h4y_1 = _this__u8e3s4;
1051
+ i.y4m_1 = _this__u8e3s4;
1071
1052
  return i;
1072
1053
  };
1073
1054
  function BearerAuthConfig$refreshTokens$slambda_0(resultContinuation) {
1074
1055
  var i = new BearerAuthConfig$refreshTokens$slambda(resultContinuation);
1075
1056
  var l = function (_this__u8e3s4, $completion) {
1076
- return i.i4y(_this__u8e3s4, $completion);
1057
+ return i.z4m(_this__u8e3s4, $completion);
1077
1058
  };
1078
1059
  l.$arity = 1;
1079
1060
  return l;
@@ -1081,25 +1062,25 @@
1081
1062
  function BearerAuthConfig$loadTokens$slambda(resultContinuation) {
1082
1063
  CoroutineImpl.call(this, resultContinuation);
1083
1064
  }
1084
- protoOf(BearerAuthConfig$loadTokens$slambda).s4y = function ($completion) {
1085
- var tmp = this.t4y($completion);
1086
- tmp.p9_1 = Unit_instance;
1087
- tmp.q9_1 = null;
1088
- return tmp.v9();
1065
+ protoOf(BearerAuthConfig$loadTokens$slambda).j4n = function ($completion) {
1066
+ var tmp = this.k4n($completion);
1067
+ tmp.w8_1 = Unit_instance;
1068
+ tmp.x8_1 = null;
1069
+ return tmp.c9();
1089
1070
  };
1090
- protoOf(BearerAuthConfig$loadTokens$slambda).ob = function ($completion) {
1091
- return this.s4y($completion);
1071
+ protoOf(BearerAuthConfig$loadTokens$slambda).la = function ($completion) {
1072
+ return this.j4n($completion);
1092
1073
  };
1093
- protoOf(BearerAuthConfig$loadTokens$slambda).v9 = function () {
1094
- var suspendResult = this.p9_1;
1074
+ protoOf(BearerAuthConfig$loadTokens$slambda).c9 = function () {
1075
+ var suspendResult = this.w8_1;
1095
1076
  $sm: do
1096
1077
  try {
1097
- var tmp = this.n9_1;
1078
+ var tmp = this.u8_1;
1098
1079
  if (tmp === 0) {
1099
- this.o9_1 = 1;
1080
+ this.v8_1 = 1;
1100
1081
  return null;
1101
1082
  } else if (tmp === 1) {
1102
- throw this.q9_1;
1083
+ throw this.x8_1;
1103
1084
  }
1104
1085
  } catch ($p) {
1105
1086
  var e = $p;
@@ -1107,13 +1088,13 @@
1107
1088
  }
1108
1089
  while (true);
1109
1090
  };
1110
- protoOf(BearerAuthConfig$loadTokens$slambda).t4y = function (completion) {
1091
+ protoOf(BearerAuthConfig$loadTokens$slambda).k4n = function (completion) {
1111
1092
  return new BearerAuthConfig$loadTokens$slambda(completion);
1112
1093
  };
1113
1094
  function BearerAuthConfig$loadTokens$slambda_0(resultContinuation) {
1114
1095
  var i = new BearerAuthConfig$loadTokens$slambda(resultContinuation);
1115
1096
  var l = function ($completion) {
1116
- return i.s4y($completion);
1097
+ return i.j4n($completion);
1117
1098
  };
1118
1099
  l.$arity = 0;
1119
1100
  return l;
@@ -1123,83 +1104,83 @@
1123
1104
  }
1124
1105
  function BearerAuthConfig() {
1125
1106
  var tmp = this;
1126
- tmp.v4x_1 = BearerAuthConfig$refreshTokens$slambda_0(null);
1107
+ tmp.m4m_1 = BearerAuthConfig$refreshTokens$slambda_0(null);
1127
1108
  var tmp_0 = this;
1128
- tmp_0.w4x_1 = BearerAuthConfig$loadTokens$slambda_0(null);
1109
+ tmp_0.n4m_1 = BearerAuthConfig$loadTokens$slambda_0(null);
1129
1110
  var tmp_1 = this;
1130
- tmp_1.x4x_1 = BearerAuthConfig$sendWithoutRequest$lambda;
1131
- this.y4x_1 = null;
1111
+ tmp_1.o4m_1 = BearerAuthConfig$sendWithoutRequest$lambda;
1112
+ this.p4m_1 = null;
1132
1113
  }
1133
- protoOf(BearerAuthConfig).u4y = function (block) {
1134
- this.v4x_1 = block;
1114
+ protoOf(BearerAuthConfig).l4n = function (block) {
1115
+ this.m4m_1 = block;
1135
1116
  };
1136
1117
  function RefreshTokensParams(client, response, oldTokens) {
1137
- this.v4y_1 = client;
1138
- this.w4y_1 = response;
1139
- this.x4y_1 = oldTokens;
1118
+ this.m4n_1 = client;
1119
+ this.n4n_1 = response;
1120
+ this.o4n_1 = oldTokens;
1140
1121
  }
1141
- protoOf(RefreshTokensParams).y4y = function (_this__u8e3s4) {
1142
- _this__u8e3s4.w3j_1.j2l(get_AuthCircuitBreaker(), Unit_instance);
1122
+ protoOf(RefreshTokensParams).p4n = function (_this__u8e3s4) {
1123
+ _this__u8e3s4.i3d_1.b2i(get_AuthCircuitBreaker(), Unit_instance);
1143
1124
  };
1144
1125
  function BearerTokens(accessToken, refreshToken) {
1145
- this.z4y_1 = accessToken;
1146
- this.a4z_1 = refreshToken;
1126
+ this.q4n_1 = accessToken;
1127
+ this.r4n_1 = refreshToken;
1147
1128
  }
1148
1129
  function BearerAuthProvider$_init_$lambda_lcdiwf(it) {
1149
1130
  return true;
1150
1131
  }
1151
1132
  function BearerAuthProvider$addRequestHeaders$lambda($token, $request) {
1152
1133
  return function ($this$headers) {
1153
- var tokenValue = 'Bearer ' + $token.z4y_1;
1134
+ var tokenValue = 'Bearer ' + $token.q4n_1;
1154
1135
  var tmp;
1155
- if ($this$headers.q2p(HttpHeaders_getInstance().f2x_1)) {
1156
- $this$headers.b2q(HttpHeaders_getInstance().f2x_1);
1136
+ if ($this$headers.x2l(HttpHeaders_getInstance().t2t_1)) {
1137
+ $this$headers.m2m(HttpHeaders_getInstance().t2t_1);
1157
1138
  tmp = Unit_instance;
1158
1139
  }
1159
1140
  var tmp_0;
1160
- if (!$request.w3j_1.i2l(get_AuthCircuitBreaker())) {
1161
- $this$headers.y2p(HttpHeaders_getInstance().f2x_1, tokenValue);
1141
+ if (!$request.i3d_1.a2i(get_AuthCircuitBreaker())) {
1142
+ $this$headers.y2l(HttpHeaders_getInstance().t2t_1, tokenValue);
1162
1143
  tmp_0 = Unit_instance;
1163
1144
  }
1164
1145
  return Unit_instance;
1165
1146
  };
1166
1147
  }
1167
1148
  function BearerAuthProvider$refreshToken$slambda(this$0, $response, resultContinuation) {
1168
- this.j4z_1 = this$0;
1169
- this.k4z_1 = $response;
1149
+ this.a4o_1 = this$0;
1150
+ this.b4o_1 = $response;
1170
1151
  CoroutineImpl.call(this, resultContinuation);
1171
1152
  }
1172
- protoOf(BearerAuthProvider$refreshToken$slambda).p4z = function ($completion) {
1173
- var tmp = this.t4y($completion);
1174
- tmp.p9_1 = Unit_instance;
1175
- tmp.q9_1 = null;
1176
- return tmp.v9();
1153
+ protoOf(BearerAuthProvider$refreshToken$slambda).e4o = function ($completion) {
1154
+ var tmp = this.k4n($completion);
1155
+ tmp.w8_1 = Unit_instance;
1156
+ tmp.x8_1 = null;
1157
+ return tmp.c9();
1177
1158
  };
1178
- protoOf(BearerAuthProvider$refreshToken$slambda).ob = function ($completion) {
1179
- return this.p4z($completion);
1159
+ protoOf(BearerAuthProvider$refreshToken$slambda).la = function ($completion) {
1160
+ return this.e4o($completion);
1180
1161
  };
1181
- protoOf(BearerAuthProvider$refreshToken$slambda).v9 = function () {
1182
- var suspendResult = this.p9_1;
1162
+ protoOf(BearerAuthProvider$refreshToken$slambda).c9 = function () {
1163
+ var suspendResult = this.w8_1;
1183
1164
  $sm: do
1184
1165
  try {
1185
- var tmp = this.n9_1;
1166
+ var tmp = this.u8_1;
1186
1167
  switch (tmp) {
1187
1168
  case 0:
1188
- this.o9_1 = 3;
1189
- this.l4z_1 = this.j4z_1.q4z_1;
1190
- this.m4z_1 = this.k4z_1.g3l().m3i_1;
1191
- this.n9_1 = 1;
1192
- suspendResult = this.j4z_1.t4z_1.t4x(this);
1169
+ this.v8_1 = 3;
1170
+ this.c4o_1 = this.a4o_1.f4o_1;
1171
+ this.d4o_1 = this.b4o_1.s3e().y3b_1;
1172
+ this.u8_1 = 1;
1173
+ suspendResult = this.a4o_1.i4o_1.k4m(this);
1193
1174
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1194
1175
  return suspendResult;
1195
1176
  }
1196
1177
 
1197
1178
  continue $sm;
1198
1179
  case 1:
1199
- this.n4z_1 = suspendResult;
1200
- this.o4z_1 = new RefreshTokensParams(this.m4z_1, this.k4z_1, this.n4z_1);
1201
- this.n9_1 = 2;
1202
- suspendResult = this.l4z_1(this.o4z_1, this);
1180
+ var ARGUMENT = suspendResult;
1181
+ var ARGUMENT_0 = new RefreshTokensParams(this.d4o_1, this.b4o_1, ARGUMENT);
1182
+ this.u8_1 = 2;
1183
+ suspendResult = this.c4o_1(ARGUMENT_0, this);
1203
1184
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1204
1185
  return suspendResult;
1205
1186
  }
@@ -1208,46 +1189,46 @@
1208
1189
  case 2:
1209
1190
  return suspendResult;
1210
1191
  case 3:
1211
- throw this.q9_1;
1192
+ throw this.x8_1;
1212
1193
  }
1213
1194
  } catch ($p) {
1214
1195
  var e = $p;
1215
- if (this.o9_1 === 3) {
1196
+ if (this.v8_1 === 3) {
1216
1197
  throw e;
1217
1198
  } else {
1218
- this.n9_1 = this.o9_1;
1219
- this.q9_1 = e;
1199
+ this.u8_1 = this.v8_1;
1200
+ this.x8_1 = e;
1220
1201
  }
1221
1202
  }
1222
1203
  while (true);
1223
1204
  };
1224
- protoOf(BearerAuthProvider$refreshToken$slambda).t4y = function (completion) {
1225
- return new BearerAuthProvider$refreshToken$slambda(this.j4z_1, this.k4z_1, completion);
1205
+ protoOf(BearerAuthProvider$refreshToken$slambda).k4n = function (completion) {
1206
+ return new BearerAuthProvider$refreshToken$slambda(this.a4o_1, this.b4o_1, completion);
1226
1207
  };
1227
1208
  function BearerAuthProvider$refreshToken$slambda_0(this$0, $response, resultContinuation) {
1228
1209
  var i = new BearerAuthProvider$refreshToken$slambda(this$0, $response, resultContinuation);
1229
1210
  var l = function ($completion) {
1230
- return i.p4z($completion);
1211
+ return i.e4o($completion);
1231
1212
  };
1232
1213
  l.$arity = 0;
1233
1214
  return l;
1234
1215
  }
1235
1216
  function $addRequestHeadersCOROUTINE$(_this__u8e3s4, request, authHeader, resultContinuation) {
1236
1217
  CoroutineImpl.call(this, resultContinuation);
1237
- this.c50_1 = _this__u8e3s4;
1238
- this.d50_1 = request;
1239
- this.e50_1 = authHeader;
1218
+ this.r4o_1 = _this__u8e3s4;
1219
+ this.s4o_1 = request;
1220
+ this.t4o_1 = authHeader;
1240
1221
  }
1241
- protoOf($addRequestHeadersCOROUTINE$).v9 = function () {
1242
- var suspendResult = this.p9_1;
1222
+ protoOf($addRequestHeadersCOROUTINE$).c9 = function () {
1223
+ var suspendResult = this.w8_1;
1243
1224
  $sm: do
1244
1225
  try {
1245
- var tmp = this.n9_1;
1226
+ var tmp = this.u8_1;
1246
1227
  switch (tmp) {
1247
1228
  case 0:
1248
- this.o9_1 = 2;
1249
- this.n9_1 = 1;
1250
- suspendResult = this.c50_1.t4z_1.t4x(this);
1229
+ this.v8_1 = 2;
1230
+ this.u8_1 = 1;
1231
+ suspendResult = this.r4o_1.i4o_1.k4m(this);
1251
1232
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1252
1233
  return suspendResult;
1253
1234
  }
@@ -1263,37 +1244,37 @@
1263
1244
  }
1264
1245
 
1265
1246
  var token = tmp_0;
1266
- headers(this.d50_1, BearerAuthProvider$addRequestHeaders$lambda(token, this.d50_1));
1247
+ headers(this.s4o_1, BearerAuthProvider$addRequestHeaders$lambda(token, this.s4o_1));
1267
1248
  return Unit_instance;
1268
1249
  case 2:
1269
- throw this.q9_1;
1250
+ throw this.x8_1;
1270
1251
  }
1271
1252
  } catch ($p) {
1272
1253
  var e = $p;
1273
- if (this.o9_1 === 2) {
1254
+ if (this.v8_1 === 2) {
1274
1255
  throw e;
1275
1256
  } else {
1276
- this.n9_1 = this.o9_1;
1277
- this.q9_1 = e;
1257
+ this.u8_1 = this.v8_1;
1258
+ this.x8_1 = e;
1278
1259
  }
1279
1260
  }
1280
1261
  while (true);
1281
1262
  };
1282
1263
  function $refreshTokenCOROUTINE$(_this__u8e3s4, response, resultContinuation) {
1283
1264
  CoroutineImpl.call(this, resultContinuation);
1284
- this.n50_1 = _this__u8e3s4;
1285
- this.o50_1 = response;
1265
+ this.c4p_1 = _this__u8e3s4;
1266
+ this.d4p_1 = response;
1286
1267
  }
1287
- protoOf($refreshTokenCOROUTINE$).v9 = function () {
1288
- var suspendResult = this.p9_1;
1268
+ protoOf($refreshTokenCOROUTINE$).c9 = function () {
1269
+ var suspendResult = this.w8_1;
1289
1270
  $sm: do
1290
1271
  try {
1291
- var tmp = this.n9_1;
1272
+ var tmp = this.u8_1;
1292
1273
  switch (tmp) {
1293
1274
  case 0:
1294
- this.o9_1 = 2;
1295
- this.n9_1 = 1;
1296
- suspendResult = this.n50_1.t4z_1.u4x(BearerAuthProvider$refreshToken$slambda_0(this.n50_1, this.o50_1, null), this);
1275
+ this.v8_1 = 2;
1276
+ this.u8_1 = 1;
1277
+ suspendResult = this.c4p_1.i4o_1.l4m(BearerAuthProvider$refreshToken$slambda_0(this.c4p_1, this.d4p_1, null), this);
1297
1278
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1298
1279
  return suspendResult;
1299
1280
  }
@@ -1303,15 +1284,15 @@
1303
1284
  var newToken = suspendResult;
1304
1285
  return !(newToken == null);
1305
1286
  case 2:
1306
- throw this.q9_1;
1287
+ throw this.x8_1;
1307
1288
  }
1308
1289
  } catch ($p) {
1309
1290
  var e = $p;
1310
- if (this.o9_1 === 2) {
1291
+ if (this.v8_1 === 2) {
1311
1292
  throw e;
1312
1293
  } else {
1313
- this.n9_1 = this.o9_1;
1314
- this.q9_1 = e;
1294
+ this.u8_1 = this.v8_1;
1295
+ this.x8_1 = e;
1315
1296
  }
1316
1297
  }
1317
1298
  while (true);
@@ -1324,57 +1305,57 @@
1324
1305
  tmp = sendWithoutRequestCallback;
1325
1306
  }
1326
1307
  sendWithoutRequestCallback = tmp;
1327
- this.q4z_1 = refreshTokens;
1328
- this.r4z_1 = sendWithoutRequestCallback;
1329
- this.s4z_1 = realm;
1330
- this.t4z_1 = new AuthTokenHolder(loadTokens);
1308
+ this.f4o_1 = refreshTokens;
1309
+ this.g4o_1 = sendWithoutRequestCallback;
1310
+ this.h4o_1 = realm;
1311
+ this.i4o_1 = new AuthTokenHolder(loadTokens);
1331
1312
  }
1332
- protoOf(BearerAuthProvider).w4v = function () {
1313
+ protoOf(BearerAuthProvider).q4k = function () {
1333
1314
  var message = 'Deprecated';
1334
1315
  throw IllegalStateException_init_$Create$(toString(message));
1335
1316
  };
1336
- protoOf(BearerAuthProvider).w4u = function (request) {
1337
- return this.r4z_1(request);
1317
+ protoOf(BearerAuthProvider).t4j = function (request) {
1318
+ return this.g4o_1(request);
1338
1319
  };
1339
- protoOf(BearerAuthProvider).v4s = function (auth) {
1340
- if (!(auth.l36_1 === 'Bearer')) {
1341
- get_LOGGER().i2u('Bearer Auth Provider is not applicable for ' + auth.toString());
1320
+ protoOf(BearerAuthProvider).a4i = function (auth) {
1321
+ if (!(auth.z32_1 === 'Bearer')) {
1322
+ get_LOGGER().s2q('Bearer Auth Provider is not applicable for ' + auth.toString());
1342
1323
  return false;
1343
1324
  }
1344
1325
  var tmp;
1345
- if (this.s4z_1 == null) {
1326
+ if (this.h4o_1 == null) {
1346
1327
  tmp = true;
1347
1328
  } else {
1348
1329
  if (!(auth instanceof Parameterized)) {
1349
1330
  tmp = false;
1350
1331
  } else {
1351
- tmp = auth.r2w('realm') == this.s4z_1;
1332
+ tmp = auth.f2t('realm') == this.h4o_1;
1352
1333
  }
1353
1334
  }
1354
1335
  var isSameRealm = tmp;
1355
1336
  if (!isSameRealm) {
1356
- get_LOGGER().i2u('Bearer Auth Provider is not applicable for this realm');
1337
+ get_LOGGER().s2q('Bearer Auth Provider is not applicable for this realm');
1357
1338
  }
1358
1339
  return isSameRealm;
1359
1340
  };
1360
- protoOf(BearerAuthProvider).v4v = function (request, authHeader, $completion) {
1341
+ protoOf(BearerAuthProvider).p4k = function (request, authHeader, $completion) {
1361
1342
  var tmp = new $addRequestHeadersCOROUTINE$(this, request, authHeader, $completion);
1362
- tmp.p9_1 = Unit_instance;
1363
- tmp.q9_1 = null;
1364
- return tmp.v9();
1343
+ tmp.w8_1 = Unit_instance;
1344
+ tmp.x8_1 = null;
1345
+ return tmp.c9();
1365
1346
  };
1366
- protoOf(BearerAuthProvider).u4v = function (response, $completion) {
1347
+ protoOf(BearerAuthProvider).o4k = function (response, $completion) {
1367
1348
  var tmp = new $refreshTokenCOROUTINE$(this, response, $completion);
1368
- tmp.p9_1 = Unit_instance;
1369
- tmp.q9_1 = null;
1370
- return tmp.v9();
1349
+ tmp.w8_1 = Unit_instance;
1350
+ tmp.x8_1 = null;
1351
+ return tmp.c9();
1371
1352
  };
1372
1353
  //region block: post-declaration
1373
- protoOf(SetTokenContext).aa = get;
1374
- protoOf(SetTokenContext).ai = fold;
1375
- protoOf(SetTokenContext).zh = minusKey;
1376
- protoOf(SetTokenContext).bi = plus;
1377
- protoOf(BearerAuthProvider).x4u = addRequestHeaders$default;
1354
+ protoOf(SetTokenContext).h9 = get;
1355
+ protoOf(SetTokenContext).fh = fold;
1356
+ protoOf(SetTokenContext).eh = minusKey;
1357
+ protoOf(SetTokenContext).gh = plus;
1358
+ protoOf(BearerAuthProvider).u4j = addRequestHeaders$default;
1378
1359
  //endregion
1379
1360
  //region block: init
1380
1361
  Companion_instance = new Companion();