game_client_logic_deb 1.8.351 → 1.8.354
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/Logic_Debertz-core.js +1 -1
- package/Logic_Debertz-engine.js +2041 -2012
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +4 -4
- package/Logic_Debertz-game_client.js +618 -599
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +10 -10
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +8 -8
- package/kotlinx-coroutines-core.js.map +1 -1
- package/package.json +1 -1
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
initMetadataForClass(expectantLifecycleReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
726
726
|
initMetadataForClass(expectantActionReducer$$inlined$reducerForActionType$1, VOID, VOID, VOID, [Reducer]);
|
|
727
727
|
function reducers(currentPlayerId) {
|
|
728
|
-
return listOf([this.
|
|
728
|
+
return listOf([this.vbc(currentPlayerId), this.wbc(currentPlayerId), this.xbc(currentPlayerId), this.ybc(currentPlayerId)]);
|
|
729
729
|
}
|
|
730
730
|
function get_middlewares() {
|
|
731
731
|
return listOf_0(transitionsFinishedMiddleware());
|
|
@@ -767,7 +767,7 @@
|
|
|
767
767
|
logicConfig = logicConfig === VOID ? new EngineLogicConfig(VOID, false) : logicConfig;
|
|
768
768
|
dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
|
|
769
769
|
coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
|
|
770
|
-
return $super === VOID ? this.
|
|
770
|
+
return $super === VOID ? this.abe(currentPlayerId, reducers, middlewares, gameClientConfig, engineBotConfig, logicConfig, dealerConfig, coreConfig) : $super.abe.call(this, currentPlayerId, reducers, middlewares, gameClientConfig, engineBotConfig, logicConfig, dealerConfig, coreConfig);
|
|
771
771
|
}
|
|
772
772
|
initMetadataForInterface(GameClientEngineController, 'GameClientEngineController');
|
|
773
773
|
initMetadataForClass(GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1, VOID, VOID, VOID, [Reducer]);
|
|
@@ -4370,20 +4370,26 @@
|
|
|
4370
4370
|
// Inline function 'org.kodein.type.generic' call
|
|
4371
4371
|
var tmp_12 = typeToken(createKType(getKClass(PlayerHandSelector), arrayOf([]), false));
|
|
4372
4372
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4373
|
-
var
|
|
4374
|
-
var tmp3_tableSceneContract = new TableSceneContractImpl(tmp_7, tmp_10, tmp$ret$11);
|
|
4373
|
+
var tmp_13 = tmp_11.b63(tmp$ret$10, null);
|
|
4375
4374
|
// Inline function 'org.kodein.di.instance' call
|
|
4376
|
-
var
|
|
4375
|
+
var tmp_14 = $this$provider.c63();
|
|
4377
4376
|
// Inline function 'org.kodein.type.generic' call
|
|
4378
|
-
var
|
|
4379
|
-
var tmp$ret$12 = isInterface(
|
|
4380
|
-
var
|
|
4377
|
+
var tmp_15 = typeToken(createKType(getKClass(EarnPointsSceneContract), arrayOf([]), false));
|
|
4378
|
+
var tmp$ret$12 = isInterface(tmp_15, TypeToken) ? tmp_15 : THROW_CCE();
|
|
4379
|
+
var tmp$ret$13 = tmp_14.b63(tmp$ret$12, null);
|
|
4380
|
+
var tmp3_tableSceneContract = new TableSceneContractImpl(tmp_7, tmp_10, tmp_13, tmp$ret$13);
|
|
4381
4381
|
// Inline function 'org.kodein.di.instance' call
|
|
4382
|
-
var
|
|
4382
|
+
var tmp_16 = $this$provider.c63();
|
|
4383
4383
|
// Inline function 'org.kodein.type.generic' call
|
|
4384
|
-
var
|
|
4385
|
-
var tmp$ret$14 = isInterface(
|
|
4386
|
-
var
|
|
4384
|
+
var tmp_17 = typeToken(createKType(getKClass(PlayersSceneContract), arrayOf([]), false));
|
|
4385
|
+
var tmp$ret$14 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4386
|
+
var tmp4_playersSceneContract = tmp_16.b63(tmp$ret$14, null);
|
|
4387
|
+
// Inline function 'org.kodein.di.instance' call
|
|
4388
|
+
var tmp_18 = $this$provider.c63();
|
|
4389
|
+
// Inline function 'org.kodein.type.generic' call
|
|
4390
|
+
var tmp_19 = typeToken(createKType(getKClass(SceneActionsContract), arrayOf([]), false));
|
|
4391
|
+
var tmp$ret$16 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
|
|
4392
|
+
var tmp5_sceneActionsContract = tmp_18.b63(tmp$ret$16, null);
|
|
4387
4393
|
return new TradeSceneImpl(tmp0_gameClient, tmp1_expectantContract, tmp2_tradeSceneDelegate, tmp5_sceneActionsContract, tmp3_tableSceneContract, tmp4_playersSceneContract);
|
|
4388
4394
|
}
|
|
4389
4395
|
function clientScenesDIModule$lambda$lambda_9($this$provider) {
|
|
@@ -4423,20 +4429,26 @@
|
|
|
4423
4429
|
// Inline function 'org.kodein.type.generic' call
|
|
4424
4430
|
var tmp_12 = typeToken(createKType(getKClass(PlayerHandSelector), arrayOf([]), false));
|
|
4425
4431
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4426
|
-
var
|
|
4427
|
-
var tmp3_tableSceneContract = new TableSceneContractImpl(tmp_7, tmp_10, tmp$ret$11);
|
|
4432
|
+
var tmp_13 = tmp_11.b63(tmp$ret$10, null);
|
|
4428
4433
|
// Inline function 'org.kodein.di.instance' call
|
|
4429
|
-
var
|
|
4434
|
+
var tmp_14 = $this$provider.c63();
|
|
4430
4435
|
// Inline function 'org.kodein.type.generic' call
|
|
4431
|
-
var
|
|
4432
|
-
var tmp$ret$12 = isInterface(
|
|
4433
|
-
var
|
|
4436
|
+
var tmp_15 = typeToken(createKType(getKClass(EarnPointsSceneContract), arrayOf([]), false));
|
|
4437
|
+
var tmp$ret$12 = isInterface(tmp_15, TypeToken) ? tmp_15 : THROW_CCE();
|
|
4438
|
+
var tmp$ret$13 = tmp_14.b63(tmp$ret$12, null);
|
|
4439
|
+
var tmp3_tableSceneContract = new TableSceneContractImpl(tmp_7, tmp_10, tmp_13, tmp$ret$13);
|
|
4434
4440
|
// Inline function 'org.kodein.di.instance' call
|
|
4435
|
-
var
|
|
4441
|
+
var tmp_16 = $this$provider.c63();
|
|
4436
4442
|
// Inline function 'org.kodein.type.generic' call
|
|
4437
|
-
var
|
|
4438
|
-
var tmp$ret$14 = isInterface(
|
|
4439
|
-
var
|
|
4443
|
+
var tmp_17 = typeToken(createKType(getKClass(PlayersSceneContract), arrayOf([]), false));
|
|
4444
|
+
var tmp$ret$14 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4445
|
+
var tmp4_playersSceneContract = tmp_16.b63(tmp$ret$14, null);
|
|
4446
|
+
// Inline function 'org.kodein.di.instance' call
|
|
4447
|
+
var tmp_18 = $this$provider.c63();
|
|
4448
|
+
// Inline function 'org.kodein.type.generic' call
|
|
4449
|
+
var tmp_19 = typeToken(createKType(getKClass(SceneActionsContract), arrayOf([]), false));
|
|
4450
|
+
var tmp$ret$16 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
|
|
4451
|
+
var tmp5_sceneActionsContract = tmp_18.b63(tmp$ret$16, null);
|
|
4440
4452
|
return new EarnPointsSceneImpl(tmp0_gameClient, tmp5_sceneActionsContract, tmp4_playersSceneContract, tmp1_expectantContract, tmp2_earnPointsSceneContract, tmp3_tableSceneContract);
|
|
4441
4453
|
}
|
|
4442
4454
|
function clientScenesDIModule$lambda$lambda_10($this$provider) {
|
|
@@ -4516,32 +4528,38 @@
|
|
|
4516
4528
|
// Inline function 'org.kodein.type.generic' call
|
|
4517
4529
|
var tmp_12 = typeToken(createKType(getKClass(PlayerHandSelector), arrayOf([]), false));
|
|
4518
4530
|
var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
4519
|
-
var
|
|
4520
|
-
var tmp3_tableSceneContract = new TableSceneContractImpl(tmp_7, tmp_10, tmp$ret$11);
|
|
4531
|
+
var tmp_13 = tmp_11.b63(tmp$ret$10, null);
|
|
4521
4532
|
// Inline function 'org.kodein.di.instance' call
|
|
4522
|
-
var
|
|
4533
|
+
var tmp_14 = $this$provider.c63();
|
|
4523
4534
|
// Inline function 'org.kodein.type.generic' call
|
|
4524
|
-
var
|
|
4525
|
-
var tmp$ret$12 = isInterface(
|
|
4526
|
-
var
|
|
4535
|
+
var tmp_15 = typeToken(createKType(getKClass(EarnPointsSceneContract), arrayOf([]), false));
|
|
4536
|
+
var tmp$ret$12 = isInterface(tmp_15, TypeToken) ? tmp_15 : THROW_CCE();
|
|
4537
|
+
var tmp$ret$13 = tmp_14.b63(tmp$ret$12, null);
|
|
4538
|
+
var tmp3_tableSceneContract = new TableSceneContractImpl(tmp_7, tmp_10, tmp_13, tmp$ret$13);
|
|
4527
4539
|
// Inline function 'org.kodein.di.instance' call
|
|
4528
|
-
var
|
|
4540
|
+
var tmp_16 = $this$provider.c63();
|
|
4529
4541
|
// Inline function 'org.kodein.type.generic' call
|
|
4530
|
-
var
|
|
4531
|
-
var tmp$ret$14 = isInterface(
|
|
4532
|
-
var
|
|
4542
|
+
var tmp_17 = typeToken(createKType(getKClass(TradeSceneContract), arrayOf([]), false));
|
|
4543
|
+
var tmp$ret$14 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
|
|
4544
|
+
var tmp4_tradeSceneContract = tmp_16.b63(tmp$ret$14, null);
|
|
4533
4545
|
// Inline function 'org.kodein.di.instance' call
|
|
4534
|
-
var
|
|
4546
|
+
var tmp_18 = $this$provider.c63();
|
|
4535
4547
|
// Inline function 'org.kodein.type.generic' call
|
|
4536
|
-
var
|
|
4537
|
-
var tmp$ret$16 = isInterface(
|
|
4538
|
-
var
|
|
4548
|
+
var tmp_19 = typeToken(createKType(getKClass(SceneActionsContract), arrayOf([]), false));
|
|
4549
|
+
var tmp$ret$16 = isInterface(tmp_19, TypeToken) ? tmp_19 : THROW_CCE();
|
|
4550
|
+
var tmp5_sceneActionsContract = tmp_18.b63(tmp$ret$16, null);
|
|
4539
4551
|
// Inline function 'org.kodein.di.instance' call
|
|
4540
|
-
var
|
|
4552
|
+
var tmp_20 = $this$provider.c63();
|
|
4541
4553
|
// Inline function 'org.kodein.type.generic' call
|
|
4542
|
-
var
|
|
4543
|
-
var tmp$ret$18 = isInterface(
|
|
4544
|
-
var
|
|
4554
|
+
var tmp_21 = typeToken(createKType(getKClass(ChoosePartnerScene), arrayOf([]), false));
|
|
4555
|
+
var tmp$ret$18 = isInterface(tmp_21, TypeToken) ? tmp_21 : THROW_CCE();
|
|
4556
|
+
var tmp6_choosePartnerSceneContract = tmp_20.b63(tmp$ret$18, null);
|
|
4557
|
+
// Inline function 'org.kodein.di.instance' call
|
|
4558
|
+
var tmp_22 = $this$provider.c63();
|
|
4559
|
+
// Inline function 'org.kodein.type.generic' call
|
|
4560
|
+
var tmp_23 = typeToken(createKType(getKClass(CalcPointsScene), arrayOf([]), false));
|
|
4561
|
+
var tmp$ret$20 = isInterface(tmp_23, TypeToken) ? tmp_23 : THROW_CCE();
|
|
4562
|
+
var tmp7_pointsSceneContract = tmp_22.b63(tmp$ret$20, null);
|
|
4545
4563
|
return new TableSceneImpl(tmp0_gameClient, tmp2_expectantContract, tmp1_controlsContract, tmp3_tableSceneContract, tmp5_sceneActionsContract, tmp7_pointsSceneContract, tmp6_choosePartnerSceneContract, tmp4_tradeSceneContract);
|
|
4546
4564
|
}
|
|
4547
4565
|
function clientScenesDIModule$lambda$lambda_12($this$provider) {
|
|
@@ -11072,36 +11090,37 @@
|
|
|
11072
11090
|
function Companion_getInstance_3() {
|
|
11073
11091
|
return Companion_instance_12;
|
|
11074
11092
|
}
|
|
11075
|
-
function TableSceneContractImpl(gameClient, progressContract, playerHandSelector) {
|
|
11093
|
+
function TableSceneContractImpl(gameClient, progressContract, playerHandSelector, earnPointsSceneContract) {
|
|
11076
11094
|
this.lb3_1 = gameClient;
|
|
11077
11095
|
this.mb3_1 = progressContract;
|
|
11078
11096
|
this.nb3_1 = playerHandSelector;
|
|
11097
|
+
this.ob3_1 = earnPointsSceneContract;
|
|
11079
11098
|
}
|
|
11080
11099
|
protoOf(TableSceneContractImpl).qar = function () {
|
|
11081
11100
|
return this.lb3_1;
|
|
11082
11101
|
};
|
|
11083
11102
|
function TradeSceneContractImpl(gameClient, messageFactory, playerTurnTagProvider) {
|
|
11084
|
-
this.
|
|
11085
|
-
this.
|
|
11086
|
-
this.
|
|
11103
|
+
this.pb3_1 = gameClient;
|
|
11104
|
+
this.qb3_1 = messageFactory;
|
|
11105
|
+
this.rb3_1 = playerTurnTagProvider;
|
|
11087
11106
|
}
|
|
11088
11107
|
protoOf(TradeSceneContractImpl).qar = function () {
|
|
11089
|
-
return this.
|
|
11108
|
+
return this.pb3_1;
|
|
11090
11109
|
};
|
|
11091
11110
|
function BufferLifecycleAction() {
|
|
11092
11111
|
}
|
|
11093
11112
|
function AddToBufferAction(bufferedAction, reason) {
|
|
11094
11113
|
reason = reason === VOID ? null : reason;
|
|
11095
11114
|
BufferLifecycleAction.call(this);
|
|
11096
|
-
this.
|
|
11097
|
-
this.
|
|
11115
|
+
this.sb3_1 = bufferedAction;
|
|
11116
|
+
this.tb3_1 = reason;
|
|
11098
11117
|
}
|
|
11099
11118
|
protoOf(AddToBufferAction).toString = function () {
|
|
11100
|
-
return 'AddToBufferAction(action=' + parseActionName(this.
|
|
11119
|
+
return 'AddToBufferAction(action=' + parseActionName(this.sb3_1) + ', reason=' + this.tb3_1 + ')';
|
|
11101
11120
|
};
|
|
11102
11121
|
protoOf(AddToBufferAction).hashCode = function () {
|
|
11103
|
-
var result = hashCode(this.
|
|
11104
|
-
result = imul(result, 31) + (this.
|
|
11122
|
+
var result = hashCode(this.sb3_1);
|
|
11123
|
+
result = imul(result, 31) + (this.tb3_1 == null ? 0 : getStringHashCode(this.tb3_1)) | 0;
|
|
11105
11124
|
return result;
|
|
11106
11125
|
};
|
|
11107
11126
|
protoOf(AddToBufferAction).equals = function (other) {
|
|
@@ -11110,21 +11129,21 @@
|
|
|
11110
11129
|
if (!(other instanceof AddToBufferAction))
|
|
11111
11130
|
return false;
|
|
11112
11131
|
var tmp0_other_with_cast = other instanceof AddToBufferAction ? other : THROW_CCE();
|
|
11113
|
-
if (!equals(this.
|
|
11132
|
+
if (!equals(this.sb3_1, tmp0_other_with_cast.sb3_1))
|
|
11114
11133
|
return false;
|
|
11115
|
-
if (!(this.
|
|
11134
|
+
if (!(this.tb3_1 == tmp0_other_with_cast.tb3_1))
|
|
11116
11135
|
return false;
|
|
11117
11136
|
return true;
|
|
11118
11137
|
};
|
|
11119
11138
|
function ReleaseBufferAction(count) {
|
|
11120
11139
|
BufferLifecycleAction.call(this);
|
|
11121
|
-
this.
|
|
11140
|
+
this.ub3_1 = count;
|
|
11122
11141
|
}
|
|
11123
11142
|
protoOf(ReleaseBufferAction).toString = function () {
|
|
11124
|
-
return 'ReleaseBufferAction(count=' + this.
|
|
11143
|
+
return 'ReleaseBufferAction(count=' + this.ub3_1 + ')';
|
|
11125
11144
|
};
|
|
11126
11145
|
protoOf(ReleaseBufferAction).hashCode = function () {
|
|
11127
|
-
return this.
|
|
11146
|
+
return this.ub3_1;
|
|
11128
11147
|
};
|
|
11129
11148
|
protoOf(ReleaseBufferAction).equals = function (other) {
|
|
11130
11149
|
if (this === other)
|
|
@@ -11132,7 +11151,7 @@
|
|
|
11132
11151
|
if (!(other instanceof ReleaseBufferAction))
|
|
11133
11152
|
return false;
|
|
11134
11153
|
var tmp0_other_with_cast = other instanceof ReleaseBufferAction ? other : THROW_CCE();
|
|
11135
|
-
if (!(this.
|
|
11154
|
+
if (!(this.ub3_1 === tmp0_other_with_cast.ub3_1))
|
|
11136
11155
|
return false;
|
|
11137
11156
|
return true;
|
|
11138
11157
|
};
|
|
@@ -11140,13 +11159,13 @@
|
|
|
11140
11159
|
}
|
|
11141
11160
|
function TutorialPassedAction(skipped) {
|
|
11142
11161
|
ClientAction.call(this);
|
|
11143
|
-
this.
|
|
11162
|
+
this.vb3_1 = skipped;
|
|
11144
11163
|
}
|
|
11145
11164
|
protoOf(TutorialPassedAction).toString = function () {
|
|
11146
|
-
return 'TutorialPassedAction(skipped=' + this.
|
|
11165
|
+
return 'TutorialPassedAction(skipped=' + this.vb3_1 + ')';
|
|
11147
11166
|
};
|
|
11148
11167
|
protoOf(TutorialPassedAction).hashCode = function () {
|
|
11149
|
-
return getBooleanHashCode(this.
|
|
11168
|
+
return getBooleanHashCode(this.vb3_1);
|
|
11150
11169
|
};
|
|
11151
11170
|
protoOf(TutorialPassedAction).equals = function (other) {
|
|
11152
11171
|
if (this === other)
|
|
@@ -11154,19 +11173,19 @@
|
|
|
11154
11173
|
if (!(other instanceof TutorialPassedAction))
|
|
11155
11174
|
return false;
|
|
11156
11175
|
var tmp0_other_with_cast = other instanceof TutorialPassedAction ? other : THROW_CCE();
|
|
11157
|
-
if (!(this.
|
|
11176
|
+
if (!(this.vb3_1 === tmp0_other_with_cast.vb3_1))
|
|
11158
11177
|
return false;
|
|
11159
11178
|
return true;
|
|
11160
11179
|
};
|
|
11161
11180
|
function SwitchChatAction(open) {
|
|
11162
11181
|
ClientAction.call(this);
|
|
11163
|
-
this.
|
|
11182
|
+
this.wb3_1 = open;
|
|
11164
11183
|
}
|
|
11165
11184
|
protoOf(SwitchChatAction).toString = function () {
|
|
11166
|
-
return 'SwitchChatAction(open=' + this.
|
|
11185
|
+
return 'SwitchChatAction(open=' + this.wb3_1 + ')';
|
|
11167
11186
|
};
|
|
11168
11187
|
protoOf(SwitchChatAction).hashCode = function () {
|
|
11169
|
-
return getBooleanHashCode(this.
|
|
11188
|
+
return getBooleanHashCode(this.wb3_1);
|
|
11170
11189
|
};
|
|
11171
11190
|
protoOf(SwitchChatAction).equals = function (other) {
|
|
11172
11191
|
if (this === other)
|
|
@@ -11174,19 +11193,19 @@
|
|
|
11174
11193
|
if (!(other instanceof SwitchChatAction))
|
|
11175
11194
|
return false;
|
|
11176
11195
|
var tmp0_other_with_cast = other instanceof SwitchChatAction ? other : THROW_CCE();
|
|
11177
|
-
if (!(this.
|
|
11196
|
+
if (!(this.wb3_1 === tmp0_other_with_cast.wb3_1))
|
|
11178
11197
|
return false;
|
|
11179
11198
|
return true;
|
|
11180
11199
|
};
|
|
11181
11200
|
function SwitchSettingAction(open) {
|
|
11182
11201
|
ClientAction.call(this);
|
|
11183
|
-
this.
|
|
11202
|
+
this.xb3_1 = open;
|
|
11184
11203
|
}
|
|
11185
11204
|
protoOf(SwitchSettingAction).toString = function () {
|
|
11186
|
-
return 'SwitchSettingAction(open=' + this.
|
|
11205
|
+
return 'SwitchSettingAction(open=' + this.xb3_1 + ')';
|
|
11187
11206
|
};
|
|
11188
11207
|
protoOf(SwitchSettingAction).hashCode = function () {
|
|
11189
|
-
return getBooleanHashCode(this.
|
|
11208
|
+
return getBooleanHashCode(this.xb3_1);
|
|
11190
11209
|
};
|
|
11191
11210
|
protoOf(SwitchSettingAction).equals = function (other) {
|
|
11192
11211
|
if (this === other)
|
|
@@ -11194,19 +11213,19 @@
|
|
|
11194
11213
|
if (!(other instanceof SwitchSettingAction))
|
|
11195
11214
|
return false;
|
|
11196
11215
|
var tmp0_other_with_cast = other instanceof SwitchSettingAction ? other : THROW_CCE();
|
|
11197
|
-
if (!(this.
|
|
11216
|
+
if (!(this.xb3_1 === tmp0_other_with_cast.xb3_1))
|
|
11198
11217
|
return false;
|
|
11199
11218
|
return true;
|
|
11200
11219
|
};
|
|
11201
11220
|
function SwitchLastBribeAction(open) {
|
|
11202
11221
|
ClientAction.call(this);
|
|
11203
|
-
this.
|
|
11222
|
+
this.yb3_1 = open;
|
|
11204
11223
|
}
|
|
11205
11224
|
protoOf(SwitchLastBribeAction).toString = function () {
|
|
11206
|
-
return 'SwitchLastBribeAction(open=' + this.
|
|
11225
|
+
return 'SwitchLastBribeAction(open=' + this.yb3_1 + ')';
|
|
11207
11226
|
};
|
|
11208
11227
|
protoOf(SwitchLastBribeAction).hashCode = function () {
|
|
11209
|
-
return getBooleanHashCode(this.
|
|
11228
|
+
return getBooleanHashCode(this.yb3_1);
|
|
11210
11229
|
};
|
|
11211
11230
|
protoOf(SwitchLastBribeAction).equals = function (other) {
|
|
11212
11231
|
if (this === other)
|
|
@@ -11214,19 +11233,19 @@
|
|
|
11214
11233
|
if (!(other instanceof SwitchLastBribeAction))
|
|
11215
11234
|
return false;
|
|
11216
11235
|
var tmp0_other_with_cast = other instanceof SwitchLastBribeAction ? other : THROW_CCE();
|
|
11217
|
-
if (!(this.
|
|
11236
|
+
if (!(this.yb3_1 === tmp0_other_with_cast.yb3_1))
|
|
11218
11237
|
return false;
|
|
11219
11238
|
return true;
|
|
11220
11239
|
};
|
|
11221
11240
|
function SwitchGameInfoAction(open) {
|
|
11222
11241
|
ClientAction.call(this);
|
|
11223
|
-
this.
|
|
11242
|
+
this.zb3_1 = open;
|
|
11224
11243
|
}
|
|
11225
11244
|
protoOf(SwitchGameInfoAction).toString = function () {
|
|
11226
|
-
return 'SwitchGameInfoAction(open=' + this.
|
|
11245
|
+
return 'SwitchGameInfoAction(open=' + this.zb3_1 + ')';
|
|
11227
11246
|
};
|
|
11228
11247
|
protoOf(SwitchGameInfoAction).hashCode = function () {
|
|
11229
|
-
return getBooleanHashCode(this.
|
|
11248
|
+
return getBooleanHashCode(this.zb3_1);
|
|
11230
11249
|
};
|
|
11231
11250
|
protoOf(SwitchGameInfoAction).equals = function (other) {
|
|
11232
11251
|
if (this === other)
|
|
@@ -11234,7 +11253,7 @@
|
|
|
11234
11253
|
if (!(other instanceof SwitchGameInfoAction))
|
|
11235
11254
|
return false;
|
|
11236
11255
|
var tmp0_other_with_cast = other instanceof SwitchGameInfoAction ? other : THROW_CCE();
|
|
11237
|
-
if (!(this.
|
|
11256
|
+
if (!(this.zb3_1 === tmp0_other_with_cast.zb3_1))
|
|
11238
11257
|
return false;
|
|
11239
11258
|
return true;
|
|
11240
11259
|
};
|
|
@@ -11242,13 +11261,13 @@
|
|
|
11242
11261
|
}
|
|
11243
11262
|
function ForegroundAction(isForeground) {
|
|
11244
11263
|
ClientAction.call(this);
|
|
11245
|
-
this.
|
|
11264
|
+
this.ab4_1 = isForeground;
|
|
11246
11265
|
}
|
|
11247
11266
|
protoOf(ForegroundAction).toString = function () {
|
|
11248
|
-
return 'ForegroundAction(isForeground=' + this.
|
|
11267
|
+
return 'ForegroundAction(isForeground=' + this.ab4_1 + ')';
|
|
11249
11268
|
};
|
|
11250
11269
|
protoOf(ForegroundAction).hashCode = function () {
|
|
11251
|
-
return getBooleanHashCode(this.
|
|
11270
|
+
return getBooleanHashCode(this.ab4_1);
|
|
11252
11271
|
};
|
|
11253
11272
|
protoOf(ForegroundAction).equals = function (other) {
|
|
11254
11273
|
if (this === other)
|
|
@@ -11256,7 +11275,7 @@
|
|
|
11256
11275
|
if (!(other instanceof ForegroundAction))
|
|
11257
11276
|
return false;
|
|
11258
11277
|
var tmp0_other_with_cast = other instanceof ForegroundAction ? other : THROW_CCE();
|
|
11259
|
-
if (!(this.
|
|
11278
|
+
if (!(this.ab4_1 === tmp0_other_with_cast.ab4_1))
|
|
11260
11279
|
return false;
|
|
11261
11280
|
return true;
|
|
11262
11281
|
};
|
|
@@ -11282,13 +11301,13 @@
|
|
|
11282
11301
|
};
|
|
11283
11302
|
function InitClientStateAction(clientConfig) {
|
|
11284
11303
|
ClientAction.call(this);
|
|
11285
|
-
this.
|
|
11304
|
+
this.bb4_1 = clientConfig;
|
|
11286
11305
|
}
|
|
11287
11306
|
protoOf(InitClientStateAction).toString = function () {
|
|
11288
|
-
return 'InitClientStateAction(clientConfig=' + this.
|
|
11307
|
+
return 'InitClientStateAction(clientConfig=' + this.bb4_1.toString() + ')';
|
|
11289
11308
|
};
|
|
11290
11309
|
protoOf(InitClientStateAction).hashCode = function () {
|
|
11291
|
-
return this.
|
|
11310
|
+
return this.bb4_1.hashCode();
|
|
11292
11311
|
};
|
|
11293
11312
|
protoOf(InitClientStateAction).equals = function (other) {
|
|
11294
11313
|
if (this === other)
|
|
@@ -11296,27 +11315,27 @@
|
|
|
11296
11315
|
if (!(other instanceof InitClientStateAction))
|
|
11297
11316
|
return false;
|
|
11298
11317
|
var tmp0_other_with_cast = other instanceof InitClientStateAction ? other : THROW_CCE();
|
|
11299
|
-
if (!this.
|
|
11318
|
+
if (!this.bb4_1.equals(tmp0_other_with_cast.bb4_1))
|
|
11300
11319
|
return false;
|
|
11301
11320
|
return true;
|
|
11302
11321
|
};
|
|
11303
11322
|
function UpdateConfigAction(clientConfig, options, rulesSetType, rules, users) {
|
|
11304
11323
|
ClientAction.call(this);
|
|
11305
|
-
this.
|
|
11306
|
-
this.
|
|
11307
|
-
this.
|
|
11308
|
-
this.
|
|
11309
|
-
this.
|
|
11324
|
+
this.cb4_1 = clientConfig;
|
|
11325
|
+
this.db4_1 = options;
|
|
11326
|
+
this.eb4_1 = rulesSetType;
|
|
11327
|
+
this.fb4_1 = rules;
|
|
11328
|
+
this.gb4_1 = users;
|
|
11310
11329
|
}
|
|
11311
11330
|
protoOf(UpdateConfigAction).toString = function () {
|
|
11312
|
-
return 'UpdateConfigAction(clientConfig=' + toString_0(this.
|
|
11331
|
+
return 'UpdateConfigAction(clientConfig=' + toString_0(this.cb4_1) + ', options=' + toString_0(this.db4_1) + ', rulesSetType=' + toString_0(this.eb4_1) + ', rules=' + toString_0(this.fb4_1) + ', users=' + toString_0(this.gb4_1) + ')';
|
|
11313
11332
|
};
|
|
11314
11333
|
protoOf(UpdateConfigAction).hashCode = function () {
|
|
11315
|
-
var result = this.
|
|
11316
|
-
result = imul(result, 31) + (this.cb4_1 == null ? 0 : this.cb4_1.hashCode()) | 0;
|
|
11334
|
+
var result = this.cb4_1 == null ? 0 : this.cb4_1.hashCode();
|
|
11317
11335
|
result = imul(result, 31) + (this.db4_1 == null ? 0 : this.db4_1.hashCode()) | 0;
|
|
11318
11336
|
result = imul(result, 31) + (this.eb4_1 == null ? 0 : this.eb4_1.hashCode()) | 0;
|
|
11319
|
-
result = imul(result, 31) + (this.fb4_1 == null ? 0 :
|
|
11337
|
+
result = imul(result, 31) + (this.fb4_1 == null ? 0 : this.fb4_1.hashCode()) | 0;
|
|
11338
|
+
result = imul(result, 31) + (this.gb4_1 == null ? 0 : hashCode(this.gb4_1)) | 0;
|
|
11320
11339
|
return result;
|
|
11321
11340
|
};
|
|
11322
11341
|
protoOf(UpdateConfigAction).equals = function (other) {
|
|
@@ -11325,8 +11344,6 @@
|
|
|
11325
11344
|
if (!(other instanceof UpdateConfigAction))
|
|
11326
11345
|
return false;
|
|
11327
11346
|
var tmp0_other_with_cast = other instanceof UpdateConfigAction ? other : THROW_CCE();
|
|
11328
|
-
if (!equals(this.bb4_1, tmp0_other_with_cast.bb4_1))
|
|
11329
|
-
return false;
|
|
11330
11347
|
if (!equals(this.cb4_1, tmp0_other_with_cast.cb4_1))
|
|
11331
11348
|
return false;
|
|
11332
11349
|
if (!equals(this.db4_1, tmp0_other_with_cast.db4_1))
|
|
@@ -11335,17 +11352,19 @@
|
|
|
11335
11352
|
return false;
|
|
11336
11353
|
if (!equals(this.fb4_1, tmp0_other_with_cast.fb4_1))
|
|
11337
11354
|
return false;
|
|
11355
|
+
if (!equals(this.gb4_1, tmp0_other_with_cast.gb4_1))
|
|
11356
|
+
return false;
|
|
11338
11357
|
return true;
|
|
11339
11358
|
};
|
|
11340
11359
|
function ClientMessageAction(message) {
|
|
11341
11360
|
ClientAction.call(this);
|
|
11342
|
-
this.
|
|
11361
|
+
this.hb4_1 = message;
|
|
11343
11362
|
}
|
|
11344
11363
|
protoOf(ClientMessageAction).toString = function () {
|
|
11345
|
-
return 'ClientMessageAction(message=' + toString(this.
|
|
11364
|
+
return 'ClientMessageAction(message=' + toString(this.hb4_1) + ')';
|
|
11346
11365
|
};
|
|
11347
11366
|
protoOf(ClientMessageAction).hashCode = function () {
|
|
11348
|
-
return hashCode(this.
|
|
11367
|
+
return hashCode(this.hb4_1);
|
|
11349
11368
|
};
|
|
11350
11369
|
protoOf(ClientMessageAction).equals = function (other) {
|
|
11351
11370
|
if (this === other)
|
|
@@ -11353,7 +11372,7 @@
|
|
|
11353
11372
|
if (!(other instanceof ClientMessageAction))
|
|
11354
11373
|
return false;
|
|
11355
11374
|
var tmp0_other_with_cast = other instanceof ClientMessageAction ? other : THROW_CCE();
|
|
11356
|
-
if (!equals(this.
|
|
11375
|
+
if (!equals(this.hb4_1, tmp0_other_with_cast.hb4_1))
|
|
11357
11376
|
return false;
|
|
11358
11377
|
return true;
|
|
11359
11378
|
};
|
|
@@ -11361,17 +11380,17 @@
|
|
|
11361
11380
|
acceptedCombinations = acceptedCombinations === VOID ? null : acceptedCombinations;
|
|
11362
11381
|
declinedCombinations = declinedCombinations === VOID ? null : declinedCombinations;
|
|
11363
11382
|
ClientAction.call(this);
|
|
11364
|
-
this.
|
|
11365
|
-
this.
|
|
11366
|
-
this.
|
|
11383
|
+
this.ib4_1 = processingCard;
|
|
11384
|
+
this.jb4_1 = acceptedCombinations;
|
|
11385
|
+
this.kb4_1 = declinedCombinations;
|
|
11367
11386
|
}
|
|
11368
11387
|
protoOf(PutCardAndCheckCombinationsAction).toString = function () {
|
|
11369
|
-
return 'PutCardAndCheckCombinationsAction(processingCard=' + this.
|
|
11388
|
+
return 'PutCardAndCheckCombinationsAction(processingCard=' + this.ib4_1.toString() + ', acceptedCombinations=' + toString_0(this.jb4_1) + ', declinedCombinations=' + toString_0(this.kb4_1) + ')';
|
|
11370
11389
|
};
|
|
11371
11390
|
protoOf(PutCardAndCheckCombinationsAction).hashCode = function () {
|
|
11372
|
-
var result = this.
|
|
11373
|
-
result = imul(result, 31) + (this.ib4_1 == null ? 0 : hashCode(this.ib4_1)) | 0;
|
|
11391
|
+
var result = this.ib4_1.hashCode();
|
|
11374
11392
|
result = imul(result, 31) + (this.jb4_1 == null ? 0 : hashCode(this.jb4_1)) | 0;
|
|
11393
|
+
result = imul(result, 31) + (this.kb4_1 == null ? 0 : hashCode(this.kb4_1)) | 0;
|
|
11375
11394
|
return result;
|
|
11376
11395
|
};
|
|
11377
11396
|
protoOf(PutCardAndCheckCombinationsAction).equals = function (other) {
|
|
@@ -11380,25 +11399,25 @@
|
|
|
11380
11399
|
if (!(other instanceof PutCardAndCheckCombinationsAction))
|
|
11381
11400
|
return false;
|
|
11382
11401
|
var tmp0_other_with_cast = other instanceof PutCardAndCheckCombinationsAction ? other : THROW_CCE();
|
|
11383
|
-
if (!this.
|
|
11384
|
-
return false;
|
|
11385
|
-
if (!equals(this.ib4_1, tmp0_other_with_cast.ib4_1))
|
|
11402
|
+
if (!this.ib4_1.equals(tmp0_other_with_cast.ib4_1))
|
|
11386
11403
|
return false;
|
|
11387
11404
|
if (!equals(this.jb4_1, tmp0_other_with_cast.jb4_1))
|
|
11388
11405
|
return false;
|
|
11406
|
+
if (!equals(this.kb4_1, tmp0_other_with_cast.kb4_1))
|
|
11407
|
+
return false;
|
|
11389
11408
|
return true;
|
|
11390
11409
|
};
|
|
11391
11410
|
function DisabledCardAction() {
|
|
11392
11411
|
}
|
|
11393
11412
|
function InfoMessageAction(message) {
|
|
11394
11413
|
ClientAction.call(this);
|
|
11395
|
-
this.
|
|
11414
|
+
this.lb4_1 = message;
|
|
11396
11415
|
}
|
|
11397
11416
|
protoOf(InfoMessageAction).toString = function () {
|
|
11398
|
-
return 'InfoMessageAction(message=' + toString_0(this.
|
|
11417
|
+
return 'InfoMessageAction(message=' + toString_0(this.lb4_1) + ')';
|
|
11399
11418
|
};
|
|
11400
11419
|
protoOf(InfoMessageAction).hashCode = function () {
|
|
11401
|
-
return this.
|
|
11420
|
+
return this.lb4_1 == null ? 0 : hashCode(this.lb4_1);
|
|
11402
11421
|
};
|
|
11403
11422
|
protoOf(InfoMessageAction).equals = function (other) {
|
|
11404
11423
|
if (this === other)
|
|
@@ -11406,7 +11425,7 @@
|
|
|
11406
11425
|
if (!(other instanceof InfoMessageAction))
|
|
11407
11426
|
return false;
|
|
11408
11427
|
var tmp0_other_with_cast = other instanceof InfoMessageAction ? other : THROW_CCE();
|
|
11409
|
-
if (!equals(this.
|
|
11428
|
+
if (!equals(this.lb4_1, tmp0_other_with_cast.lb4_1))
|
|
11410
11429
|
return false;
|
|
11411
11430
|
return true;
|
|
11412
11431
|
};
|
|
@@ -11416,17 +11435,17 @@
|
|
|
11416
11435
|
acceptedCombinations = acceptedCombinations === VOID ? null : acceptedCombinations;
|
|
11417
11436
|
declinedCombinations = declinedCombinations === VOID ? null : declinedCombinations;
|
|
11418
11437
|
ClientAction.call(this);
|
|
11419
|
-
this.
|
|
11420
|
-
this.
|
|
11421
|
-
this.
|
|
11438
|
+
this.mb4_1 = combinations;
|
|
11439
|
+
this.nb4_1 = acceptedCombinations;
|
|
11440
|
+
this.ob4_1 = declinedCombinations;
|
|
11422
11441
|
}
|
|
11423
11442
|
protoOf(CombinationToAnnounceAction).toString = function () {
|
|
11424
|
-
return 'CombinationToAnnounceAction(combinations=' + toString(this.
|
|
11443
|
+
return 'CombinationToAnnounceAction(combinations=' + toString(this.mb4_1) + ', acceptedCombinations=' + toString_0(this.nb4_1) + ', declinedCombinations=' + toString_0(this.ob4_1) + ')';
|
|
11425
11444
|
};
|
|
11426
11445
|
protoOf(CombinationToAnnounceAction).hashCode = function () {
|
|
11427
|
-
var result = hashCode(this.
|
|
11428
|
-
result = imul(result, 31) + (this.mb4_1 == null ? 0 : hashCode(this.mb4_1)) | 0;
|
|
11446
|
+
var result = hashCode(this.mb4_1);
|
|
11429
11447
|
result = imul(result, 31) + (this.nb4_1 == null ? 0 : hashCode(this.nb4_1)) | 0;
|
|
11448
|
+
result = imul(result, 31) + (this.ob4_1 == null ? 0 : hashCode(this.ob4_1)) | 0;
|
|
11430
11449
|
return result;
|
|
11431
11450
|
};
|
|
11432
11451
|
protoOf(CombinationToAnnounceAction).equals = function (other) {
|
|
@@ -11435,12 +11454,12 @@
|
|
|
11435
11454
|
if (!(other instanceof CombinationToAnnounceAction))
|
|
11436
11455
|
return false;
|
|
11437
11456
|
var tmp0_other_with_cast = other instanceof CombinationToAnnounceAction ? other : THROW_CCE();
|
|
11438
|
-
if (!equals(this.lb4_1, tmp0_other_with_cast.lb4_1))
|
|
11439
|
-
return false;
|
|
11440
11457
|
if (!equals(this.mb4_1, tmp0_other_with_cast.mb4_1))
|
|
11441
11458
|
return false;
|
|
11442
11459
|
if (!equals(this.nb4_1, tmp0_other_with_cast.nb4_1))
|
|
11443
11460
|
return false;
|
|
11461
|
+
if (!equals(this.ob4_1, tmp0_other_with_cast.ob4_1))
|
|
11462
|
+
return false;
|
|
11444
11463
|
return true;
|
|
11445
11464
|
};
|
|
11446
11465
|
function AnnouncedCombinationAction() {
|
|
@@ -11475,13 +11494,13 @@
|
|
|
11475
11494
|
}
|
|
11476
11495
|
function ExpectantCreatedClientAction(expectant) {
|
|
11477
11496
|
ExpectantLifecycleAction.call(this);
|
|
11478
|
-
this.
|
|
11497
|
+
this.pb4_1 = expectant;
|
|
11479
11498
|
}
|
|
11480
11499
|
protoOf(ExpectantCreatedClientAction).toString = function () {
|
|
11481
|
-
return 'ExpectantCreatedClientAction(id: ' + this.
|
|
11500
|
+
return 'ExpectantCreatedClientAction(id: ' + this.pb4_1.l9w_1 + ', expectant=' + parseActionName(this.pb4_1.m9w_1) + ')';
|
|
11482
11501
|
};
|
|
11483
11502
|
protoOf(ExpectantCreatedClientAction).hashCode = function () {
|
|
11484
|
-
return this.
|
|
11503
|
+
return this.pb4_1.hashCode();
|
|
11485
11504
|
};
|
|
11486
11505
|
protoOf(ExpectantCreatedClientAction).equals = function (other) {
|
|
11487
11506
|
if (this === other)
|
|
@@ -11489,14 +11508,14 @@
|
|
|
11489
11508
|
if (!(other instanceof ExpectantCreatedClientAction))
|
|
11490
11509
|
return false;
|
|
11491
11510
|
var tmp0_other_with_cast = other instanceof ExpectantCreatedClientAction ? other : THROW_CCE();
|
|
11492
|
-
if (!this.
|
|
11511
|
+
if (!this.pb4_1.equals(tmp0_other_with_cast.pb4_1))
|
|
11493
11512
|
return false;
|
|
11494
11513
|
return true;
|
|
11495
11514
|
};
|
|
11496
11515
|
function ExpectantStageCompletedClientAction() {
|
|
11497
11516
|
}
|
|
11498
11517
|
protoOf(ExpectantStageCompletedClientAction).toString = function () {
|
|
11499
|
-
return 'ExpectantStageCompletedClientAction(expectantId=' + this.
|
|
11518
|
+
return 'ExpectantStageCompletedClientAction(expectantId=' + this.qb4_1 + ')';
|
|
11500
11519
|
};
|
|
11501
11520
|
function ExpectantTimerFinishedClientAction(expectantId) {
|
|
11502
11521
|
ExpectantLifecycleAction.call(this);
|
|
@@ -11519,84 +11538,84 @@
|
|
|
11519
11538
|
return true;
|
|
11520
11539
|
};
|
|
11521
11540
|
function _get_messageFactory__6vg0vc($this) {
|
|
11522
|
-
var tmp0 = $this.
|
|
11541
|
+
var tmp0 = $this.tb4_1;
|
|
11523
11542
|
var tmp = KProperty1;
|
|
11524
11543
|
// Inline function 'kotlin.getValue' call
|
|
11525
11544
|
getPropertyCallableRef('messageFactory', 1, tmp, ClientCommonStoreContract$_get_messageFactory_$ref_wf2zvi_0(), null);
|
|
11526
11545
|
return tmp0.u();
|
|
11527
11546
|
}
|
|
11528
11547
|
function _get_bufferInteractor__bbjsb2_0($this) {
|
|
11529
|
-
var tmp0 = $this.
|
|
11548
|
+
var tmp0 = $this.ub4_1;
|
|
11530
11549
|
var tmp = KProperty1;
|
|
11531
11550
|
// Inline function 'kotlin.getValue' call
|
|
11532
11551
|
getPropertyCallableRef('bufferInteractor', 1, tmp, ClientCommonStoreContract$_get_bufferInteractor_$ref_m25ons_0(), null);
|
|
11533
11552
|
return tmp0.u();
|
|
11534
11553
|
}
|
|
11535
11554
|
function _get_combinationProvider__3gs1n3($this) {
|
|
11536
|
-
var tmp0 = $this.
|
|
11555
|
+
var tmp0 = $this.vb4_1;
|
|
11537
11556
|
var tmp = KProperty1;
|
|
11538
11557
|
// Inline function 'kotlin.getValue' call
|
|
11539
11558
|
getPropertyCallableRef('combinationProvider', 1, tmp, ClientCommonStoreContract$_get_combinationProvider_$ref_raagqv_0(), null);
|
|
11540
11559
|
return tmp0.u();
|
|
11541
11560
|
}
|
|
11542
11561
|
function _get_playerTurnTagProvider__7cizx8($this) {
|
|
11543
|
-
var tmp0 = $this.
|
|
11562
|
+
var tmp0 = $this.wb4_1;
|
|
11544
11563
|
var tmp = KProperty1;
|
|
11545
11564
|
// Inline function 'kotlin.getValue' call
|
|
11546
11565
|
getPropertyCallableRef('playerTurnTagProvider', 1, tmp, ClientCommonStoreContract$_get_playerTurnTagProvider_$ref_dfh23w_0(), null);
|
|
11547
11566
|
return tmp0.u();
|
|
11548
11567
|
}
|
|
11549
11568
|
function _get_cardValidatorInteractor__u3zq3u($this) {
|
|
11550
|
-
var tmp0 = $this.
|
|
11569
|
+
var tmp0 = $this.xb4_1;
|
|
11551
11570
|
var tmp = KProperty1;
|
|
11552
11571
|
// Inline function 'kotlin.getValue' call
|
|
11553
11572
|
getPropertyCallableRef('cardValidatorInteractor', 1, tmp, ClientCommonStoreContract$_get_cardValidatorInteractor_$ref_bmbj6_0(), null);
|
|
11554
11573
|
return tmp0.u();
|
|
11555
11574
|
}
|
|
11556
11575
|
function _get_clientLifecycleReducer__6ihp6m($this) {
|
|
11557
|
-
var tmp0 = $this.
|
|
11576
|
+
var tmp0 = $this.yb4_1;
|
|
11558
11577
|
var tmp = KProperty1;
|
|
11559
11578
|
// Inline function 'kotlin.getValue' call
|
|
11560
11579
|
getPropertyCallableRef('clientLifecycleReducer', 1, tmp, ClientCommonStoreContract$_get_clientLifecycleReducer_$ref_y6t378_0(), null);
|
|
11561
11580
|
return tmp0.u();
|
|
11562
11581
|
}
|
|
11563
11582
|
function _get_clientCombinationsReducer__u5899o($this) {
|
|
11564
|
-
var tmp0 = $this.
|
|
11583
|
+
var tmp0 = $this.zb4_1;
|
|
11565
11584
|
var tmp = KProperty1;
|
|
11566
11585
|
// Inline function 'kotlin.getValue' call
|
|
11567
11586
|
getPropertyCallableRef('clientCombinationsReducer', 1, tmp, ClientCommonStoreContract$_get_clientCombinationsReducer_$ref_b7sel8_0(), null);
|
|
11568
11587
|
return tmp0.u();
|
|
11569
11588
|
}
|
|
11570
11589
|
function _get_asyncProvider__jbpyhw($this) {
|
|
11571
|
-
var tmp0 = $this.
|
|
11590
|
+
var tmp0 = $this.ab5_1;
|
|
11572
11591
|
var tmp = KProperty1;
|
|
11573
11592
|
// Inline function 'kotlin.getValue' call
|
|
11574
11593
|
getPropertyCallableRef('asyncProvider', 1, tmp, ClientCommonStoreContract$_get_asyncProvider_$ref_dp7wt0_0(), null);
|
|
11575
11594
|
return tmp0.u();
|
|
11576
11595
|
}
|
|
11577
11596
|
function _get_gameClientConfig__xfscic_0($this) {
|
|
11578
|
-
var tmp0 = $this.
|
|
11597
|
+
var tmp0 = $this.bb5_1;
|
|
11579
11598
|
var tmp = KProperty1;
|
|
11580
11599
|
// Inline function 'kotlin.getValue' call
|
|
11581
11600
|
getPropertyCallableRef('gameClientConfig', 1, tmp, ClientCommonStoreContract$_get_gameClientConfig_$ref_hlbrfm_0(), null);
|
|
11582
11601
|
return tmp0.u();
|
|
11583
11602
|
}
|
|
11584
11603
|
function _get_logger__rkp4sl_0($this) {
|
|
11585
|
-
var tmp0 = $this.
|
|
11604
|
+
var tmp0 = $this.cb5_1;
|
|
11586
11605
|
var tmp = KProperty1;
|
|
11587
11606
|
// Inline function 'kotlin.getValue' call
|
|
11588
11607
|
getPropertyCallableRef('logger', 1, tmp, ClientCommonStoreContract$_get_logger_$ref_l18aq7_0(), null);
|
|
11589
11608
|
return tmp0.u();
|
|
11590
11609
|
}
|
|
11591
11610
|
function _get_scenePositionProvider__kn0n1n($this) {
|
|
11592
|
-
var tmp0 = $this.
|
|
11611
|
+
var tmp0 = $this.db5_1;
|
|
11593
11612
|
var tmp = KProperty1;
|
|
11594
11613
|
// Inline function 'kotlin.getValue' call
|
|
11595
11614
|
getPropertyCallableRef('scenePositionProvider', 1, tmp, ClientCommonStoreContract$_get_scenePositionProvider_$ref_2mdnjn_0(), null);
|
|
11596
11615
|
return tmp0.u();
|
|
11597
11616
|
}
|
|
11598
11617
|
function _get_clientGameHistoryInteractor__6os8wx($this) {
|
|
11599
|
-
var tmp0 = $this.
|
|
11618
|
+
var tmp0 = $this.eb5_1;
|
|
11600
11619
|
var tmp = KProperty1;
|
|
11601
11620
|
// Inline function 'kotlin.getValue' call
|
|
11602
11621
|
getPropertyCallableRef('clientGameHistoryInteractor', 1, tmp, ClientCommonStoreContract$_get_clientGameHistoryInteractor_$ref_2ivcgn_0(), null);
|
|
@@ -11724,8 +11743,8 @@
|
|
|
11724
11743
|
}
|
|
11725
11744
|
function ClientCommonStoreContract(di, currentPlayerId, timersStoreContract) {
|
|
11726
11745
|
timersStoreContract = timersStoreContract === VOID ? new TimersStoreContract(di) : timersStoreContract;
|
|
11727
|
-
this.
|
|
11728
|
-
this.
|
|
11746
|
+
this.rb4_1 = currentPlayerId;
|
|
11747
|
+
this.sb4_1 = timersStoreContract;
|
|
11729
11748
|
var tmp = this;
|
|
11730
11749
|
// Inline function 'org.kodein.di.instance' call
|
|
11731
11750
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11733,7 +11752,7 @@
|
|
|
11733
11752
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
11734
11753
|
var tmp_1 = Instance(di, tmp$ret$0, null);
|
|
11735
11754
|
var tmp_2 = KProperty1;
|
|
11736
|
-
tmp.
|
|
11755
|
+
tmp.tb4_1 = tmp_1.k67(this, getPropertyCallableRef('messageFactory', 1, tmp_2, ClientCommonStoreContract$_get_messageFactory_$ref_wf2zvi(), null));
|
|
11737
11756
|
var tmp_3 = this;
|
|
11738
11757
|
// Inline function 'org.kodein.di.instance' call
|
|
11739
11758
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11741,7 +11760,7 @@
|
|
|
11741
11760
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
11742
11761
|
var tmp_5 = Instance(di, tmp$ret$2, null);
|
|
11743
11762
|
var tmp_6 = KProperty1;
|
|
11744
|
-
tmp_3.
|
|
11763
|
+
tmp_3.ub4_1 = tmp_5.k67(this, getPropertyCallableRef('bufferInteractor', 1, tmp_6, ClientCommonStoreContract$_get_bufferInteractor_$ref_m25ons(), null));
|
|
11745
11764
|
var tmp_7 = this;
|
|
11746
11765
|
// Inline function 'org.kodein.di.instance' call
|
|
11747
11766
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11749,7 +11768,7 @@
|
|
|
11749
11768
|
var tmp$ret$4 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
11750
11769
|
var tmp_9 = Instance(di, tmp$ret$4, null);
|
|
11751
11770
|
var tmp_10 = KProperty1;
|
|
11752
|
-
tmp_7.
|
|
11771
|
+
tmp_7.vb4_1 = tmp_9.k67(this, getPropertyCallableRef('combinationProvider', 1, tmp_10, ClientCommonStoreContract$_get_combinationProvider_$ref_raagqv(), null));
|
|
11753
11772
|
var tmp_11 = this;
|
|
11754
11773
|
// Inline function 'org.kodein.di.instance' call
|
|
11755
11774
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11757,7 +11776,7 @@
|
|
|
11757
11776
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
11758
11777
|
var tmp_13 = Instance(di, tmp$ret$6, null);
|
|
11759
11778
|
var tmp_14 = KProperty1;
|
|
11760
|
-
tmp_11.
|
|
11779
|
+
tmp_11.wb4_1 = tmp_13.k67(this, getPropertyCallableRef('playerTurnTagProvider', 1, tmp_14, ClientCommonStoreContract$_get_playerTurnTagProvider_$ref_dfh23w(), null));
|
|
11761
11780
|
var tmp_15 = this;
|
|
11762
11781
|
// Inline function 'org.kodein.di.instance' call
|
|
11763
11782
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11765,7 +11784,7 @@
|
|
|
11765
11784
|
var tmp$ret$8 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
11766
11785
|
var tmp_17 = Instance(di, tmp$ret$8, null);
|
|
11767
11786
|
var tmp_18 = KProperty1;
|
|
11768
|
-
tmp_15.
|
|
11787
|
+
tmp_15.xb4_1 = tmp_17.k67(this, getPropertyCallableRef('cardValidatorInteractor', 1, tmp_18, ClientCommonStoreContract$_get_cardValidatorInteractor_$ref_bmbj6(), null));
|
|
11769
11788
|
var tmp_19 = this;
|
|
11770
11789
|
// Inline function 'org.kodein.di.instance' call
|
|
11771
11790
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11773,7 +11792,7 @@
|
|
|
11773
11792
|
var tmp$ret$10 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
11774
11793
|
var tmp_21 = Instance(di, tmp$ret$10, null);
|
|
11775
11794
|
var tmp_22 = KProperty1;
|
|
11776
|
-
tmp_19.
|
|
11795
|
+
tmp_19.yb4_1 = tmp_21.k67(this, getPropertyCallableRef('clientLifecycleReducer', 1, tmp_22, ClientCommonStoreContract$_get_clientLifecycleReducer_$ref_y6t378(), null));
|
|
11777
11796
|
var tmp_23 = this;
|
|
11778
11797
|
// Inline function 'org.kodein.di.instance' call
|
|
11779
11798
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11781,7 +11800,7 @@
|
|
|
11781
11800
|
var tmp$ret$12 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
11782
11801
|
var tmp_25 = Instance(di, tmp$ret$12, null);
|
|
11783
11802
|
var tmp_26 = KProperty1;
|
|
11784
|
-
tmp_23.
|
|
11803
|
+
tmp_23.zb4_1 = tmp_25.k67(this, getPropertyCallableRef('clientCombinationsReducer', 1, tmp_26, ClientCommonStoreContract$_get_clientCombinationsReducer_$ref_b7sel8(), null));
|
|
11785
11804
|
var tmp_27 = this;
|
|
11786
11805
|
// Inline function 'org.kodein.di.instance' call
|
|
11787
11806
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11789,7 +11808,7 @@
|
|
|
11789
11808
|
var tmp$ret$14 = isInterface(tmp_28, TypeToken) ? tmp_28 : THROW_CCE();
|
|
11790
11809
|
var tmp_29 = Instance(di, tmp$ret$14, null);
|
|
11791
11810
|
var tmp_30 = KProperty1;
|
|
11792
|
-
tmp_27.
|
|
11811
|
+
tmp_27.ab5_1 = tmp_29.k67(this, getPropertyCallableRef('asyncProvider', 1, tmp_30, ClientCommonStoreContract$_get_asyncProvider_$ref_dp7wt0(), null));
|
|
11793
11812
|
var tmp_31 = this;
|
|
11794
11813
|
// Inline function 'org.kodein.di.instance' call
|
|
11795
11814
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11797,7 +11816,7 @@
|
|
|
11797
11816
|
var tmp$ret$16 = isInterface(tmp_32, TypeToken) ? tmp_32 : THROW_CCE();
|
|
11798
11817
|
var tmp_33 = Instance(di, tmp$ret$16, null);
|
|
11799
11818
|
var tmp_34 = KProperty1;
|
|
11800
|
-
tmp_31.
|
|
11819
|
+
tmp_31.bb5_1 = tmp_33.k67(this, getPropertyCallableRef('gameClientConfig', 1, tmp_34, ClientCommonStoreContract$_get_gameClientConfig_$ref_hlbrfm(), null));
|
|
11801
11820
|
var tmp_35 = this;
|
|
11802
11821
|
// Inline function 'org.kodein.di.instance' call
|
|
11803
11822
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11805,7 +11824,7 @@
|
|
|
11805
11824
|
var tmp$ret$18 = isInterface(tmp_36, TypeToken) ? tmp_36 : THROW_CCE();
|
|
11806
11825
|
var tmp_37 = Instance(di, tmp$ret$18, null);
|
|
11807
11826
|
var tmp_38 = KProperty1;
|
|
11808
|
-
tmp_35.
|
|
11827
|
+
tmp_35.cb5_1 = tmp_37.k67(this, getPropertyCallableRef('logger', 1, tmp_38, ClientCommonStoreContract$_get_logger_$ref_l18aq7(), null));
|
|
11809
11828
|
var tmp_39 = this;
|
|
11810
11829
|
// Inline function 'org.kodein.di.instance' call
|
|
11811
11830
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11813,7 +11832,7 @@
|
|
|
11813
11832
|
var tmp$ret$20 = isInterface(tmp_40, TypeToken) ? tmp_40 : THROW_CCE();
|
|
11814
11833
|
var tmp_41 = Instance(di, tmp$ret$20, null);
|
|
11815
11834
|
var tmp_42 = KProperty1;
|
|
11816
|
-
tmp_39.
|
|
11835
|
+
tmp_39.db5_1 = tmp_41.k67(this, getPropertyCallableRef('scenePositionProvider', 1, tmp_42, ClientCommonStoreContract$_get_scenePositionProvider_$ref_2mdnjn(), null));
|
|
11817
11836
|
var tmp_43 = this;
|
|
11818
11837
|
// Inline function 'org.kodein.di.instance' call
|
|
11819
11838
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -11821,114 +11840,114 @@
|
|
|
11821
11840
|
var tmp$ret$22 = isInterface(tmp_44, TypeToken) ? tmp_44 : THROW_CCE();
|
|
11822
11841
|
var tmp_45 = Instance(di, tmp$ret$22, null);
|
|
11823
11842
|
var tmp_46 = KProperty1;
|
|
11824
|
-
tmp_43.
|
|
11843
|
+
tmp_43.eb5_1 = tmp_45.k67(this, getPropertyCallableRef('clientGameHistoryInteractor', 1, tmp_46, ClientCommonStoreContract$_get_clientGameHistoryInteractor_$ref_2ivcgn(), null));
|
|
11825
11844
|
}
|
|
11826
11845
|
protoOf(ClientCommonStoreContract).f94 = function () {
|
|
11827
|
-
return plus(listOfNotNull([_get_gameClientConfig__xfscic_0(this).validateExpectantActions ? expectantLifecycleReducer() : null, _get_gameClientConfig__xfscic_0(this).validateExpectantActions ? expectantActionReducer() : null, bufferReducer(), messageReducer(), _get_gameClientConfig__xfscic_0(this).validateSceneActiveState ? sceneActivationReducer() : null, clientResetMessagesAfterSelectedTrumpReducer(_get_logger__rkp4sl_0(this)), clientResetMessagesAfterBribeReducer(_get_logger__rkp4sl_0(this)), clientUIReducer(this.
|
|
11846
|
+
return plus(listOfNotNull([_get_gameClientConfig__xfscic_0(this).validateExpectantActions ? expectantLifecycleReducer() : null, _get_gameClientConfig__xfscic_0(this).validateExpectantActions ? expectantActionReducer() : null, bufferReducer(), messageReducer(), _get_gameClientConfig__xfscic_0(this).validateSceneActiveState ? sceneActivationReducer() : null, clientResetMessagesAfterSelectedTrumpReducer(_get_logger__rkp4sl_0(this)), clientResetMessagesAfterBribeReducer(_get_logger__rkp4sl_0(this)), clientUIReducer(this.rb4_1), clientResetProcessingCardReducer(), clientSceneReducer(_get_logger__rkp4sl_0(this), _get_clientLifecycleReducer__6ihp6m(this)), clientCombinationToAnnounceStateOnPlayerTurnReducer(_get_clientCombinationsReducer__u5899o(this))]), this.sb4_1.f94());
|
|
11828
11847
|
};
|
|
11829
11848
|
protoOf(ClientCommonStoreContract).g94 = function () {
|
|
11830
|
-
return plus(plus(plus(plus(listOfNotNull([checkValidCurrentPlayerIdMiddleware(this.
|
|
11849
|
+
return plus(plus(plus(plus(listOfNotNull([checkValidCurrentPlayerIdMiddleware(this.rb4_1, _get_logger__rkp4sl_0(this)), checkExpectantsMiddleware(_get_logger__rkp4sl_0(this))]), listOfNotNull([_get_gameClientConfig__xfscic_0(this).validateCardOnMove ? validateCardOnMoveMiddleware(_get_cardValidatorInteractor__u3zq3u(this), _get_messageFactory__6vg0vc(this), _get_logger__rkp4sl_0(this)) : null, clientShowDisabledCardMessageMiddleware(_get_cardValidatorInteractor__u3zq3u(this), _get_messageFactory__6vg0vc(this), _get_logger__rkp4sl_0(this)), clientCheckCombinationsMiddleware(_get_combinationProvider__3gs1n3(this), _get_playerTurnTagProvider__7cizx8(this)), gameHistoryMiddleware(_get_asyncProvider__jbpyhw(this), _get_clientGameHistoryInteractor__6os8wx(this)), finishingGameWhenPlayerExitsMiddleware(_get_gameClientConfig__xfscic_0(this)), startResetTimerForInfoMessageMiddleware(), clearTimersWhenErrorMiddleware(), resetInfoMessageWhenShownMiddleware(), roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this))])), bufferMiddleware(_get_bufferInteractor__bbjsb2_0(this))), expectantMiddlewares()), this.sb4_1.g94());
|
|
11831
11850
|
};
|
|
11832
11851
|
function _get_messageFactory__6vg0vc_0($this) {
|
|
11833
|
-
var tmp0 = $this.
|
|
11852
|
+
var tmp0 = $this.lb5_1;
|
|
11834
11853
|
var tmp = KProperty1;
|
|
11835
11854
|
// Inline function 'kotlin.getValue' call
|
|
11836
11855
|
getPropertyCallableRef('messageFactory', 1, tmp, OnlineGameStoreContract$_get_messageFactory_$ref_5nllg3_0(), null);
|
|
11837
11856
|
return tmp0.u();
|
|
11838
11857
|
}
|
|
11839
11858
|
function _get_pointsInteractor__5t71wv($this) {
|
|
11840
|
-
var tmp0 = $this.
|
|
11859
|
+
var tmp0 = $this.mb5_1;
|
|
11841
11860
|
var tmp = KProperty1;
|
|
11842
11861
|
// Inline function 'kotlin.getValue' call
|
|
11843
11862
|
getPropertyCallableRef('pointsInteractor', 1, tmp, OnlineGameStoreContract$_get_pointsInteractor_$ref_wc6oc_0(), null);
|
|
11844
11863
|
return tmp0.u();
|
|
11845
11864
|
}
|
|
11846
11865
|
function _get_teamsLogicProvider__u10pm6($this) {
|
|
11847
|
-
var tmp0 = $this.
|
|
11866
|
+
var tmp0 = $this.nb5_1;
|
|
11848
11867
|
var tmp = KProperty1;
|
|
11849
11868
|
// Inline function 'kotlin.getValue' call
|
|
11850
11869
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, OnlineGameStoreContract$_get_teamsLogicProvider_$ref_14f7dj_0(), null);
|
|
11851
11870
|
return tmp0.u();
|
|
11852
11871
|
}
|
|
11853
11872
|
function _get_gameLogicInteractor__895s7o($this) {
|
|
11854
|
-
var tmp0 = $this.
|
|
11873
|
+
var tmp0 = $this.ob5_1;
|
|
11855
11874
|
var tmp = KProperty1;
|
|
11856
11875
|
// Inline function 'kotlin.getValue' call
|
|
11857
11876
|
getPropertyCallableRef('gameLogicInteractor', 1, tmp, OnlineGameStoreContract$_get_gameLogicInteractor_$ref_o2hr23_0(), null);
|
|
11858
11877
|
return tmp0.u();
|
|
11859
11878
|
}
|
|
11860
11879
|
function _get_clientLifecycleReducer__6ihp6m_0($this) {
|
|
11861
|
-
var tmp0 = $this.
|
|
11880
|
+
var tmp0 = $this.pb5_1;
|
|
11862
11881
|
var tmp = KProperty1;
|
|
11863
11882
|
// Inline function 'kotlin.getValue' call
|
|
11864
11883
|
getPropertyCallableRef('clientLifecycleReducer', 1, tmp, OnlineGameStoreContract$_get_clientLifecycleReducer_$ref_ureow3_0(), null);
|
|
11865
11884
|
return tmp0.u();
|
|
11866
11885
|
}
|
|
11867
11886
|
function _get_logicConfig__52ww9d($this) {
|
|
11868
|
-
var tmp0 = $this.
|
|
11887
|
+
var tmp0 = $this.qb5_1;
|
|
11869
11888
|
var tmp = KProperty1;
|
|
11870
11889
|
// Inline function 'kotlin.getValue' call
|
|
11871
11890
|
getPropertyCallableRef('logicConfig', 1, tmp, OnlineGameStoreContract$_get_logicConfig_$ref_witaom_0(), null);
|
|
11872
11891
|
return tmp0.u();
|
|
11873
11892
|
}
|
|
11874
11893
|
function _get_playerTurnTagProvider__7cizx8_0($this) {
|
|
11875
|
-
var tmp0 = $this.
|
|
11894
|
+
var tmp0 = $this.rb5_1;
|
|
11876
11895
|
var tmp = KProperty1;
|
|
11877
11896
|
// Inline function 'kotlin.getValue' call
|
|
11878
11897
|
getPropertyCallableRef('playerTurnTagProvider', 1, tmp, OnlineGameStoreContract$_get_playerTurnTagProvider_$ref_mhfyf1_0(), null);
|
|
11879
11898
|
return tmp0.u();
|
|
11880
11899
|
}
|
|
11881
11900
|
function _get_botConfig__cpaxzc($this) {
|
|
11882
|
-
var tmp0 = $this.
|
|
11901
|
+
var tmp0 = $this.sb5_1;
|
|
11883
11902
|
var tmp = KProperty1;
|
|
11884
11903
|
// Inline function 'kotlin.getValue' call
|
|
11885
11904
|
getPropertyCallableRef('botConfig', 1, tmp, OnlineGameStoreContract$_get_botConfig_$ref_t93dgh_0(), null);
|
|
11886
11905
|
return tmp0.u();
|
|
11887
11906
|
}
|
|
11888
11907
|
function _get_gameClientConfig__xfscic_1($this) {
|
|
11889
|
-
var tmp0 = $this.
|
|
11908
|
+
var tmp0 = $this.tb5_1;
|
|
11890
11909
|
var tmp = KProperty1;
|
|
11891
11910
|
// Inline function 'kotlin.getValue' call
|
|
11892
11911
|
getPropertyCallableRef('gameClientConfig', 1, tmp, OnlineGameStoreContract$_get_gameClientConfig_$ref_8vuui9_0(), null);
|
|
11893
11912
|
return tmp0.u();
|
|
11894
11913
|
}
|
|
11895
11914
|
function _get_asyncProvider__jbpyhw_0($this) {
|
|
11896
|
-
var tmp0 = $this.
|
|
11915
|
+
var tmp0 = $this.ub5_1;
|
|
11897
11916
|
var tmp = KProperty1;
|
|
11898
11917
|
// Inline function 'kotlin.getValue' call
|
|
11899
11918
|
getPropertyCallableRef('asyncProvider', 1, tmp, OnlineGameStoreContract$_get_asyncProvider_$ref_cmy4eb_0(), null);
|
|
11900
11919
|
return tmp0.u();
|
|
11901
11920
|
}
|
|
11902
11921
|
function _get_fromClientEventsObserver__a7vzd3($this) {
|
|
11903
|
-
var tmp0 = $this.
|
|
11922
|
+
var tmp0 = $this.vb5_1;
|
|
11904
11923
|
var tmp = KProperty1;
|
|
11905
11924
|
// Inline function 'kotlin.getValue' call
|
|
11906
11925
|
getPropertyCallableRef('fromClientEventsObserver', 1, tmp, OnlineGameStoreContract$_get_fromClientEventsObserver_$ref_cfl5l8_0(), null);
|
|
11907
11926
|
return tmp0.u();
|
|
11908
11927
|
}
|
|
11909
11928
|
function _get_lastCardInteractor__h6lq3w($this) {
|
|
11910
|
-
var tmp0 = $this.
|
|
11929
|
+
var tmp0 = $this.wb5_1;
|
|
11911
11930
|
var tmp = KProperty1;
|
|
11912
11931
|
// Inline function 'kotlin.getValue' call
|
|
11913
11932
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, OnlineGameStoreContract$_get_lastCardInteractor_$ref_6ivvap_0(), null);
|
|
11914
11933
|
return tmp0.u();
|
|
11915
11934
|
}
|
|
11916
11935
|
function _get_dealerInteractor__6aitmv($this) {
|
|
11917
|
-
var tmp0 = $this.
|
|
11936
|
+
var tmp0 = $this.xb5_1;
|
|
11918
11937
|
var tmp = KProperty1;
|
|
11919
11938
|
// Inline function 'kotlin.getValue' call
|
|
11920
11939
|
getPropertyCallableRef('dealerInteractor', 1, tmp, OnlineGameStoreContract$_get_dealerInteractor_$ref_fqiugy_0(), null);
|
|
11921
11940
|
return tmp0.u();
|
|
11922
11941
|
}
|
|
11923
11942
|
function _get_mechanicReducers__ipi0tc($this) {
|
|
11924
|
-
var tmp0 = $this.
|
|
11943
|
+
var tmp0 = $this.yb5_1;
|
|
11925
11944
|
var tmp = KProperty1;
|
|
11926
11945
|
// Inline function 'kotlin.getValue' call
|
|
11927
11946
|
getPropertyCallableRef('mechanicReducers', 1, tmp, OnlineGameStoreContract$_get_mechanicReducers_$ref_lka6cl_0(), null);
|
|
11928
11947
|
return tmp0.u();
|
|
11929
11948
|
}
|
|
11930
11949
|
function _get_transitionsReducer__bsis4j($this) {
|
|
11931
|
-
var tmp0 = $this.
|
|
11950
|
+
var tmp0 = $this.zb5_1;
|
|
11932
11951
|
var tmp = KProperty1;
|
|
11933
11952
|
// Inline function 'kotlin.getValue' call
|
|
11934
11953
|
getPropertyCallableRef('transitionsReducer', 1, tmp, OnlineGameStoreContract$_get_transitionsReducer_$ref_q3kxgi_0(), null);
|
|
@@ -12086,12 +12105,12 @@
|
|
|
12086
12105
|
}
|
|
12087
12106
|
function OnlineGameStoreContract$_get_middlewares_$lambda_9o1az3(this$0) {
|
|
12088
12107
|
return function (it) {
|
|
12089
|
-
return it === this$0.
|
|
12108
|
+
return it === this$0.fb5_1;
|
|
12090
12109
|
};
|
|
12091
12110
|
}
|
|
12092
12111
|
function OnlineGameStoreContract$_get_middlewares_$lambda_9o1az3_0(this$0) {
|
|
12093
12112
|
return function (player) {
|
|
12094
|
-
return player.playerId === this$0.
|
|
12113
|
+
return player.playerId === this$0.fb5_1;
|
|
12095
12114
|
};
|
|
12096
12115
|
}
|
|
12097
12116
|
function OnlineGameStoreContract(di, currentPlayerId, validationStoreContract, clientCommonStoreContract, botGameStoreContract, playerTurnStoreContract, fileLoggerStoreContract) {
|
|
@@ -12100,12 +12119,12 @@
|
|
|
12100
12119
|
botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di, listOf_0(currentPlayerId)) : botGameStoreContract;
|
|
12101
12120
|
playerTurnStoreContract = playerTurnStoreContract === VOID ? new PlayerTurnStoreContract(di, false, currentPlayerId) : playerTurnStoreContract;
|
|
12102
12121
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di, currentPlayerId) : fileLoggerStoreContract;
|
|
12103
|
-
this.
|
|
12104
|
-
this.
|
|
12105
|
-
this.
|
|
12106
|
-
this.
|
|
12107
|
-
this.
|
|
12108
|
-
this.
|
|
12122
|
+
this.fb5_1 = currentPlayerId;
|
|
12123
|
+
this.gb5_1 = validationStoreContract;
|
|
12124
|
+
this.hb5_1 = clientCommonStoreContract;
|
|
12125
|
+
this.ib5_1 = botGameStoreContract;
|
|
12126
|
+
this.jb5_1 = playerTurnStoreContract;
|
|
12127
|
+
this.kb5_1 = fileLoggerStoreContract;
|
|
12109
12128
|
var tmp = this;
|
|
12110
12129
|
// Inline function 'org.kodein.di.instance' call
|
|
12111
12130
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12113,7 +12132,7 @@
|
|
|
12113
12132
|
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
12114
12133
|
var tmp_1 = Instance(di, tmp$ret$0, null);
|
|
12115
12134
|
var tmp_2 = KProperty1;
|
|
12116
|
-
tmp.
|
|
12135
|
+
tmp.lb5_1 = tmp_1.k67(this, getPropertyCallableRef('messageFactory', 1, tmp_2, OnlineGameStoreContract$_get_messageFactory_$ref_5nllg3(), null));
|
|
12117
12136
|
var tmp_3 = this;
|
|
12118
12137
|
// Inline function 'org.kodein.di.instance' call
|
|
12119
12138
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12121,7 +12140,7 @@
|
|
|
12121
12140
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
12122
12141
|
var tmp_5 = Instance(di, tmp$ret$2, null);
|
|
12123
12142
|
var tmp_6 = KProperty1;
|
|
12124
|
-
tmp_3.
|
|
12143
|
+
tmp_3.mb5_1 = tmp_5.k67(this, getPropertyCallableRef('pointsInteractor', 1, tmp_6, OnlineGameStoreContract$_get_pointsInteractor_$ref_wc6oc(), null));
|
|
12125
12144
|
var tmp_7 = this;
|
|
12126
12145
|
// Inline function 'org.kodein.di.instance' call
|
|
12127
12146
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12129,7 +12148,7 @@
|
|
|
12129
12148
|
var tmp$ret$4 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
12130
12149
|
var tmp_9 = Instance(di, tmp$ret$4, null);
|
|
12131
12150
|
var tmp_10 = KProperty1;
|
|
12132
|
-
tmp_7.
|
|
12151
|
+
tmp_7.nb5_1 = tmp_9.k67(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_10, OnlineGameStoreContract$_get_teamsLogicProvider_$ref_14f7dj(), null));
|
|
12133
12152
|
var tmp_11 = this;
|
|
12134
12153
|
// Inline function 'org.kodein.di.instance' call
|
|
12135
12154
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12137,7 +12156,7 @@
|
|
|
12137
12156
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
12138
12157
|
var tmp_13 = Instance(di, tmp$ret$6, null);
|
|
12139
12158
|
var tmp_14 = KProperty1;
|
|
12140
|
-
tmp_11.
|
|
12159
|
+
tmp_11.ob5_1 = tmp_13.k67(this, getPropertyCallableRef('gameLogicInteractor', 1, tmp_14, OnlineGameStoreContract$_get_gameLogicInteractor_$ref_o2hr23(), null));
|
|
12141
12160
|
var tmp_15 = this;
|
|
12142
12161
|
// Inline function 'org.kodein.di.instance' call
|
|
12143
12162
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12145,7 +12164,7 @@
|
|
|
12145
12164
|
var tmp$ret$8 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
12146
12165
|
var tmp_17 = Instance(di, tmp$ret$8, null);
|
|
12147
12166
|
var tmp_18 = KProperty1;
|
|
12148
|
-
tmp_15.
|
|
12167
|
+
tmp_15.pb5_1 = tmp_17.k67(this, getPropertyCallableRef('clientLifecycleReducer', 1, tmp_18, OnlineGameStoreContract$_get_clientLifecycleReducer_$ref_ureow3(), null));
|
|
12149
12168
|
var tmp_19 = this;
|
|
12150
12169
|
// Inline function 'org.kodein.di.instance' call
|
|
12151
12170
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12153,7 +12172,7 @@
|
|
|
12153
12172
|
var tmp$ret$10 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
12154
12173
|
var tmp_21 = Instance(di, tmp$ret$10, null);
|
|
12155
12174
|
var tmp_22 = KProperty1;
|
|
12156
|
-
tmp_19.
|
|
12175
|
+
tmp_19.qb5_1 = tmp_21.k67(this, getPropertyCallableRef('logicConfig', 1, tmp_22, OnlineGameStoreContract$_get_logicConfig_$ref_witaom(), null));
|
|
12157
12176
|
var tmp_23 = this;
|
|
12158
12177
|
// Inline function 'org.kodein.di.instance' call
|
|
12159
12178
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12161,7 +12180,7 @@
|
|
|
12161
12180
|
var tmp$ret$12 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
12162
12181
|
var tmp_25 = Instance(di, tmp$ret$12, null);
|
|
12163
12182
|
var tmp_26 = KProperty1;
|
|
12164
|
-
tmp_23.
|
|
12183
|
+
tmp_23.rb5_1 = tmp_25.k67(this, getPropertyCallableRef('playerTurnTagProvider', 1, tmp_26, OnlineGameStoreContract$_get_playerTurnTagProvider_$ref_mhfyf1(), null));
|
|
12165
12184
|
var tmp_27 = this;
|
|
12166
12185
|
// Inline function 'org.kodein.di.instance' call
|
|
12167
12186
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12169,7 +12188,7 @@
|
|
|
12169
12188
|
var tmp$ret$14 = isInterface(tmp_28, TypeToken) ? tmp_28 : THROW_CCE();
|
|
12170
12189
|
var tmp_29 = Instance(di, tmp$ret$14, null);
|
|
12171
12190
|
var tmp_30 = KProperty1;
|
|
12172
|
-
tmp_27.
|
|
12191
|
+
tmp_27.sb5_1 = tmp_29.k67(this, getPropertyCallableRef('botConfig', 1, tmp_30, OnlineGameStoreContract$_get_botConfig_$ref_t93dgh(), null));
|
|
12173
12192
|
var tmp_31 = this;
|
|
12174
12193
|
// Inline function 'org.kodein.di.instance' call
|
|
12175
12194
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12177,7 +12196,7 @@
|
|
|
12177
12196
|
var tmp$ret$16 = isInterface(tmp_32, TypeToken) ? tmp_32 : THROW_CCE();
|
|
12178
12197
|
var tmp_33 = Instance(di, tmp$ret$16, null);
|
|
12179
12198
|
var tmp_34 = KProperty1;
|
|
12180
|
-
tmp_31.
|
|
12199
|
+
tmp_31.tb5_1 = tmp_33.k67(this, getPropertyCallableRef('gameClientConfig', 1, tmp_34, OnlineGameStoreContract$_get_gameClientConfig_$ref_8vuui9(), null));
|
|
12181
12200
|
var tmp_35 = this;
|
|
12182
12201
|
// Inline function 'org.kodein.di.instance' call
|
|
12183
12202
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12185,7 +12204,7 @@
|
|
|
12185
12204
|
var tmp$ret$18 = isInterface(tmp_36, TypeToken) ? tmp_36 : THROW_CCE();
|
|
12186
12205
|
var tmp_37 = Instance(di, tmp$ret$18, null);
|
|
12187
12206
|
var tmp_38 = KProperty1;
|
|
12188
|
-
tmp_35.
|
|
12207
|
+
tmp_35.ub5_1 = tmp_37.k67(this, getPropertyCallableRef('asyncProvider', 1, tmp_38, OnlineGameStoreContract$_get_asyncProvider_$ref_cmy4eb(), null));
|
|
12189
12208
|
var tmp_39 = this;
|
|
12190
12209
|
// Inline function 'org.kodein.di.instance' call
|
|
12191
12210
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12193,7 +12212,7 @@
|
|
|
12193
12212
|
var tmp$ret$20 = isInterface(tmp_40, TypeToken) ? tmp_40 : THROW_CCE();
|
|
12194
12213
|
var tmp_41 = Instance(di, tmp$ret$20, null);
|
|
12195
12214
|
var tmp_42 = KProperty1;
|
|
12196
|
-
tmp_39.
|
|
12215
|
+
tmp_39.vb5_1 = tmp_41.k67(this, getPropertyCallableRef('fromClientEventsObserver', 1, tmp_42, OnlineGameStoreContract$_get_fromClientEventsObserver_$ref_cfl5l8(), null));
|
|
12197
12216
|
var tmp_43 = this;
|
|
12198
12217
|
// Inline function 'org.kodein.di.instance' call
|
|
12199
12218
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12201,7 +12220,7 @@
|
|
|
12201
12220
|
var tmp$ret$22 = isInterface(tmp_44, TypeToken) ? tmp_44 : THROW_CCE();
|
|
12202
12221
|
var tmp_45 = Instance(di, tmp$ret$22, null);
|
|
12203
12222
|
var tmp_46 = KProperty1;
|
|
12204
|
-
tmp_43.
|
|
12223
|
+
tmp_43.wb5_1 = tmp_45.k67(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_46, OnlineGameStoreContract$_get_lastCardInteractor_$ref_6ivvap(), null));
|
|
12205
12224
|
var tmp_47 = this;
|
|
12206
12225
|
// Inline function 'org.kodein.di.instance' call
|
|
12207
12226
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12209,7 +12228,7 @@
|
|
|
12209
12228
|
var tmp$ret$24 = isInterface(tmp_48, TypeToken) ? tmp_48 : THROW_CCE();
|
|
12210
12229
|
var tmp_49 = Instance(di, tmp$ret$24, null);
|
|
12211
12230
|
var tmp_50 = KProperty1;
|
|
12212
|
-
tmp_47.
|
|
12231
|
+
tmp_47.xb5_1 = tmp_49.k67(this, getPropertyCallableRef('dealerInteractor', 1, tmp_50, OnlineGameStoreContract$_get_dealerInteractor_$ref_fqiugy(), null));
|
|
12213
12232
|
var tmp_51 = this;
|
|
12214
12233
|
// Inline function 'org.kodein.di.instance' call
|
|
12215
12234
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12217,7 +12236,7 @@
|
|
|
12217
12236
|
var tmp$ret$26 = isInterface(tmp_52, TypeToken) ? tmp_52 : THROW_CCE();
|
|
12218
12237
|
var tmp_53 = Instance(di, tmp$ret$26, null);
|
|
12219
12238
|
var tmp_54 = KProperty1;
|
|
12220
|
-
tmp_51.
|
|
12239
|
+
tmp_51.yb5_1 = tmp_53.k67(this, getPropertyCallableRef('mechanicReducers', 1, tmp_54, OnlineGameStoreContract$_get_mechanicReducers_$ref_lka6cl(), null));
|
|
12221
12240
|
var tmp_55 = this;
|
|
12222
12241
|
// Inline function 'org.kodein.di.instance' call
|
|
12223
12242
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12225,30 +12244,30 @@
|
|
|
12225
12244
|
var tmp$ret$28 = isInterface(tmp_56, TypeToken) ? tmp_56 : THROW_CCE();
|
|
12226
12245
|
var tmp_57 = Instance(di, tmp$ret$28, null);
|
|
12227
12246
|
var tmp_58 = KProperty1;
|
|
12228
|
-
tmp_55.
|
|
12247
|
+
tmp_55.zb5_1 = tmp_57.k67(this, getPropertyCallableRef('transitionsReducer', 1, tmp_58, OnlineGameStoreContract$_get_transitionsReducer_$ref_q3kxgi(), null));
|
|
12229
12248
|
}
|
|
12230
12249
|
protoOf(OnlineGameStoreContract).f94 = function () {
|
|
12231
|
-
var tmp = plus(plus(plus(plus(this.
|
|
12250
|
+
var tmp = plus(plus(plus(plus(this.gb5_1.f94(), _get_transitionsReducer__bsis4j(this).ab6(this.fb5_1)), listOf([_get_mechanicReducers__ipi0tc(this).k95(), clientErrorStateWhenTerminationActionReducer(_get_clientLifecycleReducer__6ihp6m_0(this))])), this.jb5_1.f94()), this.hb5_1.f94());
|
|
12232
12251
|
var tmp_0;
|
|
12233
12252
|
if (_get_gameClientConfig__xfscic_1(this).isAutoStepCurrentPlayer) {
|
|
12234
|
-
tmp_0 = this.
|
|
12253
|
+
tmp_0 = this.ib5_1.f94();
|
|
12235
12254
|
} else {
|
|
12236
12255
|
tmp_0 = emptyList();
|
|
12237
12256
|
}
|
|
12238
|
-
return plus(plus(tmp, tmp_0), this.
|
|
12257
|
+
return plus(plus(tmp, tmp_0), this.kb5_1.f94());
|
|
12239
12258
|
};
|
|
12240
12259
|
protoOf(OnlineGameStoreContract).g94 = function () {
|
|
12241
12260
|
var messagesMiddleware = new MessagesMiddleware(_get_messageFactory__6vg0vc_0(this), _get_pointsInteractor__5t71wv(this), _get_teamsLogicProvider__u10pm6(this));
|
|
12242
|
-
var tmp = plus(plus(plus(_get_transitionsReducer__bsis4j(this).g94(), this.
|
|
12261
|
+
var tmp = plus(plus(plus(_get_transitionsReducer__bsis4j(this).g94(), this.gb5_1.g94()), this.jb5_1.g94()), this.hb5_1.g94());
|
|
12243
12262
|
var tmp_0;
|
|
12244
12263
|
if (_get_gameClientConfig__xfscic_1(this).isAutoStepCurrentPlayer) {
|
|
12245
|
-
var tmp_1 = this.
|
|
12264
|
+
var tmp_1 = this.ib5_1.g94();
|
|
12246
12265
|
var tmp_2 = playerTurnTimeoutMiddleware(_get_asyncProvider__jbpyhw_0(this));
|
|
12247
12266
|
tmp_0 = plus(tmp_1, listOf([tmp_2, reloadTimersWhenContinueGameMiddleware(true, VOID, OnlineGameStoreContract$_get_middlewares_$lambda_9o1az3(this))]));
|
|
12248
12267
|
} else {
|
|
12249
12268
|
tmp_0 = emptyList();
|
|
12250
12269
|
}
|
|
12251
|
-
var tmp_3 = plus(plus(plus(tmp, tmp_0), this.
|
|
12270
|
+
var tmp_3 = plus(plus(plus(tmp, tmp_0), this.kb5_1.g94()), listOfNotNull([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw_0(this), _get_fromClientEventsObserver__a7vzd3(this)), announceCombinationMiddleware(_get_playerTurnTagProvider__7cizx8_0(this)), clientHostDealerMiddleware(this.fb5_1, _get_dealerInteractor__6aitmv(this), _get_playerTurnTagProvider__7cizx8_0(this)), _get_logicConfig__52ww9d(this).supportBackwardActions ? clientConsumeFromClientActionsMiddleware(_get_gameLogicInteractor__895s7o(this)) : null, messagesMiddleware.eb6(this.fb5_1)]));
|
|
12252
12271
|
var tmp_4;
|
|
12253
12272
|
if (_get_botConfig__cpaxzc(this).autoStepLastCard) {
|
|
12254
12273
|
var tmp_5;
|
|
@@ -12258,84 +12277,84 @@
|
|
|
12258
12277
|
} else {
|
|
12259
12278
|
tmp_5 = null;
|
|
12260
12279
|
}
|
|
12261
|
-
tmp_4 = listOfNotNull([tmp_5, !_get_gameClientConfig__xfscic_1(this).isAutoStepCurrentPlayer ? clientPutCurrentPlayerLastCardMiddleware(this.
|
|
12280
|
+
tmp_4 = listOfNotNull([tmp_5, !_get_gameClientConfig__xfscic_1(this).isAutoStepCurrentPlayer ? clientPutCurrentPlayerLastCardMiddleware(this.fb5_1, _get_lastCardInteractor__h6lq3w(this)) : null]);
|
|
12262
12281
|
} else {
|
|
12263
12282
|
tmp_4 = emptyList();
|
|
12264
12283
|
}
|
|
12265
12284
|
return plus(tmp_3, tmp_4);
|
|
12266
12285
|
};
|
|
12267
12286
|
function _get_messageFactory__6vg0vc_1($this) {
|
|
12268
|
-
var tmp0 = $this.
|
|
12287
|
+
var tmp0 = $this.lb6_1;
|
|
12269
12288
|
var tmp = KProperty1;
|
|
12270
12289
|
// Inline function 'kotlin.getValue' call
|
|
12271
12290
|
getPropertyCallableRef('messageFactory', 1, tmp, SingleGameStoreContract$_get_messageFactory_$ref_hjklia_0(), null);
|
|
12272
12291
|
return tmp0.u();
|
|
12273
12292
|
}
|
|
12274
12293
|
function _get_pointsInteractor__5t71wv_0($this) {
|
|
12275
|
-
var tmp0 = $this.
|
|
12294
|
+
var tmp0 = $this.mb6_1;
|
|
12276
12295
|
var tmp = KProperty1;
|
|
12277
12296
|
// Inline function 'kotlin.getValue' call
|
|
12278
12297
|
getPropertyCallableRef('pointsInteractor', 1, tmp, SingleGameStoreContract$_get_pointsInteractor_$ref_a5dro7_0(), null);
|
|
12279
12298
|
return tmp0.u();
|
|
12280
12299
|
}
|
|
12281
12300
|
function _get_teamsLogicProvider__u10pm6_0($this) {
|
|
12282
|
-
var tmp0 = $this.
|
|
12301
|
+
var tmp0 = $this.nb6_1;
|
|
12283
12302
|
var tmp = KProperty1;
|
|
12284
12303
|
// Inline function 'kotlin.getValue' call
|
|
12285
12304
|
getPropertyCallableRef('teamsLogicProvider', 1, tmp, SingleGameStoreContract$_get_teamsLogicProvider_$ref_afrf04_0(), null);
|
|
12286
12305
|
return tmp0.u();
|
|
12287
12306
|
}
|
|
12288
12307
|
function _get_clientStatisticsInteractor__s4ngf8($this) {
|
|
12289
|
-
var tmp0 = $this.
|
|
12308
|
+
var tmp0 = $this.ob6_1;
|
|
12290
12309
|
var tmp = KProperty1;
|
|
12291
12310
|
// Inline function 'kotlin.getValue' call
|
|
12292
12311
|
getPropertyCallableRef('clientStatisticsInteractor', 1, tmp, SingleGameStoreContract$_get_clientStatisticsInteractor_$ref_5vsroi_0(), null);
|
|
12293
12312
|
return tmp0.u();
|
|
12294
12313
|
}
|
|
12295
12314
|
function _get_asyncProvider__jbpyhw_1($this) {
|
|
12296
|
-
var tmp0 = $this.
|
|
12315
|
+
var tmp0 = $this.pb6_1;
|
|
12297
12316
|
var tmp = KProperty1;
|
|
12298
12317
|
// Inline function 'kotlin.getValue' call
|
|
12299
12318
|
getPropertyCallableRef('asyncProvider', 1, tmp, SingleGameStoreContract$_get_asyncProvider_$ref_50jleg_0(), null);
|
|
12300
12319
|
return tmp0.u();
|
|
12301
12320
|
}
|
|
12302
12321
|
function _get_persistentAppStateInteractor__5jt7l7($this) {
|
|
12303
|
-
var tmp0 = $this.
|
|
12322
|
+
var tmp0 = $this.qb6_1;
|
|
12304
12323
|
var tmp = KProperty1;
|
|
12305
12324
|
// Inline function 'kotlin.getValue' call
|
|
12306
12325
|
getPropertyCallableRef('persistentAppStateInteractor', 1, tmp, SingleGameStoreContract$_get_persistentAppStateInteractor_$ref_dg0kf9_0(), null);
|
|
12307
12326
|
return tmp0.u();
|
|
12308
12327
|
}
|
|
12309
12328
|
function _get_gameClientConfig__xfscic_2($this) {
|
|
12310
|
-
var tmp0 = $this.
|
|
12329
|
+
var tmp0 = $this.rb6_1;
|
|
12311
12330
|
var tmp = KProperty1;
|
|
12312
12331
|
// Inline function 'kotlin.getValue' call
|
|
12313
12332
|
getPropertyCallableRef('gameClientConfig', 1, tmp, SingleGameStoreContract$_get_gameClientConfig_$ref_d6qhm_0(), null);
|
|
12314
12333
|
return tmp0.u();
|
|
12315
12334
|
}
|
|
12316
12335
|
function _get_botConfig__cpaxzc_0($this) {
|
|
12317
|
-
var tmp0 = $this.
|
|
12336
|
+
var tmp0 = $this.sb6_1;
|
|
12318
12337
|
var tmp = KProperty1;
|
|
12319
12338
|
// Inline function 'kotlin.getValue' call
|
|
12320
12339
|
getPropertyCallableRef('botConfig', 1, tmp, SingleGameStoreContract$_get_botConfig_$ref_liacqc_0(), null);
|
|
12321
12340
|
return tmp0.u();
|
|
12322
12341
|
}
|
|
12323
12342
|
function _get_lastCardInteractor__h6lq3w_0($this) {
|
|
12324
|
-
var tmp0 = $this.
|
|
12343
|
+
var tmp0 = $this.tb6_1;
|
|
12325
12344
|
var tmp = KProperty1;
|
|
12326
12345
|
// Inline function 'kotlin.getValue' call
|
|
12327
12346
|
getPropertyCallableRef('lastCardInteractor', 1, tmp, SingleGameStoreContract$_get_lastCardInteractor_$ref_51ar2y_0(), null);
|
|
12328
12347
|
return tmp0.u();
|
|
12329
12348
|
}
|
|
12330
12349
|
function _get_playerTurnTagProvider__7cizx8_1($this) {
|
|
12331
|
-
var tmp0 = $this.
|
|
12350
|
+
var tmp0 = $this.ub6_1;
|
|
12332
12351
|
var tmp = KProperty1;
|
|
12333
12352
|
// Inline function 'kotlin.getValue' call
|
|
12334
12353
|
getPropertyCallableRef('playerTurnTagProvider', 1, tmp, SingleGameStoreContract$_get_playerTurnTagProvider_$ref_ng35ug_0(), null);
|
|
12335
12354
|
return tmp0.u();
|
|
12336
12355
|
}
|
|
12337
12356
|
function _get_transitionsReducer__bsis4j_0($this) {
|
|
12338
|
-
var tmp0 = $this.
|
|
12357
|
+
var tmp0 = $this.vb6_1;
|
|
12339
12358
|
var tmp = KProperty1;
|
|
12340
12359
|
// Inline function 'kotlin.getValue' call
|
|
12341
12360
|
getPropertyCallableRef('transitionsReducer', 1, tmp, SingleGameStoreContract$_get_transitionsReducer_$ref_ejeb2v_0(), null);
|
|
@@ -12453,12 +12472,12 @@
|
|
|
12453
12472
|
}
|
|
12454
12473
|
function SingleGameStoreContract$_get_middlewares_$lambda_dj4vza(this$0) {
|
|
12455
12474
|
return function (it) {
|
|
12456
|
-
return !(it === this$0.
|
|
12475
|
+
return !(it === this$0.fb6_1) || _get_gameClientConfig__xfscic_2(this$0).isAutoStepCurrentPlayer;
|
|
12457
12476
|
};
|
|
12458
12477
|
}
|
|
12459
12478
|
function SingleGameStoreContract$_get_middlewares_$lambda_dj4vza_0(this$0) {
|
|
12460
12479
|
return function (player) {
|
|
12461
|
-
var isCurrentPlayer = player.playerId === this$0.
|
|
12480
|
+
var isCurrentPlayer = player.playerId === this$0.fb6_1;
|
|
12462
12481
|
return !isCurrentPlayer || _get_gameClientConfig__xfscic_2(this$0).isAutoStepCurrentPlayer;
|
|
12463
12482
|
};
|
|
12464
12483
|
}
|
|
@@ -12485,12 +12504,12 @@
|
|
|
12485
12504
|
}
|
|
12486
12505
|
botGameStoreContract = tmp;
|
|
12487
12506
|
fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di, currentPlayerId) : fileLoggerStoreContract;
|
|
12488
|
-
this.
|
|
12489
|
-
this.
|
|
12490
|
-
this.
|
|
12491
|
-
this.
|
|
12492
|
-
this.
|
|
12493
|
-
this.
|
|
12507
|
+
this.fb6_1 = currentPlayerId;
|
|
12508
|
+
this.gb6_1 = validationStoreContract;
|
|
12509
|
+
this.hb6_1 = clientCommonStoreContract;
|
|
12510
|
+
this.ib6_1 = gameMechanicStoreContract;
|
|
12511
|
+
this.jb6_1 = botGameStoreContract;
|
|
12512
|
+
this.kb6_1 = fileLoggerStoreContract;
|
|
12494
12513
|
var tmp_3 = this;
|
|
12495
12514
|
// Inline function 'org.kodein.di.instance' call
|
|
12496
12515
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12498,7 +12517,7 @@
|
|
|
12498
12517
|
var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
|
|
12499
12518
|
var tmp_5 = Instance(di, tmp$ret$2, null);
|
|
12500
12519
|
var tmp_6 = KProperty1;
|
|
12501
|
-
tmp_3.
|
|
12520
|
+
tmp_3.lb6_1 = tmp_5.k67(this, getPropertyCallableRef('messageFactory', 1, tmp_6, SingleGameStoreContract$_get_messageFactory_$ref_hjklia(), null));
|
|
12502
12521
|
var tmp_7 = this;
|
|
12503
12522
|
// Inline function 'org.kodein.di.instance' call
|
|
12504
12523
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12506,7 +12525,7 @@
|
|
|
12506
12525
|
var tmp$ret$4 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
|
|
12507
12526
|
var tmp_9 = Instance(di, tmp$ret$4, null);
|
|
12508
12527
|
var tmp_10 = KProperty1;
|
|
12509
|
-
tmp_7.
|
|
12528
|
+
tmp_7.mb6_1 = tmp_9.k67(this, getPropertyCallableRef('pointsInteractor', 1, tmp_10, SingleGameStoreContract$_get_pointsInteractor_$ref_a5dro7(), null));
|
|
12510
12529
|
var tmp_11 = this;
|
|
12511
12530
|
// Inline function 'org.kodein.di.instance' call
|
|
12512
12531
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12514,7 +12533,7 @@
|
|
|
12514
12533
|
var tmp$ret$6 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
|
|
12515
12534
|
var tmp_13 = Instance(di, tmp$ret$6, null);
|
|
12516
12535
|
var tmp_14 = KProperty1;
|
|
12517
|
-
tmp_11.
|
|
12536
|
+
tmp_11.nb6_1 = tmp_13.k67(this, getPropertyCallableRef('teamsLogicProvider', 1, tmp_14, SingleGameStoreContract$_get_teamsLogicProvider_$ref_afrf04(), null));
|
|
12518
12537
|
var tmp_15 = this;
|
|
12519
12538
|
// Inline function 'org.kodein.di.instance' call
|
|
12520
12539
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12522,7 +12541,7 @@
|
|
|
12522
12541
|
var tmp$ret$8 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
|
|
12523
12542
|
var tmp_17 = Instance(di, tmp$ret$8, null);
|
|
12524
12543
|
var tmp_18 = KProperty1;
|
|
12525
|
-
tmp_15.
|
|
12544
|
+
tmp_15.ob6_1 = tmp_17.k67(this, getPropertyCallableRef('clientStatisticsInteractor', 1, tmp_18, SingleGameStoreContract$_get_clientStatisticsInteractor_$ref_5vsroi(), null));
|
|
12526
12545
|
var tmp_19 = this;
|
|
12527
12546
|
// Inline function 'org.kodein.di.instance' call
|
|
12528
12547
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12530,7 +12549,7 @@
|
|
|
12530
12549
|
var tmp$ret$10 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
|
|
12531
12550
|
var tmp_21 = Instance(di, tmp$ret$10, null);
|
|
12532
12551
|
var tmp_22 = KProperty1;
|
|
12533
|
-
tmp_19.
|
|
12552
|
+
tmp_19.pb6_1 = tmp_21.k67(this, getPropertyCallableRef('asyncProvider', 1, tmp_22, SingleGameStoreContract$_get_asyncProvider_$ref_50jleg(), null));
|
|
12534
12553
|
var tmp_23 = this;
|
|
12535
12554
|
// Inline function 'org.kodein.di.instance' call
|
|
12536
12555
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12538,7 +12557,7 @@
|
|
|
12538
12557
|
var tmp$ret$12 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
|
|
12539
12558
|
var tmp_25 = Instance(di, tmp$ret$12, null);
|
|
12540
12559
|
var tmp_26 = KProperty1;
|
|
12541
|
-
tmp_23.
|
|
12560
|
+
tmp_23.qb6_1 = tmp_25.k67(this, getPropertyCallableRef('persistentAppStateInteractor', 1, tmp_26, SingleGameStoreContract$_get_persistentAppStateInteractor_$ref_dg0kf9(), null));
|
|
12542
12561
|
var tmp_27 = this;
|
|
12543
12562
|
// Inline function 'org.kodein.di.instance' call
|
|
12544
12563
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12546,7 +12565,7 @@
|
|
|
12546
12565
|
var tmp$ret$14 = isInterface(tmp_28, TypeToken) ? tmp_28 : THROW_CCE();
|
|
12547
12566
|
var tmp_29 = Instance(di, tmp$ret$14, null);
|
|
12548
12567
|
var tmp_30 = KProperty1;
|
|
12549
|
-
tmp_27.
|
|
12568
|
+
tmp_27.rb6_1 = tmp_29.k67(this, getPropertyCallableRef('gameClientConfig', 1, tmp_30, SingleGameStoreContract$_get_gameClientConfig_$ref_d6qhm(), null));
|
|
12550
12569
|
var tmp_31 = this;
|
|
12551
12570
|
// Inline function 'org.kodein.di.instance' call
|
|
12552
12571
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12554,7 +12573,7 @@
|
|
|
12554
12573
|
var tmp$ret$16 = isInterface(tmp_32, TypeToken) ? tmp_32 : THROW_CCE();
|
|
12555
12574
|
var tmp_33 = Instance(di, tmp$ret$16, null);
|
|
12556
12575
|
var tmp_34 = KProperty1;
|
|
12557
|
-
tmp_31.
|
|
12576
|
+
tmp_31.sb6_1 = tmp_33.k67(this, getPropertyCallableRef('botConfig', 1, tmp_34, SingleGameStoreContract$_get_botConfig_$ref_liacqc(), null));
|
|
12558
12577
|
var tmp_35 = this;
|
|
12559
12578
|
// Inline function 'org.kodein.di.instance' call
|
|
12560
12579
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12562,7 +12581,7 @@
|
|
|
12562
12581
|
var tmp$ret$18 = isInterface(tmp_36, TypeToken) ? tmp_36 : THROW_CCE();
|
|
12563
12582
|
var tmp_37 = Instance(di, tmp$ret$18, null);
|
|
12564
12583
|
var tmp_38 = KProperty1;
|
|
12565
|
-
tmp_35.
|
|
12584
|
+
tmp_35.tb6_1 = tmp_37.k67(this, getPropertyCallableRef('lastCardInteractor', 1, tmp_38, SingleGameStoreContract$_get_lastCardInteractor_$ref_51ar2y(), null));
|
|
12566
12585
|
var tmp_39 = this;
|
|
12567
12586
|
// Inline function 'org.kodein.di.instance' call
|
|
12568
12587
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12570,7 +12589,7 @@
|
|
|
12570
12589
|
var tmp$ret$20 = isInterface(tmp_40, TypeToken) ? tmp_40 : THROW_CCE();
|
|
12571
12590
|
var tmp_41 = Instance(di, tmp$ret$20, null);
|
|
12572
12591
|
var tmp_42 = KProperty1;
|
|
12573
|
-
tmp_39.
|
|
12592
|
+
tmp_39.ub6_1 = tmp_41.k67(this, getPropertyCallableRef('playerTurnTagProvider', 1, tmp_42, SingleGameStoreContract$_get_playerTurnTagProvider_$ref_ng35ug(), null));
|
|
12574
12593
|
var tmp_43 = this;
|
|
12575
12594
|
// Inline function 'org.kodein.di.instance' call
|
|
12576
12595
|
// Inline function 'org.kodein.type.generic' call
|
|
@@ -12578,24 +12597,24 @@
|
|
|
12578
12597
|
var tmp$ret$22 = isInterface(tmp_44, TypeToken) ? tmp_44 : THROW_CCE();
|
|
12579
12598
|
var tmp_45 = Instance(di, tmp$ret$22, null);
|
|
12580
12599
|
var tmp_46 = KProperty1;
|
|
12581
|
-
tmp_43.
|
|
12600
|
+
tmp_43.vb6_1 = tmp_45.k67(this, getPropertyCallableRef('transitionsReducer', 1, tmp_46, SingleGameStoreContract$_get_transitionsReducer_$ref_ejeb2v(), null));
|
|
12582
12601
|
}
|
|
12583
12602
|
protoOf(SingleGameStoreContract).f94 = function () {
|
|
12584
|
-
return plus(plus(plus(plus(plus(this.
|
|
12603
|
+
return plus(plus(plus(plus(plus(this.gb6_1.f94(), _get_transitionsReducer__bsis4j_0(this).ab6(this.fb6_1)), this.ib6_1.f94()), this.hb6_1.f94()), this.jb6_1.f94()), this.kb6_1.f94());
|
|
12585
12604
|
};
|
|
12586
12605
|
protoOf(SingleGameStoreContract).g94 = function () {
|
|
12587
12606
|
var messagesMiddleware = new MessagesMiddleware(_get_messageFactory__6vg0vc_1(this), _get_pointsInteractor__5t71wv_0(this), _get_teamsLogicProvider__u10pm6_0(this));
|
|
12588
|
-
var tmp = plus(plus(plus(plus(plus(_get_transitionsReducer__bsis4j_0(this).g94(), this.
|
|
12589
|
-
var tmp_0 = messagesMiddleware.
|
|
12607
|
+
var tmp = plus(plus(plus(plus(plus(_get_transitionsReducer__bsis4j_0(this).g94(), this.gb6_1.g94()), this.ib6_1.g94()), this.hb6_1.g94()), this.jb6_1.g94()), this.kb6_1.g94());
|
|
12608
|
+
var tmp_0 = messagesMiddleware.wb6();
|
|
12590
12609
|
var tmp_1 = announceCombinationMiddleware(_get_playerTurnTagProvider__7cizx8_1(this));
|
|
12591
12610
|
var tmp_2 = playerTurnTimeoutMiddleware(_get_asyncProvider__jbpyhw_1(this));
|
|
12592
12611
|
var tmp_3 = _get_botConfig__cpaxzc_0(this).isDelayForBot;
|
|
12593
12612
|
var tmp_4 = _get_botConfig__cpaxzc_0(this).simulateBotThinkingDelay ? Default_getInstance() : null;
|
|
12594
|
-
var tmp_5 = plus(tmp, listOfNotNull([tmp_0, tmp_1, tmp_2, reloadTimersWhenContinueGameMiddleware(tmp_3, tmp_4, SingleGameStoreContract$_get_middlewares_$lambda_dj4vza(this)), statisticsMiddleware(_get_asyncProvider__jbpyhw_1(this), this.
|
|
12613
|
+
var tmp_5 = plus(tmp, listOfNotNull([tmp_0, tmp_1, tmp_2, reloadTimersWhenContinueGameMiddleware(tmp_3, tmp_4, SingleGameStoreContract$_get_middlewares_$lambda_dj4vza(this)), statisticsMiddleware(_get_asyncProvider__jbpyhw_1(this), this.fb6_1, _get_clientStatisticsInteractor__s4ngf8(this)), exitAndSaveGameMiddleware(this.fb6_1, _get_asyncProvider__jbpyhw_1(this), _get_persistentAppStateInteractor__5jt7l7(this)), saveGameWhenAppOnBackgroundMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_persistentAppStateInteractor__5jt7l7(this)), removeSavedGameMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_persistentAppStateInteractor__5jt7l7(this)), removeSavedGameWhenErrorMiddleware(_get_asyncProvider__jbpyhw_1(this), _get_persistentAppStateInteractor__5jt7l7(this))]));
|
|
12595
12614
|
var tmp_6;
|
|
12596
12615
|
if (_get_botConfig__cpaxzc_0(this).autoStepLastCard) {
|
|
12597
12616
|
var tmp_7 = _get_lastCardInteractor__h6lq3w_0(this);
|
|
12598
|
-
tmp_6 = listOfNotNull([putPlayerLastCardMiddleware(tmp_7, SingleGameStoreContract$_get_middlewares_$lambda_dj4vza_0(this)), !_get_gameClientConfig__xfscic_2(this).isAutoStepCurrentPlayer ? clientPutCurrentPlayerLastCardMiddleware(this.
|
|
12617
|
+
tmp_6 = listOfNotNull([putPlayerLastCardMiddleware(tmp_7, SingleGameStoreContract$_get_middlewares_$lambda_dj4vza_0(this)), !_get_gameClientConfig__xfscic_2(this).isAutoStepCurrentPlayer ? clientPutCurrentPlayerLastCardMiddleware(this.fb6_1, _get_lastCardInteractor__h6lq3w_0(this)) : null]);
|
|
12599
12618
|
} else {
|
|
12600
12619
|
tmp_6 = emptyList();
|
|
12601
12620
|
}
|
|
@@ -12694,8 +12713,8 @@
|
|
|
12694
12713
|
return new announceCombinationMiddleware$$inlined$middlewareForActionType$1(playerTurnTagProvider);
|
|
12695
12714
|
}
|
|
12696
12715
|
function clientCheckCombinationsMiddleware$$inlined$middlewareForActionType$1($combinationProvider, $playerTurnTagProvider) {
|
|
12697
|
-
this.
|
|
12698
|
-
this.
|
|
12716
|
+
this.xb6_1 = $combinationProvider;
|
|
12717
|
+
this.yb6_1 = $playerTurnTagProvider;
|
|
12699
12718
|
}
|
|
12700
12719
|
protoOf(clientCheckCombinationsMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
12701
12720
|
return action instanceof PutCardAndCheckCombinationsAction;
|
|
@@ -12707,7 +12726,7 @@
|
|
|
12707
12726
|
var player = get_currentPlayer(table);
|
|
12708
12727
|
var playerCombinations = player.d70_1.t71_1;
|
|
12709
12728
|
// Inline function 'kotlin.collections.map' call
|
|
12710
|
-
var this_0 = this.
|
|
12729
|
+
var this_0 = this.xb6_1.i8q(playerCombinations);
|
|
12711
12730
|
// Inline function 'kotlin.collections.mapTo' call
|
|
12712
12731
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
12713
12732
|
var _iterator__ex2g4s = this_0.j();
|
|
@@ -12718,10 +12737,10 @@
|
|
|
12718
12737
|
}
|
|
12719
12738
|
var findFirstRoundCombinations = destination;
|
|
12720
12739
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
12721
|
-
var tmp0_elvis_lhs = action_0.
|
|
12740
|
+
var tmp0_elvis_lhs = action_0.jb4_1;
|
|
12722
12741
|
var acceptedCombinations = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
12723
12742
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
12724
|
-
var tmp0_elvis_lhs_0 = action_0.
|
|
12743
|
+
var tmp0_elvis_lhs_0 = action_0.kb4_1;
|
|
12725
12744
|
var declinedCombinations = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
|
|
12726
12745
|
var tmp;
|
|
12727
12746
|
var tmp_0;
|
|
@@ -12815,7 +12834,7 @@
|
|
|
12815
12834
|
if (tmp_0) {
|
|
12816
12835
|
tmp = new CombinationToAnnounceAction(findFirstRoundCombinations, acceptedCombinations, declinedCombinations);
|
|
12817
12836
|
} else {
|
|
12818
|
-
var tmp0_safe_receiver = this.
|
|
12837
|
+
var tmp0_safe_receiver = this.xb6_1.j8q(action_0.ib4_1.m6k_1, playerCombinations, table.config.rules.oneTryToProtectBella);
|
|
12819
12838
|
var findBellaCombination = tmp0_safe_receiver == null ? null : mapFromDetailed(tmp0_safe_receiver);
|
|
12820
12839
|
var tmp_6;
|
|
12821
12840
|
var tmp_7;
|
|
@@ -12889,10 +12908,10 @@
|
|
|
12889
12908
|
tmp_11 = null;
|
|
12890
12909
|
}
|
|
12891
12910
|
var tmp4_combinations = tmp_11;
|
|
12892
|
-
var tmp5_card = action_0.
|
|
12911
|
+
var tmp5_card = action_0.ib4_1.m6k_1;
|
|
12893
12912
|
var tmp1_cardNumber = table.cardsOnTable.m();
|
|
12894
12913
|
var tmp2_round = table.gameInfo.round;
|
|
12895
|
-
var tmp6_tag = this.
|
|
12914
|
+
var tmp6_tag = this.yb6_1.r8q(tmp2_round, VOID, tmp1_cardNumber);
|
|
12896
12915
|
tmp_6 = new CardFromClientAction(tmp3_playerId, false, tmp6_tag, tmp5_card, tmp4_combinations);
|
|
12897
12916
|
}
|
|
12898
12917
|
tmp = tmp_6;
|
|
@@ -12904,7 +12923,7 @@
|
|
|
12904
12923
|
return this.m6p(store, next, action);
|
|
12905
12924
|
};
|
|
12906
12925
|
function announceCombinationMiddleware$$inlined$middlewareForActionType$1($playerTurnTagProvider) {
|
|
12907
|
-
this.
|
|
12926
|
+
this.zb6_1 = $playerTurnTagProvider;
|
|
12908
12927
|
}
|
|
12909
12928
|
protoOf(announceCombinationMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
12910
12929
|
return action instanceof AnnouncedCombinationAction;
|
|
@@ -12928,16 +12947,16 @@
|
|
|
12928
12947
|
}
|
|
12929
12948
|
var combinationsState = tmp$ret$1;
|
|
12930
12949
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
12931
|
-
var tmp0_elvis_lhs = combinationsState.
|
|
12950
|
+
var tmp0_elvis_lhs = combinationsState.bb7_1;
|
|
12932
12951
|
var acceptedCombinations = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
12933
12952
|
// Inline function 'kotlin.collections.orEmpty' call
|
|
12934
|
-
var tmp0_elvis_lhs_0 = combinationsState.
|
|
12953
|
+
var tmp0_elvis_lhs_0 = combinationsState.cb7_1;
|
|
12935
12954
|
var tmp$ret$4 = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
|
|
12936
|
-
var declinedCombinations = plus(combinationsState.
|
|
12937
|
-
if (action_0.
|
|
12938
|
-
acceptedCombinations = plus(acceptedCombinations, combinationsState.
|
|
12955
|
+
var declinedCombinations = plus(combinationsState.ab7_1, tmp$ret$4);
|
|
12956
|
+
if (action_0.db7_1) {
|
|
12957
|
+
acceptedCombinations = plus(acceptedCombinations, combinationsState.ab7_1);
|
|
12939
12958
|
} else {
|
|
12940
|
-
declinedCombinations = plus(declinedCombinations, combinationsState.
|
|
12959
|
+
declinedCombinations = plus(declinedCombinations, combinationsState.ab7_1);
|
|
12941
12960
|
}
|
|
12942
12961
|
var card = clientState.a9y_1;
|
|
12943
12962
|
if (!(card == null)) {
|
|
@@ -12946,8 +12965,8 @@
|
|
|
12946
12965
|
var table = store.state.y6s();
|
|
12947
12966
|
var tmp = store.dispatch;
|
|
12948
12967
|
var tmp0_playerId = get_currentPlayer(table).playerId;
|
|
12949
|
-
var tmp1_isAccepted = action_0.
|
|
12950
|
-
var tmp2_tag = this.
|
|
12968
|
+
var tmp1_isAccepted = action_0.db7_1;
|
|
12969
|
+
var tmp2_tag = this.zb6_1.p8q(table.sceneInfo, table.gameInfo.round);
|
|
12951
12970
|
tmp(new CombinationChoiceFromClientAction(tmp0_playerId, false, tmp2_tag, tmp1_isAccepted));
|
|
12952
12971
|
}
|
|
12953
12972
|
};
|
|
@@ -12959,7 +12978,7 @@
|
|
|
12959
12978
|
return new finishingGameWhenPlayerExitsMiddleware$$inlined$middlewareForActionType$1(gameClientConfig);
|
|
12960
12979
|
}
|
|
12961
12980
|
function finishingGameWhenPlayerExitsMiddleware$$inlined$middlewareForActionType$1($gameClientConfig) {
|
|
12962
|
-
this.
|
|
12981
|
+
this.eb7_1 = $gameClientConfig;
|
|
12963
12982
|
}
|
|
12964
12983
|
protoOf(finishingGameWhenPlayerExitsMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
12965
12984
|
return action instanceof ExitFromClientAction;
|
|
@@ -12969,7 +12988,7 @@
|
|
|
12969
12988
|
var table = store.state.h6s_1;
|
|
12970
12989
|
var tmp = store.dispatch;
|
|
12971
12990
|
var tmp_0;
|
|
12972
|
-
if (this.
|
|
12991
|
+
if (this.eb7_1.sessionAnalytics) {
|
|
12973
12992
|
var tmp_1 = Companion_instance_0;
|
|
12974
12993
|
var tmp_2 = ProcessingReason_getInstance();
|
|
12975
12994
|
var tmp1_elvis_lhs = table == null ? null : table.isGameFinished;
|
|
@@ -12991,7 +13010,7 @@
|
|
|
12991
13010
|
return new releaseBufferTriggerMiddleware$$inlined$middlewareForActionType$1(bufferInteractor);
|
|
12992
13011
|
}
|
|
12993
13012
|
function releaseBufferTriggerMiddleware$$inlined$middlewareForActionType$1($bufferInteractor) {
|
|
12994
|
-
this.
|
|
13013
|
+
this.fb7_1 = $bufferInteractor;
|
|
12995
13014
|
}
|
|
12996
13015
|
protoOf(releaseBufferTriggerMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
12997
13016
|
return isInterface(action, ReleaseBufferTriggerAction);
|
|
@@ -13000,14 +13019,14 @@
|
|
|
13000
13019
|
var action_0 = isInterface(action, ReleaseBufferTriggerAction) ? action : THROW_CCE();
|
|
13001
13020
|
next(action_0);
|
|
13002
13021
|
// Inline function 'kotlinx.atomicfu.locks.withLock' call
|
|
13003
|
-
this.
|
|
13022
|
+
this.fb7_1.z9w();
|
|
13004
13023
|
var state = store.state;
|
|
13005
13024
|
var bufferedActions = get_clientPayload_0(state).s9x_1;
|
|
13006
13025
|
var tmp;
|
|
13007
13026
|
var tmp_0;
|
|
13008
13027
|
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
13009
13028
|
if (!bufferedActions.p()) {
|
|
13010
|
-
tmp_0 = this.
|
|
13029
|
+
tmp_0 = this.fb7_1.b9x(state, action_0);
|
|
13011
13030
|
} else {
|
|
13012
13031
|
tmp_0 = false;
|
|
13013
13032
|
}
|
|
@@ -13043,9 +13062,9 @@
|
|
|
13043
13062
|
return new clientHostDealerMiddleware$$inlined$middlewareForActionType$1(currentPlayerId, dealerInteractor, tagProvider);
|
|
13044
13063
|
}
|
|
13045
13064
|
function clientHostDealerMiddleware$$inlined$middlewareForActionType$1($currentPlayerId, $dealerInteractor, $tagProvider) {
|
|
13046
|
-
this.
|
|
13047
|
-
this.
|
|
13048
|
-
this.
|
|
13065
|
+
this.gb7_1 = $currentPlayerId;
|
|
13066
|
+
this.hb7_1 = $dealerInteractor;
|
|
13067
|
+
this.ib7_1 = $tagProvider;
|
|
13049
13068
|
}
|
|
13050
13069
|
protoOf(clientHostDealerMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
13051
13070
|
return action instanceof MechanicAction;
|
|
@@ -13069,7 +13088,7 @@
|
|
|
13069
13088
|
var requestPayload = waitingActData.d7f_1;
|
|
13070
13089
|
if (!(requestPayload == null)) {
|
|
13071
13090
|
if (requestPayload instanceof CardDeckRequest) {
|
|
13072
|
-
if (this.
|
|
13091
|
+
if (this.gb7_1 === waitingActData.a7f()) {
|
|
13073
13092
|
var tmp = store.dispatch;
|
|
13074
13093
|
// Inline function 'kotlin.collections.List' call
|
|
13075
13094
|
// Inline function 'kotlin.collections.MutableList' call
|
|
@@ -13090,7 +13109,7 @@
|
|
|
13090
13109
|
var _iterator__ex2g4s = list.j();
|
|
13091
13110
|
while (_iterator__ex2g4s.k()) {
|
|
13092
13111
|
var item = _iterator__ex2g4s.l();
|
|
13093
|
-
var tmp$ret$6 = this.
|
|
13112
|
+
var tmp$ret$6 = this.hb7_1.k8q();
|
|
13094
13113
|
destination.e(tmp$ret$6);
|
|
13095
13114
|
}
|
|
13096
13115
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -13102,8 +13121,8 @@
|
|
|
13102
13121
|
var tmp$ret$9 = Companion_instance_1.o7s(item_0);
|
|
13103
13122
|
destination_0.e(tmp$ret$9);
|
|
13104
13123
|
}
|
|
13105
|
-
var tmp3_tag = this.
|
|
13106
|
-
tmp(new RequestedCardDecksFromClientAction(destination_0, this.
|
|
13124
|
+
var tmp3_tag = this.ib7_1.m8q(action_0.d8w_1, store.state.y6s().gameInfo.round);
|
|
13125
|
+
tmp(new RequestedCardDecksFromClientAction(destination_0, this.gb7_1, false, tmp3_tag));
|
|
13107
13126
|
}
|
|
13108
13127
|
} else {
|
|
13109
13128
|
noWhenBranchMatchedException();
|
|
@@ -13126,13 +13145,13 @@
|
|
|
13126
13145
|
return new expectantsTimerTickMiddleware$$inlined$middlewareForActionType$1();
|
|
13127
13146
|
}
|
|
13128
13147
|
function ExpectantTimerTag(id) {
|
|
13129
|
-
this.
|
|
13148
|
+
this.jb7_1 = id;
|
|
13130
13149
|
}
|
|
13131
13150
|
protoOf(ExpectantTimerTag).toString = function () {
|
|
13132
|
-
return 'ExpectantTimerTag(id=' + this.
|
|
13151
|
+
return 'ExpectantTimerTag(id=' + this.jb7_1 + ')';
|
|
13133
13152
|
};
|
|
13134
13153
|
protoOf(ExpectantTimerTag).hashCode = function () {
|
|
13135
|
-
return getStringHashCode(this.
|
|
13154
|
+
return getStringHashCode(this.jb7_1);
|
|
13136
13155
|
};
|
|
13137
13156
|
protoOf(ExpectantTimerTag).equals = function (other) {
|
|
13138
13157
|
if (this === other)
|
|
@@ -13140,7 +13159,7 @@
|
|
|
13140
13159
|
if (!(other instanceof ExpectantTimerTag))
|
|
13141
13160
|
return false;
|
|
13142
13161
|
var tmp0_other_with_cast = other instanceof ExpectantTimerTag ? other : THROW_CCE();
|
|
13143
|
-
if (!(this.
|
|
13162
|
+
if (!(this.jb7_1 === tmp0_other_with_cast.jb7_1))
|
|
13144
13163
|
return false;
|
|
13145
13164
|
return true;
|
|
13146
13165
|
};
|
|
@@ -13153,17 +13172,17 @@
|
|
|
13153
13172
|
var action_0 = action instanceof ExpectantLifecycleAction ? action : THROW_CCE();
|
|
13154
13173
|
var tmp;
|
|
13155
13174
|
if (action_0 instanceof ExpectantCreatedClientAction) {
|
|
13156
|
-
var expectantAction = action_0.
|
|
13175
|
+
var expectantAction = action_0.pb4_1.m9w_1;
|
|
13157
13176
|
var tmp_0;
|
|
13158
13177
|
if (expectantAction.l6n()) {
|
|
13159
|
-
tmp_0 = listOf_0(new StartTimerAction(new ExpectantTimerTag(action_0.
|
|
13178
|
+
tmp_0 = listOf_0(new StartTimerAction(new ExpectantTimerTag(action_0.pb4_1.l9w_1), toLong(store.state.y6s().config.options.timeForCountdownMillis), VOID, TimerType_DELAY_getInstance()));
|
|
13160
13179
|
} else {
|
|
13161
13180
|
tmp_0 = emptyList();
|
|
13162
13181
|
}
|
|
13163
13182
|
tmp = tmp_0;
|
|
13164
13183
|
} else {
|
|
13165
13184
|
if (action_0 instanceof ExpectantStageCompletedClientAction) {
|
|
13166
|
-
tmp = listOf_0(new ExpectantTimerFinishedClientAction(action_0.
|
|
13185
|
+
tmp = listOf_0(new ExpectantTimerFinishedClientAction(action_0.qb4_1));
|
|
13167
13186
|
} else {
|
|
13168
13187
|
if (action_0 instanceof ExpectantTimerFinishedClientAction) {
|
|
13169
13188
|
tmp = emptyList();
|
|
@@ -13193,7 +13212,7 @@
|
|
|
13193
13212
|
var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
|
|
13194
13213
|
var timerTag = action_0.q6n_1;
|
|
13195
13214
|
if (timerTag instanceof ExpectantTimerTag) {
|
|
13196
|
-
store.dispatch(new ExpectantTimerFinishedClientAction(timerTag.
|
|
13215
|
+
store.dispatch(new ExpectantTimerFinishedClientAction(timerTag.jb7_1));
|
|
13197
13216
|
}
|
|
13198
13217
|
next(action_0);
|
|
13199
13218
|
};
|
|
@@ -13216,8 +13235,8 @@
|
|
|
13216
13235
|
return null;
|
|
13217
13236
|
}
|
|
13218
13237
|
function clientPutCurrentPlayerLastCardMiddleware$$inlined$middlewareForActionType$1($currentPlayerId, $lastCardInteractor) {
|
|
13219
|
-
this.
|
|
13220
|
-
this.
|
|
13238
|
+
this.kb7_1 = $currentPlayerId;
|
|
13239
|
+
this.lb7_1 = $lastCardInteractor;
|
|
13221
13240
|
}
|
|
13222
13241
|
protoOf(clientPutCurrentPlayerLastCardMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
13223
13242
|
return isInterface(action, CardsMechanicAction);
|
|
@@ -13226,7 +13245,7 @@
|
|
|
13226
13245
|
var action_0 = isInterface(action, CardsMechanicAction) ? action : THROW_CCE();
|
|
13227
13246
|
next(action_0);
|
|
13228
13247
|
var table = store.state.y6s();
|
|
13229
|
-
var newAction = getCardActionIfNeeded(action_0, this.
|
|
13248
|
+
var newAction = getCardActionIfNeeded(action_0, this.kb7_1, table, this.lb7_1);
|
|
13230
13249
|
if (newAction == null)
|
|
13231
13250
|
null;
|
|
13232
13251
|
else {
|
|
@@ -13241,7 +13260,7 @@
|
|
|
13241
13260
|
// Inline function 'kotlin.with' call
|
|
13242
13261
|
var $this$with = store.state.y6s();
|
|
13243
13262
|
var player = getPlayer($this$with.players, playerId);
|
|
13244
|
-
store.dispatch(new MessageMechanicAction($this.
|
|
13263
|
+
store.dispatch(new MessageMechanicAction($this.bb6_1.j8p(player.b70_1.v74(), selectedSuit, player.y6z_1)));
|
|
13245
13264
|
}
|
|
13246
13265
|
function onCardMessages($this, store, playerId, combinations) {
|
|
13247
13266
|
// Inline function 'kotlin.with' call
|
|
@@ -13262,7 +13281,7 @@
|
|
|
13262
13281
|
var tmp$ret$0 = item.i7f_1;
|
|
13263
13282
|
destination.e(tmp$ret$0);
|
|
13264
13283
|
}
|
|
13265
|
-
tmp_0(new MessageMechanicAction($this.
|
|
13284
|
+
tmp_0(new MessageMechanicAction($this.bb6_1.h8p(destination, player.y6z_1)));
|
|
13266
13285
|
tmp = Unit_instance;
|
|
13267
13286
|
}
|
|
13268
13287
|
}
|
|
@@ -13292,13 +13311,13 @@
|
|
|
13292
13311
|
var tmp$ret$1 = item.i7f_1;
|
|
13293
13312
|
destination.e(tmp$ret$1);
|
|
13294
13313
|
}
|
|
13295
|
-
tmp(new MessageMechanicAction($this.
|
|
13314
|
+
tmp(new MessageMechanicAction($this.bb6_1.h8p(destination, player.y6z_1)));
|
|
13296
13315
|
}
|
|
13297
13316
|
}
|
|
13298
13317
|
function onWinnerCombinationMessages($this, store, winnerCombinations) {
|
|
13299
13318
|
// Inline function 'kotlin.with' call
|
|
13300
13319
|
var $this$with = store.state.y6s();
|
|
13301
|
-
var message = $this.
|
|
13320
|
+
var message = $this.bb6_1.i8p(winnerCombinations, $this$with.players);
|
|
13302
13321
|
store.dispatch(new MessageMechanicAction(message));
|
|
13303
13322
|
}
|
|
13304
13323
|
function onSceneMessages($this, store, action) {
|
|
@@ -13308,7 +13327,7 @@
|
|
|
13308
13327
|
if (tmp0_subject === 'TRADE') {
|
|
13309
13328
|
var tmp;
|
|
13310
13329
|
if (table.config.playersMode.isTeamGame) {
|
|
13311
|
-
var tmp0 = $this.
|
|
13330
|
+
var tmp0 = $this.db6_1.w8o(table.players);
|
|
13312
13331
|
var tmp$ret$0;
|
|
13313
13332
|
$l$block_0: {
|
|
13314
13333
|
// Inline function 'kotlin.collections.any' call
|
|
@@ -13370,7 +13389,7 @@
|
|
|
13370
13389
|
}
|
|
13371
13390
|
var hasWinners = tmp;
|
|
13372
13391
|
if (hasWinners) {
|
|
13373
|
-
store.dispatch(new MessageMechanicAction($this.
|
|
13392
|
+
store.dispatch(new MessageMechanicAction($this.bb6_1.m8p('ONE_MORE_ROUND_NEEDED_ID')));
|
|
13374
13393
|
}
|
|
13375
13394
|
var tmp0_1 = action.sceneData;
|
|
13376
13395
|
var tmp$ret$6;
|
|
@@ -13383,10 +13402,10 @@
|
|
|
13383
13402
|
throw new MechanicException('Required ' + getKClass(TradeSceneData).ab() + ', current scene is ' + toString_0(tmp0_1));
|
|
13384
13403
|
}
|
|
13385
13404
|
var scene = tmp$ret$6;
|
|
13386
|
-
store.dispatch(new MessageMechanicAction($this.
|
|
13405
|
+
store.dispatch(new MessageMechanicAction($this.bb6_1.g8p(getPlayer(table.players, scene.r7g_1).y6z_1, scene.p7g_1)));
|
|
13387
13406
|
var randomData = scene.o7g_1;
|
|
13388
13407
|
if (!(randomData == null)) {
|
|
13389
|
-
store.dispatch(new MessageMechanicAction($this.
|
|
13408
|
+
store.dispatch(new MessageMechanicAction($this.bb6_1.q8p(randomData)));
|
|
13390
13409
|
}
|
|
13391
13410
|
} else if (tmp0_subject === 'CALC_POINTS') {
|
|
13392
13411
|
var tmp0_2 = action.sceneData;
|
|
@@ -13404,7 +13423,7 @@
|
|
|
13404
13423
|
var whoChoseSuitPlayerId = getWhoChoseSuit(table_0.players).playerId;
|
|
13405
13424
|
var tmp_3 = store.dispatch;
|
|
13406
13425
|
// Inline function 'kotlin.collections.map' call
|
|
13407
|
-
var this_0 = $this.
|
|
13426
|
+
var this_0 = $this.cb6_1.d8v(scene_0.h7g_1);
|
|
13408
13427
|
// Inline function 'kotlin.collections.mapTo' call
|
|
13409
13428
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
13410
13429
|
var _iterator__ex2g4s_2 = this_0.j();
|
|
@@ -13424,13 +13443,13 @@
|
|
|
13424
13443
|
var tmp$ret$11 = new PointItemViewModel(destination_0, tmp0_points);
|
|
13425
13444
|
destination.e(tmp$ret$11);
|
|
13426
13445
|
}
|
|
13427
|
-
tmp_3(new MessageMechanicAction($this.
|
|
13446
|
+
tmp_3(new MessageMechanicAction($this.bb6_1.k8p(table_0.gameInfo.round, destination, scene_0.l7g(whoChoseSuitPlayerId), scene_0.k7g(whoChoseSuitPlayerId), scene_0.e7g_1)));
|
|
13428
13447
|
}
|
|
13429
13448
|
}
|
|
13430
13449
|
function onExpectantCreatedMessages($this, store, action, excludePlayersIds) {
|
|
13431
13450
|
// Inline function 'kotlin.with' call
|
|
13432
13451
|
var $this$with = store.state.y6s();
|
|
13433
|
-
var expectantAction = action.
|
|
13452
|
+
var expectantAction = action.pb4_1.m9w_1;
|
|
13434
13453
|
if (expectantAction instanceof CombinationChoiceMechanicAction) {
|
|
13435
13454
|
if (excludePlayersIds.v1(expectantAction.playerId)) {
|
|
13436
13455
|
return Unit_instance;
|
|
@@ -13438,12 +13457,12 @@
|
|
|
13438
13457
|
onCombinationChoiceMessages($this, store, expectantAction.playerId, expectantAction.i93_1);
|
|
13439
13458
|
} else {
|
|
13440
13459
|
if (expectantAction instanceof RestartGameMechanicAction) {
|
|
13441
|
-
var message = $this.
|
|
13460
|
+
var message = $this.bb6_1.m8p('GAME_RESTART_EVENT_ID');
|
|
13442
13461
|
store.dispatch(new MessageMechanicAction(message));
|
|
13443
13462
|
store.dispatch(new InfoMessageAction(message));
|
|
13444
13463
|
} else {
|
|
13445
13464
|
if (expectantAction instanceof WinnerCombinationsMechanicAction) {
|
|
13446
|
-
var message_0 = $this.
|
|
13465
|
+
var message_0 = $this.bb6_1.i8p(expectantAction.m93_1, $this$with.players);
|
|
13447
13466
|
store.dispatch(new InfoMessageAction(message_0));
|
|
13448
13467
|
}
|
|
13449
13468
|
}
|
|
@@ -13555,14 +13574,14 @@
|
|
|
13555
13574
|
};
|
|
13556
13575
|
}
|
|
13557
13576
|
function MessagesMiddleware(factory, pointsInteractor, teamsLogicProvider) {
|
|
13558
|
-
this.
|
|
13559
|
-
this.
|
|
13560
|
-
this.
|
|
13577
|
+
this.bb6_1 = factory;
|
|
13578
|
+
this.cb6_1 = pointsInteractor;
|
|
13579
|
+
this.db6_1 = teamsLogicProvider;
|
|
13561
13580
|
}
|
|
13562
|
-
protoOf(MessagesMiddleware).
|
|
13581
|
+
protoOf(MessagesMiddleware).wb6 = function () {
|
|
13563
13582
|
return middleware(MessagesMiddleware$middlewareEngine$lambda(this));
|
|
13564
13583
|
};
|
|
13565
|
-
protoOf(MessagesMiddleware).
|
|
13584
|
+
protoOf(MessagesMiddleware).eb6 = function (currentPlayerId) {
|
|
13566
13585
|
return middleware(MessagesMiddleware$middlewareClient$lambda(this, currentPlayerId));
|
|
13567
13586
|
};
|
|
13568
13587
|
function startResetTimerForInfoMessageMiddleware() {
|
|
@@ -13574,13 +13593,13 @@
|
|
|
13574
13593
|
return new resetInfoMessageWhenShownMiddleware$$inlined$middlewareForActionType$1();
|
|
13575
13594
|
}
|
|
13576
13595
|
function ResetMessageTimerTag(message) {
|
|
13577
|
-
this.
|
|
13596
|
+
this.mb7_1 = message;
|
|
13578
13597
|
}
|
|
13579
13598
|
protoOf(ResetMessageTimerTag).toString = function () {
|
|
13580
|
-
return 'ResetMessageTimerTag(message=' + toString(this.
|
|
13599
|
+
return 'ResetMessageTimerTag(message=' + toString(this.mb7_1) + ')';
|
|
13581
13600
|
};
|
|
13582
13601
|
protoOf(ResetMessageTimerTag).hashCode = function () {
|
|
13583
|
-
return hashCode(this.
|
|
13602
|
+
return hashCode(this.mb7_1);
|
|
13584
13603
|
};
|
|
13585
13604
|
protoOf(ResetMessageTimerTag).equals = function (other) {
|
|
13586
13605
|
if (this === other)
|
|
@@ -13588,7 +13607,7 @@
|
|
|
13588
13607
|
if (!(other instanceof ResetMessageTimerTag))
|
|
13589
13608
|
return false;
|
|
13590
13609
|
var tmp0_other_with_cast = other instanceof ResetMessageTimerTag ? other : THROW_CCE();
|
|
13591
|
-
if (!equals(this.
|
|
13610
|
+
if (!equals(this.mb7_1, tmp0_other_with_cast.mb7_1))
|
|
13592
13611
|
return false;
|
|
13593
13612
|
return true;
|
|
13594
13613
|
};
|
|
@@ -13599,12 +13618,12 @@
|
|
|
13599
13618
|
};
|
|
13600
13619
|
protoOf(startResetTimerForInfoMessageMiddleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
13601
13620
|
var action_0 = action instanceof InfoMessageAction ? action : THROW_CCE();
|
|
13602
|
-
if (!(action_0.
|
|
13621
|
+
if (!(action_0.lb4_1 == null)) {
|
|
13603
13622
|
var clientPayload = get_clientPayload_0(store.state);
|
|
13604
13623
|
if (!(clientPayload.q9x_1 == null)) {
|
|
13605
13624
|
store.dispatch(new StopTimerAction(new ResetMessageTimerTag(clientPayload.q9x_1)));
|
|
13606
13625
|
}
|
|
13607
|
-
store.dispatch(new StartTimerAction(new ResetMessageTimerTag(action_0.
|
|
13626
|
+
store.dispatch(new StartTimerAction(new ResetMessageTimerTag(action_0.lb4_1), new Long(1000, 0), VOID, TimerType_DELAY_getInstance()));
|
|
13608
13627
|
}
|
|
13609
13628
|
next(action_0);
|
|
13610
13629
|
};
|
|
@@ -13621,7 +13640,7 @@
|
|
|
13621
13640
|
var timerTag = action_0.q6n_1;
|
|
13622
13641
|
if (timerTag instanceof ResetMessageTimerTag) {
|
|
13623
13642
|
var clientPayload = get_clientPayload_0(store.state);
|
|
13624
|
-
if (equals(clientPayload.q9x_1, timerTag.
|
|
13643
|
+
if (equals(clientPayload.q9x_1, timerTag.mb7_1)) {
|
|
13625
13644
|
store.dispatch(new InfoMessageAction(null));
|
|
13626
13645
|
}
|
|
13627
13646
|
}
|
|
@@ -13635,7 +13654,7 @@
|
|
|
13635
13654
|
return new clientConsumeFromClientActionsMiddleware$$inlined$middlewareForActionType$1(gameMechanicLogicInteractor);
|
|
13636
13655
|
}
|
|
13637
13656
|
function clientConsumeFromClientActionsMiddleware$$inlined$middlewareForActionType$1($gameMechanicLogicInteractor) {
|
|
13638
|
-
this.
|
|
13657
|
+
this.nb7_1 = $gameMechanicLogicInteractor;
|
|
13639
13658
|
}
|
|
13640
13659
|
protoOf(clientConsumeFromClientActionsMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
13641
13660
|
return action instanceof FromClientAction;
|
|
@@ -13653,23 +13672,23 @@
|
|
|
13653
13672
|
next(tmp4);
|
|
13654
13673
|
var tmp;
|
|
13655
13674
|
if (tmp4 instanceof MessageFromClientAction) {
|
|
13656
|
-
tmp = this.
|
|
13675
|
+
tmp = this.nb7_1.f8u(tmp4, table.players);
|
|
13657
13676
|
} else {
|
|
13658
13677
|
if (tmp4 instanceof PartnerSelectedFromClientAction) {
|
|
13659
|
-
tmp = this.
|
|
13678
|
+
tmp = this.nb7_1.g8u(tmp4, table.players);
|
|
13660
13679
|
} else {
|
|
13661
13680
|
if (tmp4 instanceof PlayerReadyFromClientAction) {
|
|
13662
|
-
tmp = this.
|
|
13681
|
+
tmp = this.nb7_1.h8u(tmp4);
|
|
13663
13682
|
} else {
|
|
13664
13683
|
if (tmp4 instanceof SuitChoiceFromClientAction) {
|
|
13665
|
-
tmp = this.
|
|
13684
|
+
tmp = this.nb7_1.i8u(tmp4, table.players, table.config);
|
|
13666
13685
|
} else {
|
|
13667
13686
|
if (tmp4 instanceof CombinationChoiceFromClientAction) {
|
|
13668
|
-
tmp = this.
|
|
13687
|
+
tmp = this.nb7_1.j8u(tmp4, table);
|
|
13669
13688
|
} else {
|
|
13670
13689
|
if (tmp4 instanceof CardFromClientAction) {
|
|
13671
13690
|
var newCardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(tmp4.x7r_1, table.cardsOnTable.m(), tmp4.a7s_1));
|
|
13672
|
-
var cardMechanicAction = this.
|
|
13691
|
+
var cardMechanicAction = this.nb7_1.k8u(tmp4, newCardsOnTheTable, table.players, table.config);
|
|
13673
13692
|
tmp = cardMechanicAction;
|
|
13674
13693
|
} else {
|
|
13675
13694
|
tmp = null;
|
|
@@ -13704,7 +13723,7 @@
|
|
|
13704
13723
|
var action_0 = action instanceof SceneMechanicAction ? action : THROW_CCE();
|
|
13705
13724
|
var clientPayload = get_clientPayload_0(state);
|
|
13706
13725
|
var tmp0_subject = action_0.l8w_1;
|
|
13707
|
-
return tmp0_subject === 'CHOOSE_PARTNER' || tmp0_subject === 'TRADE' || (tmp0_subject === 'EARN_POINTS' || tmp0_subject === 'CALC_POINTS') ? state.w8z(VOID, clientPayload.
|
|
13726
|
+
return tmp0_subject === 'CHOOSE_PARTNER' || tmp0_subject === 'TRADE' || (tmp0_subject === 'EARN_POINTS' || tmp0_subject === 'CALC_POINTS') ? state.w8z(VOID, clientPayload.ob7(VOID, VOID, VOID, VOID, VOID, VOID, false)) : state;
|
|
13708
13727
|
};
|
|
13709
13728
|
protoOf(sceneActivationReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
13710
13729
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -13714,9 +13733,9 @@
|
|
|
13714
13733
|
return new exitAndSaveGameMiddleware$$inlined$middlewareForActionType$1(currentPlayerId, asyncProvider, persistentAppStateInteractor);
|
|
13715
13734
|
}
|
|
13716
13735
|
function exitAndSaveGameMiddleware$o$handle$slambda($store, $action, $persistentAppStateInteractor, resultContinuation) {
|
|
13717
|
-
this.
|
|
13718
|
-
this.
|
|
13719
|
-
this.
|
|
13736
|
+
this.xb7_1 = $store;
|
|
13737
|
+
this.yb7_1 = $action;
|
|
13738
|
+
this.zb7_1 = $persistentAppStateInteractor;
|
|
13720
13739
|
CoroutineImpl.call(this, resultContinuation);
|
|
13721
13740
|
}
|
|
13722
13741
|
protoOf(exitAndSaveGameMiddleware$o$handle$slambda).c1g = function ($this$launchDefault, $completion) {
|
|
@@ -13736,16 +13755,16 @@
|
|
|
13736
13755
|
switch (tmp) {
|
|
13737
13756
|
case 0:
|
|
13738
13757
|
this.m9_1 = 2;
|
|
13739
|
-
this.
|
|
13740
|
-
if (!this.
|
|
13758
|
+
this.bb8_1 = this.xb7_1.state;
|
|
13759
|
+
if (!this.bb8_1.z6s() || this.bb8_1.y6s().isGameFinished) {
|
|
13741
13760
|
var tmp_0 = this;
|
|
13742
|
-
this.
|
|
13743
|
-
tmp_0.
|
|
13761
|
+
this.xb7_1.dispatch(new FinishGameMechanicAction(new PlayerExitReason(this.yb7_1.e90_1), this.bb8_1.y6s().isGameFinished));
|
|
13762
|
+
tmp_0.cb8_1 = Unit_instance;
|
|
13744
13763
|
this.l9_1 = 3;
|
|
13745
13764
|
continue $sm;
|
|
13746
13765
|
} else {
|
|
13747
13766
|
this.l9_1 = 1;
|
|
13748
|
-
suspendResult = this.
|
|
13767
|
+
suspendResult = this.zb7_1.o9y(this.bb8_1.y6s(), get_clientPayload_0(this.bb8_1), true, this);
|
|
13749
13768
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13750
13769
|
return suspendResult;
|
|
13751
13770
|
}
|
|
@@ -13753,7 +13772,7 @@
|
|
|
13753
13772
|
}
|
|
13754
13773
|
|
|
13755
13774
|
case 1:
|
|
13756
|
-
this.
|
|
13775
|
+
this.cb8_1 = suspendResult;
|
|
13757
13776
|
this.l9_1 = 3;
|
|
13758
13777
|
continue $sm;
|
|
13759
13778
|
case 2:
|
|
@@ -13773,8 +13792,8 @@
|
|
|
13773
13792
|
while (true);
|
|
13774
13793
|
};
|
|
13775
13794
|
protoOf(exitAndSaveGameMiddleware$o$handle$slambda).d1g = function ($this$launchDefault, completion) {
|
|
13776
|
-
var i = new exitAndSaveGameMiddleware$o$handle$slambda(this.
|
|
13777
|
-
i.
|
|
13795
|
+
var i = new exitAndSaveGameMiddleware$o$handle$slambda(this.xb7_1, this.yb7_1, this.zb7_1, completion);
|
|
13796
|
+
i.ab8_1 = $this$launchDefault;
|
|
13778
13797
|
return i;
|
|
13779
13798
|
};
|
|
13780
13799
|
function exitAndSaveGameMiddleware$o$handle$slambda_0($store, $action, $persistentAppStateInteractor, resultContinuation) {
|
|
@@ -13786,9 +13805,9 @@
|
|
|
13786
13805
|
return l;
|
|
13787
13806
|
}
|
|
13788
13807
|
function exitAndSaveGameMiddleware$$inlined$middlewareForActionType$1($currentPlayerId, $asyncProvider, $persistentAppStateInteractor) {
|
|
13789
|
-
this.
|
|
13790
|
-
this.
|
|
13791
|
-
this.
|
|
13808
|
+
this.db8_1 = $currentPlayerId;
|
|
13809
|
+
this.eb8_1 = $asyncProvider;
|
|
13810
|
+
this.fb8_1 = $persistentAppStateInteractor;
|
|
13792
13811
|
}
|
|
13793
13812
|
protoOf(exitAndSaveGameMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
13794
13813
|
return action instanceof PlayerConnectionUpdateAction;
|
|
@@ -13796,12 +13815,12 @@
|
|
|
13796
13815
|
protoOf(exitAndSaveGameMiddleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
13797
13816
|
var tmp4 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
|
|
13798
13817
|
$l$block: {
|
|
13799
|
-
if (!(this.
|
|
13818
|
+
if (!(this.db8_1 === tmp4.e90_1)) {
|
|
13800
13819
|
next(tmp4);
|
|
13801
13820
|
break $l$block;
|
|
13802
13821
|
}
|
|
13803
13822
|
next(tmp4);
|
|
13804
|
-
this.
|
|
13823
|
+
this.eb8_1.p6k(VOID, exitAndSaveGameMiddleware$o$handle$slambda_0(store, tmp4, this.fb8_1, null));
|
|
13805
13824
|
}
|
|
13806
13825
|
};
|
|
13807
13826
|
protoOf(exitAndSaveGameMiddleware$$inlined$middlewareForActionType$1).u6n = function (store, next, action) {
|
|
@@ -13812,9 +13831,9 @@
|
|
|
13812
13831
|
return new gameHistoryMiddleware$$inlined$middlewareForActionType$1(asyncProvider, interactor);
|
|
13813
13832
|
}
|
|
13814
13833
|
function gameHistoryMiddleware$o$handle$slambda($action, $store, $interactor, resultContinuation) {
|
|
13815
|
-
this.
|
|
13816
|
-
this.
|
|
13817
|
-
this.
|
|
13834
|
+
this.ob8_1 = $action;
|
|
13835
|
+
this.pb8_1 = $store;
|
|
13836
|
+
this.qb8_1 = $interactor;
|
|
13818
13837
|
CoroutineImpl.call(this, resultContinuation);
|
|
13819
13838
|
}
|
|
13820
13839
|
protoOf(gameHistoryMiddleware$o$handle$slambda).c1g = function ($this$launchDefault, $completion) {
|
|
@@ -13834,22 +13853,22 @@
|
|
|
13834
13853
|
switch (tmp) {
|
|
13835
13854
|
case 0:
|
|
13836
13855
|
this.m9_1 = 4;
|
|
13837
|
-
this.
|
|
13838
|
-
var tmp_0 = this.
|
|
13856
|
+
this.sb8_1 = this.ob8_1;
|
|
13857
|
+
var tmp_0 = this.sb8_1;
|
|
13839
13858
|
if (tmp_0 instanceof RoundStartedAction) {
|
|
13840
|
-
this.
|
|
13859
|
+
this.tb8_1 = this.pb8_1.state.y6s();
|
|
13841
13860
|
this.l9_1 = 2;
|
|
13842
|
-
suspendResult = this.
|
|
13861
|
+
suspendResult = this.qb8_1.l9y(this.ob8_1.gameHistory, this.tb8_1.config, this.tb8_1.users, get_clientPayload_0(this.pb8_1.state).o9x_1.k9v_1, this);
|
|
13843
13862
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13844
13863
|
return suspendResult;
|
|
13845
13864
|
}
|
|
13846
13865
|
continue $sm;
|
|
13847
13866
|
} else {
|
|
13848
|
-
var tmp_1 = this.
|
|
13867
|
+
var tmp_1 = this.sb8_1;
|
|
13849
13868
|
if (tmp_1 instanceof RoundEndedAction) {
|
|
13850
|
-
this.
|
|
13869
|
+
this.ub8_1 = this.pb8_1.state.y6s();
|
|
13851
13870
|
this.l9_1 = 1;
|
|
13852
|
-
suspendResult = this.
|
|
13871
|
+
suspendResult = this.qb8_1.k9y(this.ob8_1.gameHistory, this.ub8_1.config, this.ub8_1.users, get_clientPayload_0(this.pb8_1.state).o9x_1.k9v_1, this);
|
|
13853
13872
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13854
13873
|
return suspendResult;
|
|
13855
13874
|
}
|
|
@@ -13883,8 +13902,8 @@
|
|
|
13883
13902
|
while (true);
|
|
13884
13903
|
};
|
|
13885
13904
|
protoOf(gameHistoryMiddleware$o$handle$slambda).d1g = function ($this$launchDefault, completion) {
|
|
13886
|
-
var i = new gameHistoryMiddleware$o$handle$slambda(this.
|
|
13887
|
-
i.
|
|
13905
|
+
var i = new gameHistoryMiddleware$o$handle$slambda(this.ob8_1, this.pb8_1, this.qb8_1, completion);
|
|
13906
|
+
i.rb8_1 = $this$launchDefault;
|
|
13888
13907
|
return i;
|
|
13889
13908
|
};
|
|
13890
13909
|
function gameHistoryMiddleware$o$handle$slambda_0($action, $store, $interactor, resultContinuation) {
|
|
@@ -13896,8 +13915,8 @@
|
|
|
13896
13915
|
return l;
|
|
13897
13916
|
}
|
|
13898
13917
|
function gameHistoryMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $interactor) {
|
|
13899
|
-
this.
|
|
13900
|
-
this.
|
|
13918
|
+
this.vb8_1 = $asyncProvider;
|
|
13919
|
+
this.wb8_1 = $interactor;
|
|
13901
13920
|
}
|
|
13902
13921
|
protoOf(gameHistoryMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
13903
13922
|
return action instanceof GameAction;
|
|
@@ -13905,7 +13924,7 @@
|
|
|
13905
13924
|
protoOf(gameHistoryMiddleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
13906
13925
|
var action_0 = action instanceof GameAction ? action : THROW_CCE();
|
|
13907
13926
|
next(action_0);
|
|
13908
|
-
this.
|
|
13927
|
+
this.vb8_1.p6k(VOID, gameHistoryMiddleware$o$handle$slambda_0(action_0, store, this.wb8_1, null));
|
|
13909
13928
|
};
|
|
13910
13929
|
protoOf(gameHistoryMiddleware$$inlined$middlewareForActionType$1).u6n = function (store, next, action) {
|
|
13911
13930
|
return this.m6p(store, next, action);
|
|
@@ -13916,9 +13935,9 @@
|
|
|
13916
13935
|
return new reloadTimersWhenContinueGameMiddleware$$inlined$middlewareForActionType$1(isEnableBotForPlayer, isDelayForBot, random);
|
|
13917
13936
|
}
|
|
13918
13937
|
function reloadTimersWhenContinueGameMiddleware$$inlined$middlewareForActionType$1($isEnableBotForPlayer, $isDelayForBot, $random) {
|
|
13919
|
-
this.
|
|
13920
|
-
this.
|
|
13921
|
-
this.
|
|
13938
|
+
this.xb8_1 = $isEnableBotForPlayer;
|
|
13939
|
+
this.yb8_1 = $isDelayForBot;
|
|
13940
|
+
this.zb8_1 = $random;
|
|
13922
13941
|
}
|
|
13923
13942
|
protoOf(reloadTimersWhenContinueGameMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
13924
13943
|
return action instanceof ContinueGameMechanicAction;
|
|
@@ -13934,7 +13953,7 @@
|
|
|
13934
13953
|
var _iterator__ex2g4s = tmp0.j();
|
|
13935
13954
|
while (_iterator__ex2g4s.k()) {
|
|
13936
13955
|
var element = _iterator__ex2g4s.l();
|
|
13937
|
-
if (this.
|
|
13956
|
+
if (this.xb8_1(element.playerId)) {
|
|
13938
13957
|
destination.e(element);
|
|
13939
13958
|
}
|
|
13940
13959
|
}
|
|
@@ -13942,7 +13961,7 @@
|
|
|
13942
13961
|
var _iterator__ex2g4s_0 = destination.j();
|
|
13943
13962
|
while (_iterator__ex2g4s_0.k()) {
|
|
13944
13963
|
var element_0 = _iterator__ex2g4s_0.l();
|
|
13945
|
-
store.dispatch(new StartTimerAction(PlayerTurnTimerTag_init_$Create$(element_0.playerId, element_0.z6z_1.h6h()), getInitialPlayerTurnTimerDelayMillis(element_0, table.config, this.
|
|
13964
|
+
store.dispatch(new StartTimerAction(PlayerTurnTimerTag_init_$Create$(element_0.playerId, element_0.z6z_1.h6h()), getInitialPlayerTurnTimerDelayMillis(element_0, table.config, this.yb8_1, this.zb8_1), VOID, TimerType_DELAY_getInstance()));
|
|
13946
13965
|
}
|
|
13947
13966
|
};
|
|
13948
13967
|
protoOf(reloadTimersWhenContinueGameMiddleware$$inlined$middlewareForActionType$1).u6n = function (store, next, action) {
|
|
@@ -13953,9 +13972,9 @@
|
|
|
13953
13972
|
return new removeSavedGameMiddleware$$inlined$middlewareForActionType$1(asyncProvider, persistentAppStateInteractor);
|
|
13954
13973
|
}
|
|
13955
13974
|
function removeSavedGameMiddleware$o$handle$slambda($action, $persistentAppStateInteractor, $id, resultContinuation) {
|
|
13956
|
-
this.
|
|
13957
|
-
this.
|
|
13958
|
-
this.
|
|
13975
|
+
this.ib9_1 = $action;
|
|
13976
|
+
this.jb9_1 = $persistentAppStateInteractor;
|
|
13977
|
+
this.kb9_1 = $id;
|
|
13959
13978
|
CoroutineImpl.call(this, resultContinuation);
|
|
13960
13979
|
}
|
|
13961
13980
|
protoOf(removeSavedGameMiddleware$o$handle$slambda).c1g = function ($this$launchDefault, $completion) {
|
|
@@ -13975,10 +13994,10 @@
|
|
|
13975
13994
|
switch (tmp) {
|
|
13976
13995
|
case 0:
|
|
13977
13996
|
this.m9_1 = 3;
|
|
13978
|
-
this.
|
|
13979
|
-
if (!(this.
|
|
13997
|
+
this.mb9_1 = this.ib9_1.gameWinners;
|
|
13998
|
+
if (!(this.mb9_1 == null)) {
|
|
13980
13999
|
this.l9_1 = 1;
|
|
13981
|
-
suspendResult = this.
|
|
14000
|
+
suspendResult = this.jb9_1.p9y(this.kb9_1, this);
|
|
13982
14001
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
13983
14002
|
return suspendResult;
|
|
13984
14003
|
}
|
|
@@ -14008,8 +14027,8 @@
|
|
|
14008
14027
|
while (true);
|
|
14009
14028
|
};
|
|
14010
14029
|
protoOf(removeSavedGameMiddleware$o$handle$slambda).d1g = function ($this$launchDefault, completion) {
|
|
14011
|
-
var i = new removeSavedGameMiddleware$o$handle$slambda(this.
|
|
14012
|
-
i.
|
|
14030
|
+
var i = new removeSavedGameMiddleware$o$handle$slambda(this.ib9_1, this.jb9_1, this.kb9_1, completion);
|
|
14031
|
+
i.lb9_1 = $this$launchDefault;
|
|
14013
14032
|
return i;
|
|
14014
14033
|
};
|
|
14015
14034
|
function removeSavedGameMiddleware$o$handle$slambda_0($action, $persistentAppStateInteractor, $id, resultContinuation) {
|
|
@@ -14021,8 +14040,8 @@
|
|
|
14021
14040
|
return l;
|
|
14022
14041
|
}
|
|
14023
14042
|
function removeSavedGameMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $persistentAppStateInteractor) {
|
|
14024
|
-
this.
|
|
14025
|
-
this.
|
|
14043
|
+
this.nb9_1 = $asyncProvider;
|
|
14044
|
+
this.ob9_1 = $persistentAppStateInteractor;
|
|
14026
14045
|
}
|
|
14027
14046
|
protoOf(removeSavedGameMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14028
14047
|
return action instanceof RoundEndedAction;
|
|
@@ -14031,7 +14050,7 @@
|
|
|
14031
14050
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
14032
14051
|
var id = store.state.y6s().id;
|
|
14033
14052
|
next(action_0);
|
|
14034
|
-
this.
|
|
14053
|
+
this.nb9_1.p6k(VOID, removeSavedGameMiddleware$o$handle$slambda_0(action_0, this.ob9_1, id, null));
|
|
14035
14054
|
};
|
|
14036
14055
|
protoOf(removeSavedGameMiddleware$$inlined$middlewareForActionType$1).u6n = function (store, next, action) {
|
|
14037
14056
|
return this.m6p(store, next, action);
|
|
@@ -14041,8 +14060,8 @@
|
|
|
14041
14060
|
return new removeSavedGameWhenErrorMiddleware$$inlined$middlewareForActionType$1(asyncProvider, persistentAppStateInteractor);
|
|
14042
14061
|
}
|
|
14043
14062
|
function removeSavedGameWhenErrorMiddleware$o$handle$slambda($store, $persistentAppStateInteractor, resultContinuation) {
|
|
14044
|
-
this.
|
|
14045
|
-
this.
|
|
14063
|
+
this.xb9_1 = $store;
|
|
14064
|
+
this.yb9_1 = $persistentAppStateInteractor;
|
|
14046
14065
|
CoroutineImpl.call(this, resultContinuation);
|
|
14047
14066
|
}
|
|
14048
14067
|
protoOf(removeSavedGameWhenErrorMiddleware$o$handle$slambda).c1g = function ($this$launchDefault, $completion) {
|
|
@@ -14063,11 +14082,11 @@
|
|
|
14063
14082
|
case 0:
|
|
14064
14083
|
this.m9_1 = 2;
|
|
14065
14084
|
var tmp_0 = this;
|
|
14066
|
-
var tmp0_safe_receiver = this.
|
|
14085
|
+
var tmp0_safe_receiver = this.xb9_1.state.h6s_1;
|
|
14067
14086
|
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.id;
|
|
14068
|
-
tmp_0.
|
|
14087
|
+
tmp_0.aba_1 = tmp1_elvis_lhs == null ? 'temp_game_id' : tmp1_elvis_lhs;
|
|
14069
14088
|
this.l9_1 = 1;
|
|
14070
|
-
suspendResult = this.
|
|
14089
|
+
suspendResult = this.yb9_1.p9y(this.aba_1, this);
|
|
14071
14090
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14072
14091
|
return suspendResult;
|
|
14073
14092
|
}
|
|
@@ -14090,8 +14109,8 @@
|
|
|
14090
14109
|
while (true);
|
|
14091
14110
|
};
|
|
14092
14111
|
protoOf(removeSavedGameWhenErrorMiddleware$o$handle$slambda).d1g = function ($this$launchDefault, completion) {
|
|
14093
|
-
var i = new removeSavedGameWhenErrorMiddleware$o$handle$slambda(this.
|
|
14094
|
-
i.
|
|
14112
|
+
var i = new removeSavedGameWhenErrorMiddleware$o$handle$slambda(this.xb9_1, this.yb9_1, completion);
|
|
14113
|
+
i.zb9_1 = $this$launchDefault;
|
|
14095
14114
|
return i;
|
|
14096
14115
|
};
|
|
14097
14116
|
function removeSavedGameWhenErrorMiddleware$o$handle$slambda_0($store, $persistentAppStateInteractor, resultContinuation) {
|
|
@@ -14103,15 +14122,15 @@
|
|
|
14103
14122
|
return l;
|
|
14104
14123
|
}
|
|
14105
14124
|
function removeSavedGameWhenErrorMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $persistentAppStateInteractor) {
|
|
14106
|
-
this.
|
|
14107
|
-
this.
|
|
14125
|
+
this.bba_1 = $asyncProvider;
|
|
14126
|
+
this.cba_1 = $persistentAppStateInteractor;
|
|
14108
14127
|
}
|
|
14109
14128
|
protoOf(removeSavedGameWhenErrorMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14110
14129
|
return action instanceof ErrorAction;
|
|
14111
14130
|
};
|
|
14112
14131
|
protoOf(removeSavedGameWhenErrorMiddleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
14113
14132
|
next(action instanceof ErrorAction ? action : THROW_CCE());
|
|
14114
|
-
this.
|
|
14133
|
+
this.bba_1.p6k(VOID, removeSavedGameWhenErrorMiddleware$o$handle$slambda_0(store, this.cba_1, null));
|
|
14115
14134
|
};
|
|
14116
14135
|
protoOf(removeSavedGameWhenErrorMiddleware$$inlined$middlewareForActionType$1).u6n = function (store, next, action) {
|
|
14117
14136
|
return this.m6p(store, next, action);
|
|
@@ -14121,9 +14140,9 @@
|
|
|
14121
14140
|
return new saveGameWhenAppOnBackgroundMiddleware$$inlined$middlewareForActionType$1(asyncProvider, persistentAppStateInteractor);
|
|
14122
14141
|
}
|
|
14123
14142
|
function saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda($action, $state, $persistentAppStateInteractor, resultContinuation) {
|
|
14124
|
-
this.
|
|
14125
|
-
this.
|
|
14126
|
-
this.
|
|
14143
|
+
this.lba_1 = $action;
|
|
14144
|
+
this.mba_1 = $state;
|
|
14145
|
+
this.nba_1 = $persistentAppStateInteractor;
|
|
14127
14146
|
CoroutineImpl.call(this, resultContinuation);
|
|
14128
14147
|
}
|
|
14129
14148
|
protoOf(saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda).c1g = function ($this$launchDefault, $completion) {
|
|
@@ -14143,9 +14162,9 @@
|
|
|
14143
14162
|
switch (tmp) {
|
|
14144
14163
|
case 0:
|
|
14145
14164
|
this.m9_1 = 3;
|
|
14146
|
-
if (!this.
|
|
14165
|
+
if (!this.lba_1.ab4_1 && this.mba_1.z6s() && !this.mba_1.y6s().isGameFinished) {
|
|
14147
14166
|
this.l9_1 = 1;
|
|
14148
|
-
suspendResult = this.
|
|
14167
|
+
suspendResult = this.nba_1.o9y(this.mba_1.y6s(), get_clientPayload_0(this.mba_1), false, this);
|
|
14149
14168
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14150
14169
|
return suspendResult;
|
|
14151
14170
|
}
|
|
@@ -14175,8 +14194,8 @@
|
|
|
14175
14194
|
while (true);
|
|
14176
14195
|
};
|
|
14177
14196
|
protoOf(saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda).d1g = function ($this$launchDefault, completion) {
|
|
14178
|
-
var i = new saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda(this.
|
|
14179
|
-
i.
|
|
14197
|
+
var i = new saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda(this.lba_1, this.mba_1, this.nba_1, completion);
|
|
14198
|
+
i.oba_1 = $this$launchDefault;
|
|
14180
14199
|
return i;
|
|
14181
14200
|
};
|
|
14182
14201
|
function saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda_0($action, $state, $persistentAppStateInteractor, resultContinuation) {
|
|
@@ -14188,8 +14207,8 @@
|
|
|
14188
14207
|
return l;
|
|
14189
14208
|
}
|
|
14190
14209
|
function saveGameWhenAppOnBackgroundMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $persistentAppStateInteractor) {
|
|
14191
|
-
this.
|
|
14192
|
-
this.
|
|
14210
|
+
this.pba_1 = $asyncProvider;
|
|
14211
|
+
this.qba_1 = $persistentAppStateInteractor;
|
|
14193
14212
|
}
|
|
14194
14213
|
protoOf(saveGameWhenAppOnBackgroundMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14195
14214
|
return action instanceof ForegroundAction;
|
|
@@ -14198,7 +14217,7 @@
|
|
|
14198
14217
|
var action_0 = action instanceof ForegroundAction ? action : THROW_CCE();
|
|
14199
14218
|
var state = store.state;
|
|
14200
14219
|
next(action_0);
|
|
14201
|
-
this.
|
|
14220
|
+
this.pba_1.p6k(VOID, saveGameWhenAppOnBackgroundMiddleware$o$handle$slambda_0(action_0, state, this.qba_1, null));
|
|
14202
14221
|
};
|
|
14203
14222
|
protoOf(saveGameWhenAppOnBackgroundMiddleware$$inlined$middlewareForActionType$1).u6n = function (store, next, action) {
|
|
14204
14223
|
return this.m6p(store, next, action);
|
|
@@ -14208,9 +14227,9 @@
|
|
|
14208
14227
|
return new statisticsMiddleware$$inlined$middlewareForActionType$1(asyncProvider, currentPlayerId, clientStatisticsInteractor);
|
|
14209
14228
|
}
|
|
14210
14229
|
function statisticsMiddleware$o$handle$slambda($action, $currentPlayerId, $clientStatisticsInteractor, resultContinuation) {
|
|
14211
|
-
this.
|
|
14212
|
-
this.
|
|
14213
|
-
this.
|
|
14230
|
+
this.zba_1 = $action;
|
|
14231
|
+
this.abb_1 = $currentPlayerId;
|
|
14232
|
+
this.bbb_1 = $clientStatisticsInteractor;
|
|
14214
14233
|
CoroutineImpl.call(this, resultContinuation);
|
|
14215
14234
|
}
|
|
14216
14235
|
protoOf(statisticsMiddleware$o$handle$slambda).c1g = function ($this$launchDefault, $completion) {
|
|
@@ -14230,26 +14249,26 @@
|
|
|
14230
14249
|
switch (tmp) {
|
|
14231
14250
|
case 0:
|
|
14232
14251
|
this.m9_1 = 4;
|
|
14233
|
-
this.
|
|
14252
|
+
this.dbb_1 = this.zba_1.earnedBiggestPointPlayerId === this.abb_1;
|
|
14234
14253
|
var tmp_0 = this;
|
|
14235
|
-
var tmp0_safe_receiver = this.
|
|
14236
|
-
tmp_0.
|
|
14254
|
+
var tmp0_safe_receiver = this.zba_1.gameHistory.lastRoundHistory.winners;
|
|
14255
|
+
tmp_0.ebb_1 = (tmp0_safe_receiver == null ? null : contains(tmp0_safe_receiver, this.abb_1)) === true;
|
|
14237
14256
|
var tmp_1 = this;
|
|
14238
|
-
var tmp1_safe_receiver = this.
|
|
14239
|
-
tmp_1.
|
|
14257
|
+
var tmp1_safe_receiver = this.zba_1.gameHistory.lastRoundHistory.committed;
|
|
14258
|
+
tmp_1.fbb_1 = (tmp1_safe_receiver == null ? null : contains(tmp1_safe_receiver, this.abb_1)) === true;
|
|
14240
14259
|
this.l9_1 = 1;
|
|
14241
|
-
suspendResult = this.
|
|
14260
|
+
suspendResult = this.bbb_1.m9y(this.fbb_1, this.ebb_1, this.dbb_1, this);
|
|
14242
14261
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14243
14262
|
return suspendResult;
|
|
14244
14263
|
}
|
|
14245
14264
|
|
|
14246
14265
|
continue $sm;
|
|
14247
14266
|
case 1:
|
|
14248
|
-
this.
|
|
14249
|
-
if (!(this.
|
|
14250
|
-
this.
|
|
14267
|
+
this.gbb_1 = this.zba_1.gameWinners;
|
|
14268
|
+
if (!(this.gbb_1 == null)) {
|
|
14269
|
+
this.hbb_1 = contains(this.gbb_1, this.abb_1);
|
|
14251
14270
|
this.l9_1 = 2;
|
|
14252
|
-
suspendResult = this.
|
|
14271
|
+
suspendResult = this.bbb_1.n9y(this.hbb_1, this);
|
|
14253
14272
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
14254
14273
|
return suspendResult;
|
|
14255
14274
|
}
|
|
@@ -14279,8 +14298,8 @@
|
|
|
14279
14298
|
while (true);
|
|
14280
14299
|
};
|
|
14281
14300
|
protoOf(statisticsMiddleware$o$handle$slambda).d1g = function ($this$launchDefault, completion) {
|
|
14282
|
-
var i = new statisticsMiddleware$o$handle$slambda(this.
|
|
14283
|
-
i.
|
|
14301
|
+
var i = new statisticsMiddleware$o$handle$slambda(this.zba_1, this.abb_1, this.bbb_1, completion);
|
|
14302
|
+
i.cbb_1 = $this$launchDefault;
|
|
14284
14303
|
return i;
|
|
14285
14304
|
};
|
|
14286
14305
|
function statisticsMiddleware$o$handle$slambda_0($action, $currentPlayerId, $clientStatisticsInteractor, resultContinuation) {
|
|
@@ -14292,9 +14311,9 @@
|
|
|
14292
14311
|
return l;
|
|
14293
14312
|
}
|
|
14294
14313
|
function statisticsMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $currentPlayerId, $clientStatisticsInteractor) {
|
|
14295
|
-
this.
|
|
14296
|
-
this.
|
|
14297
|
-
this.
|
|
14314
|
+
this.ibb_1 = $asyncProvider;
|
|
14315
|
+
this.jbb_1 = $currentPlayerId;
|
|
14316
|
+
this.kbb_1 = $clientStatisticsInteractor;
|
|
14298
14317
|
}
|
|
14299
14318
|
protoOf(statisticsMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14300
14319
|
return action instanceof RoundEndedAction;
|
|
@@ -14302,7 +14321,7 @@
|
|
|
14302
14321
|
protoOf(statisticsMiddleware$$inlined$middlewareForActionType$1).m6p = function (store, next, action) {
|
|
14303
14322
|
var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
|
|
14304
14323
|
next(action_0);
|
|
14305
|
-
this.
|
|
14324
|
+
this.ibb_1.p6k(VOID, statisticsMiddleware$o$handle$slambda_0(action_0, this.jbb_1, this.kbb_1, null));
|
|
14306
14325
|
};
|
|
14307
14326
|
protoOf(statisticsMiddleware$$inlined$middlewareForActionType$1).u6n = function (store, next, action) {
|
|
14308
14327
|
return this.m6p(store, next, action);
|
|
@@ -14351,7 +14370,7 @@
|
|
|
14351
14370
|
var _iterator__ex2g4s = tmp0.j();
|
|
14352
14371
|
while (_iterator__ex2g4s.k()) {
|
|
14353
14372
|
var element = _iterator__ex2g4s.l();
|
|
14354
|
-
if (action_0.
|
|
14373
|
+
if (action_0.lbb_1.v1(element.h5o())) {
|
|
14355
14374
|
tmp$ret$1 = element;
|
|
14356
14375
|
break $l$block;
|
|
14357
14376
|
}
|
|
@@ -14440,7 +14459,7 @@
|
|
|
14440
14459
|
return new checkExpectantsMiddleware$$inlined$middlewareForActionType$1(logger);
|
|
14441
14460
|
}
|
|
14442
14461
|
function checkExpectantsMiddleware$$inlined$middlewareForActionType$1($logger) {
|
|
14443
|
-
this.
|
|
14462
|
+
this.mbb_1 = $logger;
|
|
14444
14463
|
}
|
|
14445
14464
|
protoOf(checkExpectantsMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14446
14465
|
return action instanceof ExpectantLifecycleAction;
|
|
@@ -14474,7 +14493,7 @@
|
|
|
14474
14493
|
tmp$ret$0 = true;
|
|
14475
14494
|
}
|
|
14476
14495
|
if (tmp$ret$0) {
|
|
14477
|
-
this.
|
|
14496
|
+
this.mbb_1.w(VOID, "CheckExpectantsMiddleware: Expectant is not exists, can't finish it: " + toString(expectants) + ', ' + tmp4.toString());
|
|
14478
14497
|
next(tmp4);
|
|
14479
14498
|
break $l$block_7;
|
|
14480
14499
|
}
|
|
@@ -14496,7 +14515,7 @@
|
|
|
14496
14515
|
var _iterator__ex2g4s_0 = expectants.j();
|
|
14497
14516
|
while (_iterator__ex2g4s_0.k()) {
|
|
14498
14517
|
var element_0 = _iterator__ex2g4s_0.l();
|
|
14499
|
-
if (element_0.l9w_1 === tmp4.
|
|
14518
|
+
if (element_0.l9w_1 === tmp4.pb4_1.l9w_1) {
|
|
14500
14519
|
tmp$ret$3 = true;
|
|
14501
14520
|
break $l$block_3;
|
|
14502
14521
|
}
|
|
@@ -14504,7 +14523,7 @@
|
|
|
14504
14523
|
tmp$ret$3 = false;
|
|
14505
14524
|
}
|
|
14506
14525
|
if (tmp$ret$3) {
|
|
14507
|
-
this.
|
|
14526
|
+
this.mbb_1.w(VOID, "CheckExpectantsMiddleware: Expectant already exists, can't add it: " + toString(expectants) + ', ' + tmp4.toString());
|
|
14508
14527
|
next(tmp4);
|
|
14509
14528
|
break $l$block_7;
|
|
14510
14529
|
}
|
|
@@ -14526,7 +14545,7 @@
|
|
|
14526
14545
|
var _iterator__ex2g4s_1 = expectants.j();
|
|
14527
14546
|
while (_iterator__ex2g4s_1.k()) {
|
|
14528
14547
|
var element_1 = _iterator__ex2g4s_1.l();
|
|
14529
|
-
if (element_1.l9w_1 === tmp4.
|
|
14548
|
+
if (element_1.l9w_1 === tmp4.qb4_1) {
|
|
14530
14549
|
tmp$ret$5 = false;
|
|
14531
14550
|
break $l$block_6;
|
|
14532
14551
|
}
|
|
@@ -14534,7 +14553,7 @@
|
|
|
14534
14553
|
tmp$ret$5 = true;
|
|
14535
14554
|
}
|
|
14536
14555
|
if (tmp$ret$5) {
|
|
14537
|
-
this.
|
|
14556
|
+
this.mbb_1.w(VOID, "CheckExpectantsMiddleware: Expectant is not exists, can't complete stage: " + toString(expectants) + ', ' + tmp4.toString());
|
|
14538
14557
|
next(tmp4);
|
|
14539
14558
|
break $l$block_7;
|
|
14540
14559
|
}
|
|
@@ -14554,8 +14573,8 @@
|
|
|
14554
14573
|
return new checkValidCurrentPlayerIdMiddleware$$inlined$middlewareForActionType$1(currentPlayerId, gameLogger);
|
|
14555
14574
|
}
|
|
14556
14575
|
function checkValidCurrentPlayerIdMiddleware$$inlined$middlewareForActionType$1($currentPlayerId, $gameLogger) {
|
|
14557
|
-
this.
|
|
14558
|
-
this.
|
|
14576
|
+
this.nbb_1 = $currentPlayerId;
|
|
14577
|
+
this.obb_1 = $gameLogger;
|
|
14559
14578
|
}
|
|
14560
14579
|
protoOf(checkValidCurrentPlayerIdMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14561
14580
|
return isInterface(action, FirstMechanicAction);
|
|
@@ -14570,19 +14589,19 @@
|
|
|
14570
14589
|
var _iterator__ex2g4s = tmp0.j();
|
|
14571
14590
|
while (_iterator__ex2g4s.k()) {
|
|
14572
14591
|
var element = _iterator__ex2g4s.l();
|
|
14573
|
-
if (element.u6e_1 === this.
|
|
14592
|
+
if (element.u6e_1 === this.nbb_1) {
|
|
14574
14593
|
destination.e(element);
|
|
14575
14594
|
}
|
|
14576
14595
|
}
|
|
14577
14596
|
if (!(destination.m() === 1)) {
|
|
14578
14597
|
var state = store.state;
|
|
14579
|
-
this.
|
|
14598
|
+
this.obb_1.w(VOID, 'checkValidCurrentPlayerIdMiddleware: currentPlayer id is not matched');
|
|
14580
14599
|
var tmp0_safe_receiver = get_clientPayloadOrNull_0(state);
|
|
14581
14600
|
var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.o9x_1;
|
|
14582
14601
|
if (!((tmp1_safe_receiver == null ? null : tmp1_safe_receiver.n9v()) === false)) {
|
|
14583
|
-
store.dispatch(new ErrorAction(new ErrorState('Not valid user session, id:' + this.
|
|
14602
|
+
store.dispatch(new ErrorAction(new ErrorState('Not valid user session, id:' + this.nbb_1, VOID, new GameErrorReason(Reason_INTERNAL_ERROR_getInstance()))));
|
|
14584
14603
|
} else {
|
|
14585
|
-
throw new SessionException(401, 'Not valid user session, id:' + this.
|
|
14604
|
+
throw new SessionException(401, 'Not valid user session, id:' + this.nbb_1);
|
|
14586
14605
|
}
|
|
14587
14606
|
}
|
|
14588
14607
|
};
|
|
@@ -14594,9 +14613,9 @@
|
|
|
14594
14613
|
return new clientShowDisabledCardMessageMiddleware$$inlined$middlewareForActionType$1(putCardValidatorInteractor, messageFactory, logger);
|
|
14595
14614
|
}
|
|
14596
14615
|
function clientShowDisabledCardMessageMiddleware$$inlined$middlewareForActionType$1($putCardValidatorInteractor, $messageFactory, $logger) {
|
|
14597
|
-
this.
|
|
14598
|
-
this.
|
|
14599
|
-
this.
|
|
14616
|
+
this.pbb_1 = $putCardValidatorInteractor;
|
|
14617
|
+
this.qbb_1 = $messageFactory;
|
|
14618
|
+
this.rbb_1 = $logger;
|
|
14600
14619
|
}
|
|
14601
14620
|
protoOf(clientShowDisabledCardMessageMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14602
14621
|
return action instanceof DisabledCardAction;
|
|
@@ -14605,14 +14624,14 @@
|
|
|
14605
14624
|
var action_0 = action instanceof DisabledCardAction ? action : THROW_CCE();
|
|
14606
14625
|
var state = store.state;
|
|
14607
14626
|
if (get_isEarnPointScene(state.y6s().sceneInfo.p7z_1)) {
|
|
14608
|
-
var tmp0_putPlayerCard = action_0.
|
|
14627
|
+
var tmp0_putPlayerCard = action_0.sbb_1;
|
|
14609
14628
|
var tmp1_player = get_currentPlayer(state.y6s());
|
|
14610
14629
|
var tmp2_table = state.y6s();
|
|
14611
|
-
var validationCode = this.
|
|
14630
|
+
var validationCode = this.pbb_1.q9y(tmp0_putPlayerCard, tmp2_table, tmp1_player);
|
|
14612
14631
|
if (!(validationCode == null)) {
|
|
14613
|
-
store.dispatch(new InfoMessageAction(this.
|
|
14632
|
+
store.dispatch(new InfoMessageAction(this.qbb_1.l8p(validationCode)));
|
|
14614
14633
|
} else {
|
|
14615
|
-
this.
|
|
14634
|
+
this.rbb_1.w(VOID, 'clientShowDisabledCardMessageMiddleware: card is valid, please check');
|
|
14616
14635
|
}
|
|
14617
14636
|
}
|
|
14618
14637
|
next(action_0);
|
|
@@ -14625,9 +14644,9 @@
|
|
|
14625
14644
|
return new validateCardOnMoveMiddleware$$inlined$middlewareForActionType$1(putCardValidatorInteractor, logger, messageFactory);
|
|
14626
14645
|
}
|
|
14627
14646
|
function validateCardOnMoveMiddleware$$inlined$middlewareForActionType$1($putCardValidatorInteractor, $logger, $messageFactory) {
|
|
14628
|
-
this.
|
|
14629
|
-
this.
|
|
14630
|
-
this.
|
|
14647
|
+
this.tbb_1 = $putCardValidatorInteractor;
|
|
14648
|
+
this.ubb_1 = $logger;
|
|
14649
|
+
this.vbb_1 = $messageFactory;
|
|
14631
14650
|
}
|
|
14632
14651
|
protoOf(validateCardOnMoveMiddleware$$inlined$middlewareForActionType$1).v6n = function (action) {
|
|
14633
14652
|
return action instanceof PutCardAndCheckCombinationsAction;
|
|
@@ -14637,19 +14656,19 @@
|
|
|
14637
14656
|
var state = store.state;
|
|
14638
14657
|
var cardNotValidCount = 0;
|
|
14639
14658
|
var player = get_currentPlayer(state.y6s());
|
|
14640
|
-
var tmp0_putPlayerCard = action_0.
|
|
14659
|
+
var tmp0_putPlayerCard = action_0.ib4_1.m6k_1;
|
|
14641
14660
|
var tmp1_table = state.y6s();
|
|
14642
|
-
var validationCode = this.
|
|
14661
|
+
var validationCode = this.tbb_1.q9y(tmp0_putPlayerCard, tmp1_table, player);
|
|
14643
14662
|
if (!(validationCode == null)) {
|
|
14644
14663
|
cardNotValidCount = cardNotValidCount + 1 | 0;
|
|
14645
14664
|
} else {
|
|
14646
14665
|
cardNotValidCount = 0;
|
|
14647
14666
|
}
|
|
14648
14667
|
if (cardNotValidCount > 3) {
|
|
14649
|
-
this.
|
|
14668
|
+
this.ubb_1.w(VOID, 'validateCardMiddleware: card is not valid for the third time, please check');
|
|
14650
14669
|
}
|
|
14651
14670
|
if (!(validationCode == null)) {
|
|
14652
|
-
store.dispatch(new InfoMessageAction(this.
|
|
14671
|
+
store.dispatch(new InfoMessageAction(this.vbb_1.l8p(validationCode)));
|
|
14653
14672
|
} else {
|
|
14654
14673
|
next(action_0);
|
|
14655
14674
|
}
|
|
@@ -14665,14 +14684,14 @@
|
|
|
14665
14684
|
}
|
|
14666
14685
|
function ClientCombinationsReducerImpl() {
|
|
14667
14686
|
}
|
|
14668
|
-
protoOf(ClientCombinationsReducerImpl).
|
|
14687
|
+
protoOf(ClientCombinationsReducerImpl).wbb = function (currentPlayerId, actData) {
|
|
14669
14688
|
if (!(actData == null) && currentPlayerId === actData.a7f()) {
|
|
14670
14689
|
return new CombinationToAnnounceState(actData.f7f_1, null, null);
|
|
14671
14690
|
}
|
|
14672
14691
|
return null;
|
|
14673
14692
|
};
|
|
14674
14693
|
function clientCombinationToAnnounceStateOnPlayerTurnReducer$$inlined$reducerForActionType$1($clientCombinationsReducer) {
|
|
14675
|
-
this.
|
|
14694
|
+
this.xbb_1 = $clientCombinationsReducer;
|
|
14676
14695
|
}
|
|
14677
14696
|
protoOf(clientCombinationToAnnounceStateOnPlayerTurnReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
14678
14697
|
return isInterface(action, NavigationMechanicAction);
|
|
@@ -14696,7 +14715,7 @@
|
|
|
14696
14715
|
}
|
|
14697
14716
|
throw new MechanicException('Required ' + getKClass(CombinationActData).ab() + ', current act is ' + toString_0(tmp0));
|
|
14698
14717
|
}
|
|
14699
|
-
tmp$ret$1 = state.w8z(VOID, tmp.
|
|
14718
|
+
tmp$ret$1 = state.w8z(VOID, tmp.ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.xbb_1.wbb(tmp_0, tmp$ret$0)));
|
|
14700
14719
|
break $l$block_0;
|
|
14701
14720
|
}
|
|
14702
14721
|
tmp$ret$1 = state;
|
|
@@ -14707,20 +14726,20 @@
|
|
|
14707
14726
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
14708
14727
|
};
|
|
14709
14728
|
function ClientLifecycleReducer(logger) {
|
|
14710
|
-
this.
|
|
14729
|
+
this.ybb_1 = logger;
|
|
14711
14730
|
}
|
|
14712
|
-
protoOf(ClientLifecycleReducer).
|
|
14731
|
+
protoOf(ClientLifecycleReducer).zbb = function (state, messagesReducer) {
|
|
14713
14732
|
var tmp1_config = state.o9x_1;
|
|
14714
14733
|
var tmp2_isForeground = state.t9x_1;
|
|
14715
14734
|
var tmp3_isSceneActive = state.u9x_1;
|
|
14716
14735
|
var tmp4_bufferedActions = state.s9x_1;
|
|
14717
14736
|
var tmp5_error = state.c9y_1;
|
|
14718
14737
|
var tmp6_messages = messagesReducer(state.p9x_1);
|
|
14719
|
-
return Companion_instance_13.
|
|
14738
|
+
return Companion_instance_13.abc(tmp1_config, tmp2_isForeground, tmp3_isSceneActive, tmp6_messages, tmp4_bufferedActions, tmp5_error);
|
|
14720
14739
|
};
|
|
14721
|
-
protoOf(ClientLifecycleReducer).
|
|
14740
|
+
protoOf(ClientLifecycleReducer).bbc = function (state) {
|
|
14722
14741
|
if (state.o9x_1.m9v()) {
|
|
14723
|
-
return Companion_instance_13.
|
|
14742
|
+
return Companion_instance_13.dbc(state.o9x_1, state.t9x_1, state.u9x_1);
|
|
14724
14743
|
} else {
|
|
14725
14744
|
var tmp1_config = state.o9x_1;
|
|
14726
14745
|
var tmp2_isForeground = state.t9x_1;
|
|
@@ -14732,10 +14751,10 @@
|
|
|
14732
14751
|
var tmp8_messages = state.p9x_1;
|
|
14733
14752
|
var tmp9_processingCard = state.a9y_1;
|
|
14734
14753
|
var tmp10_transitions = state.b9y_1;
|
|
14735
|
-
return Companion_instance_13.
|
|
14754
|
+
return Companion_instance_13.cbc(tmp1_config, tmp2_isForeground, tmp3_isSceneActive, tmp8_messages, tmp6_bufferedActions, tmp5_expectants, tmp7_combinationsToAnnounce, tmp9_processingCard, tmp4_error, tmp10_transitions);
|
|
14736
14755
|
}
|
|
14737
14756
|
};
|
|
14738
|
-
protoOf(ClientLifecycleReducer).
|
|
14757
|
+
protoOf(ClientLifecycleReducer).ebc = function (messages) {
|
|
14739
14758
|
// Inline function 'kotlin.collections.filter' call
|
|
14740
14759
|
// Inline function 'kotlin.collections.filterTo' call
|
|
14741
14760
|
var destination = ArrayList_init_$Create$_0();
|
|
@@ -14746,9 +14765,9 @@
|
|
|
14746
14765
|
destination.e(element);
|
|
14747
14766
|
}
|
|
14748
14767
|
}
|
|
14749
|
-
return updateMessagesAsNotShown(destination, this.
|
|
14768
|
+
return updateMessagesAsNotShown(destination, this.ybb_1);
|
|
14750
14769
|
};
|
|
14751
|
-
protoOf(ClientLifecycleReducer).
|
|
14770
|
+
protoOf(ClientLifecycleReducer).fbc = function (messages) {
|
|
14752
14771
|
// Inline function 'kotlin.collections.filter' call
|
|
14753
14772
|
// Inline function 'kotlin.collections.filterTo' call
|
|
14754
14773
|
var destination = ArrayList_init_$Create$_0();
|
|
@@ -14759,7 +14778,7 @@
|
|
|
14759
14778
|
destination.e(element);
|
|
14760
14779
|
}
|
|
14761
14780
|
}
|
|
14762
|
-
return updateMessagesAsNotShown(destination, this.
|
|
14781
|
+
return updateMessagesAsNotShown(destination, this.ybb_1);
|
|
14763
14782
|
};
|
|
14764
14783
|
function updateMessagesAsNotShown(_this__u8e3s4, gameLogger) {
|
|
14765
14784
|
// Inline function 'kotlin.collections.map' call
|
|
@@ -14823,7 +14842,7 @@
|
|
|
14823
14842
|
function ClientMechanicLifecycleReducer$onStart$lambda(this$0, $action) {
|
|
14824
14843
|
return function (it) {
|
|
14825
14844
|
var tmp;
|
|
14826
|
-
if (this$0.
|
|
14845
|
+
if (this$0.ibc_1.m9v()) {
|
|
14827
14846
|
var tmp_0 = Companion_instance_2;
|
|
14828
14847
|
var tmp_1 = Companion_instance_3;
|
|
14829
14848
|
var tmp_2 = PlayerConnectionState_LIVE_getInstance();
|
|
@@ -14840,24 +14859,24 @@
|
|
|
14840
14859
|
}
|
|
14841
14860
|
function ClientLifecycleReducer$gameFinishedMessagesReducer$ref(p0) {
|
|
14842
14861
|
var l = function (_this__u8e3s4) {
|
|
14843
|
-
return p0.
|
|
14862
|
+
return p0.ebc(_this__u8e3s4);
|
|
14844
14863
|
};
|
|
14845
14864
|
l.callableName = 'gameFinishedMessagesReducer';
|
|
14846
14865
|
return l;
|
|
14847
14866
|
}
|
|
14848
14867
|
function ClientLifecycleReducer$roundFinishedMessagesReducer$ref(p0) {
|
|
14849
14868
|
var l = function (_this__u8e3s4) {
|
|
14850
|
-
return p0.
|
|
14869
|
+
return p0.fbc(_this__u8e3s4);
|
|
14851
14870
|
};
|
|
14852
14871
|
l.callableName = 'roundFinishedMessagesReducer';
|
|
14853
14872
|
return l;
|
|
14854
14873
|
}
|
|
14855
14874
|
function ClientMechanicLifecycleReducer(clintConfig, logger, tableLifecycleReducer, randomPoolProvider, clientLifecycleReducer, clientCombinationsReducer) {
|
|
14856
14875
|
BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
|
|
14857
|
-
this.
|
|
14858
|
-
this.
|
|
14859
|
-
this.
|
|
14860
|
-
this.
|
|
14876
|
+
this.ibc_1 = clintConfig;
|
|
14877
|
+
this.jbc_1 = logger;
|
|
14878
|
+
this.kbc_1 = clientLifecycleReducer;
|
|
14879
|
+
this.lbc_1 = clientCombinationsReducer;
|
|
14861
14880
|
}
|
|
14862
14881
|
protoOf(ClientMechanicLifecycleReducer).h9e = function (state, action) {
|
|
14863
14882
|
var clientState = get_clientPayloadOrNull(state.i6s_1);
|
|
@@ -14872,8 +14891,8 @@
|
|
|
14872
14891
|
var newTable = tmp0_$this.o9f(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ClientMechanicLifecycleReducer$onStart$lambda(this, action));
|
|
14873
14892
|
var tmp;
|
|
14874
14893
|
if (clientState == null) {
|
|
14875
|
-
this.
|
|
14876
|
-
tmp = Companion_instance_13.
|
|
14894
|
+
this.jbc_1.w(VOID, 'ClientPayload is not onStart, should be init via InitClientStateAction');
|
|
14895
|
+
tmp = Companion_instance_13.mbc(this.ibc_1);
|
|
14877
14896
|
} else {
|
|
14878
14897
|
tmp = clientState;
|
|
14879
14898
|
}
|
|
@@ -14885,7 +14904,7 @@
|
|
|
14885
14904
|
this.j9e_1.k5v(action.previousGameId);
|
|
14886
14905
|
var newTable = this.i9e_1.p9f(state.y6s(), action.gameId);
|
|
14887
14906
|
var tmp = get_clientPayload_0(state);
|
|
14888
|
-
var newPayload = this.
|
|
14907
|
+
var newPayload = this.kbc_1.zbb(tmp, ClientLifecycleReducer$gameFinishedMessagesReducer$ref(this.kbc_1));
|
|
14889
14908
|
var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
14890
14909
|
return state.w8z(newTable, newPayload, tmp0_gameLifecycleState);
|
|
14891
14910
|
};
|
|
@@ -14911,9 +14930,9 @@
|
|
|
14911
14930
|
}
|
|
14912
14931
|
tmp_2 = tmp$ret$0;
|
|
14913
14932
|
}
|
|
14914
|
-
tmp = tmp_0.
|
|
14933
|
+
tmp = tmp_0.nbc(this.ibc_1, this.lbc_1.wbb(tmp_1, tmp_2));
|
|
14915
14934
|
} else {
|
|
14916
|
-
tmp = this.
|
|
14935
|
+
tmp = this.kbc_1.bbc(clientState);
|
|
14917
14936
|
}
|
|
14918
14937
|
var newPayload = tmp;
|
|
14919
14938
|
var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
|
|
@@ -14929,7 +14948,7 @@
|
|
|
14929
14948
|
// Inline function 'kotlin.apply' call
|
|
14930
14949
|
this.j9e_1.k5v(tmp1_safe_receiver);
|
|
14931
14950
|
}
|
|
14932
|
-
var newPayload = this.
|
|
14951
|
+
var newPayload = this.kbc_1.bbc(get_clientPayload_0(state));
|
|
14933
14952
|
var tmp2_gameLifecycleState = GameLifecycleState_FINISHING_getInstance();
|
|
14934
14953
|
var tmp3_terminationState = new TerminationState(action.x91_1, action.z91_1);
|
|
14935
14954
|
return state.w8z(VOID, newPayload, tmp2_gameLifecycleState, tmp3_terminationState);
|
|
@@ -14942,7 +14961,7 @@
|
|
|
14942
14961
|
};
|
|
14943
14962
|
protoOf(ClientMechanicLifecycleReducer).c9e = function (state, action) {
|
|
14944
14963
|
var tmp = get_clientPayload_0(state);
|
|
14945
|
-
var newPayload = this.
|
|
14964
|
+
var newPayload = this.kbc_1.zbb(tmp, ClientLifecycleReducer$roundFinishedMessagesReducer$ref(this.kbc_1));
|
|
14946
14965
|
var newTable = this.i9e_1.k9e(state.y6s());
|
|
14947
14966
|
return state.w8z(newTable, newPayload);
|
|
14948
14967
|
};
|
|
@@ -14961,7 +14980,7 @@
|
|
|
14961
14980
|
tmp = null;
|
|
14962
14981
|
} else {
|
|
14963
14982
|
// Inline function 'kotlin.let' call
|
|
14964
|
-
tmp = this.
|
|
14983
|
+
tmp = this.kbc_1.bbc(tmp2_safe_receiver).ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, action.q93_1);
|
|
14965
14984
|
}
|
|
14966
14985
|
var newPayload = tmp;
|
|
14967
14986
|
var tmp3_safe_receiver = state.k6s_1;
|
|
@@ -14980,7 +14999,7 @@
|
|
|
14980
14999
|
};
|
|
14981
15000
|
protoOf(clientResetProcessingCardReducer$$inlined$reducerForActionType$1).r9c = function (state, action) {
|
|
14982
15001
|
action instanceof PutCardMechanicAction || THROW_CCE();
|
|
14983
|
-
return state.w8z(VOID, get_clientPayload_0(state).
|
|
15002
|
+
return state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, null));
|
|
14984
15003
|
};
|
|
14985
15004
|
protoOf(clientResetProcessingCardReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
14986
15005
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -14991,14 +15010,14 @@
|
|
|
14991
15010
|
}
|
|
14992
15011
|
function ClientLifecycleReducer$roundFinishedMessagesReducer$ref_0(p0) {
|
|
14993
15012
|
var l = function (_this__u8e3s4) {
|
|
14994
|
-
return p0.
|
|
15013
|
+
return p0.fbc(_this__u8e3s4);
|
|
14995
15014
|
};
|
|
14996
15015
|
l.callableName = 'roundFinishedMessagesReducer';
|
|
14997
15016
|
return l;
|
|
14998
15017
|
}
|
|
14999
15018
|
function clientSceneReducer$$inlined$reducerForActionType$1($logger, $clientLifecycleReducer) {
|
|
15000
|
-
this.
|
|
15001
|
-
this.
|
|
15019
|
+
this.obc_1 = $logger;
|
|
15020
|
+
this.pbc_1 = $clientLifecycleReducer;
|
|
15002
15021
|
}
|
|
15003
15022
|
protoOf(clientSceneReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15004
15023
|
return action instanceof SceneMechanicAction;
|
|
@@ -15013,11 +15032,11 @@
|
|
|
15013
15032
|
case 'CHOOSE_PARTNER':
|
|
15014
15033
|
case 'TRADE':
|
|
15015
15034
|
case 'EARN_POINTS':
|
|
15016
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15035
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, updateMessagesAsNotShown(get_clientPayload_0(state).p9x_1, this.obc_1)));
|
|
15017
15036
|
break;
|
|
15018
15037
|
case 'CALC_POINTS':
|
|
15019
15038
|
var tmp_0 = get_clientPayload_0(state);
|
|
15020
|
-
tmp = state.w8z(VOID, this.
|
|
15039
|
+
tmp = state.w8z(VOID, this.pbc_1.zbb(tmp_0, ClientLifecycleReducer$roundFinishedMessagesReducer$ref_0(this.pbc_1)));
|
|
15021
15040
|
break;
|
|
15022
15041
|
default:
|
|
15023
15042
|
throw new MechanicException("clientSceneReducer: Can't support this scene " + action_0.toString());
|
|
@@ -15032,7 +15051,7 @@
|
|
|
15032
15051
|
return new clientUIReducer$$inlined$reducerForActionType$1(currentPlayerId);
|
|
15033
15052
|
}
|
|
15034
15053
|
function clientUIReducer$$inlined$reducerForActionType$1($currentPlayerId) {
|
|
15035
|
-
this.
|
|
15054
|
+
this.qbc_1 = $currentPlayerId;
|
|
15036
15055
|
}
|
|
15037
15056
|
protoOf(clientUIReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15038
15057
|
return action instanceof ClientAction;
|
|
@@ -15043,35 +15062,35 @@
|
|
|
15043
15062
|
$l$block: {
|
|
15044
15063
|
var tmp;
|
|
15045
15064
|
if (tmp2 instanceof SwitchChatAction) {
|
|
15046
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15065
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2.wb3_1));
|
|
15047
15066
|
} else {
|
|
15048
15067
|
if (tmp2 instanceof SwitchSettingAction) {
|
|
15049
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15068
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2.xb3_1));
|
|
15050
15069
|
} else {
|
|
15051
15070
|
if (tmp2 instanceof SceneTutorialAction) {
|
|
15052
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15071
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2.rbc_1));
|
|
15053
15072
|
} else {
|
|
15054
15073
|
if (tmp2 instanceof SceneActivationAction) {
|
|
15055
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15074
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, VOID, VOID, VOID, VOID, VOID, tmp2.i9y_1));
|
|
15056
15075
|
} else {
|
|
15057
15076
|
if (tmp2 instanceof CombinationToAnnounceAction) {
|
|
15058
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15077
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, new CombinationToAnnounceState(tmp2.mb4_1, tmp2.nb4_1, tmp2.ob4_1)));
|
|
15059
15078
|
} else {
|
|
15060
15079
|
if (tmp2 instanceof SwitchLastBribeAction) {
|
|
15061
15080
|
var tmp_0 = get_clientPayload_0(state);
|
|
15062
15081
|
var tmp_1;
|
|
15063
|
-
if (tmp2.
|
|
15082
|
+
if (tmp2.yb3_1) {
|
|
15064
15083
|
var cards = last(state.y6s().bribes).s7o_1;
|
|
15065
15084
|
tmp_1 = new LastBribeState(first(cards).g7e_1, getWhoGotLastBribe(state.y6s().players).playerId, cards);
|
|
15066
15085
|
} else {
|
|
15067
15086
|
tmp_1 = null;
|
|
15068
15087
|
}
|
|
15069
|
-
tmp = state.w8z(VOID, tmp_0.
|
|
15088
|
+
tmp = state.w8z(VOID, tmp_0.ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp_1));
|
|
15070
15089
|
} else {
|
|
15071
15090
|
if (tmp2 instanceof SwitchGameInfoAction) {
|
|
15072
15091
|
var tmp_2 = get_clientPayload_0(state);
|
|
15073
15092
|
var tmp_3;
|
|
15074
|
-
if (tmp2.
|
|
15093
|
+
if (tmp2.zb3_1) {
|
|
15075
15094
|
var players = state.y6s().players;
|
|
15076
15095
|
var tmp3_trump = state.y6s().currentTrump;
|
|
15077
15096
|
var tmp1_safe_receiver = singleOrNull(filterWhoChoseSuit(players));
|
|
@@ -15082,19 +15101,19 @@
|
|
|
15082
15101
|
} else {
|
|
15083
15102
|
tmp_3 = null;
|
|
15084
15103
|
}
|
|
15085
|
-
tmp = state.w8z(VOID, tmp_2.
|
|
15104
|
+
tmp = state.w8z(VOID, tmp_2.ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp_3));
|
|
15086
15105
|
} else {
|
|
15087
15106
|
if (tmp2 instanceof AnnouncedCombinationAction) {
|
|
15088
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15107
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, null));
|
|
15089
15108
|
} else {
|
|
15090
15109
|
if (tmp2 instanceof ForegroundAction) {
|
|
15091
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15110
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, VOID, VOID, VOID, VOID, tmp2.ab4_1));
|
|
15092
15111
|
} else {
|
|
15093
15112
|
if (tmp2 instanceof InitClientStateAction) {
|
|
15094
|
-
tmp = state.w8z(VOID, Companion_instance_13.
|
|
15113
|
+
tmp = state.w8z(VOID, Companion_instance_13.mbc(tmp2.bb4_1));
|
|
15095
15114
|
} else {
|
|
15096
15115
|
if (tmp2 instanceof UpdateConfigAction) {
|
|
15097
|
-
var tmp6_safe_receiver = tmp2.
|
|
15116
|
+
var tmp6_safe_receiver = tmp2.gb4_1;
|
|
15098
15117
|
var tmp_4;
|
|
15099
15118
|
if (tmp6_safe_receiver == null) {
|
|
15100
15119
|
tmp_4 = null;
|
|
@@ -15116,39 +15135,39 @@
|
|
|
15116
15135
|
var updatedPlayers = tmp_4;
|
|
15117
15136
|
var tmp_5 = state.y6s();
|
|
15118
15137
|
var tmp10_$this = state.y6s().config;
|
|
15119
|
-
var tmp7_elvis_lhs = tmp2.
|
|
15138
|
+
var tmp7_elvis_lhs = tmp2.eb4_1;
|
|
15120
15139
|
var tmp11_rulesSetType = tmp7_elvis_lhs == null ? state.y6s().config.rulesSetType : tmp7_elvis_lhs;
|
|
15121
|
-
var tmp8_elvis_lhs = tmp2.
|
|
15140
|
+
var tmp8_elvis_lhs = tmp2.fb4_1;
|
|
15122
15141
|
var tmp12_rules = tmp8_elvis_lhs == null ? state.y6s().config.rules : tmp8_elvis_lhs;
|
|
15123
|
-
var tmp9_elvis_lhs = tmp2.
|
|
15142
|
+
var tmp9_elvis_lhs = tmp2.db4_1;
|
|
15124
15143
|
var tmp13_options = tmp9_elvis_lhs == null ? state.y6s().config.options : tmp9_elvis_lhs;
|
|
15125
15144
|
var tmp_6 = tmp10_$this.copy(tmp12_rules, tmp11_rulesSetType, tmp13_options);
|
|
15126
15145
|
var tmp_7 = tmp_5.copy(VOID, VOID, VOID, tmp_6, updatedPlayers == null ? state.y6s().players : updatedPlayers);
|
|
15127
15146
|
var tmp_8 = get_clientPayload_0(state);
|
|
15128
|
-
var tmp15_elvis_lhs = tmp2.
|
|
15129
|
-
tmp = state.w8z(tmp_7, tmp_8.
|
|
15147
|
+
var tmp15_elvis_lhs = tmp2.cb4_1;
|
|
15148
|
+
tmp = state.w8z(tmp_7, tmp_8.ob7(tmp15_elvis_lhs == null ? get_clientPayload_0(state).o9x_1 : tmp15_elvis_lhs));
|
|
15130
15149
|
} else {
|
|
15131
15150
|
if (tmp2 instanceof ClientMessageAction) {
|
|
15132
15151
|
var messages = get_clientPayload_0(state).p9x_1;
|
|
15133
15152
|
var lastMessage = lastOrNull(messages);
|
|
15134
|
-
if ((lastMessage == null ? null : lastMessage.f6w(tmp2.
|
|
15153
|
+
if ((lastMessage == null ? null : lastMessage.f6w(tmp2.hb4_1)) === true) {
|
|
15135
15154
|
tmp$ret$5 = state;
|
|
15136
15155
|
break $l$block;
|
|
15137
15156
|
}
|
|
15138
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15157
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, plus_0(messages, tmp2.hb4_1)));
|
|
15139
15158
|
} else {
|
|
15140
15159
|
if (tmp2 instanceof PutCardAndCheckCombinationsAction) {
|
|
15141
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15160
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp2.ib4_1));
|
|
15142
15161
|
} else {
|
|
15143
15162
|
if (tmp2 instanceof InfoMessageAction) {
|
|
15144
|
-
tmp = state.w8z(VOID, get_clientPayload_0(state).
|
|
15163
|
+
tmp = state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, VOID, tmp2.lb4_1));
|
|
15145
15164
|
} else {
|
|
15146
15165
|
if (tmp2 instanceof UpdateMessagesCountAction) {
|
|
15147
|
-
tmp = state.w8z(updateVoiceCount_0(state.y6s(), this.
|
|
15166
|
+
tmp = state.w8z(updateVoiceCount_0(state.y6s(), this.qbc_1));
|
|
15148
15167
|
} else {
|
|
15149
15168
|
if (tmp2 instanceof ResetErrorAction) {
|
|
15150
15169
|
var tmp17_safe_receiver = get_clientPayloadOrNull_0(state);
|
|
15151
|
-
tmp = state.w8z(VOID, tmp17_safe_receiver == null ? null : tmp17_safe_receiver.
|
|
15170
|
+
tmp = state.w8z(VOID, tmp17_safe_receiver == null ? null : tmp17_safe_receiver.ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, null), GameLifecycleState_CREATING_getInstance(), null);
|
|
15152
15171
|
} else {
|
|
15153
15172
|
if (tmp2 instanceof TransitionsFinishedAction) {
|
|
15154
15173
|
var tmp_9 = get_clientPayload_0(state);
|
|
@@ -15159,11 +15178,11 @@
|
|
|
15159
15178
|
var _iterator__ex2g4s_0 = tmp0.j();
|
|
15160
15179
|
while (_iterator__ex2g4s_0.k()) {
|
|
15161
15180
|
var element = _iterator__ex2g4s_0.l();
|
|
15162
|
-
if (!tmp2.
|
|
15181
|
+
if (!tmp2.lbb_1.v1(element.h5o())) {
|
|
15163
15182
|
destination_0.e(element);
|
|
15164
15183
|
}
|
|
15165
15184
|
}
|
|
15166
|
-
tmp = state.w8z(VOID, tmp_9.
|
|
15185
|
+
tmp = state.w8z(VOID, tmp_9.ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, destination_0));
|
|
15167
15186
|
} else {
|
|
15168
15187
|
if (tmp2 instanceof TutorialPassedAction) {
|
|
15169
15188
|
tmp = state;
|
|
@@ -15236,13 +15255,13 @@
|
|
|
15236
15255
|
protoOf(messageReducer$$inlined$reducerForActionType$1).r9c = function (state, action) {
|
|
15237
15256
|
var action_0 = action instanceof MessageMechanicAction ? action : THROW_CCE();
|
|
15238
15257
|
var clientState = get_clientPayload_0(state);
|
|
15239
|
-
return state.w8z(updateVoiceCount(state.y6s(), action_0), clientState.
|
|
15258
|
+
return state.w8z(updateVoiceCount(state.y6s(), action_0), clientState.ob7(VOID, plus_0(clientState.p9x_1, action_0.o93_1)));
|
|
15240
15259
|
};
|
|
15241
15260
|
protoOf(messageReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15242
15261
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
15243
15262
|
};
|
|
15244
15263
|
function clientResetMessagesAfterSelectedTrumpReducer$$inlined$reducerForActionType$1($gameLogger) {
|
|
15245
|
-
this.
|
|
15264
|
+
this.sbc_1 = $gameLogger;
|
|
15246
15265
|
}
|
|
15247
15266
|
protoOf(clientResetMessagesAfterSelectedTrumpReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15248
15267
|
return action instanceof TrumpMechanicAction;
|
|
@@ -15250,13 +15269,13 @@
|
|
|
15250
15269
|
protoOf(clientResetMessagesAfterSelectedTrumpReducer$$inlined$reducerForActionType$1).r9c = function (state, action) {
|
|
15251
15270
|
action instanceof TrumpMechanicAction || THROW_CCE();
|
|
15252
15271
|
var clientState = get_clientPayload_0(state);
|
|
15253
|
-
return state.w8z(VOID, clientState.
|
|
15272
|
+
return state.w8z(VOID, clientState.ob7(VOID, updateMessagesAsNotShown(clientState.p9x_1, this.sbc_1)));
|
|
15254
15273
|
};
|
|
15255
15274
|
protoOf(clientResetMessagesAfterSelectedTrumpReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15256
15275
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
15257
15276
|
};
|
|
15258
15277
|
function clientResetMessagesAfterBribeReducer$$inlined$reducerForActionType$1($gameLogger) {
|
|
15259
|
-
this.
|
|
15278
|
+
this.tbc_1 = $gameLogger;
|
|
15260
15279
|
}
|
|
15261
15280
|
protoOf(clientResetMessagesAfterBribeReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15262
15281
|
return action instanceof PickUpBribeMechanicAction;
|
|
@@ -15264,7 +15283,7 @@
|
|
|
15264
15283
|
protoOf(clientResetMessagesAfterBribeReducer$$inlined$reducerForActionType$1).r9c = function (state, action) {
|
|
15265
15284
|
action instanceof PickUpBribeMechanicAction || THROW_CCE();
|
|
15266
15285
|
var clientState = get_clientPayload_0(state);
|
|
15267
|
-
return state.w8z(VOID, clientState.
|
|
15286
|
+
return state.w8z(VOID, clientState.ob7(VOID, updateMessagesAsNotShown(clientState.p9x_1, this.tbc_1)));
|
|
15268
15287
|
};
|
|
15269
15288
|
protoOf(clientResetMessagesAfterBribeReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15270
15289
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -15283,11 +15302,11 @@
|
|
|
15283
15302
|
var clientState = get_clientPayload_0(state);
|
|
15284
15303
|
var tmp;
|
|
15285
15304
|
if (action_0 instanceof AddToBufferAction) {
|
|
15286
|
-
var bufferedActions = plus_0(clientState.s9x_1, action_0.
|
|
15287
|
-
tmp = state.w8z(VOID, clientState.
|
|
15305
|
+
var bufferedActions = plus_0(clientState.s9x_1, action_0.sb3_1);
|
|
15306
|
+
tmp = state.w8z(VOID, clientState.ob7(VOID, VOID, VOID, VOID, bufferedActions));
|
|
15288
15307
|
} else {
|
|
15289
15308
|
if (action_0 instanceof ReleaseBufferAction) {
|
|
15290
|
-
tmp = state.w8z(VOID, clientState.
|
|
15309
|
+
tmp = state.w8z(VOID, clientState.ob7(VOID, VOID, VOID, VOID, emptyList()));
|
|
15291
15310
|
} else {
|
|
15292
15311
|
noWhenBranchMatchedException();
|
|
15293
15312
|
}
|
|
@@ -15302,7 +15321,7 @@
|
|
|
15302
15321
|
return new clientErrorStateWhenTerminationActionReducer$$inlined$reducerForActionType$1(clientLifecycleReducer);
|
|
15303
15322
|
}
|
|
15304
15323
|
function clientErrorStateWhenTerminationActionReducer$$inlined$reducerForActionType$1($clientLifecycleReducer) {
|
|
15305
|
-
this.
|
|
15324
|
+
this.ubc_1 = $clientLifecycleReducer;
|
|
15306
15325
|
}
|
|
15307
15326
|
protoOf(clientErrorStateWhenTerminationActionReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15308
15327
|
return isInterface(action, TerminatedAction);
|
|
@@ -15320,7 +15339,7 @@
|
|
|
15320
15339
|
}
|
|
15321
15340
|
}
|
|
15322
15341
|
var errorState = tmp;
|
|
15323
|
-
return state.w8z(VOID, this.
|
|
15342
|
+
return state.w8z(VOID, this.ubc_1.bbc(get_clientPayload_0(state)).ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, errorState));
|
|
15324
15343
|
};
|
|
15325
15344
|
protoOf(clientErrorStateWhenTerminationActionReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15326
15345
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -15339,9 +15358,9 @@
|
|
|
15339
15358
|
var clientState = get_clientPayload_0(state);
|
|
15340
15359
|
var tmp;
|
|
15341
15360
|
if (action_0 instanceof ExpectantCreatedClientAction) {
|
|
15342
|
-
var expectants = plus_0(clientState.r9x_1, action_0.
|
|
15343
|
-
var bufferedActions = plus_0(clientState.s9x_1, action_0.
|
|
15344
|
-
tmp = state.w8z(VOID, clientState.
|
|
15361
|
+
var expectants = plus_0(clientState.r9x_1, action_0.pb4_1);
|
|
15362
|
+
var bufferedActions = plus_0(clientState.s9x_1, action_0.pb4_1.m9w_1);
|
|
15363
|
+
tmp = state.w8z(VOID, clientState.ob7(VOID, VOID, VOID, expectants, bufferedActions));
|
|
15345
15364
|
} else {
|
|
15346
15365
|
if (action_0 instanceof ExpectantTimerFinishedClientAction) {
|
|
15347
15366
|
// Inline function 'kotlin.collections.single' call
|
|
@@ -15372,7 +15391,7 @@
|
|
|
15372
15391
|
}
|
|
15373
15392
|
}
|
|
15374
15393
|
var expectants_0 = plus_0(destination, expectant.q9w(VOID, VOID, true));
|
|
15375
|
-
tmp = state.w8z(VOID, clientState.
|
|
15394
|
+
tmp = state.w8z(VOID, clientState.ob7(VOID, VOID, VOID, expectants_0));
|
|
15376
15395
|
} else {
|
|
15377
15396
|
if (action_0 instanceof ExpectantStageCompletedClientAction) {
|
|
15378
15397
|
tmp = state;
|
|
@@ -15410,7 +15429,7 @@
|
|
|
15410
15429
|
}
|
|
15411
15430
|
}
|
|
15412
15431
|
var expectants = destination;
|
|
15413
|
-
return state.w8z(VOID, clientPayload.
|
|
15432
|
+
return state.w8z(VOID, clientPayload.ob7(VOID, VOID, VOID, expectants));
|
|
15414
15433
|
};
|
|
15415
15434
|
protoOf(expectantActionReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15416
15435
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -15444,7 +15463,7 @@
|
|
|
15444
15463
|
}
|
|
15445
15464
|
var player = getPlayer(table.players, playerId);
|
|
15446
15465
|
var removeCardFromHand = getOpenOrHiddenCardInHand($this, card, player, currentPlayerId, table.players);
|
|
15447
|
-
var tmp0_id = $this.
|
|
15466
|
+
var tmp0_id = $this.bbd_1.t6l();
|
|
15448
15467
|
var tmp1_playerIndex = getPlayerIndex(table.players, playerId);
|
|
15449
15468
|
var tmp2_position = table.cardsOnTable.m();
|
|
15450
15469
|
return plus_0(clientPayload.b9y_1, new PutCardOnTableTransition(tmp0_id, playerId, tmp1_playerIndex, tmp2_position, removeCardFromHand, card));
|
|
@@ -15468,13 +15487,13 @@
|
|
|
15468
15487
|
return tmp0_elvis_lhs == null ? last(openOrHiddenCard) : tmp0_elvis_lhs;
|
|
15469
15488
|
}
|
|
15470
15489
|
function getOpenOrHiddenCardsInHand($this, player, currentPlayerId, players, processingCard, cards) {
|
|
15471
|
-
var tmp1_$this = $this.
|
|
15490
|
+
var tmp1_$this = $this.zbc_1;
|
|
15472
15491
|
var tmp2_playerId = player.playerId;
|
|
15473
15492
|
var tmp3_isCurrentPlayer = player.playerId === currentPlayerId;
|
|
15474
15493
|
var tmp4_players = mapWithIndex(players);
|
|
15475
15494
|
var tmp5_cards = toList(toSet(cards));
|
|
15476
15495
|
var tmp6_processingCardOnTable = processingCard == null ? null : processingCard.m6k_1;
|
|
15477
|
-
return tmp1_$this.
|
|
15496
|
+
return tmp1_$this.fbd(tmp2_playerId, tmp3_isCurrentPlayer, tmp5_cards, tmp4_players, tmp6_processingCardOnTable);
|
|
15478
15497
|
}
|
|
15479
15498
|
function getOpenOrHiddenCardsInHand$default($this, player, currentPlayerId, players, processingCard, cards, $super) {
|
|
15480
15499
|
cards = cards === VOID ? player.a70_1 : cards;
|
|
@@ -15504,10 +15523,10 @@
|
|
|
15504
15523
|
var cardsToDistributeCount = sum;
|
|
15505
15524
|
var otherCardsCount = sceneData.q7g_1.m();
|
|
15506
15525
|
var cardDeckCards = createCardDeckCards($this, cardsToDistributeCount, otherCardsCount);
|
|
15507
|
-
var shuffleCardTransition = new ShuffleCardDeckTransition($this.
|
|
15526
|
+
var shuffleCardTransition = new ShuffleCardDeckTransition($this.bbd_1.t6l(), plus(listOf_0(sceneData.p7g_1), cardDeckCards));
|
|
15508
15527
|
var distributionTransition = createCardDistributionTransition($this, state, currentPlayerId, playersCardsToDistribute, null, otherCardsCount);
|
|
15509
15528
|
var updatedTransitions = plus(get_clientPayload_0(state).b9y_1, listOf([shuffleCardTransition, distributionTransition]));
|
|
15510
|
-
return state.w8z(VOID, get_clientPayload_0(state).
|
|
15529
|
+
return state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
15511
15530
|
}
|
|
15512
15531
|
function handleEarnPointsScene($this, state, action, currentPlayerId) {
|
|
15513
15532
|
var tmp0 = action.sceneData;
|
|
@@ -15521,7 +15540,7 @@
|
|
|
15521
15540
|
throw new MechanicException('Required ' + getKClass(EarnPointsSceneData).ab() + ', current scene is ' + toString_0(tmp0));
|
|
15522
15541
|
}
|
|
15523
15542
|
var sceneData = tmp$ret$0;
|
|
15524
|
-
var tmp0_$this = $this.
|
|
15543
|
+
var tmp0_$this = $this.abd_1;
|
|
15525
15544
|
var tmp1_config = state.y6s().config;
|
|
15526
15545
|
var tmp2_cardDeck = state.y6s().requireCardDeck;
|
|
15527
15546
|
var tmp3_newTopOpenedCard = sceneData.u7g_1;
|
|
@@ -15532,7 +15551,7 @@
|
|
|
15532
15551
|
var tmp7_otherCardsCount = updatedCardDeck.s8h();
|
|
15533
15552
|
var distributionTransition = createCardDistributionTransition($this, state, currentPlayerId, tmp6_playersCardsToDistribute, tmp5_distributeTrumpCard, tmp7_otherCardsCount);
|
|
15534
15553
|
var updatedTransitions = plus_0(get_clientPayload_0(state).b9y_1, distributionTransition);
|
|
15535
|
-
return state.w8z(VOID, get_clientPayload_0(state).
|
|
15554
|
+
return state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
15536
15555
|
}
|
|
15537
15556
|
function createCardDistributionTransition($this, state, currentPlayerId, playersCardsToDistribute, distributeTrumpCard, otherCardsCount) {
|
|
15538
15557
|
var table = state.y6s();
|
|
@@ -15566,32 +15585,32 @@
|
|
|
15566
15585
|
destination.n2(tmp_0, tmp$ret$4);
|
|
15567
15586
|
}
|
|
15568
15587
|
var cardPairsMap = destination;
|
|
15569
|
-
return new CardDistributionTransition($this.
|
|
15588
|
+
return new CardDistributionTransition($this.bbd_1.t6l(), cardPairsMap);
|
|
15570
15589
|
}
|
|
15571
15590
|
function DistributeCardsModel(playerId, cardsToDistribute, allPlayerCards) {
|
|
15572
|
-
this.
|
|
15573
|
-
this.
|
|
15574
|
-
this.
|
|
15591
|
+
this.gbd_1 = playerId;
|
|
15592
|
+
this.hbd_1 = cardsToDistribute;
|
|
15593
|
+
this.ibd_1 = allPlayerCards;
|
|
15575
15594
|
}
|
|
15576
15595
|
protoOf(DistributeCardsModel).f6e = function () {
|
|
15577
|
-
return this.
|
|
15596
|
+
return this.gbd_1;
|
|
15578
15597
|
};
|
|
15579
|
-
protoOf(DistributeCardsModel).
|
|
15598
|
+
protoOf(DistributeCardsModel).jbd = function (playerId, cardsToDistribute, allPlayerCards) {
|
|
15580
15599
|
return new DistributeCardsModel(playerId, cardsToDistribute, allPlayerCards);
|
|
15581
15600
|
};
|
|
15582
|
-
protoOf(DistributeCardsModel).
|
|
15583
|
-
playerId = playerId === VOID ? this.
|
|
15584
|
-
cardsToDistribute = cardsToDistribute === VOID ? this.
|
|
15585
|
-
allPlayerCards = allPlayerCards === VOID ? this.
|
|
15586
|
-
return $super === VOID ? this.
|
|
15601
|
+
protoOf(DistributeCardsModel).kbd = function (playerId, cardsToDistribute, allPlayerCards, $super) {
|
|
15602
|
+
playerId = playerId === VOID ? this.gbd_1 : playerId;
|
|
15603
|
+
cardsToDistribute = cardsToDistribute === VOID ? this.hbd_1 : cardsToDistribute;
|
|
15604
|
+
allPlayerCards = allPlayerCards === VOID ? this.ibd_1 : allPlayerCards;
|
|
15605
|
+
return $super === VOID ? this.jbd(playerId, cardsToDistribute, allPlayerCards) : $super.jbd.call(this, playerId, cardsToDistribute, allPlayerCards);
|
|
15587
15606
|
};
|
|
15588
15607
|
protoOf(DistributeCardsModel).toString = function () {
|
|
15589
|
-
return 'DistributeCardsModel(playerId=' + this.
|
|
15608
|
+
return 'DistributeCardsModel(playerId=' + this.gbd_1 + ', cardsToDistribute=' + toString(this.hbd_1) + ', allPlayerCards=' + toString(this.ibd_1) + ')';
|
|
15590
15609
|
};
|
|
15591
15610
|
protoOf(DistributeCardsModel).hashCode = function () {
|
|
15592
|
-
var result = getStringHashCode(this.
|
|
15593
|
-
result = imul(result, 31) + hashCode(this.gbd_1) | 0;
|
|
15611
|
+
var result = getStringHashCode(this.gbd_1);
|
|
15594
15612
|
result = imul(result, 31) + hashCode(this.hbd_1) | 0;
|
|
15613
|
+
result = imul(result, 31) + hashCode(this.ibd_1) | 0;
|
|
15595
15614
|
return result;
|
|
15596
15615
|
};
|
|
15597
15616
|
protoOf(DistributeCardsModel).equals = function (other) {
|
|
@@ -15600,12 +15619,12 @@
|
|
|
15600
15619
|
if (!(other instanceof DistributeCardsModel))
|
|
15601
15620
|
return false;
|
|
15602
15621
|
var tmp0_other_with_cast = other instanceof DistributeCardsModel ? other : THROW_CCE();
|
|
15603
|
-
if (!(this.
|
|
15604
|
-
return false;
|
|
15605
|
-
if (!equals(this.gbd_1, tmp0_other_with_cast.gbd_1))
|
|
15622
|
+
if (!(this.gbd_1 === tmp0_other_with_cast.gbd_1))
|
|
15606
15623
|
return false;
|
|
15607
15624
|
if (!equals(this.hbd_1, tmp0_other_with_cast.hbd_1))
|
|
15608
15625
|
return false;
|
|
15626
|
+
if (!equals(this.ibd_1, tmp0_other_with_cast.ibd_1))
|
|
15627
|
+
return false;
|
|
15609
15628
|
return true;
|
|
15610
15629
|
};
|
|
15611
15630
|
function prepareCardsForDistribution($this, table, clientPayload, currentPlayerId, playersCardsToDistribute) {
|
|
@@ -15629,7 +15648,7 @@
|
|
|
15629
15648
|
return destination;
|
|
15630
15649
|
}
|
|
15631
15650
|
function determineWhoGetsTheTrumpCard($this, table) {
|
|
15632
|
-
return !(firstOrNull(filterWhoChoseSuit(table.players)) == null) ? $this.
|
|
15651
|
+
return !(firstOrNull(filterWhoChoseSuit(table.players)) == null) ? $this.cbd_1.m8o(table.players, table.config) : null;
|
|
15633
15652
|
}
|
|
15634
15653
|
function createCardDeckCards($this, cardsToDistributeCount, otherCardsCount) {
|
|
15635
15654
|
// Inline function 'kotlin.collections.List' call
|
|
@@ -15658,7 +15677,7 @@
|
|
|
15658
15677
|
while (_iterator__ex2g4s.k()) {
|
|
15659
15678
|
var element = _iterator__ex2g4s.l();
|
|
15660
15679
|
var tmp = sum;
|
|
15661
|
-
sum = tmp + element.
|
|
15680
|
+
sum = tmp + element.hbd_1.m() | 0;
|
|
15662
15681
|
}
|
|
15663
15682
|
var totalToDeal = sum;
|
|
15664
15683
|
var cardDeckCardsIterator = reversed(take_0(cardDeckCards, totalToDeal)).j();
|
|
@@ -15667,20 +15686,20 @@
|
|
|
15667
15686
|
while (_iterator__ex2g4s_0.k()) {
|
|
15668
15687
|
var element_0 = _iterator__ex2g4s_0.l();
|
|
15669
15688
|
// Inline function 'kotlin.collections.map' call
|
|
15670
|
-
var this_0 = element_0.
|
|
15689
|
+
var this_0 = element_0.hbd_1;
|
|
15671
15690
|
// Inline function 'kotlin.collections.mapTo' call
|
|
15672
15691
|
var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
|
|
15673
15692
|
var _iterator__ex2g4s_1 = this_0.j();
|
|
15674
15693
|
while (_iterator__ex2g4s_1.k()) {
|
|
15675
15694
|
var item = _iterator__ex2g4s_1.l();
|
|
15676
|
-
var tmp0_index = element_0.
|
|
15695
|
+
var tmp0_index = element_0.ibd_1.x1(item);
|
|
15677
15696
|
var tmp1_fromCard = cardDeckCardsIterator.l();
|
|
15678
15697
|
var tmp2_mode = CardTransitionMode_DISTRIBUTION_getInstance();
|
|
15679
15698
|
var tmp$ret$3 = new CardInHandTransition(tmp2_mode, tmp0_index, tmp1_fromCard, item);
|
|
15680
15699
|
destination.e(tmp$ret$3);
|
|
15681
15700
|
}
|
|
15682
15701
|
var additions = destination;
|
|
15683
|
-
addCards($this, playersCardsFromCardDeck, element_0.
|
|
15702
|
+
addCards($this, playersCardsFromCardDeck, element_0.gbd_1, additions);
|
|
15684
15703
|
}
|
|
15685
15704
|
return playersCardsFromCardDeck;
|
|
15686
15705
|
}
|
|
@@ -15697,7 +15716,7 @@
|
|
|
15697
15716
|
var updatedDistributeCardsModels = toMutableList(distributeCardsModels);
|
|
15698
15717
|
if (!(whoChoseSuitPlayerId == null) && !(distributeTrumpCard == null)) {
|
|
15699
15718
|
var model = getPlayer(distributeCardsModels, whoChoseSuitPlayerId);
|
|
15700
|
-
var tmp0 = model.
|
|
15719
|
+
var tmp0 = model.hbd_1;
|
|
15701
15720
|
var tmp$ret$1;
|
|
15702
15721
|
$l$block: {
|
|
15703
15722
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -15712,12 +15731,12 @@
|
|
|
15712
15731
|
tmp$ret$1 = null;
|
|
15713
15732
|
}
|
|
15714
15733
|
var tmp0_elvis_lhs = tmp$ret$1;
|
|
15715
|
-
var toCard = tmp0_elvis_lhs == null ? first(model.
|
|
15716
|
-
var tmp1_index = model.
|
|
15734
|
+
var toCard = tmp0_elvis_lhs == null ? first(model.hbd_1) : tmp0_elvis_lhs;
|
|
15735
|
+
var tmp1_index = model.ibd_1.x1(toCard);
|
|
15717
15736
|
var tmp2_mode = CardTransitionMode_DISTRIBUTION_getInstance();
|
|
15718
15737
|
addCards($this, playersCardsFromCardDeck, whoChoseSuitPlayerId, listOf_0(new CardInHandTransition(tmp2_mode, tmp1_index, distributeTrumpCard, toCard)));
|
|
15719
15738
|
// Inline function 'kotlin.collections.filter' call
|
|
15720
|
-
var tmp0_0 = model.
|
|
15739
|
+
var tmp0_0 = model.hbd_1;
|
|
15721
15740
|
// Inline function 'kotlin.collections.filterTo' call
|
|
15722
15741
|
var destination = ArrayList_init_$Create$_0();
|
|
15723
15742
|
var _iterator__ex2g4s_0 = tmp0_0.j();
|
|
@@ -15727,21 +15746,21 @@
|
|
|
15727
15746
|
destination.e(element_0);
|
|
15728
15747
|
}
|
|
15729
15748
|
}
|
|
15730
|
-
updated(updatedDistributeCardsModels, model.
|
|
15749
|
+
updated(updatedDistributeCardsModels, model.kbd(VOID, destination), get_byIdPlayerPredicate()(model.gbd_1));
|
|
15731
15750
|
}
|
|
15732
15751
|
return updatedDistributeCardsModels;
|
|
15733
15752
|
}
|
|
15734
15753
|
function sam$kotlin_Comparator$0(function_0) {
|
|
15735
|
-
this.
|
|
15754
|
+
this.lbd_1 = function_0;
|
|
15736
15755
|
}
|
|
15737
15756
|
protoOf(sam$kotlin_Comparator$0).bd = function (a, b) {
|
|
15738
|
-
return this.
|
|
15757
|
+
return this.lbd_1(a, b);
|
|
15739
15758
|
};
|
|
15740
15759
|
protoOf(sam$kotlin_Comparator$0).compare = function (a, b) {
|
|
15741
15760
|
return this.bd(a, b);
|
|
15742
15761
|
};
|
|
15743
15762
|
protoOf(sam$kotlin_Comparator$0).u3 = function () {
|
|
15744
|
-
return this.
|
|
15763
|
+
return this.lbd_1;
|
|
15745
15764
|
};
|
|
15746
15765
|
protoOf(sam$kotlin_Comparator$0).equals = function (other) {
|
|
15747
15766
|
var tmp;
|
|
@@ -15762,38 +15781,38 @@
|
|
|
15762
15781
|
return hashCode(this.u3());
|
|
15763
15782
|
};
|
|
15764
15783
|
function TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1(this$0, $currentPlayerId) {
|
|
15765
|
-
this.
|
|
15766
|
-
this.
|
|
15784
|
+
this.mbd_1 = this$0;
|
|
15785
|
+
this.nbd_1 = $currentPlayerId;
|
|
15767
15786
|
}
|
|
15768
15787
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15769
15788
|
return action instanceof PutCardAndCheckCombinationsAction;
|
|
15770
15789
|
};
|
|
15771
15790
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1).r9c = function (state, action) {
|
|
15772
15791
|
var action_0 = action instanceof PutCardAndCheckCombinationsAction ? action : THROW_CCE();
|
|
15773
|
-
var updatedTransitions = addPutCardOnTableTransition(this.
|
|
15774
|
-
return state.w8z(VOID, get_clientPayload_0(state).
|
|
15792
|
+
var updatedTransitions = addPutCardOnTableTransition(this.mbd_1, this.nbd_1, this.nbd_1, action_0.ib4_1.m6k_1, state.y6s(), get_clientPayload_0(state));
|
|
15793
|
+
return state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
15775
15794
|
};
|
|
15776
15795
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15777
15796
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
15778
15797
|
};
|
|
15779
15798
|
function TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1(this$0, $currentPlayerId) {
|
|
15780
|
-
this.
|
|
15781
|
-
this.
|
|
15799
|
+
this.obd_1 = this$0;
|
|
15800
|
+
this.pbd_1 = $currentPlayerId;
|
|
15782
15801
|
}
|
|
15783
15802
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15784
15803
|
return action instanceof PutCardMechanicAction;
|
|
15785
15804
|
};
|
|
15786
15805
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1).r9c = function (state, action) {
|
|
15787
15806
|
var action_0 = action instanceof PutCardMechanicAction ? action : THROW_CCE();
|
|
15788
|
-
var updatedTransitions = addPutCardOnTableTransition(this.
|
|
15789
|
-
return state.w8z(VOID, get_clientPayload_0(state).
|
|
15807
|
+
var updatedTransitions = addPutCardOnTableTransition(this.obd_1, action_0.playerId, this.pbd_1, action_0.u8w_1, state.y6s(), get_clientPayload_0(state));
|
|
15808
|
+
return state.w8z(VOID, get_clientPayload_0(state).ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
15790
15809
|
};
|
|
15791
15810
|
protoOf(TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1).n6p = function (state, action) {
|
|
15792
15811
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
15793
15812
|
};
|
|
15794
15813
|
function TransitionsReducerImpl$addTransitionWhenCardDistributionReducer$$inlined$reducerForActionType$1(this$0, $currentPlayerId) {
|
|
15795
|
-
this.
|
|
15796
|
-
this.
|
|
15814
|
+
this.qbd_1 = this$0;
|
|
15815
|
+
this.rbd_1 = $currentPlayerId;
|
|
15797
15816
|
}
|
|
15798
15817
|
protoOf(TransitionsReducerImpl$addTransitionWhenCardDistributionReducer$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15799
15818
|
return action instanceof SceneMechanicAction;
|
|
@@ -15803,10 +15822,10 @@
|
|
|
15803
15822
|
var tmp;
|
|
15804
15823
|
switch (action_0.l8w_1) {
|
|
15805
15824
|
case 'TRADE':
|
|
15806
|
-
tmp = handleTradeScene(this.
|
|
15825
|
+
tmp = handleTradeScene(this.qbd_1, state, action_0, this.rbd_1);
|
|
15807
15826
|
break;
|
|
15808
15827
|
case 'EARN_POINTS':
|
|
15809
|
-
tmp = handleEarnPointsScene(this.
|
|
15828
|
+
tmp = handleEarnPointsScene(this.qbd_1, state, action_0, this.rbd_1);
|
|
15810
15829
|
break;
|
|
15811
15830
|
default:
|
|
15812
15831
|
tmp = state;
|
|
@@ -15818,8 +15837,8 @@
|
|
|
15818
15837
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
15819
15838
|
};
|
|
15820
15839
|
function TransitionsReducerImpl$addTransitionWhenExpectant$$inlined$reducerForActionType$1(this$0, $currentPlayerId) {
|
|
15821
|
-
this.
|
|
15822
|
-
this.
|
|
15840
|
+
this.sbd_1 = this$0;
|
|
15841
|
+
this.tbd_1 = $currentPlayerId;
|
|
15823
15842
|
}
|
|
15824
15843
|
protoOf(TransitionsReducerImpl$addTransitionWhenExpectant$$inlined$reducerForActionType$1).v6n = function (action) {
|
|
15825
15844
|
return action instanceof ExpectantCreatedClientAction;
|
|
@@ -15827,26 +15846,26 @@
|
|
|
15827
15846
|
protoOf(TransitionsReducerImpl$addTransitionWhenExpectant$$inlined$reducerForActionType$1).r9c = function (state, action) {
|
|
15828
15847
|
var action_0 = action instanceof ExpectantCreatedClientAction ? action : THROW_CCE();
|
|
15829
15848
|
var clientPayload = get_clientPayload_0(state);
|
|
15830
|
-
var expectantAction = action_0.
|
|
15849
|
+
var expectantAction = action_0.pb4_1.m9w_1;
|
|
15831
15850
|
var tmp;
|
|
15832
15851
|
if (expectantAction instanceof CombinationChoiceMechanicAction) {
|
|
15833
15852
|
var combination = first(expectantAction.j93_1);
|
|
15834
15853
|
var tmp_0;
|
|
15835
15854
|
if (expectantAction.i93_1 && combination.i7f_1.equals(CombinationType_SEVEN_TRUMP_getInstance())) {
|
|
15836
15855
|
var trumpCard = single(combination.x8h());
|
|
15837
|
-
var trumpCardOrOrigin = getOpenOrHiddenCardInHand(this.
|
|
15838
|
-
var tmp0_id = this.
|
|
15856
|
+
var trumpCardOrOrigin = getOpenOrHiddenCardInHand(this.sbd_1, trumpCard, getPlayer(state.y6s().players, expectantAction.playerId), this.tbd_1, state.y6s().players);
|
|
15857
|
+
var tmp0_id = this.sbd_1.bbd_1.t6l();
|
|
15839
15858
|
var tmp1_toCard2 = state.y6s().requireCardDeck.b7p_1;
|
|
15840
15859
|
var tmp2_fromCard2 = state.y6s().requireCardDeck.b7p_1;
|
|
15841
15860
|
var updatedTransitions = plus_0(clientPayload.b9y_1, new SwapCardsTransition(tmp0_id, trumpCardOrOrigin, trumpCard, tmp2_fromCard2, tmp1_toCard2));
|
|
15842
|
-
tmp_0 = state.w8z(VOID, clientPayload.
|
|
15861
|
+
tmp_0 = state.w8z(VOID, clientPayload.ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions));
|
|
15843
15862
|
} else {
|
|
15844
15863
|
tmp_0 = state;
|
|
15845
15864
|
}
|
|
15846
15865
|
tmp = tmp_0;
|
|
15847
15866
|
} else {
|
|
15848
15867
|
if (expectantAction instanceof WinnerCombinationsMechanicAction) {
|
|
15849
|
-
var tmp_1 = this.
|
|
15868
|
+
var tmp_1 = this.sbd_1.bbd_1.t6l();
|
|
15850
15869
|
// Inline function 'kotlin.collections.associate' call
|
|
15851
15870
|
var this_0 = expectantAction.m93_1;
|
|
15852
15871
|
var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(this_0, 10)), 16);
|
|
@@ -15870,7 +15889,7 @@
|
|
|
15870
15889
|
var combinationCards = flatten(destination_0);
|
|
15871
15890
|
var tmp0_players = state.y6s().players;
|
|
15872
15891
|
var tmp1_processingCard = clientPayload.a9y_1;
|
|
15873
|
-
var openOrHiddenCards = getOpenOrHiddenCardsInHand(this.
|
|
15892
|
+
var openOrHiddenCards = getOpenOrHiddenCardsInHand(this.sbd_1, player, this.tbd_1, tmp0_players, tmp1_processingCard, combinationCards);
|
|
15874
15893
|
// Inline function 'kotlin.collections.mapIndexed' call
|
|
15875
15894
|
var this_2 = zip(combinationCards, openOrHiddenCards);
|
|
15876
15895
|
// Inline function 'kotlin.collections.mapIndexedTo' call
|
|
@@ -15901,10 +15920,10 @@
|
|
|
15901
15920
|
destination.n2(pair.if_1, pair.jf_1);
|
|
15902
15921
|
}
|
|
15903
15922
|
var updatedTransitions_0 = plus_0(clientPayload.b9y_1, new ShowCombinationTransition(tmp_1, destination));
|
|
15904
|
-
tmp = state.w8z(VOID, clientPayload.
|
|
15923
|
+
tmp = state.w8z(VOID, clientPayload.ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions_0));
|
|
15905
15924
|
} else {
|
|
15906
15925
|
if (expectantAction instanceof PickUpBribeMechanicAction) {
|
|
15907
|
-
var tmp_3 = this.
|
|
15926
|
+
var tmp_3 = this.sbd_1.bbd_1.t6l();
|
|
15908
15927
|
// Inline function 'kotlin.collections.map' call
|
|
15909
15928
|
var this_3 = state.y6s().cardsOnTable;
|
|
15910
15929
|
// Inline function 'kotlin.collections.mapTo' call
|
|
@@ -15916,7 +15935,7 @@
|
|
|
15916
15935
|
destination_2.e(tmp$ret$10);
|
|
15917
15936
|
}
|
|
15918
15937
|
var updatedTransitions_1 = plus_0(clientPayload.b9y_1, new PickUpBribeTransition(tmp_3, expectantAction.z8w_1, destination_2));
|
|
15919
|
-
tmp = state.w8z(VOID, clientPayload.
|
|
15938
|
+
tmp = state.w8z(VOID, clientPayload.ob7(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, updatedTransitions_1));
|
|
15920
15939
|
} else {
|
|
15921
15940
|
tmp = state;
|
|
15922
15941
|
}
|
|
@@ -15933,39 +15952,39 @@
|
|
|
15933
15952
|
};
|
|
15934
15953
|
}
|
|
15935
15954
|
function TransitionsReducerImpl(playerHandSelector, sceneReducer, idsProvider, gameLogicProvider) {
|
|
15936
|
-
this.
|
|
15937
|
-
this.
|
|
15938
|
-
this.
|
|
15939
|
-
this.
|
|
15955
|
+
this.zbc_1 = playerHandSelector;
|
|
15956
|
+
this.abd_1 = sceneReducer;
|
|
15957
|
+
this.bbd_1 = idsProvider;
|
|
15958
|
+
this.cbd_1 = gameLogicProvider;
|
|
15940
15959
|
}
|
|
15941
|
-
protoOf(TransitionsReducerImpl).
|
|
15960
|
+
protoOf(TransitionsReducerImpl).vbc = function (currentPlayerId) {
|
|
15942
15961
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
15943
15962
|
return new TransitionsReducerImpl$addTransitionWhenPutCardAndCheckCombinationReducer$$inlined$reducerForActionType$1(this, currentPlayerId);
|
|
15944
15963
|
};
|
|
15945
|
-
protoOf(TransitionsReducerImpl).
|
|
15964
|
+
protoOf(TransitionsReducerImpl).wbc = function (currentPlayerId) {
|
|
15946
15965
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
15947
15966
|
return new TransitionsReducerImpl$addTransitionWhenPutCardReducer$$inlined$reducerForActionType$1(this, currentPlayerId);
|
|
15948
15967
|
};
|
|
15949
|
-
protoOf(TransitionsReducerImpl).
|
|
15968
|
+
protoOf(TransitionsReducerImpl).xbc = function (currentPlayerId) {
|
|
15950
15969
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
15951
15970
|
return new TransitionsReducerImpl$addTransitionWhenCardDistributionReducer$$inlined$reducerForActionType$1(this, currentPlayerId);
|
|
15952
15971
|
};
|
|
15953
|
-
protoOf(TransitionsReducerImpl).
|
|
15972
|
+
protoOf(TransitionsReducerImpl).ybc = function (currentPlayerId) {
|
|
15954
15973
|
// Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
|
|
15955
15974
|
return new TransitionsReducerImpl$addTransitionWhenExpectant$$inlined$reducerForActionType$1(this, currentPlayerId);
|
|
15956
15975
|
};
|
|
15957
15976
|
function PlayerHandSelector(gameClientConfig, putCardValidatorInteractor) {
|
|
15958
|
-
this.
|
|
15959
|
-
this.
|
|
15977
|
+
this.dbd_1 = gameClientConfig;
|
|
15978
|
+
this.ebd_1 = putCardValidatorInteractor;
|
|
15960
15979
|
}
|
|
15961
|
-
protoOf(PlayerHandSelector).
|
|
15980
|
+
protoOf(PlayerHandSelector).fbd = function (playerId, isCurrentPlayer, cards, players, processingCardOnTable) {
|
|
15962
15981
|
if (isCurrentPlayer && !(processingCardOnTable == null)) {
|
|
15963
15982
|
return minus(cards, processingCardOnTable);
|
|
15964
15983
|
}
|
|
15965
15984
|
if (cards.p()) {
|
|
15966
15985
|
return emptyList();
|
|
15967
15986
|
}
|
|
15968
|
-
if (isCurrentPlayer || this.
|
|
15987
|
+
if (isCurrentPlayer || this.dbd_1.areOpponentsCardsOpened) {
|
|
15969
15988
|
return cards;
|
|
15970
15989
|
}
|
|
15971
15990
|
var index = getItemIndex(players, get_byIdPlayerPredicate()(playerId));
|
|
@@ -15973,20 +15992,20 @@
|
|
|
15973
15992
|
};
|
|
15974
15993
|
function Companion_3() {
|
|
15975
15994
|
}
|
|
15976
|
-
protoOf(Companion_3).
|
|
15995
|
+
protoOf(Companion_3).nbc = function (config, combinations) {
|
|
15977
15996
|
return new ClientStatePayload(config, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, combinations);
|
|
15978
15997
|
};
|
|
15979
|
-
protoOf(Companion_3).
|
|
15998
|
+
protoOf(Companion_3).mbc = function (config, combinations, $super) {
|
|
15980
15999
|
combinations = combinations === VOID ? null : combinations;
|
|
15981
|
-
return $super === VOID ? this.
|
|
16000
|
+
return $super === VOID ? this.nbc(config, combinations) : $super.nbc.call(this, config, combinations);
|
|
15982
16001
|
};
|
|
15983
|
-
protoOf(Companion_3).
|
|
16002
|
+
protoOf(Companion_3).abc = function (config, isForeground, isSceneActive, messages, bufferedActions, error) {
|
|
15984
16003
|
return new ClientStatePayload(config, messages, VOID, VOID, bufferedActions, isForeground, isSceneActive, VOID, VOID, VOID, VOID, VOID, VOID, VOID, error);
|
|
15985
16004
|
};
|
|
15986
|
-
protoOf(Companion_3).
|
|
16005
|
+
protoOf(Companion_3).cbc = function (config, isForeground, isSceneActive, messages, bufferedActions, expectants, combinationsToAnnounce, processingCard, error, transitions) {
|
|
15987
16006
|
return new ClientStatePayload(config, messages, VOID, expectants, bufferedActions, isForeground, isSceneActive, VOID, VOID, combinationsToAnnounce, VOID, VOID, processingCard, transitions, error);
|
|
15988
16007
|
};
|
|
15989
|
-
protoOf(Companion_3).
|
|
16008
|
+
protoOf(Companion_3).dbc = function (config, isForeground, isSceneActive) {
|
|
15990
16009
|
return new ClientStatePayload(config, VOID, VOID, VOID, VOID, isForeground, isSceneActive);
|
|
15991
16010
|
};
|
|
15992
16011
|
var Companion_instance_13;
|
|
@@ -16026,10 +16045,10 @@
|
|
|
16026
16045
|
this.c9y_1 = error;
|
|
16027
16046
|
this.d9y_1 = tutorial;
|
|
16028
16047
|
}
|
|
16029
|
-
protoOf(ClientStatePayload).
|
|
16048
|
+
protoOf(ClientStatePayload).ubd = function (config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial) {
|
|
16030
16049
|
return new ClientStatePayload(config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial);
|
|
16031
16050
|
};
|
|
16032
|
-
protoOf(ClientStatePayload).
|
|
16051
|
+
protoOf(ClientStatePayload).ob7 = function (config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial, $super) {
|
|
16033
16052
|
config = config === VOID ? this.o9x_1 : config;
|
|
16034
16053
|
messages = messages === VOID ? this.p9x_1 : messages;
|
|
16035
16054
|
infoMessage = infoMessage === VOID ? this.q9x_1 : infoMessage;
|
|
@@ -16046,7 +16065,7 @@
|
|
|
16046
16065
|
transitions = transitions === VOID ? this.b9y_1 : transitions;
|
|
16047
16066
|
error = error === VOID ? this.c9y_1 : error;
|
|
16048
16067
|
tutorial = tutorial === VOID ? this.d9y_1 : tutorial;
|
|
16049
|
-
return $super === VOID ? this.
|
|
16068
|
+
return $super === VOID ? this.ubd(config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial) : $super.ubd.call(this, config, messages, infoMessage, expectants, bufferedActions, isForeground, isSceneActive, chatOpened, settingsOpened, combinationsToAnnounce, lastBribe, gameInfo, processingCard, transitions, error, tutorial);
|
|
16050
16069
|
};
|
|
16051
16070
|
protoOf(ClientStatePayload).toString = function () {
|
|
16052
16071
|
return 'ClientStatePayload(config=' + this.o9x_1.toString() + ', messages=' + toString(this.p9x_1) + ', infoMessage=' + toString_0(this.q9x_1) + ', expectants=' + toString(this.r9x_1) + ', bufferedActions=' + toString(this.s9x_1) + ', isForeground=' + this.t9x_1 + ', isSceneActive=' + this.u9x_1 + ', chatOpened=' + this.v9x_1 + ', settingsOpened=' + this.w9x_1 + ', combinationsToAnnounce=' + toString_0(this.x9x_1) + ', lastBribe=' + toString_0(this.y9x_1) + ', gameInfo=' + toString_0(this.z9x_1) + ', processingCard=' + toString_0(this.a9y_1) + ', transitions=' + toString(this.b9y_1) + ', error=' + toString_0(this.c9y_1) + ', tutorial=' + this.d9y_1 + ')';
|
|
@@ -16111,17 +16130,17 @@
|
|
|
16111
16130
|
return true;
|
|
16112
16131
|
};
|
|
16113
16132
|
function CombinationToAnnounceState(combinations, acceptedCombinations, declinedCombinations) {
|
|
16114
|
-
this.
|
|
16115
|
-
this.
|
|
16116
|
-
this.
|
|
16133
|
+
this.ab7_1 = combinations;
|
|
16134
|
+
this.bb7_1 = acceptedCombinations;
|
|
16135
|
+
this.cb7_1 = declinedCombinations;
|
|
16117
16136
|
}
|
|
16118
16137
|
protoOf(CombinationToAnnounceState).toString = function () {
|
|
16119
|
-
return 'CombinationToAnnounceState(combinations=' + toString(this.
|
|
16138
|
+
return 'CombinationToAnnounceState(combinations=' + toString(this.ab7_1) + ', acceptedCombinations=' + toString_0(this.bb7_1) + ', declinedCombinations=' + toString_0(this.cb7_1) + ')';
|
|
16120
16139
|
};
|
|
16121
16140
|
protoOf(CombinationToAnnounceState).hashCode = function () {
|
|
16122
|
-
var result = hashCode(this.
|
|
16123
|
-
result = imul(result, 31) + (this.ab7_1 == null ? 0 : hashCode(this.ab7_1)) | 0;
|
|
16141
|
+
var result = hashCode(this.ab7_1);
|
|
16124
16142
|
result = imul(result, 31) + (this.bb7_1 == null ? 0 : hashCode(this.bb7_1)) | 0;
|
|
16143
|
+
result = imul(result, 31) + (this.cb7_1 == null ? 0 : hashCode(this.cb7_1)) | 0;
|
|
16125
16144
|
return result;
|
|
16126
16145
|
};
|
|
16127
16146
|
protoOf(CombinationToAnnounceState).equals = function (other) {
|
|
@@ -16130,12 +16149,12 @@
|
|
|
16130
16149
|
if (!(other instanceof CombinationToAnnounceState))
|
|
16131
16150
|
return false;
|
|
16132
16151
|
var tmp0_other_with_cast = other instanceof CombinationToAnnounceState ? other : THROW_CCE();
|
|
16133
|
-
if (!equals(this.zb6_1, tmp0_other_with_cast.zb6_1))
|
|
16134
|
-
return false;
|
|
16135
16152
|
if (!equals(this.ab7_1, tmp0_other_with_cast.ab7_1))
|
|
16136
16153
|
return false;
|
|
16137
16154
|
if (!equals(this.bb7_1, tmp0_other_with_cast.bb7_1))
|
|
16138
16155
|
return false;
|
|
16156
|
+
if (!equals(this.cb7_1, tmp0_other_with_cast.cb7_1))
|
|
16157
|
+
return false;
|
|
16139
16158
|
return true;
|
|
16140
16159
|
};
|
|
16141
16160
|
function GameInfoState(trump, whoShuffleCardsPlayerId, whoChoseSuitPlayerId) {
|
|
@@ -16253,14 +16272,14 @@
|
|
|
16253
16272
|
return new GameClientEngineControllerImpl(loggerCallback);
|
|
16254
16273
|
}
|
|
16255
16274
|
function _get_logger__rkp4sl_1($this) {
|
|
16256
|
-
var tmp0 = $this.
|
|
16275
|
+
var tmp0 = $this.cbe_1;
|
|
16257
16276
|
var tmp = KProperty1;
|
|
16258
16277
|
// Inline function 'kotlin.getValue' call
|
|
16259
16278
|
getPropertyCallableRef('logger', 1, tmp, GameClientEngineControllerImpl$_get_logger_$ref_da2dm5(), null);
|
|
16260
16279
|
return tmp0.u();
|
|
16261
16280
|
}
|
|
16262
16281
|
function _get_di__ndbzja($this) {
|
|
16263
|
-
var tmp0 = $this.
|
|
16282
|
+
var tmp0 = $this.dbe_1;
|
|
16264
16283
|
var tmp = KProperty1;
|
|
16265
16284
|
// Inline function 'kotlin.getValue' call
|
|
16266
16285
|
getPropertyCallableRef('di', 1, tmp, GameClientEngineControllerImpl$_get_di_$ref_2o2v5u(), null);
|
|
@@ -16325,13 +16344,13 @@
|
|
|
16325
16344
|
};
|
|
16326
16345
|
}
|
|
16327
16346
|
function GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1($reducer) {
|
|
16328
|
-
this.
|
|
16347
|
+
this.fbe_1 = $reducer;
|
|
16329
16348
|
}
|
|
16330
16349
|
protoOf(GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1).v6n = function (action) {
|
|
16331
16350
|
return isInterface(action, Action);
|
|
16332
16351
|
};
|
|
16333
16352
|
protoOf(GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1).r9c = function (state, action) {
|
|
16334
|
-
return this.
|
|
16353
|
+
return this.fbe_1(state, isInterface(action, Action) ? action : THROW_CCE());
|
|
16335
16354
|
};
|
|
16336
16355
|
protoOf(GameClientEngineControllerImpl$createOnlineGameEngineWithLogic$$inlined$map$1).n6p = function (state, action) {
|
|
16337
16356
|
return this.r9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
@@ -16452,12 +16471,12 @@
|
|
|
16452
16471
|
function GameClientEngineControllerImpl(loggerCallback, production) {
|
|
16453
16472
|
loggerCallback = loggerCallback === VOID ? null : loggerCallback;
|
|
16454
16473
|
production = production === VOID ? true : production;
|
|
16455
|
-
this.
|
|
16474
|
+
this.bbe_1 = loggerCallback;
|
|
16456
16475
|
AppEnvironment_getInstance().q6r(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
|
|
16457
16476
|
var tmp = this;
|
|
16458
|
-
tmp.
|
|
16477
|
+
tmp.cbe_1 = lazy_0(GameClientEngineControllerImpl$logger$delegate$lambda);
|
|
16459
16478
|
var tmp_0 = this;
|
|
16460
|
-
tmp_0.
|
|
16479
|
+
tmp_0.dbe_1 = lazy_0(GameClientEngineControllerImpl$di$delegate$lambda(this));
|
|
16461
16480
|
var tmp_1 = this;
|
|
16462
16481
|
// Inline function 'org.kodein.di.instance' call
|
|
16463
16482
|
var this_0 = _get_di__ndbzja(this);
|
|
@@ -16466,10 +16485,10 @@
|
|
|
16466
16485
|
var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
|
|
16467
16486
|
var tmp_3 = Instance(this_0, tmp$ret$0, null);
|
|
16468
16487
|
var tmp_4 = KProperty1;
|
|
16469
|
-
tmp_1.
|
|
16488
|
+
tmp_1.ebe_1 = tmp_3.k67(this, getPropertyCallableRef('parser', 1, tmp_4, GameClientEngineControllerImpl$_get_parser_$ref_1fv1b8(), null));
|
|
16470
16489
|
}
|
|
16471
|
-
protoOf(GameClientEngineControllerImpl).
|
|
16472
|
-
var tmp0 = this.
|
|
16490
|
+
protoOf(GameClientEngineControllerImpl).zbd = function () {
|
|
16491
|
+
var tmp0 = this.ebe_1;
|
|
16473
16492
|
var tmp = KProperty1;
|
|
16474
16493
|
// Inline function 'kotlin.getValue' call
|
|
16475
16494
|
getPropertyCallableRef('parser', 1, tmp, GameClientEngineControllerImpl$_get_parser_$ref_1fv1b8_0(), null);
|
|
@@ -16481,7 +16500,7 @@
|
|
|
16481
16500
|
protoOf(GameClientEngineControllerImpl).createOnlineGameEngine = function (currentPlayerId) {
|
|
16482
16501
|
return this.createOnlineGameEngineWithLogic(currentPlayerId);
|
|
16483
16502
|
};
|
|
16484
|
-
protoOf(GameClientEngineControllerImpl).
|
|
16503
|
+
protoOf(GameClientEngineControllerImpl).abe = function (currentPlayerId, reducers, middlewares, gameClientConfig, engineBotConfig, logicConfig, dealerConfig, coreConfig) {
|
|
16485
16504
|
var tmp;
|
|
16486
16505
|
if (coreConfig.fileLogsEnabled) {
|
|
16487
16506
|
tmp = new FileLoggerOutputImpl();
|
|
@@ -16490,8 +16509,8 @@
|
|
|
16490
16509
|
}
|
|
16491
16510
|
var fileLoggerOutput = tmp;
|
|
16492
16511
|
var tmp_0;
|
|
16493
|
-
if (!(this.
|
|
16494
|
-
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.
|
|
16512
|
+
if (!(this.bbe_1 == null)) {
|
|
16513
|
+
tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.bbe_1));
|
|
16495
16514
|
} else {
|
|
16496
16515
|
tmp_0 = null;
|
|
16497
16516
|
}
|
|
@@ -16679,11 +16698,11 @@
|
|
|
16679
16698
|
defineProp(protoOf(DistributeCardsModel), 'playerId', function () {
|
|
16680
16699
|
return this.f6e();
|
|
16681
16700
|
});
|
|
16682
|
-
protoOf(TransitionsReducerImpl).
|
|
16701
|
+
protoOf(TransitionsReducerImpl).ab6 = reducers;
|
|
16683
16702
|
protoOf(TransitionsReducerImpl).g94 = get_middlewares;
|
|
16684
16703
|
protoOf(GameClientEngineControllerImpl).createOnlineGameEngineWithLogic = createOnlineGameEngineWithLogic;
|
|
16685
16704
|
defineProp(protoOf(GameClientEngineControllerImpl), 'parser', function () {
|
|
16686
|
-
return this.
|
|
16705
|
+
return this.zbd();
|
|
16687
16706
|
});
|
|
16688
16707
|
//endregion
|
|
16689
16708
|
//region block: init
|