client_plugin_logic_deb 1.8.209 → 1.8.210

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.
@@ -408,7 +408,7 @@
408
408
  initMetadataForClass(AppEnvironmentValue, 'AppEnvironmentValue', VOID, Enum);
409
409
  //endregion
410
410
  function GameEngineConfig() {
411
- this.version = '1.8.209';
411
+ this.version = '1.8.210';
412
412
  }
413
413
  protoOf(GameEngineConfig).u31 = function () {
414
414
  return this.version;
@@ -49294,13 +49294,41 @@
49294
49294
  return emptyList();
49295
49295
  };
49296
49296
  protoOf(FileLoggerStoreContract).e93 = function () {
49297
- var tmp1179_currentPlayerId = this.f93_1;
49298
- var tmp1180_coreConfig = _get_coreConfig__mqagba(this);
49299
- var tmp1181_asyncProvider = _get_asyncProvider__jbpyhw_0(this);
49300
- var tmp1182_loggerFactory = _get_loggerFactory__q2kddj(this);
49301
- var tmp1183_loggerOutput = _get_fileLoggerOutput__qasyxu(this);
49302
- var tmp1184_fileSystem = _get_fileSystem__siywv4(this);
49303
- return fileLoggerMiddleware(tmp1179_currentPlayerId, tmp1180_coreConfig, tmp1182_loggerFactory, tmp1181_asyncProvider, tmp1184_fileSystem, tmp1183_loggerOutput);
49297
+ var tmp;
49298
+ if (_get_coreConfig__mqagba(this).fileLogsEnabled && !(_get_fileLoggerOutput__qasyxu(this) == null)) {
49299
+ var tmp1179_currentPlayerId = this.f93_1;
49300
+ var tmp1180_asyncProvider = _get_asyncProvider__jbpyhw_0(this);
49301
+ var tmp1181_loggerFactory = _get_loggerFactory__q2kddj(this);
49302
+ var tmp$ret$1;
49303
+ $l$block: {
49304
+ // Inline function 'kotlin.requireNotNull' call
49305
+ var value = _get_fileLoggerOutput__qasyxu(this);
49306
+ // Inline function 'kotlin.contracts.contract' call
49307
+ if (value == null) {
49308
+ // Inline function 'games.jass.logic.redux.contracts.FileLoggerStoreContract.<get-middlewares>.<anonymous>' call
49309
+ var message = "fileLoggerMiddleware: loggerOutput isn't created";
49310
+ throw IllegalArgumentException_init_$Create$(toString(message));
49311
+ } else {
49312
+ tmp$ret$1 = value;
49313
+ break $l$block;
49314
+ }
49315
+ }
49316
+ var tmp1182_loggerOutput = tmp$ret$1;
49317
+ tmp = fileLoggerByGameIdMiddleware(tmp1179_currentPlayerId, tmp1181_loggerFactory, tmp1180_asyncProvider, tmp1182_loggerOutput);
49318
+ } else {
49319
+ tmp = null;
49320
+ }
49321
+ var tmp_0 = tmp;
49322
+ var tmp_1;
49323
+ if (_get_coreConfig__mqagba(this).fileLogsEnabled && _get_coreConfig__mqagba(this).deleteFilesOnClear) {
49324
+ var tmp1183_asyncProvider = _get_asyncProvider__jbpyhw_0(this);
49325
+ var tmp1184_fileSystem = _get_fileSystem__siywv4(this);
49326
+ var tmp1185_coreConfig = _get_coreConfig__mqagba(this);
49327
+ tmp_1 = clearLogFilesMiddleware(tmp1184_fileSystem, tmp1185_coreConfig, tmp1183_asyncProvider);
49328
+ } else {
49329
+ tmp_1 = null;
49330
+ }
49331
+ return listOfNotNull([tmp_0, tmp_1]);
49304
49332
  };
49305
49333
  function coreConfig$factory() {
49306
49334
  return getPropertyCallableRef('coreConfig', 1, KProperty1, function (receiver) {
@@ -49471,15 +49499,15 @@
49471
49499
  };
49472
49500
  protoOf(GameMechanicStoreContract).e93 = function () {
49473
49501
  var tmp = sceneLifecycleMiddleware(_get_sceneFactory__scjsbx(this), _get_sceneRouter__ee4ncs(this), _get_sceneValidationInteractor__iffomr(this), _get_asyncProvider__jbpyhw_1(this));
49474
- var tmp1185_sceneRouter = _get_sceneRouter__ee4ncs(this);
49475
- var tmp1186_idsProvider = _get_idsProvider__fnfajc(this);
49476
- var tmp1187_engineLogicConfig = _get_engineLogicConfig__l11qpf(this);
49477
- var tmp1188_logger = _get_logger__rkp4sl_0(this);
49478
- var tmp1189_playerConnectionInteractor = _get_playerConnectionInteractor__si6cxf(this);
49479
- var tmp_0 = sceneRouterMiddleware(tmp1185_sceneRouter, tmp1186_idsProvider, tmp1189_playerConnectionInteractor, tmp1187_engineLogicConfig, tmp1188_logger);
49480
- var tmp1190_logger = _get_logger__rkp4sl_0(this);
49481
- var tmp1191_gameMechanicLogicInteractor = _get_gameLogicInteractor__895s7o(this);
49482
- return plus(listOfNotNull([tmp, tmp_0, consumeFromClientActionsMiddleware(tmp1191_gameMechanicLogicInteractor, tmp1190_logger)]), this.n93_1.e93());
49502
+ var tmp1186_sceneRouter = _get_sceneRouter__ee4ncs(this);
49503
+ var tmp1187_idsProvider = _get_idsProvider__fnfajc(this);
49504
+ var tmp1188_engineLogicConfig = _get_engineLogicConfig__l11qpf(this);
49505
+ var tmp1189_logger = _get_logger__rkp4sl_0(this);
49506
+ var tmp1190_playerConnectionInteractor = _get_playerConnectionInteractor__si6cxf(this);
49507
+ var tmp_0 = sceneRouterMiddleware(tmp1186_sceneRouter, tmp1187_idsProvider, tmp1190_playerConnectionInteractor, tmp1188_engineLogicConfig, tmp1189_logger);
49508
+ var tmp1191_logger = _get_logger__rkp4sl_0(this);
49509
+ var tmp1192_gameMechanicLogicInteractor = _get_gameLogicInteractor__895s7o(this);
49510
+ return plus(listOfNotNull([tmp, tmp_0, consumeFromClientActionsMiddleware(tmp1192_gameMechanicLogicInteractor, tmp1191_logger)]), this.n93_1.e93());
49483
49511
  };
49484
49512
  function logger$factory_1() {
49485
49513
  return getPropertyCallableRef('logger', 1, KProperty1, function (receiver) {
@@ -49781,28 +49809,28 @@
49781
49809
  return emptyList();
49782
49810
  };
49783
49811
  protoOf(ValidationStoreContract).e93 = function () {
49784
- var tmp1192_logger = _get_logger__rkp4sl_2(this);
49785
- var tmp1193_sendErrorToClient = this.e94_1;
49786
- var tmp1194_idsProvider = _get_idsProvider__fnfajc_0(this);
49787
- var playerConnectionValidationMiddlewares = new PlayerConnectionValidationMiddlewares(tmp1194_idsProvider, tmp1192_logger, tmp1193_sendErrorToClient);
49788
- var tmp1195_tagProvider = _get_tagProvider__62phve(this);
49789
- var tmp1196_logger = _get_logger__rkp4sl_2(this);
49790
- var tmp1197_engineLogicConfig = _get_engineLogicConfig__l11qpf_0(this);
49791
- var tmp1198_sendErrorToClient = this.e94_1;
49792
- var tmp1199_idsProvider = _get_idsProvider__fnfajc_0(this);
49793
- var playerTurnValidationMiddlewares = new PlayerTurnValidationMiddlewares(tmp1195_tagProvider, tmp1198_sendErrorToClient, tmp1197_engineLogicConfig, tmp1196_logger, tmp1199_idsProvider);
49794
- var tmp1200_logger = _get_logger__rkp4sl_2(this);
49795
- var tmp1201_sendErrorToClient = this.e94_1;
49796
- var tmp1202_idsProvider = _get_idsProvider__fnfajc_0(this);
49797
- var fromClientValidationMiddleware = new FromClientValidationMiddleware(tmp1202_idsProvider, tmp1200_logger, tmp1201_sendErrorToClient);
49812
+ var tmp1193_logger = _get_logger__rkp4sl_2(this);
49813
+ var tmp1194_sendErrorToClient = this.e94_1;
49814
+ var tmp1195_idsProvider = _get_idsProvider__fnfajc_0(this);
49815
+ var playerConnectionValidationMiddlewares = new PlayerConnectionValidationMiddlewares(tmp1195_idsProvider, tmp1193_logger, tmp1194_sendErrorToClient);
49816
+ var tmp1196_tagProvider = _get_tagProvider__62phve(this);
49817
+ var tmp1197_logger = _get_logger__rkp4sl_2(this);
49818
+ var tmp1198_engineLogicConfig = _get_engineLogicConfig__l11qpf_0(this);
49819
+ var tmp1199_sendErrorToClient = this.e94_1;
49820
+ var tmp1200_idsProvider = _get_idsProvider__fnfajc_0(this);
49821
+ var playerTurnValidationMiddlewares = new PlayerTurnValidationMiddlewares(tmp1196_tagProvider, tmp1199_sendErrorToClient, tmp1198_engineLogicConfig, tmp1197_logger, tmp1200_idsProvider);
49822
+ var tmp1201_logger = _get_logger__rkp4sl_2(this);
49823
+ var tmp1202_sendErrorToClient = this.e94_1;
49824
+ var tmp1203_idsProvider = _get_idsProvider__fnfajc_0(this);
49825
+ var fromClientValidationMiddleware = new FromClientValidationMiddleware(tmp1203_idsProvider, tmp1201_logger, tmp1202_sendErrorToClient);
49798
49826
  var toClientValidationMiddleware = new ToClientValidationMiddleware(_get_logger__rkp4sl_2(this));
49799
49827
  var tmp;
49800
49828
  if (this.e94_1) {
49801
49829
  tmp = plus_0(listOf([playerTurnValidationMiddlewares.z94(), playerTurnValidationMiddlewares.s94()]), playerConnectionValidationMiddlewares.d95());
49802
49830
  } else {
49803
- var tmp1203_currentPlayerId = this.g94_1;
49804
- var tmp1204_localGameMechanicActions = this.f94_1;
49805
- tmp = plus(listOfNotNull([playerTurnValidationMiddlewares.q94(listOf_0(new LocalAnswerOnlyCheck(tmp1204_localGameMechanicActions, tmp1203_currentPlayerId))), !this.f94_1 ? playerTurnValidationMiddlewares.r94(listOf_0(new NotCurrentPlayerCheck(this.g94_1))) : null, playerTurnValidationMiddlewares.s94()]), listOfNotNull([_get_engineLogicConfig__l11qpf_0(this).validateTestMode ? checkGameTestPointsMiddleware(_get_logger__rkp4sl_2(this)) : null, fromClientValidationMiddleware.w94(), toClientValidationMiddleware.w94(), checkGameIsNotTerminatedMiddleware(_get_logger__rkp4sl_2(this)), checkValidSceneMiddleware(_get_logger__rkp4sl_2(this)), checkValidSceneActMiddleware(_get_logger__rkp4sl_2(this)), checkCardDuplicatesForBribesMiddleware(_get_logger__rkp4sl_2(this)), checkCardDuplicatesForScenesMiddleware(_get_logger__rkp4sl_2(this)), checkGameIsFinishedTimerTickMiddleware(_get_logger__rkp4sl_2(this)), checkGameIsFinishedStartTimerMiddleware(), checkGameIsFinishedStopTimerMiddleware()]));
49831
+ var tmp1204_currentPlayerId = this.g94_1;
49832
+ var tmp1205_localGameMechanicActions = this.f94_1;
49833
+ tmp = plus(listOfNotNull([playerTurnValidationMiddlewares.q94(listOf_0(new LocalAnswerOnlyCheck(tmp1205_localGameMechanicActions, tmp1204_currentPlayerId))), !this.f94_1 ? playerTurnValidationMiddlewares.r94(listOf_0(new NotCurrentPlayerCheck(this.g94_1))) : null, playerTurnValidationMiddlewares.s94()]), listOfNotNull([_get_engineLogicConfig__l11qpf_0(this).validateTestMode ? checkGameTestPointsMiddleware(_get_logger__rkp4sl_2(this)) : null, fromClientValidationMiddleware.w94(), toClientValidationMiddleware.w94(), checkGameIsNotTerminatedMiddleware(_get_logger__rkp4sl_2(this)), checkValidSceneMiddleware(_get_logger__rkp4sl_2(this)), checkValidSceneActMiddleware(_get_logger__rkp4sl_2(this)), checkCardDuplicatesForBribesMiddleware(_get_logger__rkp4sl_2(this)), checkCardDuplicatesForScenesMiddleware(_get_logger__rkp4sl_2(this)), checkGameIsFinishedTimerTickMiddleware(_get_logger__rkp4sl_2(this)), checkGameIsFinishedStartTimerMiddleware(), checkGameIsFinishedStopTimerMiddleware()]));
49806
49834
  }
49807
49835
  return tmp;
49808
49836
  };
@@ -49950,14 +49978,14 @@
49950
49978
  actions.e(cardMechanicAction);
49951
49979
  var shouldValidateBribe = newCardsOnTheTable.m() === table.config.playersMode.count;
49952
49980
  if (shouldValidateBribe) {
49953
- var tmp1207_safe_receiver = this.m95_1.c8w(action_0, table.gameInfo.round, newCardsOnTheTable, table.players, table.config);
49954
- if (tmp1207_safe_receiver == null)
49981
+ var tmp1208_safe_receiver = this.m95_1.c8w(action_0, table.gameInfo.round, newCardsOnTheTable, table.players, table.config);
49982
+ if (tmp1208_safe_receiver == null)
49955
49983
  null;
49956
49984
  else {
49957
49985
  // Inline function 'kotlin.apply' call
49958
49986
  // Inline function 'kotlin.contracts.contract' call
49959
49987
  // Inline function 'games.jass.logic.redux.middlewares.consumeFromClientActionsMiddleware.<anonymous>.<anonymous>.<anonymous>' call
49960
- actions.e(tmp1207_safe_receiver);
49988
+ actions.e(tmp1208_safe_receiver);
49961
49989
  }
49962
49990
  var bribeMechanicAction = this.m95_1.d8w(action_0, table.gameInfo.round, newCardsOnTheTable, table.players, table.config);
49963
49991
  actions.e(bribeMechanicAction);
@@ -50045,13 +50073,13 @@
50045
50073
  } else {
50046
50074
  if (action_0 instanceof SceneMechanicAction) {
50047
50075
  var table_0 = store.state.s6s();
50048
- var tmp1209_subject = action_0.i80_1;
50049
- var tmp1217_config = table_0.config;
50050
- var tmp1218_isFirstRound = table_0.gameHistory.isFirstRound;
50051
- if (tmp1209_subject === this.p95_1.v8z(tmp1218_isFirstRound, tmp1217_config)) {
50076
+ var tmp1210_subject = action_0.i80_1;
50077
+ var tmp1218_config = table_0.config;
50078
+ var tmp1219_isFirstRound = table_0.gameHistory.isFirstRound;
50079
+ if (tmp1210_subject === this.p95_1.v8z(tmp1219_isFirstRound, tmp1218_config)) {
50052
50080
  var tmp = store.dispatch;
50053
- var tmp1210_id = table_0.id;
50054
- var tmp1211_gameId = table_0.gameId;
50081
+ var tmp1211_id = table_0.id;
50082
+ var tmp1212_gameId = table_0.gameId;
50055
50083
  // Inline function 'kotlin.collections.toTypedArray' call
50056
50084
  // Inline function 'kotlin.collections.map' call
50057
50085
  var this_0 = table_0.players;
@@ -50064,14 +50092,14 @@
50064
50092
  var tmp$ret$0 = item.playerId;
50065
50093
  destination.e(tmp$ret$0);
50066
50094
  }
50067
- var tmp1212_players = copyToArray(destination);
50068
- var tmp1213_isFirstRound = table_0.gameHistory.isFirstRound;
50069
- var tmp1214_roundNumber = table_0.gameInfo.round.roundNumber;
50070
- var tmp1215_gameNumber = table_0.gameInfo.gameNumber;
50071
- var tmp1216_gameHistory = table_0.gameHistory;
50072
- tmp(new RoundStartedAction(tmp1210_id, tmp1211_gameId, tmp1214_roundNumber, tmp1212_players, tmp1213_isFirstRound, tmp1215_gameNumber, tmp1216_gameHistory));
50095
+ var tmp1213_players = copyToArray(destination);
50096
+ var tmp1214_isFirstRound = table_0.gameHistory.isFirstRound;
50097
+ var tmp1215_roundNumber = table_0.gameInfo.round.roundNumber;
50098
+ var tmp1216_gameNumber = table_0.gameInfo.gameNumber;
50099
+ var tmp1217_gameHistory = table_0.gameHistory;
50100
+ tmp(new RoundStartedAction(tmp1211_id, tmp1212_gameId, tmp1215_roundNumber, tmp1213_players, tmp1214_isFirstRound, tmp1216_gameNumber, tmp1217_gameHistory));
50073
50101
  } else {
50074
- if (tmp1209_subject === this.p95_1.w8z()) {
50102
+ if (tmp1210_subject === this.p95_1.w8z()) {
50075
50103
  var tmp$ret$4;
50076
50104
  $l$block: {
50077
50105
  // Inline function 'games.jass.logic.data.models.scenes.requireSceneData' call
@@ -50136,10 +50164,10 @@
50136
50164
  }
50137
50165
  var isGameFinished = tmp_1;
50138
50166
  var tmp_3 = store.dispatch;
50139
- var tmp1224_id = table_0.id;
50140
- var tmp1225_gameId = table_0.gameId;
50141
- var tmp1226_roundNumber = table_0.gameInfo.round.roundNumber;
50142
- var tmp1227_earnedBiggestPointPlayerId = sceneData.d7e_1;
50167
+ var tmp1225_id = table_0.id;
50168
+ var tmp1226_gameId = table_0.gameId;
50169
+ var tmp1227_roundNumber = table_0.gameInfo.round.roundNumber;
50170
+ var tmp1228_earnedBiggestPointPlayerId = sceneData.d7e_1;
50143
50171
  var tmp_4;
50144
50172
  if (gameWinners == null) {
50145
50173
  tmp_4 = null;
@@ -50147,7 +50175,7 @@
50147
50175
  // Inline function 'kotlin.collections.toTypedArray' call
50148
50176
  tmp_4 = copyToArray(gameWinners);
50149
50177
  }
50150
- var tmp1228_gameWinners = tmp_4;
50178
+ var tmp1229_gameWinners = tmp_4;
50151
50179
  var tmp_5;
50152
50180
  if (isGameFinished) {
50153
50181
  // Inline function 'kotlin.collections.toTypedArray' call
@@ -50166,7 +50194,7 @@
50166
50194
  } else {
50167
50195
  tmp_5 = null;
50168
50196
  }
50169
- var tmp1229_playersGameAnalytics = tmp_5;
50197
+ var tmp1230_playersGameAnalytics = tmp_5;
50170
50198
  // Inline function 'kotlin.collections.toTypedArray' call
50171
50199
  // Inline function 'kotlin.collections.map' call
50172
50200
  var this_4 = table_0.players;
@@ -50179,18 +50207,18 @@
50179
50207
  var tmp$ret$22 = mapToRoundAnalytics(item_2, table_0.gameDuration);
50180
50208
  destination_3.e(tmp$ret$22);
50181
50209
  }
50182
- var tmp1230_playersRoundAnalytics = copyToArray(destination_3);
50183
- var tmp1231_gameHistory = table_0.gameHistory;
50184
- var tmp1221_safe_receiver = sceneData.i7e_1;
50185
- var tmp1222_safe_receiver = tmp1221_safe_receiver == null ? null : tmp1221_safe_receiver.s();
50210
+ var tmp1231_playersRoundAnalytics = copyToArray(destination_3);
50211
+ var tmp1232_gameHistory = table_0.gameHistory;
50212
+ var tmp1222_safe_receiver = sceneData.i7e_1;
50213
+ var tmp1223_safe_receiver = tmp1222_safe_receiver == null ? null : tmp1222_safe_receiver.s();
50186
50214
  var tmp_6;
50187
- if (tmp1222_safe_receiver == null) {
50215
+ if (tmp1223_safe_receiver == null) {
50188
50216
  tmp_6 = null;
50189
50217
  } else {
50190
50218
  // Inline function 'kotlin.collections.map' call
50191
50219
  // Inline function 'kotlin.collections.mapTo' call
50192
- var destination_4 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp1222_safe_receiver, 10));
50193
- var tmp0_iterator_4 = tmp1222_safe_receiver.j();
50220
+ var destination_4 = ArrayList_init_$Create$(collectionSizeOrDefault(tmp1223_safe_receiver, 10));
50221
+ var tmp0_iterator_4 = tmp1223_safe_receiver.j();
50194
50222
  while (tmp0_iterator_4.k()) {
50195
50223
  var item_3 = tmp0_iterator_4.l();
50196
50224
  // Inline function 'games.jass.logic.redux.middlewares.game.roundLifecycleMiddleware.<anonymous>.<anonymous>' call
@@ -50203,16 +50231,16 @@
50203
50231
  }
50204
50232
  tmp_6 = destination_4;
50205
50233
  }
50206
- var tmp1223_safe_receiver = tmp_6;
50234
+ var tmp1224_safe_receiver = tmp_6;
50207
50235
  var tmp_7;
50208
- if (tmp1223_safe_receiver == null) {
50236
+ if (tmp1224_safe_receiver == null) {
50209
50237
  tmp_7 = null;
50210
50238
  } else {
50211
50239
  // Inline function 'kotlin.collections.toTypedArray' call
50212
- tmp_7 = copyToArray(tmp1223_safe_receiver);
50240
+ tmp_7 = copyToArray(tmp1224_safe_receiver);
50213
50241
  }
50214
- var tmp1232_achievements = tmp_7;
50215
- tmp_3(new RoundEndedAction(tmp1224_id, tmp1225_gameId, tmp1226_roundNumber, tmp1227_earnedBiggestPointPlayerId, gameLosers, tmp1228_gameWinners, tmp1229_playersGameAnalytics, tmp1230_playersRoundAnalytics, tmp1232_achievements, tmp1231_gameHistory));
50242
+ var tmp1233_achievements = tmp_7;
50243
+ tmp_3(new RoundEndedAction(tmp1225_id, tmp1226_gameId, tmp1227_roundNumber, tmp1228_earnedBiggestPointPlayerId, gameLosers, tmp1229_gameWinners, tmp1230_playersGameAnalytics, tmp1231_playersRoundAnalytics, tmp1233_achievements, tmp1232_gameHistory));
50216
50244
  }
50217
50245
  }
50218
50246
  }
@@ -50264,8 +50292,8 @@
50264
50292
  // Inline function 'games.jass.logic.redux.middlewares.lastbribe.putPlayerLastCardMiddleware.<anonymous>' call
50265
50293
  var action_0 = isInterface(action, CardsMechanicAction) ? action : THROW_CCE();
50266
50294
  next(action_0);
50267
- var tmp1233_table = store.state.s6s();
50268
- var newAction = getBotActionIfNeeded(action_0, tmp1233_table, this.q95_1, this.r95_1);
50295
+ var tmp1234_table = store.state.s6s();
50296
+ var newAction = getBotActionIfNeeded(action_0, tmp1234_table, this.q95_1, this.r95_1);
50269
50297
  if (newAction == null)
50270
50298
  null;
50271
50299
  else {
@@ -50277,35 +50305,6 @@
50277
50305
  protoOf(_no_name_provided__qut3iv_2).s6k = function (store, next, action) {
50278
50306
  return this.k6l(store, next, action);
50279
50307
  };
50280
- function fileLoggerMiddleware(currentPlayerId, coreConfig, loggerFactory, asyncProvider, fileSystem, loggerOutput) {
50281
- if (loggerOutput == null && coreConfig.fileLogsEnabled) {
50282
- Logger_getInstance().wl(VOID, "fileLoggerMiddleware: loggerOutput isn't created");
50283
- return emptyList();
50284
- }
50285
- var tmp;
50286
- if (coreConfig.fileLogsEnabled) {
50287
- // Inline function 'kotlin.requireNotNull' call
50288
- // Inline function 'kotlin.contracts.contract' call
50289
- var tmp$ret$1;
50290
- $l$block: {
50291
- // Inline function 'kotlin.requireNotNull' call
50292
- // Inline function 'kotlin.contracts.contract' call
50293
- if (loggerOutput == null) {
50294
- // Inline function 'kotlin.requireNotNull.<anonymous>' call
50295
- var message = 'Required value was null.';
50296
- throw IllegalArgumentException_init_$Create$(toString(message));
50297
- } else {
50298
- tmp$ret$1 = loggerOutput;
50299
- break $l$block;
50300
- }
50301
- }
50302
- var tmp1235_loggerOutput = tmp$ret$1;
50303
- tmp = fileLoggerByGameIdMiddleware(currentPlayerId, loggerFactory, asyncProvider, tmp1235_loggerOutput);
50304
- } else {
50305
- tmp = null;
50306
- }
50307
- return listOfNotNull([tmp, coreConfig.fileLogsEnabled && coreConfig.deleteFilesOnClear ? clearLogFilesMiddleware(fileSystem, coreConfig, asyncProvider) : null]);
50308
- }
50309
50308
  function fileLoggerByGameIdMiddleware(currentPlayerId, loggerFactory, asyncProvider, loggerOutput) {
50310
50309
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
50311
50310
  return new _no_name_provided__qut3iv_3(loggerFactory, currentPlayerId, asyncProvider, loggerOutput);