@doordeck/doordeck-headless-sdk 0.132.0 → 0.134.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 +44 -44
- package/kotlin/Kermit-kermit.js +4 -4
- package/kotlin/Kotlin-DateTime-library-kotlinx-datetime.js +1411 -1411
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +74 -22
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +18 -18
- package/kotlin/doordeck-sdk.d.ts +13 -91
- package/kotlin/doordeck-sdk.js +9739 -10202
- package/kotlin/kotlin-kotlin-stdlib.js +6 -6
- package/kotlin/kotlinx-atomicfu.js +13 -13
- package/kotlin/kotlinx-coroutines-core.js +1906 -1906
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +32 -32
- package/kotlin/kotlinx-io-kotlinx-io-core.js +443 -443
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1710 -1710
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1347 -1347
- package/kotlin/ktor-ktor-client-auth.js +241 -241
- package/kotlin/ktor-ktor-client-content-negotiation.js +135 -135
- package/kotlin/ktor-ktor-client-core.js +1882 -1882
- package/kotlin/ktor-ktor-client-logging.js +668 -668
- package/kotlin/ktor-ktor-events.js +6 -6
- package/kotlin/ktor-ktor-http-cio.js +330 -330
- package/kotlin/ktor-ktor-http.js +682 -682
- package/kotlin/ktor-ktor-io.js +628 -628
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/kotlin/ktor-ktor-serialization-kotlinx.js +140 -140
- package/kotlin/ktor-ktor-serialization.js +62 -62
- package/kotlin/ktor-ktor-utils.js +660 -660
- package/kotlin/ktor-ktor-websockets.js +37 -37
- package/package.json +1 -1
package/kotlin/ktor-ktor-io.js
CHANGED
|
@@ -91,10 +91,10 @@
|
|
|
91
91
|
initMetadataForObject(Empty, 'Empty');
|
|
92
92
|
initMetadataForClass(Closed, 'Closed');
|
|
93
93
|
function resume() {
|
|
94
|
-
return this.
|
|
94
|
+
return this.z1k().r9(Companion_getInstance().w1k_1);
|
|
95
95
|
}
|
|
96
96
|
function resume_0(throwable) {
|
|
97
|
-
var tmp = this.
|
|
97
|
+
var tmp = this.z1k();
|
|
98
98
|
var tmp_0;
|
|
99
99
|
if (throwable == null) {
|
|
100
100
|
tmp_0 = null;
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
tmp_0 = new Result(tmp$ret$2);
|
|
106
106
|
}
|
|
107
107
|
var tmp1_elvis_lhs = tmp_0;
|
|
108
|
-
return tmp.r9(tmp1_elvis_lhs == null ? Companion_getInstance().
|
|
108
|
+
return tmp.r9(tmp1_elvis_lhs == null ? Companion_getInstance().w1k_1 : tmp1_elvis_lhs.pl_1);
|
|
109
109
|
}
|
|
110
110
|
initMetadataForInterface(Task, 'Task');
|
|
111
111
|
initMetadataForClass(Read, 'Read', VOID, VOID, [Task]);
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
initMetadataForCoroutine($flushAndCloseCOROUTINE$, CoroutineImpl);
|
|
116
116
|
function awaitContent$default(min, $completion, $super) {
|
|
117
117
|
min = min === VOID ? 1 : min;
|
|
118
|
-
return $super === VOID ? this.
|
|
118
|
+
return $super === VOID ? this.l1n(min, $completion) : $super.l1n.call(this, min, $completion);
|
|
119
119
|
}
|
|
120
120
|
initMetadataForInterface(ByteReadChannel_1, 'ByteReadChannel', VOID, VOID, VOID, [1]);
|
|
121
121
|
initMetadataForClass(ByteChannel, 'ByteChannel', ByteChannel, VOID, [ByteReadChannel_1], [1, 0]);
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
initMetadataForClass(MalformedInputException, 'MalformedInputException', VOID, IOException);
|
|
158
158
|
initMetadataForClass(TooLongLineException, 'TooLongLineException', VOID, MalformedInputException);
|
|
159
159
|
function close() {
|
|
160
|
-
this.
|
|
160
|
+
this.vr();
|
|
161
161
|
}
|
|
162
162
|
initMetadataForInterface(ObjectPool, 'ObjectPool', VOID, VOID, [AutoCloseable]);
|
|
163
163
|
initMetadataForClass(DefaultPool, 'DefaultPool', VOID, VOID, [ObjectPool]);
|
|
@@ -176,10 +176,10 @@
|
|
|
176
176
|
//endregion
|
|
177
177
|
function Companion() {
|
|
178
178
|
Companion_instance_0 = this;
|
|
179
|
-
this.
|
|
179
|
+
this.v1k_1 = new Closed(null);
|
|
180
180
|
var tmp = this;
|
|
181
181
|
// Inline function 'kotlin.Companion.success' call
|
|
182
|
-
tmp.
|
|
182
|
+
tmp.w1k_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
183
183
|
}
|
|
184
184
|
var Companion_instance_0;
|
|
185
185
|
function Companion_getInstance() {
|
|
@@ -208,13 +208,13 @@
|
|
|
208
208
|
return Empty_instance;
|
|
209
209
|
}
|
|
210
210
|
function Closed(cause) {
|
|
211
|
-
this.
|
|
211
|
+
this.x1k_1 = cause;
|
|
212
212
|
}
|
|
213
213
|
protoOf(Closed).toString = function () {
|
|
214
|
-
return 'Closed(cause=' + toString(this.
|
|
214
|
+
return 'Closed(cause=' + toString(this.x1k_1) + ')';
|
|
215
215
|
};
|
|
216
216
|
protoOf(Closed).hashCode = function () {
|
|
217
|
-
return this.
|
|
217
|
+
return this.x1k_1 == null ? 0 : hashCode(this.x1k_1);
|
|
218
218
|
};
|
|
219
219
|
protoOf(Closed).equals = function (other) {
|
|
220
220
|
if (this === other)
|
|
@@ -222,74 +222,74 @@
|
|
|
222
222
|
if (!(other instanceof Closed))
|
|
223
223
|
return false;
|
|
224
224
|
var tmp0_other_with_cast = other instanceof Closed ? other : THROW_CCE();
|
|
225
|
-
if (!equals(this.
|
|
225
|
+
if (!equals(this.x1k_1, tmp0_other_with_cast.x1k_1))
|
|
226
226
|
return false;
|
|
227
227
|
return true;
|
|
228
228
|
};
|
|
229
229
|
function Task() {
|
|
230
230
|
}
|
|
231
231
|
function Read(continuation) {
|
|
232
|
-
this.
|
|
233
|
-
this.
|
|
232
|
+
this.d1l_1 = continuation;
|
|
233
|
+
this.e1l_1 = null;
|
|
234
234
|
if (get_DEVELOPMENT_MODE()) {
|
|
235
235
|
var tmp = this;
|
|
236
236
|
// Inline function 'kotlin.also' call
|
|
237
|
-
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.
|
|
237
|
+
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.d1l_1), 16));
|
|
238
238
|
stackTraceToString(this_0);
|
|
239
|
-
tmp.
|
|
239
|
+
tmp.e1l_1 = this_0;
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
|
-
protoOf(Read).
|
|
243
|
-
return this.
|
|
242
|
+
protoOf(Read).z1k = function () {
|
|
243
|
+
return this.d1l_1;
|
|
244
244
|
};
|
|
245
|
-
protoOf(Read).
|
|
246
|
-
return this.
|
|
245
|
+
protoOf(Read).y1k = function () {
|
|
246
|
+
return this.e1l_1;
|
|
247
247
|
};
|
|
248
|
-
protoOf(Read).
|
|
248
|
+
protoOf(Read).a1l = function () {
|
|
249
249
|
return 'read';
|
|
250
250
|
};
|
|
251
251
|
function Write(continuation) {
|
|
252
|
-
this.
|
|
253
|
-
this.
|
|
252
|
+
this.f1l_1 = continuation;
|
|
253
|
+
this.g1l_1 = null;
|
|
254
254
|
if (get_DEVELOPMENT_MODE()) {
|
|
255
255
|
var tmp = this;
|
|
256
256
|
// Inline function 'kotlin.also' call
|
|
257
|
-
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.
|
|
257
|
+
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.f1l_1), 16));
|
|
258
258
|
stackTraceToString(this_0);
|
|
259
|
-
tmp.
|
|
259
|
+
tmp.g1l_1 = this_0;
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
|
-
protoOf(Write).
|
|
263
|
-
return this.
|
|
262
|
+
protoOf(Write).z1k = function () {
|
|
263
|
+
return this.f1l_1;
|
|
264
264
|
};
|
|
265
|
-
protoOf(Write).
|
|
266
|
-
return this.
|
|
265
|
+
protoOf(Write).y1k = function () {
|
|
266
|
+
return this.g1l_1;
|
|
267
267
|
};
|
|
268
|
-
protoOf(Write).
|
|
268
|
+
protoOf(Write).a1l = function () {
|
|
269
269
|
return 'write';
|
|
270
270
|
};
|
|
271
271
|
function moveFlushToReadBuffer($this) {
|
|
272
272
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
273
|
-
$this.
|
|
274
|
-
$this.
|
|
275
|
-
$this.
|
|
273
|
+
$this.k1l_1;
|
|
274
|
+
$this.i1l_1.a1j($this.m1l_1);
|
|
275
|
+
$this.j1l_1 = 0;
|
|
276
276
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
277
|
-
var current = $this.
|
|
277
|
+
var current = $this.l1l_1.kotlinx$atomicfu$value;
|
|
278
278
|
var tmp;
|
|
279
279
|
if (current instanceof Write) {
|
|
280
|
-
tmp = $this.
|
|
280
|
+
tmp = $this.l1l_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
281
281
|
} else {
|
|
282
282
|
tmp = false;
|
|
283
283
|
}
|
|
284
284
|
if (tmp) {
|
|
285
|
-
current.
|
|
285
|
+
current.b1l();
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
function closeSlot($this, cause) {
|
|
289
|
-
var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().
|
|
290
|
-
var continuation = $this.
|
|
289
|
+
var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().v1k_1;
|
|
290
|
+
var continuation = $this.l1l_1.atomicfu$getAndSet(closeContinuation);
|
|
291
291
|
if (isInterface(continuation, Task)) {
|
|
292
|
-
continuation.
|
|
292
|
+
continuation.c1l(cause);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
function ClosedReadChannelException$_init_$ref_ix0089() {
|
|
@@ -308,8 +308,8 @@
|
|
|
308
308
|
}
|
|
309
309
|
function $awaitContentCOROUTINE$(_this__u8e3s4, min, resultContinuation) {
|
|
310
310
|
CoroutineImpl.call(this, resultContinuation);
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
311
|
+
this.x1l_1 = _this__u8e3s4;
|
|
312
|
+
this.y1l_1 = min;
|
|
313
313
|
}
|
|
314
314
|
protoOf($awaitContentCOROUTINE$).o9 = function () {
|
|
315
315
|
var suspendResult = this.i9_1;
|
|
@@ -319,41 +319,41 @@
|
|
|
319
319
|
switch (tmp) {
|
|
320
320
|
case 0:
|
|
321
321
|
this.h9_1 = 4;
|
|
322
|
-
rethrowCloseCauseIfNeeded_0(this.
|
|
323
|
-
if (this.
|
|
322
|
+
rethrowCloseCauseIfNeeded_0(this.x1l_1);
|
|
323
|
+
if (this.x1l_1.m1l_1.s().e1(toLong(this.y1l_1)) >= 0)
|
|
324
324
|
return true;
|
|
325
325
|
var tmp_0 = this;
|
|
326
|
-
tmp_0.
|
|
327
|
-
this.
|
|
326
|
+
tmp_0.z1l_1 = this.x1l_1;
|
|
327
|
+
this.a1m_1 = this.z1l_1;
|
|
328
328
|
this.g9_1 = 1;
|
|
329
329
|
continue $sm;
|
|
330
330
|
case 1:
|
|
331
|
-
if (!(numberToLong(this.
|
|
331
|
+
if (!(numberToLong(this.x1l_1.j1l_1).z2(this.x1l_1.m1l_1.s()).e1(toLong(this.y1l_1)) < 0 && this.x1l_1.o1l_1.kotlinx$atomicfu$value == null)) {
|
|
332
332
|
this.g9_1 = 3;
|
|
333
333
|
continue $sm;
|
|
334
334
|
}
|
|
335
335
|
|
|
336
336
|
this.g9_1 = 2;
|
|
337
337
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
338
|
-
cancellable.
|
|
339
|
-
var tmp0 = this.
|
|
338
|
+
cancellable.ys();
|
|
339
|
+
var tmp0 = this.a1m_1;
|
|
340
340
|
var tmp2 = new Read(cancellable);
|
|
341
341
|
l$ret$1: do {
|
|
342
|
-
var previous = tmp0.
|
|
342
|
+
var previous = tmp0.l1l_1.kotlinx$atomicfu$value;
|
|
343
343
|
if (!(previous instanceof Closed)) {
|
|
344
|
-
if (!tmp0.
|
|
345
|
-
tmp2.
|
|
344
|
+
if (!tmp0.l1l_1.atomicfu$compareAndSet(previous, tmp2)) {
|
|
345
|
+
tmp2.b1l();
|
|
346
346
|
break l$ret$1;
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
if (previous instanceof Read) {
|
|
350
|
-
previous.
|
|
350
|
+
previous.c1l(new ConcurrentIOException(tmp2.a1l(), previous.y1k()));
|
|
351
351
|
} else {
|
|
352
352
|
if (isInterface(previous, Task)) {
|
|
353
|
-
previous.
|
|
353
|
+
previous.b1l();
|
|
354
354
|
} else {
|
|
355
355
|
if (previous instanceof Closed) {
|
|
356
|
-
tmp2.
|
|
356
|
+
tmp2.c1l(previous.x1k_1);
|
|
357
357
|
break l$ret$1;
|
|
358
358
|
} else {
|
|
359
359
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -362,21 +362,21 @@
|
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
if (!(numberToLong(this.
|
|
366
|
-
var current = tmp0.
|
|
365
|
+
if (!(numberToLong(this.x1l_1.j1l_1).z2(this.x1l_1.m1l_1.s()).e1(toLong(this.y1l_1)) < 0 && this.x1l_1.o1l_1.kotlinx$atomicfu$value == null)) {
|
|
366
|
+
var current = tmp0.l1l_1.kotlinx$atomicfu$value;
|
|
367
367
|
var tmp_1;
|
|
368
368
|
if (current instanceof Read) {
|
|
369
|
-
tmp_1 = tmp0.
|
|
369
|
+
tmp_1 = tmp0.l1l_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
370
370
|
} else {
|
|
371
371
|
tmp_1 = false;
|
|
372
372
|
}
|
|
373
373
|
if (tmp_1) {
|
|
374
|
-
current.
|
|
374
|
+
current.b1l();
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
while (false);
|
|
379
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
379
|
+
suspendResult = returnIfSuspended(cancellable.zs(), this);
|
|
380
380
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
381
381
|
return suspendResult;
|
|
382
382
|
}
|
|
@@ -386,11 +386,11 @@
|
|
|
386
386
|
this.g9_1 = 1;
|
|
387
387
|
continue $sm;
|
|
388
388
|
case 3:
|
|
389
|
-
if (this.
|
|
390
|
-
moveFlushToReadBuffer(this.
|
|
389
|
+
if (this.x1l_1.m1l_1.s().e1(new Long(1048576, 0)) < 0) {
|
|
390
|
+
moveFlushToReadBuffer(this.x1l_1);
|
|
391
391
|
}
|
|
392
392
|
|
|
393
|
-
return this.
|
|
393
|
+
return this.x1l_1.m1l_1.s().e1(toLong(this.y1l_1)) >= 0;
|
|
394
394
|
case 4:
|
|
395
395
|
throw this.j9_1;
|
|
396
396
|
}
|
|
@@ -407,7 +407,7 @@
|
|
|
407
407
|
};
|
|
408
408
|
function $flushCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
409
409
|
CoroutineImpl.call(this, resultContinuation);
|
|
410
|
-
this.
|
|
410
|
+
this.j1m_1 = _this__u8e3s4;
|
|
411
411
|
}
|
|
412
412
|
protoOf($flushCOROUTINE$).o9 = function () {
|
|
413
413
|
var suspendResult = this.i9_1;
|
|
@@ -417,42 +417,42 @@
|
|
|
417
417
|
switch (tmp) {
|
|
418
418
|
case 0:
|
|
419
419
|
this.h9_1 = 4;
|
|
420
|
-
rethrowCloseCauseIfNeeded_0(this.
|
|
421
|
-
this.
|
|
422
|
-
if (this.
|
|
420
|
+
rethrowCloseCauseIfNeeded_0(this.j1m_1);
|
|
421
|
+
this.j1m_1.m1m();
|
|
422
|
+
if (this.j1m_1.j1l_1 < 1048576)
|
|
423
423
|
return Unit_instance;
|
|
424
424
|
var tmp_0 = this;
|
|
425
|
-
tmp_0.
|
|
426
|
-
this.
|
|
425
|
+
tmp_0.k1m_1 = this.j1m_1;
|
|
426
|
+
this.l1m_1 = this.k1m_1;
|
|
427
427
|
this.g9_1 = 1;
|
|
428
428
|
continue $sm;
|
|
429
429
|
case 1:
|
|
430
|
-
if (!(this.
|
|
430
|
+
if (!(this.j1m_1.j1l_1 >= 1048576 && this.j1m_1.o1l_1.kotlinx$atomicfu$value == null)) {
|
|
431
431
|
this.g9_1 = 3;
|
|
432
432
|
continue $sm;
|
|
433
433
|
}
|
|
434
434
|
|
|
435
435
|
this.g9_1 = 2;
|
|
436
436
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
437
|
-
cancellable.
|
|
438
|
-
var tmp0 = this.
|
|
437
|
+
cancellable.ys();
|
|
438
|
+
var tmp0 = this.l1m_1;
|
|
439
439
|
var tmp2 = new Write(cancellable);
|
|
440
440
|
l$ret$1: do {
|
|
441
|
-
var previous = tmp0.
|
|
441
|
+
var previous = tmp0.l1l_1.kotlinx$atomicfu$value;
|
|
442
442
|
if (!(previous instanceof Closed)) {
|
|
443
|
-
if (!tmp0.
|
|
444
|
-
tmp2.
|
|
443
|
+
if (!tmp0.l1l_1.atomicfu$compareAndSet(previous, tmp2)) {
|
|
444
|
+
tmp2.b1l();
|
|
445
445
|
break l$ret$1;
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
448
|
if (previous instanceof Write) {
|
|
449
|
-
previous.
|
|
449
|
+
previous.c1l(new ConcurrentIOException(tmp2.a1l(), previous.y1k()));
|
|
450
450
|
} else {
|
|
451
451
|
if (isInterface(previous, Task)) {
|
|
452
|
-
previous.
|
|
452
|
+
previous.b1l();
|
|
453
453
|
} else {
|
|
454
454
|
if (previous instanceof Closed) {
|
|
455
|
-
tmp2.
|
|
455
|
+
tmp2.c1l(previous.x1k_1);
|
|
456
456
|
break l$ret$1;
|
|
457
457
|
} else {
|
|
458
458
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -461,21 +461,21 @@
|
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
if (!(this.
|
|
465
|
-
var current = tmp0.
|
|
464
|
+
if (!(this.j1m_1.j1l_1 >= 1048576 && this.j1m_1.o1l_1.kotlinx$atomicfu$value == null)) {
|
|
465
|
+
var current = tmp0.l1l_1.kotlinx$atomicfu$value;
|
|
466
466
|
var tmp_1;
|
|
467
467
|
if (current instanceof Write) {
|
|
468
|
-
tmp_1 = tmp0.
|
|
468
|
+
tmp_1 = tmp0.l1l_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
469
469
|
} else {
|
|
470
470
|
tmp_1 = false;
|
|
471
471
|
}
|
|
472
472
|
if (tmp_1) {
|
|
473
|
-
current.
|
|
473
|
+
current.b1l();
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
while (false);
|
|
478
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
478
|
+
suspendResult = returnIfSuspended(cancellable.zs(), this);
|
|
479
479
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
480
480
|
return suspendResult;
|
|
481
481
|
}
|
|
@@ -502,7 +502,7 @@
|
|
|
502
502
|
};
|
|
503
503
|
function $flushAndCloseCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
504
504
|
CoroutineImpl.call(this, resultContinuation);
|
|
505
|
-
this.
|
|
505
|
+
this.v1m_1 = _this__u8e3s4;
|
|
506
506
|
}
|
|
507
507
|
protoOf($flushAndCloseCOROUTINE$).o9 = function () {
|
|
508
508
|
var suspendResult = this.i9_1;
|
|
@@ -513,16 +513,16 @@
|
|
|
513
513
|
case 0:
|
|
514
514
|
this.h9_1 = 4;
|
|
515
515
|
var tmp_0 = this;
|
|
516
|
-
tmp_0.
|
|
517
|
-
this.
|
|
516
|
+
tmp_0.w1m_1 = this.v1m_1;
|
|
517
|
+
this.x1m_1 = this.w1m_1;
|
|
518
518
|
this.h9_1 = 2;
|
|
519
519
|
var tmp_1 = this;
|
|
520
|
-
tmp_1.
|
|
520
|
+
tmp_1.z1m_1 = Companion_instance;
|
|
521
521
|
var tmp_2 = this;
|
|
522
|
-
tmp_2.
|
|
523
|
-
this.
|
|
522
|
+
tmp_2.a1n_1 = this.x1m_1;
|
|
523
|
+
this.b1n_1 = this.a1n_1;
|
|
524
524
|
this.g9_1 = 1;
|
|
525
|
-
suspendResult = this.
|
|
525
|
+
suspendResult = this.b1n_1.c1n(this);
|
|
526
526
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
527
527
|
return suspendResult;
|
|
528
528
|
}
|
|
@@ -530,8 +530,8 @@
|
|
|
530
530
|
continue $sm;
|
|
531
531
|
case 1:
|
|
532
532
|
var tmp_3 = this;
|
|
533
|
-
this.
|
|
534
|
-
tmp_3.
|
|
533
|
+
this.z1m_1;
|
|
534
|
+
tmp_3.y1m_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
535
535
|
this.h9_1 = 4;
|
|
536
536
|
this.g9_1 = 3;
|
|
537
537
|
continue $sm;
|
|
@@ -541,7 +541,7 @@
|
|
|
541
541
|
if (tmp_4 instanceof Error) {
|
|
542
542
|
var e = this.j9_1;
|
|
543
543
|
var tmp_5 = this;
|
|
544
|
-
tmp_5.
|
|
544
|
+
tmp_5.y1m_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
545
545
|
this.g9_1 = 3;
|
|
546
546
|
continue $sm;
|
|
547
547
|
} else {
|
|
@@ -550,9 +550,9 @@
|
|
|
550
550
|
|
|
551
551
|
case 3:
|
|
552
552
|
this.h9_1 = 4;
|
|
553
|
-
if (!this.
|
|
553
|
+
if (!this.v1m_1.o1l_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
554
554
|
return Unit_instance;
|
|
555
|
-
closeSlot(this.
|
|
555
|
+
closeSlot(this.v1m_1, null);
|
|
556
556
|
return Unit_instance;
|
|
557
557
|
case 4:
|
|
558
558
|
throw this.j9_1;
|
|
@@ -570,101 +570,101 @@
|
|
|
570
570
|
};
|
|
571
571
|
function ByteChannel(autoFlush) {
|
|
572
572
|
autoFlush = autoFlush === VOID ? false : autoFlush;
|
|
573
|
-
this.
|
|
574
|
-
this.
|
|
575
|
-
this.
|
|
576
|
-
this.
|
|
577
|
-
this.
|
|
578
|
-
this.
|
|
579
|
-
this.
|
|
580
|
-
this.
|
|
581
|
-
}
|
|
582
|
-
protoOf(ByteChannel).
|
|
583
|
-
var tmp0_safe_receiver = this.
|
|
573
|
+
this.h1l_1 = autoFlush;
|
|
574
|
+
this.i1l_1 = new Buffer();
|
|
575
|
+
this.j1l_1 = 0;
|
|
576
|
+
this.k1l_1 = new Object();
|
|
577
|
+
this.l1l_1 = atomic$ref$1(Empty_instance);
|
|
578
|
+
this.m1l_1 = new Buffer();
|
|
579
|
+
this.n1l_1 = new Buffer();
|
|
580
|
+
this.o1l_1 = atomic$ref$1(null);
|
|
581
|
+
}
|
|
582
|
+
protoOf(ByteChannel).d1n = function () {
|
|
583
|
+
var tmp0_safe_receiver = this.o1l_1.kotlinx$atomicfu$value;
|
|
584
584
|
if (tmp0_safe_receiver == null)
|
|
585
585
|
null;
|
|
586
586
|
else {
|
|
587
|
-
tmp0_safe_receiver.
|
|
587
|
+
tmp0_safe_receiver.f1n(ClosedReadChannelException$_init_$ref_ix0089());
|
|
588
588
|
}
|
|
589
|
-
if (this.
|
|
589
|
+
if (this.m1l_1.x1h()) {
|
|
590
590
|
moveFlushToReadBuffer(this);
|
|
591
591
|
}
|
|
592
|
-
return this.
|
|
592
|
+
return this.m1l_1;
|
|
593
593
|
};
|
|
594
|
-
protoOf(ByteChannel).
|
|
595
|
-
if (this.
|
|
596
|
-
var tmp0_safe_receiver = this.
|
|
594
|
+
protoOf(ByteChannel).g1n = function () {
|
|
595
|
+
if (this.h1n()) {
|
|
596
|
+
var tmp0_safe_receiver = this.o1l_1.kotlinx$atomicfu$value;
|
|
597
597
|
var tmp;
|
|
598
598
|
if (tmp0_safe_receiver == null) {
|
|
599
599
|
tmp = null;
|
|
600
600
|
} else {
|
|
601
|
-
tmp = tmp0_safe_receiver.
|
|
601
|
+
tmp = tmp0_safe_receiver.f1n(ClosedWriteChannelException$_init_$ref_ef15ty());
|
|
602
602
|
}
|
|
603
603
|
if (tmp == null)
|
|
604
604
|
throw new ClosedWriteChannelException();
|
|
605
605
|
}
|
|
606
|
-
return this.
|
|
606
|
+
return this.n1l_1;
|
|
607
607
|
};
|
|
608
|
-
protoOf(ByteChannel).
|
|
609
|
-
var tmp0_safe_receiver = this.
|
|
610
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
608
|
+
protoOf(ByteChannel).i1n = function () {
|
|
609
|
+
var tmp0_safe_receiver = this.o1l_1.kotlinx$atomicfu$value;
|
|
610
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j1n();
|
|
611
611
|
};
|
|
612
|
-
protoOf(ByteChannel).
|
|
613
|
-
return !(this.
|
|
612
|
+
protoOf(ByteChannel).h1n = function () {
|
|
613
|
+
return !(this.o1l_1.kotlinx$atomicfu$value == null);
|
|
614
614
|
};
|
|
615
|
-
protoOf(ByteChannel).
|
|
616
|
-
return !(this.
|
|
615
|
+
protoOf(ByteChannel).k1n = function () {
|
|
616
|
+
return !(this.i1n() == null) || (this.h1n() && this.j1l_1 === 0 && this.m1l_1.x1h());
|
|
617
617
|
};
|
|
618
|
-
protoOf(ByteChannel).
|
|
618
|
+
protoOf(ByteChannel).l1n = function (min, $completion) {
|
|
619
619
|
var tmp = new $awaitContentCOROUTINE$(this, min, $completion);
|
|
620
620
|
tmp.i9_1 = Unit_instance;
|
|
621
621
|
tmp.j9_1 = null;
|
|
622
622
|
return tmp.o9();
|
|
623
623
|
};
|
|
624
|
-
protoOf(ByteChannel).
|
|
624
|
+
protoOf(ByteChannel).c1n = function ($completion) {
|
|
625
625
|
var tmp = new $flushCOROUTINE$(this, $completion);
|
|
626
626
|
tmp.i9_1 = Unit_instance;
|
|
627
627
|
tmp.j9_1 = null;
|
|
628
628
|
return tmp.o9();
|
|
629
629
|
};
|
|
630
|
-
protoOf(ByteChannel).
|
|
631
|
-
if (this.
|
|
630
|
+
protoOf(ByteChannel).m1m = function () {
|
|
631
|
+
if (this.n1l_1.x1h())
|
|
632
632
|
return Unit_instance;
|
|
633
633
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
634
|
-
this.
|
|
635
|
-
var count = this.
|
|
636
|
-
this.
|
|
637
|
-
this.
|
|
634
|
+
this.k1l_1;
|
|
635
|
+
var count = this.n1l_1.s().j1();
|
|
636
|
+
this.i1l_1.p1j(this.n1l_1);
|
|
637
|
+
this.j1l_1 = this.j1l_1 + count | 0;
|
|
638
638
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
639
|
-
var current = this.
|
|
639
|
+
var current = this.l1l_1.kotlinx$atomicfu$value;
|
|
640
640
|
var tmp;
|
|
641
641
|
if (current instanceof Read) {
|
|
642
|
-
tmp = this.
|
|
642
|
+
tmp = this.l1l_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
643
643
|
} else {
|
|
644
644
|
tmp = false;
|
|
645
645
|
}
|
|
646
646
|
if (tmp) {
|
|
647
|
-
current.
|
|
647
|
+
current.b1l();
|
|
648
648
|
}
|
|
649
649
|
};
|
|
650
650
|
protoOf(ByteChannel).p4 = function () {
|
|
651
|
-
this.
|
|
652
|
-
if (!this.
|
|
651
|
+
this.m1m();
|
|
652
|
+
if (!this.o1l_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
653
653
|
return Unit_instance;
|
|
654
654
|
closeSlot(this, null);
|
|
655
655
|
};
|
|
656
|
-
protoOf(ByteChannel).
|
|
656
|
+
protoOf(ByteChannel).n1n = function ($completion) {
|
|
657
657
|
var tmp = new $flushAndCloseCOROUTINE$(this, $completion);
|
|
658
658
|
tmp.i9_1 = Unit_instance;
|
|
659
659
|
tmp.j9_1 = null;
|
|
660
660
|
return tmp.o9();
|
|
661
661
|
};
|
|
662
|
-
protoOf(ByteChannel).
|
|
663
|
-
if (!(this.
|
|
662
|
+
protoOf(ByteChannel).o1n = function (cause) {
|
|
663
|
+
if (!(this.o1l_1.kotlinx$atomicfu$value == null))
|
|
664
664
|
return Unit_instance;
|
|
665
665
|
var closedToken = new CloseToken(cause);
|
|
666
|
-
this.
|
|
667
|
-
var wrappedCause = closedToken.
|
|
666
|
+
this.o1l_1.atomicfu$compareAndSet(null, closedToken);
|
|
667
|
+
var wrappedCause = closedToken.j1n();
|
|
668
668
|
closeSlot(this, wrappedCause);
|
|
669
669
|
};
|
|
670
670
|
protoOf(ByteChannel).toString = function () {
|
|
@@ -680,7 +680,7 @@
|
|
|
680
680
|
length = length === VOID ? content.length : length;
|
|
681
681
|
// Inline function 'kotlin.also' call
|
|
682
682
|
var this_0 = new Buffer();
|
|
683
|
-
this_0.
|
|
683
|
+
this_0.g1j(content, offset, offset + length | 0);
|
|
684
684
|
var source = this_0;
|
|
685
685
|
return ByteReadChannel_0(source);
|
|
686
686
|
}
|
|
@@ -688,18 +688,18 @@
|
|
|
688
688
|
return new SourceByteReadChannel(source);
|
|
689
689
|
}
|
|
690
690
|
function buildPartialMatchTable($this) {
|
|
691
|
-
var table = new Int32Array($this.
|
|
691
|
+
var table = new Int32Array($this.q1n_1.s());
|
|
692
692
|
var j = 0;
|
|
693
693
|
var inductionVariable = 1;
|
|
694
|
-
var last = $this.
|
|
694
|
+
var last = $this.q1n_1.s();
|
|
695
695
|
if (inductionVariable < last)
|
|
696
696
|
do {
|
|
697
697
|
var i = inductionVariable;
|
|
698
698
|
inductionVariable = inductionVariable + 1 | 0;
|
|
699
|
-
while (j > 0 && !($this.
|
|
699
|
+
while (j > 0 && !($this.q1n_1.u(i) === $this.q1n_1.u(j))) {
|
|
700
700
|
j = table[j - 1 | 0];
|
|
701
701
|
}
|
|
702
|
-
if ($this.
|
|
702
|
+
if ($this.q1n_1.u(i) === $this.q1n_1.u(j)) {
|
|
703
703
|
j = j + 1 | 0;
|
|
704
704
|
}
|
|
705
705
|
table[i] = j;
|
|
@@ -720,8 +720,8 @@
|
|
|
720
720
|
return tmp.o9();
|
|
721
721
|
}
|
|
722
722
|
function checkBounds($this, extra) {
|
|
723
|
-
if ($this.
|
|
724
|
-
throw IOException_init_$Create$('Limit of ' + $this.
|
|
723
|
+
if ($this.w1n_1.z2(extra).e1($this.s1n_1) > 0) {
|
|
724
|
+
throw IOException_init_$Create$('Limit of ' + $this.s1n_1.toString() + ' bytes exceeded ' + ('while searching for "' + toSingleLineString($this, $this.q1n_1) + '"'));
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
727
|
function toSingleLineString($this, _this__u8e3s4) {
|
|
@@ -729,8 +729,8 @@
|
|
|
729
729
|
}
|
|
730
730
|
function $findNextCOROUTINE$(_this__u8e3s4, ignoreMissing, resultContinuation) {
|
|
731
731
|
CoroutineImpl.call(this, resultContinuation);
|
|
732
|
-
this.
|
|
733
|
-
this.
|
|
732
|
+
this.e1p_1 = _this__u8e3s4;
|
|
733
|
+
this.f1p_1 = ignoreMissing;
|
|
734
734
|
}
|
|
735
735
|
protoOf($findNextCOROUTINE$).o9 = function () {
|
|
736
736
|
var suspendResult = this.i9_1;
|
|
@@ -740,17 +740,17 @@
|
|
|
740
740
|
switch (tmp) {
|
|
741
741
|
case 0:
|
|
742
742
|
this.h9_1 = 9;
|
|
743
|
-
this.
|
|
743
|
+
this.e1p_1.w1n_1 = new Long(0, 0);
|
|
744
744
|
this.g9_1 = 1;
|
|
745
745
|
continue $sm;
|
|
746
746
|
case 1:
|
|
747
|
-
if (!this.
|
|
748
|
-
this.
|
|
747
|
+
if (!this.e1p_1.t1n_1.x1h()) {
|
|
748
|
+
this.g1p_1 = true;
|
|
749
749
|
this.g9_1 = 3;
|
|
750
750
|
continue $sm;
|
|
751
751
|
} else {
|
|
752
752
|
this.g9_1 = 2;
|
|
753
|
-
suspendResult = this.
|
|
753
|
+
suspendResult = this.e1p_1.p1n_1.m1n(VOID, this);
|
|
754
754
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
755
755
|
return suspendResult;
|
|
756
756
|
}
|
|
@@ -758,17 +758,17 @@
|
|
|
758
758
|
}
|
|
759
759
|
|
|
760
760
|
case 2:
|
|
761
|
-
this.
|
|
761
|
+
this.g1p_1 = suspendResult;
|
|
762
762
|
this.g9_1 = 3;
|
|
763
763
|
continue $sm;
|
|
764
764
|
case 3:
|
|
765
|
-
if (!this.
|
|
765
|
+
if (!this.g1p_1) {
|
|
766
766
|
this.g9_1 = 7;
|
|
767
767
|
continue $sm;
|
|
768
768
|
}
|
|
769
769
|
|
|
770
770
|
this.g9_1 = 4;
|
|
771
|
-
suspendResult = advanceToNextPotentialMatch(this.
|
|
771
|
+
suspendResult = advanceToNextPotentialMatch(this.e1p_1, this);
|
|
772
772
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
773
773
|
return suspendResult;
|
|
774
774
|
}
|
|
@@ -776,7 +776,7 @@
|
|
|
776
776
|
continue $sm;
|
|
777
777
|
case 4:
|
|
778
778
|
this.g9_1 = 5;
|
|
779
|
-
suspendResult = checkFullMatch(this.
|
|
779
|
+
suspendResult = checkFullMatch(this.e1p_1, this);
|
|
780
780
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
781
781
|
return suspendResult;
|
|
782
782
|
}
|
|
@@ -784,7 +784,7 @@
|
|
|
784
784
|
continue $sm;
|
|
785
785
|
case 5:
|
|
786
786
|
if (suspendResult) {
|
|
787
|
-
return this.
|
|
787
|
+
return this.e1p_1.w1n_1;
|
|
788
788
|
} else {
|
|
789
789
|
this.g9_1 = 6;
|
|
790
790
|
continue $sm;
|
|
@@ -794,20 +794,20 @@
|
|
|
794
794
|
this.g9_1 = 1;
|
|
795
795
|
continue $sm;
|
|
796
796
|
case 7:
|
|
797
|
-
if (!this.
|
|
798
|
-
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.
|
|
797
|
+
if (!this.f1p_1) {
|
|
798
|
+
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.e1p_1, this.e1p_1.q1n_1) + '" but encountered end of input');
|
|
799
799
|
}
|
|
800
800
|
|
|
801
|
-
this.
|
|
801
|
+
this.e1p_1.w1n_1 = this.e1p_1.w1n_1.z2(this.e1p_1.v1n_1.a1j(this.e1p_1.r1n_1.g1n()));
|
|
802
802
|
this.g9_1 = 8;
|
|
803
|
-
suspendResult = this.
|
|
803
|
+
suspendResult = this.e1p_1.r1n_1.c1n(this);
|
|
804
804
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
805
805
|
return suspendResult;
|
|
806
806
|
}
|
|
807
807
|
|
|
808
808
|
continue $sm;
|
|
809
809
|
case 8:
|
|
810
|
-
return this.
|
|
810
|
+
return this.e1p_1.w1n_1;
|
|
811
811
|
case 9:
|
|
812
812
|
throw this.j9_1;
|
|
813
813
|
}
|
|
@@ -824,7 +824,7 @@
|
|
|
824
824
|
};
|
|
825
825
|
function $advanceToNextPotentialMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
826
826
|
CoroutineImpl.call(this, resultContinuation);
|
|
827
|
-
this.
|
|
827
|
+
this.g1o_1 = _this__u8e3s4;
|
|
828
828
|
}
|
|
829
829
|
protoOf($advanceToNextPotentialMatchCOROUTINE$).o9 = function () {
|
|
830
830
|
var suspendResult = this.i9_1;
|
|
@@ -837,13 +837,13 @@
|
|
|
837
837
|
this.g9_1 = 1;
|
|
838
838
|
continue $sm;
|
|
839
839
|
case 1:
|
|
840
|
-
if (!this.
|
|
841
|
-
this.
|
|
840
|
+
if (!this.g1o_1.t1n_1.x1h()) {
|
|
841
|
+
this.h1o_1 = true;
|
|
842
842
|
this.g9_1 = 3;
|
|
843
843
|
continue $sm;
|
|
844
844
|
} else {
|
|
845
845
|
this.g9_1 = 2;
|
|
846
|
-
suspendResult = this.
|
|
846
|
+
suspendResult = this.g1o_1.p1n_1.m1n(VOID, this);
|
|
847
847
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
848
848
|
return suspendResult;
|
|
849
849
|
}
|
|
@@ -851,34 +851,34 @@
|
|
|
851
851
|
}
|
|
852
852
|
|
|
853
853
|
case 2:
|
|
854
|
-
this.
|
|
854
|
+
this.h1o_1 = suspendResult;
|
|
855
855
|
this.g9_1 = 3;
|
|
856
856
|
continue $sm;
|
|
857
857
|
case 3:
|
|
858
|
-
if (!this.
|
|
858
|
+
if (!this.h1o_1) {
|
|
859
859
|
this.g9_1 = 7;
|
|
860
860
|
continue $sm;
|
|
861
861
|
}
|
|
862
862
|
|
|
863
|
-
this.
|
|
864
|
-
if (this.
|
|
865
|
-
var tmp_0 = this.
|
|
866
|
-
checkBounds(this.
|
|
867
|
-
this.
|
|
863
|
+
this.i1o_1 = indexOf(this.g1o_1.t1n_1, this.g1o_1.q1n_1.u(0));
|
|
864
|
+
if (this.i1o_1.equals(new Long(-1, -1))) {
|
|
865
|
+
var tmp_0 = this.g1o_1.t1n_1;
|
|
866
|
+
checkBounds(this.g1o_1, (tmp_0 instanceof Buffer ? tmp_0 : THROW_CCE()).s());
|
|
867
|
+
this.g1o_1.w1n_1 = this.g1o_1.w1n_1.z2(this.g1o_1.t1n_1.a1j(this.g1o_1.r1n_1.g1n()));
|
|
868
868
|
this.g9_1 = 5;
|
|
869
|
-
suspendResult = flushIfNeeded(this.
|
|
869
|
+
suspendResult = flushIfNeeded(this.g1o_1.r1n_1, this);
|
|
870
870
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
871
871
|
return suspendResult;
|
|
872
872
|
}
|
|
873
873
|
continue $sm;
|
|
874
874
|
} else {
|
|
875
|
-
checkBounds(this.
|
|
876
|
-
var tmp_1 = this.
|
|
877
|
-
var tmp_2 = this.
|
|
878
|
-
var tmp_3 = this.
|
|
879
|
-
tmp_1.
|
|
875
|
+
checkBounds(this.g1o_1, this.i1o_1);
|
|
876
|
+
var tmp_1 = this.g1o_1;
|
|
877
|
+
var tmp_2 = this.g1o_1.w1n_1;
|
|
878
|
+
var tmp_3 = this.g1o_1.r1n_1.g1n();
|
|
879
|
+
tmp_1.w1n_1 = tmp_2.z2(this.g1o_1.t1n_1.x1i(tmp_3 instanceof Buffer ? tmp_3 : THROW_CCE(), this.i1o_1));
|
|
880
880
|
this.g9_1 = 4;
|
|
881
|
-
suspendResult = flushIfNeeded(this.
|
|
881
|
+
suspendResult = flushIfNeeded(this.g1o_1.r1n_1, this);
|
|
882
882
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
883
883
|
return suspendResult;
|
|
884
884
|
}
|
|
@@ -911,7 +911,7 @@
|
|
|
911
911
|
};
|
|
912
912
|
function $checkFullMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
913
913
|
CoroutineImpl.call(this, resultContinuation);
|
|
914
|
-
this.
|
|
914
|
+
this.r1o_1 = _this__u8e3s4;
|
|
915
915
|
}
|
|
916
916
|
protoOf($checkFullMatchCOROUTINE$).o9 = function () {
|
|
917
917
|
var suspendResult = this.i9_1;
|
|
@@ -924,13 +924,13 @@
|
|
|
924
924
|
this.g9_1 = 1;
|
|
925
925
|
continue $sm;
|
|
926
926
|
case 1:
|
|
927
|
-
if (!this.
|
|
928
|
-
this.
|
|
927
|
+
if (!this.r1o_1.t1n_1.x1h()) {
|
|
928
|
+
this.s1o_1 = true;
|
|
929
929
|
this.g9_1 = 3;
|
|
930
930
|
continue $sm;
|
|
931
931
|
} else {
|
|
932
932
|
this.g9_1 = 2;
|
|
933
|
-
suspendResult = this.
|
|
933
|
+
suspendResult = this.r1o_1.p1n_1.m1n(VOID, this);
|
|
934
934
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
935
935
|
return suspendResult;
|
|
936
936
|
}
|
|
@@ -938,30 +938,30 @@
|
|
|
938
938
|
}
|
|
939
939
|
|
|
940
940
|
case 2:
|
|
941
|
-
this.
|
|
941
|
+
this.s1o_1 = suspendResult;
|
|
942
942
|
this.g9_1 = 3;
|
|
943
943
|
continue $sm;
|
|
944
944
|
case 3:
|
|
945
|
-
if (!this.
|
|
945
|
+
if (!this.s1o_1) {
|
|
946
946
|
this.g9_1 = 7;
|
|
947
947
|
continue $sm;
|
|
948
948
|
}
|
|
949
949
|
|
|
950
|
-
this.
|
|
951
|
-
if (this.
|
|
952
|
-
this.
|
|
953
|
-
while (this.
|
|
954
|
-
this.
|
|
950
|
+
this.t1o_1 = this.r1o_1.t1n_1.a1i();
|
|
951
|
+
if (this.r1o_1.x1n_1 > 0 && !(this.t1o_1 === this.r1o_1.q1n_1.u(this.r1o_1.x1n_1))) {
|
|
952
|
+
this.u1o_1 = this.r1o_1.x1n_1;
|
|
953
|
+
while (this.r1o_1.x1n_1 > 0 && !(this.t1o_1 === this.r1o_1.q1n_1.u(this.r1o_1.x1n_1))) {
|
|
954
|
+
this.r1o_1.x1n_1 = this.r1o_1.u1n_1[this.r1o_1.x1n_1 - 1 | 0];
|
|
955
955
|
}
|
|
956
|
-
this.
|
|
957
|
-
checkBounds(this.
|
|
958
|
-
var tmp_0 = this.
|
|
959
|
-
var tmp_1 = this.
|
|
960
|
-
var tmp_2 = this.
|
|
961
|
-
tmp_0.
|
|
962
|
-
if (this.
|
|
956
|
+
this.v1o_1 = toLong(this.u1o_1 - this.r1o_1.x1n_1 | 0);
|
|
957
|
+
checkBounds(this.r1o_1, this.v1o_1);
|
|
958
|
+
var tmp_0 = this.r1o_1;
|
|
959
|
+
var tmp_1 = this.r1o_1.w1n_1;
|
|
960
|
+
var tmp_2 = this.r1o_1.r1n_1.g1n();
|
|
961
|
+
tmp_0.w1n_1 = tmp_1.z2(this.r1o_1.v1n_1.x1i(tmp_2 instanceof Buffer ? tmp_2 : THROW_CCE(), this.v1o_1));
|
|
962
|
+
if (this.r1o_1.x1n_1 === 0 && !(this.t1o_1 === this.r1o_1.q1n_1.u(this.r1o_1.x1n_1))) {
|
|
963
963
|
this.g9_1 = 6;
|
|
964
|
-
suspendResult = writeByte(this.
|
|
964
|
+
suspendResult = writeByte(this.r1o_1.r1n_1, this.t1o_1, this);
|
|
965
965
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
966
966
|
return suspendResult;
|
|
967
967
|
}
|
|
@@ -979,17 +979,17 @@
|
|
|
979
979
|
this.g9_1 = 5;
|
|
980
980
|
continue $sm;
|
|
981
981
|
case 5:
|
|
982
|
-
this.
|
|
983
|
-
if (this.
|
|
982
|
+
this.r1o_1.x1n_1 = this.r1o_1.x1n_1 + 1 | 0;
|
|
983
|
+
if (this.r1o_1.x1n_1 === this.r1o_1.q1n_1.s()) {
|
|
984
984
|
return true;
|
|
985
985
|
}
|
|
986
986
|
|
|
987
|
-
this.
|
|
987
|
+
this.r1o_1.v1n_1.q1j(this.t1o_1);
|
|
988
988
|
this.g9_1 = 1;
|
|
989
989
|
continue $sm;
|
|
990
990
|
case 6:
|
|
991
|
-
var _unary__edvuaz = this.
|
|
992
|
-
this.
|
|
991
|
+
var _unary__edvuaz = this.r1o_1.w1n_1;
|
|
992
|
+
this.r1o_1.w1n_1 = _unary__edvuaz.e3();
|
|
993
993
|
return false;
|
|
994
994
|
case 7:
|
|
995
995
|
return false;
|
|
@@ -1009,49 +1009,49 @@
|
|
|
1009
1009
|
};
|
|
1010
1010
|
function ByteChannelScanner(channel, matchString, writeChannel, limit) {
|
|
1011
1011
|
limit = limit === VOID ? new Long(-1, 2147483647) : limit;
|
|
1012
|
-
this.
|
|
1013
|
-
this.
|
|
1014
|
-
this.
|
|
1015
|
-
this.
|
|
1012
|
+
this.p1n_1 = channel;
|
|
1013
|
+
this.q1n_1 = matchString;
|
|
1014
|
+
this.r1n_1 = writeChannel;
|
|
1015
|
+
this.s1n_1 = limit;
|
|
1016
1016
|
// Inline function 'kotlin.require' call
|
|
1017
|
-
if (!(this.
|
|
1017
|
+
if (!(this.q1n_1.s() > 0)) {
|
|
1018
1018
|
var message = 'Empty match string not permitted for scanning';
|
|
1019
1019
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
1020
1020
|
}
|
|
1021
|
-
this.
|
|
1022
|
-
this.
|
|
1023
|
-
this.
|
|
1024
|
-
this.
|
|
1025
|
-
this.
|
|
1021
|
+
this.t1n_1 = this.p1n_1.d1n();
|
|
1022
|
+
this.u1n_1 = buildPartialMatchTable(this);
|
|
1023
|
+
this.v1n_1 = new Buffer();
|
|
1024
|
+
this.w1n_1 = new Long(0, 0);
|
|
1025
|
+
this.x1n_1 = 0;
|
|
1026
1026
|
}
|
|
1027
|
-
protoOf(ByteChannelScanner).
|
|
1027
|
+
protoOf(ByteChannelScanner).h1p = function (ignoreMissing, $completion) {
|
|
1028
1028
|
var tmp = new $findNextCOROUTINE$(this, ignoreMissing, $completion);
|
|
1029
1029
|
tmp.i9_1 = Unit_instance;
|
|
1030
1030
|
tmp.j9_1 = null;
|
|
1031
1031
|
return tmp.o9();
|
|
1032
1032
|
};
|
|
1033
1033
|
function ByteReadChannel$Companion$Empty$1() {
|
|
1034
|
-
this.
|
|
1035
|
-
this.
|
|
1034
|
+
this.i1p_1 = null;
|
|
1035
|
+
this.j1p_1 = new Buffer();
|
|
1036
1036
|
}
|
|
1037
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1038
|
-
return this.
|
|
1037
|
+
protoOf(ByteReadChannel$Companion$Empty$1).i1n = function () {
|
|
1038
|
+
return this.i1p_1;
|
|
1039
1039
|
};
|
|
1040
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1040
|
+
protoOf(ByteReadChannel$Companion$Empty$1).k1n = function () {
|
|
1041
1041
|
return true;
|
|
1042
1042
|
};
|
|
1043
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1044
|
-
return this.
|
|
1043
|
+
protoOf(ByteReadChannel$Companion$Empty$1).d1n = function () {
|
|
1044
|
+
return this.j1p_1;
|
|
1045
1045
|
};
|
|
1046
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1046
|
+
protoOf(ByteReadChannel$Companion$Empty$1).l1n = function (min, $completion) {
|
|
1047
1047
|
return false;
|
|
1048
1048
|
};
|
|
1049
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1049
|
+
protoOf(ByteReadChannel$Companion$Empty$1).o1n = function (cause) {
|
|
1050
1050
|
};
|
|
1051
1051
|
function Companion_0() {
|
|
1052
1052
|
Companion_instance_1 = this;
|
|
1053
1053
|
var tmp = this;
|
|
1054
|
-
tmp.
|
|
1054
|
+
tmp.k1p_1 = new ByteReadChannel$Companion$Empty$1();
|
|
1055
1055
|
}
|
|
1056
1056
|
var Companion_instance_1;
|
|
1057
1057
|
function Companion_getInstance_0() {
|
|
@@ -1062,7 +1062,7 @@
|
|
|
1062
1062
|
function ByteReadChannel_1() {
|
|
1063
1063
|
}
|
|
1064
1064
|
function cancel_0(_this__u8e3s4) {
|
|
1065
|
-
_this__u8e3s4.
|
|
1065
|
+
_this__u8e3s4.o1n(IOException_init_$Create$('Channel was cancelled'));
|
|
1066
1066
|
}
|
|
1067
1067
|
function readRemaining(_this__u8e3s4, $completion) {
|
|
1068
1068
|
var tmp = new $readRemainingCOROUTINE$(_this__u8e3s4, $completion);
|
|
@@ -1104,7 +1104,7 @@
|
|
|
1104
1104
|
return tmp.o9();
|
|
1105
1105
|
}
|
|
1106
1106
|
function rethrowCloseCauseIfNeeded(_this__u8e3s4) {
|
|
1107
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1107
|
+
var tmp0_safe_receiver = _this__u8e3s4.i1n();
|
|
1108
1108
|
if (tmp0_safe_receiver == null)
|
|
1109
1109
|
null;
|
|
1110
1110
|
else {
|
|
@@ -1113,7 +1113,7 @@
|
|
|
1113
1113
|
}
|
|
1114
1114
|
}
|
|
1115
1115
|
function get_availableForRead(_this__u8e3s4) {
|
|
1116
|
-
return _this__u8e3s4.
|
|
1116
|
+
return _this__u8e3s4.d1n().w1h().s().j1();
|
|
1117
1117
|
}
|
|
1118
1118
|
function readBuffer(_this__u8e3s4, $completion) {
|
|
1119
1119
|
var tmp = new $readBufferCOROUTINE$(_this__u8e3s4, $completion);
|
|
@@ -1123,14 +1123,14 @@
|
|
|
1123
1123
|
}
|
|
1124
1124
|
function readUTF8LineTo(_this__u8e3s4, out, max, lineEnding, $completion) {
|
|
1125
1125
|
max = max === VOID ? 2147483647 : max;
|
|
1126
|
-
lineEnding = lineEnding === VOID ? Companion_getInstance_1().
|
|
1126
|
+
lineEnding = lineEnding === VOID ? Companion_getInstance_1().s1s_1 : lineEnding;
|
|
1127
1127
|
var tmp = new $readUTF8LineToCOROUTINE$(_this__u8e3s4, out, max, lineEnding, $completion);
|
|
1128
1128
|
tmp.i9_1 = Unit_instance;
|
|
1129
1129
|
tmp.j9_1 = null;
|
|
1130
1130
|
return tmp.o9();
|
|
1131
1131
|
}
|
|
1132
1132
|
function rethrowCloseCauseIfNeeded_0(_this__u8e3s4) {
|
|
1133
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1133
|
+
var tmp0_safe_receiver = _this__u8e3s4.i1n();
|
|
1134
1134
|
if (tmp0_safe_receiver == null)
|
|
1135
1135
|
null;
|
|
1136
1136
|
else {
|
|
@@ -1139,7 +1139,7 @@
|
|
|
1139
1139
|
}
|
|
1140
1140
|
}
|
|
1141
1141
|
function rethrowCloseCauseIfNeeded_1(_this__u8e3s4) {
|
|
1142
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1142
|
+
var tmp0_safe_receiver = _this__u8e3s4.i1n();
|
|
1143
1143
|
if (tmp0_safe_receiver == null)
|
|
1144
1144
|
null;
|
|
1145
1145
|
else {
|
|
@@ -1168,7 +1168,7 @@
|
|
|
1168
1168
|
function readUntil(_this__u8e3s4, matchString, writeChannel, limit, ignoreMissing, $completion) {
|
|
1169
1169
|
limit = limit === VOID ? new Long(-1, 2147483647) : limit;
|
|
1170
1170
|
ignoreMissing = ignoreMissing === VOID ? false : ignoreMissing;
|
|
1171
|
-
return (new ByteChannelScanner(_this__u8e3s4, matchString, writeChannel, limit)).
|
|
1171
|
+
return (new ByteChannelScanner(_this__u8e3s4, matchString, writeChannel, limit)).h1p(ignoreMissing, $completion);
|
|
1172
1172
|
}
|
|
1173
1173
|
function peek(_this__u8e3s4, count, $completion) {
|
|
1174
1174
|
var tmp = new $peekCOROUTINE$(_this__u8e3s4, count, $completion);
|
|
@@ -1183,7 +1183,7 @@
|
|
|
1183
1183
|
}
|
|
1184
1184
|
function $readRemainingCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1185
1185
|
CoroutineImpl.call(this, resultContinuation);
|
|
1186
|
-
this.
|
|
1186
|
+
this.t1p_1 = _this__u8e3s4;
|
|
1187
1187
|
}
|
|
1188
1188
|
protoOf($readRemainingCOROUTINE$).o9 = function () {
|
|
1189
1189
|
var suspendResult = this.i9_1;
|
|
@@ -1193,18 +1193,18 @@
|
|
|
1193
1193
|
switch (tmp) {
|
|
1194
1194
|
case 0:
|
|
1195
1195
|
this.h9_1 = 4;
|
|
1196
|
-
this.
|
|
1196
|
+
this.u1p_1 = BytePacketBuilder();
|
|
1197
1197
|
this.g9_1 = 1;
|
|
1198
1198
|
continue $sm;
|
|
1199
1199
|
case 1:
|
|
1200
|
-
if (!!this.
|
|
1200
|
+
if (!!this.t1p_1.k1n()) {
|
|
1201
1201
|
this.g9_1 = 3;
|
|
1202
1202
|
continue $sm;
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
1205
|
-
this.
|
|
1205
|
+
this.u1p_1.p1j(this.t1p_1.d1n());
|
|
1206
1206
|
this.g9_1 = 2;
|
|
1207
|
-
suspendResult = this.
|
|
1207
|
+
suspendResult = this.t1p_1.m1n(VOID, this);
|
|
1208
1208
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1209
1209
|
return suspendResult;
|
|
1210
1210
|
}
|
|
@@ -1214,8 +1214,8 @@
|
|
|
1214
1214
|
this.g9_1 = 1;
|
|
1215
1215
|
continue $sm;
|
|
1216
1216
|
case 3:
|
|
1217
|
-
rethrowCloseCauseIfNeeded(this.
|
|
1218
|
-
return this.
|
|
1217
|
+
rethrowCloseCauseIfNeeded(this.t1p_1);
|
|
1218
|
+
return this.u1p_1.w1h();
|
|
1219
1219
|
case 4:
|
|
1220
1220
|
throw this.j9_1;
|
|
1221
1221
|
}
|
|
@@ -1232,8 +1232,8 @@
|
|
|
1232
1232
|
};
|
|
1233
1233
|
function $discardCOROUTINE$(_this__u8e3s4, max, resultContinuation) {
|
|
1234
1234
|
CoroutineImpl.call(this, resultContinuation);
|
|
1235
|
-
this.
|
|
1236
|
-
this.
|
|
1235
|
+
this.d1q_1 = _this__u8e3s4;
|
|
1236
|
+
this.e1q_1 = max;
|
|
1237
1237
|
}
|
|
1238
1238
|
protoOf($discardCOROUTINE$).o9 = function () {
|
|
1239
1239
|
var suspendResult = this.i9_1;
|
|
@@ -1243,18 +1243,18 @@
|
|
|
1243
1243
|
switch (tmp) {
|
|
1244
1244
|
case 0:
|
|
1245
1245
|
this.h9_1 = 5;
|
|
1246
|
-
this.
|
|
1246
|
+
this.f1q_1 = this.e1q_1;
|
|
1247
1247
|
this.g9_1 = 1;
|
|
1248
1248
|
continue $sm;
|
|
1249
1249
|
case 1:
|
|
1250
|
-
if (!(this.
|
|
1250
|
+
if (!(this.f1q_1.e1(new Long(0, 0)) > 0 && !this.d1q_1.k1n())) {
|
|
1251
1251
|
this.g9_1 = 4;
|
|
1252
1252
|
continue $sm;
|
|
1253
1253
|
}
|
|
1254
1254
|
|
|
1255
|
-
if (get_availableForRead(this.
|
|
1255
|
+
if (get_availableForRead(this.d1q_1) === 0) {
|
|
1256
1256
|
this.g9_1 = 2;
|
|
1257
|
-
suspendResult = this.
|
|
1257
|
+
suspendResult = this.d1q_1.m1n(VOID, this);
|
|
1258
1258
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1259
1259
|
return suspendResult;
|
|
1260
1260
|
}
|
|
@@ -1268,15 +1268,15 @@
|
|
|
1268
1268
|
this.g9_1 = 3;
|
|
1269
1269
|
continue $sm;
|
|
1270
1270
|
case 3:
|
|
1271
|
-
var tmp0 = this.
|
|
1272
|
-
var b = get_remaining(this.
|
|
1271
|
+
var tmp0 = this.f1q_1;
|
|
1272
|
+
var b = get_remaining(this.d1q_1.d1n());
|
|
1273
1273
|
var count = tmp0.e1(b) <= 0 ? tmp0 : b;
|
|
1274
|
-
discard_0(this.
|
|
1275
|
-
this.
|
|
1274
|
+
discard_0(this.d1q_1.d1n(), count);
|
|
1275
|
+
this.f1q_1 = this.f1q_1.a3(count);
|
|
1276
1276
|
this.g9_1 = 1;
|
|
1277
1277
|
continue $sm;
|
|
1278
1278
|
case 4:
|
|
1279
|
-
return this.
|
|
1279
|
+
return this.e1q_1.a3(this.f1q_1);
|
|
1280
1280
|
case 5:
|
|
1281
1281
|
throw this.j9_1;
|
|
1282
1282
|
}
|
|
@@ -1293,10 +1293,10 @@
|
|
|
1293
1293
|
};
|
|
1294
1294
|
function $readAvailableCOROUTINE$(_this__u8e3s4, buffer, offset, length, resultContinuation) {
|
|
1295
1295
|
CoroutineImpl.call(this, resultContinuation);
|
|
1296
|
-
this.
|
|
1297
|
-
this.
|
|
1298
|
-
this.
|
|
1299
|
-
this.
|
|
1296
|
+
this.o1q_1 = _this__u8e3s4;
|
|
1297
|
+
this.p1q_1 = buffer;
|
|
1298
|
+
this.q1q_1 = offset;
|
|
1299
|
+
this.r1q_1 = length;
|
|
1300
1300
|
}
|
|
1301
1301
|
protoOf($readAvailableCOROUTINE$).o9 = function () {
|
|
1302
1302
|
var suspendResult = this.i9_1;
|
|
@@ -1306,11 +1306,11 @@
|
|
|
1306
1306
|
switch (tmp) {
|
|
1307
1307
|
case 0:
|
|
1308
1308
|
this.h9_1 = 3;
|
|
1309
|
-
if (this.
|
|
1309
|
+
if (this.o1q_1.k1n())
|
|
1310
1310
|
return -1;
|
|
1311
|
-
if (this.
|
|
1311
|
+
if (this.o1q_1.d1n().x1h()) {
|
|
1312
1312
|
this.g9_1 = 1;
|
|
1313
|
-
suspendResult = this.
|
|
1313
|
+
suspendResult = this.o1q_1.m1n(VOID, this);
|
|
1314
1314
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1315
1315
|
return suspendResult;
|
|
1316
1316
|
}
|
|
@@ -1324,9 +1324,9 @@
|
|
|
1324
1324
|
this.g9_1 = 2;
|
|
1325
1325
|
continue $sm;
|
|
1326
1326
|
case 2:
|
|
1327
|
-
if (this.
|
|
1327
|
+
if (this.o1q_1.k1n())
|
|
1328
1328
|
return -1;
|
|
1329
|
-
return readAvailable_0(this.
|
|
1329
|
+
return readAvailable_0(this.o1q_1.d1n(), this.p1q_1, this.q1q_1, this.r1q_1);
|
|
1330
1330
|
case 3:
|
|
1331
1331
|
throw this.j9_1;
|
|
1332
1332
|
}
|
|
@@ -1343,7 +1343,7 @@
|
|
|
1343
1343
|
};
|
|
1344
1344
|
function $toByteArrayCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1345
1345
|
CoroutineImpl.call(this, resultContinuation);
|
|
1346
|
-
this.
|
|
1346
|
+
this.a1r_1 = _this__u8e3s4;
|
|
1347
1347
|
}
|
|
1348
1348
|
protoOf($toByteArrayCOROUTINE$).o9 = function () {
|
|
1349
1349
|
var suspendResult = this.i9_1;
|
|
@@ -1354,7 +1354,7 @@
|
|
|
1354
1354
|
case 0:
|
|
1355
1355
|
this.h9_1 = 2;
|
|
1356
1356
|
this.g9_1 = 1;
|
|
1357
|
-
suspendResult = readBuffer(this.
|
|
1357
|
+
suspendResult = readBuffer(this.a1r_1, this);
|
|
1358
1358
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1359
1359
|
return suspendResult;
|
|
1360
1360
|
}
|
|
@@ -1379,9 +1379,9 @@
|
|
|
1379
1379
|
};
|
|
1380
1380
|
function $copyToCOROUTINE$(_this__u8e3s4, channel, limit, resultContinuation) {
|
|
1381
1381
|
CoroutineImpl.call(this, resultContinuation);
|
|
1382
|
-
this.
|
|
1383
|
-
this.
|
|
1384
|
-
this.
|
|
1382
|
+
this.j1r_1 = _this__u8e3s4;
|
|
1383
|
+
this.k1r_1 = channel;
|
|
1384
|
+
this.l1r_1 = limit;
|
|
1385
1385
|
}
|
|
1386
1386
|
protoOf($copyToCOROUTINE$).o9 = function () {
|
|
1387
1387
|
var suspendResult = this.i9_1;
|
|
@@ -1391,7 +1391,7 @@
|
|
|
1391
1391
|
switch (tmp) {
|
|
1392
1392
|
case 0:
|
|
1393
1393
|
this.h9_1 = 12;
|
|
1394
|
-
this.
|
|
1394
|
+
this.m1r_1 = this.l1r_1;
|
|
1395
1395
|
this.g9_1 = 1;
|
|
1396
1396
|
continue $sm;
|
|
1397
1397
|
case 1:
|
|
@@ -1400,14 +1400,14 @@
|
|
|
1400
1400
|
this.g9_1 = 2;
|
|
1401
1401
|
continue $sm;
|
|
1402
1402
|
case 2:
|
|
1403
|
-
if (!(!this.
|
|
1403
|
+
if (!(!this.j1r_1.k1n() && this.m1r_1.e1(new Long(0, 0)) > 0)) {
|
|
1404
1404
|
this.g9_1 = 6;
|
|
1405
1405
|
continue $sm;
|
|
1406
1406
|
}
|
|
1407
1407
|
|
|
1408
|
-
if (this.
|
|
1408
|
+
if (this.j1r_1.d1n().x1h()) {
|
|
1409
1409
|
this.g9_1 = 3;
|
|
1410
|
-
suspendResult = this.
|
|
1410
|
+
suspendResult = this.j1r_1.m1n(VOID, this);
|
|
1411
1411
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1412
1412
|
return suspendResult;
|
|
1413
1413
|
}
|
|
@@ -1422,13 +1422,13 @@
|
|
|
1422
1422
|
continue $sm;
|
|
1423
1423
|
case 4:
|
|
1424
1424
|
var tmp_0 = this;
|
|
1425
|
-
var tmp0 = this.
|
|
1426
|
-
var b = get_remaining(this.
|
|
1427
|
-
tmp_0.
|
|
1428
|
-
this.
|
|
1429
|
-
this.
|
|
1425
|
+
var tmp0 = this.m1r_1;
|
|
1426
|
+
var b = get_remaining(this.j1r_1.d1n());
|
|
1427
|
+
tmp_0.o1r_1 = tmp0.e1(b) <= 0 ? tmp0 : b;
|
|
1428
|
+
this.j1r_1.d1n().z1i(this.k1r_1.g1n(), this.o1r_1);
|
|
1429
|
+
this.m1r_1 = this.m1r_1.a3(this.o1r_1);
|
|
1430
1430
|
this.g9_1 = 5;
|
|
1431
|
-
suspendResult = this.
|
|
1431
|
+
suspendResult = this.k1r_1.c1n(this);
|
|
1432
1432
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1433
1433
|
return suspendResult;
|
|
1434
1434
|
}
|
|
@@ -1438,7 +1438,7 @@
|
|
|
1438
1438
|
this.g9_1 = 2;
|
|
1439
1439
|
continue $sm;
|
|
1440
1440
|
case 6:
|
|
1441
|
-
this.
|
|
1441
|
+
this.n1r_1 = Unit_instance;
|
|
1442
1442
|
this.h9_1 = 12;
|
|
1443
1443
|
this.g9_1 = 10;
|
|
1444
1444
|
continue $sm;
|
|
@@ -1446,38 +1446,38 @@
|
|
|
1446
1446
|
this.h9_1 = 8;
|
|
1447
1447
|
var tmp_1 = this.j9_1;
|
|
1448
1448
|
if (tmp_1 instanceof Error) {
|
|
1449
|
-
this.
|
|
1449
|
+
this.p1r_1 = this.j9_1;
|
|
1450
1450
|
var tmp_2 = this;
|
|
1451
|
-
this.
|
|
1452
|
-
close_0(this.
|
|
1453
|
-
throw this.
|
|
1451
|
+
this.j1r_1.o1n(this.p1r_1);
|
|
1452
|
+
close_0(this.k1r_1, this.p1r_1);
|
|
1453
|
+
throw this.p1r_1;
|
|
1454
1454
|
} else {
|
|
1455
1455
|
throw this.j9_1;
|
|
1456
1456
|
}
|
|
1457
1457
|
|
|
1458
1458
|
case 8:
|
|
1459
1459
|
this.h9_1 = 12;
|
|
1460
|
-
this.
|
|
1460
|
+
this.q1r_1 = this.j9_1;
|
|
1461
1461
|
this.g9_1 = 9;
|
|
1462
|
-
suspendResult = this.
|
|
1462
|
+
suspendResult = this.k1r_1.c1n(this);
|
|
1463
1463
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1464
1464
|
return suspendResult;
|
|
1465
1465
|
}
|
|
1466
1466
|
|
|
1467
1467
|
continue $sm;
|
|
1468
1468
|
case 9:
|
|
1469
|
-
throw this.
|
|
1469
|
+
throw this.q1r_1;
|
|
1470
1470
|
case 10:
|
|
1471
1471
|
this.h9_1 = 12;
|
|
1472
1472
|
this.g9_1 = 11;
|
|
1473
|
-
suspendResult = this.
|
|
1473
|
+
suspendResult = this.k1r_1.c1n(this);
|
|
1474
1474
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1475
1475
|
return suspendResult;
|
|
1476
1476
|
}
|
|
1477
1477
|
|
|
1478
1478
|
continue $sm;
|
|
1479
1479
|
case 11:
|
|
1480
|
-
return this.
|
|
1480
|
+
return this.l1r_1.a3(this.m1r_1);
|
|
1481
1481
|
case 12:
|
|
1482
1482
|
throw this.j9_1;
|
|
1483
1483
|
}
|
|
@@ -1494,8 +1494,8 @@
|
|
|
1494
1494
|
};
|
|
1495
1495
|
function $copyToCOROUTINE$_0(_this__u8e3s4, channel, resultContinuation) {
|
|
1496
1496
|
CoroutineImpl.call(this, resultContinuation);
|
|
1497
|
-
this.
|
|
1498
|
-
this.
|
|
1497
|
+
this.z1r_1 = _this__u8e3s4;
|
|
1498
|
+
this.a1s_1 = channel;
|
|
1499
1499
|
}
|
|
1500
1500
|
protoOf($copyToCOROUTINE$_0).o9 = function () {
|
|
1501
1501
|
var suspendResult = this.i9_1;
|
|
@@ -1505,7 +1505,7 @@
|
|
|
1505
1505
|
switch (tmp) {
|
|
1506
1506
|
case 0:
|
|
1507
1507
|
this.h9_1 = 11;
|
|
1508
|
-
this.
|
|
1508
|
+
this.b1s_1 = new Long(0, 0);
|
|
1509
1509
|
this.g9_1 = 1;
|
|
1510
1510
|
continue $sm;
|
|
1511
1511
|
case 1:
|
|
@@ -1514,14 +1514,14 @@
|
|
|
1514
1514
|
this.g9_1 = 2;
|
|
1515
1515
|
continue $sm;
|
|
1516
1516
|
case 2:
|
|
1517
|
-
if (!!this.
|
|
1517
|
+
if (!!this.z1r_1.k1n()) {
|
|
1518
1518
|
this.g9_1 = 5;
|
|
1519
1519
|
continue $sm;
|
|
1520
1520
|
}
|
|
1521
1521
|
|
|
1522
|
-
this.
|
|
1522
|
+
this.b1s_1 = this.b1s_1.z2(this.z1r_1.d1n().a1j(this.a1s_1.g1n()));
|
|
1523
1523
|
this.g9_1 = 3;
|
|
1524
|
-
suspendResult = this.
|
|
1524
|
+
suspendResult = this.a1s_1.c1n(this);
|
|
1525
1525
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1526
1526
|
return suspendResult;
|
|
1527
1527
|
}
|
|
@@ -1529,7 +1529,7 @@
|
|
|
1529
1529
|
continue $sm;
|
|
1530
1530
|
case 3:
|
|
1531
1531
|
this.g9_1 = 4;
|
|
1532
|
-
suspendResult = this.
|
|
1532
|
+
suspendResult = this.z1r_1.m1n(VOID, this);
|
|
1533
1533
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1534
1534
|
return suspendResult;
|
|
1535
1535
|
}
|
|
@@ -1539,7 +1539,7 @@
|
|
|
1539
1539
|
this.g9_1 = 2;
|
|
1540
1540
|
continue $sm;
|
|
1541
1541
|
case 5:
|
|
1542
|
-
this.
|
|
1542
|
+
this.c1s_1 = Unit_instance;
|
|
1543
1543
|
this.h9_1 = 11;
|
|
1544
1544
|
this.g9_1 = 9;
|
|
1545
1545
|
continue $sm;
|
|
@@ -1547,38 +1547,38 @@
|
|
|
1547
1547
|
this.h9_1 = 7;
|
|
1548
1548
|
var tmp_0 = this.j9_1;
|
|
1549
1549
|
if (tmp_0 instanceof Error) {
|
|
1550
|
-
this.
|
|
1550
|
+
this.d1s_1 = this.j9_1;
|
|
1551
1551
|
var tmp_1 = this;
|
|
1552
|
-
this.
|
|
1553
|
-
close_0(this.
|
|
1554
|
-
throw this.
|
|
1552
|
+
this.z1r_1.o1n(this.d1s_1);
|
|
1553
|
+
close_0(this.a1s_1, this.d1s_1);
|
|
1554
|
+
throw this.d1s_1;
|
|
1555
1555
|
} else {
|
|
1556
1556
|
throw this.j9_1;
|
|
1557
1557
|
}
|
|
1558
1558
|
|
|
1559
1559
|
case 7:
|
|
1560
1560
|
this.h9_1 = 11;
|
|
1561
|
-
this.
|
|
1561
|
+
this.e1s_1 = this.j9_1;
|
|
1562
1562
|
this.g9_1 = 8;
|
|
1563
|
-
suspendResult = this.
|
|
1563
|
+
suspendResult = this.a1s_1.c1n(this);
|
|
1564
1564
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1565
1565
|
return suspendResult;
|
|
1566
1566
|
}
|
|
1567
1567
|
|
|
1568
1568
|
continue $sm;
|
|
1569
1569
|
case 8:
|
|
1570
|
-
throw this.
|
|
1570
|
+
throw this.e1s_1;
|
|
1571
1571
|
case 9:
|
|
1572
1572
|
this.h9_1 = 11;
|
|
1573
1573
|
this.g9_1 = 10;
|
|
1574
|
-
suspendResult = this.
|
|
1574
|
+
suspendResult = this.a1s_1.c1n(this);
|
|
1575
1575
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1576
1576
|
return suspendResult;
|
|
1577
1577
|
}
|
|
1578
1578
|
|
|
1579
1579
|
continue $sm;
|
|
1580
1580
|
case 10:
|
|
1581
|
-
return this.
|
|
1581
|
+
return this.b1s_1;
|
|
1582
1582
|
case 11:
|
|
1583
1583
|
throw this.j9_1;
|
|
1584
1584
|
}
|
|
@@ -1595,7 +1595,7 @@
|
|
|
1595
1595
|
};
|
|
1596
1596
|
function $readBufferCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1597
1597
|
CoroutineImpl.call(this, resultContinuation);
|
|
1598
|
-
this.
|
|
1598
|
+
this.n1s_1 = _this__u8e3s4;
|
|
1599
1599
|
}
|
|
1600
1600
|
protoOf($readBufferCOROUTINE$).o9 = function () {
|
|
1601
1601
|
var suspendResult = this.i9_1;
|
|
@@ -1605,18 +1605,18 @@
|
|
|
1605
1605
|
switch (tmp) {
|
|
1606
1606
|
case 0:
|
|
1607
1607
|
this.h9_1 = 4;
|
|
1608
|
-
this.
|
|
1608
|
+
this.o1s_1 = new Buffer();
|
|
1609
1609
|
this.g9_1 = 1;
|
|
1610
1610
|
continue $sm;
|
|
1611
1611
|
case 1:
|
|
1612
|
-
if (!!this.
|
|
1612
|
+
if (!!this.n1s_1.k1n()) {
|
|
1613
1613
|
this.g9_1 = 3;
|
|
1614
1614
|
continue $sm;
|
|
1615
1615
|
}
|
|
1616
1616
|
|
|
1617
|
-
this.
|
|
1617
|
+
this.o1s_1.p1j(this.n1s_1.d1n());
|
|
1618
1618
|
this.g9_1 = 2;
|
|
1619
|
-
suspendResult = this.
|
|
1619
|
+
suspendResult = this.n1s_1.m1n(VOID, this);
|
|
1620
1620
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1621
1621
|
return suspendResult;
|
|
1622
1622
|
}
|
|
@@ -1626,14 +1626,14 @@
|
|
|
1626
1626
|
this.g9_1 = 1;
|
|
1627
1627
|
continue $sm;
|
|
1628
1628
|
case 3:
|
|
1629
|
-
var tmp0_safe_receiver = this.
|
|
1629
|
+
var tmp0_safe_receiver = this.n1s_1.i1n();
|
|
1630
1630
|
if (tmp0_safe_receiver == null)
|
|
1631
1631
|
null;
|
|
1632
1632
|
else {
|
|
1633
1633
|
throw tmp0_safe_receiver;
|
|
1634
1634
|
}
|
|
1635
1635
|
|
|
1636
|
-
return this.
|
|
1636
|
+
return this.o1s_1;
|
|
1637
1637
|
case 4:
|
|
1638
1638
|
throw this.j9_1;
|
|
1639
1639
|
}
|
|
@@ -1650,10 +1650,10 @@
|
|
|
1650
1650
|
};
|
|
1651
1651
|
function $readUTF8LineToCOROUTINE$(_this__u8e3s4, out, max, lineEnding, resultContinuation) {
|
|
1652
1652
|
CoroutineImpl.call(this, resultContinuation);
|
|
1653
|
-
this.
|
|
1654
|
-
this.
|
|
1655
|
-
this.
|
|
1656
|
-
this.
|
|
1653
|
+
this.c1t_1 = _this__u8e3s4;
|
|
1654
|
+
this.d1t_1 = out;
|
|
1655
|
+
this.e1t_1 = max;
|
|
1656
|
+
this.f1t_1 = lineEnding;
|
|
1657
1657
|
}
|
|
1658
1658
|
protoOf($readUTF8LineToCOROUTINE$).o9 = function () {
|
|
1659
1659
|
var suspendResult = this.i9_1;
|
|
@@ -1663,9 +1663,9 @@
|
|
|
1663
1663
|
switch (tmp) {
|
|
1664
1664
|
case 0:
|
|
1665
1665
|
this.h9_1 = 21;
|
|
1666
|
-
if (this.
|
|
1666
|
+
if (this.c1t_1.d1n().x1h()) {
|
|
1667
1667
|
this.g9_1 = 1;
|
|
1668
|
-
suspendResult = this.
|
|
1668
|
+
suspendResult = this.c1t_1.m1n(VOID, this);
|
|
1669
1669
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1670
1670
|
return suspendResult;
|
|
1671
1671
|
}
|
|
@@ -1679,15 +1679,15 @@
|
|
|
1679
1679
|
this.g9_1 = 2;
|
|
1680
1680
|
continue $sm;
|
|
1681
1681
|
case 2:
|
|
1682
|
-
if (this.
|
|
1682
|
+
if (this.c1t_1.k1n())
|
|
1683
1683
|
return false;
|
|
1684
1684
|
var tmp_0 = this;
|
|
1685
|
-
tmp_0.
|
|
1685
|
+
tmp_0.g1t_1 = new Buffer();
|
|
1686
1686
|
this.g9_1 = 3;
|
|
1687
1687
|
continue $sm;
|
|
1688
1688
|
case 3:
|
|
1689
|
-
this.
|
|
1690
|
-
this.
|
|
1689
|
+
this.i1t_1 = this.g1t_1;
|
|
1690
|
+
this.j1t_1 = null;
|
|
1691
1691
|
this.g9_1 = 4;
|
|
1692
1692
|
continue $sm;
|
|
1693
1693
|
case 4:
|
|
@@ -1700,12 +1700,12 @@
|
|
|
1700
1700
|
this.h9_1 = 18;
|
|
1701
1701
|
this.h9_1 = 17;
|
|
1702
1702
|
var tmp_1 = this;
|
|
1703
|
-
tmp_1.
|
|
1704
|
-
this.
|
|
1703
|
+
tmp_1.l1t_1 = this.i1t_1;
|
|
1704
|
+
this.m1t_1 = this.l1t_1;
|
|
1705
1705
|
this.g9_1 = 7;
|
|
1706
1706
|
continue $sm;
|
|
1707
1707
|
case 7:
|
|
1708
|
-
if (!!this.
|
|
1708
|
+
if (!!this.c1t_1.k1n()) {
|
|
1709
1709
|
this.g9_1 = 14;
|
|
1710
1710
|
continue $sm;
|
|
1711
1711
|
}
|
|
@@ -1713,16 +1713,16 @@
|
|
|
1713
1713
|
this.g9_1 = 8;
|
|
1714
1714
|
continue $sm;
|
|
1715
1715
|
case 8:
|
|
1716
|
-
if (!!this.
|
|
1716
|
+
if (!!this.c1t_1.d1n().x1h()) {
|
|
1717
1717
|
this.g9_1 = 12;
|
|
1718
1718
|
continue $sm;
|
|
1719
1719
|
}
|
|
1720
1720
|
|
|
1721
|
-
this.
|
|
1722
|
-
if (this.
|
|
1723
|
-
if (this.
|
|
1721
|
+
this.n1t_1 = this.c1t_1.d1n().a1i();
|
|
1722
|
+
if (this.n1t_1 === 13) {
|
|
1723
|
+
if (this.c1t_1.d1n().x1h()) {
|
|
1724
1724
|
this.g9_1 = 10;
|
|
1725
|
-
suspendResult = this.
|
|
1725
|
+
suspendResult = this.c1t_1.m1n(VOID, this);
|
|
1726
1726
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1727
1727
|
return suspendResult;
|
|
1728
1728
|
}
|
|
@@ -1732,15 +1732,15 @@
|
|
|
1732
1732
|
continue $sm;
|
|
1733
1733
|
}
|
|
1734
1734
|
} else {
|
|
1735
|
-
if (this.
|
|
1736
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1737
|
-
this.
|
|
1738
|
-
this.
|
|
1735
|
+
if (this.n1t_1 === 10) {
|
|
1736
|
+
readUTF8LineTo$checkLineEndingAllowed(this.f1t_1, Companion_getInstance_1().q1s_1);
|
|
1737
|
+
this.d1t_1.l(readString(this.m1t_1));
|
|
1738
|
+
this.k1t_1 = true;
|
|
1739
1739
|
this.h9_1 = 21;
|
|
1740
1740
|
this.g9_1 = 15;
|
|
1741
1741
|
continue $sm;
|
|
1742
1742
|
} else {
|
|
1743
|
-
this.
|
|
1743
|
+
this.m1t_1.q1j(this.n1t_1);
|
|
1744
1744
|
this.g9_1 = 9;
|
|
1745
1745
|
continue $sm;
|
|
1746
1746
|
}
|
|
@@ -1753,25 +1753,25 @@
|
|
|
1753
1753
|
this.g9_1 = 11;
|
|
1754
1754
|
continue $sm;
|
|
1755
1755
|
case 11:
|
|
1756
|
-
if (this.
|
|
1757
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1758
|
-
discard_0(this.
|
|
1756
|
+
if (this.c1t_1.d1n().w1h().s1i(new Long(0, 0)) === 10) {
|
|
1757
|
+
readUTF8LineTo$checkLineEndingAllowed(this.f1t_1, Companion_getInstance_1().r1s_1);
|
|
1758
|
+
discard_0(this.c1t_1.d1n(), new Long(1, 0));
|
|
1759
1759
|
} else {
|
|
1760
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1760
|
+
readUTF8LineTo$checkLineEndingAllowed(this.f1t_1, Companion_getInstance_1().p1s_1);
|
|
1761
1761
|
}
|
|
1762
1762
|
|
|
1763
|
-
this.
|
|
1764
|
-
this.
|
|
1763
|
+
this.d1t_1.l(readString(this.m1t_1));
|
|
1764
|
+
this.k1t_1 = true;
|
|
1765
1765
|
this.h9_1 = 21;
|
|
1766
1766
|
this.g9_1 = 15;
|
|
1767
1767
|
continue $sm;
|
|
1768
1768
|
case 12:
|
|
1769
|
-
if (this.
|
|
1770
|
-
throw new TooLongLineException('Line exceeds limit of ' + this.
|
|
1769
|
+
if (this.m1t_1.s().e1(toLong(this.e1t_1)) >= 0) {
|
|
1770
|
+
throw new TooLongLineException('Line exceeds limit of ' + this.e1t_1 + ' characters');
|
|
1771
1771
|
}
|
|
1772
1772
|
|
|
1773
1773
|
this.g9_1 = 13;
|
|
1774
|
-
suspendResult = this.
|
|
1774
|
+
suspendResult = this.c1t_1.m1n(VOID, this);
|
|
1775
1775
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1776
1776
|
return suspendResult;
|
|
1777
1777
|
}
|
|
@@ -1782,26 +1782,26 @@
|
|
|
1782
1782
|
continue $sm;
|
|
1783
1783
|
case 14:
|
|
1784
1784
|
var tmp_2 = this;
|
|
1785
|
-
var this_0 = this.
|
|
1785
|
+
var this_0 = this.m1t_1.s().e1(new Long(0, 0)) > 0;
|
|
1786
1786
|
if (this_0) {
|
|
1787
|
-
this.
|
|
1787
|
+
this.d1t_1.l(readString(this.m1t_1));
|
|
1788
1788
|
}
|
|
1789
1789
|
|
|
1790
|
-
tmp_2.
|
|
1790
|
+
tmp_2.k1t_1 = this_0;
|
|
1791
1791
|
this.h9_1 = 21;
|
|
1792
1792
|
this.g9_1 = 15;
|
|
1793
1793
|
var tmp_3 = this;
|
|
1794
1794
|
continue $sm;
|
|
1795
1795
|
case 15:
|
|
1796
|
-
var tmp_4 = this.
|
|
1796
|
+
var tmp_4 = this.k1t_1;
|
|
1797
1797
|
this.h9_1 = 21;
|
|
1798
|
-
closeFinally(this.
|
|
1798
|
+
closeFinally(this.i1t_1, this.j1t_1);
|
|
1799
1799
|
return tmp_4;
|
|
1800
1800
|
case 16:
|
|
1801
1801
|
this.h9_1 = 21;
|
|
1802
1802
|
var tmp_5 = this;
|
|
1803
|
-
closeFinally(this.
|
|
1804
|
-
tmp_5.
|
|
1803
|
+
closeFinally(this.i1t_1, this.j1t_1);
|
|
1804
|
+
tmp_5.h1t_1 = Unit_instance;
|
|
1805
1805
|
this.g9_1 = 20;
|
|
1806
1806
|
continue $sm;
|
|
1807
1807
|
case 17:
|
|
@@ -1810,7 +1810,7 @@
|
|
|
1810
1810
|
if (tmp_6 instanceof Error) {
|
|
1811
1811
|
var e = this.j9_1;
|
|
1812
1812
|
var tmp_7 = this;
|
|
1813
|
-
this.
|
|
1813
|
+
this.j1t_1 = e;
|
|
1814
1814
|
throw e;
|
|
1815
1815
|
} else {
|
|
1816
1816
|
throw this.j9_1;
|
|
@@ -1819,11 +1819,11 @@
|
|
|
1819
1819
|
case 18:
|
|
1820
1820
|
this.h9_1 = 21;
|
|
1821
1821
|
var t = this.j9_1;
|
|
1822
|
-
closeFinally(this.
|
|
1822
|
+
closeFinally(this.i1t_1, this.j1t_1);
|
|
1823
1823
|
throw t;
|
|
1824
1824
|
case 19:
|
|
1825
1825
|
this.h9_1 = 21;
|
|
1826
|
-
closeFinally(this.
|
|
1826
|
+
closeFinally(this.i1t_1, this.j1t_1);
|
|
1827
1827
|
if (false) {
|
|
1828
1828
|
this.g9_1 = 3;
|
|
1829
1829
|
continue $sm;
|
|
@@ -1849,8 +1849,8 @@
|
|
|
1849
1849
|
};
|
|
1850
1850
|
function $readRemainingCOROUTINE$_0(_this__u8e3s4, max, resultContinuation) {
|
|
1851
1851
|
CoroutineImpl.call(this, resultContinuation);
|
|
1852
|
-
this.
|
|
1853
|
-
this.
|
|
1852
|
+
this.w1t_1 = _this__u8e3s4;
|
|
1853
|
+
this.x1t_1 = max;
|
|
1854
1854
|
}
|
|
1855
1855
|
protoOf($readRemainingCOROUTINE$_0).o9 = function () {
|
|
1856
1856
|
var suspendResult = this.i9_1;
|
|
@@ -1860,26 +1860,26 @@
|
|
|
1860
1860
|
switch (tmp) {
|
|
1861
1861
|
case 0:
|
|
1862
1862
|
this.h9_1 = 4;
|
|
1863
|
-
this.
|
|
1864
|
-
this.
|
|
1863
|
+
this.y1t_1 = BytePacketBuilder();
|
|
1864
|
+
this.z1t_1 = this.x1t_1;
|
|
1865
1865
|
this.g9_1 = 1;
|
|
1866
1866
|
continue $sm;
|
|
1867
1867
|
case 1:
|
|
1868
|
-
if (!(!this.
|
|
1868
|
+
if (!(!this.w1t_1.k1n() && this.z1t_1.e1(new Long(0, 0)) > 0)) {
|
|
1869
1869
|
this.g9_1 = 3;
|
|
1870
1870
|
continue $sm;
|
|
1871
1871
|
}
|
|
1872
1872
|
|
|
1873
|
-
if (this.
|
|
1874
|
-
this.
|
|
1875
|
-
this.
|
|
1873
|
+
if (this.z1t_1.e1(get_remaining(this.w1t_1.d1n())) >= 0) {
|
|
1874
|
+
this.z1t_1 = this.z1t_1.a3(get_remaining(this.w1t_1.d1n()));
|
|
1875
|
+
this.w1t_1.d1n().a1j(this.y1t_1);
|
|
1876
1876
|
} else {
|
|
1877
|
-
this.
|
|
1878
|
-
this.
|
|
1877
|
+
this.w1t_1.d1n().z1i(this.y1t_1, this.z1t_1);
|
|
1878
|
+
this.z1t_1 = new Long(0, 0);
|
|
1879
1879
|
}
|
|
1880
1880
|
|
|
1881
1881
|
this.g9_1 = 2;
|
|
1882
|
-
suspendResult = this.
|
|
1882
|
+
suspendResult = this.w1t_1.m1n(VOID, this);
|
|
1883
1883
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1884
1884
|
return suspendResult;
|
|
1885
1885
|
}
|
|
@@ -1889,7 +1889,7 @@
|
|
|
1889
1889
|
this.g9_1 = 1;
|
|
1890
1890
|
continue $sm;
|
|
1891
1891
|
case 3:
|
|
1892
|
-
return this.
|
|
1892
|
+
return this.y1t_1.w1h();
|
|
1893
1893
|
case 4:
|
|
1894
1894
|
throw this.j9_1;
|
|
1895
1895
|
}
|
|
@@ -1906,8 +1906,8 @@
|
|
|
1906
1906
|
};
|
|
1907
1907
|
function $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, resultContinuation) {
|
|
1908
1908
|
CoroutineImpl.call(this, resultContinuation);
|
|
1909
|
-
this.
|
|
1910
|
-
this.
|
|
1909
|
+
this.i1u_1 = _this__u8e3s4;
|
|
1910
|
+
this.j1u_1 = byteString;
|
|
1911
1911
|
}
|
|
1912
1912
|
protoOf($skipIfFoundCOROUTINE$).o9 = function () {
|
|
1913
1913
|
var suspendResult = this.i9_1;
|
|
@@ -1918,17 +1918,17 @@
|
|
|
1918
1918
|
case 0:
|
|
1919
1919
|
this.h9_1 = 4;
|
|
1920
1920
|
this.g9_1 = 1;
|
|
1921
|
-
suspendResult = peek(this.
|
|
1921
|
+
suspendResult = peek(this.i1u_1, this.j1u_1.s(), this);
|
|
1922
1922
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1923
1923
|
return suspendResult;
|
|
1924
1924
|
}
|
|
1925
1925
|
|
|
1926
1926
|
continue $sm;
|
|
1927
1927
|
case 1:
|
|
1928
|
-
this.
|
|
1929
|
-
if (equals(this.
|
|
1928
|
+
this.k1u_1 = suspendResult;
|
|
1929
|
+
if (equals(this.k1u_1, this.j1u_1)) {
|
|
1930
1930
|
this.g9_1 = 3;
|
|
1931
|
-
suspendResult = discard(this.
|
|
1931
|
+
suspendResult = discard(this.i1u_1, toLong(this.j1u_1.s()), this);
|
|
1932
1932
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1933
1933
|
return suspendResult;
|
|
1934
1934
|
}
|
|
@@ -1958,8 +1958,8 @@
|
|
|
1958
1958
|
};
|
|
1959
1959
|
function $readPacketCOROUTINE$(_this__u8e3s4, packet, resultContinuation) {
|
|
1960
1960
|
CoroutineImpl.call(this, resultContinuation);
|
|
1961
|
-
this.
|
|
1962
|
-
this.
|
|
1961
|
+
this.t1u_1 = _this__u8e3s4;
|
|
1962
|
+
this.u1u_1 = packet;
|
|
1963
1963
|
}
|
|
1964
1964
|
protoOf($readPacketCOROUTINE$).o9 = function () {
|
|
1965
1965
|
var suspendResult = this.i9_1;
|
|
@@ -1969,18 +1969,18 @@
|
|
|
1969
1969
|
switch (tmp) {
|
|
1970
1970
|
case 0:
|
|
1971
1971
|
this.h9_1 = 6;
|
|
1972
|
-
this.
|
|
1972
|
+
this.v1u_1 = new Buffer();
|
|
1973
1973
|
this.g9_1 = 1;
|
|
1974
1974
|
continue $sm;
|
|
1975
1975
|
case 1:
|
|
1976
|
-
if (!(this.
|
|
1976
|
+
if (!(this.v1u_1.s().e1(toLong(this.u1u_1)) < 0)) {
|
|
1977
1977
|
this.g9_1 = 5;
|
|
1978
1978
|
continue $sm;
|
|
1979
1979
|
}
|
|
1980
1980
|
|
|
1981
|
-
if (this.
|
|
1981
|
+
if (this.t1u_1.d1n().x1h()) {
|
|
1982
1982
|
this.g9_1 = 2;
|
|
1983
|
-
suspendResult = this.
|
|
1983
|
+
suspendResult = this.t1u_1.m1n(VOID, this);
|
|
1984
1984
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1985
1985
|
return suspendResult;
|
|
1986
1986
|
}
|
|
@@ -1994,7 +1994,7 @@
|
|
|
1994
1994
|
this.g9_1 = 3;
|
|
1995
1995
|
continue $sm;
|
|
1996
1996
|
case 3:
|
|
1997
|
-
if (this.
|
|
1997
|
+
if (this.t1u_1.k1n()) {
|
|
1998
1998
|
this.g9_1 = 5;
|
|
1999
1999
|
continue $sm;
|
|
2000
2000
|
} else {
|
|
@@ -2003,20 +2003,20 @@
|
|
|
2003
2003
|
}
|
|
2004
2004
|
|
|
2005
2005
|
case 4:
|
|
2006
|
-
if (get_remaining(this.
|
|
2007
|
-
this.
|
|
2006
|
+
if (get_remaining(this.t1u_1.d1n()).e1(numberToLong(this.u1u_1).a3(this.v1u_1.s())) > 0) {
|
|
2007
|
+
this.t1u_1.d1n().z1i(this.v1u_1, numberToLong(this.u1u_1).a3(this.v1u_1.s()));
|
|
2008
2008
|
} else {
|
|
2009
|
-
this.
|
|
2009
|
+
this.t1u_1.d1n().a1j(this.v1u_1);
|
|
2010
2010
|
}
|
|
2011
2011
|
|
|
2012
2012
|
this.g9_1 = 1;
|
|
2013
2013
|
continue $sm;
|
|
2014
2014
|
case 5:
|
|
2015
|
-
if (this.
|
|
2016
|
-
throw EOFException_init_$Create$('Not enough data available, required ' + this.
|
|
2015
|
+
if (this.v1u_1.s().e1(toLong(this.u1u_1)) < 0) {
|
|
2016
|
+
throw EOFException_init_$Create$('Not enough data available, required ' + this.u1u_1 + ' bytes but only ' + this.v1u_1.s().toString() + ' available');
|
|
2017
2017
|
}
|
|
2018
2018
|
|
|
2019
|
-
return this.
|
|
2019
|
+
return this.v1u_1;
|
|
2020
2020
|
case 6:
|
|
2021
2021
|
throw this.j9_1;
|
|
2022
2022
|
}
|
|
@@ -2033,8 +2033,8 @@
|
|
|
2033
2033
|
};
|
|
2034
2034
|
function $peekCOROUTINE$(_this__u8e3s4, count, resultContinuation) {
|
|
2035
2035
|
CoroutineImpl.call(this, resultContinuation);
|
|
2036
|
-
this.
|
|
2037
|
-
this.
|
|
2036
|
+
this.e1v_1 = _this__u8e3s4;
|
|
2037
|
+
this.f1v_1 = count;
|
|
2038
2038
|
}
|
|
2039
2039
|
protoOf($peekCOROUTINE$).o9 = function () {
|
|
2040
2040
|
var suspendResult = this.i9_1;
|
|
@@ -2044,10 +2044,10 @@
|
|
|
2044
2044
|
switch (tmp) {
|
|
2045
2045
|
case 0:
|
|
2046
2046
|
this.h9_1 = 3;
|
|
2047
|
-
if (this.
|
|
2047
|
+
if (this.e1v_1.k1n())
|
|
2048
2048
|
return null;
|
|
2049
2049
|
this.g9_1 = 1;
|
|
2050
|
-
suspendResult = this.
|
|
2050
|
+
suspendResult = this.e1v_1.l1n(this.f1v_1, this);
|
|
2051
2051
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2052
2052
|
return suspendResult;
|
|
2053
2053
|
}
|
|
@@ -2063,7 +2063,7 @@
|
|
|
2063
2063
|
}
|
|
2064
2064
|
|
|
2065
2065
|
case 2:
|
|
2066
|
-
return readByteString(this.
|
|
2066
|
+
return readByteString(this.e1v_1.d1n().b1j(), this.f1v_1);
|
|
2067
2067
|
case 3:
|
|
2068
2068
|
throw this.j9_1;
|
|
2069
2069
|
}
|
|
@@ -2086,7 +2086,7 @@
|
|
|
2086
2086
|
}
|
|
2087
2087
|
function $flushIfNeededCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
2088
2088
|
CoroutineImpl.call(this, resultContinuation);
|
|
2089
|
-
this.
|
|
2089
|
+
this.o1v_1 = _this__u8e3s4;
|
|
2090
2090
|
}
|
|
2091
2091
|
protoOf($flushIfNeededCOROUTINE$).o9 = function () {
|
|
2092
2092
|
var suspendResult = this.i9_1;
|
|
@@ -2096,19 +2096,19 @@
|
|
|
2096
2096
|
switch (tmp) {
|
|
2097
2097
|
case 0:
|
|
2098
2098
|
this.h9_1 = 3;
|
|
2099
|
-
rethrowCloseCauseIfNeeded_1(this.
|
|
2099
|
+
rethrowCloseCauseIfNeeded_1(this.o1v_1);
|
|
2100
2100
|
var tmp_0;
|
|
2101
|
-
var tmp_1 = this.
|
|
2101
|
+
var tmp_1 = this.o1v_1;
|
|
2102
2102
|
var tmp0_safe_receiver = tmp_1 instanceof ByteChannel ? tmp_1 : null;
|
|
2103
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2103
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.h1l_1) === true) {
|
|
2104
2104
|
tmp_0 = true;
|
|
2105
2105
|
} else {
|
|
2106
|
-
tmp_0 = get_size(this.
|
|
2106
|
+
tmp_0 = get_size(this.o1v_1.g1n()) >= 1048576;
|
|
2107
2107
|
}
|
|
2108
2108
|
|
|
2109
2109
|
if (tmp_0) {
|
|
2110
2110
|
this.g9_1 = 1;
|
|
2111
|
-
suspendResult = this.
|
|
2111
|
+
suspendResult = this.o1v_1.c1n(this);
|
|
2112
2112
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2113
2113
|
return suspendResult;
|
|
2114
2114
|
}
|
|
@@ -2143,11 +2143,11 @@
|
|
|
2143
2143
|
}
|
|
2144
2144
|
var NO_CALLBACK;
|
|
2145
2145
|
function WriterJob(channel, job) {
|
|
2146
|
-
this.
|
|
2147
|
-
this.
|
|
2146
|
+
this.p1v_1 = channel;
|
|
2147
|
+
this.q1v_1 = job;
|
|
2148
2148
|
}
|
|
2149
|
-
protoOf(WriterJob).
|
|
2150
|
-
return this.
|
|
2149
|
+
protoOf(WriterJob).js = function () {
|
|
2150
|
+
return this.q1v_1;
|
|
2151
2151
|
};
|
|
2152
2152
|
function writer(_this__u8e3s4, coroutineContext, autoFlush, block) {
|
|
2153
2153
|
coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_getInstance() : coroutineContext;
|
|
@@ -2156,16 +2156,16 @@
|
|
|
2156
2156
|
return writer_0(_this__u8e3s4, coroutineContext, new ByteChannel(), block);
|
|
2157
2157
|
}
|
|
2158
2158
|
function WriterScope(channel, coroutineContext) {
|
|
2159
|
-
this.
|
|
2160
|
-
this.
|
|
2159
|
+
this.r1v_1 = channel;
|
|
2160
|
+
this.s1v_1 = coroutineContext;
|
|
2161
2161
|
}
|
|
2162
|
-
protoOf(WriterScope).
|
|
2163
|
-
return this.
|
|
2162
|
+
protoOf(WriterScope).yo = function () {
|
|
2163
|
+
return this.s1v_1;
|
|
2164
2164
|
};
|
|
2165
2165
|
function writeFully(_this__u8e3s4, value, startIndex, endIndex, $completion) {
|
|
2166
2166
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
2167
2167
|
endIndex = endIndex === VOID ? value.length : endIndex;
|
|
2168
|
-
_this__u8e3s4.
|
|
2168
|
+
_this__u8e3s4.g1n().g1j(value, startIndex, endIndex);
|
|
2169
2169
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
2170
2170
|
}
|
|
2171
2171
|
function close_0(_this__u8e3s4, cause) {
|
|
@@ -2173,19 +2173,19 @@
|
|
|
2173
2173
|
if (cause == null) {
|
|
2174
2174
|
fireAndForget(ByteWriteChannel$flushAndClose$ref_0(_this__u8e3s4));
|
|
2175
2175
|
} else {
|
|
2176
|
-
_this__u8e3s4.
|
|
2176
|
+
_this__u8e3s4.o1n(cause);
|
|
2177
2177
|
}
|
|
2178
2178
|
}
|
|
2179
2179
|
function invokeOnCompletion(_this__u8e3s4, block) {
|
|
2180
2180
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
2181
|
-
return _this__u8e3s4.
|
|
2181
|
+
return _this__u8e3s4.js().aq(block);
|
|
2182
2182
|
}
|
|
2183
2183
|
function writer_0(_this__u8e3s4, coroutineContext, channel, block) {
|
|
2184
2184
|
coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_getInstance() : coroutineContext;
|
|
2185
2185
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
2186
2186
|
// Inline function 'kotlin.apply' call
|
|
2187
2187
|
var this_0 = launch(_this__u8e3s4, coroutineContext, VOID, writer$slambda_0(block, channel, null));
|
|
2188
|
-
this_0.
|
|
2188
|
+
this_0.aq(writer$lambda(channel));
|
|
2189
2189
|
var job = this_0;
|
|
2190
2190
|
return new WriterJob(channel, job);
|
|
2191
2191
|
}
|
|
@@ -2200,14 +2200,14 @@
|
|
|
2200
2200
|
return tmp.o9();
|
|
2201
2201
|
}
|
|
2202
2202
|
function writeByte(_this__u8e3s4, value, $completion) {
|
|
2203
|
-
_this__u8e3s4.
|
|
2203
|
+
_this__u8e3s4.g1n().q1j(value);
|
|
2204
2204
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
2205
2205
|
}
|
|
2206
2206
|
function NO_CALLBACK$1() {
|
|
2207
|
-
this.
|
|
2207
|
+
this.d1w_1 = EmptyCoroutineContext_getInstance();
|
|
2208
2208
|
}
|
|
2209
2209
|
protoOf(NO_CALLBACK$1).m9 = function () {
|
|
2210
|
-
return this.
|
|
2210
|
+
return this.d1w_1;
|
|
2211
2211
|
};
|
|
2212
2212
|
protoOf(NO_CALLBACK$1).n9 = function (result) {
|
|
2213
2213
|
return Unit_instance;
|
|
@@ -2216,36 +2216,36 @@
|
|
|
2216
2216
|
return this.n9(result);
|
|
2217
2217
|
};
|
|
2218
2218
|
function ByteWriteChannel$flushAndClose$ref(p0) {
|
|
2219
|
-
this.
|
|
2219
|
+
this.e1w_1 = p0;
|
|
2220
2220
|
}
|
|
2221
|
-
protoOf(ByteWriteChannel$flushAndClose$ref).
|
|
2222
|
-
return this.
|
|
2221
|
+
protoOf(ByteWriteChannel$flushAndClose$ref).f1w = function ($completion) {
|
|
2222
|
+
return this.e1w_1.n1n($completion);
|
|
2223
2223
|
};
|
|
2224
2224
|
protoOf(ByteWriteChannel$flushAndClose$ref).hb = function ($completion) {
|
|
2225
|
-
return this.
|
|
2225
|
+
return this.f1w($completion);
|
|
2226
2226
|
};
|
|
2227
2227
|
function ByteWriteChannel$flushAndClose$ref_0(p0) {
|
|
2228
2228
|
var i = new ByteWriteChannel$flushAndClose$ref(p0);
|
|
2229
2229
|
var l = function ($completion) {
|
|
2230
|
-
return i.
|
|
2230
|
+
return i.f1w($completion);
|
|
2231
2231
|
};
|
|
2232
2232
|
l.callableName = 'flushAndClose';
|
|
2233
2233
|
l.$arity = 0;
|
|
2234
2234
|
return l;
|
|
2235
2235
|
}
|
|
2236
2236
|
function writer$slambda($block, $channel, resultContinuation) {
|
|
2237
|
-
this.
|
|
2238
|
-
this.
|
|
2237
|
+
this.o1w_1 = $block;
|
|
2238
|
+
this.p1w_1 = $channel;
|
|
2239
2239
|
CoroutineImpl.call(this, resultContinuation);
|
|
2240
2240
|
}
|
|
2241
|
-
protoOf(writer$slambda).
|
|
2242
|
-
var tmp = this.
|
|
2241
|
+
protoOf(writer$slambda).j1x = function ($this$launch, $completion) {
|
|
2242
|
+
var tmp = this.k1x($this$launch, $completion);
|
|
2243
2243
|
tmp.i9_1 = Unit_instance;
|
|
2244
2244
|
tmp.j9_1 = null;
|
|
2245
2245
|
return tmp.o9();
|
|
2246
2246
|
};
|
|
2247
2247
|
protoOf(writer$slambda).ca = function (p1, $completion) {
|
|
2248
|
-
return this.
|
|
2248
|
+
return this.j1x((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2249
2249
|
};
|
|
2250
2250
|
protoOf(writer$slambda).o9 = function () {
|
|
2251
2251
|
var suspendResult = this.i9_1;
|
|
@@ -2255,29 +2255,29 @@
|
|
|
2255
2255
|
switch (tmp) {
|
|
2256
2256
|
case 0:
|
|
2257
2257
|
this.h9_1 = 14;
|
|
2258
|
-
this.
|
|
2258
|
+
this.r1w_1 = Job(get_job(this.q1w_1.yo()));
|
|
2259
2259
|
this.g9_1 = 1;
|
|
2260
2260
|
continue $sm;
|
|
2261
2261
|
case 1:
|
|
2262
2262
|
this.h9_1 = 4;
|
|
2263
2263
|
this.h9_1 = 3;
|
|
2264
2264
|
this.g9_1 = 2;
|
|
2265
|
-
suspendResult = this.
|
|
2265
|
+
suspendResult = this.o1w_1(new WriterScope(this.p1w_1, this.q1w_1.yo().rh(this.r1w_1)), this);
|
|
2266
2266
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2267
2267
|
return suspendResult;
|
|
2268
2268
|
}
|
|
2269
2269
|
|
|
2270
2270
|
continue $sm;
|
|
2271
2271
|
case 2:
|
|
2272
|
-
this.
|
|
2272
|
+
this.r1w_1.hx();
|
|
2273
2273
|
var tmp_0 = this;
|
|
2274
2274
|
var tmp_1;
|
|
2275
|
-
if (get_job(this.
|
|
2276
|
-
this.
|
|
2275
|
+
if (get_job(this.q1w_1.yo()).up()) {
|
|
2276
|
+
this.p1w_1.o1n(get_job(this.q1w_1.yo()).xp());
|
|
2277
2277
|
tmp_1 = Unit_instance;
|
|
2278
2278
|
}
|
|
2279
2279
|
|
|
2280
|
-
tmp_0.
|
|
2280
|
+
tmp_0.s1w_1 = tmp_1;
|
|
2281
2281
|
this.h9_1 = 14;
|
|
2282
2282
|
this.g9_1 = 9;
|
|
2283
2283
|
continue $sm;
|
|
@@ -2285,11 +2285,11 @@
|
|
|
2285
2285
|
this.h9_1 = 4;
|
|
2286
2286
|
var tmp_2 = this.j9_1;
|
|
2287
2287
|
if (tmp_2 instanceof Error) {
|
|
2288
|
-
this.
|
|
2288
|
+
this.t1w_1 = this.j9_1;
|
|
2289
2289
|
var tmp_3 = this;
|
|
2290
|
-
cancel(this.
|
|
2291
|
-
this.
|
|
2292
|
-
tmp_3.
|
|
2290
|
+
cancel(this.r1w_1, 'Exception thrown while writing to channel', this.t1w_1);
|
|
2291
|
+
this.p1w_1.o1n(this.t1w_1);
|
|
2292
|
+
tmp_3.s1w_1 = Unit_instance;
|
|
2293
2293
|
this.h9_1 = 14;
|
|
2294
2294
|
this.g9_1 = 9;
|
|
2295
2295
|
continue $sm;
|
|
@@ -2299,9 +2299,9 @@
|
|
|
2299
2299
|
|
|
2300
2300
|
case 4:
|
|
2301
2301
|
this.h9_1 = 14;
|
|
2302
|
-
this.
|
|
2302
|
+
this.u1w_1 = this.j9_1;
|
|
2303
2303
|
this.g9_1 = 5;
|
|
2304
|
-
suspendResult = this.
|
|
2304
|
+
suspendResult = this.r1w_1.ix(this);
|
|
2305
2305
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2306
2306
|
return suspendResult;
|
|
2307
2307
|
}
|
|
@@ -2309,27 +2309,27 @@
|
|
|
2309
2309
|
continue $sm;
|
|
2310
2310
|
case 5:
|
|
2311
2311
|
var tmp_4 = this;
|
|
2312
|
-
tmp_4.
|
|
2313
|
-
this.
|
|
2312
|
+
tmp_4.v1w_1 = this.q1w_1;
|
|
2313
|
+
this.w1w_1 = this.v1w_1;
|
|
2314
2314
|
this.h9_1 = 7;
|
|
2315
2315
|
var tmp_5 = this;
|
|
2316
|
-
tmp_5.
|
|
2316
|
+
tmp_5.y1w_1 = Companion_instance;
|
|
2317
2317
|
var tmp_6 = this;
|
|
2318
|
-
tmp_6.
|
|
2319
|
-
this.
|
|
2318
|
+
tmp_6.z1w_1 = this.w1w_1;
|
|
2319
|
+
this.a1x_1 = this.z1w_1;
|
|
2320
2320
|
this.g9_1 = 6;
|
|
2321
|
-
suspendResult = this.
|
|
2321
|
+
suspendResult = this.p1w_1.n1n(this);
|
|
2322
2322
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2323
2323
|
return suspendResult;
|
|
2324
2324
|
}
|
|
2325
2325
|
|
|
2326
2326
|
continue $sm;
|
|
2327
2327
|
case 6:
|
|
2328
|
-
this.
|
|
2328
|
+
this.b1x_1 = Unit_instance;
|
|
2329
2329
|
var tmp_7 = this;
|
|
2330
|
-
this.
|
|
2331
|
-
var value = this.
|
|
2332
|
-
tmp_7.
|
|
2330
|
+
this.y1w_1;
|
|
2331
|
+
var value = this.b1x_1;
|
|
2332
|
+
tmp_7.x1w_1 = _Result___init__impl__xyqfz8(value);
|
|
2333
2333
|
this.h9_1 = 14;
|
|
2334
2334
|
this.g9_1 = 8;
|
|
2335
2335
|
continue $sm;
|
|
@@ -2337,10 +2337,10 @@
|
|
|
2337
2337
|
this.h9_1 = 14;
|
|
2338
2338
|
var tmp_8 = this.j9_1;
|
|
2339
2339
|
if (tmp_8 instanceof Error) {
|
|
2340
|
-
this.
|
|
2340
|
+
this.c1x_1 = this.j9_1;
|
|
2341
2341
|
var tmp_9 = this;
|
|
2342
|
-
var exception = this.
|
|
2343
|
-
tmp_9.
|
|
2342
|
+
var exception = this.c1x_1;
|
|
2343
|
+
tmp_9.x1w_1 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
2344
2344
|
this.g9_1 = 8;
|
|
2345
2345
|
continue $sm;
|
|
2346
2346
|
} else {
|
|
@@ -2349,11 +2349,11 @@
|
|
|
2349
2349
|
|
|
2350
2350
|
case 8:
|
|
2351
2351
|
this.h9_1 = 14;
|
|
2352
|
-
throw this.
|
|
2352
|
+
throw this.u1w_1;
|
|
2353
2353
|
case 9:
|
|
2354
2354
|
this.h9_1 = 14;
|
|
2355
2355
|
this.g9_1 = 10;
|
|
2356
|
-
suspendResult = this.
|
|
2356
|
+
suspendResult = this.r1w_1.ix(this);
|
|
2357
2357
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2358
2358
|
return suspendResult;
|
|
2359
2359
|
}
|
|
@@ -2361,16 +2361,16 @@
|
|
|
2361
2361
|
continue $sm;
|
|
2362
2362
|
case 10:
|
|
2363
2363
|
var tmp_10 = this;
|
|
2364
|
-
tmp_10.
|
|
2365
|
-
this.
|
|
2364
|
+
tmp_10.d1x_1 = this.q1w_1;
|
|
2365
|
+
this.e1x_1 = this.d1x_1;
|
|
2366
2366
|
this.h9_1 = 12;
|
|
2367
2367
|
var tmp_11 = this;
|
|
2368
|
-
tmp_11.
|
|
2368
|
+
tmp_11.g1x_1 = Companion_instance;
|
|
2369
2369
|
var tmp_12 = this;
|
|
2370
|
-
tmp_12.
|
|
2371
|
-
this.
|
|
2370
|
+
tmp_12.h1x_1 = this.e1x_1;
|
|
2371
|
+
this.i1x_1 = this.h1x_1;
|
|
2372
2372
|
this.g9_1 = 11;
|
|
2373
|
-
suspendResult = this.
|
|
2373
|
+
suspendResult = this.p1w_1.n1n(this);
|
|
2374
2374
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2375
2375
|
return suspendResult;
|
|
2376
2376
|
}
|
|
@@ -2378,8 +2378,8 @@
|
|
|
2378
2378
|
continue $sm;
|
|
2379
2379
|
case 11:
|
|
2380
2380
|
var tmp_13 = this;
|
|
2381
|
-
this.
|
|
2382
|
-
tmp_13.
|
|
2381
|
+
this.g1x_1;
|
|
2382
|
+
tmp_13.f1x_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2383
2383
|
this.h9_1 = 14;
|
|
2384
2384
|
this.g9_1 = 13;
|
|
2385
2385
|
continue $sm;
|
|
@@ -2389,7 +2389,7 @@
|
|
|
2389
2389
|
if (tmp_14 instanceof Error) {
|
|
2390
2390
|
var e = this.j9_1;
|
|
2391
2391
|
var tmp_15 = this;
|
|
2392
|
-
tmp_15.
|
|
2392
|
+
tmp_15.f1x_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
2393
2393
|
this.g9_1 = 13;
|
|
2394
2394
|
continue $sm;
|
|
2395
2395
|
} else {
|
|
@@ -2413,15 +2413,15 @@
|
|
|
2413
2413
|
}
|
|
2414
2414
|
while (true);
|
|
2415
2415
|
};
|
|
2416
|
-
protoOf(writer$slambda).
|
|
2417
|
-
var i = new writer$slambda(this.
|
|
2418
|
-
i.
|
|
2416
|
+
protoOf(writer$slambda).k1x = function ($this$launch, completion) {
|
|
2417
|
+
var i = new writer$slambda(this.o1w_1, this.p1w_1, completion);
|
|
2418
|
+
i.q1w_1 = $this$launch;
|
|
2419
2419
|
return i;
|
|
2420
2420
|
};
|
|
2421
2421
|
function writer$slambda_0($block, $channel, resultContinuation) {
|
|
2422
2422
|
var i = new writer$slambda($block, $channel, resultContinuation);
|
|
2423
2423
|
var l = function ($this$launch, $completion) {
|
|
2424
|
-
return i.
|
|
2424
|
+
return i.j1x($this$launch, $completion);
|
|
2425
2425
|
};
|
|
2426
2426
|
l.$arity = 1;
|
|
2427
2427
|
return l;
|
|
@@ -2429,8 +2429,8 @@
|
|
|
2429
2429
|
function writer$lambda($channel) {
|
|
2430
2430
|
return function (it) {
|
|
2431
2431
|
var tmp;
|
|
2432
|
-
if (!(it == null) && !$channel.
|
|
2433
|
-
$channel.
|
|
2432
|
+
if (!(it == null) && !$channel.h1n()) {
|
|
2433
|
+
$channel.o1n(it);
|
|
2434
2434
|
tmp = Unit_instance;
|
|
2435
2435
|
}
|
|
2436
2436
|
return Unit_instance;
|
|
@@ -2438,8 +2438,8 @@
|
|
|
2438
2438
|
}
|
|
2439
2439
|
function $writePacketCOROUTINE$(_this__u8e3s4, source, resultContinuation) {
|
|
2440
2440
|
CoroutineImpl.call(this, resultContinuation);
|
|
2441
|
-
this.
|
|
2442
|
-
this.
|
|
2441
|
+
this.b1w_1 = _this__u8e3s4;
|
|
2442
|
+
this.c1w_1 = source;
|
|
2443
2443
|
}
|
|
2444
2444
|
protoOf($writePacketCOROUTINE$).o9 = function () {
|
|
2445
2445
|
var suspendResult = this.i9_1;
|
|
@@ -2452,14 +2452,14 @@
|
|
|
2452
2452
|
this.g9_1 = 1;
|
|
2453
2453
|
continue $sm;
|
|
2454
2454
|
case 1:
|
|
2455
|
-
if (!!this.
|
|
2455
|
+
if (!!this.c1w_1.x1h()) {
|
|
2456
2456
|
this.g9_1 = 3;
|
|
2457
2457
|
continue $sm;
|
|
2458
2458
|
}
|
|
2459
2459
|
|
|
2460
|
-
this.
|
|
2460
|
+
this.b1w_1.g1n().k1j(this.c1w_1, get_remaining(this.c1w_1));
|
|
2461
2461
|
this.g9_1 = 2;
|
|
2462
|
-
suspendResult = flushIfNeeded(this.
|
|
2462
|
+
suspendResult = flushIfNeeded(this.b1w_1, this);
|
|
2463
2463
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2464
2464
|
return suspendResult;
|
|
2465
2465
|
}
|
|
@@ -2504,27 +2504,27 @@
|
|
|
2504
2504
|
return l;
|
|
2505
2505
|
}
|
|
2506
2506
|
function CloseToken(origin) {
|
|
2507
|
-
this.
|
|
2507
|
+
this.e1n_1 = origin;
|
|
2508
2508
|
}
|
|
2509
|
-
protoOf(CloseToken).
|
|
2510
|
-
var tmp0_subject = this.
|
|
2509
|
+
protoOf(CloseToken).l1x = function (wrap) {
|
|
2510
|
+
var tmp0_subject = this.e1n_1;
|
|
2511
2511
|
var tmp;
|
|
2512
2512
|
if (tmp0_subject == null) {
|
|
2513
2513
|
tmp = null;
|
|
2514
2514
|
} else {
|
|
2515
2515
|
if (!(tmp0_subject == null) ? isInterface(tmp0_subject, CopyableThrowable) : false) {
|
|
2516
|
-
tmp = this.
|
|
2516
|
+
tmp = this.e1n_1.rx();
|
|
2517
2517
|
} else {
|
|
2518
2518
|
if (tmp0_subject instanceof CancellationException) {
|
|
2519
|
-
tmp = CancellationException_init_$Create$(this.
|
|
2519
|
+
tmp = CancellationException_init_$Create$(this.e1n_1.message, this.e1n_1);
|
|
2520
2520
|
} else {
|
|
2521
|
-
tmp = wrap(this.
|
|
2521
|
+
tmp = wrap(this.e1n_1);
|
|
2522
2522
|
}
|
|
2523
2523
|
}
|
|
2524
2524
|
}
|
|
2525
2525
|
return tmp;
|
|
2526
2526
|
};
|
|
2527
|
-
protoOf(CloseToken).
|
|
2527
|
+
protoOf(CloseToken).j1n = function (wrap, $super) {
|
|
2528
2528
|
var tmp;
|
|
2529
2529
|
if (wrap === VOID) {
|
|
2530
2530
|
tmp = ClosedByteChannelException$_init_$ref_yjp351();
|
|
@@ -2532,10 +2532,10 @@
|
|
|
2532
2532
|
tmp = wrap;
|
|
2533
2533
|
}
|
|
2534
2534
|
wrap = tmp;
|
|
2535
|
-
return $super === VOID ? this.
|
|
2535
|
+
return $super === VOID ? this.l1x(wrap) : $super.l1x.call(this, wrap);
|
|
2536
2536
|
};
|
|
2537
|
-
protoOf(CloseToken).
|
|
2538
|
-
var tmp0_safe_receiver = this.
|
|
2537
|
+
protoOf(CloseToken).f1n = function (wrap) {
|
|
2538
|
+
var tmp0_safe_receiver = this.l1x(wrap);
|
|
2539
2539
|
var tmp;
|
|
2540
2540
|
if (tmp0_safe_receiver == null) {
|
|
2541
2541
|
tmp = null;
|
|
@@ -2554,17 +2554,17 @@
|
|
|
2554
2554
|
}
|
|
2555
2555
|
function transferFromDelegate($this) {
|
|
2556
2556
|
updateConsumed($this);
|
|
2557
|
-
var appended = $this.
|
|
2558
|
-
$this.
|
|
2557
|
+
var appended = $this.n1x_1.p1j($this.m1x_1.d1n());
|
|
2558
|
+
$this.o1x_1 = $this.o1x_1.z2(appended);
|
|
2559
2559
|
}
|
|
2560
2560
|
function updateConsumed($this) {
|
|
2561
|
-
$this.
|
|
2562
|
-
$this.
|
|
2561
|
+
$this.p1x_1 = $this.p1x_1.z2($this.o1x_1.a3($this.n1x_1.s()));
|
|
2562
|
+
$this.o1x_1 = $this.n1x_1.s();
|
|
2563
2563
|
}
|
|
2564
2564
|
function $awaitContentCOROUTINE$_0(_this__u8e3s4, min, resultContinuation) {
|
|
2565
2565
|
CoroutineImpl.call(this, resultContinuation);
|
|
2566
|
-
this.
|
|
2567
|
-
this.
|
|
2566
|
+
this.y1x_1 = _this__u8e3s4;
|
|
2567
|
+
this.z1x_1 = min;
|
|
2568
2568
|
}
|
|
2569
2569
|
protoOf($awaitContentCOROUTINE$_0).o9 = function () {
|
|
2570
2570
|
var suspendResult = this.i9_1;
|
|
@@ -2574,12 +2574,12 @@
|
|
|
2574
2574
|
switch (tmp) {
|
|
2575
2575
|
case 0:
|
|
2576
2576
|
this.h9_1 = 3;
|
|
2577
|
-
if (this.
|
|
2577
|
+
if (this.y1x_1.d1n().s().e1(toLong(this.z1x_1)) >= 0) {
|
|
2578
2578
|
return true;
|
|
2579
2579
|
}
|
|
2580
2580
|
|
|
2581
2581
|
this.g9_1 = 1;
|
|
2582
|
-
suspendResult = this.
|
|
2582
|
+
suspendResult = this.y1x_1.m1x_1.l1n(this.z1x_1, this);
|
|
2583
2583
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2584
2584
|
return suspendResult;
|
|
2585
2585
|
}
|
|
@@ -2587,7 +2587,7 @@
|
|
|
2587
2587
|
continue $sm;
|
|
2588
2588
|
case 1:
|
|
2589
2589
|
if (suspendResult) {
|
|
2590
|
-
transferFromDelegate(this.
|
|
2590
|
+
transferFromDelegate(this.y1x_1);
|
|
2591
2591
|
return true;
|
|
2592
2592
|
} else {
|
|
2593
2593
|
this.g9_1 = 2;
|
|
@@ -2611,34 +2611,34 @@
|
|
|
2611
2611
|
while (true);
|
|
2612
2612
|
};
|
|
2613
2613
|
function CountedByteReadChannel(delegate) {
|
|
2614
|
-
this.
|
|
2615
|
-
this.
|
|
2616
|
-
this.
|
|
2617
|
-
this.
|
|
2614
|
+
this.m1x_1 = delegate;
|
|
2615
|
+
this.n1x_1 = new Buffer();
|
|
2616
|
+
this.o1x_1 = new Long(0, 0);
|
|
2617
|
+
this.p1x_1 = new Long(0, 0);
|
|
2618
2618
|
}
|
|
2619
|
-
protoOf(CountedByteReadChannel).
|
|
2619
|
+
protoOf(CountedByteReadChannel).a1y = function () {
|
|
2620
2620
|
updateConsumed(this);
|
|
2621
|
-
return this.
|
|
2621
|
+
return this.p1x_1;
|
|
2622
2622
|
};
|
|
2623
|
-
protoOf(CountedByteReadChannel).
|
|
2624
|
-
return this.
|
|
2623
|
+
protoOf(CountedByteReadChannel).i1n = function () {
|
|
2624
|
+
return this.m1x_1.i1n();
|
|
2625
2625
|
};
|
|
2626
|
-
protoOf(CountedByteReadChannel).
|
|
2627
|
-
return this.
|
|
2626
|
+
protoOf(CountedByteReadChannel).k1n = function () {
|
|
2627
|
+
return this.n1x_1.x1h() && this.m1x_1.k1n();
|
|
2628
2628
|
};
|
|
2629
|
-
protoOf(CountedByteReadChannel).
|
|
2629
|
+
protoOf(CountedByteReadChannel).d1n = function () {
|
|
2630
2630
|
transferFromDelegate(this);
|
|
2631
|
-
return this.
|
|
2631
|
+
return this.n1x_1;
|
|
2632
2632
|
};
|
|
2633
|
-
protoOf(CountedByteReadChannel).
|
|
2633
|
+
protoOf(CountedByteReadChannel).l1n = function (min, $completion) {
|
|
2634
2634
|
var tmp = new $awaitContentCOROUTINE$_0(this, min, $completion);
|
|
2635
2635
|
tmp.i9_1 = Unit_instance;
|
|
2636
2636
|
tmp.j9_1 = null;
|
|
2637
2637
|
return tmp.o9();
|
|
2638
2638
|
};
|
|
2639
|
-
protoOf(CountedByteReadChannel).
|
|
2640
|
-
this.
|
|
2641
|
-
this.
|
|
2639
|
+
protoOf(CountedByteReadChannel).o1n = function (cause) {
|
|
2640
|
+
this.m1x_1.o1n(cause);
|
|
2641
|
+
this.n1x_1.p4();
|
|
2642
2642
|
};
|
|
2643
2643
|
function counted(_this__u8e3s4) {
|
|
2644
2644
|
return new CountedByteReadChannel(_this__u8e3s4);
|
|
@@ -2675,21 +2675,21 @@
|
|
|
2675
2675
|
}
|
|
2676
2676
|
function LineEndingMode__toString_impl_j4h76r($this) {
|
|
2677
2677
|
var tmp;
|
|
2678
|
-
if ($this === Companion_getInstance_1().
|
|
2678
|
+
if ($this === Companion_getInstance_1().p1s_1) {
|
|
2679
2679
|
tmp = 'CR';
|
|
2680
|
-
} else if ($this === Companion_getInstance_1().
|
|
2680
|
+
} else if ($this === Companion_getInstance_1().q1s_1) {
|
|
2681
2681
|
tmp = 'LF';
|
|
2682
|
-
} else if ($this === Companion_getInstance_1().
|
|
2682
|
+
} else if ($this === Companion_getInstance_1().r1s_1) {
|
|
2683
2683
|
tmp = 'CRLF';
|
|
2684
2684
|
} else {
|
|
2685
2685
|
// Inline function 'kotlin.collections.filter' call
|
|
2686
|
-
var tmp0 = Companion_getInstance_1().
|
|
2686
|
+
var tmp0 = Companion_getInstance_1().t1s_1;
|
|
2687
2687
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2688
2688
|
var destination = ArrayList_init_$Create$();
|
|
2689
2689
|
var _iterator__ex2g4s = tmp0.p();
|
|
2690
2690
|
while (_iterator__ex2g4s.q()) {
|
|
2691
2691
|
var element = _iterator__ex2g4s.r();
|
|
2692
|
-
var it = element.
|
|
2692
|
+
var it = element.b1y_1;
|
|
2693
2693
|
if (LineEndingMode__contains_impl_q5pr68($this, it)) {
|
|
2694
2694
|
destination.k(element);
|
|
2695
2695
|
}
|
|
@@ -2700,11 +2700,11 @@
|
|
|
2700
2700
|
}
|
|
2701
2701
|
function Companion_1() {
|
|
2702
2702
|
Companion_instance_2 = this;
|
|
2703
|
-
this.
|
|
2704
|
-
this.
|
|
2705
|
-
this.
|
|
2706
|
-
this.
|
|
2707
|
-
this.
|
|
2703
|
+
this.p1s_1 = _LineEndingMode___init__impl__jo5bul(1);
|
|
2704
|
+
this.q1s_1 = _LineEndingMode___init__impl__jo5bul(2);
|
|
2705
|
+
this.r1s_1 = _LineEndingMode___init__impl__jo5bul(4);
|
|
2706
|
+
this.s1s_1 = _LineEndingMode___init__impl__jo5bul(7);
|
|
2707
|
+
this.t1s_1 = listOf([new LineEndingMode(this.p1s_1), new LineEndingMode(this.q1s_1), new LineEndingMode(this.r1s_1)]);
|
|
2708
2708
|
}
|
|
2709
2709
|
var Companion_instance_2;
|
|
2710
2710
|
function Companion_getInstance_1() {
|
|
@@ -2718,67 +2718,67 @@
|
|
|
2718
2718
|
function LineEndingMode__equals_impl_qyr4nk($this, other) {
|
|
2719
2719
|
if (!(other instanceof LineEndingMode))
|
|
2720
2720
|
return false;
|
|
2721
|
-
if (!($this === (other instanceof LineEndingMode ? other.
|
|
2721
|
+
if (!($this === (other instanceof LineEndingMode ? other.b1y_1 : THROW_CCE())))
|
|
2722
2722
|
return false;
|
|
2723
2723
|
return true;
|
|
2724
2724
|
}
|
|
2725
2725
|
function LineEndingMode(mode) {
|
|
2726
2726
|
Companion_getInstance_1();
|
|
2727
|
-
this.
|
|
2727
|
+
this.b1y_1 = mode;
|
|
2728
2728
|
}
|
|
2729
2729
|
protoOf(LineEndingMode).toString = function () {
|
|
2730
|
-
return LineEndingMode__toString_impl_j4h76r(this.
|
|
2730
|
+
return LineEndingMode__toString_impl_j4h76r(this.b1y_1);
|
|
2731
2731
|
};
|
|
2732
2732
|
protoOf(LineEndingMode).hashCode = function () {
|
|
2733
|
-
return LineEndingMode__hashCode_impl_2mopm4(this.
|
|
2733
|
+
return LineEndingMode__hashCode_impl_2mopm4(this.b1y_1);
|
|
2734
2734
|
};
|
|
2735
2735
|
protoOf(LineEndingMode).equals = function (other) {
|
|
2736
|
-
return LineEndingMode__equals_impl_qyr4nk(this.
|
|
2736
|
+
return LineEndingMode__equals_impl_qyr4nk(this.b1y_1, other);
|
|
2737
2737
|
};
|
|
2738
2738
|
function SourceByteReadChannel(source) {
|
|
2739
|
-
this.
|
|
2740
|
-
this.
|
|
2739
|
+
this.c1y_1 = source;
|
|
2740
|
+
this.d1y_1 = null;
|
|
2741
2741
|
}
|
|
2742
|
-
protoOf(SourceByteReadChannel).
|
|
2743
|
-
var tmp0_safe_receiver = this.
|
|
2744
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2742
|
+
protoOf(SourceByteReadChannel).i1n = function () {
|
|
2743
|
+
var tmp0_safe_receiver = this.d1y_1;
|
|
2744
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.j1n();
|
|
2745
2745
|
};
|
|
2746
|
-
protoOf(SourceByteReadChannel).
|
|
2747
|
-
return this.
|
|
2746
|
+
protoOf(SourceByteReadChannel).k1n = function () {
|
|
2747
|
+
return this.c1y_1.x1h();
|
|
2748
2748
|
};
|
|
2749
|
-
protoOf(SourceByteReadChannel).
|
|
2750
|
-
var tmp0_safe_receiver = this.
|
|
2749
|
+
protoOf(SourceByteReadChannel).d1n = function () {
|
|
2750
|
+
var tmp0_safe_receiver = this.i1n();
|
|
2751
2751
|
if (tmp0_safe_receiver == null)
|
|
2752
2752
|
null;
|
|
2753
2753
|
else {
|
|
2754
2754
|
// Inline function 'kotlin.let' call
|
|
2755
2755
|
throw tmp0_safe_receiver;
|
|
2756
2756
|
}
|
|
2757
|
-
return this.
|
|
2757
|
+
return this.c1y_1.w1h();
|
|
2758
2758
|
};
|
|
2759
|
-
protoOf(SourceByteReadChannel).
|
|
2760
|
-
var tmp0_safe_receiver = this.
|
|
2759
|
+
protoOf(SourceByteReadChannel).l1n = function (min, $completion) {
|
|
2760
|
+
var tmp0_safe_receiver = this.i1n();
|
|
2761
2761
|
if (tmp0_safe_receiver == null)
|
|
2762
2762
|
null;
|
|
2763
2763
|
else {
|
|
2764
2764
|
// Inline function 'kotlin.let' call
|
|
2765
2765
|
throw tmp0_safe_receiver;
|
|
2766
2766
|
}
|
|
2767
|
-
return this.
|
|
2767
|
+
return this.c1y_1.z1h(toLong(min));
|
|
2768
2768
|
};
|
|
2769
|
-
protoOf(SourceByteReadChannel).
|
|
2770
|
-
if (!(this.
|
|
2769
|
+
protoOf(SourceByteReadChannel).o1n = function (cause) {
|
|
2770
|
+
if (!(this.d1y_1 == null))
|
|
2771
2771
|
return Unit_instance;
|
|
2772
|
-
this.
|
|
2772
|
+
this.c1y_1.p4();
|
|
2773
2773
|
var tmp = this;
|
|
2774
2774
|
var tmp1_elvis_lhs = cause == null ? null : cause.message;
|
|
2775
|
-
tmp.
|
|
2775
|
+
tmp.d1y_1 = new CloseToken(IOException_init_$Create$_0(tmp1_elvis_lhs == null ? 'Channel was cancelled' : tmp1_elvis_lhs, cause));
|
|
2776
2776
|
};
|
|
2777
2777
|
function decode(_this__u8e3s4, input, max) {
|
|
2778
2778
|
max = max === VOID ? 2147483647 : max;
|
|
2779
2779
|
var tmp0 = toLong(max);
|
|
2780
2780
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2781
|
-
var b = input.
|
|
2781
|
+
var b = input.w1h().s();
|
|
2782
2782
|
// Inline function 'kotlin.text.buildString' call
|
|
2783
2783
|
var capacity = (tmp0.e1(b) <= 0 ? tmp0 : b).j1();
|
|
2784
2784
|
// Inline function 'kotlin.apply' call
|
|
@@ -2814,7 +2814,7 @@
|
|
|
2814
2814
|
return builder;
|
|
2815
2815
|
}
|
|
2816
2816
|
function canRead(_this__u8e3s4) {
|
|
2817
|
-
return !_this__u8e3s4.
|
|
2817
|
+
return !_this__u8e3s4.x1h();
|
|
2818
2818
|
}
|
|
2819
2819
|
function readBytes(_this__u8e3s4, count) {
|
|
2820
2820
|
count = count === VOID ? _this__u8e3s4.s().j1() : count;
|
|
@@ -2823,32 +2823,32 @@
|
|
|
2823
2823
|
function writeFully_0(_this__u8e3s4, buffer, offset, length) {
|
|
2824
2824
|
offset = offset === VOID ? 0 : offset;
|
|
2825
2825
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
2826
|
-
_this__u8e3s4.
|
|
2826
|
+
_this__u8e3s4.g1j(buffer, offset, offset + length | 0);
|
|
2827
2827
|
}
|
|
2828
2828
|
function BytePacketBuilder() {
|
|
2829
2829
|
return new Buffer();
|
|
2830
2830
|
}
|
|
2831
2831
|
function get_size(_this__u8e3s4) {
|
|
2832
|
-
return _this__u8e3s4.
|
|
2832
|
+
return _this__u8e3s4.w1h().s().j1();
|
|
2833
2833
|
}
|
|
2834
2834
|
var ByteReadPacketEmpty;
|
|
2835
2835
|
function get_remaining(_this__u8e3s4) {
|
|
2836
2836
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2837
|
-
return _this__u8e3s4.
|
|
2837
|
+
return _this__u8e3s4.w1h().s();
|
|
2838
2838
|
}
|
|
2839
2839
|
function discard_0(_this__u8e3s4, count) {
|
|
2840
2840
|
count = count === VOID ? new Long(-1, 2147483647) : count;
|
|
2841
2841
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2842
|
-
_this__u8e3s4.
|
|
2842
|
+
_this__u8e3s4.z1h(count);
|
|
2843
2843
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2844
2844
|
var b = get_remaining(_this__u8e3s4);
|
|
2845
2845
|
var countToDiscard = count.e1(b) <= 0 ? count : b;
|
|
2846
|
-
_this__u8e3s4.
|
|
2846
|
+
_this__u8e3s4.w1h().u1i(countToDiscard);
|
|
2847
2847
|
return countToDiscard;
|
|
2848
2848
|
}
|
|
2849
2849
|
function takeWhile(_this__u8e3s4, block) {
|
|
2850
2850
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2851
|
-
while (!_this__u8e3s4.
|
|
2851
|
+
while (!_this__u8e3s4.x1h() && block(_this__u8e3s4.w1h())) {
|
|
2852
2852
|
}
|
|
2853
2853
|
}
|
|
2854
2854
|
var properties_initialized_ByteReadPacket_kt_hw4st4;
|
|
@@ -2861,37 +2861,37 @@
|
|
|
2861
2861
|
function readAvailable_0(_this__u8e3s4, buffer, offset, length) {
|
|
2862
2862
|
offset = offset === VOID ? 0 : offset;
|
|
2863
2863
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
2864
|
-
var result = _this__u8e3s4.
|
|
2864
|
+
var result = _this__u8e3s4.v1i(buffer, offset, offset + length | 0);
|
|
2865
2865
|
return result === -1 ? 0 : result;
|
|
2866
2866
|
}
|
|
2867
2867
|
function toByteArray_0(_this__u8e3s4, charset) {
|
|
2868
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2869
|
-
if (charset.equals(Charsets_getInstance().
|
|
2868
|
+
charset = charset === VOID ? Charsets_getInstance().e1y_1 : charset;
|
|
2869
|
+
if (charset.equals(Charsets_getInstance().e1y_1))
|
|
2870
2870
|
return encodeToByteArray(_this__u8e3s4, VOID, VOID, true);
|
|
2871
|
-
return encodeToByteArray_0(charset.
|
|
2871
|
+
return encodeToByteArray_0(charset.h1y(), _this__u8e3s4, 0, _this__u8e3s4.length);
|
|
2872
2872
|
}
|
|
2873
2873
|
function readText_0(_this__u8e3s4, charset, max) {
|
|
2874
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2874
|
+
charset = charset === VOID ? Charsets_getInstance().e1y_1 : charset;
|
|
2875
2875
|
max = max === VOID ? 2147483647 : max;
|
|
2876
|
-
if (charset.equals(Charsets_getInstance().
|
|
2876
|
+
if (charset.equals(Charsets_getInstance().e1y_1)) {
|
|
2877
2877
|
if (max === 2147483647)
|
|
2878
2878
|
return readString_0(_this__u8e3s4);
|
|
2879
|
-
var tmp0 = _this__u8e3s4.
|
|
2879
|
+
var tmp0 = _this__u8e3s4.w1h().s();
|
|
2880
2880
|
// Inline function 'kotlin.math.min' call
|
|
2881
2881
|
var b = toLong(max);
|
|
2882
2882
|
var count = tmp0.e1(b) <= 0 ? tmp0 : b;
|
|
2883
2883
|
return readString_1(_this__u8e3s4, count);
|
|
2884
2884
|
}
|
|
2885
|
-
return decode(charset.
|
|
2885
|
+
return decode(charset.i1y(), _this__u8e3s4, max);
|
|
2886
2886
|
}
|
|
2887
2887
|
function writeText(_this__u8e3s4, text, fromIndex, toIndex, charset) {
|
|
2888
2888
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
2889
2889
|
toIndex = toIndex === VOID ? charSequenceLength(text) : toIndex;
|
|
2890
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2891
|
-
if (charset === Charsets_getInstance().
|
|
2890
|
+
charset = charset === VOID ? Charsets_getInstance().e1y_1 : charset;
|
|
2891
|
+
if (charset === Charsets_getInstance().e1y_1) {
|
|
2892
2892
|
return writeString(_this__u8e3s4, toString_1(text), fromIndex, toIndex);
|
|
2893
2893
|
}
|
|
2894
|
-
encodeToImpl(charset.
|
|
2894
|
+
encodeToImpl(charset.h1y(), _this__u8e3s4, text, fromIndex, toIndex);
|
|
2895
2895
|
}
|
|
2896
2896
|
function get_ByteArrayPool() {
|
|
2897
2897
|
_init_properties_ByteArrayPool_kt__kfi3uj();
|
|
@@ -2901,7 +2901,7 @@
|
|
|
2901
2901
|
function ByteArrayPool$1() {
|
|
2902
2902
|
DefaultPool.call(this, 128);
|
|
2903
2903
|
}
|
|
2904
|
-
protoOf(ByteArrayPool$1).
|
|
2904
|
+
protoOf(ByteArrayPool$1).m1y = function () {
|
|
2905
2905
|
return new Int8Array(4096);
|
|
2906
2906
|
};
|
|
2907
2907
|
var properties_initialized_ByteArrayPool_kt_td6pfh;
|
|
@@ -2915,21 +2915,21 @@
|
|
|
2915
2915
|
}
|
|
2916
2916
|
function NoPoolImpl() {
|
|
2917
2917
|
}
|
|
2918
|
-
protoOf(NoPoolImpl).
|
|
2918
|
+
protoOf(NoPoolImpl).u1y = function (instance) {
|
|
2919
2919
|
return Unit_instance;
|
|
2920
2920
|
};
|
|
2921
|
-
protoOf(NoPoolImpl).
|
|
2921
|
+
protoOf(NoPoolImpl).vr = function () {
|
|
2922
2922
|
return Unit_instance;
|
|
2923
2923
|
};
|
|
2924
2924
|
function Companion_2() {
|
|
2925
2925
|
}
|
|
2926
|
-
protoOf(Companion_2).
|
|
2926
|
+
protoOf(Companion_2).v1y = function (name) {
|
|
2927
2927
|
switch (name) {
|
|
2928
2928
|
case 'UTF-8':
|
|
2929
2929
|
case 'utf-8':
|
|
2930
2930
|
case 'UTF8':
|
|
2931
2931
|
case 'utf8':
|
|
2932
|
-
return Charsets_getInstance().
|
|
2932
|
+
return Charsets_getInstance().e1y_1;
|
|
2933
2933
|
}
|
|
2934
2934
|
var tmp;
|
|
2935
2935
|
var tmp_0;
|
|
@@ -2960,11 +2960,11 @@
|
|
|
2960
2960
|
tmp = name === 'latin1' || name === 'Latin1';
|
|
2961
2961
|
}
|
|
2962
2962
|
if (tmp) {
|
|
2963
|
-
return Charsets_getInstance().
|
|
2963
|
+
return Charsets_getInstance().f1y_1;
|
|
2964
2964
|
}
|
|
2965
2965
|
throw IllegalArgumentException_init_$Create$('Charset ' + name + ' is not supported');
|
|
2966
2966
|
};
|
|
2967
|
-
protoOf(Companion_2).
|
|
2967
|
+
protoOf(Companion_2).w1y = function (charset) {
|
|
2968
2968
|
var tmp;
|
|
2969
2969
|
switch (charset) {
|
|
2970
2970
|
case 'UTF-8':
|
|
@@ -3019,7 +3019,7 @@
|
|
|
3019
3019
|
return Companion_instance_3;
|
|
3020
3020
|
}
|
|
3021
3021
|
function Charset(_name) {
|
|
3022
|
-
this.
|
|
3022
|
+
this.g1y_1 = _name;
|
|
3023
3023
|
}
|
|
3024
3024
|
protoOf(Charset).equals = function (other) {
|
|
3025
3025
|
if (this === other)
|
|
@@ -3028,21 +3028,21 @@
|
|
|
3028
3028
|
return false;
|
|
3029
3029
|
if (!(other instanceof Charset))
|
|
3030
3030
|
THROW_CCE();
|
|
3031
|
-
return this.
|
|
3031
|
+
return this.g1y_1 === other.g1y_1;
|
|
3032
3032
|
};
|
|
3033
3033
|
protoOf(Charset).hashCode = function () {
|
|
3034
|
-
return getStringHashCode(this.
|
|
3034
|
+
return getStringHashCode(this.g1y_1);
|
|
3035
3035
|
};
|
|
3036
3036
|
protoOf(Charset).toString = function () {
|
|
3037
|
-
return this.
|
|
3037
|
+
return this.g1y_1;
|
|
3038
3038
|
};
|
|
3039
3039
|
function get_name(_this__u8e3s4) {
|
|
3040
|
-
return _this__u8e3s4.
|
|
3040
|
+
return _this__u8e3s4.g1y_1;
|
|
3041
3041
|
}
|
|
3042
3042
|
function Charsets() {
|
|
3043
3043
|
Charsets_instance = this;
|
|
3044
|
-
this.
|
|
3045
|
-
this.
|
|
3044
|
+
this.e1y_1 = new CharsetImpl('UTF-8');
|
|
3045
|
+
this.f1y_1 = new CharsetImpl('ISO-8859-1');
|
|
3046
3046
|
}
|
|
3047
3047
|
var Charsets_instance;
|
|
3048
3048
|
function Charsets_getInstance() {
|
|
@@ -3055,7 +3055,7 @@
|
|
|
3055
3055
|
captureStack(this, MalformedInputException);
|
|
3056
3056
|
}
|
|
3057
3057
|
function CharsetDecoder(_charset) {
|
|
3058
|
-
this.
|
|
3058
|
+
this.x1y_1 = _charset;
|
|
3059
3059
|
}
|
|
3060
3060
|
function encodeToByteArray_0(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
3061
3061
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
@@ -3063,15 +3063,15 @@
|
|
|
3063
3063
|
return encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex);
|
|
3064
3064
|
}
|
|
3065
3065
|
function CharsetEncoder(_charset) {
|
|
3066
|
-
this.
|
|
3066
|
+
this.y1y_1 = _charset;
|
|
3067
3067
|
}
|
|
3068
3068
|
function CharsetImpl(name) {
|
|
3069
3069
|
Charset.call(this, name);
|
|
3070
3070
|
}
|
|
3071
|
-
protoOf(CharsetImpl).
|
|
3071
|
+
protoOf(CharsetImpl).h1y = function () {
|
|
3072
3072
|
return new CharsetEncoderImpl(this);
|
|
3073
3073
|
};
|
|
3074
|
-
protoOf(CharsetImpl).
|
|
3074
|
+
protoOf(CharsetImpl).i1y = function () {
|
|
3075
3075
|
return new CharsetDecoderImpl(this);
|
|
3076
3076
|
};
|
|
3077
3077
|
function encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
@@ -3091,13 +3091,13 @@
|
|
|
3091
3091
|
}
|
|
3092
3092
|
function CharsetEncoderImpl(charset) {
|
|
3093
3093
|
CharsetEncoder.call(this, charset);
|
|
3094
|
-
this.
|
|
3094
|
+
this.b1z_1 = charset;
|
|
3095
3095
|
}
|
|
3096
3096
|
protoOf(CharsetEncoderImpl).toString = function () {
|
|
3097
|
-
return 'CharsetEncoderImpl(charset=' + this.
|
|
3097
|
+
return 'CharsetEncoderImpl(charset=' + this.b1z_1.toString() + ')';
|
|
3098
3098
|
};
|
|
3099
3099
|
protoOf(CharsetEncoderImpl).hashCode = function () {
|
|
3100
|
-
return this.
|
|
3100
|
+
return this.b1z_1.hashCode();
|
|
3101
3101
|
};
|
|
3102
3102
|
protoOf(CharsetEncoderImpl).equals = function (other) {
|
|
3103
3103
|
if (this === other)
|
|
@@ -3105,19 +3105,19 @@
|
|
|
3105
3105
|
if (!(other instanceof CharsetEncoderImpl))
|
|
3106
3106
|
return false;
|
|
3107
3107
|
var tmp0_other_with_cast = other instanceof CharsetEncoderImpl ? other : THROW_CCE();
|
|
3108
|
-
if (!this.
|
|
3108
|
+
if (!this.b1z_1.equals(tmp0_other_with_cast.b1z_1))
|
|
3109
3109
|
return false;
|
|
3110
3110
|
return true;
|
|
3111
3111
|
};
|
|
3112
3112
|
function CharsetDecoderImpl(charset) {
|
|
3113
3113
|
CharsetDecoder.call(this, charset);
|
|
3114
|
-
this.
|
|
3114
|
+
this.d1z_1 = charset;
|
|
3115
3115
|
}
|
|
3116
3116
|
protoOf(CharsetDecoderImpl).toString = function () {
|
|
3117
|
-
return 'CharsetDecoderImpl(charset=' + this.
|
|
3117
|
+
return 'CharsetDecoderImpl(charset=' + this.d1z_1.toString() + ')';
|
|
3118
3118
|
};
|
|
3119
3119
|
protoOf(CharsetDecoderImpl).hashCode = function () {
|
|
3120
|
-
return this.
|
|
3120
|
+
return this.d1z_1.hashCode();
|
|
3121
3121
|
};
|
|
3122
3122
|
protoOf(CharsetDecoderImpl).equals = function (other) {
|
|
3123
3123
|
if (this === other)
|
|
@@ -3125,7 +3125,7 @@
|
|
|
3125
3125
|
if (!(other instanceof CharsetDecoderImpl))
|
|
3126
3126
|
return false;
|
|
3127
3127
|
var tmp0_other_with_cast = other instanceof CharsetDecoderImpl ? other : THROW_CCE();
|
|
3128
|
-
if (!this.
|
|
3128
|
+
if (!this.d1z_1.equals(tmp0_other_with_cast.d1z_1))
|
|
3129
3129
|
return false;
|
|
3130
3130
|
return true;
|
|
3131
3131
|
};
|
|
@@ -3136,11 +3136,11 @@
|
|
|
3136
3136
|
var message = 'Failed requirement.';
|
|
3137
3137
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
3138
3138
|
}
|
|
3139
|
-
if (get_charset(_this__u8e3s4).equals(Charsets_getInstance().
|
|
3139
|
+
if (get_charset(_this__u8e3s4).equals(Charsets_getInstance().f1y_1)) {
|
|
3140
3140
|
return encodeISO88591(input, fromIndex, toIndex, dst);
|
|
3141
3141
|
}
|
|
3142
3142
|
// Inline function 'kotlin.require' call
|
|
3143
|
-
if (!(get_charset(_this__u8e3s4) === Charsets_getInstance().
|
|
3143
|
+
if (!(get_charset(_this__u8e3s4) === Charsets_getInstance().e1y_1)) {
|
|
3144
3144
|
var message_0 = 'Only UTF-8 encoding is supported in JS';
|
|
3145
3145
|
throw IllegalArgumentException_init_$Create$(toString_1(message_0));
|
|
3146
3146
|
}
|
|
@@ -3150,15 +3150,15 @@
|
|
|
3150
3150
|
var result = encoder.encode(tmp$ret$5);
|
|
3151
3151
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3152
3152
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3153
|
-
dst.
|
|
3153
|
+
dst.j1j(result);
|
|
3154
3154
|
return result.length;
|
|
3155
3155
|
}
|
|
3156
3156
|
function get_charset(_this__u8e3s4) {
|
|
3157
|
-
return _this__u8e3s4.
|
|
3157
|
+
return _this__u8e3s4.y1y_1;
|
|
3158
3158
|
}
|
|
3159
3159
|
function decode_0(_this__u8e3s4, input, dst, max) {
|
|
3160
3160
|
var decoder = Decoder(get_name(get_charset_0(_this__u8e3s4)), true);
|
|
3161
|
-
var tmp0 = input.
|
|
3161
|
+
var tmp0 = input.w1h().s();
|
|
3162
3162
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
3163
3163
|
var b = toLong(max);
|
|
3164
3164
|
var count = tmp0.e1(b) <= 0 ? tmp0 : b;
|
|
@@ -3166,7 +3166,7 @@
|
|
|
3166
3166
|
var array = tmp instanceof Int8Array ? tmp : THROW_CCE();
|
|
3167
3167
|
var tmp_0;
|
|
3168
3168
|
try {
|
|
3169
|
-
tmp_0 = decoder.
|
|
3169
|
+
tmp_0 = decoder.e1z(array);
|
|
3170
3170
|
} catch ($p) {
|
|
3171
3171
|
var tmp_1;
|
|
3172
3172
|
if ($p instanceof Error) {
|
|
@@ -3182,13 +3182,13 @@
|
|
|
3182
3182
|
return result.length;
|
|
3183
3183
|
}
|
|
3184
3184
|
function get_charset_0(_this__u8e3s4) {
|
|
3185
|
-
return _this__u8e3s4.
|
|
3185
|
+
return _this__u8e3s4.x1y_1;
|
|
3186
3186
|
}
|
|
3187
3187
|
function forName(_this__u8e3s4, name) {
|
|
3188
|
-
return Companion_instance_3.
|
|
3188
|
+
return Companion_instance_3.v1y(name);
|
|
3189
3189
|
}
|
|
3190
3190
|
function isSupported(_this__u8e3s4, name) {
|
|
3191
|
-
return Companion_instance_3.
|
|
3191
|
+
return Companion_instance_3.w1y(name);
|
|
3192
3192
|
}
|
|
3193
3193
|
function Decoder(encoding, fatal) {
|
|
3194
3194
|
fatal = fatal === VOID ? true : fatal;
|
|
@@ -3220,10 +3220,10 @@
|
|
|
3220
3220
|
return this_0;
|
|
3221
3221
|
}
|
|
3222
3222
|
function toKtor$1($this_toKtor) {
|
|
3223
|
-
this.
|
|
3223
|
+
this.f1z_1 = $this_toKtor;
|
|
3224
3224
|
}
|
|
3225
|
-
protoOf(toKtor$1).
|
|
3226
|
-
return this.
|
|
3225
|
+
protoOf(toKtor$1).e1z = function (buffer) {
|
|
3226
|
+
return this.f1z_1.decode(buffer);
|
|
3227
3227
|
};
|
|
3228
3228
|
function get_ENCODING_ALIASES() {
|
|
3229
3229
|
_init_properties_TextDecoderFallback_js_kt__an7r6m();
|
|
@@ -3236,7 +3236,7 @@
|
|
|
3236
3236
|
}
|
|
3237
3237
|
var REPLACEMENT;
|
|
3238
3238
|
function TextDecoderFallback(encoding, fatal) {
|
|
3239
|
-
this.
|
|
3239
|
+
this.g1z_1 = fatal;
|
|
3240
3240
|
// Inline function 'kotlin.text.trim' call
|
|
3241
3241
|
// Inline function 'kotlin.text.lowercase' call
|
|
3242
3242
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3247,7 +3247,7 @@
|
|
|
3247
3247
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3248
3248
|
}
|
|
3249
3249
|
}
|
|
3250
|
-
protoOf(TextDecoderFallback).
|
|
3250
|
+
protoOf(TextDecoderFallback).e1z = function (buffer) {
|
|
3251
3251
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
3252
3252
|
var builder = new Buffer();
|
|
3253
3253
|
var bytes = buffer instanceof Int8Array ? buffer : THROW_CCE();
|
|
@@ -3263,7 +3263,7 @@
|
|
|
3263
3263
|
var point = toCodePoint(byte);
|
|
3264
3264
|
if (point < 0) {
|
|
3265
3265
|
// Inline function 'kotlin.check' call
|
|
3266
|
-
if (!!this.
|
|
3266
|
+
if (!!this.g1z_1) {
|
|
3267
3267
|
var message = 'Invalid character: ' + point;
|
|
3268
3268
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3269
3269
|
}
|
|
@@ -3271,9 +3271,9 @@
|
|
|
3271
3271
|
continue $l$loop;
|
|
3272
3272
|
}
|
|
3273
3273
|
if (point > 255) {
|
|
3274
|
-
builder.
|
|
3274
|
+
builder.q1j(toByte(point >> 8));
|
|
3275
3275
|
}
|
|
3276
|
-
builder.
|
|
3276
|
+
builder.q1j(toByte(point & 255));
|
|
3277
3277
|
}
|
|
3278
3278
|
while (inductionVariable < last);
|
|
3279
3279
|
return decodeToString_0(readByteArray_0(builder));
|
|
@@ -3316,7 +3316,7 @@
|
|
|
3316
3316
|
if (character > 255) {
|
|
3317
3317
|
failedToMapError(character);
|
|
3318
3318
|
}
|
|
3319
|
-
dst.
|
|
3319
|
+
dst.q1j(toByte(character));
|
|
3320
3320
|
}
|
|
3321
3321
|
while (inductionVariable < toIndex);
|
|
3322
3322
|
return toIndex - fromIndex | 0;
|
|
@@ -3338,64 +3338,64 @@
|
|
|
3338
3338
|
}
|
|
3339
3339
|
}
|
|
3340
3340
|
function DefaultPool(capacity) {
|
|
3341
|
-
this.
|
|
3341
|
+
this.n1y_1 = capacity;
|
|
3342
3342
|
var tmp = this;
|
|
3343
3343
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3344
|
-
var size = this.
|
|
3345
|
-
tmp.
|
|
3346
|
-
this.
|
|
3344
|
+
var size = this.n1y_1;
|
|
3345
|
+
tmp.o1y_1 = Array(size);
|
|
3346
|
+
this.p1y_1 = 0;
|
|
3347
3347
|
}
|
|
3348
|
-
protoOf(DefaultPool).
|
|
3348
|
+
protoOf(DefaultPool).q1y = function (instance) {
|
|
3349
3349
|
};
|
|
3350
|
-
protoOf(DefaultPool).
|
|
3350
|
+
protoOf(DefaultPool).r1y = function (instance) {
|
|
3351
3351
|
return instance;
|
|
3352
3352
|
};
|
|
3353
|
-
protoOf(DefaultPool).
|
|
3353
|
+
protoOf(DefaultPool).s1y = function (instance) {
|
|
3354
3354
|
};
|
|
3355
|
-
protoOf(DefaultPool).
|
|
3356
|
-
if (this.
|
|
3357
|
-
return this.
|
|
3358
|
-
this.
|
|
3359
|
-
var idx = this.
|
|
3360
|
-
var tmp = this.
|
|
3355
|
+
protoOf(DefaultPool).t1y = function () {
|
|
3356
|
+
if (this.p1y_1 === 0)
|
|
3357
|
+
return this.m1y();
|
|
3358
|
+
this.p1y_1 = this.p1y_1 - 1 | 0;
|
|
3359
|
+
var idx = this.p1y_1;
|
|
3360
|
+
var tmp = this.o1y_1[idx];
|
|
3361
3361
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3362
|
-
this.
|
|
3363
|
-
return this.
|
|
3362
|
+
this.o1y_1[idx] = null;
|
|
3363
|
+
return this.r1y(instance);
|
|
3364
3364
|
};
|
|
3365
|
-
protoOf(DefaultPool).
|
|
3366
|
-
this.
|
|
3367
|
-
if (this.
|
|
3368
|
-
this.
|
|
3365
|
+
protoOf(DefaultPool).u1y = function (instance) {
|
|
3366
|
+
this.s1y(instance);
|
|
3367
|
+
if (this.p1y_1 === this.n1y_1) {
|
|
3368
|
+
this.q1y(instance);
|
|
3369
3369
|
} else {
|
|
3370
|
-
var _unary__edvuaz = this.
|
|
3371
|
-
this.
|
|
3372
|
-
this.
|
|
3370
|
+
var _unary__edvuaz = this.p1y_1;
|
|
3371
|
+
this.p1y_1 = _unary__edvuaz + 1 | 0;
|
|
3372
|
+
this.o1y_1[_unary__edvuaz] = instance;
|
|
3373
3373
|
}
|
|
3374
3374
|
};
|
|
3375
|
-
protoOf(DefaultPool).
|
|
3375
|
+
protoOf(DefaultPool).vr = function () {
|
|
3376
3376
|
var inductionVariable = 0;
|
|
3377
|
-
var last = this.
|
|
3377
|
+
var last = this.p1y_1;
|
|
3378
3378
|
if (inductionVariable < last)
|
|
3379
3379
|
do {
|
|
3380
3380
|
var i = inductionVariable;
|
|
3381
3381
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3382
|
-
var tmp = this.
|
|
3382
|
+
var tmp = this.o1y_1[i];
|
|
3383
3383
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3384
|
-
this.
|
|
3385
|
-
this.
|
|
3384
|
+
this.o1y_1[i] = null;
|
|
3385
|
+
this.q1y(instance);
|
|
3386
3386
|
}
|
|
3387
3387
|
while (inductionVariable < last);
|
|
3388
|
-
this.
|
|
3388
|
+
this.p1y_1 = 0;
|
|
3389
3389
|
};
|
|
3390
3390
|
//region block: post-declaration
|
|
3391
|
-
protoOf(Read).
|
|
3392
|
-
protoOf(Read).
|
|
3393
|
-
protoOf(Write).
|
|
3394
|
-
protoOf(Write).
|
|
3395
|
-
protoOf(ByteChannel).
|
|
3396
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
3397
|
-
protoOf(CountedByteReadChannel).
|
|
3398
|
-
protoOf(SourceByteReadChannel).
|
|
3391
|
+
protoOf(Read).b1l = resume;
|
|
3392
|
+
protoOf(Read).c1l = resume_0;
|
|
3393
|
+
protoOf(Write).b1l = resume;
|
|
3394
|
+
protoOf(Write).c1l = resume_0;
|
|
3395
|
+
protoOf(ByteChannel).m1n = awaitContent$default;
|
|
3396
|
+
protoOf(ByteReadChannel$Companion$Empty$1).m1n = awaitContent$default;
|
|
3397
|
+
protoOf(CountedByteReadChannel).m1n = awaitContent$default;
|
|
3398
|
+
protoOf(SourceByteReadChannel).m1n = awaitContent$default;
|
|
3399
3399
|
protoOf(DefaultPool).p4 = close;
|
|
3400
3400
|
protoOf(NoPoolImpl).p4 = close;
|
|
3401
3401
|
//endregion
|