@solibo/solibo-sdk 1.0.29 → 1.0.30-SNAPSHOT
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/KmLogging-logging.js +111 -111
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1579 -1580
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -1
- package/KotlinBigInteger-bignum.js +1166 -1166
- package/MultiplatformSettings-multiplatform-settings.js +17 -17
- package/Stately-stately-concurrency.js +5 -5
- package/cryptography-kotlin-cryptography-bigint.js +35 -35
- package/cryptography-kotlin-cryptography-bigint.js.map +1 -1
- package/cryptography-kotlin-cryptography-core.js +54 -54
- package/cryptography-kotlin-cryptography-provider-base.js +8 -8
- package/cryptography-kotlin-cryptography-provider-base.js.map +1 -1
- package/cryptography-kotlin-cryptography-provider-webcrypto.js +141 -141
- package/cryptography-kotlin-cryptography-provider-webcrypto.js.map +1 -1
- package/cryptography-kotlin-cryptography-random.js +15 -15
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.js +208 -208
- package/cryptography-kotlin-cryptography-serialization-asn1-modules.js.map +1 -1
- package/cryptography-kotlin-cryptography-serialization-asn1.js +345 -345
- package/cryptography-kotlin-cryptography-serialization-asn1.js.map +1 -1
- package/cryptography-kotlin-cryptography-serialization-pem.js +16 -16
- package/index.d.ts +514 -525
- package/index.js +514 -525
- package/kotlin-kotlin-stdlib.js +1167 -1258
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +17 -17
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +1887 -1887
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring.js +36 -36
- package/kotlinx-io-kotlinx-io-core.js +465 -465
- package/kotlinx-serialization-kotlinx-serialization-core.js +1892 -1884
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1422 -1421
- package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -1
- package/ktor-ktor-client-auth.js +279 -279
- package/ktor-ktor-client-content-negotiation.js +149 -149
- package/ktor-ktor-client-core.js +2763 -3212
- package/ktor-ktor-client-core.js.map +1 -1
- package/ktor-ktor-client-logging.js +674 -674
- package/ktor-ktor-client-logging.js.map +1 -1
- package/ktor-ktor-events.js +7 -7
- package/ktor-ktor-http-cio.js +364 -364
- package/ktor-ktor-http-cio.js.map +1 -1
- package/ktor-ktor-http.js +1161 -1220
- package/ktor-ktor-http.js.map +1 -1
- package/ktor-ktor-io.js +688 -795
- package/ktor-ktor-io.js.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json.js +8 -8
- package/ktor-ktor-serialization-kotlinx.js +147 -147
- package/ktor-ktor-serialization-kotlinx.js.map +1 -1
- package/ktor-ktor-serialization.js +66 -66
- package/ktor-ktor-utils.js +788 -791
- package/ktor-ktor-utils.js.map +1 -1
- package/ktor-ktor-websockets.js +413 -413
- package/ktor-ktor-websockets.js.map +1 -1
- package/package.json +1 -1
- package/solibo-sdk-sdk-home-api.js +85277 -142208
- package/solibo-sdk-sdk-home-api.js.map +1 -1
- package/solibo-sdk-sdk.d.ts +2906 -4595
- package/solibo-sdk-sdk.js +1591 -1591
- package/solibo-sdk-sdk.js.map +1 -1
package/ktor-ktor-io.js
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
var initMetadataForObject = kotlin_kotlin.$_$.oc;
|
|
33
33
|
var toString = kotlin_kotlin.$_$.lj;
|
|
34
34
|
var hashCode = kotlin_kotlin.$_$.hc;
|
|
35
|
-
var equals = kotlin_kotlin.$_$.
|
|
35
|
+
var equals = kotlin_kotlin.$_$.zb;
|
|
36
36
|
var initMetadataForClass = kotlin_kotlin.$_$.ic;
|
|
37
37
|
var createFailure = kotlin_kotlin.$_$.yi;
|
|
38
38
|
var Result = kotlin_kotlin.$_$.ei;
|
|
@@ -42,57 +42,57 @@
|
|
|
42
42
|
var stackTraceToString = kotlin_kotlin.$_$.ij;
|
|
43
43
|
var VOID = kotlin_kotlin.$_$.c;
|
|
44
44
|
var isInterface = kotlin_kotlin.$_$.xc;
|
|
45
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
46
|
-
var fromInt = kotlin_kotlin.$_$.
|
|
47
|
-
var numberToLong = kotlin_kotlin.$_$.
|
|
48
|
-
var add = kotlin_kotlin.$_$.
|
|
49
|
-
var intercepted = kotlin_kotlin.$_$.
|
|
45
|
+
var CoroutineImpl = kotlin_kotlin.$_$.pa;
|
|
46
|
+
var fromInt = kotlin_kotlin.$_$.ab;
|
|
47
|
+
var numberToLong = kotlin_kotlin.$_$.gb;
|
|
48
|
+
var add = kotlin_kotlin.$_$.va;
|
|
49
|
+
var intercepted = kotlin_kotlin.$_$.ba;
|
|
50
50
|
var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h1;
|
|
51
51
|
var noWhenBranchMatchedException = kotlin_kotlin.$_$.gj;
|
|
52
52
|
var returnIfSuspended = kotlin_kotlin.$_$.h;
|
|
53
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
53
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.y9;
|
|
54
54
|
var initMetadataForCoroutine = kotlin_kotlin.$_$.kc;
|
|
55
55
|
var Buffer = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
56
56
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.d;
|
|
57
|
-
var convertToInt = kotlin_kotlin.$_$.
|
|
57
|
+
var convertToInt = kotlin_kotlin.$_$.xa;
|
|
58
58
|
var IllegalStateException = kotlin_kotlin.$_$.ai;
|
|
59
59
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.v1;
|
|
60
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
60
|
+
var captureStack = kotlin_kotlin.$_$.qb;
|
|
61
61
|
var IOException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
62
62
|
var decodeToString = kotlin_org_jetbrains_kotlinx_kotlinx_io_bytestring.$_$.d;
|
|
63
63
|
var replace = kotlin_kotlin.$_$.pf;
|
|
64
64
|
var indexOf = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.i;
|
|
65
65
|
var THROW_CCE = kotlin_kotlin.$_$.gi;
|
|
66
|
-
var get_ONE = kotlin_kotlin.$_$.
|
|
66
|
+
var get_ONE = kotlin_kotlin.$_$.ua;
|
|
67
67
|
var toString_1 = kotlin_kotlin.$_$.ld;
|
|
68
68
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.q1;
|
|
69
69
|
var EOFException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
70
70
|
var readString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.n;
|
|
71
|
-
var subtract = kotlin_kotlin.$_$.
|
|
71
|
+
var subtract = kotlin_kotlin.$_$.kb;
|
|
72
72
|
var readByteString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.l;
|
|
73
73
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.u1;
|
|
74
74
|
var EmptyCoroutineContext_instance = kotlin_kotlin.$_$.s4;
|
|
75
75
|
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o1;
|
|
76
76
|
var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x1;
|
|
77
77
|
var startCoroutineCancellable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f1;
|
|
78
|
-
var Continuation = kotlin_kotlin.$_$.
|
|
78
|
+
var Continuation = kotlin_kotlin.$_$.ja;
|
|
79
79
|
var initMetadataForFunctionReference = kotlin_kotlin.$_$.lc;
|
|
80
80
|
var get_job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w1;
|
|
81
81
|
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p1;
|
|
82
82
|
var cancel = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.v1;
|
|
83
83
|
var initMetadataForLambda = kotlin_kotlin.$_$.nc;
|
|
84
84
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.a1;
|
|
85
|
-
var CancellationException = kotlin_kotlin.$_$.
|
|
85
|
+
var CancellationException = kotlin_kotlin.$_$.x9;
|
|
86
86
|
var CopyableThrowable = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l1;
|
|
87
87
|
var readString_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.m;
|
|
88
88
|
var IOException = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.g;
|
|
89
89
|
var IOException_init_$Init$ = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.d;
|
|
90
90
|
var Enum = kotlin_kotlin.$_$.wh;
|
|
91
91
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
92
|
-
var listOf = kotlin_kotlin.$_$.
|
|
92
|
+
var listOf = kotlin_kotlin.$_$.h8;
|
|
93
93
|
var IOException_init_$Create$_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.e;
|
|
94
94
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.d1;
|
|
95
|
-
var charSequenceLength = kotlin_kotlin.$_$.
|
|
95
|
+
var charSequenceLength = kotlin_kotlin.$_$.vb;
|
|
96
96
|
var readByteArray = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.j;
|
|
97
97
|
var encodeToByteArray = kotlin_kotlin.$_$.te;
|
|
98
98
|
var writeString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.o;
|
|
@@ -102,14 +102,14 @@
|
|
|
102
102
|
var replace_0 = kotlin_kotlin.$_$.qf;
|
|
103
103
|
var getStringHashCode = kotlin_kotlin.$_$.gc;
|
|
104
104
|
var IOException_init_$Init$_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
105
|
-
var charSequenceSubSequence = kotlin_kotlin.$_$.
|
|
105
|
+
var charSequenceSubSequence = kotlin_kotlin.$_$.wb;
|
|
106
106
|
var isCharSequence = kotlin_kotlin.$_$.tc;
|
|
107
107
|
var trim = kotlin_kotlin.$_$.jh;
|
|
108
108
|
var toByte = kotlin_kotlin.$_$.jd;
|
|
109
109
|
var decodeToString_0 = kotlin_kotlin.$_$.re;
|
|
110
|
-
var setOf = kotlin_kotlin.$_$.
|
|
110
|
+
var setOf = kotlin_kotlin.$_$.w8;
|
|
111
111
|
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p;
|
|
112
|
-
var charSequenceGet = kotlin_kotlin.$_$.
|
|
112
|
+
var charSequenceGet = kotlin_kotlin.$_$.ub;
|
|
113
113
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.q2;
|
|
114
114
|
//endregion
|
|
115
115
|
//region block: pre-declaration
|
|
@@ -117,10 +117,10 @@
|
|
|
117
117
|
initMetadataForObject(Empty, 'Empty');
|
|
118
118
|
initMetadataForClass(Closed, 'Closed');
|
|
119
119
|
function resume() {
|
|
120
|
-
return this.
|
|
120
|
+
return this.g2z().t9(Companion_getInstance().d2z_1);
|
|
121
121
|
}
|
|
122
122
|
function resume_0(throwable) {
|
|
123
|
-
var tmp = this.
|
|
123
|
+
var tmp = this.g2z();
|
|
124
124
|
var tmp_0;
|
|
125
125
|
if (throwable == null) {
|
|
126
126
|
tmp_0 = null;
|
|
@@ -131,7 +131,7 @@
|
|
|
131
131
|
tmp_0 = new Result(tmp$ret$2);
|
|
132
132
|
}
|
|
133
133
|
var tmp1_elvis_lhs = tmp_0;
|
|
134
|
-
return tmp.t9(tmp1_elvis_lhs == null ? Companion_getInstance().
|
|
134
|
+
return tmp.t9(tmp1_elvis_lhs == null ? Companion_getInstance().d2z_1 : tmp1_elvis_lhs.eq_1);
|
|
135
135
|
}
|
|
136
136
|
initMetadataForInterface(Task, 'Task');
|
|
137
137
|
initMetadataForClass(Read, 'Read', VOID, VOID, [Task]);
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
initMetadataForCoroutine($flushAndCloseCOROUTINE$, CoroutineImpl);
|
|
142
142
|
function awaitContent$default(min, $completion, $super) {
|
|
143
143
|
min = min === VOID ? 1 : min;
|
|
144
|
-
return $super === VOID ? this.
|
|
144
|
+
return $super === VOID ? this.n31(min, $completion) : $super.n31.call(this, min, $completion);
|
|
145
145
|
}
|
|
146
146
|
initMetadataForInterface(ByteReadChannel_1, 'ByteReadChannel', VOID, VOID, VOID, [1]);
|
|
147
147
|
function get_autoFlush() {
|
|
@@ -162,7 +162,6 @@
|
|
|
162
162
|
initMetadataForCoroutine($toByteArrayCOROUTINE$, CoroutineImpl);
|
|
163
163
|
initMetadataForCoroutine($copyToCOROUTINE$, CoroutineImpl);
|
|
164
164
|
initMetadataForCoroutine($discardCOROUTINE$, CoroutineImpl);
|
|
165
|
-
initMetadataForCoroutine($copyToCOROUTINE$_0, CoroutineImpl);
|
|
166
165
|
initMetadataForCoroutine($skipIfFoundCOROUTINE$, CoroutineImpl);
|
|
167
166
|
initMetadataForCoroutine($readPacketCOROUTINE$, CoroutineImpl);
|
|
168
167
|
initMetadataForCoroutine($readRemainingCOROUTINE$_0, CoroutineImpl);
|
|
@@ -189,7 +188,7 @@
|
|
|
189
188
|
initMetadataForClass(MalformedInputException, 'MalformedInputException', VOID, IOException);
|
|
190
189
|
initMetadataForClass(TooLongLineException, 'TooLongLineException', VOID, MalformedInputException);
|
|
191
190
|
function close() {
|
|
192
|
-
this.
|
|
191
|
+
this.a29();
|
|
193
192
|
}
|
|
194
193
|
initMetadataForInterface(ObjectPool, 'ObjectPool', VOID, VOID, [AutoCloseable]);
|
|
195
194
|
initMetadataForClass(DefaultPool, 'DefaultPool', VOID, VOID, [ObjectPool]);
|
|
@@ -208,10 +207,10 @@
|
|
|
208
207
|
//endregion
|
|
209
208
|
function Companion() {
|
|
210
209
|
Companion_instance_0 = this;
|
|
211
|
-
this.
|
|
210
|
+
this.c2z_1 = new Closed(null);
|
|
212
211
|
var tmp = this;
|
|
213
212
|
// Inline function 'kotlin.Companion.success' call
|
|
214
|
-
tmp.
|
|
213
|
+
tmp.d2z_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
215
214
|
}
|
|
216
215
|
var Companion_instance_0;
|
|
217
216
|
function Companion_getInstance() {
|
|
@@ -239,87 +238,87 @@
|
|
|
239
238
|
return Empty_instance;
|
|
240
239
|
}
|
|
241
240
|
function Closed(cause) {
|
|
242
|
-
this.
|
|
241
|
+
this.e2z_1 = cause;
|
|
243
242
|
}
|
|
244
243
|
protoOf(Closed).toString = function () {
|
|
245
|
-
return 'Closed(cause=' + toString(this.
|
|
244
|
+
return 'Closed(cause=' + toString(this.e2z_1) + ')';
|
|
246
245
|
};
|
|
247
246
|
protoOf(Closed).hashCode = function () {
|
|
248
|
-
return this.
|
|
247
|
+
return this.e2z_1 == null ? 0 : hashCode(this.e2z_1);
|
|
249
248
|
};
|
|
250
249
|
protoOf(Closed).equals = function (other) {
|
|
251
250
|
if (this === other)
|
|
252
251
|
return true;
|
|
253
252
|
if (!(other instanceof Closed))
|
|
254
253
|
return false;
|
|
255
|
-
if (!equals(this.
|
|
254
|
+
if (!equals(this.e2z_1, other.e2z_1))
|
|
256
255
|
return false;
|
|
257
256
|
return true;
|
|
258
257
|
};
|
|
259
258
|
function Task() {
|
|
260
259
|
}
|
|
261
260
|
function Read(continuation) {
|
|
262
|
-
this.
|
|
263
|
-
this.
|
|
261
|
+
this.k2z_1 = continuation;
|
|
262
|
+
this.l2z_1 = null;
|
|
264
263
|
if (get_DEVELOPMENT_MODE()) {
|
|
265
264
|
var tmp = this;
|
|
266
265
|
// Inline function 'kotlin.also' call
|
|
267
|
-
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.
|
|
266
|
+
var this_0 = newThrowable('ReadTask 0x' + toString_0(hashCode(this.k2z_1), 16));
|
|
268
267
|
stackTraceToString(this_0);
|
|
269
|
-
tmp.
|
|
268
|
+
tmp.l2z_1 = this_0;
|
|
270
269
|
}
|
|
271
270
|
}
|
|
272
|
-
protoOf(Read).
|
|
273
|
-
return this.
|
|
271
|
+
protoOf(Read).g2z = function () {
|
|
272
|
+
return this.k2z_1;
|
|
274
273
|
};
|
|
275
|
-
protoOf(Read).
|
|
276
|
-
return this.
|
|
274
|
+
protoOf(Read).f2z = function () {
|
|
275
|
+
return this.l2z_1;
|
|
277
276
|
};
|
|
278
|
-
protoOf(Read).
|
|
277
|
+
protoOf(Read).h2z = function () {
|
|
279
278
|
return 'read';
|
|
280
279
|
};
|
|
281
280
|
function Write(continuation) {
|
|
282
|
-
this.
|
|
283
|
-
this.
|
|
281
|
+
this.m2z_1 = continuation;
|
|
282
|
+
this.n2z_1 = null;
|
|
284
283
|
if (get_DEVELOPMENT_MODE()) {
|
|
285
284
|
var tmp = this;
|
|
286
285
|
// Inline function 'kotlin.also' call
|
|
287
|
-
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.
|
|
286
|
+
var this_0 = newThrowable('WriteTask 0x' + toString_0(hashCode(this.m2z_1), 16));
|
|
288
287
|
stackTraceToString(this_0);
|
|
289
|
-
tmp.
|
|
288
|
+
tmp.n2z_1 = this_0;
|
|
290
289
|
}
|
|
291
290
|
}
|
|
292
|
-
protoOf(Write).
|
|
293
|
-
return this.
|
|
291
|
+
protoOf(Write).g2z = function () {
|
|
292
|
+
return this.m2z_1;
|
|
294
293
|
};
|
|
295
|
-
protoOf(Write).
|
|
296
|
-
return this.
|
|
294
|
+
protoOf(Write).f2z = function () {
|
|
295
|
+
return this.n2z_1;
|
|
297
296
|
};
|
|
298
|
-
protoOf(Write).
|
|
297
|
+
protoOf(Write).h2z = function () {
|
|
299
298
|
return 'write';
|
|
300
299
|
};
|
|
301
300
|
function moveFlushToReadBuffer($this) {
|
|
302
301
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
303
|
-
$this.
|
|
304
|
-
$this.
|
|
305
|
-
$this.
|
|
302
|
+
$this.r2z_1;
|
|
303
|
+
$this.p2z_1.h2x($this.t2z_1);
|
|
304
|
+
$this.q2z_1 = 0;
|
|
306
305
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
307
|
-
var current = $this.
|
|
306
|
+
var current = $this.s2z_1.kotlinx$atomicfu$value;
|
|
308
307
|
var tmp;
|
|
309
308
|
if (current instanceof Write) {
|
|
310
|
-
tmp = $this.
|
|
309
|
+
tmp = $this.s2z_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
311
310
|
} else {
|
|
312
311
|
tmp = false;
|
|
313
312
|
}
|
|
314
313
|
if (tmp) {
|
|
315
|
-
current.
|
|
314
|
+
current.i2z();
|
|
316
315
|
}
|
|
317
316
|
}
|
|
318
317
|
function closeSlot($this, cause) {
|
|
319
|
-
var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().
|
|
320
|
-
var continuation = $this.
|
|
318
|
+
var closeContinuation = !(cause == null) ? new Closed(cause) : Companion_getInstance().c2z_1;
|
|
319
|
+
var continuation = $this.s2z_1.atomicfu$getAndSet(closeContinuation);
|
|
321
320
|
if (isInterface(continuation, Task)) {
|
|
322
|
-
continuation.
|
|
321
|
+
continuation.j2z(cause);
|
|
323
322
|
}
|
|
324
323
|
}
|
|
325
324
|
function ClosedReadChannelException$_init_$ref_ix0089() {
|
|
@@ -338,8 +337,8 @@
|
|
|
338
337
|
}
|
|
339
338
|
function $awaitContentCOROUTINE$(_this__u8e3s4, min, resultContinuation) {
|
|
340
339
|
CoroutineImpl.call(this, resultContinuation);
|
|
341
|
-
this.
|
|
342
|
-
this.
|
|
340
|
+
this.e30_1 = _this__u8e3s4;
|
|
341
|
+
this.f30_1 = min;
|
|
343
342
|
}
|
|
344
343
|
protoOf($awaitContentCOROUTINE$).q9 = function () {
|
|
345
344
|
var suspendResult = this.k9_1;
|
|
@@ -349,39 +348,39 @@
|
|
|
349
348
|
switch (tmp) {
|
|
350
349
|
case 0:
|
|
351
350
|
this.j9_1 = 4;
|
|
352
|
-
rethrowCloseCauseIfNeeded(this.
|
|
353
|
-
if (this.
|
|
351
|
+
rethrowCloseCauseIfNeeded(this.e30_1);
|
|
352
|
+
if (this.e30_1.t2z_1.g1() >= fromInt(this.f30_1))
|
|
354
353
|
return true;
|
|
355
|
-
this.
|
|
354
|
+
this.g30_1 = this.e30_1;
|
|
356
355
|
this.i9_1 = 1;
|
|
357
356
|
continue $sm;
|
|
358
357
|
case 1:
|
|
359
|
-
if (!(add(numberToLong(this.
|
|
358
|
+
if (!(add(numberToLong(this.e30_1.q2z_1), this.e30_1.t2z_1.g1()) < fromInt(this.f30_1) && this.e30_1.v2z_1.kotlinx$atomicfu$value == null)) {
|
|
360
359
|
this.i9_1 = 3;
|
|
361
360
|
continue $sm;
|
|
362
361
|
}
|
|
363
362
|
|
|
364
363
|
this.i9_1 = 2;
|
|
365
364
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
366
|
-
cancellable.
|
|
367
|
-
var tmp0 = this.
|
|
365
|
+
cancellable.d2a();
|
|
366
|
+
var tmp0 = this.g30_1;
|
|
368
367
|
var tmp2 = new Read(cancellable);
|
|
369
368
|
l$ret$1: do {
|
|
370
|
-
var previous = tmp0.
|
|
369
|
+
var previous = tmp0.s2z_1.kotlinx$atomicfu$value;
|
|
371
370
|
if (!(previous instanceof Closed)) {
|
|
372
|
-
if (!tmp0.
|
|
373
|
-
tmp2.
|
|
371
|
+
if (!tmp0.s2z_1.atomicfu$compareAndSet(previous, tmp2)) {
|
|
372
|
+
tmp2.i2z();
|
|
374
373
|
break l$ret$1;
|
|
375
374
|
}
|
|
376
375
|
}
|
|
377
376
|
if (previous instanceof Read) {
|
|
378
|
-
previous.
|
|
377
|
+
previous.j2z(new ConcurrentIOException(tmp2.h2z(), previous.f2z()));
|
|
379
378
|
} else {
|
|
380
379
|
if (isInterface(previous, Task)) {
|
|
381
|
-
previous.
|
|
380
|
+
previous.i2z();
|
|
382
381
|
} else {
|
|
383
382
|
if (previous instanceof Closed) {
|
|
384
|
-
tmp2.
|
|
383
|
+
tmp2.j2z(previous.e2z_1);
|
|
385
384
|
break l$ret$1;
|
|
386
385
|
} else {
|
|
387
386
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -390,21 +389,21 @@
|
|
|
390
389
|
}
|
|
391
390
|
}
|
|
392
391
|
}
|
|
393
|
-
if (!(add(numberToLong(this.
|
|
394
|
-
var current = tmp0.
|
|
392
|
+
if (!(add(numberToLong(this.e30_1.q2z_1), this.e30_1.t2z_1.g1()) < fromInt(this.f30_1) && this.e30_1.v2z_1.kotlinx$atomicfu$value == null)) {
|
|
393
|
+
var current = tmp0.s2z_1.kotlinx$atomicfu$value;
|
|
395
394
|
var tmp_0;
|
|
396
395
|
if (current instanceof Read) {
|
|
397
|
-
tmp_0 = tmp0.
|
|
396
|
+
tmp_0 = tmp0.s2z_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
398
397
|
} else {
|
|
399
398
|
tmp_0 = false;
|
|
400
399
|
}
|
|
401
400
|
if (tmp_0) {
|
|
402
|
-
current.
|
|
401
|
+
current.i2z();
|
|
403
402
|
}
|
|
404
403
|
}
|
|
405
404
|
}
|
|
406
405
|
while (false);
|
|
407
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
406
|
+
suspendResult = returnIfSuspended(cancellable.e2a(), this);
|
|
408
407
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
409
408
|
return suspendResult;
|
|
410
409
|
}
|
|
@@ -414,11 +413,11 @@
|
|
|
414
413
|
this.i9_1 = 1;
|
|
415
414
|
continue $sm;
|
|
416
415
|
case 3:
|
|
417
|
-
if (this.
|
|
418
|
-
moveFlushToReadBuffer(this.
|
|
416
|
+
if (this.e30_1.t2z_1.g1() < 1048576n) {
|
|
417
|
+
moveFlushToReadBuffer(this.e30_1);
|
|
419
418
|
}
|
|
420
419
|
|
|
421
|
-
return this.
|
|
420
|
+
return this.e30_1.t2z_1.g1() >= fromInt(this.f30_1);
|
|
422
421
|
case 4:
|
|
423
422
|
throw this.l9_1;
|
|
424
423
|
}
|
|
@@ -435,7 +434,7 @@
|
|
|
435
434
|
};
|
|
436
435
|
function $flushCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
437
436
|
CoroutineImpl.call(this, resultContinuation);
|
|
438
|
-
this.
|
|
437
|
+
this.p30_1 = _this__u8e3s4;
|
|
439
438
|
}
|
|
440
439
|
protoOf($flushCOROUTINE$).q9 = function () {
|
|
441
440
|
var suspendResult = this.k9_1;
|
|
@@ -445,40 +444,40 @@
|
|
|
445
444
|
switch (tmp) {
|
|
446
445
|
case 0:
|
|
447
446
|
this.j9_1 = 4;
|
|
448
|
-
rethrowCloseCauseIfNeeded(this.
|
|
449
|
-
this.
|
|
450
|
-
if (this.
|
|
447
|
+
rethrowCloseCauseIfNeeded(this.p30_1);
|
|
448
|
+
this.p30_1.r30();
|
|
449
|
+
if (this.p30_1.q2z_1 < 1048576)
|
|
451
450
|
return Unit_instance;
|
|
452
|
-
this.
|
|
451
|
+
this.q30_1 = this.p30_1;
|
|
453
452
|
this.i9_1 = 1;
|
|
454
453
|
continue $sm;
|
|
455
454
|
case 1:
|
|
456
|
-
if (!(this.
|
|
455
|
+
if (!(this.p30_1.q2z_1 >= 1048576 && this.p30_1.v2z_1.kotlinx$atomicfu$value == null)) {
|
|
457
456
|
this.i9_1 = 3;
|
|
458
457
|
continue $sm;
|
|
459
458
|
}
|
|
460
459
|
|
|
461
460
|
this.i9_1 = 2;
|
|
462
461
|
var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
|
|
463
|
-
cancellable.
|
|
464
|
-
var tmp0 = this.
|
|
462
|
+
cancellable.d2a();
|
|
463
|
+
var tmp0 = this.q30_1;
|
|
465
464
|
var tmp2 = new Write(cancellable);
|
|
466
465
|
l$ret$1: do {
|
|
467
|
-
var previous = tmp0.
|
|
466
|
+
var previous = tmp0.s2z_1.kotlinx$atomicfu$value;
|
|
468
467
|
if (!(previous instanceof Closed)) {
|
|
469
|
-
if (!tmp0.
|
|
470
|
-
tmp2.
|
|
468
|
+
if (!tmp0.s2z_1.atomicfu$compareAndSet(previous, tmp2)) {
|
|
469
|
+
tmp2.i2z();
|
|
471
470
|
break l$ret$1;
|
|
472
471
|
}
|
|
473
472
|
}
|
|
474
473
|
if (previous instanceof Write) {
|
|
475
|
-
previous.
|
|
474
|
+
previous.j2z(new ConcurrentIOException(tmp2.h2z(), previous.f2z()));
|
|
476
475
|
} else {
|
|
477
476
|
if (isInterface(previous, Task)) {
|
|
478
|
-
previous.
|
|
477
|
+
previous.i2z();
|
|
479
478
|
} else {
|
|
480
479
|
if (previous instanceof Closed) {
|
|
481
|
-
tmp2.
|
|
480
|
+
tmp2.j2z(previous.e2z_1);
|
|
482
481
|
break l$ret$1;
|
|
483
482
|
} else {
|
|
484
483
|
if (!equals(previous, Empty_instance)) {
|
|
@@ -487,21 +486,21 @@
|
|
|
487
486
|
}
|
|
488
487
|
}
|
|
489
488
|
}
|
|
490
|
-
if (!(this.
|
|
491
|
-
var current = tmp0.
|
|
489
|
+
if (!(this.p30_1.q2z_1 >= 1048576 && this.p30_1.v2z_1.kotlinx$atomicfu$value == null)) {
|
|
490
|
+
var current = tmp0.s2z_1.kotlinx$atomicfu$value;
|
|
492
491
|
var tmp_0;
|
|
493
492
|
if (current instanceof Write) {
|
|
494
|
-
tmp_0 = tmp0.
|
|
493
|
+
tmp_0 = tmp0.s2z_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
495
494
|
} else {
|
|
496
495
|
tmp_0 = false;
|
|
497
496
|
}
|
|
498
497
|
if (tmp_0) {
|
|
499
|
-
current.
|
|
498
|
+
current.i2z();
|
|
500
499
|
}
|
|
501
500
|
}
|
|
502
501
|
}
|
|
503
502
|
while (false);
|
|
504
|
-
suspendResult = returnIfSuspended(cancellable.
|
|
503
|
+
suspendResult = returnIfSuspended(cancellable.e2a(), this);
|
|
505
504
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
506
505
|
return suspendResult;
|
|
507
506
|
}
|
|
@@ -528,7 +527,7 @@
|
|
|
528
527
|
};
|
|
529
528
|
function $flushAndCloseCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
530
529
|
CoroutineImpl.call(this, resultContinuation);
|
|
531
|
-
this.
|
|
530
|
+
this.a31_1 = _this__u8e3s4;
|
|
532
531
|
}
|
|
533
532
|
protoOf($flushAndCloseCOROUTINE$).q9 = function () {
|
|
534
533
|
var suspendResult = this.k9_1;
|
|
@@ -538,11 +537,11 @@
|
|
|
538
537
|
switch (tmp) {
|
|
539
538
|
case 0:
|
|
540
539
|
this.j9_1 = 4;
|
|
541
|
-
var this_0 = this.
|
|
540
|
+
var this_0 = this.a31_1;
|
|
542
541
|
this.j9_1 = 2;
|
|
543
|
-
this.
|
|
542
|
+
this.c31_1 = Companion_instance;
|
|
544
543
|
this.i9_1 = 1;
|
|
545
|
-
suspendResult = this_0.
|
|
544
|
+
suspendResult = this_0.d31(this);
|
|
546
545
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
547
546
|
return suspendResult;
|
|
548
547
|
}
|
|
@@ -550,8 +549,8 @@
|
|
|
550
549
|
continue $sm;
|
|
551
550
|
case 1:
|
|
552
551
|
var tmp_0 = this;
|
|
553
|
-
this.
|
|
554
|
-
tmp_0.
|
|
552
|
+
this.c31_1;
|
|
553
|
+
tmp_0.b31_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
555
554
|
this.j9_1 = 4;
|
|
556
555
|
this.i9_1 = 3;
|
|
557
556
|
continue $sm;
|
|
@@ -561,7 +560,7 @@
|
|
|
561
560
|
if (tmp_1 instanceof Error) {
|
|
562
561
|
var e = this.l9_1;
|
|
563
562
|
var tmp_2 = this;
|
|
564
|
-
tmp_2.
|
|
563
|
+
tmp_2.b31_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
565
564
|
this.i9_1 = 3;
|
|
566
565
|
continue $sm;
|
|
567
566
|
} else {
|
|
@@ -570,9 +569,9 @@
|
|
|
570
569
|
|
|
571
570
|
case 3:
|
|
572
571
|
this.j9_1 = 4;
|
|
573
|
-
if (!this.
|
|
572
|
+
if (!this.a31_1.v2z_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
574
573
|
return Unit_instance;
|
|
575
|
-
closeSlot(this.
|
|
574
|
+
closeSlot(this.a31_1, null);
|
|
576
575
|
return Unit_instance;
|
|
577
576
|
case 4:
|
|
578
577
|
throw this.l9_1;
|
|
@@ -590,104 +589,104 @@
|
|
|
590
589
|
};
|
|
591
590
|
function ByteChannel(autoFlush) {
|
|
592
591
|
autoFlush = autoFlush === VOID ? false : autoFlush;
|
|
593
|
-
this.
|
|
594
|
-
this.
|
|
595
|
-
this.
|
|
596
|
-
this.
|
|
597
|
-
this.
|
|
598
|
-
this.
|
|
599
|
-
this.
|
|
600
|
-
this.
|
|
601
|
-
}
|
|
602
|
-
protoOf(ByteChannel).
|
|
603
|
-
return this.
|
|
604
|
-
};
|
|
605
|
-
protoOf(ByteChannel).
|
|
606
|
-
var tmp0_safe_receiver = this.
|
|
592
|
+
this.o2z_1 = autoFlush;
|
|
593
|
+
this.p2z_1 = new Buffer();
|
|
594
|
+
this.q2z_1 = 0;
|
|
595
|
+
this.r2z_1 = new Object();
|
|
596
|
+
this.s2z_1 = atomic$ref$1(Empty_instance);
|
|
597
|
+
this.t2z_1 = new Buffer();
|
|
598
|
+
this.u2z_1 = new Buffer();
|
|
599
|
+
this.v2z_1 = atomic$ref$1(null);
|
|
600
|
+
}
|
|
601
|
+
protoOf(ByteChannel).e31 = function () {
|
|
602
|
+
return this.o2z_1;
|
|
603
|
+
};
|
|
604
|
+
protoOf(ByteChannel).f31 = function () {
|
|
605
|
+
var tmp0_safe_receiver = this.v2z_1.kotlinx$atomicfu$value;
|
|
607
606
|
if (tmp0_safe_receiver == null)
|
|
608
607
|
null;
|
|
609
608
|
else {
|
|
610
|
-
tmp0_safe_receiver.
|
|
609
|
+
tmp0_safe_receiver.h31(ClosedReadChannelException$_init_$ref_ix0089());
|
|
611
610
|
}
|
|
612
|
-
if (this.
|
|
611
|
+
if (this.t2z_1.e2w()) {
|
|
613
612
|
moveFlushToReadBuffer(this);
|
|
614
613
|
}
|
|
615
|
-
return this.
|
|
614
|
+
return this.t2z_1;
|
|
616
615
|
};
|
|
617
|
-
protoOf(ByteChannel).
|
|
618
|
-
if (this.
|
|
619
|
-
var tmp0_safe_receiver = this.
|
|
616
|
+
protoOf(ByteChannel).i31 = function () {
|
|
617
|
+
if (this.j31()) {
|
|
618
|
+
var tmp0_safe_receiver = this.v2z_1.kotlinx$atomicfu$value;
|
|
620
619
|
var tmp;
|
|
621
620
|
if (tmp0_safe_receiver == null) {
|
|
622
621
|
tmp = null;
|
|
623
622
|
} else {
|
|
624
|
-
tmp = tmp0_safe_receiver.
|
|
623
|
+
tmp = tmp0_safe_receiver.h31(ClosedWriteChannelException$_init_$ref_ef15ty());
|
|
625
624
|
}
|
|
626
625
|
if (tmp == null)
|
|
627
626
|
throw new ClosedWriteChannelException();
|
|
628
627
|
}
|
|
629
|
-
return this.
|
|
628
|
+
return this.u2z_1;
|
|
630
629
|
};
|
|
631
|
-
protoOf(ByteChannel).
|
|
632
|
-
var tmp0_safe_receiver = this.
|
|
633
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
630
|
+
protoOf(ByteChannel).k31 = function () {
|
|
631
|
+
var tmp0_safe_receiver = this.v2z_1.kotlinx$atomicfu$value;
|
|
632
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l31();
|
|
634
633
|
};
|
|
635
|
-
protoOf(ByteChannel).
|
|
636
|
-
return !(this.
|
|
634
|
+
protoOf(ByteChannel).j31 = function () {
|
|
635
|
+
return !(this.v2z_1.kotlinx$atomicfu$value == null);
|
|
637
636
|
};
|
|
638
|
-
protoOf(ByteChannel).
|
|
639
|
-
return !(this.
|
|
637
|
+
protoOf(ByteChannel).m31 = function () {
|
|
638
|
+
return !(this.k31() == null) || (this.j31() && this.q2z_1 === 0 && this.t2z_1.e2w());
|
|
640
639
|
};
|
|
641
|
-
protoOf(ByteChannel).
|
|
640
|
+
protoOf(ByteChannel).n31 = function (min, $completion) {
|
|
642
641
|
var tmp = new $awaitContentCOROUTINE$(this, min, $completion);
|
|
643
642
|
tmp.k9_1 = Unit_instance;
|
|
644
643
|
tmp.l9_1 = null;
|
|
645
644
|
return tmp.q9();
|
|
646
645
|
};
|
|
647
|
-
protoOf(ByteChannel).
|
|
646
|
+
protoOf(ByteChannel).d31 = function ($completion) {
|
|
648
647
|
var tmp = new $flushCOROUTINE$(this, $completion);
|
|
649
648
|
tmp.k9_1 = Unit_instance;
|
|
650
649
|
tmp.l9_1 = null;
|
|
651
650
|
return tmp.q9();
|
|
652
651
|
};
|
|
653
|
-
protoOf(ByteChannel).
|
|
654
|
-
if (this.
|
|
652
|
+
protoOf(ByteChannel).r30 = function () {
|
|
653
|
+
if (this.u2z_1.e2w())
|
|
655
654
|
return Unit_instance;
|
|
656
655
|
// Inline function 'io.ktor.utils.io.locks.synchronized' call
|
|
657
|
-
this.
|
|
658
|
-
var count = convertToInt(this.
|
|
659
|
-
this.
|
|
660
|
-
this.
|
|
656
|
+
this.r2z_1;
|
|
657
|
+
var count = convertToInt(this.u2z_1.g1());
|
|
658
|
+
this.p2z_1.w2x(this.u2z_1);
|
|
659
|
+
this.q2z_1 = this.q2z_1 + count | 0;
|
|
661
660
|
// Inline function 'io.ktor.utils.io.ByteChannel.resumeSlot' call
|
|
662
|
-
var current = this.
|
|
661
|
+
var current = this.s2z_1.kotlinx$atomicfu$value;
|
|
663
662
|
var tmp;
|
|
664
663
|
if (current instanceof Read) {
|
|
665
|
-
tmp = this.
|
|
664
|
+
tmp = this.s2z_1.atomicfu$compareAndSet(current, Empty_instance);
|
|
666
665
|
} else {
|
|
667
666
|
tmp = false;
|
|
668
667
|
}
|
|
669
668
|
if (tmp) {
|
|
670
|
-
current.
|
|
669
|
+
current.i2z();
|
|
671
670
|
}
|
|
672
671
|
};
|
|
673
|
-
protoOf(ByteChannel).
|
|
674
|
-
this.
|
|
675
|
-
if (!this.
|
|
672
|
+
protoOf(ByteChannel).t4 = function () {
|
|
673
|
+
this.r30();
|
|
674
|
+
if (!this.v2z_1.atomicfu$compareAndSet(null, get_CLOSED()))
|
|
676
675
|
return Unit_instance;
|
|
677
676
|
closeSlot(this, null);
|
|
678
677
|
};
|
|
679
|
-
protoOf(ByteChannel).
|
|
678
|
+
protoOf(ByteChannel).p31 = function ($completion) {
|
|
680
679
|
var tmp = new $flushAndCloseCOROUTINE$(this, $completion);
|
|
681
680
|
tmp.k9_1 = Unit_instance;
|
|
682
681
|
tmp.l9_1 = null;
|
|
683
682
|
return tmp.q9();
|
|
684
683
|
};
|
|
685
|
-
protoOf(ByteChannel).
|
|
686
|
-
if (!(this.
|
|
684
|
+
protoOf(ByteChannel).q31 = function (cause) {
|
|
685
|
+
if (!(this.v2z_1.kotlinx$atomicfu$value == null))
|
|
687
686
|
return Unit_instance;
|
|
688
687
|
var closedToken = new CloseToken(cause);
|
|
689
|
-
this.
|
|
690
|
-
var wrappedCause = closedToken.
|
|
688
|
+
this.v2z_1.atomicfu$compareAndSet(null, closedToken);
|
|
689
|
+
var wrappedCause = closedToken.l31();
|
|
691
690
|
closeSlot(this, wrappedCause);
|
|
692
691
|
};
|
|
693
692
|
protoOf(ByteChannel).toString = function () {
|
|
@@ -703,7 +702,7 @@
|
|
|
703
702
|
length = length === VOID ? content.length : length;
|
|
704
703
|
// Inline function 'kotlin.also' call
|
|
705
704
|
var this_0 = new Buffer();
|
|
706
|
-
this_0.
|
|
705
|
+
this_0.n2x(content, offset, offset + length | 0);
|
|
707
706
|
var source = this_0;
|
|
708
707
|
return ByteReadChannel_0(source);
|
|
709
708
|
}
|
|
@@ -711,18 +710,18 @@
|
|
|
711
710
|
return new SourceByteReadChannel(source);
|
|
712
711
|
}
|
|
713
712
|
function buildPartialMatchTable($this) {
|
|
714
|
-
var table = new Int32Array($this.
|
|
713
|
+
var table = new Int32Array($this.s31_1.g1());
|
|
715
714
|
var j = 0;
|
|
716
715
|
var inductionVariable = 1;
|
|
717
|
-
var last = $this.
|
|
716
|
+
var last = $this.s31_1.g1();
|
|
718
717
|
if (inductionVariable < last)
|
|
719
718
|
do {
|
|
720
719
|
var i = inductionVariable;
|
|
721
720
|
inductionVariable = inductionVariable + 1 | 0;
|
|
722
|
-
while (j > 0 && !($this.
|
|
721
|
+
while (j > 0 && !($this.s31_1.h1(i) === $this.s31_1.h1(j))) {
|
|
723
722
|
j = table[j - 1 | 0];
|
|
724
723
|
}
|
|
725
|
-
if ($this.
|
|
724
|
+
if ($this.s31_1.h1(i) === $this.s31_1.h1(j)) {
|
|
726
725
|
j = j + 1 | 0;
|
|
727
726
|
}
|
|
728
727
|
table[i] = j;
|
|
@@ -743,8 +742,8 @@
|
|
|
743
742
|
return tmp.q9();
|
|
744
743
|
}
|
|
745
744
|
function checkBounds($this, extra) {
|
|
746
|
-
if (add($this.
|
|
747
|
-
throw IOException_init_$Create$('Limit of ' + $this.
|
|
745
|
+
if (add($this.y31_1, extra) > $this.u31_1) {
|
|
746
|
+
throw IOException_init_$Create$('Limit of ' + $this.u31_1.toString() + ' bytes exceeded ' + ('while searching for "' + toSingleLineString($this, $this.s31_1) + '"'));
|
|
748
747
|
}
|
|
749
748
|
}
|
|
750
749
|
function toSingleLineString($this, _this__u8e3s4) {
|
|
@@ -752,8 +751,8 @@
|
|
|
752
751
|
}
|
|
753
752
|
function $findNextCOROUTINE$(_this__u8e3s4, ignoreMissing, resultContinuation) {
|
|
754
753
|
CoroutineImpl.call(this, resultContinuation);
|
|
755
|
-
this.
|
|
756
|
-
this.
|
|
754
|
+
this.d33_1 = _this__u8e3s4;
|
|
755
|
+
this.e33_1 = ignoreMissing;
|
|
757
756
|
}
|
|
758
757
|
protoOf($findNextCOROUTINE$).q9 = function () {
|
|
759
758
|
var suspendResult = this.k9_1;
|
|
@@ -763,17 +762,17 @@
|
|
|
763
762
|
switch (tmp) {
|
|
764
763
|
case 0:
|
|
765
764
|
this.j9_1 = 9;
|
|
766
|
-
this.
|
|
765
|
+
this.d33_1.y31_1 = 0n;
|
|
767
766
|
this.i9_1 = 1;
|
|
768
767
|
continue $sm;
|
|
769
768
|
case 1:
|
|
770
|
-
if (!this.
|
|
771
|
-
this.
|
|
769
|
+
if (!this.d33_1.v31_1.e2w()) {
|
|
770
|
+
this.f33_1 = true;
|
|
772
771
|
this.i9_1 = 3;
|
|
773
772
|
continue $sm;
|
|
774
773
|
} else {
|
|
775
774
|
this.i9_1 = 2;
|
|
776
|
-
suspendResult = this.
|
|
775
|
+
suspendResult = this.d33_1.r31_1.o31(VOID, this);
|
|
777
776
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
778
777
|
return suspendResult;
|
|
779
778
|
}
|
|
@@ -781,17 +780,17 @@
|
|
|
781
780
|
}
|
|
782
781
|
|
|
783
782
|
case 2:
|
|
784
|
-
this.
|
|
783
|
+
this.f33_1 = suspendResult;
|
|
785
784
|
this.i9_1 = 3;
|
|
786
785
|
continue $sm;
|
|
787
786
|
case 3:
|
|
788
|
-
if (!this.
|
|
787
|
+
if (!this.f33_1) {
|
|
789
788
|
this.i9_1 = 7;
|
|
790
789
|
continue $sm;
|
|
791
790
|
}
|
|
792
791
|
|
|
793
792
|
this.i9_1 = 4;
|
|
794
|
-
suspendResult = advanceToNextPotentialMatch(this.
|
|
793
|
+
suspendResult = advanceToNextPotentialMatch(this.d33_1, this);
|
|
795
794
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
796
795
|
return suspendResult;
|
|
797
796
|
}
|
|
@@ -799,7 +798,7 @@
|
|
|
799
798
|
continue $sm;
|
|
800
799
|
case 4:
|
|
801
800
|
this.i9_1 = 5;
|
|
802
|
-
suspendResult = checkFullMatch(this.
|
|
801
|
+
suspendResult = checkFullMatch(this.d33_1, this);
|
|
803
802
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
804
803
|
return suspendResult;
|
|
805
804
|
}
|
|
@@ -807,7 +806,7 @@
|
|
|
807
806
|
continue $sm;
|
|
808
807
|
case 5:
|
|
809
808
|
if (suspendResult) {
|
|
810
|
-
return this.
|
|
809
|
+
return this.d33_1.y31_1;
|
|
811
810
|
} else {
|
|
812
811
|
this.i9_1 = 6;
|
|
813
812
|
continue $sm;
|
|
@@ -817,20 +816,20 @@
|
|
|
817
816
|
this.i9_1 = 1;
|
|
818
817
|
continue $sm;
|
|
819
818
|
case 7:
|
|
820
|
-
if (!this.
|
|
821
|
-
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.
|
|
819
|
+
if (!this.e33_1) {
|
|
820
|
+
throw IOException_init_$Create$('Expected "' + toSingleLineString(this.d33_1, this.d33_1.s31_1) + '" but encountered end of input');
|
|
822
821
|
}
|
|
823
822
|
|
|
824
|
-
this.
|
|
823
|
+
this.d33_1.y31_1 = add(this.d33_1.y31_1, this.d33_1.x31_1.h2x(this.d33_1.t31_1.i31()));
|
|
825
824
|
this.i9_1 = 8;
|
|
826
|
-
suspendResult = this.
|
|
825
|
+
suspendResult = this.d33_1.t31_1.d31(this);
|
|
827
826
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
828
827
|
return suspendResult;
|
|
829
828
|
}
|
|
830
829
|
|
|
831
830
|
continue $sm;
|
|
832
831
|
case 8:
|
|
833
|
-
return this.
|
|
832
|
+
return this.d33_1.y31_1;
|
|
834
833
|
case 9:
|
|
835
834
|
throw this.l9_1;
|
|
836
835
|
}
|
|
@@ -847,7 +846,7 @@
|
|
|
847
846
|
};
|
|
848
847
|
function $advanceToNextPotentialMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
849
848
|
CoroutineImpl.call(this, resultContinuation);
|
|
850
|
-
this.
|
|
849
|
+
this.i32_1 = _this__u8e3s4;
|
|
851
850
|
}
|
|
852
851
|
protoOf($advanceToNextPotentialMatchCOROUTINE$).q9 = function () {
|
|
853
852
|
var suspendResult = this.k9_1;
|
|
@@ -860,13 +859,13 @@
|
|
|
860
859
|
this.i9_1 = 1;
|
|
861
860
|
continue $sm;
|
|
862
861
|
case 1:
|
|
863
|
-
if (!this.
|
|
864
|
-
this.
|
|
862
|
+
if (!this.i32_1.v31_1.e2w()) {
|
|
863
|
+
this.j32_1 = true;
|
|
865
864
|
this.i9_1 = 3;
|
|
866
865
|
continue $sm;
|
|
867
866
|
} else {
|
|
868
867
|
this.i9_1 = 2;
|
|
869
|
-
suspendResult = this.
|
|
868
|
+
suspendResult = this.i32_1.r31_1.o31(VOID, this);
|
|
870
869
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
871
870
|
return suspendResult;
|
|
872
871
|
}
|
|
@@ -874,34 +873,34 @@
|
|
|
874
873
|
}
|
|
875
874
|
|
|
876
875
|
case 2:
|
|
877
|
-
this.
|
|
876
|
+
this.j32_1 = suspendResult;
|
|
878
877
|
this.i9_1 = 3;
|
|
879
878
|
continue $sm;
|
|
880
879
|
case 3:
|
|
881
|
-
if (!this.
|
|
880
|
+
if (!this.j32_1) {
|
|
882
881
|
this.i9_1 = 7;
|
|
883
882
|
continue $sm;
|
|
884
883
|
}
|
|
885
884
|
|
|
886
|
-
var nextMatch = indexOf(this.
|
|
885
|
+
var nextMatch = indexOf(this.i32_1.v31_1, this.i32_1.s31_1.h1(0));
|
|
887
886
|
if (nextMatch === -1n) {
|
|
888
|
-
var tmp_0 = this.
|
|
889
|
-
checkBounds(this.
|
|
890
|
-
this.
|
|
887
|
+
var tmp_0 = this.i32_1.v31_1;
|
|
888
|
+
checkBounds(this.i32_1, (tmp_0 instanceof Buffer ? tmp_0 : THROW_CCE()).g1());
|
|
889
|
+
this.i32_1.y31_1 = add(this.i32_1.y31_1, this.i32_1.v31_1.h2x(this.i32_1.t31_1.i31()));
|
|
891
890
|
this.i9_1 = 5;
|
|
892
|
-
suspendResult = flushIfNeeded(this.
|
|
891
|
+
suspendResult = flushIfNeeded(this.i32_1.t31_1, this);
|
|
893
892
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
894
893
|
return suspendResult;
|
|
895
894
|
}
|
|
896
895
|
continue $sm;
|
|
897
896
|
} else {
|
|
898
|
-
checkBounds(this.
|
|
899
|
-
var tmp_1 = this.
|
|
900
|
-
var tmp_2 = this.
|
|
901
|
-
var tmp_3 = this.
|
|
902
|
-
tmp_1.
|
|
897
|
+
checkBounds(this.i32_1, nextMatch);
|
|
898
|
+
var tmp_1 = this.i32_1;
|
|
899
|
+
var tmp_2 = this.i32_1.y31_1;
|
|
900
|
+
var tmp_3 = this.i32_1.t31_1.i31();
|
|
901
|
+
tmp_1.y31_1 = add(tmp_2, this.i32_1.v31_1.e2x(tmp_3 instanceof Buffer ? tmp_3 : THROW_CCE(), nextMatch));
|
|
903
902
|
this.i9_1 = 4;
|
|
904
|
-
suspendResult = flushIfNeeded(this.
|
|
903
|
+
suspendResult = flushIfNeeded(this.i32_1.t31_1, this);
|
|
905
904
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
906
905
|
return suspendResult;
|
|
907
906
|
}
|
|
@@ -934,7 +933,7 @@
|
|
|
934
933
|
};
|
|
935
934
|
function $checkFullMatchCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
936
935
|
CoroutineImpl.call(this, resultContinuation);
|
|
937
|
-
this.
|
|
936
|
+
this.s32_1 = _this__u8e3s4;
|
|
938
937
|
}
|
|
939
938
|
protoOf($checkFullMatchCOROUTINE$).q9 = function () {
|
|
940
939
|
var suspendResult = this.k9_1;
|
|
@@ -947,13 +946,13 @@
|
|
|
947
946
|
this.i9_1 = 1;
|
|
948
947
|
continue $sm;
|
|
949
948
|
case 1:
|
|
950
|
-
if (!this.
|
|
951
|
-
this.
|
|
949
|
+
if (!this.s32_1.v31_1.e2w()) {
|
|
950
|
+
this.u32_1 = true;
|
|
952
951
|
this.i9_1 = 3;
|
|
953
952
|
continue $sm;
|
|
954
953
|
} else {
|
|
955
954
|
this.i9_1 = 2;
|
|
956
|
-
suspendResult = this.
|
|
955
|
+
suspendResult = this.s32_1.r31_1.o31(VOID, this);
|
|
957
956
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
958
957
|
return suspendResult;
|
|
959
958
|
}
|
|
@@ -961,30 +960,30 @@
|
|
|
961
960
|
}
|
|
962
961
|
|
|
963
962
|
case 2:
|
|
964
|
-
this.
|
|
963
|
+
this.u32_1 = suspendResult;
|
|
965
964
|
this.i9_1 = 3;
|
|
966
965
|
continue $sm;
|
|
967
966
|
case 3:
|
|
968
|
-
if (!this.
|
|
967
|
+
if (!this.u32_1) {
|
|
969
968
|
this.i9_1 = 7;
|
|
970
969
|
continue $sm;
|
|
971
970
|
}
|
|
972
971
|
|
|
973
|
-
this.
|
|
974
|
-
if (this.
|
|
975
|
-
var oldMatchIndex = this.
|
|
976
|
-
while (this.
|
|
977
|
-
this.
|
|
972
|
+
this.t32_1 = this.s32_1.v31_1.h2w();
|
|
973
|
+
if (this.s32_1.z31_1 > 0 && !(this.t32_1 === this.s32_1.s31_1.h1(this.s32_1.z31_1))) {
|
|
974
|
+
var oldMatchIndex = this.s32_1.z31_1;
|
|
975
|
+
while (this.s32_1.z31_1 > 0 && !(this.t32_1 === this.s32_1.s31_1.h1(this.s32_1.z31_1))) {
|
|
976
|
+
this.s32_1.z31_1 = this.s32_1.w31_1[this.s32_1.z31_1 - 1 | 0];
|
|
978
977
|
}
|
|
979
|
-
var retained = fromInt(oldMatchIndex - this.
|
|
980
|
-
checkBounds(this.
|
|
981
|
-
var tmp_0 = this.
|
|
982
|
-
var tmp_1 = this.
|
|
983
|
-
var tmp_2 = this.
|
|
984
|
-
tmp_0.
|
|
985
|
-
if (this.
|
|
978
|
+
var retained = fromInt(oldMatchIndex - this.s32_1.z31_1 | 0);
|
|
979
|
+
checkBounds(this.s32_1, retained);
|
|
980
|
+
var tmp_0 = this.s32_1;
|
|
981
|
+
var tmp_1 = this.s32_1.y31_1;
|
|
982
|
+
var tmp_2 = this.s32_1.t31_1.i31();
|
|
983
|
+
tmp_0.y31_1 = add(tmp_1, this.s32_1.x31_1.e2x(tmp_2 instanceof Buffer ? tmp_2 : THROW_CCE(), retained));
|
|
984
|
+
if (this.s32_1.z31_1 === 0 && !(this.t32_1 === this.s32_1.s31_1.h1(this.s32_1.z31_1))) {
|
|
986
985
|
this.i9_1 = 6;
|
|
987
|
-
suspendResult = writeByte(this.
|
|
986
|
+
suspendResult = writeByte(this.s32_1.t31_1, this.t32_1, this);
|
|
988
987
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
989
988
|
return suspendResult;
|
|
990
989
|
}
|
|
@@ -1002,17 +1001,17 @@
|
|
|
1002
1001
|
this.i9_1 = 5;
|
|
1003
1002
|
continue $sm;
|
|
1004
1003
|
case 5:
|
|
1005
|
-
this.
|
|
1006
|
-
if (this.
|
|
1004
|
+
this.s32_1.z31_1 = this.s32_1.z31_1 + 1 | 0;
|
|
1005
|
+
if (this.s32_1.z31_1 === this.s32_1.s31_1.g1()) {
|
|
1007
1006
|
return true;
|
|
1008
1007
|
}
|
|
1009
1008
|
|
|
1010
|
-
this.
|
|
1009
|
+
this.s32_1.x31_1.x2x(this.t32_1);
|
|
1011
1010
|
this.i9_1 = 1;
|
|
1012
1011
|
continue $sm;
|
|
1013
1012
|
case 6:
|
|
1014
|
-
var _unary__edvuaz = this.
|
|
1015
|
-
this.
|
|
1013
|
+
var _unary__edvuaz = this.s32_1.y31_1;
|
|
1014
|
+
this.s32_1.y31_1 = add(_unary__edvuaz, get_ONE());
|
|
1016
1015
|
return false;
|
|
1017
1016
|
case 7:
|
|
1018
1017
|
return false;
|
|
@@ -1032,49 +1031,49 @@
|
|
|
1032
1031
|
};
|
|
1033
1032
|
function ByteChannelScanner(channel, matchString, writeChannel, limit) {
|
|
1034
1033
|
limit = limit === VOID ? 9223372036854775807n : limit;
|
|
1035
|
-
this.
|
|
1036
|
-
this.
|
|
1037
|
-
this.
|
|
1038
|
-
this.
|
|
1034
|
+
this.r31_1 = channel;
|
|
1035
|
+
this.s31_1 = matchString;
|
|
1036
|
+
this.t31_1 = writeChannel;
|
|
1037
|
+
this.u31_1 = limit;
|
|
1039
1038
|
// Inline function 'kotlin.require' call
|
|
1040
|
-
if (!(this.
|
|
1039
|
+
if (!(this.s31_1.g1() > 0)) {
|
|
1041
1040
|
var message = 'Empty match string not permitted for scanning';
|
|
1042
1041
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
1043
1042
|
}
|
|
1044
|
-
this.
|
|
1045
|
-
this.
|
|
1046
|
-
this.
|
|
1047
|
-
this.
|
|
1048
|
-
this.
|
|
1043
|
+
this.v31_1 = this.r31_1.f31();
|
|
1044
|
+
this.w31_1 = buildPartialMatchTable(this);
|
|
1045
|
+
this.x31_1 = new Buffer();
|
|
1046
|
+
this.y31_1 = 0n;
|
|
1047
|
+
this.z31_1 = 0;
|
|
1049
1048
|
}
|
|
1050
|
-
protoOf(ByteChannelScanner).
|
|
1049
|
+
protoOf(ByteChannelScanner).g33 = function (ignoreMissing, $completion) {
|
|
1051
1050
|
var tmp = new $findNextCOROUTINE$(this, ignoreMissing, $completion);
|
|
1052
1051
|
tmp.k9_1 = Unit_instance;
|
|
1053
1052
|
tmp.l9_1 = null;
|
|
1054
1053
|
return tmp.q9();
|
|
1055
1054
|
};
|
|
1056
1055
|
function ByteReadChannel$Companion$Empty$1() {
|
|
1057
|
-
this.
|
|
1058
|
-
this.
|
|
1056
|
+
this.h33_1 = null;
|
|
1057
|
+
this.i33_1 = new Buffer();
|
|
1059
1058
|
}
|
|
1060
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1061
|
-
return this.
|
|
1059
|
+
protoOf(ByteReadChannel$Companion$Empty$1).k31 = function () {
|
|
1060
|
+
return this.h33_1;
|
|
1062
1061
|
};
|
|
1063
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1062
|
+
protoOf(ByteReadChannel$Companion$Empty$1).m31 = function () {
|
|
1064
1063
|
return true;
|
|
1065
1064
|
};
|
|
1066
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1067
|
-
return this.
|
|
1065
|
+
protoOf(ByteReadChannel$Companion$Empty$1).f31 = function () {
|
|
1066
|
+
return this.i33_1;
|
|
1068
1067
|
};
|
|
1069
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1068
|
+
protoOf(ByteReadChannel$Companion$Empty$1).n31 = function (min, $completion) {
|
|
1070
1069
|
return false;
|
|
1071
1070
|
};
|
|
1072
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
1071
|
+
protoOf(ByteReadChannel$Companion$Empty$1).q31 = function (cause) {
|
|
1073
1072
|
};
|
|
1074
1073
|
function Companion_0() {
|
|
1075
1074
|
Companion_instance_1 = this;
|
|
1076
1075
|
var tmp = this;
|
|
1077
|
-
tmp.
|
|
1076
|
+
tmp.j33_1 = new ByteReadChannel$Companion$Empty$1();
|
|
1078
1077
|
}
|
|
1079
1078
|
var Companion_instance_1;
|
|
1080
1079
|
function Companion_getInstance_0() {
|
|
@@ -1085,7 +1084,7 @@
|
|
|
1085
1084
|
function ByteReadChannel_1() {
|
|
1086
1085
|
}
|
|
1087
1086
|
function cancel_0(_this__u8e3s4) {
|
|
1088
|
-
_this__u8e3s4.
|
|
1087
|
+
_this__u8e3s4.q31(IOException_init_$Create$('Channel was cancelled'));
|
|
1089
1088
|
}
|
|
1090
1089
|
function readBuffer(_this__u8e3s4, $completion) {
|
|
1091
1090
|
var tmp = new $readBufferCOROUTINE$(_this__u8e3s4, $completion);
|
|
@@ -1126,12 +1125,6 @@
|
|
|
1126
1125
|
tmp.l9_1 = null;
|
|
1127
1126
|
return tmp.q9();
|
|
1128
1127
|
}
|
|
1129
|
-
function copyTo_0(_this__u8e3s4, channel, $completion) {
|
|
1130
|
-
var tmp = new $copyToCOROUTINE$_0(_this__u8e3s4, channel, $completion);
|
|
1131
|
-
tmp.k9_1 = Unit_instance;
|
|
1132
|
-
tmp.l9_1 = null;
|
|
1133
|
-
return tmp.q9();
|
|
1134
|
-
}
|
|
1135
1128
|
function skipIfFound(_this__u8e3s4, byteString, $completion) {
|
|
1136
1129
|
var tmp = new $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, $completion);
|
|
1137
1130
|
tmp.k9_1 = Unit_instance;
|
|
@@ -1147,7 +1140,7 @@
|
|
|
1147
1140
|
function readUntil(_this__u8e3s4, matchString, writeChannel, limit, ignoreMissing, $completion) {
|
|
1148
1141
|
limit = limit === VOID ? 9223372036854775807n : limit;
|
|
1149
1142
|
ignoreMissing = ignoreMissing === VOID ? false : ignoreMissing;
|
|
1150
|
-
return (new ByteChannelScanner(_this__u8e3s4, matchString, writeChannel, limit)).
|
|
1143
|
+
return (new ByteChannelScanner(_this__u8e3s4, matchString, writeChannel, limit)).g33(ignoreMissing, $completion);
|
|
1151
1144
|
}
|
|
1152
1145
|
function readLineStrictTo(_this__u8e3s4, out, limit, lineEnding, $completion) {
|
|
1153
1146
|
limit = limit === VOID ? 9223372036854775807n : limit;
|
|
@@ -1166,7 +1159,7 @@
|
|
|
1166
1159
|
return tmp.q9();
|
|
1167
1160
|
}
|
|
1168
1161
|
function rethrowCloseCauseIfNeeded(_this__u8e3s4) {
|
|
1169
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1162
|
+
var tmp0_safe_receiver = _this__u8e3s4.k31();
|
|
1170
1163
|
if (tmp0_safe_receiver == null)
|
|
1171
1164
|
null;
|
|
1172
1165
|
else {
|
|
@@ -1175,7 +1168,7 @@
|
|
|
1175
1168
|
}
|
|
1176
1169
|
}
|
|
1177
1170
|
function rethrowCloseCauseIfNeeded_0(_this__u8e3s4) {
|
|
1178
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1171
|
+
var tmp0_safe_receiver = _this__u8e3s4.k31();
|
|
1179
1172
|
if (tmp0_safe_receiver == null)
|
|
1180
1173
|
null;
|
|
1181
1174
|
else {
|
|
@@ -1184,7 +1177,7 @@
|
|
|
1184
1177
|
}
|
|
1185
1178
|
}
|
|
1186
1179
|
function get_availableForRead(_this__u8e3s4) {
|
|
1187
|
-
return convertToInt(_this__u8e3s4.
|
|
1180
|
+
return convertToInt(_this__u8e3s4.f31().d2w().g1());
|
|
1188
1181
|
}
|
|
1189
1182
|
function peek(_this__u8e3s4, count, $completion) {
|
|
1190
1183
|
var tmp = new $peekCOROUTINE$(_this__u8e3s4, count, $completion);
|
|
@@ -1205,7 +1198,7 @@
|
|
|
1205
1198
|
throw new TooLongLineException('Line exceeds limit of ' + limit.toString() + ' characters');
|
|
1206
1199
|
}
|
|
1207
1200
|
function rethrowCloseCauseIfNeeded_1(_this__u8e3s4) {
|
|
1208
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1201
|
+
var tmp0_safe_receiver = _this__u8e3s4.k31();
|
|
1209
1202
|
if (tmp0_safe_receiver == null)
|
|
1210
1203
|
null;
|
|
1211
1204
|
else {
|
|
@@ -1250,7 +1243,7 @@
|
|
|
1250
1243
|
}
|
|
1251
1244
|
function $readBufferCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1252
1245
|
CoroutineImpl.call(this, resultContinuation);
|
|
1253
|
-
this.
|
|
1246
|
+
this.s33_1 = _this__u8e3s4;
|
|
1254
1247
|
}
|
|
1255
1248
|
protoOf($readBufferCOROUTINE$).q9 = function () {
|
|
1256
1249
|
var suspendResult = this.k9_1;
|
|
@@ -1260,18 +1253,18 @@
|
|
|
1260
1253
|
switch (tmp) {
|
|
1261
1254
|
case 0:
|
|
1262
1255
|
this.j9_1 = 4;
|
|
1263
|
-
this.
|
|
1256
|
+
this.t33_1 = new Buffer();
|
|
1264
1257
|
this.i9_1 = 1;
|
|
1265
1258
|
continue $sm;
|
|
1266
1259
|
case 1:
|
|
1267
|
-
if (!!this.
|
|
1260
|
+
if (!!this.s33_1.m31()) {
|
|
1268
1261
|
this.i9_1 = 3;
|
|
1269
1262
|
continue $sm;
|
|
1270
1263
|
}
|
|
1271
1264
|
|
|
1272
|
-
this.
|
|
1265
|
+
this.t33_1.w2x(this.s33_1.f31());
|
|
1273
1266
|
this.i9_1 = 2;
|
|
1274
|
-
suspendResult = this.
|
|
1267
|
+
suspendResult = this.s33_1.o31(VOID, this);
|
|
1275
1268
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1276
1269
|
return suspendResult;
|
|
1277
1270
|
}
|
|
@@ -1281,14 +1274,14 @@
|
|
|
1281
1274
|
this.i9_1 = 1;
|
|
1282
1275
|
continue $sm;
|
|
1283
1276
|
case 3:
|
|
1284
|
-
var tmp0_safe_receiver = this.
|
|
1277
|
+
var tmp0_safe_receiver = this.s33_1.k31();
|
|
1285
1278
|
if (tmp0_safe_receiver == null)
|
|
1286
1279
|
null;
|
|
1287
1280
|
else {
|
|
1288
1281
|
throw tmp0_safe_receiver;
|
|
1289
1282
|
}
|
|
1290
1283
|
|
|
1291
|
-
return this.
|
|
1284
|
+
return this.t33_1;
|
|
1292
1285
|
case 4:
|
|
1293
1286
|
throw this.l9_1;
|
|
1294
1287
|
}
|
|
@@ -1305,10 +1298,10 @@
|
|
|
1305
1298
|
};
|
|
1306
1299
|
function $readAvailableCOROUTINE$(_this__u8e3s4, buffer, offset, length, resultContinuation) {
|
|
1307
1300
|
CoroutineImpl.call(this, resultContinuation);
|
|
1308
|
-
this.
|
|
1309
|
-
this.
|
|
1310
|
-
this.
|
|
1311
|
-
this.
|
|
1301
|
+
this.c34_1 = _this__u8e3s4;
|
|
1302
|
+
this.d34_1 = buffer;
|
|
1303
|
+
this.e34_1 = offset;
|
|
1304
|
+
this.f34_1 = length;
|
|
1312
1305
|
}
|
|
1313
1306
|
protoOf($readAvailableCOROUTINE$).q9 = function () {
|
|
1314
1307
|
var suspendResult = this.k9_1;
|
|
@@ -1318,11 +1311,11 @@
|
|
|
1318
1311
|
switch (tmp) {
|
|
1319
1312
|
case 0:
|
|
1320
1313
|
this.j9_1 = 3;
|
|
1321
|
-
if (this.
|
|
1314
|
+
if (this.c34_1.m31())
|
|
1322
1315
|
return -1;
|
|
1323
|
-
if (this.
|
|
1316
|
+
if (this.c34_1.f31().e2w()) {
|
|
1324
1317
|
this.i9_1 = 1;
|
|
1325
|
-
suspendResult = this.
|
|
1318
|
+
suspendResult = this.c34_1.o31(VOID, this);
|
|
1326
1319
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1327
1320
|
return suspendResult;
|
|
1328
1321
|
}
|
|
@@ -1336,9 +1329,9 @@
|
|
|
1336
1329
|
this.i9_1 = 2;
|
|
1337
1330
|
continue $sm;
|
|
1338
1331
|
case 2:
|
|
1339
|
-
if (this.
|
|
1332
|
+
if (this.c34_1.m31())
|
|
1340
1333
|
return -1;
|
|
1341
|
-
return readAvailable_0(this.
|
|
1334
|
+
return readAvailable_0(this.c34_1.f31(), this.d34_1, this.e34_1, this.f34_1);
|
|
1342
1335
|
case 3:
|
|
1343
1336
|
throw this.l9_1;
|
|
1344
1337
|
}
|
|
@@ -1355,7 +1348,7 @@
|
|
|
1355
1348
|
};
|
|
1356
1349
|
function $readRemainingCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1357
1350
|
CoroutineImpl.call(this, resultContinuation);
|
|
1358
|
-
this.
|
|
1351
|
+
this.o34_1 = _this__u8e3s4;
|
|
1359
1352
|
}
|
|
1360
1353
|
protoOf($readRemainingCOROUTINE$).q9 = function () {
|
|
1361
1354
|
var suspendResult = this.k9_1;
|
|
@@ -1365,18 +1358,18 @@
|
|
|
1365
1358
|
switch (tmp) {
|
|
1366
1359
|
case 0:
|
|
1367
1360
|
this.j9_1 = 4;
|
|
1368
|
-
this.
|
|
1361
|
+
this.p34_1 = BytePacketBuilder();
|
|
1369
1362
|
this.i9_1 = 1;
|
|
1370
1363
|
continue $sm;
|
|
1371
1364
|
case 1:
|
|
1372
|
-
if (!!this.
|
|
1365
|
+
if (!!this.o34_1.m31()) {
|
|
1373
1366
|
this.i9_1 = 3;
|
|
1374
1367
|
continue $sm;
|
|
1375
1368
|
}
|
|
1376
1369
|
|
|
1377
|
-
this.
|
|
1370
|
+
this.p34_1.w2x(this.o34_1.f31());
|
|
1378
1371
|
this.i9_1 = 2;
|
|
1379
|
-
suspendResult = this.
|
|
1372
|
+
suspendResult = this.o34_1.o31(VOID, this);
|
|
1380
1373
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1381
1374
|
return suspendResult;
|
|
1382
1375
|
}
|
|
@@ -1386,8 +1379,8 @@
|
|
|
1386
1379
|
this.i9_1 = 1;
|
|
1387
1380
|
continue $sm;
|
|
1388
1381
|
case 3:
|
|
1389
|
-
rethrowCloseCauseIfNeeded_0(this.
|
|
1390
|
-
return this.
|
|
1382
|
+
rethrowCloseCauseIfNeeded_0(this.o34_1);
|
|
1383
|
+
return this.p34_1.d2w();
|
|
1391
1384
|
case 4:
|
|
1392
1385
|
throw this.l9_1;
|
|
1393
1386
|
}
|
|
@@ -1404,7 +1397,7 @@
|
|
|
1404
1397
|
};
|
|
1405
1398
|
function $toByteArrayCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
1406
1399
|
CoroutineImpl.call(this, resultContinuation);
|
|
1407
|
-
this.
|
|
1400
|
+
this.y34_1 = _this__u8e3s4;
|
|
1408
1401
|
}
|
|
1409
1402
|
protoOf($toByteArrayCOROUTINE$).q9 = function () {
|
|
1410
1403
|
var suspendResult = this.k9_1;
|
|
@@ -1415,7 +1408,7 @@
|
|
|
1415
1408
|
case 0:
|
|
1416
1409
|
this.j9_1 = 2;
|
|
1417
1410
|
this.i9_1 = 1;
|
|
1418
|
-
suspendResult = readBuffer(this.
|
|
1411
|
+
suspendResult = readBuffer(this.y34_1, this);
|
|
1419
1412
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1420
1413
|
return suspendResult;
|
|
1421
1414
|
}
|
|
@@ -1440,9 +1433,9 @@
|
|
|
1440
1433
|
};
|
|
1441
1434
|
function $copyToCOROUTINE$(_this__u8e3s4, channel, limit, resultContinuation) {
|
|
1442
1435
|
CoroutineImpl.call(this, resultContinuation);
|
|
1443
|
-
this.
|
|
1444
|
-
this.
|
|
1445
|
-
this.
|
|
1436
|
+
this.h35_1 = _this__u8e3s4;
|
|
1437
|
+
this.i35_1 = channel;
|
|
1438
|
+
this.j35_1 = limit;
|
|
1446
1439
|
}
|
|
1447
1440
|
protoOf($copyToCOROUTINE$).q9 = function () {
|
|
1448
1441
|
var suspendResult = this.k9_1;
|
|
@@ -1452,7 +1445,7 @@
|
|
|
1452
1445
|
switch (tmp) {
|
|
1453
1446
|
case 0:
|
|
1454
1447
|
this.j9_1 = 12;
|
|
1455
|
-
this.
|
|
1448
|
+
this.k35_1 = this.j35_1;
|
|
1456
1449
|
this.i9_1 = 1;
|
|
1457
1450
|
continue $sm;
|
|
1458
1451
|
case 1:
|
|
@@ -1461,14 +1454,14 @@
|
|
|
1461
1454
|
this.i9_1 = 2;
|
|
1462
1455
|
continue $sm;
|
|
1463
1456
|
case 2:
|
|
1464
|
-
if (!(!this.
|
|
1457
|
+
if (!(!this.h35_1.m31() && this.k35_1 > 0n)) {
|
|
1465
1458
|
this.i9_1 = 6;
|
|
1466
1459
|
continue $sm;
|
|
1467
1460
|
}
|
|
1468
1461
|
|
|
1469
|
-
if (this.
|
|
1462
|
+
if (this.h35_1.f31().e2w()) {
|
|
1470
1463
|
this.i9_1 = 3;
|
|
1471
|
-
suspendResult = this.
|
|
1464
|
+
suspendResult = this.h35_1.o31(VOID, this);
|
|
1472
1465
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1473
1466
|
return suspendResult;
|
|
1474
1467
|
}
|
|
@@ -1482,13 +1475,13 @@
|
|
|
1482
1475
|
this.i9_1 = 4;
|
|
1483
1476
|
continue $sm;
|
|
1484
1477
|
case 4:
|
|
1485
|
-
var tmp0 = this.
|
|
1486
|
-
var b = get_remaining(this.
|
|
1478
|
+
var tmp0 = this.k35_1;
|
|
1479
|
+
var b = get_remaining(this.h35_1.f31());
|
|
1487
1480
|
var count = tmp0 <= b ? tmp0 : b;
|
|
1488
|
-
this.
|
|
1489
|
-
this.
|
|
1481
|
+
this.h35_1.f31().g2x(this.i35_1.i31(), count);
|
|
1482
|
+
this.k35_1 = subtract(this.k35_1, count);
|
|
1490
1483
|
this.i9_1 = 5;
|
|
1491
|
-
suspendResult = this.
|
|
1484
|
+
suspendResult = this.i35_1.d31(this);
|
|
1492
1485
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1493
1486
|
return suspendResult;
|
|
1494
1487
|
}
|
|
@@ -1506,8 +1499,8 @@
|
|
|
1506
1499
|
var tmp_0 = this.l9_1;
|
|
1507
1500
|
if (tmp_0 instanceof Error) {
|
|
1508
1501
|
var cause = this.l9_1;
|
|
1509
|
-
this.
|
|
1510
|
-
close_0(this.
|
|
1502
|
+
this.h35_1.q31(cause);
|
|
1503
|
+
close_0(this.i35_1, cause);
|
|
1511
1504
|
throw cause;
|
|
1512
1505
|
} else {
|
|
1513
1506
|
throw this.l9_1;
|
|
@@ -1515,27 +1508,27 @@
|
|
|
1515
1508
|
|
|
1516
1509
|
case 8:
|
|
1517
1510
|
this.j9_1 = 12;
|
|
1518
|
-
this.
|
|
1511
|
+
this.l35_1 = this.l9_1;
|
|
1519
1512
|
this.i9_1 = 9;
|
|
1520
|
-
suspendResult = this.
|
|
1513
|
+
suspendResult = this.i35_1.d31(this);
|
|
1521
1514
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1522
1515
|
return suspendResult;
|
|
1523
1516
|
}
|
|
1524
1517
|
|
|
1525
1518
|
continue $sm;
|
|
1526
1519
|
case 9:
|
|
1527
|
-
throw this.
|
|
1520
|
+
throw this.l35_1;
|
|
1528
1521
|
case 10:
|
|
1529
1522
|
this.j9_1 = 12;
|
|
1530
1523
|
this.i9_1 = 11;
|
|
1531
|
-
suspendResult = this.
|
|
1524
|
+
suspendResult = this.i35_1.d31(this);
|
|
1532
1525
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1533
1526
|
return suspendResult;
|
|
1534
1527
|
}
|
|
1535
1528
|
|
|
1536
1529
|
continue $sm;
|
|
1537
1530
|
case 11:
|
|
1538
|
-
return subtract(this.
|
|
1531
|
+
return subtract(this.j35_1, this.k35_1);
|
|
1539
1532
|
case 12:
|
|
1540
1533
|
throw this.l9_1;
|
|
1541
1534
|
}
|
|
@@ -1552,8 +1545,8 @@
|
|
|
1552
1545
|
};
|
|
1553
1546
|
function $discardCOROUTINE$(_this__u8e3s4, max, resultContinuation) {
|
|
1554
1547
|
CoroutineImpl.call(this, resultContinuation);
|
|
1555
|
-
this.
|
|
1556
|
-
this.
|
|
1548
|
+
this.u35_1 = _this__u8e3s4;
|
|
1549
|
+
this.v35_1 = max;
|
|
1557
1550
|
}
|
|
1558
1551
|
protoOf($discardCOROUTINE$).q9 = function () {
|
|
1559
1552
|
var suspendResult = this.k9_1;
|
|
@@ -1563,18 +1556,18 @@
|
|
|
1563
1556
|
switch (tmp) {
|
|
1564
1557
|
case 0:
|
|
1565
1558
|
this.j9_1 = 5;
|
|
1566
|
-
this.
|
|
1559
|
+
this.w35_1 = this.v35_1;
|
|
1567
1560
|
this.i9_1 = 1;
|
|
1568
1561
|
continue $sm;
|
|
1569
1562
|
case 1:
|
|
1570
|
-
if (!(this.
|
|
1563
|
+
if (!(this.w35_1 > 0n && !this.u35_1.m31())) {
|
|
1571
1564
|
this.i9_1 = 4;
|
|
1572
1565
|
continue $sm;
|
|
1573
1566
|
}
|
|
1574
1567
|
|
|
1575
|
-
if (get_availableForRead(this.
|
|
1568
|
+
if (get_availableForRead(this.u35_1) === 0) {
|
|
1576
1569
|
this.i9_1 = 2;
|
|
1577
|
-
suspendResult = this.
|
|
1570
|
+
suspendResult = this.u35_1.o31(VOID, this);
|
|
1578
1571
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1579
1572
|
return suspendResult;
|
|
1580
1573
|
}
|
|
@@ -1588,15 +1581,15 @@
|
|
|
1588
1581
|
this.i9_1 = 3;
|
|
1589
1582
|
continue $sm;
|
|
1590
1583
|
case 3:
|
|
1591
|
-
var tmp0 = this.
|
|
1592
|
-
var b = get_remaining(this.
|
|
1584
|
+
var tmp0 = this.w35_1;
|
|
1585
|
+
var b = get_remaining(this.u35_1.f31());
|
|
1593
1586
|
var count = tmp0 <= b ? tmp0 : b;
|
|
1594
|
-
discard_0(this.
|
|
1595
|
-
this.
|
|
1587
|
+
discard_0(this.u35_1.f31(), count);
|
|
1588
|
+
this.w35_1 = subtract(this.w35_1, count);
|
|
1596
1589
|
this.i9_1 = 1;
|
|
1597
1590
|
continue $sm;
|
|
1598
1591
|
case 4:
|
|
1599
|
-
return subtract(this.
|
|
1592
|
+
return subtract(this.v35_1, this.w35_1);
|
|
1600
1593
|
case 5:
|
|
1601
1594
|
throw this.l9_1;
|
|
1602
1595
|
}
|
|
@@ -1611,109 +1604,10 @@
|
|
|
1611
1604
|
}
|
|
1612
1605
|
while (true);
|
|
1613
1606
|
};
|
|
1614
|
-
function $copyToCOROUTINE$_0(_this__u8e3s4, channel, resultContinuation) {
|
|
1615
|
-
CoroutineImpl.call(this, resultContinuation);
|
|
1616
|
-
this.a1t_1 = _this__u8e3s4;
|
|
1617
|
-
this.b1t_1 = channel;
|
|
1618
|
-
}
|
|
1619
|
-
protoOf($copyToCOROUTINE$_0).q9 = function () {
|
|
1620
|
-
var suspendResult = this.k9_1;
|
|
1621
|
-
$sm: do
|
|
1622
|
-
try {
|
|
1623
|
-
var tmp = this.i9_1;
|
|
1624
|
-
switch (tmp) {
|
|
1625
|
-
case 0:
|
|
1626
|
-
this.j9_1 = 11;
|
|
1627
|
-
this.c1t_1 = 0n;
|
|
1628
|
-
this.i9_1 = 1;
|
|
1629
|
-
continue $sm;
|
|
1630
|
-
case 1:
|
|
1631
|
-
this.j9_1 = 7;
|
|
1632
|
-
this.j9_1 = 6;
|
|
1633
|
-
this.i9_1 = 2;
|
|
1634
|
-
continue $sm;
|
|
1635
|
-
case 2:
|
|
1636
|
-
if (!!this.a1t_1.h1o()) {
|
|
1637
|
-
this.i9_1 = 5;
|
|
1638
|
-
continue $sm;
|
|
1639
|
-
}
|
|
1640
|
-
|
|
1641
|
-
this.c1t_1 = add(this.c1t_1, this.a1t_1.a1o().c1k(this.b1t_1.d1o()));
|
|
1642
|
-
this.i9_1 = 3;
|
|
1643
|
-
suspendResult = this.b1t_1.y1n(this);
|
|
1644
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1645
|
-
return suspendResult;
|
|
1646
|
-
}
|
|
1647
|
-
|
|
1648
|
-
continue $sm;
|
|
1649
|
-
case 3:
|
|
1650
|
-
this.i9_1 = 4;
|
|
1651
|
-
suspendResult = this.a1t_1.j1o(VOID, this);
|
|
1652
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1653
|
-
return suspendResult;
|
|
1654
|
-
}
|
|
1655
|
-
|
|
1656
|
-
continue $sm;
|
|
1657
|
-
case 4:
|
|
1658
|
-
this.i9_1 = 2;
|
|
1659
|
-
continue $sm;
|
|
1660
|
-
case 5:
|
|
1661
|
-
this.j9_1 = 11;
|
|
1662
|
-
this.i9_1 = 9;
|
|
1663
|
-
continue $sm;
|
|
1664
|
-
case 6:
|
|
1665
|
-
this.j9_1 = 7;
|
|
1666
|
-
var tmp_0 = this.l9_1;
|
|
1667
|
-
if (tmp_0 instanceof Error) {
|
|
1668
|
-
var cause = this.l9_1;
|
|
1669
|
-
this.a1t_1.l1o(cause);
|
|
1670
|
-
close_0(this.b1t_1, cause);
|
|
1671
|
-
throw cause;
|
|
1672
|
-
} else {
|
|
1673
|
-
throw this.l9_1;
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
|
-
case 7:
|
|
1677
|
-
this.j9_1 = 11;
|
|
1678
|
-
this.d1t_1 = this.l9_1;
|
|
1679
|
-
this.i9_1 = 8;
|
|
1680
|
-
suspendResult = this.b1t_1.y1n(this);
|
|
1681
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1682
|
-
return suspendResult;
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
continue $sm;
|
|
1686
|
-
case 8:
|
|
1687
|
-
throw this.d1t_1;
|
|
1688
|
-
case 9:
|
|
1689
|
-
this.j9_1 = 11;
|
|
1690
|
-
this.i9_1 = 10;
|
|
1691
|
-
suspendResult = this.b1t_1.y1n(this);
|
|
1692
|
-
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1693
|
-
return suspendResult;
|
|
1694
|
-
}
|
|
1695
|
-
|
|
1696
|
-
continue $sm;
|
|
1697
|
-
case 10:
|
|
1698
|
-
return this.c1t_1;
|
|
1699
|
-
case 11:
|
|
1700
|
-
throw this.l9_1;
|
|
1701
|
-
}
|
|
1702
|
-
} catch ($p) {
|
|
1703
|
-
var e = $p;
|
|
1704
|
-
if (this.j9_1 === 11) {
|
|
1705
|
-
throw e;
|
|
1706
|
-
} else {
|
|
1707
|
-
this.i9_1 = this.j9_1;
|
|
1708
|
-
this.l9_1 = e;
|
|
1709
|
-
}
|
|
1710
|
-
}
|
|
1711
|
-
while (true);
|
|
1712
|
-
};
|
|
1713
1607
|
function $skipIfFoundCOROUTINE$(_this__u8e3s4, byteString, resultContinuation) {
|
|
1714
1608
|
CoroutineImpl.call(this, resultContinuation);
|
|
1715
|
-
this.
|
|
1716
|
-
this.
|
|
1609
|
+
this.f36_1 = _this__u8e3s4;
|
|
1610
|
+
this.g36_1 = byteString;
|
|
1717
1611
|
}
|
|
1718
1612
|
protoOf($skipIfFoundCOROUTINE$).q9 = function () {
|
|
1719
1613
|
var suspendResult = this.k9_1;
|
|
@@ -1724,7 +1618,7 @@
|
|
|
1724
1618
|
case 0:
|
|
1725
1619
|
this.j9_1 = 4;
|
|
1726
1620
|
this.i9_1 = 1;
|
|
1727
|
-
suspendResult = peek(this.
|
|
1621
|
+
suspendResult = peek(this.f36_1, this.g36_1.g1(), this);
|
|
1728
1622
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1729
1623
|
return suspendResult;
|
|
1730
1624
|
}
|
|
@@ -1732,9 +1626,9 @@
|
|
|
1732
1626
|
continue $sm;
|
|
1733
1627
|
case 1:
|
|
1734
1628
|
var ARGUMENT = suspendResult;
|
|
1735
|
-
if (equals(ARGUMENT, this.
|
|
1629
|
+
if (equals(ARGUMENT, this.g36_1)) {
|
|
1736
1630
|
this.i9_1 = 3;
|
|
1737
|
-
suspendResult = discard(this.
|
|
1631
|
+
suspendResult = discard(this.f36_1, fromInt(this.g36_1.g1()), this);
|
|
1738
1632
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1739
1633
|
return suspendResult;
|
|
1740
1634
|
}
|
|
@@ -1764,8 +1658,8 @@
|
|
|
1764
1658
|
};
|
|
1765
1659
|
function $readPacketCOROUTINE$(_this__u8e3s4, packet, resultContinuation) {
|
|
1766
1660
|
CoroutineImpl.call(this, resultContinuation);
|
|
1767
|
-
this.
|
|
1768
|
-
this.
|
|
1661
|
+
this.p36_1 = _this__u8e3s4;
|
|
1662
|
+
this.q36_1 = packet;
|
|
1769
1663
|
}
|
|
1770
1664
|
protoOf($readPacketCOROUTINE$).q9 = function () {
|
|
1771
1665
|
var suspendResult = this.k9_1;
|
|
@@ -1775,18 +1669,18 @@
|
|
|
1775
1669
|
switch (tmp) {
|
|
1776
1670
|
case 0:
|
|
1777
1671
|
this.j9_1 = 6;
|
|
1778
|
-
this.
|
|
1672
|
+
this.r36_1 = new Buffer();
|
|
1779
1673
|
this.i9_1 = 1;
|
|
1780
1674
|
continue $sm;
|
|
1781
1675
|
case 1:
|
|
1782
|
-
if (!(this.
|
|
1676
|
+
if (!(this.r36_1.g1() < fromInt(this.q36_1))) {
|
|
1783
1677
|
this.i9_1 = 5;
|
|
1784
1678
|
continue $sm;
|
|
1785
1679
|
}
|
|
1786
1680
|
|
|
1787
|
-
if (this.
|
|
1681
|
+
if (this.p36_1.f31().e2w()) {
|
|
1788
1682
|
this.i9_1 = 2;
|
|
1789
|
-
suspendResult = this.
|
|
1683
|
+
suspendResult = this.p36_1.o31(VOID, this);
|
|
1790
1684
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1791
1685
|
return suspendResult;
|
|
1792
1686
|
}
|
|
@@ -1800,7 +1694,7 @@
|
|
|
1800
1694
|
this.i9_1 = 3;
|
|
1801
1695
|
continue $sm;
|
|
1802
1696
|
case 3:
|
|
1803
|
-
if (this.
|
|
1697
|
+
if (this.p36_1.m31()) {
|
|
1804
1698
|
this.i9_1 = 5;
|
|
1805
1699
|
continue $sm;
|
|
1806
1700
|
} else {
|
|
@@ -1809,20 +1703,20 @@
|
|
|
1809
1703
|
}
|
|
1810
1704
|
|
|
1811
1705
|
case 4:
|
|
1812
|
-
if (get_remaining(this.
|
|
1813
|
-
this.
|
|
1706
|
+
if (get_remaining(this.p36_1.f31()) > subtract(numberToLong(this.q36_1), this.r36_1.g1())) {
|
|
1707
|
+
this.p36_1.f31().g2x(this.r36_1, subtract(numberToLong(this.q36_1), this.r36_1.g1()));
|
|
1814
1708
|
} else {
|
|
1815
|
-
this.
|
|
1709
|
+
this.p36_1.f31().h2x(this.r36_1);
|
|
1816
1710
|
}
|
|
1817
1711
|
|
|
1818
1712
|
this.i9_1 = 1;
|
|
1819
1713
|
continue $sm;
|
|
1820
1714
|
case 5:
|
|
1821
|
-
if (this.
|
|
1822
|
-
throw EOFException_init_$Create$('Not enough data available, required ' + this.
|
|
1715
|
+
if (this.r36_1.g1() < fromInt(this.q36_1)) {
|
|
1716
|
+
throw EOFException_init_$Create$('Not enough data available, required ' + this.q36_1 + ' bytes but only ' + this.r36_1.g1().toString() + ' available');
|
|
1823
1717
|
}
|
|
1824
1718
|
|
|
1825
|
-
return this.
|
|
1719
|
+
return this.r36_1;
|
|
1826
1720
|
case 6:
|
|
1827
1721
|
throw this.l9_1;
|
|
1828
1722
|
}
|
|
@@ -1839,8 +1733,8 @@
|
|
|
1839
1733
|
};
|
|
1840
1734
|
function $readRemainingCOROUTINE$_0(_this__u8e3s4, max, resultContinuation) {
|
|
1841
1735
|
CoroutineImpl.call(this, resultContinuation);
|
|
1842
|
-
this.
|
|
1843
|
-
this.
|
|
1736
|
+
this.a37_1 = _this__u8e3s4;
|
|
1737
|
+
this.b37_1 = max;
|
|
1844
1738
|
}
|
|
1845
1739
|
protoOf($readRemainingCOROUTINE$_0).q9 = function () {
|
|
1846
1740
|
var suspendResult = this.k9_1;
|
|
@@ -1850,26 +1744,26 @@
|
|
|
1850
1744
|
switch (tmp) {
|
|
1851
1745
|
case 0:
|
|
1852
1746
|
this.j9_1 = 4;
|
|
1853
|
-
this.
|
|
1854
|
-
this.
|
|
1747
|
+
this.c37_1 = BytePacketBuilder();
|
|
1748
|
+
this.d37_1 = this.b37_1;
|
|
1855
1749
|
this.i9_1 = 1;
|
|
1856
1750
|
continue $sm;
|
|
1857
1751
|
case 1:
|
|
1858
|
-
if (!(!this.
|
|
1752
|
+
if (!(!this.a37_1.m31() && this.d37_1 > 0n)) {
|
|
1859
1753
|
this.i9_1 = 3;
|
|
1860
1754
|
continue $sm;
|
|
1861
1755
|
}
|
|
1862
1756
|
|
|
1863
|
-
if (this.
|
|
1864
|
-
this.
|
|
1865
|
-
this.
|
|
1757
|
+
if (this.d37_1 >= get_remaining(this.a37_1.f31())) {
|
|
1758
|
+
this.d37_1 = subtract(this.d37_1, get_remaining(this.a37_1.f31()));
|
|
1759
|
+
this.a37_1.f31().h2x(this.c37_1);
|
|
1866
1760
|
} else {
|
|
1867
|
-
this.
|
|
1868
|
-
this.
|
|
1761
|
+
this.a37_1.f31().g2x(this.c37_1, this.d37_1);
|
|
1762
|
+
this.d37_1 = 0n;
|
|
1869
1763
|
}
|
|
1870
1764
|
|
|
1871
1765
|
this.i9_1 = 2;
|
|
1872
|
-
suspendResult = this.
|
|
1766
|
+
suspendResult = this.a37_1.o31(VOID, this);
|
|
1873
1767
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1874
1768
|
return suspendResult;
|
|
1875
1769
|
}
|
|
@@ -1879,7 +1773,7 @@
|
|
|
1879
1773
|
this.i9_1 = 1;
|
|
1880
1774
|
continue $sm;
|
|
1881
1775
|
case 3:
|
|
1882
|
-
return this.
|
|
1776
|
+
return this.c37_1.d2w();
|
|
1883
1777
|
case 4:
|
|
1884
1778
|
throw this.l9_1;
|
|
1885
1779
|
}
|
|
@@ -1896,8 +1790,8 @@
|
|
|
1896
1790
|
};
|
|
1897
1791
|
function $peekCOROUTINE$(_this__u8e3s4, count, resultContinuation) {
|
|
1898
1792
|
CoroutineImpl.call(this, resultContinuation);
|
|
1899
|
-
this.
|
|
1900
|
-
this.
|
|
1793
|
+
this.m37_1 = _this__u8e3s4;
|
|
1794
|
+
this.n37_1 = count;
|
|
1901
1795
|
}
|
|
1902
1796
|
protoOf($peekCOROUTINE$).q9 = function () {
|
|
1903
1797
|
var suspendResult = this.k9_1;
|
|
@@ -1907,10 +1801,10 @@
|
|
|
1907
1801
|
switch (tmp) {
|
|
1908
1802
|
case 0:
|
|
1909
1803
|
this.j9_1 = 3;
|
|
1910
|
-
if (this.
|
|
1804
|
+
if (this.m37_1.m31())
|
|
1911
1805
|
return null;
|
|
1912
1806
|
this.i9_1 = 1;
|
|
1913
|
-
suspendResult = this.
|
|
1807
|
+
suspendResult = this.m37_1.n31(this.n37_1, this);
|
|
1914
1808
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1915
1809
|
return suspendResult;
|
|
1916
1810
|
}
|
|
@@ -1925,7 +1819,7 @@
|
|
|
1925
1819
|
}
|
|
1926
1820
|
|
|
1927
1821
|
case 2:
|
|
1928
|
-
return readByteString(this.
|
|
1822
|
+
return readByteString(this.m37_1.f31().i2x(), this.n37_1);
|
|
1929
1823
|
case 3:
|
|
1930
1824
|
throw this.l9_1;
|
|
1931
1825
|
}
|
|
@@ -1942,11 +1836,11 @@
|
|
|
1942
1836
|
};
|
|
1943
1837
|
function $internalReadLineToCOROUTINE$(_this__u8e3s4, out, limit, lenientLineEnding, throwOnIncompleteLine, resultContinuation) {
|
|
1944
1838
|
CoroutineImpl.call(this, resultContinuation);
|
|
1945
|
-
this.
|
|
1946
|
-
this.
|
|
1947
|
-
this.
|
|
1948
|
-
this.
|
|
1949
|
-
this.
|
|
1839
|
+
this.w37_1 = _this__u8e3s4;
|
|
1840
|
+
this.x37_1 = out;
|
|
1841
|
+
this.y37_1 = limit;
|
|
1842
|
+
this.z37_1 = lenientLineEnding;
|
|
1843
|
+
this.a38_1 = throwOnIncompleteLine;
|
|
1950
1844
|
}
|
|
1951
1845
|
protoOf($internalReadLineToCOROUTINE$).q9 = function () {
|
|
1952
1846
|
var suspendResult = this.k9_1;
|
|
@@ -1956,10 +1850,10 @@
|
|
|
1956
1850
|
switch (tmp) {
|
|
1957
1851
|
case 0:
|
|
1958
1852
|
this.j9_1 = 18;
|
|
1959
|
-
this.
|
|
1960
|
-
if (this.
|
|
1853
|
+
this.c38_1 = this.w37_1.f31();
|
|
1854
|
+
if (this.c38_1.e2w()) {
|
|
1961
1855
|
this.i9_1 = 1;
|
|
1962
|
-
suspendResult = this.
|
|
1856
|
+
suspendResult = this.w37_1.o31(VOID, this);
|
|
1963
1857
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1964
1858
|
return suspendResult;
|
|
1965
1859
|
}
|
|
@@ -1973,94 +1867,94 @@
|
|
|
1973
1867
|
this.i9_1 = 2;
|
|
1974
1868
|
continue $sm;
|
|
1975
1869
|
case 2:
|
|
1976
|
-
if (this.
|
|
1870
|
+
if (this.w37_1.m31())
|
|
1977
1871
|
return -1n;
|
|
1978
|
-
this.
|
|
1872
|
+
this.b38_1 = {_v: 0n};
|
|
1979
1873
|
this.i9_1 = 3;
|
|
1980
1874
|
continue $sm;
|
|
1981
1875
|
case 3:
|
|
1982
|
-
if (!(this.
|
|
1876
|
+
if (!(this.b38_1._v < this.y37_1 && !this.w37_1.m31())) {
|
|
1983
1877
|
this.i9_1 = 10;
|
|
1984
1878
|
continue $sm;
|
|
1985
1879
|
}
|
|
1986
1880
|
|
|
1987
|
-
var limitLeft = subtract(this.
|
|
1988
|
-
var lfIndex = indexOf(this.
|
|
1989
|
-
var crIndex = internalReadLineTo$scanForSoleCr(this.
|
|
1881
|
+
var limitLeft = subtract(this.y37_1, this.b38_1._v);
|
|
1882
|
+
var lfIndex = indexOf(this.c38_1, 10, VOID, limitLeft);
|
|
1883
|
+
var crIndex = internalReadLineTo$scanForSoleCr(this.c38_1, this.z37_1, lfIndex, limitLeft);
|
|
1990
1884
|
if (crIndex >= 0n) {
|
|
1991
|
-
internalReadLineTo$transferString(this.
|
|
1992
|
-
discard_0(this.
|
|
1993
|
-
return this.
|
|
1885
|
+
internalReadLineTo$transferString(this.c38_1, this.x37_1, this.b38_1, crIndex);
|
|
1886
|
+
discard_0(this.c38_1, 1n);
|
|
1887
|
+
return this.b38_1._v;
|
|
1994
1888
|
}
|
|
1995
1889
|
|
|
1996
1890
|
if (lfIndex === 0n) {
|
|
1997
|
-
discard_0(this.
|
|
1998
|
-
return this.
|
|
1891
|
+
discard_0(this.c38_1, 1n);
|
|
1892
|
+
return this.b38_1._v;
|
|
1999
1893
|
}
|
|
2000
1894
|
|
|
2001
1895
|
if (lfIndex > 0n) {
|
|
2002
1896
|
var tmp_0;
|
|
2003
|
-
var tmp_1 = this.
|
|
2004
|
-
if (tmp_1.
|
|
1897
|
+
var tmp_1 = this.c38_1.d2w();
|
|
1898
|
+
if (tmp_1.z2w(subtract(lfIndex, fromInt(1))) === 13) {
|
|
2005
1899
|
tmp_0 = 1n;
|
|
2006
1900
|
} else {
|
|
2007
1901
|
tmp_0 = 0n;
|
|
2008
1902
|
}
|
|
2009
1903
|
var isCrlf = tmp_0;
|
|
2010
|
-
internalReadLineTo$transferString(this.
|
|
2011
|
-
discard_0(this.
|
|
2012
|
-
return this.
|
|
1904
|
+
internalReadLineTo$transferString(this.c38_1, this.x37_1, this.b38_1, subtract(lfIndex, isCrlf));
|
|
1905
|
+
discard_0(this.c38_1, add(numberToLong(1), isCrlf));
|
|
1906
|
+
return this.b38_1._v;
|
|
2013
1907
|
}
|
|
2014
1908
|
|
|
2015
|
-
var b = get_remaining(this.
|
|
1909
|
+
var b = get_remaining(this.c38_1);
|
|
2016
1910
|
var count = limitLeft <= b ? limitLeft : b;
|
|
2017
|
-
var tmp_2 = this.
|
|
2018
|
-
if (tmp_2.
|
|
2019
|
-
internalReadLineTo$transferString(this.
|
|
1911
|
+
var tmp_2 = this.c38_1.d2w();
|
|
1912
|
+
if (tmp_2.z2w(subtract(count, fromInt(1))) === 13) {
|
|
1913
|
+
internalReadLineTo$transferString(this.c38_1, this.x37_1, this.b38_1, subtract(count, fromInt(1)));
|
|
2020
1914
|
this.i9_1 = 4;
|
|
2021
|
-
suspendResult = internalReadLineTo$discardCrlfOrCr(this.
|
|
1915
|
+
suspendResult = internalReadLineTo$discardCrlfOrCr(this.c38_1, this.w37_1, this.z37_1, this);
|
|
2022
1916
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2023
1917
|
return suspendResult;
|
|
2024
1918
|
}
|
|
2025
1919
|
continue $sm;
|
|
2026
1920
|
} else {
|
|
2027
|
-
internalReadLineTo$transferString(this.
|
|
1921
|
+
internalReadLineTo$transferString(this.c38_1, this.x37_1, this.b38_1, count);
|
|
2028
1922
|
this.i9_1 = 6;
|
|
2029
1923
|
continue $sm;
|
|
2030
1924
|
}
|
|
2031
1925
|
|
|
2032
1926
|
case 4:
|
|
2033
1927
|
if (suspendResult) {
|
|
2034
|
-
return this.
|
|
1928
|
+
return this.b38_1._v;
|
|
2035
1929
|
} else {
|
|
2036
1930
|
this.i9_1 = 5;
|
|
2037
1931
|
continue $sm;
|
|
2038
1932
|
}
|
|
2039
1933
|
|
|
2040
1934
|
case 5:
|
|
2041
|
-
internalReadLineTo$transferString(this.
|
|
1935
|
+
internalReadLineTo$transferString(this.c38_1, this.x37_1, this.b38_1, 1n);
|
|
2042
1936
|
this.i9_1 = 6;
|
|
2043
1937
|
continue $sm;
|
|
2044
1938
|
case 6:
|
|
2045
|
-
if (this.
|
|
1939
|
+
if (this.b38_1._v < this.y37_1 && get_remaining(this.c38_1) === 0n) {
|
|
2046
1940
|
this.i9_1 = 7;
|
|
2047
|
-
suspendResult = this.
|
|
1941
|
+
suspendResult = this.w37_1.o31(VOID, this);
|
|
2048
1942
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2049
1943
|
return suspendResult;
|
|
2050
1944
|
}
|
|
2051
1945
|
continue $sm;
|
|
2052
1946
|
} else {
|
|
2053
|
-
this.
|
|
1947
|
+
this.e38_1 = false;
|
|
2054
1948
|
this.i9_1 = 8;
|
|
2055
1949
|
continue $sm;
|
|
2056
1950
|
}
|
|
2057
1951
|
|
|
2058
1952
|
case 7:
|
|
2059
|
-
this.
|
|
1953
|
+
this.e38_1 = !suspendResult;
|
|
2060
1954
|
this.i9_1 = 8;
|
|
2061
1955
|
continue $sm;
|
|
2062
1956
|
case 8:
|
|
2063
|
-
if (this.
|
|
1957
|
+
if (this.e38_1) {
|
|
2064
1958
|
this.i9_1 = 10;
|
|
2065
1959
|
continue $sm;
|
|
2066
1960
|
} else {
|
|
@@ -2072,25 +1966,25 @@
|
|
|
2072
1966
|
this.i9_1 = 3;
|
|
2073
1967
|
continue $sm;
|
|
2074
1968
|
case 10:
|
|
2075
|
-
if (this.
|
|
1969
|
+
if (this.b38_1._v === 0n && this.w37_1.m31())
|
|
2076
1970
|
return -1n;
|
|
2077
|
-
if (!(this.
|
|
2078
|
-
var message = 'Consumed bytes exceed the limit: ' + this.
|
|
1971
|
+
if (!(this.b38_1._v <= this.y37_1)) {
|
|
1972
|
+
var message = 'Consumed bytes exceed the limit: ' + this.b38_1._v.toString() + ' > ' + this.y37_1.toString() + ". It's an implementation bug, please report it.";
|
|
2079
1973
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
2080
1974
|
}
|
|
2081
1975
|
|
|
2082
|
-
if (this.
|
|
2083
|
-
if (this.
|
|
1976
|
+
if (this.b38_1._v === this.y37_1) {
|
|
1977
|
+
if (this.y37_1 === 9223372036854775807n)
|
|
2084
1978
|
throw new TooLongLineException('Max line length exceeded');
|
|
2085
|
-
if (get_remaining(this.
|
|
1979
|
+
if (get_remaining(this.c38_1) === 0n) {
|
|
2086
1980
|
this.i9_1 = 12;
|
|
2087
|
-
suspendResult = this.
|
|
1981
|
+
suspendResult = this.w37_1.o31(VOID, this);
|
|
2088
1982
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2089
1983
|
return suspendResult;
|
|
2090
1984
|
}
|
|
2091
1985
|
continue $sm;
|
|
2092
1986
|
} else {
|
|
2093
|
-
this.
|
|
1987
|
+
this.d38_1 = false;
|
|
2094
1988
|
this.i9_1 = 13;
|
|
2095
1989
|
continue $sm;
|
|
2096
1990
|
}
|
|
@@ -2100,18 +1994,18 @@
|
|
|
2100
1994
|
}
|
|
2101
1995
|
|
|
2102
1996
|
case 11:
|
|
2103
|
-
if (this.
|
|
2104
|
-
throwEndOfStreamException(this.
|
|
1997
|
+
if (this.a38_1) {
|
|
1998
|
+
throwEndOfStreamException(this.b38_1._v);
|
|
2105
1999
|
}
|
|
2106
2000
|
|
|
2107
|
-
return this.
|
|
2001
|
+
return this.b38_1._v;
|
|
2108
2002
|
case 12:
|
|
2109
|
-
this.
|
|
2003
|
+
this.d38_1 = !suspendResult;
|
|
2110
2004
|
this.i9_1 = 13;
|
|
2111
2005
|
continue $sm;
|
|
2112
2006
|
case 13:
|
|
2113
|
-
if (this.
|
|
2114
|
-
throwEndOfStreamException(this.
|
|
2007
|
+
if (this.d38_1) {
|
|
2008
|
+
throwEndOfStreamException(this.b38_1._v);
|
|
2115
2009
|
} else {
|
|
2116
2010
|
this.i9_1 = 14;
|
|
2117
2011
|
continue $sm;
|
|
@@ -2119,14 +2013,14 @@
|
|
|
2119
2013
|
|
|
2120
2014
|
break;
|
|
2121
2015
|
case 14:
|
|
2122
|
-
var tmp0_subject = this.
|
|
2016
|
+
var tmp0_subject = this.c38_1.d2w().z2w(0n);
|
|
2123
2017
|
if (tmp0_subject === 10) {
|
|
2124
|
-
discard_0(this.
|
|
2125
|
-
return this.
|
|
2018
|
+
discard_0(this.c38_1, 1n);
|
|
2019
|
+
return this.b38_1._v;
|
|
2126
2020
|
} else {
|
|
2127
2021
|
if (tmp0_subject === 13) {
|
|
2128
2022
|
this.i9_1 = 15;
|
|
2129
|
-
suspendResult = internalReadLineTo$discardCrlfOrCr(this.
|
|
2023
|
+
suspendResult = internalReadLineTo$discardCrlfOrCr(this.c38_1, this.w37_1, this.z37_1, this);
|
|
2130
2024
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2131
2025
|
return suspendResult;
|
|
2132
2026
|
}
|
|
@@ -2139,7 +2033,7 @@
|
|
|
2139
2033
|
|
|
2140
2034
|
case 15:
|
|
2141
2035
|
if (suspendResult) {
|
|
2142
|
-
return this.
|
|
2036
|
+
return this.b38_1._v;
|
|
2143
2037
|
} else {
|
|
2144
2038
|
this.i9_1 = 16;
|
|
2145
2039
|
continue $sm;
|
|
@@ -2149,7 +2043,7 @@
|
|
|
2149
2043
|
this.i9_1 = 17;
|
|
2150
2044
|
continue $sm;
|
|
2151
2045
|
case 17:
|
|
2152
|
-
throwTooLongLineException(this.
|
|
2046
|
+
throwTooLongLineException(this.y37_1);
|
|
2153
2047
|
break;
|
|
2154
2048
|
case 18:
|
|
2155
2049
|
throw this.l9_1;
|
|
@@ -2167,9 +2061,9 @@
|
|
|
2167
2061
|
};
|
|
2168
2062
|
function $internalReadLineTo$discardCrlfOrCrCOROUTINE$(_this__u8e3s4, $this_internalReadLineTo, $lenientLineEnding, resultContinuation) {
|
|
2169
2063
|
CoroutineImpl.call(this, resultContinuation);
|
|
2170
|
-
this.
|
|
2171
|
-
this.
|
|
2172
|
-
this.
|
|
2064
|
+
this.n38_1 = _this__u8e3s4;
|
|
2065
|
+
this.o38_1 = $this_internalReadLineTo;
|
|
2066
|
+
this.p38_1 = $lenientLineEnding;
|
|
2173
2067
|
}
|
|
2174
2068
|
protoOf($internalReadLineTo$discardCrlfOrCrCOROUTINE$).q9 = function () {
|
|
2175
2069
|
var suspendResult = this.k9_1;
|
|
@@ -2179,13 +2073,13 @@
|
|
|
2179
2073
|
switch (tmp) {
|
|
2180
2074
|
case 0:
|
|
2181
2075
|
this.j9_1 = 5;
|
|
2182
|
-
if (get_remaining(this.
|
|
2183
|
-
this.
|
|
2076
|
+
if (get_remaining(this.n38_1) >= 2n) {
|
|
2077
|
+
this.r38_1 = true;
|
|
2184
2078
|
this.i9_1 = 2;
|
|
2185
2079
|
continue $sm;
|
|
2186
2080
|
} else {
|
|
2187
2081
|
this.i9_1 = 1;
|
|
2188
|
-
suspendResult = this.
|
|
2082
|
+
suspendResult = this.o38_1.n31(2, this);
|
|
2189
2083
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2190
2084
|
return suspendResult;
|
|
2191
2085
|
}
|
|
@@ -2193,23 +2087,23 @@
|
|
|
2193
2087
|
}
|
|
2194
2088
|
|
|
2195
2089
|
case 1:
|
|
2196
|
-
this.
|
|
2090
|
+
this.r38_1 = suspendResult;
|
|
2197
2091
|
this.i9_1 = 2;
|
|
2198
2092
|
continue $sm;
|
|
2199
2093
|
case 2:
|
|
2200
|
-
if (this.
|
|
2201
|
-
this.
|
|
2094
|
+
if (this.r38_1) {
|
|
2095
|
+
this.q38_1 = this.n38_1.d2w().z2w(1n) === 10;
|
|
2202
2096
|
this.i9_1 = 3;
|
|
2203
2097
|
continue $sm;
|
|
2204
2098
|
} else {
|
|
2205
|
-
this.
|
|
2099
|
+
this.q38_1 = false;
|
|
2206
2100
|
this.i9_1 = 3;
|
|
2207
2101
|
continue $sm;
|
|
2208
2102
|
}
|
|
2209
2103
|
|
|
2210
2104
|
case 3:
|
|
2211
|
-
if (this.
|
|
2212
|
-
discard_0(this.
|
|
2105
|
+
if (this.q38_1) {
|
|
2106
|
+
discard_0(this.n38_1, 2n);
|
|
2213
2107
|
return true;
|
|
2214
2108
|
} else {
|
|
2215
2109
|
this.i9_1 = 4;
|
|
@@ -2217,8 +2111,8 @@
|
|
|
2217
2111
|
}
|
|
2218
2112
|
|
|
2219
2113
|
case 4:
|
|
2220
|
-
if (this.
|
|
2221
|
-
discard_0(this.
|
|
2114
|
+
if (this.p38_1) {
|
|
2115
|
+
discard_0(this.n38_1, 1n);
|
|
2222
2116
|
return true;
|
|
2223
2117
|
}
|
|
2224
2118
|
|
|
@@ -2247,7 +2141,7 @@
|
|
|
2247
2141
|
}
|
|
2248
2142
|
function $flushIfNeededCOROUTINE$(_this__u8e3s4, resultContinuation) {
|
|
2249
2143
|
CoroutineImpl.call(this, resultContinuation);
|
|
2250
|
-
this.
|
|
2144
|
+
this.a39_1 = _this__u8e3s4;
|
|
2251
2145
|
}
|
|
2252
2146
|
protoOf($flushIfNeededCOROUTINE$).q9 = function () {
|
|
2253
2147
|
var suspendResult = this.k9_1;
|
|
@@ -2257,10 +2151,10 @@
|
|
|
2257
2151
|
switch (tmp) {
|
|
2258
2152
|
case 0:
|
|
2259
2153
|
this.j9_1 = 3;
|
|
2260
|
-
rethrowCloseCauseIfNeeded_1(this.
|
|
2261
|
-
if (this.
|
|
2154
|
+
rethrowCloseCauseIfNeeded_1(this.a39_1);
|
|
2155
|
+
if (this.a39_1.e31() || get_size(this.a39_1.i31()) >= 1048576) {
|
|
2262
2156
|
this.i9_1 = 1;
|
|
2263
|
-
suspendResult = this.
|
|
2157
|
+
suspendResult = this.a39_1.d31(this);
|
|
2264
2158
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2265
2159
|
return suspendResult;
|
|
2266
2160
|
}
|
|
@@ -2297,15 +2191,15 @@
|
|
|
2297
2191
|
function writeFully(_this__u8e3s4, value, startIndex, endIndex, $completion) {
|
|
2298
2192
|
startIndex = startIndex === VOID ? 0 : startIndex;
|
|
2299
2193
|
endIndex = endIndex === VOID ? value.length : endIndex;
|
|
2300
|
-
_this__u8e3s4.
|
|
2194
|
+
_this__u8e3s4.i31().n2x(value, startIndex, endIndex);
|
|
2301
2195
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
2302
2196
|
}
|
|
2303
2197
|
function WriterJob(channel, job) {
|
|
2304
|
-
this.
|
|
2305
|
-
this.
|
|
2198
|
+
this.b39_1 = channel;
|
|
2199
|
+
this.c39_1 = job;
|
|
2306
2200
|
}
|
|
2307
|
-
protoOf(WriterJob).
|
|
2308
|
-
return this.
|
|
2201
|
+
protoOf(WriterJob).o29 = function () {
|
|
2202
|
+
return this.c39_1;
|
|
2309
2203
|
};
|
|
2310
2204
|
function writer(_this__u8e3s4, coroutineContext, autoFlush, block) {
|
|
2311
2205
|
coroutineContext = coroutineContext === VOID ? EmptyCoroutineContext_instance : coroutineContext;
|
|
@@ -2314,22 +2208,22 @@
|
|
|
2314
2208
|
return writer_0(_this__u8e3s4, coroutineContext, new ByteChannel(), block);
|
|
2315
2209
|
}
|
|
2316
2210
|
function WriterScope(channel, coroutineContext) {
|
|
2317
|
-
this.
|
|
2318
|
-
this.
|
|
2211
|
+
this.d39_1 = channel;
|
|
2212
|
+
this.e39_1 = coroutineContext;
|
|
2319
2213
|
}
|
|
2320
|
-
protoOf(WriterScope).
|
|
2321
|
-
return this.
|
|
2214
|
+
protoOf(WriterScope).e26 = function () {
|
|
2215
|
+
return this.e39_1;
|
|
2322
2216
|
};
|
|
2323
2217
|
function invokeOnCompletion(_this__u8e3s4, block) {
|
|
2324
2218
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
2325
|
-
return _this__u8e3s4.
|
|
2219
|
+
return _this__u8e3s4.o29().g27(block);
|
|
2326
2220
|
}
|
|
2327
2221
|
function close_0(_this__u8e3s4, cause) {
|
|
2328
2222
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
2329
2223
|
if (cause == null) {
|
|
2330
2224
|
fireAndForget(ByteWriteChannel$flushAndClose$ref_0(_this__u8e3s4));
|
|
2331
2225
|
} else {
|
|
2332
|
-
_this__u8e3s4.
|
|
2226
|
+
_this__u8e3s4.q31(cause);
|
|
2333
2227
|
}
|
|
2334
2228
|
}
|
|
2335
2229
|
function writePacket(_this__u8e3s4, source, $completion) {
|
|
@@ -2343,7 +2237,7 @@
|
|
|
2343
2237
|
_init_properties_ByteWriteChannelOperations_kt__i7slrs();
|
|
2344
2238
|
// Inline function 'kotlin.apply' call
|
|
2345
2239
|
var this_0 = launch(_this__u8e3s4, coroutineContext, VOID, writer$slambda_0(block, channel, null));
|
|
2346
|
-
this_0.
|
|
2240
|
+
this_0.g27(writer$lambda(channel));
|
|
2347
2241
|
var job = this_0;
|
|
2348
2242
|
return new WriterJob(channel, job);
|
|
2349
2243
|
}
|
|
@@ -2352,14 +2246,14 @@
|
|
|
2352
2246
|
startCoroutineCancellable(_this__u8e3s4, get_NO_CALLBACK());
|
|
2353
2247
|
}
|
|
2354
2248
|
function writeByte(_this__u8e3s4, value, $completion) {
|
|
2355
|
-
_this__u8e3s4.
|
|
2249
|
+
_this__u8e3s4.i31().x2x(value);
|
|
2356
2250
|
return flushIfNeeded(_this__u8e3s4, $completion);
|
|
2357
2251
|
}
|
|
2358
2252
|
function NO_CALLBACK$1() {
|
|
2359
|
-
this.
|
|
2253
|
+
this.p39_1 = EmptyCoroutineContext_instance;
|
|
2360
2254
|
}
|
|
2361
2255
|
protoOf(NO_CALLBACK$1).o9 = function () {
|
|
2362
|
-
return this.
|
|
2256
|
+
return this.p39_1;
|
|
2363
2257
|
};
|
|
2364
2258
|
protoOf(NO_CALLBACK$1).p9 = function (result) {
|
|
2365
2259
|
return Unit_instance;
|
|
@@ -2368,36 +2262,36 @@
|
|
|
2368
2262
|
return this.p9(result);
|
|
2369
2263
|
};
|
|
2370
2264
|
function ByteWriteChannel$flushAndClose$ref(p0) {
|
|
2371
|
-
this.
|
|
2265
|
+
this.q39_1 = p0;
|
|
2372
2266
|
}
|
|
2373
|
-
protoOf(ByteWriteChannel$flushAndClose$ref).
|
|
2374
|
-
return this.
|
|
2267
|
+
protoOf(ByteWriteChannel$flushAndClose$ref).r39 = function ($completion) {
|
|
2268
|
+
return this.q39_1.p31($completion);
|
|
2375
2269
|
};
|
|
2376
2270
|
protoOf(ByteWriteChannel$flushAndClose$ref).za = function ($completion) {
|
|
2377
|
-
return this.
|
|
2271
|
+
return this.r39($completion);
|
|
2378
2272
|
};
|
|
2379
2273
|
function ByteWriteChannel$flushAndClose$ref_0(p0) {
|
|
2380
2274
|
var i = new ByteWriteChannel$flushAndClose$ref(p0);
|
|
2381
2275
|
var l = function ($completion) {
|
|
2382
|
-
return i.
|
|
2276
|
+
return i.r39($completion);
|
|
2383
2277
|
};
|
|
2384
2278
|
l.callableName = 'flushAndClose';
|
|
2385
2279
|
l.$arity = 0;
|
|
2386
2280
|
return l;
|
|
2387
2281
|
}
|
|
2388
2282
|
function writer$slambda($block, $channel, resultContinuation) {
|
|
2389
|
-
this.
|
|
2390
|
-
this.
|
|
2283
|
+
this.a3a_1 = $block;
|
|
2284
|
+
this.b3a_1 = $channel;
|
|
2391
2285
|
CoroutineImpl.call(this, resultContinuation);
|
|
2392
2286
|
}
|
|
2393
|
-
protoOf(writer$slambda).
|
|
2394
|
-
var tmp = this.
|
|
2287
|
+
protoOf(writer$slambda).j3a = function ($this$launch, $completion) {
|
|
2288
|
+
var tmp = this.k3a($this$launch, $completion);
|
|
2395
2289
|
tmp.k9_1 = Unit_instance;
|
|
2396
2290
|
tmp.l9_1 = null;
|
|
2397
2291
|
return tmp.q9();
|
|
2398
2292
|
};
|
|
2399
2293
|
protoOf(writer$slambda).ca = function (p1, $completion) {
|
|
2400
|
-
return this.
|
|
2294
|
+
return this.j3a((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
2401
2295
|
};
|
|
2402
2296
|
protoOf(writer$slambda).q9 = function () {
|
|
2403
2297
|
var suspendResult = this.k9_1;
|
|
@@ -2407,24 +2301,24 @@
|
|
|
2407
2301
|
switch (tmp) {
|
|
2408
2302
|
case 0:
|
|
2409
2303
|
this.j9_1 = 14;
|
|
2410
|
-
this.
|
|
2304
|
+
this.f3a_1 = Job(get_job(this.c3a_1.e26()));
|
|
2411
2305
|
this.i9_1 = 1;
|
|
2412
2306
|
continue $sm;
|
|
2413
2307
|
case 1:
|
|
2414
2308
|
this.j9_1 = 4;
|
|
2415
2309
|
this.j9_1 = 3;
|
|
2416
2310
|
this.i9_1 = 2;
|
|
2417
|
-
suspendResult = this.
|
|
2311
|
+
suspendResult = this.a3a_1(new WriterScope(this.b3a_1, this.c3a_1.e26().qj(this.f3a_1)), this);
|
|
2418
2312
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2419
2313
|
return suspendResult;
|
|
2420
2314
|
}
|
|
2421
2315
|
|
|
2422
2316
|
continue $sm;
|
|
2423
2317
|
case 2:
|
|
2424
|
-
this.
|
|
2318
|
+
this.f3a_1.l2e();
|
|
2425
2319
|
var tmp_0;
|
|
2426
|
-
if (get_job(this.
|
|
2427
|
-
this.
|
|
2320
|
+
if (get_job(this.c3a_1.e26()).a27()) {
|
|
2321
|
+
this.b3a_1.q31(get_job(this.c3a_1.e26()).d27());
|
|
2428
2322
|
tmp_0 = Unit_instance;
|
|
2429
2323
|
}
|
|
2430
2324
|
|
|
@@ -2436,8 +2330,8 @@
|
|
|
2436
2330
|
var tmp_1 = this.l9_1;
|
|
2437
2331
|
if (tmp_1 instanceof Error) {
|
|
2438
2332
|
var cause = this.l9_1;
|
|
2439
|
-
cancel(this.
|
|
2440
|
-
this.
|
|
2333
|
+
cancel(this.f3a_1, 'Exception thrown while writing to channel', cause);
|
|
2334
|
+
this.b3a_1.q31(cause);
|
|
2441
2335
|
this.j9_1 = 14;
|
|
2442
2336
|
this.i9_1 = 9;
|
|
2443
2337
|
continue $sm;
|
|
@@ -2447,20 +2341,20 @@
|
|
|
2447
2341
|
|
|
2448
2342
|
case 4:
|
|
2449
2343
|
this.j9_1 = 14;
|
|
2450
|
-
this.
|
|
2344
|
+
this.g3a_1 = this.l9_1;
|
|
2451
2345
|
this.i9_1 = 5;
|
|
2452
|
-
suspendResult = this.
|
|
2346
|
+
suspendResult = this.f3a_1.k27(this);
|
|
2453
2347
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2454
2348
|
return suspendResult;
|
|
2455
2349
|
}
|
|
2456
2350
|
|
|
2457
2351
|
continue $sm;
|
|
2458
2352
|
case 5:
|
|
2459
|
-
this.
|
|
2353
|
+
this.c3a_1;
|
|
2460
2354
|
this.j9_1 = 7;
|
|
2461
|
-
this.
|
|
2355
|
+
this.i3a_1 = Companion_instance;
|
|
2462
2356
|
this.i9_1 = 6;
|
|
2463
|
-
suspendResult = this.
|
|
2357
|
+
suspendResult = this.b3a_1.p31(this);
|
|
2464
2358
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2465
2359
|
return suspendResult;
|
|
2466
2360
|
}
|
|
@@ -2468,8 +2362,8 @@
|
|
|
2468
2362
|
continue $sm;
|
|
2469
2363
|
case 6:
|
|
2470
2364
|
var tmp_2 = this;
|
|
2471
|
-
this.
|
|
2472
|
-
tmp_2.
|
|
2365
|
+
this.i3a_1;
|
|
2366
|
+
tmp_2.h3a_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2473
2367
|
this.j9_1 = 14;
|
|
2474
2368
|
this.i9_1 = 8;
|
|
2475
2369
|
continue $sm;
|
|
@@ -2479,7 +2373,7 @@
|
|
|
2479
2373
|
if (tmp_3 instanceof Error) {
|
|
2480
2374
|
var e = this.l9_1;
|
|
2481
2375
|
var tmp_4 = this;
|
|
2482
|
-
tmp_4.
|
|
2376
|
+
tmp_4.h3a_1 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
2483
2377
|
this.i9_1 = 8;
|
|
2484
2378
|
continue $sm;
|
|
2485
2379
|
} else {
|
|
@@ -2488,22 +2382,22 @@
|
|
|
2488
2382
|
|
|
2489
2383
|
case 8:
|
|
2490
2384
|
this.j9_1 = 14;
|
|
2491
|
-
throw this.
|
|
2385
|
+
throw this.g3a_1;
|
|
2492
2386
|
case 9:
|
|
2493
2387
|
this.j9_1 = 14;
|
|
2494
2388
|
this.i9_1 = 10;
|
|
2495
|
-
suspendResult = this.
|
|
2389
|
+
suspendResult = this.f3a_1.k27(this);
|
|
2496
2390
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2497
2391
|
return suspendResult;
|
|
2498
2392
|
}
|
|
2499
2393
|
|
|
2500
2394
|
continue $sm;
|
|
2501
2395
|
case 10:
|
|
2502
|
-
this.
|
|
2396
|
+
this.c3a_1;
|
|
2503
2397
|
this.j9_1 = 12;
|
|
2504
|
-
this.
|
|
2398
|
+
this.e3a_1 = Companion_instance;
|
|
2505
2399
|
this.i9_1 = 11;
|
|
2506
|
-
suspendResult = this.
|
|
2400
|
+
suspendResult = this.b3a_1.p31(this);
|
|
2507
2401
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2508
2402
|
return suspendResult;
|
|
2509
2403
|
}
|
|
@@ -2511,8 +2405,8 @@
|
|
|
2511
2405
|
continue $sm;
|
|
2512
2406
|
case 11:
|
|
2513
2407
|
var tmp_5 = this;
|
|
2514
|
-
this.
|
|
2515
|
-
tmp_5.
|
|
2408
|
+
this.e3a_1;
|
|
2409
|
+
tmp_5.d3a_1 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
2516
2410
|
this.j9_1 = 14;
|
|
2517
2411
|
this.i9_1 = 13;
|
|
2518
2412
|
continue $sm;
|
|
@@ -2522,7 +2416,7 @@
|
|
|
2522
2416
|
if (tmp_6 instanceof Error) {
|
|
2523
2417
|
var e_0 = this.l9_1;
|
|
2524
2418
|
var tmp_7 = this;
|
|
2525
|
-
tmp_7.
|
|
2419
|
+
tmp_7.d3a_1 = _Result___init__impl__xyqfz8(createFailure(e_0));
|
|
2526
2420
|
this.i9_1 = 13;
|
|
2527
2421
|
continue $sm;
|
|
2528
2422
|
} else {
|
|
@@ -2546,15 +2440,15 @@
|
|
|
2546
2440
|
}
|
|
2547
2441
|
while (true);
|
|
2548
2442
|
};
|
|
2549
|
-
protoOf(writer$slambda).
|
|
2550
|
-
var i = new writer$slambda(this.
|
|
2551
|
-
i.
|
|
2443
|
+
protoOf(writer$slambda).k3a = function ($this$launch, completion) {
|
|
2444
|
+
var i = new writer$slambda(this.a3a_1, this.b3a_1, completion);
|
|
2445
|
+
i.c3a_1 = $this$launch;
|
|
2552
2446
|
return i;
|
|
2553
2447
|
};
|
|
2554
2448
|
function writer$slambda_0($block, $channel, resultContinuation) {
|
|
2555
2449
|
var i = new writer$slambda($block, $channel, resultContinuation);
|
|
2556
2450
|
var l = function ($this$launch, $completion) {
|
|
2557
|
-
return i.
|
|
2451
|
+
return i.j3a($this$launch, $completion);
|
|
2558
2452
|
};
|
|
2559
2453
|
l.$arity = 1;
|
|
2560
2454
|
return l;
|
|
@@ -2562,8 +2456,8 @@
|
|
|
2562
2456
|
function writer$lambda($channel) {
|
|
2563
2457
|
return function (it) {
|
|
2564
2458
|
var tmp;
|
|
2565
|
-
if (!(it == null) && !$channel.
|
|
2566
|
-
$channel.
|
|
2459
|
+
if (!(it == null) && !$channel.j31()) {
|
|
2460
|
+
$channel.q31(it);
|
|
2567
2461
|
tmp = Unit_instance;
|
|
2568
2462
|
}
|
|
2569
2463
|
return Unit_instance;
|
|
@@ -2571,8 +2465,8 @@
|
|
|
2571
2465
|
}
|
|
2572
2466
|
function $writePacketCOROUTINE$(_this__u8e3s4, source, resultContinuation) {
|
|
2573
2467
|
CoroutineImpl.call(this, resultContinuation);
|
|
2574
|
-
this.
|
|
2575
|
-
this.
|
|
2468
|
+
this.n39_1 = _this__u8e3s4;
|
|
2469
|
+
this.o39_1 = source;
|
|
2576
2470
|
}
|
|
2577
2471
|
protoOf($writePacketCOROUTINE$).q9 = function () {
|
|
2578
2472
|
var suspendResult = this.k9_1;
|
|
@@ -2585,14 +2479,14 @@
|
|
|
2585
2479
|
this.i9_1 = 1;
|
|
2586
2480
|
continue $sm;
|
|
2587
2481
|
case 1:
|
|
2588
|
-
if (!!this.
|
|
2482
|
+
if (!!this.o39_1.e2w()) {
|
|
2589
2483
|
this.i9_1 = 3;
|
|
2590
2484
|
continue $sm;
|
|
2591
2485
|
}
|
|
2592
2486
|
|
|
2593
|
-
this.
|
|
2487
|
+
this.n39_1.i31().r2x(this.o39_1, get_remaining(this.o39_1));
|
|
2594
2488
|
this.i9_1 = 2;
|
|
2595
|
-
suspendResult = flushIfNeeded(this.
|
|
2489
|
+
suspendResult = flushIfNeeded(this.n39_1, this);
|
|
2596
2490
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2597
2491
|
return suspendResult;
|
|
2598
2492
|
}
|
|
@@ -2637,27 +2531,27 @@
|
|
|
2637
2531
|
return l;
|
|
2638
2532
|
}
|
|
2639
2533
|
function CloseToken(origin) {
|
|
2640
|
-
this.
|
|
2534
|
+
this.g31_1 = origin;
|
|
2641
2535
|
}
|
|
2642
|
-
protoOf(CloseToken).
|
|
2643
|
-
var tmp0_subject = this.
|
|
2536
|
+
protoOf(CloseToken).l3a = function (wrap) {
|
|
2537
|
+
var tmp0_subject = this.g31_1;
|
|
2644
2538
|
var tmp;
|
|
2645
2539
|
if (tmp0_subject == null) {
|
|
2646
2540
|
tmp = null;
|
|
2647
2541
|
} else {
|
|
2648
2542
|
if (isInterface(tmp0_subject, CopyableThrowable)) {
|
|
2649
|
-
tmp = this.
|
|
2543
|
+
tmp = this.g31_1.u2e();
|
|
2650
2544
|
} else {
|
|
2651
2545
|
if (tmp0_subject instanceof CancellationException) {
|
|
2652
|
-
tmp = CancellationException_init_$Create$(this.
|
|
2546
|
+
tmp = CancellationException_init_$Create$(this.g31_1.message, this.g31_1);
|
|
2653
2547
|
} else {
|
|
2654
|
-
tmp = wrap(this.
|
|
2548
|
+
tmp = wrap(this.g31_1);
|
|
2655
2549
|
}
|
|
2656
2550
|
}
|
|
2657
2551
|
}
|
|
2658
2552
|
return tmp;
|
|
2659
2553
|
};
|
|
2660
|
-
protoOf(CloseToken).
|
|
2554
|
+
protoOf(CloseToken).l31 = function (wrap, $super) {
|
|
2661
2555
|
var tmp;
|
|
2662
2556
|
if (wrap === VOID) {
|
|
2663
2557
|
tmp = ClosedByteChannelException$_init_$ref_yjp351();
|
|
@@ -2665,10 +2559,10 @@
|
|
|
2665
2559
|
tmp = wrap;
|
|
2666
2560
|
}
|
|
2667
2561
|
wrap = tmp;
|
|
2668
|
-
return $super === VOID ? this.
|
|
2562
|
+
return $super === VOID ? this.l3a(wrap) : $super.l3a.call(this, wrap);
|
|
2669
2563
|
};
|
|
2670
|
-
protoOf(CloseToken).
|
|
2671
|
-
var tmp0_safe_receiver = this.
|
|
2564
|
+
protoOf(CloseToken).h31 = function (wrap) {
|
|
2565
|
+
var tmp0_safe_receiver = this.l3a(wrap);
|
|
2672
2566
|
var tmp;
|
|
2673
2567
|
if (tmp0_safe_receiver == null) {
|
|
2674
2568
|
tmp = null;
|
|
@@ -2687,17 +2581,17 @@
|
|
|
2687
2581
|
}
|
|
2688
2582
|
function transferFromDelegate($this) {
|
|
2689
2583
|
updateConsumed($this);
|
|
2690
|
-
var appended = $this.
|
|
2691
|
-
$this.
|
|
2584
|
+
var appended = $this.n3a_1.w2x($this.m3a_1.f31());
|
|
2585
|
+
$this.o3a_1 = add($this.o3a_1, appended);
|
|
2692
2586
|
}
|
|
2693
2587
|
function updateConsumed($this) {
|
|
2694
|
-
$this.
|
|
2695
|
-
$this.
|
|
2588
|
+
$this.p3a_1 = add($this.p3a_1, subtract($this.o3a_1, $this.n3a_1.g1()));
|
|
2589
|
+
$this.o3a_1 = $this.n3a_1.g1();
|
|
2696
2590
|
}
|
|
2697
2591
|
function $awaitContentCOROUTINE$_0(_this__u8e3s4, min, resultContinuation) {
|
|
2698
2592
|
CoroutineImpl.call(this, resultContinuation);
|
|
2699
|
-
this.
|
|
2700
|
-
this.
|
|
2593
|
+
this.y3a_1 = _this__u8e3s4;
|
|
2594
|
+
this.z3a_1 = min;
|
|
2701
2595
|
}
|
|
2702
2596
|
protoOf($awaitContentCOROUTINE$_0).q9 = function () {
|
|
2703
2597
|
var suspendResult = this.k9_1;
|
|
@@ -2707,12 +2601,12 @@
|
|
|
2707
2601
|
switch (tmp) {
|
|
2708
2602
|
case 0:
|
|
2709
2603
|
this.j9_1 = 3;
|
|
2710
|
-
if (this.
|
|
2604
|
+
if (this.y3a_1.f31().g1() >= fromInt(this.z3a_1)) {
|
|
2711
2605
|
return true;
|
|
2712
2606
|
}
|
|
2713
2607
|
|
|
2714
2608
|
this.i9_1 = 1;
|
|
2715
|
-
suspendResult = this.
|
|
2609
|
+
suspendResult = this.y3a_1.m3a_1.n31(this.z3a_1, this);
|
|
2716
2610
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2717
2611
|
return suspendResult;
|
|
2718
2612
|
}
|
|
@@ -2720,7 +2614,7 @@
|
|
|
2720
2614
|
continue $sm;
|
|
2721
2615
|
case 1:
|
|
2722
2616
|
if (suspendResult) {
|
|
2723
|
-
transferFromDelegate(this.
|
|
2617
|
+
transferFromDelegate(this.y3a_1);
|
|
2724
2618
|
return true;
|
|
2725
2619
|
} else {
|
|
2726
2620
|
this.i9_1 = 2;
|
|
@@ -2744,34 +2638,34 @@
|
|
|
2744
2638
|
while (true);
|
|
2745
2639
|
};
|
|
2746
2640
|
function CountedByteReadChannel(delegate) {
|
|
2747
|
-
this.
|
|
2748
|
-
this.
|
|
2749
|
-
this.
|
|
2750
|
-
this.
|
|
2641
|
+
this.m3a_1 = delegate;
|
|
2642
|
+
this.n3a_1 = new Buffer();
|
|
2643
|
+
this.o3a_1 = 0n;
|
|
2644
|
+
this.p3a_1 = 0n;
|
|
2751
2645
|
}
|
|
2752
|
-
protoOf(CountedByteReadChannel).
|
|
2646
|
+
protoOf(CountedByteReadChannel).a3b = function () {
|
|
2753
2647
|
updateConsumed(this);
|
|
2754
|
-
return this.
|
|
2648
|
+
return this.p3a_1;
|
|
2755
2649
|
};
|
|
2756
|
-
protoOf(CountedByteReadChannel).
|
|
2757
|
-
return this.
|
|
2650
|
+
protoOf(CountedByteReadChannel).k31 = function () {
|
|
2651
|
+
return this.m3a_1.k31();
|
|
2758
2652
|
};
|
|
2759
|
-
protoOf(CountedByteReadChannel).
|
|
2760
|
-
return this.
|
|
2653
|
+
protoOf(CountedByteReadChannel).m31 = function () {
|
|
2654
|
+
return this.n3a_1.e2w() && this.m3a_1.m31();
|
|
2761
2655
|
};
|
|
2762
|
-
protoOf(CountedByteReadChannel).
|
|
2656
|
+
protoOf(CountedByteReadChannel).f31 = function () {
|
|
2763
2657
|
transferFromDelegate(this);
|
|
2764
|
-
return this.
|
|
2658
|
+
return this.n3a_1;
|
|
2765
2659
|
};
|
|
2766
|
-
protoOf(CountedByteReadChannel).
|
|
2660
|
+
protoOf(CountedByteReadChannel).n31 = function (min, $completion) {
|
|
2767
2661
|
var tmp = new $awaitContentCOROUTINE$_0(this, min, $completion);
|
|
2768
2662
|
tmp.k9_1 = Unit_instance;
|
|
2769
2663
|
tmp.l9_1 = null;
|
|
2770
2664
|
return tmp.q9();
|
|
2771
2665
|
};
|
|
2772
|
-
protoOf(CountedByteReadChannel).
|
|
2773
|
-
this.
|
|
2774
|
-
this.
|
|
2666
|
+
protoOf(CountedByteReadChannel).q31 = function (cause) {
|
|
2667
|
+
this.m3a_1.q31(cause);
|
|
2668
|
+
this.n3a_1.t4();
|
|
2775
2669
|
};
|
|
2776
2670
|
function counted(_this__u8e3s4) {
|
|
2777
2671
|
return new CountedByteReadChannel(_this__u8e3s4);
|
|
@@ -2829,21 +2723,21 @@
|
|
|
2829
2723
|
}
|
|
2830
2724
|
function LineEndingMode__toString_impl_j4h76r($this) {
|
|
2831
2725
|
var tmp;
|
|
2832
|
-
if ($this === Companion_getInstance_1().
|
|
2726
|
+
if ($this === Companion_getInstance_1().b3b_1) {
|
|
2833
2727
|
tmp = 'CR';
|
|
2834
|
-
} else if ($this === Companion_getInstance_1().
|
|
2728
|
+
} else if ($this === Companion_getInstance_1().c3b_1) {
|
|
2835
2729
|
tmp = 'LF';
|
|
2836
|
-
} else if ($this === Companion_getInstance_1().
|
|
2730
|
+
} else if ($this === Companion_getInstance_1().d3b_1) {
|
|
2837
2731
|
tmp = 'CRLF';
|
|
2838
2732
|
} else {
|
|
2839
2733
|
// Inline function 'kotlin.collections.filter' call
|
|
2840
|
-
var tmp0 = Companion_getInstance_1().
|
|
2734
|
+
var tmp0 = Companion_getInstance_1().f3b_1;
|
|
2841
2735
|
// Inline function 'kotlin.collections.filterTo' call
|
|
2842
2736
|
var destination = ArrayList_init_$Create$();
|
|
2843
2737
|
var _iterator__ex2g4s = tmp0.t();
|
|
2844
2738
|
while (_iterator__ex2g4s.u()) {
|
|
2845
2739
|
var element = _iterator__ex2g4s.v();
|
|
2846
|
-
var it = element.
|
|
2740
|
+
var it = element.g3b_1;
|
|
2847
2741
|
if (LineEndingMode__contains_impl_q5pr68($this, it)) {
|
|
2848
2742
|
destination.e1(element);
|
|
2849
2743
|
}
|
|
@@ -2854,11 +2748,11 @@
|
|
|
2854
2748
|
}
|
|
2855
2749
|
function Companion_1() {
|
|
2856
2750
|
Companion_instance_2 = this;
|
|
2857
|
-
this.
|
|
2858
|
-
this.
|
|
2859
|
-
this.
|
|
2860
|
-
this.
|
|
2861
|
-
this.
|
|
2751
|
+
this.b3b_1 = _LineEndingMode___init__impl__jo5bul(1);
|
|
2752
|
+
this.c3b_1 = _LineEndingMode___init__impl__jo5bul(2);
|
|
2753
|
+
this.d3b_1 = _LineEndingMode___init__impl__jo5bul(4);
|
|
2754
|
+
this.e3b_1 = _LineEndingMode___init__impl__jo5bul(7);
|
|
2755
|
+
this.f3b_1 = listOf([new LineEndingMode(this.b3b_1), new LineEndingMode(this.c3b_1), new LineEndingMode(this.d3b_1)]);
|
|
2862
2756
|
}
|
|
2863
2757
|
var Companion_instance_2;
|
|
2864
2758
|
function Companion_getInstance_1() {
|
|
@@ -2872,67 +2766,67 @@
|
|
|
2872
2766
|
function LineEndingMode__equals_impl_qyr4nk($this, other) {
|
|
2873
2767
|
if (!(other instanceof LineEndingMode))
|
|
2874
2768
|
return false;
|
|
2875
|
-
if (!($this === other.
|
|
2769
|
+
if (!($this === other.g3b_1))
|
|
2876
2770
|
return false;
|
|
2877
2771
|
return true;
|
|
2878
2772
|
}
|
|
2879
2773
|
function LineEndingMode(mode) {
|
|
2880
2774
|
Companion_getInstance_1();
|
|
2881
|
-
this.
|
|
2775
|
+
this.g3b_1 = mode;
|
|
2882
2776
|
}
|
|
2883
2777
|
protoOf(LineEndingMode).toString = function () {
|
|
2884
|
-
return LineEndingMode__toString_impl_j4h76r(this.
|
|
2778
|
+
return LineEndingMode__toString_impl_j4h76r(this.g3b_1);
|
|
2885
2779
|
};
|
|
2886
2780
|
protoOf(LineEndingMode).hashCode = function () {
|
|
2887
|
-
return LineEndingMode__hashCode_impl_2mopm4(this.
|
|
2781
|
+
return LineEndingMode__hashCode_impl_2mopm4(this.g3b_1);
|
|
2888
2782
|
};
|
|
2889
2783
|
protoOf(LineEndingMode).equals = function (other) {
|
|
2890
|
-
return LineEndingMode__equals_impl_qyr4nk(this.
|
|
2784
|
+
return LineEndingMode__equals_impl_qyr4nk(this.g3b_1, other);
|
|
2891
2785
|
};
|
|
2892
2786
|
function SourceByteReadChannel(source) {
|
|
2893
|
-
this.
|
|
2894
|
-
this.
|
|
2787
|
+
this.h3b_1 = source;
|
|
2788
|
+
this.i3b_1 = null;
|
|
2895
2789
|
}
|
|
2896
|
-
protoOf(SourceByteReadChannel).
|
|
2897
|
-
var tmp0_safe_receiver = this.
|
|
2898
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
2790
|
+
protoOf(SourceByteReadChannel).k31 = function () {
|
|
2791
|
+
var tmp0_safe_receiver = this.i3b_1;
|
|
2792
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.l31();
|
|
2899
2793
|
};
|
|
2900
|
-
protoOf(SourceByteReadChannel).
|
|
2901
|
-
return this.
|
|
2794
|
+
protoOf(SourceByteReadChannel).m31 = function () {
|
|
2795
|
+
return this.h3b_1.e2w();
|
|
2902
2796
|
};
|
|
2903
|
-
protoOf(SourceByteReadChannel).
|
|
2904
|
-
var tmp0_safe_receiver = this.
|
|
2797
|
+
protoOf(SourceByteReadChannel).f31 = function () {
|
|
2798
|
+
var tmp0_safe_receiver = this.k31();
|
|
2905
2799
|
if (tmp0_safe_receiver == null)
|
|
2906
2800
|
null;
|
|
2907
2801
|
else {
|
|
2908
2802
|
// Inline function 'kotlin.let' call
|
|
2909
2803
|
throw tmp0_safe_receiver;
|
|
2910
2804
|
}
|
|
2911
|
-
return this.
|
|
2805
|
+
return this.h3b_1.d2w();
|
|
2912
2806
|
};
|
|
2913
|
-
protoOf(SourceByteReadChannel).
|
|
2914
|
-
var tmp0_safe_receiver = this.
|
|
2807
|
+
protoOf(SourceByteReadChannel).n31 = function (min, $completion) {
|
|
2808
|
+
var tmp0_safe_receiver = this.k31();
|
|
2915
2809
|
if (tmp0_safe_receiver == null)
|
|
2916
2810
|
null;
|
|
2917
2811
|
else {
|
|
2918
2812
|
// Inline function 'kotlin.let' call
|
|
2919
2813
|
throw tmp0_safe_receiver;
|
|
2920
2814
|
}
|
|
2921
|
-
return this.
|
|
2815
|
+
return this.h3b_1.g2w(fromInt(min));
|
|
2922
2816
|
};
|
|
2923
|
-
protoOf(SourceByteReadChannel).
|
|
2924
|
-
if (!(this.
|
|
2817
|
+
protoOf(SourceByteReadChannel).q31 = function (cause) {
|
|
2818
|
+
if (!(this.i3b_1 == null))
|
|
2925
2819
|
return Unit_instance;
|
|
2926
|
-
this.
|
|
2820
|
+
this.h3b_1.t4();
|
|
2927
2821
|
var tmp = this;
|
|
2928
2822
|
var tmp1_elvis_lhs = cause == null ? null : cause.message;
|
|
2929
|
-
tmp.
|
|
2823
|
+
tmp.i3b_1 = new CloseToken(IOException_init_$Create$_0(tmp1_elvis_lhs == null ? 'Channel was cancelled' : tmp1_elvis_lhs, cause));
|
|
2930
2824
|
};
|
|
2931
2825
|
function decode(_this__u8e3s4, input, max) {
|
|
2932
2826
|
max = max === VOID ? 2147483647 : max;
|
|
2933
2827
|
var tmp0 = fromInt(max);
|
|
2934
2828
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2935
|
-
var b = input.
|
|
2829
|
+
var b = input.d2w().g1();
|
|
2936
2830
|
var tmp$ret$0 = tmp0 <= b ? tmp0 : b;
|
|
2937
2831
|
// Inline function 'kotlin.text.buildString' call
|
|
2938
2832
|
var capacity = convertToInt(tmp$ret$0);
|
|
@@ -2969,7 +2863,7 @@
|
|
|
2969
2863
|
}
|
|
2970
2864
|
}
|
|
2971
2865
|
function canRead(_this__u8e3s4) {
|
|
2972
|
-
return !_this__u8e3s4.
|
|
2866
|
+
return !_this__u8e3s4.e2w();
|
|
2973
2867
|
}
|
|
2974
2868
|
function readBytes(_this__u8e3s4, count) {
|
|
2975
2869
|
count = count === VOID ? convertToInt(_this__u8e3s4.g1()) : count;
|
|
@@ -2978,35 +2872,35 @@
|
|
|
2978
2872
|
function writeFully_0(_this__u8e3s4, buffer, offset, length) {
|
|
2979
2873
|
offset = offset === VOID ? 0 : offset;
|
|
2980
2874
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
2981
|
-
_this__u8e3s4.
|
|
2875
|
+
_this__u8e3s4.n2x(buffer, offset, offset + length | 0);
|
|
2982
2876
|
}
|
|
2983
2877
|
function BytePacketBuilder() {
|
|
2984
2878
|
return new Buffer();
|
|
2985
2879
|
}
|
|
2986
2880
|
function build(_this__u8e3s4) {
|
|
2987
|
-
return _this__u8e3s4.
|
|
2881
|
+
return _this__u8e3s4.d2w();
|
|
2988
2882
|
}
|
|
2989
2883
|
function get_size(_this__u8e3s4) {
|
|
2990
|
-
return convertToInt(_this__u8e3s4.
|
|
2884
|
+
return convertToInt(_this__u8e3s4.d2w().g1());
|
|
2991
2885
|
}
|
|
2992
2886
|
var ByteReadPacketEmpty;
|
|
2993
2887
|
function get_remaining(_this__u8e3s4) {
|
|
2994
2888
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2995
|
-
return _this__u8e3s4.
|
|
2889
|
+
return _this__u8e3s4.d2w().g1();
|
|
2996
2890
|
}
|
|
2997
2891
|
function takeWhile(_this__u8e3s4, block) {
|
|
2998
2892
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
2999
|
-
while (!_this__u8e3s4.
|
|
2893
|
+
while (!_this__u8e3s4.e2w() && block(_this__u8e3s4.d2w())) {
|
|
3000
2894
|
}
|
|
3001
2895
|
}
|
|
3002
2896
|
function discard_0(_this__u8e3s4, count) {
|
|
3003
2897
|
count = count === VOID ? 9223372036854775807n : count;
|
|
3004
2898
|
_init_properties_ByteReadPacket_kt__28475y();
|
|
3005
|
-
_this__u8e3s4.
|
|
2899
|
+
_this__u8e3s4.g2w(count);
|
|
3006
2900
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
3007
2901
|
var b = get_remaining(_this__u8e3s4);
|
|
3008
2902
|
var countToDiscard = count <= b ? count : b;
|
|
3009
|
-
_this__u8e3s4.
|
|
2903
|
+
_this__u8e3s4.d2w().b2x(countToDiscard);
|
|
3010
2904
|
return countToDiscard;
|
|
3011
2905
|
}
|
|
3012
2906
|
var properties_initialized_ByteReadPacket_kt_hw4st4;
|
|
@@ -3019,37 +2913,37 @@
|
|
|
3019
2913
|
function readAvailable_0(_this__u8e3s4, buffer, offset, length) {
|
|
3020
2914
|
offset = offset === VOID ? 0 : offset;
|
|
3021
2915
|
length = length === VOID ? buffer.length - offset | 0 : length;
|
|
3022
|
-
var result = _this__u8e3s4.
|
|
2916
|
+
var result = _this__u8e3s4.c2x(buffer, offset, offset + length | 0);
|
|
3023
2917
|
return result === -1 ? 0 : result;
|
|
3024
2918
|
}
|
|
3025
2919
|
function readText_0(_this__u8e3s4, charset, max) {
|
|
3026
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
2920
|
+
charset = charset === VOID ? Charsets_getInstance().j3b_1 : charset;
|
|
3027
2921
|
max = max === VOID ? 2147483647 : max;
|
|
3028
|
-
if (charset.equals(Charsets_getInstance().
|
|
2922
|
+
if (charset.equals(Charsets_getInstance().j3b_1)) {
|
|
3029
2923
|
if (max === 2147483647)
|
|
3030
2924
|
return readString_0(_this__u8e3s4);
|
|
3031
|
-
var tmp0 = _this__u8e3s4.
|
|
2925
|
+
var tmp0 = _this__u8e3s4.d2w().g1();
|
|
3032
2926
|
// Inline function 'kotlin.math.min' call
|
|
3033
2927
|
var b = fromInt(max);
|
|
3034
2928
|
var count = tmp0 <= b ? tmp0 : b;
|
|
3035
2929
|
return readString(_this__u8e3s4, count);
|
|
3036
2930
|
}
|
|
3037
|
-
return decode(charset.
|
|
2931
|
+
return decode(charset.m3b(), _this__u8e3s4, max);
|
|
3038
2932
|
}
|
|
3039
2933
|
function toByteArray_0(_this__u8e3s4, charset) {
|
|
3040
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
3041
|
-
if (charset.equals(Charsets_getInstance().
|
|
2934
|
+
charset = charset === VOID ? Charsets_getInstance().j3b_1 : charset;
|
|
2935
|
+
if (charset.equals(Charsets_getInstance().j3b_1))
|
|
3042
2936
|
return encodeToByteArray(_this__u8e3s4, VOID, VOID, true);
|
|
3043
|
-
return encodeToByteArray_0(charset.
|
|
2937
|
+
return encodeToByteArray_0(charset.n3b(), _this__u8e3s4, 0, _this__u8e3s4.length);
|
|
3044
2938
|
}
|
|
3045
2939
|
function writeText(_this__u8e3s4, text, fromIndex, toIndex, charset) {
|
|
3046
2940
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
3047
2941
|
toIndex = toIndex === VOID ? charSequenceLength(text) : toIndex;
|
|
3048
|
-
charset = charset === VOID ? Charsets_getInstance().
|
|
3049
|
-
if (charset === Charsets_getInstance().
|
|
2942
|
+
charset = charset === VOID ? Charsets_getInstance().j3b_1 : charset;
|
|
2943
|
+
if (charset === Charsets_getInstance().j3b_1) {
|
|
3050
2944
|
return writeString(_this__u8e3s4, toString_1(text), fromIndex, toIndex);
|
|
3051
2945
|
}
|
|
3052
|
-
encodeToImpl(charset.
|
|
2946
|
+
encodeToImpl(charset.n3b(), _this__u8e3s4, text, fromIndex, toIndex);
|
|
3053
2947
|
}
|
|
3054
2948
|
function readBytes_0(_this__u8e3s4) {
|
|
3055
2949
|
return readByteArray_0(_this__u8e3s4);
|
|
@@ -3062,7 +2956,7 @@
|
|
|
3062
2956
|
function ByteArrayPool$1() {
|
|
3063
2957
|
DefaultPool.call(this, 128);
|
|
3064
2958
|
}
|
|
3065
|
-
protoOf(ByteArrayPool$1).
|
|
2959
|
+
protoOf(ByteArrayPool$1).r3b = function () {
|
|
3066
2960
|
return new Int8Array(4096);
|
|
3067
2961
|
};
|
|
3068
2962
|
var properties_initialized_ByteArrayPool_kt_td6pfh;
|
|
@@ -3076,21 +2970,21 @@
|
|
|
3076
2970
|
}
|
|
3077
2971
|
function NoPoolImpl() {
|
|
3078
2972
|
}
|
|
3079
|
-
protoOf(NoPoolImpl).
|
|
2973
|
+
protoOf(NoPoolImpl).z3b = function (instance) {
|
|
3080
2974
|
return Unit_instance;
|
|
3081
2975
|
};
|
|
3082
|
-
protoOf(NoPoolImpl).
|
|
2976
|
+
protoOf(NoPoolImpl).a29 = function () {
|
|
3083
2977
|
return Unit_instance;
|
|
3084
2978
|
};
|
|
3085
2979
|
function Companion_2() {
|
|
3086
2980
|
}
|
|
3087
|
-
protoOf(Companion_2).
|
|
2981
|
+
protoOf(Companion_2).a3c = function (name) {
|
|
3088
2982
|
switch (name) {
|
|
3089
2983
|
case 'UTF-8':
|
|
3090
2984
|
case 'utf-8':
|
|
3091
2985
|
case 'UTF8':
|
|
3092
2986
|
case 'utf8':
|
|
3093
|
-
return Charsets_getInstance().
|
|
2987
|
+
return Charsets_getInstance().j3b_1;
|
|
3094
2988
|
}
|
|
3095
2989
|
var tmp;
|
|
3096
2990
|
var tmp_0;
|
|
@@ -3121,11 +3015,11 @@
|
|
|
3121
3015
|
tmp = name === 'latin1' || name === 'Latin1';
|
|
3122
3016
|
}
|
|
3123
3017
|
if (tmp) {
|
|
3124
|
-
return Charsets_getInstance().
|
|
3018
|
+
return Charsets_getInstance().k3b_1;
|
|
3125
3019
|
}
|
|
3126
3020
|
throw IllegalArgumentException_init_$Create$('Charset ' + name + ' is not supported');
|
|
3127
3021
|
};
|
|
3128
|
-
protoOf(Companion_2).
|
|
3022
|
+
protoOf(Companion_2).b3c = function (charset) {
|
|
3129
3023
|
var tmp;
|
|
3130
3024
|
switch (charset) {
|
|
3131
3025
|
case 'UTF-8':
|
|
@@ -3180,7 +3074,7 @@
|
|
|
3180
3074
|
return Companion_instance_3;
|
|
3181
3075
|
}
|
|
3182
3076
|
function Charset(_name) {
|
|
3183
|
-
this.
|
|
3077
|
+
this.l3b_1 = _name;
|
|
3184
3078
|
}
|
|
3185
3079
|
protoOf(Charset).equals = function (other) {
|
|
3186
3080
|
if (this === other)
|
|
@@ -3189,18 +3083,18 @@
|
|
|
3189
3083
|
return false;
|
|
3190
3084
|
if (!(other instanceof Charset))
|
|
3191
3085
|
THROW_CCE();
|
|
3192
|
-
return this.
|
|
3086
|
+
return this.l3b_1 === other.l3b_1;
|
|
3193
3087
|
};
|
|
3194
3088
|
protoOf(Charset).hashCode = function () {
|
|
3195
|
-
return getStringHashCode(this.
|
|
3089
|
+
return getStringHashCode(this.l3b_1);
|
|
3196
3090
|
};
|
|
3197
3091
|
protoOf(Charset).toString = function () {
|
|
3198
|
-
return this.
|
|
3092
|
+
return this.l3b_1;
|
|
3199
3093
|
};
|
|
3200
3094
|
function Charsets() {
|
|
3201
3095
|
Charsets_instance = this;
|
|
3202
|
-
this.
|
|
3203
|
-
this.
|
|
3096
|
+
this.j3b_1 = new CharsetImpl('UTF-8');
|
|
3097
|
+
this.k3b_1 = new CharsetImpl('ISO-8859-1');
|
|
3204
3098
|
}
|
|
3205
3099
|
var Charsets_instance;
|
|
3206
3100
|
function Charsets_getInstance() {
|
|
@@ -3209,27 +3103,27 @@
|
|
|
3209
3103
|
return Charsets_instance;
|
|
3210
3104
|
}
|
|
3211
3105
|
function CharsetDecoder(_charset) {
|
|
3212
|
-
this.
|
|
3106
|
+
this.c3c_1 = _charset;
|
|
3213
3107
|
}
|
|
3214
3108
|
function MalformedInputException(message) {
|
|
3215
3109
|
IOException_init_$Init$_0(message, this);
|
|
3216
3110
|
captureStack(this, MalformedInputException);
|
|
3217
3111
|
}
|
|
3218
3112
|
function get_name(_this__u8e3s4) {
|
|
3219
|
-
return _this__u8e3s4.
|
|
3113
|
+
return _this__u8e3s4.l3b_1;
|
|
3220
3114
|
}
|
|
3221
3115
|
function isSupported(_this__u8e3s4, name) {
|
|
3222
|
-
return Companion_instance_3.
|
|
3116
|
+
return Companion_instance_3.b3c(name);
|
|
3223
3117
|
}
|
|
3224
3118
|
function forName(_this__u8e3s4, name) {
|
|
3225
|
-
return Companion_instance_3.
|
|
3119
|
+
return Companion_instance_3.a3c(name);
|
|
3226
3120
|
}
|
|
3227
3121
|
function CharsetEncoder(_charset) {
|
|
3228
|
-
this.
|
|
3122
|
+
this.d3c_1 = _charset;
|
|
3229
3123
|
}
|
|
3230
3124
|
function decode_0(_this__u8e3s4, input, dst, max) {
|
|
3231
3125
|
var decoder = Decoder(get_name(get_charset(_this__u8e3s4)), true);
|
|
3232
|
-
var tmp0 = input.
|
|
3126
|
+
var tmp0 = input.d2w().g1();
|
|
3233
3127
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
3234
3128
|
var b = fromInt(max);
|
|
3235
3129
|
var count = tmp0 <= b ? tmp0 : b;
|
|
@@ -3239,7 +3133,7 @@
|
|
|
3239
3133
|
// Inline function 'org.khronos.webgl.toInt8Array' call
|
|
3240
3134
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3241
3135
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3242
|
-
tmp = decoder.
|
|
3136
|
+
tmp = decoder.e3c(array);
|
|
3243
3137
|
} catch ($p) {
|
|
3244
3138
|
var tmp_0;
|
|
3245
3139
|
if ($p instanceof Error) {
|
|
@@ -3261,11 +3155,11 @@
|
|
|
3261
3155
|
var message = 'Failed requirement.';
|
|
3262
3156
|
throw IllegalArgumentException_init_$Create$(toString_1(message));
|
|
3263
3157
|
}
|
|
3264
|
-
if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().
|
|
3158
|
+
if (get_charset_0(_this__u8e3s4).equals(Charsets_getInstance().k3b_1)) {
|
|
3265
3159
|
return encodeISO88591(input, fromIndex, toIndex, dst);
|
|
3266
3160
|
}
|
|
3267
3161
|
// Inline function 'kotlin.require' call
|
|
3268
|
-
if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().
|
|
3162
|
+
if (!(get_charset_0(_this__u8e3s4) === Charsets_getInstance().j3b_1)) {
|
|
3269
3163
|
var message_0 = 'Only UTF-8 encoding is supported in JS';
|
|
3270
3164
|
throw IllegalArgumentException_init_$Create$(toString_1(message_0));
|
|
3271
3165
|
}
|
|
@@ -3275,7 +3169,7 @@
|
|
|
3275
3169
|
var result = encoder.encode(tmp$ret$5);
|
|
3276
3170
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3277
3171
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3278
|
-
dst.
|
|
3172
|
+
dst.q2x(result);
|
|
3279
3173
|
return result.length;
|
|
3280
3174
|
}
|
|
3281
3175
|
function encodeToByteArray_0(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
@@ -3286,17 +3180,17 @@
|
|
|
3286
3180
|
function CharsetImpl(name) {
|
|
3287
3181
|
Charset.call(this, name);
|
|
3288
3182
|
}
|
|
3289
|
-
protoOf(CharsetImpl).
|
|
3183
|
+
protoOf(CharsetImpl).n3b = function () {
|
|
3290
3184
|
return new CharsetEncoderImpl(this);
|
|
3291
3185
|
};
|
|
3292
|
-
protoOf(CharsetImpl).
|
|
3186
|
+
protoOf(CharsetImpl).m3b = function () {
|
|
3293
3187
|
return new CharsetDecoderImpl(this);
|
|
3294
3188
|
};
|
|
3295
3189
|
function get_charset(_this__u8e3s4) {
|
|
3296
|
-
return _this__u8e3s4.
|
|
3190
|
+
return _this__u8e3s4.c3c_1;
|
|
3297
3191
|
}
|
|
3298
3192
|
function get_charset_0(_this__u8e3s4) {
|
|
3299
|
-
return _this__u8e3s4.
|
|
3193
|
+
return _this__u8e3s4.d3c_1;
|
|
3300
3194
|
}
|
|
3301
3195
|
function encodeToByteArrayImpl(_this__u8e3s4, input, fromIndex, toIndex) {
|
|
3302
3196
|
fromIndex = fromIndex === VOID ? 0 : fromIndex;
|
|
@@ -3315,39 +3209,39 @@
|
|
|
3315
3209
|
}
|
|
3316
3210
|
function CharsetEncoderImpl(charset) {
|
|
3317
3211
|
CharsetEncoder.call(this, charset);
|
|
3318
|
-
this.
|
|
3212
|
+
this.h3c_1 = charset;
|
|
3319
3213
|
}
|
|
3320
3214
|
protoOf(CharsetEncoderImpl).toString = function () {
|
|
3321
|
-
return 'CharsetEncoderImpl(charset=' + this.
|
|
3215
|
+
return 'CharsetEncoderImpl(charset=' + this.h3c_1.toString() + ')';
|
|
3322
3216
|
};
|
|
3323
3217
|
protoOf(CharsetEncoderImpl).hashCode = function () {
|
|
3324
|
-
return this.
|
|
3218
|
+
return this.h3c_1.hashCode();
|
|
3325
3219
|
};
|
|
3326
3220
|
protoOf(CharsetEncoderImpl).equals = function (other) {
|
|
3327
3221
|
if (this === other)
|
|
3328
3222
|
return true;
|
|
3329
3223
|
if (!(other instanceof CharsetEncoderImpl))
|
|
3330
3224
|
return false;
|
|
3331
|
-
if (!this.
|
|
3225
|
+
if (!this.h3c_1.equals(other.h3c_1))
|
|
3332
3226
|
return false;
|
|
3333
3227
|
return true;
|
|
3334
3228
|
};
|
|
3335
3229
|
function CharsetDecoderImpl(charset) {
|
|
3336
3230
|
CharsetDecoder.call(this, charset);
|
|
3337
|
-
this.
|
|
3231
|
+
this.j3c_1 = charset;
|
|
3338
3232
|
}
|
|
3339
3233
|
protoOf(CharsetDecoderImpl).toString = function () {
|
|
3340
|
-
return 'CharsetDecoderImpl(charset=' + this.
|
|
3234
|
+
return 'CharsetDecoderImpl(charset=' + this.j3c_1.toString() + ')';
|
|
3341
3235
|
};
|
|
3342
3236
|
protoOf(CharsetDecoderImpl).hashCode = function () {
|
|
3343
|
-
return this.
|
|
3237
|
+
return this.j3c_1.hashCode();
|
|
3344
3238
|
};
|
|
3345
3239
|
protoOf(CharsetDecoderImpl).equals = function (other) {
|
|
3346
3240
|
if (this === other)
|
|
3347
3241
|
return true;
|
|
3348
3242
|
if (!(other instanceof CharsetDecoderImpl))
|
|
3349
3243
|
return false;
|
|
3350
|
-
if (!this.
|
|
3244
|
+
if (!this.j3c_1.equals(other.j3c_1))
|
|
3351
3245
|
return false;
|
|
3352
3246
|
return true;
|
|
3353
3247
|
};
|
|
@@ -3381,10 +3275,10 @@
|
|
|
3381
3275
|
return this_0;
|
|
3382
3276
|
}
|
|
3383
3277
|
function toKtor$1($this_toKtor) {
|
|
3384
|
-
this.
|
|
3278
|
+
this.k3c_1 = $this_toKtor;
|
|
3385
3279
|
}
|
|
3386
|
-
protoOf(toKtor$1).
|
|
3387
|
-
return this.
|
|
3280
|
+
protoOf(toKtor$1).e3c = function (buffer) {
|
|
3281
|
+
return this.k3c_1.decode(buffer);
|
|
3388
3282
|
};
|
|
3389
3283
|
function get_ENCODING_ALIASES() {
|
|
3390
3284
|
_init_properties_TextDecoderFallback_js_kt__an7r6m();
|
|
@@ -3397,7 +3291,7 @@
|
|
|
3397
3291
|
}
|
|
3398
3292
|
var REPLACEMENT;
|
|
3399
3293
|
function TextDecoderFallback(encoding, fatal) {
|
|
3400
|
-
this.
|
|
3294
|
+
this.l3c_1 = fatal;
|
|
3401
3295
|
// Inline function 'kotlin.text.trim' call
|
|
3402
3296
|
// Inline function 'kotlin.text.lowercase' call
|
|
3403
3297
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3408,7 +3302,7 @@
|
|
|
3408
3302
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3409
3303
|
}
|
|
3410
3304
|
}
|
|
3411
|
-
protoOf(TextDecoderFallback).
|
|
3305
|
+
protoOf(TextDecoderFallback).e3c = function (buffer) {
|
|
3412
3306
|
// Inline function 'io.ktor.utils.io.core.buildPacket' call
|
|
3413
3307
|
var builder = new Buffer();
|
|
3414
3308
|
var bytes = buffer instanceof Int8Array ? buffer : THROW_CCE();
|
|
@@ -3424,7 +3318,7 @@
|
|
|
3424
3318
|
var point = toCodePoint(byte);
|
|
3425
3319
|
if (point < 0) {
|
|
3426
3320
|
// Inline function 'kotlin.check' call
|
|
3427
|
-
if (!!this.
|
|
3321
|
+
if (!!this.l3c_1) {
|
|
3428
3322
|
var message = 'Invalid character: ' + point;
|
|
3429
3323
|
throw IllegalStateException_init_$Create$(toString_1(message));
|
|
3430
3324
|
}
|
|
@@ -3432,9 +3326,9 @@
|
|
|
3432
3326
|
continue $l$loop;
|
|
3433
3327
|
}
|
|
3434
3328
|
if (point > 255) {
|
|
3435
|
-
builder.
|
|
3329
|
+
builder.x2x(toByte(point >> 8));
|
|
3436
3330
|
}
|
|
3437
|
-
builder.
|
|
3331
|
+
builder.x2x(toByte(point & 255));
|
|
3438
3332
|
}
|
|
3439
3333
|
while (inductionVariable < last);
|
|
3440
3334
|
return decodeToString_0(readByteArray_0(builder));
|
|
@@ -3464,7 +3358,7 @@
|
|
|
3464
3358
|
return false;
|
|
3465
3359
|
}
|
|
3466
3360
|
function ioDispatcher() {
|
|
3467
|
-
return Dispatchers_getInstance().
|
|
3361
|
+
return Dispatchers_getInstance().i2i_1;
|
|
3468
3362
|
}
|
|
3469
3363
|
function encodeISO88591(input, fromIndex, toIndex, dst) {
|
|
3470
3364
|
if (fromIndex >= toIndex)
|
|
@@ -3480,7 +3374,7 @@
|
|
|
3480
3374
|
if (character > 255) {
|
|
3481
3375
|
failedToMapError(character);
|
|
3482
3376
|
}
|
|
3483
|
-
dst.
|
|
3377
|
+
dst.x2x(toByte(character));
|
|
3484
3378
|
}
|
|
3485
3379
|
while (inductionVariable < toIndex);
|
|
3486
3380
|
return toIndex - fromIndex | 0;
|
|
@@ -3502,66 +3396,66 @@
|
|
|
3502
3396
|
}
|
|
3503
3397
|
}
|
|
3504
3398
|
function DefaultPool(capacity) {
|
|
3505
|
-
this.
|
|
3399
|
+
this.s3b_1 = capacity;
|
|
3506
3400
|
var tmp = this;
|
|
3507
3401
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3508
|
-
var size = this.
|
|
3509
|
-
tmp.
|
|
3510
|
-
this.
|
|
3402
|
+
var size = this.s3b_1;
|
|
3403
|
+
tmp.t3b_1 = Array(size);
|
|
3404
|
+
this.u3b_1 = 0;
|
|
3511
3405
|
}
|
|
3512
|
-
protoOf(DefaultPool).
|
|
3406
|
+
protoOf(DefaultPool).v3b = function (instance) {
|
|
3513
3407
|
};
|
|
3514
|
-
protoOf(DefaultPool).
|
|
3408
|
+
protoOf(DefaultPool).w3b = function (instance) {
|
|
3515
3409
|
return instance;
|
|
3516
3410
|
};
|
|
3517
|
-
protoOf(DefaultPool).
|
|
3411
|
+
protoOf(DefaultPool).x3b = function (instance) {
|
|
3518
3412
|
};
|
|
3519
|
-
protoOf(DefaultPool).
|
|
3520
|
-
if (this.
|
|
3521
|
-
return this.
|
|
3522
|
-
this.
|
|
3523
|
-
var idx = this.
|
|
3524
|
-
var tmp = this.
|
|
3413
|
+
protoOf(DefaultPool).y3b = function () {
|
|
3414
|
+
if (this.u3b_1 === 0)
|
|
3415
|
+
return this.r3b();
|
|
3416
|
+
this.u3b_1 = this.u3b_1 - 1 | 0;
|
|
3417
|
+
var idx = this.u3b_1;
|
|
3418
|
+
var tmp = this.t3b_1[idx];
|
|
3525
3419
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3526
|
-
this.
|
|
3527
|
-
return this.
|
|
3420
|
+
this.t3b_1[idx] = null;
|
|
3421
|
+
return this.w3b(instance);
|
|
3528
3422
|
};
|
|
3529
|
-
protoOf(DefaultPool).
|
|
3530
|
-
this.
|
|
3531
|
-
if (this.
|
|
3532
|
-
this.
|
|
3423
|
+
protoOf(DefaultPool).z3b = function (instance) {
|
|
3424
|
+
this.x3b(instance);
|
|
3425
|
+
if (this.u3b_1 === this.s3b_1) {
|
|
3426
|
+
this.v3b(instance);
|
|
3533
3427
|
} else {
|
|
3534
|
-
var _unary__edvuaz = this.
|
|
3535
|
-
this.
|
|
3536
|
-
this.
|
|
3428
|
+
var _unary__edvuaz = this.u3b_1;
|
|
3429
|
+
this.u3b_1 = _unary__edvuaz + 1 | 0;
|
|
3430
|
+
this.t3b_1[_unary__edvuaz] = instance;
|
|
3537
3431
|
}
|
|
3538
3432
|
};
|
|
3539
|
-
protoOf(DefaultPool).
|
|
3433
|
+
protoOf(DefaultPool).a29 = function () {
|
|
3540
3434
|
var inductionVariable = 0;
|
|
3541
|
-
var last = this.
|
|
3435
|
+
var last = this.u3b_1;
|
|
3542
3436
|
if (inductionVariable < last)
|
|
3543
3437
|
do {
|
|
3544
3438
|
var i = inductionVariable;
|
|
3545
3439
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3546
|
-
var tmp = this.
|
|
3440
|
+
var tmp = this.t3b_1[i];
|
|
3547
3441
|
var instance = !(tmp == null) ? tmp : THROW_CCE();
|
|
3548
|
-
this.
|
|
3549
|
-
this.
|
|
3442
|
+
this.t3b_1[i] = null;
|
|
3443
|
+
this.v3b(instance);
|
|
3550
3444
|
}
|
|
3551
3445
|
while (inductionVariable < last);
|
|
3552
|
-
this.
|
|
3446
|
+
this.u3b_1 = 0;
|
|
3553
3447
|
};
|
|
3554
3448
|
//region block: post-declaration
|
|
3555
|
-
protoOf(Read).
|
|
3556
|
-
protoOf(Read).
|
|
3557
|
-
protoOf(Write).
|
|
3558
|
-
protoOf(Write).
|
|
3559
|
-
protoOf(ByteChannel).
|
|
3560
|
-
protoOf(ByteReadChannel$Companion$Empty$1).
|
|
3561
|
-
protoOf(CountedByteReadChannel).
|
|
3562
|
-
protoOf(SourceByteReadChannel).
|
|
3563
|
-
protoOf(DefaultPool).
|
|
3564
|
-
protoOf(NoPoolImpl).
|
|
3449
|
+
protoOf(Read).i2z = resume;
|
|
3450
|
+
protoOf(Read).j2z = resume_0;
|
|
3451
|
+
protoOf(Write).i2z = resume;
|
|
3452
|
+
protoOf(Write).j2z = resume_0;
|
|
3453
|
+
protoOf(ByteChannel).o31 = awaitContent$default;
|
|
3454
|
+
protoOf(ByteReadChannel$Companion$Empty$1).o31 = awaitContent$default;
|
|
3455
|
+
protoOf(CountedByteReadChannel).o31 = awaitContent$default;
|
|
3456
|
+
protoOf(SourceByteReadChannel).o31 = awaitContent$default;
|
|
3457
|
+
protoOf(DefaultPool).t4 = close;
|
|
3458
|
+
protoOf(NoPoolImpl).t4 = close;
|
|
3565
3459
|
//endregion
|
|
3566
3460
|
//region block: init
|
|
3567
3461
|
Empty_instance = new Empty();
|
|
@@ -3570,56 +3464,55 @@
|
|
|
3570
3464
|
//region block: exports
|
|
3571
3465
|
_.$_$ = _.$_$ || {};
|
|
3572
3466
|
_.$_$.a = copyTo;
|
|
3573
|
-
_.$_$.b =
|
|
3574
|
-
_.$_$.c =
|
|
3575
|
-
_.$_$.d =
|
|
3576
|
-
_.$_$.e =
|
|
3577
|
-
_.$_$.f =
|
|
3578
|
-
_.$_$.g =
|
|
3579
|
-
_.$_$.h =
|
|
3580
|
-
_.$_$.i =
|
|
3581
|
-
_.$_$.j =
|
|
3582
|
-
_.$_$.k =
|
|
3583
|
-
_.$_$.l =
|
|
3584
|
-
_.$_$.m =
|
|
3585
|
-
_.$_$.n =
|
|
3586
|
-
_.$_$.o =
|
|
3587
|
-
_.$_$.p =
|
|
3588
|
-
_.$_$.q =
|
|
3589
|
-
_.$_$.r =
|
|
3590
|
-
_.$_$.s =
|
|
3591
|
-
_.$_$.t =
|
|
3592
|
-
_.$_$.u =
|
|
3593
|
-
_.$_$.v =
|
|
3594
|
-
_.$_$.w =
|
|
3595
|
-
_.$_$.x =
|
|
3596
|
-
_.$_$.y =
|
|
3597
|
-
_.$_$.z =
|
|
3598
|
-
_.$_$.a1 =
|
|
3599
|
-
_.$_$.b1 =
|
|
3600
|
-
_.$_$.c1 =
|
|
3601
|
-
_.$_$.d1 =
|
|
3602
|
-
_.$_$.e1 =
|
|
3603
|
-
_.$_$.f1 =
|
|
3604
|
-
_.$_$.g1 =
|
|
3605
|
-
_.$_$.h1 =
|
|
3606
|
-
_.$_$.i1 =
|
|
3607
|
-
_.$_$.j1 =
|
|
3608
|
-
_.$_$.k1 =
|
|
3609
|
-
_.$_$.l1 =
|
|
3610
|
-
_.$_$.m1 =
|
|
3611
|
-
_.$_$.n1 =
|
|
3612
|
-
_.$_$.o1 =
|
|
3613
|
-
_.$_$.p1 =
|
|
3614
|
-
_.$_$.q1 =
|
|
3615
|
-
_.$_$.r1 =
|
|
3616
|
-
_.$_$.s1 =
|
|
3617
|
-
_.$_$.t1 =
|
|
3618
|
-
_.$_$.u1 =
|
|
3619
|
-
_.$_$.v1 =
|
|
3620
|
-
_.$_$.w1 =
|
|
3621
|
-
_.$_$.x1 =
|
|
3622
|
-
_.$_$.y1 = writer;
|
|
3467
|
+
_.$_$.b = discard;
|
|
3468
|
+
_.$_$.c = readAvailable;
|
|
3469
|
+
_.$_$.d = readBuffer;
|
|
3470
|
+
_.$_$.e = readLineStrictTo;
|
|
3471
|
+
_.$_$.f = readPacket;
|
|
3472
|
+
_.$_$.g = readRemaining;
|
|
3473
|
+
_.$_$.h = readRemaining_0;
|
|
3474
|
+
_.$_$.i = readUntil;
|
|
3475
|
+
_.$_$.j = skipIfFound;
|
|
3476
|
+
_.$_$.k = toByteArray;
|
|
3477
|
+
_.$_$.l = writeFully;
|
|
3478
|
+
_.$_$.m = writePacket;
|
|
3479
|
+
_.$_$.n = LineEndingMode__plus_impl_ttpz2j;
|
|
3480
|
+
_.$_$.o = Charsets_getInstance;
|
|
3481
|
+
_.$_$.p = Companion_getInstance_0;
|
|
3482
|
+
_.$_$.q = Companion_getInstance_1;
|
|
3483
|
+
_.$_$.r = MalformedInputException;
|
|
3484
|
+
_.$_$.s = decode;
|
|
3485
|
+
_.$_$.t = encode;
|
|
3486
|
+
_.$_$.u = forName;
|
|
3487
|
+
_.$_$.v = isSupported;
|
|
3488
|
+
_.$_$.w = get_name;
|
|
3489
|
+
_.$_$.x = BytePacketBuilder;
|
|
3490
|
+
_.$_$.y = build;
|
|
3491
|
+
_.$_$.z = canRead;
|
|
3492
|
+
_.$_$.a1 = discard_0;
|
|
3493
|
+
_.$_$.b1 = readBytes_0;
|
|
3494
|
+
_.$_$.c1 = readText_0;
|
|
3495
|
+
_.$_$.d1 = get_remaining;
|
|
3496
|
+
_.$_$.e1 = get_size;
|
|
3497
|
+
_.$_$.f1 = takeWhile;
|
|
3498
|
+
_.$_$.g1 = toByteArray_0;
|
|
3499
|
+
_.$_$.h1 = writeFully_0;
|
|
3500
|
+
_.$_$.i1 = writeText;
|
|
3501
|
+
_.$_$.j1 = get_ByteArrayPool;
|
|
3502
|
+
_.$_$.k1 = DefaultPool;
|
|
3503
|
+
_.$_$.l1 = NoPoolImpl;
|
|
3504
|
+
_.$_$.m1 = ByteChannel;
|
|
3505
|
+
_.$_$.n1 = ByteReadChannel;
|
|
3506
|
+
_.$_$.o1 = ByteReadChannel_1;
|
|
3507
|
+
_.$_$.p1 = ClosedByteChannelException;
|
|
3508
|
+
_.$_$.q1 = WriterScope;
|
|
3509
|
+
_.$_$.r1 = cancel_0;
|
|
3510
|
+
_.$_$.s1 = close_0;
|
|
3511
|
+
_.$_$.t1 = counted;
|
|
3512
|
+
_.$_$.u1 = invokeOnCompletion;
|
|
3513
|
+
_.$_$.v1 = ioDispatcher;
|
|
3514
|
+
_.$_$.w1 = readText;
|
|
3515
|
+
_.$_$.x1 = writer;
|
|
3623
3516
|
//endregion
|
|
3624
3517
|
return _;
|
|
3625
3518
|
}));
|