raspberry_games_server_game_logic 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.
@@ -1271,21 +1271,21 @@
1271
1271
  tmp = types;
1272
1272
  }
1273
1273
  types = tmp;
1274
- return $super === VOID ? this.z9b(key, types) : $super.z9b.call(this, key, types);
1274
+ return $super === VOID ? this.a9c(key, types) : $super.a9c.call(this, key, types);
1275
1275
  }
1276
1276
  initMetadataForInterface(FileLoggerOutput, 'FileLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
1277
1277
  initMetadataForClass(FileLoggerOutputImpl, 'FileLoggerOutputImpl', FileLoggerOutputImpl, VOID, [FileLoggerOutput]);
1278
1278
  function filterLivePlayers(store, playerIds, includeBots, $super) {
1279
1279
  includeBots = includeBots === VOID ? false : includeBots;
1280
- return $super === VOID ? this.a9c(store, playerIds, includeBots) : $super.a9c.call(this, store, playerIds, includeBots);
1280
+ return $super === VOID ? this.b9c(store, playerIds, includeBots) : $super.b9c.call(this, store, playerIds, includeBots);
1281
1281
  }
1282
1282
  function filterLiveDuringGamePlayers(store, playerIds, includeBots, $super) {
1283
1283
  includeBots = includeBots === VOID ? false : includeBots;
1284
- return $super === VOID ? this.b9c(store, playerIds, includeBots) : $super.b9c.call(this, store, playerIds, includeBots);
1284
+ return $super === VOID ? this.c9c(store, playerIds, includeBots) : $super.c9c.call(this, store, playerIds, includeBots);
1285
1285
  }
1286
1286
  function createConfig(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league, $super) {
1287
1287
  league = league === VOID ? null : league;
1288
- return $super === VOID ? this.c9c(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) : $super.c9c.call(this, mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league);
1288
+ return $super === VOID ? this.d9c(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) : $super.d9c.call(this, mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league);
1289
1289
  }
1290
1290
  initMetadataForInterface(GameHelper, 'GameHelper');
1291
1291
  initMetadataForClass(GameHelperImpl, 'GameHelperImpl', VOID, VOID, [GameHelper]);
@@ -1298,7 +1298,7 @@
1298
1298
  tmp = existingNicknames;
1299
1299
  }
1300
1300
  existingNicknames = tmp;
1301
- return $super === VOID ? this.e9c(playerId, existingNicknames) : $super.e9c.call(this, playerId, existingNicknames);
1301
+ return $super === VOID ? this.f9c(playerId, existingNicknames) : $super.f9c.call(this, playerId, existingNicknames);
1302
1302
  }
1303
1303
  initMetadataForInterface(GameResources, 'GameResources');
1304
1304
  initMetadataForCompanion(Companion_166);
@@ -2221,7 +2221,7 @@
2221
2221
  ffaLossReductionPerExtra = ffaLossReductionPerExtra === VOID ? 0.15 : ffaLossReductionPerExtra;
2222
2222
  ffaLossMinMult = ffaLossMinMult === VOID ? 0.6 : ffaLossMinMult;
2223
2223
  ffaCloseLossPenaltyMult = ffaCloseLossPenaltyMult === VOID ? 0.6 : ffaCloseLossPenaltyMult;
2224
- botNativeUpdatesRating = botNativeUpdatesRating === VOID ? false : botNativeUpdatesRating;
2224
+ botNativeUpdatesRating = botNativeUpdatesRating === VOID ? true : botNativeUpdatesRating;
2225
2225
  replacementForcedDecrease = replacementForcedDecrease === VOID ? true : replacementForcedDecrease;
2226
2226
  this.defaultFactor = defaultFactor;
2227
2227
  this.eloScaleH2H = eloScaleH2H;
@@ -42429,7 +42429,7 @@
42429
42429
  };
42430
42430
  function RatingCalculator() {
42431
42431
  }
42432
- function calculateHeadToHead($this, ratingList, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient, cfg) {
42432
+ function calculateHeadToHead($this, ratingList, minUserRating, maxUserRating, gameComplexityCoefficient, cfg) {
42433
42433
  // Inline function 'kotlin.collections.single' call
42434
42434
  var single = null;
42435
42435
  var found = false;
@@ -42488,14 +42488,14 @@
42488
42488
  var expected = pBeats($this, item.h70_1, opp.h70_1, cfg.eloScaleH2H);
42489
42489
  var actualBin = item.i70_1 >= realMaxScore ? 1.0 : 0.0;
42490
42490
  var kEff = baseK($this, item.l70_1, gameComplexityCoefficient, cfg);
42491
- var newRating = eloBinaryWithScoreFactor($this, item.h70_1, expected, actualBin, realMinScore, realMaxScore, item.i70_1, cfg.closeLossThresholdRatio, minUserRating, maxUserRating, limitByMaxRating, kEff);
42491
+ var newRating = eloBinaryWithScoreFactor($this, item.h70_1, expected, actualBin, realMinScore, realMaxScore, item.i70_1, cfg.closeLossThresholdRatio, minUserRating, maxUserRating, kEff);
42492
42492
  tmp$ret$5 = new PlayerRatingOutput(item.g70_1, item.h70_1, newRating, item.j70_1);
42493
42493
  }
42494
42494
  destination.j(tmp$ret$5);
42495
42495
  }
42496
42496
  return destination;
42497
42497
  }
42498
- function calculateFfaPairwise($this, maxScore, ratingList, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient, cfg) {
42498
+ function calculateFfaPairwise($this, maxScore, ratingList, minUserRating, maxUserRating, gameComplexityCoefficient, cfg) {
42499
42499
  // Inline function 'kotlin.require' call
42500
42500
  if (!(ratingList.o() >= 2)) {
42501
42501
  var message = 'At least two players are required';
@@ -42576,7 +42576,7 @@
42576
42576
  var b_0 = 1.0 - cfg.ffaLossReductionPerExtra * extra;
42577
42577
  var kLoss = Math.max(tmp0, b_0);
42578
42578
  var raw = item.h70_1 + kBase * (kWin * diffPos + kLoss * diffNeg);
42579
- var newRating = clampAndRound($this, raw, minUserRating, maxUserRating, limitByMaxRating);
42579
+ var newRating = clampAndRound($this, raw, minUserRating, maxUserRating);
42580
42580
  tmp$ret$3 = new PlayerRatingOutput(item.g70_1, item.h70_1, newRating, item.j70_1);
42581
42581
  }
42582
42582
  destination.j(tmp$ret$3);
@@ -42589,10 +42589,10 @@
42589
42589
  var s = 0.5 + cfg.ffaMovLambdaRel * rel + cfg.ffaMovLambdaAbs * abs;
42590
42590
  return coerceIn(s, 0.0, 1.0);
42591
42591
  }
42592
- function eloBinaryWithScoreFactor($this, currentRating, expected, actual, minScore, maxScore, playerScore, thresholdRatio, minUserRating, maxUserRating, limitByMaxRating, kFactor) {
42592
+ function eloBinaryWithScoreFactor($this, currentRating, expected, actual, minScore, maxScore, playerScore, thresholdRatio, minUserRating, maxUserRating, kFactor) {
42593
42593
  var scoreFactor = scoreDifferenceFactor($this, actual, minScore, maxScore, playerScore, thresholdRatio);
42594
42594
  var raw = currentRating + kFactor * scoreFactor * (actual - expected);
42595
- return clampAndRound($this, raw, minUserRating, maxUserRating, limitByMaxRating);
42595
+ return clampAndRound($this, raw, minUserRating, maxUserRating);
42596
42596
  }
42597
42597
  function pBeats($this, rA, rB, scale) {
42598
42598
  // Inline function 'kotlin.math.pow' call
@@ -42707,8 +42707,8 @@
42707
42707
  throw IllegalArgumentException_init_$Create$(toString(message));
42708
42708
  }
42709
42709
  }
42710
- function clampAndRound($this, value, minUserRating, maxUserRating, limitByMaxRating) {
42711
- var upper = limitByMaxRating ? maxUserRating : 1.7976931348623157E308;
42710
+ function clampAndRound($this, value, minUserRating, maxUserRating) {
42711
+ var upper = maxUserRating;
42712
42712
  var clamped = coerceIn(value, minUserRating, upper);
42713
42713
  // Inline function 'kotlin.math.pow' call
42714
42714
  var factor = Math.pow(10.0, 2);
@@ -42716,17 +42716,17 @@
42716
42716
  }
42717
42717
  function RatingCalculatorImpl() {
42718
42718
  }
42719
- protoOf(RatingCalculatorImpl).f8o = function (maxScore, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient, ratingList, ratingConfig) {
42719
+ protoOf(RatingCalculatorImpl).f8o = function (maxScore, minUserRating, maxUserRating, gameComplexityCoefficient, ratingList, ratingConfig) {
42720
42720
  validateSoloGameHasWinner(this, maxScore, ratingList);
42721
42721
  var tmp;
42722
42722
  if (ratingList.o() <= 2) {
42723
- tmp = calculateHeadToHead(this, ratingList, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient, ratingConfig);
42723
+ tmp = calculateHeadToHead(this, ratingList, minUserRating, maxUserRating, gameComplexityCoefficient, ratingConfig);
42724
42724
  } else {
42725
- tmp = calculateFfaPairwise(this, maxScore, ratingList, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient, ratingConfig);
42725
+ tmp = calculateFfaPairwise(this, maxScore, ratingList, minUserRating, maxUserRating, gameComplexityCoefficient, ratingConfig);
42726
42726
  }
42727
42727
  return tmp;
42728
42728
  };
42729
- protoOf(RatingCalculatorImpl).g8o = function (maxScore, minUserRating, maxUserRating, limitByMaxRating, gameComplexityCoefficient, ratingList, ratingConfig) {
42729
+ protoOf(RatingCalculatorImpl).g8o = function (maxScore, minUserRating, maxUserRating, gameComplexityCoefficient, ratingList, ratingConfig) {
42730
42730
  validateTeamsGameHasWinnerTeam(this, ratingList);
42731
42731
  // Inline function 'kotlin.collections.filter' call
42732
42732
  // Inline function 'kotlin.collections.filterTo' call
@@ -42810,7 +42810,7 @@
42810
42810
  var expected = pBeats(this, item_1.h70_1, avgLosers, ratingConfig.eloScaleH2H);
42811
42811
  var actualBin = 1.0;
42812
42812
  var kEff = baseK(this, item_1.l70_1, gameComplexityCoefficient, ratingConfig);
42813
- var newRating = eloBinaryWithScoreFactor(this, item_1.h70_1, expected, actualBin, realMinScore, realMaxScore, winnersScore, ratingConfig.closeLossThresholdRatio, minUserRating, maxUserRating, limitByMaxRating, kEff);
42813
+ var newRating = eloBinaryWithScoreFactor(this, item_1.h70_1, expected, actualBin, realMinScore, realMaxScore, winnersScore, ratingConfig.closeLossThresholdRatio, minUserRating, maxUserRating, kEff);
42814
42814
  tmp$ret$18 = new PlayerRatingOutput(item_1.g70_1, item_1.h70_1, newRating, item_1.j70_1);
42815
42815
  }
42816
42816
  destination_3.j(tmp$ret$18);
@@ -42831,7 +42831,7 @@
42831
42831
  var expected_0 = pBeats(this, item_2.h70_1, avgWinners, ratingConfig.eloScaleH2H);
42832
42832
  var actualBin_0 = 0.0;
42833
42833
  var kEff_0 = baseK(this, item_2.l70_1, gameComplexityCoefficient, ratingConfig);
42834
- var newRating_0 = eloBinaryWithScoreFactor(this, item_2.h70_1, expected_0, actualBin_0, realMinScore, realMaxScore, losersScore, ratingConfig.closeLossThresholdRatio, minUserRating, maxUserRating, limitByMaxRating, kEff_0);
42834
+ var newRating_0 = eloBinaryWithScoreFactor(this, item_2.h70_1, expected_0, actualBin_0, realMinScore, realMaxScore, losersScore, ratingConfig.closeLossThresholdRatio, minUserRating, maxUserRating, kEff_0);
42835
42835
  tmp$ret$21 = new PlayerRatingOutput(item_2.g70_1, item_2.h70_1, newRating_0, item_2.j70_1);
42836
42836
  }
42837
42837
  destination_4.j(tmp$ret$21);
@@ -42922,13 +42922,13 @@
42922
42922
  var tmp1_$this = this.j8o_1;
42923
42923
  var tmp2_minUserRating = leaguesConfig.minUserRating;
42924
42924
  var tmp3_maxUserRating = leaguesConfig.maxUserRating;
42925
- tmp = tmp1_$this.f8o(maxScore, tmp2_minUserRating, tmp3_maxUserRating, false, gameComplexityCoefficient, ratingList, ratingConfig);
42925
+ tmp = tmp1_$this.f8o(maxScore, tmp2_minUserRating, tmp3_maxUserRating, gameComplexityCoefficient, ratingList, ratingConfig);
42926
42926
  break;
42927
42927
  case 3:
42928
42928
  var tmp4_$this = this.j8o_1;
42929
42929
  var tmp5_minUserRating = leaguesConfig.minUserRating;
42930
42930
  var tmp6_maxUserRating = leaguesConfig.maxUserRating;
42931
- tmp = tmp4_$this.g8o(maxScore, tmp5_minUserRating, tmp6_maxUserRating, false, gameComplexityCoefficient, ratingList, ratingConfig);
42931
+ tmp = tmp4_$this.g8o(maxScore, tmp5_minUserRating, tmp6_maxUserRating, gameComplexityCoefficient, ratingList, ratingConfig);
42932
42932
  break;
42933
42933
  default:
42934
42934
  noWhenBranchMatchedException();
@@ -49993,12 +49993,61 @@
49993
49993
  protoOf(sendFromClientEventsMiddleware$$inlined$middlewareForActionType$1).e6f = function (store, next, action) {
49994
49994
  return this.u6g(store, next, action);
49995
49995
  };
49996
- function roundLifecycleMiddleware(scenePositionProvider) {
49996
+ function roundLifecycleMiddleware(scenePositionProvider, logger) {
49997
49997
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
49998
- return new roundLifecycleMiddleware$$inlined$middlewareForActionType$1(scenePositionProvider);
49998
+ return new roundLifecycleMiddleware$$inlined$middlewareForActionType$1(scenePositionProvider, logger);
49999
+ }
50000
+ function validateRatingChange(logger, playerAchievements) {
50001
+ var tmp;
50002
+ if (playerAchievements == null) {
50003
+ tmp = null;
50004
+ } else {
50005
+ // Inline function 'kotlin.collections.filter' call
50006
+ // Inline function 'kotlin.collections.filterTo' call
50007
+ var destination = ArrayList_init_$Create$_0();
50008
+ var _iterator__ex2g4s = playerAchievements.l();
50009
+ while (_iterator__ex2g4s.m()) {
50010
+ var element = _iterator__ex2g4s.n();
50011
+ // Inline function 'kotlin.math.absoluteValue' call
50012
+ var this_0 = element.oldRating - element.newRating;
50013
+ if (Math.abs(this_0) >= 80) {
50014
+ destination.j(element);
50015
+ }
50016
+ }
50017
+ tmp = destination;
50018
+ }
50019
+ var tmp1_elvis_lhs = tmp;
50020
+ var suspiciousRatingChange = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
50021
+ // Inline function 'kotlin.collections.isNotEmpty' call
50022
+ if (!suspiciousRatingChange.r()) {
50023
+ logger.w('roundLifecycleMiddleware', 'Suspicious rating change: ' + toString(suspiciousRatingChange));
50024
+ }
50025
+ var tmp_0;
50026
+ if (playerAchievements == null) {
50027
+ tmp_0 = null;
50028
+ } else {
50029
+ // Inline function 'kotlin.collections.filter' call
50030
+ // Inline function 'kotlin.collections.filterTo' call
50031
+ var destination_0 = ArrayList_init_$Create$_0();
50032
+ var _iterator__ex2g4s_0 = playerAchievements.l();
50033
+ while (_iterator__ex2g4s_0.m()) {
50034
+ var element_0 = _iterator__ex2g4s_0.n();
50035
+ if (element_0.oldRating < 2000 && element_0.newRating > 2000) {
50036
+ destination_0.j(element_0);
50037
+ }
50038
+ }
50039
+ tmp_0 = destination_0;
50040
+ }
50041
+ var tmp3_elvis_lhs = tmp_0;
50042
+ var ratingChangeAboveLimit = tmp3_elvis_lhs == null ? emptyList() : tmp3_elvis_lhs;
50043
+ // Inline function 'kotlin.collections.isNotEmpty' call
50044
+ if (!ratingChangeAboveLimit.r()) {
50045
+ logger.w('roundLifecycleMiddleware', 'Rating change above limit: ' + toString(suspiciousRatingChange));
50046
+ }
49999
50047
  }
50000
- function roundLifecycleMiddleware$$inlined$middlewareForActionType$1($scenePositionProvider) {
50048
+ function roundLifecycleMiddleware$$inlined$middlewareForActionType$1($scenePositionProvider, $logger) {
50001
50049
  this.v91_1 = $scenePositionProvider;
50050
+ this.w91_1 = $logger;
50002
50051
  }
50003
50052
  protoOf(roundLifecycleMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
50004
50053
  return action instanceof MechanicAction;
@@ -50093,81 +50142,82 @@
50093
50142
  tmp_1 = false;
50094
50143
  }
50095
50144
  var isGameFinished = tmp_1;
50096
- var tmp_3 = store.dispatch;
50145
+ var tmp11_safe_receiver = sceneData.g79_1;
50146
+ var tmp12_safe_receiver = tmp11_safe_receiver == null ? null : tmp11_safe_receiver.u();
50147
+ var tmp_3;
50148
+ if (tmp12_safe_receiver == null) {
50149
+ tmp_3 = null;
50150
+ } else {
50151
+ // Inline function 'kotlin.collections.map' call
50152
+ // Inline function 'kotlin.collections.mapTo' call
50153
+ var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp12_safe_receiver, 10));
50154
+ var _iterator__ex2g4s_2 = tmp12_safe_receiver.l();
50155
+ while (_iterator__ex2g4s_2.m()) {
50156
+ var item_1 = _iterator__ex2g4s_2.n();
50157
+ // Inline function 'kotlin.collections.component1' call
50158
+ var playerId = item_1.v();
50159
+ // Inline function 'kotlin.collections.component2' call
50160
+ var achievements = item_1.w();
50161
+ var tmp$ret$19 = mapToPlayerAchievements(achievements, playerId);
50162
+ destination_2.j(tmp$ret$19);
50163
+ }
50164
+ tmp_3 = destination_2;
50165
+ }
50166
+ var playerAchievements = tmp_3;
50167
+ validateRatingChange(this.w91_1, playerAchievements);
50168
+ var tmp_4 = store.dispatch;
50097
50169
  var tmp15_id = table_0.id;
50098
50170
  var tmp16_gameId = table_0.gameId;
50099
50171
  var tmp17_roundNumber = table_0.gameInfo.round.roundNumber;
50100
50172
  var tmp18_earnedBiggestPointPlayerId = sceneData.b79_1;
50101
- var tmp_4;
50173
+ var tmp_5;
50102
50174
  if (gameWinners == null) {
50103
- tmp_4 = null;
50175
+ tmp_5 = null;
50104
50176
  } else {
50105
50177
  // Inline function 'kotlin.collections.toTypedArray' call
50106
- tmp_4 = copyToArray(gameWinners);
50178
+ tmp_5 = copyToArray(gameWinners);
50107
50179
  }
50108
- var tmp19_gameWinners = tmp_4;
50109
- var tmp_5;
50180
+ var tmp19_gameWinners = tmp_5;
50181
+ var tmp_6;
50110
50182
  if (isGameFinished) {
50111
50183
  // Inline function 'kotlin.collections.map' call
50112
50184
  var this_2 = table_0.players;
50113
50185
  // Inline function 'kotlin.collections.mapTo' call
50114
- var destination_2 = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10));
50115
- var _iterator__ex2g4s_2 = this_2.l();
50116
- while (_iterator__ex2g4s_2.m()) {
50117
- var item_1 = _iterator__ex2g4s_2.n();
50118
- var tmp$ret$18 = mapToGameAnalytics(item_1, table_0.gameDuration);
50119
- destination_2.j(tmp$ret$18);
50186
+ var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(this_2, 10));
50187
+ var _iterator__ex2g4s_3 = this_2.l();
50188
+ while (_iterator__ex2g4s_3.m()) {
50189
+ var item_2 = _iterator__ex2g4s_3.n();
50190
+ var tmp$ret$23 = mapToGameAnalytics(item_2, table_0.gameDuration);
50191
+ destination_3.j(tmp$ret$23);
50120
50192
  }
50121
50193
  // Inline function 'kotlin.collections.toTypedArray' call
50122
- tmp_5 = copyToArray(destination_2);
50194
+ tmp_6 = copyToArray(destination_3);
50123
50195
  } else {
50124
- tmp_5 = null;
50196
+ tmp_6 = null;
50125
50197
  }
50126
- var tmp20_playersGameAnalytics = tmp_5;
50198
+ var tmp20_playersGameAnalytics = tmp_6;
50127
50199
  // Inline function 'kotlin.collections.map' call
50128
50200
  var this_3 = table_0.players;
50129
50201
  // Inline function 'kotlin.collections.mapTo' call
50130
- var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
50131
- var _iterator__ex2g4s_3 = this_3.l();
50132
- while (_iterator__ex2g4s_3.m()) {
50133
- var item_2 = _iterator__ex2g4s_3.n();
50134
- var tmp$ret$22 = mapToRoundAnalytics(item_2, table_0.gameDuration);
50135
- destination_3.j(tmp$ret$22);
50202
+ var destination_4 = ArrayList_init_$Create$(collectionSizeOrDefault(this_3, 10));
50203
+ var _iterator__ex2g4s_4 = this_3.l();
50204
+ while (_iterator__ex2g4s_4.m()) {
50205
+ var item_3 = _iterator__ex2g4s_4.n();
50206
+ var tmp$ret$27 = mapToRoundAnalytics(item_3, table_0.gameDuration);
50207
+ destination_4.j(tmp$ret$27);
50136
50208
  }
50137
50209
  // Inline function 'kotlin.collections.toTypedArray' call
50138
- var tmp21_playersRoundAnalytics = copyToArray(destination_3);
50210
+ var tmp21_playersRoundAnalytics = copyToArray(destination_4);
50139
50211
  var tmp22_gameHistory = table_0.gameHistory;
50140
- var tmp12_safe_receiver = sceneData.g79_1;
50141
- var tmp13_safe_receiver = tmp12_safe_receiver == null ? null : tmp12_safe_receiver.u();
50142
- var tmp_6;
50143
- if (tmp13_safe_receiver == null) {
50144
- tmp_6 = null;
50145
- } else {
50146
- // Inline function 'kotlin.collections.map' call
50147
- // Inline function 'kotlin.collections.mapTo' call
50148
- var destination_4 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp13_safe_receiver, 10));
50149
- var _iterator__ex2g4s_4 = tmp13_safe_receiver.l();
50150
- while (_iterator__ex2g4s_4.m()) {
50151
- var item_3 = _iterator__ex2g4s_4.n();
50152
- // Inline function 'kotlin.collections.component1' call
50153
- var playerId = item_3.v();
50154
- // Inline function 'kotlin.collections.component2' call
50155
- var achievements = item_3.w();
50156
- var tmp$ret$28 = mapToPlayerAchievements(achievements, playerId);
50157
- destination_4.j(tmp$ret$28);
50158
- }
50159
- tmp_6 = destination_4;
50160
- }
50161
- var tmp14_safe_receiver = tmp_6;
50162
50212
  var tmp_7;
50163
- if (tmp14_safe_receiver == null) {
50213
+ if (playerAchievements == null) {
50164
50214
  tmp_7 = null;
50165
50215
  } else {
50166
50216
  // Inline function 'kotlin.collections.toTypedArray' call
50167
- tmp_7 = copyToArray(tmp14_safe_receiver);
50217
+ tmp_7 = copyToArray(playerAchievements);
50168
50218
  }
50169
50219
  var tmp23_achievements = tmp_7;
50170
- tmp_3(new RoundEndedAction(tmp15_id, tmp16_gameId, tmp17_roundNumber, tmp18_earnedBiggestPointPlayerId, gameLosers, tmp19_gameWinners, tmp20_playersGameAnalytics, tmp21_playersRoundAnalytics, tmp23_achievements, tmp22_gameHistory));
50220
+ tmp_4(new RoundEndedAction(tmp15_id, tmp16_gameId, tmp17_roundNumber, tmp18_earnedBiggestPointPlayerId, gameLosers, tmp19_gameWinners, tmp20_playersGameAnalytics, tmp21_playersRoundAnalytics, tmp23_achievements, tmp22_gameHistory));
50171
50221
  }
50172
50222
  }
50173
50223
  }
@@ -50208,8 +50258,8 @@
50208
50258
  return true;
50209
50259
  }
50210
50260
  function putPlayerLastCardMiddleware$$inlined$middlewareForActionType$1($lastCardInteractor, $isEnableForPlayer) {
50211
- this.w91_1 = $lastCardInteractor;
50212
- this.x91_1 = $isEnableForPlayer;
50261
+ this.x91_1 = $lastCardInteractor;
50262
+ this.y91_1 = $isEnableForPlayer;
50213
50263
  }
50214
50264
  protoOf(putPlayerLastCardMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
50215
50265
  return isInterface(action, CardsMechanicAction);
@@ -50218,7 +50268,7 @@
50218
50268
  var action_0 = isInterface(action, CardsMechanicAction) ? action : THROW_CCE();
50219
50269
  next(action_0);
50220
50270
  var tmp0_table = store.state.h6m();
50221
- var newAction = getBotActionIfNeeded(action_0, tmp0_table, this.w91_1, this.x91_1);
50271
+ var newAction = getBotActionIfNeeded(action_0, tmp0_table, this.x91_1, this.y91_1);
50222
50272
  if (newAction == null)
50223
50273
  null;
50224
50274
  else {
@@ -50240,16 +50290,16 @@
50240
50290
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z($loggerFactory, $currentPlayerId, $asyncProvider, $loggerOutput, gameId, roomId) {
50241
50291
  var controller = $loggerFactory.u6d(gameId, roomId, $currentPlayerId);
50242
50292
  var job = $asyncProvider.e6c(VOID, fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1_0(controller, $loggerOutput, gameId, null));
50243
- $loggerOutput.y91(gameId, job, controller);
50293
+ $loggerOutput.z91(gameId, job, controller);
50244
50294
  }
50245
50295
  function fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj($loggerOutput, gameId) {
50246
- $loggerOutput.z91(gameId);
50296
+ $loggerOutput.a92(gameId);
50247
50297
  }
50248
50298
  function fileLoggerByGameIdMiddleware$$inlined$middlewareForActionType$1($loggerFactory, $currentPlayerId, $asyncProvider, $loggerOutput) {
50249
- this.a92_1 = $loggerFactory;
50250
- this.b92_1 = $currentPlayerId;
50251
- this.c92_1 = $asyncProvider;
50252
- this.d92_1 = $loggerOutput;
50299
+ this.b92_1 = $loggerFactory;
50300
+ this.c92_1 = $currentPlayerId;
50301
+ this.d92_1 = $asyncProvider;
50302
+ this.e92_1 = $loggerOutput;
50253
50303
  }
50254
50304
  protoOf(fileLoggerByGameIdMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
50255
50305
  return action instanceof MechanicAction;
@@ -50258,11 +50308,11 @@
50258
50308
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
50259
50309
  next(action_0);
50260
50310
  if (isInterface(action_0, FirstMechanicAction)) {
50261
- fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z(this.a92_1, this.b92_1, this.c92_1, this.d92_1, action_0.id, action_0.id);
50311
+ fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z(this.b92_1, this.c92_1, this.d92_1, this.e92_1, action_0.id, action_0.id);
50262
50312
  } else {
50263
50313
  if (action_0 instanceof StartNewGameMechanicAction) {
50264
- fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj(this.d92_1, action_0.previousGameId);
50265
- fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z(this.a92_1, this.b92_1, this.c92_1, this.d92_1, action_0.gameId, store.state.h6m().id);
50314
+ fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj(this.e92_1, action_0.previousGameId);
50315
+ fileLoggerByGameIdMiddleware$_anonymous_$createLogger_iox06z(this.b92_1, this.c92_1, this.d92_1, this.e92_1, action_0.gameId, store.state.h6m().id);
50266
50316
  } else {
50267
50317
  if (action_0 instanceof FinishGameMechanicAction) {
50268
50318
  var tmp1_safe_receiver = store.state.r6l_1;
@@ -50271,7 +50321,7 @@
50271
50321
  null;
50272
50322
  else {
50273
50323
  // Inline function 'kotlin.let' call
50274
- fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj(this.d92_1, tmp2_safe_receiver);
50324
+ fileLoggerByGameIdMiddleware$_anonymous_$destroyLogger_qrxknj(this.e92_1, tmp2_safe_receiver);
50275
50325
  }
50276
50326
  }
50277
50327
  }
@@ -50281,8 +50331,8 @@
50281
50331
  return this.u6g(store, next, action);
50282
50332
  };
50283
50333
  function clearLogFilesMiddleware$o$handle$slambda($fileSystem, $coreConfig, resultContinuation) {
50284
- this.m92_1 = $fileSystem;
50285
- this.n92_1 = $coreConfig;
50334
+ this.n92_1 = $fileSystem;
50335
+ this.o92_1 = $coreConfig;
50286
50336
  CoroutineImpl.call(this, resultContinuation);
50287
50337
  }
50288
50338
  protoOf(clearLogFilesMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
@@ -50303,7 +50353,7 @@
50303
50353
  case 0:
50304
50354
  this.s8_1 = 2;
50305
50355
  this.r8_1 = 1;
50306
- suspendResult = this.m92_1.s6d(this.n92_1.requireDirectoryPath, this);
50356
+ suspendResult = this.n92_1.s6d(this.o92_1.requireDirectoryPath, this);
50307
50357
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
50308
50358
  return suspendResult;
50309
50359
  }
@@ -50326,8 +50376,8 @@
50326
50376
  while (true);
50327
50377
  };
50328
50378
  protoOf(clearLogFilesMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
50329
- var i = new clearLogFilesMiddleware$o$handle$slambda(this.m92_1, this.n92_1, completion);
50330
- i.o92_1 = $this$launchDefault;
50379
+ var i = new clearLogFilesMiddleware$o$handle$slambda(this.n92_1, this.o92_1, completion);
50380
+ i.p92_1 = $this$launchDefault;
50331
50381
  return i;
50332
50382
  };
50333
50383
  function clearLogFilesMiddleware$o$handle$slambda_0($fileSystem, $coreConfig, resultContinuation) {
@@ -50339,29 +50389,29 @@
50339
50389
  return l;
50340
50390
  }
50341
50391
  function clearLogFilesMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $fileSystem, $coreConfig) {
50342
- this.p92_1 = $asyncProvider;
50343
- this.q92_1 = $fileSystem;
50344
- this.r92_1 = $coreConfig;
50392
+ this.q92_1 = $asyncProvider;
50393
+ this.r92_1 = $fileSystem;
50394
+ this.s92_1 = $coreConfig;
50345
50395
  }
50346
50396
  protoOf(clearLogFilesMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
50347
50397
  return action instanceof ClearAction;
50348
50398
  };
50349
50399
  protoOf(clearLogFilesMiddleware$$inlined$middlewareForActionType$1).u6g = function (store, next, action) {
50350
50400
  var action_0 = action instanceof ClearAction ? action : THROW_CCE();
50351
- this.p92_1.e6c(VOID, clearLogFilesMiddleware$o$handle$slambda_0(this.q92_1, this.r92_1, null));
50401
+ this.q92_1.e6c(VOID, clearLogFilesMiddleware$o$handle$slambda_0(this.r92_1, this.s92_1, null));
50352
50402
  next(action_0);
50353
50403
  };
50354
50404
  protoOf(clearLogFilesMiddleware$$inlined$middlewareForActionType$1).e6f = function (store, next, action) {
50355
50405
  return this.u6g(store, next, action);
50356
50406
  };
50357
50407
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
50358
- this.s92_1 = function_0;
50408
+ this.t92_1 = function_0;
50359
50409
  }
50360
50410
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).l28 = function (value, $completion) {
50361
- return this.s92_1(value, $completion);
50411
+ return this.t92_1(value, $completion);
50362
50412
  };
50363
50413
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).a3 = function () {
50364
- return this.s92_1;
50414
+ return this.t92_1;
50365
50415
  };
50366
50416
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
50367
50417
  var tmp;
@@ -50382,17 +50432,17 @@
50382
50432
  return hashCode(this.a3());
50383
50433
  };
50384
50434
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j($controller, resultContinuation) {
50385
- this.b93_1 = $controller;
50435
+ this.c93_1 = $controller;
50386
50436
  CoroutineImpl.call(this, resultContinuation);
50387
50437
  }
50388
- protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).d93 = function (it, $completion) {
50389
- var tmp = this.e93(it, $completion);
50438
+ protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).e93 = function (it, $completion) {
50439
+ var tmp = this.f93(it, $completion);
50390
50440
  tmp.t8_1 = Unit_instance;
50391
50441
  tmp.u8_1 = null;
50392
50442
  return tmp.z8();
50393
50443
  };
50394
50444
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).h9 = function (p1, $completion) {
50395
- return this.d93(p1 instanceof LoggerOutputDataDto ? p1 : THROW_CCE(), $completion);
50445
+ return this.e93(p1 instanceof LoggerOutputDataDto ? p1 : THROW_CCE(), $completion);
50396
50446
  };
50397
50447
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).z8 = function () {
50398
50448
  var suspendResult = this.t8_1;
@@ -50402,9 +50452,9 @@
50402
50452
  switch (tmp) {
50403
50453
  case 0:
50404
50454
  this.s8_1 = 2;
50405
- var log = this.c93_1.toMessageLog();
50455
+ var log = this.d93_1.toMessageLog();
50406
50456
  this.r8_1 = 1;
50407
- suspendResult = this.b93_1.u6e(log, this);
50457
+ suspendResult = this.c93_1.u6e(log, this);
50408
50458
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
50409
50459
  return suspendResult;
50410
50460
  }
@@ -50426,23 +50476,23 @@
50426
50476
  }
50427
50477
  while (true);
50428
50478
  };
50429
- protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).e93 = function (it, completion) {
50430
- var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j(this.b93_1, completion);
50431
- i.c93_1 = it;
50479
+ protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).f93 = function (it, completion) {
50480
+ var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j(this.c93_1, completion);
50481
+ i.d93_1 = it;
50432
50482
  return i;
50433
50483
  };
50434
50484
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j_0($controller, resultContinuation) {
50435
50485
  var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j($controller, resultContinuation);
50436
50486
  var l = function (it, $completion) {
50437
- return i.d93(it, $completion);
50487
+ return i.e93(it, $completion);
50438
50488
  };
50439
50489
  l.$arity = 1;
50440
50490
  return l;
50441
50491
  }
50442
50492
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1($controller, $$loggerOutput, $gameId, resultContinuation) {
50443
- this.n93_1 = $controller;
50444
- this.o93_1 = $$loggerOutput;
50445
- this.p93_1 = $gameId;
50493
+ this.o93_1 = $controller;
50494
+ this.p93_1 = $$loggerOutput;
50495
+ this.q93_1 = $gameId;
50446
50496
  CoroutineImpl.call(this, resultContinuation);
50447
50497
  }
50448
50498
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1).z2c = function ($this$launchDefault, $completion) {
@@ -50463,7 +50513,7 @@
50463
50513
  case 0:
50464
50514
  this.s8_1 = 3;
50465
50515
  this.r8_1 = 1;
50466
- suspendResult = this.n93_1.t6e(this);
50516
+ suspendResult = this.o93_1.t6e(this);
50467
50517
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
50468
50518
  return suspendResult;
50469
50519
  }
@@ -50471,8 +50521,8 @@
50471
50521
  continue $sm;
50472
50522
  case 1:
50473
50523
  this.r8_1 = 2;
50474
- var tmp_0 = this.o93_1.r93(this.p93_1);
50475
- var tmp_1 = fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j_0(this.n93_1, null);
50524
+ var tmp_0 = this.p93_1.s93(this.q93_1);
50525
+ var tmp_1 = fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j_0(this.o93_1, null);
50476
50526
  suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
50477
50527
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
50478
50528
  return suspendResult;
@@ -50496,8 +50546,8 @@
50496
50546
  while (true);
50497
50547
  };
50498
50548
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1).a2d = function ($this$launchDefault, completion) {
50499
- var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1(this.n93_1, this.o93_1, this.p93_1, completion);
50500
- i.q93_1 = $this$launchDefault;
50549
+ var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1(this.o93_1, this.p93_1, this.q93_1, completion);
50550
+ i.r93_1 = $this$launchDefault;
50501
50551
  return i;
50502
50552
  };
50503
50553
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1_0($controller, $$loggerOutput, $gameId, resultContinuation) {
@@ -50616,20 +50666,20 @@
50616
50666
  return null;
50617
50667
  }
50618
50668
  function sceneRouterMiddleware$$inlined$middlewareForActionType$1($engineLogicConfig, $logger, $sceneRouter, $idsProvider, $playerConnectionInteractor) {
50619
- this.s93_1 = $engineLogicConfig;
50620
- this.t93_1 = $logger;
50621
- this.u93_1 = $sceneRouter;
50622
- this.v93_1 = $idsProvider;
50623
- this.w93_1 = $playerConnectionInteractor;
50669
+ this.t93_1 = $engineLogicConfig;
50670
+ this.u93_1 = $logger;
50671
+ this.v93_1 = $sceneRouter;
50672
+ this.w93_1 = $idsProvider;
50673
+ this.x93_1 = $playerConnectionInteractor;
50624
50674
  }
50625
50675
  protoOf(sceneRouterMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
50626
50676
  return action instanceof MechanicAction;
50627
50677
  };
50628
50678
  protoOf(sceneRouterMiddleware$$inlined$middlewareForActionType$1).u6g = function (store, next, action) {
50629
50679
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
50630
- if (this.s93_1.validateIfMainThread) {
50680
+ if (this.t93_1.validateIfMainThread) {
50631
50681
  // Inline function 'games.logic.utils.runSafeOnProd' call
50632
- var logger = this.t93_1;
50682
+ var logger = this.u93_1;
50633
50683
  var tmp;
50634
50684
  try {
50635
50685
  assertIfMainThread('sceneRouterMiddleware is called from main thread for action = ' + toString(action_0));
@@ -50656,22 +50706,22 @@
50656
50706
  if (equals(action_0.p8t_1.dealerStrategy, DealerStrategy_REQUEST_HOST_STANDARD_getInstance())) {
50657
50707
  tmp_2 = listOf(createHostDealerAct(action_0.s8t_1));
50658
50708
  } else {
50659
- tmp_2 = listOf(new SceneStartedMechanicAction(this.u93_1.y8r(action_0.p8t_1, true).l8s_1));
50709
+ tmp_2 = listOf(new SceneStartedMechanicAction(this.v93_1.y8r(action_0.p8t_1, true).l8s_1));
50660
50710
  }
50661
50711
  tmp_1 = tmp_2;
50662
50712
  } else {
50663
50713
  if (action_0 instanceof StartNewGameMechanicAction) {
50664
- tmp_1 = listOf(new SceneStartedMechanicAction(this.u93_1.y8r(state.h6m().config, false).l8s_1));
50714
+ tmp_1 = listOf(new SceneStartedMechanicAction(this.v93_1.y8r(state.h6m().config, false).l8s_1));
50665
50715
  } else {
50666
50716
  if (action_0 instanceof RestartGameMechanicAction) {
50667
50717
  var tmp1_config = state.h6m().config;
50668
- tmp_1 = listOf(new SceneStartedMechanicAction(this.u93_1.z8r(tmp1_config, false, false).l8s_1));
50718
+ tmp_1 = listOf(new SceneStartedMechanicAction(this.v93_1.z8r(tmp1_config, false, false).l8s_1));
50669
50719
  } else {
50670
50720
  if (action_0 instanceof TeamsDataMechanicAction) {
50671
50721
  tmp_1 = listOf(new SceneEndedMechanicAction(state.h6m().sceneInfo.u7s_1));
50672
50722
  } else {
50673
50723
  if (action_0 instanceof PlayerReadyMechanicAction) {
50674
- tmp_1 = listOfNotNull_0(onPlayerReadyAction(action_0.playerId, state.h6m(), this.v93_1, this.s93_1, this.w93_1, this.t93_1));
50724
+ tmp_1 = listOfNotNull_0(onPlayerReadyAction(action_0.playerId, state.h6m(), this.w93_1, this.t93_1, this.x93_1, this.u93_1));
50675
50725
  } else {
50676
50726
  if (action_0 instanceof SuitChoiceMechanicAction) {
50677
50727
  var tmp_3;
@@ -50809,12 +50859,12 @@
50809
50859
  }
50810
50860
  function PlayerTurnTimerTag(playersIds, tag, afterReconnection) {
50811
50861
  afterReconnection = afterReconnection === VOID ? false : afterReconnection;
50812
- this.x93_1 = playersIds;
50813
- this.y93_1 = tag;
50814
- this.z93_1 = afterReconnection;
50862
+ this.y93_1 = playersIds;
50863
+ this.z93_1 = tag;
50864
+ this.a94_1 = afterReconnection;
50815
50865
  }
50816
50866
  protoOf(PlayerTurnTimerTag).t65 = function () {
50817
- return single(this.x93_1);
50867
+ return single(this.y93_1);
50818
50868
  };
50819
50869
  protoOf(PlayerTurnTimerTag).equals = function (other) {
50820
50870
  if (this === other)
@@ -50823,13 +50873,13 @@
50823
50873
  return false;
50824
50874
  if (!(other instanceof PlayerTurnTimerTag))
50825
50875
  THROW_CCE();
50826
- return equals(this.x93_1, other.x93_1);
50876
+ return equals(this.y93_1, other.y93_1);
50827
50877
  };
50828
50878
  protoOf(PlayerTurnTimerTag).hashCode = function () {
50829
- return hashCode(this.x93_1);
50879
+ return hashCode(this.y93_1);
50830
50880
  };
50831
50881
  protoOf(PlayerTurnTimerTag).toString = function () {
50832
- return 'PlayerTurnTimerTag(playersIds=' + toString(this.x93_1) + ', tag=' + this.y93_1 + ', afterReconnection=' + this.z93_1 + ')';
50882
+ return 'PlayerTurnTimerTag(playersIds=' + toString(this.y93_1) + ', tag=' + this.z93_1 + ', afterReconnection=' + this.a94_1 + ')';
50833
50883
  };
50834
50884
  function playerStartTimerMiddleware(botConfig, playerTurnInteractor, isEnableTimerForPlayer, mergeTimers) {
50835
50885
  mergeTimers = mergeTimers === VOID ? false : mergeTimers;
@@ -50872,10 +50922,10 @@
50872
50922
  return tmp;
50873
50923
  }
50874
50924
  function playerStartTimerMiddleware$$inlined$middlewareForActionType$1($isEnableTimerForPlayer, $playerTurnInteractor, $botConfig, $mergeTimers) {
50875
- this.a94_1 = $isEnableTimerForPlayer;
50876
- this.b94_1 = $playerTurnInteractor;
50877
- this.c94_1 = $botConfig;
50878
- this.d94_1 = $mergeTimers;
50925
+ this.b94_1 = $isEnableTimerForPlayer;
50926
+ this.c94_1 = $playerTurnInteractor;
50927
+ this.d94_1 = $botConfig;
50928
+ this.e94_1 = $mergeTimers;
50879
50929
  }
50880
50930
  protoOf(playerStartTimerMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
50881
50931
  return isInterface(action, NextPlayerTurnAction);
@@ -50891,14 +50941,14 @@
50891
50941
  var _iterator__ex2g4s = tmp0.l();
50892
50942
  while (_iterator__ex2g4s.m()) {
50893
50943
  var element = _iterator__ex2g4s.n();
50894
- if (this.a94_1(element)) {
50944
+ if (this.b94_1(element)) {
50895
50945
  destination.j(element);
50896
50946
  }
50897
50947
  }
50898
50948
  var startTimerForPlayers = destination;
50899
50949
  // Inline function 'kotlin.collections.isNotEmpty' call
50900
50950
  if (!startTimerForPlayers.r()) {
50901
- var playerTurnModel = this.b94_1.d8p(action_0, table);
50951
+ var playerTurnModel = this.c94_1.d8p(action_0, table);
50902
50952
  if (!(playerTurnModel == null)) {
50903
50953
  // Inline function 'kotlin.collections.map' call
50904
50954
  // Inline function 'kotlin.collections.mapTo' call
@@ -50906,11 +50956,11 @@
50906
50956
  var _iterator__ex2g4s_0 = startTimerForPlayers.l();
50907
50957
  while (_iterator__ex2g4s_0.m()) {
50908
50958
  var item = _iterator__ex2g4s_0.n();
50909
- var tmp$ret$4 = to(item, getInitialPlayerTurnTimerDelayMillis(getPlayer(table.players, item), table.config, this.c94_1.isDelayForBot, this.c94_1.simulateBotThinkingDelay ? Default_getInstance() : null));
50959
+ var tmp$ret$4 = to(item, getInitialPlayerTurnTimerDelayMillis(getPlayer(table.players, item), table.config, this.d94_1.isDelayForBot, this.d94_1.simulateBotThinkingDelay ? Default_getInstance() : null));
50910
50960
  destination_0.j(tmp$ret$4);
50911
50961
  }
50912
50962
  var timeForPlayers = destination_0;
50913
- if (this.d94_1) {
50963
+ if (this.e94_1) {
50914
50964
  // Inline function 'kotlin.collections.groupBy' call
50915
50965
  // Inline function 'kotlin.collections.groupByTo' call
50916
50966
  var destination_1 = LinkedHashMap_init_$Create$();
@@ -50984,14 +51034,14 @@
50984
51034
  return this.u6g(store, next, action);
50985
51035
  };
50986
51036
  function playerStopTimerMiddleware$$inlined$middlewareForActionType$1($isEnableBotForPlayer) {
50987
- this.e94_1 = $isEnableBotForPlayer;
51037
+ this.f94_1 = $isEnableBotForPlayer;
50988
51038
  }
50989
51039
  protoOf(playerStopTimerMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
50990
51040
  return isInterface(action, PlayerAnswerFromClientAction);
50991
51041
  };
50992
51042
  protoOf(playerStopTimerMiddleware$$inlined$middlewareForActionType$1).u6g = function (store, next, action) {
50993
51043
  var action_0 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
50994
- if (this.e94_1(action_0.playerId)) {
51044
+ if (this.f94_1(action_0.playerId)) {
50995
51045
  var table = store.state.h6m();
50996
51046
  var player = getPlayer(table.players, action_0.playerId);
50997
51047
  // Inline function 'games.jass.logic.redux.AppState.findTimer' call
@@ -51012,7 +51062,7 @@
51012
51062
  var _iterator__ex2g4s_0 = destination.l();
51013
51063
  while (_iterator__ex2g4s_0.m()) {
51014
51064
  var element_0 = _iterator__ex2g4s_0.n();
51015
- if (element_0.x93_1.t1(action_0.playerId) && element_0.y93_1 === player.s6p_1.l68()) {
51065
+ if (element_0.y93_1.t1(action_0.playerId) && element_0.z93_1 === player.s6p_1.l68()) {
51016
51066
  tmp$ret$3 = element_0;
51017
51067
  break $l$block;
51018
51068
  }
@@ -51034,11 +51084,11 @@
51034
51084
  return new playerTurnTimeoutWhenHostMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
51035
51085
  }
51036
51086
  function playerTurnTimeoutWhenHostMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
51037
- this.n94_1 = $store;
51038
- this.o94_1 = $timerTag;
51039
- this.p94_1 = $serverConfig;
51040
- this.q94_1 = $logger;
51041
- this.r94_1 = $action;
51087
+ this.o94_1 = $store;
51088
+ this.p94_1 = $timerTag;
51089
+ this.q94_1 = $serverConfig;
51090
+ this.r94_1 = $logger;
51091
+ this.s94_1 = $action;
51042
51092
  CoroutineImpl.call(this, resultContinuation);
51043
51093
  }
51044
51094
  protoOf(playerTurnTimeoutWhenHostMiddleware$o$handle$slambda).z2c = function ($this$launchDefaultWithLock, $completion) {
@@ -51057,13 +51107,13 @@
51057
51107
  var tmp = this.r8_1;
51058
51108
  if (tmp === 0) {
51059
51109
  this.s8_1 = 1;
51060
- var table = this.n94_1.state.h6m();
51061
- var player = getPlayer(table.players, this.o94_1.t65());
51110
+ var table = this.o94_1.state.h6m();
51111
+ var player = getPlayer(table.players, this.p94_1.t65());
51062
51112
  var connectionState = player.s6p_1.v68().m67_1;
51063
51113
  var tmp_0;
51064
51114
  switch (connectionState.p2_1) {
51065
51115
  case 0:
51066
- tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, this.o94_1.z93_1));
51116
+ tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, this.p94_1.a94_1));
51067
51117
  break;
51068
51118
  case 4:
51069
51119
  tmp_0 = emptyList();
@@ -51072,8 +51122,8 @@
51072
51122
  case 2:
51073
51123
  case 1:
51074
51124
  var tmp_1;
51075
- if (table.sceneInfo.h79() && this.p94_1.closeIfBotsAtFinish) {
51076
- tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, this.o94_1.z93_1);
51125
+ if (table.sceneInfo.h79() && this.q94_1.closeIfBotsAtFinish) {
51126
+ tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, this.p94_1.a94_1);
51077
51127
  } else {
51078
51128
  tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
51079
51129
  }
@@ -51081,7 +51131,7 @@
51081
51131
  tmp_0 = listOf(tmp_1);
51082
51132
  break;
51083
51133
  case 5:
51084
- this.q94_1.w(VOID, 'ServerPlayerTurnTimeoutMiddleware: ' + ("Can't support this state " + connectionState.toString() + ', ') + ('action:' + this.r94_1.toString()));
51134
+ this.r94_1.w(VOID, 'ServerPlayerTurnTimeoutMiddleware: ' + ("Can't support this state " + connectionState.toString() + ', ') + ('action:' + this.s94_1.toString()));
51085
51135
  tmp_0 = emptyList();
51086
51136
  break;
51087
51137
  default:
@@ -51093,7 +51143,7 @@
51093
51143
  var _iterator__ex2g4s = actions.l();
51094
51144
  while (_iterator__ex2g4s.m()) {
51095
51145
  var element = _iterator__ex2g4s.n();
51096
- this.n94_1.dispatch(element);
51146
+ this.o94_1.dispatch(element);
51097
51147
  }
51098
51148
  }
51099
51149
  return Unit_instance;
@@ -51107,8 +51157,8 @@
51107
51157
  while (true);
51108
51158
  };
51109
51159
  protoOf(playerTurnTimeoutWhenHostMiddleware$o$handle$slambda).a2d = function ($this$launchDefaultWithLock, completion) {
51110
- var i = new playerTurnTimeoutWhenHostMiddleware$o$handle$slambda(this.n94_1, this.o94_1, this.p94_1, this.q94_1, this.r94_1, completion);
51111
- i.s94_1 = $this$launchDefaultWithLock;
51160
+ var i = new playerTurnTimeoutWhenHostMiddleware$o$handle$slambda(this.o94_1, this.p94_1, this.q94_1, this.r94_1, this.s94_1, completion);
51161
+ i.t94_1 = $this$launchDefaultWithLock;
51112
51162
  return i;
51113
51163
  };
51114
51164
  function playerTurnTimeoutWhenHostMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
@@ -51120,9 +51170,9 @@
51120
51170
  return l;
51121
51171
  }
51122
51172
  function playerTurnTimeoutWhenHostMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
51123
- this.t94_1 = $asyncProvider;
51124
- this.u94_1 = $serverConfig;
51125
- this.v94_1 = $logger;
51173
+ this.u94_1 = $asyncProvider;
51174
+ this.v94_1 = $serverConfig;
51175
+ this.w94_1 = $logger;
51126
51176
  }
51127
51177
  protoOf(playerTurnTimeoutWhenHostMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
51128
51178
  return action instanceof TimerTickAction;
@@ -51131,7 +51181,7 @@
51131
51181
  var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
51132
51182
  var timerTag = action_0.b6f_1;
51133
51183
  if (timerTag instanceof PlayerTurnTimerTag) {
51134
- this.t94_1.g6c(VOID, playerTurnTimeoutWhenHostMiddleware$o$handle$slambda_0(store, timerTag, this.u94_1, this.v94_1, action_0, null));
51184
+ this.u94_1.g6c(VOID, playerTurnTimeoutWhenHostMiddleware$o$handle$slambda_0(store, timerTag, this.v94_1, this.w94_1, action_0, null));
51135
51185
  }
51136
51186
  next(action_0);
51137
51187
  };
@@ -51143,7 +51193,7 @@
51143
51193
  return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
51144
51194
  }
51145
51195
  function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
51146
- this.w94_1 = $playerConnectionInteractor;
51196
+ this.x94_1 = $playerConnectionInteractor;
51147
51197
  }
51148
51198
  protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
51149
51199
  return action instanceof PlayerConnectionUpdateAction;
@@ -51179,7 +51229,7 @@
51179
51229
  var _iterator__ex2g4s_0 = destination.l();
51180
51230
  while (_iterator__ex2g4s_0.m()) {
51181
51231
  var element_0 = _iterator__ex2g4s_0.n();
51182
- if (element_0.x94_1 === tmp4.z8s_1) {
51232
+ if (element_0.y94_1 === tmp4.z8s_1) {
51183
51233
  if (found) {
51184
51234
  tmp$ret$4 = null;
51185
51235
  break $l$block_2;
@@ -51198,7 +51248,7 @@
51198
51248
  if (!(reconnectionTimerTag == null)) {
51199
51249
  store.dispatch(new StopTimerAction(reconnectionTimerTag));
51200
51250
  }
51201
- var actions = this.w94_1.b8p(tmp4.y8s_1, tmp4.z8s_1, store.state.h6m(), tmp4.a8t_1);
51251
+ var actions = this.x94_1.b8p(tmp4.y8s_1, tmp4.z8s_1, store.state.h6m(), tmp4.a8t_1);
51202
51252
  // Inline function 'kotlin.collections.forEach' call
51203
51253
  var _iterator__ex2g4s_1 = actions.l();
51204
51254
  while (_iterator__ex2g4s_1.m()) {
@@ -51215,15 +51265,15 @@
51215
51265
  return new playerReconnectionWaitingTimerTickMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
51216
51266
  }
51217
51267
  function PlayerReconnectionWaitingTimerTag(playerId, state) {
51218
- this.x94_1 = playerId;
51219
- this.y94_1 = state;
51268
+ this.y94_1 = playerId;
51269
+ this.z94_1 = state;
51220
51270
  }
51221
51271
  protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
51222
- return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.x94_1 + ', state=' + this.y94_1.toString() + ')';
51272
+ return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.y94_1 + ', state=' + this.z94_1.toString() + ')';
51223
51273
  };
51224
51274
  protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
51225
- var result = getStringHashCode(this.x94_1);
51226
- result = imul(result, 31) + this.y94_1.hashCode() | 0;
51275
+ var result = getStringHashCode(this.y94_1);
51276
+ result = imul(result, 31) + this.z94_1.hashCode() | 0;
51227
51277
  return result;
51228
51278
  };
51229
51279
  protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
@@ -51231,14 +51281,14 @@
51231
51281
  return true;
51232
51282
  if (!(other instanceof PlayerReconnectionWaitingTimerTag))
51233
51283
  return false;
51234
- if (!(this.x94_1 === other.x94_1))
51284
+ if (!(this.y94_1 === other.y94_1))
51235
51285
  return false;
51236
- if (!this.y94_1.equals(other.y94_1))
51286
+ if (!this.z94_1.equals(other.z94_1))
51237
51287
  return false;
51238
51288
  return true;
51239
51289
  };
51240
51290
  function playerReconnectionWaitingTimerTickMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
51241
- this.z94_1 = $playerConnectionInteractor;
51291
+ this.a95_1 = $playerConnectionInteractor;
51242
51292
  }
51243
51293
  protoOf(playerReconnectionWaitingTimerTickMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
51244
51294
  return action instanceof TimerTickAction;
@@ -51252,7 +51302,7 @@
51252
51302
  var timerTag = tmp4.b6f_1;
51253
51303
  if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
51254
51304
  var state = store.state;
51255
- var actions = this.z94_1.b8p(timerTag.y94_1, timerTag.x94_1, state.h6m(), true);
51305
+ var actions = this.a95_1.b8p(timerTag.z94_1, timerTag.y94_1, state.h6m(), true);
51256
51306
  // Inline function 'kotlin.collections.isNotEmpty' call
51257
51307
  if (!actions.r()) {
51258
51308
  // Inline function 'kotlin.collections.forEach' call
@@ -51274,8 +51324,8 @@
51274
51324
  return new clearOnFinishMiddleware$$inlined$middlewareForActionType$1(asyncProvider, operationsToWait);
51275
51325
  }
51276
51326
  function clearOnFinishMiddleware$o$handle$slambda($operationsToWait, $store, resultContinuation) {
51277
- this.i95_1 = $operationsToWait;
51278
- this.j95_1 = $store;
51327
+ this.j95_1 = $operationsToWait;
51328
+ this.k95_1 = $store;
51279
51329
  CoroutineImpl.call(this, resultContinuation);
51280
51330
  }
51281
51331
  protoOf(clearOnFinishMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
@@ -51295,18 +51345,18 @@
51295
51345
  switch (tmp) {
51296
51346
  case 0:
51297
51347
  this.s8_1 = 4;
51298
- this.l95_1 = this.i95_1.l();
51348
+ this.m95_1 = this.j95_1.l();
51299
51349
  this.r8_1 = 1;
51300
51350
  continue $sm;
51301
51351
  case 1:
51302
- if (!this.l95_1.m()) {
51352
+ if (!this.m95_1.m()) {
51303
51353
  this.r8_1 = 3;
51304
51354
  continue $sm;
51305
51355
  }
51306
51356
 
51307
- var element = this.l95_1.n();
51357
+ var element = this.m95_1.n();
51308
51358
  this.r8_1 = 2;
51309
- suspendResult = element.m95(this);
51359
+ suspendResult = element.n95(this);
51310
51360
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
51311
51361
  return suspendResult;
51312
51362
  }
@@ -51316,8 +51366,8 @@
51316
51366
  this.r8_1 = 1;
51317
51367
  continue $sm;
51318
51368
  case 3:
51319
- var tmp_0 = this.j95_1.dispatch;
51320
- var tmp0_safe_receiver = this.j95_1.state.t6l_1;
51369
+ var tmp_0 = this.k95_1.dispatch;
51370
+ var tmp0_safe_receiver = this.k95_1.state.t6l_1;
51321
51371
  tmp_0(new ClearAction(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t8s_1));
51322
51372
  return Unit_instance;
51323
51373
  case 4:
@@ -51335,8 +51385,8 @@
51335
51385
  while (true);
51336
51386
  };
51337
51387
  protoOf(clearOnFinishMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
51338
- var i = new clearOnFinishMiddleware$o$handle$slambda(this.i95_1, this.j95_1, completion);
51339
- i.k95_1 = $this$launchDefault;
51388
+ var i = new clearOnFinishMiddleware$o$handle$slambda(this.j95_1, this.k95_1, completion);
51389
+ i.l95_1 = $this$launchDefault;
51340
51390
  return i;
51341
51391
  };
51342
51392
  function clearOnFinishMiddleware$o$handle$slambda_0($operationsToWait, $store, resultContinuation) {
@@ -51348,15 +51398,15 @@
51348
51398
  return l;
51349
51399
  }
51350
51400
  function clearOnFinishMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $operationsToWait) {
51351
- this.n95_1 = $asyncProvider;
51352
- this.o95_1 = $operationsToWait;
51401
+ this.o95_1 = $asyncProvider;
51402
+ this.p95_1 = $operationsToWait;
51353
51403
  }
51354
51404
  protoOf(clearOnFinishMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
51355
51405
  return action instanceof FinishGameMechanicAction;
51356
51406
  };
51357
51407
  protoOf(clearOnFinishMiddleware$$inlined$middlewareForActionType$1).u6g = function (store, next, action) {
51358
51408
  next(action instanceof FinishGameMechanicAction ? action : THROW_CCE());
51359
- this.n95_1.e6c(VOID, clearOnFinishMiddleware$o$handle$slambda_0(this.o95_1, store, null));
51409
+ this.o95_1.e6c(VOID, clearOnFinishMiddleware$o$handle$slambda_0(this.p95_1, store, null));
51360
51410
  };
51361
51411
  protoOf(clearOnFinishMiddleware$$inlined$middlewareForActionType$1).e6f = function (store, next, action) {
51362
51412
  return this.u6g(store, next, action);
@@ -51366,12 +51416,12 @@
51366
51416
  return new sceneLifecycleMiddleware$$inlined$middlewareForActionType$1(asyncProvider, sceneFactory, router, sceneValidationInteractor);
51367
51417
  }
51368
51418
  function sceneLifecycleMiddleware$o$handle$slambda($action, $sceneFactory, $table, $router, $store, $sceneValidationInteractor, resultContinuation) {
51369
- this.x95_1 = $action;
51370
- this.y95_1 = $sceneFactory;
51371
- this.z95_1 = $table;
51372
- this.a96_1 = $router;
51373
- this.b96_1 = $store;
51374
- this.c96_1 = $sceneValidationInteractor;
51419
+ this.y95_1 = $action;
51420
+ this.z95_1 = $sceneFactory;
51421
+ this.a96_1 = $table;
51422
+ this.b96_1 = $router;
51423
+ this.c96_1 = $store;
51424
+ this.d96_1 = $sceneValidationInteractor;
51375
51425
  CoroutineImpl.call(this, resultContinuation);
51376
51426
  }
51377
51427
  protoOf(sceneLifecycleMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
@@ -51391,10 +51441,10 @@
51391
51441
  switch (tmp) {
51392
51442
  case 0:
51393
51443
  this.s8_1 = 3;
51394
- var tmp0_subject = this.x95_1;
51444
+ var tmp0_subject = this.y95_1;
51395
51445
  if (tmp0_subject instanceof SceneStartedMechanicAction) {
51396
51446
  this.r8_1 = 1;
51397
- suspendResult = this.y95_1.u8r(this.x95_1.r8w_1, this.z95_1, this);
51447
+ suspendResult = this.z95_1.u8r(this.y95_1.r8w_1, this.a96_1, this);
51398
51448
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
51399
51449
  return suspendResult;
51400
51450
  }
@@ -51402,37 +51452,37 @@
51402
51452
  } else {
51403
51453
  if (tmp0_subject instanceof SceneEndedMechanicAction) {
51404
51454
  var tmp_0 = this;
51405
- var tmp7_safe_receiver = firstOrNull(filterByGameWinner(this.z95_1.players));
51455
+ var tmp7_safe_receiver = firstOrNull(filterByGameWinner(this.a96_1.players));
51406
51456
  var gameWinnerPlayerId = tmp7_safe_receiver == null ? null : tmp7_safe_receiver.playerId;
51407
- var nextSceneCommand = this.a96_1.f8s(this.x95_1.q8w_1, !(gameWinnerPlayerId == null), false, this.z95_1.config);
51457
+ var nextSceneCommand = this.b96_1.f8s(this.y95_1.q8w_1, !(gameWinnerPlayerId == null), false, this.a96_1.config);
51408
51458
  var tmp_1;
51409
51459
  if (nextSceneCommand instanceof MoveSceneNext) {
51410
51460
  tmp_1 = listOf(new SceneStartedMechanicAction(nextSceneCommand.l8s_1));
51411
51461
  } else {
51412
51462
  noWhenBranchMatchedException();
51413
51463
  }
51414
- tmp_0.e96_1 = tmp_1;
51464
+ tmp_0.f96_1 = tmp_1;
51415
51465
  this.r8_1 = 2;
51416
51466
  continue $sm;
51417
51467
  } else {
51418
51468
  if (tmp0_subject instanceof SceneActStartedMechanicAction) {
51419
51469
  var tmp_2 = this;
51420
- this.c96_1.b8s(this.b96_1.state.u6l_1, 'Timers are not empty before scene act ' + this.x95_1.s8w_1 + ', ' + this.x95_1.t8w_1);
51421
- var mechanicAction = new SceneActMechanicAction(this.x95_1.s8w_1, this.x95_1.t8w_1, this.x95_1.u8w_1);
51422
- tmp_2.e96_1 = listOf(mechanicAction);
51470
+ this.d96_1.b8s(this.c96_1.state.u6l_1, 'Timers are not empty before scene act ' + this.y95_1.s8w_1 + ', ' + this.y95_1.t8w_1);
51471
+ var mechanicAction = new SceneActMechanicAction(this.y95_1.s8w_1, this.y95_1.t8w_1, this.y95_1.u8w_1);
51472
+ tmp_2.f96_1 = listOf(mechanicAction);
51423
51473
  this.r8_1 = 2;
51424
51474
  continue $sm;
51425
51475
  } else {
51426
51476
  if (tmp0_subject instanceof SceneActEndedMechanicAction) {
51427
51477
  var tmp_3 = this;
51428
- var navigationCommand = this.a96_1.h8s(this.x95_1.v8w_1, this.z95_1);
51478
+ var navigationCommand = this.b96_1.h8s(this.y95_1.v8w_1, this.a96_1);
51429
51479
  var tmp_4;
51430
51480
  if (navigationCommand instanceof FinishActNext) {
51431
- tmp_4 = listOf(new SceneEndedMechanicAction(this.z95_1.sceneInfo.u7s_1));
51481
+ tmp_4 = listOf(new SceneEndedMechanicAction(this.a96_1.sceneInfo.u7s_1));
51432
51482
  } else {
51433
51483
  if (navigationCommand instanceof MoveActNext) {
51434
51484
  var tmp9_actId = navigationCommand.n8s_1;
51435
- var tmp0 = this.z95_1.sceneInfo.x7s_1;
51485
+ var tmp0 = this.a96_1.sceneInfo.x7s_1;
51436
51486
  var tmp$ret$2;
51437
51487
  l$ret$3: do {
51438
51488
  if (!(tmp0 == null) ? isInterface(tmp0, SceneData) : false) {
@@ -51444,13 +51494,13 @@
51444
51494
  while (false);
51445
51495
  var tmp10_sceneData = tmp$ret$2;
51446
51496
  var tmp11_payload = navigationCommand.o8s_1;
51447
- var actData = this.y95_1.v8r(tmp9_actId, tmp10_sceneData, tmp11_payload, this.z95_1);
51448
- tmp_4 = listOf(new SceneActStartedMechanicAction(this.z95_1.sceneInfo.u7s_1, navigationCommand.n8s_1, actData));
51497
+ var actData = this.z95_1.v8r(tmp9_actId, tmp10_sceneData, tmp11_payload, this.a96_1);
51498
+ tmp_4 = listOf(new SceneActStartedMechanicAction(this.a96_1.sceneInfo.u7s_1, navigationCommand.n8s_1, actData));
51449
51499
  } else {
51450
51500
  noWhenBranchMatchedException();
51451
51501
  }
51452
51502
  }
51453
- tmp_3.e96_1 = tmp_4;
51503
+ tmp_3.f96_1 = tmp_4;
51454
51504
  this.r8_1 = 2;
51455
51505
  continue $sm;
51456
51506
  } else {
@@ -51464,19 +51514,19 @@
51464
51514
  break;
51465
51515
  case 1:
51466
51516
  var sceneData = suspendResult;
51467
- var navigationActCommand = this.a96_1.e8s(sceneData, this.z95_1);
51517
+ var navigationActCommand = this.b96_1.e8s(sceneData, this.a96_1);
51468
51518
  var tmp_6;
51469
51519
  if (navigationActCommand == null) {
51470
51520
  tmp_6 = null;
51471
51521
  } else {
51472
51522
  var tmp0_actId = navigationActCommand.n8s_1;
51473
51523
  var tmp1_payload = navigationActCommand.o8s_1;
51474
- tmp_6 = this.y95_1.v8r(tmp0_actId, sceneData, tmp1_payload, this.z95_1);
51524
+ tmp_6 = this.z95_1.v8r(tmp0_actId, sceneData, tmp1_payload, this.a96_1);
51475
51525
  }
51476
51526
 
51477
51527
  var actData_0 = tmp_6;
51478
- var state = this.b96_1.state;
51479
- this.c96_1.b8s(state.u6l_1, 'Timers are not empty before scene ' + this.x95_1.r8w_1);
51528
+ var state = this.c96_1.state;
51529
+ this.d96_1.b8s(state.u6l_1, 'Timers are not empty before scene ' + this.y95_1.r8w_1);
51480
51530
  var tmp_7;
51481
51531
  if (equals(state.h6m().config.dealerStrategy, DealerStrategy_REQUEST_HOST_STANDARD_getInstance())) {
51482
51532
  var tmp2_safe_receiver = state.h6m().sceneInfo.y7s_1;
@@ -51502,18 +51552,18 @@
51502
51552
  }
51503
51553
 
51504
51554
  var currentTurnPlayerId = tmp_7;
51505
- var tmp5_sceneId = this.x95_1.r8w_1;
51555
+ var tmp5_sceneId = this.y95_1.r8w_1;
51506
51556
  var tmp6_actId = actData_0 == null ? null : actData_0.actId;
51507
51557
  var mechanicAction_0 = new SceneMechanicAction(currentTurnPlayerId, tmp5_sceneId, tmp6_actId, sceneData, actData_0);
51508
- this.e96_1 = listOfNotNull_0(mechanicAction_0);
51558
+ this.f96_1 = listOfNotNull_0(mechanicAction_0);
51509
51559
  this.r8_1 = 2;
51510
51560
  continue $sm;
51511
51561
  case 2:
51512
- var navigationActions = this.e96_1;
51562
+ var navigationActions = this.f96_1;
51513
51563
  var _iterator__ex2g4s = navigationActions.l();
51514
51564
  while (_iterator__ex2g4s.m()) {
51515
51565
  var element = _iterator__ex2g4s.n();
51516
- this.b96_1.dispatch(element);
51566
+ this.c96_1.dispatch(element);
51517
51567
  }
51518
51568
 
51519
51569
  return Unit_instance;
@@ -51532,8 +51582,8 @@
51532
51582
  while (true);
51533
51583
  };
51534
51584
  protoOf(sceneLifecycleMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
51535
- var i = new sceneLifecycleMiddleware$o$handle$slambda(this.x95_1, this.y95_1, this.z95_1, this.a96_1, this.b96_1, this.c96_1, completion);
51536
- i.d96_1 = $this$launchDefault;
51585
+ var i = new sceneLifecycleMiddleware$o$handle$slambda(this.y95_1, this.z95_1, this.a96_1, this.b96_1, this.c96_1, this.d96_1, completion);
51586
+ i.e96_1 = $this$launchDefault;
51537
51587
  return i;
51538
51588
  };
51539
51589
  function sceneLifecycleMiddleware$o$handle$slambda_0($action, $sceneFactory, $table, $router, $store, $sceneValidationInteractor, resultContinuation) {
@@ -51545,10 +51595,10 @@
51545
51595
  return l;
51546
51596
  }
51547
51597
  function sceneLifecycleMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $sceneFactory, $router, $sceneValidationInteractor) {
51548
- this.f96_1 = $asyncProvider;
51549
- this.g96_1 = $sceneFactory;
51550
- this.h96_1 = $router;
51551
- this.i96_1 = $sceneValidationInteractor;
51598
+ this.g96_1 = $asyncProvider;
51599
+ this.h96_1 = $sceneFactory;
51600
+ this.i96_1 = $router;
51601
+ this.j96_1 = $sceneValidationInteractor;
51552
51602
  }
51553
51603
  protoOf(sceneLifecycleMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
51554
51604
  return action instanceof SceneLifecycleAction;
@@ -51557,7 +51607,7 @@
51557
51607
  var action_0 = action instanceof SceneLifecycleAction ? action : THROW_CCE();
51558
51608
  var table = store.state.h6m();
51559
51609
  next(action_0);
51560
- this.f96_1.e6c(VOID, sceneLifecycleMiddleware$o$handle$slambda_0(action_0, this.g96_1, table, this.h96_1, store, this.i96_1, null));
51610
+ this.g96_1.e6c(VOID, sceneLifecycleMiddleware$o$handle$slambda_0(action_0, this.h96_1, table, this.i96_1, store, this.j96_1, null));
51561
51611
  };
51562
51612
  protoOf(sceneLifecycleMiddleware$$inlined$middlewareForActionType$1).e6f = function (store, next, action) {
51563
51613
  return this.u6g(store, next, action);
@@ -51603,7 +51653,7 @@
51603
51653
  return new checkBotsMiddleware$$inlined$middlewareForActionType$1(logger);
51604
51654
  }
51605
51655
  function checkBotsMiddleware$$inlined$middlewareForActionType$1($logger) {
51606
- this.j96_1 = $logger;
51656
+ this.k96_1 = $logger;
51607
51657
  }
51608
51658
  protoOf(checkBotsMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
51609
51659
  return action instanceof SceneMechanicAction;
@@ -51651,7 +51701,7 @@
51651
51701
  var tmp$ret$2 = to(tmp_0, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.m67_1);
51652
51702
  destination.j(tmp$ret$2);
51653
51703
  }
51654
- this.j96_1.w('Validation', 'CheckBotsMiddleware: Only bots are playing: ' + toString(destination));
51704
+ this.k96_1.w('Validation', 'CheckBotsMiddleware: Only bots are playing: ' + toString(destination));
51655
51705
  }
51656
51706
  }
51657
51707
  next(action_0);
@@ -51664,7 +51714,7 @@
51664
51714
  return new checkCardDuplicatesForBribesMiddleware$$inlined$middlewareForActionType$1(logger);
51665
51715
  }
51666
51716
  function checkCardDuplicatesForBribesMiddleware$$inlined$middlewareForActionType$1($logger) {
51667
- this.k96_1 = $logger;
51717
+ this.l96_1 = $logger;
51668
51718
  }
51669
51719
  protoOf(checkCardDuplicatesForBribesMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
51670
51720
  return action instanceof PutCardMechanicAction;
@@ -51697,7 +51747,7 @@
51697
51747
  var bribes = destination;
51698
51748
  // Inline function 'kotlin.collections.isNotEmpty' call
51699
51749
  if (!bribes.r()) {
51700
- this.k96_1.w('Validation', 'Card already exists in previous bribes, card = ' + action_0.w8p_1.toString() + ', bribes = ' + toString(bribes));
51750
+ this.l96_1.w('Validation', 'Card already exists in previous bribes, card = ' + action_0.w8p_1.toString() + ', bribes = ' + toString(bribes));
51701
51751
  }
51702
51752
  }
51703
51753
  next(action_0);
@@ -51710,7 +51760,7 @@
51710
51760
  return new checkCardDuplicatesForScenesMiddleware$$inlined$middlewareForActionType$1(logger);
51711
51761
  }
51712
51762
  function checkCardDuplicatesForScenesMiddleware$$inlined$middlewareForActionType$1($logger) {
51713
- this.l96_1 = $logger;
51763
+ this.m96_1 = $logger;
51714
51764
  }
51715
51765
  protoOf(checkCardDuplicatesForScenesMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
51716
51766
  return action instanceof SceneMechanicAction;
@@ -51927,7 +51977,7 @@
51927
51977
  }
51928
51978
  var notValidMessage = tmp;
51929
51979
  if (!(notValidMessage == null)) {
51930
- this.l96_1.w('Validation', toString_0(notValidMessage));
51980
+ this.m96_1.w('Validation', toString_0(notValidMessage));
51931
51981
  }
51932
51982
  }
51933
51983
  }
@@ -52018,7 +52068,7 @@
52018
52068
  };
52019
52069
  }
52020
52070
  function checkGameIsFinishedTimerTickMiddleware$$inlined$middlewareForActionType$1($logger) {
52021
- this.m96_1 = $logger;
52071
+ this.n96_1 = $logger;
52022
52072
  }
52023
52073
  protoOf(checkGameIsFinishedTimerTickMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
52024
52074
  return action instanceof TimerTickAction;
@@ -52027,7 +52077,7 @@
52027
52077
  var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
52028
52078
  var tmp = action_0.b6f_1;
52029
52079
  if (tmp instanceof GameIsNotFinishedTimerTag) {
52030
- this.m96_1.w('Validation', 'CheckGameISNotFinishedMiddleware: finish event is nor received');
52080
+ this.n96_1.w('Validation', 'CheckGameISNotFinishedMiddleware: finish event is nor received');
52031
52081
  store.dispatch(new FinishGameMechanicAction(store.state.p8s().s8s_1, store.state.h6m().isGameFinished));
52032
52082
  }
52033
52083
  next(action_0);
@@ -52093,7 +52143,7 @@
52093
52143
  return new checkGameTestPointsMiddleware$$inlined$middlewareForActionType$1(logger);
52094
52144
  }
52095
52145
  function checkGameTestPointsMiddleware$$inlined$middlewareForActionType$1($logger) {
52096
- this.n96_1 = $logger;
52146
+ this.o96_1 = $logger;
52097
52147
  }
52098
52148
  protoOf(checkGameTestPointsMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
52099
52149
  return isInterface(action, FirstMechanicAction);
@@ -52101,7 +52151,7 @@
52101
52151
  protoOf(checkGameTestPointsMiddleware$$inlined$middlewareForActionType$1).u6g = function (store, next, action) {
52102
52152
  var action_0 = isInterface(action, FirstMechanicAction) ? action : THROW_CCE();
52103
52153
  if (action_0.config.pointsMode.equals(PointsMode_TEST_getInstance())) {
52104
- this.n96_1.e(VOID, "checkGameTestPointsMiddleware: can't start game with the test mode points");
52154
+ this.o96_1.e(VOID, "checkGameTestPointsMiddleware: can't start game with the test mode points");
52105
52155
  }
52106
52156
  next(action_0);
52107
52157
  };
@@ -52117,7 +52167,7 @@
52117
52167
  return new checkValidSceneActMiddleware$$inlined$middlewareForActionType$1(logger);
52118
52168
  }
52119
52169
  function checkValidSceneMiddleware$$inlined$middlewareForActionType$1($logger) {
52120
- this.o96_1 = $logger;
52170
+ this.p96_1 = $logger;
52121
52171
  }
52122
52172
  protoOf(checkValidSceneMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
52123
52173
  return action instanceof SceneMechanicAction;
@@ -52128,7 +52178,7 @@
52128
52178
  if (state.i6m()) {
52129
52179
  var sceneInfo = state.h6m().sceneInfo;
52130
52180
  if (!get_isWaitingScene(sceneInfo.u7s_1) && Companion_instance_5.p6m(sceneInfo.u7s_1, action_0.n8p_1) && equals(sceneInfo.x7s_1, action_0.sceneData)) {
52131
- this.o96_1.e('Validation', 'CheckValidSceneMiddleware', new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
52181
+ this.p96_1.e('Validation', 'CheckValidSceneMiddleware', new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
52132
52182
  }
52133
52183
  }
52134
52184
  next(action_0);
@@ -52137,7 +52187,7 @@
52137
52187
  return this.u6g(store, next, action);
52138
52188
  };
52139
52189
  function checkValidSceneActMiddleware$$inlined$middlewareForActionType$1($logger) {
52140
- this.p96_1 = $logger;
52190
+ this.q96_1 = $logger;
52141
52191
  }
52142
52192
  protoOf(checkValidSceneActMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
52143
52193
  return action instanceof SceneActMechanicAction;
@@ -52148,7 +52198,7 @@
52148
52198
  if (state.i6m()) {
52149
52199
  var sceneInfo = state.h6m().sceneInfo;
52150
52200
  if (Companion_instance_5.p6m(sceneInfo.u7s_1, action_0.f8p_1) && sceneInfo.w7s_1 === action_0.g8p_1 && equals(sceneInfo.y7s_1, action_0.h8p_1)) {
52151
- this.p96_1.e('Validation', 'CheckValidSceneActMiddleware', new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
52201
+ this.q96_1.e('Validation', 'CheckValidSceneActMiddleware', new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
52152
52202
  }
52153
52203
  }
52154
52204
  next(action_0);
@@ -52208,7 +52258,7 @@
52208
52258
  tmp(new ErrorToClientAction(tmp4_error, tmp3_deliveryPayload));
52209
52259
  }
52210
52260
  function FromClientValidationMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
52211
- this.q96_1 = this$0;
52261
+ this.r96_1 = this$0;
52212
52262
  }
52213
52263
  protoOf(FromClientValidationMiddleware$middleware$$inlined$middlewareForActionType$1).f6f = function (action) {
52214
52264
  return action instanceof FromClientAction;
@@ -52234,18 +52284,18 @@
52234
52284
  var tmp$ret$1 = item.playerId;
52235
52285
  destination.j(tmp$ret$1);
52236
52286
  }
52237
- this.q96_1.g8z_1.w(VOID, 'checkEventFromCorrectPlayerMiddleware: ' + tmp + ('expected = ' + toString(destination)));
52287
+ this.r96_1.g8z_1.w(VOID, 'checkEventFromCorrectPlayerMiddleware: ' + tmp + ('expected = ' + toString(destination)));
52238
52288
  break $l$block_3;
52239
52289
  }
52240
52290
  if (!get_isCreated(store.state)) {
52241
52291
  if (table.sceneInfo.h79()) {
52242
- this.q96_1.g8z_1.d('Validation', "Player sends ready for next game but it's finished already, state: " + store.state.gameLifecycleState.toString() + ', action: ' + toString(tmp4));
52292
+ this.r96_1.g8z_1.d('Validation', "Player sends ready for next game but it's finished already, state: " + store.state.gameLifecycleState.toString() + ', action: ' + toString(tmp4));
52243
52293
  } else {
52244
52294
  var message = 'Game is ' + store.state.gameLifecycleState.toString() + ', action: ' + toString(tmp4);
52245
- if (this.q96_1.i8z_1) {
52246
- sendErrorToClient(this.q96_1, store, player.playerId, message, Reason_GAME_NOT_EXISTS_getInstance());
52295
+ if (this.r96_1.i8z_1) {
52296
+ sendErrorToClient(this.r96_1, store, player.playerId, message, Reason_GAME_NOT_EXISTS_getInstance());
52247
52297
  }
52248
- this.q96_1.g8z_1.w('Validation', message, VOID, new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
52298
+ this.r96_1.g8z_1.w('Validation', message, VOID, new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
52249
52299
  }
52250
52300
  break $l$block_3;
52251
52301
  }
@@ -52253,18 +52303,18 @@
52253
52303
  var connectionState = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m67_1;
52254
52304
  if (!(connectionState == null) && !connectionState.isLive && !tmp4.fromBot) {
52255
52305
  var message_0 = 'Player connection state is not alive:' + ('playerId = ' + player.playerId);
52256
- if (this.q96_1.i8z_1) {
52257
- sendErrorToClient(this.q96_1, store, player.playerId, message_0, Reason_PLAYER_DISCONNECTED_getInstance());
52306
+ if (this.r96_1.i8z_1) {
52307
+ sendErrorToClient(this.r96_1, store, player.playerId, message_0, Reason_PLAYER_DISCONNECTED_getInstance());
52258
52308
  }
52259
- this.q96_1.g8z_1.w('Validation', message_0 + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_PLAYER_DISCONNECTED_getInstance()));
52309
+ this.r96_1.g8z_1.w('Validation', message_0 + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_PLAYER_DISCONNECTED_getInstance()));
52260
52310
  break $l$block_3;
52261
52311
  }
52262
- if (this.q96_1.h8z_1 && checkIfEventIsDuplicated(this.q96_1, table, tmp4)) {
52312
+ if (this.r96_1.h8z_1 && checkIfEventIsDuplicated(this.r96_1, table, tmp4)) {
52263
52313
  var message_1 = 'Player send duplicated event:' + ('playerId = ' + player.playerId);
52264
- if (this.q96_1.i8z_1) {
52265
- sendErrorToClient(this.q96_1, store, player.playerId, message_1, Reason_DUPLICATED_PLAYER_ANSWER_getInstance());
52314
+ if (this.r96_1.i8z_1) {
52315
+ sendErrorToClient(this.r96_1, store, player.playerId, message_1, Reason_DUPLICATED_PLAYER_ANSWER_getInstance());
52266
52316
  }
52267
- this.q96_1.g8z_1.w('Validation', message_1 + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_DUPLICATED_PLAYER_ANSWER_getInstance()));
52317
+ this.r96_1.g8z_1.w('Validation', message_1 + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_DUPLICATED_PLAYER_ANSWER_getInstance()));
52268
52318
  break $l$block_3;
52269
52319
  }
52270
52320
  next(tmp4);
@@ -52314,8 +52364,8 @@
52314
52364
  tmp(new ErrorToClientAction(tmp1_error, tmp0_deliveryPayload));
52315
52365
  }
52316
52366
  function PlayerConnectionValidationMiddlewares$middleware$$inlined$middlewareForActionType$1($enableCheckWhen, this$0) {
52317
- this.r96_1 = $enableCheckWhen;
52318
- this.s96_1 = this$0;
52367
+ this.s96_1 = $enableCheckWhen;
52368
+ this.t96_1 = this$0;
52319
52369
  }
52320
52370
  protoOf(PlayerConnectionValidationMiddlewares$middleware$$inlined$middlewareForActionType$1).f6f = function (action) {
52321
52371
  return action instanceof PlayerConnectionUpdateAction;
@@ -52324,7 +52374,7 @@
52324
52374
  var tmp4 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
52325
52375
  $l$block_1: {
52326
52376
  var state = store.state;
52327
- if (!isEnabledCheck(this.r96_1, state, tmp4)) {
52377
+ if (!isEnabledCheck(this.s96_1, state, tmp4)) {
52328
52378
  next(tmp4);
52329
52379
  break $l$block_1;
52330
52380
  }
@@ -52340,23 +52390,23 @@
52340
52390
  var tmp$ret$1 = item.playerId;
52341
52391
  destination.j(tmp$ret$1);
52342
52392
  }
52343
- this.s96_1.o8z_1.w(VOID, 'checkValidPlayerConnectionUpdateMiddleware: ' + tmp + ('expected = ' + toString(destination)));
52393
+ this.t96_1.o8z_1.w(VOID, 'checkValidPlayerConnectionUpdateMiddleware: ' + tmp + ('expected = ' + toString(destination)));
52344
52394
  break $l$block_1;
52345
52395
  }
52346
52396
  var table = store.state.h6m();
52347
52397
  var player = getPlayer(table.players, tmp4.z8s_1);
52348
52398
  var tmp0_safe_receiver = player.s6p_1.g67_1;
52349
52399
  var connectionState = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m67_1;
52350
- var _destruct__k2r9zo = isDuplicateConnectionState(this.s96_1, connectionState, tmp4.y8s_1);
52400
+ var _destruct__k2r9zo = isDuplicateConnectionState(this.t96_1, connectionState, tmp4.y8s_1);
52351
52401
  var duplicate = _destruct__k2r9zo.ne();
52352
52402
  var report = _destruct__k2r9zo.oe();
52353
52403
  if (!(connectionState == null) && duplicate) {
52354
52404
  var message = 'Player connection state the same ' + connectionState.toString() + ':' + ('playerId = ' + player.playerId);
52355
52405
  if (report) {
52356
- if (this.s96_1.p8z_1) {
52357
- sendErrorToClient_0(this.s96_1, store, player.playerId, message, Reason_PLAYER_DISCONNECTED_getInstance());
52406
+ if (this.t96_1.p8z_1) {
52407
+ sendErrorToClient_0(this.t96_1, store, player.playerId, message, Reason_PLAYER_DISCONNECTED_getInstance());
52358
52408
  }
52359
- this.s96_1.o8z_1.w('Validation', message + ', action: ' + tmp4.toString(), VOID, new GameErrorReason(Reason_PLAYER_DISCONNECTED_getInstance()));
52409
+ this.t96_1.o8z_1.w('Validation', message + ', action: ' + tmp4.toString(), VOID, new GameErrorReason(Reason_PLAYER_DISCONNECTED_getInstance()));
52360
52410
  }
52361
52411
  break $l$block_1;
52362
52412
  } else {
@@ -52372,13 +52422,13 @@
52372
52422
  this.o8z_1 = logger;
52373
52423
  this.p8z_1 = sendErrorToClient;
52374
52424
  }
52375
- protoOf(PlayerConnectionValidationMiddlewares).t96 = function (enableCheckWhen) {
52425
+ protoOf(PlayerConnectionValidationMiddlewares).u96 = function (enableCheckWhen) {
52376
52426
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
52377
52427
  return new PlayerConnectionValidationMiddlewares$middleware$$inlined$middlewareForActionType$1(enableCheckWhen, this);
52378
52428
  };
52379
52429
  protoOf(PlayerConnectionValidationMiddlewares).q8z = function (enableCheckWhen, $super) {
52380
52430
  enableCheckWhen = enableCheckWhen === VOID ? emptyList() : enableCheckWhen;
52381
- return $super === VOID ? this.t96(enableCheckWhen) : $super.t96.call(this, enableCheckWhen);
52431
+ return $super === VOID ? this.u96(enableCheckWhen) : $super.u96.call(this, enableCheckWhen);
52382
52432
  };
52383
52433
  function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$o$handle$lambda(this$0, $action, $table) {
52384
52434
  return function () {
@@ -52523,8 +52573,8 @@
52523
52573
  tmp(new ErrorToClientAction(tmp1_error, tmp0_deliveryPayload));
52524
52574
  }
52525
52575
  function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$$inlined$middlewareForActionType$1($enableCheckWhen, this$0) {
52526
- this.u96_1 = $enableCheckWhen;
52527
- this.v96_1 = this$0;
52576
+ this.v96_1 = $enableCheckWhen;
52577
+ this.w96_1 = this$0;
52528
52578
  }
52529
52579
  protoOf(PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
52530
52580
  return isInterface(action, PlayerAnswerFromClientAction);
@@ -52533,19 +52583,19 @@
52533
52583
  var tmp4 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
52534
52584
  $l$block_1: {
52535
52585
  var state = store.state;
52536
- if (!isEnabledCheck(this.u96_1, state, tmp4)) {
52586
+ if (!isEnabledCheck(this.v96_1, state, tmp4)) {
52537
52587
  next(tmp4);
52538
52588
  break $l$block_1;
52539
52589
  }
52540
52590
  var table = state.h6m();
52541
52591
  var playersWithTurn = filterPlayerTurn(table.players);
52542
52592
  var player = getPlayer(table.players, tmp4.playerId);
52543
- if (isWrongPlayerTurn(this.v96_1, store, playersWithTurn, player, tmp4)) {
52593
+ if (isWrongPlayerTurn(this.w96_1, store, playersWithTurn, player, tmp4)) {
52544
52594
  break $l$block_1;
52545
52595
  }
52546
52596
  var tmp;
52547
- if (this.v96_1.z8y_1.validateFromClientActionTags) {
52548
- tmp = isWrongPlayerTurnTag$default(this.v96_1, store, playersWithTurn, player, tmp4, PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$o$handle$lambda(this.v96_1, tmp4, table));
52597
+ if (this.w96_1.z8y_1.validateFromClientActionTags) {
52598
+ tmp = isWrongPlayerTurnTag$default(this.w96_1, store, playersWithTurn, player, tmp4, PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$o$handle$lambda(this.w96_1, tmp4, table));
52549
52599
  } else {
52550
52600
  tmp = false;
52551
52601
  }
@@ -52559,8 +52609,8 @@
52559
52609
  return this.u6g(store, next, action);
52560
52610
  };
52561
52611
  function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$$inlined$middlewareForActionType$1($enableCheckWhen, this$0) {
52562
- this.w96_1 = $enableCheckWhen;
52563
- this.x96_1 = this$0;
52612
+ this.x96_1 = $enableCheckWhen;
52613
+ this.y96_1 = this$0;
52564
52614
  }
52565
52615
  protoOf(PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
52566
52616
  return isInterface(action, PlayerTurnAnswerAction);
@@ -52570,17 +52620,17 @@
52570
52620
  $l$block_1: {
52571
52621
  var table = store.state.h6m();
52572
52622
  var player = getPlayerTurn(tmp4, table.players);
52573
- if (player == null || !isEnabledCheck(this.w96_1, store.state, tmp4)) {
52623
+ if (player == null || !isEnabledCheck(this.x96_1, store.state, tmp4)) {
52574
52624
  next(tmp4);
52575
52625
  break $l$block_1;
52576
52626
  }
52577
52627
  var playersWithTurn = filterPlayerTurn(table.players);
52578
- if (isWrongPlayerTurn(this.x96_1, store, playersWithTurn, player, tmp4)) {
52628
+ if (isWrongPlayerTurn(this.y96_1, store, playersWithTurn, player, tmp4)) {
52579
52629
  break $l$block_1;
52580
52630
  }
52581
52631
  var tmp;
52582
- if (this.x96_1.z8y_1.validateFromClientActionTags) {
52583
- tmp = isWrongPlayerTurnTag(this.x96_1, store, playersWithTurn, player, tmp4, PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$o$handle$lambda(this.x96_1, tmp4, table), this.x96_1.y8y_1);
52632
+ if (this.y96_1.z8y_1.validateFromClientActionTags) {
52633
+ tmp = isWrongPlayerTurnTag(this.y96_1, store, playersWithTurn, player, tmp4, PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$o$handle$lambda(this.y96_1, tmp4, table), this.y96_1.y8y_1);
52584
52634
  } else {
52585
52635
  tmp = false;
52586
52636
  }
@@ -52594,8 +52644,8 @@
52594
52644
  return this.u6g(store, next, action);
52595
52645
  };
52596
52646
  function PlayerTurnValidationMiddlewares$checkValidNextPlayerTurnMiddleware$$inlined$middlewareForActionType$1($enableCheckWhen, this$0) {
52597
- this.y96_1 = $enableCheckWhen;
52598
- this.z96_1 = this$0;
52647
+ this.z96_1 = $enableCheckWhen;
52648
+ this.a97_1 = this$0;
52599
52649
  }
52600
52650
  protoOf(PlayerTurnValidationMiddlewares$checkValidNextPlayerTurnMiddleware$$inlined$middlewareForActionType$1).f6f = function (action) {
52601
52651
  return isInterface(action, NextPlayerTurnAction);
@@ -52604,7 +52654,7 @@
52604
52654
  var tmp4 = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
52605
52655
  $l$block_1: {
52606
52656
  var state = store.state;
52607
- if (!isEnabledCheck(this.y96_1, state, tmp4)) {
52657
+ if (!isEnabledCheck(this.z96_1, state, tmp4)) {
52608
52658
  next(tmp4);
52609
52659
  break $l$block_1;
52610
52660
  }
@@ -52639,7 +52689,7 @@
52639
52689
  destination.j(tmp$ret$3);
52640
52690
  }
52641
52691
  var message = 'Player turn is already set: ' + ('expected = ' + toString(destination) + ', ') + ('actual = ' + toString(tmp4.j8w()));
52642
- this.z96_1.a8z_1.w('Validation', message + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
52692
+ this.a97_1.a8z_1.w('Validation', message + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
52643
52693
  } else {
52644
52694
  next(tmp4);
52645
52695
  }
@@ -52667,23 +52717,23 @@
52667
52717
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
52668
52718
  return new PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$$inlined$middlewareForActionType$1(enableCheckWhen, this);
52669
52719
  };
52670
- protoOf(PlayerTurnValidationMiddlewares).a97 = function (enableCheckWhen) {
52720
+ protoOf(PlayerTurnValidationMiddlewares).b97 = function (enableCheckWhen) {
52671
52721
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
52672
52722
  return new PlayerTurnValidationMiddlewares$checkValidNextPlayerTurnMiddleware$$inlined$middlewareForActionType$1(enableCheckWhen, this);
52673
52723
  };
52674
52724
  protoOf(PlayerTurnValidationMiddlewares).e8z = function (enableCheckWhen, $super) {
52675
52725
  enableCheckWhen = enableCheckWhen === VOID ? emptyList() : enableCheckWhen;
52676
- return $super === VOID ? this.a97(enableCheckWhen) : $super.a97.call(this, enableCheckWhen);
52726
+ return $super === VOID ? this.b97(enableCheckWhen) : $super.b97.call(this, enableCheckWhen);
52677
52727
  };
52678
52728
  function Companion_163() {
52679
- this.b97_1 = 50;
52729
+ this.c97_1 = 50;
52680
52730
  }
52681
52731
  var Companion_instance_168;
52682
52732
  function Companion_getInstance_170() {
52683
52733
  return Companion_instance_168;
52684
52734
  }
52685
52735
  function ToClientValidationMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
52686
- this.c97_1 = this$0;
52736
+ this.d97_1 = this$0;
52687
52737
  }
52688
52738
  protoOf(ToClientValidationMiddleware$middleware$$inlined$middlewareForActionType$1).f6f = function (action) {
52689
52739
  return action instanceof MechanicAction;
@@ -52694,19 +52744,19 @@
52694
52744
  var aid = tmp4.aid;
52695
52745
  if (!store.state.i6m()) {
52696
52746
  if (!(aid == null)) {
52697
- this.c97_1.l8z_1.nd(aid);
52747
+ this.d97_1.l8z_1.nd(aid);
52698
52748
  }
52699
52749
  next(tmp4);
52700
52750
  break $l$block_0;
52701
52751
  }
52702
- if (!(aid == null) && this.c97_1.l8z_1.t1(aid)) {
52703
- this.c97_1.k8z_1.w(VOID, 'ToClientValidationMiddleware: duplicated action from server, action = ' + parseActionName(tmp4) + ', aid = ' + tmp4.aid);
52752
+ if (!(aid == null) && this.d97_1.l8z_1.t1(aid)) {
52753
+ this.d97_1.k8z_1.w(VOID, 'ToClientValidationMiddleware: duplicated action from server, action = ' + parseActionName(tmp4) + ', aid = ' + tmp4.aid);
52704
52754
  break $l$block_0;
52705
52755
  }
52706
52756
  if (!(aid == null)) {
52707
- this.c97_1.l8z_1.nd(aid);
52708
- if (this.c97_1.l8z_1.jd_1 > 50) {
52709
- this.c97_1.l8z_1.od();
52757
+ this.d97_1.l8z_1.nd(aid);
52758
+ if (this.d97_1.l8z_1.jd_1 > 50) {
52759
+ this.d97_1.l8z_1.od();
52710
52760
  }
52711
52761
  }
52712
52762
  next(tmp4);
@@ -52732,12 +52782,12 @@
52732
52782
  protoOf(clearReducer$$inlined$reducerForActionType$1).f6f = function (action) {
52733
52783
  return action instanceof ClearAction;
52734
52784
  };
52735
- protoOf(clearReducer$$inlined$reducerForActionType$1).d97 = function (state, action) {
52785
+ protoOf(clearReducer$$inlined$reducerForActionType$1).e97 = function (state, action) {
52736
52786
  action instanceof ClearAction || THROW_CCE();
52737
52787
  return state.r8s(VOID, VOID, GameLifecycleState_FINISHED_getInstance());
52738
52788
  };
52739
52789
  protoOf(clearReducer$$inlined$reducerForActionType$1).v6g = function (state, action) {
52740
- return this.d97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
52790
+ return this.e97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
52741
52791
  };
52742
52792
  function fromClientReducer() {
52743
52793
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
@@ -52748,7 +52798,7 @@
52748
52798
  protoOf(fromClientReducer$$inlined$reducerForActionType$1).f6f = function (action) {
52749
52799
  return action instanceof FromClientAction;
52750
52800
  };
52751
- protoOf(fromClientReducer$$inlined$reducerForActionType$1).d97 = function (state, action) {
52801
+ protoOf(fromClientReducer$$inlined$reducerForActionType$1).e97 = function (state, action) {
52752
52802
  var action_0 = action instanceof FromClientAction ? action : THROW_CCE();
52753
52803
  var tmp;
52754
52804
  var tmp_0;
@@ -52799,11 +52849,11 @@
52799
52849
  return tmp;
52800
52850
  };
52801
52851
  protoOf(fromClientReducer$$inlined$reducerForActionType$1).v6g = function (state, action) {
52802
- return this.d97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
52852
+ return this.e97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
52803
52853
  };
52804
52854
  function MechanicReducers$reducer$o$reduce$lambda(this$0, $action) {
52805
52855
  return function (tbl) {
52806
- return this$0.e8y_1.k97(tbl, $action.n8p_1, $action.sceneData, $action.o8p_1, $action.p8p_1);
52856
+ return this$0.e8y_1.l97(tbl, $action.n8p_1, $action.sceneData, $action.o8p_1, $action.p8p_1);
52807
52857
  };
52808
52858
  }
52809
52859
  function MechanicReducers$reducer$o$reduce$lambda_0($action, this$0) {
@@ -52812,22 +52862,22 @@
52812
52862
  if ($action.o8p_1 == null) {
52813
52863
  tmp = tbl;
52814
52864
  } else {
52815
- tmp = this$0.f8y_1.l97(tbl, $action);
52865
+ tmp = this$0.f8y_1.m97(tbl, $action);
52816
52866
  }
52817
52867
  return tmp;
52818
52868
  };
52819
52869
  }
52820
52870
  function MechanicReducers$reducer$$inlined$reducerForActionType$1(this$0) {
52821
- this.m97_1 = this$0;
52871
+ this.n97_1 = this$0;
52822
52872
  }
52823
52873
  protoOf(MechanicReducers$reducer$$inlined$reducerForActionType$1).f6f = function (action) {
52824
52874
  return action instanceof MechanicAction;
52825
52875
  };
52826
- protoOf(MechanicReducers$reducer$$inlined$reducerForActionType$1).d97 = function (state, action) {
52876
+ protoOf(MechanicReducers$reducer$$inlined$reducerForActionType$1).e97 = function (state, action) {
52827
52877
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
52828
- if (this.m97_1.g8y_1.validateIfMainThread) {
52878
+ if (this.n97_1.g8y_1.validateIfMainThread) {
52829
52879
  // Inline function 'games.logic.utils.runSafeOnProd' call
52830
- var logger = this.m97_1.h8y_1;
52880
+ var logger = this.n97_1.h8y_1;
52831
52881
  var tmp;
52832
52882
  try {
52833
52883
  assertIfMainThread('mechanicReducer is called from main thread for action = ' + toString(action_0));
@@ -52848,50 +52898,50 @@
52848
52898
  }
52849
52899
  var tmp_1;
52850
52900
  if (action_0 instanceof StartGameMechanicAction) {
52851
- tmp_1 = this.m97_1.y8x_1.p98(state, action_0);
52901
+ tmp_1 = this.n97_1.y8x_1.q98(state, action_0);
52852
52902
  } else {
52853
52903
  if (action_0 instanceof StartNewGameMechanicAction) {
52854
- tmp_1 = this.m97_1.y8x_1.o98(state, action_0);
52904
+ tmp_1 = this.n97_1.y8x_1.p98(state, action_0);
52855
52905
  } else {
52856
52906
  if (action_0 instanceof ContinueGameMechanicAction) {
52857
- tmp_1 = this.m97_1.y8x_1.n98(state, action_0);
52907
+ tmp_1 = this.n97_1.y8x_1.o98(state, action_0);
52858
52908
  } else {
52859
52909
  if (action_0 instanceof FinishingGameMechanicAction) {
52860
- tmp_1 = this.m97_1.y8x_1.m98(state, action_0);
52910
+ tmp_1 = this.n97_1.y8x_1.n98(state, action_0);
52861
52911
  } else {
52862
52912
  if (action_0 instanceof FinishGameMechanicAction) {
52863
- tmp_1 = this.m97_1.y8x_1.l98(state, action_0);
52913
+ tmp_1 = this.n97_1.y8x_1.m98(state, action_0);
52864
52914
  } else {
52865
52915
  if (action_0 instanceof RestartGameMechanicAction) {
52866
- tmp_1 = this.m97_1.y8x_1.k98(state, action_0);
52916
+ tmp_1 = this.n97_1.y8x_1.l98(state, action_0);
52867
52917
  } else {
52868
52918
  if (action_0 instanceof ErrorAction) {
52869
- tmp_1 = this.m97_1.y8x_1.j98(state, action_0);
52919
+ tmp_1 = this.n97_1.y8x_1.k98(state, action_0);
52870
52920
  } else {
52871
52921
  if (action_0 instanceof TeamsDataMechanicAction) {
52872
- tmp_1 = state.r8s(state.h6m().copy(VOID, VOID, VOID, VOID, this.m97_1.z8x_1.i98(state.h6m().players, action_0)));
52922
+ tmp_1 = state.r8s(state.h6m().copy(VOID, VOID, VOID, VOID, this.n97_1.z8x_1.j98(state.h6m().players, action_0)));
52873
52923
  } else {
52874
52924
  if (action_0 instanceof SuitChoiceMechanicAction) {
52875
- tmp_1 = this.m97_1.a8y_1.h98(state, action_0);
52925
+ tmp_1 = this.n97_1.a8y_1.i98(state, action_0);
52876
52926
  } else {
52877
52927
  if (action_0 instanceof TrumpMechanicAction) {
52878
- tmp_1 = this.m97_1.a8y_1.g98(state, action_0);
52928
+ tmp_1 = this.n97_1.a8y_1.h98(state, action_0);
52879
52929
  } else {
52880
52930
  if (action_0 instanceof CombinationChoiceMechanicAction) {
52881
- tmp_1 = this.m97_1.c8y_1.d98(state, action_0);
52931
+ tmp_1 = this.n97_1.c8y_1.e98(state, action_0);
52882
52932
  } else {
52883
52933
  if (action_0 instanceof PutCardMechanicAction) {
52884
- tmp_1 = this.m97_1.b8y_1.c98(state, action_0);
52934
+ tmp_1 = this.n97_1.b8y_1.d98(state, action_0);
52885
52935
  } else {
52886
52936
  if (action_0 instanceof PickUpBribeMechanicAction) {
52887
- tmp_1 = this.m97_1.b8y_1.b98(state, action_0);
52937
+ tmp_1 = this.n97_1.b8y_1.c98(state, action_0);
52888
52938
  } else {
52889
52939
  if (action_0 instanceof WinnerCombinationsMechanicAction) {
52890
- tmp_1 = this.m97_1.c8y_1.t97(state, action_0);
52940
+ tmp_1 = this.n97_1.c8y_1.u97(state, action_0);
52891
52941
  } else {
52892
52942
  if (action_0 instanceof SceneMechanicAction) {
52893
- var tmp_2 = MechanicReducers$reducer$o$reduce$lambda(this.m97_1, action_0);
52894
- var tmp0 = listOf_0([tmp_2, MechanicReducers$reducer$o$reduce$lambda_0(action_0, this.m97_1)]);
52943
+ var tmp_2 = MechanicReducers$reducer$o$reduce$lambda(this.n97_1, action_0);
52944
+ var tmp0 = listOf_0([tmp_2, MechanicReducers$reducer$o$reduce$lambda_0(action_0, this.n97_1)]);
52895
52945
  // Inline function 'kotlin.collections.fold' call
52896
52946
  var accumulator = state.h6m();
52897
52947
  var _iterator__ex2g4s = tmp0.l();
@@ -52903,13 +52953,13 @@
52903
52953
  tmp_1 = state.r8s(tmp$ret$3);
52904
52954
  } else {
52905
52955
  if (action_0 instanceof SceneActMechanicAction) {
52906
- tmp_1 = state.r8s(this.m97_1.f8y_1.l97(state.h6m(), action_0));
52956
+ tmp_1 = state.r8s(this.n97_1.f8y_1.m97(state.h6m(), action_0));
52907
52957
  } else {
52908
52958
  if (action_0 instanceof PlayerReadyMechanicAction) {
52909
- tmp_1 = state.r8s(this.m97_1.d8y_1.n97(state.h6m(), action_0));
52959
+ tmp_1 = state.r8s(this.n97_1.d8y_1.o97(state.h6m(), action_0));
52910
52960
  } else {
52911
52961
  if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
52912
- tmp_1 = state.r8s(this.m97_1.d8y_1.c8p(state.h6m(), action_0.playerId, action_0.state, action_0.reconnectUntilTime));
52962
+ tmp_1 = state.r8s(this.n97_1.d8y_1.c8p(state.h6m(), action_0.playerId, action_0.state, action_0.reconnectUntilTime));
52913
52963
  } else {
52914
52964
  if (action_0 instanceof MessageMechanicAction) {
52915
52965
  tmp_1 = state;
@@ -52937,7 +52987,7 @@
52937
52987
  return tmp_1;
52938
52988
  };
52939
52989
  protoOf(MechanicReducers$reducer$$inlined$reducerForActionType$1).v6g = function (state, action) {
52940
- return this.d97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
52990
+ return this.e97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
52941
52991
  };
52942
52992
  function MechanicReducers(gameLifecycleReducer, teamsMechanicReducer, tradeMechanicReducer, earnPointsMechanicReducer, combinationsMechanicReducer, playerTurnMechanicReducer, sceneReducer, sceneActReducer, engineLogicConfig, logger) {
52943
52993
  this.y8x_1 = gameLifecycleReducer;
@@ -52964,7 +53014,7 @@
52964
53014
  protoOf(timerReducer$$inlined$reducerForActionType$1).f6f = function (action) {
52965
53015
  return action instanceof TimerAction;
52966
53016
  };
52967
- protoOf(timerReducer$$inlined$reducerForActionType$1).d97 = function (state, action) {
53017
+ protoOf(timerReducer$$inlined$reducerForActionType$1).e97 = function (state, action) {
52968
53018
  var action_0 = action instanceof TimerAction ? action : THROW_CCE();
52969
53019
  var tmp;
52970
53020
  if (action_0 instanceof StartTimerAction) {
@@ -52992,7 +53042,7 @@
52992
53042
  return tmp;
52993
53043
  };
52994
53044
  protoOf(timerReducer$$inlined$reducerForActionType$1).v6g = function (state, action) {
52995
- return this.d97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
53045
+ return this.e97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
52996
53046
  };
52997
53047
  function playerTurnReducer($this, action, table) {
52998
53048
  var tmp0 = action.actData;
@@ -53097,7 +53147,7 @@
53097
53147
  }
53098
53148
  function SceneActReducer() {
53099
53149
  }
53100
- protoOf(SceneActReducer).l97 = function (table, action) {
53150
+ protoOf(SceneActReducer).m97 = function (table, action) {
53101
53151
  var tmp;
53102
53152
  if (action.actId === 'WAITING_ACT') {
53103
53153
  tmp = table.copy(VOID, VOID, VOID, VOID, VOID, VOID, table.sceneInfo.l8e(VOID, VOID, action.actId, VOID, action.actData));
@@ -53134,47 +53184,47 @@
53134
53184
  function MechanicLifecycleReducer() {
53135
53185
  }
53136
53186
  function BaseMechanicLifecycleReducer(tableLifecycleReducer, randomPoolProvider) {
53137
- this.q98_1 = tableLifecycleReducer;
53138
- this.r98_1 = randomPoolProvider;
53187
+ this.r98_1 = tableLifecycleReducer;
53188
+ this.s98_1 = randomPoolProvider;
53139
53189
  }
53140
- protoOf(BaseMechanicLifecycleReducer).n98 = function (state, action) {
53190
+ protoOf(BaseMechanicLifecycleReducer).o98 = function (state, action) {
53141
53191
  var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
53142
53192
  var tmp1_tableOrNull = action.w8t_1;
53143
53193
  var tmp2_payload = action.y8t_1;
53144
53194
  return state.r8s(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState, null);
53145
53195
  };
53146
- protoOf(BaseMechanicLifecycleReducer).o98 = function (state, action) {
53147
- this.r98_1.l58(action.previousGameId);
53196
+ protoOf(BaseMechanicLifecycleReducer).p98 = function (state, action) {
53197
+ this.s98_1.l58(action.previousGameId);
53148
53198
  return state;
53149
53199
  };
53150
- protoOf(BaseMechanicLifecycleReducer).m98 = function (state, action) {
53200
+ protoOf(BaseMechanicLifecycleReducer).n98 = function (state, action) {
53151
53201
  var tmp0_safe_receiver = state.r6l_1;
53152
53202
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gameId;
53153
53203
  if (tmp1_safe_receiver == null)
53154
53204
  null;
53155
53205
  else {
53156
53206
  // Inline function 'kotlin.apply' call
53157
- this.r98_1.l58(tmp1_safe_receiver);
53207
+ this.s98_1.l58(tmp1_safe_receiver);
53158
53208
  }
53159
53209
  return state.r8s(VOID, VOID, GameLifecycleState_FINISHING_getInstance(), new TerminationState(action.a8u_1, action.c8u_1));
53160
53210
  };
53161
- protoOf(BaseMechanicLifecycleReducer).l98 = function (state, action) {
53211
+ protoOf(BaseMechanicLifecycleReducer).m98 = function (state, action) {
53162
53212
  var tmp = GameLifecycleState_FINISHED_getInstance();
53163
53213
  var tmp0_safe_receiver = state.t6l_1;
53164
53214
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v8s(action.e8u_1);
53165
53215
  return state.r8s(VOID, VOID, tmp, tmp1_elvis_lhs == null ? new TerminationState(action.e8u_1) : tmp1_elvis_lhs);
53166
53216
  };
53167
- protoOf(BaseMechanicLifecycleReducer).k98 = function (state, action) {
53168
- return state.r8s(this.q98_1.s98(state.h6m()));
53217
+ protoOf(BaseMechanicLifecycleReducer).l98 = function (state, action) {
53218
+ return state.r8s(this.r98_1.t98(state.h6m()));
53169
53219
  };
53170
- protoOf(BaseMechanicLifecycleReducer).j98 = function (state, action) {
53220
+ protoOf(BaseMechanicLifecycleReducer).k98 = function (state, action) {
53171
53221
  var tmp0_safe_receiver = state.r6l_1;
53172
53222
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gameId;
53173
53223
  if (tmp1_safe_receiver == null)
53174
53224
  null;
53175
53225
  else {
53176
53226
  // Inline function 'kotlin.apply' call
53177
- this.r98_1.l58(tmp1_safe_receiver);
53227
+ this.s98_1.l58(tmp1_safe_receiver);
53178
53228
  }
53179
53229
  var tmp = GameLifecycleState_FINISHED_getInstance();
53180
53230
  var tmp2_safe_receiver = state.t6l_1;
@@ -53194,19 +53244,19 @@
53194
53244
  return value1.id === value2.id;
53195
53245
  }
53196
53246
  function PlayerHandReducer(pointsInteractor, playerHappinessProvider, logger, dealerConfig) {
53197
- this.t98_1 = pointsInteractor;
53198
- this.u98_1 = playerHappinessProvider;
53199
- this.v98_1 = logger;
53200
- this.w98_1 = dealerConfig;
53247
+ this.u98_1 = pointsInteractor;
53248
+ this.v98_1 = playerHappinessProvider;
53249
+ this.w98_1 = logger;
53250
+ this.x98_1 = dealerConfig;
53201
53251
  }
53202
- protoOf(PlayerHandReducer).x98 = function (playerId, hand, cards, combinations, selectedTrump, config) {
53252
+ protoOf(PlayerHandReducer).y98 = function (playerId, hand, cards, combinations, selectedTrump, config) {
53203
53253
  // Inline function 'kotlin.collections.map' call
53204
53254
  // Inline function 'kotlin.collections.mapTo' call
53205
53255
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(combinations, 10));
53206
53256
  var _iterator__ex2g4s = combinations.l();
53207
53257
  while (_iterator__ex2g4s.m()) {
53208
53258
  var item = _iterator__ex2g4s.n();
53209
- var tmp$ret$0 = mapToRecord(item, this.t98_1.u8m(item));
53259
+ var tmp$ret$0 = mapToRecord(item, this.u98_1.u8m(item));
53210
53260
  destination.j(tmp$ret$0);
53211
53261
  }
53212
53262
  var combinationRecords = destination;
@@ -53241,8 +53291,8 @@
53241
53291
  return hand.f6x(VOID, VOID, plus(hand.e6u_1, combinationRecords), plus(hand.f6u_1, combinationRecords));
53242
53292
  }
53243
53293
  var tmp0_elvis_lhs = config.dealerStrategy;
53244
- var dealerStrategy = tmp0_elvis_lhs == null ? this.w98_1.dealerStrategy : tmp0_elvis_lhs;
53245
- var tmp_0 = this.t98_1.t8m(cards, selectedTrump, dealerStrategy);
53294
+ var dealerStrategy = tmp0_elvis_lhs == null ? this.x98_1.dealerStrategy : tmp0_elvis_lhs;
53295
+ var tmp_0 = this.u98_1.t8m(cards, selectedTrump, dealerStrategy);
53246
53296
  // Inline function 'kotlin.collections.map' call
53247
53297
  // Inline function 'kotlin.collections.mapTo' call
53248
53298
  var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(combinationRecords, 10));
@@ -53253,11 +53303,11 @@
53253
53303
  destination_0.j(tmp$ret$5);
53254
53304
  }
53255
53305
  var value = tmp_0 + sum(destination_0);
53256
- var luckyFactor = this.u98_1.x8g(value, config.playersMode, dealerStrategy);
53257
- Companion_instance_164.s8m(this.v98_1, 'equalise: earn points for = ' + playerId + ' ' + ('factor: ' + luckyFactor + ', ') + ('currentFactor: ' + hand.m6u() + ', ') + ('value: ' + value + ', ') + ('combinations: ' + combinations.o() + ', '));
53306
+ var luckyFactor = this.v98_1.x8g(value, config.playersMode, dealerStrategy);
53307
+ Companion_instance_164.s8m(this.w98_1, 'equalise: earn points for = ' + playerId + ' ' + ('factor: ' + luckyFactor + ', ') + ('currentFactor: ' + hand.m6u() + ', ') + ('value: ' + value + ', ') + ('combinations: ' + combinations.o() + ', '));
53258
53308
  return hand.f6x(VOID, plus(hand.d6u_1, listOf(Companion_instance_17.z6w(luckyFactor, value))), plus(hand.e6u_1, combinationRecords), plus(hand.f6u_1, combinationRecords));
53259
53309
  };
53260
- protoOf(PlayerHandReducer).y98 = function (hand, combinations) {
53310
+ protoOf(PlayerHandReducer).z98 = function (hand, combinations) {
53261
53311
  // Inline function 'kotlin.collections.map' call
53262
53312
  var this_0 = filterWithFirstCardOrBela(combinations);
53263
53313
  // Inline function 'kotlin.collections.mapTo' call
@@ -53265,20 +53315,20 @@
53265
53315
  var _iterator__ex2g4s = this_0.l();
53266
53316
  while (_iterator__ex2g4s.m()) {
53267
53317
  var item = _iterator__ex2g4s.n();
53268
- var tmp$ret$0 = mapToRecord(item, this.t98_1.u8m(item));
53318
+ var tmp$ret$0 = mapToRecord(item, this.u98_1.u8m(item));
53269
53319
  destination.j(tmp$ret$0);
53270
53320
  }
53271
53321
  var combinationRecords = destination;
53272
53322
  var tmp = updateOrAddItems(hand.e6u_1, combinationRecords, PlayerHandReducer$playerHandCombinationsReducer$lambda);
53273
53323
  return hand.f6x(VOID, VOID, tmp, updateOrAddItems(hand.f6u_1, combinationRecords, PlayerHandReducer$playerHandCombinationsReducer$lambda_0));
53274
53324
  };
53275
- protoOf(PlayerHandReducer).z98 = function (playerId, hand, updatedCombinations, config) {
53325
+ protoOf(PlayerHandReducer).a99 = function (playerId, hand, updatedCombinations, config) {
53276
53326
  if (updatedCombinations.r()) {
53277
53327
  return hand;
53278
53328
  }
53279
53329
  var previousFactor = hand.p6u();
53280
53330
  if (previousFactor.o6u_1 === 0.0) {
53281
- return this.y98(hand, updatedCombinations);
53331
+ return this.z98(hand, updatedCombinations);
53282
53332
  }
53283
53333
  // Inline function 'kotlin.collections.map' call
53284
53334
  // Inline function 'kotlin.collections.mapTo' call
@@ -53286,7 +53336,7 @@
53286
53336
  var _iterator__ex2g4s = updatedCombinations.l();
53287
53337
  while (_iterator__ex2g4s.m()) {
53288
53338
  var item = _iterator__ex2g4s.n();
53289
- var tmp$ret$0 = mapToRecord(item, this.t98_1.u8m(item));
53339
+ var tmp$ret$0 = mapToRecord(item, this.u98_1.u8m(item));
53290
53340
  destination.j(tmp$ret$0);
53291
53341
  }
53292
53342
  var updatedCombinationRecords = destination;
@@ -53346,9 +53396,9 @@
53346
53396
  }
53347
53397
  var updatedValue = tmp_0 + sum(destination_2);
53348
53398
  var tmp0_elvis_lhs = config.dealerStrategy;
53349
- var dealerStrategy = tmp0_elvis_lhs == null ? this.w98_1.dealerStrategy : tmp0_elvis_lhs;
53350
- var updatedLuckyFactor = this.u98_1.x8g(updatedValue, config.playersMode, dealerStrategy);
53351
- Companion_instance_164.s8m(this.v98_1, 'playerHand: update combinations value for = ' + playerId + ' ' + ('factor: ' + updatedLuckyFactor + ', ') + ('currentFactor: ' + hand.m6u() + ', ') + ('value: ' + updatedValue + ', '));
53399
+ var dealerStrategy = tmp0_elvis_lhs == null ? this.x98_1.dealerStrategy : tmp0_elvis_lhs;
53400
+ var updatedLuckyFactor = this.v98_1.x8g(updatedValue, config.playersMode, dealerStrategy);
53401
+ Companion_instance_164.s8m(this.w98_1, 'playerHand: update combinations value for = ' + playerId + ' ' + ('factor: ' + updatedLuckyFactor + ', ') + ('currentFactor: ' + hand.m6u() + ', ') + ('value: ' + updatedValue + ', '));
53352
53402
  // Inline function 'kotlin.collections.map' call
53353
53403
  var this_0 = hand.d6u_1;
53354
53404
  // Inline function 'kotlin.collections.mapTo' call
@@ -53372,7 +53422,7 @@
53372
53422
  protoOf(PlayerSceneReducer).t8r = function (player, cards, whoShuffleCardsPlayerId) {
53373
53423
  return player.x6t(VOID, VOID, cards, player.u6p_1.z6x(VOID, VOID, VOID, player.playerId === whoShuffleCardsPlayerId));
53374
53424
  };
53375
- protoOf(PlayerSceneReducer).a99 = function (player, distributedCards, combinations, config, players, selectedTrump) {
53425
+ protoOf(PlayerSceneReducer).b99 = function (player, distributedCards, combinations, config, players, selectedTrump) {
53376
53426
  // Inline function 'kotlin.collections.map' call
53377
53427
  // Inline function 'kotlin.collections.mapTo' call
53378
53428
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(combinations, 10));
@@ -53385,7 +53435,7 @@
53385
53435
  }
53386
53436
  var detailedCombinations = destination;
53387
53437
  var cards = plus(player.t6p_1, distributedCards);
53388
- var hand = this.s8r_1.x98(player.playerId, player.v6p_1, cards, detailedCombinations, selectedTrump, config);
53438
+ var hand = this.s8r_1.y98(player.playerId, player.v6p_1, cards, detailedCombinations, selectedTrump, config);
53389
53439
  var tmp;
53390
53440
  // Inline function 'kotlin.collections.isNotEmpty' call
53391
53441
  if (!combinations.r()) {
@@ -53396,7 +53446,7 @@
53396
53446
  var tmp0_points = tmp;
53397
53447
  return player.x6t(VOID, VOID, cards, VOID, hand, tmp0_points);
53398
53448
  };
53399
- protoOf(PlayerSceneReducer).b99 = function (player, sceneData) {
53449
+ protoOf(PlayerSceneReducer).c99 = function (player, sceneData) {
53400
53450
  // Inline function 'kotlin.collections.single' call
53401
53451
  var single = null;
53402
53452
  var found = false;
@@ -53432,7 +53482,7 @@
53432
53482
  var tmp10_earnedPoints = playerPointsCell.w6z_1;
53433
53483
  var tmp11_earnedCards = emptyList();
53434
53484
  var tmp14_points = new PlayerPoints(tmp10_earnedPoints, updatedCombinations, tmp11_earnedCards);
53435
- var tmp15_hand = this.s8r_1.y98(player.v6p_1, updatedCombinations);
53485
+ var tmp15_hand = this.s8r_1.z98(player.v6p_1, updatedCombinations);
53436
53486
  return player.x6t(tmp12_userInfo, VOID, VOID, tmp13_options, tmp15_hand, tmp14_points);
53437
53487
  };
53438
53488
  function refreshStartFromTime($this, playerState, config) {
@@ -53471,7 +53521,7 @@
53471
53521
  this.y8o_1 = gameHistoryReducer;
53472
53522
  this.z8o_1 = engineLogicConfig;
53473
53523
  }
53474
- protoOf(PlayerTurnMechanicReducer).c99 = function (table, model) {
53524
+ protoOf(PlayerTurnMechanicReducer).d99 = function (table, model) {
53475
53525
  // Inline function 'com.logic.utils.copy' call
53476
53526
  var this_0 = table.players;
53477
53527
  // Inline function 'kotlin.apply' call
@@ -53499,7 +53549,7 @@
53499
53549
  this.x8o_1.d('PlayerTurn', tmp_1 + ('currentTurn = ' + joinToString(tmp_2, VOID, VOID, VOID, VOID, VOID, PlayerTurnMechanicReducer$onPlayerTurn$lambda)));
53500
53550
  return newTable;
53501
53551
  };
53502
- protoOf(PlayerTurnMechanicReducer).d99 = function (table, model) {
53552
+ protoOf(PlayerTurnMechanicReducer).e99 = function (table, model) {
53503
53553
  var player = getPlayer(table.players, model.t65());
53504
53554
  if (player.s6p_1.f67_1 == null) {
53505
53555
  this.x8o_1.w(VOID, 'PlayerTurnMechanicReducer.onResetPlayerTurn: has no tag, ' + ('tag: ' + model.m6v_1));
@@ -53510,11 +53560,11 @@
53510
53560
  this.x8o_1.d('PlayerTurn', tmp + ('currentTurn = ' + joinToString(tmp_0, VOID, VOID, VOID, VOID, VOID, PlayerTurnMechanicReducer$onResetPlayerTurn$lambda)));
53511
53561
  return newTable;
53512
53562
  };
53513
- protoOf(PlayerTurnMechanicReducer).n97 = function (table, action) {
53563
+ protoOf(PlayerTurnMechanicReducer).o97 = function (table, action) {
53514
53564
  var player = getPlayer(table.players, action.q8u_1);
53515
53565
  return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.x6t(VOID, player.s6p_1.t68(VOID, VOID, VOID, VOID, true)), get_byIdPlayerPredicate()(player.playerId)));
53516
53566
  };
53517
- protoOf(PlayerTurnMechanicReducer).e99 = function (table) {
53567
+ protoOf(PlayerTurnMechanicReducer).f99 = function (table) {
53518
53568
  // Inline function 'kotlin.collections.map' call
53519
53569
  var this_0 = table.players;
53520
53570
  // Inline function 'kotlin.collections.mapTo' call
@@ -53550,7 +53600,7 @@
53550
53600
  var tmp7_waitPlayerUntilTime = tmp_0;
53551
53601
  tmp = tmp6_$this.t68(VOID, VOID, tmp7_waitPlayerUntilTime, VOID, VOID, VOID, newPlayerConnection);
53552
53602
  }
53553
- return table.copy(VOID, VOID, VOID, VOID, updateItem(players, player.x6t(VOID, tmp), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.y8o_1.j99(playerId, previousConnection, newPlayerConnection, table.gameHistory));
53603
+ return table.copy(VOID, VOID, VOID, VOID, updateItem(players, player.x6t(VOID, tmp), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.y8o_1.k99(playerId, previousConnection, newPlayerConnection, table.gameHistory));
53554
53604
  };
53555
53605
  protoOf(PlayerTurnMechanicReducer).a8p = function (config) {
53556
53606
  return getProgress(PlayerWaitingState_IN_PROGRESS_getInstance(), refreshTimeoutTimeWhenTurn(this, config), this.x8o_1);
@@ -53585,7 +53635,7 @@
53585
53635
  var _iterator__ex2g4s = players.l();
53586
53636
  while (_iterator__ex2g4s.m()) {
53587
53637
  var item = _iterator__ex2g4s.n();
53588
- var tmp$ret$1 = $this.e97_1.t8r(item, getValue(scene.m79_1, item.playerId), scene.q79_1);
53638
+ var tmp$ret$1 = $this.f97_1.t8r(item, getValue(scene.m79_1, item.playerId), scene.q79_1);
53589
53639
  destination.j(tmp$ret$1);
53590
53640
  }
53591
53641
 
@@ -53606,12 +53656,12 @@
53606
53656
  }
53607
53657
 
53608
53658
  var tmp7_requestedCardDecks = tmp_0;
53609
- var tmp1_$this = $this.h97_1;
53659
+ var tmp1_$this = $this.i97_1;
53610
53660
  var tmp2_gameHistory = table.gameHistory;
53611
53661
  var tmp3_playersCards = scene.m79_1;
53612
53662
  var tmp4_whoShuffleCardsPlayerId = scene.q79_1;
53613
53663
  var tmp5_randomData = scene.n79_1;
53614
- var tmp8_gameHistory = tmp1_$this.k99(cardDeck, tmp5_randomData, tmp4_whoShuffleCardsPlayerId, tmp3_playersCards, tmp2_gameHistory);
53664
+ var tmp8_gameHistory = tmp1_$this.l99(cardDeck, tmp5_randomData, tmp4_whoShuffleCardsPlayerId, tmp3_playersCards, tmp2_gameHistory);
53615
53665
  return table.copy(VOID, VOID, VOID, VOID, destination, VOID, sceneInfo, VOID, VOID, cardDeck, tmp7_requestedCardDecks, VOID, tmp8_gameHistory);
53616
53666
  case 'EARN_POINTS':
53617
53667
  var tmp$ret$5;
@@ -53629,7 +53679,7 @@
53629
53679
  var tmp10_newPlayersCards = scene_0.s79_1;
53630
53680
  var tmp11_cardDeck = table.requireCardDeck;
53631
53681
  var tmp12_config = table.config;
53632
- var updatedCardDeck = $this.l99(tmp11_cardDeck, tmp10_newPlayersCards, tmp12_config, tmp9_newTopOpenedCard);
53682
+ var updatedCardDeck = $this.m99(tmp11_cardDeck, tmp10_newPlayersCards, tmp12_config, tmp9_newTopOpenedCard);
53633
53683
  // Inline function 'kotlin.collections.map' call
53634
53684
 
53635
53685
  // Inline function 'kotlin.collections.mapTo' call
@@ -53638,21 +53688,21 @@
53638
53688
  var _iterator__ex2g4s_0 = players.l();
53639
53689
  while (_iterator__ex2g4s_0.m()) {
53640
53690
  var item_0 = _iterator__ex2g4s_0.n();
53641
- var tmp2_$this = $this.e97_1;
53691
+ var tmp2_$this = $this.f97_1;
53642
53692
  var tmp3_config = table.config;
53643
53693
  var tmp4_distributedCards = getValue(scene_0.s79_1, item_0.playerId);
53644
53694
  var tmp0_safe_receiver = scene_0.t79_1;
53645
53695
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b2(item_0.playerId);
53646
53696
  var tmp5_combinations = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
53647
53697
  var tmp6_selectedTrump = table.gameInfo.round.selectedTrump;
53648
- var tmp$ret$6 = tmp2_$this.a99(item_0, tmp4_distributedCards, tmp5_combinations, tmp3_config, players, tmp6_selectedTrump);
53698
+ var tmp$ret$6 = tmp2_$this.b99(item_0, tmp4_distributedCards, tmp5_combinations, tmp3_config, players, tmp6_selectedTrump);
53649
53699
  destination_0.j(tmp$ret$6);
53650
53700
  }
53651
53701
 
53652
- var tmp13_$this = $this.h97_1;
53702
+ var tmp13_$this = $this.i97_1;
53653
53703
  var tmp14_gameHistory = table.gameHistory;
53654
53704
  var tmp15_playersCards = scene_0.s79_1;
53655
- var tmp17_gameHistory = tmp13_$this.m99(tmp15_playersCards, tmp14_gameHistory);
53705
+ var tmp17_gameHistory = tmp13_$this.n99(tmp15_playersCards, tmp14_gameHistory);
53656
53706
  return table.copy(VOID, VOID, VOID, VOID, destination_0, VOID, sceneInfo, VOID, VOID, updatedCardDeck, VOID, VOID, tmp17_gameHistory);
53657
53707
  case 'CALC_POINTS':
53658
53708
  var tmp$ret$9;
@@ -53675,12 +53725,12 @@
53675
53725
  var _iterator__ex2g4s_1 = players.l();
53676
53726
  while (_iterator__ex2g4s_1.m()) {
53677
53727
  var item_1 = _iterator__ex2g4s_1.n();
53678
- var tmp$ret$10 = $this.e97_1.b99(item_1, calcPointsSceneData);
53728
+ var tmp$ret$10 = $this.f97_1.c99(item_1, calcPointsSceneData);
53679
53729
  destination_1.j(tmp$ret$10);
53680
53730
  }
53681
53731
 
53682
53732
  var updatedPlayers = destination_1;
53683
- var tmp19_$this = $this.h97_1;
53733
+ var tmp19_$this = $this.i97_1;
53684
53734
  var tmp20_gameHistory = table.gameHistory;
53685
53735
  var tmp21_points = calcPointsSceneData.f79_1;
53686
53736
  var tmp22_roundContractState = calcPointsSceneData.j79(whoChoseSuitPlayerId);
@@ -53720,7 +53770,7 @@
53720
53770
 
53721
53771
  var tmp26_playersGameAnalytics = tmp_3;
53722
53772
  var tmp27_playersAchievements = calcPointsSceneData.g79_1;
53723
- var tmp28_gameHistory = tmp19_$this.n99(tmp21_points, tmp20_gameHistory, tmp22_roundContractState, tmp23_roundCommitted, tmp24_roundWinners, tmp25_gameWinners, tmp26_playersGameAnalytics, tmp27_playersAchievements);
53773
+ var tmp28_gameHistory = tmp19_$this.o99(tmp21_points, tmp20_gameHistory, tmp22_roundContractState, tmp23_roundCommitted, tmp24_roundWinners, tmp25_gameWinners, tmp26_playersGameAnalytics, tmp27_playersAchievements);
53724
53774
  return table.copy(VOID, VOID, VOID, VOID, updatedPlayers, VOID, sceneInfo, VOID, VOID, VOID, VOID, VOID, tmp28_gameHistory);
53725
53775
  default:
53726
53776
  throw new MechanicException("onCurrentScene: Can't support this scene " + sceneId);
@@ -53752,30 +53802,30 @@
53752
53802
  }
53753
53803
  function SceneReducer$onPreviousScene$lambda(this$0) {
53754
53804
  return function (tbl) {
53755
- return this$0.f97_1.e99(tbl);
53805
+ return this$0.g97_1.f99(tbl);
53756
53806
  };
53757
53807
  }
53758
53808
  function SceneReducer$onPreviousScene$lambda_0(this$0) {
53759
53809
  return function (tbl) {
53760
- return this$0.g97_1.o99(tbl);
53810
+ return this$0.h97_1.p99(tbl);
53761
53811
  };
53762
53812
  }
53763
53813
  function SceneReducer(playerSceneReducer, playerTurnMechanicReducer, tableLifecycleReducer, gameHistoryReducer, dealerReducer, gameParamsProvider) {
53764
- this.e97_1 = playerSceneReducer;
53765
- this.f97_1 = playerTurnMechanicReducer;
53766
- this.g97_1 = tableLifecycleReducer;
53767
- this.h97_1 = gameHistoryReducer;
53768
- this.i97_1 = dealerReducer;
53769
- this.j97_1 = gameParamsProvider;
53770
- }
53771
- protoOf(SceneReducer).k97 = function (table, sceneId, sceneData, actId, actData) {
53814
+ this.f97_1 = playerSceneReducer;
53815
+ this.g97_1 = playerTurnMechanicReducer;
53816
+ this.h97_1 = tableLifecycleReducer;
53817
+ this.i97_1 = gameHistoryReducer;
53818
+ this.j97_1 = dealerReducer;
53819
+ this.k97_1 = gameParamsProvider;
53820
+ }
53821
+ protoOf(SceneReducer).l97 = function (table, sceneId, sceneData, actId, actData) {
53772
53822
  var previousSceneId = table.sceneInfo.u7s_1;
53773
53823
  if (!(previousSceneId === 'WAITING') && equals(table.sceneInfo.x7s_1, sceneData)) {
53774
53824
  throw new MechanicException('Payload was set twice');
53775
53825
  }
53776
53826
  return onCurrentScene(this, sceneId, sceneData, actId, actData, onPreviousScene(this, table, previousSceneId), previousSceneId);
53777
53827
  };
53778
- protoOf(SceneReducer).l99 = function (cardDeck, newPlayersCards, config, newTopOpenedCard) {
53828
+ protoOf(SceneReducer).m99 = function (cardDeck, newPlayersCards, config, newTopOpenedCard) {
53779
53829
  // Inline function 'kotlin.collections.map' call
53780
53830
  // Inline function 'kotlin.collections.mapTo' call
53781
53831
  var destination = ArrayList_init_$Create$(newPlayersCards.o());
@@ -53789,19 +53839,19 @@
53789
53839
  // Inline function 'kotlin.let' call
53790
53840
  var it = flatten(destination);
53791
53841
  var tmp;
53792
- if (this.j97_1.y8h(config)) {
53793
- tmp = this.i97_1.k5g(it, cardDeck.g7i_1);
53842
+ if (this.k97_1.y8h(config)) {
53843
+ tmp = this.j97_1.k5g(it, cardDeck.g7i_1);
53794
53844
  } else {
53795
53845
  tmp = it;
53796
53846
  }
53797
53847
  var playersCardsToRemove = tmp;
53798
53848
  var cardsToRemove = plus(playersCardsToRemove, listOfNotNull_0(newTopOpenedCard));
53799
- var cards = this.i97_1.j5g(cardDeck.f7i_1, cardsToRemove);
53849
+ var cards = this.j97_1.j5g(cardDeck.f7i_1, cardsToRemove);
53800
53850
  return cardDeck.y8a(cards, VOID, newTopOpenedCard);
53801
53851
  };
53802
53852
  function TeamsMechanicReducer() {
53803
53853
  }
53804
- protoOf(TeamsMechanicReducer).i98 = function (players, action) {
53854
+ protoOf(TeamsMechanicReducer).j98 = function (players, action) {
53805
53855
  // Inline function 'kotlin.collections.map' call
53806
53856
  var this_0 = action.m8u_1.y68_1;
53807
53857
  // Inline function 'kotlin.collections.mapTo' call
@@ -53841,10 +53891,10 @@
53841
53891
  return destination_1;
53842
53892
  };
53843
53893
  function TradeMechanicReducer(logger, gameHistoryReducer) {
53844
- this.e98_1 = logger;
53845
- this.f98_1 = gameHistoryReducer;
53894
+ this.f98_1 = logger;
53895
+ this.g98_1 = gameHistoryReducer;
53846
53896
  }
53847
- protoOf(TradeMechanicReducer).h98 = function (state, action) {
53897
+ protoOf(TradeMechanicReducer).i98 = function (state, action) {
53848
53898
  var table = state.h6m();
53849
53899
  // Inline function 'kotlin.with' call
53850
53900
  var player = getPlayer(table.players, action.t8p_1);
@@ -53852,7 +53902,7 @@
53852
53902
  var it = player.u6p_1.x6x();
53853
53903
  var tmp;
53854
53904
  if (it == null) {
53855
- this.e98_1.w(VOID, "Can't support this circle increment");
53905
+ this.f98_1.w(VOID, "Can't support this circle increment");
53856
53906
  tmp = player.u6p_1.t6t_1;
53857
53907
  } else {
53858
53908
  tmp = it;
@@ -53874,17 +53924,17 @@
53874
53924
  destination.j(tmp$ret$2);
53875
53925
  }
53876
53926
  var tmp_1 = destination;
53877
- var tmp0_$this = this.f98_1;
53927
+ var tmp0_$this = this.g98_1;
53878
53928
  var tmp1_playerId = player.playerId;
53879
53929
  var tmp2_suit = action.r8p_1;
53880
53930
  var tmp3_gameHistory = table.gameHistory;
53881
53931
  var tmp4_players = table.players;
53882
53932
  var tmp5_playersMode = table.config.playersMode;
53883
- tmp_0 = state.r8s(table.copy(VOID, VOID, VOID, VOID, tmp_1, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_$this.p99(tmp1_playerId, tmp2_suit, newNumberOfCircle, tmp3_gameHistory, tmp5_playersMode, tmp4_players)));
53933
+ tmp_0 = state.r8s(table.copy(VOID, VOID, VOID, VOID, tmp_1, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_$this.q99(tmp1_playerId, tmp2_suit, newNumberOfCircle, tmp3_gameHistory, tmp5_playersMode, tmp4_players)));
53884
53934
  }
53885
53935
  return tmp_0;
53886
53936
  };
53887
- protoOf(TradeMechanicReducer).g98 = function (state, action) {
53937
+ protoOf(TradeMechanicReducer).h98 = function (state, action) {
53888
53938
  var table = state.h6m();
53889
53939
  // Inline function 'kotlin.collections.map' call
53890
53940
  var this_0 = table.players;
@@ -53902,13 +53952,13 @@
53902
53952
  return valueToFind.u6y_1 === value.u6y_1;
53903
53953
  }
53904
53954
  function CombinationsMechanicReducer(teamsLogicProvider, combinationsInteractor, dealerReducer, playerHandReducer, gameHistoryReducer) {
53905
- this.o97_1 = teamsLogicProvider;
53906
- this.p97_1 = combinationsInteractor;
53907
- this.q97_1 = dealerReducer;
53908
- this.r97_1 = playerHandReducer;
53909
- this.s97_1 = gameHistoryReducer;
53955
+ this.p97_1 = teamsLogicProvider;
53956
+ this.q97_1 = combinationsInteractor;
53957
+ this.r97_1 = dealerReducer;
53958
+ this.s97_1 = playerHandReducer;
53959
+ this.t97_1 = gameHistoryReducer;
53910
53960
  }
53911
- protoOf(CombinationsMechanicReducer).q99 = function (whoGotBribePlayerId, playerCombinations, players, config) {
53961
+ protoOf(CombinationsMechanicReducer).r99 = function (whoGotBribePlayerId, playerCombinations, players, config) {
53912
53962
  var bellaCombination = first(playerCombinations.g8c_1);
53913
53963
  var player = getPlayer(players, playerCombinations.f8c_1);
53914
53964
  if (bellaCombination.w6y_1.equals(CombinationState_NOT_ACCEPTED_getInstance())) {
@@ -53917,7 +53967,7 @@
53917
53967
  var tmp;
53918
53968
  if (config.rules.protectBella) {
53919
53969
  var playerWithBellaGotBribe = player.playerId === whoGotBribePlayerId;
53920
- var partnerGotBribe = config.playersMode.isTeamGame && this.o97_1.m8g(player.playerId, players).playerId === whoGotBribePlayerId;
53970
+ var partnerGotBribe = config.playersMode.isTeamGame && this.p97_1.m8g(player.playerId, players).playerId === whoGotBribePlayerId;
53921
53971
  var tmp_0;
53922
53972
  if (playerWithBellaGotBribe || partnerGotBribe) {
53923
53973
  tmp_0 = bellaCombination.g6z(VOID, VOID, CombinationState_ACCEPTED_getInstance());
@@ -53931,7 +53981,7 @@
53931
53981
  return tmp;
53932
53982
  }
53933
53983
  };
53934
- protoOf(CombinationsMechanicReducer).t97 = function (state, action) {
53984
+ protoOf(CombinationsMechanicReducer).u97 = function (state, action) {
53935
53985
  var table = state.h6m();
53936
53986
  var players = table.players;
53937
53987
  var config = table.config;
@@ -53962,7 +54012,7 @@
53962
54012
  }
53963
54013
  var passedPlayersCombinations = destination;
53964
54014
  // Inline function 'kotlin.collections.filterNot' call
53965
- var tmp0 = this.p97_1.e8k(players);
54015
+ var tmp0 = this.q97_1.e8k(players);
53966
54016
  // Inline function 'kotlin.collections.filterNotTo' call
53967
54017
  var destination_1 = ArrayList_init_$Create$_0();
53968
54018
  var _iterator__ex2g4s_1 = tmp0.l();
@@ -54009,10 +54059,10 @@
54009
54059
  var tmp0_elvis_lhs_0 = rejectedPlayersCombinations.b2(item_1.playerId);
54010
54060
  var tmp$ret$18 = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
54011
54061
  var updatedCombinations = plus(tmp_0, tmp$ret$18);
54012
- var tmp0_$this = this.r97_1;
54062
+ var tmp0_$this = this.s97_1;
54013
54063
  var tmp1_playerId = item_1.playerId;
54014
54064
  var tmp2_hand = item_1.v6p_1;
54015
- var tmp_1 = tmp0_$this.z98(tmp1_playerId, tmp2_hand, updatedCombinations, config);
54065
+ var tmp_1 = tmp0_$this.a99(tmp1_playerId, tmp2_hand, updatedCombinations, config);
54016
54066
  tmp = item_1.x6t(VOID, VOID, VOID, VOID, tmp_1, item_1.w6p_1.b6y(VOID, updateOrAddItems(item_1.w6p_1.r6u_1, updatedCombinations, CombinationsMechanicReducer$onWinnerCombinations$lambda)));
54017
54067
  } else {
54018
54068
  tmp = item_1;
@@ -54020,9 +54070,9 @@
54020
54070
  var tmp$ret$19 = tmp;
54021
54071
  destination_4.j(tmp$ret$19);
54022
54072
  }
54023
- return state.r8s(table.copy(VOID, VOID, VOID, VOID, destination_4, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.s97_1.r99(action.y8u_1, table.gameHistory)));
54073
+ return state.r8s(table.copy(VOID, VOID, VOID, VOID, destination_4, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t97_1.s99(action.y8u_1, table.gameHistory)));
54024
54074
  };
54025
- protoOf(CombinationsMechanicReducer).d98 = function (state, action) {
54075
+ protoOf(CombinationsMechanicReducer).e98 = function (state, action) {
54026
54076
  var table = state.h6m();
54027
54077
  var player = getPlayer(table.players, action.w8u_1);
54028
54078
  // Inline function 'kotlin.collections.map' call
@@ -54077,13 +54127,13 @@
54077
54127
  // Inline function 'kotlin.let' call
54078
54128
 
54079
54129
  var cards = player.t6p_1;
54080
- var newCards = this.q97_1.k5g(cards, trumpSevenCard);
54081
- var tmp1_cards = this.q97_1.l5g(newCards, trumpCard);
54130
+ var newCards = this.r97_1.k5g(cards, trumpSevenCard);
54131
+ var tmp1_cards = this.r97_1.l5g(newCards, trumpCard);
54082
54132
  var tmp3_players = updateItem(table.players, player.x6t(VOID, VOID, tmp1_cards, VOID, VOID, updatedPoints), get_byIdPlayerPredicate()(player.playerId));
54083
- var tmp4_gameHistory = this.s97_1.s99(player.playerId, listOf(announcedCombination.v6y_1), VOID, table.gameHistory);
54133
+ var tmp4_gameHistory = this.t97_1.t99(player.playerId, listOf(announcedCombination.v6y_1), VOID, table.gameHistory);
54084
54134
  return state.r8s(table.copy(VOID, VOID, VOID, VOID, tmp3_players, VOID, VOID, VOID, VOID, tmp2_cardDeck, VOID, VOID, tmp4_gameHistory));
54085
54135
  case 6:
54086
- return state.r8s(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.x6t(VOID, VOID, VOID, VOID, VOID, updatedPoints), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.s97_1.s99(player.playerId, listOf(announcedCombination.v6y_1), VOID, table.gameHistory)));
54136
+ return state.r8s(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.x6t(VOID, VOID, VOID, VOID, VOID, updatedPoints), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.t97_1.t99(player.playerId, listOf(announcedCombination.v6y_1), VOID, table.gameHistory)));
54087
54137
  default:
54088
54138
  throw new MechanicException("Can't support this combination " + announcedCombination.toString());
54089
54139
  }
@@ -54164,7 +54214,7 @@
54164
54214
  destination.j(tmp$ret$1);
54165
54215
  }
54166
54216
  var updatedCombinations = destination;
54167
- var tmp1_cards = $this.x97_1.k5g(player.t6p_1, card);
54217
+ var tmp1_cards = $this.y97_1.k5g(player.t6p_1, card);
54168
54218
  var tmp2_points = player.w6p_1.b6y(VOID, updatedCombinations);
54169
54219
  var tmp3_hand = updatePlayerHand($this, player, cardsOnTheTable, table.gameInfo.round.selectedTrump);
54170
54220
  return player.x6t(VOID, VOID, tmp1_cards, VOID, tmp3_hand, tmp2_points);
@@ -54183,11 +54233,11 @@
54183
54233
  }
54184
54234
  var tmp2_combinations = tmp;
54185
54235
  var tmp4_points = tmp0_$this.b6y(VOID, tmp2_combinations, tmp1_earnedCards);
54186
- var tmp5_hand = $this.z97_1.y98(player.v6p_1, combinations);
54236
+ var tmp5_hand = $this.a98_1.z98(player.v6p_1, combinations);
54187
54237
  return player.x6t(VOID, VOID, VOID, tmp3_options, tmp5_hand, tmp4_points);
54188
54238
  }
54189
54239
  function addPlayersCombinationsWhenPickBribe($this, whoGotBribePlayerId, players, config) {
54190
- var bellaCombination = $this.w97_1.d8k(players);
54240
+ var bellaCombination = $this.x97_1.d8k(players);
54191
54241
  // Inline function 'kotlin.collections.associate' call
54192
54242
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(players, 10)), 16);
54193
54243
  // Inline function 'kotlin.collections.associateTo' call
@@ -54206,7 +54256,7 @@
54206
54256
  var isGotBribe = player.playerId === whoGotBribePlayerId;
54207
54257
  var isGotLastBribe = player.t66() === 0 && isGotBribe;
54208
54258
  var hasBellaCombination = !(bellaCombination == null) && bellaCombination.f8c_1 === player.playerId;
54209
- var tmp = isGotLastBribe ? $this.v97_1.j6y(CombinationType_BONUS_LAST_BRIBE_getInstance(), CombinationState_ACCEPTED_getInstance(), Companion_instance_149.c8b(CombinationType_BONUS_LAST_BRIBE_getInstance(), config)) : null;
54259
+ var tmp = isGotLastBribe ? $this.w97_1.j6y(CombinationType_BONUS_LAST_BRIBE_getInstance(), CombinationState_ACCEPTED_getInstance(), Companion_instance_149.c8b(CombinationType_BONUS_LAST_BRIBE_getInstance(), config)) : null;
54210
54260
  var tmp_0;
54211
54261
  if (hasBellaCombination) {
54212
54262
  // Inline function 'kotlin.requireNotNull' call
@@ -54222,7 +54272,7 @@
54222
54272
  }
54223
54273
  }
54224
54274
  var tmp$ret$2 = tmp$ret$1;
54225
- tmp_0 = $this.u97_1.q99(whoGotBribePlayerId, tmp$ret$2, players, config);
54275
+ tmp_0 = $this.v97_1.r99(whoGotBribePlayerId, tmp$ret$2, players, config);
54226
54276
  } else {
54227
54277
  tmp_0 = null;
54228
54278
  }
@@ -54287,15 +54337,15 @@
54287
54337
  return value1.u6y_1 === value2.u6y_1;
54288
54338
  }
54289
54339
  function EarnPointsMechanicReducer(combinationsMechanicReducer, combinationsFactory, combinationsInteractor, dealerReducer, gameHistoryReducer, playerHandReducer, logger) {
54290
- this.u97_1 = combinationsMechanicReducer;
54291
- this.v97_1 = combinationsFactory;
54292
- this.w97_1 = combinationsInteractor;
54293
- this.x97_1 = dealerReducer;
54294
- this.y97_1 = gameHistoryReducer;
54295
- this.z97_1 = playerHandReducer;
54296
- this.a98_1 = logger;
54297
- }
54298
- protoOf(EarnPointsMechanicReducer).c98 = function (state, action) {
54340
+ this.v97_1 = combinationsMechanicReducer;
54341
+ this.w97_1 = combinationsFactory;
54342
+ this.x97_1 = combinationsInteractor;
54343
+ this.y97_1 = dealerReducer;
54344
+ this.z97_1 = gameHistoryReducer;
54345
+ this.a98_1 = playerHandReducer;
54346
+ this.b98_1 = logger;
54347
+ }
54348
+ protoOf(EarnPointsMechanicReducer).d98 = function (state, action) {
54299
54349
  var table = state.h6m();
54300
54350
  var player = getPlayer(table.players, action.y8p_1);
54301
54351
  var cardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(action.y8p_1, table.cardsOnTable.o(), action.w8p_1));
@@ -54317,13 +54367,13 @@
54317
54367
  var tmp$ret$0 = item.g78_1;
54318
54368
  destination.j(tmp$ret$0);
54319
54369
  }
54320
- tmp = this.y97_1.s99(tmp_0, destination, VOID, table.gameHistory);
54370
+ tmp = this.z97_1.t99(tmp_0, destination, VOID, table.gameHistory);
54321
54371
  }
54322
54372
  var tmp1_elvis_lhs = tmp;
54323
54373
  var tmp4_gameHistory = tmp1_elvis_lhs == null ? table.gameHistory : tmp1_elvis_lhs;
54324
54374
  return state.r8s(tmp2_$this.copy(VOID, VOID, VOID, VOID, tmp3_players, VOID, VOID, cardsOnTheTable, VOID, VOID, VOID, VOID, tmp4_gameHistory));
54325
54375
  };
54326
- protoOf(EarnPointsMechanicReducer).b98 = function (state, action) {
54376
+ protoOf(EarnPointsMechanicReducer).c98 = function (state, action) {
54327
54377
  var table = state.h6m();
54328
54378
  var players = table.players;
54329
54379
  var cardsOnTable = table.cardsOnTable;
@@ -54348,7 +54398,7 @@
54348
54398
  destination_0.j(tmp$ret$3);
54349
54399
  }
54350
54400
  if (!(toSet(destination_0).o() === 1)) {
54351
- this.a98_1.w('Validation', 'EarnPointsMechanicReducer.onPickBribe: Some of players have different cards count: ' + toString(playersCards));
54401
+ this.b98_1.w('Validation', 'EarnPointsMechanicReducer.onPickBribe: Some of players have different cards count: ' + toString(playersCards));
54352
54402
  }
54353
54403
  var playersCombinations = addPlayersCombinationsWhenPickBribe(this, action.b8q_1, players, config);
54354
54404
  var bribe = new Bribe(cardsOnTable);
@@ -54364,7 +54414,7 @@
54364
54414
  destination_1.j(tmp$ret$6);
54365
54415
  }
54366
54416
  var tmp3_gameInfo = table.gameInfo.w89(VOID, VOID, table.gameInfo.round.copy(VOID, action.c8q_1));
54367
- var tmp4_gameHistory = this.y97_1.t99(action.b8q_1, bribe, action.c8q_1, playersCombinations, table.gameHistory);
54417
+ var tmp4_gameHistory = this.z97_1.u99(action.b8q_1, bribe, action.c8q_1, playersCombinations, table.gameHistory);
54368
54418
  return state.r8s(table.copy(VOID, VOID, VOID, VOID, destination_1, VOID, VOID, tmp1_cardsOnTable, tmp0_bribes, VOID, VOID, tmp3_gameInfo, tmp4_gameHistory));
54369
54419
  };
54370
54420
  function randomDataReducer($this, randomData, metadata) {
@@ -54372,7 +54422,7 @@
54372
54422
  return metadata;
54373
54423
  }
54374
54424
  if (!(metadata.randomData == null) && (!(metadata.randomData.id === randomData.id) || !(metadata.randomData.signature == randomData.signature))) {
54375
- $this.i99_1.w('GameHistory', 'Random data is different for previous, ' + metadata.randomData.toString() + ', ' + randomData.toString());
54425
+ $this.j99_1.w('GameHistory', 'Random data is different for previous, ' + metadata.randomData.toString() + ', ' + randomData.toString());
54376
54426
  }
54377
54427
  var tmp0_safe_receiver = metadata.randomData;
54378
54428
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.indexes;
@@ -54384,12 +54434,12 @@
54384
54434
  return _this__u8e3s4.copy(VOID, VOID, updateLastItem(_this__u8e3s4.rounds, roundHistory.copy(VOID, plus_1(roundHistory.items, items))));
54385
54435
  }
54386
54436
  function GameHistoryReducer(pointsInteractor, teamsLogicProvider, gameLogicConfig, logger) {
54387
- this.f99_1 = pointsInteractor;
54388
- this.g99_1 = teamsLogicProvider;
54389
- this.h99_1 = gameLogicConfig;
54390
- this.i99_1 = logger;
54437
+ this.g99_1 = pointsInteractor;
54438
+ this.h99_1 = teamsLogicProvider;
54439
+ this.i99_1 = gameLogicConfig;
54440
+ this.j99_1 = logger;
54391
54441
  }
54392
- protoOf(GameHistoryReducer).u99 = function (gameHistory) {
54442
+ protoOf(GameHistoryReducer).v99 = function (gameHistory) {
54393
54443
  var roundNumber = gameHistory.rounds.length;
54394
54444
  var tmp0 = gameHistory.rounds;
54395
54445
  // Inline function 'kotlin.collections.plus' call
@@ -54401,7 +54451,7 @@
54401
54451
  var tmp$ret$4 = tmp0.concat(tmp$ret$3);
54402
54452
  return gameHistory.copy(VOID, VOID, tmp$ret$4);
54403
54453
  };
54404
- protoOf(GameHistoryReducer).k99 = function (cardDeck, randomData, whoShuffleCardsPlayerId, playersCards, gameHistory) {
54454
+ protoOf(GameHistoryReducer).l99 = function (cardDeck, randomData, whoShuffleCardsPlayerId, playersCards, gameHistory) {
54405
54455
  var currentRoundHistory = last_0(gameHistory.rounds);
54406
54456
  var tmp = new WhoShuffleCardsItem(whoShuffleCardsPlayerId, cardDeck.g7i_1, System_instance.ck());
54407
54457
  // Inline function 'kotlin.collections.mapValues' call
@@ -54419,14 +54469,14 @@
54419
54469
  var tmp0_elvis_lhs = gameHistory.metadata;
54420
54470
  return gameHistory.copy(VOID, VOID, tmp_1, VOID, randomDataReducer(this, randomData, tmp0_elvis_lhs == null ? Companion_instance_158.initial() : tmp0_elvis_lhs));
54421
54471
  };
54422
- protoOf(GameHistoryReducer).p99 = function (playerId, suit, numberOfCircle, gameHistory, playersMode, players) {
54472
+ protoOf(GameHistoryReducer).q99 = function (playerId, suit, numberOfCircle, gameHistory, playersMode, players) {
54423
54473
  var currentRoundHistory = last_0(gameHistory.rounds);
54424
54474
  var tmp;
54425
54475
  if (playersMode.isTeamGame) {
54426
54476
  // Inline function 'kotlin.arrayOf' call
54427
54477
  // Inline function 'kotlin.js.unsafeCast' call
54428
54478
  // Inline function 'kotlin.js.asDynamic' call
54429
- tmp = [playerId, this.g99_1.m8g(playerId, players).playerId];
54479
+ tmp = [playerId, this.h99_1.m8g(playerId, players).playerId];
54430
54480
  } else {
54431
54481
  // Inline function 'kotlin.arrayOf' call
54432
54482
  // Inline function 'kotlin.js.unsafeCast' call
@@ -54436,7 +54486,7 @@
54436
54486
  var roundCommitted = tmp;
54437
54487
  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)));
54438
54488
  };
54439
- protoOf(GameHistoryReducer).m99 = function (playersCards, gameHistory) {
54489
+ protoOf(GameHistoryReducer).n99 = function (playersCards, gameHistory) {
54440
54490
  // Inline function 'kotlin.collections.mapValues' call
54441
54491
  // Inline function 'kotlin.collections.mapValuesTo' call
54442
54492
  var destination = LinkedHashMap_init_$Create$_0(mapCapacity(playersCards.o()));
@@ -54450,14 +54500,14 @@
54450
54500
  }
54451
54501
  return addItemsToCurrentRound(this, gameHistory, listOf(new PlayersCardsItem(destination, 1, System_instance.ck())));
54452
54502
  };
54453
- protoOf(GameHistoryReducer).v99 = function (playerId, combinations, combinationsStates, gameHistory) {
54503
+ protoOf(GameHistoryReducer).w99 = function (playerId, combinations, combinationsStates, gameHistory) {
54454
54504
  return addItemsToCurrentRound(this, gameHistory, listOf(new CombinationAnnounceItem(playerId, combinations, combinationsStates, System_instance.ck())));
54455
54505
  };
54456
- protoOf(GameHistoryReducer).s99 = function (playerId, combinations, combinationsStates, gameHistory, $super) {
54506
+ protoOf(GameHistoryReducer).t99 = function (playerId, combinations, combinationsStates, gameHistory, $super) {
54457
54507
  combinationsStates = combinationsStates === VOID ? null : combinationsStates;
54458
- return $super === VOID ? this.v99(playerId, combinations, combinationsStates, gameHistory) : $super.v99.call(this, playerId, combinations, combinationsStates, gameHistory);
54508
+ return $super === VOID ? this.w99(playerId, combinations, combinationsStates, gameHistory) : $super.w99.call(this, playerId, combinations, combinationsStates, gameHistory);
54459
54509
  };
54460
- protoOf(GameHistoryReducer).t99 = function (whoGotBribePlayerId, bribe, numberOfBribe, playersCombinations, gameHistory) {
54510
+ protoOf(GameHistoryReducer).u99 = function (whoGotBribePlayerId, bribe, numberOfBribe, playersCombinations, gameHistory) {
54461
54511
  var tmp = listOf(new BribeItem(whoGotBribePlayerId, bribe.x7h_1, numberOfBribe, System_instance.ck()));
54462
54512
  // Inline function 'kotlin.collections.mapNotNull' call
54463
54513
  // Inline function 'kotlin.collections.mapNotNullTo' call
@@ -54516,7 +54566,7 @@
54516
54566
  }
54517
54567
  return addItemsToCurrentRound(this, gameHistory, plus(tmp, destination));
54518
54568
  };
54519
- protoOf(GameHistoryReducer).r99 = function (winnerCombinations, gameHistory) {
54569
+ protoOf(GameHistoryReducer).s99 = function (winnerCombinations, gameHistory) {
54520
54570
  // Inline function 'kotlin.collections.map' call
54521
54571
  // Inline function 'kotlin.collections.mapTo' call
54522
54572
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(winnerCombinations, 10));
@@ -54532,7 +54582,7 @@
54532
54582
  }
54533
54583
  return addItemsToCurrentRound(this, gameHistory, destination);
54534
54584
  };
54535
- protoOf(GameHistoryReducer).j99 = function (playerId, previousConnection, playerConnection, gameHistory) {
54585
+ protoOf(GameHistoryReducer).k99 = function (playerId, previousConnection, playerConnection, gameHistory) {
54536
54586
  if (playerConnection == null) {
54537
54587
  return gameHistory;
54538
54588
  }
@@ -54544,17 +54594,17 @@
54544
54594
  tmp = false;
54545
54595
  }
54546
54596
  var isShortDisconnectState = tmp;
54547
- if (isSupportedReason && !isShortDisconnectState || this.h99_1.verboseGameHistory) {
54597
+ if (isSupportedReason && !isShortDisconnectState || this.i99_1.verboseGameHistory) {
54548
54598
  return addItemsToCurrentRound(this, gameHistory, listOf(new PlayerConnectionItem(playerId, playerConnection.m67_1, playerConnection.u67(), System_instance.ck())));
54549
54599
  }
54550
54600
  return gameHistory;
54551
54601
  };
54552
- protoOf(GameHistoryReducer).n99 = function (points, gameHistory, roundContractState, roundCommitted, roundWinners, gameWinners, playersGameAnalytics, playersAchievements) {
54602
+ protoOf(GameHistoryReducer).o99 = function (points, gameHistory, roundContractState, roundCommitted, roundWinners, gameWinners, playersGameAnalytics, playersAchievements) {
54553
54603
  var currentRoundHistory = last_0(gameHistory.rounds);
54554
54604
  var tmp0_elvis_lhs = gameHistory.metadata;
54555
54605
  var currentMetadata = tmp0_elvis_lhs == null ? Companion_instance_158.initial() : tmp0_elvis_lhs;
54556
54606
  var tmp;
54557
- if (this.h99_1.gameHistoryMetadata && !(playersGameAnalytics == null)) {
54607
+ if (this.i99_1.gameHistoryMetadata && !(playersGameAnalytics == null)) {
54558
54608
  // Inline function 'kotlin.collections.map' call
54559
54609
  // Inline function 'kotlin.collections.mapTo' call
54560
54610
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(playersGameAnalytics, 10));
@@ -54569,7 +54619,7 @@
54569
54619
  tmp = currentMetadata;
54570
54620
  }
54571
54621
  var updatedMetadata = tmp;
54572
- var tmp1_items = plus_1(currentRoundHistory.items, listOfNotNull_0(new PointsItem(this.f99_1.z8n(points), System_instance.ck())));
54622
+ var tmp1_items = plus_1(currentRoundHistory.items, listOfNotNull_0(new PointsItem(this.g99_1.z8n(points), System_instance.ck())));
54573
54623
  var tmp2_rounds = updateLastItem(gameHistory.rounds, currentRoundHistory.copy(VOID, tmp1_items, roundCommitted, roundContractState, roundWinners));
54574
54624
  return gameHistory.copy(VOID, VOID, tmp2_rounds, gameWinners, updatedMetadata);
54575
54625
  };
@@ -54594,7 +54644,7 @@
54594
54644
  tmp = cardDeck;
54595
54645
  }
54596
54646
  var newCardDeck = tmp;
54597
- return new PreviousRound(bribes, newCardDeck, $this.y99_1.a8o(players, config));
54647
+ return new PreviousRound(bribes, newCardDeck, $this.z99_1.a8o(players, config));
54598
54648
  }
54599
54649
  function roundFinishedGameInfoReducer($this, table) {
54600
54650
  var gameInfo = table.gameInfo;
@@ -54647,10 +54697,10 @@
54647
54697
  return points.a6y(0, emptyList(), emptyList());
54648
54698
  }
54649
54699
  function TableLifecycleReducerImpl(pointsInteractor, historyReducer) {
54650
- this.y99_1 = pointsInteractor;
54651
- this.z99_1 = historyReducer;
54700
+ this.z99_1 = pointsInteractor;
54701
+ this.a9a_1 = historyReducer;
54652
54702
  }
54653
- protoOf(TableLifecycleReducerImpl).w99 = function (tableId, gameId, config, version, users, spectators, gameCreatorPlayerId, playerStateReducer) {
54703
+ protoOf(TableLifecycleReducerImpl).x99 = function (tableId, gameId, config, version, users, spectators, gameCreatorPlayerId, playerStateReducer) {
54654
54704
  var tmp = Companion_instance_146;
54655
54705
  // Inline function 'kotlin.collections.mapIndexed' call
54656
54706
  // Inline function 'kotlin.collections.mapIndexedTo' call
@@ -54682,7 +54732,7 @@
54682
54732
  }
54683
54733
  return tmp.initial(tableId, gameId, version, config, tmp_1, destination_0);
54684
54734
  };
54685
- protoOf(TableLifecycleReducerImpl).s98 = function (table) {
54735
+ protoOf(TableLifecycleReducerImpl).t98 = function (table) {
54686
54736
  var tmp0_sceneInfo = new SceneInfo('WAITING');
54687
54737
  // Inline function 'kotlin.collections.map' call
54688
54738
  var this_0 = table.players;
@@ -54697,10 +54747,10 @@
54697
54747
  var tmp2_cardsOnTable = emptyList();
54698
54748
  var tmp3_bribes = emptyList();
54699
54749
  var tmp4_gameInfo = roundFinishedGameInfoReducer(this, table);
54700
- var tmp5_gameHistory = this.z99_1.u99(table.gameHistory);
54701
- return table.copy(VOID, VOID, VOID, VOID, destination, VOID, tmp0_sceneInfo, tmp2_cardsOnTable, tmp3_bribes, null, VOID, tmp4_gameInfo, tmp5_gameHistory);
54750
+ var tmp5_gameHistory = this.a9a_1.v99(table.gameHistory);
54751
+ return table.copy(VOID, VOID, VOID, VOID, destination, VOID, tmp0_sceneInfo, tmp2_cardsOnTable, tmp3_bribes, VOID, VOID, tmp4_gameInfo, tmp5_gameHistory);
54702
54752
  };
54703
- protoOf(TableLifecycleReducerImpl).o99 = function (table) {
54753
+ protoOf(TableLifecycleReducerImpl).p99 = function (table) {
54704
54754
  // Inline function 'kotlin.collections.map' call
54705
54755
  var this_0 = table.players;
54706
54756
  // Inline function 'kotlin.collections.mapTo' call
@@ -54711,9 +54761,9 @@
54711
54761
  var tmp$ret$0 = roundFinishedPlayerReducer(this, item);
54712
54762
  destination.j(tmp$ret$0);
54713
54763
  }
54714
- return table.copy(VOID, VOID, VOID, VOID, destination, VOID, VOID, emptyList(), emptyList(), null, VOID, roundFinishedGameInfoReducer(this, table), this.z99_1.u99(table.gameHistory));
54764
+ return table.copy(VOID, VOID, VOID, VOID, destination, VOID, VOID, emptyList(), emptyList(), null, VOID, roundFinishedGameInfoReducer(this, table), this.a9a_1.v99(table.gameHistory));
54715
54765
  };
54716
- protoOf(TableLifecycleReducerImpl).x99 = function (table, newGameId) {
54766
+ protoOf(TableLifecycleReducerImpl).y99 = function (table, newGameId) {
54717
54767
  // Inline function 'kotlin.collections.map' call
54718
54768
  var this_0 = table.players;
54719
54769
  // Inline function 'kotlin.collections.mapTo' call
@@ -54752,93 +54802,93 @@
54752
54802
  return true;
54753
54803
  }
54754
54804
  function resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1($isEnableForPlayer, $playerTurnInteractor, $logger, $playerTurnMechanicReducer) {
54755
- this.a9a_1 = $isEnableForPlayer;
54756
- this.b9a_1 = $playerTurnInteractor;
54757
- this.c9a_1 = $logger;
54758
- this.d9a_1 = $playerTurnMechanicReducer;
54805
+ this.b9a_1 = $isEnableForPlayer;
54806
+ this.c9a_1 = $playerTurnInteractor;
54807
+ this.d9a_1 = $logger;
54808
+ this.e9a_1 = $playerTurnMechanicReducer;
54759
54809
  }
54760
54810
  protoOf(resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1).f6f = function (action) {
54761
54811
  return isInterface(action, PlayerAnswerFromClientAction);
54762
54812
  };
54763
- protoOf(resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1).d97 = function (state, action) {
54813
+ protoOf(resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1).e97 = function (state, action) {
54764
54814
  var tmp2 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
54765
54815
  var tmp$ret$0;
54766
54816
  $l$block: {
54767
54817
  var table = state.h6m();
54768
54818
  var player = getPlayer(table.players, tmp2.playerId);
54769
- if (!this.a9a_1(player)) {
54819
+ if (!this.b9a_1(player)) {
54770
54820
  tmp$ret$0 = state;
54771
54821
  break $l$block;
54772
54822
  }
54773
- var turnModel = this.b9a_1.e8p(player, tmp2);
54823
+ var turnModel = this.c9a_1.e8p(player, tmp2);
54774
54824
  var tmp;
54775
54825
  if (turnModel == null) {
54776
- this.c9a_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
54826
+ this.d9a_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
54777
54827
  tmp = state;
54778
54828
  } else {
54779
- tmp = state.r8s(this.d9a_1.d99(table, turnModel));
54829
+ tmp = state.r8s(this.e9a_1.e99(table, turnModel));
54780
54830
  }
54781
54831
  tmp$ret$0 = tmp;
54782
54832
  }
54783
54833
  return tmp$ret$0;
54784
54834
  };
54785
54835
  protoOf(resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1).v6g = function (state, action) {
54786
- return this.d97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
54836
+ return this.e97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
54787
54837
  };
54788
54838
  function resetPlayerTurnWhenAnswerReducer$lambda(it) {
54789
54839
  return true;
54790
54840
  }
54791
54841
  function resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1($isEnableForPlayer, $playerTurnInteractor, $logger, $playerTurnMechanicReducer) {
54792
- this.e9a_1 = $isEnableForPlayer;
54793
- this.f9a_1 = $playerTurnInteractor;
54794
- this.g9a_1 = $logger;
54795
- this.h9a_1 = $playerTurnMechanicReducer;
54842
+ this.f9a_1 = $isEnableForPlayer;
54843
+ this.g9a_1 = $playerTurnInteractor;
54844
+ this.h9a_1 = $logger;
54845
+ this.i9a_1 = $playerTurnMechanicReducer;
54796
54846
  }
54797
54847
  protoOf(resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1).f6f = function (action) {
54798
54848
  return isInterface(action, PlayerTurnAnswerAction);
54799
54849
  };
54800
- protoOf(resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1).d97 = function (state, action) {
54850
+ protoOf(resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1).e97 = function (state, action) {
54801
54851
  var tmp2 = isInterface(action, PlayerTurnAnswerAction) ? action : THROW_CCE();
54802
54852
  var tmp$ret$0;
54803
54853
  $l$block: {
54804
54854
  var table = state.h6m();
54805
54855
  var player = getPlayerTurn(tmp2, table.players);
54806
- if (player == null || !this.e9a_1(player)) {
54856
+ if (player == null || !this.f9a_1(player)) {
54807
54857
  tmp$ret$0 = state;
54808
54858
  break $l$block;
54809
54859
  }
54810
- var turnModel = this.f9a_1.e8p(player, tmp2);
54860
+ var turnModel = this.g9a_1.e8p(player, tmp2);
54811
54861
  var tmp;
54812
54862
  if (turnModel == null) {
54813
- this.g9a_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
54863
+ this.h9a_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
54814
54864
  tmp = state;
54815
54865
  } else {
54816
- tmp = state.r8s(this.h9a_1.d99(table, turnModel));
54866
+ tmp = state.r8s(this.i9a_1.e99(table, turnModel));
54817
54867
  }
54818
54868
  tmp$ret$0 = tmp;
54819
54869
  }
54820
54870
  return tmp$ret$0;
54821
54871
  };
54822
54872
  protoOf(resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1).v6g = function (state, action) {
54823
- return this.d97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
54873
+ return this.e97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
54824
54874
  };
54825
54875
  function setPlayerTurnReducer(playerTurnInteractor, playerTurnMechanicReducer) {
54826
54876
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
54827
54877
  return new setPlayerTurnReducer$$inlined$reducerForActionType$1(playerTurnInteractor, playerTurnMechanicReducer);
54828
54878
  }
54829
54879
  function setPlayerTurnReducer$$inlined$reducerForActionType$1($playerTurnInteractor, $playerTurnMechanicReducer) {
54830
- this.i9a_1 = $playerTurnInteractor;
54831
- this.j9a_1 = $playerTurnMechanicReducer;
54880
+ this.j9a_1 = $playerTurnInteractor;
54881
+ this.k9a_1 = $playerTurnMechanicReducer;
54832
54882
  }
54833
54883
  protoOf(setPlayerTurnReducer$$inlined$reducerForActionType$1).f6f = function (action) {
54834
54884
  return isInterface(action, NextPlayerTurnAction);
54835
54885
  };
54836
- protoOf(setPlayerTurnReducer$$inlined$reducerForActionType$1).d97 = function (state, action) {
54886
+ protoOf(setPlayerTurnReducer$$inlined$reducerForActionType$1).e97 = function (state, action) {
54837
54887
  var tmp2 = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
54838
54888
  var tmp$ret$0;
54839
54889
  $l$block: {
54840
54890
  var table = state.h6m();
54841
- var tmp0_elvis_lhs = this.i9a_1.d8p(tmp2, table);
54891
+ var tmp0_elvis_lhs = this.j9a_1.d8p(tmp2, table);
54842
54892
  var tmp;
54843
54893
  if (tmp0_elvis_lhs == null) {
54844
54894
  tmp$ret$0 = state;
@@ -54847,12 +54897,12 @@
54847
54897
  tmp = tmp0_elvis_lhs;
54848
54898
  }
54849
54899
  var turnModel = tmp;
54850
- tmp$ret$0 = state.r8s(this.j9a_1.c99(table, turnModel));
54900
+ tmp$ret$0 = state.r8s(this.k9a_1.d99(table, turnModel));
54851
54901
  }
54852
54902
  return tmp$ret$0;
54853
54903
  };
54854
54904
  protoOf(setPlayerTurnReducer$$inlined$reducerForActionType$1).v6g = function (state, action) {
54855
- return this.d97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
54905
+ return this.e97((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
54856
54906
  };
54857
54907
  function get_isCreated(_this__u8e3s4) {
54858
54908
  return _this__u8e3s4.gameLifecycleState.isCreated;
@@ -54865,7 +54915,7 @@
54865
54915
  }
54866
54916
  function Companion_164() {
54867
54917
  }
54868
- protoOf(Companion_164).k9a = function (payload) {
54918
+ protoOf(Companion_164).l9a = function (payload) {
54869
54919
  var tmp;
54870
54920
  if (!(payload == null) ? isInterface(payload, FirstMechanicAction) : false) {
54871
54921
  tmp = toLoggerPayload_0(payload);
@@ -54897,27 +54947,27 @@
54897
54947
  tmp = payloadMapper;
54898
54948
  }
54899
54949
  payloadMapper = tmp;
54900
- this.l9a_1 = logger;
54901
- this.m9a_1 = payloadMapper;
54950
+ this.m9a_1 = logger;
54951
+ this.n9a_1 = payloadMapper;
54902
54952
  }
54903
54953
  protoOf(CallbackWrapperLoggerOutput).x1k = function (tag, message, payload) {
54904
- this.l9a_1.d(tag, message, this.m9a_1(payload));
54954
+ this.m9a_1.d(tag, message, this.n9a_1(payload));
54905
54955
  };
54906
54956
  protoOf(CallbackWrapperLoggerOutput).y1k = function (tag, message, exception, payload) {
54907
- this.l9a_1.e(tag, message, exception, this.m9a_1(payload));
54957
+ this.m9a_1.e(tag, message, exception, this.n9a_1(payload));
54908
54958
  };
54909
54959
  protoOf(CallbackWrapperLoggerOutput).b1l = function (tag, message, payload) {
54910
- this.l9a_1.i(tag, message, this.m9a_1(payload));
54960
+ this.m9a_1.i(tag, message, this.n9a_1(payload));
54911
54961
  };
54912
54962
  protoOf(CallbackWrapperLoggerOutput).a1l = function (tag, message, exception, payload) {
54913
- this.l9a_1.v(tag, message, exception, this.m9a_1(payload));
54963
+ this.m9a_1.v(tag, message, exception, this.n9a_1(payload));
54914
54964
  };
54915
54965
  protoOf(CallbackWrapperLoggerOutput).z1k = function (tag, message, exception, payload) {
54916
- this.l9a_1.w(tag, message, exception, this.m9a_1(payload));
54966
+ this.m9a_1.w(tag, message, exception, this.n9a_1(payload));
54917
54967
  };
54918
54968
  function FileLoggerOutputImpl$observe$o$collect$slambda($$this$unsafeFlow, $types, resultContinuation) {
54919
- this.v9a_1 = $$this$unsafeFlow;
54920
- this.w9a_1 = $types;
54969
+ this.w9a_1 = $$this$unsafeFlow;
54970
+ this.x9a_1 = $types;
54921
54971
  CoroutineImpl.call(this, resultContinuation);
54922
54972
  }
54923
54973
  protoOf(FileLoggerOutputImpl$observe$o$collect$slambda).u2h = function (value, $completion) {
@@ -54938,15 +54988,15 @@
54938
54988
  case 0:
54939
54989
  this.s8_1 = 5;
54940
54990
  var tmp_0 = this;
54941
- tmp_0.z9a_1 = this.v9a_1;
54991
+ tmp_0.a9b_1 = this.w9a_1;
54942
54992
  var tmp_1 = this;
54943
- tmp_1.y9a_1 = this.x9a_1;
54993
+ tmp_1.z9a_1 = this.y9a_1;
54944
54994
  this.r8_1 = 1;
54945
54995
  continue $sm;
54946
54996
  case 1:
54947
- var $this$transform = this.z9a_1;
54948
- var value = this.y9a_1;
54949
- if (contains(this.w9a_1, value.type)) {
54997
+ var $this$transform = this.a9b_1;
54998
+ var value = this.z9a_1;
54999
+ if (contains(this.x9a_1, value.type)) {
54950
55000
  this.r8_1 = 3;
54951
55001
  suspendResult = $this$transform.l28(value, this);
54952
55002
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -54986,8 +55036,8 @@
54986
55036
  while (true);
54987
55037
  };
54988
55038
  protoOf(FileLoggerOutputImpl$observe$o$collect$slambda).v2h = function (value, completion) {
54989
- var i = new FileLoggerOutputImpl$observe$o$collect$slambda(this.v9a_1, this.w9a_1, completion);
54990
- i.x9a_1 = value;
55039
+ var i = new FileLoggerOutputImpl$observe$o$collect$slambda(this.w9a_1, this.x9a_1, completion);
55040
+ i.y9a_1 = value;
54991
55041
  return i;
54992
55042
  };
54993
55043
  function FileLoggerOutputImpl$observe$o$collect$slambda_0($$this$unsafeFlow, $types, resultContinuation) {
@@ -55000,8 +55050,8 @@
55000
55050
  }
55001
55051
  function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
55002
55052
  CoroutineImpl.call(this, resultContinuation);
55003
- this.i9b_1 = _this__u8e3s4;
55004
- this.j9b_1 = collector;
55053
+ this.j9b_1 = _this__u8e3s4;
55054
+ this.k9b_1 = collector;
55005
55055
  }
55006
55056
  protoOf($collectCOROUTINE$).z8 = function () {
55007
55057
  var suspendResult = this.t8_1;
@@ -55011,10 +55061,10 @@
55011
55061
  switch (tmp) {
55012
55062
  case 0:
55013
55063
  this.s8_1 = 2;
55014
- var $this$unsafeFlow = this.j9b_1;
55064
+ var $this$unsafeFlow = this.k9b_1;
55015
55065
  this.r8_1 = 1;
55016
- var tmp_0 = FileLoggerOutputImpl$observe$o$collect$slambda_0($this$unsafeFlow, this.i9b_1.l9b_1, null);
55017
- suspendResult = this.i9b_1.k9b_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
55066
+ var tmp_0 = FileLoggerOutputImpl$observe$o$collect$slambda_0($this$unsafeFlow, this.j9b_1.m9b_1, null);
55067
+ suspendResult = this.j9b_1.l9b_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
55018
55068
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
55019
55069
  return suspendResult;
55020
55070
  }
@@ -55038,8 +55088,8 @@
55038
55088
  };
55039
55089
  function log($this, type, tag, message, payload, stackTrace) {
55040
55090
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
55041
- $this.o9b_1;
55042
- var tmp0_elvis_lhs = $this.m9b_1(payload);
55091
+ $this.p9b_1;
55092
+ var tmp0_elvis_lhs = $this.n9b_1(payload);
55043
55093
  var tmp;
55044
55094
  if (tmp0_elvis_lhs == null) {
55045
55095
  return Unit_instance;
@@ -55048,7 +55098,7 @@
55048
55098
  }
55049
55099
  var key = tmp;
55050
55100
  // Inline function 'kotlin.collections.getOrPut' call
55051
- var this_0 = $this.p9b_1;
55101
+ var this_0 = $this.q9b_1;
55052
55102
  var value = this_0.b2(key);
55053
55103
  var tmp_0;
55054
55104
  if (value == null) {
@@ -55059,7 +55109,7 @@
55059
55109
  tmp_0 = value;
55060
55110
  }
55061
55111
  var logger = tmp_0;
55062
- logger.q9b_1.g2b(new LoggerOutputDataDto(type, key, tag, message, stackTrace));
55112
+ logger.r9b_1.g2b(new LoggerOutputDataDto(type, key, tag, message, stackTrace));
55063
55113
  }
55064
55114
  function log$default($this, type, tag, message, payload, stackTrace, $super) {
55065
55115
  stackTrace = stackTrace === VOID ? null : stackTrace;
@@ -55069,35 +55119,35 @@
55069
55119
  flow = flow === VOID ? MutableSharedFlow(10, 100, BufferOverflow_DROP_OLDEST_getInstance()) : flow;
55070
55120
  controller = controller === VOID ? null : controller;
55071
55121
  job = job === VOID ? null : job;
55072
- this.q9b_1 = flow;
55073
- this.r9b_1 = controller;
55074
- this.s9b_1 = job;
55122
+ this.r9b_1 = flow;
55123
+ this.s9b_1 = controller;
55124
+ this.t9b_1 = job;
55075
55125
  }
55076
- protoOf(LoggerModel).t9b = function () {
55077
- this.q9b_1.k2b();
55078
- var tmp0_safe_receiver = this.s9b_1;
55126
+ protoOf(LoggerModel).u9b = function () {
55127
+ this.r9b_1.k2b();
55128
+ var tmp0_safe_receiver = this.t9b_1;
55079
55129
  if (tmp0_safe_receiver == null)
55080
55130
  null;
55081
55131
  else {
55082
55132
  tmp0_safe_receiver.o1q();
55083
55133
  }
55084
55134
  };
55085
- protoOf(LoggerModel).u9b = function (flow, controller, job) {
55135
+ protoOf(LoggerModel).v9b = function (flow, controller, job) {
55086
55136
  return new LoggerModel(flow, controller, job);
55087
55137
  };
55088
- protoOf(LoggerModel).v9b = function (flow, controller, job, $super) {
55089
- flow = flow === VOID ? this.q9b_1 : flow;
55090
- controller = controller === VOID ? this.r9b_1 : controller;
55091
- job = job === VOID ? this.s9b_1 : job;
55092
- return $super === VOID ? this.u9b(flow, controller, job) : $super.u9b.call(this, flow, controller, job);
55138
+ protoOf(LoggerModel).w9b = function (flow, controller, job, $super) {
55139
+ flow = flow === VOID ? this.r9b_1 : flow;
55140
+ controller = controller === VOID ? this.s9b_1 : controller;
55141
+ job = job === VOID ? this.t9b_1 : job;
55142
+ return $super === VOID ? this.v9b(flow, controller, job) : $super.v9b.call(this, flow, controller, job);
55093
55143
  };
55094
55144
  protoOf(LoggerModel).toString = function () {
55095
- return 'LoggerModel(flow=' + toString(this.q9b_1) + ', controller=' + toString_0(this.r9b_1) + ', job=' + toString_0(this.s9b_1) + ')';
55145
+ return 'LoggerModel(flow=' + toString(this.r9b_1) + ', controller=' + toString_0(this.s9b_1) + ', job=' + toString_0(this.t9b_1) + ')';
55096
55146
  };
55097
55147
  protoOf(LoggerModel).hashCode = function () {
55098
- var result = hashCode(this.q9b_1);
55099
- result = imul(result, 31) + (this.r9b_1 == null ? 0 : hashCode(this.r9b_1)) | 0;
55148
+ var result = hashCode(this.r9b_1);
55100
55149
  result = imul(result, 31) + (this.s9b_1 == null ? 0 : hashCode(this.s9b_1)) | 0;
55150
+ result = imul(result, 31) + (this.t9b_1 == null ? 0 : hashCode(this.t9b_1)) | 0;
55101
55151
  return result;
55102
55152
  };
55103
55153
  protoOf(LoggerModel).equals = function (other) {
@@ -55105,18 +55155,18 @@
55105
55155
  return true;
55106
55156
  if (!(other instanceof LoggerModel))
55107
55157
  return false;
55108
- if (!equals(this.q9b_1, other.q9b_1))
55109
- return false;
55110
55158
  if (!equals(this.r9b_1, other.r9b_1))
55111
55159
  return false;
55112
55160
  if (!equals(this.s9b_1, other.s9b_1))
55113
55161
  return false;
55162
+ if (!equals(this.t9b_1, other.t9b_1))
55163
+ return false;
55114
55164
  return true;
55115
55165
  };
55116
55166
  function Companion_165() {
55117
- this.w9b_1 = 1000;
55167
+ this.x9b_1 = 1000;
55118
55168
  }
55119
- protoOf(Companion_165).x9b = function (payload) {
55169
+ protoOf(Companion_165).y9b = function (payload) {
55120
55170
  var tmp;
55121
55171
  if (!(payload == null) ? isInterface(payload, FirstMechanicAction) : false) {
55122
55172
  tmp = payload.id;
@@ -55138,13 +55188,13 @@
55138
55188
  return Companion_instance_170;
55139
55189
  }
55140
55190
  function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
55141
- this.y9b_1 = function_0;
55191
+ this.z9b_1 = function_0;
55142
55192
  }
55143
55193
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).l28 = function (value, $completion) {
55144
- return this.y9b_1(value, $completion);
55194
+ return this.z9b_1(value, $completion);
55145
55195
  };
55146
55196
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
55147
- return this.y9b_1;
55197
+ return this.z9b_1;
55148
55198
  };
55149
55199
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
55150
55200
  var tmp;
@@ -55168,8 +55218,8 @@
55168
55218
  return null;
55169
55219
  }
55170
55220
  function FileLoggerOutputImpl$observe$$inlined$filter$1($this, $types) {
55171
- this.k9b_1 = $this;
55172
- this.l9b_1 = $types;
55221
+ this.l9b_1 = $this;
55222
+ this.m9b_1 = $types;
55173
55223
  }
55174
55224
  protoOf(FileLoggerOutputImpl$observe$$inlined$filter$1).m28 = function (collector, $completion) {
55175
55225
  var tmp = new $collectCOROUTINE$(this, collector, $completion);
@@ -55189,26 +55239,26 @@
55189
55239
  }
55190
55240
  payloadToKeyMapper = tmp;
55191
55241
  enabled = enabled === VOID ? true : enabled;
55192
- this.m9b_1 = payloadToKeyMapper;
55193
- this.n9b_1 = enabled;
55242
+ this.n9b_1 = payloadToKeyMapper;
55243
+ this.o9b_1 = enabled;
55194
55244
  var tmp_0 = this;
55195
55245
  // Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
55196
- tmp_0.o9b_1 = get_atomicfu$reentrantLock();
55246
+ tmp_0.p9b_1 = get_atomicfu$reentrantLock();
55197
55247
  var tmp_1 = this;
55198
55248
  // Inline function 'kotlin.collections.mutableMapOf' call
55199
- tmp_1.p9b_1 = LinkedHashMap_init_$Create$();
55249
+ tmp_1.q9b_1 = LinkedHashMap_init_$Create$();
55200
55250
  }
55201
55251
  protoOf(FileLoggerOutputImpl).c1l = function (_set____db54di) {
55202
- this.n9b_1 = _set____db54di;
55252
+ this.o9b_1 = _set____db54di;
55203
55253
  };
55204
55254
  protoOf(FileLoggerOutputImpl).d1l = function () {
55205
- return this.n9b_1;
55255
+ return this.o9b_1;
55206
55256
  };
55207
- protoOf(FileLoggerOutputImpl).z9b = function (key, types) {
55257
+ protoOf(FileLoggerOutputImpl).a9c = function (key, types) {
55208
55258
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
55209
- this.o9b_1;
55259
+ this.p9b_1;
55210
55260
  // Inline function 'kotlin.collections.getOrPut' call
55211
- var this_0 = this.p9b_1;
55261
+ var this_0 = this.q9b_1;
55212
55262
  var value = this_0.b2(key);
55213
55263
  var tmp;
55214
55264
  if (value == null) {
@@ -55221,26 +55271,26 @@
55221
55271
  var logger = tmp;
55222
55272
  // Inline function 'kotlinx.coroutines.flow.filter' call
55223
55273
  // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
55224
- var this_1 = logger.q9b_1;
55274
+ var this_1 = logger.r9b_1;
55225
55275
  // Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
55226
55276
  return new FileLoggerOutputImpl$observe$$inlined$filter$1(this_1, types);
55227
55277
  };
55228
- protoOf(FileLoggerOutputImpl).z91 = function (key) {
55278
+ protoOf(FileLoggerOutputImpl).a92 = function (key) {
55229
55279
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
55230
- this.o9b_1;
55231
- var tmp0_safe_receiver = this.p9b_1.b2(key);
55280
+ this.p9b_1;
55281
+ var tmp0_safe_receiver = this.q9b_1.b2(key);
55232
55282
  if (tmp0_safe_receiver == null)
55233
55283
  null;
55234
55284
  else {
55235
- tmp0_safe_receiver.t9b();
55285
+ tmp0_safe_receiver.u9b();
55236
55286
  }
55237
- this.p9b_1.f2(key);
55287
+ this.q9b_1.f2(key);
55238
55288
  };
55239
- protoOf(FileLoggerOutputImpl).y91 = function (key, job, controller) {
55289
+ protoOf(FileLoggerOutputImpl).z91 = function (key, job, controller) {
55240
55290
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
55241
- this.o9b_1;
55291
+ this.p9b_1;
55242
55292
  // Inline function 'kotlin.collections.getOrPut' call
55243
- var this_0 = this.p9b_1;
55293
+ var this_0 = this.q9b_1;
55244
55294
  var value = this_0.b2(key);
55245
55295
  var tmp;
55246
55296
  if (value == null) {
@@ -55250,30 +55300,30 @@
55250
55300
  } else {
55251
55301
  tmp = value;
55252
55302
  }
55253
- var updatedModel = tmp.v9b(VOID, controller, job);
55303
+ var updatedModel = tmp.w9b(VOID, controller, job);
55254
55304
  // Inline function 'kotlin.collections.set' call
55255
- this.p9b_1.e2(key, updatedModel);
55305
+ this.q9b_1.e2(key, updatedModel);
55256
55306
  };
55257
55307
  protoOf(FileLoggerOutputImpl).h2 = function () {
55258
55308
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
55259
- this.o9b_1;
55309
+ this.p9b_1;
55260
55310
  // Inline function 'kotlin.collections.forEach' call
55261
55311
  // Inline function 'kotlin.collections.iterator' call
55262
- var _iterator__ex2g4s = this.p9b_1.u().l();
55312
+ var _iterator__ex2g4s = this.q9b_1.u().l();
55263
55313
  while (_iterator__ex2g4s.m()) {
55264
55314
  var element = _iterator__ex2g4s.n();
55265
- element.w().t9b();
55315
+ element.w().u9b();
55266
55316
  }
55267
- this.p9b_1.h2();
55317
+ this.q9b_1.h2();
55268
55318
  };
55269
55319
  protoOf(FileLoggerOutputImpl).x1k = function (tag, message, payload) {
55270
- if (!this.n9b_1)
55320
+ if (!this.o9b_1)
55271
55321
  return Unit_instance;
55272
55322
  var tmp0_type = LogType_DEBUG_getInstance();
55273
55323
  log$default(this, tmp0_type, tag, message, payload);
55274
55324
  };
55275
55325
  protoOf(FileLoggerOutputImpl).y1k = function (tag, message, exception, payload) {
55276
- if (!this.n9b_1)
55326
+ if (!this.o9b_1)
55277
55327
  return Unit_instance;
55278
55328
  var tmp4_type = LogType_ERROR_getInstance();
55279
55329
  var tmp;
@@ -55288,13 +55338,13 @@
55288
55338
  log(this, tmp4_type, tag, tmp5_message, payload, tmp6_stackTrace);
55289
55339
  };
55290
55340
  protoOf(FileLoggerOutputImpl).b1l = function (tag, message, payload) {
55291
- if (!this.n9b_1)
55341
+ if (!this.o9b_1)
55292
55342
  return Unit_instance;
55293
55343
  var tmp0_type = LogType_INFO_getInstance();
55294
55344
  log(this, tmp0_type, tag, message, payload, null);
55295
55345
  };
55296
55346
  protoOf(FileLoggerOutputImpl).a1l = function (tag, message, exception, payload) {
55297
- if (!this.n9b_1)
55347
+ if (!this.o9b_1)
55298
55348
  return Unit_instance;
55299
55349
  var tmp4_type = LogType_VERBOSE_getInstance();
55300
55350
  var tmp;
@@ -55309,7 +55359,7 @@
55309
55359
  log(this, tmp4_type, tag, tmp5_message, payload, tmp6_stackTrace);
55310
55360
  };
55311
55361
  protoOf(FileLoggerOutputImpl).z1k = function (tag, message, exception, payload) {
55312
- if (!this.n9b_1)
55362
+ if (!this.o9b_1)
55313
55363
  return Unit_instance;
55314
55364
  var tmp4_type = LogType_WARN_getInstance();
55315
55365
  var tmp1_elvis_lhs = exception == null ? null : exception.message;
@@ -55849,9 +55899,9 @@
55849
55899
  }
55850
55900
  }
55851
55901
  function GameHelperImpl(logger) {
55852
- this.d9c_1 = logger;
55902
+ this.e9c_1 = logger;
55853
55903
  }
55854
- protoOf(GameHelperImpl).a9c = function (store, playerIds, includeBots) {
55904
+ protoOf(GameHelperImpl).b9c = function (store, playerIds, includeBots) {
55855
55905
  var state = store.state;
55856
55906
  var tmp;
55857
55907
  if (!state.i6m()) {
@@ -55897,7 +55947,7 @@
55897
55947
  // Inline function 'kotlin.collections.toTypedArray' call
55898
55948
  return copyToArray(destination_1);
55899
55949
  };
55900
- protoOf(GameHelperImpl).b9c = function (store, playerIds, includeBots) {
55950
+ protoOf(GameHelperImpl).c9c = function (store, playerIds, includeBots) {
55901
55951
  var state = store.state;
55902
55952
  var tmp;
55903
55953
  if (!state.i6m()) {
@@ -56068,10 +56118,10 @@
56068
56118
  // Inline function 'kotlin.collections.toTypedArray' call
56069
56119
  return copyToArray(destination);
56070
56120
  };
56071
- protoOf(GameHelperImpl).c9c = function (mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) {
56121
+ protoOf(GameHelperImpl).d9c = function (mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) {
56072
56122
  var roomMode = mapToRoomMode(mode);
56073
56123
  var isEnableChoosePartnerScreen = (transition == null || transition.isEnableChoosePartnerScreen) && roomMode.isEnableChoosePartnerScreen;
56074
- this.d9c_1.v(VOID, 'createConfig: ' + ('mode = ' + roomMode.toString() + ', ') + ('transition = ' + toString_0(transition) + ', ') + ('isPrivate = ' + isPrivate + ', ') + ('dealerStrategy = ' + dealerStrategy + ', ') + ('league = ' + league + ', ') + ('isEnableChoosePartnerScreen = ' + isEnableChoosePartnerScreen + ' '));
56124
+ this.e9c_1.v(VOID, 'createConfig: ' + ('mode = ' + roomMode.toString() + ', ') + ('transition = ' + toString_0(transition) + ', ') + ('isPrivate = ' + isPrivate + ', ') + ('dealerStrategy = ' + dealerStrategy + ', ') + ('league = ' + league + ', ') + ('isEnableChoosePartnerScreen = ' + isEnableChoosePartnerScreen + ' '));
56075
56125
  var options = Companion_instance_154.getServerOptions(isEnableChat, isBotsEnabled, isEnableChoosePartnerScreen);
56076
56126
  var playersMode = this.mapPlayers(players);
56077
56127
  var pointsMode = this.mapPoints(points);
@@ -56506,40 +56556,40 @@
56506
56556
  function getRandomAvatarData_0($this) {
56507
56557
  var avatarSetNumber = Default_getInstance().ng(get_entries_6().o());
56508
56558
  var avatarSet = get_entries_6().p(avatarSetNumber);
56509
- return new AvatarData(Default_getInstance().ng(avatarSet.h9c()), avatarSet);
56559
+ return new AvatarData(Default_getInstance().ng(avatarSet.i9c()), avatarSet);
56510
56560
  }
56511
56561
  function getAvatarUrlByIndex($this, data) {
56512
56562
  return mapToPattern($this, data);
56513
56563
  }
56514
56564
  function getNicknameByIndex($this, data) {
56515
- return data.j9c_1.k9c(data.i9c_1);
56565
+ return data.k9c_1.l9c(data.j9c_1);
56516
56566
  }
56517
56567
  function mapToPattern($this, data) {
56518
- return 'debertz://raspberry.games/' + data.j9c_1.p2_1 + '/' + data.i9c_1;
56568
+ return 'debertz://raspberry.games/' + data.k9c_1.p2_1 + '/' + data.j9c_1;
56519
56569
  }
56520
56570
  function Companion_166() {
56521
56571
  Companion_instance_171 = this;
56522
- this.l9c_1 = 'debertz://raspberry.games';
56572
+ this.m9c_1 = 'debertz://raspberry.games';
56523
56573
  var tmp = this;
56524
56574
  // Inline function 'kotlin.arrayOf' call
56525
56575
  // Inline function 'kotlin.js.unsafeCast' call
56526
56576
  // Inline function 'kotlin.js.asDynamic' call
56527
- tmp.m9c_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
56577
+ tmp.n9c_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
56528
56578
  var tmp_0 = this;
56529
56579
  // Inline function 'kotlin.arrayOf' call
56530
56580
  // Inline function 'kotlin.js.unsafeCast' call
56531
56581
  // Inline function 'kotlin.js.asDynamic' call
56532
- tmp_0.n9c_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'];
56582
+ tmp_0.o9c_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'];
56533
56583
  var tmp_1 = this;
56534
56584
  // Inline function 'kotlin.arrayOf' call
56535
56585
  // Inline function 'kotlin.js.unsafeCast' call
56536
56586
  // Inline function 'kotlin.js.asDynamic' call
56537
- tmp_1.o9c_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
56587
+ tmp_1.p9c_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
56538
56588
  var tmp_2 = this;
56539
56589
  // Inline function 'kotlin.arrayOf' call
56540
56590
  // Inline function 'kotlin.js.unsafeCast' call
56541
56591
  // Inline function 'kotlin.js.asDynamic' call
56542
- tmp_2.p9c_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'];
56592
+ tmp_2.q9c_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'];
56543
56593
  }
56544
56594
  var Companion_instance_171;
56545
56595
  function Companion_getInstance_173() {
@@ -56550,14 +56600,14 @@
56550
56600
  function AvatarSet(name, ordinal) {
56551
56601
  Enum.call(this, name, ordinal);
56552
56602
  }
56553
- protoOf(AvatarSet).h9c = function () {
56603
+ protoOf(AvatarSet).i9c = function () {
56554
56604
  var tmp;
56555
56605
  switch (this.p2_1) {
56556
56606
  case 0:
56557
- tmp = Companion_getInstance_173().n9c_1.length;
56607
+ tmp = Companion_getInstance_173().o9c_1.length;
56558
56608
  break;
56559
56609
  case 1:
56560
- tmp = Companion_getInstance_173().p9c_1.length;
56610
+ tmp = Companion_getInstance_173().q9c_1.length;
56561
56611
  break;
56562
56612
  default:
56563
56613
  noWhenBranchMatchedException();
@@ -56565,14 +56615,14 @@
56565
56615
  }
56566
56616
  return tmp;
56567
56617
  };
56568
- protoOf(AvatarSet).k9c = function (index) {
56618
+ protoOf(AvatarSet).l9c = function (index) {
56569
56619
  var tmp;
56570
56620
  switch (this.p2_1) {
56571
56621
  case 0:
56572
- tmp = Companion_getInstance_173().n9c_1[index];
56622
+ tmp = Companion_getInstance_173().o9c_1[index];
56573
56623
  break;
56574
56624
  case 1:
56575
- tmp = Companion_getInstance_173().p9c_1[index];
56625
+ tmp = Companion_getInstance_173().q9c_1[index];
56576
56626
  break;
56577
56627
  default:
56578
56628
  noWhenBranchMatchedException();
@@ -56581,8 +56631,8 @@
56581
56631
  return tmp;
56582
56632
  };
56583
56633
  function AvatarData(index, avatarSet) {
56584
- this.i9c_1 = index;
56585
- this.j9c_1 = avatarSet;
56634
+ this.j9c_1 = index;
56635
+ this.k9c_1 = avatarSet;
56586
56636
  }
56587
56637
  function AvatarSet_ORIGIN_getInstance() {
56588
56638
  AvatarSet_initEntries();
@@ -56595,7 +56645,7 @@
56595
56645
  function GameResourcesImpl() {
56596
56646
  Companion_getInstance_173();
56597
56647
  }
56598
- protoOf(GameResourcesImpl).e9c = function (playerId, existingNicknames) {
56648
+ protoOf(GameResourcesImpl).f9c = function (playerId, existingNicknames) {
56599
56649
  return createUser(this, playerId, existingNicknames);
56600
56650
  };
56601
56651
  protoOf(GameResourcesImpl).createBotUsers = function (playerIds) {
@@ -56636,45 +56686,45 @@
56636
56686
  }
56637
56687
  var WARN;
56638
56688
  function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
56639
- this.q9c_1 = loggerCallback;
56689
+ this.r9c_1 = loggerCallback;
56640
56690
  }
56641
56691
  protoOf(LoggerCallbacksWrapperLoggerOutput).x1k = function (tag, message, payload) {
56642
- this.q9c_1('debug', tag, message, null, payload);
56692
+ this.r9c_1('debug', tag, message, null, payload);
56643
56693
  };
56644
56694
  protoOf(LoggerCallbacksWrapperLoggerOutput).y1k = function (tag, message, exception, payload) {
56645
- this.q9c_1('error', tag, generateMsg(message, exception), exception, payload);
56695
+ this.r9c_1('error', tag, generateMsg(message, exception), exception, payload);
56646
56696
  };
56647
56697
  protoOf(LoggerCallbacksWrapperLoggerOutput).b1l = function (tag, message, payload) {
56648
- this.q9c_1('debug', tag, message, null, payload);
56698
+ this.r9c_1('debug', tag, message, null, payload);
56649
56699
  };
56650
56700
  protoOf(LoggerCallbacksWrapperLoggerOutput).a1l = function (tag, message, exception, payload) {
56651
- this.q9c_1('debug', tag, generateMsg(message, exception), exception, payload);
56701
+ this.r9c_1('debug', tag, generateMsg(message, exception), exception, payload);
56652
56702
  };
56653
56703
  protoOf(LoggerCallbacksWrapperLoggerOutput).z1k = function (tag, message, exception, payload) {
56654
- this.q9c_1('warn', tag, generateMsg(message, exception), exception, payload);
56704
+ this.r9c_1('warn', tag, generateMsg(message, exception), exception, payload);
56655
56705
  };
56656
56706
  function ParserHelper() {
56657
56707
  }
56658
56708
  function ParserHelperImpl(json, encoderDecoderProvider) {
56659
- this.r9c_1 = json;
56660
- this.s9c_1 = encoderDecoderProvider;
56709
+ this.s9c_1 = json;
56710
+ this.t9c_1 = encoderDecoderProvider;
56661
56711
  }
56662
56712
  protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
56663
- return this.s9c_1.k8h(mapToDto_20(action));
56713
+ return this.t9c_1.k8h(mapToDto_20(action));
56664
56714
  };
56665
56715
  protoOf(ParserHelperImpl).decodeFromClientEvent = function (fromPlayerId, json) {
56666
- return mapFromDto_16(this.s9c_1.o8h(json), fromPlayerId);
56716
+ return mapFromDto_16(this.t9c_1.o8h(json), fromPlayerId);
56667
56717
  };
56668
56718
  protoOf(ParserHelperImpl).encodeToClientEvent = function (action) {
56669
- return this.s9c_1.m8h(mapToDto_74(action));
56719
+ return this.t9c_1.m8h(mapToDto_74(action));
56670
56720
  };
56671
56721
  protoOf(ParserHelperImpl).decodeToClientEventToMechanicActions = function (playerId, engine, json) {
56672
56722
  // Inline function 'kotlin.collections.toTypedArray' call
56673
- var this_0 = mapFromClientDtoListWithPayload(this.s9c_1.p8h(json), playerId, engine);
56723
+ var this_0 = mapFromClientDtoListWithPayload(this.t9c_1.p8h(json), playerId, engine);
56674
56724
  return copyToArray(this_0);
56675
56725
  };
56676
56726
  protoOf(ParserHelperImpl).encodeGameRound = function (round) {
56677
- var tmp0 = this.r9c_1;
56727
+ var tmp0 = this.s9c_1;
56678
56728
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
56679
56729
  var value = mapToDto_31(round);
56680
56730
  // Inline function 'kotlinx.serialization.serializer' call
@@ -56685,7 +56735,7 @@
56685
56735
  return tmp0.ep(tmp$ret$1, value);
56686
56736
  };
56687
56737
  protoOf(ParserHelperImpl).encodeGameRoundItems = function (round) {
56688
- var tmp0 = this.r9c_1;
56738
+ var tmp0 = this.s9c_1;
56689
56739
  // Inline function 'kotlin.collections.map' call
56690
56740
  var this_0 = round.items;
56691
56741
  // Inline function 'kotlin.collections.mapTo' call
@@ -56707,7 +56757,7 @@
56707
56757
  return tmp0.ep(tmp$ret$4, destination);
56708
56758
  };
56709
56759
  protoOf(ParserHelperImpl).encodeGameMetadata = function (metadata) {
56710
- var tmp0 = this.r9c_1;
56760
+ var tmp0 = this.s9c_1;
56711
56761
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
56712
56762
  var value = mapToDto_33(metadata);
56713
56763
  // Inline function 'kotlinx.serialization.serializer' call
@@ -56718,7 +56768,7 @@
56718
56768
  return tmp0.ep(tmp$ret$1, value);
56719
56769
  };
56720
56770
  protoOf(ParserHelperImpl).encodeRoomConfig = function (config) {
56721
- var tmp0 = this.r9c_1;
56771
+ var tmp0 = this.s9c_1;
56722
56772
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
56723
56773
  var value = mapToDto_59(config);
56724
56774
  // Inline function 'kotlinx.serialization.serializer' call
@@ -56729,7 +56779,7 @@
56729
56779
  return tmp0.ep(tmp$ret$1, value);
56730
56780
  };
56731
56781
  protoOf(ParserHelperImpl).encodeGameToRoomTransition = function (transition) {
56732
- var tmp0 = this.r9c_1;
56782
+ var tmp0 = this.s9c_1;
56733
56783
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
56734
56784
  var value = mapToDto_95(transition);
56735
56785
  // Inline function 'kotlinx.serialization.serializer' call
@@ -56741,7 +56791,7 @@
56741
56791
  };
56742
56792
  protoOf(ParserHelperImpl).decodeGameToRoomTransition = function (json) {
56743
56793
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
56744
- var this_0 = this.r9c_1;
56794
+ var this_0 = this.s9c_1;
56745
56795
  // Inline function 'kotlinx.serialization.serializer' call
56746
56796
  var this_1 = this_0.ds();
56747
56797
  // Inline function 'kotlinx.serialization.internal.cast' call
@@ -56752,7 +56802,7 @@
56752
56802
  };
56753
56803
  protoOf(ParserHelperImpl).decodeTableStateWithActions = function (json) {
56754
56804
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
56755
- var this_0 = this.r9c_1;
56805
+ var this_0 = this.s9c_1;
56756
56806
  // Inline function 'kotlinx.serialization.serializer' call
56757
56807
  var this_1 = this_0.ds();
56758
56808
  // Inline function 'kotlinx.serialization.internal.cast' call
@@ -56762,7 +56812,7 @@
56762
56812
  return mapFromDto_97(tmp$ret$2);
56763
56813
  };
56764
56814
  protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
56765
- var tmp0 = this.r9c_1;
56815
+ var tmp0 = this.s9c_1;
56766
56816
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
56767
56817
  var value = mapToDto_126(table);
56768
56818
  // Inline function 'kotlinx.serialization.serializer' call
@@ -56773,11 +56823,11 @@
56773
56823
  return tmp0.ep(tmp$ret$1, value);
56774
56824
  };
56775
56825
  protoOf(ParserHelperImpl).decodeTableLite = function (json) {
56776
- return mapFromDto_63(this.s9c_1.n8h(json));
56826
+ return mapFromDto_63(this.t9c_1.n8h(json));
56777
56827
  };
56778
56828
  protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
56779
56829
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
56780
- var this_0 = this.r9c_1;
56830
+ var this_0 = this.s9c_1;
56781
56831
  // Inline function 'kotlinx.serialization.serializer' call
56782
56832
  var this_1 = this_0.ds();
56783
56833
  // Inline function 'kotlinx.serialization.internal.cast' call
@@ -56790,16 +56840,16 @@
56790
56840
  function RatingHelper() {
56791
56841
  }
56792
56842
  function RatingHelperImpl(userRatingInteractor) {
56793
- this.t9c_1 = userRatingInteractor;
56843
+ this.u9c_1 = userRatingInteractor;
56794
56844
  }
56795
56845
  protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
56796
- return this.t9c_1.k8o(league, rating);
56846
+ return this.u9c_1.k8o(league, rating);
56797
56847
  };
56798
56848
  protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
56799
- return this.t9c_1.m8o(rating);
56849
+ return this.u9c_1.m8o(rating);
56800
56850
  };
56801
56851
  protoOf(RatingHelperImpl).getLeaguesConfig = function () {
56802
- return this.t9c_1.l8o();
56852
+ return this.u9c_1.l8o();
56803
56853
  };
56804
56854
  function engineHelpersModule() {
56805
56855
  return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
@@ -56904,14 +56954,14 @@
56904
56954
  return new GameResourcesImpl();
56905
56955
  }
56906
56956
  function _get_logger__rkp4sl_3($this) {
56907
- var tmp0 = $this.v9c_1;
56957
+ var tmp0 = $this.w9c_1;
56908
56958
  var tmp = KProperty1;
56909
56959
  // Inline function 'kotlin.getValue' call
56910
56960
  getPropertyCallableRef('logger', 1, tmp, EngineHelpersFactory$_get_logger_$ref_np7wt5(), null);
56911
56961
  return tmp0.w();
56912
56962
  }
56913
56963
  function _get_di__ndbzja($this) {
56914
- var tmp0 = $this.w9c_1;
56964
+ var tmp0 = $this.x9c_1;
56915
56965
  var tmp = KProperty1;
56916
56966
  // Inline function 'kotlin.getValue' call
56917
56967
  getPropertyCallableRef('di', 1, tmp, EngineHelpersFactory$_get_di_$ref_w4qz4i(), null);
@@ -56920,11 +56970,11 @@
56920
56970
  function EngineHelpersFactory$logger$delegate$lambda(this$0) {
56921
56971
  return function () {
56922
56972
  var tmp;
56923
- if (this$0.u9c_1 == null) {
56973
+ if (this$0.v9c_1 == null) {
56924
56974
  tmp = null;
56925
56975
  } else {
56926
56976
  // Inline function 'kotlin.let' call
56927
- tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.u9c_1)]));
56977
+ tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.v9c_1)]));
56928
56978
  }
56929
56979
  var tmp1_elvis_lhs = tmp;
56930
56980
  return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
@@ -57014,11 +57064,11 @@
57014
57064
  }
57015
57065
  function EngineHelpersFactory(loggerCallback) {
57016
57066
  loggerCallback = loggerCallback === VOID ? null : loggerCallback;
57017
- this.u9c_1 = loggerCallback;
57067
+ this.v9c_1 = loggerCallback;
57018
57068
  var tmp = this;
57019
- tmp.v9c_1 = lazy(EngineHelpersFactory$logger$delegate$lambda(this));
57069
+ tmp.w9c_1 = lazy(EngineHelpersFactory$logger$delegate$lambda(this));
57020
57070
  var tmp_0 = this;
57021
- tmp_0.w9c_1 = lazy(EngineHelpersFactory$di$delegate$lambda(this));
57071
+ tmp_0.x9c_1 = lazy(EngineHelpersFactory$di$delegate$lambda(this));
57022
57072
  var tmp_1 = this;
57023
57073
  // Inline function 'org.kodein.di.instance' call
57024
57074
  var this_0 = _get_di__ndbzja(this);
@@ -57027,7 +57077,7 @@
57027
57077
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
57028
57078
  var tmp_3 = Instance(this_0, tmp$ret$0, null);
57029
57079
  var tmp_4 = KProperty1;
57030
- tmp_1.x9c_1 = tmp_3.u64(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
57080
+ tmp_1.y9c_1 = tmp_3.u64(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
57031
57081
  var tmp_5 = this;
57032
57082
  // Inline function 'org.kodein.di.instance' call
57033
57083
  var this_1 = _get_di__ndbzja(this);
@@ -57036,7 +57086,7 @@
57036
57086
  var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
57037
57087
  var tmp_7 = Instance(this_1, tmp$ret$2, null);
57038
57088
  var tmp_8 = KProperty1;
57039
- tmp_5.y9c_1 = tmp_7.u64(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
57089
+ tmp_5.z9c_1 = tmp_7.u64(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
57040
57090
  var tmp_9 = this;
57041
57091
  // Inline function 'org.kodein.di.instance' call
57042
57092
  var this_2 = _get_di__ndbzja(this);
@@ -57045,7 +57095,7 @@
57045
57095
  var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
57046
57096
  var tmp_11 = Instance(this_2, tmp$ret$4, null);
57047
57097
  var tmp_12 = KProperty1;
57048
- tmp_9.z9c_1 = tmp_11.u64(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
57098
+ tmp_9.a9d_1 = tmp_11.u64(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
57049
57099
  var tmp_13 = this;
57050
57100
  // Inline function 'org.kodein.di.instance' call
57051
57101
  var this_3 = _get_di__ndbzja(this);
@@ -57054,31 +57104,31 @@
57054
57104
  var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
57055
57105
  var tmp_15 = Instance(this_3, tmp$ret$6, null);
57056
57106
  var tmp_16 = KProperty1;
57057
- tmp_13.a9d_1 = tmp_15.u64(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
57107
+ tmp_13.b9d_1 = tmp_15.u64(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
57058
57108
  }
57059
- protoOf(EngineHelpersFactory).b9d = function () {
57060
- var tmp0 = this.x9c_1;
57109
+ protoOf(EngineHelpersFactory).c9d = function () {
57110
+ var tmp0 = this.y9c_1;
57061
57111
  var tmp = KProperty1;
57062
57112
  // Inline function 'kotlin.getValue' call
57063
57113
  getPropertyCallableRef('ratingHelper', 1, tmp, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks_0(), null);
57064
57114
  return tmp0.w();
57065
57115
  };
57066
- protoOf(EngineHelpersFactory).c9d = function () {
57067
- var tmp0 = this.y9c_1;
57116
+ protoOf(EngineHelpersFactory).d9d = function () {
57117
+ var tmp0 = this.z9c_1;
57068
57118
  var tmp = KProperty1;
57069
57119
  // Inline function 'kotlin.getValue' call
57070
57120
  getPropertyCallableRef('parserHelper', 1, tmp, EngineHelpersFactory$_get_parserHelper_$ref_egvg46_0(), null);
57071
57121
  return tmp0.w();
57072
57122
  };
57073
- protoOf(EngineHelpersFactory).d9d = function () {
57074
- var tmp0 = this.z9c_1;
57123
+ protoOf(EngineHelpersFactory).e9d = function () {
57124
+ var tmp0 = this.a9d_1;
57075
57125
  var tmp = KProperty1;
57076
57126
  // Inline function 'kotlin.getValue' call
57077
57127
  getPropertyCallableRef('gameHelper', 1, tmp, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93_0(), null);
57078
57128
  return tmp0.w();
57079
57129
  };
57080
- protoOf(EngineHelpersFactory).e9d = function () {
57081
- var tmp0 = this.a9d_1;
57130
+ protoOf(EngineHelpersFactory).f9d = function () {
57131
+ var tmp0 = this.b9d_1;
57082
57132
  var tmp = KProperty1;
57083
57133
  // Inline function 'kotlin.getValue' call
57084
57134
  getPropertyCallableRef('gameResources', 1, tmp, EngineHelpersFactory$_get_gameResources_$ref_kynd2o_0(), null);
@@ -57766,7 +57816,7 @@
57766
57816
  protoOf(CallbackWrapperLoggerOutput).i = i;
57767
57817
  protoOf(CallbackWrapperLoggerOutput).v = v;
57768
57818
  protoOf(CallbackWrapperLoggerOutput).w = w;
57769
- protoOf(FileLoggerOutputImpl).r93 = observe$default;
57819
+ protoOf(FileLoggerOutputImpl).s93 = observe$default;
57770
57820
  protoOf(FileLoggerOutputImpl).d = d;
57771
57821
  protoOf(FileLoggerOutputImpl).e = e;
57772
57822
  protoOf(FileLoggerOutputImpl).i = i;
@@ -57786,10 +57836,10 @@
57786
57836
  protoOf(LoggerCallbacksWrapperLoggerOutput).i = i;
57787
57837
  protoOf(LoggerCallbacksWrapperLoggerOutput).v = v;
57788
57838
  protoOf(LoggerCallbacksWrapperLoggerOutput).w = w;
57789
- defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).b9d);
57790
- defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).c9d);
57791
- defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).d9d);
57792
- defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).e9d);
57839
+ defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).c9d);
57840
+ defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).d9d);
57841
+ defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).e9d);
57842
+ defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).f9d);
57793
57843
  //endregion
57794
57844
  //region block: init
57795
57845
  Companion_instance_5 = new Companion_0();