game_client_logic_deb 1.8.70 → 1.8.71
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.
- package/Logic_Debertz-core.js +1158 -1126
- package/Logic_Debertz-core.js.map +1 -1
- package/Logic_Debertz-engine.js +8996 -8970
- package/Logic_Debertz-engine.js.map +1 -1
- package/Logic_Debertz-game_client.d.ts +11 -0
- package/Logic_Debertz-game_client.js +2581 -2613
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +162 -162
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-io-kotlinx-io-core.js +13 -16
- package/kotlinx-io-kotlinx-io-core.js.map +1 -1
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +1 -1
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (root, factory) {
|
|
2
2
|
if (typeof define === 'function' && define.amd)
|
|
3
|
-
define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './Kotlin-DateTime-library-kotlinx-datetime.js', './kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js', './uuid.js', './Kosi-Kodein-kodein-di.js', './Kosi-Kaverit-kaverit.js'
|
|
3
|
+
define(['exports', './kotlin-kotlin-stdlib.js', './kotlinx-serialization-kotlinx-serialization-core.js', './kotlinx-io-kotlinx-io-core.js', './Kotlin-DateTime-library-kotlinx-datetime.js', './kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js', './uuid.js', './Kosi-Kodein-kodein-di.js', './Kosi-Kaverit-kaverit.js'], factory);
|
|
4
4
|
else if (typeof exports === 'object')
|
|
5
|
-
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./Kotlin-DateTime-library-kotlinx-datetime.js'), require('./kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js'), require('./uuid.js'), require('./Kosi-Kodein-kodein-di.js'), require('./Kosi-Kaverit-kaverit.js')
|
|
5
|
+
factory(module.exports, require('./kotlin-kotlin-stdlib.js'), require('./kotlinx-serialization-kotlinx-serialization-core.js'), require('./kotlinx-io-kotlinx-io-core.js'), require('./Kotlin-DateTime-library-kotlinx-datetime.js'), require('./kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js'), require('./uuid.js'), require('./Kosi-Kodein-kodein-di.js'), require('./Kosi-Kaverit-kaverit.js'));
|
|
6
6
|
else {
|
|
7
7
|
if (typeof this['kotlin-kotlin-stdlib'] === 'undefined') {
|
|
8
8
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'Logic_Debertz-core'.");
|
|
@@ -10,6 +10,9 @@
|
|
|
10
10
|
if (typeof this['kotlinx-serialization-kotlinx-serialization-core'] === 'undefined') {
|
|
11
11
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'kotlinx-serialization-kotlinx-serialization-core' was not found. Please, check whether 'kotlinx-serialization-kotlinx-serialization-core' is loaded prior to 'Logic_Debertz-core'.");
|
|
12
12
|
}
|
|
13
|
+
if (typeof this['kotlinx-io-kotlinx-io-core'] === 'undefined') {
|
|
14
|
+
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'kotlinx-io-kotlinx-io-core' was not found. Please, check whether 'kotlinx-io-kotlinx-io-core' is loaded prior to 'Logic_Debertz-core'.");
|
|
15
|
+
}
|
|
13
16
|
if (typeof this['Kotlin-DateTime-library-kotlinx-datetime'] === 'undefined') {
|
|
14
17
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kotlin-DateTime-library-kotlinx-datetime' was not found. Please, check whether 'Kotlin-DateTime-library-kotlinx-datetime' is loaded prior to 'Logic_Debertz-core'.");
|
|
15
18
|
}
|
|
@@ -25,12 +28,9 @@
|
|
|
25
28
|
if (typeof this['Kosi-Kaverit-kaverit'] === 'undefined') {
|
|
26
29
|
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'Kosi-Kaverit-kaverit' was not found. Please, check whether 'Kosi-Kaverit-kaverit' is loaded prior to 'Logic_Debertz-core'.");
|
|
27
30
|
}
|
|
28
|
-
|
|
29
|
-
throw new Error("Error loading module 'Logic_Debertz-core'. Its dependency 'kotlinx-io-kotlinx-io-core' was not found. Please, check whether 'kotlinx-io-kotlinx-io-core' is loaded prior to 'Logic_Debertz-core'.");
|
|
30
|
-
}
|
|
31
|
-
root['Logic_Debertz-core'] = factory(typeof this['Logic_Debertz-core'] === 'undefined' ? {} : this['Logic_Debertz-core'], this['kotlin-kotlin-stdlib'], this['kotlinx-serialization-kotlinx-serialization-core'], this['Kotlin-DateTime-library-kotlinx-datetime'], this['kotlinx.coroutines-kotlinx-coroutines-core-js-ir'], uuid, this['Kosi-Kodein-kodein-di'], this['Kosi-Kaverit-kaverit'], this['kotlinx-io-kotlinx-io-core']);
|
|
31
|
+
root['Logic_Debertz-core'] = factory(typeof this['Logic_Debertz-core'] === 'undefined' ? {} : this['Logic_Debertz-core'], this['kotlin-kotlin-stdlib'], this['kotlinx-serialization-kotlinx-serialization-core'], this['kotlinx-io-kotlinx-io-core'], this['Kotlin-DateTime-library-kotlinx-datetime'], this['kotlinx.coroutines-kotlinx-coroutines-core-js-ir'], uuid, this['Kosi-Kodein-kodein-di'], this['Kosi-Kaverit-kaverit']);
|
|
32
32
|
}
|
|
33
|
-
}(this, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_datetime, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_com_benasher44_uuid, kotlin_org_kodein_di_kodein_di, kotlin_org_kodein_type_kaverit
|
|
33
|
+
}(this, function (_, kotlin_kotlin, kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core, kotlin_org_jetbrains_kotlinx_kotlinx_io_core, kotlin_org_jetbrains_kotlinx_kotlinx_datetime, kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core, kotlin_com_benasher44_uuid, kotlin_org_kodein_di_kodein_di, kotlin_org_kodein_type_kaverit) {
|
|
34
34
|
'use strict';
|
|
35
35
|
//region block: imports
|
|
36
36
|
var imul = Math.imul;
|
|
@@ -55,6 +55,8 @@
|
|
|
55
55
|
var LazyThreadSafetyMode_PUBLICATION_getInstance = kotlin_kotlin.$_$.j;
|
|
56
56
|
var lazy = kotlin_kotlin.$_$.pe;
|
|
57
57
|
var SerializerFactory = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a2;
|
|
58
|
+
var replace = kotlin_kotlin.$_$.gc;
|
|
59
|
+
var get_SystemTemporaryDirectory = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.d;
|
|
58
60
|
var getBooleanHashCode = kotlin_kotlin.$_$.x9;
|
|
59
61
|
var ObjectSerializer_init_$Create$ = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.a;
|
|
60
62
|
var get_nullable = kotlin_org_jetbrains_kotlinx_kotlinx_serialization_core.$_$.v;
|
|
@@ -111,13 +113,15 @@
|
|
|
111
113
|
var typeToken = kotlin_org_kodein_type_kaverit.$_$.d;
|
|
112
114
|
var TypeToken = kotlin_org_kodein_type_kaverit.$_$.b;
|
|
113
115
|
var Provider = kotlin_org_kodein_di_kodein_di.$_$.c;
|
|
114
|
-
var Path = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
115
|
-
var get_SystemTemporaryDirectory = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.d;
|
|
116
116
|
var Singleton = kotlin_org_kodein_di_kodein_di.$_$.d;
|
|
117
117
|
var get_SystemFileSystem = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.c;
|
|
118
|
+
var Path = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.b;
|
|
118
119
|
var Path_0 = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.a;
|
|
119
120
|
var buffered = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.e;
|
|
120
|
-
var
|
|
121
|
+
var split = kotlin_kotlin.$_$.ic;
|
|
122
|
+
var collectionSizeOrDefault = kotlin_kotlin.$_$.t5;
|
|
123
|
+
var ArrayList_init_$Create$_0 = kotlin_kotlin.$_$.l;
|
|
124
|
+
var joinToString = kotlin_kotlin.$_$.b7;
|
|
121
125
|
var writeString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
122
126
|
var Long = kotlin_kotlin.$_$.od;
|
|
123
127
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
@@ -127,7 +131,6 @@
|
|
|
127
131
|
var Unit = kotlin_kotlin.$_$.fe;
|
|
128
132
|
var FlowCollector = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.f;
|
|
129
133
|
var getKClassFromExpression = kotlin_kotlin.$_$.d;
|
|
130
|
-
var split = kotlin_kotlin.$_$.ic;
|
|
131
134
|
var first = kotlin_kotlin.$_$.r6;
|
|
132
135
|
var checkIndexOverflow = kotlin_kotlin.$_$.s5;
|
|
133
136
|
var single = kotlin_kotlin.$_$.a8;
|
|
@@ -153,26 +156,27 @@
|
|
|
153
156
|
setMetadataFor(ContinueGameReason, 'ContinueGameReason', classMeta, VOID, VOID, VOID, VOID, {0: Companion_getInstance_2});
|
|
154
157
|
setMetadataFor(PlayerReturnsReason, 'PlayerReturnsReason', classMeta, ContinueGameReason, VOID, VOID, VOID, {0: $serializer_getInstance});
|
|
155
158
|
setMetadataFor(Companion_0, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
159
|
+
setMetadataFor(Companion_1, 'Companion', objectMeta);
|
|
156
160
|
setMetadataFor(CoreConfig, 'CoreConfig', classMeta, VOID, VOID, CoreConfig);
|
|
157
161
|
setMetadataFor(RestartGameReason, 'RestartGameReason', objectMeta, VOID, [SerializerFactory], VOID, VOID, {0: RestartGameReason_getInstance});
|
|
158
|
-
setMetadataFor(
|
|
159
|
-
setMetadataFor(TerminationGameReason, 'TerminationGameReason', classMeta, VOID, VOID, VOID, VOID, {0:
|
|
160
|
-
setMetadataFor(
|
|
162
|
+
setMetadataFor(Companion_2, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
163
|
+
setMetadataFor(TerminationGameReason, 'TerminationGameReason', classMeta, VOID, VOID, VOID, VOID, {0: Companion_getInstance_4});
|
|
164
|
+
setMetadataFor(Companion_3, 'Companion', objectMeta);
|
|
161
165
|
setMetadataFor($serializer_0, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
162
166
|
setMetadataFor(FinishPlayerReason, 'FinishPlayerReason', interfaceMeta);
|
|
163
167
|
setMetadataFor(PlayerLostConnectionReason, 'PlayerLostConnectionReason', classMeta, TerminationGameReason, [TerminationGameReason, FinishPlayerReason], VOID, VOID, {0: $serializer_getInstance_0});
|
|
164
|
-
setMetadataFor(
|
|
168
|
+
setMetadataFor(Companion_4, 'Companion', objectMeta);
|
|
165
169
|
setMetadataFor($serializer_1, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
166
170
|
setMetadataFor(PlayerTimeoutReason, 'PlayerTimeoutReason', classMeta, TerminationGameReason, [TerminationGameReason, FinishPlayerReason], VOID, VOID, {0: $serializer_getInstance_1});
|
|
167
|
-
setMetadataFor(
|
|
171
|
+
setMetadataFor(Companion_5, 'Companion', objectMeta);
|
|
168
172
|
setMetadataFor($serializer_2, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
169
173
|
setMetadataFor(PlayerExitReason, 'PlayerExitReason', classMeta, TerminationGameReason, [TerminationGameReason, FinishPlayerReason], VOID, VOID, {0: $serializer_getInstance_2});
|
|
170
|
-
setMetadataFor(
|
|
171
|
-
setMetadataFor(Reason, 'Reason', classMeta, Enum, VOID, VOID, VOID, {0:
|
|
172
|
-
setMetadataFor(
|
|
174
|
+
setMetadataFor(Companion_6, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
175
|
+
setMetadataFor(Reason, 'Reason', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_8});
|
|
176
|
+
setMetadataFor(Companion_7, 'Companion', objectMeta);
|
|
173
177
|
setMetadataFor($serializer_3, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
174
178
|
setMetadataFor(GameFinishedReason, 'GameFinishedReason', classMeta, TerminationGameReason, VOID, VOID, VOID, {0: $serializer_getInstance_3});
|
|
175
|
-
setMetadataFor(
|
|
179
|
+
setMetadataFor(Companion_8, 'Companion', objectMeta);
|
|
176
180
|
setMetadataFor($serializer_4, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
177
181
|
setMetadataFor(GameErrorReason, 'GameErrorReason', classMeta, TerminationGameReason, VOID, VOID, VOID, {0: $serializer_getInstance_4});
|
|
178
182
|
setMetadataFor(WaitingForConnectionReason, 'WaitingForConnectionReason', objectMeta, TerminationGameReason, [TerminationGameReason, SerializerFactory], VOID, VOID, {0: WaitingForConnectionReason_getInstance});
|
|
@@ -181,67 +185,67 @@
|
|
|
181
185
|
setMetadataFor(PlayerIdContract, 'PlayerIdContract', interfaceMeta);
|
|
182
186
|
setMetadataFor(GameUserInfo, 'GameUserInfo', classMeta, VOID, [PlayerIdContract]);
|
|
183
187
|
function get_amountOfCards() {
|
|
184
|
-
return this.
|
|
188
|
+
return this.e2m().n();
|
|
185
189
|
}
|
|
186
190
|
setMetadataFor(Player, 'Player', interfaceMeta, VOID, [PlayerIdContract]);
|
|
187
191
|
setMetadataFor(PlayerIndex, 'PlayerIndex', classMeta, VOID, [PlayerIdContract]);
|
|
188
192
|
setMetadataFor(PlayerIdContractOrderComparator, 'PlayerIdContractOrderComparator', classMeta, VOID, [Comparator]);
|
|
189
|
-
setMetadataFor(
|
|
193
|
+
setMetadataFor(Companion_9, 'Companion', objectMeta);
|
|
190
194
|
setMetadataFor(PlayerConnection, 'PlayerConnection', classMeta);
|
|
191
|
-
setMetadataFor(Companion_9, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
192
|
-
setMetadataFor(PlayerConnectionState, 'PlayerConnectionState', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_11});
|
|
193
|
-
setMetadataFor(PlayerLuckyFactor, 'PlayerLuckyFactor', classMeta, VOID, [PlayerIdContract]);
|
|
194
195
|
setMetadataFor(Companion_10, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
195
|
-
setMetadataFor(
|
|
196
|
-
setMetadataFor(
|
|
196
|
+
setMetadataFor(PlayerConnectionState, 'PlayerConnectionState', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_12});
|
|
197
|
+
setMetadataFor(PlayerLuckyFactor, 'PlayerLuckyFactor', classMeta, VOID, [PlayerIdContract]);
|
|
198
|
+
setMetadataFor(Companion_11, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
199
|
+
setMetadataFor(PlayerWaitingState, 'PlayerWaitingState', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_13});
|
|
200
|
+
setMetadataFor(Companion_12, 'Companion', objectMeta);
|
|
197
201
|
setMetadataFor(PlayerState, 'PlayerState', classMeta);
|
|
198
202
|
setMetadataFor(Team, 'Team', classMeta);
|
|
199
|
-
setMetadataFor(
|
|
203
|
+
setMetadataFor(Companion_13, 'Companion', objectMeta);
|
|
200
204
|
setMetadataFor(Rules, 'Rules', classMeta);
|
|
201
205
|
setMetadataFor(RulesSetType, 'RulesSetType', classMeta, Enum);
|
|
202
|
-
setMetadataFor(
|
|
206
|
+
setMetadataFor(Companion_14, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
203
207
|
function get_actionTag() {
|
|
204
208
|
return toString_0(getKClassFromExpression(this));
|
|
205
209
|
}
|
|
206
210
|
setMetadataFor(Action, 'Action', interfaceMeta);
|
|
207
|
-
setMetadataFor(BufferedActionDto, 'BufferedActionDto', classMeta, VOID, [Action], VOID, VOID, {0:
|
|
208
|
-
setMetadataFor(
|
|
211
|
+
setMetadataFor(BufferedActionDto, 'BufferedActionDto', classMeta, VOID, [Action], VOID, VOID, {0: Companion_getInstance_16});
|
|
212
|
+
setMetadataFor(Companion_15, 'Companion', objectMeta);
|
|
209
213
|
setMetadataFor($serializer_5, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
210
214
|
setMetadataFor(GameUserInfoDto, 'GameUserInfoDto', classMeta, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_5});
|
|
211
|
-
setMetadataFor(
|
|
215
|
+
setMetadataFor(Companion_16, 'Companion', objectMeta);
|
|
212
216
|
setMetadataFor($serializer_6, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
213
217
|
setMetadataFor(PlayerConnectionDto, 'PlayerConnectionDto', classMeta, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_6});
|
|
214
|
-
setMetadataFor(
|
|
218
|
+
setMetadataFor(Companion_17, 'Companion', objectMeta);
|
|
215
219
|
setMetadataFor($serializer_7, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
216
220
|
setMetadataFor(PlayerStateDto, 'PlayerStateDto', classMeta, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_7});
|
|
217
|
-
setMetadataFor(
|
|
221
|
+
setMetadataFor(Companion_18, 'Companion', objectMeta);
|
|
218
222
|
setMetadataFor($serializer_8, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
219
223
|
setMetadataFor(RulesDto, 'RulesDto', classMeta, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_8});
|
|
220
224
|
setMetadataFor(CardIndexComparator, 'CardIndexComparator', objectMeta, VOID, [Comparator]);
|
|
221
225
|
setMetadataFor(CardGrowthComparator, 'CardGrowthComparator', classMeta, VOID, [Comparator]);
|
|
222
226
|
setMetadataFor(CardNumberComparator, 'CardNumberComparator', objectMeta, VOID, [Comparator]);
|
|
223
|
-
setMetadataFor(Companion_18, 'Companion', objectMeta);
|
|
224
|
-
setMetadataFor(CardName, 'CardName', classMeta, Enum);
|
|
225
227
|
setMetadataFor(Companion_19, 'Companion', objectMeta);
|
|
228
|
+
setMetadataFor(CardName, 'CardName', classMeta, Enum);
|
|
229
|
+
setMetadataFor(Companion_20, 'Companion', objectMeta);
|
|
226
230
|
setMetadataFor(GameCard, 'GameCard', classMeta);
|
|
227
231
|
setMetadataFor(ProcessingCard, 'ProcessingCard', classMeta);
|
|
228
|
-
setMetadataFor(
|
|
229
|
-
setMetadataFor(Suit, 'Suit', classMeta, Enum, VOID, VOID, VOID, {0:
|
|
232
|
+
setMetadataFor(Companion_21, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
233
|
+
setMetadataFor(Suit, 'Suit', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_23});
|
|
230
234
|
function launchUnconfinedWithLock$default(context, block, $super) {
|
|
231
|
-
context = context === VOID ? this.
|
|
232
|
-
return $super === VOID ? this.
|
|
235
|
+
context = context === VOID ? this.p2r() : context;
|
|
236
|
+
return $super === VOID ? this.q2r(context, block) : $super.q2r.call(this, context, block);
|
|
233
237
|
}
|
|
234
238
|
function launchDefault$default(context, block, $super) {
|
|
235
|
-
context = context === VOID ? this.
|
|
236
|
-
return $super === VOID ? this.
|
|
239
|
+
context = context === VOID ? this.p2r() : context;
|
|
240
|
+
return $super === VOID ? this.s2r(context, block) : $super.s2r.call(this, context, block);
|
|
237
241
|
}
|
|
238
242
|
function launchDefaultWithLock$default(context, block, $super) {
|
|
239
|
-
context = context === VOID ? this.
|
|
240
|
-
return $super === VOID ? this.
|
|
243
|
+
context = context === VOID ? this.p2r() : context;
|
|
244
|
+
return $super === VOID ? this.u2r(context, block) : $super.u2r.call(this, context, block);
|
|
241
245
|
}
|
|
242
246
|
function launchMain$default(context, block, $super) {
|
|
243
|
-
context = context === VOID ? this.
|
|
244
|
-
return $super === VOID ? this.
|
|
247
|
+
context = context === VOID ? this.p2r() : context;
|
|
248
|
+
return $super === VOID ? this.w2r(context, block) : $super.w2r.call(this, context, block);
|
|
245
249
|
}
|
|
246
250
|
setMetadataFor(AsyncProvider, 'AsyncProvider', interfaceMeta);
|
|
247
251
|
setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, Element]);
|
|
@@ -252,12 +256,12 @@
|
|
|
252
256
|
setMetadataFor(UUIDIdsProvider, 'UUIDIdsProvider', objectMeta, VOID, [IdsProvider]);
|
|
253
257
|
setMetadataFor(JobsProvider, 'JobsProvider', interfaceMeta);
|
|
254
258
|
setMetadataFor(JobsProviderImpl, 'JobsProviderImpl', classMeta, VOID, [JobsProvider]);
|
|
255
|
-
setMetadataFor(FileSystem, 'FileSystem', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [
|
|
256
|
-
setMetadataFor(FileSystemImpl, 'FileSystemImpl', classMeta, VOID, [FileSystem], FileSystemImpl, VOID, VOID, [
|
|
259
|
+
setMetadataFor(FileSystem, 'FileSystem', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [1, 3]);
|
|
260
|
+
setMetadataFor(FileSystemImpl, 'FileSystemImpl', classMeta, VOID, [FileSystem], FileSystemImpl, VOID, VOID, [1, 3]);
|
|
257
261
|
setMetadataFor(LoggerFactory, 'LoggerFactory', interfaceMeta);
|
|
258
262
|
setMetadataFor(LoggerFactoryImpl, 'LoggerFactoryImpl', classMeta, VOID, [LoggerFactory]);
|
|
259
263
|
setMetadataFor($appendToFileCOROUTINE$0, '$appendToFileCOROUTINE$0', classMeta, CoroutineImpl);
|
|
260
|
-
setMetadataFor(LogsStorageControllerImpl, 'LogsStorageControllerImpl', classMeta, VOID, VOID, VOID, VOID, VOID, [1]);
|
|
264
|
+
setMetadataFor(LogsStorageControllerImpl, 'LogsStorageControllerImpl', classMeta, VOID, VOID, VOID, VOID, VOID, [0, 1]);
|
|
261
265
|
setMetadataFor(BufferedAction, 'BufferedAction', interfaceMeta, VOID, [Action]);
|
|
262
266
|
setMetadataFor(IgnoreBufferForAction, 'IgnoreBufferForAction', interfaceMeta, VOID, [Action]);
|
|
263
267
|
setMetadataFor(ReleaseBufferTriggerAction, 'ReleaseBufferTriggerAction', interfaceMeta, VOID, [Action]);
|
|
@@ -271,7 +275,7 @@
|
|
|
271
275
|
return false;
|
|
272
276
|
}
|
|
273
277
|
function get_isAutoStartTimer() {
|
|
274
|
-
return !this.
|
|
278
|
+
return !this.w2u() ? !this.x2u() : false;
|
|
275
279
|
}
|
|
276
280
|
setMetadataFor(ExpectantAction, 'ExpectantAction', interfaceMeta, VOID, [BufferedAction]);
|
|
277
281
|
setMetadataFor(TimerAction, 'TimerAction', classMeta, VOID, [Action]);
|
|
@@ -314,23 +318,23 @@
|
|
|
314
318
|
setMetadataFor(Category, 'Category', classMeta, Enum);
|
|
315
319
|
setMetadataFor(Logger$loggerSource$1, VOID, classMeta);
|
|
316
320
|
setMetadataFor(Logger, 'Logger', objectMeta);
|
|
317
|
-
setMetadataFor(
|
|
321
|
+
setMetadataFor(Companion_22, 'Companion', objectMeta);
|
|
318
322
|
function d(tag, message, payload, $super) {
|
|
319
323
|
tag = tag === VOID ? null : tag;
|
|
320
324
|
payload = payload === VOID ? null : payload;
|
|
321
|
-
return this.
|
|
325
|
+
return this.q2z(tag, message, payload);
|
|
322
326
|
}
|
|
323
327
|
function e(tag, message, exception, payload, $super) {
|
|
324
328
|
tag = tag === VOID ? null : tag;
|
|
325
329
|
message = message === VOID ? null : message;
|
|
326
330
|
exception = exception === VOID ? null : exception;
|
|
327
331
|
payload = payload === VOID ? null : payload;
|
|
328
|
-
return this.
|
|
332
|
+
return this.r2z(tag, message, exception, payload);
|
|
329
333
|
}
|
|
330
334
|
function w(tag, message, payload, $super) {
|
|
331
335
|
tag = tag === VOID ? null : tag;
|
|
332
336
|
payload = payload === VOID ? null : payload;
|
|
333
|
-
return this.
|
|
337
|
+
return this.s2z(tag, message, payload);
|
|
334
338
|
}
|
|
335
339
|
setMetadataFor(LoggerOutput, 'LoggerOutput', interfaceMeta);
|
|
336
340
|
setMetadataFor(GameLogger, 'GameLogger', interfaceMeta, VOID, [LoggerOutput]);
|
|
@@ -338,8 +342,8 @@
|
|
|
338
342
|
setMetadataFor(LoggerPayload, 'LoggerPayload', interfaceMeta);
|
|
339
343
|
setMetadataFor(LoggerEnabledTrigger, 'LoggerEnabledTrigger', interfaceMeta, VOID, [GameLogger]);
|
|
340
344
|
setMetadataFor(PlatformGameLogger, 'PlatformGameLogger', classMeta, VOID, [GameLogger, LoggerEnabledTrigger], PlatformGameLogger);
|
|
341
|
-
setMetadataFor(
|
|
342
|
-
setMetadataFor(LogType, 'LogType', classMeta, Enum, VOID, VOID, VOID, {0:
|
|
345
|
+
setMetadataFor(Companion_23, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
346
|
+
setMetadataFor(LogType, 'LogType', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_25});
|
|
343
347
|
function observe(types, $super) {
|
|
344
348
|
var tmp;
|
|
345
349
|
if (types === VOID) {
|
|
@@ -350,16 +354,16 @@
|
|
|
350
354
|
tmp = types;
|
|
351
355
|
}
|
|
352
356
|
types = tmp;
|
|
353
|
-
return this.
|
|
357
|
+
return this.z2z(types);
|
|
354
358
|
}
|
|
355
359
|
setMetadataFor(ObservableLoggerOutput, 'ObservableLoggerOutput', interfaceMeta, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
356
|
-
setMetadataFor(
|
|
360
|
+
setMetadataFor(Companion_24, 'Companion', objectMeta);
|
|
357
361
|
setMetadataFor($serializer_9, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
358
362
|
setMetadataFor(LoggerOutputDataDto, 'LoggerOutputDataDto', classMeta, VOID, VOID, VOID, VOID, {0: $serializer_getInstance_9});
|
|
359
363
|
setMetadataFor(PlatformLogger, 'PlatformLogger', classMeta, VOID, VOID, PlatformLogger);
|
|
360
364
|
//endregion
|
|
361
365
|
function GameEngineConfig() {
|
|
362
|
-
this.version = '1.8.
|
|
366
|
+
this.version = '1.8.71';
|
|
363
367
|
}
|
|
364
368
|
protoOf(GameEngineConfig).g2k = function () {
|
|
365
369
|
return this.version;
|
|
@@ -518,11 +522,23 @@
|
|
|
518
522
|
function ContinueGameReason() {
|
|
519
523
|
Companion_getInstance_2();
|
|
520
524
|
}
|
|
525
|
+
function Companion_1() {
|
|
526
|
+
}
|
|
527
|
+
protoOf(Companion_1).getClientEngineTestMode = function (fileLogsEnabled, logsDirectoryPath) {
|
|
528
|
+
return new CoreConfig(fileLogsEnabled, false, logsDirectoryPath, 'user_[uid].txt');
|
|
529
|
+
};
|
|
530
|
+
protoOf(Companion_1).formatter = function (segment, gameId, roomId, userId) {
|
|
531
|
+
return replace(replace(replace(segment, '[gid]', gameId), '[rid]', roomId), '[uid]', userId);
|
|
532
|
+
};
|
|
533
|
+
var Companion_instance_1;
|
|
534
|
+
function Companion_getInstance_3() {
|
|
535
|
+
return Companion_instance_1;
|
|
536
|
+
}
|
|
521
537
|
function CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
522
538
|
fileLogsEnabled = fileLogsEnabled === VOID ? false : fileLogsEnabled;
|
|
523
539
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? false : deleteFilesOnClear;
|
|
524
540
|
logsDirectoryPath = logsDirectoryPath === VOID ? null : logsDirectoryPath;
|
|
525
|
-
fileNameFormat = fileNameFormat === VOID ? '
|
|
541
|
+
fileNameFormat = fileNameFormat === VOID ? '[gid]_logs.txt' : fileNameFormat;
|
|
526
542
|
this.fileLogsEnabled = fileLogsEnabled;
|
|
527
543
|
this.deleteFilesOnClear = deleteFilesOnClear;
|
|
528
544
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
@@ -540,6 +556,10 @@
|
|
|
540
556
|
protoOf(CoreConfig).q2k = function () {
|
|
541
557
|
return this.fileNameFormat;
|
|
542
558
|
};
|
|
559
|
+
protoOf(CoreConfig).r2k = function () {
|
|
560
|
+
var tmp0_elvis_lhs = this.logsDirectoryPath;
|
|
561
|
+
return tmp0_elvis_lhs == null ? get_SystemTemporaryDirectory().toString() : tmp0_elvis_lhs;
|
|
562
|
+
};
|
|
543
563
|
protoOf(CoreConfig).cd = function () {
|
|
544
564
|
return this.fileLogsEnabled;
|
|
545
565
|
};
|
|
@@ -549,10 +569,10 @@
|
|
|
549
569
|
protoOf(CoreConfig).qh = function () {
|
|
550
570
|
return this.logsDirectoryPath;
|
|
551
571
|
};
|
|
552
|
-
protoOf(CoreConfig).
|
|
572
|
+
protoOf(CoreConfig).s2k = function () {
|
|
553
573
|
return this.fileNameFormat;
|
|
554
574
|
};
|
|
555
|
-
protoOf(CoreConfig).
|
|
575
|
+
protoOf(CoreConfig).t2k = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
556
576
|
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
557
577
|
};
|
|
558
578
|
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
@@ -560,7 +580,7 @@
|
|
|
560
580
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
561
581
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
562
582
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
563
|
-
return this.
|
|
583
|
+
return this.t2k(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
564
584
|
};
|
|
565
585
|
protoOf(CoreConfig).toString = function () {
|
|
566
586
|
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
@@ -589,7 +609,7 @@
|
|
|
589
609
|
return true;
|
|
590
610
|
};
|
|
591
611
|
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
592
|
-
return $this.
|
|
612
|
+
return $this.u2k_1.o2();
|
|
593
613
|
}
|
|
594
614
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
595
615
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -603,7 +623,7 @@
|
|
|
603
623
|
RestartGameReason_instance = this;
|
|
604
624
|
var tmp = this;
|
|
605
625
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
606
|
-
tmp.
|
|
626
|
+
tmp.u2k_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
607
627
|
}
|
|
608
628
|
protoOf(RestartGameReason).toString = function () {
|
|
609
629
|
return 'RestartGameReason';
|
|
@@ -621,7 +641,7 @@
|
|
|
621
641
|
return RestartGameReason_instance;
|
|
622
642
|
}
|
|
623
643
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
624
|
-
return $this.
|
|
644
|
+
return $this.v2k_1.o2();
|
|
625
645
|
}
|
|
626
646
|
function TerminationGameReason$Companion$_anonymous__6itbqj() {
|
|
627
647
|
var tmp = getKClass(TerminationGameReason);
|
|
@@ -655,48 +675,48 @@
|
|
|
655
675
|
var tmp$ret$14 = [];
|
|
656
676
|
return SealedClassSerializer_init_$Create$('com.logic.data.models.TerminationGameReason', tmp, tmp_0, tmp_9, tmp$ret$14);
|
|
657
677
|
}
|
|
658
|
-
function
|
|
659
|
-
|
|
678
|
+
function Companion_2() {
|
|
679
|
+
Companion_instance_2 = this;
|
|
660
680
|
var tmp = this;
|
|
661
681
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
662
|
-
tmp.
|
|
682
|
+
tmp.v2k_1 = lazy(tmp_0, TerminationGameReason$Companion$_anonymous__6itbqj);
|
|
663
683
|
}
|
|
664
|
-
protoOf(
|
|
684
|
+
protoOf(Companion_2).v16 = function () {
|
|
665
685
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
666
686
|
};
|
|
667
|
-
protoOf(
|
|
687
|
+
protoOf(Companion_2).mv = function (typeParamsSerializers) {
|
|
668
688
|
return this.v16();
|
|
669
689
|
};
|
|
670
|
-
var
|
|
671
|
-
function
|
|
672
|
-
if (
|
|
673
|
-
new
|
|
674
|
-
return
|
|
690
|
+
var Companion_instance_2;
|
|
691
|
+
function Companion_getInstance_4() {
|
|
692
|
+
if (Companion_instance_2 == null)
|
|
693
|
+
new Companion_2();
|
|
694
|
+
return Companion_instance_2;
|
|
675
695
|
}
|
|
676
696
|
function TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this) {
|
|
677
697
|
return $this;
|
|
678
698
|
}
|
|
679
699
|
function TerminationGameReason() {
|
|
680
|
-
|
|
700
|
+
Companion_getInstance_4();
|
|
681
701
|
}
|
|
682
|
-
function
|
|
702
|
+
function Companion_3() {
|
|
683
703
|
}
|
|
684
|
-
protoOf(
|
|
704
|
+
protoOf(Companion_3).v16 = function () {
|
|
685
705
|
return $serializer_getInstance_0();
|
|
686
706
|
};
|
|
687
|
-
var
|
|
688
|
-
function
|
|
689
|
-
return
|
|
707
|
+
var Companion_instance_3;
|
|
708
|
+
function Companion_getInstance_5() {
|
|
709
|
+
return Companion_instance_3;
|
|
690
710
|
}
|
|
691
711
|
function $serializer_0() {
|
|
692
712
|
$serializer_instance_0 = this;
|
|
693
713
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
694
714
|
tmp0_serialDesc.mu('playerId', false);
|
|
695
715
|
tmp0_serialDesc.mu('tag', false);
|
|
696
|
-
this.
|
|
716
|
+
this.w2k_1 = tmp0_serialDesc;
|
|
697
717
|
}
|
|
698
718
|
protoOf($serializer_0).pj = function () {
|
|
699
|
-
return this.
|
|
719
|
+
return this.w2k_1;
|
|
700
720
|
};
|
|
701
721
|
protoOf($serializer_0).bv = function () {
|
|
702
722
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -705,7 +725,7 @@
|
|
|
705
725
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
706
726
|
};
|
|
707
727
|
protoOf($serializer_0).rj = function (decoder) {
|
|
708
|
-
var tmp0_desc = this.
|
|
728
|
+
var tmp0_desc = this.w2k_1;
|
|
709
729
|
var tmp1_flag = true;
|
|
710
730
|
var tmp2_index = 0;
|
|
711
731
|
var tmp3_bitMask0 = 0;
|
|
@@ -739,15 +759,15 @@
|
|
|
739
759
|
tmp6_input.ym(tmp0_desc);
|
|
740
760
|
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
741
761
|
};
|
|
742
|
-
protoOf($serializer_0).
|
|
743
|
-
var tmp0_desc = this.
|
|
762
|
+
protoOf($serializer_0).x2k = function (encoder, value) {
|
|
763
|
+
var tmp0_desc = this.w2k_1;
|
|
744
764
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
745
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
765
|
+
tmp1_output.mo(tmp0_desc, 0, value.y2k_1);
|
|
746
766
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
747
767
|
tmp1_output.ym(tmp0_desc);
|
|
748
768
|
};
|
|
749
769
|
protoOf($serializer_0).qj = function (encoder, value) {
|
|
750
|
-
return this.
|
|
770
|
+
return this.x2k(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
751
771
|
};
|
|
752
772
|
var $serializer_instance_0;
|
|
753
773
|
function $serializer_getInstance_0() {
|
|
@@ -757,10 +777,10 @@
|
|
|
757
777
|
}
|
|
758
778
|
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
759
779
|
if (!(3 === (3 & seen1))) {
|
|
760
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_0().
|
|
780
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_0().w2k_1);
|
|
761
781
|
}
|
|
762
782
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
763
|
-
$this.
|
|
783
|
+
$this.y2k_1 = playerId;
|
|
764
784
|
$this.tag = tag;
|
|
765
785
|
return $this;
|
|
766
786
|
}
|
|
@@ -769,37 +789,37 @@
|
|
|
769
789
|
}
|
|
770
790
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
771
791
|
TerminationGameReason.call(this);
|
|
772
|
-
this.
|
|
792
|
+
this.y2k_1 = playerId;
|
|
773
793
|
this.tag = tag;
|
|
774
794
|
}
|
|
775
|
-
protoOf(PlayerLostConnectionReason).y2k = function () {
|
|
776
|
-
return this.x2k_1;
|
|
777
|
-
};
|
|
778
795
|
protoOf(PlayerLostConnectionReason).z2k = function () {
|
|
779
|
-
return this.
|
|
796
|
+
return this.y2k_1;
|
|
780
797
|
};
|
|
781
798
|
protoOf(PlayerLostConnectionReason).a2l = function () {
|
|
799
|
+
return this.tag;
|
|
800
|
+
};
|
|
801
|
+
protoOf(PlayerLostConnectionReason).b2l = function () {
|
|
782
802
|
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
783
803
|
};
|
|
784
804
|
protoOf(PlayerLostConnectionReason).cd = function () {
|
|
785
|
-
return this.
|
|
805
|
+
return this.y2k_1;
|
|
786
806
|
};
|
|
787
807
|
protoOf(PlayerLostConnectionReason).dd = function () {
|
|
788
808
|
return this.tag;
|
|
789
809
|
};
|
|
790
|
-
protoOf(PlayerLostConnectionReason).
|
|
810
|
+
protoOf(PlayerLostConnectionReason).c2l = function (playerId, tag) {
|
|
791
811
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
792
812
|
};
|
|
793
813
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
794
|
-
playerId = playerId === VOID ? this.
|
|
814
|
+
playerId = playerId === VOID ? this.y2k_1 : playerId;
|
|
795
815
|
tag = tag === VOID ? this.tag : tag;
|
|
796
|
-
return this.
|
|
816
|
+
return this.c2l(playerId, tag);
|
|
797
817
|
};
|
|
798
818
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
799
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
819
|
+
return 'PlayerLostConnectionReason(playerId=' + this.y2k_1 + ', tag=' + this.tag + ')';
|
|
800
820
|
};
|
|
801
821
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
802
|
-
var result = getStringHashCode(this.
|
|
822
|
+
var result = getStringHashCode(this.y2k_1);
|
|
803
823
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
804
824
|
return result;
|
|
805
825
|
};
|
|
@@ -809,30 +829,30 @@
|
|
|
809
829
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
810
830
|
return false;
|
|
811
831
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
812
|
-
if (!(this.
|
|
832
|
+
if (!(this.y2k_1 === tmp0_other_with_cast.y2k_1))
|
|
813
833
|
return false;
|
|
814
834
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
815
835
|
return false;
|
|
816
836
|
return true;
|
|
817
837
|
};
|
|
818
|
-
function
|
|
838
|
+
function Companion_4() {
|
|
819
839
|
}
|
|
820
|
-
protoOf(
|
|
840
|
+
protoOf(Companion_4).v16 = function () {
|
|
821
841
|
return $serializer_getInstance_1();
|
|
822
842
|
};
|
|
823
|
-
var
|
|
824
|
-
function
|
|
825
|
-
return
|
|
843
|
+
var Companion_instance_4;
|
|
844
|
+
function Companion_getInstance_6() {
|
|
845
|
+
return Companion_instance_4;
|
|
826
846
|
}
|
|
827
847
|
function $serializer_1() {
|
|
828
848
|
$serializer_instance_1 = this;
|
|
829
849
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
830
850
|
tmp0_serialDesc.mu('playerId', false);
|
|
831
851
|
tmp0_serialDesc.mu('tag', false);
|
|
832
|
-
this.
|
|
852
|
+
this.d2l_1 = tmp0_serialDesc;
|
|
833
853
|
}
|
|
834
854
|
protoOf($serializer_1).pj = function () {
|
|
835
|
-
return this.
|
|
855
|
+
return this.d2l_1;
|
|
836
856
|
};
|
|
837
857
|
protoOf($serializer_1).bv = function () {
|
|
838
858
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -841,7 +861,7 @@
|
|
|
841
861
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
842
862
|
};
|
|
843
863
|
protoOf($serializer_1).rj = function (decoder) {
|
|
844
|
-
var tmp0_desc = this.
|
|
864
|
+
var tmp0_desc = this.d2l_1;
|
|
845
865
|
var tmp1_flag = true;
|
|
846
866
|
var tmp2_index = 0;
|
|
847
867
|
var tmp3_bitMask0 = 0;
|
|
@@ -875,15 +895,15 @@
|
|
|
875
895
|
tmp6_input.ym(tmp0_desc);
|
|
876
896
|
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
877
897
|
};
|
|
878
|
-
protoOf($serializer_1).
|
|
879
|
-
var tmp0_desc = this.
|
|
898
|
+
protoOf($serializer_1).e2l = function (encoder, value) {
|
|
899
|
+
var tmp0_desc = this.d2l_1;
|
|
880
900
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
881
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
901
|
+
tmp1_output.mo(tmp0_desc, 0, value.f2l_1);
|
|
882
902
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
883
903
|
tmp1_output.ym(tmp0_desc);
|
|
884
904
|
};
|
|
885
905
|
protoOf($serializer_1).qj = function (encoder, value) {
|
|
886
|
-
return this.
|
|
906
|
+
return this.e2l(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
887
907
|
};
|
|
888
908
|
var $serializer_instance_1;
|
|
889
909
|
function $serializer_getInstance_1() {
|
|
@@ -893,10 +913,10 @@
|
|
|
893
913
|
}
|
|
894
914
|
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
895
915
|
if (!(3 === (3 & seen1))) {
|
|
896
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_1().
|
|
916
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_1().d2l_1);
|
|
897
917
|
}
|
|
898
918
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
899
|
-
$this.
|
|
919
|
+
$this.f2l_1 = playerId;
|
|
900
920
|
$this.tag = tag;
|
|
901
921
|
return $this;
|
|
902
922
|
}
|
|
@@ -905,37 +925,37 @@
|
|
|
905
925
|
}
|
|
906
926
|
function PlayerTimeoutReason(playerId, tag) {
|
|
907
927
|
TerminationGameReason.call(this);
|
|
908
|
-
this.
|
|
928
|
+
this.f2l_1 = playerId;
|
|
909
929
|
this.tag = tag;
|
|
910
930
|
}
|
|
911
|
-
protoOf(PlayerTimeoutReason).y2k = function () {
|
|
912
|
-
return this.e2l_1;
|
|
913
|
-
};
|
|
914
931
|
protoOf(PlayerTimeoutReason).z2k = function () {
|
|
915
|
-
return this.
|
|
932
|
+
return this.f2l_1;
|
|
916
933
|
};
|
|
917
934
|
protoOf(PlayerTimeoutReason).a2l = function () {
|
|
935
|
+
return this.tag;
|
|
936
|
+
};
|
|
937
|
+
protoOf(PlayerTimeoutReason).b2l = function () {
|
|
918
938
|
return PlayerConnectionState_TIMEOUT_getInstance();
|
|
919
939
|
};
|
|
920
940
|
protoOf(PlayerTimeoutReason).cd = function () {
|
|
921
|
-
return this.
|
|
941
|
+
return this.f2l_1;
|
|
922
942
|
};
|
|
923
943
|
protoOf(PlayerTimeoutReason).dd = function () {
|
|
924
944
|
return this.tag;
|
|
925
945
|
};
|
|
926
|
-
protoOf(PlayerTimeoutReason).
|
|
946
|
+
protoOf(PlayerTimeoutReason).c2l = function (playerId, tag) {
|
|
927
947
|
return new PlayerTimeoutReason(playerId, tag);
|
|
928
948
|
};
|
|
929
949
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
930
|
-
playerId = playerId === VOID ? this.
|
|
950
|
+
playerId = playerId === VOID ? this.f2l_1 : playerId;
|
|
931
951
|
tag = tag === VOID ? this.tag : tag;
|
|
932
|
-
return this.
|
|
952
|
+
return this.c2l(playerId, tag);
|
|
933
953
|
};
|
|
934
954
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
935
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
955
|
+
return 'PlayerTimeoutReason(playerId=' + this.f2l_1 + ', tag=' + this.tag + ')';
|
|
936
956
|
};
|
|
937
957
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
938
|
-
var result = getStringHashCode(this.
|
|
958
|
+
var result = getStringHashCode(this.f2l_1);
|
|
939
959
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
940
960
|
return result;
|
|
941
961
|
};
|
|
@@ -945,29 +965,29 @@
|
|
|
945
965
|
if (!(other instanceof PlayerTimeoutReason))
|
|
946
966
|
return false;
|
|
947
967
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
948
|
-
if (!(this.
|
|
968
|
+
if (!(this.f2l_1 === tmp0_other_with_cast.f2l_1))
|
|
949
969
|
return false;
|
|
950
970
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
951
971
|
return false;
|
|
952
972
|
return true;
|
|
953
973
|
};
|
|
954
|
-
function
|
|
974
|
+
function Companion_5() {
|
|
955
975
|
}
|
|
956
|
-
protoOf(
|
|
976
|
+
protoOf(Companion_5).v16 = function () {
|
|
957
977
|
return $serializer_getInstance_2();
|
|
958
978
|
};
|
|
959
|
-
var
|
|
960
|
-
function
|
|
961
|
-
return
|
|
979
|
+
var Companion_instance_5;
|
|
980
|
+
function Companion_getInstance_7() {
|
|
981
|
+
return Companion_instance_5;
|
|
962
982
|
}
|
|
963
983
|
function $serializer_2() {
|
|
964
984
|
$serializer_instance_2 = this;
|
|
965
985
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
966
986
|
tmp0_serialDesc.mu('playerId', false);
|
|
967
|
-
this.
|
|
987
|
+
this.g2l_1 = tmp0_serialDesc;
|
|
968
988
|
}
|
|
969
989
|
protoOf($serializer_2).pj = function () {
|
|
970
|
-
return this.
|
|
990
|
+
return this.g2l_1;
|
|
971
991
|
};
|
|
972
992
|
protoOf($serializer_2).bv = function () {
|
|
973
993
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -976,7 +996,7 @@
|
|
|
976
996
|
return [StringSerializer_getInstance()];
|
|
977
997
|
};
|
|
978
998
|
protoOf($serializer_2).rj = function (decoder) {
|
|
979
|
-
var tmp0_desc = this.
|
|
999
|
+
var tmp0_desc = this.g2l_1;
|
|
980
1000
|
var tmp1_flag = true;
|
|
981
1001
|
var tmp2_index = 0;
|
|
982
1002
|
var tmp3_bitMask0 = 0;
|
|
@@ -1003,14 +1023,14 @@
|
|
|
1003
1023
|
tmp5_input.ym(tmp0_desc);
|
|
1004
1024
|
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1005
1025
|
};
|
|
1006
|
-
protoOf($serializer_2).
|
|
1007
|
-
var tmp0_desc = this.
|
|
1026
|
+
protoOf($serializer_2).h2l = function (encoder, value) {
|
|
1027
|
+
var tmp0_desc = this.g2l_1;
|
|
1008
1028
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
1009
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
1029
|
+
tmp1_output.mo(tmp0_desc, 0, value.i2l_1);
|
|
1010
1030
|
tmp1_output.ym(tmp0_desc);
|
|
1011
1031
|
};
|
|
1012
1032
|
protoOf($serializer_2).qj = function (encoder, value) {
|
|
1013
|
-
return this.
|
|
1033
|
+
return this.h2l(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
1014
1034
|
};
|
|
1015
1035
|
var $serializer_instance_2;
|
|
1016
1036
|
function $serializer_getInstance_2() {
|
|
@@ -1020,10 +1040,10 @@
|
|
|
1020
1040
|
}
|
|
1021
1041
|
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
1022
1042
|
if (!(1 === (1 & seen1))) {
|
|
1023
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().
|
|
1043
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().g2l_1);
|
|
1024
1044
|
}
|
|
1025
1045
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1026
|
-
$this.
|
|
1046
|
+
$this.i2l_1 = playerId;
|
|
1027
1047
|
return $this;
|
|
1028
1048
|
}
|
|
1029
1049
|
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -1031,29 +1051,29 @@
|
|
|
1031
1051
|
}
|
|
1032
1052
|
function PlayerExitReason(playerId) {
|
|
1033
1053
|
TerminationGameReason.call(this);
|
|
1034
|
-
this.
|
|
1054
|
+
this.i2l_1 = playerId;
|
|
1035
1055
|
}
|
|
1036
|
-
protoOf(PlayerExitReason).
|
|
1037
|
-
return this.
|
|
1056
|
+
protoOf(PlayerExitReason).z2k = function () {
|
|
1057
|
+
return this.i2l_1;
|
|
1038
1058
|
};
|
|
1039
|
-
protoOf(PlayerExitReason).
|
|
1059
|
+
protoOf(PlayerExitReason).b2l = function () {
|
|
1040
1060
|
return PlayerConnectionState_LEFT_getInstance();
|
|
1041
1061
|
};
|
|
1042
1062
|
protoOf(PlayerExitReason).cd = function () {
|
|
1043
|
-
return this.
|
|
1063
|
+
return this.i2l_1;
|
|
1044
1064
|
};
|
|
1045
|
-
protoOf(PlayerExitReason).
|
|
1065
|
+
protoOf(PlayerExitReason).j2l = function (playerId) {
|
|
1046
1066
|
return new PlayerExitReason(playerId);
|
|
1047
1067
|
};
|
|
1048
1068
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
1049
|
-
playerId = playerId === VOID ? this.
|
|
1050
|
-
return this.
|
|
1069
|
+
playerId = playerId === VOID ? this.i2l_1 : playerId;
|
|
1070
|
+
return this.j2l(playerId);
|
|
1051
1071
|
};
|
|
1052
1072
|
protoOf(PlayerExitReason).toString = function () {
|
|
1053
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
1073
|
+
return 'PlayerExitReason(playerId=' + this.i2l_1 + ')';
|
|
1054
1074
|
};
|
|
1055
1075
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
1056
|
-
return getStringHashCode(this.
|
|
1076
|
+
return getStringHashCode(this.i2l_1);
|
|
1057
1077
|
};
|
|
1058
1078
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
1059
1079
|
if (this === other)
|
|
@@ -1061,12 +1081,12 @@
|
|
|
1061
1081
|
if (!(other instanceof PlayerExitReason))
|
|
1062
1082
|
return false;
|
|
1063
1083
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
1064
|
-
if (!(this.
|
|
1084
|
+
if (!(this.i2l_1 === tmp0_other_with_cast.i2l_1))
|
|
1065
1085
|
return false;
|
|
1066
1086
|
return true;
|
|
1067
1087
|
};
|
|
1068
1088
|
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
1069
|
-
return $this.
|
|
1089
|
+
return $this.k2l_1.o2();
|
|
1070
1090
|
}
|
|
1071
1091
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
1072
1092
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -1075,24 +1095,24 @@
|
|
|
1075
1095
|
var Reason_PLAYER_DELETED_instance;
|
|
1076
1096
|
var Reason_NO_ACTIVE_PLAYERS_instance;
|
|
1077
1097
|
var Reason_GAME_NOT_EXISTS_instance;
|
|
1078
|
-
function
|
|
1079
|
-
|
|
1098
|
+
function Companion_6() {
|
|
1099
|
+
Companion_instance_6 = this;
|
|
1080
1100
|
var tmp = this;
|
|
1081
1101
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1082
|
-
tmp.
|
|
1102
|
+
tmp.k2l_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
1083
1103
|
}
|
|
1084
|
-
protoOf(
|
|
1104
|
+
protoOf(Companion_6).v16 = function () {
|
|
1085
1105
|
return _get_$cachedSerializer__te6jhj_2(this);
|
|
1086
1106
|
};
|
|
1087
|
-
protoOf(
|
|
1107
|
+
protoOf(Companion_6).mv = function (typeParamsSerializers) {
|
|
1088
1108
|
return this.v16();
|
|
1089
1109
|
};
|
|
1090
|
-
var
|
|
1091
|
-
function
|
|
1110
|
+
var Companion_instance_6;
|
|
1111
|
+
function Companion_getInstance_8() {
|
|
1092
1112
|
Reason_initEntries();
|
|
1093
|
-
if (
|
|
1094
|
-
new
|
|
1095
|
-
return
|
|
1113
|
+
if (Companion_instance_6 == null)
|
|
1114
|
+
new Companion_6();
|
|
1115
|
+
return Companion_instance_6;
|
|
1096
1116
|
}
|
|
1097
1117
|
function values() {
|
|
1098
1118
|
return [Reason_DEPLOY_getInstance(), Reason_PLAYER_DELETED_getInstance(), Reason_NO_ACTIVE_PLAYERS_getInstance(), Reason_GAME_NOT_EXISTS_getInstance()];
|
|
@@ -1122,51 +1142,51 @@
|
|
|
1122
1142
|
Reason_PLAYER_DELETED_instance = new Reason('PLAYER_DELETED', 1);
|
|
1123
1143
|
Reason_NO_ACTIVE_PLAYERS_instance = new Reason('NO_ACTIVE_PLAYERS', 2);
|
|
1124
1144
|
Reason_GAME_NOT_EXISTS_instance = new Reason('GAME_NOT_EXISTS', 3);
|
|
1125
|
-
|
|
1145
|
+
Companion_getInstance_8();
|
|
1126
1146
|
}
|
|
1127
1147
|
function Reason(name, ordinal) {
|
|
1128
1148
|
Enum.call(this, name, ordinal);
|
|
1129
1149
|
}
|
|
1130
|
-
function
|
|
1131
|
-
|
|
1150
|
+
function Companion_7() {
|
|
1151
|
+
Companion_instance_7 = this;
|
|
1132
1152
|
var tmp = this;
|
|
1133
1153
|
// Inline function 'kotlin.arrayOf' call
|
|
1134
1154
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1135
1155
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1136
|
-
tmp.
|
|
1156
|
+
tmp.n2l_1 = [Companion_getInstance_8().v16()];
|
|
1137
1157
|
}
|
|
1138
|
-
protoOf(
|
|
1158
|
+
protoOf(Companion_7).v16 = function () {
|
|
1139
1159
|
return $serializer_getInstance_3();
|
|
1140
1160
|
};
|
|
1141
|
-
var
|
|
1142
|
-
function
|
|
1143
|
-
if (
|
|
1144
|
-
new
|
|
1145
|
-
return
|
|
1161
|
+
var Companion_instance_7;
|
|
1162
|
+
function Companion_getInstance_9() {
|
|
1163
|
+
if (Companion_instance_7 == null)
|
|
1164
|
+
new Companion_7();
|
|
1165
|
+
return Companion_instance_7;
|
|
1146
1166
|
}
|
|
1147
1167
|
function $serializer_3() {
|
|
1148
1168
|
$serializer_instance_3 = this;
|
|
1149
1169
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1150
1170
|
tmp0_serialDesc.mu('reason', false);
|
|
1151
|
-
this.
|
|
1171
|
+
this.o2l_1 = tmp0_serialDesc;
|
|
1152
1172
|
}
|
|
1153
1173
|
protoOf($serializer_3).pj = function () {
|
|
1154
|
-
return this.
|
|
1174
|
+
return this.o2l_1;
|
|
1155
1175
|
};
|
|
1156
1176
|
protoOf($serializer_3).bv = function () {
|
|
1157
1177
|
// Inline function 'kotlin.arrayOf' call
|
|
1158
1178
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1159
1179
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1160
|
-
return [
|
|
1180
|
+
return [Companion_getInstance_9().n2l_1[0]];
|
|
1161
1181
|
};
|
|
1162
1182
|
protoOf($serializer_3).rj = function (decoder) {
|
|
1163
|
-
var tmp0_desc = this.
|
|
1183
|
+
var tmp0_desc = this.o2l_1;
|
|
1164
1184
|
var tmp1_flag = true;
|
|
1165
1185
|
var tmp2_index = 0;
|
|
1166
1186
|
var tmp3_bitMask0 = 0;
|
|
1167
1187
|
var tmp4_local0 = null;
|
|
1168
1188
|
var tmp5_input = decoder.xm(tmp0_desc);
|
|
1169
|
-
var tmp6_cached =
|
|
1189
|
+
var tmp6_cached = Companion_getInstance_9().n2l_1;
|
|
1170
1190
|
if (tmp5_input.nn()) {
|
|
1171
1191
|
tmp4_local0 = tmp5_input.jn(tmp0_desc, 0, tmp6_cached[0], tmp4_local0);
|
|
1172
1192
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -1188,15 +1208,15 @@
|
|
|
1188
1208
|
tmp5_input.ym(tmp0_desc);
|
|
1189
1209
|
return GameFinishedReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1190
1210
|
};
|
|
1191
|
-
protoOf($serializer_3).
|
|
1192
|
-
var tmp0_desc = this.
|
|
1211
|
+
protoOf($serializer_3).p2l = function (encoder, value) {
|
|
1212
|
+
var tmp0_desc = this.o2l_1;
|
|
1193
1213
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
1194
|
-
var tmp2_cached =
|
|
1214
|
+
var tmp2_cached = Companion_getInstance_9().n2l_1;
|
|
1195
1215
|
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.reason);
|
|
1196
1216
|
tmp1_output.ym(tmp0_desc);
|
|
1197
1217
|
};
|
|
1198
1218
|
protoOf($serializer_3).qj = function (encoder, value) {
|
|
1199
|
-
return this.
|
|
1219
|
+
return this.p2l(encoder, value instanceof GameFinishedReason ? value : THROW_CCE());
|
|
1200
1220
|
};
|
|
1201
1221
|
var $serializer_instance_3;
|
|
1202
1222
|
function $serializer_getInstance_3() {
|
|
@@ -1206,7 +1226,7 @@
|
|
|
1206
1226
|
}
|
|
1207
1227
|
function GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
1208
1228
|
if (!(1 === (1 & seen1))) {
|
|
1209
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_3().
|
|
1229
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_3().o2l_1);
|
|
1210
1230
|
}
|
|
1211
1231
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1212
1232
|
$this.reason = reason;
|
|
@@ -1232,22 +1252,22 @@
|
|
|
1232
1252
|
return Reason_GAME_NOT_EXISTS_instance;
|
|
1233
1253
|
}
|
|
1234
1254
|
function GameFinishedReason(reason) {
|
|
1235
|
-
|
|
1255
|
+
Companion_getInstance_9();
|
|
1236
1256
|
TerminationGameReason.call(this);
|
|
1237
1257
|
this.reason = reason;
|
|
1238
1258
|
}
|
|
1239
|
-
protoOf(GameFinishedReason).
|
|
1259
|
+
protoOf(GameFinishedReason).q2l = function () {
|
|
1240
1260
|
return this.reason;
|
|
1241
1261
|
};
|
|
1242
1262
|
protoOf(GameFinishedReason).cd = function () {
|
|
1243
1263
|
return this.reason;
|
|
1244
1264
|
};
|
|
1245
|
-
protoOf(GameFinishedReason).
|
|
1265
|
+
protoOf(GameFinishedReason).r2l = function (reason) {
|
|
1246
1266
|
return new GameFinishedReason(reason);
|
|
1247
1267
|
};
|
|
1248
1268
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
1249
1269
|
reason = reason === VOID ? this.reason : reason;
|
|
1250
|
-
return this.
|
|
1270
|
+
return this.r2l(reason);
|
|
1251
1271
|
};
|
|
1252
1272
|
protoOf(GameFinishedReason).toString = function () {
|
|
1253
1273
|
return 'GameFinishedReason(reason=' + this.reason + ')';
|
|
@@ -1265,23 +1285,23 @@
|
|
|
1265
1285
|
return false;
|
|
1266
1286
|
return true;
|
|
1267
1287
|
};
|
|
1268
|
-
function
|
|
1288
|
+
function Companion_8() {
|
|
1269
1289
|
}
|
|
1270
|
-
protoOf(
|
|
1290
|
+
protoOf(Companion_8).v16 = function () {
|
|
1271
1291
|
return $serializer_getInstance_4();
|
|
1272
1292
|
};
|
|
1273
|
-
var
|
|
1274
|
-
function
|
|
1275
|
-
return
|
|
1293
|
+
var Companion_instance_8;
|
|
1294
|
+
function Companion_getInstance_10() {
|
|
1295
|
+
return Companion_instance_8;
|
|
1276
1296
|
}
|
|
1277
1297
|
function $serializer_4() {
|
|
1278
1298
|
$serializer_instance_4 = this;
|
|
1279
1299
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1280
1300
|
tmp0_serialDesc.mu('reason', false);
|
|
1281
|
-
this.
|
|
1301
|
+
this.s2l_1 = tmp0_serialDesc;
|
|
1282
1302
|
}
|
|
1283
1303
|
protoOf($serializer_4).pj = function () {
|
|
1284
|
-
return this.
|
|
1304
|
+
return this.s2l_1;
|
|
1285
1305
|
};
|
|
1286
1306
|
protoOf($serializer_4).bv = function () {
|
|
1287
1307
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1290,7 +1310,7 @@
|
|
|
1290
1310
|
return [StringSerializer_getInstance()];
|
|
1291
1311
|
};
|
|
1292
1312
|
protoOf($serializer_4).rj = function (decoder) {
|
|
1293
|
-
var tmp0_desc = this.
|
|
1313
|
+
var tmp0_desc = this.s2l_1;
|
|
1294
1314
|
var tmp1_flag = true;
|
|
1295
1315
|
var tmp2_index = 0;
|
|
1296
1316
|
var tmp3_bitMask0 = 0;
|
|
@@ -1317,14 +1337,14 @@
|
|
|
1317
1337
|
tmp5_input.ym(tmp0_desc);
|
|
1318
1338
|
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1319
1339
|
};
|
|
1320
|
-
protoOf($serializer_4).
|
|
1321
|
-
var tmp0_desc = this.
|
|
1340
|
+
protoOf($serializer_4).t2l = function (encoder, value) {
|
|
1341
|
+
var tmp0_desc = this.s2l_1;
|
|
1322
1342
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
1323
1343
|
tmp1_output.mo(tmp0_desc, 0, value.reason);
|
|
1324
1344
|
tmp1_output.ym(tmp0_desc);
|
|
1325
1345
|
};
|
|
1326
1346
|
protoOf($serializer_4).qj = function (encoder, value) {
|
|
1327
|
-
return this.
|
|
1347
|
+
return this.t2l(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
1328
1348
|
};
|
|
1329
1349
|
var $serializer_instance_4;
|
|
1330
1350
|
function $serializer_getInstance_4() {
|
|
@@ -1334,7 +1354,7 @@
|
|
|
1334
1354
|
}
|
|
1335
1355
|
function GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
1336
1356
|
if (!(1 === (1 & seen1))) {
|
|
1337
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_4().
|
|
1357
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_4().s2l_1);
|
|
1338
1358
|
}
|
|
1339
1359
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1340
1360
|
$this.reason = reason;
|
|
@@ -1347,18 +1367,18 @@
|
|
|
1347
1367
|
TerminationGameReason.call(this);
|
|
1348
1368
|
this.reason = reason;
|
|
1349
1369
|
}
|
|
1350
|
-
protoOf(GameErrorReason).
|
|
1370
|
+
protoOf(GameErrorReason).q2l = function () {
|
|
1351
1371
|
return this.reason;
|
|
1352
1372
|
};
|
|
1353
1373
|
protoOf(GameErrorReason).cd = function () {
|
|
1354
1374
|
return this.reason;
|
|
1355
1375
|
};
|
|
1356
|
-
protoOf(GameErrorReason).
|
|
1376
|
+
protoOf(GameErrorReason).j2l = function (reason) {
|
|
1357
1377
|
return new GameErrorReason(reason);
|
|
1358
1378
|
};
|
|
1359
1379
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
1360
1380
|
reason = reason === VOID ? this.reason : reason;
|
|
1361
|
-
return this.
|
|
1381
|
+
return this.j2l(reason);
|
|
1362
1382
|
};
|
|
1363
1383
|
protoOf(GameErrorReason).toString = function () {
|
|
1364
1384
|
return 'GameErrorReason(reason=' + this.reason + ')';
|
|
@@ -1377,7 +1397,7 @@
|
|
|
1377
1397
|
return true;
|
|
1378
1398
|
};
|
|
1379
1399
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1380
|
-
return $this.
|
|
1400
|
+
return $this.u2l_1.o2();
|
|
1381
1401
|
}
|
|
1382
1402
|
function WaitingForConnectionReason$_anonymous__v65n7d() {
|
|
1383
1403
|
var tmp = WaitingForConnectionReason_getInstance();
|
|
@@ -1392,7 +1412,7 @@
|
|
|
1392
1412
|
TerminationGameReason.call(this);
|
|
1393
1413
|
var tmp = this;
|
|
1394
1414
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1395
|
-
tmp.
|
|
1415
|
+
tmp.u2l_1 = lazy(tmp_0, WaitingForConnectionReason$_anonymous__v65n7d);
|
|
1396
1416
|
}
|
|
1397
1417
|
protoOf(WaitingForConnectionReason).toString = function () {
|
|
1398
1418
|
return 'WaitingForConnectionReason';
|
|
@@ -1410,7 +1430,7 @@
|
|
|
1410
1430
|
return WaitingForConnectionReason_instance;
|
|
1411
1431
|
}
|
|
1412
1432
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1413
|
-
return $this.
|
|
1433
|
+
return $this.v2l_1.o2();
|
|
1414
1434
|
}
|
|
1415
1435
|
function ProcessingReason$_anonymous__fvp7fk() {
|
|
1416
1436
|
var tmp = ProcessingReason_getInstance();
|
|
@@ -1425,7 +1445,7 @@
|
|
|
1425
1445
|
TerminationGameReason.call(this);
|
|
1426
1446
|
var tmp = this;
|
|
1427
1447
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1428
|
-
tmp.
|
|
1448
|
+
tmp.v2l_1 = lazy(tmp_0, ProcessingReason$_anonymous__fvp7fk);
|
|
1429
1449
|
}
|
|
1430
1450
|
protoOf(ProcessingReason).toString = function () {
|
|
1431
1451
|
return 'ProcessingReason';
|
|
@@ -1453,33 +1473,33 @@
|
|
|
1453
1473
|
isBot = isBot === VOID ? false : isBot;
|
|
1454
1474
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1455
1475
|
payload = payload === VOID ? null : payload;
|
|
1456
|
-
this.
|
|
1476
|
+
this.w2l_1 = playerId;
|
|
1457
1477
|
this.name = name;
|
|
1458
1478
|
this.avatarUrl = avatarUrl;
|
|
1459
1479
|
this.isBot = isBot;
|
|
1460
1480
|
this.initialLuckyFactor = initialLuckyFactor;
|
|
1461
1481
|
this.payload = payload;
|
|
1462
1482
|
}
|
|
1463
|
-
protoOf(GameUserInfo).
|
|
1464
|
-
return this.
|
|
1483
|
+
protoOf(GameUserInfo).z2k = function () {
|
|
1484
|
+
return this.w2l_1;
|
|
1465
1485
|
};
|
|
1466
1486
|
protoOf(GameUserInfo).g9 = function () {
|
|
1467
1487
|
return this.name;
|
|
1468
1488
|
};
|
|
1469
|
-
protoOf(GameUserInfo).
|
|
1489
|
+
protoOf(GameUserInfo).x2l = function () {
|
|
1470
1490
|
return this.avatarUrl;
|
|
1471
1491
|
};
|
|
1472
|
-
protoOf(GameUserInfo).
|
|
1492
|
+
protoOf(GameUserInfo).y2l = function () {
|
|
1473
1493
|
return this.isBot;
|
|
1474
1494
|
};
|
|
1475
|
-
protoOf(GameUserInfo).
|
|
1495
|
+
protoOf(GameUserInfo).z2l = function () {
|
|
1476
1496
|
return this.initialLuckyFactor;
|
|
1477
1497
|
};
|
|
1478
|
-
protoOf(GameUserInfo).
|
|
1498
|
+
protoOf(GameUserInfo).a2m = function () {
|
|
1479
1499
|
return this.payload;
|
|
1480
1500
|
};
|
|
1481
1501
|
protoOf(GameUserInfo).toString = function () {
|
|
1482
|
-
var tmp = 'GameUserInfo(' + ("playerId='" + this.
|
|
1502
|
+
var tmp = 'GameUserInfo(' + ("playerId='" + this.w2l_1 + "', ") + ("name='" + this.name + "', ");
|
|
1483
1503
|
// Inline function 'kotlin.takeIf' call
|
|
1484
1504
|
var this_0 = 'avatarUrl=' + this.avatarUrl + ', ';
|
|
1485
1505
|
// Inline function 'kotlin.contracts.contract' call
|
|
@@ -1530,7 +1550,7 @@
|
|
|
1530
1550
|
return tmp_5 + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs) + ')';
|
|
1531
1551
|
};
|
|
1532
1552
|
protoOf(GameUserInfo).cd = function () {
|
|
1533
|
-
return this.
|
|
1553
|
+
return this.w2l_1;
|
|
1534
1554
|
};
|
|
1535
1555
|
protoOf(GameUserInfo).dd = function () {
|
|
1536
1556
|
return this.name;
|
|
@@ -1538,29 +1558,29 @@
|
|
|
1538
1558
|
protoOf(GameUserInfo).qh = function () {
|
|
1539
1559
|
return this.avatarUrl;
|
|
1540
1560
|
};
|
|
1541
|
-
protoOf(GameUserInfo).
|
|
1561
|
+
protoOf(GameUserInfo).s2k = function () {
|
|
1542
1562
|
return this.isBot;
|
|
1543
1563
|
};
|
|
1544
|
-
protoOf(GameUserInfo).
|
|
1564
|
+
protoOf(GameUserInfo).b2m = function () {
|
|
1545
1565
|
return this.initialLuckyFactor;
|
|
1546
1566
|
};
|
|
1547
|
-
protoOf(GameUserInfo).
|
|
1567
|
+
protoOf(GameUserInfo).c2m = function () {
|
|
1548
1568
|
return this.payload;
|
|
1549
1569
|
};
|
|
1550
|
-
protoOf(GameUserInfo).
|
|
1570
|
+
protoOf(GameUserInfo).d2m = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload) {
|
|
1551
1571
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1552
1572
|
};
|
|
1553
1573
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload, $super) {
|
|
1554
|
-
playerId = playerId === VOID ? this.
|
|
1574
|
+
playerId = playerId === VOID ? this.w2l_1 : playerId;
|
|
1555
1575
|
name = name === VOID ? this.name : name;
|
|
1556
1576
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1557
1577
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1558
1578
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1559
1579
|
payload = payload === VOID ? this.payload : payload;
|
|
1560
|
-
return this.
|
|
1580
|
+
return this.d2m(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1561
1581
|
};
|
|
1562
1582
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1563
|
-
var result = getStringHashCode(this.
|
|
1583
|
+
var result = getStringHashCode(this.w2l_1);
|
|
1564
1584
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1565
1585
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1566
1586
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1574,7 +1594,7 @@
|
|
|
1574
1594
|
if (!(other instanceof GameUserInfo))
|
|
1575
1595
|
return false;
|
|
1576
1596
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1577
|
-
if (!(this.
|
|
1597
|
+
if (!(this.w2l_1 === tmp0_other_with_cast.w2l_1))
|
|
1578
1598
|
return false;
|
|
1579
1599
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1580
1600
|
return false;
|
|
@@ -1654,18 +1674,18 @@
|
|
|
1654
1674
|
return destination;
|
|
1655
1675
|
}
|
|
1656
1676
|
function PlayerIndex(playerId, index) {
|
|
1657
|
-
this.
|
|
1658
|
-
this.
|
|
1677
|
+
this.g2m_1 = playerId;
|
|
1678
|
+
this.h2m_1 = index;
|
|
1659
1679
|
}
|
|
1660
|
-
protoOf(PlayerIndex).
|
|
1661
|
-
return this.
|
|
1680
|
+
protoOf(PlayerIndex).z2k = function () {
|
|
1681
|
+
return this.g2m_1;
|
|
1662
1682
|
};
|
|
1663
1683
|
protoOf(PlayerIndex).toString = function () {
|
|
1664
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1684
|
+
return 'PlayerIndex(playerId=' + this.g2m_1 + ', index=' + this.h2m_1 + ')';
|
|
1665
1685
|
};
|
|
1666
1686
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1667
|
-
var result = getStringHashCode(this.
|
|
1668
|
-
result = imul(result, 31) + this.
|
|
1687
|
+
var result = getStringHashCode(this.g2m_1);
|
|
1688
|
+
result = imul(result, 31) + this.h2m_1 | 0;
|
|
1669
1689
|
return result;
|
|
1670
1690
|
};
|
|
1671
1691
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1674,10 +1694,10 @@
|
|
|
1674
1694
|
if (!(other instanceof PlayerIndex))
|
|
1675
1695
|
return false;
|
|
1676
1696
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1677
|
-
if (!(this.f2m_1 === tmp0_other_with_cast.f2m_1))
|
|
1678
|
-
return false;
|
|
1679
1697
|
if (!(this.g2m_1 === tmp0_other_with_cast.g2m_1))
|
|
1680
1698
|
return false;
|
|
1699
|
+
if (!(this.h2m_1 === tmp0_other_with_cast.h2m_1))
|
|
1700
|
+
return false;
|
|
1681
1701
|
return true;
|
|
1682
1702
|
};
|
|
1683
1703
|
function filterPlayerTurn(_this__u8e3s4) {
|
|
@@ -1700,16 +1720,16 @@
|
|
|
1700
1720
|
return nextTo_0(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1701
1721
|
}
|
|
1702
1722
|
function PlayerIdContractOrderComparator(players) {
|
|
1703
|
-
this.
|
|
1723
|
+
this.i2m_1 = players;
|
|
1704
1724
|
}
|
|
1705
|
-
protoOf(PlayerIdContractOrderComparator).
|
|
1706
|
-
var indexA = this.
|
|
1707
|
-
var indexB = this.
|
|
1725
|
+
protoOf(PlayerIdContractOrderComparator).j2m = function (a, b) {
|
|
1726
|
+
var indexA = this.i2m_1.y1(a.playerId);
|
|
1727
|
+
var indexB = this.i2m_1.y1(b.playerId);
|
|
1708
1728
|
return compareTo(indexA, indexB);
|
|
1709
1729
|
};
|
|
1710
1730
|
protoOf(PlayerIdContractOrderComparator).compare = function (a, b) {
|
|
1711
1731
|
var tmp = (!(a == null) ? isInterface(a, PlayerIdContract) : false) ? a : THROW_CCE();
|
|
1712
|
-
return this.
|
|
1732
|
+
return this.j2m(tmp, (!(b == null) ? isInterface(b, PlayerIdContract) : false) ? b : THROW_CCE());
|
|
1713
1733
|
};
|
|
1714
1734
|
function byIdPlayerPredicate$lambda(id) {
|
|
1715
1735
|
_init_properties_Player_kt__qi83pd();
|
|
@@ -1722,7 +1742,7 @@
|
|
|
1722
1742
|
}
|
|
1723
1743
|
function playerTurnPredicate$lambda(p1) {
|
|
1724
1744
|
_init_properties_Player_kt__qi83pd();
|
|
1725
|
-
return p1.k1r().
|
|
1745
|
+
return p1.k1r().r2m();
|
|
1726
1746
|
}
|
|
1727
1747
|
var properties_initialized_Player_kt_56shkt;
|
|
1728
1748
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1732,72 +1752,72 @@
|
|
|
1732
1752
|
playerTurnPredicate = playerTurnPredicate$lambda;
|
|
1733
1753
|
}
|
|
1734
1754
|
}
|
|
1735
|
-
function
|
|
1736
|
-
this.
|
|
1755
|
+
function Companion_9() {
|
|
1756
|
+
this.s2m_1 = 75;
|
|
1737
1757
|
}
|
|
1738
|
-
protoOf(
|
|
1739
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
1758
|
+
protoOf(Companion_9).t2m = function (_this__u8e3s4) {
|
|
1759
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.y2m(PlayerConnectionState_LIVE_getInstance(), System_instance.s1m(), Duration__plus_impl_yu9v8f(_this__u8e3s4.w2m_1, _this__u8e3s4.x2m()));
|
|
1740
1760
|
return tmp1_elvis_lhs == null ? new PlayerConnection(PlayerConnectionState_LIVE_getInstance(), System_instance.s1m()) : tmp1_elvis_lhs;
|
|
1741
1761
|
};
|
|
1742
|
-
protoOf(
|
|
1743
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
1762
|
+
protoOf(Companion_9).z2m = function (_this__u8e3s4, state) {
|
|
1763
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.a2n(state, System_instance.s1m());
|
|
1744
1764
|
return tmp1_elvis_lhs == null ? new PlayerConnection(state, System_instance.s1m()) : tmp1_elvis_lhs;
|
|
1745
1765
|
};
|
|
1746
|
-
var
|
|
1747
|
-
function
|
|
1748
|
-
return
|
|
1766
|
+
var Companion_instance_9;
|
|
1767
|
+
function Companion_getInstance_11() {
|
|
1768
|
+
return Companion_instance_9;
|
|
1749
1769
|
}
|
|
1750
1770
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1751
1771
|
connectionChangedTime = connectionChangedTime === VOID ? System_instance.s1m() : connectionChangedTime;
|
|
1752
1772
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().tg_1 : notLiveDurationRecord;
|
|
1753
|
-
this.
|
|
1754
|
-
this.
|
|
1755
|
-
this.
|
|
1773
|
+
this.u2m_1 = state;
|
|
1774
|
+
this.v2m_1 = connectionChangedTime;
|
|
1775
|
+
this.w2m_1 = notLiveDurationRecord;
|
|
1756
1776
|
}
|
|
1757
|
-
protoOf(PlayerConnection).
|
|
1758
|
-
return System_instance.s1m().x1n(this.
|
|
1777
|
+
protoOf(PlayerConnection).x2m = function () {
|
|
1778
|
+
return System_instance.s1m().x1n(this.v2m_1);
|
|
1759
1779
|
};
|
|
1760
|
-
protoOf(PlayerConnection).
|
|
1780
|
+
protoOf(PlayerConnection).b2n = function () {
|
|
1761
1781
|
var tmp;
|
|
1762
|
-
if (this.
|
|
1763
|
-
tmp = this.
|
|
1782
|
+
if (this.u2m_1.isLive) {
|
|
1783
|
+
tmp = this.w2m_1;
|
|
1764
1784
|
} else {
|
|
1765
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1785
|
+
tmp = Duration__plus_impl_yu9v8f(this.w2m_1, this.x2m());
|
|
1766
1786
|
}
|
|
1767
1787
|
return tmp;
|
|
1768
1788
|
};
|
|
1769
|
-
protoOf(PlayerConnection).
|
|
1789
|
+
protoOf(PlayerConnection).c2n = function (gameDuration) {
|
|
1770
1790
|
// Inline function 'kotlin.Long.div' call
|
|
1771
1791
|
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).da() / 100.0;
|
|
1772
1792
|
// Inline function 'kotlin.math.round' call
|
|
1773
1793
|
// Inline function 'kotlin.Long.div' call
|
|
1774
|
-
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1794
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.b2n()).da() / percent;
|
|
1775
1795
|
var tmp$ret$2 = round(x);
|
|
1776
1796
|
return numberToInt(tmp$ret$2);
|
|
1777
1797
|
};
|
|
1778
|
-
protoOf(PlayerConnection).c2n = function (gameDuration) {
|
|
1779
|
-
return 100 - this.b2n(gameDuration) | 0;
|
|
1780
|
-
};
|
|
1781
1798
|
protoOf(PlayerConnection).d2n = function (gameDuration) {
|
|
1782
|
-
|
|
1799
|
+
return 100 - this.c2n(gameDuration) | 0;
|
|
1800
|
+
};
|
|
1801
|
+
protoOf(PlayerConnection).e2n = function (gameDuration) {
|
|
1802
|
+
var percentage = this.d2n(gameDuration);
|
|
1783
1803
|
return percentage >= 75;
|
|
1784
1804
|
};
|
|
1785
|
-
protoOf(PlayerConnection).
|
|
1805
|
+
protoOf(PlayerConnection).y2m = function (state, connectionChangedTime, notLiveDurationRecord) {
|
|
1786
1806
|
return new PlayerConnection(state, connectionChangedTime, notLiveDurationRecord);
|
|
1787
1807
|
};
|
|
1788
|
-
protoOf(PlayerConnection).
|
|
1789
|
-
state = state === VOID ? this.
|
|
1790
|
-
connectionChangedTime = connectionChangedTime === VOID ? this.
|
|
1791
|
-
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.
|
|
1792
|
-
return $super === VOID ? this.
|
|
1808
|
+
protoOf(PlayerConnection).a2n = function (state, connectionChangedTime, notLiveDurationRecord, $super) {
|
|
1809
|
+
state = state === VOID ? this.u2m_1 : state;
|
|
1810
|
+
connectionChangedTime = connectionChangedTime === VOID ? this.v2m_1 : connectionChangedTime;
|
|
1811
|
+
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.w2m_1 : notLiveDurationRecord;
|
|
1812
|
+
return $super === VOID ? this.y2m(state, connectionChangedTime, notLiveDurationRecord) : $super.y2m.call(this, state, connectionChangedTime, new Duration(notLiveDurationRecord));
|
|
1793
1813
|
};
|
|
1794
1814
|
protoOf(PlayerConnection).toString = function () {
|
|
1795
|
-
return 'PlayerConnection(state=' + this.
|
|
1815
|
+
return 'PlayerConnection(state=' + this.u2m_1 + ', connectionChangedTime=' + this.v2m_1 + ', notLiveDurationRecord=' + new Duration(this.w2m_1) + ')';
|
|
1796
1816
|
};
|
|
1797
1817
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1798
|
-
var result = this.
|
|
1799
|
-
result = imul(result, 31) + this.
|
|
1800
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1818
|
+
var result = this.u2m_1.hashCode();
|
|
1819
|
+
result = imul(result, 31) + this.v2m_1.hashCode() | 0;
|
|
1820
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.w2m_1) | 0;
|
|
1801
1821
|
return result;
|
|
1802
1822
|
};
|
|
1803
1823
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1806,16 +1826,16 @@
|
|
|
1806
1826
|
if (!(other instanceof PlayerConnection))
|
|
1807
1827
|
return false;
|
|
1808
1828
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1809
|
-
if (!this.t2m_1.equals(tmp0_other_with_cast.t2m_1))
|
|
1810
|
-
return false;
|
|
1811
1829
|
if (!this.u2m_1.equals(tmp0_other_with_cast.u2m_1))
|
|
1812
1830
|
return false;
|
|
1813
|
-
if (!
|
|
1831
|
+
if (!this.v2m_1.equals(tmp0_other_with_cast.v2m_1))
|
|
1832
|
+
return false;
|
|
1833
|
+
if (!equals(this.w2m_1, tmp0_other_with_cast.w2m_1))
|
|
1814
1834
|
return false;
|
|
1815
1835
|
return true;
|
|
1816
1836
|
};
|
|
1817
1837
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1818
|
-
return $this.
|
|
1838
|
+
return $this.f2n_1.o2();
|
|
1819
1839
|
}
|
|
1820
1840
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1821
1841
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_0());
|
|
@@ -1826,24 +1846,24 @@
|
|
|
1826
1846
|
var PlayerConnectionState_LEFT_instance;
|
|
1827
1847
|
var PlayerConnectionState_DISCONNECTING_instance;
|
|
1828
1848
|
var PlayerConnectionState_DELETED_instance;
|
|
1829
|
-
function
|
|
1830
|
-
|
|
1849
|
+
function Companion_10() {
|
|
1850
|
+
Companion_instance_10 = this;
|
|
1831
1851
|
var tmp = this;
|
|
1832
1852
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1833
|
-
tmp.
|
|
1853
|
+
tmp.f2n_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1834
1854
|
}
|
|
1835
|
-
protoOf(
|
|
1855
|
+
protoOf(Companion_10).v16 = function () {
|
|
1836
1856
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
1837
1857
|
};
|
|
1838
|
-
protoOf(
|
|
1858
|
+
protoOf(Companion_10).mv = function (typeParamsSerializers) {
|
|
1839
1859
|
return this.v16();
|
|
1840
1860
|
};
|
|
1841
|
-
var
|
|
1842
|
-
function
|
|
1861
|
+
var Companion_instance_10;
|
|
1862
|
+
function Companion_getInstance_12() {
|
|
1843
1863
|
PlayerConnectionState_initEntries();
|
|
1844
|
-
if (
|
|
1845
|
-
new
|
|
1846
|
-
return
|
|
1864
|
+
if (Companion_instance_10 == null)
|
|
1865
|
+
new Companion_10();
|
|
1866
|
+
return Companion_instance_10;
|
|
1847
1867
|
}
|
|
1848
1868
|
function values_0() {
|
|
1849
1869
|
return [PlayerConnectionState_LIVE_getInstance(), PlayerConnectionState_TIMEOUT_getInstance(), PlayerConnectionState_LOST_CONNECTION_getInstance(), PlayerConnectionState_LEFT_getInstance(), PlayerConnectionState_DISCONNECTING_getInstance(), PlayerConnectionState_DELETED_getInstance()];
|
|
@@ -1879,39 +1899,39 @@
|
|
|
1879
1899
|
PlayerConnectionState_LEFT_instance = new PlayerConnectionState('LEFT', 3);
|
|
1880
1900
|
PlayerConnectionState_DISCONNECTING_instance = new PlayerConnectionState('DISCONNECTING', 4);
|
|
1881
1901
|
PlayerConnectionState_DELETED_instance = new PlayerConnectionState('DELETED', 5);
|
|
1882
|
-
|
|
1902
|
+
Companion_getInstance_12();
|
|
1883
1903
|
}
|
|
1884
1904
|
function PlayerConnectionState(name, ordinal) {
|
|
1885
1905
|
Enum.call(this, name, ordinal);
|
|
1886
1906
|
}
|
|
1887
|
-
protoOf(PlayerConnectionState).
|
|
1907
|
+
protoOf(PlayerConnectionState).i2n = function () {
|
|
1888
1908
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1889
1909
|
};
|
|
1890
|
-
protoOf(PlayerConnectionState).
|
|
1910
|
+
protoOf(PlayerConnectionState).j2n = function () {
|
|
1891
1911
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1892
1912
|
};
|
|
1893
|
-
protoOf(PlayerConnectionState).
|
|
1913
|
+
protoOf(PlayerConnectionState).k2n = function () {
|
|
1894
1914
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1895
1915
|
};
|
|
1896
|
-
protoOf(PlayerConnectionState).
|
|
1916
|
+
protoOf(PlayerConnectionState).l2n = function () {
|
|
1897
1917
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1898
1918
|
};
|
|
1899
|
-
protoOf(PlayerConnectionState).
|
|
1919
|
+
protoOf(PlayerConnectionState).m2n = function () {
|
|
1900
1920
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1901
1921
|
};
|
|
1902
|
-
protoOf(PlayerConnectionState).
|
|
1922
|
+
protoOf(PlayerConnectionState).n2n = function () {
|
|
1903
1923
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1904
1924
|
};
|
|
1905
|
-
protoOf(PlayerConnectionState).
|
|
1925
|
+
protoOf(PlayerConnectionState).o2n = function () {
|
|
1906
1926
|
return this.isDisconnected ? true : this.isDeleted;
|
|
1907
1927
|
};
|
|
1908
|
-
protoOf(PlayerConnectionState).
|
|
1928
|
+
protoOf(PlayerConnectionState).p2n = function () {
|
|
1909
1929
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1910
1930
|
};
|
|
1911
|
-
protoOf(PlayerConnectionState).
|
|
1931
|
+
protoOf(PlayerConnectionState).q2n = function () {
|
|
1912
1932
|
return (this.isTimeOut ? true : this.isLeft) ? true : this.isDeleted;
|
|
1913
1933
|
};
|
|
1914
|
-
protoOf(PlayerConnectionState).
|
|
1934
|
+
protoOf(PlayerConnectionState).r2n = function () {
|
|
1915
1935
|
return this.isLostConnection;
|
|
1916
1936
|
};
|
|
1917
1937
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1939,25 +1959,25 @@
|
|
|
1939
1959
|
return PlayerConnectionState_DELETED_instance;
|
|
1940
1960
|
}
|
|
1941
1961
|
function PlayerLuckyFactor(playerId, factor, wasLiveDuringGame, liveDurationPercentage) {
|
|
1942
|
-
this.
|
|
1962
|
+
this.s2n_1 = playerId;
|
|
1943
1963
|
this.factor = factor;
|
|
1944
1964
|
this.wasLiveDuringGame = wasLiveDuringGame;
|
|
1945
1965
|
this.liveDurationPercentage = liveDurationPercentage;
|
|
1946
1966
|
}
|
|
1947
|
-
protoOf(PlayerLuckyFactor).
|
|
1948
|
-
return this.
|
|
1967
|
+
protoOf(PlayerLuckyFactor).z2k = function () {
|
|
1968
|
+
return this.s2n_1;
|
|
1949
1969
|
};
|
|
1950
|
-
protoOf(PlayerLuckyFactor).
|
|
1970
|
+
protoOf(PlayerLuckyFactor).t2n = function () {
|
|
1951
1971
|
return this.factor;
|
|
1952
1972
|
};
|
|
1953
|
-
protoOf(PlayerLuckyFactor).
|
|
1973
|
+
protoOf(PlayerLuckyFactor).u2n = function () {
|
|
1954
1974
|
return this.wasLiveDuringGame;
|
|
1955
1975
|
};
|
|
1956
|
-
protoOf(PlayerLuckyFactor).
|
|
1976
|
+
protoOf(PlayerLuckyFactor).v2n = function () {
|
|
1957
1977
|
return this.liveDurationPercentage;
|
|
1958
1978
|
};
|
|
1959
1979
|
protoOf(PlayerLuckyFactor).cd = function () {
|
|
1960
|
-
return this.
|
|
1980
|
+
return this.s2n_1;
|
|
1961
1981
|
};
|
|
1962
1982
|
protoOf(PlayerLuckyFactor).dd = function () {
|
|
1963
1983
|
return this.factor;
|
|
@@ -1965,24 +1985,24 @@
|
|
|
1965
1985
|
protoOf(PlayerLuckyFactor).qh = function () {
|
|
1966
1986
|
return this.wasLiveDuringGame;
|
|
1967
1987
|
};
|
|
1968
|
-
protoOf(PlayerLuckyFactor).
|
|
1988
|
+
protoOf(PlayerLuckyFactor).s2k = function () {
|
|
1969
1989
|
return this.liveDurationPercentage;
|
|
1970
1990
|
};
|
|
1971
|
-
protoOf(PlayerLuckyFactor).
|
|
1991
|
+
protoOf(PlayerLuckyFactor).w2n = function (playerId, factor, wasLiveDuringGame, liveDurationPercentage) {
|
|
1972
1992
|
return new PlayerLuckyFactor(playerId, factor, wasLiveDuringGame, liveDurationPercentage);
|
|
1973
1993
|
};
|
|
1974
1994
|
protoOf(PlayerLuckyFactor).copy = function (playerId, factor, wasLiveDuringGame, liveDurationPercentage, $super) {
|
|
1975
|
-
playerId = playerId === VOID ? this.
|
|
1995
|
+
playerId = playerId === VOID ? this.s2n_1 : playerId;
|
|
1976
1996
|
factor = factor === VOID ? this.factor : factor;
|
|
1977
1997
|
wasLiveDuringGame = wasLiveDuringGame === VOID ? this.wasLiveDuringGame : wasLiveDuringGame;
|
|
1978
1998
|
liveDurationPercentage = liveDurationPercentage === VOID ? this.liveDurationPercentage : liveDurationPercentage;
|
|
1979
|
-
return this.
|
|
1999
|
+
return this.w2n(playerId, factor, wasLiveDuringGame, liveDurationPercentage);
|
|
1980
2000
|
};
|
|
1981
2001
|
protoOf(PlayerLuckyFactor).toString = function () {
|
|
1982
|
-
return 'PlayerLuckyFactor(playerId=' + this.
|
|
2002
|
+
return 'PlayerLuckyFactor(playerId=' + this.s2n_1 + ', factor=' + this.factor + ', wasLiveDuringGame=' + this.wasLiveDuringGame + ', liveDurationPercentage=' + this.liveDurationPercentage + ')';
|
|
1983
2003
|
};
|
|
1984
2004
|
protoOf(PlayerLuckyFactor).hashCode = function () {
|
|
1985
|
-
var result = getStringHashCode(this.
|
|
2005
|
+
var result = getStringHashCode(this.s2n_1);
|
|
1986
2006
|
result = imul(result, 31) + getNumberHashCode(this.factor) | 0;
|
|
1987
2007
|
result = imul(result, 31) + getBooleanHashCode(this.wasLiveDuringGame) | 0;
|
|
1988
2008
|
result = imul(result, 31) + (this.liveDurationPercentage == null ? 0 : this.liveDurationPercentage) | 0;
|
|
@@ -1994,7 +2014,7 @@
|
|
|
1994
2014
|
if (!(other instanceof PlayerLuckyFactor))
|
|
1995
2015
|
return false;
|
|
1996
2016
|
var tmp0_other_with_cast = other instanceof PlayerLuckyFactor ? other : THROW_CCE();
|
|
1997
|
-
if (!(this.
|
|
2017
|
+
if (!(this.s2n_1 === tmp0_other_with_cast.s2n_1))
|
|
1998
2018
|
return false;
|
|
1999
2019
|
if (!equals(this.factor, tmp0_other_with_cast.factor))
|
|
2000
2020
|
return false;
|
|
@@ -2005,7 +2025,7 @@
|
|
|
2005
2025
|
return true;
|
|
2006
2026
|
};
|
|
2007
2027
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
2008
|
-
return $this.
|
|
2028
|
+
return $this.x2n_1.o2();
|
|
2009
2029
|
}
|
|
2010
2030
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
2011
2031
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_1());
|
|
@@ -2013,24 +2033,24 @@
|
|
|
2013
2033
|
var PlayerWaitingState_IDLE_instance;
|
|
2014
2034
|
var PlayerWaitingState_IN_PROGRESS_instance;
|
|
2015
2035
|
var PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance;
|
|
2016
|
-
function
|
|
2017
|
-
|
|
2036
|
+
function Companion_11() {
|
|
2037
|
+
Companion_instance_11 = this;
|
|
2018
2038
|
var tmp = this;
|
|
2019
2039
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2020
|
-
tmp.
|
|
2040
|
+
tmp.x2n_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
2021
2041
|
}
|
|
2022
|
-
protoOf(
|
|
2042
|
+
protoOf(Companion_11).v16 = function () {
|
|
2023
2043
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
2024
2044
|
};
|
|
2025
|
-
protoOf(
|
|
2045
|
+
protoOf(Companion_11).mv = function (typeParamsSerializers) {
|
|
2026
2046
|
return this.v16();
|
|
2027
2047
|
};
|
|
2028
|
-
var
|
|
2029
|
-
function
|
|
2048
|
+
var Companion_instance_11;
|
|
2049
|
+
function Companion_getInstance_13() {
|
|
2030
2050
|
PlayerWaitingState_initEntries();
|
|
2031
|
-
if (
|
|
2032
|
-
new
|
|
2033
|
-
return
|
|
2051
|
+
if (Companion_instance_11 == null)
|
|
2052
|
+
new Companion_11();
|
|
2053
|
+
return Companion_instance_11;
|
|
2034
2054
|
}
|
|
2035
2055
|
function values_1() {
|
|
2036
2056
|
return [PlayerWaitingState_IDLE_getInstance(), PlayerWaitingState_IN_PROGRESS_getInstance(), PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance()];
|
|
@@ -2043,34 +2063,34 @@
|
|
|
2043
2063
|
PlayerWaitingState_IDLE_instance = new PlayerWaitingState('IDLE', 0);
|
|
2044
2064
|
PlayerWaitingState_IN_PROGRESS_instance = new PlayerWaitingState('IN_PROGRESS', 1);
|
|
2045
2065
|
PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_instance = new PlayerWaitingState('IN_PROGRESS_ATTENTION_MODE', 2);
|
|
2046
|
-
|
|
2066
|
+
Companion_getInstance_13();
|
|
2047
2067
|
}
|
|
2048
2068
|
function PlayerWaitingState(name, ordinal) {
|
|
2049
2069
|
Enum.call(this, name, ordinal);
|
|
2050
2070
|
}
|
|
2051
|
-
protoOf(PlayerWaitingState).
|
|
2071
|
+
protoOf(PlayerWaitingState).a2o = function () {
|
|
2052
2072
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
2053
2073
|
};
|
|
2054
|
-
protoOf(PlayerWaitingState).
|
|
2074
|
+
protoOf(PlayerWaitingState).b2o = function () {
|
|
2055
2075
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
2056
2076
|
};
|
|
2057
|
-
function
|
|
2077
|
+
function Companion_12() {
|
|
2058
2078
|
}
|
|
2059
|
-
protoOf(
|
|
2079
|
+
protoOf(Companion_12).c2o = function (connection) {
|
|
2060
2080
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
2061
2081
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
2062
2082
|
};
|
|
2063
|
-
protoOf(
|
|
2064
|
-
return _this__u8e3s4.
|
|
2083
|
+
protoOf(Companion_12).d2o = function (_this__u8e3s4) {
|
|
2084
|
+
return _this__u8e3s4.e2o(null, null, VOID, PlayerWaitingState_IDLE_getInstance(), VOID, null);
|
|
2065
2085
|
};
|
|
2066
|
-
protoOf(
|
|
2086
|
+
protoOf(Companion_12).f2o = function (_this__u8e3s4, playerTurnTimeout, tag) {
|
|
2067
2087
|
var tmp0_startFromTime = System_instance.s1m();
|
|
2068
2088
|
var tmp1_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
2069
|
-
return _this__u8e3s4.
|
|
2089
|
+
return _this__u8e3s4.e2o(tmp0_startFromTime, playerTurnTimeout, VOID, tmp1_state, false, tag);
|
|
2070
2090
|
};
|
|
2071
|
-
var
|
|
2072
|
-
function
|
|
2073
|
-
return
|
|
2091
|
+
var Companion_instance_12;
|
|
2092
|
+
function Companion_getInstance_14() {
|
|
2093
|
+
return Companion_instance_12;
|
|
2074
2094
|
}
|
|
2075
2095
|
function PlayerWaitingState_IDLE_getInstance() {
|
|
2076
2096
|
PlayerWaitingState_initEntries();
|
|
@@ -2087,17 +2107,17 @@
|
|
|
2087
2107
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
2088
2108
|
tag = tag === VOID ? null : tag;
|
|
2089
2109
|
connection = connection === VOID ? null : connection;
|
|
2090
|
-
this.
|
|
2091
|
-
this.
|
|
2092
|
-
this.
|
|
2093
|
-
this.
|
|
2094
|
-
this.
|
|
2095
|
-
this.
|
|
2096
|
-
this.
|
|
2097
|
-
}
|
|
2098
|
-
protoOf(PlayerState).
|
|
2110
|
+
this.k2m_1 = startFromTime;
|
|
2111
|
+
this.l2m_1 = playerTurnTimeout;
|
|
2112
|
+
this.m2m_1 = waitPlayerUntilTime;
|
|
2113
|
+
this.n2m_1 = state;
|
|
2114
|
+
this.o2m_1 = ready;
|
|
2115
|
+
this.p2m_1 = tag;
|
|
2116
|
+
this.q2m_1 = connection;
|
|
2117
|
+
}
|
|
2118
|
+
protoOf(PlayerState).g2o = function () {
|
|
2099
2119
|
// Inline function 'kotlin.requireNotNull' call
|
|
2100
|
-
var value = this.
|
|
2120
|
+
var value = this.q2m_1;
|
|
2101
2121
|
// Inline function 'kotlin.contracts.contract' call
|
|
2102
2122
|
var tmp$ret$1;
|
|
2103
2123
|
$l$block: {
|
|
@@ -2114,9 +2134,9 @@
|
|
|
2114
2134
|
}
|
|
2115
2135
|
return tmp$ret$1;
|
|
2116
2136
|
};
|
|
2117
|
-
protoOf(PlayerState).
|
|
2137
|
+
protoOf(PlayerState).h2o = function () {
|
|
2118
2138
|
// Inline function 'kotlin.requireNotNull' call
|
|
2119
|
-
var value = this.
|
|
2139
|
+
var value = this.p2m_1;
|
|
2120
2140
|
// Inline function 'kotlin.contracts.contract' call
|
|
2121
2141
|
var tmp$ret$1;
|
|
2122
2142
|
$l$block: {
|
|
@@ -2133,17 +2153,17 @@
|
|
|
2133
2153
|
}
|
|
2134
2154
|
return tmp$ret$1;
|
|
2135
2155
|
};
|
|
2136
|
-
protoOf(PlayerState).
|
|
2137
|
-
var tmp0_elvis_lhs = this.
|
|
2156
|
+
protoOf(PlayerState).i2o = function () {
|
|
2157
|
+
var tmp0_elvis_lhs = this.p2m_1;
|
|
2138
2158
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2139
2159
|
};
|
|
2140
2160
|
protoOf(PlayerState).toString = function () {
|
|
2141
2161
|
// Inline function 'kotlin.takeIf' call
|
|
2142
|
-
var this_0 = 'startFromTime=' + this.
|
|
2162
|
+
var this_0 = 'startFromTime=' + this.k2m_1 + ', ';
|
|
2143
2163
|
// Inline function 'kotlin.contracts.contract' call
|
|
2144
2164
|
var tmp;
|
|
2145
2165
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2146
|
-
if (!(this.
|
|
2166
|
+
if (!(this.k2m_1 == null)) {
|
|
2147
2167
|
tmp = this_0;
|
|
2148
2168
|
} else {
|
|
2149
2169
|
tmp = null;
|
|
@@ -2151,11 +2171,11 @@
|
|
|
2151
2171
|
var tmp5_elvis_lhs = tmp;
|
|
2152
2172
|
var tmp_0 = 'PlayerState(' + (tmp5_elvis_lhs == null ? '' : tmp5_elvis_lhs);
|
|
2153
2173
|
// Inline function 'kotlin.takeIf' call
|
|
2154
|
-
var this_1 = 'playerTurnTimeout=' + this.
|
|
2174
|
+
var this_1 = 'playerTurnTimeout=' + this.l2m_1 + ', ';
|
|
2155
2175
|
// Inline function 'kotlin.contracts.contract' call
|
|
2156
2176
|
var tmp_1;
|
|
2157
2177
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2158
|
-
if (!(this.
|
|
2178
|
+
if (!(this.l2m_1 == null)) {
|
|
2159
2179
|
tmp_1 = this_1;
|
|
2160
2180
|
} else {
|
|
2161
2181
|
tmp_1 = null;
|
|
@@ -2163,23 +2183,23 @@
|
|
|
2163
2183
|
var tmp4_elvis_lhs = tmp_1;
|
|
2164
2184
|
var tmp_2 = tmp_0 + (tmp4_elvis_lhs == null ? '' : tmp4_elvis_lhs);
|
|
2165
2185
|
// Inline function 'kotlin.takeIf' call
|
|
2166
|
-
var this_2 = 'waitPlayerUntilTime=' + this.
|
|
2186
|
+
var this_2 = 'waitPlayerUntilTime=' + this.m2m_1 + ', ';
|
|
2167
2187
|
// Inline function 'kotlin.contracts.contract' call
|
|
2168
2188
|
var tmp_3;
|
|
2169
2189
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2170
|
-
if (!(this.
|
|
2190
|
+
if (!(this.m2m_1 == null)) {
|
|
2171
2191
|
tmp_3 = this_2;
|
|
2172
2192
|
} else {
|
|
2173
2193
|
tmp_3 = null;
|
|
2174
2194
|
}
|
|
2175
2195
|
var tmp3_elvis_lhs = tmp_3;
|
|
2176
|
-
var tmp_4 = tmp_2 + (tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs) + ('state=' + this.
|
|
2196
|
+
var tmp_4 = tmp_2 + (tmp3_elvis_lhs == null ? '' : tmp3_elvis_lhs) + ('state=' + this.n2m_1 + ', ');
|
|
2177
2197
|
// Inline function 'kotlin.takeIf' call
|
|
2178
|
-
var this_3 = 'ready=' + this.
|
|
2198
|
+
var this_3 = 'ready=' + this.o2m_1 + ', ';
|
|
2179
2199
|
// Inline function 'kotlin.contracts.contract' call
|
|
2180
2200
|
var tmp_5;
|
|
2181
2201
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2182
|
-
if (this.
|
|
2202
|
+
if (this.o2m_1) {
|
|
2183
2203
|
tmp_5 = this_3;
|
|
2184
2204
|
} else {
|
|
2185
2205
|
tmp_5 = null;
|
|
@@ -2187,11 +2207,11 @@
|
|
|
2187
2207
|
var tmp2_elvis_lhs = tmp_5;
|
|
2188
2208
|
var tmp_6 = tmp_4 + (tmp2_elvis_lhs == null ? '' : tmp2_elvis_lhs);
|
|
2189
2209
|
// Inline function 'kotlin.takeIf' call
|
|
2190
|
-
var this_4 = 'tag=' + this.
|
|
2210
|
+
var this_4 = 'tag=' + this.p2m_1 + ', ';
|
|
2191
2211
|
// Inline function 'kotlin.contracts.contract' call
|
|
2192
2212
|
var tmp_7;
|
|
2193
2213
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2194
|
-
if (!(this.
|
|
2214
|
+
if (!(this.p2m_1 == null)) {
|
|
2195
2215
|
tmp_7 = this_4;
|
|
2196
2216
|
} else {
|
|
2197
2217
|
tmp_7 = null;
|
|
@@ -2199,11 +2219,11 @@
|
|
|
2199
2219
|
var tmp1_elvis_lhs = tmp_7;
|
|
2200
2220
|
var tmp_8 = tmp_6 + (tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs);
|
|
2201
2221
|
// Inline function 'kotlin.takeIf' call
|
|
2202
|
-
var this_5 = 'connection=' + this.
|
|
2222
|
+
var this_5 = 'connection=' + this.q2m_1;
|
|
2203
2223
|
// Inline function 'kotlin.contracts.contract' call
|
|
2204
2224
|
var tmp_9;
|
|
2205
2225
|
// Inline function 'com.logic.data.models.player.PlayerState.toString.<anonymous>' call
|
|
2206
|
-
if (!(this.
|
|
2226
|
+
if (!(this.q2m_1 == null)) {
|
|
2207
2227
|
tmp_9 = this_5;
|
|
2208
2228
|
} else {
|
|
2209
2229
|
tmp_9 = null;
|
|
@@ -2211,30 +2231,30 @@
|
|
|
2211
2231
|
var tmp0_elvis_lhs = tmp_9;
|
|
2212
2232
|
return tmp_8 + (tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs) + ')';
|
|
2213
2233
|
};
|
|
2214
|
-
protoOf(PlayerState).
|
|
2215
|
-
return this.
|
|
2234
|
+
protoOf(PlayerState).r2m = function () {
|
|
2235
|
+
return this.n2m_1.a2o() ? true : this.n2m_1.b2o();
|
|
2216
2236
|
};
|
|
2217
|
-
protoOf(PlayerState).
|
|
2237
|
+
protoOf(PlayerState).j2o = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
2218
2238
|
return new PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
2219
2239
|
};
|
|
2220
|
-
protoOf(PlayerState).
|
|
2221
|
-
startFromTime = startFromTime === VOID ? this.
|
|
2222
|
-
playerTurnTimeout = playerTurnTimeout === VOID ? this.
|
|
2223
|
-
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.
|
|
2224
|
-
state = state === VOID ? this.
|
|
2225
|
-
ready = ready === VOID ? this.
|
|
2226
|
-
tag = tag === VOID ? this.
|
|
2227
|
-
connection = connection === VOID ? this.
|
|
2228
|
-
return $super === VOID ? this.
|
|
2240
|
+
protoOf(PlayerState).e2o = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, $super) {
|
|
2241
|
+
startFromTime = startFromTime === VOID ? this.k2m_1 : startFromTime;
|
|
2242
|
+
playerTurnTimeout = playerTurnTimeout === VOID ? this.l2m_1 : playerTurnTimeout;
|
|
2243
|
+
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.m2m_1 : waitPlayerUntilTime;
|
|
2244
|
+
state = state === VOID ? this.n2m_1 : state;
|
|
2245
|
+
ready = ready === VOID ? this.o2m_1 : ready;
|
|
2246
|
+
tag = tag === VOID ? this.p2m_1 : tag;
|
|
2247
|
+
connection = connection === VOID ? this.q2m_1 : connection;
|
|
2248
|
+
return $super === VOID ? this.j2o(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) : $super.j2o.call(this, startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
2229
2249
|
};
|
|
2230
2250
|
protoOf(PlayerState).hashCode = function () {
|
|
2231
|
-
var result = this.
|
|
2232
|
-
result = imul(result, 31) + (this.k2m_1 == null ? 0 : this.k2m_1.hashCode()) | 0;
|
|
2251
|
+
var result = this.k2m_1 == null ? 0 : this.k2m_1.hashCode();
|
|
2233
2252
|
result = imul(result, 31) + (this.l2m_1 == null ? 0 : this.l2m_1.hashCode()) | 0;
|
|
2234
|
-
result = imul(result, 31) + this.m2m_1.hashCode() | 0;
|
|
2235
|
-
result = imul(result, 31) +
|
|
2236
|
-
result = imul(result, 31) + (this.o2m_1
|
|
2237
|
-
result = imul(result, 31) + (this.p2m_1 == null ? 0 : this.p2m_1
|
|
2253
|
+
result = imul(result, 31) + (this.m2m_1 == null ? 0 : this.m2m_1.hashCode()) | 0;
|
|
2254
|
+
result = imul(result, 31) + this.n2m_1.hashCode() | 0;
|
|
2255
|
+
result = imul(result, 31) + getBooleanHashCode(this.o2m_1) | 0;
|
|
2256
|
+
result = imul(result, 31) + (this.p2m_1 == null ? 0 : getStringHashCode(this.p2m_1)) | 0;
|
|
2257
|
+
result = imul(result, 31) + (this.q2m_1 == null ? 0 : this.q2m_1.hashCode()) | 0;
|
|
2238
2258
|
return result;
|
|
2239
2259
|
};
|
|
2240
2260
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -2243,30 +2263,30 @@
|
|
|
2243
2263
|
if (!(other instanceof PlayerState))
|
|
2244
2264
|
return false;
|
|
2245
2265
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
2246
|
-
if (!equals(this.j2m_1, tmp0_other_with_cast.j2m_1))
|
|
2247
|
-
return false;
|
|
2248
2266
|
if (!equals(this.k2m_1, tmp0_other_with_cast.k2m_1))
|
|
2249
2267
|
return false;
|
|
2250
2268
|
if (!equals(this.l2m_1, tmp0_other_with_cast.l2m_1))
|
|
2251
2269
|
return false;
|
|
2252
|
-
if (!this.m2m_1
|
|
2270
|
+
if (!equals(this.m2m_1, tmp0_other_with_cast.m2m_1))
|
|
2271
|
+
return false;
|
|
2272
|
+
if (!this.n2m_1.equals(tmp0_other_with_cast.n2m_1))
|
|
2253
2273
|
return false;
|
|
2254
|
-
if (!(this.
|
|
2274
|
+
if (!(this.o2m_1 === tmp0_other_with_cast.o2m_1))
|
|
2255
2275
|
return false;
|
|
2256
|
-
if (!(this.
|
|
2276
|
+
if (!(this.p2m_1 == tmp0_other_with_cast.p2m_1))
|
|
2257
2277
|
return false;
|
|
2258
|
-
if (!equals(this.
|
|
2278
|
+
if (!equals(this.q2m_1, tmp0_other_with_cast.q2m_1))
|
|
2259
2279
|
return false;
|
|
2260
2280
|
return true;
|
|
2261
2281
|
};
|
|
2262
2282
|
function Team(playerIds) {
|
|
2263
|
-
this.
|
|
2283
|
+
this.k2o_1 = playerIds;
|
|
2264
2284
|
}
|
|
2265
2285
|
protoOf(Team).toString = function () {
|
|
2266
|
-
return 'Team(playerIds=' + this.
|
|
2286
|
+
return 'Team(playerIds=' + this.k2o_1 + ')';
|
|
2267
2287
|
};
|
|
2268
2288
|
protoOf(Team).hashCode = function () {
|
|
2269
|
-
return hashCode(this.
|
|
2289
|
+
return hashCode(this.k2o_1);
|
|
2270
2290
|
};
|
|
2271
2291
|
protoOf(Team).equals = function (other) {
|
|
2272
2292
|
if (this === other)
|
|
@@ -2274,33 +2294,33 @@
|
|
|
2274
2294
|
if (!(other instanceof Team))
|
|
2275
2295
|
return false;
|
|
2276
2296
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
2277
|
-
if (!equals(this.
|
|
2297
|
+
if (!equals(this.k2o_1, tmp0_other_with_cast.k2o_1))
|
|
2278
2298
|
return false;
|
|
2279
2299
|
return true;
|
|
2280
2300
|
};
|
|
2281
|
-
function
|
|
2301
|
+
function Companion_13() {
|
|
2282
2302
|
}
|
|
2283
|
-
protoOf(
|
|
2303
|
+
protoOf(Companion_13).kharkiv = function () {
|
|
2284
2304
|
return new Rules(true, true, true, false, false, true, true, true, false, false, false, true, 50, true, false, true, false);
|
|
2285
2305
|
};
|
|
2286
|
-
protoOf(
|
|
2306
|
+
protoOf(Companion_13).saltivka = function () {
|
|
2287
2307
|
return new Rules(true, true, true, false, false, true, false, false, false, false, false, true, 50, true, false, false, false);
|
|
2288
2308
|
};
|
|
2289
|
-
protoOf(
|
|
2309
|
+
protoOf(Companion_13).klabor = function () {
|
|
2290
2310
|
return new Rules(true, false, true, false, true, true, false, true, false, false, true, true, 100, true, true, false, false);
|
|
2291
2311
|
};
|
|
2292
|
-
protoOf(
|
|
2312
|
+
protoOf(Companion_13).debertzCommon = function () {
|
|
2293
2313
|
return new Rules(true, false, false, false, true, true, true, false, false, true, false, false, 0, false, true, false, false);
|
|
2294
2314
|
};
|
|
2295
|
-
protoOf(
|
|
2315
|
+
protoOf(Companion_13).belot = function () {
|
|
2296
2316
|
return new Rules(true, true, false, false, true, true, true, false, true, true, false, false, 50, false, true, false, false);
|
|
2297
2317
|
};
|
|
2298
|
-
protoOf(
|
|
2318
|
+
protoOf(Companion_13).custom = function () {
|
|
2299
2319
|
return new Rules(false, false, false, false, true, true, true, false, false, false, false, false, 50, false, false, false, false);
|
|
2300
2320
|
};
|
|
2301
|
-
var
|
|
2302
|
-
function
|
|
2303
|
-
return
|
|
2321
|
+
var Companion_instance_13;
|
|
2322
|
+
function Companion_getInstance_15() {
|
|
2323
|
+
return Companion_instance_13;
|
|
2304
2324
|
}
|
|
2305
2325
|
function Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2306
2326
|
this.needToPutHigherTrump = needToPutHigherTrump;
|
|
@@ -2321,55 +2341,55 @@
|
|
|
2321
2341
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
2322
2342
|
this.tenCardsInHand = tenCardsInHand;
|
|
2323
2343
|
}
|
|
2324
|
-
protoOf(Rules).k2o = function () {
|
|
2325
|
-
return this.needToPutHigherTrump;
|
|
2326
|
-
};
|
|
2327
2344
|
protoOf(Rules).l2o = function () {
|
|
2328
|
-
return this.
|
|
2345
|
+
return this.needToPutHigherTrump;
|
|
2329
2346
|
};
|
|
2330
2347
|
protoOf(Rules).m2o = function () {
|
|
2331
|
-
return this.
|
|
2348
|
+
return this.distributePoints;
|
|
2332
2349
|
};
|
|
2333
2350
|
protoOf(Rules).n2o = function () {
|
|
2334
|
-
return this.
|
|
2351
|
+
return this.protectBella;
|
|
2335
2352
|
};
|
|
2336
2353
|
protoOf(Rules).o2o = function () {
|
|
2337
|
-
return this.
|
|
2354
|
+
return this.oneTryToProtectBella;
|
|
2338
2355
|
};
|
|
2339
2356
|
protoOf(Rules).p2o = function () {
|
|
2340
|
-
return this.
|
|
2357
|
+
return this.enableFourSevensCombination;
|
|
2341
2358
|
};
|
|
2342
2359
|
protoOf(Rules).q2o = function () {
|
|
2343
|
-
return this.
|
|
2360
|
+
return this.enableTrumpSevenCombination;
|
|
2344
2361
|
};
|
|
2345
2362
|
protoOf(Rules).r2o = function () {
|
|
2346
|
-
return this.
|
|
2363
|
+
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2347
2364
|
};
|
|
2348
2365
|
protoOf(Rules).s2o = function () {
|
|
2349
|
-
return this.
|
|
2366
|
+
return this.playerWhoChooseSuitGoFirst;
|
|
2350
2367
|
};
|
|
2351
2368
|
protoOf(Rules).t2o = function () {
|
|
2352
|
-
return this.
|
|
2369
|
+
return this.winnerShuffleCards;
|
|
2353
2370
|
};
|
|
2354
2371
|
protoOf(Rules).u2o = function () {
|
|
2355
|
-
return this.
|
|
2372
|
+
return this.playWithoutLiabilities;
|
|
2356
2373
|
};
|
|
2357
2374
|
protoOf(Rules).v2o = function () {
|
|
2358
|
-
return this.
|
|
2375
|
+
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2359
2376
|
};
|
|
2360
2377
|
protoOf(Rules).w2o = function () {
|
|
2361
|
-
return this.
|
|
2378
|
+
return this.enableFineIfNoBribes;
|
|
2362
2379
|
};
|
|
2363
2380
|
protoOf(Rules).x2o = function () {
|
|
2364
|
-
return this.
|
|
2381
|
+
return this.fineIfNoBribes;
|
|
2365
2382
|
};
|
|
2366
2383
|
protoOf(Rules).y2o = function () {
|
|
2367
|
-
return this.
|
|
2384
|
+
return this.enableFineAfterThirdByte;
|
|
2368
2385
|
};
|
|
2369
2386
|
protoOf(Rules).z2o = function () {
|
|
2370
|
-
return this.
|
|
2387
|
+
return this.checkTrumpCombination;
|
|
2371
2388
|
};
|
|
2372
2389
|
protoOf(Rules).a2p = function () {
|
|
2390
|
+
return this.checkOnlyTrumpDebertz;
|
|
2391
|
+
};
|
|
2392
|
+
protoOf(Rules).b2p = function () {
|
|
2373
2393
|
return this.tenCardsInHand;
|
|
2374
2394
|
};
|
|
2375
2395
|
protoOf(Rules).toString = function () {
|
|
@@ -2575,49 +2595,49 @@
|
|
|
2575
2595
|
protoOf(Rules).qh = function () {
|
|
2576
2596
|
return this.protectBella;
|
|
2577
2597
|
};
|
|
2578
|
-
protoOf(Rules).
|
|
2598
|
+
protoOf(Rules).s2k = function () {
|
|
2579
2599
|
return this.oneTryToProtectBella;
|
|
2580
2600
|
};
|
|
2581
|
-
protoOf(Rules).
|
|
2601
|
+
protoOf(Rules).b2m = function () {
|
|
2582
2602
|
return this.enableFourSevensCombination;
|
|
2583
2603
|
};
|
|
2584
|
-
protoOf(Rules).
|
|
2604
|
+
protoOf(Rules).c2m = function () {
|
|
2585
2605
|
return this.enableTrumpSevenCombination;
|
|
2586
2606
|
};
|
|
2587
|
-
protoOf(Rules).
|
|
2607
|
+
protoOf(Rules).c2p = function () {
|
|
2588
2608
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2589
2609
|
};
|
|
2590
|
-
protoOf(Rules).
|
|
2610
|
+
protoOf(Rules).d2p = function () {
|
|
2591
2611
|
return this.playerWhoChooseSuitGoFirst;
|
|
2592
2612
|
};
|
|
2593
|
-
protoOf(Rules).
|
|
2613
|
+
protoOf(Rules).e2p = function () {
|
|
2594
2614
|
return this.winnerShuffleCards;
|
|
2595
2615
|
};
|
|
2596
|
-
protoOf(Rules).
|
|
2616
|
+
protoOf(Rules).f2p = function () {
|
|
2597
2617
|
return this.playWithoutLiabilities;
|
|
2598
2618
|
};
|
|
2599
|
-
protoOf(Rules).
|
|
2619
|
+
protoOf(Rules).g2p = function () {
|
|
2600
2620
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2601
2621
|
};
|
|
2602
|
-
protoOf(Rules).
|
|
2622
|
+
protoOf(Rules).h2p = function () {
|
|
2603
2623
|
return this.enableFineIfNoBribes;
|
|
2604
2624
|
};
|
|
2605
|
-
protoOf(Rules).
|
|
2625
|
+
protoOf(Rules).i2p = function () {
|
|
2606
2626
|
return this.fineIfNoBribes;
|
|
2607
2627
|
};
|
|
2608
|
-
protoOf(Rules).
|
|
2628
|
+
protoOf(Rules).j2p = function () {
|
|
2609
2629
|
return this.enableFineAfterThirdByte;
|
|
2610
2630
|
};
|
|
2611
|
-
protoOf(Rules).
|
|
2631
|
+
protoOf(Rules).k2p = function () {
|
|
2612
2632
|
return this.checkTrumpCombination;
|
|
2613
2633
|
};
|
|
2614
|
-
protoOf(Rules).
|
|
2634
|
+
protoOf(Rules).l2p = function () {
|
|
2615
2635
|
return this.checkOnlyTrumpDebertz;
|
|
2616
2636
|
};
|
|
2617
|
-
protoOf(Rules).
|
|
2637
|
+
protoOf(Rules).m2p = function () {
|
|
2618
2638
|
return this.tenCardsInHand;
|
|
2619
2639
|
};
|
|
2620
|
-
protoOf(Rules).
|
|
2640
|
+
protoOf(Rules).n2p = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2621
2641
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2622
2642
|
};
|
|
2623
2643
|
protoOf(Rules).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -2638,7 +2658,7 @@
|
|
|
2638
2658
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
2639
2659
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
2640
2660
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
2641
|
-
return this.
|
|
2661
|
+
return this.n2p(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2642
2662
|
};
|
|
2643
2663
|
protoOf(Rules).hashCode = function () {
|
|
2644
2664
|
var result = getBooleanHashCode(this.needToPutHigherTrump);
|
|
@@ -2754,19 +2774,19 @@
|
|
|
2754
2774
|
var tmp;
|
|
2755
2775
|
switch (this.g8_1) {
|
|
2756
2776
|
case 0:
|
|
2757
|
-
tmp =
|
|
2777
|
+
tmp = Companion_instance_13.belot();
|
|
2758
2778
|
break;
|
|
2759
2779
|
case 1:
|
|
2760
|
-
tmp =
|
|
2780
|
+
tmp = Companion_instance_13.kharkiv();
|
|
2761
2781
|
break;
|
|
2762
2782
|
case 2:
|
|
2763
|
-
tmp =
|
|
2783
|
+
tmp = Companion_instance_13.debertzCommon();
|
|
2764
2784
|
break;
|
|
2765
2785
|
case 3:
|
|
2766
|
-
tmp =
|
|
2786
|
+
tmp = Companion_instance_13.kharkiv();
|
|
2767
2787
|
break;
|
|
2768
2788
|
case 4:
|
|
2769
|
-
tmp =
|
|
2789
|
+
tmp = Companion_instance_13.saltivka();
|
|
2770
2790
|
break;
|
|
2771
2791
|
case 5:
|
|
2772
2792
|
throw new MechanicException("RulesSetTyp.getRules: Can't support this rules");
|
|
@@ -2776,7 +2796,7 @@
|
|
|
2776
2796
|
}
|
|
2777
2797
|
return tmp;
|
|
2778
2798
|
};
|
|
2779
|
-
protoOf(RulesSetType).
|
|
2799
|
+
protoOf(RulesSetType).q2p = function () {
|
|
2780
2800
|
return this.equals(RulesSetType_custom_getInstance());
|
|
2781
2801
|
};
|
|
2782
2802
|
function RulesSetType_belot_getInstance() {
|
|
@@ -2804,7 +2824,7 @@
|
|
|
2804
2824
|
return RulesSetType_custom_instance;
|
|
2805
2825
|
}
|
|
2806
2826
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2807
|
-
return $this.
|
|
2827
|
+
return $this.r2p_1.o2();
|
|
2808
2828
|
}
|
|
2809
2829
|
function BufferedActionDto$Companion$_anonymous__7htcgr() {
|
|
2810
2830
|
var tmp = getKClass(BufferedActionDto);
|
|
@@ -2814,32 +2834,32 @@
|
|
|
2814
2834
|
var tmp$ret$2 = [];
|
|
2815
2835
|
return PolymorphicSerializer_init_$Create$(tmp, tmp$ret$2);
|
|
2816
2836
|
}
|
|
2817
|
-
function
|
|
2818
|
-
|
|
2837
|
+
function Companion_14() {
|
|
2838
|
+
Companion_instance_14 = this;
|
|
2819
2839
|
var tmp = this;
|
|
2820
2840
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2821
|
-
tmp.
|
|
2841
|
+
tmp.r2p_1 = lazy(tmp_0, BufferedActionDto$Companion$_anonymous__7htcgr);
|
|
2822
2842
|
}
|
|
2823
|
-
protoOf(
|
|
2843
|
+
protoOf(Companion_14).v16 = function () {
|
|
2824
2844
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
2825
2845
|
};
|
|
2826
|
-
protoOf(
|
|
2846
|
+
protoOf(Companion_14).mv = function (typeParamsSerializers) {
|
|
2827
2847
|
return this.v16();
|
|
2828
2848
|
};
|
|
2829
|
-
var
|
|
2830
|
-
function
|
|
2831
|
-
if (
|
|
2832
|
-
new
|
|
2833
|
-
return
|
|
2849
|
+
var Companion_instance_14;
|
|
2850
|
+
function Companion_getInstance_16() {
|
|
2851
|
+
if (Companion_instance_14 == null)
|
|
2852
|
+
new Companion_14();
|
|
2853
|
+
return Companion_instance_14;
|
|
2834
2854
|
}
|
|
2835
2855
|
function BufferedActionDto_init_$Init$(seen1, serializationConstructorMarker, $this) {
|
|
2836
2856
|
return $this;
|
|
2837
2857
|
}
|
|
2838
2858
|
function BufferedActionDto() {
|
|
2839
|
-
|
|
2859
|
+
Companion_getInstance_16();
|
|
2840
2860
|
}
|
|
2841
2861
|
function mapToDto(_this__u8e3s4) {
|
|
2842
|
-
return _this__u8e3s4.
|
|
2862
|
+
return _this__u8e3s4.t2p_1;
|
|
2843
2863
|
}
|
|
2844
2864
|
function mapFromDto(_this__u8e3s4) {
|
|
2845
2865
|
return new GameCard(_this__u8e3s4);
|
|
@@ -3058,17 +3078,17 @@
|
|
|
3058
3078
|
tmp = null;
|
|
3059
3079
|
}
|
|
3060
3080
|
var tmp$ret$1 = tmp;
|
|
3061
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
3081
|
+
return new GameUserInfoDto(_this__u8e3s4.w2l_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1, _this__u8e3s4.initialLuckyFactor);
|
|
3062
3082
|
}
|
|
3063
3083
|
function mapFromDto_1(_this__u8e3s4) {
|
|
3064
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
3065
|
-
return new GameUserInfo(_this__u8e3s4.
|
|
3084
|
+
var tmp0_elvis_lhs = _this__u8e3s4.x2p_1;
|
|
3085
|
+
return new GameUserInfo(_this__u8e3s4.u2p_1, _this__u8e3s4.v2p_1, _this__u8e3s4.w2p_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.y2p_1);
|
|
3066
3086
|
}
|
|
3067
|
-
function
|
|
3087
|
+
function Companion_15() {
|
|
3068
3088
|
}
|
|
3069
|
-
var
|
|
3070
|
-
function
|
|
3071
|
-
return
|
|
3089
|
+
var Companion_instance_15;
|
|
3090
|
+
function Companion_getInstance_17() {
|
|
3091
|
+
return Companion_instance_15;
|
|
3072
3092
|
}
|
|
3073
3093
|
function $serializer_5() {
|
|
3074
3094
|
$serializer_instance_5 = this;
|
|
@@ -3078,10 +3098,10 @@
|
|
|
3078
3098
|
tmp0_serialDesc.mu('avatarUrl', true);
|
|
3079
3099
|
tmp0_serialDesc.mu('isBot', true);
|
|
3080
3100
|
tmp0_serialDesc.mu('initialLuckyFactor', true);
|
|
3081
|
-
this.
|
|
3101
|
+
this.z2p_1 = tmp0_serialDesc;
|
|
3082
3102
|
}
|
|
3083
3103
|
protoOf($serializer_5).pj = function () {
|
|
3084
|
-
return this.
|
|
3104
|
+
return this.z2p_1;
|
|
3085
3105
|
};
|
|
3086
3106
|
protoOf($serializer_5).bv = function () {
|
|
3087
3107
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3090,7 +3110,7 @@
|
|
|
3090
3110
|
return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(FloatSerializer_getInstance())];
|
|
3091
3111
|
};
|
|
3092
3112
|
protoOf($serializer_5).rj = function (decoder) {
|
|
3093
|
-
var tmp0_desc = this.
|
|
3113
|
+
var tmp0_desc = this.z2p_1;
|
|
3094
3114
|
var tmp1_flag = true;
|
|
3095
3115
|
var tmp2_index = 0;
|
|
3096
3116
|
var tmp3_bitMask0 = 0;
|
|
@@ -3145,24 +3165,24 @@
|
|
|
3145
3165
|
tmp9_input.ym(tmp0_desc);
|
|
3146
3166
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
3147
3167
|
};
|
|
3148
|
-
protoOf($serializer_5).
|
|
3149
|
-
var tmp0_desc = this.
|
|
3168
|
+
protoOf($serializer_5).a2q = function (encoder, value) {
|
|
3169
|
+
var tmp0_desc = this.z2p_1;
|
|
3150
3170
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
3151
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
3152
|
-
tmp1_output.mo(tmp0_desc, 1, value.
|
|
3153
|
-
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.
|
|
3154
|
-
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3171
|
+
tmp1_output.mo(tmp0_desc, 0, value.u2p_1);
|
|
3172
|
+
tmp1_output.mo(tmp0_desc, 1, value.v2p_1);
|
|
3173
|
+
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.w2p_1 == null)) {
|
|
3174
|
+
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.w2p_1);
|
|
3155
3175
|
}
|
|
3156
|
-
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.
|
|
3157
|
-
tmp1_output.qo(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
3176
|
+
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.x2p_1 == null)) {
|
|
3177
|
+
tmp1_output.qo(tmp0_desc, 3, BooleanSerializer_getInstance(), value.x2p_1);
|
|
3158
3178
|
}
|
|
3159
|
-
if (tmp1_output.uo(tmp0_desc, 4) ? true : !(value.
|
|
3160
|
-
tmp1_output.qo(tmp0_desc, 4, FloatSerializer_getInstance(), value.
|
|
3179
|
+
if (tmp1_output.uo(tmp0_desc, 4) ? true : !(value.y2p_1 == null)) {
|
|
3180
|
+
tmp1_output.qo(tmp0_desc, 4, FloatSerializer_getInstance(), value.y2p_1);
|
|
3161
3181
|
}
|
|
3162
3182
|
tmp1_output.ym(tmp0_desc);
|
|
3163
3183
|
};
|
|
3164
3184
|
protoOf($serializer_5).qj = function (encoder, value) {
|
|
3165
|
-
return this.
|
|
3185
|
+
return this.a2q(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
3166
3186
|
};
|
|
3167
3187
|
var $serializer_instance_5;
|
|
3168
3188
|
function $serializer_getInstance_5() {
|
|
@@ -3172,22 +3192,22 @@
|
|
|
3172
3192
|
}
|
|
3173
3193
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
3174
3194
|
if (!(3 === (3 & seen1))) {
|
|
3175
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().
|
|
3195
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().z2p_1);
|
|
3176
3196
|
}
|
|
3177
|
-
$this.
|
|
3178
|
-
$this.
|
|
3197
|
+
$this.u2p_1 = playerId;
|
|
3198
|
+
$this.v2p_1 = name;
|
|
3179
3199
|
if (0 === (seen1 & 4))
|
|
3180
|
-
$this.
|
|
3200
|
+
$this.w2p_1 = null;
|
|
3181
3201
|
else
|
|
3182
|
-
$this.
|
|
3202
|
+
$this.w2p_1 = avatarUrl;
|
|
3183
3203
|
if (0 === (seen1 & 8))
|
|
3184
|
-
$this.
|
|
3204
|
+
$this.x2p_1 = null;
|
|
3185
3205
|
else
|
|
3186
|
-
$this.
|
|
3206
|
+
$this.x2p_1 = isBot;
|
|
3187
3207
|
if (0 === (seen1 & 16))
|
|
3188
|
-
$this.
|
|
3208
|
+
$this.y2p_1 = null;
|
|
3189
3209
|
else
|
|
3190
|
-
$this.
|
|
3210
|
+
$this.y2p_1 = initialLuckyFactor;
|
|
3191
3211
|
return $this;
|
|
3192
3212
|
}
|
|
3193
3213
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -3197,35 +3217,35 @@
|
|
|
3197
3217
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
3198
3218
|
isBot = isBot === VOID ? null : isBot;
|
|
3199
3219
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
3200
|
-
this.
|
|
3201
|
-
this.
|
|
3202
|
-
this.
|
|
3203
|
-
this.
|
|
3204
|
-
this.
|
|
3220
|
+
this.u2p_1 = playerId;
|
|
3221
|
+
this.v2p_1 = name;
|
|
3222
|
+
this.w2p_1 = avatarUrl;
|
|
3223
|
+
this.x2p_1 = isBot;
|
|
3224
|
+
this.y2p_1 = initialLuckyFactor;
|
|
3205
3225
|
}
|
|
3206
|
-
protoOf(GameUserInfoDto).
|
|
3207
|
-
return this.
|
|
3226
|
+
protoOf(GameUserInfoDto).b2q = function () {
|
|
3227
|
+
return this.c2q(VOID, VOID, VOID, null, null);
|
|
3208
3228
|
};
|
|
3209
|
-
protoOf(GameUserInfoDto).
|
|
3229
|
+
protoOf(GameUserInfoDto).d2q = function (playerId, name, avatarUrl, isBot, initialLuckyFactor) {
|
|
3210
3230
|
return new GameUserInfoDto(playerId, name, avatarUrl, isBot, initialLuckyFactor);
|
|
3211
3231
|
};
|
|
3212
|
-
protoOf(GameUserInfoDto).
|
|
3213
|
-
playerId = playerId === VOID ? this.
|
|
3214
|
-
name = name === VOID ? this.
|
|
3215
|
-
avatarUrl = avatarUrl === VOID ? this.
|
|
3216
|
-
isBot = isBot === VOID ? this.
|
|
3217
|
-
initialLuckyFactor = initialLuckyFactor === VOID ? this.
|
|
3218
|
-
return $super === VOID ? this.
|
|
3232
|
+
protoOf(GameUserInfoDto).c2q = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, $super) {
|
|
3233
|
+
playerId = playerId === VOID ? this.u2p_1 : playerId;
|
|
3234
|
+
name = name === VOID ? this.v2p_1 : name;
|
|
3235
|
+
avatarUrl = avatarUrl === VOID ? this.w2p_1 : avatarUrl;
|
|
3236
|
+
isBot = isBot === VOID ? this.x2p_1 : isBot;
|
|
3237
|
+
initialLuckyFactor = initialLuckyFactor === VOID ? this.y2p_1 : initialLuckyFactor;
|
|
3238
|
+
return $super === VOID ? this.d2q(playerId, name, avatarUrl, isBot, initialLuckyFactor) : $super.d2q.call(this, playerId, name, avatarUrl, isBot, initialLuckyFactor);
|
|
3219
3239
|
};
|
|
3220
3240
|
protoOf(GameUserInfoDto).toString = function () {
|
|
3221
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
3241
|
+
return 'GameUserInfoDto(playerId=' + this.u2p_1 + ', name=' + this.v2p_1 + ', avatarUrl=' + this.w2p_1 + ', isBot=' + this.x2p_1 + ', initialLuckyFactor=' + this.y2p_1 + ')';
|
|
3222
3242
|
};
|
|
3223
3243
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
3224
|
-
var result = getStringHashCode(this.
|
|
3225
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
3226
|
-
result = imul(result, 31) + (this.
|
|
3227
|
-
result = imul(result, 31) + (this.
|
|
3228
|
-
result = imul(result, 31) + (this.
|
|
3244
|
+
var result = getStringHashCode(this.u2p_1);
|
|
3245
|
+
result = imul(result, 31) + getStringHashCode(this.v2p_1) | 0;
|
|
3246
|
+
result = imul(result, 31) + (this.w2p_1 == null ? 0 : getStringHashCode(this.w2p_1)) | 0;
|
|
3247
|
+
result = imul(result, 31) + (this.x2p_1 == null ? 0 : getBooleanHashCode(this.x2p_1)) | 0;
|
|
3248
|
+
result = imul(result, 31) + (this.y2p_1 == null ? 0 : getNumberHashCode(this.y2p_1)) | 0;
|
|
3229
3249
|
return result;
|
|
3230
3250
|
};
|
|
3231
3251
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -3234,31 +3254,31 @@
|
|
|
3234
3254
|
if (!(other instanceof GameUserInfoDto))
|
|
3235
3255
|
return false;
|
|
3236
3256
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
3237
|
-
if (!(this.t2p_1 === tmp0_other_with_cast.t2p_1))
|
|
3238
|
-
return false;
|
|
3239
3257
|
if (!(this.u2p_1 === tmp0_other_with_cast.u2p_1))
|
|
3240
3258
|
return false;
|
|
3241
|
-
if (!(this.v2p_1
|
|
3259
|
+
if (!(this.v2p_1 === tmp0_other_with_cast.v2p_1))
|
|
3242
3260
|
return false;
|
|
3243
3261
|
if (!(this.w2p_1 == tmp0_other_with_cast.w2p_1))
|
|
3244
3262
|
return false;
|
|
3245
|
-
if (!
|
|
3263
|
+
if (!(this.x2p_1 == tmp0_other_with_cast.x2p_1))
|
|
3264
|
+
return false;
|
|
3265
|
+
if (!equals(this.y2p_1, tmp0_other_with_cast.y2p_1))
|
|
3246
3266
|
return false;
|
|
3247
3267
|
return true;
|
|
3248
3268
|
};
|
|
3249
|
-
function
|
|
3250
|
-
|
|
3269
|
+
function Companion_16() {
|
|
3270
|
+
Companion_instance_16 = this;
|
|
3251
3271
|
var tmp = this;
|
|
3252
3272
|
// Inline function 'kotlin.arrayOf' call
|
|
3253
3273
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3254
3274
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3255
|
-
tmp.
|
|
3275
|
+
tmp.e2q_1 = [Companion_getInstance_12().v16(), null, null];
|
|
3256
3276
|
}
|
|
3257
|
-
var
|
|
3258
|
-
function
|
|
3259
|
-
if (
|
|
3260
|
-
new
|
|
3261
|
-
return
|
|
3277
|
+
var Companion_instance_16;
|
|
3278
|
+
function Companion_getInstance_18() {
|
|
3279
|
+
if (Companion_instance_16 == null)
|
|
3280
|
+
new Companion_16();
|
|
3281
|
+
return Companion_instance_16;
|
|
3262
3282
|
}
|
|
3263
3283
|
function $serializer_6() {
|
|
3264
3284
|
$serializer_instance_6 = this;
|
|
@@ -3266,19 +3286,19 @@
|
|
|
3266
3286
|
tmp0_serialDesc.mu('state', false);
|
|
3267
3287
|
tmp0_serialDesc.mu('connectionChangedTime', false);
|
|
3268
3288
|
tmp0_serialDesc.mu('notLiveDurationRecord', false);
|
|
3269
|
-
this.
|
|
3289
|
+
this.f2q_1 = tmp0_serialDesc;
|
|
3270
3290
|
}
|
|
3271
3291
|
protoOf($serializer_6).pj = function () {
|
|
3272
|
-
return this.
|
|
3292
|
+
return this.f2q_1;
|
|
3273
3293
|
};
|
|
3274
3294
|
protoOf($serializer_6).bv = function () {
|
|
3275
3295
|
// Inline function 'kotlin.arrayOf' call
|
|
3276
3296
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3277
3297
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3278
|
-
return [
|
|
3298
|
+
return [Companion_getInstance_18().e2q_1[0], StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
3279
3299
|
};
|
|
3280
3300
|
protoOf($serializer_6).rj = function (decoder) {
|
|
3281
|
-
var tmp0_desc = this.
|
|
3301
|
+
var tmp0_desc = this.f2q_1;
|
|
3282
3302
|
var tmp1_flag = true;
|
|
3283
3303
|
var tmp2_index = 0;
|
|
3284
3304
|
var tmp3_bitMask0 = 0;
|
|
@@ -3286,7 +3306,7 @@
|
|
|
3286
3306
|
var tmp5_local1 = null;
|
|
3287
3307
|
var tmp6_local2 = null;
|
|
3288
3308
|
var tmp7_input = decoder.xm(tmp0_desc);
|
|
3289
|
-
var tmp8_cached =
|
|
3309
|
+
var tmp8_cached = Companion_getInstance_18().e2q_1;
|
|
3290
3310
|
if (tmp7_input.nn()) {
|
|
3291
3311
|
tmp4_local0 = tmp7_input.jn(tmp0_desc, 0, tmp8_cached[0], tmp4_local0);
|
|
3292
3312
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3320,17 +3340,17 @@
|
|
|
3320
3340
|
tmp7_input.ym(tmp0_desc);
|
|
3321
3341
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
3322
3342
|
};
|
|
3323
|
-
protoOf($serializer_6).
|
|
3324
|
-
var tmp0_desc = this.
|
|
3343
|
+
protoOf($serializer_6).g2q = function (encoder, value) {
|
|
3344
|
+
var tmp0_desc = this.f2q_1;
|
|
3325
3345
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
3326
|
-
var tmp2_cached =
|
|
3327
|
-
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.
|
|
3328
|
-
tmp1_output.mo(tmp0_desc, 1, value.
|
|
3329
|
-
tmp1_output.mo(tmp0_desc, 2, value.
|
|
3346
|
+
var tmp2_cached = Companion_getInstance_18().e2q_1;
|
|
3347
|
+
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.h2q_1);
|
|
3348
|
+
tmp1_output.mo(tmp0_desc, 1, value.i2q_1);
|
|
3349
|
+
tmp1_output.mo(tmp0_desc, 2, value.j2q_1);
|
|
3330
3350
|
tmp1_output.ym(tmp0_desc);
|
|
3331
3351
|
};
|
|
3332
3352
|
protoOf($serializer_6).qj = function (encoder, value) {
|
|
3333
|
-
return this.
|
|
3353
|
+
return this.g2q(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
3334
3354
|
};
|
|
3335
3355
|
var $serializer_instance_6;
|
|
3336
3356
|
function $serializer_getInstance_6() {
|
|
@@ -3340,11 +3360,11 @@
|
|
|
3340
3360
|
}
|
|
3341
3361
|
function PlayerConnectionDto_init_$Init$(seen1, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
3342
3362
|
if (!(7 === (7 & seen1))) {
|
|
3343
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().
|
|
3363
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().f2q_1);
|
|
3344
3364
|
}
|
|
3345
|
-
$this.
|
|
3346
|
-
$this.
|
|
3347
|
-
$this.
|
|
3365
|
+
$this.h2q_1 = state;
|
|
3366
|
+
$this.i2q_1 = connectionChangedTime;
|
|
3367
|
+
$this.j2q_1 = notLiveDurationRecord;
|
|
3348
3368
|
return $this;
|
|
3349
3369
|
}
|
|
3350
3370
|
function PlayerConnectionDto_init_$Create$(seen1, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
@@ -3353,12 +3373,12 @@
|
|
|
3353
3373
|
function PlayerConnectionDto() {
|
|
3354
3374
|
}
|
|
3355
3375
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
3356
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
3376
|
+
return 'PlayerConnectionDto(state=' + this.h2q_1 + ', connectionChangedTime=' + this.i2q_1 + ', notLiveDurationRecord=' + this.j2q_1 + ')';
|
|
3357
3377
|
};
|
|
3358
3378
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
3359
|
-
var result = this.
|
|
3360
|
-
result = imul(result, 31) + getStringHashCode(this.h2q_1) | 0;
|
|
3379
|
+
var result = this.h2q_1.hashCode();
|
|
3361
3380
|
result = imul(result, 31) + getStringHashCode(this.i2q_1) | 0;
|
|
3381
|
+
result = imul(result, 31) + getStringHashCode(this.j2q_1) | 0;
|
|
3362
3382
|
return result;
|
|
3363
3383
|
};
|
|
3364
3384
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -3367,27 +3387,27 @@
|
|
|
3367
3387
|
if (!(other instanceof PlayerConnectionDto))
|
|
3368
3388
|
return false;
|
|
3369
3389
|
var tmp0_other_with_cast = other instanceof PlayerConnectionDto ? other : THROW_CCE();
|
|
3370
|
-
if (!this.
|
|
3371
|
-
return false;
|
|
3372
|
-
if (!(this.h2q_1 === tmp0_other_with_cast.h2q_1))
|
|
3390
|
+
if (!this.h2q_1.equals(tmp0_other_with_cast.h2q_1))
|
|
3373
3391
|
return false;
|
|
3374
3392
|
if (!(this.i2q_1 === tmp0_other_with_cast.i2q_1))
|
|
3375
3393
|
return false;
|
|
3394
|
+
if (!(this.j2q_1 === tmp0_other_with_cast.j2q_1))
|
|
3395
|
+
return false;
|
|
3376
3396
|
return true;
|
|
3377
3397
|
};
|
|
3378
|
-
function
|
|
3379
|
-
|
|
3398
|
+
function Companion_17() {
|
|
3399
|
+
Companion_instance_17 = this;
|
|
3380
3400
|
var tmp = this;
|
|
3381
3401
|
// Inline function 'kotlin.arrayOf' call
|
|
3382
3402
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3383
3403
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3384
|
-
tmp.
|
|
3404
|
+
tmp.k2q_1 = [null, null, null, null, Companion_getInstance_13().v16(), null, null, null];
|
|
3385
3405
|
}
|
|
3386
|
-
var
|
|
3387
|
-
function
|
|
3388
|
-
if (
|
|
3389
|
-
new
|
|
3390
|
-
return
|
|
3406
|
+
var Companion_instance_17;
|
|
3407
|
+
function Companion_getInstance_19() {
|
|
3408
|
+
if (Companion_instance_17 == null)
|
|
3409
|
+
new Companion_17();
|
|
3410
|
+
return Companion_instance_17;
|
|
3391
3411
|
}
|
|
3392
3412
|
function $serializer_7() {
|
|
3393
3413
|
$serializer_instance_7 = this;
|
|
@@ -3400,20 +3420,20 @@
|
|
|
3400
3420
|
tmp0_serialDesc.mu('ready', false);
|
|
3401
3421
|
tmp0_serialDesc.mu('tag', true);
|
|
3402
3422
|
tmp0_serialDesc.mu('connection', true);
|
|
3403
|
-
this.
|
|
3423
|
+
this.l2q_1 = tmp0_serialDesc;
|
|
3404
3424
|
}
|
|
3405
3425
|
protoOf($serializer_7).pj = function () {
|
|
3406
|
-
return this.
|
|
3426
|
+
return this.l2q_1;
|
|
3407
3427
|
};
|
|
3408
3428
|
protoOf($serializer_7).bv = function () {
|
|
3409
|
-
var tmp0_cached =
|
|
3429
|
+
var tmp0_cached = Companion_getInstance_19().k2q_1;
|
|
3410
3430
|
// Inline function 'kotlin.arrayOf' call
|
|
3411
3431
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3412
3432
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3413
3433
|
return [get_nullable(LongSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), tmp0_cached[4], BooleanSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable($serializer_getInstance_6())];
|
|
3414
3434
|
};
|
|
3415
3435
|
protoOf($serializer_7).rj = function (decoder) {
|
|
3416
|
-
var tmp0_desc = this.
|
|
3436
|
+
var tmp0_desc = this.l2q_1;
|
|
3417
3437
|
var tmp1_flag = true;
|
|
3418
3438
|
var tmp2_index = 0;
|
|
3419
3439
|
var tmp3_bitMask0 = 0;
|
|
@@ -3426,7 +3446,7 @@
|
|
|
3426
3446
|
var tmp10_local6 = null;
|
|
3427
3447
|
var tmp11_local7 = null;
|
|
3428
3448
|
var tmp12_input = decoder.xm(tmp0_desc);
|
|
3429
|
-
var tmp13_cached =
|
|
3449
|
+
var tmp13_cached = Companion_getInstance_19().k2q_1;
|
|
3430
3450
|
if (tmp12_input.nn()) {
|
|
3431
3451
|
tmp4_local0 = tmp12_input.ln(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
3432
3452
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3490,34 +3510,34 @@
|
|
|
3490
3510
|
tmp12_input.ym(tmp0_desc);
|
|
3491
3511
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
3492
3512
|
};
|
|
3493
|
-
protoOf($serializer_7).
|
|
3494
|
-
var tmp0_desc = this.
|
|
3513
|
+
protoOf($serializer_7).m2q = function (encoder, value) {
|
|
3514
|
+
var tmp0_desc = this.l2q_1;
|
|
3495
3515
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
3496
|
-
var tmp2_cached =
|
|
3497
|
-
if (tmp1_output.uo(tmp0_desc, 0) ? true : !(value.
|
|
3498
|
-
tmp1_output.qo(tmp0_desc, 0, LongSerializer_getInstance(), value.
|
|
3516
|
+
var tmp2_cached = Companion_getInstance_19().k2q_1;
|
|
3517
|
+
if (tmp1_output.uo(tmp0_desc, 0) ? true : !(value.n2q_1 == null)) {
|
|
3518
|
+
tmp1_output.qo(tmp0_desc, 0, LongSerializer_getInstance(), value.n2q_1);
|
|
3499
3519
|
}
|
|
3500
|
-
if (tmp1_output.uo(tmp0_desc, 1) ? true : !(value.
|
|
3501
|
-
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
3520
|
+
if (tmp1_output.uo(tmp0_desc, 1) ? true : !(value.o2q_1 == null)) {
|
|
3521
|
+
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.o2q_1);
|
|
3502
3522
|
}
|
|
3503
|
-
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.
|
|
3504
|
-
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3523
|
+
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.p2q_1 == null)) {
|
|
3524
|
+
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.p2q_1);
|
|
3505
3525
|
}
|
|
3506
|
-
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.
|
|
3507
|
-
tmp1_output.qo(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
3526
|
+
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.q2q_1 == null)) {
|
|
3527
|
+
tmp1_output.qo(tmp0_desc, 3, StringSerializer_getInstance(), value.q2q_1);
|
|
3508
3528
|
}
|
|
3509
|
-
tmp1_output.oo(tmp0_desc, 4, tmp2_cached[4], value.
|
|
3510
|
-
tmp1_output.eo(tmp0_desc, 5, value.
|
|
3511
|
-
if (tmp1_output.uo(tmp0_desc, 6) ? true : !(value.
|
|
3512
|
-
tmp1_output.qo(tmp0_desc, 6, StringSerializer_getInstance(), value.
|
|
3529
|
+
tmp1_output.oo(tmp0_desc, 4, tmp2_cached[4], value.r2q_1);
|
|
3530
|
+
tmp1_output.eo(tmp0_desc, 5, value.s2q_1);
|
|
3531
|
+
if (tmp1_output.uo(tmp0_desc, 6) ? true : !(value.t2q_1 == null)) {
|
|
3532
|
+
tmp1_output.qo(tmp0_desc, 6, StringSerializer_getInstance(), value.t2q_1);
|
|
3513
3533
|
}
|
|
3514
|
-
if (tmp1_output.uo(tmp0_desc, 7) ? true : !(value.
|
|
3515
|
-
tmp1_output.qo(tmp0_desc, 7, $serializer_getInstance_6(), value.
|
|
3534
|
+
if (tmp1_output.uo(tmp0_desc, 7) ? true : !(value.u2q_1 == null)) {
|
|
3535
|
+
tmp1_output.qo(tmp0_desc, 7, $serializer_getInstance_6(), value.u2q_1);
|
|
3516
3536
|
}
|
|
3517
3537
|
tmp1_output.ym(tmp0_desc);
|
|
3518
3538
|
};
|
|
3519
3539
|
protoOf($serializer_7).qj = function (encoder, value) {
|
|
3520
|
-
return this.
|
|
3540
|
+
return this.m2q(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3521
3541
|
};
|
|
3522
3542
|
var $serializer_instance_7;
|
|
3523
3543
|
function $serializer_getInstance_7() {
|
|
@@ -3527,34 +3547,34 @@
|
|
|
3527
3547
|
}
|
|
3528
3548
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3529
3549
|
if (!(48 === (48 & seen1))) {
|
|
3530
|
-
throwMissingFieldException(seen1, 48, $serializer_getInstance_7().
|
|
3550
|
+
throwMissingFieldException(seen1, 48, $serializer_getInstance_7().l2q_1);
|
|
3531
3551
|
}
|
|
3532
3552
|
if (0 === (seen1 & 1))
|
|
3533
|
-
$this.
|
|
3553
|
+
$this.n2q_1 = null;
|
|
3534
3554
|
else
|
|
3535
|
-
$this.
|
|
3555
|
+
$this.n2q_1 = startFromTime;
|
|
3536
3556
|
if (0 === (seen1 & 2))
|
|
3537
|
-
$this.
|
|
3557
|
+
$this.o2q_1 = null;
|
|
3538
3558
|
else
|
|
3539
|
-
$this.
|
|
3559
|
+
$this.o2q_1 = startFrom;
|
|
3540
3560
|
if (0 === (seen1 & 4))
|
|
3541
|
-
$this.
|
|
3561
|
+
$this.p2q_1 = null;
|
|
3542
3562
|
else
|
|
3543
|
-
$this.
|
|
3563
|
+
$this.p2q_1 = playerTurnTimeout;
|
|
3544
3564
|
if (0 === (seen1 & 8))
|
|
3545
|
-
$this.
|
|
3565
|
+
$this.q2q_1 = null;
|
|
3546
3566
|
else
|
|
3547
|
-
$this.
|
|
3548
|
-
$this.
|
|
3549
|
-
$this.
|
|
3567
|
+
$this.q2q_1 = waitPlayerUntilTime;
|
|
3568
|
+
$this.r2q_1 = state;
|
|
3569
|
+
$this.s2q_1 = ready;
|
|
3550
3570
|
if (0 === (seen1 & 64))
|
|
3551
|
-
$this.
|
|
3571
|
+
$this.t2q_1 = null;
|
|
3552
3572
|
else
|
|
3553
|
-
$this.
|
|
3573
|
+
$this.t2q_1 = tag;
|
|
3554
3574
|
if (0 === (seen1 & 128))
|
|
3555
|
-
$this.
|
|
3575
|
+
$this.u2q_1 = null;
|
|
3556
3576
|
else
|
|
3557
|
-
$this.
|
|
3577
|
+
$this.u2q_1 = connection;
|
|
3558
3578
|
return $this;
|
|
3559
3579
|
}
|
|
3560
3580
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
@@ -3563,17 +3583,17 @@
|
|
|
3563
3583
|
function PlayerStateDto() {
|
|
3564
3584
|
}
|
|
3565
3585
|
protoOf(PlayerStateDto).toString = function () {
|
|
3566
|
-
return 'PlayerStateDto(startFromTime=' + toString(this.
|
|
3586
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.n2q_1) + ', startFrom=' + this.o2q_1 + ', playerTurnTimeout=' + this.p2q_1 + ', waitPlayerUntilTime=' + this.q2q_1 + ', state=' + this.r2q_1 + ', ready=' + this.s2q_1 + ', tag=' + this.t2q_1 + ', connection=' + this.u2q_1 + ')';
|
|
3567
3587
|
};
|
|
3568
3588
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3569
|
-
var result = this.
|
|
3570
|
-
result = imul(result, 31) + (this.n2q_1 == null ? 0 : getStringHashCode(this.n2q_1)) | 0;
|
|
3589
|
+
var result = this.n2q_1 == null ? 0 : this.n2q_1.hashCode();
|
|
3571
3590
|
result = imul(result, 31) + (this.o2q_1 == null ? 0 : getStringHashCode(this.o2q_1)) | 0;
|
|
3572
3591
|
result = imul(result, 31) + (this.p2q_1 == null ? 0 : getStringHashCode(this.p2q_1)) | 0;
|
|
3573
|
-
result = imul(result, 31) + this.q2q_1.
|
|
3574
|
-
result = imul(result, 31) +
|
|
3575
|
-
result = imul(result, 31) + (this.s2q_1
|
|
3576
|
-
result = imul(result, 31) + (this.t2q_1 == null ? 0 : this.t2q_1
|
|
3592
|
+
result = imul(result, 31) + (this.q2q_1 == null ? 0 : getStringHashCode(this.q2q_1)) | 0;
|
|
3593
|
+
result = imul(result, 31) + this.r2q_1.hashCode() | 0;
|
|
3594
|
+
result = imul(result, 31) + getBooleanHashCode(this.s2q_1) | 0;
|
|
3595
|
+
result = imul(result, 31) + (this.t2q_1 == null ? 0 : getStringHashCode(this.t2q_1)) | 0;
|
|
3596
|
+
result = imul(result, 31) + (this.u2q_1 == null ? 0 : this.u2q_1.hashCode()) | 0;
|
|
3577
3597
|
return result;
|
|
3578
3598
|
};
|
|
3579
3599
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3582,32 +3602,32 @@
|
|
|
3582
3602
|
if (!(other instanceof PlayerStateDto))
|
|
3583
3603
|
return false;
|
|
3584
3604
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
3585
|
-
if (!equals(this.
|
|
3586
|
-
return false;
|
|
3587
|
-
if (!(this.n2q_1 == tmp0_other_with_cast.n2q_1))
|
|
3605
|
+
if (!equals(this.n2q_1, tmp0_other_with_cast.n2q_1))
|
|
3588
3606
|
return false;
|
|
3589
3607
|
if (!(this.o2q_1 == tmp0_other_with_cast.o2q_1))
|
|
3590
3608
|
return false;
|
|
3591
3609
|
if (!(this.p2q_1 == tmp0_other_with_cast.p2q_1))
|
|
3592
3610
|
return false;
|
|
3593
|
-
if (!this.q2q_1
|
|
3611
|
+
if (!(this.q2q_1 == tmp0_other_with_cast.q2q_1))
|
|
3594
3612
|
return false;
|
|
3595
|
-
if (!
|
|
3613
|
+
if (!this.r2q_1.equals(tmp0_other_with_cast.r2q_1))
|
|
3596
3614
|
return false;
|
|
3597
|
-
if (!(this.s2q_1
|
|
3615
|
+
if (!(this.s2q_1 === tmp0_other_with_cast.s2q_1))
|
|
3598
3616
|
return false;
|
|
3599
|
-
if (!
|
|
3617
|
+
if (!(this.t2q_1 == tmp0_other_with_cast.t2q_1))
|
|
3618
|
+
return false;
|
|
3619
|
+
if (!equals(this.u2q_1, tmp0_other_with_cast.u2q_1))
|
|
3600
3620
|
return false;
|
|
3601
3621
|
return true;
|
|
3602
3622
|
};
|
|
3603
|
-
function
|
|
3623
|
+
function Companion_18() {
|
|
3604
3624
|
}
|
|
3605
|
-
protoOf(
|
|
3625
|
+
protoOf(Companion_18).v16 = function () {
|
|
3606
3626
|
return $serializer_getInstance_8();
|
|
3607
3627
|
};
|
|
3608
|
-
var
|
|
3609
|
-
function
|
|
3610
|
-
return
|
|
3628
|
+
var Companion_instance_18;
|
|
3629
|
+
function Companion_getInstance_20() {
|
|
3630
|
+
return Companion_instance_18;
|
|
3611
3631
|
}
|
|
3612
3632
|
function $serializer_8() {
|
|
3613
3633
|
$serializer_instance_8 = this;
|
|
@@ -3629,10 +3649,10 @@
|
|
|
3629
3649
|
tmp0_serialDesc.mu('checkTrumpCombination', true);
|
|
3630
3650
|
tmp0_serialDesc.mu('checkOnlyTrumpDebertz', true);
|
|
3631
3651
|
tmp0_serialDesc.mu('tenCardsInHand', true);
|
|
3632
|
-
this.
|
|
3652
|
+
this.v2q_1 = tmp0_serialDesc;
|
|
3633
3653
|
}
|
|
3634
3654
|
protoOf($serializer_8).pj = function () {
|
|
3635
|
-
return this.
|
|
3655
|
+
return this.v2q_1;
|
|
3636
3656
|
};
|
|
3637
3657
|
protoOf($serializer_8).bv = function () {
|
|
3638
3658
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3641,7 +3661,7 @@
|
|
|
3641
3661
|
return [get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), IntSerializer_getInstance(), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance())];
|
|
3642
3662
|
};
|
|
3643
3663
|
protoOf($serializer_8).rj = function (decoder) {
|
|
3644
|
-
var tmp0_desc = this.
|
|
3664
|
+
var tmp0_desc = this.v2q_1;
|
|
3645
3665
|
var tmp1_flag = true;
|
|
3646
3666
|
var tmp2_index = 0;
|
|
3647
3667
|
var tmp3_bitMask0 = 0;
|
|
@@ -3780,8 +3800,8 @@
|
|
|
3780
3800
|
tmp21_input.ym(tmp0_desc);
|
|
3781
3801
|
return RulesDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, tmp12_local8, tmp13_local9, tmp14_local10, tmp15_local11, tmp16_local12, tmp17_local13, tmp18_local14, tmp19_local15, tmp20_local16, null);
|
|
3782
3802
|
};
|
|
3783
|
-
protoOf($serializer_8).
|
|
3784
|
-
var tmp0_desc = this.
|
|
3803
|
+
protoOf($serializer_8).w2q = function (encoder, value) {
|
|
3804
|
+
var tmp0_desc = this.v2q_1;
|
|
3785
3805
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
3786
3806
|
if (tmp1_output.uo(tmp0_desc, 0) ? true : !(value.needToPutHigherTrump == null)) {
|
|
3787
3807
|
tmp1_output.qo(tmp0_desc, 0, BooleanSerializer_getInstance(), value.needToPutHigherTrump);
|
|
@@ -3835,7 +3855,7 @@
|
|
|
3835
3855
|
tmp1_output.ym(tmp0_desc);
|
|
3836
3856
|
};
|
|
3837
3857
|
protoOf($serializer_8).qj = function (encoder, value) {
|
|
3838
|
-
return this.
|
|
3858
|
+
return this.w2q(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3839
3859
|
};
|
|
3840
3860
|
var $serializer_instance_8;
|
|
3841
3861
|
function $serializer_getInstance_8() {
|
|
@@ -3845,7 +3865,7 @@
|
|
|
3845
3865
|
}
|
|
3846
3866
|
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
3847
3867
|
if (!(4096 === (4096 & seen1))) {
|
|
3848
|
-
throwMissingFieldException(seen1, 4096, $serializer_getInstance_8().
|
|
3868
|
+
throwMissingFieldException(seen1, 4096, $serializer_getInstance_8().v2q_1);
|
|
3849
3869
|
}
|
|
3850
3870
|
if (0 === (seen1 & 1))
|
|
3851
3871
|
$this.needToPutHigherTrump = null;
|
|
@@ -3952,55 +3972,55 @@
|
|
|
3952
3972
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
3953
3973
|
this.tenCardsInHand = tenCardsInHand;
|
|
3954
3974
|
}
|
|
3955
|
-
protoOf(RulesDto).
|
|
3975
|
+
protoOf(RulesDto).l2o = function () {
|
|
3956
3976
|
return this.needToPutHigherTrump;
|
|
3957
3977
|
};
|
|
3958
|
-
protoOf(RulesDto).
|
|
3978
|
+
protoOf(RulesDto).m2o = function () {
|
|
3959
3979
|
return this.distributePoints;
|
|
3960
3980
|
};
|
|
3961
|
-
protoOf(RulesDto).
|
|
3981
|
+
protoOf(RulesDto).n2o = function () {
|
|
3962
3982
|
return this.protectBella;
|
|
3963
3983
|
};
|
|
3964
|
-
protoOf(RulesDto).
|
|
3984
|
+
protoOf(RulesDto).o2o = function () {
|
|
3965
3985
|
return this.oneTryToProtectBella;
|
|
3966
3986
|
};
|
|
3967
|
-
protoOf(RulesDto).
|
|
3987
|
+
protoOf(RulesDto).p2o = function () {
|
|
3968
3988
|
return this.enableFourSevensCombination;
|
|
3969
3989
|
};
|
|
3970
|
-
protoOf(RulesDto).
|
|
3990
|
+
protoOf(RulesDto).q2o = function () {
|
|
3971
3991
|
return this.enableTrumpSevenCombination;
|
|
3972
3992
|
};
|
|
3973
|
-
protoOf(RulesDto).
|
|
3993
|
+
protoOf(RulesDto).r2o = function () {
|
|
3974
3994
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
3975
3995
|
};
|
|
3976
|
-
protoOf(RulesDto).
|
|
3996
|
+
protoOf(RulesDto).s2o = function () {
|
|
3977
3997
|
return this.playerWhoChooseSuitGoFirst;
|
|
3978
3998
|
};
|
|
3979
|
-
protoOf(RulesDto).
|
|
3999
|
+
protoOf(RulesDto).t2o = function () {
|
|
3980
4000
|
return this.winnerShuffleCards;
|
|
3981
4001
|
};
|
|
3982
|
-
protoOf(RulesDto).
|
|
4002
|
+
protoOf(RulesDto).u2o = function () {
|
|
3983
4003
|
return this.playWithoutLiabilities;
|
|
3984
4004
|
};
|
|
3985
|
-
protoOf(RulesDto).
|
|
4005
|
+
protoOf(RulesDto).v2o = function () {
|
|
3986
4006
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
3987
4007
|
};
|
|
3988
|
-
protoOf(RulesDto).
|
|
4008
|
+
protoOf(RulesDto).w2o = function () {
|
|
3989
4009
|
return this.enableFineIfNoBribes;
|
|
3990
4010
|
};
|
|
3991
|
-
protoOf(RulesDto).
|
|
4011
|
+
protoOf(RulesDto).x2o = function () {
|
|
3992
4012
|
return this.fineIfNoBribes;
|
|
3993
4013
|
};
|
|
3994
|
-
protoOf(RulesDto).
|
|
4014
|
+
protoOf(RulesDto).y2o = function () {
|
|
3995
4015
|
return this.enableFineAfterThirdByte;
|
|
3996
4016
|
};
|
|
3997
|
-
protoOf(RulesDto).
|
|
4017
|
+
protoOf(RulesDto).z2o = function () {
|
|
3998
4018
|
return this.checkTrumpCombination;
|
|
3999
4019
|
};
|
|
4000
|
-
protoOf(RulesDto).
|
|
4020
|
+
protoOf(RulesDto).a2p = function () {
|
|
4001
4021
|
return this.checkOnlyTrumpDebertz;
|
|
4002
4022
|
};
|
|
4003
|
-
protoOf(RulesDto).
|
|
4023
|
+
protoOf(RulesDto).b2p = function () {
|
|
4004
4024
|
return this.tenCardsInHand;
|
|
4005
4025
|
};
|
|
4006
4026
|
protoOf(RulesDto).cd = function () {
|
|
@@ -4012,49 +4032,49 @@
|
|
|
4012
4032
|
protoOf(RulesDto).qh = function () {
|
|
4013
4033
|
return this.protectBella;
|
|
4014
4034
|
};
|
|
4015
|
-
protoOf(RulesDto).
|
|
4035
|
+
protoOf(RulesDto).s2k = function () {
|
|
4016
4036
|
return this.oneTryToProtectBella;
|
|
4017
4037
|
};
|
|
4018
|
-
protoOf(RulesDto).
|
|
4038
|
+
protoOf(RulesDto).b2m = function () {
|
|
4019
4039
|
return this.enableFourSevensCombination;
|
|
4020
4040
|
};
|
|
4021
|
-
protoOf(RulesDto).
|
|
4041
|
+
protoOf(RulesDto).c2m = function () {
|
|
4022
4042
|
return this.enableTrumpSevenCombination;
|
|
4023
4043
|
};
|
|
4024
|
-
protoOf(RulesDto).
|
|
4044
|
+
protoOf(RulesDto).c2p = function () {
|
|
4025
4045
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
4026
4046
|
};
|
|
4027
|
-
protoOf(RulesDto).
|
|
4047
|
+
protoOf(RulesDto).d2p = function () {
|
|
4028
4048
|
return this.playerWhoChooseSuitGoFirst;
|
|
4029
4049
|
};
|
|
4030
|
-
protoOf(RulesDto).
|
|
4050
|
+
protoOf(RulesDto).e2p = function () {
|
|
4031
4051
|
return this.winnerShuffleCards;
|
|
4032
4052
|
};
|
|
4033
|
-
protoOf(RulesDto).
|
|
4053
|
+
protoOf(RulesDto).f2p = function () {
|
|
4034
4054
|
return this.playWithoutLiabilities;
|
|
4035
4055
|
};
|
|
4036
|
-
protoOf(RulesDto).
|
|
4056
|
+
protoOf(RulesDto).g2p = function () {
|
|
4037
4057
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
4038
4058
|
};
|
|
4039
|
-
protoOf(RulesDto).
|
|
4059
|
+
protoOf(RulesDto).h2p = function () {
|
|
4040
4060
|
return this.enableFineIfNoBribes;
|
|
4041
4061
|
};
|
|
4042
|
-
protoOf(RulesDto).
|
|
4062
|
+
protoOf(RulesDto).i2p = function () {
|
|
4043
4063
|
return this.fineIfNoBribes;
|
|
4044
4064
|
};
|
|
4045
|
-
protoOf(RulesDto).
|
|
4065
|
+
protoOf(RulesDto).j2p = function () {
|
|
4046
4066
|
return this.enableFineAfterThirdByte;
|
|
4047
4067
|
};
|
|
4048
|
-
protoOf(RulesDto).
|
|
4068
|
+
protoOf(RulesDto).k2p = function () {
|
|
4049
4069
|
return this.checkTrumpCombination;
|
|
4050
4070
|
};
|
|
4051
|
-
protoOf(RulesDto).
|
|
4071
|
+
protoOf(RulesDto).l2p = function () {
|
|
4052
4072
|
return this.checkOnlyTrumpDebertz;
|
|
4053
4073
|
};
|
|
4054
|
-
protoOf(RulesDto).
|
|
4074
|
+
protoOf(RulesDto).m2p = function () {
|
|
4055
4075
|
return this.tenCardsInHand;
|
|
4056
4076
|
};
|
|
4057
|
-
protoOf(RulesDto).
|
|
4077
|
+
protoOf(RulesDto).x2q = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
4058
4078
|
return new RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
4059
4079
|
};
|
|
4060
4080
|
protoOf(RulesDto).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -4075,7 +4095,7 @@
|
|
|
4075
4095
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
4076
4096
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
4077
4097
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
4078
|
-
return this.
|
|
4098
|
+
return this.x2q(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
4079
4099
|
};
|
|
4080
4100
|
protoOf(RulesDto).toString = function () {
|
|
4081
4101
|
return 'RulesDto(needToPutHigherTrump=' + this.needToPutHigherTrump + ', distributePoints=' + this.distributePoints + ', protectBella=' + this.protectBella + ', oneTryToProtectBella=' + this.oneTryToProtectBella + ', enableFourSevensCombination=' + this.enableFourSevensCombination + ', enableTrumpSevenCombination=' + this.enableTrumpSevenCombination + ', enableTrumpSevenCombinationAfterDistribution=' + this.enableTrumpSevenCombinationAfterDistribution + ', playerWhoChooseSuitGoFirst=' + this.playerWhoChooseSuitGoFirst + ', winnerShuffleCards=' + this.winnerShuffleCards + ', playWithoutLiabilities=' + this.playWithoutLiabilities + ', trumpCardGoToPlayerWhoShuffleCards=' + this.trumpCardGoToPlayerWhoShuffleCards + ', enableFineIfNoBribes=' + this.enableFineIfNoBribes + ', fineIfNoBribes=' + this.fineIfNoBribes + ', enableFineAfterThirdByte=' + this.enableFineAfterThirdByte + ', checkTrumpCombination=' + this.checkTrumpCombination + ', checkOnlyTrumpDebertz=' + this.checkOnlyTrumpDebertz + ', tenCardsInHand=' + this.tenCardsInHand + ')';
|
|
@@ -4144,27 +4164,27 @@
|
|
|
4144
4164
|
};
|
|
4145
4165
|
function CardIndexComparator() {
|
|
4146
4166
|
}
|
|
4147
|
-
protoOf(CardIndexComparator).
|
|
4148
|
-
return a.
|
|
4167
|
+
protoOf(CardIndexComparator).y2q = function (a, b) {
|
|
4168
|
+
return a.t2p_1 - b.t2p_1 | 0;
|
|
4149
4169
|
};
|
|
4150
4170
|
protoOf(CardIndexComparator).compare = function (a, b) {
|
|
4151
4171
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
4152
|
-
return this.
|
|
4172
|
+
return this.y2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
4153
4173
|
};
|
|
4154
4174
|
var CardIndexComparator_instance;
|
|
4155
4175
|
function CardIndexComparator_getInstance() {
|
|
4156
4176
|
return CardIndexComparator_instance;
|
|
4157
4177
|
}
|
|
4158
4178
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
4159
|
-
this.
|
|
4160
|
-
this.
|
|
4179
|
+
this.z2q_1 = trump;
|
|
4180
|
+
this.a2r_1 = firstCardSuit;
|
|
4161
4181
|
}
|
|
4162
|
-
protoOf(CardGrowthComparator).
|
|
4163
|
-
return getGrowth(b, this.
|
|
4182
|
+
protoOf(CardGrowthComparator).y2q = function (a, b) {
|
|
4183
|
+
return getGrowth(b, this.z2q_1, this.a2r_1) - getGrowth(a, this.z2q_1, this.a2r_1) | 0;
|
|
4164
4184
|
};
|
|
4165
4185
|
protoOf(CardGrowthComparator).compare = function (a, b) {
|
|
4166
4186
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
4167
|
-
return this.
|
|
4187
|
+
return this.y2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
4168
4188
|
};
|
|
4169
4189
|
function filterByCardName(_this__u8e3s4, name) {
|
|
4170
4190
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -4196,25 +4216,25 @@
|
|
|
4196
4216
|
}
|
|
4197
4217
|
function CardNumberComparator() {
|
|
4198
4218
|
}
|
|
4199
|
-
protoOf(CardNumberComparator).
|
|
4200
|
-
return b.
|
|
4219
|
+
protoOf(CardNumberComparator).y2q = function (a, b) {
|
|
4220
|
+
return b.b2r() - a.b2r() | 0;
|
|
4201
4221
|
};
|
|
4202
4222
|
protoOf(CardNumberComparator).compare = function (a, b) {
|
|
4203
4223
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
4204
|
-
return this.
|
|
4224
|
+
return this.y2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
4205
4225
|
};
|
|
4206
4226
|
var CardNumberComparator_instance;
|
|
4207
4227
|
function CardNumberComparator_getInstance() {
|
|
4208
4228
|
return CardNumberComparator_instance;
|
|
4209
4229
|
}
|
|
4210
4230
|
function getPoint(_this__u8e3s4, trump) {
|
|
4211
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
4231
|
+
var isTrump = trump.equals(_this__u8e3s4.c2r());
|
|
4212
4232
|
return getPoint_0(_this__u8e3s4, isTrump);
|
|
4213
4233
|
}
|
|
4214
4234
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
4215
4235
|
var minPoint = 0;
|
|
4216
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
4217
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
4236
|
+
var isTrump = trump.equals(_this__u8e3s4.c2r());
|
|
4237
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.c2r());
|
|
4218
4238
|
var minGrowth;
|
|
4219
4239
|
var maxGrowth;
|
|
4220
4240
|
switch (_this__u8e3s4.g9().g8_1) {
|
|
@@ -4304,7 +4324,7 @@
|
|
|
4304
4324
|
return tmp;
|
|
4305
4325
|
}
|
|
4306
4326
|
function getValueInHand(_this__u8e3s4, trump, allCards) {
|
|
4307
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
4327
|
+
var isTrump = trump.equals(_this__u8e3s4.c2r());
|
|
4308
4328
|
return getValueInHand_0(_this__u8e3s4, isTrump, allCards);
|
|
4309
4329
|
}
|
|
4310
4330
|
function getValueInHand_0(_this__u8e3s4, isTrump, allCards) {
|
|
@@ -4388,7 +4408,7 @@
|
|
|
4388
4408
|
var element = indexedObject[inductionVariable];
|
|
4389
4409
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4390
4410
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
4391
|
-
if (p1.
|
|
4411
|
+
if (p1.c2r().equals(element)) {
|
|
4392
4412
|
tmp$ret$1 = true;
|
|
4393
4413
|
break $l$block;
|
|
4394
4414
|
}
|
|
@@ -4483,12 +4503,12 @@
|
|
|
4483
4503
|
CardName_TWO_instance = new CardName('TWO', 12);
|
|
4484
4504
|
CardName_STUB_instance = new CardName('STUB', 13);
|
|
4485
4505
|
}
|
|
4486
|
-
function
|
|
4506
|
+
function Companion_19() {
|
|
4487
4507
|
}
|
|
4488
|
-
protoOf(
|
|
4489
|
-
return new GameCard(getNumber(
|
|
4508
|
+
protoOf(Companion_19).d2r = function (suit, cardNumber) {
|
|
4509
|
+
return new GameCard(getNumber(Companion_instance_20, cardNumber, suit));
|
|
4490
4510
|
};
|
|
4491
|
-
protoOf(
|
|
4511
|
+
protoOf(Companion_19).e2r = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
|
|
4492
4512
|
var tmp;
|
|
4493
4513
|
if (previousStubCardWithMaxIndex == null) {
|
|
4494
4514
|
tmp = null;
|
|
@@ -4497,7 +4517,7 @@
|
|
|
4497
4517
|
// Inline function 'kotlin.contracts.contract' call
|
|
4498
4518
|
var tmp_0;
|
|
4499
4519
|
// Inline function 'com.logic.data.models.table.cards.Companion.createUniqueStub.<anonymous>' call
|
|
4500
|
-
if (previousStubCardWithMaxIndex.
|
|
4520
|
+
if (previousStubCardWithMaxIndex.f2r()) {
|
|
4501
4521
|
tmp_0 = previousStubCardWithMaxIndex;
|
|
4502
4522
|
} else {
|
|
4503
4523
|
tmp_0 = null;
|
|
@@ -4505,8 +4525,8 @@
|
|
|
4505
4525
|
tmp = tmp_0;
|
|
4506
4526
|
}
|
|
4507
4527
|
var tmp1_safe_receiver = tmp;
|
|
4508
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
4509
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null :
|
|
4528
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.t2p_1;
|
|
4529
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_20.k2r(tmp2_safe_receiver, playerIndex, reverse);
|
|
4510
4530
|
var tmp_1;
|
|
4511
4531
|
if (tmp3_safe_receiver == null) {
|
|
4512
4532
|
tmp_1 = null;
|
|
@@ -4527,14 +4547,14 @@
|
|
|
4527
4547
|
var index = tmp_2;
|
|
4528
4548
|
return new GameCard(index);
|
|
4529
4549
|
};
|
|
4530
|
-
protoOf(
|
|
4550
|
+
protoOf(Companion_19).l2r = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
|
|
4531
4551
|
previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
|
|
4532
4552
|
reverse = reverse === VOID ? false : reverse;
|
|
4533
|
-
return $super === VOID ? this.
|
|
4553
|
+
return $super === VOID ? this.e2r(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.e2r.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
4534
4554
|
};
|
|
4535
|
-
var
|
|
4536
|
-
function
|
|
4537
|
-
return
|
|
4555
|
+
var Companion_instance_19;
|
|
4556
|
+
function Companion_getInstance_21() {
|
|
4557
|
+
return Companion_instance_19;
|
|
4538
4558
|
}
|
|
4539
4559
|
function getNumber($this, cardNumber, suit) {
|
|
4540
4560
|
return imul(getIndex(suit), 13) + getCardNumber($this, cardNumber) | 0;
|
|
@@ -4634,7 +4654,7 @@
|
|
|
4634
4654
|
return tmp;
|
|
4635
4655
|
}
|
|
4636
4656
|
function _get_isShirt__vd98rp($this) {
|
|
4637
|
-
return $this.
|
|
4657
|
+
return $this.t2p_1 === 52;
|
|
4638
4658
|
}
|
|
4639
4659
|
function CardName(name, ordinal) {
|
|
4640
4660
|
Enum.call(this, name, ordinal);
|
|
@@ -4642,13 +4662,13 @@
|
|
|
4642
4662
|
protoOf(CardName).toString = function () {
|
|
4643
4663
|
return getShorName(this);
|
|
4644
4664
|
};
|
|
4645
|
-
function
|
|
4646
|
-
this.
|
|
4647
|
-
this.
|
|
4648
|
-
this.
|
|
4649
|
-
this.
|
|
4665
|
+
function Companion_20() {
|
|
4666
|
+
this.g2r_1 = -1;
|
|
4667
|
+
this.h2r_1 = 13;
|
|
4668
|
+
this.i2r_1 = 52;
|
|
4669
|
+
this.j2r_1 = 53;
|
|
4650
4670
|
}
|
|
4651
|
-
protoOf(
|
|
4671
|
+
protoOf(Companion_20).k2r = function (_this__u8e3s4, playerIndex, reverse) {
|
|
4652
4672
|
var tmp;
|
|
4653
4673
|
if (reverse) {
|
|
4654
4674
|
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
@@ -4657,9 +4677,9 @@
|
|
|
4657
4677
|
}
|
|
4658
4678
|
return tmp;
|
|
4659
4679
|
};
|
|
4660
|
-
var
|
|
4661
|
-
function
|
|
4662
|
-
return
|
|
4680
|
+
var Companion_instance_20;
|
|
4681
|
+
function Companion_getInstance_22() {
|
|
4682
|
+
return Companion_instance_20;
|
|
4663
4683
|
}
|
|
4664
4684
|
function CardName_ACE_getInstance() {
|
|
4665
4685
|
CardName_initEntries();
|
|
@@ -4718,56 +4738,56 @@
|
|
|
4718
4738
|
return CardName_STUB_instance;
|
|
4719
4739
|
}
|
|
4720
4740
|
function GameCard(index) {
|
|
4721
|
-
this.
|
|
4741
|
+
this.t2p_1 = index;
|
|
4722
4742
|
}
|
|
4723
|
-
protoOf(GameCard).
|
|
4743
|
+
protoOf(GameCard).c2r = function () {
|
|
4724
4744
|
var tmp;
|
|
4725
|
-
var containsArg = this.
|
|
4745
|
+
var containsArg = this.t2p_1;
|
|
4726
4746
|
if (0 <= containsArg ? containsArg <= 13 : false) {
|
|
4727
4747
|
tmp = Suit_DIAMOND_getInstance();
|
|
4728
4748
|
} else {
|
|
4729
|
-
if (this.
|
|
4749
|
+
if (this.t2p_1 <= 26) {
|
|
4730
4750
|
tmp = Suit_SPADE_getInstance();
|
|
4731
4751
|
} else {
|
|
4732
|
-
if (this.
|
|
4752
|
+
if (this.t2p_1 <= 39) {
|
|
4733
4753
|
tmp = Suit_HEART_getInstance();
|
|
4734
4754
|
} else {
|
|
4735
|
-
if (this.
|
|
4755
|
+
if (this.t2p_1 <= 52) {
|
|
4736
4756
|
tmp = Suit_CLUB_getInstance();
|
|
4737
4757
|
} else {
|
|
4738
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
4758
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.t2p_1);
|
|
4739
4759
|
}
|
|
4740
4760
|
}
|
|
4741
4761
|
}
|
|
4742
4762
|
}
|
|
4743
4763
|
return tmp;
|
|
4744
4764
|
};
|
|
4745
|
-
protoOf(GameCard).
|
|
4765
|
+
protoOf(GameCard).b2r = function () {
|
|
4746
4766
|
var tmp;
|
|
4747
|
-
if (this.
|
|
4767
|
+
if (this.f2r()) {
|
|
4748
4768
|
tmp = -1;
|
|
4749
4769
|
} else {
|
|
4750
|
-
tmp = this.
|
|
4770
|
+
tmp = this.t2p_1 - imul(13, getIndex(this.c2r())) | 0;
|
|
4751
4771
|
}
|
|
4752
4772
|
return tmp;
|
|
4753
4773
|
};
|
|
4754
4774
|
protoOf(GameCard).g9 = function () {
|
|
4755
|
-
return this.
|
|
4775
|
+
return this.f2r() ? CardName_STUB_getInstance() : getName(Companion_instance_20, this.b2r());
|
|
4756
4776
|
};
|
|
4757
|
-
protoOf(GameCard).
|
|
4758
|
-
return this.
|
|
4777
|
+
protoOf(GameCard).f2r = function () {
|
|
4778
|
+
return this.t2p_1 >= 53;
|
|
4759
4779
|
};
|
|
4760
4780
|
protoOf(GameCard).toString = function () {
|
|
4761
4781
|
if (_get_isShirt__vd98rp(this)) {
|
|
4762
4782
|
return 'GameCard(SHIRT)';
|
|
4763
4783
|
}
|
|
4764
|
-
if (this.
|
|
4765
|
-
return 'GameCard(STUB, ' + this.
|
|
4784
|
+
if (this.f2r()) {
|
|
4785
|
+
return 'GameCard(STUB, ' + this.t2p_1 + ')';
|
|
4766
4786
|
}
|
|
4767
|
-
return 'GameCard(' + this.
|
|
4787
|
+
return 'GameCard(' + this.c2r() + this.g9() + ', ' + this.t2p_1 + ')';
|
|
4768
4788
|
};
|
|
4769
4789
|
protoOf(GameCard).hashCode = function () {
|
|
4770
|
-
return this.
|
|
4790
|
+
return this.t2p_1;
|
|
4771
4791
|
};
|
|
4772
4792
|
protoOf(GameCard).equals = function (other) {
|
|
4773
4793
|
if (this === other)
|
|
@@ -4775,20 +4795,20 @@
|
|
|
4775
4795
|
if (!(other instanceof GameCard))
|
|
4776
4796
|
return false;
|
|
4777
4797
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
4778
|
-
if (!(this.
|
|
4798
|
+
if (!(this.t2p_1 === tmp0_other_with_cast.t2p_1))
|
|
4779
4799
|
return false;
|
|
4780
4800
|
return true;
|
|
4781
4801
|
};
|
|
4782
4802
|
function ProcessingCard(gameCard, payload) {
|
|
4783
|
-
this.
|
|
4784
|
-
this.
|
|
4803
|
+
this.m2r_1 = gameCard;
|
|
4804
|
+
this.n2r_1 = payload;
|
|
4785
4805
|
}
|
|
4786
4806
|
protoOf(ProcessingCard).toString = function () {
|
|
4787
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
4807
|
+
return 'ProcessingCard(gameCard=' + this.m2r_1 + ', payload=' + this.n2r_1 + ')';
|
|
4788
4808
|
};
|
|
4789
4809
|
protoOf(ProcessingCard).hashCode = function () {
|
|
4790
|
-
var result = this.
|
|
4791
|
-
result = imul(result, 31) + (this.
|
|
4810
|
+
var result = this.m2r_1.hashCode();
|
|
4811
|
+
result = imul(result, 31) + (this.n2r_1 == null ? 0 : hashCode(this.n2r_1)) | 0;
|
|
4792
4812
|
return result;
|
|
4793
4813
|
};
|
|
4794
4814
|
protoOf(ProcessingCard).equals = function (other) {
|
|
@@ -4797,14 +4817,14 @@
|
|
|
4797
4817
|
if (!(other instanceof ProcessingCard))
|
|
4798
4818
|
return false;
|
|
4799
4819
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
4800
|
-
if (!this.
|
|
4820
|
+
if (!this.m2r_1.equals(tmp0_other_with_cast.m2r_1))
|
|
4801
4821
|
return false;
|
|
4802
|
-
if (!equals(this.
|
|
4822
|
+
if (!equals(this.n2r_1, tmp0_other_with_cast.n2r_1))
|
|
4803
4823
|
return false;
|
|
4804
4824
|
return true;
|
|
4805
4825
|
};
|
|
4806
4826
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
4807
|
-
return $this.
|
|
4827
|
+
return $this.o2r_1.o2();
|
|
4808
4828
|
}
|
|
4809
4829
|
function Suit$Companion$_anonymous__cbm2iq() {
|
|
4810
4830
|
return createSimpleEnumSerializer('com.logic.data.models.table.cards.Suit', values_3());
|
|
@@ -4834,24 +4854,24 @@
|
|
|
4834
4854
|
}
|
|
4835
4855
|
return tmp;
|
|
4836
4856
|
}
|
|
4837
|
-
function
|
|
4838
|
-
|
|
4857
|
+
function Companion_21() {
|
|
4858
|
+
Companion_instance_21 = this;
|
|
4839
4859
|
var tmp = this;
|
|
4840
4860
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
4841
|
-
tmp.
|
|
4861
|
+
tmp.o2r_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
|
|
4842
4862
|
}
|
|
4843
|
-
protoOf(
|
|
4863
|
+
protoOf(Companion_21).v16 = function () {
|
|
4844
4864
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
4845
4865
|
};
|
|
4846
|
-
protoOf(
|
|
4866
|
+
protoOf(Companion_21).mv = function (typeParamsSerializers) {
|
|
4847
4867
|
return this.v16();
|
|
4848
4868
|
};
|
|
4849
|
-
var
|
|
4850
|
-
function
|
|
4869
|
+
var Companion_instance_21;
|
|
4870
|
+
function Companion_getInstance_23() {
|
|
4851
4871
|
Suit_initEntries();
|
|
4852
|
-
if (
|
|
4853
|
-
new
|
|
4854
|
-
return
|
|
4872
|
+
if (Companion_instance_21 == null)
|
|
4873
|
+
new Companion_21();
|
|
4874
|
+
return Companion_instance_21;
|
|
4855
4875
|
}
|
|
4856
4876
|
function values_3() {
|
|
4857
4877
|
return [Suit_DIAMOND_getInstance(), Suit_SPADE_getInstance(), Suit_HEART_getInstance(), Suit_CLUB_getInstance()];
|
|
@@ -4870,7 +4890,7 @@
|
|
|
4870
4890
|
Suit_SPADE_instance = new Suit('SPADE', 1);
|
|
4871
4891
|
Suit_HEART_instance = new Suit('HEART', 2);
|
|
4872
4892
|
Suit_CLUB_instance = new Suit('CLUB', 3);
|
|
4873
|
-
|
|
4893
|
+
Companion_getInstance_23();
|
|
4874
4894
|
}
|
|
4875
4895
|
var $ENTRIES;
|
|
4876
4896
|
function Suit(name, ordinal) {
|
|
@@ -4919,19 +4939,19 @@
|
|
|
4919
4939
|
function AsyncProvider() {
|
|
4920
4940
|
}
|
|
4921
4941
|
function onError($this, message, error) {
|
|
4922
|
-
$this.
|
|
4942
|
+
$this.y2r_1.e('AsyncErrorHandler', message + ': ' + error, error);
|
|
4923
4943
|
}
|
|
4924
4944
|
function _no_name_provided__qut3iv(this$0) {
|
|
4925
|
-
this.
|
|
4945
|
+
this.h2s_1 = this$0;
|
|
4926
4946
|
AbstractCoroutineContextElement.call(this, Key_instance);
|
|
4927
4947
|
}
|
|
4928
4948
|
protoOf(_no_name_provided__qut3iv).k1v = function (context, exception) {
|
|
4929
|
-
onError(this.
|
|
4949
|
+
onError(this.h2s_1, 'CoroutineContext', exception);
|
|
4930
4950
|
return Unit_instance;
|
|
4931
4951
|
};
|
|
4932
4952
|
function AsyncProviderImpl$launchUnconfinedWithLock$slambda(this$0, $block, resultContinuation) {
|
|
4933
|
-
this.
|
|
4934
|
-
this.
|
|
4953
|
+
this.q2s_1 = this$0;
|
|
4954
|
+
this.r2s_1 = $block;
|
|
4935
4955
|
CoroutineImpl.call(this, resultContinuation);
|
|
4936
4956
|
}
|
|
4937
4957
|
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).f2b = function ($this$launch, $completion) {
|
|
@@ -4955,11 +4975,11 @@
|
|
|
4955
4975
|
continue $sm;
|
|
4956
4976
|
case 1:
|
|
4957
4977
|
var tmp_0 = this;
|
|
4958
|
-
tmp_0.
|
|
4978
|
+
tmp_0.u2s_1 = this.q2s_1.b2s_1;
|
|
4959
4979
|
var tmp_1 = this;
|
|
4960
|
-
tmp_1.
|
|
4980
|
+
tmp_1.v2s_1 = null;
|
|
4961
4981
|
this.la_1 = 2;
|
|
4962
|
-
suspendResult = this.
|
|
4982
|
+
suspendResult = this.u2s_1.c2i(this.v2s_1, this);
|
|
4963
4983
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4964
4984
|
return suspendResult;
|
|
4965
4985
|
}
|
|
@@ -4974,14 +4994,14 @@
|
|
|
4974
4994
|
case 4:
|
|
4975
4995
|
this.ma_1 = 9;
|
|
4976
4996
|
this.la_1 = 5;
|
|
4977
|
-
suspendResult = this.
|
|
4997
|
+
suspendResult = this.r2s_1(this.s2s_1, this);
|
|
4978
4998
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4979
4999
|
return suspendResult;
|
|
4980
5000
|
}
|
|
4981
5001
|
|
|
4982
5002
|
continue $sm;
|
|
4983
5003
|
case 5:
|
|
4984
|
-
this.
|
|
5004
|
+
this.w2s_1 = suspendResult;
|
|
4985
5005
|
this.ma_1 = 10;
|
|
4986
5006
|
this.la_1 = 6;
|
|
4987
5007
|
var tmp_2 = this;
|
|
@@ -4989,13 +5009,13 @@
|
|
|
4989
5009
|
case 6:
|
|
4990
5010
|
this.ma_1 = 10;
|
|
4991
5011
|
var tmp_3 = this;
|
|
4992
|
-
this.
|
|
4993
|
-
tmp_3.
|
|
5012
|
+
this.u2s_1.n2h(this.v2s_1);
|
|
5013
|
+
tmp_3.t2s_1 = Unit_instance;
|
|
4994
5014
|
this.la_1 = 8;
|
|
4995
5015
|
continue $sm;
|
|
4996
5016
|
case 7:
|
|
4997
5017
|
this.ma_1 = 10;
|
|
4998
|
-
this.
|
|
5018
|
+
this.u2s_1.n2h(this.v2s_1);
|
|
4999
5019
|
if (false) {
|
|
5000
5020
|
this.la_1 = 1;
|
|
5001
5021
|
continue $sm;
|
|
@@ -5008,7 +5028,7 @@
|
|
|
5008
5028
|
case 9:
|
|
5009
5029
|
this.ma_1 = 10;
|
|
5010
5030
|
var t = this.oa_1;
|
|
5011
|
-
this.
|
|
5031
|
+
this.u2s_1.n2h(this.v2s_1);
|
|
5012
5032
|
throw t;
|
|
5013
5033
|
case 10:
|
|
5014
5034
|
throw this.oa_1;
|
|
@@ -5025,8 +5045,8 @@
|
|
|
5025
5045
|
while (true);
|
|
5026
5046
|
};
|
|
5027
5047
|
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).g2b = function ($this$launch, completion) {
|
|
5028
|
-
var i = new AsyncProviderImpl$launchUnconfinedWithLock$slambda(this.
|
|
5029
|
-
i.
|
|
5048
|
+
var i = new AsyncProviderImpl$launchUnconfinedWithLock$slambda(this.q2s_1, this.r2s_1, completion);
|
|
5049
|
+
i.s2s_1 = $this$launch;
|
|
5030
5050
|
return i;
|
|
5031
5051
|
};
|
|
5032
5052
|
function AsyncProviderImpl$launchUnconfinedWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
@@ -5038,8 +5058,8 @@
|
|
|
5038
5058
|
return l;
|
|
5039
5059
|
}
|
|
5040
5060
|
function AsyncProviderImpl$launchDefaultWithLock$slambda(this$0, $block, resultContinuation) {
|
|
5041
|
-
this.
|
|
5042
|
-
this.
|
|
5061
|
+
this.f2t_1 = this$0;
|
|
5062
|
+
this.g2t_1 = $block;
|
|
5043
5063
|
CoroutineImpl.call(this, resultContinuation);
|
|
5044
5064
|
}
|
|
5045
5065
|
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).f2b = function ($this$launch, $completion) {
|
|
@@ -5063,11 +5083,11 @@
|
|
|
5063
5083
|
continue $sm;
|
|
5064
5084
|
case 1:
|
|
5065
5085
|
var tmp_0 = this;
|
|
5066
|
-
tmp_0.
|
|
5086
|
+
tmp_0.j2t_1 = this.f2t_1.a2s_1;
|
|
5067
5087
|
var tmp_1 = this;
|
|
5068
|
-
tmp_1.
|
|
5088
|
+
tmp_1.k2t_1 = null;
|
|
5069
5089
|
this.la_1 = 2;
|
|
5070
|
-
suspendResult = this.
|
|
5090
|
+
suspendResult = this.j2t_1.c2i(this.k2t_1, this);
|
|
5071
5091
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5072
5092
|
return suspendResult;
|
|
5073
5093
|
}
|
|
@@ -5082,14 +5102,14 @@
|
|
|
5082
5102
|
case 4:
|
|
5083
5103
|
this.ma_1 = 9;
|
|
5084
5104
|
this.la_1 = 5;
|
|
5085
|
-
suspendResult = this.
|
|
5105
|
+
suspendResult = this.g2t_1(this.h2t_1, this);
|
|
5086
5106
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5087
5107
|
return suspendResult;
|
|
5088
5108
|
}
|
|
5089
5109
|
|
|
5090
5110
|
continue $sm;
|
|
5091
5111
|
case 5:
|
|
5092
|
-
this.
|
|
5112
|
+
this.l2t_1 = suspendResult;
|
|
5093
5113
|
this.ma_1 = 10;
|
|
5094
5114
|
this.la_1 = 6;
|
|
5095
5115
|
var tmp_2 = this;
|
|
@@ -5097,13 +5117,13 @@
|
|
|
5097
5117
|
case 6:
|
|
5098
5118
|
this.ma_1 = 10;
|
|
5099
5119
|
var tmp_3 = this;
|
|
5100
|
-
this.
|
|
5101
|
-
tmp_3.
|
|
5120
|
+
this.j2t_1.n2h(this.k2t_1);
|
|
5121
|
+
tmp_3.i2t_1 = Unit_instance;
|
|
5102
5122
|
this.la_1 = 8;
|
|
5103
5123
|
continue $sm;
|
|
5104
5124
|
case 7:
|
|
5105
5125
|
this.ma_1 = 10;
|
|
5106
|
-
this.
|
|
5126
|
+
this.j2t_1.n2h(this.k2t_1);
|
|
5107
5127
|
if (false) {
|
|
5108
5128
|
this.la_1 = 1;
|
|
5109
5129
|
continue $sm;
|
|
@@ -5116,7 +5136,7 @@
|
|
|
5116
5136
|
case 9:
|
|
5117
5137
|
this.ma_1 = 10;
|
|
5118
5138
|
var t = this.oa_1;
|
|
5119
|
-
this.
|
|
5139
|
+
this.j2t_1.n2h(this.k2t_1);
|
|
5120
5140
|
throw t;
|
|
5121
5141
|
case 10:
|
|
5122
5142
|
throw this.oa_1;
|
|
@@ -5133,8 +5153,8 @@
|
|
|
5133
5153
|
while (true);
|
|
5134
5154
|
};
|
|
5135
5155
|
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).g2b = function ($this$launch, completion) {
|
|
5136
|
-
var i = new AsyncProviderImpl$launchDefaultWithLock$slambda(this.
|
|
5137
|
-
i.
|
|
5156
|
+
var i = new AsyncProviderImpl$launchDefaultWithLock$slambda(this.f2t_1, this.g2t_1, completion);
|
|
5157
|
+
i.h2t_1 = $this$launch;
|
|
5138
5158
|
return i;
|
|
5139
5159
|
};
|
|
5140
5160
|
function AsyncProviderImpl$launchDefaultWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
@@ -5149,42 +5169,42 @@
|
|
|
5149
5169
|
mainDispatcher = mainDispatcher === VOID ? Dispatchers_getInstance().e1z() : mainDispatcher;
|
|
5150
5170
|
defaultDispatcher = defaultDispatcher === VOID ? Dispatchers_getInstance().a1z_1 : defaultDispatcher;
|
|
5151
5171
|
unconfinedDispatcher = unconfinedDispatcher === VOID ? Dispatchers_getInstance().b1z_1 : unconfinedDispatcher;
|
|
5152
|
-
this.
|
|
5153
|
-
this.
|
|
5154
|
-
this.z2r_1 = Mutex();
|
|
5172
|
+
this.y2r_1 = logger;
|
|
5173
|
+
this.z2r_1 = SupervisorJob();
|
|
5155
5174
|
this.a2s_1 = Mutex();
|
|
5175
|
+
this.b2s_1 = Mutex();
|
|
5156
5176
|
var tmp = this;
|
|
5157
5177
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
5158
|
-
tmp.
|
|
5159
|
-
this.
|
|
5160
|
-
this.
|
|
5161
|
-
this.
|
|
5178
|
+
tmp.c2s_1 = new _no_name_provided__qut3iv(this);
|
|
5179
|
+
this.d2s_1 = CoroutineScope_0(mainDispatcher.me(this.z2r_1));
|
|
5180
|
+
this.e2s_1 = CoroutineScope_0(defaultDispatcher.me(this.z2r_1));
|
|
5181
|
+
this.f2s_1 = CoroutineScope_0(unconfinedDispatcher.me(this.z2r_1));
|
|
5162
5182
|
}
|
|
5163
|
-
protoOf(AsyncProviderImpl).
|
|
5164
|
-
return this.
|
|
5183
|
+
protoOf(AsyncProviderImpl).p2r = function () {
|
|
5184
|
+
return this.c2s_1;
|
|
5165
5185
|
};
|
|
5166
|
-
protoOf(AsyncProviderImpl).
|
|
5167
|
-
return launch(this.c2s_1, context, VOID, block);
|
|
5168
|
-
};
|
|
5169
|
-
protoOf(AsyncProviderImpl).r2r = function (context, block) {
|
|
5186
|
+
protoOf(AsyncProviderImpl).w2r = function (context, block) {
|
|
5170
5187
|
return launch(this.d2s_1, context, VOID, block);
|
|
5171
5188
|
};
|
|
5172
|
-
protoOf(AsyncProviderImpl).
|
|
5173
|
-
return launch(this.e2s_1, context, VOID,
|
|
5189
|
+
protoOf(AsyncProviderImpl).s2r = function (context, block) {
|
|
5190
|
+
return launch(this.e2s_1, context, VOID, block);
|
|
5191
|
+
};
|
|
5192
|
+
protoOf(AsyncProviderImpl).q2r = function (context, block) {
|
|
5193
|
+
return launch(this.f2s_1, context, VOID, AsyncProviderImpl$launchUnconfinedWithLock$slambda_0(this, block, null));
|
|
5174
5194
|
};
|
|
5175
|
-
protoOf(AsyncProviderImpl).
|
|
5176
|
-
return launch(this.
|
|
5195
|
+
protoOf(AsyncProviderImpl).u2r = function (context, block) {
|
|
5196
|
+
return launch(this.e2s_1, context, VOID, AsyncProviderImpl$launchDefaultWithLock$slambda_0(this, block, null));
|
|
5177
5197
|
};
|
|
5178
5198
|
protoOf(AsyncProviderImpl).b1t = function () {
|
|
5179
|
-
if (!this.
|
|
5180
|
-
this.
|
|
5199
|
+
if (!this.z2r_1.m1r()) {
|
|
5200
|
+
this.z2r_1.z1r();
|
|
5181
5201
|
}
|
|
5182
5202
|
};
|
|
5183
5203
|
function IdsProvider() {
|
|
5184
5204
|
}
|
|
5185
5205
|
function UUIDIdsProvider() {
|
|
5186
5206
|
}
|
|
5187
|
-
protoOf(UUIDIdsProvider).
|
|
5207
|
+
protoOf(UUIDIdsProvider).m2t = function () {
|
|
5188
5208
|
return uuid4().toString();
|
|
5189
5209
|
};
|
|
5190
5210
|
var UUIDIdsProvider_instance;
|
|
@@ -5194,45 +5214,45 @@
|
|
|
5194
5214
|
function JobsProvider() {
|
|
5195
5215
|
}
|
|
5196
5216
|
function JobsProviderImpl(logger) {
|
|
5197
|
-
this.
|
|
5217
|
+
this.s2t_1 = logger;
|
|
5198
5218
|
var tmp = this;
|
|
5199
5219
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
5200
|
-
tmp.
|
|
5220
|
+
tmp.t2t_1 = HashMap_init_$Create$();
|
|
5201
5221
|
}
|
|
5202
|
-
protoOf(JobsProviderImpl).
|
|
5203
|
-
if (this.
|
|
5204
|
-
this.
|
|
5222
|
+
protoOf(JobsProviderImpl).n2t = function (timerTag, job) {
|
|
5223
|
+
if (this.r2t(timerTag)) {
|
|
5224
|
+
this.s2t_1.w(VOID, 'Timer already exists for that tag: ' + timerTag);
|
|
5205
5225
|
}
|
|
5206
5226
|
// Inline function 'kotlin.collections.set' call
|
|
5207
|
-
this.
|
|
5227
|
+
this.t2t_1.k2(timerTag, job);
|
|
5208
5228
|
};
|
|
5209
|
-
protoOf(JobsProviderImpl).
|
|
5210
|
-
return this.
|
|
5229
|
+
protoOf(JobsProviderImpl).r2t = function (timerTag) {
|
|
5230
|
+
return this.t2t_1.r2(timerTag);
|
|
5211
5231
|
};
|
|
5212
|
-
protoOf(JobsProviderImpl).
|
|
5213
|
-
if (!this.
|
|
5214
|
-
this.
|
|
5232
|
+
protoOf(JobsProviderImpl).p2t = function (timerTag) {
|
|
5233
|
+
if (!this.r2t(timerTag)) {
|
|
5234
|
+
this.s2t_1.w(VOID, "Can't find timer for that tag: " + timerTag);
|
|
5215
5235
|
}
|
|
5216
|
-
this.
|
|
5236
|
+
this.t2t_1.l2(timerTag);
|
|
5217
5237
|
};
|
|
5218
|
-
protoOf(JobsProviderImpl).
|
|
5238
|
+
protoOf(JobsProviderImpl).q2t = function (timers) {
|
|
5219
5239
|
// Inline function 'kotlin.collections.forEach' call
|
|
5220
5240
|
var tmp0_iterator = timers.v();
|
|
5221
5241
|
while (tmp0_iterator.w()) {
|
|
5222
5242
|
var element = tmp0_iterator.y();
|
|
5223
5243
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
5224
|
-
var timer = this.
|
|
5244
|
+
var timer = this.t2t_1.t2(element);
|
|
5225
5245
|
if (timer == null)
|
|
5226
5246
|
null;
|
|
5227
5247
|
else {
|
|
5228
5248
|
timer.z1r();
|
|
5229
5249
|
}
|
|
5230
5250
|
}
|
|
5231
|
-
this.
|
|
5251
|
+
this.t2t_1.j2().a1(toSet(timers));
|
|
5232
5252
|
};
|
|
5233
|
-
protoOf(JobsProviderImpl).
|
|
5234
|
-
var timer = this.
|
|
5235
|
-
this.
|
|
5253
|
+
protoOf(JobsProviderImpl).o2t = function (timerTag) {
|
|
5254
|
+
var timer = this.t2t_1.t2(timerTag);
|
|
5255
|
+
this.t2t_1.l2(timerTag);
|
|
5236
5256
|
if (timer == null)
|
|
5237
5257
|
null;
|
|
5238
5258
|
else {
|
|
@@ -5314,29 +5334,12 @@
|
|
|
5314
5334
|
}
|
|
5315
5335
|
function filesModule$lambda$lambda($this$provider) {
|
|
5316
5336
|
_init_properties_DI_kt__lm8vuj();
|
|
5317
|
-
|
|
5318
|
-
var tmp = $this$provider.j1i();
|
|
5319
|
-
// Inline function 'org.kodein.type.generic' call
|
|
5320
|
-
var tmp_0 = typeToken(createKType(getKClass(CoreConfig), arrayOf([]), false));
|
|
5321
|
-
var tmp$ret$0 = isInterface(tmp_0, TypeToken) ? tmp_0 : THROW_CCE();
|
|
5322
|
-
var coreConfig = tmp.i1i(tmp$ret$0, null);
|
|
5323
|
-
var tmp0_safe_receiver = coreConfig.logsDirectoryPath;
|
|
5324
|
-
var tmp_1;
|
|
5325
|
-
if (tmp0_safe_receiver == null) {
|
|
5326
|
-
tmp_1 = null;
|
|
5327
|
-
} else {
|
|
5328
|
-
// Inline function 'kotlin.let' call
|
|
5329
|
-
// Inline function 'kotlin.contracts.contract' call
|
|
5330
|
-
// Inline function 'com.logic.di.filesModule.<anonymous>.<anonymous>.<anonymous>' call
|
|
5331
|
-
tmp_1 = Path(tmp0_safe_receiver);
|
|
5332
|
-
}
|
|
5333
|
-
var tmp1_elvis_lhs = tmp_1;
|
|
5334
|
-
return new FileSystemImpl(tmp1_elvis_lhs == null ? get_SystemTemporaryDirectory() : tmp1_elvis_lhs);
|
|
5337
|
+
return new FileSystemImpl();
|
|
5335
5338
|
}
|
|
5336
5339
|
function combinedLoggerModule$lambda$lambda($combinedLogger) {
|
|
5337
5340
|
return function ($this$singleton) {
|
|
5338
5341
|
var tmp0_elvis_lhs = $combinedLogger;
|
|
5339
|
-
return tmp0_elvis_lhs == null ?
|
|
5342
|
+
return tmp0_elvis_lhs == null ? Companion_instance_22.u2t() : tmp0_elvis_lhs;
|
|
5340
5343
|
};
|
|
5341
5344
|
}
|
|
5342
5345
|
function combinedLoggerModule$lambda$lambda_0($this$singleton) {
|
|
@@ -5507,30 +5510,52 @@
|
|
|
5507
5510
|
}
|
|
5508
5511
|
function FileSystem() {
|
|
5509
5512
|
}
|
|
5510
|
-
function FileSystemImpl(
|
|
5511
|
-
directory = directory === VOID ? get_SystemTemporaryDirectory() : directory;
|
|
5513
|
+
function FileSystemImpl(fileSystem) {
|
|
5512
5514
|
fileSystem = fileSystem === VOID ? get_SystemFileSystem() : fileSystem;
|
|
5513
|
-
this.
|
|
5514
|
-
this.x2t_1 = fileSystem;
|
|
5515
|
+
this.y2t_1 = fileSystem;
|
|
5515
5516
|
}
|
|
5516
|
-
protoOf(FileSystemImpl).
|
|
5517
|
-
var
|
|
5517
|
+
protoOf(FileSystemImpl).v2t = function (path, $completion) {
|
|
5518
|
+
var directoryPath = Path(path);
|
|
5519
|
+
var exists = this.y2t_1.m1p(directoryPath);
|
|
5518
5520
|
if (!exists) {
|
|
5519
|
-
this.
|
|
5521
|
+
this.y2t_1.q1p(directoryPath);
|
|
5520
5522
|
}
|
|
5521
|
-
return
|
|
5523
|
+
return Unit_instance;
|
|
5522
5524
|
};
|
|
5523
|
-
protoOf(FileSystemImpl).
|
|
5524
|
-
this.
|
|
5525
|
+
protoOf(FileSystemImpl).w2t = function (path, fileName, append, $completion) {
|
|
5526
|
+
return buffered(this.y2t_1.r1p(Path_0(path, [fileName]), append));
|
|
5527
|
+
};
|
|
5528
|
+
protoOf(FileSystemImpl).x2t = function (path, $completion) {
|
|
5529
|
+
this.y2t_1.o1p(Path_0(path, []));
|
|
5525
5530
|
return Unit_instance;
|
|
5526
5531
|
};
|
|
5527
5532
|
function LoggerFactoryImpl(coreConfig, fileSystem) {
|
|
5528
|
-
this.
|
|
5529
|
-
this.
|
|
5533
|
+
this.z2t_1 = coreConfig;
|
|
5534
|
+
this.a2u_1 = fileSystem;
|
|
5530
5535
|
}
|
|
5531
|
-
protoOf(LoggerFactoryImpl).
|
|
5532
|
-
|
|
5533
|
-
|
|
5536
|
+
protoOf(LoggerFactoryImpl).b2u = function (gameId, roomId, userId) {
|
|
5537
|
+
// Inline function 'kotlin.let' call
|
|
5538
|
+
// Inline function 'kotlin.contracts.contract' call
|
|
5539
|
+
// Inline function 'com.logic.domain.logs.LoggerFactoryImpl.createLogger.<anonymous>' call
|
|
5540
|
+
var it = this.z2t_1.fileNameFormat;
|
|
5541
|
+
var tmp = Companion_instance_1;
|
|
5542
|
+
var fileName = tmp.formatter(it, gameId, roomId, userId == null ? 'unknown_user_id' : userId);
|
|
5543
|
+
// Inline function 'kotlin.collections.map' call
|
|
5544
|
+
var this_0 = split(this.z2t_1.requireDirectoryPath, ['/']);
|
|
5545
|
+
// Inline function 'kotlin.collections.mapTo' call
|
|
5546
|
+
var destination = ArrayList_init_$Create$_0(collectionSizeOrDefault(this_0, 10));
|
|
5547
|
+
var tmp0_iterator = this_0.v();
|
|
5548
|
+
while (tmp0_iterator.w()) {
|
|
5549
|
+
var item = tmp0_iterator.y();
|
|
5550
|
+
// Inline function 'com.logic.domain.logs.LoggerFactoryImpl.createLogger.<anonymous>' call
|
|
5551
|
+
var tmp_0 = Companion_instance_1;
|
|
5552
|
+
var tmp$ret$2 = tmp_0.formatter(item, gameId, roomId, userId == null ? 'unknown_user_id' : userId);
|
|
5553
|
+
destination.s(tmp$ret$2);
|
|
5554
|
+
}
|
|
5555
|
+
var segments = destination;
|
|
5556
|
+
var tmp0_path = joinToString(segments, '/');
|
|
5557
|
+
var tmp1_fileSystem = this.a2u_1;
|
|
5558
|
+
return new LogsStorageControllerImpl(fileName, tmp0_path, tmp1_fileSystem);
|
|
5534
5559
|
};
|
|
5535
5560
|
function LoggerFactory() {
|
|
5536
5561
|
}
|
|
@@ -5542,8 +5567,8 @@
|
|
|
5542
5567
|
}
|
|
5543
5568
|
function $appendToFileCOROUTINE$0(_this__u8e3s4, message, resultContinuation) {
|
|
5544
5569
|
CoroutineImpl.call(this, resultContinuation);
|
|
5545
|
-
this.
|
|
5546
|
-
this.
|
|
5570
|
+
this.k2u_1 = _this__u8e3s4;
|
|
5571
|
+
this.l2u_1 = message;
|
|
5547
5572
|
}
|
|
5548
5573
|
protoOf($appendToFileCOROUTINE$0).ya = function () {
|
|
5549
5574
|
var suspendResult = this.na_1;
|
|
@@ -5555,7 +5580,7 @@
|
|
|
5555
5580
|
this.ma_1 = 3;
|
|
5556
5581
|
this.ma_1 = 2;
|
|
5557
5582
|
this.la_1 = 1;
|
|
5558
|
-
suspendResult = this.
|
|
5583
|
+
suspendResult = this.k2u_1.o2u_1.w2t(this.k2u_1.n2u_1, this.k2u_1.m2u_1, true, this);
|
|
5559
5584
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5560
5585
|
return suspendResult;
|
|
5561
5586
|
}
|
|
@@ -5566,7 +5591,7 @@
|
|
|
5566
5591
|
var sink = buffered(ARGUMENT);
|
|
5567
5592
|
l$ret$1: do {
|
|
5568
5593
|
try {
|
|
5569
|
-
writeString(sink, this.
|
|
5594
|
+
writeString(sink, this.l2u_1 + '\n');
|
|
5570
5595
|
break l$ret$1;
|
|
5571
5596
|
} catch ($p) {
|
|
5572
5597
|
var t = $p;
|
|
@@ -5584,7 +5609,7 @@
|
|
|
5584
5609
|
var tmp_0 = this.oa_1;
|
|
5585
5610
|
if (tmp_0 instanceof Exception) {
|
|
5586
5611
|
var e = this.oa_1;
|
|
5587
|
-
Logger_getInstance().
|
|
5612
|
+
Logger_getInstance().s2u(VOID, 'Error writing to log file: ' + e.message, e);
|
|
5588
5613
|
this.la_1 = 4;
|
|
5589
5614
|
continue $sm;
|
|
5590
5615
|
} else {
|
|
@@ -5608,11 +5633,15 @@
|
|
|
5608
5633
|
}
|
|
5609
5634
|
while (true);
|
|
5610
5635
|
};
|
|
5611
|
-
function LogsStorageControllerImpl(fileName, fileSystem) {
|
|
5612
|
-
this.
|
|
5613
|
-
this.
|
|
5636
|
+
function LogsStorageControllerImpl(fileName, path, fileSystem) {
|
|
5637
|
+
this.m2u_1 = fileName;
|
|
5638
|
+
this.n2u_1 = path;
|
|
5639
|
+
this.o2u_1 = fileSystem;
|
|
5614
5640
|
}
|
|
5615
|
-
protoOf(LogsStorageControllerImpl).
|
|
5641
|
+
protoOf(LogsStorageControllerImpl).t2u = function ($completion) {
|
|
5642
|
+
return this.o2u_1.v2t(this.n2u_1, $completion);
|
|
5643
|
+
};
|
|
5644
|
+
protoOf(LogsStorageControllerImpl).u2u = function (log, $completion) {
|
|
5616
5645
|
return appendToFile(this, log, $completion);
|
|
5617
5646
|
};
|
|
5618
5647
|
function BufferedAction() {
|
|
@@ -5627,22 +5656,22 @@
|
|
|
5627
5656
|
initialDelay = initialDelay === VOID ? new Long(0, 0) : initialDelay;
|
|
5628
5657
|
type = type === VOID ? TimerType_DELAY_getInstance() : type;
|
|
5629
5658
|
TimerAction.call(this);
|
|
5630
|
-
this.
|
|
5631
|
-
this.
|
|
5632
|
-
this.
|
|
5633
|
-
this.
|
|
5659
|
+
this.z2u_1 = timerTag;
|
|
5660
|
+
this.a2v_1 = delayMillis;
|
|
5661
|
+
this.b2v_1 = initialDelay;
|
|
5662
|
+
this.c2v_1 = type;
|
|
5634
5663
|
}
|
|
5635
|
-
protoOf(StartTimerAction).
|
|
5636
|
-
return this.
|
|
5664
|
+
protoOf(StartTimerAction).d2v = function () {
|
|
5665
|
+
return this.z2u_1;
|
|
5637
5666
|
};
|
|
5638
5667
|
protoOf(StartTimerAction).toString = function () {
|
|
5639
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
5668
|
+
return 'StartTimerAction(timerTag=' + this.z2u_1 + ', delayMillis=' + this.a2v_1.toString() + ', initialDelay=' + this.b2v_1.toString() + ', type=' + this.c2v_1 + ')';
|
|
5640
5669
|
};
|
|
5641
5670
|
protoOf(StartTimerAction).hashCode = function () {
|
|
5642
|
-
var result = hashCode(this.
|
|
5643
|
-
result = imul(result, 31) + this.
|
|
5644
|
-
result = imul(result, 31) + this.
|
|
5645
|
-
result = imul(result, 31) + this.
|
|
5671
|
+
var result = hashCode(this.z2u_1);
|
|
5672
|
+
result = imul(result, 31) + this.a2v_1.hashCode() | 0;
|
|
5673
|
+
result = imul(result, 31) + this.b2v_1.hashCode() | 0;
|
|
5674
|
+
result = imul(result, 31) + this.c2v_1.hashCode() | 0;
|
|
5646
5675
|
return result;
|
|
5647
5676
|
};
|
|
5648
5677
|
protoOf(StartTimerAction).equals = function (other) {
|
|
@@ -5651,13 +5680,13 @@
|
|
|
5651
5680
|
if (!(other instanceof StartTimerAction))
|
|
5652
5681
|
return false;
|
|
5653
5682
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
5654
|
-
if (!equals(this.
|
|
5683
|
+
if (!equals(this.z2u_1, tmp0_other_with_cast.z2u_1))
|
|
5655
5684
|
return false;
|
|
5656
|
-
if (!this.
|
|
5685
|
+
if (!this.a2v_1.equals(tmp0_other_with_cast.a2v_1))
|
|
5657
5686
|
return false;
|
|
5658
|
-
if (!this.
|
|
5687
|
+
if (!this.b2v_1.equals(tmp0_other_with_cast.b2v_1))
|
|
5659
5688
|
return false;
|
|
5660
|
-
if (!this.
|
|
5689
|
+
if (!this.c2v_1.equals(tmp0_other_with_cast.c2v_1))
|
|
5661
5690
|
return false;
|
|
5662
5691
|
return true;
|
|
5663
5692
|
};
|
|
@@ -5676,21 +5705,21 @@
|
|
|
5676
5705
|
}
|
|
5677
5706
|
function TimerTickAction(timerTag, type) {
|
|
5678
5707
|
TimerAction.call(this);
|
|
5679
|
-
this.
|
|
5680
|
-
this.
|
|
5708
|
+
this.e2v_1 = timerTag;
|
|
5709
|
+
this.f2v_1 = type;
|
|
5681
5710
|
}
|
|
5682
|
-
protoOf(TimerTickAction).
|
|
5683
|
-
return this.
|
|
5711
|
+
protoOf(TimerTickAction).d2v = function () {
|
|
5712
|
+
return this.e2v_1;
|
|
5684
5713
|
};
|
|
5685
5714
|
protoOf(TimerTickAction).notValidateWhenFinished = function () {
|
|
5686
|
-
return this.
|
|
5715
|
+
return this.e2v_1.notValidateWhenFinished();
|
|
5687
5716
|
};
|
|
5688
5717
|
protoOf(TimerTickAction).toString = function () {
|
|
5689
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
5718
|
+
return 'TimerTickAction(timerTag=' + this.e2v_1 + ', type=' + this.f2v_1 + ')';
|
|
5690
5719
|
};
|
|
5691
5720
|
protoOf(TimerTickAction).hashCode = function () {
|
|
5692
|
-
var result = hashCode(this.
|
|
5693
|
-
result = imul(result, 31) + this.
|
|
5721
|
+
var result = hashCode(this.e2v_1);
|
|
5722
|
+
result = imul(result, 31) + this.f2v_1.hashCode() | 0;
|
|
5694
5723
|
return result;
|
|
5695
5724
|
};
|
|
5696
5725
|
protoOf(TimerTickAction).equals = function (other) {
|
|
@@ -5699,24 +5728,24 @@
|
|
|
5699
5728
|
if (!(other instanceof TimerTickAction))
|
|
5700
5729
|
return false;
|
|
5701
5730
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
5702
|
-
if (!equals(this.
|
|
5731
|
+
if (!equals(this.e2v_1, tmp0_other_with_cast.e2v_1))
|
|
5703
5732
|
return false;
|
|
5704
|
-
if (!this.
|
|
5733
|
+
if (!this.f2v_1.equals(tmp0_other_with_cast.f2v_1))
|
|
5705
5734
|
return false;
|
|
5706
5735
|
return true;
|
|
5707
5736
|
};
|
|
5708
5737
|
function StopTimerAction(timerTag) {
|
|
5709
5738
|
TimerAction.call(this);
|
|
5710
|
-
this.
|
|
5739
|
+
this.g2v_1 = timerTag;
|
|
5711
5740
|
}
|
|
5712
|
-
protoOf(StopTimerAction).
|
|
5713
|
-
return this.
|
|
5741
|
+
protoOf(StopTimerAction).d2v = function () {
|
|
5742
|
+
return this.g2v_1;
|
|
5714
5743
|
};
|
|
5715
5744
|
protoOf(StopTimerAction).toString = function () {
|
|
5716
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
5745
|
+
return 'StopTimerAction(timerTag=' + this.g2v_1 + ')';
|
|
5717
5746
|
};
|
|
5718
5747
|
protoOf(StopTimerAction).hashCode = function () {
|
|
5719
|
-
return hashCode(this.
|
|
5748
|
+
return hashCode(this.g2v_1);
|
|
5720
5749
|
};
|
|
5721
5750
|
protoOf(StopTimerAction).equals = function (other) {
|
|
5722
5751
|
if (this === other)
|
|
@@ -5724,7 +5753,7 @@
|
|
|
5724
5753
|
if (!(other instanceof StopTimerAction))
|
|
5725
5754
|
return false;
|
|
5726
5755
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
5727
|
-
if (!equals(this.
|
|
5756
|
+
if (!equals(this.g2v_1, tmp0_other_with_cast.g2v_1))
|
|
5728
5757
|
return false;
|
|
5729
5758
|
return true;
|
|
5730
5759
|
};
|
|
@@ -5782,7 +5811,7 @@
|
|
|
5782
5811
|
}
|
|
5783
5812
|
function applyMiddleware$lambda$lambda$lambda$lambda($middleware, $store, $dispatcher) {
|
|
5784
5813
|
return function (action) {
|
|
5785
|
-
$middleware.
|
|
5814
|
+
$middleware.h2v($store, $dispatcher, action);
|
|
5786
5815
|
return Unit_instance;
|
|
5787
5816
|
};
|
|
5788
5817
|
}
|
|
@@ -5798,7 +5827,7 @@
|
|
|
5798
5827
|
var element = this_0[inductionVariable];
|
|
5799
5828
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5800
5829
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
5801
|
-
if (element.
|
|
5830
|
+
if (element.i2v(action)) {
|
|
5802
5831
|
destination.s(element);
|
|
5803
5832
|
}
|
|
5804
5833
|
}
|
|
@@ -5836,8 +5865,8 @@
|
|
|
5836
5865
|
return applyThread$lambda(asyncProvider);
|
|
5837
5866
|
}
|
|
5838
5867
|
function applyThread$lambda$lambda$lambda$slambda($origDispatch, $action, resultContinuation) {
|
|
5839
|
-
this.
|
|
5840
|
-
this.
|
|
5868
|
+
this.r2v_1 = $origDispatch;
|
|
5869
|
+
this.s2v_1 = $action;
|
|
5841
5870
|
CoroutineImpl.call(this, resultContinuation);
|
|
5842
5871
|
}
|
|
5843
5872
|
protoOf(applyThread$lambda$lambda$lambda$slambda).f2b = function ($this$launchUnconfinedWithLock, $completion) {
|
|
@@ -5856,7 +5885,7 @@
|
|
|
5856
5885
|
var tmp = this.la_1;
|
|
5857
5886
|
if (tmp === 0) {
|
|
5858
5887
|
this.ma_1 = 1;
|
|
5859
|
-
this.
|
|
5888
|
+
this.r2v_1(this.s2v_1);
|
|
5860
5889
|
return Unit_instance;
|
|
5861
5890
|
} else if (tmp === 1) {
|
|
5862
5891
|
throw this.oa_1;
|
|
@@ -5868,8 +5897,8 @@
|
|
|
5868
5897
|
while (true);
|
|
5869
5898
|
};
|
|
5870
5899
|
protoOf(applyThread$lambda$lambda$lambda$slambda).g2b = function ($this$launchUnconfinedWithLock, completion) {
|
|
5871
|
-
var i = new applyThread$lambda$lambda$lambda$slambda(this.
|
|
5872
|
-
i.
|
|
5900
|
+
var i = new applyThread$lambda$lambda$lambda$slambda(this.r2v_1, this.s2v_1, completion);
|
|
5901
|
+
i.t2v_1 = $this$launchUnconfinedWithLock;
|
|
5873
5902
|
return i;
|
|
5874
5903
|
};
|
|
5875
5904
|
function applyThread$lambda$lambda$lambda$slambda_0($origDispatch, $action, resultContinuation) {
|
|
@@ -5882,7 +5911,7 @@
|
|
|
5882
5911
|
}
|
|
5883
5912
|
function applyThread$lambda$lambda$lambda($asyncProvider, $origDispatch) {
|
|
5884
5913
|
return function (action) {
|
|
5885
|
-
$asyncProvider.
|
|
5914
|
+
$asyncProvider.r2r(VOID, applyThread$lambda$lambda$lambda$slambda_0($origDispatch, action, null));
|
|
5886
5915
|
return Unit_instance;
|
|
5887
5916
|
};
|
|
5888
5917
|
}
|
|
@@ -5904,9 +5933,9 @@
|
|
|
5904
5933
|
return new _no_name_provided__qut3iv_0(asyncProvider, jobsProvider);
|
|
5905
5934
|
}
|
|
5906
5935
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $action, $store, resultContinuation) {
|
|
5907
|
-
this.
|
|
5908
|
-
this.
|
|
5909
|
-
this.
|
|
5936
|
+
this.c2w_1 = $jobsProvider;
|
|
5937
|
+
this.d2w_1 = $action;
|
|
5938
|
+
this.e2w_1 = $store;
|
|
5910
5939
|
CoroutineImpl.call(this, resultContinuation);
|
|
5911
5940
|
}
|
|
5912
5941
|
protoOf(timerMiddleware$o$handle$slambda$slambda).f2b = function ($this$launchMain, $completion) {
|
|
@@ -5925,8 +5954,8 @@
|
|
|
5925
5954
|
var tmp = this.la_1;
|
|
5926
5955
|
if (tmp === 0) {
|
|
5927
5956
|
this.ma_1 = 1;
|
|
5928
|
-
if (this.
|
|
5929
|
-
this.
|
|
5957
|
+
if (this.c2w_1.r2t(this.d2w_1.d2v())) {
|
|
5958
|
+
this.e2w_1.dispatch(new TimerTickAction(this.d2w_1.d2v(), TimerType_DELAY_getInstance()));
|
|
5930
5959
|
}
|
|
5931
5960
|
return Unit_instance;
|
|
5932
5961
|
} else if (tmp === 1) {
|
|
@@ -5939,8 +5968,8 @@
|
|
|
5939
5968
|
while (true);
|
|
5940
5969
|
};
|
|
5941
5970
|
protoOf(timerMiddleware$o$handle$slambda$slambda).g2b = function ($this$launchMain, completion) {
|
|
5942
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
5943
|
-
i.
|
|
5971
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.c2w_1, this.d2w_1, this.e2w_1, completion);
|
|
5972
|
+
i.f2w_1 = $this$launchMain;
|
|
5944
5973
|
return i;
|
|
5945
5974
|
};
|
|
5946
5975
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $action, $store, resultContinuation) {
|
|
@@ -5952,9 +5981,9 @@
|
|
|
5952
5981
|
return l;
|
|
5953
5982
|
}
|
|
5954
5983
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $action, $store, resultContinuation) {
|
|
5955
|
-
this.
|
|
5956
|
-
this.
|
|
5957
|
-
this.
|
|
5984
|
+
this.o2w_1 = $jobsProvider;
|
|
5985
|
+
this.p2w_1 = $action;
|
|
5986
|
+
this.q2w_1 = $store;
|
|
5958
5987
|
CoroutineImpl.call(this, resultContinuation);
|
|
5959
5988
|
}
|
|
5960
5989
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).f2b = function ($this$launchMain, $completion) {
|
|
@@ -5973,8 +6002,8 @@
|
|
|
5973
6002
|
var tmp = this.la_1;
|
|
5974
6003
|
if (tmp === 0) {
|
|
5975
6004
|
this.ma_1 = 1;
|
|
5976
|
-
if (this.
|
|
5977
|
-
this.
|
|
6005
|
+
if (this.o2w_1.r2t(this.p2w_1.d2v())) {
|
|
6006
|
+
this.q2w_1.dispatch(new TimerTickAction(this.p2w_1.d2v(), TimerType_INTERVAL_getInstance()));
|
|
5978
6007
|
}
|
|
5979
6008
|
return Unit_instance;
|
|
5980
6009
|
} else if (tmp === 1) {
|
|
@@ -5987,8 +6016,8 @@
|
|
|
5987
6016
|
while (true);
|
|
5988
6017
|
};
|
|
5989
6018
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).g2b = function ($this$launchMain, completion) {
|
|
5990
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
5991
|
-
i.
|
|
6019
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.o2w_1, this.p2w_1, this.q2w_1, completion);
|
|
6020
|
+
i.r2w_1 = $this$launchMain;
|
|
5992
6021
|
return i;
|
|
5993
6022
|
};
|
|
5994
6023
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $action, $store, resultContinuation) {
|
|
@@ -6000,10 +6029,10 @@
|
|
|
6000
6029
|
return l;
|
|
6001
6030
|
}
|
|
6002
6031
|
function timerMiddleware$o$handle$slambda($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
6003
|
-
this.
|
|
6004
|
-
this.
|
|
6005
|
-
this.
|
|
6006
|
-
this.
|
|
6032
|
+
this.a2x_1 = $action;
|
|
6033
|
+
this.b2x_1 = $asyncProvider;
|
|
6034
|
+
this.c2x_1 = $jobsProvider;
|
|
6035
|
+
this.d2x_1 = $store;
|
|
6007
6036
|
CoroutineImpl.call(this, resultContinuation);
|
|
6008
6037
|
}
|
|
6009
6038
|
protoOf(timerMiddleware$o$handle$slambda).f2b = function ($this$launchDefault, $completion) {
|
|
@@ -6023,9 +6052,9 @@
|
|
|
6023
6052
|
switch (tmp) {
|
|
6024
6053
|
case 0:
|
|
6025
6054
|
this.ma_1 = 10;
|
|
6026
|
-
if (!this.
|
|
6055
|
+
if (!this.a2x_1.b2v_1.equals(new Long(0, 0)) ? this.a2x_1.c2v_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
6027
6056
|
this.la_1 = 1;
|
|
6028
|
-
suspendResult = delay(this.
|
|
6057
|
+
suspendResult = delay(this.a2x_1.b2v_1, this);
|
|
6029
6058
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6030
6059
|
return suspendResult;
|
|
6031
6060
|
}
|
|
@@ -6039,20 +6068,20 @@
|
|
|
6039
6068
|
this.la_1 = 2;
|
|
6040
6069
|
continue $sm;
|
|
6041
6070
|
case 2:
|
|
6042
|
-
this.
|
|
6043
|
-
this.
|
|
6044
|
-
if (this.
|
|
6071
|
+
this.f2x_1 = this.a2x_1.c2v_1;
|
|
6072
|
+
this.g2x_1 = this.f2x_1.g8_1;
|
|
6073
|
+
if (this.g2x_1 === 0) {
|
|
6045
6074
|
this.la_1 = 8;
|
|
6046
|
-
suspendResult = delay(this.
|
|
6075
|
+
suspendResult = delay(this.a2x_1.a2v_1, this);
|
|
6047
6076
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6048
6077
|
return suspendResult;
|
|
6049
6078
|
}
|
|
6050
6079
|
continue $sm;
|
|
6051
6080
|
} else {
|
|
6052
|
-
if (this.
|
|
6053
|
-
if (!this.
|
|
6081
|
+
if (this.g2x_1 === 1) {
|
|
6082
|
+
if (!this.a2x_1.b2v_1.equals(new Long(0, 0))) {
|
|
6054
6083
|
this.la_1 = 3;
|
|
6055
|
-
suspendResult = delay(this.
|
|
6084
|
+
suspendResult = delay(this.a2x_1.b2v_1, this);
|
|
6056
6085
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6057
6086
|
return suspendResult;
|
|
6058
6087
|
}
|
|
@@ -6074,14 +6103,14 @@
|
|
|
6074
6103
|
this.la_1 = 5;
|
|
6075
6104
|
continue $sm;
|
|
6076
6105
|
case 5:
|
|
6077
|
-
if (!get_isActive(this.
|
|
6106
|
+
if (!get_isActive(this.e2x_1)) {
|
|
6078
6107
|
this.la_1 = 7;
|
|
6079
6108
|
continue $sm;
|
|
6080
6109
|
}
|
|
6081
6110
|
|
|
6082
|
-
this.
|
|
6111
|
+
this.b2x_1.x2r(VOID, timerMiddleware$o$handle$slambda$slambda_2(this.c2x_1, this.a2x_1, this.d2x_1, null));
|
|
6083
6112
|
this.la_1 = 6;
|
|
6084
|
-
suspendResult = delay(this.
|
|
6113
|
+
suspendResult = delay(this.a2x_1.b2v_1, this);
|
|
6085
6114
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6086
6115
|
return suspendResult;
|
|
6087
6116
|
}
|
|
@@ -6094,7 +6123,7 @@
|
|
|
6094
6123
|
this.la_1 = 9;
|
|
6095
6124
|
continue $sm;
|
|
6096
6125
|
case 8:
|
|
6097
|
-
this.
|
|
6126
|
+
this.b2x_1.x2r(VOID, timerMiddleware$o$handle$slambda$slambda_0(this.c2x_1, this.a2x_1, this.d2x_1, null));
|
|
6098
6127
|
this.la_1 = 9;
|
|
6099
6128
|
continue $sm;
|
|
6100
6129
|
case 9:
|
|
@@ -6114,8 +6143,8 @@
|
|
|
6114
6143
|
while (true);
|
|
6115
6144
|
};
|
|
6116
6145
|
protoOf(timerMiddleware$o$handle$slambda).g2b = function ($this$launchDefault, completion) {
|
|
6117
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
6118
|
-
i.
|
|
6146
|
+
var i = new timerMiddleware$o$handle$slambda(this.a2x_1, this.b2x_1, this.c2x_1, this.d2x_1, completion);
|
|
6147
|
+
i.e2x_1 = $this$launchDefault;
|
|
6119
6148
|
return i;
|
|
6120
6149
|
};
|
|
6121
6150
|
function timerMiddleware$o$handle$slambda_0($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
@@ -6127,33 +6156,33 @@
|
|
|
6127
6156
|
return l;
|
|
6128
6157
|
}
|
|
6129
6158
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
6130
|
-
this.
|
|
6131
|
-
this.
|
|
6159
|
+
this.h2x_1 = $asyncProvider;
|
|
6160
|
+
this.i2x_1 = $jobsProvider;
|
|
6132
6161
|
}
|
|
6133
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
6162
|
+
protoOf(_no_name_provided__qut3iv_0).i2v = function (action) {
|
|
6134
6163
|
return action instanceof TimerAction;
|
|
6135
6164
|
};
|
|
6136
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
6165
|
+
protoOf(_no_name_provided__qut3iv_0).j2x = function (store, next, action) {
|
|
6137
6166
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
6138
6167
|
var action_0 = action instanceof TimerAction ? action : THROW_CCE();
|
|
6139
6168
|
if (action_0 instanceof StartTimerAction) {
|
|
6140
|
-
var job = this.
|
|
6141
|
-
this.
|
|
6169
|
+
var job = this.h2x_1.t2r(VOID, timerMiddleware$o$handle$slambda_0(action_0, this.h2x_1, this.i2x_1, store, null));
|
|
6170
|
+
this.i2x_1.n2t(action_0.d2v(), job);
|
|
6142
6171
|
} else {
|
|
6143
6172
|
if (action_0 instanceof StopTimerAction) {
|
|
6144
|
-
this.
|
|
6173
|
+
this.i2x_1.o2t(action_0.d2v());
|
|
6145
6174
|
} else {
|
|
6146
6175
|
if (action_0 instanceof TimerTickAction) {
|
|
6147
|
-
if (action_0.
|
|
6148
|
-
this.
|
|
6176
|
+
if (action_0.f2v_1.equals(TimerType_DELAY_getInstance())) {
|
|
6177
|
+
this.i2x_1.p2t(action_0.d2v());
|
|
6149
6178
|
}
|
|
6150
6179
|
}
|
|
6151
6180
|
}
|
|
6152
6181
|
}
|
|
6153
6182
|
next(action_0);
|
|
6154
6183
|
};
|
|
6155
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
6156
|
-
return this.
|
|
6184
|
+
protoOf(_no_name_provided__qut3iv_0).h2v = function (store, next, action) {
|
|
6185
|
+
return this.j2x(store, next, action);
|
|
6157
6186
|
};
|
|
6158
6187
|
function compose(functions) {
|
|
6159
6188
|
return compose$lambda(functions);
|
|
@@ -6189,7 +6218,7 @@
|
|
|
6189
6218
|
}
|
|
6190
6219
|
function createStore$dispatch(currentState, currentReducer, $logger, stateTrigger, action) {
|
|
6191
6220
|
try {
|
|
6192
|
-
currentState._v = currentReducer._v.
|
|
6221
|
+
currentState._v = currentReducer._v.k2x(currentState._v, action);
|
|
6193
6222
|
} catch ($p) {
|
|
6194
6223
|
if ($p instanceof Exception) {
|
|
6195
6224
|
var exception = $p;
|
|
@@ -6210,18 +6239,18 @@
|
|
|
6210
6239
|
};
|
|
6211
6240
|
}
|
|
6212
6241
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation) {
|
|
6213
|
-
this.
|
|
6214
|
-
this.
|
|
6242
|
+
this.t2x_1 = $$this$unsafeFlow;
|
|
6243
|
+
this.u2x_1 = this$0;
|
|
6215
6244
|
CoroutineImpl.call(this, resultContinuation);
|
|
6216
6245
|
}
|
|
6217
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
6218
|
-
var tmp = this.
|
|
6246
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).y2x = function (value, $completion) {
|
|
6247
|
+
var tmp = this.z2x(value, $completion);
|
|
6219
6248
|
tmp.na_1 = Unit_instance;
|
|
6220
6249
|
tmp.oa_1 = null;
|
|
6221
6250
|
return tmp.ya();
|
|
6222
6251
|
};
|
|
6223
6252
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).lb = function (p1, $completion) {
|
|
6224
|
-
return this.
|
|
6253
|
+
return this.y2x(p1 instanceof Unit ? p1 : THROW_CCE(), $completion);
|
|
6225
6254
|
};
|
|
6226
6255
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).ya = function () {
|
|
6227
6256
|
var suspendResult = this.na_1;
|
|
@@ -6232,12 +6261,12 @@
|
|
|
6232
6261
|
case 0:
|
|
6233
6262
|
this.ma_1 = 2;
|
|
6234
6263
|
var tmp_0 = this;
|
|
6235
|
-
tmp_0.
|
|
6264
|
+
tmp_0.w2x_1 = this.t2x_1;
|
|
6236
6265
|
var tmp_1 = this;
|
|
6237
|
-
tmp_1.
|
|
6266
|
+
tmp_1.x2x_1 = this.v2x_1;
|
|
6238
6267
|
this.la_1 = 1;
|
|
6239
|
-
this.
|
|
6240
|
-
suspendResult = this.
|
|
6268
|
+
this.x2x_1;
|
|
6269
|
+
suspendResult = this.w2x_1.i26(this.u2x_1.state, this);
|
|
6241
6270
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6242
6271
|
return suspendResult;
|
|
6243
6272
|
}
|
|
@@ -6259,23 +6288,23 @@
|
|
|
6259
6288
|
}
|
|
6260
6289
|
while (true);
|
|
6261
6290
|
};
|
|
6262
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
6263
|
-
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.
|
|
6264
|
-
i.
|
|
6291
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).z2x = function (value, completion) {
|
|
6292
|
+
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.t2x_1, this.u2x_1, completion);
|
|
6293
|
+
i.v2x_1 = value;
|
|
6265
6294
|
return i;
|
|
6266
6295
|
};
|
|
6267
6296
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
6268
6297
|
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation);
|
|
6269
6298
|
var l = function (value, $completion) {
|
|
6270
|
-
return i.
|
|
6299
|
+
return i.y2x(value, $completion);
|
|
6271
6300
|
};
|
|
6272
6301
|
l.$arity = 1;
|
|
6273
6302
|
return l;
|
|
6274
6303
|
}
|
|
6275
6304
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
6276
6305
|
CoroutineImpl.call(this, resultContinuation);
|
|
6277
|
-
this.
|
|
6278
|
-
this.
|
|
6306
|
+
this.i2y_1 = _this__u8e3s4;
|
|
6307
|
+
this.j2y_1 = collector;
|
|
6279
6308
|
}
|
|
6280
6309
|
protoOf($collectCOROUTINE$1).ya = function () {
|
|
6281
6310
|
var suspendResult = this.na_1;
|
|
@@ -6286,10 +6315,10 @@
|
|
|
6286
6315
|
case 0:
|
|
6287
6316
|
this.ma_1 = 2;
|
|
6288
6317
|
var tmp_0 = this;
|
|
6289
|
-
tmp_0.
|
|
6318
|
+
tmp_0.k2y_1 = this.j2y_1;
|
|
6290
6319
|
this.la_1 = 1;
|
|
6291
|
-
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.
|
|
6292
|
-
suspendResult = this.
|
|
6320
|
+
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.k2y_1, this.i2y_1.m2y_1, null);
|
|
6321
|
+
suspendResult = this.i2y_1.l2y_1.s25(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
6293
6322
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
6294
6323
|
return suspendResult;
|
|
6295
6324
|
}
|
|
@@ -6312,10 +6341,10 @@
|
|
|
6312
6341
|
while (true);
|
|
6313
6342
|
};
|
|
6314
6343
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
6315
|
-
this.
|
|
6344
|
+
this.n2y_1 = function_0;
|
|
6316
6345
|
}
|
|
6317
6346
|
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).i26 = function (value, $completion) {
|
|
6318
|
-
return this.
|
|
6347
|
+
return this.n2y_1(value, $completion);
|
|
6319
6348
|
};
|
|
6320
6349
|
function createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
6321
6350
|
return function (action) {
|
|
@@ -6330,46 +6359,46 @@
|
|
|
6330
6359
|
};
|
|
6331
6360
|
}
|
|
6332
6361
|
function _no_name_provided__qut3iv_1($this, this$0) {
|
|
6333
|
-
this.
|
|
6334
|
-
this.
|
|
6362
|
+
this.l2y_1 = $this;
|
|
6363
|
+
this.m2y_1 = this$0;
|
|
6335
6364
|
}
|
|
6336
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
6365
|
+
protoOf(_no_name_provided__qut3iv_1).o2y = function (collector, $completion) {
|
|
6337
6366
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
6338
6367
|
tmp.na_1 = Unit_instance;
|
|
6339
6368
|
tmp.oa_1 = null;
|
|
6340
6369
|
return tmp.ya();
|
|
6341
6370
|
};
|
|
6342
6371
|
protoOf(_no_name_provided__qut3iv_1).s25 = function (collector, $completion) {
|
|
6343
|
-
return this.
|
|
6372
|
+
return this.o2y(collector, $completion);
|
|
6344
6373
|
};
|
|
6345
6374
|
function createStore$2($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
6346
|
-
this.
|
|
6347
|
-
this.
|
|
6348
|
-
this.
|
|
6375
|
+
this.s2y_1 = $currentState;
|
|
6376
|
+
this.t2y_1 = $stateTrigger;
|
|
6377
|
+
this.p2y_1 = this;
|
|
6349
6378
|
var tmp = this;
|
|
6350
|
-
tmp.
|
|
6379
|
+
tmp.q2y_1 = createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger);
|
|
6351
6380
|
var tmp_0 = this;
|
|
6352
|
-
tmp_0.
|
|
6381
|
+
tmp_0.r2y_1 = createStore$o$replaceReducer$lambda($currentReducer, $currentState, $logger, $stateTrigger);
|
|
6353
6382
|
}
|
|
6354
|
-
protoOf(createStore$2).
|
|
6355
|
-
return this.
|
|
6383
|
+
protoOf(createStore$2).u2y = function () {
|
|
6384
|
+
return this.p2y_1;
|
|
6356
6385
|
};
|
|
6357
6386
|
protoOf(createStore$2).k1r = function () {
|
|
6358
|
-
return createStore$getState(this.
|
|
6387
|
+
return createStore$getState(this.s2y_1);
|
|
6359
6388
|
};
|
|
6360
|
-
protoOf(createStore$2).
|
|
6361
|
-
this.
|
|
6389
|
+
protoOf(createStore$2).v2y = function (_set____db54di) {
|
|
6390
|
+
this.q2y_1 = _set____db54di;
|
|
6362
6391
|
};
|
|
6363
|
-
protoOf(createStore$2).
|
|
6364
|
-
return this.
|
|
6392
|
+
protoOf(createStore$2).w2y = function () {
|
|
6393
|
+
return this.q2y_1;
|
|
6365
6394
|
};
|
|
6366
|
-
protoOf(createStore$2).
|
|
6367
|
-
return this.
|
|
6395
|
+
protoOf(createStore$2).x2y = function () {
|
|
6396
|
+
return this.r2y_1;
|
|
6368
6397
|
};
|
|
6369
|
-
protoOf(createStore$2).
|
|
6398
|
+
protoOf(createStore$2).y2y = function () {
|
|
6370
6399
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
6371
6400
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
6372
|
-
var this_0 = this.
|
|
6401
|
+
var this_0 = this.t2y_1;
|
|
6373
6402
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
6374
6403
|
return new _no_name_provided__qut3iv_1(this_0, this);
|
|
6375
6404
|
};
|
|
@@ -6447,10 +6476,10 @@
|
|
|
6447
6476
|
return new middleware$1(dispatch);
|
|
6448
6477
|
}
|
|
6449
6478
|
function middleware$1($dispatch) {
|
|
6450
|
-
this.
|
|
6479
|
+
this.z2y_1 = $dispatch;
|
|
6451
6480
|
}
|
|
6452
|
-
protoOf(middleware$1).
|
|
6453
|
-
this.
|
|
6481
|
+
protoOf(middleware$1).h2v = function (store, next, action) {
|
|
6482
|
+
this.z2y_1(store, next, action);
|
|
6454
6483
|
};
|
|
6455
6484
|
function Reducer() {
|
|
6456
6485
|
}
|
|
@@ -6458,13 +6487,13 @@
|
|
|
6458
6487
|
return new combineReducers$1(reducers);
|
|
6459
6488
|
}
|
|
6460
6489
|
function combineReducers$1($reducers) {
|
|
6461
|
-
this.
|
|
6490
|
+
this.a2z_1 = $reducers;
|
|
6462
6491
|
}
|
|
6463
|
-
protoOf(combineReducers$1).
|
|
6492
|
+
protoOf(combineReducers$1).b2z = function (state, action) {
|
|
6464
6493
|
// Inline function 'kotlin.collections.fold' call
|
|
6465
6494
|
// Inline function 'kotlin.collections.filter' call
|
|
6466
6495
|
// Inline function 'kotlin.collections.filterTo' call
|
|
6467
|
-
var this_0 = this.
|
|
6496
|
+
var this_0 = this.a2z_1;
|
|
6468
6497
|
var destination = ArrayList_init_$Create$();
|
|
6469
6498
|
var inductionVariable = 0;
|
|
6470
6499
|
var last = this_0.length;
|
|
@@ -6472,7 +6501,7 @@
|
|
|
6472
6501
|
var element = this_0[inductionVariable];
|
|
6473
6502
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6474
6503
|
// Inline function 'com.logic.redux.store.definitions.<no name provided>.reduce.<anonymous>' call
|
|
6475
|
-
if (element.
|
|
6504
|
+
if (element.i2v(action)) {
|
|
6476
6505
|
destination.s(element);
|
|
6477
6506
|
}
|
|
6478
6507
|
}
|
|
@@ -6482,12 +6511,12 @@
|
|
|
6482
6511
|
var element_0 = tmp0_iterator.y();
|
|
6483
6512
|
// Inline function 'com.logic.redux.store.definitions.<no name provided>.reduce.<anonymous>' call
|
|
6484
6513
|
var s = accumulator;
|
|
6485
|
-
accumulator = element_0.
|
|
6514
|
+
accumulator = element_0.k2x(s, action);
|
|
6486
6515
|
}
|
|
6487
6516
|
return accumulator;
|
|
6488
6517
|
};
|
|
6489
|
-
protoOf(combineReducers$1).
|
|
6490
|
-
return this.
|
|
6518
|
+
protoOf(combineReducers$1).k2x = function (state, action) {
|
|
6519
|
+
return this.b2z((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6491
6520
|
};
|
|
6492
6521
|
function Store() {
|
|
6493
6522
|
}
|
|
@@ -6634,23 +6663,23 @@
|
|
|
6634
6663
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
6635
6664
|
}
|
|
6636
6665
|
function generateTag($this, tag) {
|
|
6637
|
-
return (!($this.
|
|
6666
|
+
return (!($this.r2u_1 == null) ? !(tag == null) : false) ? '' + $this.r2u_1 + ':' + tag : tag;
|
|
6638
6667
|
}
|
|
6639
6668
|
function Category(name, ordinal, isEnabled) {
|
|
6640
6669
|
Enum.call(this, name, ordinal);
|
|
6641
|
-
this.
|
|
6670
|
+
this.e2z_1 = isEnabled;
|
|
6642
6671
|
}
|
|
6643
6672
|
function Logger$loggerSource$1() {
|
|
6644
|
-
this.
|
|
6673
|
+
this.f2z_1 = new PlatformLogger();
|
|
6645
6674
|
}
|
|
6646
|
-
protoOf(Logger$loggerSource$1).
|
|
6647
|
-
this.
|
|
6675
|
+
protoOf(Logger$loggerSource$1).g2z = function (tag, msg) {
|
|
6676
|
+
this.f2z_1.g2z(tag, msg);
|
|
6648
6677
|
};
|
|
6649
|
-
protoOf(Logger$loggerSource$1).
|
|
6650
|
-
this.
|
|
6678
|
+
protoOf(Logger$loggerSource$1).h2z = function (tag, msg, exception) {
|
|
6679
|
+
this.f2z_1.h2z(tag, msg, exception);
|
|
6651
6680
|
};
|
|
6652
|
-
protoOf(Logger$loggerSource$1).
|
|
6653
|
-
this.
|
|
6681
|
+
protoOf(Logger$loggerSource$1).i2z = function (tag, msg) {
|
|
6682
|
+
this.f2z_1.i2z(tag, msg);
|
|
6654
6683
|
};
|
|
6655
6684
|
function Category_NONE_getInstance() {
|
|
6656
6685
|
Category_initEntries();
|
|
@@ -6659,56 +6688,56 @@
|
|
|
6659
6688
|
function Logger() {
|
|
6660
6689
|
Logger_instance = this;
|
|
6661
6690
|
var tmp = this;
|
|
6662
|
-
tmp.
|
|
6663
|
-
this.
|
|
6664
|
-
this.
|
|
6691
|
+
tmp.p2u_1 = new Logger$loggerSource$1();
|
|
6692
|
+
this.q2u_1 = true;
|
|
6693
|
+
this.r2u_1 = null;
|
|
6665
6694
|
}
|
|
6666
|
-
protoOf(Logger).
|
|
6667
|
-
this.
|
|
6695
|
+
protoOf(Logger).j2z = function (tag, message) {
|
|
6696
|
+
this.k2z(tag, message, Category_NONE_getInstance());
|
|
6668
6697
|
};
|
|
6669
|
-
protoOf(Logger).
|
|
6670
|
-
if (this.
|
|
6671
|
-
this.
|
|
6698
|
+
protoOf(Logger).l2z = function (tag, message, category) {
|
|
6699
|
+
if (this.q2u_1 ? category.e2z_1 : false) {
|
|
6700
|
+
this.p2u_1.i2z(generateTag(this, tag), message);
|
|
6672
6701
|
}
|
|
6673
6702
|
};
|
|
6674
|
-
protoOf(Logger).
|
|
6703
|
+
protoOf(Logger).m2z = function (tag, message, category, $super) {
|
|
6675
6704
|
tag = tag === VOID ? null : tag;
|
|
6676
6705
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
6677
6706
|
var tmp;
|
|
6678
6707
|
if ($super === VOID) {
|
|
6679
|
-
this.
|
|
6708
|
+
this.l2z(tag, message, category);
|
|
6680
6709
|
tmp = Unit_instance;
|
|
6681
6710
|
} else {
|
|
6682
|
-
tmp = $super.
|
|
6711
|
+
tmp = $super.l2z.call(this, tag, message, category);
|
|
6683
6712
|
}
|
|
6684
6713
|
return tmp;
|
|
6685
6714
|
};
|
|
6686
|
-
protoOf(Logger).
|
|
6687
|
-
if (this.
|
|
6688
|
-
this.
|
|
6715
|
+
protoOf(Logger).k2z = function (tag, message, category) {
|
|
6716
|
+
if (this.q2u_1 ? category.e2z_1 : false) {
|
|
6717
|
+
this.p2u_1.g2z(generateTag(this, tag), message);
|
|
6689
6718
|
}
|
|
6690
6719
|
};
|
|
6691
|
-
protoOf(Logger).
|
|
6692
|
-
if (this.
|
|
6720
|
+
protoOf(Logger).n2z = function (tag, message, exception, category) {
|
|
6721
|
+
if (this.q2u_1 ? category.e2z_1 : false) {
|
|
6693
6722
|
if (exception == null)
|
|
6694
6723
|
null;
|
|
6695
6724
|
else {
|
|
6696
6725
|
printStackTrace(exception);
|
|
6697
6726
|
}
|
|
6698
|
-
this.
|
|
6727
|
+
this.p2u_1.h2z(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
6699
6728
|
}
|
|
6700
6729
|
};
|
|
6701
|
-
protoOf(Logger).
|
|
6730
|
+
protoOf(Logger).s2u = function (tag, message, exception, category, $super) {
|
|
6702
6731
|
tag = tag === VOID ? null : tag;
|
|
6703
6732
|
message = message === VOID ? null : message;
|
|
6704
6733
|
exception = exception === VOID ? null : exception;
|
|
6705
6734
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
6706
6735
|
var tmp;
|
|
6707
6736
|
if ($super === VOID) {
|
|
6708
|
-
this.
|
|
6737
|
+
this.n2z(tag, message, exception, category);
|
|
6709
6738
|
tmp = Unit_instance;
|
|
6710
6739
|
} else {
|
|
6711
|
-
tmp = $super.
|
|
6740
|
+
tmp = $super.n2z.call(this, tag, message, exception, category);
|
|
6712
6741
|
}
|
|
6713
6742
|
return tmp;
|
|
6714
6743
|
};
|
|
@@ -6739,47 +6768,47 @@
|
|
|
6739
6768
|
function getLogTag(tag) {
|
|
6740
6769
|
return tag == null ? '' : tag;
|
|
6741
6770
|
}
|
|
6742
|
-
function
|
|
6771
|
+
function Companion_22() {
|
|
6743
6772
|
}
|
|
6744
|
-
protoOf(
|
|
6773
|
+
protoOf(Companion_22).u2t = function () {
|
|
6745
6774
|
return new CombinedGameLogger(mutableListOf([new PlatformGameLogger()]));
|
|
6746
6775
|
};
|
|
6747
|
-
protoOf(
|
|
6776
|
+
protoOf(Companion_22).ss = function () {
|
|
6748
6777
|
// Inline function 'kotlin.collections.mutableListOf' call
|
|
6749
6778
|
var tmp$ret$0 = ArrayList_init_$Create$();
|
|
6750
6779
|
return new CombinedGameLogger(tmp$ret$0);
|
|
6751
6780
|
};
|
|
6752
|
-
var
|
|
6753
|
-
function
|
|
6754
|
-
return
|
|
6781
|
+
var Companion_instance_22;
|
|
6782
|
+
function Companion_getInstance_24() {
|
|
6783
|
+
return Companion_instance_22;
|
|
6755
6784
|
}
|
|
6756
6785
|
function CombinedGameLogger(logOutputs) {
|
|
6757
|
-
this.
|
|
6786
|
+
this.o2z_1 = logOutputs;
|
|
6758
6787
|
}
|
|
6759
|
-
protoOf(CombinedGameLogger).
|
|
6760
|
-
this.
|
|
6788
|
+
protoOf(CombinedGameLogger).p2z = function (output) {
|
|
6789
|
+
this.o2z_1.s(output);
|
|
6761
6790
|
};
|
|
6762
|
-
protoOf(CombinedGameLogger).
|
|
6791
|
+
protoOf(CombinedGameLogger).q2z = function (tag, message, payload) {
|
|
6763
6792
|
// Inline function 'kotlin.collections.forEach' call
|
|
6764
|
-
var tmp0_iterator = this.
|
|
6793
|
+
var tmp0_iterator = this.o2z_1.v();
|
|
6765
6794
|
while (tmp0_iterator.w()) {
|
|
6766
6795
|
var element = tmp0_iterator.y();
|
|
6767
6796
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
6768
6797
|
element.d(tag, message, payload);
|
|
6769
6798
|
}
|
|
6770
6799
|
};
|
|
6771
|
-
protoOf(CombinedGameLogger).
|
|
6800
|
+
protoOf(CombinedGameLogger).r2z = function (tag, message, exception, payload) {
|
|
6772
6801
|
// Inline function 'kotlin.collections.forEach' call
|
|
6773
|
-
var tmp0_iterator = this.
|
|
6802
|
+
var tmp0_iterator = this.o2z_1.v();
|
|
6774
6803
|
while (tmp0_iterator.w()) {
|
|
6775
6804
|
var element = tmp0_iterator.y();
|
|
6776
6805
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
6777
6806
|
element.e(tag, message, exception, payload);
|
|
6778
6807
|
}
|
|
6779
6808
|
};
|
|
6780
|
-
protoOf(CombinedGameLogger).
|
|
6809
|
+
protoOf(CombinedGameLogger).s2z = function (tag, message, payload) {
|
|
6781
6810
|
// Inline function 'kotlin.collections.forEach' call
|
|
6782
|
-
var tmp0_iterator = this.
|
|
6811
|
+
var tmp0_iterator = this.o2z_1.v();
|
|
6783
6812
|
while (tmp0_iterator.w()) {
|
|
6784
6813
|
var element = tmp0_iterator.y();
|
|
6785
6814
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
@@ -6792,31 +6821,31 @@
|
|
|
6792
6821
|
}
|
|
6793
6822
|
function PlatformGameLogger(enabled) {
|
|
6794
6823
|
enabled = enabled === VOID ? true : enabled;
|
|
6795
|
-
this.
|
|
6824
|
+
this.t2z_1 = enabled;
|
|
6796
6825
|
}
|
|
6797
|
-
protoOf(PlatformGameLogger).
|
|
6798
|
-
this.
|
|
6826
|
+
protoOf(PlatformGameLogger).u2z = function (_set____db54di) {
|
|
6827
|
+
this.t2z_1 = _set____db54di;
|
|
6799
6828
|
};
|
|
6800
|
-
protoOf(PlatformGameLogger).
|
|
6801
|
-
return this.
|
|
6829
|
+
protoOf(PlatformGameLogger).v2z = function () {
|
|
6830
|
+
return this.t2z_1;
|
|
6802
6831
|
};
|
|
6803
|
-
protoOf(PlatformGameLogger).
|
|
6804
|
-
if (!this.
|
|
6832
|
+
protoOf(PlatformGameLogger).q2z = function (tag, message, payload) {
|
|
6833
|
+
if (!this.t2z_1)
|
|
6805
6834
|
return Unit_instance;
|
|
6806
|
-
Logger_getInstance().
|
|
6835
|
+
Logger_getInstance().j2z(tag, message);
|
|
6807
6836
|
};
|
|
6808
|
-
protoOf(PlatformGameLogger).
|
|
6809
|
-
if (!this.
|
|
6837
|
+
protoOf(PlatformGameLogger).r2z = function (tag, message, exception, payload) {
|
|
6838
|
+
if (!this.t2z_1)
|
|
6810
6839
|
return Unit_instance;
|
|
6811
|
-
Logger_getInstance().
|
|
6840
|
+
Logger_getInstance().s2u(tag, message, exception);
|
|
6812
6841
|
};
|
|
6813
|
-
protoOf(PlatformGameLogger).
|
|
6814
|
-
if (!this.
|
|
6842
|
+
protoOf(PlatformGameLogger).s2z = function (tag, message, payload) {
|
|
6843
|
+
if (!this.t2z_1)
|
|
6815
6844
|
return Unit_instance;
|
|
6816
|
-
Logger_getInstance().
|
|
6845
|
+
Logger_getInstance().m2z(tag, message);
|
|
6817
6846
|
};
|
|
6818
6847
|
function _get_$cachedSerializer__te6jhj_9($this) {
|
|
6819
|
-
return $this.
|
|
6848
|
+
return $this.w2z_1.o2();
|
|
6820
6849
|
}
|
|
6821
6850
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
6822
6851
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_4());
|
|
@@ -6824,24 +6853,24 @@
|
|
|
6824
6853
|
var LogType_DEBUG_instance;
|
|
6825
6854
|
var LogType_ERROR_instance;
|
|
6826
6855
|
var LogType_WARN_instance;
|
|
6827
|
-
function
|
|
6828
|
-
|
|
6856
|
+
function Companion_23() {
|
|
6857
|
+
Companion_instance_23 = this;
|
|
6829
6858
|
var tmp = this;
|
|
6830
6859
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
6831
|
-
tmp.
|
|
6860
|
+
tmp.w2z_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
6832
6861
|
}
|
|
6833
|
-
protoOf(
|
|
6862
|
+
protoOf(Companion_23).v16 = function () {
|
|
6834
6863
|
return _get_$cachedSerializer__te6jhj_9(this);
|
|
6835
6864
|
};
|
|
6836
|
-
protoOf(
|
|
6865
|
+
protoOf(Companion_23).mv = function (typeParamsSerializers) {
|
|
6837
6866
|
return this.v16();
|
|
6838
6867
|
};
|
|
6839
|
-
var
|
|
6840
|
-
function
|
|
6868
|
+
var Companion_instance_23;
|
|
6869
|
+
function Companion_getInstance_25() {
|
|
6841
6870
|
LogType_initEntries();
|
|
6842
|
-
if (
|
|
6843
|
-
new
|
|
6844
|
-
return
|
|
6871
|
+
if (Companion_instance_23 == null)
|
|
6872
|
+
new Companion_23();
|
|
6873
|
+
return Companion_instance_23;
|
|
6845
6874
|
}
|
|
6846
6875
|
function values_4() {
|
|
6847
6876
|
return [LogType_DEBUG_getInstance(), LogType_ERROR_getInstance(), LogType_WARN_getInstance()];
|
|
@@ -6873,7 +6902,7 @@
|
|
|
6873
6902
|
LogType_DEBUG_instance = new LogType('DEBUG', 0);
|
|
6874
6903
|
LogType_ERROR_instance = new LogType('ERROR', 1);
|
|
6875
6904
|
LogType_WARN_instance = new LogType('WARN', 2);
|
|
6876
|
-
|
|
6905
|
+
Companion_getInstance_25();
|
|
6877
6906
|
}
|
|
6878
6907
|
var $ENTRIES_0;
|
|
6879
6908
|
function LogType(name, ordinal) {
|
|
@@ -6897,22 +6926,22 @@
|
|
|
6897
6926
|
}
|
|
6898
6927
|
function ObservableLoggerOutput() {
|
|
6899
6928
|
}
|
|
6900
|
-
function
|
|
6901
|
-
|
|
6929
|
+
function Companion_24() {
|
|
6930
|
+
Companion_instance_24 = this;
|
|
6902
6931
|
var tmp = this;
|
|
6903
6932
|
// Inline function 'kotlin.arrayOf' call
|
|
6904
6933
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6905
6934
|
// Inline function 'kotlin.js.asDynamic' call
|
|
6906
|
-
tmp.
|
|
6935
|
+
tmp.a30_1 = [Companion_getInstance_25().v16(), null, null, null];
|
|
6907
6936
|
}
|
|
6908
|
-
protoOf(
|
|
6937
|
+
protoOf(Companion_24).v16 = function () {
|
|
6909
6938
|
return $serializer_getInstance_9();
|
|
6910
6939
|
};
|
|
6911
|
-
var
|
|
6912
|
-
function
|
|
6913
|
-
if (
|
|
6914
|
-
new
|
|
6915
|
-
return
|
|
6940
|
+
var Companion_instance_24;
|
|
6941
|
+
function Companion_getInstance_26() {
|
|
6942
|
+
if (Companion_instance_24 == null)
|
|
6943
|
+
new Companion_24();
|
|
6944
|
+
return Companion_instance_24;
|
|
6916
6945
|
}
|
|
6917
6946
|
function $serializer_9() {
|
|
6918
6947
|
$serializer_instance_9 = this;
|
|
@@ -6921,19 +6950,19 @@
|
|
|
6921
6950
|
tmp0_serialDesc.mu('tag', false);
|
|
6922
6951
|
tmp0_serialDesc.mu('message', false);
|
|
6923
6952
|
tmp0_serialDesc.mu('stackTrace', false);
|
|
6924
|
-
this.
|
|
6953
|
+
this.b30_1 = tmp0_serialDesc;
|
|
6925
6954
|
}
|
|
6926
6955
|
protoOf($serializer_9).pj = function () {
|
|
6927
|
-
return this.
|
|
6956
|
+
return this.b30_1;
|
|
6928
6957
|
};
|
|
6929
6958
|
protoOf($serializer_9).bv = function () {
|
|
6930
6959
|
// Inline function 'kotlin.arrayOf' call
|
|
6931
6960
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6932
6961
|
// Inline function 'kotlin.js.asDynamic' call
|
|
6933
|
-
return [
|
|
6962
|
+
return [Companion_getInstance_26().a30_1[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
6934
6963
|
};
|
|
6935
6964
|
protoOf($serializer_9).rj = function (decoder) {
|
|
6936
|
-
var tmp0_desc = this.
|
|
6965
|
+
var tmp0_desc = this.b30_1;
|
|
6937
6966
|
var tmp1_flag = true;
|
|
6938
6967
|
var tmp2_index = 0;
|
|
6939
6968
|
var tmp3_bitMask0 = 0;
|
|
@@ -6942,7 +6971,7 @@
|
|
|
6942
6971
|
var tmp6_local2 = null;
|
|
6943
6972
|
var tmp7_local3 = null;
|
|
6944
6973
|
var tmp8_input = decoder.xm(tmp0_desc);
|
|
6945
|
-
var tmp9_cached =
|
|
6974
|
+
var tmp9_cached = Companion_getInstance_26().a30_1;
|
|
6946
6975
|
if (tmp8_input.nn()) {
|
|
6947
6976
|
tmp4_local0 = tmp8_input.jn(tmp0_desc, 0, tmp9_cached[0], tmp4_local0);
|
|
6948
6977
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -6982,10 +7011,10 @@
|
|
|
6982
7011
|
tmp8_input.ym(tmp0_desc);
|
|
6983
7012
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
6984
7013
|
};
|
|
6985
|
-
protoOf($serializer_9).
|
|
6986
|
-
var tmp0_desc = this.
|
|
7014
|
+
protoOf($serializer_9).c30 = function (encoder, value) {
|
|
7015
|
+
var tmp0_desc = this.b30_1;
|
|
6987
7016
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
6988
|
-
var tmp2_cached =
|
|
7017
|
+
var tmp2_cached = Companion_getInstance_26().a30_1;
|
|
6989
7018
|
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
6990
7019
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
6991
7020
|
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.message);
|
|
@@ -6993,7 +7022,7 @@
|
|
|
6993
7022
|
tmp1_output.ym(tmp0_desc);
|
|
6994
7023
|
};
|
|
6995
7024
|
protoOf($serializer_9).qj = function (encoder, value) {
|
|
6996
|
-
return this.
|
|
7025
|
+
return this.c30(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
6997
7026
|
};
|
|
6998
7027
|
var $serializer_instance_9;
|
|
6999
7028
|
function $serializer_getInstance_9() {
|
|
@@ -7003,7 +7032,7 @@
|
|
|
7003
7032
|
}
|
|
7004
7033
|
function LoggerOutputDataDto_init_$Init$(seen1, type, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
7005
7034
|
if (!(15 === (15 & seen1))) {
|
|
7006
|
-
throwMissingFieldException(seen1, 15, $serializer_getInstance_9().
|
|
7035
|
+
throwMissingFieldException(seen1, 15, $serializer_getInstance_9().b30_1);
|
|
7007
7036
|
}
|
|
7008
7037
|
$this.type = type;
|
|
7009
7038
|
$this.tag = tag;
|
|
@@ -7015,7 +7044,7 @@
|
|
|
7015
7044
|
return LoggerOutputDataDto_init_$Init$(seen1, type, tag, message, stackTrace, serializationConstructorMarker, objectCreate(protoOf(LoggerOutputDataDto)));
|
|
7016
7045
|
}
|
|
7017
7046
|
function LoggerOutputDataDto(type, tag, message, stackTrace) {
|
|
7018
|
-
|
|
7047
|
+
Companion_getInstance_26();
|
|
7019
7048
|
this.type = type;
|
|
7020
7049
|
this.tag = tag;
|
|
7021
7050
|
this.message = message;
|
|
@@ -7024,13 +7053,13 @@
|
|
|
7024
7053
|
protoOf(LoggerOutputDataDto).m1h = function () {
|
|
7025
7054
|
return this.type;
|
|
7026
7055
|
};
|
|
7027
|
-
protoOf(LoggerOutputDataDto).
|
|
7056
|
+
protoOf(LoggerOutputDataDto).a2l = function () {
|
|
7028
7057
|
return this.tag;
|
|
7029
7058
|
};
|
|
7030
7059
|
protoOf(LoggerOutputDataDto).q5 = function () {
|
|
7031
7060
|
return this.message;
|
|
7032
7061
|
};
|
|
7033
|
-
protoOf(LoggerOutputDataDto).
|
|
7062
|
+
protoOf(LoggerOutputDataDto).d30 = function () {
|
|
7034
7063
|
return this.stackTrace;
|
|
7035
7064
|
};
|
|
7036
7065
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
@@ -7074,10 +7103,10 @@
|
|
|
7074
7103
|
protoOf(LoggerOutputDataDto).qh = function () {
|
|
7075
7104
|
return this.message;
|
|
7076
7105
|
};
|
|
7077
|
-
protoOf(LoggerOutputDataDto).
|
|
7106
|
+
protoOf(LoggerOutputDataDto).s2k = function () {
|
|
7078
7107
|
return this.stackTrace;
|
|
7079
7108
|
};
|
|
7080
|
-
protoOf(LoggerOutputDataDto).
|
|
7109
|
+
protoOf(LoggerOutputDataDto).e30 = function (type, tag, message, stackTrace) {
|
|
7081
7110
|
return new LoggerOutputDataDto(type, tag, message, stackTrace);
|
|
7082
7111
|
};
|
|
7083
7112
|
protoOf(LoggerOutputDataDto).copy = function (type, tag, message, stackTrace, $super) {
|
|
@@ -7085,7 +7114,7 @@
|
|
|
7085
7114
|
tag = tag === VOID ? this.tag : tag;
|
|
7086
7115
|
message = message === VOID ? this.message : message;
|
|
7087
7116
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
7088
|
-
return this.
|
|
7117
|
+
return this.e30(type, tag, message, stackTrace);
|
|
7089
7118
|
};
|
|
7090
7119
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
7091
7120
|
return 'LoggerOutputDataDto(type=' + this.type + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -7115,21 +7144,22 @@
|
|
|
7115
7144
|
};
|
|
7116
7145
|
function PlatformLogger() {
|
|
7117
7146
|
}
|
|
7118
|
-
protoOf(PlatformLogger).
|
|
7147
|
+
protoOf(PlatformLogger).g2z = function (tag, msg) {
|
|
7119
7148
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
7120
7149
|
};
|
|
7121
|
-
protoOf(PlatformLogger).
|
|
7150
|
+
protoOf(PlatformLogger).h2z = function (tag, msg, exception) {
|
|
7122
7151
|
if (!(exception == null)) {
|
|
7123
7152
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
7124
7153
|
} else {
|
|
7125
7154
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
7126
7155
|
}
|
|
7127
7156
|
};
|
|
7128
|
-
protoOf(PlatformLogger).
|
|
7157
|
+
protoOf(PlatformLogger).i2z = function (tag, msg) {
|
|
7129
7158
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
7130
7159
|
};
|
|
7131
7160
|
//region block: post-declaration
|
|
7132
7161
|
protoOf($serializer).cv = typeParametersSerializers;
|
|
7162
|
+
defineProp(protoOf(CoreConfig), 'requireDirectoryPath', protoOf(CoreConfig).r2k);
|
|
7133
7163
|
protoOf($serializer_0).cv = typeParametersSerializers;
|
|
7134
7164
|
protoOf($serializer_1).cv = typeParametersSerializers;
|
|
7135
7165
|
protoOf($serializer_2).cv = typeParametersSerializers;
|
|
@@ -7138,85 +7168,85 @@
|
|
|
7138
7168
|
protoOf($serializer_3).cv = typeParametersSerializers;
|
|
7139
7169
|
protoOf($serializer_4).cv = typeParametersSerializers;
|
|
7140
7170
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
7141
|
-
return this.
|
|
7171
|
+
return this.z2k();
|
|
7142
7172
|
});
|
|
7143
7173
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
7144
|
-
return this.
|
|
7174
|
+
return this.z2k();
|
|
7145
7175
|
});
|
|
7146
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
7147
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
7148
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
7149
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
7150
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
7151
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
7152
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
7153
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
7154
|
-
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).
|
|
7155
|
-
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).
|
|
7176
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).i2n);
|
|
7177
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).j2n);
|
|
7178
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).k2n);
|
|
7179
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).l2n);
|
|
7180
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).m2n);
|
|
7181
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).n2n);
|
|
7182
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).o2n);
|
|
7183
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).p2n);
|
|
7184
|
+
defineProp(protoOf(PlayerConnectionState), 'isClientDisconnectReason', protoOf(PlayerConnectionState).q2n);
|
|
7185
|
+
defineProp(protoOf(PlayerConnectionState), 'isServerDisconnectReason', protoOf(PlayerConnectionState).r2n);
|
|
7156
7186
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).g9);
|
|
7157
7187
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).h9);
|
|
7158
7188
|
defineProp(protoOf(PlayerLuckyFactor), 'playerId', function () {
|
|
7159
|
-
return this.
|
|
7189
|
+
return this.z2k();
|
|
7160
7190
|
});
|
|
7161
|
-
defineProp(protoOf(RulesSetType), 'isCustom', protoOf(RulesSetType).
|
|
7191
|
+
defineProp(protoOf(RulesSetType), 'isCustom', protoOf(RulesSetType).q2p);
|
|
7162
7192
|
defineProp(protoOf(RulesSetType), 'name', protoOf(RulesSetType).g9);
|
|
7163
7193
|
defineProp(protoOf(RulesSetType), 'ordinal', protoOf(RulesSetType).h9);
|
|
7164
|
-
protoOf(BufferedActionDto).
|
|
7194
|
+
protoOf(BufferedActionDto).s2p = get_actionTag;
|
|
7165
7195
|
defineProp(protoOf(BufferedActionDto), 'actionTag', function () {
|
|
7166
|
-
return this.
|
|
7196
|
+
return this.s2p();
|
|
7167
7197
|
});
|
|
7168
7198
|
protoOf($serializer_5).cv = typeParametersSerializers;
|
|
7169
7199
|
protoOf($serializer_6).cv = typeParametersSerializers;
|
|
7170
7200
|
protoOf($serializer_7).cv = typeParametersSerializers;
|
|
7171
7201
|
protoOf($serializer_8).cv = typeParametersSerializers;
|
|
7172
|
-
protoOf(AsyncProviderImpl).
|
|
7173
|
-
protoOf(AsyncProviderImpl).
|
|
7174
|
-
protoOf(AsyncProviderImpl).
|
|
7175
|
-
protoOf(AsyncProviderImpl).
|
|
7176
|
-
protoOf(TimerAction).
|
|
7202
|
+
protoOf(AsyncProviderImpl).x2r = launchMain$default;
|
|
7203
|
+
protoOf(AsyncProviderImpl).t2r = launchDefault$default;
|
|
7204
|
+
protoOf(AsyncProviderImpl).r2r = launchUnconfinedWithLock$default;
|
|
7205
|
+
protoOf(AsyncProviderImpl).v2r = launchDefaultWithLock$default;
|
|
7206
|
+
protoOf(TimerAction).s2p = get_actionTag;
|
|
7177
7207
|
defineProp(protoOf(TimerAction), 'actionTag', function () {
|
|
7178
|
-
return this.
|
|
7208
|
+
return this.s2p();
|
|
7179
7209
|
});
|
|
7180
7210
|
defineProp(protoOf(StartTimerAction), 'actionTag', function () {
|
|
7181
|
-
return this.
|
|
7211
|
+
return this.s2p();
|
|
7182
7212
|
});
|
|
7183
7213
|
defineProp(protoOf(TimerTickAction), 'actionTag', function () {
|
|
7184
|
-
return this.
|
|
7214
|
+
return this.s2p();
|
|
7185
7215
|
});
|
|
7186
7216
|
protoOf(StopTimerAction).notValidateWhenFinishing = notValidateWhenFinishing;
|
|
7187
7217
|
protoOf(StopTimerAction).notValidateWhenFinished = notValidateWhenFinished;
|
|
7188
7218
|
defineProp(protoOf(StopTimerAction), 'actionTag', function () {
|
|
7189
|
-
return this.
|
|
7219
|
+
return this.s2p();
|
|
7190
7220
|
});
|
|
7191
7221
|
defineProp(protoOf(createStore$2), 'store', function () {
|
|
7192
|
-
return this.
|
|
7222
|
+
return this.u2y();
|
|
7193
7223
|
});
|
|
7194
7224
|
defineProp(protoOf(createStore$2), 'state', function () {
|
|
7195
7225
|
return this.k1r();
|
|
7196
7226
|
});
|
|
7197
7227
|
defineProp(protoOf(createStore$2), 'dispatch', function () {
|
|
7198
|
-
return this.
|
|
7228
|
+
return this.w2y();
|
|
7199
7229
|
}, function (value) {
|
|
7200
|
-
this.
|
|
7230
|
+
this.v2y(value);
|
|
7201
7231
|
});
|
|
7202
7232
|
defineProp(protoOf(createStore$2), 'replaceReducer', function () {
|
|
7203
|
-
return this.
|
|
7233
|
+
return this.x2y();
|
|
7204
7234
|
});
|
|
7205
7235
|
defineProp(protoOf(createStore$2), 'observe', function () {
|
|
7206
|
-
return this.
|
|
7236
|
+
return this.y2y();
|
|
7207
7237
|
});
|
|
7208
|
-
protoOf(ActionTypes).
|
|
7238
|
+
protoOf(ActionTypes).s2p = get_actionTag;
|
|
7209
7239
|
defineProp(protoOf(ActionTypes), 'actionTag', function () {
|
|
7210
|
-
return this.
|
|
7240
|
+
return this.s2p();
|
|
7211
7241
|
});
|
|
7212
7242
|
defineProp(protoOf(INIT), 'actionTag', function () {
|
|
7213
|
-
return this.
|
|
7243
|
+
return this.s2p();
|
|
7214
7244
|
});
|
|
7215
7245
|
defineProp(protoOf(REPLACE), 'actionTag', function () {
|
|
7216
|
-
return this.
|
|
7246
|
+
return this.s2p();
|
|
7217
7247
|
});
|
|
7218
|
-
protoOf(middleware$1).
|
|
7219
|
-
protoOf(combineReducers$1).
|
|
7248
|
+
protoOf(middleware$1).i2v = canHandle;
|
|
7249
|
+
protoOf(combineReducers$1).i2v = canHandle_0;
|
|
7220
7250
|
protoOf(CombinedGameLogger).d = d;
|
|
7221
7251
|
protoOf(CombinedGameLogger).e = e;
|
|
7222
7252
|
protoOf(CombinedGameLogger).w = w;
|
|
@@ -7224,9 +7254,9 @@
|
|
|
7224
7254
|
protoOf(PlatformGameLogger).e = e;
|
|
7225
7255
|
protoOf(PlatformGameLogger).w = w;
|
|
7226
7256
|
defineProp(protoOf(PlatformGameLogger), 'enabled', function () {
|
|
7227
|
-
return this.
|
|
7257
|
+
return this.v2z();
|
|
7228
7258
|
}, function (value) {
|
|
7229
|
-
this.
|
|
7259
|
+
this.u2z(value);
|
|
7230
7260
|
});
|
|
7231
7261
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).g9);
|
|
7232
7262
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).h9);
|
|
@@ -7236,21 +7266,22 @@
|
|
|
7236
7266
|
GameEngineConfig_instance = new GameEngineConfig();
|
|
7237
7267
|
Toggles_instance = new Toggles();
|
|
7238
7268
|
Companion_instance = new Companion();
|
|
7239
|
-
|
|
7269
|
+
Companion_instance_1 = new Companion_1();
|
|
7240
7270
|
Companion_instance_3 = new Companion_3();
|
|
7241
7271
|
Companion_instance_4 = new Companion_4();
|
|
7242
|
-
|
|
7272
|
+
Companion_instance_5 = new Companion_5();
|
|
7243
7273
|
Companion_instance_8 = new Companion_8();
|
|
7244
|
-
|
|
7274
|
+
Companion_instance_9 = new Companion_9();
|
|
7245
7275
|
Companion_instance_12 = new Companion_12();
|
|
7246
|
-
|
|
7247
|
-
|
|
7276
|
+
Companion_instance_13 = new Companion_13();
|
|
7277
|
+
Companion_instance_15 = new Companion_15();
|
|
7278
|
+
Companion_instance_18 = new Companion_18();
|
|
7248
7279
|
CardIndexComparator_instance = new CardIndexComparator();
|
|
7249
7280
|
CardNumberComparator_instance = new CardNumberComparator();
|
|
7250
|
-
Companion_instance_18 = new Companion_18();
|
|
7251
7281
|
Companion_instance_19 = new Companion_19();
|
|
7282
|
+
Companion_instance_20 = new Companion_20();
|
|
7252
7283
|
UUIDIdsProvider_instance = new UUIDIdsProvider();
|
|
7253
|
-
|
|
7284
|
+
Companion_instance_22 = new Companion_22();
|
|
7254
7285
|
//endregion
|
|
7255
7286
|
//region block: exports
|
|
7256
7287
|
function $jsExportAll$(_) {
|
|
@@ -7262,18 +7293,19 @@
|
|
|
7262
7293
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
7263
7294
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
7264
7295
|
$com$logic$data$models.CoreConfig = CoreConfig;
|
|
7296
|
+
defineProp($com$logic$data$models.CoreConfig, 'Companion', Companion_getInstance_3);
|
|
7265
7297
|
var $com = _.com || (_.com = {});
|
|
7266
7298
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
7267
7299
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
7268
7300
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
7269
7301
|
$com$logic$data$models.TerminationGameReason = TerminationGameReason;
|
|
7270
|
-
defineProp($com$logic$data$models.TerminationGameReason, 'Companion',
|
|
7302
|
+
defineProp($com$logic$data$models.TerminationGameReason, 'Companion', Companion_getInstance_4);
|
|
7271
7303
|
$com$logic$data$models.PlayerLostConnectionReason = PlayerLostConnectionReason;
|
|
7272
|
-
defineProp($com$logic$data$models.PlayerLostConnectionReason, 'Companion',
|
|
7304
|
+
defineProp($com$logic$data$models.PlayerLostConnectionReason, 'Companion', Companion_getInstance_5);
|
|
7273
7305
|
$com$logic$data$models.PlayerTimeoutReason = PlayerTimeoutReason;
|
|
7274
|
-
defineProp($com$logic$data$models.PlayerTimeoutReason, 'Companion',
|
|
7306
|
+
defineProp($com$logic$data$models.PlayerTimeoutReason, 'Companion', Companion_getInstance_6);
|
|
7275
7307
|
$com$logic$data$models.PlayerExitReason = PlayerExitReason;
|
|
7276
|
-
defineProp($com$logic$data$models.PlayerExitReason, 'Companion',
|
|
7308
|
+
defineProp($com$logic$data$models.PlayerExitReason, 'Companion', Companion_getInstance_7);
|
|
7277
7309
|
$com$logic$data$models.GameFinishedReason = GameFinishedReason;
|
|
7278
7310
|
$com$logic$data$models.GameFinishedReason.Reason = Reason;
|
|
7279
7311
|
$com$logic$data$models.GameFinishedReason.Reason.values = values;
|
|
@@ -7282,10 +7314,10 @@
|
|
|
7282
7314
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'PLAYER_DELETED', Reason_PLAYER_DELETED_getInstance);
|
|
7283
7315
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'NO_ACTIVE_PLAYERS', Reason_NO_ACTIVE_PLAYERS_getInstance);
|
|
7284
7316
|
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'GAME_NOT_EXISTS', Reason_GAME_NOT_EXISTS_getInstance);
|
|
7285
|
-
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'Companion',
|
|
7286
|
-
defineProp($com$logic$data$models.GameFinishedReason, 'Companion',
|
|
7317
|
+
defineProp($com$logic$data$models.GameFinishedReason.Reason, 'Companion', Companion_getInstance_8);
|
|
7318
|
+
defineProp($com$logic$data$models.GameFinishedReason, 'Companion', Companion_getInstance_9);
|
|
7287
7319
|
$com$logic$data$models.GameErrorReason = GameErrorReason;
|
|
7288
|
-
defineProp($com$logic$data$models.GameErrorReason, 'Companion',
|
|
7320
|
+
defineProp($com$logic$data$models.GameErrorReason, 'Companion', Companion_getInstance_10);
|
|
7289
7321
|
defineProp($com$logic$data$models, 'WaitingForConnectionReason', WaitingForConnectionReason_getInstance);
|
|
7290
7322
|
defineProp($com$logic$data$models, 'ProcessingReason', ProcessingReason_getInstance);
|
|
7291
7323
|
var $com = _.com || (_.com = {});
|
|
@@ -7315,7 +7347,7 @@
|
|
|
7315
7347
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'LEFT', PlayerConnectionState_LEFT_getInstance);
|
|
7316
7348
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'DISCONNECTING', PlayerConnectionState_DISCONNECTING_getInstance);
|
|
7317
7349
|
defineProp($com$logic$data$models$player.PlayerConnectionState, 'DELETED', PlayerConnectionState_DELETED_getInstance);
|
|
7318
|
-
defineProp($com$logic$data$models$player.PlayerConnectionState, 'Companion',
|
|
7350
|
+
defineProp($com$logic$data$models$player.PlayerConnectionState, 'Companion', Companion_getInstance_12);
|
|
7319
7351
|
var $com = _.com || (_.com = {});
|
|
7320
7352
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
7321
7353
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
@@ -7328,7 +7360,7 @@
|
|
|
7328
7360
|
var $com$logic$data$models = $com$logic$data.models || ($com$logic$data.models = {});
|
|
7329
7361
|
var $com$logic$data$models$rules = $com$logic$data$models.rules || ($com$logic$data$models.rules = {});
|
|
7330
7362
|
$com$logic$data$models$rules.Rules = Rules;
|
|
7331
|
-
defineProp($com$logic$data$models$rules.Rules, 'Companion',
|
|
7363
|
+
defineProp($com$logic$data$models$rules.Rules, 'Companion', Companion_getInstance_15);
|
|
7332
7364
|
var $com = _.com || (_.com = {});
|
|
7333
7365
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
7334
7366
|
var $com$logic$data = $com$logic.data || ($com$logic.data = {});
|
|
@@ -7350,7 +7382,7 @@
|
|
|
7350
7382
|
var $com$logic$data$models$serializable = $com$logic$data$models.serializable || ($com$logic$data$models.serializable = {});
|
|
7351
7383
|
var $com$logic$data$models$serializable$rules = $com$logic$data$models$serializable.rules || ($com$logic$data$models$serializable.rules = {});
|
|
7352
7384
|
$com$logic$data$models$serializable$rules.RulesDto = RulesDto;
|
|
7353
|
-
defineProp($com$logic$data$models$serializable$rules.RulesDto, 'Companion',
|
|
7385
|
+
defineProp($com$logic$data$models$serializable$rules.RulesDto, 'Companion', Companion_getInstance_20);
|
|
7354
7386
|
var $com = _.com || (_.com = {});
|
|
7355
7387
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
7356
7388
|
var $com$logic$redux = $com$logic.redux || ($com$logic.redux = {});
|
|
@@ -7396,7 +7428,7 @@
|
|
|
7396
7428
|
defineProp($com$logic$utils$logger$outputs.LogType, 'DEBUG', LogType_DEBUG_getInstance);
|
|
7397
7429
|
defineProp($com$logic$utils$logger$outputs.LogType, 'ERROR', LogType_ERROR_getInstance);
|
|
7398
7430
|
defineProp($com$logic$utils$logger$outputs.LogType, 'WARN', LogType_WARN_getInstance);
|
|
7399
|
-
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion',
|
|
7431
|
+
defineProp($com$logic$utils$logger$outputs.LogType, 'Companion', Companion_getInstance_25);
|
|
7400
7432
|
var $com = _.com || (_.com = {});
|
|
7401
7433
|
var $com$logic = $com.logic || ($com.logic = {});
|
|
7402
7434
|
var $com$logic$utils = $com$logic.utils || ($com$logic.utils = {});
|
|
@@ -7413,7 +7445,7 @@
|
|
|
7413
7445
|
var $com$logic$utils$logger = $com$logic$utils.logger || ($com$logic$utils.logger = {});
|
|
7414
7446
|
var $com$logic$utils$logger$outputs = $com$logic$utils$logger.outputs || ($com$logic$utils$logger.outputs = {});
|
|
7415
7447
|
$com$logic$utils$logger$outputs.LoggerOutputDataDto = LoggerOutputDataDto;
|
|
7416
|
-
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion',
|
|
7448
|
+
defineProp($com$logic$utils$logger$outputs.LoggerOutputDataDto, 'Companion', Companion_getInstance_26);
|
|
7417
7449
|
}
|
|
7418
7450
|
$jsExportAll$(_);
|
|
7419
7451
|
_.$jsExportAll$ = $jsExportAll$;
|
|
@@ -7533,22 +7565,22 @@
|
|
|
7533
7565
|
_.$_$.i4 = e;
|
|
7534
7566
|
_.$_$.j4 = w;
|
|
7535
7567
|
_.$_$.k4 = BufferedActionDto_init_$Init$;
|
|
7536
|
-
_.$_$.l4 =
|
|
7537
|
-
_.$_$.m4 =
|
|
7538
|
-
_.$_$.n4 =
|
|
7539
|
-
_.$_$.o4 =
|
|
7568
|
+
_.$_$.l4 = Companion_instance_9;
|
|
7569
|
+
_.$_$.m4 = Companion_getInstance_12;
|
|
7570
|
+
_.$_$.n4 = Companion_instance_12;
|
|
7571
|
+
_.$_$.o4 = Companion_getInstance_13;
|
|
7540
7572
|
_.$_$.p4 = $serializer_getInstance_5;
|
|
7541
7573
|
_.$_$.q4 = $serializer_getInstance_7;
|
|
7542
7574
|
_.$_$.r4 = $serializer_getInstance_8;
|
|
7543
7575
|
_.$_$.s4 = CardIndexComparator_instance;
|
|
7544
7576
|
_.$_$.t4 = CardNumberComparator_instance;
|
|
7545
|
-
_.$_$.u4 =
|
|
7546
|
-
_.$_$.v4 =
|
|
7577
|
+
_.$_$.u4 = Companion_instance_19;
|
|
7578
|
+
_.$_$.v4 = Companion_getInstance_23;
|
|
7547
7579
|
_.$_$.w4 = Companion_getInstance_2;
|
|
7548
7580
|
_.$_$.x4 = ProcessingReason_getInstance;
|
|
7549
7581
|
_.$_$.y4 = RestartGameReason_getInstance;
|
|
7550
|
-
_.$_$.z4 =
|
|
7551
|
-
_.$_$.a5 =
|
|
7582
|
+
_.$_$.z4 = Companion_getInstance_4;
|
|
7583
|
+
_.$_$.a5 = Companion_instance_22;
|
|
7552
7584
|
_.$_$.b5 = Logger_getInstance;
|
|
7553
7585
|
_.$_$.c5 = Toggles_instance;
|
|
7554
7586
|
//endregion
|