game_client_logic_deb 1.8.368 → 1.8.370

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.
@@ -1269,21 +1269,21 @@
1269
1269
  tmp = types;
1270
1270
  }
1271
1271
  types = tmp;
1272
- return $super === VOID ? this.h97(key, types) : $super.h97.call(this, key, types);
1272
+ return $super === VOID ? this.i97(key, types) : $super.i97.call(this, key, types);
1273
1273
  }
1274
1274
  initMetadataForInterface(FileLoggerOutput, 'FileLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
1275
1275
  initMetadataForClass(FileLoggerOutputImpl, 'FileLoggerOutputImpl', FileLoggerOutputImpl, VOID, [FileLoggerOutput]);
1276
1276
  function filterLivePlayers(store, playerIds, includeBots, $super) {
1277
1277
  includeBots = includeBots === VOID ? false : includeBots;
1278
- return $super === VOID ? this.i97(store, playerIds, includeBots) : $super.i97.call(this, store, playerIds, includeBots);
1278
+ return $super === VOID ? this.j97(store, playerIds, includeBots) : $super.j97.call(this, store, playerIds, includeBots);
1279
1279
  }
1280
1280
  function filterLiveDuringGamePlayers(store, playerIds, includeBots, $super) {
1281
1281
  includeBots = includeBots === VOID ? false : includeBots;
1282
- return $super === VOID ? this.j97(store, playerIds, includeBots) : $super.j97.call(this, store, playerIds, includeBots);
1282
+ return $super === VOID ? this.k97(store, playerIds, includeBots) : $super.k97.call(this, store, playerIds, includeBots);
1283
1283
  }
1284
1284
  function createConfig(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league, $super) {
1285
1285
  league = league === VOID ? null : league;
1286
- return $super === VOID ? this.k97(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) : $super.k97.call(this, mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league);
1286
+ return $super === VOID ? this.l97(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) : $super.l97.call(this, mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league);
1287
1287
  }
1288
1288
  initMetadataForInterface(GameHelper, 'GameHelper');
1289
1289
  initMetadataForClass(GameHelperImpl, 'GameHelperImpl', VOID, VOID, [GameHelper]);
@@ -1296,7 +1296,7 @@
1296
1296
  tmp = existingNicknames;
1297
1297
  }
1298
1298
  existingNicknames = tmp;
1299
- return $super === VOID ? this.m97(playerId, existingNicknames) : $super.m97.call(this, playerId, existingNicknames);
1299
+ return $super === VOID ? this.n97(playerId, existingNicknames) : $super.n97.call(this, playerId, existingNicknames);
1300
1300
  }
1301
1301
  initMetadataForInterface(GameResources, 'GameResources');
1302
1302
  initMetadataForCompanion(Companion_167);
@@ -2219,7 +2219,7 @@
2219
2219
  ffaLossReductionPerExtra = ffaLossReductionPerExtra === VOID ? 0.15 : ffaLossReductionPerExtra;
2220
2220
  ffaLossMinMult = ffaLossMinMult === VOID ? 0.6 : ffaLossMinMult;
2221
2221
  ffaCloseLossPenaltyMult = ffaCloseLossPenaltyMult === VOID ? 0.6 : ffaCloseLossPenaltyMult;
2222
- botNativeUpdatesRating = botNativeUpdatesRating === VOID ? false : botNativeUpdatesRating;
2222
+ botNativeUpdatesRating = botNativeUpdatesRating === VOID ? true : botNativeUpdatesRating;
2223
2223
  replacementForcedDecrease = replacementForcedDecrease === VOID ? true : replacementForcedDecrease;
2224
2224
  this.defaultFactor = defaultFactor;
2225
2225
  this.eloScaleH2H = eloScaleH2H;
@@ -42631,7 +42631,7 @@
42631
42631
  };
42632
42632
  function RatingCalculator() {
42633
42633
  }
42634
- function calculateHeadToHead($this, ratingList, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient, cfg) {
42634
+ function calculateHeadToHead($this, ratingList, minUserRating, maxUserRating, gameComplexityCoefficient, cfg) {
42635
42635
  // Inline function 'kotlin.collections.single' call
42636
42636
  var single = null;
42637
42637
  var found = false;
@@ -42690,14 +42690,14 @@
42690
42690
  var expected = pBeats($this, item.n6x_1, opp.n6x_1, cfg.eloScaleH2H);
42691
42691
  var actualBin = item.o6x_1 >= realMaxScore ? 1.0 : 0.0;
42692
42692
  var kEff = baseK($this, item.r6x_1, gameComplexityCoefficient, cfg);
42693
- var newRating = eloBinaryWithScoreFactor($this, item.n6x_1, expected, actualBin, realMinScore, realMaxScore, item.o6x_1, cfg.closeLossThresholdRatio, minUserRating, maxUserRating, limitByMaxRating, kEff);
42693
+ var newRating = eloBinaryWithScoreFactor($this, item.n6x_1, expected, actualBin, realMinScore, realMaxScore, item.o6x_1, cfg.closeLossThresholdRatio, minUserRating, maxUserRating, kEff);
42694
42694
  tmp$ret$5 = new PlayerRatingOutput(item.m6x_1, item.n6x_1, newRating, item.p6x_1);
42695
42695
  }
42696
42696
  destination.j(tmp$ret$5);
42697
42697
  }
42698
42698
  return destination;
42699
42699
  }
42700
- function calculateFfaPairwise($this, maxScore, ratingList, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient, cfg) {
42700
+ function calculateFfaPairwise($this, maxScore, ratingList, minUserRating, maxUserRating, gameComplexityCoefficient, cfg) {
42701
42701
  // Inline function 'kotlin.require' call
42702
42702
  if (!(ratingList.o() >= 2)) {
42703
42703
  var message = 'At least two players are required';
@@ -42778,7 +42778,7 @@
42778
42778
  var b_0 = 1.0 - cfg.ffaLossReductionPerExtra * extra;
42779
42779
  var kLoss = Math.max(tmp0, b_0);
42780
42780
  var raw = item.n6x_1 + kBase * (kWin * diffPos + kLoss * diffNeg);
42781
- var newRating = clampAndRound($this, raw, minUserRating, maxUserRating, limitByMaxRating);
42781
+ var newRating = clampAndRound($this, raw, minUserRating, maxUserRating);
42782
42782
  tmp$ret$3 = new PlayerRatingOutput(item.m6x_1, item.n6x_1, newRating, item.p6x_1);
42783
42783
  }
42784
42784
  destination.j(tmp$ret$3);
@@ -42791,10 +42791,10 @@
42791
42791
  var s = 0.5 + cfg.ffaMovLambdaRel * rel + cfg.ffaMovLambdaAbs * abs;
42792
42792
  return coerceIn(s, 0.0, 1.0);
42793
42793
  }
42794
- function eloBinaryWithScoreFactor($this, currentRating, expected, actual, minScore, maxScore, playerScore, thresholdRatio, minUserRating, maxUserRating, limitByMaxRating, kFactor) {
42794
+ function eloBinaryWithScoreFactor($this, currentRating, expected, actual, minScore, maxScore, playerScore, thresholdRatio, minUserRating, maxUserRating, kFactor) {
42795
42795
  var scoreFactor = scoreDifferenceFactor($this, actual, minScore, maxScore, playerScore, thresholdRatio);
42796
42796
  var raw = currentRating + kFactor * scoreFactor * (actual - expected);
42797
- return clampAndRound($this, raw, minUserRating, maxUserRating, limitByMaxRating);
42797
+ return clampAndRound($this, raw, minUserRating, maxUserRating);
42798
42798
  }
42799
42799
  function pBeats($this, rA, rB, scale) {
42800
42800
  // Inline function 'kotlin.math.pow' call
@@ -42909,8 +42909,8 @@
42909
42909
  throw IllegalArgumentException_init_$Create$(toString(message));
42910
42910
  }
42911
42911
  }
42912
- function clampAndRound($this, value, minUserRating, maxUserRating, limitByMaxRating) {
42913
- var upper = limitByMaxRating ? maxUserRating : 1.7976931348623157E308;
42912
+ function clampAndRound($this, value, minUserRating, maxUserRating) {
42913
+ var upper = maxUserRating;
42914
42914
  var clamped = coerceIn(value, minUserRating, upper);
42915
42915
  // Inline function 'kotlin.math.pow' call
42916
42916
  var factor = Math.pow(10.0, 2);
@@ -42918,17 +42918,17 @@
42918
42918
  }
42919
42919
  function RatingCalculatorImpl() {
42920
42920
  }
42921
- protoOf(RatingCalculatorImpl).k8l = function (maxScore, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient, ratingList, ratingConfig) {
42921
+ protoOf(RatingCalculatorImpl).k8l = function (maxScore, minUserRating, maxUserRating, gameComplexityCoefficient, ratingList, ratingConfig) {
42922
42922
  validateSoloGameHasWinner(this, maxScore, ratingList);
42923
42923
  var tmp;
42924
42924
  if (ratingList.o() <= 2) {
42925
- tmp = calculateHeadToHead(this, ratingList, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient, ratingConfig);
42925
+ tmp = calculateHeadToHead(this, ratingList, minUserRating, maxUserRating, gameComplexityCoefficient, ratingConfig);
42926
42926
  } else {
42927
- tmp = calculateFfaPairwise(this, maxScore, ratingList, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient, ratingConfig);
42927
+ tmp = calculateFfaPairwise(this, maxScore, ratingList, minUserRating, maxUserRating, gameComplexityCoefficient, ratingConfig);
42928
42928
  }
42929
42929
  return tmp;
42930
42930
  };
42931
- protoOf(RatingCalculatorImpl).l8l = function (maxScore, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient, ratingList, ratingConfig) {
42931
+ protoOf(RatingCalculatorImpl).l8l = function (maxScore, minUserRating, maxUserRating, gameComplexityCoefficient, ratingList, ratingConfig) {
42932
42932
  validateTeamsGameHasWinnerTeam(this, ratingList);
42933
42933
  // Inline function 'kotlin.collections.filter' call
42934
42934
  // Inline function 'kotlin.collections.filterTo' call
@@ -43012,7 +43012,7 @@
43012
43012
  var expected = pBeats(this, item_1.n6x_1, avgLosers, ratingConfig.eloScaleH2H);
43013
43013
  var actualBin = 1.0;
43014
43014
  var kEff = baseK(this, item_1.r6x_1, gameComplexityCoefficient, ratingConfig);
43015
- var newRating = eloBinaryWithScoreFactor(this, item_1.n6x_1, expected, actualBin, realMinScore, realMaxScore, winnersScore, ratingConfig.closeLossThresholdRatio, minUserRating, maxUserRating, limitByMaxRating, kEff);
43015
+ var newRating = eloBinaryWithScoreFactor(this, item_1.n6x_1, expected, actualBin, realMinScore, realMaxScore, winnersScore, ratingConfig.closeLossThresholdRatio, minUserRating, maxUserRating, kEff);
43016
43016
  tmp$ret$18 = new PlayerRatingOutput(item_1.m6x_1, item_1.n6x_1, newRating, item_1.p6x_1);
43017
43017
  }
43018
43018
  destination_3.j(tmp$ret$18);
@@ -43033,7 +43033,7 @@
43033
43033
  var expected_0 = pBeats(this, item_2.n6x_1, avgWinners, ratingConfig.eloScaleH2H);
43034
43034
  var actualBin_0 = 0.0;
43035
43035
  var kEff_0 = baseK(this, item_2.r6x_1, gameComplexityCoefficient, ratingConfig);
43036
- var newRating_0 = eloBinaryWithScoreFactor(this, item_2.n6x_1, expected_0, actualBin_0, realMinScore, realMaxScore, losersScore, ratingConfig.closeLossThresholdRatio, minUserRating, maxUserRating, limitByMaxRating, kEff_0);
43036
+ var newRating_0 = eloBinaryWithScoreFactor(this, item_2.n6x_1, expected_0, actualBin_0, realMinScore, realMaxScore, losersScore, ratingConfig.closeLossThresholdRatio, minUserRating, maxUserRating, kEff_0);
43037
43037
  tmp$ret$21 = new PlayerRatingOutput(item_2.m6x_1, item_2.n6x_1, newRating_0, item_2.p6x_1);
43038
43038
  }
43039
43039
  destination_4.j(tmp$ret$21);
@@ -43124,13 +43124,13 @@
43124
43124
  var tmp1_$this = this.o8l_1;
43125
43125
  var tmp2_minUserRating = leaguesConfig.minUserRating;
43126
43126
  var tmp3_maxUserRating = leaguesConfig.maxUserRating;
43127
- tmp = tmp1_$this.k8l(maxScore, tmp2_minUserRating, tmp3_maxUserRating, false, gameComplexityCoefficient, ratingList, ratingConfig);
43127
+ tmp = tmp1_$this.k8l(maxScore, tmp2_minUserRating, tmp3_maxUserRating, gameComplexityCoefficient, ratingList, ratingConfig);
43128
43128
  break;
43129
43129
  case 3:
43130
43130
  var tmp4_$this = this.o8l_1;
43131
43131
  var tmp5_minUserRating = leaguesConfig.minUserRating;
43132
43132
  var tmp6_maxUserRating = leaguesConfig.maxUserRating;
43133
- tmp = tmp4_$this.l8l(maxScore, tmp5_minUserRating, tmp6_maxUserRating, false, gameComplexityCoefficient, ratingList, ratingConfig);
43133
+ tmp = tmp4_$this.l8l(maxScore, tmp5_minUserRating, tmp6_maxUserRating, gameComplexityCoefficient, ratingList, ratingConfig);
43134
43134
  break;
43135
43135
  default:
43136
43136
  noWhenBranchMatchedException();
@@ -48830,12 +48830,61 @@
48830
48830
  protoOf(sendFromClientEventsMiddleware$$inlined$middlewareForActionType$1).o6d = function (store, next, action) {
48831
48831
  return this.e6f(store, next, action);
48832
48832
  };
48833
- function roundLifecycleMiddleware(scenePositionProvider) {
48833
+ function roundLifecycleMiddleware(scenePositionProvider, logger) {
48834
48834
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
48835
- return new roundLifecycleMiddleware$$inlined$middlewareForActionType$1(scenePositionProvider);
48835
+ return new roundLifecycleMiddleware$$inlined$middlewareForActionType$1(scenePositionProvider, logger);
48836
48836
  }
48837
- function roundLifecycleMiddleware$$inlined$middlewareForActionType$1($scenePositionProvider) {
48837
+ function validateRatingChange(logger, playerAchievements) {
48838
+ var tmp;
48839
+ if (playerAchievements == null) {
48840
+ tmp = null;
48841
+ } else {
48842
+ // Inline function 'kotlin.collections.filter' call
48843
+ // Inline function 'kotlin.collections.filterTo' call
48844
+ var destination = ArrayList_init_$Create$_0();
48845
+ var _iterator__ex2g4s = playerAchievements.l();
48846
+ while (_iterator__ex2g4s.m()) {
48847
+ var element = _iterator__ex2g4s.n();
48848
+ // Inline function 'kotlin.math.absoluteValue' call
48849
+ var this_0 = element.oldRating - element.newRating;
48850
+ if (Math.abs(this_0) >= 80) {
48851
+ destination.j(element);
48852
+ }
48853
+ }
48854
+ tmp = destination;
48855
+ }
48856
+ var tmp1_elvis_lhs = tmp;
48857
+ var suspiciousRatingChange = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
48858
+ // Inline function 'kotlin.collections.isNotEmpty' call
48859
+ if (!suspiciousRatingChange.r()) {
48860
+ logger.w('roundLifecycleMiddleware', 'Suspicious rating change: ' + toString(suspiciousRatingChange));
48861
+ }
48862
+ var tmp_0;
48863
+ if (playerAchievements == null) {
48864
+ tmp_0 = null;
48865
+ } else {
48866
+ // Inline function 'kotlin.collections.filter' call
48867
+ // Inline function 'kotlin.collections.filterTo' call
48868
+ var destination_0 = ArrayList_init_$Create$_0();
48869
+ var _iterator__ex2g4s_0 = playerAchievements.l();
48870
+ while (_iterator__ex2g4s_0.m()) {
48871
+ var element_0 = _iterator__ex2g4s_0.n();
48872
+ if (element_0.oldRating < 2000 && element_0.newRating > 2000) {
48873
+ destination_0.j(element_0);
48874
+ }
48875
+ }
48876
+ tmp_0 = destination_0;
48877
+ }
48878
+ var tmp3_elvis_lhs = tmp_0;
48879
+ var ratingChangeAboveLimit = tmp3_elvis_lhs == null ? emptyList() : tmp3_elvis_lhs;
48880
+ // Inline function 'kotlin.collections.isNotEmpty' call
48881
+ if (!ratingChangeAboveLimit.r()) {
48882
+ logger.w('roundLifecycleMiddleware', 'Rating change above limit: ' + toString(suspiciousRatingChange));
48883
+ }
48884
+ }
48885
+ function roundLifecycleMiddleware$$inlined$middlewareForActionType$1($scenePositionProvider, $logger) {
48838
48886
  this.y8x_1 = $scenePositionProvider;
48887
+ this.z8x_1 = $logger;
48839
48888
  }
48840
48889
  protoOf(roundLifecycleMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
48841
48890
  return action instanceof MechanicAction;
@@ -48930,81 +48979,82 @@
48930
48979
  tmp_1 = false;
48931
48980
  }
48932
48981
  var isGameFinished = tmp_1;
48933
- var tmp_3 = store.dispatch;
48982
+ var tmp11_safe_receiver = sceneData.m76_1;
48983
+ var tmp12_safe_receiver = tmp11_safe_receiver == null ? null : tmp11_safe_receiver.u();
48984
+ var tmp_3;
48985
+ if (tmp12_safe_receiver == null) {
48986
+ tmp_3 = null;
48987
+ } else {
48988
+ // Inline function 'kotlin.collections.map' call
48989
+ // Inline function 'kotlin.collections.mapTo' call
48990
+ var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp12_safe_receiver, 10));
48991
+ var _iterator__ex2g4s_2 = tmp12_safe_receiver.l();
48992
+ while (_iterator__ex2g4s_2.m()) {
48993
+ var item_1 = _iterator__ex2g4s_2.n();
48994
+ // Inline function 'kotlin.collections.component1' call
48995
+ var playerId = item_1.v();
48996
+ // Inline function 'kotlin.collections.component2' call
48997
+ var achievements = item_1.w();
48998
+ var tmp$ret$19 = mapToPlayerAchievements(achievements, playerId);
48999
+ destination_2.j(tmp$ret$19);
49000
+ }
49001
+ tmp_3 = destination_2;
49002
+ }
49003
+ var playerAchievements = tmp_3;
49004
+ validateRatingChange(this.z8x_1, playerAchievements);
49005
+ var tmp_4 = store.dispatch;
48934
49006
  var tmp15_id = table_0.id;
48935
49007
  var tmp16_gameId = table_0.gameId;
48936
49008
  var tmp17_roundNumber = table_0.gameInfo.round.roundNumber;
48937
49009
  var tmp18_earnedBiggestPointPlayerId = sceneData.h76_1;
48938
- var tmp_4;
49010
+ var tmp_5;
48939
49011
  if (gameWinners == null) {
48940
- tmp_4 = null;
49012
+ tmp_5 = null;
48941
49013
  } else {
48942
49014
  // Inline function 'kotlin.collections.toTypedArray' call
48943
- tmp_4 = copyToArray(gameWinners);
49015
+ tmp_5 = copyToArray(gameWinners);
48944
49016
  }
48945
- var tmp19_gameWinners = tmp_4;
48946
- var tmp_5;
49017
+ var tmp19_gameWinners = tmp_5;
49018
+ var tmp_6;
48947
49019
  if (isGameFinished) {
48948
49020
  // Inline function 'kotlin.collections.map' call
48949
49021
  var this_2 = table_0.players;
48950
49022
  // Inline function 'kotlin.collections.mapTo' call
48951
- var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10));
48952
- var _iterator__ex2g4s_2 = this_2.l();
48953
- while (_iterator__ex2g4s_2.m()) {
48954
- var item_1 = _iterator__ex2g4s_2.n();
48955
- var tmp$ret$18 = mapToGameAnalytics(item_1, table_0.gameDuration);
48956
- destination_2.j(tmp$ret$18);
49023
+ var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10));
49024
+ var _iterator__ex2g4s_3 = this_2.l();
49025
+ while (_iterator__ex2g4s_3.m()) {
49026
+ var item_2 = _iterator__ex2g4s_3.n();
49027
+ var tmp$ret$23 = mapToGameAnalytics(item_2, table_0.gameDuration);
49028
+ destination_3.j(tmp$ret$23);
48957
49029
  }
48958
49030
  // Inline function 'kotlin.collections.toTypedArray' call
48959
- tmp_5 = copyToArray(destination_2);
49031
+ tmp_6 = copyToArray(destination_3);
48960
49032
  } else {
48961
- tmp_5 = null;
49033
+ tmp_6 = null;
48962
49034
  }
48963
- var tmp20_playersGameAnalytics = tmp_5;
49035
+ var tmp20_playersGameAnalytics = tmp_6;
48964
49036
  // Inline function 'kotlin.collections.map' call
48965
49037
  var this_3 = table_0.players;
48966
49038
  // Inline function 'kotlin.collections.mapTo' call
48967
- var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
48968
- var _iterator__ex2g4s_3 = this_3.l();
48969
- while (_iterator__ex2g4s_3.m()) {
48970
- var item_2 = _iterator__ex2g4s_3.n();
48971
- var tmp$ret$22 = mapToRoundAnalytics(item_2, table_0.gameDuration);
48972
- destination_3.j(tmp$ret$22);
49039
+ var destination_4 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
49040
+ var _iterator__ex2g4s_4 = this_3.l();
49041
+ while (_iterator__ex2g4s_4.m()) {
49042
+ var item_3 = _iterator__ex2g4s_4.n();
49043
+ var tmp$ret$27 = mapToRoundAnalytics(item_3, table_0.gameDuration);
49044
+ destination_4.j(tmp$ret$27);
48973
49045
  }
48974
49046
  // Inline function 'kotlin.collections.toTypedArray' call
48975
- var tmp21_playersRoundAnalytics = copyToArray(destination_3);
49047
+ var tmp21_playersRoundAnalytics = copyToArray(destination_4);
48976
49048
  var tmp22_gameHistory = table_0.gameHistory;
48977
- var tmp12_safe_receiver = sceneData.m76_1;
48978
- var tmp13_safe_receiver = tmp12_safe_receiver == null ? null : tmp12_safe_receiver.u();
48979
- var tmp_6;
48980
- if (tmp13_safe_receiver == null) {
48981
- tmp_6 = null;
48982
- } else {
48983
- // Inline function 'kotlin.collections.map' call
48984
- // Inline function 'kotlin.collections.mapTo' call
48985
- var destination_4 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp13_safe_receiver, 10));
48986
- var _iterator__ex2g4s_4 = tmp13_safe_receiver.l();
48987
- while (_iterator__ex2g4s_4.m()) {
48988
- var item_3 = _iterator__ex2g4s_4.n();
48989
- // Inline function 'kotlin.collections.component1' call
48990
- var playerId = item_3.v();
48991
- // Inline function 'kotlin.collections.component2' call
48992
- var achievements = item_3.w();
48993
- var tmp$ret$28 = mapToPlayerAchievements(achievements, playerId);
48994
- destination_4.j(tmp$ret$28);
48995
- }
48996
- tmp_6 = destination_4;
48997
- }
48998
- var tmp14_safe_receiver = tmp_6;
48999
49049
  var tmp_7;
49000
- if (tmp14_safe_receiver == null) {
49050
+ if (playerAchievements == null) {
49001
49051
  tmp_7 = null;
49002
49052
  } else {
49003
49053
  // Inline function 'kotlin.collections.toTypedArray' call
49004
- tmp_7 = copyToArray(tmp14_safe_receiver);
49054
+ tmp_7 = copyToArray(playerAchievements);
49005
49055
  }
49006
49056
  var tmp23_achievements = tmp_7;
49007
- tmp_3(new RoundEndedAction(tmp15_id, tmp16_gameId, tmp17_roundNumber, tmp18_earnedBiggestPointPlayerId, gameLosers, tmp19_gameWinners, tmp20_playersGameAnalytics, tmp21_playersRoundAnalytics, tmp23_achievements, tmp22_gameHistory));
49057
+ tmp_4(new RoundEndedAction(tmp15_id, tmp16_gameId, tmp17_roundNumber, tmp18_earnedBiggestPointPlayerId, gameLosers, tmp19_gameWinners, tmp20_playersGameAnalytics, tmp21_playersRoundAnalytics, tmp23_achievements, tmp22_gameHistory));
49008
49058
  }
49009
49059
  }
49010
49060
  }
@@ -49045,8 +49095,8 @@
49045
49095
  return true;
49046
49096
  }
49047
49097
  function putPlayerLastCardMiddleware$$inlined$middlewareForActionType$1($lastCardInteractor, $isEnableForPlayer) {
49048
- this.z8x_1 = $lastCardInteractor;
49049
- this.a8y_1 = $isEnableForPlayer;
49098
+ this.a8y_1 = $lastCardInteractor;
49099
+ this.b8y_1 = $isEnableForPlayer;
49050
49100
  }
49051
49101
  protoOf(putPlayerLastCardMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
49052
49102
  return isInterface(action, CardsMechanicAction);
@@ -49055,7 +49105,7 @@
49055
49105
  var action_0 = isInterface(action, CardsMechanicAction) ? action : THROW_CCE();
49056
49106
  next(action_0);
49057
49107
  var tmp0_table = store.state.j6i();
49058
- var newAction = getBotActionIfNeeded(action_0, tmp0_table, this.z8x_1, this.a8y_1);
49108
+ var newAction = getBotActionIfNeeded(action_0, tmp0_table, this.a8y_1, this.b8y_1);
49059
49109
  if (newAction == null)
49060
49110
  null;
49061
49111
  else {
@@ -49077,16 +49127,16 @@
49077
49127
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z($loggerFactory, $currentPlayerId, $asyncProvider, $loggerOutput, gameId, roomId) {
49078
49128
  var controller = $loggerFactory.a6c(gameId, roomId, $currentPlayerId);
49079
49129
  var job = $asyncProvider.k6a(VOID, fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1_0(controller, $loggerOutput, gameId, null));
49080
- $loggerOutput.b8y(gameId, job, controller);
49130
+ $loggerOutput.c8y(gameId, job, controller);
49081
49131
  }
49082
49132
  function fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj($loggerOutput, gameId) {
49083
- $loggerOutput.c8y(gameId);
49133
+ $loggerOutput.d8y(gameId);
49084
49134
  }
49085
49135
  function fileLoggerByGameIdMiddleware$$inlined$middlewareForActionType$1($loggerFactory, $currentPlayerId, $asyncProvider, $loggerOutput) {
49086
- this.d8y_1 = $loggerFactory;
49087
- this.e8y_1 = $currentPlayerId;
49088
- this.f8y_1 = $asyncProvider;
49089
- this.g8y_1 = $loggerOutput;
49136
+ this.e8y_1 = $loggerFactory;
49137
+ this.f8y_1 = $currentPlayerId;
49138
+ this.g8y_1 = $asyncProvider;
49139
+ this.h8y_1 = $loggerOutput;
49090
49140
  }
49091
49141
  protoOf(fileLoggerByGameIdMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
49092
49142
  return action instanceof MechanicAction;
@@ -49095,11 +49145,11 @@
49095
49145
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
49096
49146
  next(action_0);
49097
49147
  if (isInterface(action_0, FirstMechanicAction)) {
49098
- fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z(this.d8y_1, this.e8y_1, this.f8y_1, this.g8y_1, action_0.id, action_0.id);
49148
+ fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z(this.e8y_1, this.f8y_1, this.g8y_1, this.h8y_1, action_0.id, action_0.id);
49099
49149
  } else {
49100
49150
  if (action_0 instanceof StartNewGameMechanicAction) {
49101
- fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj(this.g8y_1, action_0.previousGameId);
49102
- fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z(this.d8y_1, this.e8y_1, this.f8y_1, this.g8y_1, action_0.gameId, store.state.j6i().id);
49151
+ fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj(this.h8y_1, action_0.previousGameId);
49152
+ fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z(this.e8y_1, this.f8y_1, this.g8y_1, this.h8y_1, action_0.gameId, store.state.j6i().id);
49103
49153
  } else {
49104
49154
  if (action_0 instanceof FinishGameMechanicAction) {
49105
49155
  var tmp1_safe_receiver = store.state.t6h_1;
@@ -49108,7 +49158,7 @@
49108
49158
  null;
49109
49159
  else {
49110
49160
  // Inline function 'kotlin.let' call
49111
- fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj(this.g8y_1, tmp2_safe_receiver);
49161
+ fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj(this.h8y_1, tmp2_safe_receiver);
49112
49162
  }
49113
49163
  }
49114
49164
  }
@@ -49118,8 +49168,8 @@
49118
49168
  return this.e6f(store, next, action);
49119
49169
  };
49120
49170
  function clearLogFilesMiddleware$o$handle$slambda($fileSystem, $coreConfig, resultContinuation) {
49121
- this.p8y_1 = $fileSystem;
49122
- this.q8y_1 = $coreConfig;
49171
+ this.q8y_1 = $fileSystem;
49172
+ this.r8y_1 = $coreConfig;
49123
49173
  CoroutineImpl.call(this, resultContinuation);
49124
49174
  }
49125
49175
  protoOf(clearLogFilesMiddleware$o$handle$slambda).h2d = function ($this$launchDefault, $completion) {
@@ -49140,7 +49190,7 @@
49140
49190
  case 0:
49141
49191
  this.s8_1 = 2;
49142
49192
  this.r8_1 = 1;
49143
- suspendResult = this.p8y_1.y6b(this.q8y_1.requireDirectoryPath, this);
49193
+ suspendResult = this.q8y_1.y6b(this.r8y_1.requireDirectoryPath, this);
49144
49194
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
49145
49195
  return suspendResult;
49146
49196
  }
@@ -49163,8 +49213,8 @@
49163
49213
  while (true);
49164
49214
  };
49165
49215
  protoOf(clearLogFilesMiddleware$o$handle$slambda).i2d = function ($this$launchDefault, completion) {
49166
- var i = new clearLogFilesMiddleware$o$handle$slambda(this.p8y_1, this.q8y_1, completion);
49167
- i.r8y_1 = $this$launchDefault;
49216
+ var i = new clearLogFilesMiddleware$o$handle$slambda(this.q8y_1, this.r8y_1, completion);
49217
+ i.s8y_1 = $this$launchDefault;
49168
49218
  return i;
49169
49219
  };
49170
49220
  function clearLogFilesMiddleware$o$handle$slambda_0($fileSystem, $coreConfig, resultContinuation) {
@@ -49176,29 +49226,29 @@
49176
49226
  return l;
49177
49227
  }
49178
49228
  function clearLogFilesMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $fileSystem, $coreConfig) {
49179
- this.s8y_1 = $asyncProvider;
49180
- this.t8y_1 = $fileSystem;
49181
- this.u8y_1 = $coreConfig;
49229
+ this.t8y_1 = $asyncProvider;
49230
+ this.u8y_1 = $fileSystem;
49231
+ this.v8y_1 = $coreConfig;
49182
49232
  }
49183
49233
  protoOf(clearLogFilesMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
49184
49234
  return action instanceof ClearAction;
49185
49235
  };
49186
49236
  protoOf(clearLogFilesMiddleware$$inlined$middlewareForActionType$1).e6f = function (store, next, action) {
49187
49237
  var action_0 = action instanceof ClearAction ? action : THROW_CCE();
49188
- this.s8y_1.k6a(VOID, clearLogFilesMiddleware$o$handle$slambda_0(this.t8y_1, this.u8y_1, null));
49238
+ this.t8y_1.k6a(VOID, clearLogFilesMiddleware$o$handle$slambda_0(this.u8y_1, this.v8y_1, null));
49189
49239
  next(action_0);
49190
49240
  };
49191
49241
  protoOf(clearLogFilesMiddleware$$inlined$middlewareForActionType$1).o6d = function (store, next, action) {
49192
49242
  return this.e6f(store, next, action);
49193
49243
  };
49194
49244
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
49195
- this.v8y_1 = function_0;
49245
+ this.w8y_1 = function_0;
49196
49246
  }
49197
49247
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).x27 = function (value, $completion) {
49198
- return this.v8y_1(value, $completion);
49248
+ return this.w8y_1(value, $completion);
49199
49249
  };
49200
49250
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
49201
- return this.v8y_1;
49251
+ return this.w8y_1;
49202
49252
  };
49203
49253
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
49204
49254
  var tmp;
@@ -49219,17 +49269,17 @@
49219
49269
  return hashCode(this.a3());
49220
49270
  };
49221
49271
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j($controller, resultContinuation) {
49222
- this.e8z_1 = $controller;
49272
+ this.f8z_1 = $controller;
49223
49273
  CoroutineImpl.call(this, resultContinuation);
49224
49274
  }
49225
- protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).g8z = function (it, $completion) {
49226
- var tmp = this.h8z(it, $completion);
49275
+ protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).h8z = function (it, $completion) {
49276
+ var tmp = this.i8z(it, $completion);
49227
49277
  tmp.t8_1 = Unit_instance;
49228
49278
  tmp.u8_1 = null;
49229
49279
  return tmp.z8();
49230
49280
  };
49231
49281
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).h9 = function (p1, $completion) {
49232
- return this.g8z(p1 instanceof LoggerOutputDataDto ? p1 : THROW_CCE(), $completion);
49282
+ return this.h8z(p1 instanceof LoggerOutputDataDto ? p1 : THROW_CCE(), $completion);
49233
49283
  };
49234
49284
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).z8 = function () {
49235
49285
  var suspendResult = this.t8_1;
@@ -49239,9 +49289,9 @@
49239
49289
  switch (tmp) {
49240
49290
  case 0:
49241
49291
  this.s8_1 = 2;
49242
- var log = this.f8z_1.toMessageLog();
49292
+ var log = this.g8z_1.toMessageLog();
49243
49293
  this.r8_1 = 1;
49244
- suspendResult = this.e8z_1.a6d(log, this);
49294
+ suspendResult = this.f8z_1.a6d(log, this);
49245
49295
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
49246
49296
  return suspendResult;
49247
49297
  }
@@ -49263,23 +49313,23 @@
49263
49313
  }
49264
49314
  while (true);
49265
49315
  };
49266
- protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).h8z = function (it, completion) {
49267
- var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j(this.e8z_1, completion);
49268
- i.f8z_1 = it;
49316
+ protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).i8z = function (it, completion) {
49317
+ var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j(this.f8z_1, completion);
49318
+ i.g8z_1 = it;
49269
49319
  return i;
49270
49320
  };
49271
49321
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j_0($controller, resultContinuation) {
49272
49322
  var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j($controller, resultContinuation);
49273
49323
  var l = function (it, $completion) {
49274
- return i.g8z(it, $completion);
49324
+ return i.h8z(it, $completion);
49275
49325
  };
49276
49326
  l.$arity = 1;
49277
49327
  return l;
49278
49328
  }
49279
49329
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1($controller, $$loggerOutput, $gameId, resultContinuation) {
49280
- this.q8z_1 = $controller;
49281
- this.r8z_1 = $$loggerOutput;
49282
- this.s8z_1 = $gameId;
49330
+ this.r8z_1 = $controller;
49331
+ this.s8z_1 = $$loggerOutput;
49332
+ this.t8z_1 = $gameId;
49283
49333
  CoroutineImpl.call(this, resultContinuation);
49284
49334
  }
49285
49335
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1).h2d = function ($this$launchDefault, $completion) {
@@ -49300,7 +49350,7 @@
49300
49350
  case 0:
49301
49351
  this.s8_1 = 3;
49302
49352
  this.r8_1 = 1;
49303
- suspendResult = this.q8z_1.z6c(this);
49353
+ suspendResult = this.r8z_1.z6c(this);
49304
49354
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
49305
49355
  return suspendResult;
49306
49356
  }
@@ -49308,8 +49358,8 @@
49308
49358
  continue $sm;
49309
49359
  case 1:
49310
49360
  this.r8_1 = 2;
49311
- var tmp_0 = this.r8z_1.u8z(this.s8z_1);
49312
- var tmp_1 = fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j_0(this.q8z_1, null);
49361
+ var tmp_0 = this.s8z_1.v8z(this.t8z_1);
49362
+ var tmp_1 = fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j_0(this.r8z_1, null);
49313
49363
  suspendResult = tmp_0.j27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
49314
49364
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
49315
49365
  return suspendResult;
@@ -49333,8 +49383,8 @@
49333
49383
  while (true);
49334
49384
  };
49335
49385
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1).i2d = function ($this$launchDefault, completion) {
49336
- var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1(this.q8z_1, this.r8z_1, this.s8z_1, completion);
49337
- i.t8z_1 = $this$launchDefault;
49386
+ var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1(this.r8z_1, this.s8z_1, this.t8z_1, completion);
49387
+ i.u8z_1 = $this$launchDefault;
49338
49388
  return i;
49339
49389
  };
49340
49390
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1_0($controller, $$loggerOutput, $gameId, resultContinuation) {
@@ -49453,20 +49503,20 @@
49453
49503
  return null;
49454
49504
  }
49455
49505
  function sceneRouterMiddleware$$inlined$middlewareForActionType$1($engineLogicConfig, $logger, $sceneRouter, $idsProvider, $playerConnectionInteractor) {
49456
- this.v8z_1 = $engineLogicConfig;
49457
- this.w8z_1 = $logger;
49458
- this.x8z_1 = $sceneRouter;
49459
- this.y8z_1 = $idsProvider;
49460
- this.z8z_1 = $playerConnectionInteractor;
49506
+ this.w8z_1 = $engineLogicConfig;
49507
+ this.x8z_1 = $logger;
49508
+ this.y8z_1 = $sceneRouter;
49509
+ this.z8z_1 = $idsProvider;
49510
+ this.a90_1 = $playerConnectionInteractor;
49461
49511
  }
49462
49512
  protoOf(sceneRouterMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
49463
49513
  return action instanceof MechanicAction;
49464
49514
  };
49465
49515
  protoOf(sceneRouterMiddleware$$inlined$middlewareForActionType$1).e6f = function (store, next, action) {
49466
49516
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
49467
- if (this.v8z_1.validateIfMainThread) {
49517
+ if (this.w8z_1.validateIfMainThread) {
49468
49518
  // Inline function 'games.logic.utils.runSafeOnProd' call
49469
- var logger = this.w8z_1;
49519
+ var logger = this.x8z_1;
49470
49520
  var tmp;
49471
49521
  try {
49472
49522
  assertIfMainThread('sceneRouterMiddleware is called from main thread for action = ' + toString(action_0));
@@ -49493,22 +49543,22 @@
49493
49543
  if (equals(action_0.e8r_1.dealerStrategy, DealerStrategy_REQUEST_HOST_STANDARD_getInstance())) {
49494
49544
  tmp_2 = listOf(createHostDealerAct(action_0.h8r_1));
49495
49545
  } else {
49496
- tmp_2 = listOf(new SceneStartedMechanicAction(this.x8z_1.v8o(action_0.e8r_1, true).i8p_1));
49546
+ tmp_2 = listOf(new SceneStartedMechanicAction(this.y8z_1.v8o(action_0.e8r_1, true).i8p_1));
49497
49547
  }
49498
49548
  tmp_1 = tmp_2;
49499
49549
  } else {
49500
49550
  if (action_0 instanceof StartNewGameMechanicAction) {
49501
- tmp_1 = listOf(new SceneStartedMechanicAction(this.x8z_1.v8o(state.j6i().config, false).i8p_1));
49551
+ tmp_1 = listOf(new SceneStartedMechanicAction(this.y8z_1.v8o(state.j6i().config, false).i8p_1));
49502
49552
  } else {
49503
49553
  if (action_0 instanceof RestartGameMechanicAction) {
49504
49554
  var tmp1_config = state.j6i().config;
49505
- tmp_1 = listOf(new SceneStartedMechanicAction(this.x8z_1.w8o(tmp1_config, false, false).i8p_1));
49555
+ tmp_1 = listOf(new SceneStartedMechanicAction(this.y8z_1.w8o(tmp1_config, false, false).i8p_1));
49506
49556
  } else {
49507
49557
  if (action_0 instanceof TeamsDataMechanicAction) {
49508
49558
  tmp_1 = listOf(new SceneEndedMechanicAction(state.j6i().sceneInfo.t7p_1));
49509
49559
  } else {
49510
49560
  if (action_0 instanceof PlayerReadyMechanicAction) {
49511
- tmp_1 = listOfNotNull_0(onPlayerReadyAction(action_0.playerId, state.j6i(), this.y8z_1, this.v8z_1, this.z8z_1, this.w8z_1));
49561
+ tmp_1 = listOfNotNull_0(onPlayerReadyAction(action_0.playerId, state.j6i(), this.z8z_1, this.w8z_1, this.a90_1, this.x8z_1));
49512
49562
  } else {
49513
49563
  if (action_0 instanceof SuitChoiceMechanicAction) {
49514
49564
  var tmp_3;
@@ -49646,9 +49696,9 @@
49646
49696
  }
49647
49697
  function PlayerTurnTimerTag(playersIds, tag, afterReconnection) {
49648
49698
  afterReconnection = afterReconnection === VOID ? false : afterReconnection;
49649
- this.a90_1 = playersIds;
49650
- this.b90_1 = tag;
49651
- this.c90_1 = afterReconnection;
49699
+ this.b90_1 = playersIds;
49700
+ this.c90_1 = tag;
49701
+ this.d90_1 = afterReconnection;
49652
49702
  }
49653
49703
  protoOf(PlayerTurnTimerTag).equals = function (other) {
49654
49704
  if (this === other)
@@ -49657,13 +49707,13 @@
49657
49707
  return false;
49658
49708
  if (!(other instanceof PlayerTurnTimerTag))
49659
49709
  THROW_CCE();
49660
- return equals(this.a90_1, other.a90_1);
49710
+ return equals(this.b90_1, other.b90_1);
49661
49711
  };
49662
49712
  protoOf(PlayerTurnTimerTag).hashCode = function () {
49663
- return hashCode(this.a90_1);
49713
+ return hashCode(this.b90_1);
49664
49714
  };
49665
49715
  protoOf(PlayerTurnTimerTag).toString = function () {
49666
- return 'PlayerTurnTimerTag(playersIds=' + toString(this.a90_1) + ', tag=' + this.b90_1 + ', afterReconnection=' + this.c90_1 + ')';
49716
+ return 'PlayerTurnTimerTag(playersIds=' + toString(this.b90_1) + ', tag=' + this.c90_1 + ', afterReconnection=' + this.d90_1 + ')';
49667
49717
  };
49668
49718
  function getInitialPlayerTurnTimerDelayMillis(player, config, isDelayForBot, random) {
49669
49719
  isDelayForBot = isDelayForBot === VOID ? false : isDelayForBot;
@@ -49706,10 +49756,10 @@
49706
49756
  return tmp;
49707
49757
  }
49708
49758
  function playerStartTimerMiddleware$$inlined$middlewareForActionType$1($isEnableTimerForPlayer, $playerTurnInteractor, $botConfig, $mergeTimers) {
49709
- this.d90_1 = $isEnableTimerForPlayer;
49710
- this.e90_1 = $playerTurnInteractor;
49711
- this.f90_1 = $botConfig;
49712
- this.g90_1 = $mergeTimers;
49759
+ this.e90_1 = $isEnableTimerForPlayer;
49760
+ this.f90_1 = $playerTurnInteractor;
49761
+ this.g90_1 = $botConfig;
49762
+ this.h90_1 = $mergeTimers;
49713
49763
  }
49714
49764
  protoOf(playerStartTimerMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
49715
49765
  return isInterface(action, NextPlayerTurnAction);
@@ -49725,14 +49775,14 @@
49725
49775
  var _iterator__ex2g4s = tmp0.l();
49726
49776
  while (_iterator__ex2g4s.m()) {
49727
49777
  var element = _iterator__ex2g4s.n();
49728
- if (this.d90_1(element)) {
49778
+ if (this.e90_1(element)) {
49729
49779
  destination.j(element);
49730
49780
  }
49731
49781
  }
49732
49782
  var startTimerForPlayers = destination;
49733
49783
  // Inline function 'kotlin.collections.isNotEmpty' call
49734
49784
  if (!startTimerForPlayers.r()) {
49735
- var playerTurnModel = this.e90_1.a8m(action_0, table);
49785
+ var playerTurnModel = this.f90_1.a8m(action_0, table);
49736
49786
  if (!(playerTurnModel == null)) {
49737
49787
  // Inline function 'kotlin.collections.map' call
49738
49788
  // Inline function 'kotlin.collections.mapTo' call
@@ -49740,11 +49790,11 @@
49740
49790
  var _iterator__ex2g4s_0 = startTimerForPlayers.l();
49741
49791
  while (_iterator__ex2g4s_0.m()) {
49742
49792
  var item = _iterator__ex2g4s_0.n();
49743
- var tmp$ret$4 = to(item, getInitialPlayerTurnTimerDelayMillis(getPlayer(table.players, item), table.config, this.f90_1.isDelayForBot, this.f90_1.simulateBotThinkingDelay ? Default_getInstance() : null));
49793
+ var tmp$ret$4 = to(item, getInitialPlayerTurnTimerDelayMillis(getPlayer(table.players, item), table.config, this.g90_1.isDelayForBot, this.g90_1.simulateBotThinkingDelay ? Default_getInstance() : null));
49744
49794
  destination_0.j(tmp$ret$4);
49745
49795
  }
49746
49796
  var timeForPlayers = destination_0;
49747
- if (this.g90_1) {
49797
+ if (this.h90_1) {
49748
49798
  // Inline function 'kotlin.collections.groupBy' call
49749
49799
  // Inline function 'kotlin.collections.groupByTo' call
49750
49800
  var destination_1 = LinkedHashMap_init_$Create$();
@@ -49818,14 +49868,14 @@
49818
49868
  return this.e6f(store, next, action);
49819
49869
  };
49820
49870
  function playerStopTimerMiddleware$$inlined$middlewareForActionType$1($isEnableBotForPlayer) {
49821
- this.h90_1 = $isEnableBotForPlayer;
49871
+ this.i90_1 = $isEnableBotForPlayer;
49822
49872
  }
49823
49873
  protoOf(playerStopTimerMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
49824
49874
  return isInterface(action, PlayerAnswerFromClientAction);
49825
49875
  };
49826
49876
  protoOf(playerStopTimerMiddleware$$inlined$middlewareForActionType$1).e6f = function (store, next, action) {
49827
49877
  var action_0 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
49828
- if (this.h90_1(action_0.playerId)) {
49878
+ if (this.i90_1(action_0.playerId)) {
49829
49879
  var table = store.state.j6i();
49830
49880
  var player = getPlayer(table.players, action_0.playerId);
49831
49881
  // Inline function 'games.jass.logic.redux.AppState.findTimer' call
@@ -49846,7 +49896,7 @@
49846
49896
  var _iterator__ex2g4s_0 = destination.l();
49847
49897
  while (_iterator__ex2g4s_0.m()) {
49848
49898
  var element_0 = _iterator__ex2g4s_0.n();
49849
- if (element_0.a90_1.t1(action_0.playerId) && element_0.b90_1 === player.h6q_1.c67()) {
49899
+ if (element_0.b90_1.t1(action_0.playerId) && element_0.c90_1 === player.h6q_1.c67()) {
49850
49900
  tmp$ret$3 = element_0;
49851
49901
  break $l$block;
49852
49902
  }
@@ -49868,8 +49918,8 @@
49868
49918
  return new playerTurnTimeoutMiddleware$$inlined$middlewareForActionType$1(asyncProvider);
49869
49919
  }
49870
49920
  function playerTurnTimeoutMiddleware$o$handle$slambda($store, $timerTag, resultContinuation) {
49871
- this.q90_1 = $store;
49872
- this.r90_1 = $timerTag;
49921
+ this.r90_1 = $store;
49922
+ this.s90_1 = $timerTag;
49873
49923
  CoroutineImpl.call(this, resultContinuation);
49874
49924
  }
49875
49925
  protoOf(playerTurnTimeoutMiddleware$o$handle$slambda).h2d = function ($this$launchDefaultWithLock, $completion) {
@@ -49888,7 +49938,7 @@
49888
49938
  var tmp = this.r8_1;
49889
49939
  if (tmp === 0) {
49890
49940
  this.s8_1 = 1;
49891
- this.q90_1.dispatch(new AskBotAction(this.r90_1.a90_1, 'PlayerTurn'));
49941
+ this.r90_1.dispatch(new AskBotAction(this.s90_1.b90_1, 'PlayerTurn'));
49892
49942
  return Unit_instance;
49893
49943
  } else if (tmp === 1) {
49894
49944
  throw this.u8_1;
@@ -49900,8 +49950,8 @@
49900
49950
  while (true);
49901
49951
  };
49902
49952
  protoOf(playerTurnTimeoutMiddleware$o$handle$slambda).i2d = function ($this$launchDefaultWithLock, completion) {
49903
- var i = new playerTurnTimeoutMiddleware$o$handle$slambda(this.q90_1, this.r90_1, completion);
49904
- i.s90_1 = $this$launchDefaultWithLock;
49953
+ var i = new playerTurnTimeoutMiddleware$o$handle$slambda(this.r90_1, this.s90_1, completion);
49954
+ i.t90_1 = $this$launchDefaultWithLock;
49905
49955
  return i;
49906
49956
  };
49907
49957
  function playerTurnTimeoutMiddleware$o$handle$slambda_0($store, $timerTag, resultContinuation) {
@@ -49913,7 +49963,7 @@
49913
49963
  return l;
49914
49964
  }
49915
49965
  function playerTurnTimeoutMiddleware$$inlined$middlewareForActionType$1($asyncProvider) {
49916
- this.t90_1 = $asyncProvider;
49966
+ this.u90_1 = $asyncProvider;
49917
49967
  }
49918
49968
  protoOf(playerTurnTimeoutMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
49919
49969
  return action instanceof TimerTickAction;
@@ -49922,7 +49972,7 @@
49922
49972
  var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
49923
49973
  var timerTag = action_0.k6d_1;
49924
49974
  if (timerTag instanceof PlayerTurnTimerTag) {
49925
- this.t90_1.m6a(VOID, playerTurnTimeoutMiddleware$o$handle$slambda_0(store, timerTag, null));
49975
+ this.u90_1.m6a(VOID, playerTurnTimeoutMiddleware$o$handle$slambda_0(store, timerTag, null));
49926
49976
  }
49927
49977
  next(action_0);
49928
49978
  };
@@ -49934,12 +49984,12 @@
49934
49984
  return new sceneLifecycleMiddleware$$inlined$middlewareForActionType$1(asyncProvider, sceneFactory, router, sceneValidationInteractor);
49935
49985
  }
49936
49986
  function sceneLifecycleMiddleware$o$handle$slambda($action, $sceneFactory, $table, $router, $store, $sceneValidationInteractor, resultContinuation) {
49937
- this.c91_1 = $action;
49938
- this.d91_1 = $sceneFactory;
49939
- this.e91_1 = $table;
49940
- this.f91_1 = $router;
49941
- this.g91_1 = $store;
49942
- this.h91_1 = $sceneValidationInteractor;
49987
+ this.d91_1 = $action;
49988
+ this.e91_1 = $sceneFactory;
49989
+ this.f91_1 = $table;
49990
+ this.g91_1 = $router;
49991
+ this.h91_1 = $store;
49992
+ this.i91_1 = $sceneValidationInteractor;
49943
49993
  CoroutineImpl.call(this, resultContinuation);
49944
49994
  }
49945
49995
  protoOf(sceneLifecycleMiddleware$o$handle$slambda).h2d = function ($this$launchDefault, $completion) {
@@ -49959,10 +50009,10 @@
49959
50009
  switch (tmp) {
49960
50010
  case 0:
49961
50011
  this.s8_1 = 3;
49962
- var tmp0_subject = this.c91_1;
50012
+ var tmp0_subject = this.d91_1;
49963
50013
  if (tmp0_subject instanceof SceneStartedMechanicAction) {
49964
50014
  this.r8_1 = 1;
49965
- suspendResult = this.d91_1.r8o(this.c91_1.k8t_1, this.e91_1, this);
50015
+ suspendResult = this.e91_1.r8o(this.d91_1.k8t_1, this.f91_1, this);
49966
50016
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
49967
50017
  return suspendResult;
49968
50018
  }
@@ -49970,37 +50020,37 @@
49970
50020
  } else {
49971
50021
  if (tmp0_subject instanceof SceneEndedMechanicAction) {
49972
50022
  var tmp_0 = this;
49973
- var tmp7_safe_receiver = firstOrNull(filterByGameWinner(this.e91_1.players));
50023
+ var tmp7_safe_receiver = firstOrNull(filterByGameWinner(this.f91_1.players));
49974
50024
  var gameWinnerPlayerId = tmp7_safe_receiver == null ? null : tmp7_safe_receiver.playerId;
49975
- var nextSceneCommand = this.f91_1.c8p(this.c91_1.l8t_1, !(gameWinnerPlayerId == null), false, this.e91_1.config);
50025
+ var nextSceneCommand = this.g91_1.c8p(this.d91_1.l8t_1, !(gameWinnerPlayerId == null), false, this.f91_1.config);
49976
50026
  var tmp_1;
49977
50027
  if (nextSceneCommand instanceof MoveSceneNext) {
49978
50028
  tmp_1 = listOf(new SceneStartedMechanicAction(nextSceneCommand.i8p_1));
49979
50029
  } else {
49980
50030
  noWhenBranchMatchedException();
49981
50031
  }
49982
- tmp_0.j91_1 = tmp_1;
50032
+ tmp_0.k91_1 = tmp_1;
49983
50033
  this.r8_1 = 2;
49984
50034
  continue $sm;
49985
50035
  } else {
49986
50036
  if (tmp0_subject instanceof SceneActStartedMechanicAction) {
49987
50037
  var tmp_2 = this;
49988
- this.h91_1.z8o(this.g91_1.state.w6h_1, 'Timers are not empty before scene act ' + this.c91_1.m8t_1 + ', ' + this.c91_1.n8t_1);
49989
- var mechanicAction = new SceneActMechanicAction(this.c91_1.m8t_1, this.c91_1.n8t_1, this.c91_1.o8t_1);
49990
- tmp_2.j91_1 = listOf(mechanicAction);
50038
+ this.i91_1.z8o(this.h91_1.state.w6h_1, 'Timers are not empty before scene act ' + this.d91_1.m8t_1 + ', ' + this.d91_1.n8t_1);
50039
+ var mechanicAction = new SceneActMechanicAction(this.d91_1.m8t_1, this.d91_1.n8t_1, this.d91_1.o8t_1);
50040
+ tmp_2.k91_1 = listOf(mechanicAction);
49991
50041
  this.r8_1 = 2;
49992
50042
  continue $sm;
49993
50043
  } else {
49994
50044
  if (tmp0_subject instanceof SceneActEndedMechanicAction) {
49995
50045
  var tmp_3 = this;
49996
- var navigationCommand = this.f91_1.e8p(this.c91_1.p8t_1, this.e91_1);
50046
+ var navigationCommand = this.g91_1.e8p(this.d91_1.p8t_1, this.f91_1);
49997
50047
  var tmp_4;
49998
50048
  if (navigationCommand instanceof FinishActNext) {
49999
- tmp_4 = listOf(new SceneEndedMechanicAction(this.e91_1.sceneInfo.t7p_1));
50049
+ tmp_4 = listOf(new SceneEndedMechanicAction(this.f91_1.sceneInfo.t7p_1));
50000
50050
  } else {
50001
50051
  if (navigationCommand instanceof MoveActNext) {
50002
50052
  var tmp9_actId = navigationCommand.k8p_1;
50003
- var tmp0 = this.e91_1.sceneInfo.w7p_1;
50053
+ var tmp0 = this.f91_1.sceneInfo.w7p_1;
50004
50054
  var tmp$ret$2;
50005
50055
  l$ret$3: do {
50006
50056
  if (!(tmp0 == null) ? isInterface(tmp0, SceneData) : false) {
@@ -50012,13 +50062,13 @@
50012
50062
  while (false);
50013
50063
  var tmp10_sceneData = tmp$ret$2;
50014
50064
  var tmp11_payload = navigationCommand.l8p_1;
50015
- var actData = this.d91_1.s8o(tmp9_actId, tmp10_sceneData, tmp11_payload, this.e91_1);
50016
- tmp_4 = listOf(new SceneActStartedMechanicAction(this.e91_1.sceneInfo.t7p_1, navigationCommand.k8p_1, actData));
50065
+ var actData = this.e91_1.s8o(tmp9_actId, tmp10_sceneData, tmp11_payload, this.f91_1);
50066
+ tmp_4 = listOf(new SceneActStartedMechanicAction(this.f91_1.sceneInfo.t7p_1, navigationCommand.k8p_1, actData));
50017
50067
  } else {
50018
50068
  noWhenBranchMatchedException();
50019
50069
  }
50020
50070
  }
50021
- tmp_3.j91_1 = tmp_4;
50071
+ tmp_3.k91_1 = tmp_4;
50022
50072
  this.r8_1 = 2;
50023
50073
  continue $sm;
50024
50074
  } else {
@@ -50032,19 +50082,19 @@
50032
50082
  break;
50033
50083
  case 1:
50034
50084
  var sceneData = suspendResult;
50035
- var navigationActCommand = this.f91_1.b8p(sceneData, this.e91_1);
50085
+ var navigationActCommand = this.g91_1.b8p(sceneData, this.f91_1);
50036
50086
  var tmp_6;
50037
50087
  if (navigationActCommand == null) {
50038
50088
  tmp_6 = null;
50039
50089
  } else {
50040
50090
  var tmp0_actId = navigationActCommand.k8p_1;
50041
50091
  var tmp1_payload = navigationActCommand.l8p_1;
50042
- tmp_6 = this.d91_1.s8o(tmp0_actId, sceneData, tmp1_payload, this.e91_1);
50092
+ tmp_6 = this.e91_1.s8o(tmp0_actId, sceneData, tmp1_payload, this.f91_1);
50043
50093
  }
50044
50094
 
50045
50095
  var actData_0 = tmp_6;
50046
- var state = this.g91_1.state;
50047
- this.h91_1.z8o(state.w6h_1, 'Timers are not empty before scene ' + this.c91_1.k8t_1);
50096
+ var state = this.h91_1.state;
50097
+ this.i91_1.z8o(state.w6h_1, 'Timers are not empty before scene ' + this.d91_1.k8t_1);
50048
50098
  var tmp_7;
50049
50099
  if (equals(state.j6i().config.dealerStrategy, DealerStrategy_REQUEST_HOST_STANDARD_getInstance())) {
50050
50100
  var tmp2_safe_receiver = state.j6i().sceneInfo.x7p_1;
@@ -50070,18 +50120,18 @@
50070
50120
  }
50071
50121
 
50072
50122
  var currentTurnPlayerId = tmp_7;
50073
- var tmp5_sceneId = this.c91_1.k8t_1;
50123
+ var tmp5_sceneId = this.d91_1.k8t_1;
50074
50124
  var tmp6_actId = actData_0 == null ? null : actData_0.actId;
50075
50125
  var mechanicAction_0 = new SceneMechanicAction(currentTurnPlayerId, tmp5_sceneId, tmp6_actId, sceneData, actData_0);
50076
- this.j91_1 = listOfNotNull_0(mechanicAction_0);
50126
+ this.k91_1 = listOfNotNull_0(mechanicAction_0);
50077
50127
  this.r8_1 = 2;
50078
50128
  continue $sm;
50079
50129
  case 2:
50080
- var navigationActions = this.j91_1;
50130
+ var navigationActions = this.k91_1;
50081
50131
  var _iterator__ex2g4s = navigationActions.l();
50082
50132
  while (_iterator__ex2g4s.m()) {
50083
50133
  var element = _iterator__ex2g4s.n();
50084
- this.g91_1.dispatch(element);
50134
+ this.h91_1.dispatch(element);
50085
50135
  }
50086
50136
 
50087
50137
  return Unit_instance;
@@ -50100,8 +50150,8 @@
50100
50150
  while (true);
50101
50151
  };
50102
50152
  protoOf(sceneLifecycleMiddleware$o$handle$slambda).i2d = function ($this$launchDefault, completion) {
50103
- var i = new sceneLifecycleMiddleware$o$handle$slambda(this.c91_1, this.d91_1, this.e91_1, this.f91_1, this.g91_1, this.h91_1, completion);
50104
- i.i91_1 = $this$launchDefault;
50153
+ var i = new sceneLifecycleMiddleware$o$handle$slambda(this.d91_1, this.e91_1, this.f91_1, this.g91_1, this.h91_1, this.i91_1, completion);
50154
+ i.j91_1 = $this$launchDefault;
50105
50155
  return i;
50106
50156
  };
50107
50157
  function sceneLifecycleMiddleware$o$handle$slambda_0($action, $sceneFactory, $table, $router, $store, $sceneValidationInteractor, resultContinuation) {
@@ -50113,10 +50163,10 @@
50113
50163
  return l;
50114
50164
  }
50115
50165
  function sceneLifecycleMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $sceneFactory, $router, $sceneValidationInteractor) {
50116
- this.k91_1 = $asyncProvider;
50117
- this.l91_1 = $sceneFactory;
50118
- this.m91_1 = $router;
50119
- this.n91_1 = $sceneValidationInteractor;
50166
+ this.l91_1 = $asyncProvider;
50167
+ this.m91_1 = $sceneFactory;
50168
+ this.n91_1 = $router;
50169
+ this.o91_1 = $sceneValidationInteractor;
50120
50170
  }
50121
50171
  protoOf(sceneLifecycleMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
50122
50172
  return action instanceof SceneLifecycleAction;
@@ -50125,7 +50175,7 @@
50125
50175
  var action_0 = action instanceof SceneLifecycleAction ? action : THROW_CCE();
50126
50176
  var table = store.state.j6i();
50127
50177
  next(action_0);
50128
- this.k91_1.k6a(VOID, sceneLifecycleMiddleware$o$handle$slambda_0(action_0, this.l91_1, table, this.m91_1, store, this.n91_1, null));
50178
+ this.l91_1.k6a(VOID, sceneLifecycleMiddleware$o$handle$slambda_0(action_0, this.m91_1, table, this.n91_1, store, this.o91_1, null));
50129
50179
  };
50130
50180
  protoOf(sceneLifecycleMiddleware$$inlined$middlewareForActionType$1).o6d = function (store, next, action) {
50131
50181
  return this.e6f(store, next, action);
@@ -50171,7 +50221,7 @@
50171
50221
  return new checkCardDuplicatesForBribesMiddleware$$inlined$middlewareForActionType$1(logger);
50172
50222
  }
50173
50223
  function checkCardDuplicatesForBribesMiddleware$$inlined$middlewareForActionType$1($logger) {
50174
- this.o91_1 = $logger;
50224
+ this.p91_1 = $logger;
50175
50225
  }
50176
50226
  protoOf(checkCardDuplicatesForBribesMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
50177
50227
  return action instanceof PutCardMechanicAction;
@@ -50204,7 +50254,7 @@
50204
50254
  var bribes = destination;
50205
50255
  // Inline function 'kotlin.collections.isNotEmpty' call
50206
50256
  if (!bribes.r()) {
50207
- this.o91_1.w('Validation', 'Card already exists in previous bribes, card = ' + action_0.t8m_1.toString() + ', bribes = ' + toString(bribes));
50257
+ this.p91_1.w('Validation', 'Card already exists in previous bribes, card = ' + action_0.t8m_1.toString() + ', bribes = ' + toString(bribes));
50208
50258
  }
50209
50259
  }
50210
50260
  next(action_0);
@@ -50217,7 +50267,7 @@
50217
50267
  return new checkCardDuplicatesForScenesMiddleware$$inlined$middlewareForActionType$1(logger);
50218
50268
  }
50219
50269
  function checkCardDuplicatesForScenesMiddleware$$inlined$middlewareForActionType$1($logger) {
50220
- this.p91_1 = $logger;
50270
+ this.q91_1 = $logger;
50221
50271
  }
50222
50272
  protoOf(checkCardDuplicatesForScenesMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
50223
50273
  return action instanceof SceneMechanicAction;
@@ -50434,7 +50484,7 @@
50434
50484
  }
50435
50485
  var notValidMessage = tmp;
50436
50486
  if (!(notValidMessage == null)) {
50437
- this.p91_1.w('Validation', toString_0(notValidMessage));
50487
+ this.q91_1.w('Validation', toString_0(notValidMessage));
50438
50488
  }
50439
50489
  }
50440
50490
  }
@@ -50525,7 +50575,7 @@
50525
50575
  };
50526
50576
  }
50527
50577
  function checkGameIsFinishedTimerTickMiddleware$$inlined$middlewareForActionType$1($logger) {
50528
- this.q91_1 = $logger;
50578
+ this.r91_1 = $logger;
50529
50579
  }
50530
50580
  protoOf(checkGameIsFinishedTimerTickMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
50531
50581
  return action instanceof TimerTickAction;
@@ -50534,7 +50584,7 @@
50534
50584
  var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
50535
50585
  var tmp = action_0.k6d_1;
50536
50586
  if (tmp instanceof GameIsNotFinishedTimerTag) {
50537
- this.q91_1.w('Validation', 'CheckGameISNotFinishedMiddleware: finish event is nor received');
50587
+ this.r91_1.w('Validation', 'CheckGameISNotFinishedMiddleware: finish event is nor received');
50538
50588
  store.dispatch(new FinishGameMechanicAction(store.state.m8p().p8p_1, store.state.j6i().isGameFinished));
50539
50589
  }
50540
50590
  next(action_0);
@@ -50600,7 +50650,7 @@
50600
50650
  return new checkGameTestPointsMiddleware$$inlined$middlewareForActionType$1(logger);
50601
50651
  }
50602
50652
  function checkGameTestPointsMiddleware$$inlined$middlewareForActionType$1($logger) {
50603
- this.r91_1 = $logger;
50653
+ this.s91_1 = $logger;
50604
50654
  }
50605
50655
  protoOf(checkGameTestPointsMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
50606
50656
  return isInterface(action, FirstMechanicAction);
@@ -50608,7 +50658,7 @@
50608
50658
  protoOf(checkGameTestPointsMiddleware$$inlined$middlewareForActionType$1).e6f = function (store, next, action) {
50609
50659
  var action_0 = isInterface(action, FirstMechanicAction) ? action : THROW_CCE();
50610
50660
  if (action_0.config.pointsMode.equals(PointsMode_TEST_getInstance())) {
50611
- this.r91_1.e(VOID, "checkGameTestPointsMiddleware: can't start game with the test mode points");
50661
+ this.s91_1.e(VOID, "checkGameTestPointsMiddleware: can't start game with the test mode points");
50612
50662
  }
50613
50663
  next(action_0);
50614
50664
  };
@@ -50624,7 +50674,7 @@
50624
50674
  return new checkValidSceneActMiddleware$$inlined$middlewareForActionType$1(logger);
50625
50675
  }
50626
50676
  function checkValidSceneMiddleware$$inlined$middlewareForActionType$1($logger) {
50627
- this.s91_1 = $logger;
50677
+ this.t91_1 = $logger;
50628
50678
  }
50629
50679
  protoOf(checkValidSceneMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
50630
50680
  return action instanceof SceneMechanicAction;
@@ -50635,7 +50685,7 @@
50635
50685
  if (state.k6i()) {
50636
50686
  var sceneInfo = state.j6i().sceneInfo;
50637
50687
  if (!get_isWaitingScene(sceneInfo.t7p_1) && Companion_instance_5.r6i(sceneInfo.t7p_1, action_0.k8m_1) && equals(sceneInfo.w7p_1, action_0.sceneData)) {
50638
- this.s91_1.e('Validation', 'CheckValidSceneMiddleware', new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
50688
+ this.t91_1.e('Validation', 'CheckValidSceneMiddleware', new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
50639
50689
  }
50640
50690
  }
50641
50691
  next(action_0);
@@ -50644,7 +50694,7 @@
50644
50694
  return this.e6f(store, next, action);
50645
50695
  };
50646
50696
  function checkValidSceneActMiddleware$$inlined$middlewareForActionType$1($logger) {
50647
- this.t91_1 = $logger;
50697
+ this.u91_1 = $logger;
50648
50698
  }
50649
50699
  protoOf(checkValidSceneActMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
50650
50700
  return action instanceof SceneActMechanicAction;
@@ -50655,7 +50705,7 @@
50655
50705
  if (state.k6i()) {
50656
50706
  var sceneInfo = state.j6i().sceneInfo;
50657
50707
  if (Companion_instance_5.r6i(sceneInfo.t7p_1, action_0.c8m_1) && sceneInfo.v7p_1 === action_0.d8m_1 && equals(sceneInfo.x7p_1, action_0.e8m_1)) {
50658
- this.t91_1.e('Validation', 'CheckValidSceneActMiddleware', new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
50708
+ this.u91_1.e('Validation', 'CheckValidSceneActMiddleware', new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
50659
50709
  }
50660
50710
  }
50661
50711
  next(action_0);
@@ -50715,7 +50765,7 @@
50715
50765
  tmp(new ErrorToClientAction(tmp4_error, tmp3_deliveryPayload));
50716
50766
  }
50717
50767
  function FromClientValidationMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
50718
- this.u91_1 = this$0;
50768
+ this.v91_1 = this$0;
50719
50769
  }
50720
50770
  protoOf(FromClientValidationMiddleware$middleware$$inlined$middlewareForActionType$1).p6d = function (action) {
50721
50771
  return action instanceof FromClientAction;
@@ -50741,18 +50791,18 @@
50741
50791
  var tmp$ret$1 = item.playerId;
50742
50792
  destination.j(tmp$ret$1);
50743
50793
  }
50744
- this.u91_1.a8w_1.w(VOID, 'checkEventFromCorrectPlayerMiddleware: ' + tmp + ('expected = ' + toString(destination)));
50794
+ this.v91_1.a8w_1.w(VOID, 'checkEventFromCorrectPlayerMiddleware: ' + tmp + ('expected = ' + toString(destination)));
50745
50795
  break $l$block_3;
50746
50796
  }
50747
50797
  if (!get_isCreated(store.state)) {
50748
50798
  if (table.sceneInfo.n76()) {
50749
- this.u91_1.a8w_1.d('Validation', "Player sends ready for next game but it's finished already, state: " + store.state.gameLifecycleState.toString() + ', action: ' + toString(tmp4));
50799
+ this.v91_1.a8w_1.d('Validation', "Player sends ready for next game but it's finished already, state: " + store.state.gameLifecycleState.toString() + ', action: ' + toString(tmp4));
50750
50800
  } else {
50751
50801
  var message = 'Game is ' + store.state.gameLifecycleState.toString() + ', action: ' + toString(tmp4);
50752
- if (this.u91_1.c8w_1) {
50753
- sendErrorToClient(this.u91_1, store, player.playerId, message, Reason_GAME_NOT_EXISTS_getInstance());
50802
+ if (this.v91_1.c8w_1) {
50803
+ sendErrorToClient(this.v91_1, store, player.playerId, message, Reason_GAME_NOT_EXISTS_getInstance());
50754
50804
  }
50755
- this.u91_1.a8w_1.w('Validation', message, VOID, new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
50805
+ this.v91_1.a8w_1.w('Validation', message, VOID, new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
50756
50806
  }
50757
50807
  break $l$block_3;
50758
50808
  }
@@ -50760,18 +50810,18 @@
50760
50810
  var connectionState = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t65_1;
50761
50811
  if (!(connectionState == null) && !connectionState.isLive && !tmp4.fromBot) {
50762
50812
  var message_0 = 'Player connection state is not alive:' + ('playerId = ' + player.playerId);
50763
- if (this.u91_1.c8w_1) {
50764
- sendErrorToClient(this.u91_1, store, player.playerId, message_0, Reason_PLAYER_DISCONNECTED_getInstance());
50813
+ if (this.v91_1.c8w_1) {
50814
+ sendErrorToClient(this.v91_1, store, player.playerId, message_0, Reason_PLAYER_DISCONNECTED_getInstance());
50765
50815
  }
50766
- this.u91_1.a8w_1.w('Validation', message_0 + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_PLAYER_DISCONNECTED_getInstance()));
50816
+ this.v91_1.a8w_1.w('Validation', message_0 + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_PLAYER_DISCONNECTED_getInstance()));
50767
50817
  break $l$block_3;
50768
50818
  }
50769
- if (this.u91_1.b8w_1 && checkIfEventIsDuplicated(this.u91_1, table, tmp4)) {
50819
+ if (this.v91_1.b8w_1 && checkIfEventIsDuplicated(this.v91_1, table, tmp4)) {
50770
50820
  var message_1 = 'Player send duplicated event:' + ('playerId = ' + player.playerId);
50771
- if (this.u91_1.c8w_1) {
50772
- sendErrorToClient(this.u91_1, store, player.playerId, message_1, Reason_DUPLICATED_PLAYER_ANSWER_getInstance());
50821
+ if (this.v91_1.c8w_1) {
50822
+ sendErrorToClient(this.v91_1, store, player.playerId, message_1, Reason_DUPLICATED_PLAYER_ANSWER_getInstance());
50773
50823
  }
50774
- this.u91_1.a8w_1.w('Validation', message_1 + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_DUPLICATED_PLAYER_ANSWER_getInstance()));
50824
+ this.v91_1.a8w_1.w('Validation', message_1 + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_DUPLICATED_PLAYER_ANSWER_getInstance()));
50775
50825
  break $l$block_3;
50776
50826
  }
50777
50827
  next(tmp4);
@@ -50821,8 +50871,8 @@
50821
50871
  tmp(new ErrorToClientAction(tmp1_error, tmp0_deliveryPayload));
50822
50872
  }
50823
50873
  function PlayerConnectionValidationMiddlewares$middleware$$inlined$middlewareForActionType$1($enableCheckWhen, this$0) {
50824
- this.v91_1 = $enableCheckWhen;
50825
- this.w91_1 = this$0;
50874
+ this.w91_1 = $enableCheckWhen;
50875
+ this.x91_1 = this$0;
50826
50876
  }
50827
50877
  protoOf(PlayerConnectionValidationMiddlewares$middleware$$inlined$middlewareForActionType$1).p6d = function (action) {
50828
50878
  return action instanceof PlayerConnectionUpdateAction;
@@ -50831,7 +50881,7 @@
50831
50881
  var tmp4 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
50832
50882
  $l$block_1: {
50833
50883
  var state = store.state;
50834
- if (!isEnabledCheck(this.v91_1, state, tmp4)) {
50884
+ if (!isEnabledCheck(this.w91_1, state, tmp4)) {
50835
50885
  next(tmp4);
50836
50886
  break $l$block_1;
50837
50887
  }
@@ -50847,23 +50897,23 @@
50847
50897
  var tmp$ret$1 = item.playerId;
50848
50898
  destination.j(tmp$ret$1);
50849
50899
  }
50850
- this.w91_1.i8w_1.w(VOID, 'checkValidPlayerConnectionUpdateMiddleware: ' + tmp + ('expected = ' + toString(destination)));
50900
+ this.x91_1.i8w_1.w(VOID, 'checkValidPlayerConnectionUpdateMiddleware: ' + tmp + ('expected = ' + toString(destination)));
50851
50901
  break $l$block_1;
50852
50902
  }
50853
50903
  var table = store.state.j6i();
50854
50904
  var player = getPlayer(table.players, tmp4.w8p_1);
50855
50905
  var tmp0_safe_receiver = player.h6q_1.n65_1;
50856
50906
  var connectionState = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t65_1;
50857
- var _destruct__k2r9zo = isDuplicateConnectionState(this.w91_1, connectionState, tmp4.v8p_1);
50907
+ var _destruct__k2r9zo = isDuplicateConnectionState(this.x91_1, connectionState, tmp4.v8p_1);
50858
50908
  var duplicate = _destruct__k2r9zo.ne();
50859
50909
  var report = _destruct__k2r9zo.oe();
50860
50910
  if (!(connectionState == null) && duplicate) {
50861
50911
  var message = 'Player connection state the same ' + connectionState.toString() + ':' + ('playerId = ' + player.playerId);
50862
50912
  if (report) {
50863
- if (this.w91_1.j8w_1) {
50864
- sendErrorToClient_0(this.w91_1, store, player.playerId, message, Reason_PLAYER_DISCONNECTED_getInstance());
50913
+ if (this.x91_1.j8w_1) {
50914
+ sendErrorToClient_0(this.x91_1, store, player.playerId, message, Reason_PLAYER_DISCONNECTED_getInstance());
50865
50915
  }
50866
- this.w91_1.i8w_1.w('Validation', message + ', action: ' + tmp4.toString(), VOID, new GameErrorReason(Reason_PLAYER_DISCONNECTED_getInstance()));
50916
+ this.x91_1.i8w_1.w('Validation', message + ', action: ' + tmp4.toString(), VOID, new GameErrorReason(Reason_PLAYER_DISCONNECTED_getInstance()));
50867
50917
  }
50868
50918
  break $l$block_1;
50869
50919
  } else {
@@ -50879,13 +50929,13 @@
50879
50929
  this.i8w_1 = logger;
50880
50930
  this.j8w_1 = sendErrorToClient;
50881
50931
  }
50882
- protoOf(PlayerConnectionValidationMiddlewares).x91 = function (enableCheckWhen) {
50932
+ protoOf(PlayerConnectionValidationMiddlewares).y91 = function (enableCheckWhen) {
50883
50933
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
50884
50934
  return new PlayerConnectionValidationMiddlewares$middleware$$inlined$middlewareForActionType$1(enableCheckWhen, this);
50885
50935
  };
50886
50936
  protoOf(PlayerConnectionValidationMiddlewares).k8w = function (enableCheckWhen, $super) {
50887
50937
  enableCheckWhen = enableCheckWhen === VOID ? emptyList() : enableCheckWhen;
50888
- return $super === VOID ? this.x91(enableCheckWhen) : $super.x91.call(this, enableCheckWhen);
50938
+ return $super === VOID ? this.y91(enableCheckWhen) : $super.y91.call(this, enableCheckWhen);
50889
50939
  };
50890
50940
  function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$o$handle$lambda(this$0, $action, $table) {
50891
50941
  return function () {
@@ -51030,8 +51080,8 @@
51030
51080
  tmp(new ErrorToClientAction(tmp1_error, tmp0_deliveryPayload));
51031
51081
  }
51032
51082
  function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$$inlined$middlewareForActionType$1($enableCheckWhen, this$0) {
51033
- this.y91_1 = $enableCheckWhen;
51034
- this.z91_1 = this$0;
51083
+ this.z91_1 = $enableCheckWhen;
51084
+ this.a92_1 = this$0;
51035
51085
  }
51036
51086
  protoOf(PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
51037
51087
  return isInterface(action, PlayerAnswerFromClientAction);
@@ -51040,19 +51090,19 @@
51040
51090
  var tmp4 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
51041
51091
  $l$block_1: {
51042
51092
  var state = store.state;
51043
- if (!isEnabledCheck(this.y91_1, state, tmp4)) {
51093
+ if (!isEnabledCheck(this.z91_1, state, tmp4)) {
51044
51094
  next(tmp4);
51045
51095
  break $l$block_1;
51046
51096
  }
51047
51097
  var table = state.j6i();
51048
51098
  var playersWithTurn = filterPlayerTurn(table.players);
51049
51099
  var player = getPlayer(table.players, tmp4.playerId);
51050
- if (isWrongPlayerTurn(this.z91_1, store, playersWithTurn, player, tmp4)) {
51100
+ if (isWrongPlayerTurn(this.a92_1, store, playersWithTurn, player, tmp4)) {
51051
51101
  break $l$block_1;
51052
51102
  }
51053
51103
  var tmp;
51054
- if (this.z91_1.t8v_1.validateFromClientActionTags) {
51055
- tmp = isWrongPlayerTurnTag$default(this.z91_1, store, playersWithTurn, player, tmp4, PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$o$handle$lambda(this.z91_1, tmp4, table));
51104
+ if (this.a92_1.t8v_1.validateFromClientActionTags) {
51105
+ tmp = isWrongPlayerTurnTag$default(this.a92_1, store, playersWithTurn, player, tmp4, PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$o$handle$lambda(this.a92_1, tmp4, table));
51056
51106
  } else {
51057
51107
  tmp = false;
51058
51108
  }
@@ -51066,8 +51116,8 @@
51066
51116
  return this.e6f(store, next, action);
51067
51117
  };
51068
51118
  function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$$inlined$middlewareForActionType$1($enableCheckWhen, this$0) {
51069
- this.a92_1 = $enableCheckWhen;
51070
- this.b92_1 = this$0;
51119
+ this.b92_1 = $enableCheckWhen;
51120
+ this.c92_1 = this$0;
51071
51121
  }
51072
51122
  protoOf(PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
51073
51123
  return isInterface(action, PlayerTurnAnswerAction);
@@ -51077,17 +51127,17 @@
51077
51127
  $l$block_1: {
51078
51128
  var table = store.state.j6i();
51079
51129
  var player = getPlayerTurn(tmp4, table.players);
51080
- if (player == null || !isEnabledCheck(this.a92_1, store.state, tmp4)) {
51130
+ if (player == null || !isEnabledCheck(this.b92_1, store.state, tmp4)) {
51081
51131
  next(tmp4);
51082
51132
  break $l$block_1;
51083
51133
  }
51084
51134
  var playersWithTurn = filterPlayerTurn(table.players);
51085
- if (isWrongPlayerTurn(this.b92_1, store, playersWithTurn, player, tmp4)) {
51135
+ if (isWrongPlayerTurn(this.c92_1, store, playersWithTurn, player, tmp4)) {
51086
51136
  break $l$block_1;
51087
51137
  }
51088
51138
  var tmp;
51089
- if (this.b92_1.t8v_1.validateFromClientActionTags) {
51090
- tmp = isWrongPlayerTurnTag(this.b92_1, store, playersWithTurn, player, tmp4, PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$o$handle$lambda(this.b92_1, tmp4, table), this.b92_1.s8v_1);
51139
+ if (this.c92_1.t8v_1.validateFromClientActionTags) {
51140
+ tmp = isWrongPlayerTurnTag(this.c92_1, store, playersWithTurn, player, tmp4, PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$o$handle$lambda(this.c92_1, tmp4, table), this.c92_1.s8v_1);
51091
51141
  } else {
51092
51142
  tmp = false;
51093
51143
  }
@@ -51101,8 +51151,8 @@
51101
51151
  return this.e6f(store, next, action);
51102
51152
  };
51103
51153
  function PlayerTurnValidationMiddlewares$checkValidNextPlayerTurnMiddleware$$inlined$middlewareForActionType$1($enableCheckWhen, this$0) {
51104
- this.c92_1 = $enableCheckWhen;
51105
- this.d92_1 = this$0;
51154
+ this.d92_1 = $enableCheckWhen;
51155
+ this.e92_1 = this$0;
51106
51156
  }
51107
51157
  protoOf(PlayerTurnValidationMiddlewares$checkValidNextPlayerTurnMiddleware$$inlined$middlewareForActionType$1).p6d = function (action) {
51108
51158
  return isInterface(action, NextPlayerTurnAction);
@@ -51111,7 +51161,7 @@
51111
51161
  var tmp4 = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
51112
51162
  $l$block_1: {
51113
51163
  var state = store.state;
51114
- if (!isEnabledCheck(this.c92_1, state, tmp4)) {
51164
+ if (!isEnabledCheck(this.d92_1, state, tmp4)) {
51115
51165
  next(tmp4);
51116
51166
  break $l$block_1;
51117
51167
  }
@@ -51146,7 +51196,7 @@
51146
51196
  destination.j(tmp$ret$3);
51147
51197
  }
51148
51198
  var message = 'Player turn is already set: ' + ('expected = ' + toString(destination) + ', ') + ('actual = ' + toString(tmp4.e8s()));
51149
- this.d92_1.u8v_1.w('Validation', message + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
51199
+ this.e92_1.u8v_1.w('Validation', message + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
51150
51200
  } else {
51151
51201
  next(tmp4);
51152
51202
  }
@@ -51174,23 +51224,23 @@
51174
51224
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
51175
51225
  return new PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$$inlined$middlewareForActionType$1(enableCheckWhen, this);
51176
51226
  };
51177
- protoOf(PlayerTurnValidationMiddlewares).e92 = function (enableCheckWhen) {
51227
+ protoOf(PlayerTurnValidationMiddlewares).f92 = function (enableCheckWhen) {
51178
51228
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
51179
51229
  return new PlayerTurnValidationMiddlewares$checkValidNextPlayerTurnMiddleware$$inlined$middlewareForActionType$1(enableCheckWhen, this);
51180
51230
  };
51181
51231
  protoOf(PlayerTurnValidationMiddlewares).y8v = function (enableCheckWhen, $super) {
51182
51232
  enableCheckWhen = enableCheckWhen === VOID ? emptyList() : enableCheckWhen;
51183
- return $super === VOID ? this.e92(enableCheckWhen) : $super.e92.call(this, enableCheckWhen);
51233
+ return $super === VOID ? this.f92(enableCheckWhen) : $super.f92.call(this, enableCheckWhen);
51184
51234
  };
51185
51235
  function Companion_164() {
51186
- this.f92_1 = 50;
51236
+ this.g92_1 = 50;
51187
51237
  }
51188
51238
  var Companion_instance_169;
51189
51239
  function Companion_getInstance_171() {
51190
51240
  return Companion_instance_169;
51191
51241
  }
51192
51242
  function ToClientValidationMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
51193
- this.g92_1 = this$0;
51243
+ this.h92_1 = this$0;
51194
51244
  }
51195
51245
  protoOf(ToClientValidationMiddleware$middleware$$inlined$middlewareForActionType$1).p6d = function (action) {
51196
51246
  return action instanceof MechanicAction;
@@ -51201,19 +51251,19 @@
51201
51251
  var aid = tmp4.aid;
51202
51252
  if (!store.state.k6i()) {
51203
51253
  if (!(aid == null)) {
51204
- this.g92_1.f8w_1.nd(aid);
51254
+ this.h92_1.f8w_1.nd(aid);
51205
51255
  }
51206
51256
  next(tmp4);
51207
51257
  break $l$block_0;
51208
51258
  }
51209
- if (!(aid == null) && this.g92_1.f8w_1.t1(aid)) {
51210
- this.g92_1.e8w_1.w(VOID, 'ToClientValidationMiddleware: duplicated action from server, action = ' + parseActionName(tmp4) + ', aid = ' + tmp4.aid);
51259
+ if (!(aid == null) && this.h92_1.f8w_1.t1(aid)) {
51260
+ this.h92_1.e8w_1.w(VOID, 'ToClientValidationMiddleware: duplicated action from server, action = ' + parseActionName(tmp4) + ', aid = ' + tmp4.aid);
51211
51261
  break $l$block_0;
51212
51262
  }
51213
51263
  if (!(aid == null)) {
51214
- this.g92_1.f8w_1.nd(aid);
51215
- if (this.g92_1.f8w_1.jd_1 > 50) {
51216
- this.g92_1.f8w_1.od();
51264
+ this.h92_1.f8w_1.nd(aid);
51265
+ if (this.h92_1.f8w_1.jd_1 > 50) {
51266
+ this.h92_1.f8w_1.od();
51217
51267
  }
51218
51268
  }
51219
51269
  next(tmp4);
@@ -51239,12 +51289,12 @@
51239
51289
  protoOf(clearReducer$$inlined$reducerForActionType$1).p6d = function (action) {
51240
51290
  return action instanceof ClearAction;
51241
51291
  };
51242
- protoOf(clearReducer$$inlined$reducerForActionType$1).h92 = function (state, action) {
51292
+ protoOf(clearReducer$$inlined$reducerForActionType$1).i92 = function (state, action) {
51243
51293
  action instanceof ClearAction || THROW_CCE();
51244
51294
  return state.o8p(VOID, VOID, GameLifecycleState_FINISHED_getInstance());
51245
51295
  };
51246
51296
  protoOf(clearReducer$$inlined$reducerForActionType$1).f6f = function (state, action) {
51247
- return this.h92((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
51297
+ return this.i92((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
51248
51298
  };
51249
51299
  function fromClientReducer() {
51250
51300
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
@@ -51255,7 +51305,7 @@
51255
51305
  protoOf(fromClientReducer$$inlined$reducerForActionType$1).p6d = function (action) {
51256
51306
  return action instanceof FromClientAction;
51257
51307
  };
51258
- protoOf(fromClientReducer$$inlined$reducerForActionType$1).h92 = function (state, action) {
51308
+ protoOf(fromClientReducer$$inlined$reducerForActionType$1).i92 = function (state, action) {
51259
51309
  var action_0 = action instanceof FromClientAction ? action : THROW_CCE();
51260
51310
  var tmp;
51261
51311
  var tmp_0;
@@ -51306,11 +51356,11 @@
51306
51356
  return tmp;
51307
51357
  };
51308
51358
  protoOf(fromClientReducer$$inlined$reducerForActionType$1).f6f = function (state, action) {
51309
- return this.h92((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
51359
+ return this.i92((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
51310
51360
  };
51311
51361
  function MechanicReducers$reducer$o$reduce$lambda(this$0, $action) {
51312
51362
  return function (tbl) {
51313
- return this$0.y8u_1.o92(tbl, $action.k8m_1, $action.sceneData, $action.l8m_1, $action.m8m_1);
51363
+ return this$0.y8u_1.p92(tbl, $action.k8m_1, $action.sceneData, $action.l8m_1, $action.m8m_1);
51314
51364
  };
51315
51365
  }
51316
51366
  function MechanicReducers$reducer$o$reduce$lambda_0($action, this$0) {
@@ -51319,22 +51369,22 @@
51319
51369
  if ($action.l8m_1 == null) {
51320
51370
  tmp = tbl;
51321
51371
  } else {
51322
- tmp = this$0.z8u_1.p92(tbl, $action);
51372
+ tmp = this$0.z8u_1.q92(tbl, $action);
51323
51373
  }
51324
51374
  return tmp;
51325
51375
  };
51326
51376
  }
51327
51377
  function MechanicReducers$reducer$$inlined$reducerForActionType$1(this$0) {
51328
- this.q92_1 = this$0;
51378
+ this.r92_1 = this$0;
51329
51379
  }
51330
51380
  protoOf(MechanicReducers$reducer$$inlined$reducerForActionType$1).p6d = function (action) {
51331
51381
  return action instanceof MechanicAction;
51332
51382
  };
51333
- protoOf(MechanicReducers$reducer$$inlined$reducerForActionType$1).h92 = function (state, action) {
51383
+ protoOf(MechanicReducers$reducer$$inlined$reducerForActionType$1).i92 = function (state, action) {
51334
51384
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
51335
- if (this.q92_1.a8v_1.validateIfMainThread) {
51385
+ if (this.r92_1.a8v_1.validateIfMainThread) {
51336
51386
  // Inline function 'games.logic.utils.runSafeOnProd' call
51337
- var logger = this.q92_1.b8v_1;
51387
+ var logger = this.r92_1.b8v_1;
51338
51388
  var tmp;
51339
51389
  try {
51340
51390
  assertIfMainThread('mechanicReducer is called from main thread for action = ' + toString(action_0));
@@ -51355,50 +51405,50 @@
51355
51405
  }
51356
51406
  var tmp_1;
51357
51407
  if (action_0 instanceof StartGameMechanicAction) {
51358
- tmp_1 = this.q92_1.s8u_1.x93(state, action_0);
51408
+ tmp_1 = this.r92_1.s8u_1.y93(state, action_0);
51359
51409
  } else {
51360
51410
  if (action_0 instanceof StartNewGameMechanicAction) {
51361
- tmp_1 = this.q92_1.s8u_1.w93(state, action_0);
51411
+ tmp_1 = this.r92_1.s8u_1.x93(state, action_0);
51362
51412
  } else {
51363
51413
  if (action_0 instanceof ContinueGameMechanicAction) {
51364
- tmp_1 = this.q92_1.s8u_1.v93(state, action_0);
51414
+ tmp_1 = this.r92_1.s8u_1.w93(state, action_0);
51365
51415
  } else {
51366
51416
  if (action_0 instanceof FinishingGameMechanicAction) {
51367
- tmp_1 = this.q92_1.s8u_1.u93(state, action_0);
51417
+ tmp_1 = this.r92_1.s8u_1.v93(state, action_0);
51368
51418
  } else {
51369
51419
  if (action_0 instanceof FinishGameMechanicAction) {
51370
- tmp_1 = this.q92_1.s8u_1.t93(state, action_0);
51420
+ tmp_1 = this.r92_1.s8u_1.u93(state, action_0);
51371
51421
  } else {
51372
51422
  if (action_0 instanceof RestartGameMechanicAction) {
51373
- tmp_1 = this.q92_1.s8u_1.s93(state, action_0);
51423
+ tmp_1 = this.r92_1.s8u_1.t93(state, action_0);
51374
51424
  } else {
51375
51425
  if (action_0 instanceof ErrorAction) {
51376
- tmp_1 = this.q92_1.s8u_1.r93(state, action_0);
51426
+ tmp_1 = this.r92_1.s8u_1.s93(state, action_0);
51377
51427
  } else {
51378
51428
  if (action_0 instanceof TeamsDataMechanicAction) {
51379
- tmp_1 = state.o8p(state.j6i().copy(VOID, VOID, VOID, VOID, this.q92_1.t8u_1.q93(state.j6i().players, action_0)));
51429
+ tmp_1 = state.o8p(state.j6i().copy(VOID, VOID, VOID, VOID, this.r92_1.t8u_1.r93(state.j6i().players, action_0)));
51380
51430
  } else {
51381
51431
  if (action_0 instanceof SuitChoiceMechanicAction) {
51382
- tmp_1 = this.q92_1.u8u_1.p93(state, action_0);
51432
+ tmp_1 = this.r92_1.u8u_1.q93(state, action_0);
51383
51433
  } else {
51384
51434
  if (action_0 instanceof TrumpMechanicAction) {
51385
- tmp_1 = this.q92_1.u8u_1.o93(state, action_0);
51435
+ tmp_1 = this.r92_1.u8u_1.p93(state, action_0);
51386
51436
  } else {
51387
51437
  if (action_0 instanceof CombinationChoiceMechanicAction) {
51388
- tmp_1 = this.q92_1.w8u_1.l93(state, action_0);
51438
+ tmp_1 = this.r92_1.w8u_1.m93(state, action_0);
51389
51439
  } else {
51390
51440
  if (action_0 instanceof PutCardMechanicAction) {
51391
- tmp_1 = this.q92_1.v8u_1.k93(state, action_0);
51441
+ tmp_1 = this.r92_1.v8u_1.l93(state, action_0);
51392
51442
  } else {
51393
51443
  if (action_0 instanceof PickUpBribeMechanicAction) {
51394
- tmp_1 = this.q92_1.v8u_1.j93(state, action_0);
51444
+ tmp_1 = this.r92_1.v8u_1.k93(state, action_0);
51395
51445
  } else {
51396
51446
  if (action_0 instanceof WinnerCombinationsMechanicAction) {
51397
- tmp_1 = this.q92_1.w8u_1.b93(state, action_0);
51447
+ tmp_1 = this.r92_1.w8u_1.c93(state, action_0);
51398
51448
  } else {
51399
51449
  if (action_0 instanceof SceneMechanicAction) {
51400
- var tmp_2 = MechanicReducers$reducer$o$reduce$lambda(this.q92_1, action_0);
51401
- var tmp0 = listOf_0([tmp_2, MechanicReducers$reducer$o$reduce$lambda_0(action_0, this.q92_1)]);
51450
+ var tmp_2 = MechanicReducers$reducer$o$reduce$lambda(this.r92_1, action_0);
51451
+ var tmp0 = listOf_0([tmp_2, MechanicReducers$reducer$o$reduce$lambda_0(action_0, this.r92_1)]);
51402
51452
  // Inline function 'kotlin.collections.fold' call
51403
51453
  var accumulator = state.j6i();
51404
51454
  var _iterator__ex2g4s = tmp0.l();
@@ -51410,13 +51460,13 @@
51410
51460
  tmp_1 = state.o8p(tmp$ret$3);
51411
51461
  } else {
51412
51462
  if (action_0 instanceof SceneActMechanicAction) {
51413
- tmp_1 = state.o8p(this.q92_1.z8u_1.p92(state.j6i(), action_0));
51463
+ tmp_1 = state.o8p(this.r92_1.z8u_1.q92(state.j6i(), action_0));
51414
51464
  } else {
51415
51465
  if (action_0 instanceof PlayerReadyMechanicAction) {
51416
- tmp_1 = state.o8p(this.q92_1.x8u_1.v92(state.j6i(), action_0));
51466
+ tmp_1 = state.o8p(this.r92_1.x8u_1.w92(state.j6i(), action_0));
51417
51467
  } else {
51418
51468
  if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
51419
- tmp_1 = state.o8p(this.q92_1.x8u_1.u92(state.j6i(), action_0.playerId, action_0.state, action_0.reconnectUntilTime));
51469
+ tmp_1 = state.o8p(this.r92_1.x8u_1.v92(state.j6i(), action_0.playerId, action_0.state, action_0.reconnectUntilTime));
51420
51470
  } else {
51421
51471
  if (action_0 instanceof MessageMechanicAction) {
51422
51472
  tmp_1 = state;
@@ -51444,7 +51494,7 @@
51444
51494
  return tmp_1;
51445
51495
  };
51446
51496
  protoOf(MechanicReducers$reducer$$inlined$reducerForActionType$1).f6f = function (state, action) {
51447
- return this.h92((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
51497
+ return this.i92((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
51448
51498
  };
51449
51499
  function MechanicReducers(gameLifecycleReducer, teamsMechanicReducer, tradeMechanicReducer, earnPointsMechanicReducer, combinationsMechanicReducer, playerTurnMechanicReducer, sceneReducer, sceneActReducer, engineLogicConfig, logger) {
51450
51500
  this.s8u_1 = gameLifecycleReducer;
@@ -51471,7 +51521,7 @@
51471
51521
  protoOf(timerReducer$$inlined$reducerForActionType$1).p6d = function (action) {
51472
51522
  return action instanceof TimerAction;
51473
51523
  };
51474
- protoOf(timerReducer$$inlined$reducerForActionType$1).h92 = function (state, action) {
51524
+ protoOf(timerReducer$$inlined$reducerForActionType$1).i92 = function (state, action) {
51475
51525
  var action_0 = action instanceof TimerAction ? action : THROW_CCE();
51476
51526
  var tmp;
51477
51527
  if (action_0 instanceof StartTimerAction) {
@@ -51499,7 +51549,7 @@
51499
51549
  return tmp;
51500
51550
  };
51501
51551
  protoOf(timerReducer$$inlined$reducerForActionType$1).f6f = function (state, action) {
51502
- return this.h92((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
51552
+ return this.i92((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
51503
51553
  };
51504
51554
  function playerTurnReducer($this, action, table) {
51505
51555
  var tmp0 = action.actData;
@@ -51604,7 +51654,7 @@
51604
51654
  }
51605
51655
  function SceneActReducer() {
51606
51656
  }
51607
- protoOf(SceneActReducer).p92 = function (table, action) {
51657
+ protoOf(SceneActReducer).q92 = function (table, action) {
51608
51658
  var tmp;
51609
51659
  if (action.actId === 'WAITING_ACT') {
51610
51660
  tmp = table.copy(VOID, VOID, VOID, VOID, VOID, VOID, table.sceneInfo.l8b(VOID, VOID, action.actId, VOID, action.actData));
@@ -51641,47 +51691,47 @@
51641
51691
  function MechanicLifecycleReducer() {
51642
51692
  }
51643
51693
  function BaseMechanicLifecycleReducer(tableLifecycleReducer, randomPoolProvider) {
51644
- this.y93_1 = tableLifecycleReducer;
51645
- this.z93_1 = randomPoolProvider;
51694
+ this.z93_1 = tableLifecycleReducer;
51695
+ this.a94_1 = randomPoolProvider;
51646
51696
  }
51647
- protoOf(BaseMechanicLifecycleReducer).v93 = function (state, action) {
51697
+ protoOf(BaseMechanicLifecycleReducer).w93 = function (state, action) {
51648
51698
  var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
51649
51699
  var tmp1_tableOrNull = action.m8s_1;
51650
51700
  var tmp2_payload = action.o8s_1;
51651
51701
  return state.o8p(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState, null);
51652
51702
  };
51653
- protoOf(BaseMechanicLifecycleReducer).w93 = function (state, action) {
51654
- this.z93_1.j57(action.previousGameId);
51703
+ protoOf(BaseMechanicLifecycleReducer).x93 = function (state, action) {
51704
+ this.a94_1.j57(action.previousGameId);
51655
51705
  return state;
51656
51706
  };
51657
- protoOf(BaseMechanicLifecycleReducer).u93 = function (state, action) {
51707
+ protoOf(BaseMechanicLifecycleReducer).v93 = function (state, action) {
51658
51708
  var tmp0_safe_receiver = state.t6h_1;
51659
51709
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gameId;
51660
51710
  if (tmp1_safe_receiver == null)
51661
51711
  null;
51662
51712
  else {
51663
51713
  // Inline function 'kotlin.apply' call
51664
- this.z93_1.j57(tmp1_safe_receiver);
51714
+ this.a94_1.j57(tmp1_safe_receiver);
51665
51715
  }
51666
51716
  return state.o8p(VOID, VOID, GameLifecycleState_FINISHING_getInstance(), new TerminationState(action.p8r_1, action.r8r_1));
51667
51717
  };
51668
- protoOf(BaseMechanicLifecycleReducer).t93 = function (state, action) {
51718
+ protoOf(BaseMechanicLifecycleReducer).u93 = function (state, action) {
51669
51719
  var tmp = GameLifecycleState_FINISHED_getInstance();
51670
51720
  var tmp0_safe_receiver = state.v6h_1;
51671
51721
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.s8p(action.w8r_1);
51672
51722
  return state.o8p(VOID, VOID, tmp, tmp1_elvis_lhs == null ? new TerminationState(action.w8r_1) : tmp1_elvis_lhs);
51673
51723
  };
51674
- protoOf(BaseMechanicLifecycleReducer).s93 = function (state, action) {
51675
- return state.o8p(this.y93_1.a94(state.j6i()));
51724
+ protoOf(BaseMechanicLifecycleReducer).t93 = function (state, action) {
51725
+ return state.o8p(this.z93_1.b94(state.j6i()));
51676
51726
  };
51677
- protoOf(BaseMechanicLifecycleReducer).r93 = function (state, action) {
51727
+ protoOf(BaseMechanicLifecycleReducer).s93 = function (state, action) {
51678
51728
  var tmp0_safe_receiver = state.t6h_1;
51679
51729
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gameId;
51680
51730
  if (tmp1_safe_receiver == null)
51681
51731
  null;
51682
51732
  else {
51683
51733
  // Inline function 'kotlin.apply' call
51684
- this.z93_1.j57(tmp1_safe_receiver);
51734
+ this.a94_1.j57(tmp1_safe_receiver);
51685
51735
  }
51686
51736
  var tmp = GameLifecycleState_FINISHED_getInstance();
51687
51737
  var tmp2_safe_receiver = state.v6h_1;
@@ -51701,19 +51751,19 @@
51701
51751
  return value1.id === value2.id;
51702
51752
  }
51703
51753
  function PlayerHandReducer(pointsInteractor, playerHappinessProvider, logger, dealerConfig) {
51704
- this.b94_1 = pointsInteractor;
51705
- this.c94_1 = playerHappinessProvider;
51706
- this.d94_1 = logger;
51707
- this.e94_1 = dealerConfig;
51754
+ this.c94_1 = pointsInteractor;
51755
+ this.d94_1 = playerHappinessProvider;
51756
+ this.e94_1 = logger;
51757
+ this.f94_1 = dealerConfig;
51708
51758
  }
51709
- protoOf(PlayerHandReducer).f94 = function (playerId, hand, cards, combinations, selectedTrump, config) {
51759
+ protoOf(PlayerHandReducer).g94 = function (playerId, hand, cards, combinations, selectedTrump, config) {
51710
51760
  // Inline function 'kotlin.collections.map' call
51711
51761
  // Inline function 'kotlin.collections.mapTo' call
51712
51762
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(combinations, 10));
51713
51763
  var _iterator__ex2g4s = combinations.l();
51714
51764
  while (_iterator__ex2g4s.m()) {
51715
51765
  var item = _iterator__ex2g4s.n();
51716
- var tmp$ret$0 = mapToRecord(item, this.b94_1.z8j(item));
51766
+ var tmp$ret$0 = mapToRecord(item, this.c94_1.z8j(item));
51717
51767
  destination.j(tmp$ret$0);
51718
51768
  }
51719
51769
  var combinationRecords = destination;
@@ -51748,8 +51798,8 @@
51748
51798
  return hand.l6u(VOID, VOID, plus(hand.i6r_1, combinationRecords), plus(hand.j6r_1, combinationRecords));
51749
51799
  }
51750
51800
  var tmp0_elvis_lhs = config.dealerStrategy;
51751
- var dealerStrategy = tmp0_elvis_lhs == null ? this.e94_1.dealerStrategy : tmp0_elvis_lhs;
51752
- var tmp_0 = this.b94_1.y8j(cards, selectedTrump, dealerStrategy);
51801
+ var dealerStrategy = tmp0_elvis_lhs == null ? this.f94_1.dealerStrategy : tmp0_elvis_lhs;
51802
+ var tmp_0 = this.c94_1.y8j(cards, selectedTrump, dealerStrategy);
51753
51803
  // Inline function 'kotlin.collections.map' call
51754
51804
  // Inline function 'kotlin.collections.mapTo' call
51755
51805
  var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(combinationRecords, 10));
@@ -51760,11 +51810,11 @@
51760
51810
  destination_0.j(tmp$ret$5);
51761
51811
  }
51762
51812
  var value = tmp_0 + sum(destination_0);
51763
- var luckyFactor = this.c94_1.x8d(value, config.playersMode, dealerStrategy);
51764
- Companion_instance_165.x8j(this.d94_1, 'equalise: earn points for = ' + playerId + ' ' + ('factor: ' + luckyFactor + ', ') + ('currentFactor: ' + hand.q6r() + ', ') + ('value: ' + value + ', ') + ('combinations: ' + combinations.o() + ', '));
51813
+ var luckyFactor = this.d94_1.x8d(value, config.playersMode, dealerStrategy);
51814
+ Companion_instance_165.x8j(this.e94_1, 'equalise: earn points for = ' + playerId + ' ' + ('factor: ' + luckyFactor + ', ') + ('currentFactor: ' + hand.q6r() + ', ') + ('value: ' + value + ', ') + ('combinations: ' + combinations.o() + ', '));
51765
51815
  return hand.l6u(VOID, plus(hand.h6r_1, listOf(Companion_instance_18.d6u(luckyFactor, value))), plus(hand.i6r_1, combinationRecords), plus(hand.j6r_1, combinationRecords));
51766
51816
  };
51767
- protoOf(PlayerHandReducer).g94 = function (hand, combinations) {
51817
+ protoOf(PlayerHandReducer).h94 = function (hand, combinations) {
51768
51818
  // Inline function 'kotlin.collections.map' call
51769
51819
  var this_0 = filterWithFirstCardOrBela(combinations);
51770
51820
  // Inline function 'kotlin.collections.mapTo' call
@@ -51772,20 +51822,20 @@
51772
51822
  var _iterator__ex2g4s = this_0.l();
51773
51823
  while (_iterator__ex2g4s.m()) {
51774
51824
  var item = _iterator__ex2g4s.n();
51775
- var tmp$ret$0 = mapToRecord(item, this.b94_1.z8j(item));
51825
+ var tmp$ret$0 = mapToRecord(item, this.c94_1.z8j(item));
51776
51826
  destination.j(tmp$ret$0);
51777
51827
  }
51778
51828
  var combinationRecords = destination;
51779
51829
  var tmp = updateOrAddItems(hand.i6r_1, combinationRecords, PlayerHandReducer$playerHandCombinationsReducer$lambda);
51780
51830
  return hand.l6u(VOID, VOID, tmp, updateOrAddItems(hand.j6r_1, combinationRecords, PlayerHandReducer$playerHandCombinationsReducer$lambda_0));
51781
51831
  };
51782
- protoOf(PlayerHandReducer).h94 = function (playerId, hand, updatedCombinations, config) {
51832
+ protoOf(PlayerHandReducer).i94 = function (playerId, hand, updatedCombinations, config) {
51783
51833
  if (updatedCombinations.r()) {
51784
51834
  return hand;
51785
51835
  }
51786
51836
  var previousFactor = hand.z6r();
51787
51837
  if (previousFactor.y6r_1 === 0.0) {
51788
- return this.g94(hand, updatedCombinations);
51838
+ return this.h94(hand, updatedCombinations);
51789
51839
  }
51790
51840
  // Inline function 'kotlin.collections.map' call
51791
51841
  // Inline function 'kotlin.collections.mapTo' call
@@ -51793,7 +51843,7 @@
51793
51843
  var _iterator__ex2g4s = updatedCombinations.l();
51794
51844
  while (_iterator__ex2g4s.m()) {
51795
51845
  var item = _iterator__ex2g4s.n();
51796
- var tmp$ret$0 = mapToRecord(item, this.b94_1.z8j(item));
51846
+ var tmp$ret$0 = mapToRecord(item, this.c94_1.z8j(item));
51797
51847
  destination.j(tmp$ret$0);
51798
51848
  }
51799
51849
  var updatedCombinationRecords = destination;
@@ -51853,9 +51903,9 @@
51853
51903
  }
51854
51904
  var updatedValue = tmp_0 + sum(destination_2);
51855
51905
  var tmp0_elvis_lhs = config.dealerStrategy;
51856
- var dealerStrategy = tmp0_elvis_lhs == null ? this.e94_1.dealerStrategy : tmp0_elvis_lhs;
51857
- var updatedLuckyFactor = this.c94_1.x8d(updatedValue, config.playersMode, dealerStrategy);
51858
- Companion_instance_165.x8j(this.d94_1, 'playerHand: update combinations value for = ' + playerId + ' ' + ('factor: ' + updatedLuckyFactor + ', ') + ('currentFactor: ' + hand.q6r() + ', ') + ('value: ' + updatedValue + ', '));
51906
+ var dealerStrategy = tmp0_elvis_lhs == null ? this.f94_1.dealerStrategy : tmp0_elvis_lhs;
51907
+ var updatedLuckyFactor = this.d94_1.x8d(updatedValue, config.playersMode, dealerStrategy);
51908
+ Companion_instance_165.x8j(this.e94_1, 'playerHand: update combinations value for = ' + playerId + ' ' + ('factor: ' + updatedLuckyFactor + ', ') + ('currentFactor: ' + hand.q6r() + ', ') + ('value: ' + updatedValue + ', '));
51859
51909
  // Inline function 'kotlin.collections.map' call
51860
51910
  var this_0 = hand.h6r_1;
51861
51911
  // Inline function 'kotlin.collections.mapTo' call
@@ -51879,7 +51929,7 @@
51879
51929
  protoOf(PlayerSceneReducer).q8o = function (player, cards, whoShuffleCardsPlayerId) {
51880
51930
  return player.b6r(VOID, VOID, cards, player.j6q_1.g6v(VOID, VOID, VOID, player.playerId === whoShuffleCardsPlayerId));
51881
51931
  };
51882
- protoOf(PlayerSceneReducer).i94 = function (player, distributedCards, combinations, config, players, selectedTrump) {
51932
+ protoOf(PlayerSceneReducer).j94 = function (player, distributedCards, combinations, config, players, selectedTrump) {
51883
51933
  // Inline function 'kotlin.collections.map' call
51884
51934
  // Inline function 'kotlin.collections.mapTo' call
51885
51935
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(combinations, 10));
@@ -51892,7 +51942,7 @@
51892
51942
  }
51893
51943
  var detailedCombinations = destination;
51894
51944
  var cards = plus(player.i6q_1, distributedCards);
51895
- var hand = this.p8o_1.f94(player.playerId, player.k6q_1, cards, detailedCombinations, selectedTrump, config);
51945
+ var hand = this.p8o_1.g94(player.playerId, player.k6q_1, cards, detailedCombinations, selectedTrump, config);
51896
51946
  var tmp;
51897
51947
  // Inline function 'kotlin.collections.isNotEmpty' call
51898
51948
  if (!combinations.r()) {
@@ -51903,7 +51953,7 @@
51903
51953
  var tmp0_points = tmp;
51904
51954
  return player.b6r(VOID, VOID, cards, VOID, hand, tmp0_points);
51905
51955
  };
51906
- protoOf(PlayerSceneReducer).j94 = function (player, sceneData) {
51956
+ protoOf(PlayerSceneReducer).k94 = function (player, sceneData) {
51907
51957
  // Inline function 'kotlin.collections.single' call
51908
51958
  var single = null;
51909
51959
  var found = false;
@@ -51939,7 +51989,7 @@
51939
51989
  var tmp10_earnedPoints = playerPointsCell.d6x_1;
51940
51990
  var tmp11_earnedCards = emptyList();
51941
51991
  var tmp14_points = new PlayerPoints(tmp10_earnedPoints, updatedCombinations, tmp11_earnedCards);
51942
- var tmp15_hand = this.p8o_1.g94(player.k6q_1, updatedCombinations);
51992
+ var tmp15_hand = this.p8o_1.h94(player.k6q_1, updatedCombinations);
51943
51993
  return player.b6r(tmp12_userInfo, VOID, VOID, tmp13_options, tmp15_hand, tmp14_points);
51944
51994
  };
51945
51995
  function refreshStartFromTime($this, playerState, config) {
@@ -51963,7 +52013,7 @@
51963
52013
  var tmp = System_instance.ck();
51964
52014
  Companion_getInstance_4();
51965
52015
  // Inline function 'kotlin.time.Companion.milliseconds' call
51966
- var this_0 = config.timeoutTimeMillis * $this.t92_1.playerTimeoutFactorToFinishStep;
52016
+ var this_0 = config.timeoutTimeMillis * $this.u92_1.playerTimeoutFactorToFinishStep;
51967
52017
  var tmp$ret$0 = toDuration_1(this_0, DurationUnit_MILLISECONDS_getInstance());
51968
52018
  return tmp.rk(tmp$ret$0);
51969
52019
  }
@@ -51974,11 +52024,11 @@
51974
52024
  return it.playerId;
51975
52025
  }
51976
52026
  function PlayerTurnMechanicReducer(logger, gameHistoryReducer, engineLogicConfig) {
51977
- this.r92_1 = logger;
51978
- this.s92_1 = gameHistoryReducer;
51979
- this.t92_1 = engineLogicConfig;
52027
+ this.s92_1 = logger;
52028
+ this.t92_1 = gameHistoryReducer;
52029
+ this.u92_1 = engineLogicConfig;
51980
52030
  }
51981
- protoOf(PlayerTurnMechanicReducer).k94 = function (table, model) {
52031
+ protoOf(PlayerTurnMechanicReducer).l94 = function (table, model) {
51982
52032
  // Inline function 'com.logic.utils.copy' call
51983
52033
  var this_0 = table.players;
51984
52034
  // Inline function 'kotlin.apply' call
@@ -51989,7 +52039,7 @@
51989
52039
  var element = _iterator__ex2g4s.n();
51990
52040
  var player = getPlayer(table.players, element);
51991
52041
  if (!(player.h6q_1.m65_1 == null)) {
51992
- this.r92_1.w(VOID, 'PlayerTurnMechanicReducer.onPlayerTurn: already ' + ('has a tag: ' + player.h6q_1.m65_1 + ', ') + ('new tag: ' + model.q6s_1));
52042
+ this.s92_1.w(VOID, 'PlayerTurnMechanicReducer.onPlayerTurn: already ' + ('has a tag: ' + player.h6q_1.m65_1 + ', ') + ('new tag: ' + model.q6s_1));
51993
52043
  }
51994
52044
  var tmp = Companion_instance_0;
51995
52045
  var tmp_0 = System_instance.ck();
@@ -52003,25 +52053,25 @@
52003
52053
  var newTable = table.copy(VOID, VOID, VOID, VOID, this_1);
52004
52054
  var tmp_1 = 'onPlayerTurn: ' + model.toString() + ', ';
52005
52055
  var tmp_2 = filterPlayerTurn(table.players);
52006
- this.r92_1.d('PlayerTurn', tmp_1 + ('currentTurn = ' + joinToString(tmp_2, VOID, VOID, VOID, VOID, VOID, PlayerTurnMechanicReducer$onPlayerTurn$lambda)));
52056
+ this.s92_1.d('PlayerTurn', tmp_1 + ('currentTurn = ' + joinToString(tmp_2, VOID, VOID, VOID, VOID, VOID, PlayerTurnMechanicReducer$onPlayerTurn$lambda)));
52007
52057
  return newTable;
52008
52058
  };
52009
- protoOf(PlayerTurnMechanicReducer).l94 = function (table, model) {
52059
+ protoOf(PlayerTurnMechanicReducer).m94 = function (table, model) {
52010
52060
  var player = getPlayer(table.players, model.a64());
52011
52061
  if (player.h6q_1.m65_1 == null) {
52012
- this.r92_1.w(VOID, 'PlayerTurnMechanicReducer.onResetPlayerTurn: has no tag, ' + ('tag: ' + model.q6s_1));
52062
+ this.s92_1.w(VOID, 'PlayerTurnMechanicReducer.onResetPlayerTurn: has no tag, ' + ('tag: ' + model.q6s_1));
52013
52063
  }
52014
52064
  var newTable = table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.b6r(VOID, Companion_instance_0.x66(player.h6q_1)), get_byIdPlayerPredicate()(player.playerId)));
52015
52065
  var tmp = 'onResetPlayerTurn: ' + model.toString() + ', ';
52016
52066
  var tmp_0 = filterPlayerTurn(table.players);
52017
- this.r92_1.d('PlayerTurn', tmp + ('currentTurn = ' + joinToString(tmp_0, VOID, VOID, VOID, VOID, VOID, PlayerTurnMechanicReducer$onResetPlayerTurn$lambda)));
52067
+ this.s92_1.d('PlayerTurn', tmp + ('currentTurn = ' + joinToString(tmp_0, VOID, VOID, VOID, VOID, VOID, PlayerTurnMechanicReducer$onResetPlayerTurn$lambda)));
52018
52068
  return newTable;
52019
52069
  };
52020
- protoOf(PlayerTurnMechanicReducer).v92 = function (table, action) {
52070
+ protoOf(PlayerTurnMechanicReducer).w92 = function (table, action) {
52021
52071
  var player = getPlayer(table.players, action.w8s_1);
52022
52072
  return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.b6r(VOID, player.h6q_1.y66(VOID, VOID, VOID, VOID, true)), get_byIdPlayerPredicate()(player.playerId)));
52023
52073
  };
52024
- protoOf(PlayerTurnMechanicReducer).m94 = function (table) {
52074
+ protoOf(PlayerTurnMechanicReducer).n94 = function (table) {
52025
52075
  // Inline function 'kotlin.collections.map' call
52026
52076
  var this_0 = table.players;
52027
52077
  // Inline function 'kotlin.collections.mapTo' call
@@ -52034,7 +52084,7 @@
52034
52084
  }
52035
52085
  return table.copy(VOID, VOID, VOID, VOID, destination);
52036
52086
  };
52037
- protoOf(PlayerTurnMechanicReducer).u92 = function (table, playerId, newConnectionState, reconnectUntilTime) {
52087
+ protoOf(PlayerTurnMechanicReducer).v92 = function (table, playerId, newConnectionState, reconnectUntilTime) {
52038
52088
  var players = table.players;
52039
52089
  var player = getPlayer(players, playerId);
52040
52090
  var previousConnection = player.h6q_1.n65_1;
@@ -52057,7 +52107,7 @@
52057
52107
  var tmp7_waitPlayerUntilTime = tmp_0;
52058
52108
  tmp = tmp6_$this.y66(VOID, VOID, tmp7_waitPlayerUntilTime, VOID, VOID, VOID, newPlayerConnection);
52059
52109
  }
52060
- return table.copy(VOID, VOID, VOID, VOID, updateItem(players, player.b6r(VOID, tmp), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.s92_1.r94(playerId, previousConnection, newPlayerConnection, table.gameHistory));
52110
+ return table.copy(VOID, VOID, VOID, VOID, updateItem(players, player.b6r(VOID, tmp), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t92_1.s94(playerId, previousConnection, newPlayerConnection, table.gameHistory));
52061
52111
  };
52062
52112
  function onCurrentScene($this, sceneId, sceneData, actId, actData, table, previousSceneId) {
52063
52113
  var sceneInfo = new SceneInfo(sceneId, previousSceneId, actId, sceneData, actData);
@@ -52089,7 +52139,7 @@
52089
52139
  var _iterator__ex2g4s = players.l();
52090
52140
  while (_iterator__ex2g4s.m()) {
52091
52141
  var item = _iterator__ex2g4s.n();
52092
- var tmp$ret$1 = $this.i92_1.q8o(item, getValue(scene.r76_1, item.playerId), scene.v76_1);
52142
+ var tmp$ret$1 = $this.j92_1.q8o(item, getValue(scene.r76_1, item.playerId), scene.v76_1);
52093
52143
  destination.j(tmp$ret$1);
52094
52144
  }
52095
52145
 
@@ -52110,12 +52160,12 @@
52110
52160
  }
52111
52161
 
52112
52162
  var tmp7_requestedCardDecks = tmp_0;
52113
- var tmp1_$this = $this.l92_1;
52163
+ var tmp1_$this = $this.m92_1;
52114
52164
  var tmp2_gameHistory = table.gameHistory;
52115
52165
  var tmp3_playersCards = scene.r76_1;
52116
52166
  var tmp4_whoShuffleCardsPlayerId = scene.v76_1;
52117
52167
  var tmp5_randomData = scene.s76_1;
52118
- var tmp8_gameHistory = tmp1_$this.s94(cardDeck, tmp5_randomData, tmp4_whoShuffleCardsPlayerId, tmp3_playersCards, tmp2_gameHistory);
52168
+ var tmp8_gameHistory = tmp1_$this.t94(cardDeck, tmp5_randomData, tmp4_whoShuffleCardsPlayerId, tmp3_playersCards, tmp2_gameHistory);
52119
52169
  return table.copy(VOID, VOID, VOID, VOID, destination, VOID, sceneInfo, VOID, VOID, cardDeck, tmp7_requestedCardDecks, VOID, tmp8_gameHistory);
52120
52170
  case 'EARN_POINTS':
52121
52171
  var tmp$ret$5;
@@ -52133,7 +52183,7 @@
52133
52183
  var tmp10_newPlayersCards = scene_0.w76_1;
52134
52184
  var tmp11_cardDeck = table.requireCardDeck;
52135
52185
  var tmp12_config = table.config;
52136
- var updatedCardDeck = $this.t94(tmp11_cardDeck, tmp10_newPlayersCards, tmp12_config, tmp9_newTopOpenedCard);
52186
+ var updatedCardDeck = $this.u94(tmp11_cardDeck, tmp10_newPlayersCards, tmp12_config, tmp9_newTopOpenedCard);
52137
52187
  // Inline function 'kotlin.collections.map' call
52138
52188
 
52139
52189
  // Inline function 'kotlin.collections.mapTo' call
@@ -52142,21 +52192,21 @@
52142
52192
  var _iterator__ex2g4s_0 = players.l();
52143
52193
  while (_iterator__ex2g4s_0.m()) {
52144
52194
  var item_0 = _iterator__ex2g4s_0.n();
52145
- var tmp2_$this = $this.i92_1;
52195
+ var tmp2_$this = $this.j92_1;
52146
52196
  var tmp3_config = table.config;
52147
52197
  var tmp4_distributedCards = getValue(scene_0.w76_1, item_0.playerId);
52148
52198
  var tmp0_safe_receiver = scene_0.x76_1;
52149
52199
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b2(item_0.playerId);
52150
52200
  var tmp5_combinations = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
52151
52201
  var tmp6_selectedTrump = table.gameInfo.round.selectedTrump;
52152
- var tmp$ret$6 = tmp2_$this.i94(item_0, tmp4_distributedCards, tmp5_combinations, tmp3_config, players, tmp6_selectedTrump);
52202
+ var tmp$ret$6 = tmp2_$this.j94(item_0, tmp4_distributedCards, tmp5_combinations, tmp3_config, players, tmp6_selectedTrump);
52153
52203
  destination_0.j(tmp$ret$6);
52154
52204
  }
52155
52205
 
52156
- var tmp13_$this = $this.l92_1;
52206
+ var tmp13_$this = $this.m92_1;
52157
52207
  var tmp14_gameHistory = table.gameHistory;
52158
52208
  var tmp15_playersCards = scene_0.w76_1;
52159
- var tmp17_gameHistory = tmp13_$this.u94(tmp15_playersCards, tmp14_gameHistory);
52209
+ var tmp17_gameHistory = tmp13_$this.v94(tmp15_playersCards, tmp14_gameHistory);
52160
52210
  return table.copy(VOID, VOID, VOID, VOID, destination_0, VOID, sceneInfo, VOID, VOID, updatedCardDeck, VOID, VOID, tmp17_gameHistory);
52161
52211
  case 'CALC_POINTS':
52162
52212
  var tmp$ret$9;
@@ -52179,12 +52229,12 @@
52179
52229
  var _iterator__ex2g4s_1 = players.l();
52180
52230
  while (_iterator__ex2g4s_1.m()) {
52181
52231
  var item_1 = _iterator__ex2g4s_1.n();
52182
- var tmp$ret$10 = $this.i92_1.j94(item_1, calcPointsSceneData);
52232
+ var tmp$ret$10 = $this.j92_1.k94(item_1, calcPointsSceneData);
52183
52233
  destination_1.j(tmp$ret$10);
52184
52234
  }
52185
52235
 
52186
52236
  var updatedPlayers = destination_1;
52187
- var tmp19_$this = $this.l92_1;
52237
+ var tmp19_$this = $this.m92_1;
52188
52238
  var tmp20_gameHistory = table.gameHistory;
52189
52239
  var tmp21_points = calcPointsSceneData.l76_1;
52190
52240
  var tmp22_roundContractState = calcPointsSceneData.p76(whoChoseSuitPlayerId);
@@ -52224,7 +52274,7 @@
52224
52274
 
52225
52275
  var tmp26_playersGameAnalytics = tmp_3;
52226
52276
  var tmp27_playersAchievements = calcPointsSceneData.m76_1;
52227
- var tmp28_gameHistory = tmp19_$this.v94(tmp21_points, tmp20_gameHistory, tmp22_roundContractState, tmp23_roundCommitted, tmp24_roundWinners, tmp25_gameWinners, tmp26_playersGameAnalytics, tmp27_playersAchievements);
52277
+ var tmp28_gameHistory = tmp19_$this.w94(tmp21_points, tmp20_gameHistory, tmp22_roundContractState, tmp23_roundCommitted, tmp24_roundWinners, tmp25_gameWinners, tmp26_playersGameAnalytics, tmp27_playersAchievements);
52228
52278
  return table.copy(VOID, VOID, VOID, VOID, updatedPlayers, VOID, sceneInfo, VOID, VOID, VOID, VOID, VOID, tmp28_gameHistory);
52229
52279
  default:
52230
52280
  throw new MechanicException("onCurrentScene: Can't support this scene " + sceneId);
@@ -52256,30 +52306,30 @@
52256
52306
  }
52257
52307
  function SceneReducer$onPreviousScene$lambda(this$0) {
52258
52308
  return function (tbl) {
52259
- return this$0.j92_1.m94(tbl);
52309
+ return this$0.k92_1.n94(tbl);
52260
52310
  };
52261
52311
  }
52262
52312
  function SceneReducer$onPreviousScene$lambda_0(this$0) {
52263
52313
  return function (tbl) {
52264
- return this$0.k92_1.w94(tbl);
52314
+ return this$0.l92_1.x94(tbl);
52265
52315
  };
52266
52316
  }
52267
52317
  function SceneReducer(playerSceneReducer, playerTurnMechanicReducer, tableLifecycleReducer, gameHistoryReducer, dealerReducer, gameParamsProvider) {
52268
- this.i92_1 = playerSceneReducer;
52269
- this.j92_1 = playerTurnMechanicReducer;
52270
- this.k92_1 = tableLifecycleReducer;
52271
- this.l92_1 = gameHistoryReducer;
52272
- this.m92_1 = dealerReducer;
52273
- this.n92_1 = gameParamsProvider;
52274
- }
52275
- protoOf(SceneReducer).o92 = function (table, sceneId, sceneData, actId, actData) {
52318
+ this.j92_1 = playerSceneReducer;
52319
+ this.k92_1 = playerTurnMechanicReducer;
52320
+ this.l92_1 = tableLifecycleReducer;
52321
+ this.m92_1 = gameHistoryReducer;
52322
+ this.n92_1 = dealerReducer;
52323
+ this.o92_1 = gameParamsProvider;
52324
+ }
52325
+ protoOf(SceneReducer).p92 = function (table, sceneId, sceneData, actId, actData) {
52276
52326
  var previousSceneId = table.sceneInfo.t7p_1;
52277
52327
  if (!(previousSceneId === 'WAITING') && equals(table.sceneInfo.w7p_1, sceneData)) {
52278
52328
  throw new MechanicException('Payload was set twice');
52279
52329
  }
52280
52330
  return onCurrentScene(this, sceneId, sceneData, actId, actData, onPreviousScene(this, table, previousSceneId), previousSceneId);
52281
52331
  };
52282
- protoOf(SceneReducer).t94 = function (cardDeck, newPlayersCards, config, newTopOpenedCard) {
52332
+ protoOf(SceneReducer).u94 = function (cardDeck, newPlayersCards, config, newTopOpenedCard) {
52283
52333
  // Inline function 'kotlin.collections.map' call
52284
52334
  // Inline function 'kotlin.collections.mapTo' call
52285
52335
  var destination = ArrayList_init_$Create$(newPlayersCards.o());
@@ -52293,19 +52343,19 @@
52293
52343
  // Inline function 'kotlin.let' call
52294
52344
  var it = flatten(destination);
52295
52345
  var tmp;
52296
- if (this.n92_1.w8e(config)) {
52297
- tmp = this.m92_1.q5e(it, cardDeck.f7f_1);
52346
+ if (this.o92_1.w8e(config)) {
52347
+ tmp = this.n92_1.q5e(it, cardDeck.f7f_1);
52298
52348
  } else {
52299
52349
  tmp = it;
52300
52350
  }
52301
52351
  var playersCardsToRemove = tmp;
52302
52352
  var cardsToRemove = plus(playersCardsToRemove, listOfNotNull_0(newTopOpenedCard));
52303
- var cards = this.m92_1.p5e(cardDeck.e7f_1, cardsToRemove);
52353
+ var cards = this.n92_1.p5e(cardDeck.e7f_1, cardsToRemove);
52304
52354
  return cardDeck.y87(cards, VOID, newTopOpenedCard);
52305
52355
  };
52306
52356
  function TeamsMechanicReducer() {
52307
52357
  }
52308
- protoOf(TeamsMechanicReducer).q93 = function (players, action) {
52358
+ protoOf(TeamsMechanicReducer).r93 = function (players, action) {
52309
52359
  // Inline function 'kotlin.collections.map' call
52310
52360
  var this_0 = action.s8s_1.e67_1;
52311
52361
  // Inline function 'kotlin.collections.mapTo' call
@@ -52345,10 +52395,10 @@
52345
52395
  return destination_1;
52346
52396
  };
52347
52397
  function TradeMechanicReducer(logger, gameHistoryReducer) {
52348
- this.m93_1 = logger;
52349
- this.n93_1 = gameHistoryReducer;
52398
+ this.n93_1 = logger;
52399
+ this.o93_1 = gameHistoryReducer;
52350
52400
  }
52351
- protoOf(TradeMechanicReducer).p93 = function (state, action) {
52401
+ protoOf(TradeMechanicReducer).q93 = function (state, action) {
52352
52402
  var table = state.j6i();
52353
52403
  // Inline function 'kotlin.with' call
52354
52404
  var player = getPlayer(table.players, action.q8m_1);
@@ -52356,7 +52406,7 @@
52356
52406
  var it = player.j6q_1.e6v();
52357
52407
  var tmp;
52358
52408
  if (it == null) {
52359
- this.m93_1.w(VOID, "Can't support this circle increment");
52409
+ this.n93_1.w(VOID, "Can't support this circle increment");
52360
52410
  tmp = player.j6q_1.x6q_1;
52361
52411
  } else {
52362
52412
  tmp = it;
@@ -52378,17 +52428,17 @@
52378
52428
  destination.j(tmp$ret$2);
52379
52429
  }
52380
52430
  var tmp_1 = destination;
52381
- var tmp0_$this = this.n93_1;
52431
+ var tmp0_$this = this.o93_1;
52382
52432
  var tmp1_playerId = player.playerId;
52383
52433
  var tmp2_suit = action.o8m_1;
52384
52434
  var tmp3_gameHistory = table.gameHistory;
52385
52435
  var tmp4_players = table.players;
52386
52436
  var tmp5_playersMode = table.config.playersMode;
52387
- tmp_0 = state.o8p(table.copy(VOID, VOID, VOID, VOID, tmp_1, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_$this.x94(tmp1_playerId, tmp2_suit, newNumberOfCircle, tmp3_gameHistory, tmp5_playersMode, tmp4_players)));
52437
+ tmp_0 = state.o8p(table.copy(VOID, VOID, VOID, VOID, tmp_1, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_$this.y94(tmp1_playerId, tmp2_suit, newNumberOfCircle, tmp3_gameHistory, tmp5_playersMode, tmp4_players)));
52388
52438
  }
52389
52439
  return tmp_0;
52390
52440
  };
52391
- protoOf(TradeMechanicReducer).o93 = function (state, action) {
52441
+ protoOf(TradeMechanicReducer).p93 = function (state, action) {
52392
52442
  var table = state.j6i();
52393
52443
  // Inline function 'kotlin.collections.map' call
52394
52444
  var this_0 = table.players;
@@ -52406,13 +52456,13 @@
52406
52456
  return valueToFind.b6w_1 === value.b6w_1;
52407
52457
  }
52408
52458
  function CombinationsMechanicReducer(teamsLogicProvider, combinationsInteractor, dealerReducer, playerHandReducer, gameHistoryReducer) {
52409
- this.w92_1 = teamsLogicProvider;
52410
- this.x92_1 = combinationsInteractor;
52411
- this.y92_1 = dealerReducer;
52412
- this.z92_1 = playerHandReducer;
52413
- this.a93_1 = gameHistoryReducer;
52459
+ this.x92_1 = teamsLogicProvider;
52460
+ this.y92_1 = combinationsInteractor;
52461
+ this.z92_1 = dealerReducer;
52462
+ this.a93_1 = playerHandReducer;
52463
+ this.b93_1 = gameHistoryReducer;
52414
52464
  }
52415
- protoOf(CombinationsMechanicReducer).y94 = function (whoGotBribePlayerId, playerCombinations, players, config) {
52465
+ protoOf(CombinationsMechanicReducer).z94 = function (whoGotBribePlayerId, playerCombinations, players, config) {
52416
52466
  var bellaCombination = first(playerCombinations.g89_1);
52417
52467
  var player = getPlayer(players, playerCombinations.f89_1);
52418
52468
  if (bellaCombination.d6w_1.equals(CombinationState_NOT_ACCEPTED_getInstance())) {
@@ -52421,7 +52471,7 @@
52421
52471
  var tmp;
52422
52472
  if (config.rules.protectBella) {
52423
52473
  var playerWithBellaGotBribe = player.playerId === whoGotBribePlayerId;
52424
- var partnerGotBribe = config.playersMode.isTeamGame && this.w92_1.m8d(player.playerId, players).playerId === whoGotBribePlayerId;
52474
+ var partnerGotBribe = config.playersMode.isTeamGame && this.x92_1.m8d(player.playerId, players).playerId === whoGotBribePlayerId;
52425
52475
  var tmp_0;
52426
52476
  if (playerWithBellaGotBribe || partnerGotBribe) {
52427
52477
  tmp_0 = bellaCombination.n6w(VOID, VOID, CombinationState_ACCEPTED_getInstance());
@@ -52435,7 +52485,7 @@
52435
52485
  return tmp;
52436
52486
  }
52437
52487
  };
52438
- protoOf(CombinationsMechanicReducer).b93 = function (state, action) {
52488
+ protoOf(CombinationsMechanicReducer).c93 = function (state, action) {
52439
52489
  var table = state.j6i();
52440
52490
  var players = table.players;
52441
52491
  var config = table.config;
@@ -52466,7 +52516,7 @@
52466
52516
  }
52467
52517
  var passedPlayersCombinations = destination;
52468
52518
  // Inline function 'kotlin.collections.filterNot' call
52469
- var tmp0 = this.x92_1.j8h(players);
52519
+ var tmp0 = this.y92_1.j8h(players);
52470
52520
  // Inline function 'kotlin.collections.filterNotTo' call
52471
52521
  var destination_1 = ArrayList_init_$Create$_0();
52472
52522
  var _iterator__ex2g4s_1 = tmp0.l();
@@ -52513,10 +52563,10 @@
52513
52563
  var tmp0_elvis_lhs_0 = rejectedPlayersCombinations.b2(item_1.playerId);
52514
52564
  var tmp$ret$18 = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
52515
52565
  var updatedCombinations = plus(tmp_0, tmp$ret$18);
52516
- var tmp0_$this = this.z92_1;
52566
+ var tmp0_$this = this.a93_1;
52517
52567
  var tmp1_playerId = item_1.playerId;
52518
52568
  var tmp2_hand = item_1.k6q_1;
52519
- var tmp_1 = tmp0_$this.h94(tmp1_playerId, tmp2_hand, updatedCombinations, config);
52569
+ var tmp_1 = tmp0_$this.i94(tmp1_playerId, tmp2_hand, updatedCombinations, config);
52520
52570
  tmp = item_1.b6r(VOID, VOID, VOID, VOID, tmp_1, item_1.l6q_1.i6v(VOID, updateOrAddItems(item_1.l6q_1.b6s_1, updatedCombinations, CombinationsMechanicReducer$onWinnerCombinations$lambda)));
52521
52571
  } else {
52522
52572
  tmp = item_1;
@@ -52524,9 +52574,9 @@
52524
52574
  var tmp$ret$19 = tmp;
52525
52575
  destination_4.j(tmp$ret$19);
52526
52576
  }
52527
- return state.o8p(table.copy(VOID, VOID, VOID, VOID, destination_4, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.a93_1.z94(action.e8t_1, table.gameHistory)));
52577
+ return state.o8p(table.copy(VOID, VOID, VOID, VOID, destination_4, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b93_1.a95(action.e8t_1, table.gameHistory)));
52528
52578
  };
52529
- protoOf(CombinationsMechanicReducer).l93 = function (state, action) {
52579
+ protoOf(CombinationsMechanicReducer).m93 = function (state, action) {
52530
52580
  var table = state.j6i();
52531
52581
  var player = getPlayer(table.players, action.c8t_1);
52532
52582
  // Inline function 'kotlin.collections.map' call
@@ -52581,13 +52631,13 @@
52581
52631
  // Inline function 'kotlin.let' call
52582
52632
 
52583
52633
  var cards = player.i6q_1;
52584
- var newCards = this.y92_1.q5e(cards, trumpSevenCard);
52585
- var tmp1_cards = this.y92_1.r5e(newCards, trumpCard);
52634
+ var newCards = this.z92_1.q5e(cards, trumpSevenCard);
52635
+ var tmp1_cards = this.z92_1.r5e(newCards, trumpCard);
52586
52636
  var tmp3_players = updateItem(table.players, player.b6r(VOID, VOID, tmp1_cards, VOID, VOID, updatedPoints), get_byIdPlayerPredicate()(player.playerId));
52587
- var tmp4_gameHistory = this.a93_1.a95(player.playerId, listOf(announcedCombination.c6w_1), VOID, table.gameHistory);
52637
+ var tmp4_gameHistory = this.b93_1.b95(player.playerId, listOf(announcedCombination.c6w_1), VOID, table.gameHistory);
52588
52638
  return state.o8p(table.copy(VOID, VOID, VOID, VOID, tmp3_players, VOID, VOID, VOID, VOID, tmp2_cardDeck, VOID, VOID, tmp4_gameHistory));
52589
52639
  case 6:
52590
- return state.o8p(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.b6r(VOID, VOID, VOID, VOID, VOID, updatedPoints), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.a93_1.a95(player.playerId, listOf(announcedCombination.c6w_1), VOID, table.gameHistory)));
52640
+ return state.o8p(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.b6r(VOID, VOID, VOID, VOID, VOID, updatedPoints), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.b93_1.b95(player.playerId, listOf(announcedCombination.c6w_1), VOID, table.gameHistory)));
52591
52641
  default:
52592
52642
  throw new MechanicException("Can't support this combination " + announcedCombination.toString());
52593
52643
  }
@@ -52668,7 +52718,7 @@
52668
52718
  destination.j(tmp$ret$1);
52669
52719
  }
52670
52720
  var updatedCombinations = destination;
52671
- var tmp1_cards = $this.f93_1.q5e(player.i6q_1, card);
52721
+ var tmp1_cards = $this.g93_1.q5e(player.i6q_1, card);
52672
52722
  var tmp2_points = player.l6q_1.i6v(VOID, updatedCombinations);
52673
52723
  var tmp3_hand = updatePlayerHand($this, player, cardsOnTheTable, table.gameInfo.round.selectedTrump);
52674
52724
  return player.b6r(VOID, VOID, tmp1_cards, VOID, tmp3_hand, tmp2_points);
@@ -52687,11 +52737,11 @@
52687
52737
  }
52688
52738
  var tmp2_combinations = tmp;
52689
52739
  var tmp4_points = tmp0_$this.i6v(VOID, tmp2_combinations, tmp1_earnedCards);
52690
- var tmp5_hand = $this.h93_1.g94(player.k6q_1, combinations);
52740
+ var tmp5_hand = $this.i93_1.h94(player.k6q_1, combinations);
52691
52741
  return player.b6r(VOID, VOID, VOID, tmp3_options, tmp5_hand, tmp4_points);
52692
52742
  }
52693
52743
  function addPlayersCombinationsWhenPickBribe($this, whoGotBribePlayerId, players, config) {
52694
- var bellaCombination = $this.e93_1.i8h(players);
52744
+ var bellaCombination = $this.f93_1.i8h(players);
52695
52745
  // Inline function 'kotlin.collections.associate' call
52696
52746
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(players, 10)), 16);
52697
52747
  // Inline function 'kotlin.collections.associateTo' call
@@ -52710,7 +52760,7 @@
52710
52760
  var isGotBribe = player.playerId === whoGotBribePlayerId;
52711
52761
  var isGotLastBribe = player.a65() === 0 && isGotBribe;
52712
52762
  var hasBellaCombination = !(bellaCombination == null) && bellaCombination.f89_1 === player.playerId;
52713
- var tmp = isGotLastBribe ? $this.d93_1.q6v(CombinationType_BONUS_LAST_BRIBE_getInstance(), CombinationState_ACCEPTED_getInstance(), Companion_instance_150.c88(CombinationType_BONUS_LAST_BRIBE_getInstance(), config)) : null;
52763
+ var tmp = isGotLastBribe ? $this.e93_1.q6v(CombinationType_BONUS_LAST_BRIBE_getInstance(), CombinationState_ACCEPTED_getInstance(), Companion_instance_150.c88(CombinationType_BONUS_LAST_BRIBE_getInstance(), config)) : null;
52714
52764
  var tmp_0;
52715
52765
  if (hasBellaCombination) {
52716
52766
  // Inline function 'kotlin.requireNotNull' call
@@ -52726,7 +52776,7 @@
52726
52776
  }
52727
52777
  }
52728
52778
  var tmp$ret$2 = tmp$ret$1;
52729
- tmp_0 = $this.c93_1.y94(whoGotBribePlayerId, tmp$ret$2, players, config);
52779
+ tmp_0 = $this.d93_1.z94(whoGotBribePlayerId, tmp$ret$2, players, config);
52730
52780
  } else {
52731
52781
  tmp_0 = null;
52732
52782
  }
@@ -52791,15 +52841,15 @@
52791
52841
  return value1.b6w_1 === value2.b6w_1;
52792
52842
  }
52793
52843
  function EarnPointsMechanicReducer(combinationsMechanicReducer, combinationsFactory, combinationsInteractor, dealerReducer, gameHistoryReducer, playerHandReducer, logger) {
52794
- this.c93_1 = combinationsMechanicReducer;
52795
- this.d93_1 = combinationsFactory;
52796
- this.e93_1 = combinationsInteractor;
52797
- this.f93_1 = dealerReducer;
52798
- this.g93_1 = gameHistoryReducer;
52799
- this.h93_1 = playerHandReducer;
52800
- this.i93_1 = logger;
52801
- }
52802
- protoOf(EarnPointsMechanicReducer).k93 = function (state, action) {
52844
+ this.d93_1 = combinationsMechanicReducer;
52845
+ this.e93_1 = combinationsFactory;
52846
+ this.f93_1 = combinationsInteractor;
52847
+ this.g93_1 = dealerReducer;
52848
+ this.h93_1 = gameHistoryReducer;
52849
+ this.i93_1 = playerHandReducer;
52850
+ this.j93_1 = logger;
52851
+ }
52852
+ protoOf(EarnPointsMechanicReducer).l93 = function (state, action) {
52803
52853
  var table = state.j6i();
52804
52854
  var player = getPlayer(table.players, action.v8m_1);
52805
52855
  var cardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(action.v8m_1, table.cardsOnTable.o(), action.t8m_1));
@@ -52821,13 +52871,13 @@
52821
52871
  var tmp$ret$0 = item.m75_1;
52822
52872
  destination.j(tmp$ret$0);
52823
52873
  }
52824
- tmp = this.g93_1.a95(tmp_0, destination, VOID, table.gameHistory);
52874
+ tmp = this.h93_1.b95(tmp_0, destination, VOID, table.gameHistory);
52825
52875
  }
52826
52876
  var tmp1_elvis_lhs = tmp;
52827
52877
  var tmp4_gameHistory = tmp1_elvis_lhs == null ? table.gameHistory : tmp1_elvis_lhs;
52828
52878
  return state.o8p(tmp2_$this.copy(VOID, VOID, VOID, VOID, tmp3_players, VOID, VOID, cardsOnTheTable, VOID, VOID, VOID, VOID, tmp4_gameHistory));
52829
52879
  };
52830
- protoOf(EarnPointsMechanicReducer).j93 = function (state, action) {
52880
+ protoOf(EarnPointsMechanicReducer).k93 = function (state, action) {
52831
52881
  var table = state.j6i();
52832
52882
  var players = table.players;
52833
52883
  var cardsOnTable = table.cardsOnTable;
@@ -52852,7 +52902,7 @@
52852
52902
  destination_0.j(tmp$ret$3);
52853
52903
  }
52854
52904
  if (!(toSet(destination_0).o() === 1)) {
52855
- this.i93_1.w('Validation', 'EarnPointsMechanicReducer.onPickBribe: Some of players have different cards count: ' + toString(playersCards));
52905
+ this.j93_1.w('Validation', 'EarnPointsMechanicReducer.onPickBribe: Some of players have different cards count: ' + toString(playersCards));
52856
52906
  }
52857
52907
  var playersCombinations = addPlayersCombinationsWhenPickBribe(this, action.y8m_1, players, config);
52858
52908
  var bribe = new Bribe(cardsOnTable);
@@ -52868,7 +52918,7 @@
52868
52918
  destination_1.j(tmp$ret$6);
52869
52919
  }
52870
52920
  var tmp3_gameInfo = table.gameInfo.v86(VOID, VOID, table.gameInfo.round.copy(VOID, action.z8m_1));
52871
- var tmp4_gameHistory = this.g93_1.b95(action.y8m_1, bribe, action.z8m_1, playersCombinations, table.gameHistory);
52921
+ var tmp4_gameHistory = this.h93_1.c95(action.y8m_1, bribe, action.z8m_1, playersCombinations, table.gameHistory);
52872
52922
  return state.o8p(table.copy(VOID, VOID, VOID, VOID, destination_1, VOID, VOID, tmp1_cardsOnTable, tmp0_bribes, VOID, VOID, tmp3_gameInfo, tmp4_gameHistory));
52873
52923
  };
52874
52924
  function randomDataReducer($this, randomData, metadata) {
@@ -52876,7 +52926,7 @@
52876
52926
  return metadata;
52877
52927
  }
52878
52928
  if (!(metadata.randomData == null) && (!(metadata.randomData.id === randomData.id) || !(metadata.randomData.signature == randomData.signature))) {
52879
- $this.q94_1.w('GameHistory', 'Random data is different for previous, ' + metadata.randomData.toString() + ', ' + randomData.toString());
52929
+ $this.r94_1.w('GameHistory', 'Random data is different for previous, ' + metadata.randomData.toString() + ', ' + randomData.toString());
52880
52930
  }
52881
52931
  var tmp0_safe_receiver = metadata.randomData;
52882
52932
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.indexes;
@@ -52888,12 +52938,12 @@
52888
52938
  return _this__u8e3s4.copy(VOID, VOID, updateLastItem(_this__u8e3s4.rounds, roundHistory.copy(VOID, plus_1(roundHistory.items, items))));
52889
52939
  }
52890
52940
  function GameHistoryReducer(pointsInteractor, teamsLogicProvider, gameLogicConfig, logger) {
52891
- this.n94_1 = pointsInteractor;
52892
- this.o94_1 = teamsLogicProvider;
52893
- this.p94_1 = gameLogicConfig;
52894
- this.q94_1 = logger;
52941
+ this.o94_1 = pointsInteractor;
52942
+ this.p94_1 = teamsLogicProvider;
52943
+ this.q94_1 = gameLogicConfig;
52944
+ this.r94_1 = logger;
52895
52945
  }
52896
- protoOf(GameHistoryReducer).c95 = function (gameHistory) {
52946
+ protoOf(GameHistoryReducer).d95 = function (gameHistory) {
52897
52947
  var roundNumber = gameHistory.rounds.length;
52898
52948
  var tmp0 = gameHistory.rounds;
52899
52949
  // Inline function 'kotlin.collections.plus' call
@@ -52905,7 +52955,7 @@
52905
52955
  var tmp$ret$4 = tmp0.concat(tmp$ret$3);
52906
52956
  return gameHistory.copy(VOID, VOID, tmp$ret$4);
52907
52957
  };
52908
- protoOf(GameHistoryReducer).s94 = function (cardDeck, randomData, whoShuffleCardsPlayerId, playersCards, gameHistory) {
52958
+ protoOf(GameHistoryReducer).t94 = function (cardDeck, randomData, whoShuffleCardsPlayerId, playersCards, gameHistory) {
52909
52959
  var currentRoundHistory = last_0(gameHistory.rounds);
52910
52960
  var tmp = new WhoShuffleCardsItem(whoShuffleCardsPlayerId, cardDeck.f7f_1, System_instance.ck());
52911
52961
  // Inline function 'kotlin.collections.mapValues' call
@@ -52923,14 +52973,14 @@
52923
52973
  var tmp0_elvis_lhs = gameHistory.metadata;
52924
52974
  return gameHistory.copy(VOID, VOID, tmp_1, VOID, randomDataReducer(this, randomData, tmp0_elvis_lhs == null ? Companion_instance_159.initial() : tmp0_elvis_lhs));
52925
52975
  };
52926
- protoOf(GameHistoryReducer).x94 = function (playerId, suit, numberOfCircle, gameHistory, playersMode, players) {
52976
+ protoOf(GameHistoryReducer).y94 = function (playerId, suit, numberOfCircle, gameHistory, playersMode, players) {
52927
52977
  var currentRoundHistory = last_0(gameHistory.rounds);
52928
52978
  var tmp;
52929
52979
  if (playersMode.isTeamGame) {
52930
52980
  // Inline function 'kotlin.arrayOf' call
52931
52981
  // Inline function 'kotlin.js.unsafeCast' call
52932
52982
  // Inline function 'kotlin.js.asDynamic' call
52933
- tmp = [playerId, this.o94_1.m8d(playerId, players).playerId];
52983
+ tmp = [playerId, this.p94_1.m8d(playerId, players).playerId];
52934
52984
  } else {
52935
52985
  // Inline function 'kotlin.arrayOf' call
52936
52986
  // Inline function 'kotlin.js.unsafeCast' call
@@ -52940,7 +52990,7 @@
52940
52990
  var roundCommitted = tmp;
52941
52991
  return gameHistory.copy(VOID, VOID, updateLastItem(gameHistory.rounds, currentRoundHistory.copy(VOID, plus_1(currentRoundHistory.items, listOf(new SuitSelectionItem(playerId, suit, numberOfCircle, System_instance.ck()))), roundCommitted)));
52942
52992
  };
52943
- protoOf(GameHistoryReducer).u94 = function (playersCards, gameHistory) {
52993
+ protoOf(GameHistoryReducer).v94 = function (playersCards, gameHistory) {
52944
52994
  // Inline function 'kotlin.collections.mapValues' call
52945
52995
  // Inline function 'kotlin.collections.mapValuesTo' call
52946
52996
  var destination = LinkedHashMap_init_$Create$_0(mapCapacity(playersCards.o()));
@@ -52954,14 +53004,14 @@
52954
53004
  }
52955
53005
  return addItemsToCurrentRound(this, gameHistory, listOf(new PlayersCardsItem(destination, 1, System_instance.ck())));
52956
53006
  };
52957
- protoOf(GameHistoryReducer).d95 = function (playerId, combinations, combinationsStates, gameHistory) {
53007
+ protoOf(GameHistoryReducer).e95 = function (playerId, combinations, combinationsStates, gameHistory) {
52958
53008
  return addItemsToCurrentRound(this, gameHistory, listOf(new CombinationAnnounceItem(playerId, combinations, combinationsStates, System_instance.ck())));
52959
53009
  };
52960
- protoOf(GameHistoryReducer).a95 = function (playerId, combinations, combinationsStates, gameHistory, $super) {
53010
+ protoOf(GameHistoryReducer).b95 = function (playerId, combinations, combinationsStates, gameHistory, $super) {
52961
53011
  combinationsStates = combinationsStates === VOID ? null : combinationsStates;
52962
- return $super === VOID ? this.d95(playerId, combinations, combinationsStates, gameHistory) : $super.d95.call(this, playerId, combinations, combinationsStates, gameHistory);
53012
+ return $super === VOID ? this.e95(playerId, combinations, combinationsStates, gameHistory) : $super.e95.call(this, playerId, combinations, combinationsStates, gameHistory);
52963
53013
  };
52964
- protoOf(GameHistoryReducer).b95 = function (whoGotBribePlayerId, bribe, numberOfBribe, playersCombinations, gameHistory) {
53014
+ protoOf(GameHistoryReducer).c95 = function (whoGotBribePlayerId, bribe, numberOfBribe, playersCombinations, gameHistory) {
52965
53015
  var tmp = listOf(new BribeItem(whoGotBribePlayerId, bribe.w7e_1, numberOfBribe, System_instance.ck()));
52966
53016
  // Inline function 'kotlin.collections.mapNotNull' call
52967
53017
  // Inline function 'kotlin.collections.mapNotNullTo' call
@@ -53020,7 +53070,7 @@
53020
53070
  }
53021
53071
  return addItemsToCurrentRound(this, gameHistory, plus(tmp, destination));
53022
53072
  };
53023
- protoOf(GameHistoryReducer).z94 = function (winnerCombinations, gameHistory) {
53073
+ protoOf(GameHistoryReducer).a95 = function (winnerCombinations, gameHistory) {
53024
53074
  // Inline function 'kotlin.collections.map' call
53025
53075
  // Inline function 'kotlin.collections.mapTo' call
53026
53076
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(winnerCombinations, 10));
@@ -53036,7 +53086,7 @@
53036
53086
  }
53037
53087
  return addItemsToCurrentRound(this, gameHistory, destination);
53038
53088
  };
53039
- protoOf(GameHistoryReducer).r94 = function (playerId, previousConnection, playerConnection, gameHistory) {
53089
+ protoOf(GameHistoryReducer).s94 = function (playerId, previousConnection, playerConnection, gameHistory) {
53040
53090
  if (playerConnection == null) {
53041
53091
  return gameHistory;
53042
53092
  }
@@ -53048,17 +53098,17 @@
53048
53098
  tmp = false;
53049
53099
  }
53050
53100
  var isShortDisconnectState = tmp;
53051
- if (isSupportedReason && !isShortDisconnectState || this.p94_1.verboseGameHistory) {
53101
+ if (isSupportedReason && !isShortDisconnectState || this.q94_1.verboseGameHistory) {
53052
53102
  return addItemsToCurrentRound(this, gameHistory, listOf(new PlayerConnectionItem(playerId, playerConnection.t65_1, playerConnection.a66(), System_instance.ck())));
53053
53103
  }
53054
53104
  return gameHistory;
53055
53105
  };
53056
- protoOf(GameHistoryReducer).v94 = function (points, gameHistory, roundContractState, roundCommitted, roundWinners, gameWinners, playersGameAnalytics, playersAchievements) {
53106
+ protoOf(GameHistoryReducer).w94 = function (points, gameHistory, roundContractState, roundCommitted, roundWinners, gameWinners, playersGameAnalytics, playersAchievements) {
53057
53107
  var currentRoundHistory = last_0(gameHistory.rounds);
53058
53108
  var tmp0_elvis_lhs = gameHistory.metadata;
53059
53109
  var currentMetadata = tmp0_elvis_lhs == null ? Companion_instance_159.initial() : tmp0_elvis_lhs;
53060
53110
  var tmp;
53061
- if (this.p94_1.gameHistoryMetadata && !(playersGameAnalytics == null)) {
53111
+ if (this.q94_1.gameHistoryMetadata && !(playersGameAnalytics == null)) {
53062
53112
  // Inline function 'kotlin.collections.map' call
53063
53113
  // Inline function 'kotlin.collections.mapTo' call
53064
53114
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(playersGameAnalytics, 10));
@@ -53073,7 +53123,7 @@
53073
53123
  tmp = currentMetadata;
53074
53124
  }
53075
53125
  var updatedMetadata = tmp;
53076
- var tmp1_items = plus_1(currentRoundHistory.items, listOfNotNull_0(new PointsItem(this.n94_1.e8l(points), System_instance.ck())));
53126
+ var tmp1_items = plus_1(currentRoundHistory.items, listOfNotNull_0(new PointsItem(this.o94_1.e8l(points), System_instance.ck())));
53077
53127
  var tmp2_rounds = updateLastItem(gameHistory.rounds, currentRoundHistory.copy(VOID, tmp1_items, roundCommitted, roundContractState, roundWinners));
53078
53128
  return gameHistory.copy(VOID, VOID, tmp2_rounds, gameWinners, updatedMetadata);
53079
53129
  };
@@ -53098,7 +53148,7 @@
53098
53148
  tmp = cardDeck;
53099
53149
  }
53100
53150
  var newCardDeck = tmp;
53101
- return new PreviousRound(bribes, newCardDeck, $this.g95_1.f8l(players, config));
53151
+ return new PreviousRound(bribes, newCardDeck, $this.h95_1.f8l(players, config));
53102
53152
  }
53103
53153
  function roundFinishedGameInfoReducer($this, table) {
53104
53154
  var gameInfo = table.gameInfo;
@@ -53151,10 +53201,10 @@
53151
53201
  return points.h6v(0, emptyList(), emptyList());
53152
53202
  }
53153
53203
  function TableLifecycleReducerImpl(pointsInteractor, historyReducer) {
53154
- this.g95_1 = pointsInteractor;
53155
- this.h95_1 = historyReducer;
53204
+ this.h95_1 = pointsInteractor;
53205
+ this.i95_1 = historyReducer;
53156
53206
  }
53157
- protoOf(TableLifecycleReducerImpl).e95 = function (tableId, gameId, config, version, users, spectators, gameCreatorPlayerId, playerStateReducer) {
53207
+ protoOf(TableLifecycleReducerImpl).f95 = function (tableId, gameId, config, version, users, spectators, gameCreatorPlayerId, playerStateReducer) {
53158
53208
  var tmp = Companion_instance_147;
53159
53209
  // Inline function 'kotlin.collections.mapIndexed' call
53160
53210
  // Inline function 'kotlin.collections.mapIndexedTo' call
@@ -53186,7 +53236,7 @@
53186
53236
  }
53187
53237
  return tmp.initial(tableId, gameId, version, config, tmp_1, destination_0);
53188
53238
  };
53189
- protoOf(TableLifecycleReducerImpl).a94 = function (table) {
53239
+ protoOf(TableLifecycleReducerImpl).b94 = function (table) {
53190
53240
  var tmp0_sceneInfo = new SceneInfo('WAITING');
53191
53241
  // Inline function 'kotlin.collections.map' call
53192
53242
  var this_0 = table.players;
@@ -53201,10 +53251,10 @@
53201
53251
  var tmp2_cardsOnTable = emptyList();
53202
53252
  var tmp3_bribes = emptyList();
53203
53253
  var tmp4_gameInfo = roundFinishedGameInfoReducer(this, table);
53204
- var tmp5_gameHistory = this.h95_1.c95(table.gameHistory);
53205
- return table.copy(VOID, VOID, VOID, VOID, destination, VOID, tmp0_sceneInfo, tmp2_cardsOnTable, tmp3_bribes, null, VOID, tmp4_gameInfo, tmp5_gameHistory);
53254
+ var tmp5_gameHistory = this.i95_1.d95(table.gameHistory);
53255
+ return table.copy(VOID, VOID, VOID, VOID, destination, VOID, tmp0_sceneInfo, tmp2_cardsOnTable, tmp3_bribes, VOID, VOID, tmp4_gameInfo, tmp5_gameHistory);
53206
53256
  };
53207
- protoOf(TableLifecycleReducerImpl).w94 = function (table) {
53257
+ protoOf(TableLifecycleReducerImpl).x94 = function (table) {
53208
53258
  // Inline function 'kotlin.collections.map' call
53209
53259
  var this_0 = table.players;
53210
53260
  // Inline function 'kotlin.collections.mapTo' call
@@ -53215,9 +53265,9 @@
53215
53265
  var tmp$ret$0 = roundFinishedPlayerReducer(this, item);
53216
53266
  destination.j(tmp$ret$0);
53217
53267
  }
53218
- return table.copy(VOID, VOID, VOID, VOID, destination, VOID, VOID, emptyList(), emptyList(), null, VOID, roundFinishedGameInfoReducer(this, table), this.h95_1.c95(table.gameHistory));
53268
+ return table.copy(VOID, VOID, VOID, VOID, destination, VOID, VOID, emptyList(), emptyList(), null, VOID, roundFinishedGameInfoReducer(this, table), this.i95_1.d95(table.gameHistory));
53219
53269
  };
53220
- protoOf(TableLifecycleReducerImpl).f95 = function (table, newGameId) {
53270
+ protoOf(TableLifecycleReducerImpl).g95 = function (table, newGameId) {
53221
53271
  // Inline function 'kotlin.collections.map' call
53222
53272
  var this_0 = table.players;
53223
53273
  // Inline function 'kotlin.collections.mapTo' call
@@ -53256,93 +53306,93 @@
53256
53306
  return true;
53257
53307
  }
53258
53308
  function resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1($isEnableForPlayer, $playerTurnInteractor, $logger, $playerTurnMechanicReducer) {
53259
- this.i95_1 = $isEnableForPlayer;
53260
- this.j95_1 = $playerTurnInteractor;
53261
- this.k95_1 = $logger;
53262
- this.l95_1 = $playerTurnMechanicReducer;
53309
+ this.j95_1 = $isEnableForPlayer;
53310
+ this.k95_1 = $playerTurnInteractor;
53311
+ this.l95_1 = $logger;
53312
+ this.m95_1 = $playerTurnMechanicReducer;
53263
53313
  }
53264
53314
  protoOf(resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1).p6d = function (action) {
53265
53315
  return isInterface(action, PlayerAnswerFromClientAction);
53266
53316
  };
53267
- protoOf(resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1).h92 = function (state, action) {
53317
+ protoOf(resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1).i92 = function (state, action) {
53268
53318
  var tmp2 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
53269
53319
  var tmp$ret$0;
53270
53320
  $l$block: {
53271
53321
  var table = state.j6i();
53272
53322
  var player = getPlayer(table.players, tmp2.playerId);
53273
- if (!this.i95_1(player)) {
53323
+ if (!this.j95_1(player)) {
53274
53324
  tmp$ret$0 = state;
53275
53325
  break $l$block;
53276
53326
  }
53277
- var turnModel = this.j95_1.b8m(player, tmp2);
53327
+ var turnModel = this.k95_1.b8m(player, tmp2);
53278
53328
  var tmp;
53279
53329
  if (turnModel == null) {
53280
- this.k95_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
53330
+ this.l95_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
53281
53331
  tmp = state;
53282
53332
  } else {
53283
- tmp = state.o8p(this.l95_1.l94(table, turnModel));
53333
+ tmp = state.o8p(this.m95_1.m94(table, turnModel));
53284
53334
  }
53285
53335
  tmp$ret$0 = tmp;
53286
53336
  }
53287
53337
  return tmp$ret$0;
53288
53338
  };
53289
53339
  protoOf(resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1).f6f = function (state, action) {
53290
- return this.h92((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
53340
+ return this.i92((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
53291
53341
  };
53292
53342
  function resetPlayerTurnWhenAnswerReducer$lambda(it) {
53293
53343
  return true;
53294
53344
  }
53295
53345
  function resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1($isEnableForPlayer, $playerTurnInteractor, $logger, $playerTurnMechanicReducer) {
53296
- this.m95_1 = $isEnableForPlayer;
53297
- this.n95_1 = $playerTurnInteractor;
53298
- this.o95_1 = $logger;
53299
- this.p95_1 = $playerTurnMechanicReducer;
53346
+ this.n95_1 = $isEnableForPlayer;
53347
+ this.o95_1 = $playerTurnInteractor;
53348
+ this.p95_1 = $logger;
53349
+ this.q95_1 = $playerTurnMechanicReducer;
53300
53350
  }
53301
53351
  protoOf(resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1).p6d = function (action) {
53302
53352
  return isInterface(action, PlayerTurnAnswerAction);
53303
53353
  };
53304
- protoOf(resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1).h92 = function (state, action) {
53354
+ protoOf(resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1).i92 = function (state, action) {
53305
53355
  var tmp2 = isInterface(action, PlayerTurnAnswerAction) ? action : THROW_CCE();
53306
53356
  var tmp$ret$0;
53307
53357
  $l$block: {
53308
53358
  var table = state.j6i();
53309
53359
  var player = getPlayerTurn(tmp2, table.players);
53310
- if (player == null || !this.m95_1(player)) {
53360
+ if (player == null || !this.n95_1(player)) {
53311
53361
  tmp$ret$0 = state;
53312
53362
  break $l$block;
53313
53363
  }
53314
- var turnModel = this.n95_1.b8m(player, tmp2);
53364
+ var turnModel = this.o95_1.b8m(player, tmp2);
53315
53365
  var tmp;
53316
53366
  if (turnModel == null) {
53317
- this.o95_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
53367
+ this.p95_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
53318
53368
  tmp = state;
53319
53369
  } else {
53320
- tmp = state.o8p(this.p95_1.l94(table, turnModel));
53370
+ tmp = state.o8p(this.q95_1.m94(table, turnModel));
53321
53371
  }
53322
53372
  tmp$ret$0 = tmp;
53323
53373
  }
53324
53374
  return tmp$ret$0;
53325
53375
  };
53326
53376
  protoOf(resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1).f6f = function (state, action) {
53327
- return this.h92((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
53377
+ return this.i92((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
53328
53378
  };
53329
53379
  function setPlayerTurnReducer(playerTurnInteractor, playerTurnMechanicReducer) {
53330
53380
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
53331
53381
  return new setPlayerTurnReducer$$inlined$reducerForActionType$1(playerTurnInteractor, playerTurnMechanicReducer);
53332
53382
  }
53333
53383
  function setPlayerTurnReducer$$inlined$reducerForActionType$1($playerTurnInteractor, $playerTurnMechanicReducer) {
53334
- this.q95_1 = $playerTurnInteractor;
53335
- this.r95_1 = $playerTurnMechanicReducer;
53384
+ this.r95_1 = $playerTurnInteractor;
53385
+ this.s95_1 = $playerTurnMechanicReducer;
53336
53386
  }
53337
53387
  protoOf(setPlayerTurnReducer$$inlined$reducerForActionType$1).p6d = function (action) {
53338
53388
  return isInterface(action, NextPlayerTurnAction);
53339
53389
  };
53340
- protoOf(setPlayerTurnReducer$$inlined$reducerForActionType$1).h92 = function (state, action) {
53390
+ protoOf(setPlayerTurnReducer$$inlined$reducerForActionType$1).i92 = function (state, action) {
53341
53391
  var tmp2 = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
53342
53392
  var tmp$ret$0;
53343
53393
  $l$block: {
53344
53394
  var table = state.j6i();
53345
- var tmp0_elvis_lhs = this.q95_1.a8m(tmp2, table);
53395
+ var tmp0_elvis_lhs = this.r95_1.a8m(tmp2, table);
53346
53396
  var tmp;
53347
53397
  if (tmp0_elvis_lhs == null) {
53348
53398
  tmp$ret$0 = state;
@@ -53351,12 +53401,12 @@
53351
53401
  tmp = tmp0_elvis_lhs;
53352
53402
  }
53353
53403
  var turnModel = tmp;
53354
- tmp$ret$0 = state.o8p(this.r95_1.k94(table, turnModel));
53404
+ tmp$ret$0 = state.o8p(this.s95_1.l94(table, turnModel));
53355
53405
  }
53356
53406
  return tmp$ret$0;
53357
53407
  };
53358
53408
  protoOf(setPlayerTurnReducer$$inlined$reducerForActionType$1).f6f = function (state, action) {
53359
- return this.h92((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
53409
+ return this.i92((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
53360
53410
  };
53361
53411
  function get_isCreated(_this__u8e3s4) {
53362
53412
  return _this__u8e3s4.gameLifecycleState.isCreated;
@@ -53369,7 +53419,7 @@
53369
53419
  }
53370
53420
  function Companion_165() {
53371
53421
  }
53372
- protoOf(Companion_165).s95 = function (payload) {
53422
+ protoOf(Companion_165).t95 = function (payload) {
53373
53423
  var tmp;
53374
53424
  if (!(payload == null) ? isInterface(payload, FirstMechanicAction) : false) {
53375
53425
  tmp = toLoggerPayload_0(payload);
@@ -53401,27 +53451,27 @@
53401
53451
  tmp = payloadMapper;
53402
53452
  }
53403
53453
  payloadMapper = tmp;
53404
- this.t95_1 = logger;
53405
- this.u95_1 = payloadMapper;
53454
+ this.u95_1 = logger;
53455
+ this.v95_1 = payloadMapper;
53406
53456
  }
53407
53457
  protoOf(CallbackWrapperLoggerOutput).x1k = function (tag, message, payload) {
53408
- this.t95_1.d(tag, message, this.u95_1(payload));
53458
+ this.u95_1.d(tag, message, this.v95_1(payload));
53409
53459
  };
53410
53460
  protoOf(CallbackWrapperLoggerOutput).y1k = function (tag, message, exception, payload) {
53411
- this.t95_1.e(tag, message, exception, this.u95_1(payload));
53461
+ this.u95_1.e(tag, message, exception, this.v95_1(payload));
53412
53462
  };
53413
53463
  protoOf(CallbackWrapperLoggerOutput).b1l = function (tag, message, payload) {
53414
- this.t95_1.i(tag, message, this.u95_1(payload));
53464
+ this.u95_1.i(tag, message, this.v95_1(payload));
53415
53465
  };
53416
53466
  protoOf(CallbackWrapperLoggerOutput).a1l = function (tag, message, exception, payload) {
53417
- this.t95_1.v(tag, message, exception, this.u95_1(payload));
53467
+ this.u95_1.v(tag, message, exception, this.v95_1(payload));
53418
53468
  };
53419
53469
  protoOf(CallbackWrapperLoggerOutput).z1k = function (tag, message, exception, payload) {
53420
- this.t95_1.w(tag, message, exception, this.u95_1(payload));
53470
+ this.u95_1.w(tag, message, exception, this.v95_1(payload));
53421
53471
  };
53422
53472
  function FileLoggerOutputImpl$observe$o$collect$slambda($$this$unsafeFlow, $types, resultContinuation) {
53423
- this.d96_1 = $$this$unsafeFlow;
53424
- this.e96_1 = $types;
53473
+ this.e96_1 = $$this$unsafeFlow;
53474
+ this.f96_1 = $types;
53425
53475
  CoroutineImpl.call(this, resultContinuation);
53426
53476
  }
53427
53477
  protoOf(FileLoggerOutputImpl$observe$o$collect$slambda).s4u = function (value, $completion) {
@@ -53442,15 +53492,15 @@
53442
53492
  case 0:
53443
53493
  this.s8_1 = 5;
53444
53494
  var tmp_0 = this;
53445
- tmp_0.h96_1 = this.d96_1;
53495
+ tmp_0.i96_1 = this.e96_1;
53446
53496
  var tmp_1 = this;
53447
- tmp_1.g96_1 = this.f96_1;
53497
+ tmp_1.h96_1 = this.g96_1;
53448
53498
  this.r8_1 = 1;
53449
53499
  continue $sm;
53450
53500
  case 1:
53451
- var $this$transform = this.h96_1;
53452
- var value = this.g96_1;
53453
- if (contains(this.e96_1, value.type)) {
53501
+ var $this$transform = this.i96_1;
53502
+ var value = this.h96_1;
53503
+ if (contains(this.f96_1, value.type)) {
53454
53504
  this.r8_1 = 3;
53455
53505
  suspendResult = $this$transform.x27(value, this);
53456
53506
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -53490,8 +53540,8 @@
53490
53540
  while (true);
53491
53541
  };
53492
53542
  protoOf(FileLoggerOutputImpl$observe$o$collect$slambda).t4u = function (value, completion) {
53493
- var i = new FileLoggerOutputImpl$observe$o$collect$slambda(this.d96_1, this.e96_1, completion);
53494
- i.f96_1 = value;
53543
+ var i = new FileLoggerOutputImpl$observe$o$collect$slambda(this.e96_1, this.f96_1, completion);
53544
+ i.g96_1 = value;
53495
53545
  return i;
53496
53546
  };
53497
53547
  function FileLoggerOutputImpl$observe$o$collect$slambda_0($$this$unsafeFlow, $types, resultContinuation) {
@@ -53504,8 +53554,8 @@
53504
53554
  }
53505
53555
  function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
53506
53556
  CoroutineImpl.call(this, resultContinuation);
53507
- this.q96_1 = _this__u8e3s4;
53508
- this.r96_1 = collector;
53557
+ this.r96_1 = _this__u8e3s4;
53558
+ this.s96_1 = collector;
53509
53559
  }
53510
53560
  protoOf($collectCOROUTINE$).z8 = function () {
53511
53561
  var suspendResult = this.t8_1;
@@ -53515,10 +53565,10 @@
53515
53565
  switch (tmp) {
53516
53566
  case 0:
53517
53567
  this.s8_1 = 2;
53518
- var $this$unsafeFlow = this.r96_1;
53568
+ var $this$unsafeFlow = this.s96_1;
53519
53569
  this.r8_1 = 1;
53520
- var tmp_0 = FileLoggerOutputImpl$observe$o$collect$slambda_0($this$unsafeFlow, this.q96_1.t96_1, null);
53521
- suspendResult = this.q96_1.s96_1.j27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
53570
+ var tmp_0 = FileLoggerOutputImpl$observe$o$collect$slambda_0($this$unsafeFlow, this.r96_1.u96_1, null);
53571
+ suspendResult = this.r96_1.t96_1.j27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
53522
53572
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
53523
53573
  return suspendResult;
53524
53574
  }
@@ -53542,8 +53592,8 @@
53542
53592
  };
53543
53593
  function log($this, type, tag, message, payload, stackTrace) {
53544
53594
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
53545
- $this.w96_1;
53546
- var tmp0_elvis_lhs = $this.u96_1(payload);
53595
+ $this.x96_1;
53596
+ var tmp0_elvis_lhs = $this.v96_1(payload);
53547
53597
  var tmp;
53548
53598
  if (tmp0_elvis_lhs == null) {
53549
53599
  return Unit_instance;
@@ -53552,7 +53602,7 @@
53552
53602
  }
53553
53603
  var key = tmp;
53554
53604
  // Inline function 'kotlin.collections.getOrPut' call
53555
- var this_0 = $this.x96_1;
53605
+ var this_0 = $this.y96_1;
53556
53606
  var value = this_0.b2(key);
53557
53607
  var tmp_0;
53558
53608
  if (value == null) {
@@ -53563,7 +53613,7 @@
53563
53613
  tmp_0 = value;
53564
53614
  }
53565
53615
  var logger = tmp_0;
53566
- logger.y96_1.d2a(new LoggerOutputDataDto(type, key, tag, message, stackTrace));
53616
+ logger.z96_1.d2a(new LoggerOutputDataDto(type, key, tag, message, stackTrace));
53567
53617
  }
53568
53618
  function log$default($this, type, tag, message, payload, stackTrace, $super) {
53569
53619
  stackTrace = stackTrace === VOID ? null : stackTrace;
@@ -53573,35 +53623,35 @@
53573
53623
  flow = flow === VOID ? MutableSharedFlow(10, 100, BufferOverflow_DROP_OLDEST_getInstance()) : flow;
53574
53624
  controller = controller === VOID ? null : controller;
53575
53625
  job = job === VOID ? null : job;
53576
- this.y96_1 = flow;
53577
- this.z96_1 = controller;
53578
- this.a97_1 = job;
53626
+ this.z96_1 = flow;
53627
+ this.a97_1 = controller;
53628
+ this.b97_1 = job;
53579
53629
  }
53580
- protoOf(LoggerModel).b97 = function () {
53581
- this.y96_1.h2a();
53582
- var tmp0_safe_receiver = this.a97_1;
53630
+ protoOf(LoggerModel).c97 = function () {
53631
+ this.z96_1.h2a();
53632
+ var tmp0_safe_receiver = this.b97_1;
53583
53633
  if (tmp0_safe_receiver == null)
53584
53634
  null;
53585
53635
  else {
53586
53636
  tmp0_safe_receiver.n1q();
53587
53637
  }
53588
53638
  };
53589
- protoOf(LoggerModel).c97 = function (flow, controller, job) {
53639
+ protoOf(LoggerModel).d97 = function (flow, controller, job) {
53590
53640
  return new LoggerModel(flow, controller, job);
53591
53641
  };
53592
- protoOf(LoggerModel).d97 = function (flow, controller, job, $super) {
53593
- flow = flow === VOID ? this.y96_1 : flow;
53594
- controller = controller === VOID ? this.z96_1 : controller;
53595
- job = job === VOID ? this.a97_1 : job;
53596
- return $super === VOID ? this.c97(flow, controller, job) : $super.c97.call(this, flow, controller, job);
53642
+ protoOf(LoggerModel).e97 = function (flow, controller, job, $super) {
53643
+ flow = flow === VOID ? this.z96_1 : flow;
53644
+ controller = controller === VOID ? this.a97_1 : controller;
53645
+ job = job === VOID ? this.b97_1 : job;
53646
+ return $super === VOID ? this.d97(flow, controller, job) : $super.d97.call(this, flow, controller, job);
53597
53647
  };
53598
53648
  protoOf(LoggerModel).toString = function () {
53599
- return 'LoggerModel(flow=' + toString(this.y96_1) + ', controller=' + toString_0(this.z96_1) + ', job=' + toString_0(this.a97_1) + ')';
53649
+ return 'LoggerModel(flow=' + toString(this.z96_1) + ', controller=' + toString_0(this.a97_1) + ', job=' + toString_0(this.b97_1) + ')';
53600
53650
  };
53601
53651
  protoOf(LoggerModel).hashCode = function () {
53602
- var result = hashCode(this.y96_1);
53603
- result = imul(result, 31) + (this.z96_1 == null ? 0 : hashCode(this.z96_1)) | 0;
53652
+ var result = hashCode(this.z96_1);
53604
53653
  result = imul(result, 31) + (this.a97_1 == null ? 0 : hashCode(this.a97_1)) | 0;
53654
+ result = imul(result, 31) + (this.b97_1 == null ? 0 : hashCode(this.b97_1)) | 0;
53605
53655
  return result;
53606
53656
  };
53607
53657
  protoOf(LoggerModel).equals = function (other) {
@@ -53609,18 +53659,18 @@
53609
53659
  return true;
53610
53660
  if (!(other instanceof LoggerModel))
53611
53661
  return false;
53612
- if (!equals(this.y96_1, other.y96_1))
53613
- return false;
53614
53662
  if (!equals(this.z96_1, other.z96_1))
53615
53663
  return false;
53616
53664
  if (!equals(this.a97_1, other.a97_1))
53617
53665
  return false;
53666
+ if (!equals(this.b97_1, other.b97_1))
53667
+ return false;
53618
53668
  return true;
53619
53669
  };
53620
53670
  function Companion_166() {
53621
- this.e97_1 = 1000;
53671
+ this.f97_1 = 1000;
53622
53672
  }
53623
- protoOf(Companion_166).f97 = function (payload) {
53673
+ protoOf(Companion_166).g97 = function (payload) {
53624
53674
  var tmp;
53625
53675
  if (!(payload == null) ? isInterface(payload, FirstMechanicAction) : false) {
53626
53676
  tmp = payload.id;
@@ -53642,13 +53692,13 @@
53642
53692
  return Companion_instance_171;
53643
53693
  }
53644
53694
  function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
53645
- this.g97_1 = function_0;
53695
+ this.h97_1 = function_0;
53646
53696
  }
53647
53697
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).x27 = function (value, $completion) {
53648
- return this.g97_1(value, $completion);
53698
+ return this.h97_1(value, $completion);
53649
53699
  };
53650
53700
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
53651
- return this.g97_1;
53701
+ return this.h97_1;
53652
53702
  };
53653
53703
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
53654
53704
  var tmp;
@@ -53672,8 +53722,8 @@
53672
53722
  return null;
53673
53723
  }
53674
53724
  function FileLoggerOutputImpl$observe$$inlined$filter$1($this, $types) {
53675
- this.s96_1 = $this;
53676
- this.t96_1 = $types;
53725
+ this.t96_1 = $this;
53726
+ this.u96_1 = $types;
53677
53727
  }
53678
53728
  protoOf(FileLoggerOutputImpl$observe$$inlined$filter$1).y27 = function (collector, $completion) {
53679
53729
  var tmp = new $collectCOROUTINE$(this, collector, $completion);
@@ -53693,26 +53743,26 @@
53693
53743
  }
53694
53744
  payloadToKeyMapper = tmp;
53695
53745
  enabled = enabled === VOID ? true : enabled;
53696
- this.u96_1 = payloadToKeyMapper;
53697
- this.v96_1 = enabled;
53746
+ this.v96_1 = payloadToKeyMapper;
53747
+ this.w96_1 = enabled;
53698
53748
  var tmp_0 = this;
53699
53749
  // Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
53700
- tmp_0.w96_1 = get_atomicfu$reentrantLock();
53750
+ tmp_0.x96_1 = get_atomicfu$reentrantLock();
53701
53751
  var tmp_1 = this;
53702
53752
  // Inline function 'kotlin.collections.mutableMapOf' call
53703
- tmp_1.x96_1 = LinkedHashMap_init_$Create$();
53753
+ tmp_1.y96_1 = LinkedHashMap_init_$Create$();
53704
53754
  }
53705
53755
  protoOf(FileLoggerOutputImpl).c1l = function (_set____db54di) {
53706
- this.v96_1 = _set____db54di;
53756
+ this.w96_1 = _set____db54di;
53707
53757
  };
53708
53758
  protoOf(FileLoggerOutputImpl).d1l = function () {
53709
- return this.v96_1;
53759
+ return this.w96_1;
53710
53760
  };
53711
- protoOf(FileLoggerOutputImpl).h97 = function (key, types) {
53761
+ protoOf(FileLoggerOutputImpl).i97 = function (key, types) {
53712
53762
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
53713
- this.w96_1;
53763
+ this.x96_1;
53714
53764
  // Inline function 'kotlin.collections.getOrPut' call
53715
- var this_0 = this.x96_1;
53765
+ var this_0 = this.y96_1;
53716
53766
  var value = this_0.b2(key);
53717
53767
  var tmp;
53718
53768
  if (value == null) {
@@ -53725,26 +53775,26 @@
53725
53775
  var logger = tmp;
53726
53776
  // Inline function 'kotlinx.coroutines.flow.filter' call
53727
53777
  // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
53728
- var this_1 = logger.y96_1;
53778
+ var this_1 = logger.z96_1;
53729
53779
  // Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
53730
53780
  return new FileLoggerOutputImpl$observe$$inlined$filter$1(this_1, types);
53731
53781
  };
53732
- protoOf(FileLoggerOutputImpl).c8y = function (key) {
53782
+ protoOf(FileLoggerOutputImpl).d8y = function (key) {
53733
53783
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
53734
- this.w96_1;
53735
- var tmp0_safe_receiver = this.x96_1.b2(key);
53784
+ this.x96_1;
53785
+ var tmp0_safe_receiver = this.y96_1.b2(key);
53736
53786
  if (tmp0_safe_receiver == null)
53737
53787
  null;
53738
53788
  else {
53739
- tmp0_safe_receiver.b97();
53789
+ tmp0_safe_receiver.c97();
53740
53790
  }
53741
- this.x96_1.f2(key);
53791
+ this.y96_1.f2(key);
53742
53792
  };
53743
- protoOf(FileLoggerOutputImpl).b8y = function (key, job, controller) {
53793
+ protoOf(FileLoggerOutputImpl).c8y = function (key, job, controller) {
53744
53794
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
53745
- this.w96_1;
53795
+ this.x96_1;
53746
53796
  // Inline function 'kotlin.collections.getOrPut' call
53747
- var this_0 = this.x96_1;
53797
+ var this_0 = this.y96_1;
53748
53798
  var value = this_0.b2(key);
53749
53799
  var tmp;
53750
53800
  if (value == null) {
@@ -53754,30 +53804,30 @@
53754
53804
  } else {
53755
53805
  tmp = value;
53756
53806
  }
53757
- var updatedModel = tmp.d97(VOID, controller, job);
53807
+ var updatedModel = tmp.e97(VOID, controller, job);
53758
53808
  // Inline function 'kotlin.collections.set' call
53759
- this.x96_1.e2(key, updatedModel);
53809
+ this.y96_1.e2(key, updatedModel);
53760
53810
  };
53761
53811
  protoOf(FileLoggerOutputImpl).h2 = function () {
53762
53812
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
53763
- this.w96_1;
53813
+ this.x96_1;
53764
53814
  // Inline function 'kotlin.collections.forEach' call
53765
53815
  // Inline function 'kotlin.collections.iterator' call
53766
- var _iterator__ex2g4s = this.x96_1.u().l();
53816
+ var _iterator__ex2g4s = this.y96_1.u().l();
53767
53817
  while (_iterator__ex2g4s.m()) {
53768
53818
  var element = _iterator__ex2g4s.n();
53769
- element.w().b97();
53819
+ element.w().c97();
53770
53820
  }
53771
- this.x96_1.h2();
53821
+ this.y96_1.h2();
53772
53822
  };
53773
53823
  protoOf(FileLoggerOutputImpl).x1k = function (tag, message, payload) {
53774
- if (!this.v96_1)
53824
+ if (!this.w96_1)
53775
53825
  return Unit_instance;
53776
53826
  var tmp0_type = LogType_DEBUG_getInstance();
53777
53827
  log$default(this, tmp0_type, tag, message, payload);
53778
53828
  };
53779
53829
  protoOf(FileLoggerOutputImpl).y1k = function (tag, message, exception, payload) {
53780
- if (!this.v96_1)
53830
+ if (!this.w96_1)
53781
53831
  return Unit_instance;
53782
53832
  var tmp4_type = LogType_ERROR_getInstance();
53783
53833
  var tmp;
@@ -53792,13 +53842,13 @@
53792
53842
  log(this, tmp4_type, tag, tmp5_message, payload, tmp6_stackTrace);
53793
53843
  };
53794
53844
  protoOf(FileLoggerOutputImpl).b1l = function (tag, message, payload) {
53795
- if (!this.v96_1)
53845
+ if (!this.w96_1)
53796
53846
  return Unit_instance;
53797
53847
  var tmp0_type = LogType_INFO_getInstance();
53798
53848
  log(this, tmp0_type, tag, message, payload, null);
53799
53849
  };
53800
53850
  protoOf(FileLoggerOutputImpl).a1l = function (tag, message, exception, payload) {
53801
- if (!this.v96_1)
53851
+ if (!this.w96_1)
53802
53852
  return Unit_instance;
53803
53853
  var tmp4_type = LogType_VERBOSE_getInstance();
53804
53854
  var tmp;
@@ -53813,7 +53863,7 @@
53813
53863
  log(this, tmp4_type, tag, tmp5_message, payload, tmp6_stackTrace);
53814
53864
  };
53815
53865
  protoOf(FileLoggerOutputImpl).z1k = function (tag, message, exception, payload) {
53816
- if (!this.v96_1)
53866
+ if (!this.w96_1)
53817
53867
  return Unit_instance;
53818
53868
  var tmp4_type = LogType_WARN_getInstance();
53819
53869
  var tmp1_elvis_lhs = exception == null ? null : exception.message;
@@ -54353,9 +54403,9 @@
54353
54403
  }
54354
54404
  }
54355
54405
  function GameHelperImpl(logger) {
54356
- this.l97_1 = logger;
54406
+ this.m97_1 = logger;
54357
54407
  }
54358
- protoOf(GameHelperImpl).i97 = function (store, playerIds, includeBots) {
54408
+ protoOf(GameHelperImpl).j97 = function (store, playerIds, includeBots) {
54359
54409
  var state = store.state;
54360
54410
  var tmp;
54361
54411
  if (!state.k6i()) {
@@ -54401,7 +54451,7 @@
54401
54451
  // Inline function 'kotlin.collections.toTypedArray' call
54402
54452
  return copyToArray(destination_1);
54403
54453
  };
54404
- protoOf(GameHelperImpl).j97 = function (store, playerIds, includeBots) {
54454
+ protoOf(GameHelperImpl).k97 = function (store, playerIds, includeBots) {
54405
54455
  var state = store.state;
54406
54456
  var tmp;
54407
54457
  if (!state.k6i()) {
@@ -54572,10 +54622,10 @@
54572
54622
  // Inline function 'kotlin.collections.toTypedArray' call
54573
54623
  return copyToArray(destination);
54574
54624
  };
54575
- protoOf(GameHelperImpl).k97 = function (mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) {
54625
+ protoOf(GameHelperImpl).l97 = function (mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) {
54576
54626
  var roomMode = mapToRoomMode(mode);
54577
54627
  var isEnableChoosePartnerScreen = (transition == null || transition.isEnableChoosePartnerScreen) && roomMode.isEnableChoosePartnerScreen;
54578
- this.l97_1.v(VOID, 'createConfig: ' + ('mode = ' + roomMode.toString() + ', ') + ('transition = ' + toString_0(transition) + ', ') + ('isPrivate = ' + isPrivate + ', ') + ('dealerStrategy = ' + dealerStrategy + ', ') + ('league = ' + league + ', ') + ('isEnableChoosePartnerScreen = ' + isEnableChoosePartnerScreen + ' '));
54628
+ this.m97_1.v(VOID, 'createConfig: ' + ('mode = ' + roomMode.toString() + ', ') + ('transition = ' + toString_0(transition) + ', ') + ('isPrivate = ' + isPrivate + ', ') + ('dealerStrategy = ' + dealerStrategy + ', ') + ('league = ' + league + ', ') + ('isEnableChoosePartnerScreen = ' + isEnableChoosePartnerScreen + ' '));
54579
54629
  var options = Companion_instance_155.getServerOptions(isEnableChat, isBotsEnabled, isEnableChoosePartnerScreen);
54580
54630
  var playersMode = this.mapPlayers(players);
54581
54631
  var pointsMode = this.mapPoints(points);
@@ -55010,40 +55060,40 @@
55010
55060
  function getRandomAvatarData_0($this) {
55011
55061
  var avatarSetNumber = Default_getInstance().ng(get_entries_6().o());
55012
55062
  var avatarSet = get_entries_6().p(avatarSetNumber);
55013
- return new AvatarData(Default_getInstance().ng(avatarSet.p97()), avatarSet);
55063
+ return new AvatarData(Default_getInstance().ng(avatarSet.q97()), avatarSet);
55014
55064
  }
55015
55065
  function getAvatarUrlByIndex($this, data) {
55016
55066
  return mapToPattern($this, data);
55017
55067
  }
55018
55068
  function getNicknameByIndex($this, data) {
55019
- return data.r97_1.s97(data.q97_1);
55069
+ return data.s97_1.t97(data.r97_1);
55020
55070
  }
55021
55071
  function mapToPattern($this, data) {
55022
- return 'debertz://raspberry.games/' + data.r97_1.p2_1 + '/' + data.q97_1;
55072
+ return 'debertz://raspberry.games/' + data.s97_1.p2_1 + '/' + data.r97_1;
55023
55073
  }
55024
55074
  function Companion_167() {
55025
55075
  Companion_instance_172 = this;
55026
- this.t97_1 = 'debertz://raspberry.games';
55076
+ this.u97_1 = 'debertz://raspberry.games';
55027
55077
  var tmp = this;
55028
55078
  // Inline function 'kotlin.arrayOf' call
55029
55079
  // Inline function 'kotlin.js.unsafeCast' call
55030
55080
  // Inline function 'kotlin.js.asDynamic' call
55031
- tmp.u97_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
55081
+ tmp.v97_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
55032
55082
  var tmp_0 = this;
55033
55083
  // Inline function 'kotlin.arrayOf' call
55034
55084
  // Inline function 'kotlin.js.unsafeCast' call
55035
55085
  // Inline function 'kotlin.js.asDynamic' call
55036
- tmp_0.v97_1 = ['\u0422\u0430\u043D\u044F', 'TheBest', '\u0425\u0430\u0440\u043A\u0456\u0432\u041C\u0456\u0441\u0442\u043E\u0413\u0435\u0440\u043E\u0439', '\u0412\u0430\u043B\u044F', '\u041C\u0430\u0440\u0433\u0430\u0440\u0438\u0442\u0430', 'Dasha', '\u0410\u0440\u0442\u0435\u043C', '\u041F\u0435\u0442\u0440\u043E\u0432\u0438\u0447', '\u041A\u0440\u0438\u0441', '\u041C\u0430\u0440\u0456\u0430\u043D\u0430', '\u0421\u0430\u043B\u0442\u0456\u0432\u043A\u0430', '\u042F\u043D\u0430', 'Alex', '\u041E\u0434\u0435\u0441\u0441\u0430\u041C\u0430\u043C\u0430', 'Vika', '\u0421\u0432\u0456\u0442\u043B\u0430\u043D\u0430'];
55086
+ tmp_0.w97_1 = ['\u0422\u0430\u043D\u044F', 'TheBest', '\u0425\u0430\u0440\u043A\u0456\u0432\u041C\u0456\u0441\u0442\u043E\u0413\u0435\u0440\u043E\u0439', '\u0412\u0430\u043B\u044F', '\u041C\u0430\u0440\u0433\u0430\u0440\u0438\u0442\u0430', 'Dasha', '\u0410\u0440\u0442\u0435\u043C', '\u041F\u0435\u0442\u0440\u043E\u0432\u0438\u0447', '\u041A\u0440\u0438\u0441', '\u041C\u0430\u0440\u0456\u0430\u043D\u0430', '\u0421\u0430\u043B\u0442\u0456\u0432\u043A\u0430', '\u042F\u043D\u0430', 'Alex', '\u041E\u0434\u0435\u0441\u0441\u0430\u041C\u0430\u043C\u0430', 'Vika', '\u0421\u0432\u0456\u0442\u043B\u0430\u043D\u0430'];
55037
55087
  var tmp_1 = this;
55038
55088
  // Inline function 'kotlin.arrayOf' call
55039
55089
  // Inline function 'kotlin.js.unsafeCast' call
55040
55090
  // Inline function 'kotlin.js.asDynamic' call
55041
- tmp_1.w97_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
55091
+ tmp_1.x97_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
55042
55092
  var tmp_2 = this;
55043
55093
  // Inline function 'kotlin.arrayOf' call
55044
55094
  // Inline function 'kotlin.js.unsafeCast' call
55045
55095
  // Inline function 'kotlin.js.asDynamic' call
55046
- tmp_2.x97_1 = ['\u0423\u0441\u0456\u043C\u0414\u043E\u0431\u0440\u0430', '\u0410\u043B\u0435\u043A\u0441', 'MOLOTOK', '\u041B\u042F\u041B\u042F', '\u0406\u0412\u0410\u041D', '\u041C\u0438\u043A\u0438\u0442\u0430', '\u0410\u043B\u0456\u0441\u0430', '\u041C\u0430\u043A\u0441\u0438\u043C', '\u0421\u043E\u043B\u043E\u043C\u0456\u044F', '\u0414\u0436\u0435\u0432\u0435\u043B\u0456\u043D\u0430', '\u041A\u0441\u044E\u0445\u0430', '\u0422\u0410\u0420\u0410\u0421', '\u041E\u043B\u044F', '\u0414\u043E\u0420\u043E\u0431\u043E\u0442\u0438', '\u0421\u043B\u0430\u0432\u0430\u0417\u0421\u0423!', '\u0426\u0430\u0440\u044C\u0414\u0435\u0431\u0430'];
55096
+ tmp_2.y97_1 = ['\u0423\u0441\u0456\u043C\u0414\u043E\u0431\u0440\u0430', '\u0410\u043B\u0435\u043A\u0441', 'MOLOTOK', '\u041B\u042F\u041B\u042F', '\u0406\u0412\u0410\u041D', '\u041C\u0438\u043A\u0438\u0442\u0430', '\u0410\u043B\u0456\u0441\u0430', '\u041C\u0430\u043A\u0441\u0438\u043C', '\u0421\u043E\u043B\u043E\u043C\u0456\u044F', '\u0414\u0436\u0435\u0432\u0435\u043B\u0456\u043D\u0430', '\u041A\u0441\u044E\u0445\u0430', '\u0422\u0410\u0420\u0410\u0421', '\u041E\u043B\u044F', '\u0414\u043E\u0420\u043E\u0431\u043E\u0442\u0438', '\u0421\u043B\u0430\u0432\u0430\u0417\u0421\u0423!', '\u0426\u0430\u0440\u044C\u0414\u0435\u0431\u0430'];
55047
55097
  }
55048
55098
  var Companion_instance_172;
55049
55099
  function Companion_getInstance_174() {
@@ -55054,14 +55104,14 @@
55054
55104
  function AvatarSet(name, ordinal) {
55055
55105
  Enum.call(this, name, ordinal);
55056
55106
  }
55057
- protoOf(AvatarSet).p97 = function () {
55107
+ protoOf(AvatarSet).q97 = function () {
55058
55108
  var tmp;
55059
55109
  switch (this.p2_1) {
55060
55110
  case 0:
55061
- tmp = Companion_getInstance_174().v97_1.length;
55111
+ tmp = Companion_getInstance_174().w97_1.length;
55062
55112
  break;
55063
55113
  case 1:
55064
- tmp = Companion_getInstance_174().x97_1.length;
55114
+ tmp = Companion_getInstance_174().y97_1.length;
55065
55115
  break;
55066
55116
  default:
55067
55117
  noWhenBranchMatchedException();
@@ -55069,14 +55119,14 @@
55069
55119
  }
55070
55120
  return tmp;
55071
55121
  };
55072
- protoOf(AvatarSet).s97 = function (index) {
55122
+ protoOf(AvatarSet).t97 = function (index) {
55073
55123
  var tmp;
55074
55124
  switch (this.p2_1) {
55075
55125
  case 0:
55076
- tmp = Companion_getInstance_174().v97_1[index];
55126
+ tmp = Companion_getInstance_174().w97_1[index];
55077
55127
  break;
55078
55128
  case 1:
55079
- tmp = Companion_getInstance_174().x97_1[index];
55129
+ tmp = Companion_getInstance_174().y97_1[index];
55080
55130
  break;
55081
55131
  default:
55082
55132
  noWhenBranchMatchedException();
@@ -55085,8 +55135,8 @@
55085
55135
  return tmp;
55086
55136
  };
55087
55137
  function AvatarData(index, avatarSet) {
55088
- this.q97_1 = index;
55089
- this.r97_1 = avatarSet;
55138
+ this.r97_1 = index;
55139
+ this.s97_1 = avatarSet;
55090
55140
  }
55091
55141
  function AvatarSet_ORIGIN_getInstance() {
55092
55142
  AvatarSet_initEntries();
@@ -55099,7 +55149,7 @@
55099
55149
  function GameResourcesImpl() {
55100
55150
  Companion_getInstance_174();
55101
55151
  }
55102
- protoOf(GameResourcesImpl).m97 = function (playerId, existingNicknames) {
55152
+ protoOf(GameResourcesImpl).n97 = function (playerId, existingNicknames) {
55103
55153
  return createUser(this, playerId, existingNicknames);
55104
55154
  };
55105
55155
  protoOf(GameResourcesImpl).createBotUsers = function (playerIds) {
@@ -55140,45 +55190,45 @@
55140
55190
  }
55141
55191
  var WARN;
55142
55192
  function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
55143
- this.y97_1 = loggerCallback;
55193
+ this.z97_1 = loggerCallback;
55144
55194
  }
55145
55195
  protoOf(LoggerCallbacksWrapperLoggerOutput).x1k = function (tag, message, payload) {
55146
- this.y97_1('debug', tag, message, null, payload);
55196
+ this.z97_1('debug', tag, message, null, payload);
55147
55197
  };
55148
55198
  protoOf(LoggerCallbacksWrapperLoggerOutput).y1k = function (tag, message, exception, payload) {
55149
- this.y97_1('error', tag, generateMsg(message, exception), exception, payload);
55199
+ this.z97_1('error', tag, generateMsg(message, exception), exception, payload);
55150
55200
  };
55151
55201
  protoOf(LoggerCallbacksWrapperLoggerOutput).b1l = function (tag, message, payload) {
55152
- this.y97_1('debug', tag, message, null, payload);
55202
+ this.z97_1('debug', tag, message, null, payload);
55153
55203
  };
55154
55204
  protoOf(LoggerCallbacksWrapperLoggerOutput).a1l = function (tag, message, exception, payload) {
55155
- this.y97_1('debug', tag, generateMsg(message, exception), exception, payload);
55205
+ this.z97_1('debug', tag, generateMsg(message, exception), exception, payload);
55156
55206
  };
55157
55207
  protoOf(LoggerCallbacksWrapperLoggerOutput).z1k = function (tag, message, exception, payload) {
55158
- this.y97_1('warn', tag, generateMsg(message, exception), exception, payload);
55208
+ this.z97_1('warn', tag, generateMsg(message, exception), exception, payload);
55159
55209
  };
55160
55210
  function ParserHelper() {
55161
55211
  }
55162
55212
  function ParserHelperImpl(json, encoderDecoderProvider) {
55163
- this.z97_1 = json;
55164
- this.a98_1 = encoderDecoderProvider;
55213
+ this.a98_1 = json;
55214
+ this.b98_1 = encoderDecoderProvider;
55165
55215
  }
55166
55216
  protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
55167
- return this.a98_1.j8e(mapToDto_20(action));
55217
+ return this.b98_1.j8e(mapToDto_20(action));
55168
55218
  };
55169
55219
  protoOf(ParserHelperImpl).decodeFromClientEvent = function (fromPlayerId, json) {
55170
- return mapFromDto_16(this.a98_1.m8e(json), fromPlayerId);
55220
+ return mapFromDto_16(this.b98_1.m8e(json), fromPlayerId);
55171
55221
  };
55172
55222
  protoOf(ParserHelperImpl).encodeToClientEvent = function (action) {
55173
- return this.a98_1.k8e(mapToDto_74(action));
55223
+ return this.b98_1.k8e(mapToDto_74(action));
55174
55224
  };
55175
55225
  protoOf(ParserHelperImpl).decodeToClientEventToMechanicActions = function (playerId, engine, json) {
55176
55226
  // Inline function 'kotlin.collections.toTypedArray' call
55177
- var this_0 = mapFromClientDtoListWithPayload(this.a98_1.n8e(json), playerId, engine);
55227
+ var this_0 = mapFromClientDtoListWithPayload(this.b98_1.n8e(json), playerId, engine);
55178
55228
  return copyToArray(this_0);
55179
55229
  };
55180
55230
  protoOf(ParserHelperImpl).encodeGameRound = function (round) {
55181
- var tmp0 = this.z97_1;
55231
+ var tmp0 = this.a98_1;
55182
55232
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
55183
55233
  var value = mapToDto_31(round);
55184
55234
  // Inline function 'kotlinx.serialization.serializer' call
@@ -55189,7 +55239,7 @@
55189
55239
  return tmp0.ep(tmp$ret$1, value);
55190
55240
  };
55191
55241
  protoOf(ParserHelperImpl).encodeGameRoundItems = function (round) {
55192
- var tmp0 = this.z97_1;
55242
+ var tmp0 = this.a98_1;
55193
55243
  // Inline function 'kotlin.collections.map' call
55194
55244
  var this_0 = round.items;
55195
55245
  // Inline function 'kotlin.collections.mapTo' call
@@ -55211,7 +55261,7 @@
55211
55261
  return tmp0.ep(tmp$ret$4, destination);
55212
55262
  };
55213
55263
  protoOf(ParserHelperImpl).encodeGameMetadata = function (metadata) {
55214
- var tmp0 = this.z97_1;
55264
+ var tmp0 = this.a98_1;
55215
55265
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
55216
55266
  var value = mapToDto_33(metadata);
55217
55267
  // Inline function 'kotlinx.serialization.serializer' call
@@ -55222,7 +55272,7 @@
55222
55272
  return tmp0.ep(tmp$ret$1, value);
55223
55273
  };
55224
55274
  protoOf(ParserHelperImpl).encodeRoomConfig = function (config) {
55225
- var tmp0 = this.z97_1;
55275
+ var tmp0 = this.a98_1;
55226
55276
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
55227
55277
  var value = mapToDto_59(config);
55228
55278
  // Inline function 'kotlinx.serialization.serializer' call
@@ -55233,7 +55283,7 @@
55233
55283
  return tmp0.ep(tmp$ret$1, value);
55234
55284
  };
55235
55285
  protoOf(ParserHelperImpl).encodeGameToRoomTransition = function (transition) {
55236
- var tmp0 = this.z97_1;
55286
+ var tmp0 = this.a98_1;
55237
55287
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
55238
55288
  var value = mapToDto_95(transition);
55239
55289
  // Inline function 'kotlinx.serialization.serializer' call
@@ -55245,7 +55295,7 @@
55245
55295
  };
55246
55296
  protoOf(ParserHelperImpl).decodeGameToRoomTransition = function (json) {
55247
55297
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
55248
- var this_0 = this.z97_1;
55298
+ var this_0 = this.a98_1;
55249
55299
  // Inline function 'kotlinx.serialization.serializer' call
55250
55300
  var this_1 = this_0.ds();
55251
55301
  // Inline function 'kotlinx.serialization.internal.cast' call
@@ -55256,7 +55306,7 @@
55256
55306
  };
55257
55307
  protoOf(ParserHelperImpl).decodeTableStateWithActions = function (json) {
55258
55308
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
55259
- var this_0 = this.z97_1;
55309
+ var this_0 = this.a98_1;
55260
55310
  // Inline function 'kotlinx.serialization.serializer' call
55261
55311
  var this_1 = this_0.ds();
55262
55312
  // Inline function 'kotlinx.serialization.internal.cast' call
@@ -55266,7 +55316,7 @@
55266
55316
  return mapFromDto_97(tmp$ret$2);
55267
55317
  };
55268
55318
  protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
55269
- var tmp0 = this.z97_1;
55319
+ var tmp0 = this.a98_1;
55270
55320
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
55271
55321
  var value = mapToDto_126(table);
55272
55322
  // Inline function 'kotlinx.serialization.serializer' call
@@ -55277,11 +55327,11 @@
55277
55327
  return tmp0.ep(tmp$ret$1, value);
55278
55328
  };
55279
55329
  protoOf(ParserHelperImpl).decodeTableLite = function (json) {
55280
- return mapFromDto_63(this.a98_1.l8e(json));
55330
+ return mapFromDto_63(this.b98_1.l8e(json));
55281
55331
  };
55282
55332
  protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
55283
55333
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
55284
- var this_0 = this.z97_1;
55334
+ var this_0 = this.a98_1;
55285
55335
  // Inline function 'kotlinx.serialization.serializer' call
55286
55336
  var this_1 = this_0.ds();
55287
55337
  // Inline function 'kotlinx.serialization.internal.cast' call
@@ -55294,16 +55344,16 @@
55294
55344
  function RatingHelper() {
55295
55345
  }
55296
55346
  function RatingHelperImpl(userRatingInteractor) {
55297
- this.b98_1 = userRatingInteractor;
55347
+ this.c98_1 = userRatingInteractor;
55298
55348
  }
55299
55349
  protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
55300
- return this.b98_1.p8l(league, rating);
55350
+ return this.c98_1.p8l(league, rating);
55301
55351
  };
55302
55352
  protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
55303
- return this.b98_1.r8l(rating);
55353
+ return this.c98_1.r8l(rating);
55304
55354
  };
55305
55355
  protoOf(RatingHelperImpl).getLeaguesConfig = function () {
55306
- return this.b98_1.q8l();
55356
+ return this.c98_1.q8l();
55307
55357
  };
55308
55358
  function engineHelpersModule() {
55309
55359
  return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
@@ -55408,14 +55458,14 @@
55408
55458
  return new GameResourcesImpl();
55409
55459
  }
55410
55460
  function _get_logger__rkp4sl_3($this) {
55411
- var tmp0 = $this.d98_1;
55461
+ var tmp0 = $this.e98_1;
55412
55462
  var tmp = KProperty1;
55413
55463
  // Inline function 'kotlin.getValue' call
55414
55464
  getPropertyCallableRef('logger', 1, tmp, EngineHelpersFactory$_get_logger_$ref_np7wt5(), null);
55415
55465
  return tmp0.w();
55416
55466
  }
55417
55467
  function _get_di__ndbzja($this) {
55418
- var tmp0 = $this.e98_1;
55468
+ var tmp0 = $this.f98_1;
55419
55469
  var tmp = KProperty1;
55420
55470
  // Inline function 'kotlin.getValue' call
55421
55471
  getPropertyCallableRef('di', 1, tmp, EngineHelpersFactory$_get_di_$ref_w4qz4i(), null);
@@ -55424,11 +55474,11 @@
55424
55474
  function EngineHelpersFactory$logger$delegate$lambda(this$0) {
55425
55475
  return function () {
55426
55476
  var tmp;
55427
- if (this$0.c98_1 == null) {
55477
+ if (this$0.d98_1 == null) {
55428
55478
  tmp = null;
55429
55479
  } else {
55430
55480
  // Inline function 'kotlin.let' call
55431
- tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.c98_1)]));
55481
+ tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.d98_1)]));
55432
55482
  }
55433
55483
  var tmp1_elvis_lhs = tmp;
55434
55484
  return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
@@ -55518,11 +55568,11 @@
55518
55568
  }
55519
55569
  function EngineHelpersFactory(loggerCallback) {
55520
55570
  loggerCallback = loggerCallback === VOID ? null : loggerCallback;
55521
- this.c98_1 = loggerCallback;
55571
+ this.d98_1 = loggerCallback;
55522
55572
  var tmp = this;
55523
- tmp.d98_1 = lazy(EngineHelpersFactory$logger$delegate$lambda(this));
55573
+ tmp.e98_1 = lazy(EngineHelpersFactory$logger$delegate$lambda(this));
55524
55574
  var tmp_0 = this;
55525
- tmp_0.e98_1 = lazy(EngineHelpersFactory$di$delegate$lambda(this));
55575
+ tmp_0.f98_1 = lazy(EngineHelpersFactory$di$delegate$lambda(this));
55526
55576
  var tmp_1 = this;
55527
55577
  // Inline function 'org.kodein.di.instance' call
55528
55578
  var this_0 = _get_di__ndbzja(this);
@@ -55531,7 +55581,7 @@
55531
55581
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
55532
55582
  var tmp_3 = Instance(this_0, tmp$ret$0, null);
55533
55583
  var tmp_4 = KProperty1;
55534
- tmp_1.f98_1 = tmp_3.a63(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
55584
+ tmp_1.g98_1 = tmp_3.a63(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
55535
55585
  var tmp_5 = this;
55536
55586
  // Inline function 'org.kodein.di.instance' call
55537
55587
  var this_1 = _get_di__ndbzja(this);
@@ -55540,7 +55590,7 @@
55540
55590
  var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
55541
55591
  var tmp_7 = Instance(this_1, tmp$ret$2, null);
55542
55592
  var tmp_8 = KProperty1;
55543
- tmp_5.g98_1 = tmp_7.a63(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
55593
+ tmp_5.h98_1 = tmp_7.a63(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
55544
55594
  var tmp_9 = this;
55545
55595
  // Inline function 'org.kodein.di.instance' call
55546
55596
  var this_2 = _get_di__ndbzja(this);
@@ -55549,7 +55599,7 @@
55549
55599
  var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
55550
55600
  var tmp_11 = Instance(this_2, tmp$ret$4, null);
55551
55601
  var tmp_12 = KProperty1;
55552
- tmp_9.h98_1 = tmp_11.a63(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
55602
+ tmp_9.i98_1 = tmp_11.a63(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
55553
55603
  var tmp_13 = this;
55554
55604
  // Inline function 'org.kodein.di.instance' call
55555
55605
  var this_3 = _get_di__ndbzja(this);
@@ -55558,31 +55608,31 @@
55558
55608
  var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
55559
55609
  var tmp_15 = Instance(this_3, tmp$ret$6, null);
55560
55610
  var tmp_16 = KProperty1;
55561
- tmp_13.i98_1 = tmp_15.a63(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
55611
+ tmp_13.j98_1 = tmp_15.a63(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
55562
55612
  }
55563
- protoOf(EngineHelpersFactory).j98 = function () {
55564
- var tmp0 = this.f98_1;
55613
+ protoOf(EngineHelpersFactory).k98 = function () {
55614
+ var tmp0 = this.g98_1;
55565
55615
  var tmp = KProperty1;
55566
55616
  // Inline function 'kotlin.getValue' call
55567
55617
  getPropertyCallableRef('ratingHelper', 1, tmp, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks_0(), null);
55568
55618
  return tmp0.w();
55569
55619
  };
55570
- protoOf(EngineHelpersFactory).k98 = function () {
55571
- var tmp0 = this.g98_1;
55620
+ protoOf(EngineHelpersFactory).l98 = function () {
55621
+ var tmp0 = this.h98_1;
55572
55622
  var tmp = KProperty1;
55573
55623
  // Inline function 'kotlin.getValue' call
55574
55624
  getPropertyCallableRef('parserHelper', 1, tmp, EngineHelpersFactory$_get_parserHelper_$ref_egvg46_0(), null);
55575
55625
  return tmp0.w();
55576
55626
  };
55577
- protoOf(EngineHelpersFactory).l98 = function () {
55578
- var tmp0 = this.h98_1;
55627
+ protoOf(EngineHelpersFactory).m98 = function () {
55628
+ var tmp0 = this.i98_1;
55579
55629
  var tmp = KProperty1;
55580
55630
  // Inline function 'kotlin.getValue' call
55581
55631
  getPropertyCallableRef('gameHelper', 1, tmp, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93_0(), null);
55582
55632
  return tmp0.w();
55583
55633
  };
55584
- protoOf(EngineHelpersFactory).m98 = function () {
55585
- var tmp0 = this.i98_1;
55634
+ protoOf(EngineHelpersFactory).n98 = function () {
55635
+ var tmp0 = this.j98_1;
55586
55636
  var tmp = KProperty1;
55587
55637
  // Inline function 'kotlin.getValue' call
55588
55638
  getPropertyCallableRef('gameResources', 1, tmp, EngineHelpersFactory$_get_gameResources_$ref_kynd2o_0(), null);
@@ -56228,7 +56278,7 @@
56228
56278
  protoOf(CallbackWrapperLoggerOutput).i = i;
56229
56279
  protoOf(CallbackWrapperLoggerOutput).v = v;
56230
56280
  protoOf(CallbackWrapperLoggerOutput).w = w;
56231
- protoOf(FileLoggerOutputImpl).u8z = observe$default;
56281
+ protoOf(FileLoggerOutputImpl).v8z = observe$default;
56232
56282
  protoOf(FileLoggerOutputImpl).d = d;
56233
56283
  protoOf(FileLoggerOutputImpl).e = e;
56234
56284
  protoOf(FileLoggerOutputImpl).i = i;
@@ -56248,10 +56298,10 @@
56248
56298
  protoOf(LoggerCallbacksWrapperLoggerOutput).i = i;
56249
56299
  protoOf(LoggerCallbacksWrapperLoggerOutput).v = v;
56250
56300
  protoOf(LoggerCallbacksWrapperLoggerOutput).w = w;
56251
- defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).j98);
56252
- defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).k98);
56253
- defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).l98);
56254
- defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).m98);
56301
+ defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).k98);
56302
+ defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).l98);
56303
+ defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).m98);
56304
+ defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).n98);
56255
56305
  //endregion
56256
56306
  //region block: init
56257
56307
  Companion_instance_5 = new Companion_0();