@solibo/solibo-sdk 1.1.45 → 1.1.46
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 +76 -76
- package/KotlinBigInteger-bignum.mjs +1104 -1104
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +4 -4
- package/cryptography-kotlin-cryptography-bigint.mjs +27 -27
- package/cryptography-kotlin-cryptography-core.mjs +47 -47
- package/cryptography-kotlin-cryptography-provider-base.mjs +4 -4
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +135 -135
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +112 -112
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +240 -240
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/kotlin-kotlin-stdlib.mjs +4 -4
- package/ktor-ktor-client-auth.mjs +224 -224
- package/ktor-ktor-client-logging.mjs +516 -516
- package/ktor-ktor-client-mock.mjs +39 -39
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +12811 -12885
- package/solibo-sdk-sdk-home-api.mjs.map +1 -1
- package/solibo-sdk-sdk.d.mts +1 -5
- package/solibo-sdk-sdk.mjs +2349 -2349
|
@@ -129,10 +129,10 @@ initMetadataForCoroutine($logResponseBodyCOROUTINE$, CoroutineImpl);
|
|
|
129
129
|
initMetadataForCoroutine($closeResponseLogCOROUTINE$, CoroutineImpl);
|
|
130
130
|
initMetadataForClass(HttpClientCallLogger, 'HttpClientCallLogger', VOID, VOID, VOID, [1, 0]);
|
|
131
131
|
function filterRequest(url, contentLength, contentType, headers, body, $completion) {
|
|
132
|
-
return this.
|
|
132
|
+
return this.ook(contentLength, contentType, headers, body, $completion);
|
|
133
133
|
}
|
|
134
134
|
function filterResponse(url, contentLength, contentType, headers, body, $completion) {
|
|
135
|
-
return this.
|
|
135
|
+
return this.ook(contentLength, contentType, headers, body, $completion);
|
|
136
136
|
}
|
|
137
137
|
initMetadataForInterface(CommonLogBodyFilter, 'CommonLogBodyFilter', VOID, VOID, VOID, [5, 4]);
|
|
138
138
|
function get_byteSize() {
|
|
@@ -186,8 +186,8 @@ initMetadataForObject(MDCContextElement, 'MDCContextElement', VOID, VOID, [Eleme
|
|
|
186
186
|
//endregion
|
|
187
187
|
function $logResponseExceptionCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
188
188
|
CoroutineImpl.call(this, resultContinuation);
|
|
189
|
-
this.
|
|
190
|
-
this.
|
|
189
|
+
this.eoj_1 = _this__u8e3s4;
|
|
190
|
+
this.foj_1 = message;
|
|
191
191
|
}
|
|
192
192
|
protoOf($logResponseExceptionCOROUTINE$).t9 = function () {
|
|
193
193
|
var suspendResult = this.n9_1;
|
|
@@ -198,15 +198,15 @@ protoOf($logResponseExceptionCOROUTINE$).t9 = function () {
|
|
|
198
198
|
case 0:
|
|
199
199
|
this.m9_1 = 2;
|
|
200
200
|
this.l9_1 = 1;
|
|
201
|
-
suspendResult = this.
|
|
201
|
+
suspendResult = this.eoj_1.joj_1.o28(this);
|
|
202
202
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
203
203
|
return suspendResult;
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
continue $sm;
|
|
207
207
|
case 1:
|
|
208
|
-
var this_0 = this.
|
|
209
|
-
this.goj_1.
|
|
208
|
+
var this_0 = this.foj_1;
|
|
209
|
+
this.eoj_1.goj_1.noj(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())));
|
|
210
210
|
return Unit_instance;
|
|
211
211
|
case 2:
|
|
212
212
|
throw this.o9_1;
|
|
@@ -224,8 +224,8 @@ protoOf($logResponseExceptionCOROUTINE$).t9 = function () {
|
|
|
224
224
|
};
|
|
225
225
|
function $logResponseBodyCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
226
226
|
CoroutineImpl.call(this, resultContinuation);
|
|
227
|
-
this.
|
|
228
|
-
this.
|
|
227
|
+
this.woj_1 = _this__u8e3s4;
|
|
228
|
+
this.xoj_1 = message;
|
|
229
229
|
}
|
|
230
230
|
protoOf($logResponseBodyCOROUTINE$).t9 = function () {
|
|
231
231
|
var suspendResult = this.n9_1;
|
|
@@ -236,14 +236,14 @@ protoOf($logResponseBodyCOROUTINE$).t9 = function () {
|
|
|
236
236
|
case 0:
|
|
237
237
|
this.m9_1 = 2;
|
|
238
238
|
this.l9_1 = 1;
|
|
239
|
-
suspendResult = this.
|
|
239
|
+
suspendResult = this.woj_1.koj_1.o28(this);
|
|
240
240
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
241
241
|
return suspendResult;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
continue $sm;
|
|
245
245
|
case 1:
|
|
246
|
-
this.
|
|
246
|
+
this.woj_1.ioj_1.q(this.xoj_1);
|
|
247
247
|
return Unit_instance;
|
|
248
248
|
case 2:
|
|
249
249
|
throw this.o9_1;
|
|
@@ -261,7 +261,7 @@ protoOf($logResponseBodyCOROUTINE$).t9 = function () {
|
|
|
261
261
|
};
|
|
262
262
|
function $closeResponseLogCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
263
263
|
CoroutineImpl.call(this, resultContinuation);
|
|
264
|
-
this.
|
|
264
|
+
this.gok_1 = _this__u8e3s4;
|
|
265
265
|
}
|
|
266
266
|
protoOf($closeResponseLogCOROUTINE$).t9 = function () {
|
|
267
267
|
var suspendResult = this.n9_1;
|
|
@@ -271,19 +271,19 @@ protoOf($closeResponseLogCOROUTINE$).t9 = function () {
|
|
|
271
271
|
switch (tmp) {
|
|
272
272
|
case 0:
|
|
273
273
|
this.m9_1 = 2;
|
|
274
|
-
if (!this.
|
|
274
|
+
if (!this.gok_1.moj_1.atomicfu$compareAndSet(false, true))
|
|
275
275
|
return Unit_instance;
|
|
276
276
|
this.l9_1 = 1;
|
|
277
|
-
suspendResult = this.
|
|
277
|
+
suspendResult = this.gok_1.joj_1.o28(this);
|
|
278
278
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
279
279
|
return suspendResult;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
282
|
continue $sm;
|
|
283
283
|
case 1:
|
|
284
|
-
var message = toString(trim(this.
|
|
284
|
+
var message = toString(trim(this.gok_1.ioj_1));
|
|
285
285
|
if (charSequenceLength(message) > 0) {
|
|
286
|
-
this.
|
|
286
|
+
this.gok_1.goj_1.noj(message);
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
return Unit_instance;
|
|
@@ -302,57 +302,57 @@ protoOf($closeResponseLogCOROUTINE$).t9 = function () {
|
|
|
302
302
|
while (true);
|
|
303
303
|
};
|
|
304
304
|
function HttpClientCallLogger(logger) {
|
|
305
|
-
this.
|
|
306
|
-
this.
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
}
|
|
313
|
-
protoOf(HttpClientCallLogger).
|
|
314
|
-
var tmp0 = this.
|
|
305
|
+
this.goj_1 = logger;
|
|
306
|
+
this.hoj_1 = StringBuilder_init_$Create$();
|
|
307
|
+
this.ioj_1 = StringBuilder_init_$Create$();
|
|
308
|
+
this.joj_1 = Job();
|
|
309
|
+
this.koj_1 = Job();
|
|
310
|
+
this.loj_1 = atomic$boolean$1(false);
|
|
311
|
+
this.moj_1 = atomic$boolean$1(false);
|
|
312
|
+
}
|
|
313
|
+
protoOf(HttpClientCallLogger).hok = function (message) {
|
|
314
|
+
var tmp0 = this.hoj_1;
|
|
315
315
|
// Inline function 'kotlin.text.trim' call
|
|
316
316
|
// Inline function 'kotlin.text.appendLine' call
|
|
317
317
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
318
318
|
// Inline function 'kotlin.text.appendLine' call
|
|
319
319
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
320
320
|
};
|
|
321
|
-
protoOf(HttpClientCallLogger).
|
|
322
|
-
var tmp0 = this.
|
|
321
|
+
protoOf(HttpClientCallLogger).iok = function (message) {
|
|
322
|
+
var tmp0 = this.ioj_1;
|
|
323
323
|
// Inline function 'kotlin.text.trim' call
|
|
324
324
|
// Inline function 'kotlin.text.appendLine' call
|
|
325
325
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
326
326
|
// Inline function 'kotlin.text.appendLine' call
|
|
327
327
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
328
|
-
this.
|
|
328
|
+
this.koj_1.p2f();
|
|
329
329
|
};
|
|
330
|
-
protoOf(HttpClientCallLogger).
|
|
330
|
+
protoOf(HttpClientCallLogger).jok = function (message, $completion) {
|
|
331
331
|
var tmp = new $logResponseExceptionCOROUTINE$(this, message, $completion);
|
|
332
332
|
tmp.n9_1 = Unit_instance;
|
|
333
333
|
tmp.o9_1 = null;
|
|
334
334
|
return tmp.t9();
|
|
335
335
|
};
|
|
336
|
-
protoOf(HttpClientCallLogger).
|
|
336
|
+
protoOf(HttpClientCallLogger).kok = function (message, $completion) {
|
|
337
337
|
var tmp = new $logResponseBodyCOROUTINE$(this, message, $completion);
|
|
338
338
|
tmp.n9_1 = Unit_instance;
|
|
339
339
|
tmp.o9_1 = null;
|
|
340
340
|
return tmp.t9();
|
|
341
341
|
};
|
|
342
|
-
protoOf(HttpClientCallLogger).
|
|
343
|
-
if (!this.
|
|
342
|
+
protoOf(HttpClientCallLogger).lok = function () {
|
|
343
|
+
if (!this.loj_1.atomicfu$compareAndSet(false, true))
|
|
344
344
|
return Unit_instance;
|
|
345
345
|
try {
|
|
346
|
-
var message = toString(trim(this.
|
|
346
|
+
var message = toString(trim(this.hoj_1));
|
|
347
347
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
348
348
|
if (charSequenceLength(message) > 0) {
|
|
349
|
-
this.
|
|
349
|
+
this.goj_1.noj(message);
|
|
350
350
|
}
|
|
351
351
|
}finally {
|
|
352
|
-
this.
|
|
352
|
+
this.joj_1.p2f();
|
|
353
353
|
}
|
|
354
354
|
};
|
|
355
|
-
protoOf(HttpClientCallLogger).
|
|
355
|
+
protoOf(HttpClientCallLogger).mok = function ($completion) {
|
|
356
356
|
var tmp = new $closeResponseLogCOROUTINE$(this, $completion);
|
|
357
357
|
tmp.n9_1 = Unit_instance;
|
|
358
358
|
tmp.o9_1 = null;
|
|
@@ -374,35 +374,35 @@ function Empty_getInstance() {
|
|
|
374
374
|
function Skip(reason, byteSize) {
|
|
375
375
|
reason = reason === VOID ? null : reason;
|
|
376
376
|
byteSize = byteSize === VOID ? null : byteSize;
|
|
377
|
-
this.
|
|
378
|
-
this.
|
|
377
|
+
this.rok_1 = reason;
|
|
378
|
+
this.sok_1 = byteSize;
|
|
379
379
|
}
|
|
380
|
-
protoOf(Skip).
|
|
381
|
-
return this.
|
|
380
|
+
protoOf(Skip).qok = function () {
|
|
381
|
+
return this.sok_1;
|
|
382
382
|
};
|
|
383
383
|
function Content() {
|
|
384
384
|
}
|
|
385
385
|
function BufferContent(buffer, charset, byteSize) {
|
|
386
386
|
byteSize = byteSize === VOID ? buffer.g1() : byteSize;
|
|
387
|
-
this.
|
|
388
|
-
this.
|
|
389
|
-
this.
|
|
387
|
+
this.tok_1 = buffer;
|
|
388
|
+
this.uok_1 = charset;
|
|
389
|
+
this.vok_1 = byteSize;
|
|
390
390
|
}
|
|
391
|
-
protoOf(BufferContent).
|
|
392
|
-
return this.
|
|
391
|
+
protoOf(BufferContent).qok = function () {
|
|
392
|
+
return this.vok_1;
|
|
393
393
|
};
|
|
394
394
|
protoOf(BufferContent).s1k = function () {
|
|
395
|
-
return readText(this.
|
|
395
|
+
return readText(this.tok_1, this.uok_1);
|
|
396
396
|
};
|
|
397
397
|
function BodyFilterResult() {
|
|
398
398
|
}
|
|
399
399
|
function $filterAllCOROUTINE$(_this__u8e3s4, contentLength, contentType, headers, body, resultContinuation) {
|
|
400
400
|
CoroutineImpl.call(this, resultContinuation);
|
|
401
|
-
this.
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
404
|
-
this.
|
|
405
|
-
this.
|
|
401
|
+
this.eol_1 = _this__u8e3s4;
|
|
402
|
+
this.fol_1 = contentLength;
|
|
403
|
+
this.gol_1 = contentType;
|
|
404
|
+
this.hol_1 = headers;
|
|
405
|
+
this.iol_1 = body;
|
|
406
406
|
}
|
|
407
407
|
protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
408
408
|
var suspendResult = this.n9_1;
|
|
@@ -412,13 +412,13 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
412
412
|
switch (tmp) {
|
|
413
413
|
case 0:
|
|
414
414
|
this.m9_1 = 6;
|
|
415
|
-
if (this.
|
|
416
|
-
return new Skip('encoded', this.
|
|
415
|
+
if (this.hol_1.g3i('Content-Encoding')) {
|
|
416
|
+
return new Skip('encoded', this.fol_1);
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
if (!(this.
|
|
419
|
+
if (!(this.gol_1 == null) && isTextType(this.gol_1)) {
|
|
420
420
|
this.l9_1 = 5;
|
|
421
|
-
suspendResult = readBuffer(this.
|
|
421
|
+
suspendResult = readBuffer(this.iol_1, this);
|
|
422
422
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
423
423
|
return suspendResult;
|
|
424
424
|
}
|
|
@@ -431,18 +431,18 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
431
431
|
case 1:
|
|
432
432
|
var tmp_0 = this;
|
|
433
433
|
var tmp_1;
|
|
434
|
-
if (!(this.
|
|
435
|
-
var tmp1_elvis_lhs = charset(this.
|
|
434
|
+
if (!(this.gol_1 == null)) {
|
|
435
|
+
var tmp1_elvis_lhs = charset(this.gol_1);
|
|
436
436
|
tmp_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().d3d_1 : tmp1_elvis_lhs;
|
|
437
437
|
} else {
|
|
438
438
|
tmp_1 = Charsets_getInstance().d3d_1;
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
tmp_0.
|
|
442
|
-
this.
|
|
443
|
-
this.
|
|
441
|
+
tmp_0.ool_1 = tmp_1;
|
|
442
|
+
this.nol_1 = false;
|
|
443
|
+
this.mol_1 = new Int8Array(1024);
|
|
444
444
|
this.l9_1 = 2;
|
|
445
|
-
suspendResult = readAvailable(this.
|
|
445
|
+
suspendResult = readAvailable(this.iol_1, this.mol_1, VOID, VOID, this);
|
|
446
446
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
447
447
|
return suspendResult;
|
|
448
448
|
}
|
|
@@ -455,16 +455,16 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
455
455
|
}
|
|
456
456
|
|
|
457
457
|
var this_0 = new Buffer();
|
|
458
|
-
writeFully(this_0, this.
|
|
458
|
+
writeFully(this_0, this.mol_1, 0, firstReadSize);
|
|
459
459
|
var buffer = this_0;
|
|
460
460
|
var tmp_2;
|
|
461
461
|
try {
|
|
462
|
-
tmp_2 = decode(this.
|
|
462
|
+
tmp_2 = decode(this.ool_1.g3d(), buffer);
|
|
463
463
|
} catch ($p) {
|
|
464
464
|
var tmp_3;
|
|
465
465
|
if ($p instanceof MalformedInputException) {
|
|
466
466
|
var _unused_var__etf5q3 = $p;
|
|
467
|
-
this.
|
|
467
|
+
this.nol_1 = true;
|
|
468
468
|
tmp_3 = '';
|
|
469
469
|
} else {
|
|
470
470
|
throw $p;
|
|
@@ -473,7 +473,7 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
473
473
|
}
|
|
474
474
|
|
|
475
475
|
var firstChunkText = tmp_2;
|
|
476
|
-
if (!this.
|
|
476
|
+
if (!this.nol_1) {
|
|
477
477
|
var lastCharIndex = -1;
|
|
478
478
|
var inductionVariable = 0;
|
|
479
479
|
var last = firstChunkText.length;
|
|
@@ -489,23 +489,23 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
489
489
|
var ch_0 = charCodeAt(firstChunkText, inductionVariable_0);
|
|
490
490
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
491
491
|
if (ch_0 === _Char___init__impl__6a9atx(65533) && !(i === lastCharIndex)) {
|
|
492
|
-
this.
|
|
492
|
+
this.nol_1 = true;
|
|
493
493
|
break $l$loop;
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
-
if (this.
|
|
498
|
+
if (this.nol_1) {
|
|
499
499
|
var tmp_4 = this;
|
|
500
|
-
tmp_4.
|
|
500
|
+
tmp_4.jol_1 = new Skip('binary', this.fol_1);
|
|
501
501
|
this.l9_1 = 4;
|
|
502
502
|
continue $sm;
|
|
503
503
|
} else {
|
|
504
|
-
this.
|
|
505
|
-
this.
|
|
506
|
-
writeFully(this.
|
|
504
|
+
this.kol_1 = new Buffer();
|
|
505
|
+
this.lol_1 = this.kol_1;
|
|
506
|
+
writeFully(this.lol_1, this.mol_1, 0, firstReadSize);
|
|
507
507
|
this.l9_1 = 3;
|
|
508
|
-
suspendResult = readBuffer(this.
|
|
508
|
+
suspendResult = readBuffer(this.iol_1, this);
|
|
509
509
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
510
510
|
return suspendResult;
|
|
511
511
|
}
|
|
@@ -514,19 +514,19 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
514
514
|
|
|
515
515
|
case 3:
|
|
516
516
|
var ARGUMENT = suspendResult;
|
|
517
|
-
this.
|
|
518
|
-
var ARGUMENT_0 = this.
|
|
517
|
+
this.lol_1.e2z(ARGUMENT);
|
|
518
|
+
var ARGUMENT_0 = this.kol_1;
|
|
519
519
|
var tmp_5 = this;
|
|
520
|
-
var tmp2_safe_receiver = this.
|
|
520
|
+
var tmp2_safe_receiver = this.gol_1;
|
|
521
521
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : charset(tmp2_safe_receiver);
|
|
522
|
-
tmp_5.
|
|
522
|
+
tmp_5.jol_1 = new BufferContent(ARGUMENT_0, tmp3_elvis_lhs == null ? Charsets_getInstance().d3d_1 : tmp3_elvis_lhs);
|
|
523
523
|
this.l9_1 = 4;
|
|
524
524
|
continue $sm;
|
|
525
525
|
case 4:
|
|
526
|
-
return this.
|
|
526
|
+
return this.jol_1;
|
|
527
527
|
case 5:
|
|
528
528
|
var ARGUMENT_1 = suspendResult;
|
|
529
|
-
var tmp0_elvis_lhs = charset(this.
|
|
529
|
+
var tmp0_elvis_lhs = charset(this.gol_1);
|
|
530
530
|
return new BufferContent(ARGUMENT_1, tmp0_elvis_lhs == null ? Charsets_getInstance().d3d_1 : tmp0_elvis_lhs);
|
|
531
531
|
case 6:
|
|
532
532
|
throw this.o9_1;
|
|
@@ -544,7 +544,7 @@ protoOf($filterAllCOROUTINE$).t9 = function () {
|
|
|
544
544
|
};
|
|
545
545
|
function BinaryLogBodyFilter$1() {
|
|
546
546
|
}
|
|
547
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
547
|
+
protoOf(BinaryLogBodyFilter$1).ook = function (contentLength, contentType, headers, body, $completion) {
|
|
548
548
|
var tmp = new $filterAllCOROUTINE$(this, contentLength, contentType, headers, body, $completion);
|
|
549
549
|
tmp.n9_1 = Unit_instance;
|
|
550
550
|
tmp.o9_1 = null;
|
|
@@ -575,9 +575,9 @@ function LogLevel_initEntries() {
|
|
|
575
575
|
}
|
|
576
576
|
function LogLevel(name, ordinal, info, headers, body) {
|
|
577
577
|
Enum.call(this, name, ordinal);
|
|
578
|
-
this.
|
|
579
|
-
this.
|
|
580
|
-
this.
|
|
578
|
+
this.rol_1 = info;
|
|
579
|
+
this.sol_1 = headers;
|
|
580
|
+
this.tol_1 = body;
|
|
581
581
|
}
|
|
582
582
|
function LogLevel_ALL_getInstance() {
|
|
583
583
|
LogLevel_initEntries();
|
|
@@ -601,27 +601,27 @@ function LogLevel_NONE_getInstance() {
|
|
|
601
601
|
}
|
|
602
602
|
function LoggedContent(originalContent, channel) {
|
|
603
603
|
ReadChannelContent.call(this);
|
|
604
|
-
this.
|
|
605
|
-
this.
|
|
606
|
-
this.
|
|
607
|
-
this.
|
|
608
|
-
this.
|
|
609
|
-
this.
|
|
604
|
+
this.vol_1 = originalContent;
|
|
605
|
+
this.wol_1 = channel;
|
|
606
|
+
this.xol_1 = this.vol_1.s41();
|
|
607
|
+
this.yol_1 = this.vol_1.u41();
|
|
608
|
+
this.zol_1 = this.vol_1.t41();
|
|
609
|
+
this.aom_1 = this.vol_1.t3v();
|
|
610
610
|
}
|
|
611
611
|
protoOf(LoggedContent).s41 = function () {
|
|
612
|
-
return this.
|
|
612
|
+
return this.xol_1;
|
|
613
613
|
};
|
|
614
614
|
protoOf(LoggedContent).u41 = function () {
|
|
615
|
-
return this.
|
|
615
|
+
return this.yol_1;
|
|
616
616
|
};
|
|
617
617
|
protoOf(LoggedContent).t41 = function () {
|
|
618
|
-
return this.
|
|
618
|
+
return this.zol_1;
|
|
619
619
|
};
|
|
620
620
|
protoOf(LoggedContent).t3v = function () {
|
|
621
|
-
return this.
|
|
621
|
+
return this.aom_1;
|
|
622
622
|
};
|
|
623
623
|
protoOf(LoggedContent).y41 = function () {
|
|
624
|
-
return this.
|
|
624
|
+
return this.wol_1;
|
|
625
625
|
};
|
|
626
626
|
function Companion() {
|
|
627
627
|
}
|
|
@@ -634,7 +634,7 @@ function get_SIMPLE(_this__u8e3s4) {
|
|
|
634
634
|
}
|
|
635
635
|
function SimpleLogger() {
|
|
636
636
|
}
|
|
637
|
-
protoOf(SimpleLogger).
|
|
637
|
+
protoOf(SimpleLogger).noj = function (message) {
|
|
638
638
|
println('HttpClient: ' + message);
|
|
639
639
|
};
|
|
640
640
|
var SimpleLogger_instance;
|
|
@@ -659,36 +659,36 @@ var Logging;
|
|
|
659
659
|
function LoggingConfig() {
|
|
660
660
|
var tmp = this;
|
|
661
661
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
662
|
-
tmp.
|
|
662
|
+
tmp.bom_1 = ArrayList_init_$Create$();
|
|
663
663
|
var tmp_0 = this;
|
|
664
664
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
665
|
-
tmp_0.
|
|
666
|
-
this.
|
|
667
|
-
this.
|
|
668
|
-
this.
|
|
669
|
-
this.
|
|
670
|
-
}
|
|
671
|
-
protoOf(LoggingConfig).
|
|
672
|
-
var tmp0_elvis_lhs = this.
|
|
665
|
+
tmp_0.com_1 = ArrayList_init_$Create$();
|
|
666
|
+
this.dom_1 = null;
|
|
667
|
+
this.eom_1 = LoggingFormat_Default_getInstance();
|
|
668
|
+
this.fom_1 = LogLevel_HEADERS_getInstance();
|
|
669
|
+
this.gom_1 = get_BinaryLogBodyFilter();
|
|
670
|
+
}
|
|
671
|
+
protoOf(LoggingConfig).hom = function () {
|
|
672
|
+
var tmp0_elvis_lhs = this.dom_1;
|
|
673
673
|
return tmp0_elvis_lhs == null ? get_DEFAULT(Companion_instance) : tmp0_elvis_lhs;
|
|
674
674
|
};
|
|
675
|
-
protoOf(LoggingConfig).
|
|
676
|
-
this.
|
|
675
|
+
protoOf(LoggingConfig).iom = function (placeholder, predicate) {
|
|
676
|
+
this.com_1.e1(new SanitizedHeader(placeholder, predicate));
|
|
677
677
|
};
|
|
678
|
-
protoOf(LoggingConfig).
|
|
678
|
+
protoOf(LoggingConfig).jom = function (placeholder, predicate, $super) {
|
|
679
679
|
placeholder = placeholder === VOID ? '***' : placeholder;
|
|
680
680
|
var tmp;
|
|
681
681
|
if ($super === VOID) {
|
|
682
|
-
this.
|
|
682
|
+
this.iom(placeholder, predicate);
|
|
683
683
|
tmp = Unit_instance;
|
|
684
684
|
} else {
|
|
685
|
-
tmp = $super.
|
|
685
|
+
tmp = $super.iom.call(this, placeholder, predicate);
|
|
686
686
|
}
|
|
687
687
|
return tmp;
|
|
688
688
|
};
|
|
689
689
|
function SanitizedHeader(placeholder, predicate) {
|
|
690
|
-
this.
|
|
691
|
-
this.
|
|
690
|
+
this.kom_1 = placeholder;
|
|
691
|
+
this.lom_1 = predicate;
|
|
692
692
|
}
|
|
693
693
|
var LoggingFormat_Default_instance;
|
|
694
694
|
var LoggingFormat_OkHttp_instance;
|
|
@@ -751,16 +751,16 @@ function computeRequestBodySize(content) {
|
|
|
751
751
|
return tmp;
|
|
752
752
|
}
|
|
753
753
|
function Context(context) {
|
|
754
|
-
this.
|
|
754
|
+
this.mom_1 = context;
|
|
755
755
|
}
|
|
756
|
-
protoOf(Context).
|
|
757
|
-
return this.
|
|
756
|
+
protoOf(Context).nom = function (content, $completion) {
|
|
757
|
+
return this.mom_1.w3l(content, $completion);
|
|
758
758
|
};
|
|
759
|
-
protoOf(Context).
|
|
760
|
-
return this.
|
|
759
|
+
protoOf(Context).oom = function ($completion) {
|
|
760
|
+
return this.mom_1.x3l($completion);
|
|
761
761
|
};
|
|
762
762
|
function SendHook$install$slambda($handler, resultContinuation) {
|
|
763
|
-
this.
|
|
763
|
+
this.xom_1 = $handler;
|
|
764
764
|
CoroutineImpl.call(this, resultContinuation);
|
|
765
765
|
}
|
|
766
766
|
protoOf(SendHook$install$slambda).w4k = function ($this$intercept, it, $completion) {
|
|
@@ -782,7 +782,7 @@ protoOf(SendHook$install$slambda).t9 = function () {
|
|
|
782
782
|
case 0:
|
|
783
783
|
this.m9_1 = 2;
|
|
784
784
|
this.l9_1 = 1;
|
|
785
|
-
suspendResult = this.
|
|
785
|
+
suspendResult = this.xom_1(new Context(this.yom_1), this.yom_1.s3m_1, this);
|
|
786
786
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
787
787
|
return suspendResult;
|
|
788
788
|
}
|
|
@@ -805,9 +805,9 @@ protoOf(SendHook$install$slambda).t9 = function () {
|
|
|
805
805
|
while (true);
|
|
806
806
|
};
|
|
807
807
|
protoOf(SendHook$install$slambda).x4k = function ($this$intercept, it, completion) {
|
|
808
|
-
var i = new SendHook$install$slambda(this.
|
|
809
|
-
i.
|
|
810
|
-
i.
|
|
808
|
+
var i = new SendHook$install$slambda(this.xom_1, completion);
|
|
809
|
+
i.yom_1 = $this$intercept;
|
|
810
|
+
i.zom_1 = it;
|
|
811
811
|
return i;
|
|
812
812
|
};
|
|
813
813
|
function SendHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -820,25 +820,25 @@ function SendHook$install$slambda_0($handler, resultContinuation) {
|
|
|
820
820
|
}
|
|
821
821
|
function SendHook() {
|
|
822
822
|
}
|
|
823
|
-
protoOf(SendHook).
|
|
823
|
+
protoOf(SendHook).aon = function (client, handler) {
|
|
824
824
|
var tmp = Phases_getInstance().n4m_1;
|
|
825
825
|
client.f4k_1.w3m(tmp, SendHook$install$slambda_0(handler, null));
|
|
826
826
|
};
|
|
827
827
|
protoOf(SendHook).y4t = function (client, handler) {
|
|
828
|
-
return this.
|
|
828
|
+
return this.aon(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
829
829
|
};
|
|
830
830
|
var SendHook_instance;
|
|
831
831
|
function SendHook_getInstance() {
|
|
832
832
|
return SendHook_instance;
|
|
833
833
|
}
|
|
834
834
|
function Context_0(context) {
|
|
835
|
-
this.
|
|
835
|
+
this.bon_1 = context;
|
|
836
836
|
}
|
|
837
837
|
protoOf(Context_0).f5x = function (response, $completion) {
|
|
838
|
-
return this.
|
|
838
|
+
return this.bon_1.w3l(response, $completion);
|
|
839
839
|
};
|
|
840
840
|
function ResponseAfterEncodingHook$install$slambda($handler, resultContinuation) {
|
|
841
|
-
this.
|
|
841
|
+
this.kon_1 = $handler;
|
|
842
842
|
CoroutineImpl.call(this, resultContinuation);
|
|
843
843
|
}
|
|
844
844
|
protoOf(ResponseAfterEncodingHook$install$slambda).k4u = function ($this$intercept, it, $completion) {
|
|
@@ -860,7 +860,7 @@ protoOf(ResponseAfterEncodingHook$install$slambda).t9 = function () {
|
|
|
860
860
|
case 0:
|
|
861
861
|
this.m9_1 = 2;
|
|
862
862
|
this.l9_1 = 1;
|
|
863
|
-
suspendResult = this.
|
|
863
|
+
suspendResult = this.kon_1(new Context_0(this.lon_1), this.lon_1.v3l(), this);
|
|
864
864
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
865
865
|
return suspendResult;
|
|
866
866
|
}
|
|
@@ -883,9 +883,9 @@ protoOf(ResponseAfterEncodingHook$install$slambda).t9 = function () {
|
|
|
883
883
|
while (true);
|
|
884
884
|
};
|
|
885
885
|
protoOf(ResponseAfterEncodingHook$install$slambda).l4u = function ($this$intercept, it, completion) {
|
|
886
|
-
var i = new ResponseAfterEncodingHook$install$slambda(this.
|
|
887
|
-
i.
|
|
888
|
-
i.
|
|
886
|
+
var i = new ResponseAfterEncodingHook$install$slambda(this.kon_1, completion);
|
|
887
|
+
i.lon_1 = $this$intercept;
|
|
888
|
+
i.mon_1 = it;
|
|
889
889
|
return i;
|
|
890
890
|
};
|
|
891
891
|
function ResponseAfterEncodingHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -898,26 +898,26 @@ function ResponseAfterEncodingHook$install$slambda_0($handler, resultContinuatio
|
|
|
898
898
|
}
|
|
899
899
|
function ResponseAfterEncodingHook() {
|
|
900
900
|
}
|
|
901
|
-
protoOf(ResponseAfterEncodingHook).
|
|
901
|
+
protoOf(ResponseAfterEncodingHook).non = function (client, handler) {
|
|
902
902
|
var afterState = new PipelinePhase('AfterState');
|
|
903
903
|
client.g4k_1.t3m(Phases_getInstance_0().o4u_1, afterState);
|
|
904
904
|
client.g4k_1.w3m(afterState, ResponseAfterEncodingHook$install$slambda_0(handler, null));
|
|
905
905
|
};
|
|
906
906
|
protoOf(ResponseAfterEncodingHook).y4t = function (client, handler) {
|
|
907
|
-
return this.
|
|
907
|
+
return this.non(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
908
908
|
};
|
|
909
909
|
var ResponseAfterEncodingHook_instance;
|
|
910
910
|
function ResponseAfterEncodingHook_getInstance() {
|
|
911
911
|
return ResponseAfterEncodingHook_instance;
|
|
912
912
|
}
|
|
913
913
|
function Context_1(context) {
|
|
914
|
-
this.
|
|
914
|
+
this.oon_1 = context;
|
|
915
915
|
}
|
|
916
|
-
protoOf(Context_1).
|
|
917
|
-
return this.
|
|
916
|
+
protoOf(Context_1).pon = function ($completion) {
|
|
917
|
+
return this.oon_1.x3l($completion);
|
|
918
918
|
};
|
|
919
919
|
function ResponseHook$install$slambda($handler, resultContinuation) {
|
|
920
|
-
this.
|
|
920
|
+
this.yon_1 = $handler;
|
|
921
921
|
CoroutineImpl.call(this, resultContinuation);
|
|
922
922
|
}
|
|
923
923
|
protoOf(ResponseHook$install$slambda).k4u = function ($this$intercept, it, $completion) {
|
|
@@ -939,7 +939,7 @@ protoOf(ResponseHook$install$slambda).t9 = function () {
|
|
|
939
939
|
case 0:
|
|
940
940
|
this.m9_1 = 2;
|
|
941
941
|
this.l9_1 = 1;
|
|
942
|
-
suspendResult = this.
|
|
942
|
+
suspendResult = this.yon_1(new Context_1(this.zon_1), this.zon_1.v3l(), this);
|
|
943
943
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
944
944
|
return suspendResult;
|
|
945
945
|
}
|
|
@@ -962,9 +962,9 @@ protoOf(ResponseHook$install$slambda).t9 = function () {
|
|
|
962
962
|
while (true);
|
|
963
963
|
};
|
|
964
964
|
protoOf(ResponseHook$install$slambda).l4u = function ($this$intercept, it, completion) {
|
|
965
|
-
var i = new ResponseHook$install$slambda(this.
|
|
966
|
-
i.
|
|
967
|
-
i.
|
|
965
|
+
var i = new ResponseHook$install$slambda(this.yon_1, completion);
|
|
966
|
+
i.zon_1 = $this$intercept;
|
|
967
|
+
i.aoo_1 = it;
|
|
968
968
|
return i;
|
|
969
969
|
};
|
|
970
970
|
function ResponseHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -977,25 +977,25 @@ function ResponseHook$install$slambda_0($handler, resultContinuation) {
|
|
|
977
977
|
}
|
|
978
978
|
function ResponseHook() {
|
|
979
979
|
}
|
|
980
|
-
protoOf(ResponseHook).
|
|
980
|
+
protoOf(ResponseHook).boo = function (client, handler) {
|
|
981
981
|
var tmp = Phases_getInstance_0().o4u_1;
|
|
982
982
|
client.g4k_1.w3m(tmp, ResponseHook$install$slambda_0(handler, null));
|
|
983
983
|
};
|
|
984
984
|
protoOf(ResponseHook).y4t = function (client, handler) {
|
|
985
|
-
return this.
|
|
985
|
+
return this.boo(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
986
986
|
};
|
|
987
987
|
var ResponseHook_instance;
|
|
988
988
|
function ResponseHook_getInstance() {
|
|
989
989
|
return ResponseHook_instance;
|
|
990
990
|
}
|
|
991
991
|
function Context_2(context) {
|
|
992
|
-
this.
|
|
992
|
+
this.coo_1 = context;
|
|
993
993
|
}
|
|
994
|
-
protoOf(Context_2).
|
|
995
|
-
return this.
|
|
994
|
+
protoOf(Context_2).doo = function ($completion) {
|
|
995
|
+
return this.coo_1.x3l($completion);
|
|
996
996
|
};
|
|
997
997
|
function ReceiveHook$install$slambda($handler, resultContinuation) {
|
|
998
|
-
this.
|
|
998
|
+
this.moo_1 = $handler;
|
|
999
999
|
CoroutineImpl.call(this, resultContinuation);
|
|
1000
1000
|
}
|
|
1001
1001
|
protoOf(ReceiveHook$install$slambda).r4l = function ($this$intercept, it, $completion) {
|
|
@@ -1017,7 +1017,7 @@ protoOf(ReceiveHook$install$slambda).t9 = function () {
|
|
|
1017
1017
|
case 0:
|
|
1018
1018
|
this.m9_1 = 2;
|
|
1019
1019
|
this.l9_1 = 1;
|
|
1020
|
-
suspendResult = this.
|
|
1020
|
+
suspendResult = this.moo_1(new Context_2(this.noo_1), this.noo_1.s3m_1, this);
|
|
1021
1021
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1022
1022
|
return suspendResult;
|
|
1023
1023
|
}
|
|
@@ -1040,9 +1040,9 @@ protoOf(ReceiveHook$install$slambda).t9 = function () {
|
|
|
1040
1040
|
while (true);
|
|
1041
1041
|
};
|
|
1042
1042
|
protoOf(ReceiveHook$install$slambda).s4l = function ($this$intercept, it, completion) {
|
|
1043
|
-
var i = new ReceiveHook$install$slambda(this.
|
|
1044
|
-
i.
|
|
1045
|
-
i.
|
|
1043
|
+
var i = new ReceiveHook$install$slambda(this.moo_1, completion);
|
|
1044
|
+
i.noo_1 = $this$intercept;
|
|
1045
|
+
i.ooo_1 = it;
|
|
1046
1046
|
return i;
|
|
1047
1047
|
};
|
|
1048
1048
|
function ReceiveHook$install$slambda_0($handler, resultContinuation) {
|
|
@@ -1055,12 +1055,12 @@ function ReceiveHook$install$slambda_0($handler, resultContinuation) {
|
|
|
1055
1055
|
}
|
|
1056
1056
|
function ReceiveHook() {
|
|
1057
1057
|
}
|
|
1058
|
-
protoOf(ReceiveHook).
|
|
1058
|
+
protoOf(ReceiveHook).poo = function (client, handler) {
|
|
1059
1059
|
var tmp = Phases_getInstance_1().b4n_1;
|
|
1060
1060
|
client.e4k_1.w3m(tmp, ReceiveHook$install$slambda_0(handler, null));
|
|
1061
1061
|
};
|
|
1062
1062
|
protoOf(ReceiveHook).y4t = function (client, handler) {
|
|
1063
|
-
return this.
|
|
1063
|
+
return this.poo(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
1064
1064
|
};
|
|
1065
1065
|
var ReceiveHook_instance;
|
|
1066
1066
|
function ReceiveHook_getInstance() {
|
|
@@ -1075,12 +1075,12 @@ function LoggingConfig$_init_$ref_f1nb0k() {
|
|
|
1075
1075
|
}
|
|
1076
1076
|
function Logging$lambda($this$createClientPlugin) {
|
|
1077
1077
|
_init_properties_Logging_kt__66pui5();
|
|
1078
|
-
var logger = $this$createClientPlugin.s4u_1.
|
|
1079
|
-
var level = $this$createClientPlugin.s4u_1.
|
|
1080
|
-
var filters = $this$createClientPlugin.s4u_1.
|
|
1081
|
-
var sanitizedHeaders = $this$createClientPlugin.s4u_1.
|
|
1082
|
-
var okHttpFormat = $this$createClientPlugin.s4u_1.
|
|
1083
|
-
var bodyFilter = $this$createClientPlugin.s4u_1.
|
|
1078
|
+
var logger = $this$createClientPlugin.s4u_1.hom();
|
|
1079
|
+
var level = $this$createClientPlugin.s4u_1.fom_1;
|
|
1080
|
+
var filters = $this$createClientPlugin.s4u_1.bom_1;
|
|
1081
|
+
var sanitizedHeaders = $this$createClientPlugin.s4u_1.com_1;
|
|
1082
|
+
var okHttpFormat = $this$createClientPlugin.s4u_1.eom_1.equals(LoggingFormat_OkHttp_getInstance());
|
|
1083
|
+
var bodyFilter = $this$createClientPlugin.s4u_1.gom_1;
|
|
1084
1084
|
var tmp = SendHook_instance;
|
|
1085
1085
|
$this$createClientPlugin.v4u(tmp, Logging$lambda$slambda_0(okHttpFormat, logger, filters, sanitizedHeaders, level, $this$createClientPlugin, bodyFilter, null));
|
|
1086
1086
|
var tmp_0 = ResponseAfterEncodingHook_instance;
|
|
@@ -1091,7 +1091,7 @@ function Logging$lambda($this$createClientPlugin) {
|
|
|
1091
1091
|
$this$createClientPlugin.v4u(tmp_2, Logging$lambda$slambda_6(okHttpFormat, level, null));
|
|
1092
1092
|
if (okHttpFormat)
|
|
1093
1093
|
return Unit_instance;
|
|
1094
|
-
if (!level.
|
|
1094
|
+
if (!level.tol_1)
|
|
1095
1095
|
return Unit_instance;
|
|
1096
1096
|
var tmp_3 = get_ResponseObserver();
|
|
1097
1097
|
var responseObserver = tmp_3.i4n(Logging$lambda$lambda(level));
|
|
@@ -1103,8 +1103,8 @@ function Logging$lambda$logOutgoingContent$lambda(it) {
|
|
|
1103
1103
|
return it;
|
|
1104
1104
|
}
|
|
1105
1105
|
function Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation) {
|
|
1106
|
-
this.
|
|
1107
|
-
this.
|
|
1106
|
+
this.yoo_1 = $content;
|
|
1107
|
+
this.zoo_1 = $channel;
|
|
1108
1108
|
CoroutineImpl.call(this, resultContinuation);
|
|
1109
1109
|
}
|
|
1110
1110
|
protoOf(Logging$lambda$logOutgoingContent$slambda).d3c = function ($this$launch, $completion) {
|
|
@@ -1125,14 +1125,14 @@ protoOf(Logging$lambda$logOutgoingContent$slambda).t9 = function () {
|
|
|
1125
1125
|
case 0:
|
|
1126
1126
|
this.m9_1 = 2;
|
|
1127
1127
|
this.l9_1 = 1;
|
|
1128
|
-
suspendResult = this.
|
|
1128
|
+
suspendResult = this.yoo_1.a42(this.zoo_1, this);
|
|
1129
1129
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1130
1130
|
return suspendResult;
|
|
1131
1131
|
}
|
|
1132
1132
|
|
|
1133
1133
|
continue $sm;
|
|
1134
1134
|
case 1:
|
|
1135
|
-
this.
|
|
1135
|
+
this.zoo_1.c5();
|
|
1136
1136
|
return Unit_instance;
|
|
1137
1137
|
case 2:
|
|
1138
1138
|
throw this.o9_1;
|
|
@@ -1149,8 +1149,8 @@ protoOf(Logging$lambda$logOutgoingContent$slambda).t9 = function () {
|
|
|
1149
1149
|
while (true);
|
|
1150
1150
|
};
|
|
1151
1151
|
protoOf(Logging$lambda$logOutgoingContent$slambda).e3c = function ($this$launch, completion) {
|
|
1152
|
-
var i = new Logging$lambda$logOutgoingContent$slambda(this.
|
|
1153
|
-
i.
|
|
1152
|
+
var i = new Logging$lambda$logOutgoingContent$slambda(this.yoo_1, this.zoo_1, completion);
|
|
1153
|
+
i.aop_1 = $this$launch;
|
|
1154
1154
|
return i;
|
|
1155
1155
|
};
|
|
1156
1156
|
function Logging$lambda$logOutgoingContent$slambda_0($content, $channel, resultContinuation) {
|
|
@@ -1171,10 +1171,10 @@ function Logging$lambda$logResponseOkHttpFormat$lambda($origChannel) {
|
|
|
1171
1171
|
};
|
|
1172
1172
|
}
|
|
1173
1173
|
function Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1174
|
-
this.
|
|
1175
|
-
this.
|
|
1176
|
-
this.
|
|
1177
|
-
this.
|
|
1174
|
+
this.jop_1 = $channel;
|
|
1175
|
+
this.kop_1 = $charset;
|
|
1176
|
+
this.lop_1 = $requestLog;
|
|
1177
|
+
this.mop_1 = $logger;
|
|
1178
1178
|
CoroutineImpl.call(this, resultContinuation);
|
|
1179
1179
|
}
|
|
1180
1180
|
protoOf(Logging$lambda$logRequestBody$slambda).d3c = function ($this$launch, $completion) {
|
|
@@ -1198,8 +1198,8 @@ protoOf(Logging$lambda$logRequestBody$slambda).t9 = function () {
|
|
|
1198
1198
|
continue $sm;
|
|
1199
1199
|
case 1:
|
|
1200
1200
|
this.m9_1 = 6;
|
|
1201
|
-
var tmp0 = this.
|
|
1202
|
-
this.
|
|
1201
|
+
var tmp0 = this.jop_1;
|
|
1202
|
+
this.qop_1 = this.kop_1;
|
|
1203
1203
|
this.m9_1 = 3;
|
|
1204
1204
|
this.l9_1 = 2;
|
|
1205
1205
|
suspendResult = readRemaining(tmp0, this);
|
|
@@ -1210,7 +1210,7 @@ protoOf(Logging$lambda$logRequestBody$slambda).t9 = function () {
|
|
|
1210
1210
|
continue $sm;
|
|
1211
1211
|
case 2:
|
|
1212
1212
|
var ARGUMENT = suspendResult;
|
|
1213
|
-
this.
|
|
1213
|
+
this.pop_1 = readText(ARGUMENT, this.qop_1);
|
|
1214
1214
|
this.m9_1 = 6;
|
|
1215
1215
|
this.l9_1 = 4;
|
|
1216
1216
|
continue $sm;
|
|
@@ -1220,7 +1220,7 @@ protoOf(Logging$lambda$logRequestBody$slambda).t9 = function () {
|
|
|
1220
1220
|
if (tmp_0 instanceof Error) {
|
|
1221
1221
|
var cause = this.o9_1;
|
|
1222
1222
|
var tmp_1 = this;
|
|
1223
|
-
tmp_1.
|
|
1223
|
+
tmp_1.pop_1 = null;
|
|
1224
1224
|
this.l9_1 = 4;
|
|
1225
1225
|
continue $sm;
|
|
1226
1226
|
} else {
|
|
@@ -1229,27 +1229,27 @@ protoOf(Logging$lambda$logRequestBody$slambda).t9 = function () {
|
|
|
1229
1229
|
|
|
1230
1230
|
case 4:
|
|
1231
1231
|
this.m9_1 = 6;
|
|
1232
|
-
var tmp0_elvis_lhs = this.
|
|
1232
|
+
var tmp0_elvis_lhs = this.pop_1;
|
|
1233
1233
|
var text = tmp0_elvis_lhs == null ? '[request body omitted]' : tmp0_elvis_lhs;
|
|
1234
|
-
var tmp0_0 = this.
|
|
1234
|
+
var tmp0_0 = this.lop_1;
|
|
1235
1235
|
var value = 'BODY START';
|
|
1236
1236
|
tmp0_0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1237
|
-
this.
|
|
1238
|
-
this.
|
|
1237
|
+
this.lop_1.q(text).s(_Char___init__impl__6a9atx(10));
|
|
1238
|
+
this.oop_1 = this.lop_1.q('BODY END');
|
|
1239
1239
|
this.m9_1 = 7;
|
|
1240
1240
|
this.l9_1 = 5;
|
|
1241
1241
|
continue $sm;
|
|
1242
1242
|
case 5:
|
|
1243
|
-
this.
|
|
1243
|
+
this.oop_1;
|
|
1244
1244
|
this.m9_1 = 7;
|
|
1245
|
-
this.
|
|
1246
|
-
this.
|
|
1245
|
+
this.mop_1.hok(this.lop_1.toString());
|
|
1246
|
+
this.mop_1.lok();
|
|
1247
1247
|
return Unit_instance;
|
|
1248
1248
|
case 6:
|
|
1249
1249
|
this.m9_1 = 7;
|
|
1250
1250
|
var t = this.o9_1;
|
|
1251
|
-
this.
|
|
1252
|
-
this.
|
|
1251
|
+
this.mop_1.hok(this.lop_1.toString());
|
|
1252
|
+
this.mop_1.lok();
|
|
1253
1253
|
throw t;
|
|
1254
1254
|
case 7:
|
|
1255
1255
|
throw this.o9_1;
|
|
@@ -1266,8 +1266,8 @@ protoOf(Logging$lambda$logRequestBody$slambda).t9 = function () {
|
|
|
1266
1266
|
while (true);
|
|
1267
1267
|
};
|
|
1268
1268
|
protoOf(Logging$lambda$logRequestBody$slambda).e3c = function ($this$launch, completion) {
|
|
1269
|
-
var i = new Logging$lambda$logRequestBody$slambda(this.
|
|
1270
|
-
i.
|
|
1269
|
+
var i = new Logging$lambda$logRequestBody$slambda(this.jop_1, this.kop_1, this.lop_1, this.mop_1, completion);
|
|
1270
|
+
i.nop_1 = $this$launch;
|
|
1271
1271
|
return i;
|
|
1272
1272
|
};
|
|
1273
1273
|
function Logging$lambda$logRequestBody$slambda_0($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
@@ -1375,8 +1375,8 @@ function invoke$logRequestBody_0(content, logger, $completion) {
|
|
|
1375
1375
|
return observe(content, channel, $completion);
|
|
1376
1376
|
}
|
|
1377
1377
|
function invoke$logRequestException(level, logger, context, cause) {
|
|
1378
|
-
if (level.
|
|
1379
|
-
logger.
|
|
1378
|
+
if (level.rol_1) {
|
|
1379
|
+
logger.noj('REQUEST ' + Url(context.d4m_1).toString() + ' failed with exception: ' + cause.toString());
|
|
1380
1380
|
}
|
|
1381
1381
|
}
|
|
1382
1382
|
function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion) {
|
|
@@ -1387,7 +1387,7 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1387
1387
|
// Inline function 'kotlin.text.buildString' call
|
|
1388
1388
|
// Inline function 'kotlin.apply' call
|
|
1389
1389
|
var this_0 = StringBuilder_init_$Create$();
|
|
1390
|
-
if (level.
|
|
1390
|
+
if (level.rol_1) {
|
|
1391
1391
|
// Inline function 'kotlin.text.appendLine' call
|
|
1392
1392
|
var value = 'REQUEST: ' + Url(request.d4m_1).toString();
|
|
1393
1393
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -1397,7 +1397,7 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1397
1397
|
// Inline function 'kotlin.text.appendLine' call
|
|
1398
1398
|
this_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
1399
1399
|
}
|
|
1400
|
-
if (level.
|
|
1400
|
+
if (level.sol_1) {
|
|
1401
1401
|
// Inline function 'kotlin.text.appendLine' call
|
|
1402
1402
|
var value_1 = 'COMMON HEADERS';
|
|
1403
1403
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -1413,7 +1413,7 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1413
1413
|
var _iterator__ex2g4s = sanitizedHeaders.t();
|
|
1414
1414
|
while (_iterator__ex2g4s.u()) {
|
|
1415
1415
|
var element = _iterator__ex2g4s.v();
|
|
1416
|
-
if (element.
|
|
1416
|
+
if (element.lom_1('Content-Length')) {
|
|
1417
1417
|
tmp$ret$9 = element;
|
|
1418
1418
|
break $l$block;
|
|
1419
1419
|
}
|
|
@@ -1421,14 +1421,14 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1421
1421
|
tmp$ret$9 = null;
|
|
1422
1422
|
}
|
|
1423
1423
|
var tmp0_safe_receiver = tmp$ret$9;
|
|
1424
|
-
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1424
|
+
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.kom_1;
|
|
1425
1425
|
var tmp$ret$11;
|
|
1426
1426
|
$l$block_0: {
|
|
1427
1427
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1428
1428
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
1429
1429
|
while (_iterator__ex2g4s_0.u()) {
|
|
1430
1430
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
1431
|
-
if (element_0.
|
|
1431
|
+
if (element_0.lom_1('Content-Type')) {
|
|
1432
1432
|
tmp$ret$11 = element_0;
|
|
1433
1433
|
break $l$block_0;
|
|
1434
1434
|
}
|
|
@@ -1436,7 +1436,7 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1436
1436
|
tmp$ret$11 = null;
|
|
1437
1437
|
}
|
|
1438
1438
|
var tmp1_safe_receiver = tmp$ret$11;
|
|
1439
|
-
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1439
|
+
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.kom_1;
|
|
1440
1440
|
var tmp2_safe_receiver = content.u41();
|
|
1441
1441
|
if (tmp2_safe_receiver == null)
|
|
1442
1442
|
null;
|
|
@@ -1456,45 +1456,45 @@ function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion
|
|
|
1456
1456
|
var message = this_0.toString();
|
|
1457
1457
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1458
1458
|
if (charSequenceLength(message) > 0) {
|
|
1459
|
-
callLogger.
|
|
1459
|
+
callLogger.hok(message);
|
|
1460
1460
|
}
|
|
1461
1461
|
var tmp_0;
|
|
1462
1462
|
// Inline function 'kotlin.text.isEmpty' call
|
|
1463
1463
|
if (charSequenceLength(message) === 0) {
|
|
1464
1464
|
tmp_0 = true;
|
|
1465
1465
|
} else {
|
|
1466
|
-
tmp_0 = !level.
|
|
1466
|
+
tmp_0 = !level.tol_1;
|
|
1467
1467
|
}
|
|
1468
1468
|
if (tmp_0) {
|
|
1469
|
-
callLogger.
|
|
1469
|
+
callLogger.lok();
|
|
1470
1470
|
return null;
|
|
1471
1471
|
}
|
|
1472
1472
|
return invoke$logRequestBody_0(content, callLogger, $completion);
|
|
1473
1473
|
}
|
|
1474
1474
|
function invoke$logResponseException(level, log, request, cause) {
|
|
1475
|
-
if (!level.
|
|
1475
|
+
if (!level.rol_1)
|
|
1476
1476
|
return Unit_instance;
|
|
1477
1477
|
log.q('RESPONSE ' + request.w4n().toString() + ' failed with exception: ' + cause.toString());
|
|
1478
1478
|
}
|
|
1479
1479
|
function Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation) {
|
|
1480
|
-
this.
|
|
1481
|
-
this.
|
|
1482
|
-
this.
|
|
1483
|
-
this.
|
|
1484
|
-
this.
|
|
1485
|
-
this.
|
|
1486
|
-
this.
|
|
1480
|
+
this.xos_1 = $okHttpFormat;
|
|
1481
|
+
this.yos_1 = $logger;
|
|
1482
|
+
this.zos_1 = $filters;
|
|
1483
|
+
this.aot_1 = $sanitizedHeaders;
|
|
1484
|
+
this.bot_1 = $level;
|
|
1485
|
+
this.cot_1 = $this_createClientPlugin;
|
|
1486
|
+
this.dot_1 = $bodyFilter;
|
|
1487
1487
|
CoroutineImpl.call(this, resultContinuation);
|
|
1488
1488
|
}
|
|
1489
|
-
protoOf(Logging$lambda$slambda).
|
|
1490
|
-
var tmp = this.
|
|
1489
|
+
protoOf(Logging$lambda$slambda).mot = function ($this$on, request, $completion) {
|
|
1490
|
+
var tmp = this.not($this$on, request, $completion);
|
|
1491
1491
|
tmp.n9_1 = Unit_instance;
|
|
1492
1492
|
tmp.o9_1 = null;
|
|
1493
1493
|
return tmp.t9();
|
|
1494
1494
|
};
|
|
1495
1495
|
protoOf(Logging$lambda$slambda).ga = function (p1, p2, $completion) {
|
|
1496
1496
|
var tmp = p1 instanceof Context ? p1 : THROW_CCE();
|
|
1497
|
-
return this.
|
|
1497
|
+
return this.mot(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
|
|
1498
1498
|
};
|
|
1499
1499
|
protoOf(Logging$lambda$slambda).t9 = function () {
|
|
1500
1500
|
var suspendResult = this.n9_1;
|
|
@@ -1504,16 +1504,16 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1504
1504
|
switch (tmp) {
|
|
1505
1505
|
case 0:
|
|
1506
1506
|
this.m9_1 = 16;
|
|
1507
|
-
if (!invoke$shouldBeLogged(this.
|
|
1508
|
-
this.
|
|
1507
|
+
if (!invoke$shouldBeLogged(this.zos_1, this.fot_1)) {
|
|
1508
|
+
this.fot_1.i4m_1.l3e(get_DisableLogging(), Unit_instance);
|
|
1509
1509
|
return Unit_instance;
|
|
1510
1510
|
}
|
|
1511
1511
|
|
|
1512
|
-
if (this.
|
|
1512
|
+
if (this.xos_1) {
|
|
1513
1513
|
var tmp_0 = this;
|
|
1514
|
-
tmp_0.
|
|
1514
|
+
tmp_0.iot_1 = ArrayList_init_$Create$();
|
|
1515
1515
|
this.l9_1 = 10;
|
|
1516
|
-
suspendResult = invoke$logRequestOkHttpFormat(this.
|
|
1516
|
+
suspendResult = invoke$logRequestOkHttpFormat(this.aot_1, this.bot_1, this.cot_1, this.dot_1, this.fot_1, this.iot_1, this);
|
|
1517
1517
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1518
1518
|
return suspendResult;
|
|
1519
1519
|
}
|
|
@@ -1526,14 +1526,14 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1526
1526
|
case 1:
|
|
1527
1527
|
this.m9_1 = 3;
|
|
1528
1528
|
this.l9_1 = 2;
|
|
1529
|
-
suspendResult = invoke$logRequest(this.
|
|
1529
|
+
suspendResult = invoke$logRequest(this.yos_1, this.bot_1, this.aot_1, this.fot_1, this);
|
|
1530
1530
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1531
1531
|
return suspendResult;
|
|
1532
1532
|
}
|
|
1533
1533
|
|
|
1534
1534
|
continue $sm;
|
|
1535
1535
|
case 2:
|
|
1536
|
-
this.
|
|
1536
|
+
this.lot_1 = suspendResult;
|
|
1537
1537
|
this.m9_1 = 16;
|
|
1538
1538
|
this.l9_1 = 4;
|
|
1539
1539
|
continue $sm;
|
|
@@ -1543,7 +1543,7 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1543
1543
|
if (tmp_1 instanceof Error) {
|
|
1544
1544
|
var _unused_var__etf5q3 = this.o9_1;
|
|
1545
1545
|
var tmp_2 = this;
|
|
1546
|
-
tmp_2.
|
|
1546
|
+
tmp_2.lot_1 = null;
|
|
1547
1547
|
this.l9_1 = 4;
|
|
1548
1548
|
continue $sm;
|
|
1549
1549
|
} else {
|
|
@@ -1552,23 +1552,23 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1552
1552
|
|
|
1553
1553
|
case 4:
|
|
1554
1554
|
this.m9_1 = 16;
|
|
1555
|
-
this.
|
|
1556
|
-
this.
|
|
1555
|
+
this.kot_1 = this.lot_1;
|
|
1556
|
+
this.jot_1 = Unit_instance;
|
|
1557
1557
|
this.l9_1 = 5;
|
|
1558
1558
|
continue $sm;
|
|
1559
1559
|
case 5:
|
|
1560
1560
|
this.m9_1 = 8;
|
|
1561
1561
|
this.m9_1 = 7;
|
|
1562
1562
|
this.l9_1 = 6;
|
|
1563
|
-
var tmp0_elvis_lhs = this.
|
|
1564
|
-
suspendResult = this.
|
|
1563
|
+
var tmp0_elvis_lhs = this.kot_1;
|
|
1564
|
+
suspendResult = this.eot_1.nom(tmp0_elvis_lhs == null ? this.fot_1.g4m_1 : tmp0_elvis_lhs, this);
|
|
1565
1565
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1566
1566
|
return suspendResult;
|
|
1567
1567
|
}
|
|
1568
1568
|
|
|
1569
1569
|
continue $sm;
|
|
1570
1570
|
case 6:
|
|
1571
|
-
this.
|
|
1571
|
+
this.jot_1 = suspendResult;
|
|
1572
1572
|
this.m9_1 = 16;
|
|
1573
1573
|
this.l9_1 = 9;
|
|
1574
1574
|
continue $sm;
|
|
@@ -1578,7 +1578,7 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1578
1578
|
if (tmp_3 instanceof Error) {
|
|
1579
1579
|
var cause = this.o9_1;
|
|
1580
1580
|
var tmp_4 = this;
|
|
1581
|
-
invoke$logRequestException(this.
|
|
1581
|
+
invoke$logRequestException(this.bot_1, this.yos_1, this.fot_1, cause);
|
|
1582
1582
|
throw cause;
|
|
1583
1583
|
} else {
|
|
1584
1584
|
throw this.o9_1;
|
|
@@ -1589,26 +1589,26 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1589
1589
|
var t = this.o9_1;
|
|
1590
1590
|
throw t;
|
|
1591
1591
|
case 9:
|
|
1592
|
-
this.
|
|
1592
|
+
this.jot_1;
|
|
1593
1593
|
this.m9_1 = 16;
|
|
1594
1594
|
return Unit_instance;
|
|
1595
1595
|
case 10:
|
|
1596
1596
|
var content = suspendResult;
|
|
1597
|
-
if (this.
|
|
1598
|
-
this.
|
|
1597
|
+
if (this.iot_1.g1() > 0) {
|
|
1598
|
+
this.yos_1.noj(joinToString(this.iot_1, '\n'));
|
|
1599
1599
|
}
|
|
1600
1600
|
|
|
1601
1601
|
this.m9_1 = 14;
|
|
1602
1602
|
if (!(content == null)) {
|
|
1603
1603
|
this.l9_1 = 12;
|
|
1604
|
-
suspendResult = this.
|
|
1604
|
+
suspendResult = this.eot_1.nom(content, this);
|
|
1605
1605
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1606
1606
|
return suspendResult;
|
|
1607
1607
|
}
|
|
1608
1608
|
continue $sm;
|
|
1609
1609
|
} else {
|
|
1610
1610
|
this.l9_1 = 11;
|
|
1611
|
-
suspendResult = this.
|
|
1611
|
+
suspendResult = this.eot_1.oom(this);
|
|
1612
1612
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1613
1613
|
return suspendResult;
|
|
1614
1614
|
}
|
|
@@ -1616,15 +1616,15 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
|
|
1618
1618
|
case 11:
|
|
1619
|
-
this.
|
|
1619
|
+
this.hot_1 = suspendResult;
|
|
1620
1620
|
this.l9_1 = 13;
|
|
1621
1621
|
continue $sm;
|
|
1622
1622
|
case 12:
|
|
1623
|
-
this.
|
|
1623
|
+
this.hot_1 = suspendResult;
|
|
1624
1624
|
this.l9_1 = 13;
|
|
1625
1625
|
continue $sm;
|
|
1626
1626
|
case 13:
|
|
1627
|
-
this.
|
|
1627
|
+
this.got_1 = this.hot_1;
|
|
1628
1628
|
this.m9_1 = 16;
|
|
1629
1629
|
this.l9_1 = 15;
|
|
1630
1630
|
continue $sm;
|
|
@@ -1634,7 +1634,7 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1634
1634
|
if (tmp_5 instanceof Error) {
|
|
1635
1635
|
var cause_0 = this.o9_1;
|
|
1636
1636
|
var tmp_6 = this;
|
|
1637
|
-
this.
|
|
1637
|
+
this.yos_1.noj('<-- HTTP FAILED: ' + cause_0.toString());
|
|
1638
1638
|
throw cause_0;
|
|
1639
1639
|
} else {
|
|
1640
1640
|
throw this.o9_1;
|
|
@@ -1657,37 +1657,37 @@ protoOf(Logging$lambda$slambda).t9 = function () {
|
|
|
1657
1657
|
}
|
|
1658
1658
|
while (true);
|
|
1659
1659
|
};
|
|
1660
|
-
protoOf(Logging$lambda$slambda).
|
|
1661
|
-
var i = new Logging$lambda$slambda(this.
|
|
1662
|
-
i.
|
|
1663
|
-
i.
|
|
1660
|
+
protoOf(Logging$lambda$slambda).not = function ($this$on, request, completion) {
|
|
1661
|
+
var i = new Logging$lambda$slambda(this.xos_1, this.yos_1, this.zos_1, this.aot_1, this.bot_1, this.cot_1, this.dot_1, completion);
|
|
1662
|
+
i.eot_1 = $this$on;
|
|
1663
|
+
i.fot_1 = request;
|
|
1664
1664
|
return i;
|
|
1665
1665
|
};
|
|
1666
1666
|
function Logging$lambda$slambda_0($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation) {
|
|
1667
1667
|
var i = new Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, $bodyFilter, resultContinuation);
|
|
1668
1668
|
var l = function ($this$on, request, $completion) {
|
|
1669
|
-
return i.
|
|
1669
|
+
return i.mot($this$on, request, $completion);
|
|
1670
1670
|
};
|
|
1671
1671
|
l.$arity = 2;
|
|
1672
1672
|
return l;
|
|
1673
1673
|
}
|
|
1674
1674
|
function Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation) {
|
|
1675
|
-
this.
|
|
1676
|
-
this.
|
|
1677
|
-
this.
|
|
1678
|
-
this.
|
|
1679
|
-
this.
|
|
1675
|
+
this.wot_1 = $okHttpFormat;
|
|
1676
|
+
this.xot_1 = $logger;
|
|
1677
|
+
this.yot_1 = $sanitizedHeaders;
|
|
1678
|
+
this.zot_1 = $level;
|
|
1679
|
+
this.aou_1 = $bodyFilter;
|
|
1680
1680
|
CoroutineImpl.call(this, resultContinuation);
|
|
1681
1681
|
}
|
|
1682
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1683
|
-
var tmp = this.
|
|
1682
|
+
protoOf(Logging$lambda$slambda_1).eou = function ($this$on, response, $completion) {
|
|
1683
|
+
var tmp = this.fou($this$on, response, $completion);
|
|
1684
1684
|
tmp.n9_1 = Unit_instance;
|
|
1685
1685
|
tmp.o9_1 = null;
|
|
1686
1686
|
return tmp.t9();
|
|
1687
1687
|
};
|
|
1688
1688
|
protoOf(Logging$lambda$slambda_1).ga = function (p1, p2, $completion) {
|
|
1689
1689
|
var tmp = p1 instanceof Context_0 ? p1 : THROW_CCE();
|
|
1690
|
-
return this.
|
|
1690
|
+
return this.eou(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1691
1691
|
};
|
|
1692
1692
|
protoOf(Logging$lambda$slambda_1).t9 = function () {
|
|
1693
1693
|
var suspendResult = this.n9_1;
|
|
@@ -1697,11 +1697,11 @@ protoOf(Logging$lambda$slambda_1).t9 = function () {
|
|
|
1697
1697
|
switch (tmp) {
|
|
1698
1698
|
case 0:
|
|
1699
1699
|
this.m9_1 = 5;
|
|
1700
|
-
if (this.
|
|
1700
|
+
if (this.wot_1) {
|
|
1701
1701
|
var tmp_0 = this;
|
|
1702
|
-
tmp_0.
|
|
1702
|
+
tmp_0.dou_1 = ArrayList_init_$Create$();
|
|
1703
1703
|
this.l9_1 = 1;
|
|
1704
|
-
suspendResult = invoke$logResponseOkHttpFormat(this.
|
|
1704
|
+
suspendResult = invoke$logResponseOkHttpFormat(this.yot_1, this.zot_1, this.aou_1, this.cou_1, this.dou_1, this);
|
|
1705
1705
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1706
1706
|
return suspendResult;
|
|
1707
1707
|
}
|
|
@@ -1713,13 +1713,13 @@ protoOf(Logging$lambda$slambda_1).t9 = function () {
|
|
|
1713
1713
|
|
|
1714
1714
|
case 1:
|
|
1715
1715
|
var newResponse = suspendResult;
|
|
1716
|
-
if (this.
|
|
1717
|
-
this.
|
|
1716
|
+
if (this.dou_1.g1() > 0) {
|
|
1717
|
+
this.xot_1.noj(joinToString(this.dou_1, '\n'));
|
|
1718
1718
|
}
|
|
1719
1719
|
|
|
1720
|
-
if (!equals(newResponse, this.
|
|
1720
|
+
if (!equals(newResponse, this.cou_1)) {
|
|
1721
1721
|
this.l9_1 = 2;
|
|
1722
|
-
suspendResult = this.
|
|
1722
|
+
suspendResult = this.bou_1.f5x(newResponse, this);
|
|
1723
1723
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1724
1724
|
return suspendResult;
|
|
1725
1725
|
}
|
|
@@ -1751,35 +1751,35 @@ protoOf(Logging$lambda$slambda_1).t9 = function () {
|
|
|
1751
1751
|
}
|
|
1752
1752
|
while (true);
|
|
1753
1753
|
};
|
|
1754
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1755
|
-
var i = new Logging$lambda$slambda_1(this.
|
|
1756
|
-
i.
|
|
1757
|
-
i.
|
|
1754
|
+
protoOf(Logging$lambda$slambda_1).fou = function ($this$on, response, completion) {
|
|
1755
|
+
var i = new Logging$lambda$slambda_1(this.wot_1, this.xot_1, this.yot_1, this.zot_1, this.aou_1, completion);
|
|
1756
|
+
i.bou_1 = $this$on;
|
|
1757
|
+
i.cou_1 = response;
|
|
1758
1758
|
return i;
|
|
1759
1759
|
};
|
|
1760
1760
|
function Logging$lambda$slambda_2($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation) {
|
|
1761
1761
|
var i = new Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $bodyFilter, resultContinuation);
|
|
1762
1762
|
var l = function ($this$on, response, $completion) {
|
|
1763
|
-
return i.
|
|
1763
|
+
return i.eou($this$on, response, $completion);
|
|
1764
1764
|
};
|
|
1765
1765
|
l.$arity = 2;
|
|
1766
1766
|
return l;
|
|
1767
1767
|
}
|
|
1768
1768
|
function Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1769
|
-
this.
|
|
1770
|
-
this.
|
|
1771
|
-
this.
|
|
1769
|
+
this.oou_1 = $okHttpFormat;
|
|
1770
|
+
this.pou_1 = $level;
|
|
1771
|
+
this.qou_1 = $sanitizedHeaders;
|
|
1772
1772
|
CoroutineImpl.call(this, resultContinuation);
|
|
1773
1773
|
}
|
|
1774
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1775
|
-
var tmp = this.
|
|
1774
|
+
protoOf(Logging$lambda$slambda_3).zou = function ($this$on, response, $completion) {
|
|
1775
|
+
var tmp = this.aov($this$on, response, $completion);
|
|
1776
1776
|
tmp.n9_1 = Unit_instance;
|
|
1777
1777
|
tmp.o9_1 = null;
|
|
1778
1778
|
return tmp.t9();
|
|
1779
1779
|
};
|
|
1780
1780
|
protoOf(Logging$lambda$slambda_3).ga = function (p1, p2, $completion) {
|
|
1781
1781
|
var tmp = p1 instanceof Context_1 ? p1 : THROW_CCE();
|
|
1782
|
-
return this.
|
|
1782
|
+
return this.zou(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1783
1783
|
};
|
|
1784
1784
|
protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
1785
1785
|
var suspendResult = this.n9_1;
|
|
@@ -1789,28 +1789,28 @@ protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
|
1789
1789
|
switch (tmp) {
|
|
1790
1790
|
case 0:
|
|
1791
1791
|
this.m9_1 = 14;
|
|
1792
|
-
if (this.
|
|
1792
|
+
if (this.oou_1)
|
|
1793
1793
|
return Unit_instance;
|
|
1794
|
-
if (this.
|
|
1794
|
+
if (this.pou_1.equals(LogLevel_NONE_getInstance()) || this.sou_1.u4n().n4n().k3e(get_DisableLogging()))
|
|
1795
1795
|
return Unit_instance;
|
|
1796
|
-
this.
|
|
1797
|
-
this.
|
|
1798
|
-
this.
|
|
1796
|
+
this.uou_1 = this.sou_1.u4n().n4n().i3e(get_ClientCallLogger());
|
|
1797
|
+
this.wou_1 = StringBuilder_init_$Create$();
|
|
1798
|
+
this.vou_1 = false;
|
|
1799
1799
|
this.l9_1 = 1;
|
|
1800
1800
|
continue $sm;
|
|
1801
1801
|
case 1:
|
|
1802
1802
|
this.m9_1 = 4;
|
|
1803
1803
|
this.m9_1 = 3;
|
|
1804
|
-
logResponseHeader(this.
|
|
1804
|
+
logResponseHeader(this.wou_1, this.sou_1.u4n().d4l(), this.pou_1, this.qou_1);
|
|
1805
1805
|
this.l9_1 = 2;
|
|
1806
|
-
suspendResult = this.
|
|
1806
|
+
suspendResult = this.rou_1.pon(this);
|
|
1807
1807
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1808
1808
|
return suspendResult;
|
|
1809
1809
|
}
|
|
1810
1810
|
|
|
1811
1811
|
continue $sm;
|
|
1812
1812
|
case 2:
|
|
1813
|
-
this.
|
|
1813
|
+
this.xou_1 = suspendResult;
|
|
1814
1814
|
this.m9_1 = 14;
|
|
1815
1815
|
this.l9_1 = 9;
|
|
1816
1816
|
continue $sm;
|
|
@@ -1820,8 +1820,8 @@ protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
|
1820
1820
|
if (tmp_0 instanceof Error) {
|
|
1821
1821
|
var cause = this.o9_1;
|
|
1822
1822
|
var tmp_1 = this;
|
|
1823
|
-
invoke$logResponseException(this.
|
|
1824
|
-
this.
|
|
1823
|
+
invoke$logResponseException(this.pou_1, this.wou_1, this.sou_1.u4n().m4n(), cause);
|
|
1824
|
+
this.vou_1 = true;
|
|
1825
1825
|
throw cause;
|
|
1826
1826
|
} else {
|
|
1827
1827
|
throw this.o9_1;
|
|
@@ -1829,19 +1829,19 @@ protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
|
1829
1829
|
|
|
1830
1830
|
case 4:
|
|
1831
1831
|
this.m9_1 = 14;
|
|
1832
|
-
this.
|
|
1833
|
-
this.
|
|
1834
|
-
if (this.
|
|
1832
|
+
this.you_1 = this.o9_1;
|
|
1833
|
+
this.uou_1.iok(this.wou_1.toString());
|
|
1834
|
+
if (this.vou_1 || !this.pou_1.tol_1) {
|
|
1835
1835
|
this.l9_1 = 7;
|
|
1836
|
-
suspendResult = this.
|
|
1836
|
+
suspendResult = this.uou_1.mok(this);
|
|
1837
1837
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1838
1838
|
return suspendResult;
|
|
1839
1839
|
}
|
|
1840
1840
|
continue $sm;
|
|
1841
1841
|
} else {
|
|
1842
|
-
if (this.
|
|
1842
|
+
if (this.pou_1.tol_1 && get_isSaved(this.sou_1)) {
|
|
1843
1843
|
this.l9_1 = 5;
|
|
1844
|
-
suspendResult = logResponseBody(this.
|
|
1844
|
+
suspendResult = logResponseBody(this.uou_1, this.sou_1, this);
|
|
1845
1845
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1846
1846
|
return suspendResult;
|
|
1847
1847
|
}
|
|
@@ -1854,7 +1854,7 @@ protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
|
1854
1854
|
|
|
1855
1855
|
case 5:
|
|
1856
1856
|
this.l9_1 = 6;
|
|
1857
|
-
suspendResult = this.
|
|
1857
|
+
suspendResult = this.uou_1.mok(this);
|
|
1858
1858
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1859
1859
|
return suspendResult;
|
|
1860
1860
|
}
|
|
@@ -1867,22 +1867,22 @@ protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
|
1867
1867
|
this.l9_1 = 8;
|
|
1868
1868
|
continue $sm;
|
|
1869
1869
|
case 8:
|
|
1870
|
-
throw this.
|
|
1870
|
+
throw this.you_1;
|
|
1871
1871
|
case 9:
|
|
1872
|
-
this.
|
|
1872
|
+
this.tou_1 = this.xou_1;
|
|
1873
1873
|
this.m9_1 = 14;
|
|
1874
|
-
this.
|
|
1875
|
-
if (this.
|
|
1874
|
+
this.uou_1.iok(this.wou_1.toString());
|
|
1875
|
+
if (this.vou_1 || !this.pou_1.tol_1) {
|
|
1876
1876
|
this.l9_1 = 12;
|
|
1877
|
-
suspendResult = this.
|
|
1877
|
+
suspendResult = this.uou_1.mok(this);
|
|
1878
1878
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1879
1879
|
return suspendResult;
|
|
1880
1880
|
}
|
|
1881
1881
|
continue $sm;
|
|
1882
1882
|
} else {
|
|
1883
|
-
if (this.
|
|
1883
|
+
if (this.pou_1.tol_1 && get_isSaved(this.sou_1)) {
|
|
1884
1884
|
this.l9_1 = 10;
|
|
1885
|
-
suspendResult = logResponseBody(this.
|
|
1885
|
+
suspendResult = logResponseBody(this.uou_1, this.sou_1, this);
|
|
1886
1886
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1887
1887
|
return suspendResult;
|
|
1888
1888
|
}
|
|
@@ -1895,7 +1895,7 @@ protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
|
1895
1895
|
|
|
1896
1896
|
case 10:
|
|
1897
1897
|
this.l9_1 = 11;
|
|
1898
|
-
suspendResult = this.
|
|
1898
|
+
suspendResult = this.uou_1.mok(this);
|
|
1899
1899
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1900
1900
|
return suspendResult;
|
|
1901
1901
|
}
|
|
@@ -1923,34 +1923,34 @@ protoOf(Logging$lambda$slambda_3).t9 = function () {
|
|
|
1923
1923
|
}
|
|
1924
1924
|
while (true);
|
|
1925
1925
|
};
|
|
1926
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1927
|
-
var i = new Logging$lambda$slambda_3(this.
|
|
1928
|
-
i.
|
|
1929
|
-
i.
|
|
1926
|
+
protoOf(Logging$lambda$slambda_3).aov = function ($this$on, response, completion) {
|
|
1927
|
+
var i = new Logging$lambda$slambda_3(this.oou_1, this.pou_1, this.qou_1, completion);
|
|
1928
|
+
i.rou_1 = $this$on;
|
|
1929
|
+
i.sou_1 = response;
|
|
1930
1930
|
return i;
|
|
1931
1931
|
};
|
|
1932
1932
|
function Logging$lambda$slambda_4($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1933
1933
|
var i = new Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation);
|
|
1934
1934
|
var l = function ($this$on, response, $completion) {
|
|
1935
|
-
return i.
|
|
1935
|
+
return i.zou($this$on, response, $completion);
|
|
1936
1936
|
};
|
|
1937
1937
|
l.$arity = 2;
|
|
1938
1938
|
return l;
|
|
1939
1939
|
}
|
|
1940
1940
|
function Logging$lambda$slambda_5($okHttpFormat, $level, resultContinuation) {
|
|
1941
|
-
this.
|
|
1942
|
-
this.
|
|
1941
|
+
this.jov_1 = $okHttpFormat;
|
|
1942
|
+
this.kov_1 = $level;
|
|
1943
1943
|
CoroutineImpl.call(this, resultContinuation);
|
|
1944
1944
|
}
|
|
1945
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1946
|
-
var tmp = this.
|
|
1945
|
+
protoOf(Logging$lambda$slambda_5).qov = function ($this$on, call, $completion) {
|
|
1946
|
+
var tmp = this.rov($this$on, call, $completion);
|
|
1947
1947
|
tmp.n9_1 = Unit_instance;
|
|
1948
1948
|
tmp.o9_1 = null;
|
|
1949
1949
|
return tmp.t9();
|
|
1950
1950
|
};
|
|
1951
1951
|
protoOf(Logging$lambda$slambda_5).ga = function (p1, p2, $completion) {
|
|
1952
1952
|
var tmp = p1 instanceof Context_2 ? p1 : THROW_CCE();
|
|
1953
|
-
return this.
|
|
1953
|
+
return this.qov(tmp, p2 instanceof HttpClientCall ? p2 : THROW_CCE(), $completion);
|
|
1954
1954
|
};
|
|
1955
1955
|
protoOf(Logging$lambda$slambda_5).t9 = function () {
|
|
1956
1956
|
var suspendResult = this.n9_1;
|
|
@@ -1960,22 +1960,22 @@ protoOf(Logging$lambda$slambda_5).t9 = function () {
|
|
|
1960
1960
|
switch (tmp) {
|
|
1961
1961
|
case 0:
|
|
1962
1962
|
this.m9_1 = 6;
|
|
1963
|
-
if (this.
|
|
1963
|
+
if (this.jov_1)
|
|
1964
1964
|
return Unit_instance;
|
|
1965
|
-
if (this.
|
|
1965
|
+
if (this.kov_1.equals(LogLevel_NONE_getInstance()) || this.mov_1.n4n().k3e(get_DisableLogging())) {
|
|
1966
1966
|
return Unit_instance;
|
|
1967
1967
|
}
|
|
1968
1968
|
|
|
1969
1969
|
this.m9_1 = 2;
|
|
1970
1970
|
this.l9_1 = 1;
|
|
1971
|
-
suspendResult = this.
|
|
1971
|
+
suspendResult = this.lov_1.doo(this);
|
|
1972
1972
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1973
1973
|
return suspendResult;
|
|
1974
1974
|
}
|
|
1975
1975
|
|
|
1976
1976
|
continue $sm;
|
|
1977
1977
|
case 1:
|
|
1978
|
-
this.
|
|
1978
|
+
this.nov_1 = suspendResult;
|
|
1979
1979
|
this.m9_1 = 6;
|
|
1980
1980
|
this.l9_1 = 5;
|
|
1981
1981
|
continue $sm;
|
|
@@ -1983,12 +1983,12 @@ protoOf(Logging$lambda$slambda_5).t9 = function () {
|
|
|
1983
1983
|
this.m9_1 = 6;
|
|
1984
1984
|
var tmp_0 = this.o9_1;
|
|
1985
1985
|
if (tmp_0 instanceof Error) {
|
|
1986
|
-
this.
|
|
1986
|
+
this.oov_1 = this.o9_1;
|
|
1987
1987
|
var log = StringBuilder_init_$Create$();
|
|
1988
|
-
this.
|
|
1989
|
-
invoke$logResponseException(this.
|
|
1988
|
+
this.pov_1 = this.mov_1.n4n().i3e(get_ClientCallLogger());
|
|
1989
|
+
invoke$logResponseException(this.kov_1, log, this.mov_1.m4n(), this.oov_1);
|
|
1990
1990
|
this.l9_1 = 3;
|
|
1991
|
-
suspendResult = this.
|
|
1991
|
+
suspendResult = this.pov_1.jok(log.toString(), this);
|
|
1992
1992
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1993
1993
|
return suspendResult;
|
|
1994
1994
|
}
|
|
@@ -1999,7 +1999,7 @@ protoOf(Logging$lambda$slambda_5).t9 = function () {
|
|
|
1999
1999
|
|
|
2000
2000
|
case 3:
|
|
2001
2001
|
this.l9_1 = 4;
|
|
2002
|
-
suspendResult = this.
|
|
2002
|
+
suspendResult = this.pov_1.mok(this);
|
|
2003
2003
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2004
2004
|
return suspendResult;
|
|
2005
2005
|
}
|
|
@@ -2007,7 +2007,7 @@ protoOf(Logging$lambda$slambda_5).t9 = function () {
|
|
|
2007
2007
|
continue $sm;
|
|
2008
2008
|
case 4:
|
|
2009
2009
|
var tmp_1 = this;
|
|
2010
|
-
throw this.
|
|
2010
|
+
throw this.oov_1;
|
|
2011
2011
|
case 5:
|
|
2012
2012
|
this.m9_1 = 6;
|
|
2013
2013
|
return Unit_instance;
|
|
@@ -2025,16 +2025,16 @@ protoOf(Logging$lambda$slambda_5).t9 = function () {
|
|
|
2025
2025
|
}
|
|
2026
2026
|
while (true);
|
|
2027
2027
|
};
|
|
2028
|
-
protoOf(Logging$lambda$slambda_5).
|
|
2029
|
-
var i = new Logging$lambda$slambda_5(this.
|
|
2030
|
-
i.
|
|
2031
|
-
i.
|
|
2028
|
+
protoOf(Logging$lambda$slambda_5).rov = function ($this$on, call, completion) {
|
|
2029
|
+
var i = new Logging$lambda$slambda_5(this.jov_1, this.kov_1, completion);
|
|
2030
|
+
i.lov_1 = $this$on;
|
|
2031
|
+
i.mov_1 = call;
|
|
2032
2032
|
return i;
|
|
2033
2033
|
};
|
|
2034
2034
|
function Logging$lambda$slambda_6($okHttpFormat, $level, resultContinuation) {
|
|
2035
2035
|
var i = new Logging$lambda$slambda_5($okHttpFormat, $level, resultContinuation);
|
|
2036
2036
|
var l = function ($this$on, call, $completion) {
|
|
2037
|
-
return i.
|
|
2037
|
+
return i.qov($this$on, call, $completion);
|
|
2038
2038
|
};
|
|
2039
2039
|
l.$arity = 2;
|
|
2040
2040
|
return l;
|
|
@@ -2044,7 +2044,7 @@ function Logging$lambda$lambda$lambda(it) {
|
|
|
2044
2044
|
return !get_isSaved(it.d4l());
|
|
2045
2045
|
}
|
|
2046
2046
|
function Logging$lambda$lambda$slambda($level, resultContinuation) {
|
|
2047
|
-
this.
|
|
2047
|
+
this.aow_1 = $level;
|
|
2048
2048
|
CoroutineImpl.call(this, resultContinuation);
|
|
2049
2049
|
}
|
|
2050
2050
|
protoOf(Logging$lambda$lambda$slambda).e4x = function (response, $completion) {
|
|
@@ -2064,11 +2064,11 @@ protoOf(Logging$lambda$lambda$slambda).t9 = function () {
|
|
|
2064
2064
|
switch (tmp) {
|
|
2065
2065
|
case 0:
|
|
2066
2066
|
this.m9_1 = 3;
|
|
2067
|
-
if (this.
|
|
2067
|
+
if (this.aow_1.equals(LogLevel_NONE_getInstance()) || this.bow_1.u4n().n4n().k3e(get_DisableLogging()))
|
|
2068
2068
|
return Unit_instance;
|
|
2069
|
-
this.
|
|
2069
|
+
this.cow_1 = this.bow_1.u4n().n4n().i3e(get_ClientCallLogger());
|
|
2070
2070
|
this.l9_1 = 1;
|
|
2071
|
-
suspendResult = logResponseBody(this.
|
|
2071
|
+
suspendResult = logResponseBody(this.cow_1, this.bow_1, this);
|
|
2072
2072
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2073
2073
|
return suspendResult;
|
|
2074
2074
|
}
|
|
@@ -2076,7 +2076,7 @@ protoOf(Logging$lambda$lambda$slambda).t9 = function () {
|
|
|
2076
2076
|
continue $sm;
|
|
2077
2077
|
case 1:
|
|
2078
2078
|
this.l9_1 = 2;
|
|
2079
|
-
suspendResult = this.
|
|
2079
|
+
suspendResult = this.cow_1.mok(this);
|
|
2080
2080
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2081
2081
|
return suspendResult;
|
|
2082
2082
|
}
|
|
@@ -2099,8 +2099,8 @@ protoOf(Logging$lambda$lambda$slambda).t9 = function () {
|
|
|
2099
2099
|
while (true);
|
|
2100
2100
|
};
|
|
2101
2101
|
protoOf(Logging$lambda$lambda$slambda).s4v = function (response, completion) {
|
|
2102
|
-
var i = new Logging$lambda$lambda$slambda(this.
|
|
2103
|
-
i.
|
|
2102
|
+
var i = new Logging$lambda$lambda$slambda(this.aow_1, completion);
|
|
2103
|
+
i.bow_1 = response;
|
|
2104
2104
|
return i;
|
|
2105
2105
|
};
|
|
2106
2106
|
function Logging$lambda$lambda$slambda_0($level, resultContinuation) {
|
|
@@ -2120,14 +2120,14 @@ function Logging$lambda$lambda($level) {
|
|
|
2120
2120
|
}
|
|
2121
2121
|
function $invoke$logRequestBodyCOROUTINE$(bodyFilter, url, content, contentLength, headers, method, logLines, body, resultContinuation) {
|
|
2122
2122
|
CoroutineImpl.call(this, resultContinuation);
|
|
2123
|
-
this.
|
|
2124
|
-
this.
|
|
2125
|
-
this.
|
|
2126
|
-
this.
|
|
2127
|
-
this.
|
|
2128
|
-
this.
|
|
2129
|
-
this.
|
|
2130
|
-
this.
|
|
2123
|
+
this.zop_1 = bodyFilter;
|
|
2124
|
+
this.aoq_1 = url;
|
|
2125
|
+
this.boq_1 = content;
|
|
2126
|
+
this.coq_1 = contentLength;
|
|
2127
|
+
this.doq_1 = headers;
|
|
2128
|
+
this.eoq_1 = method;
|
|
2129
|
+
this.foq_1 = logLines;
|
|
2130
|
+
this.goq_1 = body;
|
|
2131
2131
|
}
|
|
2132
2132
|
protoOf($invoke$logRequestBodyCOROUTINE$).t9 = function () {
|
|
2133
2133
|
var suspendResult = this.n9_1;
|
|
@@ -2138,7 +2138,7 @@ protoOf($invoke$logRequestBodyCOROUTINE$).t9 = function () {
|
|
|
2138
2138
|
case 0:
|
|
2139
2139
|
this.m9_1 = 2;
|
|
2140
2140
|
this.l9_1 = 1;
|
|
2141
|
-
suspendResult = this.
|
|
2141
|
+
suspendResult = this.zop_1.nok(this.aoq_1, this.coq_1, this.boq_1.s41(), this.doq_1, this.goq_1, this);
|
|
2142
2142
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2143
2143
|
return suspendResult;
|
|
2144
2144
|
}
|
|
@@ -2147,29 +2147,29 @@ protoOf($invoke$logRequestBodyCOROUTINE$).t9 = function () {
|
|
|
2147
2147
|
case 1:
|
|
2148
2148
|
var filteredBody = suspendResult;
|
|
2149
2149
|
if (filteredBody instanceof Empty) {
|
|
2150
|
-
this.
|
|
2150
|
+
this.foq_1.e1('--> END ' + this.eoq_1.e3w_1 + ' (0-byte body)');
|
|
2151
2151
|
} else {
|
|
2152
2152
|
if (filteredBody instanceof Skip) {
|
|
2153
2153
|
var this_0 = StringBuilder_init_$Create$();
|
|
2154
|
-
this_0.q('--> END ' + this.
|
|
2155
|
-
var tmp0_safe_receiver = filteredBody.
|
|
2154
|
+
this_0.q('--> END ' + this.eoq_1.e3w_1 + ' (');
|
|
2155
|
+
var tmp0_safe_receiver = filteredBody.rok_1;
|
|
2156
2156
|
if (tmp0_safe_receiver == null)
|
|
2157
2157
|
null;
|
|
2158
2158
|
else {
|
|
2159
2159
|
this_0.q(tmp0_safe_receiver + ' ');
|
|
2160
2160
|
}
|
|
2161
|
-
var tmp1_safe_receiver = filteredBody.
|
|
2161
|
+
var tmp1_safe_receiver = filteredBody.sok_1;
|
|
2162
2162
|
if (tmp1_safe_receiver == null)
|
|
2163
2163
|
null;
|
|
2164
2164
|
else {
|
|
2165
2165
|
this_0.q(tmp1_safe_receiver.toString() + '-byte ');
|
|
2166
2166
|
}
|
|
2167
2167
|
this_0.q('body omitted)');
|
|
2168
|
-
this.
|
|
2168
|
+
this.foq_1.e1(this_0.toString());
|
|
2169
2169
|
} else {
|
|
2170
2170
|
if (isInterface(filteredBody, Content)) {
|
|
2171
|
-
this.
|
|
2172
|
-
this.
|
|
2171
|
+
this.foq_1.e1(filteredBody.s1k());
|
|
2172
|
+
this.foq_1.e1('--> END ' + this.eoq_1.e3w_1 + ' (' + toString_0(filteredBody.qok()) + '-byte body)');
|
|
2173
2173
|
} else {
|
|
2174
2174
|
noWhenBranchMatchedException();
|
|
2175
2175
|
}
|
|
@@ -2193,14 +2193,14 @@ protoOf($invoke$logRequestBodyCOROUTINE$).t9 = function () {
|
|
|
2193
2193
|
};
|
|
2194
2194
|
function $invoke$logOutgoingContentCOROUTINE$($this_createClientPlugin, bodyFilter, url, content, method, headers, logLines, process, resultContinuation) {
|
|
2195
2195
|
CoroutineImpl.call(this, resultContinuation);
|
|
2196
|
-
this.
|
|
2197
|
-
this.
|
|
2198
|
-
this.
|
|
2199
|
-
this.
|
|
2200
|
-
this.
|
|
2201
|
-
this.
|
|
2202
|
-
this.
|
|
2203
|
-
this.
|
|
2196
|
+
this.poq_1 = $this_createClientPlugin;
|
|
2197
|
+
this.qoq_1 = bodyFilter;
|
|
2198
|
+
this.roq_1 = url;
|
|
2199
|
+
this.soq_1 = content;
|
|
2200
|
+
this.toq_1 = method;
|
|
2201
|
+
this.uoq_1 = headers;
|
|
2202
|
+
this.voq_1 = logLines;
|
|
2203
|
+
this.woq_1 = process;
|
|
2204
2204
|
}
|
|
2205
2205
|
protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
2206
2206
|
var suspendResult = this.n9_1;
|
|
@@ -2210,10 +2210,10 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2210
2210
|
switch (tmp) {
|
|
2211
2211
|
case 0:
|
|
2212
2212
|
this.m9_1 = 7;
|
|
2213
|
-
var tmp0_subject = this.
|
|
2213
|
+
var tmp0_subject = this.soq_1;
|
|
2214
2214
|
if (tmp0_subject instanceof ObservableContent) {
|
|
2215
2215
|
this.l9_1 = 5;
|
|
2216
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2216
|
+
suspendResult = invoke$logOutgoingContent(this.poq_1, this.qoq_1, this.roq_1, this.soq_1.o4q_1, this.toq_1, this.uoq_1, this.voq_1, this.woq_1, this);
|
|
2217
2217
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2218
2218
|
return suspendResult;
|
|
2219
2219
|
}
|
|
@@ -2221,41 +2221,41 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2221
2221
|
} else {
|
|
2222
2222
|
if (tmp0_subject instanceof MultiPartFormDataContent) {
|
|
2223
2223
|
var tmp_0 = this;
|
|
2224
|
-
var _iterator__ex2g4s = this.
|
|
2224
|
+
var _iterator__ex2g4s = this.soq_1.l64_1.t();
|
|
2225
2225
|
while (_iterator__ex2g4s.u()) {
|
|
2226
2226
|
var part = _iterator__ex2g4s.v();
|
|
2227
|
-
this.
|
|
2227
|
+
this.voq_1.e1('--' + this.soq_1.m64_1);
|
|
2228
2228
|
var _iterator__ex2g4s_0 = part.c65_1.i3i().t();
|
|
2229
2229
|
while (_iterator__ex2g4s_0.u()) {
|
|
2230
2230
|
var _destruct__k2r9zo = _iterator__ex2g4s_0.v();
|
|
2231
2231
|
var key = _destruct__k2r9zo.m1();
|
|
2232
2232
|
var values = _destruct__k2r9zo.n1();
|
|
2233
|
-
this.
|
|
2233
|
+
this.voq_1.e1(key + ': ' + joinToString(values, '; '));
|
|
2234
2234
|
}
|
|
2235
2235
|
if (part instanceof FormItem) {
|
|
2236
|
-
this.
|
|
2237
|
-
this.
|
|
2238
|
-
this.
|
|
2236
|
+
this.voq_1.e1('Content-Length: ' + part.g65_1.length);
|
|
2237
|
+
this.voq_1.e1('');
|
|
2238
|
+
this.voq_1.e1(part.g65_1);
|
|
2239
2239
|
} else {
|
|
2240
|
-
this.
|
|
2240
|
+
this.voq_1.e1('');
|
|
2241
2241
|
var contentLength = part.c65_1.de('Content-Length');
|
|
2242
2242
|
if (!(contentLength == null)) {
|
|
2243
|
-
this.
|
|
2243
|
+
this.voq_1.e1('binary ' + contentLength + '-byte body omitted');
|
|
2244
2244
|
} else {
|
|
2245
|
-
this.
|
|
2245
|
+
this.voq_1.e1('binary body omitted');
|
|
2246
2246
|
}
|
|
2247
2247
|
}
|
|
2248
2248
|
}
|
|
2249
|
-
this.
|
|
2250
|
-
this.
|
|
2251
|
-
tmp_0.
|
|
2249
|
+
this.voq_1.e1('--' + this.soq_1.m64_1 + '--');
|
|
2250
|
+
this.voq_1.e1('--> END ' + this.toq_1.e3w_1);
|
|
2251
|
+
tmp_0.xoq_1 = null;
|
|
2252
2252
|
this.l9_1 = 6;
|
|
2253
2253
|
continue $sm;
|
|
2254
2254
|
} else {
|
|
2255
2255
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
2256
|
-
var bytes = this.
|
|
2256
|
+
var bytes = this.soq_1.v41();
|
|
2257
2257
|
this.l9_1 = 4;
|
|
2258
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2258
|
+
suspendResult = invoke$logRequestBody(this.qoq_1, this.roq_1, this.soq_1, fromInt(bytes.length), this.uoq_1, this.toq_1, this.voq_1, ByteReadChannel(bytes), this);
|
|
2259
2259
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2260
2260
|
return suspendResult;
|
|
2261
2261
|
}
|
|
@@ -2263,7 +2263,7 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2263
2263
|
} else {
|
|
2264
2264
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
2265
2265
|
this.l9_1 = 3;
|
|
2266
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2266
|
+
suspendResult = invoke$logOutgoingContent(this.poq_1, this.qoq_1, this.roq_1, this.soq_1.e42(), this.toq_1, this.uoq_1, this.voq_1, this.woq_1, this);
|
|
2267
2267
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2268
2268
|
return suspendResult;
|
|
2269
2269
|
}
|
|
@@ -2271,24 +2271,24 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2271
2271
|
} else {
|
|
2272
2272
|
if (tmp0_subject instanceof NoContent) {
|
|
2273
2273
|
var tmp_1 = this;
|
|
2274
|
-
this.
|
|
2275
|
-
tmp_1.
|
|
2274
|
+
this.voq_1.e1('--> END ' + this.toq_1.e3w_1);
|
|
2275
|
+
tmp_1.xoq_1 = null;
|
|
2276
2276
|
this.l9_1 = 6;
|
|
2277
2277
|
continue $sm;
|
|
2278
2278
|
} else {
|
|
2279
2279
|
if (tmp0_subject instanceof ProtocolUpgrade) {
|
|
2280
2280
|
var tmp_2 = this;
|
|
2281
|
-
this.
|
|
2282
|
-
tmp_2.
|
|
2281
|
+
this.voq_1.e1('--> END ' + this.toq_1.e3w_1);
|
|
2282
|
+
tmp_2.xoq_1 = null;
|
|
2283
2283
|
this.l9_1 = 6;
|
|
2284
2284
|
continue $sm;
|
|
2285
2285
|
} else {
|
|
2286
2286
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
2287
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2288
|
-
this.
|
|
2287
|
+
var _destruct__k2r9zo_0 = split(this.soq_1.y41(), this.poq_1.r4u_1);
|
|
2288
|
+
this.yoq_1 = _destruct__k2r9zo_0.fh();
|
|
2289
2289
|
var newChannel = _destruct__k2r9zo_0.gh();
|
|
2290
2290
|
this.l9_1 = 2;
|
|
2291
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2291
|
+
suspendResult = invoke$logRequestBody(this.qoq_1, this.roq_1, this.soq_1, this.soq_1.u41(), this.uoq_1, this.toq_1, this.voq_1, newChannel, this);
|
|
2292
2292
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2293
2293
|
return suspendResult;
|
|
2294
2294
|
}
|
|
@@ -2296,12 +2296,12 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2296
2296
|
} else {
|
|
2297
2297
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
2298
2298
|
var channel = new ByteChannel();
|
|
2299
|
-
launch(this.
|
|
2300
|
-
var _destruct__k2r9zo_1 = split(channel, this.
|
|
2301
|
-
this.
|
|
2299
|
+
launch(this.poq_1.r4u_1, VOID, VOID, Logging$lambda$logOutgoingContent$slambda_0(this.soq_1, channel, null));
|
|
2300
|
+
var _destruct__k2r9zo_1 = split(channel, this.poq_1.r4u_1);
|
|
2301
|
+
this.zoq_1 = _destruct__k2r9zo_1.fh();
|
|
2302
2302
|
var newChannel_0 = _destruct__k2r9zo_1.gh();
|
|
2303
2303
|
this.l9_1 = 1;
|
|
2304
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2304
|
+
suspendResult = invoke$logRequestBody(this.qoq_1, this.roq_1, this.soq_1, this.soq_1.u41(), this.uoq_1, this.toq_1, this.voq_1, newChannel_0, this);
|
|
2305
2305
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2306
2306
|
return suspendResult;
|
|
2307
2307
|
}
|
|
@@ -2320,27 +2320,27 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2320
2320
|
|
|
2321
2321
|
break;
|
|
2322
2322
|
case 1:
|
|
2323
|
-
this.
|
|
2323
|
+
this.xoq_1 = new LoggedContent(this.soq_1, this.zoq_1);
|
|
2324
2324
|
this.l9_1 = 6;
|
|
2325
2325
|
continue $sm;
|
|
2326
2326
|
case 2:
|
|
2327
|
-
this.
|
|
2327
|
+
this.xoq_1 = new LoggedContent(this.soq_1, this.yoq_1);
|
|
2328
2328
|
this.l9_1 = 6;
|
|
2329
2329
|
continue $sm;
|
|
2330
2330
|
case 3:
|
|
2331
|
-
this.
|
|
2331
|
+
this.xoq_1 = suspendResult;
|
|
2332
2332
|
this.l9_1 = 6;
|
|
2333
2333
|
continue $sm;
|
|
2334
2334
|
case 4:
|
|
2335
|
-
this.
|
|
2335
|
+
this.xoq_1 = null;
|
|
2336
2336
|
this.l9_1 = 6;
|
|
2337
2337
|
continue $sm;
|
|
2338
2338
|
case 5:
|
|
2339
|
-
this.
|
|
2339
|
+
this.xoq_1 = suspendResult;
|
|
2340
2340
|
this.l9_1 = 6;
|
|
2341
2341
|
continue $sm;
|
|
2342
2342
|
case 6:
|
|
2343
|
-
return this.
|
|
2343
|
+
return this.xoq_1;
|
|
2344
2344
|
case 7:
|
|
2345
2345
|
throw this.o9_1;
|
|
2346
2346
|
}
|
|
@@ -2357,12 +2357,12 @@ protoOf($invoke$logOutgoingContentCOROUTINE$).t9 = function () {
|
|
|
2357
2357
|
};
|
|
2358
2358
|
function $invoke$logRequestOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, bodyFilter, request, logLines, resultContinuation) {
|
|
2359
2359
|
CoroutineImpl.call(this, resultContinuation);
|
|
2360
|
-
this.
|
|
2361
|
-
this.
|
|
2362
|
-
this.
|
|
2363
|
-
this.
|
|
2364
|
-
this.
|
|
2365
|
-
this.
|
|
2360
|
+
this.ior_1 = sanitizedHeaders;
|
|
2361
|
+
this.jor_1 = level;
|
|
2362
|
+
this.kor_1 = $this_createClientPlugin;
|
|
2363
|
+
this.lor_1 = bodyFilter;
|
|
2364
|
+
this.mor_1 = request;
|
|
2365
|
+
this.nor_1 = logLines;
|
|
2366
2366
|
}
|
|
2367
2367
|
protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
2368
2368
|
var suspendResult = this.n9_1;
|
|
@@ -2372,22 +2372,22 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2372
2372
|
switch (tmp) {
|
|
2373
2373
|
case 0:
|
|
2374
2374
|
this.m9_1 = 4;
|
|
2375
|
-
if (invoke$isNone(this.
|
|
2375
|
+
if (invoke$isNone(this.jor_1))
|
|
2376
2376
|
return null;
|
|
2377
|
-
var uri = pathQuery(takeFrom(new URLBuilder(), this.
|
|
2378
|
-
var body = this.
|
|
2377
|
+
var uri = pathQuery(takeFrom(new URLBuilder(), this.mor_1.d4m_1).h1s());
|
|
2378
|
+
var body = this.mor_1.g4m_1;
|
|
2379
2379
|
var this_0 = new HeadersBuilder();
|
|
2380
2380
|
var tmp_0;
|
|
2381
2381
|
var tmp_1;
|
|
2382
2382
|
var tmp_2;
|
|
2383
2383
|
if (body instanceof OutgoingContent) {
|
|
2384
|
-
tmp_2 = !this.
|
|
2384
|
+
tmp_2 = !this.mor_1.e4m_1.equals(Companion_getInstance().u3v_1);
|
|
2385
2385
|
} else {
|
|
2386
2386
|
tmp_2 = false;
|
|
2387
2387
|
}
|
|
2388
2388
|
|
|
2389
2389
|
if (tmp_2) {
|
|
2390
|
-
tmp_1 = !this.
|
|
2390
|
+
tmp_1 = !this.mor_1.e4m_1.equals(Companion_getInstance().z3v_1);
|
|
2391
2391
|
} else {
|
|
2392
2392
|
tmp_1 = false;
|
|
2393
2393
|
}
|
|
@@ -2413,16 +2413,16 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2413
2413
|
}
|
|
2414
2414
|
}
|
|
2415
2415
|
|
|
2416
|
-
appendAll(this_0, this.
|
|
2416
|
+
appendAll(this_0, this.mor_1.f4m_1);
|
|
2417
2417
|
var headers = this_0.h1s();
|
|
2418
2418
|
var tmp0_safe_receiver_0 = headers.de('Content-Length');
|
|
2419
2419
|
var contentLength = tmp0_safe_receiver_0 == null ? null : toLongOrNull(tmp0_safe_receiver_0);
|
|
2420
2420
|
var tmp_3;
|
|
2421
|
-
if (this.
|
|
2422
|
-
tmp_3 = '--> ' + this.
|
|
2421
|
+
if (this.mor_1.e4m_1.equals(Companion_getInstance().u3v_1) || this.mor_1.e4m_1.equals(Companion_getInstance().z3v_1) || ((invoke$isHeaders(this.jor_1) || invoke$isBody(this.jor_1)) && !(contentLength == null)) || (invoke$isHeaders(this.jor_1) && contentLength == null) || headers.g3i('Content-Encoding')) {
|
|
2422
|
+
tmp_3 = '--> ' + this.mor_1.e4m_1.e3w_1 + ' ' + uri;
|
|
2423
2423
|
} else {
|
|
2424
|
-
if (invoke$isInfo(this.
|
|
2425
|
-
tmp_3 = '--> ' + this.
|
|
2424
|
+
if (invoke$isInfo(this.jor_1) && !(contentLength == null)) {
|
|
2425
|
+
tmp_3 = '--> ' + this.mor_1.e4m_1.e3w_1 + ' ' + uri + ' (' + contentLength.toString() + '-byte body)';
|
|
2426
2426
|
} else {
|
|
2427
2427
|
var tmp_4;
|
|
2428
2428
|
if (body instanceof WriteChannelContent) {
|
|
@@ -2431,17 +2431,17 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2431
2431
|
tmp_4 = body instanceof ReadChannelContent;
|
|
2432
2432
|
}
|
|
2433
2433
|
if (tmp_4) {
|
|
2434
|
-
tmp_3 = '--> ' + this.
|
|
2434
|
+
tmp_3 = '--> ' + this.mor_1.e4m_1.e3w_1 + ' ' + uri + ' (unknown-byte body)';
|
|
2435
2435
|
} else {
|
|
2436
|
-
var size = computeRequestBodySize(this.
|
|
2437
|
-
tmp_3 = '--> ' + this.
|
|
2436
|
+
var size = computeRequestBodySize(this.mor_1.g4m_1);
|
|
2437
|
+
tmp_3 = '--> ' + this.mor_1.e4m_1.e3w_1 + ' ' + uri + ' (' + size.toString() + '-byte body)';
|
|
2438
2438
|
}
|
|
2439
2439
|
}
|
|
2440
2440
|
}
|
|
2441
2441
|
|
|
2442
2442
|
var startLine = tmp_3;
|
|
2443
|
-
this.
|
|
2444
|
-
if (!invoke$isHeaders(this.
|
|
2443
|
+
this.nor_1.e1(startLine);
|
|
2444
|
+
if (!invoke$isHeaders(this.jor_1) && !invoke$isBody(this.jor_1)) {
|
|
2445
2445
|
return null;
|
|
2446
2446
|
}
|
|
2447
2447
|
|
|
@@ -2450,13 +2450,13 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2450
2450
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2451
2451
|
var name = _destruct__k2r9zo.m1();
|
|
2452
2452
|
var values = _destruct__k2r9zo.n1();
|
|
2453
|
-
var tmp0 = this.
|
|
2453
|
+
var tmp0 = this.ior_1;
|
|
2454
2454
|
var tmp$ret$0 = Unit_instance;
|
|
2455
2455
|
l$ret$1: do {
|
|
2456
2456
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2457
2457
|
while (_iterator__ex2g4s_0.u()) {
|
|
2458
2458
|
var element = _iterator__ex2g4s_0.v();
|
|
2459
|
-
if (element.
|
|
2459
|
+
if (element.lom_1(name)) {
|
|
2460
2460
|
tmp$ret$0 = element;
|
|
2461
2461
|
break l$ret$1;
|
|
2462
2462
|
}
|
|
@@ -2465,35 +2465,35 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2465
2465
|
}
|
|
2466
2466
|
while (false);
|
|
2467
2467
|
if (tmp$ret$0 == null) {
|
|
2468
|
-
this.
|
|
2468
|
+
this.nor_1.e1(name + ': ' + joinToString(values, ', '));
|
|
2469
2469
|
} else {
|
|
2470
|
-
this.
|
|
2470
|
+
this.nor_1.e1(name + ': \u2588\u2588');
|
|
2471
2471
|
}
|
|
2472
2472
|
}
|
|
2473
2473
|
|
|
2474
|
-
if (!invoke$isBody(this.
|
|
2475
|
-
this.
|
|
2474
|
+
if (!invoke$isBody(this.jor_1) || this.mor_1.e4m_1.equals(Companion_getInstance().u3v_1) || this.mor_1.e4m_1.equals(Companion_getInstance().z3v_1)) {
|
|
2475
|
+
this.nor_1.e1('--> END ' + this.mor_1.e4m_1.e3w_1);
|
|
2476
2476
|
return null;
|
|
2477
2477
|
}
|
|
2478
2478
|
|
|
2479
|
-
this.
|
|
2479
|
+
this.nor_1.e1('');
|
|
2480
2480
|
if (!(body instanceof OutgoingContent)) {
|
|
2481
|
-
this.
|
|
2481
|
+
this.nor_1.e1('--> END ' + this.mor_1.e4m_1.e3w_1);
|
|
2482
2482
|
return null;
|
|
2483
2483
|
}
|
|
2484
2484
|
|
|
2485
|
-
if (this.
|
|
2485
|
+
if (this.mor_1.f4m_1.de('Content-Encoding') === 'gzip') {
|
|
2486
2486
|
this.l9_1 = 2;
|
|
2487
|
-
var tmp_5 = this.
|
|
2488
|
-
var tmp_6 = this.
|
|
2489
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2487
|
+
var tmp_5 = this.mor_1.d4m_1.h1s();
|
|
2488
|
+
var tmp_6 = this.mor_1.e4m_1;
|
|
2489
|
+
suspendResult = invoke$logOutgoingContent(this.kor_1, this.lor_1, tmp_5, body, tmp_6, headers, this.nor_1, Logging$lambda$logRequestOkHttpFormat$lambda, this);
|
|
2490
2490
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2491
2491
|
return suspendResult;
|
|
2492
2492
|
}
|
|
2493
2493
|
continue $sm;
|
|
2494
2494
|
} else {
|
|
2495
2495
|
this.l9_1 = 1;
|
|
2496
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2496
|
+
suspendResult = invoke$logOutgoingContent(this.kor_1, this.lor_1, this.mor_1.d4m_1.h1s(), body, this.mor_1.e4m_1, headers, this.nor_1, VOID, this);
|
|
2497
2497
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2498
2498
|
return suspendResult;
|
|
2499
2499
|
}
|
|
@@ -2501,15 +2501,15 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2501
2501
|
}
|
|
2502
2502
|
|
|
2503
2503
|
case 1:
|
|
2504
|
-
this.
|
|
2504
|
+
this.oor_1 = suspendResult;
|
|
2505
2505
|
this.l9_1 = 3;
|
|
2506
2506
|
continue $sm;
|
|
2507
2507
|
case 2:
|
|
2508
|
-
this.
|
|
2508
|
+
this.oor_1 = suspendResult;
|
|
2509
2509
|
this.l9_1 = 3;
|
|
2510
2510
|
continue $sm;
|
|
2511
2511
|
case 3:
|
|
2512
|
-
var newContent = this.
|
|
2512
|
+
var newContent = this.oor_1;
|
|
2513
2513
|
return newContent;
|
|
2514
2514
|
case 4:
|
|
2515
2515
|
throw this.o9_1;
|
|
@@ -2527,10 +2527,10 @@ protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2527
2527
|
};
|
|
2528
2528
|
function $invoke$logResponseBodyCOROUTINE$(bodyFilter, response, body, logLines, resultContinuation) {
|
|
2529
2529
|
CoroutineImpl.call(this, resultContinuation);
|
|
2530
|
-
this.
|
|
2531
|
-
this.
|
|
2532
|
-
this.
|
|
2533
|
-
this.
|
|
2530
|
+
this.xor_1 = bodyFilter;
|
|
2531
|
+
this.yor_1 = response;
|
|
2532
|
+
this.zor_1 = body;
|
|
2533
|
+
this.aos_1 = logLines;
|
|
2534
2534
|
}
|
|
2535
2535
|
protoOf($invoke$logResponseBodyCOROUTINE$).t9 = function () {
|
|
2536
2536
|
var suspendResult = this.n9_1;
|
|
@@ -2540,9 +2540,9 @@ protoOf($invoke$logResponseBodyCOROUTINE$).t9 = function () {
|
|
|
2540
2540
|
switch (tmp) {
|
|
2541
2541
|
case 0:
|
|
2542
2542
|
this.m9_1 = 2;
|
|
2543
|
-
this.
|
|
2543
|
+
this.aos_1.e1('');
|
|
2544
2544
|
this.l9_1 = 1;
|
|
2545
|
-
suspendResult = this.
|
|
2545
|
+
suspendResult = this.xor_1.pok(this.yor_1.u4n().m4n().w4n(), contentLength(this.yor_1), contentType(this.yor_1), this.yor_1.t3v(), this.zor_1, this);
|
|
2546
2546
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2547
2547
|
return suspendResult;
|
|
2548
2548
|
}
|
|
@@ -2550,33 +2550,33 @@ protoOf($invoke$logResponseBodyCOROUTINE$).t9 = function () {
|
|
|
2550
2550
|
continue $sm;
|
|
2551
2551
|
case 1:
|
|
2552
2552
|
var filteredBody = suspendResult;
|
|
2553
|
-
var duration = subtract(this.
|
|
2553
|
+
var duration = subtract(this.yor_1.f4o().a3k_1, this.yor_1.e4o().a3k_1);
|
|
2554
2554
|
if (filteredBody instanceof Empty) {
|
|
2555
|
-
this.
|
|
2555
|
+
this.aos_1.e1('<-- END HTTP (' + duration.toString() + 'ms, 0-byte body)');
|
|
2556
2556
|
} else {
|
|
2557
2557
|
if (filteredBody instanceof Skip) {
|
|
2558
2558
|
var this_0 = StringBuilder_init_$Create$();
|
|
2559
2559
|
this_0.q('<-- END HTTP (');
|
|
2560
2560
|
this_0.cd(duration);
|
|
2561
2561
|
this_0.q('ms, ');
|
|
2562
|
-
var tmp0_safe_receiver = filteredBody.
|
|
2562
|
+
var tmp0_safe_receiver = filteredBody.rok_1;
|
|
2563
2563
|
if (tmp0_safe_receiver == null)
|
|
2564
2564
|
null;
|
|
2565
2565
|
else {
|
|
2566
2566
|
this_0.q(tmp0_safe_receiver + ' ');
|
|
2567
2567
|
}
|
|
2568
|
-
var tmp1_safe_receiver = filteredBody.
|
|
2568
|
+
var tmp1_safe_receiver = filteredBody.sok_1;
|
|
2569
2569
|
if (tmp1_safe_receiver == null)
|
|
2570
2570
|
null;
|
|
2571
2571
|
else {
|
|
2572
2572
|
this_0.q(tmp1_safe_receiver.toString() + '-byte ');
|
|
2573
2573
|
}
|
|
2574
2574
|
this_0.q('body omitted)');
|
|
2575
|
-
this.
|
|
2575
|
+
this.aos_1.e1(this_0.toString());
|
|
2576
2576
|
} else {
|
|
2577
2577
|
if (isInterface(filteredBody, Content)) {
|
|
2578
|
-
this.
|
|
2579
|
-
this.
|
|
2578
|
+
this.aos_1.e1(filteredBody.s1k());
|
|
2579
|
+
this.aos_1.e1('<-- END HTTP (' + duration.toString() + 'ms, ' + toString_0(filteredBody.qok()) + '-byte body)');
|
|
2580
2580
|
} else {
|
|
2581
2581
|
noWhenBranchMatchedException();
|
|
2582
2582
|
}
|
|
@@ -2600,11 +2600,11 @@ protoOf($invoke$logResponseBodyCOROUTINE$).t9 = function () {
|
|
|
2600
2600
|
};
|
|
2601
2601
|
function $invoke$logResponseOkHttpFormatCOROUTINE$(sanitizedHeaders, level, bodyFilter, response, logLines, resultContinuation) {
|
|
2602
2602
|
CoroutineImpl.call(this, resultContinuation);
|
|
2603
|
-
this.
|
|
2604
|
-
this.
|
|
2605
|
-
this.
|
|
2606
|
-
this.
|
|
2607
|
-
this.
|
|
2603
|
+
this.jos_1 = sanitizedHeaders;
|
|
2604
|
+
this.kos_1 = level;
|
|
2605
|
+
this.los_1 = bodyFilter;
|
|
2606
|
+
this.mos_1 = response;
|
|
2607
|
+
this.nos_1 = logLines;
|
|
2608
2608
|
}
|
|
2609
2609
|
protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).t9 = function () {
|
|
2610
2610
|
var suspendResult = this.n9_1;
|
|
@@ -2614,30 +2614,30 @@ protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2614
2614
|
switch (tmp) {
|
|
2615
2615
|
case 0:
|
|
2616
2616
|
this.m9_1 = 4;
|
|
2617
|
-
if (invoke$isNone(this.
|
|
2618
|
-
return this.
|
|
2619
|
-
var tmp0_safe_receiver = this.
|
|
2617
|
+
if (invoke$isNone(this.kos_1))
|
|
2618
|
+
return this.mos_1;
|
|
2619
|
+
var tmp0_safe_receiver = this.mos_1.t3v().de('Content-Length');
|
|
2620
2620
|
var contentLength = tmp0_safe_receiver == null ? null : toLongOrNull(tmp0_safe_receiver);
|
|
2621
|
-
var request = get_request(this.
|
|
2622
|
-
var duration = subtract(this.
|
|
2623
|
-
var startLine = this.
|
|
2624
|
-
this.
|
|
2625
|
-
if (!invoke$isHeaders(this.
|
|
2626
|
-
return this.
|
|
2621
|
+
var request = get_request(this.mos_1);
|
|
2622
|
+
var duration = subtract(this.mos_1.f4o().a3k_1, this.mos_1.e4o().a3k_1);
|
|
2623
|
+
var startLine = this.mos_1.t3v().de('Transfer-Encoding') === 'chunked' && (invoke$isInfo(this.kos_1) || invoke$isHeaders(this.kos_1)) ? '<-- ' + this.mos_1.t41().toString() + ' ' + pathQuery(request.w4n()) + ' (' + duration.toString() + 'ms, unknown-byte body)' : invoke$isInfo(this.kos_1) && !(contentLength == null) ? '<-- ' + this.mos_1.t41().toString() + ' ' + pathQuery(request.w4n()) + ' (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)' : invoke$isBody(this.kos_1) || (invoke$isInfo(this.kos_1) && contentLength == null) || (invoke$isHeaders(this.kos_1) && !(contentLength == null)) || this.mos_1.t3v().de('Content-Encoding') === 'gzip' ? '<-- ' + this.mos_1.t41().toString() + ' ' + pathQuery(request.w4n()) + ' (' + duration.toString() + 'ms)' : '<-- ' + this.mos_1.t41().toString() + ' ' + pathQuery(request.w4n()) + ' (' + duration.toString() + 'ms, unknown-byte body)';
|
|
2624
|
+
this.nos_1.e1(startLine);
|
|
2625
|
+
if (!invoke$isHeaders(this.kos_1) && !invoke$isBody(this.kos_1)) {
|
|
2626
|
+
return this.mos_1;
|
|
2627
2627
|
}
|
|
2628
2628
|
|
|
2629
|
-
var _iterator__ex2g4s = this.
|
|
2629
|
+
var _iterator__ex2g4s = this.mos_1.t3v().i3i().t();
|
|
2630
2630
|
while (_iterator__ex2g4s.u()) {
|
|
2631
2631
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2632
2632
|
var name = _destruct__k2r9zo.m1();
|
|
2633
2633
|
var values = _destruct__k2r9zo.n1();
|
|
2634
|
-
var tmp0 = this.
|
|
2634
|
+
var tmp0 = this.jos_1;
|
|
2635
2635
|
var tmp$ret$0 = Unit_instance;
|
|
2636
2636
|
l$ret$1: do {
|
|
2637
2637
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2638
2638
|
while (_iterator__ex2g4s_0.u()) {
|
|
2639
2639
|
var element = _iterator__ex2g4s_0.v();
|
|
2640
|
-
if (element.
|
|
2640
|
+
if (element.lom_1(name)) {
|
|
2641
2641
|
tmp$ret$0 = element;
|
|
2642
2642
|
break l$ret$1;
|
|
2643
2643
|
}
|
|
@@ -2646,30 +2646,30 @@ protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2646
2646
|
}
|
|
2647
2647
|
while (false);
|
|
2648
2648
|
if (tmp$ret$0 == null) {
|
|
2649
|
-
this.
|
|
2649
|
+
this.nos_1.e1(name + ': ' + joinToString(values, ', '));
|
|
2650
2650
|
} else {
|
|
2651
|
-
this.
|
|
2651
|
+
this.nos_1.e1(name + ': \u2588\u2588');
|
|
2652
2652
|
}
|
|
2653
2653
|
}
|
|
2654
2654
|
|
|
2655
|
-
if (!invoke$isBody(this.
|
|
2656
|
-
this.
|
|
2657
|
-
return this.
|
|
2655
|
+
if (!invoke$isBody(this.kos_1)) {
|
|
2656
|
+
this.nos_1.e1('<-- END HTTP');
|
|
2657
|
+
return this.mos_1;
|
|
2658
2658
|
}
|
|
2659
2659
|
|
|
2660
2660
|
if (!(contentLength == null) && contentLength === 0n) {
|
|
2661
|
-
this.
|
|
2662
|
-
return this.
|
|
2661
|
+
this.nos_1.e1('<-- END HTTP (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)');
|
|
2662
|
+
return this.mos_1;
|
|
2663
2663
|
}
|
|
2664
2664
|
|
|
2665
|
-
if (equals(contentType(this.
|
|
2666
|
-
this.
|
|
2667
|
-
return this.
|
|
2665
|
+
if (equals(contentType(this.mos_1), Text_getInstance().c3q_1)) {
|
|
2666
|
+
this.nos_1.e1('<-- END HTTP (streaming)');
|
|
2667
|
+
return this.mos_1;
|
|
2668
2668
|
}
|
|
2669
2669
|
|
|
2670
|
-
if (get_isSaved(this.
|
|
2670
|
+
if (get_isSaved(this.mos_1)) {
|
|
2671
2671
|
this.l9_1 = 3;
|
|
2672
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2672
|
+
suspendResult = invoke$logResponseBody(this.los_1, this.mos_1, this.mos_1.c4o(), this.nos_1, this);
|
|
2673
2673
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2674
2674
|
return suspendResult;
|
|
2675
2675
|
}
|
|
@@ -2680,22 +2680,22 @@ protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).t9 = function () {
|
|
|
2680
2680
|
}
|
|
2681
2681
|
|
|
2682
2682
|
case 1:
|
|
2683
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2684
|
-
this.
|
|
2683
|
+
var _destruct__k2r9zo_0 = split(this.mos_1.c4o(), this.mos_1);
|
|
2684
|
+
this.oos_1 = _destruct__k2r9zo_0.fh();
|
|
2685
2685
|
var newChannel = _destruct__k2r9zo_0.gh();
|
|
2686
2686
|
this.l9_1 = 2;
|
|
2687
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2687
|
+
suspendResult = invoke$logResponseBody(this.los_1, this.mos_1, newChannel, this.nos_1, this);
|
|
2688
2688
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2689
2689
|
return suspendResult;
|
|
2690
2690
|
}
|
|
2691
2691
|
|
|
2692
2692
|
continue $sm;
|
|
2693
2693
|
case 2:
|
|
2694
|
-
var tmp_0 = this.
|
|
2695
|
-
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.
|
|
2694
|
+
var tmp_0 = this.mos_1.u4n();
|
|
2695
|
+
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.oos_1));
|
|
2696
2696
|
return call.d4l();
|
|
2697
2697
|
case 3:
|
|
2698
|
-
return this.
|
|
2698
|
+
return this.mos_1;
|
|
2699
2699
|
case 4:
|
|
2700
2700
|
throw this.o9_1;
|
|
2701
2701
|
}
|
|
@@ -2789,7 +2789,7 @@ function logHeaders(_this__u8e3s4, headers, sanitizedHeaders) {
|
|
|
2789
2789
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
2790
2790
|
while (_iterator__ex2g4s_0.u()) {
|
|
2791
2791
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
2792
|
-
if (element_0.
|
|
2792
|
+
if (element_0.lom_1(key)) {
|
|
2793
2793
|
tmp$ret$5 = element_0;
|
|
2794
2794
|
break $l$block;
|
|
2795
2795
|
}
|
|
@@ -2797,7 +2797,7 @@ function logHeaders(_this__u8e3s4, headers, sanitizedHeaders) {
|
|
|
2797
2797
|
tmp$ret$5 = null;
|
|
2798
2798
|
}
|
|
2799
2799
|
var tmp0_safe_receiver = tmp$ret$5;
|
|
2800
|
-
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2800
|
+
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.kom_1;
|
|
2801
2801
|
logHeader(_this__u8e3s4, key, placeholder == null ? joinToString(values, '; ') : placeholder);
|
|
2802
2802
|
}
|
|
2803
2803
|
}
|
|
@@ -2809,7 +2809,7 @@ function logHeader(_this__u8e3s4, key, value) {
|
|
|
2809
2809
|
}
|
|
2810
2810
|
function logResponseHeader(log, response, level, sanitizedHeaders) {
|
|
2811
2811
|
// Inline function 'kotlin.with' call
|
|
2812
|
-
if (level.
|
|
2812
|
+
if (level.rol_1) {
|
|
2813
2813
|
// Inline function 'kotlin.text.appendLine' call
|
|
2814
2814
|
var value = 'RESPONSE: ' + response.t41().toString();
|
|
2815
2815
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -2823,7 +2823,7 @@ function logResponseHeader(log, response, level, sanitizedHeaders) {
|
|
|
2823
2823
|
// Inline function 'kotlin.text.appendLine' call
|
|
2824
2824
|
log.q(value_1).s(_Char___init__impl__6a9atx(10));
|
|
2825
2825
|
}
|
|
2826
|
-
if (level.
|
|
2826
|
+
if (level.sol_1) {
|
|
2827
2827
|
// Inline function 'kotlin.text.appendLine' call
|
|
2828
2828
|
var value_2 = 'COMMON HEADERS';
|
|
2829
2829
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -2844,16 +2844,16 @@ function appendResponseBody(_this__u8e3s4, contentType, content, $completion) {
|
|
|
2844
2844
|
return tmp.t9();
|
|
2845
2845
|
}
|
|
2846
2846
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2847
|
-
this.
|
|
2847
|
+
this.cox_1 = function_0;
|
|
2848
2848
|
}
|
|
2849
2849
|
protoOf(sam$kotlin_Comparator$0).te = function (a, b) {
|
|
2850
|
-
return this.
|
|
2850
|
+
return this.cox_1(a, b);
|
|
2851
2851
|
};
|
|
2852
2852
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2853
2853
|
return this.te(a, b);
|
|
2854
2854
|
};
|
|
2855
2855
|
protoOf(sam$kotlin_Comparator$0).t3 = function () {
|
|
2856
|
-
return this.
|
|
2856
|
+
return this.cox_1;
|
|
2857
2857
|
};
|
|
2858
2858
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2859
2859
|
var tmp;
|
|
@@ -2881,8 +2881,8 @@ function logHeaders$lambda(a, b) {
|
|
|
2881
2881
|
}
|
|
2882
2882
|
function $logResponseBodyCOROUTINE$_0(_this__u8e3s4, response, resultContinuation) {
|
|
2883
2883
|
CoroutineImpl.call(this, resultContinuation);
|
|
2884
|
-
this.
|
|
2885
|
-
this.
|
|
2884
|
+
this.low_1 = _this__u8e3s4;
|
|
2885
|
+
this.mow_1 = response;
|
|
2886
2886
|
}
|
|
2887
2887
|
protoOf($logResponseBodyCOROUTINE$_0).t9 = function () {
|
|
2888
2888
|
var suspendResult = this.n9_1;
|
|
@@ -2892,14 +2892,14 @@ protoOf($logResponseBodyCOROUTINE$_0).t9 = function () {
|
|
|
2892
2892
|
switch (tmp) {
|
|
2893
2893
|
case 0:
|
|
2894
2894
|
this.m9_1 = 8;
|
|
2895
|
-
this.
|
|
2895
|
+
this.now_1 = StringBuilder_init_$Create$();
|
|
2896
2896
|
this.l9_1 = 1;
|
|
2897
2897
|
continue $sm;
|
|
2898
2898
|
case 1:
|
|
2899
2899
|
this.m9_1 = 4;
|
|
2900
2900
|
this.m9_1 = 3;
|
|
2901
2901
|
this.l9_1 = 2;
|
|
2902
|
-
suspendResult = appendResponseBody(this.
|
|
2902
|
+
suspendResult = appendResponseBody(this.now_1, contentType(this.mow_1), this.mow_1.c4o(), this);
|
|
2903
2903
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2904
2904
|
return suspendResult;
|
|
2905
2905
|
}
|
|
@@ -2923,22 +2923,22 @@ protoOf($logResponseBodyCOROUTINE$_0).t9 = function () {
|
|
|
2923
2923
|
|
|
2924
2924
|
case 4:
|
|
2925
2925
|
this.m9_1 = 8;
|
|
2926
|
-
this.
|
|
2926
|
+
this.oow_1 = this.o9_1;
|
|
2927
2927
|
this.l9_1 = 5;
|
|
2928
|
-
var this_0 = this.
|
|
2929
|
-
suspendResult = this.
|
|
2928
|
+
var this_0 = this.now_1.toString();
|
|
2929
|
+
suspendResult = this.low_1.kok(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())), this);
|
|
2930
2930
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2931
2931
|
return suspendResult;
|
|
2932
2932
|
}
|
|
2933
2933
|
|
|
2934
2934
|
continue $sm;
|
|
2935
2935
|
case 5:
|
|
2936
|
-
throw this.
|
|
2936
|
+
throw this.oow_1;
|
|
2937
2937
|
case 6:
|
|
2938
2938
|
this.m9_1 = 8;
|
|
2939
2939
|
this.l9_1 = 7;
|
|
2940
|
-
var this_1 = this.
|
|
2941
|
-
suspendResult = this.
|
|
2940
|
+
var this_1 = this.now_1.toString();
|
|
2941
|
+
suspendResult = this.low_1.kok(toString(trim(isCharSequence(this_1) ? this_1 : THROW_CCE())), this);
|
|
2942
2942
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2943
2943
|
return suspendResult;
|
|
2944
2944
|
}
|
|
@@ -2962,9 +2962,9 @@ protoOf($logResponseBodyCOROUTINE$_0).t9 = function () {
|
|
|
2962
2962
|
};
|
|
2963
2963
|
function $appendResponseBodyCOROUTINE$(_this__u8e3s4, contentType, content, resultContinuation) {
|
|
2964
2964
|
CoroutineImpl.call(this, resultContinuation);
|
|
2965
|
-
this.
|
|
2966
|
-
this.
|
|
2967
|
-
this.
|
|
2965
|
+
this.xow_1 = _this__u8e3s4;
|
|
2966
|
+
this.yow_1 = contentType;
|
|
2967
|
+
this.zow_1 = content;
|
|
2968
2968
|
}
|
|
2969
2969
|
protoOf($appendResponseBodyCOROUTINE$).t9 = function () {
|
|
2970
2970
|
var suspendResult = this.n9_1;
|
|
@@ -2974,16 +2974,16 @@ protoOf($appendResponseBodyCOROUTINE$).t9 = function () {
|
|
|
2974
2974
|
switch (tmp) {
|
|
2975
2975
|
case 0:
|
|
2976
2976
|
this.m9_1 = 3;
|
|
2977
|
-
var tmp0 = this.
|
|
2978
|
-
var value = 'BODY Content-Type: ' + toString_0(this.
|
|
2977
|
+
var tmp0 = this.xow_1;
|
|
2978
|
+
var value = 'BODY Content-Type: ' + toString_0(this.yow_1);
|
|
2979
2979
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
2980
|
-
var tmp0_0 = this.
|
|
2980
|
+
var tmp0_0 = this.xow_1;
|
|
2981
2981
|
var value_0 = 'BODY START';
|
|
2982
2982
|
tmp0_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
2983
|
-
var tmp0_1 = this.
|
|
2984
|
-
var tmp0_safe_receiver = this.
|
|
2983
|
+
var tmp0_1 = this.zow_1;
|
|
2984
|
+
var tmp0_safe_receiver = this.yow_1;
|
|
2985
2985
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
2986
|
-
this.
|
|
2986
|
+
this.box_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().d3d_1 : tmp1_elvis_lhs;
|
|
2987
2987
|
this.m9_1 = 2;
|
|
2988
2988
|
this.l9_1 = 1;
|
|
2989
2989
|
suspendResult = readRemaining(tmp0_1, this);
|
|
@@ -2994,7 +2994,7 @@ protoOf($appendResponseBodyCOROUTINE$).t9 = function () {
|
|
|
2994
2994
|
continue $sm;
|
|
2995
2995
|
case 1:
|
|
2996
2996
|
var ARGUMENT = suspendResult;
|
|
2997
|
-
this.
|
|
2997
|
+
this.aox_1 = readText(ARGUMENT, this.box_1);
|
|
2998
2998
|
this.m9_1 = 3;
|
|
2999
2999
|
this.l9_1 = 4;
|
|
3000
3000
|
continue $sm;
|
|
@@ -3004,7 +3004,7 @@ protoOf($appendResponseBodyCOROUTINE$).t9 = function () {
|
|
|
3004
3004
|
if (tmp_0 instanceof Error) {
|
|
3005
3005
|
var cause = this.o9_1;
|
|
3006
3006
|
var tmp_1 = this;
|
|
3007
|
-
tmp_1.
|
|
3007
|
+
tmp_1.aox_1 = null;
|
|
3008
3008
|
this.l9_1 = 4;
|
|
3009
3009
|
continue $sm;
|
|
3010
3010
|
} else {
|
|
@@ -3015,10 +3015,10 @@ protoOf($appendResponseBodyCOROUTINE$).t9 = function () {
|
|
|
3015
3015
|
throw this.o9_1;
|
|
3016
3016
|
case 4:
|
|
3017
3017
|
this.m9_1 = 3;
|
|
3018
|
-
var tmp2_elvis_lhs = this.
|
|
3018
|
+
var tmp2_elvis_lhs = this.aox_1;
|
|
3019
3019
|
var message = tmp2_elvis_lhs == null ? '[response body omitted]' : tmp2_elvis_lhs;
|
|
3020
|
-
this.
|
|
3021
|
-
this.
|
|
3020
|
+
this.xow_1.q(message).s(_Char___init__impl__6a9atx(10));
|
|
3021
|
+
this.xow_1.q('BODY END');
|
|
3022
3022
|
return Unit_instance;
|
|
3023
3023
|
}
|
|
3024
3024
|
} catch ($p) {
|
|
@@ -3044,7 +3044,7 @@ function toReadChannel(_this__u8e3s4) {
|
|
|
3044
3044
|
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).v3a_1;
|
|
3045
3045
|
}
|
|
3046
3046
|
function toReadChannel$slambda($this_toReadChannel, resultContinuation) {
|
|
3047
|
-
this.
|
|
3047
|
+
this.xox_1 = $this_toReadChannel;
|
|
3048
3048
|
CoroutineImpl.call(this, resultContinuation);
|
|
3049
3049
|
}
|
|
3050
3050
|
protoOf(toReadChannel$slambda).p47 = function ($this$writer, $completion) {
|
|
@@ -3065,7 +3065,7 @@ protoOf(toReadChannel$slambda).t9 = function () {
|
|
|
3065
3065
|
case 0:
|
|
3066
3066
|
this.m9_1 = 2;
|
|
3067
3067
|
this.l9_1 = 1;
|
|
3068
|
-
suspendResult = this.
|
|
3068
|
+
suspendResult = this.xox_1.a42(this.yox_1.x3a_1, this);
|
|
3069
3069
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3070
3070
|
return suspendResult;
|
|
3071
3071
|
}
|
|
@@ -3088,8 +3088,8 @@ protoOf(toReadChannel$slambda).t9 = function () {
|
|
|
3088
3088
|
while (true);
|
|
3089
3089
|
};
|
|
3090
3090
|
protoOf(toReadChannel$slambda).q47 = function ($this$writer, completion) {
|
|
3091
|
-
var i = new toReadChannel$slambda(this.
|
|
3092
|
-
i.
|
|
3091
|
+
var i = new toReadChannel$slambda(this.xox_1, completion);
|
|
3092
|
+
i.yox_1 = $this$writer;
|
|
3093
3093
|
return i;
|
|
3094
3094
|
};
|
|
3095
3095
|
function toReadChannel$slambda_0($this_toReadChannel, resultContinuation) {
|
|
@@ -3102,8 +3102,8 @@ function toReadChannel$slambda_0($this_toReadChannel, resultContinuation) {
|
|
|
3102
3102
|
}
|
|
3103
3103
|
function $observeCOROUTINE$(_this__u8e3s4, log, resultContinuation) {
|
|
3104
3104
|
CoroutineImpl.call(this, resultContinuation);
|
|
3105
|
-
this.
|
|
3106
|
-
this.
|
|
3105
|
+
this.lox_1 = _this__u8e3s4;
|
|
3106
|
+
this.mox_1 = log;
|
|
3107
3107
|
}
|
|
3108
3108
|
protoOf($observeCOROUTINE$).t9 = function () {
|
|
3109
3109
|
var suspendResult = this.n9_1;
|
|
@@ -3113,10 +3113,10 @@ protoOf($observeCOROUTINE$).t9 = function () {
|
|
|
3113
3113
|
switch (tmp) {
|
|
3114
3114
|
case 0:
|
|
3115
3115
|
this.m9_1 = 6;
|
|
3116
|
-
var tmp0_subject = this.
|
|
3116
|
+
var tmp0_subject = this.lox_1;
|
|
3117
3117
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
3118
3118
|
this.l9_1 = 3;
|
|
3119
|
-
suspendResult = writeFully_0(this.
|
|
3119
|
+
suspendResult = writeFully_0(this.mox_1, this.lox_1.v41(), VOID, VOID, this);
|
|
3120
3120
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3121
3121
|
return suspendResult;
|
|
3122
3122
|
}
|
|
@@ -3125,25 +3125,25 @@ protoOf($observeCOROUTINE$).t9 = function () {
|
|
|
3125
3125
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
3126
3126
|
var tmp_0 = this;
|
|
3127
3127
|
var responseChannel = new ByteChannel();
|
|
3128
|
-
var content = this.
|
|
3129
|
-
copyToBoth(content, this.
|
|
3130
|
-
tmp_0.
|
|
3128
|
+
var content = this.lox_1.y41();
|
|
3129
|
+
copyToBoth(content, this.mox_1, responseChannel);
|
|
3130
|
+
tmp_0.nox_1 = new LoggedContent(this.lox_1, responseChannel);
|
|
3131
3131
|
this.l9_1 = 5;
|
|
3132
3132
|
continue $sm;
|
|
3133
3133
|
} else {
|
|
3134
3134
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
3135
3135
|
var tmp_1 = this;
|
|
3136
3136
|
var responseChannel_0 = new ByteChannel();
|
|
3137
|
-
var content_0 = toReadChannel(this.
|
|
3138
|
-
copyToBoth(content_0, this.
|
|
3139
|
-
tmp_1.
|
|
3137
|
+
var content_0 = toReadChannel(this.lox_1);
|
|
3138
|
+
copyToBoth(content_0, this.mox_1, responseChannel_0);
|
|
3139
|
+
tmp_1.nox_1 = new LoggedContent(this.lox_1, responseChannel_0);
|
|
3140
3140
|
this.l9_1 = 5;
|
|
3141
3141
|
continue $sm;
|
|
3142
3142
|
} else {
|
|
3143
3143
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
3144
|
-
this.
|
|
3144
|
+
this.oox_1 = this.lox_1;
|
|
3145
3145
|
this.l9_1 = 2;
|
|
3146
|
-
suspendResult = observe(this.
|
|
3146
|
+
suspendResult = observe(this.lox_1.e42(), this.mox_1, this);
|
|
3147
3147
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3148
3148
|
return suspendResult;
|
|
3149
3149
|
}
|
|
@@ -3157,7 +3157,7 @@ protoOf($observeCOROUTINE$).t9 = function () {
|
|
|
3157
3157
|
}
|
|
3158
3158
|
if (tmp_2) {
|
|
3159
3159
|
this.l9_1 = 1;
|
|
3160
|
-
suspendResult = this.
|
|
3160
|
+
suspendResult = this.mox_1.x32(this);
|
|
3161
3161
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3162
3162
|
return suspendResult;
|
|
3163
3163
|
}
|
|
@@ -3173,28 +3173,28 @@ protoOf($observeCOROUTINE$).t9 = function () {
|
|
|
3173
3173
|
|
|
3174
3174
|
break;
|
|
3175
3175
|
case 1:
|
|
3176
|
-
this.
|
|
3176
|
+
this.nox_1 = this.lox_1;
|
|
3177
3177
|
this.l9_1 = 5;
|
|
3178
3178
|
continue $sm;
|
|
3179
3179
|
case 2:
|
|
3180
3180
|
var ARGUMENT = suspendResult;
|
|
3181
|
-
this.
|
|
3181
|
+
this.nox_1 = this.oox_1.f42(ARGUMENT);
|
|
3182
3182
|
this.l9_1 = 5;
|
|
3183
3183
|
continue $sm;
|
|
3184
3184
|
case 3:
|
|
3185
3185
|
this.l9_1 = 4;
|
|
3186
|
-
suspendResult = this.
|
|
3186
|
+
suspendResult = this.mox_1.x32(this);
|
|
3187
3187
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3188
3188
|
return suspendResult;
|
|
3189
3189
|
}
|
|
3190
3190
|
|
|
3191
3191
|
continue $sm;
|
|
3192
3192
|
case 4:
|
|
3193
|
-
this.
|
|
3193
|
+
this.nox_1 = this.lox_1;
|
|
3194
3194
|
this.l9_1 = 5;
|
|
3195
3195
|
continue $sm;
|
|
3196
3196
|
case 5:
|
|
3197
|
-
return this.
|
|
3197
|
+
return this.nox_1;
|
|
3198
3198
|
case 6:
|
|
3199
3199
|
throw this.o9_1;
|
|
3200
3200
|
}
|
|
@@ -3234,9 +3234,9 @@ function get_DEFAULT(_this__u8e3s4) {
|
|
|
3234
3234
|
return get_SIMPLE(_this__u8e3s4);
|
|
3235
3235
|
}
|
|
3236
3236
|
//region block: post-declaration
|
|
3237
|
-
protoOf(Empty).
|
|
3238
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
3239
|
-
protoOf(BinaryLogBodyFilter$1).
|
|
3237
|
+
protoOf(Empty).qok = get_byteSize;
|
|
3238
|
+
protoOf(BinaryLogBodyFilter$1).nok = filterRequest;
|
|
3239
|
+
protoOf(BinaryLogBodyFilter$1).pok = filterResponse;
|
|
3240
3240
|
protoOf(MDCContextElement).y9 = get;
|
|
3241
3241
|
protoOf(MDCContextElement).xj = fold;
|
|
3242
3242
|
protoOf(MDCContextElement).wj = minusKey;
|