@solibo/solibo-sdk 1.5.18 → 1.6.1
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.
- package/KmLogging-logging.mjs +110 -110
- package/Kotlin-DateTime-library-kotlinx-datetime.mjs +1545 -1545
- package/KotlinBigInteger-bignum.mjs +1198 -1198
- package/MultiplatformSettings-multiplatform-settings-test.mjs +19 -19
- package/MultiplatformSettings-multiplatform-settings.mjs +17 -17
- package/Stately-stately-concurrency.mjs +5 -5
- package/cryptography-kotlin-cryptography-bigint.mjs +33 -33
- package/cryptography-kotlin-cryptography-core.mjs +49 -49
- package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +175 -175
- package/cryptography-kotlin-cryptography-random.mjs +26 -26
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +204 -204
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +332 -332
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +16 -16
- package/index.mjs +6 -0
- package/kotlin-kotlin-stdlib.mjs +2141 -2051
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-atomicfu.mjs +13 -13
- package/kotlinx-coroutines-core.mjs +2488 -2461
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.mjs +32 -32
- package/kotlinx-io-kotlinx-io-core.mjs +451 -451
- package/kotlinx-serialization-kotlinx-serialization-core.mjs +1832 -1832
- package/kotlinx-serialization-kotlinx-serialization-core.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1383 -1383
- package/ktor-ktor-client-auth.mjs +463 -463
- package/ktor-ktor-client-content-negotiation.mjs +184 -184
- package/ktor-ktor-client-core.mjs +4457 -4456
- package/ktor-ktor-client-core.mjs.map +1 -1
- package/ktor-ktor-client-encoding.mjs +785 -0
- package/ktor-ktor-client-encoding.mjs.map +1 -0
- package/ktor-ktor-client-logging.mjs +1080 -1080
- package/ktor-ktor-client-mock.mjs +79 -79
- package/ktor-ktor-events.mjs +6 -6
- package/ktor-ktor-http-cio.mjs +480 -480
- package/ktor-ktor-http.mjs +1296 -997
- package/ktor-ktor-http.mjs.map +1 -1
- package/ktor-ktor-io.mjs +1120 -1097
- package/ktor-ktor-io.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.mjs +7 -7
- package/ktor-ktor-serialization-kotlinx.mjs +228 -228
- package/ktor-ktor-serialization.mjs +105 -105
- package/ktor-ktor-utils.mjs +1152 -1041
- package/ktor-ktor-utils.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +741 -741
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +77103 -73805
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +318 -3
- package/solibo-sdk-sdk.mjs +6928 -6854
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -79,11 +79,11 @@ initMetadataForLambda(Auth$lambda$slambda_1, CoroutineImpl, VOID, [2]);
|
|
|
79
79
|
initMetadataForCoroutine($invoke$refreshTokenIfNeededCOROUTINE$, CoroutineImpl);
|
|
80
80
|
initMetadataForCoroutine($invoke$executeWithNewTokenCOROUTINE$, CoroutineImpl);
|
|
81
81
|
function sendWithoutRequest(request) {
|
|
82
|
-
return this.
|
|
82
|
+
return this.qrk();
|
|
83
83
|
}
|
|
84
84
|
function addRequestHeaders$default(request, authHeader, $completion, $super) {
|
|
85
85
|
authHeader = authHeader === VOID ? null : authHeader;
|
|
86
|
-
return $super === VOID ? this.
|
|
86
|
+
return $super === VOID ? this.prk(request, authHeader, $completion) : $super.prk.call(this, request, authHeader, $completion);
|
|
87
87
|
}
|
|
88
88
|
function refreshToken(response, $completion) {
|
|
89
89
|
return true;
|
|
@@ -128,25 +128,25 @@ var AuthProvidersKey;
|
|
|
128
128
|
function AuthConfig$isUnauthorizedResponse$slambda(resultContinuation) {
|
|
129
129
|
CoroutineImpl.call(this, resultContinuation);
|
|
130
130
|
}
|
|
131
|
-
protoOf(AuthConfig$isUnauthorizedResponse$slambda).
|
|
132
|
-
var tmp = this.
|
|
133
|
-
tmp.
|
|
134
|
-
tmp.
|
|
135
|
-
return tmp.
|
|
131
|
+
protoOf(AuthConfig$isUnauthorizedResponse$slambda).wrh = function (it, $completion) {
|
|
132
|
+
var tmp = this.y4r(it, $completion);
|
|
133
|
+
tmp.o9_1 = Unit_instance;
|
|
134
|
+
tmp.p9_1 = null;
|
|
135
|
+
return tmp.u9();
|
|
136
136
|
};
|
|
137
|
-
protoOf(AuthConfig$isUnauthorizedResponse$slambda).
|
|
138
|
-
return this.
|
|
137
|
+
protoOf(AuthConfig$isUnauthorizedResponse$slambda).ga = function (p1, $completion) {
|
|
138
|
+
return this.wrh(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
|
|
139
139
|
};
|
|
140
|
-
protoOf(AuthConfig$isUnauthorizedResponse$slambda).
|
|
141
|
-
var suspendResult = this.
|
|
140
|
+
protoOf(AuthConfig$isUnauthorizedResponse$slambda).u9 = function () {
|
|
141
|
+
var suspendResult = this.o9_1;
|
|
142
142
|
$sm: do
|
|
143
143
|
try {
|
|
144
|
-
var tmp = this.
|
|
144
|
+
var tmp = this.m9_1;
|
|
145
145
|
if (tmp === 0) {
|
|
146
|
-
this.
|
|
147
|
-
return this.
|
|
146
|
+
this.n9_1 = 1;
|
|
147
|
+
return this.vrh_1.a3x().equals(Companion_getInstance().q3s_1);
|
|
148
148
|
} else if (tmp === 1) {
|
|
149
|
-
throw this.
|
|
149
|
+
throw this.p9_1;
|
|
150
150
|
}
|
|
151
151
|
} catch ($p) {
|
|
152
152
|
var e = $p;
|
|
@@ -154,15 +154,15 @@ protoOf(AuthConfig$isUnauthorizedResponse$slambda).t9 = function () {
|
|
|
154
154
|
}
|
|
155
155
|
while (true);
|
|
156
156
|
};
|
|
157
|
-
protoOf(AuthConfig$isUnauthorizedResponse$slambda).
|
|
157
|
+
protoOf(AuthConfig$isUnauthorizedResponse$slambda).y4r = function (it, completion) {
|
|
158
158
|
var i = new AuthConfig$isUnauthorizedResponse$slambda(completion);
|
|
159
|
-
i.
|
|
159
|
+
i.vrh_1 = it;
|
|
160
160
|
return i;
|
|
161
161
|
};
|
|
162
162
|
function AuthConfig$isUnauthorizedResponse$slambda_0(resultContinuation) {
|
|
163
163
|
var i = new AuthConfig$isUnauthorizedResponse$slambda(resultContinuation);
|
|
164
164
|
var l = function (it, $completion) {
|
|
165
|
-
return i.
|
|
165
|
+
return i.wrh(it, $completion);
|
|
166
166
|
};
|
|
167
167
|
l.$arity = 1;
|
|
168
168
|
return l;
|
|
@@ -170,16 +170,16 @@ function AuthConfig$isUnauthorizedResponse$slambda_0(resultContinuation) {
|
|
|
170
170
|
function AuthConfig() {
|
|
171
171
|
var tmp = this;
|
|
172
172
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
173
|
-
tmp.
|
|
173
|
+
tmp.xrh_1 = ArrayList_init_$Create$();
|
|
174
174
|
var tmp_0 = this;
|
|
175
|
-
tmp_0.
|
|
175
|
+
tmp_0.yrh_1 = AuthConfig$isUnauthorizedResponse$slambda_0(null);
|
|
176
176
|
}
|
|
177
177
|
function AtomicCounter() {
|
|
178
|
-
this.
|
|
178
|
+
this.zrh_1 = atomic$int$1(0);
|
|
179
179
|
}
|
|
180
180
|
function get_authProviders(_this__u8e3s4) {
|
|
181
181
|
_init_properties_Auth_kt__9ob1dk();
|
|
182
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
182
|
+
var tmp0_elvis_lhs = _this__u8e3s4.l4g_1.o38(get_AuthProvidersKey());
|
|
183
183
|
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
184
184
|
}
|
|
185
185
|
function AuthConfig$_init_$ref_ms3pb9() {
|
|
@@ -191,8 +191,8 @@ function AuthConfig$_init_$ref_ms3pb9() {
|
|
|
191
191
|
}
|
|
192
192
|
function Auth$lambda($this$createClientPlugin) {
|
|
193
193
|
_init_properties_Auth_kt__9ob1dk();
|
|
194
|
-
var providers = toList($this$createClientPlugin.
|
|
195
|
-
$this$createClientPlugin.
|
|
194
|
+
var providers = toList($this$createClientPlugin.y4q_1.xrh_1);
|
|
195
|
+
$this$createClientPlugin.x4q_1.l4g_1.q38(get_AuthProvidersKey(), providers);
|
|
196
196
|
var tokenVersions = new ConcurrentMap();
|
|
197
197
|
// Inline function 'io.ktor.util.AttributeKey' call
|
|
198
198
|
var name = 'ProviderVersionAttributeKey';
|
|
@@ -201,7 +201,7 @@ function Auth$lambda($this$createClientPlugin) {
|
|
|
201
201
|
// Inline function 'io.ktor.util.reflect.typeOfOrNull' call
|
|
202
202
|
var tmp_0;
|
|
203
203
|
try {
|
|
204
|
-
tmp_0 = createKType(getKClass(KtMutableMap), arrayOf([createInvariantKTypeProjection(createKType(getKClass(AuthProvider), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().
|
|
204
|
+
tmp_0 = createKType(getKClass(KtMutableMap), arrayOf([createInvariantKTypeProjection(createKType(getKClass(AuthProvider), arrayOf([]), false)), createInvariantKTypeProjection(createKType(PrimitiveClasses_getInstance().lc(), arrayOf([]), false))]), false);
|
|
205
205
|
} catch ($p) {
|
|
206
206
|
var tmp_1;
|
|
207
207
|
if ($p instanceof Error) {
|
|
@@ -215,9 +215,9 @@ function Auth$lambda($this$createClientPlugin) {
|
|
|
215
215
|
var tmp$ret$2 = tmp_0;
|
|
216
216
|
var tmp$ret$1 = new TypeInfo(tmp, tmp$ret$2);
|
|
217
217
|
var tokenVersionsAttributeKey = new AttributeKey(name, tmp$ret$1);
|
|
218
|
-
$this$createClientPlugin.
|
|
218
|
+
$this$createClientPlugin.y55(Auth$lambda$slambda_0(providers, tokenVersions, tokenVersionsAttributeKey, null));
|
|
219
219
|
var tmp_2 = Send_instance;
|
|
220
|
-
$this$createClientPlugin.
|
|
220
|
+
$this$createClientPlugin.b4r(tmp_2, Auth$lambda$slambda_2($this$createClientPlugin, providers, tokenVersions, tokenVersionsAttributeKey, null));
|
|
221
221
|
return Unit_instance;
|
|
222
222
|
}
|
|
223
223
|
function Auth$lambda$refreshTokenIfNeeded$lambda() {
|
|
@@ -230,7 +230,7 @@ function Auth$lambda$refreshTokenIfNeeded$lambda_0() {
|
|
|
230
230
|
return LinkedHashMap_init_$Create$();
|
|
231
231
|
}
|
|
232
232
|
function invoke$findProvider(call, candidateProviders) {
|
|
233
|
-
var headerValues = call.
|
|
233
|
+
var headerValues = call.m4h().a3r().k3d('WWW-Authenticate');
|
|
234
234
|
var tmp;
|
|
235
235
|
if (headerValues == null) {
|
|
236
236
|
tmp = null;
|
|
@@ -258,7 +258,7 @@ function invoke$findProvider(call, candidateProviders) {
|
|
|
258
258
|
var _iterator__ex2g4s_0 = authHeaders.t();
|
|
259
259
|
while (_iterator__ex2g4s_0.u()) {
|
|
260
260
|
var element = _iterator__ex2g4s_0.v();
|
|
261
|
-
if (provider.
|
|
261
|
+
if (provider.ari(element)) {
|
|
262
262
|
tmp$ret$3 = element;
|
|
263
263
|
break $l$block;
|
|
264
264
|
}
|
|
@@ -271,8 +271,8 @@ function invoke$findProvider(call, candidateProviders) {
|
|
|
271
271
|
// Inline function 'io.ktor.util.logging.trace' call
|
|
272
272
|
var this_0 = get_LOGGER();
|
|
273
273
|
if (get_isTraceEnabled(this_0)) {
|
|
274
|
-
var tmp$ret$6 = 'Unauthorized response ' + call.
|
|
275
|
-
this_0.
|
|
274
|
+
var tmp$ret$6 = 'Unauthorized response ' + call.v4j().f4k().toString() + ' has no or empty "WWW-Authenticate" header. ' + 'Can not add or refresh token';
|
|
275
|
+
this_0.e3j(tmp$ret$6);
|
|
276
276
|
}
|
|
277
277
|
tmp_0 = null;
|
|
278
278
|
} else {
|
|
@@ -289,7 +289,7 @@ function invoke$findProvider(call, candidateProviders) {
|
|
|
289
289
|
var _iterator__ex2g4s_2 = candidateProviders.t();
|
|
290
290
|
while (_iterator__ex2g4s_2.u()) {
|
|
291
291
|
var element_1 = _iterator__ex2g4s_2.v();
|
|
292
|
-
if (element_1.
|
|
292
|
+
if (element_1.ari(element_0)) {
|
|
293
293
|
tmp$ret$10 = element_1;
|
|
294
294
|
break $l$block_0;
|
|
295
295
|
}
|
|
@@ -318,15 +318,15 @@ function invoke$findProvider(call, candidateProviders) {
|
|
|
318
318
|
}
|
|
319
319
|
function invoke$refreshTokenIfNeeded(tokenVersions, tokenVersionsAttributeKey, call, provider, request, $completion) {
|
|
320
320
|
var tmp = new $invoke$refreshTokenIfNeededCOROUTINE$(tokenVersions, tokenVersionsAttributeKey, call, provider, request, $completion);
|
|
321
|
-
tmp.
|
|
322
|
-
tmp.
|
|
323
|
-
return tmp.
|
|
321
|
+
tmp.o9_1 = Unit_instance;
|
|
322
|
+
tmp.p9_1 = null;
|
|
323
|
+
return tmp.u9();
|
|
324
324
|
}
|
|
325
325
|
function invoke$executeWithNewToken(_this__u8e3s4, call, provider, oldRequest, authHeader, $completion) {
|
|
326
326
|
var tmp = new $invoke$executeWithNewTokenCOROUTINE$(_this__u8e3s4, call, provider, oldRequest, authHeader, $completion);
|
|
327
|
-
tmp.
|
|
328
|
-
tmp.
|
|
329
|
-
return tmp.
|
|
327
|
+
tmp.o9_1 = Unit_instance;
|
|
328
|
+
tmp.p9_1 = null;
|
|
329
|
+
return tmp.u9();
|
|
330
330
|
}
|
|
331
331
|
function Auth$lambda$slambda$lambda() {
|
|
332
332
|
return new AtomicCounter();
|
|
@@ -336,136 +336,136 @@ function Auth$lambda$slambda$lambda_0() {
|
|
|
336
336
|
return LinkedHashMap_init_$Create$();
|
|
337
337
|
}
|
|
338
338
|
function Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
|
|
339
|
-
this.
|
|
340
|
-
this.
|
|
341
|
-
this.
|
|
339
|
+
this.mrj_1 = $providers;
|
|
340
|
+
this.nrj_1 = $tokenVersions;
|
|
341
|
+
this.orj_1 = $tokenVersionsAttributeKey;
|
|
342
342
|
CoroutineImpl.call(this, resultContinuation);
|
|
343
343
|
}
|
|
344
|
-
protoOf(Auth$lambda$slambda).
|
|
345
|
-
var tmp = this.
|
|
346
|
-
tmp.
|
|
347
|
-
tmp.
|
|
348
|
-
return tmp.
|
|
344
|
+
protoOf(Auth$lambda$slambda).m56 = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
|
|
345
|
+
var tmp = this.n56($this$onRequest, request, _unused_var__etf5q3, $completion);
|
|
346
|
+
tmp.o9_1 = Unit_instance;
|
|
347
|
+
tmp.p9_1 = null;
|
|
348
|
+
return tmp.u9();
|
|
349
349
|
};
|
|
350
|
-
protoOf(Auth$lambda$slambda).
|
|
350
|
+
protoOf(Auth$lambda$slambda).o56 = function (p1, p2, p3, $completion) {
|
|
351
351
|
var tmp = p1 instanceof OnRequestContext ? p1 : THROW_CCE();
|
|
352
352
|
var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
|
|
353
|
-
return this.
|
|
353
|
+
return this.m56(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
|
|
354
354
|
};
|
|
355
|
-
protoOf(Auth$lambda$slambda).
|
|
356
|
-
var suspendResult = this.
|
|
355
|
+
protoOf(Auth$lambda$slambda).u9 = function () {
|
|
356
|
+
var suspendResult = this.o9_1;
|
|
357
357
|
$sm: do
|
|
358
358
|
try {
|
|
359
|
-
var tmp = this.
|
|
359
|
+
var tmp = this.m9_1;
|
|
360
360
|
switch (tmp) {
|
|
361
361
|
case 0:
|
|
362
|
-
this.
|
|
363
|
-
var tmp0 = this.
|
|
362
|
+
this.n9_1 = 4;
|
|
363
|
+
var tmp0 = this.mrj_1;
|
|
364
364
|
var destination = ArrayList_init_$Create$();
|
|
365
365
|
var _iterator__ex2g4s = tmp0.t();
|
|
366
366
|
while (_iterator__ex2g4s.u()) {
|
|
367
367
|
var element = _iterator__ex2g4s.v();
|
|
368
|
-
if (element.
|
|
368
|
+
if (element.trj(this.qrj_1)) {
|
|
369
369
|
destination.e1(element);
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
|
|
373
|
-
this.
|
|
374
|
-
this.
|
|
373
|
+
this.srj_1 = destination.t();
|
|
374
|
+
this.m9_1 = 1;
|
|
375
375
|
continue $sm;
|
|
376
376
|
case 1:
|
|
377
|
-
if (!this.
|
|
378
|
-
this.
|
|
377
|
+
if (!this.srj_1.u()) {
|
|
378
|
+
this.m9_1 = 3;
|
|
379
379
|
continue $sm;
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
-
var element_0 = this.
|
|
382
|
+
var element_0 = this.srj_1.v();
|
|
383
383
|
var this_0 = get_LOGGER();
|
|
384
384
|
if (get_isTraceEnabled(this_0)) {
|
|
385
|
-
this_0.
|
|
385
|
+
this_0.e3j('Adding auth headers for ' + this.qrj_1.m4i_1.toString() + ' from provider ' + toString(element_0));
|
|
386
386
|
}
|
|
387
387
|
|
|
388
|
-
var tokenVersion = this.
|
|
389
|
-
var requestTokenVersions = this.
|
|
390
|
-
var value = tokenVersion.
|
|
388
|
+
var tokenVersion = this.nrj_1.v3i(element_0, Auth$lambda$slambda$lambda);
|
|
389
|
+
var requestTokenVersions = this.qrj_1.r4i_1.t38(this.orj_1, Auth$lambda$slambda$lambda_0);
|
|
390
|
+
var value = tokenVersion.zrh_1.kotlinx$atomicfu$value;
|
|
391
391
|
requestTokenVersions.c3(element_0, value);
|
|
392
|
-
this.
|
|
393
|
-
suspendResult = element_0.
|
|
392
|
+
this.m9_1 = 2;
|
|
393
|
+
suspendResult = element_0.urj(this.qrj_1, VOID, this);
|
|
394
394
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
395
395
|
return suspendResult;
|
|
396
396
|
}
|
|
397
397
|
|
|
398
398
|
continue $sm;
|
|
399
399
|
case 2:
|
|
400
|
-
this.
|
|
400
|
+
this.m9_1 = 1;
|
|
401
401
|
continue $sm;
|
|
402
402
|
case 3:
|
|
403
403
|
return Unit_instance;
|
|
404
404
|
case 4:
|
|
405
|
-
throw this.
|
|
405
|
+
throw this.p9_1;
|
|
406
406
|
}
|
|
407
407
|
} catch ($p) {
|
|
408
408
|
var e = $p;
|
|
409
|
-
if (this.
|
|
409
|
+
if (this.n9_1 === 4) {
|
|
410
410
|
throw e;
|
|
411
411
|
} else {
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
412
|
+
this.m9_1 = this.n9_1;
|
|
413
|
+
this.p9_1 = e;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
while (true);
|
|
417
417
|
};
|
|
418
|
-
protoOf(Auth$lambda$slambda).
|
|
419
|
-
var i = new Auth$lambda$slambda(this.
|
|
420
|
-
i.
|
|
421
|
-
i.
|
|
422
|
-
i.
|
|
418
|
+
protoOf(Auth$lambda$slambda).n56 = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
|
|
419
|
+
var i = new Auth$lambda$slambda(this.mrj_1, this.nrj_1, this.orj_1, completion);
|
|
420
|
+
i.prj_1 = $this$onRequest;
|
|
421
|
+
i.qrj_1 = request;
|
|
422
|
+
i.rrj_1 = _unused_var__etf5q3;
|
|
423
423
|
return i;
|
|
424
424
|
};
|
|
425
425
|
function Auth$lambda$slambda_0($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
|
|
426
426
|
var i = new Auth$lambda$slambda($providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
|
|
427
427
|
var l = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
|
|
428
|
-
return i.
|
|
428
|
+
return i.m56($this$onRequest, request, _unused_var__etf5q3, $completion);
|
|
429
429
|
};
|
|
430
430
|
l.$arity = 3;
|
|
431
431
|
return l;
|
|
432
432
|
}
|
|
433
433
|
function Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
|
|
434
|
-
this.
|
|
435
|
-
this.
|
|
436
|
-
this.
|
|
437
|
-
this.
|
|
434
|
+
this.drk_1 = $this_createClientPlugin;
|
|
435
|
+
this.erk_1 = $providers;
|
|
436
|
+
this.frk_1 = $tokenVersions;
|
|
437
|
+
this.grk_1 = $tokenVersionsAttributeKey;
|
|
438
438
|
CoroutineImpl.call(this, resultContinuation);
|
|
439
439
|
}
|
|
440
|
-
protoOf(Auth$lambda$slambda_1).
|
|
441
|
-
var tmp = this.
|
|
442
|
-
tmp.
|
|
443
|
-
tmp.
|
|
444
|
-
return tmp.
|
|
440
|
+
protoOf(Auth$lambda$slambda_1).a4y = function ($this$on, originalRequest, $completion) {
|
|
441
|
+
var tmp = this.b4y($this$on, originalRequest, $completion);
|
|
442
|
+
tmp.o9_1 = Unit_instance;
|
|
443
|
+
tmp.p9_1 = null;
|
|
444
|
+
return tmp.u9();
|
|
445
445
|
};
|
|
446
|
-
protoOf(Auth$lambda$slambda_1).
|
|
446
|
+
protoOf(Auth$lambda$slambda_1).ha = function (p1, p2, $completion) {
|
|
447
447
|
var tmp = p1 instanceof Sender ? p1 : THROW_CCE();
|
|
448
|
-
return this.
|
|
448
|
+
return this.a4y(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
|
|
449
449
|
};
|
|
450
|
-
protoOf(Auth$lambda$slambda_1).
|
|
451
|
-
var suspendResult = this.
|
|
450
|
+
protoOf(Auth$lambda$slambda_1).u9 = function () {
|
|
451
|
+
var suspendResult = this.o9_1;
|
|
452
452
|
$sm: do
|
|
453
453
|
try {
|
|
454
|
-
var tmp = this.
|
|
454
|
+
var tmp = this.m9_1;
|
|
455
455
|
switch (tmp) {
|
|
456
456
|
case 0:
|
|
457
|
-
this.
|
|
458
|
-
this.
|
|
459
|
-
suspendResult = this.
|
|
457
|
+
this.n9_1 = 10;
|
|
458
|
+
this.m9_1 = 1;
|
|
459
|
+
suspendResult = this.hrk_1.e4y(this.irk_1, this);
|
|
460
460
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
461
461
|
return suspendResult;
|
|
462
462
|
}
|
|
463
463
|
|
|
464
464
|
continue $sm;
|
|
465
465
|
case 1:
|
|
466
|
-
this.
|
|
467
|
-
this.
|
|
468
|
-
suspendResult = this.
|
|
466
|
+
this.nrk_1 = suspendResult;
|
|
467
|
+
this.m9_1 = 2;
|
|
468
|
+
suspendResult = this.drk_1.y4q_1.yrh_1(this.nrk_1.m4h(), this);
|
|
469
469
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
470
470
|
return suspendResult;
|
|
471
471
|
}
|
|
@@ -473,22 +473,22 @@ protoOf(Auth$lambda$slambda_1).t9 = function () {
|
|
|
473
473
|
continue $sm;
|
|
474
474
|
case 2:
|
|
475
475
|
if (!suspendResult) {
|
|
476
|
-
return this.
|
|
476
|
+
return this.nrk_1;
|
|
477
477
|
} else {
|
|
478
|
-
this.
|
|
478
|
+
this.m9_1 = 3;
|
|
479
479
|
continue $sm;
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
case 3:
|
|
483
|
-
if (this.
|
|
484
|
-
return this.
|
|
485
|
-
this.
|
|
486
|
-
this.
|
|
487
|
-
this.
|
|
483
|
+
if (this.nrk_1.v4j().w4j().p38(get_AuthCircuitBreaker()))
|
|
484
|
+
return this.nrk_1;
|
|
485
|
+
this.jrk_1 = this.nrk_1;
|
|
486
|
+
this.mrk_1 = HashSet_init_$Create$(this.erk_1);
|
|
487
|
+
this.m9_1 = 4;
|
|
488
488
|
continue $sm;
|
|
489
489
|
case 4:
|
|
490
|
-
this.
|
|
491
|
-
suspendResult = this.
|
|
490
|
+
this.m9_1 = 5;
|
|
491
|
+
suspendResult = this.drk_1.y4q_1.yrh_1(this.jrk_1.m4h(), this);
|
|
492
492
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
493
493
|
return suspendResult;
|
|
494
494
|
}
|
|
@@ -496,39 +496,39 @@ protoOf(Auth$lambda$slambda_1).t9 = function () {
|
|
|
496
496
|
continue $sm;
|
|
497
497
|
case 5:
|
|
498
498
|
if (!suspendResult) {
|
|
499
|
-
this.
|
|
499
|
+
this.m9_1 = 9;
|
|
500
500
|
continue $sm;
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
var this_0 = get_LOGGER();
|
|
504
504
|
if (get_isTraceEnabled(this_0)) {
|
|
505
|
-
this_0.
|
|
505
|
+
this_0.e3j('Unauthorized response for ' + this.jrk_1.v4j().f4k().toString());
|
|
506
506
|
}
|
|
507
507
|
|
|
508
|
-
var tmp0_elvis_lhs = invoke$findProvider(this.
|
|
508
|
+
var tmp0_elvis_lhs = invoke$findProvider(this.jrk_1, this.mrk_1);
|
|
509
509
|
var tmp_0;
|
|
510
510
|
if (tmp0_elvis_lhs == null) {
|
|
511
|
-
this.
|
|
511
|
+
this.hrk_1;
|
|
512
512
|
var this_1 = get_LOGGER();
|
|
513
513
|
if (get_isTraceEnabled(this_1)) {
|
|
514
|
-
this_1.
|
|
514
|
+
this_1.e3j('Can not find auth provider for ' + this.jrk_1.v4j().f4k().toString());
|
|
515
515
|
}
|
|
516
|
-
return this.
|
|
516
|
+
return this.jrk_1;
|
|
517
517
|
} else {
|
|
518
518
|
tmp_0 = tmp0_elvis_lhs;
|
|
519
519
|
}
|
|
520
520
|
|
|
521
521
|
var _destruct__k2r9zo = tmp_0;
|
|
522
|
-
this.
|
|
523
|
-
this.
|
|
522
|
+
this.lrk_1 = _destruct__k2r9zo.ch();
|
|
523
|
+
this.krk_1 = _destruct__k2r9zo.dh();
|
|
524
524
|
var this_2 = get_LOGGER();
|
|
525
525
|
if (get_isTraceEnabled(this_2)) {
|
|
526
|
-
this_2.
|
|
526
|
+
this_2.e3j('Using provider ' + toString(this.lrk_1) + ' for ' + this.jrk_1.v4j().f4k().toString());
|
|
527
527
|
}
|
|
528
528
|
|
|
529
|
-
this.
|
|
530
|
-
this.
|
|
531
|
-
suspendResult = invoke$refreshTokenIfNeeded(this.
|
|
529
|
+
this.mrk_1.g3(this.lrk_1);
|
|
530
|
+
this.m9_1 = 6;
|
|
531
|
+
suspendResult = invoke$refreshTokenIfNeeded(this.frk_1, this.grk_1, this.jrk_1, this.lrk_1, this.irk_1, this);
|
|
532
532
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
533
533
|
return suspendResult;
|
|
534
534
|
}
|
|
@@ -536,88 +536,88 @@ protoOf(Auth$lambda$slambda_1).t9 = function () {
|
|
|
536
536
|
continue $sm;
|
|
537
537
|
case 6:
|
|
538
538
|
if (!suspendResult) {
|
|
539
|
-
return this.
|
|
539
|
+
return this.jrk_1;
|
|
540
540
|
} else {
|
|
541
|
-
this.
|
|
541
|
+
this.m9_1 = 7;
|
|
542
542
|
continue $sm;
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
case 7:
|
|
546
|
-
this.
|
|
547
|
-
suspendResult = invoke$executeWithNewToken(this.
|
|
546
|
+
this.m9_1 = 8;
|
|
547
|
+
suspendResult = invoke$executeWithNewToken(this.hrk_1, this.jrk_1, this.lrk_1, this.irk_1, this.krk_1, this);
|
|
548
548
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
549
549
|
return suspendResult;
|
|
550
550
|
}
|
|
551
551
|
|
|
552
552
|
continue $sm;
|
|
553
553
|
case 8:
|
|
554
|
-
this.
|
|
555
|
-
this.
|
|
554
|
+
this.jrk_1 = suspendResult;
|
|
555
|
+
this.m9_1 = 4;
|
|
556
556
|
continue $sm;
|
|
557
557
|
case 9:
|
|
558
|
-
return this.
|
|
558
|
+
return this.jrk_1;
|
|
559
559
|
case 10:
|
|
560
|
-
throw this.
|
|
560
|
+
throw this.p9_1;
|
|
561
561
|
}
|
|
562
562
|
} catch ($p) {
|
|
563
563
|
var e = $p;
|
|
564
|
-
if (this.
|
|
564
|
+
if (this.n9_1 === 10) {
|
|
565
565
|
throw e;
|
|
566
566
|
} else {
|
|
567
|
-
this.
|
|
568
|
-
this.
|
|
567
|
+
this.m9_1 = this.n9_1;
|
|
568
|
+
this.p9_1 = e;
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
while (true);
|
|
572
572
|
};
|
|
573
|
-
protoOf(Auth$lambda$slambda_1).
|
|
574
|
-
var i = new Auth$lambda$slambda_1(this.
|
|
575
|
-
i.
|
|
576
|
-
i.
|
|
573
|
+
protoOf(Auth$lambda$slambda_1).b4y = function ($this$on, originalRequest, completion) {
|
|
574
|
+
var i = new Auth$lambda$slambda_1(this.drk_1, this.erk_1, this.frk_1, this.grk_1, completion);
|
|
575
|
+
i.hrk_1 = $this$on;
|
|
576
|
+
i.irk_1 = originalRequest;
|
|
577
577
|
return i;
|
|
578
578
|
};
|
|
579
579
|
function Auth$lambda$slambda_2($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation) {
|
|
580
580
|
var i = new Auth$lambda$slambda_1($this_createClientPlugin, $providers, $tokenVersions, $tokenVersionsAttributeKey, resultContinuation);
|
|
581
581
|
var l = function ($this$on, originalRequest, $completion) {
|
|
582
|
-
return i.
|
|
582
|
+
return i.a4y($this$on, originalRequest, $completion);
|
|
583
583
|
};
|
|
584
584
|
l.$arity = 2;
|
|
585
585
|
return l;
|
|
586
586
|
}
|
|
587
587
|
function $invoke$refreshTokenIfNeededCOROUTINE$(tokenVersions, tokenVersionsAttributeKey, call, provider, request, resultContinuation) {
|
|
588
588
|
CoroutineImpl.call(this, resultContinuation);
|
|
589
|
-
this.
|
|
590
|
-
this.
|
|
591
|
-
this.
|
|
592
|
-
this.
|
|
593
|
-
this.
|
|
589
|
+
this.jri_1 = tokenVersions;
|
|
590
|
+
this.kri_1 = tokenVersionsAttributeKey;
|
|
591
|
+
this.lri_1 = call;
|
|
592
|
+
this.mri_1 = provider;
|
|
593
|
+
this.nri_1 = request;
|
|
594
594
|
}
|
|
595
|
-
protoOf($invoke$refreshTokenIfNeededCOROUTINE$).
|
|
596
|
-
var suspendResult = this.
|
|
595
|
+
protoOf($invoke$refreshTokenIfNeededCOROUTINE$).u9 = function () {
|
|
596
|
+
var suspendResult = this.o9_1;
|
|
597
597
|
$sm: do
|
|
598
598
|
try {
|
|
599
|
-
var tmp = this.
|
|
599
|
+
var tmp = this.m9_1;
|
|
600
600
|
switch (tmp) {
|
|
601
601
|
case 0:
|
|
602
|
-
this.
|
|
602
|
+
this.n9_1 = 4;
|
|
603
603
|
var tmp_0 = this;
|
|
604
|
-
tmp_0.
|
|
604
|
+
tmp_0.ori_1 = this.jri_1.v3i(this.mri_1, Auth$lambda$refreshTokenIfNeeded$lambda);
|
|
605
605
|
var tmp_1 = this;
|
|
606
|
-
tmp_1.
|
|
607
|
-
var requestTokenVersion = this.
|
|
608
|
-
if (!(requestTokenVersion == null) && requestTokenVersion >= this.
|
|
606
|
+
tmp_1.pri_1 = this.nri_1.r4i_1.t38(this.kri_1, Auth$lambda$refreshTokenIfNeeded$lambda_0);
|
|
607
|
+
var requestTokenVersion = this.pri_1.z2(this.mri_1);
|
|
608
|
+
if (!(requestTokenVersion == null) && requestTokenVersion >= this.ori_1.zrh_1.kotlinx$atomicfu$value) {
|
|
609
609
|
var this_0 = get_LOGGER();
|
|
610
610
|
if (get_isTraceEnabled(this_0)) {
|
|
611
|
-
this_0.
|
|
611
|
+
this_0.e3j('Refreshing token for ' + this.lri_1.v4j().f4k().toString());
|
|
612
612
|
}
|
|
613
|
-
this.
|
|
614
|
-
suspendResult = this.
|
|
613
|
+
this.m9_1 = 1;
|
|
614
|
+
suspendResult = this.mri_1.ork(this.lri_1.m4h(), this);
|
|
615
615
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
616
616
|
return suspendResult;
|
|
617
617
|
}
|
|
618
618
|
continue $sm;
|
|
619
619
|
} else {
|
|
620
|
-
this.
|
|
620
|
+
this.m9_1 = 3;
|
|
621
621
|
continue $sm;
|
|
622
622
|
}
|
|
623
623
|
|
|
@@ -625,71 +625,71 @@ protoOf($invoke$refreshTokenIfNeededCOROUTINE$).t9 = function () {
|
|
|
625
625
|
if (!suspendResult) {
|
|
626
626
|
var this_1 = get_LOGGER();
|
|
627
627
|
if (get_isTraceEnabled(this_1)) {
|
|
628
|
-
this_1.
|
|
628
|
+
this_1.e3j('Refreshing token failed for ' + this.lri_1.v4j().f4k().toString());
|
|
629
629
|
}
|
|
630
630
|
return false;
|
|
631
631
|
} else {
|
|
632
|
-
var tmp0 = this.
|
|
633
|
-
var tmp2 = this.
|
|
634
|
-
var value = this.
|
|
632
|
+
var tmp0 = this.pri_1;
|
|
633
|
+
var tmp2 = this.mri_1;
|
|
634
|
+
var value = this.ori_1.zrh_1.atomicfu$incrementAndGet();
|
|
635
635
|
tmp0.c3(tmp2, value);
|
|
636
|
-
this.
|
|
636
|
+
this.m9_1 = 2;
|
|
637
637
|
continue $sm;
|
|
638
638
|
}
|
|
639
639
|
|
|
640
640
|
case 2:
|
|
641
|
-
this.
|
|
641
|
+
this.m9_1 = 3;
|
|
642
642
|
continue $sm;
|
|
643
643
|
case 3:
|
|
644
644
|
return true;
|
|
645
645
|
case 4:
|
|
646
|
-
throw this.
|
|
646
|
+
throw this.p9_1;
|
|
647
647
|
}
|
|
648
648
|
} catch ($p) {
|
|
649
649
|
var e = $p;
|
|
650
|
-
if (this.
|
|
650
|
+
if (this.n9_1 === 4) {
|
|
651
651
|
throw e;
|
|
652
652
|
} else {
|
|
653
|
-
this.
|
|
654
|
-
this.
|
|
653
|
+
this.m9_1 = this.n9_1;
|
|
654
|
+
this.p9_1 = e;
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
657
|
while (true);
|
|
658
658
|
};
|
|
659
659
|
function $invoke$executeWithNewTokenCOROUTINE$(_this__u8e3s4, call, provider, oldRequest, authHeader, resultContinuation) {
|
|
660
660
|
CoroutineImpl.call(this, resultContinuation);
|
|
661
|
-
this.
|
|
662
|
-
this.
|
|
663
|
-
this.
|
|
664
|
-
this.
|
|
665
|
-
this.
|
|
661
|
+
this.yri_1 = _this__u8e3s4;
|
|
662
|
+
this.zri_1 = call;
|
|
663
|
+
this.arj_1 = provider;
|
|
664
|
+
this.brj_1 = oldRequest;
|
|
665
|
+
this.crj_1 = authHeader;
|
|
666
666
|
}
|
|
667
|
-
protoOf($invoke$executeWithNewTokenCOROUTINE$).
|
|
668
|
-
var suspendResult = this.
|
|
667
|
+
protoOf($invoke$executeWithNewTokenCOROUTINE$).u9 = function () {
|
|
668
|
+
var suspendResult = this.o9_1;
|
|
669
669
|
$sm: do
|
|
670
670
|
try {
|
|
671
|
-
var tmp = this.
|
|
671
|
+
var tmp = this.m9_1;
|
|
672
672
|
switch (tmp) {
|
|
673
673
|
case 0:
|
|
674
|
-
this.
|
|
675
|
-
this.
|
|
676
|
-
this.
|
|
677
|
-
this.
|
|
678
|
-
suspendResult = this.
|
|
674
|
+
this.n9_1 = 3;
|
|
675
|
+
this.drj_1 = new HttpRequestBuilder();
|
|
676
|
+
this.drj_1.r4o(this.brj_1);
|
|
677
|
+
this.m9_1 = 1;
|
|
678
|
+
suspendResult = this.arj_1.prk(this.drj_1, this.crj_1, this);
|
|
679
679
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
680
680
|
return suspendResult;
|
|
681
681
|
}
|
|
682
682
|
|
|
683
683
|
continue $sm;
|
|
684
684
|
case 1:
|
|
685
|
-
this.
|
|
685
|
+
this.drj_1.r4i_1.q38(get_AuthCircuitBreaker(), Unit_instance);
|
|
686
686
|
var this_0 = get_LOGGER();
|
|
687
687
|
if (get_isTraceEnabled(this_0)) {
|
|
688
|
-
this_0.
|
|
688
|
+
this_0.e3j('Sending new request to ' + this.zri_1.v4j().f4k().toString());
|
|
689
689
|
}
|
|
690
690
|
|
|
691
|
-
this.
|
|
692
|
-
suspendResult = this.
|
|
691
|
+
this.m9_1 = 2;
|
|
692
|
+
suspendResult = this.yri_1.e4y(this.drj_1, this);
|
|
693
693
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
694
694
|
return suspendResult;
|
|
695
695
|
}
|
|
@@ -698,15 +698,15 @@ protoOf($invoke$executeWithNewTokenCOROUTINE$).t9 = function () {
|
|
|
698
698
|
case 2:
|
|
699
699
|
return suspendResult;
|
|
700
700
|
case 3:
|
|
701
|
-
throw this.
|
|
701
|
+
throw this.p9_1;
|
|
702
702
|
}
|
|
703
703
|
} catch ($p) {
|
|
704
704
|
var e = $p;
|
|
705
|
-
if (this.
|
|
705
|
+
if (this.n9_1 === 3) {
|
|
706
706
|
throw e;
|
|
707
707
|
} else {
|
|
708
|
-
this.
|
|
709
|
-
this.
|
|
708
|
+
this.m9_1 = this.n9_1;
|
|
709
|
+
this.p9_1 = e;
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
712
|
while (true);
|
|
@@ -776,128 +776,128 @@ protoOf(SetTokenContext).m1 = function () {
|
|
|
776
776
|
return Companion_instance;
|
|
777
777
|
};
|
|
778
778
|
function AuthTokenHolder$setToken$slambda(this$0, $prevValue, $lockedByLoad, $block, resultContinuation) {
|
|
779
|
-
this.
|
|
780
|
-
this.
|
|
781
|
-
this.
|
|
782
|
-
this.
|
|
779
|
+
this.zrk_1 = this$0;
|
|
780
|
+
this.arl_1 = $prevValue;
|
|
781
|
+
this.brl_1 = $lockedByLoad;
|
|
782
|
+
this.crl_1 = $block;
|
|
783
783
|
CoroutineImpl.call(this, resultContinuation);
|
|
784
784
|
}
|
|
785
|
-
protoOf(AuthTokenHolder$setToken$slambda).
|
|
786
|
-
var tmp = this.
|
|
787
|
-
tmp.
|
|
788
|
-
tmp.
|
|
789
|
-
return tmp.
|
|
785
|
+
protoOf(AuthTokenHolder$setToken$slambda).hrl = function ($this$withContext, $completion) {
|
|
786
|
+
var tmp = this.h2j($this$withContext, $completion);
|
|
787
|
+
tmp.o9_1 = Unit_instance;
|
|
788
|
+
tmp.p9_1 = null;
|
|
789
|
+
return tmp.u9();
|
|
790
790
|
};
|
|
791
|
-
protoOf(AuthTokenHolder$setToken$slambda).
|
|
792
|
-
return this.
|
|
791
|
+
protoOf(AuthTokenHolder$setToken$slambda).ga = function (p1, $completion) {
|
|
792
|
+
return this.hrl((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
793
793
|
};
|
|
794
|
-
protoOf(AuthTokenHolder$setToken$slambda).
|
|
795
|
-
var suspendResult = this.
|
|
794
|
+
protoOf(AuthTokenHolder$setToken$slambda).u9 = function () {
|
|
795
|
+
var suspendResult = this.o9_1;
|
|
796
796
|
$sm: do
|
|
797
797
|
try {
|
|
798
|
-
var tmp = this.
|
|
798
|
+
var tmp = this.m9_1;
|
|
799
799
|
switch (tmp) {
|
|
800
800
|
case 0:
|
|
801
|
-
this.
|
|
802
|
-
this.
|
|
803
|
-
this.
|
|
804
|
-
this.
|
|
805
|
-
suspendResult = this.
|
|
801
|
+
this.n9_1 = 7;
|
|
802
|
+
this.frl_1 = this.zrk_1.mrl_1;
|
|
803
|
+
this.erl_1 = null;
|
|
804
|
+
this.m9_1 = 1;
|
|
805
|
+
suspendResult = this.frl_1.q2n(this.erl_1, this);
|
|
806
806
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
807
807
|
return suspendResult;
|
|
808
808
|
}
|
|
809
809
|
|
|
810
810
|
continue $sm;
|
|
811
811
|
case 1:
|
|
812
|
-
this.
|
|
813
|
-
this.
|
|
812
|
+
this.grl_1 = Unit_instance;
|
|
813
|
+
this.m9_1 = 2;
|
|
814
814
|
continue $sm;
|
|
815
815
|
case 2:
|
|
816
|
-
this.
|
|
817
|
-
if (equals(this.
|
|
818
|
-
this.
|
|
819
|
-
suspendResult = this.
|
|
816
|
+
this.n9_1 = 6;
|
|
817
|
+
if (equals(this.arl_1, this.zrk_1.krl_1) || this.brl_1) {
|
|
818
|
+
this.m9_1 = 3;
|
|
819
|
+
suspendResult = this.crl_1(this);
|
|
820
820
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
821
821
|
return suspendResult;
|
|
822
822
|
}
|
|
823
823
|
continue $sm;
|
|
824
824
|
} else {
|
|
825
|
-
this.
|
|
825
|
+
this.m9_1 = 4;
|
|
826
826
|
continue $sm;
|
|
827
827
|
}
|
|
828
828
|
|
|
829
829
|
case 3:
|
|
830
830
|
var ARGUMENT = suspendResult;
|
|
831
|
-
this.
|
|
832
|
-
this.
|
|
831
|
+
this.zrk_1.krl_1 = ARGUMENT;
|
|
832
|
+
this.m9_1 = 4;
|
|
833
833
|
continue $sm;
|
|
834
834
|
case 4:
|
|
835
|
-
this.
|
|
836
|
-
this.
|
|
837
|
-
this.
|
|
835
|
+
this.grl_1 = this.zrk_1.krl_1;
|
|
836
|
+
this.n9_1 = 7;
|
|
837
|
+
this.m9_1 = 5;
|
|
838
838
|
continue $sm;
|
|
839
839
|
case 5:
|
|
840
|
-
var tmp_0 = this.
|
|
841
|
-
this.
|
|
842
|
-
this.
|
|
840
|
+
var tmp_0 = this.grl_1;
|
|
841
|
+
this.n9_1 = 7;
|
|
842
|
+
this.frl_1.r2n(this.erl_1);
|
|
843
843
|
return tmp_0;
|
|
844
844
|
case 6:
|
|
845
|
-
this.
|
|
846
|
-
var t = this.
|
|
847
|
-
this.
|
|
845
|
+
this.n9_1 = 7;
|
|
846
|
+
var t = this.p9_1;
|
|
847
|
+
this.frl_1.r2n(this.erl_1);
|
|
848
848
|
throw t;
|
|
849
849
|
case 7:
|
|
850
|
-
throw this.
|
|
850
|
+
throw this.p9_1;
|
|
851
851
|
}
|
|
852
852
|
} catch ($p) {
|
|
853
853
|
var e = $p;
|
|
854
|
-
if (this.
|
|
854
|
+
if (this.n9_1 === 7) {
|
|
855
855
|
throw e;
|
|
856
856
|
} else {
|
|
857
|
-
this.
|
|
858
|
-
this.
|
|
857
|
+
this.m9_1 = this.n9_1;
|
|
858
|
+
this.p9_1 = e;
|
|
859
859
|
}
|
|
860
860
|
}
|
|
861
861
|
while (true);
|
|
862
862
|
};
|
|
863
|
-
protoOf(AuthTokenHolder$setToken$slambda).
|
|
864
|
-
var i = new AuthTokenHolder$setToken$slambda(this.
|
|
865
|
-
i.
|
|
863
|
+
protoOf(AuthTokenHolder$setToken$slambda).h2j = function ($this$withContext, completion) {
|
|
864
|
+
var i = new AuthTokenHolder$setToken$slambda(this.zrk_1, this.arl_1, this.brl_1, this.crl_1, completion);
|
|
865
|
+
i.drl_1 = $this$withContext;
|
|
866
866
|
return i;
|
|
867
867
|
};
|
|
868
868
|
function AuthTokenHolder$setToken$slambda_0(this$0, $prevValue, $lockedByLoad, $block, resultContinuation) {
|
|
869
869
|
var i = new AuthTokenHolder$setToken$slambda(this$0, $prevValue, $lockedByLoad, $block, resultContinuation);
|
|
870
870
|
var l = function ($this$withContext, $completion) {
|
|
871
|
-
return i.
|
|
871
|
+
return i.hrl($this$withContext, $completion);
|
|
872
872
|
};
|
|
873
873
|
l.$arity = 1;
|
|
874
874
|
return l;
|
|
875
875
|
}
|
|
876
876
|
function AuthTokenHolder$clearToken$slambda(this$0, resultContinuation) {
|
|
877
|
-
this.
|
|
877
|
+
this.xrl_1 = this$0;
|
|
878
878
|
CoroutineImpl.call(this, resultContinuation);
|
|
879
879
|
}
|
|
880
|
-
protoOf(AuthTokenHolder$clearToken$slambda).
|
|
881
|
-
var tmp = this.
|
|
882
|
-
tmp.
|
|
883
|
-
tmp.
|
|
884
|
-
return tmp.
|
|
880
|
+
protoOf(AuthTokenHolder$clearToken$slambda).g2j = function ($this$launch, $completion) {
|
|
881
|
+
var tmp = this.h2j($this$launch, $completion);
|
|
882
|
+
tmp.o9_1 = Unit_instance;
|
|
883
|
+
tmp.p9_1 = null;
|
|
884
|
+
return tmp.u9();
|
|
885
885
|
};
|
|
886
|
-
protoOf(AuthTokenHolder$clearToken$slambda).
|
|
887
|
-
return this.
|
|
886
|
+
protoOf(AuthTokenHolder$clearToken$slambda).ga = function (p1, $completion) {
|
|
887
|
+
return this.g2j((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
888
888
|
};
|
|
889
|
-
protoOf(AuthTokenHolder$clearToken$slambda).
|
|
890
|
-
var suspendResult = this.
|
|
889
|
+
protoOf(AuthTokenHolder$clearToken$slambda).u9 = function () {
|
|
890
|
+
var suspendResult = this.o9_1;
|
|
891
891
|
$sm: do
|
|
892
892
|
try {
|
|
893
|
-
var tmp = this.
|
|
893
|
+
var tmp = this.m9_1;
|
|
894
894
|
switch (tmp) {
|
|
895
895
|
case 0:
|
|
896
|
-
this.
|
|
897
|
-
this.
|
|
898
|
-
this.
|
|
899
|
-
this.
|
|
900
|
-
suspendResult = this.
|
|
896
|
+
this.n9_1 = 2;
|
|
897
|
+
this.arm_1 = this.xrl_1.mrl_1;
|
|
898
|
+
this.zrl_1 = null;
|
|
899
|
+
this.m9_1 = 1;
|
|
900
|
+
suspendResult = this.arm_1.q2n(this.zrl_1, this);
|
|
901
901
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
902
902
|
return suspendResult;
|
|
903
903
|
}
|
|
@@ -907,85 +907,85 @@ protoOf(AuthTokenHolder$clearToken$slambda).t9 = function () {
|
|
|
907
907
|
l$ret$1: do {
|
|
908
908
|
var tmp_0;
|
|
909
909
|
try {
|
|
910
|
-
this.
|
|
910
|
+
this.xrl_1.krl_1 = null;
|
|
911
911
|
break l$ret$1;
|
|
912
912
|
} catch ($p) {
|
|
913
913
|
var tmp_1;
|
|
914
914
|
var t = $p;
|
|
915
|
-
this.
|
|
915
|
+
this.arm_1.r2n(this.zrl_1);
|
|
916
916
|
throw t;
|
|
917
917
|
}
|
|
918
918
|
}
|
|
919
919
|
while (false);
|
|
920
|
-
this.
|
|
920
|
+
this.arm_1.r2n(this.zrl_1);
|
|
921
921
|
return Unit_instance;
|
|
922
922
|
case 2:
|
|
923
|
-
throw this.
|
|
923
|
+
throw this.p9_1;
|
|
924
924
|
}
|
|
925
925
|
} catch ($p) {
|
|
926
926
|
var e = $p;
|
|
927
|
-
if (this.
|
|
927
|
+
if (this.n9_1 === 2) {
|
|
928
928
|
throw e;
|
|
929
929
|
} else {
|
|
930
|
-
this.
|
|
931
|
-
this.
|
|
930
|
+
this.m9_1 = this.n9_1;
|
|
931
|
+
this.p9_1 = e;
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
while (true);
|
|
935
935
|
};
|
|
936
|
-
protoOf(AuthTokenHolder$clearToken$slambda).
|
|
937
|
-
var i = new AuthTokenHolder$clearToken$slambda(this.
|
|
938
|
-
i.
|
|
936
|
+
protoOf(AuthTokenHolder$clearToken$slambda).h2j = function ($this$launch, completion) {
|
|
937
|
+
var i = new AuthTokenHolder$clearToken$slambda(this.xrl_1, completion);
|
|
938
|
+
i.yrl_1 = $this$launch;
|
|
939
939
|
return i;
|
|
940
940
|
};
|
|
941
941
|
function AuthTokenHolder$clearToken$slambda_0(this$0, resultContinuation) {
|
|
942
942
|
var i = new AuthTokenHolder$clearToken$slambda(this$0, resultContinuation);
|
|
943
943
|
var l = function ($this$launch, $completion) {
|
|
944
|
-
return i.
|
|
944
|
+
return i.g2j($this$launch, $completion);
|
|
945
945
|
};
|
|
946
946
|
l.$arity = 1;
|
|
947
947
|
return l;
|
|
948
948
|
}
|
|
949
949
|
function $loadTokenCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
950
950
|
CoroutineImpl.call(this, resultContinuation);
|
|
951
|
-
this.
|
|
951
|
+
this.jrm_1 = _this__u8e3s4;
|
|
952
952
|
}
|
|
953
|
-
protoOf($loadTokenCOROUTINE$).
|
|
954
|
-
var suspendResult = this.
|
|
953
|
+
protoOf($loadTokenCOROUTINE$).u9 = function () {
|
|
954
|
+
var suspendResult = this.o9_1;
|
|
955
955
|
$sm: do
|
|
956
956
|
try {
|
|
957
|
-
var tmp = this.
|
|
957
|
+
var tmp = this.m9_1;
|
|
958
958
|
switch (tmp) {
|
|
959
959
|
case 0:
|
|
960
|
-
this.
|
|
961
|
-
if (!this.
|
|
962
|
-
this.
|
|
963
|
-
suspendResult = this.
|
|
960
|
+
this.n9_1 = 14;
|
|
961
|
+
if (!this.jrm_1.jrl_1) {
|
|
962
|
+
this.m9_1 = 13;
|
|
963
|
+
suspendResult = this.jrm_1.irl_1(this);
|
|
964
964
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
965
965
|
return suspendResult;
|
|
966
966
|
}
|
|
967
967
|
continue $sm;
|
|
968
968
|
} else {
|
|
969
|
-
this.
|
|
969
|
+
this.m9_1 = 1;
|
|
970
970
|
continue $sm;
|
|
971
971
|
}
|
|
972
972
|
|
|
973
973
|
case 1:
|
|
974
|
-
if (!(this.
|
|
975
|
-
return this.
|
|
976
|
-
this.
|
|
977
|
-
if (!(this.
|
|
978
|
-
this.
|
|
979
|
-
suspendResult = this.
|
|
974
|
+
if (!(this.jrm_1.krl_1 == null))
|
|
975
|
+
return this.jrm_1.krl_1;
|
|
976
|
+
this.orm_1 = this.jrm_1.krl_1;
|
|
977
|
+
if (!(this.s9().z9(Companion_instance) == null)) {
|
|
978
|
+
this.m9_1 = 11;
|
|
979
|
+
suspendResult = this.jrm_1.irl_1(this);
|
|
980
980
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
981
981
|
return suspendResult;
|
|
982
982
|
}
|
|
983
983
|
continue $sm;
|
|
984
984
|
} else {
|
|
985
|
-
this.
|
|
986
|
-
this.
|
|
987
|
-
this.
|
|
988
|
-
suspendResult = this.
|
|
985
|
+
this.mrm_1 = this.jrm_1.mrl_1;
|
|
986
|
+
this.lrm_1 = null;
|
|
987
|
+
this.m9_1 = 2;
|
|
988
|
+
suspendResult = this.mrm_1.q2n(this.lrm_1, this);
|
|
989
989
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
990
990
|
return suspendResult;
|
|
991
991
|
}
|
|
@@ -993,165 +993,165 @@ protoOf($loadTokenCOROUTINE$).t9 = function () {
|
|
|
993
993
|
}
|
|
994
994
|
|
|
995
995
|
case 2:
|
|
996
|
-
this.
|
|
997
|
-
this.
|
|
996
|
+
this.nrm_1 = Unit_instance;
|
|
997
|
+
this.m9_1 = 3;
|
|
998
998
|
continue $sm;
|
|
999
999
|
case 3:
|
|
1000
|
-
this.
|
|
1001
|
-
this.
|
|
1002
|
-
this.
|
|
1000
|
+
this.n9_1 = 10;
|
|
1001
|
+
this.jrm_1.lrl_1 = true;
|
|
1002
|
+
this.m9_1 = 4;
|
|
1003
1003
|
continue $sm;
|
|
1004
1004
|
case 4:
|
|
1005
|
-
this.
|
|
1006
|
-
if (equals(this.
|
|
1007
|
-
this.
|
|
1008
|
-
suspendResult = this.
|
|
1005
|
+
this.n9_1 = 9;
|
|
1006
|
+
if (equals(this.orm_1, this.jrm_1.krl_1)) {
|
|
1007
|
+
this.m9_1 = 5;
|
|
1008
|
+
suspendResult = this.jrm_1.irl_1(this);
|
|
1009
1009
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1010
1010
|
return suspendResult;
|
|
1011
1011
|
}
|
|
1012
1012
|
continue $sm;
|
|
1013
1013
|
} else {
|
|
1014
|
-
this.
|
|
1014
|
+
this.m9_1 = 6;
|
|
1015
1015
|
continue $sm;
|
|
1016
1016
|
}
|
|
1017
1017
|
|
|
1018
1018
|
case 5:
|
|
1019
1019
|
var ARGUMENT = suspendResult;
|
|
1020
|
-
this.
|
|
1021
|
-
this.
|
|
1020
|
+
this.jrm_1.krl_1 = ARGUMENT;
|
|
1021
|
+
this.m9_1 = 6;
|
|
1022
1022
|
continue $sm;
|
|
1023
1023
|
case 6:
|
|
1024
|
-
this.
|
|
1024
|
+
this.m9_1 = 7;
|
|
1025
1025
|
continue $sm;
|
|
1026
1026
|
case 7:
|
|
1027
|
-
this.
|
|
1028
|
-
this.
|
|
1029
|
-
this.
|
|
1030
|
-
this.
|
|
1031
|
-
this.
|
|
1027
|
+
this.n9_1 = 10;
|
|
1028
|
+
this.jrm_1.lrl_1 = false;
|
|
1029
|
+
this.nrm_1 = this.jrm_1.krl_1;
|
|
1030
|
+
this.n9_1 = 14;
|
|
1031
|
+
this.m9_1 = 8;
|
|
1032
1032
|
continue $sm;
|
|
1033
1033
|
case 8:
|
|
1034
|
-
var tmp_0 = this.
|
|
1035
|
-
this.
|
|
1036
|
-
this.
|
|
1037
|
-
this.
|
|
1038
|
-
this.
|
|
1034
|
+
var tmp_0 = this.nrm_1;
|
|
1035
|
+
this.n9_1 = 14;
|
|
1036
|
+
this.mrm_1.r2n(this.lrm_1);
|
|
1037
|
+
this.krm_1 = tmp_0;
|
|
1038
|
+
this.m9_1 = 12;
|
|
1039
1039
|
continue $sm;
|
|
1040
1040
|
case 9:
|
|
1041
|
-
this.
|
|
1042
|
-
var t = this.
|
|
1043
|
-
this.
|
|
1041
|
+
this.n9_1 = 10;
|
|
1042
|
+
var t = this.p9_1;
|
|
1043
|
+
this.jrm_1.lrl_1 = false;
|
|
1044
1044
|
throw t;
|
|
1045
1045
|
case 10:
|
|
1046
|
-
this.
|
|
1047
|
-
var t_0 = this.
|
|
1048
|
-
this.
|
|
1046
|
+
this.n9_1 = 14;
|
|
1047
|
+
var t_0 = this.p9_1;
|
|
1048
|
+
this.mrm_1.r2n(this.lrm_1);
|
|
1049
1049
|
throw t_0;
|
|
1050
1050
|
case 11:
|
|
1051
1051
|
var ARGUMENT_0 = suspendResult;
|
|
1052
|
-
this.
|
|
1053
|
-
this.
|
|
1054
|
-
this.
|
|
1052
|
+
this.jrm_1.krl_1 = ARGUMENT_0;
|
|
1053
|
+
this.krm_1 = this.jrm_1.krl_1;
|
|
1054
|
+
this.m9_1 = 12;
|
|
1055
1055
|
continue $sm;
|
|
1056
1056
|
case 12:
|
|
1057
|
-
return this.
|
|
1057
|
+
return this.krm_1;
|
|
1058
1058
|
case 13:
|
|
1059
1059
|
return suspendResult;
|
|
1060
1060
|
case 14:
|
|
1061
|
-
throw this.
|
|
1061
|
+
throw this.p9_1;
|
|
1062
1062
|
}
|
|
1063
1063
|
} catch ($p) {
|
|
1064
1064
|
var e = $p;
|
|
1065
|
-
if (this.
|
|
1065
|
+
if (this.n9_1 === 14) {
|
|
1066
1066
|
throw e;
|
|
1067
1067
|
} else {
|
|
1068
|
-
this.
|
|
1069
|
-
this.
|
|
1068
|
+
this.m9_1 = this.n9_1;
|
|
1069
|
+
this.p9_1 = e;
|
|
1070
1070
|
}
|
|
1071
1071
|
}
|
|
1072
1072
|
while (true);
|
|
1073
1073
|
};
|
|
1074
1074
|
function AuthTokenHolder(loadTokens, cacheTokens) {
|
|
1075
1075
|
cacheTokens = cacheTokens === VOID ? true : cacheTokens;
|
|
1076
|
-
this.
|
|
1077
|
-
this.
|
|
1078
|
-
this.
|
|
1079
|
-
this.
|
|
1080
|
-
this.
|
|
1081
|
-
this.
|
|
1076
|
+
this.irl_1 = loadTokens;
|
|
1077
|
+
this.jrl_1 = cacheTokens;
|
|
1078
|
+
this.krl_1 = null;
|
|
1079
|
+
this.lrl_1 = false;
|
|
1080
|
+
this.mrl_1 = Mutex();
|
|
1081
|
+
this.nrl_1 = new SetTokenContext();
|
|
1082
1082
|
}
|
|
1083
|
-
protoOf(AuthTokenHolder).
|
|
1083
|
+
protoOf(AuthTokenHolder).prm = function ($completion) {
|
|
1084
1084
|
var tmp = new $loadTokenCOROUTINE$(this, $completion);
|
|
1085
|
-
tmp.
|
|
1086
|
-
tmp.
|
|
1087
|
-
return tmp.
|
|
1085
|
+
tmp.o9_1 = Unit_instance;
|
|
1086
|
+
tmp.p9_1 = null;
|
|
1087
|
+
return tmp.u9();
|
|
1088
1088
|
};
|
|
1089
|
-
protoOf(AuthTokenHolder).
|
|
1090
|
-
var prevValue = this.
|
|
1091
|
-
var lockedByLoad = this.
|
|
1089
|
+
protoOf(AuthTokenHolder).qrm = function (nonCancellable, block, $completion) {
|
|
1090
|
+
var prevValue = this.krl_1;
|
|
1091
|
+
var lockedByLoad = this.lrl_1;
|
|
1092
1092
|
var tmp;
|
|
1093
1093
|
if (nonCancellable) {
|
|
1094
1094
|
// Inline function 'kotlin.js.getCoroutineContext' call
|
|
1095
|
-
tmp = $completion.
|
|
1095
|
+
tmp = $completion.s9().yj(NonCancellable_getInstance()).yj(this.nrl_1);
|
|
1096
1096
|
} else {
|
|
1097
1097
|
// Inline function 'kotlin.js.getCoroutineContext' call
|
|
1098
|
-
tmp = $completion.
|
|
1098
|
+
tmp = $completion.s9().yj(this.nrl_1);
|
|
1099
1099
|
}
|
|
1100
1100
|
var context = tmp;
|
|
1101
1101
|
return withContext(context, AuthTokenHolder$setToken$slambda_0(this, prevValue, lockedByLoad, block, null), $completion);
|
|
1102
1102
|
};
|
|
1103
|
-
protoOf(AuthTokenHolder).
|
|
1104
|
-
if (this.
|
|
1105
|
-
this.
|
|
1106
|
-
this.
|
|
1103
|
+
protoOf(AuthTokenHolder).rrm = function (coroutineScope) {
|
|
1104
|
+
if (this.mrl_1.p2n()) {
|
|
1105
|
+
this.krl_1 = null;
|
|
1106
|
+
this.mrl_1.s2n();
|
|
1107
1107
|
} else {
|
|
1108
1108
|
launch(coroutineScope, VOID, VOID, AuthTokenHolder$clearToken$slambda_0(this, null));
|
|
1109
1109
|
}
|
|
1110
1110
|
};
|
|
1111
|
-
protoOf(AuthTokenHolder).
|
|
1111
|
+
protoOf(AuthTokenHolder).srm = function (coroutineScope, $super) {
|
|
1112
1112
|
coroutineScope = coroutineScope === VOID ? GlobalScope_instance : coroutineScope;
|
|
1113
1113
|
var tmp;
|
|
1114
1114
|
if ($super === VOID) {
|
|
1115
|
-
this.
|
|
1115
|
+
this.rrm(coroutineScope);
|
|
1116
1116
|
tmp = Unit_instance;
|
|
1117
1117
|
} else {
|
|
1118
|
-
tmp = $super.
|
|
1118
|
+
tmp = $super.rrm.call(this, coroutineScope);
|
|
1119
1119
|
}
|
|
1120
1120
|
return tmp;
|
|
1121
1121
|
};
|
|
1122
1122
|
function BearerTokens(accessToken, refreshToken) {
|
|
1123
|
-
this.
|
|
1124
|
-
this.
|
|
1123
|
+
this.trm_1 = accessToken;
|
|
1124
|
+
this.urm_1 = refreshToken;
|
|
1125
1125
|
}
|
|
1126
1126
|
function bearer(_this__u8e3s4, block) {
|
|
1127
1127
|
// Inline function 'kotlin.apply' call
|
|
1128
1128
|
var this_0 = new BearerAuthConfig();
|
|
1129
1129
|
block(this_0);
|
|
1130
1130
|
// Inline function 'kotlin.with' call
|
|
1131
|
-
_this__u8e3s4.
|
|
1131
|
+
_this__u8e3s4.xrh_1.e1(new BearerAuthProvider(this_0.vrm_1, this_0.wrm_1, this_0.xrm_1, this_0.yrm_1, this_0.zrm_1, this_0.arn_1));
|
|
1132
1132
|
}
|
|
1133
1133
|
function BearerAuthConfig$refreshTokens$slambda(resultContinuation) {
|
|
1134
1134
|
CoroutineImpl.call(this, resultContinuation);
|
|
1135
1135
|
}
|
|
1136
|
-
protoOf(BearerAuthConfig$refreshTokens$slambda).
|
|
1137
|
-
var tmp = this.
|
|
1138
|
-
tmp.
|
|
1139
|
-
tmp.
|
|
1140
|
-
return tmp.
|
|
1136
|
+
protoOf(BearerAuthConfig$refreshTokens$slambda).krn = function (_this__u8e3s4, $completion) {
|
|
1137
|
+
var tmp = this.lrn(_this__u8e3s4, $completion);
|
|
1138
|
+
tmp.o9_1 = Unit_instance;
|
|
1139
|
+
tmp.p9_1 = null;
|
|
1140
|
+
return tmp.u9();
|
|
1141
1141
|
};
|
|
1142
|
-
protoOf(BearerAuthConfig$refreshTokens$slambda).
|
|
1143
|
-
return this.
|
|
1142
|
+
protoOf(BearerAuthConfig$refreshTokens$slambda).ga = function (p1, $completion) {
|
|
1143
|
+
return this.krn(p1 instanceof RefreshTokensParams ? p1 : THROW_CCE(), $completion);
|
|
1144
1144
|
};
|
|
1145
|
-
protoOf(BearerAuthConfig$refreshTokens$slambda).
|
|
1146
|
-
var suspendResult = this.
|
|
1145
|
+
protoOf(BearerAuthConfig$refreshTokens$slambda).u9 = function () {
|
|
1146
|
+
var suspendResult = this.o9_1;
|
|
1147
1147
|
$sm: do
|
|
1148
1148
|
try {
|
|
1149
|
-
var tmp = this.
|
|
1149
|
+
var tmp = this.m9_1;
|
|
1150
1150
|
if (tmp === 0) {
|
|
1151
|
-
this.
|
|
1151
|
+
this.n9_1 = 1;
|
|
1152
1152
|
return null;
|
|
1153
1153
|
} else if (tmp === 1) {
|
|
1154
|
-
throw this.
|
|
1154
|
+
throw this.p9_1;
|
|
1155
1155
|
}
|
|
1156
1156
|
} catch ($p) {
|
|
1157
1157
|
var e = $p;
|
|
@@ -1159,15 +1159,15 @@ protoOf(BearerAuthConfig$refreshTokens$slambda).t9 = function () {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
while (true);
|
|
1161
1161
|
};
|
|
1162
|
-
protoOf(BearerAuthConfig$refreshTokens$slambda).
|
|
1162
|
+
protoOf(BearerAuthConfig$refreshTokens$slambda).lrn = function (_this__u8e3s4, completion) {
|
|
1163
1163
|
var i = new BearerAuthConfig$refreshTokens$slambda(completion);
|
|
1164
|
-
i.
|
|
1164
|
+
i.jrn_1 = _this__u8e3s4;
|
|
1165
1165
|
return i;
|
|
1166
1166
|
};
|
|
1167
1167
|
function BearerAuthConfig$refreshTokens$slambda_0(resultContinuation) {
|
|
1168
1168
|
var i = new BearerAuthConfig$refreshTokens$slambda(resultContinuation);
|
|
1169
1169
|
var l = function (_this__u8e3s4, $completion) {
|
|
1170
|
-
return i.
|
|
1170
|
+
return i.krn(_this__u8e3s4, $completion);
|
|
1171
1171
|
};
|
|
1172
1172
|
l.$arity = 1;
|
|
1173
1173
|
return l;
|
|
@@ -1175,25 +1175,25 @@ function BearerAuthConfig$refreshTokens$slambda_0(resultContinuation) {
|
|
|
1175
1175
|
function BearerAuthConfig$loadTokens$slambda(resultContinuation) {
|
|
1176
1176
|
CoroutineImpl.call(this, resultContinuation);
|
|
1177
1177
|
}
|
|
1178
|
-
protoOf(BearerAuthConfig$loadTokens$slambda).
|
|
1179
|
-
var tmp = this.
|
|
1180
|
-
tmp.
|
|
1181
|
-
tmp.
|
|
1182
|
-
return tmp.
|
|
1178
|
+
protoOf(BearerAuthConfig$loadTokens$slambda).urn = function ($completion) {
|
|
1179
|
+
var tmp = this.vrn($completion);
|
|
1180
|
+
tmp.o9_1 = Unit_instance;
|
|
1181
|
+
tmp.p9_1 = null;
|
|
1182
|
+
return tmp.u9();
|
|
1183
1183
|
};
|
|
1184
|
-
protoOf(BearerAuthConfig$loadTokens$slambda).
|
|
1185
|
-
return this.
|
|
1184
|
+
protoOf(BearerAuthConfig$loadTokens$slambda).db = function ($completion) {
|
|
1185
|
+
return this.urn($completion);
|
|
1186
1186
|
};
|
|
1187
|
-
protoOf(BearerAuthConfig$loadTokens$slambda).
|
|
1188
|
-
var suspendResult = this.
|
|
1187
|
+
protoOf(BearerAuthConfig$loadTokens$slambda).u9 = function () {
|
|
1188
|
+
var suspendResult = this.o9_1;
|
|
1189
1189
|
$sm: do
|
|
1190
1190
|
try {
|
|
1191
|
-
var tmp = this.
|
|
1191
|
+
var tmp = this.m9_1;
|
|
1192
1192
|
if (tmp === 0) {
|
|
1193
|
-
this.
|
|
1193
|
+
this.n9_1 = 1;
|
|
1194
1194
|
return null;
|
|
1195
1195
|
} else if (tmp === 1) {
|
|
1196
|
-
throw this.
|
|
1196
|
+
throw this.p9_1;
|
|
1197
1197
|
}
|
|
1198
1198
|
} catch ($p) {
|
|
1199
1199
|
var e = $p;
|
|
@@ -1201,13 +1201,13 @@ protoOf(BearerAuthConfig$loadTokens$slambda).t9 = function () {
|
|
|
1201
1201
|
}
|
|
1202
1202
|
while (true);
|
|
1203
1203
|
};
|
|
1204
|
-
protoOf(BearerAuthConfig$loadTokens$slambda).
|
|
1204
|
+
protoOf(BearerAuthConfig$loadTokens$slambda).vrn = function (completion) {
|
|
1205
1205
|
return new BearerAuthConfig$loadTokens$slambda(completion);
|
|
1206
1206
|
};
|
|
1207
1207
|
function BearerAuthConfig$loadTokens$slambda_0(resultContinuation) {
|
|
1208
1208
|
var i = new BearerAuthConfig$loadTokens$slambda(resultContinuation);
|
|
1209
1209
|
var l = function ($completion) {
|
|
1210
|
-
return i.
|
|
1210
|
+
return i.urn($completion);
|
|
1211
1211
|
};
|
|
1212
1212
|
l.$arity = 0;
|
|
1213
1213
|
return l;
|
|
@@ -1217,71 +1217,71 @@ function BearerAuthConfig$sendWithoutRequest$lambda(it) {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
function BearerAuthConfig() {
|
|
1219
1219
|
var tmp = this;
|
|
1220
|
-
tmp.
|
|
1220
|
+
tmp.vrm_1 = BearerAuthConfig$refreshTokens$slambda_0(null);
|
|
1221
1221
|
var tmp_0 = this;
|
|
1222
|
-
tmp_0.
|
|
1222
|
+
tmp_0.wrm_1 = BearerAuthConfig$loadTokens$slambda_0(null);
|
|
1223
1223
|
var tmp_1 = this;
|
|
1224
|
-
tmp_1.
|
|
1225
|
-
this.
|
|
1226
|
-
this.
|
|
1227
|
-
this.
|
|
1224
|
+
tmp_1.xrm_1 = BearerAuthConfig$sendWithoutRequest$lambda;
|
|
1225
|
+
this.yrm_1 = null;
|
|
1226
|
+
this.zrm_1 = true;
|
|
1227
|
+
this.arn_1 = false;
|
|
1228
1228
|
}
|
|
1229
|
-
protoOf(BearerAuthConfig).
|
|
1230
|
-
this.
|
|
1229
|
+
protoOf(BearerAuthConfig).wrn = function (block) {
|
|
1230
|
+
this.vrm_1 = block;
|
|
1231
1231
|
};
|
|
1232
|
-
protoOf(BearerAuthConfig).
|
|
1233
|
-
this.
|
|
1232
|
+
protoOf(BearerAuthConfig).xrn = function (block) {
|
|
1233
|
+
this.wrm_1 = block;
|
|
1234
1234
|
};
|
|
1235
1235
|
function RefreshTokensParams(client, response, oldTokens) {
|
|
1236
|
-
this.
|
|
1237
|
-
this.
|
|
1238
|
-
this.
|
|
1236
|
+
this.yrn_1 = client;
|
|
1237
|
+
this.zrn_1 = response;
|
|
1238
|
+
this.aro_1 = oldTokens;
|
|
1239
1239
|
}
|
|
1240
1240
|
function BearerAuthProvider$_init_$lambda_lcdiwf(it) {
|
|
1241
1241
|
return true;
|
|
1242
1242
|
}
|
|
1243
1243
|
function BearerAuthProvider$addRequestHeaders$lambda($token, $request) {
|
|
1244
1244
|
return function ($this$headers) {
|
|
1245
|
-
var tokenValue = 'Bearer ' + $token.
|
|
1245
|
+
var tokenValue = 'Bearer ' + $token.trm_1;
|
|
1246
1246
|
var tmp;
|
|
1247
|
-
if ($this$headers.
|
|
1248
|
-
$this$headers.
|
|
1247
|
+
if ($this$headers.y3b('Authorization')) {
|
|
1248
|
+
$this$headers.u3d('Authorization');
|
|
1249
1249
|
tmp = Unit_instance;
|
|
1250
1250
|
}
|
|
1251
1251
|
var tmp_0;
|
|
1252
|
-
if (!$request.
|
|
1253
|
-
$this$headers.
|
|
1252
|
+
if (!$request.r4i_1.p38(get_AuthCircuitBreaker())) {
|
|
1253
|
+
$this$headers.g3d('Authorization', tokenValue);
|
|
1254
1254
|
tmp_0 = Unit_instance;
|
|
1255
1255
|
}
|
|
1256
1256
|
return Unit_instance;
|
|
1257
1257
|
};
|
|
1258
1258
|
}
|
|
1259
1259
|
function BearerAuthProvider$refreshToken$slambda(this$0, $response, resultContinuation) {
|
|
1260
|
-
this.
|
|
1261
|
-
this.
|
|
1260
|
+
this.jro_1 = this$0;
|
|
1261
|
+
this.kro_1 = $response;
|
|
1262
1262
|
CoroutineImpl.call(this, resultContinuation);
|
|
1263
1263
|
}
|
|
1264
|
-
protoOf(BearerAuthProvider$refreshToken$slambda).
|
|
1265
|
-
var tmp = this.
|
|
1266
|
-
tmp.
|
|
1267
|
-
tmp.
|
|
1268
|
-
return tmp.
|
|
1264
|
+
protoOf(BearerAuthProvider$refreshToken$slambda).urn = function ($completion) {
|
|
1265
|
+
var tmp = this.vrn($completion);
|
|
1266
|
+
tmp.o9_1 = Unit_instance;
|
|
1267
|
+
tmp.p9_1 = null;
|
|
1268
|
+
return tmp.u9();
|
|
1269
1269
|
};
|
|
1270
|
-
protoOf(BearerAuthProvider$refreshToken$slambda).
|
|
1271
|
-
return this.
|
|
1270
|
+
protoOf(BearerAuthProvider$refreshToken$slambda).db = function ($completion) {
|
|
1271
|
+
return this.urn($completion);
|
|
1272
1272
|
};
|
|
1273
|
-
protoOf(BearerAuthProvider$refreshToken$slambda).
|
|
1274
|
-
var suspendResult = this.
|
|
1273
|
+
protoOf(BearerAuthProvider$refreshToken$slambda).u9 = function () {
|
|
1274
|
+
var suspendResult = this.o9_1;
|
|
1275
1275
|
$sm: do
|
|
1276
1276
|
try {
|
|
1277
|
-
var tmp = this.
|
|
1277
|
+
var tmp = this.m9_1;
|
|
1278
1278
|
switch (tmp) {
|
|
1279
1279
|
case 0:
|
|
1280
|
-
this.
|
|
1281
|
-
this.
|
|
1282
|
-
this.
|
|
1283
|
-
this.
|
|
1284
|
-
suspendResult = this.
|
|
1280
|
+
this.n9_1 = 3;
|
|
1281
|
+
this.lro_1 = this.jro_1.nro_1;
|
|
1282
|
+
this.mro_1 = this.kro_1.d4k().h4h_1;
|
|
1283
|
+
this.m9_1 = 1;
|
|
1284
|
+
suspendResult = this.jro_1.rro_1.prm(this);
|
|
1285
1285
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1286
1286
|
return suspendResult;
|
|
1287
1287
|
}
|
|
@@ -1289,9 +1289,9 @@ protoOf(BearerAuthProvider$refreshToken$slambda).t9 = function () {
|
|
|
1289
1289
|
continue $sm;
|
|
1290
1290
|
case 1:
|
|
1291
1291
|
var ARGUMENT = suspendResult;
|
|
1292
|
-
var ARGUMENT_0 = new RefreshTokensParams(this.
|
|
1293
|
-
this.
|
|
1294
|
-
suspendResult = this.
|
|
1292
|
+
var ARGUMENT_0 = new RefreshTokensParams(this.mro_1, this.kro_1, ARGUMENT);
|
|
1293
|
+
this.m9_1 = 2;
|
|
1294
|
+
suspendResult = this.lro_1(ARGUMENT_0, this);
|
|
1295
1295
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1296
1296
|
return suspendResult;
|
|
1297
1297
|
}
|
|
@@ -1300,46 +1300,46 @@ protoOf(BearerAuthProvider$refreshToken$slambda).t9 = function () {
|
|
|
1300
1300
|
case 2:
|
|
1301
1301
|
return suspendResult;
|
|
1302
1302
|
case 3:
|
|
1303
|
-
throw this.
|
|
1303
|
+
throw this.p9_1;
|
|
1304
1304
|
}
|
|
1305
1305
|
} catch ($p) {
|
|
1306
1306
|
var e = $p;
|
|
1307
|
-
if (this.
|
|
1307
|
+
if (this.n9_1 === 3) {
|
|
1308
1308
|
throw e;
|
|
1309
1309
|
} else {
|
|
1310
|
-
this.
|
|
1311
|
-
this.
|
|
1310
|
+
this.m9_1 = this.n9_1;
|
|
1311
|
+
this.p9_1 = e;
|
|
1312
1312
|
}
|
|
1313
1313
|
}
|
|
1314
1314
|
while (true);
|
|
1315
1315
|
};
|
|
1316
|
-
protoOf(BearerAuthProvider$refreshToken$slambda).
|
|
1317
|
-
return new BearerAuthProvider$refreshToken$slambda(this.
|
|
1316
|
+
protoOf(BearerAuthProvider$refreshToken$slambda).vrn = function (completion) {
|
|
1317
|
+
return new BearerAuthProvider$refreshToken$slambda(this.jro_1, this.kro_1, completion);
|
|
1318
1318
|
};
|
|
1319
1319
|
function BearerAuthProvider$refreshToken$slambda_0(this$0, $response, resultContinuation) {
|
|
1320
1320
|
var i = new BearerAuthProvider$refreshToken$slambda(this$0, $response, resultContinuation);
|
|
1321
1321
|
var l = function ($completion) {
|
|
1322
|
-
return i.
|
|
1322
|
+
return i.urn($completion);
|
|
1323
1323
|
};
|
|
1324
1324
|
l.$arity = 0;
|
|
1325
1325
|
return l;
|
|
1326
1326
|
}
|
|
1327
1327
|
function $addRequestHeadersCOROUTINE$(_this__u8e3s4, request, authHeader, resultContinuation) {
|
|
1328
1328
|
CoroutineImpl.call(this, resultContinuation);
|
|
1329
|
-
this.
|
|
1330
|
-
this.
|
|
1331
|
-
this.
|
|
1329
|
+
this.arp_1 = _this__u8e3s4;
|
|
1330
|
+
this.brp_1 = request;
|
|
1331
|
+
this.crp_1 = authHeader;
|
|
1332
1332
|
}
|
|
1333
|
-
protoOf($addRequestHeadersCOROUTINE$).
|
|
1334
|
-
var suspendResult = this.
|
|
1333
|
+
protoOf($addRequestHeadersCOROUTINE$).u9 = function () {
|
|
1334
|
+
var suspendResult = this.o9_1;
|
|
1335
1335
|
$sm: do
|
|
1336
1336
|
try {
|
|
1337
|
-
var tmp = this.
|
|
1337
|
+
var tmp = this.m9_1;
|
|
1338
1338
|
switch (tmp) {
|
|
1339
1339
|
case 0:
|
|
1340
|
-
this.
|
|
1341
|
-
this.
|
|
1342
|
-
suspendResult = this.
|
|
1340
|
+
this.n9_1 = 2;
|
|
1341
|
+
this.m9_1 = 1;
|
|
1342
|
+
suspendResult = this.arp_1.rro_1.prm(this);
|
|
1343
1343
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1344
1344
|
return suspendResult;
|
|
1345
1345
|
}
|
|
@@ -1355,37 +1355,37 @@ protoOf($addRequestHeadersCOROUTINE$).t9 = function () {
|
|
|
1355
1355
|
}
|
|
1356
1356
|
|
|
1357
1357
|
var token = tmp_0;
|
|
1358
|
-
headers(this.
|
|
1358
|
+
headers(this.brp_1, BearerAuthProvider$addRequestHeaders$lambda(token, this.brp_1));
|
|
1359
1359
|
return Unit_instance;
|
|
1360
1360
|
case 2:
|
|
1361
|
-
throw this.
|
|
1361
|
+
throw this.p9_1;
|
|
1362
1362
|
}
|
|
1363
1363
|
} catch ($p) {
|
|
1364
1364
|
var e = $p;
|
|
1365
|
-
if (this.
|
|
1365
|
+
if (this.n9_1 === 2) {
|
|
1366
1366
|
throw e;
|
|
1367
1367
|
} else {
|
|
1368
|
-
this.
|
|
1369
|
-
this.
|
|
1368
|
+
this.m9_1 = this.n9_1;
|
|
1369
|
+
this.p9_1 = e;
|
|
1370
1370
|
}
|
|
1371
1371
|
}
|
|
1372
1372
|
while (true);
|
|
1373
1373
|
};
|
|
1374
1374
|
function $refreshTokenCOROUTINE$(_this__u8e3s4, response, resultContinuation) {
|
|
1375
1375
|
CoroutineImpl.call(this, resultContinuation);
|
|
1376
|
-
this.
|
|
1377
|
-
this.
|
|
1376
|
+
this.lrp_1 = _this__u8e3s4;
|
|
1377
|
+
this.mrp_1 = response;
|
|
1378
1378
|
}
|
|
1379
|
-
protoOf($refreshTokenCOROUTINE$).
|
|
1380
|
-
var suspendResult = this.
|
|
1379
|
+
protoOf($refreshTokenCOROUTINE$).u9 = function () {
|
|
1380
|
+
var suspendResult = this.o9_1;
|
|
1381
1381
|
$sm: do
|
|
1382
1382
|
try {
|
|
1383
|
-
var tmp = this.
|
|
1383
|
+
var tmp = this.m9_1;
|
|
1384
1384
|
switch (tmp) {
|
|
1385
1385
|
case 0:
|
|
1386
|
-
this.
|
|
1387
|
-
this.
|
|
1388
|
-
suspendResult = this.
|
|
1386
|
+
this.n9_1 = 2;
|
|
1387
|
+
this.m9_1 = 1;
|
|
1388
|
+
suspendResult = this.lrp_1.rro_1.qrm(this.lrp_1.qro_1, BearerAuthProvider$refreshToken$slambda_0(this.lrp_1, this.mrp_1, null), this);
|
|
1389
1389
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1390
1390
|
return suspendResult;
|
|
1391
1391
|
}
|
|
@@ -1395,15 +1395,15 @@ protoOf($refreshTokenCOROUTINE$).t9 = function () {
|
|
|
1395
1395
|
var newToken = suspendResult;
|
|
1396
1396
|
return !(newToken == null);
|
|
1397
1397
|
case 2:
|
|
1398
|
-
throw this.
|
|
1398
|
+
throw this.p9_1;
|
|
1399
1399
|
}
|
|
1400
1400
|
} catch ($p) {
|
|
1401
1401
|
var e = $p;
|
|
1402
|
-
if (this.
|
|
1402
|
+
if (this.n9_1 === 2) {
|
|
1403
1403
|
throw e;
|
|
1404
1404
|
} else {
|
|
1405
|
-
this.
|
|
1406
|
-
this.
|
|
1405
|
+
this.m9_1 = this.n9_1;
|
|
1406
|
+
this.p9_1 = e;
|
|
1407
1407
|
}
|
|
1408
1408
|
}
|
|
1409
1409
|
while (true);
|
|
@@ -1418,62 +1418,62 @@ function BearerAuthProvider(refreshTokens, loadTokens, sendWithoutRequestCallbac
|
|
|
1418
1418
|
sendWithoutRequestCallback = tmp;
|
|
1419
1419
|
cacheTokens = cacheTokens === VOID ? true : cacheTokens;
|
|
1420
1420
|
nonCancellableRefresh = nonCancellableRefresh === VOID ? false : nonCancellableRefresh;
|
|
1421
|
-
this.
|
|
1422
|
-
this.
|
|
1423
|
-
this.
|
|
1424
|
-
this.
|
|
1425
|
-
this.
|
|
1421
|
+
this.nro_1 = refreshTokens;
|
|
1422
|
+
this.oro_1 = sendWithoutRequestCallback;
|
|
1423
|
+
this.pro_1 = realm;
|
|
1424
|
+
this.qro_1 = nonCancellableRefresh;
|
|
1425
|
+
this.rro_1 = new AuthTokenHolder(loadTokens, cacheTokens);
|
|
1426
1426
|
}
|
|
1427
|
-
protoOf(BearerAuthProvider).
|
|
1427
|
+
protoOf(BearerAuthProvider).qrk = function () {
|
|
1428
1428
|
// Inline function 'kotlin.error' call
|
|
1429
1429
|
var message = 'Deprecated';
|
|
1430
1430
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
1431
1431
|
};
|
|
1432
|
-
protoOf(BearerAuthProvider).
|
|
1433
|
-
return this.
|
|
1432
|
+
protoOf(BearerAuthProvider).trj = function (request) {
|
|
1433
|
+
return this.oro_1(request);
|
|
1434
1434
|
};
|
|
1435
|
-
protoOf(BearerAuthProvider).
|
|
1436
|
-
if (!(auth.
|
|
1437
|
-
get_LOGGER().
|
|
1435
|
+
protoOf(BearerAuthProvider).ari = function (auth) {
|
|
1436
|
+
if (!(auth.q3w_1 === 'Bearer')) {
|
|
1437
|
+
get_LOGGER().e3j('Bearer Auth Provider is not applicable for ' + auth.toString());
|
|
1438
1438
|
return false;
|
|
1439
1439
|
}
|
|
1440
1440
|
var tmp;
|
|
1441
|
-
if (this.
|
|
1441
|
+
if (this.pro_1 == null) {
|
|
1442
1442
|
tmp = true;
|
|
1443
1443
|
} else {
|
|
1444
1444
|
if (!(auth instanceof Parameterized)) {
|
|
1445
1445
|
tmp = false;
|
|
1446
1446
|
} else {
|
|
1447
|
-
tmp = auth.
|
|
1447
|
+
tmp = auth.r3l('realm') == this.pro_1;
|
|
1448
1448
|
}
|
|
1449
1449
|
}
|
|
1450
1450
|
var isSameRealm = tmp;
|
|
1451
1451
|
if (!isSameRealm) {
|
|
1452
|
-
get_LOGGER().
|
|
1452
|
+
get_LOGGER().e3j('Bearer Auth Provider is not applicable for this realm');
|
|
1453
1453
|
}
|
|
1454
1454
|
return isSameRealm;
|
|
1455
1455
|
};
|
|
1456
|
-
protoOf(BearerAuthProvider).
|
|
1456
|
+
protoOf(BearerAuthProvider).prk = function (request, authHeader, $completion) {
|
|
1457
1457
|
var tmp = new $addRequestHeadersCOROUTINE$(this, request, authHeader, $completion);
|
|
1458
|
-
tmp.
|
|
1459
|
-
tmp.
|
|
1460
|
-
return tmp.
|
|
1458
|
+
tmp.o9_1 = Unit_instance;
|
|
1459
|
+
tmp.p9_1 = null;
|
|
1460
|
+
return tmp.u9();
|
|
1461
1461
|
};
|
|
1462
|
-
protoOf(BearerAuthProvider).
|
|
1462
|
+
protoOf(BearerAuthProvider).ork = function (response, $completion) {
|
|
1463
1463
|
var tmp = new $refreshTokenCOROUTINE$(this, response, $completion);
|
|
1464
|
-
tmp.
|
|
1465
|
-
tmp.
|
|
1466
|
-
return tmp.
|
|
1464
|
+
tmp.o9_1 = Unit_instance;
|
|
1465
|
+
tmp.p9_1 = null;
|
|
1466
|
+
return tmp.u9();
|
|
1467
1467
|
};
|
|
1468
|
-
protoOf(BearerAuthProvider).
|
|
1469
|
-
this.
|
|
1468
|
+
protoOf(BearerAuthProvider).nrp = function () {
|
|
1469
|
+
this.rro_1.srm();
|
|
1470
1470
|
};
|
|
1471
1471
|
//region block: post-declaration
|
|
1472
|
-
protoOf(SetTokenContext).
|
|
1473
|
-
protoOf(SetTokenContext).
|
|
1474
|
-
protoOf(SetTokenContext).
|
|
1475
|
-
protoOf(SetTokenContext).
|
|
1476
|
-
protoOf(BearerAuthProvider).
|
|
1472
|
+
protoOf(SetTokenContext).z9 = get;
|
|
1473
|
+
protoOf(SetTokenContext).xj = fold;
|
|
1474
|
+
protoOf(SetTokenContext).wj = minusKey;
|
|
1475
|
+
protoOf(SetTokenContext).yj = plus;
|
|
1476
|
+
protoOf(BearerAuthProvider).urj = addRequestHeaders$default;
|
|
1477
1477
|
//endregion
|
|
1478
1478
|
//region block: init
|
|
1479
1479
|
Companion_instance = new Companion();
|