client_plugin_logic_deb 1.8.247 → 1.8.253

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.
@@ -41,10 +41,10 @@
41
41
  var Unit_instance = kotlin_kotlin.$_$.p5;
42
42
  var protoOf = kotlin_kotlin.$_$.uc;
43
43
  var THROW_CCE = kotlin_kotlin.$_$.sg;
44
- var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g5;
44
+ var ToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w4;
45
45
  var initMetadataForLambda = kotlin_kotlin.$_$.xb;
46
46
  var VOID = kotlin_kotlin.$_$.f;
47
- var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.h8;
47
+ var AppState = kotlin_io_raspberryapps_game_engine_engine.$_$.x7;
48
48
  var initMetadataForCompanion = kotlin_kotlin.$_$.ub;
49
49
  var equals = kotlin_kotlin.$_$.lb;
50
50
  var FunctionAdapter = kotlin_kotlin.$_$.za;
@@ -57,34 +57,36 @@
57
57
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.ga;
58
58
  var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.y;
59
59
  var Store = kotlin_io_raspberryapps_game_engine_core.$_$.j3;
60
- var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.m8;
61
- var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a5;
62
- var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.l4;
63
- var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.j7;
64
- var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.k4;
65
- var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.j4;
60
+ var get_isCreated = kotlin_io_raspberryapps_game_engine_engine.$_$.c8;
61
+ var PlayerReadyFromClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q4;
62
+ var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.n4;
63
+ var PlayerConnectionUpdateAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z6;
64
+ var PlayerConnectionState_LIVE_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.m4;
65
+ var PlayerConnectionState_LEFT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.l4;
66
66
  var toList = kotlin_kotlin.$_$.t9;
67
67
  var getPlayer = kotlin_io_raspberryapps_game_engine_core.$_$.p;
68
- var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.u5;
68
+ var GameEngineConfig_instance = kotlin_io_raspberryapps_game_engine_core.$_$.w5;
69
69
  var toMutableList = kotlin_kotlin.$_$.w9;
70
- var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.y3;
71
- var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y6;
72
- var RestartRoundReason_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t5;
73
- var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.qa;
74
- var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g6;
75
- var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g7;
76
- var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.o4;
70
+ var sortWithItem = kotlin_io_raspberryapps_game_engine_core.$_$.a4;
71
+ var StartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.o6;
72
+ var RestartRoundReason_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.v5;
73
+ var Companion_instance = kotlin_io_raspberryapps_game_engine_engine.$_$.s9;
74
+ var ContinueGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w5;
75
+ var SceneEndedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w6;
76
+ var Reason_GAME_NOT_EXISTS_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.q4;
77
77
  var GameErrorReason = kotlin_io_raspberryapps_game_engine_core.$_$.t1;
78
- var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.i8;
79
- var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i6;
80
- var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i7;
81
- var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.a4;
82
- var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.sa;
83
- var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t4;
78
+ var TerminationState = kotlin_io_raspberryapps_game_engine_engine.$_$.y7;
79
+ var toString = kotlin_kotlin.$_$.yc;
80
+ var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
81
+ var FinishGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y5;
82
+ var ClearAction = kotlin_io_raspberryapps_game_engine_engine.$_$.y6;
83
+ var toDomainEnumSafe = kotlin_io_raspberryapps_game_engine_core.$_$.c4;
84
+ var Companion_instance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.u9;
85
+ var Reason_DEPLOY_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.v4;
84
86
  var GameFinishedReason = kotlin_io_raspberryapps_game_engine_core.$_$.u1;
85
- var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.r4;
87
+ var Reason_SERVER_ERROR_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.t4;
86
88
  var noWhenBranchMatchedException = kotlin_kotlin.$_$.qh;
87
- var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.n8;
89
+ var BaseGame = kotlin_io_raspberryapps_game_engine_engine.$_$.d8;
88
90
  var emptyList = kotlin_kotlin.$_$.n7;
89
91
  var RaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.g;
90
92
  var getKClass = kotlin_kotlin.$_$.e;
@@ -93,10 +95,10 @@
93
95
  var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
94
96
  var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
95
97
  var Instance = kotlin_org_kodein_di_kodein_di.$_$.f;
96
- var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.o4;
98
+ var PlayerConnectionInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
97
99
  var lazy = kotlin_kotlin.$_$.ph;
98
100
  var plus = kotlin_kotlin.$_$.z8;
99
- var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.p8;
101
+ var GameStore = kotlin_io_raspberryapps_game_engine_engine.$_$.f8;
100
102
  var defineProp = kotlin_kotlin.$_$.kb;
101
103
  var KProperty1 = kotlin_kotlin.$_$.pd;
102
104
  var getPropertyCallableRef = kotlin_kotlin.$_$.qb;
@@ -105,29 +107,28 @@
105
107
  var Enum = kotlin_kotlin.$_$.hg;
106
108
  var getBooleanHashCode = kotlin_kotlin.$_$.ob;
107
109
  var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
108
- var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.o7;
109
- var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.d;
110
+ var StoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.e7;
111
+ var ServerReduxConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.f;
110
112
  var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
111
- var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.q8;
113
+ var StateProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.g8;
112
114
  var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
113
- var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.f8;
115
+ var TableLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.v7;
114
116
  var RandomPoolProvider = kotlin_io_raspberryapps_cardgame_random.$_$.i;
115
- var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.d8;
117
+ var PlayerTurnMechanicReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.t7;
116
118
  var IdsProvider = kotlin_io_raspberryapps_game_engine_core.$_$.e2;
117
- var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
118
- var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.f4;
119
- var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.e4;
120
- var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.c8;
121
- var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.o8;
119
+ var EngineLogicConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.m3;
120
+ var jsonModule = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
121
+ var getEngineGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
122
+ var MechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.s7;
123
+ var GameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.e8;
122
124
  var initMetadataForInterface = kotlin_kotlin.$_$.wb;
123
125
  var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.w;
124
126
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.n;
125
127
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.m;
126
- var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e5;
128
+ var CombinedToClientAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u4;
127
129
  var single = kotlin_kotlin.$_$.i9;
128
130
  var copyToArray = kotlin_kotlin.$_$.i7;
129
- var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.d5;
130
- var toString = kotlin_kotlin.$_$.yc;
131
+ var ActionDeliveryPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.t4;
131
132
  var getStringHashCode = kotlin_kotlin.$_$.rb;
132
133
  var KtList = kotlin_kotlin.$_$.x5;
133
134
  var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e1;
@@ -142,152 +143,120 @@
142
143
  var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.b1;
143
144
  var get_actionTag = kotlin_io_raspberryapps_game_engine_core.$_$.f3;
144
145
  var Action = kotlin_io_raspberryapps_game_engine_core.$_$.g3;
145
- var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.q7;
146
- var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.p7;
147
- var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.k7;
148
- var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.m7;
149
- var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.l7;
146
+ var ValidationStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.g7;
147
+ var TimersStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.f7;
148
+ var BotGameStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.a7;
149
+ var GameMechanicStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.c7;
150
+ var FileLoggerStoreContract = kotlin_io_raspberryapps_game_engine_engine.$_$.b7;
150
151
  var AsyncProvider = kotlin_io_raspberryapps_game_engine_core.$_$.d2;
151
- var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.i4;
152
- var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.v3;
153
- var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.s4;
152
+ var LastCardInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.y3;
153
+ var EngineBotConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.l3;
154
+ var ScenePositionProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.i4;
154
155
  var listOf = kotlin_kotlin.$_$.q8;
155
- var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.z7;
156
+ var checkBotsMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.p7;
156
157
  var listOfNotNull = kotlin_kotlin.$_$.n8;
157
- var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.t7;
158
- var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.u7;
158
+ var playerConnectionUpdateMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.j7;
159
+ var playerReconnectionWaitingTimerTickMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.k7;
159
160
  var listOfNotNull_0 = kotlin_kotlin.$_$.o8;
160
- var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.r7;
161
- var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.x7;
161
+ var roundLifecycleMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.h7;
162
+ var playerTurnTimeoutWhenHostMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.n7;
162
163
  var listOf_0 = kotlin_kotlin.$_$.p8;
163
- var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.y7;
164
- var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.s7;
165
- var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c6;
164
+ var clearOnFinishMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.o7;
165
+ var putPlayerLastCardMiddleware = kotlin_io_raspberryapps_game_engine_engine.$_$.i7;
166
+ var RoundEndedAction = kotlin_io_raspberryapps_game_engine_engine.$_$.s5;
166
167
  var Middleware = kotlin_io_raspberryapps_game_engine_core.$_$.h3;
167
- var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.m6;
168
- var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.f5;
169
- var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.q5;
170
- var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r6;
171
- var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.q;
172
- var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.v5;
173
- var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n6;
174
- var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.o5;
175
- var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.e7;
176
- var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.m5;
177
- var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q6;
178
- var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.t5;
179
- var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u6;
180
- var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.i5;
181
- var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f6;
182
- var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.w5;
183
- var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d7;
184
- var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.a6;
185
- var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.a7;
186
- var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.z5;
187
- var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.s6;
188
- var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.w;
168
+ var MechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.c6;
169
+ var RoomActionPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.v4;
170
+ var mapToClient = kotlin_io_raspberryapps_game_engine_engine.$_$.g5;
171
+ var PlayerConnectionChangedMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h6;
172
+ var UserMessage = kotlin_io_raspberryapps_game_engine_engine.$_$.s;
173
+ var mapToClient_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.l5;
174
+ var MessageMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.d6;
175
+ var mapToClient_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.e5;
176
+ var WinnerCombinationsMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.u6;
177
+ var mapToClient_2 = kotlin_io_raspberryapps_game_engine_engine.$_$.c5;
178
+ var PickUpBribeMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.g6;
179
+ var mapToClient_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.j5;
180
+ var PutCardMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.k6;
181
+ var mapToClient_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.y4;
182
+ var CombinationChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v5;
183
+ var mapToClient_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.m5;
184
+ var TrumpMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.t6;
185
+ var mapToClient_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.q5;
186
+ var SuitChoiceMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.q6;
187
+ var mapToClient_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.p5;
188
+ var PlayerReadyMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.i6;
189
+ var getGameCreator = kotlin_io_raspberryapps_game_engine_engine.$_$.y;
189
190
  var collectionSizeOrDefault = kotlin_kotlin.$_$.s6;
190
- var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.p9;
191
- var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.x5;
192
- var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.b7;
193
- var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.u5;
194
- var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.w6;
195
- var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.y5;
196
- var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x6;
197
- var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.r5;
198
- var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.h6;
199
- var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.k5;
200
- var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.v6;
201
- var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.p5;
202
- var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.s5;
203
- var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.j6;
204
- var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.l5;
205
- var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.n5;
206
- var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z6;
207
- var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.j5;
191
+ var UserActionPayload_init_$Create$ = kotlin_io_raspberryapps_game_engine_engine.$_$.v8;
192
+ var mapToClient_8 = kotlin_io_raspberryapps_game_engine_engine.$_$.n5;
193
+ var TeamsDataMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.r6;
194
+ var mapToClient_9 = kotlin_io_raspberryapps_game_engine_engine.$_$.k5;
195
+ var SceneActMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.m6;
196
+ var mapToClient_10 = kotlin_io_raspberryapps_game_engine_engine.$_$.o5;
197
+ var SceneMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.n6;
198
+ var mapToClient_11 = kotlin_io_raspberryapps_game_engine_engine.$_$.h5;
199
+ var ErrorAction = kotlin_io_raspberryapps_game_engine_engine.$_$.x5;
200
+ var mapToClient_12 = kotlin_io_raspberryapps_game_engine_engine.$_$.a5;
201
+ var RestartGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.l6;
202
+ var mapToClient_13 = kotlin_io_raspberryapps_game_engine_engine.$_$.f5;
203
+ var mapToClient_14 = kotlin_io_raspberryapps_game_engine_engine.$_$.i5;
204
+ var FinishingGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.z5;
205
+ var mapToClient_15 = kotlin_io_raspberryapps_game_engine_engine.$_$.b5;
206
+ var mapToClient_16 = kotlin_io_raspberryapps_game_engine_engine.$_$.d5;
207
+ var StartNewGameMechanicAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p6;
208
+ var mapToClient_17 = kotlin_io_raspberryapps_game_engine_engine.$_$.z4;
208
209
  var Reducer = kotlin_io_raspberryapps_game_engine_core.$_$.i3;
209
- var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.f5;
210
- var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.d5;
210
+ var Companion_instance_1 = kotlin_io_raspberryapps_game_engine_core.$_$.h5;
211
+ var Companion_instance_2 = kotlin_io_raspberryapps_game_engine_core.$_$.f5;
211
212
  var Companion_getInstance = kotlin_kotlin.$_$.g5;
212
213
  var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.g;
213
214
  var toDuration = kotlin_kotlin.$_$.zf;
214
- var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.b8;
215
- var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.k9;
215
+ var BaseMechanicLifecycleReducer = kotlin_io_raspberryapps_game_engine_engine.$_$.r7;
216
+ var GameLifecycleState_CREATED_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.q8;
216
217
  var filterByPlayerId = kotlin_io_raspberryapps_game_engine_core.$_$.m;
217
218
  var singleOrNull = kotlin_kotlin.$_$.h9;
218
219
  var Collection = kotlin_kotlin.$_$.r5;
219
220
  var toSet = kotlin_kotlin.$_$.z9;
220
- var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.t;
221
- var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.g8;
222
- var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.s1;
223
- var isArray = kotlin_kotlin.$_$.zb;
224
- var get_entries = kotlin_io_raspberryapps_game_engine_engine.$_$.a1;
225
- var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.w1;
226
- var get_entries_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.m3;
227
- var get_entries_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.n3;
228
- var getUserProfilePayloadOrNull = kotlin_io_raspberryapps_game_engine_engine.$_$.x;
229
- var Companion_instance_3 = kotlin_io_raspberryapps_game_engine_engine.$_$.na;
230
- var Config = kotlin_io_raspberryapps_game_engine_engine.$_$.l3;
231
- var PointsMode_SMALL_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.i9;
232
- var PointsMode_MEDIUM_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.h9;
233
- var PointsMode_BIG_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.g9;
234
- var PointsMode_TEST_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.j9;
235
- var PlayersMode_TWO_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.f9;
236
- var PlayersMode_THREE_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.e9;
237
- var PlayersMode_FOUR_PLAYERS_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.d9;
238
- var PlayersMode_FOUR_PLAYERS_BY_TEAM_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.c9;
239
- var Rules = kotlin_io_raspberryapps_game_engine_engine.$_$.d1;
240
- var mapOfObject = kotlin_io_raspberryapps_game_engine_core.$_$.w3;
241
- var toRoundContractType = kotlin_io_raspberryapps_game_engine_engine.$_$.z2;
242
- var Companion_getInstance_0 = kotlin_io_raspberryapps_game_engine_engine.$_$.r9;
243
- var toBidType = kotlin_io_raspberryapps_game_engine_engine.$_$.x2;
244
- var mapToCombinationType = kotlin_io_raspberryapps_game_engine_engine.$_$.e2;
245
- var Companion_getInstance_1 = kotlin_io_raspberryapps_game_engine_engine.$_$.ma;
246
- var toPointsDistributeMode = kotlin_io_raspberryapps_game_engine_engine.$_$.y2;
247
- var PointsDistributeMode_HIGHEST_PLAYER_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.y8;
248
- var PointsDistributeMode_ALL_getInstance = kotlin_io_raspberryapps_game_engine_engine.$_$.x8;
249
- var getValue = kotlin_kotlin.$_$.a8;
250
- var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.s9;
251
- var valueOf = kotlin_io_raspberryapps_game_engine_engine.$_$.b1;
252
- var Default_getInstance = kotlin_kotlin.$_$.d5;
253
- var GameUserInfo = kotlin_io_raspberryapps_game_engine_core.$_$.c;
254
- var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.u3;
221
+ var Spectator = kotlin_io_raspberryapps_game_engine_engine.$_$.v;
222
+ var AppStatePayload = kotlin_io_raspberryapps_game_engine_engine.$_$.w7;
223
+ var DealerConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.k3;
255
224
  var CoreConfig = kotlin_io_raspberryapps_game_engine_core.$_$.r1;
256
225
  var RandomOrgConfig = kotlin_io_raspberryapps_cardgame_random.$_$.b;
257
- var Companion_instance_5 = kotlin_org_kodein_di_kodein_di.$_$.b;
258
- var LoggerCallbacksWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.a;
226
+ var Companion_instance_3 = kotlin_org_kodein_di_kodein_di.$_$.b;
227
+ var LoggerCallbacksWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.c;
259
228
  var mutableListOf = kotlin_kotlin.$_$.v8;
260
229
  var CombinedRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.c;
261
230
  var PlatformRaspberryLogger = kotlin_io_raspberryapps_cardgame_logger.$_$.f;
262
231
  var randomOrgModule = kotlin_io_raspberryapps_game_engine_core.$_$.j2;
263
- var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.l8;
264
- var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.k8;
265
- var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.j8;
266
- var Companion_instance_6 = kotlin_io_raspberryapps_game_engine_engine.$_$.ua;
267
- var Companion_instance_7 = kotlin_io_raspberryapps_game_engine_engine.$_$.ta;
268
- var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
232
+ var FileLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.b8;
233
+ var FileLoggerOutputImpl = kotlin_io_raspberryapps_game_engine_engine.$_$.a8;
234
+ var CallbackWrapperLoggerOutput = kotlin_io_raspberryapps_game_engine_engine.$_$.z7;
235
+ var Companion_instance_4 = kotlin_io_raspberryapps_game_engine_engine.$_$.w9;
236
+ var Companion_instance_5 = kotlin_io_raspberryapps_game_engine_engine.$_$.v9;
237
+ var toLoggerPayload = kotlin_io_raspberryapps_game_engine_engine.$_$.j3;
269
238
  var combinedLoggerModule = kotlin_io_raspberryapps_game_engine_core.$_$.g2;
270
239
  var dealerModule = kotlin_io_raspberryapps_game_engine_core.$_$.i2;
271
240
  var coreModule = kotlin_io_raspberryapps_game_engine_core.$_$.h2;
272
- var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.w5;
273
- var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.b5;
274
- var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.c5;
275
- var ParserHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
241
+ var AppEnvironment_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.y5;
242
+ var AppEnvironmentValue_DEVELOPMENT_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.d5;
243
+ var AppEnvironmentValue_PRODUCTION_getInstance = kotlin_io_raspberryapps_game_engine_core.$_$.e5;
244
+ var ParserHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.d;
245
+ var GameHelper = kotlin_io_raspberryapps_game_engine_engine.$_$.a;
246
+ var GameResources = kotlin_io_raspberryapps_game_engine_engine.$_$.b;
276
247
  var Logger_getInstance = kotlin_io_raspberryapps_cardgame_logger.$_$.m;
277
- var Companion_instance_8 = kotlin_io_raspberryapps_cardgame_logger.$_$.n;
248
+ var Companion_instance_6 = kotlin_io_raspberryapps_cardgame_logger.$_$.n;
278
249
  var toList_0 = kotlin_kotlin.$_$.s9;
279
250
  var middleware = kotlin_io_raspberryapps_game_engine_core.$_$.l3;
280
251
  var get_direct = kotlin_org_kodein_di_kodein_di.$_$.g;
281
- var mapToDto = kotlin_io_raspberryapps_game_engine_engine.$_$.k2;
282
- var RoomConfig = kotlin_io_raspberryapps_game_engine_engine.$_$.va;
283
- var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.d4;
252
+ var get_botGameModule = kotlin_io_raspberryapps_game_engine_engine.$_$.t3;
284
253
  var emptyMap = kotlin_kotlin.$_$.o7;
285
- var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.j4;
286
- var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.w4;
287
- var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.h5;
288
- var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.p6;
289
- var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.g4;
290
- var engineHelpersModule = kotlin_io_raspberryapps_game_engine_engine.$_$.c;
254
+ var PlayerAnswerInteractor = kotlin_io_raspberryapps_game_engine_engine.$_$.z3;
255
+ var FromClientActionPayloadProvider = kotlin_io_raspberryapps_game_engine_engine.$_$.m4;
256
+ var mapFromClient = kotlin_io_raspberryapps_game_engine_engine.$_$.x4;
257
+ var NextPlayerTurnAction = kotlin_io_raspberryapps_game_engine_engine.$_$.f6;
258
+ var get_ratingModule = kotlin_io_raspberryapps_game_engine_engine.$_$.w3;
259
+ var engineHelpersModule = kotlin_io_raspberryapps_game_engine_engine.$_$.e;
291
260
  //endregion
292
261
  //region block: pre-declaration
293
262
  initMetadataForLambda(GameServer$subscribeToClientAction$slambda$slambda, CoroutineImpl, VOID, [1]);
@@ -309,7 +278,8 @@
309
278
  initMetadataForLambda(GameServer$roomOnDelete$slambda, CoroutineImpl, VOID, [2]);
310
279
  initMetadataForLambda(GameServer$setCanStartNewGameEnabled$slambda, CoroutineImpl, VOID, [2]);
311
280
  initMetadataForLambda(GameServer$shutdown$slambda, CoroutineImpl, VOID, [2]);
312
- function roomOnCreate(roomId, gameCreatorId, config, users, spectators, $super) {
281
+ function roomOnCreate(roomId, gameCreatorId, config, users, transition, spectators, $super) {
282
+ transition = transition === VOID ? null : transition;
313
283
  var tmp;
314
284
  if (spectators === VOID) {
315
285
  // Inline function 'kotlin.emptyArray' call
@@ -318,15 +288,15 @@
318
288
  tmp = spectators;
319
289
  }
320
290
  spectators = tmp;
321
- return this.hd9(roomId, gameCreatorId, config, users, spectators);
291
+ return this.rda(roomId, gameCreatorId, config, users, transition, spectators);
322
292
  }
323
293
  function roomOnDelete(newRid, $super) {
324
294
  newRid = newRid === VOID ? null : newRid;
325
- return this.id9(newRid);
295
+ return this.sda(newRid);
326
296
  }
327
297
  function shutdown(reason, roomId, $super) {
328
298
  roomId = roomId === VOID ? null : roomId;
329
- return this.jd9(reason, roomId);
299
+ return this.tda(reason, roomId);
330
300
  }
331
301
  initMetadataForInterface(ServerGameEngineContract, 'ServerGameEngineContract', VOID, VOID, [GameStoreContract]);
332
302
  initMetadataForClass(GameServer, 'GameServer', VOID, BaseGame, [BaseGame, ServerGameEngineContract]);
@@ -355,24 +325,6 @@
355
325
  initMetadataForClass(_no_name_provided__qut3iv_3, VOID, VOID, VOID, [Reducer]);
356
326
  initMetadataForCompanion(Companion_1);
357
327
  initMetadataForClass(ServerState, 'ServerState', VOID, VOID, [AppStatePayload]);
358
- initMetadataForInterface(GameHelper, 'GameHelper');
359
- initMetadataForClass(GameHelperImpl, 'GameHelperImpl', GameHelperImpl, VOID, [GameHelper]);
360
- function createBotUser(playerId, existingNicknames, $super) {
361
- var tmp;
362
- if (existingNicknames === VOID) {
363
- // Inline function 'kotlin.emptyArray' call
364
- tmp = [];
365
- } else {
366
- tmp = existingNicknames;
367
- }
368
- existingNicknames = tmp;
369
- return this.kdd(playerId, existingNicknames);
370
- }
371
- initMetadataForInterface(GameResources, 'GameResources');
372
- initMetadataForCompanion(Companion_2);
373
- initMetadataForClass(AvatarSet, 'AvatarSet', VOID, Enum);
374
- initMetadataForClass(AvatarData, 'AvatarData');
375
- initMetadataForClass(GameResourcesImpl, 'GameResourcesImpl', GameResourcesImpl, VOID, [GameResources]);
376
328
  function createGameEngineWithLogic(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig, $super) {
377
329
  var tmp;
378
330
  if (reducers === VOID) {
@@ -394,7 +346,7 @@
394
346
  logicConfig = logicConfig === VOID ? new EngineLogicConfig() : logicConfig;
395
347
  dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
396
348
  coreConfig = coreConfig === VOID ? new CoreConfig() : coreConfig;
397
- return this.ade(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
349
+ return this.yde(reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig);
398
350
  }
399
351
  initMetadataForInterface(GameEngineController, 'GameEngineController');
400
352
  initMetadataForClass(_no_name_provided__qut3iv_4, VOID, VOID, VOID, [Reducer]);
@@ -403,17 +355,17 @@
403
355
  initMetadataForClass(TestHelperImpl, 'TestHelperImpl', VOID, VOID, [TestHelper]);
404
356
  //endregion
405
357
  function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
406
- this.xd1_1 = $subscriber;
358
+ this.gd3_1 = $subscriber;
407
359
  CoroutineImpl.call(this, resultContinuation);
408
360
  }
409
- protoOf(GameServer$subscribeToClientAction$slambda$slambda).zd1 = function (it, $completion) {
410
- var tmp = this.ad2(it, $completion);
361
+ protoOf(GameServer$subscribeToClientAction$slambda$slambda).id3 = function (it, $completion) {
362
+ var tmp = this.jd3(it, $completion);
411
363
  tmp.g9_1 = Unit_instance;
412
364
  tmp.h9_1 = null;
413
365
  return tmp.m9();
414
366
  };
415
367
  protoOf(GameServer$subscribeToClientAction$slambda$slambda).w9 = function (p1, $completion) {
416
- return this.zd1(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
368
+ return this.id3(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
417
369
  };
418
370
  protoOf(GameServer$subscribeToClientAction$slambda$slambda).m9 = function () {
419
371
  var suspendResult = this.g9_1;
@@ -422,7 +374,7 @@
422
374
  var tmp = this.e9_1;
423
375
  if (tmp === 0) {
424
376
  this.f9_1 = 1;
425
- this.xd1_1(this.yd1_1);
377
+ this.gd3_1(this.hd3_1);
426
378
  return Unit_instance;
427
379
  } else if (tmp === 1) {
428
380
  throw this.h9_1;
@@ -433,31 +385,31 @@
433
385
  }
434
386
  while (true);
435
387
  };
436
- protoOf(GameServer$subscribeToClientAction$slambda$slambda).ad2 = function (it, completion) {
437
- var i = new GameServer$subscribeToClientAction$slambda$slambda(this.xd1_1, completion);
438
- i.yd1_1 = it;
388
+ protoOf(GameServer$subscribeToClientAction$slambda$slambda).jd3 = function (it, completion) {
389
+ var i = new GameServer$subscribeToClientAction$slambda$slambda(this.gd3_1, completion);
390
+ i.hd3_1 = it;
439
391
  return i;
440
392
  };
441
393
  function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
442
394
  var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
443
395
  var l = function (it, $completion) {
444
- return i.zd1(it, $completion);
396
+ return i.id3(it, $completion);
445
397
  };
446
398
  l.$arity = 1;
447
399
  return l;
448
400
  }
449
401
  function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
450
- this.jd2_1 = $subscriber;
402
+ this.sd3_1 = $subscriber;
451
403
  CoroutineImpl.call(this, resultContinuation);
452
404
  }
453
- protoOf(GameServer$subscribeWith$slambda$slambda).ld2 = function (it, $completion) {
454
- var tmp = this.md2(it, $completion);
405
+ protoOf(GameServer$subscribeWith$slambda$slambda).ud3 = function (it, $completion) {
406
+ var tmp = this.vd3(it, $completion);
455
407
  tmp.g9_1 = Unit_instance;
456
408
  tmp.h9_1 = null;
457
409
  return tmp.m9();
458
410
  };
459
411
  protoOf(GameServer$subscribeWith$slambda$slambda).w9 = function (p1, $completion) {
460
- return this.ld2(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
412
+ return this.ud3(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
461
413
  };
462
414
  protoOf(GameServer$subscribeWith$slambda$slambda).m9 = function () {
463
415
  var suspendResult = this.g9_1;
@@ -466,7 +418,7 @@
466
418
  var tmp = this.e9_1;
467
419
  if (tmp === 0) {
468
420
  this.f9_1 = 1;
469
- this.jd2_1(this.kd2_1);
421
+ this.sd3_1(this.td3_1);
470
422
  return Unit_instance;
471
423
  } else if (tmp === 1) {
472
424
  throw this.h9_1;
@@ -477,58 +429,58 @@
477
429
  }
478
430
  while (true);
479
431
  };
480
- protoOf(GameServer$subscribeWith$slambda$slambda).md2 = function (it, completion) {
481
- var i = new GameServer$subscribeWith$slambda$slambda(this.jd2_1, completion);
482
- i.kd2_1 = it;
432
+ protoOf(GameServer$subscribeWith$slambda$slambda).vd3 = function (it, completion) {
433
+ var i = new GameServer$subscribeWith$slambda$slambda(this.sd3_1, completion);
434
+ i.td3_1 = it;
483
435
  return i;
484
436
  };
485
437
  function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
486
438
  var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
487
439
  var l = function (it, $completion) {
488
- return i.ld2(it, $completion);
440
+ return i.ud3(it, $completion);
489
441
  };
490
442
  l.$arity = 1;
491
443
  return l;
492
444
  }
493
445
  function _get_logger__rkp4sl($this) {
494
446
  // Inline function 'kotlin.getValue' call
495
- var this_0 = $this.pd2_1;
447
+ var this_0 = $this.yd3_1;
496
448
  logger$factory_0();
497
449
  return this_0.u();
498
450
  }
499
451
  function _get_toClientEventsObserver__6rp51y($this) {
500
452
  // Inline function 'kotlin.getValue' call
501
- var this_0 = $this.qd2_1;
453
+ var this_0 = $this.zd3_1;
502
454
  toClientEventsObserver$factory_0();
503
455
  return this_0.u();
504
456
  }
505
457
  function _get_playerConnectionInteractor__si6cxf($this) {
506
458
  // Inline function 'kotlin.getValue' call
507
- var this_0 = $this.rd2_1;
459
+ var this_0 = $this.ad4_1;
508
460
  playerConnectionInteractor$factory_0();
509
461
  return this_0.u();
510
462
  }
511
463
  function _get_random__h29cgo($this) {
512
464
  // Inline function 'kotlin.getValue' call
513
- var this_0 = $this.sd2_1;
465
+ var this_0 = $this.bd4_1;
514
466
  random$factory();
515
467
  return this_0.u();
516
468
  }
517
469
  function Companion() {
518
- this.ud2_1 = 'GameEngine_API';
470
+ this.dd4_1 = 'GameEngine_API';
519
471
  }
520
- var Companion_instance_9;
521
- function Companion_getInstance_2() {
522
- return Companion_instance_9;
472
+ var Companion_instance_7;
473
+ function Companion_getInstance_0() {
474
+ return Companion_instance_7;
523
475
  }
524
476
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
525
- this.vd2_1 = function_0;
477
+ this.ed4_1 = function_0;
526
478
  }
527
479
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).p18 = function (value, $completion) {
528
- return this.vd2_1(value, $completion);
480
+ return this.ed4_1(value, $completion);
529
481
  };
530
482
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).o3 = function () {
531
- return this.vd2_1;
483
+ return this.ed4_1;
532
484
  };
533
485
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).equals = function (other) {
534
486
  var tmp;
@@ -549,13 +501,13 @@
549
501
  return hashCode(this.o3());
550
502
  };
551
503
  function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
552
- this.wd2_1 = function_0;
504
+ this.fd4_1 = function_0;
553
505
  }
554
506
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).p18 = function (value, $completion) {
555
- return this.wd2_1(value, $completion);
507
+ return this.fd4_1(value, $completion);
556
508
  };
557
509
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).o3 = function () {
558
- return this.wd2_1;
510
+ return this.fd4_1;
559
511
  };
560
512
  protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).equals = function (other) {
561
513
  var tmp;
@@ -581,8 +533,8 @@
581
533
  };
582
534
  }
583
535
  function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
584
- this.fd3_1 = this$0;
585
- this.gd3_1 = $subscriber;
536
+ this.od4_1 = this$0;
537
+ this.pd4_1 = $subscriber;
586
538
  CoroutineImpl.call(this, resultContinuation);
587
539
  }
588
540
  protoOf(GameServer$subscribeToClientAction$slambda).e1f = function ($this$launchDefault, $completion) {
@@ -603,8 +555,8 @@
603
555
  case 0:
604
556
  this.f9_1 = 2;
605
557
  this.e9_1 = 1;
606
- var tmp_0 = _get_toClientEventsObserver__6rp51y(this.fd3_1).rb7();
607
- var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.gd3_1, null);
558
+ var tmp_0 = _get_toClientEventsObserver__6rp51y(this.od4_1).ab9();
559
+ var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.pd4_1, null);
608
560
  suspendResult = tmp_0.l17(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
609
561
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
610
562
  return suspendResult;
@@ -628,8 +580,8 @@
628
580
  while (true);
629
581
  };
630
582
  protoOf(GameServer$subscribeToClientAction$slambda).f1f = function ($this$launchDefault, completion) {
631
- var i = new GameServer$subscribeToClientAction$slambda(this.fd3_1, this.gd3_1, completion);
632
- i.hd3_1 = $this$launchDefault;
583
+ var i = new GameServer$subscribeToClientAction$slambda(this.od4_1, this.pd4_1, completion);
584
+ i.qd4_1 = $this$launchDefault;
633
585
  return i;
634
586
  };
635
587
  function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -641,8 +593,8 @@
641
593
  return l;
642
594
  }
643
595
  function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
644
- this.qd3_1 = this$0;
645
- this.rd3_1 = $subscriber;
596
+ this.zd4_1 = this$0;
597
+ this.ad5_1 = $subscriber;
646
598
  CoroutineImpl.call(this, resultContinuation);
647
599
  }
648
600
  protoOf(GameServer$subscribeWith$slambda).e1f = function ($this$launchDefault, $completion) {
@@ -663,8 +615,8 @@
663
615
  case 0:
664
616
  this.f9_1 = 2;
665
617
  this.e9_1 = 1;
666
- var tmp_0 = distinctUntilChanged(this.qd3_1.c6w());
667
- var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.rd3_1, null);
618
+ var tmp_0 = distinctUntilChanged(this.zd4_1.c6w());
619
+ var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.ad5_1, null);
668
620
  suspendResult = tmp_0.l17(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
669
621
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
670
622
  return suspendResult;
@@ -688,8 +640,8 @@
688
640
  while (true);
689
641
  };
690
642
  protoOf(GameServer$subscribeWith$slambda).f1f = function ($this$launchDefault, completion) {
691
- var i = new GameServer$subscribeWith$slambda(this.qd3_1, this.rd3_1, completion);
692
- i.sd3_1 = $this$launchDefault;
643
+ var i = new GameServer$subscribeWith$slambda(this.zd4_1, this.ad5_1, completion);
644
+ i.bd5_1 = $this$launchDefault;
693
645
  return i;
694
646
  };
695
647
  function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
@@ -701,18 +653,18 @@
701
653
  return l;
702
654
  }
703
655
  function GameServer$fromClientEvent$slambda($action, resultContinuation) {
704
- this.bd4_1 = $action;
656
+ this.kd5_1 = $action;
705
657
  CoroutineImpl.call(this, resultContinuation);
706
658
  }
707
- protoOf(GameServer$fromClientEvent$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
708
- var tmp = this.tb2($this$dispatchAsync, store, $completion);
659
+ protoOf(GameServer$fromClientEvent$slambda).bb4 = function ($this$dispatchAsync, store, $completion) {
660
+ var tmp = this.cb4($this$dispatchAsync, store, $completion);
709
661
  tmp.g9_1 = Unit_instance;
710
662
  tmp.h9_1 = null;
711
663
  return tmp.m9();
712
664
  };
713
665
  protoOf(GameServer$fromClientEvent$slambda).x9 = function (p1, p2, $completion) {
714
666
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
715
- return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
667
+ return this.bb4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
716
668
  };
717
669
  protoOf(GameServer$fromClientEvent$slambda).m9 = function () {
718
670
  var suspendResult = this.g9_1;
@@ -721,11 +673,11 @@
721
673
  var tmp = this.e9_1;
722
674
  if (tmp === 0) {
723
675
  this.f9_1 = 1;
724
- if (this.bd4_1 instanceof PlayerReadyFromClientAction)
725
- if (!get_isCreated(this.dd4_1.state)) {
676
+ if (this.kd5_1 instanceof PlayerReadyFromClientAction)
677
+ if (!get_isCreated(this.md5_1.state)) {
726
678
  return Unit_instance;
727
679
  }
728
- this.dd4_1.dispatch(this.bd4_1);
680
+ this.md5_1.dispatch(this.kd5_1);
729
681
  return Unit_instance;
730
682
  } else if (tmp === 1) {
731
683
  throw this.h9_1;
@@ -736,33 +688,33 @@
736
688
  }
737
689
  while (true);
738
690
  };
739
- protoOf(GameServer$fromClientEvent$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
740
- var i = new GameServer$fromClientEvent$slambda(this.bd4_1, completion);
741
- i.cd4_1 = $this$dispatchAsync;
742
- i.dd4_1 = store;
691
+ protoOf(GameServer$fromClientEvent$slambda).cb4 = function ($this$dispatchAsync, store, completion) {
692
+ var i = new GameServer$fromClientEvent$slambda(this.kd5_1, completion);
693
+ i.ld5_1 = $this$dispatchAsync;
694
+ i.md5_1 = store;
743
695
  return i;
744
696
  };
745
697
  function GameServer$fromClientEvent$slambda_0($action, resultContinuation) {
746
698
  var i = new GameServer$fromClientEvent$slambda($action, resultContinuation);
747
699
  var l = function ($this$dispatchAsync, store, $completion) {
748
- return i.sb2($this$dispatchAsync, store, $completion);
700
+ return i.bb4($this$dispatchAsync, store, $completion);
749
701
  };
750
702
  l.$arity = 2;
751
703
  return l;
752
704
  }
753
705
  function GameServer$playerLostConnection$slambda($playerId, resultContinuation) {
754
- this.md4_1 = $playerId;
706
+ this.vd5_1 = $playerId;
755
707
  CoroutineImpl.call(this, resultContinuation);
756
708
  }
757
- protoOf(GameServer$playerLostConnection$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
758
- var tmp = this.tb2($this$dispatchAsync, store, $completion);
709
+ protoOf(GameServer$playerLostConnection$slambda).bb4 = function ($this$dispatchAsync, store, $completion) {
710
+ var tmp = this.cb4($this$dispatchAsync, store, $completion);
759
711
  tmp.g9_1 = Unit_instance;
760
712
  tmp.h9_1 = null;
761
713
  return tmp.m9();
762
714
  };
763
715
  protoOf(GameServer$playerLostConnection$slambda).x9 = function (p1, p2, $completion) {
764
716
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
765
- return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
717
+ return this.bb4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
766
718
  };
767
719
  protoOf(GameServer$playerLostConnection$slambda).m9 = function () {
768
720
  var suspendResult = this.g9_1;
@@ -771,12 +723,12 @@
771
723
  var tmp = this.e9_1;
772
724
  if (tmp === 0) {
773
725
  this.f9_1 = 1;
774
- if (!get_isCreated(this.od4_1.state)) {
726
+ if (!get_isCreated(this.xd5_1.state)) {
775
727
  return Unit_instance;
776
728
  }
777
- var tmp_0 = this.od4_1.dispatch;
729
+ var tmp_0 = this.xd5_1.dispatch;
778
730
  var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
779
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.md4_1));
731
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.vd5_1));
780
732
  return Unit_instance;
781
733
  } else if (tmp === 1) {
782
734
  throw this.h9_1;
@@ -787,33 +739,33 @@
787
739
  }
788
740
  while (true);
789
741
  };
790
- protoOf(GameServer$playerLostConnection$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
791
- var i = new GameServer$playerLostConnection$slambda(this.md4_1, completion);
792
- i.nd4_1 = $this$dispatchAsync;
793
- i.od4_1 = store;
742
+ protoOf(GameServer$playerLostConnection$slambda).cb4 = function ($this$dispatchAsync, store, completion) {
743
+ var i = new GameServer$playerLostConnection$slambda(this.vd5_1, completion);
744
+ i.wd5_1 = $this$dispatchAsync;
745
+ i.xd5_1 = store;
794
746
  return i;
795
747
  };
796
748
  function GameServer$playerLostConnection$slambda_0($playerId, resultContinuation) {
797
749
  var i = new GameServer$playerLostConnection$slambda($playerId, resultContinuation);
798
750
  var l = function ($this$dispatchAsync, store, $completion) {
799
- return i.sb2($this$dispatchAsync, store, $completion);
751
+ return i.bb4($this$dispatchAsync, store, $completion);
800
752
  };
801
753
  l.$arity = 2;
802
754
  return l;
803
755
  }
804
756
  function GameServer$playerLive$slambda($playerId, resultContinuation) {
805
- this.xd4_1 = $playerId;
757
+ this.gd6_1 = $playerId;
806
758
  CoroutineImpl.call(this, resultContinuation);
807
759
  }
808
- protoOf(GameServer$playerLive$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
809
- var tmp = this.tb2($this$dispatchAsync, store, $completion);
760
+ protoOf(GameServer$playerLive$slambda).bb4 = function ($this$dispatchAsync, store, $completion) {
761
+ var tmp = this.cb4($this$dispatchAsync, store, $completion);
810
762
  tmp.g9_1 = Unit_instance;
811
763
  tmp.h9_1 = null;
812
764
  return tmp.m9();
813
765
  };
814
766
  protoOf(GameServer$playerLive$slambda).x9 = function (p1, p2, $completion) {
815
767
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
816
- return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
768
+ return this.bb4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
817
769
  };
818
770
  protoOf(GameServer$playerLive$slambda).m9 = function () {
819
771
  var suspendResult = this.g9_1;
@@ -822,9 +774,9 @@
822
774
  var tmp = this.e9_1;
823
775
  if (tmp === 0) {
824
776
  this.f9_1 = 1;
825
- var tmp_0 = this.zd4_1.dispatch;
777
+ var tmp_0 = this.id6_1.dispatch;
826
778
  var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
827
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.xd4_1));
779
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.gd6_1));
828
780
  return Unit_instance;
829
781
  } else if (tmp === 1) {
830
782
  throw this.h9_1;
@@ -835,33 +787,33 @@
835
787
  }
836
788
  while (true);
837
789
  };
838
- protoOf(GameServer$playerLive$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
839
- var i = new GameServer$playerLive$slambda(this.xd4_1, completion);
840
- i.yd4_1 = $this$dispatchAsync;
841
- i.zd4_1 = store;
790
+ protoOf(GameServer$playerLive$slambda).cb4 = function ($this$dispatchAsync, store, completion) {
791
+ var i = new GameServer$playerLive$slambda(this.gd6_1, completion);
792
+ i.hd6_1 = $this$dispatchAsync;
793
+ i.id6_1 = store;
842
794
  return i;
843
795
  };
844
796
  function GameServer$playerLive$slambda_0($playerId, resultContinuation) {
845
797
  var i = new GameServer$playerLive$slambda($playerId, resultContinuation);
846
798
  var l = function ($this$dispatchAsync, store, $completion) {
847
- return i.sb2($this$dispatchAsync, store, $completion);
799
+ return i.bb4($this$dispatchAsync, store, $completion);
848
800
  };
849
801
  l.$arity = 2;
850
802
  return l;
851
803
  }
852
804
  function GameServer$playerLeft$slambda($playerId, resultContinuation) {
853
- this.id5_1 = $playerId;
805
+ this.rd6_1 = $playerId;
854
806
  CoroutineImpl.call(this, resultContinuation);
855
807
  }
856
- protoOf(GameServer$playerLeft$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
857
- var tmp = this.tb2($this$dispatchAsync, store, $completion);
808
+ protoOf(GameServer$playerLeft$slambda).bb4 = function ($this$dispatchAsync, store, $completion) {
809
+ var tmp = this.cb4($this$dispatchAsync, store, $completion);
858
810
  tmp.g9_1 = Unit_instance;
859
811
  tmp.h9_1 = null;
860
812
  return tmp.m9();
861
813
  };
862
814
  protoOf(GameServer$playerLeft$slambda).x9 = function (p1, p2, $completion) {
863
815
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
864
- return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
816
+ return this.bb4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
865
817
  };
866
818
  protoOf(GameServer$playerLeft$slambda).m9 = function () {
867
819
  var suspendResult = this.g9_1;
@@ -870,9 +822,9 @@
870
822
  var tmp = this.e9_1;
871
823
  if (tmp === 0) {
872
824
  this.f9_1 = 1;
873
- var tmp_0 = this.kd5_1.dispatch;
825
+ var tmp_0 = this.td6_1.dispatch;
874
826
  var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
875
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.id5_1));
827
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.rd6_1));
876
828
  return Unit_instance;
877
829
  } else if (tmp === 1) {
878
830
  throw this.h9_1;
@@ -883,38 +835,38 @@
883
835
  }
884
836
  while (true);
885
837
  };
886
- protoOf(GameServer$playerLeft$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
887
- var i = new GameServer$playerLeft$slambda(this.id5_1, completion);
888
- i.jd5_1 = $this$dispatchAsync;
889
- i.kd5_1 = store;
838
+ protoOf(GameServer$playerLeft$slambda).cb4 = function ($this$dispatchAsync, store, completion) {
839
+ var i = new GameServer$playerLeft$slambda(this.rd6_1, completion);
840
+ i.sd6_1 = $this$dispatchAsync;
841
+ i.td6_1 = store;
890
842
  return i;
891
843
  };
892
844
  function GameServer$playerLeft$slambda_0($playerId, resultContinuation) {
893
845
  var i = new GameServer$playerLeft$slambda($playerId, resultContinuation);
894
846
  var l = function ($this$dispatchAsync, store, $completion) {
895
- return i.sb2($this$dispatchAsync, store, $completion);
847
+ return i.bb4($this$dispatchAsync, store, $completion);
896
848
  };
897
849
  l.$arity = 2;
898
850
  return l;
899
851
  }
900
852
  function GameServer$roomOnCreate$slambda($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation) {
901
- this.td5_1 = $users;
902
- this.ud5_1 = $gameCreatorId;
903
- this.vd5_1 = this$0;
904
- this.wd5_1 = $spectators;
905
- this.xd5_1 = $config;
906
- this.yd5_1 = $roomId;
853
+ this.cd7_1 = $users;
854
+ this.dd7_1 = $gameCreatorId;
855
+ this.ed7_1 = this$0;
856
+ this.fd7_1 = $spectators;
857
+ this.gd7_1 = $config;
858
+ this.hd7_1 = $roomId;
907
859
  CoroutineImpl.call(this, resultContinuation);
908
860
  }
909
- protoOf(GameServer$roomOnCreate$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
910
- var tmp = this.tb2($this$dispatchAsync, store, $completion);
861
+ protoOf(GameServer$roomOnCreate$slambda).bb4 = function ($this$dispatchAsync, store, $completion) {
862
+ var tmp = this.cb4($this$dispatchAsync, store, $completion);
911
863
  tmp.g9_1 = Unit_instance;
912
864
  tmp.h9_1 = null;
913
865
  return tmp.m9();
914
866
  };
915
867
  protoOf(GameServer$roomOnCreate$slambda).x9 = function (p1, p2, $completion) {
916
868
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
917
- return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
869
+ return this.bb4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
918
870
  };
919
871
  protoOf(GameServer$roomOnCreate$slambda).m9 = function () {
920
872
  var suspendResult = this.g9_1;
@@ -923,13 +875,13 @@
923
875
  var tmp = this.e9_1;
924
876
  if (tmp === 0) {
925
877
  this.f9_1 = 1;
926
- var usersList = toList(this.td5_1);
927
- var gameCreatorUser = getPlayer(usersList, this.ud5_1);
928
- var tmp_0 = this.ad6_1.dispatch;
878
+ var usersList = toList(this.cd7_1);
879
+ var gameCreatorUser = getPlayer(usersList, this.dd7_1);
880
+ var tmp_0 = this.jd7_1.dispatch;
929
881
  var tmp0_version = GameEngineConfig_instance.version;
930
- var tmp1_users = sortWithItem(_get_random__h29cgo(this.vd5_1).a60(toMutableList(usersList)), gameCreatorUser);
931
- var tmp2_spectators = toList(this.wd5_1);
932
- tmp_0(new StartGameMechanicAction(this.xd5_1, this.yd5_1, tmp0_version, this.ud5_1, tmp1_users, VOID, tmp2_spectators));
882
+ var tmp1_users = sortWithItem(_get_random__h29cgo(this.ed7_1).a60(toMutableList(usersList)), gameCreatorUser);
883
+ var tmp2_spectators = toList(this.fd7_1);
884
+ tmp_0(new StartGameMechanicAction(this.gd7_1, this.hd7_1, tmp0_version, this.dd7_1, tmp1_users, VOID, tmp2_spectators));
933
885
  return Unit_instance;
934
886
  } else if (tmp === 1) {
935
887
  throw this.h9_1;
@@ -940,33 +892,33 @@
940
892
  }
941
893
  while (true);
942
894
  };
943
- protoOf(GameServer$roomOnCreate$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
944
- var i = new GameServer$roomOnCreate$slambda(this.td5_1, this.ud5_1, this.vd5_1, this.wd5_1, this.xd5_1, this.yd5_1, completion);
945
- i.zd5_1 = $this$dispatchAsync;
946
- i.ad6_1 = store;
895
+ protoOf(GameServer$roomOnCreate$slambda).cb4 = function ($this$dispatchAsync, store, completion) {
896
+ var i = new GameServer$roomOnCreate$slambda(this.cd7_1, this.dd7_1, this.ed7_1, this.fd7_1, this.gd7_1, this.hd7_1, completion);
897
+ i.id7_1 = $this$dispatchAsync;
898
+ i.jd7_1 = store;
947
899
  return i;
948
900
  };
949
901
  function GameServer$roomOnCreate$slambda_0($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation) {
950
902
  var i = new GameServer$roomOnCreate$slambda($users, $gameCreatorId, this$0, $spectators, $config, $roomId, resultContinuation);
951
903
  var l = function ($this$dispatchAsync, store, $completion) {
952
- return i.sb2($this$dispatchAsync, store, $completion);
904
+ return i.bb4($this$dispatchAsync, store, $completion);
953
905
  };
954
906
  l.$arity = 2;
955
907
  return l;
956
908
  }
957
909
  function GameServer$roomOnContinueFromRound$slambda($tableLite, resultContinuation) {
958
- this.jd6_1 = $tableLite;
910
+ this.sd7_1 = $tableLite;
959
911
  CoroutineImpl.call(this, resultContinuation);
960
912
  }
961
- protoOf(GameServer$roomOnContinueFromRound$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
962
- var tmp = this.tb2($this$dispatchAsync, store, $completion);
913
+ protoOf(GameServer$roomOnContinueFromRound$slambda).bb4 = function ($this$dispatchAsync, store, $completion) {
914
+ var tmp = this.cb4($this$dispatchAsync, store, $completion);
963
915
  tmp.g9_1 = Unit_instance;
964
916
  tmp.h9_1 = null;
965
917
  return tmp.m9();
966
918
  };
967
919
  protoOf(GameServer$roomOnContinueFromRound$slambda).x9 = function (p1, p2, $completion) {
968
920
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
969
- return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
921
+ return this.bb4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
970
922
  };
971
923
  protoOf(GameServer$roomOnContinueFromRound$slambda).m9 = function () {
972
924
  var suspendResult = this.g9_1;
@@ -975,11 +927,11 @@
975
927
  var tmp = this.e9_1;
976
928
  if (tmp === 0) {
977
929
  this.f9_1 = 1;
978
- var tmp_0 = this.ld6_1.dispatch;
930
+ var tmp_0 = this.ud7_1.dispatch;
979
931
  var tmp0_reason = RestartRoundReason_getInstance();
980
- var tmp1_table = Companion_instance.restartRound(GameEngineConfig_instance.version, this.jd6_1);
932
+ var tmp1_table = Companion_instance.restartRound(GameEngineConfig_instance.version, this.sd7_1);
981
933
  tmp_0(new ContinueGameMechanicAction(tmp1_table, tmp0_reason));
982
- this.ld6_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
934
+ this.ud7_1.dispatch(new SceneEndedMechanicAction('CALC_POINTS'));
983
935
  return Unit_instance;
984
936
  } else if (tmp === 1) {
985
937
  throw this.h9_1;
@@ -990,33 +942,33 @@
990
942
  }
991
943
  while (true);
992
944
  };
993
- protoOf(GameServer$roomOnContinueFromRound$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
994
- var i = new GameServer$roomOnContinueFromRound$slambda(this.jd6_1, completion);
995
- i.kd6_1 = $this$dispatchAsync;
996
- i.ld6_1 = store;
945
+ protoOf(GameServer$roomOnContinueFromRound$slambda).cb4 = function ($this$dispatchAsync, store, completion) {
946
+ var i = new GameServer$roomOnContinueFromRound$slambda(this.sd7_1, completion);
947
+ i.td7_1 = $this$dispatchAsync;
948
+ i.ud7_1 = store;
997
949
  return i;
998
950
  };
999
951
  function GameServer$roomOnContinueFromRound$slambda_0($tableLite, resultContinuation) {
1000
952
  var i = new GameServer$roomOnContinueFromRound$slambda($tableLite, resultContinuation);
1001
953
  var l = function ($this$dispatchAsync, store, $completion) {
1002
- return i.sb2($this$dispatchAsync, store, $completion);
954
+ return i.bb4($this$dispatchAsync, store, $completion);
1003
955
  };
1004
956
  l.$arity = 2;
1005
957
  return l;
1006
958
  }
1007
959
  function GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation) {
1008
- this.ud6_1 = $spectators;
960
+ this.dd8_1 = $spectators;
1009
961
  CoroutineImpl.call(this, resultContinuation);
1010
962
  }
1011
- protoOf(GameServer$addSpectatorsToRoom$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
1012
- var tmp = this.tb2($this$dispatchAsync, store, $completion);
963
+ protoOf(GameServer$addSpectatorsToRoom$slambda).bb4 = function ($this$dispatchAsync, store, $completion) {
964
+ var tmp = this.cb4($this$dispatchAsync, store, $completion);
1013
965
  tmp.g9_1 = Unit_instance;
1014
966
  tmp.h9_1 = null;
1015
967
  return tmp.m9();
1016
968
  };
1017
969
  protoOf(GameServer$addSpectatorsToRoom$slambda).x9 = function (p1, p2, $completion) {
1018
970
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1019
- return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
971
+ return this.bb4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1020
972
  };
1021
973
  protoOf(GameServer$addSpectatorsToRoom$slambda).m9 = function () {
1022
974
  var suspendResult = this.g9_1;
@@ -1025,7 +977,7 @@
1025
977
  var tmp = this.e9_1;
1026
978
  if (tmp === 0) {
1027
979
  this.f9_1 = 1;
1028
- this.wd6_1.dispatch(new AddSpectatorsAction(toList(this.ud6_1)));
980
+ this.fd8_1.dispatch(new AddSpectatorsAction(toList(this.dd8_1)));
1029
981
  return Unit_instance;
1030
982
  } else if (tmp === 1) {
1031
983
  throw this.h9_1;
@@ -1036,33 +988,33 @@
1036
988
  }
1037
989
  while (true);
1038
990
  };
1039
- protoOf(GameServer$addSpectatorsToRoom$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
1040
- var i = new GameServer$addSpectatorsToRoom$slambda(this.ud6_1, completion);
1041
- i.vd6_1 = $this$dispatchAsync;
1042
- i.wd6_1 = store;
991
+ protoOf(GameServer$addSpectatorsToRoom$slambda).cb4 = function ($this$dispatchAsync, store, completion) {
992
+ var i = new GameServer$addSpectatorsToRoom$slambda(this.dd8_1, completion);
993
+ i.ed8_1 = $this$dispatchAsync;
994
+ i.fd8_1 = store;
1043
995
  return i;
1044
996
  };
1045
997
  function GameServer$addSpectatorsToRoom$slambda_0($spectators, resultContinuation) {
1046
998
  var i = new GameServer$addSpectatorsToRoom$slambda($spectators, resultContinuation);
1047
999
  var l = function ($this$dispatchAsync, store, $completion) {
1048
- return i.sb2($this$dispatchAsync, store, $completion);
1000
+ return i.bb4($this$dispatchAsync, store, $completion);
1049
1001
  };
1050
1002
  l.$arity = 2;
1051
1003
  return l;
1052
1004
  }
1053
1005
  function GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation) {
1054
- this.fd7_1 = $spectators;
1006
+ this.od8_1 = $spectators;
1055
1007
  CoroutineImpl.call(this, resultContinuation);
1056
1008
  }
1057
- protoOf(GameServer$removeSpectatorsFromRoom$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
1058
- var tmp = this.tb2($this$dispatchAsync, store, $completion);
1009
+ protoOf(GameServer$removeSpectatorsFromRoom$slambda).bb4 = function ($this$dispatchAsync, store, $completion) {
1010
+ var tmp = this.cb4($this$dispatchAsync, store, $completion);
1059
1011
  tmp.g9_1 = Unit_instance;
1060
1012
  tmp.h9_1 = null;
1061
1013
  return tmp.m9();
1062
1014
  };
1063
1015
  protoOf(GameServer$removeSpectatorsFromRoom$slambda).x9 = function (p1, p2, $completion) {
1064
1016
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1065
- return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1017
+ return this.bb4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1066
1018
  };
1067
1019
  protoOf(GameServer$removeSpectatorsFromRoom$slambda).m9 = function () {
1068
1020
  var suspendResult = this.g9_1;
@@ -1071,7 +1023,7 @@
1071
1023
  var tmp = this.e9_1;
1072
1024
  if (tmp === 0) {
1073
1025
  this.f9_1 = 1;
1074
- this.hd7_1.dispatch(new RemoveSpectatorsAction(toList(this.fd7_1)));
1026
+ this.qd8_1.dispatch(new RemoveSpectatorsAction(toList(this.od8_1)));
1075
1027
  return Unit_instance;
1076
1028
  } else if (tmp === 1) {
1077
1029
  throw this.h9_1;
@@ -1082,34 +1034,34 @@
1082
1034
  }
1083
1035
  while (true);
1084
1036
  };
1085
- protoOf(GameServer$removeSpectatorsFromRoom$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
1086
- var i = new GameServer$removeSpectatorsFromRoom$slambda(this.fd7_1, completion);
1087
- i.gd7_1 = $this$dispatchAsync;
1088
- i.hd7_1 = store;
1037
+ protoOf(GameServer$removeSpectatorsFromRoom$slambda).cb4 = function ($this$dispatchAsync, store, completion) {
1038
+ var i = new GameServer$removeSpectatorsFromRoom$slambda(this.od8_1, completion);
1039
+ i.pd8_1 = $this$dispatchAsync;
1040
+ i.qd8_1 = store;
1089
1041
  return i;
1090
1042
  };
1091
1043
  function GameServer$removeSpectatorsFromRoom$slambda_0($spectators, resultContinuation) {
1092
1044
  var i = new GameServer$removeSpectatorsFromRoom$slambda($spectators, resultContinuation);
1093
1045
  var l = function ($this$dispatchAsync, store, $completion) {
1094
- return i.sb2($this$dispatchAsync, store, $completion);
1046
+ return i.bb4($this$dispatchAsync, store, $completion);
1095
1047
  };
1096
1048
  l.$arity = 2;
1097
1049
  return l;
1098
1050
  }
1099
1051
  function GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation) {
1100
- this.qd7_1 = $playerId;
1101
- this.rd7_1 = this$0;
1052
+ this.zd8_1 = $playerId;
1053
+ this.ad9_1 = this$0;
1102
1054
  CoroutineImpl.call(this, resultContinuation);
1103
1055
  }
1104
- protoOf(GameServer$roomRefreshPlayerState$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
1105
- var tmp = this.tb2($this$dispatchAsync, store, $completion);
1056
+ protoOf(GameServer$roomRefreshPlayerState$slambda).bb4 = function ($this$dispatchAsync, store, $completion) {
1057
+ var tmp = this.cb4($this$dispatchAsync, store, $completion);
1106
1058
  tmp.g9_1 = Unit_instance;
1107
1059
  tmp.h9_1 = null;
1108
1060
  return tmp.m9();
1109
1061
  };
1110
1062
  protoOf(GameServer$roomRefreshPlayerState$slambda).x9 = function (p1, p2, $completion) {
1111
1063
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1112
- return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1064
+ return this.bb4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1113
1065
  };
1114
1066
  protoOf(GameServer$roomRefreshPlayerState$slambda).m9 = function () {
1115
1067
  var suspendResult = this.g9_1;
@@ -1118,14 +1070,14 @@
1118
1070
  var tmp = this.e9_1;
1119
1071
  if (tmp === 0) {
1120
1072
  this.f9_1 = 1;
1121
- var table = this.td7_1.state.f6x();
1122
- var player = getPlayer(table.players, this.qd7_1);
1123
- if (player.t73_1.a6h().r6f_1.isLive) {
1124
- this.td7_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.rd7_1).f95(player, table));
1073
+ var table = this.cd9_1.state.f6x();
1074
+ var player = getPlayer(table.players, this.zd8_1);
1075
+ if (player.v73_1.a6h().r6f_1.isLive) {
1076
+ this.cd9_1.dispatch(_get_playerConnectionInteractor__si6cxf(this.ad9_1).v95(player, table));
1125
1077
  } else {
1126
- var tmp_0 = this.td7_1.dispatch;
1078
+ var tmp_0 = this.cd9_1.dispatch;
1127
1079
  var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
1128
- tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.qd7_1));
1080
+ tmp_0(new PlayerConnectionUpdateAction(tmp0_connectionState, this.zd8_1));
1129
1081
  }
1130
1082
  return Unit_instance;
1131
1083
  } else if (tmp === 1) {
@@ -1137,33 +1089,34 @@
1137
1089
  }
1138
1090
  while (true);
1139
1091
  };
1140
- protoOf(GameServer$roomRefreshPlayerState$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
1141
- var i = new GameServer$roomRefreshPlayerState$slambda(this.qd7_1, this.rd7_1, completion);
1142
- i.sd7_1 = $this$dispatchAsync;
1143
- i.td7_1 = store;
1092
+ protoOf(GameServer$roomRefreshPlayerState$slambda).cb4 = function ($this$dispatchAsync, store, completion) {
1093
+ var i = new GameServer$roomRefreshPlayerState$slambda(this.zd8_1, this.ad9_1, completion);
1094
+ i.bd9_1 = $this$dispatchAsync;
1095
+ i.cd9_1 = store;
1144
1096
  return i;
1145
1097
  };
1146
1098
  function GameServer$roomRefreshPlayerState$slambda_0($playerId, this$0, resultContinuation) {
1147
1099
  var i = new GameServer$roomRefreshPlayerState$slambda($playerId, this$0, resultContinuation);
1148
1100
  var l = function ($this$dispatchAsync, store, $completion) {
1149
- return i.sb2($this$dispatchAsync, store, $completion);
1101
+ return i.bb4($this$dispatchAsync, store, $completion);
1150
1102
  };
1151
1103
  l.$arity = 2;
1152
1104
  return l;
1153
1105
  }
1154
- function GameServer$roomOnDelete$slambda(this$0, resultContinuation) {
1155
- this.cd8_1 = this$0;
1106
+ function GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation) {
1107
+ this.ld9_1 = this$0;
1108
+ this.md9_1 = $newRid;
1156
1109
  CoroutineImpl.call(this, resultContinuation);
1157
1110
  }
1158
- protoOf(GameServer$roomOnDelete$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
1159
- var tmp = this.tb2($this$dispatchAsync, store, $completion);
1111
+ protoOf(GameServer$roomOnDelete$slambda).bb4 = function ($this$dispatchAsync, store, $completion) {
1112
+ var tmp = this.cb4($this$dispatchAsync, store, $completion);
1160
1113
  tmp.g9_1 = Unit_instance;
1161
1114
  tmp.h9_1 = null;
1162
1115
  return tmp.m9();
1163
1116
  };
1164
1117
  protoOf(GameServer$roomOnDelete$slambda).x9 = function (p1, p2, $completion) {
1165
1118
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1166
- return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1119
+ return this.bb4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1167
1120
  };
1168
1121
  protoOf(GameServer$roomOnDelete$slambda).m9 = function () {
1169
1122
  var suspendResult = this.g9_1;
@@ -1172,16 +1125,39 @@
1172
1125
  var tmp = this.e9_1;
1173
1126
  if (tmp === 0) {
1174
1127
  this.f9_1 = 1;
1175
- var it = this.cd8_1.x6e().g6w_1;
1128
+ var it = this.ld9_1.x6e().g6w_1;
1176
1129
  var tmp_0;
1177
1130
  if (it == null) {
1178
- _get_logger__rkp4sl(this.cd8_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
1131
+ _get_logger__rkp4sl(this.ld9_1).w('GameEngine_API', "GameServer: Termination reason can't be null");
1179
1132
  tmp_0 = new TerminationState(new GameErrorReason(Reason_GAME_NOT_EXISTS_getInstance()));
1180
1133
  } else {
1181
1134
  tmp_0 = it;
1182
1135
  }
1183
1136
  var terminationState = tmp_0;
1184
- this.ed8_1.dispatch(new FinishGameMechanicAction(terminationState.n8b_1, this.cd8_1.x6e().f6x().isGameFinished));
1137
+ var tmp_1 = this.od9_1.dispatch;
1138
+ var tmp1_reason = terminationState.c8c_1;
1139
+ var tmp0_safe_receiver = terminationState.d8c_1;
1140
+ var tmp_2;
1141
+ if (tmp0_safe_receiver == null) {
1142
+ tmp_2 = null;
1143
+ } else {
1144
+ var value = this.md9_1;
1145
+ var tmp$ret$0 = Unit_instance;
1146
+ l$ret$1: do {
1147
+ if (value == null) {
1148
+ var message = 'Required value was null.';
1149
+ throw IllegalArgumentException_init_$Create$(toString(message));
1150
+ } else {
1151
+ tmp$ret$0 = value;
1152
+ break l$ret$1;
1153
+ }
1154
+ }
1155
+ while (false);
1156
+ tmp_2 = tmp0_safe_receiver.copy(tmp$ret$0);
1157
+ }
1158
+ var tmp2_transition = tmp_2;
1159
+ var tmp3_isGameFinished = this.ld9_1.x6e().f6x().isGameFinished;
1160
+ tmp_1(new FinishGameMechanicAction(tmp1_reason, tmp3_isGameFinished, VOID, tmp2_transition));
1185
1161
  return Unit_instance;
1186
1162
  } else if (tmp === 1) {
1187
1163
  throw this.h9_1;
@@ -1192,33 +1168,33 @@
1192
1168
  }
1193
1169
  while (true);
1194
1170
  };
1195
- protoOf(GameServer$roomOnDelete$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
1196
- var i = new GameServer$roomOnDelete$slambda(this.cd8_1, completion);
1197
- i.dd8_1 = $this$dispatchAsync;
1198
- i.ed8_1 = store;
1171
+ protoOf(GameServer$roomOnDelete$slambda).cb4 = function ($this$dispatchAsync, store, completion) {
1172
+ var i = new GameServer$roomOnDelete$slambda(this.ld9_1, this.md9_1, completion);
1173
+ i.nd9_1 = $this$dispatchAsync;
1174
+ i.od9_1 = store;
1199
1175
  return i;
1200
1176
  };
1201
- function GameServer$roomOnDelete$slambda_0(this$0, resultContinuation) {
1202
- var i = new GameServer$roomOnDelete$slambda(this$0, resultContinuation);
1177
+ function GameServer$roomOnDelete$slambda_0(this$0, $newRid, resultContinuation) {
1178
+ var i = new GameServer$roomOnDelete$slambda(this$0, $newRid, resultContinuation);
1203
1179
  var l = function ($this$dispatchAsync, store, $completion) {
1204
- return i.sb2($this$dispatchAsync, store, $completion);
1180
+ return i.bb4($this$dispatchAsync, store, $completion);
1205
1181
  };
1206
1182
  l.$arity = 2;
1207
1183
  return l;
1208
1184
  }
1209
1185
  function GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation) {
1210
- this.nd8_1 = $enabled;
1186
+ this.xd9_1 = $enabled;
1211
1187
  CoroutineImpl.call(this, resultContinuation);
1212
1188
  }
1213
- protoOf(GameServer$setCanStartNewGameEnabled$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
1214
- var tmp = this.tb2($this$dispatchAsync, store, $completion);
1189
+ protoOf(GameServer$setCanStartNewGameEnabled$slambda).bb4 = function ($this$dispatchAsync, store, $completion) {
1190
+ var tmp = this.cb4($this$dispatchAsync, store, $completion);
1215
1191
  tmp.g9_1 = Unit_instance;
1216
1192
  tmp.h9_1 = null;
1217
1193
  return tmp.m9();
1218
1194
  };
1219
1195
  protoOf(GameServer$setCanStartNewGameEnabled$slambda).x9 = function (p1, p2, $completion) {
1220
1196
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1221
- return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1197
+ return this.bb4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1222
1198
  };
1223
1199
  protoOf(GameServer$setCanStartNewGameEnabled$slambda).m9 = function () {
1224
1200
  var suspendResult = this.g9_1;
@@ -1227,7 +1203,7 @@
1227
1203
  var tmp = this.e9_1;
1228
1204
  if (tmp === 0) {
1229
1205
  this.f9_1 = 1;
1230
- this.pd8_1.dispatch(new UpdateServerConfigAction(get_serverState(this.pd8_1.state).qd8_1.sd8(this.nd8_1)));
1206
+ this.zd9_1.dispatch(new UpdateServerConfigAction(get_serverState(this.zd9_1.state).ada_1.cda(this.xd9_1)));
1231
1207
  return Unit_instance;
1232
1208
  } else if (tmp === 1) {
1233
1209
  throw this.h9_1;
@@ -1238,35 +1214,35 @@
1238
1214
  }
1239
1215
  while (true);
1240
1216
  };
1241
- protoOf(GameServer$setCanStartNewGameEnabled$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
1242
- var i = new GameServer$setCanStartNewGameEnabled$slambda(this.nd8_1, completion);
1243
- i.od8_1 = $this$dispatchAsync;
1244
- i.pd8_1 = store;
1217
+ protoOf(GameServer$setCanStartNewGameEnabled$slambda).cb4 = function ($this$dispatchAsync, store, completion) {
1218
+ var i = new GameServer$setCanStartNewGameEnabled$slambda(this.xd9_1, completion);
1219
+ i.yd9_1 = $this$dispatchAsync;
1220
+ i.zd9_1 = store;
1245
1221
  return i;
1246
1222
  };
1247
1223
  function GameServer$setCanStartNewGameEnabled$slambda_0($enabled, resultContinuation) {
1248
1224
  var i = new GameServer$setCanStartNewGameEnabled$slambda($enabled, resultContinuation);
1249
1225
  var l = function ($this$dispatchAsync, store, $completion) {
1250
- return i.sb2($this$dispatchAsync, store, $completion);
1226
+ return i.bb4($this$dispatchAsync, store, $completion);
1251
1227
  };
1252
1228
  l.$arity = 2;
1253
1229
  return l;
1254
1230
  }
1255
1231
  function GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation) {
1256
- this.bd9_1 = $reason;
1257
- this.cd9_1 = this$0;
1258
- this.dd9_1 = $roomId;
1232
+ this.lda_1 = $reason;
1233
+ this.mda_1 = this$0;
1234
+ this.nda_1 = $roomId;
1259
1235
  CoroutineImpl.call(this, resultContinuation);
1260
1236
  }
1261
- protoOf(GameServer$shutdown$slambda).sb2 = function ($this$dispatchAsync, store, $completion) {
1262
- var tmp = this.tb2($this$dispatchAsync, store, $completion);
1237
+ protoOf(GameServer$shutdown$slambda).bb4 = function ($this$dispatchAsync, store, $completion) {
1238
+ var tmp = this.cb4($this$dispatchAsync, store, $completion);
1263
1239
  tmp.g9_1 = Unit_instance;
1264
1240
  tmp.h9_1 = null;
1265
1241
  return tmp.m9();
1266
1242
  };
1267
1243
  protoOf(GameServer$shutdown$slambda).x9 = function (p1, p2, $completion) {
1268
1244
  var tmp = (!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE();
1269
- return this.sb2(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1245
+ return this.bb4(tmp, (!(p2 == null) ? isInterface(p2, Store) : false) ? p2 : THROW_CCE(), $completion);
1270
1246
  };
1271
1247
  protoOf(GameServer$shutdown$slambda).m9 = function () {
1272
1248
  var suspendResult = this.g9_1;
@@ -1275,11 +1251,11 @@
1275
1251
  var tmp = this.e9_1;
1276
1252
  if (tmp === 0) {
1277
1253
  this.f9_1 = 1;
1278
- var state = this.fd9_1.store.state;
1254
+ var state = this.pda_1.store.state;
1279
1255
  if (state.g6x()) {
1280
- var tmp0_elvis_lhs = toDomainEnumSafe(this.bd9_1, get_serverShutdownReasonMapping());
1256
+ var tmp0_elvis_lhs = toDomainEnumSafe(this.lda_1, get_serverShutdownReasonMapping());
1281
1257
  var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
1282
- var tmp_0 = this.fd9_1.dispatch;
1258
+ var tmp_0 = this.pda_1.dispatch;
1283
1259
  var tmp_1 = Companion_instance_0;
1284
1260
  var tmp_2;
1285
1261
  switch (shutdownReason.n2_1) {
@@ -1293,10 +1269,10 @@
1293
1269
  noWhenBranchMatchedException();
1294
1270
  break;
1295
1271
  }
1296
- tmp_0(tmp_1.withAnalytics(tmp_2, this.cd9_1.table.isGameFinished, this.cd9_1.table));
1272
+ tmp_0(tmp_1.withAnalytics(tmp_2, this.mda_1.table.isGameFinished, this.mda_1.table));
1297
1273
  } else {
1298
- _get_logger__rkp4sl(this.cd9_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.dd9_1);
1299
- this.fd9_1.dispatch(new ClearAction());
1274
+ _get_logger__rkp4sl(this.mda_1).w('GameEngine_API', "GameServer: can't shutdown engine without table, roomId = " + this.nda_1);
1275
+ this.pda_1.dispatch(new ClearAction());
1300
1276
  }
1301
1277
  return Unit_instance;
1302
1278
  } else if (tmp === 1) {
@@ -1308,22 +1284,22 @@
1308
1284
  }
1309
1285
  while (true);
1310
1286
  };
1311
- protoOf(GameServer$shutdown$slambda).tb2 = function ($this$dispatchAsync, store, completion) {
1312
- var i = new GameServer$shutdown$slambda(this.bd9_1, this.cd9_1, this.dd9_1, completion);
1313
- i.ed9_1 = $this$dispatchAsync;
1314
- i.fd9_1 = store;
1287
+ protoOf(GameServer$shutdown$slambda).cb4 = function ($this$dispatchAsync, store, completion) {
1288
+ var i = new GameServer$shutdown$slambda(this.lda_1, this.mda_1, this.nda_1, completion);
1289
+ i.oda_1 = $this$dispatchAsync;
1290
+ i.pda_1 = store;
1315
1291
  return i;
1316
1292
  };
1317
1293
  function GameServer$shutdown$slambda_0($reason, this$0, $roomId, resultContinuation) {
1318
1294
  var i = new GameServer$shutdown$slambda($reason, this$0, $roomId, resultContinuation);
1319
1295
  var l = function ($this$dispatchAsync, store, $completion) {
1320
- return i.sb2($this$dispatchAsync, store, $completion);
1296
+ return i.bb4($this$dispatchAsync, store, $completion);
1321
1297
  };
1322
1298
  l.$arity = 2;
1323
1299
  return l;
1324
1300
  }
1325
1301
  function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
1326
- preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_11.gd9()) : preloadedState;
1302
+ preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_instance_9.qda()) : preloadedState;
1327
1303
  var tmp;
1328
1304
  if (externalReducers === VOID) {
1329
1305
  // Inline function 'kotlin.collections.listOf' call
@@ -1346,28 +1322,28 @@
1346
1322
  // Inline function 'org.kodein.type.generic' call
1347
1323
  var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
1348
1324
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
1349
- tmp_1.pd2_1 = Instance(di, tmp$ret$2, null).m67(this, logger$factory());
1325
+ tmp_1.yd3_1 = Instance(di, tmp$ret$2, null).m67(this, logger$factory());
1350
1326
  var tmp_3 = this;
1351
1327
  // Inline function 'org.kodein.di.instance' call
1352
1328
  // Inline function 'org.kodein.type.generic' call
1353
1329
  var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
1354
1330
  var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
1355
- tmp_3.qd2_1 = Instance(di, tmp$ret$4, null).m67(this, toClientEventsObserver$factory());
1331
+ tmp_3.zd3_1 = Instance(di, tmp$ret$4, null).m67(this, toClientEventsObserver$factory());
1356
1332
  var tmp_5 = this;
1357
1333
  // Inline function 'org.kodein.di.instance' call
1358
1334
  // Inline function 'org.kodein.type.generic' call
1359
1335
  var tmp_6 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
1360
1336
  var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
1361
- tmp_5.rd2_1 = Instance(di, tmp$ret$6, null).m67(this, playerConnectionInteractor$factory());
1337
+ tmp_5.ad4_1 = Instance(di, tmp$ret$6, null).m67(this, playerConnectionInteractor$factory());
1362
1338
  var tmp_7 = this;
1363
- tmp_7.sd2_1 = lazy(GameServer$random$delegate$lambda(this));
1339
+ tmp_7.bd4_1 = lazy(GameServer$random$delegate$lambda(this));
1364
1340
  var tmp_8 = this;
1365
- var tmp0_externalMiddlewares = plus(storeContract.z9a(), externalMiddlewares);
1366
- var tmp1_externalReducers = plus(storeContract.y9a(), externalReducers);
1367
- tmp_8.td2_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
1341
+ var tmp0_externalMiddlewares = plus(storeContract.p9b(), externalMiddlewares);
1342
+ var tmp1_externalReducers = plus(storeContract.o9b(), externalReducers);
1343
+ tmp_8.cd4_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
1368
1344
  }
1369
1345
  protoOf(GameServer).s6v = function () {
1370
- return this.td2_1;
1346
+ return this.cd4_1;
1371
1347
  };
1372
1348
  protoOf(GameServer).w5o = function () {
1373
1349
  return this.x6e().f6x().id;
@@ -1391,44 +1367,44 @@
1391
1367
  };
1392
1368
  protoOf(GameServer).fromClientEvent = function (action) {
1393
1369
  _get_logger__rkp4sl(this).d('GameEngine_API', 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
1394
- this.td2_1.e6x(GameServer$fromClientEvent$slambda_0(action, null));
1370
+ this.cd4_1.e6x(GameServer$fromClientEvent$slambda_0(action, null));
1395
1371
  };
1396
1372
  protoOf(GameServer).playerLostConnection = function (playerId) {
1397
1373
  _get_logger__rkp4sl(this).d('GameEngine_API', 'playerLostConnection: ' + playerId);
1398
- this.td2_1.e6x(GameServer$playerLostConnection$slambda_0(playerId, null));
1374
+ this.cd4_1.e6x(GameServer$playerLostConnection$slambda_0(playerId, null));
1399
1375
  };
1400
1376
  protoOf(GameServer).playerLive = function (playerId) {
1401
1377
  _get_logger__rkp4sl(this).d('GameEngine_API', 'playerLive: ' + playerId);
1402
- this.td2_1.e6x(GameServer$playerLive$slambda_0(playerId, null));
1378
+ this.cd4_1.e6x(GameServer$playerLive$slambda_0(playerId, null));
1403
1379
  };
1404
1380
  protoOf(GameServer).playerLeft = function (playerId) {
1405
1381
  _get_logger__rkp4sl(this).d('GameEngine_API', 'playerLeft: ' + playerId);
1406
- this.td2_1.e6x(GameServer$playerLeft$slambda_0(playerId, null));
1382
+ this.cd4_1.e6x(GameServer$playerLeft$slambda_0(playerId, null));
1407
1383
  };
1408
- protoOf(GameServer).hd9 = function (roomId, gameCreatorId, config, users, spectators) {
1409
- this.td2_1.e6x(GameServer$roomOnCreate$slambda_0(users, gameCreatorId, this, spectators, config, roomId, null));
1384
+ protoOf(GameServer).rda = function (roomId, gameCreatorId, config, users, transition, spectators) {
1385
+ this.cd4_1.e6x(GameServer$roomOnCreate$slambda_0(users, gameCreatorId, this, spectators, config, roomId, null));
1410
1386
  };
1411
1387
  protoOf(GameServer).roomOnContinueFromRound = function (roomId, tableLite) {
1412
- this.td2_1.e6x(GameServer$roomOnContinueFromRound$slambda_0(tableLite, null));
1388
+ this.cd4_1.e6x(GameServer$roomOnContinueFromRound$slambda_0(tableLite, null));
1413
1389
  };
1414
1390
  protoOf(GameServer).addSpectatorsToRoom = function (spectators) {
1415
- this.td2_1.e6x(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
1391
+ this.cd4_1.e6x(GameServer$addSpectatorsToRoom$slambda_0(spectators, null));
1416
1392
  };
1417
1393
  protoOf(GameServer).removeSpectatorsFromRoom = function (spectators) {
1418
- this.td2_1.e6x(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
1394
+ this.cd4_1.e6x(GameServer$removeSpectatorsFromRoom$slambda_0(spectators, null));
1419
1395
  };
1420
1396
  protoOf(GameServer).roomRefreshPlayerState = function (playerId) {
1421
1397
  _get_logger__rkp4sl(this).d('GameEngine_API', 'roomRefreshPlayerState: ' + playerId);
1422
- this.td2_1.e6x(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
1398
+ this.cd4_1.e6x(GameServer$roomRefreshPlayerState$slambda_0(playerId, this, null));
1423
1399
  };
1424
- protoOf(GameServer).id9 = function (newRid) {
1425
- this.td2_1.e6x(GameServer$roomOnDelete$slambda_0(this, null));
1400
+ protoOf(GameServer).sda = function (newRid) {
1401
+ this.cd4_1.e6x(GameServer$roomOnDelete$slambda_0(this, newRid, null));
1426
1402
  };
1427
1403
  protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
1428
- this.td2_1.e6x(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
1404
+ this.cd4_1.e6x(GameServer$setCanStartNewGameEnabled$slambda_0(enabled, null));
1429
1405
  };
1430
- protoOf(GameServer).jd9 = function (reason, roomId) {
1431
- this.td2_1.e6x(GameServer$shutdown$slambda_0(reason, this, roomId, null));
1406
+ protoOf(GameServer).tda = function (reason, roomId) {
1407
+ this.cd4_1.e6x(GameServer$shutdown$slambda_0(reason, this, roomId, null));
1432
1408
  };
1433
1409
  protoOf(GameServer).clear = function () {
1434
1410
  return this.a2();
@@ -1502,16 +1478,16 @@
1502
1478
  return ServerShutdownReason_ERROR_instance;
1503
1479
  }
1504
1480
  function ServerConfig(canStartNewGame) {
1505
- this.rd8_1 = canStartNewGame;
1481
+ this.bda_1 = canStartNewGame;
1506
1482
  }
1507
- protoOf(ServerConfig).sd8 = function (canStartNewGame) {
1483
+ protoOf(ServerConfig).cda = function (canStartNewGame) {
1508
1484
  return new ServerConfig(canStartNewGame);
1509
1485
  };
1510
1486
  protoOf(ServerConfig).toString = function () {
1511
- return 'ServerConfig(canStartNewGame=' + this.rd8_1 + ')';
1487
+ return 'ServerConfig(canStartNewGame=' + this.bda_1 + ')';
1512
1488
  };
1513
1489
  protoOf(ServerConfig).hashCode = function () {
1514
- return getBooleanHashCode(this.rd8_1);
1490
+ return getBooleanHashCode(this.bda_1);
1515
1491
  };
1516
1492
  protoOf(ServerConfig).equals = function (other) {
1517
1493
  if (this === other)
@@ -1519,7 +1495,7 @@
1519
1495
  if (!(other instanceof ServerConfig))
1520
1496
  return false;
1521
1497
  var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
1522
- if (!(this.rd8_1 === tmp0_other_with_cast.rd8_1))
1498
+ if (!(this.bda_1 === tmp0_other_with_cast.bda_1))
1523
1499
  return false;
1524
1500
  return true;
1525
1501
  };
@@ -1751,18 +1727,18 @@
1751
1727
  function ToClientEventsObserver() {
1752
1728
  }
1753
1729
  function ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this$0, $actions, resultContinuation) {
1754
- this.td9_1 = this$0;
1755
- this.ud9_1 = $actions;
1730
+ this.ddb_1 = this$0;
1731
+ this.edb_1 = $actions;
1756
1732
  CoroutineImpl.call(this, resultContinuation);
1757
1733
  }
1758
- protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).bda = function ($this$flow, $completion) {
1759
- var tmp = this.cda($this$flow, $completion);
1734
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).ldb = function ($this$flow, $completion) {
1735
+ var tmp = this.mdb($this$flow, $completion);
1760
1736
  tmp.g9_1 = Unit_instance;
1761
1737
  tmp.h9_1 = null;
1762
1738
  return tmp.m9();
1763
1739
  };
1764
1740
  protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).w9 = function (p1, $completion) {
1765
- return this.bda((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
1741
+ return this.ldb((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
1766
1742
  };
1767
1743
  protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).m9 = function () {
1768
1744
  var suspendResult = this.g9_1;
@@ -1773,23 +1749,23 @@
1773
1749
  case 0:
1774
1750
  this.f9_1 = 4;
1775
1751
  var tmp_0 = this;
1776
- tmp_0.wd9_1 = this.td9_1.hda_1;
1752
+ tmp_0.gdb_1 = this.ddb_1.rdb_1;
1777
1753
  var tmp_1 = this;
1778
- tmp_1.xd9_1 = transformToEmits(this.td9_1, this.ud9_1);
1779
- this.yd9_1 = this.xd9_1.j();
1754
+ tmp_1.hdb_1 = transformToEmits(this.ddb_1, this.edb_1);
1755
+ this.idb_1 = this.hdb_1.j();
1780
1756
  this.e9_1 = 1;
1781
1757
  continue $sm;
1782
1758
  case 1:
1783
- if (!this.yd9_1.k()) {
1759
+ if (!this.idb_1.k()) {
1784
1760
  this.e9_1 = 3;
1785
1761
  continue $sm;
1786
1762
  }
1787
1763
 
1788
- this.zd9_1 = this.yd9_1.l();
1764
+ this.jdb_1 = this.idb_1.l();
1789
1765
  var tmp_2 = this;
1790
- tmp_2.ada_1 = this.zd9_1;
1766
+ tmp_2.kdb_1 = this.jdb_1;
1791
1767
  this.e9_1 = 2;
1792
- suspendResult = this.vd9_1.p18(this.ada_1, this);
1768
+ suspendResult = this.fdb_1.p18(this.kdb_1, this);
1793
1769
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
1794
1770
  return suspendResult;
1795
1771
  }
@@ -1800,10 +1776,10 @@
1800
1776
  continue $sm;
1801
1777
  case 3:
1802
1778
  l$ret$1: do {
1803
- var this_0 = this.td9_1.gda_1;
1779
+ var this_0 = this.ddb_1.qdb_1;
1804
1780
  while (true) {
1805
1781
  var cur = this_0.kotlinx$atomicfu$value;
1806
- var upd = cur - this.ud9_1.m() | 0;
1782
+ var upd = cur - this.edb_1.m() | 0;
1807
1783
  if (this_0.atomicfu$compareAndSet(cur, upd)) {
1808
1784
  break l$ret$1;
1809
1785
  }
@@ -1825,15 +1801,15 @@
1825
1801
  }
1826
1802
  while (true);
1827
1803
  };
1828
- protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).cda = function ($this$flow, completion) {
1829
- var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this.td9_1, this.ud9_1, completion);
1830
- i.vd9_1 = $this$flow;
1804
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).mdb = function ($this$flow, completion) {
1805
+ var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this.ddb_1, this.edb_1, completion);
1806
+ i.fdb_1 = $this$flow;
1831
1807
  return i;
1832
1808
  };
1833
1809
  function ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this$0, $actions, resultContinuation) {
1834
1810
  var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this$0, $actions, resultContinuation);
1835
1811
  var l = function ($this$flow, $completion) {
1836
- return i.bda($this$flow, $completion);
1812
+ return i.ldb($this$flow, $completion);
1837
1813
  };
1838
1814
  l.$arity = 1;
1839
1815
  return l;
@@ -1906,29 +1882,29 @@
1906
1882
  return new GroupKey(_this__u8e3s4.id, toList(_this__u8e3s4.includePlayers), toList(_this__u8e3s4.excludePlayers), _this__u8e3s4.deliveryType);
1907
1883
  }
1908
1884
  function mapFromGroupKey(_this__u8e3s4, $this) {
1909
- var tmp = $this.fda_1.b6m();
1885
+ var tmp = $this.pdb_1.b6m();
1910
1886
  // Inline function 'kotlin.collections.toTypedArray' call
1911
- var this_0 = _this__u8e3s4.kda_1;
1887
+ var this_0 = _this__u8e3s4.udb_1;
1912
1888
  var tmp_0 = copyToArray(this_0);
1913
1889
  // Inline function 'kotlin.collections.toTypedArray' call
1914
- var this_1 = _this__u8e3s4.lda_1;
1890
+ var this_1 = _this__u8e3s4.vdb_1;
1915
1891
  var tmp$ret$1 = copyToArray(this_1);
1916
- return new ActionDeliveryPayload(_this__u8e3s4.jda_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.mda_1);
1892
+ return new ActionDeliveryPayload(_this__u8e3s4.tdb_1, tmp, tmp_0, tmp$ret$1, _this__u8e3s4.wdb_1);
1917
1893
  }
1918
1894
  function GroupKey(tableId, includePlayers, excludePlayers, deliveryType) {
1919
- this.jda_1 = tableId;
1920
- this.kda_1 = includePlayers;
1921
- this.lda_1 = excludePlayers;
1922
- this.mda_1 = deliveryType;
1895
+ this.tdb_1 = tableId;
1896
+ this.udb_1 = includePlayers;
1897
+ this.vdb_1 = excludePlayers;
1898
+ this.wdb_1 = deliveryType;
1923
1899
  }
1924
1900
  protoOf(GroupKey).toString = function () {
1925
- return 'GroupKey(tableId=' + this.jda_1 + ', includePlayers=' + toString(this.kda_1) + ', excludePlayers=' + toString(this.lda_1) + ', deliveryType=' + this.mda_1.toString() + ')';
1901
+ return 'GroupKey(tableId=' + this.tdb_1 + ', includePlayers=' + toString(this.udb_1) + ', excludePlayers=' + toString(this.vdb_1) + ', deliveryType=' + this.wdb_1.toString() + ')';
1926
1902
  };
1927
1903
  protoOf(GroupKey).hashCode = function () {
1928
- var result = getStringHashCode(this.jda_1);
1929
- result = imul(result, 31) + hashCode(this.kda_1) | 0;
1930
- result = imul(result, 31) + hashCode(this.lda_1) | 0;
1931
- result = imul(result, 31) + this.mda_1.hashCode() | 0;
1904
+ var result = getStringHashCode(this.tdb_1);
1905
+ result = imul(result, 31) + hashCode(this.udb_1) | 0;
1906
+ result = imul(result, 31) + hashCode(this.vdb_1) | 0;
1907
+ result = imul(result, 31) + this.wdb_1.hashCode() | 0;
1932
1908
  return result;
1933
1909
  };
1934
1910
  protoOf(GroupKey).equals = function (other) {
@@ -1937,35 +1913,35 @@
1937
1913
  if (!(other instanceof GroupKey))
1938
1914
  return false;
1939
1915
  var tmp0_other_with_cast = other instanceof GroupKey ? other : THROW_CCE();
1940
- if (!(this.jda_1 === tmp0_other_with_cast.jda_1))
1916
+ if (!(this.tdb_1 === tmp0_other_with_cast.tdb_1))
1941
1917
  return false;
1942
- if (!equals(this.kda_1, tmp0_other_with_cast.kda_1))
1918
+ if (!equals(this.udb_1, tmp0_other_with_cast.udb_1))
1943
1919
  return false;
1944
- if (!equals(this.lda_1, tmp0_other_with_cast.lda_1))
1920
+ if (!equals(this.vdb_1, tmp0_other_with_cast.vdb_1))
1945
1921
  return false;
1946
- if (!this.mda_1.equals(tmp0_other_with_cast.mda_1))
1922
+ if (!this.wdb_1.equals(tmp0_other_with_cast.wdb_1))
1947
1923
  return false;
1948
1924
  return true;
1949
1925
  };
1950
1926
  function Companion_0() {
1951
- this.nda_1 = 6;
1927
+ this.xdb_1 = 6;
1952
1928
  }
1953
- var Companion_instance_10;
1954
- function Companion_getInstance_3() {
1955
- return Companion_instance_10;
1929
+ var Companion_instance_8;
1930
+ function Companion_getInstance_1() {
1931
+ return Companion_instance_8;
1956
1932
  }
1957
1933
  function ToClientEventsObserverImpl$observeFromClientEvents$slambda(this$0, resultContinuation) {
1958
- this.wda_1 = this$0;
1934
+ this.gdc_1 = this$0;
1959
1935
  CoroutineImpl.call(this, resultContinuation);
1960
1936
  }
1961
- protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).yda = function (actions, $completion) {
1962
- var tmp = this.zda(actions, $completion);
1937
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).idc = function (actions, $completion) {
1938
+ var tmp = this.jdc(actions, $completion);
1963
1939
  tmp.g9_1 = Unit_instance;
1964
1940
  tmp.h9_1 = null;
1965
1941
  return tmp.m9();
1966
1942
  };
1967
1943
  protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).w9 = function (p1, $completion) {
1968
- return this.yda((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
1944
+ return this.idc((!(p1 == null) ? isInterface(p1, KtList) : false) ? p1 : THROW_CCE(), $completion);
1969
1945
  };
1970
1946
  protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).m9 = function () {
1971
1947
  var suspendResult = this.g9_1;
@@ -1974,7 +1950,7 @@
1974
1950
  var tmp = this.e9_1;
1975
1951
  if (tmp === 0) {
1976
1952
  this.f9_1 = 1;
1977
- return flow(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this.wda_1, this.xda_1, null));
1953
+ return flow(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this.gdc_1, this.hdc_1, null));
1978
1954
  } else if (tmp === 1) {
1979
1955
  throw this.h9_1;
1980
1956
  }
@@ -1984,23 +1960,23 @@
1984
1960
  }
1985
1961
  while (true);
1986
1962
  };
1987
- protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).zda = function (actions, completion) {
1988
- var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this.wda_1, completion);
1989
- i.xda_1 = actions;
1963
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).jdc = function (actions, completion) {
1964
+ var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this.gdc_1, completion);
1965
+ i.hdc_1 = actions;
1990
1966
  return i;
1991
1967
  };
1992
1968
  function ToClientEventsObserverImpl$observeFromClientEvents$slambda_0(this$0, resultContinuation) {
1993
1969
  var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(this$0, resultContinuation);
1994
1970
  var l = function (actions, $completion) {
1995
- return i.yda(actions, $completion);
1971
+ return i.idc(actions, $completion);
1996
1972
  };
1997
1973
  l.$arity = 1;
1998
1974
  return l;
1999
1975
  }
2000
1976
  function $sentEventCOROUTINE$0(_this__u8e3s4, fromEvent, resultContinuation) {
2001
1977
  CoroutineImpl.call(this, resultContinuation);
2002
- this.idb_1 = _this__u8e3s4;
2003
- this.jdb_1 = fromEvent;
1978
+ this.sdc_1 = _this__u8e3s4;
1979
+ this.tdc_1 = fromEvent;
2004
1980
  }
2005
1981
  protoOf($sentEventCOROUTINE$0).m9 = function () {
2006
1982
  var suspendResult = this.g9_1;
@@ -2011,9 +1987,9 @@
2011
1987
  case 0:
2012
1988
  this.f9_1 = 2;
2013
1989
  var tmp_0 = this;
2014
- tmp_0.kdb_1 = this.idb_1.hda_1;
1990
+ tmp_0.udc_1 = this.sdc_1.rdb_1;
2015
1991
  l$ret$1: do {
2016
- var this_0 = this.idb_1.gda_1;
1992
+ var this_0 = this.sdc_1.qdb_1;
2017
1993
  while (true) {
2018
1994
  var cur = this_0.kotlinx$atomicfu$value;
2019
1995
  var upd = cur + 1 | 0;
@@ -2024,7 +2000,7 @@
2024
2000
  }
2025
2001
  while (false);
2026
2002
  this.e9_1 = 1;
2027
- suspendResult = this.idb_1.ida_1.p18(this.jdb_1, this);
2003
+ suspendResult = this.sdc_1.sdb_1.p18(this.tdc_1, this);
2028
2004
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
2029
2005
  return suspendResult;
2030
2006
  }
@@ -2048,7 +2024,7 @@
2048
2024
  };
2049
2025
  function $waitForCOROUTINE$1(_this__u8e3s4, resultContinuation) {
2050
2026
  CoroutineImpl.call(this, resultContinuation);
2051
- this.tdb_1 = _this__u8e3s4;
2027
+ this.ddd_1 = _this__u8e3s4;
2052
2028
  }
2053
2029
  protoOf($waitForCOROUTINE$1).m9 = function () {
2054
2030
  var suspendResult = this.g9_1;
@@ -2059,12 +2035,12 @@
2059
2035
  case 0:
2060
2036
  this.f9_1 = 5;
2061
2037
  var tmp_0 = this;
2062
- tmp_0.udb_1 = this.tdb_1.hda_1;
2063
- this.vdb_1 = 0;
2038
+ tmp_0.edd_1 = this.ddd_1.rdb_1;
2039
+ this.fdd_1 = 0;
2064
2040
  this.e9_1 = 1;
2065
2041
  continue $sm;
2066
2042
  case 1:
2067
- if (!!(this.tdb_1.gda_1.kotlinx$atomicfu$value === 0)) {
2043
+ if (!!(this.ddd_1.qdb_1.kotlinx$atomicfu$value === 0)) {
2068
2044
  this.e9_1 = 4;
2069
2045
  continue $sm;
2070
2046
  }
@@ -2077,9 +2053,9 @@
2077
2053
 
2078
2054
  continue $sm;
2079
2055
  case 2:
2080
- this.vdb_1 = this.vdb_1 + 1 | 0;
2081
- if (this.vdb_1 > 6) {
2082
- this.tdb_1.eda_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.tdb_1.gda_1.kotlinx$atomicfu$value);
2056
+ this.fdd_1 = this.fdd_1 + 1 | 0;
2057
+ if (this.fdd_1 > 6) {
2058
+ this.ddd_1.odb_1.w('ToClientEventsObserver', "waitUntilEmpty: can't finish in 6 cycles, not delivered events count = " + this.ddd_1.qdb_1.kotlinx$atomicfu$value);
2083
2059
  this.e9_1 = 4;
2084
2060
  continue $sm;
2085
2061
  } else {
@@ -2107,42 +2083,42 @@
2107
2083
  while (true);
2108
2084
  };
2109
2085
  function ToClientEventsObserverImpl(serverReduxConfig, logger, idsProvider) {
2110
- this.dda_1 = serverReduxConfig;
2111
- this.eda_1 = logger;
2112
- this.fda_1 = idsProvider;
2113
- this.gda_1 = atomic$ref$1(0);
2086
+ this.ndb_1 = serverReduxConfig;
2087
+ this.odb_1 = logger;
2088
+ this.pdb_1 = idsProvider;
2089
+ this.qdb_1 = atomic$ref$1(0);
2114
2090
  var tmp = this;
2115
2091
  // Inline function 'kotlinx.atomicfu.locks.reentrantLock' call
2116
- tmp.hda_1 = get_atomicfu$reentrantLock();
2117
- this.ida_1 = MutableSharedFlow();
2092
+ tmp.rdb_1 = get_atomicfu$reentrantLock();
2093
+ this.sdb_1 = MutableSharedFlow();
2118
2094
  }
2119
- protoOf(ToClientEventsObserverImpl).kd9 = function (fromEvent, $completion) {
2095
+ protoOf(ToClientEventsObserverImpl).uda = function (fromEvent, $completion) {
2120
2096
  var tmp = new $sentEventCOROUTINE$0(this, fromEvent, $completion);
2121
2097
  tmp.g9_1 = Unit_instance;
2122
2098
  tmp.h9_1 = null;
2123
2099
  return tmp.m9();
2124
2100
  };
2125
- protoOf(ToClientEventsObserverImpl).g9i = function ($completion) {
2101
+ protoOf(ToClientEventsObserverImpl).w9i = function ($completion) {
2126
2102
  var tmp = new $waitForCOROUTINE$1(this, $completion);
2127
2103
  tmp.g9_1 = Unit_instance;
2128
2104
  tmp.h9_1 = null;
2129
2105
  return tmp.m9();
2130
2106
  };
2131
- protoOf(ToClientEventsObserverImpl).rb7 = function () {
2132
- if (!this.dda_1.enabledCombinedEvents) {
2133
- return this.ida_1;
2107
+ protoOf(ToClientEventsObserverImpl).ab9 = function () {
2108
+ if (!this.ndb_1.enabledCombinedEvents) {
2109
+ return this.sdb_1;
2134
2110
  }
2135
- var tmp = windowedByInterval(this.ida_1, toLong(this.dda_1.combinedEventsPeriod));
2111
+ var tmp = windowedByInterval(this.sdb_1, toLong(this.ndb_1.combinedEventsPeriod));
2136
2112
  return flatMapConcat(tmp, ToClientEventsObserverImpl$observeFromClientEvents$slambda_0(this, null));
2137
2113
  };
2138
2114
  function UpdateServerConfigAction(serverConfig) {
2139
- this.wdb_1 = serverConfig;
2115
+ this.gdd_1 = serverConfig;
2140
2116
  }
2141
2117
  protoOf(UpdateServerConfigAction).toString = function () {
2142
- return 'UpdateServerConfigAction(serverConfig=' + this.wdb_1.toString() + ')';
2118
+ return 'UpdateServerConfigAction(serverConfig=' + this.gdd_1.toString() + ')';
2143
2119
  };
2144
2120
  protoOf(UpdateServerConfigAction).hashCode = function () {
2145
- return this.wdb_1.hashCode();
2121
+ return this.gdd_1.hashCode();
2146
2122
  };
2147
2123
  protoOf(UpdateServerConfigAction).equals = function (other) {
2148
2124
  if (this === other)
@@ -2150,18 +2126,18 @@
2150
2126
  if (!(other instanceof UpdateServerConfigAction))
2151
2127
  return false;
2152
2128
  var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
2153
- if (!this.wdb_1.equals(tmp0_other_with_cast.wdb_1))
2129
+ if (!this.gdd_1.equals(tmp0_other_with_cast.gdd_1))
2154
2130
  return false;
2155
2131
  return true;
2156
2132
  };
2157
2133
  function AddSpectatorsAction(spectators) {
2158
- this.xdb_1 = spectators;
2134
+ this.hdd_1 = spectators;
2159
2135
  }
2160
2136
  protoOf(AddSpectatorsAction).toString = function () {
2161
- return 'AddSpectatorsAction(spectators=' + toString(this.xdb_1) + ')';
2137
+ return 'AddSpectatorsAction(spectators=' + toString(this.hdd_1) + ')';
2162
2138
  };
2163
2139
  protoOf(AddSpectatorsAction).hashCode = function () {
2164
- return hashCode(this.xdb_1);
2140
+ return hashCode(this.hdd_1);
2165
2141
  };
2166
2142
  protoOf(AddSpectatorsAction).equals = function (other) {
2167
2143
  if (this === other)
@@ -2169,18 +2145,18 @@
2169
2145
  if (!(other instanceof AddSpectatorsAction))
2170
2146
  return false;
2171
2147
  var tmp0_other_with_cast = other instanceof AddSpectatorsAction ? other : THROW_CCE();
2172
- if (!equals(this.xdb_1, tmp0_other_with_cast.xdb_1))
2148
+ if (!equals(this.hdd_1, tmp0_other_with_cast.hdd_1))
2173
2149
  return false;
2174
2150
  return true;
2175
2151
  };
2176
2152
  function RemoveSpectatorsAction(spectators) {
2177
- this.ydb_1 = spectators;
2153
+ this.idd_1 = spectators;
2178
2154
  }
2179
2155
  protoOf(RemoveSpectatorsAction).toString = function () {
2180
- return 'RemoveSpectatorsAction(spectators=' + toString(this.ydb_1) + ')';
2156
+ return 'RemoveSpectatorsAction(spectators=' + toString(this.idd_1) + ')';
2181
2157
  };
2182
2158
  protoOf(RemoveSpectatorsAction).hashCode = function () {
2183
- return hashCode(this.ydb_1);
2159
+ return hashCode(this.idd_1);
2184
2160
  };
2185
2161
  protoOf(RemoveSpectatorsAction).equals = function (other) {
2186
2162
  if (this === other)
@@ -2188,7 +2164,7 @@
2188
2164
  if (!(other instanceof RemoveSpectatorsAction))
2189
2165
  return false;
2190
2166
  var tmp0_other_with_cast = other instanceof RemoveSpectatorsAction ? other : THROW_CCE();
2191
- if (!equals(this.ydb_1, tmp0_other_with_cast.ydb_1))
2167
+ if (!equals(this.idd_1, tmp0_other_with_cast.idd_1))
2192
2168
  return false;
2193
2169
  return true;
2194
2170
  };
@@ -2196,66 +2172,66 @@
2196
2172
  }
2197
2173
  function _get_asyncProvider__jbpyhw($this) {
2198
2174
  // Inline function 'kotlin.getValue' call
2199
- var this_0 = $this.edc_1;
2175
+ var this_0 = $this.odd_1;
2200
2176
  asyncProvider$factory_0();
2201
2177
  return this_0.u();
2202
2178
  }
2203
2179
  function _get_logger__rkp4sl_0($this) {
2204
2180
  // Inline function 'kotlin.getValue' call
2205
- var this_0 = $this.fdc_1;
2181
+ var this_0 = $this.pdd_1;
2206
2182
  logger$factory_2();
2207
2183
  return this_0.u();
2208
2184
  }
2209
2185
  function _get_playerConnectionInteractor__si6cxf_0($this) {
2210
2186
  // Inline function 'kotlin.getValue' call
2211
- var this_0 = $this.gdc_1;
2187
+ var this_0 = $this.qdd_1;
2212
2188
  playerConnectionInteractor$factory_2();
2213
2189
  return this_0.u();
2214
2190
  }
2215
2191
  function _get_lastCardInteractor__h6lq3w($this) {
2216
2192
  // Inline function 'kotlin.getValue' call
2217
- var this_0 = $this.hdc_1;
2193
+ var this_0 = $this.rdd_1;
2218
2194
  lastCardInteractor$factory_0();
2219
2195
  return this_0.u();
2220
2196
  }
2221
2197
  function _get_serverConfig__rk2g06($this) {
2222
2198
  // Inline function 'kotlin.getValue' call
2223
- var this_0 = $this.idc_1;
2199
+ var this_0 = $this.sdd_1;
2224
2200
  serverConfig$factory_0();
2225
2201
  return this_0.u();
2226
2202
  }
2227
2203
  function _get_logicConfig__52ww9d($this) {
2228
2204
  // Inline function 'kotlin.getValue' call
2229
- var this_0 = $this.jdc_1;
2205
+ var this_0 = $this.tdd_1;
2230
2206
  logicConfig$factory_0();
2231
2207
  return this_0.u();
2232
2208
  }
2233
2209
  function _get_idsProvider__fnfajc($this) {
2234
2210
  // Inline function 'kotlin.getValue' call
2235
- var this_0 = $this.kdc_1;
2211
+ var this_0 = $this.udd_1;
2236
2212
  idsProvider$factory_0();
2237
2213
  return this_0.u();
2238
2214
  }
2239
2215
  function _get_botConfig__cpaxzc($this) {
2240
2216
  // Inline function 'kotlin.getValue' call
2241
- var this_0 = $this.ldc_1;
2217
+ var this_0 = $this.vdd_1;
2242
2218
  botConfig$factory_0();
2243
2219
  return this_0.u();
2244
2220
  }
2245
2221
  function _get_scenePositionProvider__kn0n1n($this) {
2246
2222
  // Inline function 'kotlin.getValue' call
2247
- var this_0 = $this.mdc_1;
2223
+ var this_0 = $this.wdd_1;
2248
2224
  scenePositionProvider$factory_0();
2249
2225
  return this_0.u();
2250
2226
  }
2251
2227
  function _get_toClientEventsObserver__6rp51y_0($this) {
2252
2228
  // Inline function 'kotlin.getValue' call
2253
- var this_0 = $this.ndc_1;
2229
+ var this_0 = $this.xdd_1;
2254
2230
  toClientEventsObserver$factory_2();
2255
2231
  return this_0.u();
2256
2232
  }
2257
2233
  function ServerGameStoreContract$_get_middlewares_$lambda_qmuw9r(player) {
2258
- return !player.y73();
2234
+ return !player.a74();
2259
2235
  }
2260
2236
  function ServerGameStoreContract(di, validationStoreContract, timersStoreContract, botGameStoreContract, gameMechanicStoreContract, fileLoggerStoreContract) {
2261
2237
  validationStoreContract = validationStoreContract === VOID ? new ValidationStoreContract(di, true, true, null) : validationStoreContract;
@@ -2263,77 +2239,77 @@
2263
2239
  botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
2264
2240
  gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di, null, true) : gameMechanicStoreContract;
2265
2241
  fileLoggerStoreContract = fileLoggerStoreContract === VOID ? new FileLoggerStoreContract(di) : fileLoggerStoreContract;
2266
- this.zdb_1 = validationStoreContract;
2267
- this.adc_1 = timersStoreContract;
2268
- this.bdc_1 = botGameStoreContract;
2269
- this.cdc_1 = gameMechanicStoreContract;
2270
- this.ddc_1 = fileLoggerStoreContract;
2242
+ this.jdd_1 = validationStoreContract;
2243
+ this.kdd_1 = timersStoreContract;
2244
+ this.ldd_1 = botGameStoreContract;
2245
+ this.mdd_1 = gameMechanicStoreContract;
2246
+ this.ndd_1 = fileLoggerStoreContract;
2271
2247
  var tmp = this;
2272
2248
  // Inline function 'org.kodein.di.instance' call
2273
2249
  // Inline function 'org.kodein.type.generic' call
2274
2250
  var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
2275
2251
  var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
2276
- tmp.edc_1 = Instance(di, tmp$ret$0, null).m67(this, asyncProvider$factory());
2252
+ tmp.odd_1 = Instance(di, tmp$ret$0, null).m67(this, asyncProvider$factory());
2277
2253
  var tmp_1 = this;
2278
2254
  // Inline function 'org.kodein.di.instance' call
2279
2255
  // Inline function 'org.kodein.type.generic' call
2280
2256
  var tmp_2 = typeToken(createKType(getKClass(RaspberryLogger), arrayOf([]), false));
2281
2257
  var tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
2282
- tmp_1.fdc_1 = Instance(di, tmp$ret$2, null).m67(this, logger$factory_1());
2258
+ tmp_1.pdd_1 = Instance(di, tmp$ret$2, null).m67(this, logger$factory_1());
2283
2259
  var tmp_3 = this;
2284
2260
  // Inline function 'org.kodein.di.instance' call
2285
2261
  // Inline function 'org.kodein.type.generic' call
2286
2262
  var tmp_4 = typeToken(createKType(getKClass(PlayerConnectionInteractor), arrayOf([]), false));
2287
2263
  var tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
2288
- tmp_3.gdc_1 = Instance(di, tmp$ret$4, null).m67(this, playerConnectionInteractor$factory_1());
2264
+ tmp_3.qdd_1 = Instance(di, tmp$ret$4, null).m67(this, playerConnectionInteractor$factory_1());
2289
2265
  var tmp_5 = this;
2290
2266
  // Inline function 'org.kodein.di.instance' call
2291
2267
  // Inline function 'org.kodein.type.generic' call
2292
2268
  var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
2293
2269
  var tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
2294
- tmp_5.hdc_1 = Instance(di, tmp$ret$6, null).m67(this, lastCardInteractor$factory());
2270
+ tmp_5.rdd_1 = Instance(di, tmp$ret$6, null).m67(this, lastCardInteractor$factory());
2295
2271
  var tmp_7 = this;
2296
2272
  // Inline function 'org.kodein.di.instance' call
2297
2273
  // Inline function 'org.kodein.type.generic' call
2298
2274
  var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
2299
2275
  var tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
2300
- tmp_7.idc_1 = Instance(di, tmp$ret$8, null).m67(this, serverConfig$factory());
2276
+ tmp_7.sdd_1 = Instance(di, tmp$ret$8, null).m67(this, serverConfig$factory());
2301
2277
  var tmp_9 = this;
2302
2278
  // Inline function 'org.kodein.di.instance' call
2303
2279
  // Inline function 'org.kodein.type.generic' call
2304
2280
  var tmp_10 = typeToken(createKType(getKClass(EngineLogicConfig), arrayOf([]), false));
2305
2281
  var tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
2306
- tmp_9.jdc_1 = Instance(di, tmp$ret$10, null).m67(this, logicConfig$factory());
2282
+ tmp_9.tdd_1 = Instance(di, tmp$ret$10, null).m67(this, logicConfig$factory());
2307
2283
  var tmp_11 = this;
2308
2284
  // Inline function 'org.kodein.di.instance' call
2309
2285
  // Inline function 'org.kodein.type.generic' call
2310
2286
  var tmp_12 = typeToken(createKType(getKClass(IdsProvider), arrayOf([]), false));
2311
2287
  var tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
2312
- tmp_11.kdc_1 = Instance(di, tmp$ret$12, null).m67(this, idsProvider$factory());
2288
+ tmp_11.udd_1 = Instance(di, tmp$ret$12, null).m67(this, idsProvider$factory());
2313
2289
  var tmp_13 = this;
2314
2290
  // Inline function 'org.kodein.di.instance' call
2315
2291
  // Inline function 'org.kodein.type.generic' call
2316
2292
  var tmp_14 = typeToken(createKType(getKClass(EngineBotConfig), arrayOf([]), false));
2317
2293
  var tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
2318
- tmp_13.ldc_1 = Instance(di, tmp$ret$14, null).m67(this, botConfig$factory());
2294
+ tmp_13.vdd_1 = Instance(di, tmp$ret$14, null).m67(this, botConfig$factory());
2319
2295
  var tmp_15 = this;
2320
2296
  // Inline function 'org.kodein.di.instance' call
2321
2297
  // Inline function 'org.kodein.type.generic' call
2322
2298
  var tmp_16 = typeToken(createKType(getKClass(ScenePositionProvider), arrayOf([]), false));
2323
2299
  var tmp$ret$16 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
2324
- tmp_15.mdc_1 = Instance(di, tmp$ret$16, null).m67(this, scenePositionProvider$factory());
2300
+ tmp_15.wdd_1 = Instance(di, tmp$ret$16, null).m67(this, scenePositionProvider$factory());
2325
2301
  var tmp_17 = this;
2326
2302
  // Inline function 'org.kodein.di.instance' call
2327
2303
  // Inline function 'org.kodein.type.generic' call
2328
2304
  var tmp_18 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
2329
2305
  var tmp$ret$18 = isInterface(tmp_18, TypeToken) ? tmp_18 : THROW_CCE();
2330
- tmp_17.ndc_1 = Instance(di, tmp$ret$18, null).m67(this, toClientEventsObserver$factory_1());
2306
+ tmp_17.xdd_1 = Instance(di, tmp$ret$18, null).m67(this, toClientEventsObserver$factory_1());
2331
2307
  }
2332
- protoOf(ServerGameStoreContract).y9a = function () {
2333
- return plus(plus(plus(plus(plus(this.zdb_1.y9a(), this.adc_1.y9a()), this.bdc_1.y9a()), this.cdc_1.y9a()), this.ddc_1.y9a()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
2308
+ protoOf(ServerGameStoreContract).o9b = function () {
2309
+ return plus(plus(plus(plus(plus(this.jdd_1.o9b(), this.kdd_1.o9b()), this.ldd_1.o9b()), this.mdd_1.o9b()), this.ndd_1.o9b()), listOf([serverConfigReducer(), spectatorsReducer(_get_logger__rkp4sl_0(this))]));
2334
2310
  };
2335
- protoOf(ServerGameStoreContract).z9a = function () {
2336
- var tmp = plus(plus(plus(plus(plus(plus(plus(this.zdb_1.z9a(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.adc_1.z9a()), this.bdc_1.z9a()), this.cdc_1.z9a()), this.ddc_1.z9a()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([serverSendEventsToClientsMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc(this))).r9c(), finishingGameWhenCantStartNewMiddleware()]));
2311
+ protoOf(ServerGameStoreContract).p9b = function () {
2312
+ var tmp = plus(plus(plus(plus(plus(plus(plus(this.jdd_1.p9b(), listOfNotNull(_get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null)), this.kdd_1.p9b()), this.ldd_1.p9b()), this.mdd_1.p9b()), this.ndd_1.p9b()), listOfNotNull_0([playerConnectionUpdateMiddleware(_get_playerConnectionInteractor__si6cxf_0(this)), playerReconnectionWaitingTimerTickMiddleware(_get_playerConnectionInteractor__si6cxf_0(this))])), listOfNotNull_0([serverSendEventsToClientsMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), (new ServerMapMechanicToClientActionMiddleware(_get_logicConfig__52ww9d(this), _get_idsProvider__fnfajc(this))).h9d(), finishingGameWhenCantStartNewMiddleware()]));
2337
2313
  var tmp_0 = roundLifecycleMiddleware(_get_scenePositionProvider__kn0n1n(this));
2338
2314
  var tmp0_serverConfig = _get_serverConfig__rk2g06(this);
2339
2315
  var tmp1_logger = _get_logger__rkp4sl_0(this);
@@ -2463,7 +2439,7 @@
2463
2439
  var action_0 = action instanceof RoundEndedAction ? action : THROW_CCE();
2464
2440
  next(action_0);
2465
2441
  var state = store.state;
2466
- if (!get_serverState(state).qd8_1.rd8_1 && action_0.isGameFinished) {
2442
+ if (!get_serverState(state).ada_1.bda_1 && action_0.isGameFinished) {
2467
2443
  store.dispatch(Companion_instance_0.withAnalytics(new GameFinishedReason(Reason_DEPLOY_getInstance()), true, state.d6w_1));
2468
2444
  }
2469
2445
  };
@@ -2476,7 +2452,7 @@
2476
2452
  };
2477
2453
  }
2478
2454
  function _no_name_provided__qut3iv_0(this$0) {
2479
- this.qdc_1 = this$0;
2455
+ this.ade_1 = this$0;
2480
2456
  }
2481
2457
  protoOf(_no_name_provided__qut3iv_0).c6o = function (action) {
2482
2458
  return action instanceof MechanicAction;
@@ -2491,11 +2467,11 @@
2491
2467
  var tmp;
2492
2468
  if (action_0 instanceof StartGameMechanicAction) {
2493
2469
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
2494
- var this_0 = this.qdc_1;
2495
- var tableId = action_0.s86_1;
2496
- var gameCreatorPlayerId = action_0.u86_1;
2470
+ var this_0 = this.ade_1;
2471
+ var tableId = action_0.f87_1;
2472
+ var gameCreatorPlayerId = action_0.h87_1;
2497
2473
  // Inline function 'kotlin.collections.map' call
2498
- var this_1 = action_0.v86_1;
2474
+ var this_1 = action_0.i87_1;
2499
2475
  // Inline function 'kotlin.collections.mapTo' call
2500
2476
  var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_1, 10));
2501
2477
  var tmp0_iterator = this_1.j();
@@ -2536,7 +2512,7 @@
2536
2512
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
2537
2513
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
2538
2514
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2539
- var tmp0_aid = this_0.pdc_1.b6m();
2515
+ var tmp0_aid = this_0.zdd_1.b6m();
2540
2516
  // Inline function 'kotlin.collections.map' call
2541
2517
  // Inline function 'kotlin.collections.mapTo' call
2542
2518
  var destination_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination, 10));
@@ -2561,17 +2537,17 @@
2561
2537
  } else {
2562
2538
  if (action_0 instanceof StartNewGameMechanicAction) {
2563
2539
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2564
- var this_2 = this.qdc_1;
2540
+ var this_2 = this.ade_1;
2565
2541
  var table = state.f6x();
2566
2542
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2567
- var sendToPlayer_0 = new RoomActionPayload(this_2.pdc_1.b6m(), table.id, null);
2543
+ var sendToPlayer_0 = new RoomActionPayload(this_2.zdd_1.b6m(), table.id, null);
2568
2544
  var tmp$ret$18 = mapToClient_16(action_0, sendToPlayer_0);
2569
2545
  tmp = listOfNotNull(tmp$ret$18);
2570
2546
  } else {
2571
2547
  if (action_0 instanceof ContinueGameMechanicAction) {
2572
2548
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
2573
- var this_3 = this.qdc_1;
2574
- var tableId_0 = action_0.y86_1.id;
2549
+ var this_3 = this.ade_1;
2550
+ var tableId_0 = action_0.l87_1.id;
2575
2551
  var gameCreatorPlayerId_0 = action_0.gameCreatorPlayerId;
2576
2552
  var players = getPlayers();
2577
2553
  // Inline function 'kotlin.collections.mapNotNull' call
@@ -2605,7 +2581,7 @@
2605
2581
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
2606
2582
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
2607
2583
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2608
- var tmp0_aid_0 = this_3.pdc_1.b6m();
2584
+ var tmp0_aid_0 = this_3.zdd_1.b6m();
2609
2585
  // Inline function 'kotlin.collections.map' call
2610
2586
  // Inline function 'kotlin.collections.mapTo' call
2611
2587
  var destination_7 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players, 10));
@@ -2630,43 +2606,43 @@
2630
2606
  } else {
2631
2607
  if (action_0 instanceof FinishingGameMechanicAction) {
2632
2608
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2633
- var this_4 = this.qdc_1;
2609
+ var this_4 = this.ade_1;
2634
2610
  var table_0 = state.f6x();
2635
2611
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2636
- var sendToPlayer_2 = new RoomActionPayload(this_4.pdc_1.b6m(), table_0.id, null);
2612
+ var sendToPlayer_2 = new RoomActionPayload(this_4.zdd_1.b6m(), table_0.id, null);
2637
2613
  var tmp$ret$35 = mapToClient_14(action_0, sendToPlayer_2);
2638
2614
  tmp = listOfNotNull(tmp$ret$35);
2639
2615
  } else {
2640
2616
  if (action_0 instanceof FinishGameMechanicAction) {
2641
2617
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2642
- var this_5 = this.qdc_1;
2618
+ var this_5 = this.ade_1;
2643
2619
  var table_1 = state.f6x();
2644
2620
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2645
- var sendToPlayer_3 = new RoomActionPayload(this_5.pdc_1.b6m(), table_1.id, null);
2621
+ var sendToPlayer_3 = new RoomActionPayload(this_5.zdd_1.b6m(), table_1.id, null);
2646
2622
  var tmp$ret$37 = mapToClient_13(action_0, sendToPlayer_3);
2647
2623
  tmp = listOfNotNull(tmp$ret$37);
2648
2624
  } else {
2649
2625
  if (action_0 instanceof RestartGameMechanicAction) {
2650
2626
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2651
- var this_6 = this.qdc_1;
2627
+ var this_6 = this.ade_1;
2652
2628
  var table_2 = state.f6x();
2653
2629
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2654
- var sendToPlayer_4 = new RoomActionPayload(this_6.pdc_1.b6m(), table_2.id, null);
2630
+ var sendToPlayer_4 = new RoomActionPayload(this_6.zdd_1.b6m(), table_2.id, null);
2655
2631
  var tmp$ret$39 = mapToClient_12(action_0, sendToPlayer_4);
2656
2632
  tmp = listOfNotNull(tmp$ret$39);
2657
2633
  } else {
2658
2634
  if (action_0 instanceof ErrorAction) {
2659
2635
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2660
- var this_7 = this.qdc_1;
2636
+ var this_7 = this.ade_1;
2661
2637
  var table_3 = state.f6x();
2662
2638
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2663
- var sendToPlayer_5 = new RoomActionPayload(this_7.pdc_1.b6m(), table_3.id, null);
2639
+ var sendToPlayer_5 = new RoomActionPayload(this_7.zdd_1.b6m(), table_3.id, null);
2664
2640
  var tmp$ret$41 = mapToClient_11(action_0, sendToPlayer_5);
2665
2641
  tmp = listOfNotNull(tmp$ret$41);
2666
2642
  } else {
2667
2643
  if (action_0 instanceof SceneMechanicAction) {
2668
2644
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
2669
- var this_8 = this.qdc_1;
2645
+ var this_8 = this.ade_1;
2670
2646
  var table_4 = state.f6x();
2671
2647
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
2672
2648
  var tableId_1 = table_4.id;
@@ -2703,7 +2679,7 @@
2703
2679
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
2704
2680
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
2705
2681
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2706
- var tmp0_aid_1 = this_8.pdc_1.b6m();
2682
+ var tmp0_aid_1 = this_8.zdd_1.b6m();
2707
2683
  // Inline function 'kotlin.collections.map' call
2708
2684
  // Inline function 'kotlin.collections.mapTo' call
2709
2685
  var destination_11 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_0, 10));
@@ -2728,7 +2704,7 @@
2728
2704
  } else {
2729
2705
  if (action_0 instanceof SceneActMechanicAction) {
2730
2706
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
2731
- var this_9 = this.qdc_1;
2707
+ var this_9 = this.ade_1;
2732
2708
  var table_5 = state.f6x();
2733
2709
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
2734
2710
  var tableId_2 = table_5.id;
@@ -2765,7 +2741,7 @@
2765
2741
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
2766
2742
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
2767
2743
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2768
- var tmp0_aid_2 = this_9.pdc_1.b6m();
2744
+ var tmp0_aid_2 = this_9.zdd_1.b6m();
2769
2745
  // Inline function 'kotlin.collections.map' call
2770
2746
  // Inline function 'kotlin.collections.mapTo' call
2771
2747
  var destination_15 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_1, 10));
@@ -2790,7 +2766,7 @@
2790
2766
  } else {
2791
2767
  if (action_0 instanceof TeamsDataMechanicAction) {
2792
2768
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createUserActionFromTable' call
2793
- var this_10 = this.qdc_1;
2769
+ var this_10 = this.ade_1;
2794
2770
  var table_6 = state.f6x();
2795
2771
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser' call
2796
2772
  var tableId_3 = table_6.id;
@@ -2827,7 +2803,7 @@
2827
2803
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
2828
2804
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createActionForUser.<anonymous>' call
2829
2805
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2830
- var tmp0_aid_3 = this_10.pdc_1.b6m();
2806
+ var tmp0_aid_3 = this_10.zdd_1.b6m();
2831
2807
  // Inline function 'kotlin.collections.map' call
2832
2808
  // Inline function 'kotlin.collections.mapTo' call
2833
2809
  var destination_19 = ArrayList_init_$Create$_0(collectionSizeOrDefault(players_2, 10));
@@ -2840,7 +2816,7 @@
2840
2816
  }
2841
2817
  var sendToPlayer_8 = UserActionPayload_init_$Create$(tmp0_aid_3, tableId_3, gameCreatorPlayerId_3, element_8, destination_19);
2842
2818
  var tmp_0;
2843
- if (this.qdc_1.odc_1.supportBackwardActions && getPlayer(state.f6x().players, sendToPlayer_8.m7k_1).v73_1.a74_1) {
2819
+ if (this.ade_1.ydd_1.supportBackwardActions && getPlayer(state.f6x().players, sendToPlayer_8.o7k_1).x73_1.c74_1) {
2844
2820
  tmp_0 = null;
2845
2821
  } else {
2846
2822
  tmp_0 = mapToClient_8(action_0, sendToPlayer_8);
@@ -2858,79 +2834,79 @@
2858
2834
  } else {
2859
2835
  if (action_0 instanceof PlayerReadyMechanicAction) {
2860
2836
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2861
- var this_11 = this.qdc_1;
2837
+ var this_11 = this.ade_1;
2862
2838
  var table_7 = state.f6x();
2863
- var exceptPlayerId = this.qdc_1.odc_1.supportBackwardActions ? action_0.v87_1 : null;
2839
+ var exceptPlayerId = this.ade_1.ydd_1.supportBackwardActions ? action_0.k88_1 : null;
2864
2840
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2865
- var sendToPlayer_9 = new RoomActionPayload(this_11.pdc_1.b6m(), table_7.id, exceptPlayerId);
2841
+ var sendToPlayer_9 = new RoomActionPayload(this_11.zdd_1.b6m(), table_7.id, exceptPlayerId);
2866
2842
  var tmp$ret$91 = mapToClient_7(action_0, sendToPlayer_9);
2867
2843
  tmp = listOfNotNull(tmp$ret$91);
2868
2844
  } else {
2869
2845
  if (action_0 instanceof SuitChoiceMechanicAction) {
2870
2846
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2871
- var this_12 = this.qdc_1;
2847
+ var this_12 = this.ade_1;
2872
2848
  var table_8 = state.f6x();
2873
- var exceptPlayerId_0 = this.qdc_1.odc_1.supportBackwardActions ? action_0.z87_1 : null;
2849
+ var exceptPlayerId_0 = this.ade_1.ydd_1.supportBackwardActions ? action_0.o88_1 : null;
2874
2850
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2875
- var sendToPlayer_10 = new RoomActionPayload(this_12.pdc_1.b6m(), table_8.id, exceptPlayerId_0);
2851
+ var sendToPlayer_10 = new RoomActionPayload(this_12.zdd_1.b6m(), table_8.id, exceptPlayerId_0);
2876
2852
  var tmp$ret$93 = mapToClient_6(action_0, sendToPlayer_10);
2877
2853
  tmp = listOfNotNull(tmp$ret$93);
2878
2854
  } else {
2879
2855
  if (action_0 instanceof TrumpMechanicAction) {
2880
2856
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2881
- var this_13 = this.qdc_1;
2857
+ var this_13 = this.ade_1;
2882
2858
  var table_9 = state.f6x();
2883
2859
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2884
- var sendToPlayer_11 = new RoomActionPayload(this_13.pdc_1.b6m(), table_9.id, null);
2860
+ var sendToPlayer_11 = new RoomActionPayload(this_13.zdd_1.b6m(), table_9.id, null);
2885
2861
  var tmp$ret$95 = mapToClient_5(action_0, sendToPlayer_11);
2886
2862
  tmp = listOfNotNull(tmp$ret$95);
2887
2863
  } else {
2888
2864
  if (action_0 instanceof CombinationChoiceMechanicAction) {
2889
2865
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2890
- var this_14 = this.qdc_1;
2866
+ var this_14 = this.ade_1;
2891
2867
  var table_10 = state.f6x();
2892
- var exceptPlayerId_1 = this.qdc_1.odc_1.supportBackwardActions ? action_0.g88_1 : null;
2868
+ var exceptPlayerId_1 = this.ade_1.ydd_1.supportBackwardActions ? action_0.v88_1 : null;
2893
2869
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2894
- var sendToPlayer_12 = new RoomActionPayload(this_14.pdc_1.b6m(), table_10.id, exceptPlayerId_1);
2870
+ var sendToPlayer_12 = new RoomActionPayload(this_14.zdd_1.b6m(), table_10.id, exceptPlayerId_1);
2895
2871
  var tmp$ret$97 = mapToClient_4(action_0, sendToPlayer_12);
2896
2872
  tmp = listOfNotNull(tmp$ret$97);
2897
2873
  } else {
2898
2874
  if (action_0 instanceof PutCardMechanicAction) {
2899
2875
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2900
- var this_15 = this.qdc_1;
2876
+ var this_15 = this.ade_1;
2901
2877
  var table_11 = state.f6x();
2902
- var exceptPlayerId_2 = this.qdc_1.odc_1.supportBackwardActions ? action_0.k88_1 : null;
2878
+ var exceptPlayerId_2 = this.ade_1.ydd_1.supportBackwardActions ? action_0.z88_1 : null;
2903
2879
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2904
- var sendToPlayer_13 = new RoomActionPayload(this_15.pdc_1.b6m(), table_11.id, exceptPlayerId_2);
2880
+ var sendToPlayer_13 = new RoomActionPayload(this_15.zdd_1.b6m(), table_11.id, exceptPlayerId_2);
2905
2881
  var tmp$ret$99 = mapToClient_3(action_0, sendToPlayer_13);
2906
2882
  tmp = listOfNotNull(tmp$ret$99);
2907
2883
  } else {
2908
2884
  if (action_0 instanceof PickUpBribeMechanicAction) {
2909
2885
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2910
- var this_16 = this.qdc_1;
2886
+ var this_16 = this.ade_1;
2911
2887
  var table_12 = state.f6x();
2912
2888
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2913
- var sendToPlayer_14 = new RoomActionPayload(this_16.pdc_1.b6m(), table_12.id, null);
2889
+ var sendToPlayer_14 = new RoomActionPayload(this_16.zdd_1.b6m(), table_12.id, null);
2914
2890
  var tmp$ret$101 = mapToClient_2(action_0, sendToPlayer_14);
2915
2891
  tmp = listOfNotNull(tmp$ret$101);
2916
2892
  } else {
2917
2893
  if (action_0 instanceof WinnerCombinationsMechanicAction) {
2918
2894
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2919
- var this_17 = this.qdc_1;
2895
+ var this_17 = this.ade_1;
2920
2896
  var table_13 = state.f6x();
2921
2897
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2922
- var sendToPlayer_15 = new RoomActionPayload(this_17.pdc_1.b6m(), table_13.id, null);
2898
+ var sendToPlayer_15 = new RoomActionPayload(this_17.zdd_1.b6m(), table_13.id, null);
2923
2899
  var tmp$ret$103 = mapToClient_1(action_0, sendToPlayer_15);
2924
2900
  tmp = listOfNotNull(tmp$ret$103);
2925
2901
  } else {
2926
2902
  if (action_0 instanceof MessageMechanicAction) {
2927
- var message = action_0.s88_1;
2903
+ var message = action_0.h89_1;
2928
2904
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2929
- var this_18 = this.qdc_1;
2905
+ var this_18 = this.ade_1;
2930
2906
  var table_14 = state.f6x();
2931
2907
  var tmp_1;
2932
2908
  var tmp_2;
2933
- if (this.qdc_1.odc_1.supportBackwardActions) {
2909
+ if (this.ade_1.ydd_1.supportBackwardActions) {
2934
2910
  tmp_2 = isInterface(message, UserMessage);
2935
2911
  } else {
2936
2912
  tmp_2 = false;
@@ -2942,17 +2918,17 @@
2942
2918
  }
2943
2919
  var exceptPlayerId_3 = tmp_1;
2944
2920
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2945
- var sendToPlayer_16 = new RoomActionPayload(this_18.pdc_1.b6m(), table_14.id, exceptPlayerId_3);
2921
+ var sendToPlayer_16 = new RoomActionPayload(this_18.zdd_1.b6m(), table_14.id, exceptPlayerId_3);
2946
2922
  var tmp$ret$105 = mapToClient_0(action_0, sendToPlayer_16);
2947
2923
  tmp = listOfNotNull(tmp$ret$105);
2948
2924
  } else {
2949
2925
  if (action_0 instanceof PlayerConnectionChangedMechanicAction) {
2950
2926
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.createRoomActionFromTable' call
2951
- var this_19 = this.qdc_1;
2927
+ var this_19 = this.ade_1;
2952
2928
  var table_15 = state.f6x();
2953
2929
  var exceptPlayerId_4 = action_0.playerId;
2954
2930
  // Inline function 'games.jass.logic.server.redux.middlewares.ServerMapMechanicToClientActionMiddleware.middleware.<anonymous>.<anonymous>.<anonymous>' call
2955
- var sendToPlayer_17 = new RoomActionPayload(this_19.pdc_1.b6m(), table_15.id, exceptPlayerId_4);
2931
+ var sendToPlayer_17 = new RoomActionPayload(this_19.zdd_1.b6m(), table_15.id, exceptPlayerId_4);
2956
2932
  var tmp$ret$107 = mapToClient(action_0, sendToPlayer_17);
2957
2933
  tmp = listOfNotNull(tmp$ret$107);
2958
2934
  } else {
@@ -2990,10 +2966,10 @@
2990
2966
  return this.t6p(store, next, action);
2991
2967
  };
2992
2968
  function ServerMapMechanicToClientActionMiddleware(logicConfig, idsProvider) {
2993
- this.odc_1 = logicConfig;
2994
- this.pdc_1 = idsProvider;
2969
+ this.ydd_1 = logicConfig;
2970
+ this.zdd_1 = idsProvider;
2995
2971
  }
2996
- protoOf(ServerMapMechanicToClientActionMiddleware).r9c = function () {
2972
+ protoOf(ServerMapMechanicToClientActionMiddleware).h9d = function () {
2997
2973
  // Inline function 'com.logic.redux.store.definitions.middlewareForActionType' call
2998
2974
  return new _no_name_provided__qut3iv_0(this);
2999
2975
  };
@@ -3002,8 +2978,8 @@
3002
2978
  return new _no_name_provided__qut3iv_1(asyncProvider, provider);
3003
2979
  }
3004
2980
  function serverSendEventsToClientsMiddleware$o$handle$slambda($provider, $action, resultContinuation) {
3005
- this.zdc_1 = $provider;
3006
- this.add_1 = $action;
2981
+ this.jde_1 = $provider;
2982
+ this.kde_1 = $action;
3007
2983
  CoroutineImpl.call(this, resultContinuation);
3008
2984
  }
3009
2985
  protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).e1f = function ($this$launchDefault, $completion) {
@@ -3024,7 +3000,7 @@
3024
3000
  case 0:
3025
3001
  this.f9_1 = 2;
3026
3002
  this.e9_1 = 1;
3027
- suspendResult = this.zdc_1.kd9(this.add_1, this);
3003
+ suspendResult = this.jde_1.uda(this.kde_1, this);
3028
3004
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
3029
3005
  return suspendResult;
3030
3006
  }
@@ -3047,8 +3023,8 @@
3047
3023
  while (true);
3048
3024
  };
3049
3025
  protoOf(serverSendEventsToClientsMiddleware$o$handle$slambda).f1f = function ($this$launchDefault, completion) {
3050
- var i = new serverSendEventsToClientsMiddleware$o$handle$slambda(this.zdc_1, this.add_1, completion);
3051
- i.bdd_1 = $this$launchDefault;
3026
+ var i = new serverSendEventsToClientsMiddleware$o$handle$slambda(this.jde_1, this.kde_1, completion);
3027
+ i.lde_1 = $this$launchDefault;
3052
3028
  return i;
3053
3029
  };
3054
3030
  function serverSendEventsToClientsMiddleware$o$handle$slambda_0($provider, $action, resultContinuation) {
@@ -3060,8 +3036,8 @@
3060
3036
  return l;
3061
3037
  }
3062
3038
  function _no_name_provided__qut3iv_1($asyncProvider, $provider) {
3063
- this.cdd_1 = $asyncProvider;
3064
- this.ddd_1 = $provider;
3039
+ this.mde_1 = $asyncProvider;
3040
+ this.nde_1 = $provider;
3065
3041
  }
3066
3042
  protoOf(_no_name_provided__qut3iv_1).c6o = function (action) {
3067
3043
  return action instanceof ToClientAction;
@@ -3069,7 +3045,7 @@
3069
3045
  protoOf(_no_name_provided__qut3iv_1).t6p = function (store, next, action) {
3070
3046
  // Inline function 'games.jass.logic.server.redux.middlewares.client.serverSendEventsToClientsMiddleware.<anonymous>' call
3071
3047
  var action_0 = action instanceof ToClientAction ? action : THROW_CCE();
3072
- this.cdd_1.y6k(VOID, serverSendEventsToClientsMiddleware$o$handle$slambda_0(this.ddd_1, action_0, null));
3048
+ this.mde_1.y6k(VOID, serverSendEventsToClientsMiddleware$o$handle$slambda_0(this.nde_1, action_0, null));
3073
3049
  next(action_0);
3074
3050
  };
3075
3051
  protoOf(_no_name_provided__qut3iv_1).b6o = function (store, next, action) {
@@ -3084,13 +3060,13 @@
3084
3060
  protoOf(_no_name_provided__qut3iv_2).c6o = function (action) {
3085
3061
  return action instanceof UpdateServerConfigAction;
3086
3062
  };
3087
- protoOf(_no_name_provided__qut3iv_2).y9j = function (state, action) {
3063
+ protoOf(_no_name_provided__qut3iv_2).o9k = function (state, action) {
3088
3064
  // Inline function 'games.jass.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
3089
3065
  var action_0 = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
3090
- return state.d98(VOID, get_serverState(state).edd(action_0.wdb_1));
3066
+ return state.t98(VOID, get_serverState(state).ode(action_0.gdd_1));
3091
3067
  };
3092
3068
  protoOf(_no_name_provided__qut3iv_2).u6p = function (state, action) {
3093
- return this.y9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
3069
+ return this.o9k((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
3094
3070
  };
3095
3071
  function ServerMechanicLifecycleReducer$onStart$lambda($action) {
3096
3072
  return function (it) {
@@ -3103,7 +3079,7 @@
3103
3079
  var tmp_2 = PlayerConnectionState_LIVE_getInstance();
3104
3080
  // Inline function 'kotlin.time.Companion.milliseconds' call
3105
3081
  Companion_getInstance();
3106
- var this_0 = $action.r86_1.timeoutTimeMillis;
3082
+ var this_0 = $action.e87_1.timeoutTimeMillis;
3107
3083
  var tmp$ret$0 = toDuration(this_0, DurationUnit_MILLISECONDS_getInstance());
3108
3084
  tmp_0 = tmp_1.o6f(tmp_2, tmp$ret$0);
3109
3085
  }
@@ -3112,47 +3088,47 @@
3112
3088
  }
3113
3089
  function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer, randomPoolProvider) {
3114
3090
  BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer, randomPoolProvider);
3115
- this.hdd_1 = logger;
3091
+ this.rde_1 = logger;
3116
3092
  }
3117
- protoOf(ServerMechanicLifecycleReducer).k9l = function (state, action) {
3093
+ protoOf(ServerMechanicLifecycleReducer).a9m = function (state, action) {
3118
3094
  var serverState = get_serverStateOrNull(state.e6w_1);
3119
3095
  var tmp8_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
3120
- var tmp0_$this = this.l9l_1;
3121
- var tmp1_tableId = action.s86_1;
3122
- var tmp2_gameId = action.s86_1;
3123
- var tmp3_version = action.t86_1;
3124
- var tmp4_config = action.r86_1;
3125
- var tmp5_users = action.v86_1;
3096
+ var tmp0_$this = this.b9m_1;
3097
+ var tmp1_tableId = action.f87_1;
3098
+ var tmp2_gameId = action.f87_1;
3099
+ var tmp3_version = action.g87_1;
3100
+ var tmp4_config = action.e87_1;
3101
+ var tmp5_users = action.i87_1;
3126
3102
  var tmp6_spectators = action.spectators;
3127
- var tmp7_gameCreatorPlayerId = action.u86_1;
3128
- var tmp9_tableOrNull = tmp0_$this.r9m(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
3103
+ var tmp7_gameCreatorPlayerId = action.h87_1;
3104
+ var tmp9_tableOrNull = tmp0_$this.h9n(tmp1_tableId, tmp2_gameId, tmp4_config, tmp3_version, tmp5_users, tmp6_spectators, tmp7_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda(action));
3129
3105
  var tmp;
3130
3106
  if (serverState == null) {
3131
- this.hdd_1.w(VOID, 'ServerPayload is not onStart');
3132
- tmp = Companion_instance_11.gd9();
3107
+ this.rde_1.w(VOID, 'ServerPayload is not onStart');
3108
+ tmp = Companion_instance_9.qda();
3133
3109
  } else {
3134
3110
  tmp = serverState;
3135
3111
  }
3136
3112
  var tmp10_payload = tmp;
3137
- return state.d98(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
3113
+ return state.t98(tmp9_tableOrNull, tmp10_payload, tmp8_gameLifecycleState);
3138
3114
  };
3139
- protoOf(ServerMechanicLifecycleReducer).j9l = function (state, action) {
3140
- this.m9l_1.z5u(action.previousGameId);
3115
+ protoOf(ServerMechanicLifecycleReducer).z9l = function (state, action) {
3116
+ this.c9m_1.z5u(action.previousGameId);
3141
3117
  var tmp0_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
3142
- var tmp1_tableOrNull = this.l9l_1.s9m(state.f6x(), action.gameId);
3143
- return state.d98(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
3118
+ var tmp1_tableOrNull = this.b9m_1.i9n(state.f6x(), action.gameId);
3119
+ return state.t98(tmp1_tableOrNull, VOID, tmp0_gameLifecycleState);
3144
3120
  };
3145
3121
  function spectatorsReducer(logger) {
3146
3122
  // Inline function 'com.logic.redux.store.definitions.reducerForActionType' call
3147
3123
  return new _no_name_provided__qut3iv_3(logger);
3148
3124
  }
3149
3125
  function _no_name_provided__qut3iv_3($logger) {
3150
- this.idd_1 = $logger;
3126
+ this.sde_1 = $logger;
3151
3127
  }
3152
3128
  protoOf(_no_name_provided__qut3iv_3).c6o = function (action) {
3153
3129
  return isInterface(action, SpectatorsAction);
3154
3130
  };
3155
- protoOf(_no_name_provided__qut3iv_3).y9j = function (state, action) {
3131
+ protoOf(_no_name_provided__qut3iv_3).o9k = function (state, action) {
3156
3132
  // Inline function 'games.jass.logic.server.redux.reducers.spectatorsReducer.<anonymous>' call
3157
3133
  var action_0 = isInterface(action, SpectatorsAction) ? action : THROW_CCE();
3158
3134
  var table = state.f6x();
@@ -3160,7 +3136,7 @@
3160
3136
  if (action_0 instanceof AddSpectatorsAction) {
3161
3137
  // Inline function 'kotlin.collections.mapNotNull' call
3162
3138
  // Inline function 'kotlin.collections.mapNotNullTo' call
3163
- var this_0 = action_0.xdb_1;
3139
+ var this_0 = action_0.hdd_1;
3164
3140
  var destination = ArrayList_init_$Create$();
3165
3141
  // Inline function 'kotlin.collections.forEach' call
3166
3142
  var tmp0_iterator = this_0.j();
@@ -3182,10 +3158,10 @@
3182
3158
  var tmp_0;
3183
3159
  // Inline function 'kotlin.collections.isNotEmpty' call
3184
3160
  if (!sameSpectators.p()) {
3185
- this.idd_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
3161
+ this.sde_1.w('spectatorsReducer', 'AddSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators));
3186
3162
  // Inline function 'kotlin.collections.filterNot' call
3187
3163
  // Inline function 'kotlin.collections.filterNotTo' call
3188
- var this_1 = action_0.xdb_1;
3164
+ var this_1 = action_0.hdd_1;
3189
3165
  var destination_0 = ArrayList_init_$Create$();
3190
3166
  var tmp0_iterator_0 = this_1.j();
3191
3167
  while (tmp0_iterator_0.k()) {
@@ -3221,7 +3197,7 @@
3221
3197
  }
3222
3198
  tmp_0 = destination_0;
3223
3199
  } else {
3224
- tmp_0 = action_0.xdb_1;
3200
+ tmp_0 = action_0.hdd_1;
3225
3201
  }
3226
3202
  var this_2 = tmp_0;
3227
3203
  // Inline function 'kotlin.collections.mapTo' call
@@ -3234,12 +3210,12 @@
3234
3210
  destination_1.e(tmp$ret$10);
3235
3211
  }
3236
3212
  var spectatorsToAdd = toSet(destination_1);
3237
- tmp = state.d98(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
3213
+ tmp = state.t98(table.copy(VOID, VOID, VOID, VOID, VOID, plus(table.spectators, spectatorsToAdd)));
3238
3214
  } else {
3239
3215
  if (action_0 instanceof RemoveSpectatorsAction) {
3240
3216
  // Inline function 'kotlin.collections.mapNotNull' call
3241
3217
  // Inline function 'kotlin.collections.mapNotNullTo' call
3242
- var this_3 = action_0.ydb_1;
3218
+ var this_3 = action_0.idd_1;
3243
3219
  var destination_2 = ArrayList_init_$Create$();
3244
3220
  // Inline function 'kotlin.collections.forEach' call
3245
3221
  var tmp0_iterator_3 = this_3.j();
@@ -3260,10 +3236,10 @@
3260
3236
  var tmp_2;
3261
3237
  // Inline function 'kotlin.collections.isNotEmpty' call
3262
3238
  if (!sameSpectators_0.p()) {
3263
- this.idd_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
3239
+ this.sde_1.w('spectatorsReducer', 'RemoveSpectatorsAction: This spectator is already exists in this room, ' + toString(sameSpectators_0));
3264
3240
  // Inline function 'kotlin.collections.filterNot' call
3265
3241
  // Inline function 'kotlin.collections.filterNotTo' call
3266
- var this_4 = action_0.ydb_1;
3242
+ var this_4 = action_0.idd_1;
3267
3243
  var destination_3 = ArrayList_init_$Create$();
3268
3244
  var tmp0_iterator_4 = this_4.j();
3269
3245
  while (tmp0_iterator_4.k()) {
@@ -3299,7 +3275,7 @@
3299
3275
  }
3300
3276
  tmp_2 = destination_3;
3301
3277
  } else {
3302
- tmp_2 = action_0.ydb_1;
3278
+ tmp_2 = action_0.idd_1;
3303
3279
  }
3304
3280
  var spectatorsToRemove = toSet(tmp_2);
3305
3281
  // Inline function 'kotlin.collections.filterNot' call
@@ -3338,7 +3314,7 @@
3338
3314
  destination_4.e(element_5);
3339
3315
  }
3340
3316
  }
3341
- tmp = state.d98(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
3317
+ tmp = state.t98(table.copy(VOID, VOID, VOID, VOID, VOID, destination_4));
3342
3318
  } else {
3343
3319
  noWhenBranchMatchedException();
3344
3320
  }
@@ -3346,32 +3322,32 @@
3346
3322
  return tmp;
3347
3323
  };
3348
3324
  protoOf(_no_name_provided__qut3iv_3).u6p = function (state, action) {
3349
- return this.y9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
3325
+ return this.o9k((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
3350
3326
  };
3351
3327
  function Companion_1() {
3352
3328
  }
3353
- protoOf(Companion_1).jdd = function (config) {
3329
+ protoOf(Companion_1).tde = function (config) {
3354
3330
  return new ServerState(config);
3355
3331
  };
3356
- protoOf(Companion_1).gd9 = function (config, $super) {
3332
+ protoOf(Companion_1).qda = function (config, $super) {
3357
3333
  config = config === VOID ? new ServerConfig(true) : config;
3358
- return $super === VOID ? this.jdd(config) : $super.jdd.call(this, config);
3334
+ return $super === VOID ? this.tde(config) : $super.tde.call(this, config);
3359
3335
  };
3360
- var Companion_instance_11;
3361
- function Companion_getInstance_4() {
3362
- return Companion_instance_11;
3336
+ var Companion_instance_9;
3337
+ function Companion_getInstance_2() {
3338
+ return Companion_instance_9;
3363
3339
  }
3364
3340
  function ServerState(config) {
3365
- this.qd8_1 = config;
3341
+ this.ada_1 = config;
3366
3342
  }
3367
- protoOf(ServerState).edd = function (config) {
3343
+ protoOf(ServerState).ode = function (config) {
3368
3344
  return new ServerState(config);
3369
3345
  };
3370
3346
  protoOf(ServerState).toString = function () {
3371
- return 'ServerState(config=' + this.qd8_1.toString() + ')';
3347
+ return 'ServerState(config=' + this.ada_1.toString() + ')';
3372
3348
  };
3373
3349
  protoOf(ServerState).hashCode = function () {
3374
- return this.qd8_1.hashCode();
3350
+ return this.ada_1.hashCode();
3375
3351
  };
3376
3352
  protoOf(ServerState).equals = function (other) {
3377
3353
  if (this === other)
@@ -3379,7 +3355,7 @@
3379
3355
  if (!(other instanceof ServerState))
3380
3356
  return false;
3381
3357
  var tmp0_other_with_cast = other instanceof ServerState ? other : THROW_CCE();
3382
- if (!this.qd8_1.equals(tmp0_other_with_cast.qd8_1))
3358
+ if (!this.ada_1.equals(tmp0_other_with_cast.ada_1))
3383
3359
  return false;
3384
3360
  return true;
3385
3361
  };
@@ -3409,1037 +3385,6 @@
3409
3385
  function get_serverStateOrNull(_this__u8e3s4) {
3410
3386
  return _this__u8e3s4 instanceof ServerState ? _this__u8e3s4 : null;
3411
3387
  }
3412
- function GameHelper() {
3413
- }
3414
- function prepareConfigObjectInternal($this, map) {
3415
- var jsObject = {};
3416
- var tmp = map.g2('players');
3417
- var tmp0_safe_receiver = (tmp == null ? true : isArray(tmp)) ? tmp : null;
3418
- var tmp_0;
3419
- if (tmp0_safe_receiver == null) {
3420
- tmp_0 = null;
3421
- } else {
3422
- // Inline function 'kotlin.collections.onEach' call
3423
- // Inline function 'kotlin.apply' call
3424
- // Inline function 'kotlin.contracts.contract' call
3425
- // Inline function 'kotlin.collections.onEach.<anonymous>' call
3426
- var inductionVariable = 0;
3427
- var last = tmp0_safe_receiver.length;
3428
- while (inductionVariable < last) {
3429
- var element = tmp0_safe_receiver[inductionVariable];
3430
- inductionVariable = inductionVariable + 1 | 0;
3431
- // Inline function 'GameHelperImpl.prepareConfigObjectInternal.<anonymous>' call
3432
- validatePlayers($this, element);
3433
- }
3434
- tmp_0 = tmp0_safe_receiver;
3435
- }
3436
- var tmp1_safe_receiver = tmp_0;
3437
- var tmp_1;
3438
- if (tmp1_safe_receiver == null) {
3439
- tmp_1 = null;
3440
- } else {
3441
- // Inline function 'kotlin.takeIf' call
3442
- // Inline function 'kotlin.contracts.contract' call
3443
- var tmp_2;
3444
- // Inline function 'GameHelperImpl.prepareConfigObjectInternal.<anonymous>' call
3445
- // Inline function 'kotlin.collections.isNotEmpty' call
3446
- // Inline function 'kotlin.collections.isEmpty' call
3447
- if (!(tmp1_safe_receiver.length === 0)) {
3448
- tmp_2 = tmp1_safe_receiver;
3449
- } else {
3450
- tmp_2 = null;
3451
- }
3452
- tmp_1 = tmp_2;
3453
- }
3454
- var players = tmp_1;
3455
- var tmp_3 = map.g2('points');
3456
- var tmp2_safe_receiver = (tmp_3 == null ? true : isArray(tmp_3)) ? tmp_3 : null;
3457
- var tmp_4;
3458
- if (tmp2_safe_receiver == null) {
3459
- tmp_4 = null;
3460
- } else {
3461
- // Inline function 'kotlin.collections.onEach' call
3462
- // Inline function 'kotlin.apply' call
3463
- // Inline function 'kotlin.contracts.contract' call
3464
- // Inline function 'kotlin.collections.onEach.<anonymous>' call
3465
- var inductionVariable_0 = 0;
3466
- var last_0 = tmp2_safe_receiver.length;
3467
- while (inductionVariable_0 < last_0) {
3468
- var element_0 = tmp2_safe_receiver[inductionVariable_0];
3469
- inductionVariable_0 = inductionVariable_0 + 1 | 0;
3470
- // Inline function 'GameHelperImpl.prepareConfigObjectInternal.<anonymous>' call
3471
- validatePoints($this, element_0);
3472
- }
3473
- tmp_4 = tmp2_safe_receiver;
3474
- }
3475
- var tmp3_safe_receiver = tmp_4;
3476
- var tmp_5;
3477
- if (tmp3_safe_receiver == null) {
3478
- tmp_5 = null;
3479
- } else {
3480
- // Inline function 'kotlin.takeIf' call
3481
- // Inline function 'kotlin.contracts.contract' call
3482
- var tmp_6;
3483
- // Inline function 'GameHelperImpl.prepareConfigObjectInternal.<anonymous>' call
3484
- // Inline function 'kotlin.collections.isNotEmpty' call
3485
- // Inline function 'kotlin.collections.isEmpty' call
3486
- if (!(tmp3_safe_receiver.length === 0)) {
3487
- tmp_6 = tmp3_safe_receiver;
3488
- } else {
3489
- tmp_6 = null;
3490
- }
3491
- tmp_5 = tmp_6;
3492
- }
3493
- var points = tmp_5;
3494
- var tmp_7 = map.g2('timeoutTime');
3495
- var tmp4_safe_receiver = (tmp_7 == null ? true : isArray(tmp_7)) ? tmp_7 : null;
3496
- var tmp_8;
3497
- if (tmp4_safe_receiver == null) {
3498
- tmp_8 = null;
3499
- } else {
3500
- // Inline function 'kotlin.collections.onEach' call
3501
- // Inline function 'kotlin.apply' call
3502
- // Inline function 'kotlin.contracts.contract' call
3503
- // Inline function 'kotlin.collections.onEach.<anonymous>' call
3504
- var inductionVariable_1 = 0;
3505
- var last_1 = tmp4_safe_receiver.length;
3506
- while (inductionVariable_1 < last_1) {
3507
- var element_1 = tmp4_safe_receiver[inductionVariable_1];
3508
- inductionVariable_1 = inductionVariable_1 + 1 | 0;
3509
- // Inline function 'GameHelperImpl.prepareConfigObjectInternal.<anonymous>' call
3510
- validateTimeoutTime($this, element_1);
3511
- }
3512
- tmp_8 = tmp4_safe_receiver;
3513
- }
3514
- var tmp5_safe_receiver = tmp_8;
3515
- var tmp_9;
3516
- if (tmp5_safe_receiver == null) {
3517
- tmp_9 = null;
3518
- } else {
3519
- // Inline function 'kotlin.takeIf' call
3520
- // Inline function 'kotlin.contracts.contract' call
3521
- var tmp_10;
3522
- // Inline function 'GameHelperImpl.prepareConfigObjectInternal.<anonymous>' call
3523
- // Inline function 'kotlin.collections.isNotEmpty' call
3524
- // Inline function 'kotlin.collections.isEmpty' call
3525
- if (!(tmp5_safe_receiver.length === 0)) {
3526
- tmp_10 = tmp5_safe_receiver;
3527
- } else {
3528
- tmp_10 = null;
3529
- }
3530
- tmp_9 = tmp_10;
3531
- }
3532
- var timeoutTime = tmp_9;
3533
- var tmp_11 = map.g2('rulesPreset');
3534
- var tmp6_safe_receiver = (tmp_11 == null ? true : isArray(tmp_11)) ? tmp_11 : null;
3535
- var tmp_12;
3536
- if (tmp6_safe_receiver == null) {
3537
- tmp_12 = null;
3538
- } else {
3539
- // Inline function 'kotlin.collections.onEach' call
3540
- // Inline function 'kotlin.apply' call
3541
- // Inline function 'kotlin.contracts.contract' call
3542
- // Inline function 'kotlin.collections.onEach.<anonymous>' call
3543
- var inductionVariable_2 = 0;
3544
- var last_2 = tmp6_safe_receiver.length;
3545
- while (inductionVariable_2 < last_2) {
3546
- var element_2 = tmp6_safe_receiver[inductionVariable_2];
3547
- inductionVariable_2 = inductionVariable_2 + 1 | 0;
3548
- // Inline function 'GameHelperImpl.prepareConfigObjectInternal.<anonymous>' call
3549
- validateRulesSetType($this, element_2);
3550
- }
3551
- tmp_12 = tmp6_safe_receiver;
3552
- }
3553
- var tmp7_safe_receiver = tmp_12;
3554
- var tmp_13;
3555
- if (tmp7_safe_receiver == null) {
3556
- tmp_13 = null;
3557
- } else {
3558
- // Inline function 'kotlin.takeIf' call
3559
- // Inline function 'kotlin.contracts.contract' call
3560
- var tmp_14;
3561
- // Inline function 'GameHelperImpl.prepareConfigObjectInternal.<anonymous>' call
3562
- // Inline function 'kotlin.collections.isNotEmpty' call
3563
- // Inline function 'kotlin.collections.isEmpty' call
3564
- if (!(tmp7_safe_receiver.length === 0)) {
3565
- tmp_14 = tmp7_safe_receiver;
3566
- } else {
3567
- tmp_14 = null;
3568
- }
3569
- tmp_13 = tmp_14;
3570
- }
3571
- var rulesPreset = tmp_13;
3572
- var tmp_15 = map.g2('isChatEnabled');
3573
- var isChatEnabled = (!(tmp_15 == null) ? typeof tmp_15 === 'boolean' : false) ? tmp_15 : null;
3574
- var tmp_16;
3575
- if (players == null) {
3576
- // Inline function 'kotlin.arrayOf' call
3577
- // Inline function 'kotlin.js.unsafeCast' call
3578
- // Inline function 'kotlin.js.asDynamic' call
3579
- tmp_16 = [2, 3, 4, 5];
3580
- } else {
3581
- tmp_16 = players;
3582
- }
3583
- jsObject['players'] = tmp_16;
3584
- var tmp_17;
3585
- if (points == null) {
3586
- // Inline function 'kotlin.arrayOf' call
3587
- // Inline function 'kotlin.js.unsafeCast' call
3588
- // Inline function 'kotlin.js.asDynamic' call
3589
- tmp_17 = [301, 501, 1001];
3590
- } else {
3591
- tmp_17 = points;
3592
- }
3593
- jsObject['points'] = tmp_17;
3594
- var tmp_18;
3595
- if (timeoutTime == null) {
3596
- // Inline function 'kotlin.arrayOf' call
3597
- // Inline function 'kotlin.js.unsafeCast' call
3598
- // Inline function 'kotlin.js.asDynamic' call
3599
- tmp_18 = [15, 30, 45];
3600
- } else {
3601
- tmp_18 = timeoutTime;
3602
- }
3603
- jsObject['timeoutTime'] = tmp_18;
3604
- var tmp_19;
3605
- if (rulesPreset == null) {
3606
- // Inline function 'kotlin.collections.toTypedArray' call
3607
- // Inline function 'kotlin.collections.map' call
3608
- var this_0 = get_entries();
3609
- // Inline function 'kotlin.collections.mapTo' call
3610
- var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
3611
- var tmp0_iterator = this_0.j();
3612
- while (tmp0_iterator.k()) {
3613
- var item = tmp0_iterator.l();
3614
- // Inline function 'GameHelperImpl.prepareConfigObjectInternal.<anonymous>' call
3615
- var tmp$ret$33 = item.m2_1;
3616
- destination.e(tmp$ret$33);
3617
- }
3618
- tmp_19 = copyToArray(destination);
3619
- } else {
3620
- tmp_19 = rulesPreset;
3621
- }
3622
- jsObject['rulesPreset'] = tmp_19;
3623
- jsObject['isChatEnabled'] = isChatEnabled;
3624
- return jsObject;
3625
- }
3626
- function validateTimeoutTime($this, timeoutTime) {
3627
- if (!listOf([15, 30, 45]).s1(timeoutTime)) {
3628
- throw IllegalStateException_init_$Create$("Time out time allowed: 20, 40, 60, but it's " + timeoutTime);
3629
- }
3630
- }
3631
- function validatePlayers($this, players) {
3632
- // Inline function 'kotlin.collections.map' call
3633
- var this_0 = get_entries_0();
3634
- // Inline function 'kotlin.collections.mapTo' call
3635
- var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
3636
- var tmp0_iterator = this_0.j();
3637
- while (tmp0_iterator.k()) {
3638
- var item = tmp0_iterator.l();
3639
- // Inline function 'GameHelperImpl.validatePlayers.<anonymous>' call
3640
- var tmp$ret$0 = item.value;
3641
- destination.e(tmp$ret$0);
3642
- }
3643
- if (!destination.s1(players)) {
3644
- throw IllegalStateException_init_$Create$('Not valid players mode ' + players);
3645
- }
3646
- }
3647
- function validatePoints($this, points) {
3648
- // Inline function 'kotlin.collections.map' call
3649
- var this_0 = get_entries_1();
3650
- // Inline function 'kotlin.collections.mapTo' call
3651
- var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
3652
- var tmp0_iterator = this_0.j();
3653
- while (tmp0_iterator.k()) {
3654
- var item = tmp0_iterator.l();
3655
- // Inline function 'GameHelperImpl.validatePoints.<anonymous>' call
3656
- var tmp$ret$0 = item.value;
3657
- destination.e(tmp$ret$0);
3658
- }
3659
- if (!destination.s1(points)) {
3660
- throw IllegalStateException_init_$Create$('Not valid points mode ' + points);
3661
- }
3662
- }
3663
- function validateRulesSetType($this, rulesSetType) {
3664
- // Inline function 'kotlin.collections.map' call
3665
- var this_0 = get_entries();
3666
- // Inline function 'kotlin.collections.mapTo' call
3667
- var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
3668
- var tmp0_iterator = this_0.j();
3669
- while (tmp0_iterator.k()) {
3670
- var item = tmp0_iterator.l();
3671
- // Inline function 'GameHelperImpl.validateRulesSetType.<anonymous>' call
3672
- var tmp$ret$0 = item.m2_1;
3673
- destination.e(tmp$ret$0);
3674
- }
3675
- if (!destination.s1(rulesSetType)) {
3676
- throw IllegalStateException_init_$Create$('Not valid rulesSetType mode ' + rulesSetType);
3677
- }
3678
- }
3679
- function validateLimit($this, limit) {
3680
- if (limit < 20) {
3681
- throw IllegalStateException_init_$Create$('Limit should be bigger then 20');
3682
- }
3683
- }
3684
- function validateRules($this, rules) {
3685
- if (rules != null && rules != undefined) {
3686
- $this.mapRules(rules);
3687
- }
3688
- }
3689
- function GameHelperImpl() {
3690
- }
3691
- protoOf(GameHelperImpl).filterLivePlayers = function (store, playerIds) {
3692
- var state = store.state;
3693
- var tmp;
3694
- if (!state.g6x()) {
3695
- tmp = true;
3696
- } else {
3697
- // Inline function 'kotlin.collections.isEmpty' call
3698
- tmp = playerIds.length === 0;
3699
- }
3700
- if (tmp) {
3701
- return playerIds;
3702
- }
3703
- var players = state.f6x().players;
3704
- // Inline function 'kotlin.collections.toTypedArray' call
3705
- // Inline function 'kotlin.collections.map' call
3706
- // Inline function 'kotlin.collections.filter' call
3707
- // Inline function 'kotlin.collections.map' call
3708
- // Inline function 'kotlin.collections.mapTo' call
3709
- var destination = ArrayList_init_$Create$_0(playerIds.length);
3710
- var inductionVariable = 0;
3711
- var last = playerIds.length;
3712
- while (inductionVariable < last) {
3713
- var item = playerIds[inductionVariable];
3714
- inductionVariable = inductionVariable + 1 | 0;
3715
- // Inline function 'GameHelperImpl.filterLivePlayers.<anonymous>' call
3716
- var tmp$ret$1 = getPlayer(players, item);
3717
- destination.e(tmp$ret$1);
3718
- }
3719
- // Inline function 'kotlin.collections.filterTo' call
3720
- var destination_0 = ArrayList_init_$Create$();
3721
- var tmp0_iterator = destination.j();
3722
- while (tmp0_iterator.k()) {
3723
- var element = tmp0_iterator.l();
3724
- // Inline function 'GameHelperImpl.filterLivePlayers.<anonymous>' call
3725
- if (element.t73_1.a6h().r6f_1.isLive) {
3726
- destination_0.e(element);
3727
- }
3728
- }
3729
- // Inline function 'kotlin.collections.mapTo' call
3730
- var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination_0, 10));
3731
- var tmp0_iterator_0 = destination_0.j();
3732
- while (tmp0_iterator_0.k()) {
3733
- var item_0 = tmp0_iterator_0.l();
3734
- // Inline function 'GameHelperImpl.filterLivePlayers.<anonymous>' call
3735
- var tmp$ret$7 = item_0.playerId;
3736
- destination_1.e(tmp$ret$7);
3737
- }
3738
- return copyToArray(destination_1);
3739
- };
3740
- protoOf(GameHelperImpl).filterLiveDuringGamePlayers = function (store, playerIds) {
3741
- var state = store.state;
3742
- var tmp;
3743
- if (!state.g6x()) {
3744
- tmp = true;
3745
- } else {
3746
- // Inline function 'kotlin.collections.isEmpty' call
3747
- tmp = playerIds.length === 0;
3748
- }
3749
- if (tmp) {
3750
- return playerIds;
3751
- }
3752
- var players = state.f6x().players;
3753
- // Inline function 'kotlin.collections.toTypedArray' call
3754
- // Inline function 'kotlin.collections.map' call
3755
- // Inline function 'kotlin.collections.filter' call
3756
- // Inline function 'kotlin.collections.map' call
3757
- // Inline function 'kotlin.collections.mapTo' call
3758
- var destination = ArrayList_init_$Create$_0(playerIds.length);
3759
- var inductionVariable = 0;
3760
- var last = playerIds.length;
3761
- while (inductionVariable < last) {
3762
- var item = playerIds[inductionVariable];
3763
- inductionVariable = inductionVariable + 1 | 0;
3764
- // Inline function 'GameHelperImpl.filterLiveDuringGamePlayers.<anonymous>' call
3765
- var tmp$ret$1 = getPlayer(players, item);
3766
- destination.e(tmp$ret$1);
3767
- }
3768
- // Inline function 'kotlin.collections.filterTo' call
3769
- var destination_0 = ArrayList_init_$Create$();
3770
- var tmp0_iterator = destination.j();
3771
- while (tmp0_iterator.k()) {
3772
- var element = tmp0_iterator.l();
3773
- // Inline function 'GameHelperImpl.filterLiveDuringGamePlayers.<anonymous>' call
3774
- if (element.t73_1.a6h().c6g(state.f6x().gameDuration)) {
3775
- destination_0.e(element);
3776
- }
3777
- }
3778
- // Inline function 'kotlin.collections.mapTo' call
3779
- var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination_0, 10));
3780
- var tmp0_iterator_0 = destination_0.j();
3781
- while (tmp0_iterator_0.k()) {
3782
- var item_0 = tmp0_iterator_0.l();
3783
- // Inline function 'GameHelperImpl.filterLiveDuringGamePlayers.<anonymous>' call
3784
- var tmp$ret$7 = item_0.playerId;
3785
- destination_1.e(tmp$ret$7);
3786
- }
3787
- return copyToArray(destination_1);
3788
- };
3789
- protoOf(GameHelperImpl).filterBotPlayers = function (store, playerIds) {
3790
- var state = store.state;
3791
- var tmp;
3792
- if (!state.g6x()) {
3793
- tmp = true;
3794
- } else {
3795
- // Inline function 'kotlin.collections.isEmpty' call
3796
- tmp = playerIds.length === 0;
3797
- }
3798
- if (tmp) {
3799
- return playerIds;
3800
- }
3801
- var players = state.f6x().players;
3802
- // Inline function 'kotlin.collections.toTypedArray' call
3803
- // Inline function 'kotlin.collections.map' call
3804
- // Inline function 'kotlin.collections.filter' call
3805
- // Inline function 'kotlin.collections.map' call
3806
- // Inline function 'kotlin.collections.mapTo' call
3807
- var destination = ArrayList_init_$Create$_0(playerIds.length);
3808
- var inductionVariable = 0;
3809
- var last = playerIds.length;
3810
- while (inductionVariable < last) {
3811
- var item = playerIds[inductionVariable];
3812
- inductionVariable = inductionVariable + 1 | 0;
3813
- // Inline function 'GameHelperImpl.filterBotPlayers.<anonymous>' call
3814
- var tmp$ret$1 = getPlayer(players, item);
3815
- destination.e(tmp$ret$1);
3816
- }
3817
- // Inline function 'kotlin.collections.filterTo' call
3818
- var destination_0 = ArrayList_init_$Create$();
3819
- var tmp0_iterator = destination.j();
3820
- while (tmp0_iterator.k()) {
3821
- var element = tmp0_iterator.l();
3822
- // Inline function 'GameHelperImpl.filterBotPlayers.<anonymous>' call
3823
- if (element.s73_1.isBot) {
3824
- destination_0.e(element);
3825
- }
3826
- }
3827
- // Inline function 'kotlin.collections.mapTo' call
3828
- var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination_0, 10));
3829
- var tmp0_iterator_0 = destination_0.j();
3830
- while (tmp0_iterator_0.k()) {
3831
- var item_0 = tmp0_iterator_0.l();
3832
- // Inline function 'GameHelperImpl.filterBotPlayers.<anonymous>' call
3833
- var tmp$ret$7 = item_0.playerId;
3834
- destination_1.e(tmp$ret$7);
3835
- }
3836
- return copyToArray(destination_1);
3837
- };
3838
- protoOf(GameHelperImpl).filterRealPlayers = function (store, playerIds) {
3839
- var state = store.state;
3840
- var tmp;
3841
- if (!state.g6x()) {
3842
- tmp = true;
3843
- } else {
3844
- // Inline function 'kotlin.collections.isEmpty' call
3845
- tmp = playerIds.length === 0;
3846
- }
3847
- if (tmp) {
3848
- return playerIds;
3849
- }
3850
- var players = state.f6x().players;
3851
- // Inline function 'kotlin.collections.toTypedArray' call
3852
- // Inline function 'kotlin.collections.map' call
3853
- // Inline function 'kotlin.collections.filter' call
3854
- // Inline function 'kotlin.collections.map' call
3855
- // Inline function 'kotlin.collections.mapTo' call
3856
- var destination = ArrayList_init_$Create$_0(playerIds.length);
3857
- var inductionVariable = 0;
3858
- var last = playerIds.length;
3859
- while (inductionVariable < last) {
3860
- var item = playerIds[inductionVariable];
3861
- inductionVariable = inductionVariable + 1 | 0;
3862
- // Inline function 'GameHelperImpl.filterRealPlayers.<anonymous>' call
3863
- var tmp$ret$1 = getPlayer(players, item);
3864
- destination.e(tmp$ret$1);
3865
- }
3866
- // Inline function 'kotlin.collections.filterTo' call
3867
- var destination_0 = ArrayList_init_$Create$();
3868
- var tmp0_iterator = destination.j();
3869
- while (tmp0_iterator.k()) {
3870
- var element = tmp0_iterator.l();
3871
- // Inline function 'GameHelperImpl.filterRealPlayers.<anonymous>' call
3872
- if (!element.s73_1.isBot) {
3873
- destination_0.e(element);
3874
- }
3875
- }
3876
- // Inline function 'kotlin.collections.mapTo' call
3877
- var destination_1 = ArrayList_init_$Create$_0(collectionSizeOrDefault(destination_0, 10));
3878
- var tmp0_iterator_0 = destination_0.j();
3879
- while (tmp0_iterator_0.k()) {
3880
- var item_0 = tmp0_iterator_0.l();
3881
- // Inline function 'GameHelperImpl.filterRealPlayers.<anonymous>' call
3882
- var tmp$ret$7 = item_0.playerId;
3883
- destination_1.e(tmp$ret$7);
3884
- }
3885
- return copyToArray(destination_1);
3886
- };
3887
- protoOf(GameHelperImpl).getUserSocketId = function (store, playerId) {
3888
- var state = store.state;
3889
- if (!state.g6x()) {
3890
- return null;
3891
- }
3892
- var tmp0_safe_receiver = getUserProfilePayloadOrNull(getPlayer(state.f6x().players, playerId).s73_1);
3893
- return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.socketId;
3894
- };
3895
- protoOf(GameHelperImpl).getUserSocketIds = function (store) {
3896
- var state = store.state;
3897
- if (!state.g6x()) {
3898
- return null;
3899
- }
3900
- // Inline function 'kotlin.collections.toTypedArray' call
3901
- // Inline function 'kotlin.collections.mapNotNull' call
3902
- // Inline function 'kotlin.collections.mapNotNullTo' call
3903
- var this_0 = state.f6x().players;
3904
- var destination = ArrayList_init_$Create$();
3905
- // Inline function 'kotlin.collections.forEach' call
3906
- var tmp0_iterator = this_0.j();
3907
- while (tmp0_iterator.k()) {
3908
- var element = tmp0_iterator.l();
3909
- // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
3910
- // Inline function 'GameHelperImpl.getUserSocketIds.<anonymous>' call
3911
- var tmp0_safe_receiver = getUserProfilePayloadOrNull(element.s73_1);
3912
- var tmp0_safe_receiver_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.socketId;
3913
- if (tmp0_safe_receiver_0 == null)
3914
- null;
3915
- else {
3916
- // Inline function 'kotlin.let' call
3917
- // Inline function 'kotlin.contracts.contract' call
3918
- destination.e(tmp0_safe_receiver_0);
3919
- }
3920
- }
3921
- return copyToArray(destination);
3922
- };
3923
- protoOf(GameHelperImpl).createConfig = function (points, players, timeoutTimeMillis, rulesSetType, rules, isEnableChat, isBotsEnabled, isPrivate) {
3924
- var options = Companion_instance_3.getServerOptions(isEnableChat, isBotsEnabled, true);
3925
- var playersMode = this.mapPlayers(players);
3926
- var pointsMode = this.mapPoints(points);
3927
- var tmp;
3928
- if (rules == null || rules == undefined) {
3929
- tmp = this.getRulesByType(rulesSetType);
3930
- } else {
3931
- tmp = this.mapRules(rules);
3932
- }
3933
- var internalRules = tmp;
3934
- return new Config(internalRules, rulesSetType, options, playersMode, pointsMode, timeoutTimeMillis, isPrivate);
3935
- };
3936
- protoOf(GameHelperImpl).mapToRoomConfig = function (config) {
3937
- return mapToRoom(config);
3938
- };
3939
- protoOf(GameHelperImpl).mapPoints = function (points) {
3940
- var tmp;
3941
- switch (points) {
3942
- case 301:
3943
- tmp = PointsMode_SMALL_getInstance();
3944
- break;
3945
- case 501:
3946
- tmp = PointsMode_MEDIUM_getInstance();
3947
- break;
3948
- case 1001:
3949
- tmp = PointsMode_BIG_getInstance();
3950
- break;
3951
- case 10:
3952
- tmp = PointsMode_TEST_getInstance();
3953
- break;
3954
- default:
3955
- throw IllegalStateException_init_$Create$("mapPoints: can't support this type " + points);
3956
- }
3957
- return tmp;
3958
- };
3959
- protoOf(GameHelperImpl).mapPlayers = function (players) {
3960
- var tmp;
3961
- switch (players) {
3962
- case 2:
3963
- tmp = PlayersMode_TWO_PLAYERS_getInstance();
3964
- break;
3965
- case 3:
3966
- tmp = PlayersMode_THREE_PLAYERS_getInstance();
3967
- break;
3968
- case 4:
3969
- tmp = PlayersMode_FOUR_PLAYERS_getInstance();
3970
- break;
3971
- case 5:
3972
- tmp = PlayersMode_FOUR_PLAYERS_BY_TEAM_getInstance();
3973
- break;
3974
- default:
3975
- throw IllegalStateException_init_$Create$("mapPoints: can't support this type " + players);
3976
- }
3977
- return tmp;
3978
- };
3979
- protoOf(GameHelperImpl).mapRules = function (rules) {
3980
- if (rules instanceof Rules) {
3981
- return rules instanceof Rules ? rules : THROW_CCE();
3982
- }
3983
- var map = mapOfObject(rules);
3984
- var tmp = map.g2('needToPutHigherTrump');
3985
- var tmp0_elvis_lhs = (!(tmp == null) ? typeof tmp === 'boolean' : false) ? tmp : null;
3986
- var tmp31_needToPutHigherTrump = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
3987
- var tmp_0 = map.g2('playerWhoChooseSuitGoFirst');
3988
- var tmp1_elvis_lhs = (!(tmp_0 == null) ? typeof tmp_0 === 'boolean' : false) ? tmp_0 : null;
3989
- var tmp32_playerWhoChooseSuitGoFirst = tmp1_elvis_lhs == null ? false : tmp1_elvis_lhs;
3990
- var tmp_1 = map.g2('winnerShuffleCards');
3991
- var tmp2_elvis_lhs = (!(tmp_1 == null) ? typeof tmp_1 === 'boolean' : false) ? tmp_1 : null;
3992
- var tmp33_winnerShuffleCards = tmp2_elvis_lhs == null ? false : tmp2_elvis_lhs;
3993
- var tmp_2 = map.g2('playWithoutLiabilities');
3994
- var tmp3_elvis_lhs = (!(tmp_2 == null) ? typeof tmp_2 === 'boolean' : false) ? tmp_2 : null;
3995
- var tmp34_playWithoutLiabilities = tmp3_elvis_lhs == null ? false : tmp3_elvis_lhs;
3996
- var tmp_3 = map.g2('trumpCardGoToPlayerWhoShuffleCards');
3997
- var tmp4_elvis_lhs = (!(tmp_3 == null) ? typeof tmp_3 === 'boolean' : false) ? tmp_3 : null;
3998
- var tmp35_trumpCardGoToPlayerWhoShuffleCards = tmp4_elvis_lhs == null ? false : tmp4_elvis_lhs;
3999
- var tmp_4 = map.g2('dealerCounterClockwise');
4000
- var tmp5_elvis_lhs = (!(tmp_4 == null) ? typeof tmp_4 === 'boolean' : false) ? tmp_4 : null;
4001
- var tmp36_dealerCounterClockwise = tmp5_elvis_lhs == null ? false : tmp5_elvis_lhs;
4002
- var tmp_5 = map.g2('dealerInitialCardsCount');
4003
- var tmp6_elvis_lhs = (!(tmp_5 == null) ? typeof tmp_5 === 'number' : false) ? tmp_5 : null;
4004
- var tmp37_dealerInitialCardsCount = tmp6_elvis_lhs == null ? 6 : tmp6_elvis_lhs;
4005
- var tmp_6 = map.g2('dealerFinalCardsCount');
4006
- var tmp7_elvis_lhs = (!(tmp_6 == null) ? typeof tmp_6 === 'number' : false) ? tmp_6 : null;
4007
- var tmp38_dealerFinalCardsCount = tmp7_elvis_lhs == null ? 9 : tmp7_elvis_lhs;
4008
- var tmp_7 = map.g2('contractTypes');
4009
- var tmp8_safe_receiver = (!(tmp_7 == null) ? isArray(tmp_7) : false) ? tmp_7 : null;
4010
- var tmp_8;
4011
- if (tmp8_safe_receiver == null) {
4012
- tmp_8 = null;
4013
- } else {
4014
- // Inline function 'kotlin.collections.map' call
4015
- // Inline function 'kotlin.collections.mapTo' call
4016
- var destination = ArrayList_init_$Create$_0(tmp8_safe_receiver.length);
4017
- var inductionVariable = 0;
4018
- var last = tmp8_safe_receiver.length;
4019
- while (inductionVariable < last) {
4020
- var item = tmp8_safe_receiver[inductionVariable];
4021
- inductionVariable = inductionVariable + 1 | 0;
4022
- // Inline function 'GameHelperImpl.mapRules.<anonymous>' call
4023
- var tmp$ret$0 = toRoundContractType(item);
4024
- destination.e(tmp$ret$0);
4025
- }
4026
- tmp_8 = destination;
4027
- }
4028
- var tmp9_safe_receiver = tmp_8;
4029
- var tmp_9;
4030
- if (tmp9_safe_receiver == null) {
4031
- tmp_9 = null;
4032
- } else {
4033
- // Inline function 'kotlin.collections.toTypedArray' call
4034
- tmp_9 = copyToArray(tmp9_safe_receiver);
4035
- }
4036
- var tmp10_elvis_lhs = tmp_9;
4037
- var tmp_10;
4038
- if (tmp10_elvis_lhs == null) {
4039
- // Inline function 'kotlin.collections.toTypedArray' call
4040
- var this_0 = Companion_getInstance_0().debertzContractTypes;
4041
- tmp_10 = copyToArray(this_0);
4042
- } else {
4043
- tmp_10 = tmp10_elvis_lhs;
4044
- }
4045
- var tmp39_contractTypes = tmp_10;
4046
- var tmp_11 = map.g2('bidTypes');
4047
- var tmp11_safe_receiver = (!(tmp_11 == null) ? isArray(tmp_11) : false) ? tmp_11 : null;
4048
- var tmp_12;
4049
- if (tmp11_safe_receiver == null) {
4050
- tmp_12 = null;
4051
- } else {
4052
- // Inline function 'kotlin.collections.map' call
4053
- // Inline function 'kotlin.collections.mapTo' call
4054
- var destination_0 = ArrayList_init_$Create$_0(tmp11_safe_receiver.length);
4055
- var inductionVariable_0 = 0;
4056
- var last_0 = tmp11_safe_receiver.length;
4057
- while (inductionVariable_0 < last_0) {
4058
- var item_0 = tmp11_safe_receiver[inductionVariable_0];
4059
- inductionVariable_0 = inductionVariable_0 + 1 | 0;
4060
- // Inline function 'GameHelperImpl.mapRules.<anonymous>' call
4061
- var tmp$ret$5 = toBidType(item_0);
4062
- destination_0.e(tmp$ret$5);
4063
- }
4064
- tmp_12 = destination_0;
4065
- }
4066
- var tmp12_safe_receiver = tmp_12;
4067
- var tmp_13;
4068
- if (tmp12_safe_receiver == null) {
4069
- tmp_13 = null;
4070
- } else {
4071
- // Inline function 'kotlin.collections.toTypedArray' call
4072
- tmp_13 = copyToArray(tmp12_safe_receiver);
4073
- }
4074
- var tmp13_elvis_lhs = tmp_13;
4075
- var tmp_14;
4076
- if (tmp13_elvis_lhs == null) {
4077
- // Inline function 'kotlin.emptyArray' call
4078
- tmp_14 = [];
4079
- } else {
4080
- tmp_14 = tmp13_elvis_lhs;
4081
- }
4082
- var tmp40_bidTypes = tmp_14;
4083
- var tmp_15 = map.g2('combinationsWithFirstCard');
4084
- var tmp14_safe_receiver = (!(tmp_15 == null) ? isArray(tmp_15) : false) ? tmp_15 : null;
4085
- var tmp_16;
4086
- if (tmp14_safe_receiver == null) {
4087
- tmp_16 = null;
4088
- } else {
4089
- // Inline function 'kotlin.collections.map' call
4090
- // Inline function 'kotlin.collections.mapTo' call
4091
- var destination_1 = ArrayList_init_$Create$_0(tmp14_safe_receiver.length);
4092
- var inductionVariable_1 = 0;
4093
- var last_1 = tmp14_safe_receiver.length;
4094
- while (inductionVariable_1 < last_1) {
4095
- var item_1 = tmp14_safe_receiver[inductionVariable_1];
4096
- inductionVariable_1 = inductionVariable_1 + 1 | 0;
4097
- // Inline function 'GameHelperImpl.mapRules.<anonymous>' call
4098
- var tmp$ret$10 = mapToCombinationType(item_1);
4099
- destination_1.e(tmp$ret$10);
4100
- }
4101
- tmp_16 = destination_1;
4102
- }
4103
- var tmp15_safe_receiver = tmp_16;
4104
- var tmp_17;
4105
- if (tmp15_safe_receiver == null) {
4106
- tmp_17 = null;
4107
- } else {
4108
- // Inline function 'kotlin.collections.toTypedArray' call
4109
- tmp_17 = copyToArray(tmp15_safe_receiver);
4110
- }
4111
- var tmp16_elvis_lhs = tmp_17;
4112
- var tmp_18;
4113
- if (tmp16_elvis_lhs == null) {
4114
- // Inline function 'kotlin.collections.toTypedArray' call
4115
- var this_1 = Companion_getInstance_1().debertzWithFirstCardCombinations;
4116
- tmp_18 = copyToArray(this_1);
4117
- } else {
4118
- tmp_18 = tmp16_elvis_lhs;
4119
- }
4120
- var tmp41_combinationsWithFirstCard = tmp_18;
4121
- var tmp_19 = map.g2('protectBella');
4122
- var tmp17_elvis_lhs = (!(tmp_19 == null) ? typeof tmp_19 === 'boolean' : false) ? tmp_19 : null;
4123
- var tmp42_protectBella = tmp17_elvis_lhs == null ? false : tmp17_elvis_lhs;
4124
- var tmp_20 = map.g2('oneTryToProtectBella');
4125
- var tmp18_elvis_lhs = (!(tmp_20 == null) ? typeof tmp_20 === 'boolean' : false) ? tmp_20 : null;
4126
- var tmp43_oneTryToProtectBella = tmp18_elvis_lhs == null ? false : tmp18_elvis_lhs;
4127
- var tmp_21 = map.g2('enableFourSevensCombination');
4128
- var tmp19_elvis_lhs = (!(tmp_21 == null) ? typeof tmp_21 === 'boolean' : false) ? tmp_21 : null;
4129
- var tmp44_enableFourSevensCombination = tmp19_elvis_lhs == null ? false : tmp19_elvis_lhs;
4130
- var tmp_22 = map.g2('enableTrumpSevenCombination');
4131
- var tmp20_elvis_lhs = (!(tmp_22 == null) ? typeof tmp_22 === 'boolean' : false) ? tmp_22 : null;
4132
- var tmp45_enableTrumpSevenCombination = tmp20_elvis_lhs == null ? false : tmp20_elvis_lhs;
4133
- var tmp_23 = map.g2('enableTrumpSevenCombinationAfterDistribution');
4134
- var tmp21_elvis_lhs = (!(tmp_23 == null) ? typeof tmp_23 === 'boolean' : false) ? tmp_23 : null;
4135
- var tmp46_enableTrumpSevenCombinationAfterDistribution = tmp21_elvis_lhs == null ? false : tmp21_elvis_lhs;
4136
- var tmp_24 = map.g2('checkTrumpCombination');
4137
- var tmp22_elvis_lhs = (!(tmp_24 == null) ? typeof tmp_24 === 'boolean' : false) ? tmp_24 : null;
4138
- var tmp47_checkTrumpCombination = tmp22_elvis_lhs == null ? false : tmp22_elvis_lhs;
4139
- var tmp_25 = map.g2('checkOnlyTrumpDebertz');
4140
- var tmp23_elvis_lhs = (!(tmp_25 == null) ? typeof tmp_25 === 'boolean' : false) ? tmp_25 : null;
4141
- var tmp48_checkOnlyTrumpDebertz = tmp23_elvis_lhs == null ? false : tmp23_elvis_lhs;
4142
- var tmp_26 = map.g2('distributePoints');
4143
- var tmp24_elvis_lhs = (!(tmp_26 == null) ? typeof tmp_26 === 'boolean' : false) ? tmp_26 : null;
4144
- var tmp49_distributePoints = tmp24_elvis_lhs == null ? false : tmp24_elvis_lhs;
4145
- var tmp_27 = map.g2('pointsDistributeMode');
4146
- var tmp25_safe_receiver = (!(tmp_27 == null) ? typeof tmp_27 === 'string' : false) ? tmp_27 : null;
4147
- var tmp26_elvis_lhs = tmp25_safe_receiver == null ? null : toPointsDistributeMode(tmp25_safe_receiver);
4148
- var tmp_28;
4149
- if (tmp26_elvis_lhs == null) {
4150
- var tmp_29;
4151
- var tmp_30 = map.g2('distributePoints');
4152
- if (((!(tmp_30 == null) ? typeof tmp_30 === 'boolean' : false) ? tmp_30 : null) === true) {
4153
- tmp_29 = PointsDistributeMode_ALL_getInstance();
4154
- } else {
4155
- tmp_29 = PointsDistributeMode_HIGHEST_PLAYER_getInstance();
4156
- }
4157
- tmp_28 = tmp_29;
4158
- } else {
4159
- tmp_28 = tmp26_elvis_lhs;
4160
- }
4161
- var tmp50_pointsDistributeMode = tmp_28;
4162
- var tmp_31 = map.g2('enableFineIfNoBribes');
4163
- var tmp27_elvis_lhs = (!(tmp_31 == null) ? typeof tmp_31 === 'boolean' : false) ? tmp_31 : null;
4164
- var tmp51_enableFineIfNoBribes = tmp27_elvis_lhs == null ? false : tmp27_elvis_lhs;
4165
- var tmp_32 = map.g2('fineIfNoBribes');
4166
- var tmp28_elvis_lhs = (!(tmp_32 == null) ? typeof tmp_32 === 'number' : false) ? tmp_32 : null;
4167
- var tmp52_fineIfNoBribes = tmp28_elvis_lhs == null ? 50 : tmp28_elvis_lhs;
4168
- var tmp_33 = map.g2('enableFineAfterThirdByte');
4169
- var tmp29_elvis_lhs = (!(tmp_33 == null) ? typeof tmp_33 === 'boolean' : false) ? tmp_33 : null;
4170
- var tmp53_enableFineAfterThirdFailedContract = tmp29_elvis_lhs == null ? false : tmp29_elvis_lhs;
4171
- var tmp_34 = map.g2('fineAfterThirdFailedContract');
4172
- var tmp30_elvis_lhs = (!(tmp_34 == null) ? typeof tmp_34 === 'number' : false) ? tmp_34 : null;
4173
- var tmp54_fineAfterThirdFailedContract = tmp30_elvis_lhs == null ? 100 : tmp30_elvis_lhs;
4174
- return new Rules(tmp31_needToPutHigherTrump, tmp32_playerWhoChooseSuitGoFirst, tmp33_winnerShuffleCards, tmp34_playWithoutLiabilities, tmp35_trumpCardGoToPlayerWhoShuffleCards, tmp37_dealerInitialCardsCount, tmp38_dealerFinalCardsCount, tmp36_dealerCounterClockwise, tmp39_contractTypes, tmp40_bidTypes, tmp41_combinationsWithFirstCard, tmp42_protectBella, tmp43_oneTryToProtectBella, tmp44_enableFourSevensCombination, tmp45_enableTrumpSevenCombination, tmp46_enableTrumpSevenCombinationAfterDistribution, tmp47_checkTrumpCombination, tmp48_checkOnlyTrumpDebertz, tmp49_distributePoints, tmp50_pointsDistributeMode, tmp53_enableFineAfterThirdFailedContract, tmp54_fineAfterThirdFailedContract, tmp51_enableFineIfNoBribes, tmp52_fineIfNoBribes);
4175
- };
4176
- protoOf(GameHelperImpl).prepareConfigObjectWithPagination = function (config) {
4177
- var map = mapOfObject(config);
4178
- var tmp = map.g2('limit');
4179
- var tmp0_safe_receiver = (!(tmp == null) ? typeof tmp === 'number' : false) ? tmp : null;
4180
- var tmp_0;
4181
- if (tmp0_safe_receiver == null) {
4182
- tmp_0 = null;
4183
- } else {
4184
- // Inline function 'kotlin.also' call
4185
- // Inline function 'kotlin.contracts.contract' call
4186
- // Inline function 'GameHelperImpl.prepareConfigObjectWithPagination.<anonymous>' call
4187
- validateLimit(this, tmp0_safe_receiver);
4188
- tmp_0 = tmp0_safe_receiver;
4189
- }
4190
- var limit = tmp_0;
4191
- var jsObject = prepareConfigObjectInternal(this, map);
4192
- jsObject['limit'] = limit == null ? 20 : limit;
4193
- return jsObject;
4194
- };
4195
- protoOf(GameHelperImpl).prepareConfigObject = function (config) {
4196
- var map = mapOfObject(config);
4197
- return prepareConfigObjectInternal(this, map);
4198
- };
4199
- protoOf(GameHelperImpl).isValidConfigObject = function (config) {
4200
- var map = mapOfObject(config);
4201
- var rules = map.g2('rules');
4202
- var tmp = getValue(map, 'players');
4203
- var tmp_0 = (!(tmp == null) ? typeof tmp === 'number' : false) ? tmp : THROW_CCE();
4204
- var tmp_1 = getValue(map, 'points');
4205
- var tmp_2 = (!(tmp_1 == null) ? typeof tmp_1 === 'number' : false) ? tmp_1 : THROW_CCE();
4206
- var tmp_3 = getValue(map, 'timeoutTime');
4207
- var tmp_4 = (!(tmp_3 == null) ? typeof tmp_3 === 'number' : false) ? tmp_3 : THROW_CCE();
4208
- var tmp_5 = getValue(map, 'rulesPreset');
4209
- var tmp_6 = (!(tmp_5 == null) ? typeof tmp_5 === 'string' : false) ? tmp_5 : THROW_CCE();
4210
- var tmp_7;
4211
- if (rules != null && rules != undefined) {
4212
- tmp_7 = this.mapRules(rules);
4213
- } else {
4214
- tmp_7 = null;
4215
- }
4216
- return this.isValidConfig(tmp_0, tmp_2, tmp_4, tmp_6, tmp_7);
4217
- };
4218
- protoOf(GameHelperImpl).isValidConfig = function (players, points, timeoutTime, rulesPreset, rules) {
4219
- validatePoints(this, points);
4220
- validatePlayers(this, players);
4221
- validateTimeoutTime(this, timeoutTime);
4222
- validateRulesSetType(this, rulesPreset);
4223
- validateRules(this, rules);
4224
- return true;
4225
- };
4226
- protoOf(GameHelperImpl).getRulesByType = function (rulesSetType) {
4227
- var tmp;
4228
- switch (rulesSetType.n2_1) {
4229
- case 0:
4230
- tmp = Companion_instance_4.belot();
4231
- break;
4232
- case 1:
4233
- tmp = Companion_instance_4.klabor();
4234
- break;
4235
- case 2:
4236
- tmp = Companion_instance_4.debertzCommon();
4237
- break;
4238
- case 3:
4239
- tmp = Companion_instance_4.kharkiv();
4240
- break;
4241
- case 4:
4242
- tmp = Companion_instance_4.saltivka();
4243
- break;
4244
- case 5:
4245
- throw IllegalStateException_init_$Create$("You can't use default custom rule, you need to provide own one");
4246
- default:
4247
- noWhenBranchMatchedException();
4248
- break;
4249
- }
4250
- return tmp;
4251
- };
4252
- protoOf(GameHelperImpl).getRulesByString = function (name) {
4253
- var tmp;
4254
- switch (name) {
4255
- case 'belot':
4256
- tmp = Companion_instance_4.belot();
4257
- break;
4258
- case 'klabor':
4259
- tmp = Companion_instance_4.klabor();
4260
- break;
4261
- case 'debertzCommon':
4262
- tmp = Companion_instance_4.debertzCommon();
4263
- break;
4264
- case 'debertzKharkiv':
4265
- tmp = Companion_instance_4.kharkiv();
4266
- break;
4267
- case 'custom':
4268
- throw IllegalStateException_init_$Create$("You can't use default custom rule, you need to provide own one");
4269
- default:
4270
- throw IllegalStateException_init_$Create$("Can't support this " + name);
4271
- }
4272
- return tmp;
4273
- };
4274
- protoOf(GameHelperImpl).mapRulesSetType = function (name) {
4275
- return valueOf(name);
4276
- };
4277
- function GameResources() {
4278
- }
4279
- var AvatarSet_ORIGIN_instance;
4280
- var AvatarSet_NOSTALGIA_instance;
4281
- function values() {
4282
- return [AvatarSet_ORIGIN_getInstance(), AvatarSet_NOSTALGIA_getInstance()];
4283
- }
4284
- var AvatarSet_entriesInitialized;
4285
- function AvatarSet_initEntries() {
4286
- if (AvatarSet_entriesInitialized)
4287
- return Unit_instance;
4288
- AvatarSet_entriesInitialized = true;
4289
- AvatarSet_ORIGIN_instance = new AvatarSet('ORIGIN', 0);
4290
- AvatarSet_NOSTALGIA_instance = new AvatarSet('NOSTALGIA', 1);
4291
- }
4292
- function getRandomAvatarData($this, existingNicknames) {
4293
- var tries = 0;
4294
- var data = getRandomAvatarData_0($this);
4295
- $l$loop: while (tries < 5) {
4296
- var nickname = getNicknameByIndex($this, data);
4297
- var tmp$ret$1;
4298
- $l$block: {
4299
- // Inline function 'kotlin.collections.none' call
4300
- var inductionVariable = 0;
4301
- var last = existingNicknames.length;
4302
- while (inductionVariable < last) {
4303
- var element = existingNicknames[inductionVariable];
4304
- inductionVariable = inductionVariable + 1 | 0;
4305
- // Inline function 'GameResourcesImpl.getRandomAvatarData.<anonymous>' call
4306
- if (element === nickname) {
4307
- tmp$ret$1 = false;
4308
- break $l$block;
4309
- }
4310
- }
4311
- tmp$ret$1 = true;
4312
- }
4313
- if (tmp$ret$1) {
4314
- break $l$loop;
4315
- }
4316
- data = getRandomAvatarData_0($this);
4317
- tries = tries + 1 | 0;
4318
- }
4319
- return data;
4320
- }
4321
- function getRandomAvatarData_0($this) {
4322
- var avatarSetNumber = Default_getInstance().og(values().length);
4323
- var avatarSet = values()[avatarSetNumber];
4324
- return new AvatarData(Default_getInstance().og(avatarSet.ndd()), avatarSet);
4325
- }
4326
- function getAvatarUrlByIndex($this, data) {
4327
- return mapToPattern($this, data);
4328
- }
4329
- function getNicknameByIndex($this, data) {
4330
- return data.pdd_1.qdd(data.odd_1);
4331
- }
4332
- function mapToPattern($this, data) {
4333
- return 'debertz://raspberry.games/' + data.pdd_1.n2_1 + '/' + data.odd_1;
4334
- }
4335
- function Companion_2() {
4336
- Companion_instance_12 = this;
4337
- this.rdd_1 = 'debertz://raspberry.games';
4338
- var tmp = this;
4339
- // Inline function 'kotlin.arrayOf' call
4340
- // Inline function 'kotlin.js.unsafeCast' call
4341
- // Inline function 'kotlin.js.asDynamic' call
4342
- tmp.sdd_1 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
4343
- var tmp_0 = this;
4344
- // Inline function 'kotlin.arrayOf' call
4345
- // Inline function 'kotlin.js.unsafeCast' call
4346
- // Inline function 'kotlin.js.asDynamic' call
4347
- tmp_0.tdd_1 = ['\u0422\u0430\u043D\u044F', 'TheBest', '\u0425\u0430\u0440\u043A\u0456\u0432\u041C\u0456\u0441\u0442\u043E\u0413\u0435\u0440\u043E\u0439', '\u0412\u0430\u043B\u044F', '\u041C\u0430\u0440\u0433\u0430\u0440\u0438\u0442\u0430', 'Dasha', '\u0410\u0440\u0442\u0435\u043C', '\u041F\u0435\u0442\u0440\u043E\u0432\u0438\u0447', '\u041A\u0440\u0438\u0441', '\u041C\u0430\u0440\u0456\u0430\u043D\u0430', '\u0421\u0430\u043B\u0442\u0456\u0432\u043A\u0430', '\u042F\u043D\u0430', 'Alex', '\u041E\u0434\u0435\u0441\u0441\u0430\u041C\u0430\u043C\u0430', 'Vika', '\u0421\u0432\u0456\u0442\u043B\u0430\u043D\u0430'];
4348
- var tmp_1 = this;
4349
- // Inline function 'kotlin.arrayOf' call
4350
- // Inline function 'kotlin.js.unsafeCast' call
4351
- // Inline function 'kotlin.js.asDynamic' call
4352
- tmp_1.udd_1 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
4353
- var tmp_2 = this;
4354
- // Inline function 'kotlin.arrayOf' call
4355
- // Inline function 'kotlin.js.unsafeCast' call
4356
- // Inline function 'kotlin.js.asDynamic' call
4357
- tmp_2.vdd_1 = ['\u0423\u0441\u0456\u043C\u0414\u043E\u0431\u0440\u0430', '\u0410\u043B\u0435\u043A\u0441', 'MOLOTOK', '\u041B\u042F\u041B\u042F', '\u0406\u0412\u0410\u041D', '\u041C\u0438\u043A\u0438\u0442\u0430', '\u0410\u043B\u0456\u0441\u0430', '\u041C\u0430\u043A\u0441\u0438\u043C', '\u0421\u043E\u043B\u043E\u043C\u0456\u044F', '\u0414\u0436\u0435\u0432\u0435\u043B\u0456\u043D\u0430', '\u041A\u0441\u044E\u0445\u0430', '\u0422\u0410\u0420\u0410\u0421', '\u041E\u043B\u044F', '\u0414\u043E\u0420\u043E\u0431\u043E\u0442\u0438', '\u0421\u043B\u0430\u0432\u0430\u0417\u0421\u0423!', '\u0426\u0430\u0440\u044C\u0414\u0435\u0431\u0430'];
4358
- }
4359
- var Companion_instance_12;
4360
- function Companion_getInstance_5() {
4361
- if (Companion_instance_12 == null)
4362
- new Companion_2();
4363
- return Companion_instance_12;
4364
- }
4365
- function AvatarSet(name, ordinal) {
4366
- Enum.call(this, name, ordinal);
4367
- }
4368
- protoOf(AvatarSet).ndd = function () {
4369
- var tmp;
4370
- switch (this.n2_1) {
4371
- case 0:
4372
- tmp = Companion_getInstance_5().tdd_1.length;
4373
- break;
4374
- case 1:
4375
- tmp = Companion_getInstance_5().vdd_1.length;
4376
- break;
4377
- default:
4378
- noWhenBranchMatchedException();
4379
- break;
4380
- }
4381
- return tmp;
4382
- };
4383
- protoOf(AvatarSet).qdd = function (index) {
4384
- var tmp;
4385
- switch (this.n2_1) {
4386
- case 0:
4387
- tmp = Companion_getInstance_5().tdd_1[index];
4388
- break;
4389
- case 1:
4390
- tmp = Companion_getInstance_5().vdd_1[index];
4391
- break;
4392
- default:
4393
- noWhenBranchMatchedException();
4394
- break;
4395
- }
4396
- return tmp;
4397
- };
4398
- function AvatarData(index, avatarSet) {
4399
- this.odd_1 = index;
4400
- this.pdd_1 = avatarSet;
4401
- }
4402
- function AvatarSet_ORIGIN_getInstance() {
4403
- AvatarSet_initEntries();
4404
- return AvatarSet_ORIGIN_instance;
4405
- }
4406
- function AvatarSet_NOSTALGIA_getInstance() {
4407
- AvatarSet_initEntries();
4408
- return AvatarSet_NOSTALGIA_instance;
4409
- }
4410
- function GameResourcesImpl() {
4411
- Companion_getInstance_5();
4412
- }
4413
- protoOf(GameResourcesImpl).kdd = function (playerId, existingNicknames) {
4414
- var data = getRandomAvatarData(this, existingNicknames);
4415
- return new GameUserInfo(playerId, getNicknameByIndex(this, data), getAvatarUrlByIndex(this, data), true);
4416
- };
4417
- protoOf(GameResourcesImpl).createBotUsers = function (playerIds) {
4418
- // Inline function 'kotlin.collections.mutableListOf' call
4419
- var users = ArrayList_init_$Create$();
4420
- var inductionVariable = 0;
4421
- var last = playerIds.length;
4422
- while (inductionVariable < last) {
4423
- var playerId = playerIds[inductionVariable];
4424
- inductionVariable = inductionVariable + 1 | 0;
4425
- // Inline function 'kotlin.collections.toTypedArray' call
4426
- // Inline function 'kotlin.collections.map' call
4427
- // Inline function 'kotlin.collections.mapTo' call
4428
- var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(users, 10));
4429
- var tmp0_iterator = users.j();
4430
- while (tmp0_iterator.k()) {
4431
- var item = tmp0_iterator.l();
4432
- // Inline function 'GameResourcesImpl.createBotUsers.<anonymous>' call
4433
- var tmp$ret$1 = item.name;
4434
- destination.e(tmp$ret$1);
4435
- }
4436
- var tmp$ret$4 = copyToArray(destination);
4437
- var user = this.createBotUser(playerId, tmp$ret$4);
4438
- users.e(user);
4439
- }
4440
- // Inline function 'kotlin.collections.toTypedArray' call
4441
- return copyToArray(users);
4442
- };
4443
3388
  function GameEngineController() {
4444
3389
  }
4445
3390
  function createGameServerController(loggerCallback, randomOrgConfig) {
@@ -4448,30 +3393,30 @@
4448
3393
  }
4449
3394
  function _get_controllerLogger__nbd727($this) {
4450
3395
  // Inline function 'kotlin.getValue' call
4451
- var this_0 = $this.dde_1;
3396
+ var this_0 = $this.bdf_1;
4452
3397
  controllerLogger$factory();
4453
3398
  return this_0.u();
4454
3399
  }
4455
3400
  function _get_di__ndbzja($this) {
4456
3401
  // Inline function 'kotlin.getValue' call
4457
- var this_0 = $this.ede_1;
3402
+ var this_0 = $this.cdf_1;
4458
3403
  di$factory();
4459
3404
  return this_0.u();
4460
3405
  }
4461
3406
  function createDI($this, combinedLogger, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares, externalModule) {
4462
- var tmp = Companion_instance_5;
3407
+ var tmp = Companion_instance_3;
4463
3408
  return tmp.a62(VOID, GameServerEngineControllerImpl$createDI$lambda(combinedLogger, externalModule, $this, coreConfig, serverConfig, logicConfig, botConfig, dealerConfig, externalReducers, externalMiddlewares));
4464
3409
  }
4465
3410
  function GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this$0) {
4466
3411
  return function () {
4467
3412
  var tmp;
4468
- if (this$0.bde_1 == null) {
3413
+ if (this$0.zde_1 == null) {
4469
3414
  tmp = null;
4470
3415
  } else {
4471
3416
  // Inline function 'kotlin.let' call
4472
3417
  // Inline function 'kotlin.contracts.contract' call
4473
3418
  // Inline function 'GameServerEngineControllerImpl.controllerLogger$delegate.<anonymous>.<anonymous>' call
4474
- tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.bde_1)]));
3419
+ tmp = new CombinedRaspberryLogger(mutableListOf([new LoggerCallbacksWrapperLoggerOutput(this$0.zde_1)]));
4475
3420
  }
4476
3421
  var tmp1_elvis_lhs = tmp;
4477
3422
  return tmp1_elvis_lhs == null ? new PlatformRaspberryLogger() : tmp1_elvis_lhs;
@@ -4499,27 +3444,27 @@
4499
3444
  tmp_0.p65(tmp$ret$3);
4500
3445
  $this$DI.t61(jsonModule());
4501
3446
  $this$DI.t61(serverHelpersModule());
4502
- $this$DI.t61(randomOrgModule(this$0.cde_1));
3447
+ $this$DI.t61(randomOrgModule(this$0.adf_1));
4503
3448
  return Unit_instance;
4504
3449
  };
4505
3450
  }
4506
3451
  function GameServerEngineControllerImpl$di$delegate$lambda(this$0) {
4507
3452
  return function () {
4508
- var tmp = Companion_instance_5;
3453
+ var tmp = Companion_instance_3;
4509
3454
  return tmp.a62(VOID, GameServerEngineControllerImpl$di$delegate$lambda$lambda(this$0));
4510
3455
  };
4511
3456
  }
4512
3457
  function _no_name_provided__qut3iv_4($item) {
4513
- this.kde_1 = $item;
3458
+ this.idf_1 = $item;
4514
3459
  }
4515
3460
  protoOf(_no_name_provided__qut3iv_4).c6o = function (action) {
4516
3461
  return isInterface(action, Action);
4517
3462
  };
4518
- protoOf(_no_name_provided__qut3iv_4).y9j = function (state, action) {
4519
- return this.kde_1(state, isInterface(action, Action) ? action : THROW_CCE());
3463
+ protoOf(_no_name_provided__qut3iv_4).o9k = function (state, action) {
3464
+ return this.idf_1(state, isInterface(action, Action) ? action : THROW_CCE());
4520
3465
  };
4521
3466
  protoOf(_no_name_provided__qut3iv_4).u6p = function (state, action) {
4522
- return this.y9j((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
3467
+ return this.o9k((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
4523
3468
  };
4524
3469
  function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda$lambda($fileLoggerOutput) {
4525
3470
  return function ($this$singleton) {
@@ -4576,7 +3521,7 @@
4576
3521
  }
4577
3522
  function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0($gameServer) {
4578
3523
  return function (it) {
4579
- var tmp0_elvis_lhs = Companion_instance_6.u9o(it);
3524
+ var tmp0_elvis_lhs = Companion_instance_4.k9p(it);
4580
3525
  var tmp;
4581
3526
  if (tmp0_elvis_lhs == null) {
4582
3527
  var tmp1_safe_receiver = $gameServer.x6e().d6w_1;
@@ -4589,7 +3534,7 @@
4589
3534
  }
4590
3535
  function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1($gameServer) {
4591
3536
  return function (it) {
4592
- var tmp0_elvis_lhs = Companion_instance_7.f9n(it);
3537
+ var tmp0_elvis_lhs = Companion_instance_5.v9n(it);
4593
3538
  var tmp;
4594
3539
  if (tmp0_elvis_lhs == null) {
4595
3540
  var tmp1_safe_receiver = $gameServer.x6e().d6w_1;
@@ -4611,7 +3556,7 @@
4611
3556
  // Inline function 'kotlin.contracts.contract' call
4612
3557
  $this$DI.t61(tmp0_safe_receiver);
4613
3558
  }
4614
- $this$DI.t61(dealerModule(this$0.randomPoolProvider, this$0.cde_1));
3559
+ $this$DI.t61(dealerModule(this$0.randomPoolProvider, this$0.adf_1));
4615
3560
  $this$DI.t61(coreModule($coreConfig));
4616
3561
  $this$DI.t61(createGameServerDI($serverConfig, $logicConfig, $botConfig, $dealerConfig, $externalReducers, $externalMiddlewares));
4617
3562
  return Unit_instance;
@@ -4620,76 +3565,76 @@
4620
3565
  function GameServerEngineControllerImpl(loggerCallback, randomOrgConfig, production) {
4621
3566
  loggerCallback = loggerCallback === VOID ? null : loggerCallback;
4622
3567
  production = production === VOID ? true : production;
4623
- this.bde_1 = loggerCallback;
4624
- this.cde_1 = randomOrgConfig;
3568
+ this.zde_1 = loggerCallback;
3569
+ this.adf_1 = randomOrgConfig;
4625
3570
  AppEnvironment_getInstance().l6v(production ? AppEnvironmentValue_PRODUCTION_getInstance() : AppEnvironmentValue_DEVELOPMENT_getInstance());
4626
3571
  var tmp = this;
4627
- tmp.dde_1 = lazy(GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this));
3572
+ tmp.bdf_1 = lazy(GameServerEngineControllerImpl$controllerLogger$delegate$lambda(this));
4628
3573
  var tmp_0 = this;
4629
- tmp_0.ede_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
3574
+ tmp_0.cdf_1 = lazy(GameServerEngineControllerImpl$di$delegate$lambda(this));
4630
3575
  var tmp_1 = this;
4631
3576
  // Inline function 'org.kodein.di.instance' call
4632
3577
  var this_0 = _get_di__ndbzja(this);
4633
3578
  // Inline function 'org.kodein.type.generic' call
4634
3579
  var tmp_2 = typeToken(createKType(getKClass(ParserHelper), arrayOf([]), false));
4635
3580
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
4636
- tmp_1.fde_1 = Instance(this_0, tmp$ret$0, null).m67(this, parser$factory());
3581
+ tmp_1.ddf_1 = Instance(this_0, tmp$ret$0, null).m67(this, parser$factory());
4637
3582
  var tmp_3 = this;
4638
3583
  // Inline function 'org.kodein.di.instance' call
4639
3584
  var this_1 = _get_di__ndbzja(this);
4640
3585
  // Inline function 'org.kodein.type.generic' call
4641
3586
  var tmp_4 = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
4642
3587
  var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
4643
- tmp_3.gde_1 = Instance(this_1, tmp$ret$2, null).m67(this, helper$factory());
3588
+ tmp_3.edf_1 = Instance(this_1, tmp$ret$2, null).m67(this, helper$factory());
4644
3589
  var tmp_5 = this;
4645
3590
  // Inline function 'org.kodein.di.instance' call
4646
3591
  var this_2 = _get_di__ndbzja(this);
4647
3592
  // Inline function 'org.kodein.type.generic' call
4648
3593
  var tmp_6 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
4649
3594
  var tmp$ret$4 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
4650
- tmp_5.hde_1 = Instance(this_2, tmp$ret$4, null).m67(this, resources$factory());
3595
+ tmp_5.fdf_1 = Instance(this_2, tmp$ret$4, null).m67(this, resources$factory());
4651
3596
  var tmp_7 = this;
4652
3597
  // Inline function 'org.kodein.di.instance' call
4653
3598
  var this_3 = _get_di__ndbzja(this);
4654
3599
  // Inline function 'org.kodein.type.generic' call
4655
3600
  var tmp_8 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
4656
3601
  var tmp$ret$6 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
4657
- tmp_7.ide_1 = Instance(this_3, tmp$ret$6, null).m67(this, test$factory());
3602
+ tmp_7.gdf_1 = Instance(this_3, tmp$ret$6, null).m67(this, test$factory());
4658
3603
  var tmp_9 = this;
4659
3604
  // Inline function 'org.kodein.di.instance' call
4660
3605
  var this_4 = _get_di__ndbzja(this);
4661
3606
  // Inline function 'org.kodein.type.generic' call
4662
3607
  var tmp_10 = typeToken(createKType(getKClass(RandomPoolProvider), arrayOf([]), false));
4663
3608
  var tmp$ret$8 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
4664
- tmp_9.jde_1 = Instance(this_4, tmp$ret$8, null).m67(this, randomPoolProvider$factory());
3609
+ tmp_9.hdf_1 = Instance(this_4, tmp$ret$8, null).m67(this, randomPoolProvider$factory());
4665
3610
  }
4666
- protoOf(GameServerEngineControllerImpl).id1 = function () {
3611
+ protoOf(GameServerEngineControllerImpl).rd2 = function () {
4667
3612
  // Inline function 'kotlin.getValue' call
4668
- var this_0 = this.fde_1;
3613
+ var this_0 = this.ddf_1;
4669
3614
  parser$factory_0();
4670
3615
  return this_0.u();
4671
3616
  };
4672
- protoOf(GameServerEngineControllerImpl).xdd = function () {
3617
+ protoOf(GameServerEngineControllerImpl).vde = function () {
4673
3618
  // Inline function 'kotlin.getValue' call
4674
- var this_0 = this.gde_1;
3619
+ var this_0 = this.edf_1;
4675
3620
  helper$factory_0();
4676
3621
  return this_0.u();
4677
3622
  };
4678
- protoOf(GameServerEngineControllerImpl).ydd = function () {
3623
+ protoOf(GameServerEngineControllerImpl).wde = function () {
4679
3624
  // Inline function 'kotlin.getValue' call
4680
- var this_0 = this.hde_1;
3625
+ var this_0 = this.fdf_1;
4681
3626
  resources$factory_0();
4682
3627
  return this_0.u();
4683
3628
  };
4684
- protoOf(GameServerEngineControllerImpl).wdd = function () {
3629
+ protoOf(GameServerEngineControllerImpl).ude = function () {
4685
3630
  // Inline function 'kotlin.getValue' call
4686
- var this_0 = this.ide_1;
3631
+ var this_0 = this.gdf_1;
4687
3632
  test$factory_0();
4688
3633
  return this_0.u();
4689
3634
  };
4690
- protoOf(GameServerEngineControllerImpl).zdd = function () {
3635
+ protoOf(GameServerEngineControllerImpl).xde = function () {
4691
3636
  // Inline function 'kotlin.getValue' call
4692
- var this_0 = this.jde_1;
3637
+ var this_0 = this.hdf_1;
4693
3638
  randomPoolProvider$factory_0();
4694
3639
  return this_0.u();
4695
3640
  };
@@ -4699,8 +3644,8 @@
4699
3644
  protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
4700
3645
  return this.createGameEngineWithLogic();
4701
3646
  };
4702
- protoOf(GameServerEngineControllerImpl).ade = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
4703
- var combinedLogger = Companion_instance_8.qm();
3647
+ protoOf(GameServerEngineControllerImpl).yde = function (reducers, middlewares, serverConfig, logicConfig, dealerConfig, coreConfig) {
3648
+ var combinedLogger = Companion_instance_6.qm();
4704
3649
  var tmp;
4705
3650
  if (coreConfig.fileLogsEnabled) {
4706
3651
  tmp = new FileLoggerOutputImpl();
@@ -4709,8 +3654,8 @@
4709
3654
  }
4710
3655
  var fileLoggerOutput = tmp;
4711
3656
  var tmp_0;
4712
- if (!(this.bde_1 == null)) {
4713
- tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.bde_1));
3657
+ if (!(this.zde_1 == null)) {
3658
+ tmp_0 = new CallbackWrapperLoggerOutput(new LoggerCallbacksWrapperLoggerOutput(this.zde_1));
4714
3659
  } else {
4715
3660
  tmp_0 = null;
4716
3661
  }
@@ -4753,12 +3698,12 @@
4753
3698
  var gameServer = tmp_1.d63(tmp$ret$7, null);
4754
3699
  if (!(fileLoggerOutput == null)) {
4755
3700
  var tmp_3 = fileLoggerOutput;
4756
- tmp_3.j9o_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
3701
+ tmp_3.z9o_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_0(gameServer);
4757
3702
  combinedLogger.sm(fileLoggerOutput);
4758
3703
  }
4759
3704
  if (!(callbackWrapperLoggerOutput == null)) {
4760
3705
  var tmp_4 = callbackWrapperLoggerOutput;
4761
- tmp_4.h9n_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
3706
+ tmp_4.x9n_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda_1(gameServer);
4762
3707
  combinedLogger.sm(callbackWrapperLoggerOutput);
4763
3708
  }
4764
3709
  return gameServer;
@@ -4823,58 +3768,17 @@
4823
3768
  return receiver.randomPoolProvider;
4824
3769
  }, null);
4825
3770
  }
4826
- function mapToRoom(_this__u8e3s4) {
4827
- // Inline function 'kotlin.takeIf' call
4828
- var this_0 = _this__u8e3s4.rules;
4829
- // Inline function 'kotlin.contracts.contract' call
4830
- var tmp;
4831
- // Inline function 'mapToRoom.<anonymous>' call
4832
- if (_this__u8e3s4.rulesSetType.isCustom) {
4833
- tmp = this_0;
4834
- } else {
4835
- tmp = null;
4836
- }
4837
- var tmp0_safe_receiver = tmp;
4838
- var tmp1_rules = tmp0_safe_receiver == null ? null : mapToDto(tmp0_safe_receiver);
4839
- var tmp2_rulesPreset = _this__u8e3s4.rulesSetType.value;
4840
- var tmp3_players = _this__u8e3s4.playersMode.value;
4841
- var tmp4_points = _this__u8e3s4.pointsMode.value;
4842
- var tmp5_timeoutTime = _this__u8e3s4.timeoutTimeMillis / 1000 | 0;
4843
- // Inline function 'kotlin.takeIf' call
4844
- var this_1 = _this__u8e3s4.isPrivate;
4845
- // Inline function 'kotlin.contracts.contract' call
4846
- var tmp_0;
4847
- // Inline function 'mapToRoom.<anonymous>' call
4848
- if (this_1) {
4849
- tmp_0 = this_1;
4850
- } else {
4851
- tmp_0 = null;
4852
- }
4853
- var tmp6_isPrivate = tmp_0;
4854
- // Inline function 'kotlin.takeIf' call
4855
- var this_2 = _this__u8e3s4.options.isEnableChat;
4856
- // Inline function 'kotlin.contracts.contract' call
4857
- var tmp_1;
4858
- // Inline function 'mapToRoom.<anonymous>' call
4859
- if (this_2) {
4860
- tmp_1 = this_2;
4861
- } else {
4862
- tmp_1 = null;
4863
- }
4864
- var tmp7_isChatEnabled = tmp_1;
4865
- return new RoomConfig(tmp3_players, tmp4_points, tmp5_timeoutTime, tmp2_rulesPreset, tmp6_isPrivate, tmp7_isChatEnabled, tmp1_rules);
4866
- }
4867
3771
  function TestHelper() {
4868
3772
  }
4869
3773
  function _get_playerAnswerInteractor__msggz1($this) {
4870
3774
  // Inline function 'kotlin.getValue' call
4871
- var this_0 = $this.nde_1;
3775
+ var this_0 = $this.ldf_1;
4872
3776
  playerAnswerInteractor$factory_0();
4873
3777
  return this_0.u();
4874
3778
  }
4875
3779
  function TestHelperImpl$di$lambda$lambda(this$0) {
4876
3780
  return function ($this$singleton) {
4877
- return this$0.lde_1;
3781
+ return this$0.jdf_1;
4878
3782
  };
4879
3783
  }
4880
3784
  function TestHelperImpl$di$lambda(this$0) {
@@ -4903,20 +3807,20 @@
4903
3807
  return emptyMap();
4904
3808
  }
4905
3809
  function TestHelperImpl(logger) {
4906
- this.lde_1 = logger;
3810
+ this.jdf_1 = logger;
4907
3811
  var tmp = this;
4908
- var tmp_0 = Companion_instance_5;
4909
- tmp.mde_1 = tmp_0.a62(VOID, TestHelperImpl$di$lambda(this));
3812
+ var tmp_0 = Companion_instance_3;
3813
+ tmp.kdf_1 = tmp_0.a62(VOID, TestHelperImpl$di$lambda(this));
4910
3814
  var tmp_1 = this;
4911
3815
  // Inline function 'org.kodein.di.instance' call
4912
- var this_0 = this.mde_1;
3816
+ var this_0 = this.kdf_1;
4913
3817
  // Inline function 'org.kodein.type.generic' call
4914
3818
  var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
4915
3819
  var tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
4916
- tmp_1.nde_1 = Instance(this_0, tmp$ret$0, null).m67(this, playerAnswerInteractor$factory());
3820
+ tmp_1.ldf_1 = Instance(this_0, tmp$ret$0, null).m67(this, playerAnswerInteractor$factory());
4917
3821
  }
4918
3822
  protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
4919
- return _get_playerAnswerInteractor__msggz1(this).o8z(playerId, table, botConfig);
3823
+ return _get_playerAnswerInteractor__msggz1(this).e90(playerId, table, botConfig);
4920
3824
  };
4921
3825
  protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
4922
3826
  var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
@@ -4924,7 +3828,7 @@
4924
3828
  var tmp$ret$0;
4925
3829
  $l$block_0: {
4926
3830
  // Inline function 'kotlin.collections.any' call
4927
- var this_0 = mechanicAction.a9a();
3831
+ var this_0 = mechanicAction.q9a();
4928
3832
  var tmp;
4929
3833
  if (isInterface(this_0, Collection)) {
4930
3834
  tmp = this_0.p();
@@ -4957,7 +3861,7 @@
4957
3861
  var tmp$ret$0;
4958
3862
  $l$block_0: {
4959
3863
  // Inline function 'kotlin.collections.any' call
4960
- var this_0 = action.a9a();
3864
+ var this_0 = action.q9a();
4961
3865
  var tmp;
4962
3866
  if (isInterface(this_0, Collection)) {
4963
3867
  tmp = this_0.p();
@@ -5003,7 +3907,7 @@
5003
3907
  $this$Module.t61(engineHelpersModule());
5004
3908
  // Inline function 'org.kodein.di.bind' call
5005
3909
  // Inline function 'org.kodein.type.generic' call
5006
- var tmp = typeToken(createKType(getKClass(GameHelper), arrayOf([]), false));
3910
+ var tmp = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
5007
3911
  var tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
5008
3912
  var tmp_0 = $this$Module.r61(tmp$ret$0, null, null);
5009
3913
  // Inline function 'org.kodein.di.singleton' call
@@ -5012,46 +3916,13 @@
5012
3916
  var tmp_2 = $this$Module.u61();
5013
3917
  var tmp_3 = $this$Module.v61();
5014
3918
  // Inline function 'org.kodein.type.generic' call
5015
- var tmp_4 = typeToken(createKType(getKClass(GameHelperImpl), arrayOf([]), false));
3919
+ var tmp_4 = typeToken(createKType(getKClass(TestHelperImpl), arrayOf([]), false));
5016
3920
  var tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
5017
3921
  var tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, creator);
5018
3922
  tmp_0.p65(tmp$ret$3);
5019
- // Inline function 'org.kodein.di.bind' call
5020
- // Inline function 'org.kodein.type.generic' call
5021
- var tmp_5 = typeToken(createKType(getKClass(TestHelper), arrayOf([]), false));
5022
- var tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
5023
- var tmp_6 = $this$Module.r61(tmp$ret$4, null, null);
5024
- // Inline function 'org.kodein.di.singleton' call
5025
- var creator_0 = serverHelpersModule$lambda$lambda_0;
5026
- var tmp_7 = $this$Module.w61();
5027
- var tmp_8 = $this$Module.u61();
5028
- var tmp_9 = $this$Module.v61();
5029
- // Inline function 'org.kodein.type.generic' call
5030
- var tmp_10 = typeToken(createKType(getKClass(TestHelperImpl), arrayOf([]), false));
5031
- var tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
5032
- var tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, creator_0);
5033
- tmp_6.p65(tmp$ret$7);
5034
- // Inline function 'org.kodein.di.bind' call
5035
- // Inline function 'org.kodein.type.generic' call
5036
- var tmp_11 = typeToken(createKType(getKClass(GameResources), arrayOf([]), false));
5037
- var tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
5038
- var tmp_12 = $this$Module.r61(tmp$ret$8, null, null);
5039
- // Inline function 'org.kodein.di.singleton' call
5040
- var creator_1 = serverHelpersModule$lambda$lambda_1;
5041
- var tmp_13 = $this$Module.w61();
5042
- var tmp_14 = $this$Module.u61();
5043
- var tmp_15 = $this$Module.v61();
5044
- // Inline function 'org.kodein.type.generic' call
5045
- var tmp_16 = typeToken(createKType(getKClass(GameResourcesImpl), arrayOf([]), false));
5046
- var tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
5047
- var tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, creator_1);
5048
- tmp_12.p65(tmp$ret$11);
5049
3923
  return Unit_instance;
5050
3924
  }
5051
3925
  function serverHelpersModule$lambda$lambda($this$singleton) {
5052
- return new GameHelperImpl();
5053
- }
5054
- function serverHelpersModule$lambda$lambda_0($this$singleton) {
5055
3926
  // Inline function 'org.kodein.di.instance' call
5056
3927
  var tmp = $this$singleton.e63();
5057
3928
  // Inline function 'org.kodein.type.generic' call
@@ -5060,9 +3931,6 @@
5060
3931
  var tmp$ret$1 = tmp.d63(tmp$ret$0, null);
5061
3932
  return new TestHelperImpl(tmp$ret$1);
5062
3933
  }
5063
- function serverHelpersModule$lambda$lambda_1($this$singleton) {
5064
- return new GameResourcesImpl();
5065
- }
5066
3934
  //region block: post-declaration
5067
3935
  protoOf(GameServer).roomOnCreate = roomOnCreate;
5068
3936
  protoOf(GameServer).roomOnDelete = roomOnDelete;
@@ -5091,28 +3959,27 @@
5091
3959
  defineProp(protoOf(RemoveSpectatorsAction), 'actionTag', function () {
5092
3960
  return this.p6n();
5093
3961
  });
5094
- protoOf(GameResourcesImpl).createBotUser = createBotUser;
5095
3962
  protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
5096
3963
  defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
5097
- return this.id1();
3964
+ return this.rd2();
5098
3965
  });
5099
3966
  defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
5100
- return this.xdd();
3967
+ return this.vde();
5101
3968
  });
5102
3969
  defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
5103
- return this.ydd();
3970
+ return this.wde();
5104
3971
  });
5105
3972
  defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
5106
- return this.wdd();
3973
+ return this.ude();
5107
3974
  });
5108
3975
  defineProp(protoOf(GameServerEngineControllerImpl), 'randomPoolProvider', function () {
5109
- return this.zdd();
3976
+ return this.xde();
5110
3977
  });
5111
3978
  //endregion
5112
3979
  //region block: init
5113
- Companion_instance_9 = new Companion();
5114
- Companion_instance_10 = new Companion_0();
5115
- Companion_instance_11 = new Companion_1();
3980
+ Companion_instance_7 = new Companion();
3981
+ Companion_instance_8 = new Companion_0();
3982
+ Companion_instance_9 = new Companion_1();
5116
3983
  //endregion
5117
3984
  //region block: exports
5118
3985
  function $jsExportAll$(_) {