raspberry_games_server_game_logic 1.8.309 → 1.8.311

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.
@@ -68,17 +68,19 @@
68
68
  var hashCode = kotlin_kotlin.$_$.tb;
69
69
  var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
70
70
  var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h1;
71
- var Store = kotlin_io_raspberryapps_game_engine_core.$_$.n2;
71
+ var Store = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
72
72
  var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
73
73
  var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
74
- var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.n3;
74
+ var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.o3;
75
75
  var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w2;
76
- var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.m3;
77
- var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.l3;
76
+ var get_isFinished = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
77
+ var get_isFinishing = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
78
+ var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.n3;
79
+ var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.m3;
78
80
  var toList = kotlin_kotlin.$_$.u9;
79
81
  var toString = kotlin_kotlin.$_$.zc;
80
- var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
81
- var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t3;
82
+ var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.g4;
83
+ var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.u3;
82
84
  var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.h1;
83
85
  var collectionSizeOrDefault = kotlin_kotlin.$_$.s6;
84
86
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
@@ -87,23 +89,24 @@
87
89
  var firstOrNull = kotlin_kotlin.$_$.r7;
88
90
  var toMutableList = kotlin_kotlin.$_$.x9;
89
91
  var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.o;
90
- var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.r4;
91
- var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.a3;
92
+ var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.s4;
93
+ var get_versionOrDefault = kotlin_io_raspberryapps_game_engine_core.$_$.j3;
94
+ var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.w2;
92
95
  var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o2;
93
96
  var RestartRoundReason = kotlin_io_raspberryapps_game_engine_core.$_$.l1;
94
97
  var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z1;
95
- var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
98
+ var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
96
99
  var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u2;
97
- var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.r3;
100
+ var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.s3;
98
101
  var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.s3;
99
102
  var GameToRoomTransition = kotlin_io_raspberryapps_game_engine_engine.$_$.d2;
100
103
  var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b2;
101
104
  var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v2;
102
- var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.c3;
103
- var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.v3;
105
+ var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.y2;
106
+ var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.w3;
104
107
  var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.i1;
105
108
  var noWhenBranchMatchedException = kotlin_kotlin.$_$.qh;
106
- var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.x3;
109
+ var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
107
110
  var emptyList = kotlin_kotlin.$_$.n7;
108
111
  var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
109
112
  var getKClass = kotlin_kotlin.$_$.e;
@@ -118,7 +121,7 @@
118
121
  var lazy = kotlin_kotlin.$_$.ph;
119
122
  var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.n1;
120
123
  var plus = kotlin_kotlin.$_$.z8;
121
- var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
124
+ var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
122
125
  var toString_0 = kotlin_kotlin.$_$.wh;
123
126
  var KProperty1 = kotlin_kotlin.$_$.qd;
124
127
  var getPropertyCallableRef = kotlin_kotlin.$_$.rb;
@@ -139,8 +142,8 @@
139
142
  var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
140
143
  var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
141
144
  var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.a3;
142
- var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
143
- var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
145
+ var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
146
+ var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.a4;
144
147
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
145
148
  var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a1;
146
149
  var single = kotlin_kotlin.$_$.j9;
@@ -154,8 +157,8 @@
154
157
  var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
155
158
  var toLong = kotlin_kotlin.$_$.xc;
156
159
  var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
157
- var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
158
- var Action = kotlin_io_raspberryapps_game_engine_core.$_$.k2;
160
+ var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.f2;
161
+ var Action = kotlin_io_raspberryapps_game_engine_core.$_$.g2;
159
162
  var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.c3;
160
163
  var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.b3;
161
164
  var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.x2;
@@ -181,7 +184,7 @@
181
184
  var prefetchRandomOrgPoolMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.d3;
182
185
  var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.g3;
183
186
  var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x1;
184
- var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.l2;
187
+ var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
185
188
  var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e2;
186
189
  var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.b1;
187
190
  var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.m1;
@@ -204,7 +207,7 @@
204
207
  var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.v1;
205
208
  var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.j2;
206
209
  var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.i;
207
- var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.c4;
210
+ var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
208
211
  var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.t1;
209
212
  var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r2;
210
213
  var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.q1;
@@ -222,14 +225,14 @@
222
225
  var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.j1;
223
226
  var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p2;
224
227
  var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.f1;
225
- var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.m2;
226
- var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.h4;
227
- var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.f4;
228
+ var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.i2;
229
+ var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.i4;
230
+ var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.g4;
228
231
  var Companion_getInstance = kotlin_kotlin.$_$.g5;
229
232
  var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
230
233
  var toDuration = kotlin_kotlin.$_$.ag;
231
234
  var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.m3;
232
- var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.b4;
235
+ var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
233
236
  var singleOrNull = kotlin_kotlin.$_$.i9;
234
237
  var Collection = kotlin_kotlin.$_$.r5;
235
238
  var toSet = kotlin_kotlin.$_$.aa;
@@ -243,26 +246,26 @@
243
246
  var mutableListOf = kotlin_kotlin.$_$.v8;
244
247
  var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
245
248
  var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
246
- var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.s1;
249
+ var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
247
250
  var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
248
251
  var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
249
252
  var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
250
- var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.g4;
251
- var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
253
+ var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.i4;
254
+ var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.h4;
252
255
  var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.j;
253
- var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.p1;
254
- var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.r1;
255
- var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.q1;
256
- var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t4;
257
- var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.d4;
258
- var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.e4;
256
+ var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.e3;
257
+ var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
258
+ var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.f3;
259
+ var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.u4;
260
+ var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.e4;
261
+ var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.f4;
259
262
  var ParserHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.d;
260
263
  var GameHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.a;
261
264
  var GameResources = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
262
265
  var Logger_getInstance = kotlin_io_raspberryapps_cardgame_logger.$_$.m;
263
266
  var Companion_instance_6 = kotlin_io_raspberryapps_cardgame_logger.$_$.n;
264
267
  var toList_0 = kotlin_kotlin.$_$.t9;
265
- var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.p2;
268
+ var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.l2;
266
269
  var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
267
270
  var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.o;
268
271
  var emptyMap = kotlin_kotlin.$_$.o7;
@@ -323,15 +326,15 @@
323
326
  tmp = spectators;
324
327
  }
325
328
  spectators = tmp;
326
- return this.l9w(roomId, gameCreatorId, config, usersArray, transition, spectators);
329
+ return this.g9w(roomId, gameCreatorId, config, usersArray, transition, spectators);
327
330
  }
328
331
  function roomOnDelete(newRid, $super) {
329
332
  newRid = newRid === VOID ? null : newRid;
330
- return this.m9w(newRid);
333
+ return this.h9w(newRid);
331
334
  }
332
335
  function shutdown(reason, roomId, $super) {
333
336
  roomId = roomId === VOID ? null : roomId;
334
- return this.n9w(reason, roomId);
337
+ return this.i9w(reason, roomId);
335
338
  }
336
339
  initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
337
340
  initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
@@ -385,11 +388,13 @@
385
388
  logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
386
389
  dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
387
390
  coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
388
- return this.ba1(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
391
+ return this.ya0(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
389
392
  }
390
393
  initMetadataForInterface(GameEngineController, 'GameEngineController');
391
394
  initMetadataForClass(_no_name_provided__qut3iv_7, VOID, VOID, VOID, [Reducer]);
392
395
  initMetadataForClass(GameServerEngineControllerImpl, 'GameServerEngineControllerImpl', VOID, VOID, [GameEngineController]);
396
+ initMetadataForInterface(GameServerHelper, 'GameServerHelper');
397
+ initMetadataForClass(GameServerHelperImpl, 'GameServerHelperImpl', GameServerHelperImpl, VOID, [GameServerHelper]);
393
398
  initMetadataForInterface(TestHelper, 'TestHelper');
394
399
  initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
395
400
  //endregion
@@ -581,7 +586,7 @@
581
586
  continue $sm;
582
587
  case 1:
583
588
  this.f9_1 = 2;
584
- var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.k9j_1).r8m(), new Long(150, 0));
589
+ var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.k9j_1).q8m(), new Long(150, 0));
585
590
  suspendResult = emitAll(this.l9j_1, new _no_name_provided__qut3iv(this_0), this);
586
591
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
587
592
  return suspendResult;
@@ -1559,7 +1564,11 @@
1559
1564
  var tmp = this.f9_1;
1560
1565
  if (tmp === 0) {
1561
1566
  this.g9_1 = 1;
1567
+ if (get_isFinished(this.r9q_1.state) || get_isFinishing(this.r9q_1.state)) {
1568
+ return Unit_instance;
1569
+ }
1562
1570
  if (!get_isCreated(this.r9q_1.state) || !this.o9q_1.h6b().q6r()) {
1571
+ _get_logger__rkp4sl(this.o9q_1).w('GameEngine_API', 'playerLive: ' + this.p9q_1 + ' before game is created');
1563
1572
  return Unit_instance;
1564
1573
  }
1565
1574
  var tmp_0 = this.r9q_1.dispatch;
@@ -1611,8 +1620,11 @@
1611
1620
  var tmp = this.f9_1;
1612
1621
  if (tmp === 0) {
1613
1622
  this.g9_1 = 1;
1623
+ if (get_isFinished(this.d9r_1.state) || get_isFinishing(this.d9r_1.state)) {
1624
+ return Unit_instance;
1625
+ }
1614
1626
  if (!get_isCreated(this.d9r_1.state) || !this.a9r_1.h6b().q6r()) {
1615
- _get_logger__rkp4sl(this.a9r_1).w('GameEngine_API', 'playerLeft: ' + this.b9r_1 + ' called before the game start');
1627
+ _get_logger__rkp4sl(this.a9r_1).w('GameEngine_API', 'playerLeft: ' + this.b9r_1 + ' before game is created');
1616
1628
  return Unit_instance;
1617
1629
  }
1618
1630
  var tmp_0 = this.d9r_1.dispatch;
@@ -1690,7 +1702,7 @@
1690
1702
  var item = tmp0_iterator.l();
1691
1703
  destination.e(new GameServer$roomOnCreate$1$updatedUsers$previousTeams$1(item));
1692
1704
  }
1693
- var previousTeams = tmp_2.i8m(destination);
1705
+ var previousTeams = tmp_2.h8m(destination);
1694
1706
  var destination_0 = ArrayList_init_$Create$_0();
1695
1707
  var tmp0_iterator_0 = users.j();
1696
1708
  while (tmp0_iterator_0.k()) {
@@ -1714,7 +1726,7 @@
1714
1726
  destination_1.e(destination_2);
1715
1727
  }
1716
1728
  var updatedTeams = destination_1;
1717
- tmp_1 = _get_teamsLogicProvider__u10pm6(this.o9r_1).m8m(updatedTeams);
1729
+ tmp_1 = _get_teamsLogicProvider__u10pm6(this.o9r_1).l8m(updatedTeams);
1718
1730
  } else {
1719
1731
  tmp_1 = users;
1720
1732
  }
@@ -1723,7 +1735,7 @@
1723
1735
  var updatedUsers = tmp_0;
1724
1736
  var gameCreatorUser = getPlayer(users, this.r9r_1);
1725
1737
  var tmp_3 = this.u9r_1.dispatch;
1726
- var tmp1_version = GameEngineConfig_instance.version;
1738
+ var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
1727
1739
  var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
1728
1740
  var tmp3_spectators = toList(this.s9r_1);
1729
1741
  tmp_3(new StartGameMechanicAction(this.n9r_1, this.p9r_1, tmp1_version, this.r9r_1, tmp2_users, VOID, tmp3_spectators));
@@ -1875,7 +1887,7 @@
1875
1887
  this.g9_1 = 1;
1876
1888
  var tmp_0 = this.d9t_1.dispatch;
1877
1889
  var tmp0_reason = new RestartRoundReason(this.z9s_1.gameInfo.round.roundNumber);
1878
- var tmp1_table = Companion_instance_0.restartRound(this.a9t_1, _get_idsProvider__fnfajc(this.b9t_1).v6h(), GameEngineConfig_instance.version, this.z9s_1);
1890
+ var tmp1_table = Companion_instance_0.restartRound(this.a9t_1, _get_idsProvider__fnfajc(this.b9t_1).v6h(), get_versionOrDefault(GameEngineConfig_instance), this.z9s_1);
1879
1891
  tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
1880
1892
  return Unit_instance;
1881
1893
  } else if (tmp === 1) {
@@ -2063,7 +2075,7 @@
2063
2075
  var table = this.v9u_1.state.p6r();
2064
2076
  var player = getPlayer(table.players, this.s9u_1);
2065
2077
  if (player.k6x_1.k6d().b6c_1.isLive) {
2066
- this.v9u_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.t9u_1).g8t(player, table));
2078
+ this.v9u_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.t9u_1).f8t(player, table));
2067
2079
  } else {
2068
2080
  var tmp_0 = this.v9u_1.dispatch;
2069
2081
  var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
@@ -2124,7 +2136,7 @@
2124
2136
  tmp_0 = it;
2125
2137
  }
2126
2138
  var terminationState = tmp_0;
2127
- var gameTransition = terminationState.k8x_1;
2139
+ var gameTransition = terminationState.j8x_1;
2128
2140
  var tmp_1;
2129
2141
  if (gameTransition instanceof GameToRoomTransition) {
2130
2142
  var tmp0_elvis_lhs = this.f9v_1;
@@ -2134,7 +2146,7 @@
2134
2146
  }
2135
2147
  var transition = tmp_1;
2136
2148
  var tmp_2 = this.h9v_1.dispatch;
2137
- var tmp0_reason = terminationState.j8x_1;
2149
+ var tmp0_reason = terminationState.i8x_1;
2138
2150
  var tmp1_isGameFinished = this.e9v_1.h6b().p6r().isGameFinished;
2139
2151
  tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
2140
2152
  return Unit_instance;
@@ -2182,7 +2194,7 @@
2182
2194
  var tmp = this.f9_1;
2183
2195
  if (tmp === 0) {
2184
2196
  this.g9_1 = 1;
2185
- this.s9v_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.s9v_1.state).t9v_1.w9v(VOID, this.q9v_1)));
2197
+ this.s9v_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.s9v_1.state).config.copy(VOID, this.q9v_1)));
2186
2198
  return Unit_instance;
2187
2199
  } else if (tmp === 1) {
2188
2200
  throw this.i9_1;
@@ -2208,9 +2220,9 @@
2208
2220
  return l;
2209
2221
  }
2210
2222
  function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
2211
- this.f9w_1 = $reason;
2212
- this.g9w_1 = this$0;
2213
- this.h9w_1 = $roomId;
2223
+ this.b9w_1 = $reason;
2224
+ this.c9w_1 = this$0;
2225
+ this.d9w_1 = $roomId;
2214
2226
  CoroutineImpl.call(this, resultContinuation);
2215
2227
  }
2216
2228
  protoOf(GameServer$shutdown$slambda).t9p = function ($this$dispatchAsync, store, $completion) {
@@ -2230,11 +2242,11 @@
2230
2242
  var tmp = this.f9_1;
2231
2243
  if (tmp === 0) {
2232
2244
  this.g9_1 = 1;
2233
- var state = this.j9w_1.store.state;
2245
+ var state = this.f9w_1.store.state;
2234
2246
  if (state.q6r()) {
2235
- var tmp0_elvis_lhs = toDomainEnumSafe(this.f9w_1, get_serverShutdownReasonMapping());
2247
+ var tmp0_elvis_lhs = toDomainEnumSafe(this.b9w_1, get_serverShutdownReasonMapping());
2236
2248
  var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
2237
- var tmp_0 = this.j9w_1.dispatch;
2249
+ var tmp_0 = this.f9w_1.dispatch;
2238
2250
  var tmp_1 = Companion_instance;
2239
2251
  var tmp_2;
2240
2252
  switch (shutdownReason.o2_1) {
@@ -2248,10 +2260,10 @@
2248
2260
  noWhenBranchMatchedException();
2249
2261
  break;
2250
2262
  }
2251
- tmp_0(tmp_1.withAnalytics(tmp_2, this.g9w_1.table.isGameFinished, this.g9w_1.table));
2263
+ tmp_0(tmp_1.withAnalytics(tmp_2, this.c9w_1.table.isGameFinished, this.c9w_1.table));
2252
2264
  } else {
2253
- _get_logger__rkp4sl(this.g9w_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.h9w_1);
2254
- this.j9w_1.dispatch(new ClearAction());
2265
+ _get_logger__rkp4sl(this.c9w_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.d9w_1);
2266
+ this.f9w_1.dispatch(new ClearAction());
2255
2267
  }
2256
2268
  return Unit_instance;
2257
2269
  } else if (tmp === 1) {
@@ -2264,9 +2276,9 @@
2264
2276
  while (true);
2265
2277
  };
2266
2278
  protoOf(GameServer$shutdown$slambda).u9p = function ($this$dispatchAsync, store, completion) {
2267
- var i = new GameServer$shutdown$slambda(this.f9w_1, this.g9w_1, this.h9w_1, completion);
2268
- i.i9w_1 = $this$dispatchAsync;
2269
- i.j9w_1 = store;
2279
+ var i = new GameServer$shutdown$slambda(this.b9w_1, this.c9w_1, this.d9w_1, completion);
2280
+ i.e9w_1 = $this$dispatchAsync;
2281
+ i.f9w_1 = store;
2270
2282
  return i;
2271
2283
  };
2272
2284
  function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
@@ -2278,7 +2290,7 @@
2278
2290
  return l;
2279
2291
  }
2280
2292
  function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
2281
- preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_10.k9w()) : preloadedState;
2293
+ preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_10.initial()) : preloadedState;
2282
2294
  var tmp;
2283
2295
  if (externalReducers === VOID) {
2284
2296
  // Inline function 'kotlin.collections.listOf' call
@@ -2335,8 +2347,8 @@
2335
2347
  var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
2336
2348
  tmp_12.i9n_1 = Instance(di, tmp$ret$12, null).p63(this, idsProvider$factory());
2337
2349
  var tmp_14 = this;
2338
- var tmp0_externalMiddlewares = plus(storeContract.v91(), externalMiddlewares);
2339
- var tmp1_externalReducers = plus(storeContract.u91(), externalReducers);
2350
+ var tmp0_externalMiddlewares = plus(storeContract.u91(), externalMiddlewares);
2351
+ var tmp1_externalReducers = plus(storeContract.t91(), externalReducers);
2340
2352
  tmp_14.j9n_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
2341
2353
  }
2342
2354
  protoOf(GameServer).c6q = function () {
@@ -2382,7 +2394,7 @@
2382
2394
  _get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
2383
2395
  this.j9n_1.o6r(GameServer$playerLeft$slambda_0(this, playerId, null));
2384
2396
  };
2385
- protoOf(GameServer).l9w = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
2397
+ protoOf(GameServer).g9w = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
2386
2398
  _get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
2387
2399
  this.j9n_1.o6r(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
2388
2400
  };
@@ -2406,7 +2418,7 @@
2406
2418
  _get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
2407
2419
  this.j9n_1.o6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
2408
2420
  };
2409
- protoOf(GameServer).m9w = function (newRid) {
2421
+ protoOf(GameServer).h9w = function (newRid) {
2410
2422
  _get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
2411
2423
  this.j9n_1.o6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
2412
2424
  };
@@ -2414,7 +2426,7 @@
2414
2426
  _get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
2415
2427
  this.j9n_1.o6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
2416
2428
  };
2417
- protoOf(GameServer).n9w = function (reason, roomId) {
2429
+ protoOf(GameServer).i9w = function (reason, roomId) {
2418
2430
  _get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
2419
2431
  this.j9n_1.o6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
2420
2432
  };
@@ -2521,7 +2533,7 @@
2521
2533
  }
2522
2534
  function Companion_0() {
2523
2535
  }
2524
- protoOf(Companion_0).o9w = function (fromRound) {
2536
+ protoOf(Companion_0).initial = function (fromRound) {
2525
2537
  return new ServerConfig(fromRound, true);
2526
2538
  };
2527
2539
  var Companion_instance_8;
@@ -2529,23 +2541,35 @@
2529
2541
  return Companion_instance_8;
2530
2542
  }
2531
2543
  function ServerConfig(fromRound, canStartNewGame) {
2532
- this.u9v_1 = fromRound;
2533
- this.v9v_1 = canStartNewGame;
2544
+ this.fromRound = fromRound;
2545
+ this.canStartNewGame = canStartNewGame;
2534
2546
  }
2535
- protoOf(ServerConfig).p9w = function (fromRound, canStartNewGame) {
2547
+ protoOf(ServerConfig).j9w = function () {
2548
+ return this.fromRound;
2549
+ };
2550
+ protoOf(ServerConfig).k9w = function () {
2551
+ return this.canStartNewGame;
2552
+ };
2553
+ protoOf(ServerConfig).qe = function () {
2554
+ return this.fromRound;
2555
+ };
2556
+ protoOf(ServerConfig).re = function () {
2557
+ return this.canStartNewGame;
2558
+ };
2559
+ protoOf(ServerConfig).l9w = function (fromRound, canStartNewGame) {
2536
2560
  return new ServerConfig(fromRound, canStartNewGame);
2537
2561
  };
2538
- protoOf(ServerConfig).w9v = function (fromRound, canStartNewGame, $super) {
2539
- fromRound = fromRound === VOID ? this.u9v_1 : fromRound;
2540
- canStartNewGame = canStartNewGame === VOID ? this.v9v_1 : canStartNewGame;
2541
- return $super === VOID ? this.p9w(fromRound, canStartNewGame) : $super.p9w.call(this, fromRound, canStartNewGame);
2562
+ protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
2563
+ fromRound = fromRound === VOID ? this.fromRound : fromRound;
2564
+ canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
2565
+ return this.l9w(fromRound, canStartNewGame);
2542
2566
  };
2543
2567
  protoOf(ServerConfig).toString = function () {
2544
- return 'ServerConfig(fromRound=' + this.u9v_1 + ', canStartNewGame=' + this.v9v_1 + ')';
2568
+ return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
2545
2569
  };
2546
2570
  protoOf(ServerConfig).hashCode = function () {
2547
- var result = this.u9v_1 == null ? 0 : this.u9v_1;
2548
- result = imul(result, 31) + getBooleanHashCode(this.v9v_1) | 0;
2571
+ var result = this.fromRound == null ? 0 : this.fromRound;
2572
+ result = imul(result, 31) + getBooleanHashCode(this.canStartNewGame) | 0;
2549
2573
  return result;
2550
2574
  };
2551
2575
  protoOf(ServerConfig).equals = function (other) {
@@ -2554,9 +2578,9 @@
2554
2578
  if (!(other instanceof ServerConfig))
2555
2579
  return false;
2556
2580
  var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
2557
- if (!(this.u9v_1 == tmp0_other_with_cast.u9v_1))
2581
+ if (!(this.fromRound == tmp0_other_with_cast.fromRound))
2558
2582
  return false;
2559
- if (!(this.v9v_1 === tmp0_other_with_cast.v9v_1))
2583
+ if (!(this.canStartNewGame === tmp0_other_with_cast.canStartNewGame))
2560
2584
  return false;
2561
2585
  return true;
2562
2586
  };
@@ -2571,12 +2595,12 @@
2571
2595
  protoOf(TableStateUpdate).qe = function () {
2572
2596
  return this.table;
2573
2597
  };
2574
- protoOf(TableStateUpdate).q9w = function (table) {
2598
+ protoOf(TableStateUpdate).m9w = function (table) {
2575
2599
  return new TableStateUpdate(table);
2576
2600
  };
2577
2601
  protoOf(TableStateUpdate).copy = function (table, $super) {
2578
2602
  table = table === VOID ? this.table : table;
2579
- return this.q9w(table);
2603
+ return this.m9w(table);
2580
2604
  };
2581
2605
  protoOf(TableStateUpdate).toString = function () {
2582
2606
  return 'TableStateUpdate(table=' + this.table.toString() + ')';
@@ -2597,18 +2621,18 @@
2597
2621
  function ActionsStateUpdate(actions) {
2598
2622
  this.actions = actions;
2599
2623
  }
2600
- protoOf(ActionsStateUpdate).a8f = function () {
2624
+ protoOf(ActionsStateUpdate).z8e = function () {
2601
2625
  return this.actions;
2602
2626
  };
2603
2627
  protoOf(ActionsStateUpdate).qe = function () {
2604
2628
  return this.actions;
2605
2629
  };
2606
- protoOf(ActionsStateUpdate).r9w = function (actions) {
2630
+ protoOf(ActionsStateUpdate).n9w = function (actions) {
2607
2631
  return new ActionsStateUpdate(actions);
2608
2632
  };
2609
2633
  protoOf(ActionsStateUpdate).copy = function (actions, $super) {
2610
2634
  actions = actions === VOID ? this.actions : actions;
2611
- return this.r9w(actions);
2635
+ return this.n9w(actions);
2612
2636
  };
2613
2637
  protoOf(ActionsStateUpdate).toString = function () {
2614
2638
  return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
@@ -2854,18 +2878,18 @@
2854
2878
  function ToClientEventsObserver() {
2855
2879
  }
2856
2880
  function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
2857
- this.b9x_1 = this$0;
2858
- this.c9x_1 = $actions;
2881
+ this.x9w_1 = this$0;
2882
+ this.y9w_1 = $actions;
2859
2883
  CoroutineImpl.call(this, resultContinuation);
2860
2884
  }
2861
- protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).j9x = function ($this$flow, $completion) {
2862
- var tmp = this.k9x($this$flow, $completion);
2885
+ protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).f9x = function ($this$flow, $completion) {
2886
+ var tmp = this.g9x($this$flow, $completion);
2863
2887
  tmp.h9_1 = Unit_instance;
2864
2888
  tmp.i9_1 = null;
2865
2889
  return tmp.n9();
2866
2890
  };
2867
2891
  protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).x9 = function (p1, $completion) {
2868
- return this.j9x((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
2892
+ return this.f9x((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
2869
2893
  };
2870
2894
  protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).n9 = function () {
2871
2895
  var suspendResult = this.h9_1;
@@ -2876,23 +2900,23 @@
2876
2900
  case 0:
2877
2901
  this.g9_1 = 4;
2878
2902
  var tmp_0 = this;
2879
- tmp_0.e9x_1 = this.b9x_1.p9x_1;
2903
+ tmp_0.a9x_1 = this.x9w_1.l9x_1;
2880
2904
  var tmp_1 = this;
2881
- tmp_1.f9x_1 = transformToEmits(this.b9x_1, this.c9x_1);
2882
- this.g9x_1 = this.f9x_1.j();
2905
+ tmp_1.b9x_1 = transformToEmits(this.x9w_1, this.y9w_1);
2906
+ this.c9x_1 = this.b9x_1.j();
2883
2907
  this.f9_1 = 1;
2884
2908
  continue $sm;
2885
2909
  case 1:
2886
- if (!this.g9x_1.k()) {
2910
+ if (!this.c9x_1.k()) {
2887
2911
  this.f9_1 = 3;
2888
2912
  continue $sm;
2889
2913
  }
2890
2914
 
2891
- this.h9x_1 = this.g9x_1.l();
2915
+ this.d9x_1 = this.c9x_1.l();
2892
2916
  var tmp_2 = this;
2893
- tmp_2.i9x_1 = this.h9x_1;
2917
+ tmp_2.e9x_1 = this.d9x_1;
2894
2918
  this.f9_1 = 2;
2895
- suspendResult = this.d9x_1.d18(this.i9x_1, this);
2919
+ suspendResult = this.z9w_1.d18(this.e9x_1, this);
2896
2920
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2897
2921
  return suspendResult;
2898
2922
  }
@@ -2903,10 +2927,10 @@
2903
2927
  continue $sm;
2904
2928
  case 3:
2905
2929
  l$ret$1: do {
2906
- var this_0 = this.b9x_1.o9x_1;
2930
+ var this_0 = this.x9w_1.k9x_1;
2907
2931
  while (true) {
2908
2932
  var cur = this_0.kotlinx$atomicfu$value;
2909
- var upd = cur - this.c9x_1.m() | 0;
2933
+ var upd = cur - this.y9w_1.m() | 0;
2910
2934
  if (this_0.atomicfu$compareAndSet(cur, upd)) {
2911
2935
  break l$ret$1;
2912
2936
  }
@@ -2928,15 +2952,15 @@
2928
2952
  }
2929
2953
  while (true);
2930
2954
  };
2931
- protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).k9x = function ($this$flow, completion) {
2932
- var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.b9x_1, this.c9x_1, completion);
2933
- i.d9x_1 = $this$flow;
2955
+ protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).g9x = function ($this$flow, completion) {
2956
+ var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.x9w_1, this.y9w_1, completion);
2957
+ i.z9w_1 = $this$flow;
2934
2958
  return i;
2935
2959
  };
2936
2960
  function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
2937
2961
  var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
2938
2962
  var l = function ($this$flow, $completion) {
2939
- return i.j9x($this$flow, $completion);
2963
+ return i.f9x($this$flow, $completion);
2940
2964
  };
2941
2965
  l.$arity = 1;
2942
2966
  return l;
@@ -3009,29 +3033,29 @@
3009
3033
  return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
3010
3034
  }
3011
3035
  function mapFromGroupKey(_this__u8e3s4, $this) {
3012
- var tmp = $this.n9x_1.v6h();
3036
+ var tmp = $this.j9x_1.v6h();
3013
3037
  // Inline function 'kotlin.collections.toTypedArray' call
3014
- var this_0 = _this__u8e3s4.s9x_1;
3038
+ var this_0 = _this__u8e3s4.o9x_1;
3015
3039
  var tmp_0 = copyToArray(this_0);
3016
3040
  // Inline function 'kotlin.collections.toTypedArray' call
3017
- var this_1 = _this__u8e3s4.t9x_1;
3041
+ var this_1 = _this__u8e3s4.p9x_1;
3018
3042
  var tmp$ret$1 = copyToArray(this_1);
3019
- return new ActionDeliveryPayload(_this__u8e3s4.r9x_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.u9x_1);
3043
+ return new ActionDeliveryPayload(_this__u8e3s4.n9x_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.q9x_1);
3020
3044
  }
3021
3045
  function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
3022
- this.r9x_1 = tableId;
3023
- this.s9x_1 = includePlayers;
3024
- this.t9x_1 = excludePlayers;
3025
- this.u9x_1 = deliveryType;
3046
+ this.n9x_1 = tableId;
3047
+ this.o9x_1 = includePlayers;
3048
+ this.p9x_1 = excludePlayers;
3049
+ this.q9x_1 = deliveryType;
3026
3050
  }
3027
3051
  protoOf(GroupKey).toString = function () {
3028
- return 'GroupKey(tableId=' + this.r9x_1 + ', includePlayers=' + toString(this.s9x_1) + ', excludePlayers=' + toString(this.t9x_1) + ', deliveryType=' + this.u9x_1.toString() + ')';
3052
+ return 'GroupKey(tableId=' + this.n9x_1 + ', includePlayers=' + toString(this.o9x_1) + ', excludePlayers=' + toString(this.p9x_1) + ', deliveryType=' + this.q9x_1.toString() + ')';
3029
3053
  };
3030
3054
  protoOf(GroupKey).hashCode = function () {
3031
- var result = getStringHashCode(this.r9x_1);
3032
- result = imul(result, 31) + hashCode(this.s9x_1) | 0;
3033
- result = imul(result, 31) + hashCode(this.t9x_1) | 0;
3034
- result = imul(result, 31) + this.u9x_1.hashCode() | 0;
3055
+ var result = getStringHashCode(this.n9x_1);
3056
+ result = imul(result, 31) + hashCode(this.o9x_1) | 0;
3057
+ result = imul(result, 31) + hashCode(this.p9x_1) | 0;
3058
+ result = imul(result, 31) + this.q9x_1.hashCode() | 0;
3035
3059
  return result;
3036
3060
  };
3037
3061
  protoOf(GroupKey).equals = function (other) {
@@ -3040,35 +3064,35 @@
3040
3064
  if (!(other instanceof GroupKey))
3041
3065
  return false;
3042
3066
  var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
3043
- if (!(this.r9x_1 === tmp0_other_with_cast.r9x_1))
3067
+ if (!(this.n9x_1 === tmp0_other_with_cast.n9x_1))
3044
3068
  return false;
3045
- if (!equals(this.s9x_1, tmp0_other_with_cast.s9x_1))
3069
+ if (!equals(this.o9x_1, tmp0_other_with_cast.o9x_1))
3046
3070
  return false;
3047
- if (!equals(this.t9x_1, tmp0_other_with_cast.t9x_1))
3071
+ if (!equals(this.p9x_1, tmp0_other_with_cast.p9x_1))
3048
3072
  return false;
3049
- if (!this.u9x_1.equals(tmp0_other_with_cast.u9x_1))
3073
+ if (!this.q9x_1.equals(tmp0_other_with_cast.q9x_1))
3050
3074
  return false;
3051
3075
  return true;
3052
3076
  };
3053
3077
  function Companion_1() {
3054
- this.v9x_1 = 6;
3078
+ this.r9x_1 = 6;
3055
3079
  }
3056
3080
  var Companion_instance_9;
3057
3081
  function Companion_getInstance_2() {
3058
3082
  return Companion_instance_9;
3059
3083
  }
3060
3084
  function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
3061
- this.e9y_1 = this$0;
3085
+ this.a9y_1 = this$0;
3062
3086
  CoroutineImpl.call(this, resultContinuation);
3063
3087
  }
3064
- protoOf(ToClientEventsObserverImpl$observeEvents$slambda).g9y = function (actions, $completion) {
3065
- var tmp = this.h9y(actions, $completion);
3088
+ protoOf(ToClientEventsObserverImpl$observeEvents$slambda).c9y = function (actions, $completion) {
3089
+ var tmp = this.d9y(actions, $completion);
3066
3090
  tmp.h9_1 = Unit_instance;
3067
3091
  tmp.i9_1 = null;
3068
3092
  return tmp.n9();
3069
3093
  };
3070
3094
  protoOf(ToClientEventsObserverImpl$observeEvents$slambda).x9 = function (p1, $completion) {
3071
- return this.g9y((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
3095
+ return this.c9y((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
3072
3096
  };
3073
3097
  protoOf(ToClientEventsObserverImpl$observeEvents$slambda).n9 = function () {
3074
3098
  var suspendResult = this.h9_1;
@@ -3077,7 +3101,7 @@
3077
3101
  var tmp = this.f9_1;
3078
3102
  if (tmp === 0) {
3079
3103
  this.g9_1 = 1;
3080
- return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.e9y_1, this.f9y_1, null));
3104
+ return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.a9y_1, this.b9y_1, null));
3081
3105
  } else if (tmp === 1) {
3082
3106
  throw this.i9_1;
3083
3107
  }
@@ -3087,23 +3111,23 @@
3087
3111
  }
3088
3112
  while (true);
3089
3113
  };
3090
- protoOf(ToClientEventsObserverImpl$observeEvents$slambda).h9y = function (actions, completion) {
3091
- var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.e9y_1, completion);
3092
- i.f9y_1 = actions;
3114
+ protoOf(ToClientEventsObserverImpl$observeEvents$slambda).d9y = function (actions, completion) {
3115
+ var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.a9y_1, completion);
3116
+ i.b9y_1 = actions;
3093
3117
  return i;
3094
3118
  };
3095
3119
  function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
3096
3120
  var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
3097
3121
  var l = function (actions, $completion) {
3098
- return i.g9y(actions, $completion);
3122
+ return i.c9y(actions, $completion);
3099
3123
  };
3100
3124
  l.$arity = 1;
3101
3125
  return l;
3102
3126
  }
3103
3127
  function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
3104
3128
  CoroutineImpl.call(this, resultContinuation);
3105
- this.q9y_1 = _this__u8e3s4;
3106
- this.r9y_1 = fromEvent;
3129
+ this.m9y_1 = _this__u8e3s4;
3130
+ this.n9y_1 = fromEvent;
3107
3131
  }
3108
3132
  protoOf($sentEventCOROUTINE$3).n9 = function () {
3109
3133
  var suspendResult = this.h9_1;
@@ -3114,9 +3138,9 @@
3114
3138
  case 0:
3115
3139
  this.g9_1 = 2;
3116
3140
  var tmp_0 = this;
3117
- tmp_0.s9y_1 = this.q9y_1.p9x_1;
3141
+ tmp_0.o9y_1 = this.m9y_1.l9x_1;
3118
3142
  l$ret$1: do {
3119
- var this_0 = this.q9y_1.o9x_1;
3143
+ var this_0 = this.m9y_1.k9x_1;
3120
3144
  while (true) {
3121
3145
  var cur = this_0.kotlinx$atomicfu$value;
3122
3146
  var upd = cur + 1 | 0;
@@ -3127,7 +3151,7 @@
3127
3151
  }
3128
3152
  while (false);
3129
3153
  this.f9_1 = 1;
3130
- suspendResult = this.q9y_1.q9x_1.d18(this.r9y_1, this);
3154
+ suspendResult = this.m9y_1.m9x_1.d18(this.n9y_1, this);
3131
3155
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3132
3156
  return suspendResult;
3133
3157
  }
@@ -3151,7 +3175,7 @@
3151
3175
  };
3152
3176
  function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
3153
3177
  CoroutineImpl.call(this, resultContinuation);
3154
- this.b9z_1 = _this__u8e3s4;
3178
+ this.x9y_1 = _this__u8e3s4;
3155
3179
  }
3156
3180
  protoOf($waitForCOROUTINE$4).n9 = function () {
3157
3181
  var suspendResult = this.h9_1;
@@ -3162,12 +3186,12 @@
3162
3186
  case 0:
3163
3187
  this.g9_1 = 5;
3164
3188
  var tmp_0 = this;
3165
- tmp_0.c9z_1 = this.b9z_1.p9x_1;
3166
- this.d9z_1 = 0;
3189
+ tmp_0.y9y_1 = this.x9y_1.l9x_1;
3190
+ this.z9y_1 = 0;
3167
3191
  this.f9_1 = 1;
3168
3192
  continue $sm;
3169
3193
  case 1:
3170
- if (!!(this.b9z_1.o9x_1.kotlinx$atomicfu$value === 0)) {
3194
+ if (!!(this.x9y_1.k9x_1.kotlinx$atomicfu$value === 0)) {
3171
3195
  this.f9_1 = 4;
3172
3196
  continue $sm;
3173
3197
  }
@@ -3180,9 +3204,9 @@
3180
3204
 
3181
3205
  continue $sm;
3182
3206
  case 2:
3183
- this.d9z_1 = this.d9z_1 + 1 | 0;
3184
- if (this.d9z_1 > 6) {
3185
- this.b9z_1.m9x_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.b9z_1.o9x_1.kotlinx$atomicfu$value);
3207
+ this.z9y_1 = this.z9y_1 + 1 | 0;
3208
+ if (this.z9y_1 > 6) {
3209
+ this.x9y_1.i9x_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.x9y_1.k9x_1.kotlinx$atomicfu$value);
3186
3210
  this.f9_1 = 4;
3187
3211
  continue $sm;
3188
3212
  } else {
@@ -3210,42 +3234,42 @@
3210
3234
  while (true);
3211
3235
  };
3212
3236
  function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
3213
- this.l9x_1 = serverReduxConfig;
3214
- this.m9x_1 = logger;
3215
- this.n9x_1 = idsProvider;
3216
- this.o9x_1 = atomic$ref$1(0);
3237
+ this.h9x_1 = serverReduxConfig;
3238
+ this.i9x_1 = logger;
3239
+ this.j9x_1 = idsProvider;
3240
+ this.k9x_1 = atomic$ref$1(0);
3217
3241
  var tmp = this;
3218
3242
  // Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
3219
- tmp.p9x_1 = get_atomicfu$reentrantLock();
3220
- this.q9x_1 = MutableSharedFlow();
3243
+ tmp.l9x_1 = get_atomicfu$reentrantLock();
3244
+ this.m9x_1 = MutableSharedFlow();
3221
3245
  }
3222
- protoOf(ToClientEventsObserverImpl).s9w = function (fromEvent, $completion) {
3246
+ protoOf(ToClientEventsObserverImpl).o9w = function (fromEvent, $completion) {
3223
3247
  var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
3224
3248
  tmp.h9_1 = Unit_instance;
3225
3249
  tmp.i9_1 = null;
3226
3250
  return tmp.n9();
3227
3251
  };
3228
- protoOf(ToClientEventsObserverImpl).y99 = function ($completion) {
3252
+ protoOf(ToClientEventsObserverImpl).x99 = function ($completion) {
3229
3253
  var tmp = new $waitForCOROUTINE$4(this, $completion);
3230
3254
  tmp.h9_1 = Unit_instance;
3231
3255
  tmp.i9_1 = null;
3232
3256
  return tmp.n9();
3233
3257
  };
3234
3258
  protoOf(ToClientEventsObserverImpl).a9o = function () {
3235
- if (!this.l9x_1.enabledCombinedEvents) {
3236
- return this.q9x_1;
3259
+ if (!this.h9x_1.enabledCombinedEvents) {
3260
+ return this.m9x_1;
3237
3261
  }
3238
- var tmp = windowedByInterval(this.q9x_1, toLong(this.l9x_1.combinedEventsPeriod));
3262
+ var tmp = windowedByInterval(this.m9x_1, toLong(this.h9x_1.combinedEventsPeriod));
3239
3263
  return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
3240
3264
  };
3241
3265
  function UpdateServerConfigAction(serverConfig) {
3242
- this.e9z_1 = serverConfig;
3266
+ this.a9z_1 = serverConfig;
3243
3267
  }
3244
3268
  protoOf(UpdateServerConfigAction).toString = function () {
3245
- return 'UpdateServerConfigAction(serverConfig=' + this.e9z_1.toString() + ')';
3269
+ return 'UpdateServerConfigAction(serverConfig=' + this.a9z_1.toString() + ')';
3246
3270
  };
3247
3271
  protoOf(UpdateServerConfigAction).hashCode = function () {
3248
- return this.e9z_1.hashCode();
3272
+ return this.a9z_1.hashCode();
3249
3273
  };
3250
3274
  protoOf(UpdateServerConfigAction).equals = function (other) {
3251
3275
  if (this === other)
@@ -3253,20 +3277,20 @@
3253
3277
  if (!(other instanceof UpdateServerConfigAction))
3254
3278
  return false;
3255
3279
  var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
3256
- if (!this.e9z_1.equals(tmp0_other_with_cast.e9z_1))
3280
+ if (!this.a9z_1.equals(tmp0_other_with_cast.a9z_1))
3257
3281
  return false;
3258
3282
  return true;
3259
3283
  };
3260
3284
  function SpectatorsAction() {
3261
3285
  }
3262
3286
  function AddSpectatorsAction(spectators) {
3263
- this.f9z_1 = spectators;
3287
+ this.b9z_1 = spectators;
3264
3288
  }
3265
3289
  protoOf(AddSpectatorsAction).toString = function () {
3266
- return 'AddSpectatorsAction(spectators=' + toString(this.f9z_1) + ')';
3290
+ return 'AddSpectatorsAction(spectators=' + toString(this.b9z_1) + ')';
3267
3291
  };
3268
3292
  protoOf(AddSpectatorsAction).hashCode = function () {
3269
- return hashCode(this.f9z_1);
3293
+ return hashCode(this.b9z_1);
3270
3294
  };
3271
3295
  protoOf(AddSpectatorsAction).equals = function (other) {
3272
3296
  if (this === other)
@@ -3274,18 +3298,18 @@
3274
3298
  if (!(other instanceof AddSpectatorsAction))
3275
3299
  return false;
3276
3300
  var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
3277
- if (!equals(this.f9z_1, tmp0_other_with_cast.f9z_1))
3301
+ if (!equals(this.b9z_1, tmp0_other_with_cast.b9z_1))
3278
3302
  return false;
3279
3303
  return true;
3280
3304
  };
3281
3305
  function RemoveSpectatorsAction(spectators) {
3282
- this.g9z_1 = spectators;
3306
+ this.c9z_1 = spectators;
3283
3307
  }
3284
3308
  protoOf(RemoveSpectatorsAction).toString = function () {
3285
- return 'RemoveSpectatorsAction(spectators=' + toString(this.g9z_1) + ')';
3309
+ return 'RemoveSpectatorsAction(spectators=' + toString(this.c9z_1) + ')';
3286
3310
  };
3287
3311
  protoOf(RemoveSpectatorsAction).hashCode = function () {
3288
- return hashCode(this.g9z_1);
3312
+ return hashCode(this.c9z_1);
3289
3313
  };
3290
3314
  protoOf(RemoveSpectatorsAction).equals = function (other) {
3291
3315
  if (this === other)
@@ -3293,91 +3317,91 @@
3293
3317
  if (!(other instanceof RemoveSpectatorsAction))
3294
3318
  return false;
3295
3319
  var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
3296
- if (!equals(this.g9z_1, tmp0_other_with_cast.g9z_1))
3320
+ if (!equals(this.c9z_1, tmp0_other_with_cast.c9z_1))
3297
3321
  return false;
3298
3322
  return true;
3299
3323
  };
3300
3324
  function _get_asyncProvider__jbpyhw($this) {
3301
3325
  // Inline function 'kotlin.getValue' call
3302
- var this_0 = $this.m9z_1;
3326
+ var this_0 = $this.i9z_1;
3303
3327
  asyncProvider$factory_0();
3304
3328
  return this_0.u();
3305
3329
  }
3306
3330
  function _get_logger__rkp4sl_0($this) {
3307
3331
  // Inline function 'kotlin.getValue' call
3308
- var this_0 = $this.n9z_1;
3332
+ var this_0 = $this.j9z_1;
3309
3333
  logger$factory_2();
3310
3334
  return this_0.u();
3311
3335
  }
3312
3336
  function _get_playerConnectionInteractor__si6cxf_0($this) {
3313
3337
  // Inline function 'kotlin.getValue' call
3314
- var this_0 = $this.o9z_1;
3338
+ var this_0 = $this.k9z_1;
3315
3339
  playerConnectionInteractor$factory_2();
3316
3340
  return this_0.u();
3317
3341
  }
3318
3342
  function _get_lastCardInteractor__h6lq3w($this) {
3319
3343
  // Inline function 'kotlin.getValue' call
3320
- var this_0 = $this.p9z_1;
3344
+ var this_0 = $this.l9z_1;
3321
3345
  lastCardInteractor$factory_0();
3322
3346
  return this_0.u();
3323
3347
  }
3324
3348
  function _get_serverConfig__rk2g06($this) {
3325
3349
  // Inline function 'kotlin.getValue' call
3326
- var this_0 = $this.q9z_1;
3350
+ var this_0 = $this.m9z_1;
3327
3351
  serverConfig$factory_0();
3328
3352
  return this_0.u();
3329
3353
  }
3330
3354
  function _get_logicConfig__52ww9d($this) {
3331
3355
  // Inline function 'kotlin.getValue' call
3332
- var this_0 = $this.r9z_1;
3356
+ var this_0 = $this.n9z_1;
3333
3357
  logicConfig$factory_0();
3334
3358
  return this_0.u();
3335
3359
  }
3336
3360
  function _get_idsProvider__fnfajc_0($this) {
3337
3361
  // Inline function 'kotlin.getValue' call
3338
- var this_0 = $this.s9z_1;
3362
+ var this_0 = $this.o9z_1;
3339
3363
  idsProvider$factory_2();
3340
3364
  return this_0.u();
3341
3365
  }
3342
3366
  function _get_botConfig__cpaxzc($this) {
3343
3367
  // Inline function 'kotlin.getValue' call
3344
- var this_0 = $this.t9z_1;
3368
+ var this_0 = $this.p9z_1;
3345
3369
  botConfig$factory_0();
3346
3370
  return this_0.u();
3347
3371
  }
3348
3372
  function _get_scenePositionProvider__kn0n1n($this) {
3349
3373
  // Inline function 'kotlin.getValue' call
3350
- var this_0 = $this.u9z_1;
3374
+ var this_0 = $this.q9z_1;
3351
3375
  scenePositionProvider$factory_0();
3352
3376
  return this_0.u();
3353
3377
  }
3354
3378
  function _get_toClientEventsObserver__6rp51y_0($this) {
3355
3379
  // Inline function 'kotlin.getValue' call
3356
- var this_0 = $this.v9z_1;
3380
+ var this_0 = $this.r9z_1;
3357
3381
  toClientEventsObserver$factory_2();
3358
3382
  return this_0.u();
3359
3383
  }
3360
3384
  function _get_fromClientEventsObserver__a7vzd3_0($this) {
3361
3385
  // Inline function 'kotlin.getValue' call
3362
- var this_0 = $this.w9z_1;
3386
+ var this_0 = $this.s9z_1;
3363
3387
  fromClientEventsObserver$factory_2();
3364
3388
  return this_0.u();
3365
3389
  }
3366
3390
  function _get_dealerConfig__183ci8($this) {
3367
3391
  // Inline function 'kotlin.getValue' call
3368
- var this_0 = $this.x9z_1;
3392
+ var this_0 = $this.t9z_1;
3369
3393
  dealerConfig$factory_0();
3370
3394
  return this_0.u();
3371
3395
  }
3372
3396
  function _get_poolProvider__tqti6a($this) {
3373
3397
  // Inline function 'kotlin.getValue' call
3374
- var this_0 = $this.y9z_1;
3398
+ var this_0 = $this.u9z_1;
3375
3399
  poolProvider$factory_0();
3376
3400
  return this_0.u();
3377
3401
  }
3378
3402
  function _get_cardsDealerProvider__bekjpg($this) {
3379
3403
  // Inline function 'kotlin.getValue' call
3380
- var this_0 = $this.z9z_1;
3404
+ var this_0 = $this.v9z_1;
3381
3405
  cardsDealerProvider$factory_0();
3382
3406
  return this_0.u();
3383
3407
  }
@@ -3390,101 +3414,101 @@
3390
3414
  botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
3391
3415
  gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
3392
3416
  fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
3393
- this.h9z_1 = validationStoreContract;
3394
- this.i9z_1 = timersStoreContract;
3395
- this.j9z_1 = botGameStoreContract;
3396
- this.k9z_1 = gameMechanicStoreContract;
3397
- this.l9z_1 = fileLoggerStoreContract;
3417
+ this.d9z_1 = validationStoreContract;
3418
+ this.e9z_1 = timersStoreContract;
3419
+ this.f9z_1 = botGameStoreContract;
3420
+ this.g9z_1 = gameMechanicStoreContract;
3421
+ this.h9z_1 = fileLoggerStoreContract;
3398
3422
  var tmp = this;
3399
3423
  // Inline function 'org.kodein.di.instance' call
3400
3424
  // Inline function 'org.kodein.type.generic' call
3401
3425
  var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
3402
3426
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
3403
- tmp.m9z_1 = Instance(di, tmp$ret$0, null).p63(this, asyncProvider$factory());
3427
+ tmp.i9z_1 = Instance(di, tmp$ret$0, null).p63(this, asyncProvider$factory());
3404
3428
  var tmp_1 = this;
3405
3429
  // Inline function 'org.kodein.di.instance' call
3406
3430
  // Inline function 'org.kodein.type.generic' call
3407
3431
  var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
3408
3432
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
3409
- tmp_1.n9z_1 = Instance(di, tmp$ret$2, null).p63(this, logger$factory_1());
3433
+ tmp_1.j9z_1 = Instance(di, tmp$ret$2, null).p63(this, logger$factory_1());
3410
3434
  var tmp_3 = this;
3411
3435
  // Inline function 'org.kodein.di.instance' call
3412
3436
  // Inline function 'org.kodein.type.generic' call
3413
3437
  var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
3414
3438
  var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
3415
- tmp_3.o9z_1 = Instance(di, tmp$ret$4, null).p63(this, playerConnectionInteractor$factory_1());
3439
+ tmp_3.k9z_1 = Instance(di, tmp$ret$4, null).p63(this, playerConnectionInteractor$factory_1());
3416
3440
  var tmp_5 = this;
3417
3441
  // Inline function 'org.kodein.di.instance' call
3418
3442
  // Inline function 'org.kodein.type.generic' call
3419
3443
  var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
3420
3444
  var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
3421
- tmp_5.p9z_1 = Instance(di, tmp$ret$6, null).p63(this, lastCardInteractor$factory());
3445
+ tmp_5.l9z_1 = Instance(di, tmp$ret$6, null).p63(this, lastCardInteractor$factory());
3422
3446
  var tmp_7 = this;
3423
3447
  // Inline function 'org.kodein.di.instance' call
3424
3448
  // Inline function 'org.kodein.type.generic' call
3425
3449
  var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
3426
3450
  var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
3427
- tmp_7.q9z_1 = Instance(di, tmp$ret$8, null).p63(this, serverConfig$factory());
3451
+ tmp_7.m9z_1 = Instance(di, tmp$ret$8, null).p63(this, serverConfig$factory());
3428
3452
  var tmp_9 = this;
3429
3453
  // Inline function 'org.kodein.di.instance' call
3430
3454
  // Inline function 'org.kodein.type.generic' call
3431
3455
  var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
3432
3456
  var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
3433
- tmp_9.r9z_1 = Instance(di, tmp$ret$10, null).p63(this, logicConfig$factory());
3457
+ tmp_9.n9z_1 = Instance(di, tmp$ret$10, null).p63(this, logicConfig$factory());
3434
3458
  var tmp_11 = this;
3435
3459
  // Inline function 'org.kodein.di.instance' call
3436
3460
  // Inline function 'org.kodein.type.generic' call
3437
3461
  var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
3438
3462
  var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
3439
- tmp_11.s9z_1 = Instance(di, tmp$ret$12, null).p63(this, idsProvider$factory_1());
3463
+ tmp_11.o9z_1 = Instance(di, tmp$ret$12, null).p63(this, idsProvider$factory_1());
3440
3464
  var tmp_13 = this;
3441
3465
  // Inline function 'org.kodein.di.instance' call
3442
3466
  // Inline function 'org.kodein.type.generic' call
3443
3467
  var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
3444
3468
  var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
3445
- tmp_13.t9z_1 = Instance(di, tmp$ret$14, null).p63(this, botConfig$factory());
3469
+ tmp_13.p9z_1 = Instance(di, tmp$ret$14, null).p63(this, botConfig$factory());
3446
3470
  var tmp_15 = this;
3447
3471
  // Inline function 'org.kodein.di.instance' call
3448
3472
  // Inline function 'org.kodein.type.generic' call
3449
3473
  var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
3450
3474
  var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
3451
- tmp_15.u9z_1 = Instance(di, tmp$ret$16, null).p63(this, scenePositionProvider$factory());
3475
+ tmp_15.q9z_1 = Instance(di, tmp$ret$16, null).p63(this, scenePositionProvider$factory());
3452
3476
  var tmp_17 = this;
3453
3477
  // Inline function 'org.kodein.di.instance' call
3454
3478
  // Inline function 'org.kodein.type.generic' call
3455
3479
  var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
3456
3480
  var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
3457
- tmp_17.v9z_1 = Instance(di, tmp$ret$18, null).p63(this, toClientEventsObserver$factory_1());
3481
+ tmp_17.r9z_1 = Instance(di, tmp$ret$18, null).p63(this, toClientEventsObserver$factory_1());
3458
3482
  var tmp_19 = this;
3459
3483
  // Inline function 'org.kodein.di.instance' call
3460
3484
  // Inline function 'org.kodein.type.generic' call
3461
3485
  var tmp_20 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
3462
3486
  var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
3463
- tmp_19.w9z_1 = Instance(di, tmp$ret$20, null).p63(this, fromClientEventsObserver$factory_1());
3487
+ tmp_19.s9z_1 = Instance(di, tmp$ret$20, null).p63(this, fromClientEventsObserver$factory_1());
3464
3488
  var tmp_21 = this;
3465
3489
  // Inline function 'org.kodein.di.instance' call
3466
3490
  // Inline function 'org.kodein.type.generic' call
3467
3491
  var tmp_22 = typeToken(createKType(getKClass(DealerConfig), arrayOf([]), false));
3468
3492
  var tmp$ret$22 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
3469
- tmp_21.x9z_1 = Instance(di, tmp$ret$22, null).p63(this, dealerConfig$factory());
3493
+ tmp_21.t9z_1 = Instance(di, tmp$ret$22, null).p63(this, dealerConfig$factory());
3470
3494
  var tmp_23 = this;
3471
3495
  // Inline function 'org.kodein.di.instance' call
3472
3496
  // Inline function 'org.kodein.type.generic' call
3473
3497
  var tmp_24 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
3474
3498
  var tmp$ret$24 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
3475
- tmp_23.y9z_1 = Instance(di, tmp$ret$24, null).p63(this, poolProvider$factory());
3499
+ tmp_23.u9z_1 = Instance(di, tmp$ret$24, null).p63(this, poolProvider$factory());
3476
3500
  var tmp_25 = this;
3477
3501
  // Inline function 'org.kodein.di.instance' call
3478
3502
  // Inline function 'org.kodein.type.generic' call
3479
3503
  var tmp_26 = typeToken(createKType(getKClass(CardsDealerProvider), arrayOf([]), false));
3480
3504
  var tmp$ret$26 = isInterface(tmp_26, TypeToken) ? tmp_26 : THROW_CCE();
3481
- tmp_25.z9z_1 = Instance(di, tmp$ret$26, null).p63(this, cardsDealerProvider$factory());
3505
+ tmp_25.v9z_1 = Instance(di, tmp$ret$26, null).p63(this, cardsDealerProvider$factory());
3482
3506
  }
3483
- protoOf(ServerGameStoreContract).u91 = function () {
3484
- return plus(plus(plus(plus(plus(this.h9z_1.u91(), this.i9z_1.u91()), this.j9z_1.u91()), this.k9z_1.u91()), this.l9z_1.u91()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
3507
+ protoOf(ServerGameStoreContract).t91 = function () {
3508
+ return plus(plus(plus(plus(plus(this.d9z_1.t91(), this.e9z_1.t91()), this.f9z_1.t91()), this.g9z_1.t91()), this.h9z_1.t91()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
3485
3509
  };
3486
- protoOf(ServerGameStoreContract).v91 = function () {
3487
- var tmp = plus(plus(plus(plus(plus(plus(plus(this.h9z_1.v91(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.i9z_1.v91()), this.j9z_1.v91()), this.k9z_1.v91()), this.l9z_1.v91()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).o93(), finishingGameWhenCantStartNewMiddleware()]));
3510
+ protoOf(ServerGameStoreContract).u91 = function () {
3511
+ var tmp = plus(plus(plus(plus(plus(plus(plus(this.d9z_1.u91(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.e9z_1.u91()), this.f9z_1.u91()), this.g9z_1.u91()), this.h9z_1.u91()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([sendFromClientEventsMiddleware(_get_asyncProvider__jbpyhw(this), _get_fromClientEventsObserver__a7vzd3_0(this)), sendToClientActionMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc_0(this))).n93(), finishingGameWhenCantStartNewMiddleware()]));
3488
3512
  var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
3489
3513
  var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
3490
3514
  var tmp1_logger = _get_logger__rkp4sl_0(this);
@@ -3659,7 +3683,7 @@
3659
3683
  var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
3660
3684
  next(action_0);
3661
3685
  var state = store.state;
3662
- if (!get_serverStatePayload_0(state).t9v_1.v9v_1 && action_0.isGameFinished) {
3686
+ if (!get_serverStatePayload_0(state).config.canStartNewGame && action_0.isGameFinished) {
3663
3687
  store.dispatch(Companion_instance.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.n6q_1));
3664
3688
  }
3665
3689
  };
@@ -3667,7 +3691,7 @@
3667
3691
  return this.j6l(store, next, action);
3668
3692
  };
3669
3693
  function _no_name_provided__qut3iv_3(this$0) {
3670
- this.ca0_1 = this$0;
3694
+ this.y9z_1 = this$0;
3671
3695
  }
3672
3696
  protoOf(_no_name_provided__qut3iv_3).s6j = function (action) {
3673
3697
  return action instanceof MechanicAction;
@@ -3681,11 +3705,11 @@
3681
3705
  var tmp;
3682
3706
  if (action_0 instanceof StartGameMechanicAction) {
3683
3707
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
3684
- var this_0 = this.ca0_1;
3685
- var tableId = action_0.h8y_1;
3686
- var gameCreatorPlayerId = action_0.j8y_1;
3708
+ var this_0 = this.y9z_1;
3709
+ var tableId = action_0.g8y_1;
3710
+ var gameCreatorPlayerId = action_0.i8y_1;
3687
3711
  // Inline function 'kotlin.collections.map' call
3688
- var this_1 = action_0.k8y_1;
3712
+ var this_1 = action_0.j8y_1;
3689
3713
  // Inline function 'kotlin.collections.mapTo' call
3690
3714
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
3691
3715
  var tmp0_iterator = this_1.j();
@@ -3726,7 +3750,7 @@
3726
3750
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
3727
3751
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
3728
3752
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3729
- var tmp0_aid = this_0.ba0_1.v6h();
3753
+ var tmp0_aid = this_0.x9z_1.v6h();
3730
3754
  // Inline function 'kotlin.collections.map' call
3731
3755
  // Inline function 'kotlin.collections.mapTo' call
3732
3756
  var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
@@ -3751,17 +3775,17 @@
3751
3775
  } else {
3752
3776
  if (action_0 instanceof StartNewGameMechanicAction) {
3753
3777
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
3754
- var this_2 = this.ca0_1;
3778
+ var this_2 = this.y9z_1;
3755
3779
  var table = state.p6r();
3756
3780
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3757
- var sendToPlayer_0 = new RoomActionPayload(this_2.ba0_1.v6h(), table.id, null);
3781
+ var sendToPlayer_0 = new RoomActionPayload(this_2.x9z_1.v6h(), table.id, null);
3758
3782
  var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
3759
3783
  tmp = listOfNotNull(tmp$ret$18);
3760
3784
  } else {
3761
3785
  if (action_0 instanceof ContinueGameMechanicAction) {
3762
3786
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
3763
- var this_3 = this.ca0_1;
3764
- var tableId_0 = action_0.n8y_1.id;
3787
+ var this_3 = this.y9z_1;
3788
+ var tableId_0 = action_0.m8y_1.id;
3765
3789
  var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
3766
3790
  // Inline function 'kotlin.collections.map' call
3767
3791
  var this_4 = action_0.users;
@@ -3805,7 +3829,7 @@
3805
3829
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
3806
3830
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
3807
3831
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3808
- var tmp0_aid_0 = this_3.ba0_1.v6h();
3832
+ var tmp0_aid_0 = this_3.x9z_1.v6h();
3809
3833
  // Inline function 'kotlin.collections.map' call
3810
3834
  // Inline function 'kotlin.collections.mapTo' call
3811
3835
  var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
@@ -3830,43 +3854,43 @@
3830
3854
  } else {
3831
3855
  if (action_0 instanceof FinishingGameMechanicAction) {
3832
3856
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
3833
- var this_5 = this.ca0_1;
3857
+ var this_5 = this.y9z_1;
3834
3858
  var table_0 = state.p6r();
3835
3859
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3836
- var sendToPlayer_2 = new RoomActionPayload(this_5.ba0_1.v6h(), table_0.id, null);
3860
+ var sendToPlayer_2 = new RoomActionPayload(this_5.x9z_1.v6h(), table_0.id, null);
3837
3861
  var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
3838
3862
  tmp = listOfNotNull(tmp$ret$38);
3839
3863
  } else {
3840
3864
  if (action_0 instanceof FinishGameMechanicAction) {
3841
3865
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
3842
- var this_6 = this.ca0_1;
3866
+ var this_6 = this.y9z_1;
3843
3867
  var table_1 = state.p6r();
3844
3868
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3845
- var sendToPlayer_3 = new RoomActionPayload(this_6.ba0_1.v6h(), table_1.id, null);
3869
+ var sendToPlayer_3 = new RoomActionPayload(this_6.x9z_1.v6h(), table_1.id, null);
3846
3870
  var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
3847
3871
  tmp = listOfNotNull(tmp$ret$40);
3848
3872
  } else {
3849
3873
  if (action_0 instanceof RestartGameMechanicAction) {
3850
3874
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
3851
- var this_7 = this.ca0_1;
3875
+ var this_7 = this.y9z_1;
3852
3876
  var table_2 = state.p6r();
3853
3877
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3854
- var sendToPlayer_4 = new RoomActionPayload(this_7.ba0_1.v6h(), table_2.id, null);
3878
+ var sendToPlayer_4 = new RoomActionPayload(this_7.x9z_1.v6h(), table_2.id, null);
3855
3879
  var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
3856
3880
  tmp = listOfNotNull(tmp$ret$42);
3857
3881
  } else {
3858
3882
  if (action_0 instanceof ErrorAction) {
3859
3883
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
3860
- var this_8 = this.ca0_1;
3884
+ var this_8 = this.y9z_1;
3861
3885
  var table_3 = state.p6r();
3862
3886
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3863
- var sendToPlayer_5 = new RoomActionPayload(this_8.ba0_1.v6h(), table_3.id, null);
3887
+ var sendToPlayer_5 = new RoomActionPayload(this_8.x9z_1.v6h(), table_3.id, null);
3864
3888
  var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
3865
3889
  tmp = listOfNotNull(tmp$ret$44);
3866
3890
  } else {
3867
3891
  if (action_0 instanceof SceneMechanicAction) {
3868
3892
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
3869
- var this_9 = this.ca0_1;
3893
+ var this_9 = this.y9z_1;
3870
3894
  var table_4 = state.p6r();
3871
3895
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
3872
3896
  var tableId_1 = table_4.id;
@@ -3903,7 +3927,7 @@
3903
3927
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
3904
3928
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
3905
3929
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3906
- var tmp0_aid_1 = this_9.ba0_1.v6h();
3930
+ var tmp0_aid_1 = this_9.x9z_1.v6h();
3907
3931
  // Inline function 'kotlin.collections.map' call
3908
3932
  // Inline function 'kotlin.collections.mapTo' call
3909
3933
  var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
@@ -3928,7 +3952,7 @@
3928
3952
  } else {
3929
3953
  if (action_0 instanceof SceneActMechanicAction) {
3930
3954
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
3931
- var this_10 = this.ca0_1;
3955
+ var this_10 = this.y9z_1;
3932
3956
  var table_5 = state.p6r();
3933
3957
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
3934
3958
  var tableId_2 = table_5.id;
@@ -3965,7 +3989,7 @@
3965
3989
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
3966
3990
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
3967
3991
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3968
- var tmp0_aid_2 = this_10.ba0_1.v6h();
3992
+ var tmp0_aid_2 = this_10.x9z_1.v6h();
3969
3993
  // Inline function 'kotlin.collections.map' call
3970
3994
  // Inline function 'kotlin.collections.mapTo' call
3971
3995
  var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
@@ -3990,7 +4014,7 @@
3990
4014
  } else {
3991
4015
  if (action_0 instanceof TeamsDataMechanicAction) {
3992
4016
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
3993
- var this_11 = this.ca0_1;
4017
+ var this_11 = this.y9z_1;
3994
4018
  var table_6 = state.p6r();
3995
4019
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
3996
4020
  var tableId_3 = table_6.id;
@@ -4027,7 +4051,7 @@
4027
4051
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
4028
4052
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
4029
4053
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4030
- var tmp0_aid_3 = this_11.ba0_1.v6h();
4054
+ var tmp0_aid_3 = this_11.x9z_1.v6h();
4031
4055
  // Inline function 'kotlin.collections.map' call
4032
4056
  // Inline function 'kotlin.collections.mapTo' call
4033
4057
  var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
@@ -4040,7 +4064,7 @@
4040
4064
  }
4041
4065
  var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
4042
4066
  var tmp_0;
4043
- if (this.ca0_1.aa0_1.supportBackwardActions && getPlayer(state.p6r().players, sendToPlayer_8.k7e_1).m6x_1.q6x_1) {
4067
+ if (this.y9z_1.w9z_1.supportBackwardActions && getPlayer(state.p6r().players, sendToPlayer_8.j7e_1).m6x_1.q6x_1) {
4044
4068
  tmp_0 = null;
4045
4069
  } else {
4046
4070
  tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
@@ -4058,79 +4082,79 @@
4058
4082
  } else {
4059
4083
  if (action_0 instanceof PlayerReadyMechanicAction) {
4060
4084
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4061
- var this_12 = this.ca0_1;
4085
+ var this_12 = this.y9z_1;
4062
4086
  var table_7 = state.p6r();
4063
- var exceptPlayerId = this.ca0_1.aa0_1.supportBackwardActions ? action_0.h8z_1 : null;
4087
+ var exceptPlayerId = this.y9z_1.w9z_1.supportBackwardActions ? action_0.g8z_1 : null;
4064
4088
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4065
- var sendToPlayer_9 = new RoomActionPayload(this_12.ba0_1.v6h(), table_7.id, exceptPlayerId);
4089
+ var sendToPlayer_9 = new RoomActionPayload(this_12.x9z_1.v6h(), table_7.id, exceptPlayerId);
4066
4090
  var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
4067
4091
  tmp = listOfNotNull(tmp$ret$94);
4068
4092
  } else {
4069
4093
  if (action_0 instanceof SuitChoiceMechanicAction) {
4070
4094
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4071
- var this_13 = this.ca0_1;
4095
+ var this_13 = this.y9z_1;
4072
4096
  var table_8 = state.p6r();
4073
- var exceptPlayerId_0 = this.ca0_1.aa0_1.supportBackwardActions ? action_0.d8u_1 : null;
4097
+ var exceptPlayerId_0 = this.y9z_1.w9z_1.supportBackwardActions ? action_0.c8u_1 : null;
4074
4098
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4075
- var sendToPlayer_10 = new RoomActionPayload(this_13.ba0_1.v6h(), table_8.id, exceptPlayerId_0);
4099
+ var sendToPlayer_10 = new RoomActionPayload(this_13.x9z_1.v6h(), table_8.id, exceptPlayerId_0);
4076
4100
  var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
4077
4101
  tmp = listOfNotNull(tmp$ret$96);
4078
4102
  } else {
4079
4103
  if (action_0 instanceof TrumpMechanicAction) {
4080
4104
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4081
- var this_14 = this.ca0_1;
4105
+ var this_14 = this.y9z_1;
4082
4106
  var table_9 = state.p6r();
4083
4107
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4084
- var sendToPlayer_11 = new RoomActionPayload(this_14.ba0_1.v6h(), table_9.id, null);
4108
+ var sendToPlayer_11 = new RoomActionPayload(this_14.x9z_1.v6h(), table_9.id, null);
4085
4109
  var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
4086
4110
  tmp = listOfNotNull(tmp$ret$98);
4087
4111
  } else {
4088
4112
  if (action_0 instanceof CombinationChoiceMechanicAction) {
4089
4113
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4090
- var this_15 = this.ca0_1;
4114
+ var this_15 = this.y9z_1;
4091
4115
  var table_10 = state.p6r();
4092
- var exceptPlayerId_1 = this.ca0_1.aa0_1.supportBackwardActions ? action_0.n8z_1 : null;
4116
+ var exceptPlayerId_1 = this.y9z_1.w9z_1.supportBackwardActions ? action_0.m8z_1 : null;
4093
4117
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4094
- var sendToPlayer_12 = new RoomActionPayload(this_15.ba0_1.v6h(), table_10.id, exceptPlayerId_1);
4118
+ var sendToPlayer_12 = new RoomActionPayload(this_15.x9z_1.v6h(), table_10.id, exceptPlayerId_1);
4095
4119
  var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
4096
4120
  tmp = listOfNotNull(tmp$ret$100);
4097
4121
  } else {
4098
4122
  if (action_0 instanceof PutCardMechanicAction) {
4099
4123
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4100
- var this_16 = this.ca0_1;
4124
+ var this_16 = this.y9z_1;
4101
4125
  var table_11 = state.p6r();
4102
- var exceptPlayerId_2 = this.ca0_1.aa0_1.supportBackwardActions ? action_0.i8u_1 : null;
4126
+ var exceptPlayerId_2 = this.y9z_1.w9z_1.supportBackwardActions ? action_0.h8u_1 : null;
4103
4127
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4104
- var sendToPlayer_13 = new RoomActionPayload(this_16.ba0_1.v6h(), table_11.id, exceptPlayerId_2);
4128
+ var sendToPlayer_13 = new RoomActionPayload(this_16.x9z_1.v6h(), table_11.id, exceptPlayerId_2);
4105
4129
  var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
4106
4130
  tmp = listOfNotNull(tmp$ret$102);
4107
4131
  } else {
4108
4132
  if (action_0 instanceof PickUpBribeMechanicAction) {
4109
4133
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4110
- var this_17 = this.ca0_1;
4134
+ var this_17 = this.y9z_1;
4111
4135
  var table_12 = state.p6r();
4112
4136
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4113
- var sendToPlayer_14 = new RoomActionPayload(this_17.ba0_1.v6h(), table_12.id, null);
4137
+ var sendToPlayer_14 = new RoomActionPayload(this_17.x9z_1.v6h(), table_12.id, null);
4114
4138
  var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
4115
4139
  tmp = listOfNotNull(tmp$ret$104);
4116
4140
  } else {
4117
4141
  if (action_0 instanceof WinnerCombinationsMechanicAction) {
4118
4142
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4119
- var this_18 = this.ca0_1;
4143
+ var this_18 = this.y9z_1;
4120
4144
  var table_13 = state.p6r();
4121
4145
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4122
- var sendToPlayer_15 = new RoomActionPayload(this_18.ba0_1.v6h(), table_13.id, null);
4146
+ var sendToPlayer_15 = new RoomActionPayload(this_18.x9z_1.v6h(), table_13.id, null);
4123
4147
  var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
4124
4148
  tmp = listOfNotNull(tmp$ret$106);
4125
4149
  } else {
4126
4150
  if (action_0 instanceof MessageMechanicAction) {
4127
- var message = action_0.r8z_1;
4151
+ var message = action_0.q8z_1;
4128
4152
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4129
- var this_19 = this.ca0_1;
4153
+ var this_19 = this.y9z_1;
4130
4154
  var table_14 = state.p6r();
4131
4155
  var tmp_1;
4132
4156
  var tmp_2;
4133
- if (this.ca0_1.aa0_1.supportBackwardActions) {
4157
+ if (this.y9z_1.w9z_1.supportBackwardActions) {
4134
4158
  tmp_2 = isInterface(message, UserMessage);
4135
4159
  } else {
4136
4160
  tmp_2 = false;
@@ -4142,17 +4166,17 @@
4142
4166
  }
4143
4167
  var exceptPlayerId_3 = tmp_1;
4144
4168
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4145
- var sendToPlayer_16 = new RoomActionPayload(this_19.ba0_1.v6h(), table_14.id, exceptPlayerId_3);
4169
+ var sendToPlayer_16 = new RoomActionPayload(this_19.x9z_1.v6h(), table_14.id, exceptPlayerId_3);
4146
4170
  var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
4147
4171
  tmp = listOfNotNull(tmp$ret$108);
4148
4172
  } else {
4149
4173
  if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
4150
4174
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4151
- var this_20 = this.ca0_1;
4175
+ var this_20 = this.y9z_1;
4152
4176
  var table_15 = state.p6r();
4153
4177
  var exceptPlayerId_4 = action_0.playerId;
4154
4178
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4155
- var sendToPlayer_17 = new RoomActionPayload(this_20.ba0_1.v6h(), table_15.id, exceptPlayerId_4);
4179
+ var sendToPlayer_17 = new RoomActionPayload(this_20.x9z_1.v6h(), table_15.id, exceptPlayerId_4);
4156
4180
  var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
4157
4181
  tmp = listOfNotNull(tmp$ret$110);
4158
4182
  } else {
@@ -4190,10 +4214,10 @@
4190
4214
  return this.j6l(store, next, action);
4191
4215
  };
4192
4216
  function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
4193
- this.aa0_1 = logicConfig;
4194
- this.ba0_1 = idsProvider;
4217
+ this.w9z_1 = logicConfig;
4218
+ this.x9z_1 = idsProvider;
4195
4219
  }
4196
- protoOf(ServerMapMechanicToClientActionMiddleware).o93 = function () {
4220
+ protoOf(ServerMapMechanicToClientActionMiddleware).n93 = function () {
4197
4221
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
4198
4222
  return new _no_name_provided__qut3iv_3(this);
4199
4223
  };
@@ -4202,8 +4226,8 @@
4202
4226
  return new _no_name_provided__qut3iv_4(asyncProvider, provider);
4203
4227
  }
4204
4228
  function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
4205
- this.la0_1 = $provider;
4206
- this.ma0_1 = $action;
4229
+ this.ha0_1 = $provider;
4230
+ this.ia0_1 = $action;
4207
4231
  CoroutineImpl.call(this, resultContinuation);
4208
4232
  }
4209
4233
  protoOf(sendToClientActionMiddleware$o$handle$slambda).y1d = function ($this$launchDefault, $completion) {
@@ -4224,7 +4248,7 @@
4224
4248
  case 0:
4225
4249
  this.g9_1 = 2;
4226
4250
  this.f9_1 = 1;
4227
- suspendResult = this.la0_1.s9w(this.ma0_1, this);
4251
+ suspendResult = this.ha0_1.o9w(this.ia0_1, this);
4228
4252
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4229
4253
  return suspendResult;
4230
4254
  }
@@ -4247,8 +4271,8 @@
4247
4271
  while (true);
4248
4272
  };
4249
4273
  protoOf(sendToClientActionMiddleware$o$handle$slambda).z1d = function ($this$launchDefault, completion) {
4250
- var i = new sendToClientActionMiddleware$o$handle$slambda(this.la0_1, this.ma0_1, completion);
4251
- i.na0_1 = $this$launchDefault;
4274
+ var i = new sendToClientActionMiddleware$o$handle$slambda(this.ha0_1, this.ia0_1, completion);
4275
+ i.ja0_1 = $this$launchDefault;
4252
4276
  return i;
4253
4277
  };
4254
4278
  function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
@@ -4260,8 +4284,8 @@
4260
4284
  return l;
4261
4285
  }
4262
4286
  function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
4263
- this.oa0_1 = $asyncProvider;
4264
- this.pa0_1 = $provider;
4287
+ this.ka0_1 = $asyncProvider;
4288
+ this.la0_1 = $provider;
4265
4289
  }
4266
4290
  protoOf(_no_name_provided__qut3iv_4).s6j = function (action) {
4267
4291
  return action instanceof ToClientAction;
@@ -4269,7 +4293,7 @@
4269
4293
  protoOf(_no_name_provided__qut3iv_4).j6l = function (store, next, action) {
4270
4294
  // Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
4271
4295
  var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
4272
- this.oa0_1.s6g(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.pa0_1, action_0, null));
4296
+ this.ka0_1.s6g(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.la0_1, action_0, null));
4273
4297
  next(action_0);
4274
4298
  };
4275
4299
  protoOf(_no_name_provided__qut3iv_4).r6j = function (store, next, action) {
@@ -4284,13 +4308,13 @@
4284
4308
  protoOf(_no_name_provided__qut3iv_5).s6j = function (action) {
4285
4309
  return action instanceof UpdateServerConfigAction;
4286
4310
  };
4287
- protoOf(_no_name_provided__qut3iv_5).q9b = function (state, action) {
4311
+ protoOf(_no_name_provided__qut3iv_5).p9b = function (state, action) {
4288
4312
  // Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
4289
4313
  var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
4290
- return state.i8x(VOID, get_serverStatePayload_0(state).qa0(action_0.e9z_1));
4314
+ return state.h8x(VOID, get_serverStatePayload_0(state).copy(action_0.a9z_1));
4291
4315
  };
4292
4316
  protoOf(_no_name_provided__qut3iv_5).k6l = function (state, action) {
4293
- return this.q9b((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
4317
+ return this.p9b((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
4294
4318
  };
4295
4319
  function ServerMechanicLifecycleReducer$onStart$lambda($action) {
4296
4320
  return function (it) {
@@ -4303,7 +4327,7 @@
4303
4327
  var tmp_2 = PlayerConnectionState_LIVE_getInstance();
4304
4328
  // Inline function 'kotlin.time.Companion.milliseconds' call
4305
4329
  Companion_getInstance();
4306
- var this_0 = $action.g8y_1.timeoutTimeMillis;
4330
+ var this_0 = $action.f8y_1.timeoutTimeMillis;
4307
4331
  var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
4308
4332
  tmp_0 = tmp_1.y6b(tmp_2, tmp$ret$0);
4309
4333
  }
@@ -4312,57 +4336,57 @@
4312
4336
  }
4313
4337
  function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
4314
4338
  BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
4315
- this.ta0_1 = logger;
4339
+ this.oa0_1 = logger;
4316
4340
  }
4317
- protoOf(ServerMechanicLifecycleReducer).c9d = function (state, action) {
4341
+ protoOf(ServerMechanicLifecycleReducer).b9d = function (state, action) {
4318
4342
  var serverState = get_serverStatePayloadOrNull(state.o6q_1);
4319
4343
  var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
4320
- var tmp0_$this = this.d9d_1;
4321
- var tmp1_tableId = action.h8y_1;
4322
- var tmp2_gameId = action.h8y_1;
4323
- var tmp3_version = action.i8y_1;
4324
- var tmp4_config = action.g8y_1;
4325
- var tmp5_users = action.k8y_1;
4344
+ var tmp0_$this = this.c9d_1;
4345
+ var tmp1_tableId = action.g8y_1;
4346
+ var tmp2_gameId = action.g8y_1;
4347
+ var tmp3_version = action.h8y_1;
4348
+ var tmp4_config = action.f8y_1;
4349
+ var tmp5_users = action.j8y_1;
4326
4350
  var tmp6_spectators = action.spectators;
4327
- var tmp7_gameCreatorPlayerId = action.j8y_1;
4351
+ var tmp7_gameCreatorPlayerId = action.i8y_1;
4328
4352
  var tmp9_tableOrNull = tmp0_$this.i9e(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
4329
4353
  var tmp;
4330
4354
  if (serverState == null) {
4331
- this.ta0_1.w(VOID, 'ServerPayload is not onStart');
4332
- tmp = Companion_instance_10.k9w();
4355
+ this.oa0_1.w(VOID, 'ServerPayload is not onStart');
4356
+ tmp = Companion_instance_10.initial();
4333
4357
  } else {
4334
4358
  tmp = serverState;
4335
4359
  }
4336
4360
  var tmp10_payload = tmp;
4337
- return state.i8x(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
4361
+ return state.h8x(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
4338
4362
  };
4339
- protoOf(ServerMechanicLifecycleReducer).a9d = function (state, action) {
4363
+ protoOf(ServerMechanicLifecycleReducer).z9c = function (state, action) {
4340
4364
  var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
4341
- var tmp2_tableOrNull = action.n8y_1;
4365
+ var tmp2_tableOrNull = action.m8y_1;
4342
4366
  var tmp = Companion_instance_10;
4343
- var tmp_0 = get_serverStatePayload_0(state).t9v_1;
4344
- var tmp_1 = action.o8y_1;
4367
+ var tmp_0 = get_serverStatePayload_0(state).config;
4368
+ var tmp_1 = action.n8y_1;
4345
4369
  var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
4346
- var tmp3_payload = tmp.ua0(tmp_0.w9v(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p69_1));
4347
- return state.i8x(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
4370
+ var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.p69_1));
4371
+ return state.h8x(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
4348
4372
  };
4349
- protoOf(ServerMechanicLifecycleReducer).b9d = function (state, action) {
4350
- this.e9d_1.v5q(action.previousGameId);
4373
+ protoOf(ServerMechanicLifecycleReducer).a9d = function (state, action) {
4374
+ this.d9d_1.v5q(action.previousGameId);
4351
4375
  var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
4352
- var tmp1_tableOrNull = this.d9d_1.j9e(state.p6r(), action.gameId);
4353
- return state.i8x(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
4376
+ var tmp1_tableOrNull = this.c9d_1.j9e(state.p6r(), action.gameId);
4377
+ return state.h8x(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
4354
4378
  };
4355
4379
  function spectatorsReducer(logger) {
4356
4380
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
4357
4381
  return new _no_name_provided__qut3iv_6(logger);
4358
4382
  }
4359
4383
  function _no_name_provided__qut3iv_6($logger) {
4360
- this.va0_1 = $logger;
4384
+ this.pa0_1 = $logger;
4361
4385
  }
4362
4386
  protoOf(_no_name_provided__qut3iv_6).s6j = function (action) {
4363
4387
  return isInterface(action, SpectatorsAction);
4364
4388
  };
4365
- protoOf(_no_name_provided__qut3iv_6).q9b = function (state, action) {
4389
+ protoOf(_no_name_provided__qut3iv_6).p9b = function (state, action) {
4366
4390
  // Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
4367
4391
  var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
4368
4392
  var table = state.p6r();
@@ -4370,7 +4394,7 @@
4370
4394
  if (action_0 instanceof AddSpectatorsAction) {
4371
4395
  // Inline function 'kotlin.collections.mapNotNull' call
4372
4396
  // Inline function 'kotlin.collections.mapNotNullTo' call
4373
- var this_0 = action_0.f9z_1;
4397
+ var this_0 = action_0.b9z_1;
4374
4398
  var destination = ArrayList_init_$Create$_0();
4375
4399
  // Inline function 'kotlin.collections.forEach' call
4376
4400
  var tmp0_iterator = this_0.j();
@@ -4392,10 +4416,10 @@
4392
4416
  var tmp_0;
4393
4417
  // Inline function 'kotlin.collections.isNotEmpty' call
4394
4418
  if (!sameSpectators.p()) {
4395
- this.va0_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
4419
+ this.pa0_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
4396
4420
  // Inline function 'kotlin.collections.filterNot' call
4397
4421
  // Inline function 'kotlin.collections.filterNotTo' call
4398
- var this_1 = action_0.f9z_1;
4422
+ var this_1 = action_0.b9z_1;
4399
4423
  var destination_0 = ArrayList_init_$Create$_0();
4400
4424
  var tmp0_iterator_0 = this_1.j();
4401
4425
  while (tmp0_iterator_0.k()) {
@@ -4431,7 +4455,7 @@
4431
4455
  }
4432
4456
  tmp_0 = destination_0;
4433
4457
  } else {
4434
- tmp_0 = action_0.f9z_1;
4458
+ tmp_0 = action_0.b9z_1;
4435
4459
  }
4436
4460
  var this_2 = tmp_0;
4437
4461
  // Inline function 'kotlin.collections.mapTo' call
@@ -4444,12 +4468,12 @@
4444
4468
  destination_1.e(tmp$ret$10);
4445
4469
  }
4446
4470
  var spectatorsToAdd = toSet(destination_1);
4447
- tmp = state.i8x(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
4471
+ tmp = state.h8x(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
4448
4472
  } else {
4449
4473
  if (action_0 instanceof RemoveSpectatorsAction) {
4450
4474
  // Inline function 'kotlin.collections.mapNotNull' call
4451
4475
  // Inline function 'kotlin.collections.mapNotNullTo' call
4452
- var this_3 = action_0.g9z_1;
4476
+ var this_3 = action_0.c9z_1;
4453
4477
  var destination_2 = ArrayList_init_$Create$_0();
4454
4478
  // Inline function 'kotlin.collections.forEach' call
4455
4479
  var tmp0_iterator_3 = this_3.j();
@@ -4470,10 +4494,10 @@
4470
4494
  var tmp_2;
4471
4495
  // Inline function 'kotlin.collections.isNotEmpty' call
4472
4496
  if (!sameSpectators_0.p()) {
4473
- this.va0_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
4497
+ this.pa0_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
4474
4498
  // Inline function 'kotlin.collections.filterNot' call
4475
4499
  // Inline function 'kotlin.collections.filterNotTo' call
4476
- var this_4 = action_0.g9z_1;
4500
+ var this_4 = action_0.c9z_1;
4477
4501
  var destination_3 = ArrayList_init_$Create$_0();
4478
4502
  var tmp0_iterator_4 = this_4.j();
4479
4503
  while (tmp0_iterator_4.k()) {
@@ -4509,7 +4533,7 @@
4509
4533
  }
4510
4534
  tmp_2 = destination_3;
4511
4535
  } else {
4512
- tmp_2 = action_0.g9z_1;
4536
+ tmp_2 = action_0.c9z_1;
4513
4537
  }
4514
4538
  var spectatorsToRemove = toSet(tmp_2);
4515
4539
  // Inline function 'kotlin.collections.filterNot' call
@@ -4548,7 +4572,7 @@
4548
4572
  destination_4.e(element_5);
4549
4573
  }
4550
4574
  }
4551
- tmp = state.i8x(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
4575
+ tmp = state.h8x(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
4552
4576
  } else {
4553
4577
  noWhenBranchMatchedException();
4554
4578
  }
@@ -4556,32 +4580,42 @@
4556
4580
  return tmp;
4557
4581
  };
4558
4582
  protoOf(_no_name_provided__qut3iv_6).k6l = function (state, action) {
4559
- return this.q9b((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
4583
+ return this.p9b((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
4560
4584
  };
4561
4585
  function Companion_2() {
4562
4586
  }
4563
- protoOf(Companion_2).ua0 = function (config) {
4587
+ protoOf(Companion_2).qa0 = function (config) {
4564
4588
  return new ServerStatePayload(config);
4565
4589
  };
4566
- protoOf(Companion_2).k9w = function (config, $super) {
4567
- config = config === VOID ? Companion_instance_8.o9w(null) : config;
4568
- return $super === VOID ? this.ua0(config) : $super.ua0.call(this, config);
4590
+ protoOf(Companion_2).initial = function (config, $super) {
4591
+ config = config === VOID ? Companion_instance_8.initial(null) : config;
4592
+ return this.qa0(config);
4569
4593
  };
4570
4594
  var Companion_instance_10;
4571
4595
  function Companion_getInstance_3() {
4572
4596
  return Companion_instance_10;
4573
4597
  }
4574
4598
  function ServerStatePayload(config) {
4575
- this.t9v_1 = config;
4599
+ this.config = config;
4576
4600
  }
4577
- protoOf(ServerStatePayload).qa0 = function (config) {
4601
+ protoOf(ServerStatePayload).z2v = function () {
4602
+ return this.config;
4603
+ };
4604
+ protoOf(ServerStatePayload).qe = function () {
4605
+ return this.config;
4606
+ };
4607
+ protoOf(ServerStatePayload).ra0 = function (config) {
4578
4608
  return new ServerStatePayload(config);
4579
4609
  };
4610
+ protoOf(ServerStatePayload).copy = function (config, $super) {
4611
+ config = config === VOID ? this.config : config;
4612
+ return this.ra0(config);
4613
+ };
4580
4614
  protoOf(ServerStatePayload).toString = function () {
4581
- return 'ServerStatePayload(config=' + this.t9v_1.toString() + ')';
4615
+ return 'ServerStatePayload(config=' + this.config.toString() + ')';
4582
4616
  };
4583
4617
  protoOf(ServerStatePayload).hashCode = function () {
4584
- return this.t9v_1.hashCode();
4618
+ return this.config.hashCode();
4585
4619
  };
4586
4620
  protoOf(ServerStatePayload).equals = function (other) {
4587
4621
  if (this === other)
@@ -4589,7 +4623,7 @@
4589
4623
  if (!(other instanceof ServerStatePayload))
4590
4624
  return false;
4591
4625
  var tmp0_other_with_cast = other instanceof ServerStatePayload ? other : THROW_CCE();
4592
- if (!this.t9v_1.equals(tmp0_other_with_cast.t9v_1))
4626
+ if (!this.config.equals(tmp0_other_with_cast.config))
4593
4627
  return false;
4594
4628
  return true;
4595
4629
  };
@@ -4627,13 +4661,13 @@
4627
4661
  }
4628
4662
  function _get_logger__rkp4sl_1($this) {
4629
4663
  // Inline function 'kotlin.getValue' call
4630
- var this_0 = $this.ea1_1;
4664
+ var this_0 = $this.ba1_1;
4631
4665
  logger$factory_3();
4632
4666
  return this_0.u();
4633
4667
  }
4634
4668
  function _get_di__ndbzja($this) {
4635
4669
  // Inline function 'kotlin.getValue' call
4636
- var this_0 = $this.fa1_1;
4670
+ var this_0 = $this.ca1_1;
4637
4671
  di$factory();
4638
4672
  return this_0.u();
4639
4673
  }
@@ -4644,13 +4678,13 @@
4644
4678
  function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
4645
4679
  return function () {
4646
4680
  var tmp;
4647
- if (this$0.ca1_1 == null) {
4681
+ if (this$0.za0_1 == null) {
4648
4682
  tmp = null;
4649
4683
  } else {
4650
4684
  // Inline function 'kotlin.let' call
4651
4685
  // Inline function 'kotlin.contracts.contract' call
4652
4686
  // Inline function 'GameServerEngineControllerImpl.logger$delegate.<anonymous>.<anonymous>' call
4653
- tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.ca1_1)]));
4687
+ tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.za0_1)]));
4654
4688
  }
4655
4689
  var tmp1_elvis_lhs = tmp;
4656
4690
  return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
@@ -4678,7 +4712,7 @@
4678
4712
  tmp_0.s61(tmp$ret$3);
4679
4713
  $this$DI.w5x(jsonModule());
4680
4714
  $this$DI.w5x(serverHelpersModule());
4681
- $this$DI.w5x(randomOrgModule(this$0.da1_1));
4715
+ $this$DI.w5x(randomOrgModule(this$0.aa1_1));
4682
4716
  return Unit_instance;
4683
4717
  };
4684
4718
  }
@@ -4689,16 +4723,16 @@
4689
4723
  };
4690
4724
  }
4691
4725
  function _no_name_provided__qut3iv_7($item) {
4692
- this.la1_1 = $item;
4726
+ this.ja1_1 = $item;
4693
4727
  }
4694
4728
  protoOf(_no_name_provided__qut3iv_7).s6j = function (action) {
4695
4729
  return isInterface(action, Action);
4696
4730
  };
4697
- protoOf(_no_name_provided__qut3iv_7).q9b = function (state, action) {
4698
- return this.la1_1(state, isInterface(action, Action) ? action : THROW_CCE());
4731
+ protoOf(_no_name_provided__qut3iv_7).p9b = function (state, action) {
4732
+ return this.ja1_1(state, isInterface(action, Action) ? action : THROW_CCE());
4699
4733
  };
4700
4734
  protoOf(_no_name_provided__qut3iv_7).k6l = function (state, action) {
4701
- return this.q9b((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
4735
+ return this.p9b((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
4702
4736
  };
4703
4737
  function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
4704
4738
  return function ($this$singleton) {
@@ -4790,7 +4824,7 @@
4790
4824
  // Inline function 'kotlin.contracts.contract' call
4791
4825
  $this$DI.w5x(tmp0_safe_receiver);
4792
4826
  }
4793
- $this$DI.w5x(dealerModule(this$0.randomPoolProvider, this$0.da1_1));
4827
+ $this$DI.w5x(dealerModule(this$0.randomPoolProvider, this$0.aa1_1));
4794
4828
  $this$DI.w5x(coreModule($coreConfig));
4795
4829
  $this$DI.w5x(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
4796
4830
  return Unit_instance;
@@ -4799,76 +4833,89 @@
4799
4833
  function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
4800
4834
  loggerCallback = loggerCallback === VOID ? null : loggerCallback;
4801
4835
  production = production === VOID ? true : production;
4802
- this.ca1_1 = loggerCallback;
4803
- this.da1_1 = randomOrgConfig;
4836
+ this.za0_1 = loggerCallback;
4837
+ this.aa1_1 = randomOrgConfig;
4804
4838
  AppEnvironment_getInstance().v6p(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
4805
4839
  var tmp = this;
4806
- tmp.ea1_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
4840
+ tmp.ba1_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
4807
4841
  var tmp_0 = this;
4808
- tmp_0.fa1_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
4842
+ tmp_0.ca1_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
4809
4843
  var tmp_1 = this;
4810
4844
  // Inline function 'org.kodein.di.instance' call
4811
4845
  var this_0 = _get_di__ndbzja(this);
4812
4846
  // Inline function 'org.kodein.type.generic' call
4813
4847
  var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
4814
4848
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
4815
- tmp_1.ga1_1 = Instance(this_0, tmp$ret$0, null).p63(this, parser$factory());
4849
+ tmp_1.da1_1 = Instance(this_0, tmp$ret$0, null).p63(this, parser$factory());
4816
4850
  var tmp_3 = this;
4817
4851
  // Inline function 'org.kodein.di.instance' call
4818
4852
  var this_1 = _get_di__ndbzja(this);
4819
4853
  // Inline function 'org.kodein.type.generic' call
4820
4854
  var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
4821
4855
  var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
4822
- tmp_3.ha1_1 = Instance(this_1, tmp$ret$2, null).p63(this, helper$factory());
4856
+ tmp_3.ea1_1 = Instance(this_1, tmp$ret$2, null).p63(this, helper$factory());
4823
4857
  var tmp_5 = this;
4824
4858
  // Inline function 'org.kodein.di.instance' call
4825
4859
  var this_2 = _get_di__ndbzja(this);
4826
4860
  // Inline function 'org.kodein.type.generic' call
4827
- var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
4861
+ var tmp_6 = typeToken(createKType(getKClass(GameServerHelper), arrayOf([]), false));
4828
4862
  var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
4829
- tmp_5.ia1_1 = Instance(this_2, tmp$ret$4, null).p63(this, resources$factory());
4863
+ tmp_5.fa1_1 = Instance(this_2, tmp$ret$4, null).p63(this, serverHelper$factory());
4830
4864
  var tmp_7 = this;
4831
4865
  // Inline function 'org.kodein.di.instance' call
4832
4866
  var this_3 = _get_di__ndbzja(this);
4833
4867
  // Inline function 'org.kodein.type.generic' call
4834
- var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
4868
+ var tmp_8 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
4835
4869
  var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
4836
- tmp_7.ja1_1 = Instance(this_3, tmp$ret$6, null).p63(this, test$factory());
4870
+ tmp_7.ga1_1 = Instance(this_3, tmp$ret$6, null).p63(this, resources$factory());
4837
4871
  var tmp_9 = this;
4838
4872
  // Inline function 'org.kodein.di.instance' call
4839
4873
  var this_4 = _get_di__ndbzja(this);
4840
4874
  // Inline function 'org.kodein.type.generic' call
4841
- var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
4875
+ var tmp_10 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
4842
4876
  var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
4843
- tmp_9.ka1_1 = Instance(this_4, tmp$ret$8, null).p63(this, randomPoolProvider$factory());
4877
+ tmp_9.ha1_1 = Instance(this_4, tmp$ret$8, null).p63(this, test$factory());
4878
+ var tmp_11 = this;
4879
+ // Inline function 'org.kodein.di.instance' call
4880
+ var this_5 = _get_di__ndbzja(this);
4881
+ // Inline function 'org.kodein.type.generic' call
4882
+ var tmp_12 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
4883
+ var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
4884
+ tmp_11.ia1_1 = Instance(this_5, tmp$ret$10, null).p63(this, randomPoolProvider$factory());
4844
4885
  }
4845
- protoOf(GameServerEngineControllerImpl).wa0 = function () {
4886
+ protoOf(GameServerEngineControllerImpl).sa0 = function () {
4846
4887
  // Inline function 'kotlin.getValue' call
4847
- var this_0 = this.ga1_1;
4888
+ var this_0 = this.da1_1;
4848
4889
  parser$factory_0();
4849
4890
  return this_0.u();
4850
4891
  };
4851
- protoOf(GameServerEngineControllerImpl).ya0 = function () {
4892
+ protoOf(GameServerEngineControllerImpl).ua0 = function () {
4852
4893
  // Inline function 'kotlin.getValue' call
4853
- var this_0 = this.ha1_1;
4894
+ var this_0 = this.ea1_1;
4854
4895
  helper$factory_0();
4855
4896
  return this_0.u();
4856
4897
  };
4857
- protoOf(GameServerEngineControllerImpl).za0 = function () {
4898
+ protoOf(GameServerEngineControllerImpl).va0 = function () {
4858
4899
  // Inline function 'kotlin.getValue' call
4859
- var this_0 = this.ia1_1;
4900
+ var this_0 = this.fa1_1;
4901
+ serverHelper$factory_0();
4902
+ return this_0.u();
4903
+ };
4904
+ protoOf(GameServerEngineControllerImpl).wa0 = function () {
4905
+ // Inline function 'kotlin.getValue' call
4906
+ var this_0 = this.ga1_1;
4860
4907
  resources$factory_0();
4861
4908
  return this_0.u();
4862
4909
  };
4863
- protoOf(GameServerEngineControllerImpl).xa0 = function () {
4910
+ protoOf(GameServerEngineControllerImpl).ta0 = function () {
4864
4911
  // Inline function 'kotlin.getValue' call
4865
- var this_0 = this.ja1_1;
4912
+ var this_0 = this.ha1_1;
4866
4913
  test$factory_0();
4867
4914
  return this_0.u();
4868
4915
  };
4869
- protoOf(GameServerEngineControllerImpl).aa1 = function () {
4916
+ protoOf(GameServerEngineControllerImpl).xa0 = function () {
4870
4917
  // Inline function 'kotlin.getValue' call
4871
- var this_0 = this.ka1_1;
4918
+ var this_0 = this.ia1_1;
4872
4919
  randomPoolProvider$factory_0();
4873
4920
  return this_0.u();
4874
4921
  };
@@ -4878,7 +4925,7 @@
4878
4925
  protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
4879
4926
  return this.createGameEngineWithLogic();
4880
4927
  };
4881
- protoOf(GameServerEngineControllerImpl).ba1 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
4928
+ protoOf(GameServerEngineControllerImpl).ya0 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
4882
4929
  var combinedLogger = Companion_instance_6.rm();
4883
4930
  var tmp;
4884
4931
  if (coreConfig.fileLogsEnabled) {
@@ -4888,8 +4935,8 @@
4888
4935
  }
4889
4936
  var fileLoggerOutput = tmp;
4890
4937
  var tmp_0;
4891
- if (!(this.ca1_1 == null)) {
4892
- tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.ca1_1));
4938
+ if (!(this.za0_1 == null)) {
4939
+ tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.za0_1));
4893
4940
  } else {
4894
4941
  tmp_0 = null;
4895
4942
  }
@@ -4952,6 +4999,11 @@
4952
4999
  return receiver.helper;
4953
5000
  }, null);
4954
5001
  }
5002
+ function serverHelper$factory() {
5003
+ return getPropertyCallableRef('serverHelper', 1, KProperty1, function (receiver) {
5004
+ return receiver.serverHelper;
5005
+ }, null);
5006
+ }
4955
5007
  function resources$factory() {
4956
5008
  return getPropertyCallableRef('resources', 1, KProperty1, function (receiver) {
4957
5009
  return receiver.resources;
@@ -4987,6 +5039,11 @@
4987
5039
  return receiver.helper;
4988
5040
  }, null);
4989
5041
  }
5042
+ function serverHelper$factory_0() {
5043
+ return getPropertyCallableRef('serverHelper', 1, KProperty1, function (receiver) {
5044
+ return receiver.serverHelper;
5045
+ }, null);
5046
+ }
4990
5047
  function resources$factory_0() {
4991
5048
  return getPropertyCallableRef('resources', 1, KProperty1, function (receiver) {
4992
5049
  return receiver.resources;
@@ -5002,17 +5059,24 @@
5002
5059
  return receiver.randomPoolProvider;
5003
5060
  }, null);
5004
5061
  }
5062
+ function GameServerHelper() {
5063
+ }
5064
+ function GameServerHelperImpl() {
5065
+ }
5066
+ protoOf(GameServerHelperImpl).getServerConfig = function (state) {
5067
+ return get_serverStatePayload_0(state).config;
5068
+ };
5005
5069
  function TestHelper() {
5006
5070
  }
5007
5071
  function _get_playerAnswerInteractor__msggz1($this) {
5008
5072
  // Inline function 'kotlin.getValue' call
5009
- var this_0 = $this.oa1_1;
5073
+ var this_0 = $this.ma1_1;
5010
5074
  playerAnswerInteractor$factory_0();
5011
5075
  return this_0.u();
5012
5076
  }
5013
5077
  function TestHelperImpl$di$lambda$lambda(this$0) {
5014
5078
  return function ($this$singleton) {
5015
- return this$0.ma1_1;
5079
+ return this$0.ka1_1;
5016
5080
  };
5017
5081
  }
5018
5082
  function TestHelperImpl$di$lambda(this$0) {
@@ -5041,20 +5105,20 @@
5041
5105
  return emptyMap();
5042
5106
  }
5043
5107
  function TestHelperImpl(logger) {
5044
- this.ma1_1 = logger;
5108
+ this.ka1_1 = logger;
5045
5109
  var tmp = this;
5046
5110
  var tmp_0 = Companion_instance_3;
5047
- tmp.na1_1 = tmp_0.d5y(VOID, TestHelperImpl$di$lambda(this));
5111
+ tmp.la1_1 = tmp_0.d5y(VOID, TestHelperImpl$di$lambda(this));
5048
5112
  var tmp_1 = this;
5049
5113
  // Inline function 'org.kodein.di.instance' call
5050
- var this_0 = this.na1_1;
5114
+ var this_0 = this.la1_1;
5051
5115
  // Inline function 'org.kodein.type.generic' call
5052
5116
  var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
5053
5117
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
5054
- tmp_1.oa1_1 = Instance(this_0, tmp$ret$0, null).p63(this, playerAnswerInteractor$factory());
5118
+ tmp_1.ma1_1 = Instance(this_0, tmp$ret$0, null).p63(this, playerAnswerInteractor$factory());
5055
5119
  }
5056
5120
  protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
5057
- return _get_playerAnswerInteractor__msggz1(this).h8n(playerId, table, botConfig);
5121
+ return _get_playerAnswerInteractor__msggz1(this).g8n(playerId, table, botConfig);
5058
5122
  };
5059
5123
  protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
5060
5124
  var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
@@ -5062,7 +5126,7 @@
5062
5126
  var tmp$ret$0;
5063
5127
  $l$block_0: {
5064
5128
  // Inline function 'kotlin.collections.any' call
5065
- var this_0 = mechanicAction.a91();
5129
+ var this_0 = mechanicAction.z90();
5066
5130
  var tmp;
5067
5131
  if (isInterface(this_0, Collection)) {
5068
5132
  tmp = this_0.p();
@@ -5095,7 +5159,7 @@
5095
5159
  var tmp$ret$0;
5096
5160
  $l$block_0: {
5097
5161
  // Inline function 'kotlin.collections.any' call
5098
- var this_0 = action.a91();
5162
+ var this_0 = action.z90();
5099
5163
  var tmp;
5100
5164
  if (isInterface(this_0, Collection)) {
5101
5165
  tmp = this_0.p();
@@ -5154,6 +5218,21 @@
5154
5218
  var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
5155
5219
  var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
5156
5220
  tmp_0.s61(tmp$ret$3);
5221
+ // Inline function 'org.kodein.di.bind' call
5222
+ // Inline function 'org.kodein.type.generic' call
5223
+ var tmp_5 = typeToken(createKType(getKClass(GameServerHelper), arrayOf([]), false));
5224
+ var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
5225
+ var tmp_6 = $this$Module.u5x(tmp$ret$4, null, null);
5226
+ // Inline function 'org.kodein.di.singleton' call
5227
+ var creator_0 = serverHelpersModule$lambda$lambda_0;
5228
+ var tmp_7 = $this$Module.z5x();
5229
+ var tmp_8 = $this$Module.x5x();
5230
+ var tmp_9 = $this$Module.y5x();
5231
+ // Inline function 'org.kodein.type.generic' call
5232
+ var tmp_10 = typeToken(createKType(getKClass(GameServerHelperImpl), arrayOf([]), false));
5233
+ var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
5234
+ var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
5235
+ tmp_6.s61(tmp$ret$7);
5157
5236
  return Unit_instance;
5158
5237
  }
5159
5238
  function serverHelpersModule$lambda$lambda($this$singleton) {
@@ -5165,6 +5244,9 @@
5165
5244
  var tmp$ret$1 = tmp.g5z(tmp$ret$0, null);
5166
5245
  return new TestHelperImpl(tmp$ret$1);
5167
5246
  }
5247
+ function serverHelpersModule$lambda$lambda_0($this$singleton) {
5248
+ return new GameServerHelperImpl();
5249
+ }
5168
5250
  //region block: post-declaration
5169
5251
  defineProp(protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1), 'playerId', function () {
5170
5252
  return this.i6a();
@@ -5198,19 +5280,22 @@
5198
5280
  });
5199
5281
  protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
5200
5282
  defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
5201
- return this.wa0();
5283
+ return this.sa0();
5202
5284
  });
5203
5285
  defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
5204
- return this.ya0();
5286
+ return this.ua0();
5287
+ });
5288
+ defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
5289
+ return this.va0();
5205
5290
  });
5206
5291
  defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
5207
- return this.za0();
5292
+ return this.wa0();
5208
5293
  });
5209
5294
  defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
5210
- return this.xa0();
5295
+ return this.ta0();
5211
5296
  });
5212
5297
  defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
5213
- return this.aa1();
5298
+ return this.xa0();
5214
5299
  });
5215
5300
  //endregion
5216
5301
  //region block: init
@@ -5221,6 +5306,15 @@
5221
5306
  //endregion
5222
5307
  //region block: exports
5223
5308
  function $jsExportAll$(_) {
5309
+ var $games = _.games || (_.games = {});
5310
+ var $games$jass = $games.jass || ($games.jass = {});
5311
+ var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
5312
+ var $games$jass$logic$server = $games$jass$logic.server || ($games$jass$logic.server = {});
5313
+ var $games$jass$logic$server$data = $games$jass$logic$server.data || ($games$jass$logic$server.data = {});
5314
+ var $games$jass$logic$server$data$models = $games$jass$logic$server$data.models || ($games$jass$logic$server$data.models = {});
5315
+ var $games$jass$logic$server$data$models$config = $games$jass$logic$server$data$models.config || ($games$jass$logic$server$data$models.config = {});
5316
+ $games$jass$logic$server$data$models$config.ServerConfig = ServerConfig;
5317
+ defineProp($games$jass$logic$server$data$models$config.ServerConfig, 'Companion', Companion_getInstance_1);
5224
5318
  var $games = _.games || (_.games = {});
5225
5319
  var $games$jass = $games.jass || ($games.jass = {});
5226
5320
  var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
@@ -5235,6 +5329,14 @@
5235
5329
  var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
5236
5330
  var $games$jass$logic$server = $games$jass$logic.server || ($games$jass$logic.server = {});
5237
5331
  var $games$jass$logic$server$domain = $games$jass$logic$server.domain || ($games$jass$logic$server.domain = {});
5332
+ var $games = _.games || (_.games = {});
5333
+ var $games$jass = $games.jass || ($games.jass = {});
5334
+ var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
5335
+ var $games$jass$logic$server = $games$jass$logic.server || ($games$jass$logic.server = {});
5336
+ var $games$jass$logic$server$redux = $games$jass$logic$server.redux || ($games$jass$logic$server.redux = {});
5337
+ var $games$jass$logic$server$redux$state = $games$jass$logic$server$redux.state || ($games$jass$logic$server$redux.state = {});
5338
+ $games$jass$logic$server$redux$state.ServerStatePayload = ServerStatePayload;
5339
+ defineProp($games$jass$logic$server$redux$state.ServerStatePayload, 'Companion', Companion_getInstance_3);
5238
5340
  _.createGameServerController = createGameServerController;
5239
5341
  }
5240
5342
  $jsExportAll$(_);