client_plugin_logic_deb 1.8.468 → 1.8.469
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/Kosi-Kaverit-kaverit.js +73 -73
- package/Kosi-Kodein-kodein-di.js +608 -608
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1620 -1620
- package/Logic_Debertz-ai_module.js +583 -583
- package/Logic_Debertz-bot_engine.js +3274 -0
- package/Logic_Debertz-bot_engine.js.map +1 -0
- package/Logic_Debertz-client_plugin.d.ts +4 -2
- package/Logic_Debertz-client_plugin.js +5221 -5038
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +2129 -2129
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +18320 -18143
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +12500 -12443
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +2118 -2059
- package/Logic_Debertz-game_server.js.map +1 -1
- package/error-library-error.js +5 -5
- package/kotlin-kotlin-stdlib.js +2514 -2329
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +22 -22
- package/kotlinx-coroutines-core.js +3367 -3367
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +46 -46
- package/kotlinx-io-kotlinx-io-core.js +576 -576
- package/kotlinx-serialization-kotlinx-serialization-core.js +1857 -1857
- package/kotlinx-serialization-kotlinx-serialization-json.js +1447 -1447
- package/ktor-ktor-client-content-negotiation.js +210 -210
- package/ktor-ktor-client-core.js +3042 -3042
- package/ktor-ktor-client-logging.js +1120 -1120
- package/ktor-ktor-events.js +11 -11
- package/ktor-ktor-http-cio.js +522 -522
- package/ktor-ktor-http.js +733 -733
- package/ktor-ktor-io.js +1101 -1101
- package/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/ktor-ktor-serialization-kotlinx.js +246 -246
- package/ktor-ktor-serialization.js +119 -119
- package/ktor-ktor-utils.js +834 -834
- package/ktor-ktor-websockets.js +50 -50
- package/package.json +1 -1
- package/random-library-crypto-rand.js +12 -12
- package/random-library-secure-random.js +7 -7
- package/raspberry-cardgame-lib-core.js +256 -256
- package/raspberry-cardgame-lib-logger.js +102 -102
- package/raspberry-cardgame-lib-random.js +997 -997
- package/uuid.js +27 -27
|
@@ -33,41 +33,41 @@
|
|
|
33
33
|
}(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_jetbrains_kotlinx_atomicfu, kotlin_io_ktor_ktor_http, kotlin_io_ktor_ktor_utils, kotlin_io_ktor_ktor_client_core, kotlin_io_ktor_ktor_io, kotlin_org_jetbrains_kotlinx_kotlinx_io_core) {
|
|
34
34
|
'use strict';
|
|
35
35
|
//region block: imports
|
|
36
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
37
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
38
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
39
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
40
|
-
var trim = kotlin_kotlin.$_$.
|
|
41
|
-
var toString = kotlin_kotlin.$_$.
|
|
36
|
+
var CoroutineImpl = kotlin_kotlin.$_$.ob;
|
|
37
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ya;
|
|
38
|
+
var THROW_CCE = kotlin_kotlin.$_$.cj;
|
|
39
|
+
var isCharSequence = kotlin_kotlin.$_$.xd;
|
|
40
|
+
var trim = kotlin_kotlin.$_$.ci;
|
|
41
|
+
var toString = kotlin_kotlin.$_$.qe;
|
|
42
42
|
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
43
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
44
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
45
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
43
|
+
var protoOf = kotlin_kotlin.$_$.ne;
|
|
44
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.od;
|
|
45
|
+
var charSequenceLength = kotlin_kotlin.$_$.ad;
|
|
46
46
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
47
47
|
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.u1;
|
|
48
48
|
var atomic$boolean$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.c;
|
|
49
49
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.q2;
|
|
50
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
50
|
+
var initMetadataForClass = kotlin_kotlin.$_$.md;
|
|
51
51
|
var VOID = kotlin_kotlin.$_$.b;
|
|
52
|
-
var Enum = kotlin_kotlin.$_$.
|
|
52
|
+
var Enum = kotlin_kotlin.$_$.ri;
|
|
53
53
|
var ReadChannelContent = kotlin_io_ktor_ktor_http.$_$.r;
|
|
54
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
55
|
-
var println = kotlin_kotlin.$_$.
|
|
56
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
54
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.nd;
|
|
55
|
+
var println = kotlin_kotlin.$_$.sb;
|
|
56
|
+
var initMetadataForObject = kotlin_kotlin.$_$.sd;
|
|
57
57
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
58
58
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.t;
|
|
59
59
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.s1;
|
|
60
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
61
|
-
var Long = kotlin_kotlin.$_$.
|
|
60
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.jf;
|
|
61
|
+
var Long = kotlin_kotlin.$_$.wi;
|
|
62
62
|
var ProtocolUpgrade = kotlin_io_ktor_ktor_http.$_$.q;
|
|
63
63
|
var NoContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
64
64
|
var ContentWrapper = kotlin_io_ktor_ktor_http.$_$.o;
|
|
65
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
65
|
+
var fromInt = kotlin_kotlin.$_$.ec;
|
|
66
66
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.n;
|
|
67
67
|
var PipelineContext = kotlin_io_ktor_ktor_utils.$_$.h;
|
|
68
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
68
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.rd;
|
|
69
69
|
var Phases_getInstance = kotlin_io_ktor_ktor_client_core.$_$.b;
|
|
70
|
-
var isSuspendFunction = kotlin_kotlin.$_$.
|
|
70
|
+
var isSuspendFunction = kotlin_kotlin.$_$.ee;
|
|
71
71
|
var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.w;
|
|
72
72
|
var PipelinePhase = kotlin_io_ktor_ktor_utils.$_$.i;
|
|
73
73
|
var Phases_getInstance_0 = kotlin_io_ktor_ktor_client_core.$_$.c;
|
|
@@ -75,14 +75,14 @@
|
|
|
75
75
|
var Phases_getInstance_1 = kotlin_io_ktor_ktor_client_core.$_$.d;
|
|
76
76
|
var get_ResponseObserver = kotlin_io_ktor_ktor_client_core.$_$.k;
|
|
77
77
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t1;
|
|
78
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
78
|
+
var isInterface = kotlin_kotlin.$_$.be;
|
|
79
79
|
var writeFully = kotlin_io_ktor_ktor_io.$_$.l;
|
|
80
80
|
var copyTo = kotlin_io_ktor_ktor_io.$_$.b;
|
|
81
81
|
var GZipEncoder_getInstance = kotlin_io_ktor_ktor_utils.$_$.a;
|
|
82
82
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.f;
|
|
83
83
|
var readText = kotlin_io_ktor_ktor_io.$_$.z;
|
|
84
84
|
var Collection = kotlin_kotlin.$_$.m5;
|
|
85
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
85
|
+
var toString_0 = kotlin_kotlin.$_$.gk;
|
|
86
86
|
var charset = kotlin_io_ktor_ktor_http.$_$.h1;
|
|
87
87
|
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.o;
|
|
88
88
|
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.i1;
|
|
@@ -92,20 +92,20 @@
|
|
|
92
92
|
var Url = kotlin_io_ktor_ktor_http.$_$.d1;
|
|
93
93
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
|
|
94
94
|
var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.q;
|
|
95
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
96
|
-
var equals = kotlin_kotlin.$_$.
|
|
95
|
+
var joinToString = kotlin_kotlin.$_$.j8;
|
|
96
|
+
var equals = kotlin_kotlin.$_$.ed;
|
|
97
97
|
var get_isSaved = kotlin_io_ktor_ktor_client_core.$_$.p;
|
|
98
98
|
var HttpClientCall = kotlin_io_ktor_ktor_client_core.$_$.f;
|
|
99
|
-
var Triple = kotlin_kotlin.$_$.
|
|
99
|
+
var Triple = kotlin_kotlin.$_$.ej;
|
|
100
100
|
var readAvailable = kotlin_io_ktor_ktor_io.$_$.d;
|
|
101
101
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.j;
|
|
102
102
|
var writeFully_0 = kotlin_io_ktor_ktor_io.$_$.d1;
|
|
103
103
|
var decode = kotlin_io_ktor_ktor_io.$_$.s;
|
|
104
104
|
var MalformedInputException = kotlin_io_ktor_ktor_io.$_$.r;
|
|
105
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
105
|
+
var charCodeAt = kotlin_kotlin.$_$.yc;
|
|
106
106
|
var async = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w1;
|
|
107
|
-
var add = kotlin_kotlin.$_$.
|
|
108
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
107
|
+
var add = kotlin_kotlin.$_$.ub;
|
|
108
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.bk;
|
|
109
109
|
var split = kotlin_io_ktor_ktor_utils.$_$.c1;
|
|
110
110
|
var WriteChannelContent = kotlin_io_ktor_ktor_http.$_$.s;
|
|
111
111
|
var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.j1;
|
|
@@ -116,34 +116,34 @@
|
|
|
116
116
|
var EmptyContent = kotlin_io_ktor_ktor_client_core.$_$.z;
|
|
117
117
|
var appendIfNameAbsent = kotlin_io_ktor_ktor_utils.$_$.y;
|
|
118
118
|
var appendAll = kotlin_io_ktor_ktor_utils.$_$.x;
|
|
119
|
-
var toLongOrNull = kotlin_kotlin.$_$.
|
|
119
|
+
var toLongOrNull = kotlin_kotlin.$_$.sh;
|
|
120
120
|
var contentLength = kotlin_io_ktor_ktor_http.$_$.i1;
|
|
121
121
|
var contentType = kotlin_io_ktor_ktor_http.$_$.l1;
|
|
122
|
-
var subtract = kotlin_kotlin.$_$.
|
|
122
|
+
var subtract = kotlin_kotlin.$_$.pc;
|
|
123
123
|
var get_request = kotlin_io_ktor_ktor_client_core.$_$.y;
|
|
124
124
|
var Text_getInstance = kotlin_io_ktor_ktor_http.$_$.e;
|
|
125
125
|
var replaceResponse = kotlin_io_ktor_ktor_client_core.$_$.g;
|
|
126
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
127
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
128
|
-
var createKType = kotlin_kotlin.$_$.
|
|
126
|
+
var getKClass = kotlin_kotlin.$_$.kf;
|
|
127
|
+
var arrayOf = kotlin_kotlin.$_$.qj;
|
|
128
|
+
var createKType = kotlin_kotlin.$_$.if;
|
|
129
129
|
var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.k;
|
|
130
130
|
var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.m;
|
|
131
|
-
var Unit = kotlin_kotlin.$_$.
|
|
131
|
+
var Unit = kotlin_kotlin.$_$.nj;
|
|
132
132
|
var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.j;
|
|
133
|
-
var toList = kotlin_kotlin.$_$.
|
|
134
|
-
var sortedWith = kotlin_kotlin.$_$.
|
|
135
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
136
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
137
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
138
|
-
var compareValues = kotlin_kotlin.$_$.
|
|
133
|
+
var toList = kotlin_kotlin.$_$.ha;
|
|
134
|
+
var sortedWith = kotlin_kotlin.$_$.w9;
|
|
135
|
+
var FunctionAdapter = kotlin_kotlin.$_$.rc;
|
|
136
|
+
var Comparator = kotlin_kotlin.$_$.oi;
|
|
137
|
+
var hashCode = kotlin_kotlin.$_$.ld;
|
|
138
|
+
var compareValues = kotlin_kotlin.$_$.wa;
|
|
139
139
|
var writer = kotlin_io_ktor_ktor_io.$_$.s1;
|
|
140
140
|
var WriterScope = kotlin_io_ktor_ktor_io.$_$.l1;
|
|
141
141
|
var copyToBoth = kotlin_io_ktor_ktor_utils.$_$.z;
|
|
142
|
-
var get = kotlin_kotlin.$_$.
|
|
143
|
-
var fold = kotlin_kotlin.$_$.
|
|
144
|
-
var minusKey = kotlin_kotlin.$_$.
|
|
145
|
-
var plus = kotlin_kotlin.$_$.
|
|
146
|
-
var Element = kotlin_kotlin.$_$.
|
|
142
|
+
var get = kotlin_kotlin.$_$.kb;
|
|
143
|
+
var fold = kotlin_kotlin.$_$.jb;
|
|
144
|
+
var minusKey = kotlin_kotlin.$_$.lb;
|
|
145
|
+
var plus = kotlin_kotlin.$_$.nb;
|
|
146
|
+
var Element = kotlin_kotlin.$_$.mb;
|
|
147
147
|
//endregion
|
|
148
148
|
//region block: pre-declaration
|
|
149
149
|
initMetadataForCoroutine($logResponseExceptionCOROUTINE$, CoroutineImpl);
|
|
@@ -192,177 +192,177 @@
|
|
|
192
192
|
//endregion
|
|
193
193
|
function $logResponseExceptionCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
194
194
|
CoroutineImpl.call(this, resultContinuation);
|
|
195
|
-
this.
|
|
196
|
-
this.
|
|
195
|
+
this.p5o_1 = _this__u8e3s4;
|
|
196
|
+
this.q5o_1 = message;
|
|
197
197
|
}
|
|
198
|
-
protoOf($logResponseExceptionCOROUTINE$).
|
|
199
|
-
var suspendResult = this.
|
|
198
|
+
protoOf($logResponseExceptionCOROUTINE$).q9 = function () {
|
|
199
|
+
var suspendResult = this.k9_1;
|
|
200
200
|
$sm: do
|
|
201
201
|
try {
|
|
202
|
-
var tmp = this.
|
|
202
|
+
var tmp = this.i9_1;
|
|
203
203
|
switch (tmp) {
|
|
204
204
|
case 0:
|
|
205
|
-
this.
|
|
206
|
-
this.
|
|
207
|
-
suspendResult = this.
|
|
205
|
+
this.j9_1 = 2;
|
|
206
|
+
this.i9_1 = 1;
|
|
207
|
+
suspendResult = this.p5o_1.u5o_1.q1n(this);
|
|
208
208
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
209
209
|
return suspendResult;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
continue $sm;
|
|
213
213
|
case 1:
|
|
214
|
-
var this_0 = this.
|
|
215
|
-
this.
|
|
214
|
+
var this_0 = this.q5o_1;
|
|
215
|
+
this.p5o_1.r5o_1.y5o(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())));
|
|
216
216
|
return Unit_instance;
|
|
217
217
|
case 2:
|
|
218
|
-
throw this.
|
|
218
|
+
throw this.l9_1;
|
|
219
219
|
}
|
|
220
220
|
} catch ($p) {
|
|
221
221
|
var e = $p;
|
|
222
|
-
if (this.
|
|
222
|
+
if (this.j9_1 === 2) {
|
|
223
223
|
throw e;
|
|
224
224
|
} else {
|
|
225
|
-
this.
|
|
226
|
-
this.
|
|
225
|
+
this.i9_1 = this.j9_1;
|
|
226
|
+
this.l9_1 = e;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
while (true);
|
|
230
230
|
};
|
|
231
231
|
function $logResponseBodyCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
232
232
|
CoroutineImpl.call(this, resultContinuation);
|
|
233
|
-
this.
|
|
234
|
-
this.
|
|
233
|
+
this.h5p_1 = _this__u8e3s4;
|
|
234
|
+
this.i5p_1 = message;
|
|
235
235
|
}
|
|
236
|
-
protoOf($logResponseBodyCOROUTINE$).
|
|
237
|
-
var suspendResult = this.
|
|
236
|
+
protoOf($logResponseBodyCOROUTINE$).q9 = function () {
|
|
237
|
+
var suspendResult = this.k9_1;
|
|
238
238
|
$sm: do
|
|
239
239
|
try {
|
|
240
|
-
var tmp = this.
|
|
240
|
+
var tmp = this.i9_1;
|
|
241
241
|
switch (tmp) {
|
|
242
242
|
case 0:
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
245
|
-
suspendResult = this.
|
|
243
|
+
this.j9_1 = 2;
|
|
244
|
+
this.i9_1 = 1;
|
|
245
|
+
suspendResult = this.h5p_1.v5o_1.q1n(this);
|
|
246
246
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
247
247
|
return suspendResult;
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
continue $sm;
|
|
251
251
|
case 1:
|
|
252
|
-
this.
|
|
252
|
+
this.h5p_1.t5o_1.q(this.i5p_1);
|
|
253
253
|
return Unit_instance;
|
|
254
254
|
case 2:
|
|
255
|
-
throw this.
|
|
255
|
+
throw this.l9_1;
|
|
256
256
|
}
|
|
257
257
|
} catch ($p) {
|
|
258
258
|
var e = $p;
|
|
259
|
-
if (this.
|
|
259
|
+
if (this.j9_1 === 2) {
|
|
260
260
|
throw e;
|
|
261
261
|
} else {
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
262
|
+
this.i9_1 = this.j9_1;
|
|
263
|
+
this.l9_1 = e;
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
266
|
while (true);
|
|
267
267
|
};
|
|
268
268
|
function $closeResponseLogCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
269
269
|
CoroutineImpl.call(this, resultContinuation);
|
|
270
|
-
this.
|
|
270
|
+
this.r5p_1 = _this__u8e3s4;
|
|
271
271
|
}
|
|
272
|
-
protoOf($closeResponseLogCOROUTINE$).
|
|
273
|
-
var suspendResult = this.
|
|
272
|
+
protoOf($closeResponseLogCOROUTINE$).q9 = function () {
|
|
273
|
+
var suspendResult = this.k9_1;
|
|
274
274
|
$sm: do
|
|
275
275
|
try {
|
|
276
|
-
var tmp = this.
|
|
276
|
+
var tmp = this.i9_1;
|
|
277
277
|
switch (tmp) {
|
|
278
278
|
case 0:
|
|
279
|
-
this.
|
|
280
|
-
if (!this.
|
|
279
|
+
this.j9_1 = 2;
|
|
280
|
+
if (!this.r5p_1.x5o_1.atomicfu$compareAndSet(false, true))
|
|
281
281
|
return Unit_instance;
|
|
282
|
-
this.
|
|
283
|
-
suspendResult = this.
|
|
282
|
+
this.i9_1 = 1;
|
|
283
|
+
suspendResult = this.r5p_1.u5o_1.q1n(this);
|
|
284
284
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
285
285
|
return suspendResult;
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
continue $sm;
|
|
289
289
|
case 1:
|
|
290
|
-
var message = toString(trim(this.
|
|
290
|
+
var message = toString(trim(this.r5p_1.t5o_1));
|
|
291
291
|
if (charSequenceLength(message) > 0) {
|
|
292
|
-
this.
|
|
292
|
+
this.r5p_1.r5o_1.y5o(message);
|
|
293
293
|
}
|
|
294
294
|
|
|
295
295
|
return Unit_instance;
|
|
296
296
|
case 2:
|
|
297
|
-
throw this.
|
|
297
|
+
throw this.l9_1;
|
|
298
298
|
}
|
|
299
299
|
} catch ($p) {
|
|
300
300
|
var e = $p;
|
|
301
|
-
if (this.
|
|
301
|
+
if (this.j9_1 === 2) {
|
|
302
302
|
throw e;
|
|
303
303
|
} else {
|
|
304
|
-
this.
|
|
305
|
-
this.
|
|
304
|
+
this.i9_1 = this.j9_1;
|
|
305
|
+
this.l9_1 = e;
|
|
306
306
|
}
|
|
307
307
|
}
|
|
308
308
|
while (true);
|
|
309
309
|
};
|
|
310
310
|
function HttpClientCallLogger(logger) {
|
|
311
|
-
this.
|
|
312
|
-
this.r5o_1 = StringBuilder_init_$Create$();
|
|
311
|
+
this.r5o_1 = logger;
|
|
313
312
|
this.s5o_1 = StringBuilder_init_$Create$();
|
|
314
|
-
this.t5o_1 =
|
|
313
|
+
this.t5o_1 = StringBuilder_init_$Create$();
|
|
315
314
|
this.u5o_1 = Job();
|
|
316
|
-
this.v5o_1 =
|
|
315
|
+
this.v5o_1 = Job();
|
|
317
316
|
this.w5o_1 = atomic$boolean$1(false);
|
|
317
|
+
this.x5o_1 = atomic$boolean$1(false);
|
|
318
318
|
}
|
|
319
|
-
protoOf(HttpClientCallLogger).
|
|
320
|
-
var tmp0 = this.
|
|
319
|
+
protoOf(HttpClientCallLogger).s5p = function (message) {
|
|
320
|
+
var tmp0 = this.s5o_1;
|
|
321
321
|
// Inline function 'kotlin.text.trim' call
|
|
322
322
|
// Inline function 'kotlin.text.appendLine' call
|
|
323
323
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
324
324
|
// Inline function 'kotlin.text.appendLine' call
|
|
325
325
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
326
326
|
};
|
|
327
|
-
protoOf(HttpClientCallLogger).
|
|
328
|
-
var tmp0 = this.
|
|
327
|
+
protoOf(HttpClientCallLogger).t5p = function (message) {
|
|
328
|
+
var tmp0 = this.t5o_1;
|
|
329
329
|
// Inline function 'kotlin.text.trim' call
|
|
330
330
|
// Inline function 'kotlin.text.appendLine' call
|
|
331
331
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
332
332
|
// Inline function 'kotlin.text.appendLine' call
|
|
333
333
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
334
|
-
this.
|
|
334
|
+
this.v5o_1.r1u();
|
|
335
335
|
};
|
|
336
|
-
protoOf(HttpClientCallLogger).
|
|
336
|
+
protoOf(HttpClientCallLogger).u5p = function (message, $completion) {
|
|
337
337
|
var tmp = new $logResponseExceptionCOROUTINE$(this, message, $completion);
|
|
338
|
-
tmp.
|
|
339
|
-
tmp.
|
|
340
|
-
return tmp.
|
|
338
|
+
tmp.k9_1 = Unit_instance;
|
|
339
|
+
tmp.l9_1 = null;
|
|
340
|
+
return tmp.q9();
|
|
341
341
|
};
|
|
342
|
-
protoOf(HttpClientCallLogger).
|
|
342
|
+
protoOf(HttpClientCallLogger).v5p = function (message, $completion) {
|
|
343
343
|
var tmp = new $logResponseBodyCOROUTINE$(this, message, $completion);
|
|
344
|
-
tmp.
|
|
345
|
-
tmp.
|
|
346
|
-
return tmp.
|
|
344
|
+
tmp.k9_1 = Unit_instance;
|
|
345
|
+
tmp.l9_1 = null;
|
|
346
|
+
return tmp.q9();
|
|
347
347
|
};
|
|
348
|
-
protoOf(HttpClientCallLogger).
|
|
349
|
-
if (!this.
|
|
348
|
+
protoOf(HttpClientCallLogger).w5p = function () {
|
|
349
|
+
if (!this.w5o_1.atomicfu$compareAndSet(false, true))
|
|
350
350
|
return Unit_instance;
|
|
351
351
|
try {
|
|
352
|
-
var message = toString(trim(this.
|
|
352
|
+
var message = toString(trim(this.s5o_1));
|
|
353
353
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
354
354
|
if (charSequenceLength(message) > 0) {
|
|
355
|
-
this.
|
|
355
|
+
this.r5o_1.y5o(message);
|
|
356
356
|
}
|
|
357
357
|
}finally {
|
|
358
|
-
this.
|
|
358
|
+
this.u5o_1.r1u();
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
|
-
protoOf(HttpClientCallLogger).
|
|
361
|
+
protoOf(HttpClientCallLogger).x5p = function ($completion) {
|
|
362
362
|
var tmp = new $closeResponseLogCOROUTINE$(this, $completion);
|
|
363
|
-
tmp.
|
|
364
|
-
tmp.
|
|
365
|
-
return tmp.
|
|
363
|
+
tmp.k9_1 = Unit_instance;
|
|
364
|
+
tmp.l9_1 = null;
|
|
365
|
+
return tmp.q9();
|
|
366
366
|
};
|
|
367
367
|
var LogLevel_ALL_instance;
|
|
368
368
|
var LogLevel_HEADERS_instance;
|
|
@@ -382,9 +382,9 @@
|
|
|
382
382
|
}
|
|
383
383
|
function LogLevel(name, ordinal, info, headers, body) {
|
|
384
384
|
Enum.call(this, name, ordinal);
|
|
385
|
-
this.
|
|
386
|
-
this.
|
|
387
|
-
this.
|
|
385
|
+
this.a5q_1 = info;
|
|
386
|
+
this.b5q_1 = headers;
|
|
387
|
+
this.c5q_1 = body;
|
|
388
388
|
}
|
|
389
389
|
function LogLevel_ALL_getInstance() {
|
|
390
390
|
LogLevel_initEntries();
|
|
@@ -408,27 +408,27 @@
|
|
|
408
408
|
}
|
|
409
409
|
function LoggedContent(originalContent, channel) {
|
|
410
410
|
ReadChannelContent.call(this);
|
|
411
|
-
this.
|
|
412
|
-
this.
|
|
413
|
-
this.
|
|
414
|
-
this.
|
|
415
|
-
this.
|
|
416
|
-
this.
|
|
417
|
-
}
|
|
418
|
-
protoOf(LoggedContent).
|
|
419
|
-
return this.f5q_1;
|
|
420
|
-
};
|
|
421
|
-
protoOf(LoggedContent).o3s = function () {
|
|
411
|
+
this.e5q_1 = originalContent;
|
|
412
|
+
this.f5q_1 = channel;
|
|
413
|
+
this.g5q_1 = this.e5q_1.n3s();
|
|
414
|
+
this.h5q_1 = this.e5q_1.p3s();
|
|
415
|
+
this.i5q_1 = this.e5q_1.o3s();
|
|
416
|
+
this.j5q_1 = this.e5q_1.z3m();
|
|
417
|
+
}
|
|
418
|
+
protoOf(LoggedContent).n3s = function () {
|
|
422
419
|
return this.g5q_1;
|
|
423
420
|
};
|
|
424
|
-
protoOf(LoggedContent).
|
|
421
|
+
protoOf(LoggedContent).p3s = function () {
|
|
425
422
|
return this.h5q_1;
|
|
426
423
|
};
|
|
427
|
-
protoOf(LoggedContent).
|
|
424
|
+
protoOf(LoggedContent).o3s = function () {
|
|
428
425
|
return this.i5q_1;
|
|
429
426
|
};
|
|
430
|
-
protoOf(LoggedContent).
|
|
431
|
-
return this.
|
|
427
|
+
protoOf(LoggedContent).z3m = function () {
|
|
428
|
+
return this.j5q_1;
|
|
429
|
+
};
|
|
430
|
+
protoOf(LoggedContent).t3s = function () {
|
|
431
|
+
return this.f5q_1;
|
|
432
432
|
};
|
|
433
433
|
function Companion() {
|
|
434
434
|
}
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
}
|
|
442
442
|
function SimpleLogger() {
|
|
443
443
|
}
|
|
444
|
-
protoOf(SimpleLogger).
|
|
444
|
+
protoOf(SimpleLogger).y5o = function (message) {
|
|
445
445
|
println('HttpClient: ' + message);
|
|
446
446
|
};
|
|
447
447
|
var SimpleLogger_instance;
|
|
@@ -466,19 +466,19 @@
|
|
|
466
466
|
function LoggingConfig() {
|
|
467
467
|
var tmp = this;
|
|
468
468
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
469
|
-
tmp.
|
|
469
|
+
tmp.k5q_1 = ArrayList_init_$Create$();
|
|
470
470
|
var tmp_0 = this;
|
|
471
471
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
472
|
-
tmp_0.
|
|
473
|
-
this.
|
|
474
|
-
this.
|
|
475
|
-
this.
|
|
472
|
+
tmp_0.l5q_1 = ArrayList_init_$Create$();
|
|
473
|
+
this.m5q_1 = null;
|
|
474
|
+
this.n5q_1 = LoggingFormat_Default_getInstance();
|
|
475
|
+
this.o5q_1 = LogLevel_HEADERS_getInstance();
|
|
476
476
|
}
|
|
477
|
-
protoOf(LoggingConfig).
|
|
478
|
-
this.
|
|
477
|
+
protoOf(LoggingConfig).p5q = function (value) {
|
|
478
|
+
this.m5q_1 = value;
|
|
479
479
|
};
|
|
480
|
-
protoOf(LoggingConfig).
|
|
481
|
-
var tmp0_elvis_lhs = this.
|
|
480
|
+
protoOf(LoggingConfig).q5q = function () {
|
|
481
|
+
var tmp0_elvis_lhs = this.m5q_1;
|
|
482
482
|
return tmp0_elvis_lhs == null ? get_DEFAULT(Companion_instance) : tmp0_elvis_lhs;
|
|
483
483
|
};
|
|
484
484
|
var LoggingFormat_Default_instance;
|
|
@@ -500,17 +500,17 @@
|
|
|
500
500
|
// Inline function 'kotlin.apply' call
|
|
501
501
|
var this_0 = StringBuilder_init_$Create$();
|
|
502
502
|
// Inline function 'kotlin.text.isEmpty' call
|
|
503
|
-
var this_1 = _this__u8e3s4.
|
|
503
|
+
var this_1 = _this__u8e3s4.a3s();
|
|
504
504
|
if (charSequenceLength(this_1) === 0) {
|
|
505
505
|
this_0.q('/');
|
|
506
506
|
} else {
|
|
507
|
-
this_0.q(_this__u8e3s4.
|
|
507
|
+
this_0.q(_this__u8e3s4.a3s());
|
|
508
508
|
}
|
|
509
509
|
// Inline function 'kotlin.text.isEmpty' call
|
|
510
|
-
var this_2 = _this__u8e3s4.
|
|
510
|
+
var this_2 = _this__u8e3s4.d3s();
|
|
511
511
|
if (!(charSequenceLength(this_2) === 0)) {
|
|
512
512
|
this_0.q('?');
|
|
513
|
-
this_0.q(_this__u8e3s4.
|
|
513
|
+
this_0.q(_this__u8e3s4.d3s());
|
|
514
514
|
}
|
|
515
515
|
return this_0.toString();
|
|
516
516
|
}
|
|
@@ -522,10 +522,10 @@
|
|
|
522
522
|
}
|
|
523
523
|
var tmp;
|
|
524
524
|
if (content instanceof ByteArrayContent) {
|
|
525
|
-
tmp = fromInt(content.
|
|
525
|
+
tmp = fromInt(content.q3s().length);
|
|
526
526
|
} else {
|
|
527
527
|
if (content instanceof ContentWrapper) {
|
|
528
|
-
tmp = computeRequestBodySize(content.
|
|
528
|
+
tmp = computeRequestBodySize(content.z3s());
|
|
529
529
|
} else {
|
|
530
530
|
if (content instanceof NoContent) {
|
|
531
531
|
tmp = new Long(0, 0);
|
|
@@ -542,38 +542,38 @@
|
|
|
542
542
|
return tmp;
|
|
543
543
|
}
|
|
544
544
|
function Context(context) {
|
|
545
|
-
this.
|
|
545
|
+
this.r5q_1 = context;
|
|
546
546
|
}
|
|
547
|
-
protoOf(Context).
|
|
548
|
-
return this.
|
|
547
|
+
protoOf(Context).s5q = function (content, $completion) {
|
|
548
|
+
return this.r5q_1.h3e(content, $completion);
|
|
549
549
|
};
|
|
550
|
-
protoOf(Context).
|
|
551
|
-
return this.
|
|
550
|
+
protoOf(Context).t5q = function ($completion) {
|
|
551
|
+
return this.r5q_1.i3e($completion);
|
|
552
552
|
};
|
|
553
553
|
function SendHook$install$slambda($handler, resultContinuation) {
|
|
554
|
-
this.
|
|
554
|
+
this.c5r_1 = $handler;
|
|
555
555
|
CoroutineImpl.call(this, resultContinuation);
|
|
556
556
|
}
|
|
557
|
-
protoOf(SendHook$install$slambda).
|
|
558
|
-
var tmp = this.
|
|
559
|
-
tmp.
|
|
560
|
-
tmp.
|
|
561
|
-
return tmp.
|
|
557
|
+
protoOf(SendHook$install$slambda).c43 = function ($this$intercept, it, $completion) {
|
|
558
|
+
var tmp = this.d43($this$intercept, it, $completion);
|
|
559
|
+
tmp.k9_1 = Unit_instance;
|
|
560
|
+
tmp.l9_1 = null;
|
|
561
|
+
return tmp.q9();
|
|
562
562
|
};
|
|
563
|
-
protoOf(SendHook$install$slambda).
|
|
563
|
+
protoOf(SendHook$install$slambda).da = function (p1, p2, $completion) {
|
|
564
564
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
565
|
-
return this.
|
|
565
|
+
return this.c43(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
566
566
|
};
|
|
567
|
-
protoOf(SendHook$install$slambda).
|
|
568
|
-
var suspendResult = this.
|
|
567
|
+
protoOf(SendHook$install$slambda).q9 = function () {
|
|
568
|
+
var suspendResult = this.k9_1;
|
|
569
569
|
$sm: do
|
|
570
570
|
try {
|
|
571
|
-
var tmp = this.
|
|
571
|
+
var tmp = this.i9_1;
|
|
572
572
|
switch (tmp) {
|
|
573
573
|
case 0:
|
|
574
|
-
this.
|
|
575
|
-
this.
|
|
576
|
-
suspendResult = this.
|
|
574
|
+
this.j9_1 = 2;
|
|
575
|
+
this.i9_1 = 1;
|
|
576
|
+
suspendResult = this.c5r_1(new Context(this.d5r_1), this.d5r_1.d3f_1, this);
|
|
577
577
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
578
578
|
return suspendResult;
|
|
579
579
|
}
|
|
@@ -582,76 +582,76 @@
|
|
|
582
582
|
case 1:
|
|
583
583
|
return Unit_instance;
|
|
584
584
|
case 2:
|
|
585
|
-
throw this.
|
|
585
|
+
throw this.l9_1;
|
|
586
586
|
}
|
|
587
587
|
} catch ($p) {
|
|
588
588
|
var e = $p;
|
|
589
|
-
if (this.
|
|
589
|
+
if (this.j9_1 === 2) {
|
|
590
590
|
throw e;
|
|
591
591
|
} else {
|
|
592
|
-
this.
|
|
593
|
-
this.
|
|
592
|
+
this.i9_1 = this.j9_1;
|
|
593
|
+
this.l9_1 = e;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
596
|
while (true);
|
|
597
597
|
};
|
|
598
|
-
protoOf(SendHook$install$slambda).
|
|
599
|
-
var i = new SendHook$install$slambda(this.
|
|
600
|
-
i.
|
|
601
|
-
i.
|
|
598
|
+
protoOf(SendHook$install$slambda).d43 = function ($this$intercept, it, completion) {
|
|
599
|
+
var i = new SendHook$install$slambda(this.c5r_1, completion);
|
|
600
|
+
i.d5r_1 = $this$intercept;
|
|
601
|
+
i.e5r_1 = it;
|
|
602
602
|
return i;
|
|
603
603
|
};
|
|
604
604
|
function SendHook$install$slambda_0($handler, resultContinuation) {
|
|
605
605
|
var i = new SendHook$install$slambda($handler, resultContinuation);
|
|
606
606
|
var l = function ($this$intercept, it, $completion) {
|
|
607
|
-
return i.
|
|
607
|
+
return i.c43($this$intercept, it, $completion);
|
|
608
608
|
};
|
|
609
609
|
l.$arity = 2;
|
|
610
610
|
return l;
|
|
611
611
|
}
|
|
612
612
|
function SendHook() {
|
|
613
613
|
}
|
|
614
|
-
protoOf(SendHook).
|
|
615
|
-
var tmp = Phases_getInstance().
|
|
616
|
-
client.
|
|
614
|
+
protoOf(SendHook).f5r = function (client, handler) {
|
|
615
|
+
var tmp = Phases_getInstance().t44_1;
|
|
616
|
+
client.l42_1.h3f(tmp, SendHook$install$slambda_0(handler, null));
|
|
617
617
|
};
|
|
618
|
-
protoOf(SendHook).
|
|
619
|
-
return this.
|
|
618
|
+
protoOf(SendHook).s4b = function (client, handler) {
|
|
619
|
+
return this.f5r(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
620
620
|
};
|
|
621
621
|
var SendHook_instance;
|
|
622
622
|
function SendHook_getInstance() {
|
|
623
623
|
return SendHook_instance;
|
|
624
624
|
}
|
|
625
625
|
function Context_0(context) {
|
|
626
|
-
this.
|
|
626
|
+
this.g5r_1 = context;
|
|
627
627
|
}
|
|
628
|
-
protoOf(Context_0).
|
|
629
|
-
return this.
|
|
628
|
+
protoOf(Context_0).d50 = function (response, $completion) {
|
|
629
|
+
return this.g5r_1.h3e(response, $completion);
|
|
630
630
|
};
|
|
631
631
|
function ResponseAfterEncodingHook$install$slambda($handler, resultContinuation) {
|
|
632
|
-
this.
|
|
632
|
+
this.p5r_1 = $handler;
|
|
633
633
|
CoroutineImpl.call(this, resultContinuation);
|
|
634
634
|
}
|
|
635
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
636
|
-
var tmp = this.
|
|
637
|
-
tmp.
|
|
638
|
-
tmp.
|
|
639
|
-
return tmp.
|
|
635
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).e4c = function ($this$intercept, it, $completion) {
|
|
636
|
+
var tmp = this.f4c($this$intercept, it, $completion);
|
|
637
|
+
tmp.k9_1 = Unit_instance;
|
|
638
|
+
tmp.l9_1 = null;
|
|
639
|
+
return tmp.q9();
|
|
640
640
|
};
|
|
641
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
641
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).da = function (p1, p2, $completion) {
|
|
642
642
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
643
|
-
return this.
|
|
643
|
+
return this.e4c(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
644
644
|
};
|
|
645
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
646
|
-
var suspendResult = this.
|
|
645
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).q9 = function () {
|
|
646
|
+
var suspendResult = this.k9_1;
|
|
647
647
|
$sm: do
|
|
648
648
|
try {
|
|
649
|
-
var tmp = this.
|
|
649
|
+
var tmp = this.i9_1;
|
|
650
650
|
switch (tmp) {
|
|
651
651
|
case 0:
|
|
652
|
-
this.
|
|
653
|
-
this.
|
|
654
|
-
suspendResult = this.
|
|
652
|
+
this.j9_1 = 2;
|
|
653
|
+
this.i9_1 = 1;
|
|
654
|
+
suspendResult = this.p5r_1(new Context_0(this.q5r_1), this.q5r_1.g3e(), this);
|
|
655
655
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
656
656
|
return suspendResult;
|
|
657
657
|
}
|
|
@@ -660,77 +660,77 @@
|
|
|
660
660
|
case 1:
|
|
661
661
|
return Unit_instance;
|
|
662
662
|
case 2:
|
|
663
|
-
throw this.
|
|
663
|
+
throw this.l9_1;
|
|
664
664
|
}
|
|
665
665
|
} catch ($p) {
|
|
666
666
|
var e = $p;
|
|
667
|
-
if (this.
|
|
667
|
+
if (this.j9_1 === 2) {
|
|
668
668
|
throw e;
|
|
669
669
|
} else {
|
|
670
|
-
this.
|
|
671
|
-
this.
|
|
670
|
+
this.i9_1 = this.j9_1;
|
|
671
|
+
this.l9_1 = e;
|
|
672
672
|
}
|
|
673
673
|
}
|
|
674
674
|
while (true);
|
|
675
675
|
};
|
|
676
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
677
|
-
var i = new ResponseAfterEncodingHook$install$slambda(this.
|
|
678
|
-
i.
|
|
679
|
-
i.
|
|
676
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).f4c = function ($this$intercept, it, completion) {
|
|
677
|
+
var i = new ResponseAfterEncodingHook$install$slambda(this.p5r_1, completion);
|
|
678
|
+
i.q5r_1 = $this$intercept;
|
|
679
|
+
i.r5r_1 = it;
|
|
680
680
|
return i;
|
|
681
681
|
};
|
|
682
682
|
function ResponseAfterEncodingHook$install$slambda_0($handler, resultContinuation) {
|
|
683
683
|
var i = new ResponseAfterEncodingHook$install$slambda($handler, resultContinuation);
|
|
684
684
|
var l = function ($this$intercept, it, $completion) {
|
|
685
|
-
return i.
|
|
685
|
+
return i.e4c($this$intercept, it, $completion);
|
|
686
686
|
};
|
|
687
687
|
l.$arity = 2;
|
|
688
688
|
return l;
|
|
689
689
|
}
|
|
690
690
|
function ResponseAfterEncodingHook() {
|
|
691
691
|
}
|
|
692
|
-
protoOf(ResponseAfterEncodingHook).
|
|
692
|
+
protoOf(ResponseAfterEncodingHook).s5r = function (client, handler) {
|
|
693
693
|
var afterState = new PipelinePhase('AfterState');
|
|
694
|
-
client.
|
|
695
|
-
client.
|
|
694
|
+
client.m42_1.e3f(Phases_getInstance_0().i4c_1, afterState);
|
|
695
|
+
client.m42_1.h3f(afterState, ResponseAfterEncodingHook$install$slambda_0(handler, null));
|
|
696
696
|
};
|
|
697
|
-
protoOf(ResponseAfterEncodingHook).
|
|
698
|
-
return this.
|
|
697
|
+
protoOf(ResponseAfterEncodingHook).s4b = function (client, handler) {
|
|
698
|
+
return this.s5r(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
699
699
|
};
|
|
700
700
|
var ResponseAfterEncodingHook_instance;
|
|
701
701
|
function ResponseAfterEncodingHook_getInstance() {
|
|
702
702
|
return ResponseAfterEncodingHook_instance;
|
|
703
703
|
}
|
|
704
704
|
function Context_1(context) {
|
|
705
|
-
this.
|
|
705
|
+
this.t5r_1 = context;
|
|
706
706
|
}
|
|
707
|
-
protoOf(Context_1).
|
|
708
|
-
return this.
|
|
707
|
+
protoOf(Context_1).u5r = function ($completion) {
|
|
708
|
+
return this.t5r_1.i3e($completion);
|
|
709
709
|
};
|
|
710
710
|
function ResponseHook$install$slambda($handler, resultContinuation) {
|
|
711
|
-
this.
|
|
711
|
+
this.d5s_1 = $handler;
|
|
712
712
|
CoroutineImpl.call(this, resultContinuation);
|
|
713
713
|
}
|
|
714
|
-
protoOf(ResponseHook$install$slambda).
|
|
715
|
-
var tmp = this.
|
|
716
|
-
tmp.
|
|
717
|
-
tmp.
|
|
718
|
-
return tmp.
|
|
714
|
+
protoOf(ResponseHook$install$slambda).e4c = function ($this$intercept, it, $completion) {
|
|
715
|
+
var tmp = this.f4c($this$intercept, it, $completion);
|
|
716
|
+
tmp.k9_1 = Unit_instance;
|
|
717
|
+
tmp.l9_1 = null;
|
|
718
|
+
return tmp.q9();
|
|
719
719
|
};
|
|
720
|
-
protoOf(ResponseHook$install$slambda).
|
|
720
|
+
protoOf(ResponseHook$install$slambda).da = function (p1, p2, $completion) {
|
|
721
721
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
722
|
-
return this.
|
|
722
|
+
return this.e4c(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
723
723
|
};
|
|
724
|
-
protoOf(ResponseHook$install$slambda).
|
|
725
|
-
var suspendResult = this.
|
|
724
|
+
protoOf(ResponseHook$install$slambda).q9 = function () {
|
|
725
|
+
var suspendResult = this.k9_1;
|
|
726
726
|
$sm: do
|
|
727
727
|
try {
|
|
728
|
-
var tmp = this.
|
|
728
|
+
var tmp = this.i9_1;
|
|
729
729
|
switch (tmp) {
|
|
730
730
|
case 0:
|
|
731
|
-
this.
|
|
732
|
-
this.
|
|
733
|
-
suspendResult = this.
|
|
731
|
+
this.j9_1 = 2;
|
|
732
|
+
this.i9_1 = 1;
|
|
733
|
+
suspendResult = this.d5s_1(new Context_1(this.e5s_1), this.e5s_1.g3e(), this);
|
|
734
734
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
735
735
|
return suspendResult;
|
|
736
736
|
}
|
|
@@ -739,76 +739,76 @@
|
|
|
739
739
|
case 1:
|
|
740
740
|
return Unit_instance;
|
|
741
741
|
case 2:
|
|
742
|
-
throw this.
|
|
742
|
+
throw this.l9_1;
|
|
743
743
|
}
|
|
744
744
|
} catch ($p) {
|
|
745
745
|
var e = $p;
|
|
746
|
-
if (this.
|
|
746
|
+
if (this.j9_1 === 2) {
|
|
747
747
|
throw e;
|
|
748
748
|
} else {
|
|
749
|
-
this.
|
|
750
|
-
this.
|
|
749
|
+
this.i9_1 = this.j9_1;
|
|
750
|
+
this.l9_1 = e;
|
|
751
751
|
}
|
|
752
752
|
}
|
|
753
753
|
while (true);
|
|
754
754
|
};
|
|
755
|
-
protoOf(ResponseHook$install$slambda).
|
|
756
|
-
var i = new ResponseHook$install$slambda(this.
|
|
757
|
-
i.
|
|
758
|
-
i.
|
|
755
|
+
protoOf(ResponseHook$install$slambda).f4c = function ($this$intercept, it, completion) {
|
|
756
|
+
var i = new ResponseHook$install$slambda(this.d5s_1, completion);
|
|
757
|
+
i.e5s_1 = $this$intercept;
|
|
758
|
+
i.f5s_1 = it;
|
|
759
759
|
return i;
|
|
760
760
|
};
|
|
761
761
|
function ResponseHook$install$slambda_0($handler, resultContinuation) {
|
|
762
762
|
var i = new ResponseHook$install$slambda($handler, resultContinuation);
|
|
763
763
|
var l = function ($this$intercept, it, $completion) {
|
|
764
|
-
return i.
|
|
764
|
+
return i.e4c($this$intercept, it, $completion);
|
|
765
765
|
};
|
|
766
766
|
l.$arity = 2;
|
|
767
767
|
return l;
|
|
768
768
|
}
|
|
769
769
|
function ResponseHook() {
|
|
770
770
|
}
|
|
771
|
-
protoOf(ResponseHook).
|
|
772
|
-
var tmp = Phases_getInstance_0().
|
|
773
|
-
client.
|
|
771
|
+
protoOf(ResponseHook).g5s = function (client, handler) {
|
|
772
|
+
var tmp = Phases_getInstance_0().i4c_1;
|
|
773
|
+
client.m42_1.h3f(tmp, ResponseHook$install$slambda_0(handler, null));
|
|
774
774
|
};
|
|
775
|
-
protoOf(ResponseHook).
|
|
776
|
-
return this.
|
|
775
|
+
protoOf(ResponseHook).s4b = function (client, handler) {
|
|
776
|
+
return this.g5s(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
777
777
|
};
|
|
778
778
|
var ResponseHook_instance;
|
|
779
779
|
function ResponseHook_getInstance() {
|
|
780
780
|
return ResponseHook_instance;
|
|
781
781
|
}
|
|
782
782
|
function Context_2(context) {
|
|
783
|
-
this.
|
|
783
|
+
this.h5s_1 = context;
|
|
784
784
|
}
|
|
785
|
-
protoOf(Context_2).
|
|
786
|
-
return this.
|
|
785
|
+
protoOf(Context_2).i5s = function ($completion) {
|
|
786
|
+
return this.h5s_1.i3e($completion);
|
|
787
787
|
};
|
|
788
788
|
function ReceiveHook$install$slambda($handler, resultContinuation) {
|
|
789
|
-
this.
|
|
789
|
+
this.r5s_1 = $handler;
|
|
790
790
|
CoroutineImpl.call(this, resultContinuation);
|
|
791
791
|
}
|
|
792
|
-
protoOf(ReceiveHook$install$slambda).
|
|
793
|
-
var tmp = this.
|
|
794
|
-
tmp.
|
|
795
|
-
tmp.
|
|
796
|
-
return tmp.
|
|
792
|
+
protoOf(ReceiveHook$install$slambda).x43 = function ($this$intercept, it, $completion) {
|
|
793
|
+
var tmp = this.y43($this$intercept, it, $completion);
|
|
794
|
+
tmp.k9_1 = Unit_instance;
|
|
795
|
+
tmp.l9_1 = null;
|
|
796
|
+
return tmp.q9();
|
|
797
797
|
};
|
|
798
|
-
protoOf(ReceiveHook$install$slambda).
|
|
798
|
+
protoOf(ReceiveHook$install$slambda).da = function (p1, p2, $completion) {
|
|
799
799
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
800
|
-
return this.
|
|
800
|
+
return this.x43(tmp, p2 instanceof HttpResponseContainer ? p2 : THROW_CCE(), $completion);
|
|
801
801
|
};
|
|
802
|
-
protoOf(ReceiveHook$install$slambda).
|
|
803
|
-
var suspendResult = this.
|
|
802
|
+
protoOf(ReceiveHook$install$slambda).q9 = function () {
|
|
803
|
+
var suspendResult = this.k9_1;
|
|
804
804
|
$sm: do
|
|
805
805
|
try {
|
|
806
|
-
var tmp = this.
|
|
806
|
+
var tmp = this.i9_1;
|
|
807
807
|
switch (tmp) {
|
|
808
808
|
case 0:
|
|
809
|
-
this.
|
|
810
|
-
this.
|
|
811
|
-
suspendResult = this.
|
|
809
|
+
this.j9_1 = 2;
|
|
810
|
+
this.i9_1 = 1;
|
|
811
|
+
suspendResult = this.r5s_1(new Context_2(this.s5s_1), this.s5s_1.d3f_1, this);
|
|
812
812
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
813
813
|
return suspendResult;
|
|
814
814
|
}
|
|
@@ -817,41 +817,41 @@
|
|
|
817
817
|
case 1:
|
|
818
818
|
return Unit_instance;
|
|
819
819
|
case 2:
|
|
820
|
-
throw this.
|
|
820
|
+
throw this.l9_1;
|
|
821
821
|
}
|
|
822
822
|
} catch ($p) {
|
|
823
823
|
var e = $p;
|
|
824
|
-
if (this.
|
|
824
|
+
if (this.j9_1 === 2) {
|
|
825
825
|
throw e;
|
|
826
826
|
} else {
|
|
827
|
-
this.
|
|
828
|
-
this.
|
|
827
|
+
this.i9_1 = this.j9_1;
|
|
828
|
+
this.l9_1 = e;
|
|
829
829
|
}
|
|
830
830
|
}
|
|
831
831
|
while (true);
|
|
832
832
|
};
|
|
833
|
-
protoOf(ReceiveHook$install$slambda).
|
|
834
|
-
var i = new ReceiveHook$install$slambda(this.
|
|
835
|
-
i.
|
|
836
|
-
i.
|
|
833
|
+
protoOf(ReceiveHook$install$slambda).y43 = function ($this$intercept, it, completion) {
|
|
834
|
+
var i = new ReceiveHook$install$slambda(this.r5s_1, completion);
|
|
835
|
+
i.s5s_1 = $this$intercept;
|
|
836
|
+
i.t5s_1 = it;
|
|
837
837
|
return i;
|
|
838
838
|
};
|
|
839
839
|
function ReceiveHook$install$slambda_0($handler, resultContinuation) {
|
|
840
840
|
var i = new ReceiveHook$install$slambda($handler, resultContinuation);
|
|
841
841
|
var l = function ($this$intercept, it, $completion) {
|
|
842
|
-
return i.
|
|
842
|
+
return i.x43($this$intercept, it, $completion);
|
|
843
843
|
};
|
|
844
844
|
l.$arity = 2;
|
|
845
845
|
return l;
|
|
846
846
|
}
|
|
847
847
|
function ReceiveHook() {
|
|
848
848
|
}
|
|
849
|
-
protoOf(ReceiveHook).
|
|
850
|
-
var tmp = Phases_getInstance_1().
|
|
851
|
-
client.
|
|
849
|
+
protoOf(ReceiveHook).u5s = function (client, handler) {
|
|
850
|
+
var tmp = Phases_getInstance_1().h45_1;
|
|
851
|
+
client.k42_1.h3f(tmp, ReceiveHook$install$slambda_0(handler, null));
|
|
852
852
|
};
|
|
853
|
-
protoOf(ReceiveHook).
|
|
854
|
-
return this.
|
|
853
|
+
protoOf(ReceiveHook).s4b = function (client, handler) {
|
|
854
|
+
return this.u5s(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
855
855
|
};
|
|
856
856
|
var ReceiveHook_instance;
|
|
857
857
|
function ReceiveHook_getInstance() {
|
|
@@ -866,101 +866,101 @@
|
|
|
866
866
|
}
|
|
867
867
|
function Logging$lambda($this$createClientPlugin) {
|
|
868
868
|
_init_properties_Logging_kt__66pui5();
|
|
869
|
-
var logger = $this$createClientPlugin.
|
|
870
|
-
var level = $this$createClientPlugin.
|
|
871
|
-
var filters = $this$createClientPlugin.
|
|
872
|
-
var sanitizedHeaders = $this$createClientPlugin.
|
|
873
|
-
var okHttpFormat = $this$createClientPlugin.
|
|
869
|
+
var logger = $this$createClientPlugin.m4c_1.q5q();
|
|
870
|
+
var level = $this$createClientPlugin.m4c_1.o5q_1;
|
|
871
|
+
var filters = $this$createClientPlugin.m4c_1.k5q_1;
|
|
872
|
+
var sanitizedHeaders = $this$createClientPlugin.m4c_1.l5q_1;
|
|
873
|
+
var okHttpFormat = $this$createClientPlugin.m4c_1.n5q_1.equals(LoggingFormat_OkHttp_getInstance());
|
|
874
874
|
var tmp = SendHook_instance;
|
|
875
|
-
$this$createClientPlugin.
|
|
875
|
+
$this$createClientPlugin.p4c(tmp, Logging$lambda$slambda_0(okHttpFormat, logger, filters, sanitizedHeaders, level, $this$createClientPlugin, null));
|
|
876
876
|
var tmp_0 = ResponseAfterEncodingHook_instance;
|
|
877
|
-
$this$createClientPlugin.
|
|
877
|
+
$this$createClientPlugin.p4c(tmp_0, Logging$lambda$slambda_2(okHttpFormat, logger, sanitizedHeaders, level, $this$createClientPlugin, null));
|
|
878
878
|
var tmp_1 = ResponseHook_instance;
|
|
879
|
-
$this$createClientPlugin.
|
|
879
|
+
$this$createClientPlugin.p4c(tmp_1, Logging$lambda$slambda_4(okHttpFormat, level, sanitizedHeaders, null));
|
|
880
880
|
var tmp_2 = ReceiveHook_instance;
|
|
881
|
-
$this$createClientPlugin.
|
|
881
|
+
$this$createClientPlugin.p4c(tmp_2, Logging$lambda$slambda_6(okHttpFormat, level, null));
|
|
882
882
|
if (okHttpFormat)
|
|
883
883
|
return Unit_instance;
|
|
884
|
-
if (!level.
|
|
884
|
+
if (!level.c5q_1)
|
|
885
885
|
return Unit_instance;
|
|
886
886
|
var tmp_3 = get_ResponseObserver();
|
|
887
|
-
var responseObserver = tmp_3.
|
|
888
|
-
get_ResponseObserver().
|
|
887
|
+
var responseObserver = tmp_3.o45(Logging$lambda$lambda(level));
|
|
888
|
+
get_ResponseObserver().p45(responseObserver, $this$createClientPlugin.l4c_1);
|
|
889
889
|
return Unit_instance;
|
|
890
890
|
}
|
|
891
891
|
function Logging$lambda$detectIfBinary$slambda($channel, $firstChunk, $firstReadSize, $body, resultContinuation) {
|
|
892
|
-
this.
|
|
893
|
-
this.
|
|
894
|
-
this.
|
|
895
|
-
this.
|
|
892
|
+
this.d5t_1 = $channel;
|
|
893
|
+
this.e5t_1 = $firstChunk;
|
|
894
|
+
this.f5t_1 = $firstReadSize;
|
|
895
|
+
this.g5t_1 = $body;
|
|
896
896
|
CoroutineImpl.call(this, resultContinuation);
|
|
897
897
|
}
|
|
898
|
-
protoOf(Logging$lambda$detectIfBinary$slambda).
|
|
899
|
-
var tmp = this.
|
|
900
|
-
tmp.
|
|
901
|
-
tmp.
|
|
902
|
-
return tmp.
|
|
898
|
+
protoOf(Logging$lambda$detectIfBinary$slambda).j5t = function ($this$async, $completion) {
|
|
899
|
+
var tmp = this.v2b($this$async, $completion);
|
|
900
|
+
tmp.k9_1 = Unit_instance;
|
|
901
|
+
tmp.l9_1 = null;
|
|
902
|
+
return tmp.q9();
|
|
903
903
|
};
|
|
904
|
-
protoOf(Logging$lambda$detectIfBinary$slambda).
|
|
905
|
-
return this.
|
|
904
|
+
protoOf(Logging$lambda$detectIfBinary$slambda).ca = function (p1, $completion) {
|
|
905
|
+
return this.j5t((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
906
906
|
};
|
|
907
|
-
protoOf(Logging$lambda$detectIfBinary$slambda).
|
|
908
|
-
var suspendResult = this.
|
|
907
|
+
protoOf(Logging$lambda$detectIfBinary$slambda).q9 = function () {
|
|
908
|
+
var suspendResult = this.k9_1;
|
|
909
909
|
$sm: do
|
|
910
910
|
try {
|
|
911
|
-
var tmp = this.
|
|
911
|
+
var tmp = this.i9_1;
|
|
912
912
|
switch (tmp) {
|
|
913
913
|
case 0:
|
|
914
|
-
this.
|
|
915
|
-
this.
|
|
916
|
-
suspendResult = writeFully(this.
|
|
914
|
+
this.j9_1 = 4;
|
|
915
|
+
this.i9_1 = 1;
|
|
916
|
+
suspendResult = writeFully(this.d5t_1, this.e5t_1, 0, this.f5t_1, this);
|
|
917
917
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
918
918
|
return suspendResult;
|
|
919
919
|
}
|
|
920
920
|
|
|
921
921
|
continue $sm;
|
|
922
922
|
case 1:
|
|
923
|
-
this.
|
|
924
|
-
suspendResult = copyTo(this.
|
|
923
|
+
this.i9_1 = 2;
|
|
924
|
+
suspendResult = copyTo(this.g5t_1, this.d5t_1, this);
|
|
925
925
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
926
926
|
return suspendResult;
|
|
927
927
|
}
|
|
928
928
|
|
|
929
929
|
continue $sm;
|
|
930
930
|
case 2:
|
|
931
|
-
this.
|
|
932
|
-
this.
|
|
933
|
-
suspendResult = this.
|
|
931
|
+
this.i5t_1 = suspendResult;
|
|
932
|
+
this.i9_1 = 3;
|
|
933
|
+
suspendResult = this.d5t_1.u2w(this);
|
|
934
934
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
935
935
|
return suspendResult;
|
|
936
936
|
}
|
|
937
937
|
|
|
938
938
|
continue $sm;
|
|
939
939
|
case 3:
|
|
940
|
-
return this.
|
|
940
|
+
return this.i5t_1;
|
|
941
941
|
case 4:
|
|
942
|
-
throw this.
|
|
942
|
+
throw this.l9_1;
|
|
943
943
|
}
|
|
944
944
|
} catch ($p) {
|
|
945
945
|
var e = $p;
|
|
946
|
-
if (this.
|
|
946
|
+
if (this.j9_1 === 4) {
|
|
947
947
|
throw e;
|
|
948
948
|
} else {
|
|
949
|
-
this.
|
|
950
|
-
this.
|
|
949
|
+
this.i9_1 = this.j9_1;
|
|
950
|
+
this.l9_1 = e;
|
|
951
951
|
}
|
|
952
952
|
}
|
|
953
953
|
while (true);
|
|
954
954
|
};
|
|
955
|
-
protoOf(Logging$lambda$detectIfBinary$slambda).
|
|
956
|
-
var i = new Logging$lambda$detectIfBinary$slambda(this.
|
|
957
|
-
i.
|
|
955
|
+
protoOf(Logging$lambda$detectIfBinary$slambda).v2b = function ($this$async, completion) {
|
|
956
|
+
var i = new Logging$lambda$detectIfBinary$slambda(this.d5t_1, this.e5t_1, this.f5t_1, this.g5t_1, completion);
|
|
957
|
+
i.h5t_1 = $this$async;
|
|
958
958
|
return i;
|
|
959
959
|
};
|
|
960
960
|
function Logging$lambda$detectIfBinary$slambda_0($channel, $firstChunk, $firstReadSize, $body, resultContinuation) {
|
|
961
961
|
var i = new Logging$lambda$detectIfBinary$slambda($channel, $firstChunk, $firstReadSize, $body, resultContinuation);
|
|
962
962
|
var l = function ($this$async, $completion) {
|
|
963
|
-
return i.
|
|
963
|
+
return i.j5t($this$async, $completion);
|
|
964
964
|
};
|
|
965
965
|
l.$arity = 1;
|
|
966
966
|
return l;
|
|
@@ -970,67 +970,67 @@
|
|
|
970
970
|
return it;
|
|
971
971
|
}
|
|
972
972
|
function Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation) {
|
|
973
|
-
this.
|
|
974
|
-
this.
|
|
973
|
+
this.s5t_1 = $content;
|
|
974
|
+
this.t5t_1 = $channel;
|
|
975
975
|
CoroutineImpl.call(this, resultContinuation);
|
|
976
976
|
}
|
|
977
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
978
|
-
var tmp = this.
|
|
979
|
-
tmp.
|
|
980
|
-
tmp.
|
|
981
|
-
return tmp.
|
|
977
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).u2b = function ($this$launch, $completion) {
|
|
978
|
+
var tmp = this.v2b($this$launch, $completion);
|
|
979
|
+
tmp.k9_1 = Unit_instance;
|
|
980
|
+
tmp.l9_1 = null;
|
|
981
|
+
return tmp.q9();
|
|
982
982
|
};
|
|
983
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
984
|
-
return this.
|
|
983
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).ca = function (p1, $completion) {
|
|
984
|
+
return this.u2b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
985
985
|
};
|
|
986
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
987
|
-
var suspendResult = this.
|
|
986
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).q9 = function () {
|
|
987
|
+
var suspendResult = this.k9_1;
|
|
988
988
|
$sm: do
|
|
989
989
|
try {
|
|
990
|
-
var tmp = this.
|
|
990
|
+
var tmp = this.i9_1;
|
|
991
991
|
switch (tmp) {
|
|
992
992
|
case 0:
|
|
993
|
-
this.
|
|
994
|
-
this.
|
|
995
|
-
suspendResult = this.
|
|
993
|
+
this.j9_1 = 2;
|
|
994
|
+
this.i9_1 = 1;
|
|
995
|
+
suspendResult = this.s5t_1.v3s(this.t5t_1, this);
|
|
996
996
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
997
997
|
return suspendResult;
|
|
998
998
|
}
|
|
999
999
|
|
|
1000
1000
|
continue $sm;
|
|
1001
1001
|
case 1:
|
|
1002
|
-
this.
|
|
1002
|
+
this.t5t_1.r4();
|
|
1003
1003
|
return Unit_instance;
|
|
1004
1004
|
case 2:
|
|
1005
|
-
throw this.
|
|
1005
|
+
throw this.l9_1;
|
|
1006
1006
|
}
|
|
1007
1007
|
} catch ($p) {
|
|
1008
1008
|
var e = $p;
|
|
1009
|
-
if (this.
|
|
1009
|
+
if (this.j9_1 === 2) {
|
|
1010
1010
|
throw e;
|
|
1011
1011
|
} else {
|
|
1012
|
-
this.
|
|
1013
|
-
this.
|
|
1012
|
+
this.i9_1 = this.j9_1;
|
|
1013
|
+
this.l9_1 = e;
|
|
1014
1014
|
}
|
|
1015
1015
|
}
|
|
1016
1016
|
while (true);
|
|
1017
1017
|
};
|
|
1018
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
1019
|
-
var i = new Logging$lambda$logOutgoingContent$slambda(this.
|
|
1020
|
-
i.
|
|
1018
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).v2b = function ($this$launch, completion) {
|
|
1019
|
+
var i = new Logging$lambda$logOutgoingContent$slambda(this.s5t_1, this.t5t_1, completion);
|
|
1020
|
+
i.u5t_1 = $this$launch;
|
|
1021
1021
|
return i;
|
|
1022
1022
|
};
|
|
1023
1023
|
function Logging$lambda$logOutgoingContent$slambda_0($content, $channel, resultContinuation) {
|
|
1024
1024
|
var i = new Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation);
|
|
1025
1025
|
var l = function ($this$launch, $completion) {
|
|
1026
|
-
return i.
|
|
1026
|
+
return i.u2b($this$launch, $completion);
|
|
1027
1027
|
};
|
|
1028
1028
|
l.$arity = 1;
|
|
1029
1029
|
return l;
|
|
1030
1030
|
}
|
|
1031
1031
|
function Logging$lambda$logRequestOkHttpFormat$lambda(channel) {
|
|
1032
1032
|
_init_properties_Logging_kt__66pui5();
|
|
1033
|
-
return GZipEncoder_getInstance().
|
|
1033
|
+
return GZipEncoder_getInstance().f3b(channel);
|
|
1034
1034
|
}
|
|
1035
1035
|
function Logging$lambda$logResponseOkHttpFormat$lambda($origChannel) {
|
|
1036
1036
|
return function ($this$replaceResponse) {
|
|
@@ -1038,37 +1038,37 @@
|
|
|
1038
1038
|
};
|
|
1039
1039
|
}
|
|
1040
1040
|
function Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1041
|
-
this.
|
|
1042
|
-
this.
|
|
1043
|
-
this.
|
|
1044
|
-
this.
|
|
1041
|
+
this.d5u_1 = $channel;
|
|
1042
|
+
this.e5u_1 = $charset;
|
|
1043
|
+
this.f5u_1 = $requestLog;
|
|
1044
|
+
this.g5u_1 = $logger;
|
|
1045
1045
|
CoroutineImpl.call(this, resultContinuation);
|
|
1046
1046
|
}
|
|
1047
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1048
|
-
var tmp = this.
|
|
1049
|
-
tmp.
|
|
1050
|
-
tmp.
|
|
1051
|
-
return tmp.
|
|
1047
|
+
protoOf(Logging$lambda$logRequestBody$slambda).u2b = function ($this$launch, $completion) {
|
|
1048
|
+
var tmp = this.v2b($this$launch, $completion);
|
|
1049
|
+
tmp.k9_1 = Unit_instance;
|
|
1050
|
+
tmp.l9_1 = null;
|
|
1051
|
+
return tmp.q9();
|
|
1052
1052
|
};
|
|
1053
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1054
|
-
return this.
|
|
1053
|
+
protoOf(Logging$lambda$logRequestBody$slambda).ca = function (p1, $completion) {
|
|
1054
|
+
return this.u2b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1055
1055
|
};
|
|
1056
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1057
|
-
var suspendResult = this.
|
|
1056
|
+
protoOf(Logging$lambda$logRequestBody$slambda).q9 = function () {
|
|
1057
|
+
var suspendResult = this.k9_1;
|
|
1058
1058
|
$sm: do
|
|
1059
1059
|
try {
|
|
1060
|
-
var tmp = this.
|
|
1060
|
+
var tmp = this.i9_1;
|
|
1061
1061
|
switch (tmp) {
|
|
1062
1062
|
case 0:
|
|
1063
|
-
this.
|
|
1064
|
-
this.
|
|
1063
|
+
this.j9_1 = 7;
|
|
1064
|
+
this.i9_1 = 1;
|
|
1065
1065
|
continue $sm;
|
|
1066
1066
|
case 1:
|
|
1067
|
-
this.
|
|
1068
|
-
var tmp0 = this.
|
|
1069
|
-
this.
|
|
1070
|
-
this.
|
|
1071
|
-
this.
|
|
1067
|
+
this.j9_1 = 6;
|
|
1068
|
+
var tmp0 = this.d5u_1;
|
|
1069
|
+
this.k5u_1 = this.e5u_1;
|
|
1070
|
+
this.j9_1 = 3;
|
|
1071
|
+
this.i9_1 = 2;
|
|
1072
1072
|
suspendResult = readRemaining(tmp0, this);
|
|
1073
1073
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1074
1074
|
return suspendResult;
|
|
@@ -1077,70 +1077,70 @@
|
|
|
1077
1077
|
continue $sm;
|
|
1078
1078
|
case 2:
|
|
1079
1079
|
var ARGUMENT = suspendResult;
|
|
1080
|
-
this.
|
|
1081
|
-
this.
|
|
1082
|
-
this.
|
|
1080
|
+
this.j5u_1 = readText(ARGUMENT, this.k5u_1);
|
|
1081
|
+
this.j9_1 = 6;
|
|
1082
|
+
this.i9_1 = 4;
|
|
1083
1083
|
continue $sm;
|
|
1084
1084
|
case 3:
|
|
1085
|
-
this.
|
|
1086
|
-
var tmp_0 = this.
|
|
1085
|
+
this.j9_1 = 6;
|
|
1086
|
+
var tmp_0 = this.l9_1;
|
|
1087
1087
|
if (tmp_0 instanceof Error) {
|
|
1088
|
-
var cause = this.
|
|
1088
|
+
var cause = this.l9_1;
|
|
1089
1089
|
var tmp_1 = this;
|
|
1090
|
-
tmp_1.
|
|
1091
|
-
this.
|
|
1090
|
+
tmp_1.j5u_1 = null;
|
|
1091
|
+
this.i9_1 = 4;
|
|
1092
1092
|
continue $sm;
|
|
1093
1093
|
} else {
|
|
1094
|
-
throw this.
|
|
1094
|
+
throw this.l9_1;
|
|
1095
1095
|
}
|
|
1096
1096
|
|
|
1097
1097
|
case 4:
|
|
1098
|
-
this.
|
|
1099
|
-
var tmp0_elvis_lhs = this.
|
|
1098
|
+
this.j9_1 = 6;
|
|
1099
|
+
var tmp0_elvis_lhs = this.j5u_1;
|
|
1100
1100
|
var text = tmp0_elvis_lhs == null ? '[request body omitted]' : tmp0_elvis_lhs;
|
|
1101
|
-
var tmp0_0 = this.
|
|
1101
|
+
var tmp0_0 = this.f5u_1;
|
|
1102
1102
|
var value = 'BODY START';
|
|
1103
1103
|
tmp0_0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1104
|
-
this.
|
|
1105
|
-
this.
|
|
1106
|
-
this.
|
|
1107
|
-
this.
|
|
1104
|
+
this.f5u_1.q(text).s(_Char___init__impl__6a9atx(10));
|
|
1105
|
+
this.i5u_1 = this.f5u_1.q('BODY END');
|
|
1106
|
+
this.j9_1 = 7;
|
|
1107
|
+
this.i9_1 = 5;
|
|
1108
1108
|
continue $sm;
|
|
1109
1109
|
case 5:
|
|
1110
|
-
this.
|
|
1111
|
-
this.
|
|
1112
|
-
this.
|
|
1113
|
-
this.
|
|
1110
|
+
this.i5u_1;
|
|
1111
|
+
this.j9_1 = 7;
|
|
1112
|
+
this.g5u_1.s5p(this.f5u_1.toString());
|
|
1113
|
+
this.g5u_1.w5p();
|
|
1114
1114
|
return Unit_instance;
|
|
1115
1115
|
case 6:
|
|
1116
|
-
this.
|
|
1117
|
-
var t = this.
|
|
1118
|
-
this.
|
|
1119
|
-
this.
|
|
1116
|
+
this.j9_1 = 7;
|
|
1117
|
+
var t = this.l9_1;
|
|
1118
|
+
this.g5u_1.s5p(this.f5u_1.toString());
|
|
1119
|
+
this.g5u_1.w5p();
|
|
1120
1120
|
throw t;
|
|
1121
1121
|
case 7:
|
|
1122
|
-
throw this.
|
|
1122
|
+
throw this.l9_1;
|
|
1123
1123
|
}
|
|
1124
1124
|
} catch ($p) {
|
|
1125
1125
|
var e = $p;
|
|
1126
|
-
if (this.
|
|
1126
|
+
if (this.j9_1 === 7) {
|
|
1127
1127
|
throw e;
|
|
1128
1128
|
} else {
|
|
1129
|
-
this.
|
|
1130
|
-
this.
|
|
1129
|
+
this.i9_1 = this.j9_1;
|
|
1130
|
+
this.l9_1 = e;
|
|
1131
1131
|
}
|
|
1132
1132
|
}
|
|
1133
1133
|
while (true);
|
|
1134
1134
|
};
|
|
1135
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1136
|
-
var i = new Logging$lambda$logRequestBody$slambda(this.
|
|
1137
|
-
i.
|
|
1135
|
+
protoOf(Logging$lambda$logRequestBody$slambda).v2b = function ($this$launch, completion) {
|
|
1136
|
+
var i = new Logging$lambda$logRequestBody$slambda(this.d5u_1, this.e5u_1, this.f5u_1, this.g5u_1, completion);
|
|
1137
|
+
i.h5u_1 = $this$launch;
|
|
1138
1138
|
return i;
|
|
1139
1139
|
};
|
|
1140
1140
|
function Logging$lambda$logRequestBody$slambda_0($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1141
1141
|
var i = new Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation);
|
|
1142
1142
|
var l = function ($this$launch, $completion) {
|
|
1143
|
-
return i.
|
|
1143
|
+
return i.u2b($this$launch, $completion);
|
|
1144
1144
|
};
|
|
1145
1145
|
l.$arity = 1;
|
|
1146
1146
|
return l;
|
|
@@ -1191,15 +1191,15 @@
|
|
|
1191
1191
|
}
|
|
1192
1192
|
function invoke$detectIfBinary($this_createClientPlugin, body, contentLength, contentType, headers, $completion) {
|
|
1193
1193
|
var tmp = new $invoke$detectIfBinaryCOROUTINE$($this_createClientPlugin, body, contentLength, contentType, headers, $completion);
|
|
1194
|
-
tmp.
|
|
1195
|
-
tmp.
|
|
1196
|
-
return tmp.
|
|
1194
|
+
tmp.k9_1 = Unit_instance;
|
|
1195
|
+
tmp.l9_1 = null;
|
|
1196
|
+
return tmp.q9();
|
|
1197
1197
|
}
|
|
1198
1198
|
function invoke$logRequestBody($this_createClientPlugin, content, contentLength, headers, method, logLines, body, $completion) {
|
|
1199
1199
|
var tmp = new $invoke$logRequestBodyCOROUTINE$($this_createClientPlugin, content, contentLength, headers, method, logLines, body, $completion);
|
|
1200
|
-
tmp.
|
|
1201
|
-
tmp.
|
|
1202
|
-
return tmp.
|
|
1200
|
+
tmp.k9_1 = Unit_instance;
|
|
1201
|
+
tmp.l9_1 = null;
|
|
1202
|
+
return tmp.q9();
|
|
1203
1203
|
}
|
|
1204
1204
|
function invoke$logOutgoingContent($this_createClientPlugin, content, method, headers, logLines, process, $completion) {
|
|
1205
1205
|
var tmp;
|
|
@@ -1210,72 +1210,72 @@
|
|
|
1210
1210
|
}
|
|
1211
1211
|
process = tmp;
|
|
1212
1212
|
var tmp_0 = new $invoke$logOutgoingContentCOROUTINE$($this_createClientPlugin, content, method, headers, logLines, process, $completion);
|
|
1213
|
-
tmp_0.
|
|
1214
|
-
tmp_0.
|
|
1215
|
-
return tmp_0.
|
|
1213
|
+
tmp_0.k9_1 = Unit_instance;
|
|
1214
|
+
tmp_0.l9_1 = null;
|
|
1215
|
+
return tmp_0.q9();
|
|
1216
1216
|
}
|
|
1217
1217
|
function invoke$logRequestOkHttpFormat(sanitizedHeaders, level, $this_createClientPlugin, request, logLines, $completion) {
|
|
1218
1218
|
var tmp = new $invoke$logRequestOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, request, logLines, $completion);
|
|
1219
|
-
tmp.
|
|
1220
|
-
tmp.
|
|
1221
|
-
return tmp.
|
|
1219
|
+
tmp.k9_1 = Unit_instance;
|
|
1220
|
+
tmp.l9_1 = null;
|
|
1221
|
+
return tmp.q9();
|
|
1222
1222
|
}
|
|
1223
1223
|
function invoke$logResponseBody($this_createClientPlugin, response, body, logLines, $completion) {
|
|
1224
1224
|
var tmp = new $invoke$logResponseBodyCOROUTINE$($this_createClientPlugin, response, body, logLines, $completion);
|
|
1225
|
-
tmp.
|
|
1226
|
-
tmp.
|
|
1227
|
-
return tmp.
|
|
1225
|
+
tmp.k9_1 = Unit_instance;
|
|
1226
|
+
tmp.l9_1 = null;
|
|
1227
|
+
return tmp.q9();
|
|
1228
1228
|
}
|
|
1229
1229
|
function invoke$logResponseOkHttpFormat(sanitizedHeaders, level, $this_createClientPlugin, response, logLines, $completion) {
|
|
1230
1230
|
var tmp = new $invoke$logResponseOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, response, logLines, $completion);
|
|
1231
|
-
tmp.
|
|
1232
|
-
tmp.
|
|
1233
|
-
return tmp.
|
|
1231
|
+
tmp.k9_1 = Unit_instance;
|
|
1232
|
+
tmp.l9_1 = null;
|
|
1233
|
+
return tmp.q9();
|
|
1234
1234
|
}
|
|
1235
1235
|
function invoke$logRequestBody_0(content, logger, $completion) {
|
|
1236
1236
|
var requestLog = StringBuilder_init_$Create$();
|
|
1237
1237
|
// Inline function 'kotlin.text.appendLine' call
|
|
1238
|
-
var value = 'BODY Content-Type: ' + toString_0(content.
|
|
1238
|
+
var value = 'BODY Content-Type: ' + toString_0(content.n3s());
|
|
1239
1239
|
// Inline function 'kotlin.text.appendLine' call
|
|
1240
1240
|
requestLog.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1241
|
-
var tmp0_safe_receiver = content.
|
|
1241
|
+
var tmp0_safe_receiver = content.n3s();
|
|
1242
1242
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
1243
|
-
var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().
|
|
1243
|
+
var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().m36_1 : tmp1_elvis_lhs;
|
|
1244
1244
|
var channel = new ByteChannel();
|
|
1245
1245
|
var tmp = GlobalScope_instance;
|
|
1246
|
-
var tmp_0 = Dispatchers_getInstance().
|
|
1246
|
+
var tmp_0 = Dispatchers_getInstance().i1y_1.kh(MDCContext());
|
|
1247
1247
|
launch(tmp, tmp_0, VOID, Logging$lambda$logRequestBody$slambda_0(channel, charset_0, requestLog, logger, null));
|
|
1248
1248
|
return observe(content, channel, $completion);
|
|
1249
1249
|
}
|
|
1250
1250
|
function invoke$logRequestException(level, logger, context, cause) {
|
|
1251
|
-
if (level.
|
|
1252
|
-
logger.
|
|
1251
|
+
if (level.a5q_1) {
|
|
1252
|
+
logger.y5o('REQUEST ' + Url(context.j44_1).toString() + ' failed with exception: ' + cause.toString());
|
|
1253
1253
|
}
|
|
1254
1254
|
}
|
|
1255
1255
|
function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion) {
|
|
1256
|
-
var tmp = request.
|
|
1256
|
+
var tmp = request.m44_1;
|
|
1257
1257
|
var content = tmp instanceof OutgoingContent ? tmp : THROW_CCE();
|
|
1258
1258
|
var callLogger = new HttpClientCallLogger(logger);
|
|
1259
|
-
request.
|
|
1259
|
+
request.o44_1.u37(get_ClientCallLogger(), callLogger);
|
|
1260
1260
|
// Inline function 'kotlin.text.buildString' call
|
|
1261
1261
|
// Inline function 'kotlin.apply' call
|
|
1262
1262
|
var this_0 = StringBuilder_init_$Create$();
|
|
1263
|
-
if (level.
|
|
1263
|
+
if (level.a5q_1) {
|
|
1264
1264
|
// Inline function 'kotlin.text.appendLine' call
|
|
1265
|
-
var value = 'REQUEST: ' + Url(request.
|
|
1265
|
+
var value = 'REQUEST: ' + Url(request.j44_1).toString();
|
|
1266
1266
|
// Inline function 'kotlin.text.appendLine' call
|
|
1267
1267
|
this_0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1268
1268
|
// Inline function 'kotlin.text.appendLine' call
|
|
1269
|
-
var value_0 = 'METHOD: ' + request.
|
|
1269
|
+
var value_0 = 'METHOD: ' + request.k44_1.toString();
|
|
1270
1270
|
// Inline function 'kotlin.text.appendLine' call
|
|
1271
1271
|
this_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
1272
1272
|
}
|
|
1273
|
-
if (level.
|
|
1273
|
+
if (level.b5q_1) {
|
|
1274
1274
|
// Inline function 'kotlin.text.appendLine' call
|
|
1275
1275
|
var value_1 = 'COMMON HEADERS';
|
|
1276
1276
|
// Inline function 'kotlin.text.appendLine' call
|
|
1277
1277
|
this_0.q(value_1).s(_Char___init__impl__6a9atx(10));
|
|
1278
|
-
logHeaders(this_0, request.
|
|
1278
|
+
logHeaders(this_0, request.l44_1.s3b(), sanitizedHeaders);
|
|
1279
1279
|
// Inline function 'kotlin.text.appendLine' call
|
|
1280
1280
|
var value_2 = 'CONTENT HEADERS';
|
|
1281
1281
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -1286,7 +1286,7 @@
|
|
|
1286
1286
|
var _iterator__ex2g4s = sanitizedHeaders.t();
|
|
1287
1287
|
while (_iterator__ex2g4s.u()) {
|
|
1288
1288
|
var element = _iterator__ex2g4s.v();
|
|
1289
|
-
if (element.
|
|
1289
|
+
if (element.f5y_1(HttpHeaders_getInstance().j3j_1)) {
|
|
1290
1290
|
tmp$ret$9 = element;
|
|
1291
1291
|
break $l$block;
|
|
1292
1292
|
}
|
|
@@ -1294,14 +1294,14 @@
|
|
|
1294
1294
|
tmp$ret$9 = null;
|
|
1295
1295
|
}
|
|
1296
1296
|
var tmp0_safe_receiver = tmp$ret$9;
|
|
1297
|
-
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1297
|
+
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e5y_1;
|
|
1298
1298
|
var tmp$ret$11;
|
|
1299
1299
|
$l$block_0: {
|
|
1300
1300
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1301
1301
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
1302
1302
|
while (_iterator__ex2g4s_0.u()) {
|
|
1303
1303
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
1304
|
-
if (element_0.
|
|
1304
|
+
if (element_0.f5y_1(HttpHeaders_getInstance().m3j_1)) {
|
|
1305
1305
|
tmp$ret$11 = element_0;
|
|
1306
1306
|
break $l$block_0;
|
|
1307
1307
|
}
|
|
@@ -1309,180 +1309,180 @@
|
|
|
1309
1309
|
tmp$ret$11 = null;
|
|
1310
1310
|
}
|
|
1311
1311
|
var tmp1_safe_receiver = tmp$ret$11;
|
|
1312
|
-
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1313
|
-
var tmp2_safe_receiver = content.
|
|
1312
|
+
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.e5y_1;
|
|
1313
|
+
var tmp2_safe_receiver = content.p3s();
|
|
1314
1314
|
if (tmp2_safe_receiver == null)
|
|
1315
1315
|
null;
|
|
1316
1316
|
else {
|
|
1317
1317
|
// Inline function 'kotlin.let' call
|
|
1318
|
-
var tmp_0 = HttpHeaders_getInstance().
|
|
1318
|
+
var tmp_0 = HttpHeaders_getInstance().j3j_1;
|
|
1319
1319
|
logHeader(this_0, tmp_0, contentLengthPlaceholder == null ? tmp2_safe_receiver.toString() : contentLengthPlaceholder);
|
|
1320
1320
|
}
|
|
1321
|
-
var tmp3_safe_receiver = content.
|
|
1321
|
+
var tmp3_safe_receiver = content.n3s();
|
|
1322
1322
|
if (tmp3_safe_receiver == null)
|
|
1323
1323
|
null;
|
|
1324
1324
|
else {
|
|
1325
1325
|
// Inline function 'kotlin.let' call
|
|
1326
|
-
var tmp_1 = HttpHeaders_getInstance().
|
|
1326
|
+
var tmp_1 = HttpHeaders_getInstance().m3j_1;
|
|
1327
1327
|
logHeader(this_0, tmp_1, contentTypePlaceholder == null ? tmp3_safe_receiver.toString() : contentTypePlaceholder);
|
|
1328
1328
|
}
|
|
1329
|
-
logHeaders(this_0, content.
|
|
1329
|
+
logHeaders(this_0, content.z3m().s3b(), sanitizedHeaders);
|
|
1330
1330
|
}
|
|
1331
1331
|
var message = this_0.toString();
|
|
1332
1332
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1333
1333
|
if (charSequenceLength(message) > 0) {
|
|
1334
|
-
callLogger.
|
|
1334
|
+
callLogger.s5p(message);
|
|
1335
1335
|
}
|
|
1336
1336
|
var tmp_2;
|
|
1337
1337
|
// Inline function 'kotlin.text.isEmpty' call
|
|
1338
1338
|
if (charSequenceLength(message) === 0) {
|
|
1339
1339
|
tmp_2 = true;
|
|
1340
1340
|
} else {
|
|
1341
|
-
tmp_2 = !level.
|
|
1341
|
+
tmp_2 = !level.c5q_1;
|
|
1342
1342
|
}
|
|
1343
1343
|
if (tmp_2) {
|
|
1344
|
-
callLogger.
|
|
1344
|
+
callLogger.w5p();
|
|
1345
1345
|
return null;
|
|
1346
1346
|
}
|
|
1347
1347
|
return invoke$logRequestBody_0(content, callLogger, $completion);
|
|
1348
1348
|
}
|
|
1349
1349
|
function invoke$logResponseException(level, log, request, cause) {
|
|
1350
|
-
if (!level.
|
|
1350
|
+
if (!level.a5q_1)
|
|
1351
1351
|
return Unit_instance;
|
|
1352
|
-
log.q('RESPONSE ' + request.
|
|
1352
|
+
log.q('RESPONSE ' + request.a46().toString() + ' failed with exception: ' + cause.toString());
|
|
1353
1353
|
}
|
|
1354
1354
|
function Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation) {
|
|
1355
|
-
this.
|
|
1356
|
-
this.
|
|
1357
|
-
this.
|
|
1358
|
-
this.
|
|
1359
|
-
this.
|
|
1360
|
-
this.
|
|
1355
|
+
this.o5y_1 = $okHttpFormat;
|
|
1356
|
+
this.p5y_1 = $logger;
|
|
1357
|
+
this.q5y_1 = $filters;
|
|
1358
|
+
this.r5y_1 = $sanitizedHeaders;
|
|
1359
|
+
this.s5y_1 = $level;
|
|
1360
|
+
this.t5y_1 = $this_createClientPlugin;
|
|
1361
1361
|
CoroutineImpl.call(this, resultContinuation);
|
|
1362
1362
|
}
|
|
1363
|
-
protoOf(Logging$lambda$slambda).
|
|
1364
|
-
var tmp = this.
|
|
1365
|
-
tmp.
|
|
1366
|
-
tmp.
|
|
1367
|
-
return tmp.
|
|
1363
|
+
protoOf(Logging$lambda$slambda).c5z = function ($this$on, request, $completion) {
|
|
1364
|
+
var tmp = this.d5z($this$on, request, $completion);
|
|
1365
|
+
tmp.k9_1 = Unit_instance;
|
|
1366
|
+
tmp.l9_1 = null;
|
|
1367
|
+
return tmp.q9();
|
|
1368
1368
|
};
|
|
1369
|
-
protoOf(Logging$lambda$slambda).
|
|
1369
|
+
protoOf(Logging$lambda$slambda).da = function (p1, p2, $completion) {
|
|
1370
1370
|
var tmp = p1 instanceof Context ? p1 : THROW_CCE();
|
|
1371
|
-
return this.
|
|
1371
|
+
return this.c5z(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
|
|
1372
1372
|
};
|
|
1373
|
-
protoOf(Logging$lambda$slambda).
|
|
1374
|
-
var suspendResult = this.
|
|
1373
|
+
protoOf(Logging$lambda$slambda).q9 = function () {
|
|
1374
|
+
var suspendResult = this.k9_1;
|
|
1375
1375
|
$sm: do
|
|
1376
1376
|
try {
|
|
1377
|
-
var tmp = this.
|
|
1377
|
+
var tmp = this.i9_1;
|
|
1378
1378
|
switch (tmp) {
|
|
1379
1379
|
case 0:
|
|
1380
|
-
this.
|
|
1381
|
-
if (!invoke$shouldBeLogged(this.
|
|
1382
|
-
this.
|
|
1380
|
+
this.j9_1 = 16;
|
|
1381
|
+
if (!invoke$shouldBeLogged(this.q5y_1, this.v5y_1)) {
|
|
1382
|
+
this.v5y_1.o44_1.u37(get_DisableLogging(), Unit_instance);
|
|
1383
1383
|
return Unit_instance;
|
|
1384
1384
|
}
|
|
1385
1385
|
|
|
1386
|
-
if (this.
|
|
1386
|
+
if (this.o5y_1) {
|
|
1387
1387
|
var tmp_0 = this;
|
|
1388
|
-
tmp_0.
|
|
1389
|
-
this.
|
|
1390
|
-
suspendResult = invoke$logRequestOkHttpFormat(this.
|
|
1388
|
+
tmp_0.y5y_1 = ArrayList_init_$Create$();
|
|
1389
|
+
this.i9_1 = 10;
|
|
1390
|
+
suspendResult = invoke$logRequestOkHttpFormat(this.r5y_1, this.s5y_1, this.t5y_1, this.v5y_1, this.y5y_1, this);
|
|
1391
1391
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1392
1392
|
return suspendResult;
|
|
1393
1393
|
}
|
|
1394
1394
|
continue $sm;
|
|
1395
1395
|
} else {
|
|
1396
|
-
this.
|
|
1396
|
+
this.i9_1 = 1;
|
|
1397
1397
|
continue $sm;
|
|
1398
1398
|
}
|
|
1399
1399
|
|
|
1400
1400
|
case 1:
|
|
1401
|
-
this.
|
|
1402
|
-
this.
|
|
1403
|
-
suspendResult = invoke$logRequest(this.
|
|
1401
|
+
this.j9_1 = 3;
|
|
1402
|
+
this.i9_1 = 2;
|
|
1403
|
+
suspendResult = invoke$logRequest(this.p5y_1, this.s5y_1, this.r5y_1, this.v5y_1, this);
|
|
1404
1404
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1405
1405
|
return suspendResult;
|
|
1406
1406
|
}
|
|
1407
1407
|
|
|
1408
1408
|
continue $sm;
|
|
1409
1409
|
case 2:
|
|
1410
|
-
this.
|
|
1411
|
-
this.
|
|
1412
|
-
this.
|
|
1410
|
+
this.b5z_1 = suspendResult;
|
|
1411
|
+
this.j9_1 = 16;
|
|
1412
|
+
this.i9_1 = 4;
|
|
1413
1413
|
continue $sm;
|
|
1414
1414
|
case 3:
|
|
1415
|
-
this.
|
|
1416
|
-
var tmp_1 = this.
|
|
1415
|
+
this.j9_1 = 16;
|
|
1416
|
+
var tmp_1 = this.l9_1;
|
|
1417
1417
|
if (tmp_1 instanceof Error) {
|
|
1418
|
-
var _unused_var__etf5q3 = this.
|
|
1418
|
+
var _unused_var__etf5q3 = this.l9_1;
|
|
1419
1419
|
var tmp_2 = this;
|
|
1420
|
-
tmp_2.
|
|
1421
|
-
this.
|
|
1420
|
+
tmp_2.b5z_1 = null;
|
|
1421
|
+
this.i9_1 = 4;
|
|
1422
1422
|
continue $sm;
|
|
1423
1423
|
} else {
|
|
1424
|
-
throw this.
|
|
1424
|
+
throw this.l9_1;
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
1427
|
case 4:
|
|
1428
|
-
this.
|
|
1429
|
-
this.
|
|
1430
|
-
this.
|
|
1431
|
-
this.
|
|
1428
|
+
this.j9_1 = 16;
|
|
1429
|
+
this.a5z_1 = this.b5z_1;
|
|
1430
|
+
this.z5y_1 = Unit_instance;
|
|
1431
|
+
this.i9_1 = 5;
|
|
1432
1432
|
continue $sm;
|
|
1433
1433
|
case 5:
|
|
1434
|
-
this.
|
|
1435
|
-
this.
|
|
1436
|
-
this.
|
|
1437
|
-
var tmp0_elvis_lhs = this.
|
|
1438
|
-
suspendResult = this.
|
|
1434
|
+
this.j9_1 = 8;
|
|
1435
|
+
this.j9_1 = 7;
|
|
1436
|
+
this.i9_1 = 6;
|
|
1437
|
+
var tmp0_elvis_lhs = this.a5z_1;
|
|
1438
|
+
suspendResult = this.u5y_1.s5q(tmp0_elvis_lhs == null ? this.v5y_1.m44_1 : tmp0_elvis_lhs, this);
|
|
1439
1439
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1440
1440
|
return suspendResult;
|
|
1441
1441
|
}
|
|
1442
1442
|
|
|
1443
1443
|
continue $sm;
|
|
1444
1444
|
case 6:
|
|
1445
|
-
this.
|
|
1446
|
-
this.
|
|
1447
|
-
this.
|
|
1445
|
+
this.z5y_1 = suspendResult;
|
|
1446
|
+
this.j9_1 = 16;
|
|
1447
|
+
this.i9_1 = 9;
|
|
1448
1448
|
continue $sm;
|
|
1449
1449
|
case 7:
|
|
1450
|
-
this.
|
|
1451
|
-
var tmp_3 = this.
|
|
1450
|
+
this.j9_1 = 8;
|
|
1451
|
+
var tmp_3 = this.l9_1;
|
|
1452
1452
|
if (tmp_3 instanceof Error) {
|
|
1453
|
-
var cause = this.
|
|
1453
|
+
var cause = this.l9_1;
|
|
1454
1454
|
var tmp_4 = this;
|
|
1455
|
-
invoke$logRequestException(this.
|
|
1455
|
+
invoke$logRequestException(this.s5y_1, this.p5y_1, this.v5y_1, cause);
|
|
1456
1456
|
throw cause;
|
|
1457
1457
|
} else {
|
|
1458
|
-
throw this.
|
|
1458
|
+
throw this.l9_1;
|
|
1459
1459
|
}
|
|
1460
1460
|
|
|
1461
1461
|
case 8:
|
|
1462
|
-
this.
|
|
1463
|
-
var t = this.
|
|
1462
|
+
this.j9_1 = 16;
|
|
1463
|
+
var t = this.l9_1;
|
|
1464
1464
|
throw t;
|
|
1465
1465
|
case 9:
|
|
1466
|
-
this.
|
|
1467
|
-
this.
|
|
1466
|
+
this.z5y_1;
|
|
1467
|
+
this.j9_1 = 16;
|
|
1468
1468
|
return Unit_instance;
|
|
1469
1469
|
case 10:
|
|
1470
1470
|
var content = suspendResult;
|
|
1471
|
-
if (this.
|
|
1472
|
-
this.
|
|
1471
|
+
if (this.y5y_1.g1() > 0) {
|
|
1472
|
+
this.p5y_1.y5o(joinToString(this.y5y_1, '\n'));
|
|
1473
1473
|
}
|
|
1474
1474
|
|
|
1475
|
-
this.
|
|
1475
|
+
this.j9_1 = 14;
|
|
1476
1476
|
if (!(content == null)) {
|
|
1477
|
-
this.
|
|
1478
|
-
suspendResult = this.
|
|
1477
|
+
this.i9_1 = 12;
|
|
1478
|
+
suspendResult = this.u5y_1.s5q(content, this);
|
|
1479
1479
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1480
1480
|
return suspendResult;
|
|
1481
1481
|
}
|
|
1482
1482
|
continue $sm;
|
|
1483
1483
|
} else {
|
|
1484
|
-
this.
|
|
1485
|
-
suspendResult = this.
|
|
1484
|
+
this.i9_1 = 11;
|
|
1485
|
+
suspendResult = this.u5y_1.t5q(this);
|
|
1486
1486
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1487
1487
|
return suspendResult;
|
|
1488
1488
|
}
|
|
@@ -1490,390 +1490,390 @@
|
|
|
1490
1490
|
}
|
|
1491
1491
|
|
|
1492
1492
|
case 11:
|
|
1493
|
-
this.
|
|
1494
|
-
this.
|
|
1493
|
+
this.x5y_1 = suspendResult;
|
|
1494
|
+
this.i9_1 = 13;
|
|
1495
1495
|
continue $sm;
|
|
1496
1496
|
case 12:
|
|
1497
|
-
this.
|
|
1498
|
-
this.
|
|
1497
|
+
this.x5y_1 = suspendResult;
|
|
1498
|
+
this.i9_1 = 13;
|
|
1499
1499
|
continue $sm;
|
|
1500
1500
|
case 13:
|
|
1501
|
-
this.
|
|
1502
|
-
this.
|
|
1503
|
-
this.
|
|
1501
|
+
this.w5y_1 = this.x5y_1;
|
|
1502
|
+
this.j9_1 = 16;
|
|
1503
|
+
this.i9_1 = 15;
|
|
1504
1504
|
continue $sm;
|
|
1505
1505
|
case 14:
|
|
1506
|
-
this.
|
|
1507
|
-
var tmp_5 = this.
|
|
1506
|
+
this.j9_1 = 16;
|
|
1507
|
+
var tmp_5 = this.l9_1;
|
|
1508
1508
|
if (tmp_5 instanceof Error) {
|
|
1509
|
-
var cause_0 = this.
|
|
1509
|
+
var cause_0 = this.l9_1;
|
|
1510
1510
|
var tmp_6 = this;
|
|
1511
|
-
this.
|
|
1511
|
+
this.p5y_1.y5o('<-- HTTP FAILED: ' + cause_0.toString());
|
|
1512
1512
|
throw cause_0;
|
|
1513
1513
|
} else {
|
|
1514
|
-
throw this.
|
|
1514
|
+
throw this.l9_1;
|
|
1515
1515
|
}
|
|
1516
1516
|
|
|
1517
1517
|
case 15:
|
|
1518
|
-
this.
|
|
1518
|
+
this.j9_1 = 16;
|
|
1519
1519
|
return Unit_instance;
|
|
1520
1520
|
case 16:
|
|
1521
|
-
throw this.
|
|
1521
|
+
throw this.l9_1;
|
|
1522
1522
|
}
|
|
1523
1523
|
} catch ($p) {
|
|
1524
1524
|
var e = $p;
|
|
1525
|
-
if (this.
|
|
1525
|
+
if (this.j9_1 === 16) {
|
|
1526
1526
|
throw e;
|
|
1527
1527
|
} else {
|
|
1528
|
-
this.
|
|
1529
|
-
this.
|
|
1528
|
+
this.i9_1 = this.j9_1;
|
|
1529
|
+
this.l9_1 = e;
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
1532
1532
|
while (true);
|
|
1533
1533
|
};
|
|
1534
|
-
protoOf(Logging$lambda$slambda).
|
|
1535
|
-
var i = new Logging$lambda$slambda(this.
|
|
1536
|
-
i.
|
|
1537
|
-
i.
|
|
1534
|
+
protoOf(Logging$lambda$slambda).d5z = function ($this$on, request, completion) {
|
|
1535
|
+
var i = new Logging$lambda$slambda(this.o5y_1, this.p5y_1, this.q5y_1, this.r5y_1, this.s5y_1, this.t5y_1, completion);
|
|
1536
|
+
i.u5y_1 = $this$on;
|
|
1537
|
+
i.v5y_1 = request;
|
|
1538
1538
|
return i;
|
|
1539
1539
|
};
|
|
1540
1540
|
function Logging$lambda$slambda_0($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation) {
|
|
1541
1541
|
var i = new Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation);
|
|
1542
1542
|
var l = function ($this$on, request, $completion) {
|
|
1543
|
-
return i.
|
|
1543
|
+
return i.c5z($this$on, request, $completion);
|
|
1544
1544
|
};
|
|
1545
1545
|
l.$arity = 2;
|
|
1546
1546
|
return l;
|
|
1547
1547
|
}
|
|
1548
1548
|
function Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation) {
|
|
1549
|
-
this.
|
|
1550
|
-
this.
|
|
1551
|
-
this.
|
|
1552
|
-
this.
|
|
1553
|
-
this.
|
|
1549
|
+
this.m5z_1 = $okHttpFormat;
|
|
1550
|
+
this.n5z_1 = $logger;
|
|
1551
|
+
this.o5z_1 = $sanitizedHeaders;
|
|
1552
|
+
this.p5z_1 = $level;
|
|
1553
|
+
this.q5z_1 = $this_createClientPlugin;
|
|
1554
1554
|
CoroutineImpl.call(this, resultContinuation);
|
|
1555
1555
|
}
|
|
1556
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1557
|
-
var tmp = this.
|
|
1558
|
-
tmp.
|
|
1559
|
-
tmp.
|
|
1560
|
-
return tmp.
|
|
1556
|
+
protoOf(Logging$lambda$slambda_1).u5z = function ($this$on, response, $completion) {
|
|
1557
|
+
var tmp = this.v5z($this$on, response, $completion);
|
|
1558
|
+
tmp.k9_1 = Unit_instance;
|
|
1559
|
+
tmp.l9_1 = null;
|
|
1560
|
+
return tmp.q9();
|
|
1561
1561
|
};
|
|
1562
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1562
|
+
protoOf(Logging$lambda$slambda_1).da = function (p1, p2, $completion) {
|
|
1563
1563
|
var tmp = p1 instanceof Context_0 ? p1 : THROW_CCE();
|
|
1564
|
-
return this.
|
|
1564
|
+
return this.u5z(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1565
1565
|
};
|
|
1566
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1567
|
-
var suspendResult = this.
|
|
1566
|
+
protoOf(Logging$lambda$slambda_1).q9 = function () {
|
|
1567
|
+
var suspendResult = this.k9_1;
|
|
1568
1568
|
$sm: do
|
|
1569
1569
|
try {
|
|
1570
|
-
var tmp = this.
|
|
1570
|
+
var tmp = this.i9_1;
|
|
1571
1571
|
switch (tmp) {
|
|
1572
1572
|
case 0:
|
|
1573
|
-
this.
|
|
1574
|
-
if (this.
|
|
1573
|
+
this.j9_1 = 5;
|
|
1574
|
+
if (this.m5z_1) {
|
|
1575
1575
|
var tmp_0 = this;
|
|
1576
|
-
tmp_0.
|
|
1577
|
-
this.
|
|
1578
|
-
suspendResult = invoke$logResponseOkHttpFormat(this.
|
|
1576
|
+
tmp_0.t5z_1 = ArrayList_init_$Create$();
|
|
1577
|
+
this.i9_1 = 1;
|
|
1578
|
+
suspendResult = invoke$logResponseOkHttpFormat(this.o5z_1, this.p5z_1, this.q5z_1, this.s5z_1, this.t5z_1, this);
|
|
1579
1579
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1580
1580
|
return suspendResult;
|
|
1581
1581
|
}
|
|
1582
1582
|
continue $sm;
|
|
1583
1583
|
} else {
|
|
1584
|
-
this.
|
|
1584
|
+
this.i9_1 = 4;
|
|
1585
1585
|
continue $sm;
|
|
1586
1586
|
}
|
|
1587
1587
|
|
|
1588
1588
|
case 1:
|
|
1589
1589
|
var newResponse = suspendResult;
|
|
1590
|
-
if (this.
|
|
1591
|
-
this.
|
|
1590
|
+
if (this.t5z_1.g1() > 0) {
|
|
1591
|
+
this.n5z_1.y5o(joinToString(this.t5z_1, '\n'));
|
|
1592
1592
|
}
|
|
1593
1593
|
|
|
1594
|
-
if (!equals(newResponse, this.
|
|
1595
|
-
this.
|
|
1596
|
-
suspendResult = this.
|
|
1594
|
+
if (!equals(newResponse, this.s5z_1)) {
|
|
1595
|
+
this.i9_1 = 2;
|
|
1596
|
+
suspendResult = this.r5z_1.d50(newResponse, this);
|
|
1597
1597
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1598
1598
|
return suspendResult;
|
|
1599
1599
|
}
|
|
1600
1600
|
continue $sm;
|
|
1601
1601
|
} else {
|
|
1602
|
-
this.
|
|
1602
|
+
this.i9_1 = 3;
|
|
1603
1603
|
continue $sm;
|
|
1604
1604
|
}
|
|
1605
1605
|
|
|
1606
1606
|
case 2:
|
|
1607
|
-
this.
|
|
1607
|
+
this.i9_1 = 3;
|
|
1608
1608
|
continue $sm;
|
|
1609
1609
|
case 3:
|
|
1610
|
-
this.
|
|
1610
|
+
this.i9_1 = 4;
|
|
1611
1611
|
continue $sm;
|
|
1612
1612
|
case 4:
|
|
1613
1613
|
return Unit_instance;
|
|
1614
1614
|
case 5:
|
|
1615
|
-
throw this.
|
|
1615
|
+
throw this.l9_1;
|
|
1616
1616
|
}
|
|
1617
1617
|
} catch ($p) {
|
|
1618
1618
|
var e = $p;
|
|
1619
|
-
if (this.
|
|
1619
|
+
if (this.j9_1 === 5) {
|
|
1620
1620
|
throw e;
|
|
1621
1621
|
} else {
|
|
1622
|
-
this.
|
|
1623
|
-
this.
|
|
1622
|
+
this.i9_1 = this.j9_1;
|
|
1623
|
+
this.l9_1 = e;
|
|
1624
1624
|
}
|
|
1625
1625
|
}
|
|
1626
1626
|
while (true);
|
|
1627
1627
|
};
|
|
1628
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1629
|
-
var i = new Logging$lambda$slambda_1(this.
|
|
1630
|
-
i.
|
|
1631
|
-
i.
|
|
1628
|
+
protoOf(Logging$lambda$slambda_1).v5z = function ($this$on, response, completion) {
|
|
1629
|
+
var i = new Logging$lambda$slambda_1(this.m5z_1, this.n5z_1, this.o5z_1, this.p5z_1, this.q5z_1, completion);
|
|
1630
|
+
i.r5z_1 = $this$on;
|
|
1631
|
+
i.s5z_1 = response;
|
|
1632
1632
|
return i;
|
|
1633
1633
|
};
|
|
1634
1634
|
function Logging$lambda$slambda_2($okHttpFormat, $logger, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation) {
|
|
1635
1635
|
var i = new Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation);
|
|
1636
1636
|
var l = function ($this$on, response, $completion) {
|
|
1637
|
-
return i.
|
|
1637
|
+
return i.u5z($this$on, response, $completion);
|
|
1638
1638
|
};
|
|
1639
1639
|
l.$arity = 2;
|
|
1640
1640
|
return l;
|
|
1641
1641
|
}
|
|
1642
1642
|
function Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1643
|
-
this.
|
|
1644
|
-
this.
|
|
1645
|
-
this.
|
|
1643
|
+
this.e60_1 = $okHttpFormat;
|
|
1644
|
+
this.f60_1 = $level;
|
|
1645
|
+
this.g60_1 = $sanitizedHeaders;
|
|
1646
1646
|
CoroutineImpl.call(this, resultContinuation);
|
|
1647
1647
|
}
|
|
1648
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1649
|
-
var tmp = this.
|
|
1650
|
-
tmp.
|
|
1651
|
-
tmp.
|
|
1652
|
-
return tmp.
|
|
1648
|
+
protoOf(Logging$lambda$slambda_3).p60 = function ($this$on, response, $completion) {
|
|
1649
|
+
var tmp = this.q60($this$on, response, $completion);
|
|
1650
|
+
tmp.k9_1 = Unit_instance;
|
|
1651
|
+
tmp.l9_1 = null;
|
|
1652
|
+
return tmp.q9();
|
|
1653
1653
|
};
|
|
1654
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1654
|
+
protoOf(Logging$lambda$slambda_3).da = function (p1, p2, $completion) {
|
|
1655
1655
|
var tmp = p1 instanceof Context_1 ? p1 : THROW_CCE();
|
|
1656
|
-
return this.
|
|
1656
|
+
return this.p60(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1657
1657
|
};
|
|
1658
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1659
|
-
var suspendResult = this.
|
|
1658
|
+
protoOf(Logging$lambda$slambda_3).q9 = function () {
|
|
1659
|
+
var suspendResult = this.k9_1;
|
|
1660
1660
|
$sm: do
|
|
1661
1661
|
try {
|
|
1662
|
-
var tmp = this.
|
|
1662
|
+
var tmp = this.i9_1;
|
|
1663
1663
|
switch (tmp) {
|
|
1664
1664
|
case 0:
|
|
1665
|
-
this.
|
|
1666
|
-
if (this.
|
|
1665
|
+
this.j9_1 = 14;
|
|
1666
|
+
if (this.e60_1)
|
|
1667
1667
|
return Unit_instance;
|
|
1668
|
-
if (this.
|
|
1668
|
+
if (this.f60_1.equals(LogLevel_NONE_getInstance()) || this.i60_1.y45().s45().t37(get_DisableLogging()))
|
|
1669
1669
|
return Unit_instance;
|
|
1670
|
-
this.
|
|
1671
|
-
this.
|
|
1672
|
-
this.
|
|
1673
|
-
this.
|
|
1670
|
+
this.k60_1 = this.i60_1.y45().s45().r37(get_ClientCallLogger());
|
|
1671
|
+
this.m60_1 = StringBuilder_init_$Create$();
|
|
1672
|
+
this.l60_1 = false;
|
|
1673
|
+
this.i9_1 = 1;
|
|
1674
1674
|
continue $sm;
|
|
1675
1675
|
case 1:
|
|
1676
|
-
this.
|
|
1677
|
-
this.
|
|
1678
|
-
logResponseHeader(this.
|
|
1679
|
-
this.
|
|
1680
|
-
suspendResult = this.
|
|
1676
|
+
this.j9_1 = 4;
|
|
1677
|
+
this.j9_1 = 3;
|
|
1678
|
+
logResponseHeader(this.m60_1, this.i60_1.y45().j43(), this.f60_1, this.g60_1);
|
|
1679
|
+
this.i9_1 = 2;
|
|
1680
|
+
suspendResult = this.h60_1.u5r(this);
|
|
1681
1681
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1682
1682
|
return suspendResult;
|
|
1683
1683
|
}
|
|
1684
1684
|
|
|
1685
1685
|
continue $sm;
|
|
1686
1686
|
case 2:
|
|
1687
|
-
this.
|
|
1688
|
-
this.
|
|
1689
|
-
this.
|
|
1687
|
+
this.n60_1 = suspendResult;
|
|
1688
|
+
this.j9_1 = 14;
|
|
1689
|
+
this.i9_1 = 9;
|
|
1690
1690
|
continue $sm;
|
|
1691
1691
|
case 3:
|
|
1692
|
-
this.
|
|
1693
|
-
var tmp_0 = this.
|
|
1692
|
+
this.j9_1 = 4;
|
|
1693
|
+
var tmp_0 = this.l9_1;
|
|
1694
1694
|
if (tmp_0 instanceof Error) {
|
|
1695
|
-
var cause = this.
|
|
1695
|
+
var cause = this.l9_1;
|
|
1696
1696
|
var tmp_1 = this;
|
|
1697
|
-
invoke$logResponseException(this.
|
|
1698
|
-
this.
|
|
1697
|
+
invoke$logResponseException(this.f60_1, this.m60_1, this.i60_1.y45().r45(), cause);
|
|
1698
|
+
this.l60_1 = true;
|
|
1699
1699
|
throw cause;
|
|
1700
1700
|
} else {
|
|
1701
|
-
throw this.
|
|
1701
|
+
throw this.l9_1;
|
|
1702
1702
|
}
|
|
1703
1703
|
|
|
1704
1704
|
case 4:
|
|
1705
|
-
this.
|
|
1706
|
-
this.
|
|
1707
|
-
this.
|
|
1708
|
-
if (this.
|
|
1709
|
-
this.
|
|
1710
|
-
suspendResult = this.
|
|
1705
|
+
this.j9_1 = 14;
|
|
1706
|
+
this.o60_1 = this.l9_1;
|
|
1707
|
+
this.k60_1.t5p(this.m60_1.toString());
|
|
1708
|
+
if (this.l60_1 || !this.f60_1.c5q_1) {
|
|
1709
|
+
this.i9_1 = 7;
|
|
1710
|
+
suspendResult = this.k60_1.x5p(this);
|
|
1711
1711
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1712
1712
|
return suspendResult;
|
|
1713
1713
|
}
|
|
1714
1714
|
continue $sm;
|
|
1715
1715
|
} else {
|
|
1716
|
-
if (this.
|
|
1717
|
-
this.
|
|
1718
|
-
suspendResult = logResponseBody(this.
|
|
1716
|
+
if (this.f60_1.c5q_1 && get_isSaved(this.i60_1)) {
|
|
1717
|
+
this.i9_1 = 5;
|
|
1718
|
+
suspendResult = logResponseBody(this.k60_1, this.i60_1, this);
|
|
1719
1719
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1720
1720
|
return suspendResult;
|
|
1721
1721
|
}
|
|
1722
1722
|
continue $sm;
|
|
1723
1723
|
} else {
|
|
1724
|
-
this.
|
|
1724
|
+
this.i9_1 = 8;
|
|
1725
1725
|
continue $sm;
|
|
1726
1726
|
}
|
|
1727
1727
|
}
|
|
1728
1728
|
|
|
1729
1729
|
case 5:
|
|
1730
|
-
this.
|
|
1731
|
-
suspendResult = this.
|
|
1730
|
+
this.i9_1 = 6;
|
|
1731
|
+
suspendResult = this.k60_1.x5p(this);
|
|
1732
1732
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1733
1733
|
return suspendResult;
|
|
1734
1734
|
}
|
|
1735
1735
|
|
|
1736
1736
|
continue $sm;
|
|
1737
1737
|
case 6:
|
|
1738
|
-
this.
|
|
1738
|
+
this.i9_1 = 8;
|
|
1739
1739
|
continue $sm;
|
|
1740
1740
|
case 7:
|
|
1741
|
-
this.
|
|
1741
|
+
this.i9_1 = 8;
|
|
1742
1742
|
continue $sm;
|
|
1743
1743
|
case 8:
|
|
1744
|
-
throw this.
|
|
1744
|
+
throw this.o60_1;
|
|
1745
1745
|
case 9:
|
|
1746
|
-
this.
|
|
1747
|
-
this.
|
|
1748
|
-
this.
|
|
1749
|
-
if (this.
|
|
1750
|
-
this.
|
|
1751
|
-
suspendResult = this.
|
|
1746
|
+
this.j60_1 = this.n60_1;
|
|
1747
|
+
this.j9_1 = 14;
|
|
1748
|
+
this.k60_1.t5p(this.m60_1.toString());
|
|
1749
|
+
if (this.l60_1 || !this.f60_1.c5q_1) {
|
|
1750
|
+
this.i9_1 = 12;
|
|
1751
|
+
suspendResult = this.k60_1.x5p(this);
|
|
1752
1752
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1753
1753
|
return suspendResult;
|
|
1754
1754
|
}
|
|
1755
1755
|
continue $sm;
|
|
1756
1756
|
} else {
|
|
1757
|
-
if (this.
|
|
1758
|
-
this.
|
|
1759
|
-
suspendResult = logResponseBody(this.
|
|
1757
|
+
if (this.f60_1.c5q_1 && get_isSaved(this.i60_1)) {
|
|
1758
|
+
this.i9_1 = 10;
|
|
1759
|
+
suspendResult = logResponseBody(this.k60_1, this.i60_1, this);
|
|
1760
1760
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1761
1761
|
return suspendResult;
|
|
1762
1762
|
}
|
|
1763
1763
|
continue $sm;
|
|
1764
1764
|
} else {
|
|
1765
|
-
this.
|
|
1765
|
+
this.i9_1 = 13;
|
|
1766
1766
|
continue $sm;
|
|
1767
1767
|
}
|
|
1768
1768
|
}
|
|
1769
1769
|
|
|
1770
1770
|
case 10:
|
|
1771
|
-
this.
|
|
1772
|
-
suspendResult = this.
|
|
1771
|
+
this.i9_1 = 11;
|
|
1772
|
+
suspendResult = this.k60_1.x5p(this);
|
|
1773
1773
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1774
1774
|
return suspendResult;
|
|
1775
1775
|
}
|
|
1776
1776
|
|
|
1777
1777
|
continue $sm;
|
|
1778
1778
|
case 11:
|
|
1779
|
-
this.
|
|
1779
|
+
this.i9_1 = 13;
|
|
1780
1780
|
continue $sm;
|
|
1781
1781
|
case 12:
|
|
1782
|
-
this.
|
|
1782
|
+
this.i9_1 = 13;
|
|
1783
1783
|
continue $sm;
|
|
1784
1784
|
case 13:
|
|
1785
1785
|
return Unit_instance;
|
|
1786
1786
|
case 14:
|
|
1787
|
-
throw this.
|
|
1787
|
+
throw this.l9_1;
|
|
1788
1788
|
}
|
|
1789
1789
|
} catch ($p) {
|
|
1790
1790
|
var e = $p;
|
|
1791
|
-
if (this.
|
|
1791
|
+
if (this.j9_1 === 14) {
|
|
1792
1792
|
throw e;
|
|
1793
1793
|
} else {
|
|
1794
|
-
this.
|
|
1795
|
-
this.
|
|
1794
|
+
this.i9_1 = this.j9_1;
|
|
1795
|
+
this.l9_1 = e;
|
|
1796
1796
|
}
|
|
1797
1797
|
}
|
|
1798
1798
|
while (true);
|
|
1799
1799
|
};
|
|
1800
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1801
|
-
var i = new Logging$lambda$slambda_3(this.
|
|
1802
|
-
i.
|
|
1803
|
-
i.
|
|
1800
|
+
protoOf(Logging$lambda$slambda_3).q60 = function ($this$on, response, completion) {
|
|
1801
|
+
var i = new Logging$lambda$slambda_3(this.e60_1, this.f60_1, this.g60_1, completion);
|
|
1802
|
+
i.h60_1 = $this$on;
|
|
1803
|
+
i.i60_1 = response;
|
|
1804
1804
|
return i;
|
|
1805
1805
|
};
|
|
1806
1806
|
function Logging$lambda$slambda_4($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1807
1807
|
var i = new Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation);
|
|
1808
1808
|
var l = function ($this$on, response, $completion) {
|
|
1809
|
-
return i.
|
|
1809
|
+
return i.p60($this$on, response, $completion);
|
|
1810
1810
|
};
|
|
1811
1811
|
l.$arity = 2;
|
|
1812
1812
|
return l;
|
|
1813
1813
|
}
|
|
1814
1814
|
function Logging$lambda$slambda_5($okHttpFormat, $level, resultContinuation) {
|
|
1815
|
-
this.
|
|
1816
|
-
this.
|
|
1815
|
+
this.z60_1 = $okHttpFormat;
|
|
1816
|
+
this.a61_1 = $level;
|
|
1817
1817
|
CoroutineImpl.call(this, resultContinuation);
|
|
1818
1818
|
}
|
|
1819
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1820
|
-
var tmp = this.
|
|
1821
|
-
tmp.
|
|
1822
|
-
tmp.
|
|
1823
|
-
return tmp.
|
|
1819
|
+
protoOf(Logging$lambda$slambda_5).g61 = function ($this$on, call, $completion) {
|
|
1820
|
+
var tmp = this.h61($this$on, call, $completion);
|
|
1821
|
+
tmp.k9_1 = Unit_instance;
|
|
1822
|
+
tmp.l9_1 = null;
|
|
1823
|
+
return tmp.q9();
|
|
1824
1824
|
};
|
|
1825
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1825
|
+
protoOf(Logging$lambda$slambda_5).da = function (p1, p2, $completion) {
|
|
1826
1826
|
var tmp = p1 instanceof Context_2 ? p1 : THROW_CCE();
|
|
1827
|
-
return this.
|
|
1827
|
+
return this.g61(tmp, p2 instanceof HttpClientCall ? p2 : THROW_CCE(), $completion);
|
|
1828
1828
|
};
|
|
1829
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1830
|
-
var suspendResult = this.
|
|
1829
|
+
protoOf(Logging$lambda$slambda_5).q9 = function () {
|
|
1830
|
+
var suspendResult = this.k9_1;
|
|
1831
1831
|
$sm: do
|
|
1832
1832
|
try {
|
|
1833
|
-
var tmp = this.
|
|
1833
|
+
var tmp = this.i9_1;
|
|
1834
1834
|
switch (tmp) {
|
|
1835
1835
|
case 0:
|
|
1836
|
-
this.
|
|
1837
|
-
if (this.
|
|
1836
|
+
this.j9_1 = 6;
|
|
1837
|
+
if (this.z60_1)
|
|
1838
1838
|
return Unit_instance;
|
|
1839
|
-
if (this.
|
|
1839
|
+
if (this.a61_1.equals(LogLevel_NONE_getInstance()) || this.c61_1.s45().t37(get_DisableLogging())) {
|
|
1840
1840
|
return Unit_instance;
|
|
1841
1841
|
}
|
|
1842
1842
|
|
|
1843
|
-
this.
|
|
1844
|
-
this.
|
|
1845
|
-
suspendResult = this.
|
|
1843
|
+
this.j9_1 = 2;
|
|
1844
|
+
this.i9_1 = 1;
|
|
1845
|
+
suspendResult = this.b61_1.i5s(this);
|
|
1846
1846
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1847
1847
|
return suspendResult;
|
|
1848
1848
|
}
|
|
1849
1849
|
|
|
1850
1850
|
continue $sm;
|
|
1851
1851
|
case 1:
|
|
1852
|
-
this.
|
|
1853
|
-
this.
|
|
1854
|
-
this.
|
|
1852
|
+
this.d61_1 = suspendResult;
|
|
1853
|
+
this.j9_1 = 6;
|
|
1854
|
+
this.i9_1 = 5;
|
|
1855
1855
|
continue $sm;
|
|
1856
1856
|
case 2:
|
|
1857
|
-
this.
|
|
1858
|
-
var tmp_0 = this.
|
|
1857
|
+
this.j9_1 = 6;
|
|
1858
|
+
var tmp_0 = this.l9_1;
|
|
1859
1859
|
if (tmp_0 instanceof Error) {
|
|
1860
|
-
this.
|
|
1860
|
+
this.e61_1 = this.l9_1;
|
|
1861
1861
|
var log = StringBuilder_init_$Create$();
|
|
1862
|
-
this.
|
|
1863
|
-
invoke$logResponseException(this.
|
|
1864
|
-
this.
|
|
1865
|
-
suspendResult = this.
|
|
1862
|
+
this.f61_1 = this.c61_1.s45().r37(get_ClientCallLogger());
|
|
1863
|
+
invoke$logResponseException(this.a61_1, log, this.c61_1.r45(), this.e61_1);
|
|
1864
|
+
this.i9_1 = 3;
|
|
1865
|
+
suspendResult = this.f61_1.u5p(log.toString(), this);
|
|
1866
1866
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1867
1867
|
return suspendResult;
|
|
1868
1868
|
}
|
|
1869
1869
|
continue $sm;
|
|
1870
1870
|
} else {
|
|
1871
|
-
throw this.
|
|
1871
|
+
throw this.l9_1;
|
|
1872
1872
|
}
|
|
1873
1873
|
|
|
1874
1874
|
case 3:
|
|
1875
|
-
this.
|
|
1876
|
-
suspendResult = this.
|
|
1875
|
+
this.i9_1 = 4;
|
|
1876
|
+
suspendResult = this.f61_1.x5p(this);
|
|
1877
1877
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1878
1878
|
return suspendResult;
|
|
1879
1879
|
}
|
|
@@ -1881,76 +1881,76 @@
|
|
|
1881
1881
|
continue $sm;
|
|
1882
1882
|
case 4:
|
|
1883
1883
|
var tmp_1 = this;
|
|
1884
|
-
throw this.
|
|
1884
|
+
throw this.e61_1;
|
|
1885
1885
|
case 5:
|
|
1886
|
-
this.
|
|
1886
|
+
this.j9_1 = 6;
|
|
1887
1887
|
return Unit_instance;
|
|
1888
1888
|
case 6:
|
|
1889
|
-
throw this.
|
|
1889
|
+
throw this.l9_1;
|
|
1890
1890
|
}
|
|
1891
1891
|
} catch ($p) {
|
|
1892
1892
|
var e = $p;
|
|
1893
|
-
if (this.
|
|
1893
|
+
if (this.j9_1 === 6) {
|
|
1894
1894
|
throw e;
|
|
1895
1895
|
} else {
|
|
1896
|
-
this.
|
|
1897
|
-
this.
|
|
1896
|
+
this.i9_1 = this.j9_1;
|
|
1897
|
+
this.l9_1 = e;
|
|
1898
1898
|
}
|
|
1899
1899
|
}
|
|
1900
1900
|
while (true);
|
|
1901
1901
|
};
|
|
1902
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1903
|
-
var i = new Logging$lambda$slambda_5(this.
|
|
1904
|
-
i.
|
|
1905
|
-
i.
|
|
1902
|
+
protoOf(Logging$lambda$slambda_5).h61 = function ($this$on, call, completion) {
|
|
1903
|
+
var i = new Logging$lambda$slambda_5(this.z60_1, this.a61_1, completion);
|
|
1904
|
+
i.b61_1 = $this$on;
|
|
1905
|
+
i.c61_1 = call;
|
|
1906
1906
|
return i;
|
|
1907
1907
|
};
|
|
1908
1908
|
function Logging$lambda$slambda_6($okHttpFormat, $level, resultContinuation) {
|
|
1909
1909
|
var i = new Logging$lambda$slambda_5($okHttpFormat, $level, resultContinuation);
|
|
1910
1910
|
var l = function ($this$on, call, $completion) {
|
|
1911
|
-
return i.
|
|
1911
|
+
return i.g61($this$on, call, $completion);
|
|
1912
1912
|
};
|
|
1913
1913
|
l.$arity = 2;
|
|
1914
1914
|
return l;
|
|
1915
1915
|
}
|
|
1916
1916
|
function Logging$lambda$lambda$lambda(it) {
|
|
1917
1917
|
_init_properties_Logging_kt__66pui5();
|
|
1918
|
-
return !get_isSaved(it.
|
|
1918
|
+
return !get_isSaved(it.j43());
|
|
1919
1919
|
}
|
|
1920
1920
|
function Logging$lambda$lambda$slambda($level, resultContinuation) {
|
|
1921
|
-
this.
|
|
1921
|
+
this.q61_1 = $level;
|
|
1922
1922
|
CoroutineImpl.call(this, resultContinuation);
|
|
1923
1923
|
}
|
|
1924
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
1925
|
-
var tmp = this.
|
|
1926
|
-
tmp.
|
|
1927
|
-
tmp.
|
|
1928
|
-
return tmp.
|
|
1924
|
+
protoOf(Logging$lambda$lambda$slambda).z4e = function (response, $completion) {
|
|
1925
|
+
var tmp = this.m4d(response, $completion);
|
|
1926
|
+
tmp.k9_1 = Unit_instance;
|
|
1927
|
+
tmp.l9_1 = null;
|
|
1928
|
+
return tmp.q9();
|
|
1929
1929
|
};
|
|
1930
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
1931
|
-
return this.
|
|
1930
|
+
protoOf(Logging$lambda$lambda$slambda).ca = function (p1, $completion) {
|
|
1931
|
+
return this.z4e(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
|
|
1932
1932
|
};
|
|
1933
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
1934
|
-
var suspendResult = this.
|
|
1933
|
+
protoOf(Logging$lambda$lambda$slambda).q9 = function () {
|
|
1934
|
+
var suspendResult = this.k9_1;
|
|
1935
1935
|
$sm: do
|
|
1936
1936
|
try {
|
|
1937
|
-
var tmp = this.
|
|
1937
|
+
var tmp = this.i9_1;
|
|
1938
1938
|
switch (tmp) {
|
|
1939
1939
|
case 0:
|
|
1940
|
-
this.
|
|
1941
|
-
if (this.
|
|
1940
|
+
this.j9_1 = 3;
|
|
1941
|
+
if (this.q61_1.equals(LogLevel_NONE_getInstance()) || this.r61_1.y45().s45().t37(get_DisableLogging()))
|
|
1942
1942
|
return Unit_instance;
|
|
1943
|
-
this.
|
|
1944
|
-
this.
|
|
1945
|
-
suspendResult = logResponseBody(this.
|
|
1943
|
+
this.s61_1 = this.r61_1.y45().s45().r37(get_ClientCallLogger());
|
|
1944
|
+
this.i9_1 = 1;
|
|
1945
|
+
suspendResult = logResponseBody(this.s61_1, this.r61_1, this);
|
|
1946
1946
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1947
1947
|
return suspendResult;
|
|
1948
1948
|
}
|
|
1949
1949
|
|
|
1950
1950
|
continue $sm;
|
|
1951
1951
|
case 1:
|
|
1952
|
-
this.
|
|
1953
|
-
suspendResult = this.
|
|
1952
|
+
this.i9_1 = 2;
|
|
1953
|
+
suspendResult = this.s61_1.x5p(this);
|
|
1954
1954
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1955
1955
|
return suspendResult;
|
|
1956
1956
|
}
|
|
@@ -1959,95 +1959,95 @@
|
|
|
1959
1959
|
case 2:
|
|
1960
1960
|
return Unit_instance;
|
|
1961
1961
|
case 3:
|
|
1962
|
-
throw this.
|
|
1962
|
+
throw this.l9_1;
|
|
1963
1963
|
}
|
|
1964
1964
|
} catch ($p) {
|
|
1965
1965
|
var e = $p;
|
|
1966
|
-
if (this.
|
|
1966
|
+
if (this.j9_1 === 3) {
|
|
1967
1967
|
throw e;
|
|
1968
1968
|
} else {
|
|
1969
|
-
this.
|
|
1970
|
-
this.
|
|
1969
|
+
this.i9_1 = this.j9_1;
|
|
1970
|
+
this.l9_1 = e;
|
|
1971
1971
|
}
|
|
1972
1972
|
}
|
|
1973
1973
|
while (true);
|
|
1974
1974
|
};
|
|
1975
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
1976
|
-
var i = new Logging$lambda$lambda$slambda(this.
|
|
1977
|
-
i.
|
|
1975
|
+
protoOf(Logging$lambda$lambda$slambda).m4d = function (response, completion) {
|
|
1976
|
+
var i = new Logging$lambda$lambda$slambda(this.q61_1, completion);
|
|
1977
|
+
i.r61_1 = response;
|
|
1978
1978
|
return i;
|
|
1979
1979
|
};
|
|
1980
1980
|
function Logging$lambda$lambda$slambda_0($level, resultContinuation) {
|
|
1981
1981
|
var i = new Logging$lambda$lambda$slambda($level, resultContinuation);
|
|
1982
1982
|
var l = function (response, $completion) {
|
|
1983
|
-
return i.
|
|
1983
|
+
return i.z4e(response, $completion);
|
|
1984
1984
|
};
|
|
1985
1985
|
l.$arity = 1;
|
|
1986
1986
|
return l;
|
|
1987
1987
|
}
|
|
1988
1988
|
function Logging$lambda$lambda($level) {
|
|
1989
1989
|
return function ($this$prepare) {
|
|
1990
|
-
$this$prepare.
|
|
1991
|
-
$this$prepare.
|
|
1990
|
+
$this$prepare.b50(Logging$lambda$lambda$lambda);
|
|
1991
|
+
$this$prepare.a50(Logging$lambda$lambda$slambda_0($level, null));
|
|
1992
1992
|
return Unit_instance;
|
|
1993
1993
|
};
|
|
1994
1994
|
}
|
|
1995
1995
|
function $invoke$detectIfBinaryCOROUTINE$($this_createClientPlugin, body, contentLength, contentType, headers, resultContinuation) {
|
|
1996
1996
|
CoroutineImpl.call(this, resultContinuation);
|
|
1997
|
-
this.
|
|
1998
|
-
this.
|
|
1999
|
-
this.
|
|
2000
|
-
this.
|
|
2001
|
-
this.
|
|
2002
|
-
}
|
|
2003
|
-
protoOf($invoke$detectIfBinaryCOROUTINE$).
|
|
2004
|
-
var suspendResult = this.
|
|
1997
|
+
this.t5u_1 = $this_createClientPlugin;
|
|
1998
|
+
this.u5u_1 = body;
|
|
1999
|
+
this.v5u_1 = contentLength;
|
|
2000
|
+
this.w5u_1 = contentType;
|
|
2001
|
+
this.x5u_1 = headers;
|
|
2002
|
+
}
|
|
2003
|
+
protoOf($invoke$detectIfBinaryCOROUTINE$).q9 = function () {
|
|
2004
|
+
var suspendResult = this.k9_1;
|
|
2005
2005
|
$sm: do
|
|
2006
2006
|
try {
|
|
2007
|
-
var tmp = this.
|
|
2007
|
+
var tmp = this.i9_1;
|
|
2008
2008
|
switch (tmp) {
|
|
2009
2009
|
case 0:
|
|
2010
|
-
this.
|
|
2011
|
-
if (this.
|
|
2012
|
-
return new Triple(true, this.
|
|
2010
|
+
this.j9_1 = 4;
|
|
2011
|
+
if (this.x5u_1.q3b(HttpHeaders_getInstance().h3j_1)) {
|
|
2012
|
+
return new Triple(true, this.v5u_1, this.u5u_1);
|
|
2013
2013
|
}
|
|
2014
2014
|
|
|
2015
2015
|
var tmp_0 = this;
|
|
2016
2016
|
var tmp_1;
|
|
2017
|
-
if (!(this.
|
|
2018
|
-
var tmp0_elvis_lhs = charset(this.
|
|
2019
|
-
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().
|
|
2017
|
+
if (!(this.w5u_1 == null)) {
|
|
2018
|
+
var tmp0_elvis_lhs = charset(this.w5u_1);
|
|
2019
|
+
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().m36_1 : tmp0_elvis_lhs;
|
|
2020
2020
|
} else {
|
|
2021
|
-
tmp_1 = Charsets_getInstance().
|
|
2021
|
+
tmp_1 = Charsets_getInstance().m36_1;
|
|
2022
2022
|
}
|
|
2023
2023
|
|
|
2024
|
-
tmp_0.
|
|
2025
|
-
this.
|
|
2026
|
-
this.
|
|
2027
|
-
this.
|
|
2028
|
-
suspendResult = readAvailable(this.
|
|
2024
|
+
tmp_0.c5v_1 = tmp_1;
|
|
2025
|
+
this.a5v_1 = false;
|
|
2026
|
+
this.b5v_1 = new Int8Array(1024);
|
|
2027
|
+
this.i9_1 = 1;
|
|
2028
|
+
suspendResult = readAvailable(this.u5u_1, this.b5v_1, VOID, VOID, this);
|
|
2029
2029
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2030
2030
|
return suspendResult;
|
|
2031
2031
|
}
|
|
2032
2032
|
|
|
2033
2033
|
continue $sm;
|
|
2034
2034
|
case 1:
|
|
2035
|
-
this.
|
|
2036
|
-
if (this.
|
|
2037
|
-
return new Triple(false, new Long(0, 0), this.
|
|
2035
|
+
this.z5u_1 = suspendResult;
|
|
2036
|
+
if (this.z5u_1 < 1) {
|
|
2037
|
+
return new Triple(false, new Long(0, 0), this.u5u_1);
|
|
2038
2038
|
}
|
|
2039
2039
|
|
|
2040
2040
|
var this_0 = new Buffer();
|
|
2041
|
-
writeFully_0(this_0, this.
|
|
2041
|
+
writeFully_0(this_0, this.b5v_1, 0, this.z5u_1);
|
|
2042
2042
|
var buffer = this_0;
|
|
2043
2043
|
var tmp_2;
|
|
2044
2044
|
try {
|
|
2045
|
-
tmp_2 = decode(this.
|
|
2045
|
+
tmp_2 = decode(this.c5v_1.p36(), buffer);
|
|
2046
2046
|
} catch ($p) {
|
|
2047
2047
|
var tmp_3;
|
|
2048
2048
|
if ($p instanceof MalformedInputException) {
|
|
2049
2049
|
var _unused_var__etf5q3 = $p;
|
|
2050
|
-
this.
|
|
2050
|
+
this.a5v_1 = true;
|
|
2051
2051
|
tmp_3 = '';
|
|
2052
2052
|
} else {
|
|
2053
2053
|
throw $p;
|
|
@@ -2056,7 +2056,7 @@
|
|
|
2056
2056
|
}
|
|
2057
2057
|
|
|
2058
2058
|
var firstChunkText = tmp_2;
|
|
2059
|
-
if (!this.
|
|
2059
|
+
if (!this.a5v_1) {
|
|
2060
2060
|
var lastCharIndex = -1;
|
|
2061
2061
|
var inductionVariable = 0;
|
|
2062
2062
|
var last = firstChunkText.length;
|
|
@@ -2072,66 +2072,66 @@
|
|
|
2072
2072
|
var ch_0 = charCodeAt(firstChunkText, inductionVariable_0);
|
|
2073
2073
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
2074
2074
|
if (ch_0 === _Char___init__impl__6a9atx(65533) && !(i === lastCharIndex)) {
|
|
2075
|
-
this.
|
|
2075
|
+
this.a5v_1 = true;
|
|
2076
2076
|
break $l$loop;
|
|
2077
2077
|
}
|
|
2078
2078
|
}
|
|
2079
2079
|
}
|
|
2080
2080
|
|
|
2081
|
-
if (!this.
|
|
2082
|
-
this.
|
|
2083
|
-
this.
|
|
2084
|
-
suspendResult = async(this.
|
|
2081
|
+
if (!this.a5v_1) {
|
|
2082
|
+
this.y5u_1 = new ByteChannel();
|
|
2083
|
+
this.i9_1 = 3;
|
|
2084
|
+
suspendResult = async(this.t5u_1.l4c_1, VOID, VOID, Logging$lambda$detectIfBinary$slambda_0(this.y5u_1, this.b5v_1, this.z5u_1, this.u5u_1, null)).p1r(this);
|
|
2085
2085
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2086
2086
|
return suspendResult;
|
|
2087
2087
|
}
|
|
2088
2088
|
continue $sm;
|
|
2089
2089
|
} else {
|
|
2090
|
-
this.
|
|
2090
|
+
this.i9_1 = 2;
|
|
2091
2091
|
continue $sm;
|
|
2092
2092
|
}
|
|
2093
2093
|
|
|
2094
2094
|
case 2:
|
|
2095
|
-
return new Triple(this.
|
|
2095
|
+
return new Triple(this.a5v_1, this.v5u_1, this.u5u_1);
|
|
2096
2096
|
case 3:
|
|
2097
2097
|
var copied = suspendResult;
|
|
2098
|
-
var tmp_4 = this.
|
|
2099
|
-
var other = this.
|
|
2100
|
-
return new Triple(tmp_4, add(copied, fromInt(other)), this.
|
|
2098
|
+
var tmp_4 = this.a5v_1;
|
|
2099
|
+
var other = this.z5u_1;
|
|
2100
|
+
return new Triple(tmp_4, add(copied, fromInt(other)), this.y5u_1);
|
|
2101
2101
|
case 4:
|
|
2102
|
-
throw this.
|
|
2102
|
+
throw this.l9_1;
|
|
2103
2103
|
}
|
|
2104
2104
|
} catch ($p) {
|
|
2105
2105
|
var e = $p;
|
|
2106
|
-
if (this.
|
|
2106
|
+
if (this.j9_1 === 4) {
|
|
2107
2107
|
throw e;
|
|
2108
2108
|
} else {
|
|
2109
|
-
this.
|
|
2110
|
-
this.
|
|
2109
|
+
this.i9_1 = this.j9_1;
|
|
2110
|
+
this.l9_1 = e;
|
|
2111
2111
|
}
|
|
2112
2112
|
}
|
|
2113
2113
|
while (true);
|
|
2114
2114
|
};
|
|
2115
2115
|
function $invoke$logRequestBodyCOROUTINE$($this_createClientPlugin, content, contentLength, headers, method, logLines, body, resultContinuation) {
|
|
2116
2116
|
CoroutineImpl.call(this, resultContinuation);
|
|
2117
|
-
this.
|
|
2118
|
-
this.
|
|
2119
|
-
this.
|
|
2120
|
-
this.
|
|
2121
|
-
this.
|
|
2122
|
-
this.
|
|
2123
|
-
this.
|
|
2124
|
-
}
|
|
2125
|
-
protoOf($invoke$logRequestBodyCOROUTINE$).
|
|
2126
|
-
var suspendResult = this.
|
|
2117
|
+
this.l5v_1 = $this_createClientPlugin;
|
|
2118
|
+
this.m5v_1 = content;
|
|
2119
|
+
this.n5v_1 = contentLength;
|
|
2120
|
+
this.o5v_1 = headers;
|
|
2121
|
+
this.p5v_1 = method;
|
|
2122
|
+
this.q5v_1 = logLines;
|
|
2123
|
+
this.r5v_1 = body;
|
|
2124
|
+
}
|
|
2125
|
+
protoOf($invoke$logRequestBodyCOROUTINE$).q9 = function () {
|
|
2126
|
+
var suspendResult = this.k9_1;
|
|
2127
2127
|
$sm: do
|
|
2128
2128
|
try {
|
|
2129
|
-
var tmp = this.
|
|
2129
|
+
var tmp = this.i9_1;
|
|
2130
2130
|
switch (tmp) {
|
|
2131
2131
|
case 0:
|
|
2132
|
-
this.
|
|
2133
|
-
this.
|
|
2134
|
-
suspendResult = invoke$detectIfBinary(this.
|
|
2132
|
+
this.j9_1 = 4;
|
|
2133
|
+
this.i9_1 = 1;
|
|
2134
|
+
suspendResult = invoke$detectIfBinary(this.l5v_1, this.r5v_1, this.n5v_1, this.m5v_1.n3s(), this.o5v_1, this);
|
|
2135
2135
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2136
2136
|
return suspendResult;
|
|
2137
2137
|
}
|
|
@@ -2139,21 +2139,21 @@
|
|
|
2139
2139
|
continue $sm;
|
|
2140
2140
|
case 1:
|
|
2141
2141
|
var _destruct__k2r9zo = suspendResult;
|
|
2142
|
-
var isBinary = _destruct__k2r9zo.
|
|
2143
|
-
this.
|
|
2144
|
-
var newBody = _destruct__k2r9zo.
|
|
2142
|
+
var isBinary = _destruct__k2r9zo.of();
|
|
2143
|
+
this.t5v_1 = _destruct__k2r9zo.pf();
|
|
2144
|
+
var newBody = _destruct__k2r9zo.tm();
|
|
2145
2145
|
if (!isBinary) {
|
|
2146
|
-
var contentType = this.
|
|
2146
|
+
var contentType = this.m5v_1.n3s();
|
|
2147
2147
|
var tmp_0 = this;
|
|
2148
2148
|
var tmp_1;
|
|
2149
2149
|
if (!(contentType == null)) {
|
|
2150
2150
|
var tmp0_elvis_lhs = charset(contentType);
|
|
2151
|
-
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().
|
|
2151
|
+
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().m36_1 : tmp0_elvis_lhs;
|
|
2152
2152
|
} else {
|
|
2153
|
-
tmp_1 = Charsets_getInstance().
|
|
2153
|
+
tmp_1 = Charsets_getInstance().m36_1;
|
|
2154
2154
|
}
|
|
2155
|
-
tmp_0.
|
|
2156
|
-
this.
|
|
2155
|
+
tmp_0.u5v_1 = tmp_1;
|
|
2156
|
+
this.i9_1 = 2;
|
|
2157
2157
|
suspendResult = readRemaining(newBody, this);
|
|
2158
2158
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2159
2159
|
return suspendResult;
|
|
@@ -2162,73 +2162,73 @@
|
|
|
2162
2162
|
} else {
|
|
2163
2163
|
var tmp_2 = this;
|
|
2164
2164
|
var type = 'binary';
|
|
2165
|
-
if (this.
|
|
2165
|
+
if (this.o5v_1.q3b(HttpHeaders_getInstance().h3j_1)) {
|
|
2166
2166
|
type = 'encoded';
|
|
2167
2167
|
}
|
|
2168
2168
|
var tmp_3;
|
|
2169
|
-
if (!(this.
|
|
2170
|
-
tmp_3 = this.
|
|
2169
|
+
if (!(this.t5v_1 == null)) {
|
|
2170
|
+
tmp_3 = this.q5v_1.e1('--> END ' + this.p5v_1.i3n_1 + ' (' + type + ' ' + this.t5v_1.toString() + '-byte body omitted)');
|
|
2171
2171
|
} else {
|
|
2172
|
-
tmp_3 = this.
|
|
2172
|
+
tmp_3 = this.q5v_1.e1('--> END ' + this.p5v_1.i3n_1 + ' (' + type + ' body omitted)');
|
|
2173
2173
|
}
|
|
2174
|
-
tmp_2.
|
|
2175
|
-
this.
|
|
2174
|
+
tmp_2.s5v_1 = tmp_3;
|
|
2175
|
+
this.i9_1 = 3;
|
|
2176
2176
|
continue $sm;
|
|
2177
2177
|
}
|
|
2178
2178
|
|
|
2179
2179
|
case 2:
|
|
2180
2180
|
var ARGUMENT = suspendResult;
|
|
2181
|
-
var ARGUMENT_0 = readText(ARGUMENT, this.
|
|
2182
|
-
this.
|
|
2183
|
-
this.
|
|
2184
|
-
this.
|
|
2181
|
+
var ARGUMENT_0 = readText(ARGUMENT, this.u5v_1);
|
|
2182
|
+
this.q5v_1.e1(ARGUMENT_0);
|
|
2183
|
+
this.s5v_1 = this.q5v_1.e1('--> END ' + this.p5v_1.i3n_1 + ' (' + toString_0(this.t5v_1) + '-byte body)');
|
|
2184
|
+
this.i9_1 = 3;
|
|
2185
2185
|
continue $sm;
|
|
2186
2186
|
case 3:
|
|
2187
2187
|
return Unit_instance;
|
|
2188
2188
|
case 4:
|
|
2189
|
-
throw this.
|
|
2189
|
+
throw this.l9_1;
|
|
2190
2190
|
}
|
|
2191
2191
|
} catch ($p) {
|
|
2192
2192
|
var e = $p;
|
|
2193
|
-
if (this.
|
|
2193
|
+
if (this.j9_1 === 4) {
|
|
2194
2194
|
throw e;
|
|
2195
2195
|
} else {
|
|
2196
|
-
this.
|
|
2197
|
-
this.
|
|
2196
|
+
this.i9_1 = this.j9_1;
|
|
2197
|
+
this.l9_1 = e;
|
|
2198
2198
|
}
|
|
2199
2199
|
}
|
|
2200
2200
|
while (true);
|
|
2201
2201
|
};
|
|
2202
2202
|
function $invoke$logOutgoingContentCOROUTINE$($this_createClientPlugin, content, method, headers, logLines, process, resultContinuation) {
|
|
2203
2203
|
CoroutineImpl.call(this, resultContinuation);
|
|
2204
|
-
this.
|
|
2205
|
-
this.
|
|
2206
|
-
this.
|
|
2207
|
-
this.
|
|
2208
|
-
this.
|
|
2209
|
-
this.
|
|
2210
|
-
}
|
|
2211
|
-
protoOf($invoke$logOutgoingContentCOROUTINE$).
|
|
2212
|
-
var suspendResult = this.
|
|
2204
|
+
this.d5w_1 = $this_createClientPlugin;
|
|
2205
|
+
this.e5w_1 = content;
|
|
2206
|
+
this.f5w_1 = method;
|
|
2207
|
+
this.g5w_1 = headers;
|
|
2208
|
+
this.h5w_1 = logLines;
|
|
2209
|
+
this.i5w_1 = process;
|
|
2210
|
+
}
|
|
2211
|
+
protoOf($invoke$logOutgoingContentCOROUTINE$).q9 = function () {
|
|
2212
|
+
var suspendResult = this.k9_1;
|
|
2213
2213
|
$sm: do
|
|
2214
2214
|
try {
|
|
2215
|
-
var tmp = this.
|
|
2215
|
+
var tmp = this.i9_1;
|
|
2216
2216
|
switch (tmp) {
|
|
2217
2217
|
case 0:
|
|
2218
|
-
this.
|
|
2219
|
-
var tmp0_subject = this.
|
|
2218
|
+
this.j9_1 = 6;
|
|
2219
|
+
var tmp0_subject = this.e5w_1;
|
|
2220
2220
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
2221
|
-
var bytes = this.
|
|
2222
|
-
this.
|
|
2223
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2221
|
+
var bytes = this.e5w_1.q3s();
|
|
2222
|
+
this.i9_1 = 4;
|
|
2223
|
+
suspendResult = invoke$logRequestBody(this.d5w_1, this.e5w_1, fromInt(bytes.length), this.g5w_1, this.f5w_1, this.h5w_1, ByteReadChannel(bytes), this);
|
|
2224
2224
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2225
2225
|
return suspendResult;
|
|
2226
2226
|
}
|
|
2227
2227
|
continue $sm;
|
|
2228
2228
|
} else {
|
|
2229
2229
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
2230
|
-
this.
|
|
2231
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2230
|
+
this.i9_1 = 3;
|
|
2231
|
+
suspendResult = invoke$logOutgoingContent(this.d5w_1, this.e5w_1.z3s(), this.f5w_1, this.g5w_1, this.h5w_1, this.i5w_1, this);
|
|
2232
2232
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2233
2233
|
return suspendResult;
|
|
2234
2234
|
}
|
|
@@ -2236,24 +2236,24 @@
|
|
|
2236
2236
|
} else {
|
|
2237
2237
|
if (tmp0_subject instanceof NoContent) {
|
|
2238
2238
|
var tmp_0 = this;
|
|
2239
|
-
this.
|
|
2240
|
-
tmp_0.
|
|
2241
|
-
this.
|
|
2239
|
+
this.h5w_1.e1('--> END ' + this.f5w_1.i3n_1);
|
|
2240
|
+
tmp_0.j5w_1 = null;
|
|
2241
|
+
this.i9_1 = 5;
|
|
2242
2242
|
continue $sm;
|
|
2243
2243
|
} else {
|
|
2244
2244
|
if (tmp0_subject instanceof ProtocolUpgrade) {
|
|
2245
2245
|
var tmp_1 = this;
|
|
2246
|
-
this.
|
|
2247
|
-
tmp_1.
|
|
2248
|
-
this.
|
|
2246
|
+
this.h5w_1.e1('--> END ' + this.f5w_1.i3n_1);
|
|
2247
|
+
tmp_1.j5w_1 = null;
|
|
2248
|
+
this.i9_1 = 5;
|
|
2249
2249
|
continue $sm;
|
|
2250
2250
|
} else {
|
|
2251
2251
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
2252
|
-
var _destruct__k2r9zo = split(this.
|
|
2253
|
-
this.
|
|
2254
|
-
var newChannel = _destruct__k2r9zo.
|
|
2255
|
-
this.
|
|
2256
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2252
|
+
var _destruct__k2r9zo = split(this.e5w_1.t3s(), this.d5w_1.l4c_1);
|
|
2253
|
+
this.k5w_1 = _destruct__k2r9zo.of();
|
|
2254
|
+
var newChannel = _destruct__k2r9zo.pf();
|
|
2255
|
+
this.i9_1 = 2;
|
|
2256
|
+
suspendResult = invoke$logRequestBody(this.d5w_1, this.e5w_1, this.e5w_1.p3s(), this.g5w_1, this.f5w_1, this.h5w_1, newChannel, this);
|
|
2257
2257
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2258
2258
|
return suspendResult;
|
|
2259
2259
|
}
|
|
@@ -2261,12 +2261,12 @@
|
|
|
2261
2261
|
} else {
|
|
2262
2262
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
2263
2263
|
var channel = new ByteChannel();
|
|
2264
|
-
launch(this.
|
|
2265
|
-
var _destruct__k2r9zo_0 = split(channel, this.
|
|
2266
|
-
this.
|
|
2267
|
-
var newChannel_0 = _destruct__k2r9zo_0.
|
|
2268
|
-
this.
|
|
2269
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2264
|
+
launch(this.d5w_1.l4c_1, VOID, VOID, Logging$lambda$logOutgoingContent$slambda_0(this.e5w_1, channel, null));
|
|
2265
|
+
var _destruct__k2r9zo_0 = split(channel, this.d5w_1.l4c_1);
|
|
2266
|
+
this.l5w_1 = _destruct__k2r9zo_0.of();
|
|
2267
|
+
var newChannel_0 = _destruct__k2r9zo_0.pf();
|
|
2268
|
+
this.i9_1 = 1;
|
|
2269
|
+
suspendResult = invoke$logRequestBody(this.d5w_1, this.e5w_1, this.e5w_1.p3s(), this.g5w_1, this.f5w_1, this.h5w_1, newChannel_0, this);
|
|
2270
2270
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2271
2271
|
return suspendResult;
|
|
2272
2272
|
}
|
|
@@ -2283,69 +2283,69 @@
|
|
|
2283
2283
|
|
|
2284
2284
|
break;
|
|
2285
2285
|
case 1:
|
|
2286
|
-
this.
|
|
2287
|
-
this.
|
|
2286
|
+
this.j5w_1 = new LoggedContent(this.e5w_1, this.l5w_1);
|
|
2287
|
+
this.i9_1 = 5;
|
|
2288
2288
|
continue $sm;
|
|
2289
2289
|
case 2:
|
|
2290
|
-
this.
|
|
2291
|
-
this.
|
|
2290
|
+
this.j5w_1 = new LoggedContent(this.e5w_1, this.k5w_1);
|
|
2291
|
+
this.i9_1 = 5;
|
|
2292
2292
|
continue $sm;
|
|
2293
2293
|
case 3:
|
|
2294
|
-
this.
|
|
2295
|
-
this.
|
|
2294
|
+
this.j5w_1 = suspendResult;
|
|
2295
|
+
this.i9_1 = 5;
|
|
2296
2296
|
continue $sm;
|
|
2297
2297
|
case 4:
|
|
2298
|
-
this.
|
|
2299
|
-
this.
|
|
2298
|
+
this.j5w_1 = null;
|
|
2299
|
+
this.i9_1 = 5;
|
|
2300
2300
|
continue $sm;
|
|
2301
2301
|
case 5:
|
|
2302
|
-
return this.
|
|
2302
|
+
return this.j5w_1;
|
|
2303
2303
|
case 6:
|
|
2304
|
-
throw this.
|
|
2304
|
+
throw this.l9_1;
|
|
2305
2305
|
}
|
|
2306
2306
|
} catch ($p) {
|
|
2307
2307
|
var e = $p;
|
|
2308
|
-
if (this.
|
|
2308
|
+
if (this.j9_1 === 6) {
|
|
2309
2309
|
throw e;
|
|
2310
2310
|
} else {
|
|
2311
|
-
this.
|
|
2312
|
-
this.
|
|
2311
|
+
this.i9_1 = this.j9_1;
|
|
2312
|
+
this.l9_1 = e;
|
|
2313
2313
|
}
|
|
2314
2314
|
}
|
|
2315
2315
|
while (true);
|
|
2316
2316
|
};
|
|
2317
2317
|
function $invoke$logRequestOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, request, logLines, resultContinuation) {
|
|
2318
2318
|
CoroutineImpl.call(this, resultContinuation);
|
|
2319
|
-
this.
|
|
2320
|
-
this.
|
|
2321
|
-
this.
|
|
2322
|
-
this.
|
|
2323
|
-
this.
|
|
2324
|
-
}
|
|
2325
|
-
protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).
|
|
2326
|
-
var suspendResult = this.
|
|
2319
|
+
this.u5w_1 = sanitizedHeaders;
|
|
2320
|
+
this.v5w_1 = level;
|
|
2321
|
+
this.w5w_1 = $this_createClientPlugin;
|
|
2322
|
+
this.x5w_1 = request;
|
|
2323
|
+
this.y5w_1 = logLines;
|
|
2324
|
+
}
|
|
2325
|
+
protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).q9 = function () {
|
|
2326
|
+
var suspendResult = this.k9_1;
|
|
2327
2327
|
$sm: do
|
|
2328
2328
|
try {
|
|
2329
|
-
var tmp = this.
|
|
2329
|
+
var tmp = this.i9_1;
|
|
2330
2330
|
switch (tmp) {
|
|
2331
2331
|
case 0:
|
|
2332
|
-
this.
|
|
2333
|
-
if (invoke$isNone(this.
|
|
2332
|
+
this.j9_1 = 4;
|
|
2333
|
+
if (invoke$isNone(this.v5w_1))
|
|
2334
2334
|
return null;
|
|
2335
|
-
var uri = pathQuery(takeFrom(new URLBuilder(), this.
|
|
2336
|
-
var body = this.
|
|
2335
|
+
var uri = pathQuery(takeFrom(new URLBuilder(), this.x5w_1.j44_1).t3i());
|
|
2336
|
+
var body = this.x5w_1.m44_1;
|
|
2337
2337
|
var this_0 = new HeadersBuilder();
|
|
2338
2338
|
var tmp_0;
|
|
2339
2339
|
var tmp_1;
|
|
2340
2340
|
var tmp_2;
|
|
2341
2341
|
if (body instanceof OutgoingContent) {
|
|
2342
|
-
tmp_2 = !this.
|
|
2342
|
+
tmp_2 = !this.x5w_1.k44_1.equals(Companion_getInstance().a3n_1);
|
|
2343
2343
|
} else {
|
|
2344
2344
|
tmp_2 = false;
|
|
2345
2345
|
}
|
|
2346
2346
|
|
|
2347
2347
|
if (tmp_2) {
|
|
2348
|
-
tmp_1 = !this.
|
|
2348
|
+
tmp_1 = !this.x5w_1.k44_1.equals(Companion_getInstance().f3n_1);
|
|
2349
2349
|
} else {
|
|
2350
2350
|
tmp_1 = false;
|
|
2351
2351
|
}
|
|
@@ -2357,30 +2357,30 @@
|
|
|
2357
2357
|
}
|
|
2358
2358
|
|
|
2359
2359
|
if (tmp_0) {
|
|
2360
|
-
var tmp0_safe_receiver = body.
|
|
2360
|
+
var tmp0_safe_receiver = body.n3s();
|
|
2361
2361
|
if (tmp0_safe_receiver == null)
|
|
2362
2362
|
null;
|
|
2363
2363
|
else {
|
|
2364
|
-
appendIfNameAbsent(this_0, HttpHeaders_getInstance().
|
|
2364
|
+
appendIfNameAbsent(this_0, HttpHeaders_getInstance().m3j_1, tmp0_safe_receiver.toString());
|
|
2365
2365
|
}
|
|
2366
|
-
var tmp1_safe_receiver = body.
|
|
2366
|
+
var tmp1_safe_receiver = body.p3s();
|
|
2367
2367
|
if (tmp1_safe_receiver == null)
|
|
2368
2368
|
null;
|
|
2369
2369
|
else {
|
|
2370
|
-
appendIfNameAbsent(this_0, HttpHeaders_getInstance().
|
|
2370
|
+
appendIfNameAbsent(this_0, HttpHeaders_getInstance().j3j_1, tmp1_safe_receiver.toString());
|
|
2371
2371
|
}
|
|
2372
2372
|
}
|
|
2373
2373
|
|
|
2374
|
-
appendAll(this_0, this.
|
|
2375
|
-
var headers = this_0.
|
|
2376
|
-
var tmp0_safe_receiver_0 = headers.
|
|
2374
|
+
appendAll(this_0, this.x5w_1.l44_1);
|
|
2375
|
+
var headers = this_0.t3i();
|
|
2376
|
+
var tmp0_safe_receiver_0 = headers.j3a(HttpHeaders_getInstance().j3j_1);
|
|
2377
2377
|
var contentLength = tmp0_safe_receiver_0 == null ? null : toLongOrNull(tmp0_safe_receiver_0);
|
|
2378
2378
|
var tmp_3;
|
|
2379
|
-
if (this.
|
|
2380
|
-
tmp_3 = '--> ' + this.
|
|
2379
|
+
if (this.x5w_1.k44_1.equals(Companion_getInstance().a3n_1) || this.x5w_1.k44_1.equals(Companion_getInstance().f3n_1) || ((invoke$isHeaders(this.v5w_1) || invoke$isBody(this.v5w_1)) && !(contentLength == null)) || (invoke$isHeaders(this.v5w_1) && contentLength == null) || headers.q3b(HttpHeaders_getInstance().h3j_1)) {
|
|
2380
|
+
tmp_3 = '--> ' + this.x5w_1.k44_1.i3n_1 + ' ' + uri;
|
|
2381
2381
|
} else {
|
|
2382
|
-
if (invoke$isInfo(this.
|
|
2383
|
-
tmp_3 = '--> ' + this.
|
|
2382
|
+
if (invoke$isInfo(this.v5w_1) && !(contentLength == null)) {
|
|
2383
|
+
tmp_3 = '--> ' + this.x5w_1.k44_1.i3n_1 + ' ' + uri + ' (' + contentLength.toString() + '-byte body)';
|
|
2384
2384
|
} else {
|
|
2385
2385
|
var tmp_4;
|
|
2386
2386
|
if (body instanceof WriteChannelContent) {
|
|
@@ -2389,32 +2389,32 @@
|
|
|
2389
2389
|
tmp_4 = body instanceof ReadChannelContent;
|
|
2390
2390
|
}
|
|
2391
2391
|
if (tmp_4) {
|
|
2392
|
-
tmp_3 = '--> ' + this.
|
|
2392
|
+
tmp_3 = '--> ' + this.x5w_1.k44_1.i3n_1 + ' ' + uri + ' (unknown-byte body)';
|
|
2393
2393
|
} else {
|
|
2394
|
-
var size = computeRequestBodySize(this.
|
|
2395
|
-
tmp_3 = '--> ' + this.
|
|
2394
|
+
var size = computeRequestBodySize(this.x5w_1.m44_1);
|
|
2395
|
+
tmp_3 = '--> ' + this.x5w_1.k44_1.i3n_1 + ' ' + uri + ' (' + size.toString() + '-byte body)';
|
|
2396
2396
|
}
|
|
2397
2397
|
}
|
|
2398
2398
|
}
|
|
2399
2399
|
|
|
2400
2400
|
var startLine = tmp_3;
|
|
2401
|
-
this.
|
|
2402
|
-
if (!invoke$isHeaders(this.
|
|
2401
|
+
this.y5w_1.e1(startLine);
|
|
2402
|
+
if (!invoke$isHeaders(this.v5w_1) && !invoke$isBody(this.v5w_1)) {
|
|
2403
2403
|
return null;
|
|
2404
2404
|
}
|
|
2405
2405
|
|
|
2406
|
-
var _iterator__ex2g4s = headers.
|
|
2406
|
+
var _iterator__ex2g4s = headers.s3b().t();
|
|
2407
2407
|
while (_iterator__ex2g4s.u()) {
|
|
2408
2408
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2409
2409
|
var name = _destruct__k2r9zo.n1();
|
|
2410
2410
|
var values = _destruct__k2r9zo.o1();
|
|
2411
|
-
var tmp0 = this.
|
|
2411
|
+
var tmp0 = this.u5w_1;
|
|
2412
2412
|
var tmp$ret$0 = Unit_instance;
|
|
2413
2413
|
l$ret$1: do {
|
|
2414
2414
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2415
2415
|
while (_iterator__ex2g4s_0.u()) {
|
|
2416
2416
|
var element = _iterator__ex2g4s_0.v();
|
|
2417
|
-
if (element.
|
|
2417
|
+
if (element.f5y_1(name)) {
|
|
2418
2418
|
tmp$ret$0 = element;
|
|
2419
2419
|
break l$ret$1;
|
|
2420
2420
|
}
|
|
@@ -2423,34 +2423,34 @@
|
|
|
2423
2423
|
}
|
|
2424
2424
|
while (false);
|
|
2425
2425
|
if (tmp$ret$0 == null) {
|
|
2426
|
-
this.
|
|
2426
|
+
this.y5w_1.e1(name + ': ' + joinToString(values, ', '));
|
|
2427
2427
|
} else {
|
|
2428
|
-
this.
|
|
2428
|
+
this.y5w_1.e1(name + ': \u2588\u2588');
|
|
2429
2429
|
}
|
|
2430
2430
|
}
|
|
2431
2431
|
|
|
2432
|
-
if (!invoke$isBody(this.
|
|
2433
|
-
this.
|
|
2432
|
+
if (!invoke$isBody(this.v5w_1) || this.x5w_1.k44_1.equals(Companion_getInstance().a3n_1) || this.x5w_1.k44_1.equals(Companion_getInstance().f3n_1)) {
|
|
2433
|
+
this.y5w_1.e1('--> END ' + this.x5w_1.k44_1.i3n_1);
|
|
2434
2434
|
return null;
|
|
2435
2435
|
}
|
|
2436
2436
|
|
|
2437
|
-
this.
|
|
2437
|
+
this.y5w_1.e1('');
|
|
2438
2438
|
if (!(body instanceof OutgoingContent)) {
|
|
2439
|
-
this.
|
|
2439
|
+
this.y5w_1.e1('--> END ' + this.x5w_1.k44_1.i3n_1);
|
|
2440
2440
|
return null;
|
|
2441
2441
|
}
|
|
2442
2442
|
|
|
2443
|
-
if (this.
|
|
2444
|
-
this.
|
|
2445
|
-
var tmp_5 = this.
|
|
2446
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2443
|
+
if (this.x5w_1.l44_1.j3a(HttpHeaders_getInstance().h3j_1) === 'gzip') {
|
|
2444
|
+
this.i9_1 = 2;
|
|
2445
|
+
var tmp_5 = this.x5w_1.k44_1;
|
|
2446
|
+
suspendResult = invoke$logOutgoingContent(this.w5w_1, body, tmp_5, headers, this.y5w_1, Logging$lambda$logRequestOkHttpFormat$lambda, this);
|
|
2447
2447
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2448
2448
|
return suspendResult;
|
|
2449
2449
|
}
|
|
2450
2450
|
continue $sm;
|
|
2451
2451
|
} else {
|
|
2452
|
-
this.
|
|
2453
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2452
|
+
this.i9_1 = 1;
|
|
2453
|
+
suspendResult = invoke$logOutgoingContent(this.w5w_1, body, this.x5w_1.k44_1, headers, this.y5w_1, VOID, this);
|
|
2454
2454
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2455
2455
|
return suspendResult;
|
|
2456
2456
|
}
|
|
@@ -2458,48 +2458,48 @@
|
|
|
2458
2458
|
}
|
|
2459
2459
|
|
|
2460
2460
|
case 1:
|
|
2461
|
-
this.
|
|
2462
|
-
this.
|
|
2461
|
+
this.z5w_1 = suspendResult;
|
|
2462
|
+
this.i9_1 = 3;
|
|
2463
2463
|
continue $sm;
|
|
2464
2464
|
case 2:
|
|
2465
|
-
this.
|
|
2466
|
-
this.
|
|
2465
|
+
this.z5w_1 = suspendResult;
|
|
2466
|
+
this.i9_1 = 3;
|
|
2467
2467
|
continue $sm;
|
|
2468
2468
|
case 3:
|
|
2469
|
-
var newContent = this.
|
|
2469
|
+
var newContent = this.z5w_1;
|
|
2470
2470
|
return newContent;
|
|
2471
2471
|
case 4:
|
|
2472
|
-
throw this.
|
|
2472
|
+
throw this.l9_1;
|
|
2473
2473
|
}
|
|
2474
2474
|
} catch ($p) {
|
|
2475
2475
|
var e = $p;
|
|
2476
|
-
if (this.
|
|
2476
|
+
if (this.j9_1 === 4) {
|
|
2477
2477
|
throw e;
|
|
2478
2478
|
} else {
|
|
2479
|
-
this.
|
|
2480
|
-
this.
|
|
2479
|
+
this.i9_1 = this.j9_1;
|
|
2480
|
+
this.l9_1 = e;
|
|
2481
2481
|
}
|
|
2482
2482
|
}
|
|
2483
2483
|
while (true);
|
|
2484
2484
|
};
|
|
2485
2485
|
function $invoke$logResponseBodyCOROUTINE$($this_createClientPlugin, response, body, logLines, resultContinuation) {
|
|
2486
2486
|
CoroutineImpl.call(this, resultContinuation);
|
|
2487
|
-
this.
|
|
2488
|
-
this.
|
|
2489
|
-
this.
|
|
2490
|
-
this.
|
|
2487
|
+
this.i5x_1 = $this_createClientPlugin;
|
|
2488
|
+
this.j5x_1 = response;
|
|
2489
|
+
this.k5x_1 = body;
|
|
2490
|
+
this.l5x_1 = logLines;
|
|
2491
2491
|
}
|
|
2492
|
-
protoOf($invoke$logResponseBodyCOROUTINE$).
|
|
2493
|
-
var suspendResult = this.
|
|
2492
|
+
protoOf($invoke$logResponseBodyCOROUTINE$).q9 = function () {
|
|
2493
|
+
var suspendResult = this.k9_1;
|
|
2494
2494
|
$sm: do
|
|
2495
2495
|
try {
|
|
2496
|
-
var tmp = this.
|
|
2496
|
+
var tmp = this.i9_1;
|
|
2497
2497
|
switch (tmp) {
|
|
2498
2498
|
case 0:
|
|
2499
|
-
this.
|
|
2500
|
-
this.
|
|
2501
|
-
this.
|
|
2502
|
-
suspendResult = invoke$detectIfBinary(this.
|
|
2499
|
+
this.j9_1 = 4;
|
|
2500
|
+
this.l5x_1.e1('');
|
|
2501
|
+
this.i9_1 = 1;
|
|
2502
|
+
suspendResult = invoke$detectIfBinary(this.i5x_1, this.k5x_1, contentLength(this.j5x_1), contentType(this.j5x_1), this.j5x_1.z3m(), this);
|
|
2503
2503
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2504
2504
|
return suspendResult;
|
|
2505
2505
|
}
|
|
@@ -2507,27 +2507,27 @@
|
|
|
2507
2507
|
continue $sm;
|
|
2508
2508
|
case 1:
|
|
2509
2509
|
var _destruct__k2r9zo = suspendResult;
|
|
2510
|
-
var isBinary = _destruct__k2r9zo.
|
|
2511
|
-
this.
|
|
2512
|
-
var newBody = _destruct__k2r9zo.
|
|
2513
|
-
this.
|
|
2514
|
-
if (equals(this.
|
|
2515
|
-
this.
|
|
2510
|
+
var isBinary = _destruct__k2r9zo.of();
|
|
2511
|
+
this.n5x_1 = _destruct__k2r9zo.pf();
|
|
2512
|
+
var newBody = _destruct__k2r9zo.tm();
|
|
2513
|
+
this.o5x_1 = subtract(this.j5x_1.j46().b3d_1, this.j5x_1.i46().b3d_1);
|
|
2514
|
+
if (equals(this.n5x_1, new Long(0, 0))) {
|
|
2515
|
+
this.l5x_1.e1('<-- END HTTP (' + this.o5x_1.toString() + 'ms, ' + this.n5x_1.toString() + '-byte body)');
|
|
2516
2516
|
return Unit_instance;
|
|
2517
2517
|
}
|
|
2518
2518
|
|
|
2519
2519
|
if (!isBinary) {
|
|
2520
|
-
var contentType_0 = contentType(this.
|
|
2520
|
+
var contentType_0 = contentType(this.j5x_1);
|
|
2521
2521
|
var tmp_0 = this;
|
|
2522
2522
|
var tmp_1;
|
|
2523
2523
|
if (!(contentType_0 == null)) {
|
|
2524
2524
|
var tmp0_elvis_lhs = charset(contentType_0);
|
|
2525
|
-
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().
|
|
2525
|
+
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().m36_1 : tmp0_elvis_lhs;
|
|
2526
2526
|
} else {
|
|
2527
|
-
tmp_1 = Charsets_getInstance().
|
|
2527
|
+
tmp_1 = Charsets_getInstance().m36_1;
|
|
2528
2528
|
}
|
|
2529
|
-
tmp_0.
|
|
2530
|
-
this.
|
|
2529
|
+
tmp_0.p5x_1 = tmp_1;
|
|
2530
|
+
this.i9_1 = 2;
|
|
2531
2531
|
suspendResult = readRemaining(newBody, this);
|
|
2532
2532
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2533
2533
|
return suspendResult;
|
|
@@ -2536,83 +2536,83 @@
|
|
|
2536
2536
|
} else {
|
|
2537
2537
|
var tmp_2 = this;
|
|
2538
2538
|
var type = 'binary';
|
|
2539
|
-
if (this.
|
|
2539
|
+
if (this.j5x_1.z3m().q3b(HttpHeaders_getInstance().h3j_1)) {
|
|
2540
2540
|
type = 'encoded';
|
|
2541
2541
|
}
|
|
2542
2542
|
var tmp_3;
|
|
2543
|
-
if (!(this.
|
|
2544
|
-
tmp_3 = this.
|
|
2543
|
+
if (!(this.n5x_1 == null)) {
|
|
2544
|
+
tmp_3 = this.l5x_1.e1('<-- END HTTP (' + this.o5x_1.toString() + 'ms, ' + type + ' ' + this.n5x_1.toString() + '-byte body omitted)');
|
|
2545
2545
|
} else {
|
|
2546
|
-
tmp_3 = this.
|
|
2546
|
+
tmp_3 = this.l5x_1.e1('<-- END HTTP (' + this.o5x_1.toString() + 'ms, ' + type + ' body omitted)');
|
|
2547
2547
|
}
|
|
2548
|
-
tmp_2.
|
|
2549
|
-
this.
|
|
2548
|
+
tmp_2.m5x_1 = tmp_3;
|
|
2549
|
+
this.i9_1 = 3;
|
|
2550
2550
|
continue $sm;
|
|
2551
2551
|
}
|
|
2552
2552
|
|
|
2553
2553
|
case 2:
|
|
2554
2554
|
var ARGUMENT = suspendResult;
|
|
2555
|
-
var ARGUMENT_0 = readText(ARGUMENT, this.
|
|
2556
|
-
this.
|
|
2557
|
-
this.
|
|
2558
|
-
this.
|
|
2555
|
+
var ARGUMENT_0 = readText(ARGUMENT, this.p5x_1);
|
|
2556
|
+
this.l5x_1.e1(ARGUMENT_0);
|
|
2557
|
+
this.m5x_1 = this.l5x_1.e1('<-- END HTTP (' + this.o5x_1.toString() + 'ms, ' + toString_0(this.n5x_1) + '-byte body)');
|
|
2558
|
+
this.i9_1 = 3;
|
|
2559
2559
|
continue $sm;
|
|
2560
2560
|
case 3:
|
|
2561
2561
|
return Unit_instance;
|
|
2562
2562
|
case 4:
|
|
2563
|
-
throw this.
|
|
2563
|
+
throw this.l9_1;
|
|
2564
2564
|
}
|
|
2565
2565
|
} catch ($p) {
|
|
2566
2566
|
var e = $p;
|
|
2567
|
-
if (this.
|
|
2567
|
+
if (this.j9_1 === 4) {
|
|
2568
2568
|
throw e;
|
|
2569
2569
|
} else {
|
|
2570
|
-
this.
|
|
2571
|
-
this.
|
|
2570
|
+
this.i9_1 = this.j9_1;
|
|
2571
|
+
this.l9_1 = e;
|
|
2572
2572
|
}
|
|
2573
2573
|
}
|
|
2574
2574
|
while (true);
|
|
2575
2575
|
};
|
|
2576
2576
|
function $invoke$logResponseOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, response, logLines, resultContinuation) {
|
|
2577
2577
|
CoroutineImpl.call(this, resultContinuation);
|
|
2578
|
-
this.
|
|
2579
|
-
this.
|
|
2580
|
-
this.
|
|
2581
|
-
this.
|
|
2582
|
-
this.
|
|
2583
|
-
}
|
|
2584
|
-
protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).
|
|
2585
|
-
var suspendResult = this.
|
|
2578
|
+
this.y5x_1 = sanitizedHeaders;
|
|
2579
|
+
this.z5x_1 = level;
|
|
2580
|
+
this.a5y_1 = $this_createClientPlugin;
|
|
2581
|
+
this.b5y_1 = response;
|
|
2582
|
+
this.c5y_1 = logLines;
|
|
2583
|
+
}
|
|
2584
|
+
protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).q9 = function () {
|
|
2585
|
+
var suspendResult = this.k9_1;
|
|
2586
2586
|
$sm: do
|
|
2587
2587
|
try {
|
|
2588
|
-
var tmp = this.
|
|
2588
|
+
var tmp = this.i9_1;
|
|
2589
2589
|
switch (tmp) {
|
|
2590
2590
|
case 0:
|
|
2591
|
-
this.
|
|
2592
|
-
if (invoke$isNone(this.
|
|
2593
|
-
return this.
|
|
2594
|
-
var tmp0_safe_receiver = this.
|
|
2591
|
+
this.j9_1 = 4;
|
|
2592
|
+
if (invoke$isNone(this.z5x_1))
|
|
2593
|
+
return this.b5y_1;
|
|
2594
|
+
var tmp0_safe_receiver = this.b5y_1.z3m().j3a(HttpHeaders_getInstance().j3j_1);
|
|
2595
2595
|
var contentLength = tmp0_safe_receiver == null ? null : toLongOrNull(tmp0_safe_receiver);
|
|
2596
|
-
var request = get_request(this.
|
|
2597
|
-
var duration = subtract(this.
|
|
2598
|
-
var startLine = this.
|
|
2599
|
-
this.
|
|
2600
|
-
if (!invoke$isHeaders(this.
|
|
2601
|
-
return this.
|
|
2596
|
+
var request = get_request(this.b5y_1);
|
|
2597
|
+
var duration = subtract(this.b5y_1.j46().b3d_1, this.b5y_1.i46().b3d_1);
|
|
2598
|
+
var startLine = this.b5y_1.z3m().j3a(HttpHeaders_getInstance().q3l_1) === 'chunked' && (invoke$isInfo(this.z5x_1) || invoke$isHeaders(this.z5x_1)) ? '<-- ' + this.b5y_1.o3s().toString() + ' ' + pathQuery(request.a46()) + ' (' + duration.toString() + 'ms, unknown-byte body)' : invoke$isInfo(this.z5x_1) && !(contentLength == null) ? '<-- ' + this.b5y_1.o3s().toString() + ' ' + pathQuery(request.a46()) + ' (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)' : invoke$isBody(this.z5x_1) || (invoke$isInfo(this.z5x_1) && contentLength == null) || (invoke$isHeaders(this.z5x_1) && !(contentLength == null)) || this.b5y_1.z3m().j3a(HttpHeaders_getInstance().h3j_1) === 'gzip' ? '<-- ' + this.b5y_1.o3s().toString() + ' ' + pathQuery(request.a46()) + ' (' + duration.toString() + 'ms)' : '<-- ' + this.b5y_1.o3s().toString() + ' ' + pathQuery(request.a46()) + ' (' + duration.toString() + 'ms, unknown-byte body)';
|
|
2599
|
+
this.c5y_1.e1(startLine);
|
|
2600
|
+
if (!invoke$isHeaders(this.z5x_1) && !invoke$isBody(this.z5x_1)) {
|
|
2601
|
+
return this.b5y_1;
|
|
2602
2602
|
}
|
|
2603
2603
|
|
|
2604
|
-
var _iterator__ex2g4s = this.
|
|
2604
|
+
var _iterator__ex2g4s = this.b5y_1.z3m().s3b().t();
|
|
2605
2605
|
while (_iterator__ex2g4s.u()) {
|
|
2606
2606
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2607
2607
|
var name = _destruct__k2r9zo.n1();
|
|
2608
2608
|
var values = _destruct__k2r9zo.o1();
|
|
2609
|
-
var tmp0 = this.
|
|
2609
|
+
var tmp0 = this.y5x_1;
|
|
2610
2610
|
var tmp$ret$0 = Unit_instance;
|
|
2611
2611
|
l$ret$1: do {
|
|
2612
2612
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2613
2613
|
while (_iterator__ex2g4s_0.u()) {
|
|
2614
2614
|
var element = _iterator__ex2g4s_0.v();
|
|
2615
|
-
if (element.
|
|
2615
|
+
if (element.f5y_1(name)) {
|
|
2616
2616
|
tmp$ret$0 = element;
|
|
2617
2617
|
break l$ret$1;
|
|
2618
2618
|
}
|
|
@@ -2621,66 +2621,66 @@
|
|
|
2621
2621
|
}
|
|
2622
2622
|
while (false);
|
|
2623
2623
|
if (tmp$ret$0 == null) {
|
|
2624
|
-
this.
|
|
2624
|
+
this.c5y_1.e1(name + ': ' + joinToString(values, ', '));
|
|
2625
2625
|
} else {
|
|
2626
|
-
this.
|
|
2626
|
+
this.c5y_1.e1(name + ': \u2588\u2588');
|
|
2627
2627
|
}
|
|
2628
2628
|
}
|
|
2629
2629
|
|
|
2630
|
-
if (!invoke$isBody(this.
|
|
2631
|
-
this.
|
|
2632
|
-
return this.
|
|
2630
|
+
if (!invoke$isBody(this.z5x_1)) {
|
|
2631
|
+
this.c5y_1.e1('<-- END HTTP');
|
|
2632
|
+
return this.b5y_1;
|
|
2633
2633
|
}
|
|
2634
2634
|
|
|
2635
2635
|
if (!(contentLength == null) && equals(contentLength, new Long(0, 0))) {
|
|
2636
|
-
this.
|
|
2637
|
-
return this.
|
|
2636
|
+
this.c5y_1.e1('<-- END HTTP (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)');
|
|
2637
|
+
return this.b5y_1;
|
|
2638
2638
|
}
|
|
2639
2639
|
|
|
2640
|
-
if (equals(contentType(this.
|
|
2641
|
-
this.
|
|
2642
|
-
return this.
|
|
2640
|
+
if (equals(contentType(this.b5y_1), Text_getInstance().i3i_1)) {
|
|
2641
|
+
this.c5y_1.e1('<-- END HTTP (streaming)');
|
|
2642
|
+
return this.b5y_1;
|
|
2643
2643
|
}
|
|
2644
2644
|
|
|
2645
|
-
if (get_isSaved(this.
|
|
2646
|
-
this.
|
|
2647
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2645
|
+
if (get_isSaved(this.b5y_1)) {
|
|
2646
|
+
this.i9_1 = 3;
|
|
2647
|
+
suspendResult = invoke$logResponseBody(this.a5y_1, this.b5y_1, this.b5y_1.g46(), this.c5y_1, this);
|
|
2648
2648
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2649
2649
|
return suspendResult;
|
|
2650
2650
|
}
|
|
2651
2651
|
continue $sm;
|
|
2652
2652
|
} else {
|
|
2653
|
-
this.
|
|
2653
|
+
this.i9_1 = 1;
|
|
2654
2654
|
continue $sm;
|
|
2655
2655
|
}
|
|
2656
2656
|
|
|
2657
2657
|
case 1:
|
|
2658
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2659
|
-
this.
|
|
2660
|
-
var newChannel = _destruct__k2r9zo_0.
|
|
2661
|
-
this.
|
|
2662
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2658
|
+
var _destruct__k2r9zo_0 = split(this.b5y_1.g46(), this.b5y_1);
|
|
2659
|
+
this.d5y_1 = _destruct__k2r9zo_0.of();
|
|
2660
|
+
var newChannel = _destruct__k2r9zo_0.pf();
|
|
2661
|
+
this.i9_1 = 2;
|
|
2662
|
+
suspendResult = invoke$logResponseBody(this.a5y_1, this.b5y_1, newChannel, this.c5y_1, this);
|
|
2663
2663
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2664
2664
|
return suspendResult;
|
|
2665
2665
|
}
|
|
2666
2666
|
|
|
2667
2667
|
continue $sm;
|
|
2668
2668
|
case 2:
|
|
2669
|
-
var tmp_0 = this.
|
|
2670
|
-
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.
|
|
2671
|
-
return call.
|
|
2669
|
+
var tmp_0 = this.b5y_1.y45();
|
|
2670
|
+
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.d5y_1));
|
|
2671
|
+
return call.j43();
|
|
2672
2672
|
case 3:
|
|
2673
|
-
return this.
|
|
2673
|
+
return this.b5y_1;
|
|
2674
2674
|
case 4:
|
|
2675
|
-
throw this.
|
|
2675
|
+
throw this.l9_1;
|
|
2676
2676
|
}
|
|
2677
2677
|
} catch ($p) {
|
|
2678
2678
|
var e = $p;
|
|
2679
|
-
if (this.
|
|
2679
|
+
if (this.j9_1 === 4) {
|
|
2680
2680
|
throw e;
|
|
2681
2681
|
} else {
|
|
2682
|
-
this.
|
|
2683
|
-
this.
|
|
2682
|
+
this.i9_1 = this.j9_1;
|
|
2683
|
+
this.l9_1 = e;
|
|
2684
2684
|
}
|
|
2685
2685
|
}
|
|
2686
2686
|
while (true);
|
|
@@ -2764,7 +2764,7 @@
|
|
|
2764
2764
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
2765
2765
|
while (_iterator__ex2g4s_0.u()) {
|
|
2766
2766
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
2767
|
-
if (element_0.
|
|
2767
|
+
if (element_0.f5y_1(key)) {
|
|
2768
2768
|
tmp$ret$5 = element_0;
|
|
2769
2769
|
break $l$block;
|
|
2770
2770
|
}
|
|
@@ -2772,7 +2772,7 @@
|
|
|
2772
2772
|
tmp$ret$5 = null;
|
|
2773
2773
|
}
|
|
2774
2774
|
var tmp0_safe_receiver = tmp$ret$5;
|
|
2775
|
-
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2775
|
+
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e5y_1;
|
|
2776
2776
|
logHeader(_this__u8e3s4, key, placeholder == null ? joinToString(values, '; ') : placeholder);
|
|
2777
2777
|
}
|
|
2778
2778
|
}
|
|
@@ -2784,51 +2784,51 @@
|
|
|
2784
2784
|
}
|
|
2785
2785
|
function logResponseHeader(log, response, level, sanitizedHeaders) {
|
|
2786
2786
|
// Inline function 'kotlin.with' call
|
|
2787
|
-
if (level.
|
|
2787
|
+
if (level.a5q_1) {
|
|
2788
2788
|
// Inline function 'kotlin.text.appendLine' call
|
|
2789
|
-
var value = 'RESPONSE: ' + response.
|
|
2789
|
+
var value = 'RESPONSE: ' + response.o3s().toString();
|
|
2790
2790
|
// Inline function 'kotlin.text.appendLine' call
|
|
2791
2791
|
log.q(value).s(_Char___init__impl__6a9atx(10));
|
|
2792
2792
|
// Inline function 'kotlin.text.appendLine' call
|
|
2793
|
-
var value_0 = 'METHOD: ' + response.
|
|
2793
|
+
var value_0 = 'METHOD: ' + response.y45().r45().z45().toString();
|
|
2794
2794
|
// Inline function 'kotlin.text.appendLine' call
|
|
2795
2795
|
log.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
2796
2796
|
// Inline function 'kotlin.text.appendLine' call
|
|
2797
|
-
var value_1 = 'FROM: ' + response.
|
|
2797
|
+
var value_1 = 'FROM: ' + response.y45().r45().a46().toString();
|
|
2798
2798
|
// Inline function 'kotlin.text.appendLine' call
|
|
2799
2799
|
log.q(value_1).s(_Char___init__impl__6a9atx(10));
|
|
2800
2800
|
}
|
|
2801
|
-
if (level.
|
|
2801
|
+
if (level.b5q_1) {
|
|
2802
2802
|
// Inline function 'kotlin.text.appendLine' call
|
|
2803
2803
|
var value_2 = 'COMMON HEADERS';
|
|
2804
2804
|
// Inline function 'kotlin.text.appendLine' call
|
|
2805
2805
|
log.q(value_2).s(_Char___init__impl__6a9atx(10));
|
|
2806
|
-
logHeaders(log, response.
|
|
2806
|
+
logHeaders(log, response.z3m().s3b(), sanitizedHeaders);
|
|
2807
2807
|
}
|
|
2808
2808
|
}
|
|
2809
2809
|
function logResponseBody(_this__u8e3s4, response, $completion) {
|
|
2810
2810
|
var tmp = new $logResponseBodyCOROUTINE$_0(_this__u8e3s4, response, $completion);
|
|
2811
|
-
tmp.
|
|
2812
|
-
tmp.
|
|
2813
|
-
return tmp.
|
|
2811
|
+
tmp.k9_1 = Unit_instance;
|
|
2812
|
+
tmp.l9_1 = null;
|
|
2813
|
+
return tmp.q9();
|
|
2814
2814
|
}
|
|
2815
2815
|
function appendResponseBody(_this__u8e3s4, contentType, content, $completion) {
|
|
2816
2816
|
var tmp = new $appendResponseBodyCOROUTINE$(_this__u8e3s4, contentType, content, $completion);
|
|
2817
|
-
tmp.
|
|
2818
|
-
tmp.
|
|
2819
|
-
return tmp.
|
|
2817
|
+
tmp.k9_1 = Unit_instance;
|
|
2818
|
+
tmp.l9_1 = null;
|
|
2819
|
+
return tmp.q9();
|
|
2820
2820
|
}
|
|
2821
2821
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2822
|
-
this.
|
|
2822
|
+
this.s62_1 = function_0;
|
|
2823
2823
|
}
|
|
2824
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
2825
|
-
return this.
|
|
2824
|
+
protoOf(sam$kotlin_Comparator$0).hd = function (a, b) {
|
|
2825
|
+
return this.s62_1(a, b);
|
|
2826
2826
|
};
|
|
2827
2827
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2828
|
-
return this.
|
|
2828
|
+
return this.hd(a, b);
|
|
2829
2829
|
};
|
|
2830
2830
|
protoOf(sam$kotlin_Comparator$0).s3 = function () {
|
|
2831
|
-
return this.
|
|
2831
|
+
return this.s62_1;
|
|
2832
2832
|
};
|
|
2833
2833
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2834
2834
|
var tmp;
|
|
@@ -2856,64 +2856,64 @@
|
|
|
2856
2856
|
}
|
|
2857
2857
|
function $logResponseBodyCOROUTINE$_0(_this__u8e3s4, response, resultContinuation) {
|
|
2858
2858
|
CoroutineImpl.call(this, resultContinuation);
|
|
2859
|
-
this.
|
|
2860
|
-
this.
|
|
2859
|
+
this.b62_1 = _this__u8e3s4;
|
|
2860
|
+
this.c62_1 = response;
|
|
2861
2861
|
}
|
|
2862
|
-
protoOf($logResponseBodyCOROUTINE$_0).
|
|
2863
|
-
var suspendResult = this.
|
|
2862
|
+
protoOf($logResponseBodyCOROUTINE$_0).q9 = function () {
|
|
2863
|
+
var suspendResult = this.k9_1;
|
|
2864
2864
|
$sm: do
|
|
2865
2865
|
try {
|
|
2866
|
-
var tmp = this.
|
|
2866
|
+
var tmp = this.i9_1;
|
|
2867
2867
|
switch (tmp) {
|
|
2868
2868
|
case 0:
|
|
2869
|
-
this.
|
|
2870
|
-
this.
|
|
2871
|
-
this.
|
|
2869
|
+
this.j9_1 = 8;
|
|
2870
|
+
this.d62_1 = StringBuilder_init_$Create$();
|
|
2871
|
+
this.i9_1 = 1;
|
|
2872
2872
|
continue $sm;
|
|
2873
2873
|
case 1:
|
|
2874
|
-
this.
|
|
2875
|
-
this.
|
|
2876
|
-
this.
|
|
2877
|
-
suspendResult = appendResponseBody(this.
|
|
2874
|
+
this.j9_1 = 4;
|
|
2875
|
+
this.j9_1 = 3;
|
|
2876
|
+
this.i9_1 = 2;
|
|
2877
|
+
suspendResult = appendResponseBody(this.d62_1, contentType(this.c62_1), this.c62_1.g46(), this);
|
|
2878
2878
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2879
2879
|
return suspendResult;
|
|
2880
2880
|
}
|
|
2881
2881
|
|
|
2882
2882
|
continue $sm;
|
|
2883
2883
|
case 2:
|
|
2884
|
-
this.
|
|
2885
|
-
this.
|
|
2884
|
+
this.j9_1 = 8;
|
|
2885
|
+
this.i9_1 = 6;
|
|
2886
2886
|
continue $sm;
|
|
2887
2887
|
case 3:
|
|
2888
|
-
this.
|
|
2889
|
-
var tmp_0 = this.
|
|
2888
|
+
this.j9_1 = 4;
|
|
2889
|
+
var tmp_0 = this.l9_1;
|
|
2890
2890
|
if (tmp_0 instanceof Error) {
|
|
2891
|
-
var _unused_var__etf5q3 = this.
|
|
2892
|
-
this.
|
|
2893
|
-
this.
|
|
2891
|
+
var _unused_var__etf5q3 = this.l9_1;
|
|
2892
|
+
this.j9_1 = 8;
|
|
2893
|
+
this.i9_1 = 6;
|
|
2894
2894
|
continue $sm;
|
|
2895
2895
|
} else {
|
|
2896
|
-
throw this.
|
|
2896
|
+
throw this.l9_1;
|
|
2897
2897
|
}
|
|
2898
2898
|
|
|
2899
2899
|
case 4:
|
|
2900
|
-
this.
|
|
2901
|
-
this.
|
|
2902
|
-
this.
|
|
2903
|
-
var this_0 = this.
|
|
2904
|
-
suspendResult = this.
|
|
2900
|
+
this.j9_1 = 8;
|
|
2901
|
+
this.e62_1 = this.l9_1;
|
|
2902
|
+
this.i9_1 = 5;
|
|
2903
|
+
var this_0 = this.d62_1.toString();
|
|
2904
|
+
suspendResult = this.b62_1.v5p(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())), this);
|
|
2905
2905
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2906
2906
|
return suspendResult;
|
|
2907
2907
|
}
|
|
2908
2908
|
|
|
2909
2909
|
continue $sm;
|
|
2910
2910
|
case 5:
|
|
2911
|
-
throw this.
|
|
2911
|
+
throw this.e62_1;
|
|
2912
2912
|
case 6:
|
|
2913
|
-
this.
|
|
2914
|
-
this.
|
|
2915
|
-
var this_1 = this.
|
|
2916
|
-
suspendResult = this.
|
|
2913
|
+
this.j9_1 = 8;
|
|
2914
|
+
this.i9_1 = 7;
|
|
2915
|
+
var this_1 = this.d62_1.toString();
|
|
2916
|
+
suspendResult = this.b62_1.v5p(toString(trim(isCharSequence(this_1) ? this_1 : THROW_CCE())), this);
|
|
2917
2917
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2918
2918
|
return suspendResult;
|
|
2919
2919
|
}
|
|
@@ -2922,45 +2922,45 @@
|
|
|
2922
2922
|
case 7:
|
|
2923
2923
|
return Unit_instance;
|
|
2924
2924
|
case 8:
|
|
2925
|
-
throw this.
|
|
2925
|
+
throw this.l9_1;
|
|
2926
2926
|
}
|
|
2927
2927
|
} catch ($p) {
|
|
2928
2928
|
var e = $p;
|
|
2929
|
-
if (this.
|
|
2929
|
+
if (this.j9_1 === 8) {
|
|
2930
2930
|
throw e;
|
|
2931
2931
|
} else {
|
|
2932
|
-
this.
|
|
2933
|
-
this.
|
|
2932
|
+
this.i9_1 = this.j9_1;
|
|
2933
|
+
this.l9_1 = e;
|
|
2934
2934
|
}
|
|
2935
2935
|
}
|
|
2936
2936
|
while (true);
|
|
2937
2937
|
};
|
|
2938
2938
|
function $appendResponseBodyCOROUTINE$(_this__u8e3s4, contentType, content, resultContinuation) {
|
|
2939
2939
|
CoroutineImpl.call(this, resultContinuation);
|
|
2940
|
-
this.
|
|
2941
|
-
this.
|
|
2942
|
-
this.
|
|
2940
|
+
this.n62_1 = _this__u8e3s4;
|
|
2941
|
+
this.o62_1 = contentType;
|
|
2942
|
+
this.p62_1 = content;
|
|
2943
2943
|
}
|
|
2944
|
-
protoOf($appendResponseBodyCOROUTINE$).
|
|
2945
|
-
var suspendResult = this.
|
|
2944
|
+
protoOf($appendResponseBodyCOROUTINE$).q9 = function () {
|
|
2945
|
+
var suspendResult = this.k9_1;
|
|
2946
2946
|
$sm: do
|
|
2947
2947
|
try {
|
|
2948
|
-
var tmp = this.
|
|
2948
|
+
var tmp = this.i9_1;
|
|
2949
2949
|
switch (tmp) {
|
|
2950
2950
|
case 0:
|
|
2951
|
-
this.
|
|
2952
|
-
var tmp0 = this.
|
|
2953
|
-
var value = 'BODY Content-Type: ' + toString_0(this.
|
|
2951
|
+
this.j9_1 = 3;
|
|
2952
|
+
var tmp0 = this.n62_1;
|
|
2953
|
+
var value = 'BODY Content-Type: ' + toString_0(this.o62_1);
|
|
2954
2954
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
2955
|
-
var tmp0_0 = this.
|
|
2955
|
+
var tmp0_0 = this.n62_1;
|
|
2956
2956
|
var value_0 = 'BODY START';
|
|
2957
2957
|
tmp0_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
2958
|
-
var tmp0_1 = this.
|
|
2959
|
-
var tmp0_safe_receiver = this.
|
|
2958
|
+
var tmp0_1 = this.p62_1;
|
|
2959
|
+
var tmp0_safe_receiver = this.o62_1;
|
|
2960
2960
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
2961
|
-
this.
|
|
2962
|
-
this.
|
|
2963
|
-
this.
|
|
2961
|
+
this.r62_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().m36_1 : tmp1_elvis_lhs;
|
|
2962
|
+
this.j9_1 = 2;
|
|
2963
|
+
this.i9_1 = 1;
|
|
2964
2964
|
suspendResult = readRemaining(tmp0_1, this);
|
|
2965
2965
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2966
2966
|
return suspendResult;
|
|
@@ -2969,78 +2969,78 @@
|
|
|
2969
2969
|
continue $sm;
|
|
2970
2970
|
case 1:
|
|
2971
2971
|
var ARGUMENT = suspendResult;
|
|
2972
|
-
this.
|
|
2973
|
-
this.
|
|
2974
|
-
this.
|
|
2972
|
+
this.q62_1 = readText(ARGUMENT, this.r62_1);
|
|
2973
|
+
this.j9_1 = 3;
|
|
2974
|
+
this.i9_1 = 4;
|
|
2975
2975
|
continue $sm;
|
|
2976
2976
|
case 2:
|
|
2977
|
-
this.
|
|
2978
|
-
var tmp_0 = this.
|
|
2977
|
+
this.j9_1 = 3;
|
|
2978
|
+
var tmp_0 = this.l9_1;
|
|
2979
2979
|
if (tmp_0 instanceof Error) {
|
|
2980
|
-
var cause = this.
|
|
2980
|
+
var cause = this.l9_1;
|
|
2981
2981
|
var tmp_1 = this;
|
|
2982
|
-
tmp_1.
|
|
2983
|
-
this.
|
|
2982
|
+
tmp_1.q62_1 = null;
|
|
2983
|
+
this.i9_1 = 4;
|
|
2984
2984
|
continue $sm;
|
|
2985
2985
|
} else {
|
|
2986
|
-
throw this.
|
|
2986
|
+
throw this.l9_1;
|
|
2987
2987
|
}
|
|
2988
2988
|
|
|
2989
2989
|
case 3:
|
|
2990
|
-
throw this.
|
|
2990
|
+
throw this.l9_1;
|
|
2991
2991
|
case 4:
|
|
2992
|
-
this.
|
|
2993
|
-
var tmp2_elvis_lhs = this.
|
|
2992
|
+
this.j9_1 = 3;
|
|
2993
|
+
var tmp2_elvis_lhs = this.q62_1;
|
|
2994
2994
|
var message = tmp2_elvis_lhs == null ? '[response body omitted]' : tmp2_elvis_lhs;
|
|
2995
|
-
this.
|
|
2996
|
-
this.
|
|
2995
|
+
this.n62_1.q(message).s(_Char___init__impl__6a9atx(10));
|
|
2996
|
+
this.n62_1.q('BODY END');
|
|
2997
2997
|
return Unit_instance;
|
|
2998
2998
|
}
|
|
2999
2999
|
} catch ($p) {
|
|
3000
3000
|
var e = $p;
|
|
3001
|
-
if (this.
|
|
3001
|
+
if (this.j9_1 === 3) {
|
|
3002
3002
|
throw e;
|
|
3003
3003
|
} else {
|
|
3004
|
-
this.
|
|
3005
|
-
this.
|
|
3004
|
+
this.i9_1 = this.j9_1;
|
|
3005
|
+
this.l9_1 = e;
|
|
3006
3006
|
}
|
|
3007
3007
|
}
|
|
3008
3008
|
while (true);
|
|
3009
3009
|
};
|
|
3010
3010
|
function observe(_this__u8e3s4, log, $completion) {
|
|
3011
3011
|
var tmp = new $observeCOROUTINE$(_this__u8e3s4, log, $completion);
|
|
3012
|
-
tmp.
|
|
3013
|
-
tmp.
|
|
3014
|
-
return tmp.
|
|
3012
|
+
tmp.k9_1 = Unit_instance;
|
|
3013
|
+
tmp.l9_1 = null;
|
|
3014
|
+
return tmp.q9();
|
|
3015
3015
|
}
|
|
3016
3016
|
function toReadChannel(_this__u8e3s4) {
|
|
3017
3017
|
var tmp = GlobalScope_instance;
|
|
3018
|
-
var tmp_0 = Dispatchers_getInstance().
|
|
3019
|
-
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).
|
|
3018
|
+
var tmp_0 = Dispatchers_getInstance().i1y_1;
|
|
3019
|
+
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).l34_1;
|
|
3020
3020
|
}
|
|
3021
3021
|
function toReadChannel$slambda($this_toReadChannel, resultContinuation) {
|
|
3022
|
-
this.
|
|
3022
|
+
this.n63_1 = $this_toReadChannel;
|
|
3023
3023
|
CoroutineImpl.call(this, resultContinuation);
|
|
3024
3024
|
}
|
|
3025
|
-
protoOf(toReadChannel$slambda).
|
|
3026
|
-
var tmp = this.
|
|
3027
|
-
tmp.
|
|
3028
|
-
tmp.
|
|
3029
|
-
return tmp.
|
|
3025
|
+
protoOf(toReadChannel$slambda).s3x = function ($this$writer, $completion) {
|
|
3026
|
+
var tmp = this.t3x($this$writer, $completion);
|
|
3027
|
+
tmp.k9_1 = Unit_instance;
|
|
3028
|
+
tmp.l9_1 = null;
|
|
3029
|
+
return tmp.q9();
|
|
3030
3030
|
};
|
|
3031
|
-
protoOf(toReadChannel$slambda).
|
|
3032
|
-
return this.
|
|
3031
|
+
protoOf(toReadChannel$slambda).ca = function (p1, $completion) {
|
|
3032
|
+
return this.s3x(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
3033
3033
|
};
|
|
3034
|
-
protoOf(toReadChannel$slambda).
|
|
3035
|
-
var suspendResult = this.
|
|
3034
|
+
protoOf(toReadChannel$slambda).q9 = function () {
|
|
3035
|
+
var suspendResult = this.k9_1;
|
|
3036
3036
|
$sm: do
|
|
3037
3037
|
try {
|
|
3038
|
-
var tmp = this.
|
|
3038
|
+
var tmp = this.i9_1;
|
|
3039
3039
|
switch (tmp) {
|
|
3040
3040
|
case 0:
|
|
3041
|
-
this.
|
|
3042
|
-
this.
|
|
3043
|
-
suspendResult = this.
|
|
3041
|
+
this.j9_1 = 2;
|
|
3042
|
+
this.i9_1 = 1;
|
|
3043
|
+
suspendResult = this.n63_1.v3s(this.o63_1.n34_1, this);
|
|
3044
3044
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3045
3045
|
return suspendResult;
|
|
3046
3046
|
}
|
|
@@ -3049,49 +3049,49 @@
|
|
|
3049
3049
|
case 1:
|
|
3050
3050
|
return Unit_instance;
|
|
3051
3051
|
case 2:
|
|
3052
|
-
throw this.
|
|
3052
|
+
throw this.l9_1;
|
|
3053
3053
|
}
|
|
3054
3054
|
} catch ($p) {
|
|
3055
3055
|
var e = $p;
|
|
3056
|
-
if (this.
|
|
3056
|
+
if (this.j9_1 === 2) {
|
|
3057
3057
|
throw e;
|
|
3058
3058
|
} else {
|
|
3059
|
-
this.
|
|
3060
|
-
this.
|
|
3059
|
+
this.i9_1 = this.j9_1;
|
|
3060
|
+
this.l9_1 = e;
|
|
3061
3061
|
}
|
|
3062
3062
|
}
|
|
3063
3063
|
while (true);
|
|
3064
3064
|
};
|
|
3065
|
-
protoOf(toReadChannel$slambda).
|
|
3066
|
-
var i = new toReadChannel$slambda(this.
|
|
3067
|
-
i.
|
|
3065
|
+
protoOf(toReadChannel$slambda).t3x = function ($this$writer, completion) {
|
|
3066
|
+
var i = new toReadChannel$slambda(this.n63_1, completion);
|
|
3067
|
+
i.o63_1 = $this$writer;
|
|
3068
3068
|
return i;
|
|
3069
3069
|
};
|
|
3070
3070
|
function toReadChannel$slambda_0($this_toReadChannel, resultContinuation) {
|
|
3071
3071
|
var i = new toReadChannel$slambda($this_toReadChannel, resultContinuation);
|
|
3072
3072
|
var l = function ($this$writer, $completion) {
|
|
3073
|
-
return i.
|
|
3073
|
+
return i.s3x($this$writer, $completion);
|
|
3074
3074
|
};
|
|
3075
3075
|
l.$arity = 1;
|
|
3076
3076
|
return l;
|
|
3077
3077
|
}
|
|
3078
3078
|
function $observeCOROUTINE$(_this__u8e3s4, log, resultContinuation) {
|
|
3079
3079
|
CoroutineImpl.call(this, resultContinuation);
|
|
3080
|
-
this.
|
|
3081
|
-
this.
|
|
3080
|
+
this.b63_1 = _this__u8e3s4;
|
|
3081
|
+
this.c63_1 = log;
|
|
3082
3082
|
}
|
|
3083
|
-
protoOf($observeCOROUTINE$).
|
|
3084
|
-
var suspendResult = this.
|
|
3083
|
+
protoOf($observeCOROUTINE$).q9 = function () {
|
|
3084
|
+
var suspendResult = this.k9_1;
|
|
3085
3085
|
$sm: do
|
|
3086
3086
|
try {
|
|
3087
|
-
var tmp = this.
|
|
3087
|
+
var tmp = this.i9_1;
|
|
3088
3088
|
switch (tmp) {
|
|
3089
3089
|
case 0:
|
|
3090
|
-
this.
|
|
3091
|
-
var tmp0_subject = this.
|
|
3090
|
+
this.j9_1 = 6;
|
|
3091
|
+
var tmp0_subject = this.b63_1;
|
|
3092
3092
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
3093
|
-
this.
|
|
3094
|
-
suspendResult = writeFully(this.
|
|
3093
|
+
this.i9_1 = 3;
|
|
3094
|
+
suspendResult = writeFully(this.c63_1, this.b63_1.q3s(), VOID, VOID, this);
|
|
3095
3095
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3096
3096
|
return suspendResult;
|
|
3097
3097
|
}
|
|
@@ -3100,25 +3100,25 @@
|
|
|
3100
3100
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
3101
3101
|
var tmp_0 = this;
|
|
3102
3102
|
var responseChannel = new ByteChannel();
|
|
3103
|
-
var content = this.
|
|
3104
|
-
copyToBoth(content, this.
|
|
3105
|
-
tmp_0.
|
|
3106
|
-
this.
|
|
3103
|
+
var content = this.b63_1.t3s();
|
|
3104
|
+
copyToBoth(content, this.c63_1, responseChannel);
|
|
3105
|
+
tmp_0.d63_1 = new LoggedContent(this.b63_1, responseChannel);
|
|
3106
|
+
this.i9_1 = 5;
|
|
3107
3107
|
continue $sm;
|
|
3108
3108
|
} else {
|
|
3109
3109
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
3110
3110
|
var tmp_1 = this;
|
|
3111
3111
|
var responseChannel_0 = new ByteChannel();
|
|
3112
|
-
var content_0 = toReadChannel(this.
|
|
3113
|
-
copyToBoth(content_0, this.
|
|
3114
|
-
tmp_1.
|
|
3115
|
-
this.
|
|
3112
|
+
var content_0 = toReadChannel(this.b63_1);
|
|
3113
|
+
copyToBoth(content_0, this.c63_1, responseChannel_0);
|
|
3114
|
+
tmp_1.d63_1 = new LoggedContent(this.b63_1, responseChannel_0);
|
|
3115
|
+
this.i9_1 = 5;
|
|
3116
3116
|
continue $sm;
|
|
3117
3117
|
} else {
|
|
3118
3118
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
3119
|
-
this.
|
|
3120
|
-
this.
|
|
3121
|
-
suspendResult = observe(this.
|
|
3119
|
+
this.e63_1 = this.b63_1;
|
|
3120
|
+
this.i9_1 = 2;
|
|
3121
|
+
suspendResult = observe(this.b63_1.z3s(), this.c63_1, this);
|
|
3122
3122
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3123
3123
|
return suspendResult;
|
|
3124
3124
|
}
|
|
@@ -3131,8 +3131,8 @@
|
|
|
3131
3131
|
tmp_2 = tmp0_subject instanceof ProtocolUpgrade;
|
|
3132
3132
|
}
|
|
3133
3133
|
if (tmp_2) {
|
|
3134
|
-
this.
|
|
3135
|
-
suspendResult = this.
|
|
3134
|
+
this.i9_1 = 1;
|
|
3135
|
+
suspendResult = this.c63_1.u2w(this);
|
|
3136
3136
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3137
3137
|
return suspendResult;
|
|
3138
3138
|
}
|
|
@@ -3148,38 +3148,38 @@
|
|
|
3148
3148
|
|
|
3149
3149
|
break;
|
|
3150
3150
|
case 1:
|
|
3151
|
-
this.
|
|
3152
|
-
this.
|
|
3151
|
+
this.d63_1 = this.b63_1;
|
|
3152
|
+
this.i9_1 = 5;
|
|
3153
3153
|
continue $sm;
|
|
3154
3154
|
case 2:
|
|
3155
3155
|
var ARGUMENT = suspendResult;
|
|
3156
|
-
this.
|
|
3157
|
-
this.
|
|
3156
|
+
this.d63_1 = this.e63_1.a3t(ARGUMENT);
|
|
3157
|
+
this.i9_1 = 5;
|
|
3158
3158
|
continue $sm;
|
|
3159
3159
|
case 3:
|
|
3160
|
-
this.
|
|
3161
|
-
suspendResult = this.
|
|
3160
|
+
this.i9_1 = 4;
|
|
3161
|
+
suspendResult = this.c63_1.u2w(this);
|
|
3162
3162
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3163
3163
|
return suspendResult;
|
|
3164
3164
|
}
|
|
3165
3165
|
|
|
3166
3166
|
continue $sm;
|
|
3167
3167
|
case 4:
|
|
3168
|
-
this.
|
|
3169
|
-
this.
|
|
3168
|
+
this.d63_1 = this.b63_1;
|
|
3169
|
+
this.i9_1 = 5;
|
|
3170
3170
|
continue $sm;
|
|
3171
3171
|
case 5:
|
|
3172
|
-
return this.
|
|
3172
|
+
return this.d63_1;
|
|
3173
3173
|
case 6:
|
|
3174
|
-
throw this.
|
|
3174
|
+
throw this.l9_1;
|
|
3175
3175
|
}
|
|
3176
3176
|
} catch ($p) {
|
|
3177
3177
|
var e = $p;
|
|
3178
|
-
if (this.
|
|
3178
|
+
if (this.j9_1 === 6) {
|
|
3179
3179
|
throw e;
|
|
3180
3180
|
} else {
|
|
3181
|
-
this.
|
|
3182
|
-
this.
|
|
3181
|
+
this.i9_1 = this.j9_1;
|
|
3182
|
+
this.l9_1 = e;
|
|
3183
3183
|
}
|
|
3184
3184
|
}
|
|
3185
3185
|
while (true);
|
|
@@ -3209,10 +3209,10 @@
|
|
|
3209
3209
|
return get_SIMPLE(_this__u8e3s4);
|
|
3210
3210
|
}
|
|
3211
3211
|
//region block: post-declaration
|
|
3212
|
-
protoOf(MDCContextElement).
|
|
3213
|
-
protoOf(MDCContextElement).
|
|
3214
|
-
protoOf(MDCContextElement).
|
|
3215
|
-
protoOf(MDCContextElement).
|
|
3212
|
+
protoOf(MDCContextElement).v9 = get;
|
|
3213
|
+
protoOf(MDCContextElement).jh = fold;
|
|
3214
|
+
protoOf(MDCContextElement).ih = minusKey;
|
|
3215
|
+
protoOf(MDCContextElement).kh = plus;
|
|
3216
3216
|
//endregion
|
|
3217
3217
|
//region block: init
|
|
3218
3218
|
Companion_instance = new Companion();
|