raspberry_games_server_game_logic 1.8.379 → 1.8.380

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.
@@ -1272,21 +1272,21 @@
1272
1272
  tmp = types;
1273
1273
  }
1274
1274
  types = tmp;
1275
- return $super === VOID ? this.e9d(loggerKey, types) : $super.e9d.call(this, loggerKey, types);
1275
+ return $super === VOID ? this.f9d(loggerKey, types) : $super.f9d.call(this, loggerKey, types);
1276
1276
  }
1277
1277
  initMetadataForInterface(FileLoggerOutput, 'FileLoggerOutput', VOID, VOID, [LoggerOutput, LoggerEnabledTrigger]);
1278
1278
  initMetadataForClass(FileLoggerOutputImpl, 'FileLoggerOutputImpl', FileLoggerOutputImpl, VOID, [FileLoggerOutput]);
1279
1279
  function filterLivePlayers(store, playerIds, includeBots, $super) {
1280
1280
  includeBots = includeBots === VOID ? false : includeBots;
1281
- return $super === VOID ? this.f9d(store, playerIds, includeBots) : $super.f9d.call(this, store, playerIds, includeBots);
1281
+ return $super === VOID ? this.g9d(store, playerIds, includeBots) : $super.g9d.call(this, store, playerIds, includeBots);
1282
1282
  }
1283
1283
  function filterLiveDuringGamePlayers(store, playerIds, includeBots, $super) {
1284
1284
  includeBots = includeBots === VOID ? false : includeBots;
1285
- return $super === VOID ? this.g9d(store, playerIds, includeBots) : $super.g9d.call(this, store, playerIds, includeBots);
1285
+ return $super === VOID ? this.h9d(store, playerIds, includeBots) : $super.h9d.call(this, store, playerIds, includeBots);
1286
1286
  }
1287
1287
  function createConfig(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league, $super) {
1288
1288
  league = league === VOID ? null : league;
1289
- return $super === VOID ? this.h9d(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) : $super.h9d.call(this, mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league);
1289
+ return $super === VOID ? this.i9d(mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) : $super.i9d.call(this, mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league);
1290
1290
  }
1291
1291
  initMetadataForInterface(GameHelper, 'GameHelper');
1292
1292
  initMetadataForClass(GameHelperImpl, 'GameHelperImpl', VOID, VOID, [GameHelper]);
@@ -1299,7 +1299,7 @@
1299
1299
  tmp = existingNicknames;
1300
1300
  }
1301
1301
  existingNicknames = tmp;
1302
- return $super === VOID ? this.j9d(playerId, existingNicknames) : $super.j9d.call(this, playerId, existingNicknames);
1302
+ return $super === VOID ? this.k9d(playerId, existingNicknames) : $super.k9d.call(this, playerId, existingNicknames);
1303
1303
  }
1304
1304
  initMetadataForInterface(GameResources, 'GameResources');
1305
1305
  initMetadataForCompanion(Companion_166);
@@ -2280,7 +2280,7 @@
2280
2280
  ffaMovEnabled = ffaMovEnabled === VOID ? true : ffaMovEnabled;
2281
2281
  botNativeUpdatesRating = botNativeUpdatesRating === VOID ? true : botNativeUpdatesRating;
2282
2282
  replacementForcedDecrease = replacementForcedDecrease === VOID ? true : replacementForcedDecrease;
2283
- ffaMaxRatingDecreaseFraction = ffaMaxRatingDecreaseFraction === VOID ? 1.0 : ffaMaxRatingDecreaseFraction;
2283
+ ffaMaxRatingDecreaseFraction = ffaMaxRatingDecreaseFraction === VOID ? 0.8 : ffaMaxRatingDecreaseFraction;
2284
2284
  this.defaultFactor = defaultFactor;
2285
2285
  this.eloScaleH2H = eloScaleH2H;
2286
2286
  this.eloScaleFfa = eloScaleFfa;
@@ -50517,18 +50517,19 @@
50517
50517
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).hashCode = function () {
50518
50518
  return hashCode(this.a3());
50519
50519
  };
50520
- function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j($controller, resultContinuation) {
50520
+ function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j($controller, $loggerKey, resultContinuation) {
50521
50521
  this.g94_1 = $controller;
50522
+ this.h94_1 = $loggerKey;
50522
50523
  CoroutineImpl.call(this, resultContinuation);
50523
50524
  }
50524
- protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).i94 = function (it, $completion) {
50525
- var tmp = this.j94(it, $completion);
50525
+ protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).j94 = function (it, $completion) {
50526
+ var tmp = this.k94(it, $completion);
50526
50527
  tmp.t8_1 = Unit_instance;
50527
50528
  tmp.u8_1 = null;
50528
50529
  return tmp.z8();
50529
50530
  };
50530
50531
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).h9 = function (p1, $completion) {
50531
- return this.i94(p1 instanceof LoggerOutputDataDto ? p1 : THROW_CCE(), $completion);
50532
+ return this.j94(p1 instanceof LoggerOutputDataDto ? p1 : THROW_CCE(), $completion);
50532
50533
  };
50533
50534
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).z8 = function () {
50534
50535
  var suspendResult = this.t8_1;
@@ -50538,9 +50539,9 @@
50538
50539
  switch (tmp) {
50539
50540
  case 0:
50540
50541
  this.s8_1 = 2;
50541
- var log = this.h94_1.toMessageLog();
50542
+ var log = this.i94_1.toMessageLog();
50542
50543
  this.r8_1 = 1;
50543
- suspendResult = this.g94_1.m6f(log, this);
50544
+ suspendResult = this.g94_1.m6f('key:' + this.h94_1.h6l() + ' ' + log, this);
50544
50545
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
50545
50546
  return suspendResult;
50546
50547
  }
@@ -50562,23 +50563,23 @@
50562
50563
  }
50563
50564
  while (true);
50564
50565
  };
50565
- protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).j94 = function (it, completion) {
50566
- var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j(this.g94_1, completion);
50567
- i.h94_1 = it;
50566
+ protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j).k94 = function (it, completion) {
50567
+ var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j(this.g94_1, this.h94_1, completion);
50568
+ i.i94_1 = it;
50568
50569
  return i;
50569
50570
  };
50570
- function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j_0($controller, resultContinuation) {
50571
- var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j($controller, resultContinuation);
50571
+ function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j_0($controller, $loggerKey, resultContinuation) {
50572
+ var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j($controller, $loggerKey, resultContinuation);
50572
50573
  var l = function (it, $completion) {
50573
- return i.i94(it, $completion);
50574
+ return i.j94(it, $completion);
50574
50575
  };
50575
50576
  l.$arity = 1;
50576
50577
  return l;
50577
50578
  }
50578
50579
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1($controller, $$loggerOutput, $loggerKey, resultContinuation) {
50579
- this.s94_1 = $controller;
50580
- this.t94_1 = $$loggerOutput;
50581
- this.u94_1 = $loggerKey;
50580
+ this.t94_1 = $controller;
50581
+ this.u94_1 = $$loggerOutput;
50582
+ this.v94_1 = $loggerKey;
50582
50583
  CoroutineImpl.call(this, resultContinuation);
50583
50584
  }
50584
50585
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1).z2c = function ($this$launchDefault, $completion) {
@@ -50599,7 +50600,7 @@
50599
50600
  case 0:
50600
50601
  this.s8_1 = 3;
50601
50602
  this.r8_1 = 1;
50602
- suspendResult = this.s94_1.l6f(this);
50603
+ suspendResult = this.t94_1.l6f(this);
50603
50604
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
50604
50605
  return suspendResult;
50605
50606
  }
@@ -50607,8 +50608,8 @@
50607
50608
  continue $sm;
50608
50609
  case 1:
50609
50610
  this.r8_1 = 2;
50610
- var tmp_0 = this.t94_1.w94(this.u94_1);
50611
- var tmp_1 = fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j_0(this.s94_1, null);
50611
+ var tmp_0 = this.u94_1.x94(this.v94_1);
50612
+ var tmp_1 = fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda$slambda_e9887j_0(this.t94_1, this.v94_1, null);
50612
50613
  suspendResult = tmp_0.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
50613
50614
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
50614
50615
  return suspendResult;
@@ -50632,8 +50633,8 @@
50632
50633
  while (true);
50633
50634
  };
50634
50635
  protoOf(fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1).a2d = function ($this$launchDefault, completion) {
50635
- var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1(this.s94_1, this.t94_1, this.u94_1, completion);
50636
- i.v94_1 = $this$launchDefault;
50636
+ var i = new fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1(this.t94_1, this.u94_1, this.v94_1, completion);
50637
+ i.w94_1 = $this$launchDefault;
50637
50638
  return i;
50638
50639
  };
50639
50640
  function fileLoggerByGameIdMiddleware$_anonymous_$createLogger$slambda_pziup1_0($controller, $$loggerOutput, $loggerKey, resultContinuation) {
@@ -50752,20 +50753,20 @@
50752
50753
  return null;
50753
50754
  }
50754
50755
  function sceneRouterMiddleware$$inlined$middlewareForActionType$1($engineLogicConfig, $logger, $sceneRouter, $idsProvider, $playerConnectionInteractor) {
50755
- this.x94_1 = $engineLogicConfig;
50756
- this.y94_1 = $logger;
50757
- this.z94_1 = $sceneRouter;
50758
- this.a95_1 = $idsProvider;
50759
- this.b95_1 = $playerConnectionInteractor;
50756
+ this.y94_1 = $engineLogicConfig;
50757
+ this.z94_1 = $logger;
50758
+ this.a95_1 = $sceneRouter;
50759
+ this.b95_1 = $idsProvider;
50760
+ this.c95_1 = $playerConnectionInteractor;
50760
50761
  }
50761
50762
  protoOf(sceneRouterMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
50762
50763
  return action instanceof MechanicAction;
50763
50764
  };
50764
50765
  protoOf(sceneRouterMiddleware$$inlined$middlewareForActionType$1).m6h = function (store, next, action) {
50765
50766
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
50766
- if (this.x94_1.validateIfMainThread) {
50767
+ if (this.y94_1.validateIfMainThread) {
50767
50768
  // Inline function 'games.logic.utils.runSafeOnProd' call
50768
- var logger = this.y94_1;
50769
+ var logger = this.z94_1;
50769
50770
  var tmp;
50770
50771
  try {
50771
50772
  assertIfMainThread('sceneRouterMiddleware is called from main thread for action = ' + toString(action_0));
@@ -50792,22 +50793,22 @@
50792
50793
  if (equals(action_0.p8u_1.dealerStrategy, DealerStrategy_REQUEST_HOST_STANDARD_getInstance())) {
50793
50794
  tmp_2 = listOf(createHostDealerAct(action_0.s8u_1));
50794
50795
  } else {
50795
- tmp_2 = listOf(new SceneStartedMechanicAction(this.z94_1.y8s(action_0.p8u_1, true).l8t_1));
50796
+ tmp_2 = listOf(new SceneStartedMechanicAction(this.a95_1.y8s(action_0.p8u_1, true).l8t_1));
50796
50797
  }
50797
50798
  tmp_1 = tmp_2;
50798
50799
  } else {
50799
50800
  if (action_0 instanceof StartNewGameMechanicAction) {
50800
- tmp_1 = listOf(new SceneStartedMechanicAction(this.z94_1.y8s(state.n6n().config, false).l8t_1));
50801
+ tmp_1 = listOf(new SceneStartedMechanicAction(this.a95_1.y8s(state.n6n().config, false).l8t_1));
50801
50802
  } else {
50802
50803
  if (action_0 instanceof RestartGameMechanicAction) {
50803
50804
  var tmp1_config = state.n6n().config;
50804
- tmp_1 = listOf(new SceneStartedMechanicAction(this.z94_1.z8s(tmp1_config, false, false).l8t_1));
50805
+ tmp_1 = listOf(new SceneStartedMechanicAction(this.a95_1.z8s(tmp1_config, false, false).l8t_1));
50805
50806
  } else {
50806
50807
  if (action_0 instanceof TeamsDataMechanicAction) {
50807
50808
  tmp_1 = listOf(new SceneEndedMechanicAction(state.n6n().sceneInfo.u7t_1));
50808
50809
  } else {
50809
50810
  if (action_0 instanceof PlayerReadyMechanicAction) {
50810
- tmp_1 = listOfNotNull_0(onPlayerReadyAction(action_0.playerId, state.n6n(), this.a95_1, this.x94_1, this.b95_1, this.y94_1));
50811
+ tmp_1 = listOfNotNull_0(onPlayerReadyAction(action_0.playerId, state.n6n(), this.b95_1, this.y94_1, this.c95_1, this.z94_1));
50811
50812
  } else {
50812
50813
  if (action_0 instanceof SuitChoiceMechanicAction) {
50813
50814
  var tmp_3;
@@ -50945,12 +50946,12 @@
50945
50946
  }
50946
50947
  function PlayerTurnTimerTag(playersIds, tag, afterReconnection) {
50947
50948
  afterReconnection = afterReconnection === VOID ? false : afterReconnection;
50948
- this.c95_1 = playersIds;
50949
- this.d95_1 = tag;
50950
- this.e95_1 = afterReconnection;
50949
+ this.d95_1 = playersIds;
50950
+ this.e95_1 = tag;
50951
+ this.f95_1 = afterReconnection;
50951
50952
  }
50952
50953
  protoOf(PlayerTurnTimerTag).t65 = function () {
50953
- return single(this.c95_1);
50954
+ return single(this.d95_1);
50954
50955
  };
50955
50956
  protoOf(PlayerTurnTimerTag).equals = function (other) {
50956
50957
  if (this === other)
@@ -50959,13 +50960,13 @@
50959
50960
  return false;
50960
50961
  if (!(other instanceof PlayerTurnTimerTag))
50961
50962
  THROW_CCE();
50962
- return equals(this.c95_1, other.c95_1);
50963
+ return equals(this.d95_1, other.d95_1);
50963
50964
  };
50964
50965
  protoOf(PlayerTurnTimerTag).hashCode = function () {
50965
- return hashCode(this.c95_1);
50966
+ return hashCode(this.d95_1);
50966
50967
  };
50967
50968
  protoOf(PlayerTurnTimerTag).toString = function () {
50968
- return 'PlayerTurnTimerTag(playersIds=' + toString(this.c95_1) + ', tag=' + this.d95_1 + ', afterReconnection=' + this.e95_1 + ')';
50969
+ return 'PlayerTurnTimerTag(playersIds=' + toString(this.d95_1) + ', tag=' + this.e95_1 + ', afterReconnection=' + this.f95_1 + ')';
50969
50970
  };
50970
50971
  function playerStartTimerMiddleware(botConfig, playerTurnInteractor, isEnableTimerForPlayer, mergeTimers) {
50971
50972
  mergeTimers = mergeTimers === VOID ? false : mergeTimers;
@@ -51008,10 +51009,10 @@
51008
51009
  return tmp;
51009
51010
  }
51010
51011
  function playerStartTimerMiddleware$$inlined$middlewareForActionType$1($isEnableTimerForPlayer, $playerTurnInteractor, $botConfig, $mergeTimers) {
51011
- this.f95_1 = $isEnableTimerForPlayer;
51012
- this.g95_1 = $playerTurnInteractor;
51013
- this.h95_1 = $botConfig;
51014
- this.i95_1 = $mergeTimers;
51012
+ this.g95_1 = $isEnableTimerForPlayer;
51013
+ this.h95_1 = $playerTurnInteractor;
51014
+ this.i95_1 = $botConfig;
51015
+ this.j95_1 = $mergeTimers;
51015
51016
  }
51016
51017
  protoOf(playerStartTimerMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
51017
51018
  return isInterface(action, NextPlayerTurnAction);
@@ -51027,14 +51028,14 @@
51027
51028
  var _iterator__ex2g4s = tmp0.l();
51028
51029
  while (_iterator__ex2g4s.m()) {
51029
51030
  var element = _iterator__ex2g4s.n();
51030
- if (this.f95_1(element)) {
51031
+ if (this.g95_1(element)) {
51031
51032
  destination.j(element);
51032
51033
  }
51033
51034
  }
51034
51035
  var startTimerForPlayers = destination;
51035
51036
  // Inline function 'kotlin.collections.isNotEmpty' call
51036
51037
  if (!startTimerForPlayers.r()) {
51037
- var playerTurnModel = this.g95_1.d8q(action_0, table);
51038
+ var playerTurnModel = this.h95_1.d8q(action_0, table);
51038
51039
  if (!(playerTurnModel == null)) {
51039
51040
  // Inline function 'kotlin.collections.map' call
51040
51041
  // Inline function 'kotlin.collections.mapTo' call
@@ -51042,11 +51043,11 @@
51042
51043
  var _iterator__ex2g4s_0 = startTimerForPlayers.l();
51043
51044
  while (_iterator__ex2g4s_0.m()) {
51044
51045
  var item = _iterator__ex2g4s_0.n();
51045
- var tmp$ret$4 = to(item, getInitialPlayerTurnTimerDelayMillis(getPlayer(table.players, item), table.config, this.h95_1.isDelayForBot, this.h95_1.simulateBotThinkingDelay ? Default_getInstance() : null));
51046
+ var tmp$ret$4 = to(item, getInitialPlayerTurnTimerDelayMillis(getPlayer(table.players, item), table.config, this.i95_1.isDelayForBot, this.i95_1.simulateBotThinkingDelay ? Default_getInstance() : null));
51046
51047
  destination_0.j(tmp$ret$4);
51047
51048
  }
51048
51049
  var timeForPlayers = destination_0;
51049
- if (this.i95_1) {
51050
+ if (this.j95_1) {
51050
51051
  // Inline function 'kotlin.collections.groupBy' call
51051
51052
  // Inline function 'kotlin.collections.groupByTo' call
51052
51053
  var destination_1 = LinkedHashMap_init_$Create$();
@@ -51120,14 +51121,14 @@
51120
51121
  return this.m6h(store, next, action);
51121
51122
  };
51122
51123
  function playerStopTimerMiddleware$$inlined$middlewareForActionType$1($isEnableBotForPlayer) {
51123
- this.j95_1 = $isEnableBotForPlayer;
51124
+ this.k95_1 = $isEnableBotForPlayer;
51124
51125
  }
51125
51126
  protoOf(playerStopTimerMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
51126
51127
  return isInterface(action, PlayerAnswerFromClientAction);
51127
51128
  };
51128
51129
  protoOf(playerStopTimerMiddleware$$inlined$middlewareForActionType$1).m6h = function (store, next, action) {
51129
51130
  var action_0 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
51130
- if (this.j95_1(action_0.playerId)) {
51131
+ if (this.k95_1(action_0.playerId)) {
51131
51132
  var table = store.state.n6n();
51132
51133
  var player = getPlayer(table.players, action_0.playerId);
51133
51134
  // Inline function 'games.jass.logic.redux.AppState.findTimer' call
@@ -51148,7 +51149,7 @@
51148
51149
  var _iterator__ex2g4s_0 = destination.l();
51149
51150
  while (_iterator__ex2g4s_0.m()) {
51150
51151
  var element_0 = _iterator__ex2g4s_0.n();
51151
- if (element_0.c95_1.t1(action_0.playerId) && element_0.d95_1 === player.o6q_1.l68()) {
51152
+ if (element_0.d95_1.t1(action_0.playerId) && element_0.e95_1 === player.o6q_1.l68()) {
51152
51153
  tmp$ret$3 = element_0;
51153
51154
  break $l$block;
51154
51155
  }
@@ -51170,11 +51171,11 @@
51170
51171
  return new playerTurnTimeoutWhenHostMiddleware$$inlined$middlewareForActionType$1(asyncProvider, serverConfig, logger);
51171
51172
  }
51172
51173
  function playerTurnTimeoutWhenHostMiddleware$o$handle$slambda($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
51173
- this.s95_1 = $store;
51174
- this.t95_1 = $timerTag;
51175
- this.u95_1 = $serverConfig;
51176
- this.v95_1 = $logger;
51177
- this.w95_1 = $action;
51174
+ this.t95_1 = $store;
51175
+ this.u95_1 = $timerTag;
51176
+ this.v95_1 = $serverConfig;
51177
+ this.w95_1 = $logger;
51178
+ this.x95_1 = $action;
51178
51179
  CoroutineImpl.call(this, resultContinuation);
51179
51180
  }
51180
51181
  protoOf(playerTurnTimeoutWhenHostMiddleware$o$handle$slambda).z2c = function ($this$launchDefaultWithLock, $completion) {
@@ -51193,13 +51194,13 @@
51193
51194
  var tmp = this.r8_1;
51194
51195
  if (tmp === 0) {
51195
51196
  this.s8_1 = 1;
51196
- var table = this.s95_1.state.n6n();
51197
- var player = getPlayer(table.players, this.t95_1.t65());
51197
+ var table = this.t95_1.state.n6n();
51198
+ var player = getPlayer(table.players, this.u95_1.t65());
51198
51199
  var connectionState = player.o6q_1.v68().m67_1;
51199
51200
  var tmp_0;
51200
51201
  switch (connectionState.p2_1) {
51201
51202
  case 0:
51202
- tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, this.t95_1.e95_1));
51203
+ tmp_0 = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.playerId, this.u95_1.f95_1));
51203
51204
  break;
51204
51205
  case 4:
51205
51206
  tmp_0 = emptyList();
@@ -51208,8 +51209,8 @@
51208
51209
  case 2:
51209
51210
  case 1:
51210
51211
  var tmp_1;
51211
- if (table.sceneInfo.h7a() && this.u95_1.closeIfBotsAtFinish) {
51212
- tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, this.t95_1.e95_1);
51212
+ if (table.sceneInfo.h7a() && this.v95_1.closeIfBotsAtFinish) {
51213
+ tmp_1 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.playerId, this.u95_1.f95_1);
51213
51214
  } else {
51214
51215
  tmp_1 = AskBotAction_init_$Create$(player.playerId, 'PlayerTurn when connection state = ' + connectionState.toString());
51215
51216
  }
@@ -51217,7 +51218,7 @@
51217
51218
  tmp_0 = listOf(tmp_1);
51218
51219
  break;
51219
51220
  case 5:
51220
- this.v95_1.w(VOID, 'ServerPlayerTurnTimeoutMiddleware: ' + ("Can't support this state " + connectionState.toString() + ', ') + ('action:' + this.w95_1.toString()));
51221
+ this.w95_1.w(VOID, 'ServerPlayerTurnTimeoutMiddleware: ' + ("Can't support this state " + connectionState.toString() + ', ') + ('action:' + this.x95_1.toString()));
51221
51222
  tmp_0 = emptyList();
51222
51223
  break;
51223
51224
  default:
@@ -51229,7 +51230,7 @@
51229
51230
  var _iterator__ex2g4s = actions.l();
51230
51231
  while (_iterator__ex2g4s.m()) {
51231
51232
  var element = _iterator__ex2g4s.n();
51232
- this.s95_1.dispatch(element);
51233
+ this.t95_1.dispatch(element);
51233
51234
  }
51234
51235
  }
51235
51236
  return Unit_instance;
@@ -51243,8 +51244,8 @@
51243
51244
  while (true);
51244
51245
  };
51245
51246
  protoOf(playerTurnTimeoutWhenHostMiddleware$o$handle$slambda).a2d = function ($this$launchDefaultWithLock, completion) {
51246
- var i = new playerTurnTimeoutWhenHostMiddleware$o$handle$slambda(this.s95_1, this.t95_1, this.u95_1, this.v95_1, this.w95_1, completion);
51247
- i.x95_1 = $this$launchDefaultWithLock;
51247
+ var i = new playerTurnTimeoutWhenHostMiddleware$o$handle$slambda(this.t95_1, this.u95_1, this.v95_1, this.w95_1, this.x95_1, completion);
51248
+ i.y95_1 = $this$launchDefaultWithLock;
51248
51249
  return i;
51249
51250
  };
51250
51251
  function playerTurnTimeoutWhenHostMiddleware$o$handle$slambda_0($store, $timerTag, $serverConfig, $logger, $action, resultContinuation) {
@@ -51256,9 +51257,9 @@
51256
51257
  return l;
51257
51258
  }
51258
51259
  function playerTurnTimeoutWhenHostMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $serverConfig, $logger) {
51259
- this.y95_1 = $asyncProvider;
51260
- this.z95_1 = $serverConfig;
51261
- this.a96_1 = $logger;
51260
+ this.z95_1 = $asyncProvider;
51261
+ this.a96_1 = $serverConfig;
51262
+ this.b96_1 = $logger;
51262
51263
  }
51263
51264
  protoOf(playerTurnTimeoutWhenHostMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
51264
51265
  return action instanceof TimerTickAction;
@@ -51267,7 +51268,7 @@
51267
51268
  var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
51268
51269
  var timerTag = action_0.t6f_1;
51269
51270
  if (timerTag instanceof PlayerTurnTimerTag) {
51270
- this.y95_1.h6c(VOID, playerTurnTimeoutWhenHostMiddleware$o$handle$slambda_0(store, timerTag, this.z95_1, this.a96_1, action_0, null));
51271
+ this.z95_1.h6c(VOID, playerTurnTimeoutWhenHostMiddleware$o$handle$slambda_0(store, timerTag, this.a96_1, this.b96_1, action_0, null));
51271
51272
  }
51272
51273
  next(action_0);
51273
51274
  };
@@ -51279,7 +51280,7 @@
51279
51280
  return new playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
51280
51281
  }
51281
51282
  function playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
51282
- this.b96_1 = $playerConnectionInteractor;
51283
+ this.c96_1 = $playerConnectionInteractor;
51283
51284
  }
51284
51285
  protoOf(playerConnectionUpdateMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
51285
51286
  return action instanceof PlayerConnectionUpdateAction;
@@ -51315,7 +51316,7 @@
51315
51316
  var _iterator__ex2g4s_0 = destination.l();
51316
51317
  while (_iterator__ex2g4s_0.m()) {
51317
51318
  var element_0 = _iterator__ex2g4s_0.n();
51318
- if (element_0.c96_1 === tmp4.z8t_1) {
51319
+ if (element_0.d96_1 === tmp4.z8t_1) {
51319
51320
  if (found) {
51320
51321
  tmp$ret$4 = null;
51321
51322
  break $l$block_2;
@@ -51334,7 +51335,7 @@
51334
51335
  if (!(reconnectionTimerTag == null)) {
51335
51336
  store.dispatch(new StopTimerAction(reconnectionTimerTag));
51336
51337
  }
51337
- var actions = this.b96_1.b8q(tmp4.y8t_1, tmp4.z8t_1, store.state.n6n(), tmp4.a8u_1);
51338
+ var actions = this.c96_1.b8q(tmp4.y8t_1, tmp4.z8t_1, store.state.n6n(), tmp4.a8u_1);
51338
51339
  // Inline function 'kotlin.collections.forEach' call
51339
51340
  var _iterator__ex2g4s_1 = actions.l();
51340
51341
  while (_iterator__ex2g4s_1.m()) {
@@ -51351,15 +51352,15 @@
51351
51352
  return new playerReconnectionWaitingTimerTickMiddleware$$inlined$middlewareForActionType$1(playerConnectionInteractor);
51352
51353
  }
51353
51354
  function PlayerReconnectionWaitingTimerTag(playerId, state) {
51354
- this.c96_1 = playerId;
51355
- this.d96_1 = state;
51355
+ this.d96_1 = playerId;
51356
+ this.e96_1 = state;
51356
51357
  }
51357
51358
  protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
51358
- return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.c96_1 + ', state=' + this.d96_1.toString() + ')';
51359
+ return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.d96_1 + ', state=' + this.e96_1.toString() + ')';
51359
51360
  };
51360
51361
  protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
51361
- var result = getStringHashCode(this.c96_1);
51362
- result = imul(result, 31) + this.d96_1.hashCode() | 0;
51362
+ var result = getStringHashCode(this.d96_1);
51363
+ result = imul(result, 31) + this.e96_1.hashCode() | 0;
51363
51364
  return result;
51364
51365
  };
51365
51366
  protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
@@ -51367,14 +51368,14 @@
51367
51368
  return true;
51368
51369
  if (!(other instanceof PlayerReconnectionWaitingTimerTag))
51369
51370
  return false;
51370
- if (!(this.c96_1 === other.c96_1))
51371
+ if (!(this.d96_1 === other.d96_1))
51371
51372
  return false;
51372
- if (!this.d96_1.equals(other.d96_1))
51373
+ if (!this.e96_1.equals(other.e96_1))
51373
51374
  return false;
51374
51375
  return true;
51375
51376
  };
51376
51377
  function playerReconnectionWaitingTimerTickMiddleware$$inlined$middlewareForActionType$1($playerConnectionInteractor) {
51377
- this.e96_1 = $playerConnectionInteractor;
51378
+ this.f96_1 = $playerConnectionInteractor;
51378
51379
  }
51379
51380
  protoOf(playerReconnectionWaitingTimerTickMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
51380
51381
  return action instanceof TimerTickAction;
@@ -51388,7 +51389,7 @@
51388
51389
  var timerTag = tmp4.t6f_1;
51389
51390
  if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
51390
51391
  var state = store.state;
51391
- var actions = this.e96_1.b8q(timerTag.d96_1, timerTag.c96_1, state.n6n(), true);
51392
+ var actions = this.f96_1.b8q(timerTag.e96_1, timerTag.d96_1, state.n6n(), true);
51392
51393
  // Inline function 'kotlin.collections.isNotEmpty' call
51393
51394
  if (!actions.r()) {
51394
51395
  // Inline function 'kotlin.collections.forEach' call
@@ -51410,8 +51411,8 @@
51410
51411
  return new clearOnFinishMiddleware$$inlined$middlewareForActionType$1(asyncProvider, operationsToWait);
51411
51412
  }
51412
51413
  function clearOnFinishMiddleware$o$handle$slambda($operationsToWait, $store, resultContinuation) {
51413
- this.n96_1 = $operationsToWait;
51414
- this.o96_1 = $store;
51414
+ this.o96_1 = $operationsToWait;
51415
+ this.p96_1 = $store;
51415
51416
  CoroutineImpl.call(this, resultContinuation);
51416
51417
  }
51417
51418
  protoOf(clearOnFinishMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
@@ -51431,18 +51432,18 @@
51431
51432
  switch (tmp) {
51432
51433
  case 0:
51433
51434
  this.s8_1 = 4;
51434
- this.q96_1 = this.n96_1.l();
51435
+ this.r96_1 = this.o96_1.l();
51435
51436
  this.r8_1 = 1;
51436
51437
  continue $sm;
51437
51438
  case 1:
51438
- if (!this.q96_1.m()) {
51439
+ if (!this.r96_1.m()) {
51439
51440
  this.r8_1 = 3;
51440
51441
  continue $sm;
51441
51442
  }
51442
51443
 
51443
- var element = this.q96_1.n();
51444
+ var element = this.r96_1.n();
51444
51445
  this.r8_1 = 2;
51445
- suspendResult = element.r96(this);
51446
+ suspendResult = element.s96(this);
51446
51447
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
51447
51448
  return suspendResult;
51448
51449
  }
@@ -51452,8 +51453,8 @@
51452
51453
  this.r8_1 = 1;
51453
51454
  continue $sm;
51454
51455
  case 3:
51455
- var tmp_0 = this.o96_1.dispatch;
51456
- var tmp0_safe_receiver = this.o96_1.state.n6m_1;
51456
+ var tmp_0 = this.p96_1.dispatch;
51457
+ var tmp0_safe_receiver = this.p96_1.state.n6m_1;
51457
51458
  tmp_0(new ClearAction(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.t8t_1));
51458
51459
  return Unit_instance;
51459
51460
  case 4:
@@ -51471,8 +51472,8 @@
51471
51472
  while (true);
51472
51473
  };
51473
51474
  protoOf(clearOnFinishMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
51474
- var i = new clearOnFinishMiddleware$o$handle$slambda(this.n96_1, this.o96_1, completion);
51475
- i.p96_1 = $this$launchDefault;
51475
+ var i = new clearOnFinishMiddleware$o$handle$slambda(this.o96_1, this.p96_1, completion);
51476
+ i.q96_1 = $this$launchDefault;
51476
51477
  return i;
51477
51478
  };
51478
51479
  function clearOnFinishMiddleware$o$handle$slambda_0($operationsToWait, $store, resultContinuation) {
@@ -51484,15 +51485,15 @@
51484
51485
  return l;
51485
51486
  }
51486
51487
  function clearOnFinishMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $operationsToWait) {
51487
- this.s96_1 = $asyncProvider;
51488
- this.t96_1 = $operationsToWait;
51488
+ this.t96_1 = $asyncProvider;
51489
+ this.u96_1 = $operationsToWait;
51489
51490
  }
51490
51491
  protoOf(clearOnFinishMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
51491
51492
  return action instanceof FinishGameMechanicAction;
51492
51493
  };
51493
51494
  protoOf(clearOnFinishMiddleware$$inlined$middlewareForActionType$1).m6h = function (store, next, action) {
51494
51495
  next(action instanceof FinishGameMechanicAction ? action : THROW_CCE());
51495
- this.s96_1.f6c(VOID, clearOnFinishMiddleware$o$handle$slambda_0(this.t96_1, store, null));
51496
+ this.t96_1.f6c(VOID, clearOnFinishMiddleware$o$handle$slambda_0(this.u96_1, store, null));
51496
51497
  };
51497
51498
  protoOf(clearOnFinishMiddleware$$inlined$middlewareForActionType$1).w6f = function (store, next, action) {
51498
51499
  return this.m6h(store, next, action);
@@ -51502,12 +51503,12 @@
51502
51503
  return new sceneLifecycleMiddleware$$inlined$middlewareForActionType$1(asyncProvider, sceneFactory, router, sceneValidationInteractor);
51503
51504
  }
51504
51505
  function sceneLifecycleMiddleware$o$handle$slambda($action, $sceneFactory, $table, $router, $store, $sceneValidationInteractor, resultContinuation) {
51505
- this.c97_1 = $action;
51506
- this.d97_1 = $sceneFactory;
51507
- this.e97_1 = $table;
51508
- this.f97_1 = $router;
51509
- this.g97_1 = $store;
51510
- this.h97_1 = $sceneValidationInteractor;
51506
+ this.d97_1 = $action;
51507
+ this.e97_1 = $sceneFactory;
51508
+ this.f97_1 = $table;
51509
+ this.g97_1 = $router;
51510
+ this.h97_1 = $store;
51511
+ this.i97_1 = $sceneValidationInteractor;
51511
51512
  CoroutineImpl.call(this, resultContinuation);
51512
51513
  }
51513
51514
  protoOf(sceneLifecycleMiddleware$o$handle$slambda).z2c = function ($this$launchDefault, $completion) {
@@ -51527,10 +51528,10 @@
51527
51528
  switch (tmp) {
51528
51529
  case 0:
51529
51530
  this.s8_1 = 3;
51530
- var tmp0_subject = this.c97_1;
51531
+ var tmp0_subject = this.d97_1;
51531
51532
  if (tmp0_subject instanceof SceneStartedMechanicAction) {
51532
51533
  this.r8_1 = 1;
51533
- suspendResult = this.d97_1.u8s(this.c97_1.t8x_1, this.e97_1, this);
51534
+ suspendResult = this.e97_1.u8s(this.d97_1.t8x_1, this.f97_1, this);
51534
51535
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
51535
51536
  return suspendResult;
51536
51537
  }
@@ -51538,37 +51539,37 @@
51538
51539
  } else {
51539
51540
  if (tmp0_subject instanceof SceneEndedMechanicAction) {
51540
51541
  var tmp_0 = this;
51541
- var tmp7_safe_receiver = firstOrNull(filterByGameWinner(this.e97_1.players));
51542
+ var tmp7_safe_receiver = firstOrNull(filterByGameWinner(this.f97_1.players));
51542
51543
  var gameWinnerPlayerId = tmp7_safe_receiver == null ? null : tmp7_safe_receiver.playerId;
51543
- var nextSceneCommand = this.f97_1.f8t(this.c97_1.s8x_1, !(gameWinnerPlayerId == null), false, this.e97_1.config);
51544
+ var nextSceneCommand = this.g97_1.f8t(this.d97_1.s8x_1, !(gameWinnerPlayerId == null), false, this.f97_1.config);
51544
51545
  var tmp_1;
51545
51546
  if (nextSceneCommand instanceof MoveSceneNext) {
51546
51547
  tmp_1 = listOf(new SceneStartedMechanicAction(nextSceneCommand.l8t_1));
51547
51548
  } else {
51548
51549
  noWhenBranchMatchedException();
51549
51550
  }
51550
- tmp_0.j97_1 = tmp_1;
51551
+ tmp_0.k97_1 = tmp_1;
51551
51552
  this.r8_1 = 2;
51552
51553
  continue $sm;
51553
51554
  } else {
51554
51555
  if (tmp0_subject instanceof SceneActStartedMechanicAction) {
51555
51556
  var tmp_2 = this;
51556
- this.h97_1.b8t(this.g97_1.state.o6m_1, 'Timers are not empty before scene act ' + this.c97_1.u8x_1 + ', ' + this.c97_1.v8x_1);
51557
- var mechanicAction = new SceneActMechanicAction(this.c97_1.u8x_1, this.c97_1.v8x_1, this.c97_1.w8x_1);
51558
- tmp_2.j97_1 = listOf(mechanicAction);
51557
+ this.i97_1.b8t(this.h97_1.state.o6m_1, 'Timers are not empty before scene act ' + this.d97_1.u8x_1 + ', ' + this.d97_1.v8x_1);
51558
+ var mechanicAction = new SceneActMechanicAction(this.d97_1.u8x_1, this.d97_1.v8x_1, this.d97_1.w8x_1);
51559
+ tmp_2.k97_1 = listOf(mechanicAction);
51559
51560
  this.r8_1 = 2;
51560
51561
  continue $sm;
51561
51562
  } else {
51562
51563
  if (tmp0_subject instanceof SceneActEndedMechanicAction) {
51563
51564
  var tmp_3 = this;
51564
- var navigationCommand = this.f97_1.h8t(this.c97_1.x8x_1, this.e97_1);
51565
+ var navigationCommand = this.g97_1.h8t(this.d97_1.x8x_1, this.f97_1);
51565
51566
  var tmp_4;
51566
51567
  if (navigationCommand instanceof FinishActNext) {
51567
- tmp_4 = listOf(new SceneEndedMechanicAction(this.e97_1.sceneInfo.u7t_1));
51568
+ tmp_4 = listOf(new SceneEndedMechanicAction(this.f97_1.sceneInfo.u7t_1));
51568
51569
  } else {
51569
51570
  if (navigationCommand instanceof MoveActNext) {
51570
51571
  var tmp9_actId = navigationCommand.n8t_1;
51571
- var tmp0 = this.e97_1.sceneInfo.x7t_1;
51572
+ var tmp0 = this.f97_1.sceneInfo.x7t_1;
51572
51573
  var tmp$ret$2;
51573
51574
  l$ret$3: do {
51574
51575
  if (!(tmp0 == null) ? isInterface(tmp0, SceneData) : false) {
@@ -51580,13 +51581,13 @@
51580
51581
  while (false);
51581
51582
  var tmp10_sceneData = tmp$ret$2;
51582
51583
  var tmp11_payload = navigationCommand.o8t_1;
51583
- var actData = this.d97_1.v8s(tmp9_actId, tmp10_sceneData, tmp11_payload, this.e97_1);
51584
- tmp_4 = listOf(new SceneActStartedMechanicAction(this.e97_1.sceneInfo.u7t_1, navigationCommand.n8t_1, actData));
51584
+ var actData = this.e97_1.v8s(tmp9_actId, tmp10_sceneData, tmp11_payload, this.f97_1);
51585
+ tmp_4 = listOf(new SceneActStartedMechanicAction(this.f97_1.sceneInfo.u7t_1, navigationCommand.n8t_1, actData));
51585
51586
  } else {
51586
51587
  noWhenBranchMatchedException();
51587
51588
  }
51588
51589
  }
51589
- tmp_3.j97_1 = tmp_4;
51590
+ tmp_3.k97_1 = tmp_4;
51590
51591
  this.r8_1 = 2;
51591
51592
  continue $sm;
51592
51593
  } else {
@@ -51600,19 +51601,19 @@
51600
51601
  break;
51601
51602
  case 1:
51602
51603
  var sceneData = suspendResult;
51603
- var navigationActCommand = this.f97_1.e8t(sceneData, this.e97_1);
51604
+ var navigationActCommand = this.g97_1.e8t(sceneData, this.f97_1);
51604
51605
  var tmp_6;
51605
51606
  if (navigationActCommand == null) {
51606
51607
  tmp_6 = null;
51607
51608
  } else {
51608
51609
  var tmp0_actId = navigationActCommand.n8t_1;
51609
51610
  var tmp1_payload = navigationActCommand.o8t_1;
51610
- tmp_6 = this.d97_1.v8s(tmp0_actId, sceneData, tmp1_payload, this.e97_1);
51611
+ tmp_6 = this.e97_1.v8s(tmp0_actId, sceneData, tmp1_payload, this.f97_1);
51611
51612
  }
51612
51613
 
51613
51614
  var actData_0 = tmp_6;
51614
- var state = this.g97_1.state;
51615
- this.h97_1.b8t(state.o6m_1, 'Timers are not empty before scene ' + this.c97_1.t8x_1);
51615
+ var state = this.h97_1.state;
51616
+ this.i97_1.b8t(state.o6m_1, 'Timers are not empty before scene ' + this.d97_1.t8x_1);
51616
51617
  var tmp_7;
51617
51618
  if (equals(state.n6n().config.dealerStrategy, DealerStrategy_REQUEST_HOST_STANDARD_getInstance())) {
51618
51619
  var tmp2_safe_receiver = state.n6n().sceneInfo.y7t_1;
@@ -51638,18 +51639,18 @@
51638
51639
  }
51639
51640
 
51640
51641
  var currentTurnPlayerId = tmp_7;
51641
- var tmp5_sceneId = this.c97_1.t8x_1;
51642
+ var tmp5_sceneId = this.d97_1.t8x_1;
51642
51643
  var tmp6_actId = actData_0 == null ? null : actData_0.actId;
51643
51644
  var mechanicAction_0 = new SceneMechanicAction(currentTurnPlayerId, tmp5_sceneId, tmp6_actId, sceneData, actData_0);
51644
- this.j97_1 = listOfNotNull_0(mechanicAction_0);
51645
+ this.k97_1 = listOfNotNull_0(mechanicAction_0);
51645
51646
  this.r8_1 = 2;
51646
51647
  continue $sm;
51647
51648
  case 2:
51648
- var navigationActions = this.j97_1;
51649
+ var navigationActions = this.k97_1;
51649
51650
  var _iterator__ex2g4s = navigationActions.l();
51650
51651
  while (_iterator__ex2g4s.m()) {
51651
51652
  var element = _iterator__ex2g4s.n();
51652
- this.g97_1.dispatch(element);
51653
+ this.h97_1.dispatch(element);
51653
51654
  }
51654
51655
 
51655
51656
  return Unit_instance;
@@ -51668,8 +51669,8 @@
51668
51669
  while (true);
51669
51670
  };
51670
51671
  protoOf(sceneLifecycleMiddleware$o$handle$slambda).a2d = function ($this$launchDefault, completion) {
51671
- var i = new sceneLifecycleMiddleware$o$handle$slambda(this.c97_1, this.d97_1, this.e97_1, this.f97_1, this.g97_1, this.h97_1, completion);
51672
- i.i97_1 = $this$launchDefault;
51672
+ var i = new sceneLifecycleMiddleware$o$handle$slambda(this.d97_1, this.e97_1, this.f97_1, this.g97_1, this.h97_1, this.i97_1, completion);
51673
+ i.j97_1 = $this$launchDefault;
51673
51674
  return i;
51674
51675
  };
51675
51676
  function sceneLifecycleMiddleware$o$handle$slambda_0($action, $sceneFactory, $table, $router, $store, $sceneValidationInteractor, resultContinuation) {
@@ -51681,10 +51682,10 @@
51681
51682
  return l;
51682
51683
  }
51683
51684
  function sceneLifecycleMiddleware$$inlined$middlewareForActionType$1($asyncProvider, $sceneFactory, $router, $sceneValidationInteractor) {
51684
- this.k97_1 = $asyncProvider;
51685
- this.l97_1 = $sceneFactory;
51686
- this.m97_1 = $router;
51687
- this.n97_1 = $sceneValidationInteractor;
51685
+ this.l97_1 = $asyncProvider;
51686
+ this.m97_1 = $sceneFactory;
51687
+ this.n97_1 = $router;
51688
+ this.o97_1 = $sceneValidationInteractor;
51688
51689
  }
51689
51690
  protoOf(sceneLifecycleMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
51690
51691
  return action instanceof SceneLifecycleAction;
@@ -51693,7 +51694,7 @@
51693
51694
  var action_0 = action instanceof SceneLifecycleAction ? action : THROW_CCE();
51694
51695
  var table = store.state.n6n();
51695
51696
  next(action_0);
51696
- this.k97_1.f6c(VOID, sceneLifecycleMiddleware$o$handle$slambda_0(action_0, this.l97_1, table, this.m97_1, store, this.n97_1, null));
51697
+ this.l97_1.f6c(VOID, sceneLifecycleMiddleware$o$handle$slambda_0(action_0, this.m97_1, table, this.n97_1, store, this.o97_1, null));
51697
51698
  };
51698
51699
  protoOf(sceneLifecycleMiddleware$$inlined$middlewareForActionType$1).w6f = function (store, next, action) {
51699
51700
  return this.m6h(store, next, action);
@@ -51739,7 +51740,7 @@
51739
51740
  return new checkBotsMiddleware$$inlined$middlewareForActionType$1(logger);
51740
51741
  }
51741
51742
  function checkBotsMiddleware$$inlined$middlewareForActionType$1($logger) {
51742
- this.o97_1 = $logger;
51743
+ this.p97_1 = $logger;
51743
51744
  }
51744
51745
  protoOf(checkBotsMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
51745
51746
  return action instanceof SceneMechanicAction;
@@ -51787,7 +51788,7 @@
51787
51788
  var tmp$ret$2 = to(tmp_0, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.m67_1);
51788
51789
  destination.j(tmp$ret$2);
51789
51790
  }
51790
- this.o97_1.w('Validation', 'CheckBotsMiddleware: Only bots are playing: ' + toString(destination));
51791
+ this.p97_1.w('Validation', 'CheckBotsMiddleware: Only bots are playing: ' + toString(destination));
51791
51792
  }
51792
51793
  }
51793
51794
  next(action_0);
@@ -51800,7 +51801,7 @@
51800
51801
  return new checkCardDuplicatesForBribesMiddleware$$inlined$middlewareForActionType$1(logger);
51801
51802
  }
51802
51803
  function checkCardDuplicatesForBribesMiddleware$$inlined$middlewareForActionType$1($logger) {
51803
- this.p97_1 = $logger;
51804
+ this.q97_1 = $logger;
51804
51805
  }
51805
51806
  protoOf(checkCardDuplicatesForBribesMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
51806
51807
  return action instanceof PutCardMechanicAction;
@@ -51833,7 +51834,7 @@
51833
51834
  var bribes = destination;
51834
51835
  // Inline function 'kotlin.collections.isNotEmpty' call
51835
51836
  if (!bribes.r()) {
51836
- this.p97_1.w('Validation', 'Card already exists in previous bribes, card = ' + action_0.w8q_1.toString() + ', bribes = ' + toString(bribes));
51837
+ this.q97_1.w('Validation', 'Card already exists in previous bribes, card = ' + action_0.w8q_1.toString() + ', bribes = ' + toString(bribes));
51837
51838
  }
51838
51839
  }
51839
51840
  next(action_0);
@@ -51846,7 +51847,7 @@
51846
51847
  return new checkCardDuplicatesForScenesMiddleware$$inlined$middlewareForActionType$1(logger);
51847
51848
  }
51848
51849
  function checkCardDuplicatesForScenesMiddleware$$inlined$middlewareForActionType$1($logger) {
51849
- this.q97_1 = $logger;
51850
+ this.r97_1 = $logger;
51850
51851
  }
51851
51852
  protoOf(checkCardDuplicatesForScenesMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
51852
51853
  return action instanceof SceneMechanicAction;
@@ -52063,7 +52064,7 @@
52063
52064
  }
52064
52065
  var notValidMessage = tmp;
52065
52066
  if (!(notValidMessage == null)) {
52066
- this.q97_1.w('Validation', toString_0(notValidMessage));
52067
+ this.r97_1.w('Validation', toString_0(notValidMessage));
52067
52068
  }
52068
52069
  }
52069
52070
  }
@@ -52154,7 +52155,7 @@
52154
52155
  };
52155
52156
  }
52156
52157
  function checkGameIsFinishedTimerTickMiddleware$$inlined$middlewareForActionType$1($logger) {
52157
- this.r97_1 = $logger;
52158
+ this.s97_1 = $logger;
52158
52159
  }
52159
52160
  protoOf(checkGameIsFinishedTimerTickMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
52160
52161
  return action instanceof TimerTickAction;
@@ -52163,7 +52164,7 @@
52163
52164
  var action_0 = action instanceof TimerTickAction ? action : THROW_CCE();
52164
52165
  var tmp = action_0.t6f_1;
52165
52166
  if (tmp instanceof GameIsNotFinishedTimerTag) {
52166
- this.r97_1.w('Validation', 'CheckGameISNotFinishedMiddleware: finish event is nor received');
52167
+ this.s97_1.w('Validation', 'CheckGameISNotFinishedMiddleware: finish event is nor received');
52167
52168
  store.dispatch(new FinishGameMechanicAction(store.state.p8t().s8t_1, store.state.n6n().isGameFinished));
52168
52169
  }
52169
52170
  next(action_0);
@@ -52229,7 +52230,7 @@
52229
52230
  return new checkGameTestPointsMiddleware$$inlined$middlewareForActionType$1(logger);
52230
52231
  }
52231
52232
  function checkGameTestPointsMiddleware$$inlined$middlewareForActionType$1($logger) {
52232
- this.s97_1 = $logger;
52233
+ this.t97_1 = $logger;
52233
52234
  }
52234
52235
  protoOf(checkGameTestPointsMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
52235
52236
  return isInterface(action, FirstMechanicAction);
@@ -52237,7 +52238,7 @@
52237
52238
  protoOf(checkGameTestPointsMiddleware$$inlined$middlewareForActionType$1).m6h = function (store, next, action) {
52238
52239
  var action_0 = isInterface(action, FirstMechanicAction) ? action : THROW_CCE();
52239
52240
  if (action_0.config.pointsMode.equals(PointsMode_TEST_getInstance())) {
52240
- this.s97_1.e(VOID, "checkGameTestPointsMiddleware: can't start game with the test mode points");
52241
+ this.t97_1.e(VOID, "checkGameTestPointsMiddleware: can't start game with the test mode points");
52241
52242
  }
52242
52243
  next(action_0);
52243
52244
  };
@@ -52253,7 +52254,7 @@
52253
52254
  return new checkValidSceneActMiddleware$$inlined$middlewareForActionType$1(logger);
52254
52255
  }
52255
52256
  function checkValidSceneMiddleware$$inlined$middlewareForActionType$1($logger) {
52256
- this.t97_1 = $logger;
52257
+ this.u97_1 = $logger;
52257
52258
  }
52258
52259
  protoOf(checkValidSceneMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
52259
52260
  return action instanceof SceneMechanicAction;
@@ -52264,7 +52265,7 @@
52264
52265
  if (state.o6n()) {
52265
52266
  var sceneInfo = state.n6n().sceneInfo;
52266
52267
  if (!get_isWaitingScene(sceneInfo.u7t_1) && Companion_instance_5.v6n(sceneInfo.u7t_1, action_0.n8q_1) && equals(sceneInfo.x7t_1, action_0.sceneData)) {
52267
- this.t97_1.e('Validation', 'CheckValidSceneMiddleware', new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
52268
+ this.u97_1.e('Validation', 'CheckValidSceneMiddleware', new MechanicException('Scene is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
52268
52269
  }
52269
52270
  }
52270
52271
  next(action_0);
@@ -52273,7 +52274,7 @@
52273
52274
  return this.m6h(store, next, action);
52274
52275
  };
52275
52276
  function checkValidSceneActMiddleware$$inlined$middlewareForActionType$1($logger) {
52276
- this.u97_1 = $logger;
52277
+ this.v97_1 = $logger;
52277
52278
  }
52278
52279
  protoOf(checkValidSceneActMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
52279
52280
  return action instanceof SceneActMechanicAction;
@@ -52284,7 +52285,7 @@
52284
52285
  if (state.o6n()) {
52285
52286
  var sceneInfo = state.n6n().sceneInfo;
52286
52287
  if (Companion_instance_5.v6n(sceneInfo.u7t_1, action_0.f8q_1) && sceneInfo.w7t_1 === action_0.g8q_1 && equals(sceneInfo.y7t_1, action_0.h8q_1)) {
52287
- this.u97_1.e('Validation', 'CheckValidSceneActMiddleware', new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
52288
+ this.v97_1.e('Validation', 'CheckValidSceneActMiddleware', new MechanicException('SceneAct is already set: ' + ('expected = ' + sceneInfo.toString() + ', ') + ('actual = ' + action_0.toString())));
52288
52289
  }
52289
52290
  }
52290
52291
  next(action_0);
@@ -52344,7 +52345,7 @@
52344
52345
  tmp(new ErrorToClientAction(tmp4_error, tmp3_deliveryPayload));
52345
52346
  }
52346
52347
  function FromClientValidationMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
52347
- this.v97_1 = this$0;
52348
+ this.w97_1 = this$0;
52348
52349
  }
52349
52350
  protoOf(FromClientValidationMiddleware$middleware$$inlined$middlewareForActionType$1).x6f = function (action) {
52350
52351
  return action instanceof FromClientAction;
@@ -52370,18 +52371,18 @@
52370
52371
  var tmp$ret$1 = item.playerId;
52371
52372
  destination.j(tmp$ret$1);
52372
52373
  }
52373
- this.v97_1.j90_1.w(VOID, 'checkEventFromCorrectPlayerMiddleware: ' + tmp + ('expected = ' + toString(destination)));
52374
+ this.w97_1.j90_1.w(VOID, 'checkEventFromCorrectPlayerMiddleware: ' + tmp + ('expected = ' + toString(destination)));
52374
52375
  break $l$block_3;
52375
52376
  }
52376
52377
  if (!get_isCreated(store.state)) {
52377
52378
  if (table.sceneInfo.h7a()) {
52378
- this.v97_1.j90_1.d('Validation', "Player sends ready for next game but it's finished already, state: " + store.state.gameLifecycleState.toString() + ', action: ' + toString(tmp4));
52379
+ this.w97_1.j90_1.d('Validation', "Player sends ready for next game but it's finished already, state: " + store.state.gameLifecycleState.toString() + ', action: ' + toString(tmp4));
52379
52380
  } else {
52380
52381
  var message = 'Game is ' + store.state.gameLifecycleState.toString() + ', action: ' + toString(tmp4);
52381
- if (this.v97_1.l90_1) {
52382
- sendErrorToClient(this.v97_1, store, player.playerId, message, Reason_GAME_NOT_EXISTS_getInstance());
52382
+ if (this.w97_1.l90_1) {
52383
+ sendErrorToClient(this.w97_1, store, player.playerId, message, Reason_GAME_NOT_EXISTS_getInstance());
52383
52384
  }
52384
- this.v97_1.j90_1.w('Validation', message, VOID, new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
52385
+ this.w97_1.j90_1.w('Validation', message, VOID, new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
52385
52386
  }
52386
52387
  break $l$block_3;
52387
52388
  }
@@ -52389,18 +52390,18 @@
52389
52390
  var connectionState = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m67_1;
52390
52391
  if (!(connectionState == null) && !connectionState.isLive && !tmp4.fromBot) {
52391
52392
  var message_0 = 'Player connection state is not alive:' + ('playerId = ' + player.playerId);
52392
- if (this.v97_1.l90_1) {
52393
- sendErrorToClient(this.v97_1, store, player.playerId, message_0, Reason_PLAYER_DISCONNECTED_getInstance());
52393
+ if (this.w97_1.l90_1) {
52394
+ sendErrorToClient(this.w97_1, store, player.playerId, message_0, Reason_PLAYER_DISCONNECTED_getInstance());
52394
52395
  }
52395
- this.v97_1.j90_1.w('Validation', message_0 + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_PLAYER_DISCONNECTED_getInstance()));
52396
+ this.w97_1.j90_1.w('Validation', message_0 + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_PLAYER_DISCONNECTED_getInstance()));
52396
52397
  break $l$block_3;
52397
52398
  }
52398
- if (this.v97_1.k90_1 && checkIfEventIsDuplicated(this.v97_1, table, tmp4)) {
52399
+ if (this.w97_1.k90_1 && checkIfEventIsDuplicated(this.w97_1, table, tmp4)) {
52399
52400
  var message_1 = 'Player send duplicated event:' + ('playerId = ' + player.playerId);
52400
- if (this.v97_1.l90_1) {
52401
- sendErrorToClient(this.v97_1, store, player.playerId, message_1, Reason_DUPLICATED_PLAYER_ANSWER_getInstance());
52401
+ if (this.w97_1.l90_1) {
52402
+ sendErrorToClient(this.w97_1, store, player.playerId, message_1, Reason_DUPLICATED_PLAYER_ANSWER_getInstance());
52402
52403
  }
52403
- this.v97_1.j90_1.w('Validation', message_1 + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_DUPLICATED_PLAYER_ANSWER_getInstance()));
52404
+ this.w97_1.j90_1.w('Validation', message_1 + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_DUPLICATED_PLAYER_ANSWER_getInstance()));
52404
52405
  break $l$block_3;
52405
52406
  }
52406
52407
  next(tmp4);
@@ -52450,8 +52451,8 @@
52450
52451
  tmp(new ErrorToClientAction(tmp1_error, tmp0_deliveryPayload));
52451
52452
  }
52452
52453
  function PlayerConnectionValidationMiddlewares$middleware$$inlined$middlewareForActionType$1($enableCheckWhen, this$0) {
52453
- this.w97_1 = $enableCheckWhen;
52454
- this.x97_1 = this$0;
52454
+ this.x97_1 = $enableCheckWhen;
52455
+ this.y97_1 = this$0;
52455
52456
  }
52456
52457
  protoOf(PlayerConnectionValidationMiddlewares$middleware$$inlined$middlewareForActionType$1).x6f = function (action) {
52457
52458
  return action instanceof PlayerConnectionUpdateAction;
@@ -52460,7 +52461,7 @@
52460
52461
  var tmp4 = action instanceof PlayerConnectionUpdateAction ? action : THROW_CCE();
52461
52462
  $l$block_1: {
52462
52463
  var state = store.state;
52463
- if (!isEnabledCheck(this.w97_1, state, tmp4)) {
52464
+ if (!isEnabledCheck(this.x97_1, state, tmp4)) {
52464
52465
  next(tmp4);
52465
52466
  break $l$block_1;
52466
52467
  }
@@ -52476,23 +52477,23 @@
52476
52477
  var tmp$ret$1 = item.playerId;
52477
52478
  destination.j(tmp$ret$1);
52478
52479
  }
52479
- this.x97_1.r90_1.w(VOID, 'checkValidPlayerConnectionUpdateMiddleware: ' + tmp + ('expected = ' + toString(destination)));
52480
+ this.y97_1.r90_1.w(VOID, 'checkValidPlayerConnectionUpdateMiddleware: ' + tmp + ('expected = ' + toString(destination)));
52480
52481
  break $l$block_1;
52481
52482
  }
52482
52483
  var table = store.state.n6n();
52483
52484
  var player = getPlayer(table.players, tmp4.z8t_1);
52484
52485
  var tmp0_safe_receiver = player.o6q_1.g67_1;
52485
52486
  var connectionState = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m67_1;
52486
- var _destruct__k2r9zo = isDuplicateConnectionState(this.x97_1, connectionState, tmp4.y8t_1);
52487
+ var _destruct__k2r9zo = isDuplicateConnectionState(this.y97_1, connectionState, tmp4.y8t_1);
52487
52488
  var duplicate = _destruct__k2r9zo.ne();
52488
52489
  var report = _destruct__k2r9zo.oe();
52489
52490
  if (!(connectionState == null) && duplicate) {
52490
52491
  var message = 'Player connection state the same ' + connectionState.toString() + ':' + ('playerId = ' + player.playerId);
52491
52492
  if (report) {
52492
- if (this.x97_1.s90_1) {
52493
- sendErrorToClient_0(this.x97_1, store, player.playerId, message, Reason_PLAYER_DISCONNECTED_getInstance());
52493
+ if (this.y97_1.s90_1) {
52494
+ sendErrorToClient_0(this.y97_1, store, player.playerId, message, Reason_PLAYER_DISCONNECTED_getInstance());
52494
52495
  }
52495
- this.x97_1.r90_1.w('Validation', message + ', action: ' + tmp4.toString(), VOID, new GameErrorReason(Reason_PLAYER_DISCONNECTED_getInstance()));
52496
+ this.y97_1.r90_1.w('Validation', message + ', action: ' + tmp4.toString(), VOID, new GameErrorReason(Reason_PLAYER_DISCONNECTED_getInstance()));
52496
52497
  }
52497
52498
  break $l$block_1;
52498
52499
  } else {
@@ -52508,13 +52509,13 @@
52508
52509
  this.r90_1 = logger;
52509
52510
  this.s90_1 = sendErrorToClient;
52510
52511
  }
52511
- protoOf(PlayerConnectionValidationMiddlewares).y97 = function (enableCheckWhen) {
52512
+ protoOf(PlayerConnectionValidationMiddlewares).z97 = function (enableCheckWhen) {
52512
52513
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
52513
52514
  return new PlayerConnectionValidationMiddlewares$middleware$$inlined$middlewareForActionType$1(enableCheckWhen, this);
52514
52515
  };
52515
52516
  protoOf(PlayerConnectionValidationMiddlewares).t90 = function (enableCheckWhen, $super) {
52516
52517
  enableCheckWhen = enableCheckWhen === VOID ? emptyList() : enableCheckWhen;
52517
- return $super === VOID ? this.y97(enableCheckWhen) : $super.y97.call(this, enableCheckWhen);
52518
+ return $super === VOID ? this.z97(enableCheckWhen) : $super.z97.call(this, enableCheckWhen);
52518
52519
  };
52519
52520
  function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$o$handle$lambda(this$0, $action, $table) {
52520
52521
  return function () {
@@ -52659,8 +52660,8 @@
52659
52660
  tmp(new ErrorToClientAction(tmp1_error, tmp0_deliveryPayload));
52660
52661
  }
52661
52662
  function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$$inlined$middlewareForActionType$1($enableCheckWhen, this$0) {
52662
- this.z97_1 = $enableCheckWhen;
52663
- this.a98_1 = this$0;
52663
+ this.a98_1 = $enableCheckWhen;
52664
+ this.b98_1 = this$0;
52664
52665
  }
52665
52666
  protoOf(PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
52666
52667
  return isInterface(action, PlayerAnswerFromClientAction);
@@ -52669,19 +52670,19 @@
52669
52670
  var tmp4 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
52670
52671
  $l$block_1: {
52671
52672
  var state = store.state;
52672
- if (!isEnabledCheck(this.z97_1, state, tmp4)) {
52673
+ if (!isEnabledCheck(this.a98_1, state, tmp4)) {
52673
52674
  next(tmp4);
52674
52675
  break $l$block_1;
52675
52676
  }
52676
52677
  var table = state.n6n();
52677
52678
  var playersWithTurn = filterPlayerTurn(table.players);
52678
52679
  var player = getPlayer(table.players, tmp4.playerId);
52679
- if (isWrongPlayerTurn(this.a98_1, store, playersWithTurn, player, tmp4)) {
52680
+ if (isWrongPlayerTurn(this.b98_1, store, playersWithTurn, player, tmp4)) {
52680
52681
  break $l$block_1;
52681
52682
  }
52682
52683
  var tmp;
52683
- if (this.a98_1.c90_1.validateFromClientActionTags) {
52684
- tmp = isWrongPlayerTurnTag$default(this.a98_1, store, playersWithTurn, player, tmp4, PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$o$handle$lambda(this.a98_1, tmp4, table));
52684
+ if (this.b98_1.c90_1.validateFromClientActionTags) {
52685
+ tmp = isWrongPlayerTurnTag$default(this.b98_1, store, playersWithTurn, player, tmp4, PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerFromClientMiddleware$o$handle$lambda(this.b98_1, tmp4, table));
52685
52686
  } else {
52686
52687
  tmp = false;
52687
52688
  }
@@ -52695,8 +52696,8 @@
52695
52696
  return this.m6h(store, next, action);
52696
52697
  };
52697
52698
  function PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$$inlined$middlewareForActionType$1($enableCheckWhen, this$0) {
52698
- this.b98_1 = $enableCheckWhen;
52699
- this.c98_1 = this$0;
52699
+ this.c98_1 = $enableCheckWhen;
52700
+ this.d98_1 = this$0;
52700
52701
  }
52701
52702
  protoOf(PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
52702
52703
  return isInterface(action, PlayerTurnAnswerAction);
@@ -52706,17 +52707,17 @@
52706
52707
  $l$block_1: {
52707
52708
  var table = store.state.n6n();
52708
52709
  var player = getPlayerTurn(tmp4, table.players);
52709
- if (player == null || !isEnabledCheck(this.b98_1, store.state, tmp4)) {
52710
+ if (player == null || !isEnabledCheck(this.c98_1, store.state, tmp4)) {
52710
52711
  next(tmp4);
52711
52712
  break $l$block_1;
52712
52713
  }
52713
52714
  var playersWithTurn = filterPlayerTurn(table.players);
52714
- if (isWrongPlayerTurn(this.c98_1, store, playersWithTurn, player, tmp4)) {
52715
+ if (isWrongPlayerTurn(this.d98_1, store, playersWithTurn, player, tmp4)) {
52715
52716
  break $l$block_1;
52716
52717
  }
52717
52718
  var tmp;
52718
- if (this.c98_1.c90_1.validateFromClientActionTags) {
52719
- tmp = isWrongPlayerTurnTag(this.c98_1, store, playersWithTurn, player, tmp4, PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$o$handle$lambda(this.c98_1, tmp4, table), this.c98_1.b90_1);
52719
+ if (this.d98_1.c90_1.validateFromClientActionTags) {
52720
+ tmp = isWrongPlayerTurnTag(this.d98_1, store, playersWithTurn, player, tmp4, PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$o$handle$lambda(this.d98_1, tmp4, table), this.d98_1.b90_1);
52720
52721
  } else {
52721
52722
  tmp = false;
52722
52723
  }
@@ -52730,8 +52731,8 @@
52730
52731
  return this.m6h(store, next, action);
52731
52732
  };
52732
52733
  function PlayerTurnValidationMiddlewares$checkValidNextPlayerTurnMiddleware$$inlined$middlewareForActionType$1($enableCheckWhen, this$0) {
52733
- this.d98_1 = $enableCheckWhen;
52734
- this.e98_1 = this$0;
52734
+ this.e98_1 = $enableCheckWhen;
52735
+ this.f98_1 = this$0;
52735
52736
  }
52736
52737
  protoOf(PlayerTurnValidationMiddlewares$checkValidNextPlayerTurnMiddleware$$inlined$middlewareForActionType$1).x6f = function (action) {
52737
52738
  return isInterface(action, NextPlayerTurnAction);
@@ -52740,7 +52741,7 @@
52740
52741
  var tmp4 = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
52741
52742
  $l$block_1: {
52742
52743
  var state = store.state;
52743
- if (!isEnabledCheck(this.d98_1, state, tmp4)) {
52744
+ if (!isEnabledCheck(this.e98_1, state, tmp4)) {
52744
52745
  next(tmp4);
52745
52746
  break $l$block_1;
52746
52747
  }
@@ -52775,7 +52776,7 @@
52775
52776
  destination.j(tmp$ret$3);
52776
52777
  }
52777
52778
  var message = 'Player turn is already set: ' + ('expected = ' + toString(destination) + ', ') + ('actual = ' + toString(tmp4.l8x()));
52778
- this.e98_1.d90_1.w('Validation', message + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
52779
+ this.f98_1.d90_1.w('Validation', message + ', action: ' + toString(tmp4), VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
52779
52780
  } else {
52780
52781
  next(tmp4);
52781
52782
  }
@@ -52803,23 +52804,23 @@
52803
52804
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
52804
52805
  return new PlayerTurnValidationMiddlewares$checkValidTurnWhenAnswerMiddleware$$inlined$middlewareForActionType$1(enableCheckWhen, this);
52805
52806
  };
52806
- protoOf(PlayerTurnValidationMiddlewares).f98 = function (enableCheckWhen) {
52807
+ protoOf(PlayerTurnValidationMiddlewares).g98 = function (enableCheckWhen) {
52807
52808
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
52808
52809
  return new PlayerTurnValidationMiddlewares$checkValidNextPlayerTurnMiddleware$$inlined$middlewareForActionType$1(enableCheckWhen, this);
52809
52810
  };
52810
52811
  protoOf(PlayerTurnValidationMiddlewares).h90 = function (enableCheckWhen, $super) {
52811
52812
  enableCheckWhen = enableCheckWhen === VOID ? emptyList() : enableCheckWhen;
52812
- return $super === VOID ? this.f98(enableCheckWhen) : $super.f98.call(this, enableCheckWhen);
52813
+ return $super === VOID ? this.g98(enableCheckWhen) : $super.g98.call(this, enableCheckWhen);
52813
52814
  };
52814
52815
  function Companion_163() {
52815
- this.g98_1 = 50;
52816
+ this.h98_1 = 50;
52816
52817
  }
52817
52818
  var Companion_instance_168;
52818
52819
  function Companion_getInstance_170() {
52819
52820
  return Companion_instance_168;
52820
52821
  }
52821
52822
  function ToClientValidationMiddleware$middleware$$inlined$middlewareForActionType$1(this$0) {
52822
- this.h98_1 = this$0;
52823
+ this.i98_1 = this$0;
52823
52824
  }
52824
52825
  protoOf(ToClientValidationMiddleware$middleware$$inlined$middlewareForActionType$1).x6f = function (action) {
52825
52826
  return action instanceof MechanicAction;
@@ -52830,19 +52831,19 @@
52830
52831
  var aid = tmp4.aid;
52831
52832
  if (!store.state.o6n()) {
52832
52833
  if (!(aid == null)) {
52833
- this.h98_1.o90_1.nd(aid);
52834
+ this.i98_1.o90_1.nd(aid);
52834
52835
  }
52835
52836
  next(tmp4);
52836
52837
  break $l$block_0;
52837
52838
  }
52838
- if (!(aid == null) && this.h98_1.o90_1.t1(aid)) {
52839
- this.h98_1.n90_1.w(VOID, 'ToClientValidationMiddleware: duplicated action from server, action = ' + parseActionName(tmp4) + ', aid = ' + tmp4.aid);
52839
+ if (!(aid == null) && this.i98_1.o90_1.t1(aid)) {
52840
+ this.i98_1.n90_1.w(VOID, 'ToClientValidationMiddleware: duplicated action from server, action = ' + parseActionName(tmp4) + ', aid = ' + tmp4.aid);
52840
52841
  break $l$block_0;
52841
52842
  }
52842
52843
  if (!(aid == null)) {
52843
- this.h98_1.o90_1.nd(aid);
52844
- if (this.h98_1.o90_1.jd_1 > 50) {
52845
- this.h98_1.o90_1.od();
52844
+ this.i98_1.o90_1.nd(aid);
52845
+ if (this.i98_1.o90_1.jd_1 > 50) {
52846
+ this.i98_1.o90_1.od();
52846
52847
  }
52847
52848
  }
52848
52849
  next(tmp4);
@@ -52868,12 +52869,12 @@
52868
52869
  protoOf(clearReducer$$inlined$reducerForActionType$1).x6f = function (action) {
52869
52870
  return action instanceof ClearAction;
52870
52871
  };
52871
- protoOf(clearReducer$$inlined$reducerForActionType$1).i98 = function (state, action) {
52872
+ protoOf(clearReducer$$inlined$reducerForActionType$1).j98 = function (state, action) {
52872
52873
  action instanceof ClearAction || THROW_CCE();
52873
52874
  return state.r8t(VOID, VOID, GameLifecycleState_FINISHED_getInstance());
52874
52875
  };
52875
52876
  protoOf(clearReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
52876
- return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
52877
+ return this.j98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
52877
52878
  };
52878
52879
  function fromClientReducer() {
52879
52880
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
@@ -52884,7 +52885,7 @@
52884
52885
  protoOf(fromClientReducer$$inlined$reducerForActionType$1).x6f = function (action) {
52885
52886
  return action instanceof FromClientAction;
52886
52887
  };
52887
- protoOf(fromClientReducer$$inlined$reducerForActionType$1).i98 = function (state, action) {
52888
+ protoOf(fromClientReducer$$inlined$reducerForActionType$1).j98 = function (state, action) {
52888
52889
  var action_0 = action instanceof FromClientAction ? action : THROW_CCE();
52889
52890
  var tmp;
52890
52891
  var tmp_0;
@@ -52935,11 +52936,11 @@
52935
52936
  return tmp;
52936
52937
  };
52937
52938
  protoOf(fromClientReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
52938
- return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
52939
+ return this.j98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
52939
52940
  };
52940
52941
  function MechanicReducers$reducer$o$reduce$lambda(this$0, $action) {
52941
52942
  return function (tbl) {
52942
- return this$0.h8z_1.p98(tbl, $action.n8q_1, $action.sceneData, $action.o8q_1, $action.p8q_1);
52943
+ return this$0.h8z_1.q98(tbl, $action.n8q_1, $action.sceneData, $action.o8q_1, $action.p8q_1);
52943
52944
  };
52944
52945
  }
52945
52946
  function MechanicReducers$reducer$o$reduce$lambda_0($action, this$0) {
@@ -52948,22 +52949,22 @@
52948
52949
  if ($action.o8q_1 == null) {
52949
52950
  tmp = tbl;
52950
52951
  } else {
52951
- tmp = this$0.i8z_1.q98(tbl, $action);
52952
+ tmp = this$0.i8z_1.r98(tbl, $action);
52952
52953
  }
52953
52954
  return tmp;
52954
52955
  };
52955
52956
  }
52956
52957
  function MechanicReducers$reducer$$inlined$reducerForActionType$1(this$0) {
52957
- this.r98_1 = this$0;
52958
+ this.s98_1 = this$0;
52958
52959
  }
52959
52960
  protoOf(MechanicReducers$reducer$$inlined$reducerForActionType$1).x6f = function (action) {
52960
52961
  return action instanceof MechanicAction;
52961
52962
  };
52962
- protoOf(MechanicReducers$reducer$$inlined$reducerForActionType$1).i98 = function (state, action) {
52963
+ protoOf(MechanicReducers$reducer$$inlined$reducerForActionType$1).j98 = function (state, action) {
52963
52964
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
52964
- if (this.r98_1.j8z_1.validateIfMainThread) {
52965
+ if (this.s98_1.j8z_1.validateIfMainThread) {
52965
52966
  // Inline function 'games.logic.utils.runSafeOnProd' call
52966
- var logger = this.r98_1.k8z_1;
52967
+ var logger = this.s98_1.k8z_1;
52967
52968
  var tmp;
52968
52969
  try {
52969
52970
  assertIfMainThread('mechanicReducer is called from main thread for action = ' + toString(action_0));
@@ -52984,50 +52985,50 @@
52984
52985
  }
52985
52986
  var tmp_1;
52986
52987
  if (action_0 instanceof StartGameMechanicAction) {
52987
- tmp_1 = this.r98_1.b8z_1.u99(state, action_0);
52988
+ tmp_1 = this.s98_1.b8z_1.v99(state, action_0);
52988
52989
  } else {
52989
52990
  if (action_0 instanceof StartNewGameMechanicAction) {
52990
- tmp_1 = this.r98_1.b8z_1.t99(state, action_0);
52991
+ tmp_1 = this.s98_1.b8z_1.u99(state, action_0);
52991
52992
  } else {
52992
52993
  if (action_0 instanceof ContinueGameMechanicAction) {
52993
- tmp_1 = this.r98_1.b8z_1.s99(state, action_0);
52994
+ tmp_1 = this.s98_1.b8z_1.t99(state, action_0);
52994
52995
  } else {
52995
52996
  if (action_0 instanceof FinishingGameMechanicAction) {
52996
- tmp_1 = this.r98_1.b8z_1.r99(state, action_0);
52997
+ tmp_1 = this.s98_1.b8z_1.s99(state, action_0);
52997
52998
  } else {
52998
52999
  if (action_0 instanceof FinishGameMechanicAction) {
52999
- tmp_1 = this.r98_1.b8z_1.q99(state, action_0);
53000
+ tmp_1 = this.s98_1.b8z_1.r99(state, action_0);
53000
53001
  } else {
53001
53002
  if (action_0 instanceof RestartGameMechanicAction) {
53002
- tmp_1 = this.r98_1.b8z_1.p99(state, action_0);
53003
+ tmp_1 = this.s98_1.b8z_1.q99(state, action_0);
53003
53004
  } else {
53004
53005
  if (action_0 instanceof ErrorAction) {
53005
- tmp_1 = this.r98_1.b8z_1.o99(state, action_0);
53006
+ tmp_1 = this.s98_1.b8z_1.p99(state, action_0);
53006
53007
  } else {
53007
53008
  if (action_0 instanceof TeamsDataMechanicAction) {
53008
- tmp_1 = state.r8t(state.n6n().copy(VOID, VOID, VOID, VOID, this.r98_1.c8z_1.n99(state.n6n().players, action_0)));
53009
+ tmp_1 = state.r8t(state.n6n().copy(VOID, VOID, VOID, VOID, this.s98_1.c8z_1.o99(state.n6n().players, action_0)));
53009
53010
  } else {
53010
53011
  if (action_0 instanceof SuitChoiceMechanicAction) {
53011
- tmp_1 = this.r98_1.d8z_1.m99(state, action_0);
53012
+ tmp_1 = this.s98_1.d8z_1.n99(state, action_0);
53012
53013
  } else {
53013
53014
  if (action_0 instanceof TrumpMechanicAction) {
53014
- tmp_1 = this.r98_1.d8z_1.l99(state, action_0);
53015
+ tmp_1 = this.s98_1.d8z_1.m99(state, action_0);
53015
53016
  } else {
53016
53017
  if (action_0 instanceof CombinationChoiceMechanicAction) {
53017
- tmp_1 = this.r98_1.f8z_1.i99(state, action_0);
53018
+ tmp_1 = this.s98_1.f8z_1.j99(state, action_0);
53018
53019
  } else {
53019
53020
  if (action_0 instanceof PutCardMechanicAction) {
53020
- tmp_1 = this.r98_1.e8z_1.h99(state, action_0);
53021
+ tmp_1 = this.s98_1.e8z_1.i99(state, action_0);
53021
53022
  } else {
53022
53023
  if (action_0 instanceof PickUpBribeMechanicAction) {
53023
- tmp_1 = this.r98_1.e8z_1.g99(state, action_0);
53024
+ tmp_1 = this.s98_1.e8z_1.h99(state, action_0);
53024
53025
  } else {
53025
53026
  if (action_0 instanceof WinnerCombinationsMechanicAction) {
53026
- tmp_1 = this.r98_1.f8z_1.y98(state, action_0);
53027
+ tmp_1 = this.s98_1.f8z_1.z98(state, action_0);
53027
53028
  } else {
53028
53029
  if (action_0 instanceof SceneMechanicAction) {
53029
- var tmp_2 = MechanicReducers$reducer$o$reduce$lambda(this.r98_1, action_0);
53030
- var tmp0 = listOf_0([tmp_2, MechanicReducers$reducer$o$reduce$lambda_0(action_0, this.r98_1)]);
53030
+ var tmp_2 = MechanicReducers$reducer$o$reduce$lambda(this.s98_1, action_0);
53031
+ var tmp0 = listOf_0([tmp_2, MechanicReducers$reducer$o$reduce$lambda_0(action_0, this.s98_1)]);
53031
53032
  // Inline function 'kotlin.collections.fold' call
53032
53033
  var accumulator = state.n6n();
53033
53034
  var _iterator__ex2g4s = tmp0.l();
@@ -53039,13 +53040,13 @@
53039
53040
  tmp_1 = state.r8t(tmp$ret$3);
53040
53041
  } else {
53041
53042
  if (action_0 instanceof SceneActMechanicAction) {
53042
- tmp_1 = state.r8t(this.r98_1.i8z_1.q98(state.n6n(), action_0));
53043
+ tmp_1 = state.r8t(this.s98_1.i8z_1.r98(state.n6n(), action_0));
53043
53044
  } else {
53044
53045
  if (action_0 instanceof PlayerReadyMechanicAction) {
53045
- tmp_1 = state.r8t(this.r98_1.g8z_1.s98(state.n6n(), action_0));
53046
+ tmp_1 = state.r8t(this.s98_1.g8z_1.t98(state.n6n(), action_0));
53046
53047
  } else {
53047
53048
  if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
53048
- tmp_1 = state.r8t(this.r98_1.g8z_1.c8q(state.n6n(), action_0.playerId, action_0.state, action_0.reconnectUntilTime));
53049
+ tmp_1 = state.r8t(this.s98_1.g8z_1.c8q(state.n6n(), action_0.playerId, action_0.state, action_0.reconnectUntilTime));
53049
53050
  } else {
53050
53051
  if (action_0 instanceof MessageMechanicAction) {
53051
53052
  tmp_1 = state;
@@ -53073,7 +53074,7 @@
53073
53074
  return tmp_1;
53074
53075
  };
53075
53076
  protoOf(MechanicReducers$reducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
53076
- return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
53077
+ return this.j98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
53077
53078
  };
53078
53079
  function MechanicReducers(gameLifecycleReducer, teamsMechanicReducer, tradeMechanicReducer, earnPointsMechanicReducer, combinationsMechanicReducer, playerTurnMechanicReducer, sceneReducer, sceneActReducer, engineLogicConfig, logger) {
53079
53080
  this.b8z_1 = gameLifecycleReducer;
@@ -53100,7 +53101,7 @@
53100
53101
  protoOf(timerReducer$$inlined$reducerForActionType$1).x6f = function (action) {
53101
53102
  return action instanceof TimerAction;
53102
53103
  };
53103
- protoOf(timerReducer$$inlined$reducerForActionType$1).i98 = function (state, action) {
53104
+ protoOf(timerReducer$$inlined$reducerForActionType$1).j98 = function (state, action) {
53104
53105
  var action_0 = action instanceof TimerAction ? action : THROW_CCE();
53105
53106
  var tmp;
53106
53107
  if (action_0 instanceof StartTimerAction) {
@@ -53128,7 +53129,7 @@
53128
53129
  return tmp;
53129
53130
  };
53130
53131
  protoOf(timerReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
53131
- return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
53132
+ return this.j98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
53132
53133
  };
53133
53134
  function playerTurnReducer($this, action, table) {
53134
53135
  var tmp0 = action.actData;
@@ -53233,7 +53234,7 @@
53233
53234
  }
53234
53235
  function SceneActReducer() {
53235
53236
  }
53236
- protoOf(SceneActReducer).q98 = function (table, action) {
53237
+ protoOf(SceneActReducer).r98 = function (table, action) {
53237
53238
  var tmp;
53238
53239
  if (action.actId === 'WAITING_ACT') {
53239
53240
  tmp = table.copy(VOID, VOID, VOID, VOID, VOID, VOID, table.sceneInfo.l8f(VOID, VOID, action.actId, VOID, action.actData));
@@ -53270,47 +53271,47 @@
53270
53271
  function MechanicLifecycleReducer() {
53271
53272
  }
53272
53273
  function BaseMechanicLifecycleReducer(tableLifecycleReducer, randomPoolProvider) {
53273
- this.v99_1 = tableLifecycleReducer;
53274
- this.w99_1 = randomPoolProvider;
53274
+ this.w99_1 = tableLifecycleReducer;
53275
+ this.x99_1 = randomPoolProvider;
53275
53276
  }
53276
- protoOf(BaseMechanicLifecycleReducer).s99 = function (state, action) {
53277
+ protoOf(BaseMechanicLifecycleReducer).t99 = function (state, action) {
53277
53278
  var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
53278
53279
  var tmp1_tableOrNull = action.w8u_1;
53279
53280
  var tmp2_payload = action.y8u_1;
53280
53281
  return state.r8t(tmp1_tableOrNull, tmp2_payload, tmp0_gameLifecycleState, null);
53281
53282
  };
53282
- protoOf(BaseMechanicLifecycleReducer).t99 = function (state, action) {
53283
- this.w99_1.l58(action.previousGameId);
53283
+ protoOf(BaseMechanicLifecycleReducer).u99 = function (state, action) {
53284
+ this.x99_1.l58(action.previousGameId);
53284
53285
  return state;
53285
53286
  };
53286
- protoOf(BaseMechanicLifecycleReducer).r99 = function (state, action) {
53287
+ protoOf(BaseMechanicLifecycleReducer).s99 = function (state, action) {
53287
53288
  var tmp0_safe_receiver = state.l6m_1;
53288
53289
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gameId;
53289
53290
  if (tmp1_safe_receiver == null)
53290
53291
  null;
53291
53292
  else {
53292
53293
  // Inline function 'kotlin.apply' call
53293
- this.w99_1.l58(tmp1_safe_receiver);
53294
+ this.x99_1.l58(tmp1_safe_receiver);
53294
53295
  }
53295
53296
  return state.r8t(VOID, VOID, GameLifecycleState_FINISHING_getInstance(), new TerminationState(action.a8v_1, action.c8v_1));
53296
53297
  };
53297
- protoOf(BaseMechanicLifecycleReducer).q99 = function (state, action) {
53298
+ protoOf(BaseMechanicLifecycleReducer).r99 = function (state, action) {
53298
53299
  var tmp = GameLifecycleState_FINISHED_getInstance();
53299
53300
  var tmp0_safe_receiver = state.n6m_1;
53300
53301
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.v8t(action.e8v_1);
53301
53302
  return state.r8t(VOID, VOID, tmp, tmp1_elvis_lhs == null ? new TerminationState(action.e8v_1) : tmp1_elvis_lhs);
53302
53303
  };
53303
- protoOf(BaseMechanicLifecycleReducer).p99 = function (state, action) {
53304
- return state.r8t(this.v99_1.x99(state.n6n()));
53304
+ protoOf(BaseMechanicLifecycleReducer).q99 = function (state, action) {
53305
+ return state.r8t(this.w99_1.y99(state.n6n()));
53305
53306
  };
53306
- protoOf(BaseMechanicLifecycleReducer).o99 = function (state, action) {
53307
+ protoOf(BaseMechanicLifecycleReducer).p99 = function (state, action) {
53307
53308
  var tmp0_safe_receiver = state.l6m_1;
53308
53309
  var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gameId;
53309
53310
  if (tmp1_safe_receiver == null)
53310
53311
  null;
53311
53312
  else {
53312
53313
  // Inline function 'kotlin.apply' call
53313
- this.w99_1.l58(tmp1_safe_receiver);
53314
+ this.x99_1.l58(tmp1_safe_receiver);
53314
53315
  }
53315
53316
  var tmp = GameLifecycleState_FINISHED_getInstance();
53316
53317
  var tmp2_safe_receiver = state.n6m_1;
@@ -53330,19 +53331,19 @@
53330
53331
  return value1.id === value2.id;
53331
53332
  }
53332
53333
  function PlayerHandReducer(pointsInteractor, playerHappinessProvider, logger, dealerConfig) {
53333
- this.y99_1 = pointsInteractor;
53334
- this.z99_1 = playerHappinessProvider;
53335
- this.a9a_1 = logger;
53336
- this.b9a_1 = dealerConfig;
53334
+ this.z99_1 = pointsInteractor;
53335
+ this.a9a_1 = playerHappinessProvider;
53336
+ this.b9a_1 = logger;
53337
+ this.c9a_1 = dealerConfig;
53337
53338
  }
53338
- protoOf(PlayerHandReducer).c9a = function (playerId, hand, cards, combinations, selectedTrump, config) {
53339
+ protoOf(PlayerHandReducer).d9a = function (playerId, hand, cards, combinations, selectedTrump, config) {
53339
53340
  // Inline function 'kotlin.collections.map' call
53340
53341
  // Inline function 'kotlin.collections.mapTo' call
53341
53342
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(combinations, 10));
53342
53343
  var _iterator__ex2g4s = combinations.l();
53343
53344
  while (_iterator__ex2g4s.m()) {
53344
53345
  var item = _iterator__ex2g4s.n();
53345
- var tmp$ret$0 = mapToRecord(item, this.y99_1.u8n(item));
53346
+ var tmp$ret$0 = mapToRecord(item, this.z99_1.u8n(item));
53346
53347
  destination.j(tmp$ret$0);
53347
53348
  }
53348
53349
  var combinationRecords = destination;
@@ -53377,8 +53378,8 @@
53377
53378
  return hand.b6y(VOID, VOID, plus(hand.a6v_1, combinationRecords), plus(hand.b6v_1, combinationRecords));
53378
53379
  }
53379
53380
  var tmp0_elvis_lhs = config.dealerStrategy;
53380
- var dealerStrategy = tmp0_elvis_lhs == null ? this.b9a_1.dealerStrategy : tmp0_elvis_lhs;
53381
- var tmp_0 = this.y99_1.t8n(cards, selectedTrump, dealerStrategy);
53381
+ var dealerStrategy = tmp0_elvis_lhs == null ? this.c9a_1.dealerStrategy : tmp0_elvis_lhs;
53382
+ var tmp_0 = this.z99_1.t8n(cards, selectedTrump, dealerStrategy);
53382
53383
  // Inline function 'kotlin.collections.map' call
53383
53384
  // Inline function 'kotlin.collections.mapTo' call
53384
53385
  var destination_0 = ArrayList_init_$Create$(collectionSizeOrDefault(combinationRecords, 10));
@@ -53389,11 +53390,11 @@
53389
53390
  destination_0.j(tmp$ret$5);
53390
53391
  }
53391
53392
  var value = tmp_0 + sum(destination_0);
53392
- var luckyFactor = this.z99_1.x8h(value, config.playersMode, dealerStrategy);
53393
- Companion_instance_164.s8n(this.a9a_1, 'equalise: earn points for = ' + playerId + ' ' + ('factor: ' + luckyFactor + ', ') + ('currentFactor: ' + hand.i6v() + ', ') + ('value: ' + value + ', ') + ('combinations: ' + combinations.o() + ', '));
53393
+ var luckyFactor = this.a9a_1.x8h(value, config.playersMode, dealerStrategy);
53394
+ Companion_instance_164.s8n(this.b9a_1, 'equalise: earn points for = ' + playerId + ' ' + ('factor: ' + luckyFactor + ', ') + ('currentFactor: ' + hand.i6v() + ', ') + ('value: ' + value + ', ') + ('combinations: ' + combinations.o() + ', '));
53394
53395
  return hand.b6y(VOID, plus(hand.z6u_1, listOf(Companion_instance_17.v6x(luckyFactor, value))), plus(hand.a6v_1, combinationRecords), plus(hand.b6v_1, combinationRecords));
53395
53396
  };
53396
- protoOf(PlayerHandReducer).d9a = function (hand, combinations) {
53397
+ protoOf(PlayerHandReducer).e9a = function (hand, combinations) {
53397
53398
  // Inline function 'kotlin.collections.map' call
53398
53399
  var this_0 = filterWithFirstCardOrBela(combinations);
53399
53400
  // Inline function 'kotlin.collections.mapTo' call
@@ -53401,20 +53402,20 @@
53401
53402
  var _iterator__ex2g4s = this_0.l();
53402
53403
  while (_iterator__ex2g4s.m()) {
53403
53404
  var item = _iterator__ex2g4s.n();
53404
- var tmp$ret$0 = mapToRecord(item, this.y99_1.u8n(item));
53405
+ var tmp$ret$0 = mapToRecord(item, this.z99_1.u8n(item));
53405
53406
  destination.j(tmp$ret$0);
53406
53407
  }
53407
53408
  var combinationRecords = destination;
53408
53409
  var tmp = updateOrAddItems(hand.a6v_1, combinationRecords, PlayerHandReducer$playerHandCombinationsReducer$lambda);
53409
53410
  return hand.b6y(VOID, VOID, tmp, updateOrAddItems(hand.b6v_1, combinationRecords, PlayerHandReducer$playerHandCombinationsReducer$lambda_0));
53410
53411
  };
53411
- protoOf(PlayerHandReducer).e9a = function (playerId, hand, updatedCombinations, config) {
53412
+ protoOf(PlayerHandReducer).f9a = function (playerId, hand, updatedCombinations, config) {
53412
53413
  if (updatedCombinations.r()) {
53413
53414
  return hand;
53414
53415
  }
53415
53416
  var previousFactor = hand.l6v();
53416
53417
  if (previousFactor.k6v_1 === 0.0) {
53417
- return this.d9a(hand, updatedCombinations);
53418
+ return this.e9a(hand, updatedCombinations);
53418
53419
  }
53419
53420
  // Inline function 'kotlin.collections.map' call
53420
53421
  // Inline function 'kotlin.collections.mapTo' call
@@ -53422,7 +53423,7 @@
53422
53423
  var _iterator__ex2g4s = updatedCombinations.l();
53423
53424
  while (_iterator__ex2g4s.m()) {
53424
53425
  var item = _iterator__ex2g4s.n();
53425
- var tmp$ret$0 = mapToRecord(item, this.y99_1.u8n(item));
53426
+ var tmp$ret$0 = mapToRecord(item, this.z99_1.u8n(item));
53426
53427
  destination.j(tmp$ret$0);
53427
53428
  }
53428
53429
  var updatedCombinationRecords = destination;
@@ -53482,9 +53483,9 @@
53482
53483
  }
53483
53484
  var updatedValue = tmp_0 + sum(destination_2);
53484
53485
  var tmp0_elvis_lhs = config.dealerStrategy;
53485
- var dealerStrategy = tmp0_elvis_lhs == null ? this.b9a_1.dealerStrategy : tmp0_elvis_lhs;
53486
- var updatedLuckyFactor = this.z99_1.x8h(updatedValue, config.playersMode, dealerStrategy);
53487
- Companion_instance_164.s8n(this.a9a_1, 'playerHand: update combinations value for = ' + playerId + ' ' + ('factor: ' + updatedLuckyFactor + ', ') + ('currentFactor: ' + hand.i6v() + ', ') + ('value: ' + updatedValue + ', '));
53486
+ var dealerStrategy = tmp0_elvis_lhs == null ? this.c9a_1.dealerStrategy : tmp0_elvis_lhs;
53487
+ var updatedLuckyFactor = this.a9a_1.x8h(updatedValue, config.playersMode, dealerStrategy);
53488
+ Companion_instance_164.s8n(this.b9a_1, 'playerHand: update combinations value for = ' + playerId + ' ' + ('factor: ' + updatedLuckyFactor + ', ') + ('currentFactor: ' + hand.i6v() + ', ') + ('value: ' + updatedValue + ', '));
53488
53489
  // Inline function 'kotlin.collections.map' call
53489
53490
  var this_0 = hand.z6u_1;
53490
53491
  // Inline function 'kotlin.collections.mapTo' call
@@ -53514,7 +53515,7 @@
53514
53515
  protoOf(PlayerSceneReducer).t8s = function (player, cards, whoShuffleCardsPlayerId) {
53515
53516
  return player.t6u(VOID, VOID, cards, player.q6q_1.v6y(VOID, VOID, VOID, player.playerId === whoShuffleCardsPlayerId));
53516
53517
  };
53517
- protoOf(PlayerSceneReducer).f9a = function (player, distributedCards, combinations, config, players, selectedTrump) {
53518
+ protoOf(PlayerSceneReducer).g9a = function (player, distributedCards, combinations, config, players, selectedTrump) {
53518
53519
  // Inline function 'kotlin.collections.map' call
53519
53520
  // Inline function 'kotlin.collections.mapTo' call
53520
53521
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(combinations, 10));
@@ -53527,7 +53528,7 @@
53527
53528
  }
53528
53529
  var detailedCombinations = destination;
53529
53530
  var cards = plus(player.p6q_1, distributedCards);
53530
- var hand = this.s8s_1.c9a(player.playerId, player.r6q_1, cards, detailedCombinations, selectedTrump, config);
53531
+ var hand = this.s8s_1.d9a(player.playerId, player.r6q_1, cards, detailedCombinations, selectedTrump, config);
53531
53532
  var tmp;
53532
53533
  // Inline function 'kotlin.collections.isNotEmpty' call
53533
53534
  if (!combinations.r()) {
@@ -53538,7 +53539,7 @@
53538
53539
  var tmp0_points = tmp;
53539
53540
  return player.t6u(VOID, VOID, cards, VOID, hand, tmp0_points);
53540
53541
  };
53541
- protoOf(PlayerSceneReducer).g9a = function (player, sceneData) {
53542
+ protoOf(PlayerSceneReducer).h9a = function (player, sceneData) {
53542
53543
  // Inline function 'kotlin.collections.single' call
53543
53544
  var single = null;
53544
53545
  var found = false;
@@ -53580,7 +53581,7 @@
53580
53581
  var tmp10_earnedPoints = playerPointsCell.s70_1;
53581
53582
  var tmp11_earnedCards = emptyList();
53582
53583
  var tmp14_points = new PlayerPoints(tmp10_earnedPoints, updatedCombinations, tmp11_earnedCards);
53583
- var tmp15_hand = this.s8s_1.d9a(player.r6q_1, updatedCombinations);
53584
+ var tmp15_hand = this.s8s_1.e9a(player.r6q_1, updatedCombinations);
53584
53585
  return player.t6u(tmp12_userInfo, VOID, VOID, tmp13_options, tmp15_hand, tmp14_points);
53585
53586
  };
53586
53587
  function refreshStartFromTime($this, playerState, config) {
@@ -53625,7 +53626,7 @@
53625
53626
  this.y8p_1 = gameHistoryReducer;
53626
53627
  this.z8p_1 = engineLogicConfig;
53627
53628
  }
53628
- protoOf(PlayerTurnMechanicReducer).h9a = function (table, model) {
53629
+ protoOf(PlayerTurnMechanicReducer).i9a = function (table, model) {
53629
53630
  // Inline function 'com.logic.utils.copy' call
53630
53631
  var this_0 = table.players;
53631
53632
  // Inline function 'kotlin.apply' call
@@ -53653,7 +53654,7 @@
53653
53654
  this.x8p_1.d('PlayerTurn', tmp_1 + ('currentTurn = ' + joinToString(tmp_2, VOID, VOID, VOID, VOID, VOID, PlayerTurnMechanicReducer$onPlayerTurn$lambda)));
53654
53655
  return newTable;
53655
53656
  };
53656
- protoOf(PlayerTurnMechanicReducer).i9a = function (table, model) {
53657
+ protoOf(PlayerTurnMechanicReducer).j9a = function (table, model) {
53657
53658
  var player = getPlayer(table.players, model.t65());
53658
53659
  if (player.o6q_1.f67_1 == null) {
53659
53660
  this.x8p_1.w(VOID, 'PlayerTurnMechanicReducer.onResetPlayerTurn: has no tag, ' + ('tag: ' + model.i6w_1));
@@ -53664,11 +53665,11 @@
53664
53665
  this.x8p_1.d('PlayerTurn', tmp + ('currentTurn = ' + joinToString(tmp_0, VOID, VOID, VOID, VOID, VOID, PlayerTurnMechanicReducer$onResetPlayerTurn$lambda)));
53665
53666
  return newTable;
53666
53667
  };
53667
- protoOf(PlayerTurnMechanicReducer).s98 = function (table, action) {
53668
+ protoOf(PlayerTurnMechanicReducer).t98 = function (table, action) {
53668
53669
  var player = getPlayer(table.players, action.r8v_1);
53669
53670
  return table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.t6u(VOID, player.o6q_1.t68(VOID, VOID, VOID, VOID, true)), get_byIdPlayerPredicate()(player.playerId)));
53670
53671
  };
53671
- protoOf(PlayerTurnMechanicReducer).j9a = function (table) {
53672
+ protoOf(PlayerTurnMechanicReducer).k9a = function (table) {
53672
53673
  // Inline function 'kotlin.collections.map' call
53673
53674
  var this_0 = table.players;
53674
53675
  // Inline function 'kotlin.collections.mapTo' call
@@ -53704,7 +53705,7 @@
53704
53705
  var tmp7_waitPlayerUntilTime = tmp_0;
53705
53706
  tmp = tmp6_$this.t68(VOID, VOID, tmp7_waitPlayerUntilTime, VOID, VOID, VOID, newPlayerConnection);
53706
53707
  }
53707
- return table.copy(VOID, VOID, VOID, VOID, updateItem(players, player.t6u(VOID, tmp), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.y8p_1.o9a(playerId, previousConnection, newPlayerConnection, table.gameHistory));
53708
+ return table.copy(VOID, VOID, VOID, VOID, updateItem(players, player.t6u(VOID, tmp), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.y8p_1.p9a(playerId, previousConnection, newPlayerConnection, table.gameHistory));
53708
53709
  };
53709
53710
  protoOf(PlayerTurnMechanicReducer).a8q = function (config) {
53710
53711
  return getProgress(PlayerWaitingState_IN_PROGRESS_getInstance(), refreshTimeoutTimeWhenTurn(this, config), this.x8p_1);
@@ -53739,7 +53740,7 @@
53739
53740
  var _iterator__ex2g4s = players.l();
53740
53741
  while (_iterator__ex2g4s.m()) {
53741
53742
  var item = _iterator__ex2g4s.n();
53742
- var tmp$ret$1 = $this.j98_1.t8s(item, getValue(scene.m7a_1, item.playerId), scene.q7a_1);
53743
+ var tmp$ret$1 = $this.k98_1.t8s(item, getValue(scene.m7a_1, item.playerId), scene.q7a_1);
53743
53744
  destination.j(tmp$ret$1);
53744
53745
  }
53745
53746
 
@@ -53760,12 +53761,12 @@
53760
53761
  }
53761
53762
 
53762
53763
  var tmp7_requestedCardDecks = tmp_0;
53763
- var tmp1_$this = $this.m98_1;
53764
+ var tmp1_$this = $this.n98_1;
53764
53765
  var tmp2_gameHistory = table.gameHistory;
53765
53766
  var tmp3_playersCards = scene.m7a_1;
53766
53767
  var tmp4_whoShuffleCardsPlayerId = scene.q7a_1;
53767
53768
  var tmp5_randomData = scene.n7a_1;
53768
- var tmp8_gameHistory = tmp1_$this.p9a(cardDeck, tmp5_randomData, tmp4_whoShuffleCardsPlayerId, tmp3_playersCards, tmp2_gameHistory);
53769
+ var tmp8_gameHistory = tmp1_$this.q9a(cardDeck, tmp5_randomData, tmp4_whoShuffleCardsPlayerId, tmp3_playersCards, tmp2_gameHistory);
53769
53770
  return table.copy(VOID, VOID, VOID, VOID, destination, VOID, sceneInfo, VOID, VOID, cardDeck, tmp7_requestedCardDecks, VOID, tmp8_gameHistory);
53770
53771
  case 'EARN_POINTS':
53771
53772
  var tmp$ret$5;
@@ -53783,7 +53784,7 @@
53783
53784
  var tmp10_newPlayersCards = scene_0.s7a_1;
53784
53785
  var tmp11_cardDeck = table.requireCardDeck;
53785
53786
  var tmp12_config = table.config;
53786
- var updatedCardDeck = $this.q9a(tmp11_cardDeck, tmp10_newPlayersCards, tmp12_config, tmp9_newTopOpenedCard);
53787
+ var updatedCardDeck = $this.r9a(tmp11_cardDeck, tmp10_newPlayersCards, tmp12_config, tmp9_newTopOpenedCard);
53787
53788
  // Inline function 'kotlin.collections.map' call
53788
53789
 
53789
53790
  // Inline function 'kotlin.collections.mapTo' call
@@ -53792,21 +53793,21 @@
53792
53793
  var _iterator__ex2g4s_0 = players.l();
53793
53794
  while (_iterator__ex2g4s_0.m()) {
53794
53795
  var item_0 = _iterator__ex2g4s_0.n();
53795
- var tmp2_$this = $this.j98_1;
53796
+ var tmp2_$this = $this.k98_1;
53796
53797
  var tmp3_config = table.config;
53797
53798
  var tmp4_distributedCards = getValue(scene_0.s7a_1, item_0.playerId);
53798
53799
  var tmp0_safe_receiver = scene_0.t7a_1;
53799
53800
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b2(item_0.playerId);
53800
53801
  var tmp5_combinations = tmp1_elvis_lhs == null ? emptyList() : tmp1_elvis_lhs;
53801
53802
  var tmp6_selectedTrump = table.gameInfo.round.selectedTrump;
53802
- var tmp$ret$6 = tmp2_$this.f9a(item_0, tmp4_distributedCards, tmp5_combinations, tmp3_config, players, tmp6_selectedTrump);
53803
+ var tmp$ret$6 = tmp2_$this.g9a(item_0, tmp4_distributedCards, tmp5_combinations, tmp3_config, players, tmp6_selectedTrump);
53803
53804
  destination_0.j(tmp$ret$6);
53804
53805
  }
53805
53806
 
53806
- var tmp13_$this = $this.m98_1;
53807
+ var tmp13_$this = $this.n98_1;
53807
53808
  var tmp14_gameHistory = table.gameHistory;
53808
53809
  var tmp15_playersCards = scene_0.s7a_1;
53809
- var tmp17_gameHistory = tmp13_$this.r9a(tmp15_playersCards, tmp14_gameHistory);
53810
+ var tmp17_gameHistory = tmp13_$this.s9a(tmp15_playersCards, tmp14_gameHistory);
53810
53811
  return table.copy(VOID, VOID, VOID, VOID, destination_0, VOID, sceneInfo, VOID, VOID, updatedCardDeck, VOID, VOID, tmp17_gameHistory);
53811
53812
  case 'CALC_POINTS':
53812
53813
  var tmp$ret$9;
@@ -53829,12 +53830,12 @@
53829
53830
  var _iterator__ex2g4s_1 = players.l();
53830
53831
  while (_iterator__ex2g4s_1.m()) {
53831
53832
  var item_1 = _iterator__ex2g4s_1.n();
53832
- var tmp$ret$10 = $this.j98_1.g9a(item_1, calcPointsSceneData);
53833
+ var tmp$ret$10 = $this.k98_1.h9a(item_1, calcPointsSceneData);
53833
53834
  destination_1.j(tmp$ret$10);
53834
53835
  }
53835
53836
 
53836
53837
  var updatedPlayers = destination_1;
53837
- var tmp19_$this = $this.m98_1;
53838
+ var tmp19_$this = $this.n98_1;
53838
53839
  var tmp20_gameHistory = table.gameHistory;
53839
53840
  var tmp21_points = calcPointsSceneData.f7a_1;
53840
53841
  var tmp22_roundContractState = calcPointsSceneData.j7a(whoChoseSuitPlayerId);
@@ -53874,7 +53875,7 @@
53874
53875
 
53875
53876
  var tmp26_playersGameAnalytics = tmp_3;
53876
53877
  var tmp27_playersAchievements = calcPointsSceneData.g7a_1;
53877
- var tmp28_gameHistory = tmp19_$this.s9a(tmp21_points, tmp20_gameHistory, tmp22_roundContractState, tmp23_roundCommitted, tmp24_roundWinners, tmp25_gameWinners, tmp26_playersGameAnalytics, tmp27_playersAchievements);
53878
+ var tmp28_gameHistory = tmp19_$this.t9a(tmp21_points, tmp20_gameHistory, tmp22_roundContractState, tmp23_roundCommitted, tmp24_roundWinners, tmp25_gameWinners, tmp26_playersGameAnalytics, tmp27_playersAchievements);
53878
53879
  return table.copy(VOID, VOID, VOID, VOID, updatedPlayers, VOID, sceneInfo, VOID, VOID, VOID, VOID, VOID, tmp28_gameHistory);
53879
53880
  default:
53880
53881
  throw new MechanicException("onCurrentScene: Can't support this scene " + sceneId);
@@ -53906,30 +53907,30 @@
53906
53907
  }
53907
53908
  function SceneReducer$onPreviousScene$lambda(this$0) {
53908
53909
  return function (tbl) {
53909
- return this$0.k98_1.j9a(tbl);
53910
+ return this$0.l98_1.k9a(tbl);
53910
53911
  };
53911
53912
  }
53912
53913
  function SceneReducer$onPreviousScene$lambda_0(this$0) {
53913
53914
  return function (tbl) {
53914
- return this$0.l98_1.t9a(tbl);
53915
+ return this$0.m98_1.u9a(tbl);
53915
53916
  };
53916
53917
  }
53917
53918
  function SceneReducer(playerSceneReducer, playerTurnMechanicReducer, tableLifecycleReducer, gameHistoryReducer, dealerReducer, gameParamsProvider) {
53918
- this.j98_1 = playerSceneReducer;
53919
- this.k98_1 = playerTurnMechanicReducer;
53920
- this.l98_1 = tableLifecycleReducer;
53921
- this.m98_1 = gameHistoryReducer;
53922
- this.n98_1 = dealerReducer;
53923
- this.o98_1 = gameParamsProvider;
53924
- }
53925
- protoOf(SceneReducer).p98 = function (table, sceneId, sceneData, actId, actData) {
53919
+ this.k98_1 = playerSceneReducer;
53920
+ this.l98_1 = playerTurnMechanicReducer;
53921
+ this.m98_1 = tableLifecycleReducer;
53922
+ this.n98_1 = gameHistoryReducer;
53923
+ this.o98_1 = dealerReducer;
53924
+ this.p98_1 = gameParamsProvider;
53925
+ }
53926
+ protoOf(SceneReducer).q98 = function (table, sceneId, sceneData, actId, actData) {
53926
53927
  var previousSceneId = table.sceneInfo.u7t_1;
53927
53928
  if (!(previousSceneId === 'WAITING') && equals(table.sceneInfo.x7t_1, sceneData)) {
53928
53929
  throw new MechanicException('Payload was set twice');
53929
53930
  }
53930
53931
  return onCurrentScene(this, sceneId, sceneData, actId, actData, onPreviousScene(this, table, previousSceneId), previousSceneId);
53931
53932
  };
53932
- protoOf(SceneReducer).q9a = function (cardDeck, newPlayersCards, config, newTopOpenedCard) {
53933
+ protoOf(SceneReducer).r9a = function (cardDeck, newPlayersCards, config, newTopOpenedCard) {
53933
53934
  // Inline function 'kotlin.collections.map' call
53934
53935
  // Inline function 'kotlin.collections.mapTo' call
53935
53936
  var destination = ArrayList_init_$Create$(newPlayersCards.o());
@@ -53943,19 +53944,19 @@
53943
53944
  // Inline function 'kotlin.let' call
53944
53945
  var it = flatten(destination);
53945
53946
  var tmp;
53946
- if (this.o98_1.y8i(config)) {
53947
- tmp = this.n98_1.k5g(it, cardDeck.g7j_1);
53947
+ if (this.p98_1.y8i(config)) {
53948
+ tmp = this.o98_1.k5g(it, cardDeck.g7j_1);
53948
53949
  } else {
53949
53950
  tmp = it;
53950
53951
  }
53951
53952
  var playersCardsToRemove = tmp;
53952
53953
  var cardsToRemove = plus(playersCardsToRemove, listOfNotNull_0(newTopOpenedCard));
53953
- var cards = this.n98_1.j5g(cardDeck.f7j_1, cardsToRemove);
53954
+ var cards = this.o98_1.j5g(cardDeck.f7j_1, cardsToRemove);
53954
53955
  return cardDeck.y8b(cards, VOID, newTopOpenedCard);
53955
53956
  };
53956
53957
  function TeamsMechanicReducer() {
53957
53958
  }
53958
- protoOf(TeamsMechanicReducer).n99 = function (players, action) {
53959
+ protoOf(TeamsMechanicReducer).o99 = function (players, action) {
53959
53960
  // Inline function 'kotlin.collections.map' call
53960
53961
  var this_0 = action.m8v_1.y68_1;
53961
53962
  // Inline function 'kotlin.collections.mapTo' call
@@ -53995,10 +53996,10 @@
53995
53996
  return destination_1;
53996
53997
  };
53997
53998
  function TradeMechanicReducer(logger, gameHistoryReducer) {
53998
- this.j99_1 = logger;
53999
- this.k99_1 = gameHistoryReducer;
53999
+ this.k99_1 = logger;
54000
+ this.l99_1 = gameHistoryReducer;
54000
54001
  }
54001
- protoOf(TradeMechanicReducer).m99 = function (state, action) {
54002
+ protoOf(TradeMechanicReducer).n99 = function (state, action) {
54002
54003
  var table = state.n6n();
54003
54004
  // Inline function 'kotlin.with' call
54004
54005
  var player = getPlayer(table.players, action.t8q_1);
@@ -54006,7 +54007,7 @@
54006
54007
  var it = player.q6q_1.t6y();
54007
54008
  var tmp;
54008
54009
  if (it == null) {
54009
- this.j99_1.w(VOID, "Can't support this circle increment");
54010
+ this.k99_1.w(VOID, "Can't support this circle increment");
54010
54011
  tmp = player.q6q_1.p6u_1;
54011
54012
  } else {
54012
54013
  tmp = it;
@@ -54034,17 +54035,17 @@
54034
54035
  destination.j(tmp$ret$2);
54035
54036
  }
54036
54037
  var tmp_2 = destination;
54037
- var tmp0_$this = this.k99_1;
54038
+ var tmp0_$this = this.l99_1;
54038
54039
  var tmp1_playerId = player.playerId;
54039
54040
  var tmp2_suit = action.r8q_1;
54040
54041
  var tmp3_gameHistory = table.gameHistory;
54041
54042
  var tmp4_players = table.players;
54042
54043
  var tmp5_playersMode = table.config.playersMode;
54043
- tmp_0 = state.r8t(table.copy(VOID, VOID, VOID, VOID, tmp_2, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_$this.u9a(tmp1_playerId, tmp2_suit, newNumberOfCircle, tmp3_gameHistory, tmp5_playersMode, tmp4_players)));
54044
+ tmp_0 = state.r8t(table.copy(VOID, VOID, VOID, VOID, tmp_2, VOID, VOID, VOID, VOID, VOID, VOID, VOID, tmp0_$this.v9a(tmp1_playerId, tmp2_suit, newNumberOfCircle, tmp3_gameHistory, tmp5_playersMode, tmp4_players)));
54044
54045
  }
54045
54046
  return tmp_0;
54046
54047
  };
54047
- protoOf(TradeMechanicReducer).l99 = function (state, action) {
54048
+ protoOf(TradeMechanicReducer).m99 = function (state, action) {
54048
54049
  var table = state.n6n();
54049
54050
  // Inline function 'kotlin.collections.map' call
54050
54051
  var this_0 = table.players;
@@ -54062,13 +54063,13 @@
54062
54063
  return valueToFind.q6z_1 === value.q6z_1;
54063
54064
  }
54064
54065
  function CombinationsMechanicReducer(teamsLogicProvider, combinationsInteractor, dealerReducer, playerHandReducer, gameHistoryReducer) {
54065
- this.t98_1 = teamsLogicProvider;
54066
- this.u98_1 = combinationsInteractor;
54067
- this.v98_1 = dealerReducer;
54068
- this.w98_1 = playerHandReducer;
54069
- this.x98_1 = gameHistoryReducer;
54066
+ this.u98_1 = teamsLogicProvider;
54067
+ this.v98_1 = combinationsInteractor;
54068
+ this.w98_1 = dealerReducer;
54069
+ this.x98_1 = playerHandReducer;
54070
+ this.y98_1 = gameHistoryReducer;
54070
54071
  }
54071
- protoOf(CombinationsMechanicReducer).v9a = function (whoGotBribePlayerId, playerCombinations, players, config) {
54072
+ protoOf(CombinationsMechanicReducer).w9a = function (whoGotBribePlayerId, playerCombinations, players, config) {
54072
54073
  var bellaCombination = first(playerCombinations.g8d_1);
54073
54074
  var player = getPlayer(players, playerCombinations.f8d_1);
54074
54075
  if (bellaCombination.s6z_1.equals(CombinationState_NOT_ACCEPTED_getInstance())) {
@@ -54077,7 +54078,7 @@
54077
54078
  var tmp;
54078
54079
  if (config.rules.protectBella) {
54079
54080
  var playerWithBellaGotBribe = player.playerId === whoGotBribePlayerId;
54080
- var partnerGotBribe = config.playersMode.isTeamGame && this.t98_1.m8h(player.playerId, players).playerId === whoGotBribePlayerId;
54081
+ var partnerGotBribe = config.playersMode.isTeamGame && this.u98_1.m8h(player.playerId, players).playerId === whoGotBribePlayerId;
54081
54082
  var tmp_0;
54082
54083
  if (playerWithBellaGotBribe || partnerGotBribe) {
54083
54084
  tmp_0 = bellaCombination.c70(VOID, VOID, CombinationState_ACCEPTED_getInstance());
@@ -54091,7 +54092,7 @@
54091
54092
  return tmp;
54092
54093
  }
54093
54094
  };
54094
- protoOf(CombinationsMechanicReducer).y98 = function (state, action) {
54095
+ protoOf(CombinationsMechanicReducer).z98 = function (state, action) {
54095
54096
  var table = state.n6n();
54096
54097
  var players = table.players;
54097
54098
  var config = table.config;
@@ -54122,7 +54123,7 @@
54122
54123
  }
54123
54124
  var passedPlayersCombinations = destination;
54124
54125
  // Inline function 'kotlin.collections.filterNot' call
54125
- var tmp0 = this.u98_1.e8l(players);
54126
+ var tmp0 = this.v98_1.e8l(players);
54126
54127
  // Inline function 'kotlin.collections.filterNotTo' call
54127
54128
  var destination_1 = ArrayList_init_$Create$_0();
54128
54129
  var _iterator__ex2g4s_1 = tmp0.l();
@@ -54169,10 +54170,10 @@
54169
54170
  var tmp0_elvis_lhs_0 = rejectedPlayersCombinations.b2(item_1.playerId);
54170
54171
  var tmp$ret$18 = tmp0_elvis_lhs_0 == null ? emptyList() : tmp0_elvis_lhs_0;
54171
54172
  var updatedCombinations = plus(tmp_0, tmp$ret$18);
54172
- var tmp0_$this = this.w98_1;
54173
+ var tmp0_$this = this.x98_1;
54173
54174
  var tmp1_playerId = item_1.playerId;
54174
54175
  var tmp2_hand = item_1.r6q_1;
54175
- var tmp_1 = tmp0_$this.e9a(tmp1_playerId, tmp2_hand, updatedCombinations, config);
54176
+ var tmp_1 = tmp0_$this.f9a(tmp1_playerId, tmp2_hand, updatedCombinations, config);
54176
54177
  tmp = item_1.t6u(VOID, VOID, VOID, VOID, tmp_1, item_1.s6q_1.x6y(VOID, updateOrAddItems(item_1.s6q_1.n6v_1, updatedCombinations, CombinationsMechanicReducer$onWinnerCombinations$lambda)));
54177
54178
  } else {
54178
54179
  tmp = item_1;
@@ -54180,9 +54181,9 @@
54180
54181
  var tmp$ret$19 = tmp;
54181
54182
  destination_4.j(tmp$ret$19);
54182
54183
  }
54183
- return state.r8t(table.copy(VOID, VOID, VOID, VOID, destination_4, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.x98_1.w9a(action.z8v_1, table.gameHistory)));
54184
+ return state.r8t(table.copy(VOID, VOID, VOID, VOID, destination_4, VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.y98_1.x9a(action.z8v_1, table.gameHistory)));
54184
54185
  };
54185
- protoOf(CombinationsMechanicReducer).i99 = function (state, action) {
54186
+ protoOf(CombinationsMechanicReducer).j99 = function (state, action) {
54186
54187
  var table = state.n6n();
54187
54188
  var player = getPlayer(table.players, action.x8v_1);
54188
54189
  // Inline function 'kotlin.collections.map' call
@@ -54237,13 +54238,13 @@
54237
54238
  // Inline function 'kotlin.let' call
54238
54239
 
54239
54240
  var cards = player.p6q_1;
54240
- var newCards = this.v98_1.k5g(cards, trumpSevenCard);
54241
- var tmp1_cards = this.v98_1.l5g(newCards, trumpCard);
54241
+ var newCards = this.w98_1.k5g(cards, trumpSevenCard);
54242
+ var tmp1_cards = this.w98_1.l5g(newCards, trumpCard);
54242
54243
  var tmp3_players = updateItem(table.players, player.t6u(VOID, VOID, tmp1_cards, VOID, VOID, updatedPoints), get_byIdPlayerPredicate()(player.playerId));
54243
- var tmp4_gameHistory = this.x98_1.x9a(player.playerId, listOf(announcedCombination.r6z_1), VOID, table.gameHistory);
54244
+ var tmp4_gameHistory = this.y98_1.y9a(player.playerId, listOf(announcedCombination.r6z_1), VOID, table.gameHistory);
54244
54245
  return state.r8t(table.copy(VOID, VOID, VOID, VOID, tmp3_players, VOID, VOID, VOID, VOID, tmp2_cardDeck, VOID, VOID, tmp4_gameHistory));
54245
54246
  case 6:
54246
- return state.r8t(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.t6u(VOID, VOID, VOID, VOID, VOID, updatedPoints), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.x98_1.x9a(player.playerId, listOf(announcedCombination.r6z_1), VOID, table.gameHistory)));
54247
+ return state.r8t(table.copy(VOID, VOID, VOID, VOID, updateItem(table.players, player.t6u(VOID, VOID, VOID, VOID, VOID, updatedPoints), get_byIdPlayerPredicate()(player.playerId)), VOID, VOID, VOID, VOID, VOID, VOID, VOID, this.y98_1.y9a(player.playerId, listOf(announcedCombination.r6z_1), VOID, table.gameHistory)));
54247
54248
  default:
54248
54249
  throw new MechanicException("Can't support this combination " + announcedCombination.toString());
54249
54250
  }
@@ -54324,7 +54325,7 @@
54324
54325
  destination.j(tmp$ret$1);
54325
54326
  }
54326
54327
  var updatedCombinations = destination;
54327
- var tmp1_cards = $this.c99_1.k5g(player.p6q_1, card);
54328
+ var tmp1_cards = $this.d99_1.k5g(player.p6q_1, card);
54328
54329
  var tmp2_points = player.s6q_1.x6y(VOID, updatedCombinations);
54329
54330
  var tmp3_hand = updatePlayerHand($this, player, cardsOnTheTable, table.gameInfo.round.selectedTrump);
54330
54331
  return player.t6u(VOID, VOID, tmp1_cards, VOID, tmp3_hand, tmp2_points);
@@ -54343,11 +54344,11 @@
54343
54344
  }
54344
54345
  var tmp2_combinations = tmp;
54345
54346
  var tmp4_points = tmp0_$this.x6y(VOID, tmp2_combinations, tmp1_earnedCards);
54346
- var tmp5_hand = $this.e99_1.d9a(player.r6q_1, combinations);
54347
+ var tmp5_hand = $this.f99_1.e9a(player.r6q_1, combinations);
54347
54348
  return player.t6u(VOID, VOID, VOID, tmp3_options, tmp5_hand, tmp4_points);
54348
54349
  }
54349
54350
  function addPlayersCombinationsWhenPickBribe($this, whoGotBribePlayerId, players, config) {
54350
- var bellaCombination = $this.b99_1.d8l(players);
54351
+ var bellaCombination = $this.c99_1.d8l(players);
54351
54352
  // Inline function 'kotlin.collections.associate' call
54352
54353
  var capacity = coerceAtLeast(mapCapacity(collectionSizeOrDefault(players, 10)), 16);
54353
54354
  // Inline function 'kotlin.collections.associateTo' call
@@ -54368,7 +54369,7 @@
54368
54369
  var hasBellaCombination = !(bellaCombination == null) && bellaCombination.f8d_1 === player.playerId;
54369
54370
  var tmp;
54370
54371
  if (isGotLastBribe) {
54371
- tmp = $this.a99_1.f6z(CombinationType_BONUS_LAST_BRIBE_getInstance(), CombinationState_ACCEPTED_getInstance(), Companion_instance_149.c8c(CombinationType_BONUS_LAST_BRIBE_getInstance(), config));
54372
+ tmp = $this.b99_1.f6z(CombinationType_BONUS_LAST_BRIBE_getInstance(), CombinationState_ACCEPTED_getInstance(), Companion_instance_149.c8c(CombinationType_BONUS_LAST_BRIBE_getInstance(), config));
54372
54373
  } else {
54373
54374
  tmp = null;
54374
54375
  }
@@ -54388,7 +54389,7 @@
54388
54389
  }
54389
54390
  }
54390
54391
  var tmp$ret$2 = tmp$ret$1;
54391
- tmp_1 = $this.z98_1.v9a(whoGotBribePlayerId, tmp$ret$2, players, config);
54392
+ tmp_1 = $this.a99_1.w9a(whoGotBribePlayerId, tmp$ret$2, players, config);
54392
54393
  } else {
54393
54394
  tmp_1 = null;
54394
54395
  }
@@ -54453,15 +54454,15 @@
54453
54454
  return value1.q6z_1 === value2.q6z_1;
54454
54455
  }
54455
54456
  function EarnPointsMechanicReducer(combinationsMechanicReducer, combinationsFactory, combinationsInteractor, dealerReducer, gameHistoryReducer, playerHandReducer, logger) {
54456
- this.z98_1 = combinationsMechanicReducer;
54457
- this.a99_1 = combinationsFactory;
54458
- this.b99_1 = combinationsInteractor;
54459
- this.c99_1 = dealerReducer;
54460
- this.d99_1 = gameHistoryReducer;
54461
- this.e99_1 = playerHandReducer;
54462
- this.f99_1 = logger;
54463
- }
54464
- protoOf(EarnPointsMechanicReducer).h99 = function (state, action) {
54457
+ this.a99_1 = combinationsMechanicReducer;
54458
+ this.b99_1 = combinationsFactory;
54459
+ this.c99_1 = combinationsInteractor;
54460
+ this.d99_1 = dealerReducer;
54461
+ this.e99_1 = gameHistoryReducer;
54462
+ this.f99_1 = playerHandReducer;
54463
+ this.g99_1 = logger;
54464
+ }
54465
+ protoOf(EarnPointsMechanicReducer).i99 = function (state, action) {
54465
54466
  var table = state.n6n();
54466
54467
  var player = getPlayer(table.players, action.y8q_1);
54467
54468
  var cardsOnTheTable = plus_0(table.cardsOnTable, new CardOnTable(action.y8q_1, table.cardsOnTable.o(), action.w8q_1));
@@ -54483,13 +54484,13 @@
54483
54484
  var tmp$ret$0 = item.g79_1;
54484
54485
  destination.j(tmp$ret$0);
54485
54486
  }
54486
- tmp = this.d99_1.x9a(tmp_0, destination, VOID, table.gameHistory);
54487
+ tmp = this.e99_1.y9a(tmp_0, destination, VOID, table.gameHistory);
54487
54488
  }
54488
54489
  var tmp1_elvis_lhs = tmp;
54489
54490
  var tmp4_gameHistory = tmp1_elvis_lhs == null ? table.gameHistory : tmp1_elvis_lhs;
54490
54491
  return state.r8t(tmp2_$this.copy(VOID, VOID, VOID, VOID, tmp3_players, VOID, VOID, cardsOnTheTable, VOID, VOID, VOID, VOID, tmp4_gameHistory));
54491
54492
  };
54492
- protoOf(EarnPointsMechanicReducer).g99 = function (state, action) {
54493
+ protoOf(EarnPointsMechanicReducer).h99 = function (state, action) {
54493
54494
  var table = state.n6n();
54494
54495
  var players = table.players;
54495
54496
  var cardsOnTable = table.cardsOnTable;
@@ -54514,7 +54515,7 @@
54514
54515
  destination_0.j(tmp$ret$3);
54515
54516
  }
54516
54517
  if (!(toSet(destination_0).o() === 1)) {
54517
- this.f99_1.w('Validation', 'EarnPointsMechanicReducer.onPickBribe: Some of players have different cards count: ' + toString(playersCards));
54518
+ this.g99_1.w('Validation', 'EarnPointsMechanicReducer.onPickBribe: Some of players have different cards count: ' + toString(playersCards));
54518
54519
  }
54519
54520
  var playersCombinations = addPlayersCombinationsWhenPickBribe(this, action.b8r_1, players, config);
54520
54521
  var bribe = new Bribe(cardsOnTable);
@@ -54530,7 +54531,7 @@
54530
54531
  destination_1.j(tmp$ret$6);
54531
54532
  }
54532
54533
  var tmp3_gameInfo = table.gameInfo.w8a(VOID, VOID, table.gameInfo.round.copy(VOID, action.c8r_1));
54533
- var tmp4_gameHistory = this.d99_1.y9a(action.b8r_1, bribe, action.c8r_1, playersCombinations, table.gameHistory);
54534
+ var tmp4_gameHistory = this.e99_1.z9a(action.b8r_1, bribe, action.c8r_1, playersCombinations, table.gameHistory);
54534
54535
  return state.r8t(table.copy(VOID, VOID, VOID, VOID, destination_1, VOID, VOID, tmp1_cardsOnTable, tmp0_bribes, VOID, VOID, tmp3_gameInfo, tmp4_gameHistory));
54535
54536
  };
54536
54537
  function randomDataReducer($this, randomData, metadata) {
@@ -54538,7 +54539,7 @@
54538
54539
  return metadata;
54539
54540
  }
54540
54541
  if (!(metadata.randomData == null) && (!(metadata.randomData.id === randomData.id) || !(metadata.randomData.signature == randomData.signature))) {
54541
- $this.n9a_1.w('GameHistory', 'Random data is different for previous, ' + metadata.randomData.toString() + ', ' + randomData.toString());
54542
+ $this.o9a_1.w('GameHistory', 'Random data is different for previous, ' + metadata.randomData.toString() + ', ' + randomData.toString());
54542
54543
  }
54543
54544
  var tmp0_safe_receiver = metadata.randomData;
54544
54545
  var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.indexes;
@@ -54550,12 +54551,12 @@
54550
54551
  return _this__u8e3s4.copy(VOID, VOID, updateLastItem(_this__u8e3s4.rounds, roundHistory.copy(VOID, plus_1(roundHistory.items, items))));
54551
54552
  }
54552
54553
  function GameHistoryReducer(pointsInteractor, teamsLogicProvider, gameLogicConfig, logger) {
54553
- this.k9a_1 = pointsInteractor;
54554
- this.l9a_1 = teamsLogicProvider;
54555
- this.m9a_1 = gameLogicConfig;
54556
- this.n9a_1 = logger;
54554
+ this.l9a_1 = pointsInteractor;
54555
+ this.m9a_1 = teamsLogicProvider;
54556
+ this.n9a_1 = gameLogicConfig;
54557
+ this.o9a_1 = logger;
54557
54558
  }
54558
- protoOf(GameHistoryReducer).z9a = function (gameHistory) {
54559
+ protoOf(GameHistoryReducer).a9b = function (gameHistory) {
54559
54560
  var roundNumber = gameHistory.rounds.length;
54560
54561
  var tmp0 = gameHistory.rounds;
54561
54562
  // Inline function 'kotlin.collections.plus' call
@@ -54567,7 +54568,7 @@
54567
54568
  var tmp$ret$4 = tmp0.concat(tmp$ret$3);
54568
54569
  return gameHistory.copy(VOID, VOID, tmp$ret$4);
54569
54570
  };
54570
- protoOf(GameHistoryReducer).p9a = function (cardDeck, randomData, whoShuffleCardsPlayerId, playersCards, gameHistory) {
54571
+ protoOf(GameHistoryReducer).q9a = function (cardDeck, randomData, whoShuffleCardsPlayerId, playersCards, gameHistory) {
54571
54572
  var currentRoundHistory = last_0(gameHistory.rounds);
54572
54573
  var tmp = new WhoShuffleCardsItem(whoShuffleCardsPlayerId, cardDeck.g7j_1, System_instance.ck());
54573
54574
  // Inline function 'kotlin.collections.mapValues' call
@@ -54585,14 +54586,14 @@
54585
54586
  var tmp0_elvis_lhs = gameHistory.metadata;
54586
54587
  return gameHistory.copy(VOID, VOID, tmp_1, VOID, randomDataReducer(this, randomData, tmp0_elvis_lhs == null ? Companion_instance_158.initial() : tmp0_elvis_lhs));
54587
54588
  };
54588
- protoOf(GameHistoryReducer).u9a = function (playerId, suit, numberOfCircle, gameHistory, playersMode, players) {
54589
+ protoOf(GameHistoryReducer).v9a = function (playerId, suit, numberOfCircle, gameHistory, playersMode, players) {
54589
54590
  var currentRoundHistory = last_0(gameHistory.rounds);
54590
54591
  var tmp;
54591
54592
  if (playersMode.isTeamGame) {
54592
54593
  // Inline function 'kotlin.arrayOf' call
54593
54594
  // Inline function 'kotlin.js.unsafeCast' call
54594
54595
  // Inline function 'kotlin.js.asDynamic' call
54595
- tmp = [playerId, this.l9a_1.m8h(playerId, players).playerId];
54596
+ tmp = [playerId, this.m9a_1.m8h(playerId, players).playerId];
54596
54597
  } else {
54597
54598
  // Inline function 'kotlin.arrayOf' call
54598
54599
  // Inline function 'kotlin.js.unsafeCast' call
@@ -54602,7 +54603,7 @@
54602
54603
  var roundCommitted = tmp;
54603
54604
  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)));
54604
54605
  };
54605
- protoOf(GameHistoryReducer).r9a = function (playersCards, gameHistory) {
54606
+ protoOf(GameHistoryReducer).s9a = function (playersCards, gameHistory) {
54606
54607
  // Inline function 'kotlin.collections.mapValues' call
54607
54608
  // Inline function 'kotlin.collections.mapValuesTo' call
54608
54609
  var destination = LinkedHashMap_init_$Create$_0(mapCapacity(playersCards.o()));
@@ -54616,14 +54617,14 @@
54616
54617
  }
54617
54618
  return addItemsToCurrentRound(this, gameHistory, listOf(new PlayersCardsItem(destination, 1, System_instance.ck())));
54618
54619
  };
54619
- protoOf(GameHistoryReducer).a9b = function (playerId, combinations, combinationsStates, gameHistory) {
54620
+ protoOf(GameHistoryReducer).b9b = function (playerId, combinations, combinationsStates, gameHistory) {
54620
54621
  return addItemsToCurrentRound(this, gameHistory, listOf(new CombinationAnnounceItem(playerId, combinations, combinationsStates, System_instance.ck())));
54621
54622
  };
54622
- protoOf(GameHistoryReducer).x9a = function (playerId, combinations, combinationsStates, gameHistory, $super) {
54623
+ protoOf(GameHistoryReducer).y9a = function (playerId, combinations, combinationsStates, gameHistory, $super) {
54623
54624
  combinationsStates = combinationsStates === VOID ? null : combinationsStates;
54624
- return $super === VOID ? this.a9b(playerId, combinations, combinationsStates, gameHistory) : $super.a9b.call(this, playerId, combinations, combinationsStates, gameHistory);
54625
+ return $super === VOID ? this.b9b(playerId, combinations, combinationsStates, gameHistory) : $super.b9b.call(this, playerId, combinations, combinationsStates, gameHistory);
54625
54626
  };
54626
- protoOf(GameHistoryReducer).y9a = function (whoGotBribePlayerId, bribe, numberOfBribe, playersCombinations, gameHistory) {
54627
+ protoOf(GameHistoryReducer).z9a = function (whoGotBribePlayerId, bribe, numberOfBribe, playersCombinations, gameHistory) {
54627
54628
  var tmp = listOf(new BribeItem(whoGotBribePlayerId, bribe.x7i_1, numberOfBribe, System_instance.ck()));
54628
54629
  // Inline function 'kotlin.collections.mapNotNull' call
54629
54630
  // Inline function 'kotlin.collections.mapNotNullTo' call
@@ -54682,7 +54683,7 @@
54682
54683
  }
54683
54684
  return addItemsToCurrentRound(this, gameHistory, plus(tmp, destination));
54684
54685
  };
54685
- protoOf(GameHistoryReducer).w9a = function (winnerCombinations, gameHistory) {
54686
+ protoOf(GameHistoryReducer).x9a = function (winnerCombinations, gameHistory) {
54686
54687
  // Inline function 'kotlin.collections.map' call
54687
54688
  // Inline function 'kotlin.collections.mapTo' call
54688
54689
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(winnerCombinations, 10));
@@ -54698,7 +54699,7 @@
54698
54699
  }
54699
54700
  return addItemsToCurrentRound(this, gameHistory, destination);
54700
54701
  };
54701
- protoOf(GameHistoryReducer).o9a = function (playerId, previousConnection, playerConnection, gameHistory) {
54702
+ protoOf(GameHistoryReducer).p9a = function (playerId, previousConnection, playerConnection, gameHistory) {
54702
54703
  if (playerConnection == null) {
54703
54704
  return gameHistory;
54704
54705
  }
@@ -54710,17 +54711,17 @@
54710
54711
  tmp = false;
54711
54712
  }
54712
54713
  var isShortDisconnectState = tmp;
54713
- if (isSupportedReason && !isShortDisconnectState || this.m9a_1.verboseGameHistory) {
54714
+ if (isSupportedReason && !isShortDisconnectState || this.n9a_1.verboseGameHistory) {
54714
54715
  return addItemsToCurrentRound(this, gameHistory, listOf(new PlayerConnectionItem(playerId, playerConnection.m67_1, playerConnection.u67(), System_instance.ck())));
54715
54716
  }
54716
54717
  return gameHistory;
54717
54718
  };
54718
- protoOf(GameHistoryReducer).s9a = function (points, gameHistory, roundContractState, roundCommitted, roundWinners, gameWinners, playersGameAnalytics, playersAchievements) {
54719
+ protoOf(GameHistoryReducer).t9a = function (points, gameHistory, roundContractState, roundCommitted, roundWinners, gameWinners, playersGameAnalytics, playersAchievements) {
54719
54720
  var currentRoundHistory = last_0(gameHistory.rounds);
54720
54721
  var tmp0_elvis_lhs = gameHistory.metadata;
54721
54722
  var currentMetadata = tmp0_elvis_lhs == null ? Companion_instance_158.initial() : tmp0_elvis_lhs;
54722
54723
  var tmp;
54723
- if (this.m9a_1.gameHistoryMetadata && !(playersGameAnalytics == null)) {
54724
+ if (this.n9a_1.gameHistoryMetadata && !(playersGameAnalytics == null)) {
54724
54725
  // Inline function 'kotlin.collections.map' call
54725
54726
  // Inline function 'kotlin.collections.mapTo' call
54726
54727
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(playersGameAnalytics, 10));
@@ -54735,7 +54736,7 @@
54735
54736
  tmp = currentMetadata;
54736
54737
  }
54737
54738
  var updatedMetadata = tmp;
54738
- var tmp1_items = plus_1(currentRoundHistory.items, listOfNotNull_0(new PointsItem(this.k9a_1.z8o(points), System_instance.ck())));
54739
+ var tmp1_items = plus_1(currentRoundHistory.items, listOfNotNull_0(new PointsItem(this.l9a_1.z8o(points), System_instance.ck())));
54739
54740
  var tmp2_rounds = updateLastItem(gameHistory.rounds, currentRoundHistory.copy(VOID, tmp1_items, roundCommitted, roundContractState, roundWinners));
54740
54741
  return gameHistory.copy(VOID, VOID, tmp2_rounds, gameWinners, updatedMetadata);
54741
54742
  };
@@ -54760,7 +54761,7 @@
54760
54761
  tmp = cardDeck;
54761
54762
  }
54762
54763
  var newCardDeck = tmp;
54763
- return new PreviousRound(bribes, newCardDeck, $this.d9b_1.a8p(players, config));
54764
+ return new PreviousRound(bribes, newCardDeck, $this.e9b_1.a8p(players, config));
54764
54765
  }
54765
54766
  function roundFinishedGameInfoReducer($this, table) {
54766
54767
  var gameInfo = table.gameInfo;
@@ -54813,10 +54814,10 @@
54813
54814
  return points.w6y(0, emptyList(), emptyList());
54814
54815
  }
54815
54816
  function TableLifecycleReducerImpl(pointsInteractor, historyReducer) {
54816
- this.d9b_1 = pointsInteractor;
54817
- this.e9b_1 = historyReducer;
54817
+ this.e9b_1 = pointsInteractor;
54818
+ this.f9b_1 = historyReducer;
54818
54819
  }
54819
- protoOf(TableLifecycleReducerImpl).b9b = function (tableId, gameId, config, version, users, spectators, gameCreatorPlayerId, playerStateReducer) {
54820
+ protoOf(TableLifecycleReducerImpl).c9b = function (tableId, gameId, config, version, users, spectators, gameCreatorPlayerId, playerStateReducer) {
54820
54821
  var tmp = Companion_instance_146;
54821
54822
  // Inline function 'kotlin.collections.mapIndexed' call
54822
54823
  // Inline function 'kotlin.collections.mapIndexedTo' call
@@ -54848,7 +54849,7 @@
54848
54849
  }
54849
54850
  return tmp.initial(tableId, gameId, version, config, tmp_1, destination_0);
54850
54851
  };
54851
- protoOf(TableLifecycleReducerImpl).x99 = function (table) {
54852
+ protoOf(TableLifecycleReducerImpl).y99 = function (table) {
54852
54853
  var tmp0_sceneInfo = new SceneInfo('WAITING');
54853
54854
  // Inline function 'kotlin.collections.map' call
54854
54855
  var this_0 = table.players;
@@ -54863,10 +54864,10 @@
54863
54864
  var tmp2_cardsOnTable = emptyList();
54864
54865
  var tmp3_bribes = emptyList();
54865
54866
  var tmp4_gameInfo = roundFinishedGameInfoReducer(this, table);
54866
- var tmp5_gameHistory = this.e9b_1.z9a(table.gameHistory);
54867
+ var tmp5_gameHistory = this.f9b_1.a9b(table.gameHistory);
54867
54868
  return table.copy(VOID, VOID, VOID, VOID, destination, VOID, tmp0_sceneInfo, tmp2_cardsOnTable, tmp3_bribes, VOID, VOID, tmp4_gameInfo, tmp5_gameHistory);
54868
54869
  };
54869
- protoOf(TableLifecycleReducerImpl).t9a = function (table) {
54870
+ protoOf(TableLifecycleReducerImpl).u9a = function (table) {
54870
54871
  // Inline function 'kotlin.collections.map' call
54871
54872
  var this_0 = table.players;
54872
54873
  // Inline function 'kotlin.collections.mapTo' call
@@ -54877,9 +54878,9 @@
54877
54878
  var tmp$ret$0 = roundFinishedPlayerReducer(this, item);
54878
54879
  destination.j(tmp$ret$0);
54879
54880
  }
54880
- return table.copy(VOID, VOID, VOID, VOID, destination, VOID, VOID, emptyList(), emptyList(), null, VOID, roundFinishedGameInfoReducer(this, table), this.e9b_1.z9a(table.gameHistory));
54881
+ return table.copy(VOID, VOID, VOID, VOID, destination, VOID, VOID, emptyList(), emptyList(), null, VOID, roundFinishedGameInfoReducer(this, table), this.f9b_1.a9b(table.gameHistory));
54881
54882
  };
54882
- protoOf(TableLifecycleReducerImpl).c9b = function (table, newGameId) {
54883
+ protoOf(TableLifecycleReducerImpl).d9b = function (table, newGameId) {
54883
54884
  // Inline function 'kotlin.collections.map' call
54884
54885
  var this_0 = table.players;
54885
54886
  // Inline function 'kotlin.collections.mapTo' call
@@ -54918,93 +54919,93 @@
54918
54919
  return true;
54919
54920
  }
54920
54921
  function resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1($isEnableForPlayer, $playerTurnInteractor, $logger, $playerTurnMechanicReducer) {
54921
- this.f9b_1 = $isEnableForPlayer;
54922
- this.g9b_1 = $playerTurnInteractor;
54923
- this.h9b_1 = $logger;
54924
- this.i9b_1 = $playerTurnMechanicReducer;
54922
+ this.g9b_1 = $isEnableForPlayer;
54923
+ this.h9b_1 = $playerTurnInteractor;
54924
+ this.i9b_1 = $logger;
54925
+ this.j9b_1 = $playerTurnMechanicReducer;
54925
54926
  }
54926
54927
  protoOf(resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1).x6f = function (action) {
54927
54928
  return isInterface(action, PlayerAnswerFromClientAction);
54928
54929
  };
54929
- protoOf(resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1).i98 = function (state, action) {
54930
+ protoOf(resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1).j98 = function (state, action) {
54930
54931
  var tmp2 = isInterface(action, PlayerAnswerFromClientAction) ? action : THROW_CCE();
54931
54932
  var tmp$ret$0;
54932
54933
  $l$block: {
54933
54934
  var table = state.n6n();
54934
54935
  var player = getPlayer(table.players, tmp2.playerId);
54935
- if (!this.f9b_1(player)) {
54936
+ if (!this.g9b_1(player)) {
54936
54937
  tmp$ret$0 = state;
54937
54938
  break $l$block;
54938
54939
  }
54939
- var turnModel = this.g9b_1.e8q(player, tmp2);
54940
+ var turnModel = this.h9b_1.e8q(player, tmp2);
54940
54941
  var tmp;
54941
54942
  if (turnModel == null) {
54942
- this.h9b_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
54943
+ this.i9b_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
54943
54944
  tmp = state;
54944
54945
  } else {
54945
- tmp = state.r8t(this.i9b_1.i9a(table, turnModel));
54946
+ tmp = state.r8t(this.j9b_1.j9a(table, turnModel));
54946
54947
  }
54947
54948
  tmp$ret$0 = tmp;
54948
54949
  }
54949
54950
  return tmp$ret$0;
54950
54951
  };
54951
54952
  protoOf(resetPlayerTurnWhenAnswerFromActionReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
54952
- return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
54953
+ return this.j98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
54953
54954
  };
54954
54955
  function resetPlayerTurnWhenAnswerReducer$lambda(it) {
54955
54956
  return true;
54956
54957
  }
54957
54958
  function resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1($isEnableForPlayer, $playerTurnInteractor, $logger, $playerTurnMechanicReducer) {
54958
- this.j9b_1 = $isEnableForPlayer;
54959
- this.k9b_1 = $playerTurnInteractor;
54960
- this.l9b_1 = $logger;
54961
- this.m9b_1 = $playerTurnMechanicReducer;
54959
+ this.k9b_1 = $isEnableForPlayer;
54960
+ this.l9b_1 = $playerTurnInteractor;
54961
+ this.m9b_1 = $logger;
54962
+ this.n9b_1 = $playerTurnMechanicReducer;
54962
54963
  }
54963
54964
  protoOf(resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1).x6f = function (action) {
54964
54965
  return isInterface(action, PlayerTurnAnswerAction);
54965
54966
  };
54966
- protoOf(resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1).i98 = function (state, action) {
54967
+ protoOf(resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1).j98 = function (state, action) {
54967
54968
  var tmp2 = isInterface(action, PlayerTurnAnswerAction) ? action : THROW_CCE();
54968
54969
  var tmp$ret$0;
54969
54970
  $l$block: {
54970
54971
  var table = state.n6n();
54971
54972
  var player = getPlayerTurn(tmp2, table.players);
54972
- if (player == null || !this.j9b_1(player)) {
54973
+ if (player == null || !this.k9b_1(player)) {
54973
54974
  tmp$ret$0 = state;
54974
54975
  break $l$block;
54975
54976
  }
54976
- var turnModel = this.k9b_1.e8q(player, tmp2);
54977
+ var turnModel = this.l9b_1.e8q(player, tmp2);
54977
54978
  var tmp;
54978
54979
  if (turnModel == null) {
54979
- this.l9b_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
54980
+ this.m9b_1.w(VOID, 'TAG is null, action: ' + toString(tmp2) + ', playerId: ' + player.playerId, VOID, new GameErrorReason(Reason_WRONG_PLAYER_TURN_getInstance()));
54980
54981
  tmp = state;
54981
54982
  } else {
54982
- tmp = state.r8t(this.m9b_1.i9a(table, turnModel));
54983
+ tmp = state.r8t(this.n9b_1.j9a(table, turnModel));
54983
54984
  }
54984
54985
  tmp$ret$0 = tmp;
54985
54986
  }
54986
54987
  return tmp$ret$0;
54987
54988
  };
54988
54989
  protoOf(resetPlayerTurnWhenAnswerReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
54989
- return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
54990
+ return this.j98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
54990
54991
  };
54991
54992
  function setPlayerTurnReducer(playerTurnInteractor, playerTurnMechanicReducer) {
54992
54993
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
54993
54994
  return new setPlayerTurnReducer$$inlined$reducerForActionType$1(playerTurnInteractor, playerTurnMechanicReducer);
54994
54995
  }
54995
54996
  function setPlayerTurnReducer$$inlined$reducerForActionType$1($playerTurnInteractor, $playerTurnMechanicReducer) {
54996
- this.n9b_1 = $playerTurnInteractor;
54997
- this.o9b_1 = $playerTurnMechanicReducer;
54997
+ this.o9b_1 = $playerTurnInteractor;
54998
+ this.p9b_1 = $playerTurnMechanicReducer;
54998
54999
  }
54999
55000
  protoOf(setPlayerTurnReducer$$inlined$reducerForActionType$1).x6f = function (action) {
55000
55001
  return isInterface(action, NextPlayerTurnAction);
55001
55002
  };
55002
- protoOf(setPlayerTurnReducer$$inlined$reducerForActionType$1).i98 = function (state, action) {
55003
+ protoOf(setPlayerTurnReducer$$inlined$reducerForActionType$1).j98 = function (state, action) {
55003
55004
  var tmp2 = isInterface(action, NextPlayerTurnAction) ? action : THROW_CCE();
55004
55005
  var tmp$ret$0;
55005
55006
  $l$block: {
55006
55007
  var table = state.n6n();
55007
- var tmp0_elvis_lhs = this.n9b_1.d8q(tmp2, table);
55008
+ var tmp0_elvis_lhs = this.o9b_1.d8q(tmp2, table);
55008
55009
  var tmp;
55009
55010
  if (tmp0_elvis_lhs == null) {
55010
55011
  tmp$ret$0 = state;
@@ -55013,12 +55014,12 @@
55013
55014
  tmp = tmp0_elvis_lhs;
55014
55015
  }
55015
55016
  var turnModel = tmp;
55016
- tmp$ret$0 = state.r8t(this.o9b_1.h9a(table, turnModel));
55017
+ tmp$ret$0 = state.r8t(this.p9b_1.i9a(table, turnModel));
55017
55018
  }
55018
55019
  return tmp$ret$0;
55019
55020
  };
55020
55021
  protoOf(setPlayerTurnReducer$$inlined$reducerForActionType$1).n6h = function (state, action) {
55021
- return this.i98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
55022
+ return this.j98((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
55022
55023
  };
55023
55024
  function get_isCreated(_this__u8e3s4) {
55024
55025
  return _this__u8e3s4.gameLifecycleState.isCreated;
@@ -55034,7 +55035,7 @@
55034
55035
  }
55035
55036
  function Companion_164() {
55036
55037
  }
55037
- protoOf(Companion_164).p9b = function (payload) {
55038
+ protoOf(Companion_164).q9b = function (payload) {
55038
55039
  var tmp;
55039
55040
  if (!(payload == null) ? isInterface(payload, FirstMechanicAction) : false) {
55040
55041
  tmp = toLoggerPayload_0(payload);
@@ -55066,27 +55067,27 @@
55066
55067
  tmp = payloadMapper;
55067
55068
  }
55068
55069
  payloadMapper = tmp;
55069
- this.q9b_1 = logger;
55070
- this.r9b_1 = payloadMapper;
55070
+ this.r9b_1 = logger;
55071
+ this.s9b_1 = payloadMapper;
55071
55072
  }
55072
55073
  protoOf(CallbackWrapperLoggerOutput).x1k = function (tag, message, payload) {
55073
- this.q9b_1.d(tag, message, this.r9b_1(payload));
55074
+ this.r9b_1.d(tag, message, this.s9b_1(payload));
55074
55075
  };
55075
55076
  protoOf(CallbackWrapperLoggerOutput).y1k = function (tag, message, exception, payload) {
55076
- this.q9b_1.e(tag, message, exception, this.r9b_1(payload));
55077
+ this.r9b_1.e(tag, message, exception, this.s9b_1(payload));
55077
55078
  };
55078
55079
  protoOf(CallbackWrapperLoggerOutput).b1l = function (tag, message, payload) {
55079
- this.q9b_1.i(tag, message, this.r9b_1(payload));
55080
+ this.r9b_1.i(tag, message, this.s9b_1(payload));
55080
55081
  };
55081
55082
  protoOf(CallbackWrapperLoggerOutput).a1l = function (tag, message, exception, payload) {
55082
- this.q9b_1.v(tag, message, exception, this.r9b_1(payload));
55083
+ this.r9b_1.v(tag, message, exception, this.s9b_1(payload));
55083
55084
  };
55084
55085
  protoOf(CallbackWrapperLoggerOutput).z1k = function (tag, message, exception, payload) {
55085
- this.q9b_1.w(tag, message, exception, this.r9b_1(payload));
55086
+ this.r9b_1.w(tag, message, exception, this.s9b_1(payload));
55086
55087
  };
55087
55088
  function FileLoggerOutputImpl$observe$o$collect$slambda($$this$unsafeFlow, $types, resultContinuation) {
55088
- this.a9c_1 = $$this$unsafeFlow;
55089
- this.b9c_1 = $types;
55089
+ this.b9c_1 = $$this$unsafeFlow;
55090
+ this.c9c_1 = $types;
55090
55091
  CoroutineImpl.call(this, resultContinuation);
55091
55092
  }
55092
55093
  protoOf(FileLoggerOutputImpl$observe$o$collect$slambda).u2h = function (value, $completion) {
@@ -55107,15 +55108,15 @@
55107
55108
  case 0:
55108
55109
  this.s8_1 = 5;
55109
55110
  var tmp_0 = this;
55110
- tmp_0.e9c_1 = this.a9c_1;
55111
+ tmp_0.f9c_1 = this.b9c_1;
55111
55112
  var tmp_1 = this;
55112
- tmp_1.d9c_1 = this.c9c_1;
55113
+ tmp_1.e9c_1 = this.d9c_1;
55113
55114
  this.r8_1 = 1;
55114
55115
  continue $sm;
55115
55116
  case 1:
55116
- var $this$transform = this.e9c_1;
55117
- var value = this.d9c_1;
55118
- if (contains(this.b9c_1, value.type)) {
55117
+ var $this$transform = this.f9c_1;
55118
+ var value = this.e9c_1;
55119
+ if (contains(this.c9c_1, value.type)) {
55119
55120
  this.r8_1 = 3;
55120
55121
  suspendResult = $this$transform.l28(value, this);
55121
55122
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
@@ -55155,8 +55156,8 @@
55155
55156
  while (true);
55156
55157
  };
55157
55158
  protoOf(FileLoggerOutputImpl$observe$o$collect$slambda).v2h = function (value, completion) {
55158
- var i = new FileLoggerOutputImpl$observe$o$collect$slambda(this.a9c_1, this.b9c_1, completion);
55159
- i.c9c_1 = value;
55159
+ var i = new FileLoggerOutputImpl$observe$o$collect$slambda(this.b9c_1, this.c9c_1, completion);
55160
+ i.d9c_1 = value;
55160
55161
  return i;
55161
55162
  };
55162
55163
  function FileLoggerOutputImpl$observe$o$collect$slambda_0($$this$unsafeFlow, $types, resultContinuation) {
@@ -55169,8 +55170,8 @@
55169
55170
  }
55170
55171
  function $collectCOROUTINE$(_this__u8e3s4, collector, resultContinuation) {
55171
55172
  CoroutineImpl.call(this, resultContinuation);
55172
- this.n9c_1 = _this__u8e3s4;
55173
- this.o9c_1 = collector;
55173
+ this.o9c_1 = _this__u8e3s4;
55174
+ this.p9c_1 = collector;
55174
55175
  }
55175
55176
  protoOf($collectCOROUTINE$).z8 = function () {
55176
55177
  var suspendResult = this.t8_1;
@@ -55180,10 +55181,10 @@
55180
55181
  switch (tmp) {
55181
55182
  case 0:
55182
55183
  this.s8_1 = 2;
55183
- var $this$unsafeFlow = this.o9c_1;
55184
+ var $this$unsafeFlow = this.p9c_1;
55184
55185
  this.r8_1 = 1;
55185
- var tmp_0 = FileLoggerOutputImpl$observe$o$collect$slambda_0($this$unsafeFlow, this.n9c_1.q9c_1, null);
55186
- suspendResult = this.n9c_1.p9c_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
55186
+ var tmp_0 = FileLoggerOutputImpl$observe$o$collect$slambda_0($this$unsafeFlow, this.o9c_1.r9c_1, null);
55187
+ suspendResult = this.o9c_1.q9c_1.l27(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_0), this);
55187
55188
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
55188
55189
  return suspendResult;
55189
55190
  }
@@ -55207,8 +55208,8 @@
55207
55208
  };
55208
55209
  function log($this, type, tag, message, payload, stackTrace) {
55209
55210
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
55210
- $this.t9c_1;
55211
- var tmp0_elvis_lhs = $this.r9c_1(payload);
55211
+ $this.u9c_1;
55212
+ var tmp0_elvis_lhs = $this.s9c_1(payload);
55212
55213
  var tmp;
55213
55214
  if (tmp0_elvis_lhs == null) {
55214
55215
  return Unit_instance;
@@ -55217,7 +55218,7 @@
55217
55218
  }
55218
55219
  var key = tmp;
55219
55220
  // Inline function 'kotlin.collections.getOrPut' call
55220
- var this_0 = $this.u9c_1;
55221
+ var this_0 = $this.v9c_1;
55221
55222
  var value = this_0.b2(key);
55222
55223
  var tmp_0;
55223
55224
  if (value == null) {
@@ -55229,7 +55230,7 @@
55229
55230
  }
55230
55231
  var logger = tmp_0;
55231
55232
  var tmp1_key = key.h6l();
55232
- logger.v9c_1.g2b(new LoggerOutputDataDto(type, tmp1_key, tag, message, stackTrace));
55233
+ logger.w9c_1.g2b(new LoggerOutputDataDto(type, tmp1_key, tag, message, stackTrace));
55233
55234
  }
55234
55235
  function log$default($this, type, tag, message, payload, stackTrace, $super) {
55235
55236
  stackTrace = stackTrace === VOID ? null : stackTrace;
@@ -55239,35 +55240,35 @@
55239
55240
  flow = flow === VOID ? MutableSharedFlow(10, 100, BufferOverflow_DROP_OLDEST_getInstance()) : flow;
55240
55241
  controller = controller === VOID ? null : controller;
55241
55242
  job = job === VOID ? null : job;
55242
- this.v9c_1 = flow;
55243
- this.w9c_1 = controller;
55244
- this.x9c_1 = job;
55243
+ this.w9c_1 = flow;
55244
+ this.x9c_1 = controller;
55245
+ this.y9c_1 = job;
55245
55246
  }
55246
- protoOf(LoggerModel).y9c = function () {
55247
- this.v9c_1.k2b();
55248
- var tmp0_safe_receiver = this.x9c_1;
55247
+ protoOf(LoggerModel).z9c = function () {
55248
+ this.w9c_1.k2b();
55249
+ var tmp0_safe_receiver = this.y9c_1;
55249
55250
  if (tmp0_safe_receiver == null)
55250
55251
  null;
55251
55252
  else {
55252
55253
  tmp0_safe_receiver.o1q();
55253
55254
  }
55254
55255
  };
55255
- protoOf(LoggerModel).z9c = function (flow, controller, job) {
55256
+ protoOf(LoggerModel).a9d = function (flow, controller, job) {
55256
55257
  return new LoggerModel(flow, controller, job);
55257
55258
  };
55258
- protoOf(LoggerModel).a9d = function (flow, controller, job, $super) {
55259
- flow = flow === VOID ? this.v9c_1 : flow;
55260
- controller = controller === VOID ? this.w9c_1 : controller;
55261
- job = job === VOID ? this.x9c_1 : job;
55262
- return $super === VOID ? this.z9c(flow, controller, job) : $super.z9c.call(this, flow, controller, job);
55259
+ protoOf(LoggerModel).b9d = function (flow, controller, job, $super) {
55260
+ flow = flow === VOID ? this.w9c_1 : flow;
55261
+ controller = controller === VOID ? this.x9c_1 : controller;
55262
+ job = job === VOID ? this.y9c_1 : job;
55263
+ return $super === VOID ? this.a9d(flow, controller, job) : $super.a9d.call(this, flow, controller, job);
55263
55264
  };
55264
55265
  protoOf(LoggerModel).toString = function () {
55265
- return 'LoggerModel(flow=' + toString(this.v9c_1) + ', controller=' + toString_0(this.w9c_1) + ', job=' + toString_0(this.x9c_1) + ')';
55266
+ return 'LoggerModel(flow=' + toString(this.w9c_1) + ', controller=' + toString_0(this.x9c_1) + ', job=' + toString_0(this.y9c_1) + ')';
55266
55267
  };
55267
55268
  protoOf(LoggerModel).hashCode = function () {
55268
- var result = hashCode(this.v9c_1);
55269
- result = imul(result, 31) + (this.w9c_1 == null ? 0 : hashCode(this.w9c_1)) | 0;
55269
+ var result = hashCode(this.w9c_1);
55270
55270
  result = imul(result, 31) + (this.x9c_1 == null ? 0 : hashCode(this.x9c_1)) | 0;
55271
+ result = imul(result, 31) + (this.y9c_1 == null ? 0 : hashCode(this.y9c_1)) | 0;
55271
55272
  return result;
55272
55273
  };
55273
55274
  protoOf(LoggerModel).equals = function (other) {
@@ -55275,18 +55276,18 @@
55275
55276
  return true;
55276
55277
  if (!(other instanceof LoggerModel))
55277
55278
  return false;
55278
- if (!equals(this.v9c_1, other.v9c_1))
55279
- return false;
55280
55279
  if (!equals(this.w9c_1, other.w9c_1))
55281
55280
  return false;
55282
55281
  if (!equals(this.x9c_1, other.x9c_1))
55283
55282
  return false;
55283
+ if (!equals(this.y9c_1, other.y9c_1))
55284
+ return false;
55284
55285
  return true;
55285
55286
  };
55286
55287
  function Companion_165() {
55287
- this.b9d_1 = 1000;
55288
+ this.c9d_1 = 1000;
55288
55289
  }
55289
- protoOf(Companion_165).c9d = function (payload) {
55290
+ protoOf(Companion_165).d9d = function (payload) {
55290
55291
  var tmp;
55291
55292
  if (!(payload == null) ? isInterface(payload, FirstMechanicAction) : false) {
55292
55293
  tmp = payload.id;
@@ -55308,13 +55309,13 @@
55308
55309
  return Companion_instance_170;
55309
55310
  }
55310
55311
  function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
55311
- this.d9d_1 = function_0;
55312
+ this.e9d_1 = function_0;
55312
55313
  }
55313
55314
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).l28 = function (value, $completion) {
55314
- return this.d9d_1(value, $completion);
55315
+ return this.e9d_1(value, $completion);
55315
55316
  };
55316
55317
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).a3 = function () {
55317
- return this.d9d_1;
55318
+ return this.e9d_1;
55318
55319
  };
55319
55320
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
55320
55321
  var tmp;
@@ -55338,8 +55339,8 @@
55338
55339
  return null;
55339
55340
  }
55340
55341
  function FileLoggerOutputImpl$observe$$inlined$filter$1($this, $types) {
55341
- this.p9c_1 = $this;
55342
- this.q9c_1 = $types;
55342
+ this.q9c_1 = $this;
55343
+ this.r9c_1 = $types;
55343
55344
  }
55344
55345
  protoOf(FileLoggerOutputImpl$observe$$inlined$filter$1).m28 = function (collector, $completion) {
55345
55346
  var tmp = new $collectCOROUTINE$(this, collector, $completion);
@@ -55359,26 +55360,26 @@
55359
55360
  }
55360
55361
  payloadToLoggerKeyMapper = tmp;
55361
55362
  enabled = enabled === VOID ? true : enabled;
55362
- this.r9c_1 = payloadToLoggerKeyMapper;
55363
- this.s9c_1 = enabled;
55363
+ this.s9c_1 = payloadToLoggerKeyMapper;
55364
+ this.t9c_1 = enabled;
55364
55365
  var tmp_0 = this;
55365
55366
  // Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
55366
- tmp_0.t9c_1 = get_atomicfu$reentrantLock();
55367
+ tmp_0.u9c_1 = get_atomicfu$reentrantLock();
55367
55368
  var tmp_1 = this;
55368
55369
  // Inline function 'kotlin.collections.mutableMapOf' call
55369
- tmp_1.u9c_1 = LinkedHashMap_init_$Create$();
55370
+ tmp_1.v9c_1 = LinkedHashMap_init_$Create$();
55370
55371
  }
55371
55372
  protoOf(FileLoggerOutputImpl).c1l = function (_set____db54di) {
55372
- this.s9c_1 = _set____db54di;
55373
+ this.t9c_1 = _set____db54di;
55373
55374
  };
55374
55375
  protoOf(FileLoggerOutputImpl).d1l = function () {
55375
- return this.s9c_1;
55376
+ return this.t9c_1;
55376
55377
  };
55377
- protoOf(FileLoggerOutputImpl).e9d = function (loggerKey, types) {
55378
+ protoOf(FileLoggerOutputImpl).f9d = function (loggerKey, types) {
55378
55379
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
55379
- this.t9c_1;
55380
+ this.u9c_1;
55380
55381
  // Inline function 'kotlin.collections.getOrPut' call
55381
- var this_0 = this.u9c_1;
55382
+ var this_0 = this.v9c_1;
55382
55383
  var value = this_0.b2(loggerKey);
55383
55384
  var tmp;
55384
55385
  if (value == null) {
@@ -55391,26 +55392,26 @@
55391
55392
  var logger = tmp;
55392
55393
  // Inline function 'kotlinx.coroutines.flow.filter' call
55393
55394
  // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
55394
- var this_1 = logger.v9c_1;
55395
+ var this_1 = logger.w9c_1;
55395
55396
  // Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
55396
55397
  return new FileLoggerOutputImpl$observe$$inlined$filter$1(this_1, types);
55397
55398
  };
55398
55399
  protoOf(FileLoggerOutputImpl).d93 = function (loggerKey) {
55399
55400
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
55400
- this.t9c_1;
55401
- var tmp0_safe_receiver = this.u9c_1.b2(loggerKey);
55401
+ this.u9c_1;
55402
+ var tmp0_safe_receiver = this.v9c_1.b2(loggerKey);
55402
55403
  if (tmp0_safe_receiver == null)
55403
55404
  null;
55404
55405
  else {
55405
- tmp0_safe_receiver.y9c();
55406
+ tmp0_safe_receiver.z9c();
55406
55407
  }
55407
- this.u9c_1.f2(loggerKey);
55408
+ this.v9c_1.f2(loggerKey);
55408
55409
  };
55409
55410
  protoOf(FileLoggerOutputImpl).c93 = function (loggerKey, job, controller) {
55410
55411
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
55411
- this.t9c_1;
55412
+ this.u9c_1;
55412
55413
  // Inline function 'kotlin.collections.getOrPut' call
55413
- var this_0 = this.u9c_1;
55414
+ var this_0 = this.v9c_1;
55414
55415
  var value = this_0.b2(loggerKey);
55415
55416
  var tmp;
55416
55417
  if (value == null) {
@@ -55420,30 +55421,30 @@
55420
55421
  } else {
55421
55422
  tmp = value;
55422
55423
  }
55423
- var updatedModel = tmp.a9d(VOID, controller, job);
55424
+ var updatedModel = tmp.b9d(VOID, controller, job);
55424
55425
  // Inline function 'kotlin.collections.set' call
55425
- this.u9c_1.e2(loggerKey, updatedModel);
55426
+ this.v9c_1.e2(loggerKey, updatedModel);
55426
55427
  };
55427
55428
  protoOf(FileLoggerOutputImpl).h2 = function () {
55428
55429
  // Inline function 'kotlinx.atomicfu.locks.withLock' call
55429
- this.t9c_1;
55430
+ this.u9c_1;
55430
55431
  // Inline function 'kotlin.collections.forEach' call
55431
55432
  // Inline function 'kotlin.collections.iterator' call
55432
- var _iterator__ex2g4s = this.u9c_1.u().l();
55433
+ var _iterator__ex2g4s = this.v9c_1.u().l();
55433
55434
  while (_iterator__ex2g4s.m()) {
55434
55435
  var element = _iterator__ex2g4s.n();
55435
- element.w().y9c();
55436
+ element.w().z9c();
55436
55437
  }
55437
- this.u9c_1.h2();
55438
+ this.v9c_1.h2();
55438
55439
  };
55439
55440
  protoOf(FileLoggerOutputImpl).x1k = function (tag, message, payload) {
55440
- if (!this.s9c_1)
55441
+ if (!this.t9c_1)
55441
55442
  return Unit_instance;
55442
55443
  var tmp0_type = LogType_DEBUG_getInstance();
55443
55444
  log$default(this, tmp0_type, tag, message, payload);
55444
55445
  };
55445
55446
  protoOf(FileLoggerOutputImpl).y1k = function (tag, message, exception, payload) {
55446
- if (!this.s9c_1)
55447
+ if (!this.t9c_1)
55447
55448
  return Unit_instance;
55448
55449
  var tmp4_type = LogType_ERROR_getInstance();
55449
55450
  var tmp;
@@ -55458,13 +55459,13 @@
55458
55459
  log(this, tmp4_type, tag, tmp5_message, payload, tmp6_stackTrace);
55459
55460
  };
55460
55461
  protoOf(FileLoggerOutputImpl).b1l = function (tag, message, payload) {
55461
- if (!this.s9c_1)
55462
+ if (!this.t9c_1)
55462
55463
  return Unit_instance;
55463
55464
  var tmp0_type = LogType_INFO_getInstance();
55464
55465
  log(this, tmp0_type, tag, message, payload, null);
55465
55466
  };
55466
55467
  protoOf(FileLoggerOutputImpl).a1l = function (tag, message, exception, payload) {
55467
- if (!this.s9c_1)
55468
+ if (!this.t9c_1)
55468
55469
  return Unit_instance;
55469
55470
  var tmp4_type = LogType_VERBOSE_getInstance();
55470
55471
  var tmp;
@@ -55479,7 +55480,7 @@
55479
55480
  log(this, tmp4_type, tag, tmp5_message, payload, tmp6_stackTrace);
55480
55481
  };
55481
55482
  protoOf(FileLoggerOutputImpl).z1k = function (tag, message, exception, payload) {
55482
- if (!this.s9c_1)
55483
+ if (!this.t9c_1)
55483
55484
  return Unit_instance;
55484
55485
  var tmp4_type = LogType_WARN_getInstance();
55485
55486
  var tmp1_elvis_lhs = exception == null ? null : exception.message;
@@ -56019,9 +56020,9 @@
56019
56020
  }
56020
56021
  }
56021
56022
  function GameHelperImpl(logger) {
56022
- this.i9d_1 = logger;
56023
+ this.j9d_1 = logger;
56023
56024
  }
56024
- protoOf(GameHelperImpl).f9d = function (store, playerIds, includeBots) {
56025
+ protoOf(GameHelperImpl).g9d = function (store, playerIds, includeBots) {
56025
56026
  var state = store.state;
56026
56027
  var tmp;
56027
56028
  if (!state.o6n()) {
@@ -56067,7 +56068,7 @@
56067
56068
  // Inline function 'kotlin.collections.toTypedArray' call
56068
56069
  return copyToArray(destination_1);
56069
56070
  };
56070
- protoOf(GameHelperImpl).g9d = function (store, playerIds, includeBots) {
56071
+ protoOf(GameHelperImpl).h9d = function (store, playerIds, includeBots) {
56071
56072
  var state = store.state;
56072
56073
  var tmp;
56073
56074
  if (!state.o6n()) {
@@ -56238,10 +56239,10 @@
56238
56239
  // Inline function 'kotlin.collections.toTypedArray' call
56239
56240
  return copyToArray(destination);
56240
56241
  };
56241
- protoOf(GameHelperImpl).h9d = function (mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) {
56242
+ protoOf(GameHelperImpl).i9d = function (mode, points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate, dealerStrategy, transition, league) {
56242
56243
  var roomMode = mapToRoomMode(mode);
56243
56244
  var isEnableChoosePartnerScreen = (transition == null || transition.isEnableChoosePartnerScreen) && roomMode.isEnableChoosePartnerScreen;
56244
- this.i9d_1.v(VOID, 'createConfig: ' + ('mode = ' + roomMode.toString() + ', ') + ('transition = ' + toString_0(transition) + ', ') + ('isPrivate = ' + isPrivate + ', ') + ('dealerStrategy = ' + dealerStrategy + ', ') + ('league = ' + league + ', ') + ('isEnableChoosePartnerScreen = ' + isEnableChoosePartnerScreen + ' '));
56245
+ this.j9d_1.v(VOID, 'createConfig: ' + ('mode = ' + roomMode.toString() + ', ') + ('transition = ' + toString_0(transition) + ', ') + ('isPrivate = ' + isPrivate + ', ') + ('dealerStrategy = ' + dealerStrategy + ', ') + ('league = ' + league + ', ') + ('isEnableChoosePartnerScreen = ' + isEnableChoosePartnerScreen + ' '));
56245
56246
  var options = Companion_instance_154.getServerOptions(isEnableChat, isBotsEnabled, isEnableChoosePartnerScreen);
56246
56247
  var playersMode = this.mapPlayers(players);
56247
56248
  var pointsMode = this.mapPoints(points);
@@ -56676,40 +56677,40 @@
56676
56677
  function getRandomAvatarData_0($this) {
56677
56678
  var avatarSetNumber = Default_getInstance().ng(get_entries_6().o());
56678
56679
  var avatarSet = get_entries_6().p(avatarSetNumber);
56679
- return new AvatarData(Default_getInstance().ng(avatarSet.m9d()), avatarSet);
56680
+ return new AvatarData(Default_getInstance().ng(avatarSet.n9d()), avatarSet);
56680
56681
  }
56681
56682
  function getAvatarUrlByIndex($this, data) {
56682
56683
  return mapToPattern($this, data);
56683
56684
  }
56684
56685
  function getNicknameByIndex($this, data) {
56685
- return data.o9d_1.p9d(data.n9d_1);
56686
+ return data.p9d_1.q9d(data.o9d_1);
56686
56687
  }
56687
56688
  function mapToPattern($this, data) {
56688
- return 'debertz://raspberry.games/' + data.o9d_1.p2_1 + '/' + data.n9d_1;
56689
+ return 'debertz://raspberry.games/' + data.p9d_1.p2_1 + '/' + data.o9d_1;
56689
56690
  }
56690
56691
  function Companion_166() {
56691
56692
  Companion_instance_171 = this;
56692
- this.q9d_1 = 'debertz://raspberry.games';
56693
+ this.r9d_1 = 'debertz://raspberry.games';
56693
56694
  var tmp = this;
56694
56695
  // Inline function 'kotlin.arrayOf' call
56695
56696
  // Inline function 'kotlin.js.unsafeCast' call
56696
56697
  // Inline function 'kotlin.js.asDynamic' call
56697
- tmp.r9d_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
56698
+ tmp.s9d_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
56698
56699
  var tmp_0 = this;
56699
56700
  // Inline function 'kotlin.arrayOf' call
56700
56701
  // Inline function 'kotlin.js.unsafeCast' call
56701
56702
  // Inline function 'kotlin.js.asDynamic' call
56702
- tmp_0.s9d_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'];
56703
+ tmp_0.t9d_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'];
56703
56704
  var tmp_1 = this;
56704
56705
  // Inline function 'kotlin.arrayOf' call
56705
56706
  // Inline function 'kotlin.js.unsafeCast' call
56706
56707
  // Inline function 'kotlin.js.asDynamic' call
56707
- tmp_1.t9d_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
56708
+ tmp_1.u9d_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
56708
56709
  var tmp_2 = this;
56709
56710
  // Inline function 'kotlin.arrayOf' call
56710
56711
  // Inline function 'kotlin.js.unsafeCast' call
56711
56712
  // Inline function 'kotlin.js.asDynamic' call
56712
- tmp_2.u9d_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'];
56713
+ tmp_2.v9d_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'];
56713
56714
  }
56714
56715
  var Companion_instance_171;
56715
56716
  function Companion_getInstance_173() {
@@ -56720,14 +56721,14 @@
56720
56721
  function AvatarSet(name, ordinal) {
56721
56722
  Enum.call(this, name, ordinal);
56722
56723
  }
56723
- protoOf(AvatarSet).m9d = function () {
56724
+ protoOf(AvatarSet).n9d = function () {
56724
56725
  var tmp;
56725
56726
  switch (this.p2_1) {
56726
56727
  case 0:
56727
- tmp = Companion_getInstance_173().s9d_1.length;
56728
+ tmp = Companion_getInstance_173().t9d_1.length;
56728
56729
  break;
56729
56730
  case 1:
56730
- tmp = Companion_getInstance_173().u9d_1.length;
56731
+ tmp = Companion_getInstance_173().v9d_1.length;
56731
56732
  break;
56732
56733
  default:
56733
56734
  noWhenBranchMatchedException();
@@ -56735,14 +56736,14 @@
56735
56736
  }
56736
56737
  return tmp;
56737
56738
  };
56738
- protoOf(AvatarSet).p9d = function (index) {
56739
+ protoOf(AvatarSet).q9d = function (index) {
56739
56740
  var tmp;
56740
56741
  switch (this.p2_1) {
56741
56742
  case 0:
56742
- tmp = Companion_getInstance_173().s9d_1[index];
56743
+ tmp = Companion_getInstance_173().t9d_1[index];
56743
56744
  break;
56744
56745
  case 1:
56745
- tmp = Companion_getInstance_173().u9d_1[index];
56746
+ tmp = Companion_getInstance_173().v9d_1[index];
56746
56747
  break;
56747
56748
  default:
56748
56749
  noWhenBranchMatchedException();
@@ -56751,8 +56752,8 @@
56751
56752
  return tmp;
56752
56753
  };
56753
56754
  function AvatarData(index, avatarSet) {
56754
- this.n9d_1 = index;
56755
- this.o9d_1 = avatarSet;
56755
+ this.o9d_1 = index;
56756
+ this.p9d_1 = avatarSet;
56756
56757
  }
56757
56758
  function AvatarSet_ORIGIN_getInstance() {
56758
56759
  AvatarSet_initEntries();
@@ -56765,7 +56766,7 @@
56765
56766
  function GameResourcesImpl() {
56766
56767
  Companion_getInstance_173();
56767
56768
  }
56768
- protoOf(GameResourcesImpl).j9d = function (playerId, existingNicknames) {
56769
+ protoOf(GameResourcesImpl).k9d = function (playerId, existingNicknames) {
56769
56770
  return createUser(this, playerId, existingNicknames);
56770
56771
  };
56771
56772
  protoOf(GameResourcesImpl).createBotUsers = function (playerIds) {
@@ -56806,45 +56807,45 @@
56806
56807
  }
56807
56808
  var WARN;
56808
56809
  function LoggerCallbacksWrapperLoggerOutput(loggerCallback) {
56809
- this.v9d_1 = loggerCallback;
56810
+ this.w9d_1 = loggerCallback;
56810
56811
  }
56811
56812
  protoOf(LoggerCallbacksWrapperLoggerOutput).x1k = function (tag, message, payload) {
56812
- this.v9d_1('debug', tag, message, null, payload);
56813
+ this.w9d_1('debug', tag, message, null, payload);
56813
56814
  };
56814
56815
  protoOf(LoggerCallbacksWrapperLoggerOutput).y1k = function (tag, message, exception, payload) {
56815
- this.v9d_1('error', tag, generateMsg(message, exception), exception, payload);
56816
+ this.w9d_1('error', tag, generateMsg(message, exception), exception, payload);
56816
56817
  };
56817
56818
  protoOf(LoggerCallbacksWrapperLoggerOutput).b1l = function (tag, message, payload) {
56818
- this.v9d_1('debug', tag, message, null, payload);
56819
+ this.w9d_1('debug', tag, message, null, payload);
56819
56820
  };
56820
56821
  protoOf(LoggerCallbacksWrapperLoggerOutput).a1l = function (tag, message, exception, payload) {
56821
- this.v9d_1('debug', tag, generateMsg(message, exception), exception, payload);
56822
+ this.w9d_1('debug', tag, generateMsg(message, exception), exception, payload);
56822
56823
  };
56823
56824
  protoOf(LoggerCallbacksWrapperLoggerOutput).z1k = function (tag, message, exception, payload) {
56824
- this.v9d_1('warn', tag, generateMsg(message, exception), exception, payload);
56825
+ this.w9d_1('warn', tag, generateMsg(message, exception), exception, payload);
56825
56826
  };
56826
56827
  function ParserHelper() {
56827
56828
  }
56828
56829
  function ParserHelperImpl(json, encoderDecoderProvider) {
56829
- this.w9d_1 = json;
56830
- this.x9d_1 = encoderDecoderProvider;
56830
+ this.x9d_1 = json;
56831
+ this.y9d_1 = encoderDecoderProvider;
56831
56832
  }
56832
56833
  protoOf(ParserHelperImpl).encodeFromClientEvent = function (action) {
56833
- return this.x9d_1.k8i(mapToDto_20(action));
56834
+ return this.y9d_1.k8i(mapToDto_20(action));
56834
56835
  };
56835
56836
  protoOf(ParserHelperImpl).decodeFromClientEvent = function (fromPlayerId, json) {
56836
- return mapFromDto_16(this.x9d_1.o8i(json), fromPlayerId);
56837
+ return mapFromDto_16(this.y9d_1.o8i(json), fromPlayerId);
56837
56838
  };
56838
56839
  protoOf(ParserHelperImpl).encodeToClientEvent = function (action) {
56839
- return this.x9d_1.m8i(mapToDto_74(action));
56840
+ return this.y9d_1.m8i(mapToDto_74(action));
56840
56841
  };
56841
56842
  protoOf(ParserHelperImpl).decodeToClientEventToMechanicActions = function (playerId, engine, json) {
56842
56843
  // Inline function 'kotlin.collections.toTypedArray' call
56843
- var this_0 = mapFromClientDtoListWithPayload(this.x9d_1.p8i(json), playerId, engine);
56844
+ var this_0 = mapFromClientDtoListWithPayload(this.y9d_1.p8i(json), playerId, engine);
56844
56845
  return copyToArray(this_0);
56845
56846
  };
56846
56847
  protoOf(ParserHelperImpl).encodeGameRound = function (round) {
56847
- var tmp0 = this.w9d_1;
56848
+ var tmp0 = this.x9d_1;
56848
56849
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
56849
56850
  var value = mapToDto_31(round);
56850
56851
  // Inline function 'kotlinx.serialization.serializer' call
@@ -56855,7 +56856,7 @@
56855
56856
  return tmp0.ep(tmp$ret$1, value);
56856
56857
  };
56857
56858
  protoOf(ParserHelperImpl).encodeGameRoundItems = function (round) {
56858
- var tmp0 = this.w9d_1;
56859
+ var tmp0 = this.x9d_1;
56859
56860
  // Inline function 'kotlin.collections.map' call
56860
56861
  var this_0 = round.items;
56861
56862
  // Inline function 'kotlin.collections.mapTo' call
@@ -56877,7 +56878,7 @@
56877
56878
  return tmp0.ep(tmp$ret$4, destination);
56878
56879
  };
56879
56880
  protoOf(ParserHelperImpl).encodeGameMetadata = function (metadata) {
56880
- var tmp0 = this.w9d_1;
56881
+ var tmp0 = this.x9d_1;
56881
56882
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
56882
56883
  var value = mapToDto_33(metadata);
56883
56884
  // Inline function 'kotlinx.serialization.serializer' call
@@ -56888,7 +56889,7 @@
56888
56889
  return tmp0.ep(tmp$ret$1, value);
56889
56890
  };
56890
56891
  protoOf(ParserHelperImpl).encodeRoomConfig = function (config) {
56891
- var tmp0 = this.w9d_1;
56892
+ var tmp0 = this.x9d_1;
56892
56893
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
56893
56894
  var value = mapToDto_59(config);
56894
56895
  // Inline function 'kotlinx.serialization.serializer' call
@@ -56899,7 +56900,7 @@
56899
56900
  return tmp0.ep(tmp$ret$1, value);
56900
56901
  };
56901
56902
  protoOf(ParserHelperImpl).encodeGameToRoomTransition = function (transition) {
56902
- var tmp0 = this.w9d_1;
56903
+ var tmp0 = this.x9d_1;
56903
56904
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
56904
56905
  var value = mapToDto_95(transition);
56905
56906
  // Inline function 'kotlinx.serialization.serializer' call
@@ -56911,7 +56912,7 @@
56911
56912
  };
56912
56913
  protoOf(ParserHelperImpl).decodeGameToRoomTransition = function (json) {
56913
56914
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
56914
- var this_0 = this.w9d_1;
56915
+ var this_0 = this.x9d_1;
56915
56916
  // Inline function 'kotlinx.serialization.serializer' call
56916
56917
  var this_1 = this_0.ds();
56917
56918
  // Inline function 'kotlinx.serialization.internal.cast' call
@@ -56922,7 +56923,7 @@
56922
56923
  };
56923
56924
  protoOf(ParserHelperImpl).decodeTableStateWithActions = function (json) {
56924
56925
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
56925
- var this_0 = this.w9d_1;
56926
+ var this_0 = this.x9d_1;
56926
56927
  // Inline function 'kotlinx.serialization.serializer' call
56927
56928
  var this_1 = this_0.ds();
56928
56929
  // Inline function 'kotlinx.serialization.internal.cast' call
@@ -56932,7 +56933,7 @@
56932
56933
  return mapFromDto_97(tmp$ret$2);
56933
56934
  };
56934
56935
  protoOf(ParserHelperImpl).encodeTableStateWithActions = function (table) {
56935
- var tmp0 = this.w9d_1;
56936
+ var tmp0 = this.x9d_1;
56936
56937
  // Inline function 'kotlinx.serialization.json.Json.encodeToString' call
56937
56938
  var value = mapToDto_126(table);
56938
56939
  // Inline function 'kotlinx.serialization.serializer' call
@@ -56943,11 +56944,11 @@
56943
56944
  return tmp0.ep(tmp$ret$1, value);
56944
56945
  };
56945
56946
  protoOf(ParserHelperImpl).decodeTableLite = function (json) {
56946
- return mapFromDto_63(this.x9d_1.n8i(json));
56947
+ return mapFromDto_63(this.y9d_1.n8i(json));
56947
56948
  };
56948
56949
  protoOf(ParserHelperImpl).decodeFullGameHistoryToTableLite = function (json, round) {
56949
56950
  // Inline function 'kotlinx.serialization.json.Json.decodeFromString' call
56950
- var this_0 = this.w9d_1;
56951
+ var this_0 = this.x9d_1;
56951
56952
  // Inline function 'kotlinx.serialization.serializer' call
56952
56953
  var this_1 = this_0.ds();
56953
56954
  // Inline function 'kotlinx.serialization.internal.cast' call
@@ -56960,16 +56961,16 @@
56960
56961
  function RatingHelper() {
56961
56962
  }
56962
56963
  function RatingHelperImpl(userRatingInteractor) {
56963
- this.y9d_1 = userRatingInteractor;
56964
+ this.z9d_1 = userRatingInteractor;
56964
56965
  }
56965
56966
  protoOf(RatingHelperImpl).isValidRatingForLeague = function (league, rating) {
56966
- return this.y9d_1.k8p(league, rating);
56967
+ return this.z9d_1.k8p(league, rating);
56967
56968
  };
56968
56969
  protoOf(RatingHelperImpl).mapRatingToLeague = function (rating) {
56969
- return this.y9d_1.m8p(rating);
56970
+ return this.z9d_1.m8p(rating);
56970
56971
  };
56971
56972
  protoOf(RatingHelperImpl).getLeaguesConfig = function () {
56972
- return this.y9d_1.l8p();
56973
+ return this.z9d_1.l8p();
56973
56974
  };
56974
56975
  function engineHelpersModule() {
56975
56976
  return Module_init_$Create$('Engine helpers Module', VOID, VOID, engineHelpersModule$lambda);
@@ -57074,14 +57075,14 @@
57074
57075
  return new GameResourcesImpl();
57075
57076
  }
57076
57077
  function _get_logger__rkp4sl_3($this) {
57077
- var tmp0 = $this.a9e_1;
57078
+ var tmp0 = $this.b9e_1;
57078
57079
  var tmp = KProperty1;
57079
57080
  // Inline function 'kotlin.getValue' call
57080
57081
  getPropertyCallableRef('logger', 1, tmp, EngineHelpersFactory$_get_logger_$ref_np7wt5(), null);
57081
57082
  return tmp0.w();
57082
57083
  }
57083
57084
  function _get_di__ndbzja($this) {
57084
- var tmp0 = $this.b9e_1;
57085
+ var tmp0 = $this.c9e_1;
57085
57086
  var tmp = KProperty1;
57086
57087
  // Inline function 'kotlin.getValue' call
57087
57088
  getPropertyCallableRef('di', 1, tmp, EngineHelpersFactory$_get_di_$ref_w4qz4i(), null);
@@ -57090,11 +57091,11 @@
57090
57091
  function EngineHelpersFactory$logger$delegate$lambda(this$0) {
57091
57092
  return function () {
57092
57093
  var tmp;
57093
- if (this$0.z9d_1 == null) {
57094
+ if (this$0.a9e_1 == null) {
57094
57095
  tmp = null;
57095
57096
  } else {
57096
57097
  // Inline function 'kotlin.let' call
57097
- tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.z9d_1)]));
57098
+ tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.a9e_1)]));
57098
57099
  }
57099
57100
  var tmp1_elvis_lhs = tmp;
57100
57101
  return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
@@ -57184,11 +57185,11 @@
57184
57185
  }
57185
57186
  function EngineHelpersFactory(loggerCallback) {
57186
57187
  loggerCallback = loggerCallback === VOID ? null : loggerCallback;
57187
- this.z9d_1 = loggerCallback;
57188
+ this.a9e_1 = loggerCallback;
57188
57189
  var tmp = this;
57189
- tmp.a9e_1 = lazy(EngineHelpersFactory$logger$delegate$lambda(this));
57190
+ tmp.b9e_1 = lazy(EngineHelpersFactory$logger$delegate$lambda(this));
57190
57191
  var tmp_0 = this;
57191
- tmp_0.b9e_1 = lazy(EngineHelpersFactory$di$delegate$lambda(this));
57192
+ tmp_0.c9e_1 = lazy(EngineHelpersFactory$di$delegate$lambda(this));
57192
57193
  var tmp_1 = this;
57193
57194
  // Inline function 'org.kodein.di.instance' call
57194
57195
  var this_0 = _get_di__ndbzja(this);
@@ -57197,7 +57198,7 @@
57197
57198
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
57198
57199
  var tmp_3 = Instance(this_0, tmp$ret$0, null);
57199
57200
  var tmp_4 = KProperty1;
57200
- tmp_1.c9e_1 = tmp_3.u64(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
57201
+ tmp_1.d9e_1 = tmp_3.u64(this, getPropertyCallableRef('ratingHelper', 1, tmp_4, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks(), null));
57201
57202
  var tmp_5 = this;
57202
57203
  // Inline function 'org.kodein.di.instance' call
57203
57204
  var this_1 = _get_di__ndbzja(this);
@@ -57206,7 +57207,7 @@
57206
57207
  var tmp$ret$2 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
57207
57208
  var tmp_7 = Instance(this_1, tmp$ret$2, null);
57208
57209
  var tmp_8 = KProperty1;
57209
- tmp_5.d9e_1 = tmp_7.u64(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
57210
+ tmp_5.e9e_1 = tmp_7.u64(this, getPropertyCallableRef('parserHelper', 1, tmp_8, EngineHelpersFactory$_get_parserHelper_$ref_egvg46(), null));
57210
57211
  var tmp_9 = this;
57211
57212
  // Inline function 'org.kodein.di.instance' call
57212
57213
  var this_2 = _get_di__ndbzja(this);
@@ -57215,7 +57216,7 @@
57215
57216
  var tmp$ret$4 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
57216
57217
  var tmp_11 = Instance(this_2, tmp$ret$4, null);
57217
57218
  var tmp_12 = KProperty1;
57218
- tmp_9.e9e_1 = tmp_11.u64(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
57219
+ tmp_9.f9e_1 = tmp_11.u64(this, getPropertyCallableRef('gameHelper', 1, tmp_12, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93(), null));
57219
57220
  var tmp_13 = this;
57220
57221
  // Inline function 'org.kodein.di.instance' call
57221
57222
  var this_3 = _get_di__ndbzja(this);
@@ -57224,31 +57225,31 @@
57224
57225
  var tmp$ret$6 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
57225
57226
  var tmp_15 = Instance(this_3, tmp$ret$6, null);
57226
57227
  var tmp_16 = KProperty1;
57227
- tmp_13.f9e_1 = tmp_15.u64(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
57228
+ tmp_13.g9e_1 = tmp_15.u64(this, getPropertyCallableRef('gameResources', 1, tmp_16, EngineHelpersFactory$_get_gameResources_$ref_kynd2o(), null));
57228
57229
  }
57229
- protoOf(EngineHelpersFactory).g9e = function () {
57230
- var tmp0 = this.c9e_1;
57230
+ protoOf(EngineHelpersFactory).h9e = function () {
57231
+ var tmp0 = this.d9e_1;
57231
57232
  var tmp = KProperty1;
57232
57233
  // Inline function 'kotlin.getValue' call
57233
57234
  getPropertyCallableRef('ratingHelper', 1, tmp, EngineHelpersFactory$_get_ratingHelper_$ref_pl08ks_0(), null);
57234
57235
  return tmp0.w();
57235
57236
  };
57236
- protoOf(EngineHelpersFactory).h9e = function () {
57237
- var tmp0 = this.d9e_1;
57237
+ protoOf(EngineHelpersFactory).i9e = function () {
57238
+ var tmp0 = this.e9e_1;
57238
57239
  var tmp = KProperty1;
57239
57240
  // Inline function 'kotlin.getValue' call
57240
57241
  getPropertyCallableRef('parserHelper', 1, tmp, EngineHelpersFactory$_get_parserHelper_$ref_egvg46_0(), null);
57241
57242
  return tmp0.w();
57242
57243
  };
57243
- protoOf(EngineHelpersFactory).i9e = function () {
57244
- var tmp0 = this.e9e_1;
57244
+ protoOf(EngineHelpersFactory).j9e = function () {
57245
+ var tmp0 = this.f9e_1;
57245
57246
  var tmp = KProperty1;
57246
57247
  // Inline function 'kotlin.getValue' call
57247
57248
  getPropertyCallableRef('gameHelper', 1, tmp, EngineHelpersFactory$_get_gameHelper_$ref_7u8j93_0(), null);
57248
57249
  return tmp0.w();
57249
57250
  };
57250
- protoOf(EngineHelpersFactory).j9e = function () {
57251
- var tmp0 = this.f9e_1;
57251
+ protoOf(EngineHelpersFactory).k9e = function () {
57252
+ var tmp0 = this.g9e_1;
57252
57253
  var tmp = KProperty1;
57253
57254
  // Inline function 'kotlin.getValue' call
57254
57255
  getPropertyCallableRef('gameResources', 1, tmp, EngineHelpersFactory$_get_gameResources_$ref_kynd2o_0(), null);
@@ -57942,7 +57943,7 @@
57942
57943
  protoOf(CallbackWrapperLoggerOutput).i = i;
57943
57944
  protoOf(CallbackWrapperLoggerOutput).v = v;
57944
57945
  protoOf(CallbackWrapperLoggerOutput).w = w;
57945
- protoOf(FileLoggerOutputImpl).w94 = observe$default;
57946
+ protoOf(FileLoggerOutputImpl).x94 = observe$default;
57946
57947
  protoOf(FileLoggerOutputImpl).d = d;
57947
57948
  protoOf(FileLoggerOutputImpl).e = e;
57948
57949
  protoOf(FileLoggerOutputImpl).i = i;
@@ -57962,10 +57963,10 @@
57962
57963
  protoOf(LoggerCallbacksWrapperLoggerOutput).i = i;
57963
57964
  protoOf(LoggerCallbacksWrapperLoggerOutput).v = v;
57964
57965
  protoOf(LoggerCallbacksWrapperLoggerOutput).w = w;
57965
- defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).g9e);
57966
- defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).h9e);
57967
- defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).i9e);
57968
- defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).j9e);
57966
+ defineProp(protoOf(EngineHelpersFactory), 'ratingHelper', protoOf(EngineHelpersFactory).h9e);
57967
+ defineProp(protoOf(EngineHelpersFactory), 'parserHelper', protoOf(EngineHelpersFactory).i9e);
57968
+ defineProp(protoOf(EngineHelpersFactory), 'gameHelper', protoOf(EngineHelpersFactory).j9e);
57969
+ defineProp(protoOf(EngineHelpersFactory), 'gameResources', protoOf(EngineHelpersFactory).k9e);
57969
57970
  //endregion
57970
57971
  //region block: init
57971
57972
  Companion_instance_5 = new Companion_0();