game_client_logic_deb 1.5.5 → 1.5.6
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/Logic_Debertz-core.js +290 -282
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +6708 -6595
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +3 -2
- package/Logic_Debertz-game_client.js +429 -429
- package/package.json +1 -1
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
function observeClientState() {
|
|
323
323
|
var tmp$ret$2;
|
|
324
324
|
// Inline function 'kotlinx.coroutines.flow.mapNotNull' call
|
|
325
|
-
var tmp0_mapNotNull = this.
|
|
325
|
+
var tmp0_mapNotNull = this.k2s();
|
|
326
326
|
var tmp$ret$1;
|
|
327
327
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
328
328
|
var tmp$ret$0;
|
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
338
338
|
var tmp$ret$2;
|
|
339
339
|
// Inline function 'kotlinx.coroutines.flow.filter' call
|
|
340
|
-
var tmp0_filter = this.
|
|
340
|
+
var tmp0_filter = this.k2s();
|
|
341
341
|
var tmp$ret$1;
|
|
342
342
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
343
343
|
var tmp$ret$0;
|
|
@@ -358,7 +358,7 @@
|
|
|
358
358
|
function observeStateIfTableExists() {
|
|
359
359
|
var tmp$ret$2;
|
|
360
360
|
// Inline function 'kotlinx.coroutines.flow.filter' call
|
|
361
|
-
var tmp0_filter = this.
|
|
361
|
+
var tmp0_filter = this.k2s();
|
|
362
362
|
var tmp$ret$1;
|
|
363
363
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
364
364
|
var tmp$ret$0;
|
|
@@ -858,7 +858,7 @@
|
|
|
858
858
|
this.lh_1 = 1;
|
|
859
859
|
continue $sm;
|
|
860
860
|
case 1:
|
|
861
|
-
if (this.e4p_1.
|
|
861
|
+
if (this.e4p_1.q2t()) {
|
|
862
862
|
this.lh_1 = 3;
|
|
863
863
|
suspendResult = this.d4p_1.yx(this.e4p_1, this);
|
|
864
864
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -971,7 +971,7 @@
|
|
|
971
971
|
case 0:
|
|
972
972
|
this.mh_1 = 2;
|
|
973
973
|
this.lh_1 = 1;
|
|
974
|
-
suspendResult = this.z4p_1.yx(this.a4q_1.
|
|
974
|
+
suspendResult = this.z4p_1.yx(this.a4q_1.p2t(), this);
|
|
975
975
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
976
976
|
return suspendResult;
|
|
977
977
|
}
|
|
@@ -1067,7 +1067,7 @@
|
|
|
1067
1067
|
this.lh_1 = 1;
|
|
1068
1068
|
continue $sm;
|
|
1069
1069
|
case 1:
|
|
1070
|
-
if (this.v4q_1.
|
|
1070
|
+
if (this.v4q_1.q2t()) {
|
|
1071
1071
|
this.lh_1 = 3;
|
|
1072
1072
|
suspendResult = this.u4q_1.yx(this.v4q_1, this);
|
|
1073
1073
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1375,7 +1375,7 @@
|
|
|
1375
1375
|
this.lh_1 = 1;
|
|
1376
1376
|
continue $sm;
|
|
1377
1377
|
case 1:
|
|
1378
|
-
if (this.a4t_1.
|
|
1378
|
+
if (this.a4t_1.q2t()) {
|
|
1379
1379
|
this.lh_1 = 3;
|
|
1380
1380
|
suspendResult = this.z4s_1.yx(this.a4t_1, this);
|
|
1381
1381
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1488,7 +1488,7 @@
|
|
|
1488
1488
|
case 0:
|
|
1489
1489
|
this.mh_1 = 2;
|
|
1490
1490
|
this.lh_1 = 1;
|
|
1491
|
-
suspendResult = this.v4t_1.yx(this.w4t_1.
|
|
1491
|
+
suspendResult = this.v4t_1.yx(this.w4t_1.p2t(), this);
|
|
1492
1492
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
1493
1493
|
return suspendResult;
|
|
1494
1494
|
}
|
|
@@ -1584,7 +1584,7 @@
|
|
|
1584
1584
|
this.lh_1 = 1;
|
|
1585
1585
|
continue $sm;
|
|
1586
1586
|
case 1:
|
|
1587
|
-
if (this.r4u_1.
|
|
1587
|
+
if (this.r4u_1.q2t()) {
|
|
1588
1588
|
this.lh_1 = 3;
|
|
1589
1589
|
suspendResult = this.q4u_1.yx(this.r4u_1, this);
|
|
1590
1590
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -1814,18 +1814,18 @@
|
|
|
1814
1814
|
tmp$ret$7 = Instance(di, tmp$ret$6, null);
|
|
1815
1815
|
tmp_5.j4v_1 = tmp$ret$7.w2d(this, idsProvider$factory());
|
|
1816
1816
|
var tmp_7 = this;
|
|
1817
|
-
var tmp0_externalMiddlewares = plus(storeContract.
|
|
1818
|
-
var tmp1_externalReducers = plus(storeContract.
|
|
1817
|
+
var tmp0_externalMiddlewares = plus(storeContract.u4e(), externalMiddlewares);
|
|
1818
|
+
var tmp1_externalReducers = plus(storeContract.t4e(), externalReducers);
|
|
1819
1819
|
var tmp2_externalEnhancers = listOfNotNull([applyBuffer(_get_bufferInteractor__bbjsb2(this)), _get_clientReduxConfig__v0cgfa(this).q4v_1 ? applyExpectant(_get_gameLogger__rqs193(this), _get_idsProvider__fnfajc(this)) : null]);
|
|
1820
1820
|
tmp_7.k4v_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares, tmp2_externalEnhancers);
|
|
1821
1821
|
}
|
|
1822
|
-
protoOf(GameClientImpl).
|
|
1822
|
+
protoOf(GameClientImpl).u2r = function () {
|
|
1823
1823
|
return this.k4v_1;
|
|
1824
1824
|
};
|
|
1825
1825
|
protoOf(GameClientImpl).o4r = function () {
|
|
1826
1826
|
var tmp$ret$2;
|
|
1827
1827
|
// Inline function 'kotlinx.coroutines.flow.mapNotNull' call
|
|
1828
|
-
var tmp0_mapNotNull = this.
|
|
1828
|
+
var tmp0_mapNotNull = this.k2s();
|
|
1829
1829
|
var tmp$ret$1;
|
|
1830
1830
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
1831
1831
|
var tmp$ret$0;
|
|
@@ -1840,7 +1840,7 @@
|
|
|
1840
1840
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
1841
1841
|
var tmp$ret$2;
|
|
1842
1842
|
// Inline function 'kotlinx.coroutines.flow.filter' call
|
|
1843
|
-
var tmp0_filter = this.
|
|
1843
|
+
var tmp0_filter = this.k2s();
|
|
1844
1844
|
var tmp$ret$1;
|
|
1845
1845
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
1846
1846
|
var tmp$ret$0;
|
|
@@ -1861,7 +1861,7 @@
|
|
|
1861
1861
|
protoOf(GameClientImpl).q4r = function () {
|
|
1862
1862
|
var tmp$ret$2;
|
|
1863
1863
|
// Inline function 'kotlinx.coroutines.flow.filter' call
|
|
1864
|
-
var tmp0_filter = this.
|
|
1864
|
+
var tmp0_filter = this.k2s();
|
|
1865
1865
|
var tmp$ret$1;
|
|
1866
1866
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
1867
1867
|
var tmp$ret$0;
|
|
@@ -1872,7 +1872,7 @@
|
|
|
1872
1872
|
return tmp$ret$2;
|
|
1873
1873
|
};
|
|
1874
1874
|
protoOf(GameClientImpl).r4r = function (action) {
|
|
1875
|
-
this.k4v_1.
|
|
1875
|
+
this.k4v_1.w2n().dispatch(action);
|
|
1876
1876
|
};
|
|
1877
1877
|
function bufferInteractor$factory() {
|
|
1878
1878
|
return getPropertyCallableRef('bufferInteractor', 1, KProperty1, function (receiver) {
|
|
@@ -1969,7 +1969,7 @@
|
|
|
1969
1969
|
if (tmp0_subject instanceof PlayerLostConnectionReason) {
|
|
1970
1970
|
var tmp$ret$1;
|
|
1971
1971
|
// Inline function 'kotlin.takeUnless' call
|
|
1972
|
-
var tmp0_takeUnless = getPlayer(table.players, _this__u8e3s4.n2f_1).
|
|
1972
|
+
var tmp0_takeUnless = getPlayer(table.players, _this__u8e3s4.n2f_1).f2x_1;
|
|
1973
1973
|
// Inline function 'kotlin.contracts.contract' call
|
|
1974
1974
|
var tmp_0;
|
|
1975
1975
|
var tmp$ret$0;
|
|
@@ -1986,7 +1986,7 @@
|
|
|
1986
1986
|
if (tmp0_subject instanceof PlayerTimeoutReason) {
|
|
1987
1987
|
var tmp$ret$3;
|
|
1988
1988
|
// Inline function 'kotlin.takeUnless' call
|
|
1989
|
-
var tmp1_takeUnless = getPlayer(table.players, _this__u8e3s4.r2f_1).
|
|
1989
|
+
var tmp1_takeUnless = getPlayer(table.players, _this__u8e3s4.r2f_1).f2x_1;
|
|
1990
1990
|
// Inline function 'kotlin.contracts.contract' call
|
|
1991
1991
|
var tmp_1;
|
|
1992
1992
|
var tmp$ret$2;
|
|
@@ -2005,7 +2005,7 @@
|
|
|
2005
2005
|
if (_this__u8e3s4.j2f_1 === get_currentPlayer(table).k2f()) {
|
|
2006
2006
|
tmp_2 = null;
|
|
2007
2007
|
} else {
|
|
2008
|
-
tmp_2 = new ErrorState(VOID, getPlayer(table.players, _this__u8e3s4.j2f_1).
|
|
2008
|
+
tmp_2 = new ErrorState(VOID, getPlayer(table.players, _this__u8e3s4.j2f_1).f2x_1, _this__u8e3s4);
|
|
2009
2009
|
}
|
|
2010
2010
|
tmp = tmp_2;
|
|
2011
2011
|
} else {
|
|
@@ -2038,12 +2038,12 @@
|
|
|
2038
2038
|
return tmp;
|
|
2039
2039
|
}
|
|
2040
2040
|
function toPlayerVM(_this__u8e3s4, currentPlayerId, party) {
|
|
2041
|
-
var tmp2_userInfo = _this__u8e3s4.
|
|
2042
|
-
var tmp3_selectedSuit = _this__u8e3s4.
|
|
2043
|
-
var tmp4_isGameCreator = _this__u8e3s4.
|
|
2044
|
-
var tmp5_isShuffleCards = _this__u8e3s4.
|
|
2041
|
+
var tmp2_userInfo = _this__u8e3s4.f2x_1;
|
|
2042
|
+
var tmp3_selectedSuit = _this__u8e3s4.i2x_1.x2x_1 ? party.j3l_1 : null;
|
|
2043
|
+
var tmp4_isGameCreator = _this__u8e3s4.i2x_1.m2x_1;
|
|
2044
|
+
var tmp5_isShuffleCards = _this__u8e3s4.i2x_1.p2x_1;
|
|
2045
2045
|
var tmp6_isCurrentPlayer = currentPlayerId === _this__u8e3s4.k2f();
|
|
2046
|
-
var tmp0_safe_receiver = party.
|
|
2046
|
+
var tmp0_safe_receiver = party.j3l_1;
|
|
2047
2047
|
var tmp;
|
|
2048
2048
|
if (tmp0_safe_receiver == null) {
|
|
2049
2049
|
tmp = null;
|
|
@@ -2055,7 +2055,7 @@
|
|
|
2055
2055
|
// Inline function 'com.debertz.logic.client.data.models.toPlayerVM.<anonymous>' call
|
|
2056
2056
|
var tmp$ret$1;
|
|
2057
2057
|
// Inline function 'kotlin.collections.sumOf' call
|
|
2058
|
-
var tmp0_sumOf = _this__u8e3s4.
|
|
2058
|
+
var tmp0_sumOf = _this__u8e3s4.k2x_1.g30_1;
|
|
2059
2059
|
var sum = 0;
|
|
2060
2060
|
var tmp0_iterator = tmp0_sumOf.f();
|
|
2061
2061
|
while (tmp0_iterator.g()) {
|
|
@@ -2077,16 +2077,16 @@
|
|
|
2077
2077
|
}
|
|
2078
2078
|
function toStateVM(_this__u8e3s4) {
|
|
2079
2079
|
var tmp0_playerId = _this__u8e3s4.k2f();
|
|
2080
|
-
var tmp1_startFromTime = _this__u8e3s4.
|
|
2081
|
-
var tmp2_playerTurnTimeout = _this__u8e3s4.
|
|
2082
|
-
var tmp3_waitPlayerUntilTime = _this__u8e3s4.
|
|
2083
|
-
var tmp4_tag = _this__u8e3s4.
|
|
2084
|
-
var tmp5_state = _this__u8e3s4.
|
|
2080
|
+
var tmp1_startFromTime = _this__u8e3s4.g2x_1.k2g_1;
|
|
2081
|
+
var tmp2_playerTurnTimeout = _this__u8e3s4.g2x_1.l2g_1;
|
|
2082
|
+
var tmp3_waitPlayerUntilTime = _this__u8e3s4.g2x_1.m2g_1;
|
|
2083
|
+
var tmp4_tag = _this__u8e3s4.g2x_1.q2g_1;
|
|
2084
|
+
var tmp5_state = _this__u8e3s4.g2x_1.n2g_1;
|
|
2085
2085
|
return new PlayerStateViewModel(tmp0_playerId, tmp5_state, tmp1_startFromTime, tmp2_playerTurnTimeout, tmp3_waitPlayerUntilTime, tmp4_tag);
|
|
2086
2086
|
}
|
|
2087
2087
|
function toVM(_this__u8e3s4, players) {
|
|
2088
|
-
var tmp0_whoGotBribeUser = getPlayer(players, _this__u8e3s4.v4v_1).
|
|
2089
|
-
var tmp1_whoPutFirstCardUser = getPlayer(players, _this__u8e3s4.u4v_1).
|
|
2088
|
+
var tmp0_whoGotBribeUser = getPlayer(players, _this__u8e3s4.v4v_1).f2x_1;
|
|
2089
|
+
var tmp1_whoPutFirstCardUser = getPlayer(players, _this__u8e3s4.u4v_1).f2x_1;
|
|
2090
2090
|
var tmp$ret$2;
|
|
2091
2091
|
// Inline function 'kotlin.collections.map' call
|
|
2092
2092
|
var tmp1_map = _this__u8e3s4.w4v_1;
|
|
@@ -2098,7 +2098,7 @@
|
|
|
2098
2098
|
var item = tmp0_iterator.h();
|
|
2099
2099
|
var tmp$ret$0;
|
|
2100
2100
|
// Inline function 'com.debertz.logic.client.data.models.toVM.<anonymous>' call
|
|
2101
|
-
tmp$ret$0 = toVM_1(item, getPlayerIndex(players, item.
|
|
2101
|
+
tmp$ret$0 = toVM_1(item, getPlayerIndex(players, item.s36_1));
|
|
2102
2102
|
tmp0_mapTo.a(tmp$ret$0);
|
|
2103
2103
|
}
|
|
2104
2104
|
tmp$ret$1 = tmp0_mapTo;
|
|
@@ -2118,7 +2118,7 @@
|
|
|
2118
2118
|
// Inline function 'kotlin.contracts.contract' call
|
|
2119
2119
|
var tmp$ret$0;
|
|
2120
2120
|
// Inline function 'com.debertz.logic.client.data.models.toVM.<anonymous>' call
|
|
2121
|
-
tmp$ret$0 = getPlayer(players, _this__u8e3s4.y4v_1).
|
|
2121
|
+
tmp$ret$0 = getPlayer(players, _this__u8e3s4.y4v_1).f2x_1;
|
|
2122
2122
|
tmp$ret$1 = tmp$ret$0;
|
|
2123
2123
|
tmp = tmp$ret$1;
|
|
2124
2124
|
}
|
|
@@ -2133,7 +2133,7 @@
|
|
|
2133
2133
|
// Inline function 'kotlin.contracts.contract' call
|
|
2134
2134
|
var tmp$ret$2;
|
|
2135
2135
|
// Inline function 'com.debertz.logic.client.data.models.toVM.<anonymous>' call
|
|
2136
|
-
tmp$ret$2 = getPlayer(players, _this__u8e3s4.z4v_1).
|
|
2136
|
+
tmp$ret$2 = getPlayer(players, _this__u8e3s4.z4v_1).f2x_1;
|
|
2137
2137
|
tmp$ret$3 = tmp$ret$2;
|
|
2138
2138
|
tmp_0 = tmp$ret$3;
|
|
2139
2139
|
}
|
|
@@ -2145,9 +2145,9 @@
|
|
|
2145
2145
|
}
|
|
2146
2146
|
function toVM_1(_this__u8e3s4, index, cardPayload) {
|
|
2147
2147
|
cardPayload = cardPayload === VOID ? null : cardPayload;
|
|
2148
|
-
var tmp0_playerId = _this__u8e3s4.
|
|
2149
|
-
var tmp1_card = _this__u8e3s4.
|
|
2150
|
-
var tmp2_position = _this__u8e3s4.
|
|
2148
|
+
var tmp0_playerId = _this__u8e3s4.s36_1;
|
|
2149
|
+
var tmp1_card = _this__u8e3s4.u36_1;
|
|
2150
|
+
var tmp2_position = _this__u8e3s4.t36_1;
|
|
2151
2151
|
return new CardOnTableViewModel(index, tmp0_playerId, tmp2_position, tmp1_card, cardPayload);
|
|
2152
2152
|
}
|
|
2153
2153
|
function SceneViewModel(partyNumber, sceneId, previousSceneId) {
|
|
@@ -2186,7 +2186,7 @@
|
|
|
2186
2186
|
this.h4w_1 = isGameCreator;
|
|
2187
2187
|
this.i4w_1 = points;
|
|
2188
2188
|
}
|
|
2189
|
-
protoOf(PlayerViewModel).
|
|
2189
|
+
protoOf(PlayerViewModel).l2x = function () {
|
|
2190
2190
|
return this.f4w_1;
|
|
2191
2191
|
};
|
|
2192
2192
|
protoOf(PlayerViewModel).k2f = function () {
|
|
@@ -2838,22 +2838,22 @@
|
|
|
2838
2838
|
return tmp_0 instanceof Expectant ? tmp_0 : THROW_CCE();
|
|
2839
2839
|
}
|
|
2840
2840
|
function mapToExpectant_0(_this__u8e3s4, wrapper) {
|
|
2841
|
-
return new RestartGameExpectant(wrapper.n4y_1, _this__u8e3s4.
|
|
2841
|
+
return new RestartGameExpectant(wrapper.n4y_1, _this__u8e3s4.w4d_1);
|
|
2842
2842
|
}
|
|
2843
2843
|
function mapToExpectant_1(_this__u8e3s4, wrapper) {
|
|
2844
|
-
return new TeamsDataExpectant(wrapper.n4y_1, _this__u8e3s4.
|
|
2844
|
+
return new TeamsDataExpectant(wrapper.n4y_1, _this__u8e3s4.c4e_1, _this__u8e3s4.d4e_1);
|
|
2845
2845
|
}
|
|
2846
2846
|
function mapToExpectant_2(_this__u8e3s4, wrapper) {
|
|
2847
|
-
return new TrumpExpectant(wrapper.n4y_1, _this__u8e3s4.
|
|
2847
|
+
return new TrumpExpectant(wrapper.n4y_1, _this__u8e3s4.e4e_1);
|
|
2848
2848
|
}
|
|
2849
2849
|
function mapToExpectant_3(_this__u8e3s4, wrapper) {
|
|
2850
|
-
return new CombinationChoiceExpectant(wrapper.n4y_1, _this__u8e3s4.
|
|
2850
|
+
return new CombinationChoiceExpectant(wrapper.n4y_1, _this__u8e3s4.m4d_1, _this__u8e3s4.n4d_1, _this__u8e3s4.o4d_1);
|
|
2851
2851
|
}
|
|
2852
2852
|
function mapToExpectant_4(_this__u8e3s4, wrapper) {
|
|
2853
|
-
return new PickUpBribeExpectant(wrapper.n4y_1, _this__u8e3s4.
|
|
2853
|
+
return new PickUpBribeExpectant(wrapper.n4y_1, _this__u8e3s4.m4a_1, _this__u8e3s4.n4a_1, wrapper.q4y_1);
|
|
2854
2854
|
}
|
|
2855
2855
|
function mapToExpectant_5(_this__u8e3s4, wrapper) {
|
|
2856
|
-
return new WinnerCombinationsExpectant(wrapper.n4y_1, _this__u8e3s4.
|
|
2856
|
+
return new WinnerCombinationsExpectant(wrapper.n4y_1, _this__u8e3s4.f4e_1, wrapper.q4y_1);
|
|
2857
2857
|
}
|
|
2858
2858
|
function get_clientSerializerModule() {
|
|
2859
2859
|
_init_properties_ClientJsonSerializerModule_kt__gf47e9();
|
|
@@ -5194,13 +5194,13 @@
|
|
|
5194
5194
|
function CheckSceneBufferUseCase() {
|
|
5195
5195
|
}
|
|
5196
5196
|
protoOf(CheckSceneBufferUseCase).j4z = function (state, action) {
|
|
5197
|
-
if (!state.
|
|
5197
|
+
if (!state.q2t() ? !get_isCreated(state) : false) {
|
|
5198
5198
|
return new InBuffer('InSceneBufferUseCase.isTableExists');
|
|
5199
5199
|
}
|
|
5200
|
-
var table = state.
|
|
5200
|
+
var table = state.p2t();
|
|
5201
5201
|
if (isInterface(action, InSceneAction)) {
|
|
5202
5202
|
var tmp;
|
|
5203
|
-
if (action.
|
|
5203
|
+
if (action.q4d(table.sceneInfo.l40_1)) {
|
|
5204
5204
|
tmp = new OutBuffer('InSceneBufferUseCase.inScene');
|
|
5205
5205
|
} else {
|
|
5206
5206
|
tmp = new InBuffer('InSceneBufferUseCase.inScene');
|
|
@@ -5212,12 +5212,12 @@
|
|
|
5212
5212
|
function PassErrorActionBufferUseCase() {
|
|
5213
5213
|
}
|
|
5214
5214
|
protoOf(PassErrorActionBufferUseCase).j4z = function (state, action) {
|
|
5215
|
-
if (!state.
|
|
5215
|
+
if (!state.q2t() ? !get_isCreated(state) : false) {
|
|
5216
5216
|
return new InBuffer('PassErrorActionBufferUseCase.isTableExists');
|
|
5217
5217
|
}
|
|
5218
5218
|
if (action instanceof ErrorAction) {
|
|
5219
5219
|
var reason = action.h50_1.reason;
|
|
5220
|
-
return checkTerminatedReason(reason, get_currentPlayer(state.
|
|
5220
|
+
return checkTerminatedReason(reason, get_currentPlayer(state.p2t()), 'PassErrorActionBufferUseCase.checkTerminatedReason');
|
|
5221
5221
|
}
|
|
5222
5222
|
return new OutBuffer('PassErrorActionBufferUseCase');
|
|
5223
5223
|
};
|
|
@@ -5253,12 +5253,12 @@
|
|
|
5253
5253
|
function PassTerminatedActionBufferUseCase() {
|
|
5254
5254
|
}
|
|
5255
5255
|
protoOf(PassTerminatedActionBufferUseCase).j4z = function (state, action) {
|
|
5256
|
-
if (!state.
|
|
5256
|
+
if (!state.q2t() ? !get_isCreated(state) : false) {
|
|
5257
5257
|
return new InBuffer('PassTerminatedActionBufferUseCase.isTableExists');
|
|
5258
5258
|
}
|
|
5259
5259
|
if (isInterface(action, TerminatedAction)) {
|
|
5260
5260
|
var reason = action.reason;
|
|
5261
|
-
return checkTerminatedReason(reason, get_currentPlayer(state.
|
|
5261
|
+
return checkTerminatedReason(reason, get_currentPlayer(state.p2t()), 'PassTerminatedActionBufferUseCase.checkTerminatedReason');
|
|
5262
5262
|
}
|
|
5263
5263
|
return new OutBuffer('PassTerminatedActionBufferUseCase');
|
|
5264
5264
|
};
|
|
@@ -5284,7 +5284,7 @@
|
|
|
5284
5284
|
function WaitUntilExpectantFinishedBufferUseCase() {
|
|
5285
5285
|
}
|
|
5286
5286
|
protoOf(WaitUntilExpectantFinishedBufferUseCase).j4z = function (state, action) {
|
|
5287
|
-
if (!state.
|
|
5287
|
+
if (!state.q2t() ? !get_isCreated(state) : false) {
|
|
5288
5288
|
return new InBuffer('WaitUntilExpectantFinishedBufferUseCase.isTableExists');
|
|
5289
5289
|
}
|
|
5290
5290
|
var clientState = get_clientState_0(state);
|
|
@@ -5340,8 +5340,8 @@
|
|
|
5340
5340
|
function PutCardValidatorInteractor() {
|
|
5341
5341
|
}
|
|
5342
5342
|
function checkIsPartnerGetBribe($this, winCard, playerId, players) {
|
|
5343
|
-
var partner = $this.q50_1.
|
|
5344
|
-
return winCard.
|
|
5343
|
+
var partner = $this.q50_1.s42(playerId, players);
|
|
5344
|
+
return winCard.s36_1 === partner.k2f();
|
|
5345
5345
|
}
|
|
5346
5346
|
function checkHasHigherCard($this, winCard, playerCard, gameCards, trump) {
|
|
5347
5347
|
var tmp;
|
|
@@ -5374,10 +5374,10 @@
|
|
|
5374
5374
|
this.r50_1 = gameLogicProvider;
|
|
5375
5375
|
}
|
|
5376
5376
|
protoOf(PutCardValidatorInteractorImpl).p50 = function (playerCard, player, table) {
|
|
5377
|
-
var trump = table.gameInfo.
|
|
5378
|
-
var playerCards = player.
|
|
5377
|
+
var trump = table.gameInfo.a3y_1.f40();
|
|
5378
|
+
var playerCards = player.h2x_1;
|
|
5379
5379
|
var cardsOnTable = table.cardsOnTable;
|
|
5380
|
-
var tmp0_elvis_lhs = Companion_getInstance_0().
|
|
5380
|
+
var tmp0_elvis_lhs = Companion_getInstance_0().n3y(cardsOnTable);
|
|
5381
5381
|
var tmp;
|
|
5382
5382
|
if (tmp0_elvis_lhs == null) {
|
|
5383
5383
|
return null;
|
|
@@ -5385,16 +5385,16 @@
|
|
|
5385
5385
|
tmp = tmp0_elvis_lhs;
|
|
5386
5386
|
}
|
|
5387
5387
|
var firstCard = tmp;
|
|
5388
|
-
var firstCardSuit = firstCard.
|
|
5388
|
+
var firstCardSuit = firstCard.u36_1.s2k();
|
|
5389
5389
|
var playerCardSuit = playerCard.s2k();
|
|
5390
5390
|
var tmp_0;
|
|
5391
5391
|
if (playerCardSuit.equals(firstCardSuit)) {
|
|
5392
|
-
var winCard = this.r50_1.
|
|
5392
|
+
var winCard = this.r50_1.o43(cardsOnTable, trump);
|
|
5393
5393
|
var fistCardIsTrump = firstCardSuit.equals(trump);
|
|
5394
5394
|
var playersMode = table.config.playersMode;
|
|
5395
5395
|
var isPartnerCantGetBribeInTeamGame = !playersMode.isTeamGame ? true : playersMode.isTeamGame ? !checkIsPartnerGetBribe(this, winCard, player.k2f(), table.players) : false;
|
|
5396
5396
|
var tmp_1;
|
|
5397
|
-
if (((table.config.rules.needToPutHigherTrump ? fistCardIsTrump : false) ? isPartnerCantGetBribeInTeamGame : false) ? checkHasHigherCard(this, winCard.
|
|
5397
|
+
if (((table.config.rules.needToPutHigherTrump ? fistCardIsTrump : false) ? isPartnerCantGetBribeInTeamGame : false) ? checkHasHigherCard(this, winCard.u36_1, playerCard, playerCards, trump) : false) {
|
|
5398
5398
|
tmp_1 = ValidationCode_CARD_VALIDATION_HAS_HIGHER_TRUMP_CARD_getInstance();
|
|
5399
5399
|
} else {
|
|
5400
5400
|
tmp_1 = null;
|
|
@@ -5632,7 +5632,7 @@
|
|
|
5632
5632
|
case 0:
|
|
5633
5633
|
this.mh_1 = 2;
|
|
5634
5634
|
this.lh_1 = 1;
|
|
5635
|
-
var tmp_0 = this.z51_1.
|
|
5635
|
+
var tmp_0 = this.z51_1.p2t().players;
|
|
5636
5636
|
var tmp0_safe_receiver = get_clientStateOrNull_0(this.z51_1);
|
|
5637
5637
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.u4z_1;
|
|
5638
5638
|
var tmp_1;
|
|
@@ -5862,7 +5862,7 @@
|
|
|
5862
5862
|
var tmp0_iterator = this.y53_1.f();
|
|
5863
5863
|
while (tmp0_iterator.g()) {
|
|
5864
5864
|
var item = tmp0_iterator.h();
|
|
5865
|
-
tmp0_mapTo.a(item.
|
|
5865
|
+
tmp0_mapTo.a(item.f2x_1);
|
|
5866
5866
|
}
|
|
5867
5867
|
|
|
5868
5868
|
suspendResult = this.x53_1.yx(tmp0_mapTo, this);
|
|
@@ -6053,16 +6053,16 @@
|
|
|
6053
6053
|
case 0:
|
|
6054
6054
|
this.mh_1 = 2;
|
|
6055
6055
|
this.lh_1 = 1;
|
|
6056
|
-
var table = this.s55_1.
|
|
6056
|
+
var table = this.s55_1.l2s_1;
|
|
6057
6057
|
var tmp0_safe_receiver = table;
|
|
6058
6058
|
var sceneInfo = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.sceneInfo;
|
|
6059
6059
|
var tmp1_safe_receiver = table;
|
|
6060
6060
|
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.gameInfo;
|
|
6061
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
6062
|
-
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.
|
|
6061
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.a3y_1;
|
|
6062
|
+
var tmp4_elvis_lhs = tmp3_safe_receiver == null ? null : tmp3_safe_receiver.h3l_1;
|
|
6063
6063
|
var tmp_0 = tmp4_elvis_lhs == null ? 0 : tmp4_elvis_lhs;
|
|
6064
6064
|
var tmp5_safe_receiver = sceneInfo;
|
|
6065
|
-
var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : tmp5_safe_receiver.
|
|
6065
|
+
var tmp6_elvis_lhs = tmp5_safe_receiver == null ? null : tmp5_safe_receiver.l40_1;
|
|
6066
6066
|
var tmp_1;
|
|
6067
6067
|
if (tmp6_elvis_lhs == null) {
|
|
6068
6068
|
Companion_getInstance_1();
|
|
@@ -6073,7 +6073,7 @@
|
|
|
6073
6073
|
|
|
6074
6074
|
var tmp_2 = tmp_1;
|
|
6075
6075
|
var tmp7_safe_receiver = sceneInfo;
|
|
6076
|
-
suspendResult = this.r55_1.yx(new SceneViewModel(tmp_0, tmp_2, tmp7_safe_receiver == null ? null : tmp7_safe_receiver.
|
|
6076
|
+
suspendResult = this.r55_1.yx(new SceneViewModel(tmp_0, tmp_2, tmp7_safe_receiver == null ? null : tmp7_safe_receiver.m40_1), this);
|
|
6077
6077
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6078
6078
|
return suspendResult;
|
|
6079
6079
|
}
|
|
@@ -6263,9 +6263,9 @@
|
|
|
6263
6263
|
this.lh_1 = 1;
|
|
6264
6264
|
var tmp0_safe_receiver = get_clientStateOrNull_0(this.k57_1);
|
|
6265
6265
|
var tmp_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e50_1;
|
|
6266
|
-
var tmp1_safe_receiver = this.k57_1.
|
|
6266
|
+
var tmp1_safe_receiver = this.k57_1.l2s_1;
|
|
6267
6267
|
var tmp2_elvis_lhs = tmp1_safe_receiver == null ? null : get_isGameFinished(tmp1_safe_receiver);
|
|
6268
|
-
suspendResult = this.j57_1.yx(new GameLifecycleViewModel(this.k57_1.
|
|
6268
|
+
suspendResult = this.j57_1.yx(new GameLifecycleViewModel(this.k57_1.n2s_1, this.k57_1.o2s_1, tmp_0, tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs), this);
|
|
6269
6269
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6270
6270
|
return suspendResult;
|
|
6271
6271
|
}
|
|
@@ -6364,7 +6364,7 @@
|
|
|
6364
6364
|
var tmp0_iterator = tmp1_map.f();
|
|
6365
6365
|
while (tmp0_iterator.g()) {
|
|
6366
6366
|
var item = tmp0_iterator.h();
|
|
6367
|
-
tmp0_mapTo.a(new PlayerHandMetadataViewModel(item.k2f(), item.
|
|
6367
|
+
tmp0_mapTo.a(new PlayerHandMetadataViewModel(item.k2f(), item.j2x_1.n2z(), last(item.j2x_1.f2z_1).c2z_1, item.j2x_1.o2z(), item.j2x_1.p2z()));
|
|
6368
6368
|
}
|
|
6369
6369
|
|
|
6370
6370
|
suspendResult = this.e58_1.yx(new PlayersHandsMetadataViewModel(tmp0_mapTo), this);
|
|
@@ -6557,7 +6557,7 @@
|
|
|
6557
6557
|
this.lh_1 = 1;
|
|
6558
6558
|
var tmp0_safe_receiver = get_clientStateOrNull_0(this.v59_1);
|
|
6559
6559
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b50_1;
|
|
6560
|
-
suspendResult = this.u59_1.yx(tmp1_safe_receiver == null ? null : toVM(tmp1_safe_receiver, this.v59_1.
|
|
6560
|
+
suspendResult = this.u59_1.yx(tmp1_safe_receiver == null ? null : toVM(tmp1_safe_receiver, this.v59_1.p2t().players), this);
|
|
6561
6561
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6562
6562
|
return suspendResult;
|
|
6563
6563
|
}
|
|
@@ -6652,10 +6652,10 @@
|
|
|
6652
6652
|
case 0:
|
|
6653
6653
|
this.mh_1 = 2;
|
|
6654
6654
|
this.lh_1 = 1;
|
|
6655
|
-
var points = (get_isPreviewScene(this.r5a_1.
|
|
6655
|
+
var points = (get_isPreviewScene(this.r5a_1.p2t().sceneInfo.l40_1) ? true : get_isChoosePartnerScene(this.r5a_1.p2t().sceneInfo.l40_1)) ? null : this.q5a_1.c53_1.l49(this.r5a_1.p2t().players, this.r5a_1.p2t().config);
|
|
6656
6656
|
var tmp0_safe_receiver = get_clientStateOrNull_0(this.r5a_1);
|
|
6657
6657
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c50_1;
|
|
6658
|
-
suspendResult = this.p5a_1.yx(tmp1_safe_receiver == null ? null : toVM_0(tmp1_safe_receiver, this.r5a_1.
|
|
6658
|
+
suspendResult = this.p5a_1.yx(tmp1_safe_receiver == null ? null : toVM_0(tmp1_safe_receiver, this.r5a_1.p2t().config, this.r5a_1.p2t().players, points), this);
|
|
6659
6659
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6660
6660
|
return suspendResult;
|
|
6661
6661
|
}
|
|
@@ -7901,17 +7901,17 @@
|
|
|
7901
7901
|
protoOf(BaseGameMechanic).g5j = function () {
|
|
7902
7902
|
return this.a53_1.g5j();
|
|
7903
7903
|
};
|
|
7904
|
+
protoOf(BaseGameMechanic).o2t = function () {
|
|
7905
|
+
return this.y52_1.pj().p2t().id;
|
|
7906
|
+
};
|
|
7904
7907
|
protoOf(BaseGameMechanic).p2t = function () {
|
|
7905
|
-
return this.y52_1.pj().
|
|
7908
|
+
return this.y52_1.pj().p2t();
|
|
7906
7909
|
};
|
|
7907
7910
|
protoOf(BaseGameMechanic).q2t = function () {
|
|
7908
7911
|
return this.y52_1.pj().q2t();
|
|
7909
7912
|
};
|
|
7910
7913
|
protoOf(BaseGameMechanic).r2t = function () {
|
|
7911
|
-
return this.y52_1.pj().
|
|
7912
|
-
};
|
|
7913
|
-
protoOf(BaseGameMechanic).s2t = function () {
|
|
7914
|
-
return this.y52_1.pj().o2s_1;
|
|
7914
|
+
return this.y52_1.pj().n2s_1;
|
|
7915
7915
|
};
|
|
7916
7916
|
protoOf(BaseGameMechanic).onCreate = function () {
|
|
7917
7917
|
this.y52_1.r4r(new InitClientStateAction(this.z52_1));
|
|
@@ -7921,7 +7921,7 @@
|
|
|
7921
7921
|
this.y52_1.r2();
|
|
7922
7922
|
};
|
|
7923
7923
|
protoOf(BaseGameMechanic).getConfig = function () {
|
|
7924
|
-
return this.y52_1.pj().
|
|
7924
|
+
return this.y52_1.pj().p2t().config;
|
|
7925
7925
|
};
|
|
7926
7926
|
protoOf(BaseGameMechanic).getClientConfig = function () {
|
|
7927
7927
|
return get_clientState_0(this.y52_1.pj()).r4z_1;
|
|
@@ -7988,7 +7988,7 @@
|
|
|
7988
7988
|
protoOf(BaseGameMechanic).observeScene = function () {
|
|
7989
7989
|
var tmp$ret$2;
|
|
7990
7990
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
7991
|
-
var tmp0_map = this.y52_1.
|
|
7991
|
+
var tmp0_map = this.y52_1.k2s();
|
|
7992
7992
|
var tmp$ret$1;
|
|
7993
7993
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
7994
7994
|
var tmp$ret$0;
|
|
@@ -8014,7 +8014,7 @@
|
|
|
8014
8014
|
protoOf(BaseGameMechanic).observeGameLifecycle = function () {
|
|
8015
8015
|
var tmp$ret$2;
|
|
8016
8016
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
8017
|
-
var tmp0_map = this.y52_1.
|
|
8017
|
+
var tmp0_map = this.y52_1.k2s();
|
|
8018
8018
|
var tmp$ret$1;
|
|
8019
8019
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
8020
8020
|
var tmp$ret$0;
|
|
@@ -8164,7 +8164,7 @@
|
|
|
8164
8164
|
};
|
|
8165
8165
|
protoOf(BaseGameMechanic).playerExit = function () {
|
|
8166
8166
|
if (get_isCreated(this.y52_1.pj())) {
|
|
8167
|
-
this.y52_1.r4r(new ExitFromClientAction(get_currentPlayer(this.y52_1.pj().
|
|
8167
|
+
this.y52_1.r4r(new ExitFromClientAction(get_currentPlayer(this.y52_1.pj().p2t()).k2f()));
|
|
8168
8168
|
}
|
|
8169
8169
|
};
|
|
8170
8170
|
protoOf(BaseGameMechanic).observeRestartGameExpectant = function () {
|
|
@@ -8211,16 +8211,16 @@
|
|
|
8211
8211
|
}
|
|
8212
8212
|
};
|
|
8213
8213
|
defineProp(protoOf(BaseGameMechanic), 'id', function () {
|
|
8214
|
-
return this.
|
|
8214
|
+
return this.o2t();
|
|
8215
8215
|
});
|
|
8216
8216
|
defineProp(protoOf(BaseGameMechanic), 'table', function () {
|
|
8217
|
-
return this.
|
|
8217
|
+
return this.p2t();
|
|
8218
8218
|
});
|
|
8219
8219
|
defineProp(protoOf(BaseGameMechanic), 'isTableExists', function () {
|
|
8220
|
-
return this.
|
|
8220
|
+
return this.q2t();
|
|
8221
8221
|
});
|
|
8222
8222
|
defineProp(protoOf(BaseGameMechanic), 'gameLifecycleState', function () {
|
|
8223
|
-
return this.
|
|
8223
|
+
return this.r2t();
|
|
8224
8224
|
});
|
|
8225
8225
|
function GameMechanic() {
|
|
8226
8226
|
}
|
|
@@ -8252,7 +8252,7 @@
|
|
|
8252
8252
|
};
|
|
8253
8253
|
protoOf(OnlineGameMechanicImpl).mechanicAction = function (actions) {
|
|
8254
8254
|
var state = this.y52_1.pj();
|
|
8255
|
-
var gameLifecycleState = state.
|
|
8255
|
+
var gameLifecycleState = state.n2s_1;
|
|
8256
8256
|
var indexedObject = actions;
|
|
8257
8257
|
var inductionVariable = 0;
|
|
8258
8258
|
var last = indexedObject.length;
|
|
@@ -8296,16 +8296,16 @@
|
|
|
8296
8296
|
return this.p5j();
|
|
8297
8297
|
});
|
|
8298
8298
|
defineProp(protoOf(OnlineGameMechanicImpl), 'id', function () {
|
|
8299
|
-
return this.
|
|
8299
|
+
return this.o2t();
|
|
8300
8300
|
});
|
|
8301
8301
|
defineProp(protoOf(OnlineGameMechanicImpl), 'table', function () {
|
|
8302
|
-
return this.
|
|
8302
|
+
return this.p2t();
|
|
8303
8303
|
});
|
|
8304
8304
|
defineProp(protoOf(OnlineGameMechanicImpl), 'isTableExists', function () {
|
|
8305
|
-
return this.
|
|
8305
|
+
return this.q2t();
|
|
8306
8306
|
});
|
|
8307
8307
|
defineProp(protoOf(OnlineGameMechanicImpl), 'gameLifecycleState', function () {
|
|
8308
|
-
return this.
|
|
8308
|
+
return this.r2t();
|
|
8309
8309
|
});
|
|
8310
8310
|
function SingleGameMechanic(persistentAppStateInteractor, statisticsInteractor, gameClient, clientConfig, playersSceneContract, teamsMechanicReducer, pointsInteractor) {
|
|
8311
8311
|
BaseGameMechanic.call(this, gameClient, clientConfig, playersSceneContract, teamsMechanicReducer, pointsInteractor);
|
|
@@ -8313,16 +8313,16 @@
|
|
|
8313
8313
|
this.e5k_1 = statisticsInteractor;
|
|
8314
8314
|
}
|
|
8315
8315
|
defineProp(protoOf(SingleGameMechanic), 'id', function () {
|
|
8316
|
-
return this.
|
|
8316
|
+
return this.o2t();
|
|
8317
8317
|
});
|
|
8318
8318
|
defineProp(protoOf(SingleGameMechanic), 'table', function () {
|
|
8319
|
-
return this.
|
|
8319
|
+
return this.p2t();
|
|
8320
8320
|
});
|
|
8321
8321
|
defineProp(protoOf(SingleGameMechanic), 'isTableExists', function () {
|
|
8322
|
-
return this.
|
|
8322
|
+
return this.q2t();
|
|
8323
8323
|
});
|
|
8324
8324
|
defineProp(protoOf(SingleGameMechanic), 'gameLifecycleState', function () {
|
|
8325
|
-
return this.
|
|
8325
|
+
return this.r2t();
|
|
8326
8326
|
});
|
|
8327
8327
|
function CalcPointsSceneImpl(gameClient, sceneActionsContract, playersSceneContract, progressContract, logger) {
|
|
8328
8328
|
this.f5k_1 = gameClient;
|
|
@@ -8956,7 +8956,7 @@
|
|
|
8956
8956
|
this.mh_1 = 2;
|
|
8957
8957
|
this.lh_1 = 1;
|
|
8958
8958
|
var player = getPlayer(this.i5p_1.players, this.h5p_1);
|
|
8959
|
-
suspendResult = this.g5p_1.yx(toPlayerVM(player, get_currentPlayer(this.i5p_1).k2f(), this.i5p_1.gameInfo.
|
|
8959
|
+
suspendResult = this.g5p_1.yx(toPlayerVM(player, get_currentPlayer(this.i5p_1).k2f(), this.i5p_1.gameInfo.a3y_1), this);
|
|
8960
8960
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
8961
8961
|
return suspendResult;
|
|
8962
8962
|
}
|
|
@@ -9252,11 +9252,11 @@
|
|
|
9252
9252
|
this.lh_1 = 1;
|
|
9253
9253
|
var tmp$ret$0;
|
|
9254
9254
|
l$ret$1: do {
|
|
9255
|
-
if (!this.y5r_1.
|
|
9255
|
+
if (!this.y5r_1.q2t()) {
|
|
9256
9256
|
tmp$ret$0 = null;
|
|
9257
9257
|
break l$ret$1;
|
|
9258
9258
|
}
|
|
9259
|
-
var player = getPlayer(this.y5r_1.
|
|
9259
|
+
var player = getPlayer(this.y5r_1.p2t().players, this.w5r_1);
|
|
9260
9260
|
var tmp0_safe_receiver = findMessageForPlayer(this.x5r_1, player.k2f(), get_clientState_0(this.y5r_1).s4z_1);
|
|
9261
9261
|
var tmp_0;
|
|
9262
9262
|
if (tmp0_safe_receiver == null) {
|
|
@@ -9363,7 +9363,7 @@
|
|
|
9363
9363
|
this.mh_1 = 2;
|
|
9364
9364
|
this.lh_1 = 1;
|
|
9365
9365
|
var player = getPlayer(this.w5s_1.players, this.v5s_1);
|
|
9366
|
-
suspendResult = this.u5s_1.yx(player.
|
|
9366
|
+
suspendResult = this.u5s_1.yx(player.g2x_1.p2g_1, this);
|
|
9367
9367
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
9368
9368
|
return suspendResult;
|
|
9369
9369
|
}
|
|
@@ -9447,7 +9447,7 @@
|
|
|
9447
9447
|
var item = tmp0_iterator.h();
|
|
9448
9448
|
var tmp$ret$0;
|
|
9449
9449
|
// Inline function 'com.debertz.logic.client.domain.scenes.delegates.PlayersSceneContractImpl.getPlayersVM.<anonymous>' call
|
|
9450
|
-
tmp$ret$0 = toPlayerVM(item, get_currentPlayer(_this__u8e3s4).k2f(), _this__u8e3s4.gameInfo.
|
|
9450
|
+
tmp$ret$0 = toPlayerVM(item, get_currentPlayer(_this__u8e3s4).k2f(), _this__u8e3s4.gameInfo.a3y_1);
|
|
9451
9451
|
tmp0_mapTo.a(tmp$ret$0);
|
|
9452
9452
|
}
|
|
9453
9453
|
tmp$ret$1 = tmp0_mapTo;
|
|
@@ -9488,7 +9488,7 @@
|
|
|
9488
9488
|
var element_0 = tmp0_iterator_0.h();
|
|
9489
9489
|
var tmp$ret$3;
|
|
9490
9490
|
// Inline function 'com.debertz.logic.client.domain.scenes.delegates.PlayersSceneContractImpl.findMessageForPlayer.<anonymous>' call
|
|
9491
|
-
tmp$ret$3 = element_0.
|
|
9491
|
+
tmp$ret$3 = element_0.p2u();
|
|
9492
9492
|
if (tmp$ret$3) {
|
|
9493
9493
|
tmp1_filterTo.a(element_0);
|
|
9494
9494
|
}
|
|
@@ -9515,7 +9515,7 @@
|
|
|
9515
9515
|
var element_1 = iterator.h3();
|
|
9516
9516
|
var tmp$ret$9;
|
|
9517
9517
|
// Inline function 'com.debertz.logic.client.domain.scenes.delegates.PlayersSceneContractImpl.findMessageForPlayer.<anonymous>' call
|
|
9518
|
-
tmp$ret$9 = element_1.
|
|
9518
|
+
tmp$ret$9 = element_1.x2u().v2f_1 === playerId;
|
|
9519
9519
|
if (tmp$ret$9) {
|
|
9520
9520
|
tmp$ret$10 = element_1;
|
|
9521
9521
|
break $l$block;
|
|
@@ -9652,7 +9652,7 @@
|
|
|
9652
9652
|
return this.v5t_1;
|
|
9653
9653
|
};
|
|
9654
9654
|
protoOf(PlayersSceneContractImpl).a5j = function () {
|
|
9655
|
-
return getPlayersVM(this.v5t_1.pj().
|
|
9655
|
+
return getPlayersVM(this.v5t_1.pj().p2t(), this);
|
|
9656
9656
|
};
|
|
9657
9657
|
protoOf(PlayersSceneContractImpl).g5j = function () {
|
|
9658
9658
|
var tmp$ret$2;
|
|
@@ -9709,7 +9709,7 @@
|
|
|
9709
9709
|
protoOf(PlayersSceneContractImpl).d5j = function (playerId) {
|
|
9710
9710
|
var tmp$ret$2;
|
|
9711
9711
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
9712
|
-
var tmp0_map = this.v5t_1.
|
|
9712
|
+
var tmp0_map = this.v5t_1.k2s();
|
|
9713
9713
|
var tmp$ret$1;
|
|
9714
9714
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
9715
9715
|
var tmp$ret$0;
|
|
@@ -10470,11 +10470,11 @@
|
|
|
10470
10470
|
tmp$ret$25 = Instance(di, tmp$ret$24, null);
|
|
10471
10471
|
tmp_23.p5v_1 = tmp$ret$25.w2d(this, logger$factory());
|
|
10472
10472
|
}
|
|
10473
|
-
protoOf(ClientGameStoreContract).
|
|
10474
|
-
return plus(listOfNotNull([_get_clientReduxConfig__v0cgfa_0(this).q4v_1 ? expectantLifecycleReducer() : null, _get_clientReduxConfig__v0cgfa_0(this).q4v_1 ? expectantActionReducer() : null, bufferReducer(), messageReducer(), _get_clientReduxConfig__v0cgfa_0(this).o4v_1 ? sceneActivationReducer(_get_sceneActivationInteractor__9jnc8m(this)) : null, clientResetMessagesAfterSelectedTrumpReducer(_get_logger__rkp4sl(this)), clientResetMessagesAfterBribeReducer(_get_logger__rkp4sl(this)), clientUIReducer(this.b5v_1, _get_clientLifecycleReducer__6ihp6m(this), _get_logger__rkp4sl(this)), clientResetProcessingCardReducer(), clientSceneReducer(_get_logger__rkp4sl(this), _get_clientLifecycleReducer__6ihp6m(this)), clientCombinationToAnnounceStateOnPlayerTurnReducer(_get_clientCombinationsReducer__u5899o(this))]), this.c5v_1.
|
|
10473
|
+
protoOf(ClientGameStoreContract).t4e = function () {
|
|
10474
|
+
return plus(listOfNotNull([_get_clientReduxConfig__v0cgfa_0(this).q4v_1 ? expectantLifecycleReducer() : null, _get_clientReduxConfig__v0cgfa_0(this).q4v_1 ? expectantActionReducer() : null, bufferReducer(), messageReducer(), _get_clientReduxConfig__v0cgfa_0(this).o4v_1 ? sceneActivationReducer(_get_sceneActivationInteractor__9jnc8m(this)) : null, clientResetMessagesAfterSelectedTrumpReducer(_get_logger__rkp4sl(this)), clientResetMessagesAfterBribeReducer(_get_logger__rkp4sl(this)), clientUIReducer(this.b5v_1, _get_clientLifecycleReducer__6ihp6m(this), _get_logger__rkp4sl(this)), clientResetProcessingCardReducer(), clientSceneReducer(_get_logger__rkp4sl(this), _get_clientLifecycleReducer__6ihp6m(this)), clientCombinationToAnnounceStateOnPlayerTurnReducer(_get_clientCombinationsReducer__u5899o(this))]), this.c5v_1.t4e());
|
|
10475
10475
|
};
|
|
10476
|
-
protoOf(ClientGameStoreContract).
|
|
10477
|
-
return plus(plus(plus(listOfNotNull([checkValidCurrentPlayerIdMiddleware(this.b5v_1, _get_logger__rkp4sl(this)), checkExpectantsMiddleware(_get_logger__rkp4sl(this)), _get_clientReduxConfig__v0cgfa_0(this).p4v_1 ? validateCardOnMoveMiddleware(_get_cardValidatorInteractor__u3zq3u(this), _get_messageFactory__6vg0vc(this), _get_logger__rkp4sl(this)) : null, clientShowDisabledCardMessageMiddleware(_get_cardValidatorInteractor__u3zq3u(this), _get_messageFactory__6vg0vc(this), _get_logger__rkp4sl(this)), clientCheckCombinationsMiddleware(_get_asyncProvider__jbpyhw(this), _get_combinationCheckerProvider__vrxymk(this)), finishingGameWhenPlayerExitsMiddleware(), startResetTimerForInfoMessageMiddleware(), clearTimersWhenErrorMiddleware(), resetInfoMessageWhenShownMiddleware(), gameStatisticsMiddleware(), messagesMiddleware(_get_messageFactory__6vg0vc(this), _get_pointsInteractor__5t71wv(this)), _get_botConfig__cpaxzc(this).autoStepLastCard ? clientPutCurrentPlayerLastCardMiddleware(this.b5v_1, _get_lastCardInteractor__h6lq3w(this)) : null]), bufferMiddleware(_get_logger__rkp4sl(this), _get_bufferInteractor__bbjsb2_0(this), _get_asyncProvider__jbpyhw(this))), expectantMiddlewares()), this.c5v_1.
|
|
10476
|
+
protoOf(ClientGameStoreContract).u4e = function () {
|
|
10477
|
+
return plus(plus(plus(listOfNotNull([checkValidCurrentPlayerIdMiddleware(this.b5v_1, _get_logger__rkp4sl(this)), checkExpectantsMiddleware(_get_logger__rkp4sl(this)), _get_clientReduxConfig__v0cgfa_0(this).p4v_1 ? validateCardOnMoveMiddleware(_get_cardValidatorInteractor__u3zq3u(this), _get_messageFactory__6vg0vc(this), _get_logger__rkp4sl(this)) : null, clientShowDisabledCardMessageMiddleware(_get_cardValidatorInteractor__u3zq3u(this), _get_messageFactory__6vg0vc(this), _get_logger__rkp4sl(this)), clientCheckCombinationsMiddleware(_get_asyncProvider__jbpyhw(this), _get_combinationCheckerProvider__vrxymk(this)), finishingGameWhenPlayerExitsMiddleware(), startResetTimerForInfoMessageMiddleware(), clearTimersWhenErrorMiddleware(), resetInfoMessageWhenShownMiddleware(), gameStatisticsMiddleware(), messagesMiddleware(_get_messageFactory__6vg0vc(this), _get_pointsInteractor__5t71wv(this)), _get_botConfig__cpaxzc(this).autoStepLastCard ? clientPutCurrentPlayerLastCardMiddleware(this.b5v_1, _get_lastCardInteractor__h6lq3w(this)) : null]), bufferMiddleware(_get_logger__rkp4sl(this), _get_bufferInteractor__bbjsb2_0(this), _get_asyncProvider__jbpyhw(this))), expectantMiddlewares()), this.c5v_1.u4e());
|
|
10478
10478
|
};
|
|
10479
10479
|
function messageFactory$factory() {
|
|
10480
10480
|
return getPropertyCallableRef('messageFactory', 1, KProperty1, function (receiver) {
|
|
@@ -10762,34 +10762,34 @@
|
|
|
10762
10762
|
tmp$ret$17 = Instance(di, tmp$ret$16, null);
|
|
10763
10763
|
tmp_15.b5w_1 = tmp$ret$17.w2d(this, playerTurnMechanicReducer$factory());
|
|
10764
10764
|
}
|
|
10765
|
-
protoOf(OnlineGameStoreContract).
|
|
10766
|
-
var tmp = plus(this.r5v_1.
|
|
10765
|
+
protoOf(OnlineGameStoreContract).t4e = function () {
|
|
10766
|
+
var tmp = plus(this.r5v_1.t4e(), listOfNotNull_0(clientErrorStateWhenTerminationActionReducer(_get_clientLifecycleReducer__6ihp6m_0(this))));
|
|
10767
10767
|
var tmp_0;
|
|
10768
10768
|
if (_get_clientReduxConfig__v0cgfa_1(this).r4v_1) {
|
|
10769
|
-
tmp_0 = this.s5v_1.
|
|
10769
|
+
tmp_0 = this.s5v_1.t4e();
|
|
10770
10770
|
} else {
|
|
10771
10771
|
tmp_0 = emptyList();
|
|
10772
10772
|
}
|
|
10773
10773
|
var tmp_1 = plus(tmp, tmp_0);
|
|
10774
10774
|
var tmp_2;
|
|
10775
|
-
if (_get_logicConfig__52ww9d(this).
|
|
10775
|
+
if (_get_logicConfig__52ww9d(this).e2u_1) {
|
|
10776
10776
|
tmp_2 = listOf([clientResetPlayerTurnAfterExpectantCreatedReducer(_get_playerTurnInteractor__lczh1o(this), _get_playerTurnMechanicReducer__y10a87(this)), clientResetPlayerTurnAfterAnswerReducer(_get_playerTurnInteractor__lczh1o(this), _get_clientReduxConfig__v0cgfa_1(this), _get_playerTurnMechanicReducer__y10a87(this)), setPlayerTurnReducer(_get_playerTurnInteractor__lczh1o(this), _get_playerTurnMechanicReducer__y10a87(this))]);
|
|
10777
10777
|
} else {
|
|
10778
10778
|
tmp_2 = emptyList();
|
|
10779
10779
|
}
|
|
10780
10780
|
return plus(tmp_1, tmp_2);
|
|
10781
10781
|
};
|
|
10782
|
-
protoOf(OnlineGameStoreContract).
|
|
10783
|
-
var tmp = this.r5v_1.
|
|
10782
|
+
protoOf(OnlineGameStoreContract).u4e = function () {
|
|
10783
|
+
var tmp = this.r5v_1.u4e();
|
|
10784
10784
|
var tmp_0;
|
|
10785
10785
|
if (_get_clientReduxConfig__v0cgfa_1(this).r4v_1) {
|
|
10786
|
-
var tmp_1 = this.s5v_1.
|
|
10786
|
+
var tmp_1 = this.s5v_1.u4e();
|
|
10787
10787
|
var tmp_2 = whenPlayerTurnTimeoutAskBotMiddleware();
|
|
10788
10788
|
tmp_0 = plus(tmp_1, listOf([tmp_2, reloadTimersWhenContinueGameMiddleware(true, VOID, OnlineGameStoreContract$_get_middlewares_$lambda_9o1az3(this))]));
|
|
10789
10789
|
} else {
|
|
10790
10790
|
tmp_0 = emptyList();
|
|
10791
10791
|
}
|
|
10792
|
-
return plus(plus(tmp, tmp_0), listOfNotNull([clientSendEventsToServerMiddleware(_get_asyncProvider__jbpyhw_0(this), _get_fromClientEventsObserver__a7vzd3(this)), announceCombinationMiddleware(), clientSceneLifecycleMiddleware(), _get_logicConfig__52ww9d(this).
|
|
10792
|
+
return plus(plus(tmp, tmp_0), listOfNotNull([clientSendEventsToServerMiddleware(_get_asyncProvider__jbpyhw_0(this), _get_fromClientEventsObserver__a7vzd3(this)), announceCombinationMiddleware(), clientSceneLifecycleMiddleware(), _get_logicConfig__52ww9d(this).d2u_1 ? clientConsumeFromClientActionsMiddleware(_get_gameLogicInteractor__895s7o(this), _get_asyncProvider__jbpyhw_0(this)) : null]));
|
|
10793
10793
|
};
|
|
10794
10794
|
function gameLogicInteractor$factory() {
|
|
10795
10795
|
return getPropertyCallableRef('gameLogicInteractor', 1, KProperty1, function (receiver) {
|
|
@@ -11016,11 +11016,11 @@
|
|
|
11016
11016
|
tmp$ret$13 = Instance(di, tmp$ret$12, null);
|
|
11017
11017
|
tmp_13.l5w_1 = tmp$ret$13.w2d(this, lastCardInteractor$factory_1());
|
|
11018
11018
|
}
|
|
11019
|
-
protoOf(SingleGameStoreContract).
|
|
11020
|
-
return plus(plus(this.d5w_1.
|
|
11019
|
+
protoOf(SingleGameStoreContract).t4e = function () {
|
|
11020
|
+
return plus(plus(this.d5w_1.t4e(), this.f5w_1.t4e()), this.e5w_1.t4e());
|
|
11021
11021
|
};
|
|
11022
|
-
protoOf(SingleGameStoreContract).
|
|
11023
|
-
var tmp = plus(plus(this.d5w_1.
|
|
11022
|
+
protoOf(SingleGameStoreContract).u4e = function () {
|
|
11023
|
+
var tmp = plus(plus(this.d5w_1.u4e(), this.f5w_1.u4e()), this.e5w_1.u4e());
|
|
11024
11024
|
var tmp_0 = announceCombinationMiddleware();
|
|
11025
11025
|
var tmp_1 = whenPlayerTurnTimeoutAskBotMiddleware();
|
|
11026
11026
|
var tmp_2 = _get_botConfig__cpaxzc_0(this).isDelayForBot;
|
|
@@ -11125,7 +11125,7 @@
|
|
|
11125
11125
|
var tmp;
|
|
11126
11126
|
var tmp_0;
|
|
11127
11127
|
if (isInterface(action, ExpectantAction)) {
|
|
11128
|
-
tmp_0 = !action.
|
|
11128
|
+
tmp_0 = !action.g2o();
|
|
11129
11129
|
} else {
|
|
11130
11130
|
tmp_0 = false;
|
|
11131
11131
|
}
|
|
@@ -11141,7 +11141,7 @@
|
|
|
11141
11141
|
}
|
|
11142
11142
|
tmp_1 = $origDispatch(action);
|
|
11143
11143
|
} else {
|
|
11144
|
-
tmp_1 = $store.dispatch(new ExpectantCreatedClientAction(new ExpectantWrapper($idsProvider.
|
|
11144
|
+
tmp_1 = $store.dispatch(new ExpectantCreatedClientAction(new ExpectantWrapper($idsProvider.h2m(), action)));
|
|
11145
11145
|
}
|
|
11146
11146
|
tmp = tmp_1;
|
|
11147
11147
|
} else {
|
|
@@ -11243,10 +11243,10 @@
|
|
|
11243
11243
|
var tmp = this.lh_1;
|
|
11244
11244
|
if (tmp === 0) {
|
|
11245
11245
|
this.mh_1 = 1;
|
|
11246
|
-
var table = this.f5x_1.state.
|
|
11246
|
+
var table = this.f5x_1.state.p2t();
|
|
11247
11247
|
var player = get_currentPlayer(table);
|
|
11248
|
-
var playerCombinations = player.
|
|
11249
|
-
var tmp1_map = this.g5x_1.
|
|
11248
|
+
var playerCombinations = player.k2x_1.f30_1;
|
|
11249
|
+
var tmp1_map = this.g5x_1.r45(playerCombinations);
|
|
11250
11250
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp1_map, 10));
|
|
11251
11251
|
var tmp0_iterator = tmp1_map.f();
|
|
11252
11252
|
while (tmp0_iterator.g()) {
|
|
@@ -11263,7 +11263,7 @@
|
|
|
11263
11263
|
var tmp_0;
|
|
11264
11264
|
var tmp_1;
|
|
11265
11265
|
var tmp_2;
|
|
11266
|
-
if (table.gameInfo.
|
|
11266
|
+
if (table.gameInfo.a3y_1.i3l_1 === 0) {
|
|
11267
11267
|
tmp_2 = !findFirstRoundCombinations.l();
|
|
11268
11268
|
} else {
|
|
11269
11269
|
tmp_2 = false;
|
|
@@ -11351,7 +11351,7 @@
|
|
|
11351
11351
|
if (tmp_1) {
|
|
11352
11352
|
tmp_0 = new CombinationToAnnounceAction(findFirstRoundCombinations, acceptedCombinations, declinedCombinations);
|
|
11353
11353
|
} else {
|
|
11354
|
-
var tmp0_safe_receiver = this.g5x_1.
|
|
11354
|
+
var tmp0_safe_receiver = this.g5x_1.m45(this.h5x_1.t5u_1.c2l_1, playerCombinations, table.config.rules.oneTryToProtectBella);
|
|
11355
11355
|
var findBellaCombination = tmp0_safe_receiver == null ? null : mapFromDetailed(tmp0_safe_receiver);
|
|
11356
11356
|
var tmp_7;
|
|
11357
11357
|
var tmp_8;
|
|
@@ -11423,13 +11423,13 @@
|
|
|
11423
11423
|
tmp_12 = null;
|
|
11424
11424
|
}
|
|
11425
11425
|
var tmp2_combinations = tmp_12;
|
|
11426
|
-
var tmp3_card = this.h5x_1.t5u_1.
|
|
11426
|
+
var tmp3_card = this.h5x_1.t5u_1.c2l_1;
|
|
11427
11427
|
tmp_7 = new CardFromClientAction(tmp1_playerId, tmp3_card, tmp2_combinations);
|
|
11428
11428
|
}
|
|
11429
11429
|
tmp_0 = tmp_7;
|
|
11430
11430
|
}
|
|
11431
11431
|
var newAction = tmp_0;
|
|
11432
|
-
this.i5x_1.
|
|
11432
|
+
this.i5x_1.c2m(VOID, clientCheckCombinationsMiddleware$o$handle$slambda$slambda_0(this.f5x_1, newAction, null));
|
|
11433
11433
|
return Unit_getInstance();
|
|
11434
11434
|
} else if (tmp === 1) {
|
|
11435
11435
|
throw this.oh_1;
|
|
@@ -11457,24 +11457,24 @@
|
|
|
11457
11457
|
this.k5x_1 = $asyncProvider;
|
|
11458
11458
|
this.l5x_1 = $combinationCheckerProvider;
|
|
11459
11459
|
}
|
|
11460
|
-
protoOf(_no_name_provided__qut3iv_35).
|
|
11460
|
+
protoOf(_no_name_provided__qut3iv_35).b2o = function (action) {
|
|
11461
11461
|
return action instanceof CardPutAction;
|
|
11462
11462
|
};
|
|
11463
|
-
protoOf(_no_name_provided__qut3iv_35).
|
|
11463
|
+
protoOf(_no_name_provided__qut3iv_35).l4g = function (store, next, action) {
|
|
11464
11464
|
// Inline function 'com.debertz.logic.client.redux.middlewares.clientCheckCombinationsMiddleware.<anonymous>' call
|
|
11465
11465
|
var tmp0__anonymous__q1qw7t = action instanceof CardPutAction ? action : THROW_CCE();
|
|
11466
11466
|
next(tmp0__anonymous__q1qw7t);
|
|
11467
|
-
this.k5x_1.
|
|
11467
|
+
this.k5x_1.e2m(VOID, clientCheckCombinationsMiddleware$o$handle$slambda_0(store, this.l5x_1, tmp0__anonymous__q1qw7t, this.k5x_1, null));
|
|
11468
11468
|
};
|
|
11469
|
-
protoOf(_no_name_provided__qut3iv_35).
|
|
11470
|
-
return this.
|
|
11469
|
+
protoOf(_no_name_provided__qut3iv_35).c2o = function (store, next, action) {
|
|
11470
|
+
return this.l4g(store, next, action);
|
|
11471
11471
|
};
|
|
11472
11472
|
function _no_name_provided__qut3iv_36() {
|
|
11473
11473
|
}
|
|
11474
|
-
protoOf(_no_name_provided__qut3iv_36).
|
|
11474
|
+
protoOf(_no_name_provided__qut3iv_36).b2o = function (action) {
|
|
11475
11475
|
return action instanceof AnnouncedCombinationAction;
|
|
11476
11476
|
};
|
|
11477
|
-
protoOf(_no_name_provided__qut3iv_36).
|
|
11477
|
+
protoOf(_no_name_provided__qut3iv_36).l4g = function (store, next, action) {
|
|
11478
11478
|
// Inline function 'com.debertz.logic.client.redux.middlewares.announceCombinationMiddleware.<anonymous>' call
|
|
11479
11479
|
var tmp0__anonymous__q1qw7t = action instanceof AnnouncedCombinationAction ? action : THROW_CCE();
|
|
11480
11480
|
var clientState = get_clientState_0(store.state);
|
|
@@ -11521,11 +11521,11 @@
|
|
|
11521
11521
|
if (!(card == null)) {
|
|
11522
11522
|
store.dispatch(new CardPutAction(card, acceptedCombinations, declinedCombinations));
|
|
11523
11523
|
} else {
|
|
11524
|
-
store.dispatch(new CombinationChoiceFromClientAction(get_currentPlayer(store.state.
|
|
11524
|
+
store.dispatch(new CombinationChoiceFromClientAction(get_currentPlayer(store.state.p2t()).k2f(), tmp0__anonymous__q1qw7t.p5x_1));
|
|
11525
11525
|
}
|
|
11526
11526
|
};
|
|
11527
|
-
protoOf(_no_name_provided__qut3iv_36).
|
|
11528
|
-
return this.
|
|
11527
|
+
protoOf(_no_name_provided__qut3iv_36).c2o = function (store, next, action) {
|
|
11528
|
+
return this.l4g(store, next, action);
|
|
11529
11529
|
};
|
|
11530
11530
|
function clientSceneLifecycleMiddleware() {
|
|
11531
11531
|
var tmp$ret$0;
|
|
@@ -11535,18 +11535,18 @@
|
|
|
11535
11535
|
}
|
|
11536
11536
|
function _no_name_provided__qut3iv_37() {
|
|
11537
11537
|
}
|
|
11538
|
-
protoOf(_no_name_provided__qut3iv_37).
|
|
11538
|
+
protoOf(_no_name_provided__qut3iv_37).b2o = function (action) {
|
|
11539
11539
|
return action instanceof SceneMechanicAction;
|
|
11540
11540
|
};
|
|
11541
|
-
protoOf(_no_name_provided__qut3iv_37).
|
|
11541
|
+
protoOf(_no_name_provided__qut3iv_37).l4g = function (store, next, action) {
|
|
11542
11542
|
// Inline function 'com.debertz.logic.client.redux.middlewares.clientSceneLifecycleMiddleware.<anonymous>' call
|
|
11543
11543
|
var tmp0__anonymous__q1qw7t = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
11544
|
-
store.dispatch(new SceneEndedMechanicAction(store.state.
|
|
11545
|
-
store.dispatch(new SceneStartedMechanicAction(tmp0__anonymous__q1qw7t.
|
|
11544
|
+
store.dispatch(new SceneEndedMechanicAction(store.state.p2t().sceneInfo.l40_1));
|
|
11545
|
+
store.dispatch(new SceneStartedMechanicAction(tmp0__anonymous__q1qw7t.y49_1));
|
|
11546
11546
|
next(tmp0__anonymous__q1qw7t);
|
|
11547
11547
|
};
|
|
11548
|
-
protoOf(_no_name_provided__qut3iv_37).
|
|
11549
|
-
return this.
|
|
11548
|
+
protoOf(_no_name_provided__qut3iv_37).c2o = function (store, next, action) {
|
|
11549
|
+
return this.l4g(store, next, action);
|
|
11550
11550
|
};
|
|
11551
11551
|
function finishingGameWhenPlayerExitsMiddleware() {
|
|
11552
11552
|
var tmp$ret$0;
|
|
@@ -11556,17 +11556,17 @@
|
|
|
11556
11556
|
}
|
|
11557
11557
|
function _no_name_provided__qut3iv_38() {
|
|
11558
11558
|
}
|
|
11559
|
-
protoOf(_no_name_provided__qut3iv_38).
|
|
11559
|
+
protoOf(_no_name_provided__qut3iv_38).b2o = function (action) {
|
|
11560
11560
|
return action instanceof ExitFromClientAction;
|
|
11561
11561
|
};
|
|
11562
|
-
protoOf(_no_name_provided__qut3iv_38).
|
|
11562
|
+
protoOf(_no_name_provided__qut3iv_38).l4g = function (store, next, action) {
|
|
11563
11563
|
// Inline function 'com.debertz.logic.client.redux.middlewares.finishingGameWhenPlayerExitsMiddleware.<anonymous>' call
|
|
11564
11564
|
var tmp0__anonymous__q1qw7t = action instanceof ExitFromClientAction ? action : THROW_CCE();
|
|
11565
11565
|
store.dispatch(new FinishingGameMechanicAction(ProcessingReason_getInstance()));
|
|
11566
11566
|
next(tmp0__anonymous__q1qw7t);
|
|
11567
11567
|
};
|
|
11568
|
-
protoOf(_no_name_provided__qut3iv_38).
|
|
11569
|
-
return this.
|
|
11568
|
+
protoOf(_no_name_provided__qut3iv_38).c2o = function (store, next, action) {
|
|
11569
|
+
return this.l4g(store, next, action);
|
|
11570
11570
|
};
|
|
11571
11571
|
function bufferMiddleware(logger, bufferInteractor, asyncProvider) {
|
|
11572
11572
|
return listOf_0(releaseBufferTriggerMiddleware(bufferInteractor, asyncProvider));
|
|
@@ -11721,7 +11721,7 @@
|
|
|
11721
11721
|
tmp_0.b5z_1 = tmp_1;
|
|
11722
11722
|
if (!this.b5z_1.l()) {
|
|
11723
11723
|
var tmp_4 = this;
|
|
11724
|
-
tmp_4.c5z_1 = this.x5y_1.
|
|
11724
|
+
tmp_4.c5z_1 = this.x5y_1.c2m(VOID, releaseBufferTriggerMiddleware$o$handle$slambda$slambda_0(this.u5y_1, this.b5z_1, null));
|
|
11725
11725
|
this.lh_1 = 1;
|
|
11726
11726
|
suspendResult = this.c5z_1.zj(this);
|
|
11727
11727
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
@@ -11735,7 +11735,7 @@
|
|
|
11735
11735
|
|
|
11736
11736
|
break;
|
|
11737
11737
|
case 1:
|
|
11738
|
-
this.x5y_1.
|
|
11738
|
+
this.x5y_1.c2m(VOID, releaseBufferTriggerMiddleware$o$handle$slambda$slambda_2(this.a5z_1, this.u5y_1, null));
|
|
11739
11739
|
;
|
|
11740
11740
|
this.lh_1 = 2;
|
|
11741
11741
|
continue $sm;
|
|
@@ -11772,17 +11772,17 @@
|
|
|
11772
11772
|
this.d5z_1 = $asyncProvider;
|
|
11773
11773
|
this.e5z_1 = $bufferInteractor;
|
|
11774
11774
|
}
|
|
11775
|
-
protoOf(_no_name_provided__qut3iv_39).
|
|
11775
|
+
protoOf(_no_name_provided__qut3iv_39).b2o = function (action) {
|
|
11776
11776
|
return isInterface(action, ReleaseBufferTriggerAction);
|
|
11777
11777
|
};
|
|
11778
|
-
protoOf(_no_name_provided__qut3iv_39).
|
|
11778
|
+
protoOf(_no_name_provided__qut3iv_39).l4g = function (store, next, action) {
|
|
11779
11779
|
// Inline function 'com.debertz.logic.client.redux.middlewares.buffer.releaseBufferTriggerMiddleware.<anonymous>' call
|
|
11780
11780
|
var tmp0__anonymous__q1qw7t = isInterface(action, ReleaseBufferTriggerAction) ? action : THROW_CCE();
|
|
11781
11781
|
next(tmp0__anonymous__q1qw7t);
|
|
11782
|
-
this.d5z_1.
|
|
11782
|
+
this.d5z_1.g2m(VOID, releaseBufferTriggerMiddleware$o$handle$slambda_0(store, this.e5z_1, tmp0__anonymous__q1qw7t, this.d5z_1, null));
|
|
11783
11783
|
};
|
|
11784
|
-
protoOf(_no_name_provided__qut3iv_39).
|
|
11785
|
-
return this.
|
|
11784
|
+
protoOf(_no_name_provided__qut3iv_39).c2o = function (store, next, action) {
|
|
11785
|
+
return this.l4g(store, next, action);
|
|
11786
11786
|
};
|
|
11787
11787
|
function expectantMiddlewares() {
|
|
11788
11788
|
return listOf([expectantsLifecycleMiddleware(), expectantsTimerTickMiddleware()]);
|
|
@@ -11820,10 +11820,10 @@
|
|
|
11820
11820
|
};
|
|
11821
11821
|
function _no_name_provided__qut3iv_40() {
|
|
11822
11822
|
}
|
|
11823
|
-
protoOf(_no_name_provided__qut3iv_40).
|
|
11823
|
+
protoOf(_no_name_provided__qut3iv_40).b2o = function (action) {
|
|
11824
11824
|
return action instanceof ExpectantLifecycleAction;
|
|
11825
11825
|
};
|
|
11826
|
-
protoOf(_no_name_provided__qut3iv_40).
|
|
11826
|
+
protoOf(_no_name_provided__qut3iv_40).l4g = function (store, next, action) {
|
|
11827
11827
|
// Inline function 'com.debertz.logic.client.redux.middlewares.expectants.expectantsLifecycleMiddleware.<anonymous>' call
|
|
11828
11828
|
var tmp0__anonymous__q1qw7t = action instanceof ExpectantLifecycleAction ? action : THROW_CCE();
|
|
11829
11829
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
@@ -11831,8 +11831,8 @@
|
|
|
11831
11831
|
if (tmp0_subject instanceof ExpectantCreatedClientAction) {
|
|
11832
11832
|
var expectantAction = tmp0__anonymous__q1qw7t.a5v_1.o4y_1;
|
|
11833
11833
|
var tmp_0;
|
|
11834
|
-
if (expectantAction.
|
|
11835
|
-
tmp_0 = listOf_0(new StartTimerAction(new ExpectantTimerTag(tmp0__anonymous__q1qw7t.a5v_1.n4y_1), toLong(store.state.
|
|
11834
|
+
if (expectantAction.j2o()) {
|
|
11835
|
+
tmp_0 = listOf_0(new StartTimerAction(new ExpectantTimerTag(tmp0__anonymous__q1qw7t.a5v_1.n4y_1), toLong(store.state.p2t().config.options.timeForCountdownMillis), VOID, TimerType_DELAY_getInstance()));
|
|
11836
11836
|
} else {
|
|
11837
11837
|
tmp_0 = emptyList();
|
|
11838
11838
|
}
|
|
@@ -11858,25 +11858,25 @@
|
|
|
11858
11858
|
store.dispatch(element);
|
|
11859
11859
|
}
|
|
11860
11860
|
};
|
|
11861
|
-
protoOf(_no_name_provided__qut3iv_40).
|
|
11862
|
-
return this.
|
|
11861
|
+
protoOf(_no_name_provided__qut3iv_40).c2o = function (store, next, action) {
|
|
11862
|
+
return this.l4g(store, next, action);
|
|
11863
11863
|
};
|
|
11864
11864
|
function _no_name_provided__qut3iv_41() {
|
|
11865
11865
|
}
|
|
11866
|
-
protoOf(_no_name_provided__qut3iv_41).
|
|
11866
|
+
protoOf(_no_name_provided__qut3iv_41).b2o = function (action) {
|
|
11867
11867
|
return action instanceof TimerTickAction;
|
|
11868
11868
|
};
|
|
11869
|
-
protoOf(_no_name_provided__qut3iv_41).
|
|
11869
|
+
protoOf(_no_name_provided__qut3iv_41).l4g = function (store, next, action) {
|
|
11870
11870
|
// Inline function 'com.debertz.logic.client.redux.middlewares.expectants.expectantsTimerTickMiddleware.<anonymous>' call
|
|
11871
11871
|
var tmp0__anonymous__q1qw7t = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
11872
|
-
var timerTag = tmp0__anonymous__q1qw7t.
|
|
11872
|
+
var timerTag = tmp0__anonymous__q1qw7t.p2o_1;
|
|
11873
11873
|
if (timerTag instanceof ExpectantTimerTag) {
|
|
11874
11874
|
store.dispatch(new ExpectantTimerFinishedClientAction(timerTag.f5z_1));
|
|
11875
11875
|
}
|
|
11876
11876
|
next(tmp0__anonymous__q1qw7t);
|
|
11877
11877
|
};
|
|
11878
|
-
protoOf(_no_name_provided__qut3iv_41).
|
|
11879
|
-
return this.
|
|
11878
|
+
protoOf(_no_name_provided__qut3iv_41).c2o = function (store, next, action) {
|
|
11879
|
+
return this.l4g(store, next, action);
|
|
11880
11880
|
};
|
|
11881
11881
|
function clientPutCurrentPlayerLastCardMiddleware(currentPlayerId, lastCardInteractor) {
|
|
11882
11882
|
var tmp$ret$0;
|
|
@@ -11885,11 +11885,11 @@
|
|
|
11885
11885
|
return tmp$ret$0;
|
|
11886
11886
|
}
|
|
11887
11887
|
function getCardActionIfNeeded(action, currentPlayerId, table, lastCardInteractor) {
|
|
11888
|
-
var nextTurnPlayerId = singleOrNull(action.
|
|
11888
|
+
var nextTurnPlayerId = singleOrNull(action.g4d());
|
|
11889
11889
|
if (!(nextTurnPlayerId == null) ? currentPlayerId === nextTurnPlayerId : false) {
|
|
11890
11890
|
var nextTurnPlayer = getPlayer(table.players, nextTurnPlayerId);
|
|
11891
|
-
if (lastCardInteractor.
|
|
11892
|
-
var gameCard = single(nextTurnPlayer.
|
|
11891
|
+
if (lastCardInteractor.n45(nextTurnPlayer, table.config.rules)) {
|
|
11892
|
+
var gameCard = single(nextTurnPlayer.h2x_1);
|
|
11893
11893
|
return new CardPutAction(new ProcessingCard(gameCard, null));
|
|
11894
11894
|
}
|
|
11895
11895
|
}
|
|
@@ -11899,14 +11899,14 @@
|
|
|
11899
11899
|
this.h5z_1 = $currentPlayerId;
|
|
11900
11900
|
this.i5z_1 = $lastCardInteractor;
|
|
11901
11901
|
}
|
|
11902
|
-
protoOf(_no_name_provided__qut3iv_42).
|
|
11902
|
+
protoOf(_no_name_provided__qut3iv_42).b2o = function (action) {
|
|
11903
11903
|
return isInterface(action, CardsMechanicAction);
|
|
11904
11904
|
};
|
|
11905
|
-
protoOf(_no_name_provided__qut3iv_42).
|
|
11905
|
+
protoOf(_no_name_provided__qut3iv_42).l4g = function (store, next, action) {
|
|
11906
11906
|
// Inline function 'com.debertz.logic.client.redux.middlewares.lastbribe.clientPutCurrentPlayerLastCardMiddleware.<anonymous>' call
|
|
11907
11907
|
var tmp0__anonymous__q1qw7t = isInterface(action, CardsMechanicAction) ? action : THROW_CCE();
|
|
11908
11908
|
next(tmp0__anonymous__q1qw7t);
|
|
11909
|
-
var table = store.state.
|
|
11909
|
+
var table = store.state.p2t();
|
|
11910
11910
|
var newAction = getCardActionIfNeeded(tmp0__anonymous__q1qw7t, this.h5z_1, table, this.i5z_1);
|
|
11911
11911
|
var tmp0_safe_receiver = newAction;
|
|
11912
11912
|
if (tmp0_safe_receiver == null)
|
|
@@ -11918,8 +11918,8 @@
|
|
|
11918
11918
|
tmp$ret$0 = store.dispatch(newAction);
|
|
11919
11919
|
}
|
|
11920
11920
|
};
|
|
11921
|
-
protoOf(_no_name_provided__qut3iv_42).
|
|
11922
|
-
return this.
|
|
11921
|
+
protoOf(_no_name_provided__qut3iv_42).c2o = function (store, next, action) {
|
|
11922
|
+
return this.l4g(store, next, action);
|
|
11923
11923
|
};
|
|
11924
11924
|
function messagesMiddleware(factory, pointsInteractor) {
|
|
11925
11925
|
return middleware(messagesMiddleware$lambda(factory, pointsInteractor));
|
|
@@ -11930,13 +11930,13 @@
|
|
|
11930
11930
|
var tmp0_subject = action;
|
|
11931
11931
|
var tmp;
|
|
11932
11932
|
if (tmp0_subject instanceof SceneMechanicAction) {
|
|
11933
|
-
var tmp1_subject = action.
|
|
11933
|
+
var tmp1_subject = action.y49_1;
|
|
11934
11934
|
var tmp_0;
|
|
11935
11935
|
Companion_getInstance_1();
|
|
11936
11936
|
if (tmp1_subject === 'PREVIEW') {
|
|
11937
11937
|
var tmp$ret$1;
|
|
11938
11938
|
// Inline function 'kotlin.with' call
|
|
11939
|
-
var tmp0_with = state.
|
|
11939
|
+
var tmp0_with = state.p2t();
|
|
11940
11940
|
// Inline function 'kotlin.contracts.contract' call
|
|
11941
11941
|
var tmp$ret$0;
|
|
11942
11942
|
$l$block: {
|
|
@@ -11949,8 +11949,8 @@
|
|
|
11949
11949
|
throw new MechanicException('Required ' + getKClass(PreviewSceneData).ie() + ', current scene is ' + tmp0_requireSceneData);
|
|
11950
11950
|
}
|
|
11951
11951
|
var scene = tmp$ret$0;
|
|
11952
|
-
var player = getPlayer(tmp0_with.players, scene.
|
|
11953
|
-
tmp$ret$1 = store.dispatch(new MessageMechanicAction($factory.
|
|
11952
|
+
var player = getPlayer(tmp0_with.players, scene.v38_1);
|
|
11953
|
+
tmp$ret$1 = store.dispatch(new MessageMechanicAction($factory.q44(player.f2x_1)));
|
|
11954
11954
|
tmp_0 = tmp$ret$1;
|
|
11955
11955
|
} else {
|
|
11956
11956
|
Companion_getInstance_1();
|
|
@@ -11967,10 +11967,10 @@
|
|
|
11967
11967
|
}
|
|
11968
11968
|
var scene_0 = tmp$ret$2;
|
|
11969
11969
|
var tmp_1 = store.dispatch;
|
|
11970
|
-
var tmp_2 = state.
|
|
11971
|
-
var tmp2_points = scene_0.
|
|
11972
|
-
var tmp3_players = state.
|
|
11973
|
-
tmp_0 = tmp_1(new MessageMechanicAction($factory.
|
|
11970
|
+
var tmp_2 = state.p2t().gameInfo.a3y_1;
|
|
11971
|
+
var tmp2_points = scene_0.n38_1;
|
|
11972
|
+
var tmp3_players = state.p2t().players;
|
|
11973
|
+
tmp_0 = tmp_1(new MessageMechanicAction($factory.u44(tmp_2, $pointsInteractor.k49(tmp3_players, tmp2_points))));
|
|
11974
11974
|
}
|
|
11975
11975
|
}
|
|
11976
11976
|
tmp = tmp_0;
|
|
@@ -11978,26 +11978,26 @@
|
|
|
11978
11978
|
if (tmp0_subject instanceof SuitChoiceMechanicAction) {
|
|
11979
11979
|
var tmp$ret$3;
|
|
11980
11980
|
// Inline function 'kotlin.with' call
|
|
11981
|
-
var tmp2_with = state.
|
|
11981
|
+
var tmp2_with = state.p2t();
|
|
11982
11982
|
// Inline function 'kotlin.contracts.contract' call
|
|
11983
|
-
var player_0 = getPlayer(tmp2_with.players, action.
|
|
11984
|
-
tmp$ret$3 = store.dispatch(new MessageMechanicAction($factory.
|
|
11983
|
+
var player_0 = getPlayer(tmp2_with.players, action.e4a_1);
|
|
11984
|
+
tmp$ret$3 = store.dispatch(new MessageMechanicAction($factory.t44(player_0.i2x_1.z2z(), !(action.g4a_1 == null), player_0.f2x_1)));
|
|
11985
11985
|
tmp = tmp$ret$3;
|
|
11986
11986
|
} else {
|
|
11987
11987
|
if (tmp0_subject instanceof ExpectantCreatedClientAction) {
|
|
11988
11988
|
var tmp$ret$8;
|
|
11989
11989
|
// Inline function 'kotlin.with' call
|
|
11990
|
-
var tmp3_with = state.
|
|
11990
|
+
var tmp3_with = state.p2t();
|
|
11991
11991
|
// Inline function 'kotlin.contracts.contract' call
|
|
11992
11992
|
var expectantAction = action.a5v_1.o4y_1;
|
|
11993
11993
|
var tmp_3;
|
|
11994
11994
|
if (expectantAction instanceof CombinationChoiceMechanicAction) {
|
|
11995
11995
|
var tmp_4;
|
|
11996
|
-
if (expectantAction.
|
|
11996
|
+
if (expectantAction.n4d_1) {
|
|
11997
11997
|
var tmp$ret$4;
|
|
11998
11998
|
$l$block_1: {
|
|
11999
11999
|
// Inline function 'com.debertz.logic.data.models.scenes.requireActData' call
|
|
12000
|
-
var tmp0_requireActData = tmp3_with.sceneInfo.
|
|
12000
|
+
var tmp0_requireActData = tmp3_with.sceneInfo.p40_1;
|
|
12001
12001
|
if (tmp0_requireActData instanceof CombinationActData) {
|
|
12002
12002
|
tmp$ret$4 = tmp0_requireActData;
|
|
12003
12003
|
break $l$block_1;
|
|
@@ -12005,11 +12005,11 @@
|
|
|
12005
12005
|
throw new MechanicException('Required ' + getKClass(CombinationActData).ie() + ', current act is ' + tmp0_requireActData);
|
|
12006
12006
|
}
|
|
12007
12007
|
var combinationActData = tmp$ret$4;
|
|
12008
|
-
var player_1 = getPlayer(tmp3_with.players, expectantAction.
|
|
12008
|
+
var player_1 = getPlayer(tmp3_with.players, expectantAction.m4d_1);
|
|
12009
12009
|
var tmp_5 = store.dispatch;
|
|
12010
12010
|
var tmp$ret$7;
|
|
12011
12011
|
// Inline function 'kotlin.collections.map' call
|
|
12012
|
-
var tmp2_map = combinationActData.
|
|
12012
|
+
var tmp2_map = combinationActData.k37_1;
|
|
12013
12013
|
var tmp$ret$6;
|
|
12014
12014
|
// Inline function 'kotlin.collections.mapTo' call
|
|
12015
12015
|
var tmp1_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp2_map, 10));
|
|
@@ -12018,22 +12018,22 @@
|
|
|
12018
12018
|
var item = tmp0_iterator.h();
|
|
12019
12019
|
var tmp$ret$5;
|
|
12020
12020
|
// Inline function 'com.debertz.logic.client.redux.middlewares.messages.messagesMiddleware.<anonymous>.<anonymous>.<anonymous>' call
|
|
12021
|
-
tmp$ret$5 = item.
|
|
12021
|
+
tmp$ret$5 = item.o37_1;
|
|
12022
12022
|
tmp1_mapTo.a(tmp$ret$5);
|
|
12023
12023
|
}
|
|
12024
12024
|
tmp$ret$6 = tmp1_mapTo;
|
|
12025
12025
|
tmp$ret$7 = tmp$ret$6;
|
|
12026
|
-
tmp_4 = tmp_5(new MessageMechanicAction($factory.
|
|
12026
|
+
tmp_4 = tmp_5(new MessageMechanicAction($factory.r44(tmp$ret$7, player_1.f2x_1)));
|
|
12027
12027
|
}
|
|
12028
12028
|
tmp_3 = tmp_4;
|
|
12029
12029
|
} else {
|
|
12030
12030
|
if (expectantAction instanceof RestartGameMechanicAction) {
|
|
12031
12031
|
var tmp_6 = store.dispatch;
|
|
12032
12032
|
Companion_getInstance_2();
|
|
12033
|
-
tmp_3 = tmp_6(new InfoMessageAction($factory.
|
|
12033
|
+
tmp_3 = tmp_6(new InfoMessageAction($factory.w44('GAME_RESTART_EVENT_ID')));
|
|
12034
12034
|
} else {
|
|
12035
12035
|
if (expectantAction instanceof WinnerCombinationsMechanicAction) {
|
|
12036
|
-
var message = $factory.
|
|
12036
|
+
var message = $factory.s44(expectantAction.f4e_1, tmp3_with.players);
|
|
12037
12037
|
tmp_3 = store.dispatch(new InfoMessageAction(message));
|
|
12038
12038
|
}
|
|
12039
12039
|
}
|
|
@@ -12044,11 +12044,11 @@
|
|
|
12044
12044
|
if (tmp0_subject instanceof PutCardMechanicAction) {
|
|
12045
12045
|
var tmp$ret$14;
|
|
12046
12046
|
// Inline function 'kotlin.with' call
|
|
12047
|
-
var tmp4_with = state.
|
|
12047
|
+
var tmp4_with = state.p2t();
|
|
12048
12048
|
// Inline function 'kotlin.contracts.contract' call
|
|
12049
12049
|
var tmp$ret$13;
|
|
12050
12050
|
// Inline function 'com.debertz.logic.client.redux.middlewares.messages.messagesMiddleware.<anonymous>.<anonymous>' call
|
|
12051
|
-
var tmp0_safe_receiver = action.
|
|
12051
|
+
var tmp0_safe_receiver = action.l4a_1;
|
|
12052
12052
|
var tmp_7;
|
|
12053
12053
|
if (tmp0_safe_receiver == null) {
|
|
12054
12054
|
tmp_7 = null;
|
|
@@ -12056,7 +12056,7 @@
|
|
|
12056
12056
|
var tmp$ret$12;
|
|
12057
12057
|
// Inline function 'kotlin.let' call
|
|
12058
12058
|
// Inline function 'kotlin.contracts.contract' call
|
|
12059
|
-
var player_2 = getPlayer(tmp4_with.players, action.
|
|
12059
|
+
var player_2 = getPlayer(tmp4_with.players, action.i4a_1);
|
|
12060
12060
|
var tmp_8 = store.dispatch;
|
|
12061
12061
|
var tmp$ret$11;
|
|
12062
12062
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -12068,12 +12068,12 @@
|
|
|
12068
12068
|
var item_0 = tmp0_iterator_0.h();
|
|
12069
12069
|
var tmp$ret$9;
|
|
12070
12070
|
// Inline function 'com.debertz.logic.client.redux.middlewares.messages.messagesMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
12071
|
-
tmp$ret$9 = item_0.
|
|
12071
|
+
tmp$ret$9 = item_0.o37_1;
|
|
12072
12072
|
tmp0_mapTo.a(tmp$ret$9);
|
|
12073
12073
|
}
|
|
12074
12074
|
tmp$ret$10 = tmp0_mapTo;
|
|
12075
12075
|
tmp$ret$11 = tmp$ret$10;
|
|
12076
|
-
tmp$ret$12 = tmp_8(new MessageMechanicAction($factory.
|
|
12076
|
+
tmp$ret$12 = tmp_8(new MessageMechanicAction($factory.r44(tmp$ret$11, player_2.f2x_1)));
|
|
12077
12077
|
tmp_7 = Unit_getInstance();
|
|
12078
12078
|
}
|
|
12079
12079
|
tmp$ret$13 = tmp_7;
|
|
@@ -12083,9 +12083,9 @@
|
|
|
12083
12083
|
if (tmp0_subject instanceof WinnerCombinationsMechanicAction) {
|
|
12084
12084
|
var tmp$ret$15;
|
|
12085
12085
|
// Inline function 'kotlin.with' call
|
|
12086
|
-
var tmp5_with = state.
|
|
12086
|
+
var tmp5_with = state.p2t();
|
|
12087
12087
|
// Inline function 'kotlin.contracts.contract' call
|
|
12088
|
-
var message_0 = $factory.
|
|
12088
|
+
var message_0 = $factory.s44(action.f4e_1, tmp5_with.players);
|
|
12089
12089
|
tmp$ret$15 = store.dispatch(new MessageMechanicAction(message_0));
|
|
12090
12090
|
tmp = tmp$ret$15;
|
|
12091
12091
|
} else {
|
|
@@ -12132,10 +12132,10 @@
|
|
|
12132
12132
|
};
|
|
12133
12133
|
function _no_name_provided__qut3iv_43() {
|
|
12134
12134
|
}
|
|
12135
|
-
protoOf(_no_name_provided__qut3iv_43).
|
|
12135
|
+
protoOf(_no_name_provided__qut3iv_43).b2o = function (action) {
|
|
12136
12136
|
return action instanceof InfoMessageAction;
|
|
12137
12137
|
};
|
|
12138
|
-
protoOf(_no_name_provided__qut3iv_43).
|
|
12138
|
+
protoOf(_no_name_provided__qut3iv_43).l4g = function (store, next, action) {
|
|
12139
12139
|
// Inline function 'com.debertz.logic.client.redux.middlewares.messages.startResetTimerForInfoMessageMiddleware.<anonymous>' call
|
|
12140
12140
|
var tmp0__anonymous__q1qw7t = action instanceof InfoMessageAction ? action : THROW_CCE();
|
|
12141
12141
|
if (!(tmp0__anonymous__q1qw7t.w5u_1 == null)) {
|
|
@@ -12147,18 +12147,18 @@
|
|
|
12147
12147
|
}
|
|
12148
12148
|
next(tmp0__anonymous__q1qw7t);
|
|
12149
12149
|
};
|
|
12150
|
-
protoOf(_no_name_provided__qut3iv_43).
|
|
12151
|
-
return this.
|
|
12150
|
+
protoOf(_no_name_provided__qut3iv_43).c2o = function (store, next, action) {
|
|
12151
|
+
return this.l4g(store, next, action);
|
|
12152
12152
|
};
|
|
12153
12153
|
function _no_name_provided__qut3iv_44() {
|
|
12154
12154
|
}
|
|
12155
|
-
protoOf(_no_name_provided__qut3iv_44).
|
|
12155
|
+
protoOf(_no_name_provided__qut3iv_44).b2o = function (action) {
|
|
12156
12156
|
return action instanceof TimerTickAction;
|
|
12157
12157
|
};
|
|
12158
|
-
protoOf(_no_name_provided__qut3iv_44).
|
|
12158
|
+
protoOf(_no_name_provided__qut3iv_44).l4g = function (store, next, action) {
|
|
12159
12159
|
// Inline function 'com.debertz.logic.client.redux.middlewares.messages.resetInfoMessageWhenShownMiddleware.<anonymous>' call
|
|
12160
12160
|
var tmp0__anonymous__q1qw7t = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
12161
|
-
var timerTag = tmp0__anonymous__q1qw7t.
|
|
12161
|
+
var timerTag = tmp0__anonymous__q1qw7t.p2o_1;
|
|
12162
12162
|
if (timerTag instanceof ResetMessageTimerTag) {
|
|
12163
12163
|
var clientPayload = get_clientState_0(store.state);
|
|
12164
12164
|
if (equals(clientPayload.t4z_1, timerTag.j5z_1)) {
|
|
@@ -12167,8 +12167,8 @@
|
|
|
12167
12167
|
}
|
|
12168
12168
|
next(tmp0__anonymous__q1qw7t);
|
|
12169
12169
|
};
|
|
12170
|
-
protoOf(_no_name_provided__qut3iv_44).
|
|
12171
|
-
return this.
|
|
12170
|
+
protoOf(_no_name_provided__qut3iv_44).c2o = function (store, next, action) {
|
|
12171
|
+
return this.l4g(store, next, action);
|
|
12172
12172
|
};
|
|
12173
12173
|
var lock;
|
|
12174
12174
|
function clientConsumeFromClientActionsMiddleware(gameMechanicLogicInteractor, asyncProvider) {
|
|
@@ -12253,23 +12253,23 @@
|
|
|
12253
12253
|
var tmp0_subject = this.d60_1;
|
|
12254
12254
|
var tmp_0;
|
|
12255
12255
|
if (tmp0_subject instanceof MessageFromClientAction) {
|
|
12256
|
-
tmp_0 = listOfNotNull_0(this.e60_1.
|
|
12256
|
+
tmp_0 = listOfNotNull_0(this.e60_1.q48(this.d60_1, this.f60_1.players));
|
|
12257
12257
|
} else {
|
|
12258
12258
|
if (tmp0_subject instanceof PartnerSelectedFromClientAction) {
|
|
12259
|
-
tmp_0 = listOf_0(this.e60_1.
|
|
12259
|
+
tmp_0 = listOf_0(this.e60_1.r48(this.d60_1, this.f60_1.players));
|
|
12260
12260
|
} else {
|
|
12261
12261
|
if (tmp0_subject instanceof PlayerReadyFromClientAction) {
|
|
12262
|
-
tmp_0 = listOf_0(this.e60_1.
|
|
12262
|
+
tmp_0 = listOf_0(this.e60_1.s48(this.d60_1));
|
|
12263
12263
|
} else {
|
|
12264
12264
|
if (tmp0_subject instanceof SuitChoiceFromClientAction) {
|
|
12265
|
-
tmp_0 = listOf_0(this.e60_1.
|
|
12265
|
+
tmp_0 = listOf_0(this.e60_1.t48(this.d60_1, this.f60_1.players, this.f60_1.config));
|
|
12266
12266
|
} else {
|
|
12267
12267
|
if (tmp0_subject instanceof CombinationChoiceFromClientAction) {
|
|
12268
|
-
tmp_0 = listOf_0(this.e60_1.
|
|
12268
|
+
tmp_0 = listOf_0(this.e60_1.u48(this.d60_1, this.f60_1));
|
|
12269
12269
|
} else {
|
|
12270
12270
|
if (tmp0_subject instanceof CardFromClientAction) {
|
|
12271
|
-
var newCardsOnTheTable = plus_0(this.f60_1.cardsOnTable, new CardOnTable(this.d60_1.playerId, this.f60_1.cardsOnTable.i(), this.d60_1.
|
|
12272
|
-
var cardMechanicAction = this.e60_1.
|
|
12271
|
+
var newCardsOnTheTable = plus_0(this.f60_1.cardsOnTable, new CardOnTable(this.d60_1.playerId, this.f60_1.cardsOnTable.i(), this.d60_1.n3j_1));
|
|
12272
|
+
var cardMechanicAction = this.e60_1.v48(this.d60_1, newCardsOnTheTable, this.f60_1.players, this.f60_1.config);
|
|
12273
12273
|
tmp_0 = listOf_0(cardMechanicAction);
|
|
12274
12274
|
} else {
|
|
12275
12275
|
tmp_0 = emptyList();
|
|
@@ -12280,7 +12280,7 @@
|
|
|
12280
12280
|
}
|
|
12281
12281
|
}
|
|
12282
12282
|
var mechanicActions = tmp_0;
|
|
12283
|
-
this.g60_1.
|
|
12283
|
+
this.g60_1.c2m(VOID, clientConsumeFromClientActionsMiddleware$o$handle$slambda$slambda_0(mechanicActions, this.h60_1, null));
|
|
12284
12284
|
return Unit_getInstance();
|
|
12285
12285
|
} else if (tmp === 1) {
|
|
12286
12286
|
throw this.oh_1;
|
|
@@ -12308,10 +12308,10 @@
|
|
|
12308
12308
|
this.j60_1 = $asyncProvider;
|
|
12309
12309
|
this.k60_1 = $gameMechanicLogicInteractor;
|
|
12310
12310
|
}
|
|
12311
|
-
protoOf(_no_name_provided__qut3iv_45).
|
|
12311
|
+
protoOf(_no_name_provided__qut3iv_45).b2o = function (action) {
|
|
12312
12312
|
return action instanceof FromClientAction;
|
|
12313
12313
|
};
|
|
12314
|
-
protoOf(_no_name_provided__qut3iv_45).
|
|
12314
|
+
protoOf(_no_name_provided__qut3iv_45).l4g = function (store, next, action) {
|
|
12315
12315
|
// Inline function 'com.debertz.logic.client.redux.middlewares.online.clientConsumeFromClientActionsMiddleware.<anonymous>' call
|
|
12316
12316
|
var tmp0__anonymous__q1qw7t = action instanceof FromClientAction ? action : THROW_CCE();
|
|
12317
12317
|
var tmp$ret$1;
|
|
@@ -12321,13 +12321,13 @@
|
|
|
12321
12321
|
// Inline function 'com.debertz.logic.client.redux.middlewares.online.clientConsumeFromClientActionsMiddleware.<anonymous>.<anonymous>' call
|
|
12322
12322
|
var state = store.state;
|
|
12323
12323
|
next(tmp0__anonymous__q1qw7t);
|
|
12324
|
-
tmp$ret$0 = state.
|
|
12324
|
+
tmp$ret$0 = state.p2t();
|
|
12325
12325
|
tmp$ret$1 = tmp$ret$0;
|
|
12326
12326
|
var table = tmp$ret$1;
|
|
12327
|
-
this.j60_1.
|
|
12327
|
+
this.j60_1.g2m(VOID, clientConsumeFromClientActionsMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.k60_1, table, this.j60_1, store, null));
|
|
12328
12328
|
};
|
|
12329
|
-
protoOf(_no_name_provided__qut3iv_45).
|
|
12330
|
-
return this.
|
|
12329
|
+
protoOf(_no_name_provided__qut3iv_45).c2o = function (store, next, action) {
|
|
12330
|
+
return this.l4g(store, next, action);
|
|
12331
12331
|
};
|
|
12332
12332
|
function clientSendEventsToServerMiddleware(asyncProvider, provider) {
|
|
12333
12333
|
var tmp$ret$0;
|
|
@@ -12397,17 +12397,17 @@
|
|
|
12397
12397
|
this.w60_1 = $asyncProvider;
|
|
12398
12398
|
this.x60_1 = $provider;
|
|
12399
12399
|
}
|
|
12400
|
-
protoOf(_no_name_provided__qut3iv_46).
|
|
12400
|
+
protoOf(_no_name_provided__qut3iv_46).b2o = function (action) {
|
|
12401
12401
|
return action instanceof FromClientAction;
|
|
12402
12402
|
};
|
|
12403
|
-
protoOf(_no_name_provided__qut3iv_46).
|
|
12403
|
+
protoOf(_no_name_provided__qut3iv_46).l4g = function (store, next, action) {
|
|
12404
12404
|
// Inline function 'com.debertz.logic.client.redux.middlewares.online.clientSendEventsToServerMiddleware.<anonymous>' call
|
|
12405
12405
|
var tmp0__anonymous__q1qw7t = action instanceof FromClientAction ? action : THROW_CCE();
|
|
12406
|
-
this.w60_1.
|
|
12406
|
+
this.w60_1.c2m(VOID, clientSendEventsToServerMiddleware$o$handle$slambda_0(this.x60_1, tmp0__anonymous__q1qw7t, null));
|
|
12407
12407
|
next(tmp0__anonymous__q1qw7t);
|
|
12408
12408
|
};
|
|
12409
|
-
protoOf(_no_name_provided__qut3iv_46).
|
|
12410
|
-
return this.
|
|
12409
|
+
protoOf(_no_name_provided__qut3iv_46).c2o = function (store, next, action) {
|
|
12410
|
+
return this.l4g(store, next, action);
|
|
12411
12411
|
};
|
|
12412
12412
|
function sceneActivationReducer(interactor) {
|
|
12413
12413
|
var tmp$ret$0;
|
|
@@ -12418,7 +12418,7 @@
|
|
|
12418
12418
|
function _no_name_provided__qut3iv_47($interactor) {
|
|
12419
12419
|
this.y60_1 = $interactor;
|
|
12420
12420
|
}
|
|
12421
|
-
protoOf(_no_name_provided__qut3iv_47).
|
|
12421
|
+
protoOf(_no_name_provided__qut3iv_47).b2o = function (action) {
|
|
12422
12422
|
return action instanceof SceneMechanicAction;
|
|
12423
12423
|
};
|
|
12424
12424
|
protoOf(_no_name_provided__qut3iv_47).x4k = function (state, action) {
|
|
@@ -12426,15 +12426,15 @@
|
|
|
12426
12426
|
$l$block: {
|
|
12427
12427
|
// Inline function 'com.debertz.logic.client.redux.middlewares.scenes.sceneActivationReducer.<anonymous>' call
|
|
12428
12428
|
var tmp0__anonymous__q1qw7t = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
12429
|
-
if (!this.y60_1.s50(tmp0__anonymous__q1qw7t.
|
|
12430
|
-
tmp$ret$0 = state.
|
|
12429
|
+
if (!this.y60_1.s50(tmp0__anonymous__q1qw7t.y49_1)) {
|
|
12430
|
+
tmp$ret$0 = state.v4b(VOID, get_clientState_0(state).z60(VOID, VOID, VOID, VOID, VOID, VOID, false));
|
|
12431
12431
|
break $l$block;
|
|
12432
12432
|
}
|
|
12433
12433
|
tmp$ret$0 = state;
|
|
12434
12434
|
}
|
|
12435
12435
|
return tmp$ret$0;
|
|
12436
12436
|
};
|
|
12437
|
-
protoOf(_no_name_provided__qut3iv_47).
|
|
12437
|
+
protoOf(_no_name_provided__qut3iv_47).p2m = function (state, action) {
|
|
12438
12438
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
12439
12439
|
};
|
|
12440
12440
|
function exitAndSaveGameMiddleware(currentPlayerId, asyncProvider, persistentAppStateInteractor) {
|
|
@@ -12464,7 +12464,7 @@
|
|
|
12464
12464
|
var tmp = this.lh_1;
|
|
12465
12465
|
if (tmp === 0) {
|
|
12466
12466
|
this.mh_1 = 1;
|
|
12467
|
-
this.i61_1.dispatch(new FinishGameMechanicAction(new PlayerExitReason(this.j61_1.
|
|
12467
|
+
this.i61_1.dispatch(new FinishGameMechanicAction(new PlayerExitReason(this.j61_1.x4b_1)));
|
|
12468
12468
|
return Unit_getInstance();
|
|
12469
12469
|
} else if (tmp === 1) {
|
|
12470
12470
|
throw this.oh_1;
|
|
@@ -12513,9 +12513,9 @@
|
|
|
12513
12513
|
case 0:
|
|
12514
12514
|
this.mh_1 = 3;
|
|
12515
12515
|
this.y61_1 = this.t61_1.state;
|
|
12516
|
-
if (this.y61_1.
|
|
12516
|
+
if (this.y61_1.q2t() ? !get_isGameFinished(this.y61_1.p2t()) : false) {
|
|
12517
12517
|
this.lh_1 = 1;
|
|
12518
|
-
suspendResult = this.u61_1.n50(this.y61_1.
|
|
12518
|
+
suspendResult = this.u61_1.n50(this.y61_1.p2t(), get_clientState_0(this.y61_1), this);
|
|
12519
12519
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
12520
12520
|
return suspendResult;
|
|
12521
12521
|
}
|
|
@@ -12531,7 +12531,7 @@
|
|
|
12531
12531
|
this.lh_1 = 2;
|
|
12532
12532
|
continue $sm;
|
|
12533
12533
|
case 2:
|
|
12534
|
-
this.v61_1.
|
|
12534
|
+
this.v61_1.c2m(VOID, exitAndSaveGameMiddleware$o$handle$slambda$slambda_0(this.t61_1, this.w61_1, null));
|
|
12535
12535
|
;
|
|
12536
12536
|
return Unit_getInstance();
|
|
12537
12537
|
case 3:
|
|
@@ -12566,25 +12566,25 @@
|
|
|
12566
12566
|
this.a62_1 = $asyncProvider;
|
|
12567
12567
|
this.b62_1 = $persistentAppStateInteractor;
|
|
12568
12568
|
}
|
|
12569
|
-
protoOf(_no_name_provided__qut3iv_48).
|
|
12569
|
+
protoOf(_no_name_provided__qut3iv_48).b2o = function (action) {
|
|
12570
12570
|
return action instanceof PlayerConnectionUpdateAction;
|
|
12571
12571
|
};
|
|
12572
|
-
protoOf(_no_name_provided__qut3iv_48).
|
|
12572
|
+
protoOf(_no_name_provided__qut3iv_48).l4g = function (store, next, action) {
|
|
12573
12573
|
var tmp$ret$0;
|
|
12574
12574
|
$l$block: {
|
|
12575
12575
|
// Inline function 'com.debertz.logic.client.redux.middlewares.single.exitAndSaveGameMiddleware.<anonymous>' call
|
|
12576
12576
|
var tmp0__anonymous__q1qw7t = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
|
|
12577
|
-
if (!(this.z61_1 === tmp0__anonymous__q1qw7t.
|
|
12577
|
+
if (!(this.z61_1 === tmp0__anonymous__q1qw7t.x4b_1)) {
|
|
12578
12578
|
next(tmp0__anonymous__q1qw7t);
|
|
12579
12579
|
tmp$ret$0 = Unit_getInstance();
|
|
12580
12580
|
break $l$block;
|
|
12581
12581
|
}
|
|
12582
12582
|
next(tmp0__anonymous__q1qw7t);
|
|
12583
|
-
this.a62_1.
|
|
12583
|
+
this.a62_1.e2m(VOID, exitAndSaveGameMiddleware$o$handle$slambda_0(store, this.b62_1, this.a62_1, tmp0__anonymous__q1qw7t, null));
|
|
12584
12584
|
}
|
|
12585
12585
|
};
|
|
12586
|
-
protoOf(_no_name_provided__qut3iv_48).
|
|
12587
|
-
return this.
|
|
12586
|
+
protoOf(_no_name_provided__qut3iv_48).c2o = function (store, next, action) {
|
|
12587
|
+
return this.l4g(store, next, action);
|
|
12588
12588
|
};
|
|
12589
12589
|
function reloadTimersWhenContinueGameMiddleware(isDelayForBot, random, isEnableBotForPlayer) {
|
|
12590
12590
|
random = random === VOID ? null : random;
|
|
@@ -12598,14 +12598,14 @@
|
|
|
12598
12598
|
this.d62_1 = $isDelayForBot;
|
|
12599
12599
|
this.e62_1 = $random;
|
|
12600
12600
|
}
|
|
12601
|
-
protoOf(_no_name_provided__qut3iv_49).
|
|
12601
|
+
protoOf(_no_name_provided__qut3iv_49).b2o = function (action) {
|
|
12602
12602
|
return action instanceof ContinueGameMechanicAction;
|
|
12603
12603
|
};
|
|
12604
|
-
protoOf(_no_name_provided__qut3iv_49).
|
|
12604
|
+
protoOf(_no_name_provided__qut3iv_49).l4g = function (store, next, action) {
|
|
12605
12605
|
// Inline function 'com.debertz.logic.client.redux.middlewares.single.reloadTimersWhenContinueGameMiddleware.<anonymous>' call
|
|
12606
12606
|
var tmp0__anonymous__q1qw7t = action instanceof ContinueGameMechanicAction ? action : THROW_CCE();
|
|
12607
12607
|
next(tmp0__anonymous__q1qw7t);
|
|
12608
|
-
var table = tmp0__anonymous__q1qw7t.
|
|
12608
|
+
var table = tmp0__anonymous__q1qw7t.r4d_1;
|
|
12609
12609
|
// Inline function 'kotlin.collections.forEach' call
|
|
12610
12610
|
var tmp$ret$2;
|
|
12611
12611
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -12630,11 +12630,11 @@
|
|
|
12630
12630
|
while (tmp0_iterator_0.g()) {
|
|
12631
12631
|
var element_0 = tmp0_iterator_0.h();
|
|
12632
12632
|
// Inline function 'com.debertz.logic.client.redux.middlewares.single.reloadTimersWhenContinueGameMiddleware.<anonymous>.<anonymous>' call
|
|
12633
|
-
store.dispatch(new StartTimerAction(new PlayerTurnTimerTag(element_0.k2f(), element_0.
|
|
12633
|
+
store.dispatch(new StartTimerAction(new PlayerTurnTimerTag(element_0.k2f(), element_0.g2x_1.q2h()), getInitialPlayerTurnTimerDelayMillis(element_0, table.config, this.d62_1, this.e62_1), VOID, TimerType_DELAY_getInstance()));
|
|
12634
12634
|
}
|
|
12635
12635
|
};
|
|
12636
|
-
protoOf(_no_name_provided__qut3iv_49).
|
|
12637
|
-
return this.
|
|
12636
|
+
protoOf(_no_name_provided__qut3iv_49).c2o = function (store, next, action) {
|
|
12637
|
+
return this.l4g(store, next, action);
|
|
12638
12638
|
};
|
|
12639
12639
|
function removeSavedGameMiddleware(asyncProvider, persistentAppStateInteractor) {
|
|
12640
12640
|
var tmp$ret$0;
|
|
@@ -12715,18 +12715,18 @@
|
|
|
12715
12715
|
this.s62_1 = $asyncProvider;
|
|
12716
12716
|
this.t62_1 = $persistentAppStateInteractor;
|
|
12717
12717
|
}
|
|
12718
|
-
protoOf(_no_name_provided__qut3iv_50).
|
|
12718
|
+
protoOf(_no_name_provided__qut3iv_50).b2o = function (action) {
|
|
12719
12719
|
return action instanceof PartyEndedAction;
|
|
12720
12720
|
};
|
|
12721
|
-
protoOf(_no_name_provided__qut3iv_50).
|
|
12721
|
+
protoOf(_no_name_provided__qut3iv_50).l4g = function (store, next, action) {
|
|
12722
12722
|
// Inline function 'com.debertz.logic.client.redux.middlewares.single.removeSavedGameMiddleware.<anonymous>' call
|
|
12723
12723
|
var tmp0__anonymous__q1qw7t = action instanceof PartyEndedAction ? action : THROW_CCE();
|
|
12724
|
-
var id = store.state.
|
|
12724
|
+
var id = store.state.p2t().id;
|
|
12725
12725
|
next(tmp0__anonymous__q1qw7t);
|
|
12726
|
-
this.s62_1.
|
|
12726
|
+
this.s62_1.e2m(VOID, removeSavedGameMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.t62_1, id, null));
|
|
12727
12727
|
};
|
|
12728
|
-
protoOf(_no_name_provided__qut3iv_50).
|
|
12729
|
-
return this.
|
|
12728
|
+
protoOf(_no_name_provided__qut3iv_50).c2o = function (store, next, action) {
|
|
12729
|
+
return this.l4g(store, next, action);
|
|
12730
12730
|
};
|
|
12731
12731
|
function removeSavedGameWhenErrorMiddleware(asyncProvider, persistentAppStateInteractor) {
|
|
12732
12732
|
var tmp$ret$0;
|
|
@@ -12757,7 +12757,7 @@
|
|
|
12757
12757
|
case 0:
|
|
12758
12758
|
this.mh_1 = 2;
|
|
12759
12759
|
var tmp_0 = this;
|
|
12760
|
-
var tmp0_safe_receiver = this.c63_1.state.
|
|
12760
|
+
var tmp0_safe_receiver = this.c63_1.state.l2s_1;
|
|
12761
12761
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.id;
|
|
12762
12762
|
tmp_0.f63_1 = tmp1_elvis_lhs == null ? 'temp_game_id' : tmp1_elvis_lhs;
|
|
12763
12763
|
this.lh_1 = 1;
|
|
@@ -12800,17 +12800,17 @@
|
|
|
12800
12800
|
this.g63_1 = $asyncProvider;
|
|
12801
12801
|
this.h63_1 = $persistentAppStateInteractor;
|
|
12802
12802
|
}
|
|
12803
|
-
protoOf(_no_name_provided__qut3iv_51).
|
|
12803
|
+
protoOf(_no_name_provided__qut3iv_51).b2o = function (action) {
|
|
12804
12804
|
return action instanceof ErrorAction;
|
|
12805
12805
|
};
|
|
12806
|
-
protoOf(_no_name_provided__qut3iv_51).
|
|
12806
|
+
protoOf(_no_name_provided__qut3iv_51).l4g = function (store, next, action) {
|
|
12807
12807
|
// Inline function 'com.debertz.logic.client.redux.middlewares.single.removeSavedGameWhenErrorMiddleware.<anonymous>' call
|
|
12808
12808
|
var tmp0__anonymous__q1qw7t = action instanceof ErrorAction ? action : THROW_CCE();
|
|
12809
12809
|
next(tmp0__anonymous__q1qw7t);
|
|
12810
|
-
this.g63_1.
|
|
12810
|
+
this.g63_1.e2m(VOID, removeSavedGameWhenErrorMiddleware$o$handle$slambda_0(store, this.h63_1, null));
|
|
12811
12811
|
};
|
|
12812
|
-
protoOf(_no_name_provided__qut3iv_51).
|
|
12813
|
-
return this.
|
|
12812
|
+
protoOf(_no_name_provided__qut3iv_51).c2o = function (store, next, action) {
|
|
12813
|
+
return this.l4g(store, next, action);
|
|
12814
12814
|
};
|
|
12815
12815
|
function saveGameWhenAppOnBackgroundMiddleware(asyncProvider, persistentAppStateInteractor) {
|
|
12816
12816
|
var tmp$ret$0;
|
|
@@ -12841,9 +12841,9 @@
|
|
|
12841
12841
|
switch (tmp) {
|
|
12842
12842
|
case 0:
|
|
12843
12843
|
this.mh_1 = 3;
|
|
12844
|
-
if ((!this.q63_1.m5u_1 ? this.r63_1.
|
|
12844
|
+
if ((!this.q63_1.m5u_1 ? this.r63_1.q2t() : false) ? !get_isGameFinished(this.r63_1.p2t()) : false) {
|
|
12845
12845
|
this.lh_1 = 1;
|
|
12846
|
-
suspendResult = this.s63_1.n50(this.r63_1.
|
|
12846
|
+
suspendResult = this.s63_1.n50(this.r63_1.p2t(), get_clientState_0(this.r63_1), this);
|
|
12847
12847
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
12848
12848
|
return suspendResult;
|
|
12849
12849
|
}
|
|
@@ -12891,18 +12891,18 @@
|
|
|
12891
12891
|
this.u63_1 = $asyncProvider;
|
|
12892
12892
|
this.v63_1 = $persistentAppStateInteractor;
|
|
12893
12893
|
}
|
|
12894
|
-
protoOf(_no_name_provided__qut3iv_52).
|
|
12894
|
+
protoOf(_no_name_provided__qut3iv_52).b2o = function (action) {
|
|
12895
12895
|
return action instanceof ForegroundAction;
|
|
12896
12896
|
};
|
|
12897
|
-
protoOf(_no_name_provided__qut3iv_52).
|
|
12897
|
+
protoOf(_no_name_provided__qut3iv_52).l4g = function (store, next, action) {
|
|
12898
12898
|
// Inline function 'com.debertz.logic.client.redux.middlewares.single.saveGameWhenAppOnBackgroundMiddleware.<anonymous>' call
|
|
12899
12899
|
var tmp0__anonymous__q1qw7t = action instanceof ForegroundAction ? action : THROW_CCE();
|
|
12900
12900
|
var state = store.state;
|
|
12901
12901
|
next(tmp0__anonymous__q1qw7t);
|
|
12902
|
-
this.u63_1.
|
|
12902
|
+
this.u63_1.e2m(VOID, saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, state, this.v63_1, null));
|
|
12903
12903
|
};
|
|
12904
|
-
protoOf(_no_name_provided__qut3iv_52).
|
|
12905
|
-
return this.
|
|
12904
|
+
protoOf(_no_name_provided__qut3iv_52).c2o = function (store, next, action) {
|
|
12905
|
+
return this.l4g(store, next, action);
|
|
12906
12906
|
};
|
|
12907
12907
|
function statisticsMiddleware(asyncProvider, currentPlayerId, clientStatisticsInteractor) {
|
|
12908
12908
|
var tmp$ret$0;
|
|
@@ -13012,17 +13012,17 @@
|
|
|
13012
13012
|
this.n64_1 = $currentPlayerId;
|
|
13013
13013
|
this.o64_1 = $clientStatisticsInteractor;
|
|
13014
13014
|
}
|
|
13015
|
-
protoOf(_no_name_provided__qut3iv_53).
|
|
13015
|
+
protoOf(_no_name_provided__qut3iv_53).b2o = function (action) {
|
|
13016
13016
|
return action instanceof PartyEndedAction;
|
|
13017
13017
|
};
|
|
13018
|
-
protoOf(_no_name_provided__qut3iv_53).
|
|
13018
|
+
protoOf(_no_name_provided__qut3iv_53).l4g = function (store, next, action) {
|
|
13019
13019
|
// Inline function 'com.debertz.logic.client.redux.middlewares.single.statisticsMiddleware.<anonymous>' call
|
|
13020
13020
|
var tmp0__anonymous__q1qw7t = action instanceof PartyEndedAction ? action : THROW_CCE();
|
|
13021
13021
|
next(tmp0__anonymous__q1qw7t);
|
|
13022
|
-
this.m64_1.
|
|
13022
|
+
this.m64_1.e2m(VOID, statisticsMiddleware$o$handle$slambda_0(tmp0__anonymous__q1qw7t, this.n64_1, this.o64_1, null));
|
|
13023
13023
|
};
|
|
13024
|
-
protoOf(_no_name_provided__qut3iv_53).
|
|
13025
|
-
return this.
|
|
13024
|
+
protoOf(_no_name_provided__qut3iv_53).c2o = function (store, next, action) {
|
|
13025
|
+
return this.l4g(store, next, action);
|
|
13026
13026
|
};
|
|
13027
13027
|
function clearTimersWhenErrorMiddleware() {
|
|
13028
13028
|
var tmp$ret$0;
|
|
@@ -13032,16 +13032,16 @@
|
|
|
13032
13032
|
}
|
|
13033
13033
|
function _no_name_provided__qut3iv_54() {
|
|
13034
13034
|
}
|
|
13035
|
-
protoOf(_no_name_provided__qut3iv_54).
|
|
13035
|
+
protoOf(_no_name_provided__qut3iv_54).b2o = function (action) {
|
|
13036
13036
|
return action instanceof ErrorAction;
|
|
13037
13037
|
};
|
|
13038
|
-
protoOf(_no_name_provided__qut3iv_54).
|
|
13038
|
+
protoOf(_no_name_provided__qut3iv_54).l4g = function (store, next, action) {
|
|
13039
13039
|
// Inline function 'com.debertz.logic.client.redux.middlewares.timers.clearTimersWhenErrorMiddleware.<anonymous>' call
|
|
13040
13040
|
var tmp0__anonymous__q1qw7t = action instanceof ErrorAction ? action : THROW_CCE();
|
|
13041
13041
|
var state = store.state;
|
|
13042
|
-
if (state.
|
|
13042
|
+
if (state.q2t()) {
|
|
13043
13043
|
// Inline function 'kotlin.collections.forEach' call
|
|
13044
|
-
var tmp0_forEach = state.
|
|
13044
|
+
var tmp0_forEach = state.p2s_1;
|
|
13045
13045
|
var tmp0_iterator = tmp0_forEach.f();
|
|
13046
13046
|
while (tmp0_iterator.g()) {
|
|
13047
13047
|
var element = tmp0_iterator.h();
|
|
@@ -13051,8 +13051,8 @@
|
|
|
13051
13051
|
}
|
|
13052
13052
|
next(tmp0__anonymous__q1qw7t);
|
|
13053
13053
|
};
|
|
13054
|
-
protoOf(_no_name_provided__qut3iv_54).
|
|
13055
|
-
return this.
|
|
13054
|
+
protoOf(_no_name_provided__qut3iv_54).c2o = function (store, next, action) {
|
|
13055
|
+
return this.l4g(store, next, action);
|
|
13056
13056
|
};
|
|
13057
13057
|
function checkExpectantsMiddleware(logger) {
|
|
13058
13058
|
var tmp$ret$0;
|
|
@@ -13063,10 +13063,10 @@
|
|
|
13063
13063
|
function _no_name_provided__qut3iv_55($logger) {
|
|
13064
13064
|
this.p64_1 = $logger;
|
|
13065
13065
|
}
|
|
13066
|
-
protoOf(_no_name_provided__qut3iv_55).
|
|
13066
|
+
protoOf(_no_name_provided__qut3iv_55).b2o = function (action) {
|
|
13067
13067
|
return action instanceof ExpectantLifecycleAction;
|
|
13068
13068
|
};
|
|
13069
|
-
protoOf(_no_name_provided__qut3iv_55).
|
|
13069
|
+
protoOf(_no_name_provided__qut3iv_55).l4g = function (store, next, action) {
|
|
13070
13070
|
// Inline function 'com.debertz.logic.client.redux.middlewares.validation.checkExpectantsMiddleware.<anonymous>' call
|
|
13071
13071
|
var tmp0__anonymous__q1qw7t = action instanceof ExpectantLifecycleAction ? action : THROW_CCE();
|
|
13072
13072
|
var expectants = get_clientState_0(store.state).u4z_1;
|
|
@@ -13168,8 +13168,8 @@
|
|
|
13168
13168
|
}
|
|
13169
13169
|
next(tmp0__anonymous__q1qw7t);
|
|
13170
13170
|
};
|
|
13171
|
-
protoOf(_no_name_provided__qut3iv_55).
|
|
13172
|
-
return this.
|
|
13171
|
+
protoOf(_no_name_provided__qut3iv_55).c2o = function (store, next, action) {
|
|
13172
|
+
return this.l4g(store, next, action);
|
|
13173
13173
|
};
|
|
13174
13174
|
function checkValidCurrentPlayerIdMiddleware(currentPlayerId, gameLogger) {
|
|
13175
13175
|
var tmp$ret$0;
|
|
@@ -13181,16 +13181,16 @@
|
|
|
13181
13181
|
this.q64_1 = $currentPlayerId;
|
|
13182
13182
|
this.r64_1 = $gameLogger;
|
|
13183
13183
|
}
|
|
13184
|
-
protoOf(_no_name_provided__qut3iv_56).
|
|
13184
|
+
protoOf(_no_name_provided__qut3iv_56).b2o = function (action) {
|
|
13185
13185
|
return isInterface(action, FirstMechanicAction);
|
|
13186
13186
|
};
|
|
13187
|
-
protoOf(_no_name_provided__qut3iv_56).
|
|
13187
|
+
protoOf(_no_name_provided__qut3iv_56).l4g = function (store, next, action) {
|
|
13188
13188
|
// Inline function 'com.debertz.logic.client.redux.middlewares.validation.checkValidCurrentPlayerIdMiddleware.<anonymous>' call
|
|
13189
13189
|
var tmp0__anonymous__q1qw7t = isInterface(action, FirstMechanicAction) ? action : THROW_CCE();
|
|
13190
13190
|
next(tmp0__anonymous__q1qw7t);
|
|
13191
13191
|
var tmp$ret$2;
|
|
13192
13192
|
// Inline function 'kotlin.collections.filter' call
|
|
13193
|
-
var tmp1_filter = tmp0__anonymous__q1qw7t.
|
|
13193
|
+
var tmp1_filter = tmp0__anonymous__q1qw7t.v3x();
|
|
13194
13194
|
var tmp$ret$1;
|
|
13195
13195
|
// Inline function 'kotlin.collections.filterTo' call
|
|
13196
13196
|
var tmp0_filterTo = ArrayList_init_$Create$_0();
|
|
@@ -13218,8 +13218,8 @@
|
|
|
13218
13218
|
}
|
|
13219
13219
|
}
|
|
13220
13220
|
};
|
|
13221
|
-
protoOf(_no_name_provided__qut3iv_56).
|
|
13222
|
-
return this.
|
|
13221
|
+
protoOf(_no_name_provided__qut3iv_56).c2o = function (store, next, action) {
|
|
13222
|
+
return this.l4g(store, next, action);
|
|
13223
13223
|
};
|
|
13224
13224
|
function clientShowDisabledCardMessageMiddleware(putCardValidatorInteractor, messageFactory, logger) {
|
|
13225
13225
|
var tmp$ret$0;
|
|
@@ -13232,25 +13232,25 @@
|
|
|
13232
13232
|
this.t64_1 = $messageFactory;
|
|
13233
13233
|
this.u64_1 = $logger;
|
|
13234
13234
|
}
|
|
13235
|
-
protoOf(_no_name_provided__qut3iv_57).
|
|
13235
|
+
protoOf(_no_name_provided__qut3iv_57).b2o = function (action) {
|
|
13236
13236
|
return action instanceof DisabledCardAction;
|
|
13237
13237
|
};
|
|
13238
|
-
protoOf(_no_name_provided__qut3iv_57).
|
|
13238
|
+
protoOf(_no_name_provided__qut3iv_57).l4g = function (store, next, action) {
|
|
13239
13239
|
// Inline function 'com.debertz.logic.client.redux.middlewares.validation.clientShowDisabledCardMessageMiddleware.<anonymous>' call
|
|
13240
13240
|
var tmp0__anonymous__q1qw7t = action instanceof DisabledCardAction ? action : THROW_CCE();
|
|
13241
13241
|
var state = store.state;
|
|
13242
|
-
if (get_isEarnPointScene(state.
|
|
13243
|
-
var validationCode = this.s64_1.p50(tmp0__anonymous__q1qw7t.v64_1, get_currentPlayer(state.
|
|
13242
|
+
if (get_isEarnPointScene(state.p2t().sceneInfo.l40_1)) {
|
|
13243
|
+
var validationCode = this.s64_1.p50(tmp0__anonymous__q1qw7t.v64_1, get_currentPlayer(state.p2t()), state.p2t());
|
|
13244
13244
|
if (!(validationCode == null)) {
|
|
13245
|
-
store.dispatch(new InfoMessageAction(this.t64_1.
|
|
13245
|
+
store.dispatch(new InfoMessageAction(this.t64_1.v44(validationCode)));
|
|
13246
13246
|
} else {
|
|
13247
13247
|
this.u64_1.w(VOID, 'clientShowDisabledCardMessageMiddleware: card is valid, please check');
|
|
13248
13248
|
}
|
|
13249
13249
|
}
|
|
13250
13250
|
next(tmp0__anonymous__q1qw7t);
|
|
13251
13251
|
};
|
|
13252
|
-
protoOf(_no_name_provided__qut3iv_57).
|
|
13253
|
-
return this.
|
|
13252
|
+
protoOf(_no_name_provided__qut3iv_57).c2o = function (store, next, action) {
|
|
13253
|
+
return this.l4g(store, next, action);
|
|
13254
13254
|
};
|
|
13255
13255
|
function validateCardOnMoveMiddleware(putCardValidatorInteractor, messageFactory, logger) {
|
|
13256
13256
|
var tmp$ret$0;
|
|
@@ -13263,16 +13263,16 @@
|
|
|
13263
13263
|
this.x64_1 = $logger;
|
|
13264
13264
|
this.y64_1 = $messageFactory;
|
|
13265
13265
|
}
|
|
13266
|
-
protoOf(_no_name_provided__qut3iv_58).
|
|
13266
|
+
protoOf(_no_name_provided__qut3iv_58).b2o = function (action) {
|
|
13267
13267
|
return action instanceof CardPutAction;
|
|
13268
13268
|
};
|
|
13269
|
-
protoOf(_no_name_provided__qut3iv_58).
|
|
13269
|
+
protoOf(_no_name_provided__qut3iv_58).l4g = function (store, next, action) {
|
|
13270
13270
|
// Inline function 'com.debertz.logic.client.redux.middlewares.validation.validateCardOnMoveMiddleware.<anonymous>' call
|
|
13271
13271
|
var tmp0__anonymous__q1qw7t = action instanceof CardPutAction ? action : THROW_CCE();
|
|
13272
13272
|
var state = store.state;
|
|
13273
13273
|
var cardNotValidCount = 0;
|
|
13274
|
-
var player = get_currentPlayer(state.
|
|
13275
|
-
var validationCode = this.w64_1.p50(tmp0__anonymous__q1qw7t.t5u_1.
|
|
13274
|
+
var player = get_currentPlayer(state.p2t());
|
|
13275
|
+
var validationCode = this.w64_1.p50(tmp0__anonymous__q1qw7t.t5u_1.c2l_1, player, state.p2t());
|
|
13276
13276
|
if (!(validationCode == null)) {
|
|
13277
13277
|
var tmp0 = cardNotValidCount;
|
|
13278
13278
|
cardNotValidCount = tmp0 + 1 | 0;
|
|
@@ -13283,13 +13283,13 @@
|
|
|
13283
13283
|
this.x64_1.w(VOID, 'validateCardMiddleware: card is not valid for the third time, please check');
|
|
13284
13284
|
}
|
|
13285
13285
|
if (!(validationCode == null)) {
|
|
13286
|
-
store.dispatch(new InfoMessageAction(this.y64_1.
|
|
13286
|
+
store.dispatch(new InfoMessageAction(this.y64_1.v44(validationCode)));
|
|
13287
13287
|
} else {
|
|
13288
13288
|
next(tmp0__anonymous__q1qw7t);
|
|
13289
13289
|
}
|
|
13290
13290
|
};
|
|
13291
|
-
protoOf(_no_name_provided__qut3iv_58).
|
|
13292
|
-
return this.
|
|
13291
|
+
protoOf(_no_name_provided__qut3iv_58).c2o = function (store, next, action) {
|
|
13292
|
+
return this.l4g(store, next, action);
|
|
13293
13293
|
};
|
|
13294
13294
|
function clientCombinationToAnnounceStateOnPlayerTurnReducer(clientCombinationsReducer) {
|
|
13295
13295
|
var tmp$ret$0;
|
|
@@ -13303,11 +13303,11 @@
|
|
|
13303
13303
|
}
|
|
13304
13304
|
protoOf(ClientCombinationsReducerImpl).z64 = function (currentPlayerId, sceneInfo) {
|
|
13305
13305
|
Companion_getInstance_3();
|
|
13306
|
-
if (sceneInfo.
|
|
13306
|
+
if (sceneInfo.n40_1 === 'COMBINATION') {
|
|
13307
13307
|
var tmp$ret$0;
|
|
13308
13308
|
$l$block: {
|
|
13309
13309
|
// Inline function 'com.debertz.logic.data.models.scenes.requireActData' call
|
|
13310
|
-
var tmp0_requireActData = sceneInfo.
|
|
13310
|
+
var tmp0_requireActData = sceneInfo.p40_1;
|
|
13311
13311
|
if (tmp0_requireActData instanceof CombinationActData) {
|
|
13312
13312
|
tmp$ret$0 = tmp0_requireActData;
|
|
13313
13313
|
break $l$block;
|
|
@@ -13315,8 +13315,8 @@
|
|
|
13315
13315
|
throw new MechanicException('Required ' + getKClass(CombinationActData).ie() + ', current act is ' + tmp0_requireActData);
|
|
13316
13316
|
}
|
|
13317
13317
|
var actData = tmp$ret$0;
|
|
13318
|
-
if (currentPlayerId === actData.
|
|
13319
|
-
return new CombinationToAnnounceState(actData.
|
|
13318
|
+
if (currentPlayerId === actData.q37()) {
|
|
13319
|
+
return new CombinationToAnnounceState(actData.k37_1, null, null);
|
|
13320
13320
|
}
|
|
13321
13321
|
}
|
|
13322
13322
|
return null;
|
|
@@ -13324,7 +13324,7 @@
|
|
|
13324
13324
|
function _no_name_provided__qut3iv_59($clientCombinationsReducer) {
|
|
13325
13325
|
this.a65_1 = $clientCombinationsReducer;
|
|
13326
13326
|
}
|
|
13327
|
-
protoOf(_no_name_provided__qut3iv_59).
|
|
13327
|
+
protoOf(_no_name_provided__qut3iv_59).b2o = function (action) {
|
|
13328
13328
|
return isInterface(action, NavigationMechanicAction);
|
|
13329
13329
|
};
|
|
13330
13330
|
protoOf(_no_name_provided__qut3iv_59).x4k = function (state, action) {
|
|
@@ -13332,18 +13332,18 @@
|
|
|
13332
13332
|
$l$block: {
|
|
13333
13333
|
// Inline function 'com.debertz.logic.client.redux.redusers.clientCombinationToAnnounceStateOnPlayerTurnReducer.<anonymous>' call
|
|
13334
13334
|
var tmp0__anonymous__q1qw7t = isInterface(action, NavigationMechanicAction) ? action : THROW_CCE();
|
|
13335
|
-
var table = state.
|
|
13335
|
+
var table = state.p2t();
|
|
13336
13336
|
var actId = tmp0__anonymous__q1qw7t.actId;
|
|
13337
13337
|
Companion_getInstance_3();
|
|
13338
13338
|
if (actId === 'COMBINATION') {
|
|
13339
|
-
tmp$ret$0 = state.
|
|
13339
|
+
tmp$ret$0 = state.v4b(VOID, get_clientState_0(state).z60(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.a65_1.z64(get_currentPlayer(table).k2f(), table.sceneInfo)));
|
|
13340
13340
|
break $l$block;
|
|
13341
13341
|
}
|
|
13342
13342
|
tmp$ret$0 = state;
|
|
13343
13343
|
}
|
|
13344
13344
|
return tmp$ret$0;
|
|
13345
13345
|
};
|
|
13346
|
-
protoOf(_no_name_provided__qut3iv_59).
|
|
13346
|
+
protoOf(_no_name_provided__qut3iv_59).p2m = function (state, action) {
|
|
13347
13347
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
13348
13348
|
};
|
|
13349
13349
|
function ClientLifecycleReducer(logger, tableLifecycleReducer) {
|
|
@@ -13451,22 +13451,22 @@
|
|
|
13451
13451
|
var tmp0_subject = item;
|
|
13452
13452
|
var tmp;
|
|
13453
13453
|
if (tmp0_subject instanceof TextMessage) {
|
|
13454
|
-
tmp = item.
|
|
13454
|
+
tmp = item.r2w(VOID, VOID, VOID, false);
|
|
13455
13455
|
} else {
|
|
13456
13456
|
if (tmp0_subject instanceof PhraseMessage) {
|
|
13457
|
-
tmp = item.
|
|
13457
|
+
tmp = item.b2w(VOID, VOID, VOID, false);
|
|
13458
13458
|
} else {
|
|
13459
13459
|
if (tmp0_subject instanceof AnnouncedCombinationMessage) {
|
|
13460
|
-
tmp = item.
|
|
13460
|
+
tmp = item.f2v(VOID, VOID, VOID, false);
|
|
13461
13461
|
} else {
|
|
13462
13462
|
if (tmp0_subject instanceof WinnerCombinationsMessage) {
|
|
13463
|
-
tmp = item.
|
|
13463
|
+
tmp = item.r2v(VOID, VOID, false);
|
|
13464
13464
|
} else {
|
|
13465
13465
|
if (tmp0_subject instanceof PreviousPartyPointsMessage) {
|
|
13466
|
-
tmp = item.
|
|
13466
|
+
tmp = item.w2u(VOID, VOID, VOID, false);
|
|
13467
13467
|
} else {
|
|
13468
13468
|
if (tmp0_subject instanceof StickerMessage) {
|
|
13469
|
-
tmp = item.
|
|
13469
|
+
tmp = item.l2w(VOID, VOID, VOID, false);
|
|
13470
13470
|
} else {
|
|
13471
13471
|
gameLogger.w(VOID, "updateMessagesAsNotShown: Can't support this message " + item);
|
|
13472
13472
|
tmp = item;
|
|
@@ -13498,14 +13498,14 @@
|
|
|
13498
13498
|
this.p65_1 = clientCombinationsReducer;
|
|
13499
13499
|
}
|
|
13500
13500
|
protoOf(ClientMechanicLifecycleReducer).m4m = function (state, action) {
|
|
13501
|
-
var clientState = get_clientStateOrNull(state.
|
|
13501
|
+
var clientState = get_clientStateOrNull(state.m2s_1);
|
|
13502
13502
|
var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
13503
13503
|
var tmp0_$this = this.p4m_1;
|
|
13504
|
-
var tmp1_id = action.
|
|
13505
|
-
var tmp2_version = action.
|
|
13506
|
-
var tmp3_config = action.
|
|
13507
|
-
var tmp4_users = action.
|
|
13508
|
-
var tmp5_gameCreatorPlayerId = action.
|
|
13504
|
+
var tmp1_id = action.y4d_1;
|
|
13505
|
+
var tmp2_version = action.z4d_1;
|
|
13506
|
+
var tmp3_config = action.x4d_1;
|
|
13507
|
+
var tmp4_users = action.b4e_1;
|
|
13508
|
+
var tmp5_gameCreatorPlayerId = action.a4e_1;
|
|
13509
13509
|
var tmp7_tableOrNull = tmp0_$this.k4n(tmp1_id, tmp3_config, tmp2_version, tmp4_users, tmp5_gameCreatorPlayerId);
|
|
13510
13510
|
var tmp;
|
|
13511
13511
|
if (clientState == null) {
|
|
@@ -13515,35 +13515,35 @@
|
|
|
13515
13515
|
tmp = clientState;
|
|
13516
13516
|
}
|
|
13517
13517
|
var tmp8_payload = tmp;
|
|
13518
|
-
return state.
|
|
13518
|
+
return state.v4b(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
|
|
13519
13519
|
};
|
|
13520
13520
|
protoOf(ClientMechanicLifecycleReducer).l4m = function (state, action) {
|
|
13521
|
-
var clientState = get_clientStateOrNull(action.
|
|
13521
|
+
var clientState = get_clientStateOrNull(action.t4d_1);
|
|
13522
13522
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
13523
|
-
var tmp1_tableOrNull = action.
|
|
13523
|
+
var tmp1_tableOrNull = action.r4d_1;
|
|
13524
13524
|
var tmp;
|
|
13525
13525
|
if (clientState == null) {
|
|
13526
|
-
tmp = Companion_getInstance_11().r65(this.m65_1, this.p65_1.z64(get_currentPlayer(action.
|
|
13526
|
+
tmp = Companion_getInstance_11().r65(this.m65_1, this.p65_1.z64(get_currentPlayer(action.r4d_1).k2f(), action.r4d_1.sceneInfo));
|
|
13527
13527
|
} else {
|
|
13528
13528
|
tmp = this.o65_1.g65(clientState);
|
|
13529
13529
|
}
|
|
13530
13530
|
var tmp2_payload = tmp;
|
|
13531
|
-
return state.
|
|
13531
|
+
return state.v4b(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState, null);
|
|
13532
13532
|
};
|
|
13533
13533
|
protoOf(ClientMechanicLifecycleReducer).j4m = function (state, action) {
|
|
13534
|
-
return state.
|
|
13534
|
+
return state.v4b(VOID, VOID, GameLifecycleState_FINISHED_getInstance(), action.d4d_1);
|
|
13535
13535
|
};
|
|
13536
13536
|
protoOf(ClientMechanicLifecycleReducer).k4m = function (state, action) {
|
|
13537
13537
|
var tmp0_gameLifecycleState = GameLifecycleState_FINISHING_getInstance();
|
|
13538
|
-
var tmp1_terminationGameReason = action.
|
|
13539
|
-
var tmp2_tableOrNull = this.o65_1.d65(state.
|
|
13538
|
+
var tmp1_terminationGameReason = action.a4d_1;
|
|
13539
|
+
var tmp2_tableOrNull = this.o65_1.d65(state.p2t(), get_clientState_0(state));
|
|
13540
13540
|
var tmp3_payload = this.o65_1.g65(get_clientState_0(state));
|
|
13541
|
-
return state.
|
|
13541
|
+
return state.v4b(tmp2_tableOrNull, tmp3_payload, tmp0_gameLifecycleState, tmp1_terminationGameReason);
|
|
13542
13542
|
};
|
|
13543
13543
|
protoOf(ClientMechanicLifecycleReducer).i4m = function (state, action) {
|
|
13544
|
-
var tmp = this.p4m_1.s4m(state.
|
|
13544
|
+
var tmp = this.p4m_1.s4m(state.p2t());
|
|
13545
13545
|
var tmp_0 = get_clientState_0(state);
|
|
13546
|
-
return state.
|
|
13546
|
+
return state.v4b(tmp, this.o65_1.e65(tmp_0, ClientLifecycleReducer$partyFinishedMessagesReducer$ref(this.o65_1)));
|
|
13547
13547
|
};
|
|
13548
13548
|
function clientResetProcessingCardReducer() {
|
|
13549
13549
|
var tmp$ret$0;
|
|
@@ -13553,17 +13553,17 @@
|
|
|
13553
13553
|
}
|
|
13554
13554
|
function _no_name_provided__qut3iv_60() {
|
|
13555
13555
|
}
|
|
13556
|
-
protoOf(_no_name_provided__qut3iv_60).
|
|
13556
|
+
protoOf(_no_name_provided__qut3iv_60).b2o = function (action) {
|
|
13557
13557
|
return action instanceof PutCardMechanicAction;
|
|
13558
13558
|
};
|
|
13559
13559
|
protoOf(_no_name_provided__qut3iv_60).x4k = function (state, action) {
|
|
13560
13560
|
var tmp$ret$0;
|
|
13561
13561
|
// Inline function 'com.debertz.logic.client.redux.redusers.clientResetProcessingCardReducer.<anonymous>' call
|
|
13562
13562
|
var tmp0__anonymous__q1qw7t = action instanceof PutCardMechanicAction ? action : THROW_CCE();
|
|
13563
|
-
tmp$ret$0 = state.
|
|
13563
|
+
tmp$ret$0 = state.v4b(VOID, get_clientState_0(state).z60(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, null));
|
|
13564
13564
|
return tmp$ret$0;
|
|
13565
13565
|
};
|
|
13566
|
-
protoOf(_no_name_provided__qut3iv_60).
|
|
13566
|
+
protoOf(_no_name_provided__qut3iv_60).p2m = function (state, action) {
|
|
13567
13567
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
13568
13568
|
};
|
|
13569
13569
|
function clientSceneReducer(logger, clientLifecycleReducer) {
|
|
@@ -13590,14 +13590,14 @@
|
|
|
13590
13590
|
this.s65_1 = $logger;
|
|
13591
13591
|
this.t65_1 = $clientLifecycleReducer;
|
|
13592
13592
|
}
|
|
13593
|
-
protoOf(_no_name_provided__qut3iv_61).
|
|
13593
|
+
protoOf(_no_name_provided__qut3iv_61).b2o = function (action) {
|
|
13594
13594
|
return action instanceof SceneMechanicAction;
|
|
13595
13595
|
};
|
|
13596
13596
|
protoOf(_no_name_provided__qut3iv_61).x4k = function (state, action) {
|
|
13597
13597
|
var tmp$ret$0;
|
|
13598
13598
|
// Inline function 'com.debertz.logic.client.redux.redusers.clientSceneReducer.<anonymous>' call
|
|
13599
13599
|
var tmp0__anonymous__q1qw7t = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
13600
|
-
var tmp0_subject = tmp0__anonymous__q1qw7t.
|
|
13600
|
+
var tmp0_subject = tmp0__anonymous__q1qw7t.y49_1;
|
|
13601
13601
|
var tmp;
|
|
13602
13602
|
Companion_getInstance_1();
|
|
13603
13603
|
if (tmp0_subject === 'WAITING') {
|
|
@@ -13626,11 +13626,11 @@
|
|
|
13626
13626
|
tmp_0 = tmp0_subject === 'EARN_POINTS';
|
|
13627
13627
|
}
|
|
13628
13628
|
if (tmp_0) {
|
|
13629
|
-
tmp = state.
|
|
13629
|
+
tmp = state.v4b(VOID, get_clientState_0(state).z60(VOID, updateMessagesAsNotShown(get_clientState_0(state).s4z_1, this.s65_1)));
|
|
13630
13630
|
} else {
|
|
13631
13631
|
Companion_getInstance_1();
|
|
13632
13632
|
if (tmp0_subject === 'CALC_POINTS') {
|
|
13633
|
-
var gameFinished = !(firstOrNull(filterByGameWinner(state.
|
|
13633
|
+
var gameFinished = !(firstOrNull(filterByGameWinner(state.p2t().players)) == null);
|
|
13634
13634
|
var tmp_3;
|
|
13635
13635
|
if (gameFinished) {
|
|
13636
13636
|
var tmp_4 = get_clientState_0(state);
|
|
@@ -13639,7 +13639,7 @@
|
|
|
13639
13639
|
var tmp_5 = get_clientState_0(state);
|
|
13640
13640
|
tmp_3 = this.t65_1.e65(tmp_5, ClientLifecycleReducer$partyFinishedMessagesReducer$ref_0(this.t65_1));
|
|
13641
13641
|
}
|
|
13642
|
-
tmp = state.
|
|
13642
|
+
tmp = state.v4b(VOID, tmp_3);
|
|
13643
13643
|
} else {
|
|
13644
13644
|
throw new MechanicException("Can't support this scene " + tmp0__anonymous__q1qw7t);
|
|
13645
13645
|
}
|
|
@@ -13648,7 +13648,7 @@
|
|
|
13648
13648
|
tmp$ret$0 = tmp;
|
|
13649
13649
|
return tmp$ret$0;
|
|
13650
13650
|
};
|
|
13651
|
-
protoOf(_no_name_provided__qut3iv_61).
|
|
13651
|
+
protoOf(_no_name_provided__qut3iv_61).p2m = function (state, action) {
|
|
13652
13652
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
13653
13653
|
};
|
|
13654
13654
|
function clientUIReducer(currentPlayerId, clientLifecycleReducer, logger) {
|
|
@@ -13661,7 +13661,7 @@
|
|
|
13661
13661
|
this.u65_1 = $currentPlayerId;
|
|
13662
13662
|
this.v65_1 = $clientLifecycleReducer;
|
|
13663
13663
|
}
|
|
13664
|
-
protoOf(_no_name_provided__qut3iv_62).
|
|
13664
|
+
protoOf(_no_name_provided__qut3iv_62).b2o = function (action) {
|
|
13665
13665
|
return action instanceof ClientUIAction;
|
|
13666
13666
|
};
|
|
13667
13667
|
protoOf(_no_name_provided__qut3iv_62).x4k = function (state, action) {
|
|
@@ -13671,37 +13671,37 @@
|
|
|
13671
13671
|
var tmp0_subject = tmp0__anonymous__q1qw7t;
|
|
13672
13672
|
var tmp;
|
|
13673
13673
|
if (tmp0_subject instanceof SwitchChatAction) {
|
|
13674
|
-
tmp = state.
|
|
13674
|
+
tmp = state.v4b(VOID, get_clientState_0(state).z60(VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0__anonymous__q1qw7t.i5u_1));
|
|
13675
13675
|
} else {
|
|
13676
13676
|
if (tmp0_subject instanceof SwitchSettingAction) {
|
|
13677
|
-
tmp = state.
|
|
13677
|
+
tmp = state.v4b(VOID, get_clientState_0(state).z60(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0__anonymous__q1qw7t.j5u_1));
|
|
13678
13678
|
} else {
|
|
13679
13679
|
if (tmp0_subject instanceof SceneTutorialAction) {
|
|
13680
|
-
tmp = state.
|
|
13680
|
+
tmp = state.v4b(VOID, get_clientState_0(state).z60(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0__anonymous__q1qw7t.w65_1));
|
|
13681
13681
|
} else {
|
|
13682
13682
|
if (tmp0_subject instanceof SceneActivationAction) {
|
|
13683
|
-
tmp = state.
|
|
13683
|
+
tmp = state.v4b(VOID, get_clientState_0(state).z60(VOID, VOID, VOID, VOID, VOID, VOID, tmp0__anonymous__q1qw7t.j50_1));
|
|
13684
13684
|
} else {
|
|
13685
13685
|
if (tmp0_subject instanceof CombinationToAnnounceAction) {
|
|
13686
|
-
tmp = state.
|
|
13686
|
+
tmp = state.v4b(VOID, get_clientState_0(state).z60(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, new CombinationToAnnounceState(tmp0__anonymous__q1qw7t.x5u_1, tmp0__anonymous__q1qw7t.y5u_1, tmp0__anonymous__q1qw7t.z5u_1)));
|
|
13687
13687
|
} else {
|
|
13688
13688
|
if (tmp0_subject instanceof SwitchLastBribeAction) {
|
|
13689
13689
|
var tmp_0 = get_clientState_0(state);
|
|
13690
13690
|
var tmp_1;
|
|
13691
13691
|
if (tmp0__anonymous__q1qw7t.k5u_1) {
|
|
13692
|
-
var cards = last(state.
|
|
13693
|
-
tmp_1 = new LastBribeState(first(cards).
|
|
13692
|
+
var cards = last(state.p2t().bribes).u3h_1;
|
|
13693
|
+
tmp_1 = new LastBribeState(first(cards).s36_1, getWhoGotBribe(state.p2t().players).k2f(), cards);
|
|
13694
13694
|
} else {
|
|
13695
13695
|
tmp_1 = null;
|
|
13696
13696
|
}
|
|
13697
|
-
tmp = state.
|
|
13697
|
+
tmp = state.v4b(VOID, tmp_0.z60(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp_1));
|
|
13698
13698
|
} else {
|
|
13699
13699
|
if (tmp0_subject instanceof SwitchGameInfoAction) {
|
|
13700
13700
|
var tmp_2 = get_clientState_0(state);
|
|
13701
13701
|
var tmp_3;
|
|
13702
13702
|
if (tmp0__anonymous__q1qw7t.l5u_1) {
|
|
13703
|
-
var players = state.
|
|
13704
|
-
var tmp3_trump = state.
|
|
13703
|
+
var players = state.p2t().players;
|
|
13704
|
+
var tmp3_trump = state.p2t().currentTrump;
|
|
13705
13705
|
var tmp2_safe_receiver = singleOrNull(filterWhoChoseSuit(players));
|
|
13706
13706
|
var tmp4_whoChoseSuitPlayerId = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.k2f();
|
|
13707
13707
|
var tmp1_safe_receiver = singleOrNull(filterWhoShuffleCards(players));
|
|
@@ -13710,16 +13710,16 @@
|
|
|
13710
13710
|
} else {
|
|
13711
13711
|
tmp_3 = null;
|
|
13712
13712
|
}
|
|
13713
|
-
tmp = state.
|
|
13713
|
+
tmp = state.v4b(VOID, tmp_2.z60(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp_3));
|
|
13714
13714
|
} else {
|
|
13715
13715
|
if (tmp0_subject instanceof AnnouncedCombinationAction) {
|
|
13716
|
-
tmp = state.
|
|
13716
|
+
tmp = state.v4b(VOID, get_clientState_0(state).z60(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, null));
|
|
13717
13717
|
} else {
|
|
13718
13718
|
if (tmp0_subject instanceof ForegroundAction) {
|
|
13719
|
-
tmp = state.
|
|
13719
|
+
tmp = state.v4b(VOID, get_clientState_0(state).z60(VOID, VOID, VOID, VOID, VOID, tmp0__anonymous__q1qw7t.m5u_1));
|
|
13720
13720
|
} else {
|
|
13721
13721
|
if (tmp0_subject instanceof InitClientStateAction) {
|
|
13722
|
-
tmp = state.
|
|
13722
|
+
tmp = state.v4b(VOID, Companion_getInstance_11().q65(tmp0__anonymous__q1qw7t.n5u_1));
|
|
13723
13723
|
} else {
|
|
13724
13724
|
if (tmp0_subject instanceof UpdateConfigAction) {
|
|
13725
13725
|
var tmp6_safe_receiver = tmp0__anonymous__q1qw7t.s5u_1;
|
|
@@ -13734,7 +13734,7 @@
|
|
|
13734
13734
|
// Inline function 'com.debertz.logic.client.redux.redusers.clientUIReducer.<anonymous>.<anonymous>' call
|
|
13735
13735
|
var tmp$ret$2;
|
|
13736
13736
|
// Inline function 'kotlin.collections.map' call
|
|
13737
|
-
var tmp1_map = state.
|
|
13737
|
+
var tmp1_map = state.p2t().players;
|
|
13738
13738
|
var tmp$ret$1;
|
|
13739
13739
|
// Inline function 'kotlin.collections.mapTo' call
|
|
13740
13740
|
var tmp0_mapTo = ArrayList_init_$Create$(collectionSizeOrDefault(tmp1_map, 10));
|
|
@@ -13745,7 +13745,7 @@
|
|
|
13745
13745
|
// Inline function 'com.debertz.logic.client.redux.redusers.clientUIReducer.<anonymous>.<anonymous>.<anonymous>' call
|
|
13746
13746
|
var updatedUser = firstOrNull(filterByPlayerId(tmp6_safe_receiver, item.k2f()));
|
|
13747
13747
|
var tmp0_elvis_lhs = updatedUser;
|
|
13748
|
-
tmp$ret$0 = item.
|
|
13748
|
+
tmp$ret$0 = item.a2y(tmp0_elvis_lhs == null ? item.f2x_1 : tmp0_elvis_lhs);
|
|
13749
13749
|
tmp0_mapTo.a(tmp$ret$0);
|
|
13750
13750
|
}
|
|
13751
13751
|
tmp$ret$1 = tmp0_mapTo;
|
|
@@ -13755,35 +13755,35 @@
|
|
|
13755
13755
|
tmp_4 = tmp$ret$4;
|
|
13756
13756
|
}
|
|
13757
13757
|
var updatedPlayers = tmp_4;
|
|
13758
|
-
var tmp_5 = state.
|
|
13759
|
-
var tmp10_$this = state.
|
|
13758
|
+
var tmp_5 = state.p2t();
|
|
13759
|
+
var tmp10_$this = state.p2t().config;
|
|
13760
13760
|
var tmp8_elvis_lhs = tmp0__anonymous__q1qw7t.q5u_1;
|
|
13761
|
-
var tmp11_rulesSetType = tmp8_elvis_lhs == null ? state.
|
|
13761
|
+
var tmp11_rulesSetType = tmp8_elvis_lhs == null ? state.p2t().config.rulesSetType : tmp8_elvis_lhs;
|
|
13762
13762
|
var tmp7_elvis_lhs = tmp0__anonymous__q1qw7t.r5u_1;
|
|
13763
|
-
var tmp12_rules = tmp7_elvis_lhs == null ? state.
|
|
13763
|
+
var tmp12_rules = tmp7_elvis_lhs == null ? state.p2t().config.rules : tmp7_elvis_lhs;
|
|
13764
13764
|
var tmp9_elvis_lhs = tmp0__anonymous__q1qw7t.p5u_1;
|
|
13765
|
-
var tmp13_options = tmp9_elvis_lhs == null ? state.
|
|
13765
|
+
var tmp13_options = tmp9_elvis_lhs == null ? state.p2t().config.options : tmp9_elvis_lhs;
|
|
13766
13766
|
var tmp_6 = tmp10_$this.copy(tmp12_rules, tmp11_rulesSetType, tmp13_options);
|
|
13767
13767
|
var tmp14_elvis_lhs = updatedPlayers;
|
|
13768
|
-
var tmp_7 = tmp_5.copy(VOID, VOID, VOID, tmp_6, tmp14_elvis_lhs == null ? state.
|
|
13768
|
+
var tmp_7 = tmp_5.copy(VOID, VOID, VOID, tmp_6, tmp14_elvis_lhs == null ? state.p2t().players : tmp14_elvis_lhs);
|
|
13769
13769
|
var tmp_8 = get_clientState_0(state);
|
|
13770
13770
|
var tmp15_elvis_lhs = tmp0__anonymous__q1qw7t.o5u_1;
|
|
13771
|
-
tmp = state.
|
|
13771
|
+
tmp = state.v4b(tmp_7, tmp_8.z60(tmp15_elvis_lhs == null ? get_clientState_0(state).r4z_1 : tmp15_elvis_lhs));
|
|
13772
13772
|
} else {
|
|
13773
13773
|
if (tmp0_subject instanceof CardPutAction) {
|
|
13774
|
-
tmp = state.
|
|
13774
|
+
tmp = state.v4b(VOID, get_clientState_0(state).z60(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0__anonymous__q1qw7t.t5u_1));
|
|
13775
13775
|
} else {
|
|
13776
13776
|
if (tmp0_subject instanceof InfoMessageAction) {
|
|
13777
|
-
tmp = state.
|
|
13777
|
+
tmp = state.v4b(VOID, get_clientState_0(state).z60(VOID, VOID, tmp0__anonymous__q1qw7t.w5u_1));
|
|
13778
13778
|
} else {
|
|
13779
13779
|
if (tmp0_subject instanceof UpdateMessagesCountAction) {
|
|
13780
|
-
tmp = state.
|
|
13780
|
+
tmp = state.v4b(updateVoiceCount_0(state.p2t(), this.u65_1));
|
|
13781
13781
|
} else {
|
|
13782
13782
|
if (tmp0_subject instanceof ResetErrorAction) {
|
|
13783
|
-
tmp = state.
|
|
13783
|
+
tmp = state.v4b(VOID, get_clientState_0(state).z60(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, null), GameLifecycleState_CREATING_getInstance(), null);
|
|
13784
13784
|
} else {
|
|
13785
13785
|
if (tmp0_subject instanceof ErrorAction) {
|
|
13786
|
-
tmp = state.
|
|
13786
|
+
tmp = state.v4b(VOID, this.v65_1.g65(get_clientState_0(state)).z60(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0__anonymous__q1qw7t.h50_1), GameLifecycleState_FINISHED_getInstance(), tmp0__anonymous__q1qw7t.h50_1.reason);
|
|
13787
13787
|
} else {
|
|
13788
13788
|
if (tmp0_subject instanceof DisabledCardAction) {
|
|
13789
13789
|
tmp = state;
|
|
@@ -13848,7 +13848,7 @@
|
|
|
13848
13848
|
tmp$ret$13 = tmp4_filterTo;
|
|
13849
13849
|
tmp$ret$14 = tmp$ret$13;
|
|
13850
13850
|
var expectants = tmp$ret$14;
|
|
13851
|
-
tmp = state.
|
|
13851
|
+
tmp = state.v4b(VOID, clientState.z60(VOID, VOID, VOID, plus_0(expectants, expectant.t4y(VOID, VOID, VOID, true))));
|
|
13852
13852
|
} else {
|
|
13853
13853
|
if (equals(tmp0_subject, ThrowBribeAction_getInstance())) {
|
|
13854
13854
|
var clientState_0 = get_clientState_0(state);
|
|
@@ -13910,7 +13910,7 @@
|
|
|
13910
13910
|
tmp$ret$23 = tmp10_filterTo;
|
|
13911
13911
|
tmp$ret$24 = tmp$ret$23;
|
|
13912
13912
|
var expectants_0 = tmp$ret$24;
|
|
13913
|
-
tmp = state.
|
|
13913
|
+
tmp = state.v4b(VOID, clientState_0.z60(VOID, VOID, VOID, plus_0(expectants_0, expectant_0.t4y(VOID, VOID, VOID, true))));
|
|
13914
13914
|
} else {
|
|
13915
13915
|
noWhenBranchMatchedException();
|
|
13916
13916
|
}
|
|
@@ -13935,7 +13935,7 @@
|
|
|
13935
13935
|
tmp$ret$25 = tmp;
|
|
13936
13936
|
return tmp$ret$25;
|
|
13937
13937
|
};
|
|
13938
|
-
protoOf(_no_name_provided__qut3iv_62).
|
|
13938
|
+
protoOf(_no_name_provided__qut3iv_62).p2m = function (state, action) {
|
|
13939
13939
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
13940
13940
|
};
|
|
13941
13941
|
function messageReducer() {
|
|
@@ -13957,26 +13957,26 @@
|
|
|
13957
13957
|
return tmp$ret$0;
|
|
13958
13958
|
}
|
|
13959
13959
|
function updateVoiceCount(table, action) {
|
|
13960
|
-
var message = action.
|
|
13960
|
+
var message = action.u4d_1;
|
|
13961
13961
|
var tmp;
|
|
13962
13962
|
if (isInterface(message, UserMessage)) {
|
|
13963
|
-
tmp = message.
|
|
13963
|
+
tmp = message.y2u();
|
|
13964
13964
|
} else {
|
|
13965
13965
|
tmp = false;
|
|
13966
13966
|
}
|
|
13967
13967
|
if (tmp) {
|
|
13968
|
-
var player = getPlayer(table.players, message.
|
|
13969
|
-
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.
|
|
13968
|
+
var player = getPlayer(table.players, message.x2u().v2f_1);
|
|
13969
|
+
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.a2y(VOID, VOID, VOID, player.i2x_1.c30(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, player.i2x_1.u2x_1 - 1 | 0)), get_byIdPlayerPredicate()(player.k2f())));
|
|
13970
13970
|
}
|
|
13971
13971
|
return table;
|
|
13972
13972
|
}
|
|
13973
13973
|
function updateVoiceCount_0(table, playerId) {
|
|
13974
13974
|
var player = getPlayer(table.players, playerId);
|
|
13975
|
-
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.
|
|
13975
|
+
return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.a2y(VOID, VOID, VOID, player.i2x_1.c30(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, player.i2x_1.u2x_1 - 1 | 0)), get_byIdPlayerPredicate()(player.k2f())));
|
|
13976
13976
|
}
|
|
13977
13977
|
function _no_name_provided__qut3iv_63() {
|
|
13978
13978
|
}
|
|
13979
|
-
protoOf(_no_name_provided__qut3iv_63).
|
|
13979
|
+
protoOf(_no_name_provided__qut3iv_63).b2o = function (action) {
|
|
13980
13980
|
return action instanceof MessageMechanicAction;
|
|
13981
13981
|
};
|
|
13982
13982
|
protoOf(_no_name_provided__qut3iv_63).x4k = function (state, action) {
|
|
@@ -13984,16 +13984,16 @@
|
|
|
13984
13984
|
// Inline function 'com.debertz.logic.client.redux.redusers.messageReducer.<anonymous>' call
|
|
13985
13985
|
var tmp0__anonymous__q1qw7t = action instanceof MessageMechanicAction ? action : THROW_CCE();
|
|
13986
13986
|
var clientState = get_clientState_0(state);
|
|
13987
|
-
tmp$ret$0 = state.
|
|
13987
|
+
tmp$ret$0 = state.v4b(updateVoiceCount(state.p2t(), tmp0__anonymous__q1qw7t), clientState.z60(VOID, plus_0(clientState.s4z_1, tmp0__anonymous__q1qw7t.u4d_1)));
|
|
13988
13988
|
return tmp$ret$0;
|
|
13989
13989
|
};
|
|
13990
|
-
protoOf(_no_name_provided__qut3iv_63).
|
|
13990
|
+
protoOf(_no_name_provided__qut3iv_63).p2m = function (state, action) {
|
|
13991
13991
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
13992
13992
|
};
|
|
13993
13993
|
function _no_name_provided__qut3iv_64($gameLogger) {
|
|
13994
13994
|
this.x65_1 = $gameLogger;
|
|
13995
13995
|
}
|
|
13996
|
-
protoOf(_no_name_provided__qut3iv_64).
|
|
13996
|
+
protoOf(_no_name_provided__qut3iv_64).b2o = function (action) {
|
|
13997
13997
|
return action instanceof TrumpMechanicAction;
|
|
13998
13998
|
};
|
|
13999
13999
|
protoOf(_no_name_provided__qut3iv_64).x4k = function (state, action) {
|
|
@@ -14001,16 +14001,16 @@
|
|
|
14001
14001
|
// Inline function 'com.debertz.logic.client.redux.redusers.clientResetMessagesAfterSelectedTrumpReducer.<anonymous>' call
|
|
14002
14002
|
var tmp0__anonymous__q1qw7t = action instanceof TrumpMechanicAction ? action : THROW_CCE();
|
|
14003
14003
|
var clientState = get_clientState_0(state);
|
|
14004
|
-
tmp$ret$0 = state.
|
|
14004
|
+
tmp$ret$0 = state.v4b(VOID, clientState.z60(VOID, updateMessagesAsNotShown(clientState.s4z_1, this.x65_1)));
|
|
14005
14005
|
return tmp$ret$0;
|
|
14006
14006
|
};
|
|
14007
|
-
protoOf(_no_name_provided__qut3iv_64).
|
|
14007
|
+
protoOf(_no_name_provided__qut3iv_64).p2m = function (state, action) {
|
|
14008
14008
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
14009
14009
|
};
|
|
14010
14010
|
function _no_name_provided__qut3iv_65($gameLogger) {
|
|
14011
14011
|
this.y65_1 = $gameLogger;
|
|
14012
14012
|
}
|
|
14013
|
-
protoOf(_no_name_provided__qut3iv_65).
|
|
14013
|
+
protoOf(_no_name_provided__qut3iv_65).b2o = function (action) {
|
|
14014
14014
|
return action instanceof PickUpBribeMechanicAction;
|
|
14015
14015
|
};
|
|
14016
14016
|
protoOf(_no_name_provided__qut3iv_65).x4k = function (state, action) {
|
|
@@ -14018,10 +14018,10 @@
|
|
|
14018
14018
|
// Inline function 'com.debertz.logic.client.redux.redusers.clientResetMessagesAfterBribeReducer.<anonymous>' call
|
|
14019
14019
|
var tmp0__anonymous__q1qw7t = action instanceof PickUpBribeMechanicAction ? action : THROW_CCE();
|
|
14020
14020
|
var clientState = get_clientState_0(state);
|
|
14021
|
-
tmp$ret$0 = state.
|
|
14021
|
+
tmp$ret$0 = state.v4b(VOID, clientState.z60(VOID, updateMessagesAsNotShown(clientState.s4z_1, this.y65_1)));
|
|
14022
14022
|
return tmp$ret$0;
|
|
14023
14023
|
};
|
|
14024
|
-
protoOf(_no_name_provided__qut3iv_65).
|
|
14024
|
+
protoOf(_no_name_provided__qut3iv_65).p2m = function (state, action) {
|
|
14025
14025
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
14026
14026
|
};
|
|
14027
14027
|
function bufferReducer() {
|
|
@@ -14032,7 +14032,7 @@
|
|
|
14032
14032
|
}
|
|
14033
14033
|
function _no_name_provided__qut3iv_66() {
|
|
14034
14034
|
}
|
|
14035
|
-
protoOf(_no_name_provided__qut3iv_66).
|
|
14035
|
+
protoOf(_no_name_provided__qut3iv_66).b2o = function (action) {
|
|
14036
14036
|
return action instanceof BufferLifecycleAction;
|
|
14037
14037
|
};
|
|
14038
14038
|
protoOf(_no_name_provided__qut3iv_66).x4k = function (state, action) {
|
|
@@ -14044,10 +14044,10 @@
|
|
|
14044
14044
|
var tmp;
|
|
14045
14045
|
if (tmp0_subject instanceof AddToBufferAction) {
|
|
14046
14046
|
var bufferedActions = plus_0(clientState.v4z_1, tmp0__anonymous__q1qw7t.f5u_1);
|
|
14047
|
-
tmp = state.
|
|
14047
|
+
tmp = state.v4b(VOID, clientState.z60(VOID, VOID, VOID, VOID, bufferedActions));
|
|
14048
14048
|
} else {
|
|
14049
14049
|
if (tmp0_subject instanceof ReleaseBufferAction) {
|
|
14050
|
-
tmp = state.
|
|
14050
|
+
tmp = state.v4b(VOID, clientState.z60(VOID, VOID, VOID, VOID, emptyList()));
|
|
14051
14051
|
} else {
|
|
14052
14052
|
noWhenBranchMatchedException();
|
|
14053
14053
|
}
|
|
@@ -14055,7 +14055,7 @@
|
|
|
14055
14055
|
tmp$ret$0 = tmp;
|
|
14056
14056
|
return tmp$ret$0;
|
|
14057
14057
|
};
|
|
14058
|
-
protoOf(_no_name_provided__qut3iv_66).
|
|
14058
|
+
protoOf(_no_name_provided__qut3iv_66).p2m = function (state, action) {
|
|
14059
14059
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
14060
14060
|
};
|
|
14061
14061
|
function expectantLifecycleReducer() {
|
|
@@ -14066,7 +14066,7 @@
|
|
|
14066
14066
|
}
|
|
14067
14067
|
function _no_name_provided__qut3iv_67() {
|
|
14068
14068
|
}
|
|
14069
|
-
protoOf(_no_name_provided__qut3iv_67).
|
|
14069
|
+
protoOf(_no_name_provided__qut3iv_67).b2o = function (action) {
|
|
14070
14070
|
return action instanceof ExpectantLifecycleAction;
|
|
14071
14071
|
};
|
|
14072
14072
|
protoOf(_no_name_provided__qut3iv_67).x4k = function (state, action) {
|
|
@@ -14079,7 +14079,7 @@
|
|
|
14079
14079
|
if (tmp0_subject instanceof ExpectantCreatedClientAction) {
|
|
14080
14080
|
var expectants = plus_0(clientState.u4z_1, tmp0__anonymous__q1qw7t.a5v_1);
|
|
14081
14081
|
var bufferedActions = plus_0(clientState.v4z_1, tmp0__anonymous__q1qw7t.a5v_1.o4y_1);
|
|
14082
|
-
tmp = state.
|
|
14082
|
+
tmp = state.v4b(VOID, clientState.z60(VOID, VOID, VOID, expectants, bufferedActions));
|
|
14083
14083
|
} else {
|
|
14084
14084
|
if (tmp0_subject instanceof ExpectantTimerFinishedClientAction) {
|
|
14085
14085
|
var tmp$ret$1;
|
|
@@ -14123,7 +14123,7 @@
|
|
|
14123
14123
|
tmp$ret$3 = tmp1_filterTo;
|
|
14124
14124
|
tmp$ret$4 = tmp$ret$3;
|
|
14125
14125
|
var expectants_0 = plus_0(tmp$ret$4, expectant.t4y(VOID, VOID, true));
|
|
14126
|
-
tmp = state.
|
|
14126
|
+
tmp = state.v4b(VOID, clientState.z60(VOID, VOID, VOID, expectants_0));
|
|
14127
14127
|
} else {
|
|
14128
14128
|
if (tmp0_subject instanceof ExpectantStageCompletedClientAction) {
|
|
14129
14129
|
tmp = state;
|
|
@@ -14135,7 +14135,7 @@
|
|
|
14135
14135
|
tmp$ret$5 = tmp;
|
|
14136
14136
|
return tmp$ret$5;
|
|
14137
14137
|
};
|
|
14138
|
-
protoOf(_no_name_provided__qut3iv_67).
|
|
14138
|
+
protoOf(_no_name_provided__qut3iv_67).p2m = function (state, action) {
|
|
14139
14139
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
14140
14140
|
};
|
|
14141
14141
|
function expectantActionReducer() {
|
|
@@ -14146,7 +14146,7 @@
|
|
|
14146
14146
|
}
|
|
14147
14147
|
function _no_name_provided__qut3iv_68() {
|
|
14148
14148
|
}
|
|
14149
|
-
protoOf(_no_name_provided__qut3iv_68).
|
|
14149
|
+
protoOf(_no_name_provided__qut3iv_68).b2o = function (action) {
|
|
14150
14150
|
return isInterface(action, ExpectantAction);
|
|
14151
14151
|
};
|
|
14152
14152
|
protoOf(_no_name_provided__qut3iv_68).x4k = function (state, action) {
|
|
@@ -14173,10 +14173,10 @@
|
|
|
14173
14173
|
tmp$ret$1 = tmp0_filterTo;
|
|
14174
14174
|
tmp$ret$2 = tmp$ret$1;
|
|
14175
14175
|
var expectants = tmp$ret$2;
|
|
14176
|
-
tmp$ret$3 = state.
|
|
14176
|
+
tmp$ret$3 = state.v4b(VOID, clientState.z60(VOID, VOID, VOID, expectants));
|
|
14177
14177
|
return tmp$ret$3;
|
|
14178
14178
|
};
|
|
14179
|
-
protoOf(_no_name_provided__qut3iv_68).
|
|
14179
|
+
protoOf(_no_name_provided__qut3iv_68).p2m = function (state, action) {
|
|
14180
14180
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
14181
14181
|
};
|
|
14182
14182
|
function clientResetPlayerTurnAfterExpectantCreatedReducer(playerTurnInteractor, playerTurnMechanicReducer) {
|
|
@@ -14198,7 +14198,7 @@
|
|
|
14198
14198
|
tmp = getGameCreator(table.players);
|
|
14199
14199
|
} else {
|
|
14200
14200
|
if (isInterface(tmp0_subject, PlayerTurnIdAnswerAction)) {
|
|
14201
|
-
tmp = getPlayer(table.players, action.
|
|
14201
|
+
tmp = getPlayer(table.players, action.p4d());
|
|
14202
14202
|
} else {
|
|
14203
14203
|
throw IllegalStateException_init_$Create$("clientResetPlayerTurnAfterAnswerReducer: Can't support this action " + action);
|
|
14204
14204
|
}
|
|
@@ -14209,7 +14209,7 @@
|
|
|
14209
14209
|
this.z65_1 = $playerTurnInteractor;
|
|
14210
14210
|
this.a66_1 = $playerTurnMechanicReducer;
|
|
14211
14211
|
}
|
|
14212
|
-
protoOf(_no_name_provided__qut3iv_69).
|
|
14212
|
+
protoOf(_no_name_provided__qut3iv_69).b2o = function (action) {
|
|
14213
14213
|
return action instanceof ExpectantCreatedClientAction;
|
|
14214
14214
|
};
|
|
14215
14215
|
protoOf(_no_name_provided__qut3iv_69).x4k = function (state, action) {
|
|
@@ -14220,7 +14220,7 @@
|
|
|
14220
14220
|
var expectantAction = tmp0__anonymous__q1qw7t.a5v_1.o4y_1;
|
|
14221
14221
|
var tmp;
|
|
14222
14222
|
if (isInterface(expectantAction, PlayerTurnAnswerAction)) {
|
|
14223
|
-
tmp = getPlayerTurn(expectantAction, state.
|
|
14223
|
+
tmp = getPlayerTurn(expectantAction, state.p2t());
|
|
14224
14224
|
} else {
|
|
14225
14225
|
tmp = null;
|
|
14226
14226
|
}
|
|
@@ -14233,7 +14233,7 @@
|
|
|
14233
14233
|
tmp_0 = tmp0_elvis_lhs;
|
|
14234
14234
|
}
|
|
14235
14235
|
var player = tmp_0;
|
|
14236
|
-
var tmp1_elvis_lhs = this.z65_1.
|
|
14236
|
+
var tmp1_elvis_lhs = this.z65_1.p49(player, tmp0__anonymous__q1qw7t);
|
|
14237
14237
|
var tmp_1;
|
|
14238
14238
|
if (tmp1_elvis_lhs == null) {
|
|
14239
14239
|
tmp$ret$0 = state;
|
|
@@ -14242,11 +14242,11 @@
|
|
|
14242
14242
|
tmp_1 = tmp1_elvis_lhs;
|
|
14243
14243
|
}
|
|
14244
14244
|
var turnModel = tmp_1;
|
|
14245
|
-
tmp$ret$0 = state.
|
|
14245
|
+
tmp$ret$0 = state.v4b(this.a66_1.e4n(state.p2t(), turnModel));
|
|
14246
14246
|
}
|
|
14247
14247
|
return tmp$ret$0;
|
|
14248
14248
|
};
|
|
14249
|
-
protoOf(_no_name_provided__qut3iv_69).
|
|
14249
|
+
protoOf(_no_name_provided__qut3iv_69).p2m = function (state, action) {
|
|
14250
14250
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
14251
14251
|
};
|
|
14252
14252
|
function _no_name_provided__qut3iv_70($clientReduxConfig, $playerTurnInteractor, $playerTurnMechanicReducer) {
|
|
@@ -14254,7 +14254,7 @@
|
|
|
14254
14254
|
this.c66_1 = $playerTurnInteractor;
|
|
14255
14255
|
this.d66_1 = $playerTurnMechanicReducer;
|
|
14256
14256
|
}
|
|
14257
|
-
protoOf(_no_name_provided__qut3iv_70).
|
|
14257
|
+
protoOf(_no_name_provided__qut3iv_70).b2o = function (action) {
|
|
14258
14258
|
return isInterface(action, PlayerTurnAnswerAction);
|
|
14259
14259
|
};
|
|
14260
14260
|
protoOf(_no_name_provided__qut3iv_70).x4k = function (state, action) {
|
|
@@ -14266,24 +14266,24 @@
|
|
|
14266
14266
|
var tmp;
|
|
14267
14267
|
if (tmp0_subject instanceof CombinationChoiceMechanicAction) {
|
|
14268
14268
|
var tmp_0;
|
|
14269
|
-
if (this.b66_1.q4v_1 ? !tmp0__anonymous__q1qw7t.
|
|
14269
|
+
if (this.b66_1.q4v_1 ? !tmp0__anonymous__q1qw7t.g2o() : false) {
|
|
14270
14270
|
tmp_0 = null;
|
|
14271
14271
|
} else {
|
|
14272
|
-
tmp_0 = getPlayerTurn(tmp0__anonymous__q1qw7t, state.
|
|
14272
|
+
tmp_0 = getPlayerTurn(tmp0__anonymous__q1qw7t, state.p2t());
|
|
14273
14273
|
}
|
|
14274
14274
|
tmp = tmp_0;
|
|
14275
14275
|
} else {
|
|
14276
14276
|
if (tmp0_subject instanceof TeamsDataMechanicAction) {
|
|
14277
14277
|
var tmp_1;
|
|
14278
|
-
if (this.b66_1.q4v_1 ? !tmp0__anonymous__q1qw7t.
|
|
14278
|
+
if (this.b66_1.q4v_1 ? !tmp0__anonymous__q1qw7t.g2o() : false) {
|
|
14279
14279
|
tmp_1 = null;
|
|
14280
14280
|
} else {
|
|
14281
|
-
tmp_1 = getPlayerTurn(tmp0__anonymous__q1qw7t, state.
|
|
14281
|
+
tmp_1 = getPlayerTurn(tmp0__anonymous__q1qw7t, state.p2t());
|
|
14282
14282
|
}
|
|
14283
14283
|
tmp = tmp_1;
|
|
14284
14284
|
} else {
|
|
14285
14285
|
if (isInterface(tmp0_subject, PlayerTurnIdAnswerAction)) {
|
|
14286
|
-
tmp = getPlayerTurn(tmp0__anonymous__q1qw7t, state.
|
|
14286
|
+
tmp = getPlayerTurn(tmp0__anonymous__q1qw7t, state.p2t());
|
|
14287
14287
|
} else {
|
|
14288
14288
|
throw IllegalStateException_init_$Create$("clientResetPlayerTurnAfterAnswerReducer: Can't support this action " + tmp0__anonymous__q1qw7t);
|
|
14289
14289
|
}
|
|
@@ -14298,7 +14298,7 @@
|
|
|
14298
14298
|
tmp_2 = tmp1_elvis_lhs;
|
|
14299
14299
|
}
|
|
14300
14300
|
var player = tmp_2;
|
|
14301
|
-
var tmp2_elvis_lhs = this.c66_1.
|
|
14301
|
+
var tmp2_elvis_lhs = this.c66_1.p49(player, tmp0__anonymous__q1qw7t);
|
|
14302
14302
|
var tmp_3;
|
|
14303
14303
|
if (tmp2_elvis_lhs == null) {
|
|
14304
14304
|
tmp$ret$0 = state;
|
|
@@ -14307,11 +14307,11 @@
|
|
|
14307
14307
|
tmp_3 = tmp2_elvis_lhs;
|
|
14308
14308
|
}
|
|
14309
14309
|
var turnModel = tmp_3;
|
|
14310
|
-
tmp$ret$0 = state.
|
|
14310
|
+
tmp$ret$0 = state.v4b(this.d66_1.e4n(state.p2t(), turnModel));
|
|
14311
14311
|
}
|
|
14312
14312
|
return tmp$ret$0;
|
|
14313
14313
|
};
|
|
14314
|
-
protoOf(_no_name_provided__qut3iv_70).
|
|
14314
|
+
protoOf(_no_name_provided__qut3iv_70).p2m = function (state, action) {
|
|
14315
14315
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
14316
14316
|
};
|
|
14317
14317
|
function clientErrorStateWhenTerminationActionReducer(clientLifecycleReducer) {
|
|
@@ -14323,7 +14323,7 @@
|
|
|
14323
14323
|
function _no_name_provided__qut3iv_71($clientLifecycleReducer) {
|
|
14324
14324
|
this.e66_1 = $clientLifecycleReducer;
|
|
14325
14325
|
}
|
|
14326
|
-
protoOf(_no_name_provided__qut3iv_71).
|
|
14326
|
+
protoOf(_no_name_provided__qut3iv_71).b2o = function (action) {
|
|
14327
14327
|
return isInterface(action, TerminatedAction);
|
|
14328
14328
|
};
|
|
14329
14329
|
protoOf(_no_name_provided__qut3iv_71).x4k = function (state, action) {
|
|
@@ -14336,16 +14336,16 @@
|
|
|
14336
14336
|
tmp = new ErrorState(VOID, VOID, ProcessingReason_getInstance());
|
|
14337
14337
|
} else {
|
|
14338
14338
|
if (tmp0_subject instanceof FinishGameMechanicAction) {
|
|
14339
|
-
tmp = mapToErrorState(tmp0__anonymous__q1qw7t.reason, state.
|
|
14339
|
+
tmp = mapToErrorState(tmp0__anonymous__q1qw7t.reason, state.p2t());
|
|
14340
14340
|
} else {
|
|
14341
14341
|
tmp = null;
|
|
14342
14342
|
}
|
|
14343
14343
|
}
|
|
14344
14344
|
var errorState = tmp;
|
|
14345
|
-
tmp$ret$0 = state.
|
|
14345
|
+
tmp$ret$0 = state.v4b(VOID, this.e66_1.g65(get_clientState_0(state)).z60(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, errorState));
|
|
14346
14346
|
return tmp$ret$0;
|
|
14347
14347
|
};
|
|
14348
|
-
protoOf(_no_name_provided__qut3iv_71).
|
|
14348
|
+
protoOf(_no_name_provided__qut3iv_71).p2m = function (state, action) {
|
|
14349
14349
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
14350
14350
|
};
|
|
14351
14351
|
function PlayerHandSelector(clientReduxConfig, gameLogicProvider, putCardValidatorInteractor) {
|
|
@@ -14528,10 +14528,10 @@
|
|
|
14528
14528
|
protoOf(ErrorState).y8 = function () {
|
|
14529
14529
|
return this.message;
|
|
14530
14530
|
};
|
|
14531
|
-
protoOf(ErrorState).
|
|
14531
|
+
protoOf(ErrorState).x2u = function () {
|
|
14532
14532
|
return this.userInfo;
|
|
14533
14533
|
};
|
|
14534
|
-
protoOf(ErrorState).
|
|
14534
|
+
protoOf(ErrorState).b4d = function () {
|
|
14535
14535
|
return this.reason;
|
|
14536
14536
|
};
|
|
14537
14537
|
protoOf(ErrorState).t3 = function () {
|
|
@@ -14640,7 +14640,7 @@
|
|
|
14640
14640
|
function get_clientState_0(_this__u8e3s4) {
|
|
14641
14641
|
var tmp$ret$2;
|
|
14642
14642
|
// Inline function 'kotlin.requireNotNull' call
|
|
14643
|
-
var tmp0_requireNotNull = _this__u8e3s4.
|
|
14643
|
+
var tmp0_requireNotNull = _this__u8e3s4.m2s_1;
|
|
14644
14644
|
// Inline function 'kotlin.contracts.contract' call
|
|
14645
14645
|
var tmp$ret$1;
|
|
14646
14646
|
$l$block: {
|
|
@@ -14661,7 +14661,7 @@
|
|
|
14661
14661
|
return get_clientState(tmp$ret$2);
|
|
14662
14662
|
}
|
|
14663
14663
|
function get_clientStateOrNull_0(_this__u8e3s4) {
|
|
14664
|
-
return get_clientStateOrNull(_this__u8e3s4.
|
|
14664
|
+
return get_clientStateOrNull(_this__u8e3s4.m2s_1);
|
|
14665
14665
|
}
|
|
14666
14666
|
function get_isGameFinished(_this__u8e3s4) {
|
|
14667
14667
|
var tmp;
|
|
@@ -14670,7 +14670,7 @@
|
|
|
14670
14670
|
var tmp0_isNotEmpty = filterByGameWinner(_this__u8e3s4.players);
|
|
14671
14671
|
tmp$ret$0 = !tmp0_isNotEmpty.l();
|
|
14672
14672
|
if (tmp$ret$0) {
|
|
14673
|
-
tmp = get_currentPlayer(_this__u8e3s4).
|
|
14673
|
+
tmp = get_currentPlayer(_this__u8e3s4).g2x_1.r2g();
|
|
14674
14674
|
} else {
|
|
14675
14675
|
tmp = false;
|
|
14676
14676
|
}
|
|
@@ -14729,13 +14729,13 @@
|
|
|
14729
14729
|
function _no_name_provided__qut3iv_72($item) {
|
|
14730
14730
|
this.q66_1 = $item;
|
|
14731
14731
|
}
|
|
14732
|
-
protoOf(_no_name_provided__qut3iv_72).
|
|
14732
|
+
protoOf(_no_name_provided__qut3iv_72).b2o = function (action) {
|
|
14733
14733
|
return isInterface(action, Action);
|
|
14734
14734
|
};
|
|
14735
14735
|
protoOf(_no_name_provided__qut3iv_72).x4k = function (state, action) {
|
|
14736
14736
|
return this.q66_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
14737
14737
|
};
|
|
14738
|
-
protoOf(_no_name_provided__qut3iv_72).
|
|
14738
|
+
protoOf(_no_name_provided__qut3iv_72).p2m = function (state, action) {
|
|
14739
14739
|
return this.x4k(state instanceof AppState ? state : THROW_CCE(), action);
|
|
14740
14740
|
};
|
|
14741
14741
|
function GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$lambda($gameClient) {
|
|
@@ -14807,7 +14807,7 @@
|
|
|
14807
14807
|
return this.s66_1;
|
|
14808
14808
|
};
|
|
14809
14809
|
protoOf(GameClientEngineControllerImpl).setEnableLogger = function (enabled) {
|
|
14810
|
-
Logger_getInstance().
|
|
14810
|
+
Logger_getInstance().j2q_1 = enabled;
|
|
14811
14811
|
};
|
|
14812
14812
|
protoOf(GameClientEngineControllerImpl).createOnlineGameEngine = function (currentPlayerId) {
|
|
14813
14813
|
return this.createOnlineGameEngineWithLogic(currentPlayerId);
|
|
@@ -14945,7 +14945,7 @@
|
|
|
14945
14945
|
protoOf(ExpectantTimerFinishedClientAction).z2i = get_actionTag;
|
|
14946
14946
|
protoOf(ExpectantTimerTag).notValidateWhenFinished = notValidateWhenFinished;
|
|
14947
14947
|
protoOf(ResetMessageTimerTag).notValidateWhenFinished = notValidateWhenFinished;
|
|
14948
|
-
protoOf(ResetMessageTimerTag).
|
|
14948
|
+
protoOf(ResetMessageTimerTag).e4b = notValidateTimerReset;
|
|
14949
14949
|
protoOf(GameClientEngineControllerImpl).createOnlineGameEngineWithLogic = createOnlineGameEngineWithLogic;
|
|
14950
14950
|
//endregion
|
|
14951
14951
|
//region block: init
|