@solibo/solibo-sdk 1.16.9 → 1.16.10
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 +98 -98
- package/KotlinBigInteger-bignum.mjs +1114 -1114
- package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +3 -3
- package/bitops-library-bits.mjs +33 -33
- package/bitops-library-endian.mjs +3 -3
- package/client.d.mts +4 -0
- package/client.mjs +23 -0
- package/core-library-digest.mjs +29 -29
- package/cryptography-kotlin-cryptography-bigint.mjs +27 -27
- package/cryptography-kotlin-cryptography-core.mjs +47 -47
- package/cryptography-kotlin-cryptography-provider-base.mjs +7 -7
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +190 -190
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +177 -177
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +238 -238
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +20 -20
- package/hash-library-md.mjs +30 -30
- package/kotlin-kotlin-stdlib.mjs +4 -4
- package/kotlinx-coroutines-core.mjs +8 -8
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-client-auth.mjs +220 -220
- package/ktor-ktor-client-encoding.mjs +75 -75
- package/ktor-ktor-client-logging.mjs +520 -520
- package/ktor-ktor-client-mock.mjs +39 -39
- package/ktor-ktor-websockets.mjs +2 -2
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +25972 -25586
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +22 -3
- package/solibo-sdk-sdk.mjs +4639 -4639
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -130,10 +130,10 @@ initMetadataForCoroutine($logResponseBodyCOROUTINE$, CoroutineImpl);
|
|
|
130
130
|
initMetadataForCoroutine($closeResponseLogCOROUTINE$, CoroutineImpl);
|
|
131
131
|
initMetadataForClass(HttpClientCallLogger, 'HttpClientCallLogger', VOID, VOID, VOID, [1, 0]);
|
|
132
132
|
function filterRequest(url, contentLength, contentType, headers, body, $completion) {
|
|
133
|
-
return this.
|
|
133
|
+
return this.ixv(contentLength, contentType, headers, body, $completion);
|
|
134
134
|
}
|
|
135
135
|
function filterResponse(url, contentLength, contentType, headers, body, $completion) {
|
|
136
|
-
return this.
|
|
136
|
+
return this.ixv(contentLength, contentType, headers, body, $completion);
|
|
137
137
|
}
|
|
138
138
|
initMetadataForInterface(CommonLogBodyFilter, 'CommonLogBodyFilter', VOID, VOID, VOID, [5, 4]);
|
|
139
139
|
function get_byteSize() {
|
|
@@ -187,8 +187,8 @@ initMetadataForObject(MDCContextElement, 'MDCContextElement', VOID, VOID, [Eleme
|
|
|
187
187
|
//endregion
|
|
188
188
|
function $logResponseExceptionCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
189
189
|
CoroutineImpl.call(this, resultContinuation);
|
|
190
|
-
this.
|
|
191
|
-
this.
|
|
190
|
+
this.yxt_1 = _this__u8e3s4;
|
|
191
|
+
this.zxt_1 = message;
|
|
192
192
|
}
|
|
193
193
|
protoOf($logResponseExceptionCOROUTINE$).u9 = function () {
|
|
194
194
|
var suspendResult = this.o9_1;
|
|
@@ -199,15 +199,15 @@ protoOf($logResponseExceptionCOROUTINE$).u9 = function () {
|
|
|
199
199
|
case 0:
|
|
200
200
|
this.n9_1 = 2;
|
|
201
201
|
this.m9_1 = 1;
|
|
202
|
-
suspendResult = this.
|
|
202
|
+
suspendResult = this.yxt_1.dxu_1.o1w(this);
|
|
203
203
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
204
204
|
return suspendResult;
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
continue $sm;
|
|
208
208
|
case 1:
|
|
209
|
-
var this_0 = this.
|
|
210
|
-
this.
|
|
209
|
+
var this_0 = this.zxt_1;
|
|
210
|
+
this.yxt_1.axu_1.hxu(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())));
|
|
211
211
|
return Unit_instance;
|
|
212
212
|
case 2:
|
|
213
213
|
throw this.p9_1;
|
|
@@ -225,8 +225,8 @@ protoOf($logResponseExceptionCOROUTINE$).u9 = function () {
|
|
|
225
225
|
};
|
|
226
226
|
function $logResponseBodyCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
227
227
|
CoroutineImpl.call(this, resultContinuation);
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
228
|
+
this.qxu_1 = _this__u8e3s4;
|
|
229
|
+
this.rxu_1 = message;
|
|
230
230
|
}
|
|
231
231
|
protoOf($logResponseBodyCOROUTINE$).u9 = function () {
|
|
232
232
|
var suspendResult = this.o9_1;
|
|
@@ -237,14 +237,14 @@ protoOf($logResponseBodyCOROUTINE$).u9 = function () {
|
|
|
237
237
|
case 0:
|
|
238
238
|
this.n9_1 = 2;
|
|
239
239
|
this.m9_1 = 1;
|
|
240
|
-
suspendResult = this.
|
|
240
|
+
suspendResult = this.qxu_1.exu_1.o1w(this);
|
|
241
241
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
242
242
|
return suspendResult;
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
continue $sm;
|
|
246
246
|
case 1:
|
|
247
|
-
this.
|
|
247
|
+
this.qxu_1.cxu_1.q(this.rxu_1);
|
|
248
248
|
return Unit_instance;
|
|
249
249
|
case 2:
|
|
250
250
|
throw this.p9_1;
|
|
@@ -262,7 +262,7 @@ protoOf($logResponseBodyCOROUTINE$).u9 = function () {
|
|
|
262
262
|
};
|
|
263
263
|
function $closeResponseLogCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
264
264
|
CoroutineImpl.call(this, resultContinuation);
|
|
265
|
-
this.
|
|
265
|
+
this.axv_1 = _this__u8e3s4;
|
|
266
266
|
}
|
|
267
267
|
protoOf($closeResponseLogCOROUTINE$).u9 = function () {
|
|
268
268
|
var suspendResult = this.o9_1;
|
|
@@ -272,19 +272,19 @@ protoOf($closeResponseLogCOROUTINE$).u9 = function () {
|
|
|
272
272
|
switch (tmp) {
|
|
273
273
|
case 0:
|
|
274
274
|
this.n9_1 = 2;
|
|
275
|
-
if (!this.
|
|
275
|
+
if (!this.axv_1.gxu_1.atomicfu$compareAndSet(false, true))
|
|
276
276
|
return Unit_instance;
|
|
277
277
|
this.m9_1 = 1;
|
|
278
|
-
suspendResult = this.
|
|
278
|
+
suspendResult = this.axv_1.dxu_1.o1w(this);
|
|
279
279
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
280
280
|
return suspendResult;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
continue $sm;
|
|
284
284
|
case 1:
|
|
285
|
-
var message = toString(trim(this.
|
|
285
|
+
var message = toString(trim(this.axv_1.cxu_1));
|
|
286
286
|
if (charSequenceLength(message) > 0) {
|
|
287
|
-
this.
|
|
287
|
+
this.axv_1.axu_1.hxu(message);
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
return Unit_instance;
|
|
@@ -303,57 +303,57 @@ protoOf($closeResponseLogCOROUTINE$).u9 = function () {
|
|
|
303
303
|
while (true);
|
|
304
304
|
};
|
|
305
305
|
function HttpClientCallLogger(logger) {
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
313
|
-
}
|
|
314
|
-
protoOf(HttpClientCallLogger).
|
|
315
|
-
var tmp0 = this.
|
|
306
|
+
this.axu_1 = logger;
|
|
307
|
+
this.bxu_1 = StringBuilder_init_$Create$();
|
|
308
|
+
this.cxu_1 = StringBuilder_init_$Create$();
|
|
309
|
+
this.dxu_1 = Job();
|
|
310
|
+
this.exu_1 = Job();
|
|
311
|
+
this.fxu_1 = atomic$boolean$1(false);
|
|
312
|
+
this.gxu_1 = atomic$boolean$1(false);
|
|
313
|
+
}
|
|
314
|
+
protoOf(HttpClientCallLogger).bxv = function (message) {
|
|
315
|
+
var tmp0 = this.bxu_1;
|
|
316
316
|
// Inline function 'kotlin.text.trim' call
|
|
317
317
|
// Inline function 'kotlin.text.appendLine' call
|
|
318
318
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
319
319
|
// Inline function 'kotlin.text.appendLine' call
|
|
320
320
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
321
321
|
};
|
|
322
|
-
protoOf(HttpClientCallLogger).
|
|
323
|
-
var tmp0 = this.
|
|
322
|
+
protoOf(HttpClientCallLogger).cxv = function (message) {
|
|
323
|
+
var tmp0 = this.cxu_1;
|
|
324
324
|
// Inline function 'kotlin.text.trim' call
|
|
325
325
|
// Inline function 'kotlin.text.appendLine' call
|
|
326
326
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
327
327
|
// Inline function 'kotlin.text.appendLine' call
|
|
328
328
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
329
|
-
this.
|
|
329
|
+
this.exu_1.a24();
|
|
330
330
|
};
|
|
331
|
-
protoOf(HttpClientCallLogger).
|
|
331
|
+
protoOf(HttpClientCallLogger).dxv = function (message, $completion) {
|
|
332
332
|
var tmp = new $logResponseExceptionCOROUTINE$(this, message, $completion);
|
|
333
333
|
tmp.o9_1 = Unit_instance;
|
|
334
334
|
tmp.p9_1 = null;
|
|
335
335
|
return tmp.u9();
|
|
336
336
|
};
|
|
337
|
-
protoOf(HttpClientCallLogger).
|
|
337
|
+
protoOf(HttpClientCallLogger).exv = function (message, $completion) {
|
|
338
338
|
var tmp = new $logResponseBodyCOROUTINE$(this, message, $completion);
|
|
339
339
|
tmp.o9_1 = Unit_instance;
|
|
340
340
|
tmp.p9_1 = null;
|
|
341
341
|
return tmp.u9();
|
|
342
342
|
};
|
|
343
|
-
protoOf(HttpClientCallLogger).
|
|
344
|
-
if (!this.
|
|
343
|
+
protoOf(HttpClientCallLogger).fxv = function () {
|
|
344
|
+
if (!this.fxu_1.atomicfu$compareAndSet(false, true))
|
|
345
345
|
return Unit_instance;
|
|
346
346
|
try {
|
|
347
|
-
var message = toString(trim(this.
|
|
347
|
+
var message = toString(trim(this.bxu_1));
|
|
348
348
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
349
349
|
if (charSequenceLength(message) > 0) {
|
|
350
|
-
this.
|
|
350
|
+
this.axu_1.hxu(message);
|
|
351
351
|
}
|
|
352
352
|
}finally {
|
|
353
|
-
this.
|
|
353
|
+
this.dxu_1.a24();
|
|
354
354
|
}
|
|
355
355
|
};
|
|
356
|
-
protoOf(HttpClientCallLogger).
|
|
356
|
+
protoOf(HttpClientCallLogger).gxv = function ($completion) {
|
|
357
357
|
var tmp = new $closeResponseLogCOROUTINE$(this, $completion);
|
|
358
358
|
tmp.o9_1 = Unit_instance;
|
|
359
359
|
tmp.p9_1 = null;
|
|
@@ -375,35 +375,35 @@ function Empty_getInstance() {
|
|
|
375
375
|
function Skip(reason, byteSize) {
|
|
376
376
|
reason = reason === VOID ? null : reason;
|
|
377
377
|
byteSize = byteSize === VOID ? null : byteSize;
|
|
378
|
-
this.
|
|
379
|
-
this.
|
|
378
|
+
this.lxv_1 = reason;
|
|
379
|
+
this.mxv_1 = byteSize;
|
|
380
380
|
}
|
|
381
|
-
protoOf(Skip).
|
|
382
|
-
return this.
|
|
381
|
+
protoOf(Skip).kxv = function () {
|
|
382
|
+
return this.mxv_1;
|
|
383
383
|
};
|
|
384
384
|
function Content() {
|
|
385
385
|
}
|
|
386
386
|
function BufferContent(buffer, charset, byteSize) {
|
|
387
387
|
byteSize = byteSize === VOID ? buffer.g1() : byteSize;
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
390
|
-
this.
|
|
388
|
+
this.nxv_1 = buffer;
|
|
389
|
+
this.oxv_1 = charset;
|
|
390
|
+
this.pxv_1 = byteSize;
|
|
391
391
|
}
|
|
392
|
-
protoOf(BufferContent).
|
|
393
|
-
return this.
|
|
392
|
+
protoOf(BufferContent).kxv = function () {
|
|
393
|
+
return this.pxv_1;
|
|
394
394
|
};
|
|
395
395
|
protoOf(BufferContent).q6o = function () {
|
|
396
|
-
return readText(this.
|
|
396
|
+
return readText(this.nxv_1, this.oxv_1);
|
|
397
397
|
};
|
|
398
398
|
function BodyFilterResult() {
|
|
399
399
|
}
|
|
400
400
|
function $filterAllCOROUTINE$(_this__u8e3s4, contentLength, contentType, headers, body, resultContinuation) {
|
|
401
401
|
CoroutineImpl.call(this, resultContinuation);
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
406
|
-
this.
|
|
402
|
+
this.yxv_1 = _this__u8e3s4;
|
|
403
|
+
this.zxv_1 = contentLength;
|
|
404
|
+
this.axw_1 = contentType;
|
|
405
|
+
this.bxw_1 = headers;
|
|
406
|
+
this.cxw_1 = body;
|
|
407
407
|
}
|
|
408
408
|
protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
409
409
|
var suspendResult = this.o9_1;
|
|
@@ -413,13 +413,13 @@ protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
|
413
413
|
switch (tmp) {
|
|
414
414
|
case 0:
|
|
415
415
|
this.n9_1 = 6;
|
|
416
|
-
if (this.
|
|
417
|
-
return new Skip('encoded', this.
|
|
416
|
+
if (this.bxw_1.q3f('Content-Encoding')) {
|
|
417
|
+
return new Skip('encoded', this.zxv_1);
|
|
418
418
|
}
|
|
419
419
|
|
|
420
|
-
if (!(this.
|
|
420
|
+
if (!(this.axw_1 == null) && isTextType(this.axw_1)) {
|
|
421
421
|
this.m9_1 = 5;
|
|
422
|
-
suspendResult = readBuffer(this.
|
|
422
|
+
suspendResult = readBuffer(this.cxw_1, this);
|
|
423
423
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
424
424
|
return suspendResult;
|
|
425
425
|
}
|
|
@@ -432,18 +432,18 @@ protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
|
432
432
|
case 1:
|
|
433
433
|
var tmp_0 = this;
|
|
434
434
|
var tmp_1;
|
|
435
|
-
if (!(this.
|
|
436
|
-
var tmp1_elvis_lhs = charset(this.
|
|
435
|
+
if (!(this.axw_1 == null)) {
|
|
436
|
+
var tmp1_elvis_lhs = charset(this.axw_1);
|
|
437
437
|
tmp_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().d3b_1 : tmp1_elvis_lhs;
|
|
438
438
|
} else {
|
|
439
439
|
tmp_1 = Charsets_getInstance().d3b_1;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
-
tmp_0.
|
|
443
|
-
this.
|
|
444
|
-
this.
|
|
442
|
+
tmp_0.ixw_1 = tmp_1;
|
|
443
|
+
this.hxw_1 = false;
|
|
444
|
+
this.gxw_1 = new Int8Array(1024);
|
|
445
445
|
this.m9_1 = 2;
|
|
446
|
-
suspendResult = readAvailable(this.
|
|
446
|
+
suspendResult = readAvailable(this.cxw_1, this.gxw_1, VOID, VOID, this);
|
|
447
447
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
448
448
|
return suspendResult;
|
|
449
449
|
}
|
|
@@ -456,16 +456,16 @@ protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
var this_0 = new Buffer();
|
|
459
|
-
writeFully(this_0, this.
|
|
459
|
+
writeFully(this_0, this.gxw_1, 0, firstReadSize);
|
|
460
460
|
var buffer = this_0;
|
|
461
461
|
var tmp_2;
|
|
462
462
|
try {
|
|
463
|
-
tmp_2 = decode(this.
|
|
463
|
+
tmp_2 = decode(this.ixw_1.u3b(), buffer);
|
|
464
464
|
} catch ($p) {
|
|
465
465
|
var tmp_3;
|
|
466
466
|
if ($p instanceof MalformedInputException) {
|
|
467
467
|
var _unused_var__etf5q3 = $p;
|
|
468
|
-
this.
|
|
468
|
+
this.hxw_1 = true;
|
|
469
469
|
tmp_3 = '';
|
|
470
470
|
} else {
|
|
471
471
|
throw $p;
|
|
@@ -474,7 +474,7 @@ protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
var firstChunkText = tmp_2;
|
|
477
|
-
if (!this.
|
|
477
|
+
if (!this.hxw_1) {
|
|
478
478
|
var lastCharIndex = -1;
|
|
479
479
|
var inductionVariable = 0;
|
|
480
480
|
var last = firstChunkText.length;
|
|
@@ -490,23 +490,23 @@ protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
|
490
490
|
var ch_0 = charCodeAt(firstChunkText, inductionVariable_0);
|
|
491
491
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
492
492
|
if (ch_0 === _Char___init__impl__6a9atx(65533) && !(i === lastCharIndex)) {
|
|
493
|
-
this.
|
|
493
|
+
this.hxw_1 = true;
|
|
494
494
|
break $l$loop;
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
|
|
499
|
-
if (this.
|
|
499
|
+
if (this.hxw_1) {
|
|
500
500
|
var tmp_4 = this;
|
|
501
|
-
tmp_4.
|
|
501
|
+
tmp_4.dxw_1 = new Skip('binary', this.zxv_1);
|
|
502
502
|
this.m9_1 = 4;
|
|
503
503
|
continue $sm;
|
|
504
504
|
} else {
|
|
505
|
-
this.
|
|
506
|
-
this.
|
|
507
|
-
writeFully(this.
|
|
505
|
+
this.exw_1 = new Buffer();
|
|
506
|
+
this.fxw_1 = this.exw_1;
|
|
507
|
+
writeFully(this.fxw_1, this.gxw_1, 0, firstReadSize);
|
|
508
508
|
this.m9_1 = 3;
|
|
509
|
-
suspendResult = readBuffer(this.
|
|
509
|
+
suspendResult = readBuffer(this.cxw_1, this);
|
|
510
510
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
511
511
|
return suspendResult;
|
|
512
512
|
}
|
|
@@ -515,19 +515,19 @@ protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
|
515
515
|
|
|
516
516
|
case 3:
|
|
517
517
|
var ARGUMENT = suspendResult;
|
|
518
|
-
this.
|
|
519
|
-
var ARGUMENT_0 = this.
|
|
518
|
+
this.fxw_1.u2w(ARGUMENT);
|
|
519
|
+
var ARGUMENT_0 = this.exw_1;
|
|
520
520
|
var tmp_5 = this;
|
|
521
|
-
var tmp2_safe_receiver = this.
|
|
521
|
+
var tmp2_safe_receiver = this.axw_1;
|
|
522
522
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : charset(tmp2_safe_receiver);
|
|
523
|
-
tmp_5.
|
|
523
|
+
tmp_5.dxw_1 = new BufferContent(ARGUMENT_0, tmp3_elvis_lhs == null ? Charsets_getInstance().d3b_1 : tmp3_elvis_lhs);
|
|
524
524
|
this.m9_1 = 4;
|
|
525
525
|
continue $sm;
|
|
526
526
|
case 4:
|
|
527
|
-
return this.
|
|
527
|
+
return this.dxw_1;
|
|
528
528
|
case 5:
|
|
529
529
|
var ARGUMENT_1 = suspendResult;
|
|
530
|
-
var tmp0_elvis_lhs = charset(this.
|
|
530
|
+
var tmp0_elvis_lhs = charset(this.axw_1);
|
|
531
531
|
return new BufferContent(ARGUMENT_1, tmp0_elvis_lhs == null ? Charsets_getInstance().d3b_1 : tmp0_elvis_lhs);
|
|
532
532
|
case 6:
|
|
533
533
|
throw this.p9_1;
|
|
@@ -545,7 +545,7 @@ protoOf($filterAllCOROUTINE$).u9 = function () {
|
|
|
545
545
|
};
|
|
546
546
|
function BinaryLogBodyFilter$1() {
|
|
547
547
|
}
|
|
548
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
548
|
+
protoOf(BinaryLogBodyFilter$1).ixv = function (contentLength, contentType, headers, body, $completion) {
|
|
549
549
|
var tmp = new $filterAllCOROUTINE$(this, contentLength, contentType, headers, body, $completion);
|
|
550
550
|
tmp.o9_1 = Unit_instance;
|
|
551
551
|
tmp.p9_1 = null;
|
|
@@ -576,9 +576,9 @@ function LogLevel_initEntries() {
|
|
|
576
576
|
}
|
|
577
577
|
function LogLevel(name, ordinal, info, headers, body) {
|
|
578
578
|
Enum.call(this, name, ordinal);
|
|
579
|
-
this.
|
|
580
|
-
this.
|
|
581
|
-
this.
|
|
579
|
+
this.lxw_1 = info;
|
|
580
|
+
this.mxw_1 = headers;
|
|
581
|
+
this.nxw_1 = body;
|
|
582
582
|
}
|
|
583
583
|
function LogLevel_ALL_getInstance() {
|
|
584
584
|
LogLevel_initEntries();
|
|
@@ -602,27 +602,27 @@ function LogLevel_NONE_getInstance() {
|
|
|
602
602
|
}
|
|
603
603
|
function LoggedContent(originalContent, channel) {
|
|
604
604
|
ReadChannelContent.call(this);
|
|
605
|
-
this.
|
|
606
|
-
this.
|
|
607
|
-
this.
|
|
608
|
-
this.
|
|
609
|
-
this.
|
|
610
|
-
this.
|
|
605
|
+
this.pxw_1 = originalContent;
|
|
606
|
+
this.qxw_1 = channel;
|
|
607
|
+
this.rxw_1 = this.pxw_1.d42();
|
|
608
|
+
this.sxw_1 = this.pxw_1.f42();
|
|
609
|
+
this.txw_1 = this.pxw_1.e42();
|
|
610
|
+
this.uxw_1 = this.pxw_1.e3w();
|
|
611
611
|
}
|
|
612
612
|
protoOf(LoggedContent).d42 = function () {
|
|
613
|
-
return this.
|
|
613
|
+
return this.rxw_1;
|
|
614
614
|
};
|
|
615
615
|
protoOf(LoggedContent).f42 = function () {
|
|
616
|
-
return this.
|
|
616
|
+
return this.sxw_1;
|
|
617
617
|
};
|
|
618
618
|
protoOf(LoggedContent).e42 = function () {
|
|
619
|
-
return this.
|
|
619
|
+
return this.txw_1;
|
|
620
620
|
};
|
|
621
621
|
protoOf(LoggedContent).e3w = function () {
|
|
622
|
-
return this.
|
|
622
|
+
return this.uxw_1;
|
|
623
623
|
};
|
|
624
624
|
protoOf(LoggedContent).r42 = function () {
|
|
625
|
-
return this.
|
|
625
|
+
return this.qxw_1;
|
|
626
626
|
};
|
|
627
627
|
function Companion() {
|
|
628
628
|
}
|
|
@@ -635,7 +635,7 @@ function get_SIMPLE(_this__u8e3s4) {
|
|
|
635
635
|
}
|
|
636
636
|
function SimpleLogger() {
|
|
637
637
|
}
|
|
638
|
-
protoOf(SimpleLogger).
|
|
638
|
+
protoOf(SimpleLogger).hxu = function (message) {
|
|
639
639
|
println('HttpClient: ' + message);
|
|
640
640
|
};
|
|
641
641
|
var SimpleLogger_instance;
|
|
@@ -660,36 +660,36 @@ var Logging;
|
|
|
660
660
|
function LoggingConfig() {
|
|
661
661
|
var tmp = this;
|
|
662
662
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
663
|
-
tmp.
|
|
663
|
+
tmp.vxw_1 = ArrayList_init_$Create$();
|
|
664
664
|
var tmp_0 = this;
|
|
665
665
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
666
|
-
tmp_0.
|
|
667
|
-
this.
|
|
668
|
-
this.
|
|
669
|
-
this.
|
|
670
|
-
this.
|
|
671
|
-
}
|
|
672
|
-
protoOf(LoggingConfig).
|
|
673
|
-
var tmp0_elvis_lhs = this.
|
|
666
|
+
tmp_0.wxw_1 = ArrayList_init_$Create$();
|
|
667
|
+
this.xxw_1 = null;
|
|
668
|
+
this.yxw_1 = LoggingFormat_Default_getInstance();
|
|
669
|
+
this.zxw_1 = LogLevel_HEADERS_getInstance();
|
|
670
|
+
this.axx_1 = get_BinaryLogBodyFilter();
|
|
671
|
+
}
|
|
672
|
+
protoOf(LoggingConfig).bxx = function () {
|
|
673
|
+
var tmp0_elvis_lhs = this.xxw_1;
|
|
674
674
|
return tmp0_elvis_lhs == null ? get_DEFAULT(Companion_instance) : tmp0_elvis_lhs;
|
|
675
675
|
};
|
|
676
|
-
protoOf(LoggingConfig).
|
|
677
|
-
this.
|
|
676
|
+
protoOf(LoggingConfig).cxx = function (placeholder, predicate) {
|
|
677
|
+
this.wxw_1.e1(new SanitizedHeader(placeholder, predicate));
|
|
678
678
|
};
|
|
679
|
-
protoOf(LoggingConfig).
|
|
679
|
+
protoOf(LoggingConfig).dxx = function (placeholder, predicate, $super) {
|
|
680
680
|
placeholder = placeholder === VOID ? '***' : placeholder;
|
|
681
681
|
var tmp;
|
|
682
682
|
if ($super === VOID) {
|
|
683
|
-
this.
|
|
683
|
+
this.cxx(placeholder, predicate);
|
|
684
684
|
tmp = Unit_instance;
|
|
685
685
|
} else {
|
|
686
|
-
tmp = $super.
|
|
686
|
+
tmp = $super.cxx.call(this, placeholder, predicate);
|
|
687
687
|
}
|
|
688
688
|
return tmp;
|
|
689
689
|
};
|
|
690
690
|
function SanitizedHeader(placeholder, predicate) {
|
|
691
|
-
this.
|
|
692
|
-
this.
|
|
691
|
+
this.exx_1 = placeholder;
|
|
692
|
+
this.fxx_1 = predicate;
|
|
693
693
|
}
|
|
694
694
|
var LoggingFormat_Default_instance;
|
|
695
695
|
var LoggingFormat_OkHttp_instance;
|
|
@@ -733,16 +733,16 @@ function computeRequestBodySize(content) {
|
|
|
733
733
|
return tmp;
|
|
734
734
|
}
|
|
735
735
|
function Context(context) {
|
|
736
|
-
this.
|
|
736
|
+
this.gxx_1 = context;
|
|
737
737
|
}
|
|
738
|
-
protoOf(Context).
|
|
739
|
-
return this.
|
|
738
|
+
protoOf(Context).hxx = function (content, $completion) {
|
|
739
|
+
return this.gxx_1.x3k(content, $completion);
|
|
740
740
|
};
|
|
741
|
-
protoOf(Context).
|
|
742
|
-
return this.
|
|
741
|
+
protoOf(Context).ixx = function ($completion) {
|
|
742
|
+
return this.gxx_1.y3k($completion);
|
|
743
743
|
};
|
|
744
744
|
function SendHook$install$slambda($handler, resultContinuation) {
|
|
745
|
-
this.
|
|
745
|
+
this.rxx_1 = $handler;
|
|
746
746
|
CoroutineImpl.call(this, resultContinuation);
|
|
747
747
|
}
|
|
748
748
|
protoOf(SendHook$install$slambda).t4m = function ($this$intercept, it, $completion) {
|
|
@@ -764,7 +764,7 @@ protoOf(SendHook$install$slambda).u9 = function () {
|
|
|
764
764
|
case 0:
|
|
765
765
|
this.n9_1 = 2;
|
|
766
766
|
this.m9_1 = 1;
|
|
767
|
-
suspendResult = this.
|
|
767
|
+
suspendResult = this.rxx_1(new Context(this.sxx_1), this.sxx_1.t3l_1, this);
|
|
768
768
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
769
769
|
return suspendResult;
|
|
770
770
|
}
|
|
@@ -787,9 +787,9 @@ protoOf(SendHook$install$slambda).u9 = function () {
|
|
|
787
787
|
while (true);
|
|
788
788
|
};
|
|
789
789
|
protoOf(SendHook$install$slambda).u4m = function ($this$intercept, it, completion) {
|
|
790
|
-
var i = new SendHook$install$slambda(this.
|
|
791
|
-
i.
|
|
792
|
-
i.
|
|
790
|
+
var i = new SendHook$install$slambda(this.rxx_1, completion);
|
|
791
|
+
i.sxx_1 = $this$intercept;
|
|
792
|
+
i.txx_1 = it;
|
|
793
793
|
return i;
|
|
794
794
|
};
|
|
795
795
|
function SendHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -800,25 +800,25 @@ function SendHook$install$slambda_0($handler, resultContinuation) {
|
|
|
800
800
|
}
|
|
801
801
|
function SendHook() {
|
|
802
802
|
}
|
|
803
|
-
protoOf(SendHook).
|
|
803
|
+
protoOf(SendHook).uxx = function (client, handler) {
|
|
804
804
|
var tmp = Phases_getInstance().k4o_1;
|
|
805
805
|
client.x4l_1.x3l(tmp, SendHook$install$slambda_0(handler, null));
|
|
806
806
|
};
|
|
807
807
|
protoOf(SendHook).t4v = function (client, handler) {
|
|
808
|
-
return this.
|
|
808
|
+
return this.uxx(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
809
809
|
};
|
|
810
810
|
var SendHook_instance;
|
|
811
811
|
function SendHook_getInstance() {
|
|
812
812
|
return SendHook_instance;
|
|
813
813
|
}
|
|
814
814
|
function Context_0(context) {
|
|
815
|
-
this.
|
|
815
|
+
this.vxx_1 = context;
|
|
816
816
|
}
|
|
817
817
|
protoOf(Context_0).h60 = function (response, $completion) {
|
|
818
|
-
return this.
|
|
818
|
+
return this.vxx_1.x3k(response, $completion);
|
|
819
819
|
};
|
|
820
820
|
function ResponseAfterEncodingHook$install$slambda($handler, resultContinuation) {
|
|
821
|
-
this.
|
|
821
|
+
this.exy_1 = $handler;
|
|
822
822
|
CoroutineImpl.call(this, resultContinuation);
|
|
823
823
|
}
|
|
824
824
|
protoOf(ResponseAfterEncodingHook$install$slambda).f4w = function ($this$intercept, it, $completion) {
|
|
@@ -840,7 +840,7 @@ protoOf(ResponseAfterEncodingHook$install$slambda).u9 = function () {
|
|
|
840
840
|
case 0:
|
|
841
841
|
this.n9_1 = 2;
|
|
842
842
|
this.m9_1 = 1;
|
|
843
|
-
suspendResult = this.
|
|
843
|
+
suspendResult = this.exy_1(new Context_0(this.fxy_1), this.fxy_1.w3k(), this);
|
|
844
844
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
845
845
|
return suspendResult;
|
|
846
846
|
}
|
|
@@ -863,9 +863,9 @@ protoOf(ResponseAfterEncodingHook$install$slambda).u9 = function () {
|
|
|
863
863
|
while (true);
|
|
864
864
|
};
|
|
865
865
|
protoOf(ResponseAfterEncodingHook$install$slambda).g4w = function ($this$intercept, it, completion) {
|
|
866
|
-
var i = new ResponseAfterEncodingHook$install$slambda(this.
|
|
867
|
-
i.
|
|
868
|
-
i.
|
|
866
|
+
var i = new ResponseAfterEncodingHook$install$slambda(this.exy_1, completion);
|
|
867
|
+
i.fxy_1 = $this$intercept;
|
|
868
|
+
i.gxy_1 = it;
|
|
869
869
|
return i;
|
|
870
870
|
};
|
|
871
871
|
function ResponseAfterEncodingHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -876,26 +876,26 @@ function ResponseAfterEncodingHook$install$slambda_0($handler, resultContinuatio
|
|
|
876
876
|
}
|
|
877
877
|
function ResponseAfterEncodingHook() {
|
|
878
878
|
}
|
|
879
|
-
protoOf(ResponseAfterEncodingHook).
|
|
879
|
+
protoOf(ResponseAfterEncodingHook).hxy = function (client, handler) {
|
|
880
880
|
var afterState = new PipelinePhase('AfterState');
|
|
881
881
|
client.y4l_1.u3l(Phases_getInstance_0().j4w_1, afterState);
|
|
882
882
|
client.y4l_1.x3l(afterState, ResponseAfterEncodingHook$install$slambda_0(handler, null));
|
|
883
883
|
};
|
|
884
884
|
protoOf(ResponseAfterEncodingHook).t4v = function (client, handler) {
|
|
885
|
-
return this.
|
|
885
|
+
return this.hxy(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
886
886
|
};
|
|
887
887
|
var ResponseAfterEncodingHook_instance;
|
|
888
888
|
function ResponseAfterEncodingHook_getInstance() {
|
|
889
889
|
return ResponseAfterEncodingHook_instance;
|
|
890
890
|
}
|
|
891
891
|
function Context_1(context) {
|
|
892
|
-
this.
|
|
892
|
+
this.ixy_1 = context;
|
|
893
893
|
}
|
|
894
|
-
protoOf(Context_1).
|
|
895
|
-
return this.
|
|
894
|
+
protoOf(Context_1).jxy = function ($completion) {
|
|
895
|
+
return this.ixy_1.y3k($completion);
|
|
896
896
|
};
|
|
897
897
|
function ResponseHook$install$slambda($handler, resultContinuation) {
|
|
898
|
-
this.
|
|
898
|
+
this.sxy_1 = $handler;
|
|
899
899
|
CoroutineImpl.call(this, resultContinuation);
|
|
900
900
|
}
|
|
901
901
|
protoOf(ResponseHook$install$slambda).f4w = function ($this$intercept, it, $completion) {
|
|
@@ -917,7 +917,7 @@ protoOf(ResponseHook$install$slambda).u9 = function () {
|
|
|
917
917
|
case 0:
|
|
918
918
|
this.n9_1 = 2;
|
|
919
919
|
this.m9_1 = 1;
|
|
920
|
-
suspendResult = this.
|
|
920
|
+
suspendResult = this.sxy_1(new Context_1(this.txy_1), this.txy_1.w3k(), this);
|
|
921
921
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
922
922
|
return suspendResult;
|
|
923
923
|
}
|
|
@@ -940,9 +940,9 @@ protoOf(ResponseHook$install$slambda).u9 = function () {
|
|
|
940
940
|
while (true);
|
|
941
941
|
};
|
|
942
942
|
protoOf(ResponseHook$install$slambda).g4w = function ($this$intercept, it, completion) {
|
|
943
|
-
var i = new ResponseHook$install$slambda(this.
|
|
944
|
-
i.
|
|
945
|
-
i.
|
|
943
|
+
var i = new ResponseHook$install$slambda(this.sxy_1, completion);
|
|
944
|
+
i.txy_1 = $this$intercept;
|
|
945
|
+
i.uxy_1 = it;
|
|
946
946
|
return i;
|
|
947
947
|
};
|
|
948
948
|
function ResponseHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -953,25 +953,25 @@ function ResponseHook$install$slambda_0($handler, resultContinuation) {
|
|
|
953
953
|
}
|
|
954
954
|
function ResponseHook() {
|
|
955
955
|
}
|
|
956
|
-
protoOf(ResponseHook).
|
|
956
|
+
protoOf(ResponseHook).vxy = function (client, handler) {
|
|
957
957
|
var tmp = Phases_getInstance_0().j4w_1;
|
|
958
958
|
client.y4l_1.x3l(tmp, ResponseHook$install$slambda_0(handler, null));
|
|
959
959
|
};
|
|
960
960
|
protoOf(ResponseHook).t4v = function (client, handler) {
|
|
961
|
-
return this.
|
|
961
|
+
return this.vxy(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
962
962
|
};
|
|
963
963
|
var ResponseHook_instance;
|
|
964
964
|
function ResponseHook_getInstance() {
|
|
965
965
|
return ResponseHook_instance;
|
|
966
966
|
}
|
|
967
967
|
function Context_2(context) {
|
|
968
|
-
this.
|
|
968
|
+
this.wxy_1 = context;
|
|
969
969
|
}
|
|
970
|
-
protoOf(Context_2).
|
|
971
|
-
return this.
|
|
970
|
+
protoOf(Context_2).xxy = function ($completion) {
|
|
971
|
+
return this.wxy_1.y3k($completion);
|
|
972
972
|
};
|
|
973
973
|
function ReceiveHook$install$slambda($handler, resultContinuation) {
|
|
974
|
-
this.
|
|
974
|
+
this.gxz_1 = $handler;
|
|
975
975
|
CoroutineImpl.call(this, resultContinuation);
|
|
976
976
|
}
|
|
977
977
|
protoOf(ReceiveHook$install$slambda).o4n = function ($this$intercept, it, $completion) {
|
|
@@ -993,7 +993,7 @@ protoOf(ReceiveHook$install$slambda).u9 = function () {
|
|
|
993
993
|
case 0:
|
|
994
994
|
this.n9_1 = 2;
|
|
995
995
|
this.m9_1 = 1;
|
|
996
|
-
suspendResult = this.
|
|
996
|
+
suspendResult = this.gxz_1(new Context_2(this.hxz_1), this.hxz_1.t3l_1, this);
|
|
997
997
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
998
998
|
return suspendResult;
|
|
999
999
|
}
|
|
@@ -1016,9 +1016,9 @@ protoOf(ReceiveHook$install$slambda).u9 = function () {
|
|
|
1016
1016
|
while (true);
|
|
1017
1017
|
};
|
|
1018
1018
|
protoOf(ReceiveHook$install$slambda).p4n = function ($this$intercept, it, completion) {
|
|
1019
|
-
var i = new ReceiveHook$install$slambda(this.
|
|
1020
|
-
i.
|
|
1021
|
-
i.
|
|
1019
|
+
var i = new ReceiveHook$install$slambda(this.gxz_1, completion);
|
|
1020
|
+
i.hxz_1 = $this$intercept;
|
|
1021
|
+
i.ixz_1 = it;
|
|
1022
1022
|
return i;
|
|
1023
1023
|
};
|
|
1024
1024
|
function ReceiveHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -1029,12 +1029,12 @@ function ReceiveHook$install$slambda_0($handler, resultContinuation) {
|
|
|
1029
1029
|
}
|
|
1030
1030
|
function ReceiveHook() {
|
|
1031
1031
|
}
|
|
1032
|
-
protoOf(ReceiveHook).
|
|
1032
|
+
protoOf(ReceiveHook).jxz = function (client, handler) {
|
|
1033
1033
|
var tmp = Phases_getInstance_1().y4o_1;
|
|
1034
1034
|
client.w4l_1.x3l(tmp, ReceiveHook$install$slambda_0(handler, null));
|
|
1035
1035
|
};
|
|
1036
1036
|
protoOf(ReceiveHook).t4v = function (client, handler) {
|
|
1037
|
-
return this.
|
|
1037
|
+
return this.jxz(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
1038
1038
|
};
|
|
1039
1039
|
var ReceiveHook_instance;
|
|
1040
1040
|
function ReceiveHook_getInstance() {
|
|
@@ -1047,12 +1047,12 @@ function LoggingConfig$_init_$ref_f1nb0k() {
|
|
|
1047
1047
|
}
|
|
1048
1048
|
function Logging$lambda($this$createClientPlugin) {
|
|
1049
1049
|
_init_properties_Logging_kt__66pui5();
|
|
1050
|
-
var logger = $this$createClientPlugin.n4w_1.
|
|
1051
|
-
var level = $this$createClientPlugin.n4w_1.
|
|
1052
|
-
var filters = $this$createClientPlugin.n4w_1.
|
|
1053
|
-
var sanitizedHeaders = $this$createClientPlugin.n4w_1.
|
|
1054
|
-
var okHttpFormat = $this$createClientPlugin.n4w_1.
|
|
1055
|
-
var bodyFilter = $this$createClientPlugin.n4w_1.
|
|
1050
|
+
var logger = $this$createClientPlugin.n4w_1.bxx();
|
|
1051
|
+
var level = $this$createClientPlugin.n4w_1.zxw_1;
|
|
1052
|
+
var filters = $this$createClientPlugin.n4w_1.vxw_1;
|
|
1053
|
+
var sanitizedHeaders = $this$createClientPlugin.n4w_1.wxw_1;
|
|
1054
|
+
var okHttpFormat = $this$createClientPlugin.n4w_1.yxw_1.equals(LoggingFormat_OkHttp_getInstance());
|
|
1055
|
+
var bodyFilter = $this$createClientPlugin.n4w_1.axx_1;
|
|
1056
1056
|
var tmp = SendHook_instance;
|
|
1057
1057
|
$this$createClientPlugin.q4w(tmp, Logging$lambda$slambda_0(okHttpFormat, logger, filters, sanitizedHeaders, level, $this$createClientPlugin, bodyFilter, null));
|
|
1058
1058
|
var tmp_0 = ResponseAfterEncodingHook_instance;
|
|
@@ -1063,7 +1063,7 @@ function Logging$lambda($this$createClientPlugin) {
|
|
|
1063
1063
|
$this$createClientPlugin.q4w(tmp_2, Logging$lambda$slambda_6(okHttpFormat, level, logger, null));
|
|
1064
1064
|
if (okHttpFormat)
|
|
1065
1065
|
return Unit_instance;
|
|
1066
|
-
if (!level.
|
|
1066
|
+
if (!level.nxw_1)
|
|
1067
1067
|
return Unit_instance;
|
|
1068
1068
|
var tmp_3 = get_ResponseObserver();
|
|
1069
1069
|
var responseObserver = tmp_3.g4p(Logging$lambda$lambda(level));
|
|
@@ -1075,8 +1075,8 @@ function Logging$lambda$logOutgoingContent$lambda(it) {
|
|
|
1075
1075
|
return it;
|
|
1076
1076
|
}
|
|
1077
1077
|
function Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation) {
|
|
1078
|
-
this.
|
|
1079
|
-
this.
|
|
1078
|
+
this.sxz_1 = $content;
|
|
1079
|
+
this.txz_1 = $channel;
|
|
1080
1080
|
CoroutineImpl.call(this, resultContinuation);
|
|
1081
1081
|
}
|
|
1082
1082
|
protoOf(Logging$lambda$logOutgoingContent$slambda).z2l = function ($this$launch, $completion) {
|
|
@@ -1097,14 +1097,14 @@ protoOf(Logging$lambda$logOutgoingContent$slambda).u9 = function () {
|
|
|
1097
1097
|
case 0:
|
|
1098
1098
|
this.n9_1 = 2;
|
|
1099
1099
|
this.m9_1 = 1;
|
|
1100
|
-
suspendResult = this.
|
|
1100
|
+
suspendResult = this.sxz_1.k43(this.txz_1, this);
|
|
1101
1101
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1102
1102
|
return suspendResult;
|
|
1103
1103
|
}
|
|
1104
1104
|
|
|
1105
1105
|
continue $sm;
|
|
1106
1106
|
case 1:
|
|
1107
|
-
this.
|
|
1107
|
+
this.txz_1.d5();
|
|
1108
1108
|
return Unit_instance;
|
|
1109
1109
|
case 2:
|
|
1110
1110
|
throw this.p9_1;
|
|
@@ -1121,8 +1121,8 @@ protoOf(Logging$lambda$logOutgoingContent$slambda).u9 = function () {
|
|
|
1121
1121
|
while (true);
|
|
1122
1122
|
};
|
|
1123
1123
|
protoOf(Logging$lambda$logOutgoingContent$slambda).a2m = function ($this$launch, completion) {
|
|
1124
|
-
var i = new Logging$lambda$logOutgoingContent$slambda(this.
|
|
1125
|
-
i.
|
|
1124
|
+
var i = new Logging$lambda$logOutgoingContent$slambda(this.sxz_1, this.txz_1, completion);
|
|
1125
|
+
i.uxz_1 = $this$launch;
|
|
1126
1126
|
return i;
|
|
1127
1127
|
};
|
|
1128
1128
|
function Logging$lambda$logOutgoingContent$slambda_0($content, $channel, resultContinuation) {
|
|
@@ -1141,10 +1141,10 @@ function Logging$lambda$logResponseOkHttpFormat$lambda($origChannel) {
|
|
|
1141
1141
|
};
|
|
1142
1142
|
}
|
|
1143
1143
|
function Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1144
|
-
this.
|
|
1145
|
-
this.
|
|
1146
|
-
this.
|
|
1147
|
-
this.
|
|
1144
|
+
this.dy0_1 = $channel;
|
|
1145
|
+
this.ey0_1 = $charset;
|
|
1146
|
+
this.fy0_1 = $requestLog;
|
|
1147
|
+
this.gy0_1 = $logger;
|
|
1148
1148
|
CoroutineImpl.call(this, resultContinuation);
|
|
1149
1149
|
}
|
|
1150
1150
|
protoOf(Logging$lambda$logRequestBody$slambda).z2l = function ($this$launch, $completion) {
|
|
@@ -1168,8 +1168,8 @@ protoOf(Logging$lambda$logRequestBody$slambda).u9 = function () {
|
|
|
1168
1168
|
continue $sm;
|
|
1169
1169
|
case 1:
|
|
1170
1170
|
this.n9_1 = 6;
|
|
1171
|
-
var tmp0 = this.
|
|
1172
|
-
this.
|
|
1171
|
+
var tmp0 = this.dy0_1;
|
|
1172
|
+
this.ky0_1 = this.ey0_1;
|
|
1173
1173
|
this.n9_1 = 3;
|
|
1174
1174
|
this.m9_1 = 2;
|
|
1175
1175
|
suspendResult = readRemaining(tmp0, this);
|
|
@@ -1180,7 +1180,7 @@ protoOf(Logging$lambda$logRequestBody$slambda).u9 = function () {
|
|
|
1180
1180
|
continue $sm;
|
|
1181
1181
|
case 2:
|
|
1182
1182
|
var ARGUMENT = suspendResult;
|
|
1183
|
-
this.
|
|
1183
|
+
this.jy0_1 = readText(ARGUMENT, this.ky0_1);
|
|
1184
1184
|
this.n9_1 = 6;
|
|
1185
1185
|
this.m9_1 = 4;
|
|
1186
1186
|
continue $sm;
|
|
@@ -1190,7 +1190,7 @@ protoOf(Logging$lambda$logRequestBody$slambda).u9 = function () {
|
|
|
1190
1190
|
if (tmp_0 instanceof Error) {
|
|
1191
1191
|
var cause = this.p9_1;
|
|
1192
1192
|
var tmp_1 = this;
|
|
1193
|
-
tmp_1.
|
|
1193
|
+
tmp_1.jy0_1 = null;
|
|
1194
1194
|
this.m9_1 = 4;
|
|
1195
1195
|
continue $sm;
|
|
1196
1196
|
} else {
|
|
@@ -1199,27 +1199,27 @@ protoOf(Logging$lambda$logRequestBody$slambda).u9 = function () {
|
|
|
1199
1199
|
|
|
1200
1200
|
case 4:
|
|
1201
1201
|
this.n9_1 = 6;
|
|
1202
|
-
var tmp0_elvis_lhs = this.
|
|
1202
|
+
var tmp0_elvis_lhs = this.jy0_1;
|
|
1203
1203
|
var text = tmp0_elvis_lhs == null ? '[request body omitted]' : tmp0_elvis_lhs;
|
|
1204
|
-
var tmp0_0 = this.
|
|
1204
|
+
var tmp0_0 = this.fy0_1;
|
|
1205
1205
|
var value = 'BODY START';
|
|
1206
1206
|
tmp0_0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1207
|
-
this.
|
|
1208
|
-
this.
|
|
1207
|
+
this.fy0_1.q(text).s(_Char___init__impl__6a9atx(10));
|
|
1208
|
+
this.iy0_1 = this.fy0_1.q('BODY END');
|
|
1209
1209
|
this.n9_1 = 7;
|
|
1210
1210
|
this.m9_1 = 5;
|
|
1211
1211
|
continue $sm;
|
|
1212
1212
|
case 5:
|
|
1213
|
-
this.
|
|
1213
|
+
this.iy0_1;
|
|
1214
1214
|
this.n9_1 = 7;
|
|
1215
|
-
this.
|
|
1216
|
-
this.
|
|
1215
|
+
this.gy0_1.bxv(this.fy0_1.toString());
|
|
1216
|
+
this.gy0_1.fxv();
|
|
1217
1217
|
return Unit_instance;
|
|
1218
1218
|
case 6:
|
|
1219
1219
|
this.n9_1 = 7;
|
|
1220
1220
|
var t = this.p9_1;
|
|
1221
|
-
this.
|
|
1222
|
-
this.
|
|
1221
|
+
this.gy0_1.bxv(this.fy0_1.toString());
|
|
1222
|
+
this.gy0_1.fxv();
|
|
1223
1223
|
throw t;
|
|
1224
1224
|
case 7:
|
|
1225
1225
|
throw this.p9_1;
|
|
@@ -1236,8 +1236,8 @@ protoOf(Logging$lambda$logRequestBody$slambda).u9 = function () {
|
|
|
1236
1236
|
while (true);
|
|
1237
1237
|
};
|
|
1238
1238
|
protoOf(Logging$lambda$logRequestBody$slambda).a2m = function ($this$launch, completion) {
|
|
1239
|
-
var i = new Logging$lambda$logRequestBody$slambda(this.
|
|
1240
|
-
i.
|
|
1239
|
+
var i = new Logging$lambda$logRequestBody$slambda(this.dy0_1, this.ey0_1, this.fy0_1, this.gy0_1, completion);
|
|
1240
|
+
i.hy0_1 = $this$launch;
|
|
1241
1241
|
return i;
|
|
1242
1242
|
};
|
|
1243
1243
|
function Logging$lambda$logRequestBody$slambda_0($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
@@ -1343,8 +1343,8 @@ function invoke$logRequestBody_0(content, logger, $completion) {
|
|
|
1343
1343
|
return observe(content, channel, $completion);
|
|
1344
1344
|
}
|
|
1345
1345
|
function invoke$logRequestException(level, logger, context, cause) {
|
|
1346
|
-
if (level.
|
|
1347
|
-
logger.
|
|
1346
|
+
if (level.lxw_1) {
|
|
1347
|
+
logger.hxu('REQUEST ' + Url(context.a4o_1).toString() + ' failed with exception: ' + cause.toString());
|
|
1348
1348
|
}
|
|
1349
1349
|
}
|
|
1350
1350
|
function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion) {
|
|
@@ -1355,7 +1355,7 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1355
1355
|
// Inline function 'kotlin.text.buildString' call
|
|
1356
1356
|
// Inline function 'kotlin.apply' call
|
|
1357
1357
|
var this_0 = StringBuilder_init_$Create$();
|
|
1358
|
-
if (level.
|
|
1358
|
+
if (level.lxw_1) {
|
|
1359
1359
|
// Inline function 'kotlin.text.appendLine' call
|
|
1360
1360
|
var value = 'REQUEST: ' + Url(request.a4o_1).toString();
|
|
1361
1361
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -1365,7 +1365,7 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1365
1365
|
// Inline function 'kotlin.text.appendLine' call
|
|
1366
1366
|
this_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
1367
1367
|
}
|
|
1368
|
-
if (level.
|
|
1368
|
+
if (level.mxw_1) {
|
|
1369
1369
|
// Inline function 'kotlin.text.appendLine' call
|
|
1370
1370
|
var value_1 = 'COMMON HEADERS';
|
|
1371
1371
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -1381,7 +1381,7 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1381
1381
|
var _iterator__ex2g4s = sanitizedHeaders.t();
|
|
1382
1382
|
while (_iterator__ex2g4s.u()) {
|
|
1383
1383
|
var element = _iterator__ex2g4s.v();
|
|
1384
|
-
if (element.
|
|
1384
|
+
if (element.fxx_1('Content-Length')) {
|
|
1385
1385
|
tmp$ret$11 = element;
|
|
1386
1386
|
break $l$block;
|
|
1387
1387
|
}
|
|
@@ -1389,14 +1389,14 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1389
1389
|
tmp$ret$11 = null;
|
|
1390
1390
|
}
|
|
1391
1391
|
var tmp0_safe_receiver = tmp$ret$11;
|
|
1392
|
-
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1392
|
+
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.exx_1;
|
|
1393
1393
|
var tmp$ret$13;
|
|
1394
1394
|
$l$block_0: {
|
|
1395
1395
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1396
1396
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
1397
1397
|
while (_iterator__ex2g4s_0.u()) {
|
|
1398
1398
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
1399
|
-
if (element_0.
|
|
1399
|
+
if (element_0.fxx_1('Content-Type')) {
|
|
1400
1400
|
tmp$ret$13 = element_0;
|
|
1401
1401
|
break $l$block_0;
|
|
1402
1402
|
}
|
|
@@ -1404,7 +1404,7 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1404
1404
|
tmp$ret$13 = null;
|
|
1405
1405
|
}
|
|
1406
1406
|
var tmp1_safe_receiver = tmp$ret$13;
|
|
1407
|
-
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1407
|
+
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.exx_1;
|
|
1408
1408
|
var tmp2_safe_receiver = content.f42();
|
|
1409
1409
|
if (tmp2_safe_receiver == null)
|
|
1410
1410
|
null;
|
|
@@ -1424,45 +1424,45 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1424
1424
|
var message = this_0.toString();
|
|
1425
1425
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1426
1426
|
if (charSequenceLength(message) > 0) {
|
|
1427
|
-
callLogger.
|
|
1427
|
+
callLogger.bxv(message);
|
|
1428
1428
|
}
|
|
1429
1429
|
var tmp_0;
|
|
1430
1430
|
// Inline function 'kotlin.text.isEmpty' call
|
|
1431
1431
|
if (charSequenceLength(message) === 0) {
|
|
1432
1432
|
tmp_0 = true;
|
|
1433
1433
|
} else {
|
|
1434
|
-
tmp_0 = !level.
|
|
1434
|
+
tmp_0 = !level.nxw_1;
|
|
1435
1435
|
}
|
|
1436
1436
|
if (tmp_0) {
|
|
1437
|
-
callLogger.
|
|
1437
|
+
callLogger.fxv();
|
|
1438
1438
|
return null;
|
|
1439
1439
|
}
|
|
1440
1440
|
return invoke$logRequestBody_0(content, callLogger, $completion);
|
|
1441
1441
|
}
|
|
1442
1442
|
function invoke$logResponseException(level, log, request, cause) {
|
|
1443
|
-
if (!level.
|
|
1443
|
+
if (!level.lxw_1)
|
|
1444
1444
|
return Unit_instance;
|
|
1445
1445
|
log.q('RESPONSE ' + request.u4p().toString() + ' failed with exception: ' + cause.toString());
|
|
1446
1446
|
}
|
|
1447
1447
|
function Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation) {
|
|
1448
|
-
this.
|
|
1449
|
-
this.
|
|
1450
|
-
this.
|
|
1451
|
-
this.
|
|
1452
|
-
this.
|
|
1453
|
-
this.
|
|
1454
|
-
this.
|
|
1448
|
+
this.ry3_1 = $okHttpFormat;
|
|
1449
|
+
this.sy3_1 = $logger;
|
|
1450
|
+
this.ty3_1 = $filters;
|
|
1451
|
+
this.uy3_1 = $sanitizedHeaders;
|
|
1452
|
+
this.vy3_1 = $level;
|
|
1453
|
+
this.wy3_1 = $this_createClientPlugin;
|
|
1454
|
+
this.xy3_1 = $bodyFilter;
|
|
1455
1455
|
CoroutineImpl.call(this, resultContinuation);
|
|
1456
1456
|
}
|
|
1457
|
-
protoOf(Logging$lambda$slambda).
|
|
1458
|
-
var tmp = this.
|
|
1457
|
+
protoOf(Logging$lambda$slambda).gy4 = function ($this$on, request, $completion) {
|
|
1458
|
+
var tmp = this.hy4($this$on, request, $completion);
|
|
1459
1459
|
tmp.o9_1 = Unit_instance;
|
|
1460
1460
|
tmp.p9_1 = null;
|
|
1461
1461
|
return tmp.u9();
|
|
1462
1462
|
};
|
|
1463
1463
|
protoOf(Logging$lambda$slambda).ia = function (p1, p2, $completion) {
|
|
1464
1464
|
var tmp = p1 instanceof Context ? p1 : THROW_CCE();
|
|
1465
|
-
return this.
|
|
1465
|
+
return this.gy4(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
|
|
1466
1466
|
};
|
|
1467
1467
|
protoOf(Logging$lambda$slambda).u9 = function () {
|
|
1468
1468
|
var suspendResult = this.o9_1;
|
|
@@ -1472,16 +1472,16 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1472
1472
|
switch (tmp) {
|
|
1473
1473
|
case 0:
|
|
1474
1474
|
this.n9_1 = 16;
|
|
1475
|
-
if (!invoke$shouldBeLogged(this.
|
|
1476
|
-
this.
|
|
1475
|
+
if (!invoke$shouldBeLogged(this.ty3_1, this.zy3_1)) {
|
|
1476
|
+
this.zy3_1.f4o_1.i3c(get_DisableLogging(), Unit_instance);
|
|
1477
1477
|
return Unit_instance;
|
|
1478
1478
|
}
|
|
1479
1479
|
|
|
1480
|
-
if (this.
|
|
1480
|
+
if (this.ry3_1) {
|
|
1481
1481
|
var tmp_0 = this;
|
|
1482
|
-
tmp_0.
|
|
1482
|
+
tmp_0.cy4_1 = ArrayList_init_$Create$();
|
|
1483
1483
|
this.m9_1 = 10;
|
|
1484
|
-
suspendResult = invoke$logRequestOkHttpFormat(this.
|
|
1484
|
+
suspendResult = invoke$logRequestOkHttpFormat(this.uy3_1, this.vy3_1, this.wy3_1, this.xy3_1, this.zy3_1, this.cy4_1, this);
|
|
1485
1485
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1486
1486
|
return suspendResult;
|
|
1487
1487
|
}
|
|
@@ -1494,14 +1494,14 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1494
1494
|
case 1:
|
|
1495
1495
|
this.n9_1 = 3;
|
|
1496
1496
|
this.m9_1 = 2;
|
|
1497
|
-
suspendResult = invoke$logRequest(this.
|
|
1497
|
+
suspendResult = invoke$logRequest(this.sy3_1, this.vy3_1, this.uy3_1, this.zy3_1, this);
|
|
1498
1498
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1499
1499
|
return suspendResult;
|
|
1500
1500
|
}
|
|
1501
1501
|
|
|
1502
1502
|
continue $sm;
|
|
1503
1503
|
case 2:
|
|
1504
|
-
this.
|
|
1504
|
+
this.fy4_1 = suspendResult;
|
|
1505
1505
|
this.n9_1 = 16;
|
|
1506
1506
|
this.m9_1 = 4;
|
|
1507
1507
|
continue $sm;
|
|
@@ -1511,7 +1511,7 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1511
1511
|
if (tmp_1 instanceof Error) {
|
|
1512
1512
|
var _unused_var__etf5q3 = this.p9_1;
|
|
1513
1513
|
var tmp_2 = this;
|
|
1514
|
-
tmp_2.
|
|
1514
|
+
tmp_2.fy4_1 = null;
|
|
1515
1515
|
this.m9_1 = 4;
|
|
1516
1516
|
continue $sm;
|
|
1517
1517
|
} else {
|
|
@@ -1520,23 +1520,23 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1520
1520
|
|
|
1521
1521
|
case 4:
|
|
1522
1522
|
this.n9_1 = 16;
|
|
1523
|
-
this.
|
|
1524
|
-
this.
|
|
1523
|
+
this.ey4_1 = this.fy4_1;
|
|
1524
|
+
this.dy4_1 = Unit_instance;
|
|
1525
1525
|
this.m9_1 = 5;
|
|
1526
1526
|
continue $sm;
|
|
1527
1527
|
case 5:
|
|
1528
1528
|
this.n9_1 = 8;
|
|
1529
1529
|
this.n9_1 = 7;
|
|
1530
1530
|
this.m9_1 = 6;
|
|
1531
|
-
var tmp0_elvis_lhs = this.
|
|
1532
|
-
suspendResult = this.
|
|
1531
|
+
var tmp0_elvis_lhs = this.ey4_1;
|
|
1532
|
+
suspendResult = this.yy3_1.hxx(tmp0_elvis_lhs == null ? this.zy3_1.d4o_1 : tmp0_elvis_lhs, this);
|
|
1533
1533
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1534
1534
|
return suspendResult;
|
|
1535
1535
|
}
|
|
1536
1536
|
|
|
1537
1537
|
continue $sm;
|
|
1538
1538
|
case 6:
|
|
1539
|
-
this.
|
|
1539
|
+
this.dy4_1 = suspendResult;
|
|
1540
1540
|
this.n9_1 = 16;
|
|
1541
1541
|
this.m9_1 = 9;
|
|
1542
1542
|
continue $sm;
|
|
@@ -1546,7 +1546,7 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1546
1546
|
if (tmp_3 instanceof Error) {
|
|
1547
1547
|
var cause = this.p9_1;
|
|
1548
1548
|
var tmp_4 = this;
|
|
1549
|
-
invoke$logRequestException(this.
|
|
1549
|
+
invoke$logRequestException(this.vy3_1, this.sy3_1, this.zy3_1, cause);
|
|
1550
1550
|
throw cause;
|
|
1551
1551
|
} else {
|
|
1552
1552
|
throw this.p9_1;
|
|
@@ -1557,26 +1557,26 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1557
1557
|
var t = this.p9_1;
|
|
1558
1558
|
throw t;
|
|
1559
1559
|
case 9:
|
|
1560
|
-
this.
|
|
1560
|
+
this.dy4_1;
|
|
1561
1561
|
this.n9_1 = 16;
|
|
1562
1562
|
return Unit_instance;
|
|
1563
1563
|
case 10:
|
|
1564
1564
|
var content = suspendResult;
|
|
1565
|
-
if (this.
|
|
1566
|
-
this.
|
|
1565
|
+
if (this.cy4_1.g1() > 0) {
|
|
1566
|
+
this.sy3_1.hxu(joinToString(this.cy4_1, '\n'));
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
1569
|
this.n9_1 = 14;
|
|
1570
1570
|
if (!(content == null)) {
|
|
1571
1571
|
this.m9_1 = 12;
|
|
1572
|
-
suspendResult = this.
|
|
1572
|
+
suspendResult = this.yy3_1.hxx(content, this);
|
|
1573
1573
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1574
1574
|
return suspendResult;
|
|
1575
1575
|
}
|
|
1576
1576
|
continue $sm;
|
|
1577
1577
|
} else {
|
|
1578
1578
|
this.m9_1 = 11;
|
|
1579
|
-
suspendResult = this.
|
|
1579
|
+
suspendResult = this.yy3_1.ixx(this);
|
|
1580
1580
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1581
1581
|
return suspendResult;
|
|
1582
1582
|
}
|
|
@@ -1584,15 +1584,15 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1584
1584
|
}
|
|
1585
1585
|
|
|
1586
1586
|
case 11:
|
|
1587
|
-
this.
|
|
1587
|
+
this.by4_1 = suspendResult;
|
|
1588
1588
|
this.m9_1 = 13;
|
|
1589
1589
|
continue $sm;
|
|
1590
1590
|
case 12:
|
|
1591
|
-
this.
|
|
1591
|
+
this.by4_1 = suspendResult;
|
|
1592
1592
|
this.m9_1 = 13;
|
|
1593
1593
|
continue $sm;
|
|
1594
1594
|
case 13:
|
|
1595
|
-
this.
|
|
1595
|
+
this.ay4_1 = this.by4_1;
|
|
1596
1596
|
this.n9_1 = 16;
|
|
1597
1597
|
this.m9_1 = 15;
|
|
1598
1598
|
continue $sm;
|
|
@@ -1602,7 +1602,7 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1602
1602
|
if (tmp_5 instanceof Error) {
|
|
1603
1603
|
var cause_0 = this.p9_1;
|
|
1604
1604
|
var tmp_6 = this;
|
|
1605
|
-
this.
|
|
1605
|
+
this.sy3_1.hxu('<-- HTTP FAILED: ' + cause_0.toString());
|
|
1606
1606
|
throw cause_0;
|
|
1607
1607
|
} else {
|
|
1608
1608
|
throw this.p9_1;
|
|
@@ -1625,35 +1625,35 @@ protoOf(Logging$lambda$slambda).u9 = function () {
|
|
|
1625
1625
|
}
|
|
1626
1626
|
while (true);
|
|
1627
1627
|
};
|
|
1628
|
-
protoOf(Logging$lambda$slambda).
|
|
1629
|
-
var i = new Logging$lambda$slambda(this.
|
|
1630
|
-
i.
|
|
1631
|
-
i.
|
|
1628
|
+
protoOf(Logging$lambda$slambda).hy4 = function ($this$on, request, completion) {
|
|
1629
|
+
var i = new Logging$lambda$slambda(this.ry3_1, this.sy3_1, this.ty3_1, this.uy3_1, this.vy3_1, this.wy3_1, this.xy3_1, completion);
|
|
1630
|
+
i.yy3_1 = $this$on;
|
|
1631
|
+
i.zy3_1 = request;
|
|
1632
1632
|
return i;
|
|
1633
1633
|
};
|
|
1634
1634
|
function Logging$lambda$slambda_0($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation) {
|
|
1635
1635
|
var i = new Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation);
|
|
1636
1636
|
return constructCallableReference(function ($this$on, request, $completion) {
|
|
1637
|
-
return i.
|
|
1637
|
+
return i.gy4($this$on, request, $completion);
|
|
1638
1638
|
}, 2);
|
|
1639
1639
|
}
|
|
1640
1640
|
function Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation) {
|
|
1641
|
-
this.
|
|
1642
|
-
this.
|
|
1643
|
-
this.
|
|
1644
|
-
this.
|
|
1645
|
-
this.
|
|
1641
|
+
this.qy4_1 = $okHttpFormat;
|
|
1642
|
+
this.ry4_1 = $logger;
|
|
1643
|
+
this.sy4_1 = $sanitizedHeaders;
|
|
1644
|
+
this.ty4_1 = $level;
|
|
1645
|
+
this.uy4_1 = $bodyFilter;
|
|
1646
1646
|
CoroutineImpl.call(this, resultContinuation);
|
|
1647
1647
|
}
|
|
1648
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1649
|
-
var tmp = this.
|
|
1648
|
+
protoOf(Logging$lambda$slambda_1).yy4 = function ($this$on, response, $completion) {
|
|
1649
|
+
var tmp = this.zy4($this$on, response, $completion);
|
|
1650
1650
|
tmp.o9_1 = Unit_instance;
|
|
1651
1651
|
tmp.p9_1 = null;
|
|
1652
1652
|
return tmp.u9();
|
|
1653
1653
|
};
|
|
1654
1654
|
protoOf(Logging$lambda$slambda_1).ia = function (p1, p2, $completion) {
|
|
1655
1655
|
var tmp = p1 instanceof Context_0 ? p1 : THROW_CCE();
|
|
1656
|
-
return this.
|
|
1656
|
+
return this.yy4(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1657
1657
|
};
|
|
1658
1658
|
protoOf(Logging$lambda$slambda_1).u9 = function () {
|
|
1659
1659
|
var suspendResult = this.o9_1;
|
|
@@ -1663,11 +1663,11 @@ protoOf(Logging$lambda$slambda_1).u9 = function () {
|
|
|
1663
1663
|
switch (tmp) {
|
|
1664
1664
|
case 0:
|
|
1665
1665
|
this.n9_1 = 5;
|
|
1666
|
-
if (this.
|
|
1666
|
+
if (this.qy4_1) {
|
|
1667
1667
|
var tmp_0 = this;
|
|
1668
|
-
tmp_0.
|
|
1668
|
+
tmp_0.xy4_1 = ArrayList_init_$Create$();
|
|
1669
1669
|
this.m9_1 = 1;
|
|
1670
|
-
suspendResult = invoke$logResponseOkHttpFormat(this.
|
|
1670
|
+
suspendResult = invoke$logResponseOkHttpFormat(this.sy4_1, this.ty4_1, this.uy4_1, this.wy4_1, this.xy4_1, this);
|
|
1671
1671
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1672
1672
|
return suspendResult;
|
|
1673
1673
|
}
|
|
@@ -1679,13 +1679,13 @@ protoOf(Logging$lambda$slambda_1).u9 = function () {
|
|
|
1679
1679
|
|
|
1680
1680
|
case 1:
|
|
1681
1681
|
var newResponse = suspendResult;
|
|
1682
|
-
if (this.
|
|
1683
|
-
this.
|
|
1682
|
+
if (this.xy4_1.g1() > 0) {
|
|
1683
|
+
this.ry4_1.hxu(joinToString(this.xy4_1, '\n'));
|
|
1684
1684
|
}
|
|
1685
1685
|
|
|
1686
|
-
if (!equals(newResponse, this.
|
|
1686
|
+
if (!equals(newResponse, this.wy4_1)) {
|
|
1687
1687
|
this.m9_1 = 2;
|
|
1688
|
-
suspendResult = this.
|
|
1688
|
+
suspendResult = this.vy4_1.h60(newResponse, this);
|
|
1689
1689
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1690
1690
|
return suspendResult;
|
|
1691
1691
|
}
|
|
@@ -1717,33 +1717,33 @@ protoOf(Logging$lambda$slambda_1).u9 = function () {
|
|
|
1717
1717
|
}
|
|
1718
1718
|
while (true);
|
|
1719
1719
|
};
|
|
1720
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1721
|
-
var i = new Logging$lambda$slambda_1(this.
|
|
1722
|
-
i.
|
|
1723
|
-
i.
|
|
1720
|
+
protoOf(Logging$lambda$slambda_1).zy4 = function ($this$on, response, completion) {
|
|
1721
|
+
var i = new Logging$lambda$slambda_1(this.qy4_1, this.ry4_1, this.sy4_1, this.ty4_1, this.uy4_1, completion);
|
|
1722
|
+
i.vy4_1 = $this$on;
|
|
1723
|
+
i.wy4_1 = response;
|
|
1724
1724
|
return i;
|
|
1725
1725
|
};
|
|
1726
1726
|
function Logging$lambda$slambda_2($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation) {
|
|
1727
1727
|
var i = new Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation);
|
|
1728
1728
|
return constructCallableReference(function ($this$on, response, $completion) {
|
|
1729
|
-
return i.
|
|
1729
|
+
return i.yy4($this$on, response, $completion);
|
|
1730
1730
|
}, 2);
|
|
1731
1731
|
}
|
|
1732
1732
|
function Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1733
|
-
this.
|
|
1734
|
-
this.
|
|
1735
|
-
this.
|
|
1733
|
+
this.iy5_1 = $okHttpFormat;
|
|
1734
|
+
this.jy5_1 = $level;
|
|
1735
|
+
this.ky5_1 = $sanitizedHeaders;
|
|
1736
1736
|
CoroutineImpl.call(this, resultContinuation);
|
|
1737
1737
|
}
|
|
1738
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1739
|
-
var tmp = this.
|
|
1738
|
+
protoOf(Logging$lambda$slambda_3).ty5 = function ($this$on, response, $completion) {
|
|
1739
|
+
var tmp = this.uy5($this$on, response, $completion);
|
|
1740
1740
|
tmp.o9_1 = Unit_instance;
|
|
1741
1741
|
tmp.p9_1 = null;
|
|
1742
1742
|
return tmp.u9();
|
|
1743
1743
|
};
|
|
1744
1744
|
protoOf(Logging$lambda$slambda_3).ia = function (p1, p2, $completion) {
|
|
1745
1745
|
var tmp = p1 instanceof Context_1 ? p1 : THROW_CCE();
|
|
1746
|
-
return this.
|
|
1746
|
+
return this.ty5(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1747
1747
|
};
|
|
1748
1748
|
protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
1749
1749
|
var suspendResult = this.o9_1;
|
|
@@ -1753,28 +1753,28 @@ protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
|
1753
1753
|
switch (tmp) {
|
|
1754
1754
|
case 0:
|
|
1755
1755
|
this.n9_1 = 14;
|
|
1756
|
-
if (this.
|
|
1756
|
+
if (this.iy5_1)
|
|
1757
1757
|
return Unit_instance;
|
|
1758
|
-
if (this.
|
|
1758
|
+
if (this.jy5_1.equals(LogLevel_NONE_getInstance()) || this.my5_1.s4p().l4p().h3c(get_DisableLogging()))
|
|
1759
1759
|
return Unit_instance;
|
|
1760
|
-
this.
|
|
1761
|
-
this.
|
|
1762
|
-
this.
|
|
1760
|
+
this.oy5_1 = this.my5_1.s4p().l4p().f3c(get_ClientCallLogger());
|
|
1761
|
+
this.qy5_1 = StringBuilder_init_$Create$();
|
|
1762
|
+
this.py5_1 = false;
|
|
1763
1763
|
this.m9_1 = 1;
|
|
1764
1764
|
continue $sm;
|
|
1765
1765
|
case 1:
|
|
1766
1766
|
this.n9_1 = 4;
|
|
1767
1767
|
this.n9_1 = 3;
|
|
1768
|
-
logResponseHeader(this.
|
|
1768
|
+
logResponseHeader(this.qy5_1, this.my5_1.s4p().a4n(), this.jy5_1, this.ky5_1);
|
|
1769
1769
|
this.m9_1 = 2;
|
|
1770
|
-
suspendResult = this.
|
|
1770
|
+
suspendResult = this.ly5_1.jxy(this);
|
|
1771
1771
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1772
1772
|
return suspendResult;
|
|
1773
1773
|
}
|
|
1774
1774
|
|
|
1775
1775
|
continue $sm;
|
|
1776
1776
|
case 2:
|
|
1777
|
-
this.
|
|
1777
|
+
this.ry5_1 = suspendResult;
|
|
1778
1778
|
this.n9_1 = 14;
|
|
1779
1779
|
this.m9_1 = 9;
|
|
1780
1780
|
continue $sm;
|
|
@@ -1784,8 +1784,8 @@ protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
|
1784
1784
|
if (tmp_0 instanceof Error) {
|
|
1785
1785
|
var cause = this.p9_1;
|
|
1786
1786
|
var tmp_1 = this;
|
|
1787
|
-
invoke$logResponseException(this.
|
|
1788
|
-
this.
|
|
1787
|
+
invoke$logResponseException(this.jy5_1, this.qy5_1, this.my5_1.s4p().k4p(), cause);
|
|
1788
|
+
this.py5_1 = true;
|
|
1789
1789
|
throw cause;
|
|
1790
1790
|
} else {
|
|
1791
1791
|
throw this.p9_1;
|
|
@@ -1793,19 +1793,19 @@ protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
|
1793
1793
|
|
|
1794
1794
|
case 4:
|
|
1795
1795
|
this.n9_1 = 14;
|
|
1796
|
-
this.
|
|
1797
|
-
this.
|
|
1798
|
-
if (this.
|
|
1796
|
+
this.sy5_1 = this.p9_1;
|
|
1797
|
+
this.oy5_1.cxv(this.qy5_1.toString());
|
|
1798
|
+
if (this.py5_1 || !this.jy5_1.nxw_1) {
|
|
1799
1799
|
this.m9_1 = 7;
|
|
1800
|
-
suspendResult = this.
|
|
1800
|
+
suspendResult = this.oy5_1.gxv(this);
|
|
1801
1801
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1802
1802
|
return suspendResult;
|
|
1803
1803
|
}
|
|
1804
1804
|
continue $sm;
|
|
1805
1805
|
} else {
|
|
1806
|
-
if (this.
|
|
1806
|
+
if (this.jy5_1.nxw_1 && get_isSaved(this.my5_1)) {
|
|
1807
1807
|
this.m9_1 = 5;
|
|
1808
|
-
suspendResult = logResponseBody(this.
|
|
1808
|
+
suspendResult = logResponseBody(this.oy5_1, this.my5_1, this);
|
|
1809
1809
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1810
1810
|
return suspendResult;
|
|
1811
1811
|
}
|
|
@@ -1818,7 +1818,7 @@ protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
|
1818
1818
|
|
|
1819
1819
|
case 5:
|
|
1820
1820
|
this.m9_1 = 6;
|
|
1821
|
-
suspendResult = this.
|
|
1821
|
+
suspendResult = this.oy5_1.gxv(this);
|
|
1822
1822
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1823
1823
|
return suspendResult;
|
|
1824
1824
|
}
|
|
@@ -1831,22 +1831,22 @@ protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
|
1831
1831
|
this.m9_1 = 8;
|
|
1832
1832
|
continue $sm;
|
|
1833
1833
|
case 8:
|
|
1834
|
-
throw this.
|
|
1834
|
+
throw this.sy5_1;
|
|
1835
1835
|
case 9:
|
|
1836
|
-
this.
|
|
1836
|
+
this.ny5_1 = this.ry5_1;
|
|
1837
1837
|
this.n9_1 = 14;
|
|
1838
|
-
this.
|
|
1839
|
-
if (this.
|
|
1838
|
+
this.oy5_1.cxv(this.qy5_1.toString());
|
|
1839
|
+
if (this.py5_1 || !this.jy5_1.nxw_1) {
|
|
1840
1840
|
this.m9_1 = 12;
|
|
1841
|
-
suspendResult = this.
|
|
1841
|
+
suspendResult = this.oy5_1.gxv(this);
|
|
1842
1842
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1843
1843
|
return suspendResult;
|
|
1844
1844
|
}
|
|
1845
1845
|
continue $sm;
|
|
1846
1846
|
} else {
|
|
1847
|
-
if (this.
|
|
1847
|
+
if (this.jy5_1.nxw_1 && get_isSaved(this.my5_1)) {
|
|
1848
1848
|
this.m9_1 = 10;
|
|
1849
|
-
suspendResult = logResponseBody(this.
|
|
1849
|
+
suspendResult = logResponseBody(this.oy5_1, this.my5_1, this);
|
|
1850
1850
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1851
1851
|
return suspendResult;
|
|
1852
1852
|
}
|
|
@@ -1859,7 +1859,7 @@ protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
|
1859
1859
|
|
|
1860
1860
|
case 10:
|
|
1861
1861
|
this.m9_1 = 11;
|
|
1862
|
-
suspendResult = this.
|
|
1862
|
+
suspendResult = this.oy5_1.gxv(this);
|
|
1863
1863
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1864
1864
|
return suspendResult;
|
|
1865
1865
|
}
|
|
@@ -1887,33 +1887,33 @@ protoOf(Logging$lambda$slambda_3).u9 = function () {
|
|
|
1887
1887
|
}
|
|
1888
1888
|
while (true);
|
|
1889
1889
|
};
|
|
1890
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1891
|
-
var i = new Logging$lambda$slambda_3(this.
|
|
1892
|
-
i.
|
|
1893
|
-
i.
|
|
1890
|
+
protoOf(Logging$lambda$slambda_3).uy5 = function ($this$on, response, completion) {
|
|
1891
|
+
var i = new Logging$lambda$slambda_3(this.iy5_1, this.jy5_1, this.ky5_1, completion);
|
|
1892
|
+
i.ly5_1 = $this$on;
|
|
1893
|
+
i.my5_1 = response;
|
|
1894
1894
|
return i;
|
|
1895
1895
|
};
|
|
1896
1896
|
function Logging$lambda$slambda_4($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1897
1897
|
var i = new Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation);
|
|
1898
1898
|
return constructCallableReference(function ($this$on, response, $completion) {
|
|
1899
|
-
return i.
|
|
1899
|
+
return i.ty5($this$on, response, $completion);
|
|
1900
1900
|
}, 2);
|
|
1901
1901
|
}
|
|
1902
1902
|
function Logging$lambda$slambda_5($okHttpFormat, $level, $logger, resultContinuation) {
|
|
1903
|
-
this.
|
|
1904
|
-
this.
|
|
1905
|
-
this.
|
|
1903
|
+
this.dy6_1 = $okHttpFormat;
|
|
1904
|
+
this.ey6_1 = $level;
|
|
1905
|
+
this.fy6_1 = $logger;
|
|
1906
1906
|
CoroutineImpl.call(this, resultContinuation);
|
|
1907
1907
|
}
|
|
1908
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1909
|
-
var tmp = this.
|
|
1908
|
+
protoOf(Logging$lambda$slambda_5).ly6 = function ($this$on, call, $completion) {
|
|
1909
|
+
var tmp = this.my6($this$on, call, $completion);
|
|
1910
1910
|
tmp.o9_1 = Unit_instance;
|
|
1911
1911
|
tmp.p9_1 = null;
|
|
1912
1912
|
return tmp.u9();
|
|
1913
1913
|
};
|
|
1914
1914
|
protoOf(Logging$lambda$slambda_5).ia = function (p1, p2, $completion) {
|
|
1915
1915
|
var tmp = p1 instanceof Context_2 ? p1 : THROW_CCE();
|
|
1916
|
-
return this.
|
|
1916
|
+
return this.ly6(tmp, p2 instanceof HttpClientCall ? p2 : THROW_CCE(), $completion);
|
|
1917
1917
|
};
|
|
1918
1918
|
protoOf(Logging$lambda$slambda_5).u9 = function () {
|
|
1919
1919
|
var suspendResult = this.o9_1;
|
|
@@ -1923,22 +1923,22 @@ protoOf(Logging$lambda$slambda_5).u9 = function () {
|
|
|
1923
1923
|
switch (tmp) {
|
|
1924
1924
|
case 0:
|
|
1925
1925
|
this.n9_1 = 6;
|
|
1926
|
-
if (this.
|
|
1926
|
+
if (this.dy6_1)
|
|
1927
1927
|
return Unit_instance;
|
|
1928
|
-
if (this.
|
|
1928
|
+
if (this.ey6_1.equals(LogLevel_NONE_getInstance()) || this.hy6_1.l4p().h3c(get_DisableLogging())) {
|
|
1929
1929
|
return Unit_instance;
|
|
1930
1930
|
}
|
|
1931
1931
|
|
|
1932
1932
|
this.n9_1 = 2;
|
|
1933
1933
|
this.m9_1 = 1;
|
|
1934
|
-
suspendResult = this.
|
|
1934
|
+
suspendResult = this.gy6_1.xxy(this);
|
|
1935
1935
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1936
1936
|
return suspendResult;
|
|
1937
1937
|
}
|
|
1938
1938
|
|
|
1939
1939
|
continue $sm;
|
|
1940
1940
|
case 1:
|
|
1941
|
-
this.
|
|
1941
|
+
this.iy6_1 = suspendResult;
|
|
1942
1942
|
this.n9_1 = 6;
|
|
1943
1943
|
this.m9_1 = 5;
|
|
1944
1944
|
continue $sm;
|
|
@@ -1946,22 +1946,22 @@ protoOf(Logging$lambda$slambda_5).u9 = function () {
|
|
|
1946
1946
|
this.n9_1 = 6;
|
|
1947
1947
|
var tmp_0 = this.p9_1;
|
|
1948
1948
|
if (tmp_0 instanceof Error) {
|
|
1949
|
-
this.
|
|
1949
|
+
this.jy6_1 = this.p9_1;
|
|
1950
1950
|
var log = StringBuilder_init_$Create$();
|
|
1951
1951
|
var tmp_1 = this;
|
|
1952
|
-
var tmp0_elvis_lhs = this.
|
|
1952
|
+
var tmp0_elvis_lhs = this.hy6_1.l4p().g3c(get_ClientCallLogger());
|
|
1953
1953
|
var tmp_2;
|
|
1954
1954
|
if (tmp0_elvis_lhs == null) {
|
|
1955
|
-
var this_0 = new HttpClientCallLogger(this.
|
|
1956
|
-
this_0.
|
|
1955
|
+
var this_0 = new HttpClientCallLogger(this.fy6_1);
|
|
1956
|
+
this_0.fxv();
|
|
1957
1957
|
tmp_2 = this_0;
|
|
1958
1958
|
} else {
|
|
1959
1959
|
tmp_2 = tmp0_elvis_lhs;
|
|
1960
1960
|
}
|
|
1961
|
-
tmp_1.
|
|
1962
|
-
invoke$logResponseException(this.
|
|
1961
|
+
tmp_1.ky6_1 = tmp_2;
|
|
1962
|
+
invoke$logResponseException(this.ey6_1, log, this.hy6_1.k4p(), this.jy6_1);
|
|
1963
1963
|
this.m9_1 = 3;
|
|
1964
|
-
suspendResult = this.
|
|
1964
|
+
suspendResult = this.ky6_1.dxv(log.toString(), this);
|
|
1965
1965
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1966
1966
|
return suspendResult;
|
|
1967
1967
|
}
|
|
@@ -1972,7 +1972,7 @@ protoOf(Logging$lambda$slambda_5).u9 = function () {
|
|
|
1972
1972
|
|
|
1973
1973
|
case 3:
|
|
1974
1974
|
this.m9_1 = 4;
|
|
1975
|
-
suspendResult = this.
|
|
1975
|
+
suspendResult = this.ky6_1.gxv(this);
|
|
1976
1976
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1977
1977
|
return suspendResult;
|
|
1978
1978
|
}
|
|
@@ -1980,7 +1980,7 @@ protoOf(Logging$lambda$slambda_5).u9 = function () {
|
|
|
1980
1980
|
continue $sm;
|
|
1981
1981
|
case 4:
|
|
1982
1982
|
var tmp_3 = this;
|
|
1983
|
-
throw this.
|
|
1983
|
+
throw this.jy6_1;
|
|
1984
1984
|
case 5:
|
|
1985
1985
|
this.n9_1 = 6;
|
|
1986
1986
|
return Unit_instance;
|
|
@@ -1998,16 +1998,16 @@ protoOf(Logging$lambda$slambda_5).u9 = function () {
|
|
|
1998
1998
|
}
|
|
1999
1999
|
while (true);
|
|
2000
2000
|
};
|
|
2001
|
-
protoOf(Logging$lambda$slambda_5).
|
|
2002
|
-
var i = new Logging$lambda$slambda_5(this.
|
|
2003
|
-
i.
|
|
2004
|
-
i.
|
|
2001
|
+
protoOf(Logging$lambda$slambda_5).my6 = function ($this$on, call, completion) {
|
|
2002
|
+
var i = new Logging$lambda$slambda_5(this.dy6_1, this.ey6_1, this.fy6_1, completion);
|
|
2003
|
+
i.gy6_1 = $this$on;
|
|
2004
|
+
i.hy6_1 = call;
|
|
2005
2005
|
return i;
|
|
2006
2006
|
};
|
|
2007
2007
|
function Logging$lambda$slambda_6($okHttpFormat, $level, $logger, resultContinuation) {
|
|
2008
2008
|
var i = new Logging$lambda$slambda_5($okHttpFormat, $level, $logger, resultContinuation);
|
|
2009
2009
|
return constructCallableReference(function ($this$on, call, $completion) {
|
|
2010
|
-
return i.
|
|
2010
|
+
return i.ly6($this$on, call, $completion);
|
|
2011
2011
|
}, 2);
|
|
2012
2012
|
}
|
|
2013
2013
|
function Logging$lambda$lambda$lambda(it) {
|
|
@@ -2015,7 +2015,7 @@ function Logging$lambda$lambda$lambda(it) {
|
|
|
2015
2015
|
return !get_isSaved(it.a4n());
|
|
2016
2016
|
}
|
|
2017
2017
|
function Logging$lambda$lambda$slambda($level, resultContinuation) {
|
|
2018
|
-
this.
|
|
2018
|
+
this.vy6_1 = $level;
|
|
2019
2019
|
CoroutineImpl.call(this, resultContinuation);
|
|
2020
2020
|
}
|
|
2021
2021
|
protoOf(Logging$lambda$lambda$slambda).z4y = function (response, $completion) {
|
|
@@ -2035,11 +2035,11 @@ protoOf(Logging$lambda$lambda$slambda).u9 = function () {
|
|
|
2035
2035
|
switch (tmp) {
|
|
2036
2036
|
case 0:
|
|
2037
2037
|
this.n9_1 = 3;
|
|
2038
|
-
if (this.
|
|
2038
|
+
if (this.vy6_1.equals(LogLevel_NONE_getInstance()) || this.wy6_1.s4p().l4p().h3c(get_DisableLogging()))
|
|
2039
2039
|
return Unit_instance;
|
|
2040
|
-
this.
|
|
2040
|
+
this.xy6_1 = this.wy6_1.s4p().l4p().f3c(get_ClientCallLogger());
|
|
2041
2041
|
this.m9_1 = 1;
|
|
2042
|
-
suspendResult = logResponseBody(this.
|
|
2042
|
+
suspendResult = logResponseBody(this.xy6_1, this.wy6_1, this);
|
|
2043
2043
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2044
2044
|
return suspendResult;
|
|
2045
2045
|
}
|
|
@@ -2047,7 +2047,7 @@ protoOf(Logging$lambda$lambda$slambda).u9 = function () {
|
|
|
2047
2047
|
continue $sm;
|
|
2048
2048
|
case 1:
|
|
2049
2049
|
this.m9_1 = 2;
|
|
2050
|
-
suspendResult = this.
|
|
2050
|
+
suspendResult = this.xy6_1.gxv(this);
|
|
2051
2051
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2052
2052
|
return suspendResult;
|
|
2053
2053
|
}
|
|
@@ -2070,8 +2070,8 @@ protoOf(Logging$lambda$lambda$slambda).u9 = function () {
|
|
|
2070
2070
|
while (true);
|
|
2071
2071
|
};
|
|
2072
2072
|
protoOf(Logging$lambda$lambda$slambda).n4x = function (response, completion) {
|
|
2073
|
-
var i = new Logging$lambda$lambda$slambda(this.
|
|
2074
|
-
i.
|
|
2073
|
+
var i = new Logging$lambda$lambda$slambda(this.vy6_1, completion);
|
|
2074
|
+
i.wy6_1 = response;
|
|
2075
2075
|
return i;
|
|
2076
2076
|
};
|
|
2077
2077
|
function Logging$lambda$lambda$slambda_0($level, resultContinuation) {
|
|
@@ -2089,14 +2089,14 @@ function Logging$lambda$lambda($level) {
|
|
|
2089
2089
|
}
|
|
2090
2090
|
function $invoke$logRequestBodyCOROUTINE$(bodyFilter, url, content, contentLength, headers, method, logLines, body, resultContinuation) {
|
|
2091
2091
|
CoroutineImpl.call(this, resultContinuation);
|
|
2092
|
-
this.
|
|
2093
|
-
this.
|
|
2094
|
-
this.
|
|
2095
|
-
this.
|
|
2096
|
-
this.
|
|
2097
|
-
this.
|
|
2098
|
-
this.
|
|
2099
|
-
this.
|
|
2092
|
+
this.ty0_1 = bodyFilter;
|
|
2093
|
+
this.uy0_1 = url;
|
|
2094
|
+
this.vy0_1 = content;
|
|
2095
|
+
this.wy0_1 = contentLength;
|
|
2096
|
+
this.xy0_1 = headers;
|
|
2097
|
+
this.yy0_1 = method;
|
|
2098
|
+
this.zy0_1 = logLines;
|
|
2099
|
+
this.ay1_1 = body;
|
|
2100
2100
|
}
|
|
2101
2101
|
protoOf($invoke$logRequestBodyCOROUTINE$).u9 = function () {
|
|
2102
2102
|
var suspendResult = this.o9_1;
|
|
@@ -2107,7 +2107,7 @@ protoOf($invoke$logRequestBodyCOROUTINE$).u9 = function () {
|
|
|
2107
2107
|
case 0:
|
|
2108
2108
|
this.n9_1 = 2;
|
|
2109
2109
|
this.m9_1 = 1;
|
|
2110
|
-
suspendResult = this.
|
|
2110
|
+
suspendResult = this.ty0_1.hxv(this.uy0_1, this.wy0_1, this.vy0_1.d42(), this.xy0_1, this.ay1_1, this);
|
|
2111
2111
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2112
2112
|
return suspendResult;
|
|
2113
2113
|
}
|
|
@@ -2116,29 +2116,29 @@ protoOf($invoke$logRequestBodyCOROUTINE$).u9 = function () {
|
|
|
2116
2116
|
case 1:
|
|
2117
2117
|
var filteredBody = suspendResult;
|
|
2118
2118
|
if (filteredBody instanceof Empty) {
|
|
2119
|
-
this.
|
|
2119
|
+
this.zy0_1.e1('--> END ' + this.yy0_1.p3w_1 + ' (0-byte body)');
|
|
2120
2120
|
} else {
|
|
2121
2121
|
if (filteredBody instanceof Skip) {
|
|
2122
2122
|
var this_0 = StringBuilder_init_$Create$();
|
|
2123
|
-
this_0.q('--> END ' + this.
|
|
2124
|
-
var tmp0_safe_receiver = filteredBody.
|
|
2123
|
+
this_0.q('--> END ' + this.yy0_1.p3w_1 + ' (');
|
|
2124
|
+
var tmp0_safe_receiver = filteredBody.lxv_1;
|
|
2125
2125
|
if (tmp0_safe_receiver == null)
|
|
2126
2126
|
null;
|
|
2127
2127
|
else {
|
|
2128
2128
|
this_0.q(tmp0_safe_receiver + ' ');
|
|
2129
2129
|
}
|
|
2130
|
-
var tmp1_safe_receiver = filteredBody.
|
|
2130
|
+
var tmp1_safe_receiver = filteredBody.mxv_1;
|
|
2131
2131
|
if (tmp1_safe_receiver == null)
|
|
2132
2132
|
null;
|
|
2133
2133
|
else {
|
|
2134
2134
|
this_0.q(tmp1_safe_receiver.toString() + '-byte ');
|
|
2135
2135
|
}
|
|
2136
2136
|
this_0.q('body omitted)');
|
|
2137
|
-
this.
|
|
2137
|
+
this.zy0_1.e1(this_0.toString());
|
|
2138
2138
|
} else {
|
|
2139
2139
|
if (isInterface(filteredBody, Content)) {
|
|
2140
|
-
this.
|
|
2141
|
-
this.
|
|
2140
|
+
this.zy0_1.e1(filteredBody.q6o());
|
|
2141
|
+
this.zy0_1.e1('--> END ' + this.yy0_1.p3w_1 + ' (' + toString_0(filteredBody.kxv()) + '-byte body)');
|
|
2142
2142
|
} else {
|
|
2143
2143
|
noWhenBranchMatchedException();
|
|
2144
2144
|
}
|
|
@@ -2162,14 +2162,14 @@ protoOf($invoke$logRequestBodyCOROUTINE$).u9 = function () {
|
|
|
2162
2162
|
};
|
|
2163
2163
|
function $invoke$logOutgoingContentCOROUTINE$($this_createClientPlugin, bodyFilter, url, content, method, headers, logLines, process, resultContinuation) {
|
|
2164
2164
|
CoroutineImpl.call(this, resultContinuation);
|
|
2165
|
-
this.
|
|
2166
|
-
this.
|
|
2167
|
-
this.
|
|
2168
|
-
this.
|
|
2169
|
-
this.
|
|
2170
|
-
this.
|
|
2171
|
-
this.
|
|
2172
|
-
this.
|
|
2165
|
+
this.jy1_1 = $this_createClientPlugin;
|
|
2166
|
+
this.ky1_1 = bodyFilter;
|
|
2167
|
+
this.ly1_1 = url;
|
|
2168
|
+
this.my1_1 = content;
|
|
2169
|
+
this.ny1_1 = method;
|
|
2170
|
+
this.oy1_1 = headers;
|
|
2171
|
+
this.py1_1 = logLines;
|
|
2172
|
+
this.qy1_1 = process;
|
|
2173
2173
|
}
|
|
2174
2174
|
protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
2175
2175
|
var suspendResult = this.o9_1;
|
|
@@ -2179,10 +2179,10 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
|
2179
2179
|
switch (tmp) {
|
|
2180
2180
|
case 0:
|
|
2181
2181
|
this.n9_1 = 7;
|
|
2182
|
-
var tmp0_subject = this.
|
|
2182
|
+
var tmp0_subject = this.my1_1;
|
|
2183
2183
|
if (tmp0_subject instanceof ObservableContent) {
|
|
2184
2184
|
this.m9_1 = 5;
|
|
2185
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2185
|
+
suspendResult = invoke$logOutgoingContent(this.jy1_1, this.ky1_1, this.ly1_1, this.my1_1.n4s_1, this.ny1_1, this.oy1_1, this.py1_1, this.qy1_1, this);
|
|
2186
2186
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2187
2187
|
return suspendResult;
|
|
2188
2188
|
}
|
|
@@ -2190,41 +2190,41 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
|
2190
2190
|
} else {
|
|
2191
2191
|
if (tmp0_subject instanceof MultiPartFormDataContent) {
|
|
2192
2192
|
var tmp_0 = this;
|
|
2193
|
-
var _iterator__ex2g4s = this.
|
|
2193
|
+
var _iterator__ex2g4s = this.my1_1.r67_1.t();
|
|
2194
2194
|
while (_iterator__ex2g4s.u()) {
|
|
2195
2195
|
var part = _iterator__ex2g4s.v();
|
|
2196
|
-
this.
|
|
2196
|
+
this.py1_1.e1('--' + this.my1_1.s67_1);
|
|
2197
2197
|
var _iterator__ex2g4s_0 = part.i68_1.z3g().t();
|
|
2198
2198
|
while (_iterator__ex2g4s_0.u()) {
|
|
2199
2199
|
var _destruct__k2r9zo = _iterator__ex2g4s_0.v();
|
|
2200
2200
|
var key = _destruct__k2r9zo.m1();
|
|
2201
2201
|
var values = _destruct__k2r9zo.n1();
|
|
2202
|
-
this.
|
|
2202
|
+
this.py1_1.e1(key + ': ' + joinToString(values, '; '));
|
|
2203
2203
|
}
|
|
2204
2204
|
if (part instanceof FormItem) {
|
|
2205
|
-
this.
|
|
2206
|
-
this.
|
|
2207
|
-
this.
|
|
2205
|
+
this.py1_1.e1('Content-Length: ' + part.m68_1.length);
|
|
2206
|
+
this.py1_1.e1('');
|
|
2207
|
+
this.py1_1.e1(part.m68_1);
|
|
2208
2208
|
} else {
|
|
2209
|
-
this.
|
|
2209
|
+
this.py1_1.e1('');
|
|
2210
2210
|
var contentLength = part.i68_1.ie('Content-Length');
|
|
2211
2211
|
if (!(contentLength == null)) {
|
|
2212
|
-
this.
|
|
2212
|
+
this.py1_1.e1('binary ' + contentLength + '-byte body omitted');
|
|
2213
2213
|
} else {
|
|
2214
|
-
this.
|
|
2214
|
+
this.py1_1.e1('binary body omitted');
|
|
2215
2215
|
}
|
|
2216
2216
|
}
|
|
2217
2217
|
}
|
|
2218
|
-
this.
|
|
2219
|
-
this.
|
|
2220
|
-
tmp_0.
|
|
2218
|
+
this.py1_1.e1('--' + this.my1_1.s67_1 + '--');
|
|
2219
|
+
this.py1_1.e1('--> END ' + this.ny1_1.p3w_1);
|
|
2220
|
+
tmp_0.ry1_1 = null;
|
|
2221
2221
|
this.m9_1 = 6;
|
|
2222
2222
|
continue $sm;
|
|
2223
2223
|
} else {
|
|
2224
2224
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
2225
|
-
var bytes = this.
|
|
2225
|
+
var bytes = this.my1_1.g42();
|
|
2226
2226
|
this.m9_1 = 4;
|
|
2227
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2227
|
+
suspendResult = invoke$logRequestBody(this.ky1_1, this.ly1_1, this.my1_1, fromInt(bytes.length), this.oy1_1, this.ny1_1, this.py1_1, ByteReadChannel(bytes), this);
|
|
2228
2228
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2229
2229
|
return suspendResult;
|
|
2230
2230
|
}
|
|
@@ -2232,7 +2232,7 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
|
2232
2232
|
} else {
|
|
2233
2233
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
2234
2234
|
this.m9_1 = 3;
|
|
2235
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2235
|
+
suspendResult = invoke$logOutgoingContent(this.jy1_1, this.ky1_1, this.ly1_1, this.my1_1.k42(), this.ny1_1, this.oy1_1, this.py1_1, this.qy1_1, this);
|
|
2236
2236
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2237
2237
|
return suspendResult;
|
|
2238
2238
|
}
|
|
@@ -2240,24 +2240,24 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
|
2240
2240
|
} else {
|
|
2241
2241
|
if (tmp0_subject instanceof NoContent) {
|
|
2242
2242
|
var tmp_1 = this;
|
|
2243
|
-
this.
|
|
2244
|
-
tmp_1.
|
|
2243
|
+
this.py1_1.e1('--> END ' + this.ny1_1.p3w_1);
|
|
2244
|
+
tmp_1.ry1_1 = null;
|
|
2245
2245
|
this.m9_1 = 6;
|
|
2246
2246
|
continue $sm;
|
|
2247
2247
|
} else {
|
|
2248
2248
|
if (tmp0_subject instanceof ProtocolUpgrade) {
|
|
2249
2249
|
var tmp_2 = this;
|
|
2250
|
-
this.
|
|
2251
|
-
tmp_2.
|
|
2250
|
+
this.py1_1.e1('--> END ' + this.ny1_1.p3w_1);
|
|
2251
|
+
tmp_2.ry1_1 = null;
|
|
2252
2252
|
this.m9_1 = 6;
|
|
2253
2253
|
continue $sm;
|
|
2254
2254
|
} else {
|
|
2255
2255
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
2256
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2257
|
-
this.
|
|
2256
|
+
var _destruct__k2r9zo_0 = split(this.my1_1.r42(), this.jy1_1.m4w_1);
|
|
2257
|
+
this.sy1_1 = _destruct__k2r9zo_0.gh();
|
|
2258
2258
|
var newChannel = _destruct__k2r9zo_0.hh();
|
|
2259
2259
|
this.m9_1 = 2;
|
|
2260
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2260
|
+
suspendResult = invoke$logRequestBody(this.ky1_1, this.ly1_1, this.my1_1, this.my1_1.f42(), this.oy1_1, this.ny1_1, this.py1_1, newChannel, this);
|
|
2261
2261
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2262
2262
|
return suspendResult;
|
|
2263
2263
|
}
|
|
@@ -2265,12 +2265,12 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
|
2265
2265
|
} else {
|
|
2266
2266
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
2267
2267
|
var channel = new ByteChannel();
|
|
2268
|
-
launch(this.
|
|
2269
|
-
var _destruct__k2r9zo_1 = split(channel, this.
|
|
2270
|
-
this.
|
|
2268
|
+
launch(this.jy1_1.m4w_1, VOID, VOID, Logging$lambda$logOutgoingContent$slambda_0(this.my1_1, channel, null));
|
|
2269
|
+
var _destruct__k2r9zo_1 = split(channel, this.jy1_1.m4w_1);
|
|
2270
|
+
this.ty1_1 = _destruct__k2r9zo_1.gh();
|
|
2271
2271
|
var newChannel_0 = _destruct__k2r9zo_1.hh();
|
|
2272
2272
|
this.m9_1 = 1;
|
|
2273
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2273
|
+
suspendResult = invoke$logRequestBody(this.ky1_1, this.ly1_1, this.my1_1, this.my1_1.f42(), this.oy1_1, this.ny1_1, this.py1_1, newChannel_0, this);
|
|
2274
2274
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2275
2275
|
return suspendResult;
|
|
2276
2276
|
}
|
|
@@ -2289,27 +2289,27 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
|
2289
2289
|
|
|
2290
2290
|
break;
|
|
2291
2291
|
case 1:
|
|
2292
|
-
this.
|
|
2292
|
+
this.ry1_1 = new LoggedContent(this.my1_1, this.ty1_1);
|
|
2293
2293
|
this.m9_1 = 6;
|
|
2294
2294
|
continue $sm;
|
|
2295
2295
|
case 2:
|
|
2296
|
-
this.
|
|
2296
|
+
this.ry1_1 = new LoggedContent(this.my1_1, this.sy1_1);
|
|
2297
2297
|
this.m9_1 = 6;
|
|
2298
2298
|
continue $sm;
|
|
2299
2299
|
case 3:
|
|
2300
|
-
this.
|
|
2300
|
+
this.ry1_1 = suspendResult;
|
|
2301
2301
|
this.m9_1 = 6;
|
|
2302
2302
|
continue $sm;
|
|
2303
2303
|
case 4:
|
|
2304
|
-
this.
|
|
2304
|
+
this.ry1_1 = null;
|
|
2305
2305
|
this.m9_1 = 6;
|
|
2306
2306
|
continue $sm;
|
|
2307
2307
|
case 5:
|
|
2308
|
-
this.
|
|
2308
|
+
this.ry1_1 = suspendResult;
|
|
2309
2309
|
this.m9_1 = 6;
|
|
2310
2310
|
continue $sm;
|
|
2311
2311
|
case 6:
|
|
2312
|
-
return this.
|
|
2312
|
+
return this.ry1_1;
|
|
2313
2313
|
case 7:
|
|
2314
2314
|
throw this.p9_1;
|
|
2315
2315
|
}
|
|
@@ -2326,12 +2326,12 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).u9 = function () {
|
|
|
2326
2326
|
};
|
|
2327
2327
|
function $invoke$logRequestOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, bodyFilter, request, logLines, resultContinuation) {
|
|
2328
2328
|
CoroutineImpl.call(this, resultContinuation);
|
|
2329
|
-
this.
|
|
2330
|
-
this.
|
|
2331
|
-
this.
|
|
2332
|
-
this.
|
|
2333
|
-
this.
|
|
2334
|
-
this.
|
|
2329
|
+
this.cy2_1 = sanitizedHeaders;
|
|
2330
|
+
this.dy2_1 = level;
|
|
2331
|
+
this.ey2_1 = $this_createClientPlugin;
|
|
2332
|
+
this.fy2_1 = bodyFilter;
|
|
2333
|
+
this.gy2_1 = request;
|
|
2334
|
+
this.hy2_1 = logLines;
|
|
2335
2335
|
}
|
|
2336
2336
|
protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
2337
2337
|
var suspendResult = this.o9_1;
|
|
@@ -2341,22 +2341,22 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2341
2341
|
switch (tmp) {
|
|
2342
2342
|
case 0:
|
|
2343
2343
|
this.n9_1 = 4;
|
|
2344
|
-
if (invoke$isNone(this.
|
|
2344
|
+
if (invoke$isNone(this.dy2_1))
|
|
2345
2345
|
return null;
|
|
2346
|
-
var uri = takeFrom(new URLBuilder(), this.
|
|
2347
|
-
var body = this.
|
|
2346
|
+
var uri = takeFrom(new URLBuilder(), this.gy2_1.a4o_1).c1h().toString();
|
|
2347
|
+
var body = this.gy2_1.d4o_1;
|
|
2348
2348
|
var this_0 = new HeadersBuilder();
|
|
2349
2349
|
var tmp_0;
|
|
2350
2350
|
var tmp_1;
|
|
2351
2351
|
var tmp_2;
|
|
2352
2352
|
if (body instanceof OutgoingContent) {
|
|
2353
|
-
tmp_2 = !this.
|
|
2353
|
+
tmp_2 = !this.gy2_1.b4o_1.equals(Companion_getInstance().f3w_1);
|
|
2354
2354
|
} else {
|
|
2355
2355
|
tmp_2 = false;
|
|
2356
2356
|
}
|
|
2357
2357
|
|
|
2358
2358
|
if (tmp_2) {
|
|
2359
|
-
tmp_1 = !this.
|
|
2359
|
+
tmp_1 = !this.gy2_1.b4o_1.equals(Companion_getInstance().k3w_1);
|
|
2360
2360
|
} else {
|
|
2361
2361
|
tmp_1 = false;
|
|
2362
2362
|
}
|
|
@@ -2382,16 +2382,16 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2382
2382
|
}
|
|
2383
2383
|
}
|
|
2384
2384
|
|
|
2385
|
-
appendAll(this_0, this.
|
|
2385
|
+
appendAll(this_0, this.gy2_1.c4o_1);
|
|
2386
2386
|
var headers = this_0.c1h();
|
|
2387
2387
|
var tmp0_safe_receiver_0 = headers.ie('Content-Length');
|
|
2388
2388
|
var contentLength = tmp0_safe_receiver_0 == null ? null : toLongOrNull(tmp0_safe_receiver_0);
|
|
2389
2389
|
var tmp_3;
|
|
2390
|
-
if (this.
|
|
2391
|
-
tmp_3 = '--> ' + this.
|
|
2390
|
+
if (this.gy2_1.b4o_1.equals(Companion_getInstance().f3w_1) || this.gy2_1.b4o_1.equals(Companion_getInstance().k3w_1) || ((invoke$isHeaders(this.dy2_1) || invoke$isBody(this.dy2_1)) && !(contentLength == null)) || (invoke$isHeaders(this.dy2_1) && contentLength == null) || headers.q3f('Content-Encoding')) {
|
|
2391
|
+
tmp_3 = '--> ' + this.gy2_1.b4o_1.p3w_1 + ' ' + uri;
|
|
2392
2392
|
} else {
|
|
2393
|
-
if (invoke$isInfo(this.
|
|
2394
|
-
tmp_3 = '--> ' + this.
|
|
2393
|
+
if (invoke$isInfo(this.dy2_1) && !(contentLength == null)) {
|
|
2394
|
+
tmp_3 = '--> ' + this.gy2_1.b4o_1.p3w_1 + ' ' + uri + ' (' + contentLength.toString() + '-byte body)';
|
|
2395
2395
|
} else {
|
|
2396
2396
|
var tmp_4;
|
|
2397
2397
|
if (body instanceof WriteChannelContent) {
|
|
@@ -2400,17 +2400,17 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2400
2400
|
tmp_4 = body instanceof ReadChannelContent;
|
|
2401
2401
|
}
|
|
2402
2402
|
if (tmp_4) {
|
|
2403
|
-
tmp_3 = '--> ' + this.
|
|
2403
|
+
tmp_3 = '--> ' + this.gy2_1.b4o_1.p3w_1 + ' ' + uri + ' (unknown-byte body)';
|
|
2404
2404
|
} else {
|
|
2405
|
-
var size = computeRequestBodySize(this.
|
|
2406
|
-
tmp_3 = '--> ' + this.
|
|
2405
|
+
var size = computeRequestBodySize(this.gy2_1.d4o_1);
|
|
2406
|
+
tmp_3 = '--> ' + this.gy2_1.b4o_1.p3w_1 + ' ' + uri + ' (' + size.toString() + '-byte body)';
|
|
2407
2407
|
}
|
|
2408
2408
|
}
|
|
2409
2409
|
}
|
|
2410
2410
|
|
|
2411
2411
|
var startLine = tmp_3;
|
|
2412
|
-
this.
|
|
2413
|
-
if (!invoke$isHeaders(this.
|
|
2412
|
+
this.hy2_1.e1(startLine);
|
|
2413
|
+
if (!invoke$isHeaders(this.dy2_1) && !invoke$isBody(this.dy2_1)) {
|
|
2414
2414
|
return null;
|
|
2415
2415
|
}
|
|
2416
2416
|
|
|
@@ -2419,13 +2419,13 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2419
2419
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2420
2420
|
var name = _destruct__k2r9zo.m1();
|
|
2421
2421
|
var values = _destruct__k2r9zo.n1();
|
|
2422
|
-
var tmp0 = this.
|
|
2422
|
+
var tmp0 = this.cy2_1;
|
|
2423
2423
|
var tmp$ret$0 = Unit_instance;
|
|
2424
2424
|
l$ret$1: do {
|
|
2425
2425
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2426
2426
|
while (_iterator__ex2g4s_0.u()) {
|
|
2427
2427
|
var element = _iterator__ex2g4s_0.v();
|
|
2428
|
-
if (element.
|
|
2428
|
+
if (element.fxx_1(name)) {
|
|
2429
2429
|
tmp$ret$0 = element;
|
|
2430
2430
|
break l$ret$1;
|
|
2431
2431
|
}
|
|
@@ -2434,35 +2434,35 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2434
2434
|
}
|
|
2435
2435
|
while (false);
|
|
2436
2436
|
if (tmp$ret$0 == null) {
|
|
2437
|
-
this.
|
|
2437
|
+
this.hy2_1.e1(name + ': ' + joinToString(values, ', '));
|
|
2438
2438
|
} else {
|
|
2439
|
-
this.
|
|
2439
|
+
this.hy2_1.e1(name + ': \u2588\u2588');
|
|
2440
2440
|
}
|
|
2441
2441
|
}
|
|
2442
2442
|
|
|
2443
|
-
if (!invoke$isBody(this.
|
|
2444
|
-
this.
|
|
2443
|
+
if (!invoke$isBody(this.dy2_1) || this.gy2_1.b4o_1.equals(Companion_getInstance().f3w_1) || this.gy2_1.b4o_1.equals(Companion_getInstance().k3w_1)) {
|
|
2444
|
+
this.hy2_1.e1('--> END ' + this.gy2_1.b4o_1.p3w_1);
|
|
2445
2445
|
return null;
|
|
2446
2446
|
}
|
|
2447
2447
|
|
|
2448
|
-
this.
|
|
2448
|
+
this.hy2_1.e1('');
|
|
2449
2449
|
if (!(body instanceof OutgoingContent)) {
|
|
2450
|
-
this.
|
|
2450
|
+
this.hy2_1.e1('--> END ' + this.gy2_1.b4o_1.p3w_1);
|
|
2451
2451
|
return null;
|
|
2452
2452
|
}
|
|
2453
2453
|
|
|
2454
|
-
if (this.
|
|
2454
|
+
if (this.gy2_1.c4o_1.ie('Content-Encoding') === 'gzip') {
|
|
2455
2455
|
this.m9_1 = 2;
|
|
2456
|
-
var tmp_5 = this.
|
|
2457
|
-
var tmp_6 = this.
|
|
2458
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2456
|
+
var tmp_5 = this.gy2_1.a4o_1.c1h();
|
|
2457
|
+
var tmp_6 = this.gy2_1.b4o_1;
|
|
2458
|
+
suspendResult = invoke$logOutgoingContent(this.ey2_1, this.fy2_1, tmp_5, body, tmp_6, headers, this.hy2_1, Logging$lambda$logRequestOkHttpFormat$lambda, this);
|
|
2459
2459
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2460
2460
|
return suspendResult;
|
|
2461
2461
|
}
|
|
2462
2462
|
continue $sm;
|
|
2463
2463
|
} else {
|
|
2464
2464
|
this.m9_1 = 1;
|
|
2465
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2465
|
+
suspendResult = invoke$logOutgoingContent(this.ey2_1, this.fy2_1, this.gy2_1.a4o_1.c1h(), body, this.gy2_1.b4o_1, headers, this.hy2_1, VOID, this);
|
|
2466
2466
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2467
2467
|
return suspendResult;
|
|
2468
2468
|
}
|
|
@@ -2470,15 +2470,15 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2470
2470
|
}
|
|
2471
2471
|
|
|
2472
2472
|
case 1:
|
|
2473
|
-
this.
|
|
2473
|
+
this.iy2_1 = suspendResult;
|
|
2474
2474
|
this.m9_1 = 3;
|
|
2475
2475
|
continue $sm;
|
|
2476
2476
|
case 2:
|
|
2477
|
-
this.
|
|
2477
|
+
this.iy2_1 = suspendResult;
|
|
2478
2478
|
this.m9_1 = 3;
|
|
2479
2479
|
continue $sm;
|
|
2480
2480
|
case 3:
|
|
2481
|
-
var newContent = this.
|
|
2481
|
+
var newContent = this.iy2_1;
|
|
2482
2482
|
return newContent;
|
|
2483
2483
|
case 4:
|
|
2484
2484
|
throw this.p9_1;
|
|
@@ -2496,10 +2496,10 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2496
2496
|
};
|
|
2497
2497
|
function $invoke$logResponseBodyCOROUTINE$(bodyFilter, response, body, logLines, resultContinuation) {
|
|
2498
2498
|
CoroutineImpl.call(this, resultContinuation);
|
|
2499
|
-
this.
|
|
2500
|
-
this.
|
|
2501
|
-
this.
|
|
2502
|
-
this.
|
|
2499
|
+
this.ry2_1 = bodyFilter;
|
|
2500
|
+
this.sy2_1 = response;
|
|
2501
|
+
this.ty2_1 = body;
|
|
2502
|
+
this.uy2_1 = logLines;
|
|
2503
2503
|
}
|
|
2504
2504
|
protoOf($invoke$logResponseBodyCOROUTINE$).u9 = function () {
|
|
2505
2505
|
var suspendResult = this.o9_1;
|
|
@@ -2509,9 +2509,9 @@ protoOf($invoke$logResponseBodyCOROUTINE$).u9 = function () {
|
|
|
2509
2509
|
switch (tmp) {
|
|
2510
2510
|
case 0:
|
|
2511
2511
|
this.n9_1 = 2;
|
|
2512
|
-
this.
|
|
2512
|
+
this.uy2_1.e1('');
|
|
2513
2513
|
this.m9_1 = 1;
|
|
2514
|
-
suspendResult = this.
|
|
2514
|
+
suspendResult = this.ry2_1.jxv(this.sy2_1.s4p().k4p().u4p(), contentLength(this.sy2_1), contentType(this.sy2_1), this.sy2_1.e3w(), this.ty2_1, this);
|
|
2515
2515
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2516
2516
|
return suspendResult;
|
|
2517
2517
|
}
|
|
@@ -2519,33 +2519,33 @@ protoOf($invoke$logResponseBodyCOROUTINE$).u9 = function () {
|
|
|
2519
2519
|
continue $sm;
|
|
2520
2520
|
case 1:
|
|
2521
2521
|
var filteredBody = suspendResult;
|
|
2522
|
-
var duration = subtract(this.
|
|
2522
|
+
var duration = subtract(this.sy2_1.e4q().b3j_1, this.sy2_1.d4q().b3j_1);
|
|
2523
2523
|
if (filteredBody instanceof Empty) {
|
|
2524
|
-
this.
|
|
2524
|
+
this.uy2_1.e1('<-- END HTTP (' + duration.toString() + 'ms, 0-byte body)');
|
|
2525
2525
|
} else {
|
|
2526
2526
|
if (filteredBody instanceof Skip) {
|
|
2527
2527
|
var this_0 = StringBuilder_init_$Create$();
|
|
2528
2528
|
this_0.q('<-- END HTTP (');
|
|
2529
2529
|
this_0.hd(duration);
|
|
2530
2530
|
this_0.q('ms, ');
|
|
2531
|
-
var tmp0_safe_receiver = filteredBody.
|
|
2531
|
+
var tmp0_safe_receiver = filteredBody.lxv_1;
|
|
2532
2532
|
if (tmp0_safe_receiver == null)
|
|
2533
2533
|
null;
|
|
2534
2534
|
else {
|
|
2535
2535
|
this_0.q(tmp0_safe_receiver + ' ');
|
|
2536
2536
|
}
|
|
2537
|
-
var tmp1_safe_receiver = filteredBody.
|
|
2537
|
+
var tmp1_safe_receiver = filteredBody.mxv_1;
|
|
2538
2538
|
if (tmp1_safe_receiver == null)
|
|
2539
2539
|
null;
|
|
2540
2540
|
else {
|
|
2541
2541
|
this_0.q(tmp1_safe_receiver.toString() + '-byte ');
|
|
2542
2542
|
}
|
|
2543
2543
|
this_0.q('body omitted)');
|
|
2544
|
-
this.
|
|
2544
|
+
this.uy2_1.e1(this_0.toString());
|
|
2545
2545
|
} else {
|
|
2546
2546
|
if (isInterface(filteredBody, Content)) {
|
|
2547
|
-
this.
|
|
2548
|
-
this.
|
|
2547
|
+
this.uy2_1.e1(filteredBody.q6o());
|
|
2548
|
+
this.uy2_1.e1('<-- END HTTP (' + duration.toString() + 'ms, ' + toString_0(filteredBody.kxv()) + '-byte body)');
|
|
2549
2549
|
} else {
|
|
2550
2550
|
noWhenBranchMatchedException();
|
|
2551
2551
|
}
|
|
@@ -2569,11 +2569,11 @@ protoOf($invoke$logResponseBodyCOROUTINE$).u9 = function () {
|
|
|
2569
2569
|
};
|
|
2570
2570
|
function $invoke$logResponseOkHttpFormatCOROUTINE$(sanitizedHeaders, level, bodyFilter, response, logLines, resultContinuation) {
|
|
2571
2571
|
CoroutineImpl.call(this, resultContinuation);
|
|
2572
|
-
this.
|
|
2573
|
-
this.
|
|
2574
|
-
this.
|
|
2575
|
-
this.
|
|
2576
|
-
this.
|
|
2572
|
+
this.dy3_1 = sanitizedHeaders;
|
|
2573
|
+
this.ey3_1 = level;
|
|
2574
|
+
this.fy3_1 = bodyFilter;
|
|
2575
|
+
this.gy3_1 = response;
|
|
2576
|
+
this.hy3_1 = logLines;
|
|
2577
2577
|
}
|
|
2578
2578
|
protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).u9 = function () {
|
|
2579
2579
|
var suspendResult = this.o9_1;
|
|
@@ -2583,30 +2583,30 @@ protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2583
2583
|
switch (tmp) {
|
|
2584
2584
|
case 0:
|
|
2585
2585
|
this.n9_1 = 4;
|
|
2586
|
-
if (invoke$isNone(this.
|
|
2587
|
-
return this.
|
|
2588
|
-
var tmp0_safe_receiver = this.
|
|
2586
|
+
if (invoke$isNone(this.ey3_1))
|
|
2587
|
+
return this.gy3_1;
|
|
2588
|
+
var tmp0_safe_receiver = this.gy3_1.e3w().ie('Content-Length');
|
|
2589
2589
|
var contentLength = tmp0_safe_receiver == null ? null : toLongOrNull(tmp0_safe_receiver);
|
|
2590
|
-
var request = get_request(this.
|
|
2591
|
-
var duration = subtract(this.
|
|
2592
|
-
var startLine = this.
|
|
2593
|
-
this.
|
|
2594
|
-
if (!invoke$isHeaders(this.
|
|
2595
|
-
return this.
|
|
2590
|
+
var request = get_request(this.gy3_1);
|
|
2591
|
+
var duration = subtract(this.gy3_1.e4q().b3j_1, this.gy3_1.d4q().b3j_1);
|
|
2592
|
+
var startLine = this.gy3_1.e3w().ie('Transfer-Encoding') === 'chunked' && (invoke$isInfo(this.ey3_1) || invoke$isHeaders(this.ey3_1)) ? '<-- ' + this.gy3_1.e42().toString() + ' ' + request.u4p().toString() + ' (' + duration.toString() + 'ms, unknown-byte body)' : invoke$isInfo(this.ey3_1) && !(contentLength == null) ? '<-- ' + this.gy3_1.e42().toString() + ' ' + request.u4p().toString() + ' (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)' : invoke$isBody(this.ey3_1) || (invoke$isInfo(this.ey3_1) && contentLength == null) || (invoke$isHeaders(this.ey3_1) && !(contentLength == null)) || this.gy3_1.e3w().ie('Content-Encoding') === 'gzip' ? '<-- ' + this.gy3_1.e42().toString() + ' ' + request.u4p().toString() + ' (' + duration.toString() + 'ms)' : '<-- ' + this.gy3_1.e42().toString() + ' ' + request.u4p().toString() + ' (' + duration.toString() + 'ms, unknown-byte body)';
|
|
2593
|
+
this.hy3_1.e1(startLine);
|
|
2594
|
+
if (!invoke$isHeaders(this.ey3_1) && !invoke$isBody(this.ey3_1)) {
|
|
2595
|
+
return this.gy3_1;
|
|
2596
2596
|
}
|
|
2597
2597
|
|
|
2598
|
-
var _iterator__ex2g4s = this.
|
|
2598
|
+
var _iterator__ex2g4s = this.gy3_1.e3w().z3g().t();
|
|
2599
2599
|
while (_iterator__ex2g4s.u()) {
|
|
2600
2600
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2601
2601
|
var name = _destruct__k2r9zo.m1();
|
|
2602
2602
|
var values = _destruct__k2r9zo.n1();
|
|
2603
|
-
var tmp0 = this.
|
|
2603
|
+
var tmp0 = this.dy3_1;
|
|
2604
2604
|
var tmp$ret$0 = Unit_instance;
|
|
2605
2605
|
l$ret$1: do {
|
|
2606
2606
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2607
2607
|
while (_iterator__ex2g4s_0.u()) {
|
|
2608
2608
|
var element = _iterator__ex2g4s_0.v();
|
|
2609
|
-
if (element.
|
|
2609
|
+
if (element.fxx_1(name)) {
|
|
2610
2610
|
tmp$ret$0 = element;
|
|
2611
2611
|
break l$ret$1;
|
|
2612
2612
|
}
|
|
@@ -2615,30 +2615,30 @@ protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2615
2615
|
}
|
|
2616
2616
|
while (false);
|
|
2617
2617
|
if (tmp$ret$0 == null) {
|
|
2618
|
-
this.
|
|
2618
|
+
this.hy3_1.e1(name + ': ' + joinToString(values, ', '));
|
|
2619
2619
|
} else {
|
|
2620
|
-
this.
|
|
2620
|
+
this.hy3_1.e1(name + ': \u2588\u2588');
|
|
2621
2621
|
}
|
|
2622
2622
|
}
|
|
2623
2623
|
|
|
2624
|
-
if (!invoke$isBody(this.
|
|
2625
|
-
this.
|
|
2626
|
-
return this.
|
|
2624
|
+
if (!invoke$isBody(this.ey3_1)) {
|
|
2625
|
+
this.hy3_1.e1('<-- END HTTP');
|
|
2626
|
+
return this.gy3_1;
|
|
2627
2627
|
}
|
|
2628
2628
|
|
|
2629
2629
|
if (!(contentLength == null) && contentLength === 0n) {
|
|
2630
|
-
this.
|
|
2631
|
-
return this.
|
|
2630
|
+
this.hy3_1.e1('<-- END HTTP (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)');
|
|
2631
|
+
return this.gy3_1;
|
|
2632
2632
|
}
|
|
2633
2633
|
|
|
2634
|
-
if (equals(contentType(this.
|
|
2635
|
-
this.
|
|
2636
|
-
return this.
|
|
2634
|
+
if (equals(contentType(this.gy3_1), Text_getInstance().n3q_1)) {
|
|
2635
|
+
this.hy3_1.e1('<-- END HTTP (streaming)');
|
|
2636
|
+
return this.gy3_1;
|
|
2637
2637
|
}
|
|
2638
2638
|
|
|
2639
|
-
if (get_isSaved(this.
|
|
2639
|
+
if (get_isSaved(this.gy3_1)) {
|
|
2640
2640
|
this.m9_1 = 3;
|
|
2641
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2641
|
+
suspendResult = invoke$logResponseBody(this.fy3_1, this.gy3_1, this.gy3_1.b4q(), this.hy3_1, this);
|
|
2642
2642
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2643
2643
|
return suspendResult;
|
|
2644
2644
|
}
|
|
@@ -2649,22 +2649,22 @@ protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).u9 = function () {
|
|
|
2649
2649
|
}
|
|
2650
2650
|
|
|
2651
2651
|
case 1:
|
|
2652
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2653
|
-
this.
|
|
2652
|
+
var _destruct__k2r9zo_0 = split(this.gy3_1.b4q(), this.gy3_1);
|
|
2653
|
+
this.iy3_1 = _destruct__k2r9zo_0.gh();
|
|
2654
2654
|
var newChannel = _destruct__k2r9zo_0.hh();
|
|
2655
2655
|
this.m9_1 = 2;
|
|
2656
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2656
|
+
suspendResult = invoke$logResponseBody(this.fy3_1, this.gy3_1, newChannel, this.hy3_1, this);
|
|
2657
2657
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2658
2658
|
return suspendResult;
|
|
2659
2659
|
}
|
|
2660
2660
|
|
|
2661
2661
|
continue $sm;
|
|
2662
2662
|
case 2:
|
|
2663
|
-
var tmp_0 = this.
|
|
2664
|
-
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.
|
|
2663
|
+
var tmp_0 = this.gy3_1.s4p();
|
|
2664
|
+
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.iy3_1));
|
|
2665
2665
|
return call.a4n();
|
|
2666
2666
|
case 3:
|
|
2667
|
-
return this.
|
|
2667
|
+
return this.gy3_1;
|
|
2668
2668
|
case 4:
|
|
2669
2669
|
throw this.p9_1;
|
|
2670
2670
|
}
|
|
@@ -2758,7 +2758,7 @@ function logHeaders(_this__u8e3s4, headers, sanitizedHeaders) {
|
|
|
2758
2758
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
2759
2759
|
while (_iterator__ex2g4s_0.u()) {
|
|
2760
2760
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
2761
|
-
if (element_0.
|
|
2761
|
+
if (element_0.fxx_1(key)) {
|
|
2762
2762
|
tmp$ret$6 = element_0;
|
|
2763
2763
|
break $l$block;
|
|
2764
2764
|
}
|
|
@@ -2766,7 +2766,7 @@ function logHeaders(_this__u8e3s4, headers, sanitizedHeaders) {
|
|
|
2766
2766
|
tmp$ret$6 = null;
|
|
2767
2767
|
}
|
|
2768
2768
|
var tmp0_safe_receiver = tmp$ret$6;
|
|
2769
|
-
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2769
|
+
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.exx_1;
|
|
2770
2770
|
logHeader(_this__u8e3s4, key, placeholder == null ? joinToString(values, '; ') : placeholder);
|
|
2771
2771
|
}
|
|
2772
2772
|
}
|
|
@@ -2778,7 +2778,7 @@ function logHeader(_this__u8e3s4, key, value) {
|
|
|
2778
2778
|
}
|
|
2779
2779
|
function logResponseHeader(log, response, level, sanitizedHeaders) {
|
|
2780
2780
|
// Inline function 'kotlin.with' call
|
|
2781
|
-
if (level.
|
|
2781
|
+
if (level.lxw_1) {
|
|
2782
2782
|
// Inline function 'kotlin.text.appendLine' call
|
|
2783
2783
|
var value = 'RESPONSE: ' + response.e42().toString();
|
|
2784
2784
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -2792,7 +2792,7 @@ function logResponseHeader(log, response, level, sanitizedHeaders) {
|
|
|
2792
2792
|
// Inline function 'kotlin.text.appendLine' call
|
|
2793
2793
|
log.q(value_1).s(_Char___init__impl__6a9atx(10));
|
|
2794
2794
|
}
|
|
2795
|
-
if (level.
|
|
2795
|
+
if (level.mxw_1) {
|
|
2796
2796
|
// Inline function 'kotlin.text.appendLine' call
|
|
2797
2797
|
var value_2 = 'COMMON HEADERS';
|
|
2798
2798
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -2813,16 +2813,16 @@ function appendResponseBody(_this__u8e3s4, contentType, content, $completion) {
|
|
|
2813
2813
|
return tmp.u9();
|
|
2814
2814
|
}
|
|
2815
2815
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2816
|
-
this.
|
|
2816
|
+
this.xy7_1 = function_0;
|
|
2817
2817
|
}
|
|
2818
2818
|
protoOf(sam$kotlin_Comparator$0).ye = function (a, b) {
|
|
2819
|
-
return this.
|
|
2819
|
+
return this.xy7_1(a, b);
|
|
2820
2820
|
};
|
|
2821
2821
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2822
2822
|
return this.ye(a, b);
|
|
2823
2823
|
};
|
|
2824
2824
|
protoOf(sam$kotlin_Comparator$0).u3 = function () {
|
|
2825
|
-
return this.
|
|
2825
|
+
return this.xy7_1;
|
|
2826
2826
|
};
|
|
2827
2827
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2828
2828
|
var tmp;
|
|
@@ -2850,8 +2850,8 @@ function logHeaders$lambda(a, b) {
|
|
|
2850
2850
|
}
|
|
2851
2851
|
function $logResponseBodyCOROUTINE$_0(_this__u8e3s4, response, resultContinuation) {
|
|
2852
2852
|
CoroutineImpl.call(this, resultContinuation);
|
|
2853
|
-
this.
|
|
2854
|
-
this.
|
|
2853
|
+
this.gy7_1 = _this__u8e3s4;
|
|
2854
|
+
this.hy7_1 = response;
|
|
2855
2855
|
}
|
|
2856
2856
|
protoOf($logResponseBodyCOROUTINE$_0).u9 = function () {
|
|
2857
2857
|
var suspendResult = this.o9_1;
|
|
@@ -2861,14 +2861,14 @@ protoOf($logResponseBodyCOROUTINE$_0).u9 = function () {
|
|
|
2861
2861
|
switch (tmp) {
|
|
2862
2862
|
case 0:
|
|
2863
2863
|
this.n9_1 = 8;
|
|
2864
|
-
this.
|
|
2864
|
+
this.iy7_1 = StringBuilder_init_$Create$();
|
|
2865
2865
|
this.m9_1 = 1;
|
|
2866
2866
|
continue $sm;
|
|
2867
2867
|
case 1:
|
|
2868
2868
|
this.n9_1 = 4;
|
|
2869
2869
|
this.n9_1 = 3;
|
|
2870
2870
|
this.m9_1 = 2;
|
|
2871
|
-
suspendResult = appendResponseBody(this.
|
|
2871
|
+
suspendResult = appendResponseBody(this.iy7_1, contentType(this.hy7_1), this.hy7_1.b4q(), this);
|
|
2872
2872
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2873
2873
|
return suspendResult;
|
|
2874
2874
|
}
|
|
@@ -2892,22 +2892,22 @@ protoOf($logResponseBodyCOROUTINE$_0).u9 = function () {
|
|
|
2892
2892
|
|
|
2893
2893
|
case 4:
|
|
2894
2894
|
this.n9_1 = 8;
|
|
2895
|
-
this.
|
|
2895
|
+
this.jy7_1 = this.p9_1;
|
|
2896
2896
|
this.m9_1 = 5;
|
|
2897
|
-
var this_0 = this.
|
|
2898
|
-
suspendResult = this.
|
|
2897
|
+
var this_0 = this.iy7_1.toString();
|
|
2898
|
+
suspendResult = this.gy7_1.exv(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())), this);
|
|
2899
2899
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2900
2900
|
return suspendResult;
|
|
2901
2901
|
}
|
|
2902
2902
|
|
|
2903
2903
|
continue $sm;
|
|
2904
2904
|
case 5:
|
|
2905
|
-
throw this.
|
|
2905
|
+
throw this.jy7_1;
|
|
2906
2906
|
case 6:
|
|
2907
2907
|
this.n9_1 = 8;
|
|
2908
2908
|
this.m9_1 = 7;
|
|
2909
|
-
var this_1 = this.
|
|
2910
|
-
suspendResult = this.
|
|
2909
|
+
var this_1 = this.iy7_1.toString();
|
|
2910
|
+
suspendResult = this.gy7_1.exv(toString(trim(isCharSequence(this_1) ? this_1 : THROW_CCE())), this);
|
|
2911
2911
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2912
2912
|
return suspendResult;
|
|
2913
2913
|
}
|
|
@@ -2931,9 +2931,9 @@ protoOf($logResponseBodyCOROUTINE$_0).u9 = function () {
|
|
|
2931
2931
|
};
|
|
2932
2932
|
function $appendResponseBodyCOROUTINE$(_this__u8e3s4, contentType, content, resultContinuation) {
|
|
2933
2933
|
CoroutineImpl.call(this, resultContinuation);
|
|
2934
|
-
this.
|
|
2935
|
-
this.
|
|
2936
|
-
this.
|
|
2934
|
+
this.sy7_1 = _this__u8e3s4;
|
|
2935
|
+
this.ty7_1 = contentType;
|
|
2936
|
+
this.uy7_1 = content;
|
|
2937
2937
|
}
|
|
2938
2938
|
protoOf($appendResponseBodyCOROUTINE$).u9 = function () {
|
|
2939
2939
|
var suspendResult = this.o9_1;
|
|
@@ -2943,16 +2943,16 @@ protoOf($appendResponseBodyCOROUTINE$).u9 = function () {
|
|
|
2943
2943
|
switch (tmp) {
|
|
2944
2944
|
case 0:
|
|
2945
2945
|
this.n9_1 = 3;
|
|
2946
|
-
var tmp0 = this.
|
|
2947
|
-
var value = 'BODY Content-Type: ' + toString_0(this.
|
|
2946
|
+
var tmp0 = this.sy7_1;
|
|
2947
|
+
var value = 'BODY Content-Type: ' + toString_0(this.ty7_1);
|
|
2948
2948
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
2949
|
-
var tmp0_0 = this.
|
|
2949
|
+
var tmp0_0 = this.sy7_1;
|
|
2950
2950
|
var value_0 = 'BODY START';
|
|
2951
2951
|
tmp0_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
2952
|
-
var tmp0_1 = this.
|
|
2953
|
-
var tmp0_safe_receiver = this.
|
|
2952
|
+
var tmp0_1 = this.uy7_1;
|
|
2953
|
+
var tmp0_safe_receiver = this.ty7_1;
|
|
2954
2954
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
2955
|
-
this.
|
|
2955
|
+
this.wy7_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().d3b_1 : tmp1_elvis_lhs;
|
|
2956
2956
|
this.n9_1 = 2;
|
|
2957
2957
|
this.m9_1 = 1;
|
|
2958
2958
|
suspendResult = readRemaining(tmp0_1, this);
|
|
@@ -2963,7 +2963,7 @@ protoOf($appendResponseBodyCOROUTINE$).u9 = function () {
|
|
|
2963
2963
|
continue $sm;
|
|
2964
2964
|
case 1:
|
|
2965
2965
|
var ARGUMENT = suspendResult;
|
|
2966
|
-
this.
|
|
2966
|
+
this.vy7_1 = readText(ARGUMENT, this.wy7_1);
|
|
2967
2967
|
this.n9_1 = 3;
|
|
2968
2968
|
this.m9_1 = 4;
|
|
2969
2969
|
continue $sm;
|
|
@@ -2973,7 +2973,7 @@ protoOf($appendResponseBodyCOROUTINE$).u9 = function () {
|
|
|
2973
2973
|
if (tmp_0 instanceof Error) {
|
|
2974
2974
|
var cause = this.p9_1;
|
|
2975
2975
|
var tmp_1 = this;
|
|
2976
|
-
tmp_1.
|
|
2976
|
+
tmp_1.vy7_1 = null;
|
|
2977
2977
|
this.m9_1 = 4;
|
|
2978
2978
|
continue $sm;
|
|
2979
2979
|
} else {
|
|
@@ -2984,10 +2984,10 @@ protoOf($appendResponseBodyCOROUTINE$).u9 = function () {
|
|
|
2984
2984
|
throw this.p9_1;
|
|
2985
2985
|
case 4:
|
|
2986
2986
|
this.n9_1 = 3;
|
|
2987
|
-
var tmp2_elvis_lhs = this.
|
|
2987
|
+
var tmp2_elvis_lhs = this.vy7_1;
|
|
2988
2988
|
var message = tmp2_elvis_lhs == null ? '[response body omitted]' : tmp2_elvis_lhs;
|
|
2989
|
-
this.
|
|
2990
|
-
this.
|
|
2989
|
+
this.sy7_1.q(message).s(_Char___init__impl__6a9atx(10));
|
|
2990
|
+
this.sy7_1.q('BODY END');
|
|
2991
2991
|
return Unit_instance;
|
|
2992
2992
|
}
|
|
2993
2993
|
} catch ($p) {
|
|
@@ -3013,7 +3013,7 @@ function toReadChannel(_this__u8e3s4) {
|
|
|
3013
3013
|
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).g32_1;
|
|
3014
3014
|
}
|
|
3015
3015
|
function toReadChannel$slambda($this_toReadChannel, resultContinuation) {
|
|
3016
|
-
this.
|
|
3016
|
+
this.sy8_1 = $this_toReadChannel;
|
|
3017
3017
|
CoroutineImpl.call(this, resultContinuation);
|
|
3018
3018
|
}
|
|
3019
3019
|
protoOf(toReadChannel$slambda).h49 = function ($this$writer, $completion) {
|
|
@@ -3034,7 +3034,7 @@ protoOf(toReadChannel$slambda).u9 = function () {
|
|
|
3034
3034
|
case 0:
|
|
3035
3035
|
this.n9_1 = 2;
|
|
3036
3036
|
this.m9_1 = 1;
|
|
3037
|
-
suspendResult = this.
|
|
3037
|
+
suspendResult = this.sy8_1.k43(this.ty8_1.x38_1, this);
|
|
3038
3038
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3039
3039
|
return suspendResult;
|
|
3040
3040
|
}
|
|
@@ -3057,8 +3057,8 @@ protoOf(toReadChannel$slambda).u9 = function () {
|
|
|
3057
3057
|
while (true);
|
|
3058
3058
|
};
|
|
3059
3059
|
protoOf(toReadChannel$slambda).i49 = function ($this$writer, completion) {
|
|
3060
|
-
var i = new toReadChannel$slambda(this.
|
|
3061
|
-
i.
|
|
3060
|
+
var i = new toReadChannel$slambda(this.sy8_1, completion);
|
|
3061
|
+
i.ty8_1 = $this$writer;
|
|
3062
3062
|
return i;
|
|
3063
3063
|
};
|
|
3064
3064
|
function toReadChannel$slambda_0($this_toReadChannel, resultContinuation) {
|
|
@@ -3069,8 +3069,8 @@ function toReadChannel$slambda_0($this_toReadChannel, resultContinuation) {
|
|
|
3069
3069
|
}
|
|
3070
3070
|
function $observeCOROUTINE$(_this__u8e3s4, log, resultContinuation) {
|
|
3071
3071
|
CoroutineImpl.call(this, resultContinuation);
|
|
3072
|
-
this.
|
|
3073
|
-
this.
|
|
3072
|
+
this.gy8_1 = _this__u8e3s4;
|
|
3073
|
+
this.hy8_1 = log;
|
|
3074
3074
|
}
|
|
3075
3075
|
protoOf($observeCOROUTINE$).u9 = function () {
|
|
3076
3076
|
var suspendResult = this.o9_1;
|
|
@@ -3080,10 +3080,10 @@ protoOf($observeCOROUTINE$).u9 = function () {
|
|
|
3080
3080
|
switch (tmp) {
|
|
3081
3081
|
case 0:
|
|
3082
3082
|
this.n9_1 = 6;
|
|
3083
|
-
var tmp0_subject = this.
|
|
3083
|
+
var tmp0_subject = this.gy8_1;
|
|
3084
3084
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
3085
3085
|
this.m9_1 = 3;
|
|
3086
|
-
suspendResult = writeFully_0(this.
|
|
3086
|
+
suspendResult = writeFully_0(this.hy8_1, this.gy8_1.g42(), VOID, VOID, this);
|
|
3087
3087
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3088
3088
|
return suspendResult;
|
|
3089
3089
|
}
|
|
@@ -3092,25 +3092,25 @@ protoOf($observeCOROUTINE$).u9 = function () {
|
|
|
3092
3092
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
3093
3093
|
var tmp_0 = this;
|
|
3094
3094
|
var responseChannel = new ByteChannel();
|
|
3095
|
-
var content = this.
|
|
3096
|
-
copyToBoth(content, this.
|
|
3097
|
-
tmp_0.
|
|
3095
|
+
var content = this.gy8_1.r42();
|
|
3096
|
+
copyToBoth(content, this.hy8_1, responseChannel);
|
|
3097
|
+
tmp_0.iy8_1 = new LoggedContent(this.gy8_1, responseChannel);
|
|
3098
3098
|
this.m9_1 = 5;
|
|
3099
3099
|
continue $sm;
|
|
3100
3100
|
} else {
|
|
3101
3101
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
3102
3102
|
var tmp_1 = this;
|
|
3103
3103
|
var responseChannel_0 = new ByteChannel();
|
|
3104
|
-
var content_0 = toReadChannel(this.
|
|
3105
|
-
copyToBoth(content_0, this.
|
|
3106
|
-
tmp_1.
|
|
3104
|
+
var content_0 = toReadChannel(this.gy8_1);
|
|
3105
|
+
copyToBoth(content_0, this.hy8_1, responseChannel_0);
|
|
3106
|
+
tmp_1.iy8_1 = new LoggedContent(this.gy8_1, responseChannel_0);
|
|
3107
3107
|
this.m9_1 = 5;
|
|
3108
3108
|
continue $sm;
|
|
3109
3109
|
} else {
|
|
3110
3110
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
3111
|
-
this.
|
|
3111
|
+
this.jy8_1 = this.gy8_1;
|
|
3112
3112
|
this.m9_1 = 2;
|
|
3113
|
-
suspendResult = observe(this.
|
|
3113
|
+
suspendResult = observe(this.gy8_1.k42(), this.hy8_1, this);
|
|
3114
3114
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3115
3115
|
return suspendResult;
|
|
3116
3116
|
}
|
|
@@ -3124,7 +3124,7 @@ protoOf($observeCOROUTINE$).u9 = function () {
|
|
|
3124
3124
|
}
|
|
3125
3125
|
if (tmp_2) {
|
|
3126
3126
|
this.m9_1 = 1;
|
|
3127
|
-
suspendResult = this.
|
|
3127
|
+
suspendResult = this.hy8_1.n30(this);
|
|
3128
3128
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3129
3129
|
return suspendResult;
|
|
3130
3130
|
}
|
|
@@ -3140,28 +3140,28 @@ protoOf($observeCOROUTINE$).u9 = function () {
|
|
|
3140
3140
|
|
|
3141
3141
|
break;
|
|
3142
3142
|
case 1:
|
|
3143
|
-
this.
|
|
3143
|
+
this.iy8_1 = this.gy8_1;
|
|
3144
3144
|
this.m9_1 = 5;
|
|
3145
3145
|
continue $sm;
|
|
3146
3146
|
case 2:
|
|
3147
3147
|
var ARGUMENT = suspendResult;
|
|
3148
|
-
this.
|
|
3148
|
+
this.iy8_1 = this.jy8_1.n43(ARGUMENT);
|
|
3149
3149
|
this.m9_1 = 5;
|
|
3150
3150
|
continue $sm;
|
|
3151
3151
|
case 3:
|
|
3152
3152
|
this.m9_1 = 4;
|
|
3153
|
-
suspendResult = this.
|
|
3153
|
+
suspendResult = this.hy8_1.n30(this);
|
|
3154
3154
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3155
3155
|
return suspendResult;
|
|
3156
3156
|
}
|
|
3157
3157
|
|
|
3158
3158
|
continue $sm;
|
|
3159
3159
|
case 4:
|
|
3160
|
-
this.
|
|
3160
|
+
this.iy8_1 = this.gy8_1;
|
|
3161
3161
|
this.m9_1 = 5;
|
|
3162
3162
|
continue $sm;
|
|
3163
3163
|
case 5:
|
|
3164
|
-
return this.
|
|
3164
|
+
return this.iy8_1;
|
|
3165
3165
|
case 6:
|
|
3166
3166
|
throw this.p9_1;
|
|
3167
3167
|
}
|
|
@@ -3201,9 +3201,9 @@ function get_DEFAULT(_this__u8e3s4) {
|
|
|
3201
3201
|
return get_SIMPLE(_this__u8e3s4);
|
|
3202
3202
|
}
|
|
3203
3203
|
//region block: post-declaration
|
|
3204
|
-
protoOf(Empty).
|
|
3205
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
3206
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
3204
|
+
protoOf(Empty).kxv = get_byteSize;
|
|
3205
|
+
protoOf(BinaryLogBodyFilter$1).hxv = filterRequest;
|
|
3206
|
+
protoOf(BinaryLogBodyFilter$1).jxv = filterResponse;
|
|
3207
3207
|
protoOf(MDCContextElement).z9 = get;
|
|
3208
3208
|
protoOf(MDCContextElement).hk = fold;
|
|
3209
3209
|
protoOf(MDCContextElement).gk = minusKey;
|