client_plugin_logic_deb 1.8.401 → 1.8.403
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 +1 -1
- package/Logic_Debertz-client_plugin.js +5 -5
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +10176 -10128
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.js +461 -461
- package/Logic_Debertz-game_client.js.map +1 -1
- package/Logic_Debertz-game_server.js +102 -110
- package/Logic_Debertz-game_server.js.map +1 -1
- package/kotlinx-coroutines-core.js +1 -1
- package/package.json +1 -1
|
@@ -1049,7 +1049,7 @@
|
|
|
1049
1049
|
initMetadataForClass(ObserverStrategy, 'ObserverStrategy', VOID, Enum);
|
|
1050
1050
|
initMetadataForInterface(TradeScene, 'TradeScene', VOID, VOID, [SceneActionsContract, ExpectantContract, TradeSceneContract]);
|
|
1051
1051
|
initMetadataForInterface(EarnPointsScene, 'EarnPointsScene', VOID, VOID, [SceneActionsContract, ExpectantContract, EarnPointsSceneContract]);
|
|
1052
|
-
initMetadataForInterface(TableScene, 'TableScene', VOID, VOID, [
|
|
1052
|
+
initMetadataForInterface(TableScene, 'TableScene', VOID, VOID, [ControlsContract, ExpectantContract, SceneActionsContract]);
|
|
1053
1053
|
initMetadataForClass(EarnPointsSceneImpl, 'EarnPointsSceneImpl', VOID, VOID, [EarnPointsSceneContract, ExpectantContract, SceneActionsContract, PlayersSceneContract, EarnPointsScene, GameEngineSceneContract]);
|
|
1054
1054
|
initMetadataForLambda(TableSceneImpl$observeControls$o$collect$slambda, CoroutineImpl, VOID, [1]);
|
|
1055
1055
|
initMetadataForCoroutine($collectCOROUTINE$_41, CoroutineImpl);
|
|
@@ -1511,7 +1511,7 @@
|
|
|
1511
1511
|
case 1:
|
|
1512
1512
|
var $this$transform = this.xa6_1;
|
|
1513
1513
|
var value = this.wa6_1;
|
|
1514
|
-
if (value.
|
|
1514
|
+
if (value.d72()) {
|
|
1515
1515
|
this.s8_1 = 3;
|
|
1516
1516
|
suspendResult = $this$transform.i24(value, this);
|
|
1517
1517
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1625,7 +1625,7 @@
|
|
|
1625
1625
|
var tmp0 = this.ra7_1;
|
|
1626
1626
|
var value = this.sa7_1;
|
|
1627
1627
|
this.s8_1 = 1;
|
|
1628
|
-
suspendResult = tmp0.i24(value.
|
|
1628
|
+
suspendResult = tmp0.i24(value.c72(), this);
|
|
1629
1629
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1630
1630
|
return suspendResult;
|
|
1631
1631
|
}
|
|
@@ -1728,7 +1728,7 @@
|
|
|
1728
1728
|
case 1:
|
|
1729
1729
|
var $this$transform = this.pa8_1;
|
|
1730
1730
|
var value = this.oa8_1;
|
|
1731
|
-
if (value.
|
|
1731
|
+
if (value.d72()) {
|
|
1732
1732
|
this.s8_1 = 3;
|
|
1733
1733
|
suspendResult = $this$transform.i24(value, this);
|
|
1734
1734
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -2308,7 +2308,7 @@
|
|
|
2308
2308
|
case 1:
|
|
2309
2309
|
var $this$transform = this.nac_1;
|
|
2310
2310
|
var value = this.mac_1;
|
|
2311
|
-
if (value.
|
|
2311
|
+
if (value.d72()) {
|
|
2312
2312
|
this.s8_1 = 3;
|
|
2313
2313
|
suspendResult = $this$transform.i24(value, this);
|
|
2314
2314
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -2422,7 +2422,7 @@
|
|
|
2422
2422
|
var tmp0 = this.had_1;
|
|
2423
2423
|
var value = this.iad_1;
|
|
2424
2424
|
this.s8_1 = 1;
|
|
2425
|
-
suspendResult = tmp0.i24(value.
|
|
2425
|
+
suspendResult = tmp0.i24(value.c72(), this);
|
|
2426
2426
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
2427
2427
|
return suspendResult;
|
|
2428
2428
|
}
|
|
@@ -2525,7 +2525,7 @@
|
|
|
2525
2525
|
case 1:
|
|
2526
2526
|
var $this$transform = this.fae_1;
|
|
2527
2527
|
var value = this.eae_1;
|
|
2528
|
-
if (value.
|
|
2528
|
+
if (value.d72()) {
|
|
2529
2529
|
this.s8_1 = 3;
|
|
2530
2530
|
suspendResult = $this$transform.i24(value, this);
|
|
2531
2531
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -2865,8 +2865,8 @@
|
|
|
2865
2865
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
2866
2866
|
return new GameClientImpl$observeStateIfTableExists$$inlined$filter$1(this_0);
|
|
2867
2867
|
};
|
|
2868
|
-
protoOf(GameClientImpl).
|
|
2869
|
-
this.yae_1.
|
|
2868
|
+
protoOf(GameClientImpl).a72 = function (block) {
|
|
2869
|
+
this.yae_1.a72(block);
|
|
2870
2870
|
};
|
|
2871
2871
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
2872
2872
|
return $this.caf_1.x();
|
|
@@ -3418,7 +3418,7 @@
|
|
|
3418
3418
|
var tmp;
|
|
3419
3419
|
if (_this__u8e3s4 instanceof PlayerLostConnectionReason) {
|
|
3420
3420
|
// Inline function 'kotlin.takeUnless' call
|
|
3421
|
-
var this_0 = getPlayer(table.players, _this__u8e3s4.g6e_1).
|
|
3421
|
+
var this_0 = getPlayer(table.players, _this__u8e3s4.g6e_1).j75_1;
|
|
3422
3422
|
var tmp_0;
|
|
3423
3423
|
if (!(_this__u8e3s4.g6e_1 === get_currentPlayer(table).playerId)) {
|
|
3424
3424
|
tmp_0 = this_0;
|
|
@@ -3430,7 +3430,7 @@
|
|
|
3430
3430
|
} else {
|
|
3431
3431
|
if (_this__u8e3s4 instanceof PlayerTimeoutReason) {
|
|
3432
3432
|
// Inline function 'kotlin.takeUnless' call
|
|
3433
|
-
var this_1 = getPlayer(table.players, _this__u8e3s4.j6e_1).
|
|
3433
|
+
var this_1 = getPlayer(table.players, _this__u8e3s4.j6e_1).j75_1;
|
|
3434
3434
|
var tmp_1;
|
|
3435
3435
|
if (!(_this__u8e3s4.j6e_1 === get_currentPlayer(table).playerId)) {
|
|
3436
3436
|
tmp_1 = this_1;
|
|
@@ -3445,7 +3445,7 @@
|
|
|
3445
3445
|
if (_this__u8e3s4.k6e_1 === get_currentPlayer(table).playerId) {
|
|
3446
3446
|
tmp_2 = null;
|
|
3447
3447
|
} else {
|
|
3448
|
-
tmp_2 = new ErrorState(VOID, getPlayer(table.players, _this__u8e3s4.k6e_1).
|
|
3448
|
+
tmp_2 = new ErrorState(VOID, getPlayer(table.players, _this__u8e3s4.k6e_1).j75_1, _this__u8e3s4);
|
|
3449
3449
|
}
|
|
3450
3450
|
tmp = tmp_2;
|
|
3451
3451
|
} else {
|
|
@@ -3570,41 +3570,41 @@
|
|
|
3570
3570
|
return true;
|
|
3571
3571
|
};
|
|
3572
3572
|
function toVM(_this__u8e3s4, players, gameWinner) {
|
|
3573
|
-
var player = getPlayer(players, first(_this__u8e3s4.
|
|
3573
|
+
var player = getPlayer(players, first(_this__u8e3s4.n7g_1).q7g_1);
|
|
3574
3574
|
// Inline function 'kotlin.collections.map' call
|
|
3575
|
-
var this_0 = _this__u8e3s4.
|
|
3575
|
+
var this_0 = _this__u8e3s4.n7g_1;
|
|
3576
3576
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3577
3577
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
3578
3578
|
var _iterator__ex2g4s = this_0.l();
|
|
3579
3579
|
while (_iterator__ex2g4s.m()) {
|
|
3580
3580
|
var item = _iterator__ex2g4s.n();
|
|
3581
|
-
var tmp = getPlayer(players, item.
|
|
3582
|
-
var tmp_0 = new ValuePointClause(item.
|
|
3581
|
+
var tmp = getPlayer(players, item.q7g_1).j75_1;
|
|
3582
|
+
var tmp_0 = new ValuePointClause(item.s7g_1);
|
|
3583
3583
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3584
|
-
var tmp0_elvis_lhs = item.
|
|
3584
|
+
var tmp0_elvis_lhs = item.w7g_1;
|
|
3585
3585
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
3586
3586
|
var tmp_1 = tmp_0.rag(mapToClause(filterByCombinationState(filterCombinationsAndLastBribe(tmp$ret$0), [CombinationState_ACCEPTED_getInstance(), CombinationState_CANCELED_getInstance()])));
|
|
3587
3587
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3588
|
-
var tmp0_elvis_lhs_0 = item.
|
|
3588
|
+
var tmp0_elvis_lhs_0 = item.w7g_1;
|
|
3589
3589
|
var tmp$ret$1 = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
|
|
3590
3590
|
var tmp_2 = mapToClause(filterByCombinationState(filterBonusOrFine(tmp$ret$1), [CombinationState_ACCEPTED_getInstance()]));
|
|
3591
3591
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3592
|
-
var tmp0_elvis_lhs_1 = item.
|
|
3592
|
+
var tmp0_elvis_lhs_1 = item.w7g_1;
|
|
3593
3593
|
var tmp$ret$2 = tmp0_elvis_lhs_1 == null ? emptyList() : tmp0_elvis_lhs_1;
|
|
3594
3594
|
var tmp$ret$3 = new PlayerPointsViewModel(tmp, tmp_1, tmp_2, mapToClause(filterByCombinationState(filterWithFirstCardOrBela(tmp$ret$2), [CombinationState_REJECTED_getInstance()])));
|
|
3595
3595
|
destination.j(tmp$ret$3);
|
|
3596
3596
|
}
|
|
3597
|
-
var tmp1_beforeEarnedPoints = _this__u8e3s4.
|
|
3598
|
-
var tmp2_finalRoundPoints = _this__u8e3s4.
|
|
3599
|
-
var tmp3_finalGamePoints = _this__u8e3s4.
|
|
3600
|
-
var tmp4_badges = createBadges(_this__u8e3s4, player.
|
|
3597
|
+
var tmp1_beforeEarnedPoints = _this__u8e3s4.p7g();
|
|
3598
|
+
var tmp2_finalRoundPoints = _this__u8e3s4.x7g();
|
|
3599
|
+
var tmp3_finalGamePoints = _this__u8e3s4.y7g();
|
|
3600
|
+
var tmp4_badges = createBadges(_this__u8e3s4, player.m75_1.m7a_1, gameWinner);
|
|
3601
3601
|
return new PointsCellViewModel(destination, tmp4_badges, tmp1_beforeEarnedPoints, tmp2_finalRoundPoints, tmp3_finalGamePoints);
|
|
3602
3602
|
}
|
|
3603
3603
|
function toPlayerVM(_this__u8e3s4, currentPlayerId, isGameFinished, round, isRatingUp, wasPlayerOffline) {
|
|
3604
|
-
var tmp4_userInfo = _this__u8e3s4.
|
|
3605
|
-
var tmp5_selectedSuit = _this__u8e3s4.
|
|
3606
|
-
var tmp6_isGameCreator = _this__u8e3s4.
|
|
3607
|
-
var tmp7_isShuffleCards = _this__u8e3s4.
|
|
3604
|
+
var tmp4_userInfo = _this__u8e3s4.j75_1;
|
|
3605
|
+
var tmp5_selectedSuit = _this__u8e3s4.m75_1.q7a_1 ? round.trump : null;
|
|
3606
|
+
var tmp6_isGameCreator = _this__u8e3s4.m75_1.f7a_1;
|
|
3607
|
+
var tmp7_isShuffleCards = _this__u8e3s4.m75_1.i7a_1;
|
|
3608
3608
|
var tmp8_isCurrentPlayer = currentPlayerId === _this__u8e3s4.playerId;
|
|
3609
3609
|
var tmp0_safe_receiver = round.trump;
|
|
3610
3610
|
var tmp;
|
|
@@ -3614,7 +3614,7 @@
|
|
|
3614
3614
|
// Inline function 'kotlin.let' call
|
|
3615
3615
|
// Inline function 'kotlin.collections.sumOf' call
|
|
3616
3616
|
var sum = 0;
|
|
3617
|
-
var _iterator__ex2g4s = _this__u8e3s4.
|
|
3617
|
+
var _iterator__ex2g4s = _this__u8e3s4.o75_1.t7b_1.l();
|
|
3618
3618
|
while (_iterator__ex2g4s.m()) {
|
|
3619
3619
|
var element = _iterator__ex2g4s.n();
|
|
3620
3620
|
var tmp_0 = sum;
|
|
@@ -3655,10 +3655,10 @@
|
|
|
3655
3655
|
return new PlayerViewModel(tmp4_userInfo, tmp5_selectedSuit, tmp7_isShuffleCards, tmp8_isCurrentPlayer, tmp6_isGameCreator, tmp9_points, tmp10_isRatingUp, tmp11_wasPlayerOffline);
|
|
3656
3656
|
}
|
|
3657
3657
|
function toStateVM(_this__u8e3s4, showConnectionStatus, isGameFinished, isStateActive) {
|
|
3658
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
3658
|
+
var tmp0_safe_receiver = _this__u8e3s4.k75_1.t6f_1;
|
|
3659
3659
|
var connectionState = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z6f_1;
|
|
3660
3660
|
var tmp5_playerId = _this__u8e3s4.playerId;
|
|
3661
|
-
var tmp1_safe_receiver = _this__u8e3s4.
|
|
3661
|
+
var tmp1_safe_receiver = _this__u8e3s4.k75_1.n6f_1;
|
|
3662
3662
|
var tmp;
|
|
3663
3663
|
if (tmp1_safe_receiver == null) {
|
|
3664
3664
|
tmp = null;
|
|
@@ -3673,7 +3673,7 @@
|
|
|
3673
3673
|
tmp = tmp_0;
|
|
3674
3674
|
}
|
|
3675
3675
|
var tmp6_startFromTime = tmp;
|
|
3676
|
-
var tmp2_safe_receiver = _this__u8e3s4.
|
|
3676
|
+
var tmp2_safe_receiver = _this__u8e3s4.k75_1.o6f_1;
|
|
3677
3677
|
var tmp_1;
|
|
3678
3678
|
if (tmp2_safe_receiver == null) {
|
|
3679
3679
|
tmp_1 = null;
|
|
@@ -3688,7 +3688,7 @@
|
|
|
3688
3688
|
tmp_1 = tmp_2;
|
|
3689
3689
|
}
|
|
3690
3690
|
var tmp7_playerTurnTimeout = tmp_1;
|
|
3691
|
-
var tmp3_safe_receiver = _this__u8e3s4.
|
|
3691
|
+
var tmp3_safe_receiver = _this__u8e3s4.k75_1.p6f_1;
|
|
3692
3692
|
var tmp_3;
|
|
3693
3693
|
if (tmp3_safe_receiver == null) {
|
|
3694
3694
|
tmp_3 = null;
|
|
@@ -3722,21 +3722,21 @@
|
|
|
3722
3722
|
tmp_5 = null;
|
|
3723
3723
|
}
|
|
3724
3724
|
var tmp9_connectionState = tmp_5;
|
|
3725
|
-
var tmp10_tag = _this__u8e3s4.
|
|
3726
|
-
var tmp11_state = isStateActive ? _this__u8e3s4.
|
|
3725
|
+
var tmp10_tag = _this__u8e3s4.k75_1.s6f_1;
|
|
3726
|
+
var tmp11_state = isStateActive ? _this__u8e3s4.k75_1.q6f_1 : PlayerWaitingState_IDLE_getInstance();
|
|
3727
3727
|
return new PlayerStateViewModel(tmp5_playerId, tmp10_tag, tmp11_state, tmp9_connectionState, tmp6_startFromTime, tmp7_playerTurnTimeout, tmp8_waitPlayerUntilTime);
|
|
3728
3728
|
}
|
|
3729
3729
|
function toVMV2(_this__u8e3s4, playerIndex, highlightedCards) {
|
|
3730
|
-
var tmp0_playerId = _this__u8e3s4.
|
|
3731
|
-
var tmp1_card = _this__u8e3s4.
|
|
3732
|
-
var tmp2_position = _this__u8e3s4.
|
|
3733
|
-
var tmp3_highlighted = highlightedCards.u1(_this__u8e3s4.
|
|
3730
|
+
var tmp0_playerId = _this__u8e3s4.m7o_1;
|
|
3731
|
+
var tmp1_card = _this__u8e3s4.o7o_1;
|
|
3732
|
+
var tmp2_position = _this__u8e3s4.n7o_1;
|
|
3733
|
+
var tmp3_highlighted = highlightedCards.u1(_this__u8e3s4.o7o_1);
|
|
3734
3734
|
return new CardOnTableViewModelV2(playerIndex, tmp0_playerId, tmp2_position, tmp3_highlighted, tmp1_card);
|
|
3735
3735
|
}
|
|
3736
3736
|
function toVM_0(_this__u8e3s4, playerIndex) {
|
|
3737
|
-
var tmp0_playerId = _this__u8e3s4.
|
|
3738
|
-
var tmp1_card = _this__u8e3s4.
|
|
3739
|
-
var tmp2_position = _this__u8e3s4.
|
|
3737
|
+
var tmp0_playerId = _this__u8e3s4.m7o_1;
|
|
3738
|
+
var tmp1_card = _this__u8e3s4.o7o_1;
|
|
3739
|
+
var tmp2_position = _this__u8e3s4.n7o_1;
|
|
3740
3740
|
return new CardOnTableViewModel(playerIndex, tmp0_playerId, tmp2_position, tmp1_card);
|
|
3741
3741
|
}
|
|
3742
3742
|
function mapToClause(_this__u8e3s4) {
|
|
@@ -3746,7 +3746,7 @@
|
|
|
3746
3746
|
var _iterator__ex2g4s = _this__u8e3s4.l();
|
|
3747
3747
|
while (_iterator__ex2g4s.m()) {
|
|
3748
3748
|
var item = _iterator__ex2g4s.n();
|
|
3749
|
-
var tmp$ret$0 = new CombinationPointClause(mapFromDetailed(item), item.
|
|
3749
|
+
var tmp$ret$0 = new CombinationPointClause(mapFromDetailed(item), item.d7g_1);
|
|
3750
3750
|
destination.j(tmp$ret$0);
|
|
3751
3751
|
}
|
|
3752
3752
|
// Inline function 'kotlin.takeIf' call
|
|
@@ -3785,7 +3785,7 @@
|
|
|
3785
3785
|
function createBadges(_this__u8e3s4, countOfBytes, gameWinner) {
|
|
3786
3786
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
3787
3787
|
var badges = ArrayList_init_$Create$_0();
|
|
3788
|
-
switch (_this__u8e3s4.
|
|
3788
|
+
switch (_this__u8e3s4.o7g_1.q2_1) {
|
|
3789
3789
|
case 0:
|
|
3790
3790
|
if (countOfBytes > 1) {
|
|
3791
3791
|
badges.j(new Badge(BadgeType_N_BYTE_getInstance(), countOfBytes));
|
|
@@ -3804,14 +3804,14 @@
|
|
|
3804
3804
|
break;
|
|
3805
3805
|
}
|
|
3806
3806
|
// Inline function 'kotlin.collections.flatMap' call
|
|
3807
|
-
var tmp0 = _this__u8e3s4.
|
|
3807
|
+
var tmp0 = _this__u8e3s4.n7g_1;
|
|
3808
3808
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
3809
3809
|
var destination = ArrayList_init_$Create$_0();
|
|
3810
3810
|
var _iterator__ex2g4s = tmp0.l();
|
|
3811
3811
|
while (_iterator__ex2g4s.m()) {
|
|
3812
3812
|
var element = _iterator__ex2g4s.n();
|
|
3813
3813
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
3814
|
-
var tmp0_elvis_lhs = element.
|
|
3814
|
+
var tmp0_elvis_lhs = element.w7g_1;
|
|
3815
3815
|
var list = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
3816
3816
|
addAll(destination, list);
|
|
3817
3817
|
}
|
|
@@ -3854,8 +3854,8 @@
|
|
|
3854
3854
|
return badges;
|
|
3855
3855
|
}
|
|
3856
3856
|
function toVM_1(_this__u8e3s4, players) {
|
|
3857
|
-
var tmp0_whoGotBribeUser = getPlayer(players, _this__u8e3s4.yag_1).
|
|
3858
|
-
var tmp1_whoPutFirstCardUser = getPlayer(players, _this__u8e3s4.xag_1).
|
|
3857
|
+
var tmp0_whoGotBribeUser = getPlayer(players, _this__u8e3s4.yag_1).j75_1;
|
|
3858
|
+
var tmp1_whoPutFirstCardUser = getPlayer(players, _this__u8e3s4.xag_1).j75_1;
|
|
3859
3859
|
// Inline function 'kotlin.collections.map' call
|
|
3860
3860
|
var this_0 = _this__u8e3s4.zag_1;
|
|
3861
3861
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -3863,7 +3863,7 @@
|
|
|
3863
3863
|
var _iterator__ex2g4s = this_0.l();
|
|
3864
3864
|
while (_iterator__ex2g4s.m()) {
|
|
3865
3865
|
var item = _iterator__ex2g4s.n();
|
|
3866
|
-
var tmp$ret$0 = toVM_0(item, getPlayerIndex(players, item.
|
|
3866
|
+
var tmp$ret$0 = toVM_0(item, getPlayerIndex(players, item.m7o_1));
|
|
3867
3867
|
destination.j(tmp$ret$0);
|
|
3868
3868
|
}
|
|
3869
3869
|
return new LastBribeViewModel(tmp1_whoPutFirstCardUser, tmp0_whoGotBribeUser, destination);
|
|
@@ -3875,7 +3875,7 @@
|
|
|
3875
3875
|
tmp = null;
|
|
3876
3876
|
} else {
|
|
3877
3877
|
// Inline function 'kotlin.let' call
|
|
3878
|
-
tmp = getPlayer(players, _this__u8e3s4.bah_1).
|
|
3878
|
+
tmp = getPlayer(players, _this__u8e3s4.bah_1).j75_1;
|
|
3879
3879
|
}
|
|
3880
3880
|
var tmp4_whoShuffleCardsUserInfo = tmp;
|
|
3881
3881
|
var tmp_0;
|
|
@@ -3883,7 +3883,7 @@
|
|
|
3883
3883
|
tmp_0 = null;
|
|
3884
3884
|
} else {
|
|
3885
3885
|
// Inline function 'kotlin.let' call
|
|
3886
|
-
tmp_0 = getPlayer(players, _this__u8e3s4.cah_1).
|
|
3886
|
+
tmp_0 = getPlayer(players, _this__u8e3s4.cah_1).j75_1;
|
|
3887
3887
|
}
|
|
3888
3888
|
var tmp5_whoChoseSuitUserInfo = tmp_0;
|
|
3889
3889
|
var tmp6_playersMode = config.playersMode;
|
|
@@ -3898,15 +3898,15 @@
|
|
|
3898
3898
|
var _iterator__ex2g4s = points.l();
|
|
3899
3899
|
while (_iterator__ex2g4s.m()) {
|
|
3900
3900
|
var item = _iterator__ex2g4s.n();
|
|
3901
|
-
var tmp0_points = item.
|
|
3901
|
+
var tmp0_points = item.c8d_1;
|
|
3902
3902
|
// Inline function 'kotlin.collections.map' call
|
|
3903
|
-
var this_0 = item.
|
|
3903
|
+
var this_0 = item.b8d_1;
|
|
3904
3904
|
// Inline function 'kotlin.collections.mapTo' call
|
|
3905
3905
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
3906
3906
|
var _iterator__ex2g4s_0 = this_0.l();
|
|
3907
3907
|
while (_iterator__ex2g4s_0.m()) {
|
|
3908
3908
|
var item_0 = _iterator__ex2g4s_0.n();
|
|
3909
|
-
var tmp$ret$4 = getPlayer(players, item_0).
|
|
3909
|
+
var tmp$ret$4 = getPlayer(players, item_0).j75_1;
|
|
3910
3910
|
destination_0.j(tmp$ret$4);
|
|
3911
3911
|
}
|
|
3912
3912
|
var tmp$ret$7 = new PointItemViewModel(destination_0, tmp0_points);
|
|
@@ -4260,7 +4260,7 @@
|
|
|
4260
4260
|
this.xai_1 = isRatingUp;
|
|
4261
4261
|
this.yai_1 = wasPlayerOffline;
|
|
4262
4262
|
}
|
|
4263
|
-
protoOf(PlayerViewModel).
|
|
4263
|
+
protoOf(PlayerViewModel).e7a = function () {
|
|
4264
4264
|
return this.tai_1;
|
|
4265
4265
|
};
|
|
4266
4266
|
protoOf(PlayerViewModel).h6e = function () {
|
|
@@ -5571,22 +5571,22 @@
|
|
|
5571
5571
|
return tmp_0 instanceof Expectant ? tmp_0 : THROW_CCE();
|
|
5572
5572
|
}
|
|
5573
5573
|
function mapToExpectant_0(_this__u8e3s4, wrapper) {
|
|
5574
|
-
return new RestartGameExpectant(wrapper.dan_1, _this__u8e3s4.
|
|
5574
|
+
return new RestartGameExpectant(wrapper.dan_1, _this__u8e3s4.r8f_1);
|
|
5575
5575
|
}
|
|
5576
5576
|
function mapToExpectant_1(_this__u8e3s4, wrapper) {
|
|
5577
|
-
return new TeamsDataExpectant(wrapper.dan_1, _this__u8e3s4.
|
|
5577
|
+
return new TeamsDataExpectant(wrapper.dan_1, _this__u8e3s4.c8g_1, _this__u8e3s4.d8g_1);
|
|
5578
5578
|
}
|
|
5579
5579
|
function mapToExpectant_2(_this__u8e3s4, wrapper) {
|
|
5580
|
-
return new TrumpExpectant(wrapper.dan_1, _this__u8e3s4.
|
|
5580
|
+
return new TrumpExpectant(wrapper.dan_1, _this__u8e3s4.n8g_1);
|
|
5581
5581
|
}
|
|
5582
5582
|
function mapToExpectant_3(_this__u8e3s4, wrapper) {
|
|
5583
|
-
return new CombinationChoiceExpectant(wrapper.dan_1, _this__u8e3s4.
|
|
5583
|
+
return new CombinationChoiceExpectant(wrapper.dan_1, _this__u8e3s4.r8g_1, _this__u8e3s4.p8g_1, _this__u8e3s4.q8g_1);
|
|
5584
5584
|
}
|
|
5585
5585
|
function mapToExpectant_4(_this__u8e3s4, wrapper) {
|
|
5586
|
-
return new PickUpBribeExpectant(wrapper.dan_1, _this__u8e3s4.
|
|
5586
|
+
return new PickUpBribeExpectant(wrapper.dan_1, _this__u8e3s4.y8g_1, _this__u8e3s4.z8g_1);
|
|
5587
5587
|
}
|
|
5588
5588
|
function mapToExpectant_5(_this__u8e3s4, wrapper) {
|
|
5589
|
-
return new WinnerCombinationsExpectant(wrapper.dan_1, _this__u8e3s4.
|
|
5589
|
+
return new WinnerCombinationsExpectant(wrapper.dan_1, _this__u8e3s4.b8h_1);
|
|
5590
5590
|
}
|
|
5591
5591
|
function InterceptableActionWrapper(id, action, isFinished) {
|
|
5592
5592
|
isFinished = isFinished === VOID ? false : isFinished;
|
|
@@ -15190,7 +15190,7 @@
|
|
|
15190
15190
|
var _iterator__ex2g4s = this_0.l();
|
|
15191
15191
|
while (_iterator__ex2g4s.m()) {
|
|
15192
15192
|
var item = _iterator__ex2g4s.n();
|
|
15193
|
-
var tmp$ret$0 = mapToDto_8(item.
|
|
15193
|
+
var tmp$ret$0 = mapToDto_8(item.j75_1);
|
|
15194
15194
|
destination.j(tmp$ret$0);
|
|
15195
15195
|
}
|
|
15196
15196
|
var tmp_1 = destination;
|
|
@@ -15213,7 +15213,7 @@
|
|
|
15213
15213
|
tmp_3 = null;
|
|
15214
15214
|
}
|
|
15215
15215
|
var tmp$ret$9 = tmp_3;
|
|
15216
|
-
return new PersistentTableStateDto(table.version, tmp, table.sceneInfo.
|
|
15216
|
+
return new PersistentTableStateDto(table.version, tmp, table.sceneInfo.h8i_1, tmp_0, tmp_1, tmp_2, tmp$ret$9);
|
|
15217
15217
|
}
|
|
15218
15218
|
return new PersistentTableStateDto(_this__u8e3s4.nag_1, _this__u8e3s4.oag_1);
|
|
15219
15219
|
}
|
|
@@ -16844,22 +16844,22 @@
|
|
|
16844
16844
|
protoOf(GameHistoryViewModel).x5j = function () {
|
|
16845
16845
|
return this.gameId;
|
|
16846
16846
|
};
|
|
16847
|
-
protoOf(GameHistoryViewModel).
|
|
16847
|
+
protoOf(GameHistoryViewModel).p90 = function () {
|
|
16848
16848
|
return this.createdAt;
|
|
16849
16849
|
};
|
|
16850
16850
|
protoOf(GameHistoryViewModel).hb3 = function () {
|
|
16851
16851
|
return this.gameType;
|
|
16852
16852
|
};
|
|
16853
|
-
protoOf(GameHistoryViewModel).
|
|
16853
|
+
protoOf(GameHistoryViewModel).c91 = function () {
|
|
16854
16854
|
return this.users;
|
|
16855
16855
|
};
|
|
16856
16856
|
protoOf(GameHistoryViewModel).e3w = function () {
|
|
16857
16857
|
return this.config;
|
|
16858
16858
|
};
|
|
16859
|
-
protoOf(GameHistoryViewModel).
|
|
16859
|
+
protoOf(GameHistoryViewModel).j94 = function () {
|
|
16860
16860
|
return this.gameWinners;
|
|
16861
16861
|
};
|
|
16862
|
-
protoOf(GameHistoryViewModel).
|
|
16862
|
+
protoOf(GameHistoryViewModel).g94 = function () {
|
|
16863
16863
|
return this.metadata;
|
|
16864
16864
|
};
|
|
16865
16865
|
protoOf(GameHistoryViewModel).equals = function (other) {
|
|
@@ -16956,10 +16956,10 @@
|
|
|
16956
16956
|
protoOf(RoundEndedHistoryViewModel).x5j = function () {
|
|
16957
16957
|
return this.gameId;
|
|
16958
16958
|
};
|
|
16959
|
-
protoOf(RoundEndedHistoryViewModel).
|
|
16959
|
+
protoOf(RoundEndedHistoryViewModel).f94 = function () {
|
|
16960
16960
|
return this.roundNumber;
|
|
16961
16961
|
};
|
|
16962
|
-
protoOf(RoundEndedHistoryViewModel).
|
|
16962
|
+
protoOf(RoundEndedHistoryViewModel).s94 = function () {
|
|
16963
16963
|
return this.items;
|
|
16964
16964
|
};
|
|
16965
16965
|
protoOf(RoundEndedHistoryViewModel).jb3 = function () {
|
|
@@ -18535,13 +18535,13 @@
|
|
|
18535
18535
|
function CheckSceneBufferUseCase() {
|
|
18536
18536
|
}
|
|
18537
18537
|
protoOf(CheckSceneBufferUseCase).zb3 = function (state, action) {
|
|
18538
|
-
if (!state.
|
|
18538
|
+
if (!state.d72() && !get_isCreated(state)) {
|
|
18539
18539
|
return new PutInBuffer('CheckSceneBufferUseCase.isTableExists');
|
|
18540
18540
|
}
|
|
18541
|
-
var table = state.
|
|
18541
|
+
var table = state.c72();
|
|
18542
18542
|
if (isInterface(action, InSceneAction)) {
|
|
18543
18543
|
var tmp;
|
|
18544
|
-
if (action.j9l(table.sceneInfo.
|
|
18544
|
+
if (action.j9l(table.sceneInfo.h8i_1)) {
|
|
18545
18545
|
tmp = new AvoidBuffer('CheckSceneBufferUseCase.inScene');
|
|
18546
18546
|
} else {
|
|
18547
18547
|
tmp = new PutInBuffer('CheckSceneBufferUseCase.inScene');
|
|
@@ -18555,17 +18555,17 @@
|
|
|
18555
18555
|
this.hb4_1 = ignoreForPlayers;
|
|
18556
18556
|
}
|
|
18557
18557
|
protoOf(NextPlayerTurnBufferUseCase).zb3 = function (state, action) {
|
|
18558
|
-
if (!state.
|
|
18558
|
+
if (!state.d72() && !get_isCreated(state)) {
|
|
18559
18559
|
return new PutInBuffer('NextPlayerTurnBufferUseCase.isTableExists');
|
|
18560
18560
|
}
|
|
18561
|
-
var table = state.
|
|
18561
|
+
var table = state.c72();
|
|
18562
18562
|
if (isInterface(action, PlayerTurnAnswerAction)) {
|
|
18563
18563
|
var playerTurn = getPlayerTurn(action, table.players);
|
|
18564
18564
|
if (playerTurn == null || this.hb4_1.u1(playerTurn.playerId)) {
|
|
18565
18565
|
return new AvoidBuffer('NextPlayerTurnBufferUseCase.ignored');
|
|
18566
18566
|
}
|
|
18567
18567
|
var tmp;
|
|
18568
|
-
if (playerTurn.
|
|
18568
|
+
if (playerTurn.k75_1.u6f()) {
|
|
18569
18569
|
tmp = new AvoidBuffer('NextPlayerTurnBufferUseCase.playerTurn');
|
|
18570
18570
|
} else {
|
|
18571
18571
|
tmp = new PutInBuffer('NextPlayerTurnBufferUseCase.playerTurn: ' + ('expected = ' + playerTurn.playerId));
|
|
@@ -18578,8 +18578,8 @@
|
|
|
18578
18578
|
}
|
|
18579
18579
|
protoOf(PassErrorActionBufferUseCase).zb3 = function (state, action) {
|
|
18580
18580
|
if (action instanceof ErrorAction) {
|
|
18581
|
-
var reason = action.
|
|
18582
|
-
return checkTerminatedReason(state.
|
|
18581
|
+
var reason = action.g8h_1.v87_1;
|
|
18582
|
+
return checkTerminatedReason(state.tableOrNull, false, reason, 'PassErrorActionBufferUseCase.checkTerminatedReason');
|
|
18583
18583
|
}
|
|
18584
18584
|
return new AvoidBuffer('PassErrorActionBufferUseCase');
|
|
18585
18585
|
};
|
|
@@ -18625,7 +18625,7 @@
|
|
|
18625
18625
|
}
|
|
18626
18626
|
}
|
|
18627
18627
|
}
|
|
18628
|
-
if (isGameFinished && !table.sceneInfo.
|
|
18628
|
+
if (isGameFinished && !table.sceneInfo.e95()) {
|
|
18629
18629
|
return new PutInBuffer(debugLabel);
|
|
18630
18630
|
}
|
|
18631
18631
|
return new AvoidBuffer(debugLabel);
|
|
@@ -18641,22 +18641,22 @@
|
|
|
18641
18641
|
function PassTerminatedActionBufferUseCase() {
|
|
18642
18642
|
}
|
|
18643
18643
|
protoOf(PassTerminatedActionBufferUseCase).zb3 = function (state, action) {
|
|
18644
|
-
if (!state.
|
|
18644
|
+
if (!state.d72() && !get_isCreated(state)) {
|
|
18645
18645
|
return new PutInBuffer('PassTerminatedActionBufferUseCase: Table not exists');
|
|
18646
18646
|
}
|
|
18647
18647
|
if (isInterface(action, TerminatedAction)) {
|
|
18648
18648
|
var reason = action.reason;
|
|
18649
|
-
return checkTerminatedReason(state.
|
|
18649
|
+
return checkTerminatedReason(state.c72(), action.isGameFinished, reason, 'PassTerminatedActionBufferUseCase.checkTerminatedReason');
|
|
18650
18650
|
}
|
|
18651
18651
|
return new AvoidBuffer('PassTerminatedActionBufferUseCase');
|
|
18652
18652
|
};
|
|
18653
18653
|
function WaitPlayerAnswerBufferUseCase() {
|
|
18654
18654
|
}
|
|
18655
18655
|
protoOf(WaitPlayerAnswerBufferUseCase).zb3 = function (state, action) {
|
|
18656
|
-
if (!state.
|
|
18656
|
+
if (!state.d72() && !get_isCreated(state)) {
|
|
18657
18657
|
return new PutInBuffer('WaitPlayerAnswerBufferUseCase.isTableExists');
|
|
18658
18658
|
}
|
|
18659
|
-
var table = state.
|
|
18659
|
+
var table = state.c72();
|
|
18660
18660
|
if (isInterface(action, PlayerTurnAnswerAction)) {
|
|
18661
18661
|
return new AvoidBuffer('WaitPlayerAnswerBufferUseCase.playerTurnAnswer');
|
|
18662
18662
|
}
|
|
@@ -18704,7 +18704,7 @@
|
|
|
18704
18704
|
function WaitUntilInterceptorFinishedBufferUseCase() {
|
|
18705
18705
|
}
|
|
18706
18706
|
protoOf(WaitUntilInterceptorFinishedBufferUseCase).zb3 = function (state, action) {
|
|
18707
|
-
if (!state.
|
|
18707
|
+
if (!state.d72() && !get_isCreated(state)) {
|
|
18708
18708
|
return new PutInBuffer('WaitUntilInterceptorFinishedBufferUseCase.isTableExists');
|
|
18709
18709
|
}
|
|
18710
18710
|
var clientState = get_clientPayload(state);
|
|
@@ -18774,7 +18774,7 @@
|
|
|
18774
18774
|
if (!mustConsider)
|
|
18775
18775
|
return null;
|
|
18776
18776
|
var isPartnerLeads = config.playersMode.isTeamGame && isPartnerOf($this, winCard, player, players, $this.tb4_1);
|
|
18777
|
-
var isPlayerCardLowerWinCard = getGrowth(putPlayerCard, trump, firstSuit) < getGrowth(winCard.
|
|
18777
|
+
var isPlayerCardLowerWinCard = getGrowth(putPlayerCard, trump, firstSuit) < getGrowth(winCard.o7o_1, trump, firstSuit);
|
|
18778
18778
|
if (isPartnerLeads) {
|
|
18779
18779
|
var partnerRule = config.rules.trumpCardStepPartnerMode;
|
|
18780
18780
|
switch (partnerRule.q2_1) {
|
|
@@ -18783,7 +18783,7 @@
|
|
|
18783
18783
|
return null;
|
|
18784
18784
|
case 1:
|
|
18785
18785
|
if (isPlayerCardLowerWinCard) {
|
|
18786
|
-
var playerHasHigher = hasHigherTrump($this, player.
|
|
18786
|
+
var playerHasHigher = hasHigherTrump($this, player.l75_1, winCard.o7o_1, trump, putPlayerCard, firstSuit);
|
|
18787
18787
|
return playerHasHigher ? ValidationCode_CARD_VALIDATION_HAS_HIGHER_TRUMP_CARD_getInstance() : null;
|
|
18788
18788
|
}
|
|
18789
18789
|
|
|
@@ -18794,7 +18794,7 @@
|
|
|
18794
18794
|
}
|
|
18795
18795
|
} else {
|
|
18796
18796
|
if (isPlayerCardLowerWinCard) {
|
|
18797
|
-
var playerHasHigher_0 = hasHigherTrump($this, player.
|
|
18797
|
+
var playerHasHigher_0 = hasHigherTrump($this, player.l75_1, winCard.o7o_1, trump, putPlayerCard, firstSuit);
|
|
18798
18798
|
return playerHasHigher_0 ? ValidationCode_CARD_VALIDATION_HAS_HIGHER_TRUMP_CARD_getInstance() : null;
|
|
18799
18799
|
}
|
|
18800
18800
|
}
|
|
@@ -18827,7 +18827,7 @@
|
|
|
18827
18827
|
return tmp$ret$0;
|
|
18828
18828
|
}
|
|
18829
18829
|
function isPartnerOf($this, _this__u8e3s4, player, all, teams) {
|
|
18830
|
-
return _this__u8e3s4.
|
|
18830
|
+
return _this__u8e3s4.m7o_1 === teams.h97(player.playerId, all).playerId;
|
|
18831
18831
|
}
|
|
18832
18832
|
function hasHigherTrump($this, _this__u8e3s4, winningCard, trump, playedCard, firstSuit) {
|
|
18833
18833
|
var tmp$ret$0;
|
|
@@ -18861,7 +18861,7 @@
|
|
|
18861
18861
|
}
|
|
18862
18862
|
protoOf(PutCardValidatorInteractorImpl).sb4 = function (putPlayerCard, cardsOnTable, selectedTrump, player, players, config) {
|
|
18863
18863
|
var trump = selectedTrump;
|
|
18864
|
-
var tmp0_elvis_lhs = Companion_instance.
|
|
18864
|
+
var tmp0_elvis_lhs = Companion_instance.q91(cardsOnTable);
|
|
18865
18865
|
var tmp;
|
|
18866
18866
|
if (tmp0_elvis_lhs == null) {
|
|
18867
18867
|
return null;
|
|
@@ -18869,9 +18869,9 @@
|
|
|
18869
18869
|
tmp = tmp0_elvis_lhs;
|
|
18870
18870
|
}
|
|
18871
18871
|
var firstOnTable = tmp;
|
|
18872
|
-
var firstSuit = firstOnTable.
|
|
18873
|
-
var playerHasSuit = hasSuit(this, player.
|
|
18874
|
-
var playerHasTrump = hasSuit(this, player.
|
|
18872
|
+
var firstSuit = firstOnTable.o7o_1.r5t();
|
|
18873
|
+
var playerHasSuit = hasSuit(this, player.l75_1, firstSuit);
|
|
18874
|
+
var playerHasTrump = hasSuit(this, player.l75_1, trump);
|
|
18875
18875
|
var tmp$ret$0;
|
|
18876
18876
|
$l$block_0: {
|
|
18877
18877
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -18888,7 +18888,7 @@
|
|
|
18888
18888
|
var _iterator__ex2g4s = cardsOnTable.l();
|
|
18889
18889
|
while (_iterator__ex2g4s.m()) {
|
|
18890
18890
|
var element = _iterator__ex2g4s.n();
|
|
18891
|
-
if (element.
|
|
18891
|
+
if (element.o7o_1.r5t().equals(trump)) {
|
|
18892
18892
|
tmp$ret$0 = true;
|
|
18893
18893
|
break $l$block_0;
|
|
18894
18894
|
}
|
|
@@ -18896,7 +18896,7 @@
|
|
|
18896
18896
|
tmp$ret$0 = false;
|
|
18897
18897
|
}
|
|
18898
18898
|
var anyTrumpOnTbl = tmp$ret$0;
|
|
18899
|
-
var winningCard = this.ub4_1.
|
|
18899
|
+
var winningCard = this.ub4_1.d98(cardsOnTable, trump);
|
|
18900
18900
|
var tmp1_safe_receiver = checkHigherTrump(this, config.rules.trumpCardStepMode, config, players, trump, player, putPlayerCard, firstSuit, playerHasSuit, anyTrumpOnTbl, winningCard);
|
|
18901
18901
|
if (tmp1_safe_receiver == null)
|
|
18902
18902
|
null;
|
|
@@ -19055,7 +19055,7 @@
|
|
|
19055
19055
|
var tmp0 = this.yb5_1;
|
|
19056
19056
|
var value = this.zb5_1;
|
|
19057
19057
|
this.s8_1 = 1;
|
|
19058
|
-
var tmp_0 = value.
|
|
19058
|
+
var tmp_0 = value.c72().players;
|
|
19059
19059
|
var tmp0_safe_receiver = get_clientPayloadOrNull(value);
|
|
19060
19060
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.baa_1;
|
|
19061
19061
|
var tmp_1;
|
|
@@ -19288,7 +19288,7 @@
|
|
|
19288
19288
|
var _iterator__ex2g4s = value.l();
|
|
19289
19289
|
while (_iterator__ex2g4s.m()) {
|
|
19290
19290
|
var item = _iterator__ex2g4s.n();
|
|
19291
|
-
destination.j(item.
|
|
19291
|
+
destination.j(item.j75_1);
|
|
19292
19292
|
}
|
|
19293
19293
|
|
|
19294
19294
|
suspendResult = tmp0.i24(destination, this);
|
|
@@ -19485,15 +19485,15 @@
|
|
|
19485
19485
|
var tmp0 = this.mb9_1;
|
|
19486
19486
|
var value = this.nb9_1;
|
|
19487
19487
|
this.s8_1 = 1;
|
|
19488
|
-
var table = value.
|
|
19488
|
+
var table = value.tableOrNull;
|
|
19489
19489
|
var sceneInfo = table == null ? null : table.sceneInfo;
|
|
19490
19490
|
var tmp2_safe_receiver = table == null ? null : table.gameInfo;
|
|
19491
19491
|
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.round;
|
|
19492
19492
|
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.roundNumber;
|
|
19493
19493
|
var tmp_0 = tmp4_elvis_lhs == null ? 0 : tmp4_elvis_lhs;
|
|
19494
|
-
var tmp6_elvis_lhs = sceneInfo == null ? null : sceneInfo.
|
|
19494
|
+
var tmp6_elvis_lhs = sceneInfo == null ? null : sceneInfo.h8i_1;
|
|
19495
19495
|
var tmp_1 = tmp6_elvis_lhs == null ? 'WAITING' : tmp6_elvis_lhs;
|
|
19496
|
-
suspendResult = tmp0.i24(new SceneViewModel(tmp_0, tmp_1, sceneInfo == null ? null : sceneInfo.
|
|
19496
|
+
suspendResult = tmp0.i24(new SceneViewModel(tmp_0, tmp_1, sceneInfo == null ? null : sceneInfo.i8i_1), this);
|
|
19497
19497
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
19498
19498
|
return suspendResult;
|
|
19499
19499
|
}
|
|
@@ -19689,11 +19689,11 @@
|
|
|
19689
19689
|
this.s8_1 = 1;
|
|
19690
19690
|
var tmp0_safe_receiver = get_clientPayloadOrNull(value);
|
|
19691
19691
|
var tmp_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.maa_1;
|
|
19692
|
-
var tmp1_safe_receiver = value.
|
|
19692
|
+
var tmp1_safe_receiver = value.tableOrNull;
|
|
19693
19693
|
var tmp_1 = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.gameId;
|
|
19694
|
-
var tmp2_safe_receiver = value.
|
|
19694
|
+
var tmp2_safe_receiver = value.tableOrNull;
|
|
19695
19695
|
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.isGameFinished;
|
|
19696
|
-
suspendResult = tmp0.i24(new GameLifecycleViewModel(value.gameLifecycleState, value.
|
|
19696
|
+
suspendResult = tmp0.i24(new GameLifecycleViewModel(value.gameLifecycleState, value.c71_1, tmp_0, tmp_1, tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs), this);
|
|
19697
19697
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
19698
19698
|
return suspendResult;
|
|
19699
19699
|
}
|
|
@@ -19795,7 +19795,7 @@
|
|
|
19795
19795
|
var _iterator__ex2g4s = this_0.l();
|
|
19796
19796
|
while (_iterator__ex2g4s.m()) {
|
|
19797
19797
|
var item = _iterator__ex2g4s.n();
|
|
19798
|
-
destination.j(new PlayerHandMetadataViewModel(item.playerId, item.
|
|
19798
|
+
destination.j(new PlayerHandMetadataViewModel(item.playerId, item.n75_1.n7b(), item.n75_1.q7b().o7b_1, item.n75_1.z7d(), item.n75_1.b7e()));
|
|
19799
19799
|
}
|
|
19800
19800
|
|
|
19801
19801
|
suspendResult = tmp0.i24(new PlayersHandsMetadataViewModel(destination), this);
|
|
@@ -19994,7 +19994,7 @@
|
|
|
19994
19994
|
this.s8_1 = 1;
|
|
19995
19995
|
var tmp0_safe_receiver = get_clientPayloadOrNull(value);
|
|
19996
19996
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.iaa_1;
|
|
19997
|
-
suspendResult = tmp0.i24(tmp1_safe_receiver == null ? null : toVM_1(tmp1_safe_receiver, value.
|
|
19997
|
+
suspendResult = tmp0.i24(tmp1_safe_receiver == null ? null : toVM_1(tmp1_safe_receiver, value.c72().players), this);
|
|
19998
19998
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
19999
19999
|
return suspendResult;
|
|
20000
20000
|
}
|
|
@@ -20093,16 +20093,16 @@
|
|
|
20093
20093
|
var value = this.kbe_1;
|
|
20094
20094
|
this.s8_1 = 1;
|
|
20095
20095
|
var tmp_0;
|
|
20096
|
-
if (get_isChoosePartnerScene(value.
|
|
20096
|
+
if (get_isChoosePartnerScene(value.c72().sceneInfo.h8i_1)) {
|
|
20097
20097
|
tmp_0 = null;
|
|
20098
20098
|
} else {
|
|
20099
|
-
tmp_0 = this.jbe_1.ab7_1.
|
|
20099
|
+
tmp_0 = this.jbe_1.ab7_1.d9f(value.c72().players, value.c72().config);
|
|
20100
20100
|
}
|
|
20101
20101
|
|
|
20102
20102
|
var points = tmp_0;
|
|
20103
20103
|
var tmp0_safe_receiver = get_clientPayloadOrNull(value);
|
|
20104
20104
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.jaa_1;
|
|
20105
|
-
suspendResult = tmp0.i24(tmp1_safe_receiver == null ? null : toVM_2(tmp1_safe_receiver, value.
|
|
20105
|
+
suspendResult = tmp0.i24(tmp1_safe_receiver == null ? null : toVM_2(tmp1_safe_receiver, value.c72().config, value.c72().players, points), this);
|
|
20106
20106
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
20107
20107
|
return suspendResult;
|
|
20108
20108
|
}
|
|
@@ -21491,8 +21491,8 @@
|
|
|
21491
21491
|
if (tmp === 0) {
|
|
21492
21492
|
this.t8_1 = 1;
|
|
21493
21493
|
var tmp_0 = this.ybm_1.dispatch;
|
|
21494
|
-
var tmp0_safe_receiver = this.wbm_1.wb6_1.h6f().
|
|
21495
|
-
tmp_0(new ClearAction(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
21494
|
+
var tmp0_safe_receiver = this.wbm_1.wb6_1.h6f().c71_1;
|
|
21495
|
+
tmp_0(new ClearAction(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q8k_1));
|
|
21496
21496
|
return Unit_instance;
|
|
21497
21497
|
} else if (tmp === 1) {
|
|
21498
21498
|
throw this.v8_1;
|
|
@@ -22158,7 +22158,7 @@
|
|
|
22158
22158
|
if (tmp === 0) {
|
|
22159
22159
|
this.t8_1 = 1;
|
|
22160
22160
|
if (get_isCreated(this.dbr_1.state)) {
|
|
22161
|
-
this.dbr_1.dispatch(new ExitFromClientAction(get_currentPlayer(this.dbr_1.state.
|
|
22161
|
+
this.dbr_1.dispatch(new ExitFromClientAction(get_currentPlayer(this.dbr_1.state.c72()).playerId, false));
|
|
22162
22162
|
}
|
|
22163
22163
|
return Unit_instance;
|
|
22164
22164
|
} else if (tmp === 1) {
|
|
@@ -22279,26 +22279,26 @@
|
|
|
22279
22279
|
this.bb7_1 = gameHistoryInteractor;
|
|
22280
22280
|
}
|
|
22281
22281
|
protoOf(BaseGameMechanic).t5j = function () {
|
|
22282
|
-
return this.wb6_1.h6f().
|
|
22282
|
+
return this.wb6_1.h6f().c72().id;
|
|
22283
|
+
};
|
|
22284
|
+
protoOf(BaseGameMechanic).c72 = function () {
|
|
22285
|
+
return this.wb6_1.h6f().c72();
|
|
22283
22286
|
};
|
|
22284
22287
|
protoOf(BaseGameMechanic).d72 = function () {
|
|
22285
22288
|
return this.wb6_1.h6f().d72();
|
|
22286
22289
|
};
|
|
22287
22290
|
protoOf(BaseGameMechanic).e72 = function () {
|
|
22288
|
-
return this.wb6_1.h6f().e72();
|
|
22289
|
-
};
|
|
22290
|
-
protoOf(BaseGameMechanic).f72 = function () {
|
|
22291
22291
|
return this.wb6_1.h6f().gameLifecycleState;
|
|
22292
22292
|
};
|
|
22293
22293
|
protoOf(BaseGameMechanic).onCreate = function () {
|
|
22294
|
-
this.wb6_1.
|
|
22294
|
+
this.wb6_1.a72(BaseGameMechanic$onCreate$slambda_0(this, null));
|
|
22295
22295
|
};
|
|
22296
22296
|
protoOf(BaseGameMechanic).onDestroy = function () {
|
|
22297
|
-
this.wb6_1.
|
|
22297
|
+
this.wb6_1.a72(BaseGameMechanic$onDestroy$slambda_0(this, null));
|
|
22298
22298
|
this.wb6_1.i2();
|
|
22299
22299
|
};
|
|
22300
22300
|
protoOf(BaseGameMechanic).getConfig = function () {
|
|
22301
|
-
return this.wb6_1.h6f().
|
|
22301
|
+
return this.wb6_1.h6f().c72().config;
|
|
22302
22302
|
};
|
|
22303
22303
|
protoOf(BaseGameMechanic).getClientConfig = function () {
|
|
22304
22304
|
return get_clientPayload(this.wb6_1.h6f()).ya9_1;
|
|
@@ -22425,28 +22425,28 @@
|
|
|
22425
22425
|
return distinctUntilChanged(tmp$ret$2);
|
|
22426
22426
|
};
|
|
22427
22427
|
protoOf(BaseGameMechanic).switchLastBribe = function (open) {
|
|
22428
|
-
this.wb6_1.
|
|
22428
|
+
this.wb6_1.a72(BaseGameMechanic$switchLastBribe$slambda_0(open, null));
|
|
22429
22429
|
};
|
|
22430
22430
|
protoOf(BaseGameMechanic).switchGameInfo = function (open) {
|
|
22431
|
-
this.wb6_1.
|
|
22431
|
+
this.wb6_1.a72(BaseGameMechanic$switchGameInfo$slambda_0(open, null));
|
|
22432
22432
|
};
|
|
22433
22433
|
protoOf(BaseGameMechanic).switchSettings = function (open) {
|
|
22434
|
-
this.wb6_1.
|
|
22434
|
+
this.wb6_1.a72(BaseGameMechanic$switchSettings$slambda_0(open, null));
|
|
22435
22435
|
};
|
|
22436
22436
|
protoOf(BaseGameMechanic).switchChat = function (open) {
|
|
22437
|
-
this.wb6_1.
|
|
22437
|
+
this.wb6_1.a72(BaseGameMechanic$switchChat$slambda_0(open, null));
|
|
22438
22438
|
};
|
|
22439
22439
|
protoOf(BaseGameMechanic).uiCreated = function (created) {
|
|
22440
|
-
this.wb6_1.
|
|
22440
|
+
this.wb6_1.a72(BaseGameMechanic$uiCreated$slambda_0(created, null));
|
|
22441
22441
|
};
|
|
22442
22442
|
protoOf(BaseGameMechanic).uiFocused = function (focused) {
|
|
22443
|
-
this.wb6_1.
|
|
22443
|
+
this.wb6_1.a72(BaseGameMechanic$uiFocused$slambda_0(focused, null));
|
|
22444
22444
|
};
|
|
22445
22445
|
protoOf(BaseGameMechanic).updateConfig = function (updateConfig) {
|
|
22446
|
-
this.wb6_1.
|
|
22446
|
+
this.wb6_1.a72(BaseGameMechanic$updateConfig$slambda_0(updateConfig, null));
|
|
22447
22447
|
};
|
|
22448
22448
|
protoOf(BaseGameMechanic).clientMessage = function (message) {
|
|
22449
|
-
this.wb6_1.
|
|
22449
|
+
this.wb6_1.a72(BaseGameMechanic$clientMessage$slambda_0(message, null));
|
|
22450
22450
|
};
|
|
22451
22451
|
protoOf(BaseGameMechanic).observeShowTutorial = function () {
|
|
22452
22452
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
@@ -22457,10 +22457,10 @@
|
|
|
22457
22457
|
return distinctUntilChanged(tmp$ret$2);
|
|
22458
22458
|
};
|
|
22459
22459
|
protoOf(BaseGameMechanic).tutorialPassed = function (skipped) {
|
|
22460
|
-
this.wb6_1.
|
|
22460
|
+
this.wb6_1.a72(BaseGameMechanic$tutorialPassed$slambda_0(skipped, null));
|
|
22461
22461
|
};
|
|
22462
22462
|
protoOf(BaseGameMechanic).playerExit = function () {
|
|
22463
|
-
this.wb6_1.
|
|
22463
|
+
this.wb6_1.a72(BaseGameMechanic$playerExit$slambda_0(null));
|
|
22464
22464
|
};
|
|
22465
22465
|
protoOf(BaseGameMechanic).observeRestartGameExpectant = function () {
|
|
22466
22466
|
// Inline function 'games.jass.logic.client.utils.observeNotFinishedExpectant' call
|
|
@@ -22480,7 +22480,7 @@
|
|
|
22480
22480
|
return distinctUntilChanged(tmp$ret$9);
|
|
22481
22481
|
};
|
|
22482
22482
|
protoOf(BaseGameMechanic).error = function (error) {
|
|
22483
|
-
this.wb6_1.
|
|
22483
|
+
this.wb6_1.a72(BaseGameMechanic$error$slambda_0(error, null));
|
|
22484
22484
|
};
|
|
22485
22485
|
protoOf(BaseGameMechanic).waitingForConnection = function () {
|
|
22486
22486
|
this.error(new ErrorState(VOID, VOID, WaitingForConnectionReason_getInstance()));
|
|
@@ -22632,7 +22632,7 @@
|
|
|
22632
22632
|
return this.dbs_1;
|
|
22633
22633
|
};
|
|
22634
22634
|
protoOf(OnlineGameMechanicImpl).observeFromClientAction = function () {
|
|
22635
|
-
return this.ebs_1.
|
|
22635
|
+
return this.ebs_1.g99();
|
|
22636
22636
|
};
|
|
22637
22637
|
protoOf(OnlineGameMechanicImpl).mechanicActions = function (actions) {
|
|
22638
22638
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -22647,7 +22647,7 @@
|
|
|
22647
22647
|
destination.j(tmp$ret$0);
|
|
22648
22648
|
}
|
|
22649
22649
|
this.fbs_1.d('OnlineGameMechanic', 'mechanicActions = ' + toString(destination) + ', state: ' + this.wb6_1.h6f().gameLifecycleState.toString());
|
|
22650
|
-
this.wb6_1.
|
|
22650
|
+
this.wb6_1.a72(OnlineGameMechanicImpl$mechanicActions$slambda_0(actions, this, null));
|
|
22651
22651
|
};
|
|
22652
22652
|
function SingleGameMechanic$continueSavedGame$slambda($state, $users, $config, resultContinuation) {
|
|
22653
22653
|
this.abt_1 = $state;
|
|
@@ -22685,7 +22685,7 @@
|
|
|
22685
22685
|
while (first.m() && second.m()) {
|
|
22686
22686
|
var tmp0_1 = first.n();
|
|
22687
22687
|
var user = second.n();
|
|
22688
|
-
list.j(tmp0_1.
|
|
22688
|
+
list.j(tmp0_1.t7a(user));
|
|
22689
22689
|
}
|
|
22690
22690
|
var tmp0_$this = table.config;
|
|
22691
22691
|
var tmp1_rules = this.cbt_1.rules;
|
|
@@ -22794,7 +22794,7 @@
|
|
|
22794
22794
|
var tmp = this.s8_1;
|
|
22795
22795
|
if (tmp === 0) {
|
|
22796
22796
|
this.t8_1 = 1;
|
|
22797
|
-
this.cbu_1.dispatch(new FinishGameMechanicAction(new PlayerExitReason(this.abu_1.jbu_1), this.cbu_1.state.
|
|
22797
|
+
this.cbu_1.dispatch(new FinishGameMechanicAction(new PlayerExitReason(this.abu_1.jbu_1), this.cbu_1.state.c72().isGameFinished));
|
|
22798
22798
|
return Unit_instance;
|
|
22799
22799
|
} else if (tmp === 1) {
|
|
22800
22800
|
throw this.v8_1;
|
|
@@ -22832,13 +22832,13 @@
|
|
|
22832
22832
|
return this.kbu_1.kb4();
|
|
22833
22833
|
};
|
|
22834
22834
|
protoOf(SingleGameMechanic).obu = function (state, config, users) {
|
|
22835
|
-
this.wb6_1.
|
|
22835
|
+
this.wb6_1.a72(SingleGameMechanic$continueSavedGame$slambda_0(state, users, config, null));
|
|
22836
22836
|
};
|
|
22837
22837
|
protoOf(SingleGameMechanic).pbu = function (gameId, users, config) {
|
|
22838
|
-
this.wb6_1.
|
|
22838
|
+
this.wb6_1.a72(SingleGameMechanic$newGame$slambda_0(users, config, gameId, null));
|
|
22839
22839
|
};
|
|
22840
22840
|
protoOf(SingleGameMechanic).qbu = function () {
|
|
22841
|
-
this.wb6_1.
|
|
22841
|
+
this.wb6_1.a72(SingleGameMechanic$gameSaved$slambda_0(this, null));
|
|
22842
22842
|
};
|
|
22843
22843
|
function CalcPointsSceneImpl$observeControlsModeCalcPoints$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
22844
22844
|
this.zbu_1 = $$this$unsafeFlow;
|
|
@@ -22870,7 +22870,7 @@
|
|
|
22870
22870
|
case 1:
|
|
22871
22871
|
var $this$transform = this.cbv_1;
|
|
22872
22872
|
var value = this.bbv_1;
|
|
22873
|
-
if (value.
|
|
22873
|
+
if (value.c72().sceneInfo.h8i_1 === 'CALC_POINTS') {
|
|
22874
22874
|
this.s8_1 = 3;
|
|
22875
22875
|
suspendResult = $this$transform.i24(value, this);
|
|
22876
22876
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -22988,8 +22988,8 @@
|
|
|
22988
22988
|
var isShown = get_clientPayload(value).eaa_1;
|
|
22989
22989
|
var tmp_0;
|
|
22990
22990
|
if (isShown) {
|
|
22991
|
-
var tmp0_safe_receiver = value.
|
|
22992
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
22991
|
+
var tmp0_safe_receiver = value.c71_1;
|
|
22992
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p8k_1;
|
|
22993
22993
|
var tmp_1;
|
|
22994
22994
|
if (tmp1_safe_receiver == null) {
|
|
22995
22995
|
tmp_1 = null;
|
|
@@ -23045,11 +23045,11 @@
|
|
|
23045
23045
|
}
|
|
23046
23046
|
tmp_3 = tmp_4;
|
|
23047
23047
|
} else {
|
|
23048
|
-
var enabled = get_currentPlayer(value.
|
|
23049
|
-
var tmp0_0 = value.
|
|
23048
|
+
var enabled = get_currentPlayer(value.c72()).k75_1.u6f();
|
|
23049
|
+
var tmp0_0 = value.c72();
|
|
23050
23050
|
var tmp$ret$0;
|
|
23051
23051
|
l$ret$1: do {
|
|
23052
|
-
var sceneData = tmp0_0.sceneInfo.
|
|
23052
|
+
var sceneData = tmp0_0.sceneInfo.k8i_1;
|
|
23053
23053
|
if (sceneData instanceof CalcPointsSceneData) {
|
|
23054
23054
|
tmp$ret$0 = sceneData;
|
|
23055
23055
|
break l$ret$1;
|
|
@@ -23069,7 +23069,7 @@
|
|
|
23069
23069
|
this.xbv_1.dbw_1.w(VOID, "observeControlsModeCalcPoints: Scene data can't be null");
|
|
23070
23070
|
}
|
|
23071
23071
|
var tmp8_mode = CalcPointsControlsMode_READY_CONTROLS_getInstance();
|
|
23072
|
-
var tmp6_safe_receiver = sceneData_0 == null ? null : sceneData_0.
|
|
23072
|
+
var tmp6_safe_receiver = sceneData_0 == null ? null : sceneData_0.l7q_1;
|
|
23073
23073
|
var tmp_9;
|
|
23074
23074
|
if (tmp6_safe_receiver == null) {
|
|
23075
23075
|
tmp_9 = null;
|
|
@@ -23160,11 +23160,11 @@
|
|
|
23160
23160
|
};
|
|
23161
23161
|
function _get_scene__bi9f7f($this) {
|
|
23162
23162
|
// Inline function 'games.jass.logic.client.utils.getSceneClientData' call
|
|
23163
|
-
var this_0 = $this.cbw_1.h6f().
|
|
23163
|
+
var this_0 = $this.cbw_1.h6f().c72();
|
|
23164
23164
|
var tmp$ret$0;
|
|
23165
23165
|
$l$block_0: {
|
|
23166
23166
|
// Inline function 'games.jass.logic.client.utils.getSceneClientDataOrNull' call
|
|
23167
|
-
var sceneData = this_0.sceneInfo.
|
|
23167
|
+
var sceneData = this_0.sceneInfo.k8i_1;
|
|
23168
23168
|
if (sceneData instanceof CalcPointsSceneData) {
|
|
23169
23169
|
tmp$ret$0 = sceneData;
|
|
23170
23170
|
break $l$block_0;
|
|
@@ -23181,22 +23181,22 @@
|
|
|
23181
23181
|
var tmp0_elvis_lhs = tmp$ret$0;
|
|
23182
23182
|
var tmp_0;
|
|
23183
23183
|
if (tmp0_elvis_lhs == null) {
|
|
23184
|
-
throw new MechanicException('Required ' + getKClass(CalcPointsSceneData).ea() + ', current scene is ' + toString_0(this_0.sceneInfo.
|
|
23184
|
+
throw new MechanicException('Required ' + getKClass(CalcPointsSceneData).ea() + ', current scene is ' + toString_0(this_0.sceneInfo.k8i_1));
|
|
23185
23185
|
} else {
|
|
23186
23186
|
tmp_0 = tmp0_elvis_lhs;
|
|
23187
23187
|
}
|
|
23188
23188
|
return tmp_0;
|
|
23189
23189
|
}
|
|
23190
23190
|
function mapPoints($this, _this__u8e3s4, playersMode, players, gameHistory) {
|
|
23191
|
-
var tmp = getRoundPoints($this, _this__u8e3s4.
|
|
23191
|
+
var tmp = getRoundPoints($this, _this__u8e3s4.n7q_1, playersMode);
|
|
23192
23192
|
// Inline function 'kotlin.collections.map' call
|
|
23193
|
-
var this_0 = _this__u8e3s4.
|
|
23193
|
+
var this_0 = _this__u8e3s4.n7q_1;
|
|
23194
23194
|
// Inline function 'kotlin.collections.mapTo' call
|
|
23195
23195
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
23196
23196
|
var _iterator__ex2g4s = this_0.l();
|
|
23197
23197
|
while (_iterator__ex2g4s.m()) {
|
|
23198
23198
|
var item = _iterator__ex2g4s.n();
|
|
23199
|
-
var tmp$ret$0 = toVM(item, players, _this__u8e3s4.
|
|
23199
|
+
var tmp$ret$0 = toVM(item, players, _this__u8e3s4.l7q_1);
|
|
23200
23200
|
destination.j(tmp$ret$0);
|
|
23201
23201
|
}
|
|
23202
23202
|
var tmp_0 = destination;
|
|
@@ -23214,7 +23214,7 @@
|
|
|
23214
23214
|
while (_iterator__ex2g4s.m()) {
|
|
23215
23215
|
var element = _iterator__ex2g4s.n();
|
|
23216
23216
|
var tmp_0 = sum;
|
|
23217
|
-
sum = tmp_0 + element.
|
|
23217
|
+
sum = tmp_0 + element.c7c() | 0;
|
|
23218
23218
|
}
|
|
23219
23219
|
tmp = sum + 10 | 0;
|
|
23220
23220
|
}
|
|
@@ -23226,7 +23226,7 @@
|
|
|
23226
23226
|
var _iterator__ex2g4s_0 = _this__u8e3s4.l();
|
|
23227
23227
|
while (_iterator__ex2g4s_0.m()) {
|
|
23228
23228
|
var item = _iterator__ex2g4s_0.n();
|
|
23229
|
-
var tmp$ret$2 = item.
|
|
23229
|
+
var tmp$ret$2 = item.n7g_1;
|
|
23230
23230
|
destination.j(tmp$ret$2);
|
|
23231
23231
|
}
|
|
23232
23232
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -23236,7 +23236,7 @@
|
|
|
23236
23236
|
var _iterator__ex2g4s_1 = this_0.l();
|
|
23237
23237
|
while (_iterator__ex2g4s_1.m()) {
|
|
23238
23238
|
var item_0 = _iterator__ex2g4s_1.n();
|
|
23239
|
-
var tmp0_elvis_lhs = item_0.
|
|
23239
|
+
var tmp0_elvis_lhs = item_0.w7g_1;
|
|
23240
23240
|
var tmp$ret$5 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
23241
23241
|
destination_0.j(tmp$ret$5);
|
|
23242
23242
|
}
|
|
@@ -23247,7 +23247,7 @@
|
|
|
23247
23247
|
var _iterator__ex2g4s_2 = this_1.l();
|
|
23248
23248
|
while (_iterator__ex2g4s_2.m()) {
|
|
23249
23249
|
var item_1 = _iterator__ex2g4s_2.n();
|
|
23250
|
-
var tmp$ret$8 = new CombinationPointClause(mapFromDetailed(item_1), item_1.
|
|
23250
|
+
var tmp$ret$8 = new CombinationPointClause(mapFromDetailed(item_1), item_1.d7g_1);
|
|
23251
23251
|
destination_1.j(tmp$ret$8);
|
|
23252
23252
|
}
|
|
23253
23253
|
var tmp$ret$11;
|
|
@@ -23316,8 +23316,8 @@
|
|
|
23316
23316
|
var tmp = this.s8_1;
|
|
23317
23317
|
if (tmp === 0) {
|
|
23318
23318
|
this.t8_1 = 1;
|
|
23319
|
-
var table = this.abx_1.cbw_1.h6f().
|
|
23320
|
-
this.cbx_1.dispatch(new PlayerReadyFromClientAction(get_currentPlayer(table).playerId, false, this.abx_1.ebw_1.
|
|
23319
|
+
var table = this.abx_1.cbw_1.h6f().c72();
|
|
23320
|
+
this.cbx_1.dispatch(new PlayerReadyFromClientAction(get_currentPlayer(table).playerId, false, this.abx_1.ebw_1.q9a(table.gameInfo.round)));
|
|
23321
23321
|
return Unit_instance;
|
|
23322
23322
|
} else if (tmp === 1) {
|
|
23323
23323
|
throw this.v8_1;
|
|
@@ -23379,17 +23379,17 @@
|
|
|
23379
23379
|
return this.cbw_1;
|
|
23380
23380
|
};
|
|
23381
23381
|
protoOf(CalcPointsSceneImpl).ebx = function () {
|
|
23382
|
-
var table = this.cbw_1.h6f().
|
|
23382
|
+
var table = this.cbw_1.h6f().c72();
|
|
23383
23383
|
return mapPoints(this, _get_scene__bi9f7f(this), table.config.playersMode, table.players, table.gameHistory);
|
|
23384
23384
|
};
|
|
23385
23385
|
protoOf(CalcPointsSceneImpl).fbx = function () {
|
|
23386
|
-
return _get_scene__bi9f7f(this).
|
|
23386
|
+
return _get_scene__bi9f7f(this).k7q_1;
|
|
23387
23387
|
};
|
|
23388
23388
|
protoOf(CalcPointsSceneImpl).gbx = function () {
|
|
23389
|
-
return _get_scene__bi9f7f(this).
|
|
23389
|
+
return _get_scene__bi9f7f(this).l7q_1;
|
|
23390
23390
|
};
|
|
23391
23391
|
protoOf(CalcPointsSceneImpl).hbx = function () {
|
|
23392
|
-
this.cbw_1.
|
|
23392
|
+
this.cbw_1.a72(CalcPointsSceneImpl$ready$slambda_0(this, null));
|
|
23393
23393
|
};
|
|
23394
23394
|
protoOf(CalcPointsSceneImpl).ibx = function () {
|
|
23395
23395
|
// Inline function 'kotlinx.coroutines.flow.filter' call
|
|
@@ -23451,7 +23451,7 @@
|
|
|
23451
23451
|
var tmp0 = this.sbx_1;
|
|
23452
23452
|
var value = this.tbx_1;
|
|
23453
23453
|
this.s8_1 = 1;
|
|
23454
|
-
suspendResult = tmp0.i24(get_currentPlayer(value).
|
|
23454
|
+
suspendResult = tmp0.i24(get_currentPlayer(value).m75_1.n7a_1, this);
|
|
23455
23455
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
23456
23456
|
return suspendResult;
|
|
23457
23457
|
}
|
|
@@ -23548,7 +23548,7 @@
|
|
|
23548
23548
|
var tmp0 = this.nby_1;
|
|
23549
23549
|
var value = this.oby_1;
|
|
23550
23550
|
this.s8_1 = 1;
|
|
23551
|
-
suspendResult = tmp0.i24(get_currentPlayer(value).
|
|
23551
|
+
suspendResult = tmp0.i24(get_currentPlayer(value).m75_1.n7a_1 > 0, this);
|
|
23552
23552
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
23553
23553
|
return suspendResult;
|
|
23554
23554
|
}
|
|
@@ -23744,7 +23744,7 @@
|
|
|
23744
23744
|
var tmp0 = this.dc0_1;
|
|
23745
23745
|
var value = this.ec0_1;
|
|
23746
23746
|
this.s8_1 = 1;
|
|
23747
|
-
suspendResult = tmp0.i24(value.
|
|
23747
|
+
suspendResult = tmp0.i24(value.c72().gameInfo.roundNumberTotal, this);
|
|
23748
23748
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
23749
23749
|
return suspendResult;
|
|
23750
23750
|
}
|
|
@@ -24194,7 +24194,7 @@
|
|
|
24194
24194
|
var tmp = this.s8_1;
|
|
24195
24195
|
if (tmp === 0) {
|
|
24196
24196
|
this.t8_1 = 1;
|
|
24197
|
-
var currentPlayer = get_currentPlayer(this.ac3_1.bc1_1.h6f().
|
|
24197
|
+
var currentPlayer = get_currentPlayer(this.ac3_1.bc1_1.h6f().c72());
|
|
24198
24198
|
var tmp_0 = this.dc3_1.dispatch;
|
|
24199
24199
|
var tmp0_playerId = currentPlayer.playerId;
|
|
24200
24200
|
tmp_0(new MessageFromClientAction(tmp0_playerId, false, null, this.bc3_1, null));
|
|
@@ -24244,7 +24244,7 @@
|
|
|
24244
24244
|
var tmp = this.s8_1;
|
|
24245
24245
|
if (tmp === 0) {
|
|
24246
24246
|
this.t8_1 = 1;
|
|
24247
|
-
var currentPlayer = get_currentPlayer(this.mc3_1.bc1_1.h6f().
|
|
24247
|
+
var currentPlayer = get_currentPlayer(this.mc3_1.bc1_1.h6f().c72());
|
|
24248
24248
|
var tmp_0 = this.pc3_1.dispatch;
|
|
24249
24249
|
var tmp0_playerId = currentPlayer.playerId;
|
|
24250
24250
|
tmp_0(new MessageFromClientAction(tmp0_playerId, false, null, null, this.nc3_1));
|
|
@@ -24294,7 +24294,7 @@
|
|
|
24294
24294
|
var tmp = this.s8_1;
|
|
24295
24295
|
if (tmp === 0) {
|
|
24296
24296
|
this.t8_1 = 1;
|
|
24297
|
-
var currentPlayer = get_currentPlayer(this.yc3_1.bc1_1.h6f().
|
|
24297
|
+
var currentPlayer = get_currentPlayer(this.yc3_1.bc1_1.h6f().c72());
|
|
24298
24298
|
var tmp_0 = this.bc4_1.dispatch;
|
|
24299
24299
|
var tmp0_playerId = currentPlayer.playerId;
|
|
24300
24300
|
tmp_0(new MessageFromClientAction(tmp0_playerId, false, this.zc3_1, null, null));
|
|
@@ -24449,16 +24449,16 @@
|
|
|
24449
24449
|
return distinctUntilChanged(tmp$ret$2);
|
|
24450
24450
|
};
|
|
24451
24451
|
protoOf(ChatSceneImpl).oc4 = function (phrase) {
|
|
24452
|
-
this.bc1_1.
|
|
24452
|
+
this.bc1_1.a72(ChatSceneImpl$sendPhrase$slambda_0(this, phrase, null));
|
|
24453
24453
|
};
|
|
24454
24454
|
protoOf(ChatSceneImpl).pc4 = function (url) {
|
|
24455
|
-
this.bc1_1.
|
|
24455
|
+
this.bc1_1.a72(ChatSceneImpl$sendSticker$slambda_0(this, url, null));
|
|
24456
24456
|
};
|
|
24457
24457
|
protoOf(ChatSceneImpl).qc4 = function (message) {
|
|
24458
|
-
this.bc1_1.
|
|
24458
|
+
this.bc1_1.a72(ChatSceneImpl$sendMessage$slambda_0(this, message, null));
|
|
24459
24459
|
};
|
|
24460
24460
|
protoOf(ChatSceneImpl).rc4 = function () {
|
|
24461
|
-
this.bc1_1.
|
|
24461
|
+
this.bc1_1.a72(ChatSceneImpl$onMessageSent$slambda_0(null));
|
|
24462
24462
|
};
|
|
24463
24463
|
protoOf(ChatSceneImpl).cc1 = function () {
|
|
24464
24464
|
var tmp0_safe_receiver = get_clientPayloadOrNull(this.bc1_1.h6f());
|
|
@@ -24873,7 +24873,7 @@
|
|
|
24873
24873
|
case 1:
|
|
24874
24874
|
var $this$transform = this.sc7_1;
|
|
24875
24875
|
var value = this.rc7_1;
|
|
24876
|
-
if (value.
|
|
24876
|
+
if (value.c72().sceneInfo.h8i_1 === 'CHOOSE_PARTNER') {
|
|
24877
24877
|
this.s8_1 = 3;
|
|
24878
24878
|
suspendResult = $this$transform.i24(value, this);
|
|
24879
24879
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -25008,10 +25008,10 @@
|
|
|
25008
25008
|
var notInterceptedAction = singleOrNull(destination_0) == null;
|
|
25009
25009
|
var tmp_0;
|
|
25010
25010
|
if (isSceneActive && notInterceptedAction) {
|
|
25011
|
-
var player = get_currentPlayer(value.
|
|
25011
|
+
var player = get_currentPlayer(value.c72());
|
|
25012
25012
|
var tmp_1;
|
|
25013
|
-
if (player.
|
|
25014
|
-
var enabled = player.
|
|
25013
|
+
if (player.m75_1.f7a_1) {
|
|
25014
|
+
var enabled = player.k75_1.u6f();
|
|
25015
25015
|
var tmp_2;
|
|
25016
25016
|
if (enabled) {
|
|
25017
25017
|
tmp_2 = new TeamsControlsViewModel(TeamsControlsMode_ACCEPT_PARTNER_getInstance(), VOID, true, true);
|
|
@@ -25176,10 +25176,10 @@
|
|
|
25176
25176
|
var tmp = this.s8_1;
|
|
25177
25177
|
if (tmp === 0) {
|
|
25178
25178
|
this.t8_1 = 1;
|
|
25179
|
-
var table = this.jc9_1.rc9_1.h6f().
|
|
25179
|
+
var table = this.jc9_1.rc9_1.h6f().c72();
|
|
25180
25180
|
var tmp_0 = this.mc9_1.dispatch;
|
|
25181
25181
|
var tmp0_playerId = get_currentPlayer(table).playerId;
|
|
25182
|
-
var tmp1_tag = this.jc9_1.sc9_1.
|
|
25182
|
+
var tmp1_tag = this.jc9_1.sc9_1.p9a(table.gameInfo.round);
|
|
25183
25183
|
tmp_0(new PartnerSelectedFromClientAction(tmp0_playerId, false, tmp1_tag, this.kc9_1));
|
|
25184
25184
|
return Unit_instance;
|
|
25185
25185
|
} else if (tmp === 1) {
|
|
@@ -25277,7 +25277,7 @@
|
|
|
25277
25277
|
return this.rc9_1;
|
|
25278
25278
|
};
|
|
25279
25279
|
protoOf(ChoosePartnerSceneImpl).tc9 = function (playerId) {
|
|
25280
|
-
this.rc9_1.
|
|
25280
|
+
this.rc9_1.a72(ChoosePartnerSceneImpl$partnerChoice$slambda_0(this, playerId, null));
|
|
25281
25281
|
};
|
|
25282
25282
|
protoOf(ChoosePartnerSceneImpl).uc9 = function () {
|
|
25283
25283
|
// Inline function 'games.jass.logic.client.utils.observeNotFinishedExpectant' call
|
|
@@ -25519,7 +25519,7 @@
|
|
|
25519
25519
|
var tmp0 = this.ocb_1;
|
|
25520
25520
|
var value = this.pcb_1;
|
|
25521
25521
|
this.s8_1 = 1;
|
|
25522
|
-
suspendResult = tmp0.i24(value.sceneInfo.
|
|
25522
|
+
suspendResult = tmp0.i24(value.sceneInfo.h8i_1, this);
|
|
25523
25523
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
25524
25524
|
return suspendResult;
|
|
25525
25525
|
}
|
|
@@ -25973,7 +25973,7 @@
|
|
|
25973
25973
|
return distinctUntilChanged(tmp$ret$2);
|
|
25974
25974
|
};
|
|
25975
25975
|
protoOf(TableSceneImpl).oca = function (ids) {
|
|
25976
|
-
this.bce_1.
|
|
25976
|
+
this.bce_1.a72(TableSceneImpl$transitionsFinished$slambda_0(ids, null));
|
|
25977
25977
|
};
|
|
25978
25978
|
protoOf(TableSceneImpl).wc9 = function (id) {
|
|
25979
25979
|
this.xcd_1.wc9(id);
|
|
@@ -26137,14 +26137,14 @@
|
|
|
26137
26137
|
tmp$ret$0 = false;
|
|
26138
26138
|
break l$ret$1;
|
|
26139
26139
|
}
|
|
26140
|
-
var sceneId = value.
|
|
26140
|
+
var sceneId = value.c72().sceneInfo.h8i_1;
|
|
26141
26141
|
if (!get_isSceneWithCards(sceneId)) {
|
|
26142
26142
|
tmp$ret$0 = false;
|
|
26143
26143
|
break l$ret$1;
|
|
26144
26144
|
}
|
|
26145
26145
|
var tmp_0;
|
|
26146
26146
|
if (this.fcf_1.jcf_1) {
|
|
26147
|
-
tmp_0 = (get_currentPlayer(value.
|
|
26147
|
+
tmp_0 = (get_currentPlayer(value.c72()).k75_1.u6f() && get_clientPayload(value).eaa_1);
|
|
26148
26148
|
} else {
|
|
26149
26149
|
tmp_0 = get_clientPayload(value).eaa_1;
|
|
26150
26150
|
}
|
|
@@ -26377,10 +26377,10 @@
|
|
|
26377
26377
|
this.tcg_1 = gameClient;
|
|
26378
26378
|
}
|
|
26379
26379
|
protoOf(ExpectantContractImpl).xc9 = function (id) {
|
|
26380
|
-
this.tcg_1.
|
|
26380
|
+
this.tcg_1.a72(ExpectantContractImpl$expectantStageCompleted$slambda_0(id, null));
|
|
26381
26381
|
};
|
|
26382
26382
|
protoOf(ExpectantContractImpl).wc9 = function (id) {
|
|
26383
|
-
this.tcg_1.
|
|
26383
|
+
this.tcg_1.a72(ExpectantContractImpl$expectantTimerFinished$slambda_0(id, null));
|
|
26384
26384
|
};
|
|
26385
26385
|
function GameEngineSceneContract$waitUntilSceneActivated$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
26386
26386
|
this.cch_1 = $$this$unsafeFlow;
|
|
@@ -26954,11 +26954,11 @@
|
|
|
26954
26954
|
var tmp0 = this.icl_1;
|
|
26955
26955
|
var tmp$ret$0 = Unit_instance;
|
|
26956
26956
|
l$ret$1: do {
|
|
26957
|
-
if (!tmp0.
|
|
26957
|
+
if (!tmp0.d72()) {
|
|
26958
26958
|
tmp$ret$0 = null;
|
|
26959
26959
|
break l$ret$1;
|
|
26960
26960
|
}
|
|
26961
|
-
var table = tmp0.
|
|
26961
|
+
var table = tmp0.c72();
|
|
26962
26962
|
var this_0 = table.players;
|
|
26963
26963
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
26964
26964
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -27098,11 +27098,11 @@
|
|
|
27098
27098
|
var tmp0 = this.mcm_1;
|
|
27099
27099
|
var tmp$ret$0 = Unit_instance;
|
|
27100
27100
|
l$ret$1: do {
|
|
27101
|
-
if (!tmp0.
|
|
27101
|
+
if (!tmp0.d72()) {
|
|
27102
27102
|
tmp$ret$0 = null;
|
|
27103
27103
|
break l$ret$1;
|
|
27104
27104
|
}
|
|
27105
|
-
var table = tmp0.
|
|
27105
|
+
var table = tmp0.c72();
|
|
27106
27106
|
var player = getPlayer(table.players, this.hcm_1);
|
|
27107
27107
|
tmp$ret$0 = toStateVM(player, this.icm_1.lcl_1.showPlayerConnectionState, table.isGameFinished, get_isCreated(tmp0));
|
|
27108
27108
|
}
|
|
@@ -27230,11 +27230,11 @@
|
|
|
27230
27230
|
this.s8_1 = 1;
|
|
27231
27231
|
var tmp$ret$0 = Unit_instance;
|
|
27232
27232
|
l$ret$1: do {
|
|
27233
|
-
if (!value.
|
|
27233
|
+
if (!value.d72()) {
|
|
27234
27234
|
tmp$ret$0 = null;
|
|
27235
27235
|
break l$ret$1;
|
|
27236
27236
|
}
|
|
27237
|
-
var player = getPlayer(value.
|
|
27237
|
+
var player = getPlayer(value.c72().players, this.kcn_1);
|
|
27238
27238
|
var tmp0_safe_receiver = findMessageForPlayer(this.lcn_1, player.playerId, get_clientPayload(value).za9_1);
|
|
27239
27239
|
var tmp_0;
|
|
27240
27240
|
if (tmp0_safe_receiver == null) {
|
|
@@ -27350,7 +27350,7 @@
|
|
|
27350
27350
|
this.lco_1 = this.oco_1;
|
|
27351
27351
|
var table = this.nco_1;
|
|
27352
27352
|
var player = getPlayer(table.players, this.jco_1);
|
|
27353
|
-
var tmp0_safe_receiver = player.
|
|
27353
|
+
var tmp0_safe_receiver = player.k75_1.t6f_1;
|
|
27354
27354
|
var tmp0_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z6f_1;
|
|
27355
27355
|
if (tmp0_elvis_lhs == null) {
|
|
27356
27356
|
this.s8_1 = 4;
|
|
@@ -27484,7 +27484,7 @@
|
|
|
27484
27484
|
var _iterator__ex2g4s_0 = destination.l();
|
|
27485
27485
|
while (_iterator__ex2g4s_0.m()) {
|
|
27486
27486
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
27487
|
-
if (element_0.
|
|
27487
|
+
if (element_0.j76()) {
|
|
27488
27488
|
destination_0.j(element_0);
|
|
27489
27489
|
}
|
|
27490
27490
|
}
|
|
@@ -27503,7 +27503,7 @@
|
|
|
27503
27503
|
var iterator = destination_1.s(destination_1.o());
|
|
27504
27504
|
while (iterator.k4()) {
|
|
27505
27505
|
var element_1 = iterator.m4();
|
|
27506
|
-
if (element_1.
|
|
27506
|
+
if (element_1.o77().v6e_1 === playerId) {
|
|
27507
27507
|
tmp$ret$10 = element_1;
|
|
27508
27508
|
break $l$block;
|
|
27509
27509
|
}
|
|
@@ -27762,7 +27762,7 @@
|
|
|
27762
27762
|
return this.kcl_1;
|
|
27763
27763
|
};
|
|
27764
27764
|
protoOf(PlayersSceneContractImpl).pbr = function () {
|
|
27765
|
-
return getPlayersVM(this, this.kcl_1.h6f().
|
|
27765
|
+
return getPlayersVM(this, this.kcl_1.h6f().c72());
|
|
27766
27766
|
};
|
|
27767
27767
|
protoOf(PlayersSceneContractImpl).qbr = function () {
|
|
27768
27768
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
@@ -27871,7 +27871,7 @@
|
|
|
27871
27871
|
return this.tcp_1;
|
|
27872
27872
|
};
|
|
27873
27873
|
protoOf(SceneActionsContractImpl).jbx = function (isActive) {
|
|
27874
|
-
this.tcp_1.
|
|
27874
|
+
this.tcp_1.a72(SceneActionsContractImpl$setSceneActiveState$slambda_0(isActive, null));
|
|
27875
27875
|
};
|
|
27876
27876
|
function EarnPointsSceneContractImpl$observeCardsState$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
|
|
27877
27877
|
this.ccq_1 = $$this$unsafeFlow;
|
|
@@ -27898,7 +27898,7 @@
|
|
|
27898
27898
|
var tmp0 = this.ccq_1;
|
|
27899
27899
|
var value = this.ecq_1;
|
|
27900
27900
|
this.s8_1 = 1;
|
|
27901
|
-
suspendResult = tmp0.i24(this.dcq_1.hcq_1.kcq(true, get_currentPlayer(value.
|
|
27901
|
+
suspendResult = tmp0.i24(this.dcq_1.hcq_1.kcq(true, get_currentPlayer(value.c72()).l75_1, get_isCreated(value), value.c72(), get_clientPayload(value)), this);
|
|
27902
27902
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
27903
27903
|
return suspendResult;
|
|
27904
27904
|
}
|
|
@@ -28093,7 +28093,7 @@
|
|
|
28093
28093
|
var tmp0 = this.acs_1;
|
|
28094
28094
|
var value = this.bcs_1;
|
|
28095
28095
|
this.s8_1 = 1;
|
|
28096
|
-
suspendResult = tmp0.i24(value == null ? null : value.
|
|
28096
|
+
suspendResult = tmp0.i24(value == null ? null : value.p79_1, this);
|
|
28097
28097
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
28098
28098
|
return suspendResult;
|
|
28099
28099
|
}
|
|
@@ -28315,7 +28315,7 @@
|
|
|
28315
28315
|
var tmp0 = this.uct_1;
|
|
28316
28316
|
var value = this.wct_1;
|
|
28317
28317
|
this.s8_1 = 1;
|
|
28318
|
-
var table = value.
|
|
28318
|
+
var table = value.c72();
|
|
28319
28319
|
var clientPayload = get_clientPayload(value);
|
|
28320
28320
|
var cards = Companion_instance_86.xct(get_currentPlayer(table).playerId, table.cardsOnTable, mapWithIndex(table.players), clientPayload.kaa_1);
|
|
28321
28321
|
var tmp0_0 = clientPayload.baa_1;
|
|
@@ -28433,7 +28433,7 @@
|
|
|
28433
28433
|
var tmp0 = this.scu_1;
|
|
28434
28434
|
var value = this.ucu_1;
|
|
28435
28435
|
this.s8_1 = 1;
|
|
28436
|
-
var table = value.
|
|
28436
|
+
var table = value.c72();
|
|
28437
28437
|
var clientPayload = get_clientPayload(value);
|
|
28438
28438
|
var cardsOnTable = getCardsOnTableFromStateV2(this.tcu_1, table, clientPayload);
|
|
28439
28439
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(cardsOnTable, 10));
|
|
@@ -28562,7 +28562,7 @@
|
|
|
28562
28562
|
var tmp0 = this.pcv_1;
|
|
28563
28563
|
var value = this.rcv_1;
|
|
28564
28564
|
this.s8_1 = 1;
|
|
28565
|
-
var table = value.
|
|
28565
|
+
var table = value.c72();
|
|
28566
28566
|
var clientPayload = get_clientPayload(value);
|
|
28567
28567
|
suspendResult = tmp0.i24(Companion_instance_86.scv(getPlayer(table.players, this.qcv_1), table.cardsOnTable, mapWithIndex(table.players), clientPayload.kaa_1), this);
|
|
28568
28568
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -28796,7 +28796,7 @@
|
|
|
28796
28796
|
var _iterator__ex2g4s = cardsOnTable.l();
|
|
28797
28797
|
while (_iterator__ex2g4s.m()) {
|
|
28798
28798
|
var element = _iterator__ex2g4s.n();
|
|
28799
|
-
if (element.
|
|
28799
|
+
if (element.m7o_1 === currentPlayerId) {
|
|
28800
28800
|
tmp$ret$0 = false;
|
|
28801
28801
|
break $l$block_0;
|
|
28802
28802
|
}
|
|
@@ -28820,8 +28820,8 @@
|
|
|
28820
28820
|
var _iterator__ex2g4s_0 = updatedCardsOnTable.l();
|
|
28821
28821
|
while (_iterator__ex2g4s_0.m()) {
|
|
28822
28822
|
var item = _iterator__ex2g4s_0.n();
|
|
28823
|
-
var highlightedCards = $this.hcq_1.ccx(item.
|
|
28824
|
-
var tmp$ret$2 = toVMV2(item, getPlayerIndex(table.players, item.
|
|
28823
|
+
var highlightedCards = $this.hcq_1.ccx(item.m7o_1 === currentPlayerId, clientPayload.haa_1);
|
|
28824
|
+
var tmp$ret$2 = toVMV2(item, getPlayerIndex(table.players, item.m7o_1), highlightedCards);
|
|
28825
28825
|
destination.j(tmp$ret$2);
|
|
28826
28826
|
}
|
|
28827
28827
|
return destination;
|
|
@@ -28830,14 +28830,14 @@
|
|
|
28830
28830
|
if (interceptedPickUpBribeMechanicAction == null)
|
|
28831
28831
|
return null;
|
|
28832
28832
|
var tmp;
|
|
28833
|
-
if (interceptedPickUpBribeMechanicAction.ean_1.
|
|
28833
|
+
if (interceptedPickUpBribeMechanicAction.ean_1.z8g_1 === 0) {
|
|
28834
28834
|
// Inline function 'kotlin.collections.flatMap' call
|
|
28835
28835
|
// Inline function 'kotlin.collections.flatMapTo' call
|
|
28836
28836
|
var destination = ArrayList_init_$Create$_0();
|
|
28837
28837
|
var _iterator__ex2g4s = players.l();
|
|
28838
28838
|
while (_iterator__ex2g4s.m()) {
|
|
28839
28839
|
var element = _iterator__ex2g4s.n();
|
|
28840
|
-
var list = filterWithFirstCardOrBela(element.
|
|
28840
|
+
var list = filterWithFirstCardOrBela(element.o75_1.s7b_1);
|
|
28841
28841
|
addAll(destination, list);
|
|
28842
28842
|
}
|
|
28843
28843
|
var tmp$ret$3;
|
|
@@ -28856,7 +28856,7 @@
|
|
|
28856
28856
|
var _iterator__ex2g4s_0 = destination.l();
|
|
28857
28857
|
while (_iterator__ex2g4s_0.m()) {
|
|
28858
28858
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
28859
|
-
if (element_0.
|
|
28859
|
+
if (element_0.a7g_1.equals(CombinationState_ACCEPTED_getInstance())) {
|
|
28860
28860
|
tmp$ret$3 = true;
|
|
28861
28861
|
break $l$block_0;
|
|
28862
28862
|
}
|
|
@@ -29115,7 +29115,7 @@
|
|
|
29115
29115
|
return this.j24(collector, $completion);
|
|
29116
29116
|
};
|
|
29117
29117
|
function EarnPointsSceneContractImpl$observeCardsOnTheTable$lambda(old, new_0) {
|
|
29118
|
-
return equals(old.
|
|
29118
|
+
return equals(old.c72().cardsOnTable, new_0.c72().cardsOnTable) && equals(get_clientPayload(old).kaa_1, get_clientPayload(new_0).kaa_1) && equals(get_clientPayload(old).baa_1, get_clientPayload(new_0).baa_1);
|
|
29119
29119
|
}
|
|
29120
29120
|
function EarnPointsSceneContractImpl$observeCardsOnTheTable$$inlined$map$1($this, this$0) {
|
|
29121
29121
|
this.icu_1 = $this;
|
|
@@ -29158,7 +29158,7 @@
|
|
|
29158
29158
|
return !destination.q();
|
|
29159
29159
|
}
|
|
29160
29160
|
function EarnPointsSceneContractImpl$observeCardOnTheTableById$lambda(old, new_0) {
|
|
29161
|
-
return equals(old.
|
|
29161
|
+
return equals(old.c72().cardsOnTable, new_0.c72().cardsOnTable) && equals(get_clientPayload(old).kaa_1, get_clientPayload(new_0).kaa_1);
|
|
29162
29162
|
}
|
|
29163
29163
|
function EarnPointsSceneContractImpl$observeCardOnTheTableById$$inlined$map$1($this, $playerId) {
|
|
29164
29164
|
this.dcw_1 = $this;
|
|
@@ -29345,10 +29345,10 @@
|
|
|
29345
29345
|
return distinctUntilChanged(tmp$ret$2);
|
|
29346
29346
|
};
|
|
29347
29347
|
protoOf(EarnPointsSceneContractImpl).kca = function (card) {
|
|
29348
|
-
this.gcq_1.
|
|
29348
|
+
this.gcq_1.a72(EarnPointsSceneContractImpl$onClickDisabledCard$slambda_0(card, null));
|
|
29349
29349
|
};
|
|
29350
29350
|
protoOf(EarnPointsSceneContractImpl).jca = function (card) {
|
|
29351
|
-
this.gcq_1.
|
|
29351
|
+
this.gcq_1.a72(EarnPointsSceneContractImpl$onCardPut$slambda_0(card, null));
|
|
29352
29352
|
};
|
|
29353
29353
|
function TableSceneContractImpl$observeTable$slambda$slambda(resultContinuation) {
|
|
29354
29354
|
CoroutineImpl.call(this, resultContinuation);
|
|
@@ -29428,7 +29428,7 @@
|
|
|
29428
29428
|
case 1:
|
|
29429
29429
|
var $this$transform = this.fcz_1;
|
|
29430
29430
|
var value = this.ecz_1;
|
|
29431
|
-
if (value.
|
|
29431
|
+
if (value.c72().isCardDeckExist) {
|
|
29432
29432
|
this.s8_1 = 3;
|
|
29433
29433
|
suspendResult = $this$transform.i24(value, this);
|
|
29434
29434
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -29560,22 +29560,22 @@
|
|
|
29560
29560
|
}
|
|
29561
29561
|
|
|
29562
29562
|
var expectant = singleOrNull(destination_0);
|
|
29563
|
-
var tmp0_elvis_lhs = value.
|
|
29563
|
+
var tmp0_elvis_lhs = value.c72().gameInfo.round.trump;
|
|
29564
29564
|
var tmp_0;
|
|
29565
29565
|
if (tmp0_elvis_lhs == null) {
|
|
29566
29566
|
var tmp2_safe_receiver = expectant == null ? null : expectant.ean_1;
|
|
29567
|
-
tmp_0 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
29567
|
+
tmp_0 = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.n8g_1;
|
|
29568
29568
|
} else {
|
|
29569
29569
|
tmp_0 = tmp0_elvis_lhs;
|
|
29570
29570
|
}
|
|
29571
29571
|
|
|
29572
29572
|
var selectedRoundTrump = tmp_0;
|
|
29573
|
-
var cardDeckTrump = value.
|
|
29573
|
+
var cardDeckTrump = value.c72().requireCardDeck.m85_1.r5t();
|
|
29574
29574
|
var tmp_1;
|
|
29575
29575
|
if (selectedRoundTrump == null) {
|
|
29576
|
-
tmp_1 = new TrumpViewModel(cardDeckTrump, false, get_currentPlayer(value.
|
|
29576
|
+
tmp_1 = new TrumpViewModel(cardDeckTrump, false, get_currentPlayer(value.c72()).m75_1.p7a_1);
|
|
29577
29577
|
} else {
|
|
29578
|
-
tmp_1 = new TrumpViewModel(selectedRoundTrump, true, get_currentPlayer(value.
|
|
29578
|
+
tmp_1 = new TrumpViewModel(selectedRoundTrump, true, get_currentPlayer(value.c72()).m75_1.p7a_1);
|
|
29579
29579
|
}
|
|
29580
29580
|
|
|
29581
29581
|
suspendResult = tmp0.i24(tmp_1, this);
|
|
@@ -29676,7 +29676,7 @@
|
|
|
29676
29676
|
var tmp0 = this.ud0_1;
|
|
29677
29677
|
var value = this.wd0_1;
|
|
29678
29678
|
this.s8_1 = 1;
|
|
29679
|
-
suspendResult = tmp0.i24(getCardDeck(this.vd0_1, value.
|
|
29679
|
+
suspendResult = tmp0.i24(getCardDeck(this.vd0_1, value.c72(), get_clientPayload(value)), this);
|
|
29680
29680
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
29681
29681
|
return suspendResult;
|
|
29682
29682
|
}
|
|
@@ -29774,7 +29774,7 @@
|
|
|
29774
29774
|
var tmp0 = this.rd1_1;
|
|
29775
29775
|
var value = this.td1_1;
|
|
29776
29776
|
this.s8_1 = 1;
|
|
29777
|
-
suspendResult = tmp0.i24(getCardDeckV2(this.sd1_1, value.
|
|
29777
|
+
suspendResult = tmp0.i24(getCardDeckV2(this.sd1_1, value.c72(), get_clientPayload(value)), this);
|
|
29778
29778
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
29779
29779
|
return suspendResult;
|
|
29780
29780
|
}
|
|
@@ -29975,7 +29975,7 @@
|
|
|
29975
29975
|
case 1:
|
|
29976
29976
|
var $this$transform = this.md3_1;
|
|
29977
29977
|
var value = this.ld3_1;
|
|
29978
|
-
if (value.
|
|
29978
|
+
if (value.c72().isCardDeckExist) {
|
|
29979
29979
|
this.s8_1 = 3;
|
|
29980
29980
|
suspendResult = $this$transform.i24(value, this);
|
|
29981
29981
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -30093,7 +30093,7 @@
|
|
|
30093
30093
|
this.s8_1 = 1;
|
|
30094
30094
|
var tmp0_$this = this.hd4_1.md4_1;
|
|
30095
30095
|
var tmp1_isGameActive = get_isCreated(value);
|
|
30096
|
-
var tmp2_table = value.
|
|
30096
|
+
var tmp2_table = value.c72();
|
|
30097
30097
|
var tmp3_clientPayload = get_clientPayload(value);
|
|
30098
30098
|
suspendResult = tmp0.i24(tmp0_$this.od4(this.id4_1, tmp1_isGameActive, tmp2_table, tmp3_clientPayload), this);
|
|
30099
30099
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -30192,7 +30192,7 @@
|
|
|
30192
30192
|
var tmp0 = this.kd5_1;
|
|
30193
30193
|
var value = this.ld5_1;
|
|
30194
30194
|
this.s8_1 = 1;
|
|
30195
|
-
var this_0 = value.
|
|
30195
|
+
var this_0 = value.c72().players;
|
|
30196
30196
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
30197
30197
|
var _iterator__ex2g4s = this_0.l();
|
|
30198
30198
|
while (_iterator__ex2g4s.m()) {
|
|
@@ -30528,7 +30528,7 @@
|
|
|
30528
30528
|
case 1:
|
|
30529
30529
|
var $this$transform = this.ad8_1;
|
|
30530
30530
|
var value = this.zd7_1;
|
|
30531
|
-
if (value.
|
|
30531
|
+
if (value.c72().isCardDeckExist) {
|
|
30532
30532
|
this.s8_1 = 3;
|
|
30533
30533
|
suspendResult = $this$transform.i24(value, this);
|
|
30534
30534
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -30646,7 +30646,7 @@
|
|
|
30646
30646
|
this.s8_1 = 1;
|
|
30647
30647
|
var tmp0_$this = this.vd8_1.md4_1;
|
|
30648
30648
|
var tmp1_isGameActive = get_isCreated(value);
|
|
30649
|
-
var tmp2_table = value.
|
|
30649
|
+
var tmp2_table = value.c72();
|
|
30650
30650
|
var tmp3_clientPayload = get_clientPayload(value);
|
|
30651
30651
|
suspendResult = tmp0.i24(tmp0_$this.yd8(this.wd8_1, tmp1_isGameActive, tmp2_table, tmp3_clientPayload), this);
|
|
30652
30652
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -31264,7 +31264,7 @@
|
|
|
31264
31264
|
var item = _iterator__ex2g4s.n();
|
|
31265
31265
|
var tmp0_$this = $this.md4_1;
|
|
31266
31266
|
var tmp1_playerId = item.playerId;
|
|
31267
|
-
var tmp2_cards = item.
|
|
31267
|
+
var tmp2_cards = item.l75_1;
|
|
31268
31268
|
var tmp3_players = mapWithIndex(table.players);
|
|
31269
31269
|
var playerCards = tmp0_$this.pdd(tmp1_playerId, true, tmp2_cards, tmp3_players, null);
|
|
31270
31270
|
var tmp4_$this = $this.md4_1;
|
|
@@ -31273,10 +31273,10 @@
|
|
|
31273
31273
|
destination.j(tmp$ret$0);
|
|
31274
31274
|
}
|
|
31275
31275
|
var playersCardsToDistribute = flatten(destination);
|
|
31276
|
-
var tmp1_elvis_lhs = cardDeck == null ? null : cardDeck.
|
|
31276
|
+
var tmp1_elvis_lhs = cardDeck == null ? null : cardDeck.r91();
|
|
31277
31277
|
var tmp4_otherCardsCount = tmp1_elvis_lhs == null ? 0 : tmp1_elvis_lhs;
|
|
31278
|
-
var tmp5_trumpCard = cardDeck == null ? null : cardDeck.
|
|
31279
|
-
var tmp6_topOpenedCard = cardDeck == null ? null : cardDeck.
|
|
31278
|
+
var tmp5_trumpCard = cardDeck == null ? null : cardDeck.m85_1;
|
|
31279
|
+
var tmp6_topOpenedCard = cardDeck == null ? null : cardDeck.n85_1;
|
|
31280
31280
|
var tmp7_isUsed = isCardDeckUsed($this, table, clientPayload);
|
|
31281
31281
|
return new CardDeckViewModel(tmp4_otherCardsCount, tmp5_trumpCard, tmp6_topOpenedCard, tmp7_isUsed, playersCardsToDistribute);
|
|
31282
31282
|
}
|
|
@@ -31302,10 +31302,10 @@
|
|
|
31302
31302
|
}
|
|
31303
31303
|
}
|
|
31304
31304
|
var distributionTransition = firstOrNull(destination);
|
|
31305
|
-
return new CardDeckViewModelV2(cardDeck.
|
|
31305
|
+
return new CardDeckViewModelV2(cardDeck.r91(), cardDeck.m85_1, cardDeck.n85_1, getCardDeckState($this, table, clientPayload), distributionTransition);
|
|
31306
31306
|
}
|
|
31307
31307
|
function isCardDeckUsed($this, table, clientPayload) {
|
|
31308
|
-
switch (table.sceneInfo.
|
|
31308
|
+
switch (table.sceneInfo.h8i_1) {
|
|
31309
31309
|
case 'TRADE':
|
|
31310
31310
|
return false;
|
|
31311
31311
|
case 'EARN_POINTS':
|
|
@@ -31320,7 +31320,7 @@
|
|
|
31320
31320
|
}
|
|
31321
31321
|
function getCardDeckState($this, table, clientPayload) {
|
|
31322
31322
|
var tmp;
|
|
31323
|
-
switch (table.sceneInfo.
|
|
31323
|
+
switch (table.sceneInfo.h8i_1) {
|
|
31324
31324
|
case 'TRADE':
|
|
31325
31325
|
tmp = CardDeckState_READY_TO_DEAL_getInstance();
|
|
31326
31326
|
break;
|
|
@@ -31419,7 +31419,7 @@
|
|
|
31419
31419
|
var _iterator__ex2g4s = cardsOnTable.l();
|
|
31420
31420
|
while (_iterator__ex2g4s.m()) {
|
|
31421
31421
|
var element = _iterator__ex2g4s.n();
|
|
31422
|
-
if (element.
|
|
31422
|
+
if (element.m7o_1 === currentPlayerId) {
|
|
31423
31423
|
tmp$ret$0 = false;
|
|
31424
31424
|
break $l$block_0;
|
|
31425
31425
|
}
|
|
@@ -31443,7 +31443,7 @@
|
|
|
31443
31443
|
var _iterator__ex2g4s_0 = updatedCardsOnTable.l();
|
|
31444
31444
|
while (_iterator__ex2g4s_0.m()) {
|
|
31445
31445
|
var item = _iterator__ex2g4s_0.n();
|
|
31446
|
-
var tmp$ret$2 = toVM_0(item, getPlayerIndex(players, item.
|
|
31446
|
+
var tmp$ret$2 = toVM_0(item, getPlayerIndex(players, item.m7o_1));
|
|
31447
31447
|
destination.j(tmp$ret$2);
|
|
31448
31448
|
}
|
|
31449
31449
|
return destination;
|
|
@@ -32132,7 +32132,7 @@
|
|
|
32132
32132
|
};
|
|
32133
32133
|
protoOf(TableSceneContractImpl).rca = function () {
|
|
32134
32134
|
var state = this.kd4_1.h6f();
|
|
32135
|
-
return getCardDeck(this, state.
|
|
32135
|
+
return getCardDeck(this, state.c72(), get_clientPayload(state));
|
|
32136
32136
|
};
|
|
32137
32137
|
protoOf(TableSceneContractImpl).qca = function () {
|
|
32138
32138
|
// Inline function 'kotlinx.coroutines.flow.filter' call
|
|
@@ -32235,7 +32235,7 @@
|
|
|
32235
32235
|
return distinctUntilChanged(tmp$ret$9);
|
|
32236
32236
|
};
|
|
32237
32237
|
protoOf(TableSceneContractImpl).zca = function (isAccepted) {
|
|
32238
|
-
this.kd4_1.
|
|
32238
|
+
this.kd4_1.a72(TableSceneContractImpl$combinationChoice$slambda_0(isAccepted, null));
|
|
32239
32239
|
};
|
|
32240
32240
|
function TradeSceneContractImpl$observeTrumpSelectedExpectant$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
|
|
32241
32241
|
this.sdf_1 = $$this$unsafeFlow;
|
|
@@ -32261,9 +32261,9 @@
|
|
|
32261
32261
|
var tmp0 = this.sdf_1;
|
|
32262
32262
|
var value = this.tdf_1;
|
|
32263
32263
|
this.s8_1 = 1;
|
|
32264
|
-
var tmp0_safe_receiver = singleOrNull(filterWhoChoseSuit(value.
|
|
32265
|
-
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
32266
|
-
var isFirstSuitCirclePassed = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
32264
|
+
var tmp0_safe_receiver = singleOrNull(filterWhoChoseSuit(value.c72().players));
|
|
32265
|
+
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m75_1;
|
|
32266
|
+
var isFirstSuitCirclePassed = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.t7e();
|
|
32267
32267
|
var tmp_0;
|
|
32268
32268
|
if (!(isFirstSuitCirclePassed == null)) {
|
|
32269
32269
|
var tmp0_0 = get_clientPayload(value).baa_1;
|
|
@@ -32396,7 +32396,7 @@
|
|
|
32396
32396
|
case 1:
|
|
32397
32397
|
var $this$transform = this.qdg_1;
|
|
32398
32398
|
var value = this.pdg_1;
|
|
32399
|
-
if (value.
|
|
32399
|
+
if (value.c72().isCardDeckExist && value.c72().sceneInfo.h8i_1 === 'TRADE') {
|
|
32400
32400
|
this.s8_1 = 3;
|
|
32401
32401
|
suspendResult = $this$transform.i24(value, this);
|
|
32402
32402
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -32516,17 +32516,17 @@
|
|
|
32516
32516
|
tmp$ret$0 = new HiddenControlsViewModel();
|
|
32517
32517
|
break l$ret$1;
|
|
32518
32518
|
}
|
|
32519
|
-
var player = get_currentPlayer(value.
|
|
32520
|
-
var isShown = player.
|
|
32519
|
+
var player = get_currentPlayer(value.c72());
|
|
32520
|
+
var isShown = player.k75_1.u6f() && get_clientPayload(value).eaa_1;
|
|
32521
32521
|
var tmp_0;
|
|
32522
|
-
if (isShown && value.
|
|
32522
|
+
if (isShown && value.c72().sceneInfo.j8i_1 === 'PLAYER_TURN') {
|
|
32523
32523
|
var tmp_1;
|
|
32524
|
-
switch (player.
|
|
32524
|
+
switch (player.m75_1.p7a_1.q2_1) {
|
|
32525
32525
|
case 0:
|
|
32526
|
-
tmp_1 = new TradeControlsViewModel(SelectSuitControlsMode_FIRST_CIRCLE_CONTROLS_getInstance(), value.
|
|
32526
|
+
tmp_1 = new TradeControlsViewModel(SelectSuitControlsMode_FIRST_CIRCLE_CONTROLS_getInstance(), value.c72().requireCardDeck.m85_1.r5t(), true);
|
|
32527
32527
|
break;
|
|
32528
32528
|
case 1:
|
|
32529
|
-
tmp_1 = new TradeControlsViewModel(SelectSuitControlsMode_SECOND_CIRCLE_CONTROLS_getInstance(), value.
|
|
32529
|
+
tmp_1 = new TradeControlsViewModel(SelectSuitControlsMode_SECOND_CIRCLE_CONTROLS_getInstance(), value.c72().requireCardDeck.m85_1.r5t(), true);
|
|
32530
32530
|
break;
|
|
32531
32531
|
case 2:
|
|
32532
32532
|
tmp_1 = new HiddenControlsViewModel();
|
|
@@ -32703,15 +32703,15 @@
|
|
|
32703
32703
|
var tmp = this.s8_1;
|
|
32704
32704
|
if (tmp === 0) {
|
|
32705
32705
|
this.t8_1 = 1;
|
|
32706
|
-
var table = this.hdi_1.ldi_1.h6f().
|
|
32706
|
+
var table = this.hdi_1.ldi_1.h6f().c72();
|
|
32707
32707
|
var currentPlayer = get_currentPlayer(table);
|
|
32708
32708
|
var tmp_0 = this.kdi_1.dispatch;
|
|
32709
32709
|
var tmp0_elvis_lhs = this.idi_1;
|
|
32710
|
-
var tmp3_suit = tmp0_elvis_lhs == null ? table.requireCardDeck.
|
|
32710
|
+
var tmp3_suit = tmp0_elvis_lhs == null ? table.requireCardDeck.m85_1.r5t() : tmp0_elvis_lhs;
|
|
32711
32711
|
var tmp4_playerId = currentPlayer.playerId;
|
|
32712
32712
|
var tmp1_$this = this.hdi_1.ndi_1;
|
|
32713
32713
|
var tmp2_round = table.gameInfo.round;
|
|
32714
|
-
var tmp5_tag = tmp1_$this.
|
|
32714
|
+
var tmp5_tag = tmp1_$this.s9a(tmp2_round, currentPlayer);
|
|
32715
32715
|
tmp_0(new SuitChoiceFromClientAction(tmp4_playerId, false, tmp5_tag, tmp3_suit));
|
|
32716
32716
|
return Unit_instance;
|
|
32717
32717
|
} else if (tmp === 1) {
|
|
@@ -32758,15 +32758,15 @@
|
|
|
32758
32758
|
var tmp = this.s8_1;
|
|
32759
32759
|
if (tmp === 0) {
|
|
32760
32760
|
this.t8_1 = 1;
|
|
32761
|
-
var table = this.ydi_1.state.
|
|
32761
|
+
var table = this.ydi_1.state.c72();
|
|
32762
32762
|
var currentPlayer = get_currentPlayer(table);
|
|
32763
|
-
var playerOption = currentPlayer.
|
|
32764
|
-
if (playerOption.
|
|
32765
|
-
this.ydi_1.dispatch(new InfoMessageAction(this.wdi_1.mdi_1.
|
|
32763
|
+
var playerOption = currentPlayer.m75_1;
|
|
32764
|
+
if (playerOption.i7a_1 && playerOption.t7e() && !table.config.rules.playWithoutLiabilities) {
|
|
32765
|
+
this.ydi_1.dispatch(new InfoMessageAction(this.wdi_1.mdi_1.n99(ValidationCode_SUIT_VALIDATION_NEED_TO_PLAY_getInstance())));
|
|
32766
32766
|
} else {
|
|
32767
32767
|
var tmp_0 = this.ydi_1.dispatch;
|
|
32768
32768
|
var tmp0_playerId = currentPlayer.playerId;
|
|
32769
|
-
var tmp1_tag = this.wdi_1.ndi_1.
|
|
32769
|
+
var tmp1_tag = this.wdi_1.ndi_1.s9a(table.gameInfo.round, currentPlayer);
|
|
32770
32770
|
tmp_0(new SuitChoiceFromClientAction(tmp0_playerId, false, tmp1_tag, null));
|
|
32771
32771
|
}
|
|
32772
32772
|
return Unit_instance;
|
|
@@ -32834,10 +32834,10 @@
|
|
|
32834
32834
|
return distinctUntilChanged(tmp$ret$2);
|
|
32835
32835
|
};
|
|
32836
32836
|
protoOf(TradeSceneContractImpl).zc9 = function (suit) {
|
|
32837
|
-
this.ldi_1.
|
|
32837
|
+
this.ldi_1.a72(TradeSceneContractImpl$play$slambda_0(this, suit, null));
|
|
32838
32838
|
};
|
|
32839
32839
|
protoOf(TradeSceneContractImpl).aca = function () {
|
|
32840
|
-
this.ldi_1.
|
|
32840
|
+
this.ldi_1.a72(TradeSceneContractImpl$pass$slambda_0(this, null));
|
|
32841
32841
|
};
|
|
32842
32842
|
protoOf(TradeSceneContractImpl).bca = function () {
|
|
32843
32843
|
// Inline function 'kotlinx.coroutines.flow.filter' call
|
|
@@ -34636,11 +34636,11 @@
|
|
|
34636
34636
|
if (!(card == null)) {
|
|
34637
34637
|
store.dispatch(new PutCardAndCheckCombinationsAction(card, acceptedCombinations, declinedCombinations));
|
|
34638
34638
|
} else {
|
|
34639
|
-
var table = store.state.
|
|
34639
|
+
var table = store.state.c72();
|
|
34640
34640
|
var tmp = store.dispatch;
|
|
34641
34641
|
var tmp0_playerId = get_currentPlayer(table).playerId;
|
|
34642
34642
|
var tmp1_isAccepted = action_0.hdj_1;
|
|
34643
|
-
var tmp2_tag = this.idm_1.
|
|
34643
|
+
var tmp2_tag = this.idm_1.r9a(table.sceneInfo, table.gameInfo.round);
|
|
34644
34644
|
tmp(new CombinationChoiceFromClientAction(tmp0_playerId, false, tmp2_tag, tmp1_isAccepted));
|
|
34645
34645
|
}
|
|
34646
34646
|
};
|
|
@@ -34657,11 +34657,11 @@
|
|
|
34657
34657
|
protoOf(clientCheckCombinationsMiddleware$$inlined$middlewareForActionType$1).q6q = function (store, next, action) {
|
|
34658
34658
|
var action_0 = action instanceof PutCardAndCheckCombinationsAction ? action : THROW_CCE();
|
|
34659
34659
|
next(action_0);
|
|
34660
|
-
var table = store.state.
|
|
34660
|
+
var table = store.state.c72();
|
|
34661
34661
|
var player = get_currentPlayer(table);
|
|
34662
|
-
var playerCombinations = player.
|
|
34662
|
+
var playerCombinations = player.o75_1.s7b_1;
|
|
34663
34663
|
// Inline function 'kotlin.collections.map' call
|
|
34664
|
-
var this_0 = this.jdm_1.
|
|
34664
|
+
var this_0 = this.jdm_1.k9a(playerCombinations);
|
|
34665
34665
|
// Inline function 'kotlin.collections.mapTo' call
|
|
34666
34666
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
34667
34667
|
var _iterator__ex2g4s = this_0.l();
|
|
@@ -34769,7 +34769,7 @@
|
|
|
34769
34769
|
if (tmp_0) {
|
|
34770
34770
|
tmp = new CombinationToAnnounceAction(findFirstRoundCombinations, acceptedCombinations, declinedCombinations);
|
|
34771
34771
|
} else {
|
|
34772
|
-
var tmp0_safe_receiver = this.jdm_1.
|
|
34772
|
+
var tmp0_safe_receiver = this.jdm_1.l9a(action_0.edj_1.s6i_1, playerCombinations, table.config.rules.oneTryToProtectBella);
|
|
34773
34773
|
var findBellaCombination = tmp0_safe_receiver == null ? null : mapFromDetailed(tmp0_safe_receiver);
|
|
34774
34774
|
var tmp_6;
|
|
34775
34775
|
var tmp_7;
|
|
@@ -34846,7 +34846,7 @@
|
|
|
34846
34846
|
var tmp5_card = action_0.edj_1.s6i_1;
|
|
34847
34847
|
var tmp1_cardNumber = table.cardsOnTable.o();
|
|
34848
34848
|
var tmp2_round = table.gameInfo.round;
|
|
34849
|
-
var tmp6_tag = this.kdm_1.
|
|
34849
|
+
var tmp6_tag = this.kdm_1.t9a(tmp2_round, VOID, tmp1_cardNumber);
|
|
34850
34850
|
tmp_6 = new CardFromClientAction(tmp3_playerId, false, tmp6_tag, tmp5_card, tmp4_combinations);
|
|
34851
34851
|
}
|
|
34852
34852
|
tmp = tmp_6;
|
|
@@ -34869,7 +34869,7 @@
|
|
|
34869
34869
|
};
|
|
34870
34870
|
protoOf(finishingGameWhenPlayerExitsMiddleware$$inlined$middlewareForActionType$1).q6q = function (store, next, action) {
|
|
34871
34871
|
var action_0 = action instanceof ExitFromClientAction ? action : THROW_CCE();
|
|
34872
|
-
var table = store.state.
|
|
34872
|
+
var table = store.state.tableOrNull;
|
|
34873
34873
|
var tmp = store.dispatch;
|
|
34874
34874
|
var tmp_0;
|
|
34875
34875
|
if (this.ldm_1.sessionAnalytics) {
|
|
@@ -34957,8 +34957,8 @@
|
|
|
34957
34957
|
var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
|
|
34958
34958
|
next(action_0);
|
|
34959
34959
|
if (action_0 instanceof SceneActMechanicAction)
|
|
34960
|
-
if (action_0.
|
|
34961
|
-
var tmp0 = action_0.
|
|
34960
|
+
if (action_0.z8f_1 === 'WAITING_ACT') {
|
|
34961
|
+
var tmp0 = action_0.a8g_1;
|
|
34962
34962
|
var tmp$ret$0;
|
|
34963
34963
|
$l$block: {
|
|
34964
34964
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -34969,14 +34969,14 @@
|
|
|
34969
34969
|
throw new MechanicException('Required ' + getKClass(WaitingActData).ea() + ', current act is ' + toString_0(tmp0));
|
|
34970
34970
|
}
|
|
34971
34971
|
var waitingActData = tmp$ret$0;
|
|
34972
|
-
var requestPayload = waitingActData.
|
|
34972
|
+
var requestPayload = waitingActData.q7p_1;
|
|
34973
34973
|
if (!(requestPayload == null)) {
|
|
34974
34974
|
if (requestPayload instanceof CardDeckRequest) {
|
|
34975
|
-
if (this.ndm_1 === waitingActData.
|
|
34975
|
+
if (this.ndm_1 === waitingActData.n7p()) {
|
|
34976
34976
|
var tmp = store.dispatch;
|
|
34977
34977
|
// Inline function 'kotlin.collections.List' call
|
|
34978
34978
|
// Inline function 'kotlin.collections.MutableList' call
|
|
34979
|
-
var size = requestPayload.
|
|
34979
|
+
var size = requestPayload.o7p_1;
|
|
34980
34980
|
var list = ArrayList_init_$Create$(size);
|
|
34981
34981
|
// Inline function 'kotlin.repeat' call
|
|
34982
34982
|
var inductionVariable = 0;
|
|
@@ -34993,7 +34993,7 @@
|
|
|
34993
34993
|
var _iterator__ex2g4s = list.l();
|
|
34994
34994
|
while (_iterator__ex2g4s.m()) {
|
|
34995
34995
|
var item = _iterator__ex2g4s.n();
|
|
34996
|
-
var tmp$ret$6 = this.odm_1.
|
|
34996
|
+
var tmp$ret$6 = this.odm_1.m9a();
|
|
34997
34997
|
destination.j(tmp$ret$6);
|
|
34998
34998
|
}
|
|
34999
34999
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -35002,10 +35002,10 @@
|
|
|
35002
35002
|
var _iterator__ex2g4s_0 = destination.l();
|
|
35003
35003
|
while (_iterator__ex2g4s_0.m()) {
|
|
35004
35004
|
var item_0 = _iterator__ex2g4s_0.n();
|
|
35005
|
-
var tmp$ret$9 = Companion_instance_1.
|
|
35005
|
+
var tmp$ret$9 = Companion_instance_1.f89(item_0);
|
|
35006
35006
|
destination_0.j(tmp$ret$9);
|
|
35007
35007
|
}
|
|
35008
|
-
var tmp3_tag = this.pdm_1.
|
|
35008
|
+
var tmp3_tag = this.pdm_1.o9a(action_0.y8f_1, store.state.c72().gameInfo.round);
|
|
35009
35009
|
tmp(new RequestedCardDecksFromClientAction(destination_0, this.ndm_1, false, tmp3_tag));
|
|
35010
35010
|
}
|
|
35011
35011
|
} else {
|
|
@@ -35058,7 +35058,7 @@
|
|
|
35058
35058
|
var expectantAction = action_0.bdk_1.ean_1;
|
|
35059
35059
|
var tmp_0;
|
|
35060
35060
|
if (expectantAction.r6o()) {
|
|
35061
|
-
tmp_0 = listOf_0(new StartTimerAction(new ExpectantTimerTag(action_0.bdk_1.dan_1), fromInt(store.state.
|
|
35061
|
+
tmp_0 = listOf_0(new StartTimerAction(new ExpectantTimerTag(action_0.bdk_1.dan_1), fromInt(store.state.c72().config.options.timeForCountdownMillis), VOID, TimerType_DELAY_getInstance()));
|
|
35062
35062
|
} else {
|
|
35063
35063
|
tmp_0 = emptyList();
|
|
35064
35064
|
}
|
|
@@ -35110,8 +35110,8 @@
|
|
|
35110
35110
|
var nextTurnPlayerId = singleOrNull(action.c9l());
|
|
35111
35111
|
if (!(nextTurnPlayerId == null) && currentPlayerId === nextTurnPlayerId) {
|
|
35112
35112
|
var nextTurnPlayer = getPlayer(table.players, nextTurnPlayerId);
|
|
35113
|
-
if (lastCardInteractor.
|
|
35114
|
-
var gameCard = single(nextTurnPlayer.
|
|
35113
|
+
if (lastCardInteractor.d9a(nextTurnPlayer)) {
|
|
35114
|
+
var gameCard = single(nextTurnPlayer.l75_1);
|
|
35115
35115
|
return new PutCardAndCheckCombinationsAction(new ProcessingCard(gameCard));
|
|
35116
35116
|
}
|
|
35117
35117
|
}
|
|
@@ -35127,7 +35127,7 @@
|
|
|
35127
35127
|
protoOf(clientPutCurrentPlayerLastCardMiddleware$$inlined$middlewareForActionType$1).q6q = function (store, next, action) {
|
|
35128
35128
|
var action_0 = isInterface(action, CardsMechanicAction) ? action : THROW_CCE();
|
|
35129
35129
|
next(action_0);
|
|
35130
|
-
var table = store.state.
|
|
35130
|
+
var table = store.state.c72();
|
|
35131
35131
|
var newAction = getCardActionIfNeeded(action_0, this.rdm_1, table, this.sdm_1);
|
|
35132
35132
|
if (newAction == null)
|
|
35133
35133
|
null;
|
|
@@ -35141,13 +35141,13 @@
|
|
|
35141
35141
|
};
|
|
35142
35142
|
function onSuitSelectMessages($this, store, playerId, selectedSuit) {
|
|
35143
35143
|
// Inline function 'kotlin.with' call
|
|
35144
|
-
var $this$with = store.state.
|
|
35144
|
+
var $this$with = store.state.c72();
|
|
35145
35145
|
var player = getPlayer($this$with.players, playerId);
|
|
35146
|
-
store.dispatch(new MessageMechanicAction($this.mdl_1.
|
|
35146
|
+
store.dispatch(new MessageMechanicAction($this.mdl_1.l99(player.m75_1.v7e(), selectedSuit, player.j75_1)));
|
|
35147
35147
|
}
|
|
35148
35148
|
function onCardMessages($this, store, playerId, combinations) {
|
|
35149
35149
|
// Inline function 'kotlin.with' call
|
|
35150
|
-
var $this$with = store.state.
|
|
35150
|
+
var $this$with = store.state.c72();
|
|
35151
35151
|
var tmp;
|
|
35152
35152
|
if (combinations == null) {
|
|
35153
35153
|
tmp = null;
|
|
@@ -35161,17 +35161,17 @@
|
|
|
35161
35161
|
var _iterator__ex2g4s = combinations.l();
|
|
35162
35162
|
while (_iterator__ex2g4s.m()) {
|
|
35163
35163
|
var item = _iterator__ex2g4s.n();
|
|
35164
|
-
var tmp$ret$0 = item.
|
|
35164
|
+
var tmp$ret$0 = item.k7p_1;
|
|
35165
35165
|
destination.j(tmp$ret$0);
|
|
35166
35166
|
}
|
|
35167
|
-
tmp_0(new MessageMechanicAction($this.mdl_1.
|
|
35167
|
+
tmp_0(new MessageMechanicAction($this.mdl_1.j99(destination, player.j75_1)));
|
|
35168
35168
|
tmp = Unit_instance;
|
|
35169
35169
|
}
|
|
35170
35170
|
}
|
|
35171
35171
|
function onCombinationChoiceMessages($this, store, playerId, isAnnounced) {
|
|
35172
35172
|
var state = store.state;
|
|
35173
35173
|
if (isAnnounced) {
|
|
35174
|
-
var tmp0 = state.
|
|
35174
|
+
var tmp0 = state.c72().sceneInfo.l8i_1;
|
|
35175
35175
|
var tmp$ret$0;
|
|
35176
35176
|
$l$block: {
|
|
35177
35177
|
// Inline function 'games.jass.logic.data.models.scenes.requireActData' call
|
|
@@ -35182,35 +35182,35 @@
|
|
|
35182
35182
|
throw new MechanicException('Required ' + getKClass(CombinationActData).ea() + ', current act is ' + toString_0(tmp0));
|
|
35183
35183
|
}
|
|
35184
35184
|
var combinationActData = tmp$ret$0;
|
|
35185
|
-
var player = getPlayer(state.
|
|
35185
|
+
var player = getPlayer(state.c72().players, playerId);
|
|
35186
35186
|
var tmp = store.dispatch;
|
|
35187
35187
|
// Inline function 'kotlin.collections.map' call
|
|
35188
|
-
var this_0 = combinationActData.
|
|
35188
|
+
var this_0 = combinationActData.g7p_1;
|
|
35189
35189
|
// Inline function 'kotlin.collections.mapTo' call
|
|
35190
35190
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
35191
35191
|
var _iterator__ex2g4s = this_0.l();
|
|
35192
35192
|
while (_iterator__ex2g4s.m()) {
|
|
35193
35193
|
var item = _iterator__ex2g4s.n();
|
|
35194
|
-
var tmp$ret$1 = item.
|
|
35194
|
+
var tmp$ret$1 = item.k7p_1;
|
|
35195
35195
|
destination.j(tmp$ret$1);
|
|
35196
35196
|
}
|
|
35197
|
-
tmp(new MessageMechanicAction($this.mdl_1.
|
|
35197
|
+
tmp(new MessageMechanicAction($this.mdl_1.j99(destination, player.j75_1)));
|
|
35198
35198
|
}
|
|
35199
35199
|
}
|
|
35200
35200
|
function onWinnerCombinationMessages($this, store, winnerCombinations) {
|
|
35201
35201
|
// Inline function 'kotlin.with' call
|
|
35202
|
-
var $this$with = store.state.
|
|
35203
|
-
var message = $this.mdl_1.
|
|
35202
|
+
var $this$with = store.state.c72();
|
|
35203
|
+
var message = $this.mdl_1.k99(winnerCombinations, $this$with.players);
|
|
35204
35204
|
store.dispatch(new MessageMechanicAction(message));
|
|
35205
35205
|
}
|
|
35206
35206
|
function onSceneMessages($this, store, action) {
|
|
35207
35207
|
var state = store.state;
|
|
35208
|
-
var table = state.
|
|
35209
|
-
var tmp0_subject = action.
|
|
35208
|
+
var table = state.c72();
|
|
35209
|
+
var tmp0_subject = action.u8f_1;
|
|
35210
35210
|
if (tmp0_subject === 'TRADE') {
|
|
35211
35211
|
var tmp;
|
|
35212
35212
|
if (table.config.playersMode.isTeamGame) {
|
|
35213
|
-
var tmp0 = $this.odl_1.
|
|
35213
|
+
var tmp0 = $this.odl_1.x98(table.players);
|
|
35214
35214
|
var tmp$ret$0;
|
|
35215
35215
|
$l$block_0: {
|
|
35216
35216
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -35233,7 +35233,7 @@
|
|
|
35233
35233
|
while (_iterator__ex2g4s_0.m()) {
|
|
35234
35234
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
35235
35235
|
var tmp_1 = sum;
|
|
35236
|
-
sum = tmp_1 + element_0.
|
|
35236
|
+
sum = tmp_1 + element_0.o75_1.r7b_1 | 0;
|
|
35237
35237
|
}
|
|
35238
35238
|
if (sum >= table.config.pointsMode.value) {
|
|
35239
35239
|
tmp$ret$0 = true;
|
|
@@ -35261,7 +35261,7 @@
|
|
|
35261
35261
|
var _iterator__ex2g4s_1 = tmp0_0.l();
|
|
35262
35262
|
while (_iterator__ex2g4s_1.m()) {
|
|
35263
35263
|
var element_1 = _iterator__ex2g4s_1.n();
|
|
35264
|
-
if (element_1.
|
|
35264
|
+
if (element_1.o75_1.r7b_1 >= table.config.pointsMode.value) {
|
|
35265
35265
|
tmp$ret$4 = true;
|
|
35266
35266
|
break $l$block_2;
|
|
35267
35267
|
}
|
|
@@ -35272,7 +35272,7 @@
|
|
|
35272
35272
|
}
|
|
35273
35273
|
var hasWinners = tmp;
|
|
35274
35274
|
if (hasWinners) {
|
|
35275
|
-
store.dispatch(new MessageMechanicAction($this.mdl_1.
|
|
35275
|
+
store.dispatch(new MessageMechanicAction($this.mdl_1.o99('ONE_MORE_ROUND_NEEDED_ID')));
|
|
35276
35276
|
}
|
|
35277
35277
|
var tmp0_1 = action.sceneData;
|
|
35278
35278
|
var tmp$ret$6;
|
|
@@ -35285,10 +35285,10 @@
|
|
|
35285
35285
|
throw new MechanicException('Required ' + getKClass(TradeSceneData).ea() + ', current scene is ' + toString_0(tmp0_1));
|
|
35286
35286
|
}
|
|
35287
35287
|
var scene = tmp$ret$6;
|
|
35288
|
-
store.dispatch(new MessageMechanicAction($this.mdl_1.
|
|
35289
|
-
var randomData = scene.
|
|
35288
|
+
store.dispatch(new MessageMechanicAction($this.mdl_1.i99(getPlayer(table.players, scene.w7q_1).j75_1, scene.u7q_1)));
|
|
35289
|
+
var randomData = scene.t7q_1;
|
|
35290
35290
|
if (!(randomData == null)) {
|
|
35291
|
-
store.dispatch(new MessageMechanicAction($this.mdl_1.
|
|
35291
|
+
store.dispatch(new MessageMechanicAction($this.mdl_1.s99(randomData)));
|
|
35292
35292
|
}
|
|
35293
35293
|
} else if (tmp0_subject === 'CALC_POINTS') {
|
|
35294
35294
|
var tmp0_2 = action.sceneData;
|
|
@@ -35306,46 +35306,46 @@
|
|
|
35306
35306
|
var whoChoseSuitPlayerId = getWhoChoseSuit(table_0.players).playerId;
|
|
35307
35307
|
var tmp_3 = store.dispatch;
|
|
35308
35308
|
// Inline function 'kotlin.collections.map' call
|
|
35309
|
-
var this_0 = $this.ndl_1.
|
|
35309
|
+
var this_0 = $this.ndl_1.c9f(scene_0.n7q_1);
|
|
35310
35310
|
// Inline function 'kotlin.collections.mapTo' call
|
|
35311
35311
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
35312
35312
|
var _iterator__ex2g4s_2 = this_0.l();
|
|
35313
35313
|
while (_iterator__ex2g4s_2.m()) {
|
|
35314
35314
|
var item = _iterator__ex2g4s_2.n();
|
|
35315
|
-
var tmp0_points = item.
|
|
35315
|
+
var tmp0_points = item.c8d_1;
|
|
35316
35316
|
// Inline function 'kotlin.collections.map' call
|
|
35317
|
-
var this_1 = item.
|
|
35317
|
+
var this_1 = item.b8d_1;
|
|
35318
35318
|
// Inline function 'kotlin.collections.mapTo' call
|
|
35319
35319
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
35320
35320
|
var _iterator__ex2g4s_3 = this_1.l();
|
|
35321
35321
|
while (_iterator__ex2g4s_3.m()) {
|
|
35322
35322
|
var item_0 = _iterator__ex2g4s_3.n();
|
|
35323
|
-
var tmp$ret$8 = getPlayer(table_0.players, item_0).
|
|
35323
|
+
var tmp$ret$8 = getPlayer(table_0.players, item_0).j75_1;
|
|
35324
35324
|
destination_0.j(tmp$ret$8);
|
|
35325
35325
|
}
|
|
35326
35326
|
var tmp$ret$11 = new PointItemViewModel(destination_0, tmp0_points);
|
|
35327
35327
|
destination.j(tmp$ret$11);
|
|
35328
35328
|
}
|
|
35329
|
-
tmp_3(new MessageMechanicAction($this.mdl_1.
|
|
35329
|
+
tmp_3(new MessageMechanicAction($this.mdl_1.m99(table_0.gameInfo.round, destination, scene_0.r7q(whoChoseSuitPlayerId), scene_0.q7q(whoChoseSuitPlayerId), scene_0.k7q_1)));
|
|
35330
35330
|
}
|
|
35331
35331
|
}
|
|
35332
35332
|
function onExpectantCreatedMessages($this, store, action, excludePlayersIds) {
|
|
35333
35333
|
// Inline function 'kotlin.with' call
|
|
35334
|
-
var $this$with = store.state.
|
|
35334
|
+
var $this$with = store.state.c72();
|
|
35335
35335
|
var expectantAction = action.bdk_1.ean_1;
|
|
35336
35336
|
if (expectantAction instanceof CombinationChoiceMechanicAction) {
|
|
35337
35337
|
if (excludePlayersIds.u1(expectantAction.playerId)) {
|
|
35338
35338
|
return Unit_instance;
|
|
35339
35339
|
}
|
|
35340
|
-
onCombinationChoiceMessages($this, store, expectantAction.playerId, expectantAction.
|
|
35340
|
+
onCombinationChoiceMessages($this, store, expectantAction.playerId, expectantAction.p8g_1);
|
|
35341
35341
|
} else {
|
|
35342
35342
|
if (expectantAction instanceof RestartGameMechanicAction) {
|
|
35343
|
-
var message = $this.mdl_1.
|
|
35343
|
+
var message = $this.mdl_1.o99('GAME_RESTART_EVENT_ID');
|
|
35344
35344
|
store.dispatch(new MessageMechanicAction(message));
|
|
35345
35345
|
store.dispatch(new InfoMessageAction(message));
|
|
35346
35346
|
} else {
|
|
35347
35347
|
if (expectantAction instanceof WinnerCombinationsMechanicAction) {
|
|
35348
|
-
var message_0 = $this.mdl_1.
|
|
35348
|
+
var message_0 = $this.mdl_1.k99(expectantAction.b8h_1, $this$with.players);
|
|
35349
35349
|
store.dispatch(new InfoMessageAction(message_0));
|
|
35350
35350
|
}
|
|
35351
35351
|
}
|
|
@@ -35363,7 +35363,7 @@
|
|
|
35363
35363
|
tmp = Unit_instance;
|
|
35364
35364
|
} else {
|
|
35365
35365
|
if (action instanceof SuitChoiceMechanicAction) {
|
|
35366
|
-
onSuitSelectMessages(this$0, store, action.
|
|
35366
|
+
onSuitSelectMessages(this$0, store, action.k8g_1, action.i8g_1);
|
|
35367
35367
|
tmp = Unit_instance;
|
|
35368
35368
|
} else {
|
|
35369
35369
|
if (action instanceof InterceptorCreatedClientAction) {
|
|
@@ -35371,11 +35371,11 @@
|
|
|
35371
35371
|
tmp = Unit_instance;
|
|
35372
35372
|
} else {
|
|
35373
35373
|
if (action instanceof PutCardMechanicAction) {
|
|
35374
|
-
onCardMessages(this$0, store, action.
|
|
35374
|
+
onCardMessages(this$0, store, action.v8g_1, action.u8g_1);
|
|
35375
35375
|
tmp = Unit_instance;
|
|
35376
35376
|
} else {
|
|
35377
35377
|
if (action instanceof WinnerCombinationsMechanicAction) {
|
|
35378
|
-
onWinnerCombinationMessages(this$0, store, action.
|
|
35378
|
+
onWinnerCombinationMessages(this$0, store, action.b8h_1);
|
|
35379
35379
|
tmp = Unit_instance;
|
|
35380
35380
|
} else {
|
|
35381
35381
|
tmp = Unit_instance;
|
|
@@ -35398,7 +35398,7 @@
|
|
|
35398
35398
|
if (action instanceof SuitChoiceMechanicAction) {
|
|
35399
35399
|
var tmp_0;
|
|
35400
35400
|
if (!(action.playerId === $currentPlayerId)) {
|
|
35401
|
-
onSuitSelectMessages(this$0, store, action.playerId, action.
|
|
35401
|
+
onSuitSelectMessages(this$0, store, action.playerId, action.i8g_1);
|
|
35402
35402
|
tmp_0 = Unit_instance;
|
|
35403
35403
|
}
|
|
35404
35404
|
tmp = tmp_0;
|
|
@@ -35406,7 +35406,7 @@
|
|
|
35406
35406
|
if (action instanceof PutCardMechanicAction) {
|
|
35407
35407
|
var tmp_1;
|
|
35408
35408
|
if (!(action.playerId === $currentPlayerId)) {
|
|
35409
|
-
onCardMessages(this$0, store, action.playerId, action.
|
|
35409
|
+
onCardMessages(this$0, store, action.playerId, action.u8g_1);
|
|
35410
35410
|
tmp_1 = Unit_instance;
|
|
35411
35411
|
}
|
|
35412
35412
|
tmp = tmp_1;
|
|
@@ -35416,29 +35416,29 @@
|
|
|
35416
35416
|
tmp = Unit_instance;
|
|
35417
35417
|
} else {
|
|
35418
35418
|
if (action instanceof WinnerCombinationsMechanicAction) {
|
|
35419
|
-
onWinnerCombinationMessages(this$0, store, action.
|
|
35419
|
+
onWinnerCombinationMessages(this$0, store, action.b8h_1);
|
|
35420
35420
|
tmp = Unit_instance;
|
|
35421
35421
|
} else {
|
|
35422
35422
|
if (action instanceof SuitChoiceFromClientAction) {
|
|
35423
35423
|
var tmp_2;
|
|
35424
|
-
if (action.
|
|
35425
|
-
onSuitSelectMessages(this$0, store, action.
|
|
35424
|
+
if (action.g88_1 === $currentPlayerId) {
|
|
35425
|
+
onSuitSelectMessages(this$0, store, action.g88_1, action.j88_1);
|
|
35426
35426
|
tmp_2 = Unit_instance;
|
|
35427
35427
|
}
|
|
35428
35428
|
tmp = tmp_2;
|
|
35429
35429
|
} else {
|
|
35430
35430
|
if (action instanceof CardFromClientAction) {
|
|
35431
35431
|
var tmp_3;
|
|
35432
|
-
if (action.
|
|
35433
|
-
onCardMessages(this$0, store, action.
|
|
35432
|
+
if (action.o88_1 === $currentPlayerId) {
|
|
35433
|
+
onCardMessages(this$0, store, action.o88_1, action.s88_1);
|
|
35434
35434
|
tmp_3 = Unit_instance;
|
|
35435
35435
|
}
|
|
35436
35436
|
tmp = tmp_3;
|
|
35437
35437
|
} else {
|
|
35438
35438
|
if (action instanceof CombinationChoiceFromClientAction) {
|
|
35439
35439
|
var tmp_4;
|
|
35440
|
-
if (action.
|
|
35441
|
-
onCombinationChoiceMessages(this$0, store, action.
|
|
35440
|
+
if (action.k88_1 === $currentPlayerId) {
|
|
35441
|
+
onCombinationChoiceMessages(this$0, store, action.k88_1, action.n88_1);
|
|
35442
35442
|
tmp_4 = Unit_instance;
|
|
35443
35443
|
}
|
|
35444
35444
|
tmp = tmp_4;
|
|
@@ -35544,33 +35544,33 @@
|
|
|
35544
35544
|
protoOf(clientConsumeFromClientActionsMiddleware$$inlined$middlewareForActionType$1).q6q = function (store, next, action) {
|
|
35545
35545
|
var tmp4 = action instanceof FromClientAction ? action : THROW_CCE();
|
|
35546
35546
|
$l$block: {
|
|
35547
|
-
var tmp0_safe_receiver = store.state.
|
|
35547
|
+
var tmp0_safe_receiver = store.state.tableOrNull;
|
|
35548
35548
|
var version = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.version;
|
|
35549
35549
|
if (version == null || Toggles_instance.j6d(version)) {
|
|
35550
35550
|
next(tmp4);
|
|
35551
35551
|
break $l$block;
|
|
35552
35552
|
}
|
|
35553
|
-
var table = store.state.
|
|
35553
|
+
var table = store.state.c72();
|
|
35554
35554
|
next(tmp4);
|
|
35555
35555
|
var tmp;
|
|
35556
35556
|
if (tmp4 instanceof MessageFromClientAction) {
|
|
35557
|
-
tmp = this.udm_1.
|
|
35557
|
+
tmp = this.udm_1.e9e(tmp4, table.players);
|
|
35558
35558
|
} else {
|
|
35559
35559
|
if (tmp4 instanceof PartnerSelectedFromClientAction) {
|
|
35560
|
-
tmp = this.udm_1.
|
|
35560
|
+
tmp = this.udm_1.f9e(tmp4, table.players);
|
|
35561
35561
|
} else {
|
|
35562
35562
|
if (tmp4 instanceof PlayerReadyFromClientAction) {
|
|
35563
|
-
tmp = this.udm_1.
|
|
35563
|
+
tmp = this.udm_1.g9e(tmp4);
|
|
35564
35564
|
} else {
|
|
35565
35565
|
if (tmp4 instanceof SuitChoiceFromClientAction) {
|
|
35566
|
-
tmp = this.udm_1.
|
|
35566
|
+
tmp = this.udm_1.h9e(tmp4, table.players, table.config);
|
|
35567
35567
|
} else {
|
|
35568
35568
|
if (tmp4 instanceof CombinationChoiceFromClientAction) {
|
|
35569
|
-
tmp = this.udm_1.
|
|
35569
|
+
tmp = this.udm_1.i9e(tmp4, table);
|
|
35570
35570
|
} else {
|
|
35571
35571
|
if (tmp4 instanceof CardFromClientAction) {
|
|
35572
|
-
var newCardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(tmp4.
|
|
35573
|
-
var cardMechanicAction = this.udm_1.
|
|
35572
|
+
var newCardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(tmp4.o88_1, table.cardsOnTable.o(), tmp4.r88_1));
|
|
35573
|
+
var cardMechanicAction = this.udm_1.j9e(tmp4, newCardsOnTheTable, table.players, table.config);
|
|
35574
35574
|
tmp = cardMechanicAction;
|
|
35575
35575
|
} else {
|
|
35576
35576
|
tmp = null;
|
|
@@ -35604,7 +35604,7 @@
|
|
|
35604
35604
|
protoOf(sceneActivationReducer$$inlined$reducerForActionType$1).j9z = function (state, action) {
|
|
35605
35605
|
var action_0 = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
35606
35606
|
var clientPayload = get_clientPayload(state);
|
|
35607
|
-
var tmp0_subject = action_0.
|
|
35607
|
+
var tmp0_subject = action_0.u8f_1;
|
|
35608
35608
|
return tmp0_subject === 'CHOOSE_PARTNER' || tmp0_subject === 'TRADE' || (tmp0_subject === 'EARN_POINTS' || tmp0_subject === 'CALC_POINTS') ? state.z9i(VOID, clientPayload.vdm(VOID, VOID, VOID, VOID, VOID, VOID, false)) : state;
|
|
35609
35609
|
};
|
|
35610
35610
|
protoOf(sceneActivationReducer$$inlined$reducerForActionType$1).r6q = function (state, action) {
|
|
@@ -35638,15 +35638,15 @@
|
|
|
35638
35638
|
case 0:
|
|
35639
35639
|
this.t8_1 = 2;
|
|
35640
35640
|
var state = this.edn_1.state;
|
|
35641
|
-
if (!state.
|
|
35641
|
+
if (!state.d72() || state.c72().isGameFinished) {
|
|
35642
35642
|
var tmp_0 = this;
|
|
35643
|
-
this.edn_1.dispatch(new FinishGameMechanicAction(new PlayerExitReason(this.fdn_1.f9j_1), state.
|
|
35643
|
+
this.edn_1.dispatch(new FinishGameMechanicAction(new PlayerExitReason(this.fdn_1.f9j_1), state.c72().isGameFinished));
|
|
35644
35644
|
tmp_0.idn_1 = Unit_instance;
|
|
35645
35645
|
this.s8_1 = 3;
|
|
35646
35646
|
continue $sm;
|
|
35647
35647
|
} else {
|
|
35648
35648
|
this.s8_1 = 1;
|
|
35649
|
-
suspendResult = this.gdn_1.pb4(state.
|
|
35649
|
+
suspendResult = this.gdn_1.pb4(state.c72(), get_clientPayload(state), true, this);
|
|
35650
35650
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
35651
35651
|
return suspendResult;
|
|
35652
35652
|
}
|
|
@@ -35737,7 +35737,7 @@
|
|
|
35737
35737
|
this.t8_1 = 4;
|
|
35738
35738
|
var tmp0_subject = this.udn_1;
|
|
35739
35739
|
if (tmp0_subject instanceof RoundStartedAction) {
|
|
35740
|
-
var table = this.vdn_1.state.
|
|
35740
|
+
var table = this.vdn_1.state.c72();
|
|
35741
35741
|
this.s8_1 = 2;
|
|
35742
35742
|
suspendResult = this.wdn_1.mb4(this.udn_1.gameHistory, table.config, table.users, get_clientPayload(this.vdn_1.state).ya9_1.ual_1, this);
|
|
35743
35743
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -35746,7 +35746,7 @@
|
|
|
35746
35746
|
continue $sm;
|
|
35747
35747
|
} else {
|
|
35748
35748
|
if (tmp0_subject instanceof RoundEndedAction) {
|
|
35749
|
-
var table_0 = this.vdn_1.state.
|
|
35749
|
+
var table_0 = this.vdn_1.state.c72();
|
|
35750
35750
|
this.s8_1 = 1;
|
|
35751
35751
|
suspendResult = this.wdn_1.lb4(this.udn_1.gameHistory, table_0.config, table_0.users, get_clientPayload(this.vdn_1.state).ya9_1.ual_1, this);
|
|
35752
35752
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -35825,7 +35825,7 @@
|
|
|
35825
35825
|
protoOf(reloadTimersWhenContinueGameMiddleware$$inlined$middlewareForActionType$1).q6q = function (store, next, action) {
|
|
35826
35826
|
var action_0 = action instanceof ContinueGameMechanicAction ? action : THROW_CCE();
|
|
35827
35827
|
next(action_0);
|
|
35828
|
-
var table = action_0.
|
|
35828
|
+
var table = action_0.f8f_1;
|
|
35829
35829
|
// Inline function 'kotlin.collections.filter' call
|
|
35830
35830
|
var tmp0 = filterPlayerTurn(table.players);
|
|
35831
35831
|
// Inline function 'kotlin.collections.filterTo' call
|
|
@@ -35841,7 +35841,7 @@
|
|
|
35841
35841
|
var _iterator__ex2g4s_0 = destination.l();
|
|
35842
35842
|
while (_iterator__ex2g4s_0.m()) {
|
|
35843
35843
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
35844
|
-
store.dispatch(new StartTimerAction(PlayerTurnTimerTag_init_$Create$(element_0.playerId, element_0.
|
|
35844
|
+
store.dispatch(new StartTimerAction(PlayerTurnTimerTag_init_$Create$(element_0.playerId, element_0.k75_1.a6h()), getInitialPlayerTurnTimerDelayMillis(element_0, table.config, this.bdo_1, this.cdo_1), VOID, TimerType_DELAY_getInstance()));
|
|
35845
35845
|
}
|
|
35846
35846
|
};
|
|
35847
35847
|
protoOf(reloadTimersWhenContinueGameMiddleware$$inlined$middlewareForActionType$1).a6p = function (store, next, action) {
|
|
@@ -35928,7 +35928,7 @@
|
|
|
35928
35928
|
};
|
|
35929
35929
|
protoOf(removeSavedGameMiddleware$$inlined$middlewareForActionType$1).q6q = function (store, next, action) {
|
|
35930
35930
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
35931
|
-
var id = store.state.
|
|
35931
|
+
var id = store.state.c72().id;
|
|
35932
35932
|
next(action_0);
|
|
35933
35933
|
this.pdo_1.e6l(VOID, removeSavedGameMiddleware$o$handle$slambda_0(action_0, this.qdo_1, id, null));
|
|
35934
35934
|
};
|
|
@@ -35961,7 +35961,7 @@
|
|
|
35961
35961
|
switch (tmp) {
|
|
35962
35962
|
case 0:
|
|
35963
35963
|
this.t8_1 = 2;
|
|
35964
|
-
var tmp0_safe_receiver = this.zdo_1.state.
|
|
35964
|
+
var tmp0_safe_receiver = this.zdo_1.state.tableOrNull;
|
|
35965
35965
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.id;
|
|
35966
35966
|
var id = tmp1_elvis_lhs == null ? 'temp_game_id' : tmp1_elvis_lhs;
|
|
35967
35967
|
this.s8_1 = 1;
|
|
@@ -36041,9 +36041,9 @@
|
|
|
36041
36041
|
switch (tmp) {
|
|
36042
36042
|
case 0:
|
|
36043
36043
|
this.t8_1 = 3;
|
|
36044
|
-
if (!this.mdp_1.mdj_1 && this.ndp_1.
|
|
36044
|
+
if (!this.mdp_1.mdj_1 && this.ndp_1.d72() && !this.ndp_1.c72().isGameFinished) {
|
|
36045
36045
|
this.s8_1 = 1;
|
|
36046
|
-
suspendResult = this.odp_1.pb4(this.ndp_1.
|
|
36046
|
+
suspendResult = this.odp_1.pb4(this.ndp_1.c72(), get_clientPayload(this.ndp_1), false, this);
|
|
36047
36047
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
36048
36048
|
return suspendResult;
|
|
36049
36049
|
}
|
|
@@ -36215,9 +36215,9 @@
|
|
|
36215
36215
|
protoOf(clearTimersWhenErrorMiddleware$$inlined$middlewareForActionType$1).q6q = function (store, next, action) {
|
|
36216
36216
|
var action_0 = action instanceof ErrorAction ? action : THROW_CCE();
|
|
36217
36217
|
var state = store.state;
|
|
36218
|
-
if (state.
|
|
36218
|
+
if (state.d72()) {
|
|
36219
36219
|
// Inline function 'kotlin.collections.forEach' call
|
|
36220
|
-
var _iterator__ex2g4s = state.
|
|
36220
|
+
var _iterator__ex2g4s = state.d71_1.l();
|
|
36221
36221
|
while (_iterator__ex2g4s.m()) {
|
|
36222
36222
|
var element = _iterator__ex2g4s.n();
|
|
36223
36223
|
store.dispatch(new StopTimerAction(element));
|
|
@@ -36500,13 +36500,13 @@
|
|
|
36500
36500
|
protoOf(clientShowDisabledCardMessageMiddleware$$inlined$middlewareForActionType$1).q6q = function (store, next, action) {
|
|
36501
36501
|
var action_0 = action instanceof DisabledCardAction ? action : THROW_CCE();
|
|
36502
36502
|
var state = store.state;
|
|
36503
|
-
if (get_isEarnPointScene(state.
|
|
36503
|
+
if (get_isEarnPointScene(state.c72().sceneInfo.h8i_1)) {
|
|
36504
36504
|
var tmp0_putPlayerCard = action_0.ddj_1;
|
|
36505
|
-
var tmp1_player = get_currentPlayer(state.
|
|
36506
|
-
var tmp2_table = state.
|
|
36505
|
+
var tmp1_player = get_currentPlayer(state.c72());
|
|
36506
|
+
var tmp2_table = state.c72();
|
|
36507
36507
|
var validationCode = this.kdq_1.rb4(tmp0_putPlayerCard, tmp2_table, tmp1_player);
|
|
36508
36508
|
if (!(validationCode == null)) {
|
|
36509
|
-
store.dispatch(new InfoMessageAction(this.ldq_1.
|
|
36509
|
+
store.dispatch(new InfoMessageAction(this.ldq_1.n99(validationCode)));
|
|
36510
36510
|
} else {
|
|
36511
36511
|
this.mdq_1.w(VOID, 'clientShowDisabledCardMessageMiddleware: card is valid, please check');
|
|
36512
36512
|
}
|
|
@@ -36532,9 +36532,9 @@
|
|
|
36532
36532
|
var action_0 = action instanceof PutCardAndCheckCombinationsAction ? action : THROW_CCE();
|
|
36533
36533
|
var state = store.state;
|
|
36534
36534
|
var cardNotValidCount = 0;
|
|
36535
|
-
var player = get_currentPlayer(state.
|
|
36535
|
+
var player = get_currentPlayer(state.c72());
|
|
36536
36536
|
var tmp0_putPlayerCard = action_0.edj_1.s6i_1;
|
|
36537
|
-
var tmp1_table = state.
|
|
36537
|
+
var tmp1_table = state.c72();
|
|
36538
36538
|
var validationCode = this.ndq_1.rb4(tmp0_putPlayerCard, tmp1_table, player);
|
|
36539
36539
|
if (!(validationCode == null)) {
|
|
36540
36540
|
cardNotValidCount = cardNotValidCount + 1 | 0;
|
|
@@ -36545,7 +36545,7 @@
|
|
|
36545
36545
|
this.odq_1.w(VOID, 'validateCardMiddleware: card is not valid for the third time, please check');
|
|
36546
36546
|
}
|
|
36547
36547
|
if (!(validationCode == null)) {
|
|
36548
|
-
store.dispatch(new InfoMessageAction(this.pdq_1.
|
|
36548
|
+
store.dispatch(new InfoMessageAction(this.pdq_1.n99(validationCode)));
|
|
36549
36549
|
} else {
|
|
36550
36550
|
next(action_0);
|
|
36551
36551
|
}
|
|
@@ -36558,8 +36558,8 @@
|
|
|
36558
36558
|
function ClientCombinationsReducerImpl() {
|
|
36559
36559
|
}
|
|
36560
36560
|
protoOf(ClientCombinationsReducerImpl).qdq = function (currentPlayerId, actData) {
|
|
36561
|
-
if (!(actData == null) && currentPlayerId === actData.
|
|
36562
|
-
return new CombinationToAnnounceState(actData.
|
|
36561
|
+
if (!(actData == null) && currentPlayerId === actData.n7p()) {
|
|
36562
|
+
return new CombinationToAnnounceState(actData.g7p_1, null, null);
|
|
36563
36563
|
}
|
|
36564
36564
|
return null;
|
|
36565
36565
|
};
|
|
@@ -36577,7 +36577,7 @@
|
|
|
36577
36577
|
var tmp2 = isInterface(action, NavigationMechanicAction) ? action : THROW_CCE();
|
|
36578
36578
|
var tmp$ret$1;
|
|
36579
36579
|
$l$block_0: {
|
|
36580
|
-
var table = state.
|
|
36580
|
+
var table = state.c72();
|
|
36581
36581
|
var actId = tmp2.actId;
|
|
36582
36582
|
if (actId === 'COMBINATION') {
|
|
36583
36583
|
var tmp = get_clientPayload(state);
|
|
@@ -36638,7 +36638,7 @@
|
|
|
36638
36638
|
var _iterator__ex2g4s = messages.l();
|
|
36639
36639
|
while (_iterator__ex2g4s.m()) {
|
|
36640
36640
|
var element = _iterator__ex2g4s.n();
|
|
36641
|
-
if (element.
|
|
36641
|
+
if (element.l76().equals(MessageLifecycle_ROOM_getInstance())) {
|
|
36642
36642
|
destination.j(element);
|
|
36643
36643
|
}
|
|
36644
36644
|
}
|
|
@@ -36651,7 +36651,7 @@
|
|
|
36651
36651
|
var _iterator__ex2g4s = messages.l();
|
|
36652
36652
|
while (_iterator__ex2g4s.m()) {
|
|
36653
36653
|
var element = _iterator__ex2g4s.n();
|
|
36654
|
-
if (element.
|
|
36654
|
+
if (element.l76().equals(MessageLifecycle_GAME_getInstance()) || element.l76().equals(MessageLifecycle_ROOM_getInstance())) {
|
|
36655
36655
|
destination.j(element);
|
|
36656
36656
|
}
|
|
36657
36657
|
}
|
|
@@ -36666,37 +36666,37 @@
|
|
|
36666
36666
|
var item = _iterator__ex2g4s.n();
|
|
36667
36667
|
var tmp;
|
|
36668
36668
|
if (item instanceof WhoShuffleCardsMessage) {
|
|
36669
|
-
tmp = item.
|
|
36669
|
+
tmp = item.x77(VOID, VOID, VOID, false);
|
|
36670
36670
|
} else {
|
|
36671
36671
|
if (item instanceof TextMessage) {
|
|
36672
|
-
tmp = item.
|
|
36672
|
+
tmp = item.n79(VOID, VOID, VOID, false);
|
|
36673
36673
|
} else {
|
|
36674
36674
|
if (item instanceof PhraseMessage) {
|
|
36675
|
-
tmp = item.
|
|
36675
|
+
tmp = item.b79(VOID, VOID, VOID, false);
|
|
36676
36676
|
} else {
|
|
36677
36677
|
if (item instanceof AnnouncedCombinationMessage) {
|
|
36678
|
-
tmp = item.
|
|
36678
|
+
tmp = item.e78(VOID, VOID, VOID, false);
|
|
36679
36679
|
} else {
|
|
36680
36680
|
if (item instanceof WinnerCombinationsMessage) {
|
|
36681
|
-
tmp = item.
|
|
36681
|
+
tmp = item.m78(VOID, VOID, false);
|
|
36682
36682
|
} else {
|
|
36683
36683
|
if (item instanceof PreviousRoundPointsMessage) {
|
|
36684
|
-
tmp = item.
|
|
36684
|
+
tmp = item.x76(VOID, VOID, VOID, VOID, VOID, VOID, false);
|
|
36685
36685
|
} else {
|
|
36686
36686
|
if (item instanceof StickerMessage) {
|
|
36687
|
-
tmp = item.
|
|
36687
|
+
tmp = item.h79(VOID, VOID, VOID, false);
|
|
36688
36688
|
} else {
|
|
36689
36689
|
if (item instanceof RandomSignatureMessage) {
|
|
36690
|
-
tmp = item.
|
|
36690
|
+
tmp = item.f77(VOID, VOID, false);
|
|
36691
36691
|
} else {
|
|
36692
36692
|
if (item instanceof ValidationMessage) {
|
|
36693
|
-
tmp = item.
|
|
36693
|
+
tmp = item.u79(VOID, VOID, false);
|
|
36694
36694
|
} else {
|
|
36695
36695
|
if (item instanceof ServiceMessage) {
|
|
36696
|
-
tmp = item.
|
|
36696
|
+
tmp = item.n77(VOID, VOID, false);
|
|
36697
36697
|
} else {
|
|
36698
36698
|
if (item instanceof EventMessage) {
|
|
36699
|
-
tmp = item.
|
|
36699
|
+
tmp = item.n76(VOID, VOID, false);
|
|
36700
36700
|
} else {
|
|
36701
36701
|
gameLogger.w(VOID, "updateMessagesAsNotShown: Can't support this message " + toString(item));
|
|
36702
36702
|
tmp = item;
|
|
@@ -36732,7 +36732,7 @@
|
|
|
36732
36732
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
36733
36733
|
Companion_getInstance_8();
|
|
36734
36734
|
// Inline function 'kotlin.time.Companion.milliseconds' call
|
|
36735
|
-
var this_0 = $action.
|
|
36735
|
+
var this_0 = $action.y8e_1.timeoutTimeMillis;
|
|
36736
36736
|
var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
|
|
36737
36737
|
tmp = tmp_0.g6h(tmp_1.w6f(tmp_2, tmp$ret$0));
|
|
36738
36738
|
} else {
|
|
@@ -36766,13 +36766,13 @@
|
|
|
36766
36766
|
this.edr_1.d('ClientMechanicLifecycleReducer', 'onStart ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
36767
36767
|
var clientState = get_clientPayloadOrNull_0(state.payload);
|
|
36768
36768
|
var tmp0_$this = this.wa0_1;
|
|
36769
|
-
var tmp1_tableId = action.
|
|
36770
|
-
var tmp2_gameId = action.
|
|
36771
|
-
var tmp3_version = action.
|
|
36772
|
-
var tmp4_config = action.
|
|
36773
|
-
var tmp5_users = action.
|
|
36769
|
+
var tmp1_tableId = action.z8e_1;
|
|
36770
|
+
var tmp2_gameId = action.z8e_1;
|
|
36771
|
+
var tmp3_version = action.a8f_1;
|
|
36772
|
+
var tmp4_config = action.y8e_1;
|
|
36773
|
+
var tmp5_users = action.c8f_1;
|
|
36774
36774
|
var tmp6_spectators = emptyList();
|
|
36775
|
-
var tmp7_gameCreatorPlayerId = action.
|
|
36775
|
+
var tmp7_gameCreatorPlayerId = action.b8f_1;
|
|
36776
36776
|
var newTable = tmp0_$this.ca2(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ClientMechanicLifecycleReducer$onStart$lambda(this, action));
|
|
36777
36777
|
var tmp;
|
|
36778
36778
|
if (clientState == null) {
|
|
@@ -36787,7 +36787,7 @@
|
|
|
36787
36787
|
};
|
|
36788
36788
|
protoOf(ClientMechanicLifecycleReducer).ua0 = function (state, action) {
|
|
36789
36789
|
this.xa0_1.i5o(action.previousGameId);
|
|
36790
|
-
var newTable = this.wa0_1.da2(state.
|
|
36790
|
+
var newTable = this.wa0_1.da2(state.c72(), action.gameId);
|
|
36791
36791
|
var tmp = get_clientPayload(state);
|
|
36792
36792
|
var newPayload = this.fdr_1.tdq(tmp, ClientLifecycleReducer$gameFinishedMessagesReducer$ref(this.fdr_1));
|
|
36793
36793
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
@@ -36795,12 +36795,12 @@
|
|
|
36795
36795
|
};
|
|
36796
36796
|
protoOf(ClientMechanicLifecycleReducer).ta0 = function (state, action) {
|
|
36797
36797
|
this.edr_1.d('ClientMechanicLifecycleReducer', 'onContinue ' + get_versionOrDefault(GameEngineConfig_instance), action);
|
|
36798
|
-
var clientState = get_clientPayloadOrNull_0(action.
|
|
36798
|
+
var clientState = get_clientPayloadOrNull_0(action.h8f_1);
|
|
36799
36799
|
var tmp;
|
|
36800
36800
|
if (clientState == null) {
|
|
36801
36801
|
var tmp_0 = Companion_instance_88;
|
|
36802
|
-
var tmp_1 = get_currentPlayer(action.
|
|
36803
|
-
var tmp0_safe_receiver = action.
|
|
36802
|
+
var tmp_1 = get_currentPlayer(action.f8f_1).playerId;
|
|
36803
|
+
var tmp0_safe_receiver = action.f8f_1.sceneInfo.l8i_1;
|
|
36804
36804
|
var tmp_2;
|
|
36805
36805
|
if (tmp0_safe_receiver == null) {
|
|
36806
36806
|
tmp_2 = null;
|
|
@@ -36822,11 +36822,11 @@
|
|
|
36822
36822
|
}
|
|
36823
36823
|
var newPayload = tmp;
|
|
36824
36824
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
36825
|
-
var tmp2_tableOrNull = action.
|
|
36825
|
+
var tmp2_tableOrNull = action.f8f_1;
|
|
36826
36826
|
return state.z9i(tmp2_tableOrNull, newPayload, tmp1_gameLifecycleState, null);
|
|
36827
36827
|
};
|
|
36828
36828
|
protoOf(ClientMechanicLifecycleReducer).sa0 = function (state, action) {
|
|
36829
|
-
var tmp0_safe_receiver = state.
|
|
36829
|
+
var tmp0_safe_receiver = state.tableOrNull;
|
|
36830
36830
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gameId;
|
|
36831
36831
|
if (tmp1_safe_receiver == null)
|
|
36832
36832
|
null;
|
|
@@ -36836,23 +36836,23 @@
|
|
|
36836
36836
|
}
|
|
36837
36837
|
var newPayload = this.fdr_1.vdq(get_clientPayload(state));
|
|
36838
36838
|
var tmp2_gameLifecycleState = GameLifecycleState_FINISHING_getInstance();
|
|
36839
|
-
var tmp3_terminationState = new TerminationState(action.
|
|
36839
|
+
var tmp3_terminationState = new TerminationState(action.j8f_1, action.l8f_1);
|
|
36840
36840
|
return state.z9i(VOID, newPayload, tmp2_gameLifecycleState, tmp3_terminationState);
|
|
36841
36841
|
};
|
|
36842
36842
|
protoOf(ClientMechanicLifecycleReducer).ra0 = function (state, action) {
|
|
36843
36843
|
var tmp = GameLifecycleState_FINISHED_getInstance();
|
|
36844
|
-
var tmp0_safe_receiver = state.
|
|
36845
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a9j(action.
|
|
36846
|
-
return state.z9i(VOID, VOID, tmp, tmp1_elvis_lhs == null ? new TerminationState(action.
|
|
36844
|
+
var tmp0_safe_receiver = state.c71_1;
|
|
36845
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.a9j(action.n8f_1, action.q8f_1);
|
|
36846
|
+
return state.z9i(VOID, VOID, tmp, tmp1_elvis_lhs == null ? new TerminationState(action.n8f_1, action.q8f_1) : tmp1_elvis_lhs);
|
|
36847
36847
|
};
|
|
36848
36848
|
protoOf(ClientMechanicLifecycleReducer).qa0 = function (state, action) {
|
|
36849
36849
|
var tmp = get_clientPayload(state);
|
|
36850
36850
|
var newPayload = this.fdr_1.tdq(tmp, ClientLifecycleReducer$roundFinishedMessagesReducer$ref(this.fdr_1));
|
|
36851
|
-
var newTable = this.wa0_1.ya0(state.
|
|
36851
|
+
var newTable = this.wa0_1.ya0(state.c72());
|
|
36852
36852
|
return state.z9i(newTable, newPayload);
|
|
36853
36853
|
};
|
|
36854
36854
|
protoOf(ClientMechanicLifecycleReducer).pa0 = function (state, action) {
|
|
36855
|
-
var tmp0_safe_receiver = state.
|
|
36855
|
+
var tmp0_safe_receiver = state.tableOrNull;
|
|
36856
36856
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gameId;
|
|
36857
36857
|
if (tmp1_safe_receiver == null)
|
|
36858
36858
|
null;
|
|
@@ -36866,12 +36866,12 @@
|
|
|
36866
36866
|
tmp = null;
|
|
36867
36867
|
} else {
|
|
36868
36868
|
// Inline function 'kotlin.let' call
|
|
36869
|
-
tmp = this.fdr_1.vdq(tmp2_safe_receiver).vdm(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, action.
|
|
36869
|
+
tmp = this.fdr_1.vdq(tmp2_safe_receiver).vdm(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, action.g8h_1);
|
|
36870
36870
|
}
|
|
36871
36871
|
var newPayload = tmp;
|
|
36872
|
-
var tmp3_safe_receiver = state.
|
|
36873
|
-
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.b9j(action.
|
|
36874
|
-
var newTerminationState = tmp4_elvis_lhs == null ? new TerminationState(action.
|
|
36872
|
+
var tmp3_safe_receiver = state.c71_1;
|
|
36873
|
+
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.b9j(action.g8h_1.v87_1);
|
|
36874
|
+
var newTerminationState = tmp4_elvis_lhs == null ? new TerminationState(action.g8h_1.v87_1) : tmp4_elvis_lhs;
|
|
36875
36875
|
return state.z9i(VOID, newPayload, GameLifecycleState_FINISHED_getInstance(), newTerminationState);
|
|
36876
36876
|
};
|
|
36877
36877
|
function clientResetProcessingCardReducer() {
|
|
@@ -36911,7 +36911,7 @@
|
|
|
36911
36911
|
protoOf(clientSceneReducer$$inlined$reducerForActionType$1).j9z = function (state, action) {
|
|
36912
36912
|
var action_0 = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
36913
36913
|
var tmp;
|
|
36914
|
-
switch (action_0.
|
|
36914
|
+
switch (action_0.u8f_1) {
|
|
36915
36915
|
case 'WAITING':
|
|
36916
36916
|
tmp = state;
|
|
36917
36917
|
break;
|
|
@@ -36966,8 +36966,8 @@
|
|
|
36966
36966
|
var tmp_0 = get_clientPayload(state);
|
|
36967
36967
|
var tmp_1;
|
|
36968
36968
|
if (tmp2.odj_1) {
|
|
36969
|
-
var cards = last(state.
|
|
36970
|
-
tmp_1 = new LastBribeState(first(cards).
|
|
36969
|
+
var cards = last(state.c72().bribes).j85_1;
|
|
36970
|
+
tmp_1 = new LastBribeState(first(cards).m7o_1, getWhoGotLastBribe(state.c72().players).playerId, cards);
|
|
36971
36971
|
} else {
|
|
36972
36972
|
tmp_1 = null;
|
|
36973
36973
|
}
|
|
@@ -36977,8 +36977,8 @@
|
|
|
36977
36977
|
var tmp_2 = get_clientPayload(state);
|
|
36978
36978
|
var tmp_3;
|
|
36979
36979
|
if (tmp2.pdj_1) {
|
|
36980
|
-
var players = state.
|
|
36981
|
-
var tmp3_trump = state.
|
|
36980
|
+
var players = state.c72().players;
|
|
36981
|
+
var tmp3_trump = state.c72().currentTrump;
|
|
36982
36982
|
var tmp1_safe_receiver = singleOrNull(filterWhoChoseSuit(players));
|
|
36983
36983
|
var tmp4_whoChoseSuitPlayerId = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.playerId;
|
|
36984
36984
|
var tmp2_safe_receiver = singleOrNull(filterWhoShuffleCards(players));
|
|
@@ -37009,29 +37009,29 @@
|
|
|
37009
37009
|
} else {
|
|
37010
37010
|
// Inline function 'kotlin.let' call
|
|
37011
37011
|
// Inline function 'kotlin.collections.map' call
|
|
37012
|
-
var this_0 = state.
|
|
37012
|
+
var this_0 = state.c72().players;
|
|
37013
37013
|
// Inline function 'kotlin.collections.mapTo' call
|
|
37014
37014
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
37015
37015
|
var _iterator__ex2g4s = this_0.l();
|
|
37016
37016
|
while (_iterator__ex2g4s.m()) {
|
|
37017
37017
|
var item = _iterator__ex2g4s.n();
|
|
37018
37018
|
var updatedUser = firstOrNull(filterByPlayerId(tmp6_safe_receiver, item.playerId));
|
|
37019
|
-
var tmp$ret$0 = item.
|
|
37019
|
+
var tmp$ret$0 = item.t7a(updatedUser == null ? item.j75_1 : updatedUser);
|
|
37020
37020
|
destination.j(tmp$ret$0);
|
|
37021
37021
|
}
|
|
37022
37022
|
tmp_4 = destination;
|
|
37023
37023
|
}
|
|
37024
37024
|
var updatedPlayers = tmp_4;
|
|
37025
|
-
var tmp_5 = state.
|
|
37026
|
-
var tmp10_$this = state.
|
|
37025
|
+
var tmp_5 = state.c72();
|
|
37026
|
+
var tmp10_$this = state.c72().config;
|
|
37027
37027
|
var tmp7_elvis_lhs = tmp2.vdj_1;
|
|
37028
|
-
var tmp11_rulesSetType = tmp7_elvis_lhs == null ? state.
|
|
37028
|
+
var tmp11_rulesSetType = tmp7_elvis_lhs == null ? state.c72().config.rulesSetType : tmp7_elvis_lhs;
|
|
37029
37029
|
var tmp8_elvis_lhs = tmp2.wdj_1;
|
|
37030
|
-
var tmp12_rules = tmp8_elvis_lhs == null ? state.
|
|
37030
|
+
var tmp12_rules = tmp8_elvis_lhs == null ? state.c72().config.rules : tmp8_elvis_lhs;
|
|
37031
37031
|
var tmp9_elvis_lhs = tmp2.udj_1;
|
|
37032
|
-
var tmp13_options = tmp9_elvis_lhs == null ? state.
|
|
37032
|
+
var tmp13_options = tmp9_elvis_lhs == null ? state.c72().config.options : tmp9_elvis_lhs;
|
|
37033
37033
|
var tmp_6 = tmp10_$this.copy(tmp12_rules, tmp11_rulesSetType, tmp13_options);
|
|
37034
|
-
var tmp_7 = tmp_5.copy(VOID, VOID, VOID, tmp_6, updatedPlayers == null ? state.
|
|
37034
|
+
var tmp_7 = tmp_5.copy(VOID, VOID, VOID, tmp_6, updatedPlayers == null ? state.c72().players : updatedPlayers);
|
|
37035
37035
|
var tmp_8 = get_clientPayload(state);
|
|
37036
37036
|
var tmp15_elvis_lhs = tmp2.tdj_1;
|
|
37037
37037
|
tmp = state.z9i(tmp_7, tmp_8.vdm(tmp15_elvis_lhs == null ? get_clientPayload(state).ya9_1 : tmp15_elvis_lhs));
|
|
@@ -37039,7 +37039,7 @@
|
|
|
37039
37039
|
if (tmp2 instanceof ClientMessageAction) {
|
|
37040
37040
|
var messages = get_clientPayload(state).za9_1;
|
|
37041
37041
|
var lastMessage = lastOrNull(messages);
|
|
37042
|
-
if ((lastMessage == null ? null : lastMessage.
|
|
37042
|
+
if ((lastMessage == null ? null : lastMessage.k76(tmp2.ydj_1)) === true) {
|
|
37043
37043
|
tmp$ret$5 = state;
|
|
37044
37044
|
break $l$block;
|
|
37045
37045
|
}
|
|
@@ -37052,7 +37052,7 @@
|
|
|
37052
37052
|
tmp = state.z9i(VOID, get_clientPayload(state).vdm(VOID, VOID, tmp2.idj_1));
|
|
37053
37053
|
} else {
|
|
37054
37054
|
if (tmp2 instanceof UpdateMessagesCountAction) {
|
|
37055
|
-
tmp = state.z9i(updateVoiceCount_0(state.
|
|
37055
|
+
tmp = state.z9i(updateVoiceCount_0(state.c72(), this.ldr_1));
|
|
37056
37056
|
} else {
|
|
37057
37057
|
if (tmp2 instanceof ResetErrorAction) {
|
|
37058
37058
|
var tmp17_safe_receiver = get_clientPayloadOrNull(state);
|
|
@@ -37120,22 +37120,22 @@
|
|
|
37120
37120
|
return new clientResetMessagesAfterBribeReducer$$inlined$reducerForActionType$1(gameLogger);
|
|
37121
37121
|
}
|
|
37122
37122
|
function updateVoiceCount(table, action) {
|
|
37123
|
-
var message = action.
|
|
37123
|
+
var message = action.d8h_1;
|
|
37124
37124
|
var tmp;
|
|
37125
37125
|
if (isInterface(message, UserMessage)) {
|
|
37126
|
-
tmp = message.
|
|
37126
|
+
tmp = message.p77();
|
|
37127
37127
|
} else {
|
|
37128
37128
|
tmp = false;
|
|
37129
37129
|
}
|
|
37130
37130
|
if (tmp) {
|
|
37131
|
-
var player = getPlayer(table.players, message.
|
|
37132
|
-
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.
|
|
37131
|
+
var player = getPlayer(table.players, message.o77().v6e_1);
|
|
37132
|
+
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.t7a(VOID, VOID, VOID, player.m75_1.y7e(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, player.m75_1.n7a_1 - 1 | 0)), get_byIdPlayerPredicate()(player.playerId)));
|
|
37133
37133
|
}
|
|
37134
37134
|
return table;
|
|
37135
37135
|
}
|
|
37136
37136
|
function updateVoiceCount_0(table, playerId) {
|
|
37137
37137
|
var player = getPlayer(table.players, playerId);
|
|
37138
|
-
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.
|
|
37138
|
+
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.t7a(VOID, VOID, VOID, player.m75_1.y7e(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, player.m75_1.n7a_1 - 1 | 0)), get_byIdPlayerPredicate()(player.playerId)));
|
|
37139
37139
|
}
|
|
37140
37140
|
function messageReducer$$inlined$reducerForActionType$1() {
|
|
37141
37141
|
}
|
|
@@ -37145,7 +37145,7 @@
|
|
|
37145
37145
|
protoOf(messageReducer$$inlined$reducerForActionType$1).j9z = function (state, action) {
|
|
37146
37146
|
var action_0 = action instanceof MessageMechanicAction ? action : THROW_CCE();
|
|
37147
37147
|
var clientState = get_clientPayload(state);
|
|
37148
|
-
return state.z9i(updateVoiceCount(state.
|
|
37148
|
+
return state.z9i(updateVoiceCount(state.c72(), action_0), clientState.vdm(VOID, plus_0(clientState.za9_1, action_0.d8h_1)));
|
|
37149
37149
|
};
|
|
37150
37150
|
protoOf(messageReducer$$inlined$reducerForActionType$1).r6q = function (state, action) {
|
|
37151
37151
|
return this.j9z((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -37223,7 +37223,7 @@
|
|
|
37223
37223
|
tmp = new ErrorState(VOID, VOID, ProcessingReason_getInstance());
|
|
37224
37224
|
} else {
|
|
37225
37225
|
if (action_0 instanceof FinishGameMechanicAction) {
|
|
37226
|
-
tmp = mapToErrorState(action_0.
|
|
37226
|
+
tmp = mapToErrorState(action_0.n8f_1, state.c72());
|
|
37227
37227
|
} else {
|
|
37228
37228
|
tmp = null;
|
|
37229
37229
|
}
|
|
@@ -37386,7 +37386,7 @@
|
|
|
37386
37386
|
return tmp1_$this.pdd(tmp2_playerId, tmp3_isCurrentPlayer, tmp5_cards, tmp4_players, tmp6_processingCardOnTable);
|
|
37387
37387
|
}
|
|
37388
37388
|
function getOpenOrHiddenCardsInHand$default($this, player, currentPlayerId, players, processingCard, cards, $super) {
|
|
37389
|
-
cards = cards === VOID ? player.
|
|
37389
|
+
cards = cards === VOID ? player.l75_1 : cards;
|
|
37390
37390
|
return getOpenOrHiddenCardsInHand($this, player, currentPlayerId, players, processingCard, cards);
|
|
37391
37391
|
}
|
|
37392
37392
|
function handleTradeScene($this, state, action, currentPlayerId) {
|
|
@@ -37401,7 +37401,7 @@
|
|
|
37401
37401
|
throw new MechanicException('Required ' + getKClass(TradeSceneData).ea() + ', current scene is ' + toString_0(tmp0));
|
|
37402
37402
|
}
|
|
37403
37403
|
var sceneData = tmp$ret$0;
|
|
37404
|
-
var playersCardsToDistribute = sceneData.
|
|
37404
|
+
var playersCardsToDistribute = sceneData.s7q_1;
|
|
37405
37405
|
// Inline function 'kotlin.collections.sumOf' call
|
|
37406
37406
|
var sum = 0;
|
|
37407
37407
|
var _iterator__ex2g4s = playersCardsToDistribute.e2().l();
|
|
@@ -37411,9 +37411,9 @@
|
|
|
37411
37411
|
sum = tmp + element.o() | 0;
|
|
37412
37412
|
}
|
|
37413
37413
|
var cardsToDistributeCount = sum;
|
|
37414
|
-
var otherCardsCount = sceneData.
|
|
37414
|
+
var otherCardsCount = sceneData.v7q_1.o();
|
|
37415
37415
|
var cardDeckCards = createCardDeckCards($this, cardsToDistributeCount, otherCardsCount);
|
|
37416
|
-
var shuffleCardTransition = new ShuffleCardDeckTransition($this.xdr_1.z6m(), plus(listOf_0(sceneData.
|
|
37416
|
+
var shuffleCardTransition = new ShuffleCardDeckTransition($this.xdr_1.z6m(), plus(listOf_0(sceneData.u7q_1), cardDeckCards));
|
|
37417
37417
|
var distributionTransition = createCardDistributionTransition($this, state, currentPlayerId, playersCardsToDistribute, null, otherCardsCount);
|
|
37418
37418
|
var updatedTransitions = plus(get_clientPayload(state).laa_1, listOf([shuffleCardTransition, distributionTransition]));
|
|
37419
37419
|
return state.z9i(VOID, get_clientPayload(state).vdm(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
@@ -37431,20 +37431,20 @@
|
|
|
37431
37431
|
}
|
|
37432
37432
|
var sceneData = tmp$ret$0;
|
|
37433
37433
|
var tmp0_$this = $this.wdr_1;
|
|
37434
|
-
var tmp1_config = state.
|
|
37435
|
-
var tmp2_cardDeck = state.
|
|
37436
|
-
var tmp3_newTopOpenedCard = sceneData.
|
|
37437
|
-
var tmp4_newPlayersCards = sceneData.
|
|
37434
|
+
var tmp1_config = state.c72().config;
|
|
37435
|
+
var tmp2_cardDeck = state.c72().requireCardDeck;
|
|
37436
|
+
var tmp3_newTopOpenedCard = sceneData.a7r_1;
|
|
37437
|
+
var tmp4_newPlayersCards = sceneData.y7q_1;
|
|
37438
37438
|
var updatedCardDeck = tmp0_$this.ra1(tmp2_cardDeck, tmp4_newPlayersCards, tmp1_config, tmp3_newTopOpenedCard);
|
|
37439
|
-
var tmp5_distributeTrumpCard = updatedCardDeck.
|
|
37440
|
-
var tmp6_playersCardsToDistribute = sceneData.
|
|
37441
|
-
var tmp7_otherCardsCount = updatedCardDeck.
|
|
37439
|
+
var tmp5_distributeTrumpCard = updatedCardDeck.m85_1;
|
|
37440
|
+
var tmp6_playersCardsToDistribute = sceneData.y7q_1;
|
|
37441
|
+
var tmp7_otherCardsCount = updatedCardDeck.r91();
|
|
37442
37442
|
var distributionTransition = createCardDistributionTransition($this, state, currentPlayerId, tmp6_playersCardsToDistribute, tmp5_distributeTrumpCard, tmp7_otherCardsCount);
|
|
37443
37443
|
var updatedTransitions = plus_0(get_clientPayload(state).laa_1, distributionTransition);
|
|
37444
37444
|
return state.z9i(VOID, get_clientPayload(state).vdm(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
37445
37445
|
}
|
|
37446
37446
|
function createCardDistributionTransition($this, state, currentPlayerId, playersCardsToDistribute, distributeTrumpCard, otherCardsCount) {
|
|
37447
|
-
var table = state.
|
|
37447
|
+
var table = state.c72();
|
|
37448
37448
|
var distributeToCards = prepareCardsForDistribution($this, table, get_clientPayload(state), currentPlayerId, playersCardsToDistribute);
|
|
37449
37449
|
// Inline function 'kotlin.collections.sumOf' call
|
|
37450
37450
|
var sum = 0;
|
|
@@ -37525,7 +37525,7 @@
|
|
|
37525
37525
|
while (_iterator__ex2g4s.m()) {
|
|
37526
37526
|
var item = _iterator__ex2g4s.n();
|
|
37527
37527
|
var newCards = getValue(playersCardsToDistribute, item.playerId);
|
|
37528
|
-
var tmp0_cards = plus(item.
|
|
37528
|
+
var tmp0_cards = plus(item.l75_1, newCards);
|
|
37529
37529
|
var tmp1_players = table.players;
|
|
37530
37530
|
var tmp2_processingCard = clientPayload.kaa_1;
|
|
37531
37531
|
var hiddenCardsIfNeeded = getOpenOrHiddenCardsInHand($this, item, currentPlayerId, tmp1_players, tmp2_processingCard, tmp0_cards);
|
|
@@ -37539,7 +37539,7 @@
|
|
|
37539
37539
|
function determineWhoGetsTheTrumpCard($this, table) {
|
|
37540
37540
|
var tmp;
|
|
37541
37541
|
if (!(firstOrNull(filterWhoChoseSuit(table.players)) == null)) {
|
|
37542
|
-
tmp = $this.ydr_1.
|
|
37542
|
+
tmp = $this.ydr_1.n98(table.players, table.config);
|
|
37543
37543
|
} else {
|
|
37544
37544
|
tmp = null;
|
|
37545
37545
|
}
|
|
@@ -37684,7 +37684,7 @@
|
|
|
37684
37684
|
};
|
|
37685
37685
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1).j9z = function (state, action) {
|
|
37686
37686
|
var action_0 = action instanceof PutCardAndCheckCombinationsAction ? action : THROW_CCE();
|
|
37687
|
-
var updatedTransitions = addPutCardOnTableTransition(this.fds_1, this.gds_1, this.gds_1, action_0.edj_1.s6i_1, state.
|
|
37687
|
+
var updatedTransitions = addPutCardOnTableTransition(this.fds_1, this.gds_1, this.gds_1, action_0.edj_1.s6i_1, state.c72(), get_clientPayload(state));
|
|
37688
37688
|
return state.z9i(VOID, get_clientPayload(state).vdm(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
37689
37689
|
};
|
|
37690
37690
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1).r6q = function (state, action) {
|
|
@@ -37699,7 +37699,7 @@
|
|
|
37699
37699
|
};
|
|
37700
37700
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1).j9z = function (state, action) {
|
|
37701
37701
|
var action_0 = action instanceof PutCardMechanicAction ? action : THROW_CCE();
|
|
37702
|
-
var updatedTransitions = addPutCardOnTableTransition(this.hds_1, action_0.playerId, this.ids_1, action_0.
|
|
37702
|
+
var updatedTransitions = addPutCardOnTableTransition(this.hds_1, action_0.playerId, this.ids_1, action_0.t8g_1, state.c72(), get_clientPayload(state));
|
|
37703
37703
|
return state.z9i(VOID, get_clientPayload(state).vdm(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
37704
37704
|
};
|
|
37705
37705
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1).r6q = function (state, action) {
|
|
@@ -37715,7 +37715,7 @@
|
|
|
37715
37715
|
protoOf(TransitionsReducerImpl$addTransitionWhenCardDistributionReducer$$inlined$reducerForActionType$1).j9z = function (state, action) {
|
|
37716
37716
|
var action_0 = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
37717
37717
|
var tmp;
|
|
37718
|
-
switch (action_0.
|
|
37718
|
+
switch (action_0.u8f_1) {
|
|
37719
37719
|
case 'TRADE':
|
|
37720
37720
|
tmp = handleTradeScene(this.jds_1, state, action_0, this.kds_1);
|
|
37721
37721
|
break;
|
|
@@ -37744,15 +37744,15 @@
|
|
|
37744
37744
|
var expectantAction = action_0.bdk_1.ean_1;
|
|
37745
37745
|
var tmp;
|
|
37746
37746
|
if (expectantAction instanceof CombinationChoiceMechanicAction) {
|
|
37747
|
-
var combination = first(expectantAction.
|
|
37747
|
+
var combination = first(expectantAction.q8g_1);
|
|
37748
37748
|
var tmp_0;
|
|
37749
|
-
if (expectantAction.
|
|
37750
|
-
var trumpCard = single(combination.
|
|
37751
|
-
var trumpCardOrOrigin = getOpenOrHiddenCardInHand(this.lds_1, trumpCard, getPlayer(state.
|
|
37749
|
+
if (expectantAction.p8g_1 && combination.k7p_1.equals(CombinationType_SEVEN_TRUMP_getInstance())) {
|
|
37750
|
+
var trumpCard = single(combination.w91());
|
|
37751
|
+
var trumpCardOrOrigin = getOpenOrHiddenCardInHand(this.lds_1, trumpCard, getPlayer(state.c72().players, expectantAction.playerId), this.mds_1, state.c72().players);
|
|
37752
37752
|
var tmp0_id = this.lds_1.xdr_1.z6m();
|
|
37753
37753
|
var tmp1_playerIds = listOf_0(expectantAction.playerId);
|
|
37754
|
-
var tmp2_toCard2 = state.
|
|
37755
|
-
var tmp3_fromCard2 = state.
|
|
37754
|
+
var tmp2_toCard2 = state.c72().requireCardDeck.m85_1;
|
|
37755
|
+
var tmp3_fromCard2 = state.c72().requireCardDeck.m85_1;
|
|
37756
37756
|
var updatedTransitions = plus_0(clientPayload.laa_1, new SwapCardsTransition(tmp0_id, tmp1_playerIds, trumpCardOrOrigin, trumpCard, tmp3_fromCard2, tmp2_toCard2));
|
|
37757
37757
|
tmp_0 = state.z9i(VOID, clientPayload.vdm(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
37758
37758
|
} else {
|
|
@@ -37763,27 +37763,27 @@
|
|
|
37763
37763
|
if (expectantAction instanceof WinnerCombinationsMechanicAction) {
|
|
37764
37764
|
var tmp_1 = this.lds_1.xdr_1.z6m();
|
|
37765
37765
|
// Inline function 'kotlin.collections.associate' call
|
|
37766
|
-
var this_0 = expectantAction.
|
|
37766
|
+
var this_0 = expectantAction.b8h_1;
|
|
37767
37767
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
37768
37768
|
// Inline function 'kotlin.collections.associateTo' call
|
|
37769
37769
|
var destination = LinkedHashMap_init_$Create$(capacity);
|
|
37770
37770
|
var _iterator__ex2g4s = this_0.l();
|
|
37771
37771
|
while (_iterator__ex2g4s.m()) {
|
|
37772
37772
|
var element = _iterator__ex2g4s.n();
|
|
37773
|
-
var player = getPlayer(state.
|
|
37774
|
-
var sortedPlayerCards = sortedWith(player.
|
|
37773
|
+
var player = getPlayer(state.c72().players, element.f86_1);
|
|
37774
|
+
var sortedPlayerCards = sortedWith(player.l75_1, new CardSuitSortingComparator(get_clientPayload(state).ya9_1.val_1));
|
|
37775
37775
|
// Inline function 'kotlin.collections.map' call
|
|
37776
|
-
var this_1 = element.
|
|
37776
|
+
var this_1 = element.g86_1;
|
|
37777
37777
|
// Inline function 'kotlin.collections.mapTo' call
|
|
37778
37778
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
|
|
37779
37779
|
var _iterator__ex2g4s_0 = this_1.l();
|
|
37780
37780
|
while (_iterator__ex2g4s_0.m()) {
|
|
37781
37781
|
var item = _iterator__ex2g4s_0.n();
|
|
37782
|
-
var tmp$ret$0 = item.
|
|
37782
|
+
var tmp$ret$0 = item.w91();
|
|
37783
37783
|
destination_0.j(tmp$ret$0);
|
|
37784
37784
|
}
|
|
37785
37785
|
var combinationCards = flatten(destination_0);
|
|
37786
|
-
var tmp0_players = state.
|
|
37786
|
+
var tmp0_players = state.c72().players;
|
|
37787
37787
|
var tmp1_processingCard = clientPayload.kaa_1;
|
|
37788
37788
|
var openOrHiddenCards = getOpenOrHiddenCardsInHand(this.lds_1, player, this.mds_1, tmp0_players, tmp1_processingCard, combinationCards);
|
|
37789
37789
|
// Inline function 'kotlin.collections.mapIndexed' call
|
|
@@ -37812,7 +37812,7 @@
|
|
|
37812
37812
|
}
|
|
37813
37813
|
var handTransitions = destination_1;
|
|
37814
37814
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
37815
|
-
var pair = to(element.
|
|
37815
|
+
var pair = to(element.f86_1, handTransitions);
|
|
37816
37816
|
destination.m2(pair.me_1, pair.ne_1);
|
|
37817
37817
|
}
|
|
37818
37818
|
var updatedTransitions_0 = plus_0(clientPayload.laa_1, new ShowCombinationTransition(tmp_1, destination));
|
|
@@ -37821,16 +37821,16 @@
|
|
|
37821
37821
|
if (expectantAction instanceof PickUpBribeMechanicAction) {
|
|
37822
37822
|
var tmp_3 = this.lds_1.xdr_1.z6m();
|
|
37823
37823
|
// Inline function 'kotlin.collections.map' call
|
|
37824
|
-
var this_3 = state.
|
|
37824
|
+
var this_3 = state.c72().cardsOnTable;
|
|
37825
37825
|
// Inline function 'kotlin.collections.mapTo' call
|
|
37826
37826
|
var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
|
|
37827
37827
|
var _iterator__ex2g4s_2 = this_3.l();
|
|
37828
37828
|
while (_iterator__ex2g4s_2.m()) {
|
|
37829
37829
|
var item_1 = _iterator__ex2g4s_2.n();
|
|
37830
|
-
var tmp$ret$10 = item_1.
|
|
37830
|
+
var tmp$ret$10 = item_1.o7o_1;
|
|
37831
37831
|
destination_2.j(tmp$ret$10);
|
|
37832
37832
|
}
|
|
37833
|
-
var updatedTransitions_1 = plus_0(clientPayload.laa_1, new PickUpBribeTransition(tmp_3, expectantAction.
|
|
37833
|
+
var updatedTransitions_1 = plus_0(clientPayload.laa_1, new PickUpBribeTransition(tmp_3, expectantAction.y8g_1, destination_2));
|
|
37834
37834
|
tmp = state.z9i(VOID, clientPayload.vdm(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions_1));
|
|
37835
37835
|
} else {
|
|
37836
37836
|
tmp = state;
|
|
@@ -37920,7 +37920,7 @@
|
|
|
37920
37920
|
var _iterator__ex2g4s = tmp1_safe_receiver.l();
|
|
37921
37921
|
while (_iterator__ex2g4s.m()) {
|
|
37922
37922
|
var element = _iterator__ex2g4s.n();
|
|
37923
|
-
var list = element.
|
|
37923
|
+
var list = element.g86_1;
|
|
37924
37924
|
addAll(destination, list);
|
|
37925
37925
|
}
|
|
37926
37926
|
tmp = destination;
|
|
@@ -37936,7 +37936,7 @@
|
|
|
37936
37936
|
var _iterator__ex2g4s_0 = cardsOnTable.l();
|
|
37937
37937
|
while (_iterator__ex2g4s_0.m()) {
|
|
37938
37938
|
var element_0 = _iterator__ex2g4s_0.n();
|
|
37939
|
-
if (element_0.
|
|
37939
|
+
if (element_0.m7o_1 === playerId) {
|
|
37940
37940
|
tmp$ret$4 = element_0;
|
|
37941
37941
|
break $l$block;
|
|
37942
37942
|
}
|
|
@@ -37944,7 +37944,7 @@
|
|
|
37944
37944
|
tmp$ret$4 = null;
|
|
37945
37945
|
}
|
|
37946
37946
|
var tmp5_safe_receiver = tmp$ret$4;
|
|
37947
|
-
var tableCard = tmp5_safe_receiver == null ? null : tmp5_safe_receiver.
|
|
37947
|
+
var tableCard = tmp5_safe_receiver == null ? null : tmp5_safe_receiver.o7o_1;
|
|
37948
37948
|
// Inline function 'kotlin.collections.map' call
|
|
37949
37949
|
// Inline function 'kotlin.collections.mapTo' call
|
|
37950
37950
|
var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(combinations, 10));
|
|
@@ -37952,7 +37952,7 @@
|
|
|
37952
37952
|
while (_iterator__ex2g4s_1.m()) {
|
|
37953
37953
|
var item = _iterator__ex2g4s_1.n();
|
|
37954
37954
|
// Inline function 'kotlin.collections.filterNot' call
|
|
37955
|
-
var tmp0 = item.
|
|
37955
|
+
var tmp0 = item.w91();
|
|
37956
37956
|
// Inline function 'kotlin.collections.filterNotTo' call
|
|
37957
37957
|
var destination_1 = ArrayList_init_$Create$_0();
|
|
37958
37958
|
var _iterator__ex2g4s_2 = tmp0.l();
|
|
@@ -37996,7 +37996,7 @@
|
|
|
37996
37996
|
tmp = tmp0_elvis_lhs;
|
|
37997
37997
|
}
|
|
37998
37998
|
var mechanic = tmp;
|
|
37999
|
-
var filtered = filterByPlayerId(mechanic.ean_1.
|
|
37999
|
+
var filtered = filterByPlayerId(mechanic.ean_1.b8h_1, playerId);
|
|
38000
38000
|
if (filtered.q())
|
|
38001
38001
|
return null;
|
|
38002
38002
|
var updated = mechanic.ian(VOID, mechanic.ean_1.l9l(filtered));
|
|
@@ -38031,7 +38031,7 @@
|
|
|
38031
38031
|
tmp = tmp0_elvis_lhs;
|
|
38032
38032
|
}
|
|
38033
38033
|
var mechanic = tmp;
|
|
38034
|
-
if (!(mechanic.ean_1.
|
|
38034
|
+
if (!(mechanic.ean_1.r8g_1 === playerId))
|
|
38035
38035
|
return null;
|
|
38036
38036
|
return mapToExpectant(mechanic);
|
|
38037
38037
|
}
|
|
@@ -38074,7 +38074,7 @@
|
|
|
38074
38074
|
var player = getPlayer(table.players, playerId);
|
|
38075
38075
|
var tmp1_isCurrentPlayer = player.playerId === get_currentPlayer(table).playerId;
|
|
38076
38076
|
var tmp2_playerId = player.playerId;
|
|
38077
|
-
var tmp3_cards = player.
|
|
38077
|
+
var tmp3_cards = player.l75_1;
|
|
38078
38078
|
var tmp4_players = mapWithIndex(table.players);
|
|
38079
38079
|
var tmp0_safe_receiver = clientPayload.kaa_1;
|
|
38080
38080
|
var tmp5_processingCardOnTable = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s6i_1;
|
|
@@ -38089,13 +38089,13 @@
|
|
|
38089
38089
|
var _iterator__ex2g4s = combinations.l();
|
|
38090
38090
|
while (_iterator__ex2g4s.m()) {
|
|
38091
38091
|
var item = _iterator__ex2g4s.n();
|
|
38092
|
-
var tmp0_elvis_lhs = item.
|
|
38092
|
+
var tmp0_elvis_lhs = item.l7p_1;
|
|
38093
38093
|
var tmp$ret$0 = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
38094
38094
|
destination.j(tmp$ret$0);
|
|
38095
38095
|
}
|
|
38096
38096
|
var combinationCards = flatten(destination);
|
|
38097
38097
|
var tmp7_safe_receiver = table.cardDeck;
|
|
38098
|
-
var tmp8_elvis_lhs = tmp7_safe_receiver == null ? null : tmp7_safe_receiver.
|
|
38098
|
+
var tmp8_elvis_lhs = tmp7_safe_receiver == null ? null : tmp7_safe_receiver.r91();
|
|
38099
38099
|
var tmp = tmp8_elvis_lhs == null ? 0 : tmp8_elvis_lhs;
|
|
38100
38100
|
// Inline function 'kotlin.collections.map' call
|
|
38101
38101
|
var this_0 = sortedWith(swapWithCombinationCardsIfNeeded(this, playerCards, combinationCards), new CardSuitSortingComparator(clientPayload.ya9_1.val_1));
|
|
@@ -38107,7 +38107,7 @@
|
|
|
38107
38107
|
var tmp1_isDistribution = cardsToDistribute.u1(item_0);
|
|
38108
38108
|
var tmp2_enabled = cardsStateVM.naj(item_0);
|
|
38109
38109
|
var tmp0_safe_receiver_0 = table.cardDeck;
|
|
38110
|
-
var tmp3_isTrump = equals(tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.
|
|
38110
|
+
var tmp3_isTrump = equals(tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.m85_1, item_0);
|
|
38111
38111
|
var tmp$ret$3 = new CardViewModel(item_0, tmp2_enabled, tmp3_isTrump, tmp1_isDistribution);
|
|
38112
38112
|
destination_0.j(tmp$ret$3);
|
|
38113
38113
|
}
|
|
@@ -38116,7 +38116,7 @@
|
|
|
38116
38116
|
protoOf(PlayerHandSelector).rdd = function (playerCards, isCardsDistribution, table) {
|
|
38117
38117
|
var tmp;
|
|
38118
38118
|
if (isCardsDistribution) {
|
|
38119
|
-
switch (table.sceneInfo.
|
|
38119
|
+
switch (table.sceneInfo.h8i_1) {
|
|
38120
38120
|
case 'TRADE':
|
|
38121
38121
|
tmp = playerCards;
|
|
38122
38122
|
break;
|
|
@@ -38159,7 +38159,7 @@
|
|
|
38159
38159
|
}
|
|
38160
38160
|
var playerTransitions = destination_0;
|
|
38161
38161
|
var tmp1_playerId = player.playerId;
|
|
38162
|
-
var tmp2_cards = player.
|
|
38162
|
+
var tmp2_cards = player.l75_1;
|
|
38163
38163
|
var tmp3_players = mapWithIndex(table.players);
|
|
38164
38164
|
var tmp0_safe_receiver = clientPayload.kaa_1;
|
|
38165
38165
|
var tmp4_processingCardOnTable = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s6i_1;
|
|
@@ -38180,12 +38180,12 @@
|
|
|
38180
38180
|
};
|
|
38181
38181
|
protoOf(PlayerHandSelector).kcq = function (isCurrentPlayer, cards, isGameActive, table, clientPayload) {
|
|
38182
38182
|
var currentPlayer = get_currentPlayer(table);
|
|
38183
|
-
var isEarnPointScene = get_isEarnPointScene(table.sceneInfo.
|
|
38184
|
-
var tmp0_safe_receiver = table.sceneInfo.
|
|
38183
|
+
var isEarnPointScene = get_isEarnPointScene(table.sceneInfo.h8i_1);
|
|
38184
|
+
var tmp0_safe_receiver = table.sceneInfo.j8i_1;
|
|
38185
38185
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : get_isPlayerTurnAct(tmp0_safe_receiver);
|
|
38186
38186
|
var isPlayerTurnAct = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
|
|
38187
38187
|
var tmp;
|
|
38188
|
-
if (isCurrentPlayer && isGameActive && clientPayload.eaa_1 && currentPlayer.
|
|
38188
|
+
if (isCurrentPlayer && isGameActive && clientPayload.eaa_1 && currentPlayer.k75_1.u6f() && isEarnPointScene && isPlayerTurnAct && clientPayload.kaa_1 == null) {
|
|
38189
38189
|
// Inline function 'kotlin.collections.filter' call
|
|
38190
38190
|
// Inline function 'kotlin.collections.filterTo' call
|
|
38191
38191
|
var destination = ArrayList_init_$Create$_0();
|
|
@@ -38245,7 +38245,7 @@
|
|
|
38245
38245
|
var _iterator__ex2g4s = tmp1_safe_receiver.l();
|
|
38246
38246
|
while (_iterator__ex2g4s.m()) {
|
|
38247
38247
|
var element = _iterator__ex2g4s.n();
|
|
38248
|
-
var tmp0_safe_receiver = element.
|
|
38248
|
+
var tmp0_safe_receiver = element.l7p_1;
|
|
38249
38249
|
if (tmp0_safe_receiver == null)
|
|
38250
38250
|
null;
|
|
38251
38251
|
else {
|
|
@@ -38562,7 +38562,7 @@
|
|
|
38562
38562
|
if (!(gameId == null) && !(currentPlayerId == null)) {
|
|
38563
38563
|
tmp = new ClientLoggerKey(gameId, currentPlayerId);
|
|
38564
38564
|
} else {
|
|
38565
|
-
var tmp0_safe_receiver = _this__u8e3s4.
|
|
38565
|
+
var tmp0_safe_receiver = _this__u8e3s4.tableOrNull;
|
|
38566
38566
|
tmp = tmp0_safe_receiver == null ? null : get_clientLoggerKey(tmp0_safe_receiver);
|
|
38567
38567
|
}
|
|
38568
38568
|
return tmp;
|
|
@@ -38602,7 +38602,7 @@
|
|
|
38602
38602
|
if (tmp2_safe_receiver == null)
|
|
38603
38603
|
null;
|
|
38604
38604
|
else {
|
|
38605
|
-
tmp2_safe_receiver.
|
|
38605
|
+
tmp2_safe_receiver.a72(ShowErrorLoggerOutputImpl$onError$slambda_0(message, reason, null));
|
|
38606
38606
|
}
|
|
38607
38607
|
}
|
|
38608
38608
|
function ShowErrorLoggerOutputImpl$onError$slambda($message, $reason, resultContinuation) {
|
|
@@ -38877,7 +38877,7 @@
|
|
|
38877
38877
|
}
|
|
38878
38878
|
var tmp0_safe_receiver = $gameClient();
|
|
38879
38879
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.h6f();
|
|
38880
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
38880
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.tableOrNull;
|
|
38881
38881
|
return tmp2_safe_receiver == null ? null : toLoggerPayload(tmp2_safe_receiver);
|
|
38882
38882
|
};
|
|
38883
38883
|
}
|
|
@@ -39099,13 +39099,13 @@
|
|
|
39099
39099
|
return this.t5j();
|
|
39100
39100
|
});
|
|
39101
39101
|
defineProp(protoOf(BaseGameMechanic), 'table', function () {
|
|
39102
|
-
return this.
|
|
39102
|
+
return this.c72();
|
|
39103
39103
|
});
|
|
39104
39104
|
defineProp(protoOf(BaseGameMechanic), 'isTableExists', function () {
|
|
39105
|
-
return this.
|
|
39105
|
+
return this.d72();
|
|
39106
39106
|
});
|
|
39107
39107
|
defineProp(protoOf(BaseGameMechanic), 'gameLifecycleState', function () {
|
|
39108
|
-
return this.
|
|
39108
|
+
return this.e72();
|
|
39109
39109
|
});
|
|
39110
39110
|
defineProp(protoOf(OnlineGameMechanicImpl), 'currentPlayerId', function () {
|
|
39111
39111
|
return this.wbr();
|
|
@@ -39114,13 +39114,13 @@
|
|
|
39114
39114
|
return this.t5j();
|
|
39115
39115
|
});
|
|
39116
39116
|
defineProp(protoOf(OnlineGameMechanicImpl), 'table', function () {
|
|
39117
|
-
return this.
|
|
39117
|
+
return this.c72();
|
|
39118
39118
|
});
|
|
39119
39119
|
defineProp(protoOf(OnlineGameMechanicImpl), 'isTableExists', function () {
|
|
39120
|
-
return this.
|
|
39120
|
+
return this.d72();
|
|
39121
39121
|
});
|
|
39122
39122
|
defineProp(protoOf(OnlineGameMechanicImpl), 'gameLifecycleState', function () {
|
|
39123
|
-
return this.
|
|
39123
|
+
return this.e72();
|
|
39124
39124
|
});
|
|
39125
39125
|
protoOf(PlayersSceneContractImpl).acj = waitUntilSceneActivated;
|
|
39126
39126
|
protoOf(TableSceneContractImpl).acj = waitUntilSceneActivated;
|
|
@@ -39215,7 +39215,7 @@
|
|
|
39215
39215
|
});
|
|
39216
39216
|
protoOf(ExpectantTimerTag).ignoreValidation = ignoreValidation;
|
|
39217
39217
|
protoOf(ResetMessageTimerTag).ignoreValidation = ignoreValidation;
|
|
39218
|
-
protoOf(ResetMessageTimerTag).
|
|
39218
|
+
protoOf(ResetMessageTimerTag).i9i = ignoreTimerResetValidation;
|
|
39219
39219
|
defineProp(protoOf(DistributeCardsModel), 'playerId', function () {
|
|
39220
39220
|
return this.h6e();
|
|
39221
39221
|
});
|