@doordeck/doordeck-headless-sdk 0.169.0 → 0.170.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 +58 -58
- package/kotlin/Kermit-kermit.js +8 -8
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +22 -22
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +23 -23
- package/kotlin/doordeck-sdk.js +10765 -10652
- package/kotlin/kotlin-kotlin-stdlib.js +382 -376
- package/kotlin/kotlinx-atomicfu.js +9 -9
- package/kotlin/kotlinx-coroutines-core.js +1022 -1010
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +17 -17
- package/kotlin/kotlinx-io-kotlinx-io-core.js +28 -28
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1899 -1899
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1457 -1457
- package/kotlin/ktor-ktor-client-auth.js +261 -261
- package/kotlin/ktor-ktor-client-content-negotiation.js +158 -158
- package/kotlin/ktor-ktor-client-core.js +1822 -1822
- package/kotlin/ktor-ktor-client-logging.js +654 -654
- package/kotlin/ktor-ktor-events.js +13 -13
- package/kotlin/ktor-ktor-http-cio.js +374 -374
- package/kotlin/ktor-ktor-http.js +779 -779
- package/kotlin/ktor-ktor-io.js +632 -632
- package/kotlin/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/kotlin/ktor-ktor-serialization-kotlinx.js +155 -155
- package/kotlin/ktor-ktor-serialization.js +74 -74
- package/kotlin/ktor-ktor-utils.js +739 -739
- package/kotlin/ktor-ktor-websockets.js +52 -52
- package/package.json +1 -1
package/kotlin/ktor-ktor-io.js
CHANGED
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
(function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_org_jetbrains_kotlinx_kotlinx_io_core, kotlin_org_jetbrains_kotlinx_atomicfu, kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring) {
|
|
2
2
|
'use strict';
|
|
3
3
|
//region block: imports
|
|
4
|
-
var Companion_instance = kotlin_kotlin.$_$.
|
|
5
|
-
var Unit_instance = kotlin_kotlin.$_$.
|
|
4
|
+
var Companion_instance = kotlin_kotlin.$_$.v4;
|
|
5
|
+
var Unit_instance = kotlin_kotlin.$_$.a5;
|
|
6
6
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.n2;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
9
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
10
|
-
var toString = kotlin_kotlin.$_$.
|
|
11
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
12
|
-
var equals = kotlin_kotlin.$_$.
|
|
13
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
14
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
15
|
-
var Result = kotlin_kotlin.$_$.
|
|
16
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
17
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
18
|
-
var newThrowable = kotlin_kotlin.$_$.
|
|
19
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.zb;
|
|
8
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.bb;
|
|
9
|
+
var initMetadataForObject = kotlin_kotlin.$_$.gb;
|
|
10
|
+
var toString = kotlin_kotlin.$_$.ch;
|
|
11
|
+
var hashCode = kotlin_kotlin.$_$.za;
|
|
12
|
+
var equals = kotlin_kotlin.$_$.ta;
|
|
13
|
+
var initMetadataForClass = kotlin_kotlin.$_$.ab;
|
|
14
|
+
var createFailure = kotlin_kotlin.$_$.pg;
|
|
15
|
+
var Result = kotlin_kotlin.$_$.wf;
|
|
16
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.eb;
|
|
17
|
+
var toString_0 = kotlin_kotlin.$_$.ue;
|
|
18
|
+
var newThrowable = kotlin_kotlin.$_$.vb;
|
|
19
|
+
var stackTraceToString = kotlin_kotlin.$_$.zg;
|
|
20
20
|
var VOID = kotlin_kotlin.$_$.b;
|
|
21
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
22
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
23
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
24
|
-
var compare = kotlin_kotlin.$_$.
|
|
25
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
26
|
-
var add = kotlin_kotlin.$_$.
|
|
27
|
-
var intercepted = kotlin_kotlin.$_$.
|
|
28
|
-
var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
29
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
21
|
+
var isInterface = kotlin_kotlin.$_$.pb;
|
|
22
|
+
var CoroutineImpl = kotlin_kotlin.$_$.i9;
|
|
23
|
+
var fromInt = kotlin_kotlin.$_$.w9;
|
|
24
|
+
var compare = kotlin_kotlin.$_$.q9;
|
|
25
|
+
var numberToLong = kotlin_kotlin.$_$.ba;
|
|
26
|
+
var add = kotlin_kotlin.$_$.n9;
|
|
27
|
+
var intercepted = kotlin_kotlin.$_$.v8;
|
|
28
|
+
var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.u;
|
|
29
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.xg;
|
|
30
30
|
var returnIfSuspended = kotlin_kotlin.$_$.g;
|
|
31
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
32
|
-
var Long = kotlin_kotlin.$_$.
|
|
33
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
31
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.s8;
|
|
32
|
+
var Long = kotlin_kotlin.$_$.tf;
|
|
33
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.cb;
|
|
34
34
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
35
35
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
|
|
36
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
37
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
36
|
+
var convertToInt = kotlin_kotlin.$_$.s9;
|
|
37
|
+
var IllegalStateException = kotlin_kotlin.$_$.sf;
|
|
38
38
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.s1;
|
|
39
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
39
|
+
var captureStack = kotlin_kotlin.$_$.ka;
|
|
40
40
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
41
41
|
var decodeToString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.d;
|
|
42
|
-
var replace = kotlin_kotlin.$_$.
|
|
42
|
+
var replace = kotlin_kotlin.$_$.vd;
|
|
43
43
|
var indexOf = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.i;
|
|
44
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
45
|
-
var equalsLong = kotlin_kotlin.$_$.
|
|
46
|
-
var get_ONE = kotlin_kotlin.$_$.
|
|
47
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
44
|
+
var THROW_CCE = kotlin_kotlin.$_$.yf;
|
|
45
|
+
var equalsLong = kotlin_kotlin.$_$.v9;
|
|
46
|
+
var get_ONE = kotlin_kotlin.$_$.m9;
|
|
47
|
+
var toString_1 = kotlin_kotlin.$_$.cc;
|
|
48
48
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
49
|
-
var subtract = kotlin_kotlin.$_$.
|
|
49
|
+
var subtract = kotlin_kotlin.$_$.ea;
|
|
50
50
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
51
51
|
var readString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.o;
|
|
52
|
-
var closeFinally = kotlin_kotlin.$_$.
|
|
52
|
+
var closeFinally = kotlin_kotlin.$_$.ng;
|
|
53
53
|
var readByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.l;
|
|
54
|
-
var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.
|
|
55
|
-
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
56
|
-
var startCoroutineCancellable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
57
|
-
var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
58
|
-
var Continuation = kotlin_kotlin.$_$.
|
|
59
|
-
var initMetadataForFunctionReference = kotlin_kotlin.$_$.
|
|
60
|
-
var get_job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
61
|
-
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
62
|
-
var cancel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
63
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
54
|
+
var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.g4;
|
|
55
|
+
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
56
|
+
var startCoroutineCancellable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
|
|
57
|
+
var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l1;
|
|
58
|
+
var Continuation = kotlin_kotlin.$_$.c9;
|
|
59
|
+
var initMetadataForFunctionReference = kotlin_kotlin.$_$.db;
|
|
60
|
+
var get_job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k1;
|
|
61
|
+
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d1;
|
|
62
|
+
var cancel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
|
|
63
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.fb;
|
|
64
64
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
65
|
-
var CancellationException = kotlin_kotlin.$_$.
|
|
66
|
-
var CopyableThrowable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
65
|
+
var CancellationException = kotlin_kotlin.$_$.r8;
|
|
66
|
+
var CopyableThrowable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
|
|
67
67
|
var readString_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.m;
|
|
68
68
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
69
69
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.d;
|
|
70
70
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.j;
|
|
71
|
-
var listOf = kotlin_kotlin.$_$.
|
|
71
|
+
var listOf = kotlin_kotlin.$_$.l7;
|
|
72
72
|
var IOException_init_$Create$_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.e;
|
|
73
73
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
74
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
74
|
+
var charSequenceLength = kotlin_kotlin.$_$.pa;
|
|
75
75
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.r1;
|
|
76
76
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.j;
|
|
77
77
|
var readString_1 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.n;
|
|
78
|
-
var encodeToByteArray = kotlin_kotlin.$_$.
|
|
78
|
+
var encodeToByteArray = kotlin_kotlin.$_$.fd;
|
|
79
79
|
var writeString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.p;
|
|
80
|
-
var AutoCloseable = kotlin_kotlin.$_$.
|
|
80
|
+
var AutoCloseable = kotlin_kotlin.$_$.hf;
|
|
81
81
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.f2;
|
|
82
|
-
var replace_0 = kotlin_kotlin.$_$.
|
|
83
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
82
|
+
var replace_0 = kotlin_kotlin.$_$.wd;
|
|
83
|
+
var getStringHashCode = kotlin_kotlin.$_$.ya;
|
|
84
84
|
var IOException_init_$Init$_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
85
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
85
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.qa;
|
|
86
86
|
var readByteArray_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
87
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
88
|
-
var trim = kotlin_kotlin.$_$.
|
|
89
|
-
var toByte = kotlin_kotlin.$_$.
|
|
90
|
-
var decodeToString_0 = kotlin_kotlin.$_$.
|
|
91
|
-
var setOf = kotlin_kotlin.$_$.
|
|
92
|
-
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
93
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
87
|
+
var isCharSequence = kotlin_kotlin.$_$.lb;
|
|
88
|
+
var trim = kotlin_kotlin.$_$.cf;
|
|
89
|
+
var toByte = kotlin_kotlin.$_$.ac;
|
|
90
|
+
var decodeToString_0 = kotlin_kotlin.$_$.dd;
|
|
91
|
+
var setOf = kotlin_kotlin.$_$.x7;
|
|
92
|
+
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
|
|
93
|
+
var charSequenceGet = kotlin_kotlin.$_$.oa;
|
|
94
94
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.l2;
|
|
95
95
|
//endregion
|
|
96
96
|
//region block: pre-declaration
|
|
@@ -98,10 +98,10 @@
|
|
|
98
98
|
initMetadataForObject(Empty, 'Empty');
|
|
99
99
|
initMetadataForClass(Closed, 'Closed');
|
|
100
100
|
function resume() {
|
|
101
|
-
return this.
|
|
101
|
+
return this.s1j().f9(Companion_getInstance().p1j_1);
|
|
102
102
|
}
|
|
103
103
|
function resume_0(throwable) {
|
|
104
|
-
var tmp = this.
|
|
104
|
+
var tmp = this.s1j();
|
|
105
105
|
var tmp_0;
|
|
106
106
|
if (throwable == null) {
|
|
107
107
|
tmp_0 = null;
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
tmp_0 = new Result(tmp$ret$2);
|
|
113
113
|
}
|
|
114
114
|
var tmp1_elvis_lhs = tmp_0;
|
|
115
|
-
return tmp.f9(tmp1_elvis_lhs == null ? Companion_getInstance().
|
|
115
|
+
return tmp.f9(tmp1_elvis_lhs == null ? Companion_getInstance().p1j_1 : tmp1_elvis_lhs.ol_1);
|
|
116
116
|
}
|
|
117
117
|
initMetadataForInterface(Task, 'Task');
|
|
118
118
|
initMetadataForClass(Read, 'Read', VOID, VOID, [Task]);
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
initMetadataForCoroutine($flushAndCloseCOROUTINE$, CoroutineImpl);
|
|
123
123
|
function awaitContent$default(min, $completion, $super) {
|
|
124
124
|
min = min === VOID ? 1 : min;
|
|
125
|
-
return $super === VOID ? this.
|
|
125
|
+
return $super === VOID ? this.z1l(min, $completion) : $super.z1l.call(this, min, $completion);
|
|
126
126
|
}
|
|
127
127
|
initMetadataForInterface(ByteReadChannel_1, 'ByteReadChannel', VOID, VOID, VOID, [1]);
|
|
128
128
|
function get_autoFlush() {
|
|
@@ -187,10 +187,10 @@
|
|
|
187
187
|
//endregion
|
|
188
188
|
function Companion() {
|
|
189
189
|
Companion_instance_0 = this;
|
|
190
|
-
this.
|
|
190
|
+
this.o1j_1 = new Closed(null);
|
|
191
191
|
var tmp = this;
|
|
192
192
|
// Inline function 'kotlin.Companion.success' call
|
|
193
|
-
tmp.
|
|
193
|
+
tmp.p1j_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
194
194
|
}
|
|
195
195
|
var Companion_instance_0;
|
|
196
196
|
function Companion_getInstance() {
|
|
@@ -218,87 +218,87 @@
|
|
|
218
218
|
return Empty_instance;
|
|
219
219
|
}
|
|
220
220
|
function Closed(cause) {
|
|
221
|
-
this.
|
|
221
|
+
this.q1j_1 = cause;
|
|
222
222
|
}
|
|
223
223
|
protoOf(Closed).toString = function () {
|
|
224
|
-
return 'Closed(cause=' + toString(this.
|
|
224
|
+
return 'Closed(cause=' + toString(this.q1j_1) + ')';
|
|
225
225
|
};
|
|
226
226
|
protoOf(Closed).hashCode = function () {
|
|
227
|
-
return this.
|
|
227
|
+
return this.q1j_1 == null ? 0 : hashCode(this.q1j_1);
|
|
228
228
|
};
|
|
229
229
|
protoOf(Closed).equals = function (other) {
|
|
230
230
|
if (this === other)
|
|
231
231
|
return true;
|
|
232
232
|
if (!(other instanceof Closed))
|
|
233
233
|
return false;
|
|
234
|
-
if (!equals(this.
|
|
234
|
+
if (!equals(this.q1j_1, other.q1j_1))
|
|
235
235
|
return false;
|
|
236
236
|
return true;
|
|
237
237
|
};
|
|
238
238
|
function Task() {
|
|
239
239
|
}
|
|
240
240
|
function Read(continuation) {
|
|
241
|
-
this.
|
|
242
|
-
this.
|
|
241
|
+
this.w1j_1 = continuation;
|
|
242
|
+
this.x1j_1 = null;
|
|
243
243
|
if (get_DEVELOPMENT_MODE()) {
|
|
244
244
|
var tmp = this;
|
|
245
245
|
// Inline function 'kotlin.also' call
|
|
246
|
-
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.
|
|
246
|
+
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.w1j_1), 16));
|
|
247
247
|
stackTraceToString(this_0);
|
|
248
|
-
tmp.
|
|
248
|
+
tmp.x1j_1 = this_0;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
-
protoOf(Read).
|
|
252
|
-
return this.
|
|
251
|
+
protoOf(Read).s1j = function () {
|
|
252
|
+
return this.w1j_1;
|
|
253
253
|
};
|
|
254
|
-
protoOf(Read).
|
|
255
|
-
return this.
|
|
254
|
+
protoOf(Read).r1j = function () {
|
|
255
|
+
return this.x1j_1;
|
|
256
256
|
};
|
|
257
|
-
protoOf(Read).
|
|
257
|
+
protoOf(Read).t1j = function () {
|
|
258
258
|
return 'read';
|
|
259
259
|
};
|
|
260
260
|
function Write(continuation) {
|
|
261
|
-
this.
|
|
262
|
-
this.
|
|
261
|
+
this.y1j_1 = continuation;
|
|
262
|
+
this.z1j_1 = null;
|
|
263
263
|
if (get_DEVELOPMENT_MODE()) {
|
|
264
264
|
var tmp = this;
|
|
265
265
|
// Inline function 'kotlin.also' call
|
|
266
|
-
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.
|
|
266
|
+
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.y1j_1), 16));
|
|
267
267
|
stackTraceToString(this_0);
|
|
268
|
-
tmp.
|
|
268
|
+
tmp.z1j_1 = this_0;
|
|
269
269
|
}
|
|
270
270
|
}
|
|
271
|
-
protoOf(Write).
|
|
272
|
-
return this.
|
|
271
|
+
protoOf(Write).s1j = function () {
|
|
272
|
+
return this.y1j_1;
|
|
273
273
|
};
|
|
274
|
-
protoOf(Write).
|
|
275
|
-
return this.
|
|
274
|
+
protoOf(Write).r1j = function () {
|
|
275
|
+
return this.z1j_1;
|
|
276
276
|
};
|
|
277
|
-
protoOf(Write).
|
|
277
|
+
protoOf(Write).t1j = function () {
|
|
278
278
|
return 'write';
|
|
279
279
|
};
|
|
280
280
|
function moveFlushToReadBuffer($this) {
|
|
281
281
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
282
|
-
$this.
|
|
283
|
-
$this.
|
|
284
|
-
$this.
|
|
282
|
+
$this.d1k_1;
|
|
283
|
+
$this.b1k_1.bq($this.f1k_1);
|
|
284
|
+
$this.c1k_1 = 0;
|
|
285
285
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
286
|
-
var current = $this.
|
|
286
|
+
var current = $this.e1k_1.kotlinx$atomicfu$value;
|
|
287
287
|
var tmp;
|
|
288
288
|
if (current instanceof Write) {
|
|
289
|
-
tmp = $this.
|
|
289
|
+
tmp = $this.e1k_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
290
290
|
} else {
|
|
291
291
|
tmp = false;
|
|
292
292
|
}
|
|
293
293
|
if (tmp) {
|
|
294
|
-
current.
|
|
294
|
+
current.u1j();
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
function closeSlot($this, cause) {
|
|
298
|
-
var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().
|
|
299
|
-
var continuation = $this.
|
|
298
|
+
var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().o1j_1;
|
|
299
|
+
var continuation = $this.e1k_1.atomicfu$getAndSet(closeContinuation);
|
|
300
300
|
if (isInterface(continuation, Task)) {
|
|
301
|
-
continuation.
|
|
301
|
+
continuation.v1j(cause);
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
function ClosedReadChannelException$_init_$ref_ix0089() {
|
|
@@ -317,8 +317,8 @@
|
|
|
317
317
|
}
|
|
318
318
|
function $awaitContentCOROUTINE$(_this__u8e3s4, min, resultContinuation) {
|
|
319
319
|
CoroutineImpl.call(this, resultContinuation);
|
|
320
|
-
this.
|
|
321
|
-
this.
|
|
320
|
+
this.q1k_1 = _this__u8e3s4;
|
|
321
|
+
this.r1k_1 = min;
|
|
322
322
|
}
|
|
323
323
|
protoOf($awaitContentCOROUTINE$).c9 = function () {
|
|
324
324
|
var suspendResult = this.w8_1;
|
|
@@ -328,14 +328,14 @@
|
|
|
328
328
|
switch (tmp) {
|
|
329
329
|
case 0:
|
|
330
330
|
this.v8_1 = 4;
|
|
331
|
-
rethrowCloseCauseIfNeeded(this.
|
|
332
|
-
if (compare(this.
|
|
331
|
+
rethrowCloseCauseIfNeeded(this.q1k_1);
|
|
332
|
+
if (compare(this.q1k_1.f1k_1.u(), fromInt(this.r1k_1)) >= 0)
|
|
333
333
|
return true;
|
|
334
|
-
this.
|
|
334
|
+
this.s1k_1 = this.q1k_1;
|
|
335
335
|
this.u8_1 = 1;
|
|
336
336
|
continue $sm;
|
|
337
337
|
case 1:
|
|
338
|
-
if (!(compare(add(numberToLong(this.
|
|
338
|
+
if (!(compare(add(numberToLong(this.q1k_1.c1k_1), this.q1k_1.f1k_1.u()), fromInt(this.r1k_1)) < 0 && this.q1k_1.h1k_1.kotlinx$atomicfu$value == null)) {
|
|
339
339
|
this.u8_1 = 3;
|
|
340
340
|
continue $sm;
|
|
341
341
|
}
|
|
@@ -343,24 +343,24 @@
|
|
|
343
343
|
this.u8_1 = 2;
|
|
344
344
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
345
345
|
cancellable.kw();
|
|
346
|
-
var tmp0 = this.
|
|
346
|
+
var tmp0 = this.s1k_1;
|
|
347
347
|
var tmp2 = new Read(cancellable);
|
|
348
348
|
l$ret$1: do {
|
|
349
|
-
var previous = tmp0.
|
|
349
|
+
var previous = tmp0.e1k_1.kotlinx$atomicfu$value;
|
|
350
350
|
if (!(previous instanceof Closed)) {
|
|
351
|
-
if (!tmp0.
|
|
352
|
-
tmp2.
|
|
351
|
+
if (!tmp0.e1k_1.atomicfu$compareAndSet(previous, tmp2)) {
|
|
352
|
+
tmp2.u1j();
|
|
353
353
|
break l$ret$1;
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
if (previous instanceof Read) {
|
|
357
|
-
previous.
|
|
357
|
+
previous.v1j(new ConcurrentIOException(tmp2.t1j(), previous.r1j()));
|
|
358
358
|
} else {
|
|
359
359
|
if (isInterface(previous, Task)) {
|
|
360
|
-
previous.
|
|
360
|
+
previous.u1j();
|
|
361
361
|
} else {
|
|
362
362
|
if (previous instanceof Closed) {
|
|
363
|
-
tmp2.
|
|
363
|
+
tmp2.v1j(previous.q1j_1);
|
|
364
364
|
break l$ret$1;
|
|
365
365
|
} else {
|
|
366
366
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -369,16 +369,16 @@
|
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
|
-
if (!(compare(add(numberToLong(this.
|
|
373
|
-
var current = tmp0.
|
|
372
|
+
if (!(compare(add(numberToLong(this.q1k_1.c1k_1), this.q1k_1.f1k_1.u()), fromInt(this.r1k_1)) < 0 && this.q1k_1.h1k_1.kotlinx$atomicfu$value == null)) {
|
|
373
|
+
var current = tmp0.e1k_1.kotlinx$atomicfu$value;
|
|
374
374
|
var tmp_0;
|
|
375
375
|
if (current instanceof Read) {
|
|
376
|
-
tmp_0 = tmp0.
|
|
376
|
+
tmp_0 = tmp0.e1k_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
377
377
|
} else {
|
|
378
378
|
tmp_0 = false;
|
|
379
379
|
}
|
|
380
380
|
if (tmp_0) {
|
|
381
|
-
current.
|
|
381
|
+
current.u1j();
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
384
|
}
|
|
@@ -393,11 +393,11 @@
|
|
|
393
393
|
this.u8_1 = 1;
|
|
394
394
|
continue $sm;
|
|
395
395
|
case 3:
|
|
396
|
-
if (compare(this.
|
|
397
|
-
moveFlushToReadBuffer(this.
|
|
396
|
+
if (compare(this.q1k_1.f1k_1.u(), new Long(1048576, 0)) < 0) {
|
|
397
|
+
moveFlushToReadBuffer(this.q1k_1);
|
|
398
398
|
}
|
|
399
399
|
|
|
400
|
-
return compare(this.
|
|
400
|
+
return compare(this.q1k_1.f1k_1.u(), fromInt(this.r1k_1)) >= 0;
|
|
401
401
|
case 4:
|
|
402
402
|
throw this.x8_1;
|
|
403
403
|
}
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
};
|
|
415
415
|
function $flushCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
416
416
|
CoroutineImpl.call(this, resultContinuation);
|
|
417
|
-
this.
|
|
417
|
+
this.b1l_1 = _this__u8e3s4;
|
|
418
418
|
}
|
|
419
419
|
protoOf($flushCOROUTINE$).c9 = function () {
|
|
420
420
|
var suspendResult = this.w8_1;
|
|
@@ -424,15 +424,15 @@
|
|
|
424
424
|
switch (tmp) {
|
|
425
425
|
case 0:
|
|
426
426
|
this.v8_1 = 4;
|
|
427
|
-
rethrowCloseCauseIfNeeded(this.
|
|
428
|
-
this.
|
|
429
|
-
if (this.
|
|
427
|
+
rethrowCloseCauseIfNeeded(this.b1l_1);
|
|
428
|
+
this.b1l_1.d1l();
|
|
429
|
+
if (this.b1l_1.c1k_1 < 1048576)
|
|
430
430
|
return Unit_instance;
|
|
431
|
-
this.
|
|
431
|
+
this.c1l_1 = this.b1l_1;
|
|
432
432
|
this.u8_1 = 1;
|
|
433
433
|
continue $sm;
|
|
434
434
|
case 1:
|
|
435
|
-
if (!(this.
|
|
435
|
+
if (!(this.b1l_1.c1k_1 >= 1048576 && this.b1l_1.h1k_1.kotlinx$atomicfu$value == null)) {
|
|
436
436
|
this.u8_1 = 3;
|
|
437
437
|
continue $sm;
|
|
438
438
|
}
|
|
@@ -440,24 +440,24 @@
|
|
|
440
440
|
this.u8_1 = 2;
|
|
441
441
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
442
442
|
cancellable.kw();
|
|
443
|
-
var tmp0 = this.
|
|
443
|
+
var tmp0 = this.c1l_1;
|
|
444
444
|
var tmp2 = new Write(cancellable);
|
|
445
445
|
l$ret$1: do {
|
|
446
|
-
var previous = tmp0.
|
|
446
|
+
var previous = tmp0.e1k_1.kotlinx$atomicfu$value;
|
|
447
447
|
if (!(previous instanceof Closed)) {
|
|
448
|
-
if (!tmp0.
|
|
449
|
-
tmp2.
|
|
448
|
+
if (!tmp0.e1k_1.atomicfu$compareAndSet(previous, tmp2)) {
|
|
449
|
+
tmp2.u1j();
|
|
450
450
|
break l$ret$1;
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
453
|
if (previous instanceof Write) {
|
|
454
|
-
previous.
|
|
454
|
+
previous.v1j(new ConcurrentIOException(tmp2.t1j(), previous.r1j()));
|
|
455
455
|
} else {
|
|
456
456
|
if (isInterface(previous, Task)) {
|
|
457
|
-
previous.
|
|
457
|
+
previous.u1j();
|
|
458
458
|
} else {
|
|
459
459
|
if (previous instanceof Closed) {
|
|
460
|
-
tmp2.
|
|
460
|
+
tmp2.v1j(previous.q1j_1);
|
|
461
461
|
break l$ret$1;
|
|
462
462
|
} else {
|
|
463
463
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -466,16 +466,16 @@
|
|
|
466
466
|
}
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
if (!(this.
|
|
470
|
-
var current = tmp0.
|
|
469
|
+
if (!(this.b1l_1.c1k_1 >= 1048576 && this.b1l_1.h1k_1.kotlinx$atomicfu$value == null)) {
|
|
470
|
+
var current = tmp0.e1k_1.kotlinx$atomicfu$value;
|
|
471
471
|
var tmp_0;
|
|
472
472
|
if (current instanceof Write) {
|
|
473
|
-
tmp_0 = tmp0.
|
|
473
|
+
tmp_0 = tmp0.e1k_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
474
474
|
} else {
|
|
475
475
|
tmp_0 = false;
|
|
476
476
|
}
|
|
477
477
|
if (tmp_0) {
|
|
478
|
-
current.
|
|
478
|
+
current.u1j();
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
481
|
}
|
|
@@ -507,7 +507,7 @@
|
|
|
507
507
|
};
|
|
508
508
|
function $flushAndCloseCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
509
509
|
CoroutineImpl.call(this, resultContinuation);
|
|
510
|
-
this.
|
|
510
|
+
this.m1l_1 = _this__u8e3s4;
|
|
511
511
|
}
|
|
512
512
|
protoOf($flushAndCloseCOROUTINE$).c9 = function () {
|
|
513
513
|
var suspendResult = this.w8_1;
|
|
@@ -517,12 +517,12 @@
|
|
|
517
517
|
switch (tmp) {
|
|
518
518
|
case 0:
|
|
519
519
|
this.v8_1 = 4;
|
|
520
|
-
var this_0 = this.
|
|
520
|
+
var this_0 = this.m1l_1;
|
|
521
521
|
this.v8_1 = 2;
|
|
522
522
|
var tmp_0 = this;
|
|
523
|
-
tmp_0.
|
|
523
|
+
tmp_0.o1l_1 = Companion_instance;
|
|
524
524
|
this.u8_1 = 1;
|
|
525
|
-
suspendResult = this_0.
|
|
525
|
+
suspendResult = this_0.p1l(this);
|
|
526
526
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
527
527
|
return suspendResult;
|
|
528
528
|
}
|
|
@@ -530,8 +530,8 @@
|
|
|
530
530
|
continue $sm;
|
|
531
531
|
case 1:
|
|
532
532
|
var tmp_1 = this;
|
|
533
|
-
this.
|
|
534
|
-
tmp_1.
|
|
533
|
+
this.o1l_1;
|
|
534
|
+
tmp_1.n1l_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
535
535
|
this.v8_1 = 4;
|
|
536
536
|
this.u8_1 = 3;
|
|
537
537
|
continue $sm;
|
|
@@ -541,7 +541,7 @@
|
|
|
541
541
|
if (tmp_2 instanceof Error) {
|
|
542
542
|
var e = this.x8_1;
|
|
543
543
|
var tmp_3 = this;
|
|
544
|
-
tmp_3.
|
|
544
|
+
tmp_3.n1l_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
545
545
|
this.u8_1 = 3;
|
|
546
546
|
continue $sm;
|
|
547
547
|
} else {
|
|
@@ -550,9 +550,9 @@
|
|
|
550
550
|
|
|
551
551
|
case 3:
|
|
552
552
|
this.v8_1 = 4;
|
|
553
|
-
if (!this.
|
|
553
|
+
if (!this.m1l_1.h1k_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
554
554
|
return Unit_instance;
|
|
555
|
-
closeSlot(this.
|
|
555
|
+
closeSlot(this.m1l_1, null);
|
|
556
556
|
return Unit_instance;
|
|
557
557
|
case 4:
|
|
558
558
|
throw this.x8_1;
|
|
@@ -570,104 +570,104 @@
|
|
|
570
570
|
};
|
|
571
571
|
function ByteChannel(autoFlush) {
|
|
572
572
|
autoFlush = autoFlush === VOID ? false : autoFlush;
|
|
573
|
-
this.
|
|
574
|
-
this.x1j_1 = new Buffer();
|
|
575
|
-
this.y1j_1 = 0;
|
|
576
|
-
this.z1j_1 = new Object();
|
|
577
|
-
this.a1k_1 = atomic$ref$1(Empty_instance);
|
|
573
|
+
this.a1k_1 = autoFlush;
|
|
578
574
|
this.b1k_1 = new Buffer();
|
|
579
|
-
this.c1k_1 =
|
|
580
|
-
this.d1k_1 =
|
|
575
|
+
this.c1k_1 = 0;
|
|
576
|
+
this.d1k_1 = new Object();
|
|
577
|
+
this.e1k_1 = atomic$ref$1(Empty_instance);
|
|
578
|
+
this.f1k_1 = new Buffer();
|
|
579
|
+
this.g1k_1 = new Buffer();
|
|
580
|
+
this.h1k_1 = atomic$ref$1(null);
|
|
581
581
|
}
|
|
582
|
-
protoOf(ByteChannel).
|
|
583
|
-
return this.
|
|
582
|
+
protoOf(ByteChannel).q1l = function () {
|
|
583
|
+
return this.a1k_1;
|
|
584
584
|
};
|
|
585
|
-
protoOf(ByteChannel).
|
|
586
|
-
var tmp0_safe_receiver = this.
|
|
585
|
+
protoOf(ByteChannel).r1l = function () {
|
|
586
|
+
var tmp0_safe_receiver = this.h1k_1.kotlinx$atomicfu$value;
|
|
587
587
|
if (tmp0_safe_receiver == null)
|
|
588
588
|
null;
|
|
589
589
|
else {
|
|
590
|
-
tmp0_safe_receiver.
|
|
590
|
+
tmp0_safe_receiver.t1l(ClosedReadChannelException$_init_$ref_ix0089());
|
|
591
591
|
}
|
|
592
|
-
if (this.
|
|
592
|
+
if (this.f1k_1.yo()) {
|
|
593
593
|
moveFlushToReadBuffer(this);
|
|
594
594
|
}
|
|
595
|
-
return this.
|
|
595
|
+
return this.f1k_1;
|
|
596
596
|
};
|
|
597
|
-
protoOf(ByteChannel).
|
|
598
|
-
if (this.
|
|
599
|
-
var tmp0_safe_receiver = this.
|
|
597
|
+
protoOf(ByteChannel).u1l = function () {
|
|
598
|
+
if (this.v1l()) {
|
|
599
|
+
var tmp0_safe_receiver = this.h1k_1.kotlinx$atomicfu$value;
|
|
600
600
|
var tmp;
|
|
601
601
|
if (tmp0_safe_receiver == null) {
|
|
602
602
|
tmp = null;
|
|
603
603
|
} else {
|
|
604
|
-
tmp = tmp0_safe_receiver.
|
|
604
|
+
tmp = tmp0_safe_receiver.t1l(ClosedWriteChannelException$_init_$ref_ef15ty());
|
|
605
605
|
}
|
|
606
606
|
if (tmp == null)
|
|
607
607
|
throw new ClosedWriteChannelException();
|
|
608
608
|
}
|
|
609
|
-
return this.
|
|
609
|
+
return this.g1k_1;
|
|
610
610
|
};
|
|
611
|
-
protoOf(ByteChannel).
|
|
612
|
-
var tmp0_safe_receiver = this.
|
|
613
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
611
|
+
protoOf(ByteChannel).w1l = function () {
|
|
612
|
+
var tmp0_safe_receiver = this.h1k_1.kotlinx$atomicfu$value;
|
|
613
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x1l();
|
|
614
614
|
};
|
|
615
|
-
protoOf(ByteChannel).
|
|
616
|
-
return !(this.
|
|
615
|
+
protoOf(ByteChannel).v1l = function () {
|
|
616
|
+
return !(this.h1k_1.kotlinx$atomicfu$value == null);
|
|
617
617
|
};
|
|
618
|
-
protoOf(ByteChannel).
|
|
619
|
-
return !(this.
|
|
618
|
+
protoOf(ByteChannel).y1l = function () {
|
|
619
|
+
return !(this.w1l() == null) || (this.v1l() && this.c1k_1 === 0 && this.f1k_1.yo());
|
|
620
620
|
};
|
|
621
|
-
protoOf(ByteChannel).
|
|
621
|
+
protoOf(ByteChannel).z1l = function (min, $completion) {
|
|
622
622
|
var tmp = new $awaitContentCOROUTINE$(this, min, $completion);
|
|
623
623
|
tmp.w8_1 = Unit_instance;
|
|
624
624
|
tmp.x8_1 = null;
|
|
625
625
|
return tmp.c9();
|
|
626
626
|
};
|
|
627
|
-
protoOf(ByteChannel).
|
|
627
|
+
protoOf(ByteChannel).p1l = function ($completion) {
|
|
628
628
|
var tmp = new $flushCOROUTINE$(this, $completion);
|
|
629
629
|
tmp.w8_1 = Unit_instance;
|
|
630
630
|
tmp.x8_1 = null;
|
|
631
631
|
return tmp.c9();
|
|
632
632
|
};
|
|
633
|
-
protoOf(ByteChannel).
|
|
634
|
-
if (this.
|
|
633
|
+
protoOf(ByteChannel).d1l = function () {
|
|
634
|
+
if (this.g1k_1.yo())
|
|
635
635
|
return Unit_instance;
|
|
636
636
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
637
|
-
this.
|
|
638
|
-
var count = convertToInt(this.
|
|
639
|
-
this.
|
|
640
|
-
this.
|
|
637
|
+
this.d1k_1;
|
|
638
|
+
var count = convertToInt(this.g1k_1.u());
|
|
639
|
+
this.b1k_1.qq(this.g1k_1);
|
|
640
|
+
this.c1k_1 = this.c1k_1 + count | 0;
|
|
641
641
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
642
|
-
var current = this.
|
|
642
|
+
var current = this.e1k_1.kotlinx$atomicfu$value;
|
|
643
643
|
var tmp;
|
|
644
644
|
if (current instanceof Read) {
|
|
645
|
-
tmp = this.
|
|
645
|
+
tmp = this.e1k_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
646
646
|
} else {
|
|
647
647
|
tmp = false;
|
|
648
648
|
}
|
|
649
649
|
if (tmp) {
|
|
650
|
-
current.
|
|
650
|
+
current.u1j();
|
|
651
651
|
}
|
|
652
652
|
};
|
|
653
653
|
protoOf(ByteChannel).b4 = function () {
|
|
654
|
-
this.
|
|
655
|
-
if (!this.
|
|
654
|
+
this.d1l();
|
|
655
|
+
if (!this.h1k_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
656
656
|
return Unit_instance;
|
|
657
657
|
closeSlot(this, null);
|
|
658
658
|
};
|
|
659
|
-
protoOf(ByteChannel).
|
|
659
|
+
protoOf(ByteChannel).b1m = function ($completion) {
|
|
660
660
|
var tmp = new $flushAndCloseCOROUTINE$(this, $completion);
|
|
661
661
|
tmp.w8_1 = Unit_instance;
|
|
662
662
|
tmp.x8_1 = null;
|
|
663
663
|
return tmp.c9();
|
|
664
664
|
};
|
|
665
|
-
protoOf(ByteChannel).
|
|
666
|
-
if (!(this.
|
|
665
|
+
protoOf(ByteChannel).c1m = function (cause) {
|
|
666
|
+
if (!(this.h1k_1.kotlinx$atomicfu$value == null))
|
|
667
667
|
return Unit_instance;
|
|
668
668
|
var closedToken = new CloseToken(cause);
|
|
669
|
-
this.
|
|
670
|
-
var wrappedCause = closedToken.
|
|
669
|
+
this.h1k_1.atomicfu$compareAndSet(null, closedToken);
|
|
670
|
+
var wrappedCause = closedToken.x1l();
|
|
671
671
|
closeSlot(this, wrappedCause);
|
|
672
672
|
};
|
|
673
673
|
protoOf(ByteChannel).toString = function () {
|
|
@@ -691,18 +691,18 @@
|
|
|
691
691
|
return new SourceByteReadChannel(source);
|
|
692
692
|
}
|
|
693
693
|
function buildPartialMatchTable($this) {
|
|
694
|
-
var table = new Int32Array($this.
|
|
694
|
+
var table = new Int32Array($this.e1m_1.u());
|
|
695
695
|
var j = 0;
|
|
696
696
|
var inductionVariable = 1;
|
|
697
|
-
var last = $this.
|
|
697
|
+
var last = $this.e1m_1.u();
|
|
698
698
|
if (inductionVariable < last)
|
|
699
699
|
do {
|
|
700
700
|
var i = inductionVariable;
|
|
701
701
|
inductionVariable = inductionVariable + 1 | 0;
|
|
702
|
-
while (j > 0 && !($this.
|
|
702
|
+
while (j > 0 && !($this.e1m_1.v(i) === $this.e1m_1.v(j))) {
|
|
703
703
|
j = table[j - 1 | 0];
|
|
704
704
|
}
|
|
705
|
-
if ($this.
|
|
705
|
+
if ($this.e1m_1.v(i) === $this.e1m_1.v(j)) {
|
|
706
706
|
j = j + 1 | 0;
|
|
707
707
|
}
|
|
708
708
|
table[i] = j;
|
|
@@ -723,8 +723,8 @@
|
|
|
723
723
|
return tmp.c9();
|
|
724
724
|
}
|
|
725
725
|
function checkBounds($this, extra) {
|
|
726
|
-
if (compare(add($this.
|
|
727
|
-
throw IOException_init_$Create$('Limit of ' + $this.
|
|
726
|
+
if (compare(add($this.k1m_1, extra), $this.g1m_1) > 0) {
|
|
727
|
+
throw IOException_init_$Create$('Limit of ' + $this.g1m_1.toString() + ' bytes exceeded ' + ('while searching for "' + toSingleLineString($this, $this.e1m_1) + '"'));
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
730
|
function toSingleLineString($this, _this__u8e3s4) {
|
|
@@ -732,8 +732,8 @@
|
|
|
732
732
|
}
|
|
733
733
|
function $findNextCOROUTINE$(_this__u8e3s4, ignoreMissing, resultContinuation) {
|
|
734
734
|
CoroutineImpl.call(this, resultContinuation);
|
|
735
|
-
this.
|
|
736
|
-
this.
|
|
735
|
+
this.p1n_1 = _this__u8e3s4;
|
|
736
|
+
this.q1n_1 = ignoreMissing;
|
|
737
737
|
}
|
|
738
738
|
protoOf($findNextCOROUTINE$).c9 = function () {
|
|
739
739
|
var suspendResult = this.w8_1;
|
|
@@ -743,17 +743,17 @@
|
|
|
743
743
|
switch (tmp) {
|
|
744
744
|
case 0:
|
|
745
745
|
this.v8_1 = 9;
|
|
746
|
-
this.
|
|
746
|
+
this.p1n_1.k1m_1 = new Long(0, 0);
|
|
747
747
|
this.u8_1 = 1;
|
|
748
748
|
continue $sm;
|
|
749
749
|
case 1:
|
|
750
|
-
if (!this.
|
|
751
|
-
this.
|
|
750
|
+
if (!this.p1n_1.h1m_1.yo()) {
|
|
751
|
+
this.r1n_1 = true;
|
|
752
752
|
this.u8_1 = 3;
|
|
753
753
|
continue $sm;
|
|
754
754
|
} else {
|
|
755
755
|
this.u8_1 = 2;
|
|
756
|
-
suspendResult = this.
|
|
756
|
+
suspendResult = this.p1n_1.d1m_1.a1m(VOID, this);
|
|
757
757
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
758
758
|
return suspendResult;
|
|
759
759
|
}
|
|
@@ -761,17 +761,17 @@
|
|
|
761
761
|
}
|
|
762
762
|
|
|
763
763
|
case 2:
|
|
764
|
-
this.
|
|
764
|
+
this.r1n_1 = suspendResult;
|
|
765
765
|
this.u8_1 = 3;
|
|
766
766
|
continue $sm;
|
|
767
767
|
case 3:
|
|
768
|
-
if (!this.
|
|
768
|
+
if (!this.r1n_1) {
|
|
769
769
|
this.u8_1 = 7;
|
|
770
770
|
continue $sm;
|
|
771
771
|
}
|
|
772
772
|
|
|
773
773
|
this.u8_1 = 4;
|
|
774
|
-
suspendResult = advanceToNextPotentialMatch(this.
|
|
774
|
+
suspendResult = advanceToNextPotentialMatch(this.p1n_1, this);
|
|
775
775
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
776
776
|
return suspendResult;
|
|
777
777
|
}
|
|
@@ -779,7 +779,7 @@
|
|
|
779
779
|
continue $sm;
|
|
780
780
|
case 4:
|
|
781
781
|
this.u8_1 = 5;
|
|
782
|
-
suspendResult = checkFullMatch(this.
|
|
782
|
+
suspendResult = checkFullMatch(this.p1n_1, this);
|
|
783
783
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
784
784
|
return suspendResult;
|
|
785
785
|
}
|
|
@@ -787,7 +787,7 @@
|
|
|
787
787
|
continue $sm;
|
|
788
788
|
case 5:
|
|
789
789
|
if (suspendResult) {
|
|
790
|
-
return this.
|
|
790
|
+
return this.p1n_1.k1m_1;
|
|
791
791
|
} else {
|
|
792
792
|
this.u8_1 = 6;
|
|
793
793
|
continue $sm;
|
|
@@ -797,20 +797,20 @@
|
|
|
797
797
|
this.u8_1 = 1;
|
|
798
798
|
continue $sm;
|
|
799
799
|
case 7:
|
|
800
|
-
if (!this.
|
|
801
|
-
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.
|
|
800
|
+
if (!this.q1n_1) {
|
|
801
|
+
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.p1n_1, this.p1n_1.e1m_1) + '" but encountered end of input');
|
|
802
802
|
}
|
|
803
803
|
|
|
804
|
-
this.
|
|
804
|
+
this.p1n_1.k1m_1 = add(this.p1n_1.k1m_1, this.p1n_1.j1m_1.bq(this.p1n_1.f1m_1.u1l()));
|
|
805
805
|
this.u8_1 = 8;
|
|
806
|
-
suspendResult = this.
|
|
806
|
+
suspendResult = this.p1n_1.f1m_1.p1l(this);
|
|
807
807
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
808
808
|
return suspendResult;
|
|
809
809
|
}
|
|
810
810
|
|
|
811
811
|
continue $sm;
|
|
812
812
|
case 8:
|
|
813
|
-
return this.
|
|
813
|
+
return this.p1n_1.k1m_1;
|
|
814
814
|
case 9:
|
|
815
815
|
throw this.x8_1;
|
|
816
816
|
}
|
|
@@ -827,7 +827,7 @@
|
|
|
827
827
|
};
|
|
828
828
|
function $advanceToNextPotentialMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
829
829
|
CoroutineImpl.call(this, resultContinuation);
|
|
830
|
-
this.
|
|
830
|
+
this.u1m_1 = _this__u8e3s4;
|
|
831
831
|
}
|
|
832
832
|
protoOf($advanceToNextPotentialMatchCOROUTINE$).c9 = function () {
|
|
833
833
|
var suspendResult = this.w8_1;
|
|
@@ -840,13 +840,13 @@
|
|
|
840
840
|
this.u8_1 = 1;
|
|
841
841
|
continue $sm;
|
|
842
842
|
case 1:
|
|
843
|
-
if (!this.
|
|
844
|
-
this.
|
|
843
|
+
if (!this.u1m_1.h1m_1.yo()) {
|
|
844
|
+
this.v1m_1 = true;
|
|
845
845
|
this.u8_1 = 3;
|
|
846
846
|
continue $sm;
|
|
847
847
|
} else {
|
|
848
848
|
this.u8_1 = 2;
|
|
849
|
-
suspendResult = this.
|
|
849
|
+
suspendResult = this.u1m_1.d1m_1.a1m(VOID, this);
|
|
850
850
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
851
851
|
return suspendResult;
|
|
852
852
|
}
|
|
@@ -854,34 +854,34 @@
|
|
|
854
854
|
}
|
|
855
855
|
|
|
856
856
|
case 2:
|
|
857
|
-
this.
|
|
857
|
+
this.v1m_1 = suspendResult;
|
|
858
858
|
this.u8_1 = 3;
|
|
859
859
|
continue $sm;
|
|
860
860
|
case 3:
|
|
861
|
-
if (!this.
|
|
861
|
+
if (!this.v1m_1) {
|
|
862
862
|
this.u8_1 = 7;
|
|
863
863
|
continue $sm;
|
|
864
864
|
}
|
|
865
865
|
|
|
866
|
-
var nextMatch = indexOf(this.
|
|
866
|
+
var nextMatch = indexOf(this.u1m_1.h1m_1, this.u1m_1.e1m_1.v(0));
|
|
867
867
|
if (equalsLong(nextMatch, new Long(-1, -1))) {
|
|
868
|
-
var tmp_0 = this.
|
|
869
|
-
checkBounds(this.
|
|
870
|
-
this.
|
|
868
|
+
var tmp_0 = this.u1m_1.h1m_1;
|
|
869
|
+
checkBounds(this.u1m_1, (tmp_0 instanceof Buffer ? tmp_0 : THROW_CCE()).u());
|
|
870
|
+
this.u1m_1.k1m_1 = add(this.u1m_1.k1m_1, this.u1m_1.h1m_1.bq(this.u1m_1.f1m_1.u1l()));
|
|
871
871
|
this.u8_1 = 5;
|
|
872
|
-
suspendResult = flushIfNeeded(this.
|
|
872
|
+
suspendResult = flushIfNeeded(this.u1m_1.f1m_1, this);
|
|
873
873
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
874
874
|
return suspendResult;
|
|
875
875
|
}
|
|
876
876
|
continue $sm;
|
|
877
877
|
} else {
|
|
878
|
-
checkBounds(this.
|
|
879
|
-
var tmp_1 = this.
|
|
880
|
-
var tmp_2 = this.
|
|
881
|
-
var tmp_3 = this.
|
|
882
|
-
tmp_1.
|
|
878
|
+
checkBounds(this.u1m_1, nextMatch);
|
|
879
|
+
var tmp_1 = this.u1m_1;
|
|
880
|
+
var tmp_2 = this.u1m_1.k1m_1;
|
|
881
|
+
var tmp_3 = this.u1m_1.f1m_1.u1l();
|
|
882
|
+
tmp_1.k1m_1 = add(tmp_2, this.u1m_1.h1m_1.yp(tmp_3 instanceof Buffer ? tmp_3 : THROW_CCE(), nextMatch));
|
|
883
883
|
this.u8_1 = 4;
|
|
884
|
-
suspendResult = flushIfNeeded(this.
|
|
884
|
+
suspendResult = flushIfNeeded(this.u1m_1.f1m_1, this);
|
|
885
885
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
886
886
|
return suspendResult;
|
|
887
887
|
}
|
|
@@ -914,7 +914,7 @@
|
|
|
914
914
|
};
|
|
915
915
|
function $checkFullMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
916
916
|
CoroutineImpl.call(this, resultContinuation);
|
|
917
|
-
this.
|
|
917
|
+
this.e1n_1 = _this__u8e3s4;
|
|
918
918
|
}
|
|
919
919
|
protoOf($checkFullMatchCOROUTINE$).c9 = function () {
|
|
920
920
|
var suspendResult = this.w8_1;
|
|
@@ -927,13 +927,13 @@
|
|
|
927
927
|
this.u8_1 = 1;
|
|
928
928
|
continue $sm;
|
|
929
929
|
case 1:
|
|
930
|
-
if (!this.
|
|
931
|
-
this.
|
|
930
|
+
if (!this.e1n_1.h1m_1.yo()) {
|
|
931
|
+
this.g1n_1 = true;
|
|
932
932
|
this.u8_1 = 3;
|
|
933
933
|
continue $sm;
|
|
934
934
|
} else {
|
|
935
935
|
this.u8_1 = 2;
|
|
936
|
-
suspendResult = this.
|
|
936
|
+
suspendResult = this.e1n_1.d1m_1.a1m(VOID, this);
|
|
937
937
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
938
938
|
return suspendResult;
|
|
939
939
|
}
|
|
@@ -941,30 +941,30 @@
|
|
|
941
941
|
}
|
|
942
942
|
|
|
943
943
|
case 2:
|
|
944
|
-
this.
|
|
944
|
+
this.g1n_1 = suspendResult;
|
|
945
945
|
this.u8_1 = 3;
|
|
946
946
|
continue $sm;
|
|
947
947
|
case 3:
|
|
948
|
-
if (!this.
|
|
948
|
+
if (!this.g1n_1) {
|
|
949
949
|
this.u8_1 = 7;
|
|
950
950
|
continue $sm;
|
|
951
951
|
}
|
|
952
952
|
|
|
953
|
-
this.
|
|
954
|
-
if (this.
|
|
955
|
-
var oldMatchIndex = this.
|
|
956
|
-
while (this.
|
|
957
|
-
this.
|
|
953
|
+
this.f1n_1 = this.e1n_1.h1m_1.bp();
|
|
954
|
+
if (this.e1n_1.l1m_1 > 0 && !(this.f1n_1 === this.e1n_1.e1m_1.v(this.e1n_1.l1m_1))) {
|
|
955
|
+
var oldMatchIndex = this.e1n_1.l1m_1;
|
|
956
|
+
while (this.e1n_1.l1m_1 > 0 && !(this.f1n_1 === this.e1n_1.e1m_1.v(this.e1n_1.l1m_1))) {
|
|
957
|
+
this.e1n_1.l1m_1 = this.e1n_1.i1m_1[this.e1n_1.l1m_1 - 1 | 0];
|
|
958
958
|
}
|
|
959
|
-
var retained = fromInt(oldMatchIndex - this.
|
|
960
|
-
checkBounds(this.
|
|
961
|
-
var tmp_0 = this.
|
|
962
|
-
var tmp_1 = this.
|
|
963
|
-
var tmp_2 = this.
|
|
964
|
-
tmp_0.
|
|
965
|
-
if (this.
|
|
959
|
+
var retained = fromInt(oldMatchIndex - this.e1n_1.l1m_1 | 0);
|
|
960
|
+
checkBounds(this.e1n_1, retained);
|
|
961
|
+
var tmp_0 = this.e1n_1;
|
|
962
|
+
var tmp_1 = this.e1n_1.k1m_1;
|
|
963
|
+
var tmp_2 = this.e1n_1.f1m_1.u1l();
|
|
964
|
+
tmp_0.k1m_1 = add(tmp_1, this.e1n_1.j1m_1.yp(tmp_2 instanceof Buffer ? tmp_2 : THROW_CCE(), retained));
|
|
965
|
+
if (this.e1n_1.l1m_1 === 0 && !(this.f1n_1 === this.e1n_1.e1m_1.v(this.e1n_1.l1m_1))) {
|
|
966
966
|
this.u8_1 = 6;
|
|
967
|
-
suspendResult = writeByte(this.
|
|
967
|
+
suspendResult = writeByte(this.e1n_1.f1m_1, this.f1n_1, this);
|
|
968
968
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
969
969
|
return suspendResult;
|
|
970
970
|
}
|
|
@@ -982,17 +982,17 @@
|
|
|
982
982
|
this.u8_1 = 5;
|
|
983
983
|
continue $sm;
|
|
984
984
|
case 5:
|
|
985
|
-
this.
|
|
986
|
-
if (this.
|
|
985
|
+
this.e1n_1.l1m_1 = this.e1n_1.l1m_1 + 1 | 0;
|
|
986
|
+
if (this.e1n_1.l1m_1 === this.e1n_1.e1m_1.u()) {
|
|
987
987
|
return true;
|
|
988
988
|
}
|
|
989
989
|
|
|
990
|
-
this.
|
|
990
|
+
this.e1n_1.j1m_1.rq(this.f1n_1);
|
|
991
991
|
this.u8_1 = 1;
|
|
992
992
|
continue $sm;
|
|
993
993
|
case 6:
|
|
994
|
-
var _unary__edvuaz = this.
|
|
995
|
-
this.
|
|
994
|
+
var _unary__edvuaz = this.e1n_1.k1m_1;
|
|
995
|
+
this.e1n_1.k1m_1 = add(_unary__edvuaz, get_ONE());
|
|
996
996
|
return false;
|
|
997
997
|
case 7:
|
|
998
998
|
return false;
|
|
@@ -1012,49 +1012,49 @@
|
|
|
1012
1012
|
};
|
|
1013
1013
|
function ByteChannelScanner(channel, matchString, writeChannel, limit) {
|
|
1014
1014
|
limit = limit === VOID ? new Long(-1, 2147483647) : limit;
|
|
1015
|
-
this.
|
|
1016
|
-
this.
|
|
1017
|
-
this.
|
|
1018
|
-
this.
|
|
1015
|
+
this.d1m_1 = channel;
|
|
1016
|
+
this.e1m_1 = matchString;
|
|
1017
|
+
this.f1m_1 = writeChannel;
|
|
1018
|
+
this.g1m_1 = limit;
|
|
1019
1019
|
// Inline function 'kotlin.require' call
|
|
1020
|
-
if (!(this.
|
|
1020
|
+
if (!(this.e1m_1.u() > 0)) {
|
|
1021
1021
|
var message = 'Empty match string not permitted for scanning';
|
|
1022
1022
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
1023
1023
|
}
|
|
1024
|
-
this.
|
|
1025
|
-
this.
|
|
1026
|
-
this.
|
|
1027
|
-
this.
|
|
1028
|
-
this.
|
|
1024
|
+
this.h1m_1 = this.d1m_1.r1l();
|
|
1025
|
+
this.i1m_1 = buildPartialMatchTable(this);
|
|
1026
|
+
this.j1m_1 = new Buffer();
|
|
1027
|
+
this.k1m_1 = new Long(0, 0);
|
|
1028
|
+
this.l1m_1 = 0;
|
|
1029
1029
|
}
|
|
1030
|
-
protoOf(ByteChannelScanner).
|
|
1030
|
+
protoOf(ByteChannelScanner).s1n = function (ignoreMissing, $completion) {
|
|
1031
1031
|
var tmp = new $findNextCOROUTINE$(this, ignoreMissing, $completion);
|
|
1032
1032
|
tmp.w8_1 = Unit_instance;
|
|
1033
1033
|
tmp.x8_1 = null;
|
|
1034
1034
|
return tmp.c9();
|
|
1035
1035
|
};
|
|
1036
1036
|
function ByteReadChannel$Companion$Empty$1() {
|
|
1037
|
-
this.
|
|
1038
|
-
this.
|
|
1037
|
+
this.t1n_1 = null;
|
|
1038
|
+
this.u1n_1 = new Buffer();
|
|
1039
1039
|
}
|
|
1040
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1041
|
-
return this.
|
|
1040
|
+
protoOf(ByteReadChannel$Companion$Empty$1).w1l = function () {
|
|
1041
|
+
return this.t1n_1;
|
|
1042
1042
|
};
|
|
1043
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1043
|
+
protoOf(ByteReadChannel$Companion$Empty$1).y1l = function () {
|
|
1044
1044
|
return true;
|
|
1045
1045
|
};
|
|
1046
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1047
|
-
return this.
|
|
1046
|
+
protoOf(ByteReadChannel$Companion$Empty$1).r1l = function () {
|
|
1047
|
+
return this.u1n_1;
|
|
1048
1048
|
};
|
|
1049
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1049
|
+
protoOf(ByteReadChannel$Companion$Empty$1).z1l = function (min, $completion) {
|
|
1050
1050
|
return false;
|
|
1051
1051
|
};
|
|
1052
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1052
|
+
protoOf(ByteReadChannel$Companion$Empty$1).c1m = function (cause) {
|
|
1053
1053
|
};
|
|
1054
1054
|
function Companion_0() {
|
|
1055
1055
|
Companion_instance_1 = this;
|
|
1056
1056
|
var tmp = this;
|
|
1057
|
-
tmp.
|
|
1057
|
+
tmp.v1n_1 = new ByteReadChannel$Companion$Empty$1();
|
|
1058
1058
|
}
|
|
1059
1059
|
var Companion_instance_1;
|
|
1060
1060
|
function Companion_getInstance_0() {
|
|
@@ -1065,7 +1065,7 @@
|
|
|
1065
1065
|
function ByteReadChannel_1() {
|
|
1066
1066
|
}
|
|
1067
1067
|
function cancel_0(_this__u8e3s4) {
|
|
1068
|
-
_this__u8e3s4.
|
|
1068
|
+
_this__u8e3s4.c1m(IOException_init_$Create$('Channel was cancelled'));
|
|
1069
1069
|
}
|
|
1070
1070
|
function readAvailable(_this__u8e3s4, buffer, offset, length, $completion) {
|
|
1071
1071
|
offset = offset === VOID ? 0 : offset;
|
|
@@ -1121,11 +1121,11 @@
|
|
|
1121
1121
|
function readUntil(_this__u8e3s4, matchString, writeChannel, limit, ignoreMissing, $completion) {
|
|
1122
1122
|
limit = limit === VOID ? new Long(-1, 2147483647) : limit;
|
|
1123
1123
|
ignoreMissing = ignoreMissing === VOID ? false : ignoreMissing;
|
|
1124
|
-
return (new ByteChannelScanner(_this__u8e3s4, matchString, writeChannel, limit)).
|
|
1124
|
+
return (new ByteChannelScanner(_this__u8e3s4, matchString, writeChannel, limit)).s1n(ignoreMissing, $completion);
|
|
1125
1125
|
}
|
|
1126
1126
|
function readUTF8LineTo(_this__u8e3s4, out, max, lineEnding, $completion) {
|
|
1127
1127
|
max = max === VOID ? 2147483647 : max;
|
|
1128
|
-
lineEnding = lineEnding === VOID ? Companion_getInstance_1().
|
|
1128
|
+
lineEnding = lineEnding === VOID ? Companion_getInstance_1().j1r_1 : lineEnding;
|
|
1129
1129
|
var tmp = new $readUTF8LineToCOROUTINE$(_this__u8e3s4, out, max, lineEnding, $completion);
|
|
1130
1130
|
tmp.w8_1 = Unit_instance;
|
|
1131
1131
|
tmp.x8_1 = null;
|
|
@@ -1138,7 +1138,7 @@
|
|
|
1138
1138
|
return tmp.c9();
|
|
1139
1139
|
}
|
|
1140
1140
|
function rethrowCloseCauseIfNeeded(_this__u8e3s4) {
|
|
1141
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1141
|
+
var tmp0_safe_receiver = _this__u8e3s4.w1l();
|
|
1142
1142
|
if (tmp0_safe_receiver == null)
|
|
1143
1143
|
null;
|
|
1144
1144
|
else {
|
|
@@ -1147,7 +1147,7 @@
|
|
|
1147
1147
|
}
|
|
1148
1148
|
}
|
|
1149
1149
|
function rethrowCloseCauseIfNeeded_0(_this__u8e3s4) {
|
|
1150
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1150
|
+
var tmp0_safe_receiver = _this__u8e3s4.w1l();
|
|
1151
1151
|
if (tmp0_safe_receiver == null)
|
|
1152
1152
|
null;
|
|
1153
1153
|
else {
|
|
@@ -1162,7 +1162,7 @@
|
|
|
1162
1162
|
return tmp.c9();
|
|
1163
1163
|
}
|
|
1164
1164
|
function get_availableForRead(_this__u8e3s4) {
|
|
1165
|
-
return convertToInt(_this__u8e3s4.
|
|
1165
|
+
return convertToInt(_this__u8e3s4.r1l().xo().u());
|
|
1166
1166
|
}
|
|
1167
1167
|
function peek(_this__u8e3s4, count, $completion) {
|
|
1168
1168
|
var tmp = new $peekCOROUTINE$(_this__u8e3s4, count, $completion);
|
|
@@ -1171,7 +1171,7 @@
|
|
|
1171
1171
|
return tmp.c9();
|
|
1172
1172
|
}
|
|
1173
1173
|
function rethrowCloseCauseIfNeeded_1(_this__u8e3s4) {
|
|
1174
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1174
|
+
var tmp0_safe_receiver = _this__u8e3s4.w1l();
|
|
1175
1175
|
if (tmp0_safe_receiver == null)
|
|
1176
1176
|
null;
|
|
1177
1177
|
else {
|
|
@@ -1186,10 +1186,10 @@
|
|
|
1186
1186
|
}
|
|
1187
1187
|
function $readAvailableCOROUTINE$(_this__u8e3s4, buffer, offset, length, resultContinuation) {
|
|
1188
1188
|
CoroutineImpl.call(this, resultContinuation);
|
|
1189
|
-
this.
|
|
1190
|
-
this.
|
|
1191
|
-
this.
|
|
1192
|
-
this.
|
|
1189
|
+
this.e1o_1 = _this__u8e3s4;
|
|
1190
|
+
this.f1o_1 = buffer;
|
|
1191
|
+
this.g1o_1 = offset;
|
|
1192
|
+
this.h1o_1 = length;
|
|
1193
1193
|
}
|
|
1194
1194
|
protoOf($readAvailableCOROUTINE$).c9 = function () {
|
|
1195
1195
|
var suspendResult = this.w8_1;
|
|
@@ -1199,11 +1199,11 @@
|
|
|
1199
1199
|
switch (tmp) {
|
|
1200
1200
|
case 0:
|
|
1201
1201
|
this.v8_1 = 3;
|
|
1202
|
-
if (this.
|
|
1202
|
+
if (this.e1o_1.y1l())
|
|
1203
1203
|
return -1;
|
|
1204
|
-
if (this.
|
|
1204
|
+
if (this.e1o_1.r1l().yo()) {
|
|
1205
1205
|
this.u8_1 = 1;
|
|
1206
|
-
suspendResult = this.
|
|
1206
|
+
suspendResult = this.e1o_1.a1m(VOID, this);
|
|
1207
1207
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1208
1208
|
return suspendResult;
|
|
1209
1209
|
}
|
|
@@ -1217,9 +1217,9 @@
|
|
|
1217
1217
|
this.u8_1 = 2;
|
|
1218
1218
|
continue $sm;
|
|
1219
1219
|
case 2:
|
|
1220
|
-
if (this.
|
|
1220
|
+
if (this.e1o_1.y1l())
|
|
1221
1221
|
return -1;
|
|
1222
|
-
return readAvailable_0(this.
|
|
1222
|
+
return readAvailable_0(this.e1o_1.r1l(), this.f1o_1, this.g1o_1, this.h1o_1);
|
|
1223
1223
|
case 3:
|
|
1224
1224
|
throw this.x8_1;
|
|
1225
1225
|
}
|
|
@@ -1236,8 +1236,8 @@
|
|
|
1236
1236
|
};
|
|
1237
1237
|
function $copyToCOROUTINE$(_this__u8e3s4, channel, resultContinuation) {
|
|
1238
1238
|
CoroutineImpl.call(this, resultContinuation);
|
|
1239
|
-
this.
|
|
1240
|
-
this.
|
|
1239
|
+
this.q1o_1 = _this__u8e3s4;
|
|
1240
|
+
this.r1o_1 = channel;
|
|
1241
1241
|
}
|
|
1242
1242
|
protoOf($copyToCOROUTINE$).c9 = function () {
|
|
1243
1243
|
var suspendResult = this.w8_1;
|
|
@@ -1247,7 +1247,7 @@
|
|
|
1247
1247
|
switch (tmp) {
|
|
1248
1248
|
case 0:
|
|
1249
1249
|
this.v8_1 = 11;
|
|
1250
|
-
this.
|
|
1250
|
+
this.s1o_1 = new Long(0, 0);
|
|
1251
1251
|
this.u8_1 = 1;
|
|
1252
1252
|
continue $sm;
|
|
1253
1253
|
case 1:
|
|
@@ -1256,14 +1256,14 @@
|
|
|
1256
1256
|
this.u8_1 = 2;
|
|
1257
1257
|
continue $sm;
|
|
1258
1258
|
case 2:
|
|
1259
|
-
if (!!this.
|
|
1259
|
+
if (!!this.q1o_1.y1l()) {
|
|
1260
1260
|
this.u8_1 = 5;
|
|
1261
1261
|
continue $sm;
|
|
1262
1262
|
}
|
|
1263
1263
|
|
|
1264
|
-
this.
|
|
1264
|
+
this.s1o_1 = add(this.s1o_1, this.q1o_1.r1l().bq(this.r1o_1.u1l()));
|
|
1265
1265
|
this.u8_1 = 3;
|
|
1266
|
-
suspendResult = this.
|
|
1266
|
+
suspendResult = this.r1o_1.p1l(this);
|
|
1267
1267
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1268
1268
|
return suspendResult;
|
|
1269
1269
|
}
|
|
@@ -1271,7 +1271,7 @@
|
|
|
1271
1271
|
continue $sm;
|
|
1272
1272
|
case 3:
|
|
1273
1273
|
this.u8_1 = 4;
|
|
1274
|
-
suspendResult = this.
|
|
1274
|
+
suspendResult = this.q1o_1.a1m(VOID, this);
|
|
1275
1275
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1276
1276
|
return suspendResult;
|
|
1277
1277
|
}
|
|
@@ -1289,8 +1289,8 @@
|
|
|
1289
1289
|
var tmp_0 = this.x8_1;
|
|
1290
1290
|
if (tmp_0 instanceof Error) {
|
|
1291
1291
|
var cause = this.x8_1;
|
|
1292
|
-
this.
|
|
1293
|
-
close_0(this.
|
|
1292
|
+
this.q1o_1.c1m(cause);
|
|
1293
|
+
close_0(this.r1o_1, cause);
|
|
1294
1294
|
throw cause;
|
|
1295
1295
|
} else {
|
|
1296
1296
|
throw this.x8_1;
|
|
@@ -1298,27 +1298,27 @@
|
|
|
1298
1298
|
|
|
1299
1299
|
case 7:
|
|
1300
1300
|
this.v8_1 = 11;
|
|
1301
|
-
this.
|
|
1301
|
+
this.t1o_1 = this.x8_1;
|
|
1302
1302
|
this.u8_1 = 8;
|
|
1303
|
-
suspendResult = this.
|
|
1303
|
+
suspendResult = this.r1o_1.p1l(this);
|
|
1304
1304
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1305
1305
|
return suspendResult;
|
|
1306
1306
|
}
|
|
1307
1307
|
|
|
1308
1308
|
continue $sm;
|
|
1309
1309
|
case 8:
|
|
1310
|
-
throw this.
|
|
1310
|
+
throw this.t1o_1;
|
|
1311
1311
|
case 9:
|
|
1312
1312
|
this.v8_1 = 11;
|
|
1313
1313
|
this.u8_1 = 10;
|
|
1314
|
-
suspendResult = this.
|
|
1314
|
+
suspendResult = this.r1o_1.p1l(this);
|
|
1315
1315
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1316
1316
|
return suspendResult;
|
|
1317
1317
|
}
|
|
1318
1318
|
|
|
1319
1319
|
continue $sm;
|
|
1320
1320
|
case 10:
|
|
1321
|
-
return this.
|
|
1321
|
+
return this.s1o_1;
|
|
1322
1322
|
case 11:
|
|
1323
1323
|
throw this.x8_1;
|
|
1324
1324
|
}
|
|
@@ -1335,7 +1335,7 @@
|
|
|
1335
1335
|
};
|
|
1336
1336
|
function $readRemainingCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1337
1337
|
CoroutineImpl.call(this, resultContinuation);
|
|
1338
|
-
this.
|
|
1338
|
+
this.c1p_1 = _this__u8e3s4;
|
|
1339
1339
|
}
|
|
1340
1340
|
protoOf($readRemainingCOROUTINE$).c9 = function () {
|
|
1341
1341
|
var suspendResult = this.w8_1;
|
|
@@ -1345,18 +1345,18 @@
|
|
|
1345
1345
|
switch (tmp) {
|
|
1346
1346
|
case 0:
|
|
1347
1347
|
this.v8_1 = 4;
|
|
1348
|
-
this.
|
|
1348
|
+
this.d1p_1 = BytePacketBuilder();
|
|
1349
1349
|
this.u8_1 = 1;
|
|
1350
1350
|
continue $sm;
|
|
1351
1351
|
case 1:
|
|
1352
|
-
if (!!this.
|
|
1352
|
+
if (!!this.c1p_1.y1l()) {
|
|
1353
1353
|
this.u8_1 = 3;
|
|
1354
1354
|
continue $sm;
|
|
1355
1355
|
}
|
|
1356
1356
|
|
|
1357
|
-
this.
|
|
1357
|
+
this.d1p_1.qq(this.c1p_1.r1l());
|
|
1358
1358
|
this.u8_1 = 2;
|
|
1359
|
-
suspendResult = this.
|
|
1359
|
+
suspendResult = this.c1p_1.a1m(VOID, this);
|
|
1360
1360
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1361
1361
|
return suspendResult;
|
|
1362
1362
|
}
|
|
@@ -1366,8 +1366,8 @@
|
|
|
1366
1366
|
this.u8_1 = 1;
|
|
1367
1367
|
continue $sm;
|
|
1368
1368
|
case 3:
|
|
1369
|
-
rethrowCloseCauseIfNeeded_0(this.
|
|
1370
|
-
return this.
|
|
1369
|
+
rethrowCloseCauseIfNeeded_0(this.c1p_1);
|
|
1370
|
+
return this.d1p_1.xo();
|
|
1371
1371
|
case 4:
|
|
1372
1372
|
throw this.x8_1;
|
|
1373
1373
|
}
|
|
@@ -1384,7 +1384,7 @@
|
|
|
1384
1384
|
};
|
|
1385
1385
|
function $toByteArrayCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1386
1386
|
CoroutineImpl.call(this, resultContinuation);
|
|
1387
|
-
this.
|
|
1387
|
+
this.m1p_1 = _this__u8e3s4;
|
|
1388
1388
|
}
|
|
1389
1389
|
protoOf($toByteArrayCOROUTINE$).c9 = function () {
|
|
1390
1390
|
var suspendResult = this.w8_1;
|
|
@@ -1395,7 +1395,7 @@
|
|
|
1395
1395
|
case 0:
|
|
1396
1396
|
this.v8_1 = 2;
|
|
1397
1397
|
this.u8_1 = 1;
|
|
1398
|
-
suspendResult = readBuffer(this.
|
|
1398
|
+
suspendResult = readBuffer(this.m1p_1, this);
|
|
1399
1399
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1400
1400
|
return suspendResult;
|
|
1401
1401
|
}
|
|
@@ -1420,9 +1420,9 @@
|
|
|
1420
1420
|
};
|
|
1421
1421
|
function $copyToCOROUTINE$_0(_this__u8e3s4, channel, limit, resultContinuation) {
|
|
1422
1422
|
CoroutineImpl.call(this, resultContinuation);
|
|
1423
|
-
this.
|
|
1424
|
-
this.
|
|
1425
|
-
this.
|
|
1423
|
+
this.v1p_1 = _this__u8e3s4;
|
|
1424
|
+
this.w1p_1 = channel;
|
|
1425
|
+
this.x1p_1 = limit;
|
|
1426
1426
|
}
|
|
1427
1427
|
protoOf($copyToCOROUTINE$_0).c9 = function () {
|
|
1428
1428
|
var suspendResult = this.w8_1;
|
|
@@ -1432,7 +1432,7 @@
|
|
|
1432
1432
|
switch (tmp) {
|
|
1433
1433
|
case 0:
|
|
1434
1434
|
this.v8_1 = 12;
|
|
1435
|
-
this.
|
|
1435
|
+
this.y1p_1 = this.x1p_1;
|
|
1436
1436
|
this.u8_1 = 1;
|
|
1437
1437
|
continue $sm;
|
|
1438
1438
|
case 1:
|
|
@@ -1441,14 +1441,14 @@
|
|
|
1441
1441
|
this.u8_1 = 2;
|
|
1442
1442
|
continue $sm;
|
|
1443
1443
|
case 2:
|
|
1444
|
-
if (!(!this.
|
|
1444
|
+
if (!(!this.v1p_1.y1l() && compare(this.y1p_1, new Long(0, 0)) > 0)) {
|
|
1445
1445
|
this.u8_1 = 6;
|
|
1446
1446
|
continue $sm;
|
|
1447
1447
|
}
|
|
1448
1448
|
|
|
1449
|
-
if (this.
|
|
1449
|
+
if (this.v1p_1.r1l().yo()) {
|
|
1450
1450
|
this.u8_1 = 3;
|
|
1451
|
-
suspendResult = this.
|
|
1451
|
+
suspendResult = this.v1p_1.a1m(VOID, this);
|
|
1452
1452
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1453
1453
|
return suspendResult;
|
|
1454
1454
|
}
|
|
@@ -1462,13 +1462,13 @@
|
|
|
1462
1462
|
this.u8_1 = 4;
|
|
1463
1463
|
continue $sm;
|
|
1464
1464
|
case 4:
|
|
1465
|
-
var tmp0 = this.
|
|
1466
|
-
var b = get_remaining(this.
|
|
1465
|
+
var tmp0 = this.y1p_1;
|
|
1466
|
+
var b = get_remaining(this.v1p_1.r1l());
|
|
1467
1467
|
var count = compare(tmp0, b) <= 0 ? tmp0 : b;
|
|
1468
|
-
this.
|
|
1469
|
-
this.
|
|
1468
|
+
this.v1p_1.r1l().aq(this.w1p_1.u1l(), count);
|
|
1469
|
+
this.y1p_1 = subtract(this.y1p_1, count);
|
|
1470
1470
|
this.u8_1 = 5;
|
|
1471
|
-
suspendResult = this.
|
|
1471
|
+
suspendResult = this.w1p_1.p1l(this);
|
|
1472
1472
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1473
1473
|
return suspendResult;
|
|
1474
1474
|
}
|
|
@@ -1486,8 +1486,8 @@
|
|
|
1486
1486
|
var tmp_0 = this.x8_1;
|
|
1487
1487
|
if (tmp_0 instanceof Error) {
|
|
1488
1488
|
var cause = this.x8_1;
|
|
1489
|
-
this.
|
|
1490
|
-
close_0(this.
|
|
1489
|
+
this.v1p_1.c1m(cause);
|
|
1490
|
+
close_0(this.w1p_1, cause);
|
|
1491
1491
|
throw cause;
|
|
1492
1492
|
} else {
|
|
1493
1493
|
throw this.x8_1;
|
|
@@ -1495,27 +1495,27 @@
|
|
|
1495
1495
|
|
|
1496
1496
|
case 8:
|
|
1497
1497
|
this.v8_1 = 12;
|
|
1498
|
-
this.
|
|
1498
|
+
this.z1p_1 = this.x8_1;
|
|
1499
1499
|
this.u8_1 = 9;
|
|
1500
|
-
suspendResult = this.
|
|
1500
|
+
suspendResult = this.w1p_1.p1l(this);
|
|
1501
1501
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1502
1502
|
return suspendResult;
|
|
1503
1503
|
}
|
|
1504
1504
|
|
|
1505
1505
|
continue $sm;
|
|
1506
1506
|
case 9:
|
|
1507
|
-
throw this.
|
|
1507
|
+
throw this.z1p_1;
|
|
1508
1508
|
case 10:
|
|
1509
1509
|
this.v8_1 = 12;
|
|
1510
1510
|
this.u8_1 = 11;
|
|
1511
|
-
suspendResult = this.
|
|
1511
|
+
suspendResult = this.w1p_1.p1l(this);
|
|
1512
1512
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1513
1513
|
return suspendResult;
|
|
1514
1514
|
}
|
|
1515
1515
|
|
|
1516
1516
|
continue $sm;
|
|
1517
1517
|
case 11:
|
|
1518
|
-
return subtract(this.
|
|
1518
|
+
return subtract(this.x1p_1, this.y1p_1);
|
|
1519
1519
|
case 12:
|
|
1520
1520
|
throw this.x8_1;
|
|
1521
1521
|
}
|
|
@@ -1532,8 +1532,8 @@
|
|
|
1532
1532
|
};
|
|
1533
1533
|
function $discardCOROUTINE$(_this__u8e3s4, max, resultContinuation) {
|
|
1534
1534
|
CoroutineImpl.call(this, resultContinuation);
|
|
1535
|
-
this.
|
|
1536
|
-
this.
|
|
1535
|
+
this.i1q_1 = _this__u8e3s4;
|
|
1536
|
+
this.j1q_1 = max;
|
|
1537
1537
|
}
|
|
1538
1538
|
protoOf($discardCOROUTINE$).c9 = function () {
|
|
1539
1539
|
var suspendResult = this.w8_1;
|
|
@@ -1543,18 +1543,18 @@
|
|
|
1543
1543
|
switch (tmp) {
|
|
1544
1544
|
case 0:
|
|
1545
1545
|
this.v8_1 = 5;
|
|
1546
|
-
this.
|
|
1546
|
+
this.k1q_1 = this.j1q_1;
|
|
1547
1547
|
this.u8_1 = 1;
|
|
1548
1548
|
continue $sm;
|
|
1549
1549
|
case 1:
|
|
1550
|
-
if (!(compare(this.
|
|
1550
|
+
if (!(compare(this.k1q_1, new Long(0, 0)) > 0 && !this.i1q_1.y1l())) {
|
|
1551
1551
|
this.u8_1 = 4;
|
|
1552
1552
|
continue $sm;
|
|
1553
1553
|
}
|
|
1554
1554
|
|
|
1555
|
-
if (get_availableForRead(this.
|
|
1555
|
+
if (get_availableForRead(this.i1q_1) === 0) {
|
|
1556
1556
|
this.u8_1 = 2;
|
|
1557
|
-
suspendResult = this.
|
|
1557
|
+
suspendResult = this.i1q_1.a1m(VOID, this);
|
|
1558
1558
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1559
1559
|
return suspendResult;
|
|
1560
1560
|
}
|
|
@@ -1568,15 +1568,15 @@
|
|
|
1568
1568
|
this.u8_1 = 3;
|
|
1569
1569
|
continue $sm;
|
|
1570
1570
|
case 3:
|
|
1571
|
-
var tmp0 = this.
|
|
1572
|
-
var b = get_remaining(this.
|
|
1571
|
+
var tmp0 = this.k1q_1;
|
|
1572
|
+
var b = get_remaining(this.i1q_1.r1l());
|
|
1573
1573
|
var count = compare(tmp0, b) <= 0 ? tmp0 : b;
|
|
1574
|
-
discard_0(this.
|
|
1575
|
-
this.
|
|
1574
|
+
discard_0(this.i1q_1.r1l(), count);
|
|
1575
|
+
this.k1q_1 = subtract(this.k1q_1, count);
|
|
1576
1576
|
this.u8_1 = 1;
|
|
1577
1577
|
continue $sm;
|
|
1578
1578
|
case 4:
|
|
1579
|
-
return subtract(this.
|
|
1579
|
+
return subtract(this.j1q_1, this.k1q_1);
|
|
1580
1580
|
case 5:
|
|
1581
1581
|
throw this.x8_1;
|
|
1582
1582
|
}
|
|
@@ -1593,8 +1593,8 @@
|
|
|
1593
1593
|
};
|
|
1594
1594
|
function $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, resultContinuation) {
|
|
1595
1595
|
CoroutineImpl.call(this, resultContinuation);
|
|
1596
|
-
this.
|
|
1597
|
-
this.
|
|
1596
|
+
this.t1q_1 = _this__u8e3s4;
|
|
1597
|
+
this.u1q_1 = byteString;
|
|
1598
1598
|
}
|
|
1599
1599
|
protoOf($skipIfFoundCOROUTINE$).c9 = function () {
|
|
1600
1600
|
var suspendResult = this.w8_1;
|
|
@@ -1605,7 +1605,7 @@
|
|
|
1605
1605
|
case 0:
|
|
1606
1606
|
this.v8_1 = 4;
|
|
1607
1607
|
this.u8_1 = 1;
|
|
1608
|
-
suspendResult = peek(this.
|
|
1608
|
+
suspendResult = peek(this.t1q_1, this.u1q_1.u(), this);
|
|
1609
1609
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1610
1610
|
return suspendResult;
|
|
1611
1611
|
}
|
|
@@ -1613,9 +1613,9 @@
|
|
|
1613
1613
|
continue $sm;
|
|
1614
1614
|
case 1:
|
|
1615
1615
|
var ARGUMENT = suspendResult;
|
|
1616
|
-
if (equals(ARGUMENT, this.
|
|
1616
|
+
if (equals(ARGUMENT, this.u1q_1)) {
|
|
1617
1617
|
this.u8_1 = 3;
|
|
1618
|
-
suspendResult = discard(this.
|
|
1618
|
+
suspendResult = discard(this.t1q_1, fromInt(this.u1q_1.u()), this);
|
|
1619
1619
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1620
1620
|
return suspendResult;
|
|
1621
1621
|
}
|
|
@@ -1645,8 +1645,8 @@
|
|
|
1645
1645
|
};
|
|
1646
1646
|
function $readPacketCOROUTINE$(_this__u8e3s4, packet, resultContinuation) {
|
|
1647
1647
|
CoroutineImpl.call(this, resultContinuation);
|
|
1648
|
-
this.
|
|
1649
|
-
this.
|
|
1648
|
+
this.d1r_1 = _this__u8e3s4;
|
|
1649
|
+
this.e1r_1 = packet;
|
|
1650
1650
|
}
|
|
1651
1651
|
protoOf($readPacketCOROUTINE$).c9 = function () {
|
|
1652
1652
|
var suspendResult = this.w8_1;
|
|
@@ -1656,18 +1656,18 @@
|
|
|
1656
1656
|
switch (tmp) {
|
|
1657
1657
|
case 0:
|
|
1658
1658
|
this.v8_1 = 6;
|
|
1659
|
-
this.
|
|
1659
|
+
this.f1r_1 = new Buffer();
|
|
1660
1660
|
this.u8_1 = 1;
|
|
1661
1661
|
continue $sm;
|
|
1662
1662
|
case 1:
|
|
1663
|
-
if (!(compare(this.
|
|
1663
|
+
if (!(compare(this.f1r_1.u(), fromInt(this.e1r_1)) < 0)) {
|
|
1664
1664
|
this.u8_1 = 5;
|
|
1665
1665
|
continue $sm;
|
|
1666
1666
|
}
|
|
1667
1667
|
|
|
1668
|
-
if (this.
|
|
1668
|
+
if (this.d1r_1.r1l().yo()) {
|
|
1669
1669
|
this.u8_1 = 2;
|
|
1670
|
-
suspendResult = this.
|
|
1670
|
+
suspendResult = this.d1r_1.a1m(VOID, this);
|
|
1671
1671
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1672
1672
|
return suspendResult;
|
|
1673
1673
|
}
|
|
@@ -1681,7 +1681,7 @@
|
|
|
1681
1681
|
this.u8_1 = 3;
|
|
1682
1682
|
continue $sm;
|
|
1683
1683
|
case 3:
|
|
1684
|
-
if (this.
|
|
1684
|
+
if (this.d1r_1.y1l()) {
|
|
1685
1685
|
this.u8_1 = 5;
|
|
1686
1686
|
continue $sm;
|
|
1687
1687
|
} else {
|
|
@@ -1690,20 +1690,20 @@
|
|
|
1690
1690
|
}
|
|
1691
1691
|
|
|
1692
1692
|
case 4:
|
|
1693
|
-
if (compare(get_remaining(this.
|
|
1694
|
-
this.
|
|
1693
|
+
if (compare(get_remaining(this.d1r_1.r1l()), subtract(numberToLong(this.e1r_1), this.f1r_1.u())) > 0) {
|
|
1694
|
+
this.d1r_1.r1l().aq(this.f1r_1, subtract(numberToLong(this.e1r_1), this.f1r_1.u()));
|
|
1695
1695
|
} else {
|
|
1696
|
-
this.
|
|
1696
|
+
this.d1r_1.r1l().bq(this.f1r_1);
|
|
1697
1697
|
}
|
|
1698
1698
|
|
|
1699
1699
|
this.u8_1 = 1;
|
|
1700
1700
|
continue $sm;
|
|
1701
1701
|
case 5:
|
|
1702
|
-
if (compare(this.
|
|
1703
|
-
throw EOFException_init_$Create$('Not enough data available, required ' + this.
|
|
1702
|
+
if (compare(this.f1r_1.u(), fromInt(this.e1r_1)) < 0) {
|
|
1703
|
+
throw EOFException_init_$Create$('Not enough data available, required ' + this.e1r_1 + ' bytes but only ' + this.f1r_1.u().toString() + ' available');
|
|
1704
1704
|
}
|
|
1705
1705
|
|
|
1706
|
-
return this.
|
|
1706
|
+
return this.f1r_1;
|
|
1707
1707
|
case 6:
|
|
1708
1708
|
throw this.x8_1;
|
|
1709
1709
|
}
|
|
@@ -1720,10 +1720,10 @@
|
|
|
1720
1720
|
};
|
|
1721
1721
|
function $readUTF8LineToCOROUTINE$(_this__u8e3s4, out, max, lineEnding, resultContinuation) {
|
|
1722
1722
|
CoroutineImpl.call(this, resultContinuation);
|
|
1723
|
-
this.
|
|
1724
|
-
this.
|
|
1725
|
-
this.
|
|
1726
|
-
this.
|
|
1723
|
+
this.t1r_1 = _this__u8e3s4;
|
|
1724
|
+
this.u1r_1 = out;
|
|
1725
|
+
this.v1r_1 = max;
|
|
1726
|
+
this.w1r_1 = lineEnding;
|
|
1727
1727
|
}
|
|
1728
1728
|
protoOf($readUTF8LineToCOROUTINE$).c9 = function () {
|
|
1729
1729
|
var suspendResult = this.w8_1;
|
|
@@ -1733,9 +1733,9 @@
|
|
|
1733
1733
|
switch (tmp) {
|
|
1734
1734
|
case 0:
|
|
1735
1735
|
this.v8_1 = 21;
|
|
1736
|
-
if (this.
|
|
1736
|
+
if (this.t1r_1.r1l().yo()) {
|
|
1737
1737
|
this.u8_1 = 1;
|
|
1738
|
-
suspendResult = this.
|
|
1738
|
+
suspendResult = this.t1r_1.a1m(VOID, this);
|
|
1739
1739
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1740
1740
|
return suspendResult;
|
|
1741
1741
|
}
|
|
@@ -1749,15 +1749,15 @@
|
|
|
1749
1749
|
this.u8_1 = 2;
|
|
1750
1750
|
continue $sm;
|
|
1751
1751
|
case 2:
|
|
1752
|
-
if (this.
|
|
1752
|
+
if (this.t1r_1.y1l())
|
|
1753
1753
|
return false;
|
|
1754
1754
|
var tmp_0 = this;
|
|
1755
|
-
tmp_0.
|
|
1755
|
+
tmp_0.c1s_1 = new Buffer();
|
|
1756
1756
|
this.u8_1 = 3;
|
|
1757
1757
|
continue $sm;
|
|
1758
1758
|
case 3:
|
|
1759
|
-
this.
|
|
1760
|
-
this.
|
|
1759
|
+
this.z1r_1 = this.c1s_1;
|
|
1760
|
+
this.y1r_1 = null;
|
|
1761
1761
|
this.u8_1 = 4;
|
|
1762
1762
|
continue $sm;
|
|
1763
1763
|
case 4:
|
|
@@ -1769,11 +1769,11 @@
|
|
|
1769
1769
|
case 6:
|
|
1770
1770
|
this.v8_1 = 18;
|
|
1771
1771
|
this.v8_1 = 17;
|
|
1772
|
-
this.
|
|
1772
|
+
this.b1s_1 = this.z1r_1;
|
|
1773
1773
|
this.u8_1 = 7;
|
|
1774
1774
|
continue $sm;
|
|
1775
1775
|
case 7:
|
|
1776
|
-
if (!!this.
|
|
1776
|
+
if (!!this.t1r_1.y1l()) {
|
|
1777
1777
|
this.u8_1 = 14;
|
|
1778
1778
|
continue $sm;
|
|
1779
1779
|
}
|
|
@@ -1781,16 +1781,16 @@
|
|
|
1781
1781
|
this.u8_1 = 8;
|
|
1782
1782
|
continue $sm;
|
|
1783
1783
|
case 8:
|
|
1784
|
-
if (!!this.
|
|
1784
|
+
if (!!this.t1r_1.r1l().yo()) {
|
|
1785
1785
|
this.u8_1 = 12;
|
|
1786
1786
|
continue $sm;
|
|
1787
1787
|
}
|
|
1788
1788
|
|
|
1789
|
-
var b = this.
|
|
1789
|
+
var b = this.t1r_1.r1l().bp();
|
|
1790
1790
|
if (b === 13) {
|
|
1791
|
-
if (this.
|
|
1791
|
+
if (this.t1r_1.r1l().yo()) {
|
|
1792
1792
|
this.u8_1 = 10;
|
|
1793
|
-
suspendResult = this.
|
|
1793
|
+
suspendResult = this.t1r_1.a1m(VOID, this);
|
|
1794
1794
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1795
1795
|
return suspendResult;
|
|
1796
1796
|
}
|
|
@@ -1801,14 +1801,14 @@
|
|
|
1801
1801
|
}
|
|
1802
1802
|
} else {
|
|
1803
1803
|
if (b === 10) {
|
|
1804
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1805
|
-
this.
|
|
1806
|
-
this.
|
|
1804
|
+
readUTF8LineTo$checkLineEndingAllowed(this.w1r_1, Companion_getInstance_1().h1r_1);
|
|
1805
|
+
this.u1r_1.q(readString(this.b1s_1));
|
|
1806
|
+
this.a1s_1 = true;
|
|
1807
1807
|
this.v8_1 = 21;
|
|
1808
1808
|
this.u8_1 = 15;
|
|
1809
1809
|
continue $sm;
|
|
1810
1810
|
} else {
|
|
1811
|
-
this.
|
|
1811
|
+
this.b1s_1.rq(b);
|
|
1812
1812
|
this.u8_1 = 9;
|
|
1813
1813
|
continue $sm;
|
|
1814
1814
|
}
|
|
@@ -1821,25 +1821,25 @@
|
|
|
1821
1821
|
this.u8_1 = 11;
|
|
1822
1822
|
continue $sm;
|
|
1823
1823
|
case 11:
|
|
1824
|
-
if (this.
|
|
1825
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1826
|
-
discard_0(this.
|
|
1824
|
+
if (this.t1r_1.r1l().xo().tp(new Long(0, 0)) === 10) {
|
|
1825
|
+
readUTF8LineTo$checkLineEndingAllowed(this.w1r_1, Companion_getInstance_1().i1r_1);
|
|
1826
|
+
discard_0(this.t1r_1.r1l(), new Long(1, 0));
|
|
1827
1827
|
} else {
|
|
1828
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1828
|
+
readUTF8LineTo$checkLineEndingAllowed(this.w1r_1, Companion_getInstance_1().g1r_1);
|
|
1829
1829
|
}
|
|
1830
1830
|
|
|
1831
|
-
this.
|
|
1832
|
-
this.
|
|
1831
|
+
this.u1r_1.q(readString(this.b1s_1));
|
|
1832
|
+
this.a1s_1 = true;
|
|
1833
1833
|
this.v8_1 = 21;
|
|
1834
1834
|
this.u8_1 = 15;
|
|
1835
1835
|
continue $sm;
|
|
1836
1836
|
case 12:
|
|
1837
|
-
if (compare(this.
|
|
1838
|
-
throw new TooLongLineException('Line exceeds limit of ' + this.
|
|
1837
|
+
if (compare(this.b1s_1.u(), fromInt(this.v1r_1)) >= 0) {
|
|
1838
|
+
throw new TooLongLineException('Line exceeds limit of ' + this.v1r_1 + ' characters');
|
|
1839
1839
|
}
|
|
1840
1840
|
|
|
1841
1841
|
this.u8_1 = 13;
|
|
1842
|
-
suspendResult = this.
|
|
1842
|
+
suspendResult = this.t1r_1.a1m(VOID, this);
|
|
1843
1843
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1844
1844
|
return suspendResult;
|
|
1845
1845
|
}
|
|
@@ -1850,26 +1850,26 @@
|
|
|
1850
1850
|
continue $sm;
|
|
1851
1851
|
case 14:
|
|
1852
1852
|
var tmp_1 = this;
|
|
1853
|
-
var this_0 = compare(this.
|
|
1853
|
+
var this_0 = compare(this.b1s_1.u(), new Long(0, 0)) > 0;
|
|
1854
1854
|
if (this_0) {
|
|
1855
|
-
this.
|
|
1855
|
+
this.u1r_1.q(readString(this.b1s_1));
|
|
1856
1856
|
}
|
|
1857
1857
|
|
|
1858
|
-
tmp_1.
|
|
1858
|
+
tmp_1.a1s_1 = this_0;
|
|
1859
1859
|
this.v8_1 = 21;
|
|
1860
1860
|
this.u8_1 = 15;
|
|
1861
1861
|
var tmp_2 = this;
|
|
1862
1862
|
continue $sm;
|
|
1863
1863
|
case 15:
|
|
1864
|
-
var tmp_3 = this.
|
|
1864
|
+
var tmp_3 = this.a1s_1;
|
|
1865
1865
|
this.v8_1 = 21;
|
|
1866
|
-
closeFinally(this.
|
|
1866
|
+
closeFinally(this.z1r_1, this.y1r_1);
|
|
1867
1867
|
return tmp_3;
|
|
1868
1868
|
case 16:
|
|
1869
1869
|
this.v8_1 = 21;
|
|
1870
1870
|
var tmp_4 = this;
|
|
1871
|
-
closeFinally(this.
|
|
1872
|
-
tmp_4.
|
|
1871
|
+
closeFinally(this.z1r_1, this.y1r_1);
|
|
1872
|
+
tmp_4.x1r_1 = Unit_instance;
|
|
1873
1873
|
this.u8_1 = 20;
|
|
1874
1874
|
continue $sm;
|
|
1875
1875
|
case 17:
|
|
@@ -1878,7 +1878,7 @@
|
|
|
1878
1878
|
if (tmp_5 instanceof Error) {
|
|
1879
1879
|
var e = this.x8_1;
|
|
1880
1880
|
var tmp_6 = this;
|
|
1881
|
-
this.
|
|
1881
|
+
this.y1r_1 = e;
|
|
1882
1882
|
throw e;
|
|
1883
1883
|
} else {
|
|
1884
1884
|
throw this.x8_1;
|
|
@@ -1887,11 +1887,11 @@
|
|
|
1887
1887
|
case 18:
|
|
1888
1888
|
this.v8_1 = 21;
|
|
1889
1889
|
var t = this.x8_1;
|
|
1890
|
-
closeFinally(this.
|
|
1890
|
+
closeFinally(this.z1r_1, this.y1r_1);
|
|
1891
1891
|
throw t;
|
|
1892
1892
|
case 19:
|
|
1893
1893
|
this.v8_1 = 21;
|
|
1894
|
-
closeFinally(this.
|
|
1894
|
+
closeFinally(this.z1r_1, this.y1r_1);
|
|
1895
1895
|
if (false) {
|
|
1896
1896
|
this.u8_1 = 3;
|
|
1897
1897
|
continue $sm;
|
|
@@ -1917,8 +1917,8 @@
|
|
|
1917
1917
|
};
|
|
1918
1918
|
function $readRemainingCOROUTINE$_0(_this__u8e3s4, max, resultContinuation) {
|
|
1919
1919
|
CoroutineImpl.call(this, resultContinuation);
|
|
1920
|
-
this.
|
|
1921
|
-
this.
|
|
1920
|
+
this.l1s_1 = _this__u8e3s4;
|
|
1921
|
+
this.m1s_1 = max;
|
|
1922
1922
|
}
|
|
1923
1923
|
protoOf($readRemainingCOROUTINE$_0).c9 = function () {
|
|
1924
1924
|
var suspendResult = this.w8_1;
|
|
@@ -1928,26 +1928,26 @@
|
|
|
1928
1928
|
switch (tmp) {
|
|
1929
1929
|
case 0:
|
|
1930
1930
|
this.v8_1 = 4;
|
|
1931
|
-
this.
|
|
1932
|
-
this.
|
|
1931
|
+
this.n1s_1 = BytePacketBuilder();
|
|
1932
|
+
this.o1s_1 = this.m1s_1;
|
|
1933
1933
|
this.u8_1 = 1;
|
|
1934
1934
|
continue $sm;
|
|
1935
1935
|
case 1:
|
|
1936
|
-
if (!(!this.
|
|
1936
|
+
if (!(!this.l1s_1.y1l() && compare(this.o1s_1, new Long(0, 0)) > 0)) {
|
|
1937
1937
|
this.u8_1 = 3;
|
|
1938
1938
|
continue $sm;
|
|
1939
1939
|
}
|
|
1940
1940
|
|
|
1941
|
-
if (compare(this.
|
|
1942
|
-
this.
|
|
1943
|
-
this.
|
|
1941
|
+
if (compare(this.o1s_1, get_remaining(this.l1s_1.r1l())) >= 0) {
|
|
1942
|
+
this.o1s_1 = subtract(this.o1s_1, get_remaining(this.l1s_1.r1l()));
|
|
1943
|
+
this.l1s_1.r1l().bq(this.n1s_1);
|
|
1944
1944
|
} else {
|
|
1945
|
-
this.
|
|
1946
|
-
this.
|
|
1945
|
+
this.l1s_1.r1l().aq(this.n1s_1, this.o1s_1);
|
|
1946
|
+
this.o1s_1 = new Long(0, 0);
|
|
1947
1947
|
}
|
|
1948
1948
|
|
|
1949
1949
|
this.u8_1 = 2;
|
|
1950
|
-
suspendResult = this.
|
|
1950
|
+
suspendResult = this.l1s_1.a1m(VOID, this);
|
|
1951
1951
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1952
1952
|
return suspendResult;
|
|
1953
1953
|
}
|
|
@@ -1957,7 +1957,7 @@
|
|
|
1957
1957
|
this.u8_1 = 1;
|
|
1958
1958
|
continue $sm;
|
|
1959
1959
|
case 3:
|
|
1960
|
-
return this.
|
|
1960
|
+
return this.n1s_1.xo();
|
|
1961
1961
|
case 4:
|
|
1962
1962
|
throw this.x8_1;
|
|
1963
1963
|
}
|
|
@@ -1974,7 +1974,7 @@
|
|
|
1974
1974
|
};
|
|
1975
1975
|
function $readBufferCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1976
1976
|
CoroutineImpl.call(this, resultContinuation);
|
|
1977
|
-
this.
|
|
1977
|
+
this.x1s_1 = _this__u8e3s4;
|
|
1978
1978
|
}
|
|
1979
1979
|
protoOf($readBufferCOROUTINE$).c9 = function () {
|
|
1980
1980
|
var suspendResult = this.w8_1;
|
|
@@ -1984,18 +1984,18 @@
|
|
|
1984
1984
|
switch (tmp) {
|
|
1985
1985
|
case 0:
|
|
1986
1986
|
this.v8_1 = 4;
|
|
1987
|
-
this.
|
|
1987
|
+
this.y1s_1 = new Buffer();
|
|
1988
1988
|
this.u8_1 = 1;
|
|
1989
1989
|
continue $sm;
|
|
1990
1990
|
case 1:
|
|
1991
|
-
if (!!this.
|
|
1991
|
+
if (!!this.x1s_1.y1l()) {
|
|
1992
1992
|
this.u8_1 = 3;
|
|
1993
1993
|
continue $sm;
|
|
1994
1994
|
}
|
|
1995
1995
|
|
|
1996
|
-
this.
|
|
1996
|
+
this.y1s_1.qq(this.x1s_1.r1l());
|
|
1997
1997
|
this.u8_1 = 2;
|
|
1998
|
-
suspendResult = this.
|
|
1998
|
+
suspendResult = this.x1s_1.a1m(VOID, this);
|
|
1999
1999
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2000
2000
|
return suspendResult;
|
|
2001
2001
|
}
|
|
@@ -2005,14 +2005,14 @@
|
|
|
2005
2005
|
this.u8_1 = 1;
|
|
2006
2006
|
continue $sm;
|
|
2007
2007
|
case 3:
|
|
2008
|
-
var tmp0_safe_receiver = this.
|
|
2008
|
+
var tmp0_safe_receiver = this.x1s_1.w1l();
|
|
2009
2009
|
if (tmp0_safe_receiver == null)
|
|
2010
2010
|
null;
|
|
2011
2011
|
else {
|
|
2012
2012
|
throw tmp0_safe_receiver;
|
|
2013
2013
|
}
|
|
2014
2014
|
|
|
2015
|
-
return this.
|
|
2015
|
+
return this.y1s_1;
|
|
2016
2016
|
case 4:
|
|
2017
2017
|
throw this.x8_1;
|
|
2018
2018
|
}
|
|
@@ -2029,8 +2029,8 @@
|
|
|
2029
2029
|
};
|
|
2030
2030
|
function $peekCOROUTINE$(_this__u8e3s4, count, resultContinuation) {
|
|
2031
2031
|
CoroutineImpl.call(this, resultContinuation);
|
|
2032
|
-
this.
|
|
2033
|
-
this.
|
|
2032
|
+
this.h1t_1 = _this__u8e3s4;
|
|
2033
|
+
this.i1t_1 = count;
|
|
2034
2034
|
}
|
|
2035
2035
|
protoOf($peekCOROUTINE$).c9 = function () {
|
|
2036
2036
|
var suspendResult = this.w8_1;
|
|
@@ -2040,10 +2040,10 @@
|
|
|
2040
2040
|
switch (tmp) {
|
|
2041
2041
|
case 0:
|
|
2042
2042
|
this.v8_1 = 3;
|
|
2043
|
-
if (this.
|
|
2043
|
+
if (this.h1t_1.y1l())
|
|
2044
2044
|
return null;
|
|
2045
2045
|
this.u8_1 = 1;
|
|
2046
|
-
suspendResult = this.
|
|
2046
|
+
suspendResult = this.h1t_1.z1l(this.i1t_1, this);
|
|
2047
2047
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2048
2048
|
return suspendResult;
|
|
2049
2049
|
}
|
|
@@ -2058,7 +2058,7 @@
|
|
|
2058
2058
|
}
|
|
2059
2059
|
|
|
2060
2060
|
case 2:
|
|
2061
|
-
return readByteString(this.
|
|
2061
|
+
return readByteString(this.h1t_1.r1l().cq(), this.i1t_1);
|
|
2062
2062
|
case 3:
|
|
2063
2063
|
throw this.x8_1;
|
|
2064
2064
|
}
|
|
@@ -2083,7 +2083,7 @@
|
|
|
2083
2083
|
}
|
|
2084
2084
|
function $flushIfNeededCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
2085
2085
|
CoroutineImpl.call(this, resultContinuation);
|
|
2086
|
-
this.
|
|
2086
|
+
this.r1t_1 = _this__u8e3s4;
|
|
2087
2087
|
}
|
|
2088
2088
|
protoOf($flushIfNeededCOROUTINE$).c9 = function () {
|
|
2089
2089
|
var suspendResult = this.w8_1;
|
|
@@ -2093,10 +2093,10 @@
|
|
|
2093
2093
|
switch (tmp) {
|
|
2094
2094
|
case 0:
|
|
2095
2095
|
this.v8_1 = 3;
|
|
2096
|
-
rethrowCloseCauseIfNeeded_1(this.
|
|
2097
|
-
if (this.
|
|
2096
|
+
rethrowCloseCauseIfNeeded_1(this.r1t_1);
|
|
2097
|
+
if (this.r1t_1.q1l() || get_size(this.r1t_1.u1l()) >= 1048576) {
|
|
2098
2098
|
this.u8_1 = 1;
|
|
2099
|
-
suspendResult = this.
|
|
2099
|
+
suspendResult = this.r1t_1.p1l(this);
|
|
2100
2100
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2101
2101
|
return suspendResult;
|
|
2102
2102
|
}
|
|
@@ -2133,15 +2133,15 @@
|
|
|
2133
2133
|
function writeFully(_this__u8e3s4, value, startIndex, endIndex, $completion) {
|
|
2134
2134
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
2135
2135
|
endIndex = endIndex === VOID ? value.length : endIndex;
|
|
2136
|
-
_this__u8e3s4.
|
|
2136
|
+
_this__u8e3s4.u1l().hq(value, startIndex, endIndex);
|
|
2137
2137
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
2138
2138
|
}
|
|
2139
2139
|
function WriterJob(channel, job) {
|
|
2140
|
-
this.
|
|
2141
|
-
this.
|
|
2140
|
+
this.s1t_1 = channel;
|
|
2141
|
+
this.t1t_1 = job;
|
|
2142
2142
|
}
|
|
2143
2143
|
protoOf(WriterJob).vv = function () {
|
|
2144
|
-
return this.
|
|
2144
|
+
return this.t1t_1;
|
|
2145
2145
|
};
|
|
2146
2146
|
function writer(_this__u8e3s4, coroutineContext, autoFlush, block) {
|
|
2147
2147
|
coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_getInstance() : coroutineContext;
|
|
@@ -2150,11 +2150,11 @@
|
|
|
2150
2150
|
return writer_0(_this__u8e3s4, coroutineContext, new ByteChannel(), block);
|
|
2151
2151
|
}
|
|
2152
2152
|
function WriterScope(channel, coroutineContext) {
|
|
2153
|
-
this.
|
|
2154
|
-
this.
|
|
2153
|
+
this.u1t_1 = channel;
|
|
2154
|
+
this.v1t_1 = coroutineContext;
|
|
2155
2155
|
}
|
|
2156
2156
|
protoOf(WriterScope).js = function () {
|
|
2157
|
-
return this.
|
|
2157
|
+
return this.v1t_1;
|
|
2158
2158
|
};
|
|
2159
2159
|
function invokeOnCompletion(_this__u8e3s4, block) {
|
|
2160
2160
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
@@ -2165,7 +2165,7 @@
|
|
|
2165
2165
|
if (cause == null) {
|
|
2166
2166
|
fireAndForget(ByteWriteChannel$flushAndClose$ref_0(_this__u8e3s4));
|
|
2167
2167
|
} else {
|
|
2168
|
-
_this__u8e3s4.
|
|
2168
|
+
_this__u8e3s4.c1m(cause);
|
|
2169
2169
|
}
|
|
2170
2170
|
}
|
|
2171
2171
|
function writePacket(_this__u8e3s4, source, $completion) {
|
|
@@ -2188,14 +2188,14 @@
|
|
|
2188
2188
|
return new WriterJob(channel, job);
|
|
2189
2189
|
}
|
|
2190
2190
|
function writeByte(_this__u8e3s4, value, $completion) {
|
|
2191
|
-
_this__u8e3s4.
|
|
2191
|
+
_this__u8e3s4.u1l().rq(value);
|
|
2192
2192
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
2193
2193
|
}
|
|
2194
2194
|
function NO_CALLBACK$1() {
|
|
2195
|
-
this.
|
|
2195
|
+
this.g1u_1 = EmptyCoroutineContext_getInstance();
|
|
2196
2196
|
}
|
|
2197
2197
|
protoOf(NO_CALLBACK$1).a9 = function () {
|
|
2198
|
-
return this.
|
|
2198
|
+
return this.g1u_1;
|
|
2199
2199
|
};
|
|
2200
2200
|
protoOf(NO_CALLBACK$1).b9 = function (result) {
|
|
2201
2201
|
return Unit_instance;
|
|
@@ -2204,36 +2204,36 @@
|
|
|
2204
2204
|
return this.b9(result);
|
|
2205
2205
|
};
|
|
2206
2206
|
function ByteWriteChannel$flushAndClose$ref(p0) {
|
|
2207
|
-
this.
|
|
2207
|
+
this.h1u_1 = p0;
|
|
2208
2208
|
}
|
|
2209
|
-
protoOf(ByteWriteChannel$flushAndClose$ref).
|
|
2210
|
-
return this.
|
|
2209
|
+
protoOf(ByteWriteChannel$flushAndClose$ref).i1u = function ($completion) {
|
|
2210
|
+
return this.h1u_1.b1m($completion);
|
|
2211
2211
|
};
|
|
2212
2212
|
protoOf(ByteWriteChannel$flushAndClose$ref).la = function ($completion) {
|
|
2213
|
-
return this.
|
|
2213
|
+
return this.i1u($completion);
|
|
2214
2214
|
};
|
|
2215
2215
|
function ByteWriteChannel$flushAndClose$ref_0(p0) {
|
|
2216
2216
|
var i = new ByteWriteChannel$flushAndClose$ref(p0);
|
|
2217
2217
|
var l = function ($completion) {
|
|
2218
|
-
return i.
|
|
2218
|
+
return i.i1u($completion);
|
|
2219
2219
|
};
|
|
2220
2220
|
l.callableName = 'flushAndClose';
|
|
2221
2221
|
l.$arity = 0;
|
|
2222
2222
|
return l;
|
|
2223
2223
|
}
|
|
2224
2224
|
function writer$slambda($block, $channel, resultContinuation) {
|
|
2225
|
-
this.
|
|
2226
|
-
this.
|
|
2225
|
+
this.r1u_1 = $block;
|
|
2226
|
+
this.s1u_1 = $channel;
|
|
2227
2227
|
CoroutineImpl.call(this, resultContinuation);
|
|
2228
2228
|
}
|
|
2229
|
-
protoOf(writer$slambda).
|
|
2230
|
-
var tmp = this.
|
|
2229
|
+
protoOf(writer$slambda).a1v = function ($this$launch, $completion) {
|
|
2230
|
+
var tmp = this.b1v($this$launch, $completion);
|
|
2231
2231
|
tmp.w8_1 = Unit_instance;
|
|
2232
2232
|
tmp.x8_1 = null;
|
|
2233
2233
|
return tmp.c9();
|
|
2234
2234
|
};
|
|
2235
2235
|
protoOf(writer$slambda).o9 = function (p1, $completion) {
|
|
2236
|
-
return this.
|
|
2236
|
+
return this.a1v((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2237
2237
|
};
|
|
2238
2238
|
protoOf(writer$slambda).c9 = function () {
|
|
2239
2239
|
var suspendResult = this.w8_1;
|
|
@@ -2243,24 +2243,24 @@
|
|
|
2243
2243
|
switch (tmp) {
|
|
2244
2244
|
case 0:
|
|
2245
2245
|
this.v8_1 = 14;
|
|
2246
|
-
this.
|
|
2246
|
+
this.w1u_1 = Job(get_job(this.t1u_1.js()));
|
|
2247
2247
|
this.u8_1 = 1;
|
|
2248
2248
|
continue $sm;
|
|
2249
2249
|
case 1:
|
|
2250
2250
|
this.v8_1 = 4;
|
|
2251
2251
|
this.v8_1 = 3;
|
|
2252
2252
|
this.u8_1 = 2;
|
|
2253
|
-
suspendResult = this.
|
|
2253
|
+
suspendResult = this.r1u_1(new WriterScope(this.s1u_1, this.t1u_1.js().fh(this.w1u_1)), this);
|
|
2254
2254
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2255
2255
|
return suspendResult;
|
|
2256
2256
|
}
|
|
2257
2257
|
|
|
2258
2258
|
continue $sm;
|
|
2259
2259
|
case 2:
|
|
2260
|
-
this.
|
|
2260
|
+
this.w1u_1.t10();
|
|
2261
2261
|
var tmp_0;
|
|
2262
|
-
if (get_job(this.
|
|
2263
|
-
this.
|
|
2262
|
+
if (get_job(this.t1u_1.js()).ft()) {
|
|
2263
|
+
this.s1u_1.c1m(get_job(this.t1u_1.js()).it());
|
|
2264
2264
|
tmp_0 = Unit_instance;
|
|
2265
2265
|
}
|
|
2266
2266
|
|
|
@@ -2272,8 +2272,8 @@
|
|
|
2272
2272
|
var tmp_1 = this.x8_1;
|
|
2273
2273
|
if (tmp_1 instanceof Error) {
|
|
2274
2274
|
var cause = this.x8_1;
|
|
2275
|
-
cancel(this.
|
|
2276
|
-
this.
|
|
2275
|
+
cancel(this.w1u_1, 'Exception thrown while writing to channel', cause);
|
|
2276
|
+
this.s1u_1.c1m(cause);
|
|
2277
2277
|
this.v8_1 = 14;
|
|
2278
2278
|
this.u8_1 = 9;
|
|
2279
2279
|
continue $sm;
|
|
@@ -2283,21 +2283,21 @@
|
|
|
2283
2283
|
|
|
2284
2284
|
case 4:
|
|
2285
2285
|
this.v8_1 = 14;
|
|
2286
|
-
this.
|
|
2286
|
+
this.x1u_1 = this.x8_1;
|
|
2287
2287
|
this.u8_1 = 5;
|
|
2288
|
-
suspendResult = this.
|
|
2288
|
+
suspendResult = this.w1u_1.pt(this);
|
|
2289
2289
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2290
2290
|
return suspendResult;
|
|
2291
2291
|
}
|
|
2292
2292
|
|
|
2293
2293
|
continue $sm;
|
|
2294
2294
|
case 5:
|
|
2295
|
-
this.
|
|
2295
|
+
this.t1u_1;
|
|
2296
2296
|
this.v8_1 = 7;
|
|
2297
2297
|
var tmp_2 = this;
|
|
2298
|
-
tmp_2.
|
|
2298
|
+
tmp_2.z1u_1 = Companion_instance;
|
|
2299
2299
|
this.u8_1 = 6;
|
|
2300
|
-
suspendResult = this.
|
|
2300
|
+
suspendResult = this.s1u_1.b1m(this);
|
|
2301
2301
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2302
2302
|
return suspendResult;
|
|
2303
2303
|
}
|
|
@@ -2305,8 +2305,8 @@
|
|
|
2305
2305
|
continue $sm;
|
|
2306
2306
|
case 6:
|
|
2307
2307
|
var tmp_3 = this;
|
|
2308
|
-
this.
|
|
2309
|
-
tmp_3.
|
|
2308
|
+
this.z1u_1;
|
|
2309
|
+
tmp_3.y1u_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2310
2310
|
this.v8_1 = 14;
|
|
2311
2311
|
this.u8_1 = 8;
|
|
2312
2312
|
continue $sm;
|
|
@@ -2316,7 +2316,7 @@
|
|
|
2316
2316
|
if (tmp_4 instanceof Error) {
|
|
2317
2317
|
var e = this.x8_1;
|
|
2318
2318
|
var tmp_5 = this;
|
|
2319
|
-
tmp_5.
|
|
2319
|
+
tmp_5.y1u_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
2320
2320
|
this.u8_1 = 8;
|
|
2321
2321
|
continue $sm;
|
|
2322
2322
|
} else {
|
|
@@ -2325,23 +2325,23 @@
|
|
|
2325
2325
|
|
|
2326
2326
|
case 8:
|
|
2327
2327
|
this.v8_1 = 14;
|
|
2328
|
-
throw this.
|
|
2328
|
+
throw this.x1u_1;
|
|
2329
2329
|
case 9:
|
|
2330
2330
|
this.v8_1 = 14;
|
|
2331
2331
|
this.u8_1 = 10;
|
|
2332
|
-
suspendResult = this.
|
|
2332
|
+
suspendResult = this.w1u_1.pt(this);
|
|
2333
2333
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2334
2334
|
return suspendResult;
|
|
2335
2335
|
}
|
|
2336
2336
|
|
|
2337
2337
|
continue $sm;
|
|
2338
2338
|
case 10:
|
|
2339
|
-
this.
|
|
2339
|
+
this.t1u_1;
|
|
2340
2340
|
this.v8_1 = 12;
|
|
2341
2341
|
var tmp_6 = this;
|
|
2342
|
-
tmp_6.
|
|
2342
|
+
tmp_6.v1u_1 = Companion_instance;
|
|
2343
2343
|
this.u8_1 = 11;
|
|
2344
|
-
suspendResult = this.
|
|
2344
|
+
suspendResult = this.s1u_1.b1m(this);
|
|
2345
2345
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2346
2346
|
return suspendResult;
|
|
2347
2347
|
}
|
|
@@ -2349,8 +2349,8 @@
|
|
|
2349
2349
|
continue $sm;
|
|
2350
2350
|
case 11:
|
|
2351
2351
|
var tmp_7 = this;
|
|
2352
|
-
this.
|
|
2353
|
-
tmp_7.
|
|
2352
|
+
this.v1u_1;
|
|
2353
|
+
tmp_7.u1u_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2354
2354
|
this.v8_1 = 14;
|
|
2355
2355
|
this.u8_1 = 13;
|
|
2356
2356
|
continue $sm;
|
|
@@ -2360,7 +2360,7 @@
|
|
|
2360
2360
|
if (tmp_8 instanceof Error) {
|
|
2361
2361
|
var e_0 = this.x8_1;
|
|
2362
2362
|
var tmp_9 = this;
|
|
2363
|
-
tmp_9.
|
|
2363
|
+
tmp_9.u1u_1 = _Result___init__impl__xyqfz8(createFailure(e_0));
|
|
2364
2364
|
this.u8_1 = 13;
|
|
2365
2365
|
continue $sm;
|
|
2366
2366
|
} else {
|
|
@@ -2384,15 +2384,15 @@
|
|
|
2384
2384
|
}
|
|
2385
2385
|
while (true);
|
|
2386
2386
|
};
|
|
2387
|
-
protoOf(writer$slambda).
|
|
2388
|
-
var i = new writer$slambda(this.
|
|
2389
|
-
i.
|
|
2387
|
+
protoOf(writer$slambda).b1v = function ($this$launch, completion) {
|
|
2388
|
+
var i = new writer$slambda(this.r1u_1, this.s1u_1, completion);
|
|
2389
|
+
i.t1u_1 = $this$launch;
|
|
2390
2390
|
return i;
|
|
2391
2391
|
};
|
|
2392
2392
|
function writer$slambda_0($block, $channel, resultContinuation) {
|
|
2393
2393
|
var i = new writer$slambda($block, $channel, resultContinuation);
|
|
2394
2394
|
var l = function ($this$launch, $completion) {
|
|
2395
|
-
return i.
|
|
2395
|
+
return i.a1v($this$launch, $completion);
|
|
2396
2396
|
};
|
|
2397
2397
|
l.$arity = 1;
|
|
2398
2398
|
return l;
|
|
@@ -2400,8 +2400,8 @@
|
|
|
2400
2400
|
function writer$lambda($channel) {
|
|
2401
2401
|
return function (it) {
|
|
2402
2402
|
var tmp;
|
|
2403
|
-
if (!(it == null) && !$channel.
|
|
2404
|
-
$channel.
|
|
2403
|
+
if (!(it == null) && !$channel.v1l()) {
|
|
2404
|
+
$channel.c1m(it);
|
|
2405
2405
|
tmp = Unit_instance;
|
|
2406
2406
|
}
|
|
2407
2407
|
return Unit_instance;
|
|
@@ -2409,8 +2409,8 @@
|
|
|
2409
2409
|
}
|
|
2410
2410
|
function $writePacketCOROUTINE$(_this__u8e3s4, source, resultContinuation) {
|
|
2411
2411
|
CoroutineImpl.call(this, resultContinuation);
|
|
2412
|
-
this.
|
|
2413
|
-
this.
|
|
2412
|
+
this.e1u_1 = _this__u8e3s4;
|
|
2413
|
+
this.f1u_1 = source;
|
|
2414
2414
|
}
|
|
2415
2415
|
protoOf($writePacketCOROUTINE$).c9 = function () {
|
|
2416
2416
|
var suspendResult = this.w8_1;
|
|
@@ -2423,14 +2423,14 @@
|
|
|
2423
2423
|
this.u8_1 = 1;
|
|
2424
2424
|
continue $sm;
|
|
2425
2425
|
case 1:
|
|
2426
|
-
if (!!this.
|
|
2426
|
+
if (!!this.f1u_1.yo()) {
|
|
2427
2427
|
this.u8_1 = 3;
|
|
2428
2428
|
continue $sm;
|
|
2429
2429
|
}
|
|
2430
2430
|
|
|
2431
|
-
this.
|
|
2431
|
+
this.e1u_1.u1l().lq(this.f1u_1, get_remaining(this.f1u_1));
|
|
2432
2432
|
this.u8_1 = 2;
|
|
2433
|
-
suspendResult = flushIfNeeded(this.
|
|
2433
|
+
suspendResult = flushIfNeeded(this.e1u_1, this);
|
|
2434
2434
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2435
2435
|
return suspendResult;
|
|
2436
2436
|
}
|
|
@@ -2475,27 +2475,27 @@
|
|
|
2475
2475
|
return l;
|
|
2476
2476
|
}
|
|
2477
2477
|
function CloseToken(origin) {
|
|
2478
|
-
this.
|
|
2478
|
+
this.s1l_1 = origin;
|
|
2479
2479
|
}
|
|
2480
|
-
protoOf(CloseToken).
|
|
2481
|
-
var tmp0_subject = this.
|
|
2480
|
+
protoOf(CloseToken).c1v = function (wrap) {
|
|
2481
|
+
var tmp0_subject = this.s1l_1;
|
|
2482
2482
|
var tmp;
|
|
2483
2483
|
if (tmp0_subject == null) {
|
|
2484
2484
|
tmp = null;
|
|
2485
2485
|
} else {
|
|
2486
2486
|
if (isInterface(tmp0_subject, CopyableThrowable)) {
|
|
2487
|
-
tmp = this.
|
|
2487
|
+
tmp = this.s1l_1.c11();
|
|
2488
2488
|
} else {
|
|
2489
2489
|
if (tmp0_subject instanceof CancellationException) {
|
|
2490
|
-
tmp = CancellationException_init_$Create$(this.
|
|
2490
|
+
tmp = CancellationException_init_$Create$(this.s1l_1.message, this.s1l_1);
|
|
2491
2491
|
} else {
|
|
2492
|
-
tmp = wrap(this.
|
|
2492
|
+
tmp = wrap(this.s1l_1);
|
|
2493
2493
|
}
|
|
2494
2494
|
}
|
|
2495
2495
|
}
|
|
2496
2496
|
return tmp;
|
|
2497
2497
|
};
|
|
2498
|
-
protoOf(CloseToken).
|
|
2498
|
+
protoOf(CloseToken).x1l = function (wrap, $super) {
|
|
2499
2499
|
var tmp;
|
|
2500
2500
|
if (wrap === VOID) {
|
|
2501
2501
|
tmp = ClosedByteChannelException$_init_$ref_yjp351();
|
|
@@ -2503,10 +2503,10 @@
|
|
|
2503
2503
|
tmp = wrap;
|
|
2504
2504
|
}
|
|
2505
2505
|
wrap = tmp;
|
|
2506
|
-
return $super === VOID ? this.
|
|
2506
|
+
return $super === VOID ? this.c1v(wrap) : $super.c1v.call(this, wrap);
|
|
2507
2507
|
};
|
|
2508
|
-
protoOf(CloseToken).
|
|
2509
|
-
var tmp0_safe_receiver = this.
|
|
2508
|
+
protoOf(CloseToken).t1l = function (wrap) {
|
|
2509
|
+
var tmp0_safe_receiver = this.c1v(wrap);
|
|
2510
2510
|
var tmp;
|
|
2511
2511
|
if (tmp0_safe_receiver == null) {
|
|
2512
2512
|
tmp = null;
|
|
@@ -2525,17 +2525,17 @@
|
|
|
2525
2525
|
}
|
|
2526
2526
|
function transferFromDelegate($this) {
|
|
2527
2527
|
updateConsumed($this);
|
|
2528
|
-
var appended = $this.
|
|
2529
|
-
$this.
|
|
2528
|
+
var appended = $this.e1v_1.qq($this.d1v_1.r1l());
|
|
2529
|
+
$this.f1v_1 = add($this.f1v_1, appended);
|
|
2530
2530
|
}
|
|
2531
2531
|
function updateConsumed($this) {
|
|
2532
|
-
$this.
|
|
2533
|
-
$this.
|
|
2532
|
+
$this.g1v_1 = add($this.g1v_1, subtract($this.f1v_1, $this.e1v_1.u()));
|
|
2533
|
+
$this.f1v_1 = $this.e1v_1.u();
|
|
2534
2534
|
}
|
|
2535
2535
|
function $awaitContentCOROUTINE$_0(_this__u8e3s4, min, resultContinuation) {
|
|
2536
2536
|
CoroutineImpl.call(this, resultContinuation);
|
|
2537
|
-
this.
|
|
2538
|
-
this.
|
|
2537
|
+
this.p1v_1 = _this__u8e3s4;
|
|
2538
|
+
this.q1v_1 = min;
|
|
2539
2539
|
}
|
|
2540
2540
|
protoOf($awaitContentCOROUTINE$_0).c9 = function () {
|
|
2541
2541
|
var suspendResult = this.w8_1;
|
|
@@ -2545,12 +2545,12 @@
|
|
|
2545
2545
|
switch (tmp) {
|
|
2546
2546
|
case 0:
|
|
2547
2547
|
this.v8_1 = 3;
|
|
2548
|
-
if (compare(this.
|
|
2548
|
+
if (compare(this.p1v_1.r1l().u(), fromInt(this.q1v_1)) >= 0) {
|
|
2549
2549
|
return true;
|
|
2550
2550
|
}
|
|
2551
2551
|
|
|
2552
2552
|
this.u8_1 = 1;
|
|
2553
|
-
suspendResult = this.
|
|
2553
|
+
suspendResult = this.p1v_1.d1v_1.z1l(this.q1v_1, this);
|
|
2554
2554
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2555
2555
|
return suspendResult;
|
|
2556
2556
|
}
|
|
@@ -2558,7 +2558,7 @@
|
|
|
2558
2558
|
continue $sm;
|
|
2559
2559
|
case 1:
|
|
2560
2560
|
if (suspendResult) {
|
|
2561
|
-
transferFromDelegate(this.
|
|
2561
|
+
transferFromDelegate(this.p1v_1);
|
|
2562
2562
|
return true;
|
|
2563
2563
|
} else {
|
|
2564
2564
|
this.u8_1 = 2;
|
|
@@ -2582,34 +2582,34 @@
|
|
|
2582
2582
|
while (true);
|
|
2583
2583
|
};
|
|
2584
2584
|
function CountedByteReadChannel(delegate) {
|
|
2585
|
-
this.
|
|
2586
|
-
this.
|
|
2587
|
-
this.
|
|
2588
|
-
this.
|
|
2585
|
+
this.d1v_1 = delegate;
|
|
2586
|
+
this.e1v_1 = new Buffer();
|
|
2587
|
+
this.f1v_1 = new Long(0, 0);
|
|
2588
|
+
this.g1v_1 = new Long(0, 0);
|
|
2589
2589
|
}
|
|
2590
|
-
protoOf(CountedByteReadChannel).
|
|
2590
|
+
protoOf(CountedByteReadChannel).r1v = function () {
|
|
2591
2591
|
updateConsumed(this);
|
|
2592
|
-
return this.
|
|
2592
|
+
return this.g1v_1;
|
|
2593
2593
|
};
|
|
2594
|
-
protoOf(CountedByteReadChannel).
|
|
2595
|
-
return this.
|
|
2594
|
+
protoOf(CountedByteReadChannel).w1l = function () {
|
|
2595
|
+
return this.d1v_1.w1l();
|
|
2596
2596
|
};
|
|
2597
|
-
protoOf(CountedByteReadChannel).
|
|
2598
|
-
return this.
|
|
2597
|
+
protoOf(CountedByteReadChannel).y1l = function () {
|
|
2598
|
+
return this.e1v_1.yo() && this.d1v_1.y1l();
|
|
2599
2599
|
};
|
|
2600
|
-
protoOf(CountedByteReadChannel).
|
|
2600
|
+
protoOf(CountedByteReadChannel).r1l = function () {
|
|
2601
2601
|
transferFromDelegate(this);
|
|
2602
|
-
return this.
|
|
2602
|
+
return this.e1v_1;
|
|
2603
2603
|
};
|
|
2604
|
-
protoOf(CountedByteReadChannel).
|
|
2604
|
+
protoOf(CountedByteReadChannel).z1l = function (min, $completion) {
|
|
2605
2605
|
var tmp = new $awaitContentCOROUTINE$_0(this, min, $completion);
|
|
2606
2606
|
tmp.w8_1 = Unit_instance;
|
|
2607
2607
|
tmp.x8_1 = null;
|
|
2608
2608
|
return tmp.c9();
|
|
2609
2609
|
};
|
|
2610
|
-
protoOf(CountedByteReadChannel).
|
|
2611
|
-
this.
|
|
2612
|
-
this.
|
|
2610
|
+
protoOf(CountedByteReadChannel).c1m = function (cause) {
|
|
2611
|
+
this.d1v_1.c1m(cause);
|
|
2612
|
+
this.e1v_1.b4();
|
|
2613
2613
|
};
|
|
2614
2614
|
function counted(_this__u8e3s4) {
|
|
2615
2615
|
return new CountedByteReadChannel(_this__u8e3s4);
|
|
@@ -2646,21 +2646,21 @@
|
|
|
2646
2646
|
}
|
|
2647
2647
|
function LineEndingMode__toString_impl_j4h76r($this) {
|
|
2648
2648
|
var tmp;
|
|
2649
|
-
if ($this === Companion_getInstance_1().
|
|
2649
|
+
if ($this === Companion_getInstance_1().g1r_1) {
|
|
2650
2650
|
tmp = 'CR';
|
|
2651
|
-
} else if ($this === Companion_getInstance_1().
|
|
2651
|
+
} else if ($this === Companion_getInstance_1().h1r_1) {
|
|
2652
2652
|
tmp = 'LF';
|
|
2653
|
-
} else if ($this === Companion_getInstance_1().
|
|
2653
|
+
} else if ($this === Companion_getInstance_1().i1r_1) {
|
|
2654
2654
|
tmp = 'CRLF';
|
|
2655
2655
|
} else {
|
|
2656
2656
|
// Inline function 'kotlin.collections.filter' call
|
|
2657
|
-
var tmp0 = Companion_getInstance_1().
|
|
2657
|
+
var tmp0 = Companion_getInstance_1().k1r_1;
|
|
2658
2658
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2659
2659
|
var destination = ArrayList_init_$Create$();
|
|
2660
2660
|
var _iterator__ex2g4s = tmp0.r();
|
|
2661
2661
|
while (_iterator__ex2g4s.s()) {
|
|
2662
2662
|
var element = _iterator__ex2g4s.t();
|
|
2663
|
-
var it = element.
|
|
2663
|
+
var it = element.s1v_1;
|
|
2664
2664
|
if (LineEndingMode__contains_impl_q5pr68($this, it)) {
|
|
2665
2665
|
destination.p(element);
|
|
2666
2666
|
}
|
|
@@ -2671,11 +2671,11 @@
|
|
|
2671
2671
|
}
|
|
2672
2672
|
function Companion_1() {
|
|
2673
2673
|
Companion_instance_2 = this;
|
|
2674
|
-
this.
|
|
2675
|
-
this.
|
|
2676
|
-
this.
|
|
2677
|
-
this.
|
|
2678
|
-
this.
|
|
2674
|
+
this.g1r_1 = _LineEndingMode___init__impl__jo5bul(1);
|
|
2675
|
+
this.h1r_1 = _LineEndingMode___init__impl__jo5bul(2);
|
|
2676
|
+
this.i1r_1 = _LineEndingMode___init__impl__jo5bul(4);
|
|
2677
|
+
this.j1r_1 = _LineEndingMode___init__impl__jo5bul(7);
|
|
2678
|
+
this.k1r_1 = listOf([new LineEndingMode(this.g1r_1), new LineEndingMode(this.h1r_1), new LineEndingMode(this.i1r_1)]);
|
|
2679
2679
|
}
|
|
2680
2680
|
var Companion_instance_2;
|
|
2681
2681
|
function Companion_getInstance_1() {
|
|
@@ -2689,61 +2689,61 @@
|
|
|
2689
2689
|
function LineEndingMode__equals_impl_qyr4nk($this, other) {
|
|
2690
2690
|
if (!(other instanceof LineEndingMode))
|
|
2691
2691
|
return false;
|
|
2692
|
-
if (!($this === other.
|
|
2692
|
+
if (!($this === other.s1v_1))
|
|
2693
2693
|
return false;
|
|
2694
2694
|
return true;
|
|
2695
2695
|
}
|
|
2696
2696
|
function LineEndingMode(mode) {
|
|
2697
2697
|
Companion_getInstance_1();
|
|
2698
|
-
this.
|
|
2698
|
+
this.s1v_1 = mode;
|
|
2699
2699
|
}
|
|
2700
2700
|
protoOf(LineEndingMode).toString = function () {
|
|
2701
|
-
return LineEndingMode__toString_impl_j4h76r(this.
|
|
2701
|
+
return LineEndingMode__toString_impl_j4h76r(this.s1v_1);
|
|
2702
2702
|
};
|
|
2703
2703
|
protoOf(LineEndingMode).hashCode = function () {
|
|
2704
|
-
return LineEndingMode__hashCode_impl_2mopm4(this.
|
|
2704
|
+
return LineEndingMode__hashCode_impl_2mopm4(this.s1v_1);
|
|
2705
2705
|
};
|
|
2706
2706
|
protoOf(LineEndingMode).equals = function (other) {
|
|
2707
|
-
return LineEndingMode__equals_impl_qyr4nk(this.
|
|
2707
|
+
return LineEndingMode__equals_impl_qyr4nk(this.s1v_1, other);
|
|
2708
2708
|
};
|
|
2709
2709
|
function SourceByteReadChannel(source) {
|
|
2710
|
-
this.
|
|
2711
|
-
this.
|
|
2710
|
+
this.t1v_1 = source;
|
|
2711
|
+
this.u1v_1 = null;
|
|
2712
2712
|
}
|
|
2713
|
-
protoOf(SourceByteReadChannel).
|
|
2714
|
-
var tmp0_safe_receiver = this.
|
|
2715
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2713
|
+
protoOf(SourceByteReadChannel).w1l = function () {
|
|
2714
|
+
var tmp0_safe_receiver = this.u1v_1;
|
|
2715
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.x1l();
|
|
2716
2716
|
};
|
|
2717
|
-
protoOf(SourceByteReadChannel).
|
|
2718
|
-
return this.
|
|
2717
|
+
protoOf(SourceByteReadChannel).y1l = function () {
|
|
2718
|
+
return this.t1v_1.yo();
|
|
2719
2719
|
};
|
|
2720
|
-
protoOf(SourceByteReadChannel).
|
|
2721
|
-
var tmp0_safe_receiver = this.
|
|
2720
|
+
protoOf(SourceByteReadChannel).r1l = function () {
|
|
2721
|
+
var tmp0_safe_receiver = this.w1l();
|
|
2722
2722
|
if (tmp0_safe_receiver == null)
|
|
2723
2723
|
null;
|
|
2724
2724
|
else {
|
|
2725
2725
|
// Inline function 'kotlin.let' call
|
|
2726
2726
|
throw tmp0_safe_receiver;
|
|
2727
2727
|
}
|
|
2728
|
-
return this.
|
|
2728
|
+
return this.t1v_1.xo();
|
|
2729
2729
|
};
|
|
2730
|
-
protoOf(SourceByteReadChannel).
|
|
2731
|
-
var tmp0_safe_receiver = this.
|
|
2730
|
+
protoOf(SourceByteReadChannel).z1l = function (min, $completion) {
|
|
2731
|
+
var tmp0_safe_receiver = this.w1l();
|
|
2732
2732
|
if (tmp0_safe_receiver == null)
|
|
2733
2733
|
null;
|
|
2734
2734
|
else {
|
|
2735
2735
|
// Inline function 'kotlin.let' call
|
|
2736
2736
|
throw tmp0_safe_receiver;
|
|
2737
2737
|
}
|
|
2738
|
-
return this.
|
|
2738
|
+
return this.t1v_1.ap(fromInt(min));
|
|
2739
2739
|
};
|
|
2740
|
-
protoOf(SourceByteReadChannel).
|
|
2741
|
-
if (!(this.
|
|
2740
|
+
protoOf(SourceByteReadChannel).c1m = function (cause) {
|
|
2741
|
+
if (!(this.u1v_1 == null))
|
|
2742
2742
|
return Unit_instance;
|
|
2743
|
-
this.
|
|
2743
|
+
this.t1v_1.b4();
|
|
2744
2744
|
var tmp = this;
|
|
2745
2745
|
var tmp1_elvis_lhs = cause == null ? null : cause.message;
|
|
2746
|
-
tmp.
|
|
2746
|
+
tmp.u1v_1 = new CloseToken(IOException_init_$Create$_0(tmp1_elvis_lhs == null ? 'Channel was cancelled' : tmp1_elvis_lhs, cause));
|
|
2747
2747
|
};
|
|
2748
2748
|
function decode(_this__u8e3s4, input, max) {
|
|
2749
2749
|
max = max === VOID ? 2147483647 : max;
|
|
@@ -2837,9 +2837,9 @@
|
|
|
2837
2837
|
return result === -1 ? 0 : result;
|
|
2838
2838
|
}
|
|
2839
2839
|
function readText_0(_this__u8e3s4, charset, max) {
|
|
2840
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2840
|
+
charset = charset === VOID ? Charsets_getInstance().v1v_1 : charset;
|
|
2841
2841
|
max = max === VOID ? 2147483647 : max;
|
|
2842
|
-
if (charset.equals(Charsets_getInstance().
|
|
2842
|
+
if (charset.equals(Charsets_getInstance().v1v_1)) {
|
|
2843
2843
|
if (max === 2147483647)
|
|
2844
2844
|
return readString_0(_this__u8e3s4);
|
|
2845
2845
|
var tmp0 = _this__u8e3s4.xo().u();
|
|
@@ -2848,22 +2848,22 @@
|
|
|
2848
2848
|
var count = compare(tmp0, b) <= 0 ? tmp0 : b;
|
|
2849
2849
|
return readString_1(_this__u8e3s4, count);
|
|
2850
2850
|
}
|
|
2851
|
-
return decode(charset.
|
|
2851
|
+
return decode(charset.y1v(), _this__u8e3s4, max);
|
|
2852
2852
|
}
|
|
2853
2853
|
function toByteArray_0(_this__u8e3s4, charset) {
|
|
2854
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2855
|
-
if (charset.equals(Charsets_getInstance().
|
|
2854
|
+
charset = charset === VOID ? Charsets_getInstance().v1v_1 : charset;
|
|
2855
|
+
if (charset.equals(Charsets_getInstance().v1v_1))
|
|
2856
2856
|
return encodeToByteArray(_this__u8e3s4, VOID, VOID, true);
|
|
2857
|
-
return encodeToByteArray_0(charset.
|
|
2857
|
+
return encodeToByteArray_0(charset.z1v(), _this__u8e3s4, 0, _this__u8e3s4.length);
|
|
2858
2858
|
}
|
|
2859
2859
|
function writeText(_this__u8e3s4, text, fromIndex, toIndex, charset) {
|
|
2860
2860
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
2861
2861
|
toIndex = toIndex === VOID ? charSequenceLength(text) : toIndex;
|
|
2862
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2863
|
-
if (charset === Charsets_getInstance().
|
|
2862
|
+
charset = charset === VOID ? Charsets_getInstance().v1v_1 : charset;
|
|
2863
|
+
if (charset === Charsets_getInstance().v1v_1) {
|
|
2864
2864
|
return writeString(_this__u8e3s4, toString_1(text), fromIndex, toIndex);
|
|
2865
2865
|
}
|
|
2866
|
-
encodeToImpl(charset.
|
|
2866
|
+
encodeToImpl(charset.z1v(), _this__u8e3s4, text, fromIndex, toIndex);
|
|
2867
2867
|
}
|
|
2868
2868
|
function get_ByteArrayPool() {
|
|
2869
2869
|
_init_properties_ByteArrayPool_kt__kfi3uj();
|
|
@@ -2873,7 +2873,7 @@
|
|
|
2873
2873
|
function ByteArrayPool$1() {
|
|
2874
2874
|
DefaultPool.call(this, 128);
|
|
2875
2875
|
}
|
|
2876
|
-
protoOf(ByteArrayPool$1).
|
|
2876
|
+
protoOf(ByteArrayPool$1).d1w = function () {
|
|
2877
2877
|
return new Int8Array(4096);
|
|
2878
2878
|
};
|
|
2879
2879
|
var properties_initialized_ByteArrayPool_kt_td6pfh;
|
|
@@ -2887,7 +2887,7 @@
|
|
|
2887
2887
|
}
|
|
2888
2888
|
function NoPoolImpl() {
|
|
2889
2889
|
}
|
|
2890
|
-
protoOf(NoPoolImpl).
|
|
2890
|
+
protoOf(NoPoolImpl).l1w = function (instance) {
|
|
2891
2891
|
return Unit_instance;
|
|
2892
2892
|
};
|
|
2893
2893
|
protoOf(NoPoolImpl).hv = function () {
|
|
@@ -2895,13 +2895,13 @@
|
|
|
2895
2895
|
};
|
|
2896
2896
|
function Companion_2() {
|
|
2897
2897
|
}
|
|
2898
|
-
protoOf(Companion_2).
|
|
2898
|
+
protoOf(Companion_2).m1w = function (name) {
|
|
2899
2899
|
switch (name) {
|
|
2900
2900
|
case 'UTF-8':
|
|
2901
2901
|
case 'utf-8':
|
|
2902
2902
|
case 'UTF8':
|
|
2903
2903
|
case 'utf8':
|
|
2904
|
-
return Charsets_getInstance().
|
|
2904
|
+
return Charsets_getInstance().v1v_1;
|
|
2905
2905
|
}
|
|
2906
2906
|
var tmp;
|
|
2907
2907
|
var tmp_0;
|
|
@@ -2932,11 +2932,11 @@
|
|
|
2932
2932
|
tmp = name === 'latin1' || name === 'Latin1';
|
|
2933
2933
|
}
|
|
2934
2934
|
if (tmp) {
|
|
2935
|
-
return Charsets_getInstance().
|
|
2935
|
+
return Charsets_getInstance().w1v_1;
|
|
2936
2936
|
}
|
|
2937
2937
|
throw IllegalArgumentException_init_$Create$('Charset ' + name + ' is not supported');
|
|
2938
2938
|
};
|
|
2939
|
-
protoOf(Companion_2).
|
|
2939
|
+
protoOf(Companion_2).n1w = function (charset) {
|
|
2940
2940
|
var tmp;
|
|
2941
2941
|
switch (charset) {
|
|
2942
2942
|
case 'UTF-8':
|
|
@@ -2991,7 +2991,7 @@
|
|
|
2991
2991
|
return Companion_instance_3;
|
|
2992
2992
|
}
|
|
2993
2993
|
function Charset(_name) {
|
|
2994
|
-
this.
|
|
2994
|
+
this.x1v_1 = _name;
|
|
2995
2995
|
}
|
|
2996
2996
|
protoOf(Charset).equals = function (other) {
|
|
2997
2997
|
if (this === other)
|
|
@@ -3000,18 +3000,18 @@
|
|
|
3000
3000
|
return false;
|
|
3001
3001
|
if (!(other instanceof Charset))
|
|
3002
3002
|
THROW_CCE();
|
|
3003
|
-
return this.
|
|
3003
|
+
return this.x1v_1 === other.x1v_1;
|
|
3004
3004
|
};
|
|
3005
3005
|
protoOf(Charset).hashCode = function () {
|
|
3006
|
-
return getStringHashCode(this.
|
|
3006
|
+
return getStringHashCode(this.x1v_1);
|
|
3007
3007
|
};
|
|
3008
3008
|
protoOf(Charset).toString = function () {
|
|
3009
|
-
return this.
|
|
3009
|
+
return this.x1v_1;
|
|
3010
3010
|
};
|
|
3011
3011
|
function Charsets() {
|
|
3012
3012
|
Charsets_instance = this;
|
|
3013
|
-
this.
|
|
3014
|
-
this.
|
|
3013
|
+
this.v1v_1 = new CharsetImpl('UTF-8');
|
|
3014
|
+
this.w1v_1 = new CharsetImpl('ISO-8859-1');
|
|
3015
3015
|
}
|
|
3016
3016
|
var Charsets_instance;
|
|
3017
3017
|
function Charsets_getInstance() {
|
|
@@ -3020,23 +3020,23 @@
|
|
|
3020
3020
|
return Charsets_instance;
|
|
3021
3021
|
}
|
|
3022
3022
|
function CharsetDecoder(_charset) {
|
|
3023
|
-
this.
|
|
3023
|
+
this.o1w_1 = _charset;
|
|
3024
3024
|
}
|
|
3025
3025
|
function MalformedInputException(message) {
|
|
3026
3026
|
IOException_init_$Init$_0(message, this);
|
|
3027
3027
|
captureStack(this, MalformedInputException);
|
|
3028
3028
|
}
|
|
3029
3029
|
function get_name(_this__u8e3s4) {
|
|
3030
|
-
return _this__u8e3s4.
|
|
3030
|
+
return _this__u8e3s4.x1v_1;
|
|
3031
3031
|
}
|
|
3032
3032
|
function isSupported(_this__u8e3s4, name) {
|
|
3033
|
-
return Companion_instance_3.
|
|
3033
|
+
return Companion_instance_3.n1w(name);
|
|
3034
3034
|
}
|
|
3035
3035
|
function forName(_this__u8e3s4, name) {
|
|
3036
|
-
return Companion_instance_3.
|
|
3036
|
+
return Companion_instance_3.m1w(name);
|
|
3037
3037
|
}
|
|
3038
3038
|
function CharsetEncoder(_charset) {
|
|
3039
|
-
this.
|
|
3039
|
+
this.p1w_1 = _charset;
|
|
3040
3040
|
}
|
|
3041
3041
|
function decode_0(_this__u8e3s4, input, dst, max) {
|
|
3042
3042
|
var decoder = Decoder(get_name(get_charset(_this__u8e3s4)), true);
|
|
@@ -3048,7 +3048,7 @@
|
|
|
3048
3048
|
var array = tmp instanceof Int8Array ? tmp : THROW_CCE();
|
|
3049
3049
|
var tmp_0;
|
|
3050
3050
|
try {
|
|
3051
|
-
tmp_0 = decoder.
|
|
3051
|
+
tmp_0 = decoder.q1w(array);
|
|
3052
3052
|
} catch ($p) {
|
|
3053
3053
|
var tmp_1;
|
|
3054
3054
|
if ($p instanceof Error) {
|
|
@@ -3070,11 +3070,11 @@
|
|
|
3070
3070
|
var message = 'Failed requirement.';
|
|
3071
3071
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
3072
3072
|
}
|
|
3073
|
-
if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().
|
|
3073
|
+
if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().w1v_1)) {
|
|
3074
3074
|
return encodeISO88591(input, fromIndex, toIndex, dst);
|
|
3075
3075
|
}
|
|
3076
3076
|
// Inline function 'kotlin.require' call
|
|
3077
|
-
if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().
|
|
3077
|
+
if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().v1v_1)) {
|
|
3078
3078
|
var message_0 = 'Only UTF-8 encoding is supported in JS';
|
|
3079
3079
|
throw IllegalArgumentException_init_$Create$(toString_1(message_0));
|
|
3080
3080
|
}
|
|
@@ -3095,17 +3095,17 @@
|
|
|
3095
3095
|
function CharsetImpl(name) {
|
|
3096
3096
|
Charset.call(this, name);
|
|
3097
3097
|
}
|
|
3098
|
-
protoOf(CharsetImpl).
|
|
3098
|
+
protoOf(CharsetImpl).z1v = function () {
|
|
3099
3099
|
return new CharsetEncoderImpl(this);
|
|
3100
3100
|
};
|
|
3101
|
-
protoOf(CharsetImpl).
|
|
3101
|
+
protoOf(CharsetImpl).y1v = function () {
|
|
3102
3102
|
return new CharsetDecoderImpl(this);
|
|
3103
3103
|
};
|
|
3104
3104
|
function get_charset(_this__u8e3s4) {
|
|
3105
|
-
return _this__u8e3s4.
|
|
3105
|
+
return _this__u8e3s4.o1w_1;
|
|
3106
3106
|
}
|
|
3107
3107
|
function get_charset_0(_this__u8e3s4) {
|
|
3108
|
-
return _this__u8e3s4.
|
|
3108
|
+
return _this__u8e3s4.p1w_1;
|
|
3109
3109
|
}
|
|
3110
3110
|
function encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
3111
3111
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
@@ -3124,39 +3124,39 @@
|
|
|
3124
3124
|
}
|
|
3125
3125
|
function CharsetEncoderImpl(charset) {
|
|
3126
3126
|
CharsetEncoder.call(this, charset);
|
|
3127
|
-
this.
|
|
3127
|
+
this.t1w_1 = charset;
|
|
3128
3128
|
}
|
|
3129
3129
|
protoOf(CharsetEncoderImpl).toString = function () {
|
|
3130
|
-
return 'CharsetEncoderImpl(charset=' + this.
|
|
3130
|
+
return 'CharsetEncoderImpl(charset=' + this.t1w_1.toString() + ')';
|
|
3131
3131
|
};
|
|
3132
3132
|
protoOf(CharsetEncoderImpl).hashCode = function () {
|
|
3133
|
-
return this.
|
|
3133
|
+
return this.t1w_1.hashCode();
|
|
3134
3134
|
};
|
|
3135
3135
|
protoOf(CharsetEncoderImpl).equals = function (other) {
|
|
3136
3136
|
if (this === other)
|
|
3137
3137
|
return true;
|
|
3138
3138
|
if (!(other instanceof CharsetEncoderImpl))
|
|
3139
3139
|
return false;
|
|
3140
|
-
if (!this.
|
|
3140
|
+
if (!this.t1w_1.equals(other.t1w_1))
|
|
3141
3141
|
return false;
|
|
3142
3142
|
return true;
|
|
3143
3143
|
};
|
|
3144
3144
|
function CharsetDecoderImpl(charset) {
|
|
3145
3145
|
CharsetDecoder.call(this, charset);
|
|
3146
|
-
this.
|
|
3146
|
+
this.v1w_1 = charset;
|
|
3147
3147
|
}
|
|
3148
3148
|
protoOf(CharsetDecoderImpl).toString = function () {
|
|
3149
|
-
return 'CharsetDecoderImpl(charset=' + this.
|
|
3149
|
+
return 'CharsetDecoderImpl(charset=' + this.v1w_1.toString() + ')';
|
|
3150
3150
|
};
|
|
3151
3151
|
protoOf(CharsetDecoderImpl).hashCode = function () {
|
|
3152
|
-
return this.
|
|
3152
|
+
return this.v1w_1.hashCode();
|
|
3153
3153
|
};
|
|
3154
3154
|
protoOf(CharsetDecoderImpl).equals = function (other) {
|
|
3155
3155
|
if (this === other)
|
|
3156
3156
|
return true;
|
|
3157
3157
|
if (!(other instanceof CharsetDecoderImpl))
|
|
3158
3158
|
return false;
|
|
3159
|
-
if (!this.
|
|
3159
|
+
if (!this.v1w_1.equals(other.v1w_1))
|
|
3160
3160
|
return false;
|
|
3161
3161
|
return true;
|
|
3162
3162
|
};
|
|
@@ -3190,10 +3190,10 @@
|
|
|
3190
3190
|
return this_0;
|
|
3191
3191
|
}
|
|
3192
3192
|
function toKtor$1($this_toKtor) {
|
|
3193
|
-
this.
|
|
3193
|
+
this.w1w_1 = $this_toKtor;
|
|
3194
3194
|
}
|
|
3195
|
-
protoOf(toKtor$1).
|
|
3196
|
-
return this.
|
|
3195
|
+
protoOf(toKtor$1).q1w = function (buffer) {
|
|
3196
|
+
return this.w1w_1.decode(buffer);
|
|
3197
3197
|
};
|
|
3198
3198
|
function get_ENCODING_ALIASES() {
|
|
3199
3199
|
_init_properties_TextDecoderFallback_js_kt__an7r6m();
|
|
@@ -3206,7 +3206,7 @@
|
|
|
3206
3206
|
}
|
|
3207
3207
|
var REPLACEMENT;
|
|
3208
3208
|
function TextDecoderFallback(encoding, fatal) {
|
|
3209
|
-
this.
|
|
3209
|
+
this.x1w_1 = fatal;
|
|
3210
3210
|
// Inline function 'kotlin.text.trim' call
|
|
3211
3211
|
// Inline function 'kotlin.text.lowercase' call
|
|
3212
3212
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3217,7 +3217,7 @@
|
|
|
3217
3217
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3218
3218
|
}
|
|
3219
3219
|
}
|
|
3220
|
-
protoOf(TextDecoderFallback).
|
|
3220
|
+
protoOf(TextDecoderFallback).q1w = function (buffer) {
|
|
3221
3221
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
3222
3222
|
var builder = new Buffer();
|
|
3223
3223
|
var bytes = buffer instanceof Int8Array ? buffer : THROW_CCE();
|
|
@@ -3233,7 +3233,7 @@
|
|
|
3233
3233
|
var point = toCodePoint(byte);
|
|
3234
3234
|
if (point < 0) {
|
|
3235
3235
|
// Inline function 'kotlin.check' call
|
|
3236
|
-
if (!!this.
|
|
3236
|
+
if (!!this.x1w_1) {
|
|
3237
3237
|
var message = 'Invalid character: ' + point;
|
|
3238
3238
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3239
3239
|
}
|
|
@@ -3311,64 +3311,64 @@
|
|
|
3311
3311
|
}
|
|
3312
3312
|
}
|
|
3313
3313
|
function DefaultPool(capacity) {
|
|
3314
|
-
this.
|
|
3314
|
+
this.e1w_1 = capacity;
|
|
3315
3315
|
var tmp = this;
|
|
3316
3316
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3317
|
-
var size = this.
|
|
3318
|
-
tmp.
|
|
3319
|
-
this.
|
|
3317
|
+
var size = this.e1w_1;
|
|
3318
|
+
tmp.f1w_1 = Array(size);
|
|
3319
|
+
this.g1w_1 = 0;
|
|
3320
3320
|
}
|
|
3321
|
-
protoOf(DefaultPool).
|
|
3321
|
+
protoOf(DefaultPool).h1w = function (instance) {
|
|
3322
3322
|
};
|
|
3323
|
-
protoOf(DefaultPool).
|
|
3323
|
+
protoOf(DefaultPool).i1w = function (instance) {
|
|
3324
3324
|
return instance;
|
|
3325
3325
|
};
|
|
3326
|
-
protoOf(DefaultPool).
|
|
3326
|
+
protoOf(DefaultPool).j1w = function (instance) {
|
|
3327
3327
|
};
|
|
3328
|
-
protoOf(DefaultPool).
|
|
3329
|
-
if (this.
|
|
3330
|
-
return this.
|
|
3331
|
-
this.
|
|
3332
|
-
var idx = this.
|
|
3333
|
-
var tmp = this.
|
|
3328
|
+
protoOf(DefaultPool).k1w = function () {
|
|
3329
|
+
if (this.g1w_1 === 0)
|
|
3330
|
+
return this.d1w();
|
|
3331
|
+
this.g1w_1 = this.g1w_1 - 1 | 0;
|
|
3332
|
+
var idx = this.g1w_1;
|
|
3333
|
+
var tmp = this.f1w_1[idx];
|
|
3334
3334
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3335
|
-
this.
|
|
3336
|
-
return this.
|
|
3335
|
+
this.f1w_1[idx] = null;
|
|
3336
|
+
return this.i1w(instance);
|
|
3337
3337
|
};
|
|
3338
|
-
protoOf(DefaultPool).
|
|
3339
|
-
this.
|
|
3340
|
-
if (this.
|
|
3341
|
-
this.
|
|
3338
|
+
protoOf(DefaultPool).l1w = function (instance) {
|
|
3339
|
+
this.j1w(instance);
|
|
3340
|
+
if (this.g1w_1 === this.e1w_1) {
|
|
3341
|
+
this.h1w(instance);
|
|
3342
3342
|
} else {
|
|
3343
|
-
var _unary__edvuaz = this.
|
|
3344
|
-
this.
|
|
3345
|
-
this.
|
|
3343
|
+
var _unary__edvuaz = this.g1w_1;
|
|
3344
|
+
this.g1w_1 = _unary__edvuaz + 1 | 0;
|
|
3345
|
+
this.f1w_1[_unary__edvuaz] = instance;
|
|
3346
3346
|
}
|
|
3347
3347
|
};
|
|
3348
3348
|
protoOf(DefaultPool).hv = function () {
|
|
3349
3349
|
var inductionVariable = 0;
|
|
3350
|
-
var last = this.
|
|
3350
|
+
var last = this.g1w_1;
|
|
3351
3351
|
if (inductionVariable < last)
|
|
3352
3352
|
do {
|
|
3353
3353
|
var i = inductionVariable;
|
|
3354
3354
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3355
|
-
var tmp = this.
|
|
3355
|
+
var tmp = this.f1w_1[i];
|
|
3356
3356
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3357
|
-
this.
|
|
3358
|
-
this.
|
|
3357
|
+
this.f1w_1[i] = null;
|
|
3358
|
+
this.h1w(instance);
|
|
3359
3359
|
}
|
|
3360
3360
|
while (inductionVariable < last);
|
|
3361
|
-
this.
|
|
3361
|
+
this.g1w_1 = 0;
|
|
3362
3362
|
};
|
|
3363
3363
|
//region block: post-declaration
|
|
3364
|
-
protoOf(Read).
|
|
3365
|
-
protoOf(Read).
|
|
3366
|
-
protoOf(Write).
|
|
3367
|
-
protoOf(Write).
|
|
3368
|
-
protoOf(ByteChannel).
|
|
3369
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
3370
|
-
protoOf(CountedByteReadChannel).
|
|
3371
|
-
protoOf(SourceByteReadChannel).
|
|
3364
|
+
protoOf(Read).u1j = resume;
|
|
3365
|
+
protoOf(Read).v1j = resume_0;
|
|
3366
|
+
protoOf(Write).u1j = resume;
|
|
3367
|
+
protoOf(Write).v1j = resume_0;
|
|
3368
|
+
protoOf(ByteChannel).a1m = awaitContent$default;
|
|
3369
|
+
protoOf(ByteReadChannel$Companion$Empty$1).a1m = awaitContent$default;
|
|
3370
|
+
protoOf(CountedByteReadChannel).a1m = awaitContent$default;
|
|
3371
|
+
protoOf(SourceByteReadChannel).a1m = awaitContent$default;
|
|
3372
3372
|
protoOf(DefaultPool).b4 = close;
|
|
3373
3373
|
protoOf(NoPoolImpl).b4 = close;
|
|
3374
3374
|
//endregion
|