client_plugin_logic_deb 1.8.393 → 1.8.394
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1417 -1417
- package/Logic_Debertz-client_plugin.js +2387 -2225
- package/Logic_Debertz-client_plugin.js.map +1 -1
- package/Logic_Debertz-core.js +1201 -1201
- package/Logic_Debertz-engine.js +12152 -12152
- package/Logic_Debertz-game_client.js +7317 -7125
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +895 -895
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +391 -256
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json.js +1074 -1074
- package/ktor-ktor-client-content-negotiation.js +123 -123
- package/ktor-ktor-client-core.js +1429 -1429
- package/ktor-ktor-client-logging.js +264 -264
- package/ktor-ktor-events.js +5 -5
- package/ktor-ktor-http.js +600 -600
- package/ktor-ktor-io.js +1204 -1204
- package/ktor-ktor-serialization-kotlinx-json.js +7 -7
- package/ktor-ktor-serialization-kotlinx.js +106 -106
- package/ktor-ktor-serialization.js +50 -50
- package/ktor-ktor-utils.js +464 -464
- package/ktor-ktor-websockets.js +41 -41
- package/package.json +1 -1
- package/random-library-secure-random.js +1 -1
- package/raspberry-cardgame-lib-core.js +168 -168
- package/raspberry-cardgame-lib-logger.js +92 -92
- package/raspberry-cardgame-lib-random.js +589 -589
- package/uuid.js +11 -11
|
@@ -343,6 +343,9 @@
|
|
|
343
343
|
initMetadataForLambda(combine$o$collect$slambda, CoroutineImpl, VOID, [2]);
|
|
344
344
|
initMetadataForCoroutine($collectCOROUTINE$_8, CoroutineImpl);
|
|
345
345
|
initMetadataForClass(combine$$inlined$combineUnsafe$1, VOID, VOID, VOID, [Flow], [1]);
|
|
346
|
+
initMetadataForLambda(combine$o$collect$slambda_1, CoroutineImpl, VOID, [2]);
|
|
347
|
+
initMetadataForCoroutine($collectCOROUTINE$_9, CoroutineImpl);
|
|
348
|
+
initMetadataForClass(combine$$inlined$unsafeFlow$1, VOID, VOID, VOID, [Flow], [1]);
|
|
346
349
|
initMetadataForCoroutine($emitCOROUTINE$, CoroutineImpl);
|
|
347
350
|
initMetadataForClass(firstOrNull$$inlined$collectWhile$1, VOID, VOID, VOID, [FlowCollector], [1]);
|
|
348
351
|
initMetadataForCoroutine($firstOrNullCOROUTINE$, CoroutineImpl);
|
|
@@ -10688,12 +10691,19 @@
|
|
|
10688
10691
|
tmp.u8_1 = null;
|
|
10689
10692
|
return tmp.z8();
|
|
10690
10693
|
};
|
|
10691
|
-
function combine(flow, flow2,
|
|
10694
|
+
function combine(flow, flow2, transform) {
|
|
10695
|
+
return combine_1(flow, flow2, transform);
|
|
10696
|
+
}
|
|
10697
|
+
function combine_0(flow, flow2, flow3, flow4, transform) {
|
|
10692
10698
|
// Inline function 'kotlinx.coroutines.flow.combineUnsafe' call
|
|
10693
10699
|
var flows = [flow, flow2, flow3, flow4];
|
|
10694
10700
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
10695
10701
|
return new combine$$inlined$combineUnsafe$1(flows, transform);
|
|
10696
10702
|
}
|
|
10703
|
+
function combine_1(_this__u8e3s4, flow, transform) {
|
|
10704
|
+
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
10705
|
+
return new combine$$inlined$unsafeFlow$1(_this__u8e3s4, flow, transform);
|
|
10706
|
+
}
|
|
10697
10707
|
function nullArrayFactory() {
|
|
10698
10708
|
return nullArrayFactory$lambda;
|
|
10699
10709
|
}
|
|
@@ -10824,6 +10834,130 @@
|
|
|
10824
10834
|
protoOf(combine$$inlined$combineUnsafe$1).f23 = function (collector, $completion) {
|
|
10825
10835
|
return this.j24(collector, $completion);
|
|
10826
10836
|
};
|
|
10837
|
+
function combine$o$collect$slambda_1($transform, resultContinuation) {
|
|
10838
|
+
this.f2m_1 = $transform;
|
|
10839
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
10840
|
+
}
|
|
10841
|
+
protoOf(combine$o$collect$slambda_1).i2m = function ($this$combineInternal, it, $completion) {
|
|
10842
|
+
var tmp = this.j2m($this$combineInternal, it, $completion);
|
|
10843
|
+
tmp.t8_1 = Unit_instance;
|
|
10844
|
+
tmp.u8_1 = null;
|
|
10845
|
+
return tmp.z8();
|
|
10846
|
+
};
|
|
10847
|
+
protoOf(combine$o$collect$slambda_1).i9 = function (p1, p2, $completion) {
|
|
10848
|
+
var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
|
|
10849
|
+
return this.i2m(tmp, (!(p2 == null) ? isArray(p2) : false) ? p2 : THROW_CCE(), $completion);
|
|
10850
|
+
};
|
|
10851
|
+
protoOf(combine$o$collect$slambda_1).z8 = function () {
|
|
10852
|
+
var suspendResult = this.t8_1;
|
|
10853
|
+
$sm: do
|
|
10854
|
+
try {
|
|
10855
|
+
var tmp = this.r8_1;
|
|
10856
|
+
switch (tmp) {
|
|
10857
|
+
case 0:
|
|
10858
|
+
this.s8_1 = 3;
|
|
10859
|
+
this.r8_1 = 1;
|
|
10860
|
+
var tmp_0 = this.h2m_1[0];
|
|
10861
|
+
var tmp_1 = (tmp_0 == null ? true : !(tmp_0 == null)) ? tmp_0 : THROW_CCE();
|
|
10862
|
+
var tmp_2 = this.h2m_1[1];
|
|
10863
|
+
suspendResult = this.f2m_1(tmp_1, (tmp_2 == null ? true : !(tmp_2 == null)) ? tmp_2 : THROW_CCE(), this);
|
|
10864
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
10865
|
+
return suspendResult;
|
|
10866
|
+
}
|
|
10867
|
+
|
|
10868
|
+
continue $sm;
|
|
10869
|
+
case 1:
|
|
10870
|
+
var ARGUMENT = suspendResult;
|
|
10871
|
+
this.r8_1 = 2;
|
|
10872
|
+
suspendResult = this.g2m_1.i24(ARGUMENT, this);
|
|
10873
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
10874
|
+
return suspendResult;
|
|
10875
|
+
}
|
|
10876
|
+
|
|
10877
|
+
continue $sm;
|
|
10878
|
+
case 2:
|
|
10879
|
+
return Unit_instance;
|
|
10880
|
+
case 3:
|
|
10881
|
+
throw this.u8_1;
|
|
10882
|
+
}
|
|
10883
|
+
} catch ($p) {
|
|
10884
|
+
var e = $p;
|
|
10885
|
+
if (this.s8_1 === 3) {
|
|
10886
|
+
throw e;
|
|
10887
|
+
} else {
|
|
10888
|
+
this.r8_1 = this.s8_1;
|
|
10889
|
+
this.u8_1 = e;
|
|
10890
|
+
}
|
|
10891
|
+
}
|
|
10892
|
+
while (true);
|
|
10893
|
+
};
|
|
10894
|
+
protoOf(combine$o$collect$slambda_1).j2m = function ($this$combineInternal, it, completion) {
|
|
10895
|
+
var i = new combine$o$collect$slambda_1(this.f2m_1, completion);
|
|
10896
|
+
i.g2m_1 = $this$combineInternal;
|
|
10897
|
+
i.h2m_1 = it;
|
|
10898
|
+
return i;
|
|
10899
|
+
};
|
|
10900
|
+
function combine$o$collect$slambda_2($transform, resultContinuation) {
|
|
10901
|
+
var i = new combine$o$collect$slambda_1($transform, resultContinuation);
|
|
10902
|
+
var l = function ($this$combineInternal, it, $completion) {
|
|
10903
|
+
return i.i2m($this$combineInternal, it, $completion);
|
|
10904
|
+
};
|
|
10905
|
+
l.$arity = 2;
|
|
10906
|
+
return l;
|
|
10907
|
+
}
|
|
10908
|
+
function $collectCOROUTINE$_9(_this__u8e3s4, collector, resultContinuation) {
|
|
10909
|
+
CoroutineImpl.call(this, resultContinuation);
|
|
10910
|
+
this.s2m_1 = _this__u8e3s4;
|
|
10911
|
+
this.t2m_1 = collector;
|
|
10912
|
+
}
|
|
10913
|
+
protoOf($collectCOROUTINE$_9).z8 = function () {
|
|
10914
|
+
var suspendResult = this.t8_1;
|
|
10915
|
+
$sm: do
|
|
10916
|
+
try {
|
|
10917
|
+
var tmp = this.r8_1;
|
|
10918
|
+
switch (tmp) {
|
|
10919
|
+
case 0:
|
|
10920
|
+
this.s8_1 = 2;
|
|
10921
|
+
var $this$flow = this.t2m_1;
|
|
10922
|
+
this.r8_1 = 1;
|
|
10923
|
+
var this_0 = [this.s2m_1.u2m_1, this.s2m_1.v2m_1];
|
|
10924
|
+
var tmp_0 = nullArrayFactory();
|
|
10925
|
+
suspendResult = combineInternal($this$flow, this_0, tmp_0, combine$o$collect$slambda_2(this.s2m_1.w2m_1, null), this);
|
|
10926
|
+
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
10927
|
+
return suspendResult;
|
|
10928
|
+
}
|
|
10929
|
+
|
|
10930
|
+
continue $sm;
|
|
10931
|
+
case 1:
|
|
10932
|
+
return Unit_instance;
|
|
10933
|
+
case 2:
|
|
10934
|
+
throw this.u8_1;
|
|
10935
|
+
}
|
|
10936
|
+
} catch ($p) {
|
|
10937
|
+
var e = $p;
|
|
10938
|
+
if (this.s8_1 === 2) {
|
|
10939
|
+
throw e;
|
|
10940
|
+
} else {
|
|
10941
|
+
this.r8_1 = this.s8_1;
|
|
10942
|
+
this.u8_1 = e;
|
|
10943
|
+
}
|
|
10944
|
+
}
|
|
10945
|
+
while (true);
|
|
10946
|
+
};
|
|
10947
|
+
function combine$$inlined$unsafeFlow$1($this_combine, $flow, $transform) {
|
|
10948
|
+
this.u2m_1 = $this_combine;
|
|
10949
|
+
this.v2m_1 = $flow;
|
|
10950
|
+
this.w2m_1 = $transform;
|
|
10951
|
+
}
|
|
10952
|
+
protoOf(combine$$inlined$unsafeFlow$1).j24 = function (collector, $completion) {
|
|
10953
|
+
var tmp = new $collectCOROUTINE$_9(this, collector, $completion);
|
|
10954
|
+
tmp.t8_1 = Unit_instance;
|
|
10955
|
+
tmp.u8_1 = null;
|
|
10956
|
+
return tmp.z8();
|
|
10957
|
+
};
|
|
10958
|
+
protoOf(combine$$inlined$unsafeFlow$1).f23 = function (collector, $completion) {
|
|
10959
|
+
return this.j24(collector, $completion);
|
|
10960
|
+
};
|
|
10827
10961
|
function nullArrayFactory$lambda() {
|
|
10828
10962
|
return null;
|
|
10829
10963
|
}
|
|
@@ -10839,8 +10973,8 @@
|
|
|
10839
10973
|
}
|
|
10840
10974
|
function $emitCOROUTINE$(_this__u8e3s4, value, resultContinuation) {
|
|
10841
10975
|
CoroutineImpl.call(this, resultContinuation);
|
|
10842
|
-
this.
|
|
10843
|
-
this.
|
|
10976
|
+
this.r2n_1 = _this__u8e3s4;
|
|
10977
|
+
this.s2n_1 = value;
|
|
10844
10978
|
}
|
|
10845
10979
|
protoOf($emitCOROUTINE$).z8 = function () {
|
|
10846
10980
|
var suspendResult = this.t8_1;
|
|
@@ -10850,9 +10984,9 @@
|
|
|
10850
10984
|
switch (tmp) {
|
|
10851
10985
|
case 0:
|
|
10852
10986
|
this.s8_1 = 4;
|
|
10853
|
-
this.
|
|
10987
|
+
this.u2n_1 = this.s2n_1;
|
|
10854
10988
|
this.r8_1 = 1;
|
|
10855
|
-
suspendResult = this.
|
|
10989
|
+
suspendResult = this.r2n_1.v2n_1(this.u2n_1, this);
|
|
10856
10990
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
10857
10991
|
return suspendResult;
|
|
10858
10992
|
}
|
|
@@ -10861,20 +10995,20 @@
|
|
|
10861
10995
|
case 1:
|
|
10862
10996
|
if (suspendResult) {
|
|
10863
10997
|
var tmp_0 = this;
|
|
10864
|
-
this.
|
|
10865
|
-
tmp_0.
|
|
10998
|
+
this.r2n_1.w2n_1._v = this.u2n_1;
|
|
10999
|
+
tmp_0.t2n_1 = false;
|
|
10866
11000
|
this.r8_1 = 2;
|
|
10867
11001
|
continue $sm;
|
|
10868
11002
|
} else {
|
|
10869
11003
|
var tmp_1 = this;
|
|
10870
|
-
tmp_1.
|
|
11004
|
+
tmp_1.t2n_1 = true;
|
|
10871
11005
|
this.r8_1 = 2;
|
|
10872
11006
|
continue $sm;
|
|
10873
11007
|
}
|
|
10874
11008
|
|
|
10875
11009
|
case 2:
|
|
10876
|
-
if (!this.
|
|
10877
|
-
throw new AbortFlowException(this.
|
|
11010
|
+
if (!this.t2n_1) {
|
|
11011
|
+
throw new AbortFlowException(this.r2n_1);
|
|
10878
11012
|
} else {
|
|
10879
11013
|
this.r8_1 = 3;
|
|
10880
11014
|
continue $sm;
|
|
@@ -10897,22 +11031,22 @@
|
|
|
10897
11031
|
while (true);
|
|
10898
11032
|
};
|
|
10899
11033
|
function firstOrNull$$inlined$collectWhile$1($predicate, $result) {
|
|
10900
|
-
this.
|
|
10901
|
-
this.
|
|
11034
|
+
this.v2n_1 = $predicate;
|
|
11035
|
+
this.w2n_1 = $result;
|
|
10902
11036
|
}
|
|
10903
|
-
protoOf(firstOrNull$$inlined$collectWhile$1).
|
|
11037
|
+
protoOf(firstOrNull$$inlined$collectWhile$1).x2n = function (value, $completion) {
|
|
10904
11038
|
var tmp = new $emitCOROUTINE$(this, value, $completion);
|
|
10905
11039
|
tmp.t8_1 = Unit_instance;
|
|
10906
11040
|
tmp.u8_1 = null;
|
|
10907
11041
|
return tmp.z8();
|
|
10908
11042
|
};
|
|
10909
11043
|
protoOf(firstOrNull$$inlined$collectWhile$1).i24 = function (value, $completion) {
|
|
10910
|
-
return this.
|
|
11044
|
+
return this.x2n((value == null ? true : !(value == null)) ? value : THROW_CCE(), $completion);
|
|
10911
11045
|
};
|
|
10912
11046
|
function $firstOrNullCOROUTINE$(_this__u8e3s4, predicate, resultContinuation) {
|
|
10913
11047
|
CoroutineImpl.call(this, resultContinuation);
|
|
10914
|
-
this.
|
|
10915
|
-
this.
|
|
11048
|
+
this.f2n_1 = _this__u8e3s4;
|
|
11049
|
+
this.g2n_1 = predicate;
|
|
10916
11050
|
}
|
|
10917
11051
|
protoOf($firstOrNullCOROUTINE$).z8 = function () {
|
|
10918
11052
|
var suspendResult = this.t8_1;
|
|
@@ -10922,13 +11056,13 @@
|
|
|
10922
11056
|
switch (tmp) {
|
|
10923
11057
|
case 0:
|
|
10924
11058
|
this.s8_1 = 4;
|
|
10925
|
-
this.
|
|
10926
|
-
var this_0 = this.
|
|
11059
|
+
this.h2n_1 = {_v: null};
|
|
11060
|
+
var this_0 = this.f2n_1;
|
|
10927
11061
|
var tmp_0 = this;
|
|
10928
|
-
tmp_0.
|
|
11062
|
+
tmp_0.i2n_1 = new firstOrNull$$inlined$collectWhile$1(this.g2n_1, this.h2n_1);
|
|
10929
11063
|
this.s8_1 = 2;
|
|
10930
11064
|
this.r8_1 = 1;
|
|
10931
|
-
suspendResult = this_0.f23(this.
|
|
11065
|
+
suspendResult = this_0.f23(this.i2n_1, this);
|
|
10932
11066
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
10933
11067
|
return suspendResult;
|
|
10934
11068
|
}
|
|
@@ -10943,7 +11077,7 @@
|
|
|
10943
11077
|
var tmp_1 = this.u8_1;
|
|
10944
11078
|
if (tmp_1 instanceof AbortFlowException) {
|
|
10945
11079
|
var e = this.u8_1;
|
|
10946
|
-
checkOwnership(e, this.
|
|
11080
|
+
checkOwnership(e, this.i2n_1);
|
|
10947
11081
|
ensureActive(this.x8());
|
|
10948
11082
|
this.r8_1 = 3;
|
|
10949
11083
|
continue $sm;
|
|
@@ -10953,7 +11087,7 @@
|
|
|
10953
11087
|
|
|
10954
11088
|
case 3:
|
|
10955
11089
|
this.s8_1 = 4;
|
|
10956
|
-
return this.
|
|
11090
|
+
return this.h2n_1._v;
|
|
10957
11091
|
case 4:
|
|
10958
11092
|
throw this.u8_1;
|
|
10959
11093
|
}
|
|
@@ -11337,7 +11471,7 @@
|
|
|
11337
11471
|
protoOf(DispatchedContinuation).z1p = function () {
|
|
11338
11472
|
return !(this.v1p_1.kotlinx$atomicfu$value == null);
|
|
11339
11473
|
};
|
|
11340
|
-
protoOf(DispatchedContinuation).
|
|
11474
|
+
protoOf(DispatchedContinuation).y2n = function () {
|
|
11341
11475
|
// Inline function 'kotlinx.atomicfu.loop' call
|
|
11342
11476
|
var this_0 = this.v1p_1;
|
|
11343
11477
|
while (true) {
|
|
@@ -11346,7 +11480,7 @@
|
|
|
11346
11480
|
}
|
|
11347
11481
|
};
|
|
11348
11482
|
protoOf(DispatchedContinuation).m1s = function () {
|
|
11349
|
-
this.
|
|
11483
|
+
this.y2n();
|
|
11350
11484
|
var tmp0_safe_receiver = _get_reusableCancellableContinuation__9qex09(this);
|
|
11351
11485
|
if (tmp0_safe_receiver == null)
|
|
11352
11486
|
null;
|
|
@@ -11797,19 +11931,19 @@
|
|
|
11797
11931
|
this.k1o_1.c9(recoverResult(state, this.k1o_1));
|
|
11798
11932
|
};
|
|
11799
11933
|
function ContextScope(context) {
|
|
11800
|
-
this.
|
|
11934
|
+
this.z2n_1 = context;
|
|
11801
11935
|
}
|
|
11802
11936
|
protoOf(ContextScope).a1k = function () {
|
|
11803
|
-
return this.
|
|
11937
|
+
return this.z2n_1;
|
|
11804
11938
|
};
|
|
11805
11939
|
protoOf(ContextScope).toString = function () {
|
|
11806
|
-
return 'CoroutineScope(coroutineContext=' + toString(this.
|
|
11940
|
+
return 'CoroutineScope(coroutineContext=' + toString(this.z2n_1) + ')';
|
|
11807
11941
|
};
|
|
11808
11942
|
function Symbol(symbol) {
|
|
11809
|
-
this.
|
|
11943
|
+
this.a2o_1 = symbol;
|
|
11810
11944
|
}
|
|
11811
11945
|
protoOf(Symbol).toString = function () {
|
|
11812
|
-
return '<' + this.
|
|
11946
|
+
return '<' + this.a2o_1 + '>';
|
|
11813
11947
|
};
|
|
11814
11948
|
function systemProp(propertyName, defaultValue, minValue, maxValue) {
|
|
11815
11949
|
minValue = minValue === VOID ? 1 : minValue;
|
|
@@ -11986,7 +12120,7 @@
|
|
|
11986
12120
|
if (!(cause instanceof TimeoutCancellationException)) {
|
|
11987
12121
|
tmp = true;
|
|
11988
12122
|
} else {
|
|
11989
|
-
tmp = !(cause.
|
|
12123
|
+
tmp = !(cause.b2o_1 === _this__u8e3s4);
|
|
11990
12124
|
}
|
|
11991
12125
|
return tmp;
|
|
11992
12126
|
}
|
|
@@ -12026,7 +12160,7 @@
|
|
|
12026
12160
|
tmp = tmp0_elvis_lhs;
|
|
12027
12161
|
}
|
|
12028
12162
|
var clause = tmp;
|
|
12029
|
-
var onCancellation = clause.
|
|
12163
|
+
var onCancellation = clause.g2o($this, internalResult);
|
|
12030
12164
|
if ($this.o1z_1.atomicfu$compareAndSet(curState, clause)) {
|
|
12031
12165
|
var cont = isInterface(curState, CancellableContinuation) ? curState : THROW_CCE();
|
|
12032
12166
|
$this.q1z_1 = internalResult;
|
|
@@ -12082,7 +12216,7 @@
|
|
|
12082
12216
|
var _iterator__ex2g4s = clauses.l();
|
|
12083
12217
|
while (_iterator__ex2g4s.m()) {
|
|
12084
12218
|
var element = _iterator__ex2g4s.n();
|
|
12085
|
-
if (element.
|
|
12219
|
+
if (element.d2o_1 === clauseObject) {
|
|
12086
12220
|
tmp$ret$1 = element;
|
|
12087
12221
|
break $l$block;
|
|
12088
12222
|
}
|
|
@@ -12101,9 +12235,9 @@
|
|
|
12101
12235
|
}
|
|
12102
12236
|
function ClauseData() {
|
|
12103
12237
|
}
|
|
12104
|
-
protoOf(ClauseData).
|
|
12105
|
-
var tmp0_safe_receiver = this.
|
|
12106
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver(select, this.
|
|
12238
|
+
protoOf(ClauseData).g2o = function (select, internalResult) {
|
|
12239
|
+
var tmp0_safe_receiver = this.f2o_1;
|
|
12240
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver(select, this.e2o_1, internalResult);
|
|
12107
12241
|
};
|
|
12108
12242
|
function SelectImplementation() {
|
|
12109
12243
|
}
|
|
@@ -12208,22 +12342,22 @@
|
|
|
12208
12342
|
function MutexImpl$CancellableContinuationWithOwner$tryResume$lambda(this$0, this$1) {
|
|
12209
12343
|
return function (_unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1) {
|
|
12210
12344
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
12211
|
-
this$0.
|
|
12212
|
-
this$0.
|
|
12345
|
+
this$0.o2o_1.kotlinx$atomicfu$value = this$1.r2o_1;
|
|
12346
|
+
this$0.t2o(this$1.r2o_1);
|
|
12213
12347
|
return Unit_instance;
|
|
12214
12348
|
};
|
|
12215
12349
|
}
|
|
12216
12350
|
function MutexImpl$CancellableContinuationWithOwner$resume$lambda(this$0, this$1) {
|
|
12217
12351
|
return function (it) {
|
|
12218
|
-
this$0.
|
|
12352
|
+
this$0.t2o(this$1.r2o_1);
|
|
12219
12353
|
return Unit_instance;
|
|
12220
12354
|
};
|
|
12221
12355
|
}
|
|
12222
12356
|
function holdsLockImpl($this, owner) {
|
|
12223
12357
|
$l$loop: while (true) {
|
|
12224
|
-
if (!$this.
|
|
12358
|
+
if (!$this.u2o())
|
|
12225
12359
|
return 0;
|
|
12226
|
-
var curOwner = $this.
|
|
12360
|
+
var curOwner = $this.o2o_1.kotlinx$atomicfu$value;
|
|
12227
12361
|
if (curOwner === get_NO_OWNER())
|
|
12228
12362
|
continue $l$loop;
|
|
12229
12363
|
return curOwner === owner ? 1 : 2;
|
|
@@ -12247,9 +12381,9 @@
|
|
|
12247
12381
|
}
|
|
12248
12382
|
function tryLockImpl($this, owner) {
|
|
12249
12383
|
$l$loop: while (true) {
|
|
12250
|
-
if ($this.
|
|
12384
|
+
if ($this.c2p()) {
|
|
12251
12385
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
12252
|
-
$this.
|
|
12386
|
+
$this.o2o_1.kotlinx$atomicfu$value = owner;
|
|
12253
12387
|
return 0;
|
|
12254
12388
|
} else {
|
|
12255
12389
|
if (owner == null)
|
|
@@ -12266,66 +12400,66 @@
|
|
|
12266
12400
|
}
|
|
12267
12401
|
}
|
|
12268
12402
|
function CancellableContinuationWithOwner($outer, cont, owner) {
|
|
12269
|
-
this.
|
|
12270
|
-
this.
|
|
12271
|
-
this.
|
|
12403
|
+
this.s2o_1 = $outer;
|
|
12404
|
+
this.q2o_1 = cont;
|
|
12405
|
+
this.r2o_1 = owner;
|
|
12272
12406
|
}
|
|
12273
|
-
protoOf(CancellableContinuationWithOwner).
|
|
12407
|
+
protoOf(CancellableContinuationWithOwner).d2p = function (value, idempotent, onCancellation) {
|
|
12274
12408
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
12275
|
-
var token = this.
|
|
12409
|
+
var token = this.q2o_1.k1p(value, idempotent, MutexImpl$CancellableContinuationWithOwner$tryResume$lambda(this.s2o_1, this));
|
|
12276
12410
|
if (!(token == null)) {
|
|
12277
12411
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
12278
|
-
this.
|
|
12412
|
+
this.s2o_1.o2o_1.kotlinx$atomicfu$value = this.r2o_1;
|
|
12279
12413
|
}
|
|
12280
12414
|
return token;
|
|
12281
12415
|
};
|
|
12282
12416
|
protoOf(CancellableContinuationWithOwner).k1p = function (value, idempotent, onCancellation) {
|
|
12283
|
-
return this.
|
|
12417
|
+
return this.d2p(value instanceof Unit ? value : THROW_CCE(), idempotent, onCancellation);
|
|
12284
12418
|
};
|
|
12285
|
-
protoOf(CancellableContinuationWithOwner).
|
|
12419
|
+
protoOf(CancellableContinuationWithOwner).e2p = function (value, onCancellation) {
|
|
12286
12420
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
12287
|
-
this.
|
|
12288
|
-
this.
|
|
12421
|
+
this.s2o_1.o2o_1.kotlinx$atomicfu$value = this.r2o_1;
|
|
12422
|
+
this.q2o_1.d1r(Unit_instance, MutexImpl$CancellableContinuationWithOwner$resume$lambda(this.s2o_1, this));
|
|
12289
12423
|
};
|
|
12290
12424
|
protoOf(CancellableContinuationWithOwner).n1p = function (value, onCancellation) {
|
|
12291
|
-
return this.
|
|
12425
|
+
return this.e2p(value instanceof Unit ? value : THROW_CCE(), onCancellation);
|
|
12292
12426
|
};
|
|
12293
12427
|
protoOf(CancellableContinuationWithOwner).v1k = function () {
|
|
12294
|
-
return this.
|
|
12428
|
+
return this.q2o_1.v1k();
|
|
12295
12429
|
};
|
|
12296
12430
|
protoOf(CancellableContinuationWithOwner).w1k = function () {
|
|
12297
|
-
return this.
|
|
12431
|
+
return this.q2o_1.w1k();
|
|
12298
12432
|
};
|
|
12299
12433
|
protoOf(CancellableContinuationWithOwner).e1n = function (exception) {
|
|
12300
|
-
return this.
|
|
12434
|
+
return this.q2o_1.e1n(exception);
|
|
12301
12435
|
};
|
|
12302
12436
|
protoOf(CancellableContinuationWithOwner).f1n = function (token) {
|
|
12303
|
-
this.
|
|
12437
|
+
this.q2o_1.f1n(token);
|
|
12304
12438
|
};
|
|
12305
12439
|
protoOf(CancellableContinuationWithOwner).l1p = function (handler) {
|
|
12306
|
-
this.
|
|
12440
|
+
this.q2o_1.l1p(handler);
|
|
12307
12441
|
};
|
|
12308
12442
|
protoOf(CancellableContinuationWithOwner).f1r = function (segment, index) {
|
|
12309
|
-
this.
|
|
12443
|
+
this.q2o_1.f1r(segment, index);
|
|
12310
12444
|
};
|
|
12311
|
-
protoOf(CancellableContinuationWithOwner).
|
|
12312
|
-
this.
|
|
12445
|
+
protoOf(CancellableContinuationWithOwner).f2p = function (_this__u8e3s4, value) {
|
|
12446
|
+
this.q2o_1.m1p(_this__u8e3s4, Unit_instance);
|
|
12313
12447
|
};
|
|
12314
12448
|
protoOf(CancellableContinuationWithOwner).m1p = function (_this__u8e3s4, value) {
|
|
12315
|
-
return this.
|
|
12449
|
+
return this.f2p(_this__u8e3s4, value instanceof Unit ? value : THROW_CCE());
|
|
12316
12450
|
};
|
|
12317
|
-
protoOf(CancellableContinuationWithOwner).
|
|
12318
|
-
this.
|
|
12451
|
+
protoOf(CancellableContinuationWithOwner).g2p = function (result) {
|
|
12452
|
+
this.q2o_1.c9(result);
|
|
12319
12453
|
};
|
|
12320
12454
|
protoOf(CancellableContinuationWithOwner).c9 = function (result) {
|
|
12321
|
-
return this.
|
|
12455
|
+
return this.g2p(result);
|
|
12322
12456
|
};
|
|
12323
12457
|
protoOf(CancellableContinuationWithOwner).x8 = function () {
|
|
12324
|
-
return this.
|
|
12458
|
+
return this.q2o_1.x8();
|
|
12325
12459
|
};
|
|
12326
12460
|
function MutexImpl$onSelectCancellationUnlockConstructor$lambda$lambda(this$0, $owner) {
|
|
12327
12461
|
return function (_unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1) {
|
|
12328
|
-
this$0.
|
|
12462
|
+
this$0.t2o($owner);
|
|
12329
12463
|
return Unit_instance;
|
|
12330
12464
|
};
|
|
12331
12465
|
}
|
|
@@ -12336,19 +12470,19 @@
|
|
|
12336
12470
|
}
|
|
12337
12471
|
function MutexImpl(locked) {
|
|
12338
12472
|
SemaphoreAndMutexImpl.call(this, 1, locked ? 1 : 0);
|
|
12339
|
-
this.
|
|
12473
|
+
this.o2o_1 = atomic$ref$1(locked ? null : get_NO_OWNER());
|
|
12340
12474
|
var tmp = this;
|
|
12341
|
-
tmp.
|
|
12475
|
+
tmp.p2o_1 = MutexImpl$onSelectCancellationUnlockConstructor$lambda(this);
|
|
12342
12476
|
}
|
|
12343
|
-
protoOf(MutexImpl).
|
|
12344
|
-
return this.
|
|
12477
|
+
protoOf(MutexImpl).u2o = function () {
|
|
12478
|
+
return this.h2p() === 0;
|
|
12345
12479
|
};
|
|
12346
|
-
protoOf(MutexImpl).
|
|
12347
|
-
if (this.
|
|
12480
|
+
protoOf(MutexImpl).i2p = function (owner, $completion) {
|
|
12481
|
+
if (this.j2p(owner))
|
|
12348
12482
|
return Unit_instance;
|
|
12349
12483
|
return lockSuspend(this, owner, $completion);
|
|
12350
12484
|
};
|
|
12351
|
-
protoOf(MutexImpl).
|
|
12485
|
+
protoOf(MutexImpl).j2p = function (owner) {
|
|
12352
12486
|
var tmp;
|
|
12353
12487
|
switch (tryLockImpl(this, owner)) {
|
|
12354
12488
|
case 0:
|
|
@@ -12366,14 +12500,14 @@
|
|
|
12366
12500
|
}
|
|
12367
12501
|
return tmp;
|
|
12368
12502
|
};
|
|
12369
|
-
protoOf(MutexImpl).
|
|
12503
|
+
protoOf(MutexImpl).t2o = function (owner) {
|
|
12370
12504
|
$l$loop_0: while (true) {
|
|
12371
12505
|
// Inline function 'kotlin.check' call
|
|
12372
|
-
if (!this.
|
|
12506
|
+
if (!this.u2o()) {
|
|
12373
12507
|
var message = 'This mutex is not locked';
|
|
12374
12508
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
12375
12509
|
}
|
|
12376
|
-
var curOwner = this.
|
|
12510
|
+
var curOwner = this.o2o_1.kotlinx$atomicfu$value;
|
|
12377
12511
|
if (curOwner === get_NO_OWNER())
|
|
12378
12512
|
continue $l$loop_0;
|
|
12379
12513
|
// Inline function 'kotlin.check' call
|
|
@@ -12381,14 +12515,14 @@
|
|
|
12381
12515
|
var message_0 = 'This mutex is locked by ' + toString_0(curOwner) + ', but ' + toString_0(owner) + ' is expected';
|
|
12382
12516
|
throw IllegalStateException_init_$Create$(toString(message_0));
|
|
12383
12517
|
}
|
|
12384
|
-
if (!this.
|
|
12518
|
+
if (!this.o2o_1.atomicfu$compareAndSet(curOwner, get_NO_OWNER()))
|
|
12385
12519
|
continue $l$loop_0;
|
|
12386
|
-
this.
|
|
12520
|
+
this.k2p();
|
|
12387
12521
|
return Unit_instance;
|
|
12388
12522
|
}
|
|
12389
12523
|
};
|
|
12390
12524
|
protoOf(MutexImpl).toString = function () {
|
|
12391
|
-
return 'Mutex@' + get_hexAddress(this) + '[isLocked=' + this.
|
|
12525
|
+
return 'Mutex@' + get_hexAddress(this) + '[isLocked=' + this.u2o() + ',owner=' + toString_0(this.o2o_1.kotlinx$atomicfu$value) + ']';
|
|
12392
12526
|
};
|
|
12393
12527
|
var properties_initialized_Mutex_kt_yv4p3j;
|
|
12394
12528
|
function _init_properties_Mutex_kt__jod56b() {
|
|
@@ -12430,26 +12564,26 @@
|
|
|
12430
12564
|
var SEGMENT_SIZE_0;
|
|
12431
12565
|
function decPermits($this) {
|
|
12432
12566
|
$l$loop: while (true) {
|
|
12433
|
-
var p = $this.
|
|
12434
|
-
if (p > $this.
|
|
12567
|
+
var p = $this.a2p_1.atomicfu$getAndDecrement();
|
|
12568
|
+
if (p > $this.v2o_1)
|
|
12435
12569
|
continue $l$loop;
|
|
12436
12570
|
return p;
|
|
12437
12571
|
}
|
|
12438
12572
|
}
|
|
12439
12573
|
function coerceAvailablePermitsAtMaximum($this) {
|
|
12440
12574
|
$l$loop_0: while (true) {
|
|
12441
|
-
var cur = $this.
|
|
12442
|
-
if (cur <= $this.
|
|
12575
|
+
var cur = $this.a2p_1.kotlinx$atomicfu$value;
|
|
12576
|
+
if (cur <= $this.v2o_1)
|
|
12443
12577
|
break $l$loop_0;
|
|
12444
|
-
if ($this.
|
|
12578
|
+
if ($this.a2p_1.atomicfu$compareAndSet(cur, $this.v2o_1))
|
|
12445
12579
|
break $l$loop_0;
|
|
12446
12580
|
}
|
|
12447
12581
|
}
|
|
12448
12582
|
function addAcquireToQueue($this, waiter) {
|
|
12449
|
-
var curTail = $this.
|
|
12450
|
-
var enqIdx = $this.
|
|
12583
|
+
var curTail = $this.y2o_1.kotlinx$atomicfu$value;
|
|
12584
|
+
var enqIdx = $this.z2o_1.atomicfu$getAndIncrement$long();
|
|
12451
12585
|
var createNewSegment = createSegment$ref_0();
|
|
12452
|
-
var tmp0 = $this.
|
|
12586
|
+
var tmp0 = $this.y2o_1;
|
|
12453
12587
|
// Inline function 'kotlin.Long.div' call
|
|
12454
12588
|
var other = get_SEGMENT_SIZE_0();
|
|
12455
12589
|
var tmp2 = divide(enqIdx, fromInt(other));
|
|
@@ -12503,21 +12637,21 @@
|
|
|
12503
12637
|
var tmp$ret$4 = modulo(enqIdx, fromInt(other_0));
|
|
12504
12638
|
var i = convertToInt(tmp$ret$4);
|
|
12505
12639
|
// Inline function 'kotlinx.coroutines.sync.SemaphoreSegment.cas' call
|
|
12506
|
-
if (segment.
|
|
12640
|
+
if (segment.p2p_1.atomicfu$get(i).atomicfu$compareAndSet(null, waiter)) {
|
|
12507
12641
|
waiter.f1r(segment, i);
|
|
12508
12642
|
return true;
|
|
12509
12643
|
}
|
|
12510
12644
|
var tmp4 = get_PERMIT();
|
|
12511
12645
|
// Inline function 'kotlinx.coroutines.sync.SemaphoreSegment.cas' call
|
|
12512
12646
|
var value = get_TAKEN();
|
|
12513
|
-
if (segment.
|
|
12647
|
+
if (segment.p2p_1.atomicfu$get(i).atomicfu$compareAndSet(tmp4, value)) {
|
|
12514
12648
|
if (isInterface(waiter, CancellableContinuation)) {
|
|
12515
12649
|
if (!isInterface(waiter, CancellableContinuation))
|
|
12516
12650
|
THROW_CCE();
|
|
12517
|
-
waiter.n1p(Unit_instance, $this.
|
|
12651
|
+
waiter.n1p(Unit_instance, $this.b2p_1);
|
|
12518
12652
|
} else {
|
|
12519
12653
|
if (isInterface(waiter, SelectInstance)) {
|
|
12520
|
-
waiter.
|
|
12654
|
+
waiter.c2o(Unit_instance);
|
|
12521
12655
|
} else {
|
|
12522
12656
|
// Inline function 'kotlin.error' call
|
|
12523
12657
|
var message = 'unexpected: ' + toString(waiter);
|
|
@@ -12530,13 +12664,13 @@
|
|
|
12530
12664
|
return false;
|
|
12531
12665
|
}
|
|
12532
12666
|
function tryResumeNextFromQueue($this) {
|
|
12533
|
-
var curHead = $this.
|
|
12534
|
-
var deqIdx = $this.
|
|
12667
|
+
var curHead = $this.w2o_1.kotlinx$atomicfu$value;
|
|
12668
|
+
var deqIdx = $this.x2o_1.atomicfu$getAndIncrement$long();
|
|
12535
12669
|
// Inline function 'kotlin.Long.div' call
|
|
12536
12670
|
var other = get_SEGMENT_SIZE_0();
|
|
12537
12671
|
var id = divide(deqIdx, fromInt(other));
|
|
12538
12672
|
var createNewSegment = createSegment$ref_1();
|
|
12539
|
-
var tmp0 = $this.
|
|
12673
|
+
var tmp0 = $this.w2o_1;
|
|
12540
12674
|
var tmp$ret$3;
|
|
12541
12675
|
$l$block_2: {
|
|
12542
12676
|
// Inline function 'kotlinx.coroutines.internal.findSegmentAndMoveForward' call
|
|
@@ -12591,7 +12725,7 @@
|
|
|
12591
12725
|
var i = convertToInt(tmp$ret$4);
|
|
12592
12726
|
// Inline function 'kotlinx.coroutines.sync.SemaphoreSegment.getAndSet' call
|
|
12593
12727
|
var value = get_PERMIT();
|
|
12594
|
-
var cellState = segment.
|
|
12728
|
+
var cellState = segment.p2p_1.atomicfu$get(i).atomicfu$getAndSet(value);
|
|
12595
12729
|
if (cellState === null) {
|
|
12596
12730
|
// Inline function 'kotlin.repeat' call
|
|
12597
12731
|
var times = get_MAX_SPIN_CYCLES();
|
|
@@ -12601,14 +12735,14 @@
|
|
|
12601
12735
|
var index = inductionVariable;
|
|
12602
12736
|
inductionVariable = inductionVariable + 1 | 0;
|
|
12603
12737
|
// Inline function 'kotlinx.coroutines.sync.SemaphoreSegment.get' call
|
|
12604
|
-
if (segment.
|
|
12738
|
+
if (segment.p2p_1.atomicfu$get(i).kotlinx$atomicfu$value === get_TAKEN())
|
|
12605
12739
|
return true;
|
|
12606
12740
|
}
|
|
12607
12741
|
while (inductionVariable < times);
|
|
12608
12742
|
var tmp4 = get_PERMIT();
|
|
12609
12743
|
// Inline function 'kotlinx.coroutines.sync.SemaphoreSegment.cas' call
|
|
12610
12744
|
var value_0 = get_BROKEN();
|
|
12611
|
-
return !segment.
|
|
12745
|
+
return !segment.p2p_1.atomicfu$get(i).atomicfu$compareAndSet(tmp4, value_0);
|
|
12612
12746
|
} else if (cellState === get_CANCELLED())
|
|
12613
12747
|
return false;
|
|
12614
12748
|
else
|
|
@@ -12619,7 +12753,7 @@
|
|
|
12619
12753
|
if (isInterface(_this__u8e3s4, CancellableContinuation)) {
|
|
12620
12754
|
if (!isInterface(_this__u8e3s4, CancellableContinuation))
|
|
12621
12755
|
THROW_CCE();
|
|
12622
|
-
var token = _this__u8e3s4.k1p(Unit_instance, null, $this.
|
|
12756
|
+
var token = _this__u8e3s4.k1p(Unit_instance, null, $this.b2p_1);
|
|
12623
12757
|
var tmp_0;
|
|
12624
12758
|
if (!(token == null)) {
|
|
12625
12759
|
_this__u8e3s4.f1n(token);
|
|
@@ -12640,7 +12774,7 @@
|
|
|
12640
12774
|
}
|
|
12641
12775
|
function SemaphoreAndMutexImpl$onCancellationRelease$lambda(this$0) {
|
|
12642
12776
|
return function (_unused_var__etf5q3, _unused_var__etf5q3_0, _unused_var__etf5q3_1) {
|
|
12643
|
-
this$0.
|
|
12777
|
+
this$0.k2p();
|
|
12644
12778
|
return Unit_instance;
|
|
12645
12779
|
};
|
|
12646
12780
|
}
|
|
@@ -12659,41 +12793,41 @@
|
|
|
12659
12793
|
return l;
|
|
12660
12794
|
}
|
|
12661
12795
|
function SemaphoreAndMutexImpl(permits, acquiredPermits) {
|
|
12662
|
-
this.
|
|
12663
|
-
this.
|
|
12664
|
-
this.
|
|
12796
|
+
this.v2o_1 = permits;
|
|
12797
|
+
this.x2o_1 = atomic$long$1(new Long(0, 0));
|
|
12798
|
+
this.z2o_1 = atomic$long$1(new Long(0, 0));
|
|
12665
12799
|
// Inline function 'kotlin.require' call
|
|
12666
|
-
if (!(this.
|
|
12667
|
-
var message = 'Semaphore should have at least 1 permit, but had ' + this.
|
|
12800
|
+
if (!(this.v2o_1 > 0)) {
|
|
12801
|
+
var message = 'Semaphore should have at least 1 permit, but had ' + this.v2o_1;
|
|
12668
12802
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
12669
12803
|
}
|
|
12670
12804
|
// Inline function 'kotlin.require' call
|
|
12671
|
-
if (!(0 <= acquiredPermits ? acquiredPermits <= this.
|
|
12672
|
-
var message_0 = 'The number of acquired permits should be in 0..' + this.
|
|
12805
|
+
if (!(0 <= acquiredPermits ? acquiredPermits <= this.v2o_1 : false)) {
|
|
12806
|
+
var message_0 = 'The number of acquired permits should be in 0..' + this.v2o_1;
|
|
12673
12807
|
throw IllegalArgumentException_init_$Create$(toString(message_0));
|
|
12674
12808
|
}
|
|
12675
12809
|
var s = new SemaphoreSegment(new Long(0, 0), null, 2);
|
|
12676
|
-
this.
|
|
12677
|
-
this.
|
|
12678
|
-
this.
|
|
12810
|
+
this.w2o_1 = atomic$ref$1(s);
|
|
12811
|
+
this.y2o_1 = atomic$ref$1(s);
|
|
12812
|
+
this.a2p_1 = atomic$int$1(this.v2o_1 - acquiredPermits | 0);
|
|
12679
12813
|
var tmp = this;
|
|
12680
|
-
tmp.
|
|
12814
|
+
tmp.b2p_1 = SemaphoreAndMutexImpl$onCancellationRelease$lambda(this);
|
|
12681
12815
|
}
|
|
12682
|
-
protoOf(SemaphoreAndMutexImpl).
|
|
12816
|
+
protoOf(SemaphoreAndMutexImpl).h2p = function () {
|
|
12683
12817
|
// Inline function 'kotlin.math.max' call
|
|
12684
|
-
var a = this.
|
|
12818
|
+
var a = this.a2p_1.kotlinx$atomicfu$value;
|
|
12685
12819
|
return Math.max(a, 0);
|
|
12686
12820
|
};
|
|
12687
|
-
protoOf(SemaphoreAndMutexImpl).
|
|
12821
|
+
protoOf(SemaphoreAndMutexImpl).c2p = function () {
|
|
12688
12822
|
$l$loop: while (true) {
|
|
12689
|
-
var p = this.
|
|
12690
|
-
if (p > this.
|
|
12823
|
+
var p = this.a2p_1.kotlinx$atomicfu$value;
|
|
12824
|
+
if (p > this.v2o_1) {
|
|
12691
12825
|
coerceAvailablePermitsAtMaximum(this);
|
|
12692
12826
|
continue $l$loop;
|
|
12693
12827
|
}
|
|
12694
12828
|
if (p <= 0)
|
|
12695
12829
|
return false;
|
|
12696
|
-
if (this.
|
|
12830
|
+
if (this.a2p_1.atomicfu$compareAndSet(p, p - 1 | 0))
|
|
12697
12831
|
return true;
|
|
12698
12832
|
}
|
|
12699
12833
|
};
|
|
@@ -12704,7 +12838,7 @@
|
|
|
12704
12838
|
while (true) {
|
|
12705
12839
|
var p = decPermits(this);
|
|
12706
12840
|
if (p > 0) {
|
|
12707
|
-
waiter.n1p(Unit_instance, this.
|
|
12841
|
+
waiter.n1p(Unit_instance, this.b2p_1);
|
|
12708
12842
|
tmp$ret$1 = Unit_instance;
|
|
12709
12843
|
break $l$block_0;
|
|
12710
12844
|
}
|
|
@@ -12717,13 +12851,13 @@
|
|
|
12717
12851
|
}
|
|
12718
12852
|
return tmp$ret$1;
|
|
12719
12853
|
};
|
|
12720
|
-
protoOf(SemaphoreAndMutexImpl).
|
|
12854
|
+
protoOf(SemaphoreAndMutexImpl).k2p = function () {
|
|
12721
12855
|
while (true) {
|
|
12722
|
-
var p = this.
|
|
12723
|
-
if (p >= this.
|
|
12856
|
+
var p = this.a2p_1.atomicfu$getAndIncrement();
|
|
12857
|
+
if (p >= this.v2o_1) {
|
|
12724
12858
|
coerceAvailablePermitsAtMaximum(this);
|
|
12725
12859
|
// Inline function 'kotlin.error' call
|
|
12726
|
-
var message = 'The number of released permits cannot be greater than ' + this.
|
|
12860
|
+
var message = 'The number of released permits cannot be greater than ' + this.v2o_1;
|
|
12727
12861
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
12728
12862
|
}
|
|
12729
12863
|
if (p >= 0)
|
|
@@ -12734,7 +12868,7 @@
|
|
|
12734
12868
|
};
|
|
12735
12869
|
function SemaphoreSegment(id, prev, pointers) {
|
|
12736
12870
|
Segment.call(this, id, prev, pointers);
|
|
12737
|
-
this.
|
|
12871
|
+
this.p2p_1 = atomicfu$AtomicRefArray$ofNulls(get_SEGMENT_SIZE_0());
|
|
12738
12872
|
}
|
|
12739
12873
|
protoOf(SemaphoreSegment).s1w = function () {
|
|
12740
12874
|
return get_SEGMENT_SIZE_0();
|
|
@@ -12742,7 +12876,7 @@
|
|
|
12742
12876
|
protoOf(SemaphoreSegment).g1q = function (index, cause, context) {
|
|
12743
12877
|
// Inline function 'kotlinx.coroutines.sync.SemaphoreSegment.set' call
|
|
12744
12878
|
var value = get_CANCELLED();
|
|
12745
|
-
this.
|
|
12879
|
+
this.p2p_1.atomicfu$get(index).kotlinx$atomicfu$value = value;
|
|
12746
12880
|
this.p1x();
|
|
12747
12881
|
};
|
|
12748
12882
|
protoOf(SemaphoreSegment).toString = function () {
|
|
@@ -12822,8 +12956,8 @@
|
|
|
12822
12956
|
NodeDispatcher_instance = this;
|
|
12823
12957
|
SetTimeoutBasedDispatcher.call(this);
|
|
12824
12958
|
}
|
|
12825
|
-
protoOf(NodeDispatcher).
|
|
12826
|
-
process.nextTick(this.
|
|
12959
|
+
protoOf(NodeDispatcher).s2p = function () {
|
|
12960
|
+
process.nextTick(this.z2p_1.x2p_1);
|
|
12827
12961
|
};
|
|
12828
12962
|
var NodeDispatcher_instance;
|
|
12829
12963
|
function NodeDispatcher_getInstance() {
|
|
@@ -12833,24 +12967,24 @@
|
|
|
12833
12967
|
}
|
|
12834
12968
|
function ScheduledMessageQueue$processQueue$lambda(this$0) {
|
|
12835
12969
|
return function () {
|
|
12836
|
-
this$0.
|
|
12970
|
+
this$0.d2q();
|
|
12837
12971
|
return Unit_instance;
|
|
12838
12972
|
};
|
|
12839
12973
|
}
|
|
12840
12974
|
function ScheduledMessageQueue(dispatcher) {
|
|
12841
12975
|
MessageQueue.call(this);
|
|
12842
|
-
this.
|
|
12976
|
+
this.w2p_1 = dispatcher;
|
|
12843
12977
|
var tmp = this;
|
|
12844
|
-
tmp.
|
|
12978
|
+
tmp.x2p_1 = ScheduledMessageQueue$processQueue$lambda(this);
|
|
12845
12979
|
}
|
|
12846
|
-
protoOf(ScheduledMessageQueue).
|
|
12847
|
-
this.
|
|
12980
|
+
protoOf(ScheduledMessageQueue).e2q = function () {
|
|
12981
|
+
this.w2p_1.s2p();
|
|
12848
12982
|
};
|
|
12849
|
-
protoOf(ScheduledMessageQueue).
|
|
12850
|
-
setTimeout(this.
|
|
12983
|
+
protoOf(ScheduledMessageQueue).f2q = function () {
|
|
12984
|
+
setTimeout(this.x2p_1, 0);
|
|
12851
12985
|
};
|
|
12852
|
-
protoOf(ScheduledMessageQueue).
|
|
12853
|
-
setTimeout(this.
|
|
12986
|
+
protoOf(ScheduledMessageQueue).g2q = function (timeout) {
|
|
12987
|
+
setTimeout(this.x2p_1, timeout);
|
|
12854
12988
|
};
|
|
12855
12989
|
function w3cSetTimeout(handler, timeout) {
|
|
12856
12990
|
return setTimeout(handler, timeout);
|
|
@@ -12858,9 +12992,9 @@
|
|
|
12858
12992
|
function WindowMessageQueue$lambda(this$0) {
|
|
12859
12993
|
return function (event) {
|
|
12860
12994
|
var tmp;
|
|
12861
|
-
if (event.source == this$0.
|
|
12995
|
+
if (event.source == this$0.w2q_1 && event.data == this$0.x2q_1) {
|
|
12862
12996
|
event.stopPropagation();
|
|
12863
|
-
this$0.
|
|
12997
|
+
this$0.d2q();
|
|
12864
12998
|
tmp = Unit_instance;
|
|
12865
12999
|
}
|
|
12866
13000
|
return Unit_instance;
|
|
@@ -12868,22 +13002,22 @@
|
|
|
12868
13002
|
}
|
|
12869
13003
|
function WindowMessageQueue$schedule$lambda(this$0) {
|
|
12870
13004
|
return function (it) {
|
|
12871
|
-
this$0.
|
|
13005
|
+
this$0.d2q();
|
|
12872
13006
|
return Unit_instance;
|
|
12873
13007
|
};
|
|
12874
13008
|
}
|
|
12875
13009
|
function WindowMessageQueue(window_0) {
|
|
12876
13010
|
MessageQueue.call(this);
|
|
12877
|
-
this.
|
|
12878
|
-
this.
|
|
12879
|
-
this.
|
|
13011
|
+
this.w2q_1 = window_0;
|
|
13012
|
+
this.x2q_1 = 'dispatchCoroutine';
|
|
13013
|
+
this.w2q_1.addEventListener('message', WindowMessageQueue$lambda(this), true);
|
|
12880
13014
|
}
|
|
12881
|
-
protoOf(WindowMessageQueue).
|
|
13015
|
+
protoOf(WindowMessageQueue).e2q = function () {
|
|
12882
13016
|
var tmp = Promise.resolve(Unit_instance);
|
|
12883
13017
|
tmp.then(WindowMessageQueue$schedule$lambda(this));
|
|
12884
13018
|
};
|
|
12885
|
-
protoOf(WindowMessageQueue).
|
|
12886
|
-
this.
|
|
13019
|
+
protoOf(WindowMessageQueue).f2q = function () {
|
|
13020
|
+
this.w2q_1.postMessage(this.x2q_1, '*');
|
|
12887
13021
|
};
|
|
12888
13022
|
function w3cSetTimeout_0(window_0, handler, timeout) {
|
|
12889
13023
|
return setTimeout_0(window_0, handler, timeout);
|
|
@@ -12931,8 +13065,8 @@
|
|
|
12931
13065
|
SetTimeoutDispatcher_instance = this;
|
|
12932
13066
|
SetTimeoutBasedDispatcher.call(this);
|
|
12933
13067
|
}
|
|
12934
|
-
protoOf(SetTimeoutDispatcher).
|
|
12935
|
-
this.
|
|
13068
|
+
protoOf(SetTimeoutDispatcher).s2p = function () {
|
|
13069
|
+
this.z2p_1.g2q(0);
|
|
12936
13070
|
};
|
|
12937
13071
|
var SetTimeoutDispatcher_instance;
|
|
12938
13072
|
function SetTimeoutDispatcher_getInstance() {
|
|
@@ -12949,31 +13083,31 @@
|
|
|
12949
13083
|
}
|
|
12950
13084
|
function SetTimeoutBasedDispatcher() {
|
|
12951
13085
|
CoroutineDispatcher.call(this);
|
|
12952
|
-
this.
|
|
13086
|
+
this.z2p_1 = new ScheduledMessageQueue(this);
|
|
12953
13087
|
}
|
|
12954
13088
|
protoOf(SetTimeoutBasedDispatcher).k1s = function (context, block) {
|
|
12955
|
-
this.
|
|
13089
|
+
this.z2p_1.h2q(block);
|
|
12956
13090
|
};
|
|
12957
13091
|
protoOf(SetTimeoutBasedDispatcher).r1s = function (timeMillis, continuation) {
|
|
12958
13092
|
var handle = w3cSetTimeout(SetTimeoutBasedDispatcher$scheduleResumeAfterDelay$lambda(continuation, this), delayToInt(timeMillis));
|
|
12959
13093
|
invokeOnCancellation(continuation, new ClearTimeout(handle));
|
|
12960
13094
|
};
|
|
12961
13095
|
function MessageQueue() {
|
|
12962
|
-
this.
|
|
12963
|
-
this.
|
|
12964
|
-
this.
|
|
13096
|
+
this.a2q_1 = ArrayDeque_init_$Create$();
|
|
13097
|
+
this.b2q_1 = 16;
|
|
13098
|
+
this.c2q_1 = false;
|
|
12965
13099
|
}
|
|
12966
|
-
protoOf(MessageQueue).
|
|
12967
|
-
this.
|
|
12968
|
-
if (!this.
|
|
12969
|
-
this.
|
|
12970
|
-
this.
|
|
13100
|
+
protoOf(MessageQueue).h2q = function (element) {
|
|
13101
|
+
this.i2q(element);
|
|
13102
|
+
if (!this.c2q_1) {
|
|
13103
|
+
this.c2q_1 = true;
|
|
13104
|
+
this.e2q();
|
|
12971
13105
|
}
|
|
12972
13106
|
};
|
|
12973
|
-
protoOf(MessageQueue).
|
|
13107
|
+
protoOf(MessageQueue).d2q = function () {
|
|
12974
13108
|
try {
|
|
12975
13109
|
// Inline function 'kotlin.repeat' call
|
|
12976
|
-
var times = this.
|
|
13110
|
+
var times = this.b2q_1;
|
|
12977
13111
|
var inductionVariable = 0;
|
|
12978
13112
|
if (inductionVariable < times)
|
|
12979
13113
|
do {
|
|
@@ -12992,122 +13126,122 @@
|
|
|
12992
13126
|
while (inductionVariable < times);
|
|
12993
13127
|
}finally {
|
|
12994
13128
|
if (this.q()) {
|
|
12995
|
-
this.
|
|
13129
|
+
this.c2q_1 = false;
|
|
12996
13130
|
} else {
|
|
12997
|
-
this.
|
|
13131
|
+
this.f2q();
|
|
12998
13132
|
}
|
|
12999
13133
|
}
|
|
13000
13134
|
};
|
|
13001
|
-
protoOf(MessageQueue).
|
|
13002
|
-
return this.
|
|
13135
|
+
protoOf(MessageQueue).i2q = function (element) {
|
|
13136
|
+
return this.a2q_1.j(element);
|
|
13003
13137
|
};
|
|
13004
13138
|
protoOf(MessageQueue).j = function (element) {
|
|
13005
|
-
return this.
|
|
13139
|
+
return this.i2q((!(element == null) ? isInterface(element, Runnable) : false) ? element : THROW_CCE());
|
|
13006
13140
|
};
|
|
13007
|
-
protoOf(MessageQueue).
|
|
13008
|
-
this.
|
|
13141
|
+
protoOf(MessageQueue).j2q = function (index, element) {
|
|
13142
|
+
this.a2q_1.j2(index, element);
|
|
13009
13143
|
};
|
|
13010
13144
|
protoOf(MessageQueue).j2 = function (index, element) {
|
|
13011
|
-
return this.
|
|
13145
|
+
return this.j2q(index, (!(element == null) ? isInterface(element, Runnable) : false) ? element : THROW_CCE());
|
|
13012
13146
|
};
|
|
13013
|
-
protoOf(MessageQueue).
|
|
13014
|
-
return this.
|
|
13147
|
+
protoOf(MessageQueue).k2q = function (element) {
|
|
13148
|
+
return this.a2q_1.e2(element);
|
|
13015
13149
|
};
|
|
13016
13150
|
protoOf(MessageQueue).e2 = function (element) {
|
|
13017
13151
|
if (!(!(element == null) ? isInterface(element, Runnable) : false))
|
|
13018
13152
|
return false;
|
|
13019
|
-
return this.
|
|
13153
|
+
return this.k2q((!(element == null) ? isInterface(element, Runnable) : false) ? element : THROW_CCE());
|
|
13020
13154
|
};
|
|
13021
|
-
protoOf(MessageQueue).
|
|
13022
|
-
return this.
|
|
13155
|
+
protoOf(MessageQueue).l2q = function (elements) {
|
|
13156
|
+
return this.a2q_1.r(elements);
|
|
13023
13157
|
};
|
|
13024
13158
|
protoOf(MessageQueue).r = function (elements) {
|
|
13025
|
-
return this.
|
|
13159
|
+
return this.l2q(elements);
|
|
13026
13160
|
};
|
|
13027
|
-
protoOf(MessageQueue).
|
|
13028
|
-
return this.
|
|
13161
|
+
protoOf(MessageQueue).m2q = function (index, elements) {
|
|
13162
|
+
return this.a2q_1.f2(index, elements);
|
|
13029
13163
|
};
|
|
13030
13164
|
protoOf(MessageQueue).f2 = function (index, elements) {
|
|
13031
|
-
return this.
|
|
13165
|
+
return this.m2q(index, elements);
|
|
13032
13166
|
};
|
|
13033
|
-
protoOf(MessageQueue).
|
|
13034
|
-
return this.
|
|
13167
|
+
protoOf(MessageQueue).n2q = function (elements) {
|
|
13168
|
+
return this.a2q_1.g2(elements);
|
|
13035
13169
|
};
|
|
13036
13170
|
protoOf(MessageQueue).g2 = function (elements) {
|
|
13037
|
-
return this.
|
|
13171
|
+
return this.n2q(elements);
|
|
13038
13172
|
};
|
|
13039
13173
|
protoOf(MessageQueue).h2 = function () {
|
|
13040
|
-
this.
|
|
13174
|
+
this.a2q_1.h2();
|
|
13041
13175
|
};
|
|
13042
|
-
protoOf(MessageQueue).
|
|
13043
|
-
return this.
|
|
13176
|
+
protoOf(MessageQueue).o2q = function (index, element) {
|
|
13177
|
+
return this.a2q_1.i2(index, element);
|
|
13044
13178
|
};
|
|
13045
13179
|
protoOf(MessageQueue).i2 = function (index, element) {
|
|
13046
|
-
return this.
|
|
13180
|
+
return this.o2q(index, (!(element == null) ? isInterface(element, Runnable) : false) ? element : THROW_CCE());
|
|
13047
13181
|
};
|
|
13048
13182
|
protoOf(MessageQueue).k2 = function (index) {
|
|
13049
|
-
return this.
|
|
13183
|
+
return this.a2q_1.k2(index);
|
|
13050
13184
|
};
|
|
13051
13185
|
protoOf(MessageQueue).x1 = function () {
|
|
13052
|
-
return this.
|
|
13186
|
+
return this.a2q_1.x1();
|
|
13053
13187
|
};
|
|
13054
13188
|
protoOf(MessageQueue).s = function (index) {
|
|
13055
|
-
return this.
|
|
13189
|
+
return this.a2q_1.s(index);
|
|
13056
13190
|
};
|
|
13057
13191
|
protoOf(MessageQueue).y1 = function (fromIndex, toIndex) {
|
|
13058
|
-
return this.
|
|
13192
|
+
return this.a2q_1.y1(fromIndex, toIndex);
|
|
13059
13193
|
};
|
|
13060
13194
|
protoOf(MessageQueue).q = function () {
|
|
13061
|
-
return this.
|
|
13195
|
+
return this.a2q_1.q();
|
|
13062
13196
|
};
|
|
13063
|
-
protoOf(MessageQueue).
|
|
13064
|
-
return this.
|
|
13197
|
+
protoOf(MessageQueue).p2q = function (element) {
|
|
13198
|
+
return this.a2q_1.t1(element);
|
|
13065
13199
|
};
|
|
13066
13200
|
protoOf(MessageQueue).t1 = function (element) {
|
|
13067
13201
|
if (!(!(element == null) ? isInterface(element, Runnable) : false))
|
|
13068
13202
|
return false;
|
|
13069
|
-
return this.
|
|
13203
|
+
return this.p2q((!(element == null) ? isInterface(element, Runnable) : false) ? element : THROW_CCE());
|
|
13070
13204
|
};
|
|
13071
13205
|
protoOf(MessageQueue).l = function () {
|
|
13072
|
-
return this.
|
|
13206
|
+
return this.a2q_1.l();
|
|
13073
13207
|
};
|
|
13074
|
-
protoOf(MessageQueue).
|
|
13075
|
-
return this.
|
|
13208
|
+
protoOf(MessageQueue).q2q = function (elements) {
|
|
13209
|
+
return this.a2q_1.u1(elements);
|
|
13076
13210
|
};
|
|
13077
13211
|
protoOf(MessageQueue).u1 = function (elements) {
|
|
13078
|
-
return this.
|
|
13212
|
+
return this.q2q(elements);
|
|
13079
13213
|
};
|
|
13080
13214
|
protoOf(MessageQueue).p = function (index) {
|
|
13081
|
-
return this.
|
|
13215
|
+
return this.a2q_1.p(index);
|
|
13082
13216
|
};
|
|
13083
|
-
protoOf(MessageQueue).
|
|
13084
|
-
return this.
|
|
13217
|
+
protoOf(MessageQueue).r2q = function (element) {
|
|
13218
|
+
return this.a2q_1.v1(element);
|
|
13085
13219
|
};
|
|
13086
13220
|
protoOf(MessageQueue).v1 = function (element) {
|
|
13087
13221
|
if (!(!(element == null) ? isInterface(element, Runnable) : false))
|
|
13088
13222
|
return -1;
|
|
13089
|
-
return this.
|
|
13223
|
+
return this.r2q((!(element == null) ? isInterface(element, Runnable) : false) ? element : THROW_CCE());
|
|
13090
13224
|
};
|
|
13091
|
-
protoOf(MessageQueue).
|
|
13092
|
-
return this.
|
|
13225
|
+
protoOf(MessageQueue).s2q = function (element) {
|
|
13226
|
+
return this.a2q_1.w1(element);
|
|
13093
13227
|
};
|
|
13094
13228
|
protoOf(MessageQueue).w1 = function (element) {
|
|
13095
13229
|
if (!(!(element == null) ? isInterface(element, Runnable) : false))
|
|
13096
13230
|
return -1;
|
|
13097
|
-
return this.
|
|
13231
|
+
return this.s2q((!(element == null) ? isInterface(element, Runnable) : false) ? element : THROW_CCE());
|
|
13098
13232
|
};
|
|
13099
13233
|
protoOf(MessageQueue).asJsReadonlyArrayView = function () {
|
|
13100
|
-
return this.
|
|
13234
|
+
return this.a2q_1.asJsReadonlyArrayView();
|
|
13101
13235
|
};
|
|
13102
13236
|
protoOf(MessageQueue).o = function () {
|
|
13103
|
-
return this.
|
|
13237
|
+
return this.a2q_1.jd_1;
|
|
13104
13238
|
};
|
|
13105
13239
|
function WindowClearTimeout($outer, handle) {
|
|
13106
|
-
this.
|
|
13240
|
+
this.f2r_1 = $outer;
|
|
13107
13241
|
ClearTimeout.call(this, handle);
|
|
13108
13242
|
}
|
|
13109
13243
|
protoOf(WindowClearTimeout).w1m = function () {
|
|
13110
|
-
w3cClearTimeout(this.
|
|
13244
|
+
w3cClearTimeout(this.f2r_1.h2r_1, this.j2r_1);
|
|
13111
13245
|
};
|
|
13112
13246
|
function WindowDispatcher$scheduleResumeAfterDelay$lambda($continuation, this$0) {
|
|
13113
13247
|
return function () {
|
|
@@ -13118,30 +13252,30 @@
|
|
|
13118
13252
|
}
|
|
13119
13253
|
function WindowDispatcher(window_0) {
|
|
13120
13254
|
CoroutineDispatcher.call(this);
|
|
13121
|
-
this.
|
|
13122
|
-
this.
|
|
13255
|
+
this.h2r_1 = window_0;
|
|
13256
|
+
this.i2r_1 = new WindowMessageQueue(this.h2r_1);
|
|
13123
13257
|
}
|
|
13124
13258
|
protoOf(WindowDispatcher).k1s = function (context, block) {
|
|
13125
|
-
return this.
|
|
13259
|
+
return this.i2r_1.h2q(block);
|
|
13126
13260
|
};
|
|
13127
13261
|
protoOf(WindowDispatcher).r1s = function (timeMillis, continuation) {
|
|
13128
|
-
var handle = w3cSetTimeout_0(this.
|
|
13262
|
+
var handle = w3cSetTimeout_0(this.h2r_1, WindowDispatcher$scheduleResumeAfterDelay$lambda(continuation, this), delayToInt(timeMillis));
|
|
13129
13263
|
invokeOnCancellation(continuation, new WindowClearTimeout(this, handle));
|
|
13130
13264
|
};
|
|
13131
13265
|
function delayToInt(timeMillis) {
|
|
13132
13266
|
return convertToInt(coerceIn(timeMillis, new Long(0, 0), new Long(2147483647, 0)));
|
|
13133
13267
|
}
|
|
13134
13268
|
function ClearTimeout(handle) {
|
|
13135
|
-
this.
|
|
13269
|
+
this.j2r_1 = handle;
|
|
13136
13270
|
}
|
|
13137
13271
|
protoOf(ClearTimeout).w1m = function () {
|
|
13138
|
-
w3cClearTimeout_0(this.
|
|
13272
|
+
w3cClearTimeout_0(this.j2r_1);
|
|
13139
13273
|
};
|
|
13140
13274
|
protoOf(ClearTimeout).x1m = function (cause) {
|
|
13141
13275
|
this.w1m();
|
|
13142
13276
|
};
|
|
13143
13277
|
protoOf(ClearTimeout).toString = function () {
|
|
13144
|
-
return 'ClearTimeout[' + this.
|
|
13278
|
+
return 'ClearTimeout[' + this.j2r_1 + ']';
|
|
13145
13279
|
};
|
|
13146
13280
|
function newCoroutineContext(_this__u8e3s4, addedContext) {
|
|
13147
13281
|
return _this__u8e3s4.cg(addedContext);
|
|
@@ -13185,25 +13319,25 @@
|
|
|
13185
13319
|
}
|
|
13186
13320
|
function JsMainDispatcher(delegate, invokeImmediately) {
|
|
13187
13321
|
MainCoroutineDispatcher.call(this);
|
|
13188
|
-
this.
|
|
13189
|
-
this.
|
|
13190
|
-
this.
|
|
13322
|
+
this.p2r_1 = delegate;
|
|
13323
|
+
this.q2r_1 = invokeImmediately;
|
|
13324
|
+
this.r2r_1 = this.q2r_1 ? this : new JsMainDispatcher(this.p2r_1, true);
|
|
13191
13325
|
}
|
|
13192
13326
|
protoOf(JsMainDispatcher).v1v = function () {
|
|
13193
|
-
return this.
|
|
13327
|
+
return this.r2r_1;
|
|
13194
13328
|
};
|
|
13195
13329
|
protoOf(JsMainDispatcher).j1s = function (context) {
|
|
13196
|
-
return !this.
|
|
13330
|
+
return !this.q2r_1;
|
|
13197
13331
|
};
|
|
13198
13332
|
protoOf(JsMainDispatcher).k1s = function (context, block) {
|
|
13199
|
-
return this.
|
|
13333
|
+
return this.p2r_1.k1s(context, block);
|
|
13200
13334
|
};
|
|
13201
13335
|
protoOf(JsMainDispatcher).l1s = function (context, block) {
|
|
13202
|
-
return this.
|
|
13336
|
+
return this.p2r_1.l1s(context, block);
|
|
13203
13337
|
};
|
|
13204
13338
|
protoOf(JsMainDispatcher).toString = function () {
|
|
13205
13339
|
var tmp0_elvis_lhs = this.w1v();
|
|
13206
|
-
return tmp0_elvis_lhs == null ? this.
|
|
13340
|
+
return tmp0_elvis_lhs == null ? this.p2r_1.toString() : tmp0_elvis_lhs;
|
|
13207
13341
|
};
|
|
13208
13342
|
function CancellationException_0(message, cause) {
|
|
13209
13343
|
return CancellationException_init_$Create$_0(message, cause);
|
|
@@ -13211,10 +13345,10 @@
|
|
|
13211
13345
|
function JobCancellationException(message, cause, job) {
|
|
13212
13346
|
CancellationException_init_$Init$(message, cause, this);
|
|
13213
13347
|
captureStack(this, JobCancellationException);
|
|
13214
|
-
this.
|
|
13348
|
+
this.s2r_1 = job;
|
|
13215
13349
|
}
|
|
13216
13350
|
protoOf(JobCancellationException).toString = function () {
|
|
13217
|
-
return protoOf(CancellationException).toString.call(this) + '; job=' + toString(this.
|
|
13351
|
+
return protoOf(CancellationException).toString.call(this) + '; job=' + toString(this.s2r_1);
|
|
13218
13352
|
};
|
|
13219
13353
|
protoOf(JobCancellationException).equals = function (other) {
|
|
13220
13354
|
var tmp;
|
|
@@ -13230,7 +13364,7 @@
|
|
|
13230
13364
|
tmp_2 = false;
|
|
13231
13365
|
}
|
|
13232
13366
|
if (tmp_2) {
|
|
13233
|
-
tmp_1 = equals(other.
|
|
13367
|
+
tmp_1 = equals(other.s2r_1, this.s2r_1);
|
|
13234
13368
|
} else {
|
|
13235
13369
|
tmp_1 = false;
|
|
13236
13370
|
}
|
|
@@ -13244,7 +13378,7 @@
|
|
|
13244
13378
|
return tmp;
|
|
13245
13379
|
};
|
|
13246
13380
|
protoOf(JobCancellationException).hashCode = function () {
|
|
13247
|
-
var tmp = imul(imul(getStringHashCode(ensureNotNull(this.message)), 31) + hashCode(this.
|
|
13381
|
+
var tmp = imul(imul(getStringHashCode(ensureNotNull(this.message)), 31) + hashCode(this.s2r_1) | 0, 31);
|
|
13248
13382
|
var tmp0_safe_receiver = this.cause;
|
|
13249
13383
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : hashCode(tmp0_safe_receiver);
|
|
13250
13384
|
return tmp + (tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs) | 0;
|
|
@@ -13318,7 +13452,7 @@
|
|
|
13318
13452
|
var prev = this.n1n_1;
|
|
13319
13453
|
var tmp;
|
|
13320
13454
|
if (prev instanceof ListClosed) {
|
|
13321
|
-
tmp = ((prev.
|
|
13455
|
+
tmp = ((prev.w2r_1 & permissionsBitmask) === 0 && prev.p1n(node, permissionsBitmask));
|
|
13322
13456
|
} else {
|
|
13323
13457
|
node.m1n_1 = this;
|
|
13324
13458
|
node.n1n_1 = prev;
|
|
@@ -13352,7 +13486,7 @@
|
|
|
13352
13486
|
}
|
|
13353
13487
|
function ListClosed(forbiddenElementsBitmask) {
|
|
13354
13488
|
LockFreeLinkedListNode.call(this);
|
|
13355
|
-
this.
|
|
13489
|
+
this.w2r_1 = forbiddenElementsBitmask;
|
|
13356
13490
|
}
|
|
13357
13491
|
function LocalAtomicInt(value) {
|
|
13358
13492
|
this.i2c_1 = value;
|
|
@@ -13450,36 +13584,37 @@
|
|
|
13450
13584
|
_.$_$.w = asFlow;
|
|
13451
13585
|
_.$_$.x = catch_0;
|
|
13452
13586
|
_.$_$.y = channelFlow;
|
|
13453
|
-
_.$_$.z =
|
|
13454
|
-
_.$_$.a1 =
|
|
13455
|
-
_.$_$.b1 =
|
|
13456
|
-
_.$_$.c1 =
|
|
13457
|
-
_.$_$.d1 =
|
|
13458
|
-
_.$_$.e1 =
|
|
13459
|
-
_.$_$.f1 =
|
|
13460
|
-
_.$_$.g1 =
|
|
13461
|
-
_.$_$.h1 =
|
|
13462
|
-
_.$_$.i1 =
|
|
13463
|
-
_.$_$.j1 =
|
|
13464
|
-
_.$_$.k1 =
|
|
13465
|
-
_.$_$.l1 =
|
|
13466
|
-
_.$_$.m1 =
|
|
13467
|
-
_.$_$.n1 =
|
|
13468
|
-
_.$_$.o1 =
|
|
13469
|
-
_.$_$.p1 =
|
|
13470
|
-
_.$_$.q1 =
|
|
13471
|
-
_.$_$.r1 =
|
|
13472
|
-
_.$_$.s1 =
|
|
13473
|
-
_.$_$.t1 =
|
|
13474
|
-
_.$_$.u1 =
|
|
13475
|
-
_.$_$.v1 =
|
|
13476
|
-
_.$_$.w1 =
|
|
13477
|
-
_.$_$.x1 =
|
|
13478
|
-
_.$_$.y1 =
|
|
13479
|
-
_.$_$.z1 =
|
|
13480
|
-
_.$_$.a2 =
|
|
13481
|
-
_.$_$.b2 =
|
|
13482
|
-
_.$_$.c2 =
|
|
13587
|
+
_.$_$.z = combine_0;
|
|
13588
|
+
_.$_$.a1 = combine;
|
|
13589
|
+
_.$_$.b1 = distinctUntilChanged;
|
|
13590
|
+
_.$_$.c1 = distinctUntilChanged_0;
|
|
13591
|
+
_.$_$.d1 = emptyFlow;
|
|
13592
|
+
_.$_$.e1 = flatMapConcat;
|
|
13593
|
+
_.$_$.f1 = flowOf;
|
|
13594
|
+
_.$_$.g1 = flowOn;
|
|
13595
|
+
_.$_$.h1 = flow;
|
|
13596
|
+
_.$_$.i1 = take;
|
|
13597
|
+
_.$_$.j1 = transformLatest;
|
|
13598
|
+
_.$_$.k1 = recoverStackTrace;
|
|
13599
|
+
_.$_$.l1 = Mutex;
|
|
13600
|
+
_.$_$.m1 = CancellableContinuationImpl;
|
|
13601
|
+
_.$_$.n1 = CompletableDeferred;
|
|
13602
|
+
_.$_$.o1 = CompletableJob;
|
|
13603
|
+
_.$_$.p1 = CoroutineName;
|
|
13604
|
+
_.$_$.q1 = CoroutineScope_0;
|
|
13605
|
+
_.$_$.r1 = CoroutineScope;
|
|
13606
|
+
_.$_$.s1 = Job_0;
|
|
13607
|
+
_.$_$.t1 = Job;
|
|
13608
|
+
_.$_$.u1 = SupervisorJob;
|
|
13609
|
+
_.$_$.v1 = async;
|
|
13610
|
+
_.$_$.w1 = cancel;
|
|
13611
|
+
_.$_$.x1 = cancel_2;
|
|
13612
|
+
_.$_$.y1 = cancel_0;
|
|
13613
|
+
_.$_$.z1 = cancel_1;
|
|
13614
|
+
_.$_$.a2 = ensureActive;
|
|
13615
|
+
_.$_$.b2 = get_isActive;
|
|
13616
|
+
_.$_$.c2 = get_job;
|
|
13617
|
+
_.$_$.d2 = launch;
|
|
13483
13618
|
//endregion
|
|
13484
13619
|
return _;
|
|
13485
13620
|
}));
|