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