@doordeck/doordeck-headless-sdk 0.93.0 → 0.95.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/Kotlin-DateTime-library-kotlinx-datetime.js +1472 -1472
- package/kotlin/KotlinMultiplatformLibsodium-multiplatform-crypto-libsodium-bindings.js +27 -27
- package/kotlin/MultiplatformSettings-multiplatform-settings.js +20 -8
- package/kotlin/doordeck-sdk.d.ts +10 -4
- package/kotlin/doordeck-sdk.js +9771 -9676
- package/kotlin/kotlin-kotlin-stdlib.js +871 -732
- package/kotlin/kotlinx-atomicfu.js +18 -18
- package/kotlin/kotlinx-coroutines-core.js +2595 -1845
- package/kotlin/kotlinx-io-kotlinx-io-bytestring.js +42 -42
- package/kotlin/kotlinx-io-kotlinx-io-core.js +447 -447
- package/kotlin/kotlinx-serialization-kotlinx-serialization-core.js +1818 -1818
- package/kotlin/kotlinx-serialization-kotlinx-serialization-json.js +1424 -1424
- package/kotlin/ktor-ktor-client-ktor-client-core.js +1898 -1898
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-auth.js +411 -323
- package/kotlin/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.js +156 -156
- package/kotlin/ktor-ktor-http-ktor-http-cio.js +603 -363
- package/kotlin/ktor-ktor-http.js +754 -754
- package/kotlin/ktor-ktor-io.js +629 -629
- package/kotlin/ktor-ktor-shared-ktor-events.js +12 -12
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.js +7 -7
- package/kotlin/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.js +158 -158
- package/kotlin/ktor-ktor-shared-ktor-serialization.js +78 -78
- package/kotlin/ktor-ktor-shared-ktor-websockets.js +52 -52
- package/kotlin/ktor-ktor-utils.js +627 -603
- package/package.json +4 -4
package/kotlin/ktor-ktor-io.js
CHANGED
|
@@ -4,85 +4,85 @@
|
|
|
4
4
|
var Companion_instance = kotlin_kotlin.$_$.f5;
|
|
5
5
|
var Unit_instance = kotlin_kotlin.$_$.k5;
|
|
6
6
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.b3;
|
|
7
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
8
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
9
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
10
|
-
var initMetadataForObject = kotlin_kotlin.$_$.
|
|
11
|
-
var toString = kotlin_kotlin.$_$.
|
|
12
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
13
|
-
var equals = kotlin_kotlin.$_$.
|
|
14
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
15
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
16
|
-
var Result = kotlin_kotlin.$_$.
|
|
17
|
-
var initMetadataForInterface = kotlin_kotlin.$_$.
|
|
18
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
19
|
-
var newThrowable = kotlin_kotlin.$_$.
|
|
20
|
-
var stackTraceToString = kotlin_kotlin.$_$.
|
|
7
|
+
var protoOf = kotlin_kotlin.$_$.ub;
|
|
8
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.ta;
|
|
9
|
+
var THROW_CCE = kotlin_kotlin.$_$.sf;
|
|
10
|
+
var initMetadataForObject = kotlin_kotlin.$_$.ya;
|
|
11
|
+
var toString = kotlin_kotlin.$_$.vg;
|
|
12
|
+
var hashCode = kotlin_kotlin.$_$.ra;
|
|
13
|
+
var equals = kotlin_kotlin.$_$.la;
|
|
14
|
+
var initMetadataForClass = kotlin_kotlin.$_$.sa;
|
|
15
|
+
var createFailure = kotlin_kotlin.$_$.jg;
|
|
16
|
+
var Result = kotlin_kotlin.$_$.qf;
|
|
17
|
+
var initMetadataForInterface = kotlin_kotlin.$_$.wa;
|
|
18
|
+
var toString_0 = kotlin_kotlin.$_$.ne;
|
|
19
|
+
var newThrowable = kotlin_kotlin.$_$.nb;
|
|
20
|
+
var stackTraceToString = kotlin_kotlin.$_$.tg;
|
|
21
21
|
var VOID = kotlin_kotlin.$_$.h;
|
|
22
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
23
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
24
|
-
var toLong = kotlin_kotlin.$_$.
|
|
25
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
26
|
-
var intercepted = kotlin_kotlin.$_$.
|
|
27
|
-
var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
28
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
22
|
+
var isInterface = kotlin_kotlin.$_$.hb;
|
|
23
|
+
var CoroutineImpl = kotlin_kotlin.$_$.v9;
|
|
24
|
+
var toLong = kotlin_kotlin.$_$.wb;
|
|
25
|
+
var numberToLong = kotlin_kotlin.$_$.sb;
|
|
26
|
+
var intercepted = kotlin_kotlin.$_$.i9;
|
|
27
|
+
var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
|
|
28
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.rg;
|
|
29
29
|
var returnIfSuspended = kotlin_kotlin.$_$.m;
|
|
30
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
31
|
-
var Long = kotlin_kotlin.$_$.
|
|
32
|
-
var initMetadataForCoroutine = kotlin_kotlin.$_$.
|
|
30
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.f9;
|
|
31
|
+
var Long = kotlin_kotlin.$_$.mf;
|
|
32
|
+
var initMetadataForCoroutine = kotlin_kotlin.$_$.ua;
|
|
33
33
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
34
34
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
|
|
35
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
35
|
+
var IllegalStateException = kotlin_kotlin.$_$.lf;
|
|
36
36
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.b2;
|
|
37
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
37
|
+
var captureStack = kotlin_kotlin.$_$.da;
|
|
38
38
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
39
39
|
var decodeToString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.d;
|
|
40
|
-
var replace = kotlin_kotlin.$_$.
|
|
40
|
+
var replace = kotlin_kotlin.$_$.qd;
|
|
41
41
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
42
42
|
var readString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.n;
|
|
43
|
-
var closeFinally = kotlin_kotlin.$_$.
|
|
44
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
43
|
+
var closeFinally = kotlin_kotlin.$_$.hg;
|
|
44
|
+
var toString_1 = kotlin_kotlin.$_$.yb;
|
|
45
45
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a2;
|
|
46
46
|
var readByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.k;
|
|
47
47
|
var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.s4;
|
|
48
|
-
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
49
|
-
var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
50
|
-
var startCoroutineCancellable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
51
|
-
var Continuation = kotlin_kotlin.$_$.
|
|
52
|
-
var initMetadataForFunctionReference = kotlin_kotlin.$_$.
|
|
53
|
-
var get_job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
54
|
-
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
55
|
-
var cancel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
56
|
-
var initMetadataForLambda = kotlin_kotlin.$_$.
|
|
48
|
+
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
|
|
49
|
+
var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j1;
|
|
50
|
+
var startCoroutineCancellable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p;
|
|
51
|
+
var Continuation = kotlin_kotlin.$_$.p9;
|
|
52
|
+
var initMetadataForFunctionReference = kotlin_kotlin.$_$.va;
|
|
53
|
+
var get_job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i1;
|
|
54
|
+
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
|
|
55
|
+
var cancel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h1;
|
|
56
|
+
var initMetadataForLambda = kotlin_kotlin.$_$.xa;
|
|
57
57
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.f1;
|
|
58
|
-
var CancellationException = kotlin_kotlin.$_$.
|
|
59
|
-
var CopyableThrowable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
58
|
+
var CancellationException = kotlin_kotlin.$_$.e9;
|
|
59
|
+
var CopyableThrowable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
|
|
60
60
|
var readString_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.l;
|
|
61
61
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
62
62
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.d;
|
|
63
63
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
64
|
-
var listOf = kotlin_kotlin.$_$.
|
|
64
|
+
var listOf = kotlin_kotlin.$_$.w7;
|
|
65
65
|
var IOException_init_$Create$_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.e;
|
|
66
66
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
67
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
67
|
+
var charSequenceLength = kotlin_kotlin.$_$.ha;
|
|
68
68
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.i;
|
|
69
|
-
var encodeToByteArray = kotlin_kotlin.$_$.
|
|
69
|
+
var encodeToByteArray = kotlin_kotlin.$_$.wc;
|
|
70
70
|
var readString_1 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.m;
|
|
71
71
|
var writeString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.o;
|
|
72
|
-
var AutoCloseable = kotlin_kotlin.$_$.
|
|
72
|
+
var AutoCloseable = kotlin_kotlin.$_$.af;
|
|
73
73
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.t2;
|
|
74
|
-
var replace_0 = kotlin_kotlin.$_$.
|
|
74
|
+
var replace_0 = kotlin_kotlin.$_$.rd;
|
|
75
75
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.w1;
|
|
76
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
76
|
+
var getStringHashCode = kotlin_kotlin.$_$.qa;
|
|
77
77
|
var IOException_init_$Init$_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
78
78
|
var readByteArray_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.j;
|
|
79
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
80
|
-
var isCharSequence = kotlin_kotlin.$_$.
|
|
81
|
-
var trim = kotlin_kotlin.$_$.
|
|
82
|
-
var toByte = kotlin_kotlin.$_$.
|
|
83
|
-
var decodeToString_0 = kotlin_kotlin.$_$.
|
|
84
|
-
var setOf = kotlin_kotlin.$_$.
|
|
85
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
79
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.ia;
|
|
80
|
+
var isCharSequence = kotlin_kotlin.$_$.db;
|
|
81
|
+
var trim = kotlin_kotlin.$_$.ve;
|
|
82
|
+
var toByte = kotlin_kotlin.$_$.vb;
|
|
83
|
+
var decodeToString_0 = kotlin_kotlin.$_$.uc;
|
|
84
|
+
var setOf = kotlin_kotlin.$_$.j8;
|
|
85
|
+
var charSequenceGet = kotlin_kotlin.$_$.ga;
|
|
86
86
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.z2;
|
|
87
87
|
//endregion
|
|
88
88
|
//region block: pre-declaration
|
|
@@ -90,10 +90,10 @@
|
|
|
90
90
|
initMetadataForObject(Empty, 'Empty');
|
|
91
91
|
initMetadataForClass(Closed, 'Closed');
|
|
92
92
|
function resume() {
|
|
93
|
-
return this.
|
|
93
|
+
return this.m1j().r9(Companion_getInstance().j1j_1);
|
|
94
94
|
}
|
|
95
95
|
function resume_0(throwable) {
|
|
96
|
-
var tmp = this.
|
|
96
|
+
var tmp = this.m1j();
|
|
97
97
|
var tmp_0;
|
|
98
98
|
if (throwable == null) {
|
|
99
99
|
tmp_0 = null;
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
tmp_0 = new Result(tmp$ret$2);
|
|
105
105
|
}
|
|
106
106
|
var tmp1_elvis_lhs = tmp_0;
|
|
107
|
-
return tmp.r9(tmp1_elvis_lhs == null ? Companion_getInstance().
|
|
107
|
+
return tmp.r9(tmp1_elvis_lhs == null ? Companion_getInstance().j1j_1 : tmp1_elvis_lhs.pl_1);
|
|
108
108
|
}
|
|
109
109
|
initMetadataForInterface(Task, 'Task');
|
|
110
110
|
initMetadataForClass(Read, 'Read', VOID, VOID, [Task]);
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
initMetadataForCoroutine($flushAndCloseCOROUTINE$2, CoroutineImpl);
|
|
115
115
|
function awaitContent$default(min, $completion, $super) {
|
|
116
116
|
min = min === VOID ? 1 : min;
|
|
117
|
-
return $super === VOID ? this.
|
|
117
|
+
return $super === VOID ? this.y1l(min, $completion) : $super.y1l.call(this, min, $completion);
|
|
118
118
|
}
|
|
119
119
|
initMetadataForInterface(ByteReadChannel_1, 'ByteReadChannel', VOID, VOID, VOID, [1]);
|
|
120
120
|
initMetadataForClass(ByteChannel, 'ByteChannel', ByteChannel, VOID, [ByteReadChannel_1], [1, 0]);
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
initMetadataForClass(MalformedInputException, 'MalformedInputException', VOID, IOException);
|
|
154
154
|
initMetadataForClass(TooLongLineException, 'TooLongLineException', VOID, MalformedInputException);
|
|
155
155
|
function close() {
|
|
156
|
-
this.
|
|
156
|
+
this.os();
|
|
157
157
|
}
|
|
158
158
|
initMetadataForInterface(ObjectPool, 'ObjectPool', VOID, VOID, [AutoCloseable]);
|
|
159
159
|
initMetadataForClass(DefaultPool, 'DefaultPool', VOID, VOID, [ObjectPool]);
|
|
@@ -172,10 +172,10 @@
|
|
|
172
172
|
//endregion
|
|
173
173
|
function Companion() {
|
|
174
174
|
Companion_instance_0 = this;
|
|
175
|
-
this.
|
|
175
|
+
this.i1j_1 = new Closed(null);
|
|
176
176
|
var tmp = this;
|
|
177
177
|
// Inline function 'kotlin.Companion.success' call
|
|
178
|
-
tmp.
|
|
178
|
+
tmp.j1j_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
179
179
|
}
|
|
180
180
|
var Companion_instance_0;
|
|
181
181
|
function Companion_getInstance() {
|
|
@@ -204,13 +204,13 @@
|
|
|
204
204
|
return Empty_instance;
|
|
205
205
|
}
|
|
206
206
|
function Closed(cause) {
|
|
207
|
-
this.
|
|
207
|
+
this.k1j_1 = cause;
|
|
208
208
|
}
|
|
209
209
|
protoOf(Closed).toString = function () {
|
|
210
|
-
return 'Closed(cause=' + toString(this.
|
|
210
|
+
return 'Closed(cause=' + toString(this.k1j_1) + ')';
|
|
211
211
|
};
|
|
212
212
|
protoOf(Closed).hashCode = function () {
|
|
213
|
-
return this.
|
|
213
|
+
return this.k1j_1 == null ? 0 : hashCode(this.k1j_1);
|
|
214
214
|
};
|
|
215
215
|
protoOf(Closed).equals = function (other) {
|
|
216
216
|
if (this === other)
|
|
@@ -218,74 +218,74 @@
|
|
|
218
218
|
if (!(other instanceof Closed))
|
|
219
219
|
return false;
|
|
220
220
|
var tmp0_other_with_cast = other instanceof Closed ? other : THROW_CCE();
|
|
221
|
-
if (!equals(this.
|
|
221
|
+
if (!equals(this.k1j_1, tmp0_other_with_cast.k1j_1))
|
|
222
222
|
return false;
|
|
223
223
|
return true;
|
|
224
224
|
};
|
|
225
225
|
function Task() {
|
|
226
226
|
}
|
|
227
227
|
function Read(continuation) {
|
|
228
|
-
this.
|
|
229
|
-
this.
|
|
228
|
+
this.q1j_1 = continuation;
|
|
229
|
+
this.r1j_1 = null;
|
|
230
230
|
if (get_DEVELOPMENT_MODE()) {
|
|
231
231
|
var tmp = this;
|
|
232
232
|
// Inline function 'kotlin.also' call
|
|
233
|
-
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.
|
|
233
|
+
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.q1j_1), 16));
|
|
234
234
|
stackTraceToString(this_0);
|
|
235
|
-
tmp.
|
|
235
|
+
tmp.r1j_1 = this_0;
|
|
236
236
|
}
|
|
237
237
|
}
|
|
238
|
-
protoOf(Read).
|
|
239
|
-
return this.
|
|
238
|
+
protoOf(Read).m1j = function () {
|
|
239
|
+
return this.q1j_1;
|
|
240
240
|
};
|
|
241
|
-
protoOf(Read).
|
|
242
|
-
return this.
|
|
241
|
+
protoOf(Read).l1j = function () {
|
|
242
|
+
return this.r1j_1;
|
|
243
243
|
};
|
|
244
|
-
protoOf(Read).
|
|
244
|
+
protoOf(Read).n1j = function () {
|
|
245
245
|
return 'read';
|
|
246
246
|
};
|
|
247
247
|
function Write(continuation) {
|
|
248
|
-
this.
|
|
249
|
-
this.
|
|
248
|
+
this.s1j_1 = continuation;
|
|
249
|
+
this.t1j_1 = null;
|
|
250
250
|
if (get_DEVELOPMENT_MODE()) {
|
|
251
251
|
var tmp = this;
|
|
252
252
|
// Inline function 'kotlin.also' call
|
|
253
|
-
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.
|
|
253
|
+
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.s1j_1), 16));
|
|
254
254
|
stackTraceToString(this_0);
|
|
255
|
-
tmp.
|
|
255
|
+
tmp.t1j_1 = this_0;
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
|
-
protoOf(Write).
|
|
259
|
-
return this.
|
|
258
|
+
protoOf(Write).m1j = function () {
|
|
259
|
+
return this.s1j_1;
|
|
260
260
|
};
|
|
261
|
-
protoOf(Write).
|
|
262
|
-
return this.
|
|
261
|
+
protoOf(Write).l1j = function () {
|
|
262
|
+
return this.t1j_1;
|
|
263
263
|
};
|
|
264
|
-
protoOf(Write).
|
|
264
|
+
protoOf(Write).n1j = function () {
|
|
265
265
|
return 'write';
|
|
266
266
|
};
|
|
267
267
|
function moveFlushToReadBuffer($this) {
|
|
268
268
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
269
|
-
$this.
|
|
270
|
-
$this.
|
|
271
|
-
$this.
|
|
269
|
+
$this.x1j_1;
|
|
270
|
+
$this.v1j_1.n1h($this.z1j_1);
|
|
271
|
+
$this.w1j_1 = 0;
|
|
272
272
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
273
|
-
var current = $this.
|
|
273
|
+
var current = $this.y1j_1.kotlinx$atomicfu$value;
|
|
274
274
|
var tmp;
|
|
275
275
|
if (current instanceof Write) {
|
|
276
|
-
tmp = $this.
|
|
276
|
+
tmp = $this.y1j_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
277
277
|
} else {
|
|
278
278
|
tmp = false;
|
|
279
279
|
}
|
|
280
280
|
if (tmp) {
|
|
281
|
-
current.
|
|
281
|
+
current.o1j();
|
|
282
282
|
}
|
|
283
283
|
}
|
|
284
284
|
function closeSlot($this, cause) {
|
|
285
|
-
var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().
|
|
286
|
-
var continuation = $this.
|
|
285
|
+
var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().i1j_1;
|
|
286
|
+
var continuation = $this.y1j_1.atomicfu$getAndSet(closeContinuation);
|
|
287
287
|
if (isInterface(continuation, Task)) {
|
|
288
|
-
continuation.
|
|
288
|
+
continuation.p1j(cause);
|
|
289
289
|
}
|
|
290
290
|
}
|
|
291
291
|
function ClosedReadChannelException$_init_$ref_ix0089() {
|
|
@@ -304,8 +304,8 @@
|
|
|
304
304
|
}
|
|
305
305
|
function $awaitContentCOROUTINE$0(_this__u8e3s4, min, resultContinuation) {
|
|
306
306
|
CoroutineImpl.call(this, resultContinuation);
|
|
307
|
-
this.
|
|
308
|
-
this.
|
|
307
|
+
this.k1k_1 = _this__u8e3s4;
|
|
308
|
+
this.l1k_1 = min;
|
|
309
309
|
}
|
|
310
310
|
protoOf($awaitContentCOROUTINE$0).o9 = function () {
|
|
311
311
|
var suspendResult = this.i9_1;
|
|
@@ -315,41 +315,41 @@
|
|
|
315
315
|
switch (tmp) {
|
|
316
316
|
case 0:
|
|
317
317
|
this.h9_1 = 4;
|
|
318
|
-
rethrowCloseCauseIfNeeded_1(this.
|
|
319
|
-
if (this.
|
|
318
|
+
rethrowCloseCauseIfNeeded_1(this.k1k_1);
|
|
319
|
+
if (this.k1k_1.z1j_1.s().e1(toLong(this.l1k_1)) >= 0)
|
|
320
320
|
return true;
|
|
321
321
|
var tmp_0 = this;
|
|
322
|
-
tmp_0.
|
|
323
|
-
this.
|
|
322
|
+
tmp_0.m1k_1 = this.k1k_1;
|
|
323
|
+
this.n1k_1 = this.m1k_1;
|
|
324
324
|
this.g9_1 = 1;
|
|
325
325
|
continue $sm;
|
|
326
326
|
case 1:
|
|
327
|
-
if (!(numberToLong(this.
|
|
327
|
+
if (!(numberToLong(this.k1k_1.w1j_1).z2(this.k1k_1.z1j_1.s()).e1(toLong(this.l1k_1)) < 0 && this.k1k_1.b1k_1.kotlinx$atomicfu$value == null)) {
|
|
328
328
|
this.g9_1 = 3;
|
|
329
329
|
continue $sm;
|
|
330
330
|
}
|
|
331
331
|
|
|
332
332
|
this.g9_1 = 2;
|
|
333
333
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
334
|
-
cancellable.
|
|
335
|
-
var tmp0 = this.
|
|
334
|
+
cancellable.qt();
|
|
335
|
+
var tmp0 = this.n1k_1;
|
|
336
336
|
var tmp1 = new Read(cancellable);
|
|
337
337
|
l$ret$1: do {
|
|
338
|
-
var previous = tmp0.
|
|
338
|
+
var previous = tmp0.y1j_1.kotlinx$atomicfu$value;
|
|
339
339
|
if (!(previous instanceof Closed)) {
|
|
340
|
-
if (!tmp0.
|
|
341
|
-
tmp1.
|
|
340
|
+
if (!tmp0.y1j_1.atomicfu$compareAndSet(previous, tmp1)) {
|
|
341
|
+
tmp1.o1j();
|
|
342
342
|
break l$ret$1;
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
345
|
if (previous instanceof Read) {
|
|
346
|
-
previous.
|
|
346
|
+
previous.p1j(new ConcurrentIOException(tmp1.n1j(), previous.l1j()));
|
|
347
347
|
} else {
|
|
348
348
|
if (isInterface(previous, Task)) {
|
|
349
|
-
previous.
|
|
349
|
+
previous.o1j();
|
|
350
350
|
} else {
|
|
351
351
|
if (previous instanceof Closed) {
|
|
352
|
-
tmp1.
|
|
352
|
+
tmp1.p1j(previous.k1j_1);
|
|
353
353
|
break l$ret$1;
|
|
354
354
|
} else {
|
|
355
355
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -358,21 +358,21 @@
|
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
}
|
|
361
|
-
if (!(numberToLong(this.
|
|
362
|
-
var current = tmp0.
|
|
361
|
+
if (!(numberToLong(this.k1k_1.w1j_1).z2(this.k1k_1.z1j_1.s()).e1(toLong(this.l1k_1)) < 0 && this.k1k_1.b1k_1.kotlinx$atomicfu$value == null)) {
|
|
362
|
+
var current = tmp0.y1j_1.kotlinx$atomicfu$value;
|
|
363
363
|
var tmp_1;
|
|
364
364
|
if (current instanceof Read) {
|
|
365
|
-
tmp_1 = tmp0.
|
|
365
|
+
tmp_1 = tmp0.y1j_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
366
366
|
} else {
|
|
367
367
|
tmp_1 = false;
|
|
368
368
|
}
|
|
369
369
|
if (tmp_1) {
|
|
370
|
-
current.
|
|
370
|
+
current.o1j();
|
|
371
371
|
}
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
374
|
while (false);
|
|
375
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
375
|
+
suspendResult = returnIfSuspended(cancellable.uq(), this);
|
|
376
376
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
377
377
|
return suspendResult;
|
|
378
378
|
}
|
|
@@ -382,11 +382,11 @@
|
|
|
382
382
|
this.g9_1 = 1;
|
|
383
383
|
continue $sm;
|
|
384
384
|
case 3:
|
|
385
|
-
if (this.
|
|
386
|
-
moveFlushToReadBuffer(this.
|
|
385
|
+
if (this.k1k_1.z1j_1.s().e1(new Long(1048576, 0)) < 0) {
|
|
386
|
+
moveFlushToReadBuffer(this.k1k_1);
|
|
387
387
|
}
|
|
388
388
|
|
|
389
|
-
return this.
|
|
389
|
+
return this.k1k_1.z1j_1.s().e1(toLong(this.l1k_1)) >= 0;
|
|
390
390
|
case 4:
|
|
391
391
|
throw this.j9_1;
|
|
392
392
|
}
|
|
@@ -403,7 +403,7 @@
|
|
|
403
403
|
};
|
|
404
404
|
function $flushCOROUTINE$1(_this__u8e3s4, resultContinuation) {
|
|
405
405
|
CoroutineImpl.call(this, resultContinuation);
|
|
406
|
-
this.
|
|
406
|
+
this.w1k_1 = _this__u8e3s4;
|
|
407
407
|
}
|
|
408
408
|
protoOf($flushCOROUTINE$1).o9 = function () {
|
|
409
409
|
var suspendResult = this.i9_1;
|
|
@@ -413,42 +413,42 @@
|
|
|
413
413
|
switch (tmp) {
|
|
414
414
|
case 0:
|
|
415
415
|
this.h9_1 = 4;
|
|
416
|
-
rethrowCloseCauseIfNeeded_1(this.
|
|
417
|
-
this.
|
|
418
|
-
if (this.
|
|
416
|
+
rethrowCloseCauseIfNeeded_1(this.w1k_1);
|
|
417
|
+
this.w1k_1.z1k();
|
|
418
|
+
if (this.w1k_1.w1j_1 < 1048576)
|
|
419
419
|
return Unit_instance;
|
|
420
420
|
var tmp_0 = this;
|
|
421
|
-
tmp_0.
|
|
422
|
-
this.
|
|
421
|
+
tmp_0.x1k_1 = this.w1k_1;
|
|
422
|
+
this.y1k_1 = this.x1k_1;
|
|
423
423
|
this.g9_1 = 1;
|
|
424
424
|
continue $sm;
|
|
425
425
|
case 1:
|
|
426
|
-
if (!(this.
|
|
426
|
+
if (!(this.w1k_1.w1j_1 >= 1048576 && this.w1k_1.b1k_1.kotlinx$atomicfu$value == null)) {
|
|
427
427
|
this.g9_1 = 3;
|
|
428
428
|
continue $sm;
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
this.g9_1 = 2;
|
|
432
432
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
433
|
-
cancellable.
|
|
434
|
-
var tmp0 = this.
|
|
433
|
+
cancellable.qt();
|
|
434
|
+
var tmp0 = this.y1k_1;
|
|
435
435
|
var tmp1 = new Write(cancellable);
|
|
436
436
|
l$ret$1: do {
|
|
437
|
-
var previous = tmp0.
|
|
437
|
+
var previous = tmp0.y1j_1.kotlinx$atomicfu$value;
|
|
438
438
|
if (!(previous instanceof Closed)) {
|
|
439
|
-
if (!tmp0.
|
|
440
|
-
tmp1.
|
|
439
|
+
if (!tmp0.y1j_1.atomicfu$compareAndSet(previous, tmp1)) {
|
|
440
|
+
tmp1.o1j();
|
|
441
441
|
break l$ret$1;
|
|
442
442
|
}
|
|
443
443
|
}
|
|
444
444
|
if (previous instanceof Write) {
|
|
445
|
-
previous.
|
|
445
|
+
previous.p1j(new ConcurrentIOException(tmp1.n1j(), previous.l1j()));
|
|
446
446
|
} else {
|
|
447
447
|
if (isInterface(previous, Task)) {
|
|
448
|
-
previous.
|
|
448
|
+
previous.o1j();
|
|
449
449
|
} else {
|
|
450
450
|
if (previous instanceof Closed) {
|
|
451
|
-
tmp1.
|
|
451
|
+
tmp1.p1j(previous.k1j_1);
|
|
452
452
|
break l$ret$1;
|
|
453
453
|
} else {
|
|
454
454
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -457,21 +457,21 @@
|
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
|
-
if (!(this.
|
|
461
|
-
var current = tmp0.
|
|
460
|
+
if (!(this.w1k_1.w1j_1 >= 1048576 && this.w1k_1.b1k_1.kotlinx$atomicfu$value == null)) {
|
|
461
|
+
var current = tmp0.y1j_1.kotlinx$atomicfu$value;
|
|
462
462
|
var tmp_1;
|
|
463
463
|
if (current instanceof Write) {
|
|
464
|
-
tmp_1 = tmp0.
|
|
464
|
+
tmp_1 = tmp0.y1j_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
465
465
|
} else {
|
|
466
466
|
tmp_1 = false;
|
|
467
467
|
}
|
|
468
468
|
if (tmp_1) {
|
|
469
|
-
current.
|
|
469
|
+
current.o1j();
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
473
|
while (false);
|
|
474
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
474
|
+
suspendResult = returnIfSuspended(cancellable.uq(), this);
|
|
475
475
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
476
476
|
return suspendResult;
|
|
477
477
|
}
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
};
|
|
499
499
|
function $flushAndCloseCOROUTINE$2(_this__u8e3s4, resultContinuation) {
|
|
500
500
|
CoroutineImpl.call(this, resultContinuation);
|
|
501
|
-
this.
|
|
501
|
+
this.i1l_1 = _this__u8e3s4;
|
|
502
502
|
}
|
|
503
503
|
protoOf($flushAndCloseCOROUTINE$2).o9 = function () {
|
|
504
504
|
var suspendResult = this.i9_1;
|
|
@@ -509,16 +509,16 @@
|
|
|
509
509
|
case 0:
|
|
510
510
|
this.h9_1 = 4;
|
|
511
511
|
var tmp_0 = this;
|
|
512
|
-
tmp_0.
|
|
513
|
-
this.
|
|
512
|
+
tmp_0.j1l_1 = this.i1l_1;
|
|
513
|
+
this.k1l_1 = this.j1l_1;
|
|
514
514
|
this.h9_1 = 2;
|
|
515
515
|
var tmp_1 = this;
|
|
516
|
-
tmp_1.
|
|
516
|
+
tmp_1.m1l_1 = Companion_instance;
|
|
517
517
|
var tmp_2 = this;
|
|
518
|
-
tmp_2.
|
|
519
|
-
this.
|
|
518
|
+
tmp_2.n1l_1 = this.k1l_1;
|
|
519
|
+
this.o1l_1 = this.n1l_1;
|
|
520
520
|
this.g9_1 = 1;
|
|
521
|
-
suspendResult = this.
|
|
521
|
+
suspendResult = this.o1l_1.p1l(this);
|
|
522
522
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
523
523
|
return suspendResult;
|
|
524
524
|
}
|
|
@@ -526,8 +526,8 @@
|
|
|
526
526
|
continue $sm;
|
|
527
527
|
case 1:
|
|
528
528
|
var tmp_3 = this;
|
|
529
|
-
this.
|
|
530
|
-
tmp_3.
|
|
529
|
+
this.m1l_1;
|
|
530
|
+
tmp_3.l1l_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
531
531
|
this.h9_1 = 4;
|
|
532
532
|
this.g9_1 = 3;
|
|
533
533
|
continue $sm;
|
|
@@ -537,7 +537,7 @@
|
|
|
537
537
|
if (tmp_4 instanceof Error) {
|
|
538
538
|
var e = this.j9_1;
|
|
539
539
|
var tmp_5 = this;
|
|
540
|
-
tmp_5.
|
|
540
|
+
tmp_5.l1l_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
541
541
|
this.g9_1 = 3;
|
|
542
542
|
continue $sm;
|
|
543
543
|
} else {
|
|
@@ -546,9 +546,9 @@
|
|
|
546
546
|
|
|
547
547
|
case 3:
|
|
548
548
|
this.h9_1 = 4;
|
|
549
|
-
if (!this.
|
|
549
|
+
if (!this.i1l_1.b1k_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
550
550
|
return Unit_instance;
|
|
551
|
-
closeSlot(this.
|
|
551
|
+
closeSlot(this.i1l_1, null);
|
|
552
552
|
return Unit_instance;
|
|
553
553
|
case 4:
|
|
554
554
|
throw this.j9_1;
|
|
@@ -566,101 +566,101 @@
|
|
|
566
566
|
};
|
|
567
567
|
function ByteChannel(autoFlush) {
|
|
568
568
|
autoFlush = autoFlush === VOID ? false : autoFlush;
|
|
569
|
-
this.
|
|
570
|
-
this.
|
|
571
|
-
this.
|
|
572
|
-
this.
|
|
573
|
-
this.
|
|
574
|
-
this.
|
|
575
|
-
this.
|
|
576
|
-
this.
|
|
577
|
-
}
|
|
578
|
-
protoOf(ByteChannel).
|
|
579
|
-
var tmp0_safe_receiver = this.
|
|
569
|
+
this.u1j_1 = autoFlush;
|
|
570
|
+
this.v1j_1 = new Buffer();
|
|
571
|
+
this.w1j_1 = 0;
|
|
572
|
+
this.x1j_1 = new Object();
|
|
573
|
+
this.y1j_1 = atomic$ref$1(Empty_instance);
|
|
574
|
+
this.z1j_1 = new Buffer();
|
|
575
|
+
this.a1k_1 = new Buffer();
|
|
576
|
+
this.b1k_1 = atomic$ref$1(null);
|
|
577
|
+
}
|
|
578
|
+
protoOf(ByteChannel).q1l = function () {
|
|
579
|
+
var tmp0_safe_receiver = this.b1k_1.kotlinx$atomicfu$value;
|
|
580
580
|
if (tmp0_safe_receiver == null)
|
|
581
581
|
null;
|
|
582
582
|
else {
|
|
583
|
-
tmp0_safe_receiver.
|
|
583
|
+
tmp0_safe_receiver.s1l(ClosedReadChannelException$_init_$ref_ix0089());
|
|
584
584
|
}
|
|
585
|
-
if (this.
|
|
585
|
+
if (this.z1j_1.k1g()) {
|
|
586
586
|
moveFlushToReadBuffer(this);
|
|
587
587
|
}
|
|
588
|
-
return this.
|
|
588
|
+
return this.z1j_1;
|
|
589
589
|
};
|
|
590
|
-
protoOf(ByteChannel).
|
|
591
|
-
if (this.
|
|
592
|
-
var tmp0_safe_receiver = this.
|
|
590
|
+
protoOf(ByteChannel).t1l = function () {
|
|
591
|
+
if (this.u1l()) {
|
|
592
|
+
var tmp0_safe_receiver = this.b1k_1.kotlinx$atomicfu$value;
|
|
593
593
|
var tmp;
|
|
594
594
|
if (tmp0_safe_receiver == null) {
|
|
595
595
|
tmp = null;
|
|
596
596
|
} else {
|
|
597
|
-
tmp = tmp0_safe_receiver.
|
|
597
|
+
tmp = tmp0_safe_receiver.s1l(ClosedWriteChannelException$_init_$ref_ef15ty());
|
|
598
598
|
}
|
|
599
599
|
if (tmp == null)
|
|
600
600
|
throw new ClosedWriteChannelException();
|
|
601
601
|
}
|
|
602
|
-
return this.
|
|
602
|
+
return this.a1k_1;
|
|
603
603
|
};
|
|
604
|
-
protoOf(ByteChannel).
|
|
605
|
-
var tmp0_safe_receiver = this.
|
|
606
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
604
|
+
protoOf(ByteChannel).v1l = function () {
|
|
605
|
+
var tmp0_safe_receiver = this.b1k_1.kotlinx$atomicfu$value;
|
|
606
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w1l();
|
|
607
607
|
};
|
|
608
|
-
protoOf(ByteChannel).
|
|
609
|
-
return !(this.
|
|
608
|
+
protoOf(ByteChannel).u1l = function () {
|
|
609
|
+
return !(this.b1k_1.kotlinx$atomicfu$value == null);
|
|
610
610
|
};
|
|
611
|
-
protoOf(ByteChannel).
|
|
612
|
-
return !(this.
|
|
611
|
+
protoOf(ByteChannel).x1l = function () {
|
|
612
|
+
return !(this.v1l() == null) || (this.u1l() && this.w1j_1 === 0 && this.z1j_1.k1g());
|
|
613
613
|
};
|
|
614
|
-
protoOf(ByteChannel).
|
|
614
|
+
protoOf(ByteChannel).y1l = function (min, $completion) {
|
|
615
615
|
var tmp = new $awaitContentCOROUTINE$0(this, min, $completion);
|
|
616
616
|
tmp.i9_1 = Unit_instance;
|
|
617
617
|
tmp.j9_1 = null;
|
|
618
618
|
return tmp.o9();
|
|
619
619
|
};
|
|
620
|
-
protoOf(ByteChannel).
|
|
620
|
+
protoOf(ByteChannel).p1l = function ($completion) {
|
|
621
621
|
var tmp = new $flushCOROUTINE$1(this, $completion);
|
|
622
622
|
tmp.i9_1 = Unit_instance;
|
|
623
623
|
tmp.j9_1 = null;
|
|
624
624
|
return tmp.o9();
|
|
625
625
|
};
|
|
626
|
-
protoOf(ByteChannel).
|
|
627
|
-
if (this.
|
|
626
|
+
protoOf(ByteChannel).z1k = function () {
|
|
627
|
+
if (this.a1k_1.k1g())
|
|
628
628
|
return Unit_instance;
|
|
629
629
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
630
|
-
this.
|
|
631
|
-
var count = this.
|
|
632
|
-
this.
|
|
633
|
-
this.
|
|
630
|
+
this.x1j_1;
|
|
631
|
+
var count = this.a1k_1.s().j1();
|
|
632
|
+
this.v1j_1.c1i(this.a1k_1);
|
|
633
|
+
this.w1j_1 = this.w1j_1 + count | 0;
|
|
634
634
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
635
|
-
var current = this.
|
|
635
|
+
var current = this.y1j_1.kotlinx$atomicfu$value;
|
|
636
636
|
var tmp;
|
|
637
637
|
if (current instanceof Read) {
|
|
638
|
-
tmp = this.
|
|
638
|
+
tmp = this.y1j_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
639
639
|
} else {
|
|
640
640
|
tmp = false;
|
|
641
641
|
}
|
|
642
642
|
if (tmp) {
|
|
643
|
-
current.
|
|
643
|
+
current.o1j();
|
|
644
644
|
}
|
|
645
645
|
};
|
|
646
646
|
protoOf(ByteChannel).p4 = function () {
|
|
647
|
-
this.
|
|
648
|
-
if (!this.
|
|
647
|
+
this.z1k();
|
|
648
|
+
if (!this.b1k_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
649
649
|
return Unit_instance;
|
|
650
650
|
closeSlot(this, null);
|
|
651
651
|
};
|
|
652
|
-
protoOf(ByteChannel).
|
|
652
|
+
protoOf(ByteChannel).a1m = function ($completion) {
|
|
653
653
|
var tmp = new $flushAndCloseCOROUTINE$2(this, $completion);
|
|
654
654
|
tmp.i9_1 = Unit_instance;
|
|
655
655
|
tmp.j9_1 = null;
|
|
656
656
|
return tmp.o9();
|
|
657
657
|
};
|
|
658
|
-
protoOf(ByteChannel).
|
|
659
|
-
if (!(this.
|
|
658
|
+
protoOf(ByteChannel).b1m = function (cause) {
|
|
659
|
+
if (!(this.b1k_1.kotlinx$atomicfu$value == null))
|
|
660
660
|
return Unit_instance;
|
|
661
661
|
var closedToken = new CloseToken(cause);
|
|
662
|
-
this.
|
|
663
|
-
var wrappedCause = closedToken.
|
|
662
|
+
this.b1k_1.atomicfu$compareAndSet(null, closedToken);
|
|
663
|
+
var wrappedCause = closedToken.w1l();
|
|
664
664
|
closeSlot(this, wrappedCause);
|
|
665
665
|
};
|
|
666
666
|
protoOf(ByteChannel).toString = function () {
|
|
@@ -676,7 +676,7 @@
|
|
|
676
676
|
length = length === VOID ? content.length : length;
|
|
677
677
|
// Inline function 'kotlin.also' call
|
|
678
678
|
var this_0 = new Buffer();
|
|
679
|
-
this_0.
|
|
679
|
+
this_0.t1h(content, offset, offset + length | 0);
|
|
680
680
|
var source = this_0;
|
|
681
681
|
return ByteReadChannel_0(source);
|
|
682
682
|
}
|
|
@@ -684,27 +684,27 @@
|
|
|
684
684
|
return new SourceByteReadChannel(source);
|
|
685
685
|
}
|
|
686
686
|
function ByteReadChannel$Companion$Empty$1() {
|
|
687
|
-
this.
|
|
688
|
-
this.
|
|
687
|
+
this.c1m_1 = null;
|
|
688
|
+
this.d1m_1 = new Buffer();
|
|
689
689
|
}
|
|
690
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
691
|
-
return this.
|
|
690
|
+
protoOf(ByteReadChannel$Companion$Empty$1).v1l = function () {
|
|
691
|
+
return this.c1m_1;
|
|
692
692
|
};
|
|
693
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
693
|
+
protoOf(ByteReadChannel$Companion$Empty$1).x1l = function () {
|
|
694
694
|
return true;
|
|
695
695
|
};
|
|
696
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
697
|
-
return this.
|
|
696
|
+
protoOf(ByteReadChannel$Companion$Empty$1).q1l = function () {
|
|
697
|
+
return this.d1m_1;
|
|
698
698
|
};
|
|
699
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
699
|
+
protoOf(ByteReadChannel$Companion$Empty$1).y1l = function (min, $completion) {
|
|
700
700
|
return false;
|
|
701
701
|
};
|
|
702
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
702
|
+
protoOf(ByteReadChannel$Companion$Empty$1).b1m = function (cause) {
|
|
703
703
|
};
|
|
704
704
|
function Companion_0() {
|
|
705
705
|
Companion_instance_1 = this;
|
|
706
706
|
var tmp = this;
|
|
707
|
-
tmp.
|
|
707
|
+
tmp.e1m_1 = new ByteReadChannel$Companion$Empty$1();
|
|
708
708
|
}
|
|
709
709
|
var Companion_instance_1;
|
|
710
710
|
function Companion_getInstance_0() {
|
|
@@ -715,7 +715,7 @@
|
|
|
715
715
|
function ByteReadChannel_1() {
|
|
716
716
|
}
|
|
717
717
|
function cancel_0(_this__u8e3s4) {
|
|
718
|
-
_this__u8e3s4.
|
|
718
|
+
_this__u8e3s4.b1m(IOException_init_$Create$('Channel was cancelled'));
|
|
719
719
|
}
|
|
720
720
|
function readRemaining(_this__u8e3s4, $completion) {
|
|
721
721
|
var tmp = new $readRemainingCOROUTINE$3(_this__u8e3s4, $completion);
|
|
@@ -724,7 +724,7 @@
|
|
|
724
724
|
return tmp.o9();
|
|
725
725
|
}
|
|
726
726
|
function get_availableForRead(_this__u8e3s4) {
|
|
727
|
-
return _this__u8e3s4.
|
|
727
|
+
return _this__u8e3s4.q1l().j1g().s().j1();
|
|
728
728
|
}
|
|
729
729
|
function readPacket(_this__u8e3s4, packet, $completion) {
|
|
730
730
|
var tmp = new $readPacketCOROUTINE$4(_this__u8e3s4, packet, $completion);
|
|
@@ -760,7 +760,7 @@
|
|
|
760
760
|
return tmp.o9();
|
|
761
761
|
}
|
|
762
762
|
function rethrowCloseCauseIfNeeded(_this__u8e3s4) {
|
|
763
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
763
|
+
var tmp0_safe_receiver = _this__u8e3s4.v1l();
|
|
764
764
|
if (tmp0_safe_receiver == null)
|
|
765
765
|
null;
|
|
766
766
|
else {
|
|
@@ -776,14 +776,14 @@
|
|
|
776
776
|
}
|
|
777
777
|
function readUTF8LineTo(_this__u8e3s4, out, max, lineEnding, $completion) {
|
|
778
778
|
max = max === VOID ? 2147483647 : max;
|
|
779
|
-
lineEnding = lineEnding === VOID ? Companion_getInstance_1().
|
|
779
|
+
lineEnding = lineEnding === VOID ? Companion_getInstance_1().j1p_1 : lineEnding;
|
|
780
780
|
var tmp = new $readUTF8LineToCOROUTINE$13(_this__u8e3s4, out, max, lineEnding, $completion);
|
|
781
781
|
tmp.i9_1 = Unit_instance;
|
|
782
782
|
tmp.j9_1 = null;
|
|
783
783
|
return tmp.o9();
|
|
784
784
|
}
|
|
785
785
|
function rethrowCloseCauseIfNeeded_0(_this__u8e3s4) {
|
|
786
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
786
|
+
var tmp0_safe_receiver = _this__u8e3s4.v1l();
|
|
787
787
|
if (tmp0_safe_receiver == null)
|
|
788
788
|
null;
|
|
789
789
|
else {
|
|
@@ -792,7 +792,7 @@
|
|
|
792
792
|
}
|
|
793
793
|
}
|
|
794
794
|
function rethrowCloseCauseIfNeeded_1(_this__u8e3s4) {
|
|
795
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
795
|
+
var tmp0_safe_receiver = _this__u8e3s4.v1l();
|
|
796
796
|
if (tmp0_safe_receiver == null)
|
|
797
797
|
null;
|
|
798
798
|
else {
|
|
@@ -867,7 +867,7 @@
|
|
|
867
867
|
}
|
|
868
868
|
function $readRemainingCOROUTINE$3(_this__u8e3s4, resultContinuation) {
|
|
869
869
|
CoroutineImpl.call(this, resultContinuation);
|
|
870
|
-
this.
|
|
870
|
+
this.n1m_1 = _this__u8e3s4;
|
|
871
871
|
}
|
|
872
872
|
protoOf($readRemainingCOROUTINE$3).o9 = function () {
|
|
873
873
|
var suspendResult = this.i9_1;
|
|
@@ -877,18 +877,18 @@
|
|
|
877
877
|
switch (tmp) {
|
|
878
878
|
case 0:
|
|
879
879
|
this.h9_1 = 4;
|
|
880
|
-
this.
|
|
880
|
+
this.o1m_1 = BytePacketBuilder();
|
|
881
881
|
this.g9_1 = 1;
|
|
882
882
|
continue $sm;
|
|
883
883
|
case 1:
|
|
884
|
-
if (!!this.
|
|
884
|
+
if (!!this.n1m_1.x1l()) {
|
|
885
885
|
this.g9_1 = 3;
|
|
886
886
|
continue $sm;
|
|
887
887
|
}
|
|
888
888
|
|
|
889
|
-
this.
|
|
889
|
+
this.o1m_1.c1i(this.n1m_1.q1l());
|
|
890
890
|
this.g9_1 = 2;
|
|
891
|
-
suspendResult = this.
|
|
891
|
+
suspendResult = this.n1m_1.z1l(VOID, this);
|
|
892
892
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
893
893
|
return suspendResult;
|
|
894
894
|
}
|
|
@@ -898,8 +898,8 @@
|
|
|
898
898
|
this.g9_1 = 1;
|
|
899
899
|
continue $sm;
|
|
900
900
|
case 3:
|
|
901
|
-
rethrowCloseCauseIfNeeded(this.
|
|
902
|
-
return this.
|
|
901
|
+
rethrowCloseCauseIfNeeded(this.n1m_1);
|
|
902
|
+
return this.o1m_1.j1g();
|
|
903
903
|
case 4:
|
|
904
904
|
throw this.j9_1;
|
|
905
905
|
}
|
|
@@ -916,8 +916,8 @@
|
|
|
916
916
|
};
|
|
917
917
|
function $readPacketCOROUTINE$4(_this__u8e3s4, packet, resultContinuation) {
|
|
918
918
|
CoroutineImpl.call(this, resultContinuation);
|
|
919
|
-
this.
|
|
920
|
-
this.
|
|
919
|
+
this.x1m_1 = _this__u8e3s4;
|
|
920
|
+
this.y1m_1 = packet;
|
|
921
921
|
}
|
|
922
922
|
protoOf($readPacketCOROUTINE$4).o9 = function () {
|
|
923
923
|
var suspendResult = this.i9_1;
|
|
@@ -927,18 +927,18 @@
|
|
|
927
927
|
switch (tmp) {
|
|
928
928
|
case 0:
|
|
929
929
|
this.h9_1 = 6;
|
|
930
|
-
this.
|
|
930
|
+
this.z1m_1 = new Buffer();
|
|
931
931
|
this.g9_1 = 1;
|
|
932
932
|
continue $sm;
|
|
933
933
|
case 1:
|
|
934
|
-
if (!(this.
|
|
934
|
+
if (!(this.z1m_1.s().e1(toLong(this.y1m_1)) < 0)) {
|
|
935
935
|
this.g9_1 = 5;
|
|
936
936
|
continue $sm;
|
|
937
937
|
}
|
|
938
938
|
|
|
939
|
-
if (this.
|
|
939
|
+
if (this.x1m_1.q1l().k1g()) {
|
|
940
940
|
this.g9_1 = 2;
|
|
941
|
-
suspendResult = this.
|
|
941
|
+
suspendResult = this.x1m_1.z1l(VOID, this);
|
|
942
942
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
943
943
|
return suspendResult;
|
|
944
944
|
}
|
|
@@ -952,7 +952,7 @@
|
|
|
952
952
|
this.g9_1 = 3;
|
|
953
953
|
continue $sm;
|
|
954
954
|
case 3:
|
|
955
|
-
if (this.
|
|
955
|
+
if (this.x1m_1.x1l()) {
|
|
956
956
|
this.g9_1 = 5;
|
|
957
957
|
continue $sm;
|
|
958
958
|
} else {
|
|
@@ -961,20 +961,20 @@
|
|
|
961
961
|
}
|
|
962
962
|
|
|
963
963
|
case 4:
|
|
964
|
-
if (get_remaining(this.
|
|
965
|
-
this.
|
|
964
|
+
if (get_remaining(this.x1m_1.q1l()).e1(numberToLong(this.y1m_1).a3(this.z1m_1.s())) > 0) {
|
|
965
|
+
this.x1m_1.q1l().m1h(this.z1m_1, numberToLong(this.y1m_1).a3(this.z1m_1.s()));
|
|
966
966
|
} else {
|
|
967
|
-
this.
|
|
967
|
+
this.x1m_1.q1l().n1h(this.z1m_1);
|
|
968
968
|
}
|
|
969
969
|
|
|
970
970
|
this.g9_1 = 1;
|
|
971
971
|
continue $sm;
|
|
972
972
|
case 5:
|
|
973
|
-
if (this.
|
|
974
|
-
throw EOFException_init_$Create$('Not enough data available, required ' + this.
|
|
973
|
+
if (this.z1m_1.s().e1(toLong(this.y1m_1)) < 0) {
|
|
974
|
+
throw EOFException_init_$Create$('Not enough data available, required ' + this.y1m_1 + ' bytes but only ' + this.z1m_1.s().toString() + ' available');
|
|
975
975
|
}
|
|
976
976
|
|
|
977
|
-
return this.
|
|
977
|
+
return this.z1m_1;
|
|
978
978
|
case 6:
|
|
979
979
|
throw this.j9_1;
|
|
980
980
|
}
|
|
@@ -991,8 +991,8 @@
|
|
|
991
991
|
};
|
|
992
992
|
function $discardCOROUTINE$5(_this__u8e3s4, max, resultContinuation) {
|
|
993
993
|
CoroutineImpl.call(this, resultContinuation);
|
|
994
|
-
this.
|
|
995
|
-
this.
|
|
994
|
+
this.i1n_1 = _this__u8e3s4;
|
|
995
|
+
this.j1n_1 = max;
|
|
996
996
|
}
|
|
997
997
|
protoOf($discardCOROUTINE$5).o9 = function () {
|
|
998
998
|
var suspendResult = this.i9_1;
|
|
@@ -1002,18 +1002,18 @@
|
|
|
1002
1002
|
switch (tmp) {
|
|
1003
1003
|
case 0:
|
|
1004
1004
|
this.h9_1 = 5;
|
|
1005
|
-
this.
|
|
1005
|
+
this.k1n_1 = this.j1n_1;
|
|
1006
1006
|
this.g9_1 = 1;
|
|
1007
1007
|
continue $sm;
|
|
1008
1008
|
case 1:
|
|
1009
|
-
if (!(this.
|
|
1009
|
+
if (!(this.k1n_1.e1(new Long(0, 0)) > 0 && !this.i1n_1.x1l())) {
|
|
1010
1010
|
this.g9_1 = 4;
|
|
1011
1011
|
continue $sm;
|
|
1012
1012
|
}
|
|
1013
1013
|
|
|
1014
|
-
if (get_availableForRead(this.
|
|
1014
|
+
if (get_availableForRead(this.i1n_1) === 0) {
|
|
1015
1015
|
this.g9_1 = 2;
|
|
1016
|
-
suspendResult = this.
|
|
1016
|
+
suspendResult = this.i1n_1.z1l(VOID, this);
|
|
1017
1017
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1018
1018
|
return suspendResult;
|
|
1019
1019
|
}
|
|
@@ -1027,15 +1027,15 @@
|
|
|
1027
1027
|
this.g9_1 = 3;
|
|
1028
1028
|
continue $sm;
|
|
1029
1029
|
case 3:
|
|
1030
|
-
var tmp0 = this.
|
|
1031
|
-
var b = get_remaining(this.
|
|
1030
|
+
var tmp0 = this.k1n_1;
|
|
1031
|
+
var b = get_remaining(this.i1n_1.q1l());
|
|
1032
1032
|
var count = tmp0.e1(b) <= 0 ? tmp0 : b;
|
|
1033
|
-
discard_0(this.
|
|
1034
|
-
this.
|
|
1033
|
+
discard_0(this.i1n_1.q1l(), count);
|
|
1034
|
+
this.k1n_1 = this.k1n_1.a3(count);
|
|
1035
1035
|
this.g9_1 = 1;
|
|
1036
1036
|
continue $sm;
|
|
1037
1037
|
case 4:
|
|
1038
|
-
return this.
|
|
1038
|
+
return this.j1n_1.a3(this.k1n_1);
|
|
1039
1039
|
case 5:
|
|
1040
1040
|
throw this.j9_1;
|
|
1041
1041
|
}
|
|
@@ -1052,10 +1052,10 @@
|
|
|
1052
1052
|
};
|
|
1053
1053
|
function $readAvailableCOROUTINE$7(_this__u8e3s4, buffer, offset, length, resultContinuation) {
|
|
1054
1054
|
CoroutineImpl.call(this, resultContinuation);
|
|
1055
|
-
this.
|
|
1056
|
-
this.
|
|
1057
|
-
this.
|
|
1058
|
-
this.
|
|
1055
|
+
this.t1n_1 = _this__u8e3s4;
|
|
1056
|
+
this.u1n_1 = buffer;
|
|
1057
|
+
this.v1n_1 = offset;
|
|
1058
|
+
this.w1n_1 = length;
|
|
1059
1059
|
}
|
|
1060
1060
|
protoOf($readAvailableCOROUTINE$7).o9 = function () {
|
|
1061
1061
|
var suspendResult = this.i9_1;
|
|
@@ -1065,11 +1065,11 @@
|
|
|
1065
1065
|
switch (tmp) {
|
|
1066
1066
|
case 0:
|
|
1067
1067
|
this.h9_1 = 3;
|
|
1068
|
-
if (this.
|
|
1068
|
+
if (this.t1n_1.x1l())
|
|
1069
1069
|
return -1;
|
|
1070
|
-
if (this.
|
|
1070
|
+
if (this.t1n_1.q1l().k1g()) {
|
|
1071
1071
|
this.g9_1 = 1;
|
|
1072
|
-
suspendResult = this.
|
|
1072
|
+
suspendResult = this.t1n_1.z1l(VOID, this);
|
|
1073
1073
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1074
1074
|
return suspendResult;
|
|
1075
1075
|
}
|
|
@@ -1083,9 +1083,9 @@
|
|
|
1083
1083
|
this.g9_1 = 2;
|
|
1084
1084
|
continue $sm;
|
|
1085
1085
|
case 2:
|
|
1086
|
-
if (this.
|
|
1086
|
+
if (this.t1n_1.x1l())
|
|
1087
1087
|
return -1;
|
|
1088
|
-
return readAvailable_0(this.
|
|
1088
|
+
return readAvailable_0(this.t1n_1.q1l(), this.u1n_1, this.v1n_1, this.w1n_1);
|
|
1089
1089
|
case 3:
|
|
1090
1090
|
throw this.j9_1;
|
|
1091
1091
|
}
|
|
@@ -1102,7 +1102,7 @@
|
|
|
1102
1102
|
};
|
|
1103
1103
|
function $toByteArrayCOROUTINE$9(_this__u8e3s4, resultContinuation) {
|
|
1104
1104
|
CoroutineImpl.call(this, resultContinuation);
|
|
1105
|
-
this.
|
|
1105
|
+
this.f1o_1 = _this__u8e3s4;
|
|
1106
1106
|
}
|
|
1107
1107
|
protoOf($toByteArrayCOROUTINE$9).o9 = function () {
|
|
1108
1108
|
var suspendResult = this.i9_1;
|
|
@@ -1113,7 +1113,7 @@
|
|
|
1113
1113
|
case 0:
|
|
1114
1114
|
this.h9_1 = 2;
|
|
1115
1115
|
this.g9_1 = 1;
|
|
1116
|
-
suspendResult = readBuffer(this.
|
|
1116
|
+
suspendResult = readBuffer(this.f1o_1, this);
|
|
1117
1117
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1118
1118
|
return suspendResult;
|
|
1119
1119
|
}
|
|
@@ -1138,9 +1138,9 @@
|
|
|
1138
1138
|
};
|
|
1139
1139
|
function $copyToCOROUTINE$10(_this__u8e3s4, channel, limit, resultContinuation) {
|
|
1140
1140
|
CoroutineImpl.call(this, resultContinuation);
|
|
1141
|
-
this.
|
|
1142
|
-
this.
|
|
1143
|
-
this.
|
|
1141
|
+
this.o1o_1 = _this__u8e3s4;
|
|
1142
|
+
this.p1o_1 = channel;
|
|
1143
|
+
this.q1o_1 = limit;
|
|
1144
1144
|
}
|
|
1145
1145
|
protoOf($copyToCOROUTINE$10).o9 = function () {
|
|
1146
1146
|
var suspendResult = this.i9_1;
|
|
@@ -1150,7 +1150,7 @@
|
|
|
1150
1150
|
switch (tmp) {
|
|
1151
1151
|
case 0:
|
|
1152
1152
|
this.h9_1 = 12;
|
|
1153
|
-
this.
|
|
1153
|
+
this.r1o_1 = this.q1o_1;
|
|
1154
1154
|
this.g9_1 = 1;
|
|
1155
1155
|
continue $sm;
|
|
1156
1156
|
case 1:
|
|
@@ -1159,14 +1159,14 @@
|
|
|
1159
1159
|
this.g9_1 = 2;
|
|
1160
1160
|
continue $sm;
|
|
1161
1161
|
case 2:
|
|
1162
|
-
if (!(!this.
|
|
1162
|
+
if (!(!this.o1o_1.x1l() && this.r1o_1.e1(new Long(0, 0)) > 0)) {
|
|
1163
1163
|
this.g9_1 = 6;
|
|
1164
1164
|
continue $sm;
|
|
1165
1165
|
}
|
|
1166
1166
|
|
|
1167
|
-
if (this.
|
|
1167
|
+
if (this.o1o_1.q1l().k1g()) {
|
|
1168
1168
|
this.g9_1 = 3;
|
|
1169
|
-
suspendResult = this.
|
|
1169
|
+
suspendResult = this.o1o_1.z1l(VOID, this);
|
|
1170
1170
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1171
1171
|
return suspendResult;
|
|
1172
1172
|
}
|
|
@@ -1181,13 +1181,13 @@
|
|
|
1181
1181
|
continue $sm;
|
|
1182
1182
|
case 4:
|
|
1183
1183
|
var tmp_0 = this;
|
|
1184
|
-
var tmp0 = this.
|
|
1185
|
-
var b = get_remaining(this.
|
|
1186
|
-
tmp_0.
|
|
1187
|
-
this.
|
|
1188
|
-
this.
|
|
1184
|
+
var tmp0 = this.r1o_1;
|
|
1185
|
+
var b = get_remaining(this.o1o_1.q1l());
|
|
1186
|
+
tmp_0.t1o_1 = tmp0.e1(b) <= 0 ? tmp0 : b;
|
|
1187
|
+
this.o1o_1.q1l().m1h(this.p1o_1.t1l(), this.t1o_1);
|
|
1188
|
+
this.r1o_1 = this.r1o_1.a3(this.t1o_1);
|
|
1189
1189
|
this.g9_1 = 5;
|
|
1190
|
-
suspendResult = this.
|
|
1190
|
+
suspendResult = this.p1o_1.p1l(this);
|
|
1191
1191
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1192
1192
|
return suspendResult;
|
|
1193
1193
|
}
|
|
@@ -1197,7 +1197,7 @@
|
|
|
1197
1197
|
this.g9_1 = 2;
|
|
1198
1198
|
continue $sm;
|
|
1199
1199
|
case 6:
|
|
1200
|
-
this.
|
|
1200
|
+
this.s1o_1 = Unit_instance;
|
|
1201
1201
|
this.h9_1 = 12;
|
|
1202
1202
|
this.g9_1 = 10;
|
|
1203
1203
|
continue $sm;
|
|
@@ -1205,38 +1205,38 @@
|
|
|
1205
1205
|
this.h9_1 = 8;
|
|
1206
1206
|
var tmp_1 = this.j9_1;
|
|
1207
1207
|
if (tmp_1 instanceof Error) {
|
|
1208
|
-
this.
|
|
1208
|
+
this.u1o_1 = this.j9_1;
|
|
1209
1209
|
var tmp_2 = this;
|
|
1210
|
-
this.
|
|
1211
|
-
close_0(this.
|
|
1212
|
-
throw this.
|
|
1210
|
+
this.o1o_1.b1m(this.u1o_1);
|
|
1211
|
+
close_0(this.p1o_1, this.u1o_1);
|
|
1212
|
+
throw this.u1o_1;
|
|
1213
1213
|
} else {
|
|
1214
1214
|
throw this.j9_1;
|
|
1215
1215
|
}
|
|
1216
1216
|
|
|
1217
1217
|
case 8:
|
|
1218
1218
|
this.h9_1 = 12;
|
|
1219
|
-
this.
|
|
1219
|
+
this.v1o_1 = this.j9_1;
|
|
1220
1220
|
this.g9_1 = 9;
|
|
1221
|
-
suspendResult = this.
|
|
1221
|
+
suspendResult = this.p1o_1.p1l(this);
|
|
1222
1222
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1223
1223
|
return suspendResult;
|
|
1224
1224
|
}
|
|
1225
1225
|
|
|
1226
1226
|
continue $sm;
|
|
1227
1227
|
case 9:
|
|
1228
|
-
throw this.
|
|
1228
|
+
throw this.v1o_1;
|
|
1229
1229
|
case 10:
|
|
1230
1230
|
this.h9_1 = 12;
|
|
1231
1231
|
this.g9_1 = 11;
|
|
1232
|
-
suspendResult = this.
|
|
1232
|
+
suspendResult = this.p1o_1.p1l(this);
|
|
1233
1233
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1234
1234
|
return suspendResult;
|
|
1235
1235
|
}
|
|
1236
1236
|
|
|
1237
1237
|
continue $sm;
|
|
1238
1238
|
case 11:
|
|
1239
|
-
return this.
|
|
1239
|
+
return this.q1o_1.a3(this.r1o_1);
|
|
1240
1240
|
case 12:
|
|
1241
1241
|
throw this.j9_1;
|
|
1242
1242
|
}
|
|
@@ -1253,7 +1253,7 @@
|
|
|
1253
1253
|
};
|
|
1254
1254
|
function $readBufferCOROUTINE$12(_this__u8e3s4, resultContinuation) {
|
|
1255
1255
|
CoroutineImpl.call(this, resultContinuation);
|
|
1256
|
-
this.
|
|
1256
|
+
this.e1p_1 = _this__u8e3s4;
|
|
1257
1257
|
}
|
|
1258
1258
|
protoOf($readBufferCOROUTINE$12).o9 = function () {
|
|
1259
1259
|
var suspendResult = this.i9_1;
|
|
@@ -1263,18 +1263,18 @@
|
|
|
1263
1263
|
switch (tmp) {
|
|
1264
1264
|
case 0:
|
|
1265
1265
|
this.h9_1 = 4;
|
|
1266
|
-
this.
|
|
1266
|
+
this.f1p_1 = new Buffer();
|
|
1267
1267
|
this.g9_1 = 1;
|
|
1268
1268
|
continue $sm;
|
|
1269
1269
|
case 1:
|
|
1270
|
-
if (!!this.
|
|
1270
|
+
if (!!this.e1p_1.x1l()) {
|
|
1271
1271
|
this.g9_1 = 3;
|
|
1272
1272
|
continue $sm;
|
|
1273
1273
|
}
|
|
1274
1274
|
|
|
1275
|
-
this.
|
|
1275
|
+
this.f1p_1.c1i(this.e1p_1.q1l());
|
|
1276
1276
|
this.g9_1 = 2;
|
|
1277
|
-
suspendResult = this.
|
|
1277
|
+
suspendResult = this.e1p_1.z1l(VOID, this);
|
|
1278
1278
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1279
1279
|
return suspendResult;
|
|
1280
1280
|
}
|
|
@@ -1284,14 +1284,14 @@
|
|
|
1284
1284
|
this.g9_1 = 1;
|
|
1285
1285
|
continue $sm;
|
|
1286
1286
|
case 3:
|
|
1287
|
-
var tmp0_safe_receiver = this.
|
|
1287
|
+
var tmp0_safe_receiver = this.e1p_1.v1l();
|
|
1288
1288
|
if (tmp0_safe_receiver == null)
|
|
1289
1289
|
null;
|
|
1290
1290
|
else {
|
|
1291
1291
|
throw tmp0_safe_receiver;
|
|
1292
1292
|
}
|
|
1293
1293
|
|
|
1294
|
-
return this.
|
|
1294
|
+
return this.f1p_1;
|
|
1295
1295
|
case 4:
|
|
1296
1296
|
throw this.j9_1;
|
|
1297
1297
|
}
|
|
@@ -1308,10 +1308,10 @@
|
|
|
1308
1308
|
};
|
|
1309
1309
|
function $readUTF8LineToCOROUTINE$13(_this__u8e3s4, out, max, lineEnding, resultContinuation) {
|
|
1310
1310
|
CoroutineImpl.call(this, resultContinuation);
|
|
1311
|
-
this.
|
|
1312
|
-
this.
|
|
1313
|
-
this.
|
|
1314
|
-
this.
|
|
1311
|
+
this.t1p_1 = _this__u8e3s4;
|
|
1312
|
+
this.u1p_1 = out;
|
|
1313
|
+
this.v1p_1 = max;
|
|
1314
|
+
this.w1p_1 = lineEnding;
|
|
1315
1315
|
}
|
|
1316
1316
|
protoOf($readUTF8LineToCOROUTINE$13).o9 = function () {
|
|
1317
1317
|
var suspendResult = this.i9_1;
|
|
@@ -1321,9 +1321,9 @@
|
|
|
1321
1321
|
switch (tmp) {
|
|
1322
1322
|
case 0:
|
|
1323
1323
|
this.h9_1 = 21;
|
|
1324
|
-
if (this.
|
|
1324
|
+
if (this.t1p_1.q1l().k1g()) {
|
|
1325
1325
|
this.g9_1 = 1;
|
|
1326
|
-
suspendResult = this.
|
|
1326
|
+
suspendResult = this.t1p_1.z1l(VOID, this);
|
|
1327
1327
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1328
1328
|
return suspendResult;
|
|
1329
1329
|
}
|
|
@@ -1337,15 +1337,15 @@
|
|
|
1337
1337
|
this.g9_1 = 2;
|
|
1338
1338
|
continue $sm;
|
|
1339
1339
|
case 2:
|
|
1340
|
-
if (this.
|
|
1340
|
+
if (this.t1p_1.x1l())
|
|
1341
1341
|
return false;
|
|
1342
1342
|
var tmp_0 = this;
|
|
1343
|
-
tmp_0.
|
|
1343
|
+
tmp_0.x1p_1 = new Buffer();
|
|
1344
1344
|
this.g9_1 = 3;
|
|
1345
1345
|
continue $sm;
|
|
1346
1346
|
case 3:
|
|
1347
|
-
this.
|
|
1348
|
-
this.
|
|
1347
|
+
this.z1p_1 = this.x1p_1;
|
|
1348
|
+
this.a1q_1 = null;
|
|
1349
1349
|
this.g9_1 = 4;
|
|
1350
1350
|
continue $sm;
|
|
1351
1351
|
case 4:
|
|
@@ -1358,12 +1358,12 @@
|
|
|
1358
1358
|
this.h9_1 = 18;
|
|
1359
1359
|
this.h9_1 = 17;
|
|
1360
1360
|
var tmp_1 = this;
|
|
1361
|
-
tmp_1.
|
|
1362
|
-
this.
|
|
1361
|
+
tmp_1.c1q_1 = this.z1p_1;
|
|
1362
|
+
this.d1q_1 = this.c1q_1;
|
|
1363
1363
|
this.g9_1 = 7;
|
|
1364
1364
|
continue $sm;
|
|
1365
1365
|
case 7:
|
|
1366
|
-
if (!!this.
|
|
1366
|
+
if (!!this.t1p_1.x1l()) {
|
|
1367
1367
|
this.g9_1 = 14;
|
|
1368
1368
|
continue $sm;
|
|
1369
1369
|
}
|
|
@@ -1371,16 +1371,16 @@
|
|
|
1371
1371
|
this.g9_1 = 8;
|
|
1372
1372
|
continue $sm;
|
|
1373
1373
|
case 8:
|
|
1374
|
-
if (!!this.
|
|
1374
|
+
if (!!this.t1p_1.q1l().k1g()) {
|
|
1375
1375
|
this.g9_1 = 12;
|
|
1376
1376
|
continue $sm;
|
|
1377
1377
|
}
|
|
1378
1378
|
|
|
1379
|
-
this.
|
|
1380
|
-
if (this.
|
|
1381
|
-
if (this.
|
|
1379
|
+
this.e1q_1 = this.t1p_1.q1l().n1g();
|
|
1380
|
+
if (this.e1q_1 === 13) {
|
|
1381
|
+
if (this.t1p_1.q1l().k1g()) {
|
|
1382
1382
|
this.g9_1 = 10;
|
|
1383
|
-
suspendResult = this.
|
|
1383
|
+
suspendResult = this.t1p_1.z1l(VOID, this);
|
|
1384
1384
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1385
1385
|
return suspendResult;
|
|
1386
1386
|
}
|
|
@@ -1390,15 +1390,15 @@
|
|
|
1390
1390
|
continue $sm;
|
|
1391
1391
|
}
|
|
1392
1392
|
} else {
|
|
1393
|
-
if (this.
|
|
1394
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1395
|
-
this.
|
|
1396
|
-
this.
|
|
1393
|
+
if (this.e1q_1 === 10) {
|
|
1394
|
+
readUTF8LineTo$checkLineEndingAllowed(this.w1p_1, Companion_getInstance_1().h1p_1);
|
|
1395
|
+
this.u1p_1.l(readString(this.d1q_1));
|
|
1396
|
+
this.b1q_1 = true;
|
|
1397
1397
|
this.h9_1 = 21;
|
|
1398
1398
|
this.g9_1 = 15;
|
|
1399
1399
|
continue $sm;
|
|
1400
1400
|
} else {
|
|
1401
|
-
this.
|
|
1401
|
+
this.d1q_1.d1i(this.e1q_1);
|
|
1402
1402
|
this.g9_1 = 9;
|
|
1403
1403
|
continue $sm;
|
|
1404
1404
|
}
|
|
@@ -1411,25 +1411,25 @@
|
|
|
1411
1411
|
this.g9_1 = 11;
|
|
1412
1412
|
continue $sm;
|
|
1413
1413
|
case 11:
|
|
1414
|
-
if (this.
|
|
1415
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1416
|
-
discard_0(this.
|
|
1414
|
+
if (this.t1p_1.q1l().j1g().f1h(new Long(0, 0)) === 10) {
|
|
1415
|
+
readUTF8LineTo$checkLineEndingAllowed(this.w1p_1, Companion_getInstance_1().i1p_1);
|
|
1416
|
+
discard_0(this.t1p_1.q1l(), new Long(1, 0));
|
|
1417
1417
|
} else {
|
|
1418
|
-
readUTF8LineTo$checkLineEndingAllowed(this.
|
|
1418
|
+
readUTF8LineTo$checkLineEndingAllowed(this.w1p_1, Companion_getInstance_1().g1p_1);
|
|
1419
1419
|
}
|
|
1420
1420
|
|
|
1421
|
-
this.
|
|
1422
|
-
this.
|
|
1421
|
+
this.u1p_1.l(readString(this.d1q_1));
|
|
1422
|
+
this.b1q_1 = true;
|
|
1423
1423
|
this.h9_1 = 21;
|
|
1424
1424
|
this.g9_1 = 15;
|
|
1425
1425
|
continue $sm;
|
|
1426
1426
|
case 12:
|
|
1427
|
-
if (this.
|
|
1428
|
-
throw new TooLongLineException('Line exceeds limit of ' + this.
|
|
1427
|
+
if (this.d1q_1.s().e1(toLong(this.v1p_1)) >= 0) {
|
|
1428
|
+
throw new TooLongLineException('Line exceeds limit of ' + this.v1p_1 + ' characters');
|
|
1429
1429
|
}
|
|
1430
1430
|
|
|
1431
1431
|
this.g9_1 = 13;
|
|
1432
|
-
suspendResult = this.
|
|
1432
|
+
suspendResult = this.t1p_1.z1l(VOID, this);
|
|
1433
1433
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1434
1434
|
return suspendResult;
|
|
1435
1435
|
}
|
|
@@ -1440,26 +1440,26 @@
|
|
|
1440
1440
|
continue $sm;
|
|
1441
1441
|
case 14:
|
|
1442
1442
|
var tmp_2 = this;
|
|
1443
|
-
var this_0 = this.
|
|
1443
|
+
var this_0 = this.d1q_1.s().e1(new Long(0, 0)) > 0;
|
|
1444
1444
|
if (this_0) {
|
|
1445
|
-
this.
|
|
1445
|
+
this.u1p_1.l(readString(this.d1q_1));
|
|
1446
1446
|
}
|
|
1447
1447
|
|
|
1448
|
-
tmp_2.
|
|
1448
|
+
tmp_2.b1q_1 = this_0;
|
|
1449
1449
|
this.h9_1 = 21;
|
|
1450
1450
|
this.g9_1 = 15;
|
|
1451
1451
|
var tmp_3 = this;
|
|
1452
1452
|
continue $sm;
|
|
1453
1453
|
case 15:
|
|
1454
|
-
var tmp_4 = this.
|
|
1454
|
+
var tmp_4 = this.b1q_1;
|
|
1455
1455
|
this.h9_1 = 21;
|
|
1456
|
-
closeFinally(this.
|
|
1456
|
+
closeFinally(this.z1p_1, this.a1q_1);
|
|
1457
1457
|
return tmp_4;
|
|
1458
1458
|
case 16:
|
|
1459
1459
|
this.h9_1 = 21;
|
|
1460
1460
|
var tmp_5 = this;
|
|
1461
|
-
closeFinally(this.
|
|
1462
|
-
tmp_5.
|
|
1461
|
+
closeFinally(this.z1p_1, this.a1q_1);
|
|
1462
|
+
tmp_5.y1p_1 = Unit_instance;
|
|
1463
1463
|
this.g9_1 = 20;
|
|
1464
1464
|
continue $sm;
|
|
1465
1465
|
case 17:
|
|
@@ -1468,7 +1468,7 @@
|
|
|
1468
1468
|
if (tmp_6 instanceof Error) {
|
|
1469
1469
|
var e = this.j9_1;
|
|
1470
1470
|
var tmp_7 = this;
|
|
1471
|
-
this.
|
|
1471
|
+
this.a1q_1 = e;
|
|
1472
1472
|
throw e;
|
|
1473
1473
|
} else {
|
|
1474
1474
|
throw this.j9_1;
|
|
@@ -1477,11 +1477,11 @@
|
|
|
1477
1477
|
case 18:
|
|
1478
1478
|
this.h9_1 = 21;
|
|
1479
1479
|
var t = this.j9_1;
|
|
1480
|
-
closeFinally(this.
|
|
1480
|
+
closeFinally(this.z1p_1, this.a1q_1);
|
|
1481
1481
|
throw t;
|
|
1482
1482
|
case 19:
|
|
1483
1483
|
this.h9_1 = 21;
|
|
1484
|
-
closeFinally(this.
|
|
1484
|
+
closeFinally(this.z1p_1, this.a1q_1);
|
|
1485
1485
|
if (false) {
|
|
1486
1486
|
this.g9_1 = 3;
|
|
1487
1487
|
continue $sm;
|
|
@@ -1507,8 +1507,8 @@
|
|
|
1507
1507
|
};
|
|
1508
1508
|
function $skipIfFoundCOROUTINE$15(_this__u8e3s4, byteString, resultContinuation) {
|
|
1509
1509
|
CoroutineImpl.call(this, resultContinuation);
|
|
1510
|
-
this.
|
|
1511
|
-
this.
|
|
1510
|
+
this.n1q_1 = _this__u8e3s4;
|
|
1511
|
+
this.o1q_1 = byteString;
|
|
1512
1512
|
}
|
|
1513
1513
|
protoOf($skipIfFoundCOROUTINE$15).o9 = function () {
|
|
1514
1514
|
var suspendResult = this.i9_1;
|
|
@@ -1519,17 +1519,17 @@
|
|
|
1519
1519
|
case 0:
|
|
1520
1520
|
this.h9_1 = 4;
|
|
1521
1521
|
this.g9_1 = 1;
|
|
1522
|
-
suspendResult = peek(this.
|
|
1522
|
+
suspendResult = peek(this.n1q_1, this.o1q_1.s(), this);
|
|
1523
1523
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1524
1524
|
return suspendResult;
|
|
1525
1525
|
}
|
|
1526
1526
|
|
|
1527
1527
|
continue $sm;
|
|
1528
1528
|
case 1:
|
|
1529
|
-
this.
|
|
1530
|
-
if (equals(this.
|
|
1529
|
+
this.p1q_1 = suspendResult;
|
|
1530
|
+
if (equals(this.p1q_1, this.o1q_1)) {
|
|
1531
1531
|
this.g9_1 = 3;
|
|
1532
|
-
suspendResult = discard(this.
|
|
1532
|
+
suspendResult = discard(this.n1q_1, toLong(this.o1q_1.s()), this);
|
|
1533
1533
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1534
1534
|
return suspendResult;
|
|
1535
1535
|
}
|
|
@@ -1559,11 +1559,11 @@
|
|
|
1559
1559
|
};
|
|
1560
1560
|
function $readUntilCOROUTINE$16(_this__u8e3s4, matchString, writeChannel, limit, ignoreMissing, resultContinuation) {
|
|
1561
1561
|
CoroutineImpl.call(this, resultContinuation);
|
|
1562
|
-
this.
|
|
1563
|
-
this.
|
|
1564
|
-
this.
|
|
1565
|
-
this.
|
|
1566
|
-
this.
|
|
1562
|
+
this.y1q_1 = _this__u8e3s4;
|
|
1563
|
+
this.z1q_1 = matchString;
|
|
1564
|
+
this.a1r_1 = writeChannel;
|
|
1565
|
+
this.b1r_1 = limit;
|
|
1566
|
+
this.c1r_1 = ignoreMissing;
|
|
1567
1567
|
}
|
|
1568
1568
|
protoOf($readUntilCOROUTINE$16).o9 = function () {
|
|
1569
1569
|
var suspendResult = this.i9_1;
|
|
@@ -1573,35 +1573,35 @@
|
|
|
1573
1573
|
switch (tmp) {
|
|
1574
1574
|
case 0:
|
|
1575
1575
|
this.h9_1 = 11;
|
|
1576
|
-
if (!(this.
|
|
1576
|
+
if (!(this.z1q_1.s() > 0)) {
|
|
1577
1577
|
var message = 'Empty match string not permitted for readUntil';
|
|
1578
1578
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
1579
1579
|
}
|
|
1580
1580
|
|
|
1581
|
-
this.
|
|
1582
|
-
this.
|
|
1583
|
-
this.
|
|
1584
|
-
this.
|
|
1581
|
+
this.d1r_1 = buildPartialMatchTable(this.z1q_1);
|
|
1582
|
+
this.e1r_1 = {_v: 0};
|
|
1583
|
+
this.f1r_1 = new Int8Array(this.z1q_1.s());
|
|
1584
|
+
this.g1r_1 = {_v: new Long(0, 0)};
|
|
1585
1585
|
this.g9_1 = 1;
|
|
1586
1586
|
continue $sm;
|
|
1587
1587
|
case 1:
|
|
1588
|
-
if (!!this.
|
|
1588
|
+
if (!!this.y1q_1.x1l()) {
|
|
1589
1589
|
this.g9_1 = 7;
|
|
1590
1590
|
continue $sm;
|
|
1591
1591
|
}
|
|
1592
1592
|
|
|
1593
1593
|
this.g9_1 = 2;
|
|
1594
|
-
suspendResult = readByte(this.
|
|
1594
|
+
suspendResult = readByte(this.y1q_1, this);
|
|
1595
1595
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1596
1596
|
return suspendResult;
|
|
1597
1597
|
}
|
|
1598
1598
|
|
|
1599
1599
|
continue $sm;
|
|
1600
1600
|
case 2:
|
|
1601
|
-
this.
|
|
1602
|
-
if (this.
|
|
1601
|
+
this.h1r_1 = suspendResult;
|
|
1602
|
+
if (this.e1r_1._v > 0 && !(this.h1r_1 === this.z1q_1.u(this.e1r_1._v))) {
|
|
1603
1603
|
this.g9_1 = 3;
|
|
1604
|
-
suspendResult = readUntil$appendPartialMatch(this.
|
|
1604
|
+
suspendResult = readUntil$appendPartialMatch(this.a1r_1, this.f1r_1, this.e1r_1, this.g1r_1, this);
|
|
1605
1605
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1606
1606
|
return suspendResult;
|
|
1607
1607
|
}
|
|
@@ -1612,23 +1612,23 @@
|
|
|
1612
1612
|
}
|
|
1613
1613
|
|
|
1614
1614
|
case 3:
|
|
1615
|
-
readUntil$resetPartialMatch(this.
|
|
1615
|
+
readUntil$resetPartialMatch(this.e1r_1, this.z1q_1, this.d1r_1, this.h1r_1);
|
|
1616
1616
|
this.g9_1 = 4;
|
|
1617
1617
|
continue $sm;
|
|
1618
1618
|
case 4:
|
|
1619
|
-
if (this.
|
|
1619
|
+
if (this.h1r_1 === this.z1q_1.u(this.e1r_1._v)) {
|
|
1620
1620
|
var tmp_0 = this;
|
|
1621
|
-
this.
|
|
1622
|
-
this.
|
|
1623
|
-
if (this.
|
|
1624
|
-
return this.
|
|
1621
|
+
this.f1r_1[this.e1r_1._v] = this.h1r_1;
|
|
1622
|
+
this.e1r_1._v = this.e1r_1._v + 1 | 0;
|
|
1623
|
+
if (this.e1r_1._v === this.z1q_1.s()) {
|
|
1624
|
+
return this.g1r_1._v;
|
|
1625
1625
|
}
|
|
1626
|
-
tmp_0.
|
|
1626
|
+
tmp_0.i1r_1 = Unit_instance;
|
|
1627
1627
|
this.g9_1 = 6;
|
|
1628
1628
|
continue $sm;
|
|
1629
1629
|
} else {
|
|
1630
1630
|
this.g9_1 = 5;
|
|
1631
|
-
suspendResult = writeByte(this.
|
|
1631
|
+
suspendResult = writeByte(this.a1r_1, this.h1r_1, this);
|
|
1632
1632
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1633
1633
|
return suspendResult;
|
|
1634
1634
|
}
|
|
@@ -1637,22 +1637,22 @@
|
|
|
1637
1637
|
|
|
1638
1638
|
case 5:
|
|
1639
1639
|
var tmp_1 = this;
|
|
1640
|
-
var _unary__edvuaz = this.
|
|
1641
|
-
this.
|
|
1642
|
-
tmp_1.
|
|
1640
|
+
var _unary__edvuaz = this.g1r_1._v;
|
|
1641
|
+
this.g1r_1._v = _unary__edvuaz.e3();
|
|
1642
|
+
tmp_1.i1r_1 = _unary__edvuaz;
|
|
1643
1643
|
this.g9_1 = 6;
|
|
1644
1644
|
continue $sm;
|
|
1645
1645
|
case 6:
|
|
1646
|
-
if (this.
|
|
1647
|
-
throw IOException_init_$Create$('Limit of ' + this.
|
|
1646
|
+
if (this.g1r_1._v.e1(this.b1r_1) > 0) {
|
|
1647
|
+
throw IOException_init_$Create$('Limit of ' + this.b1r_1.toString() + ' bytes exceeded while scanning for "' + decodeToString(this.z1q_1) + '"');
|
|
1648
1648
|
}
|
|
1649
1649
|
|
|
1650
1650
|
this.g9_1 = 1;
|
|
1651
1651
|
continue $sm;
|
|
1652
1652
|
case 7:
|
|
1653
|
-
if (this.
|
|
1653
|
+
if (this.c1r_1) {
|
|
1654
1654
|
this.g9_1 = 9;
|
|
1655
|
-
suspendResult = readUntil$appendPartialMatch(this.
|
|
1655
|
+
suspendResult = readUntil$appendPartialMatch(this.a1r_1, this.f1r_1, this.e1r_1, this.g1r_1, this);
|
|
1656
1656
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1657
1657
|
return suspendResult;
|
|
1658
1658
|
}
|
|
@@ -1663,17 +1663,17 @@
|
|
|
1663
1663
|
}
|
|
1664
1664
|
|
|
1665
1665
|
case 8:
|
|
1666
|
-
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.
|
|
1666
|
+
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.z1q_1) + '" but encountered end of input');
|
|
1667
1667
|
case 9:
|
|
1668
1668
|
this.g9_1 = 10;
|
|
1669
|
-
suspendResult = this.
|
|
1669
|
+
suspendResult = this.a1r_1.p1l(this);
|
|
1670
1670
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1671
1671
|
return suspendResult;
|
|
1672
1672
|
}
|
|
1673
1673
|
|
|
1674
1674
|
continue $sm;
|
|
1675
1675
|
case 10:
|
|
1676
|
-
return this.
|
|
1676
|
+
return this.g1r_1._v;
|
|
1677
1677
|
case 11:
|
|
1678
1678
|
throw this.j9_1;
|
|
1679
1679
|
}
|
|
@@ -1690,8 +1690,8 @@
|
|
|
1690
1690
|
};
|
|
1691
1691
|
function $peekCOROUTINE$17(_this__u8e3s4, count, resultContinuation) {
|
|
1692
1692
|
CoroutineImpl.call(this, resultContinuation);
|
|
1693
|
-
this.
|
|
1694
|
-
this.
|
|
1693
|
+
this.r1r_1 = _this__u8e3s4;
|
|
1694
|
+
this.s1r_1 = count;
|
|
1695
1695
|
}
|
|
1696
1696
|
protoOf($peekCOROUTINE$17).o9 = function () {
|
|
1697
1697
|
var suspendResult = this.i9_1;
|
|
@@ -1701,10 +1701,10 @@
|
|
|
1701
1701
|
switch (tmp) {
|
|
1702
1702
|
case 0:
|
|
1703
1703
|
this.h9_1 = 3;
|
|
1704
|
-
if (this.
|
|
1704
|
+
if (this.r1r_1.x1l())
|
|
1705
1705
|
return null;
|
|
1706
1706
|
this.g9_1 = 1;
|
|
1707
|
-
suspendResult = this.
|
|
1707
|
+
suspendResult = this.r1r_1.y1l(this.s1r_1, this);
|
|
1708
1708
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1709
1709
|
return suspendResult;
|
|
1710
1710
|
}
|
|
@@ -1720,7 +1720,7 @@
|
|
|
1720
1720
|
}
|
|
1721
1721
|
|
|
1722
1722
|
case 2:
|
|
1723
|
-
return readByteString(this.
|
|
1723
|
+
return readByteString(this.r1r_1.q1l().o1h(), this.s1r_1);
|
|
1724
1724
|
case 3:
|
|
1725
1725
|
throw this.j9_1;
|
|
1726
1726
|
}
|
|
@@ -1737,7 +1737,7 @@
|
|
|
1737
1737
|
};
|
|
1738
1738
|
function $readByteCOROUTINE$18(_this__u8e3s4, resultContinuation) {
|
|
1739
1739
|
CoroutineImpl.call(this, resultContinuation);
|
|
1740
|
-
this.
|
|
1740
|
+
this.b1s_1 = _this__u8e3s4;
|
|
1741
1741
|
}
|
|
1742
1742
|
protoOf($readByteCOROUTINE$18).o9 = function () {
|
|
1743
1743
|
var suspendResult = this.i9_1;
|
|
@@ -1747,9 +1747,9 @@
|
|
|
1747
1747
|
switch (tmp) {
|
|
1748
1748
|
case 0:
|
|
1749
1749
|
this.h9_1 = 3;
|
|
1750
|
-
if (this.
|
|
1750
|
+
if (this.b1s_1.q1l().k1g()) {
|
|
1751
1751
|
this.g9_1 = 1;
|
|
1752
|
-
suspendResult = this.
|
|
1752
|
+
suspendResult = this.b1s_1.z1l(VOID, this);
|
|
1753
1753
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1754
1754
|
return suspendResult;
|
|
1755
1755
|
}
|
|
@@ -1763,11 +1763,11 @@
|
|
|
1763
1763
|
this.g9_1 = 2;
|
|
1764
1764
|
continue $sm;
|
|
1765
1765
|
case 2:
|
|
1766
|
-
if (this.
|
|
1766
|
+
if (this.b1s_1.q1l().k1g()) {
|
|
1767
1767
|
throw EOFException_init_$Create$('Not enough data available');
|
|
1768
1768
|
}
|
|
1769
1769
|
|
|
1770
|
-
return this.
|
|
1770
|
+
return this.b1s_1.q1l().n1g();
|
|
1771
1771
|
case 3:
|
|
1772
1772
|
throw this.j9_1;
|
|
1773
1773
|
}
|
|
@@ -1784,10 +1784,10 @@
|
|
|
1784
1784
|
};
|
|
1785
1785
|
function $readUntil$appendPartialMatchCOROUTINE$19($writeChannel, matchBuffer, matchIndex, rc, resultContinuation) {
|
|
1786
1786
|
CoroutineImpl.call(this, resultContinuation);
|
|
1787
|
-
this.
|
|
1788
|
-
this.
|
|
1789
|
-
this.
|
|
1790
|
-
this.
|
|
1787
|
+
this.k1s_1 = $writeChannel;
|
|
1788
|
+
this.l1s_1 = matchBuffer;
|
|
1789
|
+
this.m1s_1 = matchIndex;
|
|
1790
|
+
this.n1s_1 = rc;
|
|
1791
1791
|
}
|
|
1792
1792
|
protoOf($readUntil$appendPartialMatchCOROUTINE$19).o9 = function () {
|
|
1793
1793
|
var suspendResult = this.i9_1;
|
|
@@ -1798,17 +1798,17 @@
|
|
|
1798
1798
|
case 0:
|
|
1799
1799
|
this.h9_1 = 2;
|
|
1800
1800
|
this.g9_1 = 1;
|
|
1801
|
-
suspendResult = writeFully(this.
|
|
1801
|
+
suspendResult = writeFully(this.k1s_1, this.l1s_1, 0, this.m1s_1._v, this);
|
|
1802
1802
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1803
1803
|
return suspendResult;
|
|
1804
1804
|
}
|
|
1805
1805
|
|
|
1806
1806
|
continue $sm;
|
|
1807
1807
|
case 1:
|
|
1808
|
-
var tmp0 = this.
|
|
1809
|
-
var other = this.
|
|
1810
|
-
this.
|
|
1811
|
-
this.
|
|
1808
|
+
var tmp0 = this.n1s_1._v;
|
|
1809
|
+
var other = this.m1s_1._v;
|
|
1810
|
+
this.n1s_1._v = tmp0.z2(toLong(other));
|
|
1811
|
+
this.m1s_1._v = 0;
|
|
1812
1812
|
return Unit_instance;
|
|
1813
1813
|
case 2:
|
|
1814
1814
|
throw this.j9_1;
|
|
@@ -1832,7 +1832,7 @@
|
|
|
1832
1832
|
}
|
|
1833
1833
|
function $flushIfNeededCOROUTINE$20(_this__u8e3s4, resultContinuation) {
|
|
1834
1834
|
CoroutineImpl.call(this, resultContinuation);
|
|
1835
|
-
this.
|
|
1835
|
+
this.w1s_1 = _this__u8e3s4;
|
|
1836
1836
|
}
|
|
1837
1837
|
protoOf($flushIfNeededCOROUTINE$20).o9 = function () {
|
|
1838
1838
|
var suspendResult = this.i9_1;
|
|
@@ -1842,19 +1842,19 @@
|
|
|
1842
1842
|
switch (tmp) {
|
|
1843
1843
|
case 0:
|
|
1844
1844
|
this.h9_1 = 3;
|
|
1845
|
-
rethrowCloseCauseIfNeeded_0(this.
|
|
1845
|
+
rethrowCloseCauseIfNeeded_0(this.w1s_1);
|
|
1846
1846
|
var tmp_0;
|
|
1847
|
-
var tmp_1 = this.
|
|
1847
|
+
var tmp_1 = this.w1s_1;
|
|
1848
1848
|
var tmp0_safe_receiver = tmp_1 instanceof ByteChannel ? tmp_1 : null;
|
|
1849
|
-
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1849
|
+
if ((tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u1j_1) === true) {
|
|
1850
1850
|
tmp_0 = true;
|
|
1851
1851
|
} else {
|
|
1852
|
-
tmp_0 = get_size(this.
|
|
1852
|
+
tmp_0 = get_size(this.w1s_1.t1l()) >= 1048576;
|
|
1853
1853
|
}
|
|
1854
1854
|
|
|
1855
1855
|
if (tmp_0) {
|
|
1856
1856
|
this.g9_1 = 1;
|
|
1857
|
-
suspendResult = this.
|
|
1857
|
+
suspendResult = this.w1s_1.p1l(this);
|
|
1858
1858
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1859
1859
|
return suspendResult;
|
|
1860
1860
|
}
|
|
@@ -1889,11 +1889,11 @@
|
|
|
1889
1889
|
}
|
|
1890
1890
|
var NO_CALLBACK;
|
|
1891
1891
|
function WriterJob(channel, job) {
|
|
1892
|
-
this.
|
|
1893
|
-
this.
|
|
1892
|
+
this.x1s_1 = channel;
|
|
1893
|
+
this.y1s_1 = job;
|
|
1894
1894
|
}
|
|
1895
|
-
protoOf(WriterJob).
|
|
1896
|
-
return this.
|
|
1895
|
+
protoOf(WriterJob).zu = function () {
|
|
1896
|
+
return this.y1s_1;
|
|
1897
1897
|
};
|
|
1898
1898
|
function writer(_this__u8e3s4, coroutineContext, autoFlush, block) {
|
|
1899
1899
|
coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_getInstance() : coroutineContext;
|
|
@@ -1902,16 +1902,16 @@
|
|
|
1902
1902
|
return writer_0(_this__u8e3s4, coroutineContext, new ByteChannel(), block);
|
|
1903
1903
|
}
|
|
1904
1904
|
function WriterScope(channel, coroutineContext) {
|
|
1905
|
-
this.
|
|
1906
|
-
this.
|
|
1905
|
+
this.z1s_1 = channel;
|
|
1906
|
+
this.a1t_1 = coroutineContext;
|
|
1907
1907
|
}
|
|
1908
|
-
protoOf(WriterScope).
|
|
1909
|
-
return this.
|
|
1908
|
+
protoOf(WriterScope).oo = function () {
|
|
1909
|
+
return this.a1t_1;
|
|
1910
1910
|
};
|
|
1911
1911
|
function writeFully(_this__u8e3s4, value, startIndex, endIndex, $completion) {
|
|
1912
1912
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
1913
1913
|
endIndex = endIndex === VOID ? value.length : endIndex;
|
|
1914
|
-
_this__u8e3s4.
|
|
1914
|
+
_this__u8e3s4.t1l().t1h(value, startIndex, endIndex);
|
|
1915
1915
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
1916
1916
|
}
|
|
1917
1917
|
function writePacket(_this__u8e3s4, source, $completion) {
|
|
@@ -1922,27 +1922,27 @@
|
|
|
1922
1922
|
}
|
|
1923
1923
|
function get_isCompleted(_this__u8e3s4) {
|
|
1924
1924
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
1925
|
-
return _this__u8e3s4.
|
|
1925
|
+
return _this__u8e3s4.zu().jp();
|
|
1926
1926
|
}
|
|
1927
1927
|
function close_0(_this__u8e3s4, cause) {
|
|
1928
1928
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
1929
1929
|
if (cause == null) {
|
|
1930
1930
|
fireAndForget(ByteWriteChannel$flushAndClose$ref_0(_this__u8e3s4));
|
|
1931
1931
|
} else {
|
|
1932
|
-
_this__u8e3s4.
|
|
1932
|
+
_this__u8e3s4.b1m(cause);
|
|
1933
1933
|
}
|
|
1934
1934
|
}
|
|
1935
1935
|
function invokeOnCompletion(_this__u8e3s4, block) {
|
|
1936
1936
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
1937
|
-
var tmp = _this__u8e3s4.
|
|
1938
|
-
tmp.
|
|
1937
|
+
var tmp = _this__u8e3s4.zu();
|
|
1938
|
+
tmp.qp(invokeOnCompletion$lambda(block));
|
|
1939
1939
|
}
|
|
1940
1940
|
function writer_0(_this__u8e3s4, coroutineContext, channel, block) {
|
|
1941
1941
|
coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_getInstance() : coroutineContext;
|
|
1942
1942
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
1943
1943
|
// Inline function 'kotlin.apply' call
|
|
1944
1944
|
var this_0 = launch(_this__u8e3s4, coroutineContext, VOID, writer$slambda_0(block, channel, null));
|
|
1945
|
-
this_0.
|
|
1945
|
+
this_0.qp(writer$lambda(channel));
|
|
1946
1946
|
var job = this_0;
|
|
1947
1947
|
return new WriterJob(channel, job);
|
|
1948
1948
|
}
|
|
@@ -1951,14 +1951,14 @@
|
|
|
1951
1951
|
startCoroutineCancellable(_this__u8e3s4, get_NO_CALLBACK());
|
|
1952
1952
|
}
|
|
1953
1953
|
function writeByte(_this__u8e3s4, value, $completion) {
|
|
1954
|
-
_this__u8e3s4.
|
|
1954
|
+
_this__u8e3s4.t1l().d1i(value);
|
|
1955
1955
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
1956
1956
|
}
|
|
1957
1957
|
function NO_CALLBACK$1() {
|
|
1958
|
-
this.
|
|
1958
|
+
this.l1t_1 = EmptyCoroutineContext_getInstance();
|
|
1959
1959
|
}
|
|
1960
1960
|
protoOf(NO_CALLBACK$1).m9 = function () {
|
|
1961
|
-
return this.
|
|
1961
|
+
return this.l1t_1;
|
|
1962
1962
|
};
|
|
1963
1963
|
protoOf(NO_CALLBACK$1).n9 = function (result) {
|
|
1964
1964
|
return Unit_instance;
|
|
@@ -1967,18 +1967,18 @@
|
|
|
1967
1967
|
return this.n9(result);
|
|
1968
1968
|
};
|
|
1969
1969
|
function ByteWriteChannel$flushAndClose$ref($boundThis) {
|
|
1970
|
-
this.
|
|
1970
|
+
this.m1t_1 = $boundThis;
|
|
1971
1971
|
}
|
|
1972
|
-
protoOf(ByteWriteChannel$flushAndClose$ref).
|
|
1973
|
-
return this.
|
|
1972
|
+
protoOf(ByteWriteChannel$flushAndClose$ref).n1t = function ($completion) {
|
|
1973
|
+
return this.m1t_1.a1m($completion);
|
|
1974
1974
|
};
|
|
1975
1975
|
protoOf(ByteWriteChannel$flushAndClose$ref).hb = function ($completion) {
|
|
1976
|
-
return this.
|
|
1976
|
+
return this.n1t($completion);
|
|
1977
1977
|
};
|
|
1978
1978
|
function ByteWriteChannel$flushAndClose$ref_0($boundThis) {
|
|
1979
1979
|
var i = new ByteWriteChannel$flushAndClose$ref($boundThis);
|
|
1980
1980
|
var l = function ($completion) {
|
|
1981
|
-
return i.
|
|
1981
|
+
return i.n1t($completion);
|
|
1982
1982
|
};
|
|
1983
1983
|
l.callableName = 'flushAndClose';
|
|
1984
1984
|
l.$arity = 0;
|
|
@@ -1991,18 +1991,18 @@
|
|
|
1991
1991
|
};
|
|
1992
1992
|
}
|
|
1993
1993
|
function writer$slambda($block, $channel, resultContinuation) {
|
|
1994
|
-
this.
|
|
1995
|
-
this.
|
|
1994
|
+
this.w1t_1 = $block;
|
|
1995
|
+
this.x1t_1 = $channel;
|
|
1996
1996
|
CoroutineImpl.call(this, resultContinuation);
|
|
1997
1997
|
}
|
|
1998
|
-
protoOf(writer$slambda).
|
|
1999
|
-
var tmp = this.
|
|
1998
|
+
protoOf(writer$slambda).r1u = function ($this$launch, $completion) {
|
|
1999
|
+
var tmp = this.s1u($this$launch, $completion);
|
|
2000
2000
|
tmp.i9_1 = Unit_instance;
|
|
2001
2001
|
tmp.j9_1 = null;
|
|
2002
2002
|
return tmp.o9();
|
|
2003
2003
|
};
|
|
2004
2004
|
protoOf(writer$slambda).ca = function (p1, $completion) {
|
|
2005
|
-
return this.
|
|
2005
|
+
return this.r1u((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2006
2006
|
};
|
|
2007
2007
|
protoOf(writer$slambda).o9 = function () {
|
|
2008
2008
|
var suspendResult = this.i9_1;
|
|
@@ -2012,29 +2012,29 @@
|
|
|
2012
2012
|
switch (tmp) {
|
|
2013
2013
|
case 0:
|
|
2014
2014
|
this.h9_1 = 14;
|
|
2015
|
-
this.
|
|
2015
|
+
this.z1t_1 = Job(get_job(this.y1t_1.oo()));
|
|
2016
2016
|
this.g9_1 = 1;
|
|
2017
2017
|
continue $sm;
|
|
2018
2018
|
case 1:
|
|
2019
2019
|
this.h9_1 = 4;
|
|
2020
2020
|
this.h9_1 = 3;
|
|
2021
2021
|
this.g9_1 = 2;
|
|
2022
|
-
suspendResult = this.
|
|
2022
|
+
suspendResult = this.w1t_1(new WriterScope(this.x1t_1, this.y1t_1.oo().rh(this.z1t_1)), this);
|
|
2023
2023
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2024
2024
|
return suspendResult;
|
|
2025
2025
|
}
|
|
2026
2026
|
|
|
2027
2027
|
continue $sm;
|
|
2028
2028
|
case 2:
|
|
2029
|
-
this.
|
|
2029
|
+
this.z1t_1.vv();
|
|
2030
2030
|
var tmp_0 = this;
|
|
2031
2031
|
var tmp_1;
|
|
2032
|
-
if (get_job(this.
|
|
2033
|
-
this.
|
|
2032
|
+
if (get_job(this.y1t_1.oo()).kp()) {
|
|
2033
|
+
this.x1t_1.b1m(get_job(this.y1t_1.oo()).np());
|
|
2034
2034
|
tmp_1 = Unit_instance;
|
|
2035
2035
|
}
|
|
2036
2036
|
|
|
2037
|
-
tmp_0.
|
|
2037
|
+
tmp_0.a1u_1 = tmp_1;
|
|
2038
2038
|
this.h9_1 = 14;
|
|
2039
2039
|
this.g9_1 = 9;
|
|
2040
2040
|
continue $sm;
|
|
@@ -2042,11 +2042,11 @@
|
|
|
2042
2042
|
this.h9_1 = 4;
|
|
2043
2043
|
var tmp_2 = this.j9_1;
|
|
2044
2044
|
if (tmp_2 instanceof Error) {
|
|
2045
|
-
this.
|
|
2045
|
+
this.b1u_1 = this.j9_1;
|
|
2046
2046
|
var tmp_3 = this;
|
|
2047
|
-
cancel(this.
|
|
2048
|
-
this.
|
|
2049
|
-
tmp_3.
|
|
2047
|
+
cancel(this.z1t_1, 'Exception thrown while writing to channel', this.b1u_1);
|
|
2048
|
+
this.x1t_1.b1m(this.b1u_1);
|
|
2049
|
+
tmp_3.a1u_1 = Unit_instance;
|
|
2050
2050
|
this.h9_1 = 14;
|
|
2051
2051
|
this.g9_1 = 9;
|
|
2052
2052
|
continue $sm;
|
|
@@ -2056,9 +2056,9 @@
|
|
|
2056
2056
|
|
|
2057
2057
|
case 4:
|
|
2058
2058
|
this.h9_1 = 14;
|
|
2059
|
-
this.
|
|
2059
|
+
this.c1u_1 = this.j9_1;
|
|
2060
2060
|
this.g9_1 = 5;
|
|
2061
|
-
suspendResult = this.
|
|
2061
|
+
suspendResult = this.z1t_1.wv(this);
|
|
2062
2062
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2063
2063
|
return suspendResult;
|
|
2064
2064
|
}
|
|
@@ -2066,27 +2066,27 @@
|
|
|
2066
2066
|
continue $sm;
|
|
2067
2067
|
case 5:
|
|
2068
2068
|
var tmp_4 = this;
|
|
2069
|
-
tmp_4.
|
|
2070
|
-
this.
|
|
2069
|
+
tmp_4.d1u_1 = this.y1t_1;
|
|
2070
|
+
this.e1u_1 = this.d1u_1;
|
|
2071
2071
|
this.h9_1 = 7;
|
|
2072
2072
|
var tmp_5 = this;
|
|
2073
|
-
tmp_5.
|
|
2073
|
+
tmp_5.g1u_1 = Companion_instance;
|
|
2074
2074
|
var tmp_6 = this;
|
|
2075
|
-
tmp_6.
|
|
2076
|
-
this.
|
|
2075
|
+
tmp_6.h1u_1 = this.e1u_1;
|
|
2076
|
+
this.i1u_1 = this.h1u_1;
|
|
2077
2077
|
this.g9_1 = 6;
|
|
2078
|
-
suspendResult = this.
|
|
2078
|
+
suspendResult = this.x1t_1.a1m(this);
|
|
2079
2079
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2080
2080
|
return suspendResult;
|
|
2081
2081
|
}
|
|
2082
2082
|
|
|
2083
2083
|
continue $sm;
|
|
2084
2084
|
case 6:
|
|
2085
|
-
this.
|
|
2085
|
+
this.j1u_1 = Unit_instance;
|
|
2086
2086
|
var tmp_7 = this;
|
|
2087
|
-
this.
|
|
2088
|
-
var value = this.
|
|
2089
|
-
tmp_7.
|
|
2087
|
+
this.g1u_1;
|
|
2088
|
+
var value = this.j1u_1;
|
|
2089
|
+
tmp_7.f1u_1 = _Result___init__impl__xyqfz8(value);
|
|
2090
2090
|
this.h9_1 = 14;
|
|
2091
2091
|
this.g9_1 = 8;
|
|
2092
2092
|
continue $sm;
|
|
@@ -2094,10 +2094,10 @@
|
|
|
2094
2094
|
this.h9_1 = 14;
|
|
2095
2095
|
var tmp_8 = this.j9_1;
|
|
2096
2096
|
if (tmp_8 instanceof Error) {
|
|
2097
|
-
this.
|
|
2097
|
+
this.k1u_1 = this.j9_1;
|
|
2098
2098
|
var tmp_9 = this;
|
|
2099
|
-
var exception = this.
|
|
2100
|
-
tmp_9.
|
|
2099
|
+
var exception = this.k1u_1;
|
|
2100
|
+
tmp_9.f1u_1 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
2101
2101
|
this.g9_1 = 8;
|
|
2102
2102
|
continue $sm;
|
|
2103
2103
|
} else {
|
|
@@ -2106,11 +2106,11 @@
|
|
|
2106
2106
|
|
|
2107
2107
|
case 8:
|
|
2108
2108
|
this.h9_1 = 14;
|
|
2109
|
-
throw this.
|
|
2109
|
+
throw this.c1u_1;
|
|
2110
2110
|
case 9:
|
|
2111
2111
|
this.h9_1 = 14;
|
|
2112
2112
|
this.g9_1 = 10;
|
|
2113
|
-
suspendResult = this.
|
|
2113
|
+
suspendResult = this.z1t_1.wv(this);
|
|
2114
2114
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2115
2115
|
return suspendResult;
|
|
2116
2116
|
}
|
|
@@ -2118,16 +2118,16 @@
|
|
|
2118
2118
|
continue $sm;
|
|
2119
2119
|
case 10:
|
|
2120
2120
|
var tmp_10 = this;
|
|
2121
|
-
tmp_10.
|
|
2122
|
-
this.
|
|
2121
|
+
tmp_10.l1u_1 = this.y1t_1;
|
|
2122
|
+
this.m1u_1 = this.l1u_1;
|
|
2123
2123
|
this.h9_1 = 12;
|
|
2124
2124
|
var tmp_11 = this;
|
|
2125
|
-
tmp_11.
|
|
2125
|
+
tmp_11.o1u_1 = Companion_instance;
|
|
2126
2126
|
var tmp_12 = this;
|
|
2127
|
-
tmp_12.
|
|
2128
|
-
this.
|
|
2127
|
+
tmp_12.p1u_1 = this.m1u_1;
|
|
2128
|
+
this.q1u_1 = this.p1u_1;
|
|
2129
2129
|
this.g9_1 = 11;
|
|
2130
|
-
suspendResult = this.
|
|
2130
|
+
suspendResult = this.x1t_1.a1m(this);
|
|
2131
2131
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2132
2132
|
return suspendResult;
|
|
2133
2133
|
}
|
|
@@ -2135,8 +2135,8 @@
|
|
|
2135
2135
|
continue $sm;
|
|
2136
2136
|
case 11:
|
|
2137
2137
|
var tmp_13 = this;
|
|
2138
|
-
this.
|
|
2139
|
-
tmp_13.
|
|
2138
|
+
this.o1u_1;
|
|
2139
|
+
tmp_13.n1u_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2140
2140
|
this.h9_1 = 14;
|
|
2141
2141
|
this.g9_1 = 13;
|
|
2142
2142
|
continue $sm;
|
|
@@ -2146,7 +2146,7 @@
|
|
|
2146
2146
|
if (tmp_14 instanceof Error) {
|
|
2147
2147
|
var e = this.j9_1;
|
|
2148
2148
|
var tmp_15 = this;
|
|
2149
|
-
tmp_15.
|
|
2149
|
+
tmp_15.n1u_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
2150
2150
|
this.g9_1 = 13;
|
|
2151
2151
|
continue $sm;
|
|
2152
2152
|
} else {
|
|
@@ -2170,15 +2170,15 @@
|
|
|
2170
2170
|
}
|
|
2171
2171
|
while (true);
|
|
2172
2172
|
};
|
|
2173
|
-
protoOf(writer$slambda).
|
|
2174
|
-
var i = new writer$slambda(this.
|
|
2175
|
-
i.
|
|
2173
|
+
protoOf(writer$slambda).s1u = function ($this$launch, completion) {
|
|
2174
|
+
var i = new writer$slambda(this.w1t_1, this.x1t_1, completion);
|
|
2175
|
+
i.y1t_1 = $this$launch;
|
|
2176
2176
|
return i;
|
|
2177
2177
|
};
|
|
2178
2178
|
function writer$slambda_0($block, $channel, resultContinuation) {
|
|
2179
2179
|
var i = new writer$slambda($block, $channel, resultContinuation);
|
|
2180
2180
|
var l = function ($this$launch, $completion) {
|
|
2181
|
-
return i.
|
|
2181
|
+
return i.r1u($this$launch, $completion);
|
|
2182
2182
|
};
|
|
2183
2183
|
l.$arity = 1;
|
|
2184
2184
|
return l;
|
|
@@ -2186,8 +2186,8 @@
|
|
|
2186
2186
|
function writer$lambda($channel) {
|
|
2187
2187
|
return function (it) {
|
|
2188
2188
|
var tmp;
|
|
2189
|
-
if (!(it == null) && !$channel.
|
|
2190
|
-
$channel.
|
|
2189
|
+
if (!(it == null) && !$channel.u1l()) {
|
|
2190
|
+
$channel.b1m(it);
|
|
2191
2191
|
tmp = Unit_instance;
|
|
2192
2192
|
}
|
|
2193
2193
|
return Unit_instance;
|
|
@@ -2195,8 +2195,8 @@
|
|
|
2195
2195
|
}
|
|
2196
2196
|
function $writePacketCOROUTINE$21(_this__u8e3s4, source, resultContinuation) {
|
|
2197
2197
|
CoroutineImpl.call(this, resultContinuation);
|
|
2198
|
-
this.
|
|
2199
|
-
this.
|
|
2198
|
+
this.j1t_1 = _this__u8e3s4;
|
|
2199
|
+
this.k1t_1 = source;
|
|
2200
2200
|
}
|
|
2201
2201
|
protoOf($writePacketCOROUTINE$21).o9 = function () {
|
|
2202
2202
|
var suspendResult = this.i9_1;
|
|
@@ -2209,14 +2209,14 @@
|
|
|
2209
2209
|
this.g9_1 = 1;
|
|
2210
2210
|
continue $sm;
|
|
2211
2211
|
case 1:
|
|
2212
|
-
if (!!this.
|
|
2212
|
+
if (!!this.k1t_1.k1g()) {
|
|
2213
2213
|
this.g9_1 = 3;
|
|
2214
2214
|
continue $sm;
|
|
2215
2215
|
}
|
|
2216
2216
|
|
|
2217
|
-
this.
|
|
2217
|
+
this.j1t_1.t1l().x1h(this.k1t_1, get_remaining(this.k1t_1));
|
|
2218
2218
|
this.g9_1 = 2;
|
|
2219
|
-
suspendResult = flushIfNeeded(this.
|
|
2219
|
+
suspendResult = flushIfNeeded(this.j1t_1, this);
|
|
2220
2220
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2221
2221
|
return suspendResult;
|
|
2222
2222
|
}
|
|
@@ -2261,27 +2261,27 @@
|
|
|
2261
2261
|
return l;
|
|
2262
2262
|
}
|
|
2263
2263
|
function CloseToken(origin) {
|
|
2264
|
-
this.
|
|
2264
|
+
this.r1l_1 = origin;
|
|
2265
2265
|
}
|
|
2266
|
-
protoOf(CloseToken).
|
|
2267
|
-
var tmp0_subject = this.
|
|
2266
|
+
protoOf(CloseToken).t1u = function (wrap) {
|
|
2267
|
+
var tmp0_subject = this.r1l_1;
|
|
2268
2268
|
var tmp;
|
|
2269
2269
|
if (tmp0_subject == null) {
|
|
2270
2270
|
tmp = null;
|
|
2271
2271
|
} else {
|
|
2272
2272
|
if (!(tmp0_subject == null) ? isInterface(tmp0_subject, CopyableThrowable) : false) {
|
|
2273
|
-
tmp = this.
|
|
2273
|
+
tmp = this.r1l_1.fw();
|
|
2274
2274
|
} else {
|
|
2275
2275
|
if (tmp0_subject instanceof CancellationException) {
|
|
2276
|
-
tmp = CancellationException_init_$Create$(this.
|
|
2276
|
+
tmp = CancellationException_init_$Create$(this.r1l_1.message, this.r1l_1);
|
|
2277
2277
|
} else {
|
|
2278
|
-
tmp = wrap(this.
|
|
2278
|
+
tmp = wrap(this.r1l_1);
|
|
2279
2279
|
}
|
|
2280
2280
|
}
|
|
2281
2281
|
}
|
|
2282
2282
|
return tmp;
|
|
2283
2283
|
};
|
|
2284
|
-
protoOf(CloseToken).
|
|
2284
|
+
protoOf(CloseToken).w1l = function (wrap, $super) {
|
|
2285
2285
|
var tmp;
|
|
2286
2286
|
if (wrap === VOID) {
|
|
2287
2287
|
tmp = ClosedByteChannelException$_init_$ref_yjp351();
|
|
@@ -2289,10 +2289,10 @@
|
|
|
2289
2289
|
tmp = wrap;
|
|
2290
2290
|
}
|
|
2291
2291
|
wrap = tmp;
|
|
2292
|
-
return $super === VOID ? this.
|
|
2292
|
+
return $super === VOID ? this.t1u(wrap) : $super.t1u.call(this, wrap);
|
|
2293
2293
|
};
|
|
2294
|
-
protoOf(CloseToken).
|
|
2295
|
-
var tmp0_safe_receiver = this.
|
|
2294
|
+
protoOf(CloseToken).s1l = function (wrap) {
|
|
2295
|
+
var tmp0_safe_receiver = this.t1u(wrap);
|
|
2296
2296
|
var tmp;
|
|
2297
2297
|
if (tmp0_safe_receiver == null) {
|
|
2298
2298
|
tmp = null;
|
|
@@ -2310,13 +2310,13 @@
|
|
|
2310
2310
|
}
|
|
2311
2311
|
}
|
|
2312
2312
|
function updateConsumed($this) {
|
|
2313
|
-
$this.
|
|
2314
|
-
$this.
|
|
2313
|
+
$this.x1u_1 = $this.x1u_1.z2($this.w1u_1.a3($this.v1u_1.s()));
|
|
2314
|
+
$this.w1u_1 = $this.v1u_1.s();
|
|
2315
2315
|
}
|
|
2316
2316
|
function $awaitContentCOROUTINE$22(_this__u8e3s4, min, resultContinuation) {
|
|
2317
2317
|
CoroutineImpl.call(this, resultContinuation);
|
|
2318
|
-
this.
|
|
2319
|
-
this.
|
|
2318
|
+
this.g1v_1 = _this__u8e3s4;
|
|
2319
|
+
this.h1v_1 = min;
|
|
2320
2320
|
}
|
|
2321
2321
|
protoOf($awaitContentCOROUTINE$22).o9 = function () {
|
|
2322
2322
|
var suspendResult = this.i9_1;
|
|
@@ -2326,13 +2326,13 @@
|
|
|
2326
2326
|
switch (tmp) {
|
|
2327
2327
|
case 0:
|
|
2328
2328
|
this.h9_1 = 3;
|
|
2329
|
-
if (this.
|
|
2330
|
-
this.
|
|
2329
|
+
if (this.g1v_1.q1l().s().e1(toLong(this.h1v_1)) >= 0) {
|
|
2330
|
+
this.i1v_1 = true;
|
|
2331
2331
|
this.g9_1 = 2;
|
|
2332
2332
|
continue $sm;
|
|
2333
2333
|
} else {
|
|
2334
2334
|
this.g9_1 = 1;
|
|
2335
|
-
suspendResult = this.
|
|
2335
|
+
suspendResult = this.g1v_1.u1u_1.y1l(this.h1v_1, this);
|
|
2336
2336
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2337
2337
|
return suspendResult;
|
|
2338
2338
|
}
|
|
@@ -2340,11 +2340,11 @@
|
|
|
2340
2340
|
}
|
|
2341
2341
|
|
|
2342
2342
|
case 1:
|
|
2343
|
-
this.
|
|
2343
|
+
this.i1v_1 = suspendResult;
|
|
2344
2344
|
this.g9_1 = 2;
|
|
2345
2345
|
continue $sm;
|
|
2346
2346
|
case 2:
|
|
2347
|
-
return this.
|
|
2347
|
+
return this.i1v_1;
|
|
2348
2348
|
case 3:
|
|
2349
2349
|
throw this.j9_1;
|
|
2350
2350
|
}
|
|
@@ -2360,36 +2360,36 @@
|
|
|
2360
2360
|
while (true);
|
|
2361
2361
|
};
|
|
2362
2362
|
function CountedByteReadChannel(delegate) {
|
|
2363
|
-
this.
|
|
2364
|
-
this.
|
|
2365
|
-
this.
|
|
2366
|
-
this.
|
|
2363
|
+
this.u1u_1 = delegate;
|
|
2364
|
+
this.v1u_1 = new Buffer();
|
|
2365
|
+
this.w1u_1 = new Long(0, 0);
|
|
2366
|
+
this.x1u_1 = new Long(0, 0);
|
|
2367
2367
|
}
|
|
2368
|
-
protoOf(CountedByteReadChannel).
|
|
2368
|
+
protoOf(CountedByteReadChannel).j1v = function () {
|
|
2369
2369
|
updateConsumed(this);
|
|
2370
|
-
return this.
|
|
2370
|
+
return this.x1u_1;
|
|
2371
2371
|
};
|
|
2372
|
-
protoOf(CountedByteReadChannel).
|
|
2373
|
-
return this.
|
|
2372
|
+
protoOf(CountedByteReadChannel).v1l = function () {
|
|
2373
|
+
return this.u1u_1.v1l();
|
|
2374
2374
|
};
|
|
2375
|
-
protoOf(CountedByteReadChannel).
|
|
2376
|
-
return this.
|
|
2375
|
+
protoOf(CountedByteReadChannel).x1l = function () {
|
|
2376
|
+
return this.v1u_1.k1g() && this.u1u_1.x1l();
|
|
2377
2377
|
};
|
|
2378
|
-
protoOf(CountedByteReadChannel).
|
|
2378
|
+
protoOf(CountedByteReadChannel).q1l = function () {
|
|
2379
2379
|
updateConsumed(this);
|
|
2380
|
-
var appended = this.
|
|
2381
|
-
this.
|
|
2382
|
-
return this.
|
|
2380
|
+
var appended = this.v1u_1.c1i(this.u1u_1.q1l());
|
|
2381
|
+
this.w1u_1 = this.w1u_1.z2(appended);
|
|
2382
|
+
return this.v1u_1;
|
|
2383
2383
|
};
|
|
2384
|
-
protoOf(CountedByteReadChannel).
|
|
2384
|
+
protoOf(CountedByteReadChannel).y1l = function (min, $completion) {
|
|
2385
2385
|
var tmp = new $awaitContentCOROUTINE$22(this, min, $completion);
|
|
2386
2386
|
tmp.i9_1 = Unit_instance;
|
|
2387
2387
|
tmp.j9_1 = null;
|
|
2388
2388
|
return tmp.o9();
|
|
2389
2389
|
};
|
|
2390
|
-
protoOf(CountedByteReadChannel).
|
|
2391
|
-
this.
|
|
2392
|
-
this.
|
|
2390
|
+
protoOf(CountedByteReadChannel).b1m = function (cause) {
|
|
2391
|
+
this.u1u_1.b1m(cause);
|
|
2392
|
+
this.v1u_1.p4();
|
|
2393
2393
|
};
|
|
2394
2394
|
function counted(_this__u8e3s4) {
|
|
2395
2395
|
return new CountedByteReadChannel(_this__u8e3s4);
|
|
@@ -2426,21 +2426,21 @@
|
|
|
2426
2426
|
}
|
|
2427
2427
|
function LineEndingMode__toString_impl_j4h76r($this) {
|
|
2428
2428
|
var tmp;
|
|
2429
|
-
if ($this === Companion_getInstance_1().
|
|
2429
|
+
if ($this === Companion_getInstance_1().g1p_1) {
|
|
2430
2430
|
tmp = 'CR';
|
|
2431
|
-
} else if ($this === Companion_getInstance_1().
|
|
2431
|
+
} else if ($this === Companion_getInstance_1().h1p_1) {
|
|
2432
2432
|
tmp = 'LF';
|
|
2433
|
-
} else if ($this === Companion_getInstance_1().
|
|
2433
|
+
} else if ($this === Companion_getInstance_1().i1p_1) {
|
|
2434
2434
|
tmp = 'CRLF';
|
|
2435
2435
|
} else {
|
|
2436
2436
|
// Inline function 'kotlin.collections.filter' call
|
|
2437
|
-
var tmp0 = Companion_getInstance_1().
|
|
2437
|
+
var tmp0 = Companion_getInstance_1().k1p_1;
|
|
2438
2438
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2439
2439
|
var destination = ArrayList_init_$Create$();
|
|
2440
2440
|
var _iterator__ex2g4s = tmp0.p();
|
|
2441
2441
|
while (_iterator__ex2g4s.q()) {
|
|
2442
2442
|
var element = _iterator__ex2g4s.r();
|
|
2443
|
-
var it = element.
|
|
2443
|
+
var it = element.k1v_1;
|
|
2444
2444
|
if (LineEndingMode__contains_impl_q5pr68($this, it)) {
|
|
2445
2445
|
destination.k(element);
|
|
2446
2446
|
}
|
|
@@ -2451,11 +2451,11 @@
|
|
|
2451
2451
|
}
|
|
2452
2452
|
function Companion_1() {
|
|
2453
2453
|
Companion_instance_2 = this;
|
|
2454
|
-
this.
|
|
2455
|
-
this.
|
|
2456
|
-
this.
|
|
2457
|
-
this.
|
|
2458
|
-
this.
|
|
2454
|
+
this.g1p_1 = _LineEndingMode___init__impl__jo5bul(1);
|
|
2455
|
+
this.h1p_1 = _LineEndingMode___init__impl__jo5bul(2);
|
|
2456
|
+
this.i1p_1 = _LineEndingMode___init__impl__jo5bul(4);
|
|
2457
|
+
this.j1p_1 = _LineEndingMode___init__impl__jo5bul(7);
|
|
2458
|
+
this.k1p_1 = listOf([new LineEndingMode(this.g1p_1), new LineEndingMode(this.h1p_1), new LineEndingMode(this.i1p_1)]);
|
|
2459
2459
|
}
|
|
2460
2460
|
var Companion_instance_2;
|
|
2461
2461
|
function Companion_getInstance_1() {
|
|
@@ -2469,67 +2469,67 @@
|
|
|
2469
2469
|
function LineEndingMode__equals_impl_qyr4nk($this, other) {
|
|
2470
2470
|
if (!(other instanceof LineEndingMode))
|
|
2471
2471
|
return false;
|
|
2472
|
-
if (!($this === (other instanceof LineEndingMode ? other.
|
|
2472
|
+
if (!($this === (other instanceof LineEndingMode ? other.k1v_1 : THROW_CCE())))
|
|
2473
2473
|
return false;
|
|
2474
2474
|
return true;
|
|
2475
2475
|
}
|
|
2476
2476
|
function LineEndingMode(mode) {
|
|
2477
2477
|
Companion_getInstance_1();
|
|
2478
|
-
this.
|
|
2478
|
+
this.k1v_1 = mode;
|
|
2479
2479
|
}
|
|
2480
2480
|
protoOf(LineEndingMode).toString = function () {
|
|
2481
|
-
return LineEndingMode__toString_impl_j4h76r(this.
|
|
2481
|
+
return LineEndingMode__toString_impl_j4h76r(this.k1v_1);
|
|
2482
2482
|
};
|
|
2483
2483
|
protoOf(LineEndingMode).hashCode = function () {
|
|
2484
|
-
return LineEndingMode__hashCode_impl_2mopm4(this.
|
|
2484
|
+
return LineEndingMode__hashCode_impl_2mopm4(this.k1v_1);
|
|
2485
2485
|
};
|
|
2486
2486
|
protoOf(LineEndingMode).equals = function (other) {
|
|
2487
|
-
return LineEndingMode__equals_impl_qyr4nk(this.
|
|
2487
|
+
return LineEndingMode__equals_impl_qyr4nk(this.k1v_1, other);
|
|
2488
2488
|
};
|
|
2489
2489
|
function SourceByteReadChannel(source) {
|
|
2490
|
-
this.
|
|
2491
|
-
this.
|
|
2490
|
+
this.l1v_1 = source;
|
|
2491
|
+
this.m1v_1 = null;
|
|
2492
2492
|
}
|
|
2493
|
-
protoOf(SourceByteReadChannel).
|
|
2494
|
-
var tmp0_safe_receiver = this.
|
|
2495
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2493
|
+
protoOf(SourceByteReadChannel).v1l = function () {
|
|
2494
|
+
var tmp0_safe_receiver = this.m1v_1;
|
|
2495
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.w1l();
|
|
2496
2496
|
};
|
|
2497
|
-
protoOf(SourceByteReadChannel).
|
|
2498
|
-
return this.
|
|
2497
|
+
protoOf(SourceByteReadChannel).x1l = function () {
|
|
2498
|
+
return this.l1v_1.k1g();
|
|
2499
2499
|
};
|
|
2500
|
-
protoOf(SourceByteReadChannel).
|
|
2501
|
-
var tmp0_safe_receiver = this.
|
|
2500
|
+
protoOf(SourceByteReadChannel).q1l = function () {
|
|
2501
|
+
var tmp0_safe_receiver = this.v1l();
|
|
2502
2502
|
if (tmp0_safe_receiver == null)
|
|
2503
2503
|
null;
|
|
2504
2504
|
else {
|
|
2505
2505
|
// Inline function 'kotlin.let' call
|
|
2506
2506
|
throw tmp0_safe_receiver;
|
|
2507
2507
|
}
|
|
2508
|
-
return this.
|
|
2508
|
+
return this.l1v_1.j1g();
|
|
2509
2509
|
};
|
|
2510
|
-
protoOf(SourceByteReadChannel).
|
|
2511
|
-
var tmp0_safe_receiver = this.
|
|
2510
|
+
protoOf(SourceByteReadChannel).y1l = function (min, $completion) {
|
|
2511
|
+
var tmp0_safe_receiver = this.v1l();
|
|
2512
2512
|
if (tmp0_safe_receiver == null)
|
|
2513
2513
|
null;
|
|
2514
2514
|
else {
|
|
2515
2515
|
// Inline function 'kotlin.let' call
|
|
2516
2516
|
throw tmp0_safe_receiver;
|
|
2517
2517
|
}
|
|
2518
|
-
return this.
|
|
2518
|
+
return this.l1v_1.m1g(toLong(min));
|
|
2519
2519
|
};
|
|
2520
|
-
protoOf(SourceByteReadChannel).
|
|
2521
|
-
if (!(this.
|
|
2520
|
+
protoOf(SourceByteReadChannel).b1m = function (cause) {
|
|
2521
|
+
if (!(this.m1v_1 == null))
|
|
2522
2522
|
return Unit_instance;
|
|
2523
|
-
this.
|
|
2523
|
+
this.l1v_1.p4();
|
|
2524
2524
|
var tmp = this;
|
|
2525
2525
|
var tmp1_elvis_lhs = cause == null ? null : cause.message;
|
|
2526
|
-
tmp.
|
|
2526
|
+
tmp.m1v_1 = new CloseToken(IOException_init_$Create$_0(tmp1_elvis_lhs == null ? 'Channel was cancelled' : tmp1_elvis_lhs, cause));
|
|
2527
2527
|
};
|
|
2528
2528
|
function decode(_this__u8e3s4, input, max) {
|
|
2529
2529
|
max = max === VOID ? 2147483647 : max;
|
|
2530
2530
|
var tmp0 = toLong(max);
|
|
2531
2531
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2532
|
-
var b = input.
|
|
2532
|
+
var b = input.j1g().s();
|
|
2533
2533
|
// Inline function 'kotlin.text.buildString' call
|
|
2534
2534
|
var capacity = (tmp0.e1(b) <= 0 ? tmp0 : b).j1();
|
|
2535
2535
|
// Inline function 'kotlin.apply' call
|
|
@@ -2565,7 +2565,7 @@
|
|
|
2565
2565
|
return builder;
|
|
2566
2566
|
}
|
|
2567
2567
|
function canRead(_this__u8e3s4) {
|
|
2568
|
-
return !_this__u8e3s4.
|
|
2568
|
+
return !_this__u8e3s4.k1g();
|
|
2569
2569
|
}
|
|
2570
2570
|
function readBytes(_this__u8e3s4, count) {
|
|
2571
2571
|
count = count === VOID ? _this__u8e3s4.s().j1() : count;
|
|
@@ -2575,37 +2575,37 @@
|
|
|
2575
2575
|
return new Buffer();
|
|
2576
2576
|
}
|
|
2577
2577
|
function writePacket_0(_this__u8e3s4, packet) {
|
|
2578
|
-
_this__u8e3s4.
|
|
2578
|
+
_this__u8e3s4.c1i(packet);
|
|
2579
2579
|
}
|
|
2580
2580
|
function build(_this__u8e3s4) {
|
|
2581
|
-
return _this__u8e3s4.
|
|
2581
|
+
return _this__u8e3s4.j1g();
|
|
2582
2582
|
}
|
|
2583
2583
|
function writeFully_0(_this__u8e3s4, buffer, offset, length) {
|
|
2584
2584
|
offset = offset === VOID ? 0 : offset;
|
|
2585
2585
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
2586
|
-
_this__u8e3s4.
|
|
2586
|
+
_this__u8e3s4.t1h(buffer, offset, offset + length | 0);
|
|
2587
2587
|
}
|
|
2588
2588
|
function get_size(_this__u8e3s4) {
|
|
2589
|
-
return _this__u8e3s4.
|
|
2589
|
+
return _this__u8e3s4.j1g().s().j1();
|
|
2590
2590
|
}
|
|
2591
2591
|
var ByteReadPacketEmpty;
|
|
2592
2592
|
function get_remaining(_this__u8e3s4) {
|
|
2593
2593
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2594
|
-
return _this__u8e3s4.
|
|
2594
|
+
return _this__u8e3s4.j1g().s();
|
|
2595
2595
|
}
|
|
2596
2596
|
function discard_0(_this__u8e3s4, count) {
|
|
2597
2597
|
count = count === VOID ? new Long(-1, 2147483647) : count;
|
|
2598
2598
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2599
|
-
_this__u8e3s4.
|
|
2599
|
+
_this__u8e3s4.m1g(count);
|
|
2600
2600
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2601
2601
|
var b = get_remaining(_this__u8e3s4);
|
|
2602
2602
|
var countToDiscard = count.e1(b) <= 0 ? count : b;
|
|
2603
|
-
_this__u8e3s4.
|
|
2603
|
+
_this__u8e3s4.j1g().h1h(countToDiscard);
|
|
2604
2604
|
return countToDiscard;
|
|
2605
2605
|
}
|
|
2606
2606
|
function takeWhile(_this__u8e3s4, block) {
|
|
2607
2607
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2608
|
-
while (!_this__u8e3s4.
|
|
2608
|
+
while (!_this__u8e3s4.k1g() && block(_this__u8e3s4.j1g())) {
|
|
2609
2609
|
}
|
|
2610
2610
|
}
|
|
2611
2611
|
var properties_initialized_ByteReadPacket_kt_hw4st4;
|
|
@@ -2618,37 +2618,37 @@
|
|
|
2618
2618
|
function readAvailable_0(_this__u8e3s4, buffer, offset, length) {
|
|
2619
2619
|
offset = offset === VOID ? 0 : offset;
|
|
2620
2620
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
2621
|
-
var result = _this__u8e3s4.
|
|
2621
|
+
var result = _this__u8e3s4.i1h(buffer, offset, offset + length | 0);
|
|
2622
2622
|
return result === -1 ? 0 : result;
|
|
2623
2623
|
}
|
|
2624
2624
|
function toByteArray_0(_this__u8e3s4, charset) {
|
|
2625
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2626
|
-
if (charset.equals(Charsets_getInstance().
|
|
2625
|
+
charset = charset === VOID ? Charsets_getInstance().n1v_1 : charset;
|
|
2626
|
+
if (charset.equals(Charsets_getInstance().n1v_1))
|
|
2627
2627
|
return encodeToByteArray(_this__u8e3s4, VOID, VOID, true);
|
|
2628
|
-
return encodeToByteArray_0(charset.
|
|
2628
|
+
return encodeToByteArray_0(charset.q1v(), _this__u8e3s4, 0, _this__u8e3s4.length);
|
|
2629
2629
|
}
|
|
2630
2630
|
function readText_0(_this__u8e3s4, charset, max) {
|
|
2631
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2631
|
+
charset = charset === VOID ? Charsets_getInstance().n1v_1 : charset;
|
|
2632
2632
|
max = max === VOID ? 2147483647 : max;
|
|
2633
|
-
if (charset.equals(Charsets_getInstance().
|
|
2633
|
+
if (charset.equals(Charsets_getInstance().n1v_1)) {
|
|
2634
2634
|
if (max === 2147483647)
|
|
2635
2635
|
return readString_0(_this__u8e3s4);
|
|
2636
|
-
var tmp0 = _this__u8e3s4.
|
|
2636
|
+
var tmp0 = _this__u8e3s4.j1g().s();
|
|
2637
2637
|
// Inline function 'kotlin.math.min' call
|
|
2638
2638
|
var b = toLong(max);
|
|
2639
2639
|
var count = tmp0.e1(b) <= 0 ? tmp0 : b;
|
|
2640
2640
|
return readString_1(_this__u8e3s4, count);
|
|
2641
2641
|
}
|
|
2642
|
-
return decode(charset.
|
|
2642
|
+
return decode(charset.r1v(), _this__u8e3s4, max);
|
|
2643
2643
|
}
|
|
2644
2644
|
function writeText(_this__u8e3s4, text, fromIndex, toIndex, charset) {
|
|
2645
2645
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
2646
2646
|
toIndex = toIndex === VOID ? charSequenceLength(text) : toIndex;
|
|
2647
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2648
|
-
if (charset === Charsets_getInstance().
|
|
2647
|
+
charset = charset === VOID ? Charsets_getInstance().n1v_1 : charset;
|
|
2648
|
+
if (charset === Charsets_getInstance().n1v_1) {
|
|
2649
2649
|
return writeString(_this__u8e3s4, toString_1(text), fromIndex, toIndex);
|
|
2650
2650
|
}
|
|
2651
|
-
encodeToImpl(charset.
|
|
2651
|
+
encodeToImpl(charset.q1v(), _this__u8e3s4, text, fromIndex, toIndex);
|
|
2652
2652
|
}
|
|
2653
2653
|
function get_ByteArrayPool() {
|
|
2654
2654
|
_init_properties_ByteArrayPool_kt__kfi3uj();
|
|
@@ -2658,7 +2658,7 @@
|
|
|
2658
2658
|
function ByteArrayPool$1() {
|
|
2659
2659
|
DefaultPool.call(this, 128);
|
|
2660
2660
|
}
|
|
2661
|
-
protoOf(ByteArrayPool$1).
|
|
2661
|
+
protoOf(ByteArrayPool$1).v1v = function () {
|
|
2662
2662
|
return new Int8Array(4096);
|
|
2663
2663
|
};
|
|
2664
2664
|
var properties_initialized_ByteArrayPool_kt_td6pfh;
|
|
@@ -2672,21 +2672,21 @@
|
|
|
2672
2672
|
}
|
|
2673
2673
|
function NoPoolImpl() {
|
|
2674
2674
|
}
|
|
2675
|
-
protoOf(NoPoolImpl).
|
|
2675
|
+
protoOf(NoPoolImpl).d1w = function (instance) {
|
|
2676
2676
|
return Unit_instance;
|
|
2677
2677
|
};
|
|
2678
|
-
protoOf(NoPoolImpl).
|
|
2678
|
+
protoOf(NoPoolImpl).os = function () {
|
|
2679
2679
|
return Unit_instance;
|
|
2680
2680
|
};
|
|
2681
2681
|
function Companion_2() {
|
|
2682
2682
|
}
|
|
2683
|
-
protoOf(Companion_2).
|
|
2683
|
+
protoOf(Companion_2).e1w = function (name) {
|
|
2684
2684
|
switch (name) {
|
|
2685
2685
|
case 'UTF-8':
|
|
2686
2686
|
case 'utf-8':
|
|
2687
2687
|
case 'UTF8':
|
|
2688
2688
|
case 'utf8':
|
|
2689
|
-
return Charsets_getInstance().
|
|
2689
|
+
return Charsets_getInstance().n1v_1;
|
|
2690
2690
|
}
|
|
2691
2691
|
var tmp;
|
|
2692
2692
|
var tmp_0;
|
|
@@ -2717,11 +2717,11 @@
|
|
|
2717
2717
|
tmp = name === 'latin1' || name === 'Latin1';
|
|
2718
2718
|
}
|
|
2719
2719
|
if (tmp) {
|
|
2720
|
-
return Charsets_getInstance().
|
|
2720
|
+
return Charsets_getInstance().o1v_1;
|
|
2721
2721
|
}
|
|
2722
2722
|
throw IllegalArgumentException_init_$Create$('Charset ' + name + ' is not supported');
|
|
2723
2723
|
};
|
|
2724
|
-
protoOf(Companion_2).
|
|
2724
|
+
protoOf(Companion_2).f1w = function (charset) {
|
|
2725
2725
|
var tmp;
|
|
2726
2726
|
switch (charset) {
|
|
2727
2727
|
case 'UTF-8':
|
|
@@ -2776,7 +2776,7 @@
|
|
|
2776
2776
|
return Companion_instance_3;
|
|
2777
2777
|
}
|
|
2778
2778
|
function Charset(_name) {
|
|
2779
|
-
this.
|
|
2779
|
+
this.p1v_1 = _name;
|
|
2780
2780
|
}
|
|
2781
2781
|
protoOf(Charset).equals = function (other) {
|
|
2782
2782
|
if (this === other)
|
|
@@ -2785,21 +2785,21 @@
|
|
|
2785
2785
|
return false;
|
|
2786
2786
|
if (!(other instanceof Charset))
|
|
2787
2787
|
THROW_CCE();
|
|
2788
|
-
return this.
|
|
2788
|
+
return this.p1v_1 === other.p1v_1;
|
|
2789
2789
|
};
|
|
2790
2790
|
protoOf(Charset).hashCode = function () {
|
|
2791
|
-
return getStringHashCode(this.
|
|
2791
|
+
return getStringHashCode(this.p1v_1);
|
|
2792
2792
|
};
|
|
2793
2793
|
protoOf(Charset).toString = function () {
|
|
2794
|
-
return this.
|
|
2794
|
+
return this.p1v_1;
|
|
2795
2795
|
};
|
|
2796
2796
|
function get_name(_this__u8e3s4) {
|
|
2797
|
-
return _this__u8e3s4.
|
|
2797
|
+
return _this__u8e3s4.p1v_1;
|
|
2798
2798
|
}
|
|
2799
2799
|
function Charsets() {
|
|
2800
2800
|
Charsets_instance = this;
|
|
2801
|
-
this.
|
|
2802
|
-
this.
|
|
2801
|
+
this.n1v_1 = new CharsetImpl('UTF-8');
|
|
2802
|
+
this.o1v_1 = new CharsetImpl('ISO-8859-1');
|
|
2803
2803
|
}
|
|
2804
2804
|
var Charsets_instance;
|
|
2805
2805
|
function Charsets_getInstance() {
|
|
@@ -2812,7 +2812,7 @@
|
|
|
2812
2812
|
captureStack(this, MalformedInputException);
|
|
2813
2813
|
}
|
|
2814
2814
|
function CharsetDecoder(_charset) {
|
|
2815
|
-
this.
|
|
2815
|
+
this.g1w_1 = _charset;
|
|
2816
2816
|
}
|
|
2817
2817
|
function encodeToByteArray_0(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
2818
2818
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
@@ -2820,15 +2820,15 @@
|
|
|
2820
2820
|
return encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex);
|
|
2821
2821
|
}
|
|
2822
2822
|
function CharsetEncoder(_charset) {
|
|
2823
|
-
this.
|
|
2823
|
+
this.h1w_1 = _charset;
|
|
2824
2824
|
}
|
|
2825
2825
|
function CharsetImpl(name) {
|
|
2826
2826
|
Charset.call(this, name);
|
|
2827
2827
|
}
|
|
2828
|
-
protoOf(CharsetImpl).
|
|
2828
|
+
protoOf(CharsetImpl).q1v = function () {
|
|
2829
2829
|
return new CharsetEncoderImpl(this);
|
|
2830
2830
|
};
|
|
2831
|
-
protoOf(CharsetImpl).
|
|
2831
|
+
protoOf(CharsetImpl).r1v = function () {
|
|
2832
2832
|
return new CharsetDecoderImpl(this);
|
|
2833
2833
|
};
|
|
2834
2834
|
function encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
@@ -2848,13 +2848,13 @@
|
|
|
2848
2848
|
}
|
|
2849
2849
|
function CharsetEncoderImpl(charset) {
|
|
2850
2850
|
CharsetEncoder.call(this, charset);
|
|
2851
|
-
this.
|
|
2851
|
+
this.k1w_1 = charset;
|
|
2852
2852
|
}
|
|
2853
2853
|
protoOf(CharsetEncoderImpl).toString = function () {
|
|
2854
|
-
return 'CharsetEncoderImpl(charset=' + this.
|
|
2854
|
+
return 'CharsetEncoderImpl(charset=' + this.k1w_1.toString() + ')';
|
|
2855
2855
|
};
|
|
2856
2856
|
protoOf(CharsetEncoderImpl).hashCode = function () {
|
|
2857
|
-
return this.
|
|
2857
|
+
return this.k1w_1.hashCode();
|
|
2858
2858
|
};
|
|
2859
2859
|
protoOf(CharsetEncoderImpl).equals = function (other) {
|
|
2860
2860
|
if (this === other)
|
|
@@ -2862,19 +2862,19 @@
|
|
|
2862
2862
|
if (!(other instanceof CharsetEncoderImpl))
|
|
2863
2863
|
return false;
|
|
2864
2864
|
var tmp0_other_with_cast = other instanceof CharsetEncoderImpl ? other : THROW_CCE();
|
|
2865
|
-
if (!this.
|
|
2865
|
+
if (!this.k1w_1.equals(tmp0_other_with_cast.k1w_1))
|
|
2866
2866
|
return false;
|
|
2867
2867
|
return true;
|
|
2868
2868
|
};
|
|
2869
2869
|
function CharsetDecoderImpl(charset) {
|
|
2870
2870
|
CharsetDecoder.call(this, charset);
|
|
2871
|
-
this.
|
|
2871
|
+
this.m1w_1 = charset;
|
|
2872
2872
|
}
|
|
2873
2873
|
protoOf(CharsetDecoderImpl).toString = function () {
|
|
2874
|
-
return 'CharsetDecoderImpl(charset=' + this.
|
|
2874
|
+
return 'CharsetDecoderImpl(charset=' + this.m1w_1.toString() + ')';
|
|
2875
2875
|
};
|
|
2876
2876
|
protoOf(CharsetDecoderImpl).hashCode = function () {
|
|
2877
|
-
return this.
|
|
2877
|
+
return this.m1w_1.hashCode();
|
|
2878
2878
|
};
|
|
2879
2879
|
protoOf(CharsetDecoderImpl).equals = function (other) {
|
|
2880
2880
|
if (this === other)
|
|
@@ -2882,7 +2882,7 @@
|
|
|
2882
2882
|
if (!(other instanceof CharsetDecoderImpl))
|
|
2883
2883
|
return false;
|
|
2884
2884
|
var tmp0_other_with_cast = other instanceof CharsetDecoderImpl ? other : THROW_CCE();
|
|
2885
|
-
if (!this.
|
|
2885
|
+
if (!this.m1w_1.equals(tmp0_other_with_cast.m1w_1))
|
|
2886
2886
|
return false;
|
|
2887
2887
|
return true;
|
|
2888
2888
|
};
|
|
@@ -2893,11 +2893,11 @@
|
|
|
2893
2893
|
var message = 'Failed requirement.';
|
|
2894
2894
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
2895
2895
|
}
|
|
2896
|
-
if (get_charset(_this__u8e3s4).equals(Charsets_getInstance().
|
|
2896
|
+
if (get_charset(_this__u8e3s4).equals(Charsets_getInstance().o1v_1)) {
|
|
2897
2897
|
return encodeISO88591(input, fromIndex, toIndex, dst);
|
|
2898
2898
|
}
|
|
2899
2899
|
// Inline function 'kotlin.require' call
|
|
2900
|
-
if (!(get_charset(_this__u8e3s4) === Charsets_getInstance().
|
|
2900
|
+
if (!(get_charset(_this__u8e3s4) === Charsets_getInstance().n1v_1)) {
|
|
2901
2901
|
var message_0 = 'Only UTF-8 encoding is supported in JS';
|
|
2902
2902
|
throw IllegalArgumentException_init_$Create$(toString_1(message_0));
|
|
2903
2903
|
}
|
|
@@ -2907,15 +2907,15 @@
|
|
|
2907
2907
|
var result = encoder.encode(tmp$ret$5);
|
|
2908
2908
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2909
2909
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2910
|
-
dst.
|
|
2910
|
+
dst.w1h(result);
|
|
2911
2911
|
return result.length;
|
|
2912
2912
|
}
|
|
2913
2913
|
function get_charset(_this__u8e3s4) {
|
|
2914
|
-
return _this__u8e3s4.
|
|
2914
|
+
return _this__u8e3s4.h1w_1;
|
|
2915
2915
|
}
|
|
2916
2916
|
function decode_0(_this__u8e3s4, input, dst, max) {
|
|
2917
2917
|
var decoder = Decoder(get_name(get_charset_0(_this__u8e3s4)), true);
|
|
2918
|
-
var tmp0 = input.
|
|
2918
|
+
var tmp0 = input.j1g().s();
|
|
2919
2919
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2920
2920
|
var b = toLong(max);
|
|
2921
2921
|
var count = tmp0.e1(b) <= 0 ? tmp0 : b;
|
|
@@ -2923,7 +2923,7 @@
|
|
|
2923
2923
|
var array = tmp instanceof Int8Array ? tmp : THROW_CCE();
|
|
2924
2924
|
var tmp_0;
|
|
2925
2925
|
try {
|
|
2926
|
-
tmp_0 = decoder.
|
|
2926
|
+
tmp_0 = decoder.n1w(array);
|
|
2927
2927
|
} catch ($p) {
|
|
2928
2928
|
var tmp_1;
|
|
2929
2929
|
if ($p instanceof Error) {
|
|
@@ -2939,13 +2939,13 @@
|
|
|
2939
2939
|
return result.length;
|
|
2940
2940
|
}
|
|
2941
2941
|
function get_charset_0(_this__u8e3s4) {
|
|
2942
|
-
return _this__u8e3s4.
|
|
2942
|
+
return _this__u8e3s4.g1w_1;
|
|
2943
2943
|
}
|
|
2944
2944
|
function forName(_this__u8e3s4, name) {
|
|
2945
|
-
return Companion_instance_3.
|
|
2945
|
+
return Companion_instance_3.e1w(name);
|
|
2946
2946
|
}
|
|
2947
2947
|
function isSupported(_this__u8e3s4, name) {
|
|
2948
|
-
return Companion_instance_3.
|
|
2948
|
+
return Companion_instance_3.f1w(name);
|
|
2949
2949
|
}
|
|
2950
2950
|
function Decoder(encoding, fatal) {
|
|
2951
2951
|
fatal = fatal === VOID ? true : fatal;
|
|
@@ -2977,10 +2977,10 @@
|
|
|
2977
2977
|
return this_0;
|
|
2978
2978
|
}
|
|
2979
2979
|
function toKtor$1($this_toKtor) {
|
|
2980
|
-
this.
|
|
2980
|
+
this.o1w_1 = $this_toKtor;
|
|
2981
2981
|
}
|
|
2982
|
-
protoOf(toKtor$1).
|
|
2983
|
-
return this.
|
|
2982
|
+
protoOf(toKtor$1).n1w = function (buffer) {
|
|
2983
|
+
return this.o1w_1.decode(buffer);
|
|
2984
2984
|
};
|
|
2985
2985
|
function get_ENCODING_ALIASES() {
|
|
2986
2986
|
_init_properties_TextDecoderFallback_js_kt__an7r6m();
|
|
@@ -2993,7 +2993,7 @@
|
|
|
2993
2993
|
}
|
|
2994
2994
|
var REPLACEMENT;
|
|
2995
2995
|
function TextDecoderFallback(encoding, fatal) {
|
|
2996
|
-
this.
|
|
2996
|
+
this.p1w_1 = fatal;
|
|
2997
2997
|
// Inline function 'kotlin.text.trim' call
|
|
2998
2998
|
// Inline function 'kotlin.text.lowercase' call
|
|
2999
2999
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3004,7 +3004,7 @@
|
|
|
3004
3004
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3005
3005
|
}
|
|
3006
3006
|
}
|
|
3007
|
-
protoOf(TextDecoderFallback).
|
|
3007
|
+
protoOf(TextDecoderFallback).n1w = function (buffer) {
|
|
3008
3008
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
3009
3009
|
var builder = new Buffer();
|
|
3010
3010
|
var bytes = buffer instanceof Int8Array ? buffer : THROW_CCE();
|
|
@@ -3020,7 +3020,7 @@
|
|
|
3020
3020
|
var point = toCodePoint(byte);
|
|
3021
3021
|
if (point < 0) {
|
|
3022
3022
|
// Inline function 'kotlin.check' call
|
|
3023
|
-
if (!!this.
|
|
3023
|
+
if (!!this.p1w_1) {
|
|
3024
3024
|
var message = 'Invalid character: ' + point;
|
|
3025
3025
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3026
3026
|
}
|
|
@@ -3028,9 +3028,9 @@
|
|
|
3028
3028
|
continue $l$loop;
|
|
3029
3029
|
}
|
|
3030
3030
|
if (point > 255) {
|
|
3031
|
-
builder.
|
|
3031
|
+
builder.d1i(toByte(point >> 8));
|
|
3032
3032
|
}
|
|
3033
|
-
builder.
|
|
3033
|
+
builder.d1i(toByte(point & 255));
|
|
3034
3034
|
}
|
|
3035
3035
|
while (inductionVariable < last);
|
|
3036
3036
|
return decodeToString_0(readByteArray_0(builder));
|
|
@@ -3073,7 +3073,7 @@
|
|
|
3073
3073
|
if (character > 255) {
|
|
3074
3074
|
failedToMapError(character);
|
|
3075
3075
|
}
|
|
3076
|
-
dst.
|
|
3076
|
+
dst.d1i(toByte(character));
|
|
3077
3077
|
}
|
|
3078
3078
|
while (inductionVariable < toIndex);
|
|
3079
3079
|
return toIndex - fromIndex | 0;
|
|
@@ -3095,64 +3095,64 @@
|
|
|
3095
3095
|
}
|
|
3096
3096
|
}
|
|
3097
3097
|
function DefaultPool(capacity) {
|
|
3098
|
-
this.
|
|
3098
|
+
this.w1v_1 = capacity;
|
|
3099
3099
|
var tmp = this;
|
|
3100
3100
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3101
|
-
var size = this.
|
|
3102
|
-
tmp.
|
|
3103
|
-
this.
|
|
3101
|
+
var size = this.w1v_1;
|
|
3102
|
+
tmp.x1v_1 = Array(size);
|
|
3103
|
+
this.y1v_1 = 0;
|
|
3104
3104
|
}
|
|
3105
|
-
protoOf(DefaultPool).
|
|
3105
|
+
protoOf(DefaultPool).z1v = function (instance) {
|
|
3106
3106
|
};
|
|
3107
|
-
protoOf(DefaultPool).
|
|
3107
|
+
protoOf(DefaultPool).a1w = function (instance) {
|
|
3108
3108
|
return instance;
|
|
3109
3109
|
};
|
|
3110
|
-
protoOf(DefaultPool).
|
|
3110
|
+
protoOf(DefaultPool).b1w = function (instance) {
|
|
3111
3111
|
};
|
|
3112
|
-
protoOf(DefaultPool).
|
|
3113
|
-
if (this.
|
|
3114
|
-
return this.
|
|
3115
|
-
this.
|
|
3116
|
-
var idx = this.
|
|
3117
|
-
var tmp = this.
|
|
3112
|
+
protoOf(DefaultPool).c1w = function () {
|
|
3113
|
+
if (this.y1v_1 === 0)
|
|
3114
|
+
return this.v1v();
|
|
3115
|
+
this.y1v_1 = this.y1v_1 - 1 | 0;
|
|
3116
|
+
var idx = this.y1v_1;
|
|
3117
|
+
var tmp = this.x1v_1[idx];
|
|
3118
3118
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3119
|
-
this.
|
|
3120
|
-
return this.
|
|
3119
|
+
this.x1v_1[idx] = null;
|
|
3120
|
+
return this.a1w(instance);
|
|
3121
3121
|
};
|
|
3122
|
-
protoOf(DefaultPool).
|
|
3123
|
-
this.
|
|
3124
|
-
if (this.
|
|
3125
|
-
this.
|
|
3122
|
+
protoOf(DefaultPool).d1w = function (instance) {
|
|
3123
|
+
this.b1w(instance);
|
|
3124
|
+
if (this.y1v_1 === this.w1v_1) {
|
|
3125
|
+
this.z1v(instance);
|
|
3126
3126
|
} else {
|
|
3127
|
-
var _unary__edvuaz = this.
|
|
3128
|
-
this.
|
|
3129
|
-
this.
|
|
3127
|
+
var _unary__edvuaz = this.y1v_1;
|
|
3128
|
+
this.y1v_1 = _unary__edvuaz + 1 | 0;
|
|
3129
|
+
this.x1v_1[_unary__edvuaz] = instance;
|
|
3130
3130
|
}
|
|
3131
3131
|
};
|
|
3132
|
-
protoOf(DefaultPool).
|
|
3132
|
+
protoOf(DefaultPool).os = function () {
|
|
3133
3133
|
var inductionVariable = 0;
|
|
3134
|
-
var last = this.
|
|
3134
|
+
var last = this.y1v_1;
|
|
3135
3135
|
if (inductionVariable < last)
|
|
3136
3136
|
do {
|
|
3137
3137
|
var i = inductionVariable;
|
|
3138
3138
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3139
|
-
var tmp = this.
|
|
3139
|
+
var tmp = this.x1v_1[i];
|
|
3140
3140
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3141
|
-
this.
|
|
3142
|
-
this.
|
|
3141
|
+
this.x1v_1[i] = null;
|
|
3142
|
+
this.z1v(instance);
|
|
3143
3143
|
}
|
|
3144
3144
|
while (inductionVariable < last);
|
|
3145
|
-
this.
|
|
3145
|
+
this.y1v_1 = 0;
|
|
3146
3146
|
};
|
|
3147
3147
|
//region block: post-declaration
|
|
3148
|
-
protoOf(Read).
|
|
3149
|
-
protoOf(Read).
|
|
3150
|
-
protoOf(Write).
|
|
3151
|
-
protoOf(Write).
|
|
3152
|
-
protoOf(ByteChannel).
|
|
3153
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
3154
|
-
protoOf(CountedByteReadChannel).
|
|
3155
|
-
protoOf(SourceByteReadChannel).
|
|
3148
|
+
protoOf(Read).o1j = resume;
|
|
3149
|
+
protoOf(Read).p1j = resume_0;
|
|
3150
|
+
protoOf(Write).o1j = resume;
|
|
3151
|
+
protoOf(Write).p1j = resume_0;
|
|
3152
|
+
protoOf(ByteChannel).z1l = awaitContent$default;
|
|
3153
|
+
protoOf(ByteReadChannel$Companion$Empty$1).z1l = awaitContent$default;
|
|
3154
|
+
protoOf(CountedByteReadChannel).z1l = awaitContent$default;
|
|
3155
|
+
protoOf(SourceByteReadChannel).z1l = awaitContent$default;
|
|
3156
3156
|
protoOf(DefaultPool).p4 = close;
|
|
3157
3157
|
protoOf(NoPoolImpl).p4 = close;
|
|
3158
3158
|
//endregion
|