@doordeck/doordeck-headless-sdk 0.186.0 → 0.188.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/kotlin/Kermit-kermit-core.js +56 -56
- package/kotlin/Kermit-kermit.js +7 -7
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +42 -42
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +22 -22
- package/kotlin/doordeck-sdk.d.ts +37 -37
- package/kotlin/doordeck-sdk.js +12308 -12323
- package/kotlin/kotlin-kotlin-stdlib.js +2489 -2452
- package/kotlin/kotlinx-atomicfu.js +20 -21
- package/kotlin/kotlinx-coroutines-core.js +2285 -2303
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +43 -43
- package/kotlin/kotlinx-io-kotlinx-io-core.js +582 -588
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1826 -1831
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1465 -1468
- package/kotlin/ktor-ktor-client-auth.js +444 -444
- package/kotlin/ktor-ktor-client-content-negotiation.js +203 -203
- package/kotlin/ktor-ktor-client-core.js +3109 -3111
- package/kotlin/ktor-ktor-client-logging.js +1118 -1119
- package/kotlin/ktor-ktor-events.js +11 -11
- package/kotlin/ktor-ktor-http-cio.js +537 -539
- package/kotlin/ktor-ktor-http.js +778 -778
- package/kotlin/ktor-ktor-io.js +1106 -1109
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +6 -6
- package/kotlin/ktor-ktor-serialization-kotlinx.js +246 -246
- package/kotlin/ktor-ktor-serialization.js +120 -120
- package/kotlin/ktor-ktor-utils.js +857 -857
- package/kotlin/ktor-ktor-websockets.js +48 -48
- package/package.json +1 -1
|
@@ -3,39 +3,38 @@
|
|
|
3
3
|
//region block: imports
|
|
4
4
|
var CoroutineImpl = kotlin_kotlin.$_$.j9;
|
|
5
5
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.t8;
|
|
6
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
7
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
8
|
-
var trim = kotlin_kotlin.$_$.
|
|
9
|
-
var toString = kotlin_kotlin.$_$.
|
|
6
|
+
var THROW_CCE = kotlin_kotlin.$_$.vf;
|
|
7
|
+
var isCharSequence = kotlin_kotlin.$_$.lb;
|
|
8
|
+
var trim = kotlin_kotlin.$_$.af;
|
|
9
|
+
var toString = kotlin_kotlin.$_$.ac;
|
|
10
10
|
var Unit_instance = kotlin_kotlin.$_$.b5;
|
|
11
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
12
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
13
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
11
|
+
var protoOf = kotlin_kotlin.$_$.xb;
|
|
12
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.cb;
|
|
13
|
+
var charSequenceLength = kotlin_kotlin.$_$.oa;
|
|
14
14
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
15
15
|
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
|
|
16
16
|
var atomic$boolean$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.b;
|
|
17
17
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f2;
|
|
18
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
18
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ab;
|
|
19
19
|
var VOID = kotlin_kotlin.$_$.b;
|
|
20
|
-
var Enum = kotlin_kotlin.$_$.
|
|
20
|
+
var Enum = kotlin_kotlin.$_$.mf;
|
|
21
21
|
var ReadChannelContent = kotlin_io_ktor_ktor_http.$_$.t;
|
|
22
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
22
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.bb;
|
|
23
23
|
var println = kotlin_kotlin.$_$.n9;
|
|
24
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
24
|
+
var initMetadataForObject = kotlin_kotlin.$_$.gb;
|
|
25
25
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
26
26
|
var OutgoingContent = kotlin_io_ktor_ktor_http.$_$.v;
|
|
27
27
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
28
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
29
|
-
var Long = kotlin_kotlin.$_$.wf;
|
|
28
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.nc;
|
|
30
29
|
var ProtocolUpgrade = kotlin_io_ktor_ktor_http.$_$.s;
|
|
31
30
|
var NoContent = kotlin_io_ktor_ktor_http.$_$.r;
|
|
32
31
|
var ContentWrapper = kotlin_io_ktor_ktor_http.$_$.q;
|
|
33
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
32
|
+
var fromInt = kotlin_kotlin.$_$.u9;
|
|
34
33
|
var ByteArrayContent = kotlin_io_ktor_ktor_http.$_$.p;
|
|
35
34
|
var PipelineContext = kotlin_io_ktor_ktor_utils.$_$.j;
|
|
36
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
35
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.fb;
|
|
37
36
|
var Phases_getInstance = kotlin_io_ktor_ktor_client_core.$_$.d;
|
|
38
|
-
var isSuspendFunction = kotlin_kotlin.$_$.
|
|
37
|
+
var isSuspendFunction = kotlin_kotlin.$_$.rb;
|
|
39
38
|
var HttpResponse = kotlin_io_ktor_ktor_client_core.$_$.i1;
|
|
40
39
|
var PipelinePhase = kotlin_io_ktor_ktor_utils.$_$.k;
|
|
41
40
|
var Phases_getInstance_0 = kotlin_io_ktor_ktor_client_core.$_$.e;
|
|
@@ -43,14 +42,14 @@
|
|
|
43
42
|
var Phases_getInstance_1 = kotlin_io_ktor_ktor_client_core.$_$.f;
|
|
44
43
|
var get_ResponseObserver = kotlin_io_ktor_ktor_client_core.$_$.o;
|
|
45
44
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
46
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
45
|
+
var isInterface = kotlin_kotlin.$_$.pb;
|
|
47
46
|
var writeFully = kotlin_io_ktor_ktor_io.$_$.l;
|
|
48
47
|
var copyTo = kotlin_io_ktor_ktor_io.$_$.b;
|
|
49
48
|
var GZipEncoder_getInstance = kotlin_io_ktor_ktor_utils.$_$.a;
|
|
50
49
|
var readRemaining = kotlin_io_ktor_ktor_io.$_$.f;
|
|
51
50
|
var readText = kotlin_io_ktor_ktor_io.$_$.a1;
|
|
52
51
|
var Collection = kotlin_kotlin.$_$.d5;
|
|
53
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
52
|
+
var toString_0 = kotlin_kotlin.$_$.yg;
|
|
54
53
|
var charset = kotlin_io_ktor_ktor_http.$_$.k1;
|
|
55
54
|
var Charsets_getInstance = kotlin_io_ktor_ktor_io.$_$.o;
|
|
56
55
|
var ByteChannel = kotlin_io_ktor_ktor_io.$_$.j1;
|
|
@@ -61,19 +60,19 @@
|
|
|
61
60
|
var HttpHeaders_getInstance = kotlin_io_ktor_ktor_http.$_$.g;
|
|
62
61
|
var HttpRequestBuilder = kotlin_io_ktor_ktor_client_core.$_$.b1;
|
|
63
62
|
var joinToString = kotlin_kotlin.$_$.f7;
|
|
64
|
-
var equals = kotlin_kotlin.$_$.
|
|
63
|
+
var equals = kotlin_kotlin.$_$.sa;
|
|
65
64
|
var get_isSaved = kotlin_io_ktor_ktor_client_core.$_$.z;
|
|
66
65
|
var HttpClientCall = kotlin_io_ktor_ktor_client_core.$_$.h;
|
|
67
|
-
var Triple = kotlin_kotlin.$_$.
|
|
66
|
+
var Triple = kotlin_kotlin.$_$.xf;
|
|
68
67
|
var readAvailable = kotlin_io_ktor_ktor_io.$_$.d;
|
|
69
68
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
70
69
|
var writeFully_0 = kotlin_io_ktor_ktor_io.$_$.e1;
|
|
71
70
|
var decode = kotlin_io_ktor_ktor_io.$_$.s;
|
|
72
71
|
var MalformedInputException = kotlin_io_ktor_ktor_io.$_$.r;
|
|
73
|
-
var charCodeAt = kotlin_kotlin.$_$.
|
|
72
|
+
var charCodeAt = kotlin_kotlin.$_$.ma;
|
|
74
73
|
var async = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f1;
|
|
75
74
|
var add = kotlin_kotlin.$_$.p9;
|
|
76
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
75
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.ug;
|
|
77
76
|
var split = kotlin_io_ktor_ktor_utils.$_$.h1;
|
|
78
77
|
var WriteChannelContent = kotlin_io_ktor_ktor_http.$_$.u;
|
|
79
78
|
var ByteReadChannel = kotlin_io_ktor_ktor_io.$_$.k1;
|
|
@@ -84,25 +83,25 @@
|
|
|
84
83
|
var EmptyContent = kotlin_io_ktor_ktor_client_core.$_$.l1;
|
|
85
84
|
var appendIfNameAbsent = kotlin_io_ktor_ktor_utils.$_$.a1;
|
|
86
85
|
var appendAll = kotlin_io_ktor_ktor_utils.$_$.z;
|
|
87
|
-
var toLongOrNull = kotlin_kotlin.$_$.
|
|
86
|
+
var toLongOrNull = kotlin_kotlin.$_$.qe;
|
|
88
87
|
var contentLength = kotlin_io_ktor_ktor_http.$_$.l1;
|
|
89
88
|
var contentType = kotlin_io_ktor_ktor_http.$_$.n1;
|
|
90
|
-
var subtract = kotlin_kotlin.$_$.
|
|
89
|
+
var subtract = kotlin_kotlin.$_$.da;
|
|
91
90
|
var get_request = kotlin_io_ktor_ktor_client_core.$_$.k1;
|
|
92
91
|
var Text_getInstance = kotlin_io_ktor_ktor_http.$_$.e;
|
|
93
92
|
var replaceResponse = kotlin_io_ktor_ktor_client_core.$_$.i;
|
|
94
|
-
var getKClass = kotlin_kotlin.$_$.
|
|
95
|
-
var arrayOf = kotlin_kotlin.$_$.
|
|
96
|
-
var createKType = kotlin_kotlin.$_$.
|
|
93
|
+
var getKClass = kotlin_kotlin.$_$.oc;
|
|
94
|
+
var arrayOf = kotlin_kotlin.$_$.jg;
|
|
95
|
+
var createKType = kotlin_kotlin.$_$.mc;
|
|
97
96
|
var TypeInfo = kotlin_io_ktor_ktor_utils.$_$.m;
|
|
98
97
|
var AttributeKey = kotlin_io_ktor_ktor_utils.$_$.o;
|
|
99
|
-
var Unit = kotlin_kotlin.$_$.
|
|
98
|
+
var Unit = kotlin_kotlin.$_$.gg;
|
|
100
99
|
var createClientPlugin = kotlin_io_ktor_ktor_client_core.$_$.n;
|
|
101
100
|
var toList = kotlin_kotlin.$_$.g8;
|
|
102
101
|
var sortedWith = kotlin_kotlin.$_$.b8;
|
|
103
|
-
var FunctionAdapter = kotlin_kotlin.$_$.
|
|
104
|
-
var Comparator = kotlin_kotlin.$_$.
|
|
105
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
102
|
+
var FunctionAdapter = kotlin_kotlin.$_$.fa;
|
|
103
|
+
var Comparator = kotlin_kotlin.$_$.jf;
|
|
104
|
+
var hashCode = kotlin_kotlin.$_$.za;
|
|
106
105
|
var compareValues = kotlin_kotlin.$_$.r8;
|
|
107
106
|
var writer = kotlin_io_ktor_ktor_io.$_$.t1;
|
|
108
107
|
var WriterScope = kotlin_io_ktor_ktor_io.$_$.m1;
|
|
@@ -160,177 +159,177 @@
|
|
|
160
159
|
//endregion
|
|
161
160
|
function $logResponseExceptionCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
162
161
|
CoroutineImpl.call(this, resultContinuation);
|
|
163
|
-
this.
|
|
164
|
-
this.
|
|
162
|
+
this.v4u_1 = _this__u8e3s4;
|
|
163
|
+
this.w4u_1 = message;
|
|
165
164
|
}
|
|
166
|
-
protoOf($logResponseExceptionCOROUTINE$).
|
|
167
|
-
var suspendResult = this.
|
|
165
|
+
protoOf($logResponseExceptionCOROUTINE$).i9 = function () {
|
|
166
|
+
var suspendResult = this.c9_1;
|
|
168
167
|
$sm: do
|
|
169
168
|
try {
|
|
170
|
-
var tmp = this.
|
|
169
|
+
var tmp = this.a9_1;
|
|
171
170
|
switch (tmp) {
|
|
172
171
|
case 0:
|
|
173
|
-
this.
|
|
174
|
-
this.
|
|
175
|
-
suspendResult = this.
|
|
172
|
+
this.b9_1 = 2;
|
|
173
|
+
this.a9_1 = 1;
|
|
174
|
+
suspendResult = this.v4u_1.a4v_1.kt(this);
|
|
176
175
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
177
176
|
return suspendResult;
|
|
178
177
|
}
|
|
179
178
|
|
|
180
179
|
continue $sm;
|
|
181
180
|
case 1:
|
|
182
|
-
var this_0 = this.
|
|
183
|
-
this.
|
|
181
|
+
var this_0 = this.w4u_1;
|
|
182
|
+
this.v4u_1.x4u_1.e4v(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())));
|
|
184
183
|
return Unit_instance;
|
|
185
184
|
case 2:
|
|
186
|
-
throw this.
|
|
185
|
+
throw this.d9_1;
|
|
187
186
|
}
|
|
188
187
|
} catch ($p) {
|
|
189
188
|
var e = $p;
|
|
190
|
-
if (this.
|
|
189
|
+
if (this.b9_1 === 2) {
|
|
191
190
|
throw e;
|
|
192
191
|
} else {
|
|
193
|
-
this.
|
|
194
|
-
this.
|
|
192
|
+
this.a9_1 = this.b9_1;
|
|
193
|
+
this.d9_1 = e;
|
|
195
194
|
}
|
|
196
195
|
}
|
|
197
196
|
while (true);
|
|
198
197
|
};
|
|
199
198
|
function $logResponseBodyCOROUTINE$(_this__u8e3s4, message, resultContinuation) {
|
|
200
199
|
CoroutineImpl.call(this, resultContinuation);
|
|
201
|
-
this.
|
|
202
|
-
this.
|
|
200
|
+
this.n4v_1 = _this__u8e3s4;
|
|
201
|
+
this.o4v_1 = message;
|
|
203
202
|
}
|
|
204
|
-
protoOf($logResponseBodyCOROUTINE$).
|
|
205
|
-
var suspendResult = this.
|
|
203
|
+
protoOf($logResponseBodyCOROUTINE$).i9 = function () {
|
|
204
|
+
var suspendResult = this.c9_1;
|
|
206
205
|
$sm: do
|
|
207
206
|
try {
|
|
208
|
-
var tmp = this.
|
|
207
|
+
var tmp = this.a9_1;
|
|
209
208
|
switch (tmp) {
|
|
210
209
|
case 0:
|
|
211
|
-
this.
|
|
212
|
-
this.
|
|
213
|
-
suspendResult = this.
|
|
210
|
+
this.b9_1 = 2;
|
|
211
|
+
this.a9_1 = 1;
|
|
212
|
+
suspendResult = this.n4v_1.b4v_1.kt(this);
|
|
214
213
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
215
214
|
return suspendResult;
|
|
216
215
|
}
|
|
217
216
|
|
|
218
217
|
continue $sm;
|
|
219
218
|
case 1:
|
|
220
|
-
this.
|
|
219
|
+
this.n4v_1.z4u_1.q(this.o4v_1);
|
|
221
220
|
return Unit_instance;
|
|
222
221
|
case 2:
|
|
223
|
-
throw this.
|
|
222
|
+
throw this.d9_1;
|
|
224
223
|
}
|
|
225
224
|
} catch ($p) {
|
|
226
225
|
var e = $p;
|
|
227
|
-
if (this.
|
|
226
|
+
if (this.b9_1 === 2) {
|
|
228
227
|
throw e;
|
|
229
228
|
} else {
|
|
230
|
-
this.
|
|
231
|
-
this.
|
|
229
|
+
this.a9_1 = this.b9_1;
|
|
230
|
+
this.d9_1 = e;
|
|
232
231
|
}
|
|
233
232
|
}
|
|
234
233
|
while (true);
|
|
235
234
|
};
|
|
236
235
|
function $closeResponseLogCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
237
236
|
CoroutineImpl.call(this, resultContinuation);
|
|
238
|
-
this.
|
|
237
|
+
this.x4v_1 = _this__u8e3s4;
|
|
239
238
|
}
|
|
240
|
-
protoOf($closeResponseLogCOROUTINE$).
|
|
241
|
-
var suspendResult = this.
|
|
239
|
+
protoOf($closeResponseLogCOROUTINE$).i9 = function () {
|
|
240
|
+
var suspendResult = this.c9_1;
|
|
242
241
|
$sm: do
|
|
243
242
|
try {
|
|
244
|
-
var tmp = this.
|
|
243
|
+
var tmp = this.a9_1;
|
|
245
244
|
switch (tmp) {
|
|
246
245
|
case 0:
|
|
247
|
-
this.
|
|
248
|
-
if (!this.
|
|
246
|
+
this.b9_1 = 2;
|
|
247
|
+
if (!this.x4v_1.d4v_1.atomicfu$compareAndSet(false, true))
|
|
249
248
|
return Unit_instance;
|
|
250
|
-
this.
|
|
251
|
-
suspendResult = this.
|
|
249
|
+
this.a9_1 = 1;
|
|
250
|
+
suspendResult = this.x4v_1.a4v_1.kt(this);
|
|
252
251
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
253
252
|
return suspendResult;
|
|
254
253
|
}
|
|
255
254
|
|
|
256
255
|
continue $sm;
|
|
257
256
|
case 1:
|
|
258
|
-
var message = toString(trim(this.
|
|
257
|
+
var message = toString(trim(this.x4v_1.z4u_1));
|
|
259
258
|
if (charSequenceLength(message) > 0) {
|
|
260
|
-
this.
|
|
259
|
+
this.x4v_1.x4u_1.e4v(message);
|
|
261
260
|
}
|
|
262
261
|
|
|
263
262
|
return Unit_instance;
|
|
264
263
|
case 2:
|
|
265
|
-
throw this.
|
|
264
|
+
throw this.d9_1;
|
|
266
265
|
}
|
|
267
266
|
} catch ($p) {
|
|
268
267
|
var e = $p;
|
|
269
|
-
if (this.
|
|
268
|
+
if (this.b9_1 === 2) {
|
|
270
269
|
throw e;
|
|
271
270
|
} else {
|
|
272
|
-
this.
|
|
273
|
-
this.
|
|
271
|
+
this.a9_1 = this.b9_1;
|
|
272
|
+
this.d9_1 = e;
|
|
274
273
|
}
|
|
275
274
|
}
|
|
276
275
|
while (true);
|
|
277
276
|
};
|
|
278
277
|
function HttpClientCallLogger(logger) {
|
|
279
|
-
this.
|
|
280
|
-
this.
|
|
281
|
-
this.
|
|
282
|
-
this.
|
|
283
|
-
this.
|
|
284
|
-
this.
|
|
285
|
-
this.
|
|
286
|
-
}
|
|
287
|
-
protoOf(HttpClientCallLogger).
|
|
288
|
-
var tmp0 = this.
|
|
278
|
+
this.x4u_1 = logger;
|
|
279
|
+
this.y4u_1 = StringBuilder_init_$Create$();
|
|
280
|
+
this.z4u_1 = StringBuilder_init_$Create$();
|
|
281
|
+
this.a4v_1 = Job();
|
|
282
|
+
this.b4v_1 = Job();
|
|
283
|
+
this.c4v_1 = atomic$boolean$1(false);
|
|
284
|
+
this.d4v_1 = atomic$boolean$1(false);
|
|
285
|
+
}
|
|
286
|
+
protoOf(HttpClientCallLogger).y4v = function (message) {
|
|
287
|
+
var tmp0 = this.y4u_1;
|
|
289
288
|
// Inline function 'kotlin.text.trim' call
|
|
290
289
|
// Inline function 'kotlin.text.appendLine' call
|
|
291
290
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
292
291
|
// Inline function 'kotlin.text.appendLine' call
|
|
293
292
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
294
293
|
};
|
|
295
|
-
protoOf(HttpClientCallLogger).
|
|
296
|
-
var tmp0 = this.
|
|
294
|
+
protoOf(HttpClientCallLogger).z4v = function (message) {
|
|
295
|
+
var tmp0 = this.z4u_1;
|
|
297
296
|
// Inline function 'kotlin.text.trim' call
|
|
298
297
|
// Inline function 'kotlin.text.appendLine' call
|
|
299
298
|
var value = toString(trim(isCharSequence(message) ? message : THROW_CCE()));
|
|
300
299
|
// Inline function 'kotlin.text.appendLine' call
|
|
301
300
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
302
|
-
this.
|
|
301
|
+
this.b4v_1.o10();
|
|
303
302
|
};
|
|
304
|
-
protoOf(HttpClientCallLogger).
|
|
303
|
+
protoOf(HttpClientCallLogger).a4w = function (message, $completion) {
|
|
305
304
|
var tmp = new $logResponseExceptionCOROUTINE$(this, message, $completion);
|
|
306
|
-
tmp.
|
|
307
|
-
tmp.
|
|
308
|
-
return tmp.
|
|
305
|
+
tmp.c9_1 = Unit_instance;
|
|
306
|
+
tmp.d9_1 = null;
|
|
307
|
+
return tmp.i9();
|
|
309
308
|
};
|
|
310
|
-
protoOf(HttpClientCallLogger).
|
|
309
|
+
protoOf(HttpClientCallLogger).b4w = function (message, $completion) {
|
|
311
310
|
var tmp = new $logResponseBodyCOROUTINE$(this, message, $completion);
|
|
312
|
-
tmp.
|
|
313
|
-
tmp.
|
|
314
|
-
return tmp.
|
|
311
|
+
tmp.c9_1 = Unit_instance;
|
|
312
|
+
tmp.d9_1 = null;
|
|
313
|
+
return tmp.i9();
|
|
315
314
|
};
|
|
316
|
-
protoOf(HttpClientCallLogger).
|
|
317
|
-
if (!this.
|
|
315
|
+
protoOf(HttpClientCallLogger).c4w = function () {
|
|
316
|
+
if (!this.c4v_1.atomicfu$compareAndSet(false, true))
|
|
318
317
|
return Unit_instance;
|
|
319
318
|
try {
|
|
320
|
-
var message = toString(trim(this.
|
|
319
|
+
var message = toString(trim(this.y4u_1));
|
|
321
320
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
322
321
|
if (charSequenceLength(message) > 0) {
|
|
323
|
-
this.
|
|
322
|
+
this.x4u_1.e4v(message);
|
|
324
323
|
}
|
|
325
324
|
}finally {
|
|
326
|
-
this.
|
|
325
|
+
this.a4v_1.o10();
|
|
327
326
|
}
|
|
328
327
|
};
|
|
329
|
-
protoOf(HttpClientCallLogger).
|
|
328
|
+
protoOf(HttpClientCallLogger).d4w = function ($completion) {
|
|
330
329
|
var tmp = new $closeResponseLogCOROUTINE$(this, $completion);
|
|
331
|
-
tmp.
|
|
332
|
-
tmp.
|
|
333
|
-
return tmp.
|
|
330
|
+
tmp.c9_1 = Unit_instance;
|
|
331
|
+
tmp.d9_1 = null;
|
|
332
|
+
return tmp.i9();
|
|
334
333
|
};
|
|
335
334
|
var LogLevel_ALL_instance;
|
|
336
335
|
var LogLevel_HEADERS_instance;
|
|
@@ -350,9 +349,9 @@
|
|
|
350
349
|
}
|
|
351
350
|
function LogLevel(name, ordinal, info, headers, body) {
|
|
352
351
|
Enum.call(this, name, ordinal);
|
|
353
|
-
this.
|
|
354
|
-
this.
|
|
355
|
-
this.
|
|
352
|
+
this.g4w_1 = info;
|
|
353
|
+
this.h4w_1 = headers;
|
|
354
|
+
this.i4w_1 = body;
|
|
356
355
|
}
|
|
357
356
|
function LogLevel_ALL_getInstance() {
|
|
358
357
|
LogLevel_initEntries();
|
|
@@ -376,27 +375,27 @@
|
|
|
376
375
|
}
|
|
377
376
|
function LoggedContent(originalContent, channel) {
|
|
378
377
|
ReadChannelContent.call(this);
|
|
379
|
-
this.
|
|
380
|
-
this.
|
|
381
|
-
this.
|
|
382
|
-
this.
|
|
383
|
-
this.
|
|
384
|
-
this.
|
|
385
|
-
}
|
|
386
|
-
protoOf(LoggedContent).
|
|
387
|
-
return this.
|
|
378
|
+
this.k4w_1 = originalContent;
|
|
379
|
+
this.l4w_1 = channel;
|
|
380
|
+
this.m4w_1 = this.k4w_1.x32();
|
|
381
|
+
this.n4w_1 = this.k4w_1.z32();
|
|
382
|
+
this.o4w_1 = this.k4w_1.y32();
|
|
383
|
+
this.p4w_1 = this.k4w_1.b2x();
|
|
384
|
+
}
|
|
385
|
+
protoOf(LoggedContent).x32 = function () {
|
|
386
|
+
return this.m4w_1;
|
|
388
387
|
};
|
|
389
|
-
protoOf(LoggedContent).
|
|
390
|
-
return this.
|
|
388
|
+
protoOf(LoggedContent).z32 = function () {
|
|
389
|
+
return this.n4w_1;
|
|
391
390
|
};
|
|
392
|
-
protoOf(LoggedContent).
|
|
393
|
-
return this.
|
|
391
|
+
protoOf(LoggedContent).y32 = function () {
|
|
392
|
+
return this.o4w_1;
|
|
394
393
|
};
|
|
395
|
-
protoOf(LoggedContent).
|
|
396
|
-
return this.
|
|
394
|
+
protoOf(LoggedContent).b2x = function () {
|
|
395
|
+
return this.p4w_1;
|
|
397
396
|
};
|
|
398
|
-
protoOf(LoggedContent).
|
|
399
|
-
return this.
|
|
397
|
+
protoOf(LoggedContent).d33 = function () {
|
|
398
|
+
return this.l4w_1;
|
|
400
399
|
};
|
|
401
400
|
function Companion() {
|
|
402
401
|
}
|
|
@@ -409,7 +408,7 @@
|
|
|
409
408
|
}
|
|
410
409
|
function SimpleLogger() {
|
|
411
410
|
}
|
|
412
|
-
protoOf(SimpleLogger).
|
|
411
|
+
protoOf(SimpleLogger).e4v = function (message) {
|
|
413
412
|
println('HttpClient: ' + message);
|
|
414
413
|
};
|
|
415
414
|
var SimpleLogger_instance;
|
|
@@ -434,19 +433,19 @@
|
|
|
434
433
|
function LoggingConfig() {
|
|
435
434
|
var tmp = this;
|
|
436
435
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
437
|
-
tmp.
|
|
436
|
+
tmp.q4w_1 = ArrayList_init_$Create$();
|
|
438
437
|
var tmp_0 = this;
|
|
439
438
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
440
|
-
tmp_0.
|
|
441
|
-
this.
|
|
442
|
-
this.
|
|
443
|
-
this.
|
|
439
|
+
tmp_0.r4w_1 = ArrayList_init_$Create$();
|
|
440
|
+
this.s4w_1 = null;
|
|
441
|
+
this.t4w_1 = LoggingFormat_Default_getInstance();
|
|
442
|
+
this.u4w_1 = LogLevel_HEADERS_getInstance();
|
|
444
443
|
}
|
|
445
|
-
protoOf(LoggingConfig).
|
|
446
|
-
this.
|
|
444
|
+
protoOf(LoggingConfig).v4w = function (value) {
|
|
445
|
+
this.s4w_1 = value;
|
|
447
446
|
};
|
|
448
|
-
protoOf(LoggingConfig).
|
|
449
|
-
var tmp0_elvis_lhs = this.
|
|
447
|
+
protoOf(LoggingConfig).w4w = function () {
|
|
448
|
+
var tmp0_elvis_lhs = this.s4w_1;
|
|
450
449
|
return tmp0_elvis_lhs == null ? get_DEFAULT(Companion_instance) : tmp0_elvis_lhs;
|
|
451
450
|
};
|
|
452
451
|
var LoggingFormat_Default_instance;
|
|
@@ -468,17 +467,17 @@
|
|
|
468
467
|
// Inline function 'kotlin.apply' call
|
|
469
468
|
var this_0 = StringBuilder_init_$Create$();
|
|
470
469
|
// Inline function 'kotlin.text.isEmpty' call
|
|
471
|
-
var this_1 = _this__u8e3s4.
|
|
470
|
+
var this_1 = _this__u8e3s4.c32();
|
|
472
471
|
if (charSequenceLength(this_1) === 0) {
|
|
473
472
|
this_0.q('/');
|
|
474
473
|
} else {
|
|
475
|
-
this_0.q(_this__u8e3s4.
|
|
474
|
+
this_0.q(_this__u8e3s4.c32());
|
|
476
475
|
}
|
|
477
476
|
// Inline function 'kotlin.text.isEmpty' call
|
|
478
|
-
var this_2 = _this__u8e3s4.
|
|
477
|
+
var this_2 = _this__u8e3s4.f32();
|
|
479
478
|
if (!(charSequenceLength(this_2) === 0)) {
|
|
480
479
|
this_0.q('?');
|
|
481
|
-
this_0.q(_this__u8e3s4.
|
|
480
|
+
this_0.q(_this__u8e3s4.f32());
|
|
482
481
|
}
|
|
483
482
|
return this_0.toString();
|
|
484
483
|
}
|
|
@@ -490,16 +489,16 @@
|
|
|
490
489
|
}
|
|
491
490
|
var tmp;
|
|
492
491
|
if (content instanceof ByteArrayContent) {
|
|
493
|
-
tmp = fromInt(content.
|
|
492
|
+
tmp = fromInt(content.a33().length);
|
|
494
493
|
} else {
|
|
495
494
|
if (content instanceof ContentWrapper) {
|
|
496
|
-
tmp = computeRequestBodySize(content.
|
|
495
|
+
tmp = computeRequestBodySize(content.j33());
|
|
497
496
|
} else {
|
|
498
497
|
if (content instanceof NoContent) {
|
|
499
|
-
tmp =
|
|
498
|
+
tmp = 0n;
|
|
500
499
|
} else {
|
|
501
500
|
if (content instanceof ProtocolUpgrade) {
|
|
502
|
-
tmp =
|
|
501
|
+
tmp = 0n;
|
|
503
502
|
} else {
|
|
504
503
|
var message = 'Unable to calculate the size for type ' + getKClassFromExpression(content).o();
|
|
505
504
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
@@ -510,38 +509,38 @@
|
|
|
510
509
|
return tmp;
|
|
511
510
|
}
|
|
512
511
|
function Context(context) {
|
|
513
|
-
this.
|
|
512
|
+
this.x4w_1 = context;
|
|
514
513
|
}
|
|
515
|
-
protoOf(Context).
|
|
516
|
-
return this.
|
|
514
|
+
protoOf(Context).y4w = function (content, $completion) {
|
|
515
|
+
return this.x4w_1.b2o(content, $completion);
|
|
517
516
|
};
|
|
518
|
-
protoOf(Context).
|
|
519
|
-
return this.
|
|
517
|
+
protoOf(Context).z4w = function ($completion) {
|
|
518
|
+
return this.x4w_1.c2o($completion);
|
|
520
519
|
};
|
|
521
520
|
function SendHook$install$slambda($handler, resultContinuation) {
|
|
522
|
-
this.
|
|
521
|
+
this.i4x_1 = $handler;
|
|
523
522
|
CoroutineImpl.call(this, resultContinuation);
|
|
524
523
|
}
|
|
525
|
-
protoOf(SendHook$install$slambda).
|
|
526
|
-
var tmp = this.
|
|
527
|
-
tmp.
|
|
528
|
-
tmp.
|
|
529
|
-
return tmp.
|
|
524
|
+
protoOf(SendHook$install$slambda).q3d = function ($this$intercept, it, $completion) {
|
|
525
|
+
var tmp = this.r3d($this$intercept, it, $completion);
|
|
526
|
+
tmp.c9_1 = Unit_instance;
|
|
527
|
+
tmp.d9_1 = null;
|
|
528
|
+
return tmp.i9();
|
|
530
529
|
};
|
|
531
|
-
protoOf(SendHook$install$slambda).
|
|
530
|
+
protoOf(SendHook$install$slambda).v9 = function (p1, p2, $completion) {
|
|
532
531
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
533
|
-
return this.
|
|
532
|
+
return this.q3d(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
534
533
|
};
|
|
535
|
-
protoOf(SendHook$install$slambda).
|
|
536
|
-
var suspendResult = this.
|
|
534
|
+
protoOf(SendHook$install$slambda).i9 = function () {
|
|
535
|
+
var suspendResult = this.c9_1;
|
|
537
536
|
$sm: do
|
|
538
537
|
try {
|
|
539
|
-
var tmp = this.
|
|
538
|
+
var tmp = this.a9_1;
|
|
540
539
|
switch (tmp) {
|
|
541
540
|
case 0:
|
|
542
|
-
this.
|
|
543
|
-
this.
|
|
544
|
-
suspendResult = this.
|
|
541
|
+
this.b9_1 = 2;
|
|
542
|
+
this.a9_1 = 1;
|
|
543
|
+
suspendResult = this.i4x_1(new Context(this.j4x_1), this.j4x_1.x2o_1, this);
|
|
545
544
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
546
545
|
return suspendResult;
|
|
547
546
|
}
|
|
@@ -550,76 +549,76 @@
|
|
|
550
549
|
case 1:
|
|
551
550
|
return Unit_instance;
|
|
552
551
|
case 2:
|
|
553
|
-
throw this.
|
|
552
|
+
throw this.d9_1;
|
|
554
553
|
}
|
|
555
554
|
} catch ($p) {
|
|
556
555
|
var e = $p;
|
|
557
|
-
if (this.
|
|
556
|
+
if (this.b9_1 === 2) {
|
|
558
557
|
throw e;
|
|
559
558
|
} else {
|
|
560
|
-
this.
|
|
561
|
-
this.
|
|
559
|
+
this.a9_1 = this.b9_1;
|
|
560
|
+
this.d9_1 = e;
|
|
562
561
|
}
|
|
563
562
|
}
|
|
564
563
|
while (true);
|
|
565
564
|
};
|
|
566
|
-
protoOf(SendHook$install$slambda).
|
|
567
|
-
var i = new SendHook$install$slambda(this.
|
|
568
|
-
i.
|
|
569
|
-
i.
|
|
565
|
+
protoOf(SendHook$install$slambda).r3d = function ($this$intercept, it, completion) {
|
|
566
|
+
var i = new SendHook$install$slambda(this.i4x_1, completion);
|
|
567
|
+
i.j4x_1 = $this$intercept;
|
|
568
|
+
i.k4x_1 = it;
|
|
570
569
|
return i;
|
|
571
570
|
};
|
|
572
571
|
function SendHook$install$slambda_0($handler, resultContinuation) {
|
|
573
572
|
var i = new SendHook$install$slambda($handler, resultContinuation);
|
|
574
573
|
var l = function ($this$intercept, it, $completion) {
|
|
575
|
-
return i.
|
|
574
|
+
return i.q3d($this$intercept, it, $completion);
|
|
576
575
|
};
|
|
577
576
|
l.$arity = 2;
|
|
578
577
|
return l;
|
|
579
578
|
}
|
|
580
579
|
function SendHook() {
|
|
581
580
|
}
|
|
582
|
-
protoOf(SendHook).
|
|
583
|
-
var tmp = Phases_getInstance().
|
|
584
|
-
client.
|
|
581
|
+
protoOf(SendHook).l4x = function (client, handler) {
|
|
582
|
+
var tmp = Phases_getInstance().h3f_1;
|
|
583
|
+
client.z3c_1.b2p(tmp, SendHook$install$slambda_0(handler, null));
|
|
585
584
|
};
|
|
586
|
-
protoOf(SendHook).
|
|
587
|
-
return this.
|
|
585
|
+
protoOf(SendHook).g3m = function (client, handler) {
|
|
586
|
+
return this.l4x(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
588
587
|
};
|
|
589
588
|
var SendHook_instance;
|
|
590
589
|
function SendHook_getInstance() {
|
|
591
590
|
return SendHook_instance;
|
|
592
591
|
}
|
|
593
592
|
function Context_0(context) {
|
|
594
|
-
this.
|
|
593
|
+
this.m4x_1 = context;
|
|
595
594
|
}
|
|
596
|
-
protoOf(Context_0).
|
|
597
|
-
return this.
|
|
595
|
+
protoOf(Context_0).f4b = function (response, $completion) {
|
|
596
|
+
return this.m4x_1.b2o(response, $completion);
|
|
598
597
|
};
|
|
599
598
|
function ResponseAfterEncodingHook$install$slambda($handler, resultContinuation) {
|
|
600
|
-
this.
|
|
599
|
+
this.v4x_1 = $handler;
|
|
601
600
|
CoroutineImpl.call(this, resultContinuation);
|
|
602
601
|
}
|
|
603
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
604
|
-
var tmp = this.
|
|
605
|
-
tmp.
|
|
606
|
-
tmp.
|
|
607
|
-
return tmp.
|
|
602
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).s3m = function ($this$intercept, it, $completion) {
|
|
603
|
+
var tmp = this.t3m($this$intercept, it, $completion);
|
|
604
|
+
tmp.c9_1 = Unit_instance;
|
|
605
|
+
tmp.d9_1 = null;
|
|
606
|
+
return tmp.i9();
|
|
608
607
|
};
|
|
609
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
608
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).v9 = function (p1, p2, $completion) {
|
|
610
609
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
611
|
-
return this.
|
|
610
|
+
return this.s3m(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
612
611
|
};
|
|
613
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
614
|
-
var suspendResult = this.
|
|
612
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).i9 = function () {
|
|
613
|
+
var suspendResult = this.c9_1;
|
|
615
614
|
$sm: do
|
|
616
615
|
try {
|
|
617
|
-
var tmp = this.
|
|
616
|
+
var tmp = this.a9_1;
|
|
618
617
|
switch (tmp) {
|
|
619
618
|
case 0:
|
|
620
|
-
this.
|
|
621
|
-
this.
|
|
622
|
-
suspendResult = this.
|
|
619
|
+
this.b9_1 = 2;
|
|
620
|
+
this.a9_1 = 1;
|
|
621
|
+
suspendResult = this.v4x_1(new Context_0(this.w4x_1), this.w4x_1.a2o(), this);
|
|
623
622
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
624
623
|
return suspendResult;
|
|
625
624
|
}
|
|
@@ -628,77 +627,77 @@
|
|
|
628
627
|
case 1:
|
|
629
628
|
return Unit_instance;
|
|
630
629
|
case 2:
|
|
631
|
-
throw this.
|
|
630
|
+
throw this.d9_1;
|
|
632
631
|
}
|
|
633
632
|
} catch ($p) {
|
|
634
633
|
var e = $p;
|
|
635
|
-
if (this.
|
|
634
|
+
if (this.b9_1 === 2) {
|
|
636
635
|
throw e;
|
|
637
636
|
} else {
|
|
638
|
-
this.
|
|
639
|
-
this.
|
|
637
|
+
this.a9_1 = this.b9_1;
|
|
638
|
+
this.d9_1 = e;
|
|
640
639
|
}
|
|
641
640
|
}
|
|
642
641
|
while (true);
|
|
643
642
|
};
|
|
644
|
-
protoOf(ResponseAfterEncodingHook$install$slambda).
|
|
645
|
-
var i = new ResponseAfterEncodingHook$install$slambda(this.
|
|
646
|
-
i.
|
|
647
|
-
i.
|
|
643
|
+
protoOf(ResponseAfterEncodingHook$install$slambda).t3m = function ($this$intercept, it, completion) {
|
|
644
|
+
var i = new ResponseAfterEncodingHook$install$slambda(this.v4x_1, completion);
|
|
645
|
+
i.w4x_1 = $this$intercept;
|
|
646
|
+
i.x4x_1 = it;
|
|
648
647
|
return i;
|
|
649
648
|
};
|
|
650
649
|
function ResponseAfterEncodingHook$install$slambda_0($handler, resultContinuation) {
|
|
651
650
|
var i = new ResponseAfterEncodingHook$install$slambda($handler, resultContinuation);
|
|
652
651
|
var l = function ($this$intercept, it, $completion) {
|
|
653
|
-
return i.
|
|
652
|
+
return i.s3m($this$intercept, it, $completion);
|
|
654
653
|
};
|
|
655
654
|
l.$arity = 2;
|
|
656
655
|
return l;
|
|
657
656
|
}
|
|
658
657
|
function ResponseAfterEncodingHook() {
|
|
659
658
|
}
|
|
660
|
-
protoOf(ResponseAfterEncodingHook).
|
|
659
|
+
protoOf(ResponseAfterEncodingHook).y4x = function (client, handler) {
|
|
661
660
|
var afterState = new PipelinePhase('AfterState');
|
|
662
|
-
client.
|
|
663
|
-
client.
|
|
661
|
+
client.a3d_1.y2o(Phases_getInstance_0().w3m_1, afterState);
|
|
662
|
+
client.a3d_1.b2p(afterState, ResponseAfterEncodingHook$install$slambda_0(handler, null));
|
|
664
663
|
};
|
|
665
|
-
protoOf(ResponseAfterEncodingHook).
|
|
666
|
-
return this.
|
|
664
|
+
protoOf(ResponseAfterEncodingHook).g3m = function (client, handler) {
|
|
665
|
+
return this.y4x(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
667
666
|
};
|
|
668
667
|
var ResponseAfterEncodingHook_instance;
|
|
669
668
|
function ResponseAfterEncodingHook_getInstance() {
|
|
670
669
|
return ResponseAfterEncodingHook_instance;
|
|
671
670
|
}
|
|
672
671
|
function Context_1(context) {
|
|
673
|
-
this.
|
|
672
|
+
this.z4x_1 = context;
|
|
674
673
|
}
|
|
675
|
-
protoOf(Context_1).
|
|
676
|
-
return this.
|
|
674
|
+
protoOf(Context_1).a4y = function ($completion) {
|
|
675
|
+
return this.z4x_1.c2o($completion);
|
|
677
676
|
};
|
|
678
677
|
function ResponseHook$install$slambda($handler, resultContinuation) {
|
|
679
|
-
this.
|
|
678
|
+
this.j4y_1 = $handler;
|
|
680
679
|
CoroutineImpl.call(this, resultContinuation);
|
|
681
680
|
}
|
|
682
|
-
protoOf(ResponseHook$install$slambda).
|
|
683
|
-
var tmp = this.
|
|
684
|
-
tmp.
|
|
685
|
-
tmp.
|
|
686
|
-
return tmp.
|
|
681
|
+
protoOf(ResponseHook$install$slambda).s3m = function ($this$intercept, it, $completion) {
|
|
682
|
+
var tmp = this.t3m($this$intercept, it, $completion);
|
|
683
|
+
tmp.c9_1 = Unit_instance;
|
|
684
|
+
tmp.d9_1 = null;
|
|
685
|
+
return tmp.i9();
|
|
687
686
|
};
|
|
688
|
-
protoOf(ResponseHook$install$slambda).
|
|
687
|
+
protoOf(ResponseHook$install$slambda).v9 = function (p1, p2, $completion) {
|
|
689
688
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
690
|
-
return this.
|
|
689
|
+
return this.s3m(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
691
690
|
};
|
|
692
|
-
protoOf(ResponseHook$install$slambda).
|
|
693
|
-
var suspendResult = this.
|
|
691
|
+
protoOf(ResponseHook$install$slambda).i9 = function () {
|
|
692
|
+
var suspendResult = this.c9_1;
|
|
694
693
|
$sm: do
|
|
695
694
|
try {
|
|
696
|
-
var tmp = this.
|
|
695
|
+
var tmp = this.a9_1;
|
|
697
696
|
switch (tmp) {
|
|
698
697
|
case 0:
|
|
699
|
-
this.
|
|
700
|
-
this.
|
|
701
|
-
suspendResult = this.
|
|
698
|
+
this.b9_1 = 2;
|
|
699
|
+
this.a9_1 = 1;
|
|
700
|
+
suspendResult = this.j4y_1(new Context_1(this.k4y_1), this.k4y_1.a2o(), this);
|
|
702
701
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
703
702
|
return suspendResult;
|
|
704
703
|
}
|
|
@@ -707,76 +706,76 @@
|
|
|
707
706
|
case 1:
|
|
708
707
|
return Unit_instance;
|
|
709
708
|
case 2:
|
|
710
|
-
throw this.
|
|
709
|
+
throw this.d9_1;
|
|
711
710
|
}
|
|
712
711
|
} catch ($p) {
|
|
713
712
|
var e = $p;
|
|
714
|
-
if (this.
|
|
713
|
+
if (this.b9_1 === 2) {
|
|
715
714
|
throw e;
|
|
716
715
|
} else {
|
|
717
|
-
this.
|
|
718
|
-
this.
|
|
716
|
+
this.a9_1 = this.b9_1;
|
|
717
|
+
this.d9_1 = e;
|
|
719
718
|
}
|
|
720
719
|
}
|
|
721
720
|
while (true);
|
|
722
721
|
};
|
|
723
|
-
protoOf(ResponseHook$install$slambda).
|
|
724
|
-
var i = new ResponseHook$install$slambda(this.
|
|
725
|
-
i.
|
|
726
|
-
i.
|
|
722
|
+
protoOf(ResponseHook$install$slambda).t3m = function ($this$intercept, it, completion) {
|
|
723
|
+
var i = new ResponseHook$install$slambda(this.j4y_1, completion);
|
|
724
|
+
i.k4y_1 = $this$intercept;
|
|
725
|
+
i.l4y_1 = it;
|
|
727
726
|
return i;
|
|
728
727
|
};
|
|
729
728
|
function ResponseHook$install$slambda_0($handler, resultContinuation) {
|
|
730
729
|
var i = new ResponseHook$install$slambda($handler, resultContinuation);
|
|
731
730
|
var l = function ($this$intercept, it, $completion) {
|
|
732
|
-
return i.
|
|
731
|
+
return i.s3m($this$intercept, it, $completion);
|
|
733
732
|
};
|
|
734
733
|
l.$arity = 2;
|
|
735
734
|
return l;
|
|
736
735
|
}
|
|
737
736
|
function ResponseHook() {
|
|
738
737
|
}
|
|
739
|
-
protoOf(ResponseHook).
|
|
740
|
-
var tmp = Phases_getInstance_0().
|
|
741
|
-
client.
|
|
738
|
+
protoOf(ResponseHook).m4y = function (client, handler) {
|
|
739
|
+
var tmp = Phases_getInstance_0().w3m_1;
|
|
740
|
+
client.a3d_1.b2p(tmp, ResponseHook$install$slambda_0(handler, null));
|
|
742
741
|
};
|
|
743
|
-
protoOf(ResponseHook).
|
|
744
|
-
return this.
|
|
742
|
+
protoOf(ResponseHook).g3m = function (client, handler) {
|
|
743
|
+
return this.m4y(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
745
744
|
};
|
|
746
745
|
var ResponseHook_instance;
|
|
747
746
|
function ResponseHook_getInstance() {
|
|
748
747
|
return ResponseHook_instance;
|
|
749
748
|
}
|
|
750
749
|
function Context_2(context) {
|
|
751
|
-
this.
|
|
750
|
+
this.n4y_1 = context;
|
|
752
751
|
}
|
|
753
|
-
protoOf(Context_2).
|
|
754
|
-
return this.
|
|
752
|
+
protoOf(Context_2).o4y = function ($completion) {
|
|
753
|
+
return this.n4y_1.c2o($completion);
|
|
755
754
|
};
|
|
756
755
|
function ReceiveHook$install$slambda($handler, resultContinuation) {
|
|
757
|
-
this.
|
|
756
|
+
this.x4y_1 = $handler;
|
|
758
757
|
CoroutineImpl.call(this, resultContinuation);
|
|
759
758
|
}
|
|
760
|
-
protoOf(ReceiveHook$install$slambda).
|
|
761
|
-
var tmp = this.
|
|
762
|
-
tmp.
|
|
763
|
-
tmp.
|
|
764
|
-
return tmp.
|
|
759
|
+
protoOf(ReceiveHook$install$slambda).l3e = function ($this$intercept, it, $completion) {
|
|
760
|
+
var tmp = this.m3e($this$intercept, it, $completion);
|
|
761
|
+
tmp.c9_1 = Unit_instance;
|
|
762
|
+
tmp.d9_1 = null;
|
|
763
|
+
return tmp.i9();
|
|
765
764
|
};
|
|
766
|
-
protoOf(ReceiveHook$install$slambda).
|
|
765
|
+
protoOf(ReceiveHook$install$slambda).v9 = function (p1, p2, $completion) {
|
|
767
766
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
768
|
-
return this.
|
|
767
|
+
return this.l3e(tmp, p2 instanceof HttpResponseContainer ? p2 : THROW_CCE(), $completion);
|
|
769
768
|
};
|
|
770
|
-
protoOf(ReceiveHook$install$slambda).
|
|
771
|
-
var suspendResult = this.
|
|
769
|
+
protoOf(ReceiveHook$install$slambda).i9 = function () {
|
|
770
|
+
var suspendResult = this.c9_1;
|
|
772
771
|
$sm: do
|
|
773
772
|
try {
|
|
774
|
-
var tmp = this.
|
|
773
|
+
var tmp = this.a9_1;
|
|
775
774
|
switch (tmp) {
|
|
776
775
|
case 0:
|
|
777
|
-
this.
|
|
778
|
-
this.
|
|
779
|
-
suspendResult = this.
|
|
776
|
+
this.b9_1 = 2;
|
|
777
|
+
this.a9_1 = 1;
|
|
778
|
+
suspendResult = this.x4y_1(new Context_2(this.y4y_1), this.y4y_1.x2o_1, this);
|
|
780
779
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
781
780
|
return suspendResult;
|
|
782
781
|
}
|
|
@@ -785,41 +784,41 @@
|
|
|
785
784
|
case 1:
|
|
786
785
|
return Unit_instance;
|
|
787
786
|
case 2:
|
|
788
|
-
throw this.
|
|
787
|
+
throw this.d9_1;
|
|
789
788
|
}
|
|
790
789
|
} catch ($p) {
|
|
791
790
|
var e = $p;
|
|
792
|
-
if (this.
|
|
791
|
+
if (this.b9_1 === 2) {
|
|
793
792
|
throw e;
|
|
794
793
|
} else {
|
|
795
|
-
this.
|
|
796
|
-
this.
|
|
794
|
+
this.a9_1 = this.b9_1;
|
|
795
|
+
this.d9_1 = e;
|
|
797
796
|
}
|
|
798
797
|
}
|
|
799
798
|
while (true);
|
|
800
799
|
};
|
|
801
|
-
protoOf(ReceiveHook$install$slambda).
|
|
802
|
-
var i = new ReceiveHook$install$slambda(this.
|
|
803
|
-
i.
|
|
804
|
-
i.
|
|
800
|
+
protoOf(ReceiveHook$install$slambda).m3e = function ($this$intercept, it, completion) {
|
|
801
|
+
var i = new ReceiveHook$install$slambda(this.x4y_1, completion);
|
|
802
|
+
i.y4y_1 = $this$intercept;
|
|
803
|
+
i.z4y_1 = it;
|
|
805
804
|
return i;
|
|
806
805
|
};
|
|
807
806
|
function ReceiveHook$install$slambda_0($handler, resultContinuation) {
|
|
808
807
|
var i = new ReceiveHook$install$slambda($handler, resultContinuation);
|
|
809
808
|
var l = function ($this$intercept, it, $completion) {
|
|
810
|
-
return i.
|
|
809
|
+
return i.l3e($this$intercept, it, $completion);
|
|
811
810
|
};
|
|
812
811
|
l.$arity = 2;
|
|
813
812
|
return l;
|
|
814
813
|
}
|
|
815
814
|
function ReceiveHook() {
|
|
816
815
|
}
|
|
817
|
-
protoOf(ReceiveHook).
|
|
818
|
-
var tmp = Phases_getInstance_1().
|
|
819
|
-
client.
|
|
816
|
+
protoOf(ReceiveHook).a4z = function (client, handler) {
|
|
817
|
+
var tmp = Phases_getInstance_1().v3f_1;
|
|
818
|
+
client.y3c_1.b2p(tmp, ReceiveHook$install$slambda_0(handler, null));
|
|
820
819
|
};
|
|
821
|
-
protoOf(ReceiveHook).
|
|
822
|
-
return this.
|
|
820
|
+
protoOf(ReceiveHook).g3m = function (client, handler) {
|
|
821
|
+
return this.a4z(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
823
822
|
};
|
|
824
823
|
var ReceiveHook_instance;
|
|
825
824
|
function ReceiveHook_getInstance() {
|
|
@@ -834,101 +833,101 @@
|
|
|
834
833
|
}
|
|
835
834
|
function Logging$lambda($this$createClientPlugin) {
|
|
836
835
|
_init_properties_Logging_kt__66pui5();
|
|
837
|
-
var logger = $this$createClientPlugin.
|
|
838
|
-
var level = $this$createClientPlugin.
|
|
839
|
-
var filters = $this$createClientPlugin.
|
|
840
|
-
var sanitizedHeaders = $this$createClientPlugin.
|
|
841
|
-
var okHttpFormat = $this$createClientPlugin.
|
|
836
|
+
var logger = $this$createClientPlugin.a3n_1.w4w();
|
|
837
|
+
var level = $this$createClientPlugin.a3n_1.u4w_1;
|
|
838
|
+
var filters = $this$createClientPlugin.a3n_1.q4w_1;
|
|
839
|
+
var sanitizedHeaders = $this$createClientPlugin.a3n_1.r4w_1;
|
|
840
|
+
var okHttpFormat = $this$createClientPlugin.a3n_1.t4w_1.equals(LoggingFormat_OkHttp_getInstance());
|
|
842
841
|
var tmp = SendHook_instance;
|
|
843
|
-
$this$createClientPlugin.
|
|
842
|
+
$this$createClientPlugin.d3n(tmp, Logging$lambda$slambda_0(okHttpFormat, logger, filters, sanitizedHeaders, level, $this$createClientPlugin, null));
|
|
844
843
|
var tmp_0 = ResponseAfterEncodingHook_instance;
|
|
845
|
-
$this$createClientPlugin.
|
|
844
|
+
$this$createClientPlugin.d3n(tmp_0, Logging$lambda$slambda_2(okHttpFormat, logger, sanitizedHeaders, level, $this$createClientPlugin, null));
|
|
846
845
|
var tmp_1 = ResponseHook_instance;
|
|
847
|
-
$this$createClientPlugin.
|
|
846
|
+
$this$createClientPlugin.d3n(tmp_1, Logging$lambda$slambda_4(okHttpFormat, level, sanitizedHeaders, null));
|
|
848
847
|
var tmp_2 = ReceiveHook_instance;
|
|
849
|
-
$this$createClientPlugin.
|
|
848
|
+
$this$createClientPlugin.d3n(tmp_2, Logging$lambda$slambda_6(okHttpFormat, level, null));
|
|
850
849
|
if (okHttpFormat)
|
|
851
850
|
return Unit_instance;
|
|
852
|
-
if (!level.
|
|
851
|
+
if (!level.i4w_1)
|
|
853
852
|
return Unit_instance;
|
|
854
853
|
var tmp_3 = get_ResponseObserver();
|
|
855
|
-
var responseObserver = tmp_3.
|
|
856
|
-
get_ResponseObserver().
|
|
854
|
+
var responseObserver = tmp_3.c3g(Logging$lambda$lambda(level));
|
|
855
|
+
get_ResponseObserver().d3g(responseObserver, $this$createClientPlugin.z3m_1);
|
|
857
856
|
return Unit_instance;
|
|
858
857
|
}
|
|
859
858
|
function Logging$lambda$detectIfBinary$slambda($channel, $firstChunk, $firstReadSize, $body, resultContinuation) {
|
|
860
|
-
this.
|
|
861
|
-
this.
|
|
862
|
-
this.
|
|
863
|
-
this.
|
|
859
|
+
this.j4z_1 = $channel;
|
|
860
|
+
this.k4z_1 = $firstChunk;
|
|
861
|
+
this.l4z_1 = $firstReadSize;
|
|
862
|
+
this.m4z_1 = $body;
|
|
864
863
|
CoroutineImpl.call(this, resultContinuation);
|
|
865
864
|
}
|
|
866
|
-
protoOf(Logging$lambda$detectIfBinary$slambda).
|
|
867
|
-
var tmp = this.
|
|
868
|
-
tmp.
|
|
869
|
-
tmp.
|
|
870
|
-
return tmp.
|
|
865
|
+
protoOf(Logging$lambda$detectIfBinary$slambda).p4z = function ($this$async, $completion) {
|
|
866
|
+
var tmp = this.w1u($this$async, $completion);
|
|
867
|
+
tmp.c9_1 = Unit_instance;
|
|
868
|
+
tmp.d9_1 = null;
|
|
869
|
+
return tmp.i9();
|
|
871
870
|
};
|
|
872
|
-
protoOf(Logging$lambda$detectIfBinary$slambda).
|
|
873
|
-
return this.
|
|
871
|
+
protoOf(Logging$lambda$detectIfBinary$slambda).u9 = function (p1, $completion) {
|
|
872
|
+
return this.p4z((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
874
873
|
};
|
|
875
|
-
protoOf(Logging$lambda$detectIfBinary$slambda).
|
|
876
|
-
var suspendResult = this.
|
|
874
|
+
protoOf(Logging$lambda$detectIfBinary$slambda).i9 = function () {
|
|
875
|
+
var suspendResult = this.c9_1;
|
|
877
876
|
$sm: do
|
|
878
877
|
try {
|
|
879
|
-
var tmp = this.
|
|
878
|
+
var tmp = this.a9_1;
|
|
880
879
|
switch (tmp) {
|
|
881
880
|
case 0:
|
|
882
|
-
this.
|
|
883
|
-
this.
|
|
884
|
-
suspendResult = writeFully(this.
|
|
881
|
+
this.b9_1 = 4;
|
|
882
|
+
this.a9_1 = 1;
|
|
883
|
+
suspendResult = writeFully(this.j4z_1, this.k4z_1, 0, this.l4z_1, this);
|
|
885
884
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
886
885
|
return suspendResult;
|
|
887
886
|
}
|
|
888
887
|
|
|
889
888
|
continue $sm;
|
|
890
889
|
case 1:
|
|
891
|
-
this.
|
|
892
|
-
suspendResult = copyTo(this.
|
|
890
|
+
this.a9_1 = 2;
|
|
891
|
+
suspendResult = copyTo(this.m4z_1, this.j4z_1, this);
|
|
893
892
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
894
893
|
return suspendResult;
|
|
895
894
|
}
|
|
896
895
|
|
|
897
896
|
continue $sm;
|
|
898
897
|
case 2:
|
|
899
|
-
this.
|
|
900
|
-
this.
|
|
901
|
-
suspendResult = this.
|
|
898
|
+
this.o4z_1 = suspendResult;
|
|
899
|
+
this.a9_1 = 3;
|
|
900
|
+
suspendResult = this.j4z_1.w1l(this);
|
|
902
901
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
903
902
|
return suspendResult;
|
|
904
903
|
}
|
|
905
904
|
|
|
906
905
|
continue $sm;
|
|
907
906
|
case 3:
|
|
908
|
-
return this.
|
|
907
|
+
return this.o4z_1;
|
|
909
908
|
case 4:
|
|
910
|
-
throw this.
|
|
909
|
+
throw this.d9_1;
|
|
911
910
|
}
|
|
912
911
|
} catch ($p) {
|
|
913
912
|
var e = $p;
|
|
914
|
-
if (this.
|
|
913
|
+
if (this.b9_1 === 4) {
|
|
915
914
|
throw e;
|
|
916
915
|
} else {
|
|
917
|
-
this.
|
|
918
|
-
this.
|
|
916
|
+
this.a9_1 = this.b9_1;
|
|
917
|
+
this.d9_1 = e;
|
|
919
918
|
}
|
|
920
919
|
}
|
|
921
920
|
while (true);
|
|
922
921
|
};
|
|
923
|
-
protoOf(Logging$lambda$detectIfBinary$slambda).
|
|
924
|
-
var i = new Logging$lambda$detectIfBinary$slambda(this.
|
|
925
|
-
i.
|
|
922
|
+
protoOf(Logging$lambda$detectIfBinary$slambda).w1u = function ($this$async, completion) {
|
|
923
|
+
var i = new Logging$lambda$detectIfBinary$slambda(this.j4z_1, this.k4z_1, this.l4z_1, this.m4z_1, completion);
|
|
924
|
+
i.n4z_1 = $this$async;
|
|
926
925
|
return i;
|
|
927
926
|
};
|
|
928
927
|
function Logging$lambda$detectIfBinary$slambda_0($channel, $firstChunk, $firstReadSize, $body, resultContinuation) {
|
|
929
928
|
var i = new Logging$lambda$detectIfBinary$slambda($channel, $firstChunk, $firstReadSize, $body, resultContinuation);
|
|
930
929
|
var l = function ($this$async, $completion) {
|
|
931
|
-
return i.
|
|
930
|
+
return i.p4z($this$async, $completion);
|
|
932
931
|
};
|
|
933
932
|
l.$arity = 1;
|
|
934
933
|
return l;
|
|
@@ -938,67 +937,67 @@
|
|
|
938
937
|
return it;
|
|
939
938
|
}
|
|
940
939
|
function Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation) {
|
|
941
|
-
this.
|
|
942
|
-
this.
|
|
940
|
+
this.y4z_1 = $content;
|
|
941
|
+
this.z4z_1 = $channel;
|
|
943
942
|
CoroutineImpl.call(this, resultContinuation);
|
|
944
943
|
}
|
|
945
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
946
|
-
var tmp = this.
|
|
947
|
-
tmp.
|
|
948
|
-
tmp.
|
|
949
|
-
return tmp.
|
|
944
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).v1u = function ($this$launch, $completion) {
|
|
945
|
+
var tmp = this.w1u($this$launch, $completion);
|
|
946
|
+
tmp.c9_1 = Unit_instance;
|
|
947
|
+
tmp.d9_1 = null;
|
|
948
|
+
return tmp.i9();
|
|
950
949
|
};
|
|
951
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
952
|
-
return this.
|
|
950
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).u9 = function (p1, $completion) {
|
|
951
|
+
return this.v1u((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
953
952
|
};
|
|
954
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
955
|
-
var suspendResult = this.
|
|
953
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).i9 = function () {
|
|
954
|
+
var suspendResult = this.c9_1;
|
|
956
955
|
$sm: do
|
|
957
956
|
try {
|
|
958
|
-
var tmp = this.
|
|
957
|
+
var tmp = this.a9_1;
|
|
959
958
|
switch (tmp) {
|
|
960
959
|
case 0:
|
|
961
|
-
this.
|
|
962
|
-
this.
|
|
963
|
-
suspendResult = this.
|
|
960
|
+
this.b9_1 = 2;
|
|
961
|
+
this.a9_1 = 1;
|
|
962
|
+
suspendResult = this.y4z_1.f33(this.z4z_1, this);
|
|
964
963
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
965
964
|
return suspendResult;
|
|
966
965
|
}
|
|
967
966
|
|
|
968
967
|
continue $sm;
|
|
969
968
|
case 1:
|
|
970
|
-
this.
|
|
969
|
+
this.z4z_1.l4();
|
|
971
970
|
return Unit_instance;
|
|
972
971
|
case 2:
|
|
973
|
-
throw this.
|
|
972
|
+
throw this.d9_1;
|
|
974
973
|
}
|
|
975
974
|
} catch ($p) {
|
|
976
975
|
var e = $p;
|
|
977
|
-
if (this.
|
|
976
|
+
if (this.b9_1 === 2) {
|
|
978
977
|
throw e;
|
|
979
978
|
} else {
|
|
980
|
-
this.
|
|
981
|
-
this.
|
|
979
|
+
this.a9_1 = this.b9_1;
|
|
980
|
+
this.d9_1 = e;
|
|
982
981
|
}
|
|
983
982
|
}
|
|
984
983
|
while (true);
|
|
985
984
|
};
|
|
986
|
-
protoOf(Logging$lambda$logOutgoingContent$slambda).
|
|
987
|
-
var i = new Logging$lambda$logOutgoingContent$slambda(this.
|
|
988
|
-
i.
|
|
985
|
+
protoOf(Logging$lambda$logOutgoingContent$slambda).w1u = function ($this$launch, completion) {
|
|
986
|
+
var i = new Logging$lambda$logOutgoingContent$slambda(this.y4z_1, this.z4z_1, completion);
|
|
987
|
+
i.a50_1 = $this$launch;
|
|
989
988
|
return i;
|
|
990
989
|
};
|
|
991
990
|
function Logging$lambda$logOutgoingContent$slambda_0($content, $channel, resultContinuation) {
|
|
992
991
|
var i = new Logging$lambda$logOutgoingContent$slambda($content, $channel, resultContinuation);
|
|
993
992
|
var l = function ($this$launch, $completion) {
|
|
994
|
-
return i.
|
|
993
|
+
return i.v1u($this$launch, $completion);
|
|
995
994
|
};
|
|
996
995
|
l.$arity = 1;
|
|
997
996
|
return l;
|
|
998
997
|
}
|
|
999
998
|
function Logging$lambda$logRequestOkHttpFormat$lambda(channel) {
|
|
1000
999
|
_init_properties_Logging_kt__66pui5();
|
|
1001
|
-
return GZipEncoder_getInstance().
|
|
1000
|
+
return GZipEncoder_getInstance().y2k(channel);
|
|
1002
1001
|
}
|
|
1003
1002
|
function Logging$lambda$logResponseOkHttpFormat$lambda($origChannel) {
|
|
1004
1003
|
return function ($this$replaceResponse) {
|
|
@@ -1006,37 +1005,37 @@
|
|
|
1006
1005
|
};
|
|
1007
1006
|
}
|
|
1008
1007
|
function Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1009
|
-
this.
|
|
1010
|
-
this.
|
|
1011
|
-
this.
|
|
1012
|
-
this.
|
|
1008
|
+
this.j50_1 = $channel;
|
|
1009
|
+
this.k50_1 = $charset;
|
|
1010
|
+
this.l50_1 = $requestLog;
|
|
1011
|
+
this.m50_1 = $logger;
|
|
1013
1012
|
CoroutineImpl.call(this, resultContinuation);
|
|
1014
1013
|
}
|
|
1015
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1016
|
-
var tmp = this.
|
|
1017
|
-
tmp.
|
|
1018
|
-
tmp.
|
|
1019
|
-
return tmp.
|
|
1014
|
+
protoOf(Logging$lambda$logRequestBody$slambda).v1u = function ($this$launch, $completion) {
|
|
1015
|
+
var tmp = this.w1u($this$launch, $completion);
|
|
1016
|
+
tmp.c9_1 = Unit_instance;
|
|
1017
|
+
tmp.d9_1 = null;
|
|
1018
|
+
return tmp.i9();
|
|
1020
1019
|
};
|
|
1021
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1022
|
-
return this.
|
|
1020
|
+
protoOf(Logging$lambda$logRequestBody$slambda).u9 = function (p1, $completion) {
|
|
1021
|
+
return this.v1u((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
1023
1022
|
};
|
|
1024
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1025
|
-
var suspendResult = this.
|
|
1023
|
+
protoOf(Logging$lambda$logRequestBody$slambda).i9 = function () {
|
|
1024
|
+
var suspendResult = this.c9_1;
|
|
1026
1025
|
$sm: do
|
|
1027
1026
|
try {
|
|
1028
|
-
var tmp = this.
|
|
1027
|
+
var tmp = this.a9_1;
|
|
1029
1028
|
switch (tmp) {
|
|
1030
1029
|
case 0:
|
|
1031
|
-
this.
|
|
1032
|
-
this.
|
|
1030
|
+
this.b9_1 = 7;
|
|
1031
|
+
this.a9_1 = 1;
|
|
1033
1032
|
continue $sm;
|
|
1034
1033
|
case 1:
|
|
1035
|
-
this.
|
|
1036
|
-
var tmp0 = this.
|
|
1037
|
-
this.
|
|
1038
|
-
this.
|
|
1039
|
-
this.
|
|
1034
|
+
this.b9_1 = 6;
|
|
1035
|
+
var tmp0 = this.j50_1;
|
|
1036
|
+
this.q50_1 = this.k50_1;
|
|
1037
|
+
this.b9_1 = 3;
|
|
1038
|
+
this.a9_1 = 2;
|
|
1040
1039
|
suspendResult = readRemaining(tmp0, this);
|
|
1041
1040
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1042
1041
|
return suspendResult;
|
|
@@ -1045,70 +1044,70 @@
|
|
|
1045
1044
|
continue $sm;
|
|
1046
1045
|
case 2:
|
|
1047
1046
|
var ARGUMENT = suspendResult;
|
|
1048
|
-
this.
|
|
1049
|
-
this.
|
|
1050
|
-
this.
|
|
1047
|
+
this.p50_1 = readText(ARGUMENT, this.q50_1);
|
|
1048
|
+
this.b9_1 = 6;
|
|
1049
|
+
this.a9_1 = 4;
|
|
1051
1050
|
continue $sm;
|
|
1052
1051
|
case 3:
|
|
1053
|
-
this.
|
|
1054
|
-
var tmp_0 = this.
|
|
1052
|
+
this.b9_1 = 6;
|
|
1053
|
+
var tmp_0 = this.d9_1;
|
|
1055
1054
|
if (tmp_0 instanceof Error) {
|
|
1056
|
-
var cause = this.
|
|
1055
|
+
var cause = this.d9_1;
|
|
1057
1056
|
var tmp_1 = this;
|
|
1058
|
-
tmp_1.
|
|
1059
|
-
this.
|
|
1057
|
+
tmp_1.p50_1 = null;
|
|
1058
|
+
this.a9_1 = 4;
|
|
1060
1059
|
continue $sm;
|
|
1061
1060
|
} else {
|
|
1062
|
-
throw this.
|
|
1061
|
+
throw this.d9_1;
|
|
1063
1062
|
}
|
|
1064
1063
|
|
|
1065
1064
|
case 4:
|
|
1066
|
-
this.
|
|
1067
|
-
var tmp0_elvis_lhs = this.
|
|
1065
|
+
this.b9_1 = 6;
|
|
1066
|
+
var tmp0_elvis_lhs = this.p50_1;
|
|
1068
1067
|
var text = tmp0_elvis_lhs == null ? '[request body omitted]' : tmp0_elvis_lhs;
|
|
1069
|
-
var tmp0_0 = this.
|
|
1068
|
+
var tmp0_0 = this.l50_1;
|
|
1070
1069
|
var value = 'BODY START';
|
|
1071
1070
|
tmp0_0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1072
|
-
this.
|
|
1073
|
-
this.
|
|
1074
|
-
this.
|
|
1075
|
-
this.
|
|
1071
|
+
this.l50_1.q(text).s(_Char___init__impl__6a9atx(10));
|
|
1072
|
+
this.o50_1 = this.l50_1.q('BODY END');
|
|
1073
|
+
this.b9_1 = 7;
|
|
1074
|
+
this.a9_1 = 5;
|
|
1076
1075
|
continue $sm;
|
|
1077
1076
|
case 5:
|
|
1078
|
-
this.
|
|
1079
|
-
this.
|
|
1080
|
-
this.
|
|
1081
|
-
this.
|
|
1077
|
+
this.o50_1;
|
|
1078
|
+
this.b9_1 = 7;
|
|
1079
|
+
this.m50_1.y4v(this.l50_1.toString());
|
|
1080
|
+
this.m50_1.c4w();
|
|
1082
1081
|
return Unit_instance;
|
|
1083
1082
|
case 6:
|
|
1084
|
-
this.
|
|
1085
|
-
var t = this.
|
|
1086
|
-
this.
|
|
1087
|
-
this.
|
|
1083
|
+
this.b9_1 = 7;
|
|
1084
|
+
var t = this.d9_1;
|
|
1085
|
+
this.m50_1.y4v(this.l50_1.toString());
|
|
1086
|
+
this.m50_1.c4w();
|
|
1088
1087
|
throw t;
|
|
1089
1088
|
case 7:
|
|
1090
|
-
throw this.
|
|
1089
|
+
throw this.d9_1;
|
|
1091
1090
|
}
|
|
1092
1091
|
} catch ($p) {
|
|
1093
1092
|
var e = $p;
|
|
1094
|
-
if (this.
|
|
1093
|
+
if (this.b9_1 === 7) {
|
|
1095
1094
|
throw e;
|
|
1096
1095
|
} else {
|
|
1097
|
-
this.
|
|
1098
|
-
this.
|
|
1096
|
+
this.a9_1 = this.b9_1;
|
|
1097
|
+
this.d9_1 = e;
|
|
1099
1098
|
}
|
|
1100
1099
|
}
|
|
1101
1100
|
while (true);
|
|
1102
1101
|
};
|
|
1103
|
-
protoOf(Logging$lambda$logRequestBody$slambda).
|
|
1104
|
-
var i = new Logging$lambda$logRequestBody$slambda(this.
|
|
1105
|
-
i.
|
|
1102
|
+
protoOf(Logging$lambda$logRequestBody$slambda).w1u = function ($this$launch, completion) {
|
|
1103
|
+
var i = new Logging$lambda$logRequestBody$slambda(this.j50_1, this.k50_1, this.l50_1, this.m50_1, completion);
|
|
1104
|
+
i.n50_1 = $this$launch;
|
|
1106
1105
|
return i;
|
|
1107
1106
|
};
|
|
1108
1107
|
function Logging$lambda$logRequestBody$slambda_0($channel, $charset, $requestLog, $logger, resultContinuation) {
|
|
1109
1108
|
var i = new Logging$lambda$logRequestBody$slambda($channel, $charset, $requestLog, $logger, resultContinuation);
|
|
1110
1109
|
var l = function ($this$launch, $completion) {
|
|
1111
|
-
return i.
|
|
1110
|
+
return i.v1u($this$launch, $completion);
|
|
1112
1111
|
};
|
|
1113
1112
|
l.$arity = 1;
|
|
1114
1113
|
return l;
|
|
@@ -1159,15 +1158,15 @@
|
|
|
1159
1158
|
}
|
|
1160
1159
|
function invoke$detectIfBinary($this_createClientPlugin, body, contentLength, contentType, headers, $completion) {
|
|
1161
1160
|
var tmp = new $invoke$detectIfBinaryCOROUTINE$($this_createClientPlugin, body, contentLength, contentType, headers, $completion);
|
|
1162
|
-
tmp.
|
|
1163
|
-
tmp.
|
|
1164
|
-
return tmp.
|
|
1161
|
+
tmp.c9_1 = Unit_instance;
|
|
1162
|
+
tmp.d9_1 = null;
|
|
1163
|
+
return tmp.i9();
|
|
1165
1164
|
}
|
|
1166
1165
|
function invoke$logRequestBody($this_createClientPlugin, content, contentLength, headers, method, logLines, body, $completion) {
|
|
1167
1166
|
var tmp = new $invoke$logRequestBodyCOROUTINE$($this_createClientPlugin, content, contentLength, headers, method, logLines, body, $completion);
|
|
1168
|
-
tmp.
|
|
1169
|
-
tmp.
|
|
1170
|
-
return tmp.
|
|
1167
|
+
tmp.c9_1 = Unit_instance;
|
|
1168
|
+
tmp.d9_1 = null;
|
|
1169
|
+
return tmp.i9();
|
|
1171
1170
|
}
|
|
1172
1171
|
function invoke$logOutgoingContent($this_createClientPlugin, content, method, headers, logLines, process, $completion) {
|
|
1173
1172
|
var tmp;
|
|
@@ -1178,72 +1177,72 @@
|
|
|
1178
1177
|
}
|
|
1179
1178
|
process = tmp;
|
|
1180
1179
|
var tmp_0 = new $invoke$logOutgoingContentCOROUTINE$($this_createClientPlugin, content, method, headers, logLines, process, $completion);
|
|
1181
|
-
tmp_0.
|
|
1182
|
-
tmp_0.
|
|
1183
|
-
return tmp_0.
|
|
1180
|
+
tmp_0.c9_1 = Unit_instance;
|
|
1181
|
+
tmp_0.d9_1 = null;
|
|
1182
|
+
return tmp_0.i9();
|
|
1184
1183
|
}
|
|
1185
1184
|
function invoke$logRequestOkHttpFormat(sanitizedHeaders, level, $this_createClientPlugin, request, logLines, $completion) {
|
|
1186
1185
|
var tmp = new $invoke$logRequestOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, request, logLines, $completion);
|
|
1187
|
-
tmp.
|
|
1188
|
-
tmp.
|
|
1189
|
-
return tmp.
|
|
1186
|
+
tmp.c9_1 = Unit_instance;
|
|
1187
|
+
tmp.d9_1 = null;
|
|
1188
|
+
return tmp.i9();
|
|
1190
1189
|
}
|
|
1191
1190
|
function invoke$logResponseBody($this_createClientPlugin, response, body, logLines, $completion) {
|
|
1192
1191
|
var tmp = new $invoke$logResponseBodyCOROUTINE$($this_createClientPlugin, response, body, logLines, $completion);
|
|
1193
|
-
tmp.
|
|
1194
|
-
tmp.
|
|
1195
|
-
return tmp.
|
|
1192
|
+
tmp.c9_1 = Unit_instance;
|
|
1193
|
+
tmp.d9_1 = null;
|
|
1194
|
+
return tmp.i9();
|
|
1196
1195
|
}
|
|
1197
1196
|
function invoke$logResponseOkHttpFormat(sanitizedHeaders, level, $this_createClientPlugin, response, logLines, $completion) {
|
|
1198
1197
|
var tmp = new $invoke$logResponseOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, response, logLines, $completion);
|
|
1199
|
-
tmp.
|
|
1200
|
-
tmp.
|
|
1201
|
-
return tmp.
|
|
1198
|
+
tmp.c9_1 = Unit_instance;
|
|
1199
|
+
tmp.d9_1 = null;
|
|
1200
|
+
return tmp.i9();
|
|
1202
1201
|
}
|
|
1203
1202
|
function invoke$logRequestBody_0(content, logger, $completion) {
|
|
1204
1203
|
var requestLog = StringBuilder_init_$Create$();
|
|
1205
1204
|
// Inline function 'kotlin.text.appendLine' call
|
|
1206
|
-
var value = 'BODY Content-Type: ' + toString_0(content.
|
|
1205
|
+
var value = 'BODY Content-Type: ' + toString_0(content.x32());
|
|
1207
1206
|
// Inline function 'kotlin.text.appendLine' call
|
|
1208
1207
|
requestLog.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1209
|
-
var tmp0_safe_receiver = content.
|
|
1208
|
+
var tmp0_safe_receiver = content.x32();
|
|
1210
1209
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
1211
|
-
var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().
|
|
1210
|
+
var charset_0 = tmp1_elvis_lhs == null ? Charsets_getInstance().q1v_1 : tmp1_elvis_lhs;
|
|
1212
1211
|
var channel = new ByteChannel();
|
|
1213
1212
|
var tmp = GlobalScope_instance;
|
|
1214
|
-
var tmp_0 = Dispatchers_getInstance().
|
|
1213
|
+
var tmp_0 = Dispatchers_getInstance().n14_1.ch(MDCContext());
|
|
1215
1214
|
launch(tmp, tmp_0, VOID, Logging$lambda$logRequestBody$slambda_0(channel, charset_0, requestLog, logger, null));
|
|
1216
1215
|
return observe(content, channel, $completion);
|
|
1217
1216
|
}
|
|
1218
1217
|
function invoke$logRequestException(level, logger, context, cause) {
|
|
1219
|
-
if (level.
|
|
1220
|
-
logger.
|
|
1218
|
+
if (level.g4w_1) {
|
|
1219
|
+
logger.e4v('REQUEST ' + Url(context.x3e_1).toString() + ' failed with exception: ' + cause.toString());
|
|
1221
1220
|
}
|
|
1222
1221
|
}
|
|
1223
1222
|
function invoke$logRequest(logger, level, sanitizedHeaders, request, $completion) {
|
|
1224
|
-
var tmp = request.
|
|
1223
|
+
var tmp = request.a3f_1;
|
|
1225
1224
|
var content = tmp instanceof OutgoingContent ? tmp : THROW_CCE();
|
|
1226
1225
|
var callLogger = new HttpClientCallLogger(logger);
|
|
1227
|
-
request.
|
|
1226
|
+
request.c3f_1.o2h(get_ClientCallLogger(), callLogger);
|
|
1228
1227
|
// Inline function 'kotlin.text.buildString' call
|
|
1229
1228
|
// Inline function 'kotlin.apply' call
|
|
1230
1229
|
var this_0 = StringBuilder_init_$Create$();
|
|
1231
|
-
if (level.
|
|
1230
|
+
if (level.g4w_1) {
|
|
1232
1231
|
// Inline function 'kotlin.text.appendLine' call
|
|
1233
|
-
var value = 'REQUEST: ' + Url(request.
|
|
1232
|
+
var value = 'REQUEST: ' + Url(request.x3e_1).toString();
|
|
1234
1233
|
// Inline function 'kotlin.text.appendLine' call
|
|
1235
1234
|
this_0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
1236
1235
|
// Inline function 'kotlin.text.appendLine' call
|
|
1237
|
-
var value_0 = 'METHOD: ' + request.
|
|
1236
|
+
var value_0 = 'METHOD: ' + request.y3e_1.toString();
|
|
1238
1237
|
// Inline function 'kotlin.text.appendLine' call
|
|
1239
1238
|
this_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
1240
1239
|
}
|
|
1241
|
-
if (level.
|
|
1240
|
+
if (level.h4w_1) {
|
|
1242
1241
|
// Inline function 'kotlin.text.appendLine' call
|
|
1243
1242
|
var value_1 = 'COMMON HEADERS';
|
|
1244
1243
|
// Inline function 'kotlin.text.appendLine' call
|
|
1245
1244
|
this_0.q(value_1).s(_Char___init__impl__6a9atx(10));
|
|
1246
|
-
logHeaders(this_0, request.
|
|
1245
|
+
logHeaders(this_0, request.z3e_1.m2l(), sanitizedHeaders);
|
|
1247
1246
|
// Inline function 'kotlin.text.appendLine' call
|
|
1248
1247
|
var value_2 = 'CONTENT HEADERS';
|
|
1249
1248
|
// Inline function 'kotlin.text.appendLine' call
|
|
@@ -1254,7 +1253,7 @@
|
|
|
1254
1253
|
var _iterator__ex2g4s = sanitizedHeaders.t();
|
|
1255
1254
|
while (_iterator__ex2g4s.u()) {
|
|
1256
1255
|
var element = _iterator__ex2g4s.v();
|
|
1257
|
-
if (element.
|
|
1256
|
+
if (element.l54_1(HttpHeaders_getInstance().m2t_1)) {
|
|
1258
1257
|
tmp$ret$9 = element;
|
|
1259
1258
|
break $l$block;
|
|
1260
1259
|
}
|
|
@@ -1262,14 +1261,14 @@
|
|
|
1262
1261
|
tmp$ret$9 = null;
|
|
1263
1262
|
}
|
|
1264
1263
|
var tmp0_safe_receiver = tmp$ret$9;
|
|
1265
|
-
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1264
|
+
var contentLengthPlaceholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k54_1;
|
|
1266
1265
|
var tmp$ret$11;
|
|
1267
1266
|
$l$block_0: {
|
|
1268
1267
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
1269
1268
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
1270
1269
|
while (_iterator__ex2g4s_0.u()) {
|
|
1271
1270
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
1272
|
-
if (element_0.
|
|
1271
|
+
if (element_0.l54_1(HttpHeaders_getInstance().p2t_1)) {
|
|
1273
1272
|
tmp$ret$11 = element_0;
|
|
1274
1273
|
break $l$block_0;
|
|
1275
1274
|
}
|
|
@@ -1277,180 +1276,180 @@
|
|
|
1277
1276
|
tmp$ret$11 = null;
|
|
1278
1277
|
}
|
|
1279
1278
|
var tmp1_safe_receiver = tmp$ret$11;
|
|
1280
|
-
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
1281
|
-
var tmp2_safe_receiver = content.
|
|
1279
|
+
var contentTypePlaceholder = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.k54_1;
|
|
1280
|
+
var tmp2_safe_receiver = content.z32();
|
|
1282
1281
|
if (tmp2_safe_receiver == null)
|
|
1283
1282
|
null;
|
|
1284
1283
|
else {
|
|
1285
1284
|
// Inline function 'kotlin.let' call
|
|
1286
|
-
var tmp_0 = HttpHeaders_getInstance().
|
|
1285
|
+
var tmp_0 = HttpHeaders_getInstance().m2t_1;
|
|
1287
1286
|
logHeader(this_0, tmp_0, contentLengthPlaceholder == null ? tmp2_safe_receiver.toString() : contentLengthPlaceholder);
|
|
1288
1287
|
}
|
|
1289
|
-
var tmp3_safe_receiver = content.
|
|
1288
|
+
var tmp3_safe_receiver = content.x32();
|
|
1290
1289
|
if (tmp3_safe_receiver == null)
|
|
1291
1290
|
null;
|
|
1292
1291
|
else {
|
|
1293
1292
|
// Inline function 'kotlin.let' call
|
|
1294
|
-
var tmp_1 = HttpHeaders_getInstance().
|
|
1293
|
+
var tmp_1 = HttpHeaders_getInstance().p2t_1;
|
|
1295
1294
|
logHeader(this_0, tmp_1, contentTypePlaceholder == null ? tmp3_safe_receiver.toString() : contentTypePlaceholder);
|
|
1296
1295
|
}
|
|
1297
|
-
logHeaders(this_0, content.
|
|
1296
|
+
logHeaders(this_0, content.b2x().m2l(), sanitizedHeaders);
|
|
1298
1297
|
}
|
|
1299
1298
|
var message = this_0.toString();
|
|
1300
1299
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
1301
1300
|
if (charSequenceLength(message) > 0) {
|
|
1302
|
-
callLogger.
|
|
1301
|
+
callLogger.y4v(message);
|
|
1303
1302
|
}
|
|
1304
1303
|
var tmp_2;
|
|
1305
1304
|
// Inline function 'kotlin.text.isEmpty' call
|
|
1306
1305
|
if (charSequenceLength(message) === 0) {
|
|
1307
1306
|
tmp_2 = true;
|
|
1308
1307
|
} else {
|
|
1309
|
-
tmp_2 = !level.
|
|
1308
|
+
tmp_2 = !level.i4w_1;
|
|
1310
1309
|
}
|
|
1311
1310
|
if (tmp_2) {
|
|
1312
|
-
callLogger.
|
|
1311
|
+
callLogger.c4w();
|
|
1313
1312
|
return null;
|
|
1314
1313
|
}
|
|
1315
1314
|
return invoke$logRequestBody_0(content, callLogger, $completion);
|
|
1316
1315
|
}
|
|
1317
1316
|
function invoke$logResponseException(level, log, request, cause) {
|
|
1318
|
-
if (!level.
|
|
1317
|
+
if (!level.g4w_1)
|
|
1319
1318
|
return Unit_instance;
|
|
1320
|
-
log.q('RESPONSE ' + request.
|
|
1319
|
+
log.q('RESPONSE ' + request.o3g().toString() + ' failed with exception: ' + cause.toString());
|
|
1321
1320
|
}
|
|
1322
1321
|
function Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation) {
|
|
1323
|
-
this.
|
|
1324
|
-
this.
|
|
1325
|
-
this.
|
|
1326
|
-
this.
|
|
1327
|
-
this.
|
|
1328
|
-
this.
|
|
1322
|
+
this.u54_1 = $okHttpFormat;
|
|
1323
|
+
this.v54_1 = $logger;
|
|
1324
|
+
this.w54_1 = $filters;
|
|
1325
|
+
this.x54_1 = $sanitizedHeaders;
|
|
1326
|
+
this.y54_1 = $level;
|
|
1327
|
+
this.z54_1 = $this_createClientPlugin;
|
|
1329
1328
|
CoroutineImpl.call(this, resultContinuation);
|
|
1330
1329
|
}
|
|
1331
|
-
protoOf(Logging$lambda$slambda).
|
|
1332
|
-
var tmp = this.
|
|
1333
|
-
tmp.
|
|
1334
|
-
tmp.
|
|
1335
|
-
return tmp.
|
|
1330
|
+
protoOf(Logging$lambda$slambda).i55 = function ($this$on, request, $completion) {
|
|
1331
|
+
var tmp = this.j55($this$on, request, $completion);
|
|
1332
|
+
tmp.c9_1 = Unit_instance;
|
|
1333
|
+
tmp.d9_1 = null;
|
|
1334
|
+
return tmp.i9();
|
|
1336
1335
|
};
|
|
1337
|
-
protoOf(Logging$lambda$slambda).
|
|
1336
|
+
protoOf(Logging$lambda$slambda).v9 = function (p1, p2, $completion) {
|
|
1338
1337
|
var tmp = p1 instanceof Context ? p1 : THROW_CCE();
|
|
1339
|
-
return this.
|
|
1338
|
+
return this.i55(tmp, p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE(), $completion);
|
|
1340
1339
|
};
|
|
1341
|
-
protoOf(Logging$lambda$slambda).
|
|
1342
|
-
var suspendResult = this.
|
|
1340
|
+
protoOf(Logging$lambda$slambda).i9 = function () {
|
|
1341
|
+
var suspendResult = this.c9_1;
|
|
1343
1342
|
$sm: do
|
|
1344
1343
|
try {
|
|
1345
|
-
var tmp = this.
|
|
1344
|
+
var tmp = this.a9_1;
|
|
1346
1345
|
switch (tmp) {
|
|
1347
1346
|
case 0:
|
|
1348
|
-
this.
|
|
1349
|
-
if (!invoke$shouldBeLogged(this.
|
|
1350
|
-
this.
|
|
1347
|
+
this.b9_1 = 16;
|
|
1348
|
+
if (!invoke$shouldBeLogged(this.w54_1, this.b55_1)) {
|
|
1349
|
+
this.b55_1.c3f_1.o2h(get_DisableLogging(), Unit_instance);
|
|
1351
1350
|
return Unit_instance;
|
|
1352
1351
|
}
|
|
1353
1352
|
|
|
1354
|
-
if (this.
|
|
1353
|
+
if (this.u54_1) {
|
|
1355
1354
|
var tmp_0 = this;
|
|
1356
|
-
tmp_0.
|
|
1357
|
-
this.
|
|
1358
|
-
suspendResult = invoke$logRequestOkHttpFormat(this.
|
|
1355
|
+
tmp_0.e55_1 = ArrayList_init_$Create$();
|
|
1356
|
+
this.a9_1 = 10;
|
|
1357
|
+
suspendResult = invoke$logRequestOkHttpFormat(this.x54_1, this.y54_1, this.z54_1, this.b55_1, this.e55_1, this);
|
|
1359
1358
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1360
1359
|
return suspendResult;
|
|
1361
1360
|
}
|
|
1362
1361
|
continue $sm;
|
|
1363
1362
|
} else {
|
|
1364
|
-
this.
|
|
1363
|
+
this.a9_1 = 1;
|
|
1365
1364
|
continue $sm;
|
|
1366
1365
|
}
|
|
1367
1366
|
|
|
1368
1367
|
case 1:
|
|
1369
|
-
this.
|
|
1370
|
-
this.
|
|
1371
|
-
suspendResult = invoke$logRequest(this.
|
|
1368
|
+
this.b9_1 = 3;
|
|
1369
|
+
this.a9_1 = 2;
|
|
1370
|
+
suspendResult = invoke$logRequest(this.v54_1, this.y54_1, this.x54_1, this.b55_1, this);
|
|
1372
1371
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1373
1372
|
return suspendResult;
|
|
1374
1373
|
}
|
|
1375
1374
|
|
|
1376
1375
|
continue $sm;
|
|
1377
1376
|
case 2:
|
|
1378
|
-
this.
|
|
1379
|
-
this.
|
|
1380
|
-
this.
|
|
1377
|
+
this.h55_1 = suspendResult;
|
|
1378
|
+
this.b9_1 = 16;
|
|
1379
|
+
this.a9_1 = 4;
|
|
1381
1380
|
continue $sm;
|
|
1382
1381
|
case 3:
|
|
1383
|
-
this.
|
|
1384
|
-
var tmp_1 = this.
|
|
1382
|
+
this.b9_1 = 16;
|
|
1383
|
+
var tmp_1 = this.d9_1;
|
|
1385
1384
|
if (tmp_1 instanceof Error) {
|
|
1386
|
-
var _unused_var__etf5q3 = this.
|
|
1385
|
+
var _unused_var__etf5q3 = this.d9_1;
|
|
1387
1386
|
var tmp_2 = this;
|
|
1388
|
-
tmp_2.
|
|
1389
|
-
this.
|
|
1387
|
+
tmp_2.h55_1 = null;
|
|
1388
|
+
this.a9_1 = 4;
|
|
1390
1389
|
continue $sm;
|
|
1391
1390
|
} else {
|
|
1392
|
-
throw this.
|
|
1391
|
+
throw this.d9_1;
|
|
1393
1392
|
}
|
|
1394
1393
|
|
|
1395
1394
|
case 4:
|
|
1396
|
-
this.
|
|
1397
|
-
this.
|
|
1398
|
-
this.
|
|
1399
|
-
this.
|
|
1395
|
+
this.b9_1 = 16;
|
|
1396
|
+
this.g55_1 = this.h55_1;
|
|
1397
|
+
this.f55_1 = Unit_instance;
|
|
1398
|
+
this.a9_1 = 5;
|
|
1400
1399
|
continue $sm;
|
|
1401
1400
|
case 5:
|
|
1402
|
-
this.
|
|
1403
|
-
this.
|
|
1404
|
-
this.
|
|
1405
|
-
var tmp0_elvis_lhs = this.
|
|
1406
|
-
suspendResult = this.
|
|
1401
|
+
this.b9_1 = 8;
|
|
1402
|
+
this.b9_1 = 7;
|
|
1403
|
+
this.a9_1 = 6;
|
|
1404
|
+
var tmp0_elvis_lhs = this.g55_1;
|
|
1405
|
+
suspendResult = this.a55_1.y4w(tmp0_elvis_lhs == null ? this.b55_1.a3f_1 : tmp0_elvis_lhs, this);
|
|
1407
1406
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1408
1407
|
return suspendResult;
|
|
1409
1408
|
}
|
|
1410
1409
|
|
|
1411
1410
|
continue $sm;
|
|
1412
1411
|
case 6:
|
|
1413
|
-
this.
|
|
1414
|
-
this.
|
|
1415
|
-
this.
|
|
1412
|
+
this.f55_1 = suspendResult;
|
|
1413
|
+
this.b9_1 = 16;
|
|
1414
|
+
this.a9_1 = 9;
|
|
1416
1415
|
continue $sm;
|
|
1417
1416
|
case 7:
|
|
1418
|
-
this.
|
|
1419
|
-
var tmp_3 = this.
|
|
1417
|
+
this.b9_1 = 8;
|
|
1418
|
+
var tmp_3 = this.d9_1;
|
|
1420
1419
|
if (tmp_3 instanceof Error) {
|
|
1421
|
-
var cause = this.
|
|
1420
|
+
var cause = this.d9_1;
|
|
1422
1421
|
var tmp_4 = this;
|
|
1423
|
-
invoke$logRequestException(this.
|
|
1422
|
+
invoke$logRequestException(this.y54_1, this.v54_1, this.b55_1, cause);
|
|
1424
1423
|
throw cause;
|
|
1425
1424
|
} else {
|
|
1426
|
-
throw this.
|
|
1425
|
+
throw this.d9_1;
|
|
1427
1426
|
}
|
|
1428
1427
|
|
|
1429
1428
|
case 8:
|
|
1430
|
-
this.
|
|
1431
|
-
var t = this.
|
|
1429
|
+
this.b9_1 = 16;
|
|
1430
|
+
var t = this.d9_1;
|
|
1432
1431
|
throw t;
|
|
1433
1432
|
case 9:
|
|
1434
|
-
this.
|
|
1435
|
-
this.
|
|
1433
|
+
this.f55_1;
|
|
1434
|
+
this.b9_1 = 16;
|
|
1436
1435
|
return Unit_instance;
|
|
1437
1436
|
case 10:
|
|
1438
1437
|
var content = suspendResult;
|
|
1439
|
-
if (this.
|
|
1440
|
-
this.
|
|
1438
|
+
if (this.e55_1.l1() > 0) {
|
|
1439
|
+
this.v54_1.e4v(joinToString(this.e55_1, '\n'));
|
|
1441
1440
|
}
|
|
1442
1441
|
|
|
1443
|
-
this.
|
|
1442
|
+
this.b9_1 = 14;
|
|
1444
1443
|
if (!(content == null)) {
|
|
1445
|
-
this.
|
|
1446
|
-
suspendResult = this.
|
|
1444
|
+
this.a9_1 = 12;
|
|
1445
|
+
suspendResult = this.a55_1.y4w(content, this);
|
|
1447
1446
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1448
1447
|
return suspendResult;
|
|
1449
1448
|
}
|
|
1450
1449
|
continue $sm;
|
|
1451
1450
|
} else {
|
|
1452
|
-
this.
|
|
1453
|
-
suspendResult = this.
|
|
1451
|
+
this.a9_1 = 11;
|
|
1452
|
+
suspendResult = this.a55_1.z4w(this);
|
|
1454
1453
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1455
1454
|
return suspendResult;
|
|
1456
1455
|
}
|
|
@@ -1458,390 +1457,390 @@
|
|
|
1458
1457
|
}
|
|
1459
1458
|
|
|
1460
1459
|
case 11:
|
|
1461
|
-
this.
|
|
1462
|
-
this.
|
|
1460
|
+
this.d55_1 = suspendResult;
|
|
1461
|
+
this.a9_1 = 13;
|
|
1463
1462
|
continue $sm;
|
|
1464
1463
|
case 12:
|
|
1465
|
-
this.
|
|
1466
|
-
this.
|
|
1464
|
+
this.d55_1 = suspendResult;
|
|
1465
|
+
this.a9_1 = 13;
|
|
1467
1466
|
continue $sm;
|
|
1468
1467
|
case 13:
|
|
1469
|
-
this.
|
|
1470
|
-
this.
|
|
1471
|
-
this.
|
|
1468
|
+
this.c55_1 = this.d55_1;
|
|
1469
|
+
this.b9_1 = 16;
|
|
1470
|
+
this.a9_1 = 15;
|
|
1472
1471
|
continue $sm;
|
|
1473
1472
|
case 14:
|
|
1474
|
-
this.
|
|
1475
|
-
var tmp_5 = this.
|
|
1473
|
+
this.b9_1 = 16;
|
|
1474
|
+
var tmp_5 = this.d9_1;
|
|
1476
1475
|
if (tmp_5 instanceof Error) {
|
|
1477
|
-
var cause_0 = this.
|
|
1476
|
+
var cause_0 = this.d9_1;
|
|
1478
1477
|
var tmp_6 = this;
|
|
1479
|
-
this.
|
|
1478
|
+
this.v54_1.e4v('<-- HTTP FAILED: ' + cause_0.toString());
|
|
1480
1479
|
throw cause_0;
|
|
1481
1480
|
} else {
|
|
1482
|
-
throw this.
|
|
1481
|
+
throw this.d9_1;
|
|
1483
1482
|
}
|
|
1484
1483
|
|
|
1485
1484
|
case 15:
|
|
1486
|
-
this.
|
|
1485
|
+
this.b9_1 = 16;
|
|
1487
1486
|
return Unit_instance;
|
|
1488
1487
|
case 16:
|
|
1489
|
-
throw this.
|
|
1488
|
+
throw this.d9_1;
|
|
1490
1489
|
}
|
|
1491
1490
|
} catch ($p) {
|
|
1492
1491
|
var e = $p;
|
|
1493
|
-
if (this.
|
|
1492
|
+
if (this.b9_1 === 16) {
|
|
1494
1493
|
throw e;
|
|
1495
1494
|
} else {
|
|
1496
|
-
this.
|
|
1497
|
-
this.
|
|
1495
|
+
this.a9_1 = this.b9_1;
|
|
1496
|
+
this.d9_1 = e;
|
|
1498
1497
|
}
|
|
1499
1498
|
}
|
|
1500
1499
|
while (true);
|
|
1501
1500
|
};
|
|
1502
|
-
protoOf(Logging$lambda$slambda).
|
|
1503
|
-
var i = new Logging$lambda$slambda(this.
|
|
1504
|
-
i.
|
|
1505
|
-
i.
|
|
1501
|
+
protoOf(Logging$lambda$slambda).j55 = function ($this$on, request, completion) {
|
|
1502
|
+
var i = new Logging$lambda$slambda(this.u54_1, this.v54_1, this.w54_1, this.x54_1, this.y54_1, this.z54_1, completion);
|
|
1503
|
+
i.a55_1 = $this$on;
|
|
1504
|
+
i.b55_1 = request;
|
|
1506
1505
|
return i;
|
|
1507
1506
|
};
|
|
1508
1507
|
function Logging$lambda$slambda_0($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation) {
|
|
1509
1508
|
var i = new Logging$lambda$slambda($okHttpFormat, $logger, $filters, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation);
|
|
1510
1509
|
var l = function ($this$on, request, $completion) {
|
|
1511
|
-
return i.
|
|
1510
|
+
return i.i55($this$on, request, $completion);
|
|
1512
1511
|
};
|
|
1513
1512
|
l.$arity = 2;
|
|
1514
1513
|
return l;
|
|
1515
1514
|
}
|
|
1516
1515
|
function Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation) {
|
|
1517
|
-
this.
|
|
1518
|
-
this.
|
|
1519
|
-
this.
|
|
1520
|
-
this.
|
|
1521
|
-
this.
|
|
1516
|
+
this.s55_1 = $okHttpFormat;
|
|
1517
|
+
this.t55_1 = $logger;
|
|
1518
|
+
this.u55_1 = $sanitizedHeaders;
|
|
1519
|
+
this.v55_1 = $level;
|
|
1520
|
+
this.w55_1 = $this_createClientPlugin;
|
|
1522
1521
|
CoroutineImpl.call(this, resultContinuation);
|
|
1523
1522
|
}
|
|
1524
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1525
|
-
var tmp = this.
|
|
1526
|
-
tmp.
|
|
1527
|
-
tmp.
|
|
1528
|
-
return tmp.
|
|
1523
|
+
protoOf(Logging$lambda$slambda_1).a56 = function ($this$on, response, $completion) {
|
|
1524
|
+
var tmp = this.b56($this$on, response, $completion);
|
|
1525
|
+
tmp.c9_1 = Unit_instance;
|
|
1526
|
+
tmp.d9_1 = null;
|
|
1527
|
+
return tmp.i9();
|
|
1529
1528
|
};
|
|
1530
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1529
|
+
protoOf(Logging$lambda$slambda_1).v9 = function (p1, p2, $completion) {
|
|
1531
1530
|
var tmp = p1 instanceof Context_0 ? p1 : THROW_CCE();
|
|
1532
|
-
return this.
|
|
1531
|
+
return this.a56(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1533
1532
|
};
|
|
1534
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1535
|
-
var suspendResult = this.
|
|
1533
|
+
protoOf(Logging$lambda$slambda_1).i9 = function () {
|
|
1534
|
+
var suspendResult = this.c9_1;
|
|
1536
1535
|
$sm: do
|
|
1537
1536
|
try {
|
|
1538
|
-
var tmp = this.
|
|
1537
|
+
var tmp = this.a9_1;
|
|
1539
1538
|
switch (tmp) {
|
|
1540
1539
|
case 0:
|
|
1541
|
-
this.
|
|
1542
|
-
if (this.
|
|
1540
|
+
this.b9_1 = 5;
|
|
1541
|
+
if (this.s55_1) {
|
|
1543
1542
|
var tmp_0 = this;
|
|
1544
|
-
tmp_0.
|
|
1545
|
-
this.
|
|
1546
|
-
suspendResult = invoke$logResponseOkHttpFormat(this.
|
|
1543
|
+
tmp_0.z55_1 = ArrayList_init_$Create$();
|
|
1544
|
+
this.a9_1 = 1;
|
|
1545
|
+
suspendResult = invoke$logResponseOkHttpFormat(this.u55_1, this.v55_1, this.w55_1, this.y55_1, this.z55_1, this);
|
|
1547
1546
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1548
1547
|
return suspendResult;
|
|
1549
1548
|
}
|
|
1550
1549
|
continue $sm;
|
|
1551
1550
|
} else {
|
|
1552
|
-
this.
|
|
1551
|
+
this.a9_1 = 4;
|
|
1553
1552
|
continue $sm;
|
|
1554
1553
|
}
|
|
1555
1554
|
|
|
1556
1555
|
case 1:
|
|
1557
1556
|
var newResponse = suspendResult;
|
|
1558
|
-
if (this.
|
|
1559
|
-
this.
|
|
1557
|
+
if (this.z55_1.l1() > 0) {
|
|
1558
|
+
this.t55_1.e4v(joinToString(this.z55_1, '\n'));
|
|
1560
1559
|
}
|
|
1561
1560
|
|
|
1562
|
-
if (!equals(newResponse, this.
|
|
1563
|
-
this.
|
|
1564
|
-
suspendResult = this.
|
|
1561
|
+
if (!equals(newResponse, this.y55_1)) {
|
|
1562
|
+
this.a9_1 = 2;
|
|
1563
|
+
suspendResult = this.x55_1.f4b(newResponse, this);
|
|
1565
1564
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1566
1565
|
return suspendResult;
|
|
1567
1566
|
}
|
|
1568
1567
|
continue $sm;
|
|
1569
1568
|
} else {
|
|
1570
|
-
this.
|
|
1569
|
+
this.a9_1 = 3;
|
|
1571
1570
|
continue $sm;
|
|
1572
1571
|
}
|
|
1573
1572
|
|
|
1574
1573
|
case 2:
|
|
1575
|
-
this.
|
|
1574
|
+
this.a9_1 = 3;
|
|
1576
1575
|
continue $sm;
|
|
1577
1576
|
case 3:
|
|
1578
|
-
this.
|
|
1577
|
+
this.a9_1 = 4;
|
|
1579
1578
|
continue $sm;
|
|
1580
1579
|
case 4:
|
|
1581
1580
|
return Unit_instance;
|
|
1582
1581
|
case 5:
|
|
1583
|
-
throw this.
|
|
1582
|
+
throw this.d9_1;
|
|
1584
1583
|
}
|
|
1585
1584
|
} catch ($p) {
|
|
1586
1585
|
var e = $p;
|
|
1587
|
-
if (this.
|
|
1586
|
+
if (this.b9_1 === 5) {
|
|
1588
1587
|
throw e;
|
|
1589
1588
|
} else {
|
|
1590
|
-
this.
|
|
1591
|
-
this.
|
|
1589
|
+
this.a9_1 = this.b9_1;
|
|
1590
|
+
this.d9_1 = e;
|
|
1592
1591
|
}
|
|
1593
1592
|
}
|
|
1594
1593
|
while (true);
|
|
1595
1594
|
};
|
|
1596
|
-
protoOf(Logging$lambda$slambda_1).
|
|
1597
|
-
var i = new Logging$lambda$slambda_1(this.
|
|
1598
|
-
i.
|
|
1599
|
-
i.
|
|
1595
|
+
protoOf(Logging$lambda$slambda_1).b56 = function ($this$on, response, completion) {
|
|
1596
|
+
var i = new Logging$lambda$slambda_1(this.s55_1, this.t55_1, this.u55_1, this.v55_1, this.w55_1, completion);
|
|
1597
|
+
i.x55_1 = $this$on;
|
|
1598
|
+
i.y55_1 = response;
|
|
1600
1599
|
return i;
|
|
1601
1600
|
};
|
|
1602
1601
|
function Logging$lambda$slambda_2($okHttpFormat, $logger, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation) {
|
|
1603
1602
|
var i = new Logging$lambda$slambda_1($okHttpFormat, $logger, $sanitizedHeaders, $level, $this_createClientPlugin, resultContinuation);
|
|
1604
1603
|
var l = function ($this$on, response, $completion) {
|
|
1605
|
-
return i.
|
|
1604
|
+
return i.a56($this$on, response, $completion);
|
|
1606
1605
|
};
|
|
1607
1606
|
l.$arity = 2;
|
|
1608
1607
|
return l;
|
|
1609
1608
|
}
|
|
1610
1609
|
function Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1611
|
-
this.
|
|
1612
|
-
this.
|
|
1613
|
-
this.
|
|
1610
|
+
this.k56_1 = $okHttpFormat;
|
|
1611
|
+
this.l56_1 = $level;
|
|
1612
|
+
this.m56_1 = $sanitizedHeaders;
|
|
1614
1613
|
CoroutineImpl.call(this, resultContinuation);
|
|
1615
1614
|
}
|
|
1616
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1617
|
-
var tmp = this.
|
|
1618
|
-
tmp.
|
|
1619
|
-
tmp.
|
|
1620
|
-
return tmp.
|
|
1615
|
+
protoOf(Logging$lambda$slambda_3).v56 = function ($this$on, response, $completion) {
|
|
1616
|
+
var tmp = this.w56($this$on, response, $completion);
|
|
1617
|
+
tmp.c9_1 = Unit_instance;
|
|
1618
|
+
tmp.d9_1 = null;
|
|
1619
|
+
return tmp.i9();
|
|
1621
1620
|
};
|
|
1622
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1621
|
+
protoOf(Logging$lambda$slambda_3).v9 = function (p1, p2, $completion) {
|
|
1623
1622
|
var tmp = p1 instanceof Context_1 ? p1 : THROW_CCE();
|
|
1624
|
-
return this.
|
|
1623
|
+
return this.v56(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
1625
1624
|
};
|
|
1626
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1627
|
-
var suspendResult = this.
|
|
1625
|
+
protoOf(Logging$lambda$slambda_3).i9 = function () {
|
|
1626
|
+
var suspendResult = this.c9_1;
|
|
1628
1627
|
$sm: do
|
|
1629
1628
|
try {
|
|
1630
|
-
var tmp = this.
|
|
1629
|
+
var tmp = this.a9_1;
|
|
1631
1630
|
switch (tmp) {
|
|
1632
1631
|
case 0:
|
|
1633
|
-
this.
|
|
1634
|
-
if (this.
|
|
1632
|
+
this.b9_1 = 14;
|
|
1633
|
+
if (this.k56_1)
|
|
1635
1634
|
return Unit_instance;
|
|
1636
|
-
if (this.
|
|
1635
|
+
if (this.l56_1.equals(LogLevel_NONE_getInstance()) || this.o56_1.m3g().g3g().n2h(get_DisableLogging()))
|
|
1637
1636
|
return Unit_instance;
|
|
1638
|
-
this.
|
|
1639
|
-
this.
|
|
1640
|
-
this.
|
|
1641
|
-
this.
|
|
1637
|
+
this.q56_1 = this.o56_1.m3g().g3g().l2h(get_ClientCallLogger());
|
|
1638
|
+
this.s56_1 = StringBuilder_init_$Create$();
|
|
1639
|
+
this.r56_1 = false;
|
|
1640
|
+
this.a9_1 = 1;
|
|
1642
1641
|
continue $sm;
|
|
1643
1642
|
case 1:
|
|
1644
|
-
this.
|
|
1645
|
-
this.
|
|
1646
|
-
logResponseHeader(this.
|
|
1647
|
-
this.
|
|
1648
|
-
suspendResult = this.
|
|
1643
|
+
this.b9_1 = 4;
|
|
1644
|
+
this.b9_1 = 3;
|
|
1645
|
+
logResponseHeader(this.s56_1, this.o56_1.m3g().x3d(), this.l56_1, this.m56_1);
|
|
1646
|
+
this.a9_1 = 2;
|
|
1647
|
+
suspendResult = this.n56_1.a4y(this);
|
|
1649
1648
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1650
1649
|
return suspendResult;
|
|
1651
1650
|
}
|
|
1652
1651
|
|
|
1653
1652
|
continue $sm;
|
|
1654
1653
|
case 2:
|
|
1655
|
-
this.
|
|
1656
|
-
this.
|
|
1657
|
-
this.
|
|
1654
|
+
this.t56_1 = suspendResult;
|
|
1655
|
+
this.b9_1 = 14;
|
|
1656
|
+
this.a9_1 = 9;
|
|
1658
1657
|
continue $sm;
|
|
1659
1658
|
case 3:
|
|
1660
|
-
this.
|
|
1661
|
-
var tmp_0 = this.
|
|
1659
|
+
this.b9_1 = 4;
|
|
1660
|
+
var tmp_0 = this.d9_1;
|
|
1662
1661
|
if (tmp_0 instanceof Error) {
|
|
1663
|
-
var cause = this.
|
|
1662
|
+
var cause = this.d9_1;
|
|
1664
1663
|
var tmp_1 = this;
|
|
1665
|
-
invoke$logResponseException(this.
|
|
1666
|
-
this.
|
|
1664
|
+
invoke$logResponseException(this.l56_1, this.s56_1, this.o56_1.m3g().f3g(), cause);
|
|
1665
|
+
this.r56_1 = true;
|
|
1667
1666
|
throw cause;
|
|
1668
1667
|
} else {
|
|
1669
|
-
throw this.
|
|
1668
|
+
throw this.d9_1;
|
|
1670
1669
|
}
|
|
1671
1670
|
|
|
1672
1671
|
case 4:
|
|
1673
|
-
this.
|
|
1674
|
-
this.
|
|
1675
|
-
this.
|
|
1676
|
-
if (this.
|
|
1677
|
-
this.
|
|
1678
|
-
suspendResult = this.
|
|
1672
|
+
this.b9_1 = 14;
|
|
1673
|
+
this.u56_1 = this.d9_1;
|
|
1674
|
+
this.q56_1.z4v(this.s56_1.toString());
|
|
1675
|
+
if (this.r56_1 || !this.l56_1.i4w_1) {
|
|
1676
|
+
this.a9_1 = 7;
|
|
1677
|
+
suspendResult = this.q56_1.d4w(this);
|
|
1679
1678
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1680
1679
|
return suspendResult;
|
|
1681
1680
|
}
|
|
1682
1681
|
continue $sm;
|
|
1683
1682
|
} else {
|
|
1684
|
-
if (this.
|
|
1685
|
-
this.
|
|
1686
|
-
suspendResult = logResponseBody(this.
|
|
1683
|
+
if (this.l56_1.i4w_1 && get_isSaved(this.o56_1)) {
|
|
1684
|
+
this.a9_1 = 5;
|
|
1685
|
+
suspendResult = logResponseBody(this.q56_1, this.o56_1, this);
|
|
1687
1686
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1688
1687
|
return suspendResult;
|
|
1689
1688
|
}
|
|
1690
1689
|
continue $sm;
|
|
1691
1690
|
} else {
|
|
1692
|
-
this.
|
|
1691
|
+
this.a9_1 = 8;
|
|
1693
1692
|
continue $sm;
|
|
1694
1693
|
}
|
|
1695
1694
|
}
|
|
1696
1695
|
|
|
1697
1696
|
case 5:
|
|
1698
|
-
this.
|
|
1699
|
-
suspendResult = this.
|
|
1697
|
+
this.a9_1 = 6;
|
|
1698
|
+
suspendResult = this.q56_1.d4w(this);
|
|
1700
1699
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1701
1700
|
return suspendResult;
|
|
1702
1701
|
}
|
|
1703
1702
|
|
|
1704
1703
|
continue $sm;
|
|
1705
1704
|
case 6:
|
|
1706
|
-
this.
|
|
1705
|
+
this.a9_1 = 8;
|
|
1707
1706
|
continue $sm;
|
|
1708
1707
|
case 7:
|
|
1709
|
-
this.
|
|
1708
|
+
this.a9_1 = 8;
|
|
1710
1709
|
continue $sm;
|
|
1711
1710
|
case 8:
|
|
1712
|
-
throw this.
|
|
1711
|
+
throw this.u56_1;
|
|
1713
1712
|
case 9:
|
|
1714
|
-
this.
|
|
1715
|
-
this.
|
|
1716
|
-
this.
|
|
1717
|
-
if (this.
|
|
1718
|
-
this.
|
|
1719
|
-
suspendResult = this.
|
|
1713
|
+
this.p56_1 = this.t56_1;
|
|
1714
|
+
this.b9_1 = 14;
|
|
1715
|
+
this.q56_1.z4v(this.s56_1.toString());
|
|
1716
|
+
if (this.r56_1 || !this.l56_1.i4w_1) {
|
|
1717
|
+
this.a9_1 = 12;
|
|
1718
|
+
suspendResult = this.q56_1.d4w(this);
|
|
1720
1719
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1721
1720
|
return suspendResult;
|
|
1722
1721
|
}
|
|
1723
1722
|
continue $sm;
|
|
1724
1723
|
} else {
|
|
1725
|
-
if (this.
|
|
1726
|
-
this.
|
|
1727
|
-
suspendResult = logResponseBody(this.
|
|
1724
|
+
if (this.l56_1.i4w_1 && get_isSaved(this.o56_1)) {
|
|
1725
|
+
this.a9_1 = 10;
|
|
1726
|
+
suspendResult = logResponseBody(this.q56_1, this.o56_1, this);
|
|
1728
1727
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1729
1728
|
return suspendResult;
|
|
1730
1729
|
}
|
|
1731
1730
|
continue $sm;
|
|
1732
1731
|
} else {
|
|
1733
|
-
this.
|
|
1732
|
+
this.a9_1 = 13;
|
|
1734
1733
|
continue $sm;
|
|
1735
1734
|
}
|
|
1736
1735
|
}
|
|
1737
1736
|
|
|
1738
1737
|
case 10:
|
|
1739
|
-
this.
|
|
1740
|
-
suspendResult = this.
|
|
1738
|
+
this.a9_1 = 11;
|
|
1739
|
+
suspendResult = this.q56_1.d4w(this);
|
|
1741
1740
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1742
1741
|
return suspendResult;
|
|
1743
1742
|
}
|
|
1744
1743
|
|
|
1745
1744
|
continue $sm;
|
|
1746
1745
|
case 11:
|
|
1747
|
-
this.
|
|
1746
|
+
this.a9_1 = 13;
|
|
1748
1747
|
continue $sm;
|
|
1749
1748
|
case 12:
|
|
1750
|
-
this.
|
|
1749
|
+
this.a9_1 = 13;
|
|
1751
1750
|
continue $sm;
|
|
1752
1751
|
case 13:
|
|
1753
1752
|
return Unit_instance;
|
|
1754
1753
|
case 14:
|
|
1755
|
-
throw this.
|
|
1754
|
+
throw this.d9_1;
|
|
1756
1755
|
}
|
|
1757
1756
|
} catch ($p) {
|
|
1758
1757
|
var e = $p;
|
|
1759
|
-
if (this.
|
|
1758
|
+
if (this.b9_1 === 14) {
|
|
1760
1759
|
throw e;
|
|
1761
1760
|
} else {
|
|
1762
|
-
this.
|
|
1763
|
-
this.
|
|
1761
|
+
this.a9_1 = this.b9_1;
|
|
1762
|
+
this.d9_1 = e;
|
|
1764
1763
|
}
|
|
1765
1764
|
}
|
|
1766
1765
|
while (true);
|
|
1767
1766
|
};
|
|
1768
|
-
protoOf(Logging$lambda$slambda_3).
|
|
1769
|
-
var i = new Logging$lambda$slambda_3(this.
|
|
1770
|
-
i.
|
|
1771
|
-
i.
|
|
1767
|
+
protoOf(Logging$lambda$slambda_3).w56 = function ($this$on, response, completion) {
|
|
1768
|
+
var i = new Logging$lambda$slambda_3(this.k56_1, this.l56_1, this.m56_1, completion);
|
|
1769
|
+
i.n56_1 = $this$on;
|
|
1770
|
+
i.o56_1 = response;
|
|
1772
1771
|
return i;
|
|
1773
1772
|
};
|
|
1774
1773
|
function Logging$lambda$slambda_4($okHttpFormat, $level, $sanitizedHeaders, resultContinuation) {
|
|
1775
1774
|
var i = new Logging$lambda$slambda_3($okHttpFormat, $level, $sanitizedHeaders, resultContinuation);
|
|
1776
1775
|
var l = function ($this$on, response, $completion) {
|
|
1777
|
-
return i.
|
|
1776
|
+
return i.v56($this$on, response, $completion);
|
|
1778
1777
|
};
|
|
1779
1778
|
l.$arity = 2;
|
|
1780
1779
|
return l;
|
|
1781
1780
|
}
|
|
1782
1781
|
function Logging$lambda$slambda_5($okHttpFormat, $level, resultContinuation) {
|
|
1783
|
-
this.
|
|
1784
|
-
this.
|
|
1782
|
+
this.f57_1 = $okHttpFormat;
|
|
1783
|
+
this.g57_1 = $level;
|
|
1785
1784
|
CoroutineImpl.call(this, resultContinuation);
|
|
1786
1785
|
}
|
|
1787
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1788
|
-
var tmp = this.
|
|
1789
|
-
tmp.
|
|
1790
|
-
tmp.
|
|
1791
|
-
return tmp.
|
|
1786
|
+
protoOf(Logging$lambda$slambda_5).m57 = function ($this$on, call, $completion) {
|
|
1787
|
+
var tmp = this.n57($this$on, call, $completion);
|
|
1788
|
+
tmp.c9_1 = Unit_instance;
|
|
1789
|
+
tmp.d9_1 = null;
|
|
1790
|
+
return tmp.i9();
|
|
1792
1791
|
};
|
|
1793
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1792
|
+
protoOf(Logging$lambda$slambda_5).v9 = function (p1, p2, $completion) {
|
|
1794
1793
|
var tmp = p1 instanceof Context_2 ? p1 : THROW_CCE();
|
|
1795
|
-
return this.
|
|
1794
|
+
return this.m57(tmp, p2 instanceof HttpClientCall ? p2 : THROW_CCE(), $completion);
|
|
1796
1795
|
};
|
|
1797
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1798
|
-
var suspendResult = this.
|
|
1796
|
+
protoOf(Logging$lambda$slambda_5).i9 = function () {
|
|
1797
|
+
var suspendResult = this.c9_1;
|
|
1799
1798
|
$sm: do
|
|
1800
1799
|
try {
|
|
1801
|
-
var tmp = this.
|
|
1800
|
+
var tmp = this.a9_1;
|
|
1802
1801
|
switch (tmp) {
|
|
1803
1802
|
case 0:
|
|
1804
|
-
this.
|
|
1805
|
-
if (this.
|
|
1803
|
+
this.b9_1 = 6;
|
|
1804
|
+
if (this.f57_1)
|
|
1806
1805
|
return Unit_instance;
|
|
1807
|
-
if (this.
|
|
1806
|
+
if (this.g57_1.equals(LogLevel_NONE_getInstance()) || this.i57_1.g3g().n2h(get_DisableLogging())) {
|
|
1808
1807
|
return Unit_instance;
|
|
1809
1808
|
}
|
|
1810
1809
|
|
|
1811
|
-
this.
|
|
1812
|
-
this.
|
|
1813
|
-
suspendResult = this.
|
|
1810
|
+
this.b9_1 = 2;
|
|
1811
|
+
this.a9_1 = 1;
|
|
1812
|
+
suspendResult = this.h57_1.o4y(this);
|
|
1814
1813
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1815
1814
|
return suspendResult;
|
|
1816
1815
|
}
|
|
1817
1816
|
|
|
1818
1817
|
continue $sm;
|
|
1819
1818
|
case 1:
|
|
1820
|
-
this.
|
|
1821
|
-
this.
|
|
1822
|
-
this.
|
|
1819
|
+
this.j57_1 = suspendResult;
|
|
1820
|
+
this.b9_1 = 6;
|
|
1821
|
+
this.a9_1 = 5;
|
|
1823
1822
|
continue $sm;
|
|
1824
1823
|
case 2:
|
|
1825
|
-
this.
|
|
1826
|
-
var tmp_0 = this.
|
|
1824
|
+
this.b9_1 = 6;
|
|
1825
|
+
var tmp_0 = this.d9_1;
|
|
1827
1826
|
if (tmp_0 instanceof Error) {
|
|
1828
|
-
this.
|
|
1827
|
+
this.k57_1 = this.d9_1;
|
|
1829
1828
|
var log = StringBuilder_init_$Create$();
|
|
1830
|
-
this.
|
|
1831
|
-
invoke$logResponseException(this.
|
|
1832
|
-
this.
|
|
1833
|
-
suspendResult = this.
|
|
1829
|
+
this.l57_1 = this.i57_1.g3g().l2h(get_ClientCallLogger());
|
|
1830
|
+
invoke$logResponseException(this.g57_1, log, this.i57_1.f3g(), this.k57_1);
|
|
1831
|
+
this.a9_1 = 3;
|
|
1832
|
+
suspendResult = this.l57_1.a4w(log.toString(), this);
|
|
1834
1833
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1835
1834
|
return suspendResult;
|
|
1836
1835
|
}
|
|
1837
1836
|
continue $sm;
|
|
1838
1837
|
} else {
|
|
1839
|
-
throw this.
|
|
1838
|
+
throw this.d9_1;
|
|
1840
1839
|
}
|
|
1841
1840
|
|
|
1842
1841
|
case 3:
|
|
1843
|
-
this.
|
|
1844
|
-
suspendResult = this.
|
|
1842
|
+
this.a9_1 = 4;
|
|
1843
|
+
suspendResult = this.l57_1.d4w(this);
|
|
1845
1844
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1846
1845
|
return suspendResult;
|
|
1847
1846
|
}
|
|
@@ -1849,76 +1848,76 @@
|
|
|
1849
1848
|
continue $sm;
|
|
1850
1849
|
case 4:
|
|
1851
1850
|
var tmp_1 = this;
|
|
1852
|
-
throw this.
|
|
1851
|
+
throw this.k57_1;
|
|
1853
1852
|
case 5:
|
|
1854
|
-
this.
|
|
1853
|
+
this.b9_1 = 6;
|
|
1855
1854
|
return Unit_instance;
|
|
1856
1855
|
case 6:
|
|
1857
|
-
throw this.
|
|
1856
|
+
throw this.d9_1;
|
|
1858
1857
|
}
|
|
1859
1858
|
} catch ($p) {
|
|
1860
1859
|
var e = $p;
|
|
1861
|
-
if (this.
|
|
1860
|
+
if (this.b9_1 === 6) {
|
|
1862
1861
|
throw e;
|
|
1863
1862
|
} else {
|
|
1864
|
-
this.
|
|
1865
|
-
this.
|
|
1863
|
+
this.a9_1 = this.b9_1;
|
|
1864
|
+
this.d9_1 = e;
|
|
1866
1865
|
}
|
|
1867
1866
|
}
|
|
1868
1867
|
while (true);
|
|
1869
1868
|
};
|
|
1870
|
-
protoOf(Logging$lambda$slambda_5).
|
|
1871
|
-
var i = new Logging$lambda$slambda_5(this.
|
|
1872
|
-
i.
|
|
1873
|
-
i.
|
|
1869
|
+
protoOf(Logging$lambda$slambda_5).n57 = function ($this$on, call, completion) {
|
|
1870
|
+
var i = new Logging$lambda$slambda_5(this.f57_1, this.g57_1, completion);
|
|
1871
|
+
i.h57_1 = $this$on;
|
|
1872
|
+
i.i57_1 = call;
|
|
1874
1873
|
return i;
|
|
1875
1874
|
};
|
|
1876
1875
|
function Logging$lambda$slambda_6($okHttpFormat, $level, resultContinuation) {
|
|
1877
1876
|
var i = new Logging$lambda$slambda_5($okHttpFormat, $level, resultContinuation);
|
|
1878
1877
|
var l = function ($this$on, call, $completion) {
|
|
1879
|
-
return i.
|
|
1878
|
+
return i.m57($this$on, call, $completion);
|
|
1880
1879
|
};
|
|
1881
1880
|
l.$arity = 2;
|
|
1882
1881
|
return l;
|
|
1883
1882
|
}
|
|
1884
1883
|
function Logging$lambda$lambda$lambda(it) {
|
|
1885
1884
|
_init_properties_Logging_kt__66pui5();
|
|
1886
|
-
return !get_isSaved(it.
|
|
1885
|
+
return !get_isSaved(it.x3d());
|
|
1887
1886
|
}
|
|
1888
1887
|
function Logging$lambda$lambda$slambda($level, resultContinuation) {
|
|
1889
|
-
this.
|
|
1888
|
+
this.w57_1 = $level;
|
|
1890
1889
|
CoroutineImpl.call(this, resultContinuation);
|
|
1891
1890
|
}
|
|
1892
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
1893
|
-
var tmp = this.
|
|
1894
|
-
tmp.
|
|
1895
|
-
tmp.
|
|
1896
|
-
return tmp.
|
|
1891
|
+
protoOf(Logging$lambda$lambda$slambda).n3p = function (response, $completion) {
|
|
1892
|
+
var tmp = this.a3o(response, $completion);
|
|
1893
|
+
tmp.c9_1 = Unit_instance;
|
|
1894
|
+
tmp.d9_1 = null;
|
|
1895
|
+
return tmp.i9();
|
|
1897
1896
|
};
|
|
1898
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
1899
|
-
return this.
|
|
1897
|
+
protoOf(Logging$lambda$lambda$slambda).u9 = function (p1, $completion) {
|
|
1898
|
+
return this.n3p(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
|
|
1900
1899
|
};
|
|
1901
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
1902
|
-
var suspendResult = this.
|
|
1900
|
+
protoOf(Logging$lambda$lambda$slambda).i9 = function () {
|
|
1901
|
+
var suspendResult = this.c9_1;
|
|
1903
1902
|
$sm: do
|
|
1904
1903
|
try {
|
|
1905
|
-
var tmp = this.
|
|
1904
|
+
var tmp = this.a9_1;
|
|
1906
1905
|
switch (tmp) {
|
|
1907
1906
|
case 0:
|
|
1908
|
-
this.
|
|
1909
|
-
if (this.
|
|
1907
|
+
this.b9_1 = 3;
|
|
1908
|
+
if (this.w57_1.equals(LogLevel_NONE_getInstance()) || this.x57_1.m3g().g3g().n2h(get_DisableLogging()))
|
|
1910
1909
|
return Unit_instance;
|
|
1911
|
-
this.
|
|
1912
|
-
this.
|
|
1913
|
-
suspendResult = logResponseBody(this.
|
|
1910
|
+
this.y57_1 = this.x57_1.m3g().g3g().l2h(get_ClientCallLogger());
|
|
1911
|
+
this.a9_1 = 1;
|
|
1912
|
+
suspendResult = logResponseBody(this.y57_1, this.x57_1, this);
|
|
1914
1913
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1915
1914
|
return suspendResult;
|
|
1916
1915
|
}
|
|
1917
1916
|
|
|
1918
1917
|
continue $sm;
|
|
1919
1918
|
case 1:
|
|
1920
|
-
this.
|
|
1921
|
-
suspendResult = this.
|
|
1919
|
+
this.a9_1 = 2;
|
|
1920
|
+
suspendResult = this.y57_1.d4w(this);
|
|
1922
1921
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1923
1922
|
return suspendResult;
|
|
1924
1923
|
}
|
|
@@ -1927,95 +1926,95 @@
|
|
|
1927
1926
|
case 2:
|
|
1928
1927
|
return Unit_instance;
|
|
1929
1928
|
case 3:
|
|
1930
|
-
throw this.
|
|
1929
|
+
throw this.d9_1;
|
|
1931
1930
|
}
|
|
1932
1931
|
} catch ($p) {
|
|
1933
1932
|
var e = $p;
|
|
1934
|
-
if (this.
|
|
1933
|
+
if (this.b9_1 === 3) {
|
|
1935
1934
|
throw e;
|
|
1936
1935
|
} else {
|
|
1937
|
-
this.
|
|
1938
|
-
this.
|
|
1936
|
+
this.a9_1 = this.b9_1;
|
|
1937
|
+
this.d9_1 = e;
|
|
1939
1938
|
}
|
|
1940
1939
|
}
|
|
1941
1940
|
while (true);
|
|
1942
1941
|
};
|
|
1943
|
-
protoOf(Logging$lambda$lambda$slambda).
|
|
1944
|
-
var i = new Logging$lambda$lambda$slambda(this.
|
|
1945
|
-
i.
|
|
1942
|
+
protoOf(Logging$lambda$lambda$slambda).a3o = function (response, completion) {
|
|
1943
|
+
var i = new Logging$lambda$lambda$slambda(this.w57_1, completion);
|
|
1944
|
+
i.x57_1 = response;
|
|
1946
1945
|
return i;
|
|
1947
1946
|
};
|
|
1948
1947
|
function Logging$lambda$lambda$slambda_0($level, resultContinuation) {
|
|
1949
1948
|
var i = new Logging$lambda$lambda$slambda($level, resultContinuation);
|
|
1950
1949
|
var l = function (response, $completion) {
|
|
1951
|
-
return i.
|
|
1950
|
+
return i.n3p(response, $completion);
|
|
1952
1951
|
};
|
|
1953
1952
|
l.$arity = 1;
|
|
1954
1953
|
return l;
|
|
1955
1954
|
}
|
|
1956
1955
|
function Logging$lambda$lambda($level) {
|
|
1957
1956
|
return function ($this$prepare) {
|
|
1958
|
-
$this$prepare.
|
|
1959
|
-
$this$prepare.
|
|
1957
|
+
$this$prepare.d4b(Logging$lambda$lambda$lambda);
|
|
1958
|
+
$this$prepare.c4b(Logging$lambda$lambda$slambda_0($level, null));
|
|
1960
1959
|
return Unit_instance;
|
|
1961
1960
|
};
|
|
1962
1961
|
}
|
|
1963
1962
|
function $invoke$detectIfBinaryCOROUTINE$($this_createClientPlugin, body, contentLength, contentType, headers, resultContinuation) {
|
|
1964
1963
|
CoroutineImpl.call(this, resultContinuation);
|
|
1965
|
-
this.
|
|
1966
|
-
this.
|
|
1967
|
-
this.
|
|
1968
|
-
this.
|
|
1969
|
-
this.
|
|
1970
|
-
}
|
|
1971
|
-
protoOf($invoke$detectIfBinaryCOROUTINE$).
|
|
1972
|
-
var suspendResult = this.
|
|
1964
|
+
this.z50_1 = $this_createClientPlugin;
|
|
1965
|
+
this.a51_1 = body;
|
|
1966
|
+
this.b51_1 = contentLength;
|
|
1967
|
+
this.c51_1 = contentType;
|
|
1968
|
+
this.d51_1 = headers;
|
|
1969
|
+
}
|
|
1970
|
+
protoOf($invoke$detectIfBinaryCOROUTINE$).i9 = function () {
|
|
1971
|
+
var suspendResult = this.c9_1;
|
|
1973
1972
|
$sm: do
|
|
1974
1973
|
try {
|
|
1975
|
-
var tmp = this.
|
|
1974
|
+
var tmp = this.a9_1;
|
|
1976
1975
|
switch (tmp) {
|
|
1977
1976
|
case 0:
|
|
1978
|
-
this.
|
|
1979
|
-
if (this.
|
|
1980
|
-
return new Triple(true, this.
|
|
1977
|
+
this.b9_1 = 4;
|
|
1978
|
+
if (this.d51_1.k2l(HttpHeaders_getInstance().k2t_1)) {
|
|
1979
|
+
return new Triple(true, this.b51_1, this.a51_1);
|
|
1981
1980
|
}
|
|
1982
1981
|
|
|
1983
1982
|
var tmp_0 = this;
|
|
1984
1983
|
var tmp_1;
|
|
1985
|
-
if (!(this.
|
|
1986
|
-
var tmp0_elvis_lhs = charset(this.
|
|
1987
|
-
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().
|
|
1984
|
+
if (!(this.c51_1 == null)) {
|
|
1985
|
+
var tmp0_elvis_lhs = charset(this.c51_1);
|
|
1986
|
+
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().q1v_1 : tmp0_elvis_lhs;
|
|
1988
1987
|
} else {
|
|
1989
|
-
tmp_1 = Charsets_getInstance().
|
|
1988
|
+
tmp_1 = Charsets_getInstance().q1v_1;
|
|
1990
1989
|
}
|
|
1991
1990
|
|
|
1992
|
-
tmp_0.
|
|
1993
|
-
this.
|
|
1994
|
-
this.
|
|
1995
|
-
this.
|
|
1996
|
-
suspendResult = readAvailable(this.
|
|
1991
|
+
tmp_0.i51_1 = tmp_1;
|
|
1992
|
+
this.g51_1 = false;
|
|
1993
|
+
this.h51_1 = new Int8Array(1024);
|
|
1994
|
+
this.a9_1 = 1;
|
|
1995
|
+
suspendResult = readAvailable(this.a51_1, this.h51_1, VOID, VOID, this);
|
|
1997
1996
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1998
1997
|
return suspendResult;
|
|
1999
1998
|
}
|
|
2000
1999
|
|
|
2001
2000
|
continue $sm;
|
|
2002
2001
|
case 1:
|
|
2003
|
-
this.
|
|
2004
|
-
if (this.
|
|
2005
|
-
return new Triple(false,
|
|
2002
|
+
this.f51_1 = suspendResult;
|
|
2003
|
+
if (this.f51_1 < 1) {
|
|
2004
|
+
return new Triple(false, 0n, this.a51_1);
|
|
2006
2005
|
}
|
|
2007
2006
|
|
|
2008
2007
|
var this_0 = new Buffer();
|
|
2009
|
-
writeFully_0(this_0, this.
|
|
2008
|
+
writeFully_0(this_0, this.h51_1, 0, this.f51_1);
|
|
2010
2009
|
var buffer = this_0;
|
|
2011
2010
|
var tmp_2;
|
|
2012
2011
|
try {
|
|
2013
|
-
tmp_2 = decode(this.
|
|
2012
|
+
tmp_2 = decode(this.i51_1.t1v(), buffer);
|
|
2014
2013
|
} catch ($p) {
|
|
2015
2014
|
var tmp_3;
|
|
2016
2015
|
if ($p instanceof MalformedInputException) {
|
|
2017
2016
|
var _unused_var__etf5q3 = $p;
|
|
2018
|
-
this.
|
|
2017
|
+
this.g51_1 = true;
|
|
2019
2018
|
tmp_3 = '';
|
|
2020
2019
|
} else {
|
|
2021
2020
|
throw $p;
|
|
@@ -2024,7 +2023,7 @@
|
|
|
2024
2023
|
}
|
|
2025
2024
|
|
|
2026
2025
|
var firstChunkText = tmp_2;
|
|
2027
|
-
if (!this.
|
|
2026
|
+
if (!this.g51_1) {
|
|
2028
2027
|
var lastCharIndex = -1;
|
|
2029
2028
|
var inductionVariable = 0;
|
|
2030
2029
|
var last = firstChunkText.length;
|
|
@@ -2040,66 +2039,66 @@
|
|
|
2040
2039
|
var ch_0 = charCodeAt(firstChunkText, inductionVariable_0);
|
|
2041
2040
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
2042
2041
|
if (ch_0 === _Char___init__impl__6a9atx(65533) && !(i === lastCharIndex)) {
|
|
2043
|
-
this.
|
|
2042
|
+
this.g51_1 = true;
|
|
2044
2043
|
break $l$loop;
|
|
2045
2044
|
}
|
|
2046
2045
|
}
|
|
2047
2046
|
}
|
|
2048
2047
|
|
|
2049
|
-
if (!this.
|
|
2050
|
-
this.
|
|
2051
|
-
this.
|
|
2052
|
-
suspendResult = async(this.
|
|
2048
|
+
if (!this.g51_1) {
|
|
2049
|
+
this.e51_1 = new ByteChannel();
|
|
2050
|
+
this.a9_1 = 3;
|
|
2051
|
+
suspendResult = async(this.z50_1.z3m_1, VOID, VOID, Logging$lambda$detectIfBinary$slambda_0(this.e51_1, this.h51_1, this.f51_1, this.a51_1, null)).zw(this);
|
|
2053
2052
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2054
2053
|
return suspendResult;
|
|
2055
2054
|
}
|
|
2056
2055
|
continue $sm;
|
|
2057
2056
|
} else {
|
|
2058
|
-
this.
|
|
2057
|
+
this.a9_1 = 2;
|
|
2059
2058
|
continue $sm;
|
|
2060
2059
|
}
|
|
2061
2060
|
|
|
2062
2061
|
case 2:
|
|
2063
|
-
return new Triple(this.
|
|
2062
|
+
return new Triple(this.g51_1, this.b51_1, this.a51_1);
|
|
2064
2063
|
case 3:
|
|
2065
2064
|
var copied = suspendResult;
|
|
2066
|
-
var tmp_4 = this.
|
|
2067
|
-
var other = this.
|
|
2068
|
-
return new Triple(tmp_4, add(copied, fromInt(other)), this.
|
|
2065
|
+
var tmp_4 = this.g51_1;
|
|
2066
|
+
var other = this.f51_1;
|
|
2067
|
+
return new Triple(tmp_4, add(copied, fromInt(other)), this.e51_1);
|
|
2069
2068
|
case 4:
|
|
2070
|
-
throw this.
|
|
2069
|
+
throw this.d9_1;
|
|
2071
2070
|
}
|
|
2072
2071
|
} catch ($p) {
|
|
2073
2072
|
var e = $p;
|
|
2074
|
-
if (this.
|
|
2073
|
+
if (this.b9_1 === 4) {
|
|
2075
2074
|
throw e;
|
|
2076
2075
|
} else {
|
|
2077
|
-
this.
|
|
2078
|
-
this.
|
|
2076
|
+
this.a9_1 = this.b9_1;
|
|
2077
|
+
this.d9_1 = e;
|
|
2079
2078
|
}
|
|
2080
2079
|
}
|
|
2081
2080
|
while (true);
|
|
2082
2081
|
};
|
|
2083
2082
|
function $invoke$logRequestBodyCOROUTINE$($this_createClientPlugin, content, contentLength, headers, method, logLines, body, resultContinuation) {
|
|
2084
2083
|
CoroutineImpl.call(this, resultContinuation);
|
|
2085
|
-
this.
|
|
2086
|
-
this.
|
|
2087
|
-
this.
|
|
2088
|
-
this.
|
|
2089
|
-
this.
|
|
2090
|
-
this.
|
|
2091
|
-
this.
|
|
2092
|
-
}
|
|
2093
|
-
protoOf($invoke$logRequestBodyCOROUTINE$).
|
|
2094
|
-
var suspendResult = this.
|
|
2084
|
+
this.r51_1 = $this_createClientPlugin;
|
|
2085
|
+
this.s51_1 = content;
|
|
2086
|
+
this.t51_1 = contentLength;
|
|
2087
|
+
this.u51_1 = headers;
|
|
2088
|
+
this.v51_1 = method;
|
|
2089
|
+
this.w51_1 = logLines;
|
|
2090
|
+
this.x51_1 = body;
|
|
2091
|
+
}
|
|
2092
|
+
protoOf($invoke$logRequestBodyCOROUTINE$).i9 = function () {
|
|
2093
|
+
var suspendResult = this.c9_1;
|
|
2095
2094
|
$sm: do
|
|
2096
2095
|
try {
|
|
2097
|
-
var tmp = this.
|
|
2096
|
+
var tmp = this.a9_1;
|
|
2098
2097
|
switch (tmp) {
|
|
2099
2098
|
case 0:
|
|
2100
|
-
this.
|
|
2101
|
-
this.
|
|
2102
|
-
suspendResult = invoke$detectIfBinary(this.
|
|
2099
|
+
this.b9_1 = 4;
|
|
2100
|
+
this.a9_1 = 1;
|
|
2101
|
+
suspendResult = invoke$detectIfBinary(this.r51_1, this.x51_1, this.t51_1, this.s51_1.x32(), this.u51_1, this);
|
|
2103
2102
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2104
2103
|
return suspendResult;
|
|
2105
2104
|
}
|
|
@@ -2107,21 +2106,21 @@
|
|
|
2107
2106
|
continue $sm;
|
|
2108
2107
|
case 1:
|
|
2109
2108
|
var _destruct__k2r9zo = suspendResult;
|
|
2110
|
-
var isBinary = _destruct__k2r9zo.
|
|
2111
|
-
this.
|
|
2112
|
-
var newBody = _destruct__k2r9zo.
|
|
2109
|
+
var isBinary = _destruct__k2r9zo.fg();
|
|
2110
|
+
this.z51_1 = _destruct__k2r9zo.gg();
|
|
2111
|
+
var newBody = _destruct__k2r9zo.ml();
|
|
2113
2112
|
if (!isBinary) {
|
|
2114
|
-
var contentType = this.
|
|
2113
|
+
var contentType = this.s51_1.x32();
|
|
2115
2114
|
var tmp_0 = this;
|
|
2116
2115
|
var tmp_1;
|
|
2117
2116
|
if (!(contentType == null)) {
|
|
2118
2117
|
var tmp0_elvis_lhs = charset(contentType);
|
|
2119
|
-
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().
|
|
2118
|
+
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().q1v_1 : tmp0_elvis_lhs;
|
|
2120
2119
|
} else {
|
|
2121
|
-
tmp_1 = Charsets_getInstance().
|
|
2120
|
+
tmp_1 = Charsets_getInstance().q1v_1;
|
|
2122
2121
|
}
|
|
2123
|
-
tmp_0.
|
|
2124
|
-
this.
|
|
2122
|
+
tmp_0.a52_1 = tmp_1;
|
|
2123
|
+
this.a9_1 = 2;
|
|
2125
2124
|
suspendResult = readRemaining(newBody, this);
|
|
2126
2125
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2127
2126
|
return suspendResult;
|
|
@@ -2130,73 +2129,73 @@
|
|
|
2130
2129
|
} else {
|
|
2131
2130
|
var tmp_2 = this;
|
|
2132
2131
|
var type = 'binary';
|
|
2133
|
-
if (this.
|
|
2132
|
+
if (this.u51_1.k2l(HttpHeaders_getInstance().k2t_1)) {
|
|
2134
2133
|
type = 'encoded';
|
|
2135
2134
|
}
|
|
2136
2135
|
var tmp_3;
|
|
2137
|
-
if (!(this.
|
|
2138
|
-
tmp_3 = this.
|
|
2136
|
+
if (!(this.z51_1 == null)) {
|
|
2137
|
+
tmp_3 = this.w51_1.j1('--> END ' + this.v51_1.k2x_1 + ' (' + type + ' ' + this.z51_1.toString() + '-byte body omitted)');
|
|
2139
2138
|
} else {
|
|
2140
|
-
tmp_3 = this.
|
|
2139
|
+
tmp_3 = this.w51_1.j1('--> END ' + this.v51_1.k2x_1 + ' (' + type + ' body omitted)');
|
|
2141
2140
|
}
|
|
2142
|
-
tmp_2.
|
|
2143
|
-
this.
|
|
2141
|
+
tmp_2.y51_1 = tmp_3;
|
|
2142
|
+
this.a9_1 = 3;
|
|
2144
2143
|
continue $sm;
|
|
2145
2144
|
}
|
|
2146
2145
|
|
|
2147
2146
|
case 2:
|
|
2148
2147
|
var ARGUMENT = suspendResult;
|
|
2149
|
-
var ARGUMENT_0 = readText(ARGUMENT, this.
|
|
2150
|
-
this.
|
|
2151
|
-
this.
|
|
2152
|
-
this.
|
|
2148
|
+
var ARGUMENT_0 = readText(ARGUMENT, this.a52_1);
|
|
2149
|
+
this.w51_1.j1(ARGUMENT_0);
|
|
2150
|
+
this.y51_1 = this.w51_1.j1('--> END ' + this.v51_1.k2x_1 + ' (' + toString_0(this.z51_1) + '-byte body)');
|
|
2151
|
+
this.a9_1 = 3;
|
|
2153
2152
|
continue $sm;
|
|
2154
2153
|
case 3:
|
|
2155
2154
|
return Unit_instance;
|
|
2156
2155
|
case 4:
|
|
2157
|
-
throw this.
|
|
2156
|
+
throw this.d9_1;
|
|
2158
2157
|
}
|
|
2159
2158
|
} catch ($p) {
|
|
2160
2159
|
var e = $p;
|
|
2161
|
-
if (this.
|
|
2160
|
+
if (this.b9_1 === 4) {
|
|
2162
2161
|
throw e;
|
|
2163
2162
|
} else {
|
|
2164
|
-
this.
|
|
2165
|
-
this.
|
|
2163
|
+
this.a9_1 = this.b9_1;
|
|
2164
|
+
this.d9_1 = e;
|
|
2166
2165
|
}
|
|
2167
2166
|
}
|
|
2168
2167
|
while (true);
|
|
2169
2168
|
};
|
|
2170
2169
|
function $invoke$logOutgoingContentCOROUTINE$($this_createClientPlugin, content, method, headers, logLines, process, resultContinuation) {
|
|
2171
2170
|
CoroutineImpl.call(this, resultContinuation);
|
|
2172
|
-
this.
|
|
2173
|
-
this.
|
|
2174
|
-
this.
|
|
2175
|
-
this.
|
|
2176
|
-
this.
|
|
2177
|
-
this.
|
|
2178
|
-
}
|
|
2179
|
-
protoOf($invoke$logOutgoingContentCOROUTINE$).
|
|
2180
|
-
var suspendResult = this.
|
|
2171
|
+
this.j52_1 = $this_createClientPlugin;
|
|
2172
|
+
this.k52_1 = content;
|
|
2173
|
+
this.l52_1 = method;
|
|
2174
|
+
this.m52_1 = headers;
|
|
2175
|
+
this.n52_1 = logLines;
|
|
2176
|
+
this.o52_1 = process;
|
|
2177
|
+
}
|
|
2178
|
+
protoOf($invoke$logOutgoingContentCOROUTINE$).i9 = function () {
|
|
2179
|
+
var suspendResult = this.c9_1;
|
|
2181
2180
|
$sm: do
|
|
2182
2181
|
try {
|
|
2183
|
-
var tmp = this.
|
|
2182
|
+
var tmp = this.a9_1;
|
|
2184
2183
|
switch (tmp) {
|
|
2185
2184
|
case 0:
|
|
2186
|
-
this.
|
|
2187
|
-
var tmp0_subject = this.
|
|
2185
|
+
this.b9_1 = 6;
|
|
2186
|
+
var tmp0_subject = this.k52_1;
|
|
2188
2187
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
2189
|
-
var bytes = this.
|
|
2190
|
-
this.
|
|
2191
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2188
|
+
var bytes = this.k52_1.a33();
|
|
2189
|
+
this.a9_1 = 4;
|
|
2190
|
+
suspendResult = invoke$logRequestBody(this.j52_1, this.k52_1, fromInt(bytes.length), this.m52_1, this.l52_1, this.n52_1, ByteReadChannel(bytes), this);
|
|
2192
2191
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2193
2192
|
return suspendResult;
|
|
2194
2193
|
}
|
|
2195
2194
|
continue $sm;
|
|
2196
2195
|
} else {
|
|
2197
2196
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
2198
|
-
this.
|
|
2199
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2197
|
+
this.a9_1 = 3;
|
|
2198
|
+
suspendResult = invoke$logOutgoingContent(this.j52_1, this.k52_1.j33(), this.l52_1, this.m52_1, this.n52_1, this.o52_1, this);
|
|
2200
2199
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2201
2200
|
return suspendResult;
|
|
2202
2201
|
}
|
|
@@ -2204,24 +2203,24 @@
|
|
|
2204
2203
|
} else {
|
|
2205
2204
|
if (tmp0_subject instanceof NoContent) {
|
|
2206
2205
|
var tmp_0 = this;
|
|
2207
|
-
this.
|
|
2208
|
-
tmp_0.
|
|
2209
|
-
this.
|
|
2206
|
+
this.n52_1.j1('--> END ' + this.l52_1.k2x_1);
|
|
2207
|
+
tmp_0.p52_1 = null;
|
|
2208
|
+
this.a9_1 = 5;
|
|
2210
2209
|
continue $sm;
|
|
2211
2210
|
} else {
|
|
2212
2211
|
if (tmp0_subject instanceof ProtocolUpgrade) {
|
|
2213
2212
|
var tmp_1 = this;
|
|
2214
|
-
this.
|
|
2215
|
-
tmp_1.
|
|
2216
|
-
this.
|
|
2213
|
+
this.n52_1.j1('--> END ' + this.l52_1.k2x_1);
|
|
2214
|
+
tmp_1.p52_1 = null;
|
|
2215
|
+
this.a9_1 = 5;
|
|
2217
2216
|
continue $sm;
|
|
2218
2217
|
} else {
|
|
2219
2218
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
2220
|
-
var _destruct__k2r9zo = split(this.
|
|
2221
|
-
this.
|
|
2222
|
-
var newChannel = _destruct__k2r9zo.
|
|
2223
|
-
this.
|
|
2224
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2219
|
+
var _destruct__k2r9zo = split(this.k52_1.d33(), this.j52_1.z3m_1);
|
|
2220
|
+
this.q52_1 = _destruct__k2r9zo.fg();
|
|
2221
|
+
var newChannel = _destruct__k2r9zo.gg();
|
|
2222
|
+
this.a9_1 = 2;
|
|
2223
|
+
suspendResult = invoke$logRequestBody(this.j52_1, this.k52_1, this.k52_1.z32(), this.m52_1, this.l52_1, this.n52_1, newChannel, this);
|
|
2225
2224
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2226
2225
|
return suspendResult;
|
|
2227
2226
|
}
|
|
@@ -2229,12 +2228,12 @@
|
|
|
2229
2228
|
} else {
|
|
2230
2229
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
2231
2230
|
var channel = new ByteChannel();
|
|
2232
|
-
launch(this.
|
|
2233
|
-
var _destruct__k2r9zo_0 = split(channel, this.
|
|
2234
|
-
this.
|
|
2235
|
-
var newChannel_0 = _destruct__k2r9zo_0.
|
|
2236
|
-
this.
|
|
2237
|
-
suspendResult = invoke$logRequestBody(this.
|
|
2231
|
+
launch(this.j52_1.z3m_1, VOID, VOID, Logging$lambda$logOutgoingContent$slambda_0(this.k52_1, channel, null));
|
|
2232
|
+
var _destruct__k2r9zo_0 = split(channel, this.j52_1.z3m_1);
|
|
2233
|
+
this.r52_1 = _destruct__k2r9zo_0.fg();
|
|
2234
|
+
var newChannel_0 = _destruct__k2r9zo_0.gg();
|
|
2235
|
+
this.a9_1 = 1;
|
|
2236
|
+
suspendResult = invoke$logRequestBody(this.j52_1, this.k52_1, this.k52_1.z32(), this.m52_1, this.l52_1, this.n52_1, newChannel_0, this);
|
|
2238
2237
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2239
2238
|
return suspendResult;
|
|
2240
2239
|
}
|
|
@@ -2251,69 +2250,69 @@
|
|
|
2251
2250
|
|
|
2252
2251
|
break;
|
|
2253
2252
|
case 1:
|
|
2254
|
-
this.
|
|
2255
|
-
this.
|
|
2253
|
+
this.p52_1 = new LoggedContent(this.k52_1, this.r52_1);
|
|
2254
|
+
this.a9_1 = 5;
|
|
2256
2255
|
continue $sm;
|
|
2257
2256
|
case 2:
|
|
2258
|
-
this.
|
|
2259
|
-
this.
|
|
2257
|
+
this.p52_1 = new LoggedContent(this.k52_1, this.q52_1);
|
|
2258
|
+
this.a9_1 = 5;
|
|
2260
2259
|
continue $sm;
|
|
2261
2260
|
case 3:
|
|
2262
|
-
this.
|
|
2263
|
-
this.
|
|
2261
|
+
this.p52_1 = suspendResult;
|
|
2262
|
+
this.a9_1 = 5;
|
|
2264
2263
|
continue $sm;
|
|
2265
2264
|
case 4:
|
|
2266
|
-
this.
|
|
2267
|
-
this.
|
|
2265
|
+
this.p52_1 = null;
|
|
2266
|
+
this.a9_1 = 5;
|
|
2268
2267
|
continue $sm;
|
|
2269
2268
|
case 5:
|
|
2270
|
-
return this.
|
|
2269
|
+
return this.p52_1;
|
|
2271
2270
|
case 6:
|
|
2272
|
-
throw this.
|
|
2271
|
+
throw this.d9_1;
|
|
2273
2272
|
}
|
|
2274
2273
|
} catch ($p) {
|
|
2275
2274
|
var e = $p;
|
|
2276
|
-
if (this.
|
|
2275
|
+
if (this.b9_1 === 6) {
|
|
2277
2276
|
throw e;
|
|
2278
2277
|
} else {
|
|
2279
|
-
this.
|
|
2280
|
-
this.
|
|
2278
|
+
this.a9_1 = this.b9_1;
|
|
2279
|
+
this.d9_1 = e;
|
|
2281
2280
|
}
|
|
2282
2281
|
}
|
|
2283
2282
|
while (true);
|
|
2284
2283
|
};
|
|
2285
2284
|
function $invoke$logRequestOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, request, logLines, resultContinuation) {
|
|
2286
2285
|
CoroutineImpl.call(this, resultContinuation);
|
|
2287
|
-
this.
|
|
2288
|
-
this.
|
|
2289
|
-
this.
|
|
2290
|
-
this.
|
|
2291
|
-
this.
|
|
2292
|
-
}
|
|
2293
|
-
protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).
|
|
2294
|
-
var suspendResult = this.
|
|
2286
|
+
this.a53_1 = sanitizedHeaders;
|
|
2287
|
+
this.b53_1 = level;
|
|
2288
|
+
this.c53_1 = $this_createClientPlugin;
|
|
2289
|
+
this.d53_1 = request;
|
|
2290
|
+
this.e53_1 = logLines;
|
|
2291
|
+
}
|
|
2292
|
+
protoOf($invoke$logRequestOkHttpFormatCOROUTINE$).i9 = function () {
|
|
2293
|
+
var suspendResult = this.c9_1;
|
|
2295
2294
|
$sm: do
|
|
2296
2295
|
try {
|
|
2297
|
-
var tmp = this.
|
|
2296
|
+
var tmp = this.a9_1;
|
|
2298
2297
|
switch (tmp) {
|
|
2299
2298
|
case 0:
|
|
2300
|
-
this.
|
|
2301
|
-
if (invoke$isNone(this.
|
|
2299
|
+
this.b9_1 = 4;
|
|
2300
|
+
if (invoke$isNone(this.b53_1))
|
|
2302
2301
|
return null;
|
|
2303
|
-
var uri = pathQuery(takeFrom(new URLBuilder(), this.
|
|
2304
|
-
var body = this.
|
|
2302
|
+
var uri = pathQuery(takeFrom(new URLBuilder(), this.d53_1.x3e_1).w2s());
|
|
2303
|
+
var body = this.d53_1.a3f_1;
|
|
2305
2304
|
var this_0 = new HeadersBuilder();
|
|
2306
2305
|
var tmp_0;
|
|
2307
2306
|
var tmp_1;
|
|
2308
2307
|
var tmp_2;
|
|
2309
2308
|
if (body instanceof OutgoingContent) {
|
|
2310
|
-
tmp_2 = !this.
|
|
2309
|
+
tmp_2 = !this.d53_1.y3e_1.equals(Companion_getInstance().c2x_1);
|
|
2311
2310
|
} else {
|
|
2312
2311
|
tmp_2 = false;
|
|
2313
2312
|
}
|
|
2314
2313
|
|
|
2315
2314
|
if (tmp_2) {
|
|
2316
|
-
tmp_1 = !this.
|
|
2315
|
+
tmp_1 = !this.d53_1.y3e_1.equals(Companion_getInstance().h2x_1);
|
|
2317
2316
|
} else {
|
|
2318
2317
|
tmp_1 = false;
|
|
2319
2318
|
}
|
|
@@ -2325,30 +2324,30 @@
|
|
|
2325
2324
|
}
|
|
2326
2325
|
|
|
2327
2326
|
if (tmp_0) {
|
|
2328
|
-
var tmp0_safe_receiver = body.
|
|
2327
|
+
var tmp0_safe_receiver = body.x32();
|
|
2329
2328
|
if (tmp0_safe_receiver == null)
|
|
2330
2329
|
null;
|
|
2331
2330
|
else {
|
|
2332
|
-
appendIfNameAbsent(this_0, HttpHeaders_getInstance().
|
|
2331
|
+
appendIfNameAbsent(this_0, HttpHeaders_getInstance().p2t_1, tmp0_safe_receiver.toString());
|
|
2333
2332
|
}
|
|
2334
|
-
var tmp1_safe_receiver = body.
|
|
2333
|
+
var tmp1_safe_receiver = body.z32();
|
|
2335
2334
|
if (tmp1_safe_receiver == null)
|
|
2336
2335
|
null;
|
|
2337
2336
|
else {
|
|
2338
|
-
appendIfNameAbsent(this_0, HttpHeaders_getInstance().
|
|
2337
|
+
appendIfNameAbsent(this_0, HttpHeaders_getInstance().m2t_1, tmp1_safe_receiver.toString());
|
|
2339
2338
|
}
|
|
2340
2339
|
}
|
|
2341
2340
|
|
|
2342
|
-
appendAll(this_0, this.
|
|
2343
|
-
var headers = this_0.
|
|
2344
|
-
var tmp0_safe_receiver_0 = headers.
|
|
2341
|
+
appendAll(this_0, this.d53_1.z3e_1);
|
|
2342
|
+
var headers = this_0.w2s();
|
|
2343
|
+
var tmp0_safe_receiver_0 = headers.d2k(HttpHeaders_getInstance().m2t_1);
|
|
2345
2344
|
var contentLength = tmp0_safe_receiver_0 == null ? null : toLongOrNull(tmp0_safe_receiver_0);
|
|
2346
2345
|
var tmp_3;
|
|
2347
|
-
if (this.
|
|
2348
|
-
tmp_3 = '--> ' + this.
|
|
2346
|
+
if (this.d53_1.y3e_1.equals(Companion_getInstance().c2x_1) || this.d53_1.y3e_1.equals(Companion_getInstance().h2x_1) || ((invoke$isHeaders(this.b53_1) || invoke$isBody(this.b53_1)) && !(contentLength == null)) || (invoke$isHeaders(this.b53_1) && contentLength == null) || headers.k2l(HttpHeaders_getInstance().k2t_1)) {
|
|
2347
|
+
tmp_3 = '--> ' + this.d53_1.y3e_1.k2x_1 + ' ' + uri;
|
|
2349
2348
|
} else {
|
|
2350
|
-
if (invoke$isInfo(this.
|
|
2351
|
-
tmp_3 = '--> ' + this.
|
|
2349
|
+
if (invoke$isInfo(this.b53_1) && !(contentLength == null)) {
|
|
2350
|
+
tmp_3 = '--> ' + this.d53_1.y3e_1.k2x_1 + ' ' + uri + ' (' + contentLength.toString() + '-byte body)';
|
|
2352
2351
|
} else {
|
|
2353
2352
|
var tmp_4;
|
|
2354
2353
|
if (body instanceof WriteChannelContent) {
|
|
@@ -2357,32 +2356,32 @@
|
|
|
2357
2356
|
tmp_4 = body instanceof ReadChannelContent;
|
|
2358
2357
|
}
|
|
2359
2358
|
if (tmp_4) {
|
|
2360
|
-
tmp_3 = '--> ' + this.
|
|
2359
|
+
tmp_3 = '--> ' + this.d53_1.y3e_1.k2x_1 + ' ' + uri + ' (unknown-byte body)';
|
|
2361
2360
|
} else {
|
|
2362
|
-
var size = computeRequestBodySize(this.
|
|
2363
|
-
tmp_3 = '--> ' + this.
|
|
2361
|
+
var size = computeRequestBodySize(this.d53_1.a3f_1);
|
|
2362
|
+
tmp_3 = '--> ' + this.d53_1.y3e_1.k2x_1 + ' ' + uri + ' (' + size.toString() + '-byte body)';
|
|
2364
2363
|
}
|
|
2365
2364
|
}
|
|
2366
2365
|
}
|
|
2367
2366
|
|
|
2368
2367
|
var startLine = tmp_3;
|
|
2369
|
-
this.
|
|
2370
|
-
if (!invoke$isHeaders(this.
|
|
2368
|
+
this.e53_1.j1(startLine);
|
|
2369
|
+
if (!invoke$isHeaders(this.b53_1) && !invoke$isBody(this.b53_1)) {
|
|
2371
2370
|
return null;
|
|
2372
2371
|
}
|
|
2373
2372
|
|
|
2374
|
-
var _iterator__ex2g4s = headers.
|
|
2373
|
+
var _iterator__ex2g4s = headers.m2l().t();
|
|
2375
2374
|
while (_iterator__ex2g4s.u()) {
|
|
2376
2375
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2377
2376
|
var name = _destruct__k2r9zo.q1();
|
|
2378
2377
|
var values = _destruct__k2r9zo.r1();
|
|
2379
|
-
var tmp0 = this.
|
|
2378
|
+
var tmp0 = this.a53_1;
|
|
2380
2379
|
var tmp$ret$0 = Unit_instance;
|
|
2381
2380
|
l$ret$1: do {
|
|
2382
2381
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2383
2382
|
while (_iterator__ex2g4s_0.u()) {
|
|
2384
2383
|
var element = _iterator__ex2g4s_0.v();
|
|
2385
|
-
if (element.
|
|
2384
|
+
if (element.l54_1(name)) {
|
|
2386
2385
|
tmp$ret$0 = element;
|
|
2387
2386
|
break l$ret$1;
|
|
2388
2387
|
}
|
|
@@ -2391,34 +2390,34 @@
|
|
|
2391
2390
|
}
|
|
2392
2391
|
while (false);
|
|
2393
2392
|
if (tmp$ret$0 == null) {
|
|
2394
|
-
this.
|
|
2393
|
+
this.e53_1.j1(name + ': ' + joinToString(values, ', '));
|
|
2395
2394
|
} else {
|
|
2396
|
-
this.
|
|
2395
|
+
this.e53_1.j1(name + ': \u2588\u2588');
|
|
2397
2396
|
}
|
|
2398
2397
|
}
|
|
2399
2398
|
|
|
2400
|
-
if (!invoke$isBody(this.
|
|
2401
|
-
this.
|
|
2399
|
+
if (!invoke$isBody(this.b53_1) || this.d53_1.y3e_1.equals(Companion_getInstance().c2x_1) || this.d53_1.y3e_1.equals(Companion_getInstance().h2x_1)) {
|
|
2400
|
+
this.e53_1.j1('--> END ' + this.d53_1.y3e_1.k2x_1);
|
|
2402
2401
|
return null;
|
|
2403
2402
|
}
|
|
2404
2403
|
|
|
2405
|
-
this.
|
|
2404
|
+
this.e53_1.j1('');
|
|
2406
2405
|
if (!(body instanceof OutgoingContent)) {
|
|
2407
|
-
this.
|
|
2406
|
+
this.e53_1.j1('--> END ' + this.d53_1.y3e_1.k2x_1);
|
|
2408
2407
|
return null;
|
|
2409
2408
|
}
|
|
2410
2409
|
|
|
2411
|
-
if (this.
|
|
2412
|
-
this.
|
|
2413
|
-
var tmp_5 = this.
|
|
2414
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2410
|
+
if (this.d53_1.z3e_1.d2k(HttpHeaders_getInstance().k2t_1) === 'gzip') {
|
|
2411
|
+
this.a9_1 = 2;
|
|
2412
|
+
var tmp_5 = this.d53_1.y3e_1;
|
|
2413
|
+
suspendResult = invoke$logOutgoingContent(this.c53_1, body, tmp_5, headers, this.e53_1, Logging$lambda$logRequestOkHttpFormat$lambda, this);
|
|
2415
2414
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2416
2415
|
return suspendResult;
|
|
2417
2416
|
}
|
|
2418
2417
|
continue $sm;
|
|
2419
2418
|
} else {
|
|
2420
|
-
this.
|
|
2421
|
-
suspendResult = invoke$logOutgoingContent(this.
|
|
2419
|
+
this.a9_1 = 1;
|
|
2420
|
+
suspendResult = invoke$logOutgoingContent(this.c53_1, body, this.d53_1.y3e_1, headers, this.e53_1, VOID, this);
|
|
2422
2421
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2423
2422
|
return suspendResult;
|
|
2424
2423
|
}
|
|
@@ -2426,48 +2425,48 @@
|
|
|
2426
2425
|
}
|
|
2427
2426
|
|
|
2428
2427
|
case 1:
|
|
2429
|
-
this.
|
|
2430
|
-
this.
|
|
2428
|
+
this.f53_1 = suspendResult;
|
|
2429
|
+
this.a9_1 = 3;
|
|
2431
2430
|
continue $sm;
|
|
2432
2431
|
case 2:
|
|
2433
|
-
this.
|
|
2434
|
-
this.
|
|
2432
|
+
this.f53_1 = suspendResult;
|
|
2433
|
+
this.a9_1 = 3;
|
|
2435
2434
|
continue $sm;
|
|
2436
2435
|
case 3:
|
|
2437
|
-
var newContent = this.
|
|
2436
|
+
var newContent = this.f53_1;
|
|
2438
2437
|
return newContent;
|
|
2439
2438
|
case 4:
|
|
2440
|
-
throw this.
|
|
2439
|
+
throw this.d9_1;
|
|
2441
2440
|
}
|
|
2442
2441
|
} catch ($p) {
|
|
2443
2442
|
var e = $p;
|
|
2444
|
-
if (this.
|
|
2443
|
+
if (this.b9_1 === 4) {
|
|
2445
2444
|
throw e;
|
|
2446
2445
|
} else {
|
|
2447
|
-
this.
|
|
2448
|
-
this.
|
|
2446
|
+
this.a9_1 = this.b9_1;
|
|
2447
|
+
this.d9_1 = e;
|
|
2449
2448
|
}
|
|
2450
2449
|
}
|
|
2451
2450
|
while (true);
|
|
2452
2451
|
};
|
|
2453
2452
|
function $invoke$logResponseBodyCOROUTINE$($this_createClientPlugin, response, body, logLines, resultContinuation) {
|
|
2454
2453
|
CoroutineImpl.call(this, resultContinuation);
|
|
2455
|
-
this.
|
|
2456
|
-
this.
|
|
2457
|
-
this.
|
|
2458
|
-
this.
|
|
2454
|
+
this.o53_1 = $this_createClientPlugin;
|
|
2455
|
+
this.p53_1 = response;
|
|
2456
|
+
this.q53_1 = body;
|
|
2457
|
+
this.r53_1 = logLines;
|
|
2459
2458
|
}
|
|
2460
|
-
protoOf($invoke$logResponseBodyCOROUTINE$).
|
|
2461
|
-
var suspendResult = this.
|
|
2459
|
+
protoOf($invoke$logResponseBodyCOROUTINE$).i9 = function () {
|
|
2460
|
+
var suspendResult = this.c9_1;
|
|
2462
2461
|
$sm: do
|
|
2463
2462
|
try {
|
|
2464
|
-
var tmp = this.
|
|
2463
|
+
var tmp = this.a9_1;
|
|
2465
2464
|
switch (tmp) {
|
|
2466
2465
|
case 0:
|
|
2467
|
-
this.
|
|
2468
|
-
this.
|
|
2469
|
-
this.
|
|
2470
|
-
suspendResult = invoke$detectIfBinary(this.
|
|
2466
|
+
this.b9_1 = 4;
|
|
2467
|
+
this.r53_1.j1('');
|
|
2468
|
+
this.a9_1 = 1;
|
|
2469
|
+
suspendResult = invoke$detectIfBinary(this.o53_1, this.q53_1, contentLength(this.p53_1), contentType(this.p53_1), this.p53_1.b2x(), this);
|
|
2471
2470
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2472
2471
|
return suspendResult;
|
|
2473
2472
|
}
|
|
@@ -2475,27 +2474,27 @@
|
|
|
2475
2474
|
continue $sm;
|
|
2476
2475
|
case 1:
|
|
2477
2476
|
var _destruct__k2r9zo = suspendResult;
|
|
2478
|
-
var isBinary = _destruct__k2r9zo.
|
|
2479
|
-
this.
|
|
2480
|
-
var newBody = _destruct__k2r9zo.
|
|
2481
|
-
this.
|
|
2482
|
-
if (
|
|
2483
|
-
this.
|
|
2477
|
+
var isBinary = _destruct__k2r9zo.fg();
|
|
2478
|
+
this.t53_1 = _destruct__k2r9zo.gg();
|
|
2479
|
+
var newBody = _destruct__k2r9zo.ml();
|
|
2480
|
+
this.u53_1 = subtract(this.p53_1.x3g().v2m_1, this.p53_1.w3g().v2m_1);
|
|
2481
|
+
if (this.t53_1 === 0n) {
|
|
2482
|
+
this.r53_1.j1('<-- END HTTP (' + this.u53_1.toString() + 'ms, ' + this.t53_1.toString() + '-byte body)');
|
|
2484
2483
|
return Unit_instance;
|
|
2485
2484
|
}
|
|
2486
2485
|
|
|
2487
2486
|
if (!isBinary) {
|
|
2488
|
-
var contentType_0 = contentType(this.
|
|
2487
|
+
var contentType_0 = contentType(this.p53_1);
|
|
2489
2488
|
var tmp_0 = this;
|
|
2490
2489
|
var tmp_1;
|
|
2491
2490
|
if (!(contentType_0 == null)) {
|
|
2492
2491
|
var tmp0_elvis_lhs = charset(contentType_0);
|
|
2493
|
-
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().
|
|
2492
|
+
tmp_1 = tmp0_elvis_lhs == null ? Charsets_getInstance().q1v_1 : tmp0_elvis_lhs;
|
|
2494
2493
|
} else {
|
|
2495
|
-
tmp_1 = Charsets_getInstance().
|
|
2494
|
+
tmp_1 = Charsets_getInstance().q1v_1;
|
|
2496
2495
|
}
|
|
2497
|
-
tmp_0.
|
|
2498
|
-
this.
|
|
2496
|
+
tmp_0.v53_1 = tmp_1;
|
|
2497
|
+
this.a9_1 = 2;
|
|
2499
2498
|
suspendResult = readRemaining(newBody, this);
|
|
2500
2499
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2501
2500
|
return suspendResult;
|
|
@@ -2504,83 +2503,83 @@
|
|
|
2504
2503
|
} else {
|
|
2505
2504
|
var tmp_2 = this;
|
|
2506
2505
|
var type = 'binary';
|
|
2507
|
-
if (this.
|
|
2506
|
+
if (this.p53_1.b2x().k2l(HttpHeaders_getInstance().k2t_1)) {
|
|
2508
2507
|
type = 'encoded';
|
|
2509
2508
|
}
|
|
2510
2509
|
var tmp_3;
|
|
2511
|
-
if (!(this.
|
|
2512
|
-
tmp_3 = this.
|
|
2510
|
+
if (!(this.t53_1 == null)) {
|
|
2511
|
+
tmp_3 = this.r53_1.j1('<-- END HTTP (' + this.u53_1.toString() + 'ms, ' + type + ' ' + this.t53_1.toString() + '-byte body omitted)');
|
|
2513
2512
|
} else {
|
|
2514
|
-
tmp_3 = this.
|
|
2513
|
+
tmp_3 = this.r53_1.j1('<-- END HTTP (' + this.u53_1.toString() + 'ms, ' + type + ' body omitted)');
|
|
2515
2514
|
}
|
|
2516
|
-
tmp_2.
|
|
2517
|
-
this.
|
|
2515
|
+
tmp_2.s53_1 = tmp_3;
|
|
2516
|
+
this.a9_1 = 3;
|
|
2518
2517
|
continue $sm;
|
|
2519
2518
|
}
|
|
2520
2519
|
|
|
2521
2520
|
case 2:
|
|
2522
2521
|
var ARGUMENT = suspendResult;
|
|
2523
|
-
var ARGUMENT_0 = readText(ARGUMENT, this.
|
|
2524
|
-
this.
|
|
2525
|
-
this.
|
|
2526
|
-
this.
|
|
2522
|
+
var ARGUMENT_0 = readText(ARGUMENT, this.v53_1);
|
|
2523
|
+
this.r53_1.j1(ARGUMENT_0);
|
|
2524
|
+
this.s53_1 = this.r53_1.j1('<-- END HTTP (' + this.u53_1.toString() + 'ms, ' + toString_0(this.t53_1) + '-byte body)');
|
|
2525
|
+
this.a9_1 = 3;
|
|
2527
2526
|
continue $sm;
|
|
2528
2527
|
case 3:
|
|
2529
2528
|
return Unit_instance;
|
|
2530
2529
|
case 4:
|
|
2531
|
-
throw this.
|
|
2530
|
+
throw this.d9_1;
|
|
2532
2531
|
}
|
|
2533
2532
|
} catch ($p) {
|
|
2534
2533
|
var e = $p;
|
|
2535
|
-
if (this.
|
|
2534
|
+
if (this.b9_1 === 4) {
|
|
2536
2535
|
throw e;
|
|
2537
2536
|
} else {
|
|
2538
|
-
this.
|
|
2539
|
-
this.
|
|
2537
|
+
this.a9_1 = this.b9_1;
|
|
2538
|
+
this.d9_1 = e;
|
|
2540
2539
|
}
|
|
2541
2540
|
}
|
|
2542
2541
|
while (true);
|
|
2543
2542
|
};
|
|
2544
2543
|
function $invoke$logResponseOkHttpFormatCOROUTINE$(sanitizedHeaders, level, $this_createClientPlugin, response, logLines, resultContinuation) {
|
|
2545
2544
|
CoroutineImpl.call(this, resultContinuation);
|
|
2546
|
-
this.
|
|
2547
|
-
this.
|
|
2548
|
-
this.
|
|
2549
|
-
this.
|
|
2550
|
-
this.
|
|
2551
|
-
}
|
|
2552
|
-
protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).
|
|
2553
|
-
var suspendResult = this.
|
|
2545
|
+
this.e54_1 = sanitizedHeaders;
|
|
2546
|
+
this.f54_1 = level;
|
|
2547
|
+
this.g54_1 = $this_createClientPlugin;
|
|
2548
|
+
this.h54_1 = response;
|
|
2549
|
+
this.i54_1 = logLines;
|
|
2550
|
+
}
|
|
2551
|
+
protoOf($invoke$logResponseOkHttpFormatCOROUTINE$).i9 = function () {
|
|
2552
|
+
var suspendResult = this.c9_1;
|
|
2554
2553
|
$sm: do
|
|
2555
2554
|
try {
|
|
2556
|
-
var tmp = this.
|
|
2555
|
+
var tmp = this.a9_1;
|
|
2557
2556
|
switch (tmp) {
|
|
2558
2557
|
case 0:
|
|
2559
|
-
this.
|
|
2560
|
-
if (invoke$isNone(this.
|
|
2561
|
-
return this.
|
|
2562
|
-
var tmp0_safe_receiver = this.
|
|
2558
|
+
this.b9_1 = 4;
|
|
2559
|
+
if (invoke$isNone(this.f54_1))
|
|
2560
|
+
return this.h54_1;
|
|
2561
|
+
var tmp0_safe_receiver = this.h54_1.b2x().d2k(HttpHeaders_getInstance().m2t_1);
|
|
2563
2562
|
var contentLength = tmp0_safe_receiver == null ? null : toLongOrNull(tmp0_safe_receiver);
|
|
2564
|
-
var request = get_request(this.
|
|
2565
|
-
var duration = subtract(this.
|
|
2566
|
-
var startLine = this.
|
|
2567
|
-
this.
|
|
2568
|
-
if (!invoke$isHeaders(this.
|
|
2569
|
-
return this.
|
|
2563
|
+
var request = get_request(this.h54_1);
|
|
2564
|
+
var duration = subtract(this.h54_1.x3g().v2m_1, this.h54_1.w3g().v2m_1);
|
|
2565
|
+
var startLine = this.h54_1.b2x().d2k(HttpHeaders_getInstance().t2v_1) === 'chunked' && (invoke$isInfo(this.f54_1) || invoke$isHeaders(this.f54_1)) ? '<-- ' + this.h54_1.y32().toString() + ' ' + pathQuery(request.o3g()) + ' (' + duration.toString() + 'ms, unknown-byte body)' : invoke$isInfo(this.f54_1) && !(contentLength == null) ? '<-- ' + this.h54_1.y32().toString() + ' ' + pathQuery(request.o3g()) + ' (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)' : invoke$isBody(this.f54_1) || (invoke$isInfo(this.f54_1) && contentLength == null) || (invoke$isHeaders(this.f54_1) && !(contentLength == null)) || this.h54_1.b2x().d2k(HttpHeaders_getInstance().k2t_1) === 'gzip' ? '<-- ' + this.h54_1.y32().toString() + ' ' + pathQuery(request.o3g()) + ' (' + duration.toString() + 'ms)' : '<-- ' + this.h54_1.y32().toString() + ' ' + pathQuery(request.o3g()) + ' (' + duration.toString() + 'ms, unknown-byte body)';
|
|
2566
|
+
this.i54_1.j1(startLine);
|
|
2567
|
+
if (!invoke$isHeaders(this.f54_1) && !invoke$isBody(this.f54_1)) {
|
|
2568
|
+
return this.h54_1;
|
|
2570
2569
|
}
|
|
2571
2570
|
|
|
2572
|
-
var _iterator__ex2g4s = this.
|
|
2571
|
+
var _iterator__ex2g4s = this.h54_1.b2x().m2l().t();
|
|
2573
2572
|
while (_iterator__ex2g4s.u()) {
|
|
2574
2573
|
var _destruct__k2r9zo = _iterator__ex2g4s.v();
|
|
2575
2574
|
var name = _destruct__k2r9zo.q1();
|
|
2576
2575
|
var values = _destruct__k2r9zo.r1();
|
|
2577
|
-
var tmp0 = this.
|
|
2576
|
+
var tmp0 = this.e54_1;
|
|
2578
2577
|
var tmp$ret$0 = Unit_instance;
|
|
2579
2578
|
l$ret$1: do {
|
|
2580
2579
|
var _iterator__ex2g4s_0 = tmp0.t();
|
|
2581
2580
|
while (_iterator__ex2g4s_0.u()) {
|
|
2582
2581
|
var element = _iterator__ex2g4s_0.v();
|
|
2583
|
-
if (element.
|
|
2582
|
+
if (element.l54_1(name)) {
|
|
2584
2583
|
tmp$ret$0 = element;
|
|
2585
2584
|
break l$ret$1;
|
|
2586
2585
|
}
|
|
@@ -2589,66 +2588,66 @@
|
|
|
2589
2588
|
}
|
|
2590
2589
|
while (false);
|
|
2591
2590
|
if (tmp$ret$0 == null) {
|
|
2592
|
-
this.
|
|
2591
|
+
this.i54_1.j1(name + ': ' + joinToString(values, ', '));
|
|
2593
2592
|
} else {
|
|
2594
|
-
this.
|
|
2593
|
+
this.i54_1.j1(name + ': \u2588\u2588');
|
|
2595
2594
|
}
|
|
2596
2595
|
}
|
|
2597
2596
|
|
|
2598
|
-
if (!invoke$isBody(this.
|
|
2599
|
-
this.
|
|
2600
|
-
return this.
|
|
2597
|
+
if (!invoke$isBody(this.f54_1)) {
|
|
2598
|
+
this.i54_1.j1('<-- END HTTP');
|
|
2599
|
+
return this.h54_1;
|
|
2601
2600
|
}
|
|
2602
2601
|
|
|
2603
|
-
if (!(contentLength == null) &&
|
|
2604
|
-
this.
|
|
2605
|
-
return this.
|
|
2602
|
+
if (!(contentLength == null) && contentLength === 0n) {
|
|
2603
|
+
this.i54_1.j1('<-- END HTTP (' + duration.toString() + 'ms, ' + contentLength.toString() + '-byte body)');
|
|
2604
|
+
return this.h54_1;
|
|
2606
2605
|
}
|
|
2607
2606
|
|
|
2608
|
-
if (equals(contentType(this.
|
|
2609
|
-
this.
|
|
2610
|
-
return this.
|
|
2607
|
+
if (equals(contentType(this.h54_1), Text_getInstance().k2s_1)) {
|
|
2608
|
+
this.i54_1.j1('<-- END HTTP (streaming)');
|
|
2609
|
+
return this.h54_1;
|
|
2611
2610
|
}
|
|
2612
2611
|
|
|
2613
|
-
if (get_isSaved(this.
|
|
2614
|
-
this.
|
|
2615
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2612
|
+
if (get_isSaved(this.h54_1)) {
|
|
2613
|
+
this.a9_1 = 3;
|
|
2614
|
+
suspendResult = invoke$logResponseBody(this.g54_1, this.h54_1, this.h54_1.u3g(), this.i54_1, this);
|
|
2616
2615
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2617
2616
|
return suspendResult;
|
|
2618
2617
|
}
|
|
2619
2618
|
continue $sm;
|
|
2620
2619
|
} else {
|
|
2621
|
-
this.
|
|
2620
|
+
this.a9_1 = 1;
|
|
2622
2621
|
continue $sm;
|
|
2623
2622
|
}
|
|
2624
2623
|
|
|
2625
2624
|
case 1:
|
|
2626
|
-
var _destruct__k2r9zo_0 = split(this.
|
|
2627
|
-
this.
|
|
2628
|
-
var newChannel = _destruct__k2r9zo_0.
|
|
2629
|
-
this.
|
|
2630
|
-
suspendResult = invoke$logResponseBody(this.
|
|
2625
|
+
var _destruct__k2r9zo_0 = split(this.h54_1.u3g(), this.h54_1);
|
|
2626
|
+
this.j54_1 = _destruct__k2r9zo_0.fg();
|
|
2627
|
+
var newChannel = _destruct__k2r9zo_0.gg();
|
|
2628
|
+
this.a9_1 = 2;
|
|
2629
|
+
suspendResult = invoke$logResponseBody(this.g54_1, this.h54_1, newChannel, this.i54_1, this);
|
|
2631
2630
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2632
2631
|
return suspendResult;
|
|
2633
2632
|
}
|
|
2634
2633
|
|
|
2635
2634
|
continue $sm;
|
|
2636
2635
|
case 2:
|
|
2637
|
-
var tmp_0 = this.
|
|
2638
|
-
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.
|
|
2639
|
-
return call.
|
|
2636
|
+
var tmp_0 = this.h54_1.m3g();
|
|
2637
|
+
var call = replaceResponse(tmp_0, VOID, Logging$lambda$logResponseOkHttpFormat$lambda(this.j54_1));
|
|
2638
|
+
return call.x3d();
|
|
2640
2639
|
case 3:
|
|
2641
|
-
return this.
|
|
2640
|
+
return this.h54_1;
|
|
2642
2641
|
case 4:
|
|
2643
|
-
throw this.
|
|
2642
|
+
throw this.d9_1;
|
|
2644
2643
|
}
|
|
2645
2644
|
} catch ($p) {
|
|
2646
2645
|
var e = $p;
|
|
2647
|
-
if (this.
|
|
2646
|
+
if (this.b9_1 === 4) {
|
|
2648
2647
|
throw e;
|
|
2649
2648
|
} else {
|
|
2650
|
-
this.
|
|
2651
|
-
this.
|
|
2649
|
+
this.a9_1 = this.b9_1;
|
|
2650
|
+
this.d9_1 = e;
|
|
2652
2651
|
}
|
|
2653
2652
|
}
|
|
2654
2653
|
while (true);
|
|
@@ -2732,7 +2731,7 @@
|
|
|
2732
2731
|
var _iterator__ex2g4s_0 = sanitizedHeaders.t();
|
|
2733
2732
|
while (_iterator__ex2g4s_0.u()) {
|
|
2734
2733
|
var element_0 = _iterator__ex2g4s_0.v();
|
|
2735
|
-
if (element_0.
|
|
2734
|
+
if (element_0.l54_1(key)) {
|
|
2736
2735
|
tmp$ret$5 = element_0;
|
|
2737
2736
|
break $l$block;
|
|
2738
2737
|
}
|
|
@@ -2740,7 +2739,7 @@
|
|
|
2740
2739
|
tmp$ret$5 = null;
|
|
2741
2740
|
}
|
|
2742
2741
|
var tmp0_safe_receiver = tmp$ret$5;
|
|
2743
|
-
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2742
|
+
var placeholder = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k54_1;
|
|
2744
2743
|
logHeader(_this__u8e3s4, key, placeholder == null ? joinToString(values, '; ') : placeholder);
|
|
2745
2744
|
}
|
|
2746
2745
|
}
|
|
@@ -2752,58 +2751,58 @@
|
|
|
2752
2751
|
}
|
|
2753
2752
|
function logResponseHeader(log, response, level, sanitizedHeaders) {
|
|
2754
2753
|
// Inline function 'kotlin.with' call
|
|
2755
|
-
if (level.
|
|
2754
|
+
if (level.g4w_1) {
|
|
2756
2755
|
// Inline function 'kotlin.text.appendLine' call
|
|
2757
|
-
var value = 'RESPONSE: ' + response.
|
|
2756
|
+
var value = 'RESPONSE: ' + response.y32().toString();
|
|
2758
2757
|
// Inline function 'kotlin.text.appendLine' call
|
|
2759
2758
|
log.q(value).s(_Char___init__impl__6a9atx(10));
|
|
2760
2759
|
// Inline function 'kotlin.text.appendLine' call
|
|
2761
|
-
var value_0 = 'METHOD: ' + response.
|
|
2760
|
+
var value_0 = 'METHOD: ' + response.m3g().f3g().n3g().toString();
|
|
2762
2761
|
// Inline function 'kotlin.text.appendLine' call
|
|
2763
2762
|
log.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
2764
2763
|
// Inline function 'kotlin.text.appendLine' call
|
|
2765
|
-
var value_1 = 'FROM: ' + response.
|
|
2764
|
+
var value_1 = 'FROM: ' + response.m3g().f3g().o3g().toString();
|
|
2766
2765
|
// Inline function 'kotlin.text.appendLine' call
|
|
2767
2766
|
log.q(value_1).s(_Char___init__impl__6a9atx(10));
|
|
2768
2767
|
}
|
|
2769
|
-
if (level.
|
|
2768
|
+
if (level.h4w_1) {
|
|
2770
2769
|
// Inline function 'kotlin.text.appendLine' call
|
|
2771
2770
|
var value_2 = 'COMMON HEADERS';
|
|
2772
2771
|
// Inline function 'kotlin.text.appendLine' call
|
|
2773
2772
|
log.q(value_2).s(_Char___init__impl__6a9atx(10));
|
|
2774
|
-
logHeaders(log, response.
|
|
2773
|
+
logHeaders(log, response.b2x().m2l(), sanitizedHeaders);
|
|
2775
2774
|
}
|
|
2776
2775
|
}
|
|
2777
2776
|
function logResponseBody(_this__u8e3s4, response, $completion) {
|
|
2778
2777
|
var tmp = new $logResponseBodyCOROUTINE$_0(_this__u8e3s4, response, $completion);
|
|
2779
|
-
tmp.
|
|
2780
|
-
tmp.
|
|
2781
|
-
return tmp.
|
|
2778
|
+
tmp.c9_1 = Unit_instance;
|
|
2779
|
+
tmp.d9_1 = null;
|
|
2780
|
+
return tmp.i9();
|
|
2782
2781
|
}
|
|
2783
2782
|
function appendResponseBody(_this__u8e3s4, contentType, content, $completion) {
|
|
2784
2783
|
var tmp = new $appendResponseBodyCOROUTINE$(_this__u8e3s4, contentType, content, $completion);
|
|
2785
|
-
tmp.
|
|
2786
|
-
tmp.
|
|
2787
|
-
return tmp.
|
|
2784
|
+
tmp.c9_1 = Unit_instance;
|
|
2785
|
+
tmp.d9_1 = null;
|
|
2786
|
+
return tmp.i9();
|
|
2788
2787
|
}
|
|
2789
2788
|
function sam$kotlin_Comparator$0(function_0) {
|
|
2790
|
-
this.
|
|
2789
|
+
this.y58_1 = function_0;
|
|
2791
2790
|
}
|
|
2792
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
2793
|
-
return this.
|
|
2791
|
+
protoOf(sam$kotlin_Comparator$0).wd = function (a, b) {
|
|
2792
|
+
return this.y58_1(a, b);
|
|
2794
2793
|
};
|
|
2795
2794
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
2796
|
-
return this.
|
|
2795
|
+
return this.wd(a, b);
|
|
2797
2796
|
};
|
|
2798
|
-
protoOf(sam$kotlin_Comparator$0).
|
|
2799
|
-
return this.
|
|
2797
|
+
protoOf(sam$kotlin_Comparator$0).q3 = function () {
|
|
2798
|
+
return this.y58_1;
|
|
2800
2799
|
};
|
|
2801
2800
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
2802
2801
|
var tmp;
|
|
2803
2802
|
if (!(other == null) ? isInterface(other, Comparator) : false) {
|
|
2804
2803
|
var tmp_0;
|
|
2805
2804
|
if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
|
|
2806
|
-
tmp_0 = equals(this.
|
|
2805
|
+
tmp_0 = equals(this.q3(), other.q3());
|
|
2807
2806
|
} else {
|
|
2808
2807
|
tmp_0 = false;
|
|
2809
2808
|
}
|
|
@@ -2814,7 +2813,7 @@
|
|
|
2814
2813
|
return tmp;
|
|
2815
2814
|
};
|
|
2816
2815
|
protoOf(sam$kotlin_Comparator$0).hashCode = function () {
|
|
2817
|
-
return hashCode(this.
|
|
2816
|
+
return hashCode(this.q3());
|
|
2818
2817
|
};
|
|
2819
2818
|
function logHeaders$lambda(a, b) {
|
|
2820
2819
|
// Inline function 'kotlin.comparisons.compareValuesBy' call
|
|
@@ -2824,64 +2823,64 @@
|
|
|
2824
2823
|
}
|
|
2825
2824
|
function $logResponseBodyCOROUTINE$_0(_this__u8e3s4, response, resultContinuation) {
|
|
2826
2825
|
CoroutineImpl.call(this, resultContinuation);
|
|
2827
|
-
this.
|
|
2828
|
-
this.
|
|
2826
|
+
this.h58_1 = _this__u8e3s4;
|
|
2827
|
+
this.i58_1 = response;
|
|
2829
2828
|
}
|
|
2830
|
-
protoOf($logResponseBodyCOROUTINE$_0).
|
|
2831
|
-
var suspendResult = this.
|
|
2829
|
+
protoOf($logResponseBodyCOROUTINE$_0).i9 = function () {
|
|
2830
|
+
var suspendResult = this.c9_1;
|
|
2832
2831
|
$sm: do
|
|
2833
2832
|
try {
|
|
2834
|
-
var tmp = this.
|
|
2833
|
+
var tmp = this.a9_1;
|
|
2835
2834
|
switch (tmp) {
|
|
2836
2835
|
case 0:
|
|
2837
|
-
this.
|
|
2838
|
-
this.
|
|
2839
|
-
this.
|
|
2836
|
+
this.b9_1 = 8;
|
|
2837
|
+
this.j58_1 = StringBuilder_init_$Create$();
|
|
2838
|
+
this.a9_1 = 1;
|
|
2840
2839
|
continue $sm;
|
|
2841
2840
|
case 1:
|
|
2842
|
-
this.
|
|
2843
|
-
this.
|
|
2844
|
-
this.
|
|
2845
|
-
suspendResult = appendResponseBody(this.
|
|
2841
|
+
this.b9_1 = 4;
|
|
2842
|
+
this.b9_1 = 3;
|
|
2843
|
+
this.a9_1 = 2;
|
|
2844
|
+
suspendResult = appendResponseBody(this.j58_1, contentType(this.i58_1), this.i58_1.u3g(), this);
|
|
2846
2845
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2847
2846
|
return suspendResult;
|
|
2848
2847
|
}
|
|
2849
2848
|
|
|
2850
2849
|
continue $sm;
|
|
2851
2850
|
case 2:
|
|
2852
|
-
this.
|
|
2853
|
-
this.
|
|
2851
|
+
this.b9_1 = 8;
|
|
2852
|
+
this.a9_1 = 6;
|
|
2854
2853
|
continue $sm;
|
|
2855
2854
|
case 3:
|
|
2856
|
-
this.
|
|
2857
|
-
var tmp_0 = this.
|
|
2855
|
+
this.b9_1 = 4;
|
|
2856
|
+
var tmp_0 = this.d9_1;
|
|
2858
2857
|
if (tmp_0 instanceof Error) {
|
|
2859
|
-
var _unused_var__etf5q3 = this.
|
|
2860
|
-
this.
|
|
2861
|
-
this.
|
|
2858
|
+
var _unused_var__etf5q3 = this.d9_1;
|
|
2859
|
+
this.b9_1 = 8;
|
|
2860
|
+
this.a9_1 = 6;
|
|
2862
2861
|
continue $sm;
|
|
2863
2862
|
} else {
|
|
2864
|
-
throw this.
|
|
2863
|
+
throw this.d9_1;
|
|
2865
2864
|
}
|
|
2866
2865
|
|
|
2867
2866
|
case 4:
|
|
2868
|
-
this.
|
|
2869
|
-
this.
|
|
2870
|
-
this.
|
|
2871
|
-
var this_0 = this.
|
|
2872
|
-
suspendResult = this.
|
|
2867
|
+
this.b9_1 = 8;
|
|
2868
|
+
this.k58_1 = this.d9_1;
|
|
2869
|
+
this.a9_1 = 5;
|
|
2870
|
+
var this_0 = this.j58_1.toString();
|
|
2871
|
+
suspendResult = this.h58_1.b4w(toString(trim(isCharSequence(this_0) ? this_0 : THROW_CCE())), this);
|
|
2873
2872
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2874
2873
|
return suspendResult;
|
|
2875
2874
|
}
|
|
2876
2875
|
|
|
2877
2876
|
continue $sm;
|
|
2878
2877
|
case 5:
|
|
2879
|
-
throw this.
|
|
2878
|
+
throw this.k58_1;
|
|
2880
2879
|
case 6:
|
|
2881
|
-
this.
|
|
2882
|
-
this.
|
|
2883
|
-
var this_1 = this.
|
|
2884
|
-
suspendResult = this.
|
|
2880
|
+
this.b9_1 = 8;
|
|
2881
|
+
this.a9_1 = 7;
|
|
2882
|
+
var this_1 = this.j58_1.toString();
|
|
2883
|
+
suspendResult = this.h58_1.b4w(toString(trim(isCharSequence(this_1) ? this_1 : THROW_CCE())), this);
|
|
2885
2884
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2886
2885
|
return suspendResult;
|
|
2887
2886
|
}
|
|
@@ -2890,45 +2889,45 @@
|
|
|
2890
2889
|
case 7:
|
|
2891
2890
|
return Unit_instance;
|
|
2892
2891
|
case 8:
|
|
2893
|
-
throw this.
|
|
2892
|
+
throw this.d9_1;
|
|
2894
2893
|
}
|
|
2895
2894
|
} catch ($p) {
|
|
2896
2895
|
var e = $p;
|
|
2897
|
-
if (this.
|
|
2896
|
+
if (this.b9_1 === 8) {
|
|
2898
2897
|
throw e;
|
|
2899
2898
|
} else {
|
|
2900
|
-
this.
|
|
2901
|
-
this.
|
|
2899
|
+
this.a9_1 = this.b9_1;
|
|
2900
|
+
this.d9_1 = e;
|
|
2902
2901
|
}
|
|
2903
2902
|
}
|
|
2904
2903
|
while (true);
|
|
2905
2904
|
};
|
|
2906
2905
|
function $appendResponseBodyCOROUTINE$(_this__u8e3s4, contentType, content, resultContinuation) {
|
|
2907
2906
|
CoroutineImpl.call(this, resultContinuation);
|
|
2908
|
-
this.
|
|
2909
|
-
this.
|
|
2910
|
-
this.
|
|
2907
|
+
this.t58_1 = _this__u8e3s4;
|
|
2908
|
+
this.u58_1 = contentType;
|
|
2909
|
+
this.v58_1 = content;
|
|
2911
2910
|
}
|
|
2912
|
-
protoOf($appendResponseBodyCOROUTINE$).
|
|
2913
|
-
var suspendResult = this.
|
|
2911
|
+
protoOf($appendResponseBodyCOROUTINE$).i9 = function () {
|
|
2912
|
+
var suspendResult = this.c9_1;
|
|
2914
2913
|
$sm: do
|
|
2915
2914
|
try {
|
|
2916
|
-
var tmp = this.
|
|
2915
|
+
var tmp = this.a9_1;
|
|
2917
2916
|
switch (tmp) {
|
|
2918
2917
|
case 0:
|
|
2919
|
-
this.
|
|
2920
|
-
var tmp0 = this.
|
|
2921
|
-
var value = 'BODY Content-Type: ' + toString_0(this.
|
|
2918
|
+
this.b9_1 = 3;
|
|
2919
|
+
var tmp0 = this.t58_1;
|
|
2920
|
+
var value = 'BODY Content-Type: ' + toString_0(this.u58_1);
|
|
2922
2921
|
tmp0.q(value).s(_Char___init__impl__6a9atx(10));
|
|
2923
|
-
var tmp0_0 = this.
|
|
2922
|
+
var tmp0_0 = this.t58_1;
|
|
2924
2923
|
var value_0 = 'BODY START';
|
|
2925
2924
|
tmp0_0.q(value_0).s(_Char___init__impl__6a9atx(10));
|
|
2926
|
-
var tmp0_1 = this.
|
|
2927
|
-
var tmp0_safe_receiver = this.
|
|
2925
|
+
var tmp0_1 = this.v58_1;
|
|
2926
|
+
var tmp0_safe_receiver = this.u58_1;
|
|
2928
2927
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : charset(tmp0_safe_receiver);
|
|
2929
|
-
this.
|
|
2930
|
-
this.
|
|
2931
|
-
this.
|
|
2928
|
+
this.x58_1 = tmp1_elvis_lhs == null ? Charsets_getInstance().q1v_1 : tmp1_elvis_lhs;
|
|
2929
|
+
this.b9_1 = 2;
|
|
2930
|
+
this.a9_1 = 1;
|
|
2932
2931
|
suspendResult = readRemaining(tmp0_1, this);
|
|
2933
2932
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2934
2933
|
return suspendResult;
|
|
@@ -2937,78 +2936,78 @@
|
|
|
2937
2936
|
continue $sm;
|
|
2938
2937
|
case 1:
|
|
2939
2938
|
var ARGUMENT = suspendResult;
|
|
2940
|
-
this.
|
|
2941
|
-
this.
|
|
2942
|
-
this.
|
|
2939
|
+
this.w58_1 = readText(ARGUMENT, this.x58_1);
|
|
2940
|
+
this.b9_1 = 3;
|
|
2941
|
+
this.a9_1 = 4;
|
|
2943
2942
|
continue $sm;
|
|
2944
2943
|
case 2:
|
|
2945
|
-
this.
|
|
2946
|
-
var tmp_0 = this.
|
|
2944
|
+
this.b9_1 = 3;
|
|
2945
|
+
var tmp_0 = this.d9_1;
|
|
2947
2946
|
if (tmp_0 instanceof Error) {
|
|
2948
|
-
var cause = this.
|
|
2947
|
+
var cause = this.d9_1;
|
|
2949
2948
|
var tmp_1 = this;
|
|
2950
|
-
tmp_1.
|
|
2951
|
-
this.
|
|
2949
|
+
tmp_1.w58_1 = null;
|
|
2950
|
+
this.a9_1 = 4;
|
|
2952
2951
|
continue $sm;
|
|
2953
2952
|
} else {
|
|
2954
|
-
throw this.
|
|
2953
|
+
throw this.d9_1;
|
|
2955
2954
|
}
|
|
2956
2955
|
|
|
2957
2956
|
case 3:
|
|
2958
|
-
throw this.
|
|
2957
|
+
throw this.d9_1;
|
|
2959
2958
|
case 4:
|
|
2960
|
-
this.
|
|
2961
|
-
var tmp2_elvis_lhs = this.
|
|
2959
|
+
this.b9_1 = 3;
|
|
2960
|
+
var tmp2_elvis_lhs = this.w58_1;
|
|
2962
2961
|
var message = tmp2_elvis_lhs == null ? '[response body omitted]' : tmp2_elvis_lhs;
|
|
2963
|
-
this.
|
|
2964
|
-
this.
|
|
2962
|
+
this.t58_1.q(message).s(_Char___init__impl__6a9atx(10));
|
|
2963
|
+
this.t58_1.q('BODY END');
|
|
2965
2964
|
return Unit_instance;
|
|
2966
2965
|
}
|
|
2967
2966
|
} catch ($p) {
|
|
2968
2967
|
var e = $p;
|
|
2969
|
-
if (this.
|
|
2968
|
+
if (this.b9_1 === 3) {
|
|
2970
2969
|
throw e;
|
|
2971
2970
|
} else {
|
|
2972
|
-
this.
|
|
2973
|
-
this.
|
|
2971
|
+
this.a9_1 = this.b9_1;
|
|
2972
|
+
this.d9_1 = e;
|
|
2974
2973
|
}
|
|
2975
2974
|
}
|
|
2976
2975
|
while (true);
|
|
2977
2976
|
};
|
|
2978
2977
|
function observe(_this__u8e3s4, log, $completion) {
|
|
2979
2978
|
var tmp = new $observeCOROUTINE$(_this__u8e3s4, log, $completion);
|
|
2980
|
-
tmp.
|
|
2981
|
-
tmp.
|
|
2982
|
-
return tmp.
|
|
2979
|
+
tmp.c9_1 = Unit_instance;
|
|
2980
|
+
tmp.d9_1 = null;
|
|
2981
|
+
return tmp.i9();
|
|
2983
2982
|
}
|
|
2984
2983
|
function toReadChannel(_this__u8e3s4) {
|
|
2985
2984
|
var tmp = GlobalScope_instance;
|
|
2986
|
-
var tmp_0 = Dispatchers_getInstance().
|
|
2987
|
-
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).
|
|
2985
|
+
var tmp_0 = Dispatchers_getInstance().n14_1;
|
|
2986
|
+
return writer(tmp, tmp_0, VOID, toReadChannel$slambda_0(_this__u8e3s4, null)).n1t_1;
|
|
2988
2987
|
}
|
|
2989
2988
|
function toReadChannel$slambda($this_toReadChannel, resultContinuation) {
|
|
2990
|
-
this.
|
|
2989
|
+
this.t59_1 = $this_toReadChannel;
|
|
2991
2990
|
CoroutineImpl.call(this, resultContinuation);
|
|
2992
2991
|
}
|
|
2993
|
-
protoOf(toReadChannel$slambda).
|
|
2994
|
-
var tmp = this.
|
|
2995
|
-
tmp.
|
|
2996
|
-
tmp.
|
|
2997
|
-
return tmp.
|
|
2992
|
+
protoOf(toReadChannel$slambda).e38 = function ($this$writer, $completion) {
|
|
2993
|
+
var tmp = this.f38($this$writer, $completion);
|
|
2994
|
+
tmp.c9_1 = Unit_instance;
|
|
2995
|
+
tmp.d9_1 = null;
|
|
2996
|
+
return tmp.i9();
|
|
2998
2997
|
};
|
|
2999
|
-
protoOf(toReadChannel$slambda).
|
|
3000
|
-
return this.
|
|
2998
|
+
protoOf(toReadChannel$slambda).u9 = function (p1, $completion) {
|
|
2999
|
+
return this.e38(p1 instanceof WriterScope ? p1 : THROW_CCE(), $completion);
|
|
3001
3000
|
};
|
|
3002
|
-
protoOf(toReadChannel$slambda).
|
|
3003
|
-
var suspendResult = this.
|
|
3001
|
+
protoOf(toReadChannel$slambda).i9 = function () {
|
|
3002
|
+
var suspendResult = this.c9_1;
|
|
3004
3003
|
$sm: do
|
|
3005
3004
|
try {
|
|
3006
|
-
var tmp = this.
|
|
3005
|
+
var tmp = this.a9_1;
|
|
3007
3006
|
switch (tmp) {
|
|
3008
3007
|
case 0:
|
|
3009
|
-
this.
|
|
3010
|
-
this.
|
|
3011
|
-
suspendResult = this.
|
|
3008
|
+
this.b9_1 = 2;
|
|
3009
|
+
this.a9_1 = 1;
|
|
3010
|
+
suspendResult = this.t59_1.f33(this.u59_1.p1t_1, this);
|
|
3012
3011
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3013
3012
|
return suspendResult;
|
|
3014
3013
|
}
|
|
@@ -3017,49 +3016,49 @@
|
|
|
3017
3016
|
case 1:
|
|
3018
3017
|
return Unit_instance;
|
|
3019
3018
|
case 2:
|
|
3020
|
-
throw this.
|
|
3019
|
+
throw this.d9_1;
|
|
3021
3020
|
}
|
|
3022
3021
|
} catch ($p) {
|
|
3023
3022
|
var e = $p;
|
|
3024
|
-
if (this.
|
|
3023
|
+
if (this.b9_1 === 2) {
|
|
3025
3024
|
throw e;
|
|
3026
3025
|
} else {
|
|
3027
|
-
this.
|
|
3028
|
-
this.
|
|
3026
|
+
this.a9_1 = this.b9_1;
|
|
3027
|
+
this.d9_1 = e;
|
|
3029
3028
|
}
|
|
3030
3029
|
}
|
|
3031
3030
|
while (true);
|
|
3032
3031
|
};
|
|
3033
|
-
protoOf(toReadChannel$slambda).
|
|
3034
|
-
var i = new toReadChannel$slambda(this.
|
|
3035
|
-
i.
|
|
3032
|
+
protoOf(toReadChannel$slambda).f38 = function ($this$writer, completion) {
|
|
3033
|
+
var i = new toReadChannel$slambda(this.t59_1, completion);
|
|
3034
|
+
i.u59_1 = $this$writer;
|
|
3036
3035
|
return i;
|
|
3037
3036
|
};
|
|
3038
3037
|
function toReadChannel$slambda_0($this_toReadChannel, resultContinuation) {
|
|
3039
3038
|
var i = new toReadChannel$slambda($this_toReadChannel, resultContinuation);
|
|
3040
3039
|
var l = function ($this$writer, $completion) {
|
|
3041
|
-
return i.
|
|
3040
|
+
return i.e38($this$writer, $completion);
|
|
3042
3041
|
};
|
|
3043
3042
|
l.$arity = 1;
|
|
3044
3043
|
return l;
|
|
3045
3044
|
}
|
|
3046
3045
|
function $observeCOROUTINE$(_this__u8e3s4, log, resultContinuation) {
|
|
3047
3046
|
CoroutineImpl.call(this, resultContinuation);
|
|
3048
|
-
this.
|
|
3049
|
-
this.
|
|
3047
|
+
this.h59_1 = _this__u8e3s4;
|
|
3048
|
+
this.i59_1 = log;
|
|
3050
3049
|
}
|
|
3051
|
-
protoOf($observeCOROUTINE$).
|
|
3052
|
-
var suspendResult = this.
|
|
3050
|
+
protoOf($observeCOROUTINE$).i9 = function () {
|
|
3051
|
+
var suspendResult = this.c9_1;
|
|
3053
3052
|
$sm: do
|
|
3054
3053
|
try {
|
|
3055
|
-
var tmp = this.
|
|
3054
|
+
var tmp = this.a9_1;
|
|
3056
3055
|
switch (tmp) {
|
|
3057
3056
|
case 0:
|
|
3058
|
-
this.
|
|
3059
|
-
var tmp0_subject = this.
|
|
3057
|
+
this.b9_1 = 6;
|
|
3058
|
+
var tmp0_subject = this.h59_1;
|
|
3060
3059
|
if (tmp0_subject instanceof ByteArrayContent) {
|
|
3061
|
-
this.
|
|
3062
|
-
suspendResult = writeFully(this.
|
|
3060
|
+
this.a9_1 = 3;
|
|
3061
|
+
suspendResult = writeFully(this.i59_1, this.h59_1.a33(), VOID, VOID, this);
|
|
3063
3062
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3064
3063
|
return suspendResult;
|
|
3065
3064
|
}
|
|
@@ -3068,25 +3067,25 @@
|
|
|
3068
3067
|
if (tmp0_subject instanceof ReadChannelContent) {
|
|
3069
3068
|
var tmp_0 = this;
|
|
3070
3069
|
var responseChannel = new ByteChannel();
|
|
3071
|
-
var content = this.
|
|
3072
|
-
copyToBoth(content, this.
|
|
3073
|
-
tmp_0.
|
|
3074
|
-
this.
|
|
3070
|
+
var content = this.h59_1.d33();
|
|
3071
|
+
copyToBoth(content, this.i59_1, responseChannel);
|
|
3072
|
+
tmp_0.j59_1 = new LoggedContent(this.h59_1, responseChannel);
|
|
3073
|
+
this.a9_1 = 5;
|
|
3075
3074
|
continue $sm;
|
|
3076
3075
|
} else {
|
|
3077
3076
|
if (tmp0_subject instanceof WriteChannelContent) {
|
|
3078
3077
|
var tmp_1 = this;
|
|
3079
3078
|
var responseChannel_0 = new ByteChannel();
|
|
3080
|
-
var content_0 = toReadChannel(this.
|
|
3081
|
-
copyToBoth(content_0, this.
|
|
3082
|
-
tmp_1.
|
|
3083
|
-
this.
|
|
3079
|
+
var content_0 = toReadChannel(this.h59_1);
|
|
3080
|
+
copyToBoth(content_0, this.i59_1, responseChannel_0);
|
|
3081
|
+
tmp_1.j59_1 = new LoggedContent(this.h59_1, responseChannel_0);
|
|
3082
|
+
this.a9_1 = 5;
|
|
3084
3083
|
continue $sm;
|
|
3085
3084
|
} else {
|
|
3086
3085
|
if (tmp0_subject instanceof ContentWrapper) {
|
|
3087
|
-
this.
|
|
3088
|
-
this.
|
|
3089
|
-
suspendResult = observe(this.
|
|
3086
|
+
this.k59_1 = this.h59_1;
|
|
3087
|
+
this.a9_1 = 2;
|
|
3088
|
+
suspendResult = observe(this.h59_1.j33(), this.i59_1, this);
|
|
3090
3089
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3091
3090
|
return suspendResult;
|
|
3092
3091
|
}
|
|
@@ -3099,8 +3098,8 @@
|
|
|
3099
3098
|
tmp_2 = tmp0_subject instanceof ProtocolUpgrade;
|
|
3100
3099
|
}
|
|
3101
3100
|
if (tmp_2) {
|
|
3102
|
-
this.
|
|
3103
|
-
suspendResult = this.
|
|
3101
|
+
this.a9_1 = 1;
|
|
3102
|
+
suspendResult = this.i59_1.w1l(this);
|
|
3104
3103
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3105
3104
|
return suspendResult;
|
|
3106
3105
|
}
|
|
@@ -3116,38 +3115,38 @@
|
|
|
3116
3115
|
|
|
3117
3116
|
break;
|
|
3118
3117
|
case 1:
|
|
3119
|
-
this.
|
|
3120
|
-
this.
|
|
3118
|
+
this.j59_1 = this.h59_1;
|
|
3119
|
+
this.a9_1 = 5;
|
|
3121
3120
|
continue $sm;
|
|
3122
3121
|
case 2:
|
|
3123
3122
|
var ARGUMENT = suspendResult;
|
|
3124
|
-
this.
|
|
3125
|
-
this.
|
|
3123
|
+
this.j59_1 = this.k59_1.k33(ARGUMENT);
|
|
3124
|
+
this.a9_1 = 5;
|
|
3126
3125
|
continue $sm;
|
|
3127
3126
|
case 3:
|
|
3128
|
-
this.
|
|
3129
|
-
suspendResult = this.
|
|
3127
|
+
this.a9_1 = 4;
|
|
3128
|
+
suspendResult = this.i59_1.w1l(this);
|
|
3130
3129
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
3131
3130
|
return suspendResult;
|
|
3132
3131
|
}
|
|
3133
3132
|
|
|
3134
3133
|
continue $sm;
|
|
3135
3134
|
case 4:
|
|
3136
|
-
this.
|
|
3137
|
-
this.
|
|
3135
|
+
this.j59_1 = this.h59_1;
|
|
3136
|
+
this.a9_1 = 5;
|
|
3138
3137
|
continue $sm;
|
|
3139
3138
|
case 5:
|
|
3140
|
-
return this.
|
|
3139
|
+
return this.j59_1;
|
|
3141
3140
|
case 6:
|
|
3142
|
-
throw this.
|
|
3141
|
+
throw this.d9_1;
|
|
3143
3142
|
}
|
|
3144
3143
|
} catch ($p) {
|
|
3145
3144
|
var e = $p;
|
|
3146
|
-
if (this.
|
|
3145
|
+
if (this.b9_1 === 6) {
|
|
3147
3146
|
throw e;
|
|
3148
3147
|
} else {
|
|
3149
|
-
this.
|
|
3150
|
-
this.
|
|
3148
|
+
this.a9_1 = this.b9_1;
|
|
3149
|
+
this.d9_1 = e;
|
|
3151
3150
|
}
|
|
3152
3151
|
}
|
|
3153
3152
|
while (true);
|
|
@@ -3177,10 +3176,10 @@
|
|
|
3177
3176
|
return get_SIMPLE(_this__u8e3s4);
|
|
3178
3177
|
}
|
|
3179
3178
|
//region block: post-declaration
|
|
3180
|
-
protoOf(MDCContextElement).
|
|
3181
|
-
protoOf(MDCContextElement).
|
|
3182
|
-
protoOf(MDCContextElement).
|
|
3183
|
-
protoOf(MDCContextElement).
|
|
3179
|
+
protoOf(MDCContextElement).n9 = get;
|
|
3180
|
+
protoOf(MDCContextElement).bh = fold;
|
|
3181
|
+
protoOf(MDCContextElement).ah = minusKey;
|
|
3182
|
+
protoOf(MDCContextElement).ch = plus;
|
|
3184
3183
|
//endregion
|
|
3185
3184
|
//region block: init
|
|
3186
3185
|
Companion_instance = new Companion();
|