@solibo/solibo-sdk 1.6.36 → 1.7.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/KmLogging-logging.mjs +98 -98
- package/KotlinBigInteger-bignum.mjs +1127 -1127
- package/MultiplatformSettings-multiplatform-settings-test.mjs +18 -18
- package/MultiplatformSettings-multiplatform-settings.mjs +16 -16
- package/Stately-stately-concurrency.mjs +3 -3
- package/bitops-library-bits.mjs +200 -0
- package/bitops-library-bits.mjs.map +1 -0
- package/bitops-library-endian.mjs +109 -0
- package/bitops-library-endian.mjs.map +1 -0
- package/core-library-core.mjs +4 -0
- package/core-library-core.mjs.map +1 -0
- package/core-library-digest.mjs +223 -0
- package/core-library-digest.mjs.map +1 -0
- package/cryptography-kotlin-cryptography-bigint.mjs +28 -28
- package/cryptography-kotlin-cryptography-core.mjs +47 -47
- package/cryptography-kotlin-cryptography-provider-base.mjs +8 -8
- package/cryptography-kotlin-cryptography-provider-webcrypto.mjs +136 -136
- package/cryptography-kotlin-cryptography-random.mjs +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.mjs +118 -118
- package/cryptography-kotlin-cryptography-serialization-asn1.mjs +250 -250
- package/cryptography-kotlin-cryptography-serialization-pem.mjs +15 -15
- package/error-library-error.mjs +91 -0
- package/error-library-error.mjs.map +1 -0
- package/hash-library-md.mjs +179 -0
- package/hash-library-md.mjs.map +1 -0
- package/kotlin-kotlin-stdlib.mjs +104 -17
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.mjs +1072 -1072
- package/ktor-ktor-client-auth.mjs +245 -245
- package/ktor-ktor-client-content-negotiation.mjs +124 -124
- package/ktor-ktor-client-core.mjs +2663 -2613
- package/ktor-ktor-client-core.mjs.map +1 -1
- package/ktor-ktor-client-encoding.mjs +120 -120
- package/ktor-ktor-client-logging.mjs +600 -600
- package/ktor-ktor-client-mock.mjs +48 -48
- package/ktor-ktor-http-cio.mjs +299 -299
- package/ktor-ktor-http.mjs +835 -808
- package/ktor-ktor-http.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.mjs +6 -6
- package/ktor-ktor-serialization-kotlinx.mjs +110 -110
- package/ktor-ktor-serialization.mjs +50 -50
- package/ktor-ktor-websockets.mjs +321 -321
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.mjs +26397 -26393
- package/solibo-sdk-sdk.d.mts +81 -1
- package/solibo-sdk-sdk.mjs +5473 -3914
- package/solibo-sdk-sdk.mjs.map +1 -1
|
@@ -112,73 +112,73 @@ function Mode_initEntries() {
|
|
|
112
112
|
}
|
|
113
113
|
function Mode(name, ordinal, request, response) {
|
|
114
114
|
Enum.call(this, name, ordinal);
|
|
115
|
-
this.
|
|
116
|
-
this.
|
|
115
|
+
this.orq_1 = request;
|
|
116
|
+
this.prq_1 = response;
|
|
117
117
|
}
|
|
118
118
|
function Mode_DecompressResponse_getInstance() {
|
|
119
119
|
Mode_initEntries();
|
|
120
120
|
return Mode_DecompressResponse_instance;
|
|
121
121
|
}
|
|
122
122
|
function ContentEncodingConfig() {
|
|
123
|
-
this.
|
|
124
|
-
this.
|
|
125
|
-
this.
|
|
123
|
+
this.qrq_1 = new CaseInsensitiveMap();
|
|
124
|
+
this.rrq_1 = new CaseInsensitiveMap();
|
|
125
|
+
this.srq_1 = Mode_DecompressResponse_getInstance();
|
|
126
126
|
}
|
|
127
|
-
protoOf(ContentEncodingConfig).
|
|
128
|
-
this.
|
|
127
|
+
protoOf(ContentEncodingConfig).trq = function (quality) {
|
|
128
|
+
this.urq(GZipEncoder_getInstance(), quality);
|
|
129
129
|
};
|
|
130
|
-
protoOf(ContentEncodingConfig).
|
|
130
|
+
protoOf(ContentEncodingConfig).vrq = function (quality, $super) {
|
|
131
131
|
quality = quality === VOID ? null : quality;
|
|
132
132
|
var tmp;
|
|
133
133
|
if ($super === VOID) {
|
|
134
|
-
this.
|
|
134
|
+
this.trq(quality);
|
|
135
135
|
tmp = Unit_instance;
|
|
136
136
|
} else {
|
|
137
|
-
tmp = $super.
|
|
137
|
+
tmp = $super.trq.call(this, quality);
|
|
138
138
|
}
|
|
139
139
|
return tmp;
|
|
140
140
|
};
|
|
141
|
-
protoOf(ContentEncodingConfig).
|
|
142
|
-
this.
|
|
141
|
+
protoOf(ContentEncodingConfig).wrq = function (quality) {
|
|
142
|
+
this.urq(DeflateEncoder_getInstance(), quality);
|
|
143
143
|
};
|
|
144
|
-
protoOf(ContentEncodingConfig).
|
|
144
|
+
protoOf(ContentEncodingConfig).xrq = function (quality, $super) {
|
|
145
145
|
quality = quality === VOID ? null : quality;
|
|
146
146
|
var tmp;
|
|
147
147
|
if ($super === VOID) {
|
|
148
|
-
this.
|
|
148
|
+
this.wrq(quality);
|
|
149
149
|
tmp = Unit_instance;
|
|
150
150
|
} else {
|
|
151
|
-
tmp = $super.
|
|
151
|
+
tmp = $super.wrq.call(this, quality);
|
|
152
152
|
}
|
|
153
153
|
return tmp;
|
|
154
154
|
};
|
|
155
|
-
protoOf(ContentEncodingConfig).
|
|
156
|
-
this.
|
|
155
|
+
protoOf(ContentEncodingConfig).yrq = function (quality) {
|
|
156
|
+
this.urq(IdentityEncoder_getInstance(), quality);
|
|
157
157
|
};
|
|
158
|
-
protoOf(ContentEncodingConfig).
|
|
158
|
+
protoOf(ContentEncodingConfig).zrq = function (quality, $super) {
|
|
159
159
|
quality = quality === VOID ? null : quality;
|
|
160
160
|
var tmp;
|
|
161
161
|
if ($super === VOID) {
|
|
162
|
-
this.
|
|
162
|
+
this.yrq(quality);
|
|
163
163
|
tmp = Unit_instance;
|
|
164
164
|
} else {
|
|
165
|
-
tmp = $super.
|
|
165
|
+
tmp = $super.yrq.call(this, quality);
|
|
166
166
|
}
|
|
167
167
|
return tmp;
|
|
168
168
|
};
|
|
169
|
-
protoOf(ContentEncodingConfig).
|
|
169
|
+
protoOf(ContentEncodingConfig).urq = function (encoder, quality) {
|
|
170
170
|
var name = encoder.m();
|
|
171
|
-
var tmp0 = this.
|
|
171
|
+
var tmp0 = this.qrq_1;
|
|
172
172
|
// Inline function 'kotlin.text.lowercase' call
|
|
173
173
|
// Inline function 'kotlin.js.asDynamic' call
|
|
174
174
|
// Inline function 'kotlin.collections.set' call
|
|
175
175
|
var key = name.toLowerCase();
|
|
176
176
|
tmp0.d3(key, encoder);
|
|
177
177
|
if (quality == null) {
|
|
178
|
-
this.
|
|
178
|
+
this.rrq_1.e3(name);
|
|
179
179
|
} else {
|
|
180
180
|
// Inline function 'kotlin.collections.set' call
|
|
181
|
-
this.
|
|
181
|
+
this.rrq_1.d3(name, quality);
|
|
182
182
|
}
|
|
183
183
|
};
|
|
184
184
|
function UnsupportedContentEncodingException(encoding) {
|
|
@@ -186,18 +186,18 @@ function UnsupportedContentEncodingException(encoding) {
|
|
|
186
186
|
captureStack(this, UnsupportedContentEncodingException);
|
|
187
187
|
}
|
|
188
188
|
function AfterRenderHook$install$slambda($handler, resultContinuation) {
|
|
189
|
-
this.
|
|
189
|
+
this.irr_1 = $handler;
|
|
190
190
|
CoroutineImpl.call(this, resultContinuation);
|
|
191
191
|
}
|
|
192
|
-
protoOf(AfterRenderHook$install$slambda).
|
|
193
|
-
var tmp = this.
|
|
192
|
+
protoOf(AfterRenderHook$install$slambda).e4l = function ($this$intercept, it, $completion) {
|
|
193
|
+
var tmp = this.f4l($this$intercept, it, $completion);
|
|
194
194
|
tmp.o9_1 = Unit_instance;
|
|
195
195
|
tmp.p9_1 = null;
|
|
196
196
|
return tmp.u9();
|
|
197
197
|
};
|
|
198
198
|
protoOf(AfterRenderHook$install$slambda).ha = function (p1, p2, $completion) {
|
|
199
199
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
200
|
-
return this.
|
|
200
|
+
return this.e4l(tmp, !(p2 == null) ? p2 : THROW_CCE(), $completion);
|
|
201
201
|
};
|
|
202
202
|
protoOf(AfterRenderHook$install$slambda).u9 = function () {
|
|
203
203
|
var suspendResult = this.o9_1;
|
|
@@ -208,8 +208,8 @@ protoOf(AfterRenderHook$install$slambda).u9 = function () {
|
|
|
208
208
|
case 0:
|
|
209
209
|
this.n9_1 = 4;
|
|
210
210
|
this.m9_1 = 1;
|
|
211
|
-
var tmp_0 = this.
|
|
212
|
-
suspendResult = this.
|
|
211
|
+
var tmp_0 = this.jrr_1.k3k();
|
|
212
|
+
suspendResult = this.irr_1(this.jrr_1.h3l_1, tmp_0 instanceof OutgoingContent ? tmp_0 : THROW_CCE(), this);
|
|
213
213
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
214
214
|
return suspendResult;
|
|
215
215
|
}
|
|
@@ -219,7 +219,7 @@ protoOf(AfterRenderHook$install$slambda).u9 = function () {
|
|
|
219
219
|
var result = suspendResult;
|
|
220
220
|
if (!(result == null)) {
|
|
221
221
|
this.m9_1 = 2;
|
|
222
|
-
suspendResult = this.
|
|
222
|
+
suspendResult = this.jrr_1.l3k(result, this);
|
|
223
223
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
224
224
|
return suspendResult;
|
|
225
225
|
}
|
|
@@ -248,30 +248,30 @@ protoOf(AfterRenderHook$install$slambda).u9 = function () {
|
|
|
248
248
|
}
|
|
249
249
|
while (true);
|
|
250
250
|
};
|
|
251
|
-
protoOf(AfterRenderHook$install$slambda).
|
|
252
|
-
var i = new AfterRenderHook$install$slambda(this.
|
|
253
|
-
i.
|
|
254
|
-
i.
|
|
251
|
+
protoOf(AfterRenderHook$install$slambda).f4l = function ($this$intercept, it, completion) {
|
|
252
|
+
var i = new AfterRenderHook$install$slambda(this.irr_1, completion);
|
|
253
|
+
i.jrr_1 = $this$intercept;
|
|
254
|
+
i.krr_1 = it;
|
|
255
255
|
return i;
|
|
256
256
|
};
|
|
257
257
|
function AfterRenderHook$install$slambda_0($handler, resultContinuation) {
|
|
258
258
|
var i = new AfterRenderHook$install$slambda($handler, resultContinuation);
|
|
259
259
|
var l = function ($this$intercept, it, $completion) {
|
|
260
|
-
return i.
|
|
260
|
+
return i.e4l($this$intercept, it, $completion);
|
|
261
261
|
};
|
|
262
262
|
l.$arity = 2;
|
|
263
263
|
return l;
|
|
264
264
|
}
|
|
265
265
|
function AfterRenderHook() {
|
|
266
266
|
AfterRenderHook_instance = this;
|
|
267
|
-
this.
|
|
267
|
+
this.lrr_1 = new PipelinePhase('AfterRender');
|
|
268
268
|
}
|
|
269
|
-
protoOf(AfterRenderHook).
|
|
270
|
-
client.
|
|
271
|
-
client.
|
|
269
|
+
protoOf(AfterRenderHook).x4t = function (client, handler) {
|
|
270
|
+
client.g4k_1.i3l(Phases_getInstance().b4u_1, this.lrr_1);
|
|
271
|
+
client.g4k_1.l3l(this.lrr_1, AfterRenderHook$install$slambda_0(handler, null));
|
|
272
272
|
};
|
|
273
|
-
protoOf(AfterRenderHook).
|
|
274
|
-
return this.
|
|
273
|
+
protoOf(AfterRenderHook).d4u = function (client, handler) {
|
|
274
|
+
return this.x4t(client, (!(handler == null) ? isSuspendFunction(handler, 2) : false) ? handler : THROW_CCE());
|
|
275
275
|
};
|
|
276
276
|
var AfterRenderHook_instance;
|
|
277
277
|
function AfterRenderHook_getInstance() {
|
|
@@ -280,18 +280,18 @@ function AfterRenderHook_getInstance() {
|
|
|
280
280
|
return AfterRenderHook_instance;
|
|
281
281
|
}
|
|
282
282
|
function ReceiveStateHook$install$slambda($handler, resultContinuation) {
|
|
283
|
-
this.
|
|
283
|
+
this.urr_1 = $handler;
|
|
284
284
|
CoroutineImpl.call(this, resultContinuation);
|
|
285
285
|
}
|
|
286
|
-
protoOf(ReceiveStateHook$install$slambda).
|
|
287
|
-
var tmp = this.
|
|
286
|
+
protoOf(ReceiveStateHook$install$slambda).p4u = function ($this$intercept, it, $completion) {
|
|
287
|
+
var tmp = this.q4u($this$intercept, it, $completion);
|
|
288
288
|
tmp.o9_1 = Unit_instance;
|
|
289
289
|
tmp.p9_1 = null;
|
|
290
290
|
return tmp.u9();
|
|
291
291
|
};
|
|
292
292
|
protoOf(ReceiveStateHook$install$slambda).ha = function (p1, p2, $completion) {
|
|
293
293
|
var tmp = p1 instanceof PipelineContext ? p1 : THROW_CCE();
|
|
294
|
-
return this.
|
|
294
|
+
return this.p4u(tmp, p2 instanceof HttpResponse ? p2 : THROW_CCE(), $completion);
|
|
295
295
|
};
|
|
296
296
|
protoOf(ReceiveStateHook$install$slambda).u9 = function () {
|
|
297
297
|
var suspendResult = this.o9_1;
|
|
@@ -302,7 +302,7 @@ protoOf(ReceiveStateHook$install$slambda).u9 = function () {
|
|
|
302
302
|
case 0:
|
|
303
303
|
this.n9_1 = 4;
|
|
304
304
|
this.m9_1 = 1;
|
|
305
|
-
suspendResult = this.
|
|
305
|
+
suspendResult = this.urr_1(this.wrr_1, this);
|
|
306
306
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
307
307
|
return suspendResult;
|
|
308
308
|
}
|
|
@@ -312,7 +312,7 @@ protoOf(ReceiveStateHook$install$slambda).u9 = function () {
|
|
|
312
312
|
var result = suspendResult;
|
|
313
313
|
if (!(result == null)) {
|
|
314
314
|
this.m9_1 = 2;
|
|
315
|
-
suspendResult = this.
|
|
315
|
+
suspendResult = this.vrr_1.l3k(result, this);
|
|
316
316
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
317
317
|
return suspendResult;
|
|
318
318
|
}
|
|
@@ -341,28 +341,28 @@ protoOf(ReceiveStateHook$install$slambda).u9 = function () {
|
|
|
341
341
|
}
|
|
342
342
|
while (true);
|
|
343
343
|
};
|
|
344
|
-
protoOf(ReceiveStateHook$install$slambda).
|
|
345
|
-
var i = new ReceiveStateHook$install$slambda(this.
|
|
346
|
-
i.
|
|
347
|
-
i.
|
|
344
|
+
protoOf(ReceiveStateHook$install$slambda).q4u = function ($this$intercept, it, completion) {
|
|
345
|
+
var i = new ReceiveStateHook$install$slambda(this.urr_1, completion);
|
|
346
|
+
i.vrr_1 = $this$intercept;
|
|
347
|
+
i.wrr_1 = it;
|
|
348
348
|
return i;
|
|
349
349
|
};
|
|
350
350
|
function ReceiveStateHook$install$slambda_0($handler, resultContinuation) {
|
|
351
351
|
var i = new ReceiveStateHook$install$slambda($handler, resultContinuation);
|
|
352
352
|
var l = function ($this$intercept, it, $completion) {
|
|
353
|
-
return i.
|
|
353
|
+
return i.p4u($this$intercept, it, $completion);
|
|
354
354
|
};
|
|
355
355
|
l.$arity = 2;
|
|
356
356
|
return l;
|
|
357
357
|
}
|
|
358
358
|
function ReceiveStateHook() {
|
|
359
359
|
}
|
|
360
|
-
protoOf(ReceiveStateHook).
|
|
361
|
-
var tmp = Phases_getInstance_0().
|
|
362
|
-
client.
|
|
360
|
+
protoOf(ReceiveStateHook).r4u = function (client, handler) {
|
|
361
|
+
var tmp = Phases_getInstance_0().t4u_1;
|
|
362
|
+
client.j4k_1.l3l(tmp, ReceiveStateHook$install$slambda_0(handler, null));
|
|
363
363
|
};
|
|
364
|
-
protoOf(ReceiveStateHook).
|
|
365
|
-
return this.
|
|
364
|
+
protoOf(ReceiveStateHook).d4u = function (client, handler) {
|
|
365
|
+
return this.r4u(client, (!(handler == null) ? isSuspendFunction(handler, 1) : false) ? handler : THROW_CCE());
|
|
366
366
|
};
|
|
367
367
|
var ReceiveStateHook_instance;
|
|
368
368
|
function ReceiveStateHook_getInstance() {
|
|
@@ -377,9 +377,9 @@ function ContentEncodingConfig$_init_$ref_5w7vdj() {
|
|
|
377
377
|
}
|
|
378
378
|
function ContentEncoding$lambda($this$createClientPlugin) {
|
|
379
379
|
_init_properties_ContentEncoding_kt__4smi0q();
|
|
380
|
-
var encoders = $this$createClientPlugin.
|
|
381
|
-
var qualityValues = $this$createClientPlugin.
|
|
382
|
-
var mode = $this$createClientPlugin.
|
|
380
|
+
var encoders = $this$createClientPlugin.x4u_1.qrq_1;
|
|
381
|
+
var qualityValues = $this$createClientPlugin.x4u_1.rrq_1;
|
|
382
|
+
var mode = $this$createClientPlugin.x4u_1.srq_1;
|
|
383
383
|
// Inline function 'kotlin.text.buildString' call
|
|
384
384
|
// Inline function 'kotlin.apply' call
|
|
385
385
|
var this_0 = StringBuilder_init_$Create$();
|
|
@@ -408,11 +408,11 @@ function ContentEncoding$lambda($this$createClientPlugin) {
|
|
|
408
408
|
this_0.q(';q=' + qualityValue);
|
|
409
409
|
}
|
|
410
410
|
var requestHeader = this_0.toString();
|
|
411
|
-
$this$createClientPlugin.
|
|
411
|
+
$this$createClientPlugin.y59(ContentEncoding$lambda$slambda_0(mode, requestHeader, null));
|
|
412
412
|
var tmp_0 = AfterRenderHook_getInstance();
|
|
413
|
-
$this$createClientPlugin.
|
|
413
|
+
$this$createClientPlugin.a4v(tmp_0, ContentEncoding$lambda$slambda_2(mode, $this$createClientPlugin, encoders, null));
|
|
414
414
|
var tmp_1 = ReceiveStateHook_instance;
|
|
415
|
-
$this$createClientPlugin.
|
|
415
|
+
$this$createClientPlugin.a4v(tmp_1, ContentEncoding$lambda$slambda_4(mode, encoders, null));
|
|
416
416
|
return Unit_instance;
|
|
417
417
|
}
|
|
418
418
|
function ContentEncoding$lambda$decode$lambda$lambda($this_headers) {
|
|
@@ -427,7 +427,7 @@ function ContentEncoding$lambda$decode$lambda$lambda($this_headers) {
|
|
|
427
427
|
}
|
|
428
428
|
function ContentEncoding$lambda$decode$lambda($response, $encodings) {
|
|
429
429
|
return function ($this$headers) {
|
|
430
|
-
var tmp = $response.
|
|
430
|
+
var tmp = $response.z3u();
|
|
431
431
|
tmp.w3g(ContentEncoding$lambda$decode$lambda$lambda($this$headers));
|
|
432
432
|
// Inline function 'kotlin.collections.filter' call
|
|
433
433
|
var tmp0 = $encodings;
|
|
@@ -456,14 +456,14 @@ function ContentEncoding$lambda$decode$lambda_0($selectedEncoders) {
|
|
|
456
456
|
};
|
|
457
457
|
}
|
|
458
458
|
function invoke$decodeContent(_this__u8e3s4, encoders) {
|
|
459
|
-
var current = _this__u8e3s4.
|
|
459
|
+
var current = _this__u8e3s4.l4o();
|
|
460
460
|
var _iterator__ex2g4s = encoders.t();
|
|
461
461
|
while (_iterator__ex2g4s.u()) {
|
|
462
462
|
var encoder = _iterator__ex2g4s.v();
|
|
463
463
|
// Inline function 'io.ktor.util.logging.trace' call
|
|
464
464
|
var this_0 = get_LOGGER();
|
|
465
465
|
if (get_isTraceEnabled(this_0)) {
|
|
466
|
-
var tmp$ret$1 = 'Decoding response with ' + toString(encoder) + ' for ' + _this__u8e3s4.
|
|
466
|
+
var tmp$ret$1 = 'Decoding response with ' + toString(encoder) + ' for ' + _this__u8e3s4.c4o().u4n().e4o().toString();
|
|
467
467
|
this_0.o3m(tmp$ret$1);
|
|
468
468
|
}
|
|
469
469
|
current = encoder.a3g(current, _this__u8e3s4.w1v());
|
|
@@ -473,7 +473,7 @@ function invoke$decodeContent(_this__u8e3s4, encoders) {
|
|
|
473
473
|
function invoke$decode(encoders, response) {
|
|
474
474
|
if (!shouldDecode(response))
|
|
475
475
|
return response;
|
|
476
|
-
var tmp0_elvis_lhs = response.
|
|
476
|
+
var tmp0_elvis_lhs = response.z3u().ee('Content-Encoding');
|
|
477
477
|
var tmp;
|
|
478
478
|
if (tmp0_elvis_lhs == null) {
|
|
479
479
|
// Inline function 'kotlin.error' call
|
|
@@ -516,25 +516,25 @@ function invoke$decode(encoders, response) {
|
|
|
516
516
|
}
|
|
517
517
|
var selectedEncoders = destination_0;
|
|
518
518
|
var headers_0 = headers(ContentEncoding$lambda$decode$lambda(response, encodings));
|
|
519
|
-
response.
|
|
520
|
-
var tmp_1 = response.
|
|
521
|
-
return replaceResponse(tmp_1, headers_0, ContentEncoding$lambda$decode$lambda_0(selectedEncoders)).
|
|
519
|
+
response.c4o().v4n().a3c(get_DecompressionListAttribute(), encodings);
|
|
520
|
+
var tmp_1 = response.c4o();
|
|
521
|
+
return replaceResponse(tmp_1, headers_0, ContentEncoding$lambda$decode$lambda_0(selectedEncoders)).l4l();
|
|
522
522
|
}
|
|
523
523
|
function ContentEncoding$lambda$slambda($mode, $requestHeader, resultContinuation) {
|
|
524
|
-
this.
|
|
525
|
-
this.
|
|
524
|
+
this.frs_1 = $mode;
|
|
525
|
+
this.grs_1 = $requestHeader;
|
|
526
526
|
CoroutineImpl.call(this, resultContinuation);
|
|
527
527
|
}
|
|
528
|
-
protoOf(ContentEncoding$lambda$slambda).
|
|
529
|
-
var tmp = this.
|
|
528
|
+
protoOf(ContentEncoding$lambda$slambda).m5a = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
|
|
529
|
+
var tmp = this.n5a($this$onRequest, request, _unused_var__etf5q3, $completion);
|
|
530
530
|
tmp.o9_1 = Unit_instance;
|
|
531
531
|
tmp.p9_1 = null;
|
|
532
532
|
return tmp.u9();
|
|
533
533
|
};
|
|
534
|
-
protoOf(ContentEncoding$lambda$slambda).
|
|
534
|
+
protoOf(ContentEncoding$lambda$slambda).o5a = function (p1, p2, p3, $completion) {
|
|
535
535
|
var tmp = p1 instanceof OnRequestContext ? p1 : THROW_CCE();
|
|
536
536
|
var tmp_0 = p2 instanceof HttpRequestBuilder ? p2 : THROW_CCE();
|
|
537
|
-
return this.
|
|
537
|
+
return this.m5a(tmp, tmp_0, !(p3 == null) ? p3 : THROW_CCE(), $completion);
|
|
538
538
|
};
|
|
539
539
|
protoOf(ContentEncoding$lambda$slambda).u9 = function () {
|
|
540
540
|
var suspendResult = this.o9_1;
|
|
@@ -543,15 +543,15 @@ protoOf(ContentEncoding$lambda$slambda).u9 = function () {
|
|
|
543
543
|
var tmp = this.m9_1;
|
|
544
544
|
if (tmp === 0) {
|
|
545
545
|
this.n9_1 = 1;
|
|
546
|
-
if (!this.
|
|
546
|
+
if (!this.frs_1.prq_1)
|
|
547
547
|
return Unit_instance;
|
|
548
|
-
if (this.
|
|
548
|
+
if (this.irs_1.n4m_1.i3f('Accept-Encoding'))
|
|
549
549
|
return Unit_instance;
|
|
550
550
|
var this_0 = get_LOGGER();
|
|
551
551
|
if (get_isTraceEnabled(this_0)) {
|
|
552
|
-
this_0.o3m('Adding Accept-Encoding=' + this.
|
|
552
|
+
this_0.o3m('Adding Accept-Encoding=' + this.grs_1 + ' for ' + this.irs_1.l4m_1.toString());
|
|
553
553
|
}
|
|
554
|
-
this.
|
|
554
|
+
this.irs_1.n4m_1.a3h('Accept-Encoding', this.grs_1);
|
|
555
555
|
return Unit_instance;
|
|
556
556
|
} else if (tmp === 1) {
|
|
557
557
|
throw this.p9_1;
|
|
@@ -562,36 +562,36 @@ protoOf(ContentEncoding$lambda$slambda).u9 = function () {
|
|
|
562
562
|
}
|
|
563
563
|
while (true);
|
|
564
564
|
};
|
|
565
|
-
protoOf(ContentEncoding$lambda$slambda).
|
|
566
|
-
var i = new ContentEncoding$lambda$slambda(this.
|
|
567
|
-
i.
|
|
568
|
-
i.
|
|
569
|
-
i.
|
|
565
|
+
protoOf(ContentEncoding$lambda$slambda).n5a = function ($this$onRequest, request, _unused_var__etf5q3, completion) {
|
|
566
|
+
var i = new ContentEncoding$lambda$slambda(this.frs_1, this.grs_1, completion);
|
|
567
|
+
i.hrs_1 = $this$onRequest;
|
|
568
|
+
i.irs_1 = request;
|
|
569
|
+
i.jrs_1 = _unused_var__etf5q3;
|
|
570
570
|
return i;
|
|
571
571
|
};
|
|
572
572
|
function ContentEncoding$lambda$slambda_0($mode, $requestHeader, resultContinuation) {
|
|
573
573
|
var i = new ContentEncoding$lambda$slambda($mode, $requestHeader, resultContinuation);
|
|
574
574
|
var l = function ($this$onRequest, request, _unused_var__etf5q3, $completion) {
|
|
575
|
-
return i.
|
|
575
|
+
return i.m5a($this$onRequest, request, _unused_var__etf5q3, $completion);
|
|
576
576
|
};
|
|
577
577
|
l.$arity = 3;
|
|
578
578
|
return l;
|
|
579
579
|
}
|
|
580
580
|
function ContentEncoding$lambda$slambda_1($mode, $this_createClientPlugin, $encoders, resultContinuation) {
|
|
581
|
-
this.
|
|
582
|
-
this.
|
|
583
|
-
this.
|
|
581
|
+
this.srs_1 = $mode;
|
|
582
|
+
this.trs_1 = $this_createClientPlugin;
|
|
583
|
+
this.urs_1 = $encoders;
|
|
584
584
|
CoroutineImpl.call(this, resultContinuation);
|
|
585
585
|
}
|
|
586
|
-
protoOf(ContentEncoding$lambda$slambda_1).
|
|
587
|
-
var tmp = this.
|
|
586
|
+
protoOf(ContentEncoding$lambda$slambda_1).l4v = function (request, content, $completion) {
|
|
587
|
+
var tmp = this.m4v(request, content, $completion);
|
|
588
588
|
tmp.o9_1 = Unit_instance;
|
|
589
589
|
tmp.p9_1 = null;
|
|
590
590
|
return tmp.u9();
|
|
591
591
|
};
|
|
592
592
|
protoOf(ContentEncoding$lambda$slambda_1).ha = function (p1, p2, $completion) {
|
|
593
593
|
var tmp = p1 instanceof HttpRequestBuilder ? p1 : THROW_CCE();
|
|
594
|
-
return this.
|
|
594
|
+
return this.l4v(tmp, p2 instanceof OutgoingContent ? p2 : THROW_CCE(), $completion);
|
|
595
595
|
};
|
|
596
596
|
protoOf(ContentEncoding$lambda$slambda_1).u9 = function () {
|
|
597
597
|
var suspendResult = this.o9_1;
|
|
@@ -600,15 +600,15 @@ protoOf(ContentEncoding$lambda$slambda_1).u9 = function () {
|
|
|
600
600
|
var tmp = this.m9_1;
|
|
601
601
|
if (tmp === 0) {
|
|
602
602
|
this.n9_1 = 1;
|
|
603
|
-
if (!this.
|
|
603
|
+
if (!this.srs_1.orq_1)
|
|
604
604
|
return null;
|
|
605
|
-
var tmp0_elvis_lhs = this.
|
|
605
|
+
var tmp0_elvis_lhs = this.vrs_1.q4m_1.y3b(get_CompressionListAttribute());
|
|
606
606
|
var tmp_0;
|
|
607
607
|
if (tmp0_elvis_lhs == null) {
|
|
608
|
-
this.
|
|
608
|
+
this.trs_1;
|
|
609
609
|
var this_0 = get_LOGGER();
|
|
610
610
|
if (get_isTraceEnabled(this_0)) {
|
|
611
|
-
this_0.o3m('Skipping request compression for ' + this.
|
|
611
|
+
this_0.o3m('Skipping request compression for ' + this.vrs_1.l4m_1.toString() + ' because no compressions set');
|
|
612
612
|
}
|
|
613
613
|
return null;
|
|
614
614
|
} else {
|
|
@@ -617,13 +617,13 @@ protoOf(ContentEncoding$lambda$slambda_1).u9 = function () {
|
|
|
617
617
|
var encoderNames = tmp_0;
|
|
618
618
|
var this_1 = get_LOGGER();
|
|
619
619
|
if (get_isTraceEnabled(this_1)) {
|
|
620
|
-
this_1.o3m('Compressing request body for ' + this.
|
|
620
|
+
this_1.o3m('Compressing request body for ' + this.vrs_1.l4m_1.toString() + ' using ' + toString(encoderNames));
|
|
621
621
|
}
|
|
622
622
|
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(encoderNames, 10));
|
|
623
623
|
var _iterator__ex2g4s = encoderNames.t();
|
|
624
624
|
while (_iterator__ex2g4s.u()) {
|
|
625
625
|
var item = _iterator__ex2g4s.v();
|
|
626
|
-
var tmp0_elvis_lhs_0 = this.
|
|
626
|
+
var tmp0_elvis_lhs_0 = this.urs_1.a3(item);
|
|
627
627
|
var tmp_1;
|
|
628
628
|
if (tmp0_elvis_lhs_0 == null) {
|
|
629
629
|
throw new UnsupportedContentEncodingException(item);
|
|
@@ -635,12 +635,12 @@ protoOf(ContentEncoding$lambda$slambda_1).u9 = function () {
|
|
|
635
635
|
var selectedEncoders = destination;
|
|
636
636
|
if (selectedEncoders.r())
|
|
637
637
|
return null;
|
|
638
|
-
var accumulator = this.
|
|
638
|
+
var accumulator = this.wrs_1;
|
|
639
639
|
var _iterator__ex2g4s_0 = selectedEncoders.t();
|
|
640
640
|
while (_iterator__ex2g4s_0.u()) {
|
|
641
641
|
var element = _iterator__ex2g4s_0.v();
|
|
642
642
|
var compressed_0 = accumulator;
|
|
643
|
-
var tmp0_elvis_lhs_1 = compressed(compressed_0, element, this.
|
|
643
|
+
var tmp0_elvis_lhs_1 = compressed(compressed_0, element, this.vrs_1.p4m_1);
|
|
644
644
|
accumulator = tmp0_elvis_lhs_1 == null ? compressed_0 : tmp0_elvis_lhs_1;
|
|
645
645
|
}
|
|
646
646
|
return accumulator;
|
|
@@ -653,33 +653,33 @@ protoOf(ContentEncoding$lambda$slambda_1).u9 = function () {
|
|
|
653
653
|
}
|
|
654
654
|
while (true);
|
|
655
655
|
};
|
|
656
|
-
protoOf(ContentEncoding$lambda$slambda_1).
|
|
657
|
-
var i = new ContentEncoding$lambda$slambda_1(this.
|
|
658
|
-
i.
|
|
659
|
-
i.
|
|
656
|
+
protoOf(ContentEncoding$lambda$slambda_1).m4v = function (request, content, completion) {
|
|
657
|
+
var i = new ContentEncoding$lambda$slambda_1(this.srs_1, this.trs_1, this.urs_1, completion);
|
|
658
|
+
i.vrs_1 = request;
|
|
659
|
+
i.wrs_1 = content;
|
|
660
660
|
return i;
|
|
661
661
|
};
|
|
662
662
|
function ContentEncoding$lambda$slambda_2($mode, $this_createClientPlugin, $encoders, resultContinuation) {
|
|
663
663
|
var i = new ContentEncoding$lambda$slambda_1($mode, $this_createClientPlugin, $encoders, resultContinuation);
|
|
664
664
|
var l = function (request, content, $completion) {
|
|
665
|
-
return i.
|
|
665
|
+
return i.l4v(request, content, $completion);
|
|
666
666
|
};
|
|
667
667
|
l.$arity = 2;
|
|
668
668
|
return l;
|
|
669
669
|
}
|
|
670
670
|
function ContentEncoding$lambda$slambda_3($mode, $encoders, resultContinuation) {
|
|
671
|
-
this.
|
|
672
|
-
this.
|
|
671
|
+
this.frt_1 = $mode;
|
|
672
|
+
this.grt_1 = $encoders;
|
|
673
673
|
CoroutineImpl.call(this, resultContinuation);
|
|
674
674
|
}
|
|
675
|
-
protoOf(ContentEncoding$lambda$slambda_3).
|
|
676
|
-
var tmp = this.
|
|
675
|
+
protoOf(ContentEncoding$lambda$slambda_3).w4v = function (response, $completion) {
|
|
676
|
+
var tmp = this.x4v(response, $completion);
|
|
677
677
|
tmp.o9_1 = Unit_instance;
|
|
678
678
|
tmp.p9_1 = null;
|
|
679
679
|
return tmp.u9();
|
|
680
680
|
};
|
|
681
681
|
protoOf(ContentEncoding$lambda$slambda_3).ga = function (p1, $completion) {
|
|
682
|
-
return this.
|
|
682
|
+
return this.w4v(p1 instanceof HttpResponse ? p1 : THROW_CCE(), $completion);
|
|
683
683
|
};
|
|
684
684
|
protoOf(ContentEncoding$lambda$slambda_3).u9 = function () {
|
|
685
685
|
var suspendResult = this.o9_1;
|
|
@@ -688,15 +688,15 @@ protoOf(ContentEncoding$lambda$slambda_3).u9 = function () {
|
|
|
688
688
|
var tmp = this.m9_1;
|
|
689
689
|
if (tmp === 0) {
|
|
690
690
|
this.n9_1 = 1;
|
|
691
|
-
if (!this.
|
|
691
|
+
if (!this.frt_1.prq_1)
|
|
692
692
|
return null;
|
|
693
|
-
var method = get_request(this.
|
|
694
|
-
var contentLength_0 = contentLength(this.
|
|
693
|
+
var method = get_request(this.hrt_1).d4o();
|
|
694
|
+
var contentLength_0 = contentLength(this.hrt_1);
|
|
695
695
|
if (contentLength_0 === 0n)
|
|
696
696
|
return null;
|
|
697
|
-
if (contentLength_0 == null && method.equals(Companion_getInstance().
|
|
697
|
+
if (contentLength_0 == null && method.equals(Companion_getInstance().f3v_1))
|
|
698
698
|
return null;
|
|
699
|
-
return invoke$decode(this.
|
|
699
|
+
return invoke$decode(this.grt_1, this.hrt_1);
|
|
700
700
|
} else if (tmp === 1) {
|
|
701
701
|
throw this.p9_1;
|
|
702
702
|
}
|
|
@@ -706,15 +706,15 @@ protoOf(ContentEncoding$lambda$slambda_3).u9 = function () {
|
|
|
706
706
|
}
|
|
707
707
|
while (true);
|
|
708
708
|
};
|
|
709
|
-
protoOf(ContentEncoding$lambda$slambda_3).
|
|
710
|
-
var i = new ContentEncoding$lambda$slambda_3(this.
|
|
711
|
-
i.
|
|
709
|
+
protoOf(ContentEncoding$lambda$slambda_3).x4v = function (response, completion) {
|
|
710
|
+
var i = new ContentEncoding$lambda$slambda_3(this.frt_1, this.grt_1, completion);
|
|
711
|
+
i.hrt_1 = response;
|
|
712
712
|
return i;
|
|
713
713
|
};
|
|
714
714
|
function ContentEncoding$lambda$slambda_4($mode, $encoders, resultContinuation) {
|
|
715
715
|
var i = new ContentEncoding$lambda$slambda_3($mode, $encoders, resultContinuation);
|
|
716
716
|
var l = function (response, $completion) {
|
|
717
|
-
return i.
|
|
717
|
+
return i.w4v(response, $completion);
|
|
718
718
|
};
|
|
719
719
|
l.$arity = 1;
|
|
720
720
|
return l;
|