game_client_logic_deb 1.8.105 → 1.8.106

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.
@@ -936,6 +936,8 @@
936
936
  initMetadataForClass(GameMechanicStoreContract, 'GameMechanicStoreContract', VOID, VOID, [StoreContract]);
937
937
  initMetadataForClass(PlayerTurnStoreContract, 'PlayerTurnStoreContract', VOID, VOID, [StoreContract]);
938
938
  initMetadataForClass(TimersStoreContract, 'TimersStoreContract', VOID, VOID, [StoreContract]);
939
+ initMetadataForClass(ValidationStoreContract$middlewares$1);
940
+ initMetadataForClass(ValidationStoreContract$middlewares$2);
939
941
  initMetadataForClass(ValidationStoreContract, 'ValidationStoreContract', VOID, VOID, [StoreContract]);
940
942
  initMetadataForClass(_no_name_provided__qut3iv, VOID, VOID, VOID, [Middleware]);
941
943
  initMetadataForInterface(IgnoreLoggerAction, 'IgnoreLoggerAction', VOID, VOID, [Action]);
@@ -991,7 +993,7 @@
991
993
  tmp = playerStateReducer;
992
994
  }
993
995
  playerStateReducer = tmp;
994
- return $super === VOID ? this.z4u(tableId, gameId, config, version, users, gameCreatorPlayerId, playerStateReducer) : $super.z4u.call(this, tableId, gameId, config, version, users, gameCreatorPlayerId, playerStateReducer);
996
+ return $super === VOID ? this.f4v(tableId, gameId, config, version, users, gameCreatorPlayerId, playerStateReducer) : $super.f4v.call(this, tableId, gameId, config, version, users, gameCreatorPlayerId, playerStateReducer);
995
997
  }
996
998
  initMetadataForInterface(TableLifecycleReducer, 'TableLifecycleReducer');
997
999
  initMetadataForClass(TableLifecycleReducerImpl, 'TableLifecycleReducerImpl', VOID, VOID, [TableLifecycleReducer]);
@@ -1015,7 +1017,7 @@
1015
1017
  tmp = types;
1016
1018
  }
1017
1019
  types = tmp;
1018
- return $super === VOID ? this.b4x(key, types) : $super.b4x.call(this, key, types);
1020
+ return $super === VOID ? this.h4x(key, types) : $super.h4x.call(this, key, types);
1019
1021
  }
1020
1022
  initMetadataForInterface(FileLoggerOutput, 'FileLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
1021
1023
  initMetadataForClass(FileLoggerOutputImpl, 'FileLoggerOutputImpl', FileLoggerOutputImpl, VOID, [FileLoggerOutput]);
@@ -32389,30 +32391,49 @@
32389
32391
  }
32390
32392
  function _get_logger__rkp4sl_1($this) {
32391
32393
  // Inline function 'kotlin.getValue' call
32392
- var this_0 = $this.a4p_1;
32394
+ var this_0 = $this.b4p_1;
32393
32395
  logger$factory_4();
32394
32396
  return this_0.e2();
32395
32397
  }
32396
32398
  function _get_engineLogicConfig__l11qpf($this) {
32397
32399
  // Inline function 'kotlin.getValue' call
32398
- var this_0 = $this.b4p_1;
32400
+ var this_0 = $this.c4p_1;
32399
32401
  engineLogicConfig$factory_0();
32400
32402
  return this_0.e2();
32401
32403
  }
32402
- function ValidationStoreContract(di, isServer) {
32404
+ function ValidationStoreContract$middlewares$1(this$0) {
32405
+ this.d4p_1 = this$0;
32406
+ }
32407
+ protoOf(ValidationStoreContract$middlewares$1).e4p = function (state, action) {
32408
+ return !(this.d4p_1.a4p_1 === action.playerId);
32409
+ };
32410
+ protoOf(ValidationStoreContract$middlewares$1).f4p = function (state, action) {
32411
+ return this.e4p(state, isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE());
32412
+ };
32413
+ function ValidationStoreContract$middlewares$2(this$0) {
32414
+ this.g4p_1 = this$0;
32415
+ }
32416
+ protoOf(ValidationStoreContract$middlewares$2).h4p = function (state, action) {
32417
+ return this.g4p_1.a4p_1 === getPlayerTurn(action, state.e33().players).playerId;
32418
+ };
32419
+ protoOf(ValidationStoreContract$middlewares$2).f4p = function (state, action) {
32420
+ return this.h4p(state, isInterface(action, PlayerTurnAnswerAction) ? action : THROW_CCE());
32421
+ };
32422
+ function ValidationStoreContract(di, isServer, currentPlayerId) {
32403
32423
  this.z4o_1 = isServer;
32424
+ this.a4p_1 = currentPlayerId;
32404
32425
  var tmp = this;
32405
32426
  // Inline function 'org.kodein.di.instance' call
32406
32427
  // Inline function 'org.kodein.type.generic' call
32407
32428
  var tmp_0 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
32408
32429
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
32409
- tmp.a4p_1 = Instance(di, tmp$ret$0, null).n2i(this, logger$factory_3());
32430
+ tmp.b4p_1 = Instance(di, tmp$ret$0, null).n2i(this, logger$factory_3());
32410
32431
  var tmp_1 = this;
32411
32432
  // Inline function 'org.kodein.di.instance' call
32412
32433
  // Inline function 'org.kodein.type.generic' call
32413
32434
  var tmp_2 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
32414
32435
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
32415
- tmp_1.b4p_1 = Instance(di, tmp$ret$2, null).n2i(this, engineLogicConfig$factory());
32436
+ tmp_1.c4p_1 = Instance(di, tmp$ret$2, null).n2i(this, engineLogicConfig$factory());
32416
32437
  }
32417
32438
  protoOf(ValidationStoreContract).f4o = function () {
32418
32439
  return emptyList();
@@ -32427,10 +32448,14 @@
32427
32448
  var tmp691_sendErrorToClient = this.z4o_1;
32428
32449
  tmp = listOf([tmp_0, checkValidPlayerConnectionStateMiddleware(tmp691_sendErrorToClient, VOID, tmp690_logger), checkValidNextPlayerTurnMiddleware(VOID, _get_logger__rkp4sl_1(this))]);
32429
32450
  } else {
32430
- var tmp_1 = checkValidNextPlayerTurnMiddleware(VOID, _get_logger__rkp4sl_1(this));
32431
32451
  var tmp692_logger = _get_logger__rkp4sl_1(this);
32432
32452
  var tmp693_sendErrorToClient = this.z4o_1;
32433
- tmp = plus(listOf([tmp_1, checkValidTurnWhenAnswerMiddleware(tmp693_sendErrorToClient, VOID, tmp692_logger)]), listOfNotNull_0([_get_engineLogicConfig__l11qpf(this).validateTestMode ? checkGameTestPointsMiddleware(_get_logger__rkp4sl_1(this)) : null, checkValidSceneMiddleware(_get_logger__rkp4sl_1(this)), checkValidSceneActMiddleware(_get_logger__rkp4sl_1(this)), checkCardDuplicatesForBribesMiddleware(_get_logger__rkp4sl_1(this)), checkCardDuplicatesForScenesMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsNotFinishedMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsFinishedTimerTickMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsFinishedStartTimerMiddleware(), checkGameIsFinishedStopTimerMiddleware()]));
32453
+ var tmp694_enableCheckWhen = listOf_0(new ValidationStoreContract$middlewares$1(this));
32454
+ var tmp_1 = checkValidTurnWhenAnswerFromClientMiddleware(tmp693_sendErrorToClient, tmp694_enableCheckWhen, tmp692_logger);
32455
+ var tmp695_logger = _get_logger__rkp4sl_1(this);
32456
+ var tmp696_sendErrorToClient = this.z4o_1;
32457
+ var tmp697_enableClientTurnCheckWhen = listOf_0(new ValidationStoreContract$middlewares$2(this));
32458
+ tmp = plus(listOf([tmp_1, checkValidTurnWhenAnswerMiddleware(tmp696_sendErrorToClient, tmp697_enableClientTurnCheckWhen, tmp695_logger), checkValidNextPlayerTurnMiddleware(VOID, _get_logger__rkp4sl_1(this))]), listOfNotNull_0([_get_engineLogicConfig__l11qpf(this).validateTestMode ? checkGameTestPointsMiddleware(_get_logger__rkp4sl_1(this)) : null, checkValidSceneMiddleware(_get_logger__rkp4sl_1(this)), checkValidSceneActMiddleware(_get_logger__rkp4sl_1(this)), checkCardDuplicatesForBribesMiddleware(_get_logger__rkp4sl_1(this)), checkCardDuplicatesForScenesMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsNotFinishedMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsFinishedTimerTickMiddleware(_get_logger__rkp4sl_1(this)), checkGameIsFinishedStartTimerMiddleware(), checkGameIsFinishedStopTimerMiddleware()]));
32434
32459
  }
32435
32460
  return tmp;
32436
32461
  };
@@ -32465,7 +32490,7 @@
32465
32490
  return new _no_name_provided__qut3iv(gameMechanicLogicInteractor);
32466
32491
  }
32467
32492
  function _no_name_provided__qut3iv($gameMechanicLogicInteractor) {
32468
- this.c4p_1 = $gameMechanicLogicInteractor;
32493
+ this.i4p_1 = $gameMechanicLogicInteractor;
32469
32494
  }
32470
32495
  protoOf(_no_name_provided__qut3iv).t2x = function (action) {
32471
32496
  return action instanceof FromClientAction;
@@ -32481,16 +32506,16 @@
32481
32506
  var table = state.e33();
32482
32507
  var tmp;
32483
32508
  if (action_0 instanceof MessageFromClientAction) {
32484
- tmp = listOfNotNull(this.c4p_1.v4h(action_0, table.players));
32509
+ tmp = listOfNotNull(this.i4p_1.v4h(action_0, table.players));
32485
32510
  } else {
32486
32511
  if (action_0 instanceof PartnerSelectedFromClientAction) {
32487
- tmp = listOf_0(this.c4p_1.w4h(action_0, table.players));
32512
+ tmp = listOf_0(this.i4p_1.w4h(action_0, table.players));
32488
32513
  } else {
32489
32514
  if (action_0 instanceof PlayerReadyFromClientAction) {
32490
- tmp = listOf_0(this.c4p_1.x4h(action_0));
32515
+ tmp = listOf_0(this.i4p_1.x4h(action_0));
32491
32516
  } else {
32492
32517
  if (action_0 instanceof SuitChoiceFromClientAction) {
32493
- var mechanicAction = this.c4p_1.y4h(action_0, table.players, table.config);
32518
+ var mechanicAction = this.i4p_1.y4h(action_0, table.players, table.config);
32494
32519
  var tmp_0;
32495
32520
  if (mechanicAction.k4j_1 == null) {
32496
32521
  tmp_0 = null;
@@ -32503,7 +32528,7 @@
32503
32528
  tmp = listOfNotNull_0([mechanicAction, tmp_0]);
32504
32529
  } else {
32505
32530
  if (action_0 instanceof CombinationChoiceFromClientAction) {
32506
- tmp = listOf_0(this.c4p_1.z4h(action_0, table));
32531
+ tmp = listOf_0(this.i4p_1.z4h(action_0, table));
32507
32532
  } else {
32508
32533
  if (action_0 instanceof CardFromClientAction) {
32509
32534
  // Inline function 'kotlin.with' call
@@ -32512,20 +32537,20 @@
32512
32537
  // Inline function 'kotlin.collections.mutableListOf' call
32513
32538
  var actions = ArrayList_init_$Create$();
32514
32539
  var newCardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(action_0.v3q_1, table.cardsOnTable.m(), action_0.w3q_1));
32515
- var cardMechanicAction = this.c4p_1.a4i(action_0, newCardsOnTheTable, table.players, table.config);
32540
+ var cardMechanicAction = this.i4p_1.a4i(action_0, newCardsOnTheTable, table.players, table.config);
32516
32541
  actions.e(cardMechanicAction);
32517
32542
  var shouldValidateBribe = newCardsOnTheTable.m() === table.config.playersMode.count;
32518
32543
  if (shouldValidateBribe) {
32519
- var tmp696_safe_receiver = this.c4p_1.b4i(action_0, table.gameInfo.u46_1, newCardsOnTheTable, table.players, table.config);
32520
- if (tmp696_safe_receiver == null)
32544
+ var tmp700_safe_receiver = this.i4p_1.b4i(action_0, table.gameInfo.u46_1, newCardsOnTheTable, table.players, table.config);
32545
+ if (tmp700_safe_receiver == null)
32521
32546
  null;
32522
32547
  else {
32523
32548
  // Inline function 'kotlin.apply' call
32524
32549
  // Inline function 'kotlin.contracts.contract' call
32525
32550
  // Inline function 'com.debertz.logic.redux.middlewares.consumeFromClientActionsMiddleware.<anonymous>.<anonymous>.<anonymous>' call
32526
- actions.e(tmp696_safe_receiver);
32551
+ actions.e(tmp700_safe_receiver);
32527
32552
  }
32528
- var bribeMechanicAction = this.c4p_1.c4i(action_0, table.gameInfo.u46_1, newCardsOnTheTable, table.players, table.config);
32553
+ var bribeMechanicAction = this.i4p_1.c4i(action_0, table.gameInfo.u46_1, newCardsOnTheTable, table.players, table.config);
32529
32554
  actions.e(bribeMechanicAction);
32530
32555
  }
32531
32556
  tmp = actions;
@@ -32582,8 +32607,8 @@
32582
32607
  return new _no_name_provided__qut3iv_0(playerAnswerInteractor, botConfig);
32583
32608
  }
32584
32609
  function _no_name_provided__qut3iv_0($playerAnswerInteractor, $botConfig) {
32585
- this.d4p_1 = $playerAnswerInteractor;
32586
- this.e4p_1 = $botConfig;
32610
+ this.j4p_1 = $playerAnswerInteractor;
32611
+ this.k4p_1 = $botConfig;
32587
32612
  }
32588
32613
  protoOf(_no_name_provided__qut3iv_0).t2x = function (action) {
32589
32614
  return action instanceof AskBotAction;
@@ -32592,7 +32617,7 @@
32592
32617
  // Inline function 'com.debertz.logic.redux.middlewares.bot.botLogicMiddleware.<anonymous>' call
32593
32618
  var action_0 = action instanceof AskBotAction ? action : THROW_CCE();
32594
32619
  var table = store.state.e33();
32595
- var botAction = this.d4p_1.c4f(action_0.e4l_1, table, this.e4p_1);
32620
+ var botAction = this.j4p_1.c4f(action_0.e4l_1, table, this.k4p_1);
32596
32621
  next(action_0);
32597
32622
  store.dispatch(botAction);
32598
32623
  };
@@ -32604,7 +32629,7 @@
32604
32629
  return new _no_name_provided__qut3iv_1(scenePositionProvider);
32605
32630
  }
32606
32631
  function _no_name_provided__qut3iv_1($scenePositionProvider) {
32607
- this.f4p_1 = $scenePositionProvider;
32632
+ this.l4p_1 = $scenePositionProvider;
32608
32633
  }
32609
32634
  protoOf(_no_name_provided__qut3iv_1).t2x = function (action) {
32610
32635
  return action instanceof MechanicAction;
@@ -32619,13 +32644,13 @@
32619
32644
  } else {
32620
32645
  if (action_0 instanceof SceneMechanicAction) {
32621
32646
  var table_0 = store.state.e33();
32622
- var tmp698_subject = action_0.d4j_1;
32623
- var tmp706_config = table_0.config;
32624
- var tmp707_isFirstRound = table_0.gameHistory.isFirstRound;
32625
- if (tmp698_subject === this.f4p_1.i4k(tmp707_isFirstRound, tmp706_config)) {
32647
+ var tmp702_subject = action_0.d4j_1;
32648
+ var tmp710_config = table_0.config;
32649
+ var tmp711_isFirstRound = table_0.gameHistory.isFirstRound;
32650
+ if (tmp702_subject === this.l4p_1.i4k(tmp711_isFirstRound, tmp710_config)) {
32626
32651
  var tmp = store.dispatch;
32627
- var tmp699_id = table_0.id;
32628
- var tmp700_gameId = table_0.gameId;
32652
+ var tmp703_id = table_0.id;
32653
+ var tmp704_gameId = table_0.gameId;
32629
32654
  // Inline function 'kotlin.collections.toTypedArray' call
32630
32655
  // Inline function 'kotlin.collections.map' call
32631
32656
  var this_0 = table_0.players;
@@ -32638,14 +32663,14 @@
32638
32663
  var tmp$ret$0 = item.playerId;
32639
32664
  destination.e(tmp$ret$0);
32640
32665
  }
32641
- var tmp701_players = copyToArray(destination);
32642
- var tmp702_isFirstRound = table_0.gameHistory.isFirstRound;
32643
- var tmp703_roundNumber = table_0.gameInfo.u46_1.s3t_1;
32644
- var tmp704_gameNumber = table_0.gameInfo.t46_1;
32645
- var tmp705_gameHistory = table_0.gameHistory;
32646
- tmp(new RoundStartedAction(tmp699_id, tmp700_gameId, tmp703_roundNumber, tmp701_players, tmp702_isFirstRound, tmp704_gameNumber, tmp705_gameHistory));
32666
+ var tmp705_players = copyToArray(destination);
32667
+ var tmp706_isFirstRound = table_0.gameHistory.isFirstRound;
32668
+ var tmp707_roundNumber = table_0.gameInfo.u46_1.s3t_1;
32669
+ var tmp708_gameNumber = table_0.gameInfo.t46_1;
32670
+ var tmp709_gameHistory = table_0.gameHistory;
32671
+ tmp(new RoundStartedAction(tmp703_id, tmp704_gameId, tmp707_roundNumber, tmp705_players, tmp706_isFirstRound, tmp708_gameNumber, tmp709_gameHistory));
32647
32672
  } else {
32648
- if (tmp698_subject === this.f4p_1.j4k()) {
32673
+ if (tmp702_subject === this.l4p_1.j4k()) {
32649
32674
  var tmp$ret$4;
32650
32675
  $l$block: {
32651
32676
  // Inline function 'com.debertz.logic.data.models.scenes.requireSceneData' call
@@ -32711,17 +32736,17 @@
32711
32736
  }
32712
32737
  var isGameFinished = tmp_1;
32713
32738
  var tmp_3 = store.dispatch;
32714
- var tmp710_id = table_0.id;
32715
- var tmp711_gameId = table_0.gameId;
32716
- var tmp712_roundNumber = table_0.gameInfo.u46_1.s3t_1;
32717
- var tmp713_earnedBiggestPointPlayerId = sceneData.v3i_1;
32718
- var tmp714_roundContractState = sceneData.b3j(whoChoseSuitPlayerId);
32739
+ var tmp714_id = table_0.id;
32740
+ var tmp715_gameId = table_0.gameId;
32741
+ var tmp716_roundNumber = table_0.gameInfo.u46_1.s3t_1;
32742
+ var tmp717_earnedBiggestPointPlayerId = sceneData.v3i_1;
32743
+ var tmp718_roundContractState = sceneData.b3j(whoChoseSuitPlayerId);
32719
32744
  // Inline function 'kotlin.collections.toTypedArray' call
32720
32745
  var this_3 = sceneData.a3j(whoChoseSuitPlayerId);
32721
- var tmp715_roundCommitted = copyToArray(this_3);
32746
+ var tmp719_roundCommitted = copyToArray(this_3);
32722
32747
  // Inline function 'kotlin.collections.toTypedArray' call
32723
32748
  var this_4 = sceneData.w3i_1;
32724
- var tmp716_roundWinners = copyToArray(this_4);
32749
+ var tmp720_roundWinners = copyToArray(this_4);
32725
32750
  var tmp_4;
32726
32751
  if (gameWinners == null) {
32727
32752
  tmp_4 = null;
@@ -32729,7 +32754,7 @@
32729
32754
  // Inline function 'kotlin.collections.toTypedArray' call
32730
32755
  tmp_4 = copyToArray(gameWinners);
32731
32756
  }
32732
- var tmp717_gameWinners = tmp_4;
32757
+ var tmp721_gameWinners = tmp_4;
32733
32758
  var tmp_5;
32734
32759
  if (isGameFinished) {
32735
32760
  // Inline function 'kotlin.collections.toTypedArray' call
@@ -32748,7 +32773,7 @@
32748
32773
  } else {
32749
32774
  tmp_5 = null;
32750
32775
  }
32751
- var tmp718_playersGameAnalytics = tmp_5;
32776
+ var tmp722_playersGameAnalytics = tmp_5;
32752
32777
  // Inline function 'kotlin.collections.toTypedArray' call
32753
32778
  // Inline function 'kotlin.collections.map' call
32754
32779
  var this_6 = table_0.players;
@@ -32761,9 +32786,9 @@
32761
32786
  var tmp$ret$24 = mapToRoundAnalytics(item_2, table_0.gameDuration);
32762
32787
  destination_3.e(tmp$ret$24);
32763
32788
  }
32764
- var tmp719_playersRoundAnalytics = copyToArray(destination_3);
32765
- var tmp720_gameHistory = table_0.gameHistory;
32766
- tmp_3(new RoundEndedAction(tmp710_id, tmp711_gameId, tmp712_roundNumber, tmp713_earnedBiggestPointPlayerId, tmp715_roundCommitted, tmp714_roundContractState, tmp716_roundWinners, gameLosers, tmp717_gameWinners, tmp718_playersGameAnalytics, tmp719_playersRoundAnalytics, tmp720_gameHistory));
32789
+ var tmp723_playersRoundAnalytics = copyToArray(destination_3);
32790
+ var tmp724_gameHistory = table_0.gameHistory;
32791
+ tmp_3(new RoundEndedAction(tmp714_id, tmp715_gameId, tmp716_roundNumber, tmp717_earnedBiggestPointPlayerId, tmp719_roundCommitted, tmp718_roundContractState, tmp720_roundWinners, gameLosers, tmp721_gameWinners, tmp722_playersGameAnalytics, tmp723_playersRoundAnalytics, tmp724_gameHistory));
32767
32792
  }
32768
32793
  }
32769
32794
  }
@@ -32805,8 +32830,8 @@
32805
32830
  return true;
32806
32831
  }
32807
32832
  function _no_name_provided__qut3iv_2($lastCardInteractor, $isEnableForPlayer) {
32808
- this.g4p_1 = $lastCardInteractor;
32809
- this.h4p_1 = $isEnableForPlayer;
32833
+ this.m4p_1 = $lastCardInteractor;
32834
+ this.n4p_1 = $isEnableForPlayer;
32810
32835
  }
32811
32836
  protoOf(_no_name_provided__qut3iv_2).t2x = function (action) {
32812
32837
  return isInterface(action, CardsMechanicAction);
@@ -32815,8 +32840,8 @@
32815
32840
  // Inline function 'com.debertz.logic.redux.middlewares.lastbribe.putPlayerLastCardMiddleware.<anonymous>' call
32816
32841
  var action_0 = isInterface(action, CardsMechanicAction) ? action : THROW_CCE();
32817
32842
  next(action_0);
32818
- var tmp721_table = store.state.e33();
32819
- var newAction = getBotActionIfNeeded(action_0, tmp721_table, this.g4p_1, this.h4p_1);
32843
+ var tmp725_table = store.state.e33();
32844
+ var newAction = getBotActionIfNeeded(action_0, tmp725_table, this.m4p_1, this.n4p_1);
32820
32845
  if (newAction == null)
32821
32846
  null;
32822
32847
  else {
@@ -32850,8 +32875,8 @@
32850
32875
  break $l$block;
32851
32876
  }
32852
32877
  }
32853
- var tmp723_loggerOutput = tmp$ret$1;
32854
- tmp = fileLoggerByGameIdMiddleware(currentPlayerId, loggerFactory, asyncProvider, tmp723_loggerOutput);
32878
+ var tmp727_loggerOutput = tmp$ret$1;
32879
+ tmp = fileLoggerByGameIdMiddleware(currentPlayerId, loggerFactory, asyncProvider, tmp727_loggerOutput);
32855
32880
  } else {
32856
32881
  tmp = null;
32857
32882
  }
@@ -32868,16 +32893,16 @@
32868
32893
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z($loggerFactory, $currentPlayerId, $asyncProvider, $loggerOutput, gameId, roomId) {
32869
32894
  var controller = $loggerFactory.h2w(gameId, roomId, $currentPlayerId);
32870
32895
  var job = $asyncProvider.c2u(VOID, fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1_0(controller, $loggerOutput, gameId, null));
32871
- $loggerOutput.i4p(gameId, job, controller);
32896
+ $loggerOutput.o4p(gameId, job, controller);
32872
32897
  }
32873
32898
  function fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj($loggerOutput, gameId) {
32874
- $loggerOutput.j4p(gameId);
32899
+ $loggerOutput.p4p(gameId);
32875
32900
  }
32876
32901
  function _no_name_provided__qut3iv_3($loggerFactory, $currentPlayerId, $asyncProvider, $loggerOutput) {
32877
- this.k4p_1 = $loggerFactory;
32878
- this.l4p_1 = $currentPlayerId;
32879
- this.m4p_1 = $asyncProvider;
32880
- this.n4p_1 = $loggerOutput;
32902
+ this.q4p_1 = $loggerFactory;
32903
+ this.r4p_1 = $currentPlayerId;
32904
+ this.s4p_1 = $asyncProvider;
32905
+ this.t4p_1 = $loggerOutput;
32881
32906
  }
32882
32907
  protoOf(_no_name_provided__qut3iv_3).t2x = function (action) {
32883
32908
  return action instanceof MechanicAction;
@@ -32886,21 +32911,21 @@
32886
32911
  // Inline function 'com.debertz.logic.redux.middlewares.logs.fileLoggerByGameIdMiddleware.<anonymous>' call
32887
32912
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
32888
32913
  if (isInterface(action_0, FirstMechanicAction)) {
32889
- fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z(this.k4p_1, this.l4p_1, this.m4p_1, this.n4p_1, action_0.id, action_0.id);
32914
+ fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z(this.q4p_1, this.r4p_1, this.s4p_1, this.t4p_1, action_0.id, action_0.id);
32890
32915
  } else {
32891
32916
  if (action_0 instanceof StartNewGameMechanicAction) {
32892
- fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj(this.n4p_1, action_0.previousGameId);
32893
- fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z(this.k4p_1, this.l4p_1, this.m4p_1, this.n4p_1, action_0.gameId, store.state.e33().id);
32917
+ fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj(this.t4p_1, action_0.previousGameId);
32918
+ fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z(this.q4p_1, this.r4p_1, this.s4p_1, this.t4p_1, action_0.gameId, store.state.e33().id);
32894
32919
  } else {
32895
32920
  if (action_0 instanceof FinishGameMechanicAction) {
32896
- var tmp725_safe_receiver = store.state.t32_1;
32897
- var tmp726_safe_receiver = tmp725_safe_receiver == null ? null : tmp725_safe_receiver.gameId;
32898
- if (tmp726_safe_receiver == null)
32921
+ var tmp729_safe_receiver = store.state.t32_1;
32922
+ var tmp730_safe_receiver = tmp729_safe_receiver == null ? null : tmp729_safe_receiver.gameId;
32923
+ if (tmp730_safe_receiver == null)
32899
32924
  null;
32900
32925
  else {
32901
32926
  // Inline function 'kotlin.let' call
32902
32927
  // Inline function 'kotlin.contracts.contract' call
32903
- fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj(this.n4p_1, tmp726_safe_receiver);
32928
+ fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj(this.t4p_1, tmp730_safe_receiver);
32904
32929
  }
32905
32930
  }
32906
32931
  }
@@ -32911,8 +32936,8 @@
32911
32936
  return this.v2z(store, next, action);
32912
32937
  };
32913
32938
  function clearLogFilesMiddleware$o$handle$slambda($fileSystem, $coreConfig, resultContinuation) {
32914
- this.w4p_1 = $fileSystem;
32915
- this.x4p_1 = $coreConfig;
32939
+ this.c4q_1 = $fileSystem;
32940
+ this.d4q_1 = $coreConfig;
32916
32941
  CoroutineImpl.call(this, resultContinuation);
32917
32942
  }
32918
32943
  protoOf(clearLogFilesMiddleware$o$handle$slambda).b16 = function ($this$launchDefault, $completion) {
@@ -32933,7 +32958,7 @@
32933
32958
  case 0:
32934
32959
  this.w8_1 = 2;
32935
32960
  this.v8_1 = 1;
32936
- suspendResult = this.w4p_1.d2w(this.x4p_1.requireDirectoryPath, this);
32961
+ suspendResult = this.c4q_1.d2w(this.d4q_1.requireDirectoryPath, this);
32937
32962
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
32938
32963
  return suspendResult;
32939
32964
  }
@@ -32956,8 +32981,8 @@
32956
32981
  while (true);
32957
32982
  };
32958
32983
  protoOf(clearLogFilesMiddleware$o$handle$slambda).c16 = function ($this$launchDefault, completion) {
32959
- var i = new clearLogFilesMiddleware$o$handle$slambda(this.w4p_1, this.x4p_1, completion);
32960
- i.y4p_1 = $this$launchDefault;
32984
+ var i = new clearLogFilesMiddleware$o$handle$slambda(this.c4q_1, this.d4q_1, completion);
32985
+ i.e4q_1 = $this$launchDefault;
32961
32986
  return i;
32962
32987
  };
32963
32988
  function clearLogFilesMiddleware$o$handle$slambda_0($fileSystem, $coreConfig, resultContinuation) {
@@ -32969,9 +32994,9 @@
32969
32994
  return l;
32970
32995
  }
32971
32996
  function _no_name_provided__qut3iv_4($asyncProvider, $fileSystem, $coreConfig) {
32972
- this.z4p_1 = $asyncProvider;
32973
- this.a4q_1 = $fileSystem;
32974
- this.b4q_1 = $coreConfig;
32997
+ this.f4q_1 = $asyncProvider;
32998
+ this.g4q_1 = $fileSystem;
32999
+ this.h4q_1 = $coreConfig;
32975
33000
  }
32976
33001
  protoOf(_no_name_provided__qut3iv_4).t2x = function (action) {
32977
33002
  return action instanceof ClearAction;
@@ -32979,30 +33004,30 @@
32979
33004
  protoOf(_no_name_provided__qut3iv_4).v2z = function (store, next, action) {
32980
33005
  // Inline function 'com.debertz.logic.redux.middlewares.logs.clearLogFilesMiddleware.<anonymous>' call
32981
33006
  var action_0 = action instanceof ClearAction ? action : THROW_CCE();
32982
- this.z4p_1.c2u(VOID, clearLogFilesMiddleware$o$handle$slambda_0(this.a4q_1, this.b4q_1, null));
33007
+ this.f4q_1.c2u(VOID, clearLogFilesMiddleware$o$handle$slambda_0(this.g4q_1, this.h4q_1, null));
32983
33008
  next(action_0);
32984
33009
  };
32985
33010
  protoOf(_no_name_provided__qut3iv_4).s2x = function (store, next, action) {
32986
33011
  return this.v2z(store, next, action);
32987
33012
  };
32988
33013
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
32989
- this.c4q_1 = function_0;
33014
+ this.i4q_1 = function_0;
32990
33015
  }
32991
33016
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).e11 = function (value, $completion) {
32992
- return this.c4q_1(value, $completion);
33017
+ return this.i4q_1(value, $completion);
32993
33018
  };
32994
33019
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j($controller, resultContinuation) {
32995
- this.l4q_1 = $controller;
33020
+ this.r4q_1 = $controller;
32996
33021
  CoroutineImpl.call(this, resultContinuation);
32997
33022
  }
32998
- protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).n4q = function (it, $completion) {
32999
- var tmp = this.o4q(it, $completion);
33023
+ protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).t4q = function (it, $completion) {
33024
+ var tmp = this.u4q(it, $completion);
33000
33025
  tmp.x8_1 = Unit_instance;
33001
33026
  tmp.y8_1 = null;
33002
33027
  return tmp.d9();
33003
33028
  };
33004
33029
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).y9 = function (p1, $completion) {
33005
- return this.n4q(p1 instanceof LoggerOutputDataDto ? p1 : THROW_CCE(), $completion);
33030
+ return this.t4q(p1 instanceof LoggerOutputDataDto ? p1 : THROW_CCE(), $completion);
33006
33031
  };
33007
33032
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).d9 = function () {
33008
33033
  var suspendResult = this.x8_1;
@@ -33013,7 +33038,7 @@
33013
33038
  case 0:
33014
33039
  this.w8_1 = 2;
33015
33040
  this.v8_1 = 1;
33016
- suspendResult = this.l4q_1.f2x(this.m4q_1.toMessageLog(), this);
33041
+ suspendResult = this.r4q_1.f2x(this.s4q_1.toMessageLog(), this);
33017
33042
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
33018
33043
  return suspendResult;
33019
33044
  }
@@ -33035,23 +33060,23 @@
33035
33060
  }
33036
33061
  while (true);
33037
33062
  };
33038
- protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).o4q = function (it, completion) {
33039
- var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j(this.l4q_1, completion);
33040
- i.m4q_1 = it;
33063
+ protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).u4q = function (it, completion) {
33064
+ var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j(this.r4q_1, completion);
33065
+ i.s4q_1 = it;
33041
33066
  return i;
33042
33067
  };
33043
33068
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j_0($controller, resultContinuation) {
33044
33069
  var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j($controller, resultContinuation);
33045
33070
  var l = function (it, $completion) {
33046
- return i.n4q(it, $completion);
33071
+ return i.t4q(it, $completion);
33047
33072
  };
33048
33073
  l.$arity = 1;
33049
33074
  return l;
33050
33075
  }
33051
33076
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1($controller, $$loggerOutput, $gameId, resultContinuation) {
33052
- this.x4q_1 = $controller;
33053
- this.y4q_1 = $$loggerOutput;
33054
- this.z4q_1 = $gameId;
33077
+ this.d4r_1 = $controller;
33078
+ this.e4r_1 = $$loggerOutput;
33079
+ this.f4r_1 = $gameId;
33055
33080
  CoroutineImpl.call(this, resultContinuation);
33056
33081
  }
33057
33082
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1).b16 = function ($this$launchDefault, $completion) {
@@ -33072,7 +33097,7 @@
33072
33097
  case 0:
33073
33098
  this.w8_1 = 3;
33074
33099
  this.v8_1 = 1;
33075
- suspendResult = this.x4q_1.e2x(this);
33100
+ suspendResult = this.d4r_1.e2x(this);
33076
33101
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
33077
33102
  return suspendResult;
33078
33103
  }
@@ -33080,8 +33105,8 @@
33080
33105
  continue $sm;
33081
33106
  case 1:
33082
33107
  this.v8_1 = 2;
33083
- var tmp_0 = this.y4q_1.b4r(this.z4q_1);
33084
- var tmp_1 = fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j_0(this.x4q_1, null);
33108
+ var tmp_0 = this.e4r_1.h4r(this.f4r_1);
33109
+ var tmp_1 = fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j_0(this.d4r_1, null);
33085
33110
  suspendResult = tmp_0.o10(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
33086
33111
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
33087
33112
  return suspendResult;
@@ -33105,8 +33130,8 @@
33105
33130
  while (true);
33106
33131
  };
33107
33132
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1).c16 = function ($this$launchDefault, completion) {
33108
- var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1(this.x4q_1, this.y4q_1, this.z4q_1, completion);
33109
- i.a4r_1 = $this$launchDefault;
33133
+ var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1(this.d4r_1, this.e4r_1, this.f4r_1, completion);
33134
+ i.g4r_1 = $this$launchDefault;
33110
33135
  return i;
33111
33136
  };
33112
33137
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1_0($controller, $$loggerOutput, $gameId, resultContinuation) {
@@ -33128,8 +33153,8 @@
33128
33153
  return new _no_name_provided__qut3iv_5(sceneRouter, idsProvider);
33129
33154
  }
33130
33155
  function _no_name_provided__qut3iv_5($sceneRouter, $idsProvider) {
33131
- this.c4r_1 = $sceneRouter;
33132
- this.d4r_1 = $idsProvider;
33156
+ this.i4r_1 = $sceneRouter;
33157
+ this.j4r_1 = $idsProvider;
33133
33158
  }
33134
33159
  protoOf(_no_name_provided__qut3iv_5).t2x = function (action) {
33135
33160
  return action instanceof MechanicAction;
@@ -33145,13 +33170,13 @@
33145
33170
  var state_0 = state;
33146
33171
  var tmp;
33147
33172
  if (action_0 instanceof StartGameMechanicAction) {
33148
- tmp = listOf_0(new SceneStartedMechanicAction(this.c4r_1.h4k(action_0.g4m_1).u4k_1));
33173
+ tmp = listOf_0(new SceneStartedMechanicAction(this.i4r_1.h4k(action_0.g4m_1).u4k_1));
33149
33174
  } else {
33150
33175
  if (action_0 instanceof StartNewGameMechanicAction) {
33151
- tmp = listOf_0(new SceneStartedMechanicAction(this.c4r_1.h4k(state_0.e33().config).u4k_1));
33176
+ tmp = listOf_0(new SceneStartedMechanicAction(this.i4r_1.h4k(state_0.e33().config).u4k_1));
33152
33177
  } else {
33153
33178
  if (action_0 instanceof RestartGameMechanicAction) {
33154
- tmp = listOf_0(new SceneStartedMechanicAction(this.c4r_1.i4k(false, state_0.e33().config).u4k_1));
33179
+ tmp = listOf_0(new SceneStartedMechanicAction(this.i4r_1.i4k(false, state_0.e33().config).u4k_1));
33155
33180
  } else {
33156
33181
  if (action_0 instanceof TeamsDataMechanicAction) {
33157
33182
  tmp = listOf_0(new SceneEndedMechanicAction(state_0.e33().sceneInfo.c4a_1));
@@ -33186,7 +33211,7 @@
33186
33211
  var gameFinished = !(firstOrNull(filterByGameWinner(table.players)) == null);
33187
33212
  var tmp_1;
33188
33213
  if (gameFinished) {
33189
- tmp_1 = new StartNewGameMechanicAction(table.gameId, this.d4r_1.t2v());
33214
+ tmp_1 = new StartNewGameMechanicAction(table.gameId, this.j4r_1.t2v());
33190
33215
  } else {
33191
33216
  tmp_1 = new SceneEndedMechanicAction(table.sceneInfo.c4a_1);
33192
33217
  }
@@ -33346,9 +33371,9 @@
33346
33371
  }
33347
33372
  function PlayerTurnTimerTag(playerId, tag, afterReconnection) {
33348
33373
  afterReconnection = afterReconnection === VOID ? false : afterReconnection;
33349
- this.e4r_1 = playerId;
33350
- this.f4r_1 = tag;
33351
- this.g4r_1 = afterReconnection;
33374
+ this.k4r_1 = playerId;
33375
+ this.l4r_1 = tag;
33376
+ this.m4r_1 = afterReconnection;
33352
33377
  }
33353
33378
  protoOf(PlayerTurnTimerTag).equals = function (other) {
33354
33379
  if (this === other)
@@ -33357,13 +33382,13 @@
33357
33382
  return false;
33358
33383
  if (!(other instanceof PlayerTurnTimerTag))
33359
33384
  THROW_CCE();
33360
- return this.e4r_1 === other.e4r_1;
33385
+ return this.k4r_1 === other.k4r_1;
33361
33386
  };
33362
33387
  protoOf(PlayerTurnTimerTag).hashCode = function () {
33363
- return getStringHashCode(this.e4r_1);
33388
+ return getStringHashCode(this.k4r_1);
33364
33389
  };
33365
33390
  protoOf(PlayerTurnTimerTag).toString = function () {
33366
- return 'PlayerTurnTimerTag(playerId=' + this.e4r_1 + ', tag=' + this.f4r_1 + ', afterReconnection=' + this.g4r_1 + ')';
33391
+ return 'PlayerTurnTimerTag(playerId=' + this.k4r_1 + ', tag=' + this.l4r_1 + ', afterReconnection=' + this.m4r_1 + ')';
33367
33392
  };
33368
33393
  function getInitialPlayerTurnTimerDelayMillis(player, config, isDelayForBot, random) {
33369
33394
  isDelayForBot = isDelayForBot === VOID ? false : isDelayForBot;
@@ -33371,9 +33396,9 @@
33371
33396
  var tmp;
33372
33397
  var tmp_0;
33373
33398
  if (!isDelayForBot) {
33374
- var tmp729_safe_receiver = player.w36_1.l2q_1;
33375
- var tmp730_safe_receiver = tmp729_safe_receiver == null ? null : tmp729_safe_receiver.p2q_1;
33376
- tmp_0 = (tmp730_safe_receiver == null ? null : tmp730_safe_receiver.isLive) === true;
33399
+ var tmp733_safe_receiver = player.w36_1.l2q_1;
33400
+ var tmp734_safe_receiver = tmp733_safe_receiver == null ? null : tmp733_safe_receiver.p2q_1;
33401
+ tmp_0 = (tmp734_safe_receiver == null ? null : tmp734_safe_receiver.isLive) === true;
33377
33402
  } else {
33378
33403
  tmp_0 = false;
33379
33404
  }
@@ -33405,9 +33430,9 @@
33405
33430
  return tmp;
33406
33431
  }
33407
33432
  function _no_name_provided__qut3iv_6($isEnableBotForPlayer, $playerTurnInteractor, $botConfig) {
33408
- this.h4r_1 = $isEnableBotForPlayer;
33409
- this.i4r_1 = $playerTurnInteractor;
33410
- this.j4r_1 = $botConfig;
33433
+ this.n4r_1 = $isEnableBotForPlayer;
33434
+ this.o4r_1 = $playerTurnInteractor;
33435
+ this.p4r_1 = $botConfig;
33411
33436
  }
33412
33437
  protoOf(_no_name_provided__qut3iv_6).t2x = function (action) {
33413
33438
  return isInterface(action, NextPlayerTurnAction);
@@ -33425,7 +33450,7 @@
33425
33450
  while (tmp0_iterator.k()) {
33426
33451
  var element = tmp0_iterator.l();
33427
33452
  // Inline function 'com.debertz.logic.redux.middlewares.player.playerStartTimerMiddleware.<anonymous>.<anonymous>' call
33428
- if (this.h4r_1(element)) {
33453
+ if (this.n4r_1(element)) {
33429
33454
  destination.e(element);
33430
33455
  }
33431
33456
  }
@@ -33434,7 +33459,7 @@
33434
33459
  var element_0 = tmp0_iterator_0.l();
33435
33460
  $l$block: {
33436
33461
  // Inline function 'com.debertz.logic.redux.middlewares.player.playerStartTimerMiddleware.<anonymous>.<anonymous>' call
33437
- var tmp0_elvis_lhs = this.i4r_1.t4i(action_0, table.players, table.gameInfo.u46_1);
33462
+ var tmp0_elvis_lhs = this.o4r_1.t4i(action_0, table.players, table.gameInfo.u46_1);
33438
33463
  var tmp;
33439
33464
  if (tmp0_elvis_lhs == null) {
33440
33465
  break $l$block;
@@ -33442,7 +33467,7 @@
33442
33467
  tmp = tmp0_elvis_lhs;
33443
33468
  }
33444
33469
  var turnModel = tmp;
33445
- store.dispatch(new StartTimerAction(new PlayerTurnTimerTag(element_0, turnModel.d39_1), getInitialPlayerTurnTimerDelayMillis(getPlayer(table.players, element_0), table.config, this.j4r_1.isDelayForBot, this.j4r_1.simulateBotThinkingDelay ? Default_getInstance() : null), VOID, TimerType_DELAY_getInstance()));
33470
+ store.dispatch(new StartTimerAction(new PlayerTurnTimerTag(element_0, turnModel.d39_1), getInitialPlayerTurnTimerDelayMillis(getPlayer(table.players, element_0), table.config, this.p4r_1.isDelayForBot, this.p4r_1.simulateBotThinkingDelay ? Default_getInstance() : null), VOID, TimerType_DELAY_getInstance()));
33446
33471
  }
33447
33472
  }
33448
33473
  next(action_0);
@@ -33451,7 +33476,7 @@
33451
33476
  return this.v2z(store, next, action);
33452
33477
  };
33453
33478
  function _no_name_provided__qut3iv_7($isEnableBotForPlayer) {
33454
- this.k4r_1 = $isEnableBotForPlayer;
33479
+ this.q4r_1 = $isEnableBotForPlayer;
33455
33480
  }
33456
33481
  protoOf(_no_name_provided__qut3iv_7).t2x = function (action) {
33457
33482
  return isInterface(action, PlayerAnswerFromClientAction);
@@ -33459,7 +33484,7 @@
33459
33484
  protoOf(_no_name_provided__qut3iv_7).v2z = function (store, next, action) {
33460
33485
  // Inline function 'com.debertz.logic.redux.middlewares.player.playerStopTimerMiddleware.<anonymous>' call
33461
33486
  var action_0 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
33462
- if (this.k4r_1(action_0.playerId)) {
33487
+ if (this.q4r_1(action_0.playerId)) {
33463
33488
  var table = store.state.e33();
33464
33489
  var player = getPlayer(table.players, action_0.playerId);
33465
33490
  store.dispatch(new StopTimerAction(new PlayerTurnTimerTag(action_0.playerId, player.w36_1.y2r())));
@@ -33483,7 +33508,7 @@
33483
33508
  var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
33484
33509
  var timerTag = action_0.p2x_1;
33485
33510
  if (timerTag instanceof PlayerTurnTimerTag) {
33486
- var player = getPlayer(store.state.e33().players, timerTag.e4r_1);
33511
+ var player = getPlayer(store.state.e33().players, timerTag.k4r_1);
33487
33512
  store.dispatch(new AskBotAction(player.playerId, 'PlayerTurn'));
33488
33513
  }
33489
33514
  next(action_0);
@@ -33496,9 +33521,9 @@
33496
33521
  return new _no_name_provided__qut3iv_9(sceneFactory, router, sceneValidationInteractor);
33497
33522
  }
33498
33523
  function _no_name_provided__qut3iv_9($sceneFactory, $router, $sceneValidationInteractor) {
33499
- this.l4r_1 = $sceneFactory;
33500
- this.m4r_1 = $router;
33501
- this.n4r_1 = $sceneValidationInteractor;
33524
+ this.r4r_1 = $sceneFactory;
33525
+ this.s4r_1 = $router;
33526
+ this.t4r_1 = $sceneValidationInteractor;
33502
33527
  }
33503
33528
  protoOf(_no_name_provided__qut3iv_9).t2x = function (action) {
33504
33529
  return action instanceof SceneLifecycleAction;
@@ -33510,8 +33535,8 @@
33510
33535
  next(action_0);
33511
33536
  var tmp;
33512
33537
  if (action_0 instanceof SceneStartedMechanicAction) {
33513
- var sceneData = this.l4r_1.d4k(action_0.v4n_1, table);
33514
- var navigationActCommand = this.m4r_1.q4k(sceneData, table);
33538
+ var sceneData = this.r4r_1.d4k(action_0.v4n_1, table);
33539
+ var navigationActCommand = this.s4r_1.q4k(sceneData, table);
33515
33540
  var tmp_0;
33516
33541
  if (navigationActCommand == null) {
33517
33542
  tmp_0 = null;
@@ -33519,21 +33544,21 @@
33519
33544
  // Inline function 'kotlin.let' call
33520
33545
  // Inline function 'kotlin.contracts.contract' call
33521
33546
  // Inline function 'com.debertz.logic.redux.middlewares.slices.sceneLifecycleMiddleware.<anonymous>.<anonymous>' call
33522
- var tmp733_actId = navigationActCommand.w4k_1;
33523
- var tmp734_payload = navigationActCommand.x4k_1;
33524
- tmp_0 = this.l4r_1.e4k(tmp733_actId, sceneData, tmp734_payload, table);
33547
+ var tmp737_actId = navigationActCommand.w4k_1;
33548
+ var tmp738_payload = navigationActCommand.x4k_1;
33549
+ tmp_0 = this.r4r_1.e4k(tmp737_actId, sceneData, tmp738_payload, table);
33525
33550
  }
33526
33551
  var actData = tmp_0;
33527
- this.n4r_1.m4k(store.state.x32_1, 'Timers are not empty before scene ' + action_0.v4n_1);
33528
- var tmp736_sceneId = action_0.v4n_1;
33529
- var tmp737_actId = actData == null ? null : actData.actId;
33530
- var mechanicAction = new SceneMechanicAction(tmp736_sceneId, tmp737_actId, sceneData, actData);
33552
+ this.t4r_1.m4k(store.state.x32_1, 'Timers are not empty before scene ' + action_0.v4n_1);
33553
+ var tmp740_sceneId = action_0.v4n_1;
33554
+ var tmp741_actId = actData == null ? null : actData.actId;
33555
+ var mechanicAction = new SceneMechanicAction(tmp740_sceneId, tmp741_actId, sceneData, actData);
33531
33556
  tmp = listOfNotNull(mechanicAction);
33532
33557
  } else {
33533
33558
  if (action_0 instanceof SceneEndedMechanicAction) {
33534
- var tmp738_safe_receiver = firstOrNull(filterByGameWinner(table.players));
33535
- var gameWinnerPlayerId = tmp738_safe_receiver == null ? null : tmp738_safe_receiver.playerId;
33536
- var nextSceneCommand = this.m4r_1.r4k(action_0.u4n_1, !(gameWinnerPlayerId == null), table.config);
33559
+ var tmp742_safe_receiver = firstOrNull(filterByGameWinner(table.players));
33560
+ var gameWinnerPlayerId = tmp742_safe_receiver == null ? null : tmp742_safe_receiver.playerId;
33561
+ var nextSceneCommand = this.s4r_1.r4k(action_0.u4n_1, !(gameWinnerPlayerId == null), table.config);
33537
33562
  var tmp_1;
33538
33563
  if (nextSceneCommand instanceof MoveSceneNext) {
33539
33564
  tmp_1 = listOf_0(new SceneStartedMechanicAction(nextSceneCommand.u4k_1));
@@ -33543,18 +33568,18 @@
33543
33568
  tmp = tmp_1;
33544
33569
  } else {
33545
33570
  if (action_0 instanceof SceneActStartedMechanicAction) {
33546
- this.n4r_1.m4k(store.state.x32_1, 'Timers are not empty before scene act ' + action_0.w4n_1 + ', ' + action_0.x4n_1);
33571
+ this.t4r_1.m4k(store.state.x32_1, 'Timers are not empty before scene act ' + action_0.w4n_1 + ', ' + action_0.x4n_1);
33547
33572
  var mechanicAction_0 = new SceneActMechanicAction(action_0.w4n_1, action_0.x4n_1, action_0.y4n_1);
33548
33573
  tmp = listOf_0(mechanicAction_0);
33549
33574
  } else {
33550
33575
  if (action_0 instanceof SceneActEndedMechanicAction) {
33551
- var navigationCommand = this.m4r_1.t4k(action_0.z4n_1, table);
33576
+ var navigationCommand = this.s4r_1.t4k(action_0.z4n_1, table);
33552
33577
  var tmp_2;
33553
33578
  if (navigationCommand instanceof FinishActNext) {
33554
33579
  tmp_2 = listOf_0(new SceneEndedMechanicAction(table.sceneInfo.c4a_1));
33555
33580
  } else {
33556
33581
  if (navigationCommand instanceof MoveActNext) {
33557
- var tmp740_actId = navigationCommand.w4k_1;
33582
+ var tmp744_actId = navigationCommand.w4k_1;
33558
33583
  var tmp$ret$2;
33559
33584
  $l$block: {
33560
33585
  // Inline function 'com.debertz.logic.data.models.scenes.requireSceneData' call
@@ -33565,9 +33590,9 @@
33565
33590
  }
33566
33591
  throw new MechanicException('Required ' + getKClass(SceneData).ba() + ', current scene is ' + toString_0(this_0));
33567
33592
  }
33568
- var tmp741_sceneData = tmp$ret$2;
33569
- var tmp742_payload = navigationCommand.x4k_1;
33570
- var actData_0 = this.l4r_1.e4k(tmp740_actId, tmp741_sceneData, tmp742_payload, table);
33593
+ var tmp745_sceneData = tmp$ret$2;
33594
+ var tmp746_payload = navigationCommand.x4k_1;
33595
+ var actData_0 = this.r4r_1.e4k(tmp744_actId, tmp745_sceneData, tmp746_payload, table);
33571
33596
  tmp_2 = listOf_0(new SceneActStartedMechanicAction(table.sceneInfo.c4a_1, navigationCommand.w4k_1, actData_0));
33572
33597
  } else {
33573
33598
  noWhenBranchMatchedException();
@@ -33624,7 +33649,7 @@
33624
33649
  return new _no_name_provided__qut3iv_11(logger);
33625
33650
  }
33626
33651
  function _no_name_provided__qut3iv_11($logger) {
33627
- this.o4r_1 = $logger;
33652
+ this.u4r_1 = $logger;
33628
33653
  }
33629
33654
  protoOf(_no_name_provided__qut3iv_11).t2x = function (action) {
33630
33655
  return action instanceof PutCardMechanicAction;
@@ -33660,7 +33685,7 @@
33660
33685
  var bribes = destination;
33661
33686
  // Inline function 'kotlin.collections.isNotEmpty' call
33662
33687
  if (!bribes.p()) {
33663
- this.o4r_1.w('Validation', 'Card already exists in previous bribes, card = ' + action_0.o4j_1.toString() + ', bribes = ' + toString(bribes));
33688
+ this.u4r_1.w('Validation', 'Card already exists in previous bribes, card = ' + action_0.o4j_1.toString() + ', bribes = ' + toString(bribes));
33664
33689
  }
33665
33690
  }
33666
33691
  next(action_0);
@@ -33673,7 +33698,7 @@
33673
33698
  return new _no_name_provided__qut3iv_12(logger);
33674
33699
  }
33675
33700
  function _no_name_provided__qut3iv_12($logger) {
33676
- this.p4r_1 = $logger;
33701
+ this.v4r_1 = $logger;
33677
33702
  }
33678
33703
  protoOf(_no_name_provided__qut3iv_12).t2x = function (action) {
33679
33704
  return action instanceof SceneMechanicAction;
@@ -33823,15 +33848,15 @@
33823
33848
  if (scenePayload instanceof EarnPointsClientScene) {
33824
33849
  var playerCards_0 = plus(scenePayload.p3i_1, first(state.e33().players).x36_1);
33825
33850
  // Inline function 'kotlin.collections.orEmpty' call
33826
- var tmp743_safe_receiver = scenePayload.r3i_1;
33851
+ var tmp747_safe_receiver = scenePayload.r3i_1;
33827
33852
  var tmp_9;
33828
- if (tmp743_safe_receiver == null) {
33853
+ if (tmp747_safe_receiver == null) {
33829
33854
  tmp_9 = null;
33830
33855
  } else {
33831
33856
  // Inline function 'kotlin.collections.map' call
33832
33857
  // Inline function 'kotlin.collections.mapTo' call
33833
- var destination_7 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp743_safe_receiver, 10));
33834
- var tmp0_iterator_7 = tmp743_safe_receiver.j();
33858
+ var destination_7 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp747_safe_receiver, 10));
33859
+ var tmp0_iterator_7 = tmp747_safe_receiver.j();
33835
33860
  while (tmp0_iterator_7.k()) {
33836
33861
  var item_4 = tmp0_iterator_7.l();
33837
33862
  // Inline function 'com.debertz.logic.redux.middlewares.validation.checkCardDuplicatesForScenesMiddleware.<anonymous>.<anonymous>' call
@@ -33842,8 +33867,8 @@
33842
33867
  }
33843
33868
  tmp_9 = destination_7;
33844
33869
  }
33845
- var tmp744_safe_receiver = tmp_9;
33846
- var tmp0_elvis_lhs_0 = tmp744_safe_receiver == null ? null : flatten(tmp744_safe_receiver);
33870
+ var tmp748_safe_receiver = tmp_9;
33871
+ var tmp0_elvis_lhs_0 = tmp748_safe_receiver == null ? null : flatten(tmp748_safe_receiver);
33847
33872
  var combinationsCards = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
33848
33873
  var tmp$ret$40;
33849
33874
  $l$block_0: {
@@ -33905,7 +33930,7 @@
33905
33930
  }
33906
33931
  var notValidMessage = tmp;
33907
33932
  if (!(notValidMessage == null)) {
33908
- this.p4r_1.w('Validation', toString_0(notValidMessage));
33933
+ this.v4r_1.w('Validation', toString_0(notValidMessage));
33909
33934
  }
33910
33935
  }
33911
33936
  }
@@ -33970,7 +33995,7 @@
33970
33995
  };
33971
33996
  }
33972
33997
  function _no_name_provided__qut3iv_13($logger) {
33973
- this.q4r_1 = $logger;
33998
+ this.w4r_1 = $logger;
33974
33999
  }
33975
34000
  protoOf(_no_name_provided__qut3iv_13).t2x = function (action) {
33976
34001
  return action instanceof TimerTickAction;
@@ -33980,7 +34005,7 @@
33980
34005
  var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
33981
34006
  var tmp = action_0.p2x_1;
33982
34007
  if (tmp instanceof GameIsNotFinishedTimerTag) {
33983
- this.q4r_1.w('Validation', 'CheckGameISNotFinishedMiddleware: finish event is nor received');
34008
+ this.w4r_1.w('Validation', 'CheckGameISNotFinishedMiddleware: finish event is nor received');
33984
34009
  store.dispatch(new FinishGameMechanicAction(store.state.y4k()));
33985
34010
  }
33986
34011
  next(action_0);
@@ -34035,7 +34060,7 @@
34035
34060
  return new _no_name_provided__qut3iv_16(logger);
34036
34061
  }
34037
34062
  function _no_name_provided__qut3iv_16($logger) {
34038
- this.r4r_1 = $logger;
34063
+ this.x4r_1 = $logger;
34039
34064
  }
34040
34065
  protoOf(_no_name_provided__qut3iv_16).t2x = function (action) {
34041
34066
  return isInterface(action, FirstMechanicAction);
@@ -34044,44 +34069,44 @@
34044
34069
  // Inline function 'com.debertz.logic.redux.middlewares.validation.checkGameTestPointsMiddleware.<anonymous>' call
34045
34070
  var action_0 = isInterface(action, FirstMechanicAction) ? action : THROW_CCE();
34046
34071
  if (action_0.config.pointsMode.equals(PointsMode_TEST_getInstance())) {
34047
- this.r4r_1.e(VOID, "checkGameTestPointsMiddleware: can't start game with the test mode points");
34072
+ this.x4r_1.e(VOID, "checkGameTestPointsMiddleware: can't start game with the test mode points");
34048
34073
  }
34049
34074
  next(action_0);
34050
34075
  };
34051
34076
  protoOf(_no_name_provided__qut3iv_16).s2x = function (store, next, action) {
34052
34077
  return this.v2z(store, next, action);
34053
34078
  };
34054
- function checkValidTurnWhenAnswerFromClientMiddleware(sendErrorToClient, disableClientTurnCheckWhen, logger) {
34055
- disableClientTurnCheckWhen = disableClientTurnCheckWhen === VOID ? emptyList() : disableClientTurnCheckWhen;
34079
+ function checkValidTurnWhenAnswerFromClientMiddleware(sendErrorToClient, enableCheckWhen, logger) {
34080
+ enableCheckWhen = enableCheckWhen === VOID ? emptyList() : enableCheckWhen;
34056
34081
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
34057
- return new _no_name_provided__qut3iv_17(disableClientTurnCheckWhen, sendErrorToClient, logger);
34082
+ return new _no_name_provided__qut3iv_17(enableCheckWhen, sendErrorToClient, logger);
34058
34083
  }
34059
- function checkValidPlayerConnectionStateMiddleware(sendErrorToClient, disableClientTurnCheckWhen, logger) {
34060
- disableClientTurnCheckWhen = disableClientTurnCheckWhen === VOID ? emptyList() : disableClientTurnCheckWhen;
34084
+ function checkValidPlayerConnectionStateMiddleware(sendErrorToClient, enableCheckWhen, logger) {
34085
+ enableCheckWhen = enableCheckWhen === VOID ? emptyList() : enableCheckWhen;
34061
34086
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
34062
- return new _no_name_provided__qut3iv_18(disableClientTurnCheckWhen, sendErrorToClient, logger);
34087
+ return new _no_name_provided__qut3iv_18(enableCheckWhen, sendErrorToClient, logger);
34063
34088
  }
34064
- function checkValidNextPlayerTurnMiddleware(disableClientTurnCheckWhen, logger) {
34065
- disableClientTurnCheckWhen = disableClientTurnCheckWhen === VOID ? emptyList() : disableClientTurnCheckWhen;
34089
+ function checkValidNextPlayerTurnMiddleware(enableCheckWhen, logger) {
34090
+ enableCheckWhen = enableCheckWhen === VOID ? emptyList() : enableCheckWhen;
34066
34091
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
34067
- return new _no_name_provided__qut3iv_19(disableClientTurnCheckWhen, logger);
34092
+ return new _no_name_provided__qut3iv_19(enableCheckWhen, logger);
34068
34093
  }
34069
- function checkValidTurnWhenAnswerMiddleware(sendErrorToClient, disableClientTurnCheckWhen, logger) {
34070
- disableClientTurnCheckWhen = disableClientTurnCheckWhen === VOID ? emptyList() : disableClientTurnCheckWhen;
34094
+ function checkValidTurnWhenAnswerMiddleware(sendErrorToClient, enableClientTurnCheckWhen, logger) {
34095
+ enableClientTurnCheckWhen = enableClientTurnCheckWhen === VOID ? emptyList() : enableClientTurnCheckWhen;
34071
34096
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
34072
- return new _no_name_provided__qut3iv_20(disableClientTurnCheckWhen, sendErrorToClient, logger);
34097
+ return new _no_name_provided__qut3iv_20(enableClientTurnCheckWhen, sendErrorToClient, logger);
34073
34098
  }
34074
- function isEnabledCheck(disableClientTurnCheckWhen, state, action) {
34099
+ function isEnabledCheck(enableCheckWhen, state, action) {
34075
34100
  var tmp;
34076
- if (disableClientTurnCheckWhen.p()) {
34101
+ if (enableCheckWhen.p()) {
34077
34102
  tmp = true;
34078
34103
  } else {
34079
34104
  var tmp$ret$0;
34080
34105
  $l$block_0: {
34081
34106
  // Inline function 'kotlin.collections.all' call
34082
34107
  var tmp_0;
34083
- if (isInterface(disableClientTurnCheckWhen, Collection)) {
34084
- tmp_0 = disableClientTurnCheckWhen.p();
34108
+ if (isInterface(enableCheckWhen, Collection)) {
34109
+ tmp_0 = enableCheckWhen.p();
34085
34110
  } else {
34086
34111
  tmp_0 = false;
34087
34112
  }
@@ -34089,12 +34114,11 @@
34089
34114
  tmp$ret$0 = true;
34090
34115
  break $l$block_0;
34091
34116
  }
34092
- var tmp0_iterator = disableClientTurnCheckWhen.j();
34117
+ var tmp0_iterator = enableCheckWhen.j();
34093
34118
  while (tmp0_iterator.k()) {
34094
34119
  var element = tmp0_iterator.l();
34095
34120
  // Inline function 'com.debertz.logic.redux.middlewares.validation.isEnabledCheck.<anonymous>' call
34096
- var disabled = element(state, action);
34097
- if (!!disabled) {
34121
+ if (!element.f4p(state, action)) {
34098
34122
  tmp$ret$0 = false;
34099
34123
  break $l$block_0;
34100
34124
  }
@@ -34106,10 +34130,10 @@
34106
34130
  var checkEnabled = tmp;
34107
34131
  return checkEnabled;
34108
34132
  }
34109
- function _no_name_provided__qut3iv_17($disableClientTurnCheckWhen, $sendErrorToClient, $logger) {
34110
- this.s4r_1 = $disableClientTurnCheckWhen;
34111
- this.t4r_1 = $sendErrorToClient;
34112
- this.u4r_1 = $logger;
34133
+ function _no_name_provided__qut3iv_17($enableCheckWhen, $sendErrorToClient, $logger) {
34134
+ this.y4r_1 = $enableCheckWhen;
34135
+ this.z4r_1 = $sendErrorToClient;
34136
+ this.a4s_1 = $logger;
34113
34137
  }
34114
34138
  protoOf(_no_name_provided__qut3iv_17).t2x = function (action) {
34115
34139
  return isInterface(action, PlayerAnswerFromClientAction);
@@ -34119,7 +34143,7 @@
34119
34143
  // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidTurnWhenAnswerFromClientMiddleware.<anonymous>' call
34120
34144
  var action_0 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
34121
34145
  var state = store.state;
34122
- if (!isEnabledCheck(this.s4r_1, state, action_0)) {
34146
+ if (!isEnabledCheck(this.y4r_1, state, action_0)) {
34123
34147
  next(action_0);
34124
34148
  break $l$block;
34125
34149
  }
@@ -34148,10 +34172,10 @@
34148
34172
  destination_0.e(tmp$ret$4);
34149
34173
  }
34150
34174
  var message = 'Is not player turn:' + ('expected = ' + toString(destination_0) + ', \n') + ('actual = ' + player.playerId);
34151
- if (this.t4r_1) {
34175
+ if (this.z4r_1) {
34152
34176
  store.dispatch(new ErrorToClientAction(Companion_instance_121.userFromTable(state.e33(), player.playerId), new ErrorState('Is not player turn: ' + message, VOID, new PlayerLostConnectionReason(player.playerId, player.w36_1.y2r()))));
34153
34177
  }
34154
- this.u4r_1.w('Validation', 'checkValidTurnAnswerFromClientMiddleware: ' + message + ', action: ' + toString(action_0));
34178
+ this.a4s_1.w('Validation', 'checkValidTurnAnswerFromClientMiddleware: ' + message + ', action: ' + toString(action_0));
34155
34179
  } else {
34156
34180
  next(action_0);
34157
34181
  }
@@ -34160,10 +34184,10 @@
34160
34184
  protoOf(_no_name_provided__qut3iv_17).s2x = function (store, next, action) {
34161
34185
  return this.v2z(store, next, action);
34162
34186
  };
34163
- function _no_name_provided__qut3iv_18($disableClientTurnCheckWhen, $sendErrorToClient, $logger) {
34164
- this.v4r_1 = $disableClientTurnCheckWhen;
34165
- this.w4r_1 = $sendErrorToClient;
34166
- this.x4r_1 = $logger;
34187
+ function _no_name_provided__qut3iv_18($enableCheckWhen, $sendErrorToClient, $logger) {
34188
+ this.b4s_1 = $enableCheckWhen;
34189
+ this.c4s_1 = $sendErrorToClient;
34190
+ this.d4s_1 = $logger;
34167
34191
  }
34168
34192
  protoOf(_no_name_provided__qut3iv_18).t2x = function (action) {
34169
34193
  return action instanceof FromClientAction;
@@ -34173,20 +34197,20 @@
34173
34197
  // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidPlayerConnectionStateMiddleware.<anonymous>' call
34174
34198
  var action_0 = action instanceof FromClientAction ? action : THROW_CCE();
34175
34199
  var state = store.state;
34176
- if (!isEnabledCheck(this.v4r_1, state, action_0)) {
34200
+ if (!isEnabledCheck(this.b4s_1, state, action_0)) {
34177
34201
  next(action_0);
34178
34202
  break $l$block;
34179
34203
  }
34180
34204
  var table = store.state.e33();
34181
34205
  var player = getPlayer(table.players, action_0.playerId);
34182
- var tmp745_safe_receiver = player.b37_1;
34183
- var connectionState = tmp745_safe_receiver == null ? null : tmp745_safe_receiver.p2q_1;
34206
+ var tmp749_safe_receiver = player.b37_1;
34207
+ var connectionState = tmp749_safe_receiver == null ? null : tmp749_safe_receiver.p2q_1;
34184
34208
  if (!(connectionState == null) && !connectionState.isLive) {
34185
34209
  var message = 'Player connection state is not alive:' + ('playerId = ' + player.playerId);
34186
- if (this.w4r_1) {
34210
+ if (this.c4s_1) {
34187
34211
  store.dispatch(new ErrorToClientAction(Companion_instance_121.userFromTable(table, player.playerId), new ErrorState(message, VOID, new PlayerLostConnectionReason(player.playerId, player.w36_1.y2r()))));
34188
34212
  }
34189
- this.x4r_1.w('Validation', 'checkValidPlayerConnectionStateMiddleware: ' + message + ', action: ' + toString(action_0));
34213
+ this.d4s_1.w('Validation', 'checkValidPlayerConnectionStateMiddleware: ' + message + ', action: ' + toString(action_0));
34190
34214
  } else {
34191
34215
  next(action_0);
34192
34216
  }
@@ -34195,9 +34219,9 @@
34195
34219
  protoOf(_no_name_provided__qut3iv_18).s2x = function (store, next, action) {
34196
34220
  return this.v2z(store, next, action);
34197
34221
  };
34198
- function _no_name_provided__qut3iv_19($disableClientTurnCheckWhen, $logger) {
34199
- this.y4r_1 = $disableClientTurnCheckWhen;
34200
- this.z4r_1 = $logger;
34222
+ function _no_name_provided__qut3iv_19($enableCheckWhen, $logger) {
34223
+ this.e4s_1 = $enableCheckWhen;
34224
+ this.f4s_1 = $logger;
34201
34225
  }
34202
34226
  protoOf(_no_name_provided__qut3iv_19).t2x = function (action) {
34203
34227
  return isInterface(action, NextPlayerTurnAction);
@@ -34207,7 +34231,7 @@
34207
34231
  // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidNextPlayerTurnMiddleware.<anonymous>' call
34208
34232
  var action_0 = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
34209
34233
  var state = store.state;
34210
- if (!isEnabledCheck(this.y4r_1, state, action_0)) {
34234
+ if (!isEnabledCheck(this.e4s_1, state, action_0)) {
34211
34235
  next(action_0);
34212
34236
  break $l$block;
34213
34237
  }
@@ -34259,7 +34283,7 @@
34259
34283
  destination_0.e(tmp$ret$6);
34260
34284
  }
34261
34285
  var message = 'Player turn is already set: ' + ('expected = ' + toString(destination_0) + ', ') + ('actual = ' + toString(action_0.v4m()));
34262
- this.z4r_1.w('Validation', 'checkValidNextPlayerTurnMiddleware: ' + message + ', action: ' + toString(action_0));
34286
+ this.f4s_1.w('Validation', 'checkValidNextPlayerTurnMiddleware: ' + message + ', action: ' + toString(action_0));
34263
34287
  } else {
34264
34288
  next(action_0);
34265
34289
  }
@@ -34268,10 +34292,10 @@
34268
34292
  protoOf(_no_name_provided__qut3iv_19).s2x = function (store, next, action) {
34269
34293
  return this.v2z(store, next, action);
34270
34294
  };
34271
- function _no_name_provided__qut3iv_20($disableClientTurnCheckWhen, $sendErrorToClient, $logger) {
34272
- this.a4s_1 = $disableClientTurnCheckWhen;
34273
- this.b4s_1 = $sendErrorToClient;
34274
- this.c4s_1 = $logger;
34295
+ function _no_name_provided__qut3iv_20($enableClientTurnCheckWhen, $sendErrorToClient, $logger) {
34296
+ this.g4s_1 = $enableClientTurnCheckWhen;
34297
+ this.h4s_1 = $sendErrorToClient;
34298
+ this.i4s_1 = $logger;
34275
34299
  }
34276
34300
  protoOf(_no_name_provided__qut3iv_20).t2x = function (action) {
34277
34301
  return isInterface(action, PlayerTurnAnswerAction);
@@ -34281,7 +34305,7 @@
34281
34305
  // Inline function 'com.debertz.logic.redux.middlewares.validation.checkValidTurnWhenAnswerMiddleware.<anonymous>' call
34282
34306
  var action_0 = isInterface(action, PlayerTurnAnswerAction) ? action : THROW_CCE();
34283
34307
  var state = store.state;
34284
- if (!isEnabledCheck(this.a4s_1, state, action_0)) {
34308
+ if (!isEnabledCheck(this.g4s_1, state, action_0)) {
34285
34309
  next(action_0);
34286
34310
  break $l$block;
34287
34311
  }
@@ -34311,10 +34335,10 @@
34311
34335
  destination_0.e(tmp$ret$4);
34312
34336
  }
34313
34337
  var message = 'Is not player turn:' + ('expected = ' + toString(destination_0) + ', ') + ('actual = ' + player.playerId);
34314
- if (this.b4s_1) {
34338
+ if (this.h4s_1) {
34315
34339
  store.dispatch(new ErrorToClientAction(Companion_instance_121.userFromTable(table, player.playerId), new ErrorState(message, VOID, new PlayerLostConnectionReason(player.playerId, player.w36_1.y2r()))));
34316
34340
  }
34317
- this.c4s_1.w('Validation', 'checkValidTurnAnswerMiddleware: ' + message + ', action: ' + toString(action_0));
34341
+ this.i4s_1.w('Validation', 'checkValidTurnAnswerMiddleware: ' + message + ', action: ' + toString(action_0));
34318
34342
  } else {
34319
34343
  next(action_0);
34320
34344
  }
@@ -34332,7 +34356,7 @@
34332
34356
  return new _no_name_provided__qut3iv_22(logger);
34333
34357
  }
34334
34358
  function _no_name_provided__qut3iv_21($logger) {
34335
- this.d4s_1 = $logger;
34359
+ this.j4s_1 = $logger;
34336
34360
  }
34337
34361
  protoOf(_no_name_provided__qut3iv_21).t2x = function (action) {
34338
34362
  return action instanceof SceneMechanicAction;
@@ -34344,7 +34368,7 @@
34344
34368
  if (state.f33()) {
34345
34369
  var sceneInfo = state.e33().sceneInfo;
34346
34370
  if (!get_isWaitingScene(sceneInfo.c4a_1) && Companion_instance_4.d33(sceneInfo.c4a_1, action_0.d4j_1) && equals(sceneInfo.f4a_1, action_0.sceneData)) {
34347
- this.d4s_1.e('Validation', 'CheckValidSceneMiddleware', new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
34371
+ this.j4s_1.e('Validation', 'CheckValidSceneMiddleware', new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
34348
34372
  }
34349
34373
  }
34350
34374
  next(action_0);
@@ -34353,7 +34377,7 @@
34353
34377
  return this.v2z(store, next, action);
34354
34378
  };
34355
34379
  function _no_name_provided__qut3iv_22($logger) {
34356
- this.e4s_1 = $logger;
34380
+ this.k4s_1 = $logger;
34357
34381
  }
34358
34382
  protoOf(_no_name_provided__qut3iv_22).t2x = function (action) {
34359
34383
  return action instanceof SceneActMechanicAction;
@@ -34365,7 +34389,7 @@
34365
34389
  if (state.f33()) {
34366
34390
  var sceneInfo = state.e33().sceneInfo;
34367
34391
  if (Companion_instance_4.d33(sceneInfo.c4a_1, action_0.v4i_1) && sceneInfo.e4a_1 === action_0.w4i_1 && equals(sceneInfo.g4a_1, action_0.x4i_1)) {
34368
- this.e4s_1.e('Validation', 'CheckValidSceneActMiddleware', new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
34392
+ this.k4s_1.e('Validation', 'CheckValidSceneActMiddleware', new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
34369
34393
  }
34370
34394
  }
34371
34395
  next(action_0);
@@ -34382,13 +34406,13 @@
34382
34406
  protoOf(_no_name_provided__qut3iv_23).t2x = function (action) {
34383
34407
  return action instanceof ClearAction;
34384
34408
  };
34385
- protoOf(_no_name_provided__qut3iv_23).f4s = function (state, action) {
34409
+ protoOf(_no_name_provided__qut3iv_23).l4s = function (state, action) {
34386
34410
  // Inline function 'com.debertz.logic.redux.reducers.clearReducer.<anonymous>' call
34387
34411
  action instanceof ClearAction || THROW_CCE();
34388
34412
  return state.a4l(VOID, VOID, GameLifecycleState_FINISHED_getInstance());
34389
34413
  };
34390
34414
  protoOf(_no_name_provided__qut3iv_23).w2z = function (state, action) {
34391
- return this.f4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
34415
+ return this.l4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
34392
34416
  };
34393
34417
  function mechanicReducer(gameLifecycleReducer, teamsMechanicReducer, tradeMechanicReducer, earnPointsMechanicReducer, combinationsMechanicReducer, playerTurnMechanicReducer, sceneReducer, sceneActReducer) {
34394
34418
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
@@ -34397,58 +34421,58 @@
34397
34421
  function mechanicReducer$_anonymous_$reduce_kmtetj($gameLifecycleReducer, $teamsMechanicReducer, $tradeMechanicReducer, $combinationsMechanicReducer, $earnPointsMechanicReducer, $sceneReducer, $sceneActReducer, $playerTurnMechanicReducer, state, action) {
34398
34422
  var tmp;
34399
34423
  if (action instanceof StartGameMechanicAction) {
34400
- tmp = $gameLifecycleReducer.r4t(state, action);
34424
+ tmp = $gameLifecycleReducer.x4t(state, action);
34401
34425
  } else {
34402
34426
  if (action instanceof StartNewGameMechanicAction) {
34403
- tmp = $gameLifecycleReducer.q4t(state, action);
34427
+ tmp = $gameLifecycleReducer.w4t(state, action);
34404
34428
  } else {
34405
34429
  if (action instanceof ContinueGameMechanicAction) {
34406
- tmp = $gameLifecycleReducer.p4t(state, action);
34430
+ tmp = $gameLifecycleReducer.v4t(state, action);
34407
34431
  } else {
34408
34432
  if (action instanceof FinishingGameMechanicAction) {
34409
- tmp = $gameLifecycleReducer.o4t(state, action);
34433
+ tmp = $gameLifecycleReducer.u4t(state, action);
34410
34434
  } else {
34411
34435
  if (action instanceof FinishGameMechanicAction) {
34412
- tmp = $gameLifecycleReducer.n4t(state, action);
34436
+ tmp = $gameLifecycleReducer.t4t(state, action);
34413
34437
  } else {
34414
34438
  if (action instanceof RestartGameMechanicAction) {
34415
- tmp = $gameLifecycleReducer.m4t(state, action);
34439
+ tmp = $gameLifecycleReducer.s4t(state, action);
34416
34440
  } else {
34417
34441
  if (action instanceof ErrorAction) {
34418
- tmp = $gameLifecycleReducer.l4t(state, action);
34442
+ tmp = $gameLifecycleReducer.r4t(state, action);
34419
34443
  } else {
34420
34444
  if (action instanceof TeamsDataMechanicAction) {
34421
- tmp = state.a4l(state.e33().copy(VOID, VOID, VOID, VOID, $teamsMechanicReducer.k4t(state.e33().players, action)));
34445
+ tmp = state.a4l(state.e33().copy(VOID, VOID, VOID, VOID, $teamsMechanicReducer.q4t(state.e33().players, action)));
34422
34446
  } else {
34423
34447
  if (action instanceof SuitChoiceMechanicAction) {
34424
- tmp = $tradeMechanicReducer.j4t(state, action);
34448
+ tmp = $tradeMechanicReducer.p4t(state, action);
34425
34449
  } else {
34426
34450
  if (action instanceof TrumpMechanicAction) {
34427
- tmp = $tradeMechanicReducer.i4t(state, action);
34451
+ tmp = $tradeMechanicReducer.o4t(state, action);
34428
34452
  } else {
34429
34453
  if (action instanceof CombinationChoiceMechanicAction) {
34430
- tmp = $combinationsMechanicReducer.f4t(state, action);
34454
+ tmp = $combinationsMechanicReducer.l4t(state, action);
34431
34455
  } else {
34432
34456
  if (action instanceof PutCardMechanicAction) {
34433
- tmp = $earnPointsMechanicReducer.e4t(state, action);
34457
+ tmp = $earnPointsMechanicReducer.k4t(state, action);
34434
34458
  } else {
34435
34459
  if (action instanceof PickUpBribeMechanicAction) {
34436
- tmp = $earnPointsMechanicReducer.d4t(state, action);
34460
+ tmp = $earnPointsMechanicReducer.j4t(state, action);
34437
34461
  } else {
34438
34462
  if (action instanceof WinnerCombinationsMechanicAction) {
34439
- tmp = $combinationsMechanicReducer.w4s(state, action);
34463
+ tmp = $combinationsMechanicReducer.c4t(state, action);
34440
34464
  } else {
34441
34465
  if (action instanceof SceneMechanicAction) {
34442
- tmp = state.a4l($sceneReducer.q4s(state.e33(), action));
34466
+ tmp = state.a4l($sceneReducer.w4s(state.e33(), action));
34443
34467
  } else {
34444
34468
  if (action instanceof SceneActMechanicAction) {
34445
- tmp = state.a4l($sceneActReducer.j4s(state.e33(), action));
34469
+ tmp = state.a4l($sceneActReducer.p4s(state.e33(), action));
34446
34470
  } else {
34447
34471
  if (action instanceof PlayerReadyMechanicAction) {
34448
- tmp = state.a4l($playerTurnMechanicReducer.i4s(state.e33(), action));
34472
+ tmp = state.a4l($playerTurnMechanicReducer.o4s(state.e33(), action));
34449
34473
  } else {
34450
34474
  if (action instanceof PlayerConnectionChangedMechanicAction) {
34451
- tmp = state.a4l($playerTurnMechanicReducer.h4s(state.e33(), action.playerId, action.state, action.reconnectUntilTime));
34475
+ tmp = state.a4l($playerTurnMechanicReducer.n4s(state.e33(), action.playerId, action.state, action.reconnectUntilTime));
34452
34476
  } else {
34453
34477
  if (action instanceof MessageMechanicAction) {
34454
34478
  tmp = state;
@@ -34489,25 +34513,25 @@
34489
34513
  return tmp;
34490
34514
  }
34491
34515
  function _no_name_provided__qut3iv_24($gameLifecycleReducer, $teamsMechanicReducer, $tradeMechanicReducer, $combinationsMechanicReducer, $earnPointsMechanicReducer, $sceneReducer, $sceneActReducer, $playerTurnMechanicReducer) {
34492
- this.s4t_1 = $gameLifecycleReducer;
34493
- this.t4t_1 = $teamsMechanicReducer;
34494
- this.u4t_1 = $tradeMechanicReducer;
34495
- this.v4t_1 = $combinationsMechanicReducer;
34496
- this.w4t_1 = $earnPointsMechanicReducer;
34497
- this.x4t_1 = $sceneReducer;
34498
- this.y4t_1 = $sceneActReducer;
34499
- this.z4t_1 = $playerTurnMechanicReducer;
34516
+ this.y4t_1 = $gameLifecycleReducer;
34517
+ this.z4t_1 = $teamsMechanicReducer;
34518
+ this.a4u_1 = $tradeMechanicReducer;
34519
+ this.b4u_1 = $combinationsMechanicReducer;
34520
+ this.c4u_1 = $earnPointsMechanicReducer;
34521
+ this.d4u_1 = $sceneReducer;
34522
+ this.e4u_1 = $sceneActReducer;
34523
+ this.f4u_1 = $playerTurnMechanicReducer;
34500
34524
  }
34501
34525
  protoOf(_no_name_provided__qut3iv_24).t2x = function (action) {
34502
34526
  return action instanceof MechanicAction;
34503
34527
  };
34504
- protoOf(_no_name_provided__qut3iv_24).f4s = function (state, action) {
34528
+ protoOf(_no_name_provided__qut3iv_24).l4s = function (state, action) {
34505
34529
  // Inline function 'com.debertz.logic.redux.reducers.mechanicReducer.<anonymous>' call
34506
34530
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
34507
- return mechanicReducer$_anonymous_$reduce_kmtetj(this.s4t_1, this.t4t_1, this.u4t_1, this.v4t_1, this.w4t_1, this.x4t_1, this.y4t_1, this.z4t_1, state, action_0);
34531
+ return mechanicReducer$_anonymous_$reduce_kmtetj(this.y4t_1, this.z4t_1, this.a4u_1, this.b4u_1, this.c4u_1, this.d4u_1, this.e4u_1, this.f4u_1, state, action_0);
34508
34532
  };
34509
34533
  protoOf(_no_name_provided__qut3iv_24).w2z = function (state, action) {
34510
- return this.f4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
34534
+ return this.l4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
34511
34535
  };
34512
34536
  function timerReducer() {
34513
34537
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
@@ -34518,7 +34542,7 @@
34518
34542
  protoOf(_no_name_provided__qut3iv_25).t2x = function (action) {
34519
34543
  return action instanceof TimerAction;
34520
34544
  };
34521
- protoOf(_no_name_provided__qut3iv_25).f4s = function (state, action) {
34545
+ protoOf(_no_name_provided__qut3iv_25).l4s = function (state, action) {
34522
34546
  // Inline function 'com.debertz.logic.redux.reducers.timerReducer.<anonymous>' call
34523
34547
  var action_0 = action instanceof TimerAction ? action : THROW_CCE();
34524
34548
  var tmp;
@@ -34544,11 +34568,11 @@
34544
34568
  return tmp;
34545
34569
  };
34546
34570
  protoOf(_no_name_provided__qut3iv_25).w2z = function (state, action) {
34547
- return this.f4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
34571
+ return this.l4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
34548
34572
  };
34549
34573
  function SceneActReducer() {
34550
34574
  }
34551
- protoOf(SceneActReducer).j4s = function (table, action) {
34575
+ protoOf(SceneActReducer).p4s = function (table, action) {
34552
34576
  var tmp;
34553
34577
  switch (action.v4i_1) {
34554
34578
  case 'TRADE':
@@ -34585,7 +34609,7 @@
34585
34609
  }
34586
34610
  var combinationActData = tmp$ret$0;
34587
34611
  var updatedCombinations = combinationActData.e3i_1;
34588
- var tmp755_sceneInfo = table.sceneInfo.i4a(VOID, VOID, action.w4i_1, VOID, action.x4i_1);
34612
+ var tmp759_sceneInfo = table.sceneInfo.i4a(VOID, VOID, action.w4i_1, VOID, action.x4i_1);
34589
34613
  var tmp;
34590
34614
  if (updatedCombinations == null) {
34591
34615
  tmp = null;
@@ -34624,11 +34648,11 @@
34624
34648
  while (tmp0_iterator_1.k()) {
34625
34649
  var item_0 = tmp0_iterator_1.l();
34626
34650
  // Inline function 'com.debertz.logic.redux.reducers.sclices.act.playerTurnReducer.<anonymous>.<anonymous>.<anonymous>' call
34627
- var tmp751_state = CombinationState_NOT_VERIFIED_getInstance();
34628
- var tmp752_config = table.config;
34629
- var tmp753_playerId = item.playerId;
34630
- var tmp754_players = table.players;
34631
- var tmp$ret$3 = mapToDetailedFull(item_0, tmp753_playerId, tmp751_state, tmp752_config, tmp754_players, null);
34651
+ var tmp755_state = CombinationState_NOT_VERIFIED_getInstance();
34652
+ var tmp756_config = table.config;
34653
+ var tmp757_playerId = item.playerId;
34654
+ var tmp758_players = table.players;
34655
+ var tmp$ret$3 = mapToDetailedFull(item_0, tmp757_playerId, tmp755_state, tmp756_config, tmp758_players, null);
34632
34656
  destination_1.e(tmp$ret$3);
34633
34657
  }
34634
34658
  tmp_0 = item.s37(VOID, VOID, VOID, VOID, VOID, item.a37_1.l3a(VOID, plus(tmp_1, destination_1)));
@@ -34641,8 +34665,8 @@
34641
34665
  tmp = destination;
34642
34666
  }
34643
34667
  var tmp0_elvis_lhs = tmp;
34644
- var tmp756_players = tmp0_elvis_lhs == null ? table.players : tmp0_elvis_lhs;
34645
- return table.copy(VOID, VOID, VOID, VOID, tmp756_players, tmp755_sceneInfo);
34668
+ var tmp760_players = tmp0_elvis_lhs == null ? table.players : tmp0_elvis_lhs;
34669
+ return table.copy(VOID, VOID, VOID, VOID, tmp760_players, tmp759_sceneInfo);
34646
34670
  }
34647
34671
  function combinationReducer(action, table) {
34648
34672
  var tmp$ret$0;
@@ -34657,7 +34681,7 @@
34657
34681
  }
34658
34682
  var combinationActData = tmp$ret$0;
34659
34683
  var player = getPlayer(table.players, combinationActData.c3i());
34660
- var tmp761_sceneInfo = table.sceneInfo.i4a(VOID, VOID, action.w4i_1, VOID, action.x4i_1);
34684
+ var tmp765_sceneInfo = table.sceneInfo.i4a(VOID, VOID, action.w4i_1, VOID, action.x4i_1);
34661
34685
  // Inline function 'kotlin.collections.filterNot' call
34662
34686
  // Inline function 'kotlin.collections.filterNotTo' call
34663
34687
  var this_1 = player.a37_1.p38_1;
@@ -34704,49 +34728,49 @@
34704
34728
  while (tmp0_iterator_1.k()) {
34705
34729
  var item = tmp0_iterator_1.l();
34706
34730
  // Inline function 'com.debertz.logic.redux.reducers.sclices.act.combinationReducer.<anonymous>' call
34707
- var tmp757_state = CombinationState_VERIFYING_getInstance();
34708
- var tmp758_config = table.config;
34709
- var tmp759_playerId = player.playerId;
34710
- var tmp760_players = table.players;
34711
- var tmp$ret$5 = mapToDetailedFull(item, tmp759_playerId, tmp757_state, tmp758_config, tmp760_players, null);
34731
+ var tmp761_state = CombinationState_VERIFYING_getInstance();
34732
+ var tmp762_config = table.config;
34733
+ var tmp763_playerId = player.playerId;
34734
+ var tmp764_players = table.players;
34735
+ var tmp$ret$5 = mapToDetailedFull(item, tmp763_playerId, tmp761_state, tmp762_config, tmp764_players, null);
34712
34736
  destination_0.e(tmp$ret$5);
34713
34737
  }
34714
- var tmp762_players = updateItem(table.players, player.s37(VOID, VOID, VOID, VOID, VOID, player.a37_1.l3a(VOID, plus(tmp_0, destination_0))), get_byIdPlayerPredicate()(player.playerId));
34715
- return table.copy(VOID, VOID, VOID, VOID, tmp762_players, tmp761_sceneInfo);
34738
+ var tmp766_players = updateItem(table.players, player.s37(VOID, VOID, VOID, VOID, VOID, player.a37_1.l3a(VOID, plus(tmp_0, destination_0))), get_byIdPlayerPredicate()(player.playerId));
34739
+ return table.copy(VOID, VOID, VOID, VOID, tmp766_players, tmp765_sceneInfo);
34716
34740
  }
34717
34741
  function MechanicLifecycleReducer() {
34718
34742
  }
34719
34743
  function BaseMechanicLifecycleReducer(tableLifecycleReducer) {
34720
- this.a4u_1 = tableLifecycleReducer;
34744
+ this.g4u_1 = tableLifecycleReducer;
34721
34745
  }
34722
- protoOf(BaseMechanicLifecycleReducer).p4t = function (state, action) {
34723
- var tmp763_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
34724
- var tmp764_tableOrNull = action.p4n_1;
34725
- var tmp765_payload = action.r4n_1;
34726
- return state.a4l(tmp764_tableOrNull, tmp765_payload, tmp763_gameLifecycleState, null);
34746
+ protoOf(BaseMechanicLifecycleReducer).v4t = function (state, action) {
34747
+ var tmp767_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
34748
+ var tmp768_tableOrNull = action.p4n_1;
34749
+ var tmp769_payload = action.r4n_1;
34750
+ return state.a4l(tmp768_tableOrNull, tmp769_payload, tmp767_gameLifecycleState, null);
34727
34751
  };
34728
- protoOf(BaseMechanicLifecycleReducer).n4t = function (state, action) {
34752
+ protoOf(BaseMechanicLifecycleReducer).t4t = function (state, action) {
34729
34753
  return state.a4l(VOID, VOID, GameLifecycleState_FINISHED_getInstance(), action.r4m_1);
34730
34754
  };
34731
- protoOf(BaseMechanicLifecycleReducer).o4t = function (state, action) {
34732
- var tmp766_gameLifecycleState = GameLifecycleState_FINISHING_getInstance();
34733
- var tmp767_terminationGameReason = action.o4m_1;
34734
- var tmp768_tableOrNull = this.a4u_1.b4u(state.e33());
34735
- return state.a4l(tmp768_tableOrNull, VOID, tmp766_gameLifecycleState, tmp767_terminationGameReason);
34755
+ protoOf(BaseMechanicLifecycleReducer).u4t = function (state, action) {
34756
+ var tmp770_gameLifecycleState = GameLifecycleState_FINISHING_getInstance();
34757
+ var tmp771_terminationGameReason = action.o4m_1;
34758
+ var tmp772_tableOrNull = this.g4u_1.h4u(state.e33());
34759
+ return state.a4l(tmp772_tableOrNull, VOID, tmp770_gameLifecycleState, tmp771_terminationGameReason);
34736
34760
  };
34737
- protoOf(BaseMechanicLifecycleReducer).m4t = function (state, action) {
34738
- return state.a4l(this.a4u_1.c4u(state.e33()));
34761
+ protoOf(BaseMechanicLifecycleReducer).s4t = function (state, action) {
34762
+ return state.a4l(this.g4u_1.i4u(state.e33()));
34739
34763
  };
34740
- protoOf(BaseMechanicLifecycleReducer).l4t = function (state, action) {
34764
+ protoOf(BaseMechanicLifecycleReducer).r4t = function (state, action) {
34741
34765
  return state.a4l(VOID, VOID, GameLifecycleState_FINISHED_getInstance(), action.n4n_1.k3q_1);
34742
34766
  };
34743
34767
  function PlayerHandReducer(pointsInteractor, playerHappinessProvider, logger, dealerConfig) {
34744
- this.d4u_1 = pointsInteractor;
34745
- this.e4u_1 = playerHappinessProvider;
34746
- this.f4u_1 = logger;
34747
- this.g4u_1 = dealerConfig;
34768
+ this.j4u_1 = pointsInteractor;
34769
+ this.k4u_1 = playerHappinessProvider;
34770
+ this.l4u_1 = logger;
34771
+ this.m4u_1 = dealerConfig;
34748
34772
  }
34749
- protoOf(PlayerHandReducer).h4u = function (playerId, hand, cards, combinations, selectedTrump, config) {
34773
+ protoOf(PlayerHandReducer).n4u = function (playerId, hand, cards, combinations, selectedTrump, config) {
34750
34774
  // Inline function 'kotlin.collections.map' call
34751
34775
  // Inline function 'kotlin.collections.mapTo' call
34752
34776
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(combinations, 10));
@@ -34754,7 +34778,7 @@
34754
34778
  while (tmp0_iterator.k()) {
34755
34779
  var item = tmp0_iterator.l();
34756
34780
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.PlayerHandReducer.playerHandReducerAddRecord.<anonymous>' call
34757
- var tmp$ret$0 = mapToRecord(item, this.d4u_1.o4h(item));
34781
+ var tmp$ret$0 = mapToRecord(item, this.j4u_1.o4h(item));
34758
34782
  destination.e(tmp$ret$0);
34759
34783
  }
34760
34784
  var combinationRecords = destination;
@@ -34789,7 +34813,7 @@
34789
34813
  if (hasStubCards) {
34790
34814
  return hand.y39(VOID, VOID, plus(hand.w37_1, combinationRecords), plus(hand.x37_1, combinationRecords));
34791
34815
  }
34792
- var tmp_0 = this.d4u_1.n4h(cards, selectedTrump, this.g4u_1.dealerStrategy);
34816
+ var tmp_0 = this.j4u_1.n4h(cards, selectedTrump, this.m4u_1.dealerStrategy);
34793
34817
  // Inline function 'kotlin.collections.map' call
34794
34818
  // Inline function 'kotlin.collections.mapTo' call
34795
34819
  var destination_0 = ArrayList_init_$Create$_0(collectionSizeOrDefault(combinationRecords, 10));
@@ -34801,11 +34825,11 @@
34801
34825
  destination_0.e(tmp$ret$5);
34802
34826
  }
34803
34827
  var value = tmp_0 + sum(destination_0);
34804
- var luckyFactor = this.e4u_1.u4c(value, config.playersMode, this.g4u_1.dealerStrategy);
34805
- Companion_instance_119.m4h(this.f4u_1, 'equaliseCards: earn points for = ' + playerId + ' ' + ('luckyFactor: ' + luckyFactor + ', ') + ('currentLuckyFactor: ' + hand.k38() + ', ') + ('value: ' + value + ', ') + ('combinations: ' + combinations.m() + ', '));
34828
+ var luckyFactor = this.k4u_1.u4c(value, config.playersMode, this.m4u_1.dealerStrategy);
34829
+ Companion_instance_119.m4h(this.l4u_1, 'equaliseCards: earn points for = ' + playerId + ' ' + ('luckyFactor: ' + luckyFactor + ', ') + ('currentLuckyFactor: ' + hand.k38() + ', ') + ('value: ' + value + ', ') + ('combinations: ' + combinations.m() + ', '));
34806
34830
  return hand.y39(VOID, plus(hand.v37_1, listOf_0(Companion_instance_11.j39(luckyFactor, value))), plus(hand.w37_1, combinationRecords), plus(hand.x37_1, combinationRecords));
34807
34831
  };
34808
- protoOf(PlayerHandReducer).i4u = function (playerId, hand, updatedCombinations, config) {
34832
+ protoOf(PlayerHandReducer).o4u = function (playerId, hand, updatedCombinations, config) {
34809
34833
  // Inline function 'kotlin.collections.map' call
34810
34834
  // Inline function 'kotlin.collections.mapTo' call
34811
34835
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(updatedCombinations, 10));
@@ -34813,7 +34837,7 @@
34813
34837
  while (tmp0_iterator.k()) {
34814
34838
  var item = tmp0_iterator.l();
34815
34839
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.PlayerHandReducer.playerHandReducerUpdatedRecord.<anonymous>' call
34816
- var tmp$ret$0 = mapToRecord(item, this.d4u_1.o4h(item));
34840
+ var tmp$ret$0 = mapToRecord(item, this.j4u_1.o4h(item));
34817
34841
  destination.e(tmp$ret$0);
34818
34842
  }
34819
34843
  var updatedCombinationRecords = destination;
@@ -34956,8 +34980,8 @@
34956
34980
  destination_4.e(tmp$ret$21);
34957
34981
  }
34958
34982
  var updatedValue = tmp_3 + sum(destination_4);
34959
- var updatedLuckyFactor = this.e4u_1.u4c(updatedValue, config.playersMode, this.g4u_1.dealerStrategy);
34960
- Companion_instance_119.m4h(this.f4u_1, 'playerHand: update combinations value for = ' + playerId + ' ' + ('luckyFactor: ' + updatedLuckyFactor + ', ') + ('currentLuckyFactor: ' + hand.k38() + ', ') + ('value: ' + updatedValue + ', '));
34983
+ var updatedLuckyFactor = this.k4u_1.u4c(updatedValue, config.playersMode, this.m4u_1.dealerStrategy);
34984
+ Companion_instance_119.m4h(this.l4u_1, 'playerHand: update combinations value for = ' + playerId + ' ' + ('luckyFactor: ' + updatedLuckyFactor + ', ') + ('currentLuckyFactor: ' + hand.k38() + ', ') + ('value: ' + updatedValue + ', '));
34961
34985
  // Inline function 'kotlin.collections.map' call
34962
34986
  var this_3 = hand.v37_1;
34963
34987
  // Inline function 'kotlin.collections.mapTo' call
@@ -35051,7 +35075,7 @@
35051
35075
  protoOf(PlayerSceneReducer).c4k = function (player, cards, whoShuffleCardsPlayerId) {
35052
35076
  return player.s37(VOID, VOID, cards, player.y36_1.j3a(VOID, VOID, VOID, player.playerId === whoShuffleCardsPlayerId));
35053
35077
  };
35054
- protoOf(PlayerSceneReducer).j4u = function (player, distributedCards, combinations, config, players, selectedTrump) {
35078
+ protoOf(PlayerSceneReducer).p4u = function (player, distributedCards, combinations, config, players, selectedTrump) {
35055
35079
  // Inline function 'kotlin.collections.map' call
35056
35080
  // Inline function 'kotlin.collections.mapTo' call
35057
35081
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(combinations, 10));
@@ -35059,14 +35083,14 @@
35059
35083
  while (tmp0_iterator.k()) {
35060
35084
  var item = tmp0_iterator.l();
35061
35085
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.PlayerSceneReducer.playerEarnPointsSceneReducer.<anonymous>' call
35062
- var tmp769_state = CombinationState_NOT_VERIFIED_getInstance();
35063
- var tmp770_playerId = player.playerId;
35064
- var tmp$ret$0 = mapToDetailedFull(item, tmp770_playerId, tmp769_state, config, players, null);
35086
+ var tmp773_state = CombinationState_NOT_VERIFIED_getInstance();
35087
+ var tmp774_playerId = player.playerId;
35088
+ var tmp$ret$0 = mapToDetailedFull(item, tmp774_playerId, tmp773_state, config, players, null);
35065
35089
  destination.e(tmp$ret$0);
35066
35090
  }
35067
35091
  var detailedCombinations = destination;
35068
35092
  var cards = plus(player.x36_1, distributedCards);
35069
- var hand = this.b4k_1.h4u(player.playerId, player.z36_1, cards, detailedCombinations, selectedTrump, config);
35093
+ var hand = this.b4k_1.n4u(player.playerId, player.z36_1, cards, detailedCombinations, selectedTrump, config);
35070
35094
  var tmp;
35071
35095
  // Inline function 'kotlin.collections.isNotEmpty' call
35072
35096
  if (!combinations.p()) {
@@ -35110,10 +35134,10 @@
35110
35134
  } else {
35111
35135
  tmp = player.a37_1;
35112
35136
  }
35113
- var tmp771_points = tmp;
35114
- return player.s37(VOID, VOID, cards, VOID, hand, tmp771_points);
35137
+ var tmp775_points = tmp;
35138
+ return player.s37(VOID, VOID, cards, VOID, hand, tmp775_points);
35115
35139
  };
35116
- protoOf(PlayerSceneReducer).k4u = function (player, sceneData) {
35140
+ protoOf(PlayerSceneReducer).q4u = function (player, sceneData) {
35117
35141
  // Inline function 'kotlin.collections.single' call
35118
35142
  var single = null;
35119
35143
  var found = false;
@@ -35132,26 +35156,26 @@
35132
35156
  throw NoSuchElementException_init_$Create$('Collection contains no element matching the predicate.');
35133
35157
  var pointsCell = (single == null ? true : !(single == null)) ? single : THROW_CCE();
35134
35158
  var playerPointsCell = getPlayer(pointsCell.w3b_1, player.playerId);
35135
- var tmp773_$this = player.y36_1;
35136
- var tmp774_isEarnedBiggestPointInLastGame = sceneData.v3i_1 === player.playerId;
35137
- var tmp775_isRoundWinner = sceneData.w3i_1.q1(player.playerId);
35138
- var tmp772_safe_receiver = sceneData.x3i_1;
35139
- var tmp0_elvis_lhs = tmp772_safe_receiver == null ? null : tmp772_safe_receiver.q1(player.playerId);
35140
- var tmp776_isGameWinner = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
35141
- var tmp777_failedContractsCount = pointsCell.x3b_1.isFailed ? player.y36_1.l37_1 + 1 | 0 : player.y36_1.l37_1;
35142
- var tmp = tmp773_$this.j3a(VOID, VOID, tmp776_isGameWinner, VOID, tmp775_isRoundWinner, VOID, tmp774_isEarnedBiggestPointInLastGame, tmp777_failedContractsCount);
35143
- var tmp778_earnedPoints = playerPointsCell.e3c_1;
35144
- var tmp779_earnedCards = emptyList();
35159
+ var tmp777_$this = player.y36_1;
35160
+ var tmp778_isEarnedBiggestPointInLastGame = sceneData.v3i_1 === player.playerId;
35161
+ var tmp779_isRoundWinner = sceneData.w3i_1.q1(player.playerId);
35162
+ var tmp776_safe_receiver = sceneData.x3i_1;
35163
+ var tmp0_elvis_lhs = tmp776_safe_receiver == null ? null : tmp776_safe_receiver.q1(player.playerId);
35164
+ var tmp780_isGameWinner = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
35165
+ var tmp781_failedContractsCount = pointsCell.x3b_1.isFailed ? player.y36_1.l37_1 + 1 | 0 : player.y36_1.l37_1;
35166
+ var tmp = tmp777_$this.j3a(VOID, VOID, tmp780_isGameWinner, VOID, tmp779_isRoundWinner, VOID, tmp778_isEarnedBiggestPointInLastGame, tmp781_failedContractsCount);
35167
+ var tmp782_earnedPoints = playerPointsCell.e3c_1;
35168
+ var tmp783_earnedCards = emptyList();
35145
35169
  // Inline function 'kotlin.collections.orEmpty' call
35146
35170
  var tmp0_elvis_lhs_0 = playerPointsCell.f3c_1;
35147
- var tmp780_combinations = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
35148
- return player.s37(VOID, VOID, VOID, tmp, VOID, new PlayerPoints(tmp778_earnedPoints, tmp780_combinations, tmp779_earnedCards));
35171
+ var tmp784_combinations = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
35172
+ return player.s37(VOID, VOID, VOID, tmp, VOID, new PlayerPoints(tmp782_earnedPoints, tmp784_combinations, tmp783_earnedCards));
35149
35173
  };
35150
35174
  function PlayerTurnMechanicReducer(logger) {
35151
- this.g4s_1 = logger;
35175
+ this.m4s_1 = logger;
35152
35176
  }
35153
- protoOf(PlayerTurnMechanicReducer).l4u = function (table, model) {
35154
- this.g4s_1.d('PlayerTurn', 'onPlayerTurn: ' + model.toString());
35177
+ protoOf(PlayerTurnMechanicReducer).r4u = function (table, model) {
35178
+ this.m4s_1.d('PlayerTurn', 'onPlayerTurn: ' + model.toString());
35155
35179
  // Inline function 'com.logic.utils.copy' call
35156
35180
  var this_0 = table.players;
35157
35181
  // Inline function 'kotlin.apply' call
@@ -35165,7 +35189,7 @@
35165
35189
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.PlayerTurnMechanicReducer.onPlayerTurn.<anonymous>.<anonymous>' call
35166
35190
  var player = getPlayer(table.players, element);
35167
35191
  if (!(player.w36_1.k2q_1 == null)) {
35168
- this.g4s_1.w(VOID, 'PlayerTurnMechanicReducer.onPlayerTurn: already ' + ('has a tag: ' + player.w36_1.k2q_1) + (', new tag: ' + model.d39_1));
35192
+ this.m4s_1.w(VOID, 'PlayerTurnMechanicReducer.onPlayerTurn: already ' + ('has a tag: ' + player.w36_1.k2q_1) + (', new tag: ' + model.d39_1));
35169
35193
  }
35170
35194
  var tmp = Companion_instance_0;
35171
35195
  var tmp_0 = System_instance.p2i();
@@ -35178,19 +35202,19 @@
35178
35202
  }
35179
35203
  return table.copy(VOID, VOID, VOID, VOID, this_1);
35180
35204
  };
35181
- protoOf(PlayerTurnMechanicReducer).m4u = function (table, model) {
35205
+ protoOf(PlayerTurnMechanicReducer).s4u = function (table, model) {
35182
35206
  var player = getPlayer(table.players, model.t2o());
35183
35207
  if (player.w36_1.k2q_1 == null) {
35184
- this.g4s_1.w(VOID, 'PlayerTurnMechanicReducer.onResetPlayerTurn: has no tag' + (', tag: ' + model.d39_1));
35208
+ this.m4s_1.w(VOID, 'PlayerTurnMechanicReducer.onResetPlayerTurn: has no tag' + (', tag: ' + model.d39_1));
35185
35209
  }
35186
- this.g4s_1.d('PlayerTurn', 'onResetPlayerTurn: ' + model.toString());
35210
+ this.m4s_1.d('PlayerTurn', 'onResetPlayerTurn: ' + model.toString());
35187
35211
  return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.s37(VOID, Companion_instance_0.t2r(player.w36_1)), get_byIdPlayerPredicate()(player.playerId)));
35188
35212
  };
35189
- protoOf(PlayerTurnMechanicReducer).i4s = function (table, action) {
35213
+ protoOf(PlayerTurnMechanicReducer).o4s = function (table, action) {
35190
35214
  var player = getPlayer(table.players, action.t4n_1);
35191
35215
  return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.s37(VOID, player.w36_1.u2r(VOID, VOID, VOID, VOID, true)), get_byIdPlayerPredicate()(player.playerId)));
35192
35216
  };
35193
- protoOf(PlayerTurnMechanicReducer).n4u = function (table) {
35217
+ protoOf(PlayerTurnMechanicReducer).t4u = function (table) {
35194
35218
  // Inline function 'kotlin.collections.map' call
35195
35219
  var this_0 = table.players;
35196
35220
  // Inline function 'kotlin.collections.mapTo' call
@@ -35204,16 +35228,16 @@
35204
35228
  }
35205
35229
  return table.copy(VOID, VOID, VOID, VOID, destination);
35206
35230
  };
35207
- protoOf(PlayerTurnMechanicReducer).h4s = function (table, playerId, newConnectionState, reconnectUntilTime) {
35231
+ protoOf(PlayerTurnMechanicReducer).n4s = function (table, playerId, newConnectionState, reconnectUntilTime) {
35208
35232
  var players = table.players;
35209
35233
  var player = getPlayer(players, playerId);
35210
- this.g4s_1.d(VOID, 'PlayerTurnMechanicReducer.onPlayerConnectionChanged: ' + newConnectionState.toString() + ', playerId: ' + playerId + ', state: ' + player.w36_1.toString());
35234
+ this.m4s_1.d(VOID, 'PlayerTurnMechanicReducer.onPlayerConnectionChanged: ' + newConnectionState.toString() + ', playerId: ' + playerId + ', state: ' + player.w36_1.toString());
35211
35235
  var reconnectUntilTimeInstant = reconnectUntilTime == null ? null : toInstant(reconnectUntilTime);
35212
35236
  var tmp;
35213
35237
  if (newConnectionState.n2_1 === 0) {
35214
- var tmp784_$this = player.w36_1;
35215
- var tmp783_safe_receiver = player.w36_1.l2q_1;
35216
- var tmp785_connection = tmp783_safe_receiver == null ? null : Companion_instance_1.o2q(tmp783_safe_receiver);
35238
+ var tmp788_$this = player.w36_1;
35239
+ var tmp787_safe_receiver = player.w36_1.l2q_1;
35240
+ var tmp789_connection = tmp787_safe_receiver == null ? null : Companion_instance_1.o2q(tmp787_safe_receiver);
35217
35241
  var tmp_0;
35218
35242
  if (player.w36_1.m2q()) {
35219
35243
  var tmp_1 = System_instance.p2i();
@@ -35225,13 +35249,13 @@
35225
35249
  } else {
35226
35250
  tmp_0 = player.w36_1.g2q_1;
35227
35251
  }
35228
- var tmp786_playerTurnTimeout = tmp_0;
35229
- tmp = tmp784_$this.u2r(VOID, tmp786_playerTurnTimeout, reconnectUntilTimeInstant, VOID, VOID, VOID, tmp785_connection);
35252
+ var tmp790_playerTurnTimeout = tmp_0;
35253
+ tmp = tmp788_$this.u2r(VOID, tmp790_playerTurnTimeout, reconnectUntilTimeInstant, VOID, VOID, VOID, tmp789_connection);
35230
35254
  } else {
35231
- var tmp788_$this = player.w36_1;
35232
- var tmp787_safe_receiver = player.w36_1.l2q_1;
35233
- var tmp789_connection = tmp787_safe_receiver == null ? null : Companion_instance_1.u2q(tmp787_safe_receiver, newConnectionState);
35234
- tmp = tmp788_$this.u2r(VOID, VOID, reconnectUntilTimeInstant, VOID, VOID, VOID, tmp789_connection);
35255
+ var tmp792_$this = player.w36_1;
35256
+ var tmp791_safe_receiver = player.w36_1.l2q_1;
35257
+ var tmp793_connection = tmp791_safe_receiver == null ? null : Companion_instance_1.u2q(tmp791_safe_receiver, newConnectionState);
35258
+ tmp = tmp792_$this.u2r(VOID, VOID, reconnectUntilTimeInstant, VOID, VOID, VOID, tmp793_connection);
35235
35259
  }
35236
35260
  return table.copy(VOID, VOID, VOID, VOID, updateItem(players, player.s37(VOID, tmp), get_byIdPlayerPredicate()(player.playerId)));
35237
35261
  };
@@ -35267,16 +35291,16 @@
35267
35291
  while (tmp0_iterator.k()) {
35268
35292
  var item = tmp0_iterator.l();
35269
35293
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
35270
- var tmp$ret$1 = $this.k4s_1.c4k(item, getValue(scene.d3j_1, item.playerId), scene.g3j_1);
35294
+ var tmp$ret$1 = $this.q4s_1.c4k(item, getValue(scene.d3j_1, item.playerId), scene.g3j_1);
35271
35295
  destination.e(tmp$ret$1);
35272
35296
  }
35273
35297
 
35274
- var tmp791_$this = $this.n4s_1;
35275
- var tmp792_gameHistory = table.gameHistory;
35276
- var tmp793_playersCards = scene.d3j_1;
35277
- var tmp794_whoShuffleCardsPlayerId = scene.g3j_1;
35278
- var tmp796_gameHistory = tmp791_$this.p4u(cardDeck, tmp794_whoShuffleCardsPlayerId, tmp793_playersCards, tmp792_gameHistory);
35279
- return table.copy(VOID, VOID, VOID, VOID, destination, sceneInfo, VOID, VOID, cardDeck, VOID, tmp796_gameHistory);
35298
+ var tmp795_$this = $this.t4s_1;
35299
+ var tmp796_gameHistory = table.gameHistory;
35300
+ var tmp797_playersCards = scene.d3j_1;
35301
+ var tmp798_whoShuffleCardsPlayerId = scene.g3j_1;
35302
+ var tmp800_gameHistory = tmp795_$this.v4u(cardDeck, tmp798_whoShuffleCardsPlayerId, tmp797_playersCards, tmp796_gameHistory);
35303
+ return table.copy(VOID, VOID, VOID, VOID, destination, sceneInfo, VOID, VOID, cardDeck, VOID, tmp800_gameHistory);
35280
35304
  case 'EARN_POINTS':
35281
35305
  var tmp$ret$4;
35282
35306
  $l$block_0: {
@@ -35316,14 +35340,14 @@
35316
35340
 
35317
35341
  var it = flatten(destination_0);
35318
35342
  var tmp_0;
35319
- if ($this.p4s_1.s4d(config)) {
35320
- tmp_0 = $this.o4s_1.z2m(it, cardDeck_0.y46_1);
35343
+ if ($this.v4s_1.s4d(config)) {
35344
+ tmp_0 = $this.u4s_1.z2m(it, cardDeck_0.y46_1);
35321
35345
  } else {
35322
35346
  tmp_0 = it;
35323
35347
  }
35324
35348
 
35325
35349
  var playersCards = tmp_0;
35326
- var cards = $this.o4s_1.y2m(cardDeck_0.x46_1, plus(playersCards, listOfNotNull(scene_0.j3j_1)));
35350
+ var cards = $this.u4s_1.y2m(cardDeck_0.x46_1, plus(playersCards, listOfNotNull(scene_0.j3j_1)));
35327
35351
  var newCardDeck = cardDeck_0.k47(cards, VOID, scene_0.j3j_1);
35328
35352
  // Inline function 'kotlin.collections.map' call
35329
35353
 
@@ -35334,21 +35358,21 @@
35334
35358
  while (tmp0_iterator_1.k()) {
35335
35359
  var item_1 = tmp0_iterator_1.l();
35336
35360
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
35337
- var tmp798_$this = $this.k4s_1;
35338
- var tmp799_distributedCards = getValue(scene_0.h3j_1, item_1.playerId);
35339
- var tmp797_safe_receiver = scene_0.i3j_1;
35340
- var tmp0_elvis_lhs = tmp797_safe_receiver == null ? null : tmp797_safe_receiver.h2(item_1.playerId);
35341
- var tmp800_combinations = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
35342
- var tmp801_selectedTrump = table.gameInfo.u46_1.y49();
35343
- var tmp$ret$11 = tmp798_$this.j4u(item_1, tmp799_distributedCards, tmp800_combinations, config, players, tmp801_selectedTrump);
35361
+ var tmp802_$this = $this.q4s_1;
35362
+ var tmp803_distributedCards = getValue(scene_0.h3j_1, item_1.playerId);
35363
+ var tmp801_safe_receiver = scene_0.i3j_1;
35364
+ var tmp0_elvis_lhs = tmp801_safe_receiver == null ? null : tmp801_safe_receiver.h2(item_1.playerId);
35365
+ var tmp804_combinations = tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
35366
+ var tmp805_selectedTrump = table.gameInfo.u46_1.y49();
35367
+ var tmp$ret$11 = tmp802_$this.p4u(item_1, tmp803_distributedCards, tmp804_combinations, config, players, tmp805_selectedTrump);
35344
35368
  destination_1.e(tmp$ret$11);
35345
35369
  }
35346
35370
 
35347
- var tmp802_$this = $this.n4s_1;
35348
- var tmp803_gameHistory = table.gameHistory;
35349
- var tmp804_playersCards = scene_0.h3j_1;
35350
- var tmp806_gameHistory = tmp802_$this.q4u(tmp804_playersCards, tmp803_gameHistory);
35351
- return table.copy(VOID, VOID, VOID, VOID, destination_1, sceneInfo, VOID, VOID, newCardDeck, VOID, tmp806_gameHistory);
35371
+ var tmp806_$this = $this.t4s_1;
35372
+ var tmp807_gameHistory = table.gameHistory;
35373
+ var tmp808_playersCards = scene_0.h3j_1;
35374
+ var tmp810_gameHistory = tmp806_$this.w4u(tmp808_playersCards, tmp807_gameHistory);
35375
+ return table.copy(VOID, VOID, VOID, VOID, destination_1, sceneInfo, VOID, VOID, newCardDeck, VOID, tmp810_gameHistory);
35352
35376
  case 'CALC_POINTS':
35353
35377
  var tmp$ret$14;
35354
35378
  $l$block_1: {
@@ -35371,15 +35395,15 @@
35371
35395
  while (tmp0_iterator_2.k()) {
35372
35396
  var item_2 = tmp0_iterator_2.l();
35373
35397
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onCurrentScene.<anonymous>' call
35374
- var tmp$ret$15 = $this.k4s_1.k4u(item_2, scene_1);
35398
+ var tmp$ret$15 = $this.q4s_1.q4u(item_2, scene_1);
35375
35399
  destination_2.e(tmp$ret$15);
35376
35400
  }
35377
35401
 
35378
- var tmp807_$this = $this.n4s_1;
35379
- var tmp808_gameHistory = table.gameHistory;
35380
- var tmp809_points = scene_1.z3i_1;
35381
- var tmp811_gameHistory = tmp807_$this.r4u(tmp809_points, tmp808_gameHistory);
35382
- return table.copy(VOID, VOID, VOID, VOID, destination_2, sceneInfo, VOID, VOID, VOID, VOID, tmp811_gameHistory);
35402
+ var tmp811_$this = $this.t4s_1;
35403
+ var tmp812_gameHistory = table.gameHistory;
35404
+ var tmp813_points = scene_1.z3i_1;
35405
+ var tmp815_gameHistory = tmp811_$this.x4u(tmp813_points, tmp812_gameHistory);
35406
+ return table.copy(VOID, VOID, VOID, VOID, destination_2, sceneInfo, VOID, VOID, VOID, VOID, tmp815_gameHistory);
35383
35407
  default:
35384
35408
  throw new MechanicException("Can't support this scene " + action.toString());
35385
35409
  }
@@ -35393,8 +35417,8 @@
35393
35417
  // Inline function 'kotlin.let' call
35394
35418
  // Inline function 'kotlin.contracts.contract' call
35395
35419
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.SceneReducer.onPreviousScene.<anonymous>' call
35396
- var tableUpdated = $this.l4s_1.n4u(table);
35397
- tmp_0 = $this.m4s_1.s4u(tableUpdated);
35420
+ var tableUpdated = $this.r4s_1.t4u(table);
35421
+ tmp_0 = $this.s4s_1.y4u(tableUpdated);
35398
35422
  } else {
35399
35423
  tmp_0 = table;
35400
35424
  }
@@ -35405,14 +35429,14 @@
35405
35429
  return tmp;
35406
35430
  }
35407
35431
  function SceneReducer(playerSceneReducer, playerTurnMechanicReducer, tableLifecycleReducer, gameHistoryReducer, dealerReducer, gameParamsProvider) {
35408
- this.k4s_1 = playerSceneReducer;
35409
- this.l4s_1 = playerTurnMechanicReducer;
35410
- this.m4s_1 = tableLifecycleReducer;
35411
- this.n4s_1 = gameHistoryReducer;
35412
- this.o4s_1 = dealerReducer;
35413
- this.p4s_1 = gameParamsProvider;
35414
- }
35415
- protoOf(SceneReducer).q4s = function (table, action) {
35432
+ this.q4s_1 = playerSceneReducer;
35433
+ this.r4s_1 = playerTurnMechanicReducer;
35434
+ this.s4s_1 = tableLifecycleReducer;
35435
+ this.t4s_1 = gameHistoryReducer;
35436
+ this.u4s_1 = dealerReducer;
35437
+ this.v4s_1 = gameParamsProvider;
35438
+ }
35439
+ protoOf(SceneReducer).w4s = function (table, action) {
35416
35440
  var previousSceneId = table.sceneInfo.c4a_1;
35417
35441
  if (!(previousSceneId === 'WAITING') && equals(table.sceneInfo.f4a_1, action.sceneData)) {
35418
35442
  throw new MechanicException('Payload was set twice');
@@ -35421,7 +35445,7 @@
35421
35445
  };
35422
35446
  function TeamsMechanicReducer() {
35423
35447
  }
35424
- protoOf(TeamsMechanicReducer).k4t = function (players, action) {
35448
+ protoOf(TeamsMechanicReducer).q4t = function (players, action) {
35425
35449
  // Inline function 'kotlin.collections.map' call
35426
35450
  var this_0 = action.e4n_1.a2s_1;
35427
35451
  // Inline function 'kotlin.collections.mapTo' call
@@ -35464,10 +35488,10 @@
35464
35488
  return destination_1;
35465
35489
  };
35466
35490
  function TradeMechanicReducer(logger, gameHistoryReducer) {
35467
- this.g4t_1 = logger;
35468
- this.h4t_1 = gameHistoryReducer;
35491
+ this.m4t_1 = logger;
35492
+ this.n4t_1 = gameHistoryReducer;
35469
35493
  }
35470
- protoOf(TradeMechanicReducer).j4t = function (state, action) {
35494
+ protoOf(TradeMechanicReducer).p4t = function (state, action) {
35471
35495
  var table = state.e33();
35472
35496
  // Inline function 'kotlin.with' call
35473
35497
  // Inline function 'kotlin.contracts.contract' call
@@ -35478,7 +35502,7 @@
35478
35502
  var it = player.y36_1.h3a();
35479
35503
  var tmp;
35480
35504
  if (it == null) {
35481
- this.g4t_1.w(VOID, "Can't support this circle increment");
35505
+ this.m4t_1.w(VOID, "Can't support this circle increment");
35482
35506
  tmp = player.y36_1.o37_1;
35483
35507
  } else {
35484
35508
  tmp = it;
@@ -35500,11 +35524,11 @@
35500
35524
  var tmp$ret$2 = item.s37(VOID, VOID, VOID, item.y36_1.j3a(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, isPlayerChoseSuit ? newNumberOfCircle : player.y36_1.o37_1, isPlayerChoseSuit, isPlayerChoseSuit));
35501
35525
  destination.e(tmp$ret$2);
35502
35526
  }
35503
- tmp_0 = state.a4l(table.copy(VOID, VOID, VOID, VOID, destination, VOID, VOID, VOID, VOID, VOID, this.h4t_1.t4u(player.playerId, action.k4j_1, newNumberOfCircle, table.gameHistory)));
35527
+ tmp_0 = state.a4l(table.copy(VOID, VOID, VOID, VOID, destination, VOID, VOID, VOID, VOID, VOID, this.n4t_1.z4u(player.playerId, action.k4j_1, newNumberOfCircle, table.gameHistory)));
35504
35528
  }
35505
35529
  return tmp_0;
35506
35530
  };
35507
- protoOf(TradeMechanicReducer).i4t = function (state, action) {
35531
+ protoOf(TradeMechanicReducer).o4t = function (state, action) {
35508
35532
  var table = state.e33();
35509
35533
  // Inline function 'kotlin.collections.map' call
35510
35534
  var this_0 = table.players;
@@ -35539,8 +35563,8 @@
35539
35563
  while (tmp0_iterator_0.k()) {
35540
35564
  var item = tmp0_iterator_0.l();
35541
35565
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.logic.CombinationsMechanicReducer.rebuildPlayerCombinationsWithNewState.<anonymous>' call
35542
- var tmp813_playerId = player.playerId;
35543
- var tmp$ret$2 = mapToDetailedFull(item, tmp813_playerId, state, config, players, null);
35566
+ var tmp817_playerId = player.playerId;
35567
+ var tmp$ret$2 = mapToDetailedFull(item, tmp817_playerId, state, config, players, null);
35544
35568
  destination_0.e(tmp$ret$2);
35545
35569
  }
35546
35570
  return plus(tmp, destination_0);
@@ -35586,13 +35610,13 @@
35586
35610
  };
35587
35611
  }
35588
35612
  function CombinationsMechanicReducer(teamsLogicProvider, combinationsInteractor, dealerReducer, playerHandReducer, gameHistoryReducer) {
35589
- this.r4s_1 = teamsLogicProvider;
35590
- this.s4s_1 = combinationsInteractor;
35591
- this.t4s_1 = dealerReducer;
35592
- this.u4s_1 = playerHandReducer;
35593
- this.v4s_1 = gameHistoryReducer;
35613
+ this.x4s_1 = teamsLogicProvider;
35614
+ this.y4s_1 = combinationsInteractor;
35615
+ this.z4s_1 = dealerReducer;
35616
+ this.a4t_1 = playerHandReducer;
35617
+ this.b4t_1 = gameHistoryReducer;
35594
35618
  }
35595
- protoOf(CombinationsMechanicReducer).u4u = function (whoGotBribePlayerId, playerCombinations, players, config) {
35619
+ protoOf(CombinationsMechanicReducer).a4v = function (whoGotBribePlayerId, playerCombinations, players, config) {
35596
35620
  var bellaCombination = first(playerCombinations.k48_1);
35597
35621
  var player = getPlayer(players, playerCombinations.j48_1);
35598
35622
  if (bellaCombination.k3b_1.equals(CombinationState_NOT_ACCEPTED_getInstance())) {
@@ -35601,7 +35625,7 @@
35601
35625
  var tmp;
35602
35626
  if (config.rules.protectBella) {
35603
35627
  var playerWithBellaGotBribe = player.playerId === whoGotBribePlayerId;
35604
- var partnerGotBribe = config.playersMode.isTeamGame && this.r4s_1.j4c(player.playerId, players).playerId === whoGotBribePlayerId;
35628
+ var partnerGotBribe = config.playersMode.isTeamGame && this.x4s_1.j4c(player.playerId, players).playerId === whoGotBribePlayerId;
35605
35629
  var tmp_0;
35606
35630
  if (playerWithBellaGotBribe || partnerGotBribe) {
35607
35631
  tmp_0 = bellaCombination.t3b(VOID, VOID, CombinationState_ACCEPTED_getInstance());
@@ -35615,7 +35639,7 @@
35615
35639
  return tmp;
35616
35640
  }
35617
35641
  };
35618
- protoOf(CombinationsMechanicReducer).w4s = function (state, action) {
35642
+ protoOf(CombinationsMechanicReducer).c4t = function (state, action) {
35619
35643
  var table = state.e33();
35620
35644
  var players = table.players;
35621
35645
  var config = table.config;
@@ -35647,7 +35671,7 @@
35647
35671
  // Inline function 'kotlin.collections.associate' call
35648
35672
  // Inline function 'kotlin.collections.filterNot' call
35649
35673
  // Inline function 'kotlin.collections.filterNotTo' call
35650
- var this_2 = this.s4s_1.q4f(players);
35674
+ var this_2 = this.y4s_1.q4f(players);
35651
35675
  var destination_1 = ArrayList_init_$Create$();
35652
35676
  var tmp0_iterator_1 = this_2.j();
35653
35677
  while (tmp0_iterator_1.k()) {
@@ -35696,10 +35720,10 @@
35696
35720
  var tmp0_elvis_lhs_0 = rejectedPlayersCombinations.h2(item_1.playerId);
35697
35721
  var tmp$ret$16 = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
35698
35722
  var combinations = plus(tmp_0, tmp$ret$16);
35699
- var tmp814_$this = this.u4s_1;
35700
- var tmp815_playerId = item_1.playerId;
35701
- var tmp816_hand = item_1.z36_1;
35702
- var tmp_1 = tmp814_$this.i4u(tmp815_playerId, tmp816_hand, combinations, config);
35723
+ var tmp818_$this = this.a4t_1;
35724
+ var tmp819_playerId = item_1.playerId;
35725
+ var tmp820_hand = item_1.z36_1;
35726
+ var tmp_1 = tmp818_$this.o4u(tmp819_playerId, tmp820_hand, combinations, config);
35703
35727
  // Inline function 'kotlin.collections.filterNot' call
35704
35728
  // Inline function 'kotlin.collections.filterNotTo' call
35705
35729
  var this_4 = item_1.a37_1.p38_1;
@@ -35743,23 +35767,23 @@
35743
35767
  var tmp$ret$21 = tmp;
35744
35768
  destination_4.e(tmp$ret$21);
35745
35769
  }
35746
- return state.a4l(table.copy(VOID, VOID, VOID, VOID, destination_4, VOID, VOID, VOID, VOID, VOID, this.v4s_1.v4u(action.m4n_1, table.gameHistory)));
35770
+ return state.a4l(table.copy(VOID, VOID, VOID, VOID, destination_4, VOID, VOID, VOID, VOID, VOID, this.b4t_1.b4v(action.m4n_1, table.gameHistory)));
35747
35771
  };
35748
- protoOf(CombinationsMechanicReducer).f4t = function (state, action) {
35772
+ protoOf(CombinationsMechanicReducer).l4t = function (state, action) {
35749
35773
  var table = state.e33();
35750
35774
  var playerWithCombination = getPlayer(table.players, action.i4n_1);
35751
- var tmp817_state = action.j4n_1 ? CombinationState_ACCEPTED_getInstance() : CombinationState_NOT_ACCEPTED_getInstance();
35752
- var tmp818_players = table.players;
35753
- var tmp819_combinations = action.k4n_1;
35754
- var tmp820_config = table.config;
35755
- var newPoints = playerWithCombination.a37_1.l3a(VOID, rebuildPlayerCombinationsWithNewState$default(this, tmp817_state, tmp819_combinations, playerWithCombination, tmp818_players, tmp820_config));
35775
+ var tmp821_state = action.j4n_1 ? CombinationState_ACCEPTED_getInstance() : CombinationState_NOT_ACCEPTED_getInstance();
35776
+ var tmp822_players = table.players;
35777
+ var tmp823_combinations = action.k4n_1;
35778
+ var tmp824_config = table.config;
35779
+ var newPoints = playerWithCombination.a37_1.l3a(VOID, rebuildPlayerCombinationsWithNewState$default(this, tmp821_state, tmp823_combinations, playerWithCombination, tmp822_players, tmp824_config));
35756
35780
  var announcedCombination = getCombination(newPoints.p38_1, single(action.k4n_1).z3h_1);
35757
35781
  if (announcedCombination.k3b_1.equals(CombinationState_ACCEPTED_getInstance())) {
35758
35782
  switch (announcedCombination.j3b_1.n2_1) {
35759
35783
  case 4:
35760
35784
  var trumpSevenCard = single(announcedCombination.m47());
35761
35785
  var trumpCard = table.requireCardDeck.y46_1;
35762
- var tmp823_cardDeck = table.requireCardDeck.k47(VOID, trumpSevenCard);
35786
+ var tmp827_cardDeck = table.requireCardDeck.k47(VOID, trumpSevenCard);
35763
35787
  // Inline function 'kotlin.let' call
35764
35788
 
35765
35789
  // Inline function 'kotlin.contracts.contract' call
@@ -35767,13 +35791,13 @@
35767
35791
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.logic.CombinationsMechanicReducer.onCombinationChoice.<anonymous>' call
35768
35792
 
35769
35793
  var cards = playerWithCombination.x36_1;
35770
- var newCards = this.t4s_1.z2m(cards, trumpSevenCard);
35771
- var tmp822_cards = this.t4s_1.a2n(newCards, trumpCard);
35772
- var tmp824_players = updateItem(table.players, playerWithCombination.s37(VOID, VOID, tmp822_cards, VOID, VOID, newPoints), get_byIdPlayerPredicate()(playerWithCombination.playerId));
35773
- var tmp825_gameHistory = this.v4s_1.w4u(playerWithCombination.playerId, listOf_0(announcedCombination.j3b_1), table.gameHistory);
35774
- return state.a4l(table.copy(VOID, VOID, VOID, VOID, tmp824_players, VOID, VOID, VOID, tmp823_cardDeck, VOID, tmp825_gameHistory));
35794
+ var newCards = this.z4s_1.z2m(cards, trumpSevenCard);
35795
+ var tmp826_cards = this.z4s_1.a2n(newCards, trumpCard);
35796
+ var tmp828_players = updateItem(table.players, playerWithCombination.s37(VOID, VOID, tmp826_cards, VOID, VOID, newPoints), get_byIdPlayerPredicate()(playerWithCombination.playerId));
35797
+ var tmp829_gameHistory = this.b4t_1.c4v(playerWithCombination.playerId, listOf_0(announcedCombination.j3b_1), table.gameHistory);
35798
+ return state.a4l(table.copy(VOID, VOID, VOID, VOID, tmp828_players, VOID, VOID, VOID, tmp827_cardDeck, VOID, tmp829_gameHistory));
35775
35799
  case 5:
35776
- return state.a4l(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, playerWithCombination.s37(VOID, VOID, VOID, VOID, VOID, newPoints), get_byIdPlayerPredicate()(playerWithCombination.playerId)), VOID, VOID, VOID, VOID, VOID, this.v4s_1.w4u(playerWithCombination.playerId, listOf_0(announcedCombination.j3b_1), table.gameHistory)));
35800
+ return state.a4l(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, playerWithCombination.s37(VOID, VOID, VOID, VOID, VOID, newPoints), get_byIdPlayerPredicate()(playerWithCombination.playerId)), VOID, VOID, VOID, VOID, VOID, this.b4t_1.c4v(playerWithCombination.playerId, listOf_0(announcedCombination.j3b_1), table.gameHistory)));
35777
35801
  default:
35778
35802
  throw new MechanicException("Can't support this combination " + announcedCombination.toString());
35779
35803
  }
@@ -35855,16 +35879,16 @@
35855
35879
  destination.e(tmp$ret$1);
35856
35880
  }
35857
35881
  var updatedCombinations = destination;
35858
- var tmp830_cards = $this.a4t_1.z2m(player.x36_1, card);
35859
- var tmp831_points = player.a37_1.l3a(VOID, updatedCombinations);
35860
- var tmp832_hand = updatePlayerHand($this, player, cardsOnTheTable, table.gameInfo.u46_1.y49());
35861
- return player.s37(VOID, VOID, tmp830_cards, VOID, tmp832_hand, tmp831_points);
35882
+ var tmp834_cards = $this.g4t_1.z2m(player.x36_1, card);
35883
+ var tmp835_points = player.a37_1.l3a(VOID, updatedCombinations);
35884
+ var tmp836_hand = updatePlayerHand($this, player, cardsOnTheTable, table.gameInfo.u46_1.y49());
35885
+ return player.s37(VOID, VOID, tmp834_cards, VOID, tmp836_hand, tmp835_points);
35862
35886
  }
35863
35887
  function updatePlayerWhenPickBribe($this, player, whoGotBribePlayerId, cardsOnTable, combinations) {
35864
35888
  var isGotBribe = player.playerId === whoGotBribePlayerId;
35865
35889
  var tmp = player.y36_1.j3a(VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, VOID, isGotBribe);
35866
- var tmp838_$this = player.a37_1;
35867
- var tmp839_earnedCards = updateWonCards($this, player, isGotBribe, cardsOnTable);
35890
+ var tmp842_$this = player.a37_1;
35891
+ var tmp843_earnedCards = updateWonCards($this, player, isGotBribe, cardsOnTable);
35868
35892
  var tmp_0;
35869
35893
  // Inline function 'kotlin.collections.isNotEmpty' call
35870
35894
  if (!combinations.p()) {
@@ -35908,11 +35932,11 @@
35908
35932
  } else {
35909
35933
  tmp_0 = player.a37_1.p38_1;
35910
35934
  }
35911
- var tmp840_combinations = tmp_0;
35912
- return player.s37(VOID, VOID, VOID, tmp, VOID, tmp838_$this.l3a(VOID, tmp840_combinations, tmp839_earnedCards));
35935
+ var tmp844_combinations = tmp_0;
35936
+ return player.s37(VOID, VOID, VOID, tmp, VOID, tmp842_$this.l3a(VOID, tmp844_combinations, tmp843_earnedCards));
35913
35937
  }
35914
35938
  function addPlayersCombinationsWhenPickBribe($this, whoGotBribePlayerId, players, config) {
35915
- var bellaCombination = $this.z4s_1.p4f(players);
35939
+ var bellaCombination = $this.f4t_1.p4f(players);
35916
35940
  // Inline function 'kotlin.collections.associate' call
35917
35941
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(players, 10)), 16);
35918
35942
  // Inline function 'kotlin.collections.associateTo' call
@@ -35932,7 +35956,7 @@
35932
35956
  var isGotBribe = player.playerId === whoGotBribePlayerId;
35933
35957
  var isGotLastBribe = player.a2q() === 0 && isGotBribe;
35934
35958
  var hasBellaCombination = !(bellaCombination == null) && bellaCombination.j48_1 === player.playerId;
35935
- var tmp = isGotLastBribe ? $this.y4s_1.x3a(CombinationType_BONUS_LAST_BRIBE_getInstance(), CombinationState_ACCEPTED_getInstance(), Companion_instance_107.n47(CombinationType_BONUS_LAST_BRIBE_getInstance(), config)) : null;
35959
+ var tmp = isGotLastBribe ? $this.e4t_1.x3a(CombinationType_BONUS_LAST_BRIBE_getInstance(), CombinationState_ACCEPTED_getInstance(), Companion_instance_107.n47(CombinationType_BONUS_LAST_BRIBE_getInstance(), config)) : null;
35936
35960
  var tmp_0;
35937
35961
  if (hasBellaCombination) {
35938
35962
  // Inline function 'kotlin.requireNotNull' call
@@ -35951,7 +35975,7 @@
35951
35975
  }
35952
35976
  }
35953
35977
  var tmp$ret$2 = tmp$ret$1;
35954
- tmp_0 = $this.x4s_1.u4u(whoGotBribePlayerId, tmp$ret$2, players, config);
35978
+ tmp_0 = $this.d4t_1.a4v(whoGotBribePlayerId, tmp$ret$2, players, config);
35955
35979
  } else {
35956
35980
  tmp_0 = null;
35957
35981
  }
@@ -36014,22 +36038,22 @@
36014
36038
  return player.z36_1;
36015
36039
  }
36016
36040
  function EarnPointsMechanicReducer(combinationsMechanicReducer, combinationsFactory, combinationsInteractor, dealerReducer, gameHistoryReducer, logger) {
36017
- this.x4s_1 = combinationsMechanicReducer;
36018
- this.y4s_1 = combinationsFactory;
36019
- this.z4s_1 = combinationsInteractor;
36020
- this.a4t_1 = dealerReducer;
36021
- this.b4t_1 = gameHistoryReducer;
36022
- this.c4t_1 = logger;
36041
+ this.d4t_1 = combinationsMechanicReducer;
36042
+ this.e4t_1 = combinationsFactory;
36043
+ this.f4t_1 = combinationsInteractor;
36044
+ this.g4t_1 = dealerReducer;
36045
+ this.h4t_1 = gameHistoryReducer;
36046
+ this.i4t_1 = logger;
36023
36047
  }
36024
- protoOf(EarnPointsMechanicReducer).e4t = function (state, action) {
36048
+ protoOf(EarnPointsMechanicReducer).k4t = function (state, action) {
36025
36049
  var table = state.e33();
36026
36050
  var player = getPlayer(table.players, action.m4j_1);
36027
36051
  var cardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(action.m4j_1, table.cardsOnTable.m(), action.o4j_1));
36028
- var tmp827_$this = state.e33();
36029
- var tmp828_players = updateItem(table.players, onPutCardForPlayer(this, player, table, action.o4j_1, cardsOnTheTable, action.p4j_1), get_byIdPlayerPredicate()(player.playerId));
36030
- var tmp826_safe_receiver = action.p4j_1;
36052
+ var tmp831_$this = state.e33();
36053
+ var tmp832_players = updateItem(table.players, onPutCardForPlayer(this, player, table, action.o4j_1, cardsOnTheTable, action.p4j_1), get_byIdPlayerPredicate()(player.playerId));
36054
+ var tmp830_safe_receiver = action.p4j_1;
36031
36055
  var tmp;
36032
- if (tmp826_safe_receiver == null) {
36056
+ if (tmp830_safe_receiver == null) {
36033
36057
  tmp = null;
36034
36058
  } else {
36035
36059
  // Inline function 'kotlin.let' call
@@ -36038,21 +36062,21 @@
36038
36062
  var tmp_0 = player.playerId;
36039
36063
  // Inline function 'kotlin.collections.map' call
36040
36064
  // Inline function 'kotlin.collections.mapTo' call
36041
- var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp826_safe_receiver, 10));
36042
- var tmp0_iterator = tmp826_safe_receiver.j();
36065
+ var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp830_safe_receiver, 10));
36066
+ var tmp0_iterator = tmp830_safe_receiver.j();
36043
36067
  while (tmp0_iterator.k()) {
36044
36068
  var item = tmp0_iterator.l();
36045
36069
  // Inline function 'com.debertz.logic.redux.reducers.sclices.scenes.logic.EarnPointsMechanicReducer.onPutCard.<anonymous>.<anonymous>' call
36046
36070
  var tmp$ret$0 = item.a3i_1;
36047
36071
  destination.e(tmp$ret$0);
36048
36072
  }
36049
- tmp = this.b4t_1.w4u(tmp_0, destination, table.gameHistory);
36073
+ tmp = this.h4t_1.c4v(tmp_0, destination, table.gameHistory);
36050
36074
  }
36051
36075
  var tmp0_elvis_lhs = tmp;
36052
- var tmp829_gameHistory = tmp0_elvis_lhs == null ? table.gameHistory : tmp0_elvis_lhs;
36053
- return state.a4l(tmp827_$this.copy(VOID, VOID, VOID, VOID, tmp828_players, VOID, cardsOnTheTable, VOID, VOID, VOID, tmp829_gameHistory));
36076
+ var tmp833_gameHistory = tmp0_elvis_lhs == null ? table.gameHistory : tmp0_elvis_lhs;
36077
+ return state.a4l(tmp831_$this.copy(VOID, VOID, VOID, VOID, tmp832_players, VOID, cardsOnTheTable, VOID, VOID, VOID, tmp833_gameHistory));
36054
36078
  };
36055
- protoOf(EarnPointsMechanicReducer).d4t = function (state, action) {
36079
+ protoOf(EarnPointsMechanicReducer).j4t = function (state, action) {
36056
36080
  var table = state.e33();
36057
36081
  var players = table.players;
36058
36082
  var cardsOnTable = table.cardsOnTable;
@@ -36079,12 +36103,12 @@
36079
36103
  destination_0.e(tmp$ret$3);
36080
36104
  }
36081
36105
  if (!(toSet(destination_0).m() === 1)) {
36082
- this.c4t_1.w('Validation', 'EarnPointsMechanicReducer.onPickBribe: Some of players have different cards count: ' + toString(playersCards));
36106
+ this.i4t_1.w('Validation', 'EarnPointsMechanicReducer.onPickBribe: Some of players have different cards count: ' + toString(playersCards));
36083
36107
  }
36084
36108
  var playersCombinations = addPlayersCombinationsWhenPickBribe(this, action.q4j_1, players, config);
36085
36109
  var bribe = new Bribe(cardsOnTable);
36086
- var tmp833_bribes = plus_0(table.bribes, bribe);
36087
- var tmp834_cardsOnTable = emptyList();
36110
+ var tmp837_bribes = plus_0(table.bribes, bribe);
36111
+ var tmp838_cardsOnTable = emptyList();
36088
36112
  // Inline function 'kotlin.collections.map' call
36089
36113
  // Inline function 'kotlin.collections.mapTo' call
36090
36114
  var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players, 10));
@@ -36095,14 +36119,14 @@
36095
36119
  var tmp$ret$6 = updatePlayerWhenPickBribe(this, item_1, action.q4j_1, cardsOnTable, getValue(playersCombinations, item_1.playerId));
36096
36120
  destination_1.e(tmp$ret$6);
36097
36121
  }
36098
- var tmp836_gameInfo = table.gameInfo.d47(VOID, VOID, table.gameInfo.u46_1.b4a(VOID, action.r4j_1));
36099
- var tmp837_gameHistory = this.b4t_1.x4u(action.q4j_1, bribe, action.r4j_1, playersCombinations, table.gameHistory);
36100
- return state.a4l(table.copy(VOID, VOID, VOID, VOID, destination_1, VOID, tmp834_cardsOnTable, tmp833_bribes, VOID, tmp836_gameInfo, tmp837_gameHistory));
36122
+ var tmp840_gameInfo = table.gameInfo.d47(VOID, VOID, table.gameInfo.u46_1.b4a(VOID, action.r4j_1));
36123
+ var tmp841_gameHistory = this.h4t_1.d4v(action.q4j_1, bribe, action.r4j_1, playersCombinations, table.gameHistory);
36124
+ return state.a4l(table.copy(VOID, VOID, VOID, VOID, destination_1, VOID, tmp838_cardsOnTable, tmp837_bribes, VOID, tmp840_gameInfo, tmp841_gameHistory));
36101
36125
  };
36102
36126
  function GameHistoryReducer(pointsInteractor) {
36103
- this.o4u_1 = pointsInteractor;
36127
+ this.u4u_1 = pointsInteractor;
36104
36128
  }
36105
- protoOf(GameHistoryReducer).y4u = function (gameHistory) {
36129
+ protoOf(GameHistoryReducer).e4v = function (gameHistory) {
36106
36130
  var roundNumber = gameHistory.rounds.length;
36107
36131
  // Inline function 'kotlin.collections.plus' call
36108
36132
  var this_0 = gameHistory.rounds;
@@ -36114,7 +36138,7 @@
36114
36138
  var tmp$ret$4 = this_0.concat(tmp$ret$3);
36115
36139
  return gameHistory.copy(VOID, VOID, tmp$ret$4);
36116
36140
  };
36117
- protoOf(GameHistoryReducer).p4u = function (cardDeck, whoShuffleCardsPlayerId, playersCards, gameHistory) {
36141
+ protoOf(GameHistoryReducer).v4u = function (cardDeck, whoShuffleCardsPlayerId, playersCards, gameHistory) {
36118
36142
  var tmp = new WhoShuffleCardsItem(whoShuffleCardsPlayerId, cardDeck.y46_1, System_instance.p2i());
36119
36143
  // Inline function 'kotlin.collections.mapValues' call
36120
36144
  // Inline function 'kotlin.collections.mapValuesTo' call
@@ -36131,10 +36155,10 @@
36131
36155
  }
36132
36156
  return addItemsToCurrentRound(gameHistory, listOf([tmp, new PlayersCardsItem(destination, 0, System_instance.p2i())]));
36133
36157
  };
36134
- protoOf(GameHistoryReducer).t4u = function (playerId, suit, numberOfCircle, gameHistory) {
36158
+ protoOf(GameHistoryReducer).z4u = function (playerId, suit, numberOfCircle, gameHistory) {
36135
36159
  return addItemsToCurrentRound(gameHistory, listOf_0(new SuitSelectionItem(playerId, suit, numberOfCircle, System_instance.p2i())));
36136
36160
  };
36137
- protoOf(GameHistoryReducer).q4u = function (playersCards, gameHistory) {
36161
+ protoOf(GameHistoryReducer).w4u = function (playersCards, gameHistory) {
36138
36162
  // Inline function 'kotlin.collections.mapValues' call
36139
36163
  // Inline function 'kotlin.collections.mapValuesTo' call
36140
36164
  var destination = LinkedHashMap_init_$Create$_0(mapCapacity(playersCards.m()));
@@ -36150,10 +36174,10 @@
36150
36174
  }
36151
36175
  return addItemsToCurrentRound(gameHistory, listOf_0(new PlayersCardsItem(destination, 1, System_instance.p2i())));
36152
36176
  };
36153
- protoOf(GameHistoryReducer).w4u = function (playerId, combinations, gameHistory) {
36177
+ protoOf(GameHistoryReducer).c4v = function (playerId, combinations, gameHistory) {
36154
36178
  return addItemsToCurrentRound(gameHistory, listOf_0(new CombinationAnnounceItem(playerId, combinations, System_instance.p2i())));
36155
36179
  };
36156
- protoOf(GameHistoryReducer).x4u = function (whoGotBribePlayerId, bribe, numberOfBribe, playersCombinations, gameHistory) {
36180
+ protoOf(GameHistoryReducer).d4v = function (whoGotBribePlayerId, bribe, numberOfBribe, playersCombinations, gameHistory) {
36157
36181
  var tmp = listOf_0(new BribeItem(whoGotBribePlayerId, bribe.y3o_1, numberOfBribe, System_instance.p2i()));
36158
36182
  // Inline function 'kotlin.collections.mapNotNull' call
36159
36183
  // Inline function 'kotlin.collections.mapNotNullTo' call
@@ -36198,7 +36222,7 @@
36198
36222
  }
36199
36223
  return addItemsToCurrentRound(gameHistory, plus(tmp, destination));
36200
36224
  };
36201
- protoOf(GameHistoryReducer).v4u = function (winnerCombinations, gameHistory) {
36225
+ protoOf(GameHistoryReducer).b4v = function (winnerCombinations, gameHistory) {
36202
36226
  // Inline function 'kotlin.collections.map' call
36203
36227
  // Inline function 'kotlin.collections.mapTo' call
36204
36228
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(winnerCombinations, 10));
@@ -36206,18 +36230,18 @@
36206
36230
  while (tmp0_iterator.k()) {
36207
36231
  var item = tmp0_iterator.l();
36208
36232
  // Inline function 'com.debertz.logic.redux.reducers.sclices.table.GameHistoryReducer.winnerCombinationHistoryReducer.<anonymous>' call
36209
- var tmp842_playerId = item.k3p_1;
36210
- var tmp843_combinations = item.l3p_1;
36211
- var tmp844_reason = item.j3p_1;
36212
- var tmp845_createdAt = System_instance.p2i();
36213
- var tmp$ret$0 = new WinnerCombinationsItem(tmp842_playerId, tmp844_reason, tmp843_combinations, tmp845_createdAt);
36233
+ var tmp846_playerId = item.k3p_1;
36234
+ var tmp847_combinations = item.l3p_1;
36235
+ var tmp848_reason = item.j3p_1;
36236
+ var tmp849_createdAt = System_instance.p2i();
36237
+ var tmp$ret$0 = new WinnerCombinationsItem(tmp846_playerId, tmp848_reason, tmp847_combinations, tmp849_createdAt);
36214
36238
  destination.e(tmp$ret$0);
36215
36239
  }
36216
36240
  return addItemsToCurrentRound(gameHistory, destination);
36217
36241
  };
36218
- protoOf(GameHistoryReducer).r4u = function (points, gameHistory) {
36242
+ protoOf(GameHistoryReducer).x4u = function (points, gameHistory) {
36219
36243
  var currentRoundHistory = last_0(gameHistory.rounds);
36220
- return gameHistory.copy(VOID, VOID, updateLastItem(gameHistory.rounds, currentRoundHistory.copy(VOID, plus_1(currentRoundHistory.items, listOf_0(new PointsItem(this.o4u_1.p4i(points), System_instance.p2i()))))));
36244
+ return gameHistory.copy(VOID, VOID, updateLastItem(gameHistory.rounds, currentRoundHistory.copy(VOID, plus_1(currentRoundHistory.items, listOf_0(new PointsItem(this.u4u_1.p4i(points), System_instance.p2i()))))));
36221
36245
  };
36222
36246
  function addItemsToCurrentRound(_this__u8e3s4, items) {
36223
36247
  var roundHistory = last_0(_this__u8e3s4.rounds);
@@ -36248,23 +36272,23 @@
36248
36272
  tmp = cardDeck;
36249
36273
  }
36250
36274
  var newCardDeck = tmp;
36251
- return new PreviousRound(bribes, newCardDeck, $this.c4v_1.q4i(players, config));
36275
+ return new PreviousRound(bribes, newCardDeck, $this.i4v_1.q4i(players, config));
36252
36276
  }
36253
36277
  function roundFinishedGameInfoReducer($this, table) {
36254
36278
  var gameInfo = table.gameInfo;
36255
36279
  var tmp = roundFinishedRoundReducer($this, gameInfo.u46_1);
36256
36280
  var tmp_0 = gameInfo.v46_1 + 1 | 0;
36257
- var tmp856_players = table.players;
36258
- var tmp857_config = table.config;
36259
- var tmp858_cardDeck = table.requireCardDeck;
36260
- var tmp859_bribes = table.bribes;
36261
- return gameInfo.d47(VOID, VOID, tmp, tmp_0, roundFinishedPreviousRound($this, tmp856_players, tmp858_cardDeck, tmp859_bribes, tmp857_config));
36281
+ var tmp860_players = table.players;
36282
+ var tmp861_config = table.config;
36283
+ var tmp862_cardDeck = table.requireCardDeck;
36284
+ var tmp863_bribes = table.bribes;
36285
+ return gameInfo.d47(VOID, VOID, tmp, tmp_0, roundFinishedPreviousRound($this, tmp860_players, tmp862_cardDeck, tmp863_bribes, tmp861_config));
36262
36286
  }
36263
36287
  function gameFinishedGameInfoReducer($this, gameInfo) {
36264
- var tmp860_gameNumber = gameInfo.t46_1 + 1 | 0;
36265
- var tmp861_roundNumberTotal = gameInfo.v46_1 + 1 | 0;
36266
- var tmp862_round = gameFinishedRoundReducer($this, gameInfo.u46_1);
36267
- return gameInfo.d47(VOID, tmp860_gameNumber, tmp862_round, tmp861_roundNumberTotal, null);
36288
+ var tmp864_gameNumber = gameInfo.t46_1 + 1 | 0;
36289
+ var tmp865_roundNumberTotal = gameInfo.v46_1 + 1 | 0;
36290
+ var tmp866_round = gameFinishedRoundReducer($this, gameInfo.u46_1);
36291
+ return gameInfo.d47(VOID, tmp864_gameNumber, tmp866_round, tmp865_roundNumberTotal, null);
36268
36292
  }
36269
36293
  function roundFinishedRoundReducer($this, round) {
36270
36294
  return round.a4a(round.s3t_1 + 1 | 0, null, null);
@@ -36273,28 +36297,28 @@
36273
36297
  return round.a4a(0, null, null);
36274
36298
  }
36275
36299
  function roundFinishedPlayerReducer($this, player) {
36276
- var tmp863_options = roundFinishedPlayerOptionReducer($this, player.y36_1);
36277
- var tmp864_points = roundFinishedPlayerReducer_0($this, player.a37_1);
36278
- var tmp865_state = Companion_instance_0.t2r(player.w36_1);
36279
- var tmp866_hand = Companion_instance_12.s39(player.z36_1);
36280
- var tmp867_cards = emptyList();
36281
- return player.s37(VOID, tmp865_state, tmp867_cards, tmp863_options, tmp866_hand, tmp864_points);
36300
+ var tmp867_options = roundFinishedPlayerOptionReducer($this, player.y36_1);
36301
+ var tmp868_points = roundFinishedPlayerReducer_0($this, player.a37_1);
36302
+ var tmp869_state = Companion_instance_0.t2r(player.w36_1);
36303
+ var tmp870_hand = Companion_instance_12.s39(player.z36_1);
36304
+ var tmp871_cards = emptyList();
36305
+ return player.s37(VOID, tmp869_state, tmp871_cards, tmp867_options, tmp870_hand, tmp868_points);
36282
36306
  }
36283
36307
  function gameFinishedPlayerReducer($this, player) {
36284
- var tmp868_options = gameFinishedPlayerOptionReducer($this, player.y36_1);
36285
- var tmp869_points = gameFinishedPlayerReducer_0($this, player.a37_1);
36286
- var tmp870_state = Companion_instance_0.t2r(player.w36_1);
36287
- var tmp871_hand = Companion_instance_12.t39(player.z36_1);
36288
- var tmp872_cards = emptyList();
36289
- return player.s37(VOID, tmp870_state, tmp872_cards, tmp868_options, tmp871_hand, tmp869_points);
36308
+ var tmp872_options = gameFinishedPlayerOptionReducer($this, player.y36_1);
36309
+ var tmp873_points = gameFinishedPlayerReducer_0($this, player.a37_1);
36310
+ var tmp874_state = Companion_instance_0.t2r(player.w36_1);
36311
+ var tmp875_hand = Companion_instance_12.t39(player.z36_1);
36312
+ var tmp876_cards = emptyList();
36313
+ return player.s37(VOID, tmp874_state, tmp876_cards, tmp872_options, tmp875_hand, tmp873_points);
36290
36314
  }
36291
36315
  function roundFinishedPlayerOptionReducer($this, options) {
36292
- var tmp873_numberOfCircle = RoundNumber_CIRCLE_NOT_STARTED_getInstance();
36293
- return options.j3a(VOID, VOID, false, VOID, VOID, VOID, VOID, VOID, 15, VOID, tmp873_numberOfCircle, false);
36316
+ var tmp877_numberOfCircle = RoundNumber_CIRCLE_NOT_STARTED_getInstance();
36317
+ return options.j3a(VOID, VOID, false, VOID, VOID, VOID, VOID, VOID, 15, VOID, tmp877_numberOfCircle, false);
36294
36318
  }
36295
36319
  function gameFinishedPlayerOptionReducer($this, options) {
36296
- var tmp875_numberOfCircle = RoundNumber_CIRCLE_NOT_STARTED_getInstance();
36297
- return options.j3a(VOID, VOID, false, false, false, VOID, false, 0, 15, VOID, tmp875_numberOfCircle, false, false);
36320
+ var tmp879_numberOfCircle = RoundNumber_CIRCLE_NOT_STARTED_getInstance();
36321
+ return options.j3a(VOID, VOID, false, false, false, VOID, false, 0, 15, VOID, tmp879_numberOfCircle, false, false);
36298
36322
  }
36299
36323
  function roundFinishedPlayerReducer_0($this, points) {
36300
36324
  return points.l3a(VOID, filterByCombinationState(points.p38_1, [CombinationState_VERIFYING_getInstance()]), emptyList());
@@ -36303,10 +36327,10 @@
36303
36327
  return points.k3a(0, emptyList(), emptyList());
36304
36328
  }
36305
36329
  function TableLifecycleReducerImpl(pointsInteractor, historyReducer) {
36306
- this.c4v_1 = pointsInteractor;
36307
- this.d4v_1 = historyReducer;
36330
+ this.i4v_1 = pointsInteractor;
36331
+ this.j4v_1 = historyReducer;
36308
36332
  }
36309
- protoOf(TableLifecycleReducerImpl).z4u = function (tableId, gameId, config, version, users, gameCreatorPlayerId, playerStateReducer) {
36333
+ protoOf(TableLifecycleReducerImpl).f4v = function (tableId, gameId, config, version, users, gameCreatorPlayerId, playerStateReducer) {
36310
36334
  var tmp = Companion_instance_104;
36311
36335
  // Inline function 'kotlin.collections.mapIndexed' call
36312
36336
  // Inline function 'kotlin.collections.mapIndexedTo' call
@@ -36319,17 +36343,17 @@
36319
36343
  var tmp1 = index;
36320
36344
  index = tmp1 + 1 | 0;
36321
36345
  var index_0 = checkIndexOverflow(tmp1);
36322
- var tmp847_state = playerStateReducer(item);
36323
- var tmp848_isGameCreator = gameCreatorPlayerId === item.q2p_1;
36346
+ var tmp851_state = playerStateReducer(item);
36347
+ var tmp852_isGameCreator = gameCreatorPlayerId === item.q2p_1;
36324
36348
  var tmp_0 = Companion_instance_11;
36325
36349
  var tmp0_elvis_lhs = item.initialLuckyFactor;
36326
- var tmp849_hand = new PlayerHand(VOID, listOf_0(tmp_0.j39(tmp0_elvis_lhs == null ? 5.0 : tmp0_elvis_lhs, 0.0)));
36327
- var tmp$ret$0 = Companion_instance_10.u36(item, index_0, tmp848_isGameCreator, VOID, tmp847_state, tmp849_hand);
36350
+ var tmp853_hand = new PlayerHand(VOID, listOf_0(tmp_0.j39(tmp0_elvis_lhs == null ? 5.0 : tmp0_elvis_lhs, 0.0)));
36351
+ var tmp$ret$0 = Companion_instance_10.u36(item, index_0, tmp852_isGameCreator, VOID, tmp851_state, tmp853_hand);
36328
36352
  destination.e(tmp$ret$0);
36329
36353
  }
36330
36354
  return tmp.initial(tableId, gameId, version, config, destination);
36331
36355
  };
36332
- protoOf(TableLifecycleReducerImpl).b4u = function (table) {
36356
+ protoOf(TableLifecycleReducerImpl).h4u = function (table) {
36333
36357
  // Inline function 'kotlin.collections.map' call
36334
36358
  var this_0 = table.players;
36335
36359
  // Inline function 'kotlin.collections.mapTo' call
@@ -36343,8 +36367,8 @@
36343
36367
  }
36344
36368
  return table.copy(VOID, VOID, VOID, VOID, destination);
36345
36369
  };
36346
- protoOf(TableLifecycleReducerImpl).c4u = function (table) {
36347
- var tmp850_sceneInfo = new SceneInfo('WAITING');
36370
+ protoOf(TableLifecycleReducerImpl).i4u = function (table) {
36371
+ var tmp854_sceneInfo = new SceneInfo('WAITING');
36348
36372
  // Inline function 'kotlin.collections.map' call
36349
36373
  var this_0 = table.players;
36350
36374
  // Inline function 'kotlin.collections.mapTo' call
@@ -36356,13 +36380,13 @@
36356
36380
  var tmp$ret$0 = roundFinishedPlayerReducer(this, item);
36357
36381
  destination.e(tmp$ret$0);
36358
36382
  }
36359
- var tmp852_cardsOnTable = emptyList();
36360
- var tmp853_bribes = emptyList();
36361
- var tmp854_gameInfo = roundFinishedGameInfoReducer(this, table);
36362
- var tmp855_gameHistory = this.d4v_1.y4u(table.gameHistory);
36363
- return table.copy(VOID, VOID, VOID, VOID, destination, tmp850_sceneInfo, tmp852_cardsOnTable, tmp853_bribes, null, tmp854_gameInfo, tmp855_gameHistory);
36383
+ var tmp856_cardsOnTable = emptyList();
36384
+ var tmp857_bribes = emptyList();
36385
+ var tmp858_gameInfo = roundFinishedGameInfoReducer(this, table);
36386
+ var tmp859_gameHistory = this.j4v_1.e4v(table.gameHistory);
36387
+ return table.copy(VOID, VOID, VOID, VOID, destination, tmp854_sceneInfo, tmp856_cardsOnTable, tmp857_bribes, null, tmp858_gameInfo, tmp859_gameHistory);
36364
36388
  };
36365
- protoOf(TableLifecycleReducerImpl).s4u = function (table) {
36389
+ protoOf(TableLifecycleReducerImpl).y4u = function (table) {
36366
36390
  // Inline function 'kotlin.collections.map' call
36367
36391
  var this_0 = table.players;
36368
36392
  // Inline function 'kotlin.collections.mapTo' call
@@ -36374,9 +36398,9 @@
36374
36398
  var tmp$ret$0 = roundFinishedPlayerReducer(this, item);
36375
36399
  destination.e(tmp$ret$0);
36376
36400
  }
36377
- return table.copy(VOID, VOID, VOID, VOID, destination, VOID, emptyList(), emptyList(), null, roundFinishedGameInfoReducer(this, table), this.d4v_1.y4u(table.gameHistory));
36401
+ return table.copy(VOID, VOID, VOID, VOID, destination, VOID, emptyList(), emptyList(), null, roundFinishedGameInfoReducer(this, table), this.j4v_1.e4v(table.gameHistory));
36378
36402
  };
36379
- protoOf(TableLifecycleReducerImpl).b4v = function (table, newGameId) {
36403
+ protoOf(TableLifecycleReducerImpl).h4v = function (table, newGameId) {
36380
36404
  // Inline function 'kotlin.collections.map' call
36381
36405
  var this_0 = table.players;
36382
36406
  // Inline function 'kotlin.collections.mapTo' call
@@ -36406,19 +36430,19 @@
36406
36430
  return new _no_name_provided__qut3iv_27(isEnableForPlayer, playerTurnInteractor, logger, playerTurnMechanicReducer);
36407
36431
  }
36408
36432
  function _no_name_provided__qut3iv_26($playerTurnInteractor, $playerTurnMechanicReducer) {
36409
- this.e4v_1 = $playerTurnInteractor;
36410
- this.f4v_1 = $playerTurnMechanicReducer;
36433
+ this.k4v_1 = $playerTurnInteractor;
36434
+ this.l4v_1 = $playerTurnMechanicReducer;
36411
36435
  }
36412
36436
  protoOf(_no_name_provided__qut3iv_26).t2x = function (action) {
36413
36437
  return isInterface(action, NextPlayerTurnAction);
36414
36438
  };
36415
- protoOf(_no_name_provided__qut3iv_26).f4s = function (state, action) {
36439
+ protoOf(_no_name_provided__qut3iv_26).l4s = function (state, action) {
36416
36440
  var tmp$ret$0;
36417
36441
  $l$block: {
36418
36442
  // Inline function 'com.debertz.logic.redux.reducers.turn.setPlayerTurnReducer.<anonymous>' call
36419
36443
  var action_0 = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
36420
36444
  var table = state.e33();
36421
- var tmp0_elvis_lhs = this.e4v_1.t4i(action_0, table.players, table.gameInfo.u46_1);
36445
+ var tmp0_elvis_lhs = this.k4v_1.t4i(action_0, table.players, table.gameInfo.u46_1);
36422
36446
  var tmp;
36423
36447
  if (tmp0_elvis_lhs == null) {
36424
36448
  tmp$ret$0 = state;
@@ -36427,50 +36451,50 @@
36427
36451
  tmp = tmp0_elvis_lhs;
36428
36452
  }
36429
36453
  var turnModel = tmp;
36430
- tmp$ret$0 = state.a4l(this.f4v_1.l4u(table, turnModel));
36454
+ tmp$ret$0 = state.a4l(this.l4v_1.r4u(table, turnModel));
36431
36455
  }
36432
36456
  return tmp$ret$0;
36433
36457
  };
36434
36458
  protoOf(_no_name_provided__qut3iv_26).w2z = function (state, action) {
36435
- return this.f4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
36459
+ return this.l4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
36436
36460
  };
36437
36461
  function resetPlayerTurnWhenAnswerFromActionReducer$lambda(it) {
36438
36462
  return true;
36439
36463
  }
36440
36464
  function _no_name_provided__qut3iv_27($isEnableForPlayer, $playerTurnInteractor, $logger, $playerTurnMechanicReducer) {
36441
- this.g4v_1 = $isEnableForPlayer;
36442
- this.h4v_1 = $playerTurnInteractor;
36443
- this.i4v_1 = $logger;
36444
- this.j4v_1 = $playerTurnMechanicReducer;
36465
+ this.m4v_1 = $isEnableForPlayer;
36466
+ this.n4v_1 = $playerTurnInteractor;
36467
+ this.o4v_1 = $logger;
36468
+ this.p4v_1 = $playerTurnMechanicReducer;
36445
36469
  }
36446
36470
  protoOf(_no_name_provided__qut3iv_27).t2x = function (action) {
36447
36471
  return isInterface(action, PlayerAnswerFromClientAction);
36448
36472
  };
36449
- protoOf(_no_name_provided__qut3iv_27).f4s = function (state, action) {
36473
+ protoOf(_no_name_provided__qut3iv_27).l4s = function (state, action) {
36450
36474
  var tmp$ret$0;
36451
36475
  $l$block: {
36452
36476
  // Inline function 'com.debertz.logic.redux.reducers.turn.resetPlayerTurnWhenAnswerFromActionReducer.<anonymous>' call
36453
36477
  var action_0 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
36454
36478
  var table = state.e33();
36455
36479
  var player = getPlayer(table.players, action_0.playerId);
36456
- if (!this.g4v_1(player)) {
36480
+ if (!this.m4v_1(player)) {
36457
36481
  tmp$ret$0 = state;
36458
36482
  break $l$block;
36459
36483
  }
36460
- var turnModel = this.h4v_1.u4i(player, action_0);
36484
+ var turnModel = this.n4v_1.u4i(player, action_0);
36461
36485
  var tmp;
36462
36486
  if (turnModel == null) {
36463
- this.i4v_1.w(VOID, 'TAG is null, action: ' + toString(action_0) + ', playerId: ' + player.playerId);
36487
+ this.o4v_1.w(VOID, 'TAG is null, action: ' + toString(action_0) + ', playerId: ' + player.playerId);
36464
36488
  tmp = state;
36465
36489
  } else {
36466
- tmp = state.a4l(this.j4v_1.m4u(table, turnModel));
36490
+ tmp = state.a4l(this.p4v_1.s4u(table, turnModel));
36467
36491
  }
36468
36492
  tmp$ret$0 = tmp;
36469
36493
  }
36470
36494
  return tmp$ret$0;
36471
36495
  };
36472
36496
  protoOf(_no_name_provided__qut3iv_27).w2z = function (state, action) {
36473
- return this.f4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
36497
+ return this.l4s((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
36474
36498
  };
36475
36499
  function get_isCreated_0(_this__u8e3s4) {
36476
36500
  return get_isCreated(_this__u8e3s4.v32_1);
@@ -36480,7 +36504,7 @@
36480
36504
  }
36481
36505
  function Companion_120() {
36482
36506
  }
36483
- protoOf(Companion_120).k4v = function (payload) {
36507
+ protoOf(Companion_120).q4v = function (payload) {
36484
36508
  var tmp;
36485
36509
  if (!(payload == null) ? isInterface(payload, FirstMechanicAction) : false) {
36486
36510
  tmp = toLoggerPayload_0(payload);
@@ -36493,7 +36517,7 @@
36493
36517
  while (tmp0_iterator.k()) {
36494
36518
  var element = tmp0_iterator.l();
36495
36519
  // Inline function 'com.debertz.logic.utils.logger.Companion.mapPayloadToLoggerPayload.<anonymous>' call
36496
- var result = Companion_instance_124.k4v(element);
36520
+ var result = Companion_instance_124.q4v(element);
36497
36521
  if (!(result == null)) {
36498
36522
  tmp$ret$1 = result;
36499
36523
  break $l$block;
@@ -36531,21 +36555,21 @@
36531
36555
  tmp = payloadMapper;
36532
36556
  }
36533
36557
  payloadMapper = tmp;
36534
- this.l4v_1 = logger;
36535
- this.m4v_1 = payloadMapper;
36558
+ this.r4v_1 = logger;
36559
+ this.s4v_1 = payloadMapper;
36536
36560
  }
36537
36561
  protoOf(CallbackWrapperLoggerOutput).e2n = function (tag, message, payload) {
36538
- this.l4v_1.d(tag, message, this.m4v_1(payload));
36562
+ this.r4v_1.d(tag, message, this.s4v_1(payload));
36539
36563
  };
36540
36564
  protoOf(CallbackWrapperLoggerOutput).f2n = function (tag, message, exception, payload) {
36541
- this.l4v_1.e(tag, message, exception, this.m4v_1(payload));
36565
+ this.r4v_1.e(tag, message, exception, this.s4v_1(payload));
36542
36566
  };
36543
36567
  protoOf(CallbackWrapperLoggerOutput).g2n = function (tag, message, exception, payload) {
36544
- this.l4v_1.w(tag, message, exception, this.m4v_1(payload));
36568
+ this.r4v_1.w(tag, message, exception, this.s4v_1(payload));
36545
36569
  };
36546
36570
  function FileLoggerOutputImpl$observe$o$collect$slambda($$this$unsafeFlow, $types, resultContinuation) {
36547
- this.v4v_1 = $$this$unsafeFlow;
36548
- this.w4v_1 = $types;
36571
+ this.b4w_1 = $$this$unsafeFlow;
36572
+ this.c4w_1 = $types;
36549
36573
  CoroutineImpl.call(this, resultContinuation);
36550
36574
  }
36551
36575
  protoOf(FileLoggerOutputImpl$observe$o$collect$slambda).k30 = function (value, $completion) {
@@ -36569,13 +36593,13 @@
36569
36593
  continue $sm;
36570
36594
  case 1:
36571
36595
  var tmp_0 = this;
36572
- tmp_0.z4v_1 = this.v4v_1;
36596
+ tmp_0.f4w_1 = this.b4w_1;
36573
36597
  var tmp_1 = this;
36574
- tmp_1.a4w_1 = this.x4v_1;
36575
- var it = this.a4w_1;
36576
- if (contains(this.w4v_1, it.type)) {
36598
+ tmp_1.g4w_1 = this.d4w_1;
36599
+ var it = this.g4w_1;
36600
+ if (contains(this.c4w_1, it.type)) {
36577
36601
  this.v8_1 = 3;
36578
- suspendResult = this.z4v_1.e11(this.a4w_1, this);
36602
+ suspendResult = this.f4w_1.e11(this.g4w_1, this);
36579
36603
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
36580
36604
  return suspendResult;
36581
36605
  }
@@ -36594,7 +36618,7 @@
36594
36618
  this.v8_1 = 4;
36595
36619
  continue $sm;
36596
36620
  case 3:
36597
- this.y4v_1 = suspendResult;
36621
+ this.e4w_1 = suspendResult;
36598
36622
  this.v8_1 = 4;
36599
36623
  continue $sm;
36600
36624
  case 4:
@@ -36614,8 +36638,8 @@
36614
36638
  while (true);
36615
36639
  };
36616
36640
  protoOf(FileLoggerOutputImpl$observe$o$collect$slambda).l30 = function (value, completion) {
36617
- var i = new FileLoggerOutputImpl$observe$o$collect$slambda(this.v4v_1, this.w4v_1, completion);
36618
- i.x4v_1 = value;
36641
+ var i = new FileLoggerOutputImpl$observe$o$collect$slambda(this.b4w_1, this.c4w_1, completion);
36642
+ i.d4w_1 = value;
36619
36643
  return i;
36620
36644
  };
36621
36645
  function FileLoggerOutputImpl$observe$o$collect$slambda_0($$this$unsafeFlow, $types, resultContinuation) {
@@ -36628,8 +36652,8 @@
36628
36652
  }
36629
36653
  function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
36630
36654
  CoroutineImpl.call(this, resultContinuation);
36631
- this.j4w_1 = _this__u8e3s4;
36632
- this.k4w_1 = collector;
36655
+ this.p4w_1 = _this__u8e3s4;
36656
+ this.q4w_1 = collector;
36633
36657
  }
36634
36658
  protoOf($collectCOROUTINE$0).d9 = function () {
36635
36659
  var suspendResult = this.x8_1;
@@ -36640,10 +36664,10 @@
36640
36664
  case 0:
36641
36665
  this.w8_1 = 2;
36642
36666
  var tmp_0 = this;
36643
- tmp_0.l4w_1 = this.k4w_1;
36667
+ tmp_0.r4w_1 = this.q4w_1;
36644
36668
  this.v8_1 = 1;
36645
- var tmp_1 = FileLoggerOutputImpl$observe$o$collect$slambda_0(this.l4w_1, this.j4w_1.n4w_1, null);
36646
- suspendResult = this.j4w_1.m4w_1.o10(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
36669
+ var tmp_1 = FileLoggerOutputImpl$observe$o$collect$slambda_0(this.r4w_1, this.p4w_1.t4w_1, null);
36670
+ suspendResult = this.p4w_1.s4w_1.o10(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
36647
36671
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
36648
36672
  return suspendResult;
36649
36673
  }
@@ -36667,9 +36691,9 @@
36667
36691
  };
36668
36692
  function log($this, type, tag, message, payload, stackTrace) {
36669
36693
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
36670
- $this.q4w_1;
36694
+ $this.w4w_1;
36671
36695
  // Inline function 'com.debertz.logic.utils.logger.FileLoggerOutputImpl.log.<anonymous>' call
36672
- var tmp0_elvis_lhs = $this.o4w_1(payload);
36696
+ var tmp0_elvis_lhs = $this.u4w_1(payload);
36673
36697
  var tmp;
36674
36698
  if (tmp0_elvis_lhs == null) {
36675
36699
  return Unit_instance;
@@ -36678,7 +36702,7 @@
36678
36702
  }
36679
36703
  var key = tmp;
36680
36704
  // Inline function 'kotlin.collections.getOrPut' call
36681
- var this_0 = $this.r4w_1;
36705
+ var this_0 = $this.x4w_1;
36682
36706
  var value = this_0.h2(key);
36683
36707
  var tmp_0;
36684
36708
  if (value == null) {
@@ -36690,7 +36714,7 @@
36690
36714
  tmp_0 = value;
36691
36715
  }
36692
36716
  var logger = tmp_0;
36693
- logger.s4w_1.x12(new LoggerOutputDataDto(type, tag, message, stackTrace));
36717
+ logger.y4w_1.x12(new LoggerOutputDataDto(type, tag, message, stackTrace));
36694
36718
  }
36695
36719
  function log$default($this, type, tag, message, payload, stackTrace, $super) {
36696
36720
  stackTrace = stackTrace === VOID ? null : stackTrace;
@@ -36700,35 +36724,35 @@
36700
36724
  flow = flow === VOID ? MutableSharedFlow(10, 100, BufferOverflow_DROP_OLDEST_getInstance()) : flow;
36701
36725
  controller = controller === VOID ? null : controller;
36702
36726
  job = job === VOID ? null : job;
36703
- this.s4w_1 = flow;
36704
- this.t4w_1 = controller;
36705
- this.u4w_1 = job;
36706
- }
36707
- protoOf(LoggerModel).v4w = function () {
36708
- this.s4w_1.b13();
36709
- var tmp892_safe_receiver = this.u4w_1;
36710
- if (tmp892_safe_receiver == null)
36727
+ this.y4w_1 = flow;
36728
+ this.z4w_1 = controller;
36729
+ this.a4x_1 = job;
36730
+ }
36731
+ protoOf(LoggerModel).b4x = function () {
36732
+ this.y4w_1.b13();
36733
+ var tmp896_safe_receiver = this.a4x_1;
36734
+ if (tmp896_safe_receiver == null)
36711
36735
  null;
36712
36736
  else {
36713
- tmp892_safe_receiver.tm();
36737
+ tmp896_safe_receiver.tm();
36714
36738
  }
36715
36739
  };
36716
- protoOf(LoggerModel).w4w = function (flow, controller, job) {
36740
+ protoOf(LoggerModel).c4x = function (flow, controller, job) {
36717
36741
  return new LoggerModel(flow, controller, job);
36718
36742
  };
36719
- protoOf(LoggerModel).x4w = function (flow, controller, job, $super) {
36720
- flow = flow === VOID ? this.s4w_1 : flow;
36721
- controller = controller === VOID ? this.t4w_1 : controller;
36722
- job = job === VOID ? this.u4w_1 : job;
36723
- return $super === VOID ? this.w4w(flow, controller, job) : $super.w4w.call(this, flow, controller, job);
36743
+ protoOf(LoggerModel).d4x = function (flow, controller, job, $super) {
36744
+ flow = flow === VOID ? this.y4w_1 : flow;
36745
+ controller = controller === VOID ? this.z4w_1 : controller;
36746
+ job = job === VOID ? this.a4x_1 : job;
36747
+ return $super === VOID ? this.c4x(flow, controller, job) : $super.c4x.call(this, flow, controller, job);
36724
36748
  };
36725
36749
  protoOf(LoggerModel).toString = function () {
36726
- return 'LoggerModel(flow=' + toString(this.s4w_1) + ', controller=' + toString_0(this.t4w_1) + ', job=' + toString_0(this.u4w_1) + ')';
36750
+ return 'LoggerModel(flow=' + toString(this.y4w_1) + ', controller=' + toString_0(this.z4w_1) + ', job=' + toString_0(this.a4x_1) + ')';
36727
36751
  };
36728
36752
  protoOf(LoggerModel).hashCode = function () {
36729
- var result = hashCode(this.s4w_1);
36730
- result = imul(result, 31) + (this.t4w_1 == null ? 0 : hashCode(this.t4w_1)) | 0;
36731
- result = imul(result, 31) + (this.u4w_1 == null ? 0 : hashCode(this.u4w_1)) | 0;
36753
+ var result = hashCode(this.y4w_1);
36754
+ result = imul(result, 31) + (this.z4w_1 == null ? 0 : hashCode(this.z4w_1)) | 0;
36755
+ result = imul(result, 31) + (this.a4x_1 == null ? 0 : hashCode(this.a4x_1)) | 0;
36732
36756
  return result;
36733
36757
  };
36734
36758
  protoOf(LoggerModel).equals = function (other) {
@@ -36737,18 +36761,18 @@
36737
36761
  if (!(other instanceof LoggerModel))
36738
36762
  return false;
36739
36763
  var tmp0_other_with_cast = other instanceof LoggerModel ? other : THROW_CCE();
36740
- if (!equals(this.s4w_1, tmp0_other_with_cast.s4w_1))
36764
+ if (!equals(this.y4w_1, tmp0_other_with_cast.y4w_1))
36741
36765
  return false;
36742
- if (!equals(this.t4w_1, tmp0_other_with_cast.t4w_1))
36766
+ if (!equals(this.z4w_1, tmp0_other_with_cast.z4w_1))
36743
36767
  return false;
36744
- if (!equals(this.u4w_1, tmp0_other_with_cast.u4w_1))
36768
+ if (!equals(this.a4x_1, tmp0_other_with_cast.a4x_1))
36745
36769
  return false;
36746
36770
  return true;
36747
36771
  };
36748
36772
  function Companion_121() {
36749
- this.y4w_1 = 1000;
36773
+ this.e4x_1 = 1000;
36750
36774
  }
36751
- protoOf(Companion_121).z4w = function (payload) {
36775
+ protoOf(Companion_121).f4x = function (payload) {
36752
36776
  var tmp;
36753
36777
  if (!(payload == null) ? isInterface(payload, FirstMechanicAction) : false) {
36754
36778
  tmp = payload.id;
@@ -36761,7 +36785,7 @@
36761
36785
  while (tmp0_iterator.k()) {
36762
36786
  var element = tmp0_iterator.l();
36763
36787
  // Inline function 'com.debertz.logic.utils.logger.Companion.mapPayloadToGameId.<anonymous>' call
36764
- var result = Companion_instance_125.z4w(element);
36788
+ var result = Companion_instance_125.f4x(element);
36765
36789
  if (!(result == null)) {
36766
36790
  tmp$ret$1 = result;
36767
36791
  break $l$block;
@@ -36789,17 +36813,17 @@
36789
36813
  return Companion_instance_125;
36790
36814
  }
36791
36815
  function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
36792
- this.a4x_1 = function_0;
36816
+ this.g4x_1 = function_0;
36793
36817
  }
36794
36818
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).e11 = function (value, $completion) {
36795
- return this.a4x_1(value, $completion);
36819
+ return this.g4x_1(value, $completion);
36796
36820
  };
36797
36821
  function FileLoggerOutputImpl$_init_$lambda_sdog02(it) {
36798
36822
  return null;
36799
36823
  }
36800
36824
  function _no_name_provided__qut3iv_28($this, $types) {
36801
- this.m4w_1 = $this;
36802
- this.n4w_1 = $types;
36825
+ this.s4w_1 = $this;
36826
+ this.t4w_1 = $types;
36803
36827
  }
36804
36828
  protoOf(_no_name_provided__qut3iv_28).c1b = function (collector, $completion) {
36805
36829
  var tmp = new $collectCOROUTINE$0(this, collector, $completion);
@@ -36819,27 +36843,27 @@
36819
36843
  }
36820
36844
  payloadMapper = tmp;
36821
36845
  enabled = enabled === VOID ? true : enabled;
36822
- this.o4w_1 = payloadMapper;
36823
- this.p4w_1 = enabled;
36846
+ this.u4w_1 = payloadMapper;
36847
+ this.v4w_1 = enabled;
36824
36848
  var tmp_0 = this;
36825
36849
  // Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
36826
- tmp_0.q4w_1 = get_atomicfu$reentrantLock();
36850
+ tmp_0.w4w_1 = get_atomicfu$reentrantLock();
36827
36851
  var tmp_1 = this;
36828
36852
  // Inline function 'kotlin.collections.mutableMapOf' call
36829
- tmp_1.r4w_1 = LinkedHashMap_init_$Create$();
36853
+ tmp_1.x4w_1 = LinkedHashMap_init_$Create$();
36830
36854
  }
36831
36855
  protoOf(FileLoggerOutputImpl).h2n = function (_set____db54di) {
36832
- this.p4w_1 = _set____db54di;
36856
+ this.v4w_1 = _set____db54di;
36833
36857
  };
36834
36858
  protoOf(FileLoggerOutputImpl).i2n = function () {
36835
- return this.p4w_1;
36859
+ return this.v4w_1;
36836
36860
  };
36837
- protoOf(FileLoggerOutputImpl).b4x = function (key, types) {
36861
+ protoOf(FileLoggerOutputImpl).h4x = function (key, types) {
36838
36862
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
36839
- this.q4w_1;
36863
+ this.w4w_1;
36840
36864
  // Inline function 'com.debertz.logic.utils.logger.FileLoggerOutputImpl.observe.<anonymous>' call
36841
36865
  // Inline function 'kotlin.collections.getOrPut' call
36842
- var this_0 = this.r4w_1;
36866
+ var this_0 = this.x4w_1;
36843
36867
  var value = this_0.h2(key);
36844
36868
  var tmp;
36845
36869
  if (value == null) {
@@ -36853,27 +36877,27 @@
36853
36877
  var logger = tmp;
36854
36878
  // Inline function 'kotlinx.coroutines.flow.filter' call
36855
36879
  // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
36856
- var this_1 = logger.s4w_1;
36880
+ var this_1 = logger.y4w_1;
36857
36881
  // Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
36858
36882
  return new _no_name_provided__qut3iv_28(this_1, types);
36859
36883
  };
36860
- protoOf(FileLoggerOutputImpl).j4p = function (key) {
36884
+ protoOf(FileLoggerOutputImpl).p4p = function (key) {
36861
36885
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
36862
- this.q4w_1;
36886
+ this.w4w_1;
36863
36887
  // Inline function 'com.debertz.logic.utils.logger.FileLoggerOutputImpl.destroy.<anonymous>' call
36864
- var tmp878_safe_receiver = this.r4w_1.h2(key);
36865
- if (tmp878_safe_receiver == null)
36888
+ var tmp882_safe_receiver = this.x4w_1.h2(key);
36889
+ if (tmp882_safe_receiver == null)
36866
36890
  null;
36867
36891
  else {
36868
- tmp878_safe_receiver.v4w();
36892
+ tmp882_safe_receiver.b4x();
36869
36893
  }
36870
- this.r4w_1.l2(key);
36894
+ this.x4w_1.l2(key);
36871
36895
  };
36872
- protoOf(FileLoggerOutputImpl).i4p = function (key, job, controller) {
36896
+ protoOf(FileLoggerOutputImpl).o4p = function (key, job, controller) {
36873
36897
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
36874
- this.q4w_1;
36898
+ this.w4w_1;
36875
36899
  // Inline function 'kotlin.collections.getOrPut' call
36876
- var this_0 = this.r4w_1;
36900
+ var this_0 = this.x4w_1;
36877
36901
  var value = this_0.h2(key);
36878
36902
  var tmp;
36879
36903
  if (value == null) {
@@ -36884,39 +36908,39 @@
36884
36908
  } else {
36885
36909
  tmp = value;
36886
36910
  }
36887
- var updatedModel = tmp.x4w(VOID, controller, job);
36888
- this.r4w_1.k2(key, updatedModel);
36911
+ var updatedModel = tmp.d4x(VOID, controller, job);
36912
+ this.x4w_1.k2(key, updatedModel);
36889
36913
  };
36890
36914
  protoOf(FileLoggerOutputImpl).e2n = function (tag, message, payload) {
36891
- if (!this.p4w_1)
36915
+ if (!this.v4w_1)
36892
36916
  return Unit_instance;
36893
- var tmp879_type = LogType_DEBUG_getInstance();
36894
- log$default(this, tmp879_type, tag, message, payload);
36917
+ var tmp883_type = LogType_DEBUG_getInstance();
36918
+ log$default(this, tmp883_type, tag, message, payload);
36895
36919
  };
36896
36920
  protoOf(FileLoggerOutputImpl).f2n = function (tag, message, exception, payload) {
36897
- if (!this.p4w_1)
36921
+ if (!this.v4w_1)
36898
36922
  return Unit_instance;
36899
- var tmp883_type = LogType_ERROR_getInstance();
36923
+ var tmp887_type = LogType_ERROR_getInstance();
36900
36924
  var tmp;
36901
36925
  if (message == null) {
36902
36926
  tmp = exception == null ? null : exception.message;
36903
36927
  } else {
36904
36928
  tmp = message;
36905
36929
  }
36906
- var tmp884_message = tmp;
36907
- var tmp882_safe_receiver = exception == null ? null : stackTraceToString(exception);
36908
- var tmp885_stackTrace = tmp882_safe_receiver == null ? null : take_0(tmp882_safe_receiver, 1000);
36909
- log(this, tmp883_type, tag, tmp884_message, payload, tmp885_stackTrace);
36930
+ var tmp888_message = tmp;
36931
+ var tmp886_safe_receiver = exception == null ? null : stackTraceToString(exception);
36932
+ var tmp889_stackTrace = tmp886_safe_receiver == null ? null : take_0(tmp886_safe_receiver, 1000);
36933
+ log(this, tmp887_type, tag, tmp888_message, payload, tmp889_stackTrace);
36910
36934
  };
36911
36935
  protoOf(FileLoggerOutputImpl).g2n = function (tag, message, exception, payload) {
36912
- if (!this.p4w_1)
36936
+ if (!this.v4w_1)
36913
36937
  return Unit_instance;
36914
- var tmp889_type = LogType_WARN_getInstance();
36938
+ var tmp893_type = LogType_WARN_getInstance();
36915
36939
  var tmp0_elvis_lhs = exception == null ? null : exception.message;
36916
- var tmp890_message = '' + message + ' ' + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
36917
- var tmp888_safe_receiver = exception == null ? null : stackTraceToString(exception);
36918
- var tmp891_stackTrace = tmp888_safe_receiver == null ? null : take_0(tmp888_safe_receiver, 1000);
36919
- log(this, tmp889_type, tag, tmp890_message, payload, tmp891_stackTrace);
36940
+ var tmp894_message = '' + message + ' ' + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs);
36941
+ var tmp892_safe_receiver = exception == null ? null : stackTraceToString(exception);
36942
+ var tmp895_stackTrace = tmp892_safe_receiver == null ? null : take_0(tmp892_safe_receiver, 1000);
36943
+ log(this, tmp893_type, tag, tmp894_message, payload, tmp895_stackTrace);
36920
36944
  };
36921
36945
  function FileLoggerOutput() {
36922
36946
  }
@@ -36933,28 +36957,28 @@
36933
36957
  }
36934
36958
  var WARN;
36935
36959
  function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
36936
- this.c4x_1 = loggerCallback;
36960
+ this.i4x_1 = loggerCallback;
36937
36961
  }
36938
36962
  protoOf(LoggerCallbacksWrapperLoggerOutput).e2n = function (tag, message, payload) {
36939
- this.c4x_1('debug', tag, message, null, payload);
36963
+ this.i4x_1('debug', tag, message, null, payload);
36940
36964
  };
36941
36965
  protoOf(LoggerCallbacksWrapperLoggerOutput).f2n = function (tag, message, exception, payload) {
36942
- this.c4x_1('error', tag, generateMsg(message, exception), exception, payload);
36966
+ this.i4x_1('error', tag, generateMsg(message, exception), exception, payload);
36943
36967
  };
36944
36968
  protoOf(LoggerCallbacksWrapperLoggerOutput).g2n = function (tag, message, exception, payload) {
36945
- this.c4x_1('warn', tag, generateMsg(message, exception), exception, payload);
36969
+ this.i4x_1('warn', tag, generateMsg(message, exception), exception, payload);
36946
36970
  };
36947
36971
  function ParserHelper() {
36948
36972
  }
36949
36973
  function _get_encoderDecoderProvider__qqgrji($this) {
36950
36974
  // Inline function 'kotlin.getValue' call
36951
- var this_0 = $this.e4x_1;
36975
+ var this_0 = $this.k4x_1;
36952
36976
  encoderDecoderProvider$factory_0();
36953
36977
  return this_0.e2();
36954
36978
  }
36955
36979
  function _get_json__d8whur($this) {
36956
36980
  // Inline function 'kotlin.getValue' call
36957
- var this_0 = $this.f4x_1;
36981
+ var this_0 = $this.l4x_1;
36958
36982
  json$factory_0();
36959
36983
  return this_0.e2();
36960
36984
  }
@@ -36967,21 +36991,21 @@
36967
36991
  function ParserHelperImpl(serializersModules) {
36968
36992
  var tmp = this;
36969
36993
  var tmp_0 = Companion_instance_2;
36970
- tmp.d4x_1 = tmp_0.b2d(VOID, ParserHelperImpl$di$lambda(serializersModules));
36994
+ tmp.j4x_1 = tmp_0.b2d(VOID, ParserHelperImpl$di$lambda(serializersModules));
36971
36995
  var tmp_1 = this;
36972
36996
  // Inline function 'org.kodein.di.instance' call
36973
- var this_0 = this.d4x_1;
36997
+ var this_0 = this.j4x_1;
36974
36998
  // Inline function 'org.kodein.type.generic' call
36975
36999
  var tmp_2 = typeToken(createKType(getKClass(EncoderDecoderProvider), arrayOf([]), false));
36976
37000
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
36977
- tmp_1.e4x_1 = Instance(this_0, tmp$ret$0, null).n2i(this, encoderDecoderProvider$factory());
37001
+ tmp_1.k4x_1 = Instance(this_0, tmp$ret$0, null).n2i(this, encoderDecoderProvider$factory());
36978
37002
  var tmp_3 = this;
36979
37003
  // Inline function 'org.kodein.di.instance' call
36980
- var this_1 = this.d4x_1;
37004
+ var this_1 = this.j4x_1;
36981
37005
  // Inline function 'org.kodein.type.generic' call
36982
37006
  var tmp_4 = typeToken(createKType(getKClass(Json_0), arrayOf([]), false));
36983
37007
  var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
36984
- tmp_3.f4x_1 = Instance(this_1, tmp$ret$2, null).n2i(this, json$factory());
37008
+ tmp_3.l4x_1 = Instance(this_1, tmp$ret$2, null).n2i(this, json$factory());
36985
37009
  }
36986
37010
  protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
36987
37011
  return _get_encoderDecoderProvider__qqgrji(this).h4d(mapToDto_13(action));
@@ -37464,11 +37488,11 @@
37464
37488
  });
37465
37489
  protoOf(PlayerTurnTimerTag).notValidateWhenFinished = notValidateWhenFinished;
37466
37490
  protoOf(GameIsNotFinishedTimerTag).k4k = notValidateTimerReset;
37467
- protoOf(TableLifecycleReducerImpl).a4v = startTableReducer$default;
37491
+ protoOf(TableLifecycleReducerImpl).g4v = startTableReducer$default;
37468
37492
  protoOf(CallbackWrapperLoggerOutput).d = d;
37469
37493
  protoOf(CallbackWrapperLoggerOutput).e = e;
37470
37494
  protoOf(CallbackWrapperLoggerOutput).w = w;
37471
- protoOf(FileLoggerOutputImpl).b4r = observe$default;
37495
+ protoOf(FileLoggerOutputImpl).h4r = observe$default;
37472
37496
  protoOf(FileLoggerOutputImpl).d = d;
37473
37497
  protoOf(FileLoggerOutputImpl).e = e;
37474
37498
  protoOf(FileLoggerOutputImpl).w = w;