client_plugin_logic_deb 1.5.0 → 1.5.9

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.
@@ -31,218 +31,232 @@
31
31
  'use strict';
32
32
  //region block: imports
33
33
  var imul = Math.imul;
34
- var CoroutineImpl = kotlin_kotlin.$_$.y8;
35
- var Unit_getInstance = kotlin_kotlin.$_$.r4;
36
- var protoOf = kotlin_kotlin.$_$.la;
37
- var THROW_CCE = kotlin_kotlin.$_$.dd;
38
- var AppState = kotlin_com_gamewithcats_game_engine_engine.$_$.h7;
39
- var classMeta = kotlin_kotlin.$_$.i9;
40
- var VOID = kotlin_kotlin.$_$.he;
41
- var setMetadataFor = kotlin_kotlin.$_$.ma;
34
+ var CoroutineImpl = kotlin_kotlin.$_$.w8;
35
+ var Unit_getInstance = kotlin_kotlin.$_$.s4;
36
+ var protoOf = kotlin_kotlin.$_$.ka;
37
+ var THROW_CCE = kotlin_kotlin.$_$.cd;
38
+ var ToClientAction = kotlin_com_gamewithcats_game_engine_engine.$_$.q4;
39
+ var classMeta = kotlin_kotlin.$_$.g9;
40
+ var VOID = kotlin_kotlin.$_$.ge;
41
+ var setMetadataFor = kotlin_kotlin.$_$.la;
42
+ var AppState = kotlin_com_gamewithcats_game_engine_engine.$_$.i7;
42
43
  var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
43
- var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.r;
44
- var isInterface = kotlin_kotlin.$_$.z9;
45
- var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i;
46
- var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.k8;
47
- var BaseGame = kotlin_com_gamewithcats_game_engine_engine.$_$.k7;
48
- var emptyList = kotlin_kotlin.$_$.d6;
49
- var GameLogger = kotlin_com_gamewithcats_game_engine_core.$_$.m3;
44
+ var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.w;
45
+ var isInterface = kotlin_kotlin.$_$.x9;
46
+ var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.i8;
47
+ var distinctUntilChanged = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.j;
48
+ var BaseGame = kotlin_com_gamewithcats_game_engine_engine.$_$.l7;
49
+ var emptyList = kotlin_kotlin.$_$.e6;
50
+ var GameLogger = kotlin_com_gamewithcats_game_engine_core.$_$.q3;
50
51
  var getKClass = kotlin_kotlin.$_$.e;
51
- var arrayOf = kotlin_kotlin.$_$.rd;
52
+ var arrayOf = kotlin_kotlin.$_$.qd;
52
53
  var createKType = kotlin_kotlin.$_$.b;
53
54
  var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
54
55
  var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
55
56
  var Instance = kotlin_org_kodein_di_kodein_di.$_$.e;
56
- var plus = kotlin_kotlin.$_$.k7;
57
- var GameStore = kotlin_com_gamewithcats_game_engine_engine.$_$.m7;
58
- var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.i4;
59
- var PlayerConnectionUpdateAction = kotlin_com_gamewithcats_game_engine_engine.$_$.m6;
60
- var PlayerConnectionState_LIVE_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.h4;
61
- var PlayerConnectionState_LEFT_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.g4;
62
- var toList = kotlin_kotlin.$_$.b8;
63
- var getPlayer = kotlin_com_gamewithcats_game_engine_core.$_$.o;
64
- var sortWithItem = kotlin_com_gamewithcats_game_engine_core.$_$.z3;
65
- var ClearAction_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.z8;
66
- var toDomainEnumSafe = kotlin_com_gamewithcats_game_engine_core.$_$.b4;
67
- var Reason_DEPLOY_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.x4;
68
- var GameFinishedReason = kotlin_com_gamewithcats_game_engine_core.$_$.z1;
69
- var GameErrorReason = kotlin_com_gamewithcats_game_engine_core.$_$.y1;
70
- var noWhenBranchMatchedException = kotlin_kotlin.$_$.ae;
71
- var FinishingGameMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.n5;
72
- var defineProp = kotlin_kotlin.$_$.k9;
57
+ var plus = kotlin_kotlin.$_$.j7;
58
+ var GameStore = kotlin_com_gamewithcats_game_engine_engine.$_$.n7;
59
+ var PlayerConnectionState_LOST_CONNECTION_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.m4;
60
+ var PlayerConnectionUpdateAction = kotlin_com_gamewithcats_game_engine_engine.$_$.n6;
61
+ var PlayerConnectionState_LIVE_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.l4;
62
+ var PlayerConnectionState_LEFT_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.k4;
63
+ var toList = kotlin_kotlin.$_$.z7;
64
+ var getPlayer = kotlin_com_gamewithcats_game_engine_core.$_$.s;
65
+ var sortWithItem = kotlin_com_gamewithcats_game_engine_core.$_$.d4;
66
+ var ClearAction_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.a9;
67
+ var toDomainEnumSafe = kotlin_com_gamewithcats_game_engine_core.$_$.f4;
68
+ var Reason_DEPLOY_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.b5;
69
+ var GameFinishedReason = kotlin_com_gamewithcats_game_engine_core.$_$.d2;
70
+ var GameErrorReason = kotlin_com_gamewithcats_game_engine_core.$_$.c2;
71
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.zd;
72
+ var FinishingGameMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.o5;
73
+ var defineProp = kotlin_kotlin.$_$.i9;
73
74
  var KProperty1 = kotlin_kotlin.$_$.ab;
74
- var getPropertyCallableRef = kotlin_kotlin.$_$.o9;
75
- var to = kotlin_kotlin.$_$.ge;
76
- var mapOf = kotlin_kotlin.$_$.e7;
77
- var Companion_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.b9;
78
- var Long = kotlin_kotlin.$_$.xc;
79
- var toString = kotlin_kotlin.$_$.qa;
80
- var Enum = kotlin_kotlin.$_$.sc;
75
+ var getPropertyCallableRef = kotlin_kotlin.$_$.m9;
76
+ var to = kotlin_kotlin.$_$.fe;
77
+ var mapOf = kotlin_kotlin.$_$.f7;
78
+ var Companion_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.c9;
79
+ var Enum = kotlin_kotlin.$_$.rc;
81
80
  var Module_init_$Create$ = kotlin_org_kodein_di_kodein_di.$_$.a;
82
- var StoreContract = kotlin_com_gamewithcats_game_engine_engine.$_$.q6;
81
+ var StoreContract = kotlin_com_gamewithcats_game_engine_engine.$_$.r6;
83
82
  var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
84
- var TableLifecycleReducer = kotlin_com_gamewithcats_game_engine_engine.$_$.e7;
83
+ var TableLifecycleReducer = kotlin_com_gamewithcats_game_engine_engine.$_$.f7;
85
84
  var jsonModule = kotlin_com_gamewithcats_game_engine_engine.$_$.q3;
86
85
  var getEngineGameModule = kotlin_com_gamewithcats_game_engine_engine.$_$.p3;
87
- var MechanicLifecycleReducer = kotlin_com_gamewithcats_game_engine_engine.$_$.b7;
86
+ var MechanicLifecycleReducer = kotlin_com_gamewithcats_game_engine_engine.$_$.c7;
88
87
  var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
89
- var GameStoreContract = kotlin_com_gamewithcats_game_engine_engine.$_$.l7;
90
- var interfaceMeta = kotlin_kotlin.$_$.r9;
91
- var listOf = kotlin_kotlin.$_$.a7;
88
+ var GameStoreContract = kotlin_com_gamewithcats_game_engine_engine.$_$.m7;
89
+ var interfaceMeta = kotlin_kotlin.$_$.p9;
90
+ var LinkedHashMap_init_$Create$ = kotlin_kotlin.$_$.u;
92
91
  var ArrayList_init_$Create$ = kotlin_kotlin.$_$.l;
93
- var Collection = kotlin_kotlin.$_$.t4;
94
- var collectionSizeOrDefault = kotlin_kotlin.$_$.k5;
92
+ var single = kotlin_kotlin.$_$.q7;
93
+ var CombinedToClientAction = kotlin_com_gamewithcats_game_engine_engine.$_$.l4;
94
+ var List = kotlin_kotlin.$_$.z4;
95
+ var flow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p;
96
+ var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.h;
97
+ var Long = kotlin_kotlin.$_$.wc;
98
+ var timedChunk = kotlin_com_gamewithcats_game_engine_core.$_$.a;
99
+ var flatMapConcat = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m;
100
+ var listOf = kotlin_kotlin.$_$.b7;
101
+ var Collection = kotlin_kotlin.$_$.u4;
102
+ var collectionSizeOrDefault = kotlin_kotlin.$_$.l5;
95
103
  var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.k;
96
- var PlayerTurnTimerTag = kotlin_com_gamewithcats_game_engine_engine.$_$.t6;
97
- var StopTimerAction = kotlin_com_gamewithcats_game_engine_core.$_$.f3;
98
- var getContinuePlayerTurnTimerDelayMillis = kotlin_com_gamewithcats_game_engine_engine.$_$.u6;
99
- var TimerType_DELAY_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.y4;
100
- var StartTimerAction = kotlin_com_gamewithcats_game_engine_core.$_$.e3;
101
- var listOf_0 = kotlin_kotlin.$_$.b7;
102
- var mapToFinishReason = kotlin_com_gamewithcats_game_engine_core.$_$.p;
103
- var PlayerConnectionChangedMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.v5;
104
- var AskBotAction = kotlin_com_gamewithcats_game_engine_engine.$_$.l6;
105
- var Companion_getInstance_0 = kotlin_com_gamewithcats_game_engine_engine.$_$.y8;
104
+ var PlayerTurnTimerTag = kotlin_com_gamewithcats_game_engine_engine.$_$.u6;
105
+ var StopTimerAction = kotlin_com_gamewithcats_game_engine_core.$_$.j3;
106
+ var getContinuePlayerTurnTimerDelayMillis = kotlin_com_gamewithcats_game_engine_engine.$_$.v6;
107
+ var TimerType_DELAY_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.c5;
108
+ var StartTimerAction = kotlin_com_gamewithcats_game_engine_core.$_$.i3;
109
+ var listOf_0 = kotlin_kotlin.$_$.c7;
110
+ var mapToFinishReason = kotlin_com_gamewithcats_game_engine_core.$_$.t;
111
+ var PlayerConnectionChangedMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.w5;
112
+ var AskBotAction = kotlin_com_gamewithcats_game_engine_engine.$_$.m6;
113
+ var Companion_getInstance_0 = kotlin_com_gamewithcats_game_engine_engine.$_$.z8;
106
114
  var FinishingGameToClientAction = kotlin_com_gamewithcats_game_engine_engine.$_$.o4;
107
115
  var FinishGameToClientAction = kotlin_com_gamewithcats_game_engine_engine.$_$.n4;
108
116
  var getGameCreator = kotlin_com_gamewithcats_game_engine_engine.$_$.q;
109
- var UserActionPayload_init_$Create$ = kotlin_com_gamewithcats_game_engine_engine.$_$.i8;
117
+ var UserActionPayload_init_$Create$ = kotlin_com_gamewithcats_game_engine_engine.$_$.j8;
110
118
  var mapToClient = kotlin_com_gamewithcats_game_engine_engine.$_$.m2;
111
- var PlayerReturnsReason = kotlin_com_gamewithcats_game_engine_core.$_$.c2;
119
+ var PlayerReturnsReason = kotlin_com_gamewithcats_game_engine_core.$_$.g2;
112
120
  var ContinueGameToClientAction = kotlin_com_gamewithcats_game_engine_engine.$_$.m4;
113
121
  var System_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_datetime.$_$.a;
114
- var Companion_getInstance_1 = kotlin_kotlin.$_$.j4;
122
+ var Companion_getInstance_1 = kotlin_kotlin.$_$.k4;
115
123
  var DurationUnit_MILLISECONDS_getInstance = kotlin_kotlin.$_$.f;
116
124
  var toDuration = kotlin_kotlin.$_$.kc;
117
- var PlayerConnectionState_DISCONNECTING_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.f4;
118
- var PlayerConnectionState_DELETED_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.e4;
119
- var MechanicException = kotlin_com_gamewithcats_game_engine_core.$_$.a;
120
- var get_actionTag = kotlin_com_gamewithcats_game_engine_core.$_$.k2;
121
- var Action = kotlin_com_gamewithcats_game_engine_core.$_$.l2;
122
- var getStringHashCode = kotlin_kotlin.$_$.p9;
123
- var hashCode = kotlin_kotlin.$_$.q9;
124
- var equals = kotlin_kotlin.$_$.l9;
125
- var notValidateWhenFinishing = kotlin_com_gamewithcats_game_engine_core.$_$.v2;
126
- var NotValidateIfGameFinishing = kotlin_com_gamewithcats_game_engine_core.$_$.w2;
127
- var objectMeta = kotlin_kotlin.$_$.ka;
128
- var CommonStoreContract = kotlin_com_gamewithcats_game_engine_engine.$_$.o6;
129
- var BotGameStoreContract = kotlin_com_gamewithcats_game_engine_engine.$_$.n6;
130
- var GameMechanicStoreContract = kotlin_com_gamewithcats_game_engine_engine.$_$.p6;
131
- var AsyncProvider = kotlin_com_gamewithcats_game_engine_core.$_$.g2;
125
+ var PlayerConnectionState_DISCONNECTING_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.j4;
126
+ var toLong = kotlin_kotlin.$_$.na;
127
+ var PlayerConnectionState_DELETED_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.i4;
128
+ var MechanicException = kotlin_com_gamewithcats_game_engine_core.$_$.b;
129
+ var get_actionTag = kotlin_com_gamewithcats_game_engine_core.$_$.o2;
130
+ var Action = kotlin_com_gamewithcats_game_engine_core.$_$.p2;
131
+ var getStringHashCode = kotlin_kotlin.$_$.n9;
132
+ var hashCode = kotlin_kotlin.$_$.o9;
133
+ var equals = kotlin_kotlin.$_$.j9;
134
+ var notValidateWhenFinishing = kotlin_com_gamewithcats_game_engine_core.$_$.z2;
135
+ var NotValidateIfGameFinishing = kotlin_com_gamewithcats_game_engine_core.$_$.a3;
136
+ var objectMeta = kotlin_kotlin.$_$.ja;
137
+ var CommonStoreContract = kotlin_com_gamewithcats_game_engine_engine.$_$.p6;
138
+ var BotGameStoreContract = kotlin_com_gamewithcats_game_engine_engine.$_$.o6;
139
+ var GameMechanicStoreContract = kotlin_com_gamewithcats_game_engine_engine.$_$.q6;
140
+ var AsyncProvider = kotlin_com_gamewithcats_game_engine_core.$_$.k2;
132
141
  var LastCardInteractor = kotlin_com_gamewithcats_game_engine_engine.$_$.s3;
133
142
  var LogicReduxConfig = kotlin_com_gamewithcats_game_engine_engine.$_$.f3;
134
143
  var BotReduxConfig = kotlin_com_gamewithcats_game_engine_engine.$_$.d3;
135
- var listOfNotNull = kotlin_kotlin.$_$.z6;
136
- var gameStatisticsMiddleware = kotlin_com_gamewithcats_game_engine_engine.$_$.r6;
137
- var clearOnFinishMiddleware = kotlin_com_gamewithcats_game_engine_engine.$_$.x6;
138
- var putPlayerLastCardMiddleware = kotlin_com_gamewithcats_game_engine_engine.$_$.s6;
139
- var PartyEndedAction = kotlin_com_gamewithcats_game_engine_engine.$_$.i5;
140
- var Middleware = kotlin_com_gamewithcats_game_engine_core.$_$.m2;
141
- var MechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.q5;
144
+ var listOfNotNull = kotlin_kotlin.$_$.a7;
145
+ var gameStatisticsMiddleware = kotlin_com_gamewithcats_game_engine_engine.$_$.s6;
146
+ var clearOnFinishMiddleware = kotlin_com_gamewithcats_game_engine_engine.$_$.y6;
147
+ var putPlayerLastCardMiddleware = kotlin_com_gamewithcats_game_engine_engine.$_$.t6;
148
+ var PartyEndedAction = kotlin_com_gamewithcats_game_engine_engine.$_$.j5;
149
+ var Middleware = kotlin_com_gamewithcats_game_engine_core.$_$.q2;
150
+ var MechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.r5;
142
151
  var RoomActionPayload = kotlin_com_gamewithcats_game_engine_engine.$_$.p4;
143
- var mapToClient_0 = kotlin_com_gamewithcats_game_engine_engine.$_$.d5;
144
- var listOfNotNull_0 = kotlin_kotlin.$_$.y6;
152
+ var mapToClient_0 = kotlin_com_gamewithcats_game_engine_engine.$_$.e5;
153
+ var listOfNotNull_0 = kotlin_kotlin.$_$.z6;
145
154
  var UserMessage = kotlin_com_gamewithcats_game_engine_engine.$_$.l;
146
- var mapToClient_1 = kotlin_com_gamewithcats_game_engine_engine.$_$.w4;
147
- var MessageMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.r5;
148
- var mapToClient_2 = kotlin_com_gamewithcats_game_engine_engine.$_$.r4;
149
- var WinnerCombinationsMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.i6;
150
- var mapToClient_3 = kotlin_com_gamewithcats_game_engine_engine.$_$.h5;
151
- var PickUpBribeMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.u5;
152
- var mapToClient_4 = kotlin_com_gamewithcats_game_engine_engine.$_$.t4;
153
- var PutCardMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.z5;
154
- var mapToClient_5 = kotlin_com_gamewithcats_game_engine_engine.$_$.c5;
155
- var CombinationChoiceMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.k5;
156
- var mapToClient_6 = kotlin_com_gamewithcats_game_engine_engine.$_$.a5;
157
- var TrumpMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.h6;
158
- var mapToClient_7 = kotlin_com_gamewithcats_game_engine_engine.$_$.g5;
159
- var SuitChoiceMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.e6;
160
- var mapToClient_8 = kotlin_com_gamewithcats_game_engine_engine.$_$.f5;
161
- var PlayerReadyMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.w5;
162
- var mapToClient_9 = kotlin_com_gamewithcats_game_engine_engine.$_$.v4;
163
- var TeamsDataMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.f6;
164
- var mapToClient_10 = kotlin_com_gamewithcats_game_engine_engine.$_$.z4;
165
- var SceneActMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.b6;
166
- var mapToClient_11 = kotlin_com_gamewithcats_game_engine_engine.$_$.u4;
167
- var SceneMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.c6;
168
- var mapToClient_12 = kotlin_com_gamewithcats_game_engine_engine.$_$.b5;
169
- var RestartGameMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.a6;
170
- var mapToClient_13 = kotlin_com_gamewithcats_game_engine_engine.$_$.y4;
171
- var FinishGameMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.m5;
172
- var mapToClient_14 = kotlin_com_gamewithcats_game_engine_engine.$_$.e5;
173
- var mapToClient_15 = kotlin_com_gamewithcats_game_engine_engine.$_$.x4;
174
- var ContinueGameMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.l5;
175
- var mapToClient_16 = kotlin_com_gamewithcats_game_engine_engine.$_$.s4;
176
- var StartGameMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.d6;
177
- var get_isCreated = kotlin_com_gamewithcats_game_engine_engine.$_$.i7;
178
- var notValidateWhenFinished = kotlin_com_gamewithcats_game_engine_core.$_$.t2;
179
- var notValidateTimerReset = kotlin_com_gamewithcats_game_engine_engine.$_$.a4;
180
- var NotValidateIfGameFinished = kotlin_com_gamewithcats_game_engine_core.$_$.u2;
181
- var NotValidateTimerReset = kotlin_com_gamewithcats_game_engine_engine.$_$.b4;
182
- var TimerTickAction = kotlin_com_gamewithcats_game_engine_core.$_$.h3;
183
- var PlayerConnectionState_TIMEOUT_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.j4;
184
- var GameEngineConfig_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.x5;
185
- var Companion_getInstance_2 = kotlin_com_gamewithcats_game_engine_engine.$_$.c9;
186
- var get_TAG = kotlin_com_gamewithcats_game_engine_engine.$_$.y6;
187
- var middleware = kotlin_com_gamewithcats_game_engine_core.$_$.p2;
188
- var get_isFinished = kotlin_com_gamewithcats_game_engine_engine.$_$.j7;
189
- var Reducer = kotlin_com_gamewithcats_game_engine_core.$_$.n2;
190
- var BaseMechanicLifecycleReducer = kotlin_com_gamewithcats_game_engine_engine.$_$.a7;
191
- var GameLifecycleState_CREATED_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.d8;
192
- var AppStatePayload = kotlin_com_gamewithcats_game_engine_engine.$_$.g7;
155
+ var mapToClient_1 = kotlin_com_gamewithcats_game_engine_engine.$_$.x4;
156
+ var MessageMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.s5;
157
+ var mapToClient_2 = kotlin_com_gamewithcats_game_engine_engine.$_$.s4;
158
+ var WinnerCombinationsMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.j6;
159
+ var mapToClient_3 = kotlin_com_gamewithcats_game_engine_engine.$_$.i5;
160
+ var PickUpBribeMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.v5;
161
+ var mapToClient_4 = kotlin_com_gamewithcats_game_engine_engine.$_$.u4;
162
+ var PutCardMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.a6;
163
+ var mapToClient_5 = kotlin_com_gamewithcats_game_engine_engine.$_$.d5;
164
+ var CombinationChoiceMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.l5;
165
+ var mapToClient_6 = kotlin_com_gamewithcats_game_engine_engine.$_$.b5;
166
+ var TrumpMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.i6;
167
+ var mapToClient_7 = kotlin_com_gamewithcats_game_engine_engine.$_$.h5;
168
+ var SuitChoiceMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.f6;
169
+ var mapToClient_8 = kotlin_com_gamewithcats_game_engine_engine.$_$.g5;
170
+ var PlayerReadyMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.x5;
171
+ var mapToClient_9 = kotlin_com_gamewithcats_game_engine_engine.$_$.w4;
172
+ var TeamsDataMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.g6;
173
+ var mapToClient_10 = kotlin_com_gamewithcats_game_engine_engine.$_$.a5;
174
+ var SceneActMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.c6;
175
+ var mapToClient_11 = kotlin_com_gamewithcats_game_engine_engine.$_$.v4;
176
+ var SceneMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.d6;
177
+ var mapToClient_12 = kotlin_com_gamewithcats_game_engine_engine.$_$.c5;
178
+ var RestartGameMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.b6;
179
+ var mapToClient_13 = kotlin_com_gamewithcats_game_engine_engine.$_$.z4;
180
+ var FinishGameMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.n5;
181
+ var mapToClient_14 = kotlin_com_gamewithcats_game_engine_engine.$_$.f5;
182
+ var mapToClient_15 = kotlin_com_gamewithcats_game_engine_engine.$_$.y4;
183
+ var ContinueGameMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.m5;
184
+ var mapToClient_16 = kotlin_com_gamewithcats_game_engine_engine.$_$.t4;
185
+ var StartGameMechanicAction = kotlin_com_gamewithcats_game_engine_engine.$_$.e6;
186
+ var get_isCreated = kotlin_com_gamewithcats_game_engine_engine.$_$.j7;
187
+ var notValidateWhenFinished = kotlin_com_gamewithcats_game_engine_core.$_$.x2;
188
+ var notValidateTimerReset = kotlin_com_gamewithcats_game_engine_engine.$_$.z3;
189
+ var NotValidateIfGameFinished = kotlin_com_gamewithcats_game_engine_core.$_$.y2;
190
+ var NotValidateTimerReset = kotlin_com_gamewithcats_game_engine_engine.$_$.a4;
191
+ var TimerTickAction = kotlin_com_gamewithcats_game_engine_core.$_$.l3;
192
+ var PlayerConnectionState_TIMEOUT_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.n4;
193
+ var GameEngineConfig_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.c6;
194
+ var Companion_getInstance_2 = kotlin_com_gamewithcats_game_engine_engine.$_$.d9;
195
+ var get_TAG = kotlin_com_gamewithcats_game_engine_engine.$_$.z6;
196
+ var middleware = kotlin_com_gamewithcats_game_engine_core.$_$.t2;
197
+ var get_isFinished = kotlin_com_gamewithcats_game_engine_engine.$_$.k7;
198
+ var Reducer = kotlin_com_gamewithcats_game_engine_core.$_$.r2;
199
+ var Companion_getInstance_3 = kotlin_com_gamewithcats_game_engine_core.$_$.j5;
200
+ var PlayerConnection = kotlin_com_gamewithcats_game_engine_core.$_$.f;
201
+ var BaseMechanicLifecycleReducer = kotlin_com_gamewithcats_game_engine_engine.$_$.b7;
202
+ var GameLifecycleState_CREATED_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.e8;
203
+ var AppStatePayload = kotlin_com_gamewithcats_game_engine_engine.$_$.h7;
204
+ var toString = kotlin_kotlin.$_$.pa;
193
205
  var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.l1;
194
- var isArray = kotlin_kotlin.$_$.s9;
195
- var arrayIterator = kotlin_kotlin.$_$.b9;
196
- var values = kotlin_com_gamewithcats_game_engine_core.$_$.t;
197
- var copyToArray = kotlin_kotlin.$_$.a6;
206
+ var isArray = kotlin_kotlin.$_$.q9;
207
+ var arrayIterator = kotlin_kotlin.$_$.z8;
208
+ var values = kotlin_com_gamewithcats_game_engine_core.$_$.x;
209
+ var copyToArray = kotlin_kotlin.$_$.b6;
198
210
  var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.o1;
199
211
  var values_0 = kotlin_com_gamewithcats_game_engine_engine.$_$.v2;
200
212
  var values_1 = kotlin_com_gamewithcats_game_engine_engine.$_$.w2;
201
- var BotIntelligenceLevel_SUPER_HARD_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.u7;
213
+ var BotIntelligenceLevel_SUPER_HARD_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.v7;
202
214
  var Options = kotlin_com_gamewithcats_game_engine_engine.$_$.u2;
203
215
  var Config = kotlin_com_gamewithcats_game_engine_engine.$_$.t2;
204
- var PointsMode_SMALL_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.b8;
205
- var PointsMode_MEDIUM_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.a8;
206
- var PointsMode_BIG_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.z7;
207
- var PointsMode_TEST_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.c8;
208
- var PlayersMode_TWO_PLAYERS_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.y7;
209
- var PlayersMode_THREE_PLAYERS_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.x7;
210
- var PlayersMode_FOUR_PLAYERS_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.w7;
211
- var PlayersMode_FOUR_PLAYERS_BY_TEAM_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.v7;
212
- var Rules = kotlin_com_gamewithcats_game_engine_core.$_$.u;
213
- var mapOfObject = kotlin_com_gamewithcats_game_engine_core.$_$.x3;
214
- var getValue = kotlin_kotlin.$_$.o6;
215
- var Companion_getInstance_3 = kotlin_com_gamewithcats_game_engine_core.$_$.g5;
216
- var RulesSetType_custom_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.l4;
217
- var RulesSetType_debertzKharkiv_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.n4;
218
- var RulesSetType_debertzCommon_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.m4;
219
- var RulesSetType_klabor_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.o4;
220
- var RulesSetType_belot_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.k4;
221
- var valueOf = kotlin_com_gamewithcats_game_engine_core.$_$.s;
222
- var Default_getInstance = kotlin_kotlin.$_$.g4;
223
- var GameUserInfo = kotlin_com_gamewithcats_game_engine_core.$_$.b;
224
- var DealerConfig = kotlin_com_gamewithcats_game_engine_engine.$_$.e3;
225
- var Companion_getInstance_4 = kotlin_org_kodein_di_kodein_di.$_$.b;
216
+ var PointsMode_SMALL_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.c8;
217
+ var PointsMode_MEDIUM_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.b8;
218
+ var PointsMode_BIG_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.a8;
219
+ var PointsMode_TEST_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.d8;
220
+ var PlayersMode_TWO_PLAYERS_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.z7;
221
+ var PlayersMode_THREE_PLAYERS_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.y7;
222
+ var PlayersMode_FOUR_PLAYERS_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.x7;
223
+ var PlayersMode_FOUR_PLAYERS_BY_TEAM_getInstance = kotlin_com_gamewithcats_game_engine_engine.$_$.w7;
224
+ var Rules = kotlin_com_gamewithcats_game_engine_core.$_$.y;
225
+ var mapOfObject = kotlin_com_gamewithcats_game_engine_core.$_$.b4;
226
+ var getValue = kotlin_kotlin.$_$.p6;
227
+ var Companion_getInstance_4 = kotlin_com_gamewithcats_game_engine_core.$_$.l5;
228
+ var RulesSetType_custom_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.p4;
229
+ var RulesSetType_debertzKharkiv_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.r4;
230
+ var RulesSetType_debertzCommon_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.q4;
231
+ var RulesSetType_klabor_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.s4;
232
+ var RulesSetType_belot_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.o4;
233
+ var valueOf = kotlin_com_gamewithcats_game_engine_core.$_$.w;
234
+ var Default_getInstance = kotlin_kotlin.$_$.h4;
235
+ var GameUserInfo = kotlin_com_gamewithcats_game_engine_core.$_$.c;
236
+ var Companion_getInstance_5 = kotlin_org_kodein_di_kodein_di.$_$.b;
226
237
  var CardsGeneratorProviderImpl = kotlin_com_gamewithcats_game_engine_engine.$_$.m3;
227
238
  var CardsGeneratorProvider = kotlin_com_gamewithcats_game_engine_engine.$_$.n3;
228
- var get_coreModule = kotlin_com_gamewithcats_game_engine_core.$_$.j2;
239
+ var get_coreModule = kotlin_com_gamewithcats_game_engine_core.$_$.n2;
229
240
  var createLoggerOutputWithTablePayload = kotlin_com_gamewithcats_game_engine_engine.$_$.b;
230
- var CombinedGameLogger = kotlin_com_gamewithcats_game_engine_core.$_$.l3;
231
- var PlatformGameLogger = kotlin_com_gamewithcats_game_engine_core.$_$.o3;
241
+ var CombinedGameLogger = kotlin_com_gamewithcats_game_engine_core.$_$.p3;
242
+ var PlatformGameLogger = kotlin_com_gamewithcats_game_engine_core.$_$.s3;
232
243
  var ParserHelperImpl = kotlin_com_gamewithcats_game_engine_engine.$_$.a;
233
- var Logger_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.w5;
234
- var toList_0 = kotlin_kotlin.$_$.a8;
244
+ var Logger_getInstance = kotlin_com_gamewithcats_game_engine_core.$_$.b6;
245
+ var toList_0 = kotlin_kotlin.$_$.y7;
235
246
  var get_direct = kotlin_org_kodein_di_kodein_di.$_$.f;
236
247
  var get_botGameModule = kotlin_com_gamewithcats_game_engine_engine.$_$.o3;
237
- var emptyMap = kotlin_kotlin.$_$.e6;
248
+ var emptyMap = kotlin_kotlin.$_$.f6;
238
249
  var PlayerAnswerInteractor = kotlin_com_gamewithcats_game_engine_engine.$_$.t3;
239
- var FromClientActionPayloadProvider = kotlin_com_gamewithcats_game_engine_engine.$_$.f4;
240
- var mapFromClient = kotlin_com_gamewithcats_game_engine_engine.$_$.q4;
241
- var NextPlayerTurnAction = kotlin_com_gamewithcats_game_engine_engine.$_$.t5;
250
+ var FromClientActionPayloadProvider = kotlin_com_gamewithcats_game_engine_engine.$_$.e4;
251
+ var mapFromClient = kotlin_com_gamewithcats_game_engine_engine.$_$.r4;
252
+ var NextPlayerTurnAction = kotlin_com_gamewithcats_game_engine_engine.$_$.u5;
242
253
  //endregion
243
254
  //region block: pre-declaration
255
+ setMetadataFor(GameServer$subscribeToClientAction$slambda$slambda, 'GameServer$subscribeToClientAction$slambda$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
244
256
  setMetadataFor(GameServer$subscribeWith$slambda$slambda, 'GameServer$subscribeWith$slambda$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
245
257
  setMetadataFor(sam$kotlinx_coroutines_flow_FlowCollector$0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', classMeta, VOID, [FlowCollector], VOID, VOID, [1]);
258
+ setMetadataFor(sam$kotlinx_coroutines_flow_FlowCollector$0_0, 'sam$kotlinx_coroutines_flow_FlowCollector$0', classMeta, VOID, [FlowCollector], VOID, VOID, [1]);
259
+ setMetadataFor(GameServer$subscribeToClientAction$slambda, 'GameServer$subscribeToClientAction$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
246
260
  setMetadataFor(GameServer$subscribeWith$slambda, 'GameServer$subscribeWith$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
247
261
  setMetadataFor(ServerGameEngineContract, 'ServerGameEngineContract', interfaceMeta, VOID, [GameStoreContract]);
248
262
  setMetadataFor(GameServer, 'GameServer', classMeta, BaseGame, [BaseGame, ServerGameEngineContract]);
@@ -250,6 +264,10 @@
250
264
  setMetadataFor(ServerShutdownReason, 'ServerShutdownReason', classMeta, Enum);
251
265
  setMetadataFor(ServerUserPayload, 'ServerUserPayload', classMeta);
252
266
  setMetadataFor(ServerConfig, 'ServerConfig', classMeta);
267
+ setMetadataFor(ToClientEventsObserver, 'ToClientEventsObserver', interfaceMeta, VOID, VOID, VOID, VOID, [1]);
268
+ setMetadataFor(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda, 'ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
269
+ setMetadataFor(ToClientEventsObserverImpl$observeFromClientEvents$slambda, 'ToClientEventsObserverImpl$observeFromClientEvents$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
270
+ setMetadataFor(ToClientEventsObserverImpl, 'ToClientEventsObserverImpl', classMeta, VOID, [ToClientEventsObserver], VOID, VOID, [1]);
253
271
  setMetadataFor(ReconnectionInteractor, 'ReconnectionInteractor', classMeta);
254
272
  setMetadataFor(UpdateServerConfigAction, 'UpdateServerConfigAction', classMeta, VOID, [Action]);
255
273
  setMetadataFor(RoomAction, 'RoomAction', classMeta, VOID, [Action]);
@@ -258,15 +276,17 @@
258
276
  setMetadataFor(ServerGameStoreContract, 'ServerGameStoreContract', classMeta, VOID, [StoreContract]);
259
277
  setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta, VOID, [Middleware]);
260
278
  setMetadataFor(_no_name_provided__qut3iv_0, VOID, classMeta, VOID, [Middleware]);
279
+ setMetadataFor(serverSendEventsToClientMiddleware$o$handle$slambda, 'serverSendEventsToClientMiddleware$o$handle$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
261
280
  setMetadataFor(_no_name_provided__qut3iv_1, VOID, classMeta, VOID, [Middleware]);
262
- setMetadataFor(PlayerReconnectionWaitingTimerTag, 'PlayerReconnectionWaitingTimerTag', classMeta, VOID, [NotValidateIfGameFinished, NotValidateTimerReset]);
263
281
  setMetadataFor(_no_name_provided__qut3iv_2, VOID, classMeta, VOID, [Middleware]);
282
+ setMetadataFor(PlayerReconnectionWaitingTimerTag, 'PlayerReconnectionWaitingTimerTag', classMeta, VOID, [NotValidateIfGameFinished, NotValidateTimerReset]);
264
283
  setMetadataFor(_no_name_provided__qut3iv_3, VOID, classMeta, VOID, [Middleware]);
284
+ setMetadataFor(_no_name_provided__qut3iv_4, VOID, classMeta, VOID, [Middleware]);
265
285
  setMetadataFor(roomLifecycleMiddleware$o$handle$slambda$slambda, 'roomLifecycleMiddleware$o$handle$slambda$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
266
286
  setMetadataFor(roomLifecycleMiddleware$o$handle$slambda, 'roomLifecycleMiddleware$o$handle$slambda', classMeta, CoroutineImpl, VOID, VOID, VOID, [1]);
267
- setMetadataFor(_no_name_provided__qut3iv_4, VOID, classMeta, VOID, [Middleware]);
268
287
  setMetadataFor(_no_name_provided__qut3iv_5, VOID, classMeta, VOID, [Middleware]);
269
- setMetadataFor(_no_name_provided__qut3iv_6, VOID, classMeta, VOID, [Reducer]);
288
+ setMetadataFor(_no_name_provided__qut3iv_6, VOID, classMeta, VOID, [Middleware]);
289
+ setMetadataFor(_no_name_provided__qut3iv_7, VOID, classMeta, VOID, [Reducer]);
270
290
  setMetadataFor(ServerMechanicLifecycleReducer, 'ServerMechanicLifecycleReducer', classMeta, BaseMechanicLifecycleReducer, [BaseMechanicLifecycleReducer, MechanicLifecycleReducer]);
271
291
  setMetadataFor(Companion, 'Companion', objectMeta);
272
292
  setMetadataFor(ServerState, 'ServerState', classMeta, VOID, [AppStatePayload]);
@@ -283,14 +303,14 @@
283
303
  tmp = existingNicknames;
284
304
  }
285
305
  existingNicknames = tmp;
286
- return this.v7r(playerId, existingNicknames);
306
+ return this.p8b(playerId, existingNicknames);
287
307
  }
288
308
  setMetadataFor(GameResources, 'GameResources', interfaceMeta);
289
309
  setMetadataFor(Companion_0, 'Companion', objectMeta);
290
310
  setMetadataFor(AvatarSet, 'AvatarSet', classMeta, Enum);
291
311
  setMetadataFor(AvatarData, 'AvatarData', classMeta);
292
312
  setMetadataFor(GameResourcesImpl, 'GameResourcesImpl', classMeta, VOID, [GameResources]);
293
- function createGameEngineWithLogic(reducers, middlewares, isPrivateRoom, finishGameIfAllBots, closeIfBotsAtFinish, dealerConfig, $super) {
313
+ function createGameEngineWithLogic(reducers, middlewares, serverConfig, logicConfig, $super) {
294
314
  var tmp;
295
315
  if (reducers === VOID) {
296
316
  var tmp$ret$0;
@@ -311,42 +331,84 @@
311
331
  tmp_0 = middlewares;
312
332
  }
313
333
  middlewares = tmp_0;
314
- isPrivateRoom = isPrivateRoom === VOID ? false : isPrivateRoom;
315
- finishGameIfAllBots = finishGameIfAllBots === VOID ? (new ServerReduxConfig()).i7p_1 : finishGameIfAllBots;
316
- closeIfBotsAtFinish = closeIfBotsAtFinish === VOID ? (new ServerReduxConfig()).l7p_1 : closeIfBotsAtFinish;
317
- dealerConfig = dealerConfig === VOID ? new DealerConfig() : dealerConfig;
318
- return this.k7s(reducers, middlewares, isPrivateRoom, finishGameIfAllBots, closeIfBotsAtFinish, dealerConfig);
334
+ serverConfig = serverConfig === VOID ? new ServerReduxConfig() : serverConfig;
335
+ logicConfig = logicConfig === VOID ? new LogicReduxConfig() : logicConfig;
336
+ return this.e8c(reducers, middlewares, serverConfig, logicConfig);
319
337
  }
320
338
  setMetadataFor(GameEngineController, 'GameEngineController', interfaceMeta);
321
- setMetadataFor(_no_name_provided__qut3iv_7, VOID, classMeta, VOID, [Reducer]);
339
+ setMetadataFor(_no_name_provided__qut3iv_8, VOID, classMeta, VOID, [Reducer]);
322
340
  setMetadataFor(GameServerEngineControllerImpl, 'GameServerEngineControllerImpl', classMeta, VOID, [GameEngineController]);
323
341
  setMetadataFor(TestHelper, 'TestHelper', interfaceMeta);
324
342
  setMetadataFor(TestHelperImpl, 'TestHelperImpl', classMeta, VOID, [TestHelper]);
325
343
  //endregion
344
+ function GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation) {
345
+ this.l85_1 = $subscriber;
346
+ CoroutineImpl.call(this, resultContinuation);
347
+ }
348
+ protoOf(GameServer$subscribeToClientAction$slambda$slambda).n85 = function (it, $completion) {
349
+ var tmp = this.o85(it, $completion);
350
+ tmp.wh_1 = Unit_getInstance();
351
+ tmp.xh_1 = null;
352
+ return tmp.di();
353
+ };
354
+ protoOf(GameServer$subscribeToClientAction$slambda$slambda).pi = function (p1, $completion) {
355
+ return this.n85(p1 instanceof ToClientAction ? p1 : THROW_CCE(), $completion);
356
+ };
357
+ protoOf(GameServer$subscribeToClientAction$slambda$slambda).di = function () {
358
+ var suspendResult = this.wh_1;
359
+ $sm: do
360
+ try {
361
+ var tmp = this.uh_1;
362
+ if (tmp === 0) {
363
+ this.vh_1 = 1;
364
+ this.l85_1(this.m85_1);
365
+ return Unit_getInstance();
366
+ } else if (tmp === 1) {
367
+ throw this.xh_1;
368
+ }
369
+ } catch ($p) {
370
+ var e = $p;
371
+ throw e;
372
+ }
373
+ while (true);
374
+ };
375
+ protoOf(GameServer$subscribeToClientAction$slambda$slambda).o85 = function (it, completion) {
376
+ var i = new GameServer$subscribeToClientAction$slambda$slambda(this.l85_1, completion);
377
+ i.m85_1 = it;
378
+ return i;
379
+ };
380
+ function GameServer$subscribeToClientAction$slambda$slambda_0($subscriber, resultContinuation) {
381
+ var i = new GameServer$subscribeToClientAction$slambda$slambda($subscriber, resultContinuation);
382
+ var l = function (it, $completion) {
383
+ return i.n85(it, $completion);
384
+ };
385
+ l.$arity = 1;
386
+ return l;
387
+ }
326
388
  function GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation) {
327
- this.m7o_1 = $subscriber;
389
+ this.x85_1 = $subscriber;
328
390
  CoroutineImpl.call(this, resultContinuation);
329
391
  }
330
- protoOf(GameServer$subscribeWith$slambda$slambda).o4t = function (it, $completion) {
331
- var tmp = this.p4t(it, $completion);
332
- tmp.xh_1 = Unit_getInstance();
333
- tmp.yh_1 = null;
334
- return tmp.ei();
392
+ protoOf(GameServer$subscribeWith$slambda$slambda).u58 = function (it, $completion) {
393
+ var tmp = this.v58(it, $completion);
394
+ tmp.wh_1 = Unit_getInstance();
395
+ tmp.xh_1 = null;
396
+ return tmp.di();
335
397
  };
336
- protoOf(GameServer$subscribeWith$slambda$slambda).qi = function (p1, $completion) {
337
- return this.o4t(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
398
+ protoOf(GameServer$subscribeWith$slambda$slambda).pi = function (p1, $completion) {
399
+ return this.u58(p1 instanceof AppState ? p1 : THROW_CCE(), $completion);
338
400
  };
339
- protoOf(GameServer$subscribeWith$slambda$slambda).ei = function () {
340
- var suspendResult = this.xh_1;
401
+ protoOf(GameServer$subscribeWith$slambda$slambda).di = function () {
402
+ var suspendResult = this.wh_1;
341
403
  $sm: do
342
404
  try {
343
- var tmp = this.vh_1;
405
+ var tmp = this.uh_1;
344
406
  if (tmp === 0) {
345
- this.wh_1 = 1;
346
- this.m7o_1(this.n7o_1);
407
+ this.vh_1 = 1;
408
+ this.x85_1(this.y85_1);
347
409
  return Unit_getInstance();
348
410
  } else if (tmp === 1) {
349
- throw this.yh_1;
411
+ throw this.xh_1;
350
412
  }
351
413
  } catch ($p) {
352
414
  var e = $p;
@@ -354,15 +416,15 @@
354
416
  }
355
417
  while (true);
356
418
  };
357
- protoOf(GameServer$subscribeWith$slambda$slambda).p4t = function (it, completion) {
358
- var i = new GameServer$subscribeWith$slambda$slambda(this.m7o_1, completion);
359
- i.n7o_1 = it;
419
+ protoOf(GameServer$subscribeWith$slambda$slambda).v58 = function (it, completion) {
420
+ var i = new GameServer$subscribeWith$slambda$slambda(this.x85_1, completion);
421
+ i.y85_1 = it;
360
422
  return i;
361
423
  };
362
424
  function GameServer$subscribeWith$slambda$slambda_0($subscriber, resultContinuation) {
363
425
  var i = new GameServer$subscribeWith$slambda$slambda($subscriber, resultContinuation);
364
426
  var l = function (it, $completion) {
365
- return i.o4t(it, $completion);
427
+ return i.u58(it, $completion);
366
428
  };
367
429
  l.$arity = 1;
368
430
  return l;
@@ -371,42 +433,116 @@
371
433
  var tmp$ret$0;
372
434
  // Inline function 'kotlin.getValue' call
373
435
  var tmp0_getValue = logger$factory_0();
374
- tmp$ret$0 = $this.q7o_1.l1();
436
+ tmp$ret$0 = $this.b86_1.l1();
437
+ return tmp$ret$0;
438
+ }
439
+ function _get_toClientEventsObserver__6rp51y($this) {
440
+ var tmp$ret$0;
441
+ // Inline function 'kotlin.getValue' call
442
+ var tmp0_getValue = toClientEventsObserver$factory_0();
443
+ tmp$ret$0 = $this.c86_1.l1();
375
444
  return tmp$ret$0;
376
445
  }
377
446
  function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
378
- this.s7o_1 = function_0;
447
+ this.e86_1 = function_0;
448
+ }
449
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).ny = function (value, $completion) {
450
+ var tmp0 = this.e86_1(value, $completion);
451
+ return tmp0;
452
+ };
453
+ function sam$kotlinx_coroutines_flow_FlowCollector$0_0(function_0) {
454
+ this.f86_1 = function_0;
379
455
  }
380
- protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).gy = function (value, $completion) {
381
- var tmp0 = this.s7o_1(value, $completion);
456
+ protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0_0).ny = function (value, $completion) {
457
+ var tmp0 = this.f86_1(value, $completion);
382
458
  return tmp0;
383
459
  };
460
+ function GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation) {
461
+ this.o86_1 = this$0;
462
+ this.p86_1 = $subscriber;
463
+ CoroutineImpl.call(this, resultContinuation);
464
+ }
465
+ protoOf(GameServer$subscribeToClientAction$slambda).w14 = function ($this$launchWorker, $completion) {
466
+ var tmp = this.x14($this$launchWorker, $completion);
467
+ tmp.wh_1 = Unit_getInstance();
468
+ tmp.xh_1 = null;
469
+ return tmp.di();
470
+ };
471
+ protoOf(GameServer$subscribeToClientAction$slambda).pi = function (p1, $completion) {
472
+ return this.w14((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
473
+ };
474
+ protoOf(GameServer$subscribeToClientAction$slambda).di = function () {
475
+ var suspendResult = this.wh_1;
476
+ $sm: do
477
+ try {
478
+ var tmp = this.uh_1;
479
+ switch (tmp) {
480
+ case 0:
481
+ this.vh_1 = 2;
482
+ this.uh_1 = 1;
483
+ var tmp_0 = _get_toClientEventsObserver__6rp51y(this.o86_1).o6i();
484
+ var tmp_1 = GameServer$subscribeToClientAction$slambda$slambda_0(this.p86_1, null);
485
+ suspendResult = tmp_0.ay(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
486
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
487
+ return suspendResult;
488
+ }
489
+
490
+ continue $sm;
491
+ case 1:
492
+ return Unit_getInstance();
493
+ case 2:
494
+ throw this.xh_1;
495
+ }
496
+ } catch ($p) {
497
+ var e = $p;
498
+ if (this.vh_1 === 2) {
499
+ throw e;
500
+ } else {
501
+ this.uh_1 = this.vh_1;
502
+ this.xh_1 = e;
503
+ }
504
+ }
505
+ while (true);
506
+ };
507
+ protoOf(GameServer$subscribeToClientAction$slambda).x14 = function ($this$launchWorker, completion) {
508
+ var i = new GameServer$subscribeToClientAction$slambda(this.o86_1, this.p86_1, completion);
509
+ i.q86_1 = $this$launchWorker;
510
+ return i;
511
+ };
512
+ function GameServer$subscribeToClientAction$slambda_0(this$0, $subscriber, resultContinuation) {
513
+ var i = new GameServer$subscribeToClientAction$slambda(this$0, $subscriber, resultContinuation);
514
+ var l = function ($this$launchWorker, $completion) {
515
+ return i.w14($this$launchWorker, $completion);
516
+ };
517
+ l.$arity = 1;
518
+ return l;
519
+ }
384
520
  function GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation) {
385
- this.b7p_1 = this$0;
386
- this.c7p_1 = $subscriber;
521
+ this.z86_1 = this$0;
522
+ this.a87_1 = $subscriber;
387
523
  CoroutineImpl.call(this, resultContinuation);
388
524
  }
389
- protoOf(GameServer$subscribeWith$slambda).y13 = function ($this$launchWorker, $completion) {
390
- var tmp = this.z13($this$launchWorker, $completion);
391
- tmp.xh_1 = Unit_getInstance();
392
- tmp.yh_1 = null;
393
- return tmp.ei();
525
+ protoOf(GameServer$subscribeWith$slambda).w14 = function ($this$launchWorker, $completion) {
526
+ var tmp = this.x14($this$launchWorker, $completion);
527
+ tmp.wh_1 = Unit_getInstance();
528
+ tmp.xh_1 = null;
529
+ return tmp.di();
394
530
  };
395
- protoOf(GameServer$subscribeWith$slambda).qi = function (p1, $completion) {
396
- return this.y13((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
531
+ protoOf(GameServer$subscribeWith$slambda).pi = function (p1, $completion) {
532
+ return this.w14((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
397
533
  };
398
- protoOf(GameServer$subscribeWith$slambda).ei = function () {
399
- var suspendResult = this.xh_1;
534
+ protoOf(GameServer$subscribeWith$slambda).di = function () {
535
+ var suspendResult = this.wh_1;
400
536
  $sm: do
401
537
  try {
402
- var tmp = this.vh_1;
538
+ var tmp = this.uh_1;
403
539
  switch (tmp) {
404
540
  case 0:
405
- this.wh_1 = 2;
406
- this.vh_1 = 1;
407
- var tmp_0 = distinctUntilChanged(this.b7p_1.r2w());
408
- var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.c7p_1, null);
409
- suspendResult = tmp_0.ux(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
541
+ this.vh_1 = 2;
542
+ this.uh_1 = 1;
543
+ var tmp_0 = distinctUntilChanged(this.z86_1.w39());
544
+ var tmp_1 = GameServer$subscribeWith$slambda$slambda_0(this.a87_1, null);
545
+ suspendResult = tmp_0.ay(new sam$kotlinx_coroutines_flow_FlowCollector$0_0(tmp_1), this);
410
546
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
411
547
  return suspendResult;
412
548
  }
@@ -415,34 +551,34 @@
415
551
  case 1:
416
552
  return Unit_getInstance();
417
553
  case 2:
418
- throw this.yh_1;
554
+ throw this.xh_1;
419
555
  }
420
556
  } catch ($p) {
421
557
  var e = $p;
422
- if (this.wh_1 === 2) {
558
+ if (this.vh_1 === 2) {
423
559
  throw e;
424
560
  } else {
425
- this.vh_1 = this.wh_1;
426
- this.yh_1 = e;
561
+ this.uh_1 = this.vh_1;
562
+ this.xh_1 = e;
427
563
  }
428
564
  }
429
565
  while (true);
430
566
  };
431
- protoOf(GameServer$subscribeWith$slambda).z13 = function ($this$launchWorker, completion) {
432
- var i = new GameServer$subscribeWith$slambda(this.b7p_1, this.c7p_1, completion);
433
- i.d7p_1 = $this$launchWorker;
567
+ protoOf(GameServer$subscribeWith$slambda).x14 = function ($this$launchWorker, completion) {
568
+ var i = new GameServer$subscribeWith$slambda(this.z86_1, this.a87_1, completion);
569
+ i.b87_1 = $this$launchWorker;
434
570
  return i;
435
571
  };
436
572
  function GameServer$subscribeWith$slambda_0(this$0, $subscriber, resultContinuation) {
437
573
  var i = new GameServer$subscribeWith$slambda(this$0, $subscriber, resultContinuation);
438
574
  var l = function ($this$launchWorker, $completion) {
439
- return i.y13($this$launchWorker, $completion);
575
+ return i.w14($this$launchWorker, $completion);
440
576
  };
441
577
  l.$arity = 1;
442
578
  return l;
443
579
  }
444
580
  function GameServer(di, tag, storeContract, preloadedState, externalReducers, externalMiddlewares) {
445
- preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_getInstance_5().e7p()) : preloadedState;
581
+ preloadedState = preloadedState === VOID ? new AppState(VOID, Companion_getInstance_6().c87()) : preloadedState;
446
582
  var tmp;
447
583
  if (externalReducers === VOID) {
448
584
  var tmp$ret$0;
@@ -476,77 +612,90 @@
476
612
  var tmp_2 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
477
613
  tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
478
614
  tmp$ret$3 = Instance(di, tmp$ret$2, null);
479
- tmp_1.q7o_1 = tmp$ret$3.j2g(this, logger$factory());
615
+ tmp_1.b86_1 = tmp$ret$3.b2r(this, logger$factory());
480
616
  var tmp_3 = this;
481
- var tmp0_externalMiddlewares = plus(storeContract.m4j(), externalMiddlewares);
482
- var tmp1_externalReducers = plus(storeContract.l4j(), externalReducers);
483
- tmp_3.r7o_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
617
+ var tmp$ret$5;
618
+ // Inline function 'org.kodein.di.instance' call
619
+ var tmp$ret$4;
620
+ // Inline function 'org.kodein.type.generic' call
621
+ var tmp_4 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
622
+ tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
623
+ tmp$ret$5 = Instance(di, tmp$ret$4, null);
624
+ tmp_3.c86_1 = tmp$ret$5.b2r(this, toClientEventsObserver$factory());
625
+ var tmp_5 = this;
626
+ var tmp0_externalMiddlewares = plus(storeContract.j4y(), externalMiddlewares);
627
+ var tmp1_externalReducers = plus(storeContract.i4y(), externalReducers);
628
+ tmp_5.d86_1 = new GameStore(di, tag, preloadedState, tmp1_externalReducers, tmp0_externalMiddlewares);
484
629
  }
485
- protoOf(GameServer).b2w = function () {
486
- return this.r7o_1;
630
+ protoOf(GameServer).g39 = function () {
631
+ return this.d86_1;
632
+ };
633
+ protoOf(GameServer).a3b = function () {
634
+ return this.yj().b3b().id;
487
635
  };
488
- protoOf(GameServer).v2x = function () {
489
- return this.zj().w2x().id;
636
+ protoOf(GameServer).b3b = function () {
637
+ return this.yj().b3b();
490
638
  };
491
- protoOf(GameServer).w2x = function () {
492
- return this.zj().w2x();
639
+ protoOf(GameServer).c3b = function () {
640
+ return this.yj().c3b();
493
641
  };
494
- protoOf(GameServer).x2x = function () {
495
- return this.zj().x2x();
642
+ protoOf(GameServer).d3b = function () {
643
+ return this.yj().z39_1;
496
644
  };
497
- protoOf(GameServer).y2x = function () {
498
- return this.zj().u2w_1;
645
+ protoOf(GameServer).subscribeToClientAction = function (subscriber) {
646
+ var tmp = this.e39();
647
+ tmp.y30(VOID, GameServer$subscribeToClientAction$slambda_0(this, subscriber, null));
499
648
  };
500
649
  protoOf(GameServer).subscribeWith = function (subscriber) {
501
- var tmp = this.z2v();
502
- tmp.g2p(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
650
+ var tmp = this.e39();
651
+ tmp.y30(VOID, GameServer$subscribeWith$slambda_0(this, subscriber, null));
503
652
  };
504
653
  protoOf(GameServer).fromClientEvent = function (action) {
505
654
  _get_logger__rkp4sl(this).d(VOID, 'fromClientEvent: ' + action.playerId + ', ' + action.actionTag);
506
- this.r7o_1.y2q().dispatch(action);
655
+ this.d86_1.o32().dispatch(action);
507
656
  };
508
657
  protoOf(GameServer).playerLostConnection = function (playerId) {
509
658
  _get_logger__rkp4sl(this).d(VOID, 'playerLostConnection: ' + playerId);
510
- var tmp = this.r7o_1.y2q().dispatch;
659
+ var tmp = this.d86_1.o32().dispatch;
511
660
  var tmp0_connectionState = PlayerConnectionState_LOST_CONNECTION_getInstance();
512
661
  tmp(new PlayerConnectionUpdateAction(tmp0_connectionState, playerId));
513
662
  };
514
663
  protoOf(GameServer).playerLive = function (playerId) {
515
664
  _get_logger__rkp4sl(this).d(VOID, 'playerLive: ' + playerId);
516
- var tmp = this.r7o_1.y2q().dispatch;
665
+ var tmp = this.d86_1.o32().dispatch;
517
666
  var tmp0_connectionState = PlayerConnectionState_LIVE_getInstance();
518
667
  tmp(new PlayerConnectionUpdateAction(tmp0_connectionState, playerId));
519
668
  };
520
669
  protoOf(GameServer).playerLeft = function (playerId) {
521
670
  _get_logger__rkp4sl(this).d(VOID, 'playerLeft: ' + playerId);
522
- var tmp = this.r7o_1.y2q().dispatch;
671
+ var tmp = this.d86_1.o32().dispatch;
523
672
  var tmp0_connectionState = PlayerConnectionState_LEFT_getInstance();
524
673
  tmp(new PlayerConnectionUpdateAction(tmp0_connectionState, playerId));
525
674
  };
526
675
  protoOf(GameServer).roomOnCreate = function (roomId, gameCreatorId, config, users) {
527
676
  var usersList = toList(users);
528
677
  var gameCreatorUser = getPlayer(usersList, gameCreatorId);
529
- this.r7o_1.y2q().dispatch(new RoomWasCreatedAction(roomId, gameCreatorId, config, sortWithItem(usersList, gameCreatorUser)));
678
+ this.d86_1.o32().dispatch(new RoomWasCreatedAction(roomId, gameCreatorId, config, sortWithItem(usersList, gameCreatorUser)));
530
679
  };
531
680
  protoOf(GameServer).roomOnDelete = function () {
532
- this.r7o_1.y2q().dispatch(RoomWasDeletedAction_getInstance());
681
+ this.d86_1.o32().dispatch(RoomWasDeletedAction_getInstance());
533
682
  };
534
683
  protoOf(GameServer).clear = function () {
535
- protoOf(BaseGame).x2.call(this);
684
+ protoOf(BaseGame).t2.call(this);
536
685
  };
537
- protoOf(GameServer).x2 = function () {
686
+ protoOf(GameServer).t2 = function () {
538
687
  return this.clear();
539
688
  };
540
689
  protoOf(GameServer).setCanStartNewGameEnabled = function (enabled) {
541
- this.r7o_1.y2q().dispatch(new UpdateServerConfigAction(get_serverState(this.r7o_1.y2q().state).f7p_1.h7p(enabled)));
690
+ this.d86_1.o32().dispatch(new UpdateServerConfigAction(get_serverState(this.d86_1.o32().state).d87_1.f87(enabled)));
542
691
  };
543
692
  protoOf(GameServer).shutdown = function (reason) {
544
- if (this.r7o_1.y2q().state.x2x()) {
693
+ if (this.d86_1.o32().state.c3b()) {
545
694
  var tmp0_elvis_lhs = toDomainEnumSafe(reason, get_serverShutdownReasonMapping());
546
695
  var shutdownReason = tmp0_elvis_lhs == null ? ServerShutdownReason_ERROR_getInstance() : tmp0_elvis_lhs;
547
- var tmp = this.r7o_1.y2q().dispatch;
696
+ var tmp = this.d86_1.o32().dispatch;
548
697
  var tmp1_subject = shutdownReason;
549
- var tmp0 = tmp1_subject.q5_1;
698
+ var tmp0 = tmp1_subject.m5_1;
550
699
  var tmp_0;
551
700
  switch (tmp0) {
552
701
  case 0:
@@ -562,31 +711,41 @@
562
711
  tmp(new FinishingGameMechanicAction(tmp_0));
563
712
  } else {
564
713
  _get_logger__rkp4sl(this).w(VOID, "GameServer: can't shutdown engine without table");
565
- this.r7o_1.y2q().dispatch(ClearAction_getInstance());
714
+ this.d86_1.o32().dispatch(ClearAction_getInstance());
566
715
  }
567
716
  };
568
717
  defineProp(protoOf(GameServer), 'id', function () {
569
- return this.v2x();
718
+ return this.a3b();
570
719
  });
571
720
  defineProp(protoOf(GameServer), 'table', function () {
572
- return this.w2x();
721
+ return this.b3b();
573
722
  });
574
723
  defineProp(protoOf(GameServer), 'isTableExists', function () {
575
- return this.x2x();
724
+ return this.c3b();
576
725
  });
577
726
  defineProp(protoOf(GameServer), 'gameLifecycleState', function () {
578
- return this.y2x();
727
+ return this.d3b();
579
728
  });
580
729
  function logger$factory() {
581
730
  return getPropertyCallableRef('logger', 1, KProperty1, function (receiver) {
582
731
  return _get_logger__rkp4sl(receiver);
583
732
  }, null);
584
733
  }
734
+ function toClientEventsObserver$factory() {
735
+ return getPropertyCallableRef('toClientEventsObserver', 1, KProperty1, function (receiver) {
736
+ return _get_toClientEventsObserver__6rp51y(receiver);
737
+ }, null);
738
+ }
585
739
  function logger$factory_0() {
586
740
  return getPropertyCallableRef('logger', 1, KProperty1, function (receiver) {
587
741
  return _get_logger__rkp4sl(receiver);
588
742
  }, null);
589
743
  }
744
+ function toClientEventsObserver$factory_0() {
745
+ return getPropertyCallableRef('toClientEventsObserver', 1, KProperty1, function (receiver) {
746
+ return _get_toClientEventsObserver__6rp51y(receiver);
747
+ }, null);
748
+ }
590
749
  function get_serverShutdownReasonMapping() {
591
750
  _init_properties_ReasonsMappers_kt__p6o0hv();
592
751
  return serverShutdownReasonMapping;
@@ -600,44 +759,102 @@
600
759
  serverShutdownReasonMapping = mapOf([to('deploy', ServerShutdownReason_DEPLOY_getInstance()), to('error', ServerShutdownReason_ERROR_getInstance())]);
601
760
  }
602
761
  }
603
- function ServerReduxConfig(finishGameIfAllBots, waitForPlayerToReconnect, waitForPlayerToReconnectTimeOutMillis, closeIfBotsAtFinish, botReplacesPlayerAfterTimeout, delayToAskBotMillis) {
762
+ function ServerReduxConfig(finishGameIfAllBots, waitForPlayerToReconnect, waitForPlayerToReconnectTimeOutMillis, closeIfBotsAtFinish, botReplacesPlayerAfterTimeout, enabledCombinedEvents, delayToAskBotMillis) {
604
763
  finishGameIfAllBots = finishGameIfAllBots === VOID ? true : finishGameIfAllBots;
605
764
  waitForPlayerToReconnect = waitForPlayerToReconnect === VOID ? true : waitForPlayerToReconnect;
606
765
  var tmp;
607
766
  if (waitForPlayerToReconnectTimeOutMillis === VOID) {
608
767
  Companion_getInstance();
609
- tmp = new Long(30000, 0);
768
+ tmp = 30000;
610
769
  } else {
611
770
  tmp = waitForPlayerToReconnectTimeOutMillis;
612
771
  }
613
772
  waitForPlayerToReconnectTimeOutMillis = tmp;
614
773
  closeIfBotsAtFinish = closeIfBotsAtFinish === VOID ? true : closeIfBotsAtFinish;
615
774
  botReplacesPlayerAfterTimeout = botReplacesPlayerAfterTimeout === VOID ? true : botReplacesPlayerAfterTimeout;
775
+ enabledCombinedEvents = enabledCombinedEvents === VOID ? false : enabledCombinedEvents;
616
776
  var tmp_0;
617
777
  if (delayToAskBotMillis === VOID) {
618
778
  Companion_getInstance();
619
- tmp_0 = new Long(3000, 0);
779
+ tmp_0 = 3000;
620
780
  } else {
621
781
  tmp_0 = delayToAskBotMillis;
622
782
  }
623
783
  delayToAskBotMillis = tmp_0;
624
- this.i7p_1 = finishGameIfAllBots;
625
- this.j7p_1 = waitForPlayerToReconnect;
626
- this.k7p_1 = waitForPlayerToReconnectTimeOutMillis;
627
- this.l7p_1 = closeIfBotsAtFinish;
628
- this.m7p_1 = botReplacesPlayerAfterTimeout;
629
- this.n7p_1 = delayToAskBotMillis;
630
- }
784
+ this.finishGameIfAllBots = finishGameIfAllBots;
785
+ this.waitForPlayerToReconnect = waitForPlayerToReconnect;
786
+ this.waitForPlayerToReconnectTimeOutMillis = waitForPlayerToReconnectTimeOutMillis;
787
+ this.closeIfBotsAtFinish = closeIfBotsAtFinish;
788
+ this.botReplacesPlayerAfterTimeout = botReplacesPlayerAfterTimeout;
789
+ this.enabledCombinedEvents = enabledCombinedEvents;
790
+ this.delayToAskBotMillis = delayToAskBotMillis;
791
+ }
792
+ protoOf(ServerReduxConfig).g87 = function () {
793
+ return this.finishGameIfAllBots;
794
+ };
795
+ protoOf(ServerReduxConfig).h87 = function () {
796
+ return this.waitForPlayerToReconnect;
797
+ };
798
+ protoOf(ServerReduxConfig).i87 = function () {
799
+ return this.waitForPlayerToReconnectTimeOutMillis;
800
+ };
801
+ protoOf(ServerReduxConfig).j87 = function () {
802
+ return this.closeIfBotsAtFinish;
803
+ };
804
+ protoOf(ServerReduxConfig).k87 = function () {
805
+ return this.botReplacesPlayerAfterTimeout;
806
+ };
807
+ protoOf(ServerReduxConfig).l87 = function () {
808
+ return this.enabledCombinedEvents;
809
+ };
810
+ protoOf(ServerReduxConfig).m87 = function () {
811
+ return this.delayToAskBotMillis;
812
+ };
813
+ protoOf(ServerReduxConfig).v3 = function () {
814
+ return this.finishGameIfAllBots;
815
+ };
816
+ protoOf(ServerReduxConfig).w3 = function () {
817
+ return this.waitForPlayerToReconnect;
818
+ };
819
+ protoOf(ServerReduxConfig).g9 = function () {
820
+ return this.waitForPlayerToReconnectTimeOutMillis;
821
+ };
822
+ protoOf(ServerReduxConfig).g2t = function () {
823
+ return this.closeIfBotsAtFinish;
824
+ };
825
+ protoOf(ServerReduxConfig).h2t = function () {
826
+ return this.botReplacesPlayerAfterTimeout;
827
+ };
828
+ protoOf(ServerReduxConfig).i2t = function () {
829
+ return this.enabledCombinedEvents;
830
+ };
831
+ protoOf(ServerReduxConfig).k2w = function () {
832
+ return this.delayToAskBotMillis;
833
+ };
834
+ protoOf(ServerReduxConfig).n87 = function (finishGameIfAllBots, waitForPlayerToReconnect, waitForPlayerToReconnectTimeOutMillis, closeIfBotsAtFinish, botReplacesPlayerAfterTimeout, enabledCombinedEvents, delayToAskBotMillis) {
835
+ return new ServerReduxConfig(finishGameIfAllBots, waitForPlayerToReconnect, waitForPlayerToReconnectTimeOutMillis, closeIfBotsAtFinish, botReplacesPlayerAfterTimeout, enabledCombinedEvents, delayToAskBotMillis);
836
+ };
837
+ protoOf(ServerReduxConfig).copy = function (finishGameIfAllBots, waitForPlayerToReconnect, waitForPlayerToReconnectTimeOutMillis, closeIfBotsAtFinish, botReplacesPlayerAfterTimeout, enabledCombinedEvents, delayToAskBotMillis, $super) {
838
+ finishGameIfAllBots = finishGameIfAllBots === VOID ? this.finishGameIfAllBots : finishGameIfAllBots;
839
+ waitForPlayerToReconnect = waitForPlayerToReconnect === VOID ? this.waitForPlayerToReconnect : waitForPlayerToReconnect;
840
+ waitForPlayerToReconnectTimeOutMillis = waitForPlayerToReconnectTimeOutMillis === VOID ? this.waitForPlayerToReconnectTimeOutMillis : waitForPlayerToReconnectTimeOutMillis;
841
+ closeIfBotsAtFinish = closeIfBotsAtFinish === VOID ? this.closeIfBotsAtFinish : closeIfBotsAtFinish;
842
+ botReplacesPlayerAfterTimeout = botReplacesPlayerAfterTimeout === VOID ? this.botReplacesPlayerAfterTimeout : botReplacesPlayerAfterTimeout;
843
+ enabledCombinedEvents = enabledCombinedEvents === VOID ? this.enabledCombinedEvents : enabledCombinedEvents;
844
+ delayToAskBotMillis = delayToAskBotMillis === VOID ? this.delayToAskBotMillis : delayToAskBotMillis;
845
+ return this.n87(finishGameIfAllBots, waitForPlayerToReconnect, waitForPlayerToReconnectTimeOutMillis, closeIfBotsAtFinish, botReplacesPlayerAfterTimeout, enabledCombinedEvents, delayToAskBotMillis);
846
+ };
631
847
  protoOf(ServerReduxConfig).toString = function () {
632
- return 'ServerReduxConfig(finishGameIfAllBots=' + this.i7p_1 + ', waitForPlayerToReconnect=' + this.j7p_1 + ', waitForPlayerToReconnectTimeOutMillis=' + toString(this.k7p_1) + ', closeIfBotsAtFinish=' + this.l7p_1 + ', botReplacesPlayerAfterTimeout=' + this.m7p_1 + ', delayToAskBotMillis=' + toString(this.n7p_1) + ')';
848
+ return 'ServerReduxConfig(finishGameIfAllBots=' + this.finishGameIfAllBots + ', waitForPlayerToReconnect=' + this.waitForPlayerToReconnect + ', waitForPlayerToReconnectTimeOutMillis=' + this.waitForPlayerToReconnectTimeOutMillis + ', closeIfBotsAtFinish=' + this.closeIfBotsAtFinish + ', botReplacesPlayerAfterTimeout=' + this.botReplacesPlayerAfterTimeout + ', enabledCombinedEvents=' + this.enabledCombinedEvents + ', delayToAskBotMillis=' + this.delayToAskBotMillis + ')';
633
849
  };
634
850
  protoOf(ServerReduxConfig).hashCode = function () {
635
- var result = this.i7p_1 | 0;
636
- result = imul(result, 31) + (this.j7p_1 | 0) | 0;
637
- result = imul(result, 31) + this.k7p_1.hashCode() | 0;
638
- result = imul(result, 31) + (this.l7p_1 | 0) | 0;
639
- result = imul(result, 31) + (this.m7p_1 | 0) | 0;
640
- result = imul(result, 31) + this.n7p_1.hashCode() | 0;
851
+ var result = this.finishGameIfAllBots | 0;
852
+ result = imul(result, 31) + (this.waitForPlayerToReconnect | 0) | 0;
853
+ result = imul(result, 31) + this.waitForPlayerToReconnectTimeOutMillis | 0;
854
+ result = imul(result, 31) + (this.closeIfBotsAtFinish | 0) | 0;
855
+ result = imul(result, 31) + (this.botReplacesPlayerAfterTimeout | 0) | 0;
856
+ result = imul(result, 31) + (this.enabledCombinedEvents | 0) | 0;
857
+ result = imul(result, 31) + this.delayToAskBotMillis | 0;
641
858
  return result;
642
859
  };
643
860
  protoOf(ServerReduxConfig).equals = function (other) {
@@ -646,17 +863,19 @@
646
863
  if (!(other instanceof ServerReduxConfig))
647
864
  return false;
648
865
  var tmp0_other_with_cast = other instanceof ServerReduxConfig ? other : THROW_CCE();
649
- if (!(this.i7p_1 === tmp0_other_with_cast.i7p_1))
866
+ if (!(this.finishGameIfAllBots === tmp0_other_with_cast.finishGameIfAllBots))
867
+ return false;
868
+ if (!(this.waitForPlayerToReconnect === tmp0_other_with_cast.waitForPlayerToReconnect))
650
869
  return false;
651
- if (!(this.j7p_1 === tmp0_other_with_cast.j7p_1))
870
+ if (!(this.waitForPlayerToReconnectTimeOutMillis === tmp0_other_with_cast.waitForPlayerToReconnectTimeOutMillis))
652
871
  return false;
653
- if (!this.k7p_1.equals(tmp0_other_with_cast.k7p_1))
872
+ if (!(this.closeIfBotsAtFinish === tmp0_other_with_cast.closeIfBotsAtFinish))
654
873
  return false;
655
- if (!(this.l7p_1 === tmp0_other_with_cast.l7p_1))
874
+ if (!(this.botReplacesPlayerAfterTimeout === tmp0_other_with_cast.botReplacesPlayerAfterTimeout))
656
875
  return false;
657
- if (!(this.m7p_1 === tmp0_other_with_cast.m7p_1))
876
+ if (!(this.enabledCombinedEvents === tmp0_other_with_cast.enabledCombinedEvents))
658
877
  return false;
659
- if (!this.n7p_1.equals(tmp0_other_with_cast.n7p_1))
878
+ if (!(this.delayToAskBotMillis === tmp0_other_with_cast.delayToAskBotMillis))
660
879
  return false;
661
880
  return true;
662
881
  };
@@ -688,16 +907,16 @@
688
907
  return tmp instanceof ServerUserPayload ? tmp : THROW_CCE();
689
908
  }
690
909
  function ServerConfig(canStartNewGame) {
691
- this.g7p_1 = canStartNewGame;
910
+ this.e87_1 = canStartNewGame;
692
911
  }
693
- protoOf(ServerConfig).h7p = function (canStartNewGame) {
912
+ protoOf(ServerConfig).f87 = function (canStartNewGame) {
694
913
  return new ServerConfig(canStartNewGame);
695
914
  };
696
915
  protoOf(ServerConfig).toString = function () {
697
- return 'ServerConfig(canStartNewGame=' + this.g7p_1 + ')';
916
+ return 'ServerConfig(canStartNewGame=' + this.e87_1 + ')';
698
917
  };
699
918
  protoOf(ServerConfig).hashCode = function () {
700
- return this.g7p_1 | 0;
919
+ return this.e87_1 | 0;
701
920
  };
702
921
  protoOf(ServerConfig).equals = function (other) {
703
922
  if (this === other)
@@ -705,7 +924,7 @@
705
924
  if (!(other instanceof ServerConfig))
706
925
  return false;
707
926
  var tmp0_other_with_cast = other instanceof ServerConfig ? other : THROW_CCE();
708
- if (!(this.g7p_1 === tmp0_other_with_cast.g7p_1))
927
+ if (!(this.e87_1 === tmp0_other_with_cast.e87_1))
709
928
  return false;
710
929
  return true;
711
930
  };
@@ -723,19 +942,19 @@
723
942
  };
724
943
  }
725
944
  function createGameServerDI$lambda$lambda_0($this$singleton) {
726
- return new ServerGameStoreContract($this$singleton.z2a());
945
+ return new ServerGameStoreContract($this$singleton.r2l());
727
946
  }
728
947
  function createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares) {
729
948
  return function ($this$singleton) {
730
- var tmp = $this$singleton.z2a();
949
+ var tmp = $this$singleton.r2l();
731
950
  var tmp$ret$1;
732
951
  // Inline function 'org.kodein.di.instance' call
733
- var tmp_0 = $this$singleton.b2c();
952
+ var tmp_0 = $this$singleton.t2m();
734
953
  var tmp$ret$0;
735
954
  // Inline function 'org.kodein.type.generic' call
736
955
  var tmp_1 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
737
956
  tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
738
- tmp$ret$1 = tmp_0.c2c(tmp$ret$0, null);
957
+ tmp$ret$1 = tmp_0.u2m(tmp$ret$0, null);
739
958
  return new GameServer(tmp, 'Game server', tmp$ret$1, VOID, $externalReducers, $externalMiddlewares);
740
959
  };
741
960
  }
@@ -747,159 +966,376 @@
747
966
  // Inline function 'org.kodein.type.generic' call
748
967
  var tmp = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
749
968
  tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
750
- tmp$ret$1 = $this$$receiver.s2a(tmp$ret$0, null, null);
969
+ tmp$ret$1 = $this$$receiver.k2l(tmp$ret$0, null, null);
751
970
  var tmp_0 = tmp$ret$1;
752
971
  var tmp$ret$3;
753
972
  // Inline function 'org.kodein.di.singleton' call
754
973
  var tmp0_singleton = createGameServerDI$lambda$lambda($serverConfig);
755
- var tmp_1 = $this$$receiver.i2c();
756
- var tmp_2 = $this$$receiver.j2c();
757
- var tmp_3 = $this$$receiver.h2e();
974
+ var tmp_1 = $this$$receiver.a2n();
975
+ var tmp_2 = $this$$receiver.b2n();
976
+ var tmp_3 = $this$$receiver.z2o();
758
977
  var tmp$ret$2;
759
978
  // Inline function 'org.kodein.type.generic' call
760
979
  var tmp_4 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
761
980
  tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
762
981
  tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, tmp0_singleton);
763
- tmp_0.m2e(tmp$ret$3);
764
- $this$$receiver.u2a(getServerEngineGameDI($botConfig, $logicConfig));
982
+ tmp_0.e2p(tmp$ret$3);
983
+ $this$$receiver.m2l(getServerEngineGameDI($botConfig, $logicConfig));
765
984
  var tmp$ret$5;
766
985
  // Inline function 'org.kodein.di.bind' call
767
986
  var tmp$ret$4;
768
987
  // Inline function 'org.kodein.type.generic' call
769
988
  var tmp_5 = typeToken(createKType(getKClass(StoreContract), arrayOf([]), false));
770
989
  tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
771
- tmp$ret$5 = $this$$receiver.s2a(tmp$ret$4, null, null);
990
+ tmp$ret$5 = $this$$receiver.k2l(tmp$ret$4, null, null);
772
991
  var tmp_6 = tmp$ret$5;
773
992
  var tmp$ret$7;
774
993
  // Inline function 'org.kodein.di.singleton' call
775
994
  var tmp1_singleton = createGameServerDI$lambda$lambda_0;
776
- var tmp_7 = $this$$receiver.i2c();
777
- var tmp_8 = $this$$receiver.j2c();
778
- var tmp_9 = $this$$receiver.h2e();
995
+ var tmp_7 = $this$$receiver.a2n();
996
+ var tmp_8 = $this$$receiver.b2n();
997
+ var tmp_9 = $this$$receiver.z2o();
779
998
  var tmp$ret$6;
780
999
  // Inline function 'org.kodein.type.generic' call
781
1000
  var tmp_10 = typeToken(createKType(getKClass(ServerGameStoreContract), arrayOf([]), false));
782
1001
  tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
783
1002
  tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, tmp1_singleton);
784
- tmp_6.m2e(tmp$ret$7);
1003
+ tmp_6.e2p(tmp$ret$7);
785
1004
  var tmp$ret$9;
786
1005
  // Inline function 'org.kodein.di.bind' call
787
1006
  var tmp$ret$8;
788
1007
  // Inline function 'org.kodein.type.generic' call
789
1008
  var tmp_11 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
790
1009
  tmp$ret$8 = isInterface(tmp_11, TypeToken) ? tmp_11 : THROW_CCE();
791
- tmp$ret$9 = $this$$receiver.s2a(tmp$ret$8, null, null);
1010
+ tmp$ret$9 = $this$$receiver.k2l(tmp$ret$8, null, null);
792
1011
  var tmp_12 = tmp$ret$9;
793
1012
  var tmp$ret$11;
794
1013
  // Inline function 'org.kodein.di.singleton' call
795
1014
  var tmp2_singleton = createGameServerDI$lambda$lambda_1($externalReducers, $externalMiddlewares);
796
- var tmp_13 = $this$$receiver.i2c();
797
- var tmp_14 = $this$$receiver.j2c();
798
- var tmp_15 = $this$$receiver.h2e();
1015
+ var tmp_13 = $this$$receiver.a2n();
1016
+ var tmp_14 = $this$$receiver.b2n();
1017
+ var tmp_15 = $this$$receiver.z2o();
799
1018
  var tmp$ret$10;
800
1019
  // Inline function 'org.kodein.type.generic' call
801
1020
  var tmp_16 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
802
1021
  tmp$ret$10 = isInterface(tmp_16, TypeToken) ? tmp_16 : THROW_CCE();
803
1022
  tmp$ret$11 = new Singleton(tmp_13, tmp_14, tmp_15, tmp$ret$10, null, true, tmp2_singleton);
804
- tmp_12.m2e(tmp$ret$11);
1023
+ tmp_12.e2p(tmp$ret$11);
805
1024
  return Unit_getInstance();
806
1025
  };
807
1026
  }
808
1027
  function getServerEngineGameDI$lambda$lambda($this$provider) {
809
1028
  var tmp$ret$1;
810
1029
  // Inline function 'org.kodein.di.instance' call
811
- var tmp = $this$provider.b2c();
1030
+ var tmp = $this$provider.t2m();
812
1031
  var tmp$ret$0;
813
1032
  // Inline function 'org.kodein.type.generic' call
814
1033
  var tmp_0 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
815
1034
  tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
816
- tmp$ret$1 = tmp.c2c(tmp$ret$0, null);
1035
+ tmp$ret$1 = tmp.u2m(tmp$ret$0, null);
817
1036
  var tmp_1 = tmp$ret$1;
818
1037
  var tmp$ret$3;
819
1038
  // Inline function 'org.kodein.di.instance' call
820
- var tmp_2 = $this$provider.b2c();
1039
+ var tmp_2 = $this$provider.t2m();
821
1040
  var tmp$ret$2;
822
1041
  // Inline function 'org.kodein.type.generic' call
823
1042
  var tmp_3 = typeToken(createKType(getKClass(TableLifecycleReducer), arrayOf([]), false));
824
1043
  tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
825
- tmp$ret$3 = tmp_2.c2c(tmp$ret$2, null);
1044
+ tmp$ret$3 = tmp_2.u2m(tmp$ret$2, null);
826
1045
  return new ServerMechanicLifecycleReducer(tmp_1, tmp$ret$3);
827
1046
  }
828
1047
  function getServerEngineGameDI$lambda$lambda_0($this$provider) {
829
1048
  var tmp$ret$1;
830
1049
  // Inline function 'org.kodein.di.instance' call
831
- var tmp = $this$provider.b2c();
1050
+ var tmp = $this$provider.t2m();
832
1051
  var tmp$ret$0;
833
1052
  // Inline function 'org.kodein.type.generic' call
834
1053
  var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
835
1054
  tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
836
- tmp$ret$1 = tmp.c2c(tmp$ret$0, null);
1055
+ tmp$ret$1 = tmp.u2m(tmp$ret$0, null);
837
1056
  var tmp_1 = tmp$ret$1;
838
1057
  var tmp$ret$3;
839
1058
  // Inline function 'org.kodein.di.instance' call
840
- var tmp_2 = $this$provider.b2c();
1059
+ var tmp_2 = $this$provider.t2m();
841
1060
  var tmp$ret$2;
842
1061
  // Inline function 'org.kodein.type.generic' call
843
1062
  var tmp_3 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
844
1063
  tmp$ret$2 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
845
- tmp$ret$3 = tmp_2.c2c(tmp$ret$2, null);
1064
+ tmp$ret$3 = tmp_2.u2m(tmp$ret$2, null);
846
1065
  return new ReconnectionInteractor(tmp_1, tmp$ret$3);
847
1066
  }
1067
+ function getServerEngineGameDI$lambda$lambda_1($this$singleton) {
1068
+ var tmp$ret$1;
1069
+ // Inline function 'org.kodein.di.instance' call
1070
+ var tmp = $this$singleton.t2m();
1071
+ var tmp$ret$0;
1072
+ // Inline function 'org.kodein.type.generic' call
1073
+ var tmp_0 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
1074
+ tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
1075
+ tmp$ret$1 = tmp.u2m(tmp$ret$0, null);
1076
+ return new ToClientEventsObserverImpl(tmp$ret$1);
1077
+ }
848
1078
  function getServerEngineGameDI$lambda($botReduxConfig, $logicReduxConfig) {
849
1079
  return function ($this$$receiver) {
850
- $this$$receiver.u2a(jsonModule(emptyList()));
851
- $this$$receiver.u2a(getEngineGameModule($botReduxConfig, $logicReduxConfig));
1080
+ $this$$receiver.m2l(jsonModule(emptyList()));
1081
+ $this$$receiver.m2l(getEngineGameModule($botReduxConfig, $logicReduxConfig));
852
1082
  var tmp$ret$1;
853
1083
  // Inline function 'org.kodein.di.bind' call
854
1084
  var tmp$ret$0;
855
1085
  // Inline function 'org.kodein.type.generic' call
856
1086
  var tmp = typeToken(createKType(getKClass(MechanicLifecycleReducer), arrayOf([]), false));
857
1087
  tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
858
- tmp$ret$1 = $this$$receiver.s2a(tmp$ret$0, null, null);
1088
+ tmp$ret$1 = $this$$receiver.k2l(tmp$ret$0, null, null);
859
1089
  var tmp_0 = tmp$ret$1;
860
1090
  var tmp$ret$3;
861
1091
  // Inline function 'org.kodein.di.provider' call
862
1092
  var tmp0_provider = getServerEngineGameDI$lambda$lambda;
863
- var tmp_1 = $this$$receiver.j2c();
1093
+ var tmp_1 = $this$$receiver.b2n();
864
1094
  var tmp$ret$2;
865
1095
  // Inline function 'org.kodein.type.generic' call
866
1096
  var tmp_2 = typeToken(createKType(getKClass(ServerMechanicLifecycleReducer), arrayOf([]), false));
867
1097
  tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
868
1098
  tmp$ret$3 = new Provider(tmp_1, tmp$ret$2, tmp0_provider);
869
- tmp_0.m2e(tmp$ret$3);
1099
+ tmp_0.e2p(tmp$ret$3);
870
1100
  var tmp$ret$5;
871
1101
  // Inline function 'org.kodein.di.bind' call
872
1102
  var tmp$ret$4;
873
1103
  // Inline function 'org.kodein.type.generic' call
874
1104
  var tmp_3 = typeToken(createKType(getKClass(ReconnectionInteractor), arrayOf([]), false));
875
1105
  tmp$ret$4 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
876
- tmp$ret$5 = $this$$receiver.s2a(tmp$ret$4, null, null);
1106
+ tmp$ret$5 = $this$$receiver.k2l(tmp$ret$4, null, null);
877
1107
  var tmp_4 = tmp$ret$5;
878
1108
  var tmp$ret$7;
879
1109
  // Inline function 'org.kodein.di.provider' call
880
1110
  var tmp1_provider = getServerEngineGameDI$lambda$lambda_0;
881
- var tmp_5 = $this$$receiver.j2c();
1111
+ var tmp_5 = $this$$receiver.b2n();
882
1112
  var tmp$ret$6;
883
1113
  // Inline function 'org.kodein.type.generic' call
884
1114
  var tmp_6 = typeToken(createKType(getKClass(ReconnectionInteractor), arrayOf([]), false));
885
1115
  tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
886
1116
  tmp$ret$7 = new Provider(tmp_5, tmp$ret$6, tmp1_provider);
887
- tmp_4.m2e(tmp$ret$7);
1117
+ tmp_4.e2p(tmp$ret$7);
1118
+ var tmp$ret$9;
1119
+ // Inline function 'org.kodein.di.bind' call
1120
+ var tmp$ret$8;
1121
+ // Inline function 'org.kodein.type.generic' call
1122
+ var tmp_7 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
1123
+ tmp$ret$8 = isInterface(tmp_7, TypeToken) ? tmp_7 : THROW_CCE();
1124
+ tmp$ret$9 = $this$$receiver.k2l(tmp$ret$8, null, null);
1125
+ var tmp_8 = tmp$ret$9;
1126
+ var tmp$ret$11;
1127
+ // Inline function 'org.kodein.di.singleton' call
1128
+ var tmp2_singleton = getServerEngineGameDI$lambda$lambda_1;
1129
+ var tmp_9 = $this$$receiver.a2n();
1130
+ var tmp_10 = $this$$receiver.b2n();
1131
+ var tmp_11 = $this$$receiver.z2o();
1132
+ var tmp$ret$10;
1133
+ // Inline function 'org.kodein.type.generic' call
1134
+ var tmp_12 = typeToken(createKType(getKClass(ToClientEventsObserverImpl), arrayOf([]), false));
1135
+ tmp$ret$10 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
1136
+ tmp$ret$11 = new Singleton(tmp_9, tmp_10, tmp_11, tmp$ret$10, null, true, tmp2_singleton);
1137
+ tmp_8.e2p(tmp$ret$11);
888
1138
  return Unit_getInstance();
889
1139
  };
890
1140
  }
891
1141
  function ServerGameEngineContract() {
892
1142
  }
1143
+ function ToClientEventsObserver() {
1144
+ }
1145
+ function ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda($actions, resultContinuation) {
1146
+ this.x87_1 = $actions;
1147
+ CoroutineImpl.call(this, resultContinuation);
1148
+ }
1149
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).f88 = function ($this$flow, $completion) {
1150
+ var tmp = this.g88($this$flow, $completion);
1151
+ tmp.wh_1 = Unit_getInstance();
1152
+ tmp.xh_1 = null;
1153
+ return tmp.di();
1154
+ };
1155
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).pi = function (p1, $completion) {
1156
+ return this.f88((!(p1 == null) ? isInterface(p1, FlowCollector) : false) ? p1 : THROW_CCE(), $completion);
1157
+ };
1158
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).di = function () {
1159
+ var suspendResult = this.wh_1;
1160
+ $sm: do
1161
+ try {
1162
+ var tmp = this.uh_1;
1163
+ switch (tmp) {
1164
+ case 0:
1165
+ this.vh_1 = 7;
1166
+ this.z87_1 = this.x87_1.i();
1167
+ if (this.z87_1 === 0) {
1168
+ this.uh_1 = 6;
1169
+ continue $sm;
1170
+ } else {
1171
+ if (this.z87_1 === 1) {
1172
+ this.uh_1 = 5;
1173
+ suspendResult = this.y87_1.ny(single(this.x87_1), this);
1174
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1175
+ return suspendResult;
1176
+ }
1177
+ continue $sm;
1178
+ } else {
1179
+ var tmp_0 = this;
1180
+ var tmp0_groupByTo = LinkedHashMap_init_$Create$();
1181
+ var tmp0_iterator = this.x87_1.f();
1182
+ while (tmp0_iterator.g()) {
1183
+ var element = tmp0_iterator.h();
1184
+ var key = element.deliveryPayload;
1185
+ var value = tmp0_groupByTo.w1(key);
1186
+ var tmp_1;
1187
+ if (value == null) {
1188
+ var answer = ArrayList_init_$Create$();
1189
+ tmp0_groupByTo.x3(key, answer);
1190
+ tmp_1 = answer;
1191
+ } else {
1192
+ tmp_1 = value;
1193
+ }
1194
+ var list = tmp_1;
1195
+ list.a(element);
1196
+ }
1197
+ tmp_0.a88_1 = tmp0_groupByTo;
1198
+ var tmp_2 = this;
1199
+ tmp_2.b88_1 = this.a88_1.q().f();
1200
+ this.uh_1 = 1;
1201
+ continue $sm;
1202
+ }
1203
+ }
1204
+
1205
+ break;
1206
+ case 1:
1207
+ if (!this.b88_1.g()) {
1208
+ this.uh_1 = 4;
1209
+ continue $sm;
1210
+ }
1211
+
1212
+ this.c88_1 = this.b88_1.h();
1213
+ var tmp_3 = this;
1214
+ tmp_3.d88_1 = this.c88_1.j1();
1215
+ var tmp_4 = this;
1216
+ tmp_4.e88_1 = this.c88_1.l1();
1217
+ if (this.e88_1.i() === 1) {
1218
+ this.uh_1 = 2;
1219
+ suspendResult = this.y87_1.ny(single(this.e88_1), this);
1220
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
1221
+ return suspendResult;
1222
+ }
1223
+ continue $sm;
1224
+ } else {
1225
+ new CombinedToClientAction(this.d88_1, this.e88_1);
1226
+ this.uh_1 = 3;
1227
+ continue $sm;
1228
+ }
1229
+
1230
+ break;
1231
+ case 2:
1232
+ this.uh_1 = 3;
1233
+ continue $sm;
1234
+ case 3:
1235
+ this.uh_1 = 1;
1236
+ continue $sm;
1237
+ case 4:
1238
+ this.uh_1 = 6;
1239
+ continue $sm;
1240
+ case 5:
1241
+ this.uh_1 = 6;
1242
+ continue $sm;
1243
+ case 6:
1244
+ return Unit_getInstance();
1245
+ case 7:
1246
+ throw this.xh_1;
1247
+ }
1248
+ } catch ($p) {
1249
+ var e = $p;
1250
+ if (this.vh_1 === 7) {
1251
+ throw e;
1252
+ } else {
1253
+ this.uh_1 = this.vh_1;
1254
+ this.xh_1 = e;
1255
+ }
1256
+ }
1257
+ while (true);
1258
+ };
1259
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda).g88 = function ($this$flow, completion) {
1260
+ var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda(this.x87_1, completion);
1261
+ i.y87_1 = $this$flow;
1262
+ return i;
1263
+ };
1264
+ function ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0($actions, resultContinuation) {
1265
+ var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda($actions, resultContinuation);
1266
+ var l = function ($this$flow, $completion) {
1267
+ return i.f88($this$flow, $completion);
1268
+ };
1269
+ l.$arity = 1;
1270
+ return l;
1271
+ }
1272
+ function ToClientEventsObserverImpl$observeFromClientEvents$slambda(resultContinuation) {
1273
+ CoroutineImpl.call(this, resultContinuation);
1274
+ }
1275
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).q88 = function (actions, $completion) {
1276
+ var tmp = this.r88(actions, $completion);
1277
+ tmp.wh_1 = Unit_getInstance();
1278
+ tmp.xh_1 = null;
1279
+ return tmp.di();
1280
+ };
1281
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).pi = function (p1, $completion) {
1282
+ return this.q88((!(p1 == null) ? isInterface(p1, List) : false) ? p1 : THROW_CCE(), $completion);
1283
+ };
1284
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).di = function () {
1285
+ var suspendResult = this.wh_1;
1286
+ $sm: do
1287
+ try {
1288
+ var tmp = this.uh_1;
1289
+ if (tmp === 0) {
1290
+ this.vh_1 = 1;
1291
+ return flow(ToClientEventsObserverImpl$observeFromClientEvents$slambda$slambda_0(this.p88_1, null));
1292
+ } else if (tmp === 1) {
1293
+ throw this.xh_1;
1294
+ }
1295
+ } catch ($p) {
1296
+ var e = $p;
1297
+ throw e;
1298
+ }
1299
+ while (true);
1300
+ };
1301
+ protoOf(ToClientEventsObserverImpl$observeFromClientEvents$slambda).r88 = function (actions, completion) {
1302
+ var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(completion);
1303
+ i.p88_1 = actions;
1304
+ return i;
1305
+ };
1306
+ function ToClientEventsObserverImpl$observeFromClientEvents$slambda_0(resultContinuation) {
1307
+ var i = new ToClientEventsObserverImpl$observeFromClientEvents$slambda(resultContinuation);
1308
+ var l = function (actions, $completion) {
1309
+ return i.q88(actions, $completion);
1310
+ };
1311
+ l.$arity = 1;
1312
+ return l;
1313
+ }
1314
+ function ToClientEventsObserverImpl(serverReduxConfig) {
1315
+ this.s88_1 = serverReduxConfig;
1316
+ this.t88_1 = MutableSharedFlow();
1317
+ }
1318
+ protoOf(ToClientEventsObserverImpl).o87 = function (fromEvent, $completion) {
1319
+ var tmp0 = this.t88_1.ny(fromEvent, $completion);
1320
+ return tmp0;
1321
+ };
1322
+ protoOf(ToClientEventsObserverImpl).o6i = function () {
1323
+ if (!this.s88_1.enabledCombinedEvents) {
1324
+ return this.t88_1;
1325
+ }
1326
+ var tmp = timedChunk(this.t88_1, new Long(50, 0));
1327
+ return flatMapConcat(tmp, ToClientEventsObserverImpl$observeFromClientEvents$slambda_0(null));
1328
+ };
893
1329
  function waitPlayerOrDisconnect($this, connectionState, table, player, waitForPlayer, sendFinishToClientActions) {
894
- if ($this.o7p_1.j7p_1 ? waitForPlayer : false) {
1330
+ if ($this.u88_1.waitForPlayerToReconnect ? waitForPlayer : false) {
895
1331
  var tmp0_roomId = table.id;
896
1332
  var tmp1_players = table.playersConnections;
897
1333
  return getWaitingPlayerActions($this, tmp0_roomId, connectionState, player, tmp1_players, sendFinishToClientActions);
898
1334
  }
899
- var isLivePlayersExists_0 = isLivePlayersExists($this, player.y2h(), table.players);
900
- var canRemoveGameWhenNoPlayers = $this.o7p_1.i7p_1 ? !isLivePlayersExists_0 : false;
1335
+ var isLivePlayersExists_0 = isLivePlayersExists($this, player.q2s(), table.players);
1336
+ var canRemoveGameWhenNoPlayers = $this.u88_1.finishGameIfAllBots ? !isLivePlayersExists_0 : false;
901
1337
  var tmp;
902
- if (canRemoveGameWhenNoPlayers ? true : !$this.o7p_1.m7p_1) {
1338
+ if (canRemoveGameWhenNoPlayers ? true : !$this.u88_1.botReplacesPlayerAfterTimeout) {
903
1339
  tmp = listOf(getFinishingAction($this, connectionState, player, table.playersConnections));
904
1340
  } else {
905
1341
  tmp = getPlayerDisconnectedActions($this, connectionState, table.id, player, table.playersConnections, sendFinishToClientActions);
@@ -924,7 +1360,7 @@
924
1360
  var element = tmp0_iterator.h();
925
1361
  var tmp$ret$0;
926
1362
  // Inline function 'com.debertz.logic.server.domain.reconnection.ReconnectionInteractor.isLivePlayersExists.<anonymous>' call
927
- tmp$ret$0 = element.y2h() === exceptPlayerId;
1363
+ tmp$ret$0 = element.q2s() === exceptPlayerId;
928
1364
  if (!tmp$ret$0) {
929
1365
  tmp0_filterNotTo.a(element);
930
1366
  }
@@ -947,7 +1383,7 @@
947
1383
  var element_0 = tmp0_iterator_0.h();
948
1384
  var tmp$ret$4;
949
1385
  // Inline function 'com.debertz.logic.server.domain.reconnection.ReconnectionInteractor.isLivePlayersExists.<anonymous>' call
950
- tmp$ret$4 = element_0.p31_1.d2j_1.isLive;
1386
+ tmp$ret$4 = element_0.s3e_1.n2v().c2u_1.isLive;
951
1387
  if (tmp$ret$4) {
952
1388
  tmp$ret$3 = true;
953
1389
  break $l$block_0;
@@ -956,7 +1392,7 @@
956
1392
  tmp$ret$3 = false;
957
1393
  }
958
1394
  var isLivePlayersExists = tmp$ret$3;
959
- var tmp_0 = 'finishGameIfAllBots: ' + $this.o7p_1.i7p_1 + ', ';
1395
+ var tmp_0 = 'finishGameIfAllBots: ' + $this.u88_1.finishGameIfAllBots + ', ';
960
1396
  var tmp$ret$7;
961
1397
  // Inline function 'kotlin.collections.map' call
962
1398
  var tmp$ret$6;
@@ -967,12 +1403,12 @@
967
1403
  var item = tmp0_iterator_1.h();
968
1404
  var tmp$ret$5;
969
1405
  // Inline function 'com.debertz.logic.server.domain.reconnection.ReconnectionInteractor.isLivePlayersExists.<anonymous>' call
970
- tmp$ret$5 = to(item.y2h(), item.p31_1.d2j_1.p5_1);
1406
+ tmp$ret$5 = to(item.q2s(), item.s3e_1.n2v().c2u_1.l5_1);
971
1407
  tmp2_mapTo.a(tmp$ret$5);
972
1408
  }
973
1409
  tmp$ret$6 = tmp2_mapTo;
974
1410
  tmp$ret$7 = tmp$ret$6;
975
- $this.p7p_1.d('ReconnectionInteractor', tmp_0 + ('isLivePlayersExists: ' + isLivePlayersExists + ', ' + tmp$ret$7));
1411
+ $this.v88_1.d('ReconnectionInteractor', tmp_0 + ('isLivePlayersExists: ' + isLivePlayersExists + ', ' + tmp$ret$7));
976
1412
  return isLivePlayersExists;
977
1413
  }
978
1414
  function getPlayerConnectedActions($this, player, table) {
@@ -981,8 +1417,8 @@
981
1417
  tmp$ret$0 = ArrayList_init_$Create$();
982
1418
  var actionsList = tmp$ret$0;
983
1419
  actionsList.j(listOf(getContinueAction($this, player, table)));
984
- if (player.p31_1.f2j()) {
985
- actionsList.j(listOf_0([new StopTimerAction(new PlayerTurnTimerTag(player.y2h(), player.p31_1.r2j())), new StartTimerAction(new PlayerTurnTimerTag(player.y2h(), player.p31_1.r2j(), true), getContinuePlayerTurnTimerDelayMillis(player, $this.p7p_1), VOID, TimerType_DELAY_getInstance())]));
1420
+ if (player.s3e_1.z2t()) {
1421
+ actionsList.j(listOf_0([new StopTimerAction(new PlayerTurnTimerTag(player.q2s(), player.s3e_1.y2u())), new StartTimerAction(new PlayerTurnTimerTag(player.q2s(), player.s3e_1.y2u(), true), getContinuePlayerTurnTimerDelayMillis(player, $this.v88_1), VOID, TimerType_DELAY_getInstance())]));
986
1422
  }
987
1423
  return actionsList;
988
1424
  }
@@ -994,22 +1430,22 @@
994
1430
  if (finishToClientActions) {
995
1431
  actionsList.j(getFinishToClientActions($this, player, roomId, mapToFinishReason(connectionState, player, players)));
996
1432
  }
997
- actionsList.a(new PlayerConnectionChangedMechanicAction(player.y2h(), connectionState));
998
- if (player.p31_1.f2j()) {
999
- actionsList.a(new AskBotAction(player.y2h(), 'PlayerTurn when connection changed'));
1433
+ actionsList.a(new PlayerConnectionChangedMechanicAction(player.q2s(), connectionState));
1434
+ if (player.s3e_1.z2t()) {
1435
+ actionsList.a(new AskBotAction(player.q2s(), 'PlayerTurn when connection changed'));
1000
1436
  }
1001
1437
  return actionsList;
1002
1438
  }
1003
1439
  function getFinishToClientActions($this, sendToPlayer, roomId, reason) {
1004
- if (!sendToPlayer.p31_1.d2j_1.isLive) {
1440
+ if (!sendToPlayer.s3e_1.n2v().c2u_1.isLive) {
1005
1441
  return emptyList();
1006
1442
  }
1007
- return listOf_0([new FinishingGameToClientAction(Companion_getInstance_0().user(roomId, sendToPlayer.y2h()), reason), new FinishGameToClientAction(Companion_getInstance_0().user(roomId, sendToPlayer.y2h()), reason)]);
1443
+ return listOf_0([new FinishingGameToClientAction(Companion_getInstance_0().user(roomId, sendToPlayer.q2s()), reason), new FinishGameToClientAction(Companion_getInstance_0().user(roomId, sendToPlayer.q2s()), reason)]);
1008
1444
  }
1009
1445
  function getContinueAction($this, sendToPlayer, table) {
1010
- var tmp = Companion_getInstance_0().user(table.id, sendToPlayer.y2h());
1011
- var tmp0_playerId = sendToPlayer.y2h();
1012
- var tmp1_gameCreatorPlayerId = getGameCreator(table.players).y2h();
1446
+ var tmp = Companion_getInstance_0().user(table.id, sendToPlayer.q2s());
1447
+ var tmp0_playerId = sendToPlayer.q2s();
1448
+ var tmp1_gameCreatorPlayerId = getGameCreator(table.players).q2s();
1013
1449
  var tmp2_roomId = table.id;
1014
1450
  var tmp$ret$2;
1015
1451
  // Inline function 'kotlin.collections.map' call
@@ -1022,13 +1458,13 @@
1022
1458
  var item = tmp0_iterator.h();
1023
1459
  var tmp$ret$0;
1024
1460
  // Inline function 'com.debertz.logic.server.domain.reconnection.ReconnectionInteractor.getContinueAction.<anonymous>' call
1025
- tmp$ret$0 = item.y2h();
1461
+ tmp$ret$0 = item.q2s();
1026
1462
  tmp0_mapTo.a(tmp$ret$0);
1027
1463
  }
1028
1464
  tmp$ret$1 = tmp0_mapTo;
1029
1465
  tmp$ret$2 = tmp$ret$1;
1030
1466
  var tmp3_playersIds = tmp$ret$2;
1031
- return new ContinueGameToClientAction(tmp, mapToClient(table, UserActionPayload_init_$Create$(tmp2_roomId, tmp1_gameCreatorPlayerId, tmp0_playerId, tmp3_playersIds)), new PlayerReturnsReason(sendToPlayer.y2h()), null);
1467
+ return new ContinueGameToClientAction(tmp, mapToClient(table, UserActionPayload_init_$Create$(tmp2_roomId, tmp1_gameCreatorPlayerId, tmp0_playerId, tmp3_playersIds)), new PlayerReturnsReason(sendToPlayer.q2s()), null);
1032
1468
  }
1033
1469
  function getFinishingAction($this, state, player, players) {
1034
1470
  return new FinishingGameMechanicAction(mapToFinishReason(state, player, players));
@@ -1041,33 +1477,33 @@
1041
1477
  if (finishToClientActions) {
1042
1478
  actionsList.j(getFinishToClientActions($this, player, roomId, mapToFinishReason(connectionState, player, players)));
1043
1479
  }
1044
- var tmp = System_getInstance().l2g();
1480
+ var tmp = System_getInstance().d2r();
1045
1481
  var tmp$ret$1;
1046
1482
  // Inline function 'kotlin.time.Companion.milliseconds' call
1047
1483
  var tmp0__get_milliseconds__kazo1t = Companion_getInstance_1();
1048
- var tmp1__get_milliseconds__r2e6ua = $this.o7p_1.k7p_1;
1484
+ var tmp1__get_milliseconds__r2e6ua = $this.u88_1.waitForPlayerToReconnectTimeOutMillis;
1049
1485
  tmp$ret$1 = toDuration(tmp1__get_milliseconds__r2e6ua, DurationUnit_MILLISECONDS_getInstance());
1050
- var reconnectUntilTime = tmp.z2g(tmp$ret$1);
1051
- actionsList.j(listOf_0([new PlayerConnectionChangedMechanicAction(player.y2h(), PlayerConnectionState_DISCONNECTING_getInstance(), false, reconnectUntilTime.toString()), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(player.y2h(), connectionState), $this.o7p_1.k7p_1, VOID, TimerType_DELAY_getInstance())]));
1486
+ var reconnectUntilTime = tmp.r2r(tmp$ret$1);
1487
+ actionsList.j(listOf_0([new PlayerConnectionChangedMechanicAction(player.q2s(), PlayerConnectionState_DISCONNECTING_getInstance(), false, reconnectUntilTime.toString()), new StartTimerAction(new PlayerReconnectionWaitingTimerTag(player.q2s(), connectionState), toLong($this.u88_1.waitForPlayerToReconnectTimeOutMillis), VOID, TimerType_DELAY_getInstance())]));
1052
1488
  return actionsList;
1053
1489
  }
1054
1490
  function ReconnectionInteractor(serverConfig, logger) {
1055
- this.o7p_1 = serverConfig;
1056
- this.p7p_1 = logger;
1491
+ this.u88_1 = serverConfig;
1492
+ this.v88_1 = logger;
1057
1493
  }
1058
- protoOf(ReconnectionInteractor).q7p = function (newConnectionState, playerId, table, afterReconnection) {
1494
+ protoOf(ReconnectionInteractor).w88 = function (newConnectionState, playerId, table, afterReconnection) {
1059
1495
  var player = getPlayer(table.players, playerId);
1060
1496
  var tmp0_subject = newConnectionState;
1061
- var tmp0 = tmp0_subject.q5_1;
1497
+ var tmp0 = tmp0_subject.m5_1;
1062
1498
  var tmp;
1063
1499
  switch (tmp0) {
1064
1500
  case 0:
1065
1501
  tmp = getPlayerConnectedActions(this, player, table);
1066
1502
  break;
1067
1503
  case 3:
1068
- var isLivePlayersExists_0 = isLivePlayersExists(this, player.y2h(), table.players);
1069
- var canRemoveGameWhenNoPlayers = this.o7p_1.i7p_1 ? !isLivePlayersExists_0 : false;
1070
- var canRemoveGameWhenGameFinished = table.sceneInfo.p46() ? this.o7p_1.i7p_1 : false;
1504
+ var isLivePlayersExists_0 = isLivePlayersExists(this, player.q2s(), table.players);
1505
+ var canRemoveGameWhenNoPlayers = this.u88_1.finishGameIfAllBots ? !isLivePlayersExists_0 : false;
1506
+ var canRemoveGameWhenGameFinished = table.sceneInfo.i4l() ? this.u88_1.finishGameIfAllBots : false;
1071
1507
  var tmp_0;
1072
1508
  if (canRemoveGameWhenNoPlayers ? true : canRemoveGameWhenGameFinished) {
1073
1509
  tmp_0 = listOf(getFinishingAction(this, newConnectionState, player, table.playersConnections));
@@ -1098,13 +1534,13 @@
1098
1534
  return tmp;
1099
1535
  };
1100
1536
  function UpdateServerConfigAction(serverConfig) {
1101
- this.r7p_1 = serverConfig;
1537
+ this.x88_1 = serverConfig;
1102
1538
  }
1103
1539
  protoOf(UpdateServerConfigAction).toString = function () {
1104
- return 'UpdateServerConfigAction(serverConfig=' + this.r7p_1 + ')';
1540
+ return 'UpdateServerConfigAction(serverConfig=' + this.x88_1 + ')';
1105
1541
  };
1106
1542
  protoOf(UpdateServerConfigAction).hashCode = function () {
1107
- return this.r7p_1.hashCode();
1543
+ return this.x88_1.hashCode();
1108
1544
  };
1109
1545
  protoOf(UpdateServerConfigAction).equals = function (other) {
1110
1546
  if (this === other)
@@ -1112,28 +1548,28 @@
1112
1548
  if (!(other instanceof UpdateServerConfigAction))
1113
1549
  return false;
1114
1550
  var tmp0_other_with_cast = other instanceof UpdateServerConfigAction ? other : THROW_CCE();
1115
- if (!this.r7p_1.equals(tmp0_other_with_cast.r7p_1))
1551
+ if (!this.x88_1.equals(tmp0_other_with_cast.x88_1))
1116
1552
  return false;
1117
1553
  return true;
1118
1554
  };
1119
1555
  defineProp(protoOf(UpdateServerConfigAction), 'actionTag', function () {
1120
- return this.s2l();
1556
+ return this.e2x();
1121
1557
  });
1122
1558
  function RoomWasCreatedAction(roomId, gameCreatorPlayerId, config, users) {
1123
1559
  RoomAction.call(this);
1124
- this.s7p_1 = roomId;
1125
- this.t7p_1 = gameCreatorPlayerId;
1126
- this.u7p_1 = config;
1127
- this.v7p_1 = users;
1560
+ this.y88_1 = roomId;
1561
+ this.z88_1 = gameCreatorPlayerId;
1562
+ this.a89_1 = config;
1563
+ this.b89_1 = users;
1128
1564
  }
1129
1565
  protoOf(RoomWasCreatedAction).toString = function () {
1130
- return 'RoomWasCreatedAction(roomId=' + this.s7p_1 + ', gameCreatorPlayerId=' + this.t7p_1 + ', config=' + this.u7p_1 + ', users=' + this.v7p_1 + ')';
1566
+ return 'RoomWasCreatedAction(roomId=' + this.y88_1 + ', gameCreatorPlayerId=' + this.z88_1 + ', config=' + this.a89_1 + ', users=' + this.b89_1 + ')';
1131
1567
  };
1132
1568
  protoOf(RoomWasCreatedAction).hashCode = function () {
1133
- var result = getStringHashCode(this.s7p_1);
1134
- result = imul(result, 31) + getStringHashCode(this.t7p_1) | 0;
1135
- result = imul(result, 31) + this.u7p_1.hashCode() | 0;
1136
- result = imul(result, 31) + hashCode(this.v7p_1) | 0;
1569
+ var result = getStringHashCode(this.y88_1);
1570
+ result = imul(result, 31) + getStringHashCode(this.z88_1) | 0;
1571
+ result = imul(result, 31) + this.a89_1.hashCode() | 0;
1572
+ result = imul(result, 31) + hashCode(this.b89_1) | 0;
1137
1573
  return result;
1138
1574
  };
1139
1575
  protoOf(RoomWasCreatedAction).equals = function (other) {
@@ -1142,18 +1578,18 @@
1142
1578
  if (!(other instanceof RoomWasCreatedAction))
1143
1579
  return false;
1144
1580
  var tmp0_other_with_cast = other instanceof RoomWasCreatedAction ? other : THROW_CCE();
1145
- if (!(this.s7p_1 === tmp0_other_with_cast.s7p_1))
1581
+ if (!(this.y88_1 === tmp0_other_with_cast.y88_1))
1146
1582
  return false;
1147
- if (!(this.t7p_1 === tmp0_other_with_cast.t7p_1))
1583
+ if (!(this.z88_1 === tmp0_other_with_cast.z88_1))
1148
1584
  return false;
1149
- if (!this.u7p_1.equals(tmp0_other_with_cast.u7p_1))
1585
+ if (!this.a89_1.equals(tmp0_other_with_cast.a89_1))
1150
1586
  return false;
1151
- if (!equals(this.v7p_1, tmp0_other_with_cast.v7p_1))
1587
+ if (!equals(this.b89_1, tmp0_other_with_cast.b89_1))
1152
1588
  return false;
1153
1589
  return true;
1154
1590
  };
1155
1591
  defineProp(protoOf(RoomWasCreatedAction), 'actionTag', function () {
1156
- return this.s2l();
1592
+ return this.e2x();
1157
1593
  });
1158
1594
  function RoomWasDeletedAction() {
1159
1595
  RoomWasDeletedAction_instance = this;
@@ -1163,7 +1599,7 @@
1163
1599
  return 'RoomWasDeletedAction';
1164
1600
  };
1165
1601
  defineProp(protoOf(RoomWasDeletedAction), 'actionTag', function () {
1166
- return this.s2l();
1602
+ return this.e2x();
1167
1603
  });
1168
1604
  var RoomWasDeletedAction_instance;
1169
1605
  function RoomWasDeletedAction_getInstance() {
@@ -1174,64 +1610,71 @@
1174
1610
  function RoomAction() {
1175
1611
  }
1176
1612
  defineProp(protoOf(RoomAction), 'actionTag', function () {
1177
- return this.s2l();
1613
+ return this.e2x();
1178
1614
  });
1179
1615
  function _get_asyncProvider__jbpyhw($this) {
1180
1616
  var tmp$ret$0;
1181
1617
  // Inline function 'kotlin.getValue' call
1182
1618
  var tmp0_getValue = asyncProvider$factory_0();
1183
- tmp$ret$0 = $this.z7p_1.l1();
1619
+ tmp$ret$0 = $this.f89_1.l1();
1184
1620
  return tmp$ret$0;
1185
1621
  }
1186
1622
  function _get_logger__rkp4sl_0($this) {
1187
1623
  var tmp$ret$0;
1188
1624
  // Inline function 'kotlin.getValue' call
1189
1625
  var tmp0_getValue = logger$factory_2();
1190
- tmp$ret$0 = $this.a7q_1.l1();
1626
+ tmp$ret$0 = $this.g89_1.l1();
1191
1627
  return tmp$ret$0;
1192
1628
  }
1193
1629
  function _get_reconnectionInteractor__pua73z($this) {
1194
1630
  var tmp$ret$0;
1195
1631
  // Inline function 'kotlin.getValue' call
1196
1632
  var tmp0_getValue = reconnectionInteractor$factory_0();
1197
- tmp$ret$0 = $this.b7q_1.l1();
1633
+ tmp$ret$0 = $this.h89_1.l1();
1198
1634
  return tmp$ret$0;
1199
1635
  }
1200
1636
  function _get_lastCardInteractor__h6lq3w($this) {
1201
1637
  var tmp$ret$0;
1202
1638
  // Inline function 'kotlin.getValue' call
1203
1639
  var tmp0_getValue = lastCardInteractor$factory_0();
1204
- tmp$ret$0 = $this.c7q_1.l1();
1640
+ tmp$ret$0 = $this.i89_1.l1();
1205
1641
  return tmp$ret$0;
1206
1642
  }
1207
1643
  function _get_serverConfig__rk2g06($this) {
1208
1644
  var tmp$ret$0;
1209
1645
  // Inline function 'kotlin.getValue' call
1210
1646
  var tmp0_getValue = serverConfig$factory_0();
1211
- tmp$ret$0 = $this.d7q_1.l1();
1647
+ tmp$ret$0 = $this.j89_1.l1();
1212
1648
  return tmp$ret$0;
1213
1649
  }
1214
1650
  function _get_logicConfig__52ww9d($this) {
1215
1651
  var tmp$ret$0;
1216
1652
  // Inline function 'kotlin.getValue' call
1217
1653
  var tmp0_getValue = logicConfig$factory_0();
1218
- tmp$ret$0 = $this.e7q_1.l1();
1654
+ tmp$ret$0 = $this.k89_1.l1();
1219
1655
  return tmp$ret$0;
1220
1656
  }
1221
1657
  function _get_botConfig__cpaxzc($this) {
1222
1658
  var tmp$ret$0;
1223
1659
  // Inline function 'kotlin.getValue' call
1224
1660
  var tmp0_getValue = botConfig$factory_0();
1225
- tmp$ret$0 = $this.f7q_1.l1();
1661
+ tmp$ret$0 = $this.l89_1.l1();
1662
+ return tmp$ret$0;
1663
+ }
1664
+ function _get_toClientEventsObserver__6rp51y_0($this) {
1665
+ var tmp$ret$0;
1666
+ // Inline function 'kotlin.getValue' call
1667
+ var tmp0_getValue = toClientEventsObserver$factory_2();
1668
+ tmp$ret$0 = $this.m89_1.l1();
1226
1669
  return tmp$ret$0;
1227
1670
  }
1228
1671
  function ServerGameStoreContract(di, commonStoreContract, botGameStoreContract, gameMechanicStoreContract) {
1229
1672
  commonStoreContract = commonStoreContract === VOID ? new CommonStoreContract(di) : commonStoreContract;
1230
1673
  botGameStoreContract = botGameStoreContract === VOID ? new BotGameStoreContract(di) : botGameStoreContract;
1231
1674
  gameMechanicStoreContract = gameMechanicStoreContract === VOID ? new GameMechanicStoreContract(di) : gameMechanicStoreContract;
1232
- this.w7p_1 = commonStoreContract;
1233
- this.x7p_1 = botGameStoreContract;
1234
- this.y7p_1 = gameMechanicStoreContract;
1675
+ this.c89_1 = commonStoreContract;
1676
+ this.d89_1 = botGameStoreContract;
1677
+ this.e89_1 = gameMechanicStoreContract;
1235
1678
  var tmp = this;
1236
1679
  var tmp$ret$1;
1237
1680
  // Inline function 'org.kodein.di.instance' call
@@ -1240,7 +1683,7 @@
1240
1683
  var tmp_0 = typeToken(createKType(getKClass(AsyncProvider), arrayOf([]), false));
1241
1684
  tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
1242
1685
  tmp$ret$1 = Instance(di, tmp$ret$0, null);
1243
- tmp.z7p_1 = tmp$ret$1.j2g(this, asyncProvider$factory());
1686
+ tmp.f89_1 = tmp$ret$1.b2r(this, asyncProvider$factory());
1244
1687
  var tmp_1 = this;
1245
1688
  var tmp$ret$3;
1246
1689
  // Inline function 'org.kodein.di.instance' call
@@ -1249,7 +1692,7 @@
1249
1692
  var tmp_2 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
1250
1693
  tmp$ret$2 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
1251
1694
  tmp$ret$3 = Instance(di, tmp$ret$2, null);
1252
- tmp_1.a7q_1 = tmp$ret$3.j2g(this, logger$factory_1());
1695
+ tmp_1.g89_1 = tmp$ret$3.b2r(this, logger$factory_1());
1253
1696
  var tmp_3 = this;
1254
1697
  var tmp$ret$5;
1255
1698
  // Inline function 'org.kodein.di.instance' call
@@ -1258,7 +1701,7 @@
1258
1701
  var tmp_4 = typeToken(createKType(getKClass(ReconnectionInteractor), arrayOf([]), false));
1259
1702
  tmp$ret$4 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
1260
1703
  tmp$ret$5 = Instance(di, tmp$ret$4, null);
1261
- tmp_3.b7q_1 = tmp$ret$5.j2g(this, reconnectionInteractor$factory());
1704
+ tmp_3.h89_1 = tmp$ret$5.b2r(this, reconnectionInteractor$factory());
1262
1705
  var tmp_5 = this;
1263
1706
  var tmp$ret$7;
1264
1707
  // Inline function 'org.kodein.di.instance' call
@@ -1267,7 +1710,7 @@
1267
1710
  var tmp_6 = typeToken(createKType(getKClass(LastCardInteractor), arrayOf([]), false));
1268
1711
  tmp$ret$6 = isInterface(tmp_6, TypeToken) ? tmp_6 : THROW_CCE();
1269
1712
  tmp$ret$7 = Instance(di, tmp$ret$6, null);
1270
- tmp_5.c7q_1 = tmp$ret$7.j2g(this, lastCardInteractor$factory());
1713
+ tmp_5.i89_1 = tmp$ret$7.b2r(this, lastCardInteractor$factory());
1271
1714
  var tmp_7 = this;
1272
1715
  var tmp$ret$9;
1273
1716
  // Inline function 'org.kodein.di.instance' call
@@ -1276,7 +1719,7 @@
1276
1719
  var tmp_8 = typeToken(createKType(getKClass(ServerReduxConfig), arrayOf([]), false));
1277
1720
  tmp$ret$8 = isInterface(tmp_8, TypeToken) ? tmp_8 : THROW_CCE();
1278
1721
  tmp$ret$9 = Instance(di, tmp$ret$8, null);
1279
- tmp_7.d7q_1 = tmp$ret$9.j2g(this, serverConfig$factory());
1722
+ tmp_7.j89_1 = tmp$ret$9.b2r(this, serverConfig$factory());
1280
1723
  var tmp_9 = this;
1281
1724
  var tmp$ret$11;
1282
1725
  // Inline function 'org.kodein.di.instance' call
@@ -1285,7 +1728,7 @@
1285
1728
  var tmp_10 = typeToken(createKType(getKClass(LogicReduxConfig), arrayOf([]), false));
1286
1729
  tmp$ret$10 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
1287
1730
  tmp$ret$11 = Instance(di, tmp$ret$10, null);
1288
- tmp_9.e7q_1 = tmp$ret$11.j2g(this, logicConfig$factory());
1731
+ tmp_9.k89_1 = tmp$ret$11.b2r(this, logicConfig$factory());
1289
1732
  var tmp_11 = this;
1290
1733
  var tmp$ret$13;
1291
1734
  // Inline function 'org.kodein.di.instance' call
@@ -1294,13 +1737,22 @@
1294
1737
  var tmp_12 = typeToken(createKType(getKClass(BotReduxConfig), arrayOf([]), false));
1295
1738
  tmp$ret$12 = isInterface(tmp_12, TypeToken) ? tmp_12 : THROW_CCE();
1296
1739
  tmp$ret$13 = Instance(di, tmp$ret$12, null);
1297
- tmp_11.f7q_1 = tmp$ret$13.j2g(this, botConfig$factory());
1740
+ tmp_11.l89_1 = tmp$ret$13.b2r(this, botConfig$factory());
1741
+ var tmp_13 = this;
1742
+ var tmp$ret$15;
1743
+ // Inline function 'org.kodein.di.instance' call
1744
+ var tmp$ret$14;
1745
+ // Inline function 'org.kodein.type.generic' call
1746
+ var tmp_14 = typeToken(createKType(getKClass(ToClientEventsObserver), arrayOf([]), false));
1747
+ tmp$ret$14 = isInterface(tmp_14, TypeToken) ? tmp_14 : THROW_CCE();
1748
+ tmp$ret$15 = Instance(di, tmp$ret$14, null);
1749
+ tmp_13.m89_1 = tmp$ret$15.b2r(this, toClientEventsObserver$factory_1());
1298
1750
  }
1299
- protoOf(ServerGameStoreContract).l4j = function () {
1300
- return plus(plus(plus(listOf(serverConfigReducer()), this.w7p_1.l4j()), this.x7p_1.l4j()), this.y7p_1.l4j());
1751
+ protoOf(ServerGameStoreContract).i4y = function () {
1752
+ return plus(plus(plus(listOf(serverConfigReducer()), this.c89_1.i4y()), this.d89_1.i4y()), this.e89_1.i4y());
1301
1753
  };
1302
- protoOf(ServerGameStoreContract).m4j = function () {
1303
- return plus(plus(plus(plus(listOfNotNull([finishingGameWhenCantStartNewMiddleware(), checkGameIsFinishingWaitForRoomDeleteMiddleware(_get_logger__rkp4sl_0(this)), _get_serverConfig__rk2g06(this).i7p_1 ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null]), this.w7p_1.m4j()), this.x7p_1.m4j()), this.y7p_1.m4j()), listOfNotNull([playerConnectionUpdateMiddleware(_get_reconnectionInteractor__pua73z(this)), playerReconnectionWaitingTimerTickMiddleware(_get_reconnectionInteractor__pua73z(this)), gameStatisticsMiddleware(), serverPlayerTurnTimerTickMiddleware(_get_serverConfig__rk2g06(this), _get_logger__rkp4sl_0(this)), serverMapMechanicToServerActionMiddleware(_get_logicConfig__52ww9d(this), _get_botConfig__cpaxzc(this), _get_lastCardInteractor__h6lq3w(this)), roomLifecycleMiddleware(_get_asyncProvider__jbpyhw(this), _get_logger__rkp4sl_0(this)), clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this)), _get_botConfig__cpaxzc(this).autoStepLastCard ? putPlayerLastCardMiddleware(_get_lastCardInteractor__h6lq3w(this)) : null]));
1754
+ protoOf(ServerGameStoreContract).j4y = function () {
1755
+ return plus(plus(plus(plus(listOfNotNull([serverSendEventsToClientMiddleware(_get_asyncProvider__jbpyhw(this), _get_toClientEventsObserver__6rp51y_0(this)), finishingGameWhenCantStartNewMiddleware(), checkGameIsFinishingWaitForRoomDeleteMiddleware(_get_logger__rkp4sl_0(this)), _get_serverConfig__rk2g06(this).finishGameIfAllBots ? checkBotsMiddleware(_get_logger__rkp4sl_0(this)) : null]), this.c89_1.j4y()), this.d89_1.j4y()), this.e89_1.j4y()), listOfNotNull([playerConnectionUpdateMiddleware(_get_reconnectionInteractor__pua73z(this)), playerReconnectionWaitingTimerTickMiddleware(_get_reconnectionInteractor__pua73z(this)), gameStatisticsMiddleware(), serverPlayerTurnTimerTickMiddleware(_get_serverConfig__rk2g06(this), _get_logger__rkp4sl_0(this)), serverMapMechanicToServerActionMiddleware(_get_logicConfig__52ww9d(this), _get_botConfig__cpaxzc(this), _get_lastCardInteractor__h6lq3w(this)), roomLifecycleMiddleware(_get_asyncProvider__jbpyhw(this), _get_logger__rkp4sl_0(this)), clearOnFinishMiddleware(_get_asyncProvider__jbpyhw(this)), _get_botConfig__cpaxzc(this).autoStepLastCard ? putPlayerLastCardMiddleware(_get_lastCardInteractor__h6lq3w(this)) : null]));
1304
1756
  };
1305
1757
  function asyncProvider$factory() {
1306
1758
  return getPropertyCallableRef('asyncProvider', 1, KProperty1, function (receiver) {
@@ -1337,6 +1789,11 @@
1337
1789
  return _get_botConfig__cpaxzc(receiver);
1338
1790
  }, null);
1339
1791
  }
1792
+ function toClientEventsObserver$factory_1() {
1793
+ return getPropertyCallableRef('toClientEventsObserver', 1, KProperty1, function (receiver) {
1794
+ return _get_toClientEventsObserver__6rp51y_0(receiver);
1795
+ }, null);
1796
+ }
1340
1797
  function asyncProvider$factory_0() {
1341
1798
  return getPropertyCallableRef('asyncProvider', 1, KProperty1, function (receiver) {
1342
1799
  return _get_asyncProvider__jbpyhw(receiver);
@@ -1372,6 +1829,11 @@
1372
1829
  return _get_botConfig__cpaxzc(receiver);
1373
1830
  }, null);
1374
1831
  }
1832
+ function toClientEventsObserver$factory_2() {
1833
+ return getPropertyCallableRef('toClientEventsObserver', 1, KProperty1, function (receiver) {
1834
+ return _get_toClientEventsObserver__6rp51y_0(receiver);
1835
+ }, null);
1836
+ }
1375
1837
  function finishingGameWhenCantStartNewMiddleware() {
1376
1838
  var tmp$ret$0;
1377
1839
  // Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
@@ -1380,19 +1842,19 @@
1380
1842
  }
1381
1843
  function _no_name_provided__qut3iv() {
1382
1844
  }
1383
- protoOf(_no_name_provided__qut3iv).d2r = function (action) {
1845
+ protoOf(_no_name_provided__qut3iv).t32 = function (action) {
1384
1846
  return action instanceof PartyEndedAction;
1385
1847
  };
1386
- protoOf(_no_name_provided__qut3iv).d4l = function (store, next, action) {
1848
+ protoOf(_no_name_provided__qut3iv).a50 = function (store, next, action) {
1387
1849
  // Inline function 'com.debertz.logic.server.redux.middlewares.finishingGameWhenCantStartNewMiddleware.<anonymous>' call
1388
1850
  var tmp0__anonymous__q1qw7t = action instanceof PartyEndedAction ? action : THROW_CCE();
1389
1851
  next(tmp0__anonymous__q1qw7t);
1390
- if (!get_serverState(store.state).f7p_1.g7p_1 ? tmp0__anonymous__q1qw7t.isGameFinished : false) {
1852
+ if (!get_serverState(store.state).d87_1.e87_1 ? tmp0__anonymous__q1qw7t.isGameFinished : false) {
1391
1853
  store.dispatch(new FinishingGameMechanicAction(new GameFinishedReason(Reason_DEPLOY_getInstance())));
1392
1854
  }
1393
1855
  };
1394
- protoOf(_no_name_provided__qut3iv).e2r = function (store, next, action) {
1395
- return this.d4l(store, next, action);
1856
+ protoOf(_no_name_provided__qut3iv).u32 = function (store, next, action) {
1857
+ return this.a50(store, next, action);
1396
1858
  };
1397
1859
  function serverMapMechanicToServerActionMiddleware(logicConfig, botConfig, lastCardInteractor) {
1398
1860
  var tmp$ret$0;
@@ -1401,29 +1863,29 @@
1401
1863
  return tmp$ret$0;
1402
1864
  }
1403
1865
  function serverMapMechanicToServerActionMiddleware$_anonymous_$_anonymous_$backwardActions_1e7uk5($logicConfig) {
1404
- return $logicConfig.h2y_1;
1866
+ return $logicConfig.supportBackwardActions;
1405
1867
  }
1406
1868
  function serverMapMechanicToServerActionMiddleware$_anonymous_$_anonymous_$autoStepLastCard_d4tzgw($botConfig, $lastCardInteractor, $this_with, playerId) {
1407
- return $botConfig.autoStepLastCard ? $lastCardInteractor.n4b(getPlayer($this_with.w2x().players, playerId), $this_with.w2x().config.rules) : false;
1869
+ return $botConfig.autoStepLastCard ? $lastCardInteractor.g4q(getPlayer($this_with.b3b().players, playerId), $this_with.b3b().config.rules) : false;
1408
1870
  }
1409
1871
  function serverMapMechanicToServerActionMiddleware$o$handle$lambda($state) {
1410
1872
  return function () {
1411
- return $state.w2x().playersConnections;
1873
+ return $state.b3b().playersConnections;
1412
1874
  };
1413
1875
  }
1414
1876
  function _no_name_provided__qut3iv_0($logicConfig, $botConfig, $lastCardInteractor) {
1415
- this.g7q_1 = $logicConfig;
1416
- this.h7q_1 = $botConfig;
1417
- this.i7q_1 = $lastCardInteractor;
1877
+ this.n89_1 = $logicConfig;
1878
+ this.o89_1 = $botConfig;
1879
+ this.p89_1 = $lastCardInteractor;
1418
1880
  }
1419
- protoOf(_no_name_provided__qut3iv_0).d2r = function (action) {
1881
+ protoOf(_no_name_provided__qut3iv_0).t32 = function (action) {
1420
1882
  return action instanceof MechanicAction;
1421
1883
  };
1422
- protoOf(_no_name_provided__qut3iv_0).d4l = function (store, next, action) {
1884
+ protoOf(_no_name_provided__qut3iv_0).a50 = function (store, next, action) {
1423
1885
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>' call
1424
1886
  var tmp0__anonymous__q1qw7t = action instanceof MechanicAction ? action : THROW_CCE();
1425
1887
  var state = store.state;
1426
- var tmp$ret$114;
1888
+ var tmp$ret$105;
1427
1889
  // Inline function 'kotlin.with' call
1428
1890
  // Inline function 'kotlin.contracts.contract' call
1429
1891
  var getPlayers = serverMapMechanicToServerActionMiddleware$o$handle$lambda(state);
@@ -1432,11 +1894,11 @@
1432
1894
  if (tmp0_subject instanceof StartGameMechanicAction) {
1433
1895
  var tmp$ret$17;
1434
1896
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser' call
1435
- var tmp7_createActionForUser = tmp0__anonymous__q1qw7t.a3q_1;
1436
- var tmp8_createActionForUser = tmp0__anonymous__q1qw7t.c3q_1;
1897
+ var tmp7_createActionForUser = tmp0__anonymous__q1qw7t.c44_1;
1898
+ var tmp8_createActionForUser = tmp0__anonymous__q1qw7t.e44_1;
1437
1899
  var tmp$ret$2;
1438
1900
  // Inline function 'kotlin.collections.map' call
1439
- var tmp1_map = tmp0__anonymous__q1qw7t.d3q_1;
1901
+ var tmp1_map = tmp0__anonymous__q1qw7t.f44_1;
1440
1902
  var tmp$ret$1;
1441
1903
  // Inline function 'kotlin.collections.mapTo' call
1442
1904
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -1445,7 +1907,7 @@
1445
1907
  var item = tmp0_iterator.h();
1446
1908
  var tmp$ret$0;
1447
1909
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
1448
- tmp$ret$0 = to(item.j2i_1, PlayerConnectionState_LIVE_getInstance());
1910
+ tmp$ret$0 = to(item.b2t_1, PlayerConnectionState_LIVE_getInstance());
1449
1911
  tmp0_mapTo.a(tmp$ret$0);
1450
1912
  }
1451
1913
  tmp$ret$1 = tmp0_mapTo;
@@ -1465,7 +1927,7 @@
1465
1927
  var element = tmp0_iterator_0.h();
1466
1928
  var tmp$ret$3;
1467
1929
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>' call
1468
- tmp$ret$3 = element.y3_1.isLive;
1930
+ tmp$ret$3 = element.u3_1.isLive;
1469
1931
  if (tmp$ret$3) {
1470
1932
  tmp2_filterTo.a(element);
1471
1933
  }
@@ -1481,7 +1943,7 @@
1481
1943
  var item_0 = tmp0_iterator_1.h();
1482
1944
  var tmp$ret$6;
1483
1945
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>' call
1484
- tmp$ret$6 = item_0.x3_1;
1946
+ tmp$ret$6 = item_0.t3_1;
1485
1947
  tmp3_mapTo.a(tmp$ret$6);
1486
1948
  }
1487
1949
  tmp$ret$7 = tmp3_mapTo;
@@ -1509,7 +1971,7 @@
1509
1971
  var item_1 = tmp0_iterator_3.h();
1510
1972
  var tmp$ret$9;
1511
1973
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>.<anonymous>' call
1512
- tmp$ret$9 = item_1.x3_1;
1974
+ tmp$ret$9 = item_1.t3_1;
1513
1975
  tmp0_mapTo_0.a(tmp$ret$9);
1514
1976
  }
1515
1977
  tmp$ret$10 = tmp0_mapTo_0;
@@ -1537,8 +1999,8 @@
1537
1999
  if (tmp0_subject instanceof ContinueGameMechanicAction) {
1538
2000
  var tmp$ret$32;
1539
2001
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser' call
1540
- var tmp16_createActionForUser = tmp0__anonymous__q1qw7t.e3q_1.id;
1541
- var tmp17_createActionForUser = tmp0__anonymous__q1qw7t.w4i();
2002
+ var tmp16_createActionForUser = tmp0__anonymous__q1qw7t.g44_1.id;
2003
+ var tmp17_createActionForUser = tmp0__anonymous__q1qw7t.t4x();
1542
2004
  var tmp18_createActionForUser = getPlayers();
1543
2005
  var tmp$ret$31;
1544
2006
  // Inline function 'kotlin.collections.mapNotNull' call
@@ -1554,7 +2016,7 @@
1554
2016
  var element_1 = tmp0_iterator_4.h();
1555
2017
  var tmp$ret$18;
1556
2018
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>' call
1557
- tmp$ret$18 = element_1.y3_1.isLive;
2019
+ tmp$ret$18 = element_1.u3_1.isLive;
1558
2020
  if (tmp$ret$18) {
1559
2021
  tmp11_filterTo.a(element_1);
1560
2022
  }
@@ -1570,7 +2032,7 @@
1570
2032
  var item_2 = tmp0_iterator_5.h();
1571
2033
  var tmp$ret$21;
1572
2034
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>' call
1573
- tmp$ret$21 = item_2.x3_1;
2035
+ tmp$ret$21 = item_2.t3_1;
1574
2036
  tmp12_mapTo.a(tmp$ret$21);
1575
2037
  }
1576
2038
  tmp$ret$22 = tmp12_mapTo;
@@ -1598,7 +2060,7 @@
1598
2060
  var item_3 = tmp0_iterator_7.h();
1599
2061
  var tmp$ret$24;
1600
2062
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>.<anonymous>' call
1601
- tmp$ret$24 = item_3.x3_1;
2063
+ tmp$ret$24 = item_3.t3_1;
1602
2064
  tmp0_mapTo_1.a(tmp$ret$24);
1603
2065
  }
1604
2066
  tmp$ret$25 = tmp0_mapTo_1;
@@ -1626,7 +2088,7 @@
1626
2088
  if (tmp0_subject instanceof FinishingGameMechanicAction) {
1627
2089
  var tmp$ret$34;
1628
2090
  // Inline function 'com.debertz.logic.server.redux.middlewares.createRoomActionFromTable' call
1629
- var tmp20_createRoomActionFromTable = state.w2x();
2091
+ var tmp20_createRoomActionFromTable = state.b3b();
1630
2092
  var tmp$ret$33;
1631
2093
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
1632
2094
  var tmp21__anonymous__l7ugec = new RoomActionPayload(tmp20_createRoomActionFromTable.id, null);
@@ -1637,7 +2099,7 @@
1637
2099
  if (tmp0_subject instanceof FinishGameMechanicAction) {
1638
2100
  var tmp$ret$36;
1639
2101
  // Inline function 'com.debertz.logic.server.redux.middlewares.createRoomActionFromTable' call
1640
- var tmp22_createRoomActionFromTable = state.w2x();
2102
+ var tmp22_createRoomActionFromTable = state.b3b();
1641
2103
  var tmp$ret$35;
1642
2104
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
1643
2105
  var tmp23__anonymous__bih5za = new RoomActionPayload(tmp22_createRoomActionFromTable.id, null);
@@ -1648,7 +2110,7 @@
1648
2110
  if (tmp0_subject instanceof RestartGameMechanicAction) {
1649
2111
  var tmp$ret$38;
1650
2112
  // Inline function 'com.debertz.logic.server.redux.middlewares.createRoomActionFromTable' call
1651
- var tmp24_createRoomActionFromTable = state.w2x();
2113
+ var tmp24_createRoomActionFromTable = state.b3b();
1652
2114
  var tmp$ret$37;
1653
2115
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
1654
2116
  var tmp25__anonymous__1t3vk8 = new RoomActionPayload(tmp24_createRoomActionFromTable.id, null);
@@ -1657,459 +2119,411 @@
1657
2119
  tmp = tmp$ret$38;
1658
2120
  } else {
1659
2121
  if (tmp0_subject instanceof SceneMechanicAction) {
1660
- var tmp$ret$57;
2122
+ var tmp$ret$54;
1661
2123
  // Inline function 'com.debertz.logic.server.redux.middlewares.createUserActionFromTable' call
1662
- var tmp36_createUserActionFromTable = state.w2x();
1663
- var tmp$ret$56;
2124
+ var tmp34_createUserActionFromTable = state.b3b();
2125
+ var tmp$ret$53;
1664
2126
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser' call
1665
- var tmp33_createActionForUser = tmp36_createUserActionFromTable.id;
1666
- var tmp34_createActionForUser = getGameCreator(tmp36_createUserActionFromTable.players).y2h();
1667
- var tmp$ret$41;
2127
+ var tmp31_createActionForUser = tmp34_createUserActionFromTable.id;
2128
+ var tmp32_createActionForUser = getGameCreator(tmp34_createUserActionFromTable.players).q2s();
2129
+ var tmp33_createActionForUser = tmp34_createUserActionFromTable.playersConnections;
2130
+ var tmp$ret$52;
2131
+ // Inline function 'kotlin.collections.mapNotNull' call
2132
+ var tmp$ret$44;
1668
2133
  // Inline function 'kotlin.collections.map' call
1669
- var tmp27_map = tmp36_createUserActionFromTable.players;
2134
+ var tmp$ret$41;
2135
+ // Inline function 'kotlin.collections.filter' call
1670
2136
  var tmp$ret$40;
1671
- // Inline function 'kotlin.collections.mapTo' call
1672
- var tmp26_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp27_map, 10));
1673
- var tmp0_iterator_8 = tmp27_map.f();
2137
+ // Inline function 'kotlin.collections.filterTo' call
2138
+ var tmp26_filterTo = ArrayList_init_$Create$();
2139
+ var tmp0_iterator_8 = tmp33_createActionForUser.f();
1674
2140
  while (tmp0_iterator_8.g()) {
1675
- var item_4 = tmp0_iterator_8.h();
2141
+ var element_3 = tmp0_iterator_8.h();
1676
2142
  var tmp$ret$39;
1677
- // Inline function 'com.debertz.logic.server.redux.middlewares.createUserActionFromTable.<anonymous>' call
1678
- tmp$ret$39 = to(item_4.y2h(), item_4.p31_1.d2j_1);
1679
- tmp26_mapTo.a(tmp$ret$39);
2143
+ // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>' call
2144
+ tmp$ret$39 = element_3.u3_1.isLive;
2145
+ if (tmp$ret$39) {
2146
+ tmp26_filterTo.a(element_3);
2147
+ }
1680
2148
  }
1681
- tmp$ret$40 = tmp26_mapTo;
2149
+ tmp$ret$40 = tmp26_filterTo;
1682
2150
  tmp$ret$41 = tmp$ret$40;
1683
- var tmp35_createActionForUser = tmp$ret$41;
1684
- var tmp$ret$55;
1685
- // Inline function 'kotlin.collections.mapNotNull' call
1686
- var tmp$ret$47;
1687
- // Inline function 'kotlin.collections.map' call
1688
- var tmp$ret$44;
1689
- // Inline function 'kotlin.collections.filter' call
2151
+ var tmp28_map = tmp$ret$41;
1690
2152
  var tmp$ret$43;
1691
- // Inline function 'kotlin.collections.filterTo' call
1692
- var tmp28_filterTo = ArrayList_init_$Create$();
1693
- var tmp0_iterator_9 = tmp35_createActionForUser.f();
2153
+ // Inline function 'kotlin.collections.mapTo' call
2154
+ var tmp27_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp28_map, 10));
2155
+ var tmp0_iterator_9 = tmp28_map.f();
1694
2156
  while (tmp0_iterator_9.g()) {
1695
- var element_3 = tmp0_iterator_9.h();
2157
+ var item_4 = tmp0_iterator_9.h();
1696
2158
  var tmp$ret$42;
1697
2159
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>' call
1698
- tmp$ret$42 = element_3.y3_1.isLive;
1699
- if (tmp$ret$42) {
1700
- tmp28_filterTo.a(element_3);
1701
- }
2160
+ tmp$ret$42 = item_4.t3_1;
2161
+ tmp27_mapTo.a(tmp$ret$42);
1702
2162
  }
1703
- tmp$ret$43 = tmp28_filterTo;
2163
+ tmp$ret$43 = tmp27_mapTo;
1704
2164
  tmp$ret$44 = tmp$ret$43;
1705
- var tmp30_map = tmp$ret$44;
1706
- var tmp$ret$46;
1707
- // Inline function 'kotlin.collections.mapTo' call
1708
- var tmp29_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp30_map, 10));
1709
- var tmp0_iterator_10 = tmp30_map.f();
1710
- while (tmp0_iterator_10.g()) {
1711
- var item_5 = tmp0_iterator_10.h();
1712
- var tmp$ret$45;
1713
- // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>' call
1714
- tmp$ret$45 = item_5.x3_1;
1715
- tmp29_mapTo.a(tmp$ret$45);
1716
- }
1717
- tmp$ret$46 = tmp29_mapTo;
1718
- tmp$ret$47 = tmp$ret$46;
1719
- var tmp32_mapNotNull = tmp$ret$47;
1720
- var tmp$ret$54;
2165
+ var tmp30_mapNotNull = tmp$ret$44;
2166
+ var tmp$ret$51;
1721
2167
  // Inline function 'kotlin.collections.mapNotNullTo' call
1722
- var tmp31_mapNotNullTo = ArrayList_init_$Create$();
2168
+ var tmp29_mapNotNullTo = ArrayList_init_$Create$();
1723
2169
  // Inline function 'kotlin.collections.forEach' call
1724
- var tmp0_iterator_11 = tmp32_mapNotNull.f();
1725
- while (tmp0_iterator_11.g()) {
1726
- var element_4 = tmp0_iterator_11.h();
2170
+ var tmp0_iterator_10 = tmp30_mapNotNull.f();
2171
+ while (tmp0_iterator_10.g()) {
2172
+ var element_4 = tmp0_iterator_10.h();
1727
2173
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
1728
- var tmp$ret$52;
2174
+ var tmp$ret$49;
1729
2175
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>' call
1730
- var tmp$ret$51;
2176
+ var tmp$ret$48;
1731
2177
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
1732
- var tmp$ret$50;
2178
+ var tmp$ret$47;
1733
2179
  // Inline function 'kotlin.collections.map' call
1734
- var tmp$ret$49;
2180
+ var tmp$ret$46;
1735
2181
  // Inline function 'kotlin.collections.mapTo' call
1736
- var tmp0_mapTo_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp35_createActionForUser, 10));
1737
- var tmp0_iterator_12 = tmp35_createActionForUser.f();
1738
- while (tmp0_iterator_12.g()) {
1739
- var item_6 = tmp0_iterator_12.h();
1740
- var tmp$ret$48;
2182
+ var tmp0_mapTo_2 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp33_createActionForUser, 10));
2183
+ var tmp0_iterator_11 = tmp33_createActionForUser.f();
2184
+ while (tmp0_iterator_11.g()) {
2185
+ var item_5 = tmp0_iterator_11.h();
2186
+ var tmp$ret$45;
1741
2187
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>.<anonymous>' call
1742
- tmp$ret$48 = item_6.x3_1;
1743
- tmp0_mapTo_2.a(tmp$ret$48);
2188
+ tmp$ret$45 = item_5.t3_1;
2189
+ tmp0_mapTo_2.a(tmp$ret$45);
1744
2190
  }
1745
- tmp$ret$49 = tmp0_mapTo_2;
1746
- tmp$ret$50 = tmp$ret$49;
1747
- var tmp0_playersIds_1 = tmp$ret$50;
1748
- var tmp37__anonymous__g99adz = UserActionPayload_init_$Create$(tmp33_createActionForUser, tmp34_createActionForUser, element_4, tmp0_playersIds_1);
1749
- tmp$ret$51 = mapToClient_11(tmp0__anonymous__q1qw7t, tmp37__anonymous__g99adz);
1750
- tmp$ret$52 = tmp$ret$51;
1751
- var tmp0_safe_receiver_1 = tmp$ret$52;
2191
+ tmp$ret$46 = tmp0_mapTo_2;
2192
+ tmp$ret$47 = tmp$ret$46;
2193
+ var tmp0_playersIds_1 = tmp$ret$47;
2194
+ var tmp35__anonymous__6jvzyx = UserActionPayload_init_$Create$(tmp31_createActionForUser, tmp32_createActionForUser, element_4, tmp0_playersIds_1);
2195
+ tmp$ret$48 = mapToClient_11(tmp0__anonymous__q1qw7t, tmp35__anonymous__6jvzyx);
2196
+ tmp$ret$49 = tmp$ret$48;
2197
+ var tmp0_safe_receiver_1 = tmp$ret$49;
1752
2198
  if (tmp0_safe_receiver_1 == null)
1753
2199
  null;
1754
2200
  else {
1755
- var tmp$ret$53;
2201
+ var tmp$ret$50;
1756
2202
  // Inline function 'kotlin.let' call
1757
2203
  // Inline function 'kotlin.contracts.contract' call
1758
- tmp31_mapNotNullTo.a(tmp0_safe_receiver_1);
1759
- tmp$ret$53 = Unit_getInstance();
2204
+ tmp29_mapNotNullTo.a(tmp0_safe_receiver_1);
2205
+ tmp$ret$50 = Unit_getInstance();
1760
2206
  }
1761
2207
  }
1762
- tmp$ret$54 = tmp31_mapNotNullTo;
1763
- tmp$ret$55 = tmp$ret$54;
1764
- tmp$ret$56 = tmp$ret$55;
1765
- tmp$ret$57 = tmp$ret$56;
1766
- tmp = tmp$ret$57;
2208
+ tmp$ret$51 = tmp29_mapNotNullTo;
2209
+ tmp$ret$52 = tmp$ret$51;
2210
+ tmp$ret$53 = tmp$ret$52;
2211
+ tmp$ret$54 = tmp$ret$53;
2212
+ tmp = tmp$ret$54;
1767
2213
  } else {
1768
2214
  if (tmp0_subject instanceof SceneActMechanicAction) {
1769
- var tmp$ret$76;
2215
+ var tmp$ret$70;
1770
2216
  // Inline function 'com.debertz.logic.server.redux.middlewares.createUserActionFromTable' call
1771
- var tmp48_createUserActionFromTable = state.w2x();
1772
- var tmp$ret$75;
2217
+ var tmp44_createUserActionFromTable = state.b3b();
2218
+ var tmp$ret$69;
1773
2219
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser' call
1774
- var tmp45_createActionForUser = tmp48_createUserActionFromTable.id;
1775
- var tmp46_createActionForUser = getGameCreator(tmp48_createUserActionFromTable.players).y2h();
1776
- var tmp$ret$60;
1777
- // Inline function 'kotlin.collections.map' call
1778
- var tmp39_map = tmp48_createUserActionFromTable.players;
1779
- var tmp$ret$59;
1780
- // Inline function 'kotlin.collections.mapTo' call
1781
- var tmp38_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp39_map, 10));
1782
- var tmp0_iterator_13 = tmp39_map.f();
1783
- while (tmp0_iterator_13.g()) {
1784
- var item_7 = tmp0_iterator_13.h();
1785
- var tmp$ret$58;
1786
- // Inline function 'com.debertz.logic.server.redux.middlewares.createUserActionFromTable.<anonymous>' call
1787
- tmp$ret$58 = to(item_7.y2h(), item_7.p31_1.d2j_1);
1788
- tmp38_mapTo.a(tmp$ret$58);
1789
- }
1790
- tmp$ret$59 = tmp38_mapTo;
1791
- tmp$ret$60 = tmp$ret$59;
1792
- var tmp47_createActionForUser = tmp$ret$60;
1793
- var tmp$ret$74;
2220
+ var tmp41_createActionForUser = tmp44_createUserActionFromTable.id;
2221
+ var tmp42_createActionForUser = getGameCreator(tmp44_createUserActionFromTable.players).q2s();
2222
+ var tmp43_createActionForUser = tmp44_createUserActionFromTable.playersConnections;
2223
+ var tmp$ret$68;
1794
2224
  // Inline function 'kotlin.collections.mapNotNull' call
1795
- var tmp$ret$66;
2225
+ var tmp$ret$60;
1796
2226
  // Inline function 'kotlin.collections.map' call
1797
- var tmp$ret$63;
2227
+ var tmp$ret$57;
1798
2228
  // Inline function 'kotlin.collections.filter' call
1799
- var tmp$ret$62;
2229
+ var tmp$ret$56;
1800
2230
  // Inline function 'kotlin.collections.filterTo' call
1801
- var tmp40_filterTo = ArrayList_init_$Create$();
1802
- var tmp0_iterator_14 = tmp47_createActionForUser.f();
1803
- while (tmp0_iterator_14.g()) {
1804
- var element_5 = tmp0_iterator_14.h();
1805
- var tmp$ret$61;
2231
+ var tmp36_filterTo = ArrayList_init_$Create$();
2232
+ var tmp0_iterator_12 = tmp43_createActionForUser.f();
2233
+ while (tmp0_iterator_12.g()) {
2234
+ var element_5 = tmp0_iterator_12.h();
2235
+ var tmp$ret$55;
1806
2236
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>' call
1807
- tmp$ret$61 = element_5.y3_1.isLive;
1808
- if (tmp$ret$61) {
1809
- tmp40_filterTo.a(element_5);
2237
+ tmp$ret$55 = element_5.u3_1.isLive;
2238
+ if (tmp$ret$55) {
2239
+ tmp36_filterTo.a(element_5);
1810
2240
  }
1811
2241
  }
1812
- tmp$ret$62 = tmp40_filterTo;
1813
- tmp$ret$63 = tmp$ret$62;
1814
- var tmp42_map = tmp$ret$63;
1815
- var tmp$ret$65;
2242
+ tmp$ret$56 = tmp36_filterTo;
2243
+ tmp$ret$57 = tmp$ret$56;
2244
+ var tmp38_map = tmp$ret$57;
2245
+ var tmp$ret$59;
1816
2246
  // Inline function 'kotlin.collections.mapTo' call
1817
- var tmp41_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp42_map, 10));
1818
- var tmp0_iterator_15 = tmp42_map.f();
1819
- while (tmp0_iterator_15.g()) {
1820
- var item_8 = tmp0_iterator_15.h();
1821
- var tmp$ret$64;
2247
+ var tmp37_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp38_map, 10));
2248
+ var tmp0_iterator_13 = tmp38_map.f();
2249
+ while (tmp0_iterator_13.g()) {
2250
+ var item_6 = tmp0_iterator_13.h();
2251
+ var tmp$ret$58;
1822
2252
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>' call
1823
- tmp$ret$64 = item_8.x3_1;
1824
- tmp41_mapTo.a(tmp$ret$64);
2253
+ tmp$ret$58 = item_6.t3_1;
2254
+ tmp37_mapTo.a(tmp$ret$58);
1825
2255
  }
1826
- tmp$ret$65 = tmp41_mapTo;
1827
- tmp$ret$66 = tmp$ret$65;
1828
- var tmp44_mapNotNull = tmp$ret$66;
1829
- var tmp$ret$73;
2256
+ tmp$ret$59 = tmp37_mapTo;
2257
+ tmp$ret$60 = tmp$ret$59;
2258
+ var tmp40_mapNotNull = tmp$ret$60;
2259
+ var tmp$ret$67;
1830
2260
  // Inline function 'kotlin.collections.mapNotNullTo' call
1831
- var tmp43_mapNotNullTo = ArrayList_init_$Create$();
2261
+ var tmp39_mapNotNullTo = ArrayList_init_$Create$();
1832
2262
  // Inline function 'kotlin.collections.forEach' call
1833
- var tmp0_iterator_16 = tmp44_mapNotNull.f();
1834
- while (tmp0_iterator_16.g()) {
1835
- var element_6 = tmp0_iterator_16.h();
2263
+ var tmp0_iterator_14 = tmp40_mapNotNull.f();
2264
+ while (tmp0_iterator_14.g()) {
2265
+ var element_6 = tmp0_iterator_14.h();
1836
2266
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
1837
- var tmp$ret$71;
2267
+ var tmp$ret$65;
1838
2268
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>' call
1839
- var tmp$ret$70;
2269
+ var tmp$ret$64;
1840
2270
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
1841
- var tmp$ret$69;
2271
+ var tmp$ret$63;
1842
2272
  // Inline function 'kotlin.collections.map' call
1843
- var tmp$ret$68;
2273
+ var tmp$ret$62;
1844
2274
  // Inline function 'kotlin.collections.mapTo' call
1845
- var tmp0_mapTo_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp47_createActionForUser, 10));
1846
- var tmp0_iterator_17 = tmp47_createActionForUser.f();
1847
- while (tmp0_iterator_17.g()) {
1848
- var item_9 = tmp0_iterator_17.h();
1849
- var tmp$ret$67;
2275
+ var tmp0_mapTo_3 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp43_createActionForUser, 10));
2276
+ var tmp0_iterator_15 = tmp43_createActionForUser.f();
2277
+ while (tmp0_iterator_15.g()) {
2278
+ var item_7 = tmp0_iterator_15.h();
2279
+ var tmp$ret$61;
1850
2280
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>.<anonymous>' call
1851
- tmp$ret$67 = item_9.x3_1;
1852
- tmp0_mapTo_3.a(tmp$ret$67);
2281
+ tmp$ret$61 = item_7.t3_1;
2282
+ tmp0_mapTo_3.a(tmp$ret$61);
1853
2283
  }
1854
- tmp$ret$68 = tmp0_mapTo_3;
1855
- tmp$ret$69 = tmp$ret$68;
1856
- var tmp0_playersIds_2 = tmp$ret$69;
1857
- var tmp49__anonymous__ybmgc6 = UserActionPayload_init_$Create$(tmp45_createActionForUser, tmp46_createActionForUser, element_6, tmp0_playersIds_2);
1858
- tmp$ret$70 = mapToClient_10(tmp0__anonymous__q1qw7t, tmp49__anonymous__ybmgc6);
1859
- tmp$ret$71 = tmp$ret$70;
1860
- var tmp0_safe_receiver_2 = tmp$ret$71;
2284
+ tmp$ret$62 = tmp0_mapTo_3;
2285
+ tmp$ret$63 = tmp$ret$62;
2286
+ var tmp0_playersIds_2 = tmp$ret$63;
2287
+ var tmp45__anonymous__ewvvi2 = UserActionPayload_init_$Create$(tmp41_createActionForUser, tmp42_createActionForUser, element_6, tmp0_playersIds_2);
2288
+ tmp$ret$64 = mapToClient_10(tmp0__anonymous__q1qw7t, tmp45__anonymous__ewvvi2);
2289
+ tmp$ret$65 = tmp$ret$64;
2290
+ var tmp0_safe_receiver_2 = tmp$ret$65;
1861
2291
  if (tmp0_safe_receiver_2 == null)
1862
2292
  null;
1863
2293
  else {
1864
- var tmp$ret$72;
2294
+ var tmp$ret$66;
1865
2295
  // Inline function 'kotlin.let' call
1866
2296
  // Inline function 'kotlin.contracts.contract' call
1867
- tmp43_mapNotNullTo.a(tmp0_safe_receiver_2);
1868
- tmp$ret$72 = Unit_getInstance();
2297
+ tmp39_mapNotNullTo.a(tmp0_safe_receiver_2);
2298
+ tmp$ret$66 = Unit_getInstance();
1869
2299
  }
1870
2300
  }
1871
- tmp$ret$73 = tmp43_mapNotNullTo;
1872
- tmp$ret$74 = tmp$ret$73;
1873
- tmp$ret$75 = tmp$ret$74;
1874
- tmp$ret$76 = tmp$ret$75;
1875
- tmp = tmp$ret$76;
2301
+ tmp$ret$67 = tmp39_mapNotNullTo;
2302
+ tmp$ret$68 = tmp$ret$67;
2303
+ tmp$ret$69 = tmp$ret$68;
2304
+ tmp$ret$70 = tmp$ret$69;
2305
+ tmp = tmp$ret$70;
1876
2306
  } else {
1877
2307
  if (tmp0_subject instanceof TeamsDataMechanicAction) {
1878
- var tmp$ret$95;
2308
+ var tmp$ret$86;
1879
2309
  // Inline function 'com.debertz.logic.server.redux.middlewares.createUserActionFromTable' call
1880
- var tmp60_createUserActionFromTable = state.w2x();
1881
- var tmp$ret$94;
2310
+ var tmp54_createUserActionFromTable = state.b3b();
2311
+ var tmp$ret$85;
1882
2312
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser' call
1883
- var tmp57_createActionForUser = tmp60_createUserActionFromTable.id;
1884
- var tmp58_createActionForUser = getGameCreator(tmp60_createUserActionFromTable.players).y2h();
1885
- var tmp$ret$79;
1886
- // Inline function 'kotlin.collections.map' call
1887
- var tmp51_map = tmp60_createUserActionFromTable.players;
1888
- var tmp$ret$78;
1889
- // Inline function 'kotlin.collections.mapTo' call
1890
- var tmp50_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp51_map, 10));
1891
- var tmp0_iterator_18 = tmp51_map.f();
1892
- while (tmp0_iterator_18.g()) {
1893
- var item_10 = tmp0_iterator_18.h();
1894
- var tmp$ret$77;
1895
- // Inline function 'com.debertz.logic.server.redux.middlewares.createUserActionFromTable.<anonymous>' call
1896
- tmp$ret$77 = to(item_10.y2h(), item_10.p31_1.d2j_1);
1897
- tmp50_mapTo.a(tmp$ret$77);
1898
- }
1899
- tmp$ret$78 = tmp50_mapTo;
1900
- tmp$ret$79 = tmp$ret$78;
1901
- var tmp59_createActionForUser = tmp$ret$79;
1902
- var tmp$ret$93;
2313
+ var tmp51_createActionForUser = tmp54_createUserActionFromTable.id;
2314
+ var tmp52_createActionForUser = getGameCreator(tmp54_createUserActionFromTable.players).q2s();
2315
+ var tmp53_createActionForUser = tmp54_createUserActionFromTable.playersConnections;
2316
+ var tmp$ret$84;
1903
2317
  // Inline function 'kotlin.collections.mapNotNull' call
1904
- var tmp$ret$85;
2318
+ var tmp$ret$76;
1905
2319
  // Inline function 'kotlin.collections.map' call
1906
- var tmp$ret$82;
2320
+ var tmp$ret$73;
1907
2321
  // Inline function 'kotlin.collections.filter' call
1908
- var tmp$ret$81;
2322
+ var tmp$ret$72;
1909
2323
  // Inline function 'kotlin.collections.filterTo' call
1910
- var tmp52_filterTo = ArrayList_init_$Create$();
1911
- var tmp0_iterator_19 = tmp59_createActionForUser.f();
1912
- while (tmp0_iterator_19.g()) {
1913
- var element_7 = tmp0_iterator_19.h();
1914
- var tmp$ret$80;
2324
+ var tmp46_filterTo = ArrayList_init_$Create$();
2325
+ var tmp0_iterator_16 = tmp53_createActionForUser.f();
2326
+ while (tmp0_iterator_16.g()) {
2327
+ var element_7 = tmp0_iterator_16.h();
2328
+ var tmp$ret$71;
1915
2329
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>' call
1916
- tmp$ret$80 = element_7.y3_1.isLive;
1917
- if (tmp$ret$80) {
1918
- tmp52_filterTo.a(element_7);
2330
+ tmp$ret$71 = element_7.u3_1.isLive;
2331
+ if (tmp$ret$71) {
2332
+ tmp46_filterTo.a(element_7);
1919
2333
  }
1920
2334
  }
1921
- tmp$ret$81 = tmp52_filterTo;
1922
- tmp$ret$82 = tmp$ret$81;
1923
- var tmp54_map = tmp$ret$82;
1924
- var tmp$ret$84;
2335
+ tmp$ret$72 = tmp46_filterTo;
2336
+ tmp$ret$73 = tmp$ret$72;
2337
+ var tmp48_map = tmp$ret$73;
2338
+ var tmp$ret$75;
1925
2339
  // Inline function 'kotlin.collections.mapTo' call
1926
- var tmp53_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp54_map, 10));
1927
- var tmp0_iterator_20 = tmp54_map.f();
1928
- while (tmp0_iterator_20.g()) {
1929
- var item_11 = tmp0_iterator_20.h();
1930
- var tmp$ret$83;
2340
+ var tmp47_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp48_map, 10));
2341
+ var tmp0_iterator_17 = tmp48_map.f();
2342
+ while (tmp0_iterator_17.g()) {
2343
+ var item_8 = tmp0_iterator_17.h();
2344
+ var tmp$ret$74;
1931
2345
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>' call
1932
- tmp$ret$83 = item_11.x3_1;
1933
- tmp53_mapTo.a(tmp$ret$83);
2346
+ tmp$ret$74 = item_8.t3_1;
2347
+ tmp47_mapTo.a(tmp$ret$74);
1934
2348
  }
1935
- tmp$ret$84 = tmp53_mapTo;
1936
- tmp$ret$85 = tmp$ret$84;
1937
- var tmp56_mapNotNull = tmp$ret$85;
1938
- var tmp$ret$92;
2349
+ tmp$ret$75 = tmp47_mapTo;
2350
+ tmp$ret$76 = tmp$ret$75;
2351
+ var tmp50_mapNotNull = tmp$ret$76;
2352
+ var tmp$ret$83;
1939
2353
  // Inline function 'kotlin.collections.mapNotNullTo' call
1940
- var tmp55_mapNotNullTo = ArrayList_init_$Create$();
2354
+ var tmp49_mapNotNullTo = ArrayList_init_$Create$();
1941
2355
  // Inline function 'kotlin.collections.forEach' call
1942
- var tmp0_iterator_21 = tmp56_mapNotNull.f();
1943
- while (tmp0_iterator_21.g()) {
1944
- var element_8 = tmp0_iterator_21.h();
2356
+ var tmp0_iterator_18 = tmp50_mapNotNull.f();
2357
+ while (tmp0_iterator_18.g()) {
2358
+ var element_8 = tmp0_iterator_18.h();
1945
2359
  // Inline function 'kotlin.collections.mapNotNullTo.<anonymous>' call
1946
- var tmp$ret$90;
2360
+ var tmp$ret$81;
1947
2361
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>' call
1948
- var tmp$ret$89;
2362
+ var tmp$ret$80;
1949
2363
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
1950
- var tmp$ret$88;
2364
+ var tmp$ret$79;
1951
2365
  // Inline function 'kotlin.collections.map' call
1952
- var tmp$ret$87;
2366
+ var tmp$ret$78;
1953
2367
  // Inline function 'kotlin.collections.mapTo' call
1954
- var tmp0_mapTo_4 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp59_createActionForUser, 10));
1955
- var tmp0_iterator_22 = tmp59_createActionForUser.f();
1956
- while (tmp0_iterator_22.g()) {
1957
- var item_12 = tmp0_iterator_22.h();
1958
- var tmp$ret$86;
2368
+ var tmp0_mapTo_4 = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp53_createActionForUser, 10));
2369
+ var tmp0_iterator_19 = tmp53_createActionForUser.f();
2370
+ while (tmp0_iterator_19.g()) {
2371
+ var item_9 = tmp0_iterator_19.h();
2372
+ var tmp$ret$77;
1959
2373
  // Inline function 'com.debertz.logic.server.redux.middlewares.createActionForUser.<anonymous>.<anonymous>' call
1960
- tmp$ret$86 = item_12.x3_1;
1961
- tmp0_mapTo_4.a(tmp$ret$86);
2374
+ tmp$ret$77 = item_9.t3_1;
2375
+ tmp0_mapTo_4.a(tmp$ret$77);
1962
2376
  }
1963
- tmp$ret$87 = tmp0_mapTo_4;
1964
- tmp$ret$88 = tmp$ret$87;
1965
- var tmp0_playersIds_3 = tmp$ret$88;
1966
- var tmp61__anonymous__c851q8 = UserActionPayload_init_$Create$(tmp57_createActionForUser, tmp58_createActionForUser, element_8, tmp0_playersIds_3);
2377
+ tmp$ret$78 = tmp0_mapTo_4;
2378
+ tmp$ret$79 = tmp$ret$78;
2379
+ var tmp0_playersIds_3 = tmp$ret$79;
2380
+ var tmp55__anonymous__n9vr17 = UserActionPayload_init_$Create$(tmp51_createActionForUser, tmp52_createActionForUser, element_8, tmp0_playersIds_3);
1967
2381
  var tmp_0;
1968
- if (this.g7q_1.h2y_1 ? getPlayer(state.w2x().players, tmp61__anonymous__c851q8.k3d_1).r31_1.v31_1 : false) {
2382
+ if (this.n89_1.supportBackwardActions ? getPlayer(state.b3b().players, tmp55__anonymous__n9vr17.e3r_1).u3e_1.z3e_1 : false) {
1969
2383
  tmp_0 = null;
1970
2384
  } else {
1971
- tmp_0 = mapToClient_9(tmp0__anonymous__q1qw7t, tmp61__anonymous__c851q8);
2385
+ tmp_0 = mapToClient_9(tmp0__anonymous__q1qw7t, tmp55__anonymous__n9vr17);
1972
2386
  }
1973
- tmp$ret$89 = tmp_0;
1974
- tmp$ret$90 = tmp$ret$89;
1975
- var tmp0_safe_receiver_3 = tmp$ret$90;
2387
+ tmp$ret$80 = tmp_0;
2388
+ tmp$ret$81 = tmp$ret$80;
2389
+ var tmp0_safe_receiver_3 = tmp$ret$81;
1976
2390
  if (tmp0_safe_receiver_3 == null)
1977
2391
  null;
1978
2392
  else {
1979
- var tmp$ret$91;
2393
+ var tmp$ret$82;
1980
2394
  // Inline function 'kotlin.let' call
1981
2395
  // Inline function 'kotlin.contracts.contract' call
1982
- tmp55_mapNotNullTo.a(tmp0_safe_receiver_3);
1983
- tmp$ret$91 = Unit_getInstance();
2396
+ tmp49_mapNotNullTo.a(tmp0_safe_receiver_3);
2397
+ tmp$ret$82 = Unit_getInstance();
1984
2398
  }
1985
2399
  }
1986
- tmp$ret$92 = tmp55_mapNotNullTo;
1987
- tmp$ret$93 = tmp$ret$92;
1988
- tmp$ret$94 = tmp$ret$93;
1989
- tmp$ret$95 = tmp$ret$94;
1990
- tmp = tmp$ret$95;
2400
+ tmp$ret$83 = tmp49_mapNotNullTo;
2401
+ tmp$ret$84 = tmp$ret$83;
2402
+ tmp$ret$85 = tmp$ret$84;
2403
+ tmp$ret$86 = tmp$ret$85;
2404
+ tmp = tmp$ret$86;
1991
2405
  } else {
1992
2406
  if (tmp0_subject instanceof PlayerReadyMechanicAction) {
1993
- var tmp$ret$97;
2407
+ var tmp$ret$88;
1994
2408
  // Inline function 'com.debertz.logic.server.redux.middlewares.createRoomActionFromTable' call
1995
- var tmp62_createRoomActionFromTable = state.w2x();
1996
- var tmp63_createRoomActionFromTable = this.g7q_1.h2y_1 ? tmp0__anonymous__q1qw7t.s3q_1 : null;
1997
- var tmp$ret$96;
2409
+ var tmp56_createRoomActionFromTable = state.b3b();
2410
+ var tmp57_createRoomActionFromTable = this.n89_1.supportBackwardActions ? tmp0__anonymous__q1qw7t.u44_1 : null;
2411
+ var tmp$ret$87;
1998
2412
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
1999
- var tmp64__anonymous__qs6zct = new RoomActionPayload(tmp62_createRoomActionFromTable.id, tmp63_createRoomActionFromTable);
2000
- tmp$ret$96 = mapToClient_8(tmp0__anonymous__q1qw7t, tmp64__anonymous__qs6zct);
2001
- tmp$ret$97 = listOfNotNull_0(tmp$ret$96);
2002
- tmp = tmp$ret$97;
2413
+ var tmp58__anonymous__x76dbc = new RoomActionPayload(tmp56_createRoomActionFromTable.id, tmp57_createRoomActionFromTable);
2414
+ tmp$ret$87 = mapToClient_8(tmp0__anonymous__q1qw7t, tmp58__anonymous__x76dbc);
2415
+ tmp$ret$88 = listOfNotNull_0(tmp$ret$87);
2416
+ tmp = tmp$ret$88;
2003
2417
  } else {
2004
2418
  if (tmp0_subject instanceof SuitChoiceMechanicAction) {
2005
- var tmp$ret$99;
2419
+ var tmp$ret$90;
2006
2420
  // Inline function 'com.debertz.logic.server.redux.middlewares.createRoomActionFromTable' call
2007
- var tmp65_createRoomActionFromTable = state.w2x();
2008
- var tmp66_createRoomActionFromTable = this.g7q_1.h2y_1 ? tmp0__anonymous__q1qw7t.t3q_1 : null;
2009
- var tmp$ret$98;
2421
+ var tmp59_createRoomActionFromTable = state.b3b();
2422
+ var tmp60_createRoomActionFromTable = this.n89_1.supportBackwardActions ? tmp0__anonymous__q1qw7t.v44_1 : null;
2423
+ var tmp$ret$89;
2010
2424
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
2011
- var tmp67__anonymous__tov4zq = new RoomActionPayload(tmp65_createRoomActionFromTable.id, tmp66_createRoomActionFromTable);
2012
- tmp$ret$98 = mapToClient_7(tmp0__anonymous__q1qw7t, tmp67__anonymous__tov4zq);
2013
- tmp$ret$99 = listOfNotNull_0(tmp$ret$98);
2014
- tmp = tmp$ret$99;
2425
+ var tmp61__anonymous__c851q8 = new RoomActionPayload(tmp59_createRoomActionFromTable.id, tmp60_createRoomActionFromTable);
2426
+ tmp$ret$89 = mapToClient_7(tmp0__anonymous__q1qw7t, tmp61__anonymous__c851q8);
2427
+ tmp$ret$90 = listOfNotNull_0(tmp$ret$89);
2428
+ tmp = tmp$ret$90;
2015
2429
  } else {
2016
2430
  if (tmp0_subject instanceof TrumpMechanicAction) {
2017
- var tmp$ret$101;
2431
+ var tmp$ret$92;
2018
2432
  // Inline function 'com.debertz.logic.server.redux.middlewares.createRoomActionFromTable' call
2019
- var tmp68_createRoomActionFromTable = state.w2x();
2020
- var tmp$ret$100;
2433
+ var tmp62_createRoomActionFromTable = state.b3b();
2434
+ var tmp$ret$91;
2021
2435
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
2022
- var tmp69__anonymous__jzhuko = new RoomActionPayload(tmp68_createRoomActionFromTable.id, null);
2023
- tmp$ret$100 = mapToClient_6(tmp0__anonymous__q1qw7t, tmp69__anonymous__jzhuko);
2024
- tmp$ret$101 = listOfNotNull_0(tmp$ret$100);
2025
- tmp = tmp$ret$101;
2436
+ var tmp63__anonymous__lxic5a = new RoomActionPayload(tmp62_createRoomActionFromTable.id, null);
2437
+ tmp$ret$91 = mapToClient_6(tmp0__anonymous__q1qw7t, tmp63__anonymous__lxic5a);
2438
+ tmp$ret$92 = listOfNotNull_0(tmp$ret$91);
2439
+ tmp = tmp$ret$92;
2026
2440
  } else {
2027
2441
  if (tmp0_subject instanceof CombinationChoiceMechanicAction) {
2028
- var tmp$ret$103;
2442
+ var tmp$ret$94;
2029
2443
  // Inline function 'com.debertz.logic.server.redux.middlewares.createRoomActionFromTable' call
2030
- var tmp70_createRoomActionFromTable = state.w2x();
2031
- var tmp71_createRoomActionFromTable = this.g7q_1.h2y_1 ? tmp0__anonymous__q1qw7t.y3q_1 : null;
2032
- var tmp$ret$102;
2444
+ var tmp64_createRoomActionFromTable = state.b3b();
2445
+ var tmp65_createRoomActionFromTable = this.n89_1.supportBackwardActions ? tmp0__anonymous__q1qw7t.a45_1 : null;
2446
+ var tmp$ret$93;
2033
2447
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
2034
- var tmp72__anonymous__pftkgw = new RoomActionPayload(tmp70_createRoomActionFromTable.id, tmp71_createRoomActionFromTable);
2035
- tmp$ret$102 = mapToClient_5(tmp0__anonymous__q1qw7t, tmp72__anonymous__pftkgw);
2036
- tmp$ret$103 = listOfNotNull_0(tmp$ret$102);
2037
- tmp = tmp$ret$103;
2448
+ var tmp66__anonymous__yjjs79 = new RoomActionPayload(tmp64_createRoomActionFromTable.id, tmp65_createRoomActionFromTable);
2449
+ tmp$ret$93 = mapToClient_5(tmp0__anonymous__q1qw7t, tmp66__anonymous__yjjs79);
2450
+ tmp$ret$94 = listOfNotNull_0(tmp$ret$93);
2451
+ tmp = tmp$ret$94;
2038
2452
  } else {
2039
2453
  if (tmp0_subject instanceof PutCardMechanicAction) {
2040
- var tmp$ret$105;
2454
+ var tmp$ret$96;
2041
2455
  // Inline function 'com.debertz.logic.server.redux.middlewares.createRoomActionFromTable' call
2042
- var tmp73_createRoomActionFromTable = state.w2x();
2043
- var tmp74_createRoomActionFromTable = (serverMapMechanicToServerActionMiddleware$_anonymous_$_anonymous_$backwardActions_1e7uk5(this.g7q_1) ? !serverMapMechanicToServerActionMiddleware$_anonymous_$_anonymous_$autoStepLastCard_d4tzgw(this.h7q_1, this.i7q_1, state, tmp0__anonymous__q1qw7t.y2h()) : false) ? tmp0__anonymous__q1qw7t.y2h() : null;
2044
- var tmp$ret$104;
2456
+ var tmp67_createRoomActionFromTable = state.b3b();
2457
+ var tmp68_createRoomActionFromTable = (serverMapMechanicToServerActionMiddleware$_anonymous_$_anonymous_$backwardActions_1e7uk5(this.n89_1) ? !serverMapMechanicToServerActionMiddleware$_anonymous_$_anonymous_$autoStepLastCard_d4tzgw(this.o89_1, this.p89_1, state, tmp0__anonymous__q1qw7t.q2s()) : false) ? tmp0__anonymous__q1qw7t.q2s() : null;
2458
+ var tmp$ret$95;
2045
2459
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
2046
- var tmp75__anonymous__v18jvn = new RoomActionPayload(tmp73_createRoomActionFromTable.id, tmp74_createRoomActionFromTable);
2047
- tmp$ret$104 = mapToClient_4(tmp0__anonymous__q1qw7t, tmp75__anonymous__v18jvn);
2048
- tmp$ret$105 = listOfNotNull_0(tmp$ret$104);
2049
- tmp = tmp$ret$105;
2460
+ var tmp69__anonymous__jzhuko = new RoomActionPayload(tmp67_createRoomActionFromTable.id, tmp68_createRoomActionFromTable);
2461
+ tmp$ret$95 = mapToClient_4(tmp0__anonymous__q1qw7t, tmp69__anonymous__jzhuko);
2462
+ tmp$ret$96 = listOfNotNull_0(tmp$ret$95);
2463
+ tmp = tmp$ret$96;
2050
2464
  } else {
2051
2465
  if (tmp0_subject instanceof PickUpBribeMechanicAction) {
2052
- var tmp$ret$107;
2466
+ var tmp$ret$98;
2053
2467
  // Inline function 'com.debertz.logic.server.redux.middlewares.createRoomActionFromTable' call
2054
- var tmp76_createRoomActionFromTable = state.w2x();
2055
- var tmp$ret$106;
2468
+ var tmp70_createRoomActionFromTable = state.b3b();
2469
+ var tmp$ret$97;
2056
2470
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
2057
- var tmp77__anonymous__lbv9gl = new RoomActionPayload(tmp76_createRoomActionFromTable.id, null);
2058
- tmp$ret$106 = mapToClient_3(tmp0__anonymous__q1qw7t, tmp77__anonymous__lbv9gl);
2059
- tmp$ret$107 = listOfNotNull_0(tmp$ret$106);
2060
- tmp = tmp$ret$107;
2471
+ var tmp71__anonymous__kl4x9d = new RoomActionPayload(tmp70_createRoomActionFromTable.id, null);
2472
+ tmp$ret$97 = mapToClient_3(tmp0__anonymous__q1qw7t, tmp71__anonymous__kl4x9d);
2473
+ tmp$ret$98 = listOfNotNull_0(tmp$ret$97);
2474
+ tmp = tmp$ret$98;
2061
2475
  } else {
2062
2476
  if (tmp0_subject instanceof WinnerCombinationsMechanicAction) {
2063
- var tmp$ret$109;
2477
+ var tmp$ret$100;
2064
2478
  // Inline function 'com.debertz.logic.server.redux.middlewares.createRoomActionFromTable' call
2065
- var tmp78_createRoomActionFromTable = state.w2x();
2066
- var tmp$ret$108;
2479
+ var tmp72_createRoomActionFromTable = state.b3b();
2480
+ var tmp$ret$99;
2067
2481
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
2068
- var tmp79__anonymous__bmhz1j = new RoomActionPayload(tmp78_createRoomActionFromTable.id, null);
2069
- tmp$ret$108 = mapToClient_2(tmp0__anonymous__q1qw7t, tmp79__anonymous__bmhz1j);
2070
- tmp$ret$109 = listOfNotNull_0(tmp$ret$108);
2071
- tmp = tmp$ret$109;
2482
+ var tmp73__anonymous__uai7of = new RoomActionPayload(tmp72_createRoomActionFromTable.id, null);
2483
+ tmp$ret$99 = mapToClient_2(tmp0__anonymous__q1qw7t, tmp73__anonymous__uai7of);
2484
+ tmp$ret$100 = listOfNotNull_0(tmp$ret$99);
2485
+ tmp = tmp$ret$100;
2072
2486
  } else {
2073
2487
  if (tmp0_subject instanceof MessageMechanicAction) {
2074
- var message = tmp0__anonymous__q1qw7t.i3r_1;
2075
- var tmp$ret$111;
2488
+ var message = tmp0__anonymous__q1qw7t.k45_1;
2489
+ var tmp$ret$102;
2076
2490
  // Inline function 'com.debertz.logic.server.redux.middlewares.createRoomActionFromTable' call
2077
- var tmp80_createRoomActionFromTable = state.w2x();
2491
+ var tmp74_createRoomActionFromTable = state.b3b();
2078
2492
  var tmp_1;
2079
2493
  var tmp_2;
2080
- if (this.g7q_1.h2y_1) {
2494
+ if (this.n89_1.supportBackwardActions) {
2081
2495
  tmp_2 = isInterface(message, UserMessage);
2082
2496
  } else {
2083
2497
  tmp_2 = false;
2084
2498
  }
2085
2499
  if (tmp_2) {
2086
- tmp_1 = message.y2h();
2500
+ tmp_1 = message.q2s();
2087
2501
  } else {
2088
2502
  tmp_1 = null;
2089
2503
  }
2090
- var tmp81_createRoomActionFromTable = tmp_1;
2091
- var tmp$ret$110;
2504
+ var tmp75_createRoomActionFromTable = tmp_1;
2505
+ var tmp$ret$101;
2092
2506
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
2093
- var tmp82__anonymous__xstg01 = new RoomActionPayload(tmp80_createRoomActionFromTable.id, tmp81_createRoomActionFromTable);
2094
- tmp$ret$110 = mapToClient_1(tmp0__anonymous__q1qw7t, tmp82__anonymous__xstg01);
2095
- tmp$ret$111 = listOfNotNull_0(tmp$ret$110);
2096
- tmp = tmp$ret$111;
2507
+ var tmp76__anonymous__q6jwo4 = new RoomActionPayload(tmp74_createRoomActionFromTable.id, tmp75_createRoomActionFromTable);
2508
+ tmp$ret$101 = mapToClient_1(tmp0__anonymous__q1qw7t, tmp76__anonymous__q6jwo4);
2509
+ tmp$ret$102 = listOfNotNull_0(tmp$ret$101);
2510
+ tmp = tmp$ret$102;
2097
2511
  } else {
2098
2512
  if (tmp0_subject instanceof PlayerConnectionChangedMechanicAction) {
2099
2513
  var tmp_3;
2100
2514
  if (!tmp0__anonymous__q1qw7t.shouldNotifyPlayers) {
2101
2515
  tmp_3 = emptyList();
2102
2516
  } else {
2103
- var tmp$ret$113;
2517
+ var tmp$ret$104;
2104
2518
  // Inline function 'com.debertz.logic.server.redux.middlewares.createRoomActionFromTable' call
2105
- var tmp83_createRoomActionFromTable = state.w2x();
2106
- var tmp84_createRoomActionFromTable = tmp0__anonymous__q1qw7t.playerId;
2107
- var tmp$ret$112;
2519
+ var tmp77_createRoomActionFromTable = state.b3b();
2520
+ var tmp78_createRoomActionFromTable = tmp0__anonymous__q1qw7t.playerId;
2521
+ var tmp$ret$103;
2108
2522
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
2109
- var tmp85__anonymous__mo8oci = new RoomActionPayload(tmp83_createRoomActionFromTable.id, tmp84_createRoomActionFromTable);
2110
- tmp$ret$112 = mapToClient_0(tmp0__anonymous__q1qw7t, tmp85__anonymous__mo8oci);
2111
- tmp$ret$113 = listOfNotNull_0(tmp$ret$112);
2112
- tmp_3 = tmp$ret$113;
2523
+ var tmp79__anonymous__bmhz1j = new RoomActionPayload(tmp77_createRoomActionFromTable.id, tmp78_createRoomActionFromTable);
2524
+ tmp$ret$103 = mapToClient_0(tmp0__anonymous__q1qw7t, tmp79__anonymous__bmhz1j);
2525
+ tmp$ret$104 = listOfNotNull_0(tmp$ret$103);
2526
+ tmp_3 = tmp$ret$104;
2113
2527
  }
2114
2528
  tmp = tmp_3;
2115
2529
  } else {
@@ -2132,31 +2546,111 @@
2132
2546
  }
2133
2547
  }
2134
2548
  var actionsToSent = tmp;
2135
- var tmp0_iterator_23 = actionsToSent.f();
2136
- while (tmp0_iterator_23.g()) {
2137
- var element_9 = tmp0_iterator_23.h();
2549
+ var tmp0_iterator_20 = actionsToSent.f();
2550
+ while (tmp0_iterator_20.g()) {
2551
+ var element_9 = tmp0_iterator_20.h();
2138
2552
  // Inline function 'com.debertz.logic.server.redux.middlewares.serverMapMechanicToServerActionMiddleware.<anonymous>.<anonymous>.<anonymous>' call
2139
2553
  store.dispatch(element_9);
2140
2554
  }
2141
- tmp$ret$114 = Unit_getInstance();
2555
+ tmp$ret$105 = Unit_getInstance();
2142
2556
  next(tmp0__anonymous__q1qw7t);
2143
2557
  };
2144
- protoOf(_no_name_provided__qut3iv_0).e2r = function (store, next, action) {
2145
- return this.d4l(store, next, action);
2558
+ protoOf(_no_name_provided__qut3iv_0).u32 = function (store, next, action) {
2559
+ return this.a50(store, next, action);
2560
+ };
2561
+ function serverSendEventsToClientMiddleware(asyncProvider, provider) {
2562
+ var tmp$ret$0;
2563
+ // Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
2564
+ tmp$ret$0 = new _no_name_provided__qut3iv_1(asyncProvider, provider);
2565
+ return tmp$ret$0;
2566
+ }
2567
+ function serverSendEventsToClientMiddleware$o$handle$slambda($provider, $tmp0__anonymous__1nv1x1, resultContinuation) {
2568
+ this.y89_1 = $provider;
2569
+ this.z89_1 = $tmp0__anonymous__1nv1x1;
2570
+ CoroutineImpl.call(this, resultContinuation);
2571
+ }
2572
+ protoOf(serverSendEventsToClientMiddleware$o$handle$slambda).w14 = function ($this$launchStore, $completion) {
2573
+ var tmp = this.x14($this$launchStore, $completion);
2574
+ tmp.wh_1 = Unit_getInstance();
2575
+ tmp.xh_1 = null;
2576
+ return tmp.di();
2577
+ };
2578
+ protoOf(serverSendEventsToClientMiddleware$o$handle$slambda).pi = function (p1, $completion) {
2579
+ return this.w14((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2580
+ };
2581
+ protoOf(serverSendEventsToClientMiddleware$o$handle$slambda).di = function () {
2582
+ var suspendResult = this.wh_1;
2583
+ $sm: do
2584
+ try {
2585
+ var tmp = this.uh_1;
2586
+ switch (tmp) {
2587
+ case 0:
2588
+ this.vh_1 = 2;
2589
+ this.uh_1 = 1;
2590
+ suspendResult = this.y89_1.o87(this.z89_1, this);
2591
+ if (suspendResult === get_COROUTINE_SUSPENDED()) {
2592
+ return suspendResult;
2593
+ }
2594
+
2595
+ continue $sm;
2596
+ case 1:
2597
+ return Unit_getInstance();
2598
+ case 2:
2599
+ throw this.xh_1;
2600
+ }
2601
+ } catch ($p) {
2602
+ var e = $p;
2603
+ if (this.vh_1 === 2) {
2604
+ throw e;
2605
+ } else {
2606
+ this.uh_1 = this.vh_1;
2607
+ this.xh_1 = e;
2608
+ }
2609
+ }
2610
+ while (true);
2611
+ };
2612
+ protoOf(serverSendEventsToClientMiddleware$o$handle$slambda).x14 = function ($this$launchStore, completion) {
2613
+ var i = new serverSendEventsToClientMiddleware$o$handle$slambda(this.y89_1, this.z89_1, completion);
2614
+ i.a8a_1 = $this$launchStore;
2615
+ return i;
2616
+ };
2617
+ function serverSendEventsToClientMiddleware$o$handle$slambda_0($provider, $tmp0__anonymous__1nv1x1, resultContinuation) {
2618
+ var i = new serverSendEventsToClientMiddleware$o$handle$slambda($provider, $tmp0__anonymous__1nv1x1, resultContinuation);
2619
+ var l = function ($this$launchStore, $completion) {
2620
+ return i.w14($this$launchStore, $completion);
2621
+ };
2622
+ l.$arity = 1;
2623
+ return l;
2624
+ }
2625
+ function _no_name_provided__qut3iv_1($asyncProvider, $provider) {
2626
+ this.b8a_1 = $asyncProvider;
2627
+ this.c8a_1 = $provider;
2628
+ }
2629
+ protoOf(_no_name_provided__qut3iv_1).t32 = function (action) {
2630
+ return action instanceof ToClientAction;
2631
+ };
2632
+ protoOf(_no_name_provided__qut3iv_1).a50 = function (store, next, action) {
2633
+ // Inline function 'com.debertz.logic.server.redux.middlewares.client.serverSendEventsToClientMiddleware.<anonymous>' call
2634
+ var tmp0__anonymous__q1qw7t = action instanceof ToClientAction ? action : THROW_CCE();
2635
+ this.b8a_1.w30(VOID, serverSendEventsToClientMiddleware$o$handle$slambda_0(this.c8a_1, tmp0__anonymous__q1qw7t, null));
2636
+ next(tmp0__anonymous__q1qw7t);
2637
+ };
2638
+ protoOf(_no_name_provided__qut3iv_1).u32 = function (store, next, action) {
2639
+ return this.a50(store, next, action);
2146
2640
  };
2147
2641
  function playerConnectionUpdateMiddleware(reconnectionInteractor) {
2148
2642
  var tmp$ret$0;
2149
2643
  // Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
2150
- tmp$ret$0 = new _no_name_provided__qut3iv_1(reconnectionInteractor);
2644
+ tmp$ret$0 = new _no_name_provided__qut3iv_2(reconnectionInteractor);
2151
2645
  return tmp$ret$0;
2152
2646
  }
2153
- function _no_name_provided__qut3iv_1($reconnectionInteractor) {
2154
- this.j7q_1 = $reconnectionInteractor;
2647
+ function _no_name_provided__qut3iv_2($reconnectionInteractor) {
2648
+ this.d8a_1 = $reconnectionInteractor;
2155
2649
  }
2156
- protoOf(_no_name_provided__qut3iv_1).d2r = function (action) {
2650
+ protoOf(_no_name_provided__qut3iv_2).t32 = function (action) {
2157
2651
  return action instanceof PlayerConnectionUpdateAction;
2158
2652
  };
2159
- protoOf(_no_name_provided__qut3iv_1).d4l = function (store, next, action) {
2653
+ protoOf(_no_name_provided__qut3iv_2).a50 = function (store, next, action) {
2160
2654
  var tmp$ret$0;
2161
2655
  $l$block_0: {
2162
2656
  // Inline function 'com.debertz.logic.server.redux.middlewares.player.playerConnectionUpdateMiddleware.<anonymous>' call
@@ -2167,8 +2661,8 @@
2167
2661
  tmp$ret$0 = Unit_getInstance();
2168
2662
  break $l$block_0;
2169
2663
  }
2170
- var player = getPlayer(state.w2x().players, tmp0__anonymous__q1qw7t.g4h_1);
2171
- if (tmp0__anonymous__q1qw7t.f4h_1.isDisconnected ? player.p31_1.d2j_1.isDisconnecting : false) {
2664
+ var player = getPlayer(state.b3b().players, tmp0__anonymous__q1qw7t.c4w_1);
2665
+ if (tmp0__anonymous__q1qw7t.b4w_1.isDisconnected ? player.s3e_1.n2v().c2u_1.isDisconnecting : false) {
2172
2666
  next(tmp0__anonymous__q1qw7t);
2173
2667
  tmp$ret$0 = Unit_getInstance();
2174
2668
  break $l$block_0;
@@ -2178,7 +2672,7 @@
2178
2672
  // Inline function 'kotlin.collections.singleOrNull' call
2179
2673
  var tmp$ret$2;
2180
2674
  // Inline function 'kotlin.collections.filterIsInstance' call
2181
- var tmp1_filterIsInstance = state.w2w_1;
2675
+ var tmp1_filterIsInstance = state.b3a_1;
2182
2676
  var tmp$ret$1;
2183
2677
  // Inline function 'kotlin.collections.filterIsInstanceTo' call
2184
2678
  var tmp0_filterIsInstanceTo = ArrayList_init_$Create$();
@@ -2199,7 +2693,7 @@
2199
2693
  var element_0 = tmp0_iterator_0.h();
2200
2694
  var tmp$ret$3;
2201
2695
  // Inline function 'com.debertz.logic.server.redux.middlewares.player.playerConnectionUpdateMiddleware.<anonymous>.<anonymous>' call
2202
- tmp$ret$3 = element_0.k7q_1 === tmp0__anonymous__q1qw7t.g4h_1;
2696
+ tmp$ret$3 = element_0.e8a_1 === tmp0__anonymous__q1qw7t.c4w_1;
2203
2697
  if (tmp$ret$3) {
2204
2698
  if (found) {
2205
2699
  tmp$ret$4 = null;
@@ -2219,10 +2713,10 @@
2219
2713
  if (!(reconnectionTimerTag == null)) {
2220
2714
  store.dispatch(new StopTimerAction(reconnectionTimerTag));
2221
2715
  }
2222
- if (tmp0__anonymous__q1qw7t.f4h_1.isLive) {
2223
- store.dispatch(new PlayerConnectionChangedMechanicAction(tmp0__anonymous__q1qw7t.g4h_1, PlayerConnectionState_LIVE_getInstance()));
2716
+ if (tmp0__anonymous__q1qw7t.b4w_1.isLive) {
2717
+ store.dispatch(new PlayerConnectionChangedMechanicAction(tmp0__anonymous__q1qw7t.c4w_1, PlayerConnectionState_LIVE_getInstance()));
2224
2718
  }
2225
- var actions = this.j7q_1.q7p(tmp0__anonymous__q1qw7t.f4h_1, tmp0__anonymous__q1qw7t.g4h_1, store.state.w2x(), tmp0__anonymous__q1qw7t.h4h_1);
2719
+ var actions = this.d8a_1.w88(tmp0__anonymous__q1qw7t.b4w_1, tmp0__anonymous__q1qw7t.c4w_1, store.state.b3b(), tmp0__anonymous__q1qw7t.d4w_1);
2226
2720
  // Inline function 'kotlin.collections.forEach' call
2227
2721
  var tmp0_iterator_1 = actions.f();
2228
2722
  while (tmp0_iterator_1.g()) {
@@ -2233,25 +2727,25 @@
2233
2727
  next(tmp0__anonymous__q1qw7t);
2234
2728
  }
2235
2729
  };
2236
- protoOf(_no_name_provided__qut3iv_1).e2r = function (store, next, action) {
2237
- return this.d4l(store, next, action);
2730
+ protoOf(_no_name_provided__qut3iv_2).u32 = function (store, next, action) {
2731
+ return this.a50(store, next, action);
2238
2732
  };
2239
2733
  function playerReconnectionWaitingTimerTickMiddleware(reconnectionInteractor) {
2240
2734
  var tmp$ret$0;
2241
2735
  // Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
2242
- tmp$ret$0 = new _no_name_provided__qut3iv_2(reconnectionInteractor);
2736
+ tmp$ret$0 = new _no_name_provided__qut3iv_3(reconnectionInteractor);
2243
2737
  return tmp$ret$0;
2244
2738
  }
2245
2739
  function PlayerReconnectionWaitingTimerTag(playerId, state) {
2246
- this.k7q_1 = playerId;
2247
- this.l7q_1 = state;
2740
+ this.e8a_1 = playerId;
2741
+ this.f8a_1 = state;
2248
2742
  }
2249
2743
  protoOf(PlayerReconnectionWaitingTimerTag).toString = function () {
2250
- return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.k7q_1 + ', state=' + this.l7q_1 + ')';
2744
+ return 'PlayerReconnectionWaitingTimerTag(playerId=' + this.e8a_1 + ', state=' + this.f8a_1 + ')';
2251
2745
  };
2252
2746
  protoOf(PlayerReconnectionWaitingTimerTag).hashCode = function () {
2253
- var result = getStringHashCode(this.k7q_1);
2254
- result = imul(result, 31) + this.l7q_1.hashCode() | 0;
2747
+ var result = getStringHashCode(this.e8a_1);
2748
+ result = imul(result, 31) + this.f8a_1.hashCode() | 0;
2255
2749
  return result;
2256
2750
  };
2257
2751
  protoOf(PlayerReconnectionWaitingTimerTag).equals = function (other) {
@@ -2260,25 +2754,25 @@
2260
2754
  if (!(other instanceof PlayerReconnectionWaitingTimerTag))
2261
2755
  return false;
2262
2756
  var tmp0_other_with_cast = other instanceof PlayerReconnectionWaitingTimerTag ? other : THROW_CCE();
2263
- if (!(this.k7q_1 === tmp0_other_with_cast.k7q_1))
2757
+ if (!(this.e8a_1 === tmp0_other_with_cast.e8a_1))
2264
2758
  return false;
2265
- if (!this.l7q_1.equals(tmp0_other_with_cast.l7q_1))
2759
+ if (!this.f8a_1.equals(tmp0_other_with_cast.f8a_1))
2266
2760
  return false;
2267
2761
  return true;
2268
2762
  };
2269
- function _no_name_provided__qut3iv_2($reconnectionInteractor) {
2270
- this.m7q_1 = $reconnectionInteractor;
2763
+ function _no_name_provided__qut3iv_3($reconnectionInteractor) {
2764
+ this.g8a_1 = $reconnectionInteractor;
2271
2765
  }
2272
- protoOf(_no_name_provided__qut3iv_2).d2r = function (action) {
2766
+ protoOf(_no_name_provided__qut3iv_3).t32 = function (action) {
2273
2767
  return action instanceof TimerTickAction;
2274
2768
  };
2275
- protoOf(_no_name_provided__qut3iv_2).d4l = function (store, next, action) {
2769
+ protoOf(_no_name_provided__qut3iv_3).a50 = function (store, next, action) {
2276
2770
  // Inline function 'com.debertz.logic.server.redux.middlewares.player.playerReconnectionWaitingTimerTickMiddleware.<anonymous>' call
2277
2771
  var tmp0__anonymous__q1qw7t = action instanceof TimerTickAction ? action : THROW_CCE();
2278
- var timerTag = tmp0__anonymous__q1qw7t.r2r_1;
2772
+ var timerTag = tmp0__anonymous__q1qw7t.h33_1;
2279
2773
  if (timerTag instanceof PlayerReconnectionWaitingTimerTag) {
2280
2774
  var state = store.state;
2281
- var actions = this.m7q_1.q7p(timerTag.l7q_1, timerTag.k7q_1, state.w2x(), true);
2775
+ var actions = this.g8a_1.w88(timerTag.f8a_1, timerTag.e8a_1, state.b3b(), true);
2282
2776
  var tmp$ret$0;
2283
2777
  // Inline function 'kotlin.collections.isNotEmpty' call
2284
2778
  tmp$ret$0 = !actions.l();
@@ -2294,36 +2788,36 @@
2294
2788
  }
2295
2789
  next(tmp0__anonymous__q1qw7t);
2296
2790
  };
2297
- protoOf(_no_name_provided__qut3iv_2).e2r = function (store, next, action) {
2298
- return this.d4l(store, next, action);
2791
+ protoOf(_no_name_provided__qut3iv_3).u32 = function (store, next, action) {
2792
+ return this.a50(store, next, action);
2299
2793
  };
2300
2794
  function serverPlayerTurnTimerTickMiddleware(serverConfig, logger) {
2301
2795
  var tmp$ret$0;
2302
2796
  // Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
2303
- tmp$ret$0 = new _no_name_provided__qut3iv_3(serverConfig, logger);
2797
+ tmp$ret$0 = new _no_name_provided__qut3iv_4(serverConfig, logger);
2304
2798
  return tmp$ret$0;
2305
2799
  }
2306
- function _no_name_provided__qut3iv_3($serverConfig, $logger) {
2307
- this.n7q_1 = $serverConfig;
2308
- this.o7q_1 = $logger;
2800
+ function _no_name_provided__qut3iv_4($serverConfig, $logger) {
2801
+ this.h8a_1 = $serverConfig;
2802
+ this.i8a_1 = $logger;
2309
2803
  }
2310
- protoOf(_no_name_provided__qut3iv_3).d2r = function (action) {
2804
+ protoOf(_no_name_provided__qut3iv_4).t32 = function (action) {
2311
2805
  return action instanceof TimerTickAction;
2312
2806
  };
2313
- protoOf(_no_name_provided__qut3iv_3).d4l = function (store, next, action) {
2807
+ protoOf(_no_name_provided__qut3iv_4).a50 = function (store, next, action) {
2314
2808
  // Inline function 'com.debertz.logic.server.redux.middlewares.player.serverPlayerTurnTimerTickMiddleware.<anonymous>' call
2315
2809
  var tmp0__anonymous__q1qw7t = action instanceof TimerTickAction ? action : THROW_CCE();
2316
- var timerTag = tmp0__anonymous__q1qw7t.r2r_1;
2810
+ var timerTag = tmp0__anonymous__q1qw7t.h33_1;
2317
2811
  if (timerTag instanceof PlayerTurnTimerTag) {
2318
2812
  var state = store.state;
2319
- var table = state.w2x();
2320
- var player = getPlayer(table.players, timerTag.p4n_1);
2321
- var tmp0_subject = player.p31_1.d2j_1;
2322
- var tmp0 = tmp0_subject.q5_1;
2813
+ var table = state.b3b();
2814
+ var player = getPlayer(table.players, timerTag.m52_1);
2815
+ var tmp0_subject = player.s3e_1.n2v().c2u_1;
2816
+ var tmp0 = tmp0_subject.m5_1;
2323
2817
  var tmp;
2324
2818
  switch (tmp0) {
2325
2819
  case 0:
2326
- tmp = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.y2h(), timerTag.r4n_1));
2820
+ tmp = listOf(new PlayerConnectionUpdateAction(PlayerConnectionState_TIMEOUT_getInstance(), player.q2s(), timerTag.o52_1));
2327
2821
  break;
2328
2822
  case 4:
2329
2823
  tmp = emptyList();
@@ -2332,16 +2826,16 @@
2332
2826
  case 2:
2333
2827
  case 1:
2334
2828
  var tmp_0;
2335
- if (this.n7q_1.l7p_1 ? table.sceneInfo.p46() : false) {
2336
- tmp_0 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.y2h(), timerTag.r4n_1);
2829
+ if (this.h8a_1.closeIfBotsAtFinish ? table.sceneInfo.i4l() : false) {
2830
+ tmp_0 = new PlayerConnectionUpdateAction(PlayerConnectionState_DELETED_getInstance(), player.q2s(), timerTag.o52_1);
2337
2831
  } else {
2338
- tmp_0 = new AskBotAction(player.y2h(), 'PlayerTurn after player TIMEOUT');
2832
+ tmp_0 = new AskBotAction(player.q2s(), 'PlayerTurn after player TIMEOUT');
2339
2833
  }
2340
2834
 
2341
2835
  tmp = listOf(tmp_0);
2342
2836
  break;
2343
2837
  case 5:
2344
- this.o7q_1.w(VOID, 'ServerPlayerTurnTimeoutMiddleware: ' + ("Can't support this state " + player.p31_1.d2j_1 + ', ') + ('action:' + tmp0__anonymous__q1qw7t));
2838
+ this.i8a_1.w(VOID, 'ServerPlayerTurnTimeoutMiddleware: ' + ("Can't support this state " + player.s3e_1.n2v().c2u_1 + ', ') + ('action:' + tmp0__anonymous__q1qw7t));
2345
2839
  tmp = emptyList();
2346
2840
  break;
2347
2841
  default:
@@ -2364,44 +2858,44 @@
2364
2858
  }
2365
2859
  next(tmp0__anonymous__q1qw7t);
2366
2860
  };
2367
- protoOf(_no_name_provided__qut3iv_3).e2r = function (store, next, action) {
2368
- return this.d4l(store, next, action);
2861
+ protoOf(_no_name_provided__qut3iv_4).u32 = function (store, next, action) {
2862
+ return this.a50(store, next, action);
2369
2863
  };
2370
2864
  function roomLifecycleMiddleware(asyncProvider, logger) {
2371
2865
  var tmp$ret$0;
2372
2866
  // Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
2373
- tmp$ret$0 = new _no_name_provided__qut3iv_4(asyncProvider, logger);
2867
+ tmp$ret$0 = new _no_name_provided__qut3iv_5(asyncProvider, logger);
2374
2868
  return tmp$ret$0;
2375
2869
  }
2376
2870
  function roomLifecycleMiddleware$o$handle$slambda$slambda($actions, $store, resultContinuation) {
2377
- this.x7q_1 = $actions;
2378
- this.y7q_1 = $store;
2871
+ this.r8a_1 = $actions;
2872
+ this.s8a_1 = $store;
2379
2873
  CoroutineImpl.call(this, resultContinuation);
2380
2874
  }
2381
- protoOf(roomLifecycleMiddleware$o$handle$slambda$slambda).y13 = function ($this$launchStore, $completion) {
2382
- var tmp = this.z13($this$launchStore, $completion);
2383
- tmp.xh_1 = Unit_getInstance();
2384
- tmp.yh_1 = null;
2385
- return tmp.ei();
2875
+ protoOf(roomLifecycleMiddleware$o$handle$slambda$slambda).w14 = function ($this$launchStore, $completion) {
2876
+ var tmp = this.x14($this$launchStore, $completion);
2877
+ tmp.wh_1 = Unit_getInstance();
2878
+ tmp.xh_1 = null;
2879
+ return tmp.di();
2386
2880
  };
2387
- protoOf(roomLifecycleMiddleware$o$handle$slambda$slambda).qi = function (p1, $completion) {
2388
- return this.y13((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2881
+ protoOf(roomLifecycleMiddleware$o$handle$slambda$slambda).pi = function (p1, $completion) {
2882
+ return this.w14((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2389
2883
  };
2390
- protoOf(roomLifecycleMiddleware$o$handle$slambda$slambda).ei = function () {
2391
- var suspendResult = this.xh_1;
2884
+ protoOf(roomLifecycleMiddleware$o$handle$slambda$slambda).di = function () {
2885
+ var suspendResult = this.wh_1;
2392
2886
  $sm: do
2393
2887
  try {
2394
- var tmp = this.vh_1;
2888
+ var tmp = this.uh_1;
2395
2889
  if (tmp === 0) {
2396
- this.wh_1 = 1;
2397
- var tmp0_iterator = this.x7q_1.f();
2890
+ this.vh_1 = 1;
2891
+ var tmp0_iterator = this.r8a_1.f();
2398
2892
  while (tmp0_iterator.g()) {
2399
2893
  var element = tmp0_iterator.h();
2400
- this.y7q_1.dispatch(element);
2894
+ this.s8a_1.dispatch(element);
2401
2895
  }
2402
2896
  return Unit_getInstance();
2403
2897
  } else if (tmp === 1) {
2404
- throw this.yh_1;
2898
+ throw this.xh_1;
2405
2899
  }
2406
2900
  } catch ($p) {
2407
2901
  var e = $p;
@@ -2409,58 +2903,58 @@
2409
2903
  }
2410
2904
  while (true);
2411
2905
  };
2412
- protoOf(roomLifecycleMiddleware$o$handle$slambda$slambda).z13 = function ($this$launchStore, completion) {
2413
- var i = new roomLifecycleMiddleware$o$handle$slambda$slambda(this.x7q_1, this.y7q_1, completion);
2414
- i.z7q_1 = $this$launchStore;
2906
+ protoOf(roomLifecycleMiddleware$o$handle$slambda$slambda).x14 = function ($this$launchStore, completion) {
2907
+ var i = new roomLifecycleMiddleware$o$handle$slambda$slambda(this.r8a_1, this.s8a_1, completion);
2908
+ i.t8a_1 = $this$launchStore;
2415
2909
  return i;
2416
2910
  };
2417
2911
  function roomLifecycleMiddleware$o$handle$slambda$slambda_0($actions, $store, resultContinuation) {
2418
2912
  var i = new roomLifecycleMiddleware$o$handle$slambda$slambda($actions, $store, resultContinuation);
2419
2913
  var l = function ($this$launchStore, $completion) {
2420
- return i.y13($this$launchStore, $completion);
2914
+ return i.w14($this$launchStore, $completion);
2421
2915
  };
2422
2916
  l.$arity = 1;
2423
2917
  return l;
2424
2918
  }
2425
2919
  function roomLifecycleMiddleware$o$handle$slambda($store, $tmp0__anonymous__1nv1x1, $logger, $asyncProvider, resultContinuation) {
2426
- this.i7r_1 = $store;
2427
- this.j7r_1 = $tmp0__anonymous__1nv1x1;
2428
- this.k7r_1 = $logger;
2429
- this.l7r_1 = $asyncProvider;
2920
+ this.c8b_1 = $store;
2921
+ this.d8b_1 = $tmp0__anonymous__1nv1x1;
2922
+ this.e8b_1 = $logger;
2923
+ this.f8b_1 = $asyncProvider;
2430
2924
  CoroutineImpl.call(this, resultContinuation);
2431
2925
  }
2432
- protoOf(roomLifecycleMiddleware$o$handle$slambda).y13 = function ($this$launchWorkerWithLock, $completion) {
2433
- var tmp = this.z13($this$launchWorkerWithLock, $completion);
2434
- tmp.xh_1 = Unit_getInstance();
2435
- tmp.yh_1 = null;
2436
- return tmp.ei();
2926
+ protoOf(roomLifecycleMiddleware$o$handle$slambda).w14 = function ($this$launchWorkerWithLock, $completion) {
2927
+ var tmp = this.x14($this$launchWorkerWithLock, $completion);
2928
+ tmp.wh_1 = Unit_getInstance();
2929
+ tmp.xh_1 = null;
2930
+ return tmp.di();
2437
2931
  };
2438
- protoOf(roomLifecycleMiddleware$o$handle$slambda).qi = function (p1, $completion) {
2439
- return this.y13((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2932
+ protoOf(roomLifecycleMiddleware$o$handle$slambda).pi = function (p1, $completion) {
2933
+ return this.w14((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
2440
2934
  };
2441
- protoOf(roomLifecycleMiddleware$o$handle$slambda).ei = function () {
2442
- var suspendResult = this.xh_1;
2935
+ protoOf(roomLifecycleMiddleware$o$handle$slambda).di = function () {
2936
+ var suspendResult = this.wh_1;
2443
2937
  $sm: do
2444
2938
  try {
2445
- var tmp = this.vh_1;
2939
+ var tmp = this.uh_1;
2446
2940
  if (tmp === 0) {
2447
- this.wh_1 = 1;
2448
- var state = this.i7r_1.state;
2449
- var tmp0_subject = this.j7r_1;
2941
+ this.vh_1 = 1;
2942
+ var state = this.c8b_1.state;
2943
+ var tmp0_subject = this.d8b_1;
2450
2944
  var tmp_0;
2451
2945
  if (tmp0_subject instanceof RoomWasCreatedAction) {
2452
- var tmp1_id = this.j7r_1.s7p_1;
2946
+ var tmp1_id = this.d8b_1.y88_1;
2453
2947
  var tmp2_version = GameEngineConfig_getInstance().version;
2454
- var tmp3_gameCreatorPlayerId = this.j7r_1.t7p_1;
2455
- var tmp4_config = this.j7r_1.u7p_1;
2456
- var tmp5_users = this.j7r_1.v7p_1;
2948
+ var tmp3_gameCreatorPlayerId = this.d8b_1.z88_1;
2949
+ var tmp4_config = this.d8b_1.a89_1;
2950
+ var tmp5_users = this.d8b_1.b89_1;
2457
2951
  tmp_0 = listOf(new StartGameMechanicAction(tmp4_config, tmp1_id, tmp2_version, tmp3_gameCreatorPlayerId, tmp5_users));
2458
2952
  } else {
2459
2953
  if (tmp0_subject instanceof RoomWasDeletedAction) {
2460
- var tmp0_let = state.v2w_1;
2954
+ var tmp0_let = state.a3a_1;
2461
2955
  var tmp_1;
2462
2956
  if (tmp0_let == null) {
2463
- this.k7r_1.w(VOID, "Termination reason can't be null");
2957
+ this.e8b_1.w(VOID, "Termination reason can't be null");
2464
2958
  tmp_1 = new GameErrorReason('room deleted error');
2465
2959
  } else {
2466
2960
  tmp_1 = tmp0_let;
@@ -2472,10 +2966,10 @@
2472
2966
  }
2473
2967
  }
2474
2968
  var actions = tmp_0;
2475
- this.l7r_1.e2p(VOID, roomLifecycleMiddleware$o$handle$slambda$slambda_0(actions, this.i7r_1, null));
2969
+ this.f8b_1.w30(VOID, roomLifecycleMiddleware$o$handle$slambda$slambda_0(actions, this.c8b_1, null));
2476
2970
  return Unit_getInstance();
2477
2971
  } else if (tmp === 1) {
2478
- throw this.yh_1;
2972
+ throw this.xh_1;
2479
2973
  }
2480
2974
  } catch ($p) {
2481
2975
  var e = $p;
@@ -2483,55 +2977,55 @@
2483
2977
  }
2484
2978
  while (true);
2485
2979
  };
2486
- protoOf(roomLifecycleMiddleware$o$handle$slambda).z13 = function ($this$launchWorkerWithLock, completion) {
2487
- var i = new roomLifecycleMiddleware$o$handle$slambda(this.i7r_1, this.j7r_1, this.k7r_1, this.l7r_1, completion);
2488
- i.m7r_1 = $this$launchWorkerWithLock;
2980
+ protoOf(roomLifecycleMiddleware$o$handle$slambda).x14 = function ($this$launchWorkerWithLock, completion) {
2981
+ var i = new roomLifecycleMiddleware$o$handle$slambda(this.c8b_1, this.d8b_1, this.e8b_1, this.f8b_1, completion);
2982
+ i.g8b_1 = $this$launchWorkerWithLock;
2489
2983
  return i;
2490
2984
  };
2491
2985
  function roomLifecycleMiddleware$o$handle$slambda_0($store, $tmp0__anonymous__1nv1x1, $logger, $asyncProvider, resultContinuation) {
2492
2986
  var i = new roomLifecycleMiddleware$o$handle$slambda($store, $tmp0__anonymous__1nv1x1, $logger, $asyncProvider, resultContinuation);
2493
2987
  var l = function ($this$launchWorkerWithLock, $completion) {
2494
- return i.y13($this$launchWorkerWithLock, $completion);
2988
+ return i.w14($this$launchWorkerWithLock, $completion);
2495
2989
  };
2496
2990
  l.$arity = 1;
2497
2991
  return l;
2498
2992
  }
2499
- function _no_name_provided__qut3iv_4($asyncProvider, $logger) {
2500
- this.n7r_1 = $asyncProvider;
2501
- this.o7r_1 = $logger;
2993
+ function _no_name_provided__qut3iv_5($asyncProvider, $logger) {
2994
+ this.h8b_1 = $asyncProvider;
2995
+ this.i8b_1 = $logger;
2502
2996
  }
2503
- protoOf(_no_name_provided__qut3iv_4).d2r = function (action) {
2997
+ protoOf(_no_name_provided__qut3iv_5).t32 = function (action) {
2504
2998
  return action instanceof RoomAction;
2505
2999
  };
2506
- protoOf(_no_name_provided__qut3iv_4).d4l = function (store, next, action) {
3000
+ protoOf(_no_name_provided__qut3iv_5).a50 = function (store, next, action) {
2507
3001
  // Inline function 'com.debertz.logic.server.redux.middlewares.rooms.roomLifecycleMiddleware.<anonymous>' call
2508
3002
  var tmp0__anonymous__q1qw7t = action instanceof RoomAction ? action : THROW_CCE();
2509
3003
  next(tmp0__anonymous__q1qw7t);
2510
- this.n7r_1.i2p(VOID, roomLifecycleMiddleware$o$handle$slambda_0(store, tmp0__anonymous__q1qw7t, this.o7r_1, this.n7r_1, null));
3004
+ this.h8b_1.a31(VOID, roomLifecycleMiddleware$o$handle$slambda_0(store, tmp0__anonymous__q1qw7t, this.i8b_1, this.h8b_1, null));
2511
3005
  };
2512
- protoOf(_no_name_provided__qut3iv_4).e2r = function (store, next, action) {
2513
- return this.d4l(store, next, action);
3006
+ protoOf(_no_name_provided__qut3iv_5).u32 = function (store, next, action) {
3007
+ return this.a50(store, next, action);
2514
3008
  };
2515
3009
  function checkBotsMiddleware(logger) {
2516
3010
  var tmp$ret$0;
2517
3011
  // Inline function 'com.logic.domain.engine.definitions.middlewareForActionType' call
2518
- tmp$ret$0 = new _no_name_provided__qut3iv_5(logger);
3012
+ tmp$ret$0 = new _no_name_provided__qut3iv_6(logger);
2519
3013
  return tmp$ret$0;
2520
3014
  }
2521
- function _no_name_provided__qut3iv_5($logger) {
2522
- this.p7r_1 = $logger;
3015
+ function _no_name_provided__qut3iv_6($logger) {
3016
+ this.j8b_1 = $logger;
2523
3017
  }
2524
- protoOf(_no_name_provided__qut3iv_5).d2r = function (action) {
3018
+ protoOf(_no_name_provided__qut3iv_6).t32 = function (action) {
2525
3019
  return action instanceof SceneMechanicAction;
2526
3020
  };
2527
- protoOf(_no_name_provided__qut3iv_5).d4l = function (store, next, action) {
3021
+ protoOf(_no_name_provided__qut3iv_6).a50 = function (store, next, action) {
2528
3022
  // Inline function 'com.debertz.logic.server.redux.middlewares.validation.checkBotsMiddleware.<anonymous>' call
2529
3023
  var tmp0__anonymous__q1qw7t = action instanceof SceneMechanicAction ? action : THROW_CCE();
2530
3024
  var state = store.state;
2531
3025
  var tmp;
2532
- if (state.x2x()) {
3026
+ if (state.c3b()) {
2533
3027
  Companion_getInstance_2();
2534
- tmp = !(tmp0__anonymous__q1qw7t.k3q_1 === 'WAITING');
3028
+ tmp = !(tmp0__anonymous__q1qw7t.m44_1 === 'WAITING');
2535
3029
  } else {
2536
3030
  tmp = false;
2537
3031
  }
@@ -2539,7 +3033,7 @@
2539
3033
  var tmp$ret$0;
2540
3034
  $l$block_0: {
2541
3035
  // Inline function 'kotlin.collections.all' call
2542
- var tmp0_all = state.w2x().players;
3036
+ var tmp0_all = state.b3b().players;
2543
3037
  var tmp_0;
2544
3038
  if (isInterface(tmp0_all, Collection)) {
2545
3039
  tmp_0 = tmp0_all.l();
@@ -2555,7 +3049,9 @@
2555
3049
  var element = tmp0_iterator.h();
2556
3050
  var tmp$ret$1;
2557
3051
  // Inline function 'com.debertz.logic.server.redux.middlewares.validation.checkBotsMiddleware.<anonymous>.<anonymous>' call
2558
- tmp$ret$1 = element.p31_1.d2j_1.isNotAlive;
3052
+ var tmp0_safe_receiver = element.s3e_1.y2t_1;
3053
+ var tmp1_safe_receiver = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.c2u_1;
3054
+ tmp$ret$1 = (tmp1_safe_receiver == null ? null : tmp1_safe_receiver.isNotAlive) === true;
2559
3055
  if (!tmp$ret$1) {
2560
3056
  tmp$ret$0 = false;
2561
3057
  break $l$block_0;
@@ -2567,7 +3063,7 @@
2567
3063
  var tmp_1 = get_TAG();
2568
3064
  var tmp$ret$4;
2569
3065
  // Inline function 'kotlin.collections.map' call
2570
- var tmp2_map = state.w2x().players;
3066
+ var tmp2_map = state.b3b().players;
2571
3067
  var tmp$ret$3;
2572
3068
  // Inline function 'kotlin.collections.mapTo' call
2573
3069
  var tmp1_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp2_map, 10));
@@ -2576,18 +3072,20 @@
2576
3072
  var item = tmp0_iterator_0.h();
2577
3073
  var tmp$ret$2;
2578
3074
  // Inline function 'com.debertz.logic.server.redux.middlewares.validation.checkBotsMiddleware.<anonymous>.<anonymous>' call
2579
- tmp$ret$2 = to(item.y2h(), item.p31_1.d2j_1);
3075
+ var tmp_2 = item.q2s();
3076
+ var tmp0_safe_receiver_0 = item.s3e_1.y2t_1;
3077
+ tmp$ret$2 = to(tmp_2, tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.c2u_1);
2580
3078
  tmp1_mapTo.a(tmp$ret$2);
2581
3079
  }
2582
3080
  tmp$ret$3 = tmp1_mapTo;
2583
3081
  tmp$ret$4 = tmp$ret$3;
2584
- this.p7r_1.w(tmp_1, 'CheckBotsMiddleware: Only bots are playing: ' + tmp$ret$4);
3082
+ this.j8b_1.w(tmp_1, 'CheckBotsMiddleware: Only bots are playing: ' + tmp$ret$4);
2585
3083
  }
2586
3084
  }
2587
3085
  next(tmp0__anonymous__q1qw7t);
2588
3086
  };
2589
- protoOf(_no_name_provided__qut3iv_5).e2r = function (store, next, action) {
2590
- return this.d4l(store, next, action);
3087
+ protoOf(_no_name_provided__qut3iv_6).u32 = function (store, next, action) {
3088
+ return this.a50(store, next, action);
2591
3089
  };
2592
3090
  function checkGameIsFinishingWaitForRoomDeleteMiddleware(logger) {
2593
3091
  return middleware(checkGameIsFinishingWaitForRoomDeleteMiddleware$lambda(logger));
@@ -2596,7 +3094,7 @@
2596
3094
  return function (store, next, action) {
2597
3095
  var state = store.state;
2598
3096
  var tmp;
2599
- if (state.x2x()) {
3097
+ if (state.c3b()) {
2600
3098
  var tmp_0;
2601
3099
  var tmp_1;
2602
3100
  if (get_isFinished(state)) {
@@ -2623,76 +3121,79 @@
2623
3121
  function serverConfigReducer() {
2624
3122
  var tmp$ret$0;
2625
3123
  // Inline function 'com.logic.domain.engine.definitions.reducerForActionType' call
2626
- tmp$ret$0 = new _no_name_provided__qut3iv_6();
3124
+ tmp$ret$0 = new _no_name_provided__qut3iv_7();
2627
3125
  return tmp$ret$0;
2628
3126
  }
2629
- function _no_name_provided__qut3iv_6() {
3127
+ function _no_name_provided__qut3iv_7() {
2630
3128
  }
2631
- protoOf(_no_name_provided__qut3iv_6).d2r = function (action) {
3129
+ protoOf(_no_name_provided__qut3iv_7).t32 = function (action) {
2632
3130
  return action instanceof UpdateServerConfigAction;
2633
3131
  };
2634
- protoOf(_no_name_provided__qut3iv_6).k4q = function (state, action) {
3132
+ protoOf(_no_name_provided__qut3iv_7).i55 = function (state, action) {
2635
3133
  var tmp$ret$0;
2636
3134
  // Inline function 'com.debertz.logic.server.redux.reducers.serverConfigReducer.<anonymous>' call
2637
3135
  var tmp0__anonymous__q1qw7t = action instanceof UpdateServerConfigAction ? action : THROW_CCE();
2638
- tmp$ret$0 = state.e4h(VOID, get_serverState(state).q7r(tmp0__anonymous__q1qw7t.r7p_1));
3136
+ tmp$ret$0 = state.a4w(VOID, get_serverState(state).k8b(tmp0__anonymous__q1qw7t.x88_1));
2639
3137
  return tmp$ret$0;
2640
3138
  };
2641
- protoOf(_no_name_provided__qut3iv_6).r2p = function (state, action) {
2642
- return this.k4q(state instanceof AppState ? state : THROW_CCE(), action);
3139
+ protoOf(_no_name_provided__qut3iv_7).j31 = function (state, action) {
3140
+ return this.i55(state instanceof AppState ? state : THROW_CCE(), action);
2643
3141
  };
3142
+ function ServerMechanicLifecycleReducer$onStart$lambda(it) {
3143
+ return Companion_getInstance_3().j2v(it.isBot ? new PlayerConnection(PlayerConnectionState_LEFT_getInstance()) : new PlayerConnection(PlayerConnectionState_LIVE_getInstance()));
3144
+ }
2644
3145
  function ServerMechanicLifecycleReducer(logger, tableLifecycleReducer) {
2645
3146
  BaseMechanicLifecycleReducer.call(this, tableLifecycleReducer);
2646
- this.s7r_1 = logger;
3147
+ this.m8b_1 = logger;
2647
3148
  }
2648
- protoOf(ServerMechanicLifecycleReducer).y4r = function (state, action) {
2649
- var serverState = get_serverStateOrNull(state.t2w_1);
3149
+ protoOf(ServerMechanicLifecycleReducer).x56 = function (state, action) {
3150
+ var serverState = get_serverStateOrNull(state.y39_1);
2650
3151
  var tmp6_gameLifecycleState = GameLifecycleState_CREATED_getInstance();
2651
- var tmp0_$this = this.b4s_1;
2652
- var tmp1_id = action.a3q_1;
2653
- var tmp2_version = action.b3q_1;
2654
- var tmp3_config = action.z3p_1;
2655
- var tmp4_users = action.d3q_1;
2656
- var tmp5_gameCreatorPlayerId = action.c3q_1;
2657
- var tmp7_tableOrNull = tmp0_$this.q4s(tmp1_id, tmp3_config, tmp2_version, tmp4_users, tmp5_gameCreatorPlayerId);
3152
+ var tmp0_$this = this.a57_1;
3153
+ var tmp1_id = action.c44_1;
3154
+ var tmp2_version = action.d44_1;
3155
+ var tmp3_config = action.b44_1;
3156
+ var tmp4_users = action.f44_1;
3157
+ var tmp5_gameCreatorPlayerId = action.e44_1;
3158
+ var tmp7_tableOrNull = tmp0_$this.v57(tmp1_id, tmp3_config, tmp2_version, tmp4_users, tmp5_gameCreatorPlayerId, ServerMechanicLifecycleReducer$onStart$lambda);
2658
3159
  var tmp;
2659
3160
  if (serverState == null) {
2660
- this.s7r_1.w(VOID, 'ServerPayload is not onStart');
2661
- tmp = Companion_getInstance_5().e7p();
3161
+ this.m8b_1.w(VOID, 'ServerPayload is not onStart');
3162
+ tmp = Companion_getInstance_6().c87();
2662
3163
  } else {
2663
3164
  tmp = serverState;
2664
3165
  }
2665
3166
  var tmp8_payload = tmp;
2666
- return state.e4h(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
3167
+ return state.a4w(tmp7_tableOrNull, tmp8_payload, tmp6_gameLifecycleState);
2667
3168
  };
2668
3169
  function Companion() {
2669
3170
  Companion_instance = this;
2670
3171
  }
2671
- protoOf(Companion).t7r = function (config) {
3172
+ protoOf(Companion).n8b = function (config) {
2672
3173
  return new ServerState(config);
2673
3174
  };
2674
- protoOf(Companion).e7p = function (config, $super) {
3175
+ protoOf(Companion).c87 = function (config, $super) {
2675
3176
  config = config === VOID ? new ServerConfig(true) : config;
2676
- return $super === VOID ? this.t7r(config) : $super.t7r.call(this, config);
3177
+ return $super === VOID ? this.n8b(config) : $super.n8b.call(this, config);
2677
3178
  };
2678
3179
  var Companion_instance;
2679
- function Companion_getInstance_5() {
3180
+ function Companion_getInstance_6() {
2680
3181
  if (Companion_instance == null)
2681
3182
  new Companion();
2682
3183
  return Companion_instance;
2683
3184
  }
2684
3185
  function ServerState(config) {
2685
- Companion_getInstance_5();
2686
- this.f7p_1 = config;
3186
+ Companion_getInstance_6();
3187
+ this.d87_1 = config;
2687
3188
  }
2688
- protoOf(ServerState).q7r = function (config) {
3189
+ protoOf(ServerState).k8b = function (config) {
2689
3190
  return new ServerState(config);
2690
3191
  };
2691
3192
  protoOf(ServerState).toString = function () {
2692
- return 'ServerState(config=' + this.f7p_1 + ')';
3193
+ return 'ServerState(config=' + this.d87_1 + ')';
2693
3194
  };
2694
3195
  protoOf(ServerState).hashCode = function () {
2695
- return this.f7p_1.hashCode();
3196
+ return this.d87_1.hashCode();
2696
3197
  };
2697
3198
  protoOf(ServerState).equals = function (other) {
2698
3199
  if (this === other)
@@ -2700,14 +3201,14 @@
2700
3201
  if (!(other instanceof ServerState))
2701
3202
  return false;
2702
3203
  var tmp0_other_with_cast = other instanceof ServerState ? other : THROW_CCE();
2703
- if (!this.f7p_1.equals(tmp0_other_with_cast.f7p_1))
3204
+ if (!this.d87_1.equals(tmp0_other_with_cast.d87_1))
2704
3205
  return false;
2705
3206
  return true;
2706
3207
  };
2707
3208
  function get_serverState(_this__u8e3s4) {
2708
3209
  var tmp$ret$2;
2709
3210
  // Inline function 'kotlin.requireNotNull' call
2710
- var tmp0_requireNotNull = _this__u8e3s4.t2w_1;
3211
+ var tmp0_requireNotNull = _this__u8e3s4.y39_1;
2711
3212
  // Inline function 'kotlin.contracts.contract' call
2712
3213
  var tmp$ret$1;
2713
3214
  $l$block: {
@@ -2737,7 +3238,7 @@
2737
3238
  }
2738
3239
  function prepareConfigObjectInternal($this, map) {
2739
3240
  var jsObject = {};
2740
- var tmp = map.z1('players');
3241
+ var tmp = map.w1('players');
2741
3242
  var tmp0_safe_receiver = (tmp == null ? true : isArray(tmp)) ? tmp : null;
2742
3243
  var tmp_0;
2743
3244
  if (tmp0_safe_receiver == null) {
@@ -2786,7 +3287,7 @@
2786
3287
  tmp_1 = tmp$ret$5;
2787
3288
  }
2788
3289
  var players = tmp_1;
2789
- var tmp_3 = map.z1('points');
3290
+ var tmp_3 = map.w1('points');
2790
3291
  var tmp2_safe_receiver = (tmp_3 == null ? true : isArray(tmp_3)) ? tmp_3 : null;
2791
3292
  var tmp_4;
2792
3293
  if (tmp2_safe_receiver == null) {
@@ -2835,7 +3336,7 @@
2835
3336
  tmp_5 = tmp$ret$11;
2836
3337
  }
2837
3338
  var points = tmp_5;
2838
- var tmp_7 = map.z1('timeoutTime');
3339
+ var tmp_7 = map.w1('timeoutTime');
2839
3340
  var tmp4_safe_receiver = (tmp_7 == null ? true : isArray(tmp_7)) ? tmp_7 : null;
2840
3341
  var tmp_8;
2841
3342
  if (tmp4_safe_receiver == null) {
@@ -2884,7 +3385,7 @@
2884
3385
  tmp_9 = tmp$ret$17;
2885
3386
  }
2886
3387
  var timeoutTime = tmp_9;
2887
- var tmp_11 = map.z1('rulesPreset');
3388
+ var tmp_11 = map.w1('rulesPreset');
2888
3389
  var tmp6_safe_receiver = (tmp_11 == null ? true : isArray(tmp_11)) ? tmp_11 : null;
2889
3390
  var tmp_12;
2890
3391
  if (tmp6_safe_receiver == null) {
@@ -2933,7 +3434,7 @@
2933
3434
  tmp_13 = tmp$ret$23;
2934
3435
  }
2935
3436
  var rulesPreset = tmp_13;
2936
- var tmp_15 = map.z1('isChatEnabled');
3437
+ var tmp_15 = map.w1('isChatEnabled');
2937
3438
  var isChatEnabled = (!(tmp_15 == null) ? typeof tmp_15 === 'boolean' : false) ? tmp_15 : null;
2938
3439
  var tmp8_elvis_lhs = players;
2939
3440
  var tmp_16;
@@ -3005,7 +3506,7 @@
3005
3506
  inductionVariable = inductionVariable + 1 | 0;
3006
3507
  var tmp$ret$33;
3007
3508
  // Inline function 'GameHelperImpl.prepareConfigObjectInternal.<anonymous>' call
3008
- tmp$ret$33 = item.p5_1;
3509
+ tmp$ret$33 = item.l5_1;
3009
3510
  tmp0_mapTo.a(tmp$ret$33);
3010
3511
  }
3011
3512
  tmp$ret$34 = tmp0_mapTo;
@@ -3040,7 +3541,7 @@
3040
3541
  inductionVariable = inductionVariable + 1 | 0;
3041
3542
  var tmp$ret$0;
3042
3543
  // Inline function 'GameHelperImpl.validatePlayers.<anonymous>' call
3043
- tmp$ret$0 = item.players;
3544
+ tmp$ret$0 = item.value;
3044
3545
  tmp0_mapTo.a(tmp$ret$0);
3045
3546
  }
3046
3547
  tmp$ret$1 = tmp0_mapTo;
@@ -3064,7 +3565,7 @@
3064
3565
  inductionVariable = inductionVariable + 1 | 0;
3065
3566
  var tmp$ret$0;
3066
3567
  // Inline function 'GameHelperImpl.validatePoints.<anonymous>' call
3067
- tmp$ret$0 = item.points;
3568
+ tmp$ret$0 = item.value;
3068
3569
  tmp0_mapTo.a(tmp$ret$0);
3069
3570
  }
3070
3571
  tmp$ret$1 = tmp0_mapTo;
@@ -3088,7 +3589,7 @@
3088
3589
  inductionVariable = inductionVariable + 1 | 0;
3089
3590
  var tmp$ret$0;
3090
3591
  // Inline function 'GameHelperImpl.validateRulesSetType.<anonymous>' call
3091
- tmp$ret$0 = item.p5_1;
3592
+ tmp$ret$0 = item.l5_1;
3092
3593
  tmp0_mapTo.a(tmp$ret$0);
3093
3594
  }
3094
3595
  tmp$ret$1 = tmp0_mapTo;
@@ -3111,10 +3612,10 @@
3111
3612
  }
3112
3613
  protoOf(GameHelperImpl).filterLivePlayers = function (store, playerIds) {
3113
3614
  var state = store.state;
3114
- if (!state.x2x()) {
3615
+ if (!state.c3b()) {
3115
3616
  return playerIds;
3116
3617
  }
3117
- var players = state.w2x().players;
3618
+ var players = state.b3b().players;
3118
3619
  var tmp$ret$9;
3119
3620
  // Inline function 'kotlin.collections.toTypedArray' call
3120
3621
  var tmp$ret$8;
@@ -3148,7 +3649,7 @@
3148
3649
  var element = tmp0_iterator.h();
3149
3650
  var tmp$ret$3;
3150
3651
  // Inline function 'GameHelperImpl.filterLivePlayers.<anonymous>' call
3151
- tmp$ret$3 = element.p31_1.d2j_1.isLive;
3652
+ tmp$ret$3 = element.s3e_1.n2v().c2u_1.isLive;
3152
3653
  if (tmp$ret$3) {
3153
3654
  tmp1_filterTo.a(element);
3154
3655
  }
@@ -3164,7 +3665,71 @@
3164
3665
  var item_0 = tmp0_iterator_0.h();
3165
3666
  var tmp$ret$6;
3166
3667
  // Inline function 'GameHelperImpl.filterLivePlayers.<anonymous>' call
3167
- tmp$ret$6 = item_0.y2h();
3668
+ tmp$ret$6 = item_0.q2s();
3669
+ tmp3_mapTo.a(tmp$ret$6);
3670
+ }
3671
+ tmp$ret$7 = tmp3_mapTo;
3672
+ tmp$ret$8 = tmp$ret$7;
3673
+ var tmp5_toTypedArray = tmp$ret$8;
3674
+ tmp$ret$9 = copyToArray(tmp5_toTypedArray);
3675
+ return tmp$ret$9;
3676
+ };
3677
+ protoOf(GameHelperImpl).filterLiveDuringGamePlayers = function (store, playerIds) {
3678
+ var state = store.state;
3679
+ if (!state.c3b()) {
3680
+ return playerIds;
3681
+ }
3682
+ var players = state.b3b().players;
3683
+ var tmp$ret$9;
3684
+ // Inline function 'kotlin.collections.toTypedArray' call
3685
+ var tmp$ret$8;
3686
+ // Inline function 'kotlin.collections.map' call
3687
+ var tmp$ret$5;
3688
+ // Inline function 'kotlin.collections.filter' call
3689
+ var tmp$ret$2;
3690
+ // Inline function 'kotlin.collections.map' call
3691
+ var tmp$ret$1;
3692
+ // Inline function 'kotlin.collections.mapTo' call
3693
+ var tmp0_mapTo = ArrayList_init_$Create$_0(playerIds.length);
3694
+ var indexedObject = playerIds;
3695
+ var inductionVariable = 0;
3696
+ var last = indexedObject.length;
3697
+ while (inductionVariable < last) {
3698
+ var item = indexedObject[inductionVariable];
3699
+ inductionVariable = inductionVariable + 1 | 0;
3700
+ var tmp$ret$0;
3701
+ // Inline function 'GameHelperImpl.filterLiveDuringGamePlayers.<anonymous>' call
3702
+ tmp$ret$0 = getPlayer(players, item);
3703
+ tmp0_mapTo.a(tmp$ret$0);
3704
+ }
3705
+ tmp$ret$1 = tmp0_mapTo;
3706
+ tmp$ret$2 = tmp$ret$1;
3707
+ var tmp2_filter = tmp$ret$2;
3708
+ var tmp$ret$4;
3709
+ // Inline function 'kotlin.collections.filterTo' call
3710
+ var tmp1_filterTo = ArrayList_init_$Create$();
3711
+ var tmp0_iterator = tmp2_filter.f();
3712
+ while (tmp0_iterator.g()) {
3713
+ var element = tmp0_iterator.h();
3714
+ var tmp$ret$3;
3715
+ // Inline function 'GameHelperImpl.filterLiveDuringGamePlayers.<anonymous>' call
3716
+ tmp$ret$3 = element.s3e_1.n2v().m2u(state.b3b().gameDuration);
3717
+ if (tmp$ret$3) {
3718
+ tmp1_filterTo.a(element);
3719
+ }
3720
+ }
3721
+ tmp$ret$4 = tmp1_filterTo;
3722
+ tmp$ret$5 = tmp$ret$4;
3723
+ var tmp4_map = tmp$ret$5;
3724
+ var tmp$ret$7;
3725
+ // Inline function 'kotlin.collections.mapTo' call
3726
+ var tmp3_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp4_map, 10));
3727
+ var tmp0_iterator_0 = tmp4_map.f();
3728
+ while (tmp0_iterator_0.g()) {
3729
+ var item_0 = tmp0_iterator_0.h();
3730
+ var tmp$ret$6;
3731
+ // Inline function 'GameHelperImpl.filterLiveDuringGamePlayers.<anonymous>' call
3732
+ tmp$ret$6 = item_0.q2s();
3168
3733
  tmp3_mapTo.a(tmp$ret$6);
3169
3734
  }
3170
3735
  tmp$ret$7 = tmp3_mapTo;
@@ -3175,10 +3740,10 @@
3175
3740
  };
3176
3741
  protoOf(GameHelperImpl).filterBotPlayers = function (store, playerIds) {
3177
3742
  var state = store.state;
3178
- if (!state.x2x()) {
3743
+ if (!state.c3b()) {
3179
3744
  return playerIds;
3180
3745
  }
3181
- var players = state.w2x().players;
3746
+ var players = state.b3b().players;
3182
3747
  var tmp$ret$9;
3183
3748
  // Inline function 'kotlin.collections.toTypedArray' call
3184
3749
  var tmp$ret$8;
@@ -3212,7 +3777,7 @@
3212
3777
  var element = tmp0_iterator.h();
3213
3778
  var tmp$ret$3;
3214
3779
  // Inline function 'GameHelperImpl.filterBotPlayers.<anonymous>' call
3215
- tmp$ret$3 = element.o31_1.isBot;
3780
+ tmp$ret$3 = element.r3e_1.isBot;
3216
3781
  if (tmp$ret$3) {
3217
3782
  tmp1_filterTo.a(element);
3218
3783
  }
@@ -3228,7 +3793,7 @@
3228
3793
  var item_0 = tmp0_iterator_0.h();
3229
3794
  var tmp$ret$6;
3230
3795
  // Inline function 'GameHelperImpl.filterBotPlayers.<anonymous>' call
3231
- tmp$ret$6 = item_0.y2h();
3796
+ tmp$ret$6 = item_0.q2s();
3232
3797
  tmp3_mapTo.a(tmp$ret$6);
3233
3798
  }
3234
3799
  tmp$ret$7 = tmp3_mapTo;
@@ -3239,10 +3804,10 @@
3239
3804
  };
3240
3805
  protoOf(GameHelperImpl).filterRealPlayers = function (store, playerIds) {
3241
3806
  var state = store.state;
3242
- if (!state.x2x()) {
3807
+ if (!state.c3b()) {
3243
3808
  return playerIds;
3244
3809
  }
3245
- var players = state.w2x().players;
3810
+ var players = state.b3b().players;
3246
3811
  var tmp$ret$9;
3247
3812
  // Inline function 'kotlin.collections.toTypedArray' call
3248
3813
  var tmp$ret$8;
@@ -3276,7 +3841,7 @@
3276
3841
  var element = tmp0_iterator.h();
3277
3842
  var tmp$ret$3;
3278
3843
  // Inline function 'GameHelperImpl.filterRealPlayers.<anonymous>' call
3279
- tmp$ret$3 = !element.o31_1.isBot;
3844
+ tmp$ret$3 = !element.r3e_1.isBot;
3280
3845
  if (tmp$ret$3) {
3281
3846
  tmp1_filterTo.a(element);
3282
3847
  }
@@ -3292,7 +3857,7 @@
3292
3857
  var item_0 = tmp0_iterator_0.h();
3293
3858
  var tmp$ret$6;
3294
3859
  // Inline function 'GameHelperImpl.filterRealPlayers.<anonymous>' call
3295
- tmp$ret$6 = item_0.y2h();
3860
+ tmp$ret$6 = item_0.q2s();
3296
3861
  tmp3_mapTo.a(tmp$ret$6);
3297
3862
  }
3298
3863
  tmp$ret$7 = tmp3_mapTo;
@@ -3303,21 +3868,21 @@
3303
3868
  };
3304
3869
  protoOf(GameHelperImpl).getUserSocketId = function (store, playerId) {
3305
3870
  var state = store.state;
3306
- if (!state.x2x()) {
3871
+ if (!state.c3b()) {
3307
3872
  return null;
3308
3873
  }
3309
- return get_serverUserPayload(getPlayer(state.w2x().players, playerId).o31_1).u7r_1;
3874
+ return get_serverUserPayload(getPlayer(state.b3b().players, playerId).r3e_1).o8b_1;
3310
3875
  };
3311
3876
  protoOf(GameHelperImpl).getUserSocketIds = function (store) {
3312
3877
  var state = store.state;
3313
- if (!state.x2x()) {
3878
+ if (!state.c3b()) {
3314
3879
  return null;
3315
3880
  }
3316
3881
  var tmp$ret$3;
3317
3882
  // Inline function 'kotlin.collections.toTypedArray' call
3318
3883
  var tmp$ret$2;
3319
3884
  // Inline function 'kotlin.collections.map' call
3320
- var tmp1_map = state.w2x().players;
3885
+ var tmp1_map = state.b3b().players;
3321
3886
  var tmp$ret$1;
3322
3887
  // Inline function 'kotlin.collections.mapTo' call
3323
3888
  var tmp0_mapTo = ArrayList_init_$Create$_0(collectionSizeOrDefault(tmp1_map, 10));
@@ -3326,7 +3891,7 @@
3326
3891
  var item = tmp0_iterator.h();
3327
3892
  var tmp$ret$0;
3328
3893
  // Inline function 'GameHelperImpl.getUserSocketIds.<anonymous>' call
3329
- tmp$ret$0 = get_serverUserPayload(item.o31_1).u7r_1;
3894
+ tmp$ret$0 = get_serverUserPayload(item.r3e_1).o8b_1;
3330
3895
  tmp0_mapTo.a(tmp$ret$0);
3331
3896
  }
3332
3897
  tmp$ret$1 = tmp0_mapTo;
@@ -3401,7 +3966,7 @@
3401
3966
  var tmp_2 = (!(tmp_1 == null) ? typeof tmp_1 === 'boolean' : false) ? tmp_1 : THROW_CCE();
3402
3967
  var tmp_3 = getValue(map, 'protectBella');
3403
3968
  var tmp_4 = (!(tmp_3 == null) ? typeof tmp_3 === 'boolean' : false) ? tmp_3 : THROW_CCE();
3404
- var tmp_5 = map.z1('oneTryToProtectBella');
3969
+ var tmp_5 = map.w1('oneTryToProtectBella');
3405
3970
  var tmp0_elvis_lhs = (!(tmp_5 == null) ? typeof tmp_5 === 'boolean' : false) ? tmp_5 : null;
3406
3971
  var tmp_6 = tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs;
3407
3972
  var tmp_7 = getValue(map, 'enableFourSevensCombination');
@@ -3433,7 +3998,7 @@
3433
3998
  };
3434
3999
  protoOf(GameHelperImpl).prepareConfigObjectWithPagination = function (config) {
3435
4000
  var map = mapOfObject(config);
3436
- var tmp = map.z1('limit');
4001
+ var tmp = map.w1('limit');
3437
4002
  var tmp0_safe_receiver = (!(tmp == null) ? typeof tmp === 'number' : false) ? tmp : null;
3438
4003
  var tmp_0;
3439
4004
  if (tmp0_safe_receiver == null) {
@@ -3459,7 +4024,7 @@
3459
4024
  };
3460
4025
  protoOf(GameHelperImpl).isValidConfigObject = function (config) {
3461
4026
  var map = mapOfObject(config);
3462
- var rules = map.z1('rules');
4027
+ var rules = map.w1('rules');
3463
4028
  var tmp = getValue(map, 'players');
3464
4029
  var tmp_0 = (!(tmp == null) ? typeof tmp === 'number' : false) ? tmp : THROW_CCE();
3465
4030
  var tmp_1 = getValue(map, 'points');
@@ -3486,20 +4051,20 @@
3486
4051
  };
3487
4052
  protoOf(GameHelperImpl).getRulesByType = function (rulesSetType) {
3488
4053
  var tmp0_subject = rulesSetType;
3489
- var tmp0 = tmp0_subject.q5_1;
4054
+ var tmp0 = tmp0_subject.m5_1;
3490
4055
  var tmp;
3491
4056
  switch (tmp0) {
3492
4057
  case 0:
3493
- tmp = Companion_getInstance_3().belot();
4058
+ tmp = Companion_getInstance_4().belot();
3494
4059
  break;
3495
4060
  case 1:
3496
- tmp = Companion_getInstance_3().klabor();
4061
+ tmp = Companion_getInstance_4().klabor();
3497
4062
  break;
3498
4063
  case 2:
3499
- tmp = Companion_getInstance_3().debertzCommon();
4064
+ tmp = Companion_getInstance_4().debertzCommon();
3500
4065
  break;
3501
4066
  case 3:
3502
- tmp = Companion_getInstance_3().kharkiv();
4067
+ tmp = Companion_getInstance_4().kharkiv();
3503
4068
  break;
3504
4069
  case 4:
3505
4070
  throw IllegalStateException_init_$Create$("You can't use default custom rule, you need to provide own one");
@@ -3512,15 +4077,15 @@
3512
4077
  protoOf(GameHelperImpl).getRulesByString = function (name) {
3513
4078
  var tmp0_subject = name;
3514
4079
  var tmp;
3515
- if (tmp0_subject === RulesSetType_belot_getInstance().p5_1) {
3516
- tmp = Companion_getInstance_3().belot();
3517
- } else if (tmp0_subject === RulesSetType_klabor_getInstance().p5_1) {
3518
- tmp = Companion_getInstance_3().klabor();
3519
- } else if (tmp0_subject === RulesSetType_debertzCommon_getInstance().p5_1) {
3520
- tmp = Companion_getInstance_3().debertzCommon();
3521
- } else if (tmp0_subject === RulesSetType_debertzKharkiv_getInstance().p5_1) {
3522
- tmp = Companion_getInstance_3().kharkiv();
3523
- } else if (tmp0_subject === RulesSetType_custom_getInstance().p5_1) {
4080
+ if (tmp0_subject === RulesSetType_belot_getInstance().l5_1) {
4081
+ tmp = Companion_getInstance_4().belot();
4082
+ } else if (tmp0_subject === RulesSetType_klabor_getInstance().l5_1) {
4083
+ tmp = Companion_getInstance_4().klabor();
4084
+ } else if (tmp0_subject === RulesSetType_debertzCommon_getInstance().l5_1) {
4085
+ tmp = Companion_getInstance_4().debertzCommon();
4086
+ } else if (tmp0_subject === RulesSetType_debertzKharkiv_getInstance().l5_1) {
4087
+ tmp = Companion_getInstance_4().kharkiv();
4088
+ } else if (tmp0_subject === RulesSetType_custom_getInstance().l5_1) {
3524
4089
  throw IllegalStateException_init_$Create$("You can't use default custom rule, you need to provide own one");
3525
4090
  } else {
3526
4091
  throw IllegalStateException_init_$Create$("Can't support this " + name);
@@ -3581,21 +4146,21 @@
3581
4146
  function getRandomAvatarData_0($this) {
3582
4147
  var avatarSetNumber = Default_getInstance().n(values_2().length);
3583
4148
  var avatarSet = values_2()[avatarSetNumber];
3584
- return new AvatarData(Default_getInstance().n(avatarSet.y7r()), avatarSet);
4149
+ return new AvatarData(Default_getInstance().n(avatarSet.s8b()), avatarSet);
3585
4150
  }
3586
4151
  function getAvatarUrlByIndex($this, data) {
3587
4152
  return mapToPattern($this, data);
3588
4153
  }
3589
4154
  function getNicknameByIndex($this, data) {
3590
- return data.a7s_1.b7s(data.z7r_1);
4155
+ return data.u8b_1.v8b(data.t8b_1);
3591
4156
  }
3592
4157
  function mapToPattern($this, data) {
3593
- Companion_getInstance_6();
3594
- return 'debertz://raspberry.games' + '/' + data.a7s_1.q5_1 + '/' + data.z7r_1;
4158
+ Companion_getInstance_7();
4159
+ return 'debertz://raspberry.games' + '/' + data.u8b_1.m5_1 + '/' + data.t8b_1;
3595
4160
  }
3596
4161
  function Companion_0() {
3597
4162
  Companion_instance_0 = this;
3598
- this.c7s_1 = 'debertz://raspberry.games';
4163
+ this.w8b_1 = 'debertz://raspberry.games';
3599
4164
  var tmp = this;
3600
4165
  var tmp$ret$2;
3601
4166
  // Inline function 'kotlin.arrayOf' call
@@ -3606,7 +4171,7 @@
3606
4171
  tmp$ret$0 = ['Helen', 'Kelvin', 'Josh', 'Cler', 'Anna', 'Emily', 'Tom', 'Peter', 'Kate', 'Lucy', 'Bob', 'Holly', 'Alex', 'Mark', 'Sarah', 'Naomi'];
3607
4172
  tmp$ret$1 = tmp$ret$0;
3608
4173
  tmp$ret$2 = tmp$ret$1;
3609
- tmp.d7s_1 = tmp$ret$2;
4174
+ tmp.x8b_1 = tmp$ret$2;
3610
4175
  var tmp_0 = this;
3611
4176
  var tmp$ret$5;
3612
4177
  // Inline function 'kotlin.arrayOf' call
@@ -3617,7 +4182,7 @@
3617
4182
  tmp$ret$3 = ['\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'];
3618
4183
  tmp$ret$4 = tmp$ret$3;
3619
4184
  tmp$ret$5 = tmp$ret$4;
3620
- tmp_0.e7s_1 = tmp$ret$5;
4185
+ tmp_0.y8b_1 = tmp$ret$5;
3621
4186
  var tmp_1 = this;
3622
4187
  var tmp$ret$8;
3623
4188
  // Inline function 'kotlin.arrayOf' call
@@ -3628,7 +4193,7 @@
3628
4193
  tmp$ret$6 = ['Fedya', 'Shurik', 'Student', 'Student girl', 'District policeman', 'George', 'Zina', 'Shuller', 'Tanya', 'Katerina', 'Innocent', 'Lyolik', 'Nina', 'Experienced', 'Jigid', 'Just a Tsar'];
3629
4194
  tmp$ret$7 = tmp$ret$6;
3630
4195
  tmp$ret$8 = tmp$ret$7;
3631
- tmp_1.f7s_1 = tmp$ret$8;
4196
+ tmp_1.z8b_1 = tmp$ret$8;
3632
4197
  var tmp_2 = this;
3633
4198
  var tmp$ret$11;
3634
4199
  // Inline function 'kotlin.arrayOf' call
@@ -3639,10 +4204,10 @@
3639
4204
  tmp$ret$9 = ['\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'];
3640
4205
  tmp$ret$10 = tmp$ret$9;
3641
4206
  tmp$ret$11 = tmp$ret$10;
3642
- tmp_2.g7s_1 = tmp$ret$11;
4207
+ tmp_2.a8c_1 = tmp$ret$11;
3643
4208
  }
3644
4209
  var Companion_instance_0;
3645
- function Companion_getInstance_6() {
4210
+ function Companion_getInstance_7() {
3646
4211
  if (Companion_instance_0 == null)
3647
4212
  new Companion_0();
3648
4213
  return Companion_instance_0;
@@ -3650,16 +4215,16 @@
3650
4215
  function AvatarSet(name, ordinal) {
3651
4216
  Enum.call(this, name, ordinal);
3652
4217
  }
3653
- protoOf(AvatarSet).y7r = function () {
4218
+ protoOf(AvatarSet).s8b = function () {
3654
4219
  var tmp0_subject = this;
3655
- var tmp0 = tmp0_subject.q5_1;
4220
+ var tmp0 = tmp0_subject.m5_1;
3656
4221
  var tmp;
3657
4222
  switch (tmp0) {
3658
4223
  case 0:
3659
- tmp = Companion_getInstance_6().e7s_1.length;
4224
+ tmp = Companion_getInstance_7().y8b_1.length;
3660
4225
  break;
3661
4226
  case 1:
3662
- tmp = Companion_getInstance_6().g7s_1.length;
4227
+ tmp = Companion_getInstance_7().a8c_1.length;
3663
4228
  break;
3664
4229
  default:
3665
4230
  noWhenBranchMatchedException();
@@ -3667,16 +4232,16 @@
3667
4232
  }
3668
4233
  return tmp;
3669
4234
  };
3670
- protoOf(AvatarSet).b7s = function (index) {
4235
+ protoOf(AvatarSet).v8b = function (index) {
3671
4236
  var tmp0_subject = this;
3672
- var tmp0 = tmp0_subject.q5_1;
4237
+ var tmp0 = tmp0_subject.m5_1;
3673
4238
  var tmp;
3674
4239
  switch (tmp0) {
3675
4240
  case 0:
3676
- tmp = Companion_getInstance_6().e7s_1[index];
4241
+ tmp = Companion_getInstance_7().y8b_1[index];
3677
4242
  break;
3678
4243
  case 1:
3679
- tmp = Companion_getInstance_6().g7s_1[index];
4244
+ tmp = Companion_getInstance_7().a8c_1[index];
3680
4245
  break;
3681
4246
  default:
3682
4247
  noWhenBranchMatchedException();
@@ -3685,8 +4250,8 @@
3685
4250
  return tmp;
3686
4251
  };
3687
4252
  function AvatarData(index, avatarSet) {
3688
- this.z7r_1 = index;
3689
- this.a7s_1 = avatarSet;
4253
+ this.t8b_1 = index;
4254
+ this.u8b_1 = avatarSet;
3690
4255
  }
3691
4256
  function AvatarSet_ORIGIN_getInstance() {
3692
4257
  AvatarSet_initEntries();
@@ -3697,9 +4262,9 @@
3697
4262
  return AvatarSet_NOSTALGIA_instance;
3698
4263
  }
3699
4264
  function GameResourcesImpl() {
3700
- Companion_getInstance_6();
4265
+ Companion_getInstance_7();
3701
4266
  }
3702
- protoOf(GameResourcesImpl).v7r = function (playerId, existingNicknames) {
4267
+ protoOf(GameResourcesImpl).p8b = function (playerId, existingNicknames) {
3703
4268
  var data = getRandomAvatarData(this, existingNicknames);
3704
4269
  return new GameUserInfo(playerId, getNicknameByIndex(this, data), getAvatarUrlByIndex(this, data), true);
3705
4270
  };
@@ -3747,24 +4312,24 @@
3747
4312
  return new GameServerEngineControllerImpl(loggerCallback);
3748
4313
  }
3749
4314
  function createDI($this, logger, serverConfig, logicConfig, botConfig, externalReducers, externalMiddlewares) {
3750
- var tmp = Companion_getInstance_4();
3751
- return tmp.y2a(VOID, GameServerEngineControllerImpl$createDI$lambda(serverConfig, logicConfig, botConfig, externalReducers, externalMiddlewares, logger));
4315
+ var tmp = Companion_getInstance_5();
4316
+ return tmp.q2l(VOID, GameServerEngineControllerImpl$createDI$lambda(serverConfig, logicConfig, botConfig, externalReducers, externalMiddlewares, logger));
3752
4317
  }
3753
- function _no_name_provided__qut3iv_7($item) {
3754
- this.l7s_1 = $item;
4318
+ function _no_name_provided__qut3iv_8($item) {
4319
+ this.f8c_1 = $item;
3755
4320
  }
3756
- protoOf(_no_name_provided__qut3iv_7).d2r = function (action) {
4321
+ protoOf(_no_name_provided__qut3iv_8).t32 = function (action) {
3757
4322
  return isInterface(action, Action);
3758
4323
  };
3759
- protoOf(_no_name_provided__qut3iv_7).k4q = function (state, action) {
3760
- return this.l7s_1(state, isInterface(action, Action) ? action : THROW_CCE());
4324
+ protoOf(_no_name_provided__qut3iv_8).i55 = function (state, action) {
4325
+ return this.f8c_1(state, isInterface(action, Action) ? action : THROW_CCE());
3761
4326
  };
3762
- protoOf(_no_name_provided__qut3iv_7).r2p = function (state, action) {
3763
- return this.k4q(state instanceof AppState ? state : THROW_CCE(), action);
4327
+ protoOf(_no_name_provided__qut3iv_8).j31 = function (state, action) {
4328
+ return this.i55(state instanceof AppState ? state : THROW_CCE(), action);
3764
4329
  };
3765
4330
  function GameServerEngineControllerImpl$createGameEngineWithLogic$lambda($gameServer) {
3766
4331
  return function () {
3767
- return $gameServer.zj();
4332
+ return $gameServer.yj();
3768
4333
  };
3769
4334
  }
3770
4335
  function GameServerEngineControllerImpl$createDI$lambda$lambda($logger) {
@@ -3776,12 +4341,12 @@
3776
4341
  var tmp = Default_getInstance();
3777
4342
  var tmp$ret$1;
3778
4343
  // Inline function 'org.kodein.di.instance' call
3779
- var tmp_0 = $this$singleton.b2c();
4344
+ var tmp_0 = $this$singleton.t2m();
3780
4345
  var tmp$ret$0;
3781
4346
  // Inline function 'org.kodein.type.generic' call
3782
4347
  var tmp_1 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
3783
4348
  tmp$ret$0 = isInterface(tmp_1, TypeToken) ? tmp_1 : THROW_CCE();
3784
- tmp$ret$1 = tmp_0.c2c(tmp$ret$0, null);
4349
+ tmp$ret$1 = tmp_0.u2m(tmp$ret$0, null);
3785
4350
  return new CardsGeneratorProviderImpl(tmp, tmp$ret$1);
3786
4351
  }
3787
4352
  function GameServerEngineControllerImpl$createDI$lambda($serverConfig, $logicConfig, $botConfig, $externalReducers, $externalMiddlewares, $logger) {
@@ -3792,50 +4357,50 @@
3792
4357
  // Inline function 'org.kodein.type.generic' call
3793
4358
  var tmp = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
3794
4359
  tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
3795
- tmp$ret$1 = $this$invoke.s2a(tmp$ret$0, null, null);
4360
+ tmp$ret$1 = $this$invoke.k2l(tmp$ret$0, null, null);
3796
4361
  var tmp_0 = tmp$ret$1;
3797
4362
  var tmp$ret$3;
3798
4363
  // Inline function 'org.kodein.di.singleton' call
3799
4364
  var tmp0_singleton = GameServerEngineControllerImpl$createDI$lambda$lambda($logger);
3800
- var tmp_1 = $this$invoke.i2c();
3801
- var tmp_2 = $this$invoke.j2c();
3802
- var tmp_3 = $this$invoke.h2e();
4365
+ var tmp_1 = $this$invoke.a2n();
4366
+ var tmp_2 = $this$invoke.b2n();
4367
+ var tmp_3 = $this$invoke.z2o();
3803
4368
  var tmp$ret$2;
3804
4369
  // Inline function 'org.kodein.type.generic' call
3805
4370
  var tmp_4 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
3806
4371
  tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
3807
4372
  tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, tmp0_singleton);
3808
- tmp_0.m2e(tmp$ret$3);
4373
+ tmp_0.e2p(tmp$ret$3);
3809
4374
  var tmp$ret$5;
3810
4375
  // Inline function 'org.kodein.di.bind' call
3811
4376
  var tmp$ret$4;
3812
4377
  // Inline function 'org.kodein.type.generic' call
3813
4378
  var tmp_5 = typeToken(createKType(getKClass(CardsGeneratorProvider), arrayOf([]), false));
3814
4379
  tmp$ret$4 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
3815
- tmp$ret$5 = $this$invoke.s2a(tmp$ret$4, null, null);
4380
+ tmp$ret$5 = $this$invoke.k2l(tmp$ret$4, null, null);
3816
4381
  var tmp_6 = tmp$ret$5;
3817
4382
  var tmp$ret$7;
3818
4383
  // Inline function 'org.kodein.di.singleton' call
3819
4384
  var tmp1_singleton = GameServerEngineControllerImpl$createDI$lambda$lambda_0;
3820
- var tmp_7 = $this$invoke.i2c();
3821
- var tmp_8 = $this$invoke.j2c();
3822
- var tmp_9 = $this$invoke.h2e();
4385
+ var tmp_7 = $this$invoke.a2n();
4386
+ var tmp_8 = $this$invoke.b2n();
4387
+ var tmp_9 = $this$invoke.z2o();
3823
4388
  var tmp$ret$6;
3824
4389
  // Inline function 'org.kodein.type.generic' call
3825
4390
  var tmp_10 = typeToken(createKType(getKClass(CardsGeneratorProviderImpl), arrayOf([]), false));
3826
4391
  tmp$ret$6 = isInterface(tmp_10, TypeToken) ? tmp_10 : THROW_CCE();
3827
4392
  tmp$ret$7 = new Singleton(tmp_7, tmp_8, tmp_9, tmp$ret$6, null, true, tmp1_singleton);
3828
- tmp_6.m2e(tmp$ret$7);
3829
- $this$invoke.u2a(get_coreModule());
3830
- $this$invoke.u2a(createGameServerDI($serverConfig, $logicConfig, $botConfig, $externalReducers, $externalMiddlewares));
4393
+ tmp_6.e2p(tmp$ret$7);
4394
+ $this$invoke.m2l(get_coreModule());
4395
+ $this$invoke.m2l(createGameServerDI($serverConfig, $logicConfig, $botConfig, $externalReducers, $externalMiddlewares));
3831
4396
  return Unit_getInstance();
3832
4397
  };
3833
4398
  }
3834
4399
  function GameServerEngineControllerImpl(loggerCallback) {
3835
4400
  loggerCallback = loggerCallback === VOID ? null : loggerCallback;
3836
- this.m7s_1 = loggerCallback;
4401
+ this.g8c_1 = loggerCallback;
3837
4402
  var tmp = this;
3838
- var tmp0_safe_receiver = this.m7s_1;
4403
+ var tmp0_safe_receiver = this.g8c_1;
3839
4404
  var tmp_0;
3840
4405
  if (tmp0_safe_receiver == null) {
3841
4406
  tmp_0 = null;
@@ -3845,38 +4410,38 @@
3845
4410
  // Inline function 'kotlin.contracts.contract' call
3846
4411
  var tmp$ret$0;
3847
4412
  // Inline function 'GameServerEngineControllerImpl.logger.<anonymous>' call
3848
- tmp$ret$0 = new CombinedGameLogger(listOf(createLoggerOutputWithTablePayload(this.m7s_1)));
4413
+ tmp$ret$0 = new CombinedGameLogger(listOf(createLoggerOutputWithTablePayload(this.g8c_1)));
3849
4414
  tmp$ret$1 = tmp$ret$0;
3850
4415
  tmp_0 = tmp$ret$1;
3851
4416
  }
3852
4417
  var tmp1_elvis_lhs = tmp_0;
3853
- tmp.n7s_1 = tmp1_elvis_lhs == null ? new PlatformGameLogger() : tmp1_elvis_lhs;
3854
- this.o7s_1 = new ParserHelperImpl(emptyList());
3855
- this.p7s_1 = new GameHelperImpl();
3856
- this.q7s_1 = new GameResourcesImpl();
3857
- this.r7s_1 = new TestHelperImpl(this.n7s_1);
3858
- }
3859
- protoOf(GameServerEngineControllerImpl).z7n = function () {
3860
- return this.o7s_1;
4418
+ tmp.h8c_1 = tmp1_elvis_lhs == null ? new PlatformGameLogger() : tmp1_elvis_lhs;
4419
+ this.i8c_1 = new ParserHelperImpl(emptyList());
4420
+ this.j8c_1 = new GameHelperImpl();
4421
+ this.k8c_1 = new GameResourcesImpl();
4422
+ this.l8c_1 = new TestHelperImpl(this.h8c_1);
4423
+ }
4424
+ protoOf(GameServerEngineControllerImpl).y84 = function () {
4425
+ return this.i8c_1;
3861
4426
  };
3862
- protoOf(GameServerEngineControllerImpl).i7s = function () {
3863
- return this.p7s_1;
4427
+ protoOf(GameServerEngineControllerImpl).c8c = function () {
4428
+ return this.j8c_1;
3864
4429
  };
3865
- protoOf(GameServerEngineControllerImpl).j7s = function () {
3866
- return this.q7s_1;
4430
+ protoOf(GameServerEngineControllerImpl).d8c = function () {
4431
+ return this.k8c_1;
3867
4432
  };
3868
- protoOf(GameServerEngineControllerImpl).h7s = function () {
3869
- return this.r7s_1;
4433
+ protoOf(GameServerEngineControllerImpl).b8c = function () {
4434
+ return this.l8c_1;
3870
4435
  };
3871
4436
  protoOf(GameServerEngineControllerImpl).setEnableLogger = function (enabled) {
3872
- Logger_getInstance().l2t_1 = enabled;
4437
+ Logger_getInstance().q36_1 = enabled;
3873
4438
  };
3874
4439
  protoOf(GameServerEngineControllerImpl).createGameEngine = function () {
3875
4440
  return this.createGameEngineWithLogic();
3876
4441
  };
3877
- protoOf(GameServerEngineControllerImpl).k7s = function (reducers, middlewares, isPrivateRoom, finishGameIfAllBots, closeIfBotsAtFinish, dealerConfig) {
4442
+ protoOf(GameServerEngineControllerImpl).e8c = function (reducers, middlewares, serverConfig, logicConfig) {
3878
4443
  var loggerOutputWithTablePayload = null;
3879
- var tmp0_safe_receiver = this.m7s_1;
4444
+ var tmp0_safe_receiver = this.g8c_1;
3880
4445
  var tmp;
3881
4446
  if (tmp0_safe_receiver == null) {
3882
4447
  tmp = null;
@@ -3886,7 +4451,7 @@
3886
4451
  // Inline function 'kotlin.contracts.contract' call
3887
4452
  var tmp$ret$0;
3888
4453
  // Inline function 'GameServerEngineControllerImpl.createGameEngineWithLogic.<anonymous>' call
3889
- var loggerOutput = createLoggerOutputWithTablePayload(this.m7s_1);
4454
+ var loggerOutput = createLoggerOutputWithTablePayload(this.g8c_1);
3890
4455
  loggerOutputWithTablePayload = loggerOutput;
3891
4456
  tmp$ret$0 = new CombinedGameLogger(listOf(loggerOutput));
3892
4457
  tmp$ret$1 = tmp$ret$0;
@@ -3894,9 +4459,7 @@
3894
4459
  }
3895
4460
  var tmp1_elvis_lhs = tmp;
3896
4461
  var logger = tmp1_elvis_lhs == null ? new PlatformGameLogger() : tmp1_elvis_lhs;
3897
- var tmp_0 = new ServerReduxConfig(finishGameIfAllBots, VOID, VOID, closeIfBotsAtFinish, !isPrivateRoom);
3898
- var tmp_1 = new LogicReduxConfig(VOID, VOID, VOID, VOID, dealerConfig);
3899
- var tmp_2 = new BotReduxConfig(VOID, VOID, VOID, false);
4462
+ var tmp_0 = new BotReduxConfig(VOID, VOID, VOID, false);
3900
4463
  var tmp$ret$5;
3901
4464
  // Inline function 'kotlin.collections.map' call
3902
4465
  var tmp$ret$4;
@@ -3912,13 +4475,13 @@
3912
4475
  // Inline function 'GameServerEngineControllerImpl.createGameEngineWithLogic.<anonymous>' call
3913
4476
  var tmp$ret$2;
3914
4477
  // Inline function 'com.logic.domain.engine.definitions.reducerForActionType' call
3915
- tmp$ret$2 = new _no_name_provided__qut3iv_7(item);
4478
+ tmp$ret$2 = new _no_name_provided__qut3iv_8(item);
3916
4479
  tmp$ret$3 = tmp$ret$2;
3917
4480
  tmp0_mapTo.a(tmp$ret$3);
3918
4481
  }
3919
4482
  tmp$ret$4 = tmp0_mapTo;
3920
4483
  tmp$ret$5 = tmp$ret$4;
3921
- var tmp_3 = toList_0(tmp$ret$5);
4484
+ var tmp_1 = toList_0(tmp$ret$5);
3922
4485
  var tmp$ret$8;
3923
4486
  // Inline function 'kotlin.collections.map' call
3924
4487
  var tmp$ret$7;
@@ -3937,36 +4500,36 @@
3937
4500
  }
3938
4501
  tmp$ret$7 = tmp1_mapTo;
3939
4502
  tmp$ret$8 = tmp$ret$7;
3940
- var di = createDI(this, logger, tmp_0, tmp_1, tmp_2, tmp_3, toList_0(tmp$ret$8));
4503
+ var di = createDI(this, logger, serverConfig, logicConfig, tmp_0, tmp_1, toList_0(tmp$ret$8));
3941
4504
  var tmp$ret$10;
3942
4505
  // Inline function 'org.kodein.di.instance' call
3943
4506
  var tmp2_instance = get_direct(di);
3944
- var tmp_4 = tmp2_instance.b2c();
4507
+ var tmp_2 = tmp2_instance.t2m();
3945
4508
  var tmp$ret$9;
3946
4509
  // Inline function 'org.kodein.type.generic' call
3947
- var tmp_5 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
3948
- tmp$ret$9 = isInterface(tmp_5, TypeToken) ? tmp_5 : THROW_CCE();
3949
- tmp$ret$10 = tmp_4.c2c(tmp$ret$9, null);
4510
+ var tmp_3 = typeToken(createKType(getKClass(GameServer), arrayOf([]), false));
4511
+ tmp$ret$9 = isInterface(tmp_3, TypeToken) ? tmp_3 : THROW_CCE();
4512
+ tmp$ret$10 = tmp_2.u2m(tmp$ret$9, null);
3950
4513
  var gameServer = tmp$ret$10;
3951
4514
  var tmp2_safe_receiver = loggerOutputWithTablePayload;
3952
4515
  if (tmp2_safe_receiver == null) {
3953
4516
  } else {
3954
- var tmp_6 = tmp2_safe_receiver;
3955
- tmp_6.w4s_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(gameServer);
4517
+ var tmp_4 = tmp2_safe_receiver;
4518
+ tmp_4.c58_1 = GameServerEngineControllerImpl$createGameEngineWithLogic$lambda(gameServer);
3956
4519
  }
3957
4520
  return gameServer;
3958
4521
  };
3959
4522
  defineProp(protoOf(GameServerEngineControllerImpl), 'parser', function () {
3960
- return this.z7n();
4523
+ return this.y84();
3961
4524
  });
3962
4525
  defineProp(protoOf(GameServerEngineControllerImpl), 'helper', function () {
3963
- return this.i7s();
4526
+ return this.c8c();
3964
4527
  });
3965
4528
  defineProp(protoOf(GameServerEngineControllerImpl), 'resources', function () {
3966
- return this.j7s();
4529
+ return this.d8c();
3967
4530
  });
3968
4531
  defineProp(protoOf(GameServerEngineControllerImpl), 'test', function () {
3969
- return this.h7s();
4532
+ return this.b8c();
3970
4533
  });
3971
4534
  function TestHelper() {
3972
4535
  }
@@ -3974,12 +4537,12 @@
3974
4537
  var tmp$ret$0;
3975
4538
  // Inline function 'kotlin.getValue' call
3976
4539
  var tmp0_getValue = playerAnswerInteractor$factory_0();
3977
- tmp$ret$0 = $this.u7s_1.l1();
4540
+ tmp$ret$0 = $this.o8c_1.l1();
3978
4541
  return tmp$ret$0;
3979
4542
  }
3980
4543
  function TestHelperImpl$di$lambda$lambda(this$0) {
3981
4544
  return function ($this$singleton) {
3982
- return this$0.s7s_1;
4545
+ return this$0.m8c_1;
3983
4546
  };
3984
4547
  }
3985
4548
  function TestHelperImpl$di$lambda(this$0) {
@@ -3990,22 +4553,22 @@
3990
4553
  // Inline function 'org.kodein.type.generic' call
3991
4554
  var tmp = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
3992
4555
  tmp$ret$0 = isInterface(tmp, TypeToken) ? tmp : THROW_CCE();
3993
- tmp$ret$1 = $this$invoke.s2a(tmp$ret$0, null, null);
4556
+ tmp$ret$1 = $this$invoke.k2l(tmp$ret$0, null, null);
3994
4557
  var tmp_0 = tmp$ret$1;
3995
4558
  var tmp$ret$3;
3996
4559
  // Inline function 'org.kodein.di.singleton' call
3997
4560
  var tmp0_singleton = TestHelperImpl$di$lambda$lambda(this$0);
3998
- var tmp_1 = $this$invoke.i2c();
3999
- var tmp_2 = $this$invoke.j2c();
4000
- var tmp_3 = $this$invoke.h2e();
4561
+ var tmp_1 = $this$invoke.a2n();
4562
+ var tmp_2 = $this$invoke.b2n();
4563
+ var tmp_3 = $this$invoke.z2o();
4001
4564
  var tmp$ret$2;
4002
4565
  // Inline function 'org.kodein.type.generic' call
4003
4566
  var tmp_4 = typeToken(createKType(getKClass(GameLogger), arrayOf([]), false));
4004
4567
  tmp$ret$2 = isInterface(tmp_4, TypeToken) ? tmp_4 : THROW_CCE();
4005
4568
  tmp$ret$3 = new Singleton(tmp_1, tmp_2, tmp_3, tmp$ret$2, null, true, tmp0_singleton);
4006
- tmp_0.m2e(tmp$ret$3);
4007
- $this$invoke.u2a(jsonModule(emptyList()));
4008
- $this$invoke.u2a(get_botGameModule());
4569
+ tmp_0.e2p(tmp$ret$3);
4570
+ $this$invoke.m2l(jsonModule(emptyList()));
4571
+ $this$invoke.m2l(get_botGameModule());
4009
4572
  return Unit_getInstance();
4010
4573
  };
4011
4574
  }
@@ -4013,23 +4576,23 @@
4013
4576
  return emptyMap();
4014
4577
  }
4015
4578
  function TestHelperImpl(gameLogger) {
4016
- this.s7s_1 = gameLogger;
4579
+ this.m8c_1 = gameLogger;
4017
4580
  var tmp = this;
4018
- var tmp_0 = Companion_getInstance_4();
4019
- tmp.t7s_1 = tmp_0.y2a(VOID, TestHelperImpl$di$lambda(this));
4581
+ var tmp_0 = Companion_getInstance_5();
4582
+ tmp.n8c_1 = tmp_0.q2l(VOID, TestHelperImpl$di$lambda(this));
4020
4583
  var tmp_1 = this;
4021
4584
  var tmp$ret$1;
4022
4585
  // Inline function 'org.kodein.di.instance' call
4023
- var tmp0_instance = this.t7s_1;
4586
+ var tmp0_instance = this.n8c_1;
4024
4587
  var tmp$ret$0;
4025
4588
  // Inline function 'org.kodein.type.generic' call
4026
4589
  var tmp_2 = typeToken(createKType(getKClass(PlayerAnswerInteractor), arrayOf([]), false));
4027
4590
  tmp$ret$0 = isInterface(tmp_2, TypeToken) ? tmp_2 : THROW_CCE();
4028
4591
  tmp$ret$1 = Instance(tmp0_instance, tmp$ret$0, null);
4029
- tmp_1.u7s_1 = tmp$ret$1.j2g(this, playerAnswerInteractor$factory());
4592
+ tmp_1.o8c_1 = tmp$ret$1.b2r(this, playerAnswerInteractor$factory());
4030
4593
  }
4031
4594
  protoOf(TestHelperImpl).getPlayerAnswer = function (table, playerId, botConfig) {
4032
- return _get_playerAnswerInteractor__msggz1(this).u4b(playerId, table, botConfig);
4595
+ return _get_playerAnswerInteractor__msggz1(this).n4q(playerId, table, botConfig);
4033
4596
  };
4034
4597
  protoOf(TestHelperImpl).getPlayerAnswerFromClientAction = function (table, currentPlayerId, action, botConfig) {
4035
4598
  var mechanicAction = mapFromClient(action, new FromClientActionPayloadProvider(currentPlayerId, TestHelperImpl$getPlayerAnswerFromClientAction$lambda));
@@ -4037,7 +4600,7 @@
4037
4600
  var tmp$ret$0;
4038
4601
  $l$block_0: {
4039
4602
  // Inline function 'kotlin.collections.any' call
4040
- var tmp0_any = mechanicAction.o4i();
4603
+ var tmp0_any = mechanicAction.l4x();
4041
4604
  var tmp;
4042
4605
  if (isInterface(tmp0_any, Collection)) {
4043
4606
  tmp = tmp0_any.l();
@@ -4072,7 +4635,7 @@
4072
4635
  var tmp$ret$0;
4073
4636
  $l$block_0: {
4074
4637
  // Inline function 'kotlin.collections.any' call
4075
- var tmp0_any = action.o4i();
4638
+ var tmp0_any = action.l4x();
4076
4639
  var tmp;
4077
4640
  if (isInterface(tmp0_any, Collection)) {
4078
4641
  tmp = tmp0_any.l();
@@ -4113,18 +4676,25 @@
4113
4676
  }, null);
4114
4677
  }
4115
4678
  //region block: post-declaration
4116
- protoOf(UpdateServerConfigAction).s2l = get_actionTag;
4117
- protoOf(RoomAction).s2l = get_actionTag;
4118
- protoOf(RoomWasCreatedAction).s2l = get_actionTag;
4119
- protoOf(RoomWasDeletedAction).s2l = get_actionTag;
4679
+ protoOf(UpdateServerConfigAction).e2x = get_actionTag;
4680
+ protoOf(RoomAction).e2x = get_actionTag;
4681
+ protoOf(RoomWasCreatedAction).e2x = get_actionTag;
4682
+ protoOf(RoomWasDeletedAction).e2x = get_actionTag;
4120
4683
  protoOf(RoomWasDeletedAction).notValidateWhenFinishing = notValidateWhenFinishing;
4121
4684
  protoOf(PlayerReconnectionWaitingTimerTag).notValidateWhenFinished = notValidateWhenFinished;
4122
- protoOf(PlayerReconnectionWaitingTimerTag).n4g = notValidateTimerReset;
4685
+ protoOf(PlayerReconnectionWaitingTimerTag).j4v = notValidateTimerReset;
4123
4686
  protoOf(GameResourcesImpl).createBotUser = createBotUser;
4124
4687
  protoOf(GameServerEngineControllerImpl).createGameEngineWithLogic = createGameEngineWithLogic;
4125
4688
  //endregion
4126
4689
  //region block: exports
4127
4690
  function $jsExportAll$(_) {
4691
+ var $com = _.com || (_.com = {});
4692
+ var $com$debertz = $com.debertz || ($com.debertz = {});
4693
+ var $com$debertz$logic = $com$debertz.logic || ($com$debertz.logic = {});
4694
+ var $com$debertz$logic$server = $com$debertz$logic.server || ($com$debertz$logic.server = {});
4695
+ var $com$debertz$logic$server$data = $com$debertz$logic$server.data || ($com$debertz$logic$server.data = {});
4696
+ var $com$debertz$logic$server$data$models = $com$debertz$logic$server$data.models || ($com$debertz$logic$server$data.models = {});
4697
+ $com$debertz$logic$server$data$models.ServerReduxConfig = ServerReduxConfig;
4128
4698
  var $com = _.com || (_.com = {});
4129
4699
  var $com$debertz = $com.debertz || ($com.debertz = {});
4130
4700
  var $com$debertz$logic = $com$debertz.logic || ($com$debertz.logic = {});