@cruglobal/godtools-shared 0.9.0-SNAPSHOT.1254 → 0.9.0-SNAPSHOT.1259
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/88b0986a7186d029-atomicfu-js-ir.js +6 -6
- package/Napier-napier-js-ir.js +42 -42
- package/antlr-kotlin-antlr-kotlin-runtime-js-ir.js +3089 -3089
- package/colormath-root-colormath-js-ir.js +1876 -579
- package/colormath-root-colormath-js-ir.js.map +1 -1
- package/fluid-locale-js-ir.js +150 -150
- package/kotlin-kotlin-stdlib-js-ir.js +671 -531
- package/kotlin-kotlin-stdlib-js-ir.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-npm.d.ts +51 -0
- package/kotlin-mpp-godtools-tool-parser-parser-expressions.js +434 -434
- package/kotlin-mpp-godtools-tool-parser-parser.js +2882 -2657
- package/kotlin-mpp-godtools-tool-parser-parser.js.map +1 -1
- package/kotlin-mpp-godtools-tool-parser-state.js +116 -116
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1258 -983
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
|
@@ -16,91 +16,91 @@
|
|
|
16
16
|
'use strict';
|
|
17
17
|
//region block: imports
|
|
18
18
|
var imul = Math.imul;
|
|
19
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
20
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
21
|
-
var isObject = kotlin_kotlin.$_$.
|
|
22
|
-
var Unit_getInstance = kotlin_kotlin.$_$.
|
|
23
|
-
var plus = kotlin_kotlin.$_$.
|
|
24
|
-
var get = kotlin_kotlin.$_$.
|
|
25
|
-
var fold = kotlin_kotlin.$_$.
|
|
26
|
-
var minusKey = kotlin_kotlin.$_$.
|
|
27
|
-
var Continuation = kotlin_kotlin.$_$.
|
|
28
|
-
var classMeta = kotlin_kotlin.$_$.
|
|
29
|
-
var VOID = kotlin_kotlin.$_$.
|
|
30
|
-
var setMetadataFor = kotlin_kotlin.$_$.
|
|
19
|
+
var protoOf = kotlin_kotlin.$_$.n6;
|
|
20
|
+
var THROW_CCE = kotlin_kotlin.$_$.a9;
|
|
21
|
+
var isObject = kotlin_kotlin.$_$.g6;
|
|
22
|
+
var Unit_getInstance = kotlin_kotlin.$_$.k2;
|
|
23
|
+
var plus = kotlin_kotlin.$_$.i5;
|
|
24
|
+
var get = kotlin_kotlin.$_$.f5;
|
|
25
|
+
var fold = kotlin_kotlin.$_$.e5;
|
|
26
|
+
var minusKey = kotlin_kotlin.$_$.g5;
|
|
27
|
+
var Continuation = kotlin_kotlin.$_$.d5;
|
|
28
|
+
var classMeta = kotlin_kotlin.$_$.s5;
|
|
29
|
+
var VOID = kotlin_kotlin.$_$.q9;
|
|
30
|
+
var setMetadataFor = kotlin_kotlin.$_$.o6;
|
|
31
31
|
var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.b;
|
|
32
|
-
var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.
|
|
32
|
+
var throwUninitializedPropertyAccessException = kotlin_kotlin.$_$.m9;
|
|
33
33
|
var ArrayList_init_$Create$ = kotlin_kotlin.$_$.c;
|
|
34
|
-
var Companion_getInstance = kotlin_kotlin.$_$.
|
|
34
|
+
var Companion_getInstance = kotlin_kotlin.$_$.i2;
|
|
35
35
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.t1;
|
|
36
36
|
var atomic$int$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.c;
|
|
37
|
-
var intercepted = kotlin_kotlin.$_$.
|
|
38
|
-
var fillArrayVal = kotlin_kotlin.$_$.
|
|
39
|
-
var CoroutineImpl = kotlin_kotlin.$_$.
|
|
40
|
-
var copyToArray = kotlin_kotlin.$_$.
|
|
41
|
-
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.
|
|
42
|
-
var emptyList = kotlin_kotlin.$_$.
|
|
43
|
-
var Key_getInstance = kotlin_kotlin.$_$.
|
|
44
|
-
var equals = kotlin_kotlin.$_$.
|
|
45
|
-
var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.
|
|
37
|
+
var intercepted = kotlin_kotlin.$_$.x4;
|
|
38
|
+
var fillArrayVal = kotlin_kotlin.$_$.w5;
|
|
39
|
+
var CoroutineImpl = kotlin_kotlin.$_$.j5;
|
|
40
|
+
var copyToArray = kotlin_kotlin.$_$.c3;
|
|
41
|
+
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.v4;
|
|
42
|
+
var emptyList = kotlin_kotlin.$_$.e3;
|
|
43
|
+
var Key_getInstance = kotlin_kotlin.$_$.b2;
|
|
44
|
+
var equals = kotlin_kotlin.$_$.v5;
|
|
45
|
+
var EmptyCoroutineContext_getInstance = kotlin_kotlin.$_$.c2;
|
|
46
46
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.z;
|
|
47
|
-
var createCoroutineUnintercepted = kotlin_kotlin.$_$.
|
|
48
|
-
var interfaceMeta = kotlin_kotlin.$_$.
|
|
49
|
-
var isInterface = kotlin_kotlin.$_$.
|
|
50
|
-
var toString = kotlin_kotlin.$_$.
|
|
51
|
-
var toString_0 = kotlin_kotlin.$_$.
|
|
52
|
-
var objectMeta = kotlin_kotlin.$_$.
|
|
53
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
47
|
+
var createCoroutineUnintercepted = kotlin_kotlin.$_$.w4;
|
|
48
|
+
var interfaceMeta = kotlin_kotlin.$_$.b6;
|
|
49
|
+
var isInterface = kotlin_kotlin.$_$.e6;
|
|
50
|
+
var toString = kotlin_kotlin.$_$.n9;
|
|
51
|
+
var toString_0 = kotlin_kotlin.$_$.r6;
|
|
52
|
+
var objectMeta = kotlin_kotlin.$_$.m6;
|
|
53
|
+
var hashCode = kotlin_kotlin.$_$.a6;
|
|
54
54
|
var atomic$boolean$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
|
|
55
55
|
var CancellationException_init_$Create$ = kotlin_kotlin.$_$.l;
|
|
56
56
|
var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.u1;
|
|
57
|
-
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.
|
|
58
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
59
|
-
var AbstractCoroutineContextKey = kotlin_kotlin.$_$.
|
|
60
|
-
var AbstractCoroutineContextElement = kotlin_kotlin.$_$.
|
|
61
|
-
var get_0 = kotlin_kotlin.$_$.
|
|
62
|
-
var minusKey_0 = kotlin_kotlin.$_$.
|
|
63
|
-
var ContinuationInterceptor = kotlin_kotlin.$_$.
|
|
57
|
+
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.w1;
|
|
58
|
+
var createFailure = kotlin_kotlin.$_$.g9;
|
|
59
|
+
var AbstractCoroutineContextKey = kotlin_kotlin.$_$.z4;
|
|
60
|
+
var AbstractCoroutineContextElement = kotlin_kotlin.$_$.y4;
|
|
61
|
+
var get_0 = kotlin_kotlin.$_$.a5;
|
|
62
|
+
var minusKey_0 = kotlin_kotlin.$_$.b5;
|
|
63
|
+
var ContinuationInterceptor = kotlin_kotlin.$_$.c5;
|
|
64
64
|
var RuntimeException_init_$Create$ = kotlin_kotlin.$_$.l1;
|
|
65
|
-
var Enum = kotlin_kotlin.$_$.
|
|
66
|
-
var startCoroutine = kotlin_kotlin.$_$.
|
|
67
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
68
|
-
var Long = kotlin_kotlin.$_$.
|
|
69
|
-
var RuntimeException = kotlin_kotlin.$_$.
|
|
65
|
+
var Enum = kotlin_kotlin.$_$.p8;
|
|
66
|
+
var startCoroutine = kotlin_kotlin.$_$.k5;
|
|
67
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.k9;
|
|
68
|
+
var Long = kotlin_kotlin.$_$.u8;
|
|
69
|
+
var RuntimeException = kotlin_kotlin.$_$.z8;
|
|
70
70
|
var RuntimeException_init_$Init$ = kotlin_kotlin.$_$.k1;
|
|
71
|
-
var captureStack = kotlin_kotlin.$_$.
|
|
72
|
-
var Error_0 = kotlin_kotlin.$_$.
|
|
71
|
+
var captureStack = kotlin_kotlin.$_$.o5;
|
|
72
|
+
var Error_0 = kotlin_kotlin.$_$.q8;
|
|
73
73
|
var Error_init_$Init$ = kotlin_kotlin.$_$.r;
|
|
74
|
-
var Element = kotlin_kotlin.$_$.
|
|
74
|
+
var Element = kotlin_kotlin.$_$.h5;
|
|
75
75
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.q;
|
|
76
|
-
var CancellationException = kotlin_kotlin.$_$.
|
|
77
|
-
var ArrayList = kotlin_kotlin.$_$.
|
|
76
|
+
var CancellationException = kotlin_kotlin.$_$.u4;
|
|
77
|
+
var ArrayList = kotlin_kotlin.$_$.m2;
|
|
78
78
|
var IllegalStateException_init_$Create$_0 = kotlin_kotlin.$_$.a1;
|
|
79
|
-
var anyToString = kotlin_kotlin.$_$.
|
|
80
|
-
var UnsupportedOperationException = kotlin_kotlin.$_$.
|
|
79
|
+
var anyToString = kotlin_kotlin.$_$.m5;
|
|
80
|
+
var UnsupportedOperationException = kotlin_kotlin.$_$.e9;
|
|
81
81
|
var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.n1;
|
|
82
|
-
var addSuppressed = kotlin_kotlin.$_$.
|
|
83
|
-
var fill = kotlin_kotlin.$_$.
|
|
82
|
+
var addSuppressed = kotlin_kotlin.$_$.f9;
|
|
83
|
+
var fill = kotlin_kotlin.$_$.h3;
|
|
84
84
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.v;
|
|
85
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
86
|
-
var NoSuchElementException = kotlin_kotlin.$_$.
|
|
85
|
+
var ensureNotNull = kotlin_kotlin.$_$.h9;
|
|
86
|
+
var NoSuchElementException = kotlin_kotlin.$_$.v8;
|
|
87
87
|
var NoSuchElementException_init_$Init$ = kotlin_kotlin.$_$.e1;
|
|
88
|
-
var IllegalStateException = kotlin_kotlin.$_$.
|
|
88
|
+
var IllegalStateException = kotlin_kotlin.$_$.t8;
|
|
89
89
|
var IllegalStateException_init_$Init$ = kotlin_kotlin.$_$.y;
|
|
90
90
|
var CancellationException_init_$Create$_0 = kotlin_kotlin.$_$.n;
|
|
91
|
-
var Unit = kotlin_kotlin.$_$.
|
|
92
|
-
var IntCompanionObject_getInstance = kotlin_kotlin.$_$.
|
|
93
|
-
var toLong = kotlin_kotlin.$_$.
|
|
94
|
-
var arrayIterator = kotlin_kotlin.$_$.
|
|
95
|
-
var copyOf = kotlin_kotlin.$_$.
|
|
96
|
-
var joinToString = kotlin_kotlin.$_$.
|
|
97
|
-
var throwKotlinNothingValueException = kotlin_kotlin.$_$.
|
|
98
|
-
var arrayCopy = kotlin_kotlin.$_$.
|
|
99
|
-
var Companion_getInstance_0 = kotlin_kotlin.$_$.
|
|
100
|
-
var toLongOrNull = kotlin_kotlin.$_$.
|
|
91
|
+
var Unit = kotlin_kotlin.$_$.d9;
|
|
92
|
+
var IntCompanionObject_getInstance = kotlin_kotlin.$_$.f2;
|
|
93
|
+
var toLong = kotlin_kotlin.$_$.q6;
|
|
94
|
+
var arrayIterator = kotlin_kotlin.$_$.n5;
|
|
95
|
+
var copyOf = kotlin_kotlin.$_$.a3;
|
|
96
|
+
var joinToString = kotlin_kotlin.$_$.o3;
|
|
97
|
+
var throwKotlinNothingValueException = kotlin_kotlin.$_$.l9;
|
|
98
|
+
var arrayCopy = kotlin_kotlin.$_$.s2;
|
|
99
|
+
var Companion_getInstance_0 = kotlin_kotlin.$_$.h2;
|
|
100
|
+
var toLongOrNull = kotlin_kotlin.$_$.h8;
|
|
101
101
|
var getKClassFromExpression = kotlin_kotlin.$_$.a;
|
|
102
102
|
var CancellationException_init_$Init$ = kotlin_kotlin.$_$.m;
|
|
103
|
-
var getStringHashCode = kotlin_kotlin.$_$.
|
|
103
|
+
var getStringHashCode = kotlin_kotlin.$_$.z5;
|
|
104
104
|
var HashSet_init_$Create$ = kotlin_kotlin.$_$.g;
|
|
105
105
|
var UnsupportedOperationException_init_$Create$_0 = kotlin_kotlin.$_$.m1;
|
|
106
106
|
//endregion
|
|
@@ -180,6 +180,7 @@
|
|
|
180
180
|
setMetadataFor(InvokeOnCompletion, 'InvokeOnCompletion', classMeta, JobNode);
|
|
181
181
|
setMetadataFor(IncompleteStateBox, 'IncompleteStateBox', classMeta);
|
|
182
182
|
setMetadataFor(ChildContinuation, 'ChildContinuation', classMeta, JobCancellingNode);
|
|
183
|
+
setMetadataFor(JobImpl, 'JobImpl', classMeta, JobSupport, [JobSupport, Job], VOID, VOID, [0]);
|
|
183
184
|
setMetadataFor(MainCoroutineDispatcher, 'MainCoroutineDispatcher', classMeta, CoroutineDispatcher);
|
|
184
185
|
setMetadataFor(TimeoutCancellationException, 'TimeoutCancellationException', classMeta, CancellationException);
|
|
185
186
|
setMetadataFor(Unconfined, 'Unconfined', objectMeta, CoroutineDispatcher);
|
|
@@ -191,7 +192,7 @@
|
|
|
191
192
|
setMetadataFor(ReceiveElementWithUndeliveredHandler, 'ReceiveElementWithUndeliveredHandler', classMeta, ReceiveElement);
|
|
192
193
|
function close$default(cause, $super) {
|
|
193
194
|
cause = cause === VOID ? null : cause;
|
|
194
|
-
return $super === VOID ? this.
|
|
195
|
+
return $super === VOID ? this.es(cause) : $super.es.call(this, cause);
|
|
195
196
|
}
|
|
196
197
|
setMetadataFor(SendChannel, 'SendChannel', interfaceMeta, VOID, VOID, VOID, VOID, [1]);
|
|
197
198
|
setMetadataFor(AbstractSendChannel, 'AbstractSendChannel', classMeta, VOID, [SendChannel], VOID, VOID, [1]);
|
|
@@ -234,7 +235,7 @@
|
|
|
234
235
|
}
|
|
235
236
|
capacity = tmp;
|
|
236
237
|
onBufferOverflow = onBufferOverflow === VOID ? BufferOverflow_SUSPEND_getInstance() : onBufferOverflow;
|
|
237
|
-
return $super === VOID ? this.
|
|
238
|
+
return $super === VOID ? this.tx(context, capacity, onBufferOverflow) : $super.tx.call(this, context, capacity, onBufferOverflow);
|
|
238
239
|
}
|
|
239
240
|
setMetadataFor(FusibleFlow, 'FusibleFlow', interfaceMeta, VOID, VOID, VOID, VOID, [1]);
|
|
240
241
|
setMetadataFor(SharedFlowImpl, 'SharedFlowImpl', classMeta, AbstractSharedFlow, [AbstractSharedFlow, FlowCollector, FusibleFlow], VOID, VOID, [1]);
|
|
@@ -261,10 +262,16 @@
|
|
|
261
262
|
setMetadataFor(SubscribedFlowCollector, 'SubscribedFlowCollector', classMeta, VOID, [FlowCollector], VOID, VOID, [1, 0]);
|
|
262
263
|
setMetadataFor($collectCOROUTINE$10, '$collectCOROUTINE$10', classMeta, CoroutineImpl);
|
|
263
264
|
setMetadataFor(SubscribedSharedFlow, 'SubscribedSharedFlow', classMeta, VOID, VOID, VOID, VOID, [1]);
|
|
265
|
+
setMetadataFor(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', classMeta, VOID, [FlowCollector], VOID, VOID, [1]);
|
|
266
|
+
setMetadataFor(onEach$o$collect$slambda, 'onEach$o$collect$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
|
|
267
|
+
setMetadataFor($collectCOROUTINE$13, '$collectCOROUTINE$13', classMeta, CoroutineImpl);
|
|
268
|
+
setMetadataFor(_no_name_provided__qut3iv_0, VOID, classMeta, VOID, VOID, VOID, VOID, [1]);
|
|
269
|
+
setMetadataFor(launchIn$slambda, 'launchIn$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
|
|
264
270
|
setMetadataFor(ArrayQueue, 'ArrayQueue', classMeta);
|
|
265
271
|
setMetadataFor(OpDescriptor, 'OpDescriptor', classMeta);
|
|
266
272
|
setMetadataFor(DispatchedContinuation, 'DispatchedContinuation', classMeta, DispatchedTask, [DispatchedTask, Continuation]);
|
|
267
273
|
setMetadataFor(UndeliveredElementException, 'UndeliveredElementException', classMeta, RuntimeException);
|
|
274
|
+
setMetadataFor(ContextScope, 'ContextScope', classMeta, VOID, [CoroutineScope]);
|
|
268
275
|
setMetadataFor(Symbol, 'Symbol', classMeta);
|
|
269
276
|
setMetadataFor(UndispatchedCoroutine, 'UndispatchedCoroutine', classMeta, ScopeCoroutine, VOID, VOID, VOID, [0]);
|
|
270
277
|
setMetadataFor(Dispatchers, 'Dispatchers', objectMeta);
|
|
@@ -285,11 +292,11 @@
|
|
|
285
292
|
function AbstractCoroutine(parentContext, initParentJob, active) {
|
|
286
293
|
JobSupport.call(this, active);
|
|
287
294
|
if (initParentJob) {
|
|
288
|
-
this.mf(parentContext.
|
|
295
|
+
this.mf(parentContext.t3(Key_getInstance_2()));
|
|
289
296
|
}
|
|
290
|
-
this.pf_1 = parentContext.
|
|
297
|
+
this.pf_1 = parentContext.a4(this);
|
|
291
298
|
}
|
|
292
|
-
protoOf(AbstractCoroutine).
|
|
299
|
+
protoOf(AbstractCoroutine).p3 = function () {
|
|
293
300
|
return this.pf_1;
|
|
294
301
|
};
|
|
295
302
|
protoOf(AbstractCoroutine).qf = function () {
|
|
@@ -312,7 +319,7 @@
|
|
|
312
319
|
this.sf((state == null ? true : isObject(state)) ? state : THROW_CCE());
|
|
313
320
|
}
|
|
314
321
|
};
|
|
315
|
-
protoOf(AbstractCoroutine).
|
|
322
|
+
protoOf(AbstractCoroutine).q3 = function (result) {
|
|
316
323
|
var state = this.zf(toState_0(result));
|
|
317
324
|
if (state === get_COMPLETING_WAITING_CHILDREN())
|
|
318
325
|
return Unit_getInstance();
|
|
@@ -431,7 +438,7 @@
|
|
|
431
438
|
// Inline function 'kotlin.Companion.success' call
|
|
432
439
|
var tmp2_success = Companion_getInstance();
|
|
433
440
|
tmp$ret$3 = _Result___init__impl__xyqfz8(tmp4_resume);
|
|
434
|
-
tmp3_resume.
|
|
441
|
+
tmp3_resume.q3(tmp$ret$3);
|
|
435
442
|
tmp$ret$4 = Unit_getInstance();
|
|
436
443
|
}
|
|
437
444
|
};
|
|
@@ -558,7 +565,7 @@
|
|
|
558
565
|
$l$block_0: {
|
|
559
566
|
// Inline function 'kotlinx.coroutines.withContext.<anonymous>' call
|
|
560
567
|
var tmp0__anonymous__q1qw7t = $completion;
|
|
561
|
-
var oldContext = tmp0__anonymous__q1qw7t.
|
|
568
|
+
var oldContext = tmp0__anonymous__q1qw7t.p3();
|
|
562
569
|
var newContext = newCoroutineContext(oldContext, context);
|
|
563
570
|
ensureActive(newContext);
|
|
564
571
|
if (newContext === oldContext) {
|
|
@@ -566,7 +573,7 @@
|
|
|
566
573
|
tmp$ret$0 = startUndispatchedOrReturn(coroutine, coroutine, block);
|
|
567
574
|
break $l$block_0;
|
|
568
575
|
}
|
|
569
|
-
if (equals(newContext.
|
|
576
|
+
if (equals(newContext.t3(Key_getInstance()), oldContext.t3(Key_getInstance()))) {
|
|
570
577
|
var coroutine_0 = new UndispatchedCoroutine(newContext, tmp0__anonymous__q1qw7t);
|
|
571
578
|
var tmp$ret$1;
|
|
572
579
|
// Inline function 'kotlinx.coroutines.withCoroutineContext' call
|
|
@@ -812,7 +819,7 @@
|
|
|
812
819
|
var tmp_0;
|
|
813
820
|
if ($p instanceof Error) {
|
|
814
821
|
var ex = $p;
|
|
815
|
-
handleCoroutineException($this.
|
|
822
|
+
handleCoroutineException($this.p3(), new CompletionHandlerException('Exception in invokeOnCancellation handler for ' + $this, ex));
|
|
816
823
|
tmp_0 = Unit_getInstance();
|
|
817
824
|
} else {
|
|
818
825
|
throw $p;
|
|
@@ -864,7 +871,7 @@
|
|
|
864
871
|
}
|
|
865
872
|
}
|
|
866
873
|
function installParentHandle($this) {
|
|
867
|
-
var tmp0_elvis_lhs = $this.
|
|
874
|
+
var tmp0_elvis_lhs = $this.p3().t3(Key_getInstance_2());
|
|
868
875
|
var tmp;
|
|
869
876
|
if (tmp0_elvis_lhs == null) {
|
|
870
877
|
return null;
|
|
@@ -1044,7 +1051,7 @@
|
|
|
1044
1051
|
DispatchedTask.call(this, resumeMode);
|
|
1045
1052
|
this.cj_1 = delegate;
|
|
1046
1053
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
1047
|
-
this.dj_1 = this.cj_1.
|
|
1054
|
+
this.dj_1 = this.cj_1.p3();
|
|
1048
1055
|
this.ej_1 = atomic$int$1(0);
|
|
1049
1056
|
this.fj_1 = atomic$ref$1(Active_getInstance());
|
|
1050
1057
|
this.gj_1 = null;
|
|
@@ -1052,7 +1059,7 @@
|
|
|
1052
1059
|
protoOf(CancellableContinuationImpl).pl = function () {
|
|
1053
1060
|
return this.cj_1;
|
|
1054
1061
|
};
|
|
1055
|
-
protoOf(CancellableContinuationImpl).
|
|
1062
|
+
protoOf(CancellableContinuationImpl).p3 = function () {
|
|
1056
1063
|
return this.dj_1;
|
|
1057
1064
|
};
|
|
1058
1065
|
protoOf(CancellableContinuationImpl).ge = function () {
|
|
@@ -1183,7 +1190,7 @@
|
|
|
1183
1190
|
var tmp_0;
|
|
1184
1191
|
if ($p instanceof Error) {
|
|
1185
1192
|
var ex = $p;
|
|
1186
|
-
handleCoroutineException(this.
|
|
1193
|
+
handleCoroutineException(this.p3(), new CompletionHandlerException('Exception in invokeOnCancellation handler for ' + this, ex));
|
|
1187
1194
|
tmp_0 = Unit_getInstance();
|
|
1188
1195
|
} else {
|
|
1189
1196
|
throw $p;
|
|
@@ -1198,7 +1205,7 @@
|
|
|
1198
1205
|
} catch ($p) {
|
|
1199
1206
|
if ($p instanceof Error) {
|
|
1200
1207
|
var ex = $p;
|
|
1201
|
-
handleCoroutineException(this.
|
|
1208
|
+
handleCoroutineException(this.p3(), new CompletionHandlerException('Exception in resume onCancellation handler for ' + this, ex));
|
|
1202
1209
|
} else {
|
|
1203
1210
|
throw $p;
|
|
1204
1211
|
}
|
|
@@ -1225,7 +1232,7 @@
|
|
|
1225
1232
|
if (state instanceof CompletedExceptionally)
|
|
1226
1233
|
throw recoverStackTrace(state.wf_1, this);
|
|
1227
1234
|
if (get_isCancellableMode(this.al_1)) {
|
|
1228
|
-
var job = this.
|
|
1235
|
+
var job = this.p3().t3(Key_getInstance_2());
|
|
1229
1236
|
if (!(job == null) ? !job.rf() : false) {
|
|
1230
1237
|
var cause = job.ng();
|
|
1231
1238
|
this.rl(state, cause);
|
|
@@ -1234,7 +1241,7 @@
|
|
|
1234
1241
|
}
|
|
1235
1242
|
return this.yl(state);
|
|
1236
1243
|
};
|
|
1237
|
-
protoOf(CancellableContinuationImpl).
|
|
1244
|
+
protoOf(CancellableContinuationImpl).q3 = function (result) {
|
|
1238
1245
|
return resumeImpl$default(this, toState(result, this), this.al_1);
|
|
1239
1246
|
};
|
|
1240
1247
|
protoOf(CancellableContinuationImpl).ok = function (value, onCancellation) {
|
|
@@ -1597,10 +1604,10 @@
|
|
|
1597
1604
|
protoOf(CoroutineDispatcher).im = function (context) {
|
|
1598
1605
|
return true;
|
|
1599
1606
|
};
|
|
1600
|
-
protoOf(CoroutineDispatcher).
|
|
1607
|
+
protoOf(CoroutineDispatcher).r3 = function (continuation) {
|
|
1601
1608
|
return new DispatchedContinuation(this, continuation);
|
|
1602
1609
|
};
|
|
1603
|
-
protoOf(CoroutineDispatcher).
|
|
1610
|
+
protoOf(CoroutineDispatcher).s3 = function (continuation) {
|
|
1604
1611
|
var dispatched = continuation instanceof DispatchedContinuation ? continuation : THROW_CCE();
|
|
1605
1612
|
dispatched.km();
|
|
1606
1613
|
};
|
|
@@ -1609,7 +1616,7 @@
|
|
|
1609
1616
|
};
|
|
1610
1617
|
function handleCoroutineException(context, exception) {
|
|
1611
1618
|
try {
|
|
1612
|
-
var tmp0_safe_receiver = context.
|
|
1619
|
+
var tmp0_safe_receiver = context.t3(Key_getInstance_1());
|
|
1613
1620
|
if (tmp0_safe_receiver == null)
|
|
1614
1621
|
null;
|
|
1615
1622
|
else {
|
|
@@ -1670,11 +1677,14 @@
|
|
|
1670
1677
|
var tmp$ret$0;
|
|
1671
1678
|
// Inline function 'kotlinx.coroutines.coroutineScope.<anonymous>' call
|
|
1672
1679
|
var tmp0__anonymous__q1qw7t = $completion;
|
|
1673
|
-
var coroutine = new ScopeCoroutine(tmp0__anonymous__q1qw7t.
|
|
1680
|
+
var coroutine = new ScopeCoroutine(tmp0__anonymous__q1qw7t.p3(), tmp0__anonymous__q1qw7t);
|
|
1674
1681
|
tmp$ret$0 = startUndispatchedOrReturn(coroutine, coroutine, block);
|
|
1675
1682
|
var tmp0 = tmp$ret$0;
|
|
1676
1683
|
return tmp0;
|
|
1677
1684
|
}
|
|
1685
|
+
function CoroutineScope_0(context) {
|
|
1686
|
+
return new ContextScope(!(context.t3(Key_getInstance_2()) == null) ? context : context.a4(Job_0()));
|
|
1687
|
+
}
|
|
1678
1688
|
var CoroutineStart_DEFAULT_instance;
|
|
1679
1689
|
var CoroutineStart_LAZY_instance;
|
|
1680
1690
|
var CoroutineStart_ATOMIC_instance;
|
|
@@ -1694,7 +1704,7 @@
|
|
|
1694
1704
|
}
|
|
1695
1705
|
protoOf(CoroutineStart).hg = function (block, receiver, completion) {
|
|
1696
1706
|
var tmp0_subject = this;
|
|
1697
|
-
var tmp0 = tmp0_subject.
|
|
1707
|
+
var tmp0 = tmp0_subject.g4_1;
|
|
1698
1708
|
var tmp;
|
|
1699
1709
|
switch (tmp0) {
|
|
1700
1710
|
case 0:
|
|
@@ -1877,7 +1887,7 @@
|
|
|
1877
1887
|
return NonDisposableHandle_instance;
|
|
1878
1888
|
}
|
|
1879
1889
|
function ensureActive(_this__u8e3s4) {
|
|
1880
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
1890
|
+
var tmp0_safe_receiver = _this__u8e3s4.t3(Key_getInstance_2());
|
|
1881
1891
|
if (tmp0_safe_receiver == null)
|
|
1882
1892
|
null;
|
|
1883
1893
|
else {
|
|
@@ -1889,7 +1899,7 @@
|
|
|
1889
1899
|
throw _this__u8e3s4.ng();
|
|
1890
1900
|
}
|
|
1891
1901
|
function get_job(_this__u8e3s4) {
|
|
1892
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
1902
|
+
var tmp0_elvis_lhs = _this__u8e3s4.t3(Key_getInstance_2());
|
|
1893
1903
|
var tmp;
|
|
1894
1904
|
if (tmp0_elvis_lhs == null) {
|
|
1895
1905
|
var tmp0_error = "Current context doesn't contain Job in it: " + _this__u8e3s4;
|
|
@@ -1899,6 +1909,10 @@
|
|
|
1899
1909
|
}
|
|
1900
1910
|
return tmp;
|
|
1901
1911
|
}
|
|
1912
|
+
function Job_0(parent) {
|
|
1913
|
+
parent = parent === VOID ? null : parent;
|
|
1914
|
+
return new JobImpl(parent);
|
|
1915
|
+
}
|
|
1902
1916
|
function get_COMPLETING_ALREADY() {
|
|
1903
1917
|
_init_properties_JobSupport_kt__68f172();
|
|
1904
1918
|
return COMPLETING_ALREADY;
|
|
@@ -2909,7 +2923,7 @@
|
|
|
2909
2923
|
this.kf_1 = atomic$ref$1(active ? get_EMPTY_ACTIVE() : get_EMPTY_NEW());
|
|
2910
2924
|
this.lf_1 = atomic$ref$1(null);
|
|
2911
2925
|
}
|
|
2912
|
-
protoOf(JobSupport).
|
|
2926
|
+
protoOf(JobSupport).t1 = function () {
|
|
2913
2927
|
return Key_getInstance_2();
|
|
2914
2928
|
};
|
|
2915
2929
|
protoOf(JobSupport).ig = function (value) {
|
|
@@ -3387,6 +3401,43 @@
|
|
|
3387
3401
|
protoOf(ChildContinuation).invoke = function (cause) {
|
|
3388
3402
|
return this.ei(cause);
|
|
3389
3403
|
};
|
|
3404
|
+
function handlesException($this) {
|
|
3405
|
+
var tmp = $this.jg();
|
|
3406
|
+
var tmp0_safe_receiver = tmp instanceof ChildHandleNode ? tmp : null;
|
|
3407
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.qi();
|
|
3408
|
+
var tmp_0;
|
|
3409
|
+
if (tmp1_elvis_lhs == null) {
|
|
3410
|
+
return false;
|
|
3411
|
+
} else {
|
|
3412
|
+
tmp_0 = tmp1_elvis_lhs;
|
|
3413
|
+
}
|
|
3414
|
+
var parentJob = tmp_0;
|
|
3415
|
+
while (true) {
|
|
3416
|
+
if (parentJob.eh())
|
|
3417
|
+
return true;
|
|
3418
|
+
var tmp_1 = parentJob.jg();
|
|
3419
|
+
var tmp2_safe_receiver = tmp_1 instanceof ChildHandleNode ? tmp_1 : null;
|
|
3420
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.qi();
|
|
3421
|
+
var tmp_2;
|
|
3422
|
+
if (tmp3_elvis_lhs == null) {
|
|
3423
|
+
return false;
|
|
3424
|
+
} else {
|
|
3425
|
+
tmp_2 = tmp3_elvis_lhs;
|
|
3426
|
+
}
|
|
3427
|
+
parentJob = tmp_2;
|
|
3428
|
+
}
|
|
3429
|
+
}
|
|
3430
|
+
function JobImpl(parent) {
|
|
3431
|
+
JobSupport.call(this, true);
|
|
3432
|
+
this.mf(parent);
|
|
3433
|
+
this.lp_1 = handlesException(this);
|
|
3434
|
+
}
|
|
3435
|
+
protoOf(JobImpl).tg = function () {
|
|
3436
|
+
return true;
|
|
3437
|
+
};
|
|
3438
|
+
protoOf(JobImpl).eh = function () {
|
|
3439
|
+
return this.lp_1;
|
|
3440
|
+
};
|
|
3390
3441
|
var properties_initialized_JobSupport_kt_5iq8a4;
|
|
3391
3442
|
function _init_properties_JobSupport_kt__68f172() {
|
|
3392
3443
|
if (properties_initialized_JobSupport_kt_5iq8a4) {
|
|
@@ -3405,16 +3456,16 @@
|
|
|
3405
3456
|
CoroutineDispatcher.call(this);
|
|
3406
3457
|
}
|
|
3407
3458
|
protoOf(MainCoroutineDispatcher).toString = function () {
|
|
3408
|
-
var tmp0_elvis_lhs = this.
|
|
3459
|
+
var tmp0_elvis_lhs = this.op();
|
|
3409
3460
|
return tmp0_elvis_lhs == null ? get_classSimpleName(this) + '@' + get_hexAddress(this) : tmp0_elvis_lhs;
|
|
3410
3461
|
};
|
|
3411
|
-
protoOf(MainCoroutineDispatcher).
|
|
3412
|
-
var main = Dispatchers_getInstance().
|
|
3462
|
+
protoOf(MainCoroutineDispatcher).op = function () {
|
|
3463
|
+
var main = Dispatchers_getInstance().tp();
|
|
3413
3464
|
if (this === main)
|
|
3414
3465
|
return 'Dispatchers.Main';
|
|
3415
3466
|
var tmp;
|
|
3416
3467
|
try {
|
|
3417
|
-
tmp = main.
|
|
3468
|
+
tmp = main.np();
|
|
3418
3469
|
} catch ($p) {
|
|
3419
3470
|
var tmp_0;
|
|
3420
3471
|
if ($p instanceof UnsupportedOperationException) {
|
|
@@ -3440,9 +3491,9 @@
|
|
|
3440
3491
|
return false;
|
|
3441
3492
|
};
|
|
3442
3493
|
protoOf(Unconfined).jm = function (context, block) {
|
|
3443
|
-
var yieldContext = context.
|
|
3494
|
+
var yieldContext = context.t3(Key_getInstance_3());
|
|
3444
3495
|
if (!(yieldContext == null)) {
|
|
3445
|
-
yieldContext.
|
|
3496
|
+
yieldContext.wp_1 = true;
|
|
3446
3497
|
return Unit_getInstance();
|
|
3447
3498
|
}
|
|
3448
3499
|
throw UnsupportedOperationException_init_$Create$('Dispatchers.Unconfined.dispatch function can only be used by the yield function. If you wrap Unconfined dispatcher in your code, make sure you properly delegate isDispatchNeeded and dispatch calls.');
|
|
@@ -3504,10 +3555,10 @@
|
|
|
3504
3555
|
$l$block_1: {
|
|
3505
3556
|
// Inline function 'kotlinx.coroutines.channels.AbstractChannel.receiveSuspend.<anonymous>' call
|
|
3506
3557
|
var tmp;
|
|
3507
|
-
if ($this.
|
|
3558
|
+
if ($this.xp_1 == null) {
|
|
3508
3559
|
tmp = new ReceiveElement(isInterface(cancellable, CancellableContinuation) ? cancellable : THROW_CCE(), receiveMode);
|
|
3509
3560
|
} else {
|
|
3510
|
-
tmp = new ReceiveElementWithUndeliveredHandler(isInterface(cancellable, CancellableContinuation) ? cancellable : THROW_CCE(), receiveMode, $this.
|
|
3561
|
+
tmp = new ReceiveElementWithUndeliveredHandler(isInterface(cancellable, CancellableContinuation) ? cancellable : THROW_CCE(), receiveMode, $this.xp_1);
|
|
3511
3562
|
}
|
|
3512
3563
|
var receive = tmp;
|
|
3513
3564
|
while (true) {
|
|
@@ -3516,15 +3567,15 @@
|
|
|
3516
3567
|
tmp$ret$0 = Unit_getInstance();
|
|
3517
3568
|
break $l$block_1;
|
|
3518
3569
|
}
|
|
3519
|
-
var result = $this.
|
|
3570
|
+
var result = $this.dq();
|
|
3520
3571
|
if (result instanceof Closed) {
|
|
3521
|
-
receive.
|
|
3572
|
+
receive.jq(result);
|
|
3522
3573
|
tmp$ret$0 = Unit_getInstance();
|
|
3523
3574
|
break $l$block_1;
|
|
3524
3575
|
}
|
|
3525
3576
|
if (!(result === get_POLL_FAILED())) {
|
|
3526
|
-
var tmp_0 = receive.
|
|
3527
|
-
cancellable.ok(tmp_0, receive.
|
|
3577
|
+
var tmp_0 = receive.kq((result == null ? true : isObject(result)) ? result : THROW_CCE());
|
|
3578
|
+
cancellable.ok(tmp_0, receive.oq((result == null ? true : isObject(result)) ? result : THROW_CCE()));
|
|
3528
3579
|
tmp$ret$0 = Unit_getInstance();
|
|
3529
3580
|
break $l$block_1;
|
|
3530
3581
|
}
|
|
@@ -3537,11 +3588,11 @@
|
|
|
3537
3588
|
function enqueueReceive($this, receive) {
|
|
3538
3589
|
var tmp$ret$0;
|
|
3539
3590
|
// Inline function 'kotlin.also' call
|
|
3540
|
-
var tmp0_also = $this.
|
|
3591
|
+
var tmp0_also = $this.pq(receive);
|
|
3541
3592
|
// Inline function 'kotlin.contracts.contract' call
|
|
3542
3593
|
// Inline function 'kotlinx.coroutines.channels.AbstractChannel.enqueueReceive.<anonymous>' call
|
|
3543
3594
|
if (tmp0_also) {
|
|
3544
|
-
$this.
|
|
3595
|
+
$this.qq();
|
|
3545
3596
|
}
|
|
3546
3597
|
tmp$ret$0 = tmp0_also;
|
|
3547
3598
|
return tmp$ret$0;
|
|
@@ -3557,34 +3608,34 @@
|
|
|
3557
3608
|
return cont.jj(tmp$ret$1);
|
|
3558
3609
|
}
|
|
3559
3610
|
function RemoveReceiveOnCancel($outer, receive) {
|
|
3560
|
-
this.
|
|
3611
|
+
this.sq_1 = $outer;
|
|
3561
3612
|
BeforeResumeCancelHandler.call(this);
|
|
3562
|
-
this.
|
|
3613
|
+
this.rq_1 = receive;
|
|
3563
3614
|
}
|
|
3564
3615
|
protoOf(RemoveReceiveOnCancel).ei = function (cause) {
|
|
3565
|
-
if (this.
|
|
3566
|
-
this.
|
|
3616
|
+
if (this.rq_1.wi()) {
|
|
3617
|
+
this.sq_1.tq();
|
|
3567
3618
|
}
|
|
3568
3619
|
};
|
|
3569
3620
|
protoOf(RemoveReceiveOnCancel).invoke = function (cause) {
|
|
3570
3621
|
return this.ei(cause);
|
|
3571
3622
|
};
|
|
3572
3623
|
protoOf(RemoveReceiveOnCancel).toString = function () {
|
|
3573
|
-
return 'RemoveReceiveOnCancel[' + this.
|
|
3624
|
+
return 'RemoveReceiveOnCancel[' + this.rq_1 + ']';
|
|
3574
3625
|
};
|
|
3575
3626
|
function ReceiveElement(cont, receiveMode) {
|
|
3576
3627
|
Receive.call(this);
|
|
3577
|
-
this.
|
|
3578
|
-
this.
|
|
3628
|
+
this.hq_1 = cont;
|
|
3629
|
+
this.iq_1 = receiveMode;
|
|
3579
3630
|
}
|
|
3580
|
-
protoOf(ReceiveElement).
|
|
3581
|
-
var tmp0_subject = this.
|
|
3582
|
-
return tmp0_subject === 1 ? new ChannelResult(Companion_getInstance_1().
|
|
3631
|
+
protoOf(ReceiveElement).kq = function (value) {
|
|
3632
|
+
var tmp0_subject = this.iq_1;
|
|
3633
|
+
return tmp0_subject === 1 ? new ChannelResult(Companion_getInstance_1().vq(value)) : value;
|
|
3583
3634
|
};
|
|
3584
|
-
protoOf(ReceiveElement).
|
|
3585
|
-
var tmp = this.
|
|
3635
|
+
protoOf(ReceiveElement).wq = function (value, otherOp) {
|
|
3636
|
+
var tmp = this.kq(value);
|
|
3586
3637
|
var tmp0_safe_receiver = otherOp;
|
|
3587
|
-
var tmp1_elvis_lhs = this.
|
|
3638
|
+
var tmp1_elvis_lhs = this.hq_1.nk(tmp, tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yq_1, this.oq(value));
|
|
3588
3639
|
var tmp_0;
|
|
3589
3640
|
if (tmp1_elvis_lhs == null) {
|
|
3590
3641
|
return null;
|
|
@@ -3597,57 +3648,57 @@
|
|
|
3597
3648
|
if (tmp2_safe_receiver == null)
|
|
3598
3649
|
null;
|
|
3599
3650
|
else {
|
|
3600
|
-
tmp2_safe_receiver.
|
|
3651
|
+
tmp2_safe_receiver.ar();
|
|
3601
3652
|
}
|
|
3602
3653
|
return get_RESUME_TOKEN();
|
|
3603
3654
|
};
|
|
3604
|
-
protoOf(ReceiveElement).
|
|
3605
|
-
return this.
|
|
3655
|
+
protoOf(ReceiveElement).br = function (value) {
|
|
3656
|
+
return this.hq_1.li(get_RESUME_TOKEN());
|
|
3606
3657
|
};
|
|
3607
|
-
protoOf(ReceiveElement).
|
|
3608
|
-
if (this.
|
|
3658
|
+
protoOf(ReceiveElement).jq = function (closed) {
|
|
3659
|
+
if (this.iq_1 === 1) {
|
|
3609
3660
|
var tmp$ret$2;
|
|
3610
3661
|
// Inline function 'kotlin.coroutines.resume' call
|
|
3611
|
-
var tmp1_resume = this.
|
|
3662
|
+
var tmp1_resume = this.hq_1;
|
|
3612
3663
|
var tmp$ret$0;
|
|
3613
3664
|
// Inline function 'kotlinx.coroutines.channels.toResult' call
|
|
3614
|
-
tmp$ret$0 = Companion_getInstance_1().
|
|
3665
|
+
tmp$ret$0 = Companion_getInstance_1().hr(closed.fr_1);
|
|
3615
3666
|
var tmp2_resume = tmp$ret$0;
|
|
3616
3667
|
var tmp$ret$1;
|
|
3617
3668
|
// Inline function 'kotlin.Companion.success' call
|
|
3618
3669
|
var tmp0_success = Companion_getInstance();
|
|
3619
3670
|
tmp$ret$1 = _Result___init__impl__xyqfz8(new ChannelResult(tmp2_resume));
|
|
3620
|
-
tmp1_resume.
|
|
3671
|
+
tmp1_resume.q3(tmp$ret$1);
|
|
3621
3672
|
tmp$ret$2 = Unit_getInstance();
|
|
3622
3673
|
} else {
|
|
3623
3674
|
var tmp$ret$4;
|
|
3624
3675
|
// Inline function 'kotlin.coroutines.resumeWithException' call
|
|
3625
|
-
var tmp4_resumeWithException = this.
|
|
3626
|
-
var tmp5_resumeWithException = closed.
|
|
3676
|
+
var tmp4_resumeWithException = this.hq_1;
|
|
3677
|
+
var tmp5_resumeWithException = closed.gr();
|
|
3627
3678
|
var tmp$ret$3;
|
|
3628
3679
|
// Inline function 'kotlin.Companion.failure' call
|
|
3629
3680
|
var tmp3_failure = Companion_getInstance();
|
|
3630
3681
|
tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(tmp5_resumeWithException));
|
|
3631
|
-
tmp4_resumeWithException.
|
|
3682
|
+
tmp4_resumeWithException.q3(tmp$ret$3);
|
|
3632
3683
|
tmp$ret$4 = Unit_getInstance();
|
|
3633
3684
|
}
|
|
3634
3685
|
};
|
|
3635
3686
|
protoOf(ReceiveElement).toString = function () {
|
|
3636
|
-
return 'ReceiveElement@' + get_hexAddress(this) + '[receiveMode=' + this.
|
|
3687
|
+
return 'ReceiveElement@' + get_hexAddress(this) + '[receiveMode=' + this.iq_1 + ']';
|
|
3637
3688
|
};
|
|
3638
3689
|
function ReceiveElementWithUndeliveredHandler(cont, receiveMode, onUndeliveredElement) {
|
|
3639
3690
|
ReceiveElement.call(this, cont, receiveMode);
|
|
3640
|
-
this.
|
|
3691
|
+
this.or_1 = onUndeliveredElement;
|
|
3641
3692
|
}
|
|
3642
|
-
protoOf(ReceiveElementWithUndeliveredHandler).
|
|
3643
|
-
return bindCancellationFun(this.
|
|
3693
|
+
protoOf(ReceiveElementWithUndeliveredHandler).oq = function (value) {
|
|
3694
|
+
return bindCancellationFun(this.or_1, value, this.hq_1.p3());
|
|
3644
3695
|
};
|
|
3645
3696
|
function AbstractChannel(onUndeliveredElement) {
|
|
3646
3697
|
AbstractSendChannel.call(this, onUndeliveredElement);
|
|
3647
3698
|
}
|
|
3648
|
-
protoOf(AbstractChannel).
|
|
3699
|
+
protoOf(AbstractChannel).dq = function () {
|
|
3649
3700
|
while (true) {
|
|
3650
|
-
var tmp0_elvis_lhs = this.
|
|
3701
|
+
var tmp0_elvis_lhs = this.rr();
|
|
3651
3702
|
var tmp;
|
|
3652
3703
|
if (tmp0_elvis_lhs == null) {
|
|
3653
3704
|
return get_POLL_FAILED();
|
|
@@ -3655,25 +3706,25 @@
|
|
|
3655
3706
|
tmp = tmp0_elvis_lhs;
|
|
3656
3707
|
}
|
|
3657
3708
|
var send = tmp;
|
|
3658
|
-
var token = send.
|
|
3709
|
+
var token = send.vr(null);
|
|
3659
3710
|
if (!(token == null)) {
|
|
3660
3711
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
3661
|
-
send.
|
|
3662
|
-
return send.
|
|
3712
|
+
send.wr();
|
|
3713
|
+
return send.xr();
|
|
3663
3714
|
}
|
|
3664
|
-
send.
|
|
3715
|
+
send.yr();
|
|
3665
3716
|
}
|
|
3666
3717
|
};
|
|
3667
|
-
protoOf(AbstractChannel).
|
|
3668
|
-
return !(this.
|
|
3718
|
+
protoOf(AbstractChannel).zr = function () {
|
|
3719
|
+
return !(this.as() == null) ? this.qr() : false;
|
|
3669
3720
|
};
|
|
3670
|
-
protoOf(AbstractChannel).
|
|
3721
|
+
protoOf(AbstractChannel).pq = function (receive) {
|
|
3671
3722
|
var tmp;
|
|
3672
|
-
if (this.
|
|
3723
|
+
if (this.pr()) {
|
|
3673
3724
|
var tmp$ret$1;
|
|
3674
3725
|
$l$block: {
|
|
3675
3726
|
// Inline function 'kotlinx.coroutines.internal.LinkedListNode.addLastIfPrev' call
|
|
3676
|
-
var tmp0_addLastIfPrev = this.
|
|
3727
|
+
var tmp0_addLastIfPrev = this.yp_1;
|
|
3677
3728
|
var tmp$ret$0;
|
|
3678
3729
|
// Inline function 'kotlinx.coroutines.channels.AbstractChannel.enqueueReceiveInternal.<anonymous>' call
|
|
3679
3730
|
var tmp1__anonymous__uwfjfc = tmp0_addLastIfPrev.ti_1;
|
|
@@ -3690,7 +3741,7 @@
|
|
|
3690
3741
|
var tmp$ret$3;
|
|
3691
3742
|
$l$block_1: {
|
|
3692
3743
|
// Inline function 'kotlinx.coroutines.internal.LinkedListNode.addLastIfPrevAndIf' call
|
|
3693
|
-
var tmp2_addLastIfPrevAndIf = this.
|
|
3744
|
+
var tmp2_addLastIfPrevAndIf = this.yp_1;
|
|
3694
3745
|
var tmp$ret$2;
|
|
3695
3746
|
// Inline function 'kotlinx.coroutines.channels.AbstractChannel.enqueueReceiveInternal.<anonymous>' call
|
|
3696
3747
|
var tmp3__anonymous__ufb84q = tmp2_addLastIfPrevAndIf.ti_1;
|
|
@@ -3701,7 +3752,7 @@
|
|
|
3701
3752
|
}
|
|
3702
3753
|
var tmp$ret$4;
|
|
3703
3754
|
// Inline function 'kotlinx.coroutines.channels.AbstractChannel.enqueueReceiveInternal.<anonymous>' call
|
|
3704
|
-
tmp$ret$4 = this.
|
|
3755
|
+
tmp$ret$4 = this.qr();
|
|
3705
3756
|
if (!tmp$ret$4) {
|
|
3706
3757
|
tmp$ret$3 = false;
|
|
3707
3758
|
break $l$block_1;
|
|
@@ -3713,17 +3764,17 @@
|
|
|
3713
3764
|
}
|
|
3714
3765
|
return tmp;
|
|
3715
3766
|
};
|
|
3716
|
-
protoOf(AbstractChannel).
|
|
3717
|
-
var result = this.
|
|
3767
|
+
protoOf(AbstractChannel).bs = function ($completion) {
|
|
3768
|
+
var result = this.dq();
|
|
3718
3769
|
if (!(result === get_POLL_FAILED())) {
|
|
3719
3770
|
var tmp$ret$0;
|
|
3720
3771
|
// Inline function 'kotlinx.coroutines.channels.toResult' call
|
|
3721
3772
|
var tmp;
|
|
3722
3773
|
if (result instanceof Closed) {
|
|
3723
|
-
tmp = Companion_getInstance_1().
|
|
3774
|
+
tmp = Companion_getInstance_1().hr(result.fr_1);
|
|
3724
3775
|
} else {
|
|
3725
3776
|
var tmp_0 = Companion_getInstance_1();
|
|
3726
|
-
tmp = tmp_0.
|
|
3777
|
+
tmp = tmp_0.vq((result == null ? true : isObject(result)) ? result : THROW_CCE());
|
|
3727
3778
|
}
|
|
3728
3779
|
tmp$ret$0 = tmp;
|
|
3729
3780
|
return new ChannelResult(tmp$ret$0);
|
|
@@ -3731,27 +3782,27 @@
|
|
|
3731
3782
|
var tmp_1 = receiveSuspend(this, 1, $completion);
|
|
3732
3783
|
if (tmp_1 === get_COROUTINE_SUSPENDED())
|
|
3733
3784
|
return tmp_1;
|
|
3734
|
-
var tmp0 = new ChannelResult(tmp_1.
|
|
3785
|
+
var tmp0 = new ChannelResult(tmp_1.cs_1);
|
|
3735
3786
|
return tmp0;
|
|
3736
3787
|
};
|
|
3737
3788
|
protoOf(AbstractChannel).ug = function (cause) {
|
|
3738
|
-
if (this.
|
|
3789
|
+
if (this.zr())
|
|
3739
3790
|
return Unit_getInstance();
|
|
3740
3791
|
var tmp0_elvis_lhs = cause;
|
|
3741
|
-
this.
|
|
3792
|
+
this.ds(tmp0_elvis_lhs == null ? CancellationException_init_$Create$(get_classSimpleName(this) + ' was cancelled') : tmp0_elvis_lhs);
|
|
3742
3793
|
};
|
|
3743
|
-
protoOf(AbstractChannel).
|
|
3794
|
+
protoOf(AbstractChannel).ds = function (cause) {
|
|
3744
3795
|
var tmp$ret$0;
|
|
3745
3796
|
// Inline function 'kotlin.also' call
|
|
3746
|
-
var tmp0_also = this.
|
|
3797
|
+
var tmp0_also = this.es(cause);
|
|
3747
3798
|
// Inline function 'kotlin.contracts.contract' call
|
|
3748
3799
|
// Inline function 'kotlinx.coroutines.channels.AbstractChannel.cancelInternal.<anonymous>' call
|
|
3749
|
-
this.
|
|
3800
|
+
this.fs(tmp0_also);
|
|
3750
3801
|
tmp$ret$0 = tmp0_also;
|
|
3751
3802
|
return tmp$ret$0;
|
|
3752
3803
|
};
|
|
3753
|
-
protoOf(AbstractChannel).
|
|
3754
|
-
var tmp0_elvis_lhs = this.
|
|
3804
|
+
protoOf(AbstractChannel).fs = function (wasClosed) {
|
|
3805
|
+
var tmp0_elvis_lhs = this.gs();
|
|
3755
3806
|
var tmp;
|
|
3756
3807
|
if (tmp0_elvis_lhs == null) {
|
|
3757
3808
|
throw IllegalStateException_init_$Create$('Cannot happen');
|
|
@@ -3776,9 +3827,9 @@
|
|
|
3776
3827
|
var tmp_0 = list;
|
|
3777
3828
|
list = InlineList__plus_impl_nuetvo(tmp_0, previous instanceof Send ? previous : THROW_CCE());
|
|
3778
3829
|
}
|
|
3779
|
-
this.
|
|
3830
|
+
this.hs(list, closed);
|
|
3780
3831
|
};
|
|
3781
|
-
protoOf(AbstractChannel).
|
|
3832
|
+
protoOf(AbstractChannel).hs = function (list, closed) {
|
|
3782
3833
|
var tmp$ret$0;
|
|
3783
3834
|
$l$block: {
|
|
3784
3835
|
// Inline function 'kotlinx.coroutines.internal.InlineList.forEachReversed' call
|
|
@@ -3791,7 +3842,7 @@
|
|
|
3791
3842
|
// Inline function 'kotlinx.coroutines.channels.AbstractChannel.onCancelIdempotentList.<anonymous>' call
|
|
3792
3843
|
var tmp = _get_holder__f6h5pd(list);
|
|
3793
3844
|
var tmp0__anonymous__q1qw7t = (tmp == null ? true : isObject(tmp)) ? tmp : THROW_CCE();
|
|
3794
|
-
tmp0__anonymous__q1qw7t.
|
|
3845
|
+
tmp0__anonymous__q1qw7t.is(closed);
|
|
3795
3846
|
} else {
|
|
3796
3847
|
var tmp_0 = _get_holder__f6h5pd(list);
|
|
3797
3848
|
var list_0 = tmp_0 instanceof ArrayList ? tmp_0 : THROW_CCE();
|
|
@@ -3802,17 +3853,17 @@
|
|
|
3802
3853
|
inductionVariable = inductionVariable + -1 | 0;
|
|
3803
3854
|
// Inline function 'kotlinx.coroutines.channels.AbstractChannel.onCancelIdempotentList.<anonymous>' call
|
|
3804
3855
|
var tmp1__anonymous__uwfjfc = list_0.j(i);
|
|
3805
|
-
tmp1__anonymous__uwfjfc.
|
|
3856
|
+
tmp1__anonymous__uwfjfc.is(closed);
|
|
3806
3857
|
}
|
|
3807
3858
|
while (0 <= inductionVariable);
|
|
3808
3859
|
}
|
|
3809
3860
|
}
|
|
3810
3861
|
}
|
|
3811
3862
|
};
|
|
3812
|
-
protoOf(AbstractChannel).
|
|
3863
|
+
protoOf(AbstractChannel).js = function () {
|
|
3813
3864
|
var tmp$ret$0;
|
|
3814
3865
|
// Inline function 'kotlin.also' call
|
|
3815
|
-
var tmp0_also = protoOf(AbstractSendChannel).
|
|
3866
|
+
var tmp0_also = protoOf(AbstractSendChannel).js.call(this);
|
|
3816
3867
|
// Inline function 'kotlin.contracts.contract' call
|
|
3817
3868
|
// Inline function 'kotlinx.coroutines.channels.AbstractChannel.takeFirstReceiveOrPeekClosed.<anonymous>' call
|
|
3818
3869
|
var tmp;
|
|
@@ -3822,24 +3873,24 @@
|
|
|
3822
3873
|
tmp = false;
|
|
3823
3874
|
}
|
|
3824
3875
|
if (tmp) {
|
|
3825
|
-
this.
|
|
3876
|
+
this.tq();
|
|
3826
3877
|
}
|
|
3827
3878
|
tmp$ret$0 = tmp0_also;
|
|
3828
3879
|
return tmp$ret$0;
|
|
3829
3880
|
};
|
|
3830
|
-
protoOf(AbstractChannel).nq = function () {
|
|
3831
|
-
};
|
|
3832
3881
|
protoOf(AbstractChannel).qq = function () {
|
|
3833
3882
|
};
|
|
3883
|
+
protoOf(AbstractChannel).tq = function () {
|
|
3884
|
+
};
|
|
3834
3885
|
function _get_isFullImpl__v905xu($this) {
|
|
3835
3886
|
var tmp;
|
|
3836
3887
|
var tmp$ret$0;
|
|
3837
3888
|
// Inline function 'kotlinx.coroutines.internal.LinkedListNode.nextNode' call
|
|
3838
|
-
var tmp0__get_nextNode__vg4li4 = $this.
|
|
3889
|
+
var tmp0__get_nextNode__vg4li4 = $this.yp_1;
|
|
3839
3890
|
tmp$ret$0 = tmp0__get_nextNode__vg4li4.si_1;
|
|
3840
3891
|
var tmp_0 = tmp$ret$0;
|
|
3841
3892
|
if (!isInterface(tmp_0, ReceiveOrClosed)) {
|
|
3842
|
-
tmp = $this.
|
|
3893
|
+
tmp = $this.ls();
|
|
3843
3894
|
} else {
|
|
3844
3895
|
tmp = false;
|
|
3845
3896
|
}
|
|
@@ -3855,8 +3906,8 @@
|
|
|
3855
3906
|
// Inline function 'kotlinx.coroutines.channels.AbstractSendChannel.sendSuspend.<anonymous>' call
|
|
3856
3907
|
loop: while (true) {
|
|
3857
3908
|
if (_get_isFullImpl__v905xu($this)) {
|
|
3858
|
-
var send = $this.
|
|
3859
|
-
var enqueueResult = $this.
|
|
3909
|
+
var send = $this.xp_1 == null ? new SendElement(element, cancellable) : new SendElementWithUndeliveredHandler(element, cancellable, $this.xp_1);
|
|
3910
|
+
var enqueueResult = $this.os(send);
|
|
3860
3911
|
if (enqueueResult == null) {
|
|
3861
3912
|
removeOnCancellation(cancellable, send);
|
|
3862
3913
|
tmp$ret$0 = Unit_getInstance();
|
|
@@ -3878,7 +3929,7 @@
|
|
|
3878
3929
|
}
|
|
3879
3930
|
}
|
|
3880
3931
|
}
|
|
3881
|
-
var offerResult = $this.
|
|
3932
|
+
var offerResult = $this.ms(element);
|
|
3882
3933
|
if (offerResult === get_OFFER_SUCCESS()) {
|
|
3883
3934
|
var tmp$ret$2;
|
|
3884
3935
|
// Inline function 'kotlin.coroutines.resume' call
|
|
@@ -3886,7 +3937,7 @@
|
|
|
3886
3937
|
// Inline function 'kotlin.Companion.success' call
|
|
3887
3938
|
var tmp1_success = Companion_getInstance();
|
|
3888
3939
|
tmp$ret$1 = _Result___init__impl__xyqfz8(Unit_getInstance());
|
|
3889
|
-
cancellable.
|
|
3940
|
+
cancellable.q3(tmp$ret$1);
|
|
3890
3941
|
tmp$ret$2 = Unit_getInstance();
|
|
3891
3942
|
tmp$ret$0 = Unit_getInstance();
|
|
3892
3943
|
break $l$block_2;
|
|
@@ -3912,8 +3963,8 @@
|
|
|
3912
3963
|
}
|
|
3913
3964
|
function helpCloseAndResumeWithSendException(_this__u8e3s4, $this, element, closed) {
|
|
3914
3965
|
helpClose($this, closed);
|
|
3915
|
-
var sendException = closed.
|
|
3916
|
-
var tmp0_safe_receiver = $this.
|
|
3966
|
+
var sendException = closed.ss();
|
|
3967
|
+
var tmp0_safe_receiver = $this.xp_1;
|
|
3917
3968
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : callUndeliveredElementCatchingException(tmp0_safe_receiver, element);
|
|
3918
3969
|
if (tmp1_safe_receiver == null)
|
|
3919
3970
|
null;
|
|
@@ -3928,7 +3979,7 @@
|
|
|
3928
3979
|
// Inline function 'kotlin.Companion.failure' call
|
|
3929
3980
|
var tmp0_failure = Companion_getInstance();
|
|
3930
3981
|
tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(tmp1_safe_receiver));
|
|
3931
|
-
_this__u8e3s4.
|
|
3982
|
+
_this__u8e3s4.q3(tmp$ret$0);
|
|
3932
3983
|
tmp$ret$1 = Unit_getInstance();
|
|
3933
3984
|
return Unit_getInstance();
|
|
3934
3985
|
}
|
|
@@ -3938,12 +3989,12 @@
|
|
|
3938
3989
|
// Inline function 'kotlin.Companion.failure' call
|
|
3939
3990
|
var tmp0_failure_0 = Companion_getInstance();
|
|
3940
3991
|
tmp$ret$3 = _Result___init__impl__xyqfz8(createFailure(sendException));
|
|
3941
|
-
_this__u8e3s4.
|
|
3992
|
+
_this__u8e3s4.q3(tmp$ret$3);
|
|
3942
3993
|
tmp$ret$4 = Unit_getInstance();
|
|
3943
3994
|
}
|
|
3944
3995
|
function invokeOnCloseHandler($this, cause) {
|
|
3945
|
-
var handler = $this.
|
|
3946
|
-
if ((!(handler === null) ? !(handler === get_HANDLER_INVOKED()) : false) ? $this.
|
|
3996
|
+
var handler = $this.zp_1.kotlinx$atomicfu$value;
|
|
3997
|
+
if ((!(handler === null) ? !(handler === get_HANDLER_INVOKED()) : false) ? $this.zp_1.atomicfu$compareAndSet(handler, get_HANDLER_INVOKED()) : false) {
|
|
3947
3998
|
((!(handler == null) ? typeof handler === 'function' : false) ? handler : THROW_CCE())(cause);
|
|
3948
3999
|
}
|
|
3949
4000
|
}
|
|
@@ -3981,7 +4032,7 @@
|
|
|
3981
4032
|
// Inline function 'kotlinx.coroutines.channels.AbstractSendChannel.helpClose.<anonymous>' call
|
|
3982
4033
|
var tmp_1 = _get_holder__f6h5pd(tmp0_forEachReversed);
|
|
3983
4034
|
var tmp1__anonymous__uwfjfc = (tmp_1 == null ? true : isObject(tmp_1)) ? tmp_1 : THROW_CCE();
|
|
3984
|
-
tmp1__anonymous__uwfjfc.
|
|
4035
|
+
tmp1__anonymous__uwfjfc.jq(closed);
|
|
3985
4036
|
} else {
|
|
3986
4037
|
var tmp_2 = _get_holder__f6h5pd(tmp0_forEachReversed);
|
|
3987
4038
|
var list = tmp_2 instanceof ArrayList ? tmp_2 : THROW_CCE();
|
|
@@ -3992,21 +4043,21 @@
|
|
|
3992
4043
|
inductionVariable = inductionVariable + -1 | 0;
|
|
3993
4044
|
// Inline function 'kotlinx.coroutines.channels.AbstractSendChannel.helpClose.<anonymous>' call
|
|
3994
4045
|
var tmp2__anonymous__z9zvc9 = list.j(i);
|
|
3995
|
-
tmp2__anonymous__z9zvc9.
|
|
4046
|
+
tmp2__anonymous__z9zvc9.jq(closed);
|
|
3996
4047
|
}
|
|
3997
4048
|
while (0 <= inductionVariable);
|
|
3998
4049
|
}
|
|
3999
4050
|
}
|
|
4000
4051
|
}
|
|
4001
|
-
$this.
|
|
4052
|
+
$this.qs(closed);
|
|
4002
4053
|
}
|
|
4003
4054
|
function _get_queueDebugStateString__k7jj75($this) {
|
|
4004
4055
|
var tmp$ret$0;
|
|
4005
4056
|
// Inline function 'kotlinx.coroutines.internal.LinkedListNode.nextNode' call
|
|
4006
|
-
var tmp0__get_nextNode__vg4li4 = $this.
|
|
4057
|
+
var tmp0__get_nextNode__vg4li4 = $this.yp_1;
|
|
4007
4058
|
tmp$ret$0 = tmp0__get_nextNode__vg4li4.si_1;
|
|
4008
4059
|
var head = tmp$ret$0;
|
|
4009
|
-
if (head === $this.
|
|
4060
|
+
if (head === $this.yp_1)
|
|
4010
4061
|
return 'EmptyQueue';
|
|
4011
4062
|
var tmp0_subject = head;
|
|
4012
4063
|
var tmp;
|
|
@@ -4026,7 +4077,7 @@
|
|
|
4026
4077
|
var result = tmp;
|
|
4027
4078
|
var tmp$ret$1;
|
|
4028
4079
|
// Inline function 'kotlinx.coroutines.internal.LinkedListNode.prevNode' call
|
|
4029
|
-
var tmp1__get_prevNode__b1i0ed = $this.
|
|
4080
|
+
var tmp1__get_prevNode__b1i0ed = $this.yp_1;
|
|
4030
4081
|
tmp$ret$1 = tmp1__get_prevNode__b1i0ed.ti_1;
|
|
4031
4082
|
var tail = tmp$ret$1;
|
|
4032
4083
|
if (!(tail === head)) {
|
|
@@ -4039,7 +4090,7 @@
|
|
|
4039
4090
|
function countQueueSize($this) {
|
|
4040
4091
|
var size = 0;
|
|
4041
4092
|
// Inline function 'kotlinx.coroutines.internal.LinkedListHead.forEach' call
|
|
4042
|
-
var tmp0_forEach = $this.
|
|
4093
|
+
var tmp0_forEach = $this.yp_1;
|
|
4043
4094
|
var cur = tmp0_forEach.si_1;
|
|
4044
4095
|
while (!equals(cur, tmp0_forEach)) {
|
|
4045
4096
|
if (cur instanceof LinkedListNode) {
|
|
@@ -4054,12 +4105,12 @@
|
|
|
4054
4105
|
}
|
|
4055
4106
|
function SendBuffered(element) {
|
|
4056
4107
|
Send.call(this);
|
|
4057
|
-
this.
|
|
4108
|
+
this.ws_1 = element;
|
|
4058
4109
|
}
|
|
4059
|
-
protoOf(SendBuffered).
|
|
4060
|
-
return this.
|
|
4110
|
+
protoOf(SendBuffered).xr = function () {
|
|
4111
|
+
return this.ws_1;
|
|
4061
4112
|
};
|
|
4062
|
-
protoOf(SendBuffered).
|
|
4113
|
+
protoOf(SendBuffered).vr = function (otherOp) {
|
|
4063
4114
|
var tmp$ret$0;
|
|
4064
4115
|
// Inline function 'kotlin.also' call
|
|
4065
4116
|
var tmp0_also = get_RESUME_TOKEN();
|
|
@@ -4069,27 +4120,27 @@
|
|
|
4069
4120
|
if (tmp0_safe_receiver == null)
|
|
4070
4121
|
null;
|
|
4071
4122
|
else {
|
|
4072
|
-
tmp0_safe_receiver.
|
|
4123
|
+
tmp0_safe_receiver.ar();
|
|
4073
4124
|
}
|
|
4074
4125
|
tmp$ret$0 = tmp0_also;
|
|
4075
4126
|
return tmp$ret$0;
|
|
4076
4127
|
};
|
|
4077
|
-
protoOf(SendBuffered).
|
|
4128
|
+
protoOf(SendBuffered).wr = function () {
|
|
4078
4129
|
};
|
|
4079
|
-
protoOf(SendBuffered).
|
|
4130
|
+
protoOf(SendBuffered).is = function (closed) {
|
|
4080
4131
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
4081
4132
|
};
|
|
4082
4133
|
protoOf(SendBuffered).toString = function () {
|
|
4083
|
-
return 'SendBuffered@' + get_hexAddress(this) + '(' + this.
|
|
4134
|
+
return 'SendBuffered@' + get_hexAddress(this) + '(' + this.ws_1 + ')';
|
|
4084
4135
|
};
|
|
4085
4136
|
function AbstractSendChannel(onUndeliveredElement) {
|
|
4086
|
-
this.
|
|
4087
|
-
this.
|
|
4088
|
-
this.
|
|
4137
|
+
this.xp_1 = onUndeliveredElement;
|
|
4138
|
+
this.yp_1 = new LinkedListHead();
|
|
4139
|
+
this.zp_1 = atomic$ref$1(null);
|
|
4089
4140
|
}
|
|
4090
|
-
protoOf(AbstractSendChannel).
|
|
4141
|
+
protoOf(AbstractSendChannel).ms = function (element) {
|
|
4091
4142
|
while (true) {
|
|
4092
|
-
var tmp0_elvis_lhs = this.
|
|
4143
|
+
var tmp0_elvis_lhs = this.js();
|
|
4093
4144
|
var tmp;
|
|
4094
4145
|
if (tmp0_elvis_lhs == null) {
|
|
4095
4146
|
return get_OFFER_FAILED();
|
|
@@ -4097,18 +4148,18 @@
|
|
|
4097
4148
|
tmp = tmp0_elvis_lhs;
|
|
4098
4149
|
}
|
|
4099
4150
|
var receive = tmp;
|
|
4100
|
-
var token = receive.
|
|
4151
|
+
var token = receive.wq(element, null);
|
|
4101
4152
|
if (!(token == null)) {
|
|
4102
4153
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
4103
|
-
receive.
|
|
4104
|
-
return receive.
|
|
4154
|
+
receive.br(element);
|
|
4155
|
+
return receive.ir();
|
|
4105
4156
|
}
|
|
4106
4157
|
}
|
|
4107
4158
|
};
|
|
4108
|
-
protoOf(AbstractSendChannel).
|
|
4159
|
+
protoOf(AbstractSendChannel).gs = function () {
|
|
4109
4160
|
var tmp$ret$0;
|
|
4110
4161
|
// Inline function 'kotlinx.coroutines.internal.LinkedListNode.prevNode' call
|
|
4111
|
-
var tmp0__get_prevNode__2ljhpg = this.
|
|
4162
|
+
var tmp0__get_prevNode__2ljhpg = this.yp_1;
|
|
4112
4163
|
tmp$ret$0 = tmp0__get_prevNode__2ljhpg.ti_1;
|
|
4113
4164
|
var tmp = tmp$ret$0;
|
|
4114
4165
|
var tmp0_safe_receiver = tmp instanceof Closed ? tmp : null;
|
|
@@ -4126,10 +4177,10 @@
|
|
|
4126
4177
|
}
|
|
4127
4178
|
return tmp_0;
|
|
4128
4179
|
};
|
|
4129
|
-
protoOf(AbstractSendChannel).
|
|
4180
|
+
protoOf(AbstractSendChannel).as = function () {
|
|
4130
4181
|
var tmp$ret$0;
|
|
4131
4182
|
// Inline function 'kotlinx.coroutines.internal.LinkedListNode.nextNode' call
|
|
4132
|
-
var tmp0__get_nextNode__vg4li4 = this.
|
|
4183
|
+
var tmp0__get_nextNode__vg4li4 = this.yp_1;
|
|
4133
4184
|
tmp$ret$0 = tmp0__get_nextNode__vg4li4.si_1;
|
|
4134
4185
|
var tmp = tmp$ret$0;
|
|
4135
4186
|
var tmp0_safe_receiver = tmp instanceof Closed ? tmp : null;
|
|
@@ -4147,11 +4198,11 @@
|
|
|
4147
4198
|
}
|
|
4148
4199
|
return tmp_0;
|
|
4149
4200
|
};
|
|
4150
|
-
protoOf(AbstractSendChannel).
|
|
4201
|
+
protoOf(AbstractSendChannel).rr = function () {
|
|
4151
4202
|
var tmp$ret$0;
|
|
4152
4203
|
$l$block_1: {
|
|
4153
4204
|
// Inline function 'kotlinx.coroutines.internal.LinkedListNode.removeFirstIfIsInstanceOfOrPeekIf' call
|
|
4154
|
-
var tmp1_removeFirstIfIsInstanceOfOrPeekIf = this.
|
|
4205
|
+
var tmp1_removeFirstIfIsInstanceOfOrPeekIf = this.yp_1;
|
|
4155
4206
|
var next = tmp1_removeFirstIfIsInstanceOfOrPeekIf.si_1;
|
|
4156
4207
|
if (next === tmp1_removeFirstIfIsInstanceOfOrPeekIf) {
|
|
4157
4208
|
tmp$ret$0 = null;
|
|
@@ -4183,11 +4234,11 @@
|
|
|
4183
4234
|
}
|
|
4184
4235
|
return tmp$ret$0;
|
|
4185
4236
|
};
|
|
4186
|
-
protoOf(AbstractSendChannel).
|
|
4237
|
+
protoOf(AbstractSendChannel).xs = function (element) {
|
|
4187
4238
|
var tmp$ret$1;
|
|
4188
4239
|
$l$block: {
|
|
4189
4240
|
// Inline function 'kotlinx.coroutines.internal.LinkedListNode.addLastIfPrev' call
|
|
4190
|
-
var tmp0_addLastIfPrev = this.
|
|
4241
|
+
var tmp0_addLastIfPrev = this.yp_1;
|
|
4191
4242
|
var tmp1_addLastIfPrev = new SendBuffered(element);
|
|
4192
4243
|
var tmp$ret$0;
|
|
4193
4244
|
// Inline function 'kotlinx.coroutines.channels.AbstractSendChannel.sendBuffered.<anonymous>' call
|
|
@@ -4204,18 +4255,18 @@
|
|
|
4204
4255
|
}
|
|
4205
4256
|
return null;
|
|
4206
4257
|
};
|
|
4207
|
-
protoOf(AbstractSendChannel).
|
|
4208
|
-
if (this.
|
|
4258
|
+
protoOf(AbstractSendChannel).ns = function (element, $completion) {
|
|
4259
|
+
if (this.ms(element) === get_OFFER_SUCCESS())
|
|
4209
4260
|
return Unit_getInstance();
|
|
4210
4261
|
var tmp0 = sendSuspend(this, element, $completion);
|
|
4211
4262
|
return tmp0;
|
|
4212
4263
|
};
|
|
4213
|
-
protoOf(AbstractSendChannel).
|
|
4214
|
-
if (this.
|
|
4264
|
+
protoOf(AbstractSendChannel).os = function (send) {
|
|
4265
|
+
if (this.ks()) {
|
|
4215
4266
|
var tmp$ret$1;
|
|
4216
4267
|
$l$block: {
|
|
4217
4268
|
// Inline function 'kotlinx.coroutines.internal.LinkedListNode.addLastIfPrev' call
|
|
4218
|
-
var tmp0_addLastIfPrev = this.
|
|
4269
|
+
var tmp0_addLastIfPrev = this.yp_1;
|
|
4219
4270
|
var tmp$ret$0;
|
|
4220
4271
|
// Inline function 'kotlinx.coroutines.channels.AbstractSendChannel.enqueueSend.<anonymous>' call
|
|
4221
4272
|
var tmp1__anonymous__uwfjfc = tmp0_addLastIfPrev.ti_1;
|
|
@@ -4233,7 +4284,7 @@
|
|
|
4233
4284
|
var tmp$ret$3;
|
|
4234
4285
|
$l$block_1: {
|
|
4235
4286
|
// Inline function 'kotlinx.coroutines.internal.LinkedListNode.addLastIfPrevAndIf' call
|
|
4236
|
-
var tmp2_addLastIfPrevAndIf = this.
|
|
4287
|
+
var tmp2_addLastIfPrevAndIf = this.yp_1;
|
|
4237
4288
|
var tmp$ret$2;
|
|
4238
4289
|
// Inline function 'kotlinx.coroutines.channels.AbstractSendChannel.enqueueSend.<anonymous>' call
|
|
4239
4290
|
var tmp3__anonymous__ufb84q = tmp2_addLastIfPrevAndIf.ti_1;
|
|
@@ -4246,7 +4297,7 @@
|
|
|
4246
4297
|
}
|
|
4247
4298
|
var tmp$ret$4;
|
|
4248
4299
|
// Inline function 'kotlinx.coroutines.channels.AbstractSendChannel.enqueueSend.<anonymous>' call
|
|
4249
|
-
tmp$ret$4 = this.
|
|
4300
|
+
tmp$ret$4 = this.ls();
|
|
4250
4301
|
if (!tmp$ret$4) {
|
|
4251
4302
|
tmp$ret$3 = false;
|
|
4252
4303
|
break $l$block_1;
|
|
@@ -4259,12 +4310,12 @@
|
|
|
4259
4310
|
}
|
|
4260
4311
|
return null;
|
|
4261
4312
|
};
|
|
4262
|
-
protoOf(AbstractSendChannel).
|
|
4313
|
+
protoOf(AbstractSendChannel).es = function (cause) {
|
|
4263
4314
|
var closed = new Closed(cause);
|
|
4264
4315
|
var tmp$ret$1;
|
|
4265
4316
|
$l$block: {
|
|
4266
4317
|
// Inline function 'kotlinx.coroutines.internal.LinkedListNode.addLastIfPrev' call
|
|
4267
|
-
var tmp0_addLastIfPrev = this.
|
|
4318
|
+
var tmp0_addLastIfPrev = this.yp_1;
|
|
4268
4319
|
var tmp$ret$0;
|
|
4269
4320
|
// Inline function 'kotlinx.coroutines.channels.AbstractSendChannel.close.<anonymous>' call
|
|
4270
4321
|
var tmp1__anonymous__uwfjfc = tmp0_addLastIfPrev.ti_1;
|
|
@@ -4283,7 +4334,7 @@
|
|
|
4283
4334
|
} else {
|
|
4284
4335
|
var tmp$ret$2;
|
|
4285
4336
|
// Inline function 'kotlinx.coroutines.internal.LinkedListNode.prevNode' call
|
|
4286
|
-
var tmp2__get_prevNode__jhgj3a = this.
|
|
4337
|
+
var tmp2__get_prevNode__jhgj3a = this.yp_1;
|
|
4287
4338
|
tmp$ret$2 = tmp2__get_prevNode__jhgj3a.ti_1;
|
|
4288
4339
|
var tmp_0 = tmp$ret$2;
|
|
4289
4340
|
tmp = tmp_0 instanceof Closed ? tmp_0 : THROW_CCE();
|
|
@@ -4295,13 +4346,13 @@
|
|
|
4295
4346
|
}
|
|
4296
4347
|
return closeAdded;
|
|
4297
4348
|
};
|
|
4298
|
-
protoOf(AbstractSendChannel).
|
|
4349
|
+
protoOf(AbstractSendChannel).qs = function (closed) {
|
|
4299
4350
|
};
|
|
4300
|
-
protoOf(AbstractSendChannel).
|
|
4351
|
+
protoOf(AbstractSendChannel).js = function () {
|
|
4301
4352
|
var tmp$ret$0;
|
|
4302
4353
|
$l$block_1: {
|
|
4303
4354
|
// Inline function 'kotlinx.coroutines.internal.LinkedListNode.removeFirstIfIsInstanceOfOrPeekIf' call
|
|
4304
|
-
var tmp1_removeFirstIfIsInstanceOfOrPeekIf = this.
|
|
4355
|
+
var tmp1_removeFirstIfIsInstanceOfOrPeekIf = this.yp_1;
|
|
4305
4356
|
var next = tmp1_removeFirstIfIsInstanceOfOrPeekIf.si_1;
|
|
4306
4357
|
if (next === tmp1_removeFirstIfIsInstanceOfOrPeekIf) {
|
|
4307
4358
|
tmp$ret$0 = null;
|
|
@@ -4334,37 +4385,37 @@
|
|
|
4334
4385
|
return tmp$ret$0;
|
|
4335
4386
|
};
|
|
4336
4387
|
protoOf(AbstractSendChannel).toString = function () {
|
|
4337
|
-
return get_classSimpleName(this) + '@' + get_hexAddress(this) + '{' + _get_queueDebugStateString__k7jj75(this) + '}' + this.
|
|
4388
|
+
return get_classSimpleName(this) + '@' + get_hexAddress(this) + '{' + _get_queueDebugStateString__k7jj75(this) + '}' + this.rs();
|
|
4338
4389
|
};
|
|
4339
|
-
protoOf(AbstractSendChannel).
|
|
4390
|
+
protoOf(AbstractSendChannel).rs = function () {
|
|
4340
4391
|
return '';
|
|
4341
4392
|
};
|
|
4342
4393
|
function Send() {
|
|
4343
4394
|
LinkedListNode.call(this);
|
|
4344
4395
|
}
|
|
4345
|
-
protoOf(Send).
|
|
4396
|
+
protoOf(Send).yr = function () {
|
|
4346
4397
|
};
|
|
4347
4398
|
function ReceiveOrClosed() {
|
|
4348
4399
|
}
|
|
4349
4400
|
function Closed(closeCause) {
|
|
4350
4401
|
Send.call(this);
|
|
4351
|
-
this.
|
|
4402
|
+
this.fr_1 = closeCause;
|
|
4352
4403
|
}
|
|
4353
|
-
protoOf(Closed).
|
|
4354
|
-
var tmp0_elvis_lhs = this.
|
|
4404
|
+
protoOf(Closed).ss = function () {
|
|
4405
|
+
var tmp0_elvis_lhs = this.fr_1;
|
|
4355
4406
|
return tmp0_elvis_lhs == null ? new ClosedSendChannelException(get_DEFAULT_CLOSE_MESSAGE()) : tmp0_elvis_lhs;
|
|
4356
4407
|
};
|
|
4357
|
-
protoOf(Closed).
|
|
4358
|
-
var tmp0_elvis_lhs = this.
|
|
4408
|
+
protoOf(Closed).gr = function () {
|
|
4409
|
+
var tmp0_elvis_lhs = this.fr_1;
|
|
4359
4410
|
return tmp0_elvis_lhs == null ? new ClosedReceiveChannelException(get_DEFAULT_CLOSE_MESSAGE()) : tmp0_elvis_lhs;
|
|
4360
4411
|
};
|
|
4361
|
-
protoOf(Closed).
|
|
4412
|
+
protoOf(Closed).ir = function () {
|
|
4362
4413
|
return this;
|
|
4363
4414
|
};
|
|
4364
|
-
protoOf(Closed).
|
|
4415
|
+
protoOf(Closed).xr = function () {
|
|
4365
4416
|
return this;
|
|
4366
4417
|
};
|
|
4367
|
-
protoOf(Closed).
|
|
4418
|
+
protoOf(Closed).vr = function (otherOp) {
|
|
4368
4419
|
var tmp$ret$0;
|
|
4369
4420
|
// Inline function 'kotlin.also' call
|
|
4370
4421
|
var tmp0_also = get_RESUME_TOKEN();
|
|
@@ -4374,14 +4425,14 @@
|
|
|
4374
4425
|
if (tmp0_safe_receiver == null)
|
|
4375
4426
|
null;
|
|
4376
4427
|
else {
|
|
4377
|
-
tmp0_safe_receiver.
|
|
4428
|
+
tmp0_safe_receiver.ar();
|
|
4378
4429
|
}
|
|
4379
4430
|
tmp$ret$0 = tmp0_also;
|
|
4380
4431
|
return tmp$ret$0;
|
|
4381
4432
|
};
|
|
4382
|
-
protoOf(Closed).
|
|
4433
|
+
protoOf(Closed).wr = function () {
|
|
4383
4434
|
};
|
|
4384
|
-
protoOf(Closed).
|
|
4435
|
+
protoOf(Closed).wq = function (value, otherOp) {
|
|
4385
4436
|
var tmp$ret$0;
|
|
4386
4437
|
// Inline function 'kotlin.also' call
|
|
4387
4438
|
var tmp0_also = get_RESUME_TOKEN();
|
|
@@ -4391,39 +4442,39 @@
|
|
|
4391
4442
|
if (tmp0_safe_receiver == null)
|
|
4392
4443
|
null;
|
|
4393
4444
|
else {
|
|
4394
|
-
tmp0_safe_receiver.
|
|
4445
|
+
tmp0_safe_receiver.ar();
|
|
4395
4446
|
}
|
|
4396
4447
|
tmp$ret$0 = tmp0_also;
|
|
4397
4448
|
return tmp$ret$0;
|
|
4398
4449
|
};
|
|
4399
|
-
protoOf(Closed).
|
|
4450
|
+
protoOf(Closed).br = function (value) {
|
|
4400
4451
|
};
|
|
4401
|
-
protoOf(Closed).
|
|
4452
|
+
protoOf(Closed).is = function (closed) {
|
|
4402
4453
|
return Unit_getInstance();
|
|
4403
4454
|
};
|
|
4404
4455
|
protoOf(Closed).toString = function () {
|
|
4405
|
-
return 'Closed@' + get_hexAddress(this) + '[' + this.
|
|
4456
|
+
return 'Closed@' + get_hexAddress(this) + '[' + this.fr_1 + ']';
|
|
4406
4457
|
};
|
|
4407
4458
|
function Receive() {
|
|
4408
4459
|
LinkedListNode.call(this);
|
|
4409
4460
|
}
|
|
4410
|
-
protoOf(Receive).
|
|
4461
|
+
protoOf(Receive).ir = function () {
|
|
4411
4462
|
return get_OFFER_SUCCESS();
|
|
4412
4463
|
};
|
|
4413
|
-
protoOf(Receive).
|
|
4464
|
+
protoOf(Receive).oq = function (value) {
|
|
4414
4465
|
return null;
|
|
4415
4466
|
};
|
|
4416
4467
|
function SendElement(pollResult, cont) {
|
|
4417
4468
|
Send.call(this);
|
|
4418
|
-
this.
|
|
4419
|
-
this.
|
|
4469
|
+
this.bt_1 = pollResult;
|
|
4470
|
+
this.ct_1 = cont;
|
|
4420
4471
|
}
|
|
4421
|
-
protoOf(SendElement).
|
|
4422
|
-
return this.
|
|
4472
|
+
protoOf(SendElement).xr = function () {
|
|
4473
|
+
return this.bt_1;
|
|
4423
4474
|
};
|
|
4424
|
-
protoOf(SendElement).
|
|
4475
|
+
protoOf(SendElement).vr = function (otherOp) {
|
|
4425
4476
|
var tmp0_safe_receiver = otherOp;
|
|
4426
|
-
var tmp1_elvis_lhs = this.
|
|
4477
|
+
var tmp1_elvis_lhs = this.ct_1.mk(Unit_getInstance(), tmp0_safe_receiver == null ? null : tmp0_safe_receiver.yq_1);
|
|
4427
4478
|
var tmp;
|
|
4428
4479
|
if (tmp1_elvis_lhs == null) {
|
|
4429
4480
|
return null;
|
|
@@ -4436,41 +4487,41 @@
|
|
|
4436
4487
|
if (tmp2_safe_receiver == null)
|
|
4437
4488
|
null;
|
|
4438
4489
|
else {
|
|
4439
|
-
tmp2_safe_receiver.
|
|
4490
|
+
tmp2_safe_receiver.ar();
|
|
4440
4491
|
}
|
|
4441
4492
|
return get_RESUME_TOKEN();
|
|
4442
4493
|
};
|
|
4443
|
-
protoOf(SendElement).
|
|
4444
|
-
return this.
|
|
4494
|
+
protoOf(SendElement).wr = function () {
|
|
4495
|
+
return this.ct_1.li(get_RESUME_TOKEN());
|
|
4445
4496
|
};
|
|
4446
|
-
protoOf(SendElement).
|
|
4497
|
+
protoOf(SendElement).is = function (closed) {
|
|
4447
4498
|
var tmp$ret$1;
|
|
4448
4499
|
// Inline function 'kotlin.coroutines.resumeWithException' call
|
|
4449
|
-
var tmp1_resumeWithException = this.
|
|
4450
|
-
var tmp2_resumeWithException = closed.
|
|
4500
|
+
var tmp1_resumeWithException = this.ct_1;
|
|
4501
|
+
var tmp2_resumeWithException = closed.ss();
|
|
4451
4502
|
var tmp$ret$0;
|
|
4452
4503
|
// Inline function 'kotlin.Companion.failure' call
|
|
4453
4504
|
var tmp0_failure = Companion_getInstance();
|
|
4454
4505
|
tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(tmp2_resumeWithException));
|
|
4455
|
-
tmp1_resumeWithException.
|
|
4506
|
+
tmp1_resumeWithException.q3(tmp$ret$0);
|
|
4456
4507
|
tmp$ret$1 = Unit_getInstance();
|
|
4457
4508
|
return tmp$ret$1;
|
|
4458
4509
|
};
|
|
4459
4510
|
protoOf(SendElement).toString = function () {
|
|
4460
|
-
return get_classSimpleName(this) + '@' + get_hexAddress(this) + '(' + this.
|
|
4511
|
+
return get_classSimpleName(this) + '@' + get_hexAddress(this) + '(' + this.xr() + ')';
|
|
4461
4512
|
};
|
|
4462
4513
|
function SendElementWithUndeliveredHandler(pollResult, cont, onUndeliveredElement) {
|
|
4463
4514
|
SendElement.call(this, pollResult, cont);
|
|
4464
|
-
this.
|
|
4515
|
+
this.it_1 = onUndeliveredElement;
|
|
4465
4516
|
}
|
|
4466
4517
|
protoOf(SendElementWithUndeliveredHandler).wi = function () {
|
|
4467
4518
|
if (!protoOf(SendElement).wi.call(this))
|
|
4468
4519
|
return false;
|
|
4469
|
-
this.
|
|
4520
|
+
this.yr();
|
|
4470
4521
|
return true;
|
|
4471
4522
|
};
|
|
4472
|
-
protoOf(SendElementWithUndeliveredHandler).
|
|
4473
|
-
callUndeliveredElement(this.
|
|
4523
|
+
protoOf(SendElementWithUndeliveredHandler).yr = function () {
|
|
4524
|
+
callUndeliveredElement(this.it_1, this.xr(), this.ct_1.p3());
|
|
4474
4525
|
};
|
|
4475
4526
|
var properties_initialized_AbstractChannel_kt_uwqnpt;
|
|
4476
4527
|
function _init_properties_AbstractChannel_kt__sw8o27() {
|
|
@@ -4486,12 +4537,12 @@
|
|
|
4486
4537
|
}
|
|
4487
4538
|
}
|
|
4488
4539
|
function updateBufferSize($this, currentSize) {
|
|
4489
|
-
if (currentSize < $this.
|
|
4490
|
-
$this.
|
|
4540
|
+
if (currentSize < $this.mt_1) {
|
|
4541
|
+
$this.rt_1.kotlinx$atomicfu$value = currentSize + 1 | 0;
|
|
4491
4542
|
return null;
|
|
4492
4543
|
}
|
|
4493
|
-
var tmp0_subject = $this.
|
|
4494
|
-
var tmp0 = tmp0_subject.
|
|
4544
|
+
var tmp0_subject = $this.nt_1;
|
|
4545
|
+
var tmp0 = tmp0_subject.g4_1;
|
|
4495
4546
|
var tmp;
|
|
4496
4547
|
switch (tmp0) {
|
|
4497
4548
|
case 0:
|
|
@@ -4510,22 +4561,22 @@
|
|
|
4510
4561
|
return tmp;
|
|
4511
4562
|
}
|
|
4512
4563
|
function enqueueElement($this, currentSize, element) {
|
|
4513
|
-
if (currentSize < $this.
|
|
4564
|
+
if (currentSize < $this.mt_1) {
|
|
4514
4565
|
ensureCapacity($this, currentSize);
|
|
4515
|
-
$this.
|
|
4566
|
+
$this.pt_1[($this.qt_1 + currentSize | 0) % $this.pt_1.length | 0] = element;
|
|
4516
4567
|
} else {
|
|
4517
4568
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
4518
|
-
$this.
|
|
4519
|
-
$this.
|
|
4520
|
-
$this.
|
|
4569
|
+
$this.pt_1[$this.qt_1 % $this.pt_1.length | 0] = null;
|
|
4570
|
+
$this.pt_1[($this.qt_1 + currentSize | 0) % $this.pt_1.length | 0] = element;
|
|
4571
|
+
$this.qt_1 = ($this.qt_1 + 1 | 0) % $this.pt_1.length | 0;
|
|
4521
4572
|
}
|
|
4522
4573
|
}
|
|
4523
4574
|
function ensureCapacity($this, currentSize) {
|
|
4524
|
-
if (currentSize >= $this.
|
|
4575
|
+
if (currentSize >= $this.pt_1.length) {
|
|
4525
4576
|
var tmp$ret$0;
|
|
4526
4577
|
// Inline function 'kotlin.math.min' call
|
|
4527
|
-
var tmp0_min = imul($this.
|
|
4528
|
-
var tmp1_min = $this.
|
|
4578
|
+
var tmp0_min = imul($this.pt_1.length, 2);
|
|
4579
|
+
var tmp1_min = $this.mt_1;
|
|
4529
4580
|
tmp$ret$0 = Math.min(tmp0_min, tmp1_min);
|
|
4530
4581
|
var newSize = tmp$ret$0;
|
|
4531
4582
|
var tmp$ret$1;
|
|
@@ -4537,29 +4588,29 @@
|
|
|
4537
4588
|
do {
|
|
4538
4589
|
var i = inductionVariable;
|
|
4539
4590
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4540
|
-
newBuffer[i] = $this.
|
|
4591
|
+
newBuffer[i] = $this.pt_1[($this.qt_1 + i | 0) % $this.pt_1.length | 0];
|
|
4541
4592
|
}
|
|
4542
4593
|
while (inductionVariable < currentSize);
|
|
4543
4594
|
fill(newBuffer, get_EMPTY(), currentSize, newSize);
|
|
4544
|
-
$this.
|
|
4545
|
-
$this.
|
|
4595
|
+
$this.pt_1 = newBuffer;
|
|
4596
|
+
$this.qt_1 = 0;
|
|
4546
4597
|
}
|
|
4547
4598
|
}
|
|
4548
4599
|
function ArrayChannel(capacity, onBufferOverflow, onUndeliveredElement) {
|
|
4549
4600
|
AbstractChannel.call(this, onUndeliveredElement);
|
|
4550
|
-
this.
|
|
4551
|
-
this.
|
|
4601
|
+
this.mt_1 = capacity;
|
|
4602
|
+
this.nt_1 = onBufferOverflow;
|
|
4552
4603
|
// Inline function 'kotlin.require' call
|
|
4553
|
-
var tmp0_require = this.
|
|
4604
|
+
var tmp0_require = this.mt_1 >= 1;
|
|
4554
4605
|
// Inline function 'kotlin.contracts.contract' call
|
|
4555
4606
|
if (!tmp0_require) {
|
|
4556
4607
|
var tmp$ret$0;
|
|
4557
4608
|
// Inline function 'kotlinx.coroutines.channels.ArrayChannel.<anonymous>' call
|
|
4558
|
-
tmp$ret$0 = 'ArrayChannel capacity must be at least 1, but ' + this.
|
|
4609
|
+
tmp$ret$0 = 'ArrayChannel capacity must be at least 1, but ' + this.mt_1 + ' was specified';
|
|
4559
4610
|
var message = tmp$ret$0;
|
|
4560
4611
|
throw IllegalArgumentException_init_$Create$(toString_0(message));
|
|
4561
4612
|
}
|
|
4562
|
-
this.
|
|
4613
|
+
this.ot_1 = new NoOpLock();
|
|
4563
4614
|
var tmp = this;
|
|
4564
4615
|
var tmp$ret$3;
|
|
4565
4616
|
// Inline function 'kotlin.apply' call
|
|
@@ -4567,7 +4618,7 @@
|
|
|
4567
4618
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
4568
4619
|
var tmp$ret$1;
|
|
4569
4620
|
// Inline function 'kotlin.math.min' call
|
|
4570
|
-
var tmp0_min = this.
|
|
4621
|
+
var tmp0_min = this.mt_1;
|
|
4571
4622
|
tmp$ret$1 = Math.min(tmp0_min, 8);
|
|
4572
4623
|
var tmp1_arrayOfNulls = tmp$ret$1;
|
|
4573
4624
|
tmp$ret$2 = fillArrayVal(Array(tmp1_arrayOfNulls), null);
|
|
@@ -4576,42 +4627,42 @@
|
|
|
4576
4627
|
// Inline function 'kotlinx.coroutines.channels.ArrayChannel.buffer.<anonymous>' call
|
|
4577
4628
|
fill(tmp2_apply, get_EMPTY());
|
|
4578
4629
|
tmp$ret$3 = tmp2_apply;
|
|
4579
|
-
tmp.
|
|
4580
|
-
this.
|
|
4581
|
-
this.
|
|
4630
|
+
tmp.pt_1 = tmp$ret$3;
|
|
4631
|
+
this.qt_1 = 0;
|
|
4632
|
+
this.rt_1 = atomic$int$1(0);
|
|
4582
4633
|
}
|
|
4583
|
-
protoOf(ArrayChannel).
|
|
4634
|
+
protoOf(ArrayChannel).pr = function () {
|
|
4584
4635
|
return false;
|
|
4585
4636
|
};
|
|
4586
|
-
protoOf(ArrayChannel).
|
|
4587
|
-
return this.
|
|
4637
|
+
protoOf(ArrayChannel).qr = function () {
|
|
4638
|
+
return this.rt_1.kotlinx$atomicfu$value === 0;
|
|
4588
4639
|
};
|
|
4589
|
-
protoOf(ArrayChannel).
|
|
4640
|
+
protoOf(ArrayChannel).ks = function () {
|
|
4590
4641
|
return false;
|
|
4591
4642
|
};
|
|
4592
|
-
protoOf(ArrayChannel).
|
|
4593
|
-
return this.
|
|
4643
|
+
protoOf(ArrayChannel).ls = function () {
|
|
4644
|
+
return this.rt_1.kotlinx$atomicfu$value === this.mt_1 ? this.nt_1.equals(BufferOverflow_SUSPEND_getInstance()) : false;
|
|
4594
4645
|
};
|
|
4595
|
-
protoOf(ArrayChannel).
|
|
4646
|
+
protoOf(ArrayChannel).zr = function () {
|
|
4596
4647
|
var tmp$ret$1;
|
|
4597
4648
|
// Inline function 'kotlinx.coroutines.internal.withLock' call
|
|
4598
|
-
var tmp0_withLock = this.
|
|
4649
|
+
var tmp0_withLock = this.ot_1;
|
|
4599
4650
|
var tmp$ret$0;
|
|
4600
4651
|
// Inline function 'kotlinx.coroutines.channels.ArrayChannel.<get-isClosedForReceive>.<anonymous>' call
|
|
4601
|
-
tmp$ret$0 = protoOf(AbstractChannel).
|
|
4652
|
+
tmp$ret$0 = protoOf(AbstractChannel).zr.call(this);
|
|
4602
4653
|
tmp$ret$1 = tmp$ret$0;
|
|
4603
4654
|
return tmp$ret$1;
|
|
4604
4655
|
};
|
|
4605
|
-
protoOf(ArrayChannel).
|
|
4656
|
+
protoOf(ArrayChannel).ms = function (element) {
|
|
4606
4657
|
var receive = null;
|
|
4607
4658
|
var tmp$ret$3;
|
|
4608
4659
|
// Inline function 'kotlinx.coroutines.internal.withLock' call
|
|
4609
|
-
var tmp0_withLock = this.
|
|
4660
|
+
var tmp0_withLock = this.ot_1;
|
|
4610
4661
|
var tmp$ret$2;
|
|
4611
4662
|
$l$block: {
|
|
4612
4663
|
// Inline function 'kotlinx.coroutines.channels.ArrayChannel.offerInternal.<anonymous>' call
|
|
4613
|
-
var size = this.
|
|
4614
|
-
var tmp0_safe_receiver = this.
|
|
4664
|
+
var size = this.rt_1.kotlinx$atomicfu$value;
|
|
4665
|
+
var tmp0_safe_receiver = this.gs();
|
|
4615
4666
|
if (tmp0_safe_receiver == null)
|
|
4616
4667
|
null;
|
|
4617
4668
|
else {
|
|
@@ -4631,7 +4682,7 @@
|
|
|
4631
4682
|
}
|
|
4632
4683
|
if (size === 0) {
|
|
4633
4684
|
loop: while (true) {
|
|
4634
|
-
var tmp2_elvis_lhs = this.
|
|
4685
|
+
var tmp2_elvis_lhs = this.js();
|
|
4635
4686
|
var tmp;
|
|
4636
4687
|
if (tmp2_elvis_lhs == null) {
|
|
4637
4688
|
break loop;
|
|
@@ -4640,13 +4691,13 @@
|
|
|
4640
4691
|
}
|
|
4641
4692
|
receive = tmp;
|
|
4642
4693
|
if (receive instanceof Closed) {
|
|
4643
|
-
this.
|
|
4694
|
+
this.rt_1.kotlinx$atomicfu$value = size;
|
|
4644
4695
|
return ensureNotNull(receive);
|
|
4645
4696
|
}
|
|
4646
|
-
var token = ensureNotNull(receive).
|
|
4697
|
+
var token = ensureNotNull(receive).wq(element, null);
|
|
4647
4698
|
if (!(token == null)) {
|
|
4648
4699
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
4649
|
-
this.
|
|
4700
|
+
this.rt_1.kotlinx$atomicfu$value = size;
|
|
4650
4701
|
tmp$ret$2 = Unit_getInstance();
|
|
4651
4702
|
break $l$block;
|
|
4652
4703
|
}
|
|
@@ -4656,38 +4707,38 @@
|
|
|
4656
4707
|
return get_OFFER_SUCCESS();
|
|
4657
4708
|
}
|
|
4658
4709
|
tmp$ret$3 = tmp$ret$2;
|
|
4659
|
-
ensureNotNull(receive).
|
|
4660
|
-
return ensureNotNull(receive).
|
|
4710
|
+
ensureNotNull(receive).br(element);
|
|
4711
|
+
return ensureNotNull(receive).ir();
|
|
4661
4712
|
};
|
|
4662
|
-
protoOf(ArrayChannel).
|
|
4713
|
+
protoOf(ArrayChannel).os = function (send) {
|
|
4663
4714
|
var tmp$ret$1;
|
|
4664
4715
|
// Inline function 'kotlinx.coroutines.internal.withLock' call
|
|
4665
|
-
var tmp0_withLock = this.
|
|
4716
|
+
var tmp0_withLock = this.ot_1;
|
|
4666
4717
|
var tmp$ret$0;
|
|
4667
4718
|
// Inline function 'kotlinx.coroutines.channels.ArrayChannel.enqueueSend.<anonymous>' call
|
|
4668
|
-
tmp$ret$0 = protoOf(AbstractChannel).
|
|
4719
|
+
tmp$ret$0 = protoOf(AbstractChannel).os.call(this, send);
|
|
4669
4720
|
tmp$ret$1 = tmp$ret$0;
|
|
4670
4721
|
return tmp$ret$1;
|
|
4671
4722
|
};
|
|
4672
|
-
protoOf(ArrayChannel).
|
|
4723
|
+
protoOf(ArrayChannel).dq = function () {
|
|
4673
4724
|
var send = null;
|
|
4674
4725
|
var resumed = false;
|
|
4675
4726
|
var result = null;
|
|
4676
4727
|
var tmp$ret$0;
|
|
4677
4728
|
// Inline function 'kotlinx.coroutines.internal.withLock' call
|
|
4678
|
-
var tmp0_withLock = this.
|
|
4679
|
-
var size = this.
|
|
4729
|
+
var tmp0_withLock = this.ot_1;
|
|
4730
|
+
var size = this.rt_1.kotlinx$atomicfu$value;
|
|
4680
4731
|
if (size === 0) {
|
|
4681
|
-
var tmp0_elvis_lhs = this.
|
|
4732
|
+
var tmp0_elvis_lhs = this.gs();
|
|
4682
4733
|
return tmp0_elvis_lhs == null ? get_POLL_FAILED() : tmp0_elvis_lhs;
|
|
4683
4734
|
}
|
|
4684
|
-
result = this.
|
|
4685
|
-
this.
|
|
4686
|
-
this.
|
|
4735
|
+
result = this.pt_1[this.qt_1];
|
|
4736
|
+
this.pt_1[this.qt_1] = null;
|
|
4737
|
+
this.rt_1.kotlinx$atomicfu$value = size - 1 | 0;
|
|
4687
4738
|
var replacement = get_POLL_FAILED();
|
|
4688
|
-
if (size === this.
|
|
4739
|
+
if (size === this.mt_1) {
|
|
4689
4740
|
loop: while (true) {
|
|
4690
|
-
var tmp1_elvis_lhs = this.
|
|
4741
|
+
var tmp1_elvis_lhs = this.rr();
|
|
4691
4742
|
var tmp;
|
|
4692
4743
|
if (tmp1_elvis_lhs == null) {
|
|
4693
4744
|
break loop;
|
|
@@ -4695,14 +4746,14 @@
|
|
|
4695
4746
|
tmp = tmp1_elvis_lhs;
|
|
4696
4747
|
}
|
|
4697
4748
|
send = tmp;
|
|
4698
|
-
var token = ensureNotNull(send).
|
|
4749
|
+
var token = ensureNotNull(send).vr(null);
|
|
4699
4750
|
if (!(token == null)) {
|
|
4700
4751
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
4701
4752
|
resumed = true;
|
|
4702
|
-
replacement = ensureNotNull(send).
|
|
4753
|
+
replacement = ensureNotNull(send).xr();
|
|
4703
4754
|
break loop;
|
|
4704
4755
|
}
|
|
4705
|
-
ensureNotNull(send).
|
|
4756
|
+
ensureNotNull(send).yr();
|
|
4706
4757
|
}
|
|
4707
4758
|
}
|
|
4708
4759
|
var tmp_0;
|
|
@@ -4712,34 +4763,34 @@
|
|
|
4712
4763
|
tmp_0 = false;
|
|
4713
4764
|
}
|
|
4714
4765
|
if (tmp_0) {
|
|
4715
|
-
this.
|
|
4716
|
-
this.
|
|
4766
|
+
this.rt_1.kotlinx$atomicfu$value = size;
|
|
4767
|
+
this.pt_1[(this.qt_1 + size | 0) % this.pt_1.length | 0] = replacement;
|
|
4717
4768
|
}
|
|
4718
|
-
this.
|
|
4769
|
+
this.qt_1 = (this.qt_1 + 1 | 0) % this.pt_1.length | 0;
|
|
4719
4770
|
tmp$ret$0 = Unit_getInstance();
|
|
4720
4771
|
if (resumed) {
|
|
4721
|
-
ensureNotNull(send).
|
|
4772
|
+
ensureNotNull(send).wr();
|
|
4722
4773
|
}
|
|
4723
4774
|
return result;
|
|
4724
4775
|
};
|
|
4725
|
-
protoOf(ArrayChannel).
|
|
4776
|
+
protoOf(ArrayChannel).pq = function (receive) {
|
|
4726
4777
|
var tmp$ret$1;
|
|
4727
4778
|
// Inline function 'kotlinx.coroutines.internal.withLock' call
|
|
4728
|
-
var tmp0_withLock = this.
|
|
4779
|
+
var tmp0_withLock = this.ot_1;
|
|
4729
4780
|
var tmp$ret$0;
|
|
4730
4781
|
// Inline function 'kotlinx.coroutines.channels.ArrayChannel.enqueueReceiveInternal.<anonymous>' call
|
|
4731
|
-
tmp$ret$0 = protoOf(AbstractChannel).
|
|
4782
|
+
tmp$ret$0 = protoOf(AbstractChannel).pq.call(this, receive);
|
|
4732
4783
|
tmp$ret$1 = tmp$ret$0;
|
|
4733
4784
|
return tmp$ret$1;
|
|
4734
4785
|
};
|
|
4735
|
-
protoOf(ArrayChannel).
|
|
4736
|
-
var onUndeliveredElement = this.
|
|
4786
|
+
protoOf(ArrayChannel).fs = function (wasClosed) {
|
|
4787
|
+
var onUndeliveredElement = this.xp_1;
|
|
4737
4788
|
var undeliveredElementException = null;
|
|
4738
4789
|
var tmp$ret$0;
|
|
4739
4790
|
// Inline function 'kotlinx.coroutines.internal.withLock' call
|
|
4740
|
-
var tmp0_withLock = this.
|
|
4791
|
+
var tmp0_withLock = this.ot_1;
|
|
4741
4792
|
// Inline function 'kotlin.repeat' call
|
|
4742
|
-
var tmp0_repeat = this.
|
|
4793
|
+
var tmp0_repeat = this.rt_1.kotlinx$atomicfu$value;
|
|
4743
4794
|
// Inline function 'kotlin.contracts.contract' call
|
|
4744
4795
|
var inductionVariable = 0;
|
|
4745
4796
|
if (inductionVariable < tmp0_repeat)
|
|
@@ -4747,17 +4798,17 @@
|
|
|
4747
4798
|
var index = inductionVariable;
|
|
4748
4799
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4749
4800
|
// Inline function 'kotlinx.coroutines.channels.ArrayChannel.onCancelIdempotent.<anonymous>.<anonymous>' call
|
|
4750
|
-
var value = this.
|
|
4801
|
+
var value = this.pt_1[this.qt_1];
|
|
4751
4802
|
if (!(onUndeliveredElement == null) ? !(value === get_EMPTY()) : false) {
|
|
4752
4803
|
undeliveredElementException = callUndeliveredElementCatchingException(onUndeliveredElement, (value == null ? true : isObject(value)) ? value : THROW_CCE(), undeliveredElementException);
|
|
4753
4804
|
}
|
|
4754
|
-
this.
|
|
4755
|
-
this.
|
|
4805
|
+
this.pt_1[this.qt_1] = get_EMPTY();
|
|
4806
|
+
this.qt_1 = (this.qt_1 + 1 | 0) % this.pt_1.length | 0;
|
|
4756
4807
|
}
|
|
4757
4808
|
while (inductionVariable < tmp0_repeat);
|
|
4758
|
-
this.
|
|
4809
|
+
this.rt_1.kotlinx$atomicfu$value = 0;
|
|
4759
4810
|
tmp$ret$0 = Unit_getInstance();
|
|
4760
|
-
protoOf(AbstractChannel).
|
|
4811
|
+
protoOf(AbstractChannel).fs.call(this, wasClosed);
|
|
4761
4812
|
var tmp0_safe_receiver = undeliveredElementException;
|
|
4762
4813
|
if (tmp0_safe_receiver == null)
|
|
4763
4814
|
null;
|
|
@@ -4768,8 +4819,8 @@
|
|
|
4768
4819
|
throw tmp0_safe_receiver;
|
|
4769
4820
|
}
|
|
4770
4821
|
};
|
|
4771
|
-
protoOf(ArrayChannel).
|
|
4772
|
-
return '(buffer:capacity=' + this.
|
|
4822
|
+
protoOf(ArrayChannel).rs = function () {
|
|
4823
|
+
return '(buffer:capacity=' + this.mt_1 + ',size=' + this.rt_1.kotlinx$atomicfu$value + ')';
|
|
4773
4824
|
};
|
|
4774
4825
|
var BufferOverflow_SUSPEND_instance;
|
|
4775
4826
|
var BufferOverflow_DROP_OLDEST_instance;
|
|
@@ -4796,13 +4847,13 @@
|
|
|
4796
4847
|
}
|
|
4797
4848
|
function Factory() {
|
|
4798
4849
|
Factory_instance = this;
|
|
4799
|
-
this.
|
|
4800
|
-
this.
|
|
4801
|
-
this.
|
|
4802
|
-
this.
|
|
4803
|
-
this.
|
|
4804
|
-
this.
|
|
4805
|
-
this.
|
|
4850
|
+
this.st_1 = 2147483647;
|
|
4851
|
+
this.tt_1 = 0;
|
|
4852
|
+
this.ut_1 = -1;
|
|
4853
|
+
this.vt_1 = -2;
|
|
4854
|
+
this.wt_1 = -3;
|
|
4855
|
+
this.xt_1 = 'kotlinx.coroutines.channels.defaultBuffer';
|
|
4856
|
+
this.yt_1 = systemProp('kotlinx.coroutines.channels.defaultBuffer', 64, 1, 2147483646);
|
|
4806
4857
|
}
|
|
4807
4858
|
var Factory_instance;
|
|
4808
4859
|
function Factory_getInstance() {
|
|
@@ -4831,12 +4882,12 @@
|
|
|
4831
4882
|
var tmp_1;
|
|
4832
4883
|
var tmp_2 = _ChannelResult___get_holder__impl__pm9gzw($this);
|
|
4833
4884
|
if (tmp_2 instanceof Closed_0) {
|
|
4834
|
-
tmp_1 = !(_ChannelResult___get_holder__impl__pm9gzw($this).
|
|
4885
|
+
tmp_1 = !(_ChannelResult___get_holder__impl__pm9gzw($this).zt_1 == null);
|
|
4835
4886
|
} else {
|
|
4836
4887
|
tmp_1 = false;
|
|
4837
4888
|
}
|
|
4838
4889
|
if (tmp_1)
|
|
4839
|
-
throw _ChannelResult___get_holder__impl__pm9gzw($this).
|
|
4890
|
+
throw _ChannelResult___get_holder__impl__pm9gzw($this).zt_1;
|
|
4840
4891
|
// Inline function 'kotlin.error' call
|
|
4841
4892
|
var tmp0_error = "Trying to call 'getOrThrow' on a failed channel result: " + toString(_ChannelResult___get_holder__impl__pm9gzw($this));
|
|
4842
4893
|
throw IllegalStateException_init_$Create$(toString_0(tmp0_error));
|
|
@@ -4844,7 +4895,7 @@
|
|
|
4844
4895
|
function ChannelResult__exceptionOrNull_impl_16ei30($this) {
|
|
4845
4896
|
var tmp = _ChannelResult___get_holder__impl__pm9gzw($this);
|
|
4846
4897
|
var tmp0_safe_receiver = tmp instanceof Closed_0 ? tmp : null;
|
|
4847
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
4898
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.zt_1;
|
|
4848
4899
|
}
|
|
4849
4900
|
function Failed() {
|
|
4850
4901
|
}
|
|
@@ -4853,12 +4904,12 @@
|
|
|
4853
4904
|
};
|
|
4854
4905
|
function Closed_0(cause) {
|
|
4855
4906
|
Failed.call(this);
|
|
4856
|
-
this.
|
|
4907
|
+
this.zt_1 = cause;
|
|
4857
4908
|
}
|
|
4858
4909
|
protoOf(Closed_0).equals = function (other) {
|
|
4859
4910
|
var tmp;
|
|
4860
4911
|
if (other instanceof Closed_0) {
|
|
4861
|
-
tmp = equals(this.
|
|
4912
|
+
tmp = equals(this.zt_1, other.zt_1);
|
|
4862
4913
|
} else {
|
|
4863
4914
|
tmp = false;
|
|
4864
4915
|
}
|
|
@@ -4867,23 +4918,23 @@
|
|
|
4867
4918
|
protoOf(Closed_0).hashCode = function () {
|
|
4868
4919
|
var tmp$ret$0;
|
|
4869
4920
|
// Inline function 'kotlin.hashCode' call
|
|
4870
|
-
var tmp0_hashCode = this.
|
|
4921
|
+
var tmp0_hashCode = this.zt_1;
|
|
4871
4922
|
var tmp0_safe_receiver = tmp0_hashCode;
|
|
4872
4923
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
4873
4924
|
tmp$ret$0 = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
4874
4925
|
return tmp$ret$0;
|
|
4875
4926
|
};
|
|
4876
4927
|
protoOf(Closed_0).toString = function () {
|
|
4877
|
-
return 'Closed(' + this.
|
|
4928
|
+
return 'Closed(' + this.zt_1 + ')';
|
|
4878
4929
|
};
|
|
4879
4930
|
function Companion() {
|
|
4880
4931
|
Companion_instance = this;
|
|
4881
|
-
this.
|
|
4932
|
+
this.uq_1 = new Failed();
|
|
4882
4933
|
}
|
|
4883
|
-
protoOf(Companion).
|
|
4934
|
+
protoOf(Companion).vq = function (value) {
|
|
4884
4935
|
return _ChannelResult___init__impl__siwsuf(value);
|
|
4885
4936
|
};
|
|
4886
|
-
protoOf(Companion).
|
|
4937
|
+
protoOf(Companion).hr = function (cause) {
|
|
4887
4938
|
return _ChannelResult___init__impl__siwsuf(new Closed_0(cause));
|
|
4888
4939
|
};
|
|
4889
4940
|
var Companion_instance;
|
|
@@ -4908,23 +4959,23 @@
|
|
|
4908
4959
|
function ChannelResult__equals_impl_f471ri($this, other) {
|
|
4909
4960
|
if (!(other instanceof ChannelResult))
|
|
4910
4961
|
return false;
|
|
4911
|
-
var tmp0_other_with_cast = other instanceof ChannelResult ? other.
|
|
4962
|
+
var tmp0_other_with_cast = other instanceof ChannelResult ? other.cs_1 : THROW_CCE();
|
|
4912
4963
|
if (!equals($this, tmp0_other_with_cast))
|
|
4913
4964
|
return false;
|
|
4914
4965
|
return true;
|
|
4915
4966
|
}
|
|
4916
4967
|
function ChannelResult(holder) {
|
|
4917
4968
|
Companion_getInstance_1();
|
|
4918
|
-
this.
|
|
4969
|
+
this.cs_1 = holder;
|
|
4919
4970
|
}
|
|
4920
4971
|
protoOf(ChannelResult).toString = function () {
|
|
4921
|
-
return ChannelResult__toString_impl_rrcqu7(this.
|
|
4972
|
+
return ChannelResult__toString_impl_rrcqu7(this.cs_1);
|
|
4922
4973
|
};
|
|
4923
4974
|
protoOf(ChannelResult).hashCode = function () {
|
|
4924
|
-
return ChannelResult__hashCode_impl_lilec2(this.
|
|
4975
|
+
return ChannelResult__hashCode_impl_lilec2(this.cs_1);
|
|
4925
4976
|
};
|
|
4926
4977
|
protoOf(ChannelResult).equals = function (other) {
|
|
4927
|
-
return ChannelResult__equals_impl_f471ri(this.
|
|
4978
|
+
return ChannelResult__equals_impl_f471ri(this.cs_1, other);
|
|
4928
4979
|
};
|
|
4929
4980
|
function ClosedReceiveChannelException(message) {
|
|
4930
4981
|
NoSuchElementException_init_$Init$(message, this);
|
|
@@ -4967,7 +5018,7 @@
|
|
|
4967
5018
|
} else {
|
|
4968
5019
|
Factory_getInstance();
|
|
4969
5020
|
if (tmp0_subject === -2) {
|
|
4970
|
-
tmp_0 = new ArrayChannel(onBufferOverflow.equals(BufferOverflow_SUSPEND_getInstance()) ? Factory_getInstance().
|
|
5021
|
+
tmp_0 = new ArrayChannel(onBufferOverflow.equals(BufferOverflow_SUSPEND_getInstance()) ? Factory_getInstance().yt_1 : 1, onBufferOverflow, onUndeliveredElement);
|
|
4971
5022
|
} else {
|
|
4972
5023
|
tmp_0 = (capacity === 1 ? onBufferOverflow.equals(BufferOverflow_DROP_OLDEST_getInstance()) : false) ? new ConflatedChannel(onUndeliveredElement) : new ArrayChannel(capacity, onBufferOverflow, onUndeliveredElement);
|
|
4973
5024
|
}
|
|
@@ -4982,20 +5033,20 @@
|
|
|
4982
5033
|
}
|
|
4983
5034
|
function ChannelCoroutine(parentContext, _channel, initParentJob, active) {
|
|
4984
5035
|
AbstractCoroutine.call(this, parentContext, initParentJob, active);
|
|
4985
|
-
this.
|
|
5036
|
+
this.du_1 = _channel;
|
|
4986
5037
|
}
|
|
4987
|
-
protoOf(ChannelCoroutine).
|
|
4988
|
-
return this.
|
|
5038
|
+
protoOf(ChannelCoroutine).es = function (cause) {
|
|
5039
|
+
return this.du_1.es(cause);
|
|
4989
5040
|
};
|
|
4990
|
-
protoOf(ChannelCoroutine).
|
|
4991
|
-
var tmp = this.
|
|
5041
|
+
protoOf(ChannelCoroutine).bs = function ($completion) {
|
|
5042
|
+
var tmp = this.du_1.bs($completion);
|
|
4992
5043
|
if (tmp === get_COROUTINE_SUSPENDED())
|
|
4993
5044
|
return tmp;
|
|
4994
|
-
var tmp0 = new ChannelResult(tmp.
|
|
5045
|
+
var tmp0 = new ChannelResult(tmp.cs_1);
|
|
4995
5046
|
return tmp0;
|
|
4996
5047
|
};
|
|
4997
|
-
protoOf(ChannelCoroutine).
|
|
4998
|
-
var tmp0 = this.
|
|
5048
|
+
protoOf(ChannelCoroutine).ns = function (element, $completion) {
|
|
5049
|
+
var tmp0 = this.du_1.ns(element, $completion);
|
|
4999
5050
|
return tmp0;
|
|
5000
5051
|
};
|
|
5001
5052
|
protoOf(ChannelCoroutine).ug = function (cause) {
|
|
@@ -5014,12 +5065,12 @@
|
|
|
5014
5065
|
}
|
|
5015
5066
|
this.wg(tmp);
|
|
5016
5067
|
};
|
|
5017
|
-
protoOf(ChannelCoroutine).
|
|
5068
|
+
protoOf(ChannelCoroutine).eu = function (cause, $super) {
|
|
5018
5069
|
return this.vg(cause, ($super == null ? true : $super instanceof ChannelCoroutine) ? $super : THROW_CCE());
|
|
5019
5070
|
};
|
|
5020
5071
|
protoOf(ChannelCoroutine).wg = function (cause) {
|
|
5021
5072
|
var exception = this.pg(cause);
|
|
5022
|
-
this.
|
|
5073
|
+
this.du_1.ug(exception);
|
|
5023
5074
|
this.ro(exception);
|
|
5024
5075
|
};
|
|
5025
5076
|
function get_DEFAULT_CLOSE_MESSAGE() {
|
|
@@ -5045,12 +5096,12 @@
|
|
|
5045
5096
|
_this__u8e3s4.ug(tmp);
|
|
5046
5097
|
}
|
|
5047
5098
|
function updateValueLocked($this, element) {
|
|
5048
|
-
var old = $this.
|
|
5099
|
+
var old = $this.ju_1;
|
|
5049
5100
|
var tmp;
|
|
5050
5101
|
if (old === get_EMPTY()) {
|
|
5051
5102
|
tmp = null;
|
|
5052
5103
|
} else {
|
|
5053
|
-
var tmp0_safe_receiver = $this.
|
|
5104
|
+
var tmp0_safe_receiver = $this.xp_1;
|
|
5054
5105
|
var tmp_0;
|
|
5055
5106
|
if (tmp0_safe_receiver == null) {
|
|
5056
5107
|
tmp_0 = null;
|
|
@@ -5060,42 +5111,42 @@
|
|
|
5060
5111
|
tmp = tmp_0;
|
|
5061
5112
|
}
|
|
5062
5113
|
var undeliveredElementException = tmp;
|
|
5063
|
-
$this.
|
|
5114
|
+
$this.ju_1 = element;
|
|
5064
5115
|
return undeliveredElementException;
|
|
5065
5116
|
}
|
|
5066
5117
|
function ConflatedChannel(onUndeliveredElement) {
|
|
5067
5118
|
AbstractChannel.call(this, onUndeliveredElement);
|
|
5068
|
-
this.
|
|
5069
|
-
this.
|
|
5119
|
+
this.iu_1 = new NoOpLock();
|
|
5120
|
+
this.ju_1 = get_EMPTY();
|
|
5070
5121
|
}
|
|
5071
|
-
protoOf(ConflatedChannel).
|
|
5122
|
+
protoOf(ConflatedChannel).pr = function () {
|
|
5072
5123
|
return false;
|
|
5073
5124
|
};
|
|
5074
|
-
protoOf(ConflatedChannel).
|
|
5125
|
+
protoOf(ConflatedChannel).qr = function () {
|
|
5075
5126
|
var tmp$ret$1;
|
|
5076
5127
|
// Inline function 'kotlinx.coroutines.internal.withLock' call
|
|
5077
|
-
var tmp0_withLock = this.
|
|
5128
|
+
var tmp0_withLock = this.iu_1;
|
|
5078
5129
|
var tmp$ret$0;
|
|
5079
5130
|
// Inline function 'kotlinx.coroutines.channels.ConflatedChannel.<get-isBufferEmpty>.<anonymous>' call
|
|
5080
|
-
tmp$ret$0 = this.
|
|
5131
|
+
tmp$ret$0 = this.ju_1 === get_EMPTY();
|
|
5081
5132
|
tmp$ret$1 = tmp$ret$0;
|
|
5082
5133
|
return tmp$ret$1;
|
|
5083
5134
|
};
|
|
5084
|
-
protoOf(ConflatedChannel).
|
|
5135
|
+
protoOf(ConflatedChannel).ks = function () {
|
|
5085
5136
|
return false;
|
|
5086
5137
|
};
|
|
5087
|
-
protoOf(ConflatedChannel).
|
|
5138
|
+
protoOf(ConflatedChannel).ls = function () {
|
|
5088
5139
|
return false;
|
|
5089
5140
|
};
|
|
5090
|
-
protoOf(ConflatedChannel).
|
|
5141
|
+
protoOf(ConflatedChannel).ms = function (element) {
|
|
5091
5142
|
var receive = null;
|
|
5092
5143
|
var tmp$ret$3;
|
|
5093
5144
|
// Inline function 'kotlinx.coroutines.internal.withLock' call
|
|
5094
|
-
var tmp0_withLock = this.
|
|
5145
|
+
var tmp0_withLock = this.iu_1;
|
|
5095
5146
|
var tmp$ret$1;
|
|
5096
5147
|
$l$block: {
|
|
5097
5148
|
// Inline function 'kotlinx.coroutines.channels.ConflatedChannel.offerInternal.<anonymous>' call
|
|
5098
|
-
var tmp0_safe_receiver = this.
|
|
5149
|
+
var tmp0_safe_receiver = this.gs();
|
|
5099
5150
|
if (tmp0_safe_receiver == null)
|
|
5100
5151
|
null;
|
|
5101
5152
|
else {
|
|
@@ -5104,9 +5155,9 @@
|
|
|
5104
5155
|
// Inline function 'kotlin.contracts.contract' call
|
|
5105
5156
|
return tmp0_safe_receiver;
|
|
5106
5157
|
}
|
|
5107
|
-
if (this.
|
|
5158
|
+
if (this.ju_1 === get_EMPTY()) {
|
|
5108
5159
|
loop: while (true) {
|
|
5109
|
-
var tmp1_elvis_lhs = this.
|
|
5160
|
+
var tmp1_elvis_lhs = this.js();
|
|
5110
5161
|
var tmp;
|
|
5111
5162
|
if (tmp1_elvis_lhs == null) {
|
|
5112
5163
|
break loop;
|
|
@@ -5117,7 +5168,7 @@
|
|
|
5117
5168
|
if (receive instanceof Closed) {
|
|
5118
5169
|
return ensureNotNull(receive);
|
|
5119
5170
|
}
|
|
5120
|
-
var token = ensureNotNull(receive).
|
|
5171
|
+
var token = ensureNotNull(receive).wq(element, null);
|
|
5121
5172
|
if (!(token == null)) {
|
|
5122
5173
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
5123
5174
|
tmp$ret$1 = Unit_getInstance();
|
|
@@ -5137,31 +5188,31 @@
|
|
|
5137
5188
|
return get_OFFER_SUCCESS();
|
|
5138
5189
|
}
|
|
5139
5190
|
tmp$ret$3 = tmp$ret$1;
|
|
5140
|
-
ensureNotNull(receive).
|
|
5141
|
-
return ensureNotNull(receive).
|
|
5191
|
+
ensureNotNull(receive).br(element);
|
|
5192
|
+
return ensureNotNull(receive).ir();
|
|
5142
5193
|
};
|
|
5143
|
-
protoOf(ConflatedChannel).
|
|
5194
|
+
protoOf(ConflatedChannel).dq = function () {
|
|
5144
5195
|
var result = null;
|
|
5145
5196
|
var tmp$ret$0;
|
|
5146
5197
|
// Inline function 'kotlinx.coroutines.internal.withLock' call
|
|
5147
|
-
var tmp0_withLock = this.
|
|
5148
|
-
if (this.
|
|
5149
|
-
var tmp0_elvis_lhs = this.
|
|
5198
|
+
var tmp0_withLock = this.iu_1;
|
|
5199
|
+
if (this.ju_1 === get_EMPTY()) {
|
|
5200
|
+
var tmp0_elvis_lhs = this.gs();
|
|
5150
5201
|
return tmp0_elvis_lhs == null ? get_POLL_FAILED() : tmp0_elvis_lhs;
|
|
5151
5202
|
}
|
|
5152
|
-
result = this.
|
|
5153
|
-
this.
|
|
5203
|
+
result = this.ju_1;
|
|
5204
|
+
this.ju_1 = get_EMPTY();
|
|
5154
5205
|
tmp$ret$0 = Unit_getInstance();
|
|
5155
5206
|
return result;
|
|
5156
5207
|
};
|
|
5157
|
-
protoOf(ConflatedChannel).
|
|
5208
|
+
protoOf(ConflatedChannel).fs = function (wasClosed) {
|
|
5158
5209
|
var undeliveredElementException = null;
|
|
5159
5210
|
var tmp$ret$0;
|
|
5160
5211
|
// Inline function 'kotlinx.coroutines.internal.withLock' call
|
|
5161
|
-
var tmp0_withLock = this.
|
|
5212
|
+
var tmp0_withLock = this.iu_1;
|
|
5162
5213
|
undeliveredElementException = updateValueLocked(this, get_EMPTY());
|
|
5163
5214
|
tmp$ret$0 = Unit_getInstance();
|
|
5164
|
-
protoOf(AbstractChannel).
|
|
5215
|
+
protoOf(AbstractChannel).fs.call(this, wasClosed);
|
|
5165
5216
|
var tmp0_safe_receiver = undeliveredElementException;
|
|
5166
5217
|
if (tmp0_safe_receiver == null)
|
|
5167
5218
|
null;
|
|
@@ -5172,49 +5223,49 @@
|
|
|
5172
5223
|
throw tmp0_safe_receiver;
|
|
5173
5224
|
}
|
|
5174
5225
|
};
|
|
5175
|
-
protoOf(ConflatedChannel).
|
|
5226
|
+
protoOf(ConflatedChannel).pq = function (receive) {
|
|
5176
5227
|
var tmp$ret$1;
|
|
5177
5228
|
// Inline function 'kotlinx.coroutines.internal.withLock' call
|
|
5178
|
-
var tmp0_withLock = this.
|
|
5229
|
+
var tmp0_withLock = this.iu_1;
|
|
5179
5230
|
var tmp$ret$0;
|
|
5180
5231
|
// Inline function 'kotlinx.coroutines.channels.ConflatedChannel.enqueueReceiveInternal.<anonymous>' call
|
|
5181
|
-
tmp$ret$0 = protoOf(AbstractChannel).
|
|
5232
|
+
tmp$ret$0 = protoOf(AbstractChannel).pq.call(this, receive);
|
|
5182
5233
|
tmp$ret$1 = tmp$ret$0;
|
|
5183
5234
|
return tmp$ret$1;
|
|
5184
5235
|
};
|
|
5185
|
-
protoOf(ConflatedChannel).
|
|
5236
|
+
protoOf(ConflatedChannel).rs = function () {
|
|
5186
5237
|
var tmp$ret$1;
|
|
5187
5238
|
// Inline function 'kotlinx.coroutines.internal.withLock' call
|
|
5188
|
-
var tmp0_withLock = this.
|
|
5239
|
+
var tmp0_withLock = this.iu_1;
|
|
5189
5240
|
var tmp$ret$0;
|
|
5190
5241
|
// Inline function 'kotlinx.coroutines.channels.ConflatedChannel.<get-bufferDebugString>.<anonymous>' call
|
|
5191
|
-
tmp$ret$0 = '(value=' + toString(this.
|
|
5242
|
+
tmp$ret$0 = '(value=' + toString(this.ju_1) + ')';
|
|
5192
5243
|
tmp$ret$1 = tmp$ret$0;
|
|
5193
5244
|
return tmp$ret$1;
|
|
5194
5245
|
};
|
|
5195
5246
|
function LinkedListChannel(onUndeliveredElement) {
|
|
5196
5247
|
AbstractChannel.call(this, onUndeliveredElement);
|
|
5197
5248
|
}
|
|
5198
|
-
protoOf(LinkedListChannel).
|
|
5249
|
+
protoOf(LinkedListChannel).pr = function () {
|
|
5199
5250
|
return true;
|
|
5200
5251
|
};
|
|
5201
|
-
protoOf(LinkedListChannel).
|
|
5252
|
+
protoOf(LinkedListChannel).qr = function () {
|
|
5202
5253
|
return true;
|
|
5203
5254
|
};
|
|
5204
|
-
protoOf(LinkedListChannel).
|
|
5255
|
+
protoOf(LinkedListChannel).ks = function () {
|
|
5205
5256
|
return false;
|
|
5206
5257
|
};
|
|
5207
|
-
protoOf(LinkedListChannel).
|
|
5258
|
+
protoOf(LinkedListChannel).ls = function () {
|
|
5208
5259
|
return false;
|
|
5209
5260
|
};
|
|
5210
|
-
protoOf(LinkedListChannel).
|
|
5261
|
+
protoOf(LinkedListChannel).ms = function (element) {
|
|
5211
5262
|
while (true) {
|
|
5212
|
-
var result = protoOf(AbstractChannel).
|
|
5263
|
+
var result = protoOf(AbstractChannel).ms.call(this, element);
|
|
5213
5264
|
if (result === get_OFFER_SUCCESS())
|
|
5214
5265
|
return get_OFFER_SUCCESS();
|
|
5215
5266
|
else {
|
|
5216
5267
|
if (result === get_OFFER_FAILED()) {
|
|
5217
|
-
var sendResult = this.
|
|
5268
|
+
var sendResult = this.xs(element);
|
|
5218
5269
|
if (sendResult == null)
|
|
5219
5270
|
return get_OFFER_SUCCESS();
|
|
5220
5271
|
else {
|
|
@@ -5232,7 +5283,7 @@
|
|
|
5232
5283
|
}
|
|
5233
5284
|
}
|
|
5234
5285
|
};
|
|
5235
|
-
protoOf(LinkedListChannel).
|
|
5286
|
+
protoOf(LinkedListChannel).hs = function (list, closed) {
|
|
5236
5287
|
var undeliveredElementException = null;
|
|
5237
5288
|
var tmp$ret$0;
|
|
5238
5289
|
$l$block: {
|
|
@@ -5248,17 +5299,17 @@
|
|
|
5248
5299
|
var tmp0__anonymous__q1qw7t = (tmp == null ? true : isObject(tmp)) ? tmp : THROW_CCE();
|
|
5249
5300
|
var tmp0_subject_0 = tmp0__anonymous__q1qw7t;
|
|
5250
5301
|
if (tmp0_subject_0 instanceof SendBuffered) {
|
|
5251
|
-
var tmp1_safe_receiver = this.
|
|
5302
|
+
var tmp1_safe_receiver = this.xp_1;
|
|
5252
5303
|
var tmp_0;
|
|
5253
5304
|
if (tmp1_safe_receiver == null) {
|
|
5254
5305
|
tmp_0 = null;
|
|
5255
5306
|
} else {
|
|
5256
|
-
var tmp_1 = tmp0__anonymous__q1qw7t.
|
|
5307
|
+
var tmp_1 = tmp0__anonymous__q1qw7t.ws_1;
|
|
5257
5308
|
tmp_0 = callUndeliveredElementCatchingException(tmp1_safe_receiver, (tmp_1 == null ? true : isObject(tmp_1)) ? tmp_1 : THROW_CCE(), undeliveredElementException);
|
|
5258
5309
|
}
|
|
5259
5310
|
undeliveredElementException = tmp_0;
|
|
5260
5311
|
} else {
|
|
5261
|
-
tmp0__anonymous__q1qw7t.
|
|
5312
|
+
tmp0__anonymous__q1qw7t.is(closed);
|
|
5262
5313
|
}
|
|
5263
5314
|
} else {
|
|
5264
5315
|
var tmp_2 = _get_holder__f6h5pd(list);
|
|
@@ -5272,17 +5323,17 @@
|
|
|
5272
5323
|
var tmp1__anonymous__uwfjfc = list_0.j(i);
|
|
5273
5324
|
var tmp0_subject_1 = tmp1__anonymous__uwfjfc;
|
|
5274
5325
|
if (tmp0_subject_1 instanceof SendBuffered) {
|
|
5275
|
-
var tmp1_safe_receiver_0 = this.
|
|
5326
|
+
var tmp1_safe_receiver_0 = this.xp_1;
|
|
5276
5327
|
var tmp_3;
|
|
5277
5328
|
if (tmp1_safe_receiver_0 == null) {
|
|
5278
5329
|
tmp_3 = null;
|
|
5279
5330
|
} else {
|
|
5280
|
-
var tmp_4 = tmp1__anonymous__uwfjfc.
|
|
5331
|
+
var tmp_4 = tmp1__anonymous__uwfjfc.ws_1;
|
|
5281
5332
|
tmp_3 = callUndeliveredElementCatchingException(tmp1_safe_receiver_0, (tmp_4 == null ? true : isObject(tmp_4)) ? tmp_4 : THROW_CCE(), undeliveredElementException);
|
|
5282
5333
|
}
|
|
5283
5334
|
undeliveredElementException = tmp_3;
|
|
5284
5335
|
} else {
|
|
5285
|
-
tmp1__anonymous__uwfjfc.
|
|
5336
|
+
tmp1__anonymous__uwfjfc.is(closed);
|
|
5286
5337
|
}
|
|
5287
5338
|
}
|
|
5288
5339
|
while (0 <= inductionVariable);
|
|
@@ -5322,34 +5373,34 @@
|
|
|
5322
5373
|
protoOf(ProducerCoroutine).rf = function () {
|
|
5323
5374
|
return protoOf(ChannelCoroutine).rf.call(this);
|
|
5324
5375
|
};
|
|
5325
|
-
protoOf(ProducerCoroutine).
|
|
5326
|
-
this.
|
|
5376
|
+
protoOf(ProducerCoroutine).ru = function (value) {
|
|
5377
|
+
this.du_1.ps();
|
|
5327
5378
|
};
|
|
5328
5379
|
protoOf(ProducerCoroutine).sf = function (value) {
|
|
5329
|
-
return this.
|
|
5380
|
+
return this.ru(value instanceof Unit ? value : THROW_CCE());
|
|
5330
5381
|
};
|
|
5331
5382
|
protoOf(ProducerCoroutine).tf = function (cause, handled) {
|
|
5332
|
-
var processed = this.
|
|
5383
|
+
var processed = this.du_1.es(cause);
|
|
5333
5384
|
if (!processed ? !handled : false) {
|
|
5334
5385
|
handleCoroutineException(this.pf_1, cause);
|
|
5335
5386
|
}
|
|
5336
5387
|
};
|
|
5337
|
-
protoOf(ProducerCoroutine).
|
|
5388
|
+
protoOf(ProducerCoroutine).eu = function (cause, $super) {
|
|
5338
5389
|
return this.vg(cause, ($super == null ? true : $super instanceof ProducerCoroutine) ? $super : THROW_CCE());
|
|
5339
5390
|
};
|
|
5340
5391
|
function RendezvousChannel(onUndeliveredElement) {
|
|
5341
5392
|
AbstractChannel.call(this, onUndeliveredElement);
|
|
5342
5393
|
}
|
|
5343
|
-
protoOf(RendezvousChannel).
|
|
5394
|
+
protoOf(RendezvousChannel).pr = function () {
|
|
5344
5395
|
return true;
|
|
5345
5396
|
};
|
|
5346
|
-
protoOf(RendezvousChannel).
|
|
5397
|
+
protoOf(RendezvousChannel).qr = function () {
|
|
5347
5398
|
return true;
|
|
5348
5399
|
};
|
|
5349
|
-
protoOf(RendezvousChannel).
|
|
5400
|
+
protoOf(RendezvousChannel).ks = function () {
|
|
5350
5401
|
return true;
|
|
5351
5402
|
};
|
|
5352
|
-
protoOf(RendezvousChannel).
|
|
5403
|
+
protoOf(RendezvousChannel).ls = function () {
|
|
5353
5404
|
return true;
|
|
5354
5405
|
};
|
|
5355
5406
|
function flowOf(value) {
|
|
@@ -5360,8 +5411,8 @@
|
|
|
5360
5411
|
}
|
|
5361
5412
|
function $collectCOROUTINE$4(_this__u8e3s4, collector, resultContinuation) {
|
|
5362
5413
|
CoroutineImpl.call(this, resultContinuation);
|
|
5363
|
-
this.
|
|
5364
|
-
this.
|
|
5414
|
+
this.dv_1 = _this__u8e3s4;
|
|
5415
|
+
this.ev_1 = collector;
|
|
5365
5416
|
}
|
|
5366
5417
|
protoOf($collectCOROUTINE$4).re = function () {
|
|
5367
5418
|
var suspendResult = this.ae_1;
|
|
@@ -5372,7 +5423,7 @@
|
|
|
5372
5423
|
case 0:
|
|
5373
5424
|
this.zd_1 = 2;
|
|
5374
5425
|
this.yd_1 = 1;
|
|
5375
|
-
suspendResult = this.
|
|
5426
|
+
suspendResult = this.ev_1.gv(this.dv_1.fv_1, this);
|
|
5376
5427
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5377
5428
|
return suspendResult;
|
|
5378
5429
|
}
|
|
@@ -5395,9 +5446,9 @@
|
|
|
5395
5446
|
while (true);
|
|
5396
5447
|
};
|
|
5397
5448
|
function _no_name_provided__qut3iv($value) {
|
|
5398
|
-
this.
|
|
5449
|
+
this.fv_1 = $value;
|
|
5399
5450
|
}
|
|
5400
|
-
protoOf(_no_name_provided__qut3iv).
|
|
5451
|
+
protoOf(_no_name_provided__qut3iv).hv = function (collector, $completion) {
|
|
5401
5452
|
var tmp = new $collectCOROUTINE$4(this, collector, $completion);
|
|
5402
5453
|
tmp.ae_1 = Unit_getInstance();
|
|
5403
5454
|
tmp.be_1 = null;
|
|
@@ -5415,9 +5466,9 @@
|
|
|
5415
5466
|
}
|
|
5416
5467
|
function $emitAllImplCOROUTINE$5(_this__u8e3s4, channel, consume, resultContinuation) {
|
|
5417
5468
|
CoroutineImpl.call(this, resultContinuation);
|
|
5418
|
-
this.
|
|
5419
|
-
this.
|
|
5420
|
-
this.
|
|
5469
|
+
this.qv_1 = _this__u8e3s4;
|
|
5470
|
+
this.rv_1 = channel;
|
|
5471
|
+
this.sv_1 = consume;
|
|
5421
5472
|
}
|
|
5422
5473
|
protoOf($emitAllImplCOROUTINE$5).re = function () {
|
|
5423
5474
|
var suspendResult = this.ae_1;
|
|
@@ -5427,8 +5478,8 @@
|
|
|
5427
5478
|
switch (tmp) {
|
|
5428
5479
|
case 0:
|
|
5429
5480
|
this.zd_1 = 11;
|
|
5430
|
-
ensureActive_1(this.
|
|
5431
|
-
this.
|
|
5481
|
+
ensureActive_1(this.qv_1);
|
|
5482
|
+
this.tv_1 = null;
|
|
5432
5483
|
this.yd_1 = 1;
|
|
5433
5484
|
continue $sm;
|
|
5434
5485
|
case 1:
|
|
@@ -5443,7 +5494,7 @@
|
|
|
5443
5494
|
}
|
|
5444
5495
|
|
|
5445
5496
|
this.yd_1 = 3;
|
|
5446
|
-
suspendResult = this.
|
|
5497
|
+
suspendResult = this.rv_1.bs(this);
|
|
5447
5498
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5448
5499
|
return suspendResult;
|
|
5449
5500
|
}
|
|
@@ -5451,14 +5502,14 @@
|
|
|
5451
5502
|
this.yd_1 = 4;
|
|
5452
5503
|
continue $sm;
|
|
5453
5504
|
case 3:
|
|
5454
|
-
this.
|
|
5455
|
-
suspendResult = new ChannelResult(this.
|
|
5505
|
+
this.vv_1 = suspendResult.cs_1;
|
|
5506
|
+
suspendResult = new ChannelResult(this.vv_1);
|
|
5456
5507
|
this.yd_1 = 4;
|
|
5457
5508
|
continue $sm;
|
|
5458
5509
|
case 4:
|
|
5459
|
-
this.
|
|
5460
|
-
if (_ChannelResult___get_isClosed__impl__mg7kuu(this.
|
|
5461
|
-
var tmp0_safe_receiver = ChannelResult__exceptionOrNull_impl_16ei30(this.
|
|
5510
|
+
this.wv_1 = suspendResult.cs_1;
|
|
5511
|
+
if (_ChannelResult___get_isClosed__impl__mg7kuu(this.wv_1)) {
|
|
5512
|
+
var tmp0_safe_receiver = ChannelResult__exceptionOrNull_impl_16ei30(this.wv_1);
|
|
5462
5513
|
if (tmp0_safe_receiver == null)
|
|
5463
5514
|
null;
|
|
5464
5515
|
else {
|
|
@@ -5474,7 +5525,7 @@
|
|
|
5474
5525
|
break;
|
|
5475
5526
|
case 5:
|
|
5476
5527
|
this.yd_1 = 6;
|
|
5477
|
-
suspendResult = this.
|
|
5528
|
+
suspendResult = this.qv_1.gv(ChannelResult__getOrThrow_impl_od1axs(this.wv_1), this);
|
|
5478
5529
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5479
5530
|
return suspendResult;
|
|
5480
5531
|
}
|
|
@@ -5484,7 +5535,7 @@
|
|
|
5484
5535
|
this.yd_1 = 2;
|
|
5485
5536
|
continue $sm;
|
|
5486
5537
|
case 7:
|
|
5487
|
-
this.
|
|
5538
|
+
this.uv_1 = Unit_getInstance();
|
|
5488
5539
|
this.zd_1 = 11;
|
|
5489
5540
|
this.yd_1 = 10;
|
|
5490
5541
|
continue $sm;
|
|
@@ -5494,7 +5545,7 @@
|
|
|
5494
5545
|
if (tmp_0 instanceof Error) {
|
|
5495
5546
|
var e = this.be_1;
|
|
5496
5547
|
var tmp_1 = this;
|
|
5497
|
-
this.
|
|
5548
|
+
this.tv_1 = e;
|
|
5498
5549
|
throw e;
|
|
5499
5550
|
} else {
|
|
5500
5551
|
throw this.be_1;
|
|
@@ -5504,14 +5555,14 @@
|
|
|
5504
5555
|
case 9:
|
|
5505
5556
|
this.zd_1 = 11;
|
|
5506
5557
|
var t = this.be_1;
|
|
5507
|
-
if (this.
|
|
5508
|
-
cancelConsumed(this.
|
|
5558
|
+
if (this.sv_1) {
|
|
5559
|
+
cancelConsumed(this.rv_1, this.tv_1);
|
|
5509
5560
|
}
|
|
5510
5561
|
|
|
5511
5562
|
throw t;
|
|
5512
5563
|
case 10:
|
|
5513
|
-
if (this.
|
|
5514
|
-
cancelConsumed(this.
|
|
5564
|
+
if (this.sv_1) {
|
|
5565
|
+
cancelConsumed(this.rv_1, this.tv_1);
|
|
5515
5566
|
}
|
|
5516
5567
|
|
|
5517
5568
|
return Unit_getInstance();
|
|
@@ -5578,8 +5629,8 @@
|
|
|
5578
5629
|
function _get_head__d7jo8b($this) {
|
|
5579
5630
|
var tmp$ret$0;
|
|
5580
5631
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
5581
|
-
var tmp0_minOf = $this.
|
|
5582
|
-
var tmp1_minOf = $this.
|
|
5632
|
+
var tmp0_minOf = $this.gw_1;
|
|
5633
|
+
var tmp1_minOf = $this.fw_1;
|
|
5583
5634
|
tmp$ret$0 = tmp0_minOf.a5(tmp1_minOf) <= 0 ? tmp0_minOf : tmp1_minOf;
|
|
5584
5635
|
return tmp$ret$0;
|
|
5585
5636
|
}
|
|
@@ -5587,18 +5638,18 @@
|
|
|
5587
5638
|
var tmp$ret$0;
|
|
5588
5639
|
// Inline function 'kotlin.Long.plus' call
|
|
5589
5640
|
var tmp0_plus = _get_head__d7jo8b($this);
|
|
5590
|
-
var tmp1_plus = $this.
|
|
5641
|
+
var tmp1_plus = $this.hw_1;
|
|
5591
5642
|
tmp$ret$0 = tmp0_plus.c5(toLong(tmp1_plus));
|
|
5592
|
-
return tmp$ret$0.d5($this.
|
|
5643
|
+
return tmp$ret$0.d5($this.fw_1).b6();
|
|
5593
5644
|
}
|
|
5594
5645
|
function _get_totalSize__xhdb3o($this) {
|
|
5595
|
-
return $this.
|
|
5646
|
+
return $this.hw_1 + $this.iw_1 | 0;
|
|
5596
5647
|
}
|
|
5597
5648
|
function _get_bufferEndIndex__d2rk18($this) {
|
|
5598
5649
|
var tmp$ret$0;
|
|
5599
5650
|
// Inline function 'kotlin.Long.plus' call
|
|
5600
5651
|
var tmp0_plus = _get_head__d7jo8b($this);
|
|
5601
|
-
var tmp1_plus = $this.
|
|
5652
|
+
var tmp1_plus = $this.hw_1;
|
|
5602
5653
|
tmp$ret$0 = tmp0_plus.c5(toLong(tmp1_plus));
|
|
5603
5654
|
return tmp$ret$0;
|
|
5604
5655
|
}
|
|
@@ -5608,19 +5659,19 @@
|
|
|
5608
5659
|
var tmp$ret$0;
|
|
5609
5660
|
// Inline function 'kotlin.Long.plus' call
|
|
5610
5661
|
var tmp0_plus = _get_head__d7jo8b($this);
|
|
5611
|
-
var tmp1_plus = $this.
|
|
5662
|
+
var tmp1_plus = $this.hw_1;
|
|
5612
5663
|
tmp$ret$0 = tmp0_plus.c5(toLong(tmp1_plus));
|
|
5613
5664
|
var tmp2_plus = tmp$ret$0;
|
|
5614
|
-
var tmp3_plus = $this.
|
|
5665
|
+
var tmp3_plus = $this.iw_1;
|
|
5615
5666
|
tmp$ret$1 = tmp2_plus.c5(toLong(tmp3_plus));
|
|
5616
5667
|
return tmp$ret$1;
|
|
5617
5668
|
}
|
|
5618
5669
|
function tryEmitLocked($this, value) {
|
|
5619
|
-
if ($this.
|
|
5670
|
+
if ($this.kw_1 === 0)
|
|
5620
5671
|
return tryEmitNoCollectorsLocked($this, value);
|
|
5621
|
-
if ($this.
|
|
5622
|
-
var tmp0_subject = $this.
|
|
5623
|
-
var tmp0 = tmp0_subject.
|
|
5672
|
+
if ($this.hw_1 >= $this.cw_1 ? $this.gw_1.a5($this.fw_1) <= 0 : false) {
|
|
5673
|
+
var tmp0_subject = $this.dw_1;
|
|
5674
|
+
var tmp0 = tmp0_subject.g4_1;
|
|
5624
5675
|
switch (tmp0) {
|
|
5625
5676
|
case 0:
|
|
5626
5677
|
return false;
|
|
@@ -5632,53 +5683,53 @@
|
|
|
5632
5683
|
}
|
|
5633
5684
|
enqueueLocked($this, value);
|
|
5634
5685
|
var tmp1_this = $this;
|
|
5635
|
-
var tmp2 = tmp1_this.
|
|
5636
|
-
tmp1_this.
|
|
5637
|
-
if ($this.
|
|
5686
|
+
var tmp2 = tmp1_this.hw_1;
|
|
5687
|
+
tmp1_this.hw_1 = tmp2 + 1 | 0;
|
|
5688
|
+
if ($this.hw_1 > $this.cw_1) {
|
|
5638
5689
|
dropOldestLocked($this);
|
|
5639
5690
|
}
|
|
5640
|
-
if (_get_replaySize__dxgnb1($this) > $this.
|
|
5691
|
+
if (_get_replaySize__dxgnb1($this) > $this.bw_1) {
|
|
5641
5692
|
var tmp$ret$0;
|
|
5642
5693
|
// Inline function 'kotlin.Long.plus' call
|
|
5643
|
-
var tmp0_plus = $this.
|
|
5694
|
+
var tmp0_plus = $this.fw_1;
|
|
5644
5695
|
tmp$ret$0 = tmp0_plus.c5(new Long(1, 0));
|
|
5645
|
-
updateBufferLocked($this, tmp$ret$0, $this.
|
|
5696
|
+
updateBufferLocked($this, tmp$ret$0, $this.gw_1, _get_bufferEndIndex__d2rk18($this), _get_queueEndIndex__4m025l($this));
|
|
5646
5697
|
}
|
|
5647
5698
|
return true;
|
|
5648
5699
|
}
|
|
5649
5700
|
function tryEmitNoCollectorsLocked($this, value) {
|
|
5650
5701
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
5651
|
-
if ($this.
|
|
5702
|
+
if ($this.bw_1 === 0)
|
|
5652
5703
|
return true;
|
|
5653
5704
|
enqueueLocked($this, value);
|
|
5654
5705
|
var tmp0_this = $this;
|
|
5655
|
-
var tmp1 = tmp0_this.
|
|
5656
|
-
tmp0_this.
|
|
5657
|
-
if ($this.
|
|
5706
|
+
var tmp1 = tmp0_this.hw_1;
|
|
5707
|
+
tmp0_this.hw_1 = tmp1 + 1 | 0;
|
|
5708
|
+
if ($this.hw_1 > $this.bw_1) {
|
|
5658
5709
|
dropOldestLocked($this);
|
|
5659
5710
|
}
|
|
5660
5711
|
var tmp = $this;
|
|
5661
5712
|
var tmp$ret$0;
|
|
5662
5713
|
// Inline function 'kotlin.Long.plus' call
|
|
5663
5714
|
var tmp0_plus = _get_head__d7jo8b($this);
|
|
5664
|
-
var tmp1_plus = $this.
|
|
5715
|
+
var tmp1_plus = $this.hw_1;
|
|
5665
5716
|
tmp$ret$0 = tmp0_plus.c5(toLong(tmp1_plus));
|
|
5666
|
-
tmp.
|
|
5717
|
+
tmp.gw_1 = tmp$ret$0;
|
|
5667
5718
|
return true;
|
|
5668
5719
|
}
|
|
5669
5720
|
function dropOldestLocked($this) {
|
|
5670
|
-
setBufferAt(ensureNotNull($this.
|
|
5721
|
+
setBufferAt(ensureNotNull($this.ew_1), _get_head__d7jo8b($this), null);
|
|
5671
5722
|
var tmp0_this = $this;
|
|
5672
|
-
var tmp1 = tmp0_this.
|
|
5673
|
-
tmp0_this.
|
|
5723
|
+
var tmp1 = tmp0_this.hw_1;
|
|
5724
|
+
tmp0_this.hw_1 = tmp1 - 1 | 0;
|
|
5674
5725
|
var tmp$ret$0;
|
|
5675
5726
|
// Inline function 'kotlin.Long.plus' call
|
|
5676
5727
|
var tmp0_plus = _get_head__d7jo8b($this);
|
|
5677
5728
|
tmp$ret$0 = tmp0_plus.c5(new Long(1, 0));
|
|
5678
5729
|
var newHead = tmp$ret$0;
|
|
5679
|
-
if ($this.
|
|
5680
|
-
$this.
|
|
5681
|
-
if ($this.
|
|
5730
|
+
if ($this.fw_1.a5(newHead) < 0)
|
|
5731
|
+
$this.fw_1 = newHead;
|
|
5732
|
+
if ($this.gw_1.a5(newHead) < 0) {
|
|
5682
5733
|
correctCollectorIndexesOnDropOldest($this, newHead);
|
|
5683
5734
|
}
|
|
5684
5735
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
@@ -5687,11 +5738,11 @@
|
|
|
5687
5738
|
var tmp$ret$0;
|
|
5688
5739
|
$l$block: {
|
|
5689
5740
|
// Inline function 'kotlinx.coroutines.flow.internal.AbstractSharedFlow.forEachSlotLocked' call
|
|
5690
|
-
if ($this.
|
|
5741
|
+
if ($this.kw_1 === 0) {
|
|
5691
5742
|
tmp$ret$0 = Unit_getInstance();
|
|
5692
5743
|
break $l$block;
|
|
5693
5744
|
}
|
|
5694
|
-
var tmp0_safe_receiver = $this.
|
|
5745
|
+
var tmp0_safe_receiver = $this.jw_1;
|
|
5695
5746
|
if (tmp0_safe_receiver == null)
|
|
5696
5747
|
null;
|
|
5697
5748
|
else {
|
|
@@ -5702,18 +5753,18 @@
|
|
|
5702
5753
|
// Inline function 'kotlinx.coroutines.flow.internal.AbstractSharedFlow.forEachSlotLocked.<anonymous>' call
|
|
5703
5754
|
if (!(element == null)) {
|
|
5704
5755
|
// Inline function 'kotlinx.coroutines.flow.SharedFlowImpl.correctCollectorIndexesOnDropOldest.<anonymous>' call
|
|
5705
|
-
if (element.
|
|
5706
|
-
element.
|
|
5756
|
+
if (element.nw_1.a5(new Long(0, 0)) >= 0 ? element.nw_1.a5(newHead) < 0 : false) {
|
|
5757
|
+
element.nw_1 = newHead;
|
|
5707
5758
|
}
|
|
5708
5759
|
}
|
|
5709
5760
|
}
|
|
5710
5761
|
}
|
|
5711
5762
|
}
|
|
5712
|
-
$this.
|
|
5763
|
+
$this.gw_1 = newHead;
|
|
5713
5764
|
}
|
|
5714
5765
|
function enqueueLocked($this, item) {
|
|
5715
5766
|
var curSize = _get_totalSize__xhdb3o($this);
|
|
5716
|
-
var curBuffer = $this.
|
|
5767
|
+
var curBuffer = $this.ew_1;
|
|
5717
5768
|
var buffer = curBuffer == null ? growBuffer($this, null, 0, 2) : curSize >= curBuffer.length ? growBuffer($this, curBuffer, curSize, imul(curBuffer.length, 2)) : curBuffer;
|
|
5718
5769
|
var tmp$ret$0;
|
|
5719
5770
|
// Inline function 'kotlin.Long.plus' call
|
|
@@ -5740,7 +5791,7 @@
|
|
|
5740
5791
|
var tmp1_also = tmp$ret$1;
|
|
5741
5792
|
// Inline function 'kotlin.contracts.contract' call
|
|
5742
5793
|
// Inline function 'kotlinx.coroutines.flow.SharedFlowImpl.growBuffer.<anonymous>' call
|
|
5743
|
-
$this.
|
|
5794
|
+
$this.ew_1 = tmp1_also;
|
|
5744
5795
|
tmp$ret$2 = tmp1_also;
|
|
5745
5796
|
var newBuffer = tmp$ret$2;
|
|
5746
5797
|
if (curBuffer == null)
|
|
@@ -5783,7 +5834,7 @@
|
|
|
5783
5834
|
// Inline function 'kotlin.Companion.success' call
|
|
5784
5835
|
var tmp0_success = Companion_getInstance();
|
|
5785
5836
|
tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_getInstance());
|
|
5786
|
-
cancellable.
|
|
5837
|
+
cancellable.q3(tmp$ret$0);
|
|
5787
5838
|
tmp$ret$1 = Unit_getInstance();
|
|
5788
5839
|
resumes = findSlotsToResumeLocked($this, resumes);
|
|
5789
5840
|
tmp$ret$2 = null;
|
|
@@ -5801,9 +5852,9 @@
|
|
|
5801
5852
|
// Inline function 'kotlinx.coroutines.flow.SharedFlowImpl.emitSuspend.<anonymous>.<anonymous>.<anonymous>' call
|
|
5802
5853
|
enqueueLocked($this, tmp3_also);
|
|
5803
5854
|
var tmp0_this = $this;
|
|
5804
|
-
var tmp1 = tmp0_this.
|
|
5805
|
-
tmp0_this.
|
|
5806
|
-
if ($this.
|
|
5855
|
+
var tmp1 = tmp0_this.iw_1;
|
|
5856
|
+
tmp0_this.iw_1 = tmp1 + 1 | 0;
|
|
5857
|
+
if ($this.cw_1 === 0)
|
|
5807
5858
|
resumes = findSlotsToResumeLocked($this, resumes);
|
|
5808
5859
|
tmp$ret$4 = tmp3_also;
|
|
5809
5860
|
tmp$ret$2 = tmp$ret$4;
|
|
@@ -5836,7 +5887,7 @@
|
|
|
5836
5887
|
// Inline function 'kotlin.Companion.success' call
|
|
5837
5888
|
var tmp0_success_0 = Companion_getInstance();
|
|
5838
5889
|
tmp$ret$7 = _Result___init__impl__xyqfz8(Unit_getInstance());
|
|
5839
|
-
tmp2_safe_receiver.
|
|
5890
|
+
tmp2_safe_receiver.q3(tmp$ret$7);
|
|
5840
5891
|
tmp$ret$8 = Unit_getInstance();
|
|
5841
5892
|
}
|
|
5842
5893
|
}
|
|
@@ -5847,12 +5898,12 @@
|
|
|
5847
5898
|
function cancelEmitter($this, emitter) {
|
|
5848
5899
|
var tmp$ret$0;
|
|
5849
5900
|
// Inline function 'kotlinx.coroutines.internal.synchronized' call
|
|
5850
|
-
if (emitter.
|
|
5901
|
+
if (emitter.qw_1.a5(_get_head__d7jo8b($this)) < 0)
|
|
5851
5902
|
return Unit_getInstance();
|
|
5852
|
-
var buffer = ensureNotNull($this.
|
|
5853
|
-
if (!(getBufferAt(buffer, emitter.
|
|
5903
|
+
var buffer = ensureNotNull($this.ew_1);
|
|
5904
|
+
if (!(getBufferAt(buffer, emitter.qw_1) === emitter))
|
|
5854
5905
|
return Unit_getInstance();
|
|
5855
|
-
setBufferAt(buffer, emitter.
|
|
5906
|
+
setBufferAt(buffer, emitter.qw_1, get_NO_VALUE());
|
|
5856
5907
|
cleanupTailLocked($this);
|
|
5857
5908
|
tmp$ret$0 = Unit_getInstance();
|
|
5858
5909
|
return tmp$ret$0;
|
|
@@ -5868,24 +5919,24 @@
|
|
|
5868
5919
|
do {
|
|
5869
5920
|
var index = inductionVariable;
|
|
5870
5921
|
inductionVariable = inductionVariable.c5(new Long(1, 0));
|
|
5871
|
-
setBufferAt(ensureNotNull($this.
|
|
5922
|
+
setBufferAt(ensureNotNull($this.ew_1), index, null);
|
|
5872
5923
|
}
|
|
5873
5924
|
while (inductionVariable.a5(newHead) < 0);
|
|
5874
|
-
$this.
|
|
5875
|
-
$this.
|
|
5876
|
-
$this.
|
|
5877
|
-
$this.
|
|
5925
|
+
$this.fw_1 = newReplayIndex;
|
|
5926
|
+
$this.gw_1 = newMinCollectorIndex;
|
|
5927
|
+
$this.hw_1 = newBufferEndIndex.d5(newHead).b6();
|
|
5928
|
+
$this.iw_1 = newQueueEndIndex.d5(newBufferEndIndex).b6();
|
|
5878
5929
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
5879
5930
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
5880
5931
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
5881
5932
|
}
|
|
5882
5933
|
function cleanupTailLocked($this) {
|
|
5883
|
-
if ($this.
|
|
5934
|
+
if ($this.cw_1 === 0 ? $this.iw_1 <= 1 : false)
|
|
5884
5935
|
return Unit_getInstance();
|
|
5885
|
-
var buffer = ensureNotNull($this.
|
|
5936
|
+
var buffer = ensureNotNull($this.ew_1);
|
|
5886
5937
|
$l$loop: while (true) {
|
|
5887
5938
|
var tmp;
|
|
5888
|
-
if ($this.
|
|
5939
|
+
if ($this.iw_1 > 0) {
|
|
5889
5940
|
var tmp$ret$1;
|
|
5890
5941
|
// Inline function 'kotlin.Long.minus' call
|
|
5891
5942
|
var tmp$ret$0;
|
|
@@ -5903,8 +5954,8 @@
|
|
|
5903
5954
|
break $l$loop;
|
|
5904
5955
|
}
|
|
5905
5956
|
var tmp0_this = $this;
|
|
5906
|
-
var tmp1 = tmp0_this.
|
|
5907
|
-
tmp0_this.
|
|
5957
|
+
var tmp1 = tmp0_this.iw_1;
|
|
5958
|
+
tmp0_this.iw_1 = tmp1 - 1 | 0;
|
|
5908
5959
|
var tmp$ret$2;
|
|
5909
5960
|
// Inline function 'kotlin.Long.plus' call
|
|
5910
5961
|
var tmp3_plus = _get_head__d7jo8b($this);
|
|
@@ -5924,14 +5975,14 @@
|
|
|
5924
5975
|
if (index.a5(new Long(0, 0)) < 0) {
|
|
5925
5976
|
tmp = get_NO_VALUE();
|
|
5926
5977
|
} else {
|
|
5927
|
-
var oldIndex = slot.
|
|
5978
|
+
var oldIndex = slot.nw_1;
|
|
5928
5979
|
var newValue = getPeekedValueLockedAt($this, index);
|
|
5929
5980
|
var tmp_0 = slot;
|
|
5930
5981
|
var tmp$ret$0;
|
|
5931
5982
|
// Inline function 'kotlin.Long.plus' call
|
|
5932
5983
|
tmp$ret$0 = index.c5(new Long(1, 0));
|
|
5933
|
-
tmp_0.
|
|
5934
|
-
resumes = $this.
|
|
5984
|
+
tmp_0.nw_1 = tmp$ret$0;
|
|
5985
|
+
resumes = $this.tw(oldIndex);
|
|
5935
5986
|
tmp = newValue;
|
|
5936
5987
|
}
|
|
5937
5988
|
tmp$ret$1 = tmp;
|
|
@@ -5953,29 +6004,29 @@
|
|
|
5953
6004
|
// Inline function 'kotlin.Companion.success' call
|
|
5954
6005
|
var tmp0_success = Companion_getInstance();
|
|
5955
6006
|
tmp$ret$3 = _Result___init__impl__xyqfz8(Unit_getInstance());
|
|
5956
|
-
tmp1_safe_receiver.
|
|
6007
|
+
tmp1_safe_receiver.q3(tmp$ret$3);
|
|
5957
6008
|
tmp$ret$4 = Unit_getInstance();
|
|
5958
6009
|
}
|
|
5959
6010
|
}
|
|
5960
6011
|
return value;
|
|
5961
6012
|
}
|
|
5962
6013
|
function tryPeekLocked($this, slot) {
|
|
5963
|
-
var index = slot.
|
|
6014
|
+
var index = slot.nw_1;
|
|
5964
6015
|
if (index.a5(_get_bufferEndIndex__d2rk18($this)) < 0)
|
|
5965
6016
|
return index;
|
|
5966
|
-
if ($this.
|
|
6017
|
+
if ($this.cw_1 > 0)
|
|
5967
6018
|
return new Long(-1, -1);
|
|
5968
6019
|
if (index.a5(_get_head__d7jo8b($this)) > 0)
|
|
5969
6020
|
return new Long(-1, -1);
|
|
5970
|
-
if ($this.
|
|
6021
|
+
if ($this.iw_1 === 0)
|
|
5971
6022
|
return new Long(-1, -1);
|
|
5972
6023
|
return index;
|
|
5973
6024
|
}
|
|
5974
6025
|
function getPeekedValueLockedAt($this, index) {
|
|
5975
|
-
var item = getBufferAt(ensureNotNull($this.
|
|
6026
|
+
var item = getBufferAt(ensureNotNull($this.ew_1), index);
|
|
5976
6027
|
var tmp;
|
|
5977
6028
|
if (item instanceof Emitter) {
|
|
5978
|
-
tmp = item.
|
|
6029
|
+
tmp = item.rw_1;
|
|
5979
6030
|
} else {
|
|
5980
6031
|
tmp = item;
|
|
5981
6032
|
}
|
|
@@ -5995,7 +6046,7 @@
|
|
|
5995
6046
|
// Inline function 'kotlinx.coroutines.flow.SharedFlowImpl.awaitValue.<anonymous>.<anonymous>' call
|
|
5996
6047
|
var index = tryPeekLocked($this, slot);
|
|
5997
6048
|
if (index.a5(new Long(0, 0)) < 0) {
|
|
5998
|
-
slot.
|
|
6049
|
+
slot.ow_1 = cancellable;
|
|
5999
6050
|
} else {
|
|
6000
6051
|
var tmp$ret$1;
|
|
6001
6052
|
// Inline function 'kotlin.coroutines.resume' call
|
|
@@ -6003,12 +6054,12 @@
|
|
|
6003
6054
|
// Inline function 'kotlin.Companion.success' call
|
|
6004
6055
|
var tmp0_success = Companion_getInstance();
|
|
6005
6056
|
tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_getInstance());
|
|
6006
|
-
cancellable.
|
|
6057
|
+
cancellable.q3(tmp$ret$0);
|
|
6007
6058
|
tmp$ret$1 = Unit_getInstance();
|
|
6008
6059
|
tmp$ret$2 = Unit_getInstance();
|
|
6009
6060
|
break $l$block;
|
|
6010
6061
|
}
|
|
6011
|
-
slot.
|
|
6062
|
+
slot.ow_1 = cancellable;
|
|
6012
6063
|
}
|
|
6013
6064
|
tmp$ret$3 = tmp$ret$2;
|
|
6014
6065
|
tmp$ret$4 = cancellable.kj();
|
|
@@ -6021,11 +6072,11 @@
|
|
|
6021
6072
|
var tmp$ret$0;
|
|
6022
6073
|
$l$block: {
|
|
6023
6074
|
// Inline function 'kotlinx.coroutines.flow.internal.AbstractSharedFlow.forEachSlotLocked' call
|
|
6024
|
-
if ($this.
|
|
6075
|
+
if ($this.kw_1 === 0) {
|
|
6025
6076
|
tmp$ret$0 = Unit_getInstance();
|
|
6026
6077
|
break $l$block;
|
|
6027
6078
|
}
|
|
6028
|
-
var tmp0_safe_receiver = $this.
|
|
6079
|
+
var tmp0_safe_receiver = $this.jw_1;
|
|
6029
6080
|
if (tmp0_safe_receiver == null)
|
|
6030
6081
|
null;
|
|
6031
6082
|
else {
|
|
@@ -6038,7 +6089,7 @@
|
|
|
6038
6089
|
var tmp$ret$1;
|
|
6039
6090
|
$l$block_1: {
|
|
6040
6091
|
// Inline function 'kotlinx.coroutines.flow.SharedFlowImpl.findSlotsToResumeLocked.<anonymous>' call
|
|
6041
|
-
var tmp0_elvis_lhs = element.
|
|
6092
|
+
var tmp0_elvis_lhs = element.ow_1;
|
|
6042
6093
|
var tmp;
|
|
6043
6094
|
if (tmp0_elvis_lhs == null) {
|
|
6044
6095
|
tmp$ret$1 = Unit_getInstance();
|
|
@@ -6063,7 +6114,7 @@
|
|
|
6063
6114
|
var tmp1 = resumeCount;
|
|
6064
6115
|
resumeCount = tmp1 + 1 | 0;
|
|
6065
6116
|
tmp_1[tmp1] = cont;
|
|
6066
|
-
element.
|
|
6117
|
+
element.ow_1 = null;
|
|
6067
6118
|
}
|
|
6068
6119
|
}
|
|
6069
6120
|
}
|
|
@@ -6072,18 +6123,18 @@
|
|
|
6072
6123
|
return resumes;
|
|
6073
6124
|
}
|
|
6074
6125
|
function Emitter(flow, index, value, cont) {
|
|
6075
|
-
this.
|
|
6076
|
-
this.
|
|
6077
|
-
this.
|
|
6078
|
-
this.
|
|
6126
|
+
this.pw_1 = flow;
|
|
6127
|
+
this.qw_1 = index;
|
|
6128
|
+
this.rw_1 = value;
|
|
6129
|
+
this.sw_1 = cont;
|
|
6079
6130
|
}
|
|
6080
6131
|
protoOf(Emitter).di = function () {
|
|
6081
|
-
return cancelEmitter(this.
|
|
6132
|
+
return cancelEmitter(this.pw_1, this);
|
|
6082
6133
|
};
|
|
6083
6134
|
function $collectCOROUTINE$6(_this__u8e3s4, collector, resultContinuation) {
|
|
6084
6135
|
CoroutineImpl.call(this, resultContinuation);
|
|
6085
|
-
this.
|
|
6086
|
-
this.
|
|
6136
|
+
this.cx_1 = _this__u8e3s4;
|
|
6137
|
+
this.dx_1 = collector;
|
|
6087
6138
|
}
|
|
6088
6139
|
protoOf($collectCOROUTINE$6).re = function () {
|
|
6089
6140
|
var suspendResult = this.ae_1;
|
|
@@ -6093,15 +6144,15 @@
|
|
|
6093
6144
|
switch (tmp) {
|
|
6094
6145
|
case 0:
|
|
6095
6146
|
this.zd_1 = 13;
|
|
6096
|
-
this.
|
|
6147
|
+
this.ex_1 = this.cx_1.ix();
|
|
6097
6148
|
this.yd_1 = 1;
|
|
6098
6149
|
continue $sm;
|
|
6099
6150
|
case 1:
|
|
6100
6151
|
this.zd_1 = 12;
|
|
6101
|
-
var tmp_0 = this.
|
|
6152
|
+
var tmp_0 = this.dx_1;
|
|
6102
6153
|
if (tmp_0 instanceof SubscribedFlowCollector) {
|
|
6103
6154
|
this.yd_1 = 2;
|
|
6104
|
-
suspendResult = this.
|
|
6155
|
+
suspendResult = this.dx_1.lx(this);
|
|
6105
6156
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6106
6157
|
return suspendResult;
|
|
6107
6158
|
}
|
|
@@ -6117,7 +6168,7 @@
|
|
|
6117
6168
|
continue $sm;
|
|
6118
6169
|
case 3:
|
|
6119
6170
|
var tmp_1 = this;
|
|
6120
|
-
tmp_1.
|
|
6171
|
+
tmp_1.gx_1 = this.p3().t3(Key_getInstance_2());
|
|
6121
6172
|
this.yd_1 = 4;
|
|
6122
6173
|
continue $sm;
|
|
6123
6174
|
case 4:
|
|
@@ -6134,8 +6185,8 @@
|
|
|
6134
6185
|
continue $sm;
|
|
6135
6186
|
}
|
|
6136
6187
|
|
|
6137
|
-
this.
|
|
6138
|
-
if (!(this.
|
|
6188
|
+
this.hx_1 = tryTakeValue(this.cx_1, this.ex_1);
|
|
6189
|
+
if (!(this.hx_1 === get_NO_VALUE())) {
|
|
6139
6190
|
this.yd_1 = 8;
|
|
6140
6191
|
continue $sm;
|
|
6141
6192
|
} else {
|
|
@@ -6146,7 +6197,7 @@
|
|
|
6146
6197
|
break;
|
|
6147
6198
|
case 6:
|
|
6148
6199
|
this.yd_1 = 7;
|
|
6149
|
-
suspendResult = awaitValue(this.
|
|
6200
|
+
suspendResult = awaitValue(this.cx_1, this.ex_1, this);
|
|
6150
6201
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6151
6202
|
return suspendResult;
|
|
6152
6203
|
}
|
|
@@ -6156,7 +6207,7 @@
|
|
|
6156
6207
|
this.yd_1 = 5;
|
|
6157
6208
|
continue $sm;
|
|
6158
6209
|
case 8:
|
|
6159
|
-
var tmp0_safe_receiver = this.
|
|
6210
|
+
var tmp0_safe_receiver = this.gx_1;
|
|
6160
6211
|
if (tmp0_safe_receiver == null)
|
|
6161
6212
|
null;
|
|
6162
6213
|
else {
|
|
@@ -6165,8 +6216,8 @@
|
|
|
6165
6216
|
|
|
6166
6217
|
;
|
|
6167
6218
|
this.yd_1 = 9;
|
|
6168
|
-
var tmp_2 = this.
|
|
6169
|
-
suspendResult = this.
|
|
6219
|
+
var tmp_2 = this.hx_1;
|
|
6220
|
+
suspendResult = this.dx_1.gv((tmp_2 == null ? true : isObject(tmp_2)) ? tmp_2 : THROW_CCE(), this);
|
|
6170
6221
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6171
6222
|
return suspendResult;
|
|
6172
6223
|
}
|
|
@@ -6176,18 +6227,18 @@
|
|
|
6176
6227
|
this.yd_1 = 4;
|
|
6177
6228
|
continue $sm;
|
|
6178
6229
|
case 10:
|
|
6179
|
-
this.
|
|
6230
|
+
this.fx_1 = Unit_getInstance();
|
|
6180
6231
|
this.zd_1 = 13;
|
|
6181
6232
|
this.yd_1 = 11;
|
|
6182
6233
|
continue $sm;
|
|
6183
6234
|
case 11:
|
|
6184
|
-
this.
|
|
6235
|
+
this.cx_1.mx(this.ex_1);
|
|
6185
6236
|
;
|
|
6186
6237
|
return Unit_getInstance();
|
|
6187
6238
|
case 12:
|
|
6188
6239
|
this.zd_1 = 13;
|
|
6189
6240
|
var t = this.be_1;
|
|
6190
|
-
this.
|
|
6241
|
+
this.cx_1.mx(this.ex_1);
|
|
6191
6242
|
;
|
|
6192
6243
|
throw t;
|
|
6193
6244
|
case 13:
|
|
@@ -6206,22 +6257,22 @@
|
|
|
6206
6257
|
};
|
|
6207
6258
|
function SharedFlowImpl(replay, bufferCapacity, onBufferOverflow) {
|
|
6208
6259
|
AbstractSharedFlow.call(this);
|
|
6209
|
-
this.
|
|
6210
|
-
this.
|
|
6211
|
-
this.
|
|
6212
|
-
this.
|
|
6213
|
-
this.
|
|
6214
|
-
this.
|
|
6215
|
-
this.
|
|
6216
|
-
this.
|
|
6217
|
-
}
|
|
6218
|
-
protoOf(SharedFlowImpl).
|
|
6219
|
-
var tmp = ensureNotNull(this.
|
|
6260
|
+
this.bw_1 = replay;
|
|
6261
|
+
this.cw_1 = bufferCapacity;
|
|
6262
|
+
this.dw_1 = onBufferOverflow;
|
|
6263
|
+
this.ew_1 = null;
|
|
6264
|
+
this.fw_1 = new Long(0, 0);
|
|
6265
|
+
this.gw_1 = new Long(0, 0);
|
|
6266
|
+
this.hw_1 = 0;
|
|
6267
|
+
this.iw_1 = 0;
|
|
6268
|
+
}
|
|
6269
|
+
protoOf(SharedFlowImpl).nx = function () {
|
|
6270
|
+
var tmp = ensureNotNull(this.ew_1);
|
|
6220
6271
|
var tmp$ret$1;
|
|
6221
6272
|
// Inline function 'kotlin.Long.minus' call
|
|
6222
6273
|
var tmp$ret$0;
|
|
6223
6274
|
// Inline function 'kotlin.Long.plus' call
|
|
6224
|
-
var tmp0_plus = this.
|
|
6275
|
+
var tmp0_plus = this.fw_1;
|
|
6225
6276
|
var tmp1_plus = _get_replaySize__dxgnb1(this);
|
|
6226
6277
|
tmp$ret$0 = tmp0_plus.c5(toLong(tmp1_plus));
|
|
6227
6278
|
var tmp2_minus = tmp$ret$0;
|
|
@@ -6229,16 +6280,16 @@
|
|
|
6229
6280
|
var tmp_0 = getBufferAt(tmp, tmp$ret$1);
|
|
6230
6281
|
return (tmp_0 == null ? true : isObject(tmp_0)) ? tmp_0 : THROW_CCE();
|
|
6231
6282
|
};
|
|
6232
|
-
protoOf(SharedFlowImpl).
|
|
6283
|
+
protoOf(SharedFlowImpl).ox = function (collector, $completion) {
|
|
6233
6284
|
var tmp = new $collectCOROUTINE$6(this, collector, $completion);
|
|
6234
6285
|
tmp.ae_1 = Unit_getInstance();
|
|
6235
6286
|
tmp.be_1 = null;
|
|
6236
6287
|
return tmp.re();
|
|
6237
6288
|
};
|
|
6238
|
-
protoOf(SharedFlowImpl).
|
|
6239
|
-
return this.
|
|
6289
|
+
protoOf(SharedFlowImpl).hv = function (collector, $completion) {
|
|
6290
|
+
return this.ox(collector, $completion);
|
|
6240
6291
|
};
|
|
6241
|
-
protoOf(SharedFlowImpl).
|
|
6292
|
+
protoOf(SharedFlowImpl).px = function (value) {
|
|
6242
6293
|
var resumes = get_EMPTY_RESUMES();
|
|
6243
6294
|
var tmp$ret$1;
|
|
6244
6295
|
// Inline function 'kotlinx.coroutines.internal.synchronized' call
|
|
@@ -6270,46 +6321,46 @@
|
|
|
6270
6321
|
// Inline function 'kotlin.Companion.success' call
|
|
6271
6322
|
var tmp0_success = Companion_getInstance();
|
|
6272
6323
|
tmp$ret$2 = _Result___init__impl__xyqfz8(Unit_getInstance());
|
|
6273
|
-
tmp1_safe_receiver.
|
|
6324
|
+
tmp1_safe_receiver.q3(tmp$ret$2);
|
|
6274
6325
|
tmp$ret$3 = Unit_getInstance();
|
|
6275
6326
|
}
|
|
6276
6327
|
}
|
|
6277
6328
|
return emitted;
|
|
6278
6329
|
};
|
|
6279
|
-
protoOf(SharedFlowImpl).
|
|
6280
|
-
if (this.
|
|
6330
|
+
protoOf(SharedFlowImpl).gv = function (value, $completion) {
|
|
6331
|
+
if (this.px(value))
|
|
6281
6332
|
return Unit_getInstance();
|
|
6282
6333
|
var tmp0 = emitSuspend(this, value, $completion);
|
|
6283
6334
|
return tmp0;
|
|
6284
6335
|
};
|
|
6285
|
-
protoOf(SharedFlowImpl).
|
|
6286
|
-
var index = this.
|
|
6287
|
-
if (index.a5(this.
|
|
6288
|
-
this.
|
|
6336
|
+
protoOf(SharedFlowImpl).qx = function () {
|
|
6337
|
+
var index = this.fw_1;
|
|
6338
|
+
if (index.a5(this.gw_1) < 0)
|
|
6339
|
+
this.gw_1 = index;
|
|
6289
6340
|
return index;
|
|
6290
6341
|
};
|
|
6291
|
-
protoOf(SharedFlowImpl).
|
|
6342
|
+
protoOf(SharedFlowImpl).tw = function (oldIndex) {
|
|
6292
6343
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
6293
|
-
if (oldIndex.a5(this.
|
|
6344
|
+
if (oldIndex.a5(this.gw_1) > 0)
|
|
6294
6345
|
return get_EMPTY_RESUMES();
|
|
6295
6346
|
var head = _get_head__d7jo8b(this);
|
|
6296
6347
|
var tmp$ret$0;
|
|
6297
6348
|
// Inline function 'kotlin.Long.plus' call
|
|
6298
|
-
var tmp0_plus = this.
|
|
6349
|
+
var tmp0_plus = this.hw_1;
|
|
6299
6350
|
tmp$ret$0 = head.c5(toLong(tmp0_plus));
|
|
6300
6351
|
var newMinCollectorIndex = tmp$ret$0;
|
|
6301
|
-
if (this.
|
|
6352
|
+
if (this.cw_1 === 0 ? this.iw_1 > 0 : false) {
|
|
6302
6353
|
var tmp0 = newMinCollectorIndex;
|
|
6303
6354
|
newMinCollectorIndex = tmp0.rd();
|
|
6304
6355
|
}
|
|
6305
6356
|
var tmp$ret$1;
|
|
6306
6357
|
$l$block: {
|
|
6307
6358
|
// Inline function 'kotlinx.coroutines.flow.internal.AbstractSharedFlow.forEachSlotLocked' call
|
|
6308
|
-
if (this.
|
|
6359
|
+
if (this.kw_1 === 0) {
|
|
6309
6360
|
tmp$ret$1 = Unit_getInstance();
|
|
6310
6361
|
break $l$block;
|
|
6311
6362
|
}
|
|
6312
|
-
var tmp0_safe_receiver = this.
|
|
6363
|
+
var tmp0_safe_receiver = this.jw_1;
|
|
6313
6364
|
if (tmp0_safe_receiver == null)
|
|
6314
6365
|
null;
|
|
6315
6366
|
else {
|
|
@@ -6320,34 +6371,34 @@
|
|
|
6320
6371
|
// Inline function 'kotlinx.coroutines.flow.internal.AbstractSharedFlow.forEachSlotLocked.<anonymous>' call
|
|
6321
6372
|
if (!(element == null)) {
|
|
6322
6373
|
// Inline function 'kotlinx.coroutines.flow.SharedFlowImpl.updateCollectorIndexLocked.<anonymous>' call
|
|
6323
|
-
if (element.
|
|
6324
|
-
newMinCollectorIndex = element.
|
|
6374
|
+
if (element.nw_1.a5(new Long(0, 0)) >= 0 ? element.nw_1.a5(newMinCollectorIndex) < 0 : false)
|
|
6375
|
+
newMinCollectorIndex = element.nw_1;
|
|
6325
6376
|
}
|
|
6326
6377
|
}
|
|
6327
6378
|
}
|
|
6328
6379
|
}
|
|
6329
6380
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
6330
|
-
if (newMinCollectorIndex.a5(this.
|
|
6381
|
+
if (newMinCollectorIndex.a5(this.gw_1) <= 0)
|
|
6331
6382
|
return get_EMPTY_RESUMES();
|
|
6332
6383
|
var newBufferEndIndex = _get_bufferEndIndex__d2rk18(this);
|
|
6333
6384
|
var tmp;
|
|
6334
|
-
if (this.
|
|
6385
|
+
if (this.kw_1 > 0) {
|
|
6335
6386
|
var newBufferSize0 = newBufferEndIndex.d5(newMinCollectorIndex).b6();
|
|
6336
6387
|
var tmp$ret$2;
|
|
6337
6388
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
6338
|
-
var tmp1_minOf = this.
|
|
6339
|
-
var tmp2_minOf = this.
|
|
6389
|
+
var tmp1_minOf = this.iw_1;
|
|
6390
|
+
var tmp2_minOf = this.cw_1 - newBufferSize0 | 0;
|
|
6340
6391
|
tmp$ret$2 = Math.min(tmp1_minOf, tmp2_minOf);
|
|
6341
6392
|
tmp = tmp$ret$2;
|
|
6342
6393
|
} else {
|
|
6343
|
-
tmp = this.
|
|
6394
|
+
tmp = this.iw_1;
|
|
6344
6395
|
}
|
|
6345
6396
|
var maxResumeCount = tmp;
|
|
6346
6397
|
var resumes = get_EMPTY_RESUMES();
|
|
6347
6398
|
var tmp$ret$3;
|
|
6348
6399
|
// Inline function 'kotlin.Long.plus' call
|
|
6349
6400
|
var tmp3_plus = newBufferEndIndex;
|
|
6350
|
-
var tmp4_plus = this.
|
|
6401
|
+
var tmp4_plus = this.iw_1;
|
|
6351
6402
|
tmp$ret$3 = tmp3_plus.c5(toLong(tmp4_plus));
|
|
6352
6403
|
var newQueueEndIndex = tmp$ret$3;
|
|
6353
6404
|
if (maxResumeCount > 0) {
|
|
@@ -6356,7 +6407,7 @@
|
|
|
6356
6407
|
tmp$ret$4 = fillArrayVal(Array(maxResumeCount), null);
|
|
6357
6408
|
resumes = tmp$ret$4;
|
|
6358
6409
|
var resumeCount = 0;
|
|
6359
|
-
var buffer = ensureNotNull(this.
|
|
6410
|
+
var buffer = ensureNotNull(this.ew_1);
|
|
6360
6411
|
var inductionVariable = newBufferEndIndex;
|
|
6361
6412
|
if (inductionVariable.a5(newQueueEndIndex) < 0)
|
|
6362
6413
|
$l$loop: do {
|
|
@@ -6371,9 +6422,9 @@
|
|
|
6371
6422
|
var tmp_0 = resumes;
|
|
6372
6423
|
var tmp2 = resumeCount;
|
|
6373
6424
|
resumeCount = tmp2 + 1 | 0;
|
|
6374
|
-
tmp_0[tmp2] = emitter.
|
|
6425
|
+
tmp_0[tmp2] = emitter.sw_1;
|
|
6375
6426
|
setBufferAt(buffer, curEmitterIndex, get_NO_VALUE());
|
|
6376
|
-
setBufferAt(buffer, newBufferEndIndex, emitter.
|
|
6427
|
+
setBufferAt(buffer, newBufferEndIndex, emitter.rw_1);
|
|
6377
6428
|
var tmp3 = newBufferEndIndex;
|
|
6378
6429
|
newBufferEndIndex = tmp3.rd();
|
|
6379
6430
|
if (resumeCount >= maxResumeCount)
|
|
@@ -6383,24 +6434,24 @@
|
|
|
6383
6434
|
while (inductionVariable.a5(newQueueEndIndex) < 0);
|
|
6384
6435
|
}
|
|
6385
6436
|
var newBufferSize1 = newBufferEndIndex.d5(head).b6();
|
|
6386
|
-
if (this.
|
|
6437
|
+
if (this.kw_1 === 0)
|
|
6387
6438
|
newMinCollectorIndex = newBufferEndIndex;
|
|
6388
6439
|
var tmp$ret$7;
|
|
6389
6440
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
6390
|
-
var tmp8_maxOf = this.
|
|
6441
|
+
var tmp8_maxOf = this.fw_1;
|
|
6391
6442
|
var tmp$ret$6;
|
|
6392
6443
|
// Inline function 'kotlin.Long.minus' call
|
|
6393
6444
|
var tmp6_minus = newBufferEndIndex;
|
|
6394
6445
|
var tmp$ret$5;
|
|
6395
6446
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
6396
|
-
var tmp5_minOf = this.
|
|
6447
|
+
var tmp5_minOf = this.bw_1;
|
|
6397
6448
|
tmp$ret$5 = Math.min(tmp5_minOf, newBufferSize1);
|
|
6398
6449
|
var tmp7_minus = tmp$ret$5;
|
|
6399
6450
|
tmp$ret$6 = tmp6_minus.d5(toLong(tmp7_minus));
|
|
6400
6451
|
var tmp9_maxOf = tmp$ret$6;
|
|
6401
6452
|
tmp$ret$7 = tmp8_maxOf.a5(tmp9_maxOf) >= 0 ? tmp8_maxOf : tmp9_maxOf;
|
|
6402
6453
|
var newReplayIndex = tmp$ret$7;
|
|
6403
|
-
if ((this.
|
|
6454
|
+
if ((this.cw_1 === 0 ? newReplayIndex.a5(newQueueEndIndex) < 0 : false) ? equals(getBufferAt(ensureNotNull(this.ew_1), newReplayIndex), get_NO_VALUE()) : false) {
|
|
6404
6455
|
var tmp4 = newBufferEndIndex;
|
|
6405
6456
|
newBufferEndIndex = tmp4.rd();
|
|
6406
6457
|
var tmp5 = newReplayIndex;
|
|
@@ -6419,41 +6470,41 @@
|
|
|
6419
6470
|
resumes = findSlotsToResumeLocked(this, resumes);
|
|
6420
6471
|
return resumes;
|
|
6421
6472
|
};
|
|
6422
|
-
protoOf(SharedFlowImpl).
|
|
6473
|
+
protoOf(SharedFlowImpl).rx = function () {
|
|
6423
6474
|
return new SharedFlowSlot();
|
|
6424
6475
|
};
|
|
6425
|
-
protoOf(SharedFlowImpl).
|
|
6476
|
+
protoOf(SharedFlowImpl).sx = function (size) {
|
|
6426
6477
|
var tmp$ret$0;
|
|
6427
6478
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
6428
6479
|
tmp$ret$0 = fillArrayVal(Array(size), null);
|
|
6429
6480
|
return tmp$ret$0;
|
|
6430
6481
|
};
|
|
6431
|
-
protoOf(SharedFlowImpl).
|
|
6482
|
+
protoOf(SharedFlowImpl).tx = function (context, capacity, onBufferOverflow) {
|
|
6432
6483
|
return fuseSharedFlow(this, context, capacity, onBufferOverflow);
|
|
6433
6484
|
};
|
|
6434
6485
|
function SharedFlowSlot() {
|
|
6435
6486
|
AbstractSharedFlowSlot.call(this);
|
|
6436
|
-
this.
|
|
6437
|
-
this.
|
|
6487
|
+
this.nw_1 = new Long(-1, -1);
|
|
6488
|
+
this.ow_1 = null;
|
|
6438
6489
|
}
|
|
6439
|
-
protoOf(SharedFlowSlot).
|
|
6440
|
-
if (this.
|
|
6490
|
+
protoOf(SharedFlowSlot).vx = function (flow) {
|
|
6491
|
+
if (this.nw_1.a5(new Long(0, 0)) >= 0)
|
|
6441
6492
|
return false;
|
|
6442
|
-
this.
|
|
6493
|
+
this.nw_1 = flow.qx();
|
|
6443
6494
|
return true;
|
|
6444
6495
|
};
|
|
6445
|
-
protoOf(SharedFlowSlot).
|
|
6446
|
-
return this.
|
|
6496
|
+
protoOf(SharedFlowSlot).wx = function (flow) {
|
|
6497
|
+
return this.vx(flow instanceof SharedFlowImpl ? flow : THROW_CCE());
|
|
6447
6498
|
};
|
|
6448
|
-
protoOf(SharedFlowSlot).
|
|
6499
|
+
protoOf(SharedFlowSlot).xx = function (flow) {
|
|
6449
6500
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
6450
|
-
var oldIndex = this.
|
|
6451
|
-
this.
|
|
6452
|
-
this.
|
|
6453
|
-
return flow.
|
|
6501
|
+
var oldIndex = this.nw_1;
|
|
6502
|
+
this.nw_1 = new Long(-1, -1);
|
|
6503
|
+
this.ow_1 = null;
|
|
6504
|
+
return flow.tw(oldIndex);
|
|
6454
6505
|
};
|
|
6455
|
-
protoOf(SharedFlowSlot).
|
|
6456
|
-
return this.
|
|
6506
|
+
protoOf(SharedFlowSlot).yx = function (flow) {
|
|
6507
|
+
return this.xx(flow instanceof SharedFlowImpl ? flow : THROW_CCE());
|
|
6457
6508
|
};
|
|
6458
6509
|
function getBufferAt(_this__u8e3s4, index) {
|
|
6459
6510
|
_init_properties_SharedFlow_kt__umasnn();
|
|
@@ -6500,37 +6551,37 @@
|
|
|
6500
6551
|
}
|
|
6501
6552
|
var EMPTY_RESUMES;
|
|
6502
6553
|
function AbstractSharedFlow() {
|
|
6503
|
-
this.gw_1 = null;
|
|
6504
|
-
this.hw_1 = 0;
|
|
6505
|
-
this.iw_1 = 0;
|
|
6506
6554
|
this.jw_1 = null;
|
|
6555
|
+
this.kw_1 = 0;
|
|
6556
|
+
this.lw_1 = 0;
|
|
6557
|
+
this.mw_1 = null;
|
|
6507
6558
|
}
|
|
6508
|
-
protoOf(AbstractSharedFlow).
|
|
6559
|
+
protoOf(AbstractSharedFlow).ix = function () {
|
|
6509
6560
|
var subscriptionCount = null;
|
|
6510
6561
|
var tmp$ret$4;
|
|
6511
6562
|
// Inline function 'kotlinx.coroutines.internal.synchronized' call
|
|
6512
6563
|
var tmp$ret$3;
|
|
6513
6564
|
// Inline function 'kotlinx.coroutines.flow.internal.AbstractSharedFlow.allocateSlot.<anonymous>' call
|
|
6514
|
-
var curSlots = this.
|
|
6565
|
+
var curSlots = this.jw_1;
|
|
6515
6566
|
var tmp;
|
|
6516
6567
|
if (curSlots == null) {
|
|
6517
6568
|
var tmp$ret$0;
|
|
6518
6569
|
// Inline function 'kotlin.also' call
|
|
6519
|
-
var tmp0_also = this.
|
|
6570
|
+
var tmp0_also = this.sx(2);
|
|
6520
6571
|
// Inline function 'kotlin.contracts.contract' call
|
|
6521
6572
|
// Inline function 'kotlinx.coroutines.flow.internal.AbstractSharedFlow.allocateSlot.<anonymous>.<anonymous>' call
|
|
6522
|
-
this.
|
|
6573
|
+
this.jw_1 = tmp0_also;
|
|
6523
6574
|
tmp$ret$0 = tmp0_also;
|
|
6524
6575
|
tmp = tmp$ret$0;
|
|
6525
6576
|
} else {
|
|
6526
6577
|
var tmp_0;
|
|
6527
|
-
if (this.
|
|
6578
|
+
if (this.kw_1 >= curSlots.length) {
|
|
6528
6579
|
var tmp$ret$1;
|
|
6529
6580
|
// Inline function 'kotlin.also' call
|
|
6530
6581
|
var tmp1_also = copyOf(curSlots, imul(2, curSlots.length));
|
|
6531
6582
|
// Inline function 'kotlin.contracts.contract' call
|
|
6532
6583
|
// Inline function 'kotlinx.coroutines.flow.internal.AbstractSharedFlow.allocateSlot.<anonymous>.<anonymous>' call
|
|
6533
|
-
this.
|
|
6584
|
+
this.jw_1 = tmp1_also;
|
|
6534
6585
|
tmp$ret$1 = tmp1_also;
|
|
6535
6586
|
tmp_0 = tmp$ret$1;
|
|
6536
6587
|
} else {
|
|
@@ -6539,7 +6590,7 @@
|
|
|
6539
6590
|
tmp = tmp_0;
|
|
6540
6591
|
}
|
|
6541
6592
|
var slots = tmp;
|
|
6542
|
-
var index = this.
|
|
6593
|
+
var index = this.lw_1;
|
|
6543
6594
|
var slot;
|
|
6544
6595
|
$l$loop: while (true) {
|
|
6545
6596
|
var tmp0_elvis_lhs = slots[index];
|
|
@@ -6547,7 +6598,7 @@
|
|
|
6547
6598
|
if (tmp0_elvis_lhs == null) {
|
|
6548
6599
|
var tmp$ret$2;
|
|
6549
6600
|
// Inline function 'kotlin.also' call
|
|
6550
|
-
var tmp2_also = this.
|
|
6601
|
+
var tmp2_also = this.rx();
|
|
6551
6602
|
// Inline function 'kotlin.contracts.contract' call
|
|
6552
6603
|
// Inline function 'kotlinx.coroutines.flow.internal.AbstractSharedFlow.allocateSlot.<anonymous>.<anonymous>' call
|
|
6553
6604
|
slots[index] = tmp2_also;
|
|
@@ -6561,14 +6612,14 @@
|
|
|
6561
6612
|
index = tmp1 + 1 | 0;
|
|
6562
6613
|
if (index >= slots.length)
|
|
6563
6614
|
index = 0;
|
|
6564
|
-
if ((slot instanceof AbstractSharedFlowSlot ? slot : THROW_CCE()).
|
|
6615
|
+
if ((slot instanceof AbstractSharedFlowSlot ? slot : THROW_CCE()).wx(this))
|
|
6565
6616
|
break $l$loop;
|
|
6566
6617
|
}
|
|
6567
|
-
this.
|
|
6618
|
+
this.lw_1 = index;
|
|
6568
6619
|
var tmp2_this = this;
|
|
6569
|
-
var tmp3 = tmp2_this.
|
|
6570
|
-
tmp2_this.
|
|
6571
|
-
subscriptionCount = this.
|
|
6620
|
+
var tmp3 = tmp2_this.kw_1;
|
|
6621
|
+
tmp2_this.kw_1 = tmp3 + 1 | 0;
|
|
6622
|
+
subscriptionCount = this.mw_1;
|
|
6572
6623
|
tmp$ret$3 = slot;
|
|
6573
6624
|
tmp$ret$4 = tmp$ret$3;
|
|
6574
6625
|
var slot_0 = tmp$ret$4;
|
|
@@ -6576,22 +6627,22 @@
|
|
|
6576
6627
|
if (tmp0_safe_receiver == null)
|
|
6577
6628
|
null;
|
|
6578
6629
|
else
|
|
6579
|
-
tmp0_safe_receiver.
|
|
6630
|
+
tmp0_safe_receiver.ly(1);
|
|
6580
6631
|
return slot_0;
|
|
6581
6632
|
};
|
|
6582
|
-
protoOf(AbstractSharedFlow).
|
|
6633
|
+
protoOf(AbstractSharedFlow).mx = function (slot) {
|
|
6583
6634
|
var subscriptionCount = null;
|
|
6584
6635
|
var tmp$ret$1;
|
|
6585
6636
|
// Inline function 'kotlinx.coroutines.internal.synchronized' call
|
|
6586
6637
|
var tmp$ret$0;
|
|
6587
6638
|
// Inline function 'kotlinx.coroutines.flow.internal.AbstractSharedFlow.freeSlot.<anonymous>' call
|
|
6588
6639
|
var tmp0_this = this;
|
|
6589
|
-
var tmp1 = tmp0_this.
|
|
6590
|
-
tmp0_this.
|
|
6591
|
-
subscriptionCount = this.
|
|
6592
|
-
if (this.
|
|
6593
|
-
this.
|
|
6594
|
-
tmp$ret$0 = (slot instanceof AbstractSharedFlowSlot ? slot : THROW_CCE()).
|
|
6640
|
+
var tmp1 = tmp0_this.kw_1;
|
|
6641
|
+
tmp0_this.kw_1 = tmp1 - 1 | 0;
|
|
6642
|
+
subscriptionCount = this.mw_1;
|
|
6643
|
+
if (this.kw_1 === 0)
|
|
6644
|
+
this.lw_1 = 0;
|
|
6645
|
+
tmp$ret$0 = (slot instanceof AbstractSharedFlowSlot ? slot : THROW_CCE()).yx(this);
|
|
6595
6646
|
tmp$ret$1 = tmp$ret$0;
|
|
6596
6647
|
var resumes = tmp$ret$1;
|
|
6597
6648
|
var indexedObject = resumes;
|
|
@@ -6610,7 +6661,7 @@
|
|
|
6610
6661
|
// Inline function 'kotlin.Companion.success' call
|
|
6611
6662
|
var tmp0_success = Companion_getInstance();
|
|
6612
6663
|
tmp$ret$2 = _Result___init__impl__xyqfz8(Unit_getInstance());
|
|
6613
|
-
tmp1_safe_receiver.
|
|
6664
|
+
tmp1_safe_receiver.q3(tmp$ret$2);
|
|
6614
6665
|
tmp$ret$3 = Unit_getInstance();
|
|
6615
6666
|
}
|
|
6616
6667
|
}
|
|
@@ -6618,7 +6669,7 @@
|
|
|
6618
6669
|
if (tmp2_safe_receiver == null)
|
|
6619
6670
|
null;
|
|
6620
6671
|
else
|
|
6621
|
-
tmp2_safe_receiver.
|
|
6672
|
+
tmp2_safe_receiver.ly(-1);
|
|
6622
6673
|
};
|
|
6623
6674
|
function AbstractSharedFlowSlot() {
|
|
6624
6675
|
}
|
|
@@ -6648,33 +6699,33 @@
|
|
|
6648
6699
|
onBufferOverflow = onBufferOverflow === VOID ? BufferOverflow_SUSPEND_getInstance() : onBufferOverflow;
|
|
6649
6700
|
ChannelFlowOperator.call(this, flow, context, capacity, onBufferOverflow);
|
|
6650
6701
|
}
|
|
6651
|
-
protoOf(ChannelFlowOperatorImpl).
|
|
6652
|
-
return new ChannelFlowOperatorImpl(this.
|
|
6702
|
+
protoOf(ChannelFlowOperatorImpl).qy = function (context, capacity, onBufferOverflow) {
|
|
6703
|
+
return new ChannelFlowOperatorImpl(this.uy_1, context, capacity, onBufferOverflow);
|
|
6653
6704
|
};
|
|
6654
|
-
protoOf(ChannelFlowOperatorImpl).
|
|
6655
|
-
var tmp0 = this.
|
|
6705
|
+
protoOf(ChannelFlowOperatorImpl).vy = function (collector, $completion) {
|
|
6706
|
+
var tmp0 = this.uy_1.hv(collector, $completion);
|
|
6656
6707
|
return tmp0;
|
|
6657
6708
|
};
|
|
6658
6709
|
function collectWithContextUndispatched($this, collector, newContext, $completion) {
|
|
6659
6710
|
var tmp$ret$0;
|
|
6660
6711
|
// Inline function 'kotlin.js.getCoroutineContext' call
|
|
6661
|
-
tmp$ret$0 = $completion.
|
|
6712
|
+
tmp$ret$0 = $completion.p3();
|
|
6662
6713
|
var originalContextCollector = withUndispatchedContextCollector(collector, tmp$ret$0);
|
|
6663
6714
|
var tmp0 = withContextUndispatched(newContext, originalContextCollector, VOID, ChannelFlowOperator$collectWithContextUndispatched$slambda_0($this, null), $completion);
|
|
6664
6715
|
return tmp0;
|
|
6665
6716
|
}
|
|
6666
6717
|
function ChannelFlowOperator$collectWithContextUndispatched$slambda(this$0, resultContinuation) {
|
|
6667
|
-
this.
|
|
6718
|
+
this.mz_1 = this$0;
|
|
6668
6719
|
CoroutineImpl.call(this, resultContinuation);
|
|
6669
6720
|
}
|
|
6670
|
-
protoOf(ChannelFlowOperator$collectWithContextUndispatched$slambda).
|
|
6671
|
-
var tmp = this.
|
|
6721
|
+
protoOf(ChannelFlowOperator$collectWithContextUndispatched$slambda).oz = function (it, $completion) {
|
|
6722
|
+
var tmp = this.pz(it, $completion);
|
|
6672
6723
|
tmp.ae_1 = Unit_getInstance();
|
|
6673
6724
|
tmp.be_1 = null;
|
|
6674
6725
|
return tmp.re();
|
|
6675
6726
|
};
|
|
6676
6727
|
protoOf(ChannelFlowOperator$collectWithContextUndispatched$slambda).ff = function (p1, $completion) {
|
|
6677
|
-
return this.
|
|
6728
|
+
return this.oz((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
|
|
6678
6729
|
};
|
|
6679
6730
|
protoOf(ChannelFlowOperator$collectWithContextUndispatched$slambda).re = function () {
|
|
6680
6731
|
var suspendResult = this.ae_1;
|
|
@@ -6685,7 +6736,7 @@
|
|
|
6685
6736
|
case 0:
|
|
6686
6737
|
this.zd_1 = 2;
|
|
6687
6738
|
this.yd_1 = 1;
|
|
6688
|
-
suspendResult = this.
|
|
6739
|
+
suspendResult = this.mz_1.vy(this.nz_1, this);
|
|
6689
6740
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6690
6741
|
return suspendResult;
|
|
6691
6742
|
}
|
|
@@ -6707,23 +6758,23 @@
|
|
|
6707
6758
|
}
|
|
6708
6759
|
while (true);
|
|
6709
6760
|
};
|
|
6710
|
-
protoOf(ChannelFlowOperator$collectWithContextUndispatched$slambda).
|
|
6711
|
-
var i = new ChannelFlowOperator$collectWithContextUndispatched$slambda(this.
|
|
6712
|
-
i.
|
|
6761
|
+
protoOf(ChannelFlowOperator$collectWithContextUndispatched$slambda).pz = function (it, completion) {
|
|
6762
|
+
var i = new ChannelFlowOperator$collectWithContextUndispatched$slambda(this.mz_1, completion);
|
|
6763
|
+
i.nz_1 = it;
|
|
6713
6764
|
return i;
|
|
6714
6765
|
};
|
|
6715
6766
|
function ChannelFlowOperator$collectWithContextUndispatched$slambda_0(this$0, resultContinuation) {
|
|
6716
6767
|
var i = new ChannelFlowOperator$collectWithContextUndispatched$slambda(this$0, resultContinuation);
|
|
6717
6768
|
var l = function (it, $completion) {
|
|
6718
|
-
return i.
|
|
6769
|
+
return i.oz(it, $completion);
|
|
6719
6770
|
};
|
|
6720
6771
|
l.$arity = 1;
|
|
6721
6772
|
return l;
|
|
6722
6773
|
}
|
|
6723
6774
|
function $collectCOROUTINE$7(_this__u8e3s4, collector, resultContinuation) {
|
|
6724
6775
|
CoroutineImpl.call(this, resultContinuation);
|
|
6725
|
-
this.
|
|
6726
|
-
this.
|
|
6776
|
+
this.yz_1 = _this__u8e3s4;
|
|
6777
|
+
this.zz_1 = collector;
|
|
6727
6778
|
}
|
|
6728
6779
|
protoOf($collectCOROUTINE$7).re = function () {
|
|
6729
6780
|
var suspendResult = this.ae_1;
|
|
@@ -6734,13 +6785,13 @@
|
|
|
6734
6785
|
case 0:
|
|
6735
6786
|
this.zd_1 = 7;
|
|
6736
6787
|
Factory_getInstance();
|
|
6737
|
-
if (this.
|
|
6788
|
+
if (this.yz_1.yy_1 === -3) {
|
|
6738
6789
|
var tmp_0 = this;
|
|
6739
|
-
tmp_0.
|
|
6740
|
-
this.
|
|
6741
|
-
if (equals(this.
|
|
6790
|
+
tmp_0.a10_1 = this.p3();
|
|
6791
|
+
this.b10_1 = this.a10_1.a4(this.yz_1.xy_1);
|
|
6792
|
+
if (equals(this.b10_1, this.a10_1)) {
|
|
6742
6793
|
this.yd_1 = 6;
|
|
6743
|
-
suspendResult = this.
|
|
6794
|
+
suspendResult = this.yz_1.vy(this.zz_1, this);
|
|
6744
6795
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6745
6796
|
return suspendResult;
|
|
6746
6797
|
}
|
|
@@ -6756,9 +6807,9 @@
|
|
|
6756
6807
|
|
|
6757
6808
|
break;
|
|
6758
6809
|
case 1:
|
|
6759
|
-
if (equals(this.
|
|
6810
|
+
if (equals(this.b10_1.t3(Key_getInstance()), this.a10_1.t3(Key_getInstance()))) {
|
|
6760
6811
|
this.yd_1 = 5;
|
|
6761
|
-
suspendResult = collectWithContextUndispatched(this.
|
|
6812
|
+
suspendResult = collectWithContextUndispatched(this.yz_1, this.zz_1, this.b10_1, this);
|
|
6762
6813
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6763
6814
|
return suspendResult;
|
|
6764
6815
|
}
|
|
@@ -6774,7 +6825,7 @@
|
|
|
6774
6825
|
continue $sm;
|
|
6775
6826
|
case 3:
|
|
6776
6827
|
this.yd_1 = 4;
|
|
6777
|
-
suspendResult = protoOf(ChannelFlow).
|
|
6828
|
+
suspendResult = protoOf(ChannelFlow).hv.call(this.yz_1, this.zz_1, this);
|
|
6778
6829
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6779
6830
|
return suspendResult;
|
|
6780
6831
|
}
|
|
@@ -6802,33 +6853,33 @@
|
|
|
6802
6853
|
};
|
|
6803
6854
|
function ChannelFlowOperator(flow, context, capacity, onBufferOverflow) {
|
|
6804
6855
|
ChannelFlow.call(this, context, capacity, onBufferOverflow);
|
|
6805
|
-
this.
|
|
6856
|
+
this.uy_1 = flow;
|
|
6806
6857
|
}
|
|
6807
|
-
protoOf(ChannelFlowOperator).
|
|
6808
|
-
var tmp0 = this.
|
|
6858
|
+
protoOf(ChannelFlowOperator).wy = function (scope, $completion) {
|
|
6859
|
+
var tmp0 = this.vy(new SendingCollector(scope), $completion);
|
|
6809
6860
|
return tmp0;
|
|
6810
6861
|
};
|
|
6811
|
-
protoOf(ChannelFlowOperator).
|
|
6862
|
+
protoOf(ChannelFlowOperator).hv = function (collector, $completion) {
|
|
6812
6863
|
var tmp = new $collectCOROUTINE$7(this, collector, $completion);
|
|
6813
6864
|
tmp.ae_1 = Unit_getInstance();
|
|
6814
6865
|
tmp.be_1 = null;
|
|
6815
6866
|
return tmp.re();
|
|
6816
6867
|
};
|
|
6817
6868
|
protoOf(ChannelFlowOperator).toString = function () {
|
|
6818
|
-
return '' + this.
|
|
6869
|
+
return '' + this.uy_1 + ' -> ' + protoOf(ChannelFlow).toString.call(this);
|
|
6819
6870
|
};
|
|
6820
6871
|
function ChannelFlow$_get_collectToFun_$slambda_j53z2e(this$0, resultContinuation) {
|
|
6821
|
-
this.
|
|
6872
|
+
this.k10_1 = this$0;
|
|
6822
6873
|
CoroutineImpl.call(this, resultContinuation);
|
|
6823
6874
|
}
|
|
6824
|
-
protoOf(ChannelFlow$_get_collectToFun_$slambda_j53z2e).
|
|
6825
|
-
var tmp = this.
|
|
6875
|
+
protoOf(ChannelFlow$_get_collectToFun_$slambda_j53z2e).m10 = function (it, $completion) {
|
|
6876
|
+
var tmp = this.n10(it, $completion);
|
|
6826
6877
|
tmp.ae_1 = Unit_getInstance();
|
|
6827
6878
|
tmp.be_1 = null;
|
|
6828
6879
|
return tmp.re();
|
|
6829
6880
|
};
|
|
6830
6881
|
protoOf(ChannelFlow$_get_collectToFun_$slambda_j53z2e).ff = function (p1, $completion) {
|
|
6831
|
-
return this.
|
|
6882
|
+
return this.m10((!(p1 == null) ? isInterface(p1, ProducerScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
6832
6883
|
};
|
|
6833
6884
|
protoOf(ChannelFlow$_get_collectToFun_$slambda_j53z2e).re = function () {
|
|
6834
6885
|
var suspendResult = this.ae_1;
|
|
@@ -6839,7 +6890,7 @@
|
|
|
6839
6890
|
case 0:
|
|
6840
6891
|
this.zd_1 = 2;
|
|
6841
6892
|
this.yd_1 = 1;
|
|
6842
|
-
suspendResult = this.
|
|
6893
|
+
suspendResult = this.k10_1.wy(this.l10_1, this);
|
|
6843
6894
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6844
6895
|
return suspendResult;
|
|
6845
6896
|
}
|
|
@@ -6861,32 +6912,32 @@
|
|
|
6861
6912
|
}
|
|
6862
6913
|
while (true);
|
|
6863
6914
|
};
|
|
6864
|
-
protoOf(ChannelFlow$_get_collectToFun_$slambda_j53z2e).
|
|
6865
|
-
var i = new ChannelFlow$_get_collectToFun_$slambda_j53z2e(this.
|
|
6866
|
-
i.
|
|
6915
|
+
protoOf(ChannelFlow$_get_collectToFun_$slambda_j53z2e).n10 = function (it, completion) {
|
|
6916
|
+
var i = new ChannelFlow$_get_collectToFun_$slambda_j53z2e(this.k10_1, completion);
|
|
6917
|
+
i.l10_1 = it;
|
|
6867
6918
|
return i;
|
|
6868
6919
|
};
|
|
6869
6920
|
function ChannelFlow$_get_collectToFun_$slambda_j53z2e_0(this$0, resultContinuation) {
|
|
6870
6921
|
var i = new ChannelFlow$_get_collectToFun_$slambda_j53z2e(this$0, resultContinuation);
|
|
6871
6922
|
var l = function (it, $completion) {
|
|
6872
|
-
return i.
|
|
6923
|
+
return i.m10(it, $completion);
|
|
6873
6924
|
};
|
|
6874
6925
|
l.$arity = 1;
|
|
6875
6926
|
return l;
|
|
6876
6927
|
}
|
|
6877
6928
|
function ChannelFlow$collect$slambda($collector, this$0, resultContinuation) {
|
|
6878
|
-
this.
|
|
6879
|
-
this.
|
|
6929
|
+
this.w10_1 = $collector;
|
|
6930
|
+
this.x10_1 = this$0;
|
|
6880
6931
|
CoroutineImpl.call(this, resultContinuation);
|
|
6881
6932
|
}
|
|
6882
|
-
protoOf(ChannelFlow$collect$slambda).
|
|
6883
|
-
var tmp = this.
|
|
6933
|
+
protoOf(ChannelFlow$collect$slambda).z10 = function ($this$coroutineScope, $completion) {
|
|
6934
|
+
var tmp = this.a11($this$coroutineScope, $completion);
|
|
6884
6935
|
tmp.ae_1 = Unit_getInstance();
|
|
6885
6936
|
tmp.be_1 = null;
|
|
6886
6937
|
return tmp.re();
|
|
6887
6938
|
};
|
|
6888
6939
|
protoOf(ChannelFlow$collect$slambda).ff = function (p1, $completion) {
|
|
6889
|
-
return this.
|
|
6940
|
+
return this.z10((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
6890
6941
|
};
|
|
6891
6942
|
protoOf(ChannelFlow$collect$slambda).re = function () {
|
|
6892
6943
|
var suspendResult = this.ae_1;
|
|
@@ -6897,7 +6948,7 @@
|
|
|
6897
6948
|
case 0:
|
|
6898
6949
|
this.zd_1 = 2;
|
|
6899
6950
|
this.yd_1 = 1;
|
|
6900
|
-
suspendResult = emitAll(this.
|
|
6951
|
+
suspendResult = emitAll(this.w10_1, this.x10_1.cz(this.y10_1), this);
|
|
6901
6952
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6902
6953
|
return suspendResult;
|
|
6903
6954
|
}
|
|
@@ -6919,42 +6970,42 @@
|
|
|
6919
6970
|
}
|
|
6920
6971
|
while (true);
|
|
6921
6972
|
};
|
|
6922
|
-
protoOf(ChannelFlow$collect$slambda).
|
|
6923
|
-
var i = new ChannelFlow$collect$slambda(this.
|
|
6924
|
-
i.
|
|
6973
|
+
protoOf(ChannelFlow$collect$slambda).a11 = function ($this$coroutineScope, completion) {
|
|
6974
|
+
var i = new ChannelFlow$collect$slambda(this.w10_1, this.x10_1, completion);
|
|
6975
|
+
i.y10_1 = $this$coroutineScope;
|
|
6925
6976
|
return i;
|
|
6926
6977
|
};
|
|
6927
6978
|
function ChannelFlow$collect$slambda_0($collector, this$0, resultContinuation) {
|
|
6928
6979
|
var i = new ChannelFlow$collect$slambda($collector, this$0, resultContinuation);
|
|
6929
6980
|
var l = function ($this$coroutineScope, $completion) {
|
|
6930
|
-
return i.
|
|
6981
|
+
return i.z10($this$coroutineScope, $completion);
|
|
6931
6982
|
};
|
|
6932
6983
|
l.$arity = 1;
|
|
6933
6984
|
return l;
|
|
6934
6985
|
}
|
|
6935
6986
|
function ChannelFlow(context, capacity, onBufferOverflow) {
|
|
6936
|
-
this.
|
|
6937
|
-
this.
|
|
6938
|
-
this.
|
|
6987
|
+
this.xy_1 = context;
|
|
6988
|
+
this.yy_1 = capacity;
|
|
6989
|
+
this.zy_1 = onBufferOverflow;
|
|
6939
6990
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
6940
6991
|
}
|
|
6941
|
-
protoOf(ChannelFlow).
|
|
6992
|
+
protoOf(ChannelFlow).az = function () {
|
|
6942
6993
|
return ChannelFlow$_get_collectToFun_$slambda_j53z2e_0(this, null);
|
|
6943
6994
|
};
|
|
6944
|
-
protoOf(ChannelFlow).
|
|
6995
|
+
protoOf(ChannelFlow).bz = function () {
|
|
6945
6996
|
var tmp;
|
|
6946
6997
|
Factory_getInstance();
|
|
6947
|
-
if (this.
|
|
6998
|
+
if (this.yy_1 === -3) {
|
|
6948
6999
|
Factory_getInstance();
|
|
6949
7000
|
tmp = -2;
|
|
6950
7001
|
} else {
|
|
6951
|
-
tmp = this.
|
|
7002
|
+
tmp = this.yy_1;
|
|
6952
7003
|
}
|
|
6953
7004
|
return tmp;
|
|
6954
7005
|
};
|
|
6955
|
-
protoOf(ChannelFlow).
|
|
7006
|
+
protoOf(ChannelFlow).tx = function (context, capacity, onBufferOverflow) {
|
|
6956
7007
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
6957
|
-
var newContext = context.
|
|
7008
|
+
var newContext = context.a4(this.xy_1);
|
|
6958
7009
|
var newCapacity;
|
|
6959
7010
|
var newOverflow;
|
|
6960
7011
|
if (!onBufferOverflow.equals(BufferOverflow_SUSPEND_getInstance())) {
|
|
@@ -6963,24 +7014,24 @@
|
|
|
6963
7014
|
} else {
|
|
6964
7015
|
var tmp;
|
|
6965
7016
|
Factory_getInstance();
|
|
6966
|
-
if (this.
|
|
7017
|
+
if (this.yy_1 === -3) {
|
|
6967
7018
|
tmp = capacity;
|
|
6968
7019
|
} else {
|
|
6969
7020
|
Factory_getInstance();
|
|
6970
7021
|
if (capacity === -3) {
|
|
6971
|
-
tmp = this.
|
|
7022
|
+
tmp = this.yy_1;
|
|
6972
7023
|
} else {
|
|
6973
7024
|
Factory_getInstance();
|
|
6974
|
-
if (this.
|
|
7025
|
+
if (this.yy_1 === -2) {
|
|
6975
7026
|
tmp = capacity;
|
|
6976
7027
|
} else {
|
|
6977
7028
|
Factory_getInstance();
|
|
6978
7029
|
if (capacity === -2) {
|
|
6979
|
-
tmp = this.
|
|
7030
|
+
tmp = this.yy_1;
|
|
6980
7031
|
} else {
|
|
6981
7032
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
6982
7033
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
6983
|
-
var sum = this.
|
|
7034
|
+
var sum = this.yy_1 + capacity | 0;
|
|
6984
7035
|
var tmp_0;
|
|
6985
7036
|
if (sum >= 0) {
|
|
6986
7037
|
tmp_0 = sum;
|
|
@@ -6994,25 +7045,25 @@
|
|
|
6994
7045
|
}
|
|
6995
7046
|
}
|
|
6996
7047
|
newCapacity = tmp;
|
|
6997
|
-
newOverflow = this.
|
|
7048
|
+
newOverflow = this.zy_1;
|
|
6998
7049
|
}
|
|
6999
|
-
if ((equals(newContext, this.
|
|
7050
|
+
if ((equals(newContext, this.xy_1) ? newCapacity === this.yy_1 : false) ? newOverflow.equals(this.zy_1) : false)
|
|
7000
7051
|
return this;
|
|
7001
|
-
return this.
|
|
7052
|
+
return this.qy(newContext, newCapacity, newOverflow);
|
|
7002
7053
|
};
|
|
7003
|
-
protoOf(ChannelFlow).
|
|
7004
|
-
return produce(scope, this.
|
|
7054
|
+
protoOf(ChannelFlow).cz = function (scope) {
|
|
7055
|
+
return produce(scope, this.xy_1, this.bz(), this.zy_1, CoroutineStart_ATOMIC_getInstance(), VOID, this.az());
|
|
7005
7056
|
};
|
|
7006
|
-
protoOf(ChannelFlow).
|
|
7057
|
+
protoOf(ChannelFlow).hv = function (collector, $completion) {
|
|
7007
7058
|
var tmp0 = coroutineScope(ChannelFlow$collect$slambda_0(collector, this, null), $completion);
|
|
7008
7059
|
return tmp0;
|
|
7009
7060
|
};
|
|
7010
|
-
protoOf(ChannelFlow).
|
|
7061
|
+
protoOf(ChannelFlow).dz = function () {
|
|
7011
7062
|
return null;
|
|
7012
7063
|
};
|
|
7013
7064
|
protoOf(ChannelFlow).toString = function () {
|
|
7014
7065
|
var props = ArrayList_init_$Create$(4);
|
|
7015
|
-
var tmp0_safe_receiver = this.
|
|
7066
|
+
var tmp0_safe_receiver = this.dz();
|
|
7016
7067
|
if (tmp0_safe_receiver == null)
|
|
7017
7068
|
null;
|
|
7018
7069
|
else {
|
|
@@ -7024,15 +7075,15 @@
|
|
|
7024
7075
|
tmp$ret$0 = props.b(tmp0_safe_receiver);
|
|
7025
7076
|
tmp$ret$1 = tmp$ret$0;
|
|
7026
7077
|
}
|
|
7027
|
-
if (!(this.
|
|
7028
|
-
props.b('context=' + this.
|
|
7078
|
+
if (!(this.xy_1 === EmptyCoroutineContext_getInstance())) {
|
|
7079
|
+
props.b('context=' + this.xy_1);
|
|
7029
7080
|
}
|
|
7030
7081
|
Factory_getInstance();
|
|
7031
|
-
if (!(this.
|
|
7032
|
-
props.b('capacity=' + this.
|
|
7082
|
+
if (!(this.yy_1 === -3)) {
|
|
7083
|
+
props.b('capacity=' + this.yy_1);
|
|
7033
7084
|
}
|
|
7034
|
-
if (!this.
|
|
7035
|
-
props.b('onBufferOverflow=' + this.
|
|
7085
|
+
if (!this.zy_1.equals(BufferOverflow_SUSPEND_getInstance())) {
|
|
7086
|
+
props.b('onBufferOverflow=' + this.zy_1);
|
|
7036
7087
|
}
|
|
7037
7088
|
return get_classSimpleName(this) + '[' + joinToString(props, ', ') + ']';
|
|
7038
7089
|
};
|
|
@@ -7076,17 +7127,17 @@
|
|
|
7076
7127
|
return tmp0;
|
|
7077
7128
|
}
|
|
7078
7129
|
function UndispatchedContextCollector$emitRef$slambda($downstream, resultContinuation) {
|
|
7079
|
-
this.
|
|
7130
|
+
this.j11_1 = $downstream;
|
|
7080
7131
|
CoroutineImpl.call(this, resultContinuation);
|
|
7081
7132
|
}
|
|
7082
|
-
protoOf(UndispatchedContextCollector$emitRef$slambda).
|
|
7083
|
-
var tmp = this.
|
|
7133
|
+
protoOf(UndispatchedContextCollector$emitRef$slambda).l11 = function (it, $completion) {
|
|
7134
|
+
var tmp = this.m11(it, $completion);
|
|
7084
7135
|
tmp.ae_1 = Unit_getInstance();
|
|
7085
7136
|
tmp.be_1 = null;
|
|
7086
7137
|
return tmp.re();
|
|
7087
7138
|
};
|
|
7088
7139
|
protoOf(UndispatchedContextCollector$emitRef$slambda).ff = function (p1, $completion) {
|
|
7089
|
-
return this.
|
|
7140
|
+
return this.l11((p1 == null ? true : isObject(p1)) ? p1 : THROW_CCE(), $completion);
|
|
7090
7141
|
};
|
|
7091
7142
|
protoOf(UndispatchedContextCollector$emitRef$slambda).re = function () {
|
|
7092
7143
|
var suspendResult = this.ae_1;
|
|
@@ -7097,7 +7148,7 @@
|
|
|
7097
7148
|
case 0:
|
|
7098
7149
|
this.zd_1 = 2;
|
|
7099
7150
|
this.yd_1 = 1;
|
|
7100
|
-
suspendResult = this.
|
|
7151
|
+
suspendResult = this.j11_1.gv(this.k11_1, this);
|
|
7101
7152
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7102
7153
|
return suspendResult;
|
|
7103
7154
|
}
|
|
@@ -7119,40 +7170,53 @@
|
|
|
7119
7170
|
}
|
|
7120
7171
|
while (true);
|
|
7121
7172
|
};
|
|
7122
|
-
protoOf(UndispatchedContextCollector$emitRef$slambda).
|
|
7123
|
-
var i = new UndispatchedContextCollector$emitRef$slambda(this.
|
|
7124
|
-
i.
|
|
7173
|
+
protoOf(UndispatchedContextCollector$emitRef$slambda).m11 = function (it, completion) {
|
|
7174
|
+
var i = new UndispatchedContextCollector$emitRef$slambda(this.j11_1, completion);
|
|
7175
|
+
i.k11_1 = it;
|
|
7125
7176
|
return i;
|
|
7126
7177
|
};
|
|
7127
7178
|
function UndispatchedContextCollector$emitRef$slambda_0($downstream, resultContinuation) {
|
|
7128
7179
|
var i = new UndispatchedContextCollector$emitRef$slambda($downstream, resultContinuation);
|
|
7129
7180
|
var l = function (it, $completion) {
|
|
7130
|
-
return i.
|
|
7181
|
+
return i.l11(it, $completion);
|
|
7131
7182
|
};
|
|
7132
7183
|
l.$arity = 1;
|
|
7133
7184
|
return l;
|
|
7134
7185
|
}
|
|
7135
7186
|
function UndispatchedContextCollector(downstream, emitContext) {
|
|
7136
|
-
this.
|
|
7137
|
-
this.
|
|
7187
|
+
this.n11_1 = emitContext;
|
|
7188
|
+
this.o11_1 = threadContextElements(this.n11_1);
|
|
7138
7189
|
var tmp = this;
|
|
7139
|
-
tmp.
|
|
7190
|
+
tmp.p11_1 = UndispatchedContextCollector$emitRef$slambda_0(downstream, null);
|
|
7140
7191
|
}
|
|
7141
|
-
protoOf(UndispatchedContextCollector).
|
|
7142
|
-
var tmp0 = withContextUndispatched(this.
|
|
7192
|
+
protoOf(UndispatchedContextCollector).gv = function (value, $completion) {
|
|
7193
|
+
var tmp0 = withContextUndispatched(this.n11_1, value, this.o11_1, this.p11_1, $completion);
|
|
7143
7194
|
return tmp0;
|
|
7144
7195
|
};
|
|
7145
7196
|
function StackFrameContinuation(uCont, context) {
|
|
7146
|
-
this.
|
|
7147
|
-
this.
|
|
7197
|
+
this.q11_1 = uCont;
|
|
7198
|
+
this.r11_1 = context;
|
|
7148
7199
|
}
|
|
7149
|
-
protoOf(StackFrameContinuation).
|
|
7150
|
-
return this.
|
|
7200
|
+
protoOf(StackFrameContinuation).p3 = function () {
|
|
7201
|
+
return this.r11_1;
|
|
7151
7202
|
};
|
|
7152
|
-
protoOf(StackFrameContinuation).
|
|
7153
|
-
this.
|
|
7203
|
+
protoOf(StackFrameContinuation).q3 = function (result) {
|
|
7204
|
+
this.q11_1.q3(result);
|
|
7154
7205
|
};
|
|
7155
7206
|
function NopCollector() {
|
|
7207
|
+
NopCollector_instance = this;
|
|
7208
|
+
}
|
|
7209
|
+
protoOf(NopCollector).s11 = function (value, $completion) {
|
|
7210
|
+
return Unit_getInstance();
|
|
7211
|
+
};
|
|
7212
|
+
protoOf(NopCollector).gv = function (value, $completion) {
|
|
7213
|
+
return this.s11((value == null ? true : isObject(value)) ? value : THROW_CCE(), $completion);
|
|
7214
|
+
};
|
|
7215
|
+
var NopCollector_instance;
|
|
7216
|
+
function NopCollector_getInstance() {
|
|
7217
|
+
if (NopCollector_instance == null)
|
|
7218
|
+
new NopCollector();
|
|
7219
|
+
return NopCollector_instance;
|
|
7156
7220
|
}
|
|
7157
7221
|
function get_NULL() {
|
|
7158
7222
|
_init_properties_NullSurrogate_kt__n2yti9();
|
|
@@ -7172,10 +7236,10 @@
|
|
|
7172
7236
|
}
|
|
7173
7237
|
}
|
|
7174
7238
|
function checkContext(_this__u8e3s4, currentContext) {
|
|
7175
|
-
var result = currentContext.
|
|
7176
|
-
if (!(result === _this__u8e3s4.
|
|
7239
|
+
var result = currentContext.z3(0, checkContext$lambda(_this__u8e3s4));
|
|
7240
|
+
if (!(result === _this__u8e3s4.v11_1)) {
|
|
7177
7241
|
// Inline function 'kotlin.error' call
|
|
7178
|
-
var tmp0_error = 'Flow invariant is violated:\n' + ('\t\tFlow was collected in ' + _this__u8e3s4.
|
|
7242
|
+
var tmp0_error = 'Flow invariant is violated:\n' + ('\t\tFlow was collected in ' + _this__u8e3s4.u11_1 + ',\n') + ('\t\tbut emission happened in ' + currentContext + '.\n') + "\t\tPlease refer to 'flow' documentation or use 'flowOn' instead";
|
|
7179
7243
|
throw IllegalStateException_init_$Create$(toString_0(tmp0_error));
|
|
7180
7244
|
}
|
|
7181
7245
|
}
|
|
@@ -7202,8 +7266,8 @@
|
|
|
7202
7266
|
}
|
|
7203
7267
|
function checkContext$lambda($this_checkContext) {
|
|
7204
7268
|
return function (count, element) {
|
|
7205
|
-
var key = element.
|
|
7206
|
-
var collectElement = $this_checkContext.
|
|
7269
|
+
var key = element.t1();
|
|
7270
|
+
var collectElement = $this_checkContext.u11_1.t3(key);
|
|
7207
7271
|
var tmp;
|
|
7208
7272
|
if (!(key === Key_getInstance_2())) {
|
|
7209
7273
|
return !(element === collectElement) ? IntCompanionObject_getInstance().MIN_VALUE : count + 1 | 0;
|
|
@@ -7219,10 +7283,10 @@
|
|
|
7219
7283
|
};
|
|
7220
7284
|
}
|
|
7221
7285
|
function SendingCollector(channel) {
|
|
7222
|
-
this.
|
|
7286
|
+
this.x11_1 = channel;
|
|
7223
7287
|
}
|
|
7224
|
-
protoOf(SendingCollector).
|
|
7225
|
-
var tmp0 = this.
|
|
7288
|
+
protoOf(SendingCollector).gv = function (value, $completion) {
|
|
7289
|
+
var tmp0 = this.x11_1.ns(value, $completion);
|
|
7226
7290
|
return tmp0;
|
|
7227
7291
|
};
|
|
7228
7292
|
function conflate(_this__u8e3s4) {
|
|
@@ -7291,7 +7355,7 @@
|
|
|
7291
7355
|
var tmp0_subject = _this__u8e3s4;
|
|
7292
7356
|
var tmp_4;
|
|
7293
7357
|
if (isInterface(tmp0_subject, FusibleFlow)) {
|
|
7294
|
-
tmp_4 = _this__u8e3s4.
|
|
7358
|
+
tmp_4 = _this__u8e3s4.ux(VOID, capacity_0, onBufferOverflow_0);
|
|
7295
7359
|
} else {
|
|
7296
7360
|
tmp_4 = new ChannelFlowOperatorImpl(_this__u8e3s4, VOID, capacity_0, onBufferOverflow_0);
|
|
7297
7361
|
}
|
|
@@ -7324,12 +7388,12 @@
|
|
|
7324
7388
|
var tmp_0;
|
|
7325
7389
|
var tmp_1;
|
|
7326
7390
|
if (_this__u8e3s4 instanceof DistinctFlowImpl) {
|
|
7327
|
-
tmp_1 = _this__u8e3s4.
|
|
7391
|
+
tmp_1 = _this__u8e3s4.z11_1 === keySelector;
|
|
7328
7392
|
} else {
|
|
7329
7393
|
tmp_1 = false;
|
|
7330
7394
|
}
|
|
7331
7395
|
if (tmp_1) {
|
|
7332
|
-
tmp_0 = _this__u8e3s4.
|
|
7396
|
+
tmp_0 = _this__u8e3s4.a12_1 === areEquivalent;
|
|
7333
7397
|
} else {
|
|
7334
7398
|
tmp_0 = false;
|
|
7335
7399
|
}
|
|
@@ -7341,26 +7405,26 @@
|
|
|
7341
7405
|
return tmp;
|
|
7342
7406
|
}
|
|
7343
7407
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
7344
|
-
this.
|
|
7408
|
+
this.b12_1 = function_0;
|
|
7345
7409
|
}
|
|
7346
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
7347
|
-
var tmp0 = this.
|
|
7410
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).gv = function (value, $completion) {
|
|
7411
|
+
var tmp0 = this.b12_1(value, $completion);
|
|
7348
7412
|
return tmp0;
|
|
7349
7413
|
};
|
|
7350
7414
|
function DistinctFlowImpl$collect$slambda(this$0, $previousKey, $collector, resultContinuation) {
|
|
7351
|
-
this.
|
|
7352
|
-
this.
|
|
7353
|
-
this.
|
|
7415
|
+
this.k12_1 = this$0;
|
|
7416
|
+
this.l12_1 = $previousKey;
|
|
7417
|
+
this.m12_1 = $collector;
|
|
7354
7418
|
CoroutineImpl.call(this, resultContinuation);
|
|
7355
7419
|
}
|
|
7356
|
-
protoOf(DistinctFlowImpl$collect$slambda).
|
|
7357
|
-
var tmp = this.
|
|
7420
|
+
protoOf(DistinctFlowImpl$collect$slambda).l11 = function (value, $completion) {
|
|
7421
|
+
var tmp = this.m11(value, $completion);
|
|
7358
7422
|
tmp.ae_1 = Unit_getInstance();
|
|
7359
7423
|
tmp.be_1 = null;
|
|
7360
7424
|
return tmp.re();
|
|
7361
7425
|
};
|
|
7362
7426
|
protoOf(DistinctFlowImpl$collect$slambda).ff = function (p1, $completion) {
|
|
7363
|
-
return this.
|
|
7427
|
+
return this.l11((p1 == null ? true : isObject(p1)) ? p1 : THROW_CCE(), $completion);
|
|
7364
7428
|
};
|
|
7365
7429
|
protoOf(DistinctFlowImpl$collect$slambda).re = function () {
|
|
7366
7430
|
var suspendResult = this.ae_1;
|
|
@@ -7370,11 +7434,11 @@
|
|
|
7370
7434
|
switch (tmp) {
|
|
7371
7435
|
case 0:
|
|
7372
7436
|
this.zd_1 = 3;
|
|
7373
|
-
this.
|
|
7374
|
-
if (this.
|
|
7375
|
-
this.
|
|
7437
|
+
this.o12_1 = this.k12_1.z11_1(this.n12_1);
|
|
7438
|
+
if (this.l12_1._v === get_NULL() ? true : !this.k12_1.a12_1(this.l12_1._v, this.o12_1)) {
|
|
7439
|
+
this.l12_1._v = this.o12_1;
|
|
7376
7440
|
this.yd_1 = 1;
|
|
7377
|
-
suspendResult = this.
|
|
7441
|
+
suspendResult = this.m12_1.gv(this.n12_1, this);
|
|
7378
7442
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7379
7443
|
return suspendResult;
|
|
7380
7444
|
}
|
|
@@ -7404,28 +7468,28 @@
|
|
|
7404
7468
|
}
|
|
7405
7469
|
while (true);
|
|
7406
7470
|
};
|
|
7407
|
-
protoOf(DistinctFlowImpl$collect$slambda).
|
|
7408
|
-
var i = new DistinctFlowImpl$collect$slambda(this.
|
|
7409
|
-
i.
|
|
7471
|
+
protoOf(DistinctFlowImpl$collect$slambda).m11 = function (value, completion) {
|
|
7472
|
+
var i = new DistinctFlowImpl$collect$slambda(this.k12_1, this.l12_1, this.m12_1, completion);
|
|
7473
|
+
i.n12_1 = value;
|
|
7410
7474
|
return i;
|
|
7411
7475
|
};
|
|
7412
7476
|
function DistinctFlowImpl$collect$slambda_0(this$0, $previousKey, $collector, resultContinuation) {
|
|
7413
7477
|
var i = new DistinctFlowImpl$collect$slambda(this$0, $previousKey, $collector, resultContinuation);
|
|
7414
7478
|
var l = function (value, $completion) {
|
|
7415
|
-
return i.
|
|
7479
|
+
return i.l11(value, $completion);
|
|
7416
7480
|
};
|
|
7417
7481
|
l.$arity = 1;
|
|
7418
7482
|
return l;
|
|
7419
7483
|
}
|
|
7420
7484
|
function DistinctFlowImpl(upstream, keySelector, areEquivalent) {
|
|
7421
|
-
this.
|
|
7422
|
-
this.
|
|
7423
|
-
this.
|
|
7485
|
+
this.y11_1 = upstream;
|
|
7486
|
+
this.z11_1 = keySelector;
|
|
7487
|
+
this.a12_1 = areEquivalent;
|
|
7424
7488
|
}
|
|
7425
|
-
protoOf(DistinctFlowImpl).
|
|
7489
|
+
protoOf(DistinctFlowImpl).hv = function (collector, $completion) {
|
|
7426
7490
|
var previousKey = {_v: get_NULL()};
|
|
7427
7491
|
var tmp = DistinctFlowImpl$collect$slambda_0(this, previousKey, collector, null);
|
|
7428
|
-
var tmp0 = this.
|
|
7492
|
+
var tmp0 = this.y11_1.hv(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp), $completion);
|
|
7429
7493
|
return tmp0;
|
|
7430
7494
|
};
|
|
7431
7495
|
function defaultKeySelector$lambda(it) {
|
|
@@ -7447,7 +7511,7 @@
|
|
|
7447
7511
|
}
|
|
7448
7512
|
function ensureActive_1(_this__u8e3s4) {
|
|
7449
7513
|
if (_this__u8e3s4 instanceof ThrowingCollector)
|
|
7450
|
-
throw _this__u8e3s4.
|
|
7514
|
+
throw _this__u8e3s4.p12_1;
|
|
7451
7515
|
}
|
|
7452
7516
|
function ThrowingCollector() {
|
|
7453
7517
|
}
|
|
@@ -7456,7 +7520,7 @@
|
|
|
7456
7520
|
}
|
|
7457
7521
|
function $onSubscriptionCOROUTINE$9(_this__u8e3s4, resultContinuation) {
|
|
7458
7522
|
CoroutineImpl.call(this, resultContinuation);
|
|
7459
|
-
this.
|
|
7523
|
+
this.y12_1 = _this__u8e3s4;
|
|
7460
7524
|
}
|
|
7461
7525
|
protoOf($onSubscriptionCOROUTINE$9).re = function () {
|
|
7462
7526
|
var suspendResult = this.ae_1;
|
|
@@ -7467,30 +7531,30 @@
|
|
|
7467
7531
|
case 0:
|
|
7468
7532
|
this.zd_1 = 7;
|
|
7469
7533
|
var tmp_0 = this;
|
|
7470
|
-
tmp_0.
|
|
7534
|
+
tmp_0.z12_1 = new SafeCollector(this.y12_1.jx_1, this.p3());
|
|
7471
7535
|
this.yd_1 = 1;
|
|
7472
7536
|
continue $sm;
|
|
7473
7537
|
case 1:
|
|
7474
7538
|
this.zd_1 = 6;
|
|
7475
7539
|
this.yd_1 = 2;
|
|
7476
|
-
suspendResult = this.
|
|
7540
|
+
suspendResult = this.y12_1.kx_1(this.z12_1, this);
|
|
7477
7541
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7478
7542
|
return suspendResult;
|
|
7479
7543
|
}
|
|
7480
7544
|
|
|
7481
7545
|
continue $sm;
|
|
7482
7546
|
case 2:
|
|
7483
|
-
this.
|
|
7547
|
+
this.a13_1 = suspendResult;
|
|
7484
7548
|
this.zd_1 = 7;
|
|
7485
7549
|
this.yd_1 = 3;
|
|
7486
7550
|
continue $sm;
|
|
7487
7551
|
case 3:
|
|
7488
|
-
this.
|
|
7552
|
+
this.z12_1.b13();
|
|
7489
7553
|
;
|
|
7490
|
-
var tmp_1 = this.
|
|
7554
|
+
var tmp_1 = this.y12_1.jx_1;
|
|
7491
7555
|
if (tmp_1 instanceof SubscribedFlowCollector) {
|
|
7492
7556
|
this.yd_1 = 4;
|
|
7493
|
-
suspendResult = this.
|
|
7557
|
+
suspendResult = this.y12_1.jx_1.lx(this);
|
|
7494
7558
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7495
7559
|
return suspendResult;
|
|
7496
7560
|
}
|
|
@@ -7509,7 +7573,7 @@
|
|
|
7509
7573
|
case 6:
|
|
7510
7574
|
this.zd_1 = 7;
|
|
7511
7575
|
var t = this.be_1;
|
|
7512
|
-
this.
|
|
7576
|
+
this.z12_1.b13();
|
|
7513
7577
|
;
|
|
7514
7578
|
throw t;
|
|
7515
7579
|
case 7:
|
|
@@ -7527,14 +7591,14 @@
|
|
|
7527
7591
|
while (true);
|
|
7528
7592
|
};
|
|
7529
7593
|
function SubscribedFlowCollector(collector, action) {
|
|
7530
|
-
this.
|
|
7531
|
-
this.
|
|
7594
|
+
this.jx_1 = collector;
|
|
7595
|
+
this.kx_1 = action;
|
|
7532
7596
|
}
|
|
7533
|
-
protoOf(SubscribedFlowCollector).
|
|
7534
|
-
var tmp0 = this.
|
|
7597
|
+
protoOf(SubscribedFlowCollector).gv = function (value, $completion) {
|
|
7598
|
+
var tmp0 = this.jx_1.gv(value, $completion);
|
|
7535
7599
|
return tmp0;
|
|
7536
7600
|
};
|
|
7537
|
-
protoOf(SubscribedFlowCollector).
|
|
7601
|
+
protoOf(SubscribedFlowCollector).lx = function ($completion) {
|
|
7538
7602
|
var tmp = new $onSubscriptionCOROUTINE$9(this, $completion);
|
|
7539
7603
|
tmp.ae_1 = Unit_getInstance();
|
|
7540
7604
|
tmp.be_1 = null;
|
|
@@ -7542,8 +7606,8 @@
|
|
|
7542
7606
|
};
|
|
7543
7607
|
function $collectCOROUTINE$10(_this__u8e3s4, collector, resultContinuation) {
|
|
7544
7608
|
CoroutineImpl.call(this, resultContinuation);
|
|
7545
|
-
this.
|
|
7546
|
-
this.
|
|
7609
|
+
this.k13_1 = _this__u8e3s4;
|
|
7610
|
+
this.l13_1 = collector;
|
|
7547
7611
|
}
|
|
7548
7612
|
protoOf($collectCOROUTINE$10).re = function () {
|
|
7549
7613
|
var suspendResult = this.ae_1;
|
|
@@ -7554,7 +7618,7 @@
|
|
|
7554
7618
|
case 0:
|
|
7555
7619
|
this.zd_1 = 2;
|
|
7556
7620
|
this.yd_1 = 1;
|
|
7557
|
-
suspendResult = this.
|
|
7621
|
+
suspendResult = this.k13_1.m13_1.ox(new SubscribedFlowCollector(this.l13_1, this.k13_1.n13_1), this);
|
|
7558
7622
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7559
7623
|
return suspendResult;
|
|
7560
7624
|
}
|
|
@@ -7577,18 +7641,211 @@
|
|
|
7577
7641
|
while (true);
|
|
7578
7642
|
};
|
|
7579
7643
|
function SubscribedSharedFlow(sharedFlow, action) {
|
|
7580
|
-
this.
|
|
7581
|
-
this.
|
|
7644
|
+
this.m13_1 = sharedFlow;
|
|
7645
|
+
this.n13_1 = action;
|
|
7582
7646
|
}
|
|
7583
|
-
protoOf(SubscribedSharedFlow).
|
|
7647
|
+
protoOf(SubscribedSharedFlow).ox = function (collector, $completion) {
|
|
7584
7648
|
var tmp = new $collectCOROUTINE$10(this, collector, $completion);
|
|
7585
7649
|
tmp.ae_1 = Unit_getInstance();
|
|
7586
7650
|
tmp.be_1 = null;
|
|
7587
7651
|
return tmp.re();
|
|
7588
7652
|
};
|
|
7589
|
-
protoOf(SubscribedSharedFlow).
|
|
7590
|
-
return this.
|
|
7653
|
+
protoOf(SubscribedSharedFlow).hv = function (collector, $completion) {
|
|
7654
|
+
return this.ox(collector, $completion);
|
|
7655
|
+
};
|
|
7656
|
+
function onEach(_this__u8e3s4, action) {
|
|
7657
|
+
var tmp$ret$1;
|
|
7658
|
+
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
7659
|
+
var tmp$ret$0;
|
|
7660
|
+
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
7661
|
+
tmp$ret$0 = new _no_name_provided__qut3iv_0(_this__u8e3s4, action);
|
|
7662
|
+
tmp$ret$1 = tmp$ret$0;
|
|
7663
|
+
return tmp$ret$1;
|
|
7664
|
+
}
|
|
7665
|
+
function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
|
|
7666
|
+
this.o13_1 = function_0;
|
|
7667
|
+
}
|
|
7668
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).gv = function (value, $completion) {
|
|
7669
|
+
var tmp0 = this.o13_1(value, $completion);
|
|
7670
|
+
return tmp0;
|
|
7671
|
+
};
|
|
7672
|
+
function onEach$o$collect$slambda($action, $collector, resultContinuation) {
|
|
7673
|
+
this.x13_1 = $action;
|
|
7674
|
+
this.y13_1 = $collector;
|
|
7675
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
7676
|
+
}
|
|
7677
|
+
protoOf(onEach$o$collect$slambda).l11 = function (value, $completion) {
|
|
7678
|
+
var tmp = this.m11(value, $completion);
|
|
7679
|
+
tmp.ae_1 = Unit_getInstance();
|
|
7680
|
+
tmp.be_1 = null;
|
|
7681
|
+
return tmp.re();
|
|
7682
|
+
};
|
|
7683
|
+
protoOf(onEach$o$collect$slambda).ff = function (p1, $completion) {
|
|
7684
|
+
return this.l11((p1 == null ? true : isObject(p1)) ? p1 : THROW_CCE(), $completion);
|
|
7685
|
+
};
|
|
7686
|
+
protoOf(onEach$o$collect$slambda).re = function () {
|
|
7687
|
+
var suspendResult = this.ae_1;
|
|
7688
|
+
$sm: do
|
|
7689
|
+
try {
|
|
7690
|
+
var tmp = this.yd_1;
|
|
7691
|
+
switch (tmp) {
|
|
7692
|
+
case 0:
|
|
7693
|
+
this.zd_1 = 3;
|
|
7694
|
+
this.yd_1 = 1;
|
|
7695
|
+
suspendResult = this.x13_1(this.z13_1, this);
|
|
7696
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7697
|
+
return suspendResult;
|
|
7698
|
+
}
|
|
7699
|
+
|
|
7700
|
+
continue $sm;
|
|
7701
|
+
case 1:
|
|
7702
|
+
this.yd_1 = 2;
|
|
7703
|
+
suspendResult = this.y13_1.gv(this.z13_1, this);
|
|
7704
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7705
|
+
return suspendResult;
|
|
7706
|
+
}
|
|
7707
|
+
|
|
7708
|
+
continue $sm;
|
|
7709
|
+
case 2:
|
|
7710
|
+
return Unit_getInstance();
|
|
7711
|
+
case 3:
|
|
7712
|
+
throw this.be_1;
|
|
7713
|
+
}
|
|
7714
|
+
} catch ($p) {
|
|
7715
|
+
var e = $p;
|
|
7716
|
+
if (this.zd_1 === 3) {
|
|
7717
|
+
throw e;
|
|
7718
|
+
} else {
|
|
7719
|
+
this.yd_1 = this.zd_1;
|
|
7720
|
+
this.be_1 = e;
|
|
7721
|
+
}
|
|
7722
|
+
}
|
|
7723
|
+
while (true);
|
|
7724
|
+
};
|
|
7725
|
+
protoOf(onEach$o$collect$slambda).m11 = function (value, completion) {
|
|
7726
|
+
var i = new onEach$o$collect$slambda(this.x13_1, this.y13_1, completion);
|
|
7727
|
+
i.z13_1 = value;
|
|
7728
|
+
return i;
|
|
7729
|
+
};
|
|
7730
|
+
function onEach$o$collect$slambda_0($action, $collector, resultContinuation) {
|
|
7731
|
+
var i = new onEach$o$collect$slambda($action, $collector, resultContinuation);
|
|
7732
|
+
var l = function (value, $completion) {
|
|
7733
|
+
return i.l11(value, $completion);
|
|
7734
|
+
};
|
|
7735
|
+
l.$arity = 1;
|
|
7736
|
+
return l;
|
|
7737
|
+
}
|
|
7738
|
+
function $collectCOROUTINE$13(_this__u8e3s4, collector, resultContinuation) {
|
|
7739
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
7740
|
+
this.i14_1 = _this__u8e3s4;
|
|
7741
|
+
this.j14_1 = collector;
|
|
7742
|
+
}
|
|
7743
|
+
protoOf($collectCOROUTINE$13).re = function () {
|
|
7744
|
+
var suspendResult = this.ae_1;
|
|
7745
|
+
$sm: do
|
|
7746
|
+
try {
|
|
7747
|
+
var tmp = this.yd_1;
|
|
7748
|
+
switch (tmp) {
|
|
7749
|
+
case 0:
|
|
7750
|
+
this.zd_1 = 2;
|
|
7751
|
+
this.yd_1 = 1;
|
|
7752
|
+
var tmp_0 = onEach$o$collect$slambda_0(this.i14_1.l14_1, this.j14_1, null);
|
|
7753
|
+
suspendResult = this.i14_1.k14_1.hv(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
|
|
7754
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7755
|
+
return suspendResult;
|
|
7756
|
+
}
|
|
7757
|
+
|
|
7758
|
+
continue $sm;
|
|
7759
|
+
case 1:
|
|
7760
|
+
return Unit_getInstance();
|
|
7761
|
+
case 2:
|
|
7762
|
+
throw this.be_1;
|
|
7763
|
+
}
|
|
7764
|
+
} catch ($p) {
|
|
7765
|
+
var e = $p;
|
|
7766
|
+
if (this.zd_1 === 2) {
|
|
7767
|
+
throw e;
|
|
7768
|
+
} else {
|
|
7769
|
+
this.yd_1 = this.zd_1;
|
|
7770
|
+
this.be_1 = e;
|
|
7771
|
+
}
|
|
7772
|
+
}
|
|
7773
|
+
while (true);
|
|
7774
|
+
};
|
|
7775
|
+
function _no_name_provided__qut3iv_0($this_onEach, $action) {
|
|
7776
|
+
this.k14_1 = $this_onEach;
|
|
7777
|
+
this.l14_1 = $action;
|
|
7778
|
+
}
|
|
7779
|
+
protoOf(_no_name_provided__qut3iv_0).hv = function (collector, $completion) {
|
|
7780
|
+
var tmp = new $collectCOROUTINE$13(this, collector, $completion);
|
|
7781
|
+
tmp.ae_1 = Unit_getInstance();
|
|
7782
|
+
tmp.be_1 = null;
|
|
7783
|
+
return tmp.re();
|
|
7784
|
+
};
|
|
7785
|
+
function launchIn(_this__u8e3s4, scope) {
|
|
7786
|
+
return launch(scope, VOID, VOID, launchIn$slambda_0(_this__u8e3s4, null));
|
|
7787
|
+
}
|
|
7788
|
+
function collect(_this__u8e3s4, $completion) {
|
|
7789
|
+
var tmp0 = _this__u8e3s4.hv(NopCollector_getInstance(), $completion);
|
|
7790
|
+
return tmp0;
|
|
7791
|
+
}
|
|
7792
|
+
function launchIn$slambda($this_launchIn, resultContinuation) {
|
|
7793
|
+
this.u14_1 = $this_launchIn;
|
|
7794
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
7795
|
+
}
|
|
7796
|
+
protoOf(launchIn$slambda).z10 = function ($this$launch, $completion) {
|
|
7797
|
+
var tmp = this.a11($this$launch, $completion);
|
|
7798
|
+
tmp.ae_1 = Unit_getInstance();
|
|
7799
|
+
tmp.be_1 = null;
|
|
7800
|
+
return tmp.re();
|
|
7801
|
+
};
|
|
7802
|
+
protoOf(launchIn$slambda).ff = function (p1, $completion) {
|
|
7803
|
+
return this.z10((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
7804
|
+
};
|
|
7805
|
+
protoOf(launchIn$slambda).re = function () {
|
|
7806
|
+
var suspendResult = this.ae_1;
|
|
7807
|
+
$sm: do
|
|
7808
|
+
try {
|
|
7809
|
+
var tmp = this.yd_1;
|
|
7810
|
+
switch (tmp) {
|
|
7811
|
+
case 0:
|
|
7812
|
+
this.zd_1 = 2;
|
|
7813
|
+
this.yd_1 = 1;
|
|
7814
|
+
suspendResult = collect(this.u14_1, this);
|
|
7815
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
7816
|
+
return suspendResult;
|
|
7817
|
+
}
|
|
7818
|
+
|
|
7819
|
+
continue $sm;
|
|
7820
|
+
case 1:
|
|
7821
|
+
return Unit_getInstance();
|
|
7822
|
+
case 2:
|
|
7823
|
+
throw this.be_1;
|
|
7824
|
+
}
|
|
7825
|
+
} catch ($p) {
|
|
7826
|
+
var e = $p;
|
|
7827
|
+
if (this.zd_1 === 2) {
|
|
7828
|
+
throw e;
|
|
7829
|
+
} else {
|
|
7830
|
+
this.yd_1 = this.zd_1;
|
|
7831
|
+
this.be_1 = e;
|
|
7832
|
+
}
|
|
7833
|
+
}
|
|
7834
|
+
while (true);
|
|
7835
|
+
};
|
|
7836
|
+
protoOf(launchIn$slambda).a11 = function ($this$launch, completion) {
|
|
7837
|
+
var i = new launchIn$slambda(this.u14_1, completion);
|
|
7838
|
+
i.v14_1 = $this$launch;
|
|
7839
|
+
return i;
|
|
7591
7840
|
};
|
|
7841
|
+
function launchIn$slambda_0($this_launchIn, resultContinuation) {
|
|
7842
|
+
var i = new launchIn$slambda($this_launchIn, resultContinuation);
|
|
7843
|
+
var l = function ($this$launch, $completion) {
|
|
7844
|
+
return i.z10($this$launch, $completion);
|
|
7845
|
+
};
|
|
7846
|
+
l.$arity = 1;
|
|
7847
|
+
return l;
|
|
7848
|
+
}
|
|
7592
7849
|
function ensureCapacity_0($this) {
|
|
7593
7850
|
var currentSize = $this.rm_1.length;
|
|
7594
7851
|
var newCapacity = currentSize << 1;
|
|
@@ -7662,10 +7919,10 @@
|
|
|
7662
7919
|
var tmp1_resumeCancellableWith = _this__u8e3s4;
|
|
7663
7920
|
var state = toState_0(result, onCancellation);
|
|
7664
7921
|
var tmp_0;
|
|
7665
|
-
if (tmp1_resumeCancellableWith.rk_1.im(tmp1_resumeCancellableWith.
|
|
7922
|
+
if (tmp1_resumeCancellableWith.rk_1.im(tmp1_resumeCancellableWith.p3())) {
|
|
7666
7923
|
tmp1_resumeCancellableWith.tk_1 = state;
|
|
7667
7924
|
tmp1_resumeCancellableWith.al_1 = get_MODE_CANCELLABLE();
|
|
7668
|
-
tmp1_resumeCancellableWith.rk_1.jm(tmp1_resumeCancellableWith.
|
|
7925
|
+
tmp1_resumeCancellableWith.rk_1.jm(tmp1_resumeCancellableWith.p3(), tmp1_resumeCancellableWith);
|
|
7669
7926
|
tmp_0 = Unit_getInstance();
|
|
7670
7927
|
} else {
|
|
7671
7928
|
var tmp$ret$0;
|
|
@@ -7692,7 +7949,7 @@
|
|
|
7692
7949
|
var tmp$ret$3;
|
|
7693
7950
|
$l$block_0: {
|
|
7694
7951
|
// Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.resumeCancelled' call
|
|
7695
|
-
var job = tmp1_resumeCancellableWith.
|
|
7952
|
+
var job = tmp1_resumeCancellableWith.p3().t3(Key_getInstance_2());
|
|
7696
7953
|
if (!(job == null) ? !job.rf() : false) {
|
|
7697
7954
|
var cause = job.ng();
|
|
7698
7955
|
tmp1_resumeCancellableWith.rl(state, cause);
|
|
@@ -7702,7 +7959,7 @@
|
|
|
7702
7959
|
// Inline function 'kotlin.Companion.failure' call
|
|
7703
7960
|
var tmp0_failure = Companion_getInstance();
|
|
7704
7961
|
tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(cause));
|
|
7705
|
-
tmp1_resumeCancellableWith.
|
|
7962
|
+
tmp1_resumeCancellableWith.q3(tmp$ret$1);
|
|
7706
7963
|
tmp$ret$2 = Unit_getInstance();
|
|
7707
7964
|
tmp$ret$3 = true;
|
|
7708
7965
|
break $l$block_0;
|
|
@@ -7715,7 +7972,7 @@
|
|
|
7715
7972
|
// Inline function 'kotlinx.coroutines.withContinuationContext' call
|
|
7716
7973
|
var tmp1_withContinuationContext = tmp1_resumeCancellableWith.sk_1;
|
|
7717
7974
|
var tmp2_withContinuationContext = tmp1_resumeCancellableWith.uk_1;
|
|
7718
|
-
tmp1_resumeCancellableWith.sk_1.
|
|
7975
|
+
tmp1_resumeCancellableWith.sk_1.q3(result);
|
|
7719
7976
|
tmp$ret$4 = Unit_getInstance();
|
|
7720
7977
|
}
|
|
7721
7978
|
$l$loop: while (true) {
|
|
@@ -7741,7 +7998,7 @@
|
|
|
7741
7998
|
}
|
|
7742
7999
|
tmp = tmp_0;
|
|
7743
8000
|
} else {
|
|
7744
|
-
_this__u8e3s4.
|
|
8001
|
+
_this__u8e3s4.q3(result);
|
|
7745
8002
|
tmp = Unit_getInstance();
|
|
7746
8003
|
}
|
|
7747
8004
|
return tmp;
|
|
@@ -7755,16 +8012,16 @@
|
|
|
7755
8012
|
this.rk_1 = dispatcher;
|
|
7756
8013
|
this.sk_1 = continuation;
|
|
7757
8014
|
this.tk_1 = get_UNDEFINED();
|
|
7758
|
-
this.uk_1 = threadContextElements(this.
|
|
8015
|
+
this.uk_1 = threadContextElements(this.p3());
|
|
7759
8016
|
this.vk_1 = atomic$ref$1(null);
|
|
7760
8017
|
}
|
|
7761
|
-
protoOf(DispatchedContinuation).
|
|
7762
|
-
return this.sk_1.
|
|
8018
|
+
protoOf(DispatchedContinuation).p3 = function () {
|
|
8019
|
+
return this.sk_1.p3();
|
|
7763
8020
|
};
|
|
7764
8021
|
protoOf(DispatchedContinuation).zk = function () {
|
|
7765
8022
|
return !(this.vk_1.kotlinx$atomicfu$value == null);
|
|
7766
8023
|
};
|
|
7767
|
-
protoOf(DispatchedContinuation).
|
|
8024
|
+
protoOf(DispatchedContinuation).w14 = function () {
|
|
7768
8025
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
7769
8026
|
var tmp0_loop = this.vk_1;
|
|
7770
8027
|
while (true) {
|
|
@@ -7775,7 +8032,7 @@
|
|
|
7775
8032
|
}
|
|
7776
8033
|
};
|
|
7777
8034
|
protoOf(DispatchedContinuation).km = function () {
|
|
7778
|
-
this.
|
|
8035
|
+
this.w14();
|
|
7779
8036
|
var tmp0_safe_receiver = _get_reusableCancellableContinuation__9qex09(this);
|
|
7780
8037
|
if (tmp0_safe_receiver == null)
|
|
7781
8038
|
null;
|
|
@@ -7870,8 +8127,8 @@
|
|
|
7870
8127
|
protoOf(DispatchedContinuation).pl = function () {
|
|
7871
8128
|
return this;
|
|
7872
8129
|
};
|
|
7873
|
-
protoOf(DispatchedContinuation).
|
|
7874
|
-
var context = this.sk_1.
|
|
8130
|
+
protoOf(DispatchedContinuation).q3 = function (result) {
|
|
8131
|
+
var context = this.sk_1.p3();
|
|
7875
8132
|
var state = toState_0(result);
|
|
7876
8133
|
if (this.rk_1.im(context)) {
|
|
7877
8134
|
this.tk_1 = state;
|
|
@@ -7901,9 +8158,9 @@
|
|
|
7901
8158
|
// Inline function 'kotlinx.coroutines.internal.DispatchedContinuation.resumeWith.<anonymous>' call
|
|
7902
8159
|
var tmp$ret$1;
|
|
7903
8160
|
// Inline function 'kotlinx.coroutines.withCoroutineContext' call
|
|
7904
|
-
var tmp0_withCoroutineContext = this.
|
|
8161
|
+
var tmp0_withCoroutineContext = this.p3();
|
|
7905
8162
|
var tmp1_withCoroutineContext = this.uk_1;
|
|
7906
|
-
this.sk_1.
|
|
8163
|
+
this.sk_1.q3(result);
|
|
7907
8164
|
tmp$ret$1 = Unit_getInstance();
|
|
7908
8165
|
$l$loop: while (true) {
|
|
7909
8166
|
if (!eventLoop.qm())
|
|
@@ -7972,10 +8229,10 @@
|
|
|
7972
8229
|
var tmp$ret$5;
|
|
7973
8230
|
// Inline function 'kotlinx.coroutines.withContinuationContext' call
|
|
7974
8231
|
var tmp0_withContinuationContext = delegate.uk_1;
|
|
7975
|
-
var context = continuation.
|
|
8232
|
+
var context = continuation.p3();
|
|
7976
8233
|
var state = this.ql();
|
|
7977
8234
|
var exception = this.am(state);
|
|
7978
|
-
var job = (exception == null ? get_isCancellableMode(this.al_1) : false) ? context.
|
|
8235
|
+
var job = (exception == null ? get_isCancellableMode(this.al_1) : false) ? context.t3(Key_getInstance_2()) : null;
|
|
7979
8236
|
var tmp_0;
|
|
7980
8237
|
if (!(job == null) ? !job.rf() : false) {
|
|
7981
8238
|
var cause = job.ng();
|
|
@@ -7985,7 +8242,7 @@
|
|
|
7985
8242
|
var tmp0_failure = Companion_getInstance();
|
|
7986
8243
|
var tmp1_failure = recoverStackTrace(cause, continuation);
|
|
7987
8244
|
tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(tmp1_failure));
|
|
7988
|
-
continuation.
|
|
8245
|
+
continuation.q3(tmp$ret$0);
|
|
7989
8246
|
tmp_0 = Unit_getInstance();
|
|
7990
8247
|
} else {
|
|
7991
8248
|
var tmp_1;
|
|
@@ -7996,7 +8253,7 @@
|
|
|
7996
8253
|
// Inline function 'kotlin.Companion.failure' call
|
|
7997
8254
|
var tmp2_failure = Companion_getInstance();
|
|
7998
8255
|
tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
7999
|
-
continuation.
|
|
8256
|
+
continuation.q3(tmp$ret$1);
|
|
8000
8257
|
tmp$ret$2 = Unit_getInstance();
|
|
8001
8258
|
tmp_1 = tmp$ret$2;
|
|
8002
8259
|
} else {
|
|
@@ -8007,7 +8264,7 @@
|
|
|
8007
8264
|
// Inline function 'kotlin.Companion.success' call
|
|
8008
8265
|
var tmp3_success = Companion_getInstance();
|
|
8009
8266
|
tmp$ret$3 = _Result___init__impl__xyqfz8(tmp4_resume);
|
|
8010
|
-
continuation.
|
|
8267
|
+
continuation.q3(tmp$ret$3);
|
|
8011
8268
|
tmp$ret$4 = Unit_getInstance();
|
|
8012
8269
|
tmp_1 = tmp$ret$4;
|
|
8013
8270
|
}
|
|
@@ -8061,7 +8318,7 @@
|
|
|
8061
8318
|
var tmp0_elvis_lhs = exception;
|
|
8062
8319
|
var cause = tmp0_elvis_lhs == null ? finallyException : tmp0_elvis_lhs;
|
|
8063
8320
|
var reason = new CoroutinesInternalError('Fatal exception in coroutines machinery for ' + this + '. ' + "Please read KDoc to 'handleFatalException' method and report this incident to maintainers", ensureNotNull(cause));
|
|
8064
|
-
handleCoroutineException(this.pl().
|
|
8321
|
+
handleCoroutineException(this.pl().p3(), reason);
|
|
8065
8322
|
};
|
|
8066
8323
|
function get_MODE_UNINITIALIZED() {
|
|
8067
8324
|
return MODE_UNINITIALIZED;
|
|
@@ -8095,7 +8352,7 @@
|
|
|
8095
8352
|
}
|
|
8096
8353
|
if (tmp) {
|
|
8097
8354
|
var dispatcher = delegate.rk_1;
|
|
8098
|
-
var context = delegate.
|
|
8355
|
+
var context = delegate.p3();
|
|
8099
8356
|
if (dispatcher.im(context)) {
|
|
8100
8357
|
dispatcher.jm(context, _this__u8e3s4);
|
|
8101
8358
|
} else {
|
|
@@ -8162,10 +8419,10 @@
|
|
|
8162
8419
|
// Inline function 'kotlinx.coroutines.withContinuationContext' call
|
|
8163
8420
|
var tmp3_withContinuationContext = tmp5_resumeUndispatchedWith.sk_1;
|
|
8164
8421
|
var tmp4_withContinuationContext = tmp5_resumeUndispatchedWith.uk_1;
|
|
8165
|
-
tmp5_resumeUndispatchedWith.sk_1.
|
|
8422
|
+
tmp5_resumeUndispatchedWith.sk_1.q3(result);
|
|
8166
8423
|
tmp$ret$2 = Unit_getInstance();
|
|
8167
8424
|
} else {
|
|
8168
|
-
delegate.
|
|
8425
|
+
delegate.q3(result);
|
|
8169
8426
|
}
|
|
8170
8427
|
}
|
|
8171
8428
|
function _InlineList___init__impl__z8n56(holder) {
|
|
@@ -8254,13 +8511,22 @@
|
|
|
8254
8511
|
resumeCancellableWith(intercepted(this.uj_1), recoverResult(state, this.uj_1));
|
|
8255
8512
|
};
|
|
8256
8513
|
protoOf(ScopeCoroutine).ag = function (state) {
|
|
8257
|
-
this.uj_1.
|
|
8514
|
+
this.uj_1.q3(recoverResult(state, this.uj_1));
|
|
8515
|
+
};
|
|
8516
|
+
function ContextScope(context) {
|
|
8517
|
+
this.x14_1 = context;
|
|
8518
|
+
}
|
|
8519
|
+
protoOf(ContextScope).qf = function () {
|
|
8520
|
+
return this.x14_1;
|
|
8521
|
+
};
|
|
8522
|
+
protoOf(ContextScope).toString = function () {
|
|
8523
|
+
return 'CoroutineScope(coroutineContext=' + this.x14_1 + ')';
|
|
8258
8524
|
};
|
|
8259
8525
|
function Symbol(symbol) {
|
|
8260
|
-
this.
|
|
8526
|
+
this.y14_1 = symbol;
|
|
8261
8527
|
}
|
|
8262
8528
|
protoOf(Symbol).toString = function () {
|
|
8263
|
-
return '<' + this.
|
|
8529
|
+
return '<' + this.y14_1 + '>';
|
|
8264
8530
|
};
|
|
8265
8531
|
function systemProp(propertyName, defaultValue, minValue, maxValue) {
|
|
8266
8532
|
minValue = minValue === VOID ? 1 : minValue;
|
|
@@ -8330,7 +8596,7 @@
|
|
|
8330
8596
|
// Inline function 'kotlin.Companion.failure' call
|
|
8331
8597
|
var tmp0_failure = Companion_getInstance();
|
|
8332
8598
|
tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
8333
|
-
completion.
|
|
8599
|
+
completion.q3(tmp$ret$0);
|
|
8334
8600
|
throw e;
|
|
8335
8601
|
}
|
|
8336
8602
|
function startCoroutineCancellable_0(_this__u8e3s4, fatalCompletion) {
|
|
@@ -8434,7 +8700,7 @@
|
|
|
8434
8700
|
// Inline function 'kotlinx.coroutines.intrinsics.startCoroutineUndispatched.<anonymous>' call
|
|
8435
8701
|
var tmp$ret$4;
|
|
8436
8702
|
// Inline function 'kotlinx.coroutines.withCoroutineContext' call
|
|
8437
|
-
var tmp0_withCoroutineContext = completion.
|
|
8703
|
+
var tmp0_withCoroutineContext = completion.p3();
|
|
8438
8704
|
var tmp$ret$3;
|
|
8439
8705
|
// Inline function 'kotlinx.coroutines.intrinsics.startCoroutineUndispatched.<anonymous>.<anonymous>' call
|
|
8440
8706
|
var tmp$ret$2;
|
|
@@ -8458,7 +8724,7 @@
|
|
|
8458
8724
|
// Inline function 'kotlin.Companion.failure' call
|
|
8459
8725
|
var tmp0_failure = Companion_getInstance();
|
|
8460
8726
|
tmp$ret$6 = _Result___init__impl__xyqfz8(createFailure(e));
|
|
8461
|
-
actualCompletion.
|
|
8727
|
+
actualCompletion.q3(tmp$ret$6);
|
|
8462
8728
|
tmp$ret$7 = Unit_getInstance();
|
|
8463
8729
|
tmp$ret$8 = Unit_getInstance();
|
|
8464
8730
|
break $l$block;
|
|
@@ -8476,7 +8742,7 @@
|
|
|
8476
8742
|
// Inline function 'kotlin.Companion.success' call
|
|
8477
8743
|
var tmp1_success = Companion_getInstance();
|
|
8478
8744
|
tmp$ret$9 = _Result___init__impl__xyqfz8(tmp2_resume);
|
|
8479
|
-
actualCompletion.
|
|
8745
|
+
actualCompletion.q3(tmp$ret$9);
|
|
8480
8746
|
tmp$ret$10 = Unit_getInstance();
|
|
8481
8747
|
}
|
|
8482
8748
|
}
|
|
@@ -8541,17 +8807,17 @@
|
|
|
8541
8807
|
return ((((!(typeof navigator === 'undefined') ? navigator != null : false) ? navigator.userAgent != null : false) ? !(typeof navigator.userAgent === 'undefined') : false) ? !(typeof navigator.userAgent.match === 'undefined') : false) ? navigator.userAgent.match('\\bjsdom\\b') : false;
|
|
8542
8808
|
}
|
|
8543
8809
|
function newCoroutineContext(_this__u8e3s4, addedContext) {
|
|
8544
|
-
return _this__u8e3s4.
|
|
8810
|
+
return _this__u8e3s4.a4(addedContext);
|
|
8545
8811
|
}
|
|
8546
8812
|
function UndispatchedCoroutine(context, uCont) {
|
|
8547
8813
|
ScopeCoroutine.call(this, context, uCont);
|
|
8548
8814
|
}
|
|
8549
8815
|
protoOf(UndispatchedCoroutine).ag = function (state) {
|
|
8550
|
-
return this.uj_1.
|
|
8816
|
+
return this.uj_1.q3(recoverResult(state, this.uj_1));
|
|
8551
8817
|
};
|
|
8552
8818
|
function newCoroutineContext_0(_this__u8e3s4, context) {
|
|
8553
|
-
var combined = _this__u8e3s4.qf().
|
|
8554
|
-
return (!(combined === Dispatchers_getInstance().
|
|
8819
|
+
var combined = _this__u8e3s4.qf().a4(context);
|
|
8820
|
+
return (!(combined === Dispatchers_getInstance().pp_1) ? combined.t3(Key_getInstance()) == null : false) ? combined.a4(Dispatchers_getInstance().pp_1) : combined;
|
|
8555
8821
|
}
|
|
8556
8822
|
function get_coroutineName(_this__u8e3s4) {
|
|
8557
8823
|
return null;
|
|
@@ -8585,14 +8851,14 @@
|
|
|
8585
8851
|
}
|
|
8586
8852
|
function Dispatchers() {
|
|
8587
8853
|
Dispatchers_instance = this;
|
|
8588
|
-
this.
|
|
8589
|
-
this.
|
|
8590
|
-
this.
|
|
8591
|
-
this.
|
|
8854
|
+
this.pp_1 = createDefaultDispatcher();
|
|
8855
|
+
this.qp_1 = Unconfined_getInstance();
|
|
8856
|
+
this.rp_1 = new JsMainDispatcher(this.pp_1, false);
|
|
8857
|
+
this.sp_1 = null;
|
|
8592
8858
|
}
|
|
8593
|
-
protoOf(Dispatchers).
|
|
8594
|
-
var tmp0_elvis_lhs = this.
|
|
8595
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8859
|
+
protoOf(Dispatchers).tp = function () {
|
|
8860
|
+
var tmp0_elvis_lhs = this.sp_1;
|
|
8861
|
+
return tmp0_elvis_lhs == null ? this.rp_1 : tmp0_elvis_lhs;
|
|
8596
8862
|
};
|
|
8597
8863
|
var Dispatchers_instance;
|
|
8598
8864
|
function Dispatchers_getInstance() {
|
|
@@ -8602,22 +8868,22 @@
|
|
|
8602
8868
|
}
|
|
8603
8869
|
function JsMainDispatcher(delegate, invokeImmediately) {
|
|
8604
8870
|
MainCoroutineDispatcher.call(this);
|
|
8605
|
-
this.
|
|
8606
|
-
this.
|
|
8607
|
-
this.
|
|
8871
|
+
this.e15_1 = delegate;
|
|
8872
|
+
this.f15_1 = invokeImmediately;
|
|
8873
|
+
this.g15_1 = this.f15_1 ? this : new JsMainDispatcher(this.e15_1, true);
|
|
8608
8874
|
}
|
|
8609
|
-
protoOf(JsMainDispatcher).
|
|
8610
|
-
return this.
|
|
8875
|
+
protoOf(JsMainDispatcher).np = function () {
|
|
8876
|
+
return this.g15_1;
|
|
8611
8877
|
};
|
|
8612
8878
|
protoOf(JsMainDispatcher).im = function (context) {
|
|
8613
|
-
return !this.
|
|
8879
|
+
return !this.f15_1;
|
|
8614
8880
|
};
|
|
8615
8881
|
protoOf(JsMainDispatcher).jm = function (context, block) {
|
|
8616
|
-
return this.
|
|
8882
|
+
return this.e15_1.jm(context, block);
|
|
8617
8883
|
};
|
|
8618
8884
|
protoOf(JsMainDispatcher).toString = function () {
|
|
8619
|
-
var tmp0_elvis_lhs = this.
|
|
8620
|
-
return tmp0_elvis_lhs == null ? this.
|
|
8885
|
+
var tmp0_elvis_lhs = this.op();
|
|
8886
|
+
return tmp0_elvis_lhs == null ? this.e15_1.toString() : tmp0_elvis_lhs;
|
|
8621
8887
|
};
|
|
8622
8888
|
function createEventLoop() {
|
|
8623
8889
|
return new UnconfinedEventLoop();
|
|
@@ -8634,10 +8900,10 @@
|
|
|
8634
8900
|
function JobCancellationException(message, cause, job) {
|
|
8635
8901
|
CancellationException_init_$Init$(message, cause, this);
|
|
8636
8902
|
captureStack(this, JobCancellationException);
|
|
8637
|
-
this.
|
|
8903
|
+
this.l15_1 = job;
|
|
8638
8904
|
}
|
|
8639
8905
|
protoOf(JobCancellationException).toString = function () {
|
|
8640
|
-
return protoOf(CancellationException).toString.call(this) + '; job=' + this.
|
|
8906
|
+
return protoOf(CancellationException).toString.call(this) + '; job=' + this.l15_1;
|
|
8641
8907
|
};
|
|
8642
8908
|
protoOf(JobCancellationException).equals = function (other) {
|
|
8643
8909
|
var tmp;
|
|
@@ -8653,7 +8919,7 @@
|
|
|
8653
8919
|
tmp_2 = false;
|
|
8654
8920
|
}
|
|
8655
8921
|
if (tmp_2) {
|
|
8656
|
-
tmp_1 = equals(other.
|
|
8922
|
+
tmp_1 = equals(other.l15_1, this.l15_1);
|
|
8657
8923
|
} else {
|
|
8658
8924
|
tmp_1 = false;
|
|
8659
8925
|
}
|
|
@@ -8667,7 +8933,7 @@
|
|
|
8667
8933
|
return tmp;
|
|
8668
8934
|
};
|
|
8669
8935
|
protoOf(JobCancellationException).hashCode = function () {
|
|
8670
|
-
var tmp = imul(imul(getStringHashCode(ensureNotNull(this.message)), 31) + hashCode(this.
|
|
8936
|
+
var tmp = imul(imul(getStringHashCode(ensureNotNull(this.message)), 31) + hashCode(this.l15_1) | 0, 31);
|
|
8671
8937
|
var tmp0_safe_receiver = this.cause;
|
|
8672
8938
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
8673
8939
|
return tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
@@ -8676,8 +8942,8 @@
|
|
|
8676
8942
|
NodeDispatcher_instance = this;
|
|
8677
8943
|
SetTimeoutBasedDispatcher.call(this);
|
|
8678
8944
|
}
|
|
8679
|
-
protoOf(NodeDispatcher).
|
|
8680
|
-
process.nextTick(this.
|
|
8945
|
+
protoOf(NodeDispatcher).o15 = function () {
|
|
8946
|
+
process.nextTick(this.x15_1.u15_1);
|
|
8681
8947
|
};
|
|
8682
8948
|
var NodeDispatcher_instance;
|
|
8683
8949
|
function NodeDispatcher_getInstance() {
|
|
@@ -8689,8 +8955,8 @@
|
|
|
8689
8955
|
SetTimeoutDispatcher_instance = this;
|
|
8690
8956
|
SetTimeoutBasedDispatcher.call(this);
|
|
8691
8957
|
}
|
|
8692
|
-
protoOf(SetTimeoutDispatcher).
|
|
8693
|
-
setTimeout(this.
|
|
8958
|
+
protoOf(SetTimeoutDispatcher).o15 = function () {
|
|
8959
|
+
setTimeout(this.x15_1.u15_1, 0);
|
|
8694
8960
|
};
|
|
8695
8961
|
var SetTimeoutDispatcher_instance;
|
|
8696
8962
|
function SetTimeoutDispatcher_getInstance() {
|
|
@@ -8700,45 +8966,45 @@
|
|
|
8700
8966
|
}
|
|
8701
8967
|
function SetTimeoutBasedDispatcher$ScheduledMessageQueue$processQueue$lambda(this$0) {
|
|
8702
8968
|
return function () {
|
|
8703
|
-
this$0.
|
|
8969
|
+
this$0.f16();
|
|
8704
8970
|
return Unit_getInstance();
|
|
8705
8971
|
};
|
|
8706
8972
|
}
|
|
8707
8973
|
function ScheduledMessageQueue($outer) {
|
|
8708
|
-
this.
|
|
8974
|
+
this.v15_1 = $outer;
|
|
8709
8975
|
MessageQueue.call(this);
|
|
8710
8976
|
var tmp = this;
|
|
8711
|
-
tmp.
|
|
8977
|
+
tmp.u15_1 = SetTimeoutBasedDispatcher$ScheduledMessageQueue$processQueue$lambda(this);
|
|
8712
8978
|
}
|
|
8713
|
-
protoOf(ScheduledMessageQueue).
|
|
8714
|
-
this.
|
|
8979
|
+
protoOf(ScheduledMessageQueue).g16 = function () {
|
|
8980
|
+
this.v15_1.o15();
|
|
8715
8981
|
};
|
|
8716
|
-
protoOf(ScheduledMessageQueue).
|
|
8717
|
-
setTimeout(this.
|
|
8982
|
+
protoOf(ScheduledMessageQueue).h16 = function () {
|
|
8983
|
+
setTimeout(this.u15_1, 0);
|
|
8718
8984
|
};
|
|
8719
8985
|
function SetTimeoutBasedDispatcher() {
|
|
8720
8986
|
CoroutineDispatcher.call(this);
|
|
8721
|
-
this.
|
|
8987
|
+
this.x15_1 = new ScheduledMessageQueue(this);
|
|
8722
8988
|
}
|
|
8723
8989
|
protoOf(SetTimeoutBasedDispatcher).jm = function (context, block) {
|
|
8724
|
-
this.
|
|
8990
|
+
this.x15_1.i16(block);
|
|
8725
8991
|
};
|
|
8726
8992
|
function MessageQueue() {
|
|
8727
8993
|
ArrayQueue.call(this);
|
|
8728
|
-
this.
|
|
8729
|
-
this.
|
|
8994
|
+
this.d16_1 = 16;
|
|
8995
|
+
this.e16_1 = false;
|
|
8730
8996
|
}
|
|
8731
|
-
protoOf(MessageQueue).
|
|
8997
|
+
protoOf(MessageQueue).i16 = function (element) {
|
|
8732
8998
|
this.wm(element);
|
|
8733
|
-
if (!this.
|
|
8734
|
-
this.
|
|
8735
|
-
this.
|
|
8999
|
+
if (!this.e16_1) {
|
|
9000
|
+
this.e16_1 = true;
|
|
9001
|
+
this.g16();
|
|
8736
9002
|
}
|
|
8737
9003
|
};
|
|
8738
|
-
protoOf(MessageQueue).
|
|
9004
|
+
protoOf(MessageQueue).f16 = function () {
|
|
8739
9005
|
try {
|
|
8740
9006
|
// Inline function 'kotlin.repeat' call
|
|
8741
|
-
var tmp0_repeat = this.
|
|
9007
|
+
var tmp0_repeat = this.d16_1;
|
|
8742
9008
|
// Inline function 'kotlin.contracts.contract' call
|
|
8743
9009
|
var inductionVariable = 0;
|
|
8744
9010
|
if (inductionVariable < tmp0_repeat)
|
|
@@ -8759,26 +9025,26 @@
|
|
|
8759
9025
|
while (inductionVariable < tmp0_repeat);
|
|
8760
9026
|
}finally {
|
|
8761
9027
|
if (this.zm()) {
|
|
8762
|
-
this.
|
|
9028
|
+
this.e16_1 = false;
|
|
8763
9029
|
} else {
|
|
8764
|
-
this.
|
|
9030
|
+
this.h16();
|
|
8765
9031
|
}
|
|
8766
9032
|
}
|
|
8767
9033
|
};
|
|
8768
9034
|
function WindowDispatcher(window_0) {
|
|
8769
9035
|
CoroutineDispatcher.call(this);
|
|
8770
|
-
this.
|
|
8771
|
-
this.
|
|
9036
|
+
this.k16_1 = window_0;
|
|
9037
|
+
this.l16_1 = new WindowMessageQueue(this.k16_1);
|
|
8772
9038
|
}
|
|
8773
9039
|
protoOf(WindowDispatcher).jm = function (context, block) {
|
|
8774
|
-
return this.
|
|
9040
|
+
return this.l16_1.i16(block);
|
|
8775
9041
|
};
|
|
8776
9042
|
function WindowMessageQueue$lambda(this$0) {
|
|
8777
9043
|
return function (event) {
|
|
8778
9044
|
var tmp;
|
|
8779
|
-
if (event.source == this$0.
|
|
9045
|
+
if (event.source == this$0.r16_1 ? event.data == this$0.s16_1 : false) {
|
|
8780
9046
|
event.stopPropagation();
|
|
8781
|
-
this$0.
|
|
9047
|
+
this$0.f16();
|
|
8782
9048
|
tmp = Unit_getInstance();
|
|
8783
9049
|
}
|
|
8784
9050
|
return Unit_getInstance();
|
|
@@ -8786,22 +9052,22 @@
|
|
|
8786
9052
|
}
|
|
8787
9053
|
function WindowMessageQueue$schedule$lambda(this$0) {
|
|
8788
9054
|
return function (it) {
|
|
8789
|
-
this$0.
|
|
9055
|
+
this$0.f16();
|
|
8790
9056
|
return Unit_getInstance();
|
|
8791
9057
|
};
|
|
8792
9058
|
}
|
|
8793
9059
|
function WindowMessageQueue(window_0) {
|
|
8794
9060
|
MessageQueue.call(this);
|
|
8795
|
-
this.
|
|
8796
|
-
this.
|
|
8797
|
-
this.
|
|
9061
|
+
this.r16_1 = window_0;
|
|
9062
|
+
this.s16_1 = 'dispatchCoroutine';
|
|
9063
|
+
this.r16_1.addEventListener('message', WindowMessageQueue$lambda(this), true);
|
|
8798
9064
|
}
|
|
8799
|
-
protoOf(WindowMessageQueue).
|
|
9065
|
+
protoOf(WindowMessageQueue).g16 = function () {
|
|
8800
9066
|
var tmp = Promise.resolve(Unit_getInstance());
|
|
8801
9067
|
tmp.then(WindowMessageQueue$schedule$lambda(this));
|
|
8802
9068
|
};
|
|
8803
|
-
protoOf(WindowMessageQueue).
|
|
8804
|
-
this.
|
|
9069
|
+
protoOf(WindowMessageQueue).h16 = function () {
|
|
9070
|
+
this.r16_1.postMessage(this.s16_1, '*');
|
|
8805
9071
|
};
|
|
8806
9072
|
function promise(_this__u8e3s4, context, start, block) {
|
|
8807
9073
|
context = context === VOID ? EmptyCoroutineContext_getInstance() : context;
|
|
@@ -8837,7 +9103,7 @@
|
|
|
8837
9103
|
// Inline function 'kotlin.Companion.success' call
|
|
8838
9104
|
var tmp0_success = Companion_getInstance();
|
|
8839
9105
|
tmp$ret$0 = _Result___init__impl__xyqfz8(it);
|
|
8840
|
-
$cancellable.
|
|
9106
|
+
$cancellable.q3(tmp$ret$0);
|
|
8841
9107
|
tmp$ret$1 = Unit_getInstance();
|
|
8842
9108
|
return Unit_getInstance();
|
|
8843
9109
|
};
|
|
@@ -8850,7 +9116,7 @@
|
|
|
8850
9116
|
// Inline function 'kotlin.Companion.failure' call
|
|
8851
9117
|
var tmp0_failure = Companion_getInstance();
|
|
8852
9118
|
tmp$ret$0 = _Result___init__impl__xyqfz8(createFailure(it));
|
|
8853
|
-
$cancellable.
|
|
9119
|
+
$cancellable.q3(tmp$ret$0);
|
|
8854
9120
|
tmp$ret$1 = Unit_getInstance();
|
|
8855
9121
|
return Unit_getInstance();
|
|
8856
9122
|
};
|
|
@@ -8905,29 +9171,29 @@
|
|
|
8905
9171
|
return count + 1 | 0;
|
|
8906
9172
|
}
|
|
8907
9173
|
function SafeCollector(collector, collectContext) {
|
|
8908
|
-
this.
|
|
8909
|
-
this.
|
|
9174
|
+
this.t11_1 = collector;
|
|
9175
|
+
this.u11_1 = collectContext;
|
|
8910
9176
|
var tmp = this;
|
|
8911
|
-
tmp.
|
|
8912
|
-
this.
|
|
9177
|
+
tmp.v11_1 = this.u11_1.z3(0, SafeCollector$collectContextSize$lambda);
|
|
9178
|
+
this.w11_1 = null;
|
|
8913
9179
|
}
|
|
8914
|
-
protoOf(SafeCollector).
|
|
9180
|
+
protoOf(SafeCollector).gv = function (value, $completion) {
|
|
8915
9181
|
var tmp$ret$1;
|
|
8916
9182
|
// Inline function 'kotlinx.coroutines.currentCoroutineContext' call
|
|
8917
9183
|
var tmp$ret$0;
|
|
8918
9184
|
// Inline function 'kotlin.js.getCoroutineContext' call
|
|
8919
|
-
tmp$ret$0 = $completion.
|
|
9185
|
+
tmp$ret$0 = $completion.p3();
|
|
8920
9186
|
tmp$ret$1 = tmp$ret$0;
|
|
8921
9187
|
var currentContext = tmp$ret$1;
|
|
8922
9188
|
ensureActive(currentContext);
|
|
8923
|
-
if (!(this.
|
|
9189
|
+
if (!(this.w11_1 === currentContext)) {
|
|
8924
9190
|
checkContext(this, currentContext);
|
|
8925
|
-
this.
|
|
9191
|
+
this.w11_1 = currentContext;
|
|
8926
9192
|
}
|
|
8927
|
-
var tmp0 = this.
|
|
9193
|
+
var tmp0 = this.t11_1.gv(value, $completion);
|
|
8928
9194
|
return tmp0;
|
|
8929
9195
|
};
|
|
8930
|
-
protoOf(SafeCollector).
|
|
9196
|
+
protoOf(SafeCollector).b13 = function () {
|
|
8931
9197
|
};
|
|
8932
9198
|
function identitySet(expectedSize) {
|
|
8933
9199
|
return HashSet_init_$Create$(expectedSize);
|
|
@@ -8998,122 +9264,128 @@
|
|
|
8998
9264
|
//region block: post-declaration
|
|
8999
9265
|
protoOf(JobSupport).rg = invokeOnCompletion$default;
|
|
9000
9266
|
protoOf(JobSupport).vg = cancel$default;
|
|
9001
|
-
protoOf(JobSupport).
|
|
9002
|
-
protoOf(JobSupport).
|
|
9003
|
-
protoOf(JobSupport).
|
|
9004
|
-
protoOf(JobSupport).
|
|
9267
|
+
protoOf(JobSupport).a4 = plus;
|
|
9268
|
+
protoOf(JobSupport).t3 = get;
|
|
9269
|
+
protoOf(JobSupport).z3 = fold;
|
|
9270
|
+
protoOf(JobSupport).y3 = minusKey;
|
|
9005
9271
|
protoOf(AbstractCoroutine).rg = invokeOnCompletion$default;
|
|
9006
9272
|
protoOf(AbstractCoroutine).vg = cancel$default;
|
|
9007
|
-
protoOf(AbstractCoroutine).
|
|
9008
|
-
protoOf(AbstractCoroutine).
|
|
9009
|
-
protoOf(AbstractCoroutine).
|
|
9010
|
-
protoOf(AbstractCoroutine).
|
|
9273
|
+
protoOf(AbstractCoroutine).a4 = plus;
|
|
9274
|
+
protoOf(AbstractCoroutine).t3 = get;
|
|
9275
|
+
protoOf(AbstractCoroutine).z3 = fold;
|
|
9276
|
+
protoOf(AbstractCoroutine).y3 = minusKey;
|
|
9011
9277
|
protoOf(ScopeCoroutine).rg = invokeOnCompletion$default;
|
|
9012
9278
|
protoOf(ScopeCoroutine).vg = cancel$default;
|
|
9013
|
-
protoOf(ScopeCoroutine).
|
|
9014
|
-
protoOf(ScopeCoroutine).
|
|
9015
|
-
protoOf(ScopeCoroutine).
|
|
9016
|
-
protoOf(ScopeCoroutine).
|
|
9279
|
+
protoOf(ScopeCoroutine).a4 = plus;
|
|
9280
|
+
protoOf(ScopeCoroutine).t3 = get;
|
|
9281
|
+
protoOf(ScopeCoroutine).z3 = fold;
|
|
9282
|
+
protoOf(ScopeCoroutine).y3 = minusKey;
|
|
9017
9283
|
protoOf(DispatchedCoroutine).rg = invokeOnCompletion$default;
|
|
9018
9284
|
protoOf(DispatchedCoroutine).vg = cancel$default;
|
|
9019
|
-
protoOf(DispatchedCoroutine).
|
|
9020
|
-
protoOf(DispatchedCoroutine).
|
|
9021
|
-
protoOf(DispatchedCoroutine).
|
|
9022
|
-
protoOf(DispatchedCoroutine).
|
|
9285
|
+
protoOf(DispatchedCoroutine).a4 = plus;
|
|
9286
|
+
protoOf(DispatchedCoroutine).t3 = get;
|
|
9287
|
+
protoOf(DispatchedCoroutine).z3 = fold;
|
|
9288
|
+
protoOf(DispatchedCoroutine).y3 = minusKey;
|
|
9023
9289
|
protoOf(StandaloneCoroutine).rg = invokeOnCompletion$default;
|
|
9024
9290
|
protoOf(StandaloneCoroutine).vg = cancel$default;
|
|
9025
|
-
protoOf(StandaloneCoroutine).
|
|
9026
|
-
protoOf(StandaloneCoroutine).
|
|
9027
|
-
protoOf(StandaloneCoroutine).
|
|
9028
|
-
protoOf(StandaloneCoroutine).
|
|
9291
|
+
protoOf(StandaloneCoroutine).a4 = plus;
|
|
9292
|
+
protoOf(StandaloneCoroutine).t3 = get;
|
|
9293
|
+
protoOf(StandaloneCoroutine).z3 = fold;
|
|
9294
|
+
protoOf(StandaloneCoroutine).y3 = minusKey;
|
|
9029
9295
|
protoOf(LazyStandaloneCoroutine).rg = invokeOnCompletion$default;
|
|
9030
9296
|
protoOf(LazyStandaloneCoroutine).vg = cancel$default;
|
|
9031
|
-
protoOf(LazyStandaloneCoroutine).
|
|
9032
|
-
protoOf(LazyStandaloneCoroutine).
|
|
9033
|
-
protoOf(LazyStandaloneCoroutine).
|
|
9034
|
-
protoOf(LazyStandaloneCoroutine).
|
|
9297
|
+
protoOf(LazyStandaloneCoroutine).a4 = plus;
|
|
9298
|
+
protoOf(LazyStandaloneCoroutine).t3 = get;
|
|
9299
|
+
protoOf(LazyStandaloneCoroutine).z3 = fold;
|
|
9300
|
+
protoOf(LazyStandaloneCoroutine).y3 = minusKey;
|
|
9035
9301
|
protoOf(DeferredCoroutine).rg = invokeOnCompletion$default;
|
|
9036
9302
|
protoOf(DeferredCoroutine).vg = cancel$default;
|
|
9037
|
-
protoOf(DeferredCoroutine).
|
|
9038
|
-
protoOf(DeferredCoroutine).
|
|
9039
|
-
protoOf(DeferredCoroutine).
|
|
9040
|
-
protoOf(DeferredCoroutine).
|
|
9303
|
+
protoOf(DeferredCoroutine).a4 = plus;
|
|
9304
|
+
protoOf(DeferredCoroutine).t3 = get;
|
|
9305
|
+
protoOf(DeferredCoroutine).z3 = fold;
|
|
9306
|
+
protoOf(DeferredCoroutine).y3 = minusKey;
|
|
9041
9307
|
protoOf(LazyDeferredCoroutine).rg = invokeOnCompletion$default;
|
|
9042
9308
|
protoOf(LazyDeferredCoroutine).vg = cancel$default;
|
|
9043
|
-
protoOf(LazyDeferredCoroutine).
|
|
9044
|
-
protoOf(LazyDeferredCoroutine).
|
|
9045
|
-
protoOf(LazyDeferredCoroutine).
|
|
9046
|
-
protoOf(LazyDeferredCoroutine).
|
|
9047
|
-
protoOf(CoroutineDispatcher).
|
|
9048
|
-
protoOf(CoroutineDispatcher).
|
|
9049
|
-
protoOf(CoroutineDispatcher).
|
|
9050
|
-
protoOf(CoroutineDispatcher).
|
|
9051
|
-
protoOf(EventLoop).
|
|
9052
|
-
protoOf(EventLoop).
|
|
9053
|
-
protoOf(EventLoop).
|
|
9054
|
-
protoOf(EventLoop).
|
|
9055
|
-
protoOf(
|
|
9056
|
-
protoOf(
|
|
9057
|
-
protoOf(
|
|
9058
|
-
protoOf(
|
|
9059
|
-
protoOf(
|
|
9060
|
-
protoOf(
|
|
9061
|
-
protoOf(
|
|
9062
|
-
protoOf(
|
|
9063
|
-
protoOf(
|
|
9064
|
-
protoOf(
|
|
9065
|
-
protoOf(
|
|
9066
|
-
protoOf(
|
|
9309
|
+
protoOf(LazyDeferredCoroutine).a4 = plus;
|
|
9310
|
+
protoOf(LazyDeferredCoroutine).t3 = get;
|
|
9311
|
+
protoOf(LazyDeferredCoroutine).z3 = fold;
|
|
9312
|
+
protoOf(LazyDeferredCoroutine).y3 = minusKey;
|
|
9313
|
+
protoOf(CoroutineDispatcher).t3 = get_0;
|
|
9314
|
+
protoOf(CoroutineDispatcher).z3 = fold;
|
|
9315
|
+
protoOf(CoroutineDispatcher).y3 = minusKey_0;
|
|
9316
|
+
protoOf(CoroutineDispatcher).a4 = plus;
|
|
9317
|
+
protoOf(EventLoop).a4 = plus;
|
|
9318
|
+
protoOf(EventLoop).t3 = get_0;
|
|
9319
|
+
protoOf(EventLoop).z3 = fold;
|
|
9320
|
+
protoOf(EventLoop).y3 = minusKey_0;
|
|
9321
|
+
protoOf(JobImpl).rg = invokeOnCompletion$default;
|
|
9322
|
+
protoOf(JobImpl).vg = cancel$default;
|
|
9323
|
+
protoOf(JobImpl).a4 = plus;
|
|
9324
|
+
protoOf(JobImpl).t3 = get;
|
|
9325
|
+
protoOf(JobImpl).z3 = fold;
|
|
9326
|
+
protoOf(JobImpl).y3 = minusKey;
|
|
9327
|
+
protoOf(MainCoroutineDispatcher).a4 = plus;
|
|
9328
|
+
protoOf(MainCoroutineDispatcher).t3 = get_0;
|
|
9329
|
+
protoOf(MainCoroutineDispatcher).z3 = fold;
|
|
9330
|
+
protoOf(MainCoroutineDispatcher).y3 = minusKey_0;
|
|
9331
|
+
protoOf(Unconfined).a4 = plus;
|
|
9332
|
+
protoOf(Unconfined).t3 = get_0;
|
|
9333
|
+
protoOf(Unconfined).z3 = fold;
|
|
9334
|
+
protoOf(Unconfined).y3 = minusKey_0;
|
|
9335
|
+
protoOf(AbstractSendChannel).ps = close$default;
|
|
9336
|
+
protoOf(AbstractChannel).ps = close$default;
|
|
9337
|
+
protoOf(ArrayChannel).ps = close$default;
|
|
9338
|
+
protoOf(ChannelCoroutine).ps = close$default;
|
|
9067
9339
|
protoOf(ChannelCoroutine).vg = cancel$default;
|
|
9068
9340
|
protoOf(ChannelCoroutine).rg = invokeOnCompletion$default;
|
|
9069
|
-
protoOf(ChannelCoroutine).
|
|
9070
|
-
protoOf(ChannelCoroutine).
|
|
9071
|
-
protoOf(ChannelCoroutine).
|
|
9072
|
-
protoOf(ChannelCoroutine).
|
|
9073
|
-
protoOf(ConflatedChannel).
|
|
9074
|
-
protoOf(LinkedListChannel).
|
|
9075
|
-
protoOf(ProducerCoroutine).
|
|
9341
|
+
protoOf(ChannelCoroutine).a4 = plus;
|
|
9342
|
+
protoOf(ChannelCoroutine).t3 = get;
|
|
9343
|
+
protoOf(ChannelCoroutine).z3 = fold;
|
|
9344
|
+
protoOf(ChannelCoroutine).y3 = minusKey;
|
|
9345
|
+
protoOf(ConflatedChannel).ps = close$default;
|
|
9346
|
+
protoOf(LinkedListChannel).ps = close$default;
|
|
9347
|
+
protoOf(ProducerCoroutine).ps = close$default;
|
|
9076
9348
|
protoOf(ProducerCoroutine).vg = cancel$default;
|
|
9077
9349
|
protoOf(ProducerCoroutine).rg = invokeOnCompletion$default;
|
|
9078
|
-
protoOf(ProducerCoroutine).
|
|
9079
|
-
protoOf(ProducerCoroutine).
|
|
9080
|
-
protoOf(ProducerCoroutine).
|
|
9081
|
-
protoOf(ProducerCoroutine).
|
|
9082
|
-
protoOf(RendezvousChannel).
|
|
9083
|
-
protoOf(SharedFlowImpl).
|
|
9084
|
-
protoOf(ChannelFlow).
|
|
9085
|
-
protoOf(ChannelFlowOperator).
|
|
9086
|
-
protoOf(ChannelFlowOperatorImpl).
|
|
9350
|
+
protoOf(ProducerCoroutine).a4 = plus;
|
|
9351
|
+
protoOf(ProducerCoroutine).t3 = get;
|
|
9352
|
+
protoOf(ProducerCoroutine).z3 = fold;
|
|
9353
|
+
protoOf(ProducerCoroutine).y3 = minusKey;
|
|
9354
|
+
protoOf(RendezvousChannel).ps = close$default;
|
|
9355
|
+
protoOf(SharedFlowImpl).ux = fuse$default;
|
|
9356
|
+
protoOf(ChannelFlow).ux = fuse$default;
|
|
9357
|
+
protoOf(ChannelFlowOperator).ux = fuse$default;
|
|
9358
|
+
protoOf(ChannelFlowOperatorImpl).ux = fuse$default;
|
|
9087
9359
|
protoOf(UndispatchedCoroutine).rg = invokeOnCompletion$default;
|
|
9088
9360
|
protoOf(UndispatchedCoroutine).vg = cancel$default;
|
|
9089
|
-
protoOf(UndispatchedCoroutine).
|
|
9090
|
-
protoOf(UndispatchedCoroutine).
|
|
9091
|
-
protoOf(UndispatchedCoroutine).
|
|
9092
|
-
protoOf(UndispatchedCoroutine).
|
|
9093
|
-
protoOf(JsMainDispatcher).
|
|
9094
|
-
protoOf(JsMainDispatcher).
|
|
9095
|
-
protoOf(JsMainDispatcher).
|
|
9096
|
-
protoOf(JsMainDispatcher).
|
|
9097
|
-
protoOf(UnconfinedEventLoop).
|
|
9098
|
-
protoOf(UnconfinedEventLoop).
|
|
9099
|
-
protoOf(UnconfinedEventLoop).
|
|
9100
|
-
protoOf(UnconfinedEventLoop).
|
|
9101
|
-
protoOf(SetTimeoutBasedDispatcher).
|
|
9102
|
-
protoOf(SetTimeoutBasedDispatcher).
|
|
9103
|
-
protoOf(SetTimeoutBasedDispatcher).
|
|
9104
|
-
protoOf(SetTimeoutBasedDispatcher).
|
|
9105
|
-
protoOf(NodeDispatcher).
|
|
9106
|
-
protoOf(NodeDispatcher).
|
|
9107
|
-
protoOf(NodeDispatcher).
|
|
9108
|
-
protoOf(NodeDispatcher).
|
|
9109
|
-
protoOf(SetTimeoutDispatcher).
|
|
9110
|
-
protoOf(SetTimeoutDispatcher).
|
|
9111
|
-
protoOf(SetTimeoutDispatcher).
|
|
9112
|
-
protoOf(SetTimeoutDispatcher).
|
|
9113
|
-
protoOf(WindowDispatcher).
|
|
9114
|
-
protoOf(WindowDispatcher).
|
|
9115
|
-
protoOf(WindowDispatcher).
|
|
9116
|
-
protoOf(WindowDispatcher).
|
|
9361
|
+
protoOf(UndispatchedCoroutine).a4 = plus;
|
|
9362
|
+
protoOf(UndispatchedCoroutine).t3 = get;
|
|
9363
|
+
protoOf(UndispatchedCoroutine).z3 = fold;
|
|
9364
|
+
protoOf(UndispatchedCoroutine).y3 = minusKey;
|
|
9365
|
+
protoOf(JsMainDispatcher).a4 = plus;
|
|
9366
|
+
protoOf(JsMainDispatcher).t3 = get_0;
|
|
9367
|
+
protoOf(JsMainDispatcher).z3 = fold;
|
|
9368
|
+
protoOf(JsMainDispatcher).y3 = minusKey_0;
|
|
9369
|
+
protoOf(UnconfinedEventLoop).a4 = plus;
|
|
9370
|
+
protoOf(UnconfinedEventLoop).t3 = get_0;
|
|
9371
|
+
protoOf(UnconfinedEventLoop).z3 = fold;
|
|
9372
|
+
protoOf(UnconfinedEventLoop).y3 = minusKey_0;
|
|
9373
|
+
protoOf(SetTimeoutBasedDispatcher).a4 = plus;
|
|
9374
|
+
protoOf(SetTimeoutBasedDispatcher).t3 = get_0;
|
|
9375
|
+
protoOf(SetTimeoutBasedDispatcher).z3 = fold;
|
|
9376
|
+
protoOf(SetTimeoutBasedDispatcher).y3 = minusKey_0;
|
|
9377
|
+
protoOf(NodeDispatcher).a4 = plus;
|
|
9378
|
+
protoOf(NodeDispatcher).t3 = get_0;
|
|
9379
|
+
protoOf(NodeDispatcher).z3 = fold;
|
|
9380
|
+
protoOf(NodeDispatcher).y3 = minusKey_0;
|
|
9381
|
+
protoOf(SetTimeoutDispatcher).a4 = plus;
|
|
9382
|
+
protoOf(SetTimeoutDispatcher).t3 = get_0;
|
|
9383
|
+
protoOf(SetTimeoutDispatcher).z3 = fold;
|
|
9384
|
+
protoOf(SetTimeoutDispatcher).y3 = minusKey_0;
|
|
9385
|
+
protoOf(WindowDispatcher).a4 = plus;
|
|
9386
|
+
protoOf(WindowDispatcher).t3 = get_0;
|
|
9387
|
+
protoOf(WindowDispatcher).z3 = fold;
|
|
9388
|
+
protoOf(WindowDispatcher).y3 = minusKey_0;
|
|
9117
9389
|
//endregion
|
|
9118
9390
|
//region block: init
|
|
9119
9391
|
DEFAULT_CLOSE_MESSAGE = 'Channel was closed';
|
|
@@ -9137,12 +9409,15 @@
|
|
|
9137
9409
|
_.$_$.i = conflate;
|
|
9138
9410
|
_.$_$.j = distinctUntilChanged;
|
|
9139
9411
|
_.$_$.k = flowOf;
|
|
9140
|
-
_.$_$.l =
|
|
9141
|
-
_.$_$.m =
|
|
9142
|
-
_.$_$.n =
|
|
9143
|
-
_.$_$.o =
|
|
9144
|
-
_.$_$.p =
|
|
9145
|
-
_.$_$.q =
|
|
9412
|
+
_.$_$.l = launchIn;
|
|
9413
|
+
_.$_$.m = onEach;
|
|
9414
|
+
_.$_$.n = onSubscription;
|
|
9415
|
+
_.$_$.o = CoroutineScope_0;
|
|
9416
|
+
_.$_$.p = CoroutineScope;
|
|
9417
|
+
_.$_$.q = async;
|
|
9418
|
+
_.$_$.r = get_job;
|
|
9419
|
+
_.$_$.s = launch;
|
|
9420
|
+
_.$_$.t = promise;
|
|
9146
9421
|
//endregion
|
|
9147
9422
|
return _;
|
|
9148
9423
|
}));
|