raspberry_games_server_game_logic 1.8.340 → 1.8.342

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.
@@ -1,8 +1,8 @@
1
1
  (function (factory) {
2
2
  if (typeof define === 'function' && define.amd)
3
- define(['exports', './kotlin-kotlin-stdlib.js', './Logic_Debertz-engine.js', './kotlinx-coroutines-core.js', './Logic_Debertz-core.js', './raspberry-cardgame-lib-random.js', './raspberry-cardgame-lib-logger.js', './Kosi-Kaverit-kaverit.js', './Kosi-Kodein-kodein-di.js', './kotlinx-atomicfu.js', './raspberry-cardgame-lib-core.js'], factory);
3
+ define(['exports', './kotlin-kotlin-stdlib.js', './Logic_Debertz-engine.js', './kotlinx-coroutines-core.js', './Logic_Debertz-core.js', './raspberry-cardgame-lib-random.js', './raspberry-cardgame-lib-logger.js', './Kosi-Kaverit-kaverit.js', './Kosi-Kodein-kodein-di.js', './kotlinx-serialization-kotlinx-serialization-core.js', './kotlinx-atomicfu.js', './raspberry-cardgame-lib-core.js'], factory);
4
4
  else if (typeof exports === 'object')
5
- factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./Logic_Debertz-engine.js'), require('./kotlinx-coroutines-core.js'), require('./Logic_Debertz-core.js'), require('./raspberry-cardgame-lib-random.js'), require('./raspberry-cardgame-lib-logger.js'), require('./Kosi-Kaverit-kaverit.js'), require('./Kosi-Kodein-kodein-di.js'), require('./kotlinx-atomicfu.js'), require('./raspberry-cardgame-lib-core.js'));
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./Logic_Debertz-engine.js'), require('./kotlinx-coroutines-core.js'), require('./Logic_Debertz-core.js'), require('./raspberry-cardgame-lib-random.js'), require('./raspberry-cardgame-lib-logger.js'), require('./Kosi-Kaverit-kaverit.js'), require('./Kosi-Kodein-kodein-di.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./kotlinx-atomicfu.js'), require('./raspberry-cardgame-lib-core.js'));
6
6
  else {
7
7
  if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
8
8
  throw new Error("Error loading module 'io.raspberryapps.game-engine:game_server'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'io.raspberryapps.game-engine:game_server'.");
@@ -28,15 +28,18 @@
28
28
  if (typeof globalThis['Kosi-Kodein-kodein-di'] === 'undefined') {
29
29
  throw new Error("Error loading module 'io.raspberryapps.game-engine:game_server'. Its dependency 'Kosi-Kodein-kodein-di' was not found. Please, check whether 'Kosi-Kodein-kodein-di' is loaded prior to 'io.raspberryapps.game-engine:game_server'.");
30
30
  }
31
+ if (typeof globalThis['kotlinx-serialization-kotlinx-serialization-core'] === 'undefined') {
32
+ throw new Error("Error loading module 'io.raspberryapps.game-engine:game_server'. Its dependency 'kotlinx-serialization-kotlinx-serialization-core' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-core' is loaded prior to 'io.raspberryapps.game-engine:game_server'.");
33
+ }
31
34
  if (typeof globalThis['kotlinx-atomicfu'] === 'undefined') {
32
35
  throw new Error("Error loading module 'io.raspberryapps.game-engine:game_server'. Its dependency 'kotlinx-atomicfu' was not found. Please, check whether 'kotlinx-atomicfu' is loaded prior to 'io.raspberryapps.game-engine:game_server'.");
33
36
  }
34
37
  if (typeof globalThis['raspberry-cardgame-lib-core'] === 'undefined') {
35
38
  throw new Error("Error loading module 'io.raspberryapps.game-engine:game_server'. Its dependency 'raspberry-cardgame-lib-core' was not found. Please, check whether 'raspberry-cardgame-lib-core' is loaded prior to 'io.raspberryapps.game-engine:game_server'.");
36
39
  }
37
- globalThis['io.raspberryapps.game-engine:game_server'] = factory(typeof globalThis['io.raspberryapps.game-engine:game_server'] === 'undefined' ? {} : globalThis['io.raspberryapps.game-engine:game_server'], globalThis['kotlin-kotlin-stdlib'], globalThis['Logic_Debertz-engine'], globalThis['kotlinx-coroutines-core'], globalThis['Logic_Debertz-core'], globalThis['raspberry-cardgame-lib-random'], globalThis['raspberry-cardgame-lib-logger'], globalThis['Kosi-Kaverit-kaverit'], globalThis['Kosi-Kodein-kodein-di'], globalThis['kotlinx-atomicfu'], globalThis['raspberry-cardgame-lib-core']);
40
+ globalThis['io.raspberryapps.game-engine:game_server'] = factory(typeof globalThis['io.raspberryapps.game-engine:game_server'] === 'undefined' ? {} : globalThis['io.raspberryapps.game-engine:game_server'], globalThis['kotlin-kotlin-stdlib'], globalThis['Logic_Debertz-engine'], globalThis['kotlinx-coroutines-core'], globalThis['Logic_Debertz-core'], globalThis['raspberry-cardgame-lib-random'], globalThis['raspberry-cardgame-lib-logger'], globalThis['Kosi-Kaverit-kaverit'], globalThis['Kosi-Kodein-kodein-di'], globalThis['kotlinx-serialization-kotlinx-serialization-core'], globalThis['kotlinx-atomicfu'], globalThis['raspberry-cardgame-lib-core']);
38
41
  }
39
- }(function (_, kotlin_kotlin, kotlin_io_raspberryapps_game_engine_engine, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_raspberryapps_game_engine_core, kotlin_io_raspberryapps_cardgame_random, kotlin_io_raspberryapps_cardgame_logger, kotlin_org_kodein_type_kaverit, kotlin_org_kodein_di_kodein_di, kotlin_org_jetbrains_kotlinx_atomicfu, kotlin_io_raspberryapps_cardgame_core) {
42
+ }(function (_, kotlin_kotlin, kotlin_io_raspberryapps_game_engine_engine, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_io_raspberryapps_game_engine_core, kotlin_io_raspberryapps_cardgame_random, kotlin_io_raspberryapps_cardgame_logger, kotlin_org_kodein_type_kaverit, kotlin_org_kodein_di_kodein_di, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_atomicfu, kotlin_io_raspberryapps_cardgame_core) {
40
43
  'use strict';
41
44
  //region block: imports
42
45
  var imul = Math.imul;
@@ -47,31 +50,29 @@
47
50
  var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f1;
48
51
  var initMetadataForLambda = kotlin_kotlin.$_$.zb;
49
52
  var VOID = kotlin_kotlin.$_$.f;
50
- var collectionSizeOrDefault = kotlin_kotlin.$_$.t6;
51
- var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
52
- var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.j;
53
+ var isInterface = kotlin_kotlin.$_$.jc;
53
54
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ia;
54
55
  var initMetadataForCoroutine = kotlin_kotlin.$_$.xb;
55
56
  var Flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.s;
56
57
  var initMetadataForClass = kotlin_kotlin.$_$.vb;
57
58
  var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
58
- var isInterface = kotlin_kotlin.$_$.jc;
59
- var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.k;
60
- var Long = kotlin_kotlin.$_$.og;
59
+ var toLong = kotlin_kotlin.$_$.yc;
61
60
  var windowedByInterval = kotlin_io_raspberryapps_game_engine_core.$_$.a;
62
61
  var emitAll = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b;
63
- var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
62
+ var to = kotlin_kotlin.$_$.yh;
64
63
  var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
65
64
  var defineProp = kotlin_kotlin.$_$.mb;
66
65
  var PlayerIdContract = kotlin_io_raspberryapps_game_engine_core.$_$.f;
67
- var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
68
- var transformLatest = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
66
+ var transformLatest = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a1;
67
+ var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
69
68
  var initMetadataForCompanion = kotlin_kotlin.$_$.wb;
70
69
  var equals = kotlin_kotlin.$_$.nb;
71
70
  var FunctionAdapter = kotlin_kotlin.$_$.bb;
72
71
  var hashCode = kotlin_kotlin.$_$.ub;
73
72
  var SecureRandom = kotlin_io_raspberryapps_cardgame_random.$_$.j;
74
- var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h1;
73
+ var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i1;
74
+ var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.z;
75
+ var distinctUntilChanged_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
75
76
  var Store = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
76
77
  var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
77
78
  var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b1;
@@ -86,6 +87,8 @@
86
87
  var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.k4;
87
88
  var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.v3;
88
89
  var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.h1;
90
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.t6;
91
+ var ArrayList_init_$Create$ = kotlin_kotlin.$_$.m;
89
92
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.n;
90
93
  var filterByPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.m;
91
94
  var firstOrNull = kotlin_kotlin.$_$.s7;
@@ -120,24 +123,35 @@
120
123
  var FromClientEventsObserver = kotlin_io_raspberryapps_game_engine_engine.$_$.v;
121
124
  var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
122
125
  var TeamsLogicProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.q;
123
- var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.p;
124
126
  var lazy = kotlin_kotlin.$_$.qh;
125
127
  var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.n1;
128
+ var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
129
+ var EncoderDecoderProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.p;
126
130
  var plus = kotlin_kotlin.$_$.a9;
127
131
  var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
128
132
  var toString_0 = kotlin_kotlin.$_$.xh;
129
133
  var KProperty1 = kotlin_kotlin.$_$.rd;
130
134
  var getPropertyCallableRef = kotlin_kotlin.$_$.sb;
131
- var to = kotlin_kotlin.$_$.yh;
132
135
  var mapOf = kotlin_kotlin.$_$.u8;
133
136
  var Enum = kotlin_kotlin.$_$.jg;
134
137
  var getBooleanHashCode = kotlin_kotlin.$_$.qb;
138
+ var SealedClassSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c;
139
+ var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.c2;
135
140
  var initMetadataForInterface = kotlin_kotlin.$_$.yb;
141
+ var PluginGeneratedSerialDescriptor = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.b2;
142
+ var UnknownFieldException_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.f;
143
+ var StringSerializer_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.t;
144
+ var typeParametersSerializers = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.w1;
145
+ var GeneratedSerializer = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.x1;
146
+ var initMetadataForObject = kotlin_kotlin.$_$.ac;
147
+ var throwMissingFieldException = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.g2;
148
+ var objectCreate = kotlin_kotlin.$_$.vc;
136
149
  var getStringHashCode = kotlin_kotlin.$_$.tb;
150
+ var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.j;
151
+ var mapToDto_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.k;
137
152
  var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
138
153
  var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.s3;
139
154
  var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
140
- var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
141
155
  var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.r3;
142
156
  var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.o;
143
157
  var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.t;
@@ -154,12 +168,12 @@
154
168
  var copyToArray = kotlin_kotlin.$_$.j7;
155
169
  var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.c1;
156
170
  var KtList = kotlin_kotlin.$_$.y5;
171
+ var Long = kotlin_kotlin.$_$.og;
157
172
  var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
158
173
  var atomic$ref$1 = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.e;
159
174
  var get_atomicfu$reentrantLock = kotlin_org_jetbrains_kotlinx_atomicfu.$_$.a;
160
175
  var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.t;
161
- var toLong = kotlin_kotlin.$_$.yc;
162
- var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.x;
176
+ var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
163
177
  var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.f2;
164
178
  var Action = kotlin_io_raspberryapps_game_engine_core.$_$.g2;
165
179
  var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.f3;
@@ -283,17 +297,21 @@
283
297
  //endregion
284
298
  //region block: pre-declaration
285
299
  initMetadataForLambda(GameServer$subscribeToClientAction$slambda$slambda, CoroutineImpl, VOID, [1]);
286
- initMetadataForLambda(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda, CoroutineImpl, VOID, [1]);
300
+ initMetadataForLambda(GameServer$subscribeServerStateUpdate$slambda$slambda, CoroutineImpl, VOID, [1]);
301
+ initMetadataForLambda(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda, CoroutineImpl, VOID, [1]);
287
302
  initMetadataForCoroutine($collectCOROUTINE$0, CoroutineImpl);
288
303
  initMetadataForClass(_no_name_provided__qut3iv, VOID, VOID, VOID, [Flow], [1]);
289
- initMetadataForLambda(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda, CoroutineImpl, VOID, [1]);
290
- initMetadataForLambda(GameServer$subscribeServerStateUpdate$slambda$slambda, CoroutineImpl, VOID, [2]);
291
- initMetadataForLambda(GameServer$subscribeServerStateUpdate$slambda$slambda_1, CoroutineImpl, VOID, [1]);
292
- initMetadataForLambda(GameServer$observeTableWhenRoundChanges$o$collect$slambda, CoroutineImpl, VOID, [1]);
304
+ initMetadataForLambda(GameServer$subscribeServerStateUpdateJson$slambda$slambda, CoroutineImpl, VOID, [1]);
305
+ initMetadataForLambda(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda, CoroutineImpl, VOID, [1]);
293
306
  initMetadataForCoroutine($collectCOROUTINE$1, CoroutineImpl);
294
- initMetadataForLambda(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda, CoroutineImpl, VOID, [1]);
295
- initMetadataForCoroutine($collectCOROUTINE$2, CoroutineImpl);
296
307
  initMetadataForClass(_no_name_provided__qut3iv_0, VOID, VOID, VOID, [Flow], [1]);
308
+ initMetadataForLambda(GameServer$observeTableStateUpdates$slambda$slambda, CoroutineImpl, VOID, [1]);
309
+ initMetadataForLambda(GameServer$observeTableWhenRoundChanges$o$collect$slambda, CoroutineImpl, VOID, [1]);
310
+ initMetadataForCoroutine($collectCOROUTINE$2, CoroutineImpl);
311
+ initMetadataForLambda(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1, CoroutineImpl, VOID, [1]);
312
+ initMetadataForCoroutine($collectCOROUTINE$3, CoroutineImpl);
313
+ initMetadataForLambda(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3, CoroutineImpl, VOID, [1]);
314
+ initMetadataForCoroutine($collectCOROUTINE$4, CoroutineImpl);
297
315
  initMetadataForLambda(GameServer$subscribeWith$slambda$slambda, CoroutineImpl, VOID, [1]);
298
316
  initMetadataForClass(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1, VOID, VOID, VOID, [PlayerIdContract]);
299
317
  initMetadataForCompanion(Companion);
@@ -301,10 +319,15 @@
301
319
  initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
302
320
  initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_1, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
303
321
  initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_2, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
322
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_3, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
323
+ initMetadataForClass(sam$kotlinx_coroutines_flow_FlowCollector$0_4, 'sam$kotlinx_coroutines_flow_FlowCollector$0', VOID, VOID, [FlowCollector, FunctionAdapter], [1]);
304
324
  initMetadataForLambda(GameServer$subscribeToClientAction$slambda, CoroutineImpl, VOID, [1]);
305
325
  initMetadataForLambda(GameServer$subscribeServerStateUpdate$slambda, CoroutineImpl, VOID, [1]);
326
+ initMetadataForLambda(GameServer$subscribeServerStateUpdateJson$slambda, CoroutineImpl, VOID, [1]);
327
+ initMetadataForLambda(GameServer$observeTableStateUpdates$slambda, CoroutineImpl, VOID, [2]);
306
328
  initMetadataForClass(_no_name_provided__qut3iv_1, VOID, VOID, VOID, [Flow], [1]);
307
- initMetadataForLambda(GameServer$observeTableWhenRoundChanges$slambda, CoroutineImpl, VOID, [2]);
329
+ initMetadataForClass(_no_name_provided__qut3iv_2, VOID, VOID, VOID, [Flow], [1]);
330
+ initMetadataForClass(_no_name_provided__qut3iv_3, VOID, VOID, VOID, [Flow], [1]);
308
331
  initMetadataForLambda(GameServer$subscribeWith$slambda, CoroutineImpl, VOID, [1]);
309
332
  initMetadataForLambda(GameServer$fromClientEvent$slambda, CoroutineImpl, VOID, [2]);
310
333
  initMetadataForLambda(GameServer$playerLostConnection$slambda, CoroutineImpl, VOID, [2]);
@@ -331,46 +354,54 @@
331
354
  tmp = spectators;
332
355
  }
333
356
  spectators = tmp;
334
- return this.k9x(roomId, gameCreatorId, config, usersArray, transition, spectators);
357
+ return this.t9z(roomId, gameCreatorId, config, usersArray, transition, spectators);
335
358
  }
336
359
  function roomOnDelete(newRid, $super) {
337
360
  newRid = newRid === VOID ? null : newRid;
338
- return this.l9x(newRid);
361
+ return this.u9z(newRid);
339
362
  }
340
363
  function shutdown(reason, roomId, $super) {
341
364
  roomId = roomId === VOID ? null : roomId;
342
- return this.m9x(reason, roomId);
365
+ return this.v9z(reason, roomId);
343
366
  }
344
367
  initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
345
368
  initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
346
369
  initMetadataForClass(ServerShutdownReason, 'ServerShutdownReason', VOID, Enum);
347
370
  initMetadataForCompanion(Companion_0);
348
371
  initMetadataForClass(ServerConfig, 'ServerConfig');
372
+ initMetadataForCompanion(Companion_1, VOID, [SerializerFactory]);
373
+ initMetadataForInterface(ServerStateUpdateDto, 'ServerStateUpdateDto', VOID, VOID, VOID, VOID, VOID, {0: Companion_getInstance_2});
374
+ initMetadataForCompanion(Companion_2);
375
+ initMetadataForObject($serializer, '$serializer', VOID, VOID, [GeneratedSerializer]);
376
+ initMetadataForClass(TableStateUpdateDto, 'TableStateUpdateDto', VOID, VOID, [ServerStateUpdateDto], VOID, VOID, {0: $serializer_getInstance});
377
+ initMetadataForCompanion(Companion_3);
378
+ initMetadataForObject($serializer_0, '$serializer', VOID, VOID, [GeneratedSerializer]);
379
+ initMetadataForClass(ActionsStateUpdateDto, 'ActionsStateUpdateDto', VOID, VOID, [ServerStateUpdateDto], VOID, VOID, {0: $serializer_getInstance_0});
349
380
  initMetadataForInterface(ServerStateUpdate, 'ServerStateUpdate');
350
381
  initMetadataForClass(TableStateUpdate, 'TableStateUpdate', VOID, VOID, [ServerStateUpdate]);
351
382
  initMetadataForClass(ActionsStateUpdate, 'ActionsStateUpdate', VOID, VOID, [ServerStateUpdate]);
352
383
  initMetadataForInterface(ToClientEventsObserver, 'ToClientEventsObserver', VOID, VOID, VOID, [1, 0]);
353
384
  initMetadataForLambda(ToClientEventsObserverImpl$observeEvents$slambda$slambda, CoroutineImpl, VOID, [1]);
354
385
  initMetadataForClass(GroupKey, 'GroupKey');
355
- initMetadataForCompanion(Companion_1);
386
+ initMetadataForCompanion(Companion_4);
356
387
  initMetadataForLambda(ToClientEventsObserverImpl$observeEvents$slambda, CoroutineImpl, VOID, [1]);
357
- initMetadataForCoroutine($sentEventCOROUTINE$3, CoroutineImpl);
358
- initMetadataForCoroutine($waitForCOROUTINE$4, CoroutineImpl);
388
+ initMetadataForCoroutine($sentEventCOROUTINE$5, CoroutineImpl);
389
+ initMetadataForCoroutine($waitForCOROUTINE$6, CoroutineImpl);
359
390
  initMetadataForClass(ToClientEventsObserverImpl, 'ToClientEventsObserverImpl', VOID, VOID, [ToClientEventsObserver], [1, 0]);
360
391
  initMetadataForClass(UpdateServerConfigAction, 'UpdateServerConfigAction', VOID, VOID, [Action]);
361
392
  initMetadataForInterface(SpectatorsAction, 'SpectatorsAction', VOID, VOID, [Action]);
362
393
  initMetadataForClass(AddSpectatorsAction, 'AddSpectatorsAction', VOID, VOID, [SpectatorsAction]);
363
394
  initMetadataForClass(RemoveSpectatorsAction, 'RemoveSpectatorsAction', VOID, VOID, [SpectatorsAction]);
364
395
  initMetadataForClass(ServerGameStoreContract, 'ServerGameStoreContract', VOID, VOID, [StoreContract]);
365
- initMetadataForClass(_no_name_provided__qut3iv_2, VOID, VOID, VOID, [Middleware]);
366
- initMetadataForClass(_no_name_provided__qut3iv_3, VOID, VOID, VOID, [Middleware]);
396
+ initMetadataForClass(_no_name_provided__qut3iv_4, VOID, VOID, VOID, [Middleware]);
397
+ initMetadataForClass(_no_name_provided__qut3iv_5, VOID, VOID, VOID, [Middleware]);
367
398
  initMetadataForClass(ServerMapMechanicToClientActionMiddleware, 'ServerMapMechanicToClientActionMiddleware');
368
399
  initMetadataForLambda(sendToClientActionMiddleware$o$handle$slambda, CoroutineImpl, VOID, [1]);
369
- initMetadataForClass(_no_name_provided__qut3iv_4, VOID, VOID, VOID, [Middleware]);
370
- initMetadataForClass(_no_name_provided__qut3iv_5, VOID, VOID, VOID, [Reducer]);
400
+ initMetadataForClass(_no_name_provided__qut3iv_6, VOID, VOID, VOID, [Middleware]);
401
+ initMetadataForClass(_no_name_provided__qut3iv_7, VOID, VOID, VOID, [Reducer]);
371
402
  initMetadataForClass(ServerMechanicLifecycleReducer, 'ServerMechanicLifecycleReducer', VOID, BaseMechanicLifecycleReducer, [BaseMechanicLifecycleReducer, MechanicLifecycleReducer]);
372
- initMetadataForClass(_no_name_provided__qut3iv_6, VOID, VOID, VOID, [Reducer]);
373
- initMetadataForCompanion(Companion_2);
403
+ initMetadataForClass(_no_name_provided__qut3iv_8, VOID, VOID, VOID, [Reducer]);
404
+ initMetadataForCompanion(Companion_5);
374
405
  initMetadataForClass(ServerStatePayload, 'ServerStatePayload', VOID, VOID, [AppStatePayload]);
375
406
  function createGameEngineWithLogic(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig, $super) {
376
407
  var tmp;
@@ -393,10 +424,10 @@
393
424
  logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
394
425
  dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
395
426
  coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
396
- return this.ea2(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
427
+ return this.pa4(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
397
428
  }
398
429
  initMetadataForInterface(GameEngineController, 'GameEngineController');
399
- initMetadataForClass(_no_name_provided__qut3iv_7, VOID, VOID, VOID, [Reducer]);
430
+ initMetadataForClass(_no_name_provided__qut3iv_9, VOID, VOID, VOID, [Reducer]);
400
431
  initMetadataForClass(GameServerEngineControllerImpl, 'GameServerEngineControllerImpl', VOID, VOID, [GameEngineController]);
401
432
  initMetadataForInterface(GameServerHelper, 'GameServerHelper');
402
433
  initMetadataForClass(GameServerHelperImpl, 'GameServerHelperImpl', GameServerHelperImpl, VOID, [GameServerHelper]);
@@ -404,17 +435,17 @@
404
435
  initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
405
436
  //endregion
406
437
  function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
407
- this.w9i_1 = $subscriber;
438
+ this.y9i_1 = $subscriber;
408
439
  CoroutineImpl.call(this, resultContinuation);
409
440
  }
410
- protoOf(GameServer$subscribeToClientAction$slambda$slambda).y9i = function (it, $completion) {
411
- var tmp = this.z9i(it, $completion);
441
+ protoOf(GameServer$subscribeToClientAction$slambda$slambda).a9j = function (it, $completion) {
442
+ var tmp = this.b9j(it, $completion);
412
443
  tmp.l9_1 = Unit_instance;
413
444
  tmp.m9_1 = null;
414
445
  return tmp.r9();
415
446
  };
416
447
  protoOf(GameServer$subscribeToClientAction$slambda$slambda).ba = function (p1, $completion) {
417
- return this.y9i(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
448
+ return this.a9j(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
418
449
  };
419
450
  protoOf(GameServer$subscribeToClientAction$slambda$slambda).r9 = function () {
420
451
  var suspendResult = this.l9_1;
@@ -423,7 +454,7 @@
423
454
  var tmp = this.j9_1;
424
455
  if (tmp === 0) {
425
456
  this.k9_1 = 1;
426
- this.w9i_1(this.x9i_1);
457
+ this.y9i_1(this.z9i_1);
427
458
  return Unit_instance;
428
459
  } else if (tmp === 1) {
429
460
  throw this.m9_1;
@@ -434,34 +465,78 @@
434
465
  }
435
466
  while (true);
436
467
  };
437
- protoOf(GameServer$subscribeToClientAction$slambda$slambda).z9i = function (it, completion) {
438
- var i = new GameServer$subscribeToClientAction$slambda$slambda(this.w9i_1, completion);
439
- i.x9i_1 = it;
468
+ protoOf(GameServer$subscribeToClientAction$slambda$slambda).b9j = function (it, completion) {
469
+ var i = new GameServer$subscribeToClientAction$slambda$slambda(this.y9i_1, completion);
470
+ i.z9i_1 = it;
440
471
  return i;
441
472
  };
442
473
  function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
443
474
  var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
444
475
  var l = function (it, $completion) {
445
- return i.y9i(it, $completion);
476
+ return i.a9j(it, $completion);
477
+ };
478
+ l.$arity = 1;
479
+ return l;
480
+ }
481
+ function GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation) {
482
+ this.k9j_1 = $subscriber;
483
+ CoroutineImpl.call(this, resultContinuation);
484
+ }
485
+ protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).m9j = function (it, $completion) {
486
+ var tmp = this.n9j(it, $completion);
487
+ tmp.l9_1 = Unit_instance;
488
+ tmp.m9_1 = null;
489
+ return tmp.r9();
490
+ };
491
+ protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ba = function (p1, $completion) {
492
+ return this.m9j((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
493
+ };
494
+ protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).r9 = function () {
495
+ var suspendResult = this.l9_1;
496
+ $sm: do
497
+ try {
498
+ var tmp = this.j9_1;
499
+ if (tmp === 0) {
500
+ this.k9_1 = 1;
501
+ this.k9j_1(this.l9j_1);
502
+ return Unit_instance;
503
+ } else if (tmp === 1) {
504
+ throw this.m9_1;
505
+ }
506
+ } catch ($p) {
507
+ var e = $p;
508
+ throw e;
509
+ }
510
+ while (true);
511
+ };
512
+ protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).n9j = function (it, completion) {
513
+ var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.k9j_1, completion);
514
+ i.l9j_1 = it;
515
+ return i;
516
+ };
517
+ function GameServer$subscribeServerStateUpdate$slambda$slambda_0($subscriber, resultContinuation) {
518
+ var i = new GameServer$subscribeServerStateUpdate$slambda$slambda($subscriber, resultContinuation);
519
+ var l = function (it, $completion) {
520
+ return i.m9j(it, $completion);
446
521
  };
447
522
  l.$arity = 1;
448
523
  return l;
449
524
  }
450
- function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
451
- this.i9j_1 = $$this$unsafeFlow;
452
- this.j9j_1 = this$0;
525
+ function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation) {
526
+ this.w9j_1 = $$this$unsafeFlow;
527
+ this.x9j_1 = this$0;
453
528
  CoroutineImpl.call(this, resultContinuation);
454
529
  }
455
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).k1i = function (value, $completion) {
530
+ protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).k1i = function (value, $completion) {
456
531
  var tmp = this.l1i(value, $completion);
457
532
  tmp.l9_1 = Unit_instance;
458
533
  tmp.m9_1 = null;
459
534
  return tmp.r9();
460
535
  };
461
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).ba = function (p1, $completion) {
536
+ protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).ba = function (p1, $completion) {
462
537
  return this.k1i((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
463
538
  };
464
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).r9 = function () {
539
+ protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).r9 = function () {
465
540
  var suspendResult = this.l9_1;
466
541
  $sm: do
467
542
  try {
@@ -470,20 +545,12 @@
470
545
  case 0:
471
546
  this.k9_1 = 2;
472
547
  var tmp_0 = this;
473
- tmp_0.l9j_1 = this.i9j_1;
548
+ tmp_0.z9j_1 = this.w9j_1;
474
549
  var tmp_1 = this;
475
- tmp_1.m9j_1 = this.k9j_1;
550
+ tmp_1.a9k_1 = this.y9j_1;
476
551
  this.j9_1 = 1;
477
- var actions = this.m9j_1;
478
- var tmp_2 = _get_encoderDecoderProvider__qqgrji(this.j9j_1);
479
- var destination = ArrayList_init_$Create$(collectionSizeOrDefault(actions, 10));
480
- var tmp0_iterator = actions.j();
481
- while (tmp0_iterator.k()) {
482
- var item = tmp0_iterator.l();
483
- destination.e(mapToDto(item));
484
- }
485
-
486
- suspendResult = this.l9j_1.r18(new ActionsStateUpdate(actions, tmp_2.b8m(destination)), this);
552
+ var it = this.a9k_1;
553
+ suspendResult = this.z9j_1.r18(mapToDto_1(it, _get_encoderDecoderProvider__qqgrji(this.x9j_1)), this);
487
554
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
488
555
  return suspendResult;
489
556
  }
@@ -505,13 +572,13 @@
505
572
  }
506
573
  while (true);
507
574
  };
508
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda).l1i = function (value, completion) {
509
- var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda(this.i9j_1, this.j9j_1, completion);
510
- i.k9j_1 = value;
575
+ protoOf(GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda).l1i = function (value, completion) {
576
+ var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda(this.w9j_1, this.x9j_1, completion);
577
+ i.y9j_1 = value;
511
578
  return i;
512
579
  };
513
- function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
514
- var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation);
580
+ function GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0($$this$unsafeFlow, this$0, resultContinuation) {
581
+ var i = new GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda($$this$unsafeFlow, this$0, resultContinuation);
515
582
  var l = function (value, $completion) {
516
583
  return i.k1i(value, $completion);
517
584
  };
@@ -520,8 +587,8 @@
520
587
  }
521
588
  function $collectCOROUTINE$0(_this__u8e3s4, collector, resultContinuation) {
522
589
  CoroutineImpl.call(this, resultContinuation);
523
- this.v9j_1 = _this__u8e3s4;
524
- this.w9j_1 = collector;
590
+ this.j9k_1 = _this__u8e3s4;
591
+ this.k9k_1 = collector;
525
592
  }
526
593
  protoOf($collectCOROUTINE$0).r9 = function () {
527
594
  var suspendResult = this.l9_1;
@@ -532,10 +599,10 @@
532
599
  case 0:
533
600
  this.k9_1 = 2;
534
601
  var tmp_0 = this;
535
- tmp_0.x9j_1 = this.w9j_1;
602
+ tmp_0.l9k_1 = this.k9k_1;
536
603
  this.j9_1 = 1;
537
- var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda$slambda$o$collect$slambda_0(this.x9j_1, this.v9j_1.z9j_1, null);
538
- suspendResult = this.v9j_1.y9j_1.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
604
+ var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$o$collect$slambda_0(this.l9k_1, this.j9k_1.n9k_1, null);
605
+ suspendResult = this.j9k_1.m9k_1.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
539
606
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
540
607
  return suspendResult;
541
608
  }
@@ -558,8 +625,8 @@
558
625
  while (true);
559
626
  };
560
627
  function _no_name_provided__qut3iv($this, this$0) {
561
- this.y9j_1 = $this;
562
- this.z9j_1 = this$0;
628
+ this.m9k_1 = $this;
629
+ this.n9k_1 = this$0;
563
630
  }
564
631
  protoOf(_no_name_provided__qut3iv).s18 = function (collector, $completion) {
565
632
  var tmp = new $collectCOROUTINE$0(this, collector, $completion);
@@ -570,52 +637,91 @@
570
637
  protoOf(_no_name_provided__qut3iv).o17 = function (collector, $completion) {
571
638
  return this.s18(collector, $completion);
572
639
  };
573
- function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda($table, this$0, resultContinuation) {
574
- this.i9k_1 = $table;
575
- this.j9k_1 = this$0;
640
+ function GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation) {
641
+ this.w9k_1 = $subscriber;
576
642
  CoroutineImpl.call(this, resultContinuation);
577
643
  }
578
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).l9k = function ($this$flow, $completion) {
579
- var tmp = this.m9k($this$flow, $completion);
644
+ protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).y9k = function (it, $completion) {
645
+ var tmp = this.z9k(it, $completion);
580
646
  tmp.l9_1 = Unit_instance;
581
647
  tmp.m9_1 = null;
582
648
  return tmp.r9();
583
649
  };
584
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).ba = function (p1, $completion) {
585
- return this.l9k((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
650
+ protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).ba = function (p1, $completion) {
651
+ return this.y9k((!(p1 == null) ? isInterface(p1, ServerStateUpdateDto) : false) ? p1 : THROW_CCE(), $completion);
586
652
  };
587
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).r9 = function () {
653
+ protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).r9 = function () {
654
+ var suspendResult = this.l9_1;
655
+ $sm: do
656
+ try {
657
+ var tmp = this.j9_1;
658
+ if (tmp === 0) {
659
+ this.k9_1 = 1;
660
+ this.w9k_1(this.x9k_1);
661
+ return Unit_instance;
662
+ } else if (tmp === 1) {
663
+ throw this.m9_1;
664
+ }
665
+ } catch ($p) {
666
+ var e = $p;
667
+ throw e;
668
+ }
669
+ while (true);
670
+ };
671
+ protoOf(GameServer$subscribeServerStateUpdateJson$slambda$slambda).z9k = function (it, completion) {
672
+ var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda(this.w9k_1, completion);
673
+ i.x9k_1 = it;
674
+ return i;
675
+ };
676
+ function GameServer$subscribeServerStateUpdateJson$slambda$slambda_0($subscriber, resultContinuation) {
677
+ var i = new GameServer$subscribeServerStateUpdateJson$slambda$slambda($subscriber, resultContinuation);
678
+ var l = function (it, $completion) {
679
+ return i.y9k(it, $completion);
680
+ };
681
+ l.$arity = 1;
682
+ return l;
683
+ }
684
+ function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
685
+ this.i9l_1 = $$this$unsafeFlow;
686
+ CoroutineImpl.call(this, resultContinuation);
687
+ }
688
+ protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).k1i = function (value, $completion) {
689
+ var tmp = this.l1i(value, $completion);
690
+ tmp.l9_1 = Unit_instance;
691
+ tmp.m9_1 = null;
692
+ return tmp.r9();
693
+ };
694
+ protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).ba = function (p1, $completion) {
695
+ return this.k1i((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
696
+ };
697
+ protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).r9 = function () {
588
698
  var suspendResult = this.l9_1;
589
699
  $sm: do
590
700
  try {
591
701
  var tmp = this.j9_1;
592
702
  switch (tmp) {
593
703
  case 0:
594
- this.k9_1 = 3;
704
+ this.k9_1 = 2;
705
+ var tmp_0 = this;
706
+ tmp_0.k9l_1 = this.i9l_1;
707
+ var tmp_1 = this;
708
+ tmp_1.l9l_1 = this.j9l_1;
595
709
  this.j9_1 = 1;
596
- suspendResult = this.k9k_1.r18(new TableStateUpdate(this.i9k_1, _get_encoderDecoderProvider__qqgrji(this.j9k_1).z8l(mapToDto_0(this.i9k_1))), this);
710
+ var actions = this.l9l_1;
711
+ suspendResult = this.k9l_1.r18(new ActionsStateUpdate(actions), this);
597
712
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
598
713
  return suspendResult;
599
714
  }
600
715
 
601
716
  continue $sm;
602
717
  case 1:
603
- this.j9_1 = 2;
604
- var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.j9k_1).a8n(), new Long(3000, 0));
605
- suspendResult = emitAll(this.k9k_1, new _no_name_provided__qut3iv(this_0, this.j9k_1), this);
606
- if (suspendResult === get_COROUTINE_SUSPENDED()) {
607
- return suspendResult;
608
- }
609
-
610
- continue $sm;
611
- case 2:
612
718
  return Unit_instance;
613
- case 3:
719
+ case 2:
614
720
  throw this.m9_1;
615
721
  }
616
722
  } catch ($p) {
617
723
  var e = $p;
618
- if (this.k9_1 === 3) {
724
+ if (this.k9_1 === 2) {
619
725
  throw e;
620
726
  } else {
621
727
  this.j9_1 = this.k9_1;
@@ -624,34 +730,25 @@
624
730
  }
625
731
  while (true);
626
732
  };
627
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda).m9k = function ($this$flow, completion) {
628
- var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda(this.i9k_1, this.j9k_1, completion);
629
- i.k9k_1 = $this$flow;
733
+ protoOf(GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda).l1i = function (value, completion) {
734
+ var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda(this.i9l_1, completion);
735
+ i.j9l_1 = value;
630
736
  return i;
631
737
  };
632
- function GameServer$subscribeServerStateUpdate$slambda$slambda$slambda_0($table, this$0, resultContinuation) {
633
- var i = new GameServer$subscribeServerStateUpdate$slambda$slambda$slambda($table, this$0, resultContinuation);
634
- var l = function ($this$flow, $completion) {
635
- return i.l9k($this$flow, $completion);
738
+ function GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
739
+ var i = new GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation);
740
+ var l = function (value, $completion) {
741
+ return i.k1i(value, $completion);
636
742
  };
637
743
  l.$arity = 1;
638
744
  return l;
639
745
  }
640
- function GameServer$subscribeServerStateUpdate$slambda$slambda(this$0, resultContinuation) {
641
- this.v9k_1 = this$0;
746
+ function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
642
747
  CoroutineImpl.call(this, resultContinuation);
748
+ this.u9l_1 = _this__u8e3s4;
749
+ this.v9l_1 = collector;
643
750
  }
644
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).y9k = function ($this$transformLatest, it, $completion) {
645
- var tmp = this.z9k($this$transformLatest, it, $completion);
646
- tmp.l9_1 = Unit_instance;
647
- tmp.m9_1 = null;
648
- return tmp.r9();
649
- };
650
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).ca = function (p1, p2, $completion) {
651
- var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
652
- return this.y9k(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
653
- };
654
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).r9 = function () {
751
+ protoOf($collectCOROUTINE$1).r9 = function () {
655
752
  var suspendResult = this.l9_1;
656
753
  $sm: do
657
754
  try {
@@ -659,9 +756,11 @@
659
756
  switch (tmp) {
660
757
  case 0:
661
758
  this.k9_1 = 2;
759
+ var tmp_0 = this;
760
+ tmp_0.w9l_1 = this.v9l_1;
662
761
  this.j9_1 = 1;
663
- var table = this.x9k_1;
664
- suspendResult = emitAll(this.w9k_1, flow(GameServer$subscribeServerStateUpdate$slambda$slambda$slambda_0(table, this.v9k_1, null)), this);
762
+ var tmp_1 = GameServer$observeTableStateUpdates$slambda$slambda$o$collect$slambda_0(this.w9l_1, null);
763
+ suspendResult = this.u9l_1.x9l_1.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
665
764
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
666
765
  return suspendResult;
667
766
  }
@@ -683,66 +782,87 @@
683
782
  }
684
783
  while (true);
685
784
  };
686
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda).z9k = function ($this$transformLatest, it, completion) {
687
- var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this.v9k_1, completion);
688
- i.w9k_1 = $this$transformLatest;
689
- i.x9k_1 = it;
690
- return i;
691
- };
692
- function GameServer$subscribeServerStateUpdate$slambda$slambda_0(this$0, resultContinuation) {
693
- var i = new GameServer$subscribeServerStateUpdate$slambda$slambda(this$0, resultContinuation);
694
- var l = function ($this$transformLatest, it, $completion) {
695
- return i.y9k($this$transformLatest, it, $completion);
696
- };
697
- l.$arity = 2;
698
- return l;
785
+ function _no_name_provided__qut3iv_0($this) {
786
+ this.x9l_1 = $this;
699
787
  }
700
- function GameServer$subscribeServerStateUpdate$slambda$slambda_1($subscriber, resultContinuation) {
701
- this.i9l_1 = $subscriber;
788
+ protoOf(_no_name_provided__qut3iv_0).s18 = function (collector, $completion) {
789
+ var tmp = new $collectCOROUTINE$1(this, collector, $completion);
790
+ tmp.l9_1 = Unit_instance;
791
+ tmp.m9_1 = null;
792
+ return tmp.r9();
793
+ };
794
+ protoOf(_no_name_provided__qut3iv_0).o17 = function (collector, $completion) {
795
+ return this.s18(collector, $completion);
796
+ };
797
+ function GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation) {
798
+ this.g9m_1 = $table;
799
+ this.h9m_1 = this$0;
702
800
  CoroutineImpl.call(this, resultContinuation);
703
801
  }
704
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).k9l = function (it, $completion) {
705
- var tmp = this.l9l(it, $completion);
802
+ protoOf(GameServer$observeTableStateUpdates$slambda$slambda).j9m = function ($this$flow, $completion) {
803
+ var tmp = this.k9m($this$flow, $completion);
706
804
  tmp.l9_1 = Unit_instance;
707
805
  tmp.m9_1 = null;
708
806
  return tmp.r9();
709
807
  };
710
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).ba = function (p1, $completion) {
711
- return this.k9l((!(p1 == null) ? isInterface(p1, ServerStateUpdate) : false) ? p1 : THROW_CCE(), $completion);
808
+ protoOf(GameServer$observeTableStateUpdates$slambda$slambda).ba = function (p1, $completion) {
809
+ return this.j9m((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
712
810
  };
713
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).r9 = function () {
811
+ protoOf(GameServer$observeTableStateUpdates$slambda$slambda).r9 = function () {
714
812
  var suspendResult = this.l9_1;
715
813
  $sm: do
716
814
  try {
717
815
  var tmp = this.j9_1;
718
- if (tmp === 0) {
719
- this.k9_1 = 1;
720
- this.i9l_1(this.j9l_1);
721
- return Unit_instance;
722
- } else if (tmp === 1) {
723
- throw this.m9_1;
816
+ switch (tmp) {
817
+ case 0:
818
+ this.k9_1 = 3;
819
+ this.j9_1 = 1;
820
+ suspendResult = this.i9m_1.r18(new TableStateUpdate(this.g9m_1), this);
821
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
822
+ return suspendResult;
823
+ }
824
+
825
+ continue $sm;
826
+ case 1:
827
+ this.j9_1 = 2;
828
+ var this_0 = windowedByInterval(_get_fromClientEventsObserver__a7vzd3(this.h9m_1).c8n(), toLong(_get_serverReduxConfig__rprcrm(this.h9m_1).serverStateUpdateIntervalMillis));
829
+ suspendResult = emitAll(this.i9m_1, new _no_name_provided__qut3iv_0(this_0), this);
830
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
831
+ return suspendResult;
832
+ }
833
+
834
+ continue $sm;
835
+ case 2:
836
+ return Unit_instance;
837
+ case 3:
838
+ throw this.m9_1;
724
839
  }
725
840
  } catch ($p) {
726
841
  var e = $p;
727
- throw e;
842
+ if (this.k9_1 === 3) {
843
+ throw e;
844
+ } else {
845
+ this.j9_1 = this.k9_1;
846
+ this.m9_1 = e;
847
+ }
728
848
  }
729
849
  while (true);
730
850
  };
731
- protoOf(GameServer$subscribeServerStateUpdate$slambda$slambda_1).l9l = function (it, completion) {
732
- var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1(this.i9l_1, completion);
733
- i.j9l_1 = it;
851
+ protoOf(GameServer$observeTableStateUpdates$slambda$slambda).k9m = function ($this$flow, completion) {
852
+ var i = new GameServer$observeTableStateUpdates$slambda$slambda(this.g9m_1, this.h9m_1, completion);
853
+ i.i9m_1 = $this$flow;
734
854
  return i;
735
855
  };
736
- function GameServer$subscribeServerStateUpdate$slambda$slambda_2($subscriber, resultContinuation) {
737
- var i = new GameServer$subscribeServerStateUpdate$slambda$slambda_1($subscriber, resultContinuation);
738
- var l = function (it, $completion) {
739
- return i.k9l(it, $completion);
856
+ function GameServer$observeTableStateUpdates$slambda$slambda_0($table, this$0, resultContinuation) {
857
+ var i = new GameServer$observeTableStateUpdates$slambda$slambda($table, this$0, resultContinuation);
858
+ var l = function ($this$flow, $completion) {
859
+ return i.j9m($this$flow, $completion);
740
860
  };
741
861
  l.$arity = 1;
742
862
  return l;
743
863
  }
744
864
  function GameServer$observeTableWhenRoundChanges$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
745
- this.u9l_1 = $$this$unsafeFlow;
865
+ this.t9m_1 = $$this$unsafeFlow;
746
866
  CoroutineImpl.call(this, resultContinuation);
747
867
  }
748
868
  protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).k1i = function (value, $completion) {
@@ -766,35 +886,33 @@
766
886
  continue $sm;
767
887
  case 1:
768
888
  var tmp_0 = this;
769
- tmp_0.x9l_1 = this.u9l_1;
889
+ tmp_0.w9m_1 = this.t9m_1;
770
890
  var tmp_1 = this;
771
- tmp_1.y9l_1 = this.v9l_1;
891
+ tmp_1.x9m_1 = this.u9m_1;
772
892
  var tmp_2 = this;
773
- var tmp0_safe_receiver = this.y9l_1.b6r_1;
774
- var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.gameInfo;
775
- tmp_2.z9l_1 = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.roundNumberTotal;
776
- if (this.z9l_1 == null) {
777
- this.w9l_1 = Unit_instance;
893
+ tmp_2.y9m_1 = this.x9m_1.b6r_1;
894
+ if (this.y9m_1 == null) {
895
+ this.v9m_1 = Unit_instance;
778
896
  this.j9_1 = 4;
779
897
  var tmp_3 = this;
780
898
  continue $sm;
781
899
  } else {
782
- this.a9m_1 = this.z9l_1;
900
+ this.z9m_1 = this.y9m_1;
783
901
  this.j9_1 = 2;
784
902
  continue $sm;
785
903
  }
786
904
 
787
905
  case 2:
788
- this.b9m_1 = this.a9m_1;
906
+ this.a9n_1 = this.z9m_1;
789
907
  this.j9_1 = 3;
790
- suspendResult = this.x9l_1.r18(this.b9m_1, this);
908
+ suspendResult = this.w9m_1.r18(this.a9n_1, this);
791
909
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
792
910
  return suspendResult;
793
911
  }
794
912
 
795
913
  continue $sm;
796
914
  case 3:
797
- this.w9l_1 = suspendResult;
915
+ this.v9m_1 = suspendResult;
798
916
  if (false) {
799
917
  this.j9_1 = 1;
800
918
  continue $sm;
@@ -819,8 +937,8 @@
819
937
  while (true);
820
938
  };
821
939
  protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda).l1i = function (value, completion) {
822
- var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.u9l_1, completion);
823
- i.v9l_1 = value;
940
+ var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda(this.t9m_1, completion);
941
+ i.u9m_1 = value;
824
942
  return i;
825
943
  };
826
944
  function GameServer$observeTableWhenRoundChanges$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
@@ -831,12 +949,12 @@
831
949
  l.$arity = 1;
832
950
  return l;
833
951
  }
834
- function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
952
+ function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
835
953
  CoroutineImpl.call(this, resultContinuation);
836
- this.k9m_1 = _this__u8e3s4;
837
- this.l9m_1 = collector;
954
+ this.j9n_1 = _this__u8e3s4;
955
+ this.k9n_1 = collector;
838
956
  }
839
- protoOf($collectCOROUTINE$1).r9 = function () {
957
+ protoOf($collectCOROUTINE$2).r9 = function () {
840
958
  var suspendResult = this.l9_1;
841
959
  $sm: do
842
960
  try {
@@ -845,10 +963,10 @@
845
963
  case 0:
846
964
  this.k9_1 = 2;
847
965
  var tmp_0 = this;
848
- tmp_0.m9m_1 = this.l9m_1;
966
+ tmp_0.l9n_1 = this.k9n_1;
849
967
  this.j9_1 = 1;
850
- var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.m9m_1, null);
851
- suspendResult = this.k9m_1.n9m_1.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
968
+ var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_0(this.l9n_1, null);
969
+ suspendResult = this.j9n_1.m9n_1.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
852
970
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
853
971
  return suspendResult;
854
972
  }
@@ -870,73 +988,47 @@
870
988
  }
871
989
  while (true);
872
990
  };
873
- function GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation) {
874
- this.w9m_1 = $$this$unsafeFlow;
991
+ function GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation) {
992
+ this.v9n_1 = $$this$unsafeFlow;
875
993
  CoroutineImpl.call(this, resultContinuation);
876
994
  }
877
- protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).k1i = function (value, $completion) {
995
+ protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).k1i = function (value, $completion) {
878
996
  var tmp = this.l1i(value, $completion);
879
997
  tmp.l9_1 = Unit_instance;
880
998
  tmp.m9_1 = null;
881
999
  return tmp.r9();
882
1000
  };
883
- protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).ba = function (p1, $completion) {
1001
+ protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).ba = function (p1, $completion) {
884
1002
  return this.k1i((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
885
1003
  };
886
- protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).r9 = function () {
1004
+ protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).r9 = function () {
887
1005
  var suspendResult = this.l9_1;
888
1006
  $sm: do
889
1007
  try {
890
1008
  var tmp = this.j9_1;
891
1009
  switch (tmp) {
892
1010
  case 0:
893
- this.k9_1 = 5;
894
- this.j9_1 = 1;
895
- continue $sm;
896
- case 1:
1011
+ this.k9_1 = 2;
897
1012
  var tmp_0 = this;
898
- tmp_0.z9m_1 = this.w9m_1;
1013
+ tmp_0.x9n_1 = this.v9n_1;
899
1014
  var tmp_1 = this;
900
- tmp_1.a9n_1 = this.x9m_1;
901
- var tmp_2 = this;
902
- tmp_2.b9n_1 = this.a9n_1.b6r_1;
903
- if (this.b9n_1 == null) {
904
- this.y9m_1 = Unit_instance;
905
- this.j9_1 = 4;
906
- var tmp_3 = this;
907
- continue $sm;
908
- } else {
909
- this.c9n_1 = this.b9n_1;
910
- this.j9_1 = 2;
911
- continue $sm;
912
- }
913
-
914
- case 2:
915
- this.d9n_1 = this.c9n_1;
916
- this.j9_1 = 3;
917
- suspendResult = this.z9m_1.r18(this.d9n_1, this);
1015
+ tmp_1.y9n_1 = this.w9n_1;
1016
+ this.j9_1 = 1;
1017
+ var table = this.y9n_1;
1018
+ suspendResult = this.x9n_1.r18(to(table.gameInfo.roundNumberTotal, table), this);
918
1019
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
919
1020
  return suspendResult;
920
1021
  }
921
1022
 
922
1023
  continue $sm;
923
- case 3:
924
- this.y9m_1 = suspendResult;
925
- if (false) {
926
- this.j9_1 = 1;
927
- continue $sm;
928
- }
929
-
930
- this.j9_1 = 4;
931
- continue $sm;
932
- case 4:
1024
+ case 1:
933
1025
  return Unit_instance;
934
- case 5:
1026
+ case 2:
935
1027
  throw this.m9_1;
936
1028
  }
937
1029
  } catch ($p) {
938
1030
  var e = $p;
939
- if (this.k9_1 === 5) {
1031
+ if (this.k9_1 === 2) {
940
1032
  throw e;
941
1033
  } else {
942
1034
  this.j9_1 = this.k9_1;
@@ -945,25 +1037,25 @@
945
1037
  }
946
1038
  while (true);
947
1039
  };
948
- protoOf(GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda).l1i = function (value, completion) {
949
- var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda(this.w9m_1, completion);
950
- i.x9m_1 = value;
1040
+ protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_1).l1i = function (value, completion) {
1041
+ var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1(this.v9n_1, completion);
1042
+ i.w9n_1 = value;
951
1043
  return i;
952
1044
  };
953
- function GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0($$this$unsafeFlow, resultContinuation) {
954
- var i = new GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda($$this$unsafeFlow, resultContinuation);
1045
+ function GameServer$observeTableWhenRoundChanges$o$collect$slambda_2($$this$unsafeFlow, resultContinuation) {
1046
+ var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_1($$this$unsafeFlow, resultContinuation);
955
1047
  var l = function (value, $completion) {
956
1048
  return i.k1i(value, $completion);
957
1049
  };
958
1050
  l.$arity = 1;
959
1051
  return l;
960
1052
  }
961
- function $collectCOROUTINE$2(_this__u8e3s4, collector, resultContinuation) {
1053
+ function $collectCOROUTINE$3(_this__u8e3s4, collector, resultContinuation) {
962
1054
  CoroutineImpl.call(this, resultContinuation);
963
- this.m9n_1 = _this__u8e3s4;
964
- this.n9n_1 = collector;
1055
+ this.h9o_1 = _this__u8e3s4;
1056
+ this.i9o_1 = collector;
965
1057
  }
966
- protoOf($collectCOROUTINE$2).r9 = function () {
1058
+ protoOf($collectCOROUTINE$3).r9 = function () {
967
1059
  var suspendResult = this.l9_1;
968
1060
  $sm: do
969
1061
  try {
@@ -972,10 +1064,10 @@
972
1064
  case 0:
973
1065
  this.k9_1 = 2;
974
1066
  var tmp_0 = this;
975
- tmp_0.o9n_1 = this.n9n_1;
1067
+ tmp_0.j9o_1 = this.i9o_1;
976
1068
  this.j9_1 = 1;
977
- var tmp_1 = GameServer$observeTableWhenRoundChanges$slambda$o$collect$slambda_0(this.o9n_1, null);
978
- suspendResult = this.m9n_1.p9n_1.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
1069
+ var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_2(this.j9o_1, null);
1070
+ suspendResult = this.h9o_1.k9o_1.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
979
1071
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
980
1072
  return suspendResult;
981
1073
  }
@@ -997,30 +1089,119 @@
997
1089
  }
998
1090
  while (true);
999
1091
  };
1000
- function _no_name_provided__qut3iv_0($this) {
1001
- this.p9n_1 = $this;
1092
+ function GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation) {
1093
+ this.t9o_1 = $$this$unsafeFlow;
1094
+ CoroutineImpl.call(this, resultContinuation);
1002
1095
  }
1003
- protoOf(_no_name_provided__qut3iv_0).s18 = function (collector, $completion) {
1004
- var tmp = new $collectCOROUTINE$2(this, collector, $completion);
1096
+ protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).k1i = function (value, $completion) {
1097
+ var tmp = this.l1i(value, $completion);
1005
1098
  tmp.l9_1 = Unit_instance;
1006
1099
  tmp.m9_1 = null;
1007
1100
  return tmp.r9();
1008
1101
  };
1009
- protoOf(_no_name_provided__qut3iv_0).o17 = function (collector, $completion) {
1010
- return this.s18(collector, $completion);
1102
+ protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).ba = function (p1, $completion) {
1103
+ return this.k1i((p1 == null ? true : !(p1 == null)) ? p1 : THROW_CCE(), $completion);
1104
+ };
1105
+ protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).r9 = function () {
1106
+ var suspendResult = this.l9_1;
1107
+ $sm: do
1108
+ try {
1109
+ var tmp = this.j9_1;
1110
+ switch (tmp) {
1111
+ case 0:
1112
+ this.k9_1 = 2;
1113
+ var tmp_0 = this;
1114
+ tmp_0.v9o_1 = this.t9o_1;
1115
+ var tmp_1 = this;
1116
+ tmp_1.w9o_1 = this.u9o_1;
1117
+ this.j9_1 = 1;
1118
+ var it = this.w9o_1;
1119
+ suspendResult = this.v9o_1.r18(it.te_1, this);
1120
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1121
+ return suspendResult;
1122
+ }
1123
+
1124
+ continue $sm;
1125
+ case 1:
1126
+ return Unit_instance;
1127
+ case 2:
1128
+ throw this.m9_1;
1129
+ }
1130
+ } catch ($p) {
1131
+ var e = $p;
1132
+ if (this.k9_1 === 2) {
1133
+ throw e;
1134
+ } else {
1135
+ this.j9_1 = this.k9_1;
1136
+ this.m9_1 = e;
1137
+ }
1138
+ }
1139
+ while (true);
1140
+ };
1141
+ protoOf(GameServer$observeTableWhenRoundChanges$o$collect$slambda_3).l1i = function (value, completion) {
1142
+ var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3(this.t9o_1, completion);
1143
+ i.u9o_1 = value;
1144
+ return i;
1145
+ };
1146
+ function GameServer$observeTableWhenRoundChanges$o$collect$slambda_4($$this$unsafeFlow, resultContinuation) {
1147
+ var i = new GameServer$observeTableWhenRoundChanges$o$collect$slambda_3($$this$unsafeFlow, resultContinuation);
1148
+ var l = function (value, $completion) {
1149
+ return i.k1i(value, $completion);
1150
+ };
1151
+ l.$arity = 1;
1152
+ return l;
1153
+ }
1154
+ function $collectCOROUTINE$4(_this__u8e3s4, collector, resultContinuation) {
1155
+ CoroutineImpl.call(this, resultContinuation);
1156
+ this.f9p_1 = _this__u8e3s4;
1157
+ this.g9p_1 = collector;
1158
+ }
1159
+ protoOf($collectCOROUTINE$4).r9 = function () {
1160
+ var suspendResult = this.l9_1;
1161
+ $sm: do
1162
+ try {
1163
+ var tmp = this.j9_1;
1164
+ switch (tmp) {
1165
+ case 0:
1166
+ this.k9_1 = 2;
1167
+ var tmp_0 = this;
1168
+ tmp_0.h9p_1 = this.g9p_1;
1169
+ this.j9_1 = 1;
1170
+ var tmp_1 = GameServer$observeTableWhenRoundChanges$o$collect$slambda_4(this.h9p_1, null);
1171
+ suspendResult = this.f9p_1.i9p_1.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_1), this);
1172
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1173
+ return suspendResult;
1174
+ }
1175
+
1176
+ continue $sm;
1177
+ case 1:
1178
+ return Unit_instance;
1179
+ case 2:
1180
+ throw this.m9_1;
1181
+ }
1182
+ } catch ($p) {
1183
+ var e = $p;
1184
+ if (this.k9_1 === 2) {
1185
+ throw e;
1186
+ } else {
1187
+ this.j9_1 = this.k9_1;
1188
+ this.m9_1 = e;
1189
+ }
1190
+ }
1191
+ while (true);
1011
1192
  };
1012
1193
  function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
1013
- this.y9n_1 = $subscriber;
1194
+ this.r9p_1 = $subscriber;
1014
1195
  CoroutineImpl.call(this, resultContinuation);
1015
1196
  }
1016
- protoOf(GameServer$subscribeWith$slambda$slambda).a9o = function (it, $completion) {
1017
- var tmp = this.b9o(it, $completion);
1197
+ protoOf(GameServer$subscribeWith$slambda$slambda).t9p = function (it, $completion) {
1198
+ var tmp = this.u9p(it, $completion);
1018
1199
  tmp.l9_1 = Unit_instance;
1019
1200
  tmp.m9_1 = null;
1020
1201
  return tmp.r9();
1021
1202
  };
1022
1203
  protoOf(GameServer$subscribeWith$slambda$slambda).ba = function (p1, $completion) {
1023
- return this.a9o(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
1204
+ return this.t9p(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
1024
1205
  };
1025
1206
  protoOf(GameServer$subscribeWith$slambda$slambda).r9 = function () {
1026
1207
  var suspendResult = this.l9_1;
@@ -1029,7 +1210,7 @@
1029
1210
  var tmp = this.j9_1;
1030
1211
  if (tmp === 0) {
1031
1212
  this.k9_1 = 1;
1032
- this.y9n_1(this.z9n_1);
1213
+ this.r9p_1(this.s9p_1);
1033
1214
  return Unit_instance;
1034
1215
  } else if (tmp === 1) {
1035
1216
  throw this.m9_1;
@@ -1040,97 +1221,114 @@
1040
1221
  }
1041
1222
  while (true);
1042
1223
  };
1043
- protoOf(GameServer$subscribeWith$slambda$slambda).b9o = function (it, completion) {
1044
- var i = new GameServer$subscribeWith$slambda$slambda(this.y9n_1, completion);
1045
- i.z9n_1 = it;
1224
+ protoOf(GameServer$subscribeWith$slambda$slambda).u9p = function (it, completion) {
1225
+ var i = new GameServer$subscribeWith$slambda$slambda(this.r9p_1, completion);
1226
+ i.s9p_1 = it;
1046
1227
  return i;
1047
1228
  };
1048
1229
  function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
1049
1230
  var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
1050
1231
  var l = function (it, $completion) {
1051
- return i.a9o(it, $completion);
1232
+ return i.t9p(it, $completion);
1052
1233
  };
1053
1234
  l.$arity = 1;
1054
1235
  return l;
1055
1236
  }
1056
1237
  function GameServer$roomOnCreate$1$updatedUsers$previousTeams$1($playerId) {
1057
- this.c9o_1 = $playerId;
1238
+ this.v9p_1 = $playerId;
1058
1239
  }
1059
1240
  protoOf(GameServer$roomOnCreate$1$updatedUsers$previousTeams$1).w6a = function () {
1060
- return this.c9o_1;
1241
+ return this.v9p_1;
1061
1242
  };
1062
1243
  function _get_logger__rkp4sl($this) {
1063
1244
  // Inline function 'kotlin.getValue' call
1064
- var this_0 = $this.f9o_1;
1245
+ var this_0 = $this.y9p_1;
1065
1246
  logger$factory_0();
1066
1247
  return this_0.u();
1067
1248
  }
1068
1249
  function _get_toClientEventsObserver__6rp51y($this) {
1069
1250
  // Inline function 'kotlin.getValue' call
1070
- var this_0 = $this.g9o_1;
1251
+ var this_0 = $this.z9p_1;
1071
1252
  toClientEventsObserver$factory_0();
1072
1253
  return this_0.u();
1073
1254
  }
1074
1255
  function _get_fromClientEventsObserver__a7vzd3($this) {
1075
1256
  // Inline function 'kotlin.getValue' call
1076
- var this_0 = $this.h9o_1;
1257
+ var this_0 = $this.a9q_1;
1077
1258
  fromClientEventsObserver$factory_0();
1078
1259
  return this_0.u();
1079
1260
  }
1080
1261
  function _get_playerConnectionInteractor__si6cxf($this) {
1081
1262
  // Inline function 'kotlin.getValue' call
1082
- var this_0 = $this.i9o_1;
1263
+ var this_0 = $this.b9q_1;
1083
1264
  playerConnectionInteractor$factory_0();
1084
1265
  return this_0.u();
1085
1266
  }
1086
1267
  function _get_teamsLogicProvider__u10pm6($this) {
1087
1268
  // Inline function 'kotlin.getValue' call
1088
- var this_0 = $this.j9o_1;
1269
+ var this_0 = $this.c9q_1;
1089
1270
  teamsLogicProvider$factory_0();
1090
1271
  return this_0.u();
1091
1272
  }
1092
- function _get_encoderDecoderProvider__qqgrji($this) {
1093
- // Inline function 'kotlin.getValue' call
1094
- var this_0 = $this.k9o_1;
1095
- encoderDecoderProvider$factory_0();
1096
- return this_0.u();
1097
- }
1098
1273
  function _get_random__h29cgo($this) {
1099
1274
  // Inline function 'kotlin.getValue' call
1100
- var this_0 = $this.l9o_1;
1275
+ var this_0 = $this.d9q_1;
1101
1276
  random$factory();
1102
1277
  return this_0.u();
1103
1278
  }
1104
1279
  function _get_idsProvider__fnfajc($this) {
1105
1280
  // Inline function 'kotlin.getValue' call
1106
- var this_0 = $this.m9o_1;
1281
+ var this_0 = $this.e9q_1;
1107
1282
  idsProvider$factory_0();
1108
1283
  return this_0.u();
1109
1284
  }
1110
- function observeTableWhenRoundChanges($this, observeState) {
1285
+ function _get_serverReduxConfig__rprcrm($this) {
1286
+ // Inline function 'kotlin.getValue' call
1287
+ var this_0 = $this.f9q_1;
1288
+ serverReduxConfig$factory_0();
1289
+ return this_0.u();
1290
+ }
1291
+ function _get_encoderDecoderProvider__qqgrji($this) {
1292
+ // Inline function 'kotlin.getValue' call
1293
+ var this_0 = $this.g9q_1;
1294
+ encoderDecoderProvider$factory_0();
1295
+ return this_0.u();
1296
+ }
1297
+ function observeTableStateUpdates($this) {
1111
1298
  // Inline function 'kotlinx.coroutines.flow.flatMapLatest' call
1299
+ var this_0 = observeTableWhenRoundChanges($this, $this.a6r());
1300
+ return transformLatest(this_0, GameServer$observeTableStateUpdates$slambda_0($this, null));
1301
+ }
1302
+ function observeTableWhenRoundChanges($this, observeState) {
1303
+ // Inline function 'kotlinx.coroutines.flow.map' call
1304
+ // Inline function 'kotlinx.coroutines.flow.map' call
1112
1305
  // Inline function 'kotlinx.coroutines.flow.mapNotNull' call
1113
1306
  // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
1114
1307
  // Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
1115
- var tmp$ret$2 = new _no_name_provided__qut3iv_1(observeState);
1116
- var this_0 = distinctUntilChanged(tmp$ret$2);
1117
- return transformLatest(this_0, GameServer$observeTableWhenRoundChanges$slambda_0(observeState, null));
1308
+ // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
1309
+ var this_0 = new _no_name_provided__qut3iv_1(observeState);
1310
+ // Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
1311
+ var tmp = new _no_name_provided__qut3iv_2(this_0);
1312
+ // Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
1313
+ var this_1 = distinctUntilChanged(tmp, GameServer$observeTableWhenRoundChanges$lambda);
1314
+ // Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
1315
+ return new _no_name_provided__qut3iv_3(this_1);
1118
1316
  }
1119
1317
  function Companion() {
1120
- this.o9o_1 = 'GameEngine_API';
1318
+ this.i9q_1 = 'GameEngine_API';
1121
1319
  }
1122
1320
  var Companion_instance_7;
1123
1321
  function Companion_getInstance_0() {
1124
1322
  return Companion_instance_7;
1125
1323
  }
1126
1324
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
1127
- this.p9o_1 = function_0;
1325
+ this.j9q_1 = function_0;
1128
1326
  }
1129
1327
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).r18 = function (value, $completion) {
1130
- return this.p9o_1(value, $completion);
1328
+ return this.j9q_1(value, $completion);
1131
1329
  };
1132
1330
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).t3 = function () {
1133
- return this.p9o_1;
1331
+ return this.j9q_1;
1134
1332
  };
1135
1333
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
1136
1334
  var tmp;
@@ -1151,13 +1349,13 @@
1151
1349
  return hashCode(this.t3());
1152
1350
  };
1153
1351
  function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
1154
- this.q9o_1 = function_0;
1352
+ this.k9q_1 = function_0;
1155
1353
  }
1156
1354
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).r18 = function (value, $completion) {
1157
- return this.q9o_1(value, $completion);
1355
+ return this.k9q_1(value, $completion);
1158
1356
  };
1159
1357
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).t3 = function () {
1160
- return this.q9o_1;
1358
+ return this.k9q_1;
1161
1359
  };
1162
1360
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
1163
1361
  var tmp;
@@ -1178,13 +1376,13 @@
1178
1376
  return hashCode(this.t3());
1179
1377
  };
1180
1378
  function sam$kotlinx_coroutines_flow_FlowCollector$0_1(function_0) {
1181
- this.r9o_1 = function_0;
1379
+ this.l9q_1 = function_0;
1182
1380
  }
1183
1381
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).r18 = function (value, $completion) {
1184
- return this.r9o_1(value, $completion);
1382
+ return this.l9q_1(value, $completion);
1185
1383
  };
1186
1384
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).t3 = function () {
1187
- return this.r9o_1;
1385
+ return this.l9q_1;
1188
1386
  };
1189
1387
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_1).equals = function (other) {
1190
1388
  var tmp;
@@ -1205,13 +1403,13 @@
1205
1403
  return hashCode(this.t3());
1206
1404
  };
1207
1405
  function sam$kotlinx_coroutines_flow_FlowCollector$0_2(function_0) {
1208
- this.s9o_1 = function_0;
1406
+ this.m9q_1 = function_0;
1209
1407
  }
1210
1408
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).r18 = function (value, $completion) {
1211
- return this.s9o_1(value, $completion);
1409
+ return this.m9q_1(value, $completion);
1212
1410
  };
1213
1411
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).t3 = function () {
1214
- return this.s9o_1;
1412
+ return this.m9q_1;
1215
1413
  };
1216
1414
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).equals = function (other) {
1217
1415
  var tmp;
@@ -1231,14 +1429,68 @@
1231
1429
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_2).hashCode = function () {
1232
1430
  return hashCode(this.t3());
1233
1431
  };
1432
+ function sam$kotlinx_coroutines_flow_FlowCollector$0_3(function_0) {
1433
+ this.n9q_1 = function_0;
1434
+ }
1435
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).r18 = function (value, $completion) {
1436
+ return this.n9q_1(value, $completion);
1437
+ };
1438
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).t3 = function () {
1439
+ return this.n9q_1;
1440
+ };
1441
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).equals = function (other) {
1442
+ var tmp;
1443
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1444
+ var tmp_0;
1445
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1446
+ tmp_0 = equals(this.t3(), other.t3());
1447
+ } else {
1448
+ tmp_0 = false;
1449
+ }
1450
+ tmp = tmp_0;
1451
+ } else {
1452
+ tmp = false;
1453
+ }
1454
+ return tmp;
1455
+ };
1456
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_3).hashCode = function () {
1457
+ return hashCode(this.t3());
1458
+ };
1459
+ function sam$kotlinx_coroutines_flow_FlowCollector$0_4(function_0) {
1460
+ this.o9q_1 = function_0;
1461
+ }
1462
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).r18 = function (value, $completion) {
1463
+ return this.o9q_1(value, $completion);
1464
+ };
1465
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).t3 = function () {
1466
+ return this.o9q_1;
1467
+ };
1468
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).equals = function (other) {
1469
+ var tmp;
1470
+ if (!(other == null) ? isInterface(other, FlowCollector) : false) {
1471
+ var tmp_0;
1472
+ if (!(other == null) ? isInterface(other, FunctionAdapter) : false) {
1473
+ tmp_0 = equals(this.t3(), other.t3());
1474
+ } else {
1475
+ tmp_0 = false;
1476
+ }
1477
+ tmp = tmp_0;
1478
+ } else {
1479
+ tmp = false;
1480
+ }
1481
+ return tmp;
1482
+ };
1483
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_4).hashCode = function () {
1484
+ return hashCode(this.t3());
1485
+ };
1234
1486
  function GameServer$random$delegate$lambda(this$0) {
1235
1487
  return function () {
1236
1488
  return new SecureRandom(_get_logger__rkp4sl(this$0));
1237
1489
  };
1238
1490
  }
1239
1491
  function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
1240
- this.b9p_1 = this$0;
1241
- this.c9p_1 = $subscriber;
1492
+ this.x9q_1 = this$0;
1493
+ this.y9q_1 = $subscriber;
1242
1494
  CoroutineImpl.call(this, resultContinuation);
1243
1495
  }
1244
1496
  protoOf(GameServer$subscribeToClientAction$slambda).m1e = function ($this$launchDefault, $completion) {
@@ -1259,8 +1511,8 @@
1259
1511
  case 0:
1260
1512
  this.k9_1 = 2;
1261
1513
  this.j9_1 = 1;
1262
- var tmp_0 = _get_toClientEventsObserver__6rp51y(this.b9p_1).e9p();
1263
- var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.c9p_1, null);
1514
+ var tmp_0 = _get_toClientEventsObserver__6rp51y(this.x9q_1).a9r();
1515
+ var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.y9q_1, null);
1264
1516
  suspendResult = tmp_0.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
1265
1517
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1266
1518
  return suspendResult;
@@ -1284,8 +1536,8 @@
1284
1536
  while (true);
1285
1537
  };
1286
1538
  protoOf(GameServer$subscribeToClientAction$slambda).n1e = function ($this$launchDefault, completion) {
1287
- var i = new GameServer$subscribeToClientAction$slambda(this.b9p_1, this.c9p_1, completion);
1288
- i.d9p_1 = $this$launchDefault;
1539
+ var i = new GameServer$subscribeToClientAction$slambda(this.x9q_1, this.y9q_1, completion);
1540
+ i.z9q_1 = $this$launchDefault;
1289
1541
  return i;
1290
1542
  };
1291
1543
  function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -1297,8 +1549,8 @@
1297
1549
  return l;
1298
1550
  }
1299
1551
  function GameServer$subscribeServerStateUpdate$slambda(this$0, $subscriber, resultContinuation) {
1300
- this.n9p_1 = this$0;
1301
- this.o9p_1 = $subscriber;
1552
+ this.j9r_1 = this$0;
1553
+ this.k9r_1 = $subscriber;
1302
1554
  CoroutineImpl.call(this, resultContinuation);
1303
1555
  }
1304
1556
  protoOf(GameServer$subscribeServerStateUpdate$slambda).m1e = function ($this$launchDefault, $completion) {
@@ -1319,9 +1571,8 @@
1319
1571
  case 0:
1320
1572
  this.k9_1 = 2;
1321
1573
  this.j9_1 = 1;
1322
- var this_0 = observeTableWhenRoundChanges(this.n9p_1, this.n9p_1.a6r());
1323
- var tmp_0 = transformLatest(this_0, GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.n9p_1, null));
1324
- var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_2(this.o9p_1, null);
1574
+ var tmp_0 = observeTableStateUpdates(this.j9r_1);
1575
+ var tmp_1 = GameServer$subscribeServerStateUpdate$slambda$slambda_0(this.k9r_1, null);
1325
1576
  suspendResult = tmp_0.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
1326
1577
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1327
1578
  return suspendResult;
@@ -1345,8 +1596,8 @@
1345
1596
  while (true);
1346
1597
  };
1347
1598
  protoOf(GameServer$subscribeServerStateUpdate$slambda).n1e = function ($this$launchDefault, completion) {
1348
- var i = new GameServer$subscribeServerStateUpdate$slambda(this.n9p_1, this.o9p_1, completion);
1349
- i.p9p_1 = $this$launchDefault;
1599
+ var i = new GameServer$subscribeServerStateUpdate$slambda(this.j9r_1, this.k9r_1, completion);
1600
+ i.l9r_1 = $this$launchDefault;
1350
1601
  return i;
1351
1602
  };
1352
1603
  function GameServer$subscribeServerStateUpdate$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -1357,33 +1608,82 @@
1357
1608
  l.$arity = 1;
1358
1609
  return l;
1359
1610
  }
1360
- function _no_name_provided__qut3iv_1($this) {
1361
- this.n9m_1 = $this;
1611
+ function GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation) {
1612
+ this.u9r_1 = this$0;
1613
+ this.v9r_1 = $subscriber;
1614
+ CoroutineImpl.call(this, resultContinuation);
1362
1615
  }
1363
- protoOf(_no_name_provided__qut3iv_1).s18 = function (collector, $completion) {
1364
- var tmp = new $collectCOROUTINE$1(this, collector, $completion);
1616
+ protoOf(GameServer$subscribeServerStateUpdateJson$slambda).m1e = function ($this$launchDefault, $completion) {
1617
+ var tmp = this.n1e($this$launchDefault, $completion);
1365
1618
  tmp.l9_1 = Unit_instance;
1366
1619
  tmp.m9_1 = null;
1367
1620
  return tmp.r9();
1368
1621
  };
1369
- protoOf(_no_name_provided__qut3iv_1).o17 = function (collector, $completion) {
1370
- return this.s18(collector, $completion);
1622
+ protoOf(GameServer$subscribeServerStateUpdateJson$slambda).ba = function (p1, $completion) {
1623
+ return this.m1e((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
1624
+ };
1625
+ protoOf(GameServer$subscribeServerStateUpdateJson$slambda).r9 = function () {
1626
+ var suspendResult = this.l9_1;
1627
+ $sm: do
1628
+ try {
1629
+ var tmp = this.j9_1;
1630
+ switch (tmp) {
1631
+ case 0:
1632
+ this.k9_1 = 2;
1633
+ this.j9_1 = 1;
1634
+ var this_0 = observeTableStateUpdates(this.u9r_1);
1635
+ var tmp_0 = new _no_name_provided__qut3iv(this_0, this.u9r_1);
1636
+ var tmp_1 = GameServer$subscribeServerStateUpdateJson$slambda$slambda_0(this.v9r_1, null);
1637
+ suspendResult = tmp_0.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0_1(tmp_1), this);
1638
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1639
+ return suspendResult;
1640
+ }
1641
+
1642
+ continue $sm;
1643
+ case 1:
1644
+ return Unit_instance;
1645
+ case 2:
1646
+ throw this.m9_1;
1647
+ }
1648
+ } catch ($p) {
1649
+ var e = $p;
1650
+ if (this.k9_1 === 2) {
1651
+ throw e;
1652
+ } else {
1653
+ this.j9_1 = this.k9_1;
1654
+ this.m9_1 = e;
1655
+ }
1656
+ }
1657
+ while (true);
1658
+ };
1659
+ protoOf(GameServer$subscribeServerStateUpdateJson$slambda).n1e = function ($this$launchDefault, completion) {
1660
+ var i = new GameServer$subscribeServerStateUpdateJson$slambda(this.u9r_1, this.v9r_1, completion);
1661
+ i.w9r_1 = $this$launchDefault;
1662
+ return i;
1371
1663
  };
1372
- function GameServer$observeTableWhenRoundChanges$slambda($observeState, resultContinuation) {
1373
- this.y9p_1 = $observeState;
1664
+ function GameServer$subscribeServerStateUpdateJson$slambda_0(this$0, $subscriber, resultContinuation) {
1665
+ var i = new GameServer$subscribeServerStateUpdateJson$slambda(this$0, $subscriber, resultContinuation);
1666
+ var l = function ($this$launchDefault, $completion) {
1667
+ return i.m1e($this$launchDefault, $completion);
1668
+ };
1669
+ l.$arity = 1;
1670
+ return l;
1671
+ }
1672
+ function GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation) {
1673
+ this.f9s_1 = this$0;
1374
1674
  CoroutineImpl.call(this, resultContinuation);
1375
1675
  }
1376
- protoOf(GameServer$observeTableWhenRoundChanges$slambda).y9k = function ($this$transformLatest, it, $completion) {
1377
- var tmp = this.z9k($this$transformLatest, it, $completion);
1676
+ protoOf(GameServer$observeTableStateUpdates$slambda).i9s = function ($this$transformLatest, it, $completion) {
1677
+ var tmp = this.j9s($this$transformLatest, it, $completion);
1378
1678
  tmp.l9_1 = Unit_instance;
1379
1679
  tmp.m9_1 = null;
1380
1680
  return tmp.r9();
1381
1681
  };
1382
- protoOf(GameServer$observeTableWhenRoundChanges$slambda).ca = function (p1, p2, $completion) {
1682
+ protoOf(GameServer$observeTableStateUpdates$slambda).ca = function (p1, p2, $completion) {
1383
1683
  var tmp = (!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE();
1384
- return this.y9k(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
1684
+ return this.i9s(tmp, (p2 == null ? true : !(p2 == null)) ? p2 : THROW_CCE(), $completion);
1385
1685
  };
1386
- protoOf(GameServer$observeTableWhenRoundChanges$slambda).r9 = function () {
1686
+ protoOf(GameServer$observeTableStateUpdates$slambda).r9 = function () {
1387
1687
  var suspendResult = this.l9_1;
1388
1688
  $sm: do
1389
1689
  try {
@@ -1392,9 +1692,8 @@
1392
1692
  case 0:
1393
1693
  this.k9_1 = 2;
1394
1694
  this.j9_1 = 1;
1395
- this.a9q_1;
1396
- var this_0 = this.y9p_1;
1397
- suspendResult = emitAll(this.z9p_1, new _no_name_provided__qut3iv_0(this_0), this);
1695
+ var table = this.h9s_1;
1696
+ suspendResult = emitAll(this.g9s_1, flow(GameServer$observeTableStateUpdates$slambda$slambda_0(table, this.f9s_1, null)), this);
1398
1697
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1399
1698
  return suspendResult;
1400
1699
  }
@@ -1416,23 +1715,62 @@
1416
1715
  }
1417
1716
  while (true);
1418
1717
  };
1419
- protoOf(GameServer$observeTableWhenRoundChanges$slambda).z9k = function ($this$transformLatest, it, completion) {
1420
- var i = new GameServer$observeTableWhenRoundChanges$slambda(this.y9p_1, completion);
1421
- i.z9p_1 = $this$transformLatest;
1422
- i.a9q_1 = it;
1718
+ protoOf(GameServer$observeTableStateUpdates$slambda).j9s = function ($this$transformLatest, it, completion) {
1719
+ var i = new GameServer$observeTableStateUpdates$slambda(this.f9s_1, completion);
1720
+ i.g9s_1 = $this$transformLatest;
1721
+ i.h9s_1 = it;
1423
1722
  return i;
1424
1723
  };
1425
- function GameServer$observeTableWhenRoundChanges$slambda_0($observeState, resultContinuation) {
1426
- var i = new GameServer$observeTableWhenRoundChanges$slambda($observeState, resultContinuation);
1724
+ function GameServer$observeTableStateUpdates$slambda_0(this$0, resultContinuation) {
1725
+ var i = new GameServer$observeTableStateUpdates$slambda(this$0, resultContinuation);
1427
1726
  var l = function ($this$transformLatest, it, $completion) {
1428
- return i.y9k($this$transformLatest, it, $completion);
1727
+ return i.i9s($this$transformLatest, it, $completion);
1429
1728
  };
1430
1729
  l.$arity = 2;
1431
1730
  return l;
1432
1731
  }
1732
+ function _no_name_provided__qut3iv_1($this) {
1733
+ this.m9n_1 = $this;
1734
+ }
1735
+ protoOf(_no_name_provided__qut3iv_1).s18 = function (collector, $completion) {
1736
+ var tmp = new $collectCOROUTINE$2(this, collector, $completion);
1737
+ tmp.l9_1 = Unit_instance;
1738
+ tmp.m9_1 = null;
1739
+ return tmp.r9();
1740
+ };
1741
+ protoOf(_no_name_provided__qut3iv_1).o17 = function (collector, $completion) {
1742
+ return this.s18(collector, $completion);
1743
+ };
1744
+ function _no_name_provided__qut3iv_2($this) {
1745
+ this.k9o_1 = $this;
1746
+ }
1747
+ protoOf(_no_name_provided__qut3iv_2).s18 = function (collector, $completion) {
1748
+ var tmp = new $collectCOROUTINE$3(this, collector, $completion);
1749
+ tmp.l9_1 = Unit_instance;
1750
+ tmp.m9_1 = null;
1751
+ return tmp.r9();
1752
+ };
1753
+ protoOf(_no_name_provided__qut3iv_2).o17 = function (collector, $completion) {
1754
+ return this.s18(collector, $completion);
1755
+ };
1756
+ function GameServer$observeTableWhenRoundChanges$lambda(old, new_0) {
1757
+ return old.se_1 === new_0.se_1;
1758
+ }
1759
+ function _no_name_provided__qut3iv_3($this) {
1760
+ this.i9p_1 = $this;
1761
+ }
1762
+ protoOf(_no_name_provided__qut3iv_3).s18 = function (collector, $completion) {
1763
+ var tmp = new $collectCOROUTINE$4(this, collector, $completion);
1764
+ tmp.l9_1 = Unit_instance;
1765
+ tmp.m9_1 = null;
1766
+ return tmp.r9();
1767
+ };
1768
+ protoOf(_no_name_provided__qut3iv_3).o17 = function (collector, $completion) {
1769
+ return this.s18(collector, $completion);
1770
+ };
1433
1771
  function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
1434
- this.j9q_1 = this$0;
1435
- this.k9q_1 = $subscriber;
1772
+ this.s9s_1 = this$0;
1773
+ this.t9s_1 = $subscriber;
1436
1774
  CoroutineImpl.call(this, resultContinuation);
1437
1775
  }
1438
1776
  protoOf(GameServer$subscribeWith$slambda).m1e = function ($this$launchDefault, $completion) {
@@ -1453,9 +1791,9 @@
1453
1791
  case 0:
1454
1792
  this.k9_1 = 2;
1455
1793
  this.j9_1 = 1;
1456
- var tmp_0 = distinctUntilChanged(this.j9q_1.a6r());
1457
- var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.k9q_1, null);
1458
- suspendResult = tmp_0.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0_2(tmp_1), this);
1794
+ var tmp_0 = distinctUntilChanged_0(this.s9s_1.a6r());
1795
+ var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.t9s_1, null);
1796
+ suspendResult = tmp_0.o17(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_1), this);
1459
1797
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1460
1798
  return suspendResult;
1461
1799
  }
@@ -1478,8 +1816,8 @@
1478
1816
  while (true);
1479
1817
  };
1480
1818
  protoOf(GameServer$subscribeWith$slambda).n1e = function ($this$launchDefault, completion) {
1481
- var i = new GameServer$subscribeWith$slambda(this.j9q_1, this.k9q_1, completion);
1482
- i.l9q_1 = $this$launchDefault;
1819
+ var i = new GameServer$subscribeWith$slambda(this.s9s_1, this.t9s_1, completion);
1820
+ i.u9s_1 = $this$launchDefault;
1483
1821
  return i;
1484
1822
  };
1485
1823
  function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -1491,18 +1829,18 @@
1491
1829
  return l;
1492
1830
  }
1493
1831
  function GameServer$fromClientEvent$slambda($action, resultContinuation) {
1494
- this.u9q_1 = $action;
1832
+ this.d9t_1 = $action;
1495
1833
  CoroutineImpl.call(this, resultContinuation);
1496
1834
  }
1497
- protoOf(GameServer$fromClientEvent$slambda).x9q = function ($this$dispatchAsync, store, $completion) {
1498
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
1835
+ protoOf(GameServer$fromClientEvent$slambda).g9t = function ($this$dispatchAsync, store, $completion) {
1836
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
1499
1837
  tmp.l9_1 = Unit_instance;
1500
1838
  tmp.m9_1 = null;
1501
1839
  return tmp.r9();
1502
1840
  };
1503
1841
  protoOf(GameServer$fromClientEvent$slambda).ca = function (p1, p2, $completion) {
1504
1842
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1505
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1843
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1506
1844
  };
1507
1845
  protoOf(GameServer$fromClientEvent$slambda).r9 = function () {
1508
1846
  var suspendResult = this.l9_1;
@@ -1511,11 +1849,11 @@
1511
1849
  var tmp = this.j9_1;
1512
1850
  if (tmp === 0) {
1513
1851
  this.k9_1 = 1;
1514
- if (this.u9q_1 instanceof PlayerReadyFromClientAction)
1515
- if (!get_isCreated(this.w9q_1.state)) {
1852
+ if (this.d9t_1 instanceof PlayerReadyFromClientAction)
1853
+ if (!get_isCreated(this.f9t_1.state)) {
1516
1854
  return Unit_instance;
1517
1855
  }
1518
- this.w9q_1.dispatch(this.u9q_1);
1856
+ this.f9t_1.dispatch(this.d9t_1);
1519
1857
  return Unit_instance;
1520
1858
  } else if (tmp === 1) {
1521
1859
  throw this.m9_1;
@@ -1526,33 +1864,33 @@
1526
1864
  }
1527
1865
  while (true);
1528
1866
  };
1529
- protoOf(GameServer$fromClientEvent$slambda).y9q = function ($this$dispatchAsync, store, completion) {
1530
- var i = new GameServer$fromClientEvent$slambda(this.u9q_1, completion);
1531
- i.v9q_1 = $this$dispatchAsync;
1532
- i.w9q_1 = store;
1867
+ protoOf(GameServer$fromClientEvent$slambda).h9t = function ($this$dispatchAsync, store, completion) {
1868
+ var i = new GameServer$fromClientEvent$slambda(this.d9t_1, completion);
1869
+ i.e9t_1 = $this$dispatchAsync;
1870
+ i.f9t_1 = store;
1533
1871
  return i;
1534
1872
  };
1535
1873
  function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
1536
1874
  var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
1537
1875
  var l = function ($this$dispatchAsync, store, $completion) {
1538
- return i.x9q($this$dispatchAsync, store, $completion);
1876
+ return i.g9t($this$dispatchAsync, store, $completion);
1539
1877
  };
1540
1878
  l.$arity = 2;
1541
1879
  return l;
1542
1880
  }
1543
1881
  function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
1544
- this.h9r_1 = $playerId;
1882
+ this.q9t_1 = $playerId;
1545
1883
  CoroutineImpl.call(this, resultContinuation);
1546
1884
  }
1547
- protoOf(GameServer$playerLostConnection$slambda).x9q = function ($this$dispatchAsync, store, $completion) {
1548
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
1885
+ protoOf(GameServer$playerLostConnection$slambda).g9t = function ($this$dispatchAsync, store, $completion) {
1886
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
1549
1887
  tmp.l9_1 = Unit_instance;
1550
1888
  tmp.m9_1 = null;
1551
1889
  return tmp.r9();
1552
1890
  };
1553
1891
  protoOf(GameServer$playerLostConnection$slambda).ca = function (p1, p2, $completion) {
1554
1892
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1555
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1893
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1556
1894
  };
1557
1895
  protoOf(GameServer$playerLostConnection$slambda).r9 = function () {
1558
1896
  var suspendResult = this.l9_1;
@@ -1561,12 +1899,12 @@
1561
1899
  var tmp = this.j9_1;
1562
1900
  if (tmp === 0) {
1563
1901
  this.k9_1 = 1;
1564
- if (!get_isCreated(this.j9r_1.state)) {
1902
+ if (!get_isCreated(this.s9t_1.state)) {
1565
1903
  return Unit_instance;
1566
1904
  }
1567
- var tmp_0 = this.j9r_1.dispatch;
1905
+ var tmp_0 = this.s9t_1.dispatch;
1568
1906
  var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
1569
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.h9r_1));
1907
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.q9t_1));
1570
1908
  return Unit_instance;
1571
1909
  } else if (tmp === 1) {
1572
1910
  throw this.m9_1;
@@ -1577,34 +1915,34 @@
1577
1915
  }
1578
1916
  while (true);
1579
1917
  };
1580
- protoOf(GameServer$playerLostConnection$slambda).y9q = function ($this$dispatchAsync, store, completion) {
1581
- var i = new GameServer$playerLostConnection$slambda(this.h9r_1, completion);
1582
- i.i9r_1 = $this$dispatchAsync;
1583
- i.j9r_1 = store;
1918
+ protoOf(GameServer$playerLostConnection$slambda).h9t = function ($this$dispatchAsync, store, completion) {
1919
+ var i = new GameServer$playerLostConnection$slambda(this.q9t_1, completion);
1920
+ i.r9t_1 = $this$dispatchAsync;
1921
+ i.s9t_1 = store;
1584
1922
  return i;
1585
1923
  };
1586
1924
  function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
1587
1925
  var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
1588
1926
  var l = function ($this$dispatchAsync, store, $completion) {
1589
- return i.x9q($this$dispatchAsync, store, $completion);
1927
+ return i.g9t($this$dispatchAsync, store, $completion);
1590
1928
  };
1591
1929
  l.$arity = 2;
1592
1930
  return l;
1593
1931
  }
1594
1932
  function GameServer$playerLive$slambda(this$0, $playerId, resultContinuation) {
1595
- this.s9r_1 = this$0;
1596
- this.t9r_1 = $playerId;
1933
+ this.b9u_1 = this$0;
1934
+ this.c9u_1 = $playerId;
1597
1935
  CoroutineImpl.call(this, resultContinuation);
1598
1936
  }
1599
- protoOf(GameServer$playerLive$slambda).x9q = function ($this$dispatchAsync, store, $completion) {
1600
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
1937
+ protoOf(GameServer$playerLive$slambda).g9t = function ($this$dispatchAsync, store, $completion) {
1938
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
1601
1939
  tmp.l9_1 = Unit_instance;
1602
1940
  tmp.m9_1 = null;
1603
1941
  return tmp.r9();
1604
1942
  };
1605
1943
  protoOf(GameServer$playerLive$slambda).ca = function (p1, p2, $completion) {
1606
1944
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1607
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1945
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1608
1946
  };
1609
1947
  protoOf(GameServer$playerLive$slambda).r9 = function () {
1610
1948
  var suspendResult = this.l9_1;
@@ -1613,16 +1951,16 @@
1613
1951
  var tmp = this.j9_1;
1614
1952
  if (tmp === 0) {
1615
1953
  this.k9_1 = 1;
1616
- if (get_isFinished(this.v9r_1.state) || get_isFinishing(this.v9r_1.state)) {
1954
+ if (get_isFinished(this.e9u_1.state) || get_isFinishing(this.e9u_1.state)) {
1617
1955
  return Unit_instance;
1618
1956
  }
1619
- if (!get_isCreated(this.v9r_1.state) || !this.s9r_1.v6b().t6r()) {
1620
- _get_logger__rkp4sl(this.s9r_1).w('GameEngine_API', 'playerLive: ' + this.t9r_1 + ' before game is created');
1957
+ if (!get_isCreated(this.e9u_1.state) || !this.b9u_1.v6b().t6r()) {
1958
+ _get_logger__rkp4sl(this.b9u_1).w('GameEngine_API', 'playerLive: ' + this.c9u_1 + ' before game is created');
1621
1959
  return Unit_instance;
1622
1960
  }
1623
- var tmp_0 = this.v9r_1.dispatch;
1961
+ var tmp_0 = this.e9u_1.dispatch;
1624
1962
  var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
1625
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.t9r_1));
1963
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.c9u_1));
1626
1964
  return Unit_instance;
1627
1965
  } else if (tmp === 1) {
1628
1966
  throw this.m9_1;
@@ -1633,34 +1971,34 @@
1633
1971
  }
1634
1972
  while (true);
1635
1973
  };
1636
- protoOf(GameServer$playerLive$slambda).y9q = function ($this$dispatchAsync, store, completion) {
1637
- var i = new GameServer$playerLive$slambda(this.s9r_1, this.t9r_1, completion);
1638
- i.u9r_1 = $this$dispatchAsync;
1639
- i.v9r_1 = store;
1974
+ protoOf(GameServer$playerLive$slambda).h9t = function ($this$dispatchAsync, store, completion) {
1975
+ var i = new GameServer$playerLive$slambda(this.b9u_1, this.c9u_1, completion);
1976
+ i.d9u_1 = $this$dispatchAsync;
1977
+ i.e9u_1 = store;
1640
1978
  return i;
1641
1979
  };
1642
1980
  function GameServer$playerLive$slambda_0(this$0, $playerId, resultContinuation) {
1643
1981
  var i = new GameServer$playerLive$slambda(this$0, $playerId, resultContinuation);
1644
1982
  var l = function ($this$dispatchAsync, store, $completion) {
1645
- return i.x9q($this$dispatchAsync, store, $completion);
1983
+ return i.g9t($this$dispatchAsync, store, $completion);
1646
1984
  };
1647
1985
  l.$arity = 2;
1648
1986
  return l;
1649
1987
  }
1650
1988
  function GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation) {
1651
- this.e9s_1 = this$0;
1652
- this.f9s_1 = $playerId;
1989
+ this.n9u_1 = this$0;
1990
+ this.o9u_1 = $playerId;
1653
1991
  CoroutineImpl.call(this, resultContinuation);
1654
1992
  }
1655
- protoOf(GameServer$playerLeft$slambda).x9q = function ($this$dispatchAsync, store, $completion) {
1656
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
1993
+ protoOf(GameServer$playerLeft$slambda).g9t = function ($this$dispatchAsync, store, $completion) {
1994
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
1657
1995
  tmp.l9_1 = Unit_instance;
1658
1996
  tmp.m9_1 = null;
1659
1997
  return tmp.r9();
1660
1998
  };
1661
1999
  protoOf(GameServer$playerLeft$slambda).ca = function (p1, p2, $completion) {
1662
2000
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1663
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2001
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1664
2002
  };
1665
2003
  protoOf(GameServer$playerLeft$slambda).r9 = function () {
1666
2004
  var suspendResult = this.l9_1;
@@ -1669,16 +2007,16 @@
1669
2007
  var tmp = this.j9_1;
1670
2008
  if (tmp === 0) {
1671
2009
  this.k9_1 = 1;
1672
- if (get_isFinished(this.h9s_1.state) || get_isFinishing(this.h9s_1.state)) {
2010
+ if (get_isFinished(this.q9u_1.state) || get_isFinishing(this.q9u_1.state)) {
1673
2011
  return Unit_instance;
1674
2012
  }
1675
- if (!get_isCreated(this.h9s_1.state) || !this.e9s_1.v6b().t6r()) {
1676
- _get_logger__rkp4sl(this.e9s_1).w('GameEngine_API', 'playerLeft: ' + this.f9s_1 + ' before game is created');
2013
+ if (!get_isCreated(this.q9u_1.state) || !this.n9u_1.v6b().t6r()) {
2014
+ _get_logger__rkp4sl(this.n9u_1).w('GameEngine_API', 'playerLeft: ' + this.o9u_1 + ' before game is created');
1677
2015
  return Unit_instance;
1678
2016
  }
1679
- var tmp_0 = this.h9s_1.dispatch;
2017
+ var tmp_0 = this.q9u_1.dispatch;
1680
2018
  var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
1681
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.f9s_1));
2019
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.o9u_1));
1682
2020
  return Unit_instance;
1683
2021
  } else if (tmp === 1) {
1684
2022
  throw this.m9_1;
@@ -1689,39 +2027,39 @@
1689
2027
  }
1690
2028
  while (true);
1691
2029
  };
1692
- protoOf(GameServer$playerLeft$slambda).y9q = function ($this$dispatchAsync, store, completion) {
1693
- var i = new GameServer$playerLeft$slambda(this.e9s_1, this.f9s_1, completion);
1694
- i.g9s_1 = $this$dispatchAsync;
1695
- i.h9s_1 = store;
2030
+ protoOf(GameServer$playerLeft$slambda).h9t = function ($this$dispatchAsync, store, completion) {
2031
+ var i = new GameServer$playerLeft$slambda(this.n9u_1, this.o9u_1, completion);
2032
+ i.p9u_1 = $this$dispatchAsync;
2033
+ i.q9u_1 = store;
1696
2034
  return i;
1697
2035
  };
1698
2036
  function GameServer$playerLeft$slambda_0(this$0, $playerId, resultContinuation) {
1699
2037
  var i = new GameServer$playerLeft$slambda(this$0, $playerId, resultContinuation);
1700
2038
  var l = function ($this$dispatchAsync, store, $completion) {
1701
- return i.x9q($this$dispatchAsync, store, $completion);
2039
+ return i.g9t($this$dispatchAsync, store, $completion);
1702
2040
  };
1703
2041
  l.$arity = 2;
1704
2042
  return l;
1705
2043
  }
1706
2044
  function GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
1707
- this.q9s_1 = $usersArray;
1708
- this.r9s_1 = $config;
1709
- this.s9s_1 = this$0;
1710
- this.t9s_1 = $roomId;
1711
- this.u9s_1 = $transition;
1712
- this.v9s_1 = $gameCreatorId;
1713
- this.w9s_1 = $spectators;
2045
+ this.z9u_1 = $usersArray;
2046
+ this.a9v_1 = $config;
2047
+ this.b9v_1 = this$0;
2048
+ this.c9v_1 = $roomId;
2049
+ this.d9v_1 = $transition;
2050
+ this.e9v_1 = $gameCreatorId;
2051
+ this.f9v_1 = $spectators;
1714
2052
  CoroutineImpl.call(this, resultContinuation);
1715
2053
  }
1716
- protoOf(GameServer$roomOnCreate$slambda).x9q = function ($this$dispatchAsync, store, $completion) {
1717
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
2054
+ protoOf(GameServer$roomOnCreate$slambda).g9t = function ($this$dispatchAsync, store, $completion) {
2055
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
1718
2056
  tmp.l9_1 = Unit_instance;
1719
2057
  tmp.m9_1 = null;
1720
2058
  return tmp.r9();
1721
2059
  };
1722
2060
  protoOf(GameServer$roomOnCreate$slambda).ca = function (p1, p2, $completion) {
1723
2061
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1724
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2062
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1725
2063
  };
1726
2064
  protoOf(GameServer$roomOnCreate$slambda).r9 = function () {
1727
2065
  var suspendResult = this.l9_1;
@@ -1730,28 +2068,28 @@
1730
2068
  var tmp = this.j9_1;
1731
2069
  if (tmp === 0) {
1732
2070
  this.k9_1 = 1;
1733
- var users = toList(this.q9s_1);
1734
- if (!(this.r9s_1.playersMode.count === users.m())) {
1735
- _get_logger__rkp4sl(this.s9s_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.t9s_1 + ', config = ' + this.r9s_1.toString() + ', users = ' + toString(users));
1736
- this.y9s_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.s9s_1.table.isGameFinished, this.s9s_1.table));
2071
+ var users = toList(this.z9u_1);
2072
+ if (!(this.a9v_1.playersMode.count === users.m())) {
2073
+ _get_logger__rkp4sl(this.b9v_1).w('GameEngine_API', 'roomOnCreate: wrong player count for game ' + this.c9v_1 + ', config = ' + this.a9v_1.toString() + ', users = ' + toString(users));
2074
+ this.h9v_1.dispatch(Companion_instance.fromTableWithAnalytics(new GameErrorReason(Reason_SERVER_ERROR_getInstance()), this.b9v_1.table.isGameFinished, this.b9v_1.table));
1737
2075
  return Unit_instance;
1738
2076
  }
1739
2077
  var tmp_0;
1740
- if (this.r9s_1.mode.shufflePlayers && this.u9s_1 == null) {
1741
- tmp_0 = _get_random__h29cgo(this.s9s_1).r5w(toMutableList(users));
2078
+ if (this.a9v_1.mode.shufflePlayers && this.d9v_1 == null) {
2079
+ tmp_0 = _get_random__h29cgo(this.b9v_1).r5w(toMutableList(users));
1742
2080
  } else {
1743
- var tmp0_safe_receiver = this.u9s_1;
2081
+ var tmp0_safe_receiver = this.d9v_1;
1744
2082
  var previousPlayers = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.previousPlayers;
1745
2083
  var tmp_1;
1746
- if (!(previousPlayers == null) && this.r9s_1.playersMode.isTeamGame) {
1747
- var tmp_2 = _get_teamsLogicProvider__u10pm6(this.s9s_1);
2084
+ if (!(previousPlayers == null) && this.a9v_1.playersMode.isTeamGame) {
2085
+ var tmp_2 = _get_teamsLogicProvider__u10pm6(this.b9v_1);
1748
2086
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(previousPlayers, 10));
1749
2087
  var tmp0_iterator = previousPlayers.j();
1750
2088
  while (tmp0_iterator.k()) {
1751
2089
  var item = tmp0_iterator.l();
1752
2090
  destination.e(new GameServer$roomOnCreate$1$updatedUsers$previousTeams$1(item));
1753
2091
  }
1754
- var previousTeams = tmp_2.r8m(destination);
2092
+ var previousTeams = tmp_2.t8m(destination);
1755
2093
  var destination_0 = ArrayList_init_$Create$_0();
1756
2094
  var tmp0_iterator_0 = users.j();
1757
2095
  while (tmp0_iterator_0.k()) {
@@ -1775,19 +2113,19 @@
1775
2113
  destination_1.e(destination_2);
1776
2114
  }
1777
2115
  var updatedTeams = destination_1;
1778
- tmp_1 = _get_teamsLogicProvider__u10pm6(this.s9s_1).v8m(updatedTeams);
2116
+ tmp_1 = _get_teamsLogicProvider__u10pm6(this.b9v_1).x8m(updatedTeams);
1779
2117
  } else {
1780
2118
  tmp_1 = users;
1781
2119
  }
1782
2120
  tmp_0 = tmp_1;
1783
2121
  }
1784
2122
  var updatedUsers = tmp_0;
1785
- var gameCreatorUser = getPlayer(users, this.v9s_1);
1786
- var tmp_3 = this.y9s_1.dispatch;
2123
+ var gameCreatorUser = getPlayer(users, this.e9v_1);
2124
+ var tmp_3 = this.h9v_1.dispatch;
1787
2125
  var tmp1_version = get_versionOrDefault(GameEngineConfig_instance);
1788
2126
  var tmp2_users = sortWithItem(updatedUsers, gameCreatorUser);
1789
- var tmp3_spectators = toList(this.w9s_1);
1790
- tmp_3(new StartGameMechanicAction(this.r9s_1, this.t9s_1, tmp1_version, this.v9s_1, tmp2_users, VOID, tmp3_spectators));
2127
+ var tmp3_spectators = toList(this.f9v_1);
2128
+ tmp_3(new StartGameMechanicAction(this.a9v_1, this.c9v_1, tmp1_version, this.e9v_1, tmp2_users, VOID, tmp3_spectators));
1791
2129
  return Unit_instance;
1792
2130
  } else if (tmp === 1) {
1793
2131
  throw this.m9_1;
@@ -1798,33 +2136,33 @@
1798
2136
  }
1799
2137
  while (true);
1800
2138
  };
1801
- protoOf(GameServer$roomOnCreate$slambda).y9q = function ($this$dispatchAsync, store, completion) {
1802
- var i = new GameServer$roomOnCreate$slambda(this.q9s_1, this.r9s_1, this.s9s_1, this.t9s_1, this.u9s_1, this.v9s_1, this.w9s_1, completion);
1803
- i.x9s_1 = $this$dispatchAsync;
1804
- i.y9s_1 = store;
2139
+ protoOf(GameServer$roomOnCreate$slambda).h9t = function ($this$dispatchAsync, store, completion) {
2140
+ var i = new GameServer$roomOnCreate$slambda(this.z9u_1, this.a9v_1, this.b9v_1, this.c9v_1, this.d9v_1, this.e9v_1, this.f9v_1, completion);
2141
+ i.g9v_1 = $this$dispatchAsync;
2142
+ i.h9v_1 = store;
1805
2143
  return i;
1806
2144
  };
1807
2145
  function GameServer$roomOnCreate$slambda_0($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation) {
1808
2146
  var i = new GameServer$roomOnCreate$slambda($usersArray, $config, this$0, $roomId, $transition, $gameCreatorId, $spectators, resultContinuation);
1809
2147
  var l = function ($this$dispatchAsync, store, $completion) {
1810
- return i.x9q($this$dispatchAsync, store, $completion);
2148
+ return i.g9t($this$dispatchAsync, store, $completion);
1811
2149
  };
1812
2150
  l.$arity = 2;
1813
2151
  return l;
1814
2152
  }
1815
2153
  function GameServer$roomOnContinueFromState$slambda($state, resultContinuation) {
1816
- this.h9t_1 = $state;
2154
+ this.q9v_1 = $state;
1817
2155
  CoroutineImpl.call(this, resultContinuation);
1818
2156
  }
1819
- protoOf(GameServer$roomOnContinueFromState$slambda).x9q = function ($this$dispatchAsync, store, $completion) {
1820
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
2157
+ protoOf(GameServer$roomOnContinueFromState$slambda).g9t = function ($this$dispatchAsync, store, $completion) {
2158
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
1821
2159
  tmp.l9_1 = Unit_instance;
1822
2160
  tmp.m9_1 = null;
1823
2161
  return tmp.r9();
1824
2162
  };
1825
2163
  protoOf(GameServer$roomOnContinueFromState$slambda).ca = function (p1, p2, $completion) {
1826
2164
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1827
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2165
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1828
2166
  };
1829
2167
  protoOf(GameServer$roomOnContinueFromState$slambda).r9 = function () {
1830
2168
  var suspendResult = this.l9_1;
@@ -1833,9 +2171,9 @@
1833
2171
  var tmp = this.j9_1;
1834
2172
  if (tmp === 0) {
1835
2173
  this.k9_1 = 1;
1836
- var tmp_0 = this.j9t_1.dispatch;
2174
+ var tmp_0 = this.s9v_1.dispatch;
1837
2175
  var tmp0_reason = new RestartRoundReason(null);
1838
- var tmp1_table = this.h9t_1.table;
2176
+ var tmp1_table = this.q9v_1.table;
1839
2177
  tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
1840
2178
  return Unit_instance;
1841
2179
  } else if (tmp === 1) {
@@ -1847,33 +2185,33 @@
1847
2185
  }
1848
2186
  while (true);
1849
2187
  };
1850
- protoOf(GameServer$roomOnContinueFromState$slambda).y9q = function ($this$dispatchAsync, store, completion) {
1851
- var i = new GameServer$roomOnContinueFromState$slambda(this.h9t_1, completion);
1852
- i.i9t_1 = $this$dispatchAsync;
1853
- i.j9t_1 = store;
2188
+ protoOf(GameServer$roomOnContinueFromState$slambda).h9t = function ($this$dispatchAsync, store, completion) {
2189
+ var i = new GameServer$roomOnContinueFromState$slambda(this.q9v_1, completion);
2190
+ i.r9v_1 = $this$dispatchAsync;
2191
+ i.s9v_1 = store;
1854
2192
  return i;
1855
2193
  };
1856
2194
  function GameServer$roomOnContinueFromState$slambda_0($state, resultContinuation) {
1857
2195
  var i = new GameServer$roomOnContinueFromState$slambda($state, resultContinuation);
1858
2196
  var l = function ($this$dispatchAsync, store, $completion) {
1859
- return i.x9q($this$dispatchAsync, store, $completion);
2197
+ return i.g9t($this$dispatchAsync, store, $completion);
1860
2198
  };
1861
2199
  l.$arity = 2;
1862
2200
  return l;
1863
2201
  }
1864
2202
  function GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation) {
1865
- this.s9t_1 = $state;
2203
+ this.b9w_1 = $state;
1866
2204
  CoroutineImpl.call(this, resultContinuation);
1867
2205
  }
1868
- protoOf(GameServer$roomOnContinueFromState$slambda_1).x9q = function ($this$dispatchAsync, store, $completion) {
1869
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
2206
+ protoOf(GameServer$roomOnContinueFromState$slambda_1).g9t = function ($this$dispatchAsync, store, $completion) {
2207
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
1870
2208
  tmp.l9_1 = Unit_instance;
1871
2209
  tmp.m9_1 = null;
1872
2210
  return tmp.r9();
1873
2211
  };
1874
2212
  protoOf(GameServer$roomOnContinueFromState$slambda_1).ca = function (p1, p2, $completion) {
1875
2213
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1876
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2214
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1877
2215
  };
1878
2216
  protoOf(GameServer$roomOnContinueFromState$slambda_1).r9 = function () {
1879
2217
  var suspendResult = this.l9_1;
@@ -1882,10 +2220,10 @@
1882
2220
  var tmp = this.j9_1;
1883
2221
  if (tmp === 0) {
1884
2222
  this.k9_1 = 1;
1885
- var tmp0_iterator = this.s9t_1.actions.j();
2223
+ var tmp0_iterator = this.b9w_1.actions.j();
1886
2224
  while (tmp0_iterator.k()) {
1887
2225
  var element = tmp0_iterator.l();
1888
- this.u9t_1.dispatch(element);
2226
+ this.d9w_1.dispatch(element);
1889
2227
  }
1890
2228
  return Unit_instance;
1891
2229
  } else if (tmp === 1) {
@@ -1897,35 +2235,35 @@
1897
2235
  }
1898
2236
  while (true);
1899
2237
  };
1900
- protoOf(GameServer$roomOnContinueFromState$slambda_1).y9q = function ($this$dispatchAsync, store, completion) {
1901
- var i = new GameServer$roomOnContinueFromState$slambda_1(this.s9t_1, completion);
1902
- i.t9t_1 = $this$dispatchAsync;
1903
- i.u9t_1 = store;
2238
+ protoOf(GameServer$roomOnContinueFromState$slambda_1).h9t = function ($this$dispatchAsync, store, completion) {
2239
+ var i = new GameServer$roomOnContinueFromState$slambda_1(this.b9w_1, completion);
2240
+ i.c9w_1 = $this$dispatchAsync;
2241
+ i.d9w_1 = store;
1904
2242
  return i;
1905
2243
  };
1906
2244
  function GameServer$roomOnContinueFromState$slambda_2($state, resultContinuation) {
1907
2245
  var i = new GameServer$roomOnContinueFromState$slambda_1($state, resultContinuation);
1908
2246
  var l = function ($this$dispatchAsync, store, $completion) {
1909
- return i.x9q($this$dispatchAsync, store, $completion);
2247
+ return i.g9t($this$dispatchAsync, store, $completion);
1910
2248
  };
1911
2249
  l.$arity = 2;
1912
2250
  return l;
1913
2251
  }
1914
2252
  function GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation) {
1915
- this.d9u_1 = $tableLite;
1916
- this.e9u_1 = $roomId;
1917
- this.f9u_1 = this$0;
2253
+ this.m9w_1 = $tableLite;
2254
+ this.n9w_1 = $roomId;
2255
+ this.o9w_1 = this$0;
1918
2256
  CoroutineImpl.call(this, resultContinuation);
1919
2257
  }
1920
- protoOf(GameServer$roomOnContinueFromRound$slambda).x9q = function ($this$dispatchAsync, store, $completion) {
1921
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
2258
+ protoOf(GameServer$roomOnContinueFromRound$slambda).g9t = function ($this$dispatchAsync, store, $completion) {
2259
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
1922
2260
  tmp.l9_1 = Unit_instance;
1923
2261
  tmp.m9_1 = null;
1924
2262
  return tmp.r9();
1925
2263
  };
1926
2264
  protoOf(GameServer$roomOnContinueFromRound$slambda).ca = function (p1, p2, $completion) {
1927
2265
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1928
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2266
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1929
2267
  };
1930
2268
  protoOf(GameServer$roomOnContinueFromRound$slambda).r9 = function () {
1931
2269
  var suspendResult = this.l9_1;
@@ -1934,9 +2272,9 @@
1934
2272
  var tmp = this.j9_1;
1935
2273
  if (tmp === 0) {
1936
2274
  this.k9_1 = 1;
1937
- var tmp_0 = this.h9u_1.dispatch;
1938
- var tmp0_reason = new RestartRoundReason(this.d9u_1.gameInfo.round.roundNumber);
1939
- var tmp1_table = Companion_instance_0.restartRound(this.e9u_1, _get_idsProvider__fnfajc(this.f9u_1).k6i(), get_versionOrDefault(GameEngineConfig_instance), this.d9u_1);
2275
+ var tmp_0 = this.q9w_1.dispatch;
2276
+ var tmp0_reason = new RestartRoundReason(this.m9w_1.gameInfo.round.roundNumber);
2277
+ var tmp1_table = Companion_instance_0.restartRound(this.n9w_1, _get_idsProvider__fnfajc(this.o9w_1).k6i(), get_versionOrDefault(GameEngineConfig_instance), this.m9w_1);
1940
2278
  tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
1941
2279
  return Unit_instance;
1942
2280
  } else if (tmp === 1) {
@@ -1948,16 +2286,16 @@
1948
2286
  }
1949
2287
  while (true);
1950
2288
  };
1951
- protoOf(GameServer$roomOnContinueFromRound$slambda).y9q = function ($this$dispatchAsync, store, completion) {
1952
- var i = new GameServer$roomOnContinueFromRound$slambda(this.d9u_1, this.e9u_1, this.f9u_1, completion);
1953
- i.g9u_1 = $this$dispatchAsync;
1954
- i.h9u_1 = store;
2289
+ protoOf(GameServer$roomOnContinueFromRound$slambda).h9t = function ($this$dispatchAsync, store, completion) {
2290
+ var i = new GameServer$roomOnContinueFromRound$slambda(this.m9w_1, this.n9w_1, this.o9w_1, completion);
2291
+ i.p9w_1 = $this$dispatchAsync;
2292
+ i.q9w_1 = store;
1955
2293
  return i;
1956
2294
  };
1957
2295
  function GameServer$roomOnContinueFromRound$slambda_0($tableLite, $roomId, this$0, resultContinuation) {
1958
2296
  var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, $roomId, this$0, resultContinuation);
1959
2297
  var l = function ($this$dispatchAsync, store, $completion) {
1960
- return i.x9q($this$dispatchAsync, store, $completion);
2298
+ return i.g9t($this$dispatchAsync, store, $completion);
1961
2299
  };
1962
2300
  l.$arity = 2;
1963
2301
  return l;
@@ -1965,15 +2303,15 @@
1965
2303
  function GameServer$roomOnContinueFromRound$slambda_1(resultContinuation) {
1966
2304
  CoroutineImpl.call(this, resultContinuation);
1967
2305
  }
1968
- protoOf(GameServer$roomOnContinueFromRound$slambda_1).x9q = function ($this$dispatchAsync, store, $completion) {
1969
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
2306
+ protoOf(GameServer$roomOnContinueFromRound$slambda_1).g9t = function ($this$dispatchAsync, store, $completion) {
2307
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
1970
2308
  tmp.l9_1 = Unit_instance;
1971
2309
  tmp.m9_1 = null;
1972
2310
  return tmp.r9();
1973
2311
  };
1974
2312
  protoOf(GameServer$roomOnContinueFromRound$slambda_1).ca = function (p1, p2, $completion) {
1975
2313
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1976
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2314
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1977
2315
  };
1978
2316
  protoOf(GameServer$roomOnContinueFromRound$slambda_1).r9 = function () {
1979
2317
  var suspendResult = this.l9_1;
@@ -1982,7 +2320,7 @@
1982
2320
  var tmp = this.j9_1;
1983
2321
  if (tmp === 0) {
1984
2322
  this.k9_1 = 1;
1985
- this.r9u_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
2323
+ this.a9x_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
1986
2324
  return Unit_instance;
1987
2325
  } else if (tmp === 1) {
1988
2326
  throw this.m9_1;
@@ -1993,33 +2331,33 @@
1993
2331
  }
1994
2332
  while (true);
1995
2333
  };
1996
- protoOf(GameServer$roomOnContinueFromRound$slambda_1).y9q = function ($this$dispatchAsync, store, completion) {
2334
+ protoOf(GameServer$roomOnContinueFromRound$slambda_1).h9t = function ($this$dispatchAsync, store, completion) {
1997
2335
  var i = new GameServer$roomOnContinueFromRound$slambda_1(completion);
1998
- i.q9u_1 = $this$dispatchAsync;
1999
- i.r9u_1 = store;
2336
+ i.z9w_1 = $this$dispatchAsync;
2337
+ i.a9x_1 = store;
2000
2338
  return i;
2001
2339
  };
2002
2340
  function GameServer$roomOnContinueFromRound$slambda_2(resultContinuation) {
2003
2341
  var i = new GameServer$roomOnContinueFromRound$slambda_1(resultContinuation);
2004
2342
  var l = function ($this$dispatchAsync, store, $completion) {
2005
- return i.x9q($this$dispatchAsync, store, $completion);
2343
+ return i.g9t($this$dispatchAsync, store, $completion);
2006
2344
  };
2007
2345
  l.$arity = 2;
2008
2346
  return l;
2009
2347
  }
2010
2348
  function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
2011
- this.a9v_1 = $spectators;
2349
+ this.j9x_1 = $spectators;
2012
2350
  CoroutineImpl.call(this, resultContinuation);
2013
2351
  }
2014
- protoOf(GameServer$addSpectatorsToRoom$slambda).x9q = function ($this$dispatchAsync, store, $completion) {
2015
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
2352
+ protoOf(GameServer$addSpectatorsToRoom$slambda).g9t = function ($this$dispatchAsync, store, $completion) {
2353
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
2016
2354
  tmp.l9_1 = Unit_instance;
2017
2355
  tmp.m9_1 = null;
2018
2356
  return tmp.r9();
2019
2357
  };
2020
2358
  protoOf(GameServer$addSpectatorsToRoom$slambda).ca = function (p1, p2, $completion) {
2021
2359
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2022
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2360
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2023
2361
  };
2024
2362
  protoOf(GameServer$addSpectatorsToRoom$slambda).r9 = function () {
2025
2363
  var suspendResult = this.l9_1;
@@ -2028,7 +2366,7 @@
2028
2366
  var tmp = this.j9_1;
2029
2367
  if (tmp === 0) {
2030
2368
  this.k9_1 = 1;
2031
- this.c9v_1.dispatch(new AddSpectatorsAction(toList(this.a9v_1)));
2369
+ this.l9x_1.dispatch(new AddSpectatorsAction(toList(this.j9x_1)));
2032
2370
  return Unit_instance;
2033
2371
  } else if (tmp === 1) {
2034
2372
  throw this.m9_1;
@@ -2039,33 +2377,33 @@
2039
2377
  }
2040
2378
  while (true);
2041
2379
  };
2042
- protoOf(GameServer$addSpectatorsToRoom$slambda).y9q = function ($this$dispatchAsync, store, completion) {
2043
- var i = new GameServer$addSpectatorsToRoom$slambda(this.a9v_1, completion);
2044
- i.b9v_1 = $this$dispatchAsync;
2045
- i.c9v_1 = store;
2380
+ protoOf(GameServer$addSpectatorsToRoom$slambda).h9t = function ($this$dispatchAsync, store, completion) {
2381
+ var i = new GameServer$addSpectatorsToRoom$slambda(this.j9x_1, completion);
2382
+ i.k9x_1 = $this$dispatchAsync;
2383
+ i.l9x_1 = store;
2046
2384
  return i;
2047
2385
  };
2048
2386
  function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
2049
2387
  var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
2050
2388
  var l = function ($this$dispatchAsync, store, $completion) {
2051
- return i.x9q($this$dispatchAsync, store, $completion);
2389
+ return i.g9t($this$dispatchAsync, store, $completion);
2052
2390
  };
2053
2391
  l.$arity = 2;
2054
2392
  return l;
2055
2393
  }
2056
2394
  function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
2057
- this.l9v_1 = $spectators;
2395
+ this.u9x_1 = $spectators;
2058
2396
  CoroutineImpl.call(this, resultContinuation);
2059
2397
  }
2060
- protoOf(GameServer$removeSpectatorsFromRoom$slambda).x9q = function ($this$dispatchAsync, store, $completion) {
2061
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
2398
+ protoOf(GameServer$removeSpectatorsFromRoom$slambda).g9t = function ($this$dispatchAsync, store, $completion) {
2399
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
2062
2400
  tmp.l9_1 = Unit_instance;
2063
2401
  tmp.m9_1 = null;
2064
2402
  return tmp.r9();
2065
2403
  };
2066
2404
  protoOf(GameServer$removeSpectatorsFromRoom$slambda).ca = function (p1, p2, $completion) {
2067
2405
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2068
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2406
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2069
2407
  };
2070
2408
  protoOf(GameServer$removeSpectatorsFromRoom$slambda).r9 = function () {
2071
2409
  var suspendResult = this.l9_1;
@@ -2074,7 +2412,7 @@
2074
2412
  var tmp = this.j9_1;
2075
2413
  if (tmp === 0) {
2076
2414
  this.k9_1 = 1;
2077
- this.n9v_1.dispatch(new RemoveSpectatorsAction(toList(this.l9v_1)));
2415
+ this.w9x_1.dispatch(new RemoveSpectatorsAction(toList(this.u9x_1)));
2078
2416
  return Unit_instance;
2079
2417
  } else if (tmp === 1) {
2080
2418
  throw this.m9_1;
@@ -2085,34 +2423,34 @@
2085
2423
  }
2086
2424
  while (true);
2087
2425
  };
2088
- protoOf(GameServer$removeSpectatorsFromRoom$slambda).y9q = function ($this$dispatchAsync, store, completion) {
2089
- var i = new GameServer$removeSpectatorsFromRoom$slambda(this.l9v_1, completion);
2090
- i.m9v_1 = $this$dispatchAsync;
2091
- i.n9v_1 = store;
2426
+ protoOf(GameServer$removeSpectatorsFromRoom$slambda).h9t = function ($this$dispatchAsync, store, completion) {
2427
+ var i = new GameServer$removeSpectatorsFromRoom$slambda(this.u9x_1, completion);
2428
+ i.v9x_1 = $this$dispatchAsync;
2429
+ i.w9x_1 = store;
2092
2430
  return i;
2093
2431
  };
2094
2432
  function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
2095
2433
  var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
2096
2434
  var l = function ($this$dispatchAsync, store, $completion) {
2097
- return i.x9q($this$dispatchAsync, store, $completion);
2435
+ return i.g9t($this$dispatchAsync, store, $completion);
2098
2436
  };
2099
2437
  l.$arity = 2;
2100
2438
  return l;
2101
2439
  }
2102
2440
  function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
2103
- this.w9v_1 = $playerId;
2104
- this.x9v_1 = this$0;
2441
+ this.f9y_1 = $playerId;
2442
+ this.g9y_1 = this$0;
2105
2443
  CoroutineImpl.call(this, resultContinuation);
2106
2444
  }
2107
- protoOf(GameServer$roomRefreshPlayerState$slambda).x9q = function ($this$dispatchAsync, store, $completion) {
2108
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
2445
+ protoOf(GameServer$roomRefreshPlayerState$slambda).g9t = function ($this$dispatchAsync, store, $completion) {
2446
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
2109
2447
  tmp.l9_1 = Unit_instance;
2110
2448
  tmp.m9_1 = null;
2111
2449
  return tmp.r9();
2112
2450
  };
2113
2451
  protoOf(GameServer$roomRefreshPlayerState$slambda).ca = function (p1, p2, $completion) {
2114
2452
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2115
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2453
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2116
2454
  };
2117
2455
  protoOf(GameServer$roomRefreshPlayerState$slambda).r9 = function () {
2118
2456
  var suspendResult = this.l9_1;
@@ -2121,14 +2459,14 @@
2121
2459
  var tmp = this.j9_1;
2122
2460
  if (tmp === 0) {
2123
2461
  this.k9_1 = 1;
2124
- var table = this.z9v_1.state.s6r();
2125
- var player = getPlayer(table.players, this.w9v_1);
2126
- if (player.o6x_1.y6d().p6c_1.isLive) {
2127
- this.z9v_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.x9v_1).q8t(player, table));
2462
+ var table = this.i9y_1.state.s6r();
2463
+ var player = getPlayer(table.players, this.f9y_1);
2464
+ if (player.q6x_1.y6d().p6c_1.isLive) {
2465
+ this.i9y_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.g9y_1).s8t(player, table));
2128
2466
  } else {
2129
- var tmp_0 = this.z9v_1.dispatch;
2467
+ var tmp_0 = this.i9y_1.dispatch;
2130
2468
  var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
2131
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.w9v_1));
2469
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.f9y_1));
2132
2470
  }
2133
2471
  return Unit_instance;
2134
2472
  } else if (tmp === 1) {
@@ -2140,34 +2478,34 @@
2140
2478
  }
2141
2479
  while (true);
2142
2480
  };
2143
- protoOf(GameServer$roomRefreshPlayerState$slambda).y9q = function ($this$dispatchAsync, store, completion) {
2144
- var i = new GameServer$roomRefreshPlayerState$slambda(this.w9v_1, this.x9v_1, completion);
2145
- i.y9v_1 = $this$dispatchAsync;
2146
- i.z9v_1 = store;
2481
+ protoOf(GameServer$roomRefreshPlayerState$slambda).h9t = function ($this$dispatchAsync, store, completion) {
2482
+ var i = new GameServer$roomRefreshPlayerState$slambda(this.f9y_1, this.g9y_1, completion);
2483
+ i.h9y_1 = $this$dispatchAsync;
2484
+ i.i9y_1 = store;
2147
2485
  return i;
2148
2486
  };
2149
2487
  function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
2150
2488
  var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
2151
2489
  var l = function ($this$dispatchAsync, store, $completion) {
2152
- return i.x9q($this$dispatchAsync, store, $completion);
2490
+ return i.g9t($this$dispatchAsync, store, $completion);
2153
2491
  };
2154
2492
  l.$arity = 2;
2155
2493
  return l;
2156
2494
  }
2157
2495
  function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
2158
- this.i9w_1 = this$0;
2159
- this.j9w_1 = $newRid;
2496
+ this.r9y_1 = this$0;
2497
+ this.s9y_1 = $newRid;
2160
2498
  CoroutineImpl.call(this, resultContinuation);
2161
2499
  }
2162
- protoOf(GameServer$roomOnDelete$slambda).x9q = function ($this$dispatchAsync, store, $completion) {
2163
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
2500
+ protoOf(GameServer$roomOnDelete$slambda).g9t = function ($this$dispatchAsync, store, $completion) {
2501
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
2164
2502
  tmp.l9_1 = Unit_instance;
2165
2503
  tmp.m9_1 = null;
2166
2504
  return tmp.r9();
2167
2505
  };
2168
2506
  protoOf(GameServer$roomOnDelete$slambda).ca = function (p1, p2, $completion) {
2169
2507
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2170
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2508
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2171
2509
  };
2172
2510
  protoOf(GameServer$roomOnDelete$slambda).r9 = function () {
2173
2511
  var suspendResult = this.l9_1;
@@ -2176,27 +2514,27 @@
2176
2514
  var tmp = this.j9_1;
2177
2515
  if (tmp === 0) {
2178
2516
  this.k9_1 = 1;
2179
- var it = this.i9w_1.v6b().e6r_1;
2517
+ var it = this.r9y_1.v6b().e6r_1;
2180
2518
  var tmp_0;
2181
2519
  if (it == null) {
2182
- _get_logger__rkp4sl(this.i9w_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
2520
+ _get_logger__rkp4sl(this.r9y_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
2183
2521
  tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
2184
2522
  } else {
2185
2523
  tmp_0 = it;
2186
2524
  }
2187
2525
  var terminationState = tmp_0;
2188
- var gameTransition = terminationState.u8x_1;
2526
+ var gameTransition = terminationState.w8x_1;
2189
2527
  var tmp_1;
2190
2528
  if (gameTransition instanceof GameToRoomTransition) {
2191
- var tmp0_elvis_lhs = this.j9w_1;
2529
+ var tmp0_elvis_lhs = this.s9y_1;
2192
2530
  tmp_1 = gameTransition.copy(tmp0_elvis_lhs == null ? gameTransition.roomId : tmp0_elvis_lhs);
2193
2531
  } else {
2194
2532
  tmp_1 = gameTransition;
2195
2533
  }
2196
2534
  var transition = tmp_1;
2197
- var tmp_2 = this.l9w_1.dispatch;
2198
- var tmp0_reason = terminationState.t8x_1;
2199
- var tmp1_isGameFinished = this.i9w_1.v6b().s6r().isGameFinished;
2535
+ var tmp_2 = this.u9y_1.dispatch;
2536
+ var tmp0_reason = terminationState.v8x_1;
2537
+ var tmp1_isGameFinished = this.r9y_1.v6b().s6r().isGameFinished;
2200
2538
  tmp_2(new FinishGameMechanicAction(tmp0_reason, tmp1_isGameFinished, VOID, transition));
2201
2539
  return Unit_instance;
2202
2540
  } else if (tmp === 1) {
@@ -2208,33 +2546,33 @@
2208
2546
  }
2209
2547
  while (true);
2210
2548
  };
2211
- protoOf(GameServer$roomOnDelete$slambda).y9q = function ($this$dispatchAsync, store, completion) {
2212
- var i = new GameServer$roomOnDelete$slambda(this.i9w_1, this.j9w_1, completion);
2213
- i.k9w_1 = $this$dispatchAsync;
2214
- i.l9w_1 = store;
2549
+ protoOf(GameServer$roomOnDelete$slambda).h9t = function ($this$dispatchAsync, store, completion) {
2550
+ var i = new GameServer$roomOnDelete$slambda(this.r9y_1, this.s9y_1, completion);
2551
+ i.t9y_1 = $this$dispatchAsync;
2552
+ i.u9y_1 = store;
2215
2553
  return i;
2216
2554
  };
2217
2555
  function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
2218
2556
  var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
2219
2557
  var l = function ($this$dispatchAsync, store, $completion) {
2220
- return i.x9q($this$dispatchAsync, store, $completion);
2558
+ return i.g9t($this$dispatchAsync, store, $completion);
2221
2559
  };
2222
2560
  l.$arity = 2;
2223
2561
  return l;
2224
2562
  }
2225
2563
  function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
2226
- this.u9w_1 = $enabled;
2564
+ this.d9z_1 = $enabled;
2227
2565
  CoroutineImpl.call(this, resultContinuation);
2228
2566
  }
2229
- protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9q = function ($this$dispatchAsync, store, $completion) {
2230
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
2567
+ protoOf(GameServer$setCanStartNewGameEnabled$slambda).g9t = function ($this$dispatchAsync, store, $completion) {
2568
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
2231
2569
  tmp.l9_1 = Unit_instance;
2232
2570
  tmp.m9_1 = null;
2233
2571
  return tmp.r9();
2234
2572
  };
2235
2573
  protoOf(GameServer$setCanStartNewGameEnabled$slambda).ca = function (p1, p2, $completion) {
2236
2574
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2237
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2575
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2238
2576
  };
2239
2577
  protoOf(GameServer$setCanStartNewGameEnabled$slambda).r9 = function () {
2240
2578
  var suspendResult = this.l9_1;
@@ -2243,7 +2581,7 @@
2243
2581
  var tmp = this.j9_1;
2244
2582
  if (tmp === 0) {
2245
2583
  this.k9_1 = 1;
2246
- this.w9w_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.w9w_1.state).config.copy(VOID, this.u9w_1)));
2584
+ this.f9z_1.dispatch(new UpdateServerConfigAction(get_serverStatePayload_0(this.f9z_1.state).config.copy(VOID, this.d9z_1)));
2247
2585
  return Unit_instance;
2248
2586
  } else if (tmp === 1) {
2249
2587
  throw this.m9_1;
@@ -2254,35 +2592,35 @@
2254
2592
  }
2255
2593
  while (true);
2256
2594
  };
2257
- protoOf(GameServer$setCanStartNewGameEnabled$slambda).y9q = function ($this$dispatchAsync, store, completion) {
2258
- var i = new GameServer$setCanStartNewGameEnabled$slambda(this.u9w_1, completion);
2259
- i.v9w_1 = $this$dispatchAsync;
2260
- i.w9w_1 = store;
2595
+ protoOf(GameServer$setCanStartNewGameEnabled$slambda).h9t = function ($this$dispatchAsync, store, completion) {
2596
+ var i = new GameServer$setCanStartNewGameEnabled$slambda(this.d9z_1, completion);
2597
+ i.e9z_1 = $this$dispatchAsync;
2598
+ i.f9z_1 = store;
2261
2599
  return i;
2262
2600
  };
2263
2601
  function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
2264
2602
  var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
2265
2603
  var l = function ($this$dispatchAsync, store, $completion) {
2266
- return i.x9q($this$dispatchAsync, store, $completion);
2604
+ return i.g9t($this$dispatchAsync, store, $completion);
2267
2605
  };
2268
2606
  l.$arity = 2;
2269
2607
  return l;
2270
2608
  }
2271
2609
  function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
2272
- this.f9x_1 = $reason;
2273
- this.g9x_1 = this$0;
2274
- this.h9x_1 = $roomId;
2610
+ this.o9z_1 = $reason;
2611
+ this.p9z_1 = this$0;
2612
+ this.q9z_1 = $roomId;
2275
2613
  CoroutineImpl.call(this, resultContinuation);
2276
2614
  }
2277
- protoOf(GameServer$shutdown$slambda).x9q = function ($this$dispatchAsync, store, $completion) {
2278
- var tmp = this.y9q($this$dispatchAsync, store, $completion);
2615
+ protoOf(GameServer$shutdown$slambda).g9t = function ($this$dispatchAsync, store, $completion) {
2616
+ var tmp = this.h9t($this$dispatchAsync, store, $completion);
2279
2617
  tmp.l9_1 = Unit_instance;
2280
2618
  tmp.m9_1 = null;
2281
2619
  return tmp.r9();
2282
2620
  };
2283
2621
  protoOf(GameServer$shutdown$slambda).ca = function (p1, p2, $completion) {
2284
2622
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
2285
- return this.x9q(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2623
+ return this.g9t(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
2286
2624
  };
2287
2625
  protoOf(GameServer$shutdown$slambda).r9 = function () {
2288
2626
  var suspendResult = this.l9_1;
@@ -2291,11 +2629,11 @@
2291
2629
  var tmp = this.j9_1;
2292
2630
  if (tmp === 0) {
2293
2631
  this.k9_1 = 1;
2294
- var state = this.j9x_1.store.state;
2632
+ var state = this.s9z_1.store.state;
2295
2633
  if (state.t6r()) {
2296
- var tmp0_elvis_lhs = toDomainEnumSafe(this.f9x_1, get_serverShutdownReasonMapping());
2634
+ var tmp0_elvis_lhs = toDomainEnumSafe(this.o9z_1, get_serverShutdownReasonMapping());
2297
2635
  var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
2298
- var tmp_0 = this.j9x_1.dispatch;
2636
+ var tmp_0 = this.s9z_1.dispatch;
2299
2637
  var tmp_1 = Companion_instance;
2300
2638
  var tmp_2;
2301
2639
  switch (shutdownReason.r2_1) {
@@ -2309,12 +2647,12 @@
2309
2647
  noWhenBranchMatchedException();
2310
2648
  break;
2311
2649
  }
2312
- tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.g9x_1.table.isGameFinished, this.g9x_1.table));
2650
+ tmp_0(tmp_1.fromTableWithAnalytics(tmp_2, this.p9z_1.table.isGameFinished, this.p9z_1.table));
2313
2651
  } else {
2314
- _get_logger__rkp4sl(this.g9x_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.h9x_1);
2315
- var tmp_3 = this.j9x_1.dispatch;
2652
+ _get_logger__rkp4sl(this.p9z_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.q9z_1);
2653
+ var tmp_3 = this.s9z_1.dispatch;
2316
2654
  var tmp2_safe_receiver = state.e6r_1;
2317
- tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.u8x_1));
2655
+ tmp_3(new ClearAction(tmp2_safe_receiver == null ? null : tmp2_safe_receiver.w8x_1));
2318
2656
  }
2319
2657
  return Unit_instance;
2320
2658
  } else if (tmp === 1) {
@@ -2326,22 +2664,22 @@
2326
2664
  }
2327
2665
  while (true);
2328
2666
  };
2329
- protoOf(GameServer$shutdown$slambda).y9q = function ($this$dispatchAsync, store, completion) {
2330
- var i = new GameServer$shutdown$slambda(this.f9x_1, this.g9x_1, this.h9x_1, completion);
2331
- i.i9x_1 = $this$dispatchAsync;
2332
- i.j9x_1 = store;
2667
+ protoOf(GameServer$shutdown$slambda).h9t = function ($this$dispatchAsync, store, completion) {
2668
+ var i = new GameServer$shutdown$slambda(this.o9z_1, this.p9z_1, this.q9z_1, completion);
2669
+ i.r9z_1 = $this$dispatchAsync;
2670
+ i.s9z_1 = store;
2333
2671
  return i;
2334
2672
  };
2335
2673
  function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
2336
2674
  var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
2337
2675
  var l = function ($this$dispatchAsync, store, $completion) {
2338
- return i.x9q($this$dispatchAsync, store, $completion);
2676
+ return i.g9t($this$dispatchAsync, store, $completion);
2339
2677
  };
2340
2678
  l.$arity = 2;
2341
2679
  return l;
2342
2680
  }
2343
2681
  function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
2344
- preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_10.initial()) : preloadedState;
2682
+ preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_13.initial()) : preloadedState;
2345
2683
  var tmp;
2346
2684
  if (externalReducers === VOID) {
2347
2685
  // Inline function 'kotlin.collections.listOf' call
@@ -2364,52 +2702,58 @@
2364
2702
  // Inline function 'org.kodein.type.generic' call
2365
2703
  var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
2366
2704
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
2367
- tmp_1.f9o_1 = Instance(di, tmp$ret$2, null).d64(this, logger$factory());
2705
+ tmp_1.y9p_1 = Instance(di, tmp$ret$2, null).d64(this, logger$factory());
2368
2706
  var tmp_3 = this;
2369
2707
  // Inline function 'org.kodein.di.instance' call
2370
2708
  // Inline function 'org.kodein.type.generic' call
2371
2709
  var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
2372
2710
  var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
2373
- tmp_3.g9o_1 = Instance(di, tmp$ret$4, null).d64(this, toClientEventsObserver$factory());
2711
+ tmp_3.z9p_1 = Instance(di, tmp$ret$4, null).d64(this, toClientEventsObserver$factory());
2374
2712
  var tmp_5 = this;
2375
2713
  // Inline function 'org.kodein.di.instance' call
2376
2714
  // Inline function 'org.kodein.type.generic' call
2377
2715
  var tmp_6 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
2378
2716
  var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
2379
- tmp_5.h9o_1 = Instance(di, tmp$ret$6, null).d64(this, fromClientEventsObserver$factory());
2717
+ tmp_5.a9q_1 = Instance(di, tmp$ret$6, null).d64(this, fromClientEventsObserver$factory());
2380
2718
  var tmp_7 = this;
2381
2719
  // Inline function 'org.kodein.di.instance' call
2382
2720
  // Inline function 'org.kodein.type.generic' call
2383
2721
  var tmp_8 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
2384
2722
  var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
2385
- tmp_7.i9o_1 = Instance(di, tmp$ret$8, null).d64(this, playerConnectionInteractor$factory());
2723
+ tmp_7.b9q_1 = Instance(di, tmp$ret$8, null).d64(this, playerConnectionInteractor$factory());
2386
2724
  var tmp_9 = this;
2387
2725
  // Inline function 'org.kodein.di.instance' call
2388
2726
  // Inline function 'org.kodein.type.generic' call
2389
2727
  var tmp_10 = typeToken(createKType(getKClass(TeamsLogicProvider), arrayOf([]), false));
2390
2728
  var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
2391
- tmp_9.j9o_1 = Instance(di, tmp$ret$10, null).d64(this, teamsLogicProvider$factory());
2729
+ tmp_9.c9q_1 = Instance(di, tmp$ret$10, null).d64(this, teamsLogicProvider$factory());
2392
2730
  var tmp_11 = this;
2731
+ tmp_11.d9q_1 = lazy(GameServer$random$delegate$lambda(this));
2732
+ var tmp_12 = this;
2393
2733
  // Inline function 'org.kodein.di.instance' call
2394
2734
  // Inline function 'org.kodein.type.generic' call
2395
- var tmp_12 = typeToken(createKType(getKClass(EncoderDecoderProvider), arrayOf([]), false));
2396
- var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
2397
- tmp_11.k9o_1 = Instance(di, tmp$ret$12, null).d64(this, encoderDecoderProvider$factory());
2398
- var tmp_13 = this;
2399
- tmp_13.l9o_1 = lazy(GameServer$random$delegate$lambda(this));
2735
+ var tmp_13 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
2736
+ var tmp$ret$12 = isInterface(tmp_13, TypeToken) ? tmp_13 : THROW_CCE();
2737
+ tmp_12.e9q_1 = Instance(di, tmp$ret$12, null).d64(this, idsProvider$factory());
2400
2738
  var tmp_14 = this;
2401
2739
  // Inline function 'org.kodein.di.instance' call
2402
2740
  // Inline function 'org.kodein.type.generic' call
2403
- var tmp_15 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
2741
+ var tmp_15 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
2404
2742
  var tmp$ret$14 = isInterface(tmp_15, TypeToken) ? tmp_15 : THROW_CCE();
2405
- tmp_14.m9o_1 = Instance(di, tmp$ret$14, null).d64(this, idsProvider$factory());
2743
+ tmp_14.f9q_1 = Instance(di, tmp$ret$14, null).d64(this, serverReduxConfig$factory());
2406
2744
  var tmp_16 = this;
2407
- var tmp0_externalMiddlewares = plus(storeContract.f92(), externalMiddlewares);
2408
- var tmp1_externalReducers = plus(storeContract.e92(), externalReducers);
2409
- tmp_16.n9o_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
2745
+ // Inline function 'org.kodein.di.instance' call
2746
+ // Inline function 'org.kodein.type.generic' call
2747
+ var tmp_17 = typeToken(createKType(getKClass(EncoderDecoderProvider), arrayOf([]), false));
2748
+ var tmp$ret$16 = isInterface(tmp_17, TypeToken) ? tmp_17 : THROW_CCE();
2749
+ tmp_16.g9q_1 = Instance(di, tmp$ret$16, null).d64(this, encoderDecoderProvider$factory());
2750
+ var tmp_18 = this;
2751
+ var tmp0_externalMiddlewares = plus(storeContract.h92(), externalMiddlewares);
2752
+ var tmp1_externalReducers = plus(storeContract.g92(), externalReducers);
2753
+ tmp_18.h9q_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
2410
2754
  }
2411
2755
  protoOf(GameServer).r6q = function () {
2412
- return this.n9o_1;
2756
+ return this.h9q_1;
2413
2757
  };
2414
2758
  protoOf(GameServer).g5l = function () {
2415
2759
  return this.v6b().s6r().id;
@@ -2431,61 +2775,65 @@
2431
2775
  var tmp = this.p6q();
2432
2776
  tmp.h6h(VOID, GameServer$subscribeServerStateUpdate$slambda_0(this, subscriber, null));
2433
2777
  };
2778
+ protoOf(GameServer).subscribeServerStateUpdateJson = function (subscriber) {
2779
+ var tmp = this.p6q();
2780
+ tmp.h6h(VOID, GameServer$subscribeServerStateUpdateJson$slambda_0(this, subscriber, null));
2781
+ };
2434
2782
  protoOf(GameServer).subscribeWith = function (subscriber) {
2435
2783
  var tmp = this.p6q();
2436
2784
  tmp.h6h(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
2437
2785
  };
2438
2786
  protoOf(GameServer).fromClientEvent = function (action) {
2439
2787
  _get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
2440
- this.n9o_1.r6r(GameServer$fromClientEvent$slambda_0(action, null));
2788
+ this.h9q_1.r6r(GameServer$fromClientEvent$slambda_0(action, null));
2441
2789
  };
2442
2790
  protoOf(GameServer).playerLostConnection = function (playerId) {
2443
2791
  _get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
2444
- this.n9o_1.r6r(GameServer$playerLostConnection$slambda_0(playerId, null));
2792
+ this.h9q_1.r6r(GameServer$playerLostConnection$slambda_0(playerId, null));
2445
2793
  };
2446
2794
  protoOf(GameServer).playerLive = function (playerId) {
2447
2795
  _get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
2448
- this.n9o_1.r6r(GameServer$playerLive$slambda_0(this, playerId, null));
2796
+ this.h9q_1.r6r(GameServer$playerLive$slambda_0(this, playerId, null));
2449
2797
  };
2450
2798
  protoOf(GameServer).playerLeft = function (playerId) {
2451
2799
  _get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
2452
- this.n9o_1.r6r(GameServer$playerLeft$slambda_0(this, playerId, null));
2800
+ this.h9q_1.r6r(GameServer$playerLeft$slambda_0(this, playerId, null));
2453
2801
  };
2454
- protoOf(GameServer).k9x = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
2802
+ protoOf(GameServer).t9z = function (roomId, gameCreatorId, config, usersArray, transition, spectators) {
2455
2803
  _get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnCreate: ' + roomId + ', gameCreatorId = ' + gameCreatorId + ', transition = ' + toString_0(transition));
2456
- this.n9o_1.r6r(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
2804
+ this.h9q_1.r6r(GameServer$roomOnCreate$slambda_0(usersArray, config, this, roomId, transition, gameCreatorId, spectators, null));
2457
2805
  };
2458
2806
  protoOf(GameServer).roomOnContinueFromState = function (roomId, state) {
2459
2807
  _get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromState: ' + roomId);
2460
- this.n9o_1.r6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
2461
- this.n9o_1.r6r(GameServer$roomOnContinueFromState$slambda_2(state, null));
2808
+ this.h9q_1.r6r(GameServer$roomOnContinueFromState$slambda_0(state, null));
2809
+ this.h9q_1.r6r(GameServer$roomOnContinueFromState$slambda_2(state, null));
2462
2810
  };
2463
2811
  protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
2464
2812
  _get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnContinueFromRound: ' + roomId + ', round = ' + tableLite.gameInfo.round.roundNumber);
2465
- this.n9o_1.r6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
2466
- this.n9o_1.r6r(GameServer$roomOnContinueFromRound$slambda_2(null));
2813
+ this.h9q_1.r6r(GameServer$roomOnContinueFromRound$slambda_0(tableLite, roomId, this, null));
2814
+ this.h9q_1.r6r(GameServer$roomOnContinueFromRound$slambda_2(null));
2467
2815
  };
2468
2816
  protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
2469
- this.n9o_1.r6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
2817
+ this.h9q_1.r6r(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
2470
2818
  };
2471
2819
  protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
2472
- this.n9o_1.r6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
2820
+ this.h9q_1.r6r(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
2473
2821
  };
2474
2822
  protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
2475
2823
  _get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
2476
- this.n9o_1.r6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
2824
+ this.h9q_1.r6r(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
2477
2825
  };
2478
- protoOf(GameServer).l9x = function (newRid) {
2826
+ protoOf(GameServer).u9z = function (newRid) {
2479
2827
  _get_logger__rkp4sl(this).d('GameEngine_API', 'roomOnDelete: ' + newRid);
2480
- this.n9o_1.r6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
2828
+ this.h9q_1.r6r(GameServer$roomOnDelete$slambda_0(this, newRid, null));
2481
2829
  };
2482
2830
  protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
2483
2831
  _get_logger__rkp4sl(this).d('GameEngine_API', 'setCanStartNewGameEnabled: ' + enabled);
2484
- this.n9o_1.r6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
2832
+ this.h9q_1.r6r(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
2485
2833
  };
2486
- protoOf(GameServer).m9x = function (reason, roomId) {
2834
+ protoOf(GameServer).v9z = function (reason, roomId) {
2487
2835
  _get_logger__rkp4sl(this).d('GameEngine_API', 'shutdown: ' + reason + ', ' + roomId);
2488
- this.n9o_1.r6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
2836
+ this.h9q_1.r6r(GameServer$shutdown$slambda_0(reason, this, roomId, null));
2489
2837
  };
2490
2838
  protoOf(GameServer).clear = function () {
2491
2839
  return this.d2();
@@ -2515,16 +2863,21 @@
2515
2863
  return _get_teamsLogicProvider__u10pm6(receiver);
2516
2864
  }, null);
2517
2865
  }
2518
- function encoderDecoderProvider$factory() {
2519
- return getPropertyCallableRef('encoderDecoderProvider', 1, KProperty1, function (receiver) {
2520
- return _get_encoderDecoderProvider__qqgrji(receiver);
2521
- }, null);
2522
- }
2523
2866
  function idsProvider$factory() {
2524
2867
  return getPropertyCallableRef('idsProvider', 1, KProperty1, function (receiver) {
2525
2868
  return _get_idsProvider__fnfajc(receiver);
2526
2869
  }, null);
2527
2870
  }
2871
+ function serverReduxConfig$factory() {
2872
+ return getPropertyCallableRef('serverReduxConfig', 1, KProperty1, function (receiver) {
2873
+ return _get_serverReduxConfig__rprcrm(receiver);
2874
+ }, null);
2875
+ }
2876
+ function encoderDecoderProvider$factory() {
2877
+ return getPropertyCallableRef('encoderDecoderProvider', 1, KProperty1, function (receiver) {
2878
+ return _get_encoderDecoderProvider__qqgrji(receiver);
2879
+ }, null);
2880
+ }
2528
2881
  function logger$factory_0() {
2529
2882
  return getPropertyCallableRef('logger', 1, KProperty1, function (receiver) {
2530
2883
  return _get_logger__rkp4sl(receiver);
@@ -2550,11 +2903,6 @@
2550
2903
  return _get_teamsLogicProvider__u10pm6(receiver);
2551
2904
  }, null);
2552
2905
  }
2553
- function encoderDecoderProvider$factory_0() {
2554
- return getPropertyCallableRef('encoderDecoderProvider', 1, KProperty1, function (receiver) {
2555
- return _get_encoderDecoderProvider__qqgrji(receiver);
2556
- }, null);
2557
- }
2558
2906
  function random$factory() {
2559
2907
  return getPropertyCallableRef('random', 1, KProperty1, function (receiver) {
2560
2908
  return _get_random__h29cgo(receiver);
@@ -2565,6 +2913,16 @@
2565
2913
  return _get_idsProvider__fnfajc(receiver);
2566
2914
  }, null);
2567
2915
  }
2916
+ function serverReduxConfig$factory_0() {
2917
+ return getPropertyCallableRef('serverReduxConfig', 1, KProperty1, function (receiver) {
2918
+ return _get_serverReduxConfig__rprcrm(receiver);
2919
+ }, null);
2920
+ }
2921
+ function encoderDecoderProvider$factory_0() {
2922
+ return getPropertyCallableRef('encoderDecoderProvider', 1, KProperty1, function (receiver) {
2923
+ return _get_encoderDecoderProvider__qqgrji(receiver);
2924
+ }, null);
2925
+ }
2568
2926
  function get_serverShutdownReasonMapping() {
2569
2927
  _init_properties_ReasonsMappers_kt__p6o0hv();
2570
2928
  return serverShutdownReasonMapping;
@@ -2611,10 +2969,10 @@
2611
2969
  this.fromRound = fromRound;
2612
2970
  this.canStartNewGame = canStartNewGame;
2613
2971
  }
2614
- protoOf(ServerConfig).n9x = function () {
2972
+ protoOf(ServerConfig).w9z = function () {
2615
2973
  return this.fromRound;
2616
2974
  };
2617
- protoOf(ServerConfig).o9x = function () {
2975
+ protoOf(ServerConfig).x9z = function () {
2618
2976
  return this.canStartNewGame;
2619
2977
  };
2620
2978
  protoOf(ServerConfig).ue = function () {
@@ -2623,13 +2981,13 @@
2623
2981
  protoOf(ServerConfig).ve = function () {
2624
2982
  return this.canStartNewGame;
2625
2983
  };
2626
- protoOf(ServerConfig).p9x = function (fromRound, canStartNewGame) {
2984
+ protoOf(ServerConfig).y9z = function (fromRound, canStartNewGame) {
2627
2985
  return new ServerConfig(fromRound, canStartNewGame);
2628
2986
  };
2629
2987
  protoOf(ServerConfig).copy = function (fromRound, canStartNewGame, $super) {
2630
2988
  fromRound = fromRound === VOID ? this.fromRound : fromRound;
2631
2989
  canStartNewGame = canStartNewGame === VOID ? this.canStartNewGame : canStartNewGame;
2632
- return this.p9x(fromRound, canStartNewGame);
2990
+ return this.y9z(fromRound, canStartNewGame);
2633
2991
  };
2634
2992
  protoOf(ServerConfig).toString = function () {
2635
2993
  return 'ServerConfig(fromRound=' + this.fromRound + ', canStartNewGame=' + this.canStartNewGame + ')';
@@ -2651,39 +3009,304 @@
2651
3009
  return false;
2652
3010
  return true;
2653
3011
  };
3012
+ function Companion_1() {
3013
+ }
3014
+ protoOf(Companion_1).b4x = function () {
3015
+ var tmp = getKClass(ServerStateUpdateDto);
3016
+ // Inline function 'kotlin.arrayOf' call
3017
+ // Inline function 'kotlin.js.unsafeCast' call
3018
+ // Inline function 'kotlin.js.asDynamic' call
3019
+ var tmp_0 = [getKClass(ActionsStateUpdateDto), getKClass(TableStateUpdateDto)];
3020
+ // Inline function 'kotlin.arrayOf' call
3021
+ // Inline function 'kotlin.js.unsafeCast' call
3022
+ // Inline function 'kotlin.js.asDynamic' call
3023
+ var tmp_1 = [$serializer_getInstance_0(), $serializer_getInstance()];
3024
+ // Inline function 'kotlin.arrayOf' call
3025
+ // Inline function 'kotlin.js.unsafeCast' call
3026
+ // Inline function 'kotlin.js.asDynamic' call
3027
+ var tmp$ret$8 = [];
3028
+ return SealedClassSerializer_init_$Create$('games.jass.logic.server.data.models.serializable.ServerStateUpdateDto', tmp, tmp_0, tmp_1, tmp$ret$8);
3029
+ };
3030
+ protoOf(Companion_1).y4g = function (typeParamsSerializers) {
3031
+ return this.b4x();
3032
+ };
3033
+ var Companion_instance_9;
3034
+ function Companion_getInstance_2() {
3035
+ return Companion_instance_9;
3036
+ }
3037
+ function ServerStateUpdateDto() {
3038
+ }
3039
+ function Companion_2() {
3040
+ }
3041
+ protoOf(Companion_2).b4x = function () {
3042
+ return $serializer_getInstance();
3043
+ };
3044
+ var Companion_instance_10;
3045
+ function Companion_getInstance_3() {
3046
+ return Companion_instance_10;
3047
+ }
3048
+ function $serializer() {
3049
+ $serializer_instance = this;
3050
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.TableStateUpdateDto', this, 1);
3051
+ tmp0_serialDesc.y4f('table', false);
3052
+ this.z9z_1 = tmp0_serialDesc;
3053
+ }
3054
+ protoOf($serializer).aa0 = function (encoder, value) {
3055
+ var tmp0_desc = this.z9z_1;
3056
+ var tmp1_output = encoder.k48(tmp0_desc);
3057
+ tmp1_output.y49(tmp0_desc, 0, value.table);
3058
+ tmp1_output.l48(tmp0_desc);
3059
+ };
3060
+ protoOf($serializer).x44 = function (encoder, value) {
3061
+ return this.aa0(encoder, value instanceof TableStateUpdateDto ? value : THROW_CCE());
3062
+ };
3063
+ protoOf($serializer).y44 = function (decoder) {
3064
+ var tmp0_desc = this.z9z_1;
3065
+ var tmp1_flag = true;
3066
+ var tmp2_index = 0;
3067
+ var tmp3_bitMask0 = 0;
3068
+ var tmp4_local0 = null;
3069
+ var tmp5_input = decoder.k48(tmp0_desc);
3070
+ if (tmp5_input.z48()) {
3071
+ tmp4_local0 = tmp5_input.u48(tmp0_desc, 0);
3072
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
3073
+ } else
3074
+ while (tmp1_flag) {
3075
+ tmp2_index = tmp5_input.a49(tmp0_desc);
3076
+ switch (tmp2_index) {
3077
+ case -1:
3078
+ tmp1_flag = false;
3079
+ break;
3080
+ case 0:
3081
+ tmp4_local0 = tmp5_input.u48(tmp0_desc, 0);
3082
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
3083
+ break;
3084
+ default:
3085
+ throw UnknownFieldException_init_$Create$(tmp2_index);
3086
+ }
3087
+ }
3088
+ tmp5_input.l48(tmp0_desc);
3089
+ return TableStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
3090
+ };
3091
+ protoOf($serializer).w44 = function () {
3092
+ return this.z9z_1;
3093
+ };
3094
+ protoOf($serializer).n4g = function () {
3095
+ // Inline function 'kotlin.arrayOf' call
3096
+ // Inline function 'kotlin.js.unsafeCast' call
3097
+ // Inline function 'kotlin.js.asDynamic' call
3098
+ return [StringSerializer_getInstance()];
3099
+ };
3100
+ var $serializer_instance;
3101
+ function $serializer_getInstance() {
3102
+ if ($serializer_instance == null)
3103
+ new $serializer();
3104
+ return $serializer_instance;
3105
+ }
3106
+ function TableStateUpdateDto_init_$Init$(seen0, table, serializationConstructorMarker, $this) {
3107
+ if (!(1 === (1 & seen0))) {
3108
+ throwMissingFieldException(seen0, 1, $serializer_getInstance().z9z_1);
3109
+ }
3110
+ $this.table = table;
3111
+ return $this;
3112
+ }
3113
+ function TableStateUpdateDto_init_$Create$(seen0, table, serializationConstructorMarker) {
3114
+ return TableStateUpdateDto_init_$Init$(seen0, table, serializationConstructorMarker, objectCreate(protoOf(TableStateUpdateDto)));
3115
+ }
3116
+ function TableStateUpdateDto(table) {
3117
+ this.table = table;
3118
+ }
3119
+ protoOf(TableStateUpdateDto).s6r = function () {
3120
+ return this.table;
3121
+ };
3122
+ protoOf(TableStateUpdateDto).ue = function () {
3123
+ return this.table;
3124
+ };
3125
+ protoOf(TableStateUpdateDto).b6b = function (table) {
3126
+ return new TableStateUpdateDto(table);
3127
+ };
3128
+ protoOf(TableStateUpdateDto).copy = function (table, $super) {
3129
+ table = table === VOID ? this.table : table;
3130
+ return this.b6b(table);
3131
+ };
3132
+ protoOf(TableStateUpdateDto).toString = function () {
3133
+ return 'TableStateUpdateDto(table=' + this.table + ')';
3134
+ };
3135
+ protoOf(TableStateUpdateDto).hashCode = function () {
3136
+ return getStringHashCode(this.table);
3137
+ };
3138
+ protoOf(TableStateUpdateDto).equals = function (other) {
3139
+ if (this === other)
3140
+ return true;
3141
+ if (!(other instanceof TableStateUpdateDto))
3142
+ return false;
3143
+ var tmp0_other_with_cast = other instanceof TableStateUpdateDto ? other : THROW_CCE();
3144
+ if (!(this.table === tmp0_other_with_cast.table))
3145
+ return false;
3146
+ return true;
3147
+ };
3148
+ function Companion_3() {
3149
+ }
3150
+ protoOf(Companion_3).b4x = function () {
3151
+ return $serializer_getInstance_0();
3152
+ };
3153
+ var Companion_instance_11;
3154
+ function Companion_getInstance_4() {
3155
+ return Companion_instance_11;
3156
+ }
3157
+ function $serializer_0() {
3158
+ $serializer_instance_0 = this;
3159
+ var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('games.jass.logic.server.data.models.serializable.ActionsStateUpdateDto', this, 1);
3160
+ tmp0_serialDesc.y4f('actions', false);
3161
+ this.ba0_1 = tmp0_serialDesc;
3162
+ }
3163
+ protoOf($serializer_0).ca0 = function (encoder, value) {
3164
+ var tmp0_desc = this.ba0_1;
3165
+ var tmp1_output = encoder.k48(tmp0_desc);
3166
+ tmp1_output.y49(tmp0_desc, 0, value.actions);
3167
+ tmp1_output.l48(tmp0_desc);
3168
+ };
3169
+ protoOf($serializer_0).x44 = function (encoder, value) {
3170
+ return this.ca0(encoder, value instanceof ActionsStateUpdateDto ? value : THROW_CCE());
3171
+ };
3172
+ protoOf($serializer_0).y44 = function (decoder) {
3173
+ var tmp0_desc = this.ba0_1;
3174
+ var tmp1_flag = true;
3175
+ var tmp2_index = 0;
3176
+ var tmp3_bitMask0 = 0;
3177
+ var tmp4_local0 = null;
3178
+ var tmp5_input = decoder.k48(tmp0_desc);
3179
+ if (tmp5_input.z48()) {
3180
+ tmp4_local0 = tmp5_input.u48(tmp0_desc, 0);
3181
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
3182
+ } else
3183
+ while (tmp1_flag) {
3184
+ tmp2_index = tmp5_input.a49(tmp0_desc);
3185
+ switch (tmp2_index) {
3186
+ case -1:
3187
+ tmp1_flag = false;
3188
+ break;
3189
+ case 0:
3190
+ tmp4_local0 = tmp5_input.u48(tmp0_desc, 0);
3191
+ tmp3_bitMask0 = tmp3_bitMask0 | 1;
3192
+ break;
3193
+ default:
3194
+ throw UnknownFieldException_init_$Create$(tmp2_index);
3195
+ }
3196
+ }
3197
+ tmp5_input.l48(tmp0_desc);
3198
+ return ActionsStateUpdateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
3199
+ };
3200
+ protoOf($serializer_0).w44 = function () {
3201
+ return this.ba0_1;
3202
+ };
3203
+ protoOf($serializer_0).n4g = function () {
3204
+ // Inline function 'kotlin.arrayOf' call
3205
+ // Inline function 'kotlin.js.unsafeCast' call
3206
+ // Inline function 'kotlin.js.asDynamic' call
3207
+ return [StringSerializer_getInstance()];
3208
+ };
3209
+ var $serializer_instance_0;
3210
+ function $serializer_getInstance_0() {
3211
+ if ($serializer_instance_0 == null)
3212
+ new $serializer_0();
3213
+ return $serializer_instance_0;
3214
+ }
3215
+ function ActionsStateUpdateDto_init_$Init$(seen0, actions, serializationConstructorMarker, $this) {
3216
+ if (!(1 === (1 & seen0))) {
3217
+ throwMissingFieldException(seen0, 1, $serializer_getInstance_0().ba0_1);
3218
+ }
3219
+ $this.actions = actions;
3220
+ return $this;
3221
+ }
3222
+ function ActionsStateUpdateDto_init_$Create$(seen0, actions, serializationConstructorMarker) {
3223
+ return ActionsStateUpdateDto_init_$Init$(seen0, actions, serializationConstructorMarker, objectCreate(protoOf(ActionsStateUpdateDto)));
3224
+ }
3225
+ function ActionsStateUpdateDto(actions) {
3226
+ this.actions = actions;
3227
+ }
3228
+ protoOf(ActionsStateUpdateDto).j8f = function () {
3229
+ return this.actions;
3230
+ };
3231
+ protoOf(ActionsStateUpdateDto).ue = function () {
3232
+ return this.actions;
3233
+ };
3234
+ protoOf(ActionsStateUpdateDto).b6b = function (actions) {
3235
+ return new ActionsStateUpdateDto(actions);
3236
+ };
3237
+ protoOf(ActionsStateUpdateDto).copy = function (actions, $super) {
3238
+ actions = actions === VOID ? this.actions : actions;
3239
+ return this.b6b(actions);
3240
+ };
3241
+ protoOf(ActionsStateUpdateDto).toString = function () {
3242
+ return 'ActionsStateUpdateDto(actions=' + this.actions + ')';
3243
+ };
3244
+ protoOf(ActionsStateUpdateDto).hashCode = function () {
3245
+ return getStringHashCode(this.actions);
3246
+ };
3247
+ protoOf(ActionsStateUpdateDto).equals = function (other) {
3248
+ if (this === other)
3249
+ return true;
3250
+ if (!(other instanceof ActionsStateUpdateDto))
3251
+ return false;
3252
+ var tmp0_other_with_cast = other instanceof ActionsStateUpdateDto ? other : THROW_CCE();
3253
+ if (!(this.actions === tmp0_other_with_cast.actions))
3254
+ return false;
3255
+ return true;
3256
+ };
3257
+ function mapToDto_1(_this__u8e3s4, encoderDecoderProvider) {
3258
+ var tmp;
3259
+ if (_this__u8e3s4 instanceof ActionsStateUpdate) {
3260
+ tmp = mapToDto_2(_this__u8e3s4, encoderDecoderProvider);
3261
+ } else {
3262
+ if (_this__u8e3s4 instanceof TableStateUpdate) {
3263
+ tmp = mapToDto_3(_this__u8e3s4, encoderDecoderProvider);
3264
+ } else {
3265
+ noWhenBranchMatchedException();
3266
+ }
3267
+ }
3268
+ return tmp;
3269
+ }
3270
+ function mapToDto_2(_this__u8e3s4, encoderDecoderProvider) {
3271
+ // Inline function 'kotlin.collections.map' call
3272
+ var this_0 = _this__u8e3s4.actions;
3273
+ // Inline function 'kotlin.collections.mapTo' call
3274
+ var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_0, 10));
3275
+ var tmp0_iterator = this_0.j();
3276
+ while (tmp0_iterator.k()) {
3277
+ var item = tmp0_iterator.l();
3278
+ // Inline function 'games.jass.logic.server.data.models.serializable.mapToDto.<anonymous>' call
3279
+ var tmp$ret$0 = mapToDto(item);
3280
+ destination.e(tmp$ret$0);
3281
+ }
3282
+ return new ActionsStateUpdateDto(encoderDecoderProvider.d8m(destination));
3283
+ }
3284
+ function mapToDto_3(_this__u8e3s4, encoderDecoderProvider) {
3285
+ return new TableStateUpdateDto(encoderDecoderProvider.b8m(mapToDto_0(_this__u8e3s4.table)));
3286
+ }
2654
3287
  function ServerStateUpdate() {
2655
3288
  }
2656
- function TableStateUpdate(table, tableJson) {
3289
+ function TableStateUpdate(table) {
2657
3290
  this.table = table;
2658
- this.tableJson = tableJson;
2659
3291
  }
2660
3292
  protoOf(TableStateUpdate).s6r = function () {
2661
3293
  return this.table;
2662
3294
  };
2663
- protoOf(TableStateUpdate).q9x = function () {
2664
- return this.tableJson;
2665
- };
2666
3295
  protoOf(TableStateUpdate).ue = function () {
2667
3296
  return this.table;
2668
3297
  };
2669
- protoOf(TableStateUpdate).ve = function () {
2670
- return this.tableJson;
2671
- };
2672
- protoOf(TableStateUpdate).r9x = function (table, tableJson) {
2673
- return new TableStateUpdate(table, tableJson);
3298
+ protoOf(TableStateUpdate).da0 = function (table) {
3299
+ return new TableStateUpdate(table);
2674
3300
  };
2675
- protoOf(TableStateUpdate).copy = function (table, tableJson, $super) {
3301
+ protoOf(TableStateUpdate).copy = function (table, $super) {
2676
3302
  table = table === VOID ? this.table : table;
2677
- tableJson = tableJson === VOID ? this.tableJson : tableJson;
2678
- return this.r9x(table, tableJson);
3303
+ return this.da0(table);
2679
3304
  };
2680
3305
  protoOf(TableStateUpdate).toString = function () {
2681
- return 'TableStateUpdate(table=' + this.table.toString() + ', tableJson=' + this.tableJson + ')';
3306
+ return 'TableStateUpdate(table=' + this.table.toString() + ')';
2682
3307
  };
2683
3308
  protoOf(TableStateUpdate).hashCode = function () {
2684
- var result = this.table.hashCode();
2685
- result = imul(result, 31) + getStringHashCode(this.tableJson) | 0;
2686
- return result;
3309
+ return this.table.hashCode();
2687
3310
  };
2688
3311
  protoOf(TableStateUpdate).equals = function (other) {
2689
3312
  if (this === other)
@@ -2693,41 +3316,29 @@
2693
3316
  var tmp0_other_with_cast = other instanceof TableStateUpdate ? other : THROW_CCE();
2694
3317
  if (!this.table.equals(tmp0_other_with_cast.table))
2695
3318
  return false;
2696
- if (!(this.tableJson === tmp0_other_with_cast.tableJson))
2697
- return false;
2698
3319
  return true;
2699
3320
  };
2700
- function ActionsStateUpdate(actions, actionsJson) {
3321
+ function ActionsStateUpdate(actions) {
2701
3322
  this.actions = actions;
2702
- this.actionsJson = actionsJson;
2703
3323
  }
2704
- protoOf(ActionsStateUpdate).h8f = function () {
3324
+ protoOf(ActionsStateUpdate).j8f = function () {
2705
3325
  return this.actions;
2706
3326
  };
2707
- protoOf(ActionsStateUpdate).s9x = function () {
2708
- return this.actionsJson;
2709
- };
2710
3327
  protoOf(ActionsStateUpdate).ue = function () {
2711
3328
  return this.actions;
2712
3329
  };
2713
- protoOf(ActionsStateUpdate).ve = function () {
2714
- return this.actionsJson;
2715
- };
2716
- protoOf(ActionsStateUpdate).t9x = function (actions, actionsJson) {
2717
- return new ActionsStateUpdate(actions, actionsJson);
3330
+ protoOf(ActionsStateUpdate).ea0 = function (actions) {
3331
+ return new ActionsStateUpdate(actions);
2718
3332
  };
2719
- protoOf(ActionsStateUpdate).copy = function (actions, actionsJson, $super) {
3333
+ protoOf(ActionsStateUpdate).copy = function (actions, $super) {
2720
3334
  actions = actions === VOID ? this.actions : actions;
2721
- actionsJson = actionsJson === VOID ? this.actionsJson : actionsJson;
2722
- return this.t9x(actions, actionsJson);
3335
+ return this.ea0(actions);
2723
3336
  };
2724
3337
  protoOf(ActionsStateUpdate).toString = function () {
2725
- return 'ActionsStateUpdate(actions=' + toString(this.actions) + ', actionsJson=' + this.actionsJson + ')';
3338
+ return 'ActionsStateUpdate(actions=' + toString(this.actions) + ')';
2726
3339
  };
2727
3340
  protoOf(ActionsStateUpdate).hashCode = function () {
2728
- var result = hashCode(this.actions);
2729
- result = imul(result, 31) + getStringHashCode(this.actionsJson) | 0;
2730
- return result;
3341
+ return hashCode(this.actions);
2731
3342
  };
2732
3343
  protoOf(ActionsStateUpdate).equals = function (other) {
2733
3344
  if (this === other)
@@ -2737,8 +3348,6 @@
2737
3348
  var tmp0_other_with_cast = other instanceof ActionsStateUpdate ? other : THROW_CCE();
2738
3349
  if (!equals(this.actions, tmp0_other_with_cast.actions))
2739
3350
  return false;
2740
- if (!(this.actionsJson === tmp0_other_with_cast.actionsJson))
2741
- return false;
2742
3351
  return true;
2743
3352
  };
2744
3353
  function getServerEngineGameDI(engineBotConfig, engineLogicConfig, dealerConfig) {
@@ -2969,18 +3578,18 @@
2969
3578
  function ToClientEventsObserver() {
2970
3579
  }
2971
3580
  function ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation) {
2972
- this.d9y_1 = this$0;
2973
- this.e9y_1 = $actions;
3581
+ this.oa0_1 = this$0;
3582
+ this.pa0_1 = $actions;
2974
3583
  CoroutineImpl.call(this, resultContinuation);
2975
3584
  }
2976
- protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).l9y = function ($this$flow, $completion) {
2977
- var tmp = this.m9y($this$flow, $completion);
3585
+ protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).wa0 = function ($this$flow, $completion) {
3586
+ var tmp = this.xa0($this$flow, $completion);
2978
3587
  tmp.l9_1 = Unit_instance;
2979
3588
  tmp.m9_1 = null;
2980
3589
  return tmp.r9();
2981
3590
  };
2982
3591
  protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).ba = function (p1, $completion) {
2983
- return this.l9y((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
3592
+ return this.wa0((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
2984
3593
  };
2985
3594
  protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).r9 = function () {
2986
3595
  var suspendResult = this.l9_1;
@@ -2991,23 +3600,23 @@
2991
3600
  case 0:
2992
3601
  this.k9_1 = 4;
2993
3602
  var tmp_0 = this;
2994
- tmp_0.g9y_1 = this.d9y_1.r9y_1;
3603
+ tmp_0.ra0_1 = this.oa0_1.ca1_1;
2995
3604
  var tmp_1 = this;
2996
- tmp_1.h9y_1 = transformToEmits(this.d9y_1, this.e9y_1);
2997
- this.i9y_1 = this.h9y_1.j();
3605
+ tmp_1.sa0_1 = transformToEmits(this.oa0_1, this.pa0_1);
3606
+ this.ta0_1 = this.sa0_1.j();
2998
3607
  this.j9_1 = 1;
2999
3608
  continue $sm;
3000
3609
  case 1:
3001
- if (!this.i9y_1.k()) {
3610
+ if (!this.ta0_1.k()) {
3002
3611
  this.j9_1 = 3;
3003
3612
  continue $sm;
3004
3613
  }
3005
3614
 
3006
- this.j9y_1 = this.i9y_1.l();
3615
+ this.ua0_1 = this.ta0_1.l();
3007
3616
  var tmp_2 = this;
3008
- tmp_2.k9y_1 = this.j9y_1;
3617
+ tmp_2.va0_1 = this.ua0_1;
3009
3618
  this.j9_1 = 2;
3010
- suspendResult = this.f9y_1.r18(this.k9y_1, this);
3619
+ suspendResult = this.qa0_1.r18(this.va0_1, this);
3011
3620
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3012
3621
  return suspendResult;
3013
3622
  }
@@ -3018,10 +3627,10 @@
3018
3627
  continue $sm;
3019
3628
  case 3:
3020
3629
  l$ret$1: do {
3021
- var this_0 = this.d9y_1.q9y_1;
3630
+ var this_0 = this.oa0_1.ba1_1;
3022
3631
  while (true) {
3023
3632
  var cur = this_0.kotlinx$atomicfu$value;
3024
- var upd = cur - this.e9y_1.m() | 0;
3633
+ var upd = cur - this.pa0_1.m() | 0;
3025
3634
  if (this_0.atomicfu$compareAndSet(cur, upd)) {
3026
3635
  break l$ret$1;
3027
3636
  }
@@ -3043,15 +3652,15 @@
3043
3652
  }
3044
3653
  while (true);
3045
3654
  };
3046
- protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).m9y = function ($this$flow, completion) {
3047
- var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.d9y_1, this.e9y_1, completion);
3048
- i.f9y_1 = $this$flow;
3655
+ protoOf(ToClientEventsObserverImpl$observeEvents$slambda$slambda).xa0 = function ($this$flow, completion) {
3656
+ var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this.oa0_1, this.pa0_1, completion);
3657
+ i.qa0_1 = $this$flow;
3049
3658
  return i;
3050
3659
  };
3051
3660
  function ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
3052
3661
  var i = new ToClientEventsObserverImpl$observeEvents$slambda$slambda(this$0, $actions, resultContinuation);
3053
3662
  var l = function ($this$flow, $completion) {
3054
- return i.l9y($this$flow, $completion);
3663
+ return i.wa0($this$flow, $completion);
3055
3664
  };
3056
3665
  l.$arity = 1;
3057
3666
  return l;
@@ -3124,29 +3733,29 @@
3124
3733
  return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
3125
3734
  }
3126
3735
  function mapFromGroupKey(_this__u8e3s4, $this) {
3127
- var tmp = $this.p9y_1.k6i();
3736
+ var tmp = $this.aa1_1.k6i();
3128
3737
  // Inline function 'kotlin.collections.toTypedArray' call
3129
- var this_0 = _this__u8e3s4.u9y_1;
3738
+ var this_0 = _this__u8e3s4.fa1_1;
3130
3739
  var tmp_0 = copyToArray(this_0);
3131
3740
  // Inline function 'kotlin.collections.toTypedArray' call
3132
- var this_1 = _this__u8e3s4.v9y_1;
3741
+ var this_1 = _this__u8e3s4.ga1_1;
3133
3742
  var tmp$ret$1 = copyToArray(this_1);
3134
- return new ActionDeliveryPayload(_this__u8e3s4.t9y_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.w9y_1);
3743
+ return new ActionDeliveryPayload(_this__u8e3s4.ea1_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.ha1_1);
3135
3744
  }
3136
3745
  function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
3137
- this.t9y_1 = tableId;
3138
- this.u9y_1 = includePlayers;
3139
- this.v9y_1 = excludePlayers;
3140
- this.w9y_1 = deliveryType;
3746
+ this.ea1_1 = tableId;
3747
+ this.fa1_1 = includePlayers;
3748
+ this.ga1_1 = excludePlayers;
3749
+ this.ha1_1 = deliveryType;
3141
3750
  }
3142
3751
  protoOf(GroupKey).toString = function () {
3143
- return 'GroupKey(tableId=' + this.t9y_1 + ', includePlayers=' + toString(this.u9y_1) + ', excludePlayers=' + toString(this.v9y_1) + ', deliveryType=' + this.w9y_1.toString() + ')';
3752
+ return 'GroupKey(tableId=' + this.ea1_1 + ', includePlayers=' + toString(this.fa1_1) + ', excludePlayers=' + toString(this.ga1_1) + ', deliveryType=' + this.ha1_1.toString() + ')';
3144
3753
  };
3145
3754
  protoOf(GroupKey).hashCode = function () {
3146
- var result = getStringHashCode(this.t9y_1);
3147
- result = imul(result, 31) + hashCode(this.u9y_1) | 0;
3148
- result = imul(result, 31) + hashCode(this.v9y_1) | 0;
3149
- result = imul(result, 31) + this.w9y_1.hashCode() | 0;
3755
+ var result = getStringHashCode(this.ea1_1);
3756
+ result = imul(result, 31) + hashCode(this.fa1_1) | 0;
3757
+ result = imul(result, 31) + hashCode(this.ga1_1) | 0;
3758
+ result = imul(result, 31) + this.ha1_1.hashCode() | 0;
3150
3759
  return result;
3151
3760
  };
3152
3761
  protoOf(GroupKey).equals = function (other) {
@@ -3155,35 +3764,35 @@
3155
3764
  if (!(other instanceof GroupKey))
3156
3765
  return false;
3157
3766
  var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
3158
- if (!(this.t9y_1 === tmp0_other_with_cast.t9y_1))
3767
+ if (!(this.ea1_1 === tmp0_other_with_cast.ea1_1))
3159
3768
  return false;
3160
- if (!equals(this.u9y_1, tmp0_other_with_cast.u9y_1))
3769
+ if (!equals(this.fa1_1, tmp0_other_with_cast.fa1_1))
3161
3770
  return false;
3162
- if (!equals(this.v9y_1, tmp0_other_with_cast.v9y_1))
3771
+ if (!equals(this.ga1_1, tmp0_other_with_cast.ga1_1))
3163
3772
  return false;
3164
- if (!this.w9y_1.equals(tmp0_other_with_cast.w9y_1))
3773
+ if (!this.ha1_1.equals(tmp0_other_with_cast.ha1_1))
3165
3774
  return false;
3166
3775
  return true;
3167
3776
  };
3168
- function Companion_1() {
3169
- this.x9y_1 = 6;
3777
+ function Companion_4() {
3778
+ this.ia1_1 = 6;
3170
3779
  }
3171
- var Companion_instance_9;
3172
- function Companion_getInstance_2() {
3173
- return Companion_instance_9;
3780
+ var Companion_instance_12;
3781
+ function Companion_getInstance_5() {
3782
+ return Companion_instance_12;
3174
3783
  }
3175
3784
  function ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation) {
3176
- this.g9z_1 = this$0;
3785
+ this.ra1_1 = this$0;
3177
3786
  CoroutineImpl.call(this, resultContinuation);
3178
3787
  }
3179
- protoOf(ToClientEventsObserverImpl$observeEvents$slambda).i9z = function (actions, $completion) {
3180
- var tmp = this.j9z(actions, $completion);
3788
+ protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ta1 = function (actions, $completion) {
3789
+ var tmp = this.ua1(actions, $completion);
3181
3790
  tmp.l9_1 = Unit_instance;
3182
3791
  tmp.m9_1 = null;
3183
3792
  return tmp.r9();
3184
3793
  };
3185
3794
  protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ba = function (p1, $completion) {
3186
- return this.i9z((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
3795
+ return this.ta1((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
3187
3796
  };
3188
3797
  protoOf(ToClientEventsObserverImpl$observeEvents$slambda).r9 = function () {
3189
3798
  var suspendResult = this.l9_1;
@@ -3192,7 +3801,7 @@
3192
3801
  var tmp = this.j9_1;
3193
3802
  if (tmp === 0) {
3194
3803
  this.k9_1 = 1;
3195
- return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.g9z_1, this.h9z_1, null));
3804
+ return flow(ToClientEventsObserverImpl$observeEvents$slambda$slambda_0(this.ra1_1, this.sa1_1, null));
3196
3805
  } else if (tmp === 1) {
3197
3806
  throw this.m9_1;
3198
3807
  }
@@ -3202,25 +3811,25 @@
3202
3811
  }
3203
3812
  while (true);
3204
3813
  };
3205
- protoOf(ToClientEventsObserverImpl$observeEvents$slambda).j9z = function (actions, completion) {
3206
- var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.g9z_1, completion);
3207
- i.h9z_1 = actions;
3814
+ protoOf(ToClientEventsObserverImpl$observeEvents$slambda).ua1 = function (actions, completion) {
3815
+ var i = new ToClientEventsObserverImpl$observeEvents$slambda(this.ra1_1, completion);
3816
+ i.sa1_1 = actions;
3208
3817
  return i;
3209
3818
  };
3210
3819
  function ToClientEventsObserverImpl$observeEvents$slambda_0(this$0, resultContinuation) {
3211
3820
  var i = new ToClientEventsObserverImpl$observeEvents$slambda(this$0, resultContinuation);
3212
3821
  var l = function (actions, $completion) {
3213
- return i.i9z(actions, $completion);
3822
+ return i.ta1(actions, $completion);
3214
3823
  };
3215
3824
  l.$arity = 1;
3216
3825
  return l;
3217
3826
  }
3218
- function $sentEventCOROUTINE$3(_this__u8e3s4, fromEvent, resultContinuation) {
3827
+ function $sentEventCOROUTINE$5(_this__u8e3s4, fromEvent, resultContinuation) {
3219
3828
  CoroutineImpl.call(this, resultContinuation);
3220
- this.s9z_1 = _this__u8e3s4;
3221
- this.t9z_1 = fromEvent;
3829
+ this.da2_1 = _this__u8e3s4;
3830
+ this.ea2_1 = fromEvent;
3222
3831
  }
3223
- protoOf($sentEventCOROUTINE$3).r9 = function () {
3832
+ protoOf($sentEventCOROUTINE$5).r9 = function () {
3224
3833
  var suspendResult = this.l9_1;
3225
3834
  $sm: do
3226
3835
  try {
@@ -3229,9 +3838,9 @@
3229
3838
  case 0:
3230
3839
  this.k9_1 = 2;
3231
3840
  var tmp_0 = this;
3232
- tmp_0.u9z_1 = this.s9z_1.r9y_1;
3841
+ tmp_0.fa2_1 = this.da2_1.ca1_1;
3233
3842
  l$ret$1: do {
3234
- var this_0 = this.s9z_1.q9y_1;
3843
+ var this_0 = this.da2_1.ba1_1;
3235
3844
  while (true) {
3236
3845
  var cur = this_0.kotlinx$atomicfu$value;
3237
3846
  var upd = cur + 1 | 0;
@@ -3242,7 +3851,7 @@
3242
3851
  }
3243
3852
  while (false);
3244
3853
  this.j9_1 = 1;
3245
- suspendResult = this.s9z_1.s9y_1.r18(this.t9z_1, this);
3854
+ suspendResult = this.da2_1.da1_1.r18(this.ea2_1, this);
3246
3855
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3247
3856
  return suspendResult;
3248
3857
  }
@@ -3264,11 +3873,11 @@
3264
3873
  }
3265
3874
  while (true);
3266
3875
  };
3267
- function $waitForCOROUTINE$4(_this__u8e3s4, resultContinuation) {
3876
+ function $waitForCOROUTINE$6(_this__u8e3s4, resultContinuation) {
3268
3877
  CoroutineImpl.call(this, resultContinuation);
3269
- this.da0_1 = _this__u8e3s4;
3878
+ this.oa2_1 = _this__u8e3s4;
3270
3879
  }
3271
- protoOf($waitForCOROUTINE$4).r9 = function () {
3880
+ protoOf($waitForCOROUTINE$6).r9 = function () {
3272
3881
  var suspendResult = this.l9_1;
3273
3882
  $sm: do
3274
3883
  try {
@@ -3277,12 +3886,12 @@
3277
3886
  case 0:
3278
3887
  this.k9_1 = 5;
3279
3888
  var tmp_0 = this;
3280
- tmp_0.ea0_1 = this.da0_1.r9y_1;
3281
- this.fa0_1 = 0;
3889
+ tmp_0.pa2_1 = this.oa2_1.ca1_1;
3890
+ this.qa2_1 = 0;
3282
3891
  this.j9_1 = 1;
3283
3892
  continue $sm;
3284
3893
  case 1:
3285
- if (!!(this.da0_1.q9y_1.kotlinx$atomicfu$value === 0)) {
3894
+ if (!!(this.oa2_1.ba1_1.kotlinx$atomicfu$value === 0)) {
3286
3895
  this.j9_1 = 4;
3287
3896
  continue $sm;
3288
3897
  }
@@ -3295,9 +3904,9 @@
3295
3904
 
3296
3905
  continue $sm;
3297
3906
  case 2:
3298
- this.fa0_1 = this.fa0_1 + 1 | 0;
3299
- if (this.fa0_1 > 6) {
3300
- this.da0_1.o9y_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.da0_1.q9y_1.kotlinx$atomicfu$value);
3907
+ this.qa2_1 = this.qa2_1 + 1 | 0;
3908
+ if (this.qa2_1 > 6) {
3909
+ this.oa2_1.za0_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.oa2_1.ba1_1.kotlinx$atomicfu$value);
3301
3910
  this.j9_1 = 4;
3302
3911
  continue $sm;
3303
3912
  } else {
@@ -3325,42 +3934,42 @@
3325
3934
  while (true);
3326
3935
  };
3327
3936
  function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
3328
- this.n9y_1 = serverReduxConfig;
3329
- this.o9y_1 = logger;
3330
- this.p9y_1 = idsProvider;
3331
- this.q9y_1 = atomic$ref$1(0);
3937
+ this.ya0_1 = serverReduxConfig;
3938
+ this.za0_1 = logger;
3939
+ this.aa1_1 = idsProvider;
3940
+ this.ba1_1 = atomic$ref$1(0);
3332
3941
  var tmp = this;
3333
3942
  // Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
3334
- tmp.r9y_1 = get_atomicfu$reentrantLock();
3335
- this.s9y_1 = MutableSharedFlow();
3943
+ tmp.ca1_1 = get_atomicfu$reentrantLock();
3944
+ this.da1_1 = MutableSharedFlow();
3336
3945
  }
3337
- protoOf(ToClientEventsObserverImpl).u9x = function (fromEvent, $completion) {
3338
- var tmp = new $sentEventCOROUTINE$3(this, fromEvent, $completion);
3946
+ protoOf(ToClientEventsObserverImpl).fa0 = function (fromEvent, $completion) {
3947
+ var tmp = new $sentEventCOROUTINE$5(this, fromEvent, $completion);
3339
3948
  tmp.l9_1 = Unit_instance;
3340
3949
  tmp.m9_1 = null;
3341
3950
  return tmp.r9();
3342
3951
  };
3343
- protoOf(ToClientEventsObserverImpl).u9a = function ($completion) {
3344
- var tmp = new $waitForCOROUTINE$4(this, $completion);
3952
+ protoOf(ToClientEventsObserverImpl).w9a = function ($completion) {
3953
+ var tmp = new $waitForCOROUTINE$6(this, $completion);
3345
3954
  tmp.l9_1 = Unit_instance;
3346
3955
  tmp.m9_1 = null;
3347
3956
  return tmp.r9();
3348
3957
  };
3349
- protoOf(ToClientEventsObserverImpl).e9p = function () {
3350
- if (!this.n9y_1.enabledCombinedEvents) {
3351
- return this.s9y_1;
3958
+ protoOf(ToClientEventsObserverImpl).a9r = function () {
3959
+ if (!this.ya0_1.enabledCombinedEvents) {
3960
+ return this.da1_1;
3352
3961
  }
3353
- var tmp = windowedByInterval(this.s9y_1, toLong(this.n9y_1.combinedEventsPeriod));
3962
+ var tmp = windowedByInterval(this.da1_1, toLong(this.ya0_1.combinedEventsIntervalMillis));
3354
3963
  return flatMapConcat(tmp, ToClientEventsObserverImpl$observeEvents$slambda_0(this, null));
3355
3964
  };
3356
3965
  function UpdateServerConfigAction(serverConfig) {
3357
- this.ga0_1 = serverConfig;
3966
+ this.ra2_1 = serverConfig;
3358
3967
  }
3359
3968
  protoOf(UpdateServerConfigAction).toString = function () {
3360
- return 'UpdateServerConfigAction(serverConfig=' + this.ga0_1.toString() + ')';
3969
+ return 'UpdateServerConfigAction(serverConfig=' + this.ra2_1.toString() + ')';
3361
3970
  };
3362
3971
  protoOf(UpdateServerConfigAction).hashCode = function () {
3363
- return this.ga0_1.hashCode();
3972
+ return this.ra2_1.hashCode();
3364
3973
  };
3365
3974
  protoOf(UpdateServerConfigAction).equals = function (other) {
3366
3975
  if (this === other)
@@ -3368,20 +3977,20 @@
3368
3977
  if (!(other instanceof UpdateServerConfigAction))
3369
3978
  return false;
3370
3979
  var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
3371
- if (!this.ga0_1.equals(tmp0_other_with_cast.ga0_1))
3980
+ if (!this.ra2_1.equals(tmp0_other_with_cast.ra2_1))
3372
3981
  return false;
3373
3982
  return true;
3374
3983
  };
3375
3984
  function SpectatorsAction() {
3376
3985
  }
3377
3986
  function AddSpectatorsAction(spectators) {
3378
- this.ha0_1 = spectators;
3987
+ this.sa2_1 = spectators;
3379
3988
  }
3380
3989
  protoOf(AddSpectatorsAction).toString = function () {
3381
- return 'AddSpectatorsAction(spectators=' + toString(this.ha0_1) + ')';
3990
+ return 'AddSpectatorsAction(spectators=' + toString(this.sa2_1) + ')';
3382
3991
  };
3383
3992
  protoOf(AddSpectatorsAction).hashCode = function () {
3384
- return hashCode(this.ha0_1);
3993
+ return hashCode(this.sa2_1);
3385
3994
  };
3386
3995
  protoOf(AddSpectatorsAction).equals = function (other) {
3387
3996
  if (this === other)
@@ -3389,18 +3998,18 @@
3389
3998
  if (!(other instanceof AddSpectatorsAction))
3390
3999
  return false;
3391
4000
  var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
3392
- if (!equals(this.ha0_1, tmp0_other_with_cast.ha0_1))
4001
+ if (!equals(this.sa2_1, tmp0_other_with_cast.sa2_1))
3393
4002
  return false;
3394
4003
  return true;
3395
4004
  };
3396
4005
  function RemoveSpectatorsAction(spectators) {
3397
- this.ia0_1 = spectators;
4006
+ this.ta2_1 = spectators;
3398
4007
  }
3399
4008
  protoOf(RemoveSpectatorsAction).toString = function () {
3400
- return 'RemoveSpectatorsAction(spectators=' + toString(this.ia0_1) + ')';
4009
+ return 'RemoveSpectatorsAction(spectators=' + toString(this.ta2_1) + ')';
3401
4010
  };
3402
4011
  protoOf(RemoveSpectatorsAction).hashCode = function () {
3403
- return hashCode(this.ia0_1);
4012
+ return hashCode(this.ta2_1);
3404
4013
  };
3405
4014
  protoOf(RemoveSpectatorsAction).equals = function (other) {
3406
4015
  if (this === other)
@@ -3408,91 +4017,91 @@
3408
4017
  if (!(other instanceof RemoveSpectatorsAction))
3409
4018
  return false;
3410
4019
  var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
3411
- if (!equals(this.ia0_1, tmp0_other_with_cast.ia0_1))
4020
+ if (!equals(this.ta2_1, tmp0_other_with_cast.ta2_1))
3412
4021
  return false;
3413
4022
  return true;
3414
4023
  };
3415
4024
  function _get_asyncProvider__jbpyhw($this) {
3416
4025
  // Inline function 'kotlin.getValue' call
3417
- var this_0 = $this.oa0_1;
4026
+ var this_0 = $this.za2_1;
3418
4027
  asyncProvider$factory_0();
3419
4028
  return this_0.u();
3420
4029
  }
3421
4030
  function _get_logger__rkp4sl_0($this) {
3422
4031
  // Inline function 'kotlin.getValue' call
3423
- var this_0 = $this.pa0_1;
4032
+ var this_0 = $this.aa3_1;
3424
4033
  logger$factory_2();
3425
4034
  return this_0.u();
3426
4035
  }
3427
4036
  function _get_playerConnectionInteractor__si6cxf_0($this) {
3428
4037
  // Inline function 'kotlin.getValue' call
3429
- var this_0 = $this.qa0_1;
4038
+ var this_0 = $this.ba3_1;
3430
4039
  playerConnectionInteractor$factory_2();
3431
4040
  return this_0.u();
3432
4041
  }
3433
4042
  function _get_lastCardInteractor__h6lq3w($this) {
3434
4043
  // Inline function 'kotlin.getValue' call
3435
- var this_0 = $this.ra0_1;
4044
+ var this_0 = $this.ca3_1;
3436
4045
  lastCardInteractor$factory_0();
3437
4046
  return this_0.u();
3438
4047
  }
3439
4048
  function _get_serverConfig__rk2g06($this) {
3440
4049
  // Inline function 'kotlin.getValue' call
3441
- var this_0 = $this.sa0_1;
4050
+ var this_0 = $this.da3_1;
3442
4051
  serverConfig$factory_0();
3443
4052
  return this_0.u();
3444
4053
  }
3445
4054
  function _get_logicConfig__52ww9d($this) {
3446
4055
  // Inline function 'kotlin.getValue' call
3447
- var this_0 = $this.ta0_1;
4056
+ var this_0 = $this.ea3_1;
3448
4057
  logicConfig$factory_0();
3449
4058
  return this_0.u();
3450
4059
  }
3451
4060
  function _get_idsProvider__fnfajc_0($this) {
3452
4061
  // Inline function 'kotlin.getValue' call
3453
- var this_0 = $this.ua0_1;
4062
+ var this_0 = $this.fa3_1;
3454
4063
  idsProvider$factory_2();
3455
4064
  return this_0.u();
3456
4065
  }
3457
4066
  function _get_botConfig__cpaxzc($this) {
3458
4067
  // Inline function 'kotlin.getValue' call
3459
- var this_0 = $this.va0_1;
4068
+ var this_0 = $this.ga3_1;
3460
4069
  botConfig$factory_0();
3461
4070
  return this_0.u();
3462
4071
  }
3463
4072
  function _get_scenePositionProvider__kn0n1n($this) {
3464
4073
  // Inline function 'kotlin.getValue' call
3465
- var this_0 = $this.wa0_1;
4074
+ var this_0 = $this.ha3_1;
3466
4075
  scenePositionProvider$factory_0();
3467
4076
  return this_0.u();
3468
4077
  }
3469
4078
  function _get_toClientEventsObserver__6rp51y_0($this) {
3470
4079
  // Inline function 'kotlin.getValue' call
3471
- var this_0 = $this.xa0_1;
4080
+ var this_0 = $this.ia3_1;
3472
4081
  toClientEventsObserver$factory_2();
3473
4082
  return this_0.u();
3474
4083
  }
3475
4084
  function _get_fromClientEventsObserver__a7vzd3_0($this) {
3476
4085
  // Inline function 'kotlin.getValue' call
3477
- var this_0 = $this.ya0_1;
4086
+ var this_0 = $this.ja3_1;
3478
4087
  fromClientEventsObserver$factory_2();
3479
4088
  return this_0.u();
3480
4089
  }
3481
4090
  function _get_dealerConfig__183ci8($this) {
3482
4091
  // Inline function 'kotlin.getValue' call
3483
- var this_0 = $this.za0_1;
4092
+ var this_0 = $this.ka3_1;
3484
4093
  dealerConfig$factory_0();
3485
4094
  return this_0.u();
3486
4095
  }
3487
4096
  function _get_poolProvider__tqti6a($this) {
3488
4097
  // Inline function 'kotlin.getValue' call
3489
- var this_0 = $this.aa1_1;
4098
+ var this_0 = $this.la3_1;
3490
4099
  poolProvider$factory_0();
3491
4100
  return this_0.u();
3492
4101
  }
3493
4102
  function _get_cardsDealerProvider__bekjpg($this) {
3494
4103
  // Inline function 'kotlin.getValue' call
3495
- var this_0 = $this.ba1_1;
4104
+ var this_0 = $this.ma3_1;
3496
4105
  cardsDealerProvider$factory_0();
3497
4106
  return this_0.u();
3498
4107
  }
@@ -3505,101 +4114,101 @@
3505
4114
  botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
3506
4115
  gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
3507
4116
  fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
3508
- this.ja0_1 = validationStoreContract;
3509
- this.ka0_1 = timersStoreContract;
3510
- this.la0_1 = botGameStoreContract;
3511
- this.ma0_1 = gameMechanicStoreContract;
3512
- this.na0_1 = fileLoggerStoreContract;
4117
+ this.ua2_1 = validationStoreContract;
4118
+ this.va2_1 = timersStoreContract;
4119
+ this.wa2_1 = botGameStoreContract;
4120
+ this.xa2_1 = gameMechanicStoreContract;
4121
+ this.ya2_1 = fileLoggerStoreContract;
3513
4122
  var tmp = this;
3514
4123
  // Inline function 'org.kodein.di.instance' call
3515
4124
  // Inline function 'org.kodein.type.generic' call
3516
4125
  var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
3517
4126
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
3518
- tmp.oa0_1 = Instance(di, tmp$ret$0, null).d64(this, asyncProvider$factory());
4127
+ tmp.za2_1 = Instance(di, tmp$ret$0, null).d64(this, asyncProvider$factory());
3519
4128
  var tmp_1 = this;
3520
4129
  // Inline function 'org.kodein.di.instance' call
3521
4130
  // Inline function 'org.kodein.type.generic' call
3522
4131
  var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
3523
4132
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
3524
- tmp_1.pa0_1 = Instance(di, tmp$ret$2, null).d64(this, logger$factory_1());
4133
+ tmp_1.aa3_1 = Instance(di, tmp$ret$2, null).d64(this, logger$factory_1());
3525
4134
  var tmp_3 = this;
3526
4135
  // Inline function 'org.kodein.di.instance' call
3527
4136
  // Inline function 'org.kodein.type.generic' call
3528
4137
  var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
3529
4138
  var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
3530
- tmp_3.qa0_1 = Instance(di, tmp$ret$4, null).d64(this, playerConnectionInteractor$factory_1());
4139
+ tmp_3.ba3_1 = Instance(di, tmp$ret$4, null).d64(this, playerConnectionInteractor$factory_1());
3531
4140
  var tmp_5 = this;
3532
4141
  // Inline function 'org.kodein.di.instance' call
3533
4142
  // Inline function 'org.kodein.type.generic' call
3534
4143
  var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
3535
4144
  var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
3536
- tmp_5.ra0_1 = Instance(di, tmp$ret$6, null).d64(this, lastCardInteractor$factory());
4145
+ tmp_5.ca3_1 = Instance(di, tmp$ret$6, null).d64(this, lastCardInteractor$factory());
3537
4146
  var tmp_7 = this;
3538
4147
  // Inline function 'org.kodein.di.instance' call
3539
4148
  // Inline function 'org.kodein.type.generic' call
3540
4149
  var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
3541
4150
  var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
3542
- tmp_7.sa0_1 = Instance(di, tmp$ret$8, null).d64(this, serverConfig$factory());
4151
+ tmp_7.da3_1 = Instance(di, tmp$ret$8, null).d64(this, serverConfig$factory());
3543
4152
  var tmp_9 = this;
3544
4153
  // Inline function 'org.kodein.di.instance' call
3545
4154
  // Inline function 'org.kodein.type.generic' call
3546
4155
  var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
3547
4156
  var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
3548
- tmp_9.ta0_1 = Instance(di, tmp$ret$10, null).d64(this, logicConfig$factory());
4157
+ tmp_9.ea3_1 = Instance(di, tmp$ret$10, null).d64(this, logicConfig$factory());
3549
4158
  var tmp_11 = this;
3550
4159
  // Inline function 'org.kodein.di.instance' call
3551
4160
  // Inline function 'org.kodein.type.generic' call
3552
4161
  var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
3553
4162
  var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
3554
- tmp_11.ua0_1 = Instance(di, tmp$ret$12, null).d64(this, idsProvider$factory_1());
4163
+ tmp_11.fa3_1 = Instance(di, tmp$ret$12, null).d64(this, idsProvider$factory_1());
3555
4164
  var tmp_13 = this;
3556
4165
  // Inline function 'org.kodein.di.instance' call
3557
4166
  // Inline function 'org.kodein.type.generic' call
3558
4167
  var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
3559
4168
  var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
3560
- tmp_13.va0_1 = Instance(di, tmp$ret$14, null).d64(this, botConfig$factory());
4169
+ tmp_13.ga3_1 = Instance(di, tmp$ret$14, null).d64(this, botConfig$factory());
3561
4170
  var tmp_15 = this;
3562
4171
  // Inline function 'org.kodein.di.instance' call
3563
4172
  // Inline function 'org.kodein.type.generic' call
3564
4173
  var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
3565
4174
  var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
3566
- tmp_15.wa0_1 = Instance(di, tmp$ret$16, null).d64(this, scenePositionProvider$factory());
4175
+ tmp_15.ha3_1 = Instance(di, tmp$ret$16, null).d64(this, scenePositionProvider$factory());
3567
4176
  var tmp_17 = this;
3568
4177
  // Inline function 'org.kodein.di.instance' call
3569
4178
  // Inline function 'org.kodein.type.generic' call
3570
4179
  var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
3571
4180
  var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
3572
- tmp_17.xa0_1 = Instance(di, tmp$ret$18, null).d64(this, toClientEventsObserver$factory_1());
4181
+ tmp_17.ia3_1 = Instance(di, tmp$ret$18, null).d64(this, toClientEventsObserver$factory_1());
3573
4182
  var tmp_19 = this;
3574
4183
  // Inline function 'org.kodein.di.instance' call
3575
4184
  // Inline function 'org.kodein.type.generic' call
3576
4185
  var tmp_20 = typeToken(createKType(getKClass(FromClientEventsObserver), arrayOf([]), false));
3577
4186
  var tmp$ret$20 = isInterface(tmp_20, TypeToken) ? tmp_20 : THROW_CCE();
3578
- tmp_19.ya0_1 = Instance(di, tmp$ret$20, null).d64(this, fromClientEventsObserver$factory_1());
4187
+ tmp_19.ja3_1 = Instance(di, tmp$ret$20, null).d64(this, fromClientEventsObserver$factory_1());
3579
4188
  var tmp_21 = this;
3580
4189
  // Inline function 'org.kodein.di.instance' call
3581
4190
  // Inline function 'org.kodein.type.generic' call
3582
4191
  var tmp_22 = typeToken(createKType(getKClass(DealerConfig), arrayOf([]), false));
3583
4192
  var tmp$ret$22 = isInterface(tmp_22, TypeToken) ? tmp_22 : THROW_CCE();
3584
- tmp_21.za0_1 = Instance(di, tmp$ret$22, null).d64(this, dealerConfig$factory());
4193
+ tmp_21.ka3_1 = Instance(di, tmp$ret$22, null).d64(this, dealerConfig$factory());
3585
4194
  var tmp_23 = this;
3586
4195
  // Inline function 'org.kodein.di.instance' call
3587
4196
  // Inline function 'org.kodein.type.generic' call
3588
4197
  var tmp_24 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
3589
4198
  var tmp$ret$24 = isInterface(tmp_24, TypeToken) ? tmp_24 : THROW_CCE();
3590
- tmp_23.aa1_1 = Instance(di, tmp$ret$24, null).d64(this, poolProvider$factory());
4199
+ tmp_23.la3_1 = Instance(di, tmp$ret$24, null).d64(this, poolProvider$factory());
3591
4200
  var tmp_25 = this;
3592
4201
  // Inline function 'org.kodein.di.instance' call
3593
4202
  // Inline function 'org.kodein.type.generic' call
3594
4203
  var tmp_26 = typeToken(createKType(getKClass(CardsDealerProvider), arrayOf([]), false));
3595
4204
  var tmp$ret$26 = isInterface(tmp_26, TypeToken) ? tmp_26 : THROW_CCE();
3596
- tmp_25.ba1_1 = Instance(di, tmp$ret$26, null).d64(this, cardsDealerProvider$factory());
4205
+ tmp_25.ma3_1 = Instance(di, tmp$ret$26, null).d64(this, cardsDealerProvider$factory());
3597
4206
  }
3598
- protoOf(ServerGameStoreContract).e92 = function () {
3599
- return plus(plus(plus(plus(plus(this.ja0_1.e92(), this.ma0_1.e92()), this.ka0_1.e92()), this.la0_1.e92()), this.na0_1.e92()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
4207
+ protoOf(ServerGameStoreContract).g92 = function () {
4208
+ return plus(plus(plus(plus(plus(this.ua2_1.g92(), this.xa2_1.g92()), this.va2_1.g92()), this.wa2_1.g92()), this.ya2_1.g92()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
3600
4209
  };
3601
- protoOf(ServerGameStoreContract).f92 = function () {
3602
- var tmp = plus(plus(plus(plus(plus(plus(plus(this.ja0_1.f92(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.ma0_1.f92()), this.ka0_1.f92()), this.la0_1.f92()), this.na0_1.f92()), 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))).k94(), finishingGameWhenCantStartNewMiddleware()]));
4210
+ protoOf(ServerGameStoreContract).h92 = function () {
4211
+ var tmp = plus(plus(plus(plus(plus(plus(plus(this.ua2_1.h92(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.xa2_1.h92()), this.va2_1.h92()), this.wa2_1.h92()), this.ya2_1.h92()), 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))).m94(), finishingGameWhenCantStartNewMiddleware()]));
3603
4212
  var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
3604
4213
  var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
3605
4214
  var tmp1_logger = _get_logger__rkp4sl_0(this);
@@ -3762,14 +4371,14 @@
3762
4371
  }
3763
4372
  function finishingGameWhenCantStartNewMiddleware() {
3764
4373
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
3765
- return new _no_name_provided__qut3iv_2();
4374
+ return new _no_name_provided__qut3iv_4();
3766
4375
  }
3767
- function _no_name_provided__qut3iv_2() {
4376
+ function _no_name_provided__qut3iv_4() {
3768
4377
  }
3769
- protoOf(_no_name_provided__qut3iv_2).h6k = function (action) {
4378
+ protoOf(_no_name_provided__qut3iv_4).h6k = function (action) {
3770
4379
  return action instanceof RoundEndedAction;
3771
4380
  };
3772
- protoOf(_no_name_provided__qut3iv_2).y6l = function (store, next, action) {
4381
+ protoOf(_no_name_provided__qut3iv_4).y6l = function (store, next, action) {
3773
4382
  $l$block_0: {
3774
4383
  // Inline function 'games.jass.logic.server.redux.middlewares.finishingGameWhenCantStartNewMiddleware.<anonymous>' call
3775
4384
  var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
@@ -3787,16 +4396,16 @@
3787
4396
  }
3788
4397
  }
3789
4398
  };
3790
- protoOf(_no_name_provided__qut3iv_2).g6k = function (store, next, action) {
4399
+ protoOf(_no_name_provided__qut3iv_4).g6k = function (store, next, action) {
3791
4400
  return this.y6l(store, next, action);
3792
4401
  };
3793
- function _no_name_provided__qut3iv_3(this$0) {
3794
- this.ea1_1 = this$0;
4402
+ function _no_name_provided__qut3iv_5(this$0) {
4403
+ this.pa3_1 = this$0;
3795
4404
  }
3796
- protoOf(_no_name_provided__qut3iv_3).h6k = function (action) {
4405
+ protoOf(_no_name_provided__qut3iv_5).h6k = function (action) {
3797
4406
  return action instanceof MechanicAction;
3798
4407
  };
3799
- protoOf(_no_name_provided__qut3iv_3).y6l = function (store, next, action) {
4408
+ protoOf(_no_name_provided__qut3iv_5).y6l = function (store, next, action) {
3800
4409
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>' call
3801
4410
  var action_0 = action instanceof MechanicAction ? action : THROW_CCE();
3802
4411
  var state = store.state;
@@ -3805,11 +4414,11 @@
3805
4414
  var tmp;
3806
4415
  if (action_0 instanceof StartGameMechanicAction) {
3807
4416
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
3808
- var this_0 = this.ea1_1;
3809
- var tableId = action_0.r8y_1;
3810
- var gameCreatorPlayerId = action_0.t8y_1;
4417
+ var this_0 = this.pa3_1;
4418
+ var tableId = action_0.t8y_1;
4419
+ var gameCreatorPlayerId = action_0.v8y_1;
3811
4420
  // Inline function 'kotlin.collections.map' call
3812
- var this_1 = action_0.u8y_1;
4421
+ var this_1 = action_0.w8y_1;
3813
4422
  // Inline function 'kotlin.collections.mapTo' call
3814
4423
  var destination = ArrayList_init_$Create$(collectionSizeOrDefault(this_1, 10));
3815
4424
  var tmp0_iterator = this_1.j();
@@ -3850,7 +4459,7 @@
3850
4459
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
3851
4460
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
3852
4461
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3853
- var tmp0_aid = this_0.da1_1.k6i();
4462
+ var tmp0_aid = this_0.oa3_1.k6i();
3854
4463
  // Inline function 'kotlin.collections.map' call
3855
4464
  // Inline function 'kotlin.collections.mapTo' call
3856
4465
  var destination_3 = ArrayList_init_$Create$(collectionSizeOrDefault(destination, 10));
@@ -3875,17 +4484,17 @@
3875
4484
  } else {
3876
4485
  if (action_0 instanceof StartNewGameMechanicAction) {
3877
4486
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
3878
- var this_2 = this.ea1_1;
4487
+ var this_2 = this.pa3_1;
3879
4488
  var table = state.s6r();
3880
4489
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3881
- var sendToPlayer_0 = new RoomActionPayload(this_2.da1_1.k6i(), table.id, null);
4490
+ var sendToPlayer_0 = new RoomActionPayload(this_2.oa3_1.k6i(), table.id, null);
3882
4491
  var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
3883
4492
  tmp = listOfNotNull(tmp$ret$18);
3884
4493
  } else {
3885
4494
  if (action_0 instanceof ContinueGameMechanicAction) {
3886
4495
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
3887
- var this_3 = this.ea1_1;
3888
- var tableId_0 = action_0.x8y_1.id;
4496
+ var this_3 = this.pa3_1;
4497
+ var tableId_0 = action_0.z8y_1.id;
3889
4498
  var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
3890
4499
  // Inline function 'kotlin.collections.map' call
3891
4500
  var this_4 = action_0.users;
@@ -3929,7 +4538,7 @@
3929
4538
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
3930
4539
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
3931
4540
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3932
- var tmp0_aid_0 = this_3.da1_1.k6i();
4541
+ var tmp0_aid_0 = this_3.oa3_1.k6i();
3933
4542
  // Inline function 'kotlin.collections.map' call
3934
4543
  // Inline function 'kotlin.collections.mapTo' call
3935
4544
  var destination_8 = ArrayList_init_$Create$(collectionSizeOrDefault(destination_4, 10));
@@ -3954,43 +4563,43 @@
3954
4563
  } else {
3955
4564
  if (action_0 instanceof FinishingGameMechanicAction) {
3956
4565
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
3957
- var this_5 = this.ea1_1;
4566
+ var this_5 = this.pa3_1;
3958
4567
  var table_0 = state.s6r();
3959
4568
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3960
- var sendToPlayer_2 = new RoomActionPayload(this_5.da1_1.k6i(), table_0.id, null);
4569
+ var sendToPlayer_2 = new RoomActionPayload(this_5.oa3_1.k6i(), table_0.id, null);
3961
4570
  var tmp$ret$38 = mapToClient_14(action_0, sendToPlayer_2);
3962
4571
  tmp = listOfNotNull(tmp$ret$38);
3963
4572
  } else {
3964
4573
  if (action_0 instanceof FinishGameMechanicAction) {
3965
4574
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
3966
- var this_6 = this.ea1_1;
4575
+ var this_6 = this.pa3_1;
3967
4576
  var table_1 = state.s6r();
3968
4577
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3969
- var sendToPlayer_3 = new RoomActionPayload(this_6.da1_1.k6i(), table_1.id, null);
4578
+ var sendToPlayer_3 = new RoomActionPayload(this_6.oa3_1.k6i(), table_1.id, null);
3970
4579
  var tmp$ret$40 = mapToClient_13(action_0, sendToPlayer_3);
3971
4580
  tmp = listOfNotNull(tmp$ret$40);
3972
4581
  } else {
3973
4582
  if (action_0 instanceof RestartGameMechanicAction) {
3974
4583
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
3975
- var this_7 = this.ea1_1;
4584
+ var this_7 = this.pa3_1;
3976
4585
  var table_2 = state.s6r();
3977
4586
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3978
- var sendToPlayer_4 = new RoomActionPayload(this_7.da1_1.k6i(), table_2.id, null);
4587
+ var sendToPlayer_4 = new RoomActionPayload(this_7.oa3_1.k6i(), table_2.id, null);
3979
4588
  var tmp$ret$42 = mapToClient_12(action_0, sendToPlayer_4);
3980
4589
  tmp = listOfNotNull(tmp$ret$42);
3981
4590
  } else {
3982
4591
  if (action_0 instanceof ErrorAction) {
3983
4592
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
3984
- var this_8 = this.ea1_1;
4593
+ var this_8 = this.pa3_1;
3985
4594
  var table_3 = state.s6r();
3986
4595
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
3987
- var sendToPlayer_5 = new RoomActionPayload(this_8.da1_1.k6i(), table_3.id, null);
4596
+ var sendToPlayer_5 = new RoomActionPayload(this_8.oa3_1.k6i(), table_3.id, null);
3988
4597
  var tmp$ret$44 = mapToClient_11(action_0, sendToPlayer_5);
3989
4598
  tmp = listOfNotNull(tmp$ret$44);
3990
4599
  } else {
3991
4600
  if (action_0 instanceof SceneMechanicAction) {
3992
4601
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
3993
- var this_9 = this.ea1_1;
4602
+ var this_9 = this.pa3_1;
3994
4603
  var table_4 = state.s6r();
3995
4604
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
3996
4605
  var tableId_1 = table_4.id;
@@ -4027,7 +4636,7 @@
4027
4636
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
4028
4637
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
4029
4638
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4030
- var tmp0_aid_1 = this_9.da1_1.k6i();
4639
+ var tmp0_aid_1 = this_9.oa3_1.k6i();
4031
4640
  // Inline function 'kotlin.collections.map' call
4032
4641
  // Inline function 'kotlin.collections.mapTo' call
4033
4642
  var destination_12 = ArrayList_init_$Create$(collectionSizeOrDefault(players, 10));
@@ -4052,7 +4661,7 @@
4052
4661
  } else {
4053
4662
  if (action_0 instanceof SceneActMechanicAction) {
4054
4663
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
4055
- var this_10 = this.ea1_1;
4664
+ var this_10 = this.pa3_1;
4056
4665
  var table_5 = state.s6r();
4057
4666
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
4058
4667
  var tableId_2 = table_5.id;
@@ -4089,7 +4698,7 @@
4089
4698
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
4090
4699
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
4091
4700
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4092
- var tmp0_aid_2 = this_10.da1_1.k6i();
4701
+ var tmp0_aid_2 = this_10.oa3_1.k6i();
4093
4702
  // Inline function 'kotlin.collections.map' call
4094
4703
  // Inline function 'kotlin.collections.mapTo' call
4095
4704
  var destination_16 = ArrayList_init_$Create$(collectionSizeOrDefault(players_0, 10));
@@ -4114,7 +4723,7 @@
4114
4723
  } else {
4115
4724
  if (action_0 instanceof TeamsDataMechanicAction) {
4116
4725
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
4117
- var this_11 = this.ea1_1;
4726
+ var this_11 = this.pa3_1;
4118
4727
  var table_6 = state.s6r();
4119
4728
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
4120
4729
  var tableId_3 = table_6.id;
@@ -4151,7 +4760,7 @@
4151
4760
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
4152
4761
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
4153
4762
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4154
- var tmp0_aid_3 = this_11.da1_1.k6i();
4763
+ var tmp0_aid_3 = this_11.oa3_1.k6i();
4155
4764
  // Inline function 'kotlin.collections.map' call
4156
4765
  // Inline function 'kotlin.collections.mapTo' call
4157
4766
  var destination_20 = ArrayList_init_$Create$(collectionSizeOrDefault(players_1, 10));
@@ -4164,7 +4773,7 @@
4164
4773
  }
4165
4774
  var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_20);
4166
4775
  var tmp_0;
4167
- if (this.ea1_1.ca1_1.supportBackwardActions && getPlayer(state.s6r().players, sendToPlayer_8.q7e_1).q6x_1.u6x_1) {
4776
+ if (this.pa3_1.na3_1.supportBackwardActions && getPlayer(state.s6r().players, sendToPlayer_8.s7e_1).s6x_1.w6x_1) {
4168
4777
  tmp_0 = null;
4169
4778
  } else {
4170
4779
  tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
@@ -4182,79 +4791,79 @@
4182
4791
  } else {
4183
4792
  if (action_0 instanceof PlayerReadyMechanicAction) {
4184
4793
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4185
- var this_12 = this.ea1_1;
4794
+ var this_12 = this.pa3_1;
4186
4795
  var table_7 = state.s6r();
4187
- var exceptPlayerId = this.ea1_1.ca1_1.supportBackwardActions ? action_0.r8z_1 : null;
4796
+ var exceptPlayerId = this.pa3_1.na3_1.supportBackwardActions ? action_0.t8z_1 : null;
4188
4797
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4189
- var sendToPlayer_9 = new RoomActionPayload(this_12.da1_1.k6i(), table_7.id, exceptPlayerId);
4798
+ var sendToPlayer_9 = new RoomActionPayload(this_12.oa3_1.k6i(), table_7.id, exceptPlayerId);
4190
4799
  var tmp$ret$94 = mapToClient_7(action_0, sendToPlayer_9);
4191
4800
  tmp = listOfNotNull(tmp$ret$94);
4192
4801
  } else {
4193
4802
  if (action_0 instanceof SuitChoiceMechanicAction) {
4194
4803
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4195
- var this_13 = this.ea1_1;
4804
+ var this_13 = this.pa3_1;
4196
4805
  var table_8 = state.s6r();
4197
- var exceptPlayerId_0 = this.ea1_1.ca1_1.supportBackwardActions ? action_0.n8u_1 : null;
4806
+ var exceptPlayerId_0 = this.pa3_1.na3_1.supportBackwardActions ? action_0.p8u_1 : null;
4198
4807
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4199
- var sendToPlayer_10 = new RoomActionPayload(this_13.da1_1.k6i(), table_8.id, exceptPlayerId_0);
4808
+ var sendToPlayer_10 = new RoomActionPayload(this_13.oa3_1.k6i(), table_8.id, exceptPlayerId_0);
4200
4809
  var tmp$ret$96 = mapToClient_6(action_0, sendToPlayer_10);
4201
4810
  tmp = listOfNotNull(tmp$ret$96);
4202
4811
  } else {
4203
4812
  if (action_0 instanceof TrumpMechanicAction) {
4204
4813
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4205
- var this_14 = this.ea1_1;
4814
+ var this_14 = this.pa3_1;
4206
4815
  var table_9 = state.s6r();
4207
4816
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4208
- var sendToPlayer_11 = new RoomActionPayload(this_14.da1_1.k6i(), table_9.id, null);
4817
+ var sendToPlayer_11 = new RoomActionPayload(this_14.oa3_1.k6i(), table_9.id, null);
4209
4818
  var tmp$ret$98 = mapToClient_5(action_0, sendToPlayer_11);
4210
4819
  tmp = listOfNotNull(tmp$ret$98);
4211
4820
  } else {
4212
4821
  if (action_0 instanceof CombinationChoiceMechanicAction) {
4213
4822
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4214
- var this_15 = this.ea1_1;
4823
+ var this_15 = this.pa3_1;
4215
4824
  var table_10 = state.s6r();
4216
- var exceptPlayerId_1 = this.ea1_1.ca1_1.supportBackwardActions ? action_0.x8z_1 : null;
4825
+ var exceptPlayerId_1 = this.pa3_1.na3_1.supportBackwardActions ? action_0.z8z_1 : null;
4217
4826
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4218
- var sendToPlayer_12 = new RoomActionPayload(this_15.da1_1.k6i(), table_10.id, exceptPlayerId_1);
4827
+ var sendToPlayer_12 = new RoomActionPayload(this_15.oa3_1.k6i(), table_10.id, exceptPlayerId_1);
4219
4828
  var tmp$ret$100 = mapToClient_4(action_0, sendToPlayer_12);
4220
4829
  tmp = listOfNotNull(tmp$ret$100);
4221
4830
  } else {
4222
4831
  if (action_0 instanceof PutCardMechanicAction) {
4223
4832
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4224
- var this_16 = this.ea1_1;
4833
+ var this_16 = this.pa3_1;
4225
4834
  var table_11 = state.s6r();
4226
- var exceptPlayerId_2 = this.ea1_1.ca1_1.supportBackwardActions ? action_0.s8u_1 : null;
4835
+ var exceptPlayerId_2 = this.pa3_1.na3_1.supportBackwardActions ? action_0.u8u_1 : null;
4227
4836
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4228
- var sendToPlayer_13 = new RoomActionPayload(this_16.da1_1.k6i(), table_11.id, exceptPlayerId_2);
4837
+ var sendToPlayer_13 = new RoomActionPayload(this_16.oa3_1.k6i(), table_11.id, exceptPlayerId_2);
4229
4838
  var tmp$ret$102 = mapToClient_3(action_0, sendToPlayer_13);
4230
4839
  tmp = listOfNotNull(tmp$ret$102);
4231
4840
  } else {
4232
4841
  if (action_0 instanceof PickUpBribeMechanicAction) {
4233
4842
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4234
- var this_17 = this.ea1_1;
4843
+ var this_17 = this.pa3_1;
4235
4844
  var table_12 = state.s6r();
4236
4845
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4237
- var sendToPlayer_14 = new RoomActionPayload(this_17.da1_1.k6i(), table_12.id, null);
4846
+ var sendToPlayer_14 = new RoomActionPayload(this_17.oa3_1.k6i(), table_12.id, null);
4238
4847
  var tmp$ret$104 = mapToClient_2(action_0, sendToPlayer_14);
4239
4848
  tmp = listOfNotNull(tmp$ret$104);
4240
4849
  } else {
4241
4850
  if (action_0 instanceof WinnerCombinationsMechanicAction) {
4242
4851
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4243
- var this_18 = this.ea1_1;
4852
+ var this_18 = this.pa3_1;
4244
4853
  var table_13 = state.s6r();
4245
4854
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4246
- var sendToPlayer_15 = new RoomActionPayload(this_18.da1_1.k6i(), table_13.id, null);
4855
+ var sendToPlayer_15 = new RoomActionPayload(this_18.oa3_1.k6i(), table_13.id, null);
4247
4856
  var tmp$ret$106 = mapToClient_1(action_0, sendToPlayer_15);
4248
4857
  tmp = listOfNotNull(tmp$ret$106);
4249
4858
  } else {
4250
4859
  if (action_0 instanceof MessageMechanicAction) {
4251
- var message = action_0.b90_1;
4860
+ var message = action_0.d90_1;
4252
4861
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4253
- var this_19 = this.ea1_1;
4862
+ var this_19 = this.pa3_1;
4254
4863
  var table_14 = state.s6r();
4255
4864
  var tmp_1;
4256
4865
  var tmp_2;
4257
- if (this.ea1_1.ca1_1.supportBackwardActions) {
4866
+ if (this.pa3_1.na3_1.supportBackwardActions) {
4258
4867
  tmp_2 = isInterface(message, UserMessage);
4259
4868
  } else {
4260
4869
  tmp_2 = false;
@@ -4266,17 +4875,17 @@
4266
4875
  }
4267
4876
  var exceptPlayerId_3 = tmp_1;
4268
4877
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4269
- var sendToPlayer_16 = new RoomActionPayload(this_19.da1_1.k6i(), table_14.id, exceptPlayerId_3);
4878
+ var sendToPlayer_16 = new RoomActionPayload(this_19.oa3_1.k6i(), table_14.id, exceptPlayerId_3);
4270
4879
  var tmp$ret$108 = mapToClient_0(action_0, sendToPlayer_16);
4271
4880
  tmp = listOfNotNull(tmp$ret$108);
4272
4881
  } else {
4273
4882
  if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
4274
4883
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
4275
- var this_20 = this.ea1_1;
4884
+ var this_20 = this.pa3_1;
4276
4885
  var table_15 = state.s6r();
4277
4886
  var exceptPlayerId_4 = action_0.playerId;
4278
4887
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
4279
- var sendToPlayer_17 = new RoomActionPayload(this_20.da1_1.k6i(), table_15.id, exceptPlayerId_4);
4888
+ var sendToPlayer_17 = new RoomActionPayload(this_20.oa3_1.k6i(), table_15.id, exceptPlayerId_4);
4280
4889
  var tmp$ret$110 = mapToClient(action_0, sendToPlayer_17);
4281
4890
  tmp = listOfNotNull(tmp$ret$110);
4282
4891
  } else {
@@ -4310,24 +4919,24 @@
4310
4919
  }
4311
4920
  next(action_0);
4312
4921
  };
4313
- protoOf(_no_name_provided__qut3iv_3).g6k = function (store, next, action) {
4922
+ protoOf(_no_name_provided__qut3iv_5).g6k = function (store, next, action) {
4314
4923
  return this.y6l(store, next, action);
4315
4924
  };
4316
4925
  function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
4317
- this.ca1_1 = logicConfig;
4318
- this.da1_1 = idsProvider;
4926
+ this.na3_1 = logicConfig;
4927
+ this.oa3_1 = idsProvider;
4319
4928
  }
4320
- protoOf(ServerMapMechanicToClientActionMiddleware).k94 = function () {
4929
+ protoOf(ServerMapMechanicToClientActionMiddleware).m94 = function () {
4321
4930
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
4322
- return new _no_name_provided__qut3iv_3(this);
4931
+ return new _no_name_provided__qut3iv_5(this);
4323
4932
  };
4324
4933
  function sendToClientActionMiddleware(asyncProvider, provider) {
4325
4934
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
4326
- return new _no_name_provided__qut3iv_4(asyncProvider, provider);
4935
+ return new _no_name_provided__qut3iv_6(asyncProvider, provider);
4327
4936
  }
4328
4937
  function sendToClientActionMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
4329
- this.na1_1 = $provider;
4330
- this.oa1_1 = $action;
4938
+ this.ya3_1 = $provider;
4939
+ this.za3_1 = $action;
4331
4940
  CoroutineImpl.call(this, resultContinuation);
4332
4941
  }
4333
4942
  protoOf(sendToClientActionMiddleware$o$handle$slambda).m1e = function ($this$launchDefault, $completion) {
@@ -4348,7 +4957,7 @@
4348
4957
  case 0:
4349
4958
  this.k9_1 = 2;
4350
4959
  this.j9_1 = 1;
4351
- suspendResult = this.na1_1.u9x(this.oa1_1, this);
4960
+ suspendResult = this.ya3_1.fa0(this.za3_1, this);
4352
4961
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
4353
4962
  return suspendResult;
4354
4963
  }
@@ -4371,8 +4980,8 @@
4371
4980
  while (true);
4372
4981
  };
4373
4982
  protoOf(sendToClientActionMiddleware$o$handle$slambda).n1e = function ($this$launchDefault, completion) {
4374
- var i = new sendToClientActionMiddleware$o$handle$slambda(this.na1_1, this.oa1_1, completion);
4375
- i.pa1_1 = $this$launchDefault;
4983
+ var i = new sendToClientActionMiddleware$o$handle$slambda(this.ya3_1, this.za3_1, completion);
4984
+ i.aa4_1 = $this$launchDefault;
4376
4985
  return i;
4377
4986
  };
4378
4987
  function sendToClientActionMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
@@ -4383,38 +4992,38 @@
4383
4992
  l.$arity = 1;
4384
4993
  return l;
4385
4994
  }
4386
- function _no_name_provided__qut3iv_4($asyncProvider, $provider) {
4387
- this.qa1_1 = $asyncProvider;
4388
- this.ra1_1 = $provider;
4995
+ function _no_name_provided__qut3iv_6($asyncProvider, $provider) {
4996
+ this.ba4_1 = $asyncProvider;
4997
+ this.ca4_1 = $provider;
4389
4998
  }
4390
- protoOf(_no_name_provided__qut3iv_4).h6k = function (action) {
4999
+ protoOf(_no_name_provided__qut3iv_6).h6k = function (action) {
4391
5000
  return action instanceof ToClientAction;
4392
5001
  };
4393
- protoOf(_no_name_provided__qut3iv_4).y6l = function (store, next, action) {
5002
+ protoOf(_no_name_provided__qut3iv_6).y6l = function (store, next, action) {
4394
5003
  // Inline function 'games.jass.logic.server.redux.middlewares.events.sendToClientActionMiddleware.<anonymous>' call
4395
5004
  var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
4396
- this.qa1_1.h6h(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ra1_1, action_0, null));
5005
+ this.ba4_1.h6h(VOID, sendToClientActionMiddleware$o$handle$slambda_0(this.ca4_1, action_0, null));
4397
5006
  next(action_0);
4398
5007
  };
4399
- protoOf(_no_name_provided__qut3iv_4).g6k = function (store, next, action) {
5008
+ protoOf(_no_name_provided__qut3iv_6).g6k = function (store, next, action) {
4400
5009
  return this.y6l(store, next, action);
4401
5010
  };
4402
5011
  function serverConfigReducer() {
4403
5012
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
4404
- return new _no_name_provided__qut3iv_5();
5013
+ return new _no_name_provided__qut3iv_7();
4405
5014
  }
4406
- function _no_name_provided__qut3iv_5() {
5015
+ function _no_name_provided__qut3iv_7() {
4407
5016
  }
4408
- protoOf(_no_name_provided__qut3iv_5).h6k = function (action) {
5017
+ protoOf(_no_name_provided__qut3iv_7).h6k = function (action) {
4409
5018
  return action instanceof UpdateServerConfigAction;
4410
5019
  };
4411
- protoOf(_no_name_provided__qut3iv_5).m9c = function (state, action) {
5020
+ protoOf(_no_name_provided__qut3iv_7).o9c = function (state, action) {
4412
5021
  // Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
4413
5022
  var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
4414
- return state.s8x(VOID, get_serverStatePayload_0(state).copy(action_0.ga0_1));
5023
+ return state.u8x(VOID, get_serverStatePayload_0(state).copy(action_0.ra2_1));
4415
5024
  };
4416
- protoOf(_no_name_provided__qut3iv_5).z6l = function (state, action) {
4417
- return this.m9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
5025
+ protoOf(_no_name_provided__qut3iv_7).z6l = function (state, action) {
5026
+ return this.o9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
4418
5027
  };
4419
5028
  function ServerMechanicLifecycleReducer$onStart$lambda($action) {
4420
5029
  return function (it) {
@@ -4427,7 +5036,7 @@
4427
5036
  var tmp_2 = PlayerConnectionState_LIVE_getInstance();
4428
5037
  // Inline function 'kotlin.time.Companion.milliseconds' call
4429
5038
  Companion_getInstance();
4430
- var this_0 = $action.q8y_1.timeoutTimeMillis;
5039
+ var this_0 = $action.s8y_1.timeoutTimeMillis;
4431
5040
  var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
4432
5041
  tmp_0 = tmp_1.m6c(tmp_2, tmp$ret$0);
4433
5042
  }
@@ -4436,57 +5045,57 @@
4436
5045
  }
4437
5046
  function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
4438
5047
  BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
4439
- this.ua1_1 = logger;
5048
+ this.fa4_1 = logger;
4440
5049
  }
4441
- protoOf(ServerMechanicLifecycleReducer).y9d = function (state, action) {
5050
+ protoOf(ServerMechanicLifecycleReducer).a9e = function (state, action) {
4442
5051
  var serverState = get_serverStatePayloadOrNull(state.c6r_1);
4443
5052
  var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
4444
- var tmp0_$this = this.z9d_1;
4445
- var tmp1_tableId = action.r8y_1;
4446
- var tmp2_gameId = action.r8y_1;
4447
- var tmp3_version = action.s8y_1;
4448
- var tmp4_config = action.q8y_1;
4449
- var tmp5_users = action.u8y_1;
5053
+ var tmp0_$this = this.b9e_1;
5054
+ var tmp1_tableId = action.t8y_1;
5055
+ var tmp2_gameId = action.t8y_1;
5056
+ var tmp3_version = action.u8y_1;
5057
+ var tmp4_config = action.s8y_1;
5058
+ var tmp5_users = action.w8y_1;
4450
5059
  var tmp6_spectators = action.spectators;
4451
- var tmp7_gameCreatorPlayerId = action.t8y_1;
4452
- var tmp9_tableOrNull = tmp0_$this.f9f(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
5060
+ var tmp7_gameCreatorPlayerId = action.v8y_1;
5061
+ var tmp9_tableOrNull = tmp0_$this.h9f(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
4453
5062
  var tmp;
4454
5063
  if (serverState == null) {
4455
- this.ua1_1.w(VOID, 'ServerPayload is not onStart');
4456
- tmp = Companion_instance_10.initial();
5064
+ this.fa4_1.w(VOID, 'ServerPayload is not onStart');
5065
+ tmp = Companion_instance_13.initial();
4457
5066
  } else {
4458
5067
  tmp = serverState;
4459
5068
  }
4460
5069
  var tmp10_payload = tmp;
4461
- return state.s8x(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
5070
+ return state.u8x(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
4462
5071
  };
4463
- protoOf(ServerMechanicLifecycleReducer).w9d = function (state, action) {
5072
+ protoOf(ServerMechanicLifecycleReducer).y9d = function (state, action) {
4464
5073
  var tmp1_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
4465
- var tmp2_tableOrNull = action.x8y_1;
4466
- var tmp = Companion_instance_10;
5074
+ var tmp2_tableOrNull = action.z8y_1;
5075
+ var tmp = Companion_instance_13;
4467
5076
  var tmp_0 = get_serverStatePayload_0(state).config;
4468
- var tmp_1 = action.y8y_1;
5077
+ var tmp_1 = action.a8z_1;
4469
5078
  var tmp0_safe_receiver = tmp_1 instanceof RestartRoundReason ? tmp_1 : null;
4470
5079
  var tmp3_payload = tmp.initial(tmp_0.copy(tmp0_safe_receiver == null ? null : tmp0_safe_receiver.d6a_1));
4471
- return state.s8x(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
5080
+ return state.u8x(tmp2_tableOrNull, tmp3_payload, tmp1_gameLifecycleState, null);
4472
5081
  };
4473
- protoOf(ServerMechanicLifecycleReducer).x9d = function (state, action) {
4474
- this.a9e_1.j5r(action.previousGameId);
5082
+ protoOf(ServerMechanicLifecycleReducer).z9d = function (state, action) {
5083
+ this.c9e_1.j5r(action.previousGameId);
4475
5084
  var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
4476
- var tmp1_tableOrNull = this.z9d_1.g9f(state.s6r(), action.gameId);
4477
- return state.s8x(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
5085
+ var tmp1_tableOrNull = this.b9e_1.i9f(state.s6r(), action.gameId);
5086
+ return state.u8x(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
4478
5087
  };
4479
5088
  function spectatorsReducer(logger) {
4480
5089
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
4481
- return new _no_name_provided__qut3iv_6(logger);
5090
+ return new _no_name_provided__qut3iv_8(logger);
4482
5091
  }
4483
- function _no_name_provided__qut3iv_6($logger) {
4484
- this.va1_1 = $logger;
5092
+ function _no_name_provided__qut3iv_8($logger) {
5093
+ this.ga4_1 = $logger;
4485
5094
  }
4486
- protoOf(_no_name_provided__qut3iv_6).h6k = function (action) {
5095
+ protoOf(_no_name_provided__qut3iv_8).h6k = function (action) {
4487
5096
  return isInterface(action, SpectatorsAction);
4488
5097
  };
4489
- protoOf(_no_name_provided__qut3iv_6).m9c = function (state, action) {
5098
+ protoOf(_no_name_provided__qut3iv_8).o9c = function (state, action) {
4490
5099
  // Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
4491
5100
  var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
4492
5101
  var table = state.s6r();
@@ -4494,7 +5103,7 @@
4494
5103
  if (action_0 instanceof AddSpectatorsAction) {
4495
5104
  // Inline function 'kotlin.collections.mapNotNull' call
4496
5105
  // Inline function 'kotlin.collections.mapNotNullTo' call
4497
- var this_0 = action_0.ha0_1;
5106
+ var this_0 = action_0.sa2_1;
4498
5107
  var destination = ArrayList_init_$Create$_0();
4499
5108
  // Inline function 'kotlin.collections.forEach' call
4500
5109
  var tmp0_iterator = this_0.j();
@@ -4516,10 +5125,10 @@
4516
5125
  var tmp_0;
4517
5126
  // Inline function 'kotlin.collections.isNotEmpty' call
4518
5127
  if (!sameSpectators.p()) {
4519
- this.va1_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
5128
+ this.ga4_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
4520
5129
  // Inline function 'kotlin.collections.filterNot' call
4521
5130
  // Inline function 'kotlin.collections.filterNotTo' call
4522
- var this_1 = action_0.ha0_1;
5131
+ var this_1 = action_0.sa2_1;
4523
5132
  var destination_0 = ArrayList_init_$Create$_0();
4524
5133
  var tmp0_iterator_0 = this_1.j();
4525
5134
  while (tmp0_iterator_0.k()) {
@@ -4555,7 +5164,7 @@
4555
5164
  }
4556
5165
  tmp_0 = destination_0;
4557
5166
  } else {
4558
- tmp_0 = action_0.ha0_1;
5167
+ tmp_0 = action_0.sa2_1;
4559
5168
  }
4560
5169
  var this_2 = tmp_0;
4561
5170
  // Inline function 'kotlin.collections.mapTo' call
@@ -4568,12 +5177,12 @@
4568
5177
  destination_1.e(tmp$ret$10);
4569
5178
  }
4570
5179
  var spectatorsToAdd = toSet(destination_1);
4571
- tmp = state.s8x(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
5180
+ tmp = state.u8x(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
4572
5181
  } else {
4573
5182
  if (action_0 instanceof RemoveSpectatorsAction) {
4574
5183
  // Inline function 'kotlin.collections.mapNotNull' call
4575
5184
  // Inline function 'kotlin.collections.mapNotNullTo' call
4576
- var this_3 = action_0.ia0_1;
5185
+ var this_3 = action_0.ta2_1;
4577
5186
  var destination_2 = ArrayList_init_$Create$_0();
4578
5187
  // Inline function 'kotlin.collections.forEach' call
4579
5188
  var tmp0_iterator_3 = this_3.j();
@@ -4594,10 +5203,10 @@
4594
5203
  var tmp_2;
4595
5204
  // Inline function 'kotlin.collections.isNotEmpty' call
4596
5205
  if (!sameSpectators_0.p()) {
4597
- this.va1_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
5206
+ this.ga4_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
4598
5207
  // Inline function 'kotlin.collections.filterNot' call
4599
5208
  // Inline function 'kotlin.collections.filterNotTo' call
4600
- var this_4 = action_0.ia0_1;
5209
+ var this_4 = action_0.ta2_1;
4601
5210
  var destination_3 = ArrayList_init_$Create$_0();
4602
5211
  var tmp0_iterator_4 = this_4.j();
4603
5212
  while (tmp0_iterator_4.k()) {
@@ -4633,7 +5242,7 @@
4633
5242
  }
4634
5243
  tmp_2 = destination_3;
4635
5244
  } else {
4636
- tmp_2 = action_0.ia0_1;
5245
+ tmp_2 = action_0.ta2_1;
4637
5246
  }
4638
5247
  var spectatorsToRemove = toSet(tmp_2);
4639
5248
  // Inline function 'kotlin.collections.filterNot' call
@@ -4672,28 +5281,28 @@
4672
5281
  destination_4.e(element_5);
4673
5282
  }
4674
5283
  }
4675
- tmp = state.s8x(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
5284
+ tmp = state.u8x(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
4676
5285
  } else {
4677
5286
  noWhenBranchMatchedException();
4678
5287
  }
4679
5288
  }
4680
5289
  return tmp;
4681
5290
  };
4682
- protoOf(_no_name_provided__qut3iv_6).z6l = function (state, action) {
4683
- return this.m9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
5291
+ protoOf(_no_name_provided__qut3iv_8).z6l = function (state, action) {
5292
+ return this.o9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
4684
5293
  };
4685
- function Companion_2() {
5294
+ function Companion_5() {
4686
5295
  }
4687
- protoOf(Companion_2).wa1 = function (config) {
5296
+ protoOf(Companion_5).ha4 = function (config) {
4688
5297
  return new ServerStatePayload(config);
4689
5298
  };
4690
- protoOf(Companion_2).initial = function (config, $super) {
5299
+ protoOf(Companion_5).initial = function (config, $super) {
4691
5300
  config = config === VOID ? Companion_instance_8.initial(null) : config;
4692
- return this.wa1(config);
5301
+ return this.ha4(config);
4693
5302
  };
4694
- var Companion_instance_10;
4695
- function Companion_getInstance_3() {
4696
- return Companion_instance_10;
5303
+ var Companion_instance_13;
5304
+ function Companion_getInstance_6() {
5305
+ return Companion_instance_13;
4697
5306
  }
4698
5307
  function ServerStatePayload(config) {
4699
5308
  this.config = config;
@@ -4704,12 +5313,12 @@
4704
5313
  protoOf(ServerStatePayload).ue = function () {
4705
5314
  return this.config;
4706
5315
  };
4707
- protoOf(ServerStatePayload).xa1 = function (config) {
5316
+ protoOf(ServerStatePayload).ia4 = function (config) {
4708
5317
  return new ServerStatePayload(config);
4709
5318
  };
4710
5319
  protoOf(ServerStatePayload).copy = function (config, $super) {
4711
5320
  config = config === VOID ? this.config : config;
4712
- return this.xa1(config);
5321
+ return this.ia4(config);
4713
5322
  };
4714
5323
  protoOf(ServerStatePayload).toString = function () {
4715
5324
  return 'ServerStatePayload(config=' + this.config.toString() + ')';
@@ -4761,13 +5370,13 @@
4761
5370
  }
4762
5371
  function _get_logger__rkp4sl_1($this) {
4763
5372
  // Inline function 'kotlin.getValue' call
4764
- var this_0 = $this.ha2_1;
5373
+ var this_0 = $this.sa4_1;
4765
5374
  logger$factory_3();
4766
5375
  return this_0.u();
4767
5376
  }
4768
5377
  function _get_di__ndbzja($this) {
4769
5378
  // Inline function 'kotlin.getValue' call
4770
- var this_0 = $this.ia2_1;
5379
+ var this_0 = $this.ta4_1;
4771
5380
  di$factory();
4772
5381
  return this_0.u();
4773
5382
  }
@@ -4778,13 +5387,13 @@
4778
5387
  function GameServerEngineControllerImpl$logger$delegate$lambda(this$0) {
4779
5388
  return function () {
4780
5389
  var tmp;
4781
- if (this$0.fa2_1 == null) {
5390
+ if (this$0.qa4_1 == null) {
4782
5391
  tmp = null;
4783
5392
  } else {
4784
5393
  // Inline function 'kotlin.let' call
4785
5394
  // Inline function 'kotlin.contracts.contract' call
4786
5395
  // Inline function 'GameServerEngineControllerImpl.logger$delegate.<anonymous>.<anonymous>' call
4787
- tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.fa2_1)]));
5396
+ tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.qa4_1)]));
4788
5397
  }
4789
5398
  var tmp1_elvis_lhs = tmp;
4790
5399
  return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
@@ -4812,7 +5421,7 @@
4812
5421
  tmp_0.g62(tmp$ret$3);
4813
5422
  $this$DI.k5y(jsonModule());
4814
5423
  $this$DI.k5y(serverHelpersModule());
4815
- $this$DI.k5y(randomOrgModule(this$0.ga2_1));
5424
+ $this$DI.k5y(randomOrgModule(this$0.ra4_1));
4816
5425
  return Unit_instance;
4817
5426
  };
4818
5427
  }
@@ -4822,17 +5431,17 @@
4822
5431
  return tmp.r5y(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
4823
5432
  };
4824
5433
  }
4825
- function _no_name_provided__qut3iv_7($item) {
4826
- this.pa2_1 = $item;
5434
+ function _no_name_provided__qut3iv_9($item) {
5435
+ this.aa5_1 = $item;
4827
5436
  }
4828
- protoOf(_no_name_provided__qut3iv_7).h6k = function (action) {
5437
+ protoOf(_no_name_provided__qut3iv_9).h6k = function (action) {
4829
5438
  return isInterface(action, Action);
4830
5439
  };
4831
- protoOf(_no_name_provided__qut3iv_7).m9c = function (state, action) {
4832
- return this.pa2_1(state, isInterface(action, Action) ? action : THROW_CCE());
5440
+ protoOf(_no_name_provided__qut3iv_9).o9c = function (state, action) {
5441
+ return this.aa5_1(state, isInterface(action, Action) ? action : THROW_CCE());
4833
5442
  };
4834
- protoOf(_no_name_provided__qut3iv_7).z6l = function (state, action) {
4835
- return this.m9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
5443
+ protoOf(_no_name_provided__qut3iv_9).z6l = function (state, action) {
5444
+ return this.o9c((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
4836
5445
  };
4837
5446
  function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
4838
5447
  return function ($this$singleton) {
@@ -4889,7 +5498,7 @@
4889
5498
  }
4890
5499
  function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
4891
5500
  return function (it) {
4892
- var tmp0_elvis_lhs = Companion_instance_4.i9h(it);
5501
+ var tmp0_elvis_lhs = Companion_instance_4.k9h(it);
4893
5502
  var tmp;
4894
5503
  if (tmp0_elvis_lhs == null) {
4895
5504
  var tmp1_safe_receiver = $gameServer.v6b().b6r_1;
@@ -4902,7 +5511,7 @@
4902
5511
  }
4903
5512
  function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
4904
5513
  return function (it) {
4905
- var tmp0_elvis_lhs = Companion_instance_5.t9f(it);
5514
+ var tmp0_elvis_lhs = Companion_instance_5.v9f(it);
4906
5515
  var tmp;
4907
5516
  if (tmp0_elvis_lhs == null) {
4908
5517
  var tmp1_safe_receiver = $gameServer.v6b().b6r_1;
@@ -4924,7 +5533,7 @@
4924
5533
  // Inline function 'kotlin.contracts.contract' call
4925
5534
  $this$DI.k5y(tmp0_safe_receiver);
4926
5535
  }
4927
- $this$DI.k5y(dealerModule(this$0.randomPoolProvider, this$0.ga2_1));
5536
+ $this$DI.k5y(dealerModule(this$0.randomPoolProvider, this$0.ra4_1));
4928
5537
  $this$DI.k5y(coreModule($coreConfig));
4929
5538
  $this$DI.k5y(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
4930
5539
  return Unit_instance;
@@ -4933,89 +5542,89 @@
4933
5542
  function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
4934
5543
  loggerCallback = loggerCallback === VOID ? null : loggerCallback;
4935
5544
  production = production === VOID ? true : production;
4936
- this.fa2_1 = loggerCallback;
4937
- this.ga2_1 = randomOrgConfig;
5545
+ this.qa4_1 = loggerCallback;
5546
+ this.ra4_1 = randomOrgConfig;
4938
5547
  AppEnvironment_getInstance().k6q(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
4939
5548
  var tmp = this;
4940
- tmp.ha2_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
5549
+ tmp.sa4_1 = lazy(GameServerEngineControllerImpl$logger$delegate$lambda(this));
4941
5550
  var tmp_0 = this;
4942
- tmp_0.ia2_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
5551
+ tmp_0.ta4_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
4943
5552
  var tmp_1 = this;
4944
5553
  // Inline function 'org.kodein.di.instance' call
4945
5554
  var this_0 = _get_di__ndbzja(this);
4946
5555
  // Inline function 'org.kodein.type.generic' call
4947
5556
  var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
4948
5557
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
4949
- tmp_1.ja2_1 = Instance(this_0, tmp$ret$0, null).d64(this, parser$factory());
5558
+ tmp_1.ua4_1 = Instance(this_0, tmp$ret$0, null).d64(this, parser$factory());
4950
5559
  var tmp_3 = this;
4951
5560
  // Inline function 'org.kodein.di.instance' call
4952
5561
  var this_1 = _get_di__ndbzja(this);
4953
5562
  // Inline function 'org.kodein.type.generic' call
4954
5563
  var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
4955
5564
  var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
4956
- tmp_3.ka2_1 = Instance(this_1, tmp$ret$2, null).d64(this, helper$factory());
5565
+ tmp_3.va4_1 = Instance(this_1, tmp$ret$2, null).d64(this, helper$factory());
4957
5566
  var tmp_5 = this;
4958
5567
  // Inline function 'org.kodein.di.instance' call
4959
5568
  var this_2 = _get_di__ndbzja(this);
4960
5569
  // Inline function 'org.kodein.type.generic' call
4961
5570
  var tmp_6 = typeToken(createKType(getKClass(GameServerHelper), arrayOf([]), false));
4962
5571
  var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
4963
- tmp_5.la2_1 = Instance(this_2, tmp$ret$4, null).d64(this, serverHelper$factory());
5572
+ tmp_5.wa4_1 = Instance(this_2, tmp$ret$4, null).d64(this, serverHelper$factory());
4964
5573
  var tmp_7 = this;
4965
5574
  // Inline function 'org.kodein.di.instance' call
4966
5575
  var this_3 = _get_di__ndbzja(this);
4967
5576
  // Inline function 'org.kodein.type.generic' call
4968
5577
  var tmp_8 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
4969
5578
  var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
4970
- tmp_7.ma2_1 = Instance(this_3, tmp$ret$6, null).d64(this, resources$factory());
5579
+ tmp_7.xa4_1 = Instance(this_3, tmp$ret$6, null).d64(this, resources$factory());
4971
5580
  var tmp_9 = this;
4972
5581
  // Inline function 'org.kodein.di.instance' call
4973
5582
  var this_4 = _get_di__ndbzja(this);
4974
5583
  // Inline function 'org.kodein.type.generic' call
4975
5584
  var tmp_10 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
4976
5585
  var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
4977
- tmp_9.na2_1 = Instance(this_4, tmp$ret$8, null).d64(this, test$factory());
5586
+ tmp_9.ya4_1 = Instance(this_4, tmp$ret$8, null).d64(this, test$factory());
4978
5587
  var tmp_11 = this;
4979
5588
  // Inline function 'org.kodein.di.instance' call
4980
5589
  var this_5 = _get_di__ndbzja(this);
4981
5590
  // Inline function 'org.kodein.type.generic' call
4982
5591
  var tmp_12 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
4983
5592
  var tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
4984
- tmp_11.oa2_1 = Instance(this_5, tmp$ret$10, null).d64(this, randomPoolProvider$factory());
5593
+ tmp_11.za4_1 = Instance(this_5, tmp$ret$10, null).d64(this, randomPoolProvider$factory());
4985
5594
  }
4986
- protoOf(GameServerEngineControllerImpl).ya1 = function () {
5595
+ protoOf(GameServerEngineControllerImpl).ja4 = function () {
4987
5596
  // Inline function 'kotlin.getValue' call
4988
- var this_0 = this.ja2_1;
5597
+ var this_0 = this.ua4_1;
4989
5598
  parser$factory_0();
4990
5599
  return this_0.u();
4991
5600
  };
4992
- protoOf(GameServerEngineControllerImpl).aa2 = function () {
5601
+ protoOf(GameServerEngineControllerImpl).la4 = function () {
4993
5602
  // Inline function 'kotlin.getValue' call
4994
- var this_0 = this.ka2_1;
5603
+ var this_0 = this.va4_1;
4995
5604
  helper$factory_0();
4996
5605
  return this_0.u();
4997
5606
  };
4998
- protoOf(GameServerEngineControllerImpl).ba2 = function () {
5607
+ protoOf(GameServerEngineControllerImpl).ma4 = function () {
4999
5608
  // Inline function 'kotlin.getValue' call
5000
- var this_0 = this.la2_1;
5609
+ var this_0 = this.wa4_1;
5001
5610
  serverHelper$factory_0();
5002
5611
  return this_0.u();
5003
5612
  };
5004
- protoOf(GameServerEngineControllerImpl).ca2 = function () {
5613
+ protoOf(GameServerEngineControllerImpl).na4 = function () {
5005
5614
  // Inline function 'kotlin.getValue' call
5006
- var this_0 = this.ma2_1;
5615
+ var this_0 = this.xa4_1;
5007
5616
  resources$factory_0();
5008
5617
  return this_0.u();
5009
5618
  };
5010
- protoOf(GameServerEngineControllerImpl).za1 = function () {
5619
+ protoOf(GameServerEngineControllerImpl).ka4 = function () {
5011
5620
  // Inline function 'kotlin.getValue' call
5012
- var this_0 = this.na2_1;
5621
+ var this_0 = this.ya4_1;
5013
5622
  test$factory_0();
5014
5623
  return this_0.u();
5015
5624
  };
5016
- protoOf(GameServerEngineControllerImpl).da2 = function () {
5625
+ protoOf(GameServerEngineControllerImpl).oa4 = function () {
5017
5626
  // Inline function 'kotlin.getValue' call
5018
- var this_0 = this.oa2_1;
5627
+ var this_0 = this.za4_1;
5019
5628
  randomPoolProvider$factory_0();
5020
5629
  return this_0.u();
5021
5630
  };
@@ -5025,7 +5634,7 @@
5025
5634
  protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
5026
5635
  return this.createGameEngineWithLogic();
5027
5636
  };
5028
- protoOf(GameServerEngineControllerImpl).ea2 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
5637
+ protoOf(GameServerEngineControllerImpl).pa4 = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
5029
5638
  var combinedLogger = Companion_instance_6.fn();
5030
5639
  var tmp;
5031
5640
  if (coreConfig.fileLogsEnabled) {
@@ -5035,8 +5644,8 @@
5035
5644
  }
5036
5645
  var fileLoggerOutput = tmp;
5037
5646
  var tmp_0;
5038
- if (!(this.fa2_1 == null)) {
5039
- tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.fa2_1));
5647
+ if (!(this.qa4_1 == null)) {
5648
+ tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.qa4_1));
5040
5649
  } else {
5041
5650
  tmp_0 = null;
5042
5651
  }
@@ -5052,7 +5661,7 @@
5052
5661
  inductionVariable = inductionVariable + 1 | 0;
5053
5662
  // Inline function 'GameServerEngineControllerImpl.createGameEngineWithLogic.<anonymous>' call
5054
5663
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
5055
- var tmp$ret$1 = new _no_name_provided__qut3iv_7(item);
5664
+ var tmp$ret$1 = new _no_name_provided__qut3iv_9(item);
5056
5665
  destination.e(tmp$ret$1);
5057
5666
  }
5058
5667
  var tmp1_externalReducers = toList_0(destination);
@@ -5079,12 +5688,12 @@
5079
5688
  var gameServer = tmp_1.u5z(tmp$ret$7, null);
5080
5689
  if (!(fileLoggerOutput == null)) {
5081
5690
  var tmp_3 = fileLoggerOutput;
5082
- tmp_3.x9g_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
5691
+ tmp_3.z9g_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
5083
5692
  combinedLogger.hn(fileLoggerOutput);
5084
5693
  }
5085
5694
  if (!(callbackWrapperLoggerOutput == null)) {
5086
5695
  var tmp_4 = callbackWrapperLoggerOutput;
5087
- tmp_4.v9f_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
5696
+ tmp_4.x9f_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
5088
5697
  combinedLogger.hn(callbackWrapperLoggerOutput);
5089
5698
  }
5090
5699
  return gameServer;
@@ -5170,13 +5779,13 @@
5170
5779
  }
5171
5780
  function _get_playerAnswerInteractor__msggz1($this) {
5172
5781
  // Inline function 'kotlin.getValue' call
5173
- var this_0 = $this.sa2_1;
5782
+ var this_0 = $this.da5_1;
5174
5783
  playerAnswerInteractor$factory_0();
5175
5784
  return this_0.u();
5176
5785
  }
5177
5786
  function TestHelperImpl$di$lambda$lambda(this$0) {
5178
5787
  return function ($this$singleton) {
5179
- return this$0.qa2_1;
5788
+ return this$0.ba5_1;
5180
5789
  };
5181
5790
  }
5182
5791
  function TestHelperImpl$di$lambda(this$0) {
@@ -5205,20 +5814,20 @@
5205
5814
  return emptyMap();
5206
5815
  }
5207
5816
  function TestHelperImpl(logger) {
5208
- this.qa2_1 = logger;
5817
+ this.ba5_1 = logger;
5209
5818
  var tmp = this;
5210
5819
  var tmp_0 = Companion_instance_3;
5211
- tmp.ra2_1 = tmp_0.r5y(VOID, TestHelperImpl$di$lambda(this));
5820
+ tmp.ca5_1 = tmp_0.r5y(VOID, TestHelperImpl$di$lambda(this));
5212
5821
  var tmp_1 = this;
5213
5822
  // Inline function 'org.kodein.di.instance' call
5214
- var this_0 = this.ra2_1;
5823
+ var this_0 = this.ca5_1;
5215
5824
  // Inline function 'org.kodein.type.generic' call
5216
5825
  var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
5217
5826
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
5218
- tmp_1.sa2_1 = Instance(this_0, tmp$ret$0, null).d64(this, playerAnswerInteractor$factory());
5827
+ tmp_1.da5_1 = Instance(this_0, tmp$ret$0, null).d64(this, playerAnswerInteractor$factory());
5219
5828
  }
5220
5829
  protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
5221
- return _get_playerAnswerInteractor__msggz1(this).q8n(playerId, table, botConfig);
5830
+ return _get_playerAnswerInteractor__msggz1(this).s8n(playerId, table, botConfig);
5222
5831
  };
5223
5832
  protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
5224
5833
  var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
@@ -5226,7 +5835,7 @@
5226
5835
  var tmp$ret$0;
5227
5836
  $l$block_0: {
5228
5837
  // Inline function 'kotlin.collections.any' call
5229
- var this_0 = mechanicAction.k91();
5838
+ var this_0 = mechanicAction.m91();
5230
5839
  var tmp;
5231
5840
  if (isInterface(this_0, Collection)) {
5232
5841
  tmp = this_0.p();
@@ -5259,7 +5868,7 @@
5259
5868
  var tmp$ret$0;
5260
5869
  $l$block_0: {
5261
5870
  // Inline function 'kotlin.collections.any' call
5262
- var this_0 = action.k91();
5871
+ var this_0 = action.m91();
5263
5872
  var tmp;
5264
5873
  if (isInterface(this_0, Collection)) {
5265
5874
  tmp = this_0.p();
@@ -5366,6 +5975,8 @@
5366
5975
  defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
5367
5976
  return this.u6r();
5368
5977
  });
5978
+ protoOf($serializer).o4g = typeParametersSerializers;
5979
+ protoOf($serializer_0).o4g = typeParametersSerializers;
5369
5980
  protoOf(UpdateServerConfigAction).y6j = get_actionTag;
5370
5981
  defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
5371
5982
  return this.y6j();
@@ -5380,22 +5991,22 @@
5380
5991
  });
5381
5992
  protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
5382
5993
  defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
5383
- return this.ya1();
5994
+ return this.ja4();
5384
5995
  });
5385
5996
  defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
5386
- return this.aa2();
5997
+ return this.la4();
5387
5998
  });
5388
5999
  defineProp(protoOf(GameServerEngineControllerImpl), 'serverHelper', function () {
5389
- return this.ba2();
6000
+ return this.ma4();
5390
6001
  });
5391
6002
  defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
5392
- return this.ca2();
6003
+ return this.na4();
5393
6004
  });
5394
6005
  defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
5395
- return this.za1();
6006
+ return this.ka4();
5396
6007
  });
5397
6008
  defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
5398
- return this.da2();
6009
+ return this.oa4();
5399
6010
  });
5400
6011
  //endregion
5401
6012
  //region block: init
@@ -5403,6 +6014,9 @@
5403
6014
  Companion_instance_8 = new Companion_0();
5404
6015
  Companion_instance_9 = new Companion_1();
5405
6016
  Companion_instance_10 = new Companion_2();
6017
+ Companion_instance_11 = new Companion_3();
6018
+ Companion_instance_12 = new Companion_4();
6019
+ Companion_instance_13 = new Companion_5();
5406
6020
  //endregion
5407
6021
  //region block: exports
5408
6022
  function $jsExportAll$(_) {
@@ -5421,6 +6035,18 @@
5421
6035
  var $games$jass$logic$server = $games$jass$logic.server || ($games$jass$logic.server = {});
5422
6036
  var $games$jass$logic$server$data = $games$jass$logic$server.data || ($games$jass$logic$server.data = {});
5423
6037
  var $games$jass$logic$server$data$models = $games$jass$logic$server$data.models || ($games$jass$logic$server$data.models = {});
6038
+ var $games$jass$logic$server$data$models$serializable = $games$jass$logic$server$data$models.serializable || ($games$jass$logic$server$data$models.serializable = {});
6039
+ defineProp($games$jass$logic$server$data$models$serializable, 'ServerStateUpdateDto', Companion_getInstance_2);
6040
+ $games$jass$logic$server$data$models$serializable.TableStateUpdateDto = TableStateUpdateDto;
6041
+ defineProp($games$jass$logic$server$data$models$serializable.TableStateUpdateDto, 'Companion', Companion_getInstance_3);
6042
+ $games$jass$logic$server$data$models$serializable.ActionsStateUpdateDto = ActionsStateUpdateDto;
6043
+ defineProp($games$jass$logic$server$data$models$serializable.ActionsStateUpdateDto, 'Companion', Companion_getInstance_4);
6044
+ var $games = _.games || (_.games = {});
6045
+ var $games$jass = $games.jass || ($games.jass = {});
6046
+ var $games$jass$logic = $games$jass.logic || ($games$jass.logic = {});
6047
+ var $games$jass$logic$server = $games$jass$logic.server || ($games$jass$logic.server = {});
6048
+ var $games$jass$logic$server$data = $games$jass$logic$server.data || ($games$jass$logic$server.data = {});
6049
+ var $games$jass$logic$server$data$models = $games$jass$logic$server$data.models || ($games$jass$logic$server$data.models = {});
5424
6050
  var $games$jass$logic$server$data$models$state = $games$jass$logic$server$data$models.state || ($games$jass$logic$server$data$models.state = {});
5425
6051
  $games$jass$logic$server$data$models$state.TableStateUpdate = TableStateUpdate;
5426
6052
  $games$jass$logic$server$data$models$state.ActionsStateUpdate = ActionsStateUpdate;
@@ -5436,7 +6062,7 @@
5436
6062
  var $games$jass$logic$server$redux = $games$jass$logic$server.redux || ($games$jass$logic$server.redux = {});
5437
6063
  var $games$jass$logic$server$redux$state = $games$jass$logic$server$redux.state || ($games$jass$logic$server$redux.state = {});
5438
6064
  $games$jass$logic$server$redux$state.ServerStatePayload = ServerStatePayload;
5439
- defineProp($games$jass$logic$server$redux$state.ServerStatePayload, 'Companion', Companion_getInstance_3);
6065
+ defineProp($games$jass$logic$server$redux$state.ServerStatePayload, 'Companion', Companion_getInstance_6);
5440
6066
  _.createGameServerController = createGameServerController;
5441
6067
  }
5442
6068
  $jsExportAll$(_);