@doordeck/doordeck-headless-sdk 0.142.0 → 0.144.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 +59 -59
- package/kotlin/Kermit-kermit.js +8 -8
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +47 -47
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +22 -22
- package/kotlin/doordeck-sdk.d.ts +90 -90
- package/kotlin/doordeck-sdk.js +13383 -13254
- package/kotlin/kotlin-kotlin-stdlib.js +2495 -2269
- package/kotlin/kotlinx-atomicfu.js +24 -24
- package/kotlin/kotlinx-coroutines-core.js +2363 -2363
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +49 -49
- package/kotlin/kotlinx-io-kotlinx-io-core.js +498 -498
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1889 -1889
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1557 -1557
- package/kotlin/ktor-ktor-client-auth.js +471 -471
- package/kotlin/ktor-ktor-client-content-negotiation.js +215 -215
- package/kotlin/ktor-ktor-client-core.js +3032 -3032
- package/kotlin/ktor-ktor-client-logging.js +1193 -1193
- package/kotlin/ktor-ktor-events.js +11 -11
- package/kotlin/ktor-ktor-http-cio.js +546 -546
- package/kotlin/ktor-ktor-http.js +845 -845
- package/kotlin/ktor-ktor-io.js +1121 -1121
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/kotlin/ktor-ktor-serialization-kotlinx.js +269 -269
- package/kotlin/ktor-ktor-serialization.js +128 -128
- package/kotlin/ktor-ktor-utils.js +918 -905
- package/kotlin/ktor-ktor-websockets.js +53 -53
- package/package.json +1 -1
package/kotlin/ktor-ktor-io.js
CHANGED
|
@@ -4,86 +4,86 @@
|
|
|
4
4
|
var Companion_instance = kotlin_kotlin.$_$.a5;
|
|
5
5
|
var Unit_instance = kotlin_kotlin.$_$.f5;
|
|
6
6
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.t2;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
9
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
10
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
11
|
-
var toString = kotlin_kotlin.$_$.
|
|
12
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
13
|
-
var equals = kotlin_kotlin.$_$.
|
|
14
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
15
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
16
|
-
var Result = kotlin_kotlin.$_$.
|
|
17
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
18
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
19
|
-
var newThrowable = kotlin_kotlin.$_$.
|
|
20
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.lb;
|
|
8
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ma;
|
|
9
|
+
var THROW_CCE = kotlin_kotlin.$_$.ff;
|
|
10
|
+
var initMetadataForObject = kotlin_kotlin.$_$.ra;
|
|
11
|
+
var toString = kotlin_kotlin.$_$.ig;
|
|
12
|
+
var hashCode = kotlin_kotlin.$_$.ka;
|
|
13
|
+
var equals = kotlin_kotlin.$_$.ea;
|
|
14
|
+
var initMetadataForClass = kotlin_kotlin.$_$.la;
|
|
15
|
+
var createFailure = kotlin_kotlin.$_$.wf;
|
|
16
|
+
var Result = kotlin_kotlin.$_$.df;
|
|
17
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.pa;
|
|
18
|
+
var toString_0 = kotlin_kotlin.$_$.be;
|
|
19
|
+
var newThrowable = kotlin_kotlin.$_$.gb;
|
|
20
|
+
var stackTraceToString = kotlin_kotlin.$_$.gg;
|
|
21
21
|
var VOID = kotlin_kotlin.$_$.h;
|
|
22
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
23
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
24
|
-
var toLong = kotlin_kotlin.$_$.
|
|
25
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
26
|
-
var intercepted = kotlin_kotlin.$_$.
|
|
22
|
+
var isInterface = kotlin_kotlin.$_$.ab;
|
|
23
|
+
var CoroutineImpl = kotlin_kotlin.$_$.n9;
|
|
24
|
+
var toLong = kotlin_kotlin.$_$.nb;
|
|
25
|
+
var numberToLong = kotlin_kotlin.$_$.jb;
|
|
26
|
+
var intercepted = kotlin_kotlin.$_$.a9;
|
|
27
27
|
var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
|
|
28
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
28
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.eg;
|
|
29
29
|
var returnIfSuspended = kotlin_kotlin.$_$.m;
|
|
30
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
31
|
-
var Long = kotlin_kotlin.$_$.
|
|
32
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
30
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.x8;
|
|
31
|
+
var Long = kotlin_kotlin.$_$.af;
|
|
32
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.na;
|
|
33
33
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
34
34
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
|
|
35
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
35
|
+
var IllegalStateException = kotlin_kotlin.$_$.ze;
|
|
36
36
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.y1;
|
|
37
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
37
|
+
var captureStack = kotlin_kotlin.$_$.v9;
|
|
38
38
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
39
39
|
var decodeToString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.d;
|
|
40
|
-
var replace = kotlin_kotlin.$_$.
|
|
40
|
+
var replace = kotlin_kotlin.$_$.cd;
|
|
41
41
|
var indexOf = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.i;
|
|
42
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
42
|
+
var toString_1 = kotlin_kotlin.$_$.pb;
|
|
43
43
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.t1;
|
|
44
44
|
var readString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.o;
|
|
45
|
-
var closeFinally = kotlin_kotlin.$_$.
|
|
45
|
+
var closeFinally = kotlin_kotlin.$_$.uf;
|
|
46
46
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
47
47
|
var readByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.l;
|
|
48
48
|
var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.l4;
|
|
49
49
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
|
|
50
50
|
var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k1;
|
|
51
51
|
var startCoroutineCancellable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
|
|
52
|
-
var Continuation = kotlin_kotlin.$_$.
|
|
53
|
-
var initMetadataForFunctionReference = kotlin_kotlin.$_$.
|
|
52
|
+
var Continuation = kotlin_kotlin.$_$.h9;
|
|
53
|
+
var initMetadataForFunctionReference = kotlin_kotlin.$_$.oa;
|
|
54
54
|
var get_job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
|
|
55
55
|
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c1;
|
|
56
56
|
var cancel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i1;
|
|
57
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
57
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.qa;
|
|
58
58
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
59
|
-
var CancellationException = kotlin_kotlin.$_$.
|
|
59
|
+
var CancellationException = kotlin_kotlin.$_$.w8;
|
|
60
60
|
var CopyableThrowable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
|
|
61
61
|
var readString_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.m;
|
|
62
62
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
63
63
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.d;
|
|
64
64
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
65
|
-
var listOf = kotlin_kotlin.$_$.
|
|
65
|
+
var listOf = kotlin_kotlin.$_$.q7;
|
|
66
66
|
var IOException_init_$Create$_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.e;
|
|
67
67
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
68
68
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.x1;
|
|
69
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
69
|
+
var charSequenceLength = kotlin_kotlin.$_$.aa;
|
|
70
70
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.j;
|
|
71
|
-
var encodeToByteArray = kotlin_kotlin.$_$.
|
|
71
|
+
var encodeToByteArray = kotlin_kotlin.$_$.mc;
|
|
72
72
|
var readString_1 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.n;
|
|
73
73
|
var writeString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.p;
|
|
74
|
-
var AutoCloseable = kotlin_kotlin.$_$.
|
|
74
|
+
var AutoCloseable = kotlin_kotlin.$_$.oe;
|
|
75
75
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.l2;
|
|
76
|
-
var replace_0 = kotlin_kotlin.$_$.
|
|
77
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
76
|
+
var replace_0 = kotlin_kotlin.$_$.dd;
|
|
77
|
+
var getStringHashCode = kotlin_kotlin.$_$.ja;
|
|
78
78
|
var IOException_init_$Init$_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
79
79
|
var readByteArray_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
80
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
81
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
82
|
-
var trim = kotlin_kotlin.$_$.
|
|
83
|
-
var toByte = kotlin_kotlin.$_$.
|
|
84
|
-
var decodeToString_0 = kotlin_kotlin.$_$.
|
|
85
|
-
var setOf = kotlin_kotlin.$_$.
|
|
86
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
80
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.ba;
|
|
81
|
+
var isCharSequence = kotlin_kotlin.$_$.wa;
|
|
82
|
+
var trim = kotlin_kotlin.$_$.je;
|
|
83
|
+
var toByte = kotlin_kotlin.$_$.mb;
|
|
84
|
+
var decodeToString_0 = kotlin_kotlin.$_$.kc;
|
|
85
|
+
var setOf = kotlin_kotlin.$_$.c8;
|
|
86
|
+
var charSequenceGet = kotlin_kotlin.$_$.z9;
|
|
87
87
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.r2;
|
|
88
88
|
//endregion
|
|
89
89
|
//region block: pre-declaration
|
|
@@ -91,10 +91,10 @@
|
|
|
91
91
|
initMetadataForObject(Empty, 'Empty');
|
|
92
92
|
initMetadataForClass(Closed, 'Closed');
|
|
93
93
|
function resume() {
|
|
94
|
-
return this.
|
|
94
|
+
return this.g1m().y9(Companion_getInstance().d1m_1);
|
|
95
95
|
}
|
|
96
96
|
function resume_0(throwable) {
|
|
97
|
-
var tmp = this.
|
|
97
|
+
var tmp = this.g1m();
|
|
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.
|
|
108
|
+
return tmp.y9(tmp1_elvis_lhs == null ? Companion_getInstance().d1m_1 : tmp1_elvis_lhs.wm_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.s1o(min, $completion) : $super.s1o.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.ct();
|
|
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.c1m_1 = new Closed(null);
|
|
180
180
|
var tmp = this;
|
|
181
181
|
// Inline function 'kotlin.Companion.success' call
|
|
182
|
-
tmp.
|
|
182
|
+
tmp.d1m_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.e1m_1 = cause;
|
|
212
212
|
}
|
|
213
213
|
protoOf(Closed).toString = function () {
|
|
214
|
-
return 'Closed(cause=' + toString(this.
|
|
214
|
+
return 'Closed(cause=' + toString(this.e1m_1) + ')';
|
|
215
215
|
};
|
|
216
216
|
protoOf(Closed).hashCode = function () {
|
|
217
|
-
return this.
|
|
217
|
+
return this.e1m_1 == null ? 0 : hashCode(this.e1m_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.e1m_1, tmp0_other_with_cast.e1m_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.k1m_1 = continuation;
|
|
233
|
+
this.l1m_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.k1m_1), 16));
|
|
238
238
|
stackTraceToString(this_0);
|
|
239
|
-
tmp.
|
|
239
|
+
tmp.l1m_1 = this_0;
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
|
-
protoOf(Read).
|
|
243
|
-
return this.
|
|
242
|
+
protoOf(Read).g1m = function () {
|
|
243
|
+
return this.k1m_1;
|
|
244
244
|
};
|
|
245
|
-
protoOf(Read).
|
|
246
|
-
return this.
|
|
245
|
+
protoOf(Read).f1m = function () {
|
|
246
|
+
return this.l1m_1;
|
|
247
247
|
};
|
|
248
|
-
protoOf(Read).
|
|
248
|
+
protoOf(Read).h1m = function () {
|
|
249
249
|
return 'read';
|
|
250
250
|
};
|
|
251
251
|
function Write(continuation) {
|
|
252
|
-
this.
|
|
253
|
-
this.
|
|
252
|
+
this.m1m_1 = continuation;
|
|
253
|
+
this.n1m_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.m1m_1), 16));
|
|
258
258
|
stackTraceToString(this_0);
|
|
259
|
-
tmp.
|
|
259
|
+
tmp.n1m_1 = this_0;
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
|
-
protoOf(Write).
|
|
263
|
-
return this.
|
|
262
|
+
protoOf(Write).g1m = function () {
|
|
263
|
+
return this.m1m_1;
|
|
264
264
|
};
|
|
265
|
-
protoOf(Write).
|
|
266
|
-
return this.
|
|
265
|
+
protoOf(Write).f1m = function () {
|
|
266
|
+
return this.n1m_1;
|
|
267
267
|
};
|
|
268
|
-
protoOf(Write).
|
|
268
|
+
protoOf(Write).h1m = 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.r1m_1;
|
|
274
|
+
$this.p1m_1.h1k($this.t1m_1);
|
|
275
|
+
$this.q1m_1 = 0;
|
|
276
276
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
277
|
-
var current = $this.
|
|
277
|
+
var current = $this.s1m_1.kotlinx$atomicfu$value;
|
|
278
278
|
var tmp;
|
|
279
279
|
if (current instanceof Write) {
|
|
280
|
-
tmp = $this.
|
|
280
|
+
tmp = $this.s1m_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
281
281
|
} else {
|
|
282
282
|
tmp = false;
|
|
283
283
|
}
|
|
284
284
|
if (tmp) {
|
|
285
|
-
current.
|
|
285
|
+
current.i1m();
|
|
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().c1m_1;
|
|
290
|
+
var continuation = $this.s1m_1.atomicfu$getAndSet(closeContinuation);
|
|
291
291
|
if (isInterface(continuation, Task)) {
|
|
292
|
-
continuation.
|
|
292
|
+
continuation.j1m(cause);
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
function ClosedReadChannelException$_init_$ref_ix0089() {
|
|
@@ -308,52 +308,52 @@
|
|
|
308
308
|
}
|
|
309
309
|
function $awaitContentCOROUTINE$(_this__u8e3s4, min, resultContinuation) {
|
|
310
310
|
CoroutineImpl.call(this, resultContinuation);
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
311
|
+
this.e1n_1 = _this__u8e3s4;
|
|
312
|
+
this.f1n_1 = min;
|
|
313
313
|
}
|
|
314
|
-
protoOf($awaitContentCOROUTINE$).
|
|
315
|
-
var suspendResult = this.
|
|
314
|
+
protoOf($awaitContentCOROUTINE$).v9 = function () {
|
|
315
|
+
var suspendResult = this.p9_1;
|
|
316
316
|
$sm: do
|
|
317
317
|
try {
|
|
318
|
-
var tmp = this.
|
|
318
|
+
var tmp = this.n9_1;
|
|
319
319
|
switch (tmp) {
|
|
320
320
|
case 0:
|
|
321
|
-
this.
|
|
322
|
-
rethrowCloseCauseIfNeeded_0(this.
|
|
323
|
-
if (this.
|
|
321
|
+
this.o9_1 = 4;
|
|
322
|
+
rethrowCloseCauseIfNeeded_0(this.e1n_1);
|
|
323
|
+
if (this.e1n_1.t1m_1.s().d1(toLong(this.f1n_1)) >= 0)
|
|
324
324
|
return true;
|
|
325
325
|
var tmp_0 = this;
|
|
326
|
-
tmp_0.
|
|
327
|
-
this.
|
|
328
|
-
this.
|
|
326
|
+
tmp_0.g1n_1 = this.e1n_1;
|
|
327
|
+
this.h1n_1 = this.g1n_1;
|
|
328
|
+
this.n9_1 = 1;
|
|
329
329
|
continue $sm;
|
|
330
330
|
case 1:
|
|
331
|
-
if (!(numberToLong(this.
|
|
332
|
-
this.
|
|
331
|
+
if (!(numberToLong(this.e1n_1.q1m_1).c3(this.e1n_1.t1m_1.s()).d1(toLong(this.f1n_1)) < 0 && this.e1n_1.v1m_1.kotlinx$atomicfu$value == null)) {
|
|
332
|
+
this.n9_1 = 3;
|
|
333
333
|
continue $sm;
|
|
334
334
|
}
|
|
335
335
|
|
|
336
|
-
this.
|
|
336
|
+
this.n9_1 = 2;
|
|
337
337
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
338
|
-
cancellable.
|
|
339
|
-
var tmp0 = this.
|
|
338
|
+
cancellable.fu();
|
|
339
|
+
var tmp0 = this.h1n_1;
|
|
340
340
|
var tmp2 = new Read(cancellable);
|
|
341
341
|
l$ret$1: do {
|
|
342
|
-
var previous = tmp0.
|
|
342
|
+
var previous = tmp0.s1m_1.kotlinx$atomicfu$value;
|
|
343
343
|
if (!(previous instanceof Closed)) {
|
|
344
|
-
if (!tmp0.
|
|
345
|
-
tmp2.
|
|
344
|
+
if (!tmp0.s1m_1.atomicfu$compareAndSet(previous, tmp2)) {
|
|
345
|
+
tmp2.i1m();
|
|
346
346
|
break l$ret$1;
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
if (previous instanceof Read) {
|
|
350
|
-
previous.
|
|
350
|
+
previous.j1m(new ConcurrentIOException(tmp2.h1m(), previous.f1m()));
|
|
351
351
|
} else {
|
|
352
352
|
if (isInterface(previous, Task)) {
|
|
353
|
-
previous.
|
|
353
|
+
previous.i1m();
|
|
354
354
|
} else {
|
|
355
355
|
if (previous instanceof Closed) {
|
|
356
|
-
tmp2.
|
|
356
|
+
tmp2.j1m(previous.e1m_1);
|
|
357
357
|
break l$ret$1;
|
|
358
358
|
} else {
|
|
359
359
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -362,97 +362,97 @@
|
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
if (!(numberToLong(this.
|
|
366
|
-
var current = tmp0.
|
|
365
|
+
if (!(numberToLong(this.e1n_1.q1m_1).c3(this.e1n_1.t1m_1.s()).d1(toLong(this.f1n_1)) < 0 && this.e1n_1.v1m_1.kotlinx$atomicfu$value == null)) {
|
|
366
|
+
var current = tmp0.s1m_1.kotlinx$atomicfu$value;
|
|
367
367
|
var tmp_1;
|
|
368
368
|
if (current instanceof Read) {
|
|
369
|
-
tmp_1 = tmp0.
|
|
369
|
+
tmp_1 = tmp0.s1m_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.i1m();
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
377
|
}
|
|
378
378
|
while (false);
|
|
379
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
379
|
+
suspendResult = returnIfSuspended(cancellable.gu(), this);
|
|
380
380
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
381
381
|
return suspendResult;
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
continue $sm;
|
|
385
385
|
case 2:
|
|
386
|
-
this.
|
|
386
|
+
this.n9_1 = 1;
|
|
387
387
|
continue $sm;
|
|
388
388
|
case 3:
|
|
389
|
-
if (this.
|
|
390
|
-
moveFlushToReadBuffer(this.
|
|
389
|
+
if (this.e1n_1.t1m_1.s().d1(new Long(1048576, 0)) < 0) {
|
|
390
|
+
moveFlushToReadBuffer(this.e1n_1);
|
|
391
391
|
}
|
|
392
392
|
|
|
393
|
-
return this.
|
|
393
|
+
return this.e1n_1.t1m_1.s().d1(toLong(this.f1n_1)) >= 0;
|
|
394
394
|
case 4:
|
|
395
|
-
throw this.
|
|
395
|
+
throw this.q9_1;
|
|
396
396
|
}
|
|
397
397
|
} catch ($p) {
|
|
398
398
|
var e = $p;
|
|
399
|
-
if (this.
|
|
399
|
+
if (this.o9_1 === 4) {
|
|
400
400
|
throw e;
|
|
401
401
|
} else {
|
|
402
|
-
this.
|
|
403
|
-
this.
|
|
402
|
+
this.n9_1 = this.o9_1;
|
|
403
|
+
this.q9_1 = e;
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
406
|
while (true);
|
|
407
407
|
};
|
|
408
408
|
function $flushCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
409
409
|
CoroutineImpl.call(this, resultContinuation);
|
|
410
|
-
this.
|
|
410
|
+
this.q1n_1 = _this__u8e3s4;
|
|
411
411
|
}
|
|
412
|
-
protoOf($flushCOROUTINE$).
|
|
413
|
-
var suspendResult = this.
|
|
412
|
+
protoOf($flushCOROUTINE$).v9 = function () {
|
|
413
|
+
var suspendResult = this.p9_1;
|
|
414
414
|
$sm: do
|
|
415
415
|
try {
|
|
416
|
-
var tmp = this.
|
|
416
|
+
var tmp = this.n9_1;
|
|
417
417
|
switch (tmp) {
|
|
418
418
|
case 0:
|
|
419
|
-
this.
|
|
420
|
-
rethrowCloseCauseIfNeeded_0(this.
|
|
421
|
-
this.
|
|
422
|
-
if (this.
|
|
419
|
+
this.o9_1 = 4;
|
|
420
|
+
rethrowCloseCauseIfNeeded_0(this.q1n_1);
|
|
421
|
+
this.q1n_1.t1n();
|
|
422
|
+
if (this.q1n_1.q1m_1 < 1048576)
|
|
423
423
|
return Unit_instance;
|
|
424
424
|
var tmp_0 = this;
|
|
425
|
-
tmp_0.
|
|
426
|
-
this.
|
|
427
|
-
this.
|
|
425
|
+
tmp_0.r1n_1 = this.q1n_1;
|
|
426
|
+
this.s1n_1 = this.r1n_1;
|
|
427
|
+
this.n9_1 = 1;
|
|
428
428
|
continue $sm;
|
|
429
429
|
case 1:
|
|
430
|
-
if (!(this.
|
|
431
|
-
this.
|
|
430
|
+
if (!(this.q1n_1.q1m_1 >= 1048576 && this.q1n_1.v1m_1.kotlinx$atomicfu$value == null)) {
|
|
431
|
+
this.n9_1 = 3;
|
|
432
432
|
continue $sm;
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
this.
|
|
435
|
+
this.n9_1 = 2;
|
|
436
436
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
437
|
-
cancellable.
|
|
438
|
-
var tmp0 = this.
|
|
437
|
+
cancellable.fu();
|
|
438
|
+
var tmp0 = this.s1n_1;
|
|
439
439
|
var tmp2 = new Write(cancellable);
|
|
440
440
|
l$ret$1: do {
|
|
441
|
-
var previous = tmp0.
|
|
441
|
+
var previous = tmp0.s1m_1.kotlinx$atomicfu$value;
|
|
442
442
|
if (!(previous instanceof Closed)) {
|
|
443
|
-
if (!tmp0.
|
|
444
|
-
tmp2.
|
|
443
|
+
if (!tmp0.s1m_1.atomicfu$compareAndSet(previous, tmp2)) {
|
|
444
|
+
tmp2.i1m();
|
|
445
445
|
break l$ret$1;
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
448
|
if (previous instanceof Write) {
|
|
449
|
-
previous.
|
|
449
|
+
previous.j1m(new ConcurrentIOException(tmp2.h1m(), previous.f1m()));
|
|
450
450
|
} else {
|
|
451
451
|
if (isInterface(previous, Task)) {
|
|
452
|
-
previous.
|
|
452
|
+
previous.i1m();
|
|
453
453
|
} else {
|
|
454
454
|
if (previous instanceof Closed) {
|
|
455
|
-
tmp2.
|
|
455
|
+
tmp2.j1m(previous.e1m_1);
|
|
456
456
|
break l$ret$1;
|
|
457
457
|
} else {
|
|
458
458
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -461,68 +461,68 @@
|
|
|
461
461
|
}
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
if (!(this.
|
|
465
|
-
var current = tmp0.
|
|
464
|
+
if (!(this.q1n_1.q1m_1 >= 1048576 && this.q1n_1.v1m_1.kotlinx$atomicfu$value == null)) {
|
|
465
|
+
var current = tmp0.s1m_1.kotlinx$atomicfu$value;
|
|
466
466
|
var tmp_1;
|
|
467
467
|
if (current instanceof Write) {
|
|
468
|
-
tmp_1 = tmp0.
|
|
468
|
+
tmp_1 = tmp0.s1m_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.i1m();
|
|
474
474
|
}
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
while (false);
|
|
478
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
478
|
+
suspendResult = returnIfSuspended(cancellable.gu(), this);
|
|
479
479
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
480
480
|
return suspendResult;
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
continue $sm;
|
|
484
484
|
case 2:
|
|
485
|
-
this.
|
|
485
|
+
this.n9_1 = 1;
|
|
486
486
|
continue $sm;
|
|
487
487
|
case 3:
|
|
488
488
|
return Unit_instance;
|
|
489
489
|
case 4:
|
|
490
|
-
throw this.
|
|
490
|
+
throw this.q9_1;
|
|
491
491
|
}
|
|
492
492
|
} catch ($p) {
|
|
493
493
|
var e = $p;
|
|
494
|
-
if (this.
|
|
494
|
+
if (this.o9_1 === 4) {
|
|
495
495
|
throw e;
|
|
496
496
|
} else {
|
|
497
|
-
this.
|
|
498
|
-
this.
|
|
497
|
+
this.n9_1 = this.o9_1;
|
|
498
|
+
this.q9_1 = e;
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
501
|
while (true);
|
|
502
502
|
};
|
|
503
503
|
function $flushAndCloseCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
504
504
|
CoroutineImpl.call(this, resultContinuation);
|
|
505
|
-
this.
|
|
505
|
+
this.c1o_1 = _this__u8e3s4;
|
|
506
506
|
}
|
|
507
|
-
protoOf($flushAndCloseCOROUTINE$).
|
|
508
|
-
var suspendResult = this.
|
|
507
|
+
protoOf($flushAndCloseCOROUTINE$).v9 = function () {
|
|
508
|
+
var suspendResult = this.p9_1;
|
|
509
509
|
$sm: do
|
|
510
510
|
try {
|
|
511
|
-
var tmp = this.
|
|
511
|
+
var tmp = this.n9_1;
|
|
512
512
|
switch (tmp) {
|
|
513
513
|
case 0:
|
|
514
|
-
this.
|
|
514
|
+
this.o9_1 = 4;
|
|
515
515
|
var tmp_0 = this;
|
|
516
|
-
tmp_0.
|
|
517
|
-
this.
|
|
518
|
-
this.
|
|
516
|
+
tmp_0.d1o_1 = this.c1o_1;
|
|
517
|
+
this.e1o_1 = this.d1o_1;
|
|
518
|
+
this.o9_1 = 2;
|
|
519
519
|
var tmp_1 = this;
|
|
520
|
-
tmp_1.
|
|
520
|
+
tmp_1.g1o_1 = Companion_instance;
|
|
521
521
|
var tmp_2 = this;
|
|
522
|
-
tmp_2.
|
|
523
|
-
this.
|
|
524
|
-
this.
|
|
525
|
-
suspendResult = this.
|
|
522
|
+
tmp_2.h1o_1 = this.e1o_1;
|
|
523
|
+
this.i1o_1 = this.h1o_1;
|
|
524
|
+
this.n9_1 = 1;
|
|
525
|
+
suspendResult = this.i1o_1.j1o(this);
|
|
526
526
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
527
527
|
return suspendResult;
|
|
528
528
|
}
|
|
@@ -530,141 +530,141 @@
|
|
|
530
530
|
continue $sm;
|
|
531
531
|
case 1:
|
|
532
532
|
var tmp_3 = this;
|
|
533
|
-
this.
|
|
534
|
-
tmp_3.
|
|
535
|
-
this.
|
|
536
|
-
this.
|
|
533
|
+
this.g1o_1;
|
|
534
|
+
tmp_3.f1o_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
535
|
+
this.o9_1 = 4;
|
|
536
|
+
this.n9_1 = 3;
|
|
537
537
|
continue $sm;
|
|
538
538
|
case 2:
|
|
539
|
-
this.
|
|
540
|
-
var tmp_4 = this.
|
|
539
|
+
this.o9_1 = 4;
|
|
540
|
+
var tmp_4 = this.q9_1;
|
|
541
541
|
if (tmp_4 instanceof Error) {
|
|
542
|
-
var e = this.
|
|
542
|
+
var e = this.q9_1;
|
|
543
543
|
var tmp_5 = this;
|
|
544
|
-
tmp_5.
|
|
545
|
-
this.
|
|
544
|
+
tmp_5.f1o_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
545
|
+
this.n9_1 = 3;
|
|
546
546
|
continue $sm;
|
|
547
547
|
} else {
|
|
548
|
-
throw this.
|
|
548
|
+
throw this.q9_1;
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
case 3:
|
|
552
|
-
this.
|
|
553
|
-
if (!this.
|
|
552
|
+
this.o9_1 = 4;
|
|
553
|
+
if (!this.c1o_1.v1m_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
554
554
|
return Unit_instance;
|
|
555
|
-
closeSlot(this.
|
|
555
|
+
closeSlot(this.c1o_1, null);
|
|
556
556
|
return Unit_instance;
|
|
557
557
|
case 4:
|
|
558
|
-
throw this.
|
|
558
|
+
throw this.q9_1;
|
|
559
559
|
}
|
|
560
560
|
} catch ($p) {
|
|
561
561
|
var e_0 = $p;
|
|
562
|
-
if (this.
|
|
562
|
+
if (this.o9_1 === 4) {
|
|
563
563
|
throw e_0;
|
|
564
564
|
} else {
|
|
565
|
-
this.
|
|
566
|
-
this.
|
|
565
|
+
this.n9_1 = this.o9_1;
|
|
566
|
+
this.q9_1 = e_0;
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
while (true);
|
|
570
570
|
};
|
|
571
571
|
function ByteChannel(autoFlush) {
|
|
572
572
|
autoFlush = autoFlush === VOID ? false : autoFlush;
|
|
573
|
-
this.
|
|
574
|
-
this.k1m_1 = new Buffer();
|
|
575
|
-
this.l1m_1 = 0;
|
|
576
|
-
this.m1m_1 = new Object();
|
|
577
|
-
this.n1m_1 = atomic$ref$1(Empty_instance);
|
|
578
|
-
this.o1m_1 = new Buffer();
|
|
573
|
+
this.o1m_1 = autoFlush;
|
|
579
574
|
this.p1m_1 = new Buffer();
|
|
580
|
-
this.q1m_1 =
|
|
575
|
+
this.q1m_1 = 0;
|
|
576
|
+
this.r1m_1 = new Object();
|
|
577
|
+
this.s1m_1 = atomic$ref$1(Empty_instance);
|
|
578
|
+
this.t1m_1 = new Buffer();
|
|
579
|
+
this.u1m_1 = new Buffer();
|
|
580
|
+
this.v1m_1 = atomic$ref$1(null);
|
|
581
581
|
}
|
|
582
|
-
protoOf(ByteChannel).
|
|
583
|
-
var tmp0_safe_receiver = this.
|
|
582
|
+
protoOf(ByteChannel).k1o = function () {
|
|
583
|
+
var tmp0_safe_receiver = this.v1m_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.m1o(ClosedReadChannelException$_init_$ref_ix0089());
|
|
588
588
|
}
|
|
589
|
-
if (this.
|
|
589
|
+
if (this.t1m_1.e1j()) {
|
|
590
590
|
moveFlushToReadBuffer(this);
|
|
591
591
|
}
|
|
592
|
-
return this.
|
|
592
|
+
return this.t1m_1;
|
|
593
593
|
};
|
|
594
|
-
protoOf(ByteChannel).
|
|
595
|
-
if (this.
|
|
596
|
-
var tmp0_safe_receiver = this.
|
|
594
|
+
protoOf(ByteChannel).n1o = function () {
|
|
595
|
+
if (this.o1o()) {
|
|
596
|
+
var tmp0_safe_receiver = this.v1m_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.m1o(ClosedWriteChannelException$_init_$ref_ef15ty());
|
|
602
602
|
}
|
|
603
603
|
if (tmp == null)
|
|
604
604
|
throw new ClosedWriteChannelException();
|
|
605
605
|
}
|
|
606
|
-
return this.
|
|
606
|
+
return this.u1m_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).p1o = function () {
|
|
609
|
+
var tmp0_safe_receiver = this.v1m_1.kotlinx$atomicfu$value;
|
|
610
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q1o();
|
|
611
611
|
};
|
|
612
|
-
protoOf(ByteChannel).
|
|
613
|
-
return !(this.
|
|
612
|
+
protoOf(ByteChannel).o1o = function () {
|
|
613
|
+
return !(this.v1m_1.kotlinx$atomicfu$value == null);
|
|
614
614
|
};
|
|
615
|
-
protoOf(ByteChannel).
|
|
616
|
-
return !(this.
|
|
615
|
+
protoOf(ByteChannel).r1o = function () {
|
|
616
|
+
return !(this.p1o() == null) || (this.o1o() && this.q1m_1 === 0 && this.t1m_1.e1j());
|
|
617
617
|
};
|
|
618
|
-
protoOf(ByteChannel).
|
|
618
|
+
protoOf(ByteChannel).s1o = function (min, $completion) {
|
|
619
619
|
var tmp = new $awaitContentCOROUTINE$(this, min, $completion);
|
|
620
|
-
tmp.
|
|
621
|
-
tmp.
|
|
622
|
-
return tmp.
|
|
620
|
+
tmp.p9_1 = Unit_instance;
|
|
621
|
+
tmp.q9_1 = null;
|
|
622
|
+
return tmp.v9();
|
|
623
623
|
};
|
|
624
|
-
protoOf(ByteChannel).
|
|
624
|
+
protoOf(ByteChannel).j1o = function ($completion) {
|
|
625
625
|
var tmp = new $flushCOROUTINE$(this, $completion);
|
|
626
|
-
tmp.
|
|
627
|
-
tmp.
|
|
628
|
-
return tmp.
|
|
626
|
+
tmp.p9_1 = Unit_instance;
|
|
627
|
+
tmp.q9_1 = null;
|
|
628
|
+
return tmp.v9();
|
|
629
629
|
};
|
|
630
|
-
protoOf(ByteChannel).
|
|
631
|
-
if (this.
|
|
630
|
+
protoOf(ByteChannel).t1n = function () {
|
|
631
|
+
if (this.u1m_1.e1j())
|
|
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.r1m_1;
|
|
635
|
+
var count = this.u1m_1.s().i1();
|
|
636
|
+
this.p1m_1.w1k(this.u1m_1);
|
|
637
|
+
this.q1m_1 = this.q1m_1 + count | 0;
|
|
638
638
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
639
|
-
var current = this.
|
|
639
|
+
var current = this.s1m_1.kotlinx$atomicfu$value;
|
|
640
640
|
var tmp;
|
|
641
641
|
if (current instanceof Read) {
|
|
642
|
-
tmp = this.
|
|
642
|
+
tmp = this.s1m_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
643
643
|
} else {
|
|
644
644
|
tmp = false;
|
|
645
645
|
}
|
|
646
646
|
if (tmp) {
|
|
647
|
-
current.
|
|
647
|
+
current.i1m();
|
|
648
648
|
}
|
|
649
649
|
};
|
|
650
|
-
protoOf(ByteChannel).
|
|
651
|
-
this.
|
|
652
|
-
if (!this.
|
|
650
|
+
protoOf(ByteChannel).u4 = function () {
|
|
651
|
+
this.t1n();
|
|
652
|
+
if (!this.v1m_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
653
653
|
return Unit_instance;
|
|
654
654
|
closeSlot(this, null);
|
|
655
655
|
};
|
|
656
|
-
protoOf(ByteChannel).
|
|
656
|
+
protoOf(ByteChannel).u1o = function ($completion) {
|
|
657
657
|
var tmp = new $flushAndCloseCOROUTINE$(this, $completion);
|
|
658
|
-
tmp.
|
|
659
|
-
tmp.
|
|
660
|
-
return tmp.
|
|
658
|
+
tmp.p9_1 = Unit_instance;
|
|
659
|
+
tmp.q9_1 = null;
|
|
660
|
+
return tmp.v9();
|
|
661
661
|
};
|
|
662
|
-
protoOf(ByteChannel).
|
|
663
|
-
if (!(this.
|
|
662
|
+
protoOf(ByteChannel).v1o = function (cause) {
|
|
663
|
+
if (!(this.v1m_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.v1m_1.atomicfu$compareAndSet(null, closedToken);
|
|
667
|
+
var wrappedCause = closedToken.q1o();
|
|
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.n1k(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.x1o_1.s());
|
|
692
692
|
var j = 0;
|
|
693
693
|
var inductionVariable = 1;
|
|
694
|
-
var last = $this.
|
|
694
|
+
var last = $this.x1o_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.x1o_1.u(i) === $this.x1o_1.u(j))) {
|
|
700
700
|
j = table[j - 1 | 0];
|
|
701
701
|
}
|
|
702
|
-
if ($this.
|
|
702
|
+
if ($this.x1o_1.u(i) === $this.x1o_1.u(j)) {
|
|
703
703
|
j = j + 1 | 0;
|
|
704
704
|
}
|
|
705
705
|
table[i] = j;
|
|
@@ -709,19 +709,19 @@
|
|
|
709
709
|
}
|
|
710
710
|
function advanceToNextPotentialMatch($this, $completion) {
|
|
711
711
|
var tmp = new $advanceToNextPotentialMatchCOROUTINE$($this, $completion);
|
|
712
|
-
tmp.
|
|
713
|
-
tmp.
|
|
714
|
-
return tmp.
|
|
712
|
+
tmp.p9_1 = Unit_instance;
|
|
713
|
+
tmp.q9_1 = null;
|
|
714
|
+
return tmp.v9();
|
|
715
715
|
}
|
|
716
716
|
function checkFullMatch($this, $completion) {
|
|
717
717
|
var tmp = new $checkFullMatchCOROUTINE$($this, $completion);
|
|
718
|
-
tmp.
|
|
719
|
-
tmp.
|
|
720
|
-
return tmp.
|
|
718
|
+
tmp.p9_1 = Unit_instance;
|
|
719
|
+
tmp.q9_1 = null;
|
|
720
|
+
return tmp.v9();
|
|
721
721
|
}
|
|
722
722
|
function checkBounds($this, extra) {
|
|
723
|
-
if ($this.
|
|
724
|
-
throw IOException_init_$Create$('Limit of ' + $this.
|
|
723
|
+
if ($this.d1p_1.c3(extra).d1($this.z1o_1) > 0) {
|
|
724
|
+
throw IOException_init_$Create$('Limit of ' + $this.z1o_1.toString() + ' bytes exceeded ' + ('while searching for "' + toSingleLineString($this, $this.x1o_1) + '"'));
|
|
725
725
|
}
|
|
726
726
|
}
|
|
727
727
|
function toSingleLineString($this, _this__u8e3s4) {
|
|
@@ -729,28 +729,28 @@
|
|
|
729
729
|
}
|
|
730
730
|
function $findNextCOROUTINE$(_this__u8e3s4, ignoreMissing, resultContinuation) {
|
|
731
731
|
CoroutineImpl.call(this, resultContinuation);
|
|
732
|
-
this.
|
|
733
|
-
this.
|
|
732
|
+
this.l1q_1 = _this__u8e3s4;
|
|
733
|
+
this.m1q_1 = ignoreMissing;
|
|
734
734
|
}
|
|
735
|
-
protoOf($findNextCOROUTINE$).
|
|
736
|
-
var suspendResult = this.
|
|
735
|
+
protoOf($findNextCOROUTINE$).v9 = function () {
|
|
736
|
+
var suspendResult = this.p9_1;
|
|
737
737
|
$sm: do
|
|
738
738
|
try {
|
|
739
|
-
var tmp = this.
|
|
739
|
+
var tmp = this.n9_1;
|
|
740
740
|
switch (tmp) {
|
|
741
741
|
case 0:
|
|
742
|
-
this.
|
|
743
|
-
this.
|
|
744
|
-
this.
|
|
742
|
+
this.o9_1 = 9;
|
|
743
|
+
this.l1q_1.d1p_1 = new Long(0, 0);
|
|
744
|
+
this.n9_1 = 1;
|
|
745
745
|
continue $sm;
|
|
746
746
|
case 1:
|
|
747
|
-
if (!this.
|
|
748
|
-
this.
|
|
749
|
-
this.
|
|
747
|
+
if (!this.l1q_1.a1p_1.e1j()) {
|
|
748
|
+
this.n1q_1 = true;
|
|
749
|
+
this.n9_1 = 3;
|
|
750
750
|
continue $sm;
|
|
751
751
|
} else {
|
|
752
|
-
this.
|
|
753
|
-
suspendResult = this.
|
|
752
|
+
this.n9_1 = 2;
|
|
753
|
+
suspendResult = this.l1q_1.w1o_1.t1o(VOID, this);
|
|
754
754
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
755
755
|
return suspendResult;
|
|
756
756
|
}
|
|
@@ -758,25 +758,25 @@
|
|
|
758
758
|
}
|
|
759
759
|
|
|
760
760
|
case 2:
|
|
761
|
-
this.
|
|
762
|
-
this.
|
|
761
|
+
this.n1q_1 = suspendResult;
|
|
762
|
+
this.n9_1 = 3;
|
|
763
763
|
continue $sm;
|
|
764
764
|
case 3:
|
|
765
|
-
if (!this.
|
|
766
|
-
this.
|
|
765
|
+
if (!this.n1q_1) {
|
|
766
|
+
this.n9_1 = 7;
|
|
767
767
|
continue $sm;
|
|
768
768
|
}
|
|
769
769
|
|
|
770
|
-
this.
|
|
771
|
-
suspendResult = advanceToNextPotentialMatch(this.
|
|
770
|
+
this.n9_1 = 4;
|
|
771
|
+
suspendResult = advanceToNextPotentialMatch(this.l1q_1, this);
|
|
772
772
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
773
773
|
return suspendResult;
|
|
774
774
|
}
|
|
775
775
|
|
|
776
776
|
continue $sm;
|
|
777
777
|
case 4:
|
|
778
|
-
this.
|
|
779
|
-
suspendResult = checkFullMatch(this.
|
|
778
|
+
this.n9_1 = 5;
|
|
779
|
+
suspendResult = checkFullMatch(this.l1q_1, this);
|
|
780
780
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
781
781
|
return suspendResult;
|
|
782
782
|
}
|
|
@@ -784,66 +784,66 @@
|
|
|
784
784
|
continue $sm;
|
|
785
785
|
case 5:
|
|
786
786
|
if (suspendResult) {
|
|
787
|
-
return this.
|
|
787
|
+
return this.l1q_1.d1p_1;
|
|
788
788
|
} else {
|
|
789
|
-
this.
|
|
789
|
+
this.n9_1 = 6;
|
|
790
790
|
continue $sm;
|
|
791
791
|
}
|
|
792
792
|
|
|
793
793
|
case 6:
|
|
794
|
-
this.
|
|
794
|
+
this.n9_1 = 1;
|
|
795
795
|
continue $sm;
|
|
796
796
|
case 7:
|
|
797
|
-
if (!this.
|
|
798
|
-
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.
|
|
797
|
+
if (!this.m1q_1) {
|
|
798
|
+
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.l1q_1, this.l1q_1.x1o_1) + '" but encountered end of input');
|
|
799
799
|
}
|
|
800
800
|
|
|
801
|
-
this.
|
|
802
|
-
this.
|
|
803
|
-
suspendResult = this.
|
|
801
|
+
this.l1q_1.d1p_1 = this.l1q_1.d1p_1.c3(this.l1q_1.c1p_1.h1k(this.l1q_1.y1o_1.n1o()));
|
|
802
|
+
this.n9_1 = 8;
|
|
803
|
+
suspendResult = this.l1q_1.y1o_1.j1o(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.l1q_1.d1p_1;
|
|
811
811
|
case 9:
|
|
812
|
-
throw this.
|
|
812
|
+
throw this.q9_1;
|
|
813
813
|
}
|
|
814
814
|
} catch ($p) {
|
|
815
815
|
var e = $p;
|
|
816
|
-
if (this.
|
|
816
|
+
if (this.o9_1 === 9) {
|
|
817
817
|
throw e;
|
|
818
818
|
} else {
|
|
819
|
-
this.
|
|
820
|
-
this.
|
|
819
|
+
this.n9_1 = this.o9_1;
|
|
820
|
+
this.q9_1 = e;
|
|
821
821
|
}
|
|
822
822
|
}
|
|
823
823
|
while (true);
|
|
824
824
|
};
|
|
825
825
|
function $advanceToNextPotentialMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
826
826
|
CoroutineImpl.call(this, resultContinuation);
|
|
827
|
-
this.
|
|
827
|
+
this.n1p_1 = _this__u8e3s4;
|
|
828
828
|
}
|
|
829
|
-
protoOf($advanceToNextPotentialMatchCOROUTINE$).
|
|
830
|
-
var suspendResult = this.
|
|
829
|
+
protoOf($advanceToNextPotentialMatchCOROUTINE$).v9 = function () {
|
|
830
|
+
var suspendResult = this.p9_1;
|
|
831
831
|
$sm: do
|
|
832
832
|
try {
|
|
833
|
-
var tmp = this.
|
|
833
|
+
var tmp = this.n9_1;
|
|
834
834
|
switch (tmp) {
|
|
835
835
|
case 0:
|
|
836
|
-
this.
|
|
837
|
-
this.
|
|
836
|
+
this.o9_1 = 8;
|
|
837
|
+
this.n9_1 = 1;
|
|
838
838
|
continue $sm;
|
|
839
839
|
case 1:
|
|
840
|
-
if (!this.
|
|
841
|
-
this.
|
|
842
|
-
this.
|
|
840
|
+
if (!this.n1p_1.a1p_1.e1j()) {
|
|
841
|
+
this.o1p_1 = true;
|
|
842
|
+
this.n9_1 = 3;
|
|
843
843
|
continue $sm;
|
|
844
844
|
} else {
|
|
845
|
-
this.
|
|
846
|
-
suspendResult = this.
|
|
845
|
+
this.n9_1 = 2;
|
|
846
|
+
suspendResult = this.n1p_1.w1o_1.t1o(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.
|
|
855
|
-
this.
|
|
854
|
+
this.o1p_1 = suspendResult;
|
|
855
|
+
this.n9_1 = 3;
|
|
856
856
|
continue $sm;
|
|
857
857
|
case 3:
|
|
858
|
-
if (!this.
|
|
859
|
-
this.
|
|
858
|
+
if (!this.o1p_1) {
|
|
859
|
+
this.n9_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.
|
|
868
|
-
this.
|
|
869
|
-
suspendResult = flushIfNeeded(this.
|
|
863
|
+
this.p1p_1 = indexOf(this.n1p_1.a1p_1, this.n1p_1.x1o_1.u(0));
|
|
864
|
+
if (this.p1p_1.equals(new Long(-1, -1))) {
|
|
865
|
+
var tmp_0 = this.n1p_1.a1p_1;
|
|
866
|
+
checkBounds(this.n1p_1, (tmp_0 instanceof Buffer ? tmp_0 : THROW_CCE()).s());
|
|
867
|
+
this.n1p_1.d1p_1 = this.n1p_1.d1p_1.c3(this.n1p_1.a1p_1.h1k(this.n1p_1.y1o_1.n1o()));
|
|
868
|
+
this.n9_1 = 5;
|
|
869
|
+
suspendResult = flushIfNeeded(this.n1p_1.y1o_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.
|
|
880
|
-
this.
|
|
881
|
-
suspendResult = flushIfNeeded(this.
|
|
875
|
+
checkBounds(this.n1p_1, this.p1p_1);
|
|
876
|
+
var tmp_1 = this.n1p_1;
|
|
877
|
+
var tmp_2 = this.n1p_1.d1p_1;
|
|
878
|
+
var tmp_3 = this.n1p_1.y1o_1.n1o();
|
|
879
|
+
tmp_1.d1p_1 = tmp_2.c3(this.n1p_1.a1p_1.e1k(tmp_3 instanceof Buffer ? tmp_3 : THROW_CCE(), this.p1p_1));
|
|
880
|
+
this.n9_1 = 4;
|
|
881
|
+
suspendResult = flushIfNeeded(this.n1p_1.y1o_1, this);
|
|
882
882
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
883
883
|
return suspendResult;
|
|
884
884
|
}
|
|
@@ -888,49 +888,49 @@
|
|
|
888
888
|
case 4:
|
|
889
889
|
return Unit_instance;
|
|
890
890
|
case 5:
|
|
891
|
-
this.
|
|
891
|
+
this.n9_1 = 6;
|
|
892
892
|
continue $sm;
|
|
893
893
|
case 6:
|
|
894
|
-
this.
|
|
894
|
+
this.n9_1 = 1;
|
|
895
895
|
continue $sm;
|
|
896
896
|
case 7:
|
|
897
897
|
return Unit_instance;
|
|
898
898
|
case 8:
|
|
899
|
-
throw this.
|
|
899
|
+
throw this.q9_1;
|
|
900
900
|
}
|
|
901
901
|
} catch ($p) {
|
|
902
902
|
var e = $p;
|
|
903
|
-
if (this.
|
|
903
|
+
if (this.o9_1 === 8) {
|
|
904
904
|
throw e;
|
|
905
905
|
} else {
|
|
906
|
-
this.
|
|
907
|
-
this.
|
|
906
|
+
this.n9_1 = this.o9_1;
|
|
907
|
+
this.q9_1 = e;
|
|
908
908
|
}
|
|
909
909
|
}
|
|
910
910
|
while (true);
|
|
911
911
|
};
|
|
912
912
|
function $checkFullMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
913
913
|
CoroutineImpl.call(this, resultContinuation);
|
|
914
|
-
this.
|
|
914
|
+
this.y1p_1 = _this__u8e3s4;
|
|
915
915
|
}
|
|
916
|
-
protoOf($checkFullMatchCOROUTINE$).
|
|
917
|
-
var suspendResult = this.
|
|
916
|
+
protoOf($checkFullMatchCOROUTINE$).v9 = function () {
|
|
917
|
+
var suspendResult = this.p9_1;
|
|
918
918
|
$sm: do
|
|
919
919
|
try {
|
|
920
|
-
var tmp = this.
|
|
920
|
+
var tmp = this.n9_1;
|
|
921
921
|
switch (tmp) {
|
|
922
922
|
case 0:
|
|
923
|
-
this.
|
|
924
|
-
this.
|
|
923
|
+
this.o9_1 = 8;
|
|
924
|
+
this.n9_1 = 1;
|
|
925
925
|
continue $sm;
|
|
926
926
|
case 1:
|
|
927
|
-
if (!this.
|
|
928
|
-
this.
|
|
929
|
-
this.
|
|
927
|
+
if (!this.y1p_1.a1p_1.e1j()) {
|
|
928
|
+
this.z1p_1 = true;
|
|
929
|
+
this.n9_1 = 3;
|
|
930
930
|
continue $sm;
|
|
931
931
|
} else {
|
|
932
|
-
this.
|
|
933
|
-
suspendResult = this.
|
|
932
|
+
this.n9_1 = 2;
|
|
933
|
+
suspendResult = this.y1p_1.w1o_1.t1o(VOID, this);
|
|
934
934
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
935
935
|
return suspendResult;
|
|
936
936
|
}
|
|
@@ -938,120 +938,120 @@
|
|
|
938
938
|
}
|
|
939
939
|
|
|
940
940
|
case 2:
|
|
941
|
-
this.
|
|
942
|
-
this.
|
|
941
|
+
this.z1p_1 = suspendResult;
|
|
942
|
+
this.n9_1 = 3;
|
|
943
943
|
continue $sm;
|
|
944
944
|
case 3:
|
|
945
|
-
if (!this.
|
|
946
|
-
this.
|
|
945
|
+
if (!this.z1p_1) {
|
|
946
|
+
this.n9_1 = 7;
|
|
947
947
|
continue $sm;
|
|
948
948
|
}
|
|
949
949
|
|
|
950
|
-
this.
|
|
951
|
-
if (this.
|
|
952
|
-
this.
|
|
953
|
-
while (this.
|
|
954
|
-
this.
|
|
950
|
+
this.a1q_1 = this.y1p_1.a1p_1.h1j();
|
|
951
|
+
if (this.y1p_1.e1p_1 > 0 && !(this.a1q_1 === this.y1p_1.x1o_1.u(this.y1p_1.e1p_1))) {
|
|
952
|
+
this.b1q_1 = this.y1p_1.e1p_1;
|
|
953
|
+
while (this.y1p_1.e1p_1 > 0 && !(this.a1q_1 === this.y1p_1.x1o_1.u(this.y1p_1.e1p_1))) {
|
|
954
|
+
this.y1p_1.e1p_1 = this.y1p_1.b1p_1[this.y1p_1.e1p_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.
|
|
963
|
-
this.
|
|
964
|
-
suspendResult = writeByte(this.
|
|
956
|
+
this.c1q_1 = toLong(this.b1q_1 - this.y1p_1.e1p_1 | 0);
|
|
957
|
+
checkBounds(this.y1p_1, this.c1q_1);
|
|
958
|
+
var tmp_0 = this.y1p_1;
|
|
959
|
+
var tmp_1 = this.y1p_1.d1p_1;
|
|
960
|
+
var tmp_2 = this.y1p_1.y1o_1.n1o();
|
|
961
|
+
tmp_0.d1p_1 = tmp_1.c3(this.y1p_1.c1p_1.e1k(tmp_2 instanceof Buffer ? tmp_2 : THROW_CCE(), this.c1q_1));
|
|
962
|
+
if (this.y1p_1.e1p_1 === 0 && !(this.a1q_1 === this.y1p_1.x1o_1.u(this.y1p_1.e1p_1))) {
|
|
963
|
+
this.n9_1 = 6;
|
|
964
|
+
suspendResult = writeByte(this.y1p_1.y1o_1, this.a1q_1, this);
|
|
965
965
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
966
966
|
return suspendResult;
|
|
967
967
|
}
|
|
968
968
|
continue $sm;
|
|
969
969
|
} else {
|
|
970
|
-
this.
|
|
970
|
+
this.n9_1 = 4;
|
|
971
971
|
continue $sm;
|
|
972
972
|
}
|
|
973
973
|
} else {
|
|
974
|
-
this.
|
|
974
|
+
this.n9_1 = 5;
|
|
975
975
|
continue $sm;
|
|
976
976
|
}
|
|
977
977
|
|
|
978
978
|
case 4:
|
|
979
|
-
this.
|
|
979
|
+
this.n9_1 = 5;
|
|
980
980
|
continue $sm;
|
|
981
981
|
case 5:
|
|
982
|
-
this.
|
|
983
|
-
if (this.
|
|
982
|
+
this.y1p_1.e1p_1 = this.y1p_1.e1p_1 + 1 | 0;
|
|
983
|
+
if (this.y1p_1.e1p_1 === this.y1p_1.x1o_1.s()) {
|
|
984
984
|
return true;
|
|
985
985
|
}
|
|
986
986
|
|
|
987
|
-
this.
|
|
988
|
-
this.
|
|
987
|
+
this.y1p_1.c1p_1.x1k(this.a1q_1);
|
|
988
|
+
this.n9_1 = 1;
|
|
989
989
|
continue $sm;
|
|
990
990
|
case 6:
|
|
991
|
-
var _unary__edvuaz = this.
|
|
992
|
-
this.
|
|
991
|
+
var _unary__edvuaz = this.y1p_1.d1p_1;
|
|
992
|
+
this.y1p_1.d1p_1 = _unary__edvuaz.h3();
|
|
993
993
|
return false;
|
|
994
994
|
case 7:
|
|
995
995
|
return false;
|
|
996
996
|
case 8:
|
|
997
|
-
throw this.
|
|
997
|
+
throw this.q9_1;
|
|
998
998
|
}
|
|
999
999
|
} catch ($p) {
|
|
1000
1000
|
var e = $p;
|
|
1001
|
-
if (this.
|
|
1001
|
+
if (this.o9_1 === 8) {
|
|
1002
1002
|
throw e;
|
|
1003
1003
|
} else {
|
|
1004
|
-
this.
|
|
1005
|
-
this.
|
|
1004
|
+
this.n9_1 = this.o9_1;
|
|
1005
|
+
this.q9_1 = e;
|
|
1006
1006
|
}
|
|
1007
1007
|
}
|
|
1008
1008
|
while (true);
|
|
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.w1o_1 = channel;
|
|
1013
|
+
this.x1o_1 = matchString;
|
|
1014
|
+
this.y1o_1 = writeChannel;
|
|
1015
|
+
this.z1o_1 = limit;
|
|
1016
1016
|
// Inline function 'kotlin.require' call
|
|
1017
|
-
if (!(this.
|
|
1017
|
+
if (!(this.x1o_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.a1p_1 = this.w1o_1.k1o();
|
|
1022
|
+
this.b1p_1 = buildPartialMatchTable(this);
|
|
1023
|
+
this.c1p_1 = new Buffer();
|
|
1024
|
+
this.d1p_1 = new Long(0, 0);
|
|
1025
|
+
this.e1p_1 = 0;
|
|
1026
1026
|
}
|
|
1027
|
-
protoOf(ByteChannelScanner).
|
|
1027
|
+
protoOf(ByteChannelScanner).o1q = function (ignoreMissing, $completion) {
|
|
1028
1028
|
var tmp = new $findNextCOROUTINE$(this, ignoreMissing, $completion);
|
|
1029
|
-
tmp.
|
|
1030
|
-
tmp.
|
|
1031
|
-
return tmp.
|
|
1029
|
+
tmp.p9_1 = Unit_instance;
|
|
1030
|
+
tmp.q9_1 = null;
|
|
1031
|
+
return tmp.v9();
|
|
1032
1032
|
};
|
|
1033
1033
|
function ByteReadChannel$Companion$Empty$1() {
|
|
1034
|
-
this.
|
|
1035
|
-
this.
|
|
1034
|
+
this.p1q_1 = null;
|
|
1035
|
+
this.q1q_1 = new Buffer();
|
|
1036
1036
|
}
|
|
1037
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1038
|
-
return this.
|
|
1037
|
+
protoOf(ByteReadChannel$Companion$Empty$1).p1o = function () {
|
|
1038
|
+
return this.p1q_1;
|
|
1039
1039
|
};
|
|
1040
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1040
|
+
protoOf(ByteReadChannel$Companion$Empty$1).r1o = function () {
|
|
1041
1041
|
return true;
|
|
1042
1042
|
};
|
|
1043
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1044
|
-
return this.
|
|
1043
|
+
protoOf(ByteReadChannel$Companion$Empty$1).k1o = function () {
|
|
1044
|
+
return this.q1q_1;
|
|
1045
1045
|
};
|
|
1046
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1046
|
+
protoOf(ByteReadChannel$Companion$Empty$1).s1o = function (min, $completion) {
|
|
1047
1047
|
return false;
|
|
1048
1048
|
};
|
|
1049
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1049
|
+
protoOf(ByteReadChannel$Companion$Empty$1).v1o = function (cause) {
|
|
1050
1050
|
};
|
|
1051
1051
|
function Companion_0() {
|
|
1052
1052
|
Companion_instance_1 = this;
|
|
1053
1053
|
var tmp = this;
|
|
1054
|
-
tmp.
|
|
1054
|
+
tmp.r1q_1 = new ByteReadChannel$Companion$Empty$1();
|
|
1055
1055
|
}
|
|
1056
1056
|
var Companion_instance_1;
|
|
1057
1057
|
function Companion_getInstance_0() {
|
|
@@ -1062,49 +1062,49 @@
|
|
|
1062
1062
|
function ByteReadChannel_1() {
|
|
1063
1063
|
}
|
|
1064
1064
|
function cancel_0(_this__u8e3s4) {
|
|
1065
|
-
_this__u8e3s4.
|
|
1065
|
+
_this__u8e3s4.v1o(IOException_init_$Create$('Channel was cancelled'));
|
|
1066
1066
|
}
|
|
1067
1067
|
function readRemaining(_this__u8e3s4, $completion) {
|
|
1068
1068
|
var tmp = new $readRemainingCOROUTINE$(_this__u8e3s4, $completion);
|
|
1069
|
-
tmp.
|
|
1070
|
-
tmp.
|
|
1071
|
-
return tmp.
|
|
1069
|
+
tmp.p9_1 = Unit_instance;
|
|
1070
|
+
tmp.q9_1 = null;
|
|
1071
|
+
return tmp.v9();
|
|
1072
1072
|
}
|
|
1073
1073
|
function discard(_this__u8e3s4, max, $completion) {
|
|
1074
1074
|
max = max === VOID ? new Long(-1, 2147483647) : max;
|
|
1075
1075
|
var tmp = new $discardCOROUTINE$(_this__u8e3s4, max, $completion);
|
|
1076
|
-
tmp.
|
|
1077
|
-
tmp.
|
|
1078
|
-
return tmp.
|
|
1076
|
+
tmp.p9_1 = Unit_instance;
|
|
1077
|
+
tmp.q9_1 = null;
|
|
1078
|
+
return tmp.v9();
|
|
1079
1079
|
}
|
|
1080
1080
|
function readAvailable(_this__u8e3s4, buffer, offset, length, $completion) {
|
|
1081
1081
|
offset = offset === VOID ? 0 : offset;
|
|
1082
1082
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
1083
1083
|
var tmp = new $readAvailableCOROUTINE$(_this__u8e3s4, buffer, offset, length, $completion);
|
|
1084
|
-
tmp.
|
|
1085
|
-
tmp.
|
|
1086
|
-
return tmp.
|
|
1084
|
+
tmp.p9_1 = Unit_instance;
|
|
1085
|
+
tmp.q9_1 = null;
|
|
1086
|
+
return tmp.v9();
|
|
1087
1087
|
}
|
|
1088
1088
|
function toByteArray(_this__u8e3s4, $completion) {
|
|
1089
1089
|
var tmp = new $toByteArrayCOROUTINE$(_this__u8e3s4, $completion);
|
|
1090
|
-
tmp.
|
|
1091
|
-
tmp.
|
|
1092
|
-
return tmp.
|
|
1090
|
+
tmp.p9_1 = Unit_instance;
|
|
1091
|
+
tmp.q9_1 = null;
|
|
1092
|
+
return tmp.v9();
|
|
1093
1093
|
}
|
|
1094
1094
|
function copyTo(_this__u8e3s4, channel, limit, $completion) {
|
|
1095
1095
|
var tmp = new $copyToCOROUTINE$(_this__u8e3s4, channel, limit, $completion);
|
|
1096
|
-
tmp.
|
|
1097
|
-
tmp.
|
|
1098
|
-
return tmp.
|
|
1096
|
+
tmp.p9_1 = Unit_instance;
|
|
1097
|
+
tmp.q9_1 = null;
|
|
1098
|
+
return tmp.v9();
|
|
1099
1099
|
}
|
|
1100
1100
|
function copyTo_0(_this__u8e3s4, channel, $completion) {
|
|
1101
1101
|
var tmp = new $copyToCOROUTINE$_0(_this__u8e3s4, channel, $completion);
|
|
1102
|
-
tmp.
|
|
1103
|
-
tmp.
|
|
1104
|
-
return tmp.
|
|
1102
|
+
tmp.p9_1 = Unit_instance;
|
|
1103
|
+
tmp.q9_1 = null;
|
|
1104
|
+
return tmp.v9();
|
|
1105
1105
|
}
|
|
1106
1106
|
function rethrowCloseCauseIfNeeded(_this__u8e3s4) {
|
|
1107
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1107
|
+
var tmp0_safe_receiver = _this__u8e3s4.p1o();
|
|
1108
1108
|
if (tmp0_safe_receiver == null)
|
|
1109
1109
|
null;
|
|
1110
1110
|
else {
|
|
@@ -1113,24 +1113,24 @@
|
|
|
1113
1113
|
}
|
|
1114
1114
|
}
|
|
1115
1115
|
function get_availableForRead(_this__u8e3s4) {
|
|
1116
|
-
return _this__u8e3s4.
|
|
1116
|
+
return _this__u8e3s4.k1o().d1j().s().i1();
|
|
1117
1117
|
}
|
|
1118
1118
|
function readBuffer(_this__u8e3s4, $completion) {
|
|
1119
1119
|
var tmp = new $readBufferCOROUTINE$(_this__u8e3s4, $completion);
|
|
1120
|
-
tmp.
|
|
1121
|
-
tmp.
|
|
1122
|
-
return tmp.
|
|
1120
|
+
tmp.p9_1 = Unit_instance;
|
|
1121
|
+
tmp.q9_1 = null;
|
|
1122
|
+
return tmp.v9();
|
|
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().z1t_1 : lineEnding;
|
|
1127
1127
|
var tmp = new $readUTF8LineToCOROUTINE$(_this__u8e3s4, out, max, lineEnding, $completion);
|
|
1128
|
-
tmp.
|
|
1129
|
-
tmp.
|
|
1130
|
-
return tmp.
|
|
1128
|
+
tmp.p9_1 = Unit_instance;
|
|
1129
|
+
tmp.q9_1 = null;
|
|
1130
|
+
return tmp.v9();
|
|
1131
1131
|
}
|
|
1132
1132
|
function rethrowCloseCauseIfNeeded_0(_this__u8e3s4) {
|
|
1133
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1133
|
+
var tmp0_safe_receiver = _this__u8e3s4.p1o();
|
|
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.p1o();
|
|
1143
1143
|
if (tmp0_safe_receiver == null)
|
|
1144
1144
|
null;
|
|
1145
1145
|
else {
|
|
@@ -1149,32 +1149,32 @@
|
|
|
1149
1149
|
}
|
|
1150
1150
|
function readRemaining_0(_this__u8e3s4, max, $completion) {
|
|
1151
1151
|
var tmp = new $readRemainingCOROUTINE$_0(_this__u8e3s4, max, $completion);
|
|
1152
|
-
tmp.
|
|
1153
|
-
tmp.
|
|
1154
|
-
return tmp.
|
|
1152
|
+
tmp.p9_1 = Unit_instance;
|
|
1153
|
+
tmp.q9_1 = null;
|
|
1154
|
+
return tmp.v9();
|
|
1155
1155
|
}
|
|
1156
1156
|
function skipIfFound(_this__u8e3s4, byteString, $completion) {
|
|
1157
1157
|
var tmp = new $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, $completion);
|
|
1158
|
-
tmp.
|
|
1159
|
-
tmp.
|
|
1160
|
-
return tmp.
|
|
1158
|
+
tmp.p9_1 = Unit_instance;
|
|
1159
|
+
tmp.q9_1 = null;
|
|
1160
|
+
return tmp.v9();
|
|
1161
1161
|
}
|
|
1162
1162
|
function readPacket(_this__u8e3s4, packet, $completion) {
|
|
1163
1163
|
var tmp = new $readPacketCOROUTINE$(_this__u8e3s4, packet, $completion);
|
|
1164
|
-
tmp.
|
|
1165
|
-
tmp.
|
|
1166
|
-
return tmp.
|
|
1164
|
+
tmp.p9_1 = Unit_instance;
|
|
1165
|
+
tmp.q9_1 = null;
|
|
1166
|
+
return tmp.v9();
|
|
1167
1167
|
}
|
|
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)).o1q(ignoreMissing, $completion);
|
|
1172
1172
|
}
|
|
1173
1173
|
function peek(_this__u8e3s4, count, $completion) {
|
|
1174
1174
|
var tmp = new $peekCOROUTINE$(_this__u8e3s4, count, $completion);
|
|
1175
|
-
tmp.
|
|
1176
|
-
tmp.
|
|
1177
|
-
return tmp.
|
|
1175
|
+
tmp.p9_1 = Unit_instance;
|
|
1176
|
+
tmp.q9_1 = null;
|
|
1177
|
+
return tmp.v9();
|
|
1178
1178
|
}
|
|
1179
1179
|
function readUTF8LineTo$checkLineEndingAllowed($lineEnding, lineEndingToCheck) {
|
|
1180
1180
|
if (!LineEndingMode__contains_impl_q5pr68($lineEnding, lineEndingToCheck)) {
|
|
@@ -1183,178 +1183,178 @@
|
|
|
1183
1183
|
}
|
|
1184
1184
|
function $readRemainingCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1185
1185
|
CoroutineImpl.call(this, resultContinuation);
|
|
1186
|
-
this.
|
|
1186
|
+
this.a1r_1 = _this__u8e3s4;
|
|
1187
1187
|
}
|
|
1188
|
-
protoOf($readRemainingCOROUTINE$).
|
|
1189
|
-
var suspendResult = this.
|
|
1188
|
+
protoOf($readRemainingCOROUTINE$).v9 = function () {
|
|
1189
|
+
var suspendResult = this.p9_1;
|
|
1190
1190
|
$sm: do
|
|
1191
1191
|
try {
|
|
1192
|
-
var tmp = this.
|
|
1192
|
+
var tmp = this.n9_1;
|
|
1193
1193
|
switch (tmp) {
|
|
1194
1194
|
case 0:
|
|
1195
|
-
this.
|
|
1196
|
-
this.
|
|
1197
|
-
this.
|
|
1195
|
+
this.o9_1 = 4;
|
|
1196
|
+
this.b1r_1 = BytePacketBuilder();
|
|
1197
|
+
this.n9_1 = 1;
|
|
1198
1198
|
continue $sm;
|
|
1199
1199
|
case 1:
|
|
1200
|
-
if (!!this.
|
|
1201
|
-
this.
|
|
1200
|
+
if (!!this.a1r_1.r1o()) {
|
|
1201
|
+
this.n9_1 = 3;
|
|
1202
1202
|
continue $sm;
|
|
1203
1203
|
}
|
|
1204
1204
|
|
|
1205
|
-
this.
|
|
1206
|
-
this.
|
|
1207
|
-
suspendResult = this.
|
|
1205
|
+
this.b1r_1.w1k(this.a1r_1.k1o());
|
|
1206
|
+
this.n9_1 = 2;
|
|
1207
|
+
suspendResult = this.a1r_1.t1o(VOID, this);
|
|
1208
1208
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1209
1209
|
return suspendResult;
|
|
1210
1210
|
}
|
|
1211
1211
|
|
|
1212
1212
|
continue $sm;
|
|
1213
1213
|
case 2:
|
|
1214
|
-
this.
|
|
1214
|
+
this.n9_1 = 1;
|
|
1215
1215
|
continue $sm;
|
|
1216
1216
|
case 3:
|
|
1217
|
-
rethrowCloseCauseIfNeeded(this.
|
|
1218
|
-
return this.
|
|
1217
|
+
rethrowCloseCauseIfNeeded(this.a1r_1);
|
|
1218
|
+
return this.b1r_1.d1j();
|
|
1219
1219
|
case 4:
|
|
1220
|
-
throw this.
|
|
1220
|
+
throw this.q9_1;
|
|
1221
1221
|
}
|
|
1222
1222
|
} catch ($p) {
|
|
1223
1223
|
var e = $p;
|
|
1224
|
-
if (this.
|
|
1224
|
+
if (this.o9_1 === 4) {
|
|
1225
1225
|
throw e;
|
|
1226
1226
|
} else {
|
|
1227
|
-
this.
|
|
1228
|
-
this.
|
|
1227
|
+
this.n9_1 = this.o9_1;
|
|
1228
|
+
this.q9_1 = e;
|
|
1229
1229
|
}
|
|
1230
1230
|
}
|
|
1231
1231
|
while (true);
|
|
1232
1232
|
};
|
|
1233
1233
|
function $discardCOROUTINE$(_this__u8e3s4, max, resultContinuation) {
|
|
1234
1234
|
CoroutineImpl.call(this, resultContinuation);
|
|
1235
|
-
this.
|
|
1236
|
-
this.
|
|
1235
|
+
this.k1r_1 = _this__u8e3s4;
|
|
1236
|
+
this.l1r_1 = max;
|
|
1237
1237
|
}
|
|
1238
|
-
protoOf($discardCOROUTINE$).
|
|
1239
|
-
var suspendResult = this.
|
|
1238
|
+
protoOf($discardCOROUTINE$).v9 = function () {
|
|
1239
|
+
var suspendResult = this.p9_1;
|
|
1240
1240
|
$sm: do
|
|
1241
1241
|
try {
|
|
1242
|
-
var tmp = this.
|
|
1242
|
+
var tmp = this.n9_1;
|
|
1243
1243
|
switch (tmp) {
|
|
1244
1244
|
case 0:
|
|
1245
|
-
this.
|
|
1246
|
-
this.
|
|
1247
|
-
this.
|
|
1245
|
+
this.o9_1 = 5;
|
|
1246
|
+
this.m1r_1 = this.l1r_1;
|
|
1247
|
+
this.n9_1 = 1;
|
|
1248
1248
|
continue $sm;
|
|
1249
1249
|
case 1:
|
|
1250
|
-
if (!(this.
|
|
1251
|
-
this.
|
|
1250
|
+
if (!(this.m1r_1.d1(new Long(0, 0)) > 0 && !this.k1r_1.r1o())) {
|
|
1251
|
+
this.n9_1 = 4;
|
|
1252
1252
|
continue $sm;
|
|
1253
1253
|
}
|
|
1254
1254
|
|
|
1255
|
-
if (get_availableForRead(this.
|
|
1256
|
-
this.
|
|
1257
|
-
suspendResult = this.
|
|
1255
|
+
if (get_availableForRead(this.k1r_1) === 0) {
|
|
1256
|
+
this.n9_1 = 2;
|
|
1257
|
+
suspendResult = this.k1r_1.t1o(VOID, this);
|
|
1258
1258
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1259
1259
|
return suspendResult;
|
|
1260
1260
|
}
|
|
1261
1261
|
continue $sm;
|
|
1262
1262
|
} else {
|
|
1263
|
-
this.
|
|
1263
|
+
this.n9_1 = 3;
|
|
1264
1264
|
continue $sm;
|
|
1265
1265
|
}
|
|
1266
1266
|
|
|
1267
1267
|
case 2:
|
|
1268
|
-
this.
|
|
1268
|
+
this.n9_1 = 3;
|
|
1269
1269
|
continue $sm;
|
|
1270
1270
|
case 3:
|
|
1271
|
-
var tmp0 = this.
|
|
1272
|
-
var b = get_remaining(this.
|
|
1271
|
+
var tmp0 = this.m1r_1;
|
|
1272
|
+
var b = get_remaining(this.k1r_1.k1o());
|
|
1273
1273
|
var count = tmp0.d1(b) <= 0 ? tmp0 : b;
|
|
1274
|
-
discard_0(this.
|
|
1275
|
-
this.
|
|
1276
|
-
this.
|
|
1274
|
+
discard_0(this.k1r_1.k1o(), count);
|
|
1275
|
+
this.m1r_1 = this.m1r_1.d3(count);
|
|
1276
|
+
this.n9_1 = 1;
|
|
1277
1277
|
continue $sm;
|
|
1278
1278
|
case 4:
|
|
1279
|
-
return this.
|
|
1279
|
+
return this.l1r_1.d3(this.m1r_1);
|
|
1280
1280
|
case 5:
|
|
1281
|
-
throw this.
|
|
1281
|
+
throw this.q9_1;
|
|
1282
1282
|
}
|
|
1283
1283
|
} catch ($p) {
|
|
1284
1284
|
var e = $p;
|
|
1285
|
-
if (this.
|
|
1285
|
+
if (this.o9_1 === 5) {
|
|
1286
1286
|
throw e;
|
|
1287
1287
|
} else {
|
|
1288
|
-
this.
|
|
1289
|
-
this.
|
|
1288
|
+
this.n9_1 = this.o9_1;
|
|
1289
|
+
this.q9_1 = e;
|
|
1290
1290
|
}
|
|
1291
1291
|
}
|
|
1292
1292
|
while (true);
|
|
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.v1r_1 = _this__u8e3s4;
|
|
1297
|
+
this.w1r_1 = buffer;
|
|
1298
|
+
this.x1r_1 = offset;
|
|
1299
|
+
this.y1r_1 = length;
|
|
1300
1300
|
}
|
|
1301
|
-
protoOf($readAvailableCOROUTINE$).
|
|
1302
|
-
var suspendResult = this.
|
|
1301
|
+
protoOf($readAvailableCOROUTINE$).v9 = function () {
|
|
1302
|
+
var suspendResult = this.p9_1;
|
|
1303
1303
|
$sm: do
|
|
1304
1304
|
try {
|
|
1305
|
-
var tmp = this.
|
|
1305
|
+
var tmp = this.n9_1;
|
|
1306
1306
|
switch (tmp) {
|
|
1307
1307
|
case 0:
|
|
1308
|
-
this.
|
|
1309
|
-
if (this.
|
|
1308
|
+
this.o9_1 = 3;
|
|
1309
|
+
if (this.v1r_1.r1o())
|
|
1310
1310
|
return -1;
|
|
1311
|
-
if (this.
|
|
1312
|
-
this.
|
|
1313
|
-
suspendResult = this.
|
|
1311
|
+
if (this.v1r_1.k1o().e1j()) {
|
|
1312
|
+
this.n9_1 = 1;
|
|
1313
|
+
suspendResult = this.v1r_1.t1o(VOID, this);
|
|
1314
1314
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1315
1315
|
return suspendResult;
|
|
1316
1316
|
}
|
|
1317
1317
|
continue $sm;
|
|
1318
1318
|
} else {
|
|
1319
|
-
this.
|
|
1319
|
+
this.n9_1 = 2;
|
|
1320
1320
|
continue $sm;
|
|
1321
1321
|
}
|
|
1322
1322
|
|
|
1323
1323
|
case 1:
|
|
1324
|
-
this.
|
|
1324
|
+
this.n9_1 = 2;
|
|
1325
1325
|
continue $sm;
|
|
1326
1326
|
case 2:
|
|
1327
|
-
if (this.
|
|
1327
|
+
if (this.v1r_1.r1o())
|
|
1328
1328
|
return -1;
|
|
1329
|
-
return readAvailable_0(this.
|
|
1329
|
+
return readAvailable_0(this.v1r_1.k1o(), this.w1r_1, this.x1r_1, this.y1r_1);
|
|
1330
1330
|
case 3:
|
|
1331
|
-
throw this.
|
|
1331
|
+
throw this.q9_1;
|
|
1332
1332
|
}
|
|
1333
1333
|
} catch ($p) {
|
|
1334
1334
|
var e = $p;
|
|
1335
|
-
if (this.
|
|
1335
|
+
if (this.o9_1 === 3) {
|
|
1336
1336
|
throw e;
|
|
1337
1337
|
} else {
|
|
1338
|
-
this.
|
|
1339
|
-
this.
|
|
1338
|
+
this.n9_1 = this.o9_1;
|
|
1339
|
+
this.q9_1 = e;
|
|
1340
1340
|
}
|
|
1341
1341
|
}
|
|
1342
1342
|
while (true);
|
|
1343
1343
|
};
|
|
1344
1344
|
function $toByteArrayCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1345
1345
|
CoroutineImpl.call(this, resultContinuation);
|
|
1346
|
-
this.
|
|
1346
|
+
this.h1s_1 = _this__u8e3s4;
|
|
1347
1347
|
}
|
|
1348
|
-
protoOf($toByteArrayCOROUTINE$).
|
|
1349
|
-
var suspendResult = this.
|
|
1348
|
+
protoOf($toByteArrayCOROUTINE$).v9 = function () {
|
|
1349
|
+
var suspendResult = this.p9_1;
|
|
1350
1350
|
$sm: do
|
|
1351
1351
|
try {
|
|
1352
|
-
var tmp = this.
|
|
1352
|
+
var tmp = this.n9_1;
|
|
1353
1353
|
switch (tmp) {
|
|
1354
1354
|
case 0:
|
|
1355
|
-
this.
|
|
1356
|
-
this.
|
|
1357
|
-
suspendResult = readBuffer(this.
|
|
1355
|
+
this.o9_1 = 2;
|
|
1356
|
+
this.n9_1 = 1;
|
|
1357
|
+
suspendResult = readBuffer(this.h1s_1, this);
|
|
1358
1358
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1359
1359
|
return suspendResult;
|
|
1360
1360
|
}
|
|
@@ -1364,577 +1364,577 @@
|
|
|
1364
1364
|
var ARGUMENT = suspendResult;
|
|
1365
1365
|
return readBytes(ARGUMENT);
|
|
1366
1366
|
case 2:
|
|
1367
|
-
throw this.
|
|
1367
|
+
throw this.q9_1;
|
|
1368
1368
|
}
|
|
1369
1369
|
} catch ($p) {
|
|
1370
1370
|
var e = $p;
|
|
1371
|
-
if (this.
|
|
1371
|
+
if (this.o9_1 === 2) {
|
|
1372
1372
|
throw e;
|
|
1373
1373
|
} else {
|
|
1374
|
-
this.
|
|
1375
|
-
this.
|
|
1374
|
+
this.n9_1 = this.o9_1;
|
|
1375
|
+
this.q9_1 = e;
|
|
1376
1376
|
}
|
|
1377
1377
|
}
|
|
1378
1378
|
while (true);
|
|
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.q1s_1 = _this__u8e3s4;
|
|
1383
|
+
this.r1s_1 = channel;
|
|
1384
|
+
this.s1s_1 = limit;
|
|
1385
1385
|
}
|
|
1386
|
-
protoOf($copyToCOROUTINE$).
|
|
1387
|
-
var suspendResult = this.
|
|
1386
|
+
protoOf($copyToCOROUTINE$).v9 = function () {
|
|
1387
|
+
var suspendResult = this.p9_1;
|
|
1388
1388
|
$sm: do
|
|
1389
1389
|
try {
|
|
1390
|
-
var tmp = this.
|
|
1390
|
+
var tmp = this.n9_1;
|
|
1391
1391
|
switch (tmp) {
|
|
1392
1392
|
case 0:
|
|
1393
|
-
this.
|
|
1394
|
-
this.
|
|
1395
|
-
this.
|
|
1393
|
+
this.o9_1 = 12;
|
|
1394
|
+
this.t1s_1 = this.s1s_1;
|
|
1395
|
+
this.n9_1 = 1;
|
|
1396
1396
|
continue $sm;
|
|
1397
1397
|
case 1:
|
|
1398
|
-
this.
|
|
1399
|
-
this.
|
|
1400
|
-
this.
|
|
1398
|
+
this.o9_1 = 8;
|
|
1399
|
+
this.o9_1 = 7;
|
|
1400
|
+
this.n9_1 = 2;
|
|
1401
1401
|
continue $sm;
|
|
1402
1402
|
case 2:
|
|
1403
|
-
if (!(!this.
|
|
1404
|
-
this.
|
|
1403
|
+
if (!(!this.q1s_1.r1o() && this.t1s_1.d1(new Long(0, 0)) > 0)) {
|
|
1404
|
+
this.n9_1 = 6;
|
|
1405
1405
|
continue $sm;
|
|
1406
1406
|
}
|
|
1407
1407
|
|
|
1408
|
-
if (this.
|
|
1409
|
-
this.
|
|
1410
|
-
suspendResult = this.
|
|
1408
|
+
if (this.q1s_1.k1o().e1j()) {
|
|
1409
|
+
this.n9_1 = 3;
|
|
1410
|
+
suspendResult = this.q1s_1.t1o(VOID, this);
|
|
1411
1411
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1412
1412
|
return suspendResult;
|
|
1413
1413
|
}
|
|
1414
1414
|
continue $sm;
|
|
1415
1415
|
} else {
|
|
1416
|
-
this.
|
|
1416
|
+
this.n9_1 = 4;
|
|
1417
1417
|
continue $sm;
|
|
1418
1418
|
}
|
|
1419
1419
|
|
|
1420
1420
|
case 3:
|
|
1421
|
-
this.
|
|
1421
|
+
this.n9_1 = 4;
|
|
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.
|
|
1430
|
-
this.
|
|
1431
|
-
suspendResult = this.
|
|
1425
|
+
var tmp0 = this.t1s_1;
|
|
1426
|
+
var b = get_remaining(this.q1s_1.k1o());
|
|
1427
|
+
tmp_0.v1s_1 = tmp0.d1(b) <= 0 ? tmp0 : b;
|
|
1428
|
+
this.q1s_1.k1o().g1k(this.r1s_1.n1o(), this.v1s_1);
|
|
1429
|
+
this.t1s_1 = this.t1s_1.d3(this.v1s_1);
|
|
1430
|
+
this.n9_1 = 5;
|
|
1431
|
+
suspendResult = this.r1s_1.j1o(this);
|
|
1432
1432
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1433
1433
|
return suspendResult;
|
|
1434
1434
|
}
|
|
1435
1435
|
|
|
1436
1436
|
continue $sm;
|
|
1437
1437
|
case 5:
|
|
1438
|
-
this.
|
|
1438
|
+
this.n9_1 = 2;
|
|
1439
1439
|
continue $sm;
|
|
1440
1440
|
case 6:
|
|
1441
|
-
this.
|
|
1442
|
-
this.
|
|
1443
|
-
this.
|
|
1441
|
+
this.u1s_1 = Unit_instance;
|
|
1442
|
+
this.o9_1 = 12;
|
|
1443
|
+
this.n9_1 = 10;
|
|
1444
1444
|
continue $sm;
|
|
1445
1445
|
case 7:
|
|
1446
|
-
this.
|
|
1447
|
-
var tmp_1 = this.
|
|
1446
|
+
this.o9_1 = 8;
|
|
1447
|
+
var tmp_1 = this.q9_1;
|
|
1448
1448
|
if (tmp_1 instanceof Error) {
|
|
1449
|
-
this.
|
|
1449
|
+
this.w1s_1 = this.q9_1;
|
|
1450
1450
|
var tmp_2 = this;
|
|
1451
|
-
this.
|
|
1452
|
-
close_0(this.
|
|
1453
|
-
throw this.
|
|
1451
|
+
this.q1s_1.v1o(this.w1s_1);
|
|
1452
|
+
close_0(this.r1s_1, this.w1s_1);
|
|
1453
|
+
throw this.w1s_1;
|
|
1454
1454
|
} else {
|
|
1455
|
-
throw this.
|
|
1455
|
+
throw this.q9_1;
|
|
1456
1456
|
}
|
|
1457
1457
|
|
|
1458
1458
|
case 8:
|
|
1459
|
-
this.
|
|
1460
|
-
this.
|
|
1461
|
-
this.
|
|
1462
|
-
suspendResult = this.
|
|
1459
|
+
this.o9_1 = 12;
|
|
1460
|
+
this.x1s_1 = this.q9_1;
|
|
1461
|
+
this.n9_1 = 9;
|
|
1462
|
+
suspendResult = this.r1s_1.j1o(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.x1s_1;
|
|
1470
1470
|
case 10:
|
|
1471
|
-
this.
|
|
1472
|
-
this.
|
|
1473
|
-
suspendResult = this.
|
|
1471
|
+
this.o9_1 = 12;
|
|
1472
|
+
this.n9_1 = 11;
|
|
1473
|
+
suspendResult = this.r1s_1.j1o(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.s1s_1.d3(this.t1s_1);
|
|
1481
1481
|
case 12:
|
|
1482
|
-
throw this.
|
|
1482
|
+
throw this.q9_1;
|
|
1483
1483
|
}
|
|
1484
1484
|
} catch ($p) {
|
|
1485
1485
|
var e = $p;
|
|
1486
|
-
if (this.
|
|
1486
|
+
if (this.o9_1 === 12) {
|
|
1487
1487
|
throw e;
|
|
1488
1488
|
} else {
|
|
1489
|
-
this.
|
|
1490
|
-
this.
|
|
1489
|
+
this.n9_1 = this.o9_1;
|
|
1490
|
+
this.q9_1 = e;
|
|
1491
1491
|
}
|
|
1492
1492
|
}
|
|
1493
1493
|
while (true);
|
|
1494
1494
|
};
|
|
1495
1495
|
function $copyToCOROUTINE$_0(_this__u8e3s4, channel, resultContinuation) {
|
|
1496
1496
|
CoroutineImpl.call(this, resultContinuation);
|
|
1497
|
-
this.
|
|
1498
|
-
this.
|
|
1497
|
+
this.g1t_1 = _this__u8e3s4;
|
|
1498
|
+
this.h1t_1 = channel;
|
|
1499
1499
|
}
|
|
1500
|
-
protoOf($copyToCOROUTINE$_0).
|
|
1501
|
-
var suspendResult = this.
|
|
1500
|
+
protoOf($copyToCOROUTINE$_0).v9 = function () {
|
|
1501
|
+
var suspendResult = this.p9_1;
|
|
1502
1502
|
$sm: do
|
|
1503
1503
|
try {
|
|
1504
|
-
var tmp = this.
|
|
1504
|
+
var tmp = this.n9_1;
|
|
1505
1505
|
switch (tmp) {
|
|
1506
1506
|
case 0:
|
|
1507
|
-
this.
|
|
1508
|
-
this.
|
|
1509
|
-
this.
|
|
1507
|
+
this.o9_1 = 11;
|
|
1508
|
+
this.i1t_1 = new Long(0, 0);
|
|
1509
|
+
this.n9_1 = 1;
|
|
1510
1510
|
continue $sm;
|
|
1511
1511
|
case 1:
|
|
1512
|
-
this.
|
|
1513
|
-
this.
|
|
1514
|
-
this.
|
|
1512
|
+
this.o9_1 = 7;
|
|
1513
|
+
this.o9_1 = 6;
|
|
1514
|
+
this.n9_1 = 2;
|
|
1515
1515
|
continue $sm;
|
|
1516
1516
|
case 2:
|
|
1517
|
-
if (!!this.
|
|
1518
|
-
this.
|
|
1517
|
+
if (!!this.g1t_1.r1o()) {
|
|
1518
|
+
this.n9_1 = 5;
|
|
1519
1519
|
continue $sm;
|
|
1520
1520
|
}
|
|
1521
1521
|
|
|
1522
|
-
this.
|
|
1523
|
-
this.
|
|
1524
|
-
suspendResult = this.
|
|
1522
|
+
this.i1t_1 = this.i1t_1.c3(this.g1t_1.k1o().h1k(this.h1t_1.n1o()));
|
|
1523
|
+
this.n9_1 = 3;
|
|
1524
|
+
suspendResult = this.h1t_1.j1o(this);
|
|
1525
1525
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1526
1526
|
return suspendResult;
|
|
1527
1527
|
}
|
|
1528
1528
|
|
|
1529
1529
|
continue $sm;
|
|
1530
1530
|
case 3:
|
|
1531
|
-
this.
|
|
1532
|
-
suspendResult = this.
|
|
1531
|
+
this.n9_1 = 4;
|
|
1532
|
+
suspendResult = this.g1t_1.t1o(VOID, this);
|
|
1533
1533
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1534
1534
|
return suspendResult;
|
|
1535
1535
|
}
|
|
1536
1536
|
|
|
1537
1537
|
continue $sm;
|
|
1538
1538
|
case 4:
|
|
1539
|
-
this.
|
|
1539
|
+
this.n9_1 = 2;
|
|
1540
1540
|
continue $sm;
|
|
1541
1541
|
case 5:
|
|
1542
|
-
this.
|
|
1543
|
-
this.
|
|
1544
|
-
this.
|
|
1542
|
+
this.j1t_1 = Unit_instance;
|
|
1543
|
+
this.o9_1 = 11;
|
|
1544
|
+
this.n9_1 = 9;
|
|
1545
1545
|
continue $sm;
|
|
1546
1546
|
case 6:
|
|
1547
|
-
this.
|
|
1548
|
-
var tmp_0 = this.
|
|
1547
|
+
this.o9_1 = 7;
|
|
1548
|
+
var tmp_0 = this.q9_1;
|
|
1549
1549
|
if (tmp_0 instanceof Error) {
|
|
1550
|
-
this.
|
|
1550
|
+
this.k1t_1 = this.q9_1;
|
|
1551
1551
|
var tmp_1 = this;
|
|
1552
|
-
this.
|
|
1553
|
-
close_0(this.
|
|
1554
|
-
throw this.
|
|
1552
|
+
this.g1t_1.v1o(this.k1t_1);
|
|
1553
|
+
close_0(this.h1t_1, this.k1t_1);
|
|
1554
|
+
throw this.k1t_1;
|
|
1555
1555
|
} else {
|
|
1556
|
-
throw this.
|
|
1556
|
+
throw this.q9_1;
|
|
1557
1557
|
}
|
|
1558
1558
|
|
|
1559
1559
|
case 7:
|
|
1560
|
-
this.
|
|
1561
|
-
this.
|
|
1562
|
-
this.
|
|
1563
|
-
suspendResult = this.
|
|
1560
|
+
this.o9_1 = 11;
|
|
1561
|
+
this.l1t_1 = this.q9_1;
|
|
1562
|
+
this.n9_1 = 8;
|
|
1563
|
+
suspendResult = this.h1t_1.j1o(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.l1t_1;
|
|
1571
1571
|
case 9:
|
|
1572
|
-
this.
|
|
1573
|
-
this.
|
|
1574
|
-
suspendResult = this.
|
|
1572
|
+
this.o9_1 = 11;
|
|
1573
|
+
this.n9_1 = 10;
|
|
1574
|
+
suspendResult = this.h1t_1.j1o(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.i1t_1;
|
|
1582
1582
|
case 11:
|
|
1583
|
-
throw this.
|
|
1583
|
+
throw this.q9_1;
|
|
1584
1584
|
}
|
|
1585
1585
|
} catch ($p) {
|
|
1586
1586
|
var e = $p;
|
|
1587
|
-
if (this.
|
|
1587
|
+
if (this.o9_1 === 11) {
|
|
1588
1588
|
throw e;
|
|
1589
1589
|
} else {
|
|
1590
|
-
this.
|
|
1591
|
-
this.
|
|
1590
|
+
this.n9_1 = this.o9_1;
|
|
1591
|
+
this.q9_1 = e;
|
|
1592
1592
|
}
|
|
1593
1593
|
}
|
|
1594
1594
|
while (true);
|
|
1595
1595
|
};
|
|
1596
1596
|
function $readBufferCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1597
1597
|
CoroutineImpl.call(this, resultContinuation);
|
|
1598
|
-
this.
|
|
1598
|
+
this.u1t_1 = _this__u8e3s4;
|
|
1599
1599
|
}
|
|
1600
|
-
protoOf($readBufferCOROUTINE$).
|
|
1601
|
-
var suspendResult = this.
|
|
1600
|
+
protoOf($readBufferCOROUTINE$).v9 = function () {
|
|
1601
|
+
var suspendResult = this.p9_1;
|
|
1602
1602
|
$sm: do
|
|
1603
1603
|
try {
|
|
1604
|
-
var tmp = this.
|
|
1604
|
+
var tmp = this.n9_1;
|
|
1605
1605
|
switch (tmp) {
|
|
1606
1606
|
case 0:
|
|
1607
|
-
this.
|
|
1608
|
-
this.
|
|
1609
|
-
this.
|
|
1607
|
+
this.o9_1 = 4;
|
|
1608
|
+
this.v1t_1 = new Buffer();
|
|
1609
|
+
this.n9_1 = 1;
|
|
1610
1610
|
continue $sm;
|
|
1611
1611
|
case 1:
|
|
1612
|
-
if (!!this.
|
|
1613
|
-
this.
|
|
1612
|
+
if (!!this.u1t_1.r1o()) {
|
|
1613
|
+
this.n9_1 = 3;
|
|
1614
1614
|
continue $sm;
|
|
1615
1615
|
}
|
|
1616
1616
|
|
|
1617
|
-
this.
|
|
1618
|
-
this.
|
|
1619
|
-
suspendResult = this.
|
|
1617
|
+
this.v1t_1.w1k(this.u1t_1.k1o());
|
|
1618
|
+
this.n9_1 = 2;
|
|
1619
|
+
suspendResult = this.u1t_1.t1o(VOID, this);
|
|
1620
1620
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1621
1621
|
return suspendResult;
|
|
1622
1622
|
}
|
|
1623
1623
|
|
|
1624
1624
|
continue $sm;
|
|
1625
1625
|
case 2:
|
|
1626
|
-
this.
|
|
1626
|
+
this.n9_1 = 1;
|
|
1627
1627
|
continue $sm;
|
|
1628
1628
|
case 3:
|
|
1629
|
-
var tmp0_safe_receiver = this.
|
|
1629
|
+
var tmp0_safe_receiver = this.u1t_1.p1o();
|
|
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.v1t_1;
|
|
1637
1637
|
case 4:
|
|
1638
|
-
throw this.
|
|
1638
|
+
throw this.q9_1;
|
|
1639
1639
|
}
|
|
1640
1640
|
} catch ($p) {
|
|
1641
1641
|
var e = $p;
|
|
1642
|
-
if (this.
|
|
1642
|
+
if (this.o9_1 === 4) {
|
|
1643
1643
|
throw e;
|
|
1644
1644
|
} else {
|
|
1645
|
-
this.
|
|
1646
|
-
this.
|
|
1645
|
+
this.n9_1 = this.o9_1;
|
|
1646
|
+
this.q9_1 = e;
|
|
1647
1647
|
}
|
|
1648
1648
|
}
|
|
1649
1649
|
while (true);
|
|
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.j1u_1 = _this__u8e3s4;
|
|
1654
|
+
this.k1u_1 = out;
|
|
1655
|
+
this.l1u_1 = max;
|
|
1656
|
+
this.m1u_1 = lineEnding;
|
|
1657
1657
|
}
|
|
1658
|
-
protoOf($readUTF8LineToCOROUTINE$).
|
|
1659
|
-
var suspendResult = this.
|
|
1658
|
+
protoOf($readUTF8LineToCOROUTINE$).v9 = function () {
|
|
1659
|
+
var suspendResult = this.p9_1;
|
|
1660
1660
|
$sm: do
|
|
1661
1661
|
try {
|
|
1662
|
-
var tmp = this.
|
|
1662
|
+
var tmp = this.n9_1;
|
|
1663
1663
|
switch (tmp) {
|
|
1664
1664
|
case 0:
|
|
1665
|
-
this.
|
|
1666
|
-
if (this.
|
|
1667
|
-
this.
|
|
1668
|
-
suspendResult = this.
|
|
1665
|
+
this.o9_1 = 21;
|
|
1666
|
+
if (this.j1u_1.k1o().e1j()) {
|
|
1667
|
+
this.n9_1 = 1;
|
|
1668
|
+
suspendResult = this.j1u_1.t1o(VOID, this);
|
|
1669
1669
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1670
1670
|
return suspendResult;
|
|
1671
1671
|
}
|
|
1672
1672
|
continue $sm;
|
|
1673
1673
|
} else {
|
|
1674
|
-
this.
|
|
1674
|
+
this.n9_1 = 2;
|
|
1675
1675
|
continue $sm;
|
|
1676
1676
|
}
|
|
1677
1677
|
|
|
1678
1678
|
case 1:
|
|
1679
|
-
this.
|
|
1679
|
+
this.n9_1 = 2;
|
|
1680
1680
|
continue $sm;
|
|
1681
1681
|
case 2:
|
|
1682
|
-
if (this.
|
|
1682
|
+
if (this.j1u_1.r1o())
|
|
1683
1683
|
return false;
|
|
1684
1684
|
var tmp_0 = this;
|
|
1685
|
-
tmp_0.
|
|
1686
|
-
this.
|
|
1685
|
+
tmp_0.n1u_1 = new Buffer();
|
|
1686
|
+
this.n9_1 = 3;
|
|
1687
1687
|
continue $sm;
|
|
1688
1688
|
case 3:
|
|
1689
|
-
this.
|
|
1690
|
-
this.
|
|
1691
|
-
this.
|
|
1689
|
+
this.p1u_1 = this.n1u_1;
|
|
1690
|
+
this.q1u_1 = null;
|
|
1691
|
+
this.n9_1 = 4;
|
|
1692
1692
|
continue $sm;
|
|
1693
1693
|
case 4:
|
|
1694
|
-
this.
|
|
1694
|
+
this.n9_1 = 5;
|
|
1695
1695
|
continue $sm;
|
|
1696
1696
|
case 5:
|
|
1697
|
-
this.
|
|
1697
|
+
this.n9_1 = 6;
|
|
1698
1698
|
continue $sm;
|
|
1699
1699
|
case 6:
|
|
1700
|
-
this.
|
|
1701
|
-
this.
|
|
1700
|
+
this.o9_1 = 18;
|
|
1701
|
+
this.o9_1 = 17;
|
|
1702
1702
|
var tmp_1 = this;
|
|
1703
|
-
tmp_1.
|
|
1704
|
-
this.
|
|
1705
|
-
this.
|
|
1703
|
+
tmp_1.s1u_1 = this.p1u_1;
|
|
1704
|
+
this.t1u_1 = this.s1u_1;
|
|
1705
|
+
this.n9_1 = 7;
|
|
1706
1706
|
continue $sm;
|
|
1707
1707
|
case 7:
|
|
1708
|
-
if (!!this.
|
|
1709
|
-
this.
|
|
1708
|
+
if (!!this.j1u_1.r1o()) {
|
|
1709
|
+
this.n9_1 = 14;
|
|
1710
1710
|
continue $sm;
|
|
1711
1711
|
}
|
|
1712
1712
|
|
|
1713
|
-
this.
|
|
1713
|
+
this.n9_1 = 8;
|
|
1714
1714
|
continue $sm;
|
|
1715
1715
|
case 8:
|
|
1716
|
-
if (!!this.
|
|
1717
|
-
this.
|
|
1716
|
+
if (!!this.j1u_1.k1o().e1j()) {
|
|
1717
|
+
this.n9_1 = 12;
|
|
1718
1718
|
continue $sm;
|
|
1719
1719
|
}
|
|
1720
1720
|
|
|
1721
|
-
this.
|
|
1722
|
-
if (this.
|
|
1723
|
-
if (this.
|
|
1724
|
-
this.
|
|
1725
|
-
suspendResult = this.
|
|
1721
|
+
this.u1u_1 = this.j1u_1.k1o().h1j();
|
|
1722
|
+
if (this.u1u_1 === 13) {
|
|
1723
|
+
if (this.j1u_1.k1o().e1j()) {
|
|
1724
|
+
this.n9_1 = 10;
|
|
1725
|
+
suspendResult = this.j1u_1.t1o(VOID, this);
|
|
1726
1726
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1727
1727
|
return suspendResult;
|
|
1728
1728
|
}
|
|
1729
1729
|
continue $sm;
|
|
1730
1730
|
} else {
|
|
1731
|
-
this.
|
|
1731
|
+
this.n9_1 = 11;
|
|
1732
1732
|
continue $sm;
|
|
1733
1733
|
}
|
|
1734
1734
|
} else {
|
|
1735
|
-
if (this.
|
|
1736
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1737
|
-
this.
|
|
1738
|
-
this.
|
|
1739
|
-
this.
|
|
1740
|
-
this.
|
|
1735
|
+
if (this.u1u_1 === 10) {
|
|
1736
|
+
readUTF8LineTo$checkLineEndingAllowed(this.m1u_1, Companion_getInstance_1().x1t_1);
|
|
1737
|
+
this.k1u_1.l(readString(this.t1u_1));
|
|
1738
|
+
this.r1u_1 = true;
|
|
1739
|
+
this.o9_1 = 21;
|
|
1740
|
+
this.n9_1 = 15;
|
|
1741
1741
|
continue $sm;
|
|
1742
1742
|
} else {
|
|
1743
|
-
this.
|
|
1744
|
-
this.
|
|
1743
|
+
this.t1u_1.x1k(this.u1u_1);
|
|
1744
|
+
this.n9_1 = 9;
|
|
1745
1745
|
continue $sm;
|
|
1746
1746
|
}
|
|
1747
1747
|
}
|
|
1748
1748
|
|
|
1749
1749
|
case 9:
|
|
1750
|
-
this.
|
|
1750
|
+
this.n9_1 = 8;
|
|
1751
1751
|
continue $sm;
|
|
1752
1752
|
case 10:
|
|
1753
|
-
this.
|
|
1753
|
+
this.n9_1 = 11;
|
|
1754
1754
|
continue $sm;
|
|
1755
1755
|
case 11:
|
|
1756
|
-
if (this.
|
|
1757
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1758
|
-
discard_0(this.
|
|
1756
|
+
if (this.j1u_1.k1o().d1j().z1j(new Long(0, 0)) === 10) {
|
|
1757
|
+
readUTF8LineTo$checkLineEndingAllowed(this.m1u_1, Companion_getInstance_1().y1t_1);
|
|
1758
|
+
discard_0(this.j1u_1.k1o(), new Long(1, 0));
|
|
1759
1759
|
} else {
|
|
1760
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1760
|
+
readUTF8LineTo$checkLineEndingAllowed(this.m1u_1, Companion_getInstance_1().w1t_1);
|
|
1761
1761
|
}
|
|
1762
1762
|
|
|
1763
|
-
this.
|
|
1764
|
-
this.
|
|
1765
|
-
this.
|
|
1766
|
-
this.
|
|
1763
|
+
this.k1u_1.l(readString(this.t1u_1));
|
|
1764
|
+
this.r1u_1 = true;
|
|
1765
|
+
this.o9_1 = 21;
|
|
1766
|
+
this.n9_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.t1u_1.s().d1(toLong(this.l1u_1)) >= 0) {
|
|
1770
|
+
throw new TooLongLineException('Line exceeds limit of ' + this.l1u_1 + ' characters');
|
|
1771
1771
|
}
|
|
1772
1772
|
|
|
1773
|
-
this.
|
|
1774
|
-
suspendResult = this.
|
|
1773
|
+
this.n9_1 = 13;
|
|
1774
|
+
suspendResult = this.j1u_1.t1o(VOID, this);
|
|
1775
1775
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1776
1776
|
return suspendResult;
|
|
1777
1777
|
}
|
|
1778
1778
|
|
|
1779
1779
|
continue $sm;
|
|
1780
1780
|
case 13:
|
|
1781
|
-
this.
|
|
1781
|
+
this.n9_1 = 7;
|
|
1782
1782
|
continue $sm;
|
|
1783
1783
|
case 14:
|
|
1784
1784
|
var tmp_2 = this;
|
|
1785
|
-
var this_0 = this.
|
|
1785
|
+
var this_0 = this.t1u_1.s().d1(new Long(0, 0)) > 0;
|
|
1786
1786
|
if (this_0) {
|
|
1787
|
-
this.
|
|
1787
|
+
this.k1u_1.l(readString(this.t1u_1));
|
|
1788
1788
|
}
|
|
1789
1789
|
|
|
1790
|
-
tmp_2.
|
|
1791
|
-
this.
|
|
1792
|
-
this.
|
|
1790
|
+
tmp_2.r1u_1 = this_0;
|
|
1791
|
+
this.o9_1 = 21;
|
|
1792
|
+
this.n9_1 = 15;
|
|
1793
1793
|
var tmp_3 = this;
|
|
1794
1794
|
continue $sm;
|
|
1795
1795
|
case 15:
|
|
1796
|
-
var tmp_4 = this.
|
|
1797
|
-
this.
|
|
1798
|
-
closeFinally(this.
|
|
1796
|
+
var tmp_4 = this.r1u_1;
|
|
1797
|
+
this.o9_1 = 21;
|
|
1798
|
+
closeFinally(this.p1u_1, this.q1u_1);
|
|
1799
1799
|
return tmp_4;
|
|
1800
1800
|
case 16:
|
|
1801
|
-
this.
|
|
1801
|
+
this.o9_1 = 21;
|
|
1802
1802
|
var tmp_5 = this;
|
|
1803
|
-
closeFinally(this.
|
|
1804
|
-
tmp_5.
|
|
1805
|
-
this.
|
|
1803
|
+
closeFinally(this.p1u_1, this.q1u_1);
|
|
1804
|
+
tmp_5.o1u_1 = Unit_instance;
|
|
1805
|
+
this.n9_1 = 20;
|
|
1806
1806
|
continue $sm;
|
|
1807
1807
|
case 17:
|
|
1808
|
-
this.
|
|
1809
|
-
var tmp_6 = this.
|
|
1808
|
+
this.o9_1 = 18;
|
|
1809
|
+
var tmp_6 = this.q9_1;
|
|
1810
1810
|
if (tmp_6 instanceof Error) {
|
|
1811
|
-
var e = this.
|
|
1811
|
+
var e = this.q9_1;
|
|
1812
1812
|
var tmp_7 = this;
|
|
1813
|
-
this.
|
|
1813
|
+
this.q1u_1 = e;
|
|
1814
1814
|
throw e;
|
|
1815
1815
|
} else {
|
|
1816
|
-
throw this.
|
|
1816
|
+
throw this.q9_1;
|
|
1817
1817
|
}
|
|
1818
1818
|
|
|
1819
1819
|
case 18:
|
|
1820
|
-
this.
|
|
1821
|
-
var t = this.
|
|
1822
|
-
closeFinally(this.
|
|
1820
|
+
this.o9_1 = 21;
|
|
1821
|
+
var t = this.q9_1;
|
|
1822
|
+
closeFinally(this.p1u_1, this.q1u_1);
|
|
1823
1823
|
throw t;
|
|
1824
1824
|
case 19:
|
|
1825
|
-
this.
|
|
1826
|
-
closeFinally(this.
|
|
1825
|
+
this.o9_1 = 21;
|
|
1826
|
+
closeFinally(this.p1u_1, this.q1u_1);
|
|
1827
1827
|
if (false) {
|
|
1828
|
-
this.
|
|
1828
|
+
this.n9_1 = 3;
|
|
1829
1829
|
continue $sm;
|
|
1830
1830
|
}
|
|
1831
1831
|
|
|
1832
|
-
this.
|
|
1832
|
+
this.n9_1 = 20;
|
|
1833
1833
|
continue $sm;
|
|
1834
1834
|
case 20:
|
|
1835
1835
|
return Unit_instance;
|
|
1836
1836
|
case 21:
|
|
1837
|
-
throw this.
|
|
1837
|
+
throw this.q9_1;
|
|
1838
1838
|
}
|
|
1839
1839
|
} catch ($p) {
|
|
1840
1840
|
var e_0 = $p;
|
|
1841
|
-
if (this.
|
|
1841
|
+
if (this.o9_1 === 21) {
|
|
1842
1842
|
throw e_0;
|
|
1843
1843
|
} else {
|
|
1844
|
-
this.
|
|
1845
|
-
this.
|
|
1844
|
+
this.n9_1 = this.o9_1;
|
|
1845
|
+
this.q9_1 = e_0;
|
|
1846
1846
|
}
|
|
1847
1847
|
}
|
|
1848
1848
|
while (true);
|
|
1849
1849
|
};
|
|
1850
1850
|
function $readRemainingCOROUTINE$_0(_this__u8e3s4, max, resultContinuation) {
|
|
1851
1851
|
CoroutineImpl.call(this, resultContinuation);
|
|
1852
|
-
this.
|
|
1853
|
-
this.
|
|
1852
|
+
this.d1v_1 = _this__u8e3s4;
|
|
1853
|
+
this.e1v_1 = max;
|
|
1854
1854
|
}
|
|
1855
|
-
protoOf($readRemainingCOROUTINE$_0).
|
|
1856
|
-
var suspendResult = this.
|
|
1855
|
+
protoOf($readRemainingCOROUTINE$_0).v9 = function () {
|
|
1856
|
+
var suspendResult = this.p9_1;
|
|
1857
1857
|
$sm: do
|
|
1858
1858
|
try {
|
|
1859
|
-
var tmp = this.
|
|
1859
|
+
var tmp = this.n9_1;
|
|
1860
1860
|
switch (tmp) {
|
|
1861
1861
|
case 0:
|
|
1862
|
-
this.
|
|
1863
|
-
this.
|
|
1864
|
-
this.
|
|
1865
|
-
this.
|
|
1862
|
+
this.o9_1 = 4;
|
|
1863
|
+
this.f1v_1 = BytePacketBuilder();
|
|
1864
|
+
this.g1v_1 = this.e1v_1;
|
|
1865
|
+
this.n9_1 = 1;
|
|
1866
1866
|
continue $sm;
|
|
1867
1867
|
case 1:
|
|
1868
|
-
if (!(!this.
|
|
1869
|
-
this.
|
|
1868
|
+
if (!(!this.d1v_1.r1o() && this.g1v_1.d1(new Long(0, 0)) > 0)) {
|
|
1869
|
+
this.n9_1 = 3;
|
|
1870
1870
|
continue $sm;
|
|
1871
1871
|
}
|
|
1872
1872
|
|
|
1873
|
-
if (this.
|
|
1874
|
-
this.
|
|
1875
|
-
this.
|
|
1873
|
+
if (this.g1v_1.d1(get_remaining(this.d1v_1.k1o())) >= 0) {
|
|
1874
|
+
this.g1v_1 = this.g1v_1.d3(get_remaining(this.d1v_1.k1o()));
|
|
1875
|
+
this.d1v_1.k1o().h1k(this.f1v_1);
|
|
1876
1876
|
} else {
|
|
1877
|
-
this.
|
|
1878
|
-
this.
|
|
1877
|
+
this.d1v_1.k1o().g1k(this.f1v_1, this.g1v_1);
|
|
1878
|
+
this.g1v_1 = new Long(0, 0);
|
|
1879
1879
|
}
|
|
1880
1880
|
|
|
1881
|
-
this.
|
|
1882
|
-
suspendResult = this.
|
|
1881
|
+
this.n9_1 = 2;
|
|
1882
|
+
suspendResult = this.d1v_1.t1o(VOID, this);
|
|
1883
1883
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1884
1884
|
return suspendResult;
|
|
1885
1885
|
}
|
|
1886
1886
|
|
|
1887
1887
|
continue $sm;
|
|
1888
1888
|
case 2:
|
|
1889
|
-
this.
|
|
1889
|
+
this.n9_1 = 1;
|
|
1890
1890
|
continue $sm;
|
|
1891
1891
|
case 3:
|
|
1892
|
-
return this.
|
|
1892
|
+
return this.f1v_1.d1j();
|
|
1893
1893
|
case 4:
|
|
1894
|
-
throw this.
|
|
1894
|
+
throw this.q9_1;
|
|
1895
1895
|
}
|
|
1896
1896
|
} catch ($p) {
|
|
1897
1897
|
var e = $p;
|
|
1898
|
-
if (this.
|
|
1898
|
+
if (this.o9_1 === 4) {
|
|
1899
1899
|
throw e;
|
|
1900
1900
|
} else {
|
|
1901
|
-
this.
|
|
1902
|
-
this.
|
|
1901
|
+
this.n9_1 = this.o9_1;
|
|
1902
|
+
this.q9_1 = e;
|
|
1903
1903
|
}
|
|
1904
1904
|
}
|
|
1905
1905
|
while (true);
|
|
1906
1906
|
};
|
|
1907
1907
|
function $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, resultContinuation) {
|
|
1908
1908
|
CoroutineImpl.call(this, resultContinuation);
|
|
1909
|
-
this.
|
|
1910
|
-
this.
|
|
1909
|
+
this.p1v_1 = _this__u8e3s4;
|
|
1910
|
+
this.q1v_1 = byteString;
|
|
1911
1911
|
}
|
|
1912
|
-
protoOf($skipIfFoundCOROUTINE$).
|
|
1913
|
-
var suspendResult = this.
|
|
1912
|
+
protoOf($skipIfFoundCOROUTINE$).v9 = function () {
|
|
1913
|
+
var suspendResult = this.p9_1;
|
|
1914
1914
|
$sm: do
|
|
1915
1915
|
try {
|
|
1916
|
-
var tmp = this.
|
|
1916
|
+
var tmp = this.n9_1;
|
|
1917
1917
|
switch (tmp) {
|
|
1918
1918
|
case 0:
|
|
1919
|
-
this.
|
|
1920
|
-
this.
|
|
1921
|
-
suspendResult = peek(this.
|
|
1919
|
+
this.o9_1 = 4;
|
|
1920
|
+
this.n9_1 = 1;
|
|
1921
|
+
suspendResult = peek(this.p1v_1, this.q1v_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.
|
|
1930
|
-
this.
|
|
1931
|
-
suspendResult = discard(this.
|
|
1928
|
+
this.r1v_1 = suspendResult;
|
|
1929
|
+
if (equals(this.r1v_1, this.q1v_1)) {
|
|
1930
|
+
this.n9_1 = 3;
|
|
1931
|
+
suspendResult = discard(this.p1v_1, toLong(this.q1v_1.s()), this);
|
|
1932
1932
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1933
1933
|
return suspendResult;
|
|
1934
1934
|
}
|
|
1935
1935
|
continue $sm;
|
|
1936
1936
|
} else {
|
|
1937
|
-
this.
|
|
1937
|
+
this.n9_1 = 2;
|
|
1938
1938
|
continue $sm;
|
|
1939
1939
|
}
|
|
1940
1940
|
|
|
@@ -1943,111 +1943,111 @@
|
|
|
1943
1943
|
case 3:
|
|
1944
1944
|
return true;
|
|
1945
1945
|
case 4:
|
|
1946
|
-
throw this.
|
|
1946
|
+
throw this.q9_1;
|
|
1947
1947
|
}
|
|
1948
1948
|
} catch ($p) {
|
|
1949
1949
|
var e = $p;
|
|
1950
|
-
if (this.
|
|
1950
|
+
if (this.o9_1 === 4) {
|
|
1951
1951
|
throw e;
|
|
1952
1952
|
} else {
|
|
1953
|
-
this.
|
|
1954
|
-
this.
|
|
1953
|
+
this.n9_1 = this.o9_1;
|
|
1954
|
+
this.q9_1 = e;
|
|
1955
1955
|
}
|
|
1956
1956
|
}
|
|
1957
1957
|
while (true);
|
|
1958
1958
|
};
|
|
1959
1959
|
function $readPacketCOROUTINE$(_this__u8e3s4, packet, resultContinuation) {
|
|
1960
1960
|
CoroutineImpl.call(this, resultContinuation);
|
|
1961
|
-
this.
|
|
1962
|
-
this.
|
|
1961
|
+
this.a1w_1 = _this__u8e3s4;
|
|
1962
|
+
this.b1w_1 = packet;
|
|
1963
1963
|
}
|
|
1964
|
-
protoOf($readPacketCOROUTINE$).
|
|
1965
|
-
var suspendResult = this.
|
|
1964
|
+
protoOf($readPacketCOROUTINE$).v9 = function () {
|
|
1965
|
+
var suspendResult = this.p9_1;
|
|
1966
1966
|
$sm: do
|
|
1967
1967
|
try {
|
|
1968
|
-
var tmp = this.
|
|
1968
|
+
var tmp = this.n9_1;
|
|
1969
1969
|
switch (tmp) {
|
|
1970
1970
|
case 0:
|
|
1971
|
-
this.
|
|
1972
|
-
this.
|
|
1973
|
-
this.
|
|
1971
|
+
this.o9_1 = 6;
|
|
1972
|
+
this.c1w_1 = new Buffer();
|
|
1973
|
+
this.n9_1 = 1;
|
|
1974
1974
|
continue $sm;
|
|
1975
1975
|
case 1:
|
|
1976
|
-
if (!(this.
|
|
1977
|
-
this.
|
|
1976
|
+
if (!(this.c1w_1.s().d1(toLong(this.b1w_1)) < 0)) {
|
|
1977
|
+
this.n9_1 = 5;
|
|
1978
1978
|
continue $sm;
|
|
1979
1979
|
}
|
|
1980
1980
|
|
|
1981
|
-
if (this.
|
|
1982
|
-
this.
|
|
1983
|
-
suspendResult = this.
|
|
1981
|
+
if (this.a1w_1.k1o().e1j()) {
|
|
1982
|
+
this.n9_1 = 2;
|
|
1983
|
+
suspendResult = this.a1w_1.t1o(VOID, this);
|
|
1984
1984
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1985
1985
|
return suspendResult;
|
|
1986
1986
|
}
|
|
1987
1987
|
continue $sm;
|
|
1988
1988
|
} else {
|
|
1989
|
-
this.
|
|
1989
|
+
this.n9_1 = 3;
|
|
1990
1990
|
continue $sm;
|
|
1991
1991
|
}
|
|
1992
1992
|
|
|
1993
1993
|
case 2:
|
|
1994
|
-
this.
|
|
1994
|
+
this.n9_1 = 3;
|
|
1995
1995
|
continue $sm;
|
|
1996
1996
|
case 3:
|
|
1997
|
-
if (this.
|
|
1998
|
-
this.
|
|
1997
|
+
if (this.a1w_1.r1o()) {
|
|
1998
|
+
this.n9_1 = 5;
|
|
1999
1999
|
continue $sm;
|
|
2000
2000
|
} else {
|
|
2001
|
-
this.
|
|
2001
|
+
this.n9_1 = 4;
|
|
2002
2002
|
continue $sm;
|
|
2003
2003
|
}
|
|
2004
2004
|
|
|
2005
2005
|
case 4:
|
|
2006
|
-
if (get_remaining(this.
|
|
2007
|
-
this.
|
|
2006
|
+
if (get_remaining(this.a1w_1.k1o()).d1(numberToLong(this.b1w_1).d3(this.c1w_1.s())) > 0) {
|
|
2007
|
+
this.a1w_1.k1o().g1k(this.c1w_1, numberToLong(this.b1w_1).d3(this.c1w_1.s()));
|
|
2008
2008
|
} else {
|
|
2009
|
-
this.
|
|
2009
|
+
this.a1w_1.k1o().h1k(this.c1w_1);
|
|
2010
2010
|
}
|
|
2011
2011
|
|
|
2012
|
-
this.
|
|
2012
|
+
this.n9_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.c1w_1.s().d1(toLong(this.b1w_1)) < 0) {
|
|
2016
|
+
throw EOFException_init_$Create$('Not enough data available, required ' + this.b1w_1 + ' bytes but only ' + this.c1w_1.s().toString() + ' available');
|
|
2017
2017
|
}
|
|
2018
2018
|
|
|
2019
|
-
return this.
|
|
2019
|
+
return this.c1w_1;
|
|
2020
2020
|
case 6:
|
|
2021
|
-
throw this.
|
|
2021
|
+
throw this.q9_1;
|
|
2022
2022
|
}
|
|
2023
2023
|
} catch ($p) {
|
|
2024
2024
|
var e = $p;
|
|
2025
|
-
if (this.
|
|
2025
|
+
if (this.o9_1 === 6) {
|
|
2026
2026
|
throw e;
|
|
2027
2027
|
} else {
|
|
2028
|
-
this.
|
|
2029
|
-
this.
|
|
2028
|
+
this.n9_1 = this.o9_1;
|
|
2029
|
+
this.q9_1 = e;
|
|
2030
2030
|
}
|
|
2031
2031
|
}
|
|
2032
2032
|
while (true);
|
|
2033
2033
|
};
|
|
2034
2034
|
function $peekCOROUTINE$(_this__u8e3s4, count, resultContinuation) {
|
|
2035
2035
|
CoroutineImpl.call(this, resultContinuation);
|
|
2036
|
-
this.
|
|
2037
|
-
this.
|
|
2036
|
+
this.l1w_1 = _this__u8e3s4;
|
|
2037
|
+
this.m1w_1 = count;
|
|
2038
2038
|
}
|
|
2039
|
-
protoOf($peekCOROUTINE$).
|
|
2040
|
-
var suspendResult = this.
|
|
2039
|
+
protoOf($peekCOROUTINE$).v9 = function () {
|
|
2040
|
+
var suspendResult = this.p9_1;
|
|
2041
2041
|
$sm: do
|
|
2042
2042
|
try {
|
|
2043
|
-
var tmp = this.
|
|
2043
|
+
var tmp = this.n9_1;
|
|
2044
2044
|
switch (tmp) {
|
|
2045
2045
|
case 0:
|
|
2046
|
-
this.
|
|
2047
|
-
if (this.
|
|
2046
|
+
this.o9_1 = 3;
|
|
2047
|
+
if (this.l1w_1.r1o())
|
|
2048
2048
|
return null;
|
|
2049
|
-
this.
|
|
2050
|
-
suspendResult = this.
|
|
2049
|
+
this.n9_1 = 1;
|
|
2050
|
+
suspendResult = this.l1w_1.s1o(this.m1w_1, this);
|
|
2051
2051
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2052
2052
|
return suspendResult;
|
|
2053
2053
|
}
|
|
@@ -2058,81 +2058,81 @@
|
|
|
2058
2058
|
if (!ARGUMENT) {
|
|
2059
2059
|
return null;
|
|
2060
2060
|
} else {
|
|
2061
|
-
this.
|
|
2061
|
+
this.n9_1 = 2;
|
|
2062
2062
|
continue $sm;
|
|
2063
2063
|
}
|
|
2064
2064
|
|
|
2065
2065
|
case 2:
|
|
2066
|
-
return readByteString(this.
|
|
2066
|
+
return readByteString(this.l1w_1.k1o().i1k(), this.m1w_1);
|
|
2067
2067
|
case 3:
|
|
2068
|
-
throw this.
|
|
2068
|
+
throw this.q9_1;
|
|
2069
2069
|
}
|
|
2070
2070
|
} catch ($p) {
|
|
2071
2071
|
var e = $p;
|
|
2072
|
-
if (this.
|
|
2072
|
+
if (this.o9_1 === 3) {
|
|
2073
2073
|
throw e;
|
|
2074
2074
|
} else {
|
|
2075
|
-
this.
|
|
2076
|
-
this.
|
|
2075
|
+
this.n9_1 = this.o9_1;
|
|
2076
|
+
this.q9_1 = e;
|
|
2077
2077
|
}
|
|
2078
2078
|
}
|
|
2079
2079
|
while (true);
|
|
2080
2080
|
};
|
|
2081
2081
|
function flushIfNeeded(_this__u8e3s4, $completion) {
|
|
2082
2082
|
var tmp = new $flushIfNeededCOROUTINE$(_this__u8e3s4, $completion);
|
|
2083
|
-
tmp.
|
|
2084
|
-
tmp.
|
|
2085
|
-
return tmp.
|
|
2083
|
+
tmp.p9_1 = Unit_instance;
|
|
2084
|
+
tmp.q9_1 = null;
|
|
2085
|
+
return tmp.v9();
|
|
2086
2086
|
}
|
|
2087
2087
|
function $flushIfNeededCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
2088
2088
|
CoroutineImpl.call(this, resultContinuation);
|
|
2089
|
-
this.
|
|
2089
|
+
this.v1w_1 = _this__u8e3s4;
|
|
2090
2090
|
}
|
|
2091
|
-
protoOf($flushIfNeededCOROUTINE$).
|
|
2092
|
-
var suspendResult = this.
|
|
2091
|
+
protoOf($flushIfNeededCOROUTINE$).v9 = function () {
|
|
2092
|
+
var suspendResult = this.p9_1;
|
|
2093
2093
|
$sm: do
|
|
2094
2094
|
try {
|
|
2095
|
-
var tmp = this.
|
|
2095
|
+
var tmp = this.n9_1;
|
|
2096
2096
|
switch (tmp) {
|
|
2097
2097
|
case 0:
|
|
2098
|
-
this.
|
|
2099
|
-
rethrowCloseCauseIfNeeded_1(this.
|
|
2098
|
+
this.o9_1 = 3;
|
|
2099
|
+
rethrowCloseCauseIfNeeded_1(this.v1w_1);
|
|
2100
2100
|
var tmp_0;
|
|
2101
|
-
var tmp_1 = this.
|
|
2101
|
+
var tmp_1 = this.v1w_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.o1m_1) === true) {
|
|
2104
2104
|
tmp_0 = true;
|
|
2105
2105
|
} else {
|
|
2106
|
-
tmp_0 = get_size(this.
|
|
2106
|
+
tmp_0 = get_size(this.v1w_1.n1o()) >= 1048576;
|
|
2107
2107
|
}
|
|
2108
2108
|
|
|
2109
2109
|
if (tmp_0) {
|
|
2110
|
-
this.
|
|
2111
|
-
suspendResult = this.
|
|
2110
|
+
this.n9_1 = 1;
|
|
2111
|
+
suspendResult = this.v1w_1.j1o(this);
|
|
2112
2112
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2113
2113
|
return suspendResult;
|
|
2114
2114
|
}
|
|
2115
2115
|
continue $sm;
|
|
2116
2116
|
} else {
|
|
2117
|
-
this.
|
|
2117
|
+
this.n9_1 = 2;
|
|
2118
2118
|
continue $sm;
|
|
2119
2119
|
}
|
|
2120
2120
|
|
|
2121
2121
|
case 1:
|
|
2122
|
-
this.
|
|
2122
|
+
this.n9_1 = 2;
|
|
2123
2123
|
continue $sm;
|
|
2124
2124
|
case 2:
|
|
2125
2125
|
return Unit_instance;
|
|
2126
2126
|
case 3:
|
|
2127
|
-
throw this.
|
|
2127
|
+
throw this.q9_1;
|
|
2128
2128
|
}
|
|
2129
2129
|
} catch ($p) {
|
|
2130
2130
|
var e = $p;
|
|
2131
|
-
if (this.
|
|
2131
|
+
if (this.o9_1 === 3) {
|
|
2132
2132
|
throw e;
|
|
2133
2133
|
} else {
|
|
2134
|
-
this.
|
|
2135
|
-
this.
|
|
2134
|
+
this.n9_1 = this.o9_1;
|
|
2135
|
+
this.q9_1 = e;
|
|
2136
2136
|
}
|
|
2137
2137
|
}
|
|
2138
2138
|
while (true);
|
|
@@ -2143,11 +2143,11 @@
|
|
|
2143
2143
|
}
|
|
2144
2144
|
var NO_CALLBACK;
|
|
2145
2145
|
function WriterJob(channel, job) {
|
|
2146
|
-
this.
|
|
2147
|
-
this.
|
|
2146
|
+
this.w1w_1 = channel;
|
|
2147
|
+
this.x1w_1 = job;
|
|
2148
2148
|
}
|
|
2149
|
-
protoOf(WriterJob).
|
|
2150
|
-
return this.
|
|
2149
|
+
protoOf(WriterJob).qt = function () {
|
|
2150
|
+
return this.x1w_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.y1w_1 = channel;
|
|
2160
|
+
this.z1w_1 = coroutineContext;
|
|
2161
2161
|
}
|
|
2162
|
-
protoOf(WriterScope).
|
|
2163
|
-
return this.
|
|
2162
|
+
protoOf(WriterScope).fq = function () {
|
|
2163
|
+
return this.z1w_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.n1o().n1k(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.v1o(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.qt().hr(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.hr(writer$lambda(channel));
|
|
2189
2189
|
var job = this_0;
|
|
2190
2190
|
return new WriterJob(channel, job);
|
|
2191
2191
|
}
|
|
@@ -2195,113 +2195,113 @@
|
|
|
2195
2195
|
}
|
|
2196
2196
|
function writePacket(_this__u8e3s4, source, $completion) {
|
|
2197
2197
|
var tmp = new $writePacketCOROUTINE$(_this__u8e3s4, source, $completion);
|
|
2198
|
-
tmp.
|
|
2199
|
-
tmp.
|
|
2200
|
-
return tmp.
|
|
2198
|
+
tmp.p9_1 = Unit_instance;
|
|
2199
|
+
tmp.q9_1 = null;
|
|
2200
|
+
return tmp.v9();
|
|
2201
2201
|
}
|
|
2202
2202
|
function writeByte(_this__u8e3s4, value, $completion) {
|
|
2203
|
-
_this__u8e3s4.
|
|
2203
|
+
_this__u8e3s4.n1o().x1k(value);
|
|
2204
2204
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
2205
2205
|
}
|
|
2206
2206
|
function NO_CALLBACK$1() {
|
|
2207
|
-
this.
|
|
2207
|
+
this.k1x_1 = EmptyCoroutineContext_getInstance();
|
|
2208
2208
|
}
|
|
2209
|
-
protoOf(NO_CALLBACK$1).
|
|
2210
|
-
return this.
|
|
2209
|
+
protoOf(NO_CALLBACK$1).t9 = function () {
|
|
2210
|
+
return this.k1x_1;
|
|
2211
2211
|
};
|
|
2212
|
-
protoOf(NO_CALLBACK$1).
|
|
2212
|
+
protoOf(NO_CALLBACK$1).u9 = function (result) {
|
|
2213
2213
|
return Unit_instance;
|
|
2214
2214
|
};
|
|
2215
|
-
protoOf(NO_CALLBACK$1).
|
|
2216
|
-
return this.
|
|
2215
|
+
protoOf(NO_CALLBACK$1).y9 = function (result) {
|
|
2216
|
+
return this.u9(result);
|
|
2217
2217
|
};
|
|
2218
2218
|
function ByteWriteChannel$flushAndClose$ref(p0) {
|
|
2219
|
-
this.
|
|
2219
|
+
this.l1x_1 = p0;
|
|
2220
2220
|
}
|
|
2221
|
-
protoOf(ByteWriteChannel$flushAndClose$ref).
|
|
2222
|
-
return this.
|
|
2221
|
+
protoOf(ByteWriteChannel$flushAndClose$ref).m1x = function ($completion) {
|
|
2222
|
+
return this.l1x_1.u1o($completion);
|
|
2223
2223
|
};
|
|
2224
|
-
protoOf(ByteWriteChannel$flushAndClose$ref).
|
|
2225
|
-
return this.
|
|
2224
|
+
protoOf(ByteWriteChannel$flushAndClose$ref).ob = function ($completion) {
|
|
2225
|
+
return this.m1x($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.m1x($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.v1x_1 = $block;
|
|
2238
|
+
this.w1x_1 = $channel;
|
|
2239
2239
|
CoroutineImpl.call(this, resultContinuation);
|
|
2240
2240
|
}
|
|
2241
|
-
protoOf(writer$slambda).
|
|
2242
|
-
var tmp = this.
|
|
2243
|
-
tmp.
|
|
2244
|
-
tmp.
|
|
2245
|
-
return tmp.
|
|
2241
|
+
protoOf(writer$slambda).q1y = function ($this$launch, $completion) {
|
|
2242
|
+
var tmp = this.r1y($this$launch, $completion);
|
|
2243
|
+
tmp.p9_1 = Unit_instance;
|
|
2244
|
+
tmp.q9_1 = null;
|
|
2245
|
+
return tmp.v9();
|
|
2246
2246
|
};
|
|
2247
|
-
protoOf(writer$slambda).
|
|
2248
|
-
return this.
|
|
2247
|
+
protoOf(writer$slambda).ja = function (p1, $completion) {
|
|
2248
|
+
return this.q1y((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2249
2249
|
};
|
|
2250
|
-
protoOf(writer$slambda).
|
|
2251
|
-
var suspendResult = this.
|
|
2250
|
+
protoOf(writer$slambda).v9 = function () {
|
|
2251
|
+
var suspendResult = this.p9_1;
|
|
2252
2252
|
$sm: do
|
|
2253
2253
|
try {
|
|
2254
|
-
var tmp = this.
|
|
2254
|
+
var tmp = this.n9_1;
|
|
2255
2255
|
switch (tmp) {
|
|
2256
2256
|
case 0:
|
|
2257
|
-
this.
|
|
2258
|
-
this.
|
|
2259
|
-
this.
|
|
2257
|
+
this.o9_1 = 14;
|
|
2258
|
+
this.y1x_1 = Job(get_job(this.x1x_1.fq()));
|
|
2259
|
+
this.n9_1 = 1;
|
|
2260
2260
|
continue $sm;
|
|
2261
2261
|
case 1:
|
|
2262
|
-
this.
|
|
2263
|
-
this.
|
|
2264
|
-
this.
|
|
2265
|
-
suspendResult = this.
|
|
2262
|
+
this.o9_1 = 4;
|
|
2263
|
+
this.o9_1 = 3;
|
|
2264
|
+
this.n9_1 = 2;
|
|
2265
|
+
suspendResult = this.v1x_1(new WriterScope(this.w1x_1, this.x1x_1.fq().bi(this.y1x_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.y1x_1.oy();
|
|
2273
2273
|
var tmp_0 = this;
|
|
2274
2274
|
var tmp_1;
|
|
2275
|
-
if (get_job(this.
|
|
2276
|
-
this.
|
|
2275
|
+
if (get_job(this.x1x_1.fq()).br()) {
|
|
2276
|
+
this.w1x_1.v1o(get_job(this.x1x_1.fq()).er());
|
|
2277
2277
|
tmp_1 = Unit_instance;
|
|
2278
2278
|
}
|
|
2279
2279
|
|
|
2280
|
-
tmp_0.
|
|
2281
|
-
this.
|
|
2282
|
-
this.
|
|
2280
|
+
tmp_0.z1x_1 = tmp_1;
|
|
2281
|
+
this.o9_1 = 14;
|
|
2282
|
+
this.n9_1 = 9;
|
|
2283
2283
|
continue $sm;
|
|
2284
2284
|
case 3:
|
|
2285
|
-
this.
|
|
2286
|
-
var tmp_2 = this.
|
|
2285
|
+
this.o9_1 = 4;
|
|
2286
|
+
var tmp_2 = this.q9_1;
|
|
2287
2287
|
if (tmp_2 instanceof Error) {
|
|
2288
|
-
this.
|
|
2288
|
+
this.a1y_1 = this.q9_1;
|
|
2289
2289
|
var tmp_3 = this;
|
|
2290
|
-
cancel(this.
|
|
2291
|
-
this.
|
|
2292
|
-
tmp_3.
|
|
2293
|
-
this.
|
|
2294
|
-
this.
|
|
2290
|
+
cancel(this.y1x_1, 'Exception thrown while writing to channel', this.a1y_1);
|
|
2291
|
+
this.w1x_1.v1o(this.a1y_1);
|
|
2292
|
+
tmp_3.z1x_1 = Unit_instance;
|
|
2293
|
+
this.o9_1 = 14;
|
|
2294
|
+
this.n9_1 = 9;
|
|
2295
2295
|
continue $sm;
|
|
2296
2296
|
} else {
|
|
2297
|
-
throw this.
|
|
2297
|
+
throw this.q9_1;
|
|
2298
2298
|
}
|
|
2299
2299
|
|
|
2300
2300
|
case 4:
|
|
2301
|
-
this.
|
|
2302
|
-
this.
|
|
2303
|
-
this.
|
|
2304
|
-
suspendResult = this.
|
|
2301
|
+
this.o9_1 = 14;
|
|
2302
|
+
this.b1y_1 = this.q9_1;
|
|
2303
|
+
this.n9_1 = 5;
|
|
2304
|
+
suspendResult = this.y1x_1.py(this);
|
|
2305
2305
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2306
2306
|
return suspendResult;
|
|
2307
2307
|
}
|
|
@@ -2309,51 +2309,51 @@
|
|
|
2309
2309
|
continue $sm;
|
|
2310
2310
|
case 5:
|
|
2311
2311
|
var tmp_4 = this;
|
|
2312
|
-
tmp_4.
|
|
2313
|
-
this.
|
|
2314
|
-
this.
|
|
2312
|
+
tmp_4.c1y_1 = this.x1x_1;
|
|
2313
|
+
this.d1y_1 = this.c1y_1;
|
|
2314
|
+
this.o9_1 = 7;
|
|
2315
2315
|
var tmp_5 = this;
|
|
2316
|
-
tmp_5.
|
|
2316
|
+
tmp_5.f1y_1 = Companion_instance;
|
|
2317
2317
|
var tmp_6 = this;
|
|
2318
|
-
tmp_6.
|
|
2319
|
-
this.
|
|
2320
|
-
this.
|
|
2321
|
-
suspendResult = this.
|
|
2318
|
+
tmp_6.g1y_1 = this.d1y_1;
|
|
2319
|
+
this.h1y_1 = this.g1y_1;
|
|
2320
|
+
this.n9_1 = 6;
|
|
2321
|
+
suspendResult = this.w1x_1.u1o(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.i1y_1 = Unit_instance;
|
|
2329
2329
|
var tmp_7 = this;
|
|
2330
|
-
this.
|
|
2331
|
-
var value = this.
|
|
2332
|
-
tmp_7.
|
|
2333
|
-
this.
|
|
2334
|
-
this.
|
|
2330
|
+
this.f1y_1;
|
|
2331
|
+
var value = this.i1y_1;
|
|
2332
|
+
tmp_7.e1y_1 = _Result___init__impl__xyqfz8(value);
|
|
2333
|
+
this.o9_1 = 14;
|
|
2334
|
+
this.n9_1 = 8;
|
|
2335
2335
|
continue $sm;
|
|
2336
2336
|
case 7:
|
|
2337
|
-
this.
|
|
2338
|
-
var tmp_8 = this.
|
|
2337
|
+
this.o9_1 = 14;
|
|
2338
|
+
var tmp_8 = this.q9_1;
|
|
2339
2339
|
if (tmp_8 instanceof Error) {
|
|
2340
|
-
this.
|
|
2340
|
+
this.j1y_1 = this.q9_1;
|
|
2341
2341
|
var tmp_9 = this;
|
|
2342
|
-
var exception = this.
|
|
2343
|
-
tmp_9.
|
|
2344
|
-
this.
|
|
2342
|
+
var exception = this.j1y_1;
|
|
2343
|
+
tmp_9.e1y_1 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
2344
|
+
this.n9_1 = 8;
|
|
2345
2345
|
continue $sm;
|
|
2346
2346
|
} else {
|
|
2347
|
-
throw this.
|
|
2347
|
+
throw this.q9_1;
|
|
2348
2348
|
}
|
|
2349
2349
|
|
|
2350
2350
|
case 8:
|
|
2351
|
-
this.
|
|
2352
|
-
throw this.
|
|
2351
|
+
this.o9_1 = 14;
|
|
2352
|
+
throw this.b1y_1;
|
|
2353
2353
|
case 9:
|
|
2354
|
-
this.
|
|
2355
|
-
this.
|
|
2356
|
-
suspendResult = this.
|
|
2354
|
+
this.o9_1 = 14;
|
|
2355
|
+
this.n9_1 = 10;
|
|
2356
|
+
suspendResult = this.y1x_1.py(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.
|
|
2366
|
-
this.
|
|
2364
|
+
tmp_10.k1y_1 = this.x1x_1;
|
|
2365
|
+
this.l1y_1 = this.k1y_1;
|
|
2366
|
+
this.o9_1 = 12;
|
|
2367
2367
|
var tmp_11 = this;
|
|
2368
|
-
tmp_11.
|
|
2368
|
+
tmp_11.n1y_1 = Companion_instance;
|
|
2369
2369
|
var tmp_12 = this;
|
|
2370
|
-
tmp_12.
|
|
2371
|
-
this.
|
|
2372
|
-
this.
|
|
2373
|
-
suspendResult = this.
|
|
2370
|
+
tmp_12.o1y_1 = this.l1y_1;
|
|
2371
|
+
this.p1y_1 = this.o1y_1;
|
|
2372
|
+
this.n9_1 = 11;
|
|
2373
|
+
suspendResult = this.w1x_1.u1o(this);
|
|
2374
2374
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2375
2375
|
return suspendResult;
|
|
2376
2376
|
}
|
|
@@ -2378,50 +2378,50 @@
|
|
|
2378
2378
|
continue $sm;
|
|
2379
2379
|
case 11:
|
|
2380
2380
|
var tmp_13 = this;
|
|
2381
|
-
this.
|
|
2382
|
-
tmp_13.
|
|
2383
|
-
this.
|
|
2384
|
-
this.
|
|
2381
|
+
this.n1y_1;
|
|
2382
|
+
tmp_13.m1y_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2383
|
+
this.o9_1 = 14;
|
|
2384
|
+
this.n9_1 = 13;
|
|
2385
2385
|
continue $sm;
|
|
2386
2386
|
case 12:
|
|
2387
|
-
this.
|
|
2388
|
-
var tmp_14 = this.
|
|
2387
|
+
this.o9_1 = 14;
|
|
2388
|
+
var tmp_14 = this.q9_1;
|
|
2389
2389
|
if (tmp_14 instanceof Error) {
|
|
2390
|
-
var e = this.
|
|
2390
|
+
var e = this.q9_1;
|
|
2391
2391
|
var tmp_15 = this;
|
|
2392
|
-
tmp_15.
|
|
2393
|
-
this.
|
|
2392
|
+
tmp_15.m1y_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
2393
|
+
this.n9_1 = 13;
|
|
2394
2394
|
continue $sm;
|
|
2395
2395
|
} else {
|
|
2396
|
-
throw this.
|
|
2396
|
+
throw this.q9_1;
|
|
2397
2397
|
}
|
|
2398
2398
|
|
|
2399
2399
|
case 13:
|
|
2400
|
-
this.
|
|
2400
|
+
this.o9_1 = 14;
|
|
2401
2401
|
return Unit_instance;
|
|
2402
2402
|
case 14:
|
|
2403
|
-
throw this.
|
|
2403
|
+
throw this.q9_1;
|
|
2404
2404
|
}
|
|
2405
2405
|
} catch ($p) {
|
|
2406
2406
|
var e_0 = $p;
|
|
2407
|
-
if (this.
|
|
2407
|
+
if (this.o9_1 === 14) {
|
|
2408
2408
|
throw e_0;
|
|
2409
2409
|
} else {
|
|
2410
|
-
this.
|
|
2411
|
-
this.
|
|
2410
|
+
this.n9_1 = this.o9_1;
|
|
2411
|
+
this.q9_1 = e_0;
|
|
2412
2412
|
}
|
|
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).r1y = function ($this$launch, completion) {
|
|
2417
|
+
var i = new writer$slambda(this.v1x_1, this.w1x_1, completion);
|
|
2418
|
+
i.x1x_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.q1y($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.o1o()) {
|
|
2433
|
+
$channel.v1o(it);
|
|
2434
2434
|
tmp = Unit_instance;
|
|
2435
2435
|
}
|
|
2436
2436
|
return Unit_instance;
|
|
@@ -2438,48 +2438,48 @@
|
|
|
2438
2438
|
}
|
|
2439
2439
|
function $writePacketCOROUTINE$(_this__u8e3s4, source, resultContinuation) {
|
|
2440
2440
|
CoroutineImpl.call(this, resultContinuation);
|
|
2441
|
-
this.
|
|
2442
|
-
this.
|
|
2441
|
+
this.i1x_1 = _this__u8e3s4;
|
|
2442
|
+
this.j1x_1 = source;
|
|
2443
2443
|
}
|
|
2444
|
-
protoOf($writePacketCOROUTINE$).
|
|
2445
|
-
var suspendResult = this.
|
|
2444
|
+
protoOf($writePacketCOROUTINE$).v9 = function () {
|
|
2445
|
+
var suspendResult = this.p9_1;
|
|
2446
2446
|
$sm: do
|
|
2447
2447
|
try {
|
|
2448
|
-
var tmp = this.
|
|
2448
|
+
var tmp = this.n9_1;
|
|
2449
2449
|
switch (tmp) {
|
|
2450
2450
|
case 0:
|
|
2451
|
-
this.
|
|
2452
|
-
this.
|
|
2451
|
+
this.o9_1 = 4;
|
|
2452
|
+
this.n9_1 = 1;
|
|
2453
2453
|
continue $sm;
|
|
2454
2454
|
case 1:
|
|
2455
|
-
if (!!this.
|
|
2456
|
-
this.
|
|
2455
|
+
if (!!this.j1x_1.e1j()) {
|
|
2456
|
+
this.n9_1 = 3;
|
|
2457
2457
|
continue $sm;
|
|
2458
2458
|
}
|
|
2459
2459
|
|
|
2460
|
-
this.
|
|
2461
|
-
this.
|
|
2462
|
-
suspendResult = flushIfNeeded(this.
|
|
2460
|
+
this.i1x_1.n1o().r1k(this.j1x_1, get_remaining(this.j1x_1));
|
|
2461
|
+
this.n9_1 = 2;
|
|
2462
|
+
suspendResult = flushIfNeeded(this.i1x_1, this);
|
|
2463
2463
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2464
2464
|
return suspendResult;
|
|
2465
2465
|
}
|
|
2466
2466
|
|
|
2467
2467
|
continue $sm;
|
|
2468
2468
|
case 2:
|
|
2469
|
-
this.
|
|
2469
|
+
this.n9_1 = 1;
|
|
2470
2470
|
continue $sm;
|
|
2471
2471
|
case 3:
|
|
2472
2472
|
return Unit_instance;
|
|
2473
2473
|
case 4:
|
|
2474
|
-
throw this.
|
|
2474
|
+
throw this.q9_1;
|
|
2475
2475
|
}
|
|
2476
2476
|
} catch ($p) {
|
|
2477
2477
|
var e = $p;
|
|
2478
|
-
if (this.
|
|
2478
|
+
if (this.o9_1 === 4) {
|
|
2479
2479
|
throw e;
|
|
2480
2480
|
} else {
|
|
2481
|
-
this.
|
|
2482
|
-
this.
|
|
2481
|
+
this.n9_1 = this.o9_1;
|
|
2482
|
+
this.q9_1 = e;
|
|
2483
2483
|
}
|
|
2484
2484
|
}
|
|
2485
2485
|
while (true);
|
|
@@ -2504,27 +2504,27 @@
|
|
|
2504
2504
|
return l;
|
|
2505
2505
|
}
|
|
2506
2506
|
function CloseToken(origin) {
|
|
2507
|
-
this.
|
|
2507
|
+
this.l1o_1 = origin;
|
|
2508
2508
|
}
|
|
2509
|
-
protoOf(CloseToken).
|
|
2510
|
-
var tmp0_subject = this.
|
|
2509
|
+
protoOf(CloseToken).s1y = function (wrap) {
|
|
2510
|
+
var tmp0_subject = this.l1o_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.l1o_1.yy();
|
|
2517
2517
|
} else {
|
|
2518
2518
|
if (tmp0_subject instanceof CancellationException) {
|
|
2519
|
-
tmp = CancellationException_init_$Create$(this.
|
|
2519
|
+
tmp = CancellationException_init_$Create$(this.l1o_1.message, this.l1o_1);
|
|
2520
2520
|
} else {
|
|
2521
|
-
tmp = wrap(this.
|
|
2521
|
+
tmp = wrap(this.l1o_1);
|
|
2522
2522
|
}
|
|
2523
2523
|
}
|
|
2524
2524
|
}
|
|
2525
2525
|
return tmp;
|
|
2526
2526
|
};
|
|
2527
|
-
protoOf(CloseToken).
|
|
2527
|
+
protoOf(CloseToken).q1o = 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.s1y(wrap) : $super.s1y.call(this, wrap);
|
|
2536
2536
|
};
|
|
2537
|
-
protoOf(CloseToken).
|
|
2538
|
-
var tmp0_safe_receiver = this.
|
|
2537
|
+
protoOf(CloseToken).m1o = function (wrap) {
|
|
2538
|
+
var tmp0_safe_receiver = this.s1y(wrap);
|
|
2539
2539
|
var tmp;
|
|
2540
2540
|
if (tmp0_safe_receiver == null) {
|
|
2541
2541
|
tmp = null;
|
|
@@ -2554,32 +2554,32 @@
|
|
|
2554
2554
|
}
|
|
2555
2555
|
function transferFromDelegate($this) {
|
|
2556
2556
|
updateConsumed($this);
|
|
2557
|
-
var appended = $this.
|
|
2558
|
-
$this.
|
|
2557
|
+
var appended = $this.u1y_1.w1k($this.t1y_1.k1o());
|
|
2558
|
+
$this.v1y_1 = $this.v1y_1.c3(appended);
|
|
2559
2559
|
}
|
|
2560
2560
|
function updateConsumed($this) {
|
|
2561
|
-
$this.
|
|
2562
|
-
$this.
|
|
2561
|
+
$this.w1y_1 = $this.w1y_1.c3($this.v1y_1.d3($this.u1y_1.s()));
|
|
2562
|
+
$this.v1y_1 = $this.u1y_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.f1z_1 = _this__u8e3s4;
|
|
2567
|
+
this.g1z_1 = min;
|
|
2568
2568
|
}
|
|
2569
|
-
protoOf($awaitContentCOROUTINE$_0).
|
|
2570
|
-
var suspendResult = this.
|
|
2569
|
+
protoOf($awaitContentCOROUTINE$_0).v9 = function () {
|
|
2570
|
+
var suspendResult = this.p9_1;
|
|
2571
2571
|
$sm: do
|
|
2572
2572
|
try {
|
|
2573
|
-
var tmp = this.
|
|
2573
|
+
var tmp = this.n9_1;
|
|
2574
2574
|
switch (tmp) {
|
|
2575
2575
|
case 0:
|
|
2576
|
-
this.
|
|
2577
|
-
if (this.
|
|
2576
|
+
this.o9_1 = 3;
|
|
2577
|
+
if (this.f1z_1.k1o().s().d1(toLong(this.g1z_1)) >= 0) {
|
|
2578
2578
|
return true;
|
|
2579
2579
|
}
|
|
2580
2580
|
|
|
2581
|
-
this.
|
|
2582
|
-
suspendResult = this.
|
|
2581
|
+
this.n9_1 = 1;
|
|
2582
|
+
suspendResult = this.f1z_1.t1y_1.s1o(this.g1z_1, this);
|
|
2583
2583
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2584
2584
|
return suspendResult;
|
|
2585
2585
|
}
|
|
@@ -2587,58 +2587,58 @@
|
|
|
2587
2587
|
continue $sm;
|
|
2588
2588
|
case 1:
|
|
2589
2589
|
if (suspendResult) {
|
|
2590
|
-
transferFromDelegate(this.
|
|
2590
|
+
transferFromDelegate(this.f1z_1);
|
|
2591
2591
|
return true;
|
|
2592
2592
|
} else {
|
|
2593
|
-
this.
|
|
2593
|
+
this.n9_1 = 2;
|
|
2594
2594
|
continue $sm;
|
|
2595
2595
|
}
|
|
2596
2596
|
|
|
2597
2597
|
case 2:
|
|
2598
2598
|
return false;
|
|
2599
2599
|
case 3:
|
|
2600
|
-
throw this.
|
|
2600
|
+
throw this.q9_1;
|
|
2601
2601
|
}
|
|
2602
2602
|
} catch ($p) {
|
|
2603
2603
|
var e = $p;
|
|
2604
|
-
if (this.
|
|
2604
|
+
if (this.o9_1 === 3) {
|
|
2605
2605
|
throw e;
|
|
2606
2606
|
} else {
|
|
2607
|
-
this.
|
|
2608
|
-
this.
|
|
2607
|
+
this.n9_1 = this.o9_1;
|
|
2608
|
+
this.q9_1 = e;
|
|
2609
2609
|
}
|
|
2610
2610
|
}
|
|
2611
2611
|
while (true);
|
|
2612
2612
|
};
|
|
2613
2613
|
function CountedByteReadChannel(delegate) {
|
|
2614
|
-
this.
|
|
2615
|
-
this.
|
|
2616
|
-
this.
|
|
2617
|
-
this.
|
|
2614
|
+
this.t1y_1 = delegate;
|
|
2615
|
+
this.u1y_1 = new Buffer();
|
|
2616
|
+
this.v1y_1 = new Long(0, 0);
|
|
2617
|
+
this.w1y_1 = new Long(0, 0);
|
|
2618
2618
|
}
|
|
2619
|
-
protoOf(CountedByteReadChannel).
|
|
2619
|
+
protoOf(CountedByteReadChannel).h1z = function () {
|
|
2620
2620
|
updateConsumed(this);
|
|
2621
|
-
return this.
|
|
2621
|
+
return this.w1y_1;
|
|
2622
2622
|
};
|
|
2623
|
-
protoOf(CountedByteReadChannel).
|
|
2624
|
-
return this.
|
|
2623
|
+
protoOf(CountedByteReadChannel).p1o = function () {
|
|
2624
|
+
return this.t1y_1.p1o();
|
|
2625
2625
|
};
|
|
2626
|
-
protoOf(CountedByteReadChannel).
|
|
2627
|
-
return this.
|
|
2626
|
+
protoOf(CountedByteReadChannel).r1o = function () {
|
|
2627
|
+
return this.u1y_1.e1j() && this.t1y_1.r1o();
|
|
2628
2628
|
};
|
|
2629
|
-
protoOf(CountedByteReadChannel).
|
|
2629
|
+
protoOf(CountedByteReadChannel).k1o = function () {
|
|
2630
2630
|
transferFromDelegate(this);
|
|
2631
|
-
return this.
|
|
2631
|
+
return this.u1y_1;
|
|
2632
2632
|
};
|
|
2633
|
-
protoOf(CountedByteReadChannel).
|
|
2633
|
+
protoOf(CountedByteReadChannel).s1o = function (min, $completion) {
|
|
2634
2634
|
var tmp = new $awaitContentCOROUTINE$_0(this, min, $completion);
|
|
2635
|
-
tmp.
|
|
2636
|
-
tmp.
|
|
2637
|
-
return tmp.
|
|
2635
|
+
tmp.p9_1 = Unit_instance;
|
|
2636
|
+
tmp.q9_1 = null;
|
|
2637
|
+
return tmp.v9();
|
|
2638
2638
|
};
|
|
2639
|
-
protoOf(CountedByteReadChannel).
|
|
2640
|
-
this.
|
|
2641
|
-
this.
|
|
2639
|
+
protoOf(CountedByteReadChannel).v1o = function (cause) {
|
|
2640
|
+
this.t1y_1.v1o(cause);
|
|
2641
|
+
this.u1y_1.u4();
|
|
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().w1t_1) {
|
|
2679
2679
|
tmp = 'CR';
|
|
2680
|
-
} else if ($this === Companion_getInstance_1().
|
|
2680
|
+
} else if ($this === Companion_getInstance_1().x1t_1) {
|
|
2681
2681
|
tmp = 'LF';
|
|
2682
|
-
} else if ($this === Companion_getInstance_1().
|
|
2682
|
+
} else if ($this === Companion_getInstance_1().y1t_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().a1u_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.i1z_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.w1t_1 = _LineEndingMode___init__impl__jo5bul(1);
|
|
2704
|
+
this.x1t_1 = _LineEndingMode___init__impl__jo5bul(2);
|
|
2705
|
+
this.y1t_1 = _LineEndingMode___init__impl__jo5bul(4);
|
|
2706
|
+
this.z1t_1 = _LineEndingMode___init__impl__jo5bul(7);
|
|
2707
|
+
this.a1u_1 = listOf([new LineEndingMode(this.w1t_1), new LineEndingMode(this.x1t_1), new LineEndingMode(this.y1t_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.i1z_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.i1z_1 = mode;
|
|
2728
2728
|
}
|
|
2729
2729
|
protoOf(LineEndingMode).toString = function () {
|
|
2730
|
-
return LineEndingMode__toString_impl_j4h76r(this.
|
|
2730
|
+
return LineEndingMode__toString_impl_j4h76r(this.i1z_1);
|
|
2731
2731
|
};
|
|
2732
2732
|
protoOf(LineEndingMode).hashCode = function () {
|
|
2733
|
-
return LineEndingMode__hashCode_impl_2mopm4(this.
|
|
2733
|
+
return LineEndingMode__hashCode_impl_2mopm4(this.i1z_1);
|
|
2734
2734
|
};
|
|
2735
2735
|
protoOf(LineEndingMode).equals = function (other) {
|
|
2736
|
-
return LineEndingMode__equals_impl_qyr4nk(this.
|
|
2736
|
+
return LineEndingMode__equals_impl_qyr4nk(this.i1z_1, other);
|
|
2737
2737
|
};
|
|
2738
2738
|
function SourceByteReadChannel(source) {
|
|
2739
|
-
this.
|
|
2740
|
-
this.
|
|
2739
|
+
this.j1z_1 = source;
|
|
2740
|
+
this.k1z_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).p1o = function () {
|
|
2743
|
+
var tmp0_safe_receiver = this.k1z_1;
|
|
2744
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q1o();
|
|
2745
2745
|
};
|
|
2746
|
-
protoOf(SourceByteReadChannel).
|
|
2747
|
-
return this.
|
|
2746
|
+
protoOf(SourceByteReadChannel).r1o = function () {
|
|
2747
|
+
return this.j1z_1.e1j();
|
|
2748
2748
|
};
|
|
2749
|
-
protoOf(SourceByteReadChannel).
|
|
2750
|
-
var tmp0_safe_receiver = this.
|
|
2749
|
+
protoOf(SourceByteReadChannel).k1o = function () {
|
|
2750
|
+
var tmp0_safe_receiver = this.p1o();
|
|
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.j1z_1.d1j();
|
|
2758
2758
|
};
|
|
2759
|
-
protoOf(SourceByteReadChannel).
|
|
2760
|
-
var tmp0_safe_receiver = this.
|
|
2759
|
+
protoOf(SourceByteReadChannel).s1o = function (min, $completion) {
|
|
2760
|
+
var tmp0_safe_receiver = this.p1o();
|
|
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.j1z_1.g1j(toLong(min));
|
|
2768
2768
|
};
|
|
2769
|
-
protoOf(SourceByteReadChannel).
|
|
2770
|
-
if (!(this.
|
|
2769
|
+
protoOf(SourceByteReadChannel).v1o = function (cause) {
|
|
2770
|
+
if (!(this.k1z_1 == null))
|
|
2771
2771
|
return Unit_instance;
|
|
2772
|
-
this.
|
|
2772
|
+
this.j1z_1.u4();
|
|
2773
2773
|
var tmp = this;
|
|
2774
2774
|
var tmp1_elvis_lhs = cause == null ? null : cause.message;
|
|
2775
|
-
tmp.
|
|
2775
|
+
tmp.k1z_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.d1j().s();
|
|
2782
2782
|
// Inline function 'kotlin.text.buildString' call
|
|
2783
2783
|
var capacity = (tmp0.d1(b) <= 0 ? tmp0 : b).i1();
|
|
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.e1j();
|
|
2818
2818
|
}
|
|
2819
2819
|
function readBytes(_this__u8e3s4, count) {
|
|
2820
2820
|
count = count === VOID ? _this__u8e3s4.s().i1() : 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.n1k(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.d1j().s().i1();
|
|
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.d1j().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.g1j(count);
|
|
2843
2843
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2844
2844
|
var b = get_remaining(_this__u8e3s4);
|
|
2845
2845
|
var countToDiscard = count.d1(b) <= 0 ? count : b;
|
|
2846
|
-
_this__u8e3s4.
|
|
2846
|
+
_this__u8e3s4.d1j().b1k(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.e1j() && block(_this__u8e3s4.d1j())) {
|
|
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.c1k(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().l1z_1 : charset;
|
|
2869
|
+
if (charset.equals(Charsets_getInstance().l1z_1))
|
|
2870
2870
|
return encodeToByteArray(_this__u8e3s4, VOID, VOID, true);
|
|
2871
|
-
return encodeToByteArray_0(charset.
|
|
2871
|
+
return encodeToByteArray_0(charset.o1z(), _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().l1z_1 : charset;
|
|
2875
2875
|
max = max === VOID ? 2147483647 : max;
|
|
2876
|
-
if (charset.equals(Charsets_getInstance().
|
|
2876
|
+
if (charset.equals(Charsets_getInstance().l1z_1)) {
|
|
2877
2877
|
if (max === 2147483647)
|
|
2878
2878
|
return readString_0(_this__u8e3s4);
|
|
2879
|
-
var tmp0 = _this__u8e3s4.
|
|
2879
|
+
var tmp0 = _this__u8e3s4.d1j().s();
|
|
2880
2880
|
// Inline function 'kotlin.math.min' call
|
|
2881
2881
|
var b = toLong(max);
|
|
2882
2882
|
var count = tmp0.d1(b) <= 0 ? tmp0 : b;
|
|
2883
2883
|
return readString_1(_this__u8e3s4, count);
|
|
2884
2884
|
}
|
|
2885
|
-
return decode(charset.
|
|
2885
|
+
return decode(charset.p1z(), _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().l1z_1 : charset;
|
|
2891
|
+
if (charset === Charsets_getInstance().l1z_1) {
|
|
2892
2892
|
return writeString(_this__u8e3s4, toString_1(text), fromIndex, toIndex);
|
|
2893
2893
|
}
|
|
2894
|
-
encodeToImpl(charset.
|
|
2894
|
+
encodeToImpl(charset.o1z(), _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).t1z = 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).b20 = function (instance) {
|
|
2919
2919
|
return Unit_instance;
|
|
2920
2920
|
};
|
|
2921
|
-
protoOf(NoPoolImpl).
|
|
2921
|
+
protoOf(NoPoolImpl).ct = function () {
|
|
2922
2922
|
return Unit_instance;
|
|
2923
2923
|
};
|
|
2924
2924
|
function Companion_2() {
|
|
2925
2925
|
}
|
|
2926
|
-
protoOf(Companion_2).
|
|
2926
|
+
protoOf(Companion_2).c20 = 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().l1z_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().m1z_1;
|
|
2964
2964
|
}
|
|
2965
2965
|
throw IllegalArgumentException_init_$Create$('Charset ' + name + ' is not supported');
|
|
2966
2966
|
};
|
|
2967
|
-
protoOf(Companion_2).
|
|
2967
|
+
protoOf(Companion_2).d20 = 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.n1z_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.n1z_1 === other.n1z_1;
|
|
3032
3032
|
};
|
|
3033
3033
|
protoOf(Charset).hashCode = function () {
|
|
3034
|
-
return getStringHashCode(this.
|
|
3034
|
+
return getStringHashCode(this.n1z_1);
|
|
3035
3035
|
};
|
|
3036
3036
|
protoOf(Charset).toString = function () {
|
|
3037
|
-
return this.
|
|
3037
|
+
return this.n1z_1;
|
|
3038
3038
|
};
|
|
3039
3039
|
function get_name(_this__u8e3s4) {
|
|
3040
|
-
return _this__u8e3s4.
|
|
3040
|
+
return _this__u8e3s4.n1z_1;
|
|
3041
3041
|
}
|
|
3042
3042
|
function Charsets() {
|
|
3043
3043
|
Charsets_instance = this;
|
|
3044
|
-
this.
|
|
3045
|
-
this.
|
|
3044
|
+
this.l1z_1 = new CharsetImpl('UTF-8');
|
|
3045
|
+
this.m1z_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.e20_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.f20_1 = _charset;
|
|
3067
3067
|
}
|
|
3068
3068
|
function CharsetImpl(name) {
|
|
3069
3069
|
Charset.call(this, name);
|
|
3070
3070
|
}
|
|
3071
|
-
protoOf(CharsetImpl).
|
|
3071
|
+
protoOf(CharsetImpl).o1z = function () {
|
|
3072
3072
|
return new CharsetEncoderImpl(this);
|
|
3073
3073
|
};
|
|
3074
|
-
protoOf(CharsetImpl).
|
|
3074
|
+
protoOf(CharsetImpl).p1z = 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.i20_1 = charset;
|
|
3095
3095
|
}
|
|
3096
3096
|
protoOf(CharsetEncoderImpl).toString = function () {
|
|
3097
|
-
return 'CharsetEncoderImpl(charset=' + this.
|
|
3097
|
+
return 'CharsetEncoderImpl(charset=' + this.i20_1.toString() + ')';
|
|
3098
3098
|
};
|
|
3099
3099
|
protoOf(CharsetEncoderImpl).hashCode = function () {
|
|
3100
|
-
return this.
|
|
3100
|
+
return this.i20_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.i20_1.equals(tmp0_other_with_cast.i20_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.k20_1 = charset;
|
|
3115
3115
|
}
|
|
3116
3116
|
protoOf(CharsetDecoderImpl).toString = function () {
|
|
3117
|
-
return 'CharsetDecoderImpl(charset=' + this.
|
|
3117
|
+
return 'CharsetDecoderImpl(charset=' + this.k20_1.toString() + ')';
|
|
3118
3118
|
};
|
|
3119
3119
|
protoOf(CharsetDecoderImpl).hashCode = function () {
|
|
3120
|
-
return this.
|
|
3120
|
+
return this.k20_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.k20_1.equals(tmp0_other_with_cast.k20_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().m1z_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().l1z_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.q1k(result);
|
|
3154
3154
|
return result.length;
|
|
3155
3155
|
}
|
|
3156
3156
|
function get_charset(_this__u8e3s4) {
|
|
3157
|
-
return _this__u8e3s4.
|
|
3157
|
+
return _this__u8e3s4.f20_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.d1j().s();
|
|
3162
3162
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
3163
3163
|
var b = toLong(max);
|
|
3164
3164
|
var count = tmp0.d1(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.l20(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.e20_1;
|
|
3186
3186
|
}
|
|
3187
3187
|
function forName(_this__u8e3s4, name) {
|
|
3188
|
-
return Companion_instance_3.
|
|
3188
|
+
return Companion_instance_3.c20(name);
|
|
3189
3189
|
}
|
|
3190
3190
|
function isSupported(_this__u8e3s4, name) {
|
|
3191
|
-
return Companion_instance_3.
|
|
3191
|
+
return Companion_instance_3.d20(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.m20_1 = $this_toKtor;
|
|
3224
3224
|
}
|
|
3225
|
-
protoOf(toKtor$1).
|
|
3226
|
-
return this.
|
|
3225
|
+
protoOf(toKtor$1).l20 = function (buffer) {
|
|
3226
|
+
return this.m20_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.n20_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).l20 = 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.n20_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.x1k(toByte(point >> 8));
|
|
3275
3275
|
}
|
|
3276
|
-
builder.
|
|
3276
|
+
builder.x1k(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.x1k(toByte(character));
|
|
3320
3320
|
}
|
|
3321
3321
|
while (inductionVariable < toIndex);
|
|
3322
3322
|
return toIndex - fromIndex | 0;
|
|
@@ -3338,66 +3338,66 @@
|
|
|
3338
3338
|
}
|
|
3339
3339
|
}
|
|
3340
3340
|
function DefaultPool(capacity) {
|
|
3341
|
-
this.
|
|
3341
|
+
this.u1z_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.u1z_1;
|
|
3345
|
+
tmp.v1z_1 = Array(size);
|
|
3346
|
+
this.w1z_1 = 0;
|
|
3347
3347
|
}
|
|
3348
|
-
protoOf(DefaultPool).
|
|
3348
|
+
protoOf(DefaultPool).x1z = function (instance) {
|
|
3349
3349
|
};
|
|
3350
|
-
protoOf(DefaultPool).
|
|
3350
|
+
protoOf(DefaultPool).y1z = function (instance) {
|
|
3351
3351
|
return instance;
|
|
3352
3352
|
};
|
|
3353
|
-
protoOf(DefaultPool).
|
|
3353
|
+
protoOf(DefaultPool).z1z = 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).a20 = function () {
|
|
3356
|
+
if (this.w1z_1 === 0)
|
|
3357
|
+
return this.t1z();
|
|
3358
|
+
this.w1z_1 = this.w1z_1 - 1 | 0;
|
|
3359
|
+
var idx = this.w1z_1;
|
|
3360
|
+
var tmp = this.v1z_1[idx];
|
|
3361
3361
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3362
|
-
this.
|
|
3363
|
-
return this.
|
|
3362
|
+
this.v1z_1[idx] = null;
|
|
3363
|
+
return this.y1z(instance);
|
|
3364
3364
|
};
|
|
3365
|
-
protoOf(DefaultPool).
|
|
3366
|
-
this.
|
|
3367
|
-
if (this.
|
|
3368
|
-
this.
|
|
3365
|
+
protoOf(DefaultPool).b20 = function (instance) {
|
|
3366
|
+
this.z1z(instance);
|
|
3367
|
+
if (this.w1z_1 === this.u1z_1) {
|
|
3368
|
+
this.x1z(instance);
|
|
3369
3369
|
} else {
|
|
3370
|
-
var _unary__edvuaz = this.
|
|
3371
|
-
this.
|
|
3372
|
-
this.
|
|
3370
|
+
var _unary__edvuaz = this.w1z_1;
|
|
3371
|
+
this.w1z_1 = _unary__edvuaz + 1 | 0;
|
|
3372
|
+
this.v1z_1[_unary__edvuaz] = instance;
|
|
3373
3373
|
}
|
|
3374
3374
|
};
|
|
3375
|
-
protoOf(DefaultPool).
|
|
3375
|
+
protoOf(DefaultPool).ct = function () {
|
|
3376
3376
|
var inductionVariable = 0;
|
|
3377
|
-
var last = this.
|
|
3377
|
+
var last = this.w1z_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.v1z_1[i];
|
|
3383
3383
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3384
|
-
this.
|
|
3385
|
-
this.
|
|
3384
|
+
this.v1z_1[i] = null;
|
|
3385
|
+
this.x1z(instance);
|
|
3386
3386
|
}
|
|
3387
3387
|
while (inductionVariable < last);
|
|
3388
|
-
this.
|
|
3388
|
+
this.w1z_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).
|
|
3399
|
-
protoOf(DefaultPool).
|
|
3400
|
-
protoOf(NoPoolImpl).
|
|
3391
|
+
protoOf(Read).i1m = resume;
|
|
3392
|
+
protoOf(Read).j1m = resume_0;
|
|
3393
|
+
protoOf(Write).i1m = resume;
|
|
3394
|
+
protoOf(Write).j1m = resume_0;
|
|
3395
|
+
protoOf(ByteChannel).t1o = awaitContent$default;
|
|
3396
|
+
protoOf(ByteReadChannel$Companion$Empty$1).t1o = awaitContent$default;
|
|
3397
|
+
protoOf(CountedByteReadChannel).t1o = awaitContent$default;
|
|
3398
|
+
protoOf(SourceByteReadChannel).t1o = awaitContent$default;
|
|
3399
|
+
protoOf(DefaultPool).u4 = close;
|
|
3400
|
+
protoOf(NoPoolImpl).u4 = close;
|
|
3401
3401
|
//endregion
|
|
3402
3402
|
//region block: init
|
|
3403
3403
|
Empty_instance = new Empty();
|