game_client_logic_deb 1.6.55 → 1.6.56
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 +890 -890
- package/Logic_Debertz-engine.js +7514 -7514
- package/Logic_Debertz-game_client.js +2628 -2596
- package/Logic_Debertz-game_client.js.map +1 -1
- package/kotlin-kotlin-stdlib.js +3 -3
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js +613 -595
- package/kotlinx.coroutines-kotlinx-coroutines-core-js-ir.js.map +1 -1
- package/package.json +1 -1
package/Logic_Debertz-core.js
CHANGED
|
@@ -95,13 +95,13 @@
|
|
|
95
95
|
var Key_instance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.d;
|
|
96
96
|
var Element = kotlin_kotlin.$_$.d9;
|
|
97
97
|
var CoroutineImpl = kotlin_kotlin.$_$.f9;
|
|
98
|
-
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
98
|
+
var CoroutineScope = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.n;
|
|
99
99
|
var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.r8;
|
|
100
|
-
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
101
|
-
var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
100
|
+
var Job = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.o;
|
|
101
|
+
var Mutex = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.l;
|
|
102
102
|
var Dispatchers_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.e;
|
|
103
|
-
var CoroutineScope_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
104
|
-
var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
103
|
+
var CoroutineScope_0 = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.m;
|
|
104
|
+
var launch = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.q;
|
|
105
105
|
var uuid4 = kotlin_com_benasher44_uuid.$_$.a;
|
|
106
106
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.p;
|
|
107
107
|
var toSet = kotlin_kotlin.$_$.l8;
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
var writeString = kotlin_org_jetbrains_kotlinx_kotlinx_io_core.$_$.f;
|
|
123
123
|
var Long = kotlin_kotlin.$_$.nd;
|
|
124
124
|
var delay = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.c;
|
|
125
|
-
var get_isActive = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.
|
|
125
|
+
var get_isActive = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.p;
|
|
126
126
|
var BufferOverflow_DROP_OLDEST_getInstance = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.a;
|
|
127
127
|
var MutableSharedFlow = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.g;
|
|
128
128
|
var Unit = kotlin_kotlin.$_$.ee;
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
setMetadataFor(PlayerIdContract, 'PlayerIdContract', interfaceMeta);
|
|
180
180
|
setMetadataFor(GameUserInfo, 'GameUserInfo', classMeta, VOID, [PlayerIdContract]);
|
|
181
181
|
function get_amountOfCards() {
|
|
182
|
-
return this.
|
|
182
|
+
return this.y2l().n();
|
|
183
183
|
}
|
|
184
184
|
setMetadataFor(Player, 'Player', interfaceMeta, VOID, [PlayerIdContract]);
|
|
185
185
|
setMetadataFor(PlayerIndex, 'PlayerIndex', classMeta, VOID, [PlayerIdContract]);
|
|
@@ -226,20 +226,20 @@
|
|
|
226
226
|
setMetadataFor(Companion_20, 'Companion', objectMeta, VOID, [SerializerFactory]);
|
|
227
227
|
setMetadataFor(Suit, 'Suit', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_22});
|
|
228
228
|
function launchUnconfinedWithLock$default(context, block, $super) {
|
|
229
|
-
context = context === VOID ? this.
|
|
230
|
-
return $super === VOID ? this.
|
|
229
|
+
context = context === VOID ? this.d2r() : context;
|
|
230
|
+
return $super === VOID ? this.e2r(context, block) : $super.e2r.call(this, context, block);
|
|
231
231
|
}
|
|
232
232
|
function launchDefault$default(context, block, $super) {
|
|
233
|
-
context = context === VOID ? this.
|
|
234
|
-
return $super === VOID ? this.
|
|
233
|
+
context = context === VOID ? this.d2r() : context;
|
|
234
|
+
return $super === VOID ? this.g2r(context, block) : $super.g2r.call(this, context, block);
|
|
235
235
|
}
|
|
236
236
|
function launchDefaultWithLock$default(context, block, $super) {
|
|
237
|
-
context = context === VOID ? this.
|
|
238
|
-
return $super === VOID ? this.
|
|
237
|
+
context = context === VOID ? this.d2r() : context;
|
|
238
|
+
return $super === VOID ? this.i2r(context, block) : $super.i2r.call(this, context, block);
|
|
239
239
|
}
|
|
240
240
|
function launchMain$default(context, block, $super) {
|
|
241
|
-
context = context === VOID ? this.
|
|
242
|
-
return $super === VOID ? this.
|
|
241
|
+
context = context === VOID ? this.d2r() : context;
|
|
242
|
+
return $super === VOID ? this.k2r(context, block) : $super.k2r.call(this, context, block);
|
|
243
243
|
}
|
|
244
244
|
setMetadataFor(AsyncProvider, 'AsyncProvider', interfaceMeta);
|
|
245
245
|
setMetadataFor(_no_name_provided__qut3iv, VOID, classMeta, AbstractCoroutineContextElement, [AbstractCoroutineContextElement, Element]);
|
|
@@ -268,7 +268,7 @@
|
|
|
268
268
|
return false;
|
|
269
269
|
}
|
|
270
270
|
function get_isAutoStartTimer() {
|
|
271
|
-
return !this.
|
|
271
|
+
return !this.g2u() ? !this.h2u() : false;
|
|
272
272
|
}
|
|
273
273
|
setMetadataFor(ExpectantAction, 'ExpectantAction', interfaceMeta, VOID, [BufferedAction]);
|
|
274
274
|
setMetadataFor(TimerAction, 'TimerAction', classMeta, VOID, [Action]);
|
|
@@ -315,19 +315,19 @@
|
|
|
315
315
|
function d(tag, message, payload, $super) {
|
|
316
316
|
tag = tag === VOID ? null : tag;
|
|
317
317
|
payload = payload === VOID ? null : payload;
|
|
318
|
-
return this.
|
|
318
|
+
return this.b2z(tag, message, payload);
|
|
319
319
|
}
|
|
320
320
|
function e(tag, message, exception, payload, $super) {
|
|
321
321
|
tag = tag === VOID ? null : tag;
|
|
322
322
|
message = message === VOID ? null : message;
|
|
323
323
|
exception = exception === VOID ? null : exception;
|
|
324
324
|
payload = payload === VOID ? null : payload;
|
|
325
|
-
return this.
|
|
325
|
+
return this.c2z(tag, message, exception, payload);
|
|
326
326
|
}
|
|
327
327
|
function w(tag, message, payload, $super) {
|
|
328
328
|
tag = tag === VOID ? null : tag;
|
|
329
329
|
payload = payload === VOID ? null : payload;
|
|
330
|
-
return this.
|
|
330
|
+
return this.d2z(tag, message, payload);
|
|
331
331
|
}
|
|
332
332
|
setMetadataFor(LoggerOutput, 'LoggerOutput', interfaceMeta);
|
|
333
333
|
setMetadataFor(GameLogger, 'GameLogger', interfaceMeta, VOID, [LoggerOutput]);
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
setMetadataFor(LogType, 'LogType', classMeta, Enum, VOID, VOID, VOID, {0: Companion_getInstance_24});
|
|
340
340
|
function observe(types, $super) {
|
|
341
341
|
types = types === VOID ? values_4() : types;
|
|
342
|
-
return this.
|
|
342
|
+
return this.k2z(types);
|
|
343
343
|
}
|
|
344
344
|
setMetadataFor(ObservableLoggerOutput, 'ObservableLoggerOutput', interfaceMeta, VOID, [LoggerOutput, LoggerEnabledTrigger]);
|
|
345
345
|
setMetadataFor(Companion_23, 'Companion', objectMeta);
|
|
@@ -348,9 +348,9 @@
|
|
|
348
348
|
setMetadataFor(PlatformLogger, 'PlatformLogger', classMeta, VOID, VOID, PlatformLogger);
|
|
349
349
|
//endregion
|
|
350
350
|
function GameEngineConfig() {
|
|
351
|
-
this.version = '1.6.
|
|
351
|
+
this.version = '1.6.56';
|
|
352
352
|
}
|
|
353
|
-
protoOf(GameEngineConfig).
|
|
353
|
+
protoOf(GameEngineConfig).b2k = function () {
|
|
354
354
|
return this.version;
|
|
355
355
|
};
|
|
356
356
|
var GameEngineConfig_instance;
|
|
@@ -359,10 +359,10 @@
|
|
|
359
359
|
}
|
|
360
360
|
function Toggles() {
|
|
361
361
|
}
|
|
362
|
-
protoOf(Toggles).
|
|
362
|
+
protoOf(Toggles).c2k = function (version) {
|
|
363
363
|
return version > 5;
|
|
364
364
|
};
|
|
365
|
-
protoOf(Toggles).
|
|
365
|
+
protoOf(Toggles).d2k = function () {
|
|
366
366
|
return false;
|
|
367
367
|
};
|
|
368
368
|
var Toggles_instance;
|
|
@@ -379,10 +379,10 @@
|
|
|
379
379
|
$serializer_instance = this;
|
|
380
380
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_RETURNS', this, 1);
|
|
381
381
|
tmp0_serialDesc.ku('playerId', false);
|
|
382
|
-
this.
|
|
382
|
+
this.e2k_1 = tmp0_serialDesc;
|
|
383
383
|
}
|
|
384
384
|
protoOf($serializer).pj = function () {
|
|
385
|
-
return this.
|
|
385
|
+
return this.e2k_1;
|
|
386
386
|
};
|
|
387
387
|
protoOf($serializer).zu = function () {
|
|
388
388
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -391,7 +391,7 @@
|
|
|
391
391
|
return [StringSerializer_getInstance()];
|
|
392
392
|
};
|
|
393
393
|
protoOf($serializer).rj = function (decoder) {
|
|
394
|
-
var tmp0_desc = this.
|
|
394
|
+
var tmp0_desc = this.e2k_1;
|
|
395
395
|
var tmp1_flag = true;
|
|
396
396
|
var tmp2_index = 0;
|
|
397
397
|
var tmp3_bitMask0 = 0;
|
|
@@ -418,14 +418,14 @@
|
|
|
418
418
|
tmp5_input.ym(tmp0_desc);
|
|
419
419
|
return PlayerReturnsReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
420
420
|
};
|
|
421
|
-
protoOf($serializer).
|
|
422
|
-
var tmp0_desc = this.
|
|
421
|
+
protoOf($serializer).f2k = function (encoder, value) {
|
|
422
|
+
var tmp0_desc = this.e2k_1;
|
|
423
423
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
424
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
424
|
+
tmp1_output.mo(tmp0_desc, 0, value.g2k_1);
|
|
425
425
|
tmp1_output.ym(tmp0_desc);
|
|
426
426
|
};
|
|
427
427
|
protoOf($serializer).qj = function (encoder, value) {
|
|
428
|
-
return this.
|
|
428
|
+
return this.f2k(encoder, value instanceof PlayerReturnsReason ? value : THROW_CCE());
|
|
429
429
|
};
|
|
430
430
|
var $serializer_instance;
|
|
431
431
|
function $serializer_getInstance() {
|
|
@@ -435,10 +435,10 @@
|
|
|
435
435
|
}
|
|
436
436
|
function PlayerReturnsReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
437
437
|
if (!(1 === (1 & seen1))) {
|
|
438
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance().
|
|
438
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance().e2k_1);
|
|
439
439
|
}
|
|
440
440
|
ContinueGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
441
|
-
$this.
|
|
441
|
+
$this.g2k_1 = playerId;
|
|
442
442
|
return $this;
|
|
443
443
|
}
|
|
444
444
|
function PlayerReturnsReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -446,13 +446,13 @@
|
|
|
446
446
|
}
|
|
447
447
|
function PlayerReturnsReason(playerId) {
|
|
448
448
|
ContinueGameReason.call(this);
|
|
449
|
-
this.
|
|
449
|
+
this.g2k_1 = playerId;
|
|
450
450
|
}
|
|
451
451
|
protoOf(PlayerReturnsReason).toString = function () {
|
|
452
|
-
return 'PlayerReturnsReason(playerId=' + this.
|
|
452
|
+
return 'PlayerReturnsReason(playerId=' + this.g2k_1 + ')';
|
|
453
453
|
};
|
|
454
454
|
protoOf(PlayerReturnsReason).hashCode = function () {
|
|
455
|
-
return getStringHashCode(this.
|
|
455
|
+
return getStringHashCode(this.g2k_1);
|
|
456
456
|
};
|
|
457
457
|
protoOf(PlayerReturnsReason).equals = function (other) {
|
|
458
458
|
if (this === other)
|
|
@@ -460,12 +460,12 @@
|
|
|
460
460
|
if (!(other instanceof PlayerReturnsReason))
|
|
461
461
|
return false;
|
|
462
462
|
var tmp0_other_with_cast = other instanceof PlayerReturnsReason ? other : THROW_CCE();
|
|
463
|
-
if (!(this.
|
|
463
|
+
if (!(this.g2k_1 === tmp0_other_with_cast.g2k_1))
|
|
464
464
|
return false;
|
|
465
465
|
return true;
|
|
466
466
|
};
|
|
467
467
|
function _get_$cachedSerializer__te6jhj($this) {
|
|
468
|
-
return $this.
|
|
468
|
+
return $this.h2k_1.o2();
|
|
469
469
|
}
|
|
470
470
|
function ContinueGameReason$Companion$_anonymous__g3m3ym() {
|
|
471
471
|
var tmp = getKClass(ContinueGameReason);
|
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
Companion_instance_0 = this;
|
|
488
488
|
var tmp = this;
|
|
489
489
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
490
|
-
tmp.
|
|
490
|
+
tmp.h2k_1 = lazy(tmp_0, ContinueGameReason$Companion$_anonymous__g3m3ym);
|
|
491
491
|
}
|
|
492
492
|
protoOf(Companion_0).t16 = function () {
|
|
493
493
|
return _get_$cachedSerializer__te6jhj(this);
|
|
@@ -517,16 +517,16 @@
|
|
|
517
517
|
this.logsDirectoryPath = logsDirectoryPath;
|
|
518
518
|
this.fileNameFormat = fileNameFormat;
|
|
519
519
|
}
|
|
520
|
-
protoOf(CoreConfig).
|
|
520
|
+
protoOf(CoreConfig).i2k = function () {
|
|
521
521
|
return this.fileLogsEnabled;
|
|
522
522
|
};
|
|
523
|
-
protoOf(CoreConfig).
|
|
523
|
+
protoOf(CoreConfig).j2k = function () {
|
|
524
524
|
return this.deleteFilesOnClear;
|
|
525
525
|
};
|
|
526
|
-
protoOf(CoreConfig).
|
|
526
|
+
protoOf(CoreConfig).k2k = function () {
|
|
527
527
|
return this.logsDirectoryPath;
|
|
528
528
|
};
|
|
529
|
-
protoOf(CoreConfig).
|
|
529
|
+
protoOf(CoreConfig).l2k = function () {
|
|
530
530
|
return this.fileNameFormat;
|
|
531
531
|
};
|
|
532
532
|
protoOf(CoreConfig).cd = function () {
|
|
@@ -538,10 +538,10 @@
|
|
|
538
538
|
protoOf(CoreConfig).qh = function () {
|
|
539
539
|
return this.logsDirectoryPath;
|
|
540
540
|
};
|
|
541
|
-
protoOf(CoreConfig).
|
|
541
|
+
protoOf(CoreConfig).m2k = function () {
|
|
542
542
|
return this.fileNameFormat;
|
|
543
543
|
};
|
|
544
|
-
protoOf(CoreConfig).
|
|
544
|
+
protoOf(CoreConfig).n2k = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat) {
|
|
545
545
|
return new CoreConfig(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
546
546
|
};
|
|
547
547
|
protoOf(CoreConfig).copy = function (fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat, $super) {
|
|
@@ -549,7 +549,7 @@
|
|
|
549
549
|
deleteFilesOnClear = deleteFilesOnClear === VOID ? this.deleteFilesOnClear : deleteFilesOnClear;
|
|
550
550
|
logsDirectoryPath = logsDirectoryPath === VOID ? this.logsDirectoryPath : logsDirectoryPath;
|
|
551
551
|
fileNameFormat = fileNameFormat === VOID ? this.fileNameFormat : fileNameFormat;
|
|
552
|
-
return this.
|
|
552
|
+
return this.n2k(fileLogsEnabled, deleteFilesOnClear, logsDirectoryPath, fileNameFormat);
|
|
553
553
|
};
|
|
554
554
|
protoOf(CoreConfig).toString = function () {
|
|
555
555
|
return 'CoreConfig(fileLogsEnabled=' + this.fileLogsEnabled + ', deleteFilesOnClear=' + this.deleteFilesOnClear + ', logsDirectoryPath=' + this.logsDirectoryPath + ', fileNameFormat=' + this.fileNameFormat + ')';
|
|
@@ -578,7 +578,7 @@
|
|
|
578
578
|
return true;
|
|
579
579
|
};
|
|
580
580
|
function _get_$cachedSerializer__te6jhj_0($this) {
|
|
581
|
-
return $this.
|
|
581
|
+
return $this.o2k_1.o2();
|
|
582
582
|
}
|
|
583
583
|
function RestartGameReason$_anonymous__zfkhim() {
|
|
584
584
|
var tmp = RestartGameReason_getInstance();
|
|
@@ -592,7 +592,7 @@
|
|
|
592
592
|
RestartGameReason_instance = this;
|
|
593
593
|
var tmp = this;
|
|
594
594
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
595
|
-
tmp.
|
|
595
|
+
tmp.o2k_1 = lazy(tmp_0, RestartGameReason$_anonymous__zfkhim);
|
|
596
596
|
}
|
|
597
597
|
protoOf(RestartGameReason).toString = function () {
|
|
598
598
|
return 'RestartGameReason';
|
|
@@ -610,7 +610,7 @@
|
|
|
610
610
|
return RestartGameReason_instance;
|
|
611
611
|
}
|
|
612
612
|
function _get_$cachedSerializer__te6jhj_1($this) {
|
|
613
|
-
return $this.
|
|
613
|
+
return $this.p2k_1.o2();
|
|
614
614
|
}
|
|
615
615
|
function TerminationGameReason$Companion$_anonymous__6itbqj() {
|
|
616
616
|
var tmp = getKClass(TerminationGameReason);
|
|
@@ -648,7 +648,7 @@
|
|
|
648
648
|
Companion_instance_1 = this;
|
|
649
649
|
var tmp = this;
|
|
650
650
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
651
|
-
tmp.
|
|
651
|
+
tmp.p2k_1 = lazy(tmp_0, TerminationGameReason$Companion$_anonymous__6itbqj);
|
|
652
652
|
}
|
|
653
653
|
protoOf(Companion_1).t16 = function () {
|
|
654
654
|
return _get_$cachedSerializer__te6jhj_1(this);
|
|
@@ -682,10 +682,10 @@
|
|
|
682
682
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_LOST_CONNECTION', this, 2);
|
|
683
683
|
tmp0_serialDesc.ku('playerId', false);
|
|
684
684
|
tmp0_serialDesc.ku('tag', false);
|
|
685
|
-
this.
|
|
685
|
+
this.q2k_1 = tmp0_serialDesc;
|
|
686
686
|
}
|
|
687
687
|
protoOf($serializer_0).pj = function () {
|
|
688
|
-
return this.
|
|
688
|
+
return this.q2k_1;
|
|
689
689
|
};
|
|
690
690
|
protoOf($serializer_0).zu = function () {
|
|
691
691
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -694,7 +694,7 @@
|
|
|
694
694
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
695
695
|
};
|
|
696
696
|
protoOf($serializer_0).rj = function (decoder) {
|
|
697
|
-
var tmp0_desc = this.
|
|
697
|
+
var tmp0_desc = this.q2k_1;
|
|
698
698
|
var tmp1_flag = true;
|
|
699
699
|
var tmp2_index = 0;
|
|
700
700
|
var tmp3_bitMask0 = 0;
|
|
@@ -728,15 +728,15 @@
|
|
|
728
728
|
tmp6_input.ym(tmp0_desc);
|
|
729
729
|
return PlayerLostConnectionReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
730
730
|
};
|
|
731
|
-
protoOf($serializer_0).
|
|
732
|
-
var tmp0_desc = this.
|
|
731
|
+
protoOf($serializer_0).r2k = function (encoder, value) {
|
|
732
|
+
var tmp0_desc = this.q2k_1;
|
|
733
733
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
734
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
734
|
+
tmp1_output.mo(tmp0_desc, 0, value.s2k_1);
|
|
735
735
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
736
736
|
tmp1_output.ym(tmp0_desc);
|
|
737
737
|
};
|
|
738
738
|
protoOf($serializer_0).qj = function (encoder, value) {
|
|
739
|
-
return this.
|
|
739
|
+
return this.r2k(encoder, value instanceof PlayerLostConnectionReason ? value : THROW_CCE());
|
|
740
740
|
};
|
|
741
741
|
var $serializer_instance_0;
|
|
742
742
|
function $serializer_getInstance_0() {
|
|
@@ -746,10 +746,10 @@
|
|
|
746
746
|
}
|
|
747
747
|
function PlayerLostConnectionReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
748
748
|
if (!(3 === (3 & seen1))) {
|
|
749
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_0().
|
|
749
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_0().q2k_1);
|
|
750
750
|
}
|
|
751
751
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
752
|
-
$this.
|
|
752
|
+
$this.s2k_1 = playerId;
|
|
753
753
|
$this.tag = tag;
|
|
754
754
|
return $this;
|
|
755
755
|
}
|
|
@@ -758,37 +758,37 @@
|
|
|
758
758
|
}
|
|
759
759
|
function PlayerLostConnectionReason(playerId, tag) {
|
|
760
760
|
TerminationGameReason.call(this);
|
|
761
|
-
this.
|
|
761
|
+
this.s2k_1 = playerId;
|
|
762
762
|
this.tag = tag;
|
|
763
763
|
}
|
|
764
|
-
protoOf(PlayerLostConnectionReason).s2k = function () {
|
|
765
|
-
return this.r2k_1;
|
|
766
|
-
};
|
|
767
764
|
protoOf(PlayerLostConnectionReason).t2k = function () {
|
|
768
|
-
return this.
|
|
765
|
+
return this.s2k_1;
|
|
769
766
|
};
|
|
770
767
|
protoOf(PlayerLostConnectionReason).u2k = function () {
|
|
768
|
+
return this.tag;
|
|
769
|
+
};
|
|
770
|
+
protoOf(PlayerLostConnectionReason).v2k = function () {
|
|
771
771
|
return PlayerConnectionState_LOST_CONNECTION_getInstance();
|
|
772
772
|
};
|
|
773
773
|
protoOf(PlayerLostConnectionReason).cd = function () {
|
|
774
|
-
return this.
|
|
774
|
+
return this.s2k_1;
|
|
775
775
|
};
|
|
776
776
|
protoOf(PlayerLostConnectionReason).dd = function () {
|
|
777
777
|
return this.tag;
|
|
778
778
|
};
|
|
779
|
-
protoOf(PlayerLostConnectionReason).
|
|
779
|
+
protoOf(PlayerLostConnectionReason).w2k = function (playerId, tag) {
|
|
780
780
|
return new PlayerLostConnectionReason(playerId, tag);
|
|
781
781
|
};
|
|
782
782
|
protoOf(PlayerLostConnectionReason).copy = function (playerId, tag, $super) {
|
|
783
|
-
playerId = playerId === VOID ? this.
|
|
783
|
+
playerId = playerId === VOID ? this.s2k_1 : playerId;
|
|
784
784
|
tag = tag === VOID ? this.tag : tag;
|
|
785
|
-
return this.
|
|
785
|
+
return this.w2k(playerId, tag);
|
|
786
786
|
};
|
|
787
787
|
protoOf(PlayerLostConnectionReason).toString = function () {
|
|
788
|
-
return 'PlayerLostConnectionReason(playerId=' + this.
|
|
788
|
+
return 'PlayerLostConnectionReason(playerId=' + this.s2k_1 + ', tag=' + this.tag + ')';
|
|
789
789
|
};
|
|
790
790
|
protoOf(PlayerLostConnectionReason).hashCode = function () {
|
|
791
|
-
var result = getStringHashCode(this.
|
|
791
|
+
var result = getStringHashCode(this.s2k_1);
|
|
792
792
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
793
793
|
return result;
|
|
794
794
|
};
|
|
@@ -798,7 +798,7 @@
|
|
|
798
798
|
if (!(other instanceof PlayerLostConnectionReason))
|
|
799
799
|
return false;
|
|
800
800
|
var tmp0_other_with_cast = other instanceof PlayerLostConnectionReason ? other : THROW_CCE();
|
|
801
|
-
if (!(this.
|
|
801
|
+
if (!(this.s2k_1 === tmp0_other_with_cast.s2k_1))
|
|
802
802
|
return false;
|
|
803
803
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
804
804
|
return false;
|
|
@@ -818,10 +818,10 @@
|
|
|
818
818
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_TIMEOUT', this, 2);
|
|
819
819
|
tmp0_serialDesc.ku('playerId', false);
|
|
820
820
|
tmp0_serialDesc.ku('tag', false);
|
|
821
|
-
this.
|
|
821
|
+
this.x2k_1 = tmp0_serialDesc;
|
|
822
822
|
}
|
|
823
823
|
protoOf($serializer_1).pj = function () {
|
|
824
|
-
return this.
|
|
824
|
+
return this.x2k_1;
|
|
825
825
|
};
|
|
826
826
|
protoOf($serializer_1).zu = function () {
|
|
827
827
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -830,7 +830,7 @@
|
|
|
830
830
|
return [StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance())];
|
|
831
831
|
};
|
|
832
832
|
protoOf($serializer_1).rj = function (decoder) {
|
|
833
|
-
var tmp0_desc = this.
|
|
833
|
+
var tmp0_desc = this.x2k_1;
|
|
834
834
|
var tmp1_flag = true;
|
|
835
835
|
var tmp2_index = 0;
|
|
836
836
|
var tmp3_bitMask0 = 0;
|
|
@@ -864,15 +864,15 @@
|
|
|
864
864
|
tmp6_input.ym(tmp0_desc);
|
|
865
865
|
return PlayerTimeoutReason_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, null);
|
|
866
866
|
};
|
|
867
|
-
protoOf($serializer_1).
|
|
868
|
-
var tmp0_desc = this.
|
|
867
|
+
protoOf($serializer_1).y2k = function (encoder, value) {
|
|
868
|
+
var tmp0_desc = this.x2k_1;
|
|
869
869
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
870
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
870
|
+
tmp1_output.mo(tmp0_desc, 0, value.z2k_1);
|
|
871
871
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
872
872
|
tmp1_output.ym(tmp0_desc);
|
|
873
873
|
};
|
|
874
874
|
protoOf($serializer_1).qj = function (encoder, value) {
|
|
875
|
-
return this.
|
|
875
|
+
return this.y2k(encoder, value instanceof PlayerTimeoutReason ? value : THROW_CCE());
|
|
876
876
|
};
|
|
877
877
|
var $serializer_instance_1;
|
|
878
878
|
function $serializer_getInstance_1() {
|
|
@@ -882,10 +882,10 @@
|
|
|
882
882
|
}
|
|
883
883
|
function PlayerTimeoutReason_init_$Init$(seen1, playerId, tag, serializationConstructorMarker, $this) {
|
|
884
884
|
if (!(3 === (3 & seen1))) {
|
|
885
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_1().
|
|
885
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_1().x2k_1);
|
|
886
886
|
}
|
|
887
887
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
888
|
-
$this.
|
|
888
|
+
$this.z2k_1 = playerId;
|
|
889
889
|
$this.tag = tag;
|
|
890
890
|
return $this;
|
|
891
891
|
}
|
|
@@ -894,37 +894,37 @@
|
|
|
894
894
|
}
|
|
895
895
|
function PlayerTimeoutReason(playerId, tag) {
|
|
896
896
|
TerminationGameReason.call(this);
|
|
897
|
-
this.
|
|
897
|
+
this.z2k_1 = playerId;
|
|
898
898
|
this.tag = tag;
|
|
899
899
|
}
|
|
900
|
-
protoOf(PlayerTimeoutReason).s2k = function () {
|
|
901
|
-
return this.y2k_1;
|
|
902
|
-
};
|
|
903
900
|
protoOf(PlayerTimeoutReason).t2k = function () {
|
|
904
|
-
return this.
|
|
901
|
+
return this.z2k_1;
|
|
905
902
|
};
|
|
906
903
|
protoOf(PlayerTimeoutReason).u2k = function () {
|
|
904
|
+
return this.tag;
|
|
905
|
+
};
|
|
906
|
+
protoOf(PlayerTimeoutReason).v2k = function () {
|
|
907
907
|
return PlayerConnectionState_TIMEOUT_getInstance();
|
|
908
908
|
};
|
|
909
909
|
protoOf(PlayerTimeoutReason).cd = function () {
|
|
910
|
-
return this.
|
|
910
|
+
return this.z2k_1;
|
|
911
911
|
};
|
|
912
912
|
protoOf(PlayerTimeoutReason).dd = function () {
|
|
913
913
|
return this.tag;
|
|
914
914
|
};
|
|
915
|
-
protoOf(PlayerTimeoutReason).
|
|
915
|
+
protoOf(PlayerTimeoutReason).w2k = function (playerId, tag) {
|
|
916
916
|
return new PlayerTimeoutReason(playerId, tag);
|
|
917
917
|
};
|
|
918
918
|
protoOf(PlayerTimeoutReason).copy = function (playerId, tag, $super) {
|
|
919
|
-
playerId = playerId === VOID ? this.
|
|
919
|
+
playerId = playerId === VOID ? this.z2k_1 : playerId;
|
|
920
920
|
tag = tag === VOID ? this.tag : tag;
|
|
921
|
-
return this.
|
|
921
|
+
return this.w2k(playerId, tag);
|
|
922
922
|
};
|
|
923
923
|
protoOf(PlayerTimeoutReason).toString = function () {
|
|
924
|
-
return 'PlayerTimeoutReason(playerId=' + this.
|
|
924
|
+
return 'PlayerTimeoutReason(playerId=' + this.z2k_1 + ', tag=' + this.tag + ')';
|
|
925
925
|
};
|
|
926
926
|
protoOf(PlayerTimeoutReason).hashCode = function () {
|
|
927
|
-
var result = getStringHashCode(this.
|
|
927
|
+
var result = getStringHashCode(this.z2k_1);
|
|
928
928
|
result = imul(result, 31) + (this.tag == null ? 0 : getStringHashCode(this.tag)) | 0;
|
|
929
929
|
return result;
|
|
930
930
|
};
|
|
@@ -934,7 +934,7 @@
|
|
|
934
934
|
if (!(other instanceof PlayerTimeoutReason))
|
|
935
935
|
return false;
|
|
936
936
|
var tmp0_other_with_cast = other instanceof PlayerTimeoutReason ? other : THROW_CCE();
|
|
937
|
-
if (!(this.
|
|
937
|
+
if (!(this.z2k_1 === tmp0_other_with_cast.z2k_1))
|
|
938
938
|
return false;
|
|
939
939
|
if (!(this.tag == tmp0_other_with_cast.tag))
|
|
940
940
|
return false;
|
|
@@ -953,10 +953,10 @@
|
|
|
953
953
|
$serializer_instance_2 = this;
|
|
954
954
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('PLAYER_EXIT', this, 1);
|
|
955
955
|
tmp0_serialDesc.ku('playerId', false);
|
|
956
|
-
this.
|
|
956
|
+
this.a2l_1 = tmp0_serialDesc;
|
|
957
957
|
}
|
|
958
958
|
protoOf($serializer_2).pj = function () {
|
|
959
|
-
return this.
|
|
959
|
+
return this.a2l_1;
|
|
960
960
|
};
|
|
961
961
|
protoOf($serializer_2).zu = function () {
|
|
962
962
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -965,7 +965,7 @@
|
|
|
965
965
|
return [StringSerializer_getInstance()];
|
|
966
966
|
};
|
|
967
967
|
protoOf($serializer_2).rj = function (decoder) {
|
|
968
|
-
var tmp0_desc = this.
|
|
968
|
+
var tmp0_desc = this.a2l_1;
|
|
969
969
|
var tmp1_flag = true;
|
|
970
970
|
var tmp2_index = 0;
|
|
971
971
|
var tmp3_bitMask0 = 0;
|
|
@@ -992,14 +992,14 @@
|
|
|
992
992
|
tmp5_input.ym(tmp0_desc);
|
|
993
993
|
return PlayerExitReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
994
994
|
};
|
|
995
|
-
protoOf($serializer_2).
|
|
996
|
-
var tmp0_desc = this.
|
|
995
|
+
protoOf($serializer_2).b2l = function (encoder, value) {
|
|
996
|
+
var tmp0_desc = this.a2l_1;
|
|
997
997
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
998
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
998
|
+
tmp1_output.mo(tmp0_desc, 0, value.c2l_1);
|
|
999
999
|
tmp1_output.ym(tmp0_desc);
|
|
1000
1000
|
};
|
|
1001
1001
|
protoOf($serializer_2).qj = function (encoder, value) {
|
|
1002
|
-
return this.
|
|
1002
|
+
return this.b2l(encoder, value instanceof PlayerExitReason ? value : THROW_CCE());
|
|
1003
1003
|
};
|
|
1004
1004
|
var $serializer_instance_2;
|
|
1005
1005
|
function $serializer_getInstance_2() {
|
|
@@ -1009,10 +1009,10 @@
|
|
|
1009
1009
|
}
|
|
1010
1010
|
function PlayerExitReason_init_$Init$(seen1, playerId, serializationConstructorMarker, $this) {
|
|
1011
1011
|
if (!(1 === (1 & seen1))) {
|
|
1012
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().
|
|
1012
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_2().a2l_1);
|
|
1013
1013
|
}
|
|
1014
1014
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1015
|
-
$this.
|
|
1015
|
+
$this.c2l_1 = playerId;
|
|
1016
1016
|
return $this;
|
|
1017
1017
|
}
|
|
1018
1018
|
function PlayerExitReason_init_$Create$(seen1, playerId, serializationConstructorMarker) {
|
|
@@ -1020,29 +1020,29 @@
|
|
|
1020
1020
|
}
|
|
1021
1021
|
function PlayerExitReason(playerId) {
|
|
1022
1022
|
TerminationGameReason.call(this);
|
|
1023
|
-
this.
|
|
1023
|
+
this.c2l_1 = playerId;
|
|
1024
1024
|
}
|
|
1025
|
-
protoOf(PlayerExitReason).
|
|
1026
|
-
return this.
|
|
1025
|
+
protoOf(PlayerExitReason).t2k = function () {
|
|
1026
|
+
return this.c2l_1;
|
|
1027
1027
|
};
|
|
1028
|
-
protoOf(PlayerExitReason).
|
|
1028
|
+
protoOf(PlayerExitReason).v2k = function () {
|
|
1029
1029
|
return PlayerConnectionState_LEFT_getInstance();
|
|
1030
1030
|
};
|
|
1031
1031
|
protoOf(PlayerExitReason).cd = function () {
|
|
1032
|
-
return this.
|
|
1032
|
+
return this.c2l_1;
|
|
1033
1033
|
};
|
|
1034
|
-
protoOf(PlayerExitReason).
|
|
1034
|
+
protoOf(PlayerExitReason).d2l = function (playerId) {
|
|
1035
1035
|
return new PlayerExitReason(playerId);
|
|
1036
1036
|
};
|
|
1037
1037
|
protoOf(PlayerExitReason).copy = function (playerId, $super) {
|
|
1038
|
-
playerId = playerId === VOID ? this.
|
|
1039
|
-
return this.
|
|
1038
|
+
playerId = playerId === VOID ? this.c2l_1 : playerId;
|
|
1039
|
+
return this.d2l(playerId);
|
|
1040
1040
|
};
|
|
1041
1041
|
protoOf(PlayerExitReason).toString = function () {
|
|
1042
|
-
return 'PlayerExitReason(playerId=' + this.
|
|
1042
|
+
return 'PlayerExitReason(playerId=' + this.c2l_1 + ')';
|
|
1043
1043
|
};
|
|
1044
1044
|
protoOf(PlayerExitReason).hashCode = function () {
|
|
1045
|
-
return getStringHashCode(this.
|
|
1045
|
+
return getStringHashCode(this.c2l_1);
|
|
1046
1046
|
};
|
|
1047
1047
|
protoOf(PlayerExitReason).equals = function (other) {
|
|
1048
1048
|
if (this === other)
|
|
@@ -1050,12 +1050,12 @@
|
|
|
1050
1050
|
if (!(other instanceof PlayerExitReason))
|
|
1051
1051
|
return false;
|
|
1052
1052
|
var tmp0_other_with_cast = other instanceof PlayerExitReason ? other : THROW_CCE();
|
|
1053
|
-
if (!(this.
|
|
1053
|
+
if (!(this.c2l_1 === tmp0_other_with_cast.c2l_1))
|
|
1054
1054
|
return false;
|
|
1055
1055
|
return true;
|
|
1056
1056
|
};
|
|
1057
1057
|
function _get_$cachedSerializer__te6jhj_2($this) {
|
|
1058
|
-
return $this.
|
|
1058
|
+
return $this.e2l_1.o2();
|
|
1059
1059
|
}
|
|
1060
1060
|
function GameFinishedReason$Reason$Companion$_anonymous__q2gwr5() {
|
|
1061
1061
|
return createSimpleEnumSerializer('com.logic.data.models.GameFinishedReason.Reason', values());
|
|
@@ -1068,7 +1068,7 @@
|
|
|
1068
1068
|
Companion_instance_5 = this;
|
|
1069
1069
|
var tmp = this;
|
|
1070
1070
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1071
|
-
tmp.
|
|
1071
|
+
tmp.e2l_1 = lazy(tmp_0, GameFinishedReason$Reason$Companion$_anonymous__q2gwr5);
|
|
1072
1072
|
}
|
|
1073
1073
|
protoOf(Companion_5).t16 = function () {
|
|
1074
1074
|
return _get_$cachedSerializer__te6jhj_2(this);
|
|
@@ -1122,7 +1122,7 @@
|
|
|
1122
1122
|
// Inline function 'kotlin.arrayOf' call
|
|
1123
1123
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1124
1124
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1125
|
-
tmp.
|
|
1125
|
+
tmp.h2l_1 = [Companion_getInstance_7().t16()];
|
|
1126
1126
|
}
|
|
1127
1127
|
protoOf(Companion_6).t16 = function () {
|
|
1128
1128
|
return $serializer_getInstance_3();
|
|
@@ -1137,25 +1137,25 @@
|
|
|
1137
1137
|
$serializer_instance_3 = this;
|
|
1138
1138
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_FINISHED_TYPE', this, 1);
|
|
1139
1139
|
tmp0_serialDesc.ku('reason', false);
|
|
1140
|
-
this.
|
|
1140
|
+
this.i2l_1 = tmp0_serialDesc;
|
|
1141
1141
|
}
|
|
1142
1142
|
protoOf($serializer_3).pj = function () {
|
|
1143
|
-
return this.
|
|
1143
|
+
return this.i2l_1;
|
|
1144
1144
|
};
|
|
1145
1145
|
protoOf($serializer_3).zu = function () {
|
|
1146
1146
|
// Inline function 'kotlin.arrayOf' call
|
|
1147
1147
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1148
1148
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1149
|
-
return [Companion_getInstance_8().
|
|
1149
|
+
return [Companion_getInstance_8().h2l_1[0]];
|
|
1150
1150
|
};
|
|
1151
1151
|
protoOf($serializer_3).rj = function (decoder) {
|
|
1152
|
-
var tmp0_desc = this.
|
|
1152
|
+
var tmp0_desc = this.i2l_1;
|
|
1153
1153
|
var tmp1_flag = true;
|
|
1154
1154
|
var tmp2_index = 0;
|
|
1155
1155
|
var tmp3_bitMask0 = 0;
|
|
1156
1156
|
var tmp4_local0 = null;
|
|
1157
1157
|
var tmp5_input = decoder.xm(tmp0_desc);
|
|
1158
|
-
var tmp6_cached = Companion_getInstance_8().
|
|
1158
|
+
var tmp6_cached = Companion_getInstance_8().h2l_1;
|
|
1159
1159
|
if (tmp5_input.nn()) {
|
|
1160
1160
|
tmp4_local0 = tmp5_input.jn(tmp0_desc, 0, tmp6_cached[0], tmp4_local0);
|
|
1161
1161
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -1177,15 +1177,15 @@
|
|
|
1177
1177
|
tmp5_input.ym(tmp0_desc);
|
|
1178
1178
|
return GameFinishedReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1179
1179
|
};
|
|
1180
|
-
protoOf($serializer_3).
|
|
1181
|
-
var tmp0_desc = this.
|
|
1180
|
+
protoOf($serializer_3).j2l = function (encoder, value) {
|
|
1181
|
+
var tmp0_desc = this.i2l_1;
|
|
1182
1182
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
1183
|
-
var tmp2_cached = Companion_getInstance_8().
|
|
1183
|
+
var tmp2_cached = Companion_getInstance_8().h2l_1;
|
|
1184
1184
|
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.reason);
|
|
1185
1185
|
tmp1_output.ym(tmp0_desc);
|
|
1186
1186
|
};
|
|
1187
1187
|
protoOf($serializer_3).qj = function (encoder, value) {
|
|
1188
|
-
return this.
|
|
1188
|
+
return this.j2l(encoder, value instanceof GameFinishedReason ? value : THROW_CCE());
|
|
1189
1189
|
};
|
|
1190
1190
|
var $serializer_instance_3;
|
|
1191
1191
|
function $serializer_getInstance_3() {
|
|
@@ -1195,7 +1195,7 @@
|
|
|
1195
1195
|
}
|
|
1196
1196
|
function GameFinishedReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
1197
1197
|
if (!(1 === (1 & seen1))) {
|
|
1198
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_3().
|
|
1198
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_3().i2l_1);
|
|
1199
1199
|
}
|
|
1200
1200
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1201
1201
|
$this.reason = reason;
|
|
@@ -1225,18 +1225,18 @@
|
|
|
1225
1225
|
TerminationGameReason.call(this);
|
|
1226
1226
|
this.reason = reason;
|
|
1227
1227
|
}
|
|
1228
|
-
protoOf(GameFinishedReason).
|
|
1228
|
+
protoOf(GameFinishedReason).k2l = function () {
|
|
1229
1229
|
return this.reason;
|
|
1230
1230
|
};
|
|
1231
1231
|
protoOf(GameFinishedReason).cd = function () {
|
|
1232
1232
|
return this.reason;
|
|
1233
1233
|
};
|
|
1234
|
-
protoOf(GameFinishedReason).
|
|
1234
|
+
protoOf(GameFinishedReason).l2l = function (reason) {
|
|
1235
1235
|
return new GameFinishedReason(reason);
|
|
1236
1236
|
};
|
|
1237
1237
|
protoOf(GameFinishedReason).copy = function (reason, $super) {
|
|
1238
1238
|
reason = reason === VOID ? this.reason : reason;
|
|
1239
|
-
return this.
|
|
1239
|
+
return this.l2l(reason);
|
|
1240
1240
|
};
|
|
1241
1241
|
protoOf(GameFinishedReason).toString = function () {
|
|
1242
1242
|
return 'GameFinishedReason(reason=' + this.reason + ')';
|
|
@@ -1267,10 +1267,10 @@
|
|
|
1267
1267
|
$serializer_instance_4 = this;
|
|
1268
1268
|
var tmp0_serialDesc = new PluginGeneratedSerialDescriptor('GAME_ERROR_TYPE', this, 1);
|
|
1269
1269
|
tmp0_serialDesc.ku('reason', false);
|
|
1270
|
-
this.
|
|
1270
|
+
this.m2l_1 = tmp0_serialDesc;
|
|
1271
1271
|
}
|
|
1272
1272
|
protoOf($serializer_4).pj = function () {
|
|
1273
|
-
return this.
|
|
1273
|
+
return this.m2l_1;
|
|
1274
1274
|
};
|
|
1275
1275
|
protoOf($serializer_4).zu = function () {
|
|
1276
1276
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -1279,7 +1279,7 @@
|
|
|
1279
1279
|
return [StringSerializer_getInstance()];
|
|
1280
1280
|
};
|
|
1281
1281
|
protoOf($serializer_4).rj = function (decoder) {
|
|
1282
|
-
var tmp0_desc = this.
|
|
1282
|
+
var tmp0_desc = this.m2l_1;
|
|
1283
1283
|
var tmp1_flag = true;
|
|
1284
1284
|
var tmp2_index = 0;
|
|
1285
1285
|
var tmp3_bitMask0 = 0;
|
|
@@ -1306,14 +1306,14 @@
|
|
|
1306
1306
|
tmp5_input.ym(tmp0_desc);
|
|
1307
1307
|
return GameErrorReason_init_$Create$(tmp3_bitMask0, tmp4_local0, null);
|
|
1308
1308
|
};
|
|
1309
|
-
protoOf($serializer_4).
|
|
1310
|
-
var tmp0_desc = this.
|
|
1309
|
+
protoOf($serializer_4).n2l = function (encoder, value) {
|
|
1310
|
+
var tmp0_desc = this.m2l_1;
|
|
1311
1311
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
1312
1312
|
tmp1_output.mo(tmp0_desc, 0, value.reason);
|
|
1313
1313
|
tmp1_output.ym(tmp0_desc);
|
|
1314
1314
|
};
|
|
1315
1315
|
protoOf($serializer_4).qj = function (encoder, value) {
|
|
1316
|
-
return this.
|
|
1316
|
+
return this.n2l(encoder, value instanceof GameErrorReason ? value : THROW_CCE());
|
|
1317
1317
|
};
|
|
1318
1318
|
var $serializer_instance_4;
|
|
1319
1319
|
function $serializer_getInstance_4() {
|
|
@@ -1323,7 +1323,7 @@
|
|
|
1323
1323
|
}
|
|
1324
1324
|
function GameErrorReason_init_$Init$(seen1, reason, serializationConstructorMarker, $this) {
|
|
1325
1325
|
if (!(1 === (1 & seen1))) {
|
|
1326
|
-
throwMissingFieldException(seen1, 1, $serializer_getInstance_4().
|
|
1326
|
+
throwMissingFieldException(seen1, 1, $serializer_getInstance_4().m2l_1);
|
|
1327
1327
|
}
|
|
1328
1328
|
TerminationGameReason_init_$Init$(seen1, serializationConstructorMarker, $this);
|
|
1329
1329
|
$this.reason = reason;
|
|
@@ -1336,18 +1336,18 @@
|
|
|
1336
1336
|
TerminationGameReason.call(this);
|
|
1337
1337
|
this.reason = reason;
|
|
1338
1338
|
}
|
|
1339
|
-
protoOf(GameErrorReason).
|
|
1339
|
+
protoOf(GameErrorReason).k2l = function () {
|
|
1340
1340
|
return this.reason;
|
|
1341
1341
|
};
|
|
1342
1342
|
protoOf(GameErrorReason).cd = function () {
|
|
1343
1343
|
return this.reason;
|
|
1344
1344
|
};
|
|
1345
|
-
protoOf(GameErrorReason).
|
|
1345
|
+
protoOf(GameErrorReason).d2l = function (reason) {
|
|
1346
1346
|
return new GameErrorReason(reason);
|
|
1347
1347
|
};
|
|
1348
1348
|
protoOf(GameErrorReason).copy = function (reason, $super) {
|
|
1349
1349
|
reason = reason === VOID ? this.reason : reason;
|
|
1350
|
-
return this.
|
|
1350
|
+
return this.d2l(reason);
|
|
1351
1351
|
};
|
|
1352
1352
|
protoOf(GameErrorReason).toString = function () {
|
|
1353
1353
|
return 'GameErrorReason(reason=' + this.reason + ')';
|
|
@@ -1366,7 +1366,7 @@
|
|
|
1366
1366
|
return true;
|
|
1367
1367
|
};
|
|
1368
1368
|
function _get_$cachedSerializer__te6jhj_3($this) {
|
|
1369
|
-
return $this.
|
|
1369
|
+
return $this.o2l_1.o2();
|
|
1370
1370
|
}
|
|
1371
1371
|
function WaitingForConnectionReason$_anonymous__v65n7d() {
|
|
1372
1372
|
var tmp = WaitingForConnectionReason_getInstance();
|
|
@@ -1381,7 +1381,7 @@
|
|
|
1381
1381
|
TerminationGameReason.call(this);
|
|
1382
1382
|
var tmp = this;
|
|
1383
1383
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1384
|
-
tmp.
|
|
1384
|
+
tmp.o2l_1 = lazy(tmp_0, WaitingForConnectionReason$_anonymous__v65n7d);
|
|
1385
1385
|
}
|
|
1386
1386
|
protoOf(WaitingForConnectionReason).toString = function () {
|
|
1387
1387
|
return 'WaitingForConnectionReason';
|
|
@@ -1399,7 +1399,7 @@
|
|
|
1399
1399
|
return WaitingForConnectionReason_instance;
|
|
1400
1400
|
}
|
|
1401
1401
|
function _get_$cachedSerializer__te6jhj_4($this) {
|
|
1402
|
-
return $this.
|
|
1402
|
+
return $this.p2l_1.o2();
|
|
1403
1403
|
}
|
|
1404
1404
|
function ProcessingReason$_anonymous__fvp7fk() {
|
|
1405
1405
|
var tmp = ProcessingReason_getInstance();
|
|
@@ -1414,7 +1414,7 @@
|
|
|
1414
1414
|
TerminationGameReason.call(this);
|
|
1415
1415
|
var tmp = this;
|
|
1416
1416
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1417
|
-
tmp.
|
|
1417
|
+
tmp.p2l_1 = lazy(tmp_0, ProcessingReason$_anonymous__fvp7fk);
|
|
1418
1418
|
}
|
|
1419
1419
|
protoOf(ProcessingReason).toString = function () {
|
|
1420
1420
|
return 'ProcessingReason';
|
|
@@ -1442,33 +1442,33 @@
|
|
|
1442
1442
|
isBot = isBot === VOID ? false : isBot;
|
|
1443
1443
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
1444
1444
|
payload = payload === VOID ? null : payload;
|
|
1445
|
-
this.
|
|
1445
|
+
this.q2l_1 = playerId;
|
|
1446
1446
|
this.name = name;
|
|
1447
1447
|
this.avatarUrl = avatarUrl;
|
|
1448
1448
|
this.isBot = isBot;
|
|
1449
1449
|
this.initialLuckyFactor = initialLuckyFactor;
|
|
1450
1450
|
this.payload = payload;
|
|
1451
1451
|
}
|
|
1452
|
-
protoOf(GameUserInfo).
|
|
1453
|
-
return this.
|
|
1452
|
+
protoOf(GameUserInfo).t2k = function () {
|
|
1453
|
+
return this.q2l_1;
|
|
1454
1454
|
};
|
|
1455
1455
|
protoOf(GameUserInfo).g9 = function () {
|
|
1456
1456
|
return this.name;
|
|
1457
1457
|
};
|
|
1458
|
-
protoOf(GameUserInfo).
|
|
1458
|
+
protoOf(GameUserInfo).r2l = function () {
|
|
1459
1459
|
return this.avatarUrl;
|
|
1460
1460
|
};
|
|
1461
|
-
protoOf(GameUserInfo).
|
|
1461
|
+
protoOf(GameUserInfo).s2l = function () {
|
|
1462
1462
|
return this.isBot;
|
|
1463
1463
|
};
|
|
1464
|
-
protoOf(GameUserInfo).
|
|
1464
|
+
protoOf(GameUserInfo).t2l = function () {
|
|
1465
1465
|
return this.initialLuckyFactor;
|
|
1466
1466
|
};
|
|
1467
|
-
protoOf(GameUserInfo).
|
|
1467
|
+
protoOf(GameUserInfo).u2l = function () {
|
|
1468
1468
|
return this.payload;
|
|
1469
1469
|
};
|
|
1470
1470
|
protoOf(GameUserInfo).cd = function () {
|
|
1471
|
-
return this.
|
|
1471
|
+
return this.q2l_1;
|
|
1472
1472
|
};
|
|
1473
1473
|
protoOf(GameUserInfo).dd = function () {
|
|
1474
1474
|
return this.name;
|
|
@@ -1476,32 +1476,32 @@
|
|
|
1476
1476
|
protoOf(GameUserInfo).qh = function () {
|
|
1477
1477
|
return this.avatarUrl;
|
|
1478
1478
|
};
|
|
1479
|
-
protoOf(GameUserInfo).
|
|
1479
|
+
protoOf(GameUserInfo).m2k = function () {
|
|
1480
1480
|
return this.isBot;
|
|
1481
1481
|
};
|
|
1482
|
-
protoOf(GameUserInfo).
|
|
1482
|
+
protoOf(GameUserInfo).v2l = function () {
|
|
1483
1483
|
return this.initialLuckyFactor;
|
|
1484
1484
|
};
|
|
1485
|
-
protoOf(GameUserInfo).
|
|
1485
|
+
protoOf(GameUserInfo).w2l = function () {
|
|
1486
1486
|
return this.payload;
|
|
1487
1487
|
};
|
|
1488
|
-
protoOf(GameUserInfo).
|
|
1488
|
+
protoOf(GameUserInfo).x2l = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload) {
|
|
1489
1489
|
return new GameUserInfo(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1490
1490
|
};
|
|
1491
1491
|
protoOf(GameUserInfo).copy = function (playerId, name, avatarUrl, isBot, initialLuckyFactor, payload, $super) {
|
|
1492
|
-
playerId = playerId === VOID ? this.
|
|
1492
|
+
playerId = playerId === VOID ? this.q2l_1 : playerId;
|
|
1493
1493
|
name = name === VOID ? this.name : name;
|
|
1494
1494
|
avatarUrl = avatarUrl === VOID ? this.avatarUrl : avatarUrl;
|
|
1495
1495
|
isBot = isBot === VOID ? this.isBot : isBot;
|
|
1496
1496
|
initialLuckyFactor = initialLuckyFactor === VOID ? this.initialLuckyFactor : initialLuckyFactor;
|
|
1497
1497
|
payload = payload === VOID ? this.payload : payload;
|
|
1498
|
-
return this.
|
|
1498
|
+
return this.x2l(playerId, name, avatarUrl, isBot, initialLuckyFactor, payload);
|
|
1499
1499
|
};
|
|
1500
1500
|
protoOf(GameUserInfo).toString = function () {
|
|
1501
|
-
return 'GameUserInfo(playerId=' + this.
|
|
1501
|
+
return 'GameUserInfo(playerId=' + this.q2l_1 + ', name=' + this.name + ', avatarUrl=' + this.avatarUrl + ', isBot=' + this.isBot + ', initialLuckyFactor=' + this.initialLuckyFactor + ', payload=' + toString(this.payload) + ')';
|
|
1502
1502
|
};
|
|
1503
1503
|
protoOf(GameUserInfo).hashCode = function () {
|
|
1504
|
-
var result = getStringHashCode(this.
|
|
1504
|
+
var result = getStringHashCode(this.q2l_1);
|
|
1505
1505
|
result = imul(result, 31) + getStringHashCode(this.name) | 0;
|
|
1506
1506
|
result = imul(result, 31) + (this.avatarUrl == null ? 0 : getStringHashCode(this.avatarUrl)) | 0;
|
|
1507
1507
|
result = imul(result, 31) + getBooleanHashCode(this.isBot) | 0;
|
|
@@ -1515,7 +1515,7 @@
|
|
|
1515
1515
|
if (!(other instanceof GameUserInfo))
|
|
1516
1516
|
return false;
|
|
1517
1517
|
var tmp0_other_with_cast = other instanceof GameUserInfo ? other : THROW_CCE();
|
|
1518
|
-
if (!(this.
|
|
1518
|
+
if (!(this.q2l_1 === tmp0_other_with_cast.q2l_1))
|
|
1519
1519
|
return false;
|
|
1520
1520
|
if (!(this.name === tmp0_other_with_cast.name))
|
|
1521
1521
|
return false;
|
|
@@ -1595,18 +1595,18 @@
|
|
|
1595
1595
|
return destination;
|
|
1596
1596
|
}
|
|
1597
1597
|
function PlayerIndex(playerId, index) {
|
|
1598
|
-
this.
|
|
1599
|
-
this.
|
|
1598
|
+
this.a2m_1 = playerId;
|
|
1599
|
+
this.b2m_1 = index;
|
|
1600
1600
|
}
|
|
1601
|
-
protoOf(PlayerIndex).
|
|
1602
|
-
return this.
|
|
1601
|
+
protoOf(PlayerIndex).t2k = function () {
|
|
1602
|
+
return this.a2m_1;
|
|
1603
1603
|
};
|
|
1604
1604
|
protoOf(PlayerIndex).toString = function () {
|
|
1605
|
-
return 'PlayerIndex(playerId=' + this.
|
|
1605
|
+
return 'PlayerIndex(playerId=' + this.a2m_1 + ', index=' + this.b2m_1 + ')';
|
|
1606
1606
|
};
|
|
1607
1607
|
protoOf(PlayerIndex).hashCode = function () {
|
|
1608
|
-
var result = getStringHashCode(this.
|
|
1609
|
-
result = imul(result, 31) + this.
|
|
1608
|
+
var result = getStringHashCode(this.a2m_1);
|
|
1609
|
+
result = imul(result, 31) + this.b2m_1 | 0;
|
|
1610
1610
|
return result;
|
|
1611
1611
|
};
|
|
1612
1612
|
protoOf(PlayerIndex).equals = function (other) {
|
|
@@ -1615,10 +1615,10 @@
|
|
|
1615
1615
|
if (!(other instanceof PlayerIndex))
|
|
1616
1616
|
return false;
|
|
1617
1617
|
var tmp0_other_with_cast = other instanceof PlayerIndex ? other : THROW_CCE();
|
|
1618
|
-
if (!(this.z2l_1 === tmp0_other_with_cast.z2l_1))
|
|
1619
|
-
return false;
|
|
1620
1618
|
if (!(this.a2m_1 === tmp0_other_with_cast.a2m_1))
|
|
1621
1619
|
return false;
|
|
1620
|
+
if (!(this.b2m_1 === tmp0_other_with_cast.b2m_1))
|
|
1621
|
+
return false;
|
|
1622
1622
|
return true;
|
|
1623
1623
|
};
|
|
1624
1624
|
function filterPlayerTurn(_this__u8e3s4) {
|
|
@@ -1641,16 +1641,16 @@
|
|
|
1641
1641
|
return nextTo_0(_this__u8e3s4, get_byIdPlayerPredicate()(playerId));
|
|
1642
1642
|
}
|
|
1643
1643
|
function PlayerIdContractOrderComparator(players) {
|
|
1644
|
-
this.
|
|
1644
|
+
this.c2m_1 = players;
|
|
1645
1645
|
}
|
|
1646
|
-
protoOf(PlayerIdContractOrderComparator).
|
|
1647
|
-
var indexA = this.
|
|
1648
|
-
var indexB = this.
|
|
1646
|
+
protoOf(PlayerIdContractOrderComparator).d2m = function (a, b) {
|
|
1647
|
+
var indexA = this.c2m_1.y1(a.playerId);
|
|
1648
|
+
var indexB = this.c2m_1.y1(b.playerId);
|
|
1649
1649
|
return compareTo(indexA, indexB);
|
|
1650
1650
|
};
|
|
1651
1651
|
protoOf(PlayerIdContractOrderComparator).compare = function (a, b) {
|
|
1652
1652
|
var tmp = (!(a == null) ? isInterface(a, PlayerIdContract) : false) ? a : THROW_CCE();
|
|
1653
|
-
return this.
|
|
1653
|
+
return this.d2m(tmp, (!(b == null) ? isInterface(b, PlayerIdContract) : false) ? b : THROW_CCE());
|
|
1654
1654
|
};
|
|
1655
1655
|
function byIdPlayerPredicate$lambda(id) {
|
|
1656
1656
|
_init_properties_Player_kt__qi83pd();
|
|
@@ -1663,7 +1663,7 @@
|
|
|
1663
1663
|
}
|
|
1664
1664
|
function playerTurnPredicate$lambda(p1) {
|
|
1665
1665
|
_init_properties_Player_kt__qi83pd();
|
|
1666
|
-
return p1.i1r().
|
|
1666
|
+
return p1.i1r().l2m();
|
|
1667
1667
|
}
|
|
1668
1668
|
var properties_initialized_Player_kt_56shkt;
|
|
1669
1669
|
function _init_properties_Player_kt__qi83pd() {
|
|
@@ -1674,14 +1674,14 @@
|
|
|
1674
1674
|
}
|
|
1675
1675
|
}
|
|
1676
1676
|
function Companion_8() {
|
|
1677
|
-
this.
|
|
1677
|
+
this.m2m_1 = 75;
|
|
1678
1678
|
}
|
|
1679
|
-
protoOf(Companion_8).
|
|
1680
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
1679
|
+
protoOf(Companion_8).n2m = function (_this__u8e3s4) {
|
|
1680
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.s2m(PlayerConnectionState_LIVE_getInstance(), System_instance.q1m(), Duration__plus_impl_yu9v8f(_this__u8e3s4.q2m_1, _this__u8e3s4.r2m()));
|
|
1681
1681
|
return tmp1_elvis_lhs == null ? new PlayerConnection(PlayerConnectionState_LIVE_getInstance(), System_instance.q1m()) : tmp1_elvis_lhs;
|
|
1682
1682
|
};
|
|
1683
|
-
protoOf(Companion_8).
|
|
1684
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.
|
|
1683
|
+
protoOf(Companion_8).t2m = function (_this__u8e3s4, state) {
|
|
1684
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : _this__u8e3s4.u2m(state, System_instance.q1m());
|
|
1685
1685
|
return tmp1_elvis_lhs == null ? new PlayerConnection(state, System_instance.q1m()) : tmp1_elvis_lhs;
|
|
1686
1686
|
};
|
|
1687
1687
|
var Companion_instance_8;
|
|
@@ -1691,54 +1691,54 @@
|
|
|
1691
1691
|
function PlayerConnection(state, connectionChangedTime, notLiveDurationRecord) {
|
|
1692
1692
|
connectionChangedTime = connectionChangedTime === VOID ? System_instance.q1m() : connectionChangedTime;
|
|
1693
1693
|
notLiveDurationRecord = notLiveDurationRecord === VOID ? Companion_getInstance().tg_1 : notLiveDurationRecord;
|
|
1694
|
-
this.
|
|
1695
|
-
this.
|
|
1696
|
-
this.
|
|
1694
|
+
this.o2m_1 = state;
|
|
1695
|
+
this.p2m_1 = connectionChangedTime;
|
|
1696
|
+
this.q2m_1 = notLiveDurationRecord;
|
|
1697
1697
|
}
|
|
1698
|
-
protoOf(PlayerConnection).
|
|
1699
|
-
return System_instance.q1m().v1n(this.
|
|
1698
|
+
protoOf(PlayerConnection).r2m = function () {
|
|
1699
|
+
return System_instance.q1m().v1n(this.p2m_1);
|
|
1700
1700
|
};
|
|
1701
|
-
protoOf(PlayerConnection).
|
|
1701
|
+
protoOf(PlayerConnection).v2m = function () {
|
|
1702
1702
|
var tmp;
|
|
1703
|
-
if (this.
|
|
1704
|
-
tmp = this.
|
|
1703
|
+
if (this.o2m_1.isLive) {
|
|
1704
|
+
tmp = this.q2m_1;
|
|
1705
1705
|
} else {
|
|
1706
|
-
tmp = Duration__plus_impl_yu9v8f(this.
|
|
1706
|
+
tmp = Duration__plus_impl_yu9v8f(this.q2m_1, this.r2m());
|
|
1707
1707
|
}
|
|
1708
1708
|
return tmp;
|
|
1709
1709
|
};
|
|
1710
|
-
protoOf(PlayerConnection).
|
|
1710
|
+
protoOf(PlayerConnection).w2m = function (gameDuration) {
|
|
1711
1711
|
// Inline function 'kotlin.Long.div' call
|
|
1712
1712
|
var percent = _Duration___get_inWholeMilliseconds__impl__msfiry(gameDuration).da() / 100.0;
|
|
1713
1713
|
// Inline function 'kotlin.math.round' call
|
|
1714
1714
|
// Inline function 'kotlin.Long.div' call
|
|
1715
|
-
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.
|
|
1715
|
+
var x = _Duration___get_inWholeMilliseconds__impl__msfiry(this.v2m()).da() / percent;
|
|
1716
1716
|
var tmp$ret$2 = round(x);
|
|
1717
1717
|
return numberToInt(tmp$ret$2);
|
|
1718
1718
|
};
|
|
1719
|
-
protoOf(PlayerConnection).w2m = function (gameDuration) {
|
|
1720
|
-
return 100 - this.v2m(gameDuration) | 0;
|
|
1721
|
-
};
|
|
1722
1719
|
protoOf(PlayerConnection).x2m = function (gameDuration) {
|
|
1723
|
-
|
|
1720
|
+
return 100 - this.w2m(gameDuration) | 0;
|
|
1721
|
+
};
|
|
1722
|
+
protoOf(PlayerConnection).y2m = function (gameDuration) {
|
|
1723
|
+
var percentage = this.x2m(gameDuration);
|
|
1724
1724
|
return percentage >= 75;
|
|
1725
1725
|
};
|
|
1726
|
-
protoOf(PlayerConnection).
|
|
1726
|
+
protoOf(PlayerConnection).s2m = function (state, connectionChangedTime, notLiveDurationRecord) {
|
|
1727
1727
|
return new PlayerConnection(state, connectionChangedTime, notLiveDurationRecord);
|
|
1728
1728
|
};
|
|
1729
|
-
protoOf(PlayerConnection).
|
|
1730
|
-
state = state === VOID ? this.
|
|
1731
|
-
connectionChangedTime = connectionChangedTime === VOID ? this.
|
|
1732
|
-
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.
|
|
1733
|
-
return $super === VOID ? this.
|
|
1729
|
+
protoOf(PlayerConnection).u2m = function (state, connectionChangedTime, notLiveDurationRecord, $super) {
|
|
1730
|
+
state = state === VOID ? this.o2m_1 : state;
|
|
1731
|
+
connectionChangedTime = connectionChangedTime === VOID ? this.p2m_1 : connectionChangedTime;
|
|
1732
|
+
notLiveDurationRecord = notLiveDurationRecord === VOID ? this.q2m_1 : notLiveDurationRecord;
|
|
1733
|
+
return $super === VOID ? this.s2m(state, connectionChangedTime, notLiveDurationRecord) : $super.s2m.call(this, state, connectionChangedTime, new Duration(notLiveDurationRecord));
|
|
1734
1734
|
};
|
|
1735
1735
|
protoOf(PlayerConnection).toString = function () {
|
|
1736
|
-
return 'PlayerConnection(state=' + this.
|
|
1736
|
+
return 'PlayerConnection(state=' + this.o2m_1 + ', connectionChangedTime=' + this.p2m_1 + ', notLiveDurationRecord=' + new Duration(this.q2m_1) + ')';
|
|
1737
1737
|
};
|
|
1738
1738
|
protoOf(PlayerConnection).hashCode = function () {
|
|
1739
|
-
var result = this.
|
|
1740
|
-
result = imul(result, 31) + this.
|
|
1741
|
-
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.
|
|
1739
|
+
var result = this.o2m_1.hashCode();
|
|
1740
|
+
result = imul(result, 31) + this.p2m_1.hashCode() | 0;
|
|
1741
|
+
result = imul(result, 31) + Duration__hashCode_impl_u4exz6(this.q2m_1) | 0;
|
|
1742
1742
|
return result;
|
|
1743
1743
|
};
|
|
1744
1744
|
protoOf(PlayerConnection).equals = function (other) {
|
|
@@ -1747,16 +1747,16 @@
|
|
|
1747
1747
|
if (!(other instanceof PlayerConnection))
|
|
1748
1748
|
return false;
|
|
1749
1749
|
var tmp0_other_with_cast = other instanceof PlayerConnection ? other : THROW_CCE();
|
|
1750
|
-
if (!this.n2m_1.equals(tmp0_other_with_cast.n2m_1))
|
|
1751
|
-
return false;
|
|
1752
1750
|
if (!this.o2m_1.equals(tmp0_other_with_cast.o2m_1))
|
|
1753
1751
|
return false;
|
|
1754
|
-
if (!
|
|
1752
|
+
if (!this.p2m_1.equals(tmp0_other_with_cast.p2m_1))
|
|
1753
|
+
return false;
|
|
1754
|
+
if (!equals(this.q2m_1, tmp0_other_with_cast.q2m_1))
|
|
1755
1755
|
return false;
|
|
1756
1756
|
return true;
|
|
1757
1757
|
};
|
|
1758
1758
|
function _get_$cachedSerializer__te6jhj_5($this) {
|
|
1759
|
-
return $this.
|
|
1759
|
+
return $this.z2m_1.o2();
|
|
1760
1760
|
}
|
|
1761
1761
|
function PlayerConnectionState$Companion$_anonymous__8wfaw3() {
|
|
1762
1762
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerConnectionState', values_0());
|
|
@@ -1771,7 +1771,7 @@
|
|
|
1771
1771
|
Companion_instance_9 = this;
|
|
1772
1772
|
var tmp = this;
|
|
1773
1773
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1774
|
-
tmp.
|
|
1774
|
+
tmp.z2m_1 = lazy(tmp_0, PlayerConnectionState$Companion$_anonymous__8wfaw3);
|
|
1775
1775
|
}
|
|
1776
1776
|
protoOf(Companion_9).t16 = function () {
|
|
1777
1777
|
return _get_$cachedSerializer__te6jhj_5(this);
|
|
@@ -1825,28 +1825,28 @@
|
|
|
1825
1825
|
function PlayerConnectionState(name, ordinal) {
|
|
1826
1826
|
Enum.call(this, name, ordinal);
|
|
1827
1827
|
}
|
|
1828
|
-
protoOf(PlayerConnectionState).
|
|
1828
|
+
protoOf(PlayerConnectionState).c2n = function () {
|
|
1829
1829
|
return this.equals(PlayerConnectionState_LIVE_getInstance());
|
|
1830
1830
|
};
|
|
1831
|
-
protoOf(PlayerConnectionState).
|
|
1831
|
+
protoOf(PlayerConnectionState).d2n = function () {
|
|
1832
1832
|
return this.equals(PlayerConnectionState_TIMEOUT_getInstance());
|
|
1833
1833
|
};
|
|
1834
|
-
protoOf(PlayerConnectionState).
|
|
1834
|
+
protoOf(PlayerConnectionState).e2n = function () {
|
|
1835
1835
|
return this.equals(PlayerConnectionState_LOST_CONNECTION_getInstance());
|
|
1836
1836
|
};
|
|
1837
|
-
protoOf(PlayerConnectionState).
|
|
1837
|
+
protoOf(PlayerConnectionState).f2n = function () {
|
|
1838
1838
|
return this.equals(PlayerConnectionState_LEFT_getInstance());
|
|
1839
1839
|
};
|
|
1840
|
-
protoOf(PlayerConnectionState).
|
|
1840
|
+
protoOf(PlayerConnectionState).g2n = function () {
|
|
1841
1841
|
return this.equals(PlayerConnectionState_DELETED_getInstance());
|
|
1842
1842
|
};
|
|
1843
|
-
protoOf(PlayerConnectionState).
|
|
1843
|
+
protoOf(PlayerConnectionState).h2n = function () {
|
|
1844
1844
|
return this.equals(PlayerConnectionState_DISCONNECTING_getInstance());
|
|
1845
1845
|
};
|
|
1846
|
-
protoOf(PlayerConnectionState).
|
|
1846
|
+
protoOf(PlayerConnectionState).i2n = function () {
|
|
1847
1847
|
return this.isDisconnected ? true : this.isDeleted;
|
|
1848
1848
|
};
|
|
1849
|
-
protoOf(PlayerConnectionState).
|
|
1849
|
+
protoOf(PlayerConnectionState).j2n = function () {
|
|
1850
1850
|
return (this.isTimeOut ? true : this.isLostConnection) ? true : this.isLeft;
|
|
1851
1851
|
};
|
|
1852
1852
|
function PlayerConnectionState_LIVE_getInstance() {
|
|
@@ -1874,25 +1874,25 @@
|
|
|
1874
1874
|
return PlayerConnectionState_DELETED_instance;
|
|
1875
1875
|
}
|
|
1876
1876
|
function PlayerLuckyFactor(playerId, factor, wasLiveDuringGame, liveDurationPercentage) {
|
|
1877
|
-
this.
|
|
1877
|
+
this.k2n_1 = playerId;
|
|
1878
1878
|
this.factor = factor;
|
|
1879
1879
|
this.wasLiveDuringGame = wasLiveDuringGame;
|
|
1880
1880
|
this.liveDurationPercentage = liveDurationPercentage;
|
|
1881
1881
|
}
|
|
1882
|
-
protoOf(PlayerLuckyFactor).
|
|
1883
|
-
return this.
|
|
1882
|
+
protoOf(PlayerLuckyFactor).t2k = function () {
|
|
1883
|
+
return this.k2n_1;
|
|
1884
1884
|
};
|
|
1885
|
-
protoOf(PlayerLuckyFactor).
|
|
1885
|
+
protoOf(PlayerLuckyFactor).l2n = function () {
|
|
1886
1886
|
return this.factor;
|
|
1887
1887
|
};
|
|
1888
|
-
protoOf(PlayerLuckyFactor).
|
|
1888
|
+
protoOf(PlayerLuckyFactor).m2n = function () {
|
|
1889
1889
|
return this.wasLiveDuringGame;
|
|
1890
1890
|
};
|
|
1891
|
-
protoOf(PlayerLuckyFactor).
|
|
1891
|
+
protoOf(PlayerLuckyFactor).n2n = function () {
|
|
1892
1892
|
return this.liveDurationPercentage;
|
|
1893
1893
|
};
|
|
1894
1894
|
protoOf(PlayerLuckyFactor).cd = function () {
|
|
1895
|
-
return this.
|
|
1895
|
+
return this.k2n_1;
|
|
1896
1896
|
};
|
|
1897
1897
|
protoOf(PlayerLuckyFactor).dd = function () {
|
|
1898
1898
|
return this.factor;
|
|
@@ -1900,24 +1900,24 @@
|
|
|
1900
1900
|
protoOf(PlayerLuckyFactor).qh = function () {
|
|
1901
1901
|
return this.wasLiveDuringGame;
|
|
1902
1902
|
};
|
|
1903
|
-
protoOf(PlayerLuckyFactor).
|
|
1903
|
+
protoOf(PlayerLuckyFactor).m2k = function () {
|
|
1904
1904
|
return this.liveDurationPercentage;
|
|
1905
1905
|
};
|
|
1906
|
-
protoOf(PlayerLuckyFactor).
|
|
1906
|
+
protoOf(PlayerLuckyFactor).o2n = function (playerId, factor, wasLiveDuringGame, liveDurationPercentage) {
|
|
1907
1907
|
return new PlayerLuckyFactor(playerId, factor, wasLiveDuringGame, liveDurationPercentage);
|
|
1908
1908
|
};
|
|
1909
1909
|
protoOf(PlayerLuckyFactor).copy = function (playerId, factor, wasLiveDuringGame, liveDurationPercentage, $super) {
|
|
1910
|
-
playerId = playerId === VOID ? this.
|
|
1910
|
+
playerId = playerId === VOID ? this.k2n_1 : playerId;
|
|
1911
1911
|
factor = factor === VOID ? this.factor : factor;
|
|
1912
1912
|
wasLiveDuringGame = wasLiveDuringGame === VOID ? this.wasLiveDuringGame : wasLiveDuringGame;
|
|
1913
1913
|
liveDurationPercentage = liveDurationPercentage === VOID ? this.liveDurationPercentage : liveDurationPercentage;
|
|
1914
|
-
return this.
|
|
1914
|
+
return this.o2n(playerId, factor, wasLiveDuringGame, liveDurationPercentage);
|
|
1915
1915
|
};
|
|
1916
1916
|
protoOf(PlayerLuckyFactor).toString = function () {
|
|
1917
|
-
return 'PlayerLuckyFactor(playerId=' + this.
|
|
1917
|
+
return 'PlayerLuckyFactor(playerId=' + this.k2n_1 + ', factor=' + this.factor + ', wasLiveDuringGame=' + this.wasLiveDuringGame + ', liveDurationPercentage=' + this.liveDurationPercentage + ')';
|
|
1918
1918
|
};
|
|
1919
1919
|
protoOf(PlayerLuckyFactor).hashCode = function () {
|
|
1920
|
-
var result = getStringHashCode(this.
|
|
1920
|
+
var result = getStringHashCode(this.k2n_1);
|
|
1921
1921
|
result = imul(result, 31) + getNumberHashCode(this.factor) | 0;
|
|
1922
1922
|
result = imul(result, 31) + getBooleanHashCode(this.wasLiveDuringGame) | 0;
|
|
1923
1923
|
result = imul(result, 31) + (this.liveDurationPercentage == null ? 0 : this.liveDurationPercentage) | 0;
|
|
@@ -1929,7 +1929,7 @@
|
|
|
1929
1929
|
if (!(other instanceof PlayerLuckyFactor))
|
|
1930
1930
|
return false;
|
|
1931
1931
|
var tmp0_other_with_cast = other instanceof PlayerLuckyFactor ? other : THROW_CCE();
|
|
1932
|
-
if (!(this.
|
|
1932
|
+
if (!(this.k2n_1 === tmp0_other_with_cast.k2n_1))
|
|
1933
1933
|
return false;
|
|
1934
1934
|
if (!equals(this.factor, tmp0_other_with_cast.factor))
|
|
1935
1935
|
return false;
|
|
@@ -1940,7 +1940,7 @@
|
|
|
1940
1940
|
return true;
|
|
1941
1941
|
};
|
|
1942
1942
|
function _get_$cachedSerializer__te6jhj_6($this) {
|
|
1943
|
-
return $this.
|
|
1943
|
+
return $this.p2n_1.o2();
|
|
1944
1944
|
}
|
|
1945
1945
|
function PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2() {
|
|
1946
1946
|
return createSimpleEnumSerializer('com.logic.data.models.player.PlayerState.PlayerWaitingState', values_1());
|
|
@@ -1952,7 +1952,7 @@
|
|
|
1952
1952
|
Companion_instance_10 = this;
|
|
1953
1953
|
var tmp = this;
|
|
1954
1954
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
1955
|
-
tmp.
|
|
1955
|
+
tmp.p2n_1 = lazy(tmp_0, PlayerState$PlayerWaitingState$Companion$_anonymous__jkatu2);
|
|
1956
1956
|
}
|
|
1957
1957
|
protoOf(Companion_10).t16 = function () {
|
|
1958
1958
|
return _get_$cachedSerializer__te6jhj_6(this);
|
|
@@ -1983,25 +1983,25 @@
|
|
|
1983
1983
|
function PlayerWaitingState(name, ordinal) {
|
|
1984
1984
|
Enum.call(this, name, ordinal);
|
|
1985
1985
|
}
|
|
1986
|
-
protoOf(PlayerWaitingState).
|
|
1986
|
+
protoOf(PlayerWaitingState).s2n = function () {
|
|
1987
1987
|
return this.equals(PlayerWaitingState_IN_PROGRESS_getInstance());
|
|
1988
1988
|
};
|
|
1989
|
-
protoOf(PlayerWaitingState).
|
|
1989
|
+
protoOf(PlayerWaitingState).t2n = function () {
|
|
1990
1990
|
return this.equals(PlayerWaitingState_IN_PROGRESS_ATTENTION_MODE_getInstance());
|
|
1991
1991
|
};
|
|
1992
1992
|
function Companion_11() {
|
|
1993
1993
|
}
|
|
1994
|
-
protoOf(Companion_11).
|
|
1994
|
+
protoOf(Companion_11).u2n = function (connection) {
|
|
1995
1995
|
var tmp0_state = PlayerWaitingState_IDLE_getInstance();
|
|
1996
1996
|
return new PlayerState(null, null, null, tmp0_state, false, null, connection);
|
|
1997
1997
|
};
|
|
1998
|
-
protoOf(Companion_11).
|
|
1999
|
-
return _this__u8e3s4.
|
|
1998
|
+
protoOf(Companion_11).v2n = function (_this__u8e3s4) {
|
|
1999
|
+
return _this__u8e3s4.w2n(null, null, VOID, PlayerWaitingState_IDLE_getInstance(), VOID, null);
|
|
2000
2000
|
};
|
|
2001
|
-
protoOf(Companion_11).
|
|
2001
|
+
protoOf(Companion_11).x2n = function (_this__u8e3s4, playerTurnTimeout, tag) {
|
|
2002
2002
|
var tmp0_startFromTime = System_instance.q1m();
|
|
2003
2003
|
var tmp1_state = PlayerWaitingState_IN_PROGRESS_getInstance();
|
|
2004
|
-
return _this__u8e3s4.
|
|
2004
|
+
return _this__u8e3s4.w2n(tmp0_startFromTime, playerTurnTimeout, VOID, tmp1_state, false, tag);
|
|
2005
2005
|
};
|
|
2006
2006
|
var Companion_instance_11;
|
|
2007
2007
|
function Companion_getInstance_13() {
|
|
@@ -2022,17 +2022,17 @@
|
|
|
2022
2022
|
function PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
2023
2023
|
tag = tag === VOID ? null : tag;
|
|
2024
2024
|
connection = connection === VOID ? null : connection;
|
|
2025
|
-
this.
|
|
2026
|
-
this.
|
|
2027
|
-
this.
|
|
2028
|
-
this.
|
|
2029
|
-
this.
|
|
2030
|
-
this.
|
|
2031
|
-
this.
|
|
2032
|
-
}
|
|
2033
|
-
protoOf(PlayerState).
|
|
2025
|
+
this.e2m_1 = startFromTime;
|
|
2026
|
+
this.f2m_1 = playerTurnTimeout;
|
|
2027
|
+
this.g2m_1 = waitPlayerUntilTime;
|
|
2028
|
+
this.h2m_1 = state;
|
|
2029
|
+
this.i2m_1 = ready;
|
|
2030
|
+
this.j2m_1 = tag;
|
|
2031
|
+
this.k2m_1 = connection;
|
|
2032
|
+
}
|
|
2033
|
+
protoOf(PlayerState).y2n = function () {
|
|
2034
2034
|
// Inline function 'kotlin.requireNotNull' call
|
|
2035
|
-
var value = this.
|
|
2035
|
+
var value = this.k2m_1;
|
|
2036
2036
|
// Inline function 'kotlin.contracts.contract' call
|
|
2037
2037
|
var tmp$ret$1;
|
|
2038
2038
|
$l$block: {
|
|
@@ -2049,9 +2049,9 @@
|
|
|
2049
2049
|
}
|
|
2050
2050
|
return tmp$ret$1;
|
|
2051
2051
|
};
|
|
2052
|
-
protoOf(PlayerState).
|
|
2052
|
+
protoOf(PlayerState).z2n = function () {
|
|
2053
2053
|
// Inline function 'kotlin.requireNotNull' call
|
|
2054
|
-
var value = this.
|
|
2054
|
+
var value = this.j2m_1;
|
|
2055
2055
|
// Inline function 'kotlin.contracts.contract' call
|
|
2056
2056
|
var tmp$ret$1;
|
|
2057
2057
|
$l$block: {
|
|
@@ -2068,37 +2068,37 @@
|
|
|
2068
2068
|
}
|
|
2069
2069
|
return tmp$ret$1;
|
|
2070
2070
|
};
|
|
2071
|
-
protoOf(PlayerState).
|
|
2072
|
-
var tmp0_elvis_lhs = this.
|
|
2071
|
+
protoOf(PlayerState).a2o = function () {
|
|
2072
|
+
var tmp0_elvis_lhs = this.j2m_1;
|
|
2073
2073
|
return tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
2074
2074
|
};
|
|
2075
|
-
protoOf(PlayerState).
|
|
2076
|
-
return this.
|
|
2075
|
+
protoOf(PlayerState).l2m = function () {
|
|
2076
|
+
return this.h2m_1.s2n() ? true : this.h2m_1.t2n();
|
|
2077
2077
|
};
|
|
2078
|
-
protoOf(PlayerState).
|
|
2078
|
+
protoOf(PlayerState).b2o = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) {
|
|
2079
2079
|
return new PlayerState(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
2080
2080
|
};
|
|
2081
|
-
protoOf(PlayerState).
|
|
2082
|
-
startFromTime = startFromTime === VOID ? this.
|
|
2083
|
-
playerTurnTimeout = playerTurnTimeout === VOID ? this.
|
|
2084
|
-
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.
|
|
2085
|
-
state = state === VOID ? this.
|
|
2086
|
-
ready = ready === VOID ? this.
|
|
2087
|
-
tag = tag === VOID ? this.
|
|
2088
|
-
connection = connection === VOID ? this.
|
|
2089
|
-
return $super === VOID ? this.
|
|
2081
|
+
protoOf(PlayerState).w2n = function (startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, $super) {
|
|
2082
|
+
startFromTime = startFromTime === VOID ? this.e2m_1 : startFromTime;
|
|
2083
|
+
playerTurnTimeout = playerTurnTimeout === VOID ? this.f2m_1 : playerTurnTimeout;
|
|
2084
|
+
waitPlayerUntilTime = waitPlayerUntilTime === VOID ? this.g2m_1 : waitPlayerUntilTime;
|
|
2085
|
+
state = state === VOID ? this.h2m_1 : state;
|
|
2086
|
+
ready = ready === VOID ? this.i2m_1 : ready;
|
|
2087
|
+
tag = tag === VOID ? this.j2m_1 : tag;
|
|
2088
|
+
connection = connection === VOID ? this.k2m_1 : connection;
|
|
2089
|
+
return $super === VOID ? this.b2o(startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection) : $super.b2o.call(this, startFromTime, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection);
|
|
2090
2090
|
};
|
|
2091
2091
|
protoOf(PlayerState).toString = function () {
|
|
2092
|
-
return 'PlayerState(startFromTime=' + this.
|
|
2092
|
+
return 'PlayerState(startFromTime=' + this.e2m_1 + ', playerTurnTimeout=' + this.f2m_1 + ', waitPlayerUntilTime=' + this.g2m_1 + ', state=' + this.h2m_1 + ', ready=' + this.i2m_1 + ', tag=' + this.j2m_1 + ', connection=' + this.k2m_1 + ')';
|
|
2093
2093
|
};
|
|
2094
2094
|
protoOf(PlayerState).hashCode = function () {
|
|
2095
|
-
var result = this.
|
|
2096
|
-
result = imul(result, 31) + (this.e2m_1 == null ? 0 : this.e2m_1.hashCode()) | 0;
|
|
2095
|
+
var result = this.e2m_1 == null ? 0 : this.e2m_1.hashCode();
|
|
2097
2096
|
result = imul(result, 31) + (this.f2m_1 == null ? 0 : this.f2m_1.hashCode()) | 0;
|
|
2098
|
-
result = imul(result, 31) + this.g2m_1.hashCode() | 0;
|
|
2099
|
-
result = imul(result, 31) +
|
|
2100
|
-
result = imul(result, 31) + (this.i2m_1
|
|
2101
|
-
result = imul(result, 31) + (this.j2m_1 == null ? 0 : this.j2m_1
|
|
2097
|
+
result = imul(result, 31) + (this.g2m_1 == null ? 0 : this.g2m_1.hashCode()) | 0;
|
|
2098
|
+
result = imul(result, 31) + this.h2m_1.hashCode() | 0;
|
|
2099
|
+
result = imul(result, 31) + getBooleanHashCode(this.i2m_1) | 0;
|
|
2100
|
+
result = imul(result, 31) + (this.j2m_1 == null ? 0 : getStringHashCode(this.j2m_1)) | 0;
|
|
2101
|
+
result = imul(result, 31) + (this.k2m_1 == null ? 0 : this.k2m_1.hashCode()) | 0;
|
|
2102
2102
|
return result;
|
|
2103
2103
|
};
|
|
2104
2104
|
protoOf(PlayerState).equals = function (other) {
|
|
@@ -2107,30 +2107,30 @@
|
|
|
2107
2107
|
if (!(other instanceof PlayerState))
|
|
2108
2108
|
return false;
|
|
2109
2109
|
var tmp0_other_with_cast = other instanceof PlayerState ? other : THROW_CCE();
|
|
2110
|
-
if (!equals(this.d2m_1, tmp0_other_with_cast.d2m_1))
|
|
2111
|
-
return false;
|
|
2112
2110
|
if (!equals(this.e2m_1, tmp0_other_with_cast.e2m_1))
|
|
2113
2111
|
return false;
|
|
2114
2112
|
if (!equals(this.f2m_1, tmp0_other_with_cast.f2m_1))
|
|
2115
2113
|
return false;
|
|
2116
|
-
if (!this.g2m_1
|
|
2114
|
+
if (!equals(this.g2m_1, tmp0_other_with_cast.g2m_1))
|
|
2115
|
+
return false;
|
|
2116
|
+
if (!this.h2m_1.equals(tmp0_other_with_cast.h2m_1))
|
|
2117
2117
|
return false;
|
|
2118
|
-
if (!(this.
|
|
2118
|
+
if (!(this.i2m_1 === tmp0_other_with_cast.i2m_1))
|
|
2119
2119
|
return false;
|
|
2120
|
-
if (!(this.
|
|
2120
|
+
if (!(this.j2m_1 == tmp0_other_with_cast.j2m_1))
|
|
2121
2121
|
return false;
|
|
2122
|
-
if (!equals(this.
|
|
2122
|
+
if (!equals(this.k2m_1, tmp0_other_with_cast.k2m_1))
|
|
2123
2123
|
return false;
|
|
2124
2124
|
return true;
|
|
2125
2125
|
};
|
|
2126
2126
|
function Team(playerIds) {
|
|
2127
|
-
this.
|
|
2127
|
+
this.c2o_1 = playerIds;
|
|
2128
2128
|
}
|
|
2129
2129
|
protoOf(Team).toString = function () {
|
|
2130
|
-
return 'Team(playerIds=' + this.
|
|
2130
|
+
return 'Team(playerIds=' + this.c2o_1 + ')';
|
|
2131
2131
|
};
|
|
2132
2132
|
protoOf(Team).hashCode = function () {
|
|
2133
|
-
return hashCode(this.
|
|
2133
|
+
return hashCode(this.c2o_1);
|
|
2134
2134
|
};
|
|
2135
2135
|
protoOf(Team).equals = function (other) {
|
|
2136
2136
|
if (this === other)
|
|
@@ -2138,7 +2138,7 @@
|
|
|
2138
2138
|
if (!(other instanceof Team))
|
|
2139
2139
|
return false;
|
|
2140
2140
|
var tmp0_other_with_cast = other instanceof Team ? other : THROW_CCE();
|
|
2141
|
-
if (!equals(this.
|
|
2141
|
+
if (!equals(this.c2o_1, tmp0_other_with_cast.c2o_1))
|
|
2142
2142
|
return false;
|
|
2143
2143
|
return true;
|
|
2144
2144
|
};
|
|
@@ -2182,55 +2182,55 @@
|
|
|
2182
2182
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
2183
2183
|
this.tenCardsInHand = tenCardsInHand;
|
|
2184
2184
|
}
|
|
2185
|
-
protoOf(Rules).
|
|
2185
|
+
protoOf(Rules).d2o = function () {
|
|
2186
2186
|
return this.needToPutHigherTrump;
|
|
2187
2187
|
};
|
|
2188
|
-
protoOf(Rules).
|
|
2188
|
+
protoOf(Rules).e2o = function () {
|
|
2189
2189
|
return this.distributePoints;
|
|
2190
2190
|
};
|
|
2191
|
-
protoOf(Rules).
|
|
2191
|
+
protoOf(Rules).f2o = function () {
|
|
2192
2192
|
return this.protectBella;
|
|
2193
2193
|
};
|
|
2194
|
-
protoOf(Rules).
|
|
2194
|
+
protoOf(Rules).g2o = function () {
|
|
2195
2195
|
return this.oneTryToProtectBella;
|
|
2196
2196
|
};
|
|
2197
|
-
protoOf(Rules).
|
|
2197
|
+
protoOf(Rules).h2o = function () {
|
|
2198
2198
|
return this.enableFourSevensCombination;
|
|
2199
2199
|
};
|
|
2200
|
-
protoOf(Rules).
|
|
2200
|
+
protoOf(Rules).i2o = function () {
|
|
2201
2201
|
return this.enableTrumpSevenCombination;
|
|
2202
2202
|
};
|
|
2203
|
-
protoOf(Rules).
|
|
2203
|
+
protoOf(Rules).j2o = function () {
|
|
2204
2204
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2205
2205
|
};
|
|
2206
|
-
protoOf(Rules).
|
|
2206
|
+
protoOf(Rules).k2o = function () {
|
|
2207
2207
|
return this.playerWhoChooseSuitGoFirst;
|
|
2208
2208
|
};
|
|
2209
|
-
protoOf(Rules).
|
|
2209
|
+
protoOf(Rules).l2o = function () {
|
|
2210
2210
|
return this.winnerShuffleCards;
|
|
2211
2211
|
};
|
|
2212
|
-
protoOf(Rules).
|
|
2212
|
+
protoOf(Rules).m2o = function () {
|
|
2213
2213
|
return this.playWithoutLiabilities;
|
|
2214
2214
|
};
|
|
2215
|
-
protoOf(Rules).
|
|
2215
|
+
protoOf(Rules).n2o = function () {
|
|
2216
2216
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2217
2217
|
};
|
|
2218
|
-
protoOf(Rules).
|
|
2218
|
+
protoOf(Rules).o2o = function () {
|
|
2219
2219
|
return this.enableFineIfNoBribes;
|
|
2220
2220
|
};
|
|
2221
|
-
protoOf(Rules).
|
|
2221
|
+
protoOf(Rules).p2o = function () {
|
|
2222
2222
|
return this.fineIfNoBribes;
|
|
2223
2223
|
};
|
|
2224
|
-
protoOf(Rules).
|
|
2224
|
+
protoOf(Rules).q2o = function () {
|
|
2225
2225
|
return this.enableFineAfterThirdByte;
|
|
2226
2226
|
};
|
|
2227
|
-
protoOf(Rules).
|
|
2227
|
+
protoOf(Rules).r2o = function () {
|
|
2228
2228
|
return this.checkTrumpCombination;
|
|
2229
2229
|
};
|
|
2230
|
-
protoOf(Rules).
|
|
2230
|
+
protoOf(Rules).s2o = function () {
|
|
2231
2231
|
return this.checkOnlyTrumpDebertz;
|
|
2232
2232
|
};
|
|
2233
|
-
protoOf(Rules).
|
|
2233
|
+
protoOf(Rules).t2o = function () {
|
|
2234
2234
|
return this.tenCardsInHand;
|
|
2235
2235
|
};
|
|
2236
2236
|
protoOf(Rules).cd = function () {
|
|
@@ -2242,49 +2242,49 @@
|
|
|
2242
2242
|
protoOf(Rules).qh = function () {
|
|
2243
2243
|
return this.protectBella;
|
|
2244
2244
|
};
|
|
2245
|
-
protoOf(Rules).
|
|
2245
|
+
protoOf(Rules).m2k = function () {
|
|
2246
2246
|
return this.oneTryToProtectBella;
|
|
2247
2247
|
};
|
|
2248
|
-
protoOf(Rules).
|
|
2248
|
+
protoOf(Rules).v2l = function () {
|
|
2249
2249
|
return this.enableFourSevensCombination;
|
|
2250
2250
|
};
|
|
2251
|
-
protoOf(Rules).
|
|
2251
|
+
protoOf(Rules).w2l = function () {
|
|
2252
2252
|
return this.enableTrumpSevenCombination;
|
|
2253
2253
|
};
|
|
2254
|
-
protoOf(Rules).
|
|
2254
|
+
protoOf(Rules).u2o = function () {
|
|
2255
2255
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
2256
2256
|
};
|
|
2257
|
-
protoOf(Rules).
|
|
2257
|
+
protoOf(Rules).v2o = function () {
|
|
2258
2258
|
return this.playerWhoChooseSuitGoFirst;
|
|
2259
2259
|
};
|
|
2260
|
-
protoOf(Rules).
|
|
2260
|
+
protoOf(Rules).w2o = function () {
|
|
2261
2261
|
return this.winnerShuffleCards;
|
|
2262
2262
|
};
|
|
2263
|
-
protoOf(Rules).
|
|
2263
|
+
protoOf(Rules).x2o = function () {
|
|
2264
2264
|
return this.playWithoutLiabilities;
|
|
2265
2265
|
};
|
|
2266
|
-
protoOf(Rules).
|
|
2266
|
+
protoOf(Rules).y2o = function () {
|
|
2267
2267
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
2268
2268
|
};
|
|
2269
|
-
protoOf(Rules).
|
|
2269
|
+
protoOf(Rules).z2o = function () {
|
|
2270
2270
|
return this.enableFineIfNoBribes;
|
|
2271
2271
|
};
|
|
2272
|
-
protoOf(Rules).
|
|
2272
|
+
protoOf(Rules).a2p = function () {
|
|
2273
2273
|
return this.fineIfNoBribes;
|
|
2274
2274
|
};
|
|
2275
|
-
protoOf(Rules).
|
|
2275
|
+
protoOf(Rules).b2p = function () {
|
|
2276
2276
|
return this.enableFineAfterThirdByte;
|
|
2277
2277
|
};
|
|
2278
|
-
protoOf(Rules).
|
|
2278
|
+
protoOf(Rules).c2p = function () {
|
|
2279
2279
|
return this.checkTrumpCombination;
|
|
2280
2280
|
};
|
|
2281
|
-
protoOf(Rules).
|
|
2281
|
+
protoOf(Rules).d2p = function () {
|
|
2282
2282
|
return this.checkOnlyTrumpDebertz;
|
|
2283
2283
|
};
|
|
2284
|
-
protoOf(Rules).
|
|
2284
|
+
protoOf(Rules).e2p = function () {
|
|
2285
2285
|
return this.tenCardsInHand;
|
|
2286
2286
|
};
|
|
2287
|
-
protoOf(Rules).
|
|
2287
|
+
protoOf(Rules).f2p = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
2288
2288
|
return new Rules(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2289
2289
|
};
|
|
2290
2290
|
protoOf(Rules).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -2305,7 +2305,7 @@
|
|
|
2305
2305
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
2306
2306
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
2307
2307
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
2308
|
-
return this.
|
|
2308
|
+
return this.f2p(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
2309
2309
|
};
|
|
2310
2310
|
protoOf(Rules).toString = function () {
|
|
2311
2311
|
return 'Rules(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 + ')';
|
|
@@ -2460,7 +2460,7 @@
|
|
|
2460
2460
|
return RulesSetType_custom_instance;
|
|
2461
2461
|
}
|
|
2462
2462
|
function _get_$cachedSerializer__te6jhj_7($this) {
|
|
2463
|
-
return $this.
|
|
2463
|
+
return $this.i2p_1.o2();
|
|
2464
2464
|
}
|
|
2465
2465
|
function BufferedActionDto$Companion$_anonymous__7htcgr() {
|
|
2466
2466
|
var tmp = getKClass(BufferedActionDto);
|
|
@@ -2474,7 +2474,7 @@
|
|
|
2474
2474
|
Companion_instance_13 = this;
|
|
2475
2475
|
var tmp = this;
|
|
2476
2476
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
2477
|
-
tmp.
|
|
2477
|
+
tmp.i2p_1 = lazy(tmp_0, BufferedActionDto$Companion$_anonymous__7htcgr);
|
|
2478
2478
|
}
|
|
2479
2479
|
protoOf(Companion_13).t16 = function () {
|
|
2480
2480
|
return _get_$cachedSerializer__te6jhj_7(this);
|
|
@@ -2495,13 +2495,13 @@
|
|
|
2495
2495
|
Companion_getInstance_15();
|
|
2496
2496
|
}
|
|
2497
2497
|
function mapToDto(_this__u8e3s4) {
|
|
2498
|
-
return _this__u8e3s4.
|
|
2498
|
+
return _this__u8e3s4.k2p_1;
|
|
2499
2499
|
}
|
|
2500
2500
|
function mapFromDto(_this__u8e3s4) {
|
|
2501
2501
|
return new GameCard(_this__u8e3s4);
|
|
2502
2502
|
}
|
|
2503
2503
|
function mapToDto_0(_this__u8e3s4) {
|
|
2504
|
-
if (!Toggles_instance.
|
|
2504
|
+
if (!Toggles_instance.d2k()) {
|
|
2505
2505
|
return new RulesDto(_this__u8e3s4.needToPutHigherTrump, _this__u8e3s4.distributePoints, _this__u8e3s4.protectBella, VOID, _this__u8e3s4.enableFourSevensCombination, _this__u8e3s4.enableTrumpSevenCombination, _this__u8e3s4.enableTrumpSevenCombinationAfterDistribution, _this__u8e3s4.playerWhoChooseSuitGoFirst, _this__u8e3s4.winnerShuffleCards, _this__u8e3s4.playWithoutLiabilities, _this__u8e3s4.trumpCardGoToPlayerWhoShuffleCards, _this__u8e3s4.enableFineIfNoBribes, _this__u8e3s4.fineIfNoBribes, _this__u8e3s4.enableFineAfterThirdByte, _this__u8e3s4.checkTrumpCombination, _this__u8e3s4.checkOnlyTrumpDebertz, _this__u8e3s4.tenCardsInHand);
|
|
2506
2506
|
}
|
|
2507
2507
|
// Inline function 'kotlin.takeIf' call
|
|
@@ -2717,11 +2717,11 @@
|
|
|
2717
2717
|
tmp = null;
|
|
2718
2718
|
}
|
|
2719
2719
|
var tmp$ret$1 = tmp;
|
|
2720
|
-
return new GameUserInfoDto(_this__u8e3s4.
|
|
2720
|
+
return new GameUserInfoDto(_this__u8e3s4.q2l_1, _this__u8e3s4.name, _this__u8e3s4.avatarUrl, tmp$ret$1, _this__u8e3s4.initialLuckyFactor);
|
|
2721
2721
|
}
|
|
2722
2722
|
function mapFromDto_1(_this__u8e3s4) {
|
|
2723
|
-
var tmp0_elvis_lhs = _this__u8e3s4.
|
|
2724
|
-
return new GameUserInfo(_this__u8e3s4.
|
|
2723
|
+
var tmp0_elvis_lhs = _this__u8e3s4.o2p_1;
|
|
2724
|
+
return new GameUserInfo(_this__u8e3s4.l2p_1, _this__u8e3s4.m2p_1, _this__u8e3s4.n2p_1, tmp0_elvis_lhs == null ? false : tmp0_elvis_lhs, _this__u8e3s4.p2p_1);
|
|
2725
2725
|
}
|
|
2726
2726
|
function Companion_14() {
|
|
2727
2727
|
}
|
|
@@ -2737,10 +2737,10 @@
|
|
|
2737
2737
|
tmp0_serialDesc.ku('avatarUrl', true);
|
|
2738
2738
|
tmp0_serialDesc.ku('isBot', true);
|
|
2739
2739
|
tmp0_serialDesc.ku('initialLuckyFactor', true);
|
|
2740
|
-
this.
|
|
2740
|
+
this.q2p_1 = tmp0_serialDesc;
|
|
2741
2741
|
}
|
|
2742
2742
|
protoOf($serializer_5).pj = function () {
|
|
2743
|
-
return this.
|
|
2743
|
+
return this.q2p_1;
|
|
2744
2744
|
};
|
|
2745
2745
|
protoOf($serializer_5).zu = function () {
|
|
2746
2746
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -2749,7 +2749,7 @@
|
|
|
2749
2749
|
return [StringSerializer_getInstance(), StringSerializer_getInstance(), get_nullable(StringSerializer_getInstance()), get_nullable(BooleanSerializer_getInstance()), get_nullable(FloatSerializer_getInstance())];
|
|
2750
2750
|
};
|
|
2751
2751
|
protoOf($serializer_5).rj = function (decoder) {
|
|
2752
|
-
var tmp0_desc = this.
|
|
2752
|
+
var tmp0_desc = this.q2p_1;
|
|
2753
2753
|
var tmp1_flag = true;
|
|
2754
2754
|
var tmp2_index = 0;
|
|
2755
2755
|
var tmp3_bitMask0 = 0;
|
|
@@ -2804,24 +2804,24 @@
|
|
|
2804
2804
|
tmp9_input.ym(tmp0_desc);
|
|
2805
2805
|
return GameUserInfoDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, null);
|
|
2806
2806
|
};
|
|
2807
|
-
protoOf($serializer_5).
|
|
2808
|
-
var tmp0_desc = this.
|
|
2807
|
+
protoOf($serializer_5).r2p = function (encoder, value) {
|
|
2808
|
+
var tmp0_desc = this.q2p_1;
|
|
2809
2809
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
2810
|
-
tmp1_output.mo(tmp0_desc, 0, value.
|
|
2811
|
-
tmp1_output.mo(tmp0_desc, 1, value.
|
|
2812
|
-
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.
|
|
2813
|
-
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
2810
|
+
tmp1_output.mo(tmp0_desc, 0, value.l2p_1);
|
|
2811
|
+
tmp1_output.mo(tmp0_desc, 1, value.m2p_1);
|
|
2812
|
+
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.n2p_1 == null)) {
|
|
2813
|
+
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.n2p_1);
|
|
2814
2814
|
}
|
|
2815
|
-
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.
|
|
2816
|
-
tmp1_output.qo(tmp0_desc, 3, BooleanSerializer_getInstance(), value.
|
|
2815
|
+
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.o2p_1 === false)) {
|
|
2816
|
+
tmp1_output.qo(tmp0_desc, 3, BooleanSerializer_getInstance(), value.o2p_1);
|
|
2817
2817
|
}
|
|
2818
|
-
if (tmp1_output.uo(tmp0_desc, 4) ? true : !(value.
|
|
2819
|
-
tmp1_output.qo(tmp0_desc, 4, FloatSerializer_getInstance(), value.
|
|
2818
|
+
if (tmp1_output.uo(tmp0_desc, 4) ? true : !(value.p2p_1 == null)) {
|
|
2819
|
+
tmp1_output.qo(tmp0_desc, 4, FloatSerializer_getInstance(), value.p2p_1);
|
|
2820
2820
|
}
|
|
2821
2821
|
tmp1_output.ym(tmp0_desc);
|
|
2822
2822
|
};
|
|
2823
2823
|
protoOf($serializer_5).qj = function (encoder, value) {
|
|
2824
|
-
return this.
|
|
2824
|
+
return this.r2p(encoder, value instanceof GameUserInfoDto ? value : THROW_CCE());
|
|
2825
2825
|
};
|
|
2826
2826
|
var $serializer_instance_5;
|
|
2827
2827
|
function $serializer_getInstance_5() {
|
|
@@ -2831,22 +2831,22 @@
|
|
|
2831
2831
|
}
|
|
2832
2832
|
function GameUserInfoDto_init_$Init$(seen1, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker, $this) {
|
|
2833
2833
|
if (!(3 === (3 & seen1))) {
|
|
2834
|
-
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().
|
|
2834
|
+
throwMissingFieldException(seen1, 3, $serializer_getInstance_5().q2p_1);
|
|
2835
2835
|
}
|
|
2836
|
-
$this.
|
|
2837
|
-
$this.
|
|
2836
|
+
$this.l2p_1 = playerId;
|
|
2837
|
+
$this.m2p_1 = name;
|
|
2838
2838
|
if (0 === (seen1 & 4))
|
|
2839
|
-
$this.
|
|
2839
|
+
$this.n2p_1 = null;
|
|
2840
2840
|
else
|
|
2841
|
-
$this.
|
|
2841
|
+
$this.n2p_1 = avatarUrl;
|
|
2842
2842
|
if (0 === (seen1 & 8))
|
|
2843
|
-
$this.
|
|
2843
|
+
$this.o2p_1 = false;
|
|
2844
2844
|
else
|
|
2845
|
-
$this.
|
|
2845
|
+
$this.o2p_1 = isBot;
|
|
2846
2846
|
if (0 === (seen1 & 16))
|
|
2847
|
-
$this.
|
|
2847
|
+
$this.p2p_1 = null;
|
|
2848
2848
|
else
|
|
2849
|
-
$this.
|
|
2849
|
+
$this.p2p_1 = initialLuckyFactor;
|
|
2850
2850
|
return $this;
|
|
2851
2851
|
}
|
|
2852
2852
|
function GameUserInfoDto_init_$Create$(seen1, playerId, name, avatarUrl, isBot, initialLuckyFactor, serializationConstructorMarker) {
|
|
@@ -2856,21 +2856,21 @@
|
|
|
2856
2856
|
avatarUrl = avatarUrl === VOID ? null : avatarUrl;
|
|
2857
2857
|
isBot = isBot === VOID ? false : isBot;
|
|
2858
2858
|
initialLuckyFactor = initialLuckyFactor === VOID ? null : initialLuckyFactor;
|
|
2859
|
-
this.
|
|
2860
|
-
this.
|
|
2861
|
-
this.
|
|
2862
|
-
this.
|
|
2863
|
-
this.
|
|
2859
|
+
this.l2p_1 = playerId;
|
|
2860
|
+
this.m2p_1 = name;
|
|
2861
|
+
this.n2p_1 = avatarUrl;
|
|
2862
|
+
this.o2p_1 = isBot;
|
|
2863
|
+
this.p2p_1 = initialLuckyFactor;
|
|
2864
2864
|
}
|
|
2865
2865
|
protoOf(GameUserInfoDto).toString = function () {
|
|
2866
|
-
return 'GameUserInfoDto(playerId=' + this.
|
|
2866
|
+
return 'GameUserInfoDto(playerId=' + this.l2p_1 + ', name=' + this.m2p_1 + ', avatarUrl=' + this.n2p_1 + ', isBot=' + this.o2p_1 + ', initialLuckyFactor=' + this.p2p_1 + ')';
|
|
2867
2867
|
};
|
|
2868
2868
|
protoOf(GameUserInfoDto).hashCode = function () {
|
|
2869
|
-
var result = getStringHashCode(this.
|
|
2870
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
2871
|
-
result = imul(result, 31) + (this.
|
|
2872
|
-
result = imul(result, 31) + (this.
|
|
2873
|
-
result = imul(result, 31) + (this.
|
|
2869
|
+
var result = getStringHashCode(this.l2p_1);
|
|
2870
|
+
result = imul(result, 31) + getStringHashCode(this.m2p_1) | 0;
|
|
2871
|
+
result = imul(result, 31) + (this.n2p_1 == null ? 0 : getStringHashCode(this.n2p_1)) | 0;
|
|
2872
|
+
result = imul(result, 31) + (this.o2p_1 == null ? 0 : getBooleanHashCode(this.o2p_1)) | 0;
|
|
2873
|
+
result = imul(result, 31) + (this.p2p_1 == null ? 0 : getNumberHashCode(this.p2p_1)) | 0;
|
|
2874
2874
|
return result;
|
|
2875
2875
|
};
|
|
2876
2876
|
protoOf(GameUserInfoDto).equals = function (other) {
|
|
@@ -2879,15 +2879,15 @@
|
|
|
2879
2879
|
if (!(other instanceof GameUserInfoDto))
|
|
2880
2880
|
return false;
|
|
2881
2881
|
var tmp0_other_with_cast = other instanceof GameUserInfoDto ? other : THROW_CCE();
|
|
2882
|
-
if (!(this.k2p_1 === tmp0_other_with_cast.k2p_1))
|
|
2883
|
-
return false;
|
|
2884
2882
|
if (!(this.l2p_1 === tmp0_other_with_cast.l2p_1))
|
|
2885
2883
|
return false;
|
|
2886
|
-
if (!(this.m2p_1
|
|
2884
|
+
if (!(this.m2p_1 === tmp0_other_with_cast.m2p_1))
|
|
2887
2885
|
return false;
|
|
2888
2886
|
if (!(this.n2p_1 == tmp0_other_with_cast.n2p_1))
|
|
2889
2887
|
return false;
|
|
2890
|
-
if (!
|
|
2888
|
+
if (!(this.o2p_1 == tmp0_other_with_cast.o2p_1))
|
|
2889
|
+
return false;
|
|
2890
|
+
if (!equals(this.p2p_1, tmp0_other_with_cast.p2p_1))
|
|
2891
2891
|
return false;
|
|
2892
2892
|
return true;
|
|
2893
2893
|
};
|
|
@@ -2897,7 +2897,7 @@
|
|
|
2897
2897
|
// Inline function 'kotlin.arrayOf' call
|
|
2898
2898
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2899
2899
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2900
|
-
tmp.
|
|
2900
|
+
tmp.s2p_1 = [Companion_getInstance_11().t16(), null, null];
|
|
2901
2901
|
}
|
|
2902
2902
|
var Companion_instance_15;
|
|
2903
2903
|
function Companion_getInstance_17() {
|
|
@@ -2911,19 +2911,19 @@
|
|
|
2911
2911
|
tmp0_serialDesc.ku('state', false);
|
|
2912
2912
|
tmp0_serialDesc.ku('connectionChangedTime', false);
|
|
2913
2913
|
tmp0_serialDesc.ku('notLiveDurationRecord', false);
|
|
2914
|
-
this.
|
|
2914
|
+
this.t2p_1 = tmp0_serialDesc;
|
|
2915
2915
|
}
|
|
2916
2916
|
protoOf($serializer_6).pj = function () {
|
|
2917
|
-
return this.
|
|
2917
|
+
return this.t2p_1;
|
|
2918
2918
|
};
|
|
2919
2919
|
protoOf($serializer_6).zu = function () {
|
|
2920
2920
|
// Inline function 'kotlin.arrayOf' call
|
|
2921
2921
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
2922
2922
|
// Inline function 'kotlin.js.asDynamic' call
|
|
2923
|
-
return [Companion_getInstance_17().
|
|
2923
|
+
return [Companion_getInstance_17().s2p_1[0], StringSerializer_getInstance(), StringSerializer_getInstance()];
|
|
2924
2924
|
};
|
|
2925
2925
|
protoOf($serializer_6).rj = function (decoder) {
|
|
2926
|
-
var tmp0_desc = this.
|
|
2926
|
+
var tmp0_desc = this.t2p_1;
|
|
2927
2927
|
var tmp1_flag = true;
|
|
2928
2928
|
var tmp2_index = 0;
|
|
2929
2929
|
var tmp3_bitMask0 = 0;
|
|
@@ -2931,7 +2931,7 @@
|
|
|
2931
2931
|
var tmp5_local1 = null;
|
|
2932
2932
|
var tmp6_local2 = null;
|
|
2933
2933
|
var tmp7_input = decoder.xm(tmp0_desc);
|
|
2934
|
-
var tmp8_cached = Companion_getInstance_17().
|
|
2934
|
+
var tmp8_cached = Companion_getInstance_17().s2p_1;
|
|
2935
2935
|
if (tmp7_input.nn()) {
|
|
2936
2936
|
tmp4_local0 = tmp7_input.jn(tmp0_desc, 0, tmp8_cached[0], tmp4_local0);
|
|
2937
2937
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -2965,17 +2965,17 @@
|
|
|
2965
2965
|
tmp7_input.ym(tmp0_desc);
|
|
2966
2966
|
return PlayerConnectionDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
2967
2967
|
};
|
|
2968
|
-
protoOf($serializer_6).
|
|
2969
|
-
var tmp0_desc = this.
|
|
2968
|
+
protoOf($serializer_6).u2p = function (encoder, value) {
|
|
2969
|
+
var tmp0_desc = this.t2p_1;
|
|
2970
2970
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
2971
|
-
var tmp2_cached = Companion_getInstance_17().
|
|
2972
|
-
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.
|
|
2973
|
-
tmp1_output.mo(tmp0_desc, 1, value.
|
|
2974
|
-
tmp1_output.mo(tmp0_desc, 2, value.
|
|
2971
|
+
var tmp2_cached = Companion_getInstance_17().s2p_1;
|
|
2972
|
+
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.v2p_1);
|
|
2973
|
+
tmp1_output.mo(tmp0_desc, 1, value.w2p_1);
|
|
2974
|
+
tmp1_output.mo(tmp0_desc, 2, value.x2p_1);
|
|
2975
2975
|
tmp1_output.ym(tmp0_desc);
|
|
2976
2976
|
};
|
|
2977
2977
|
protoOf($serializer_6).qj = function (encoder, value) {
|
|
2978
|
-
return this.
|
|
2978
|
+
return this.u2p(encoder, value instanceof PlayerConnectionDto ? value : THROW_CCE());
|
|
2979
2979
|
};
|
|
2980
2980
|
var $serializer_instance_6;
|
|
2981
2981
|
function $serializer_getInstance_6() {
|
|
@@ -2985,11 +2985,11 @@
|
|
|
2985
2985
|
}
|
|
2986
2986
|
function PlayerConnectionDto_init_$Init$(seen1, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker, $this) {
|
|
2987
2987
|
if (!(7 === (7 & seen1))) {
|
|
2988
|
-
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().
|
|
2988
|
+
throwMissingFieldException(seen1, 7, $serializer_getInstance_6().t2p_1);
|
|
2989
2989
|
}
|
|
2990
|
-
$this.
|
|
2991
|
-
$this.
|
|
2992
|
-
$this.
|
|
2990
|
+
$this.v2p_1 = state;
|
|
2991
|
+
$this.w2p_1 = connectionChangedTime;
|
|
2992
|
+
$this.x2p_1 = notLiveDurationRecord;
|
|
2993
2993
|
return $this;
|
|
2994
2994
|
}
|
|
2995
2995
|
function PlayerConnectionDto_init_$Create$(seen1, state, connectionChangedTime, notLiveDurationRecord, serializationConstructorMarker) {
|
|
@@ -2998,12 +2998,12 @@
|
|
|
2998
2998
|
function PlayerConnectionDto() {
|
|
2999
2999
|
}
|
|
3000
3000
|
protoOf(PlayerConnectionDto).toString = function () {
|
|
3001
|
-
return 'PlayerConnectionDto(state=' + this.
|
|
3001
|
+
return 'PlayerConnectionDto(state=' + this.v2p_1 + ', connectionChangedTime=' + this.w2p_1 + ', notLiveDurationRecord=' + this.x2p_1 + ')';
|
|
3002
3002
|
};
|
|
3003
3003
|
protoOf(PlayerConnectionDto).hashCode = function () {
|
|
3004
|
-
var result = this.
|
|
3005
|
-
result = imul(result, 31) + getStringHashCode(this.v2p_1) | 0;
|
|
3004
|
+
var result = this.v2p_1.hashCode();
|
|
3006
3005
|
result = imul(result, 31) + getStringHashCode(this.w2p_1) | 0;
|
|
3006
|
+
result = imul(result, 31) + getStringHashCode(this.x2p_1) | 0;
|
|
3007
3007
|
return result;
|
|
3008
3008
|
};
|
|
3009
3009
|
protoOf(PlayerConnectionDto).equals = function (other) {
|
|
@@ -3012,12 +3012,12 @@
|
|
|
3012
3012
|
if (!(other instanceof PlayerConnectionDto))
|
|
3013
3013
|
return false;
|
|
3014
3014
|
var tmp0_other_with_cast = other instanceof PlayerConnectionDto ? other : THROW_CCE();
|
|
3015
|
-
if (!this.
|
|
3016
|
-
return false;
|
|
3017
|
-
if (!(this.v2p_1 === tmp0_other_with_cast.v2p_1))
|
|
3015
|
+
if (!this.v2p_1.equals(tmp0_other_with_cast.v2p_1))
|
|
3018
3016
|
return false;
|
|
3019
3017
|
if (!(this.w2p_1 === tmp0_other_with_cast.w2p_1))
|
|
3020
3018
|
return false;
|
|
3019
|
+
if (!(this.x2p_1 === tmp0_other_with_cast.x2p_1))
|
|
3020
|
+
return false;
|
|
3021
3021
|
return true;
|
|
3022
3022
|
};
|
|
3023
3023
|
function Companion_16() {
|
|
@@ -3026,7 +3026,7 @@
|
|
|
3026
3026
|
// Inline function 'kotlin.arrayOf' call
|
|
3027
3027
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3028
3028
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3029
|
-
tmp.
|
|
3029
|
+
tmp.y2p_1 = [null, null, null, null, Companion_getInstance_12().t16(), null, null, null];
|
|
3030
3030
|
}
|
|
3031
3031
|
var Companion_instance_16;
|
|
3032
3032
|
function Companion_getInstance_18() {
|
|
@@ -3045,20 +3045,20 @@
|
|
|
3045
3045
|
tmp0_serialDesc.ku('ready', false);
|
|
3046
3046
|
tmp0_serialDesc.ku('tag', true);
|
|
3047
3047
|
tmp0_serialDesc.ku('connection', true);
|
|
3048
|
-
this.
|
|
3048
|
+
this.z2p_1 = tmp0_serialDesc;
|
|
3049
3049
|
}
|
|
3050
3050
|
protoOf($serializer_7).pj = function () {
|
|
3051
|
-
return this.
|
|
3051
|
+
return this.z2p_1;
|
|
3052
3052
|
};
|
|
3053
3053
|
protoOf($serializer_7).zu = function () {
|
|
3054
|
-
var tmp0_cached = Companion_getInstance_18().
|
|
3054
|
+
var tmp0_cached = Companion_getInstance_18().y2p_1;
|
|
3055
3055
|
// Inline function 'kotlin.arrayOf' call
|
|
3056
3056
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
3057
3057
|
// Inline function 'kotlin.js.asDynamic' call
|
|
3058
3058
|
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())];
|
|
3059
3059
|
};
|
|
3060
3060
|
protoOf($serializer_7).rj = function (decoder) {
|
|
3061
|
-
var tmp0_desc = this.
|
|
3061
|
+
var tmp0_desc = this.z2p_1;
|
|
3062
3062
|
var tmp1_flag = true;
|
|
3063
3063
|
var tmp2_index = 0;
|
|
3064
3064
|
var tmp3_bitMask0 = 0;
|
|
@@ -3071,7 +3071,7 @@
|
|
|
3071
3071
|
var tmp10_local6 = null;
|
|
3072
3072
|
var tmp11_local7 = null;
|
|
3073
3073
|
var tmp12_input = decoder.xm(tmp0_desc);
|
|
3074
|
-
var tmp13_cached = Companion_getInstance_18().
|
|
3074
|
+
var tmp13_cached = Companion_getInstance_18().y2p_1;
|
|
3075
3075
|
if (tmp12_input.nn()) {
|
|
3076
3076
|
tmp4_local0 = tmp12_input.ln(tmp0_desc, 0, LongSerializer_getInstance(), tmp4_local0);
|
|
3077
3077
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -3135,34 +3135,34 @@
|
|
|
3135
3135
|
tmp12_input.ym(tmp0_desc);
|
|
3136
3136
|
return PlayerStateDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, tmp8_local4, tmp9_local5, tmp10_local6, tmp11_local7, null);
|
|
3137
3137
|
};
|
|
3138
|
-
protoOf($serializer_7).
|
|
3139
|
-
var tmp0_desc = this.
|
|
3138
|
+
protoOf($serializer_7).a2q = function (encoder, value) {
|
|
3139
|
+
var tmp0_desc = this.z2p_1;
|
|
3140
3140
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
3141
|
-
var tmp2_cached = Companion_getInstance_18().
|
|
3142
|
-
if (tmp1_output.uo(tmp0_desc, 0) ? true : !(value.
|
|
3143
|
-
tmp1_output.qo(tmp0_desc, 0, LongSerializer_getInstance(), value.
|
|
3141
|
+
var tmp2_cached = Companion_getInstance_18().y2p_1;
|
|
3142
|
+
if (tmp1_output.uo(tmp0_desc, 0) ? true : !(value.b2q_1 == null)) {
|
|
3143
|
+
tmp1_output.qo(tmp0_desc, 0, LongSerializer_getInstance(), value.b2q_1);
|
|
3144
3144
|
}
|
|
3145
|
-
if (tmp1_output.uo(tmp0_desc, 1) ? true : !(value.
|
|
3146
|
-
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.
|
|
3145
|
+
if (tmp1_output.uo(tmp0_desc, 1) ? true : !(value.c2q_1 == null)) {
|
|
3146
|
+
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.c2q_1);
|
|
3147
3147
|
}
|
|
3148
|
-
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.
|
|
3149
|
-
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.
|
|
3148
|
+
if (tmp1_output.uo(tmp0_desc, 2) ? true : !(value.d2q_1 == null)) {
|
|
3149
|
+
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.d2q_1);
|
|
3150
3150
|
}
|
|
3151
|
-
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.
|
|
3152
|
-
tmp1_output.qo(tmp0_desc, 3, StringSerializer_getInstance(), value.
|
|
3151
|
+
if (tmp1_output.uo(tmp0_desc, 3) ? true : !(value.e2q_1 == null)) {
|
|
3152
|
+
tmp1_output.qo(tmp0_desc, 3, StringSerializer_getInstance(), value.e2q_1);
|
|
3153
3153
|
}
|
|
3154
|
-
tmp1_output.oo(tmp0_desc, 4, tmp2_cached[4], value.
|
|
3155
|
-
tmp1_output.eo(tmp0_desc, 5, value.
|
|
3156
|
-
if (tmp1_output.uo(tmp0_desc, 6) ? true : !(value.
|
|
3157
|
-
tmp1_output.qo(tmp0_desc, 6, StringSerializer_getInstance(), value.
|
|
3154
|
+
tmp1_output.oo(tmp0_desc, 4, tmp2_cached[4], value.f2q_1);
|
|
3155
|
+
tmp1_output.eo(tmp0_desc, 5, value.g2q_1);
|
|
3156
|
+
if (tmp1_output.uo(tmp0_desc, 6) ? true : !(value.h2q_1 == null)) {
|
|
3157
|
+
tmp1_output.qo(tmp0_desc, 6, StringSerializer_getInstance(), value.h2q_1);
|
|
3158
3158
|
}
|
|
3159
|
-
if (tmp1_output.uo(tmp0_desc, 7) ? true : !(value.
|
|
3160
|
-
tmp1_output.qo(tmp0_desc, 7, $serializer_getInstance_6(), value.
|
|
3159
|
+
if (tmp1_output.uo(tmp0_desc, 7) ? true : !(value.i2q_1 == null)) {
|
|
3160
|
+
tmp1_output.qo(tmp0_desc, 7, $serializer_getInstance_6(), value.i2q_1);
|
|
3161
3161
|
}
|
|
3162
3162
|
tmp1_output.ym(tmp0_desc);
|
|
3163
3163
|
};
|
|
3164
3164
|
protoOf($serializer_7).qj = function (encoder, value) {
|
|
3165
|
-
return this.
|
|
3165
|
+
return this.a2q(encoder, value instanceof PlayerStateDto ? value : THROW_CCE());
|
|
3166
3166
|
};
|
|
3167
3167
|
var $serializer_instance_7;
|
|
3168
3168
|
function $serializer_getInstance_7() {
|
|
@@ -3172,34 +3172,34 @@
|
|
|
3172
3172
|
}
|
|
3173
3173
|
function PlayerStateDto_init_$Init$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker, $this) {
|
|
3174
3174
|
if (!(48 === (48 & seen1))) {
|
|
3175
|
-
throwMissingFieldException(seen1, 48, $serializer_getInstance_7().
|
|
3175
|
+
throwMissingFieldException(seen1, 48, $serializer_getInstance_7().z2p_1);
|
|
3176
3176
|
}
|
|
3177
3177
|
if (0 === (seen1 & 1))
|
|
3178
|
-
$this.
|
|
3178
|
+
$this.b2q_1 = null;
|
|
3179
3179
|
else
|
|
3180
|
-
$this.
|
|
3180
|
+
$this.b2q_1 = startFromTime;
|
|
3181
3181
|
if (0 === (seen1 & 2))
|
|
3182
|
-
$this.
|
|
3182
|
+
$this.c2q_1 = null;
|
|
3183
3183
|
else
|
|
3184
|
-
$this.
|
|
3184
|
+
$this.c2q_1 = startFrom;
|
|
3185
3185
|
if (0 === (seen1 & 4))
|
|
3186
|
-
$this.
|
|
3186
|
+
$this.d2q_1 = null;
|
|
3187
3187
|
else
|
|
3188
|
-
$this.
|
|
3188
|
+
$this.d2q_1 = playerTurnTimeout;
|
|
3189
3189
|
if (0 === (seen1 & 8))
|
|
3190
|
-
$this.
|
|
3190
|
+
$this.e2q_1 = null;
|
|
3191
3191
|
else
|
|
3192
|
-
$this.
|
|
3193
|
-
$this.
|
|
3194
|
-
$this.
|
|
3192
|
+
$this.e2q_1 = waitPlayerUntilTime;
|
|
3193
|
+
$this.f2q_1 = state;
|
|
3194
|
+
$this.g2q_1 = ready;
|
|
3195
3195
|
if (0 === (seen1 & 64))
|
|
3196
|
-
$this.
|
|
3196
|
+
$this.h2q_1 = null;
|
|
3197
3197
|
else
|
|
3198
|
-
$this.
|
|
3198
|
+
$this.h2q_1 = tag;
|
|
3199
3199
|
if (0 === (seen1 & 128))
|
|
3200
|
-
$this.
|
|
3200
|
+
$this.i2q_1 = null;
|
|
3201
3201
|
else
|
|
3202
|
-
$this.
|
|
3202
|
+
$this.i2q_1 = connection;
|
|
3203
3203
|
return $this;
|
|
3204
3204
|
}
|
|
3205
3205
|
function PlayerStateDto_init_$Create$(seen1, startFromTime, startFrom, playerTurnTimeout, waitPlayerUntilTime, state, ready, tag, connection, serializationConstructorMarker) {
|
|
@@ -3208,17 +3208,17 @@
|
|
|
3208
3208
|
function PlayerStateDto() {
|
|
3209
3209
|
}
|
|
3210
3210
|
protoOf(PlayerStateDto).toString = function () {
|
|
3211
|
-
return 'PlayerStateDto(startFromTime=' + toString(this.
|
|
3211
|
+
return 'PlayerStateDto(startFromTime=' + toString(this.b2q_1) + ', startFrom=' + this.c2q_1 + ', playerTurnTimeout=' + this.d2q_1 + ', waitPlayerUntilTime=' + this.e2q_1 + ', state=' + this.f2q_1 + ', ready=' + this.g2q_1 + ', tag=' + this.h2q_1 + ', connection=' + this.i2q_1 + ')';
|
|
3212
3212
|
};
|
|
3213
3213
|
protoOf(PlayerStateDto).hashCode = function () {
|
|
3214
|
-
var result = this.
|
|
3215
|
-
result = imul(result, 31) + (this.b2q_1 == null ? 0 : getStringHashCode(this.b2q_1)) | 0;
|
|
3214
|
+
var result = this.b2q_1 == null ? 0 : this.b2q_1.hashCode();
|
|
3216
3215
|
result = imul(result, 31) + (this.c2q_1 == null ? 0 : getStringHashCode(this.c2q_1)) | 0;
|
|
3217
3216
|
result = imul(result, 31) + (this.d2q_1 == null ? 0 : getStringHashCode(this.d2q_1)) | 0;
|
|
3218
|
-
result = imul(result, 31) + this.e2q_1.
|
|
3219
|
-
result = imul(result, 31) +
|
|
3220
|
-
result = imul(result, 31) + (this.g2q_1
|
|
3221
|
-
result = imul(result, 31) + (this.h2q_1 == null ? 0 : this.h2q_1
|
|
3217
|
+
result = imul(result, 31) + (this.e2q_1 == null ? 0 : getStringHashCode(this.e2q_1)) | 0;
|
|
3218
|
+
result = imul(result, 31) + this.f2q_1.hashCode() | 0;
|
|
3219
|
+
result = imul(result, 31) + getBooleanHashCode(this.g2q_1) | 0;
|
|
3220
|
+
result = imul(result, 31) + (this.h2q_1 == null ? 0 : getStringHashCode(this.h2q_1)) | 0;
|
|
3221
|
+
result = imul(result, 31) + (this.i2q_1 == null ? 0 : this.i2q_1.hashCode()) | 0;
|
|
3222
3222
|
return result;
|
|
3223
3223
|
};
|
|
3224
3224
|
protoOf(PlayerStateDto).equals = function (other) {
|
|
@@ -3227,21 +3227,21 @@
|
|
|
3227
3227
|
if (!(other instanceof PlayerStateDto))
|
|
3228
3228
|
return false;
|
|
3229
3229
|
var tmp0_other_with_cast = other instanceof PlayerStateDto ? other : THROW_CCE();
|
|
3230
|
-
if (!equals(this.
|
|
3231
|
-
return false;
|
|
3232
|
-
if (!(this.b2q_1 == tmp0_other_with_cast.b2q_1))
|
|
3230
|
+
if (!equals(this.b2q_1, tmp0_other_with_cast.b2q_1))
|
|
3233
3231
|
return false;
|
|
3234
3232
|
if (!(this.c2q_1 == tmp0_other_with_cast.c2q_1))
|
|
3235
3233
|
return false;
|
|
3236
3234
|
if (!(this.d2q_1 == tmp0_other_with_cast.d2q_1))
|
|
3237
3235
|
return false;
|
|
3238
|
-
if (!this.e2q_1
|
|
3236
|
+
if (!(this.e2q_1 == tmp0_other_with_cast.e2q_1))
|
|
3237
|
+
return false;
|
|
3238
|
+
if (!this.f2q_1.equals(tmp0_other_with_cast.f2q_1))
|
|
3239
3239
|
return false;
|
|
3240
|
-
if (!(this.
|
|
3240
|
+
if (!(this.g2q_1 === tmp0_other_with_cast.g2q_1))
|
|
3241
3241
|
return false;
|
|
3242
|
-
if (!(this.
|
|
3242
|
+
if (!(this.h2q_1 == tmp0_other_with_cast.h2q_1))
|
|
3243
3243
|
return false;
|
|
3244
|
-
if (!equals(this.
|
|
3244
|
+
if (!equals(this.i2q_1, tmp0_other_with_cast.i2q_1))
|
|
3245
3245
|
return false;
|
|
3246
3246
|
return true;
|
|
3247
3247
|
};
|
|
@@ -3274,10 +3274,10 @@
|
|
|
3274
3274
|
tmp0_serialDesc.ku('checkTrumpCombination', true);
|
|
3275
3275
|
tmp0_serialDesc.ku('checkOnlyTrumpDebertz', true);
|
|
3276
3276
|
tmp0_serialDesc.ku('tenCardsInHand', true);
|
|
3277
|
-
this.
|
|
3277
|
+
this.j2q_1 = tmp0_serialDesc;
|
|
3278
3278
|
}
|
|
3279
3279
|
protoOf($serializer_8).pj = function () {
|
|
3280
|
-
return this.
|
|
3280
|
+
return this.j2q_1;
|
|
3281
3281
|
};
|
|
3282
3282
|
protoOf($serializer_8).zu = function () {
|
|
3283
3283
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -3286,7 +3286,7 @@
|
|
|
3286
3286
|
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())];
|
|
3287
3287
|
};
|
|
3288
3288
|
protoOf($serializer_8).rj = function (decoder) {
|
|
3289
|
-
var tmp0_desc = this.
|
|
3289
|
+
var tmp0_desc = this.j2q_1;
|
|
3290
3290
|
var tmp1_flag = true;
|
|
3291
3291
|
var tmp2_index = 0;
|
|
3292
3292
|
var tmp3_bitMask0 = 0;
|
|
@@ -3425,8 +3425,8 @@
|
|
|
3425
3425
|
tmp21_input.ym(tmp0_desc);
|
|
3426
3426
|
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);
|
|
3427
3427
|
};
|
|
3428
|
-
protoOf($serializer_8).
|
|
3429
|
-
var tmp0_desc = this.
|
|
3428
|
+
protoOf($serializer_8).k2q = function (encoder, value) {
|
|
3429
|
+
var tmp0_desc = this.j2q_1;
|
|
3430
3430
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
3431
3431
|
if (tmp1_output.uo(tmp0_desc, 0) ? true : !(value.needToPutHigherTrump == null)) {
|
|
3432
3432
|
tmp1_output.qo(tmp0_desc, 0, BooleanSerializer_getInstance(), value.needToPutHigherTrump);
|
|
@@ -3480,7 +3480,7 @@
|
|
|
3480
3480
|
tmp1_output.ym(tmp0_desc);
|
|
3481
3481
|
};
|
|
3482
3482
|
protoOf($serializer_8).qj = function (encoder, value) {
|
|
3483
|
-
return this.
|
|
3483
|
+
return this.k2q(encoder, value instanceof RulesDto ? value : THROW_CCE());
|
|
3484
3484
|
};
|
|
3485
3485
|
var $serializer_instance_8;
|
|
3486
3486
|
function $serializer_getInstance_8() {
|
|
@@ -3490,7 +3490,7 @@
|
|
|
3490
3490
|
}
|
|
3491
3491
|
function RulesDto_init_$Init$(seen1, needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, serializationConstructorMarker, $this) {
|
|
3492
3492
|
if (!(4096 === (4096 & seen1))) {
|
|
3493
|
-
throwMissingFieldException(seen1, 4096, $serializer_getInstance_8().
|
|
3493
|
+
throwMissingFieldException(seen1, 4096, $serializer_getInstance_8().j2q_1);
|
|
3494
3494
|
}
|
|
3495
3495
|
if (0 === (seen1 & 1))
|
|
3496
3496
|
$this.needToPutHigherTrump = null;
|
|
@@ -3597,55 +3597,55 @@
|
|
|
3597
3597
|
this.checkOnlyTrumpDebertz = checkOnlyTrumpDebertz;
|
|
3598
3598
|
this.tenCardsInHand = tenCardsInHand;
|
|
3599
3599
|
}
|
|
3600
|
-
protoOf(RulesDto).
|
|
3600
|
+
protoOf(RulesDto).d2o = function () {
|
|
3601
3601
|
return this.needToPutHigherTrump;
|
|
3602
3602
|
};
|
|
3603
|
-
protoOf(RulesDto).
|
|
3603
|
+
protoOf(RulesDto).e2o = function () {
|
|
3604
3604
|
return this.distributePoints;
|
|
3605
3605
|
};
|
|
3606
|
-
protoOf(RulesDto).
|
|
3606
|
+
protoOf(RulesDto).f2o = function () {
|
|
3607
3607
|
return this.protectBella;
|
|
3608
3608
|
};
|
|
3609
|
-
protoOf(RulesDto).
|
|
3609
|
+
protoOf(RulesDto).g2o = function () {
|
|
3610
3610
|
return this.oneTryToProtectBella;
|
|
3611
3611
|
};
|
|
3612
|
-
protoOf(RulesDto).
|
|
3612
|
+
protoOf(RulesDto).h2o = function () {
|
|
3613
3613
|
return this.enableFourSevensCombination;
|
|
3614
3614
|
};
|
|
3615
|
-
protoOf(RulesDto).
|
|
3615
|
+
protoOf(RulesDto).i2o = function () {
|
|
3616
3616
|
return this.enableTrumpSevenCombination;
|
|
3617
3617
|
};
|
|
3618
|
-
protoOf(RulesDto).
|
|
3618
|
+
protoOf(RulesDto).j2o = function () {
|
|
3619
3619
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
3620
3620
|
};
|
|
3621
|
-
protoOf(RulesDto).
|
|
3621
|
+
protoOf(RulesDto).k2o = function () {
|
|
3622
3622
|
return this.playerWhoChooseSuitGoFirst;
|
|
3623
3623
|
};
|
|
3624
|
-
protoOf(RulesDto).
|
|
3624
|
+
protoOf(RulesDto).l2o = function () {
|
|
3625
3625
|
return this.winnerShuffleCards;
|
|
3626
3626
|
};
|
|
3627
|
-
protoOf(RulesDto).
|
|
3627
|
+
protoOf(RulesDto).m2o = function () {
|
|
3628
3628
|
return this.playWithoutLiabilities;
|
|
3629
3629
|
};
|
|
3630
|
-
protoOf(RulesDto).
|
|
3630
|
+
protoOf(RulesDto).n2o = function () {
|
|
3631
3631
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
3632
3632
|
};
|
|
3633
|
-
protoOf(RulesDto).
|
|
3633
|
+
protoOf(RulesDto).o2o = function () {
|
|
3634
3634
|
return this.enableFineIfNoBribes;
|
|
3635
3635
|
};
|
|
3636
|
-
protoOf(RulesDto).
|
|
3636
|
+
protoOf(RulesDto).p2o = function () {
|
|
3637
3637
|
return this.fineIfNoBribes;
|
|
3638
3638
|
};
|
|
3639
|
-
protoOf(RulesDto).
|
|
3639
|
+
protoOf(RulesDto).q2o = function () {
|
|
3640
3640
|
return this.enableFineAfterThirdByte;
|
|
3641
3641
|
};
|
|
3642
|
-
protoOf(RulesDto).
|
|
3642
|
+
protoOf(RulesDto).r2o = function () {
|
|
3643
3643
|
return this.checkTrumpCombination;
|
|
3644
3644
|
};
|
|
3645
|
-
protoOf(RulesDto).
|
|
3645
|
+
protoOf(RulesDto).s2o = function () {
|
|
3646
3646
|
return this.checkOnlyTrumpDebertz;
|
|
3647
3647
|
};
|
|
3648
|
-
protoOf(RulesDto).
|
|
3648
|
+
protoOf(RulesDto).t2o = function () {
|
|
3649
3649
|
return this.tenCardsInHand;
|
|
3650
3650
|
};
|
|
3651
3651
|
protoOf(RulesDto).cd = function () {
|
|
@@ -3657,49 +3657,49 @@
|
|
|
3657
3657
|
protoOf(RulesDto).qh = function () {
|
|
3658
3658
|
return this.protectBella;
|
|
3659
3659
|
};
|
|
3660
|
-
protoOf(RulesDto).
|
|
3660
|
+
protoOf(RulesDto).m2k = function () {
|
|
3661
3661
|
return this.oneTryToProtectBella;
|
|
3662
3662
|
};
|
|
3663
|
-
protoOf(RulesDto).
|
|
3663
|
+
protoOf(RulesDto).v2l = function () {
|
|
3664
3664
|
return this.enableFourSevensCombination;
|
|
3665
3665
|
};
|
|
3666
|
-
protoOf(RulesDto).
|
|
3666
|
+
protoOf(RulesDto).w2l = function () {
|
|
3667
3667
|
return this.enableTrumpSevenCombination;
|
|
3668
3668
|
};
|
|
3669
|
-
protoOf(RulesDto).
|
|
3669
|
+
protoOf(RulesDto).u2o = function () {
|
|
3670
3670
|
return this.enableTrumpSevenCombinationAfterDistribution;
|
|
3671
3671
|
};
|
|
3672
|
-
protoOf(RulesDto).
|
|
3672
|
+
protoOf(RulesDto).v2o = function () {
|
|
3673
3673
|
return this.playerWhoChooseSuitGoFirst;
|
|
3674
3674
|
};
|
|
3675
|
-
protoOf(RulesDto).
|
|
3675
|
+
protoOf(RulesDto).w2o = function () {
|
|
3676
3676
|
return this.winnerShuffleCards;
|
|
3677
3677
|
};
|
|
3678
|
-
protoOf(RulesDto).
|
|
3678
|
+
protoOf(RulesDto).x2o = function () {
|
|
3679
3679
|
return this.playWithoutLiabilities;
|
|
3680
3680
|
};
|
|
3681
|
-
protoOf(RulesDto).
|
|
3681
|
+
protoOf(RulesDto).y2o = function () {
|
|
3682
3682
|
return this.trumpCardGoToPlayerWhoShuffleCards;
|
|
3683
3683
|
};
|
|
3684
|
-
protoOf(RulesDto).
|
|
3684
|
+
protoOf(RulesDto).z2o = function () {
|
|
3685
3685
|
return this.enableFineIfNoBribes;
|
|
3686
3686
|
};
|
|
3687
|
-
protoOf(RulesDto).
|
|
3687
|
+
protoOf(RulesDto).a2p = function () {
|
|
3688
3688
|
return this.fineIfNoBribes;
|
|
3689
3689
|
};
|
|
3690
|
-
protoOf(RulesDto).
|
|
3690
|
+
protoOf(RulesDto).b2p = function () {
|
|
3691
3691
|
return this.enableFineAfterThirdByte;
|
|
3692
3692
|
};
|
|
3693
|
-
protoOf(RulesDto).
|
|
3693
|
+
protoOf(RulesDto).c2p = function () {
|
|
3694
3694
|
return this.checkTrumpCombination;
|
|
3695
3695
|
};
|
|
3696
|
-
protoOf(RulesDto).
|
|
3696
|
+
protoOf(RulesDto).d2p = function () {
|
|
3697
3697
|
return this.checkOnlyTrumpDebertz;
|
|
3698
3698
|
};
|
|
3699
|
-
protoOf(RulesDto).
|
|
3699
|
+
protoOf(RulesDto).e2p = function () {
|
|
3700
3700
|
return this.tenCardsInHand;
|
|
3701
3701
|
};
|
|
3702
|
-
protoOf(RulesDto).
|
|
3702
|
+
protoOf(RulesDto).l2q = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand) {
|
|
3703
3703
|
return new RulesDto(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
3704
3704
|
};
|
|
3705
3705
|
protoOf(RulesDto).copy = function (needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand, $super) {
|
|
@@ -3720,7 +3720,7 @@
|
|
|
3720
3720
|
checkTrumpCombination = checkTrumpCombination === VOID ? this.checkTrumpCombination : checkTrumpCombination;
|
|
3721
3721
|
checkOnlyTrumpDebertz = checkOnlyTrumpDebertz === VOID ? this.checkOnlyTrumpDebertz : checkOnlyTrumpDebertz;
|
|
3722
3722
|
tenCardsInHand = tenCardsInHand === VOID ? this.tenCardsInHand : tenCardsInHand;
|
|
3723
|
-
return this.
|
|
3723
|
+
return this.l2q(needToPutHigherTrump, distributePoints, protectBella, oneTryToProtectBella, enableFourSevensCombination, enableTrumpSevenCombination, enableTrumpSevenCombinationAfterDistribution, playerWhoChooseSuitGoFirst, winnerShuffleCards, playWithoutLiabilities, trumpCardGoToPlayerWhoShuffleCards, enableFineIfNoBribes, fineIfNoBribes, enableFineAfterThirdByte, checkTrumpCombination, checkOnlyTrumpDebertz, tenCardsInHand);
|
|
3724
3724
|
};
|
|
3725
3725
|
protoOf(RulesDto).toString = function () {
|
|
3726
3726
|
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 + ')';
|
|
@@ -3789,27 +3789,27 @@
|
|
|
3789
3789
|
};
|
|
3790
3790
|
function CardIndexComparator() {
|
|
3791
3791
|
}
|
|
3792
|
-
protoOf(CardIndexComparator).
|
|
3793
|
-
return a.
|
|
3792
|
+
protoOf(CardIndexComparator).m2q = function (a, b) {
|
|
3793
|
+
return a.k2p_1 - b.k2p_1 | 0;
|
|
3794
3794
|
};
|
|
3795
3795
|
protoOf(CardIndexComparator).compare = function (a, b) {
|
|
3796
3796
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3797
|
-
return this.
|
|
3797
|
+
return this.m2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3798
3798
|
};
|
|
3799
3799
|
var CardIndexComparator_instance;
|
|
3800
3800
|
function CardIndexComparator_getInstance() {
|
|
3801
3801
|
return CardIndexComparator_instance;
|
|
3802
3802
|
}
|
|
3803
3803
|
function CardGrowthComparator(trump, firstCardSuit) {
|
|
3804
|
-
this.
|
|
3805
|
-
this.
|
|
3804
|
+
this.n2q_1 = trump;
|
|
3805
|
+
this.o2q_1 = firstCardSuit;
|
|
3806
3806
|
}
|
|
3807
|
-
protoOf(CardGrowthComparator).
|
|
3808
|
-
return getGrowth(b, this.
|
|
3807
|
+
protoOf(CardGrowthComparator).m2q = function (a, b) {
|
|
3808
|
+
return getGrowth(b, this.n2q_1, this.o2q_1) - getGrowth(a, this.n2q_1, this.o2q_1) | 0;
|
|
3809
3809
|
};
|
|
3810
3810
|
protoOf(CardGrowthComparator).compare = function (a, b) {
|
|
3811
3811
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3812
|
-
return this.
|
|
3812
|
+
return this.m2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3813
3813
|
};
|
|
3814
3814
|
function filterByCardName(_this__u8e3s4, name) {
|
|
3815
3815
|
// Inline function 'kotlin.collections.filter' call
|
|
@@ -3841,25 +3841,25 @@
|
|
|
3841
3841
|
}
|
|
3842
3842
|
function CardNumberComparator() {
|
|
3843
3843
|
}
|
|
3844
|
-
protoOf(CardNumberComparator).
|
|
3845
|
-
return b.
|
|
3844
|
+
protoOf(CardNumberComparator).m2q = function (a, b) {
|
|
3845
|
+
return b.p2q() - a.p2q() | 0;
|
|
3846
3846
|
};
|
|
3847
3847
|
protoOf(CardNumberComparator).compare = function (a, b) {
|
|
3848
3848
|
var tmp = a instanceof GameCard ? a : THROW_CCE();
|
|
3849
|
-
return this.
|
|
3849
|
+
return this.m2q(tmp, b instanceof GameCard ? b : THROW_CCE());
|
|
3850
3850
|
};
|
|
3851
3851
|
var CardNumberComparator_instance;
|
|
3852
3852
|
function CardNumberComparator_getInstance() {
|
|
3853
3853
|
return CardNumberComparator_instance;
|
|
3854
3854
|
}
|
|
3855
3855
|
function getPoint(_this__u8e3s4, trump) {
|
|
3856
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3856
|
+
var isTrump = trump.equals(_this__u8e3s4.q2q());
|
|
3857
3857
|
return getPoint_0(_this__u8e3s4, isTrump);
|
|
3858
3858
|
}
|
|
3859
3859
|
function getGrowth(_this__u8e3s4, trump, firstCardSuit) {
|
|
3860
3860
|
var minPoint = 0;
|
|
3861
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3862
|
-
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.
|
|
3861
|
+
var isTrump = trump.equals(_this__u8e3s4.q2q());
|
|
3862
|
+
var isCurrentSuit = firstCardSuit.equals(_this__u8e3s4.q2q());
|
|
3863
3863
|
var minGrowth;
|
|
3864
3864
|
var maxGrowth;
|
|
3865
3865
|
switch (_this__u8e3s4.g9().g8_1) {
|
|
@@ -3949,7 +3949,7 @@
|
|
|
3949
3949
|
return tmp;
|
|
3950
3950
|
}
|
|
3951
3951
|
function getValueInHand(_this__u8e3s4, trump, allCards) {
|
|
3952
|
-
var isTrump = trump.equals(_this__u8e3s4.
|
|
3952
|
+
var isTrump = trump.equals(_this__u8e3s4.q2q());
|
|
3953
3953
|
return getValueInHand_0(_this__u8e3s4, isTrump, allCards);
|
|
3954
3954
|
}
|
|
3955
3955
|
function getValueInHand_0(_this__u8e3s4, isTrump, allCards) {
|
|
@@ -4033,7 +4033,7 @@
|
|
|
4033
4033
|
var element = indexedObject[inductionVariable];
|
|
4034
4034
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4035
4035
|
// Inline function 'com.logic.data.models.table.cards.bySuitPredicate.<anonymous>.<anonymous>' call
|
|
4036
|
-
if (p1.
|
|
4036
|
+
if (p1.q2q().equals(element)) {
|
|
4037
4037
|
tmp$ret$1 = true;
|
|
4038
4038
|
break $l$block;
|
|
4039
4039
|
}
|
|
@@ -4130,10 +4130,10 @@
|
|
|
4130
4130
|
}
|
|
4131
4131
|
function Companion_18() {
|
|
4132
4132
|
}
|
|
4133
|
-
protoOf(Companion_18).
|
|
4133
|
+
protoOf(Companion_18).r2q = function (suit, cardNumber) {
|
|
4134
4134
|
return new GameCard(getNumber(Companion_instance_19, cardNumber, suit));
|
|
4135
4135
|
};
|
|
4136
|
-
protoOf(Companion_18).
|
|
4136
|
+
protoOf(Companion_18).s2q = function (position, playerIndex, previousStubCardWithMaxIndex, reverse) {
|
|
4137
4137
|
var tmp;
|
|
4138
4138
|
if (previousStubCardWithMaxIndex == null) {
|
|
4139
4139
|
tmp = null;
|
|
@@ -4142,7 +4142,7 @@
|
|
|
4142
4142
|
// Inline function 'kotlin.contracts.contract' call
|
|
4143
4143
|
var tmp_0;
|
|
4144
4144
|
// Inline function 'com.logic.data.models.table.cards.Companion.createUniqueStub.<anonymous>' call
|
|
4145
|
-
if (previousStubCardWithMaxIndex.
|
|
4145
|
+
if (previousStubCardWithMaxIndex.t2q()) {
|
|
4146
4146
|
tmp_0 = previousStubCardWithMaxIndex;
|
|
4147
4147
|
} else {
|
|
4148
4148
|
tmp_0 = null;
|
|
@@ -4150,8 +4150,8 @@
|
|
|
4150
4150
|
tmp = tmp_0;
|
|
4151
4151
|
}
|
|
4152
4152
|
var tmp1_safe_receiver = tmp;
|
|
4153
|
-
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
4154
|
-
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_19.
|
|
4153
|
+
var tmp2_safe_receiver = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.k2p_1;
|
|
4154
|
+
var tmp3_safe_receiver = tmp2_safe_receiver == null ? null : Companion_instance_19.y2q(tmp2_safe_receiver, playerIndex, reverse);
|
|
4155
4155
|
var tmp_1;
|
|
4156
4156
|
if (tmp3_safe_receiver == null) {
|
|
4157
4157
|
tmp_1 = null;
|
|
@@ -4172,10 +4172,10 @@
|
|
|
4172
4172
|
var index = tmp_2;
|
|
4173
4173
|
return new GameCard(index);
|
|
4174
4174
|
};
|
|
4175
|
-
protoOf(Companion_18).
|
|
4175
|
+
protoOf(Companion_18).z2q = function (position, playerIndex, previousStubCardWithMaxIndex, reverse, $super) {
|
|
4176
4176
|
previousStubCardWithMaxIndex = previousStubCardWithMaxIndex === VOID ? null : previousStubCardWithMaxIndex;
|
|
4177
4177
|
reverse = reverse === VOID ? false : reverse;
|
|
4178
|
-
return $super === VOID ? this.
|
|
4178
|
+
return $super === VOID ? this.s2q(position, playerIndex, previousStubCardWithMaxIndex, reverse) : $super.s2q.call(this, position, playerIndex, previousStubCardWithMaxIndex, reverse);
|
|
4179
4179
|
};
|
|
4180
4180
|
var Companion_instance_18;
|
|
4181
4181
|
function Companion_getInstance_20() {
|
|
@@ -4279,7 +4279,7 @@
|
|
|
4279
4279
|
return tmp;
|
|
4280
4280
|
}
|
|
4281
4281
|
function _get_isShirt__vd98rp($this) {
|
|
4282
|
-
return $this.
|
|
4282
|
+
return $this.k2p_1 === 52;
|
|
4283
4283
|
}
|
|
4284
4284
|
function CardName(name, ordinal) {
|
|
4285
4285
|
Enum.call(this, name, ordinal);
|
|
@@ -4288,12 +4288,12 @@
|
|
|
4288
4288
|
return getShorName(this);
|
|
4289
4289
|
};
|
|
4290
4290
|
function Companion_19() {
|
|
4291
|
-
this.
|
|
4292
|
-
this.
|
|
4293
|
-
this.
|
|
4294
|
-
this.
|
|
4291
|
+
this.u2q_1 = -1;
|
|
4292
|
+
this.v2q_1 = 13;
|
|
4293
|
+
this.w2q_1 = 52;
|
|
4294
|
+
this.x2q_1 = 53;
|
|
4295
4295
|
}
|
|
4296
|
-
protoOf(Companion_19).
|
|
4296
|
+
protoOf(Companion_19).y2q = function (_this__u8e3s4, playerIndex, reverse) {
|
|
4297
4297
|
var tmp;
|
|
4298
4298
|
if (reverse) {
|
|
4299
4299
|
tmp = _this__u8e3s4 + (53 + imul(playerIndex, 14) | 0) | 0;
|
|
@@ -4363,56 +4363,56 @@
|
|
|
4363
4363
|
return CardName_STUB_instance;
|
|
4364
4364
|
}
|
|
4365
4365
|
function GameCard(index) {
|
|
4366
|
-
this.
|
|
4366
|
+
this.k2p_1 = index;
|
|
4367
4367
|
}
|
|
4368
|
-
protoOf(GameCard).
|
|
4368
|
+
protoOf(GameCard).q2q = function () {
|
|
4369
4369
|
var tmp;
|
|
4370
|
-
var containsArg = this.
|
|
4370
|
+
var containsArg = this.k2p_1;
|
|
4371
4371
|
if (0 <= containsArg ? containsArg <= 13 : false) {
|
|
4372
4372
|
tmp = Suit_DIAMOND_getInstance();
|
|
4373
4373
|
} else {
|
|
4374
|
-
if (this.
|
|
4374
|
+
if (this.k2p_1 <= 26) {
|
|
4375
4375
|
tmp = Suit_SPADE_getInstance();
|
|
4376
4376
|
} else {
|
|
4377
|
-
if (this.
|
|
4377
|
+
if (this.k2p_1 <= 39) {
|
|
4378
4378
|
tmp = Suit_HEART_getInstance();
|
|
4379
4379
|
} else {
|
|
4380
|
-
if (this.
|
|
4380
|
+
if (this.k2p_1 <= 52) {
|
|
4381
4381
|
tmp = Suit_CLUB_getInstance();
|
|
4382
4382
|
} else {
|
|
4383
|
-
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.
|
|
4383
|
+
throw IllegalStateException_init_$Create$('Invalid suitCard in Card.getValue() ' + this.k2p_1);
|
|
4384
4384
|
}
|
|
4385
4385
|
}
|
|
4386
4386
|
}
|
|
4387
4387
|
}
|
|
4388
4388
|
return tmp;
|
|
4389
4389
|
};
|
|
4390
|
-
protoOf(GameCard).
|
|
4390
|
+
protoOf(GameCard).p2q = function () {
|
|
4391
4391
|
var tmp;
|
|
4392
|
-
if (this.
|
|
4392
|
+
if (this.t2q()) {
|
|
4393
4393
|
tmp = -1;
|
|
4394
4394
|
} else {
|
|
4395
|
-
tmp = this.
|
|
4395
|
+
tmp = this.k2p_1 - imul(13, getIndex(this.q2q())) | 0;
|
|
4396
4396
|
}
|
|
4397
4397
|
return tmp;
|
|
4398
4398
|
};
|
|
4399
4399
|
protoOf(GameCard).g9 = function () {
|
|
4400
|
-
return this.
|
|
4400
|
+
return this.t2q() ? CardName_STUB_getInstance() : getName(Companion_instance_19, this.p2q());
|
|
4401
4401
|
};
|
|
4402
|
-
protoOf(GameCard).
|
|
4403
|
-
return this.
|
|
4402
|
+
protoOf(GameCard).t2q = function () {
|
|
4403
|
+
return this.k2p_1 >= 53;
|
|
4404
4404
|
};
|
|
4405
4405
|
protoOf(GameCard).toString = function () {
|
|
4406
4406
|
if (_get_isShirt__vd98rp(this)) {
|
|
4407
4407
|
return 'GameCard(SHIRT)';
|
|
4408
4408
|
}
|
|
4409
|
-
if (this.
|
|
4410
|
-
return 'GameCard(STUB, ' + this.
|
|
4409
|
+
if (this.t2q()) {
|
|
4410
|
+
return 'GameCard(STUB, ' + this.k2p_1 + ')';
|
|
4411
4411
|
}
|
|
4412
|
-
return 'GameCard(' + this.
|
|
4412
|
+
return 'GameCard(' + this.q2q() + this.g9() + ', ' + this.k2p_1 + ')';
|
|
4413
4413
|
};
|
|
4414
4414
|
protoOf(GameCard).hashCode = function () {
|
|
4415
|
-
return this.
|
|
4415
|
+
return this.k2p_1;
|
|
4416
4416
|
};
|
|
4417
4417
|
protoOf(GameCard).equals = function (other) {
|
|
4418
4418
|
if (this === other)
|
|
@@ -4420,20 +4420,20 @@
|
|
|
4420
4420
|
if (!(other instanceof GameCard))
|
|
4421
4421
|
return false;
|
|
4422
4422
|
var tmp0_other_with_cast = other instanceof GameCard ? other : THROW_CCE();
|
|
4423
|
-
if (!(this.
|
|
4423
|
+
if (!(this.k2p_1 === tmp0_other_with_cast.k2p_1))
|
|
4424
4424
|
return false;
|
|
4425
4425
|
return true;
|
|
4426
4426
|
};
|
|
4427
4427
|
function ProcessingCard(gameCard, payload) {
|
|
4428
|
-
this.
|
|
4429
|
-
this.
|
|
4428
|
+
this.a2r_1 = gameCard;
|
|
4429
|
+
this.b2r_1 = payload;
|
|
4430
4430
|
}
|
|
4431
4431
|
protoOf(ProcessingCard).toString = function () {
|
|
4432
|
-
return 'ProcessingCard(gameCard=' + this.
|
|
4432
|
+
return 'ProcessingCard(gameCard=' + this.a2r_1 + ', payload=' + this.b2r_1 + ')';
|
|
4433
4433
|
};
|
|
4434
4434
|
protoOf(ProcessingCard).hashCode = function () {
|
|
4435
|
-
var result = this.
|
|
4436
|
-
result = imul(result, 31) + (this.
|
|
4435
|
+
var result = this.a2r_1.hashCode();
|
|
4436
|
+
result = imul(result, 31) + (this.b2r_1 == null ? 0 : hashCode(this.b2r_1)) | 0;
|
|
4437
4437
|
return result;
|
|
4438
4438
|
};
|
|
4439
4439
|
protoOf(ProcessingCard).equals = function (other) {
|
|
@@ -4442,14 +4442,14 @@
|
|
|
4442
4442
|
if (!(other instanceof ProcessingCard))
|
|
4443
4443
|
return false;
|
|
4444
4444
|
var tmp0_other_with_cast = other instanceof ProcessingCard ? other : THROW_CCE();
|
|
4445
|
-
if (!this.
|
|
4445
|
+
if (!this.a2r_1.equals(tmp0_other_with_cast.a2r_1))
|
|
4446
4446
|
return false;
|
|
4447
|
-
if (!equals(this.
|
|
4447
|
+
if (!equals(this.b2r_1, tmp0_other_with_cast.b2r_1))
|
|
4448
4448
|
return false;
|
|
4449
4449
|
return true;
|
|
4450
4450
|
};
|
|
4451
4451
|
function _get_$cachedSerializer__te6jhj_8($this) {
|
|
4452
|
-
return $this.
|
|
4452
|
+
return $this.c2r_1.o2();
|
|
4453
4453
|
}
|
|
4454
4454
|
function Suit$Companion$_anonymous__cbm2iq() {
|
|
4455
4455
|
return createSimpleEnumSerializer('com.logic.data.models.table.cards.Suit', values_3());
|
|
@@ -4483,7 +4483,7 @@
|
|
|
4483
4483
|
Companion_instance_20 = this;
|
|
4484
4484
|
var tmp = this;
|
|
4485
4485
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
4486
|
-
tmp.
|
|
4486
|
+
tmp.c2r_1 = lazy(tmp_0, Suit$Companion$_anonymous__cbm2iq);
|
|
4487
4487
|
}
|
|
4488
4488
|
protoOf(Companion_20).t16 = function () {
|
|
4489
4489
|
return _get_$cachedSerializer__te6jhj_8(this);
|
|
@@ -4564,26 +4564,26 @@
|
|
|
4564
4564
|
function AsyncProvider() {
|
|
4565
4565
|
}
|
|
4566
4566
|
function _no_name_provided__qut3iv($logger) {
|
|
4567
|
-
this.
|
|
4567
|
+
this.n2r_1 = $logger;
|
|
4568
4568
|
AbstractCoroutineContextElement.call(this, Key_instance);
|
|
4569
4569
|
}
|
|
4570
4570
|
protoOf(_no_name_provided__qut3iv).i1v = function (context, exception) {
|
|
4571
|
-
this.
|
|
4571
|
+
this.n2r_1.e('AsyncErrorHandler', 'AsyncProvider error: ' + exception, exception);
|
|
4572
4572
|
return Unit_instance;
|
|
4573
4573
|
};
|
|
4574
4574
|
function AsyncProviderImpl$launchUnconfinedWithLock$slambda(this$0, $block, resultContinuation) {
|
|
4575
|
-
this.
|
|
4576
|
-
this.
|
|
4575
|
+
this.w2r_1 = this$0;
|
|
4576
|
+
this.x2r_1 = $block;
|
|
4577
4577
|
CoroutineImpl.call(this, resultContinuation);
|
|
4578
4578
|
}
|
|
4579
|
-
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).
|
|
4580
|
-
var tmp = this.
|
|
4579
|
+
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).a2b = function ($this$launch, $completion) {
|
|
4580
|
+
var tmp = this.b2b($this$launch, $completion);
|
|
4581
4581
|
tmp.na_1 = Unit_instance;
|
|
4582
4582
|
tmp.oa_1 = null;
|
|
4583
4583
|
return tmp.ya();
|
|
4584
4584
|
};
|
|
4585
4585
|
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).lb = function (p1, $completion) {
|
|
4586
|
-
return this.
|
|
4586
|
+
return this.a2b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4587
4587
|
};
|
|
4588
4588
|
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).ya = function () {
|
|
4589
4589
|
var suspendResult = this.na_1;
|
|
@@ -4597,11 +4597,11 @@
|
|
|
4597
4597
|
continue $sm;
|
|
4598
4598
|
case 1:
|
|
4599
4599
|
var tmp_0 = this;
|
|
4600
|
-
tmp_0.
|
|
4600
|
+
tmp_0.a2s_1 = this.w2r_1.f2s_1;
|
|
4601
4601
|
var tmp_1 = this;
|
|
4602
|
-
tmp_1.
|
|
4602
|
+
tmp_1.b2s_1 = null;
|
|
4603
4603
|
this.la_1 = 2;
|
|
4604
|
-
suspendResult = this.
|
|
4604
|
+
suspendResult = this.a2s_1.x2h(this.b2s_1, this);
|
|
4605
4605
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4606
4606
|
return suspendResult;
|
|
4607
4607
|
}
|
|
@@ -4616,14 +4616,14 @@
|
|
|
4616
4616
|
case 4:
|
|
4617
4617
|
this.ma_1 = 9;
|
|
4618
4618
|
this.la_1 = 5;
|
|
4619
|
-
suspendResult = this.
|
|
4619
|
+
suspendResult = this.x2r_1(this.y2r_1, this);
|
|
4620
4620
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4621
4621
|
return suspendResult;
|
|
4622
4622
|
}
|
|
4623
4623
|
|
|
4624
4624
|
continue $sm;
|
|
4625
4625
|
case 5:
|
|
4626
|
-
this.
|
|
4626
|
+
this.c2s_1 = suspendResult;
|
|
4627
4627
|
this.ma_1 = 10;
|
|
4628
4628
|
this.la_1 = 6;
|
|
4629
4629
|
var tmp_2 = this;
|
|
@@ -4631,13 +4631,13 @@
|
|
|
4631
4631
|
case 6:
|
|
4632
4632
|
this.ma_1 = 10;
|
|
4633
4633
|
var tmp_3 = this;
|
|
4634
|
-
this.
|
|
4635
|
-
tmp_3.
|
|
4634
|
+
this.a2s_1.i2h(this.b2s_1);
|
|
4635
|
+
tmp_3.z2r_1 = Unit_instance;
|
|
4636
4636
|
this.la_1 = 8;
|
|
4637
4637
|
continue $sm;
|
|
4638
4638
|
case 7:
|
|
4639
4639
|
this.ma_1 = 10;
|
|
4640
|
-
this.
|
|
4640
|
+
this.a2s_1.i2h(this.b2s_1);
|
|
4641
4641
|
if (false) {
|
|
4642
4642
|
this.la_1 = 1;
|
|
4643
4643
|
continue $sm;
|
|
@@ -4650,7 +4650,7 @@
|
|
|
4650
4650
|
case 9:
|
|
4651
4651
|
this.ma_1 = 10;
|
|
4652
4652
|
var t = this.oa_1;
|
|
4653
|
-
this.
|
|
4653
|
+
this.a2s_1.i2h(this.b2s_1);
|
|
4654
4654
|
throw t;
|
|
4655
4655
|
case 10:
|
|
4656
4656
|
throw this.oa_1;
|
|
@@ -4666,32 +4666,32 @@
|
|
|
4666
4666
|
}
|
|
4667
4667
|
while (true);
|
|
4668
4668
|
};
|
|
4669
|
-
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).
|
|
4670
|
-
var i = new AsyncProviderImpl$launchUnconfinedWithLock$slambda(this.
|
|
4671
|
-
i.
|
|
4669
|
+
protoOf(AsyncProviderImpl$launchUnconfinedWithLock$slambda).b2b = function ($this$launch, completion) {
|
|
4670
|
+
var i = new AsyncProviderImpl$launchUnconfinedWithLock$slambda(this.w2r_1, this.x2r_1, completion);
|
|
4671
|
+
i.y2r_1 = $this$launch;
|
|
4672
4672
|
return i;
|
|
4673
4673
|
};
|
|
4674
4674
|
function AsyncProviderImpl$launchUnconfinedWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
4675
4675
|
var i = new AsyncProviderImpl$launchUnconfinedWithLock$slambda(this$0, $block, resultContinuation);
|
|
4676
4676
|
var l = function ($this$launch, $completion) {
|
|
4677
|
-
return i.
|
|
4677
|
+
return i.a2b($this$launch, $completion);
|
|
4678
4678
|
};
|
|
4679
4679
|
l.$arity = 1;
|
|
4680
4680
|
return l;
|
|
4681
4681
|
}
|
|
4682
4682
|
function AsyncProviderImpl$launchDefaultWithLock$slambda(this$0, $block, resultContinuation) {
|
|
4683
|
-
this.
|
|
4684
|
-
this.
|
|
4683
|
+
this.s2s_1 = this$0;
|
|
4684
|
+
this.t2s_1 = $block;
|
|
4685
4685
|
CoroutineImpl.call(this, resultContinuation);
|
|
4686
4686
|
}
|
|
4687
|
-
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).
|
|
4688
|
-
var tmp = this.
|
|
4687
|
+
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).a2b = function ($this$launch, $completion) {
|
|
4688
|
+
var tmp = this.b2b($this$launch, $completion);
|
|
4689
4689
|
tmp.na_1 = Unit_instance;
|
|
4690
4690
|
tmp.oa_1 = null;
|
|
4691
4691
|
return tmp.ya();
|
|
4692
4692
|
};
|
|
4693
4693
|
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).lb = function (p1, $completion) {
|
|
4694
|
-
return this.
|
|
4694
|
+
return this.a2b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
4695
4695
|
};
|
|
4696
4696
|
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).ya = function () {
|
|
4697
4697
|
var suspendResult = this.na_1;
|
|
@@ -4705,11 +4705,11 @@
|
|
|
4705
4705
|
continue $sm;
|
|
4706
4706
|
case 1:
|
|
4707
4707
|
var tmp_0 = this;
|
|
4708
|
-
tmp_0.
|
|
4708
|
+
tmp_0.w2s_1 = this.s2s_1.e2s_1;
|
|
4709
4709
|
var tmp_1 = this;
|
|
4710
|
-
tmp_1.
|
|
4710
|
+
tmp_1.x2s_1 = null;
|
|
4711
4711
|
this.la_1 = 2;
|
|
4712
|
-
suspendResult = this.
|
|
4712
|
+
suspendResult = this.w2s_1.x2h(this.x2s_1, this);
|
|
4713
4713
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4714
4714
|
return suspendResult;
|
|
4715
4715
|
}
|
|
@@ -4724,14 +4724,14 @@
|
|
|
4724
4724
|
case 4:
|
|
4725
4725
|
this.ma_1 = 9;
|
|
4726
4726
|
this.la_1 = 5;
|
|
4727
|
-
suspendResult = this.
|
|
4727
|
+
suspendResult = this.t2s_1(this.u2s_1, this);
|
|
4728
4728
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
4729
4729
|
return suspendResult;
|
|
4730
4730
|
}
|
|
4731
4731
|
|
|
4732
4732
|
continue $sm;
|
|
4733
4733
|
case 5:
|
|
4734
|
-
this.
|
|
4734
|
+
this.y2s_1 = suspendResult;
|
|
4735
4735
|
this.ma_1 = 10;
|
|
4736
4736
|
this.la_1 = 6;
|
|
4737
4737
|
var tmp_2 = this;
|
|
@@ -4739,13 +4739,13 @@
|
|
|
4739
4739
|
case 6:
|
|
4740
4740
|
this.ma_1 = 10;
|
|
4741
4741
|
var tmp_3 = this;
|
|
4742
|
-
this.
|
|
4743
|
-
tmp_3.
|
|
4742
|
+
this.w2s_1.i2h(this.x2s_1);
|
|
4743
|
+
tmp_3.v2s_1 = Unit_instance;
|
|
4744
4744
|
this.la_1 = 8;
|
|
4745
4745
|
continue $sm;
|
|
4746
4746
|
case 7:
|
|
4747
4747
|
this.ma_1 = 10;
|
|
4748
|
-
this.
|
|
4748
|
+
this.w2s_1.i2h(this.x2s_1);
|
|
4749
4749
|
if (false) {
|
|
4750
4750
|
this.la_1 = 1;
|
|
4751
4751
|
continue $sm;
|
|
@@ -4758,7 +4758,7 @@
|
|
|
4758
4758
|
case 9:
|
|
4759
4759
|
this.ma_1 = 10;
|
|
4760
4760
|
var t = this.oa_1;
|
|
4761
|
-
this.
|
|
4761
|
+
this.w2s_1.i2h(this.x2s_1);
|
|
4762
4762
|
throw t;
|
|
4763
4763
|
case 10:
|
|
4764
4764
|
throw this.oa_1;
|
|
@@ -4774,55 +4774,55 @@
|
|
|
4774
4774
|
}
|
|
4775
4775
|
while (true);
|
|
4776
4776
|
};
|
|
4777
|
-
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).
|
|
4778
|
-
var i = new AsyncProviderImpl$launchDefaultWithLock$slambda(this.
|
|
4779
|
-
i.
|
|
4777
|
+
protoOf(AsyncProviderImpl$launchDefaultWithLock$slambda).b2b = function ($this$launch, completion) {
|
|
4778
|
+
var i = new AsyncProviderImpl$launchDefaultWithLock$slambda(this.s2s_1, this.t2s_1, completion);
|
|
4779
|
+
i.u2s_1 = $this$launch;
|
|
4780
4780
|
return i;
|
|
4781
4781
|
};
|
|
4782
4782
|
function AsyncProviderImpl$launchDefaultWithLock$slambda_0(this$0, $block, resultContinuation) {
|
|
4783
4783
|
var i = new AsyncProviderImpl$launchDefaultWithLock$slambda(this$0, $block, resultContinuation);
|
|
4784
4784
|
var l = function ($this$launch, $completion) {
|
|
4785
|
-
return i.
|
|
4785
|
+
return i.a2b($this$launch, $completion);
|
|
4786
4786
|
};
|
|
4787
4787
|
l.$arity = 1;
|
|
4788
4788
|
return l;
|
|
4789
4789
|
}
|
|
4790
4790
|
function AsyncProviderImpl(logger) {
|
|
4791
|
-
this.
|
|
4792
|
-
this.d2s_1 = Mutex();
|
|
4791
|
+
this.d2s_1 = Job();
|
|
4793
4792
|
this.e2s_1 = Mutex();
|
|
4793
|
+
this.f2s_1 = Mutex();
|
|
4794
4794
|
var tmp = this;
|
|
4795
4795
|
// Inline function 'kotlinx.coroutines.CoroutineExceptionHandler' call
|
|
4796
|
-
tmp.
|
|
4797
|
-
this.
|
|
4798
|
-
this.
|
|
4799
|
-
this.
|
|
4796
|
+
tmp.g2s_1 = new _no_name_provided__qut3iv(logger);
|
|
4797
|
+
this.h2s_1 = CoroutineScope_0(Dispatchers_getInstance().c1z().me(this.d2s_1));
|
|
4798
|
+
this.i2s_1 = CoroutineScope_0(Dispatchers_getInstance().y1y_1.me(this.d2s_1));
|
|
4799
|
+
this.j2s_1 = CoroutineScope_0(Dispatchers_getInstance().z1y_1.me(this.d2s_1));
|
|
4800
4800
|
}
|
|
4801
|
-
protoOf(AsyncProviderImpl).
|
|
4802
|
-
return this.
|
|
4801
|
+
protoOf(AsyncProviderImpl).d2r = function () {
|
|
4802
|
+
return this.g2s_1;
|
|
4803
4803
|
};
|
|
4804
|
-
protoOf(AsyncProviderImpl).
|
|
4805
|
-
return launch(this.g2s_1, context, VOID, block);
|
|
4806
|
-
};
|
|
4807
|
-
protoOf(AsyncProviderImpl).f2r = function (context, block) {
|
|
4804
|
+
protoOf(AsyncProviderImpl).k2r = function (context, block) {
|
|
4808
4805
|
return launch(this.h2s_1, context, VOID, block);
|
|
4809
4806
|
};
|
|
4810
|
-
protoOf(AsyncProviderImpl).
|
|
4811
|
-
return launch(this.i2s_1, context, VOID,
|
|
4807
|
+
protoOf(AsyncProviderImpl).g2r = function (context, block) {
|
|
4808
|
+
return launch(this.i2s_1, context, VOID, block);
|
|
4809
|
+
};
|
|
4810
|
+
protoOf(AsyncProviderImpl).e2r = function (context, block) {
|
|
4811
|
+
return launch(this.j2s_1, context, VOID, AsyncProviderImpl$launchUnconfinedWithLock$slambda_0(this, block, null));
|
|
4812
4812
|
};
|
|
4813
|
-
protoOf(AsyncProviderImpl).
|
|
4814
|
-
return launch(this.
|
|
4813
|
+
protoOf(AsyncProviderImpl).i2r = function (context, block) {
|
|
4814
|
+
return launch(this.i2s_1, context, VOID, AsyncProviderImpl$launchDefaultWithLock$slambda_0(this, block, null));
|
|
4815
4815
|
};
|
|
4816
4816
|
protoOf(AsyncProviderImpl).z1s = function () {
|
|
4817
|
-
if (!this.
|
|
4818
|
-
this.
|
|
4817
|
+
if (!this.d2s_1.k1r()) {
|
|
4818
|
+
this.d2s_1.x1r();
|
|
4819
4819
|
}
|
|
4820
4820
|
};
|
|
4821
4821
|
function IdsProvider() {
|
|
4822
4822
|
}
|
|
4823
4823
|
function UUIDIdsProvider() {
|
|
4824
4824
|
}
|
|
4825
|
-
protoOf(UUIDIdsProvider).
|
|
4825
|
+
protoOf(UUIDIdsProvider).z2s = function () {
|
|
4826
4826
|
return uuid4().toString();
|
|
4827
4827
|
};
|
|
4828
4828
|
var UUIDIdsProvider_instance;
|
|
@@ -4832,45 +4832,45 @@
|
|
|
4832
4832
|
function JobsProvider() {
|
|
4833
4833
|
}
|
|
4834
4834
|
function JobsProviderImpl(logger) {
|
|
4835
|
-
this.
|
|
4835
|
+
this.f2t_1 = logger;
|
|
4836
4836
|
var tmp = this;
|
|
4837
4837
|
// Inline function 'kotlin.collections.hashMapOf' call
|
|
4838
|
-
tmp.
|
|
4838
|
+
tmp.g2t_1 = HashMap_init_$Create$();
|
|
4839
4839
|
}
|
|
4840
|
-
protoOf(JobsProviderImpl).
|
|
4841
|
-
if (this.
|
|
4842
|
-
this.
|
|
4840
|
+
protoOf(JobsProviderImpl).a2t = function (timerTag, job) {
|
|
4841
|
+
if (this.e2t(timerTag)) {
|
|
4842
|
+
this.f2t_1.w(VOID, 'Timer already exists for that tag: ' + timerTag);
|
|
4843
4843
|
}
|
|
4844
4844
|
// Inline function 'kotlin.collections.set' call
|
|
4845
|
-
this.
|
|
4845
|
+
this.g2t_1.k2(timerTag, job);
|
|
4846
4846
|
};
|
|
4847
|
-
protoOf(JobsProviderImpl).
|
|
4848
|
-
return this.
|
|
4847
|
+
protoOf(JobsProviderImpl).e2t = function (timerTag) {
|
|
4848
|
+
return this.g2t_1.r2(timerTag);
|
|
4849
4849
|
};
|
|
4850
|
-
protoOf(JobsProviderImpl).
|
|
4851
|
-
if (!this.
|
|
4852
|
-
this.
|
|
4850
|
+
protoOf(JobsProviderImpl).c2t = function (timerTag) {
|
|
4851
|
+
if (!this.e2t(timerTag)) {
|
|
4852
|
+
this.f2t_1.w(VOID, "Can't find timer for that tag: " + timerTag);
|
|
4853
4853
|
}
|
|
4854
|
-
this.
|
|
4854
|
+
this.g2t_1.l2(timerTag);
|
|
4855
4855
|
};
|
|
4856
|
-
protoOf(JobsProviderImpl).
|
|
4856
|
+
protoOf(JobsProviderImpl).d2t = function (timers) {
|
|
4857
4857
|
// Inline function 'kotlin.collections.forEach' call
|
|
4858
4858
|
var tmp0_iterator = timers.v();
|
|
4859
4859
|
while (tmp0_iterator.w()) {
|
|
4860
4860
|
var element = tmp0_iterator.y();
|
|
4861
4861
|
// Inline function 'com.logic.data.providers.JobsProviderImpl.cancelJobs.<anonymous>' call
|
|
4862
|
-
var timer = this.
|
|
4862
|
+
var timer = this.g2t_1.t2(element);
|
|
4863
4863
|
if (timer == null)
|
|
4864
4864
|
null;
|
|
4865
4865
|
else {
|
|
4866
4866
|
timer.x1r();
|
|
4867
4867
|
}
|
|
4868
4868
|
}
|
|
4869
|
-
this.
|
|
4869
|
+
this.g2t_1.j2().a1(toSet(timers));
|
|
4870
4870
|
};
|
|
4871
|
-
protoOf(JobsProviderImpl).
|
|
4872
|
-
var timer = this.
|
|
4873
|
-
this.
|
|
4871
|
+
protoOf(JobsProviderImpl).b2t = function (timerTag) {
|
|
4872
|
+
var timer = this.g2t_1.t2(timerTag);
|
|
4873
|
+
this.g2t_1.l2(timerTag);
|
|
4874
4874
|
if (timer == null)
|
|
4875
4875
|
null;
|
|
4876
4876
|
else {
|
|
@@ -5148,27 +5148,27 @@
|
|
|
5148
5148
|
function FileSystemImpl(directory, fileSystem) {
|
|
5149
5149
|
directory = directory === VOID ? get_SystemTemporaryDirectory() : directory;
|
|
5150
5150
|
fileSystem = fileSystem === VOID ? get_SystemFileSystem() : fileSystem;
|
|
5151
|
-
this.
|
|
5152
|
-
this.
|
|
5151
|
+
this.j2t_1 = directory;
|
|
5152
|
+
this.k2t_1 = fileSystem;
|
|
5153
5153
|
}
|
|
5154
|
-
protoOf(FileSystemImpl).
|
|
5155
|
-
var exists = this.
|
|
5154
|
+
protoOf(FileSystemImpl).h2t = function (filePath, append, $completion) {
|
|
5155
|
+
var exists = this.k2t_1.k1p(this.j2t_1);
|
|
5156
5156
|
if (!exists) {
|
|
5157
|
-
this.
|
|
5157
|
+
this.k2t_1.o1p(this.j2t_1);
|
|
5158
5158
|
}
|
|
5159
|
-
return buffered(this.
|
|
5159
|
+
return buffered(this.k2t_1.p1p(Path_0(this.j2t_1, [filePath]), append));
|
|
5160
5160
|
};
|
|
5161
|
-
protoOf(FileSystemImpl).
|
|
5162
|
-
this.
|
|
5161
|
+
protoOf(FileSystemImpl).i2t = function ($completion) {
|
|
5162
|
+
this.k2t_1.m1p(this.j2t_1);
|
|
5163
5163
|
return Unit_instance;
|
|
5164
5164
|
};
|
|
5165
5165
|
function LoggerFactoryImpl(coreConfig, fileSystem) {
|
|
5166
|
-
this.
|
|
5167
|
-
this.
|
|
5166
|
+
this.l2t_1 = coreConfig;
|
|
5167
|
+
this.m2t_1 = fileSystem;
|
|
5168
5168
|
}
|
|
5169
|
-
protoOf(LoggerFactoryImpl).
|
|
5170
|
-
var fileName = replace(this.
|
|
5171
|
-
return new LogsStorageControllerImpl(fileName, this.
|
|
5169
|
+
protoOf(LoggerFactoryImpl).n2t = function (key) {
|
|
5170
|
+
var fileName = replace(this.l2t_1.fileNameFormat, '%S', key);
|
|
5171
|
+
return new LogsStorageControllerImpl(fileName, this.m2t_1);
|
|
5172
5172
|
};
|
|
5173
5173
|
function LoggerFactory() {
|
|
5174
5174
|
}
|
|
@@ -5180,8 +5180,8 @@
|
|
|
5180
5180
|
}
|
|
5181
5181
|
function $appendToFileCOROUTINE$0(_this__u8e3s4, message, resultContinuation) {
|
|
5182
5182
|
CoroutineImpl.call(this, resultContinuation);
|
|
5183
|
-
this.
|
|
5184
|
-
this.
|
|
5183
|
+
this.w2t_1 = _this__u8e3s4;
|
|
5184
|
+
this.x2t_1 = message;
|
|
5185
5185
|
}
|
|
5186
5186
|
protoOf($appendToFileCOROUTINE$0).ya = function () {
|
|
5187
5187
|
var suspendResult = this.na_1;
|
|
@@ -5193,7 +5193,7 @@
|
|
|
5193
5193
|
this.ma_1 = 3;
|
|
5194
5194
|
this.ma_1 = 2;
|
|
5195
5195
|
this.la_1 = 1;
|
|
5196
|
-
suspendResult = this.
|
|
5196
|
+
suspendResult = this.w2t_1.z2t_1.h2t(this.w2t_1.y2t_1, true, this);
|
|
5197
5197
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5198
5198
|
return suspendResult;
|
|
5199
5199
|
}
|
|
@@ -5204,7 +5204,7 @@
|
|
|
5204
5204
|
var sink = buffered(ARGUMENT);
|
|
5205
5205
|
l$ret$1: do {
|
|
5206
5206
|
try {
|
|
5207
|
-
writeString(sink, this.
|
|
5207
|
+
writeString(sink, this.x2t_1 + '\n');
|
|
5208
5208
|
break l$ret$1;
|
|
5209
5209
|
} catch ($p) {
|
|
5210
5210
|
var t = $p;
|
|
@@ -5222,7 +5222,7 @@
|
|
|
5222
5222
|
var tmp_0 = this.oa_1;
|
|
5223
5223
|
if (tmp_0 instanceof Exception) {
|
|
5224
5224
|
var e = this.oa_1;
|
|
5225
|
-
Logger_getInstance().
|
|
5225
|
+
Logger_getInstance().d2u(VOID, 'Error writing to log file: ' + e.message, e);
|
|
5226
5226
|
this.la_1 = 4;
|
|
5227
5227
|
continue $sm;
|
|
5228
5228
|
} else {
|
|
@@ -5247,10 +5247,10 @@
|
|
|
5247
5247
|
while (true);
|
|
5248
5248
|
};
|
|
5249
5249
|
function LogsStorageControllerImpl(fileName, fileSystem) {
|
|
5250
|
-
this.
|
|
5251
|
-
this.
|
|
5250
|
+
this.y2t_1 = fileName;
|
|
5251
|
+
this.z2t_1 = fileSystem;
|
|
5252
5252
|
}
|
|
5253
|
-
protoOf(LogsStorageControllerImpl).
|
|
5253
|
+
protoOf(LogsStorageControllerImpl).e2u = function (log, $completion) {
|
|
5254
5254
|
return appendToFile(this, log, $completion);
|
|
5255
5255
|
};
|
|
5256
5256
|
function BufferedAction() {
|
|
@@ -5263,22 +5263,22 @@
|
|
|
5263
5263
|
initialDelay = initialDelay === VOID ? new Long(0, 0) : initialDelay;
|
|
5264
5264
|
type = type === VOID ? TimerType_DELAY_getInstance() : type;
|
|
5265
5265
|
TimerAction.call(this);
|
|
5266
|
-
this.
|
|
5267
|
-
this.
|
|
5268
|
-
this.
|
|
5269
|
-
this.
|
|
5266
|
+
this.j2u_1 = timerTag;
|
|
5267
|
+
this.k2u_1 = delayMillis;
|
|
5268
|
+
this.l2u_1 = initialDelay;
|
|
5269
|
+
this.m2u_1 = type;
|
|
5270
5270
|
}
|
|
5271
|
-
protoOf(StartTimerAction).
|
|
5272
|
-
return this.
|
|
5271
|
+
protoOf(StartTimerAction).n2u = function () {
|
|
5272
|
+
return this.j2u_1;
|
|
5273
5273
|
};
|
|
5274
5274
|
protoOf(StartTimerAction).toString = function () {
|
|
5275
|
-
return 'StartTimerAction(timerTag=' + this.
|
|
5275
|
+
return 'StartTimerAction(timerTag=' + this.j2u_1 + ', delayMillis=' + this.k2u_1.toString() + ', initialDelay=' + this.l2u_1.toString() + ', type=' + this.m2u_1 + ')';
|
|
5276
5276
|
};
|
|
5277
5277
|
protoOf(StartTimerAction).hashCode = function () {
|
|
5278
|
-
var result = hashCode(this.
|
|
5279
|
-
result = imul(result, 31) + this.j2u_1.hashCode() | 0;
|
|
5278
|
+
var result = hashCode(this.j2u_1);
|
|
5280
5279
|
result = imul(result, 31) + this.k2u_1.hashCode() | 0;
|
|
5281
5280
|
result = imul(result, 31) + this.l2u_1.hashCode() | 0;
|
|
5281
|
+
result = imul(result, 31) + this.m2u_1.hashCode() | 0;
|
|
5282
5282
|
return result;
|
|
5283
5283
|
};
|
|
5284
5284
|
protoOf(StartTimerAction).equals = function (other) {
|
|
@@ -5287,14 +5287,14 @@
|
|
|
5287
5287
|
if (!(other instanceof StartTimerAction))
|
|
5288
5288
|
return false;
|
|
5289
5289
|
var tmp0_other_with_cast = other instanceof StartTimerAction ? other : THROW_CCE();
|
|
5290
|
-
if (!equals(this.
|
|
5291
|
-
return false;
|
|
5292
|
-
if (!this.j2u_1.equals(tmp0_other_with_cast.j2u_1))
|
|
5290
|
+
if (!equals(this.j2u_1, tmp0_other_with_cast.j2u_1))
|
|
5293
5291
|
return false;
|
|
5294
5292
|
if (!this.k2u_1.equals(tmp0_other_with_cast.k2u_1))
|
|
5295
5293
|
return false;
|
|
5296
5294
|
if (!this.l2u_1.equals(tmp0_other_with_cast.l2u_1))
|
|
5297
5295
|
return false;
|
|
5296
|
+
if (!this.m2u_1.equals(tmp0_other_with_cast.m2u_1))
|
|
5297
|
+
return false;
|
|
5298
5298
|
return true;
|
|
5299
5299
|
};
|
|
5300
5300
|
var TimerType_DELAY_instance;
|
|
@@ -5312,21 +5312,21 @@
|
|
|
5312
5312
|
}
|
|
5313
5313
|
function TimerTickAction(timerTag, type) {
|
|
5314
5314
|
TimerAction.call(this);
|
|
5315
|
-
this.
|
|
5316
|
-
this.
|
|
5315
|
+
this.o2u_1 = timerTag;
|
|
5316
|
+
this.p2u_1 = type;
|
|
5317
5317
|
}
|
|
5318
|
-
protoOf(TimerTickAction).
|
|
5319
|
-
return this.
|
|
5318
|
+
protoOf(TimerTickAction).n2u = function () {
|
|
5319
|
+
return this.o2u_1;
|
|
5320
5320
|
};
|
|
5321
5321
|
protoOf(TimerTickAction).notValidateWhenFinished = function () {
|
|
5322
|
-
return this.
|
|
5322
|
+
return this.o2u_1.notValidateWhenFinished();
|
|
5323
5323
|
};
|
|
5324
5324
|
protoOf(TimerTickAction).toString = function () {
|
|
5325
|
-
return 'TimerTickAction(timerTag=' + this.
|
|
5325
|
+
return 'TimerTickAction(timerTag=' + this.o2u_1 + ', type=' + this.p2u_1 + ')';
|
|
5326
5326
|
};
|
|
5327
5327
|
protoOf(TimerTickAction).hashCode = function () {
|
|
5328
|
-
var result = hashCode(this.
|
|
5329
|
-
result = imul(result, 31) + this.
|
|
5328
|
+
var result = hashCode(this.o2u_1);
|
|
5329
|
+
result = imul(result, 31) + this.p2u_1.hashCode() | 0;
|
|
5330
5330
|
return result;
|
|
5331
5331
|
};
|
|
5332
5332
|
protoOf(TimerTickAction).equals = function (other) {
|
|
@@ -5335,24 +5335,24 @@
|
|
|
5335
5335
|
if (!(other instanceof TimerTickAction))
|
|
5336
5336
|
return false;
|
|
5337
5337
|
var tmp0_other_with_cast = other instanceof TimerTickAction ? other : THROW_CCE();
|
|
5338
|
-
if (!equals(this.
|
|
5338
|
+
if (!equals(this.o2u_1, tmp0_other_with_cast.o2u_1))
|
|
5339
5339
|
return false;
|
|
5340
|
-
if (!this.
|
|
5340
|
+
if (!this.p2u_1.equals(tmp0_other_with_cast.p2u_1))
|
|
5341
5341
|
return false;
|
|
5342
5342
|
return true;
|
|
5343
5343
|
};
|
|
5344
5344
|
function StopTimerAction(timerTag) {
|
|
5345
5345
|
TimerAction.call(this);
|
|
5346
|
-
this.
|
|
5346
|
+
this.q2u_1 = timerTag;
|
|
5347
5347
|
}
|
|
5348
|
-
protoOf(StopTimerAction).
|
|
5349
|
-
return this.
|
|
5348
|
+
protoOf(StopTimerAction).n2u = function () {
|
|
5349
|
+
return this.q2u_1;
|
|
5350
5350
|
};
|
|
5351
5351
|
protoOf(StopTimerAction).toString = function () {
|
|
5352
|
-
return 'StopTimerAction(timerTag=' + this.
|
|
5352
|
+
return 'StopTimerAction(timerTag=' + this.q2u_1 + ')';
|
|
5353
5353
|
};
|
|
5354
5354
|
protoOf(StopTimerAction).hashCode = function () {
|
|
5355
|
-
return hashCode(this.
|
|
5355
|
+
return hashCode(this.q2u_1);
|
|
5356
5356
|
};
|
|
5357
5357
|
protoOf(StopTimerAction).equals = function (other) {
|
|
5358
5358
|
if (this === other)
|
|
@@ -5360,7 +5360,7 @@
|
|
|
5360
5360
|
if (!(other instanceof StopTimerAction))
|
|
5361
5361
|
return false;
|
|
5362
5362
|
var tmp0_other_with_cast = other instanceof StopTimerAction ? other : THROW_CCE();
|
|
5363
|
-
if (!equals(this.
|
|
5363
|
+
if (!equals(this.q2u_1, tmp0_other_with_cast.q2u_1))
|
|
5364
5364
|
return false;
|
|
5365
5365
|
return true;
|
|
5366
5366
|
};
|
|
@@ -5383,7 +5383,7 @@
|
|
|
5383
5383
|
}
|
|
5384
5384
|
function applyMiddleware$lambda$lambda$lambda$lambda($middleware, $store, $dispatcher) {
|
|
5385
5385
|
return function (action) {
|
|
5386
|
-
$middleware.
|
|
5386
|
+
$middleware.r2u($store, $dispatcher, action);
|
|
5387
5387
|
return Unit_instance;
|
|
5388
5388
|
};
|
|
5389
5389
|
}
|
|
@@ -5399,7 +5399,7 @@
|
|
|
5399
5399
|
var element = this_0[inductionVariable];
|
|
5400
5400
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5401
5401
|
// Inline function 'com.logic.redux.enhancers.applyMiddleware.<anonymous>.<anonymous>.<anonymous>.<anonymous>' call
|
|
5402
|
-
if (element.
|
|
5402
|
+
if (element.s2u(action)) {
|
|
5403
5403
|
destination.s(element);
|
|
5404
5404
|
}
|
|
5405
5405
|
}
|
|
@@ -5437,18 +5437,18 @@
|
|
|
5437
5437
|
return applyThread$lambda(asyncProvider);
|
|
5438
5438
|
}
|
|
5439
5439
|
function applyThread$lambda$lambda$lambda$slambda($origDispatch, $action, resultContinuation) {
|
|
5440
|
-
this.
|
|
5441
|
-
this.
|
|
5440
|
+
this.b2v_1 = $origDispatch;
|
|
5441
|
+
this.c2v_1 = $action;
|
|
5442
5442
|
CoroutineImpl.call(this, resultContinuation);
|
|
5443
5443
|
}
|
|
5444
|
-
protoOf(applyThread$lambda$lambda$lambda$slambda).
|
|
5445
|
-
var tmp = this.
|
|
5444
|
+
protoOf(applyThread$lambda$lambda$lambda$slambda).a2b = function ($this$launchUnconfinedWithLock, $completion) {
|
|
5445
|
+
var tmp = this.b2b($this$launchUnconfinedWithLock, $completion);
|
|
5446
5446
|
tmp.na_1 = Unit_instance;
|
|
5447
5447
|
tmp.oa_1 = null;
|
|
5448
5448
|
return tmp.ya();
|
|
5449
5449
|
};
|
|
5450
5450
|
protoOf(applyThread$lambda$lambda$lambda$slambda).lb = function (p1, $completion) {
|
|
5451
|
-
return this.
|
|
5451
|
+
return this.a2b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
5452
5452
|
};
|
|
5453
5453
|
protoOf(applyThread$lambda$lambda$lambda$slambda).ya = function () {
|
|
5454
5454
|
var suspendResult = this.na_1;
|
|
@@ -5457,7 +5457,7 @@
|
|
|
5457
5457
|
var tmp = this.la_1;
|
|
5458
5458
|
if (tmp === 0) {
|
|
5459
5459
|
this.ma_1 = 1;
|
|
5460
|
-
this.
|
|
5460
|
+
this.b2v_1(this.c2v_1);
|
|
5461
5461
|
return Unit_instance;
|
|
5462
5462
|
} else if (tmp === 1) {
|
|
5463
5463
|
throw this.oa_1;
|
|
@@ -5468,22 +5468,22 @@
|
|
|
5468
5468
|
}
|
|
5469
5469
|
while (true);
|
|
5470
5470
|
};
|
|
5471
|
-
protoOf(applyThread$lambda$lambda$lambda$slambda).
|
|
5472
|
-
var i = new applyThread$lambda$lambda$lambda$slambda(this.
|
|
5473
|
-
i.
|
|
5471
|
+
protoOf(applyThread$lambda$lambda$lambda$slambda).b2b = function ($this$launchUnconfinedWithLock, completion) {
|
|
5472
|
+
var i = new applyThread$lambda$lambda$lambda$slambda(this.b2v_1, this.c2v_1, completion);
|
|
5473
|
+
i.d2v_1 = $this$launchUnconfinedWithLock;
|
|
5474
5474
|
return i;
|
|
5475
5475
|
};
|
|
5476
5476
|
function applyThread$lambda$lambda$lambda$slambda_0($origDispatch, $action, resultContinuation) {
|
|
5477
5477
|
var i = new applyThread$lambda$lambda$lambda$slambda($origDispatch, $action, resultContinuation);
|
|
5478
5478
|
var l = function ($this$launchUnconfinedWithLock, $completion) {
|
|
5479
|
-
return i.
|
|
5479
|
+
return i.a2b($this$launchUnconfinedWithLock, $completion);
|
|
5480
5480
|
};
|
|
5481
5481
|
l.$arity = 1;
|
|
5482
5482
|
return l;
|
|
5483
5483
|
}
|
|
5484
5484
|
function applyThread$lambda$lambda$lambda($asyncProvider, $origDispatch) {
|
|
5485
5485
|
return function (action) {
|
|
5486
|
-
$asyncProvider.
|
|
5486
|
+
$asyncProvider.f2r(VOID, applyThread$lambda$lambda$lambda$slambda_0($origDispatch, action, null));
|
|
5487
5487
|
return Unit_instance;
|
|
5488
5488
|
};
|
|
5489
5489
|
}
|
|
@@ -5505,19 +5505,19 @@
|
|
|
5505
5505
|
return new _no_name_provided__qut3iv_0(asyncProvider, jobsProvider);
|
|
5506
5506
|
}
|
|
5507
5507
|
function timerMiddleware$o$handle$slambda$slambda($jobsProvider, $action, $store, resultContinuation) {
|
|
5508
|
-
this.
|
|
5509
|
-
this.
|
|
5510
|
-
this.
|
|
5508
|
+
this.m2v_1 = $jobsProvider;
|
|
5509
|
+
this.n2v_1 = $action;
|
|
5510
|
+
this.o2v_1 = $store;
|
|
5511
5511
|
CoroutineImpl.call(this, resultContinuation);
|
|
5512
5512
|
}
|
|
5513
|
-
protoOf(timerMiddleware$o$handle$slambda$slambda).
|
|
5514
|
-
var tmp = this.
|
|
5513
|
+
protoOf(timerMiddleware$o$handle$slambda$slambda).a2b = function ($this$launchMain, $completion) {
|
|
5514
|
+
var tmp = this.b2b($this$launchMain, $completion);
|
|
5515
5515
|
tmp.na_1 = Unit_instance;
|
|
5516
5516
|
tmp.oa_1 = null;
|
|
5517
5517
|
return tmp.ya();
|
|
5518
5518
|
};
|
|
5519
5519
|
protoOf(timerMiddleware$o$handle$slambda$slambda).lb = function (p1, $completion) {
|
|
5520
|
-
return this.
|
|
5520
|
+
return this.a2b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
5521
5521
|
};
|
|
5522
5522
|
protoOf(timerMiddleware$o$handle$slambda$slambda).ya = function () {
|
|
5523
5523
|
var suspendResult = this.na_1;
|
|
@@ -5526,8 +5526,8 @@
|
|
|
5526
5526
|
var tmp = this.la_1;
|
|
5527
5527
|
if (tmp === 0) {
|
|
5528
5528
|
this.ma_1 = 1;
|
|
5529
|
-
if (this.
|
|
5530
|
-
this.
|
|
5529
|
+
if (this.m2v_1.e2t(this.n2v_1.n2u())) {
|
|
5530
|
+
this.o2v_1.dispatch(new TimerTickAction(this.n2v_1.n2u(), TimerType_DELAY_getInstance()));
|
|
5531
5531
|
}
|
|
5532
5532
|
return Unit_instance;
|
|
5533
5533
|
} else if (tmp === 1) {
|
|
@@ -5539,33 +5539,33 @@
|
|
|
5539
5539
|
}
|
|
5540
5540
|
while (true);
|
|
5541
5541
|
};
|
|
5542
|
-
protoOf(timerMiddleware$o$handle$slambda$slambda).
|
|
5543
|
-
var i = new timerMiddleware$o$handle$slambda$slambda(this.
|
|
5544
|
-
i.
|
|
5542
|
+
protoOf(timerMiddleware$o$handle$slambda$slambda).b2b = function ($this$launchMain, completion) {
|
|
5543
|
+
var i = new timerMiddleware$o$handle$slambda$slambda(this.m2v_1, this.n2v_1, this.o2v_1, completion);
|
|
5544
|
+
i.p2v_1 = $this$launchMain;
|
|
5545
5545
|
return i;
|
|
5546
5546
|
};
|
|
5547
5547
|
function timerMiddleware$o$handle$slambda$slambda_0($jobsProvider, $action, $store, resultContinuation) {
|
|
5548
5548
|
var i = new timerMiddleware$o$handle$slambda$slambda($jobsProvider, $action, $store, resultContinuation);
|
|
5549
5549
|
var l = function ($this$launchMain, $completion) {
|
|
5550
|
-
return i.
|
|
5550
|
+
return i.a2b($this$launchMain, $completion);
|
|
5551
5551
|
};
|
|
5552
5552
|
l.$arity = 1;
|
|
5553
5553
|
return l;
|
|
5554
5554
|
}
|
|
5555
5555
|
function timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $action, $store, resultContinuation) {
|
|
5556
|
-
this.
|
|
5557
|
-
this.
|
|
5558
|
-
this.
|
|
5556
|
+
this.y2v_1 = $jobsProvider;
|
|
5557
|
+
this.z2v_1 = $action;
|
|
5558
|
+
this.a2w_1 = $store;
|
|
5559
5559
|
CoroutineImpl.call(this, resultContinuation);
|
|
5560
5560
|
}
|
|
5561
|
-
protoOf(timerMiddleware$o$handle$slambda$slambda_1).
|
|
5562
|
-
var tmp = this.
|
|
5561
|
+
protoOf(timerMiddleware$o$handle$slambda$slambda_1).a2b = function ($this$launchMain, $completion) {
|
|
5562
|
+
var tmp = this.b2b($this$launchMain, $completion);
|
|
5563
5563
|
tmp.na_1 = Unit_instance;
|
|
5564
5564
|
tmp.oa_1 = null;
|
|
5565
5565
|
return tmp.ya();
|
|
5566
5566
|
};
|
|
5567
5567
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).lb = function (p1, $completion) {
|
|
5568
|
-
return this.
|
|
5568
|
+
return this.a2b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
5569
5569
|
};
|
|
5570
5570
|
protoOf(timerMiddleware$o$handle$slambda$slambda_1).ya = function () {
|
|
5571
5571
|
var suspendResult = this.na_1;
|
|
@@ -5574,8 +5574,8 @@
|
|
|
5574
5574
|
var tmp = this.la_1;
|
|
5575
5575
|
if (tmp === 0) {
|
|
5576
5576
|
this.ma_1 = 1;
|
|
5577
|
-
if (this.
|
|
5578
|
-
this.
|
|
5577
|
+
if (this.y2v_1.e2t(this.z2v_1.n2u())) {
|
|
5578
|
+
this.a2w_1.dispatch(new TimerTickAction(this.z2v_1.n2u(), TimerType_INTERVAL_getInstance()));
|
|
5579
5579
|
}
|
|
5580
5580
|
return Unit_instance;
|
|
5581
5581
|
} else if (tmp === 1) {
|
|
@@ -5587,34 +5587,34 @@
|
|
|
5587
5587
|
}
|
|
5588
5588
|
while (true);
|
|
5589
5589
|
};
|
|
5590
|
-
protoOf(timerMiddleware$o$handle$slambda$slambda_1).
|
|
5591
|
-
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.
|
|
5592
|
-
i.
|
|
5590
|
+
protoOf(timerMiddleware$o$handle$slambda$slambda_1).b2b = function ($this$launchMain, completion) {
|
|
5591
|
+
var i = new timerMiddleware$o$handle$slambda$slambda_1(this.y2v_1, this.z2v_1, this.a2w_1, completion);
|
|
5592
|
+
i.b2w_1 = $this$launchMain;
|
|
5593
5593
|
return i;
|
|
5594
5594
|
};
|
|
5595
5595
|
function timerMiddleware$o$handle$slambda$slambda_2($jobsProvider, $action, $store, resultContinuation) {
|
|
5596
5596
|
var i = new timerMiddleware$o$handle$slambda$slambda_1($jobsProvider, $action, $store, resultContinuation);
|
|
5597
5597
|
var l = function ($this$launchMain, $completion) {
|
|
5598
|
-
return i.
|
|
5598
|
+
return i.a2b($this$launchMain, $completion);
|
|
5599
5599
|
};
|
|
5600
5600
|
l.$arity = 1;
|
|
5601
5601
|
return l;
|
|
5602
5602
|
}
|
|
5603
5603
|
function timerMiddleware$o$handle$slambda($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
5604
|
-
this.
|
|
5605
|
-
this.
|
|
5606
|
-
this.
|
|
5607
|
-
this.
|
|
5604
|
+
this.k2w_1 = $action;
|
|
5605
|
+
this.l2w_1 = $asyncProvider;
|
|
5606
|
+
this.m2w_1 = $jobsProvider;
|
|
5607
|
+
this.n2w_1 = $store;
|
|
5608
5608
|
CoroutineImpl.call(this, resultContinuation);
|
|
5609
5609
|
}
|
|
5610
|
-
protoOf(timerMiddleware$o$handle$slambda).
|
|
5611
|
-
var tmp = this.
|
|
5610
|
+
protoOf(timerMiddleware$o$handle$slambda).a2b = function ($this$launchDefault, $completion) {
|
|
5611
|
+
var tmp = this.b2b($this$launchDefault, $completion);
|
|
5612
5612
|
tmp.na_1 = Unit_instance;
|
|
5613
5613
|
tmp.oa_1 = null;
|
|
5614
5614
|
return tmp.ya();
|
|
5615
5615
|
};
|
|
5616
5616
|
protoOf(timerMiddleware$o$handle$slambda).lb = function (p1, $completion) {
|
|
5617
|
-
return this.
|
|
5617
|
+
return this.a2b((!(p1 == null) ? isInterface(p1, CoroutineScope) : false) ? p1 : THROW_CCE(), $completion);
|
|
5618
5618
|
};
|
|
5619
5619
|
protoOf(timerMiddleware$o$handle$slambda).ya = function () {
|
|
5620
5620
|
var suspendResult = this.na_1;
|
|
@@ -5624,9 +5624,9 @@
|
|
|
5624
5624
|
switch (tmp) {
|
|
5625
5625
|
case 0:
|
|
5626
5626
|
this.ma_1 = 10;
|
|
5627
|
-
if (!this.
|
|
5627
|
+
if (!this.k2w_1.l2u_1.equals(new Long(0, 0)) ? this.k2w_1.m2u_1.equals(TimerType_INTERVAL_getInstance()) : false) {
|
|
5628
5628
|
this.la_1 = 1;
|
|
5629
|
-
suspendResult = delay(this.
|
|
5629
|
+
suspendResult = delay(this.k2w_1.l2u_1, this);
|
|
5630
5630
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5631
5631
|
return suspendResult;
|
|
5632
5632
|
}
|
|
@@ -5640,20 +5640,20 @@
|
|
|
5640
5640
|
this.la_1 = 2;
|
|
5641
5641
|
continue $sm;
|
|
5642
5642
|
case 2:
|
|
5643
|
-
this.
|
|
5644
|
-
this.
|
|
5645
|
-
if (this.
|
|
5643
|
+
this.p2w_1 = this.k2w_1.m2u_1;
|
|
5644
|
+
this.q2w_1 = this.p2w_1.g8_1;
|
|
5645
|
+
if (this.q2w_1 === 0) {
|
|
5646
5646
|
this.la_1 = 8;
|
|
5647
|
-
suspendResult = delay(this.
|
|
5647
|
+
suspendResult = delay(this.k2w_1.k2u_1, this);
|
|
5648
5648
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5649
5649
|
return suspendResult;
|
|
5650
5650
|
}
|
|
5651
5651
|
continue $sm;
|
|
5652
5652
|
} else {
|
|
5653
|
-
if (this.
|
|
5654
|
-
if (!this.
|
|
5653
|
+
if (this.q2w_1 === 1) {
|
|
5654
|
+
if (!this.k2w_1.l2u_1.equals(new Long(0, 0))) {
|
|
5655
5655
|
this.la_1 = 3;
|
|
5656
|
-
suspendResult = delay(this.
|
|
5656
|
+
suspendResult = delay(this.k2w_1.l2u_1, this);
|
|
5657
5657
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5658
5658
|
return suspendResult;
|
|
5659
5659
|
}
|
|
@@ -5675,14 +5675,14 @@
|
|
|
5675
5675
|
this.la_1 = 5;
|
|
5676
5676
|
continue $sm;
|
|
5677
5677
|
case 5:
|
|
5678
|
-
if (!get_isActive(this.
|
|
5678
|
+
if (!get_isActive(this.o2w_1)) {
|
|
5679
5679
|
this.la_1 = 7;
|
|
5680
5680
|
continue $sm;
|
|
5681
5681
|
}
|
|
5682
5682
|
|
|
5683
|
-
this.
|
|
5683
|
+
this.l2w_1.l2r(VOID, timerMiddleware$o$handle$slambda$slambda_2(this.m2w_1, this.k2w_1, this.n2w_1, null));
|
|
5684
5684
|
this.la_1 = 6;
|
|
5685
|
-
suspendResult = delay(this.
|
|
5685
|
+
suspendResult = delay(this.k2w_1.l2u_1, this);
|
|
5686
5686
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5687
5687
|
return suspendResult;
|
|
5688
5688
|
}
|
|
@@ -5695,7 +5695,7 @@
|
|
|
5695
5695
|
this.la_1 = 9;
|
|
5696
5696
|
continue $sm;
|
|
5697
5697
|
case 8:
|
|
5698
|
-
this.
|
|
5698
|
+
this.l2w_1.l2r(VOID, timerMiddleware$o$handle$slambda$slambda_0(this.m2w_1, this.k2w_1, this.n2w_1, null));
|
|
5699
5699
|
this.la_1 = 9;
|
|
5700
5700
|
continue $sm;
|
|
5701
5701
|
case 9:
|
|
@@ -5714,47 +5714,47 @@
|
|
|
5714
5714
|
}
|
|
5715
5715
|
while (true);
|
|
5716
5716
|
};
|
|
5717
|
-
protoOf(timerMiddleware$o$handle$slambda).
|
|
5718
|
-
var i = new timerMiddleware$o$handle$slambda(this.
|
|
5719
|
-
i.
|
|
5717
|
+
protoOf(timerMiddleware$o$handle$slambda).b2b = function ($this$launchDefault, completion) {
|
|
5718
|
+
var i = new timerMiddleware$o$handle$slambda(this.k2w_1, this.l2w_1, this.m2w_1, this.n2w_1, completion);
|
|
5719
|
+
i.o2w_1 = $this$launchDefault;
|
|
5720
5720
|
return i;
|
|
5721
5721
|
};
|
|
5722
5722
|
function timerMiddleware$o$handle$slambda_0($action, $asyncProvider, $jobsProvider, $store, resultContinuation) {
|
|
5723
5723
|
var i = new timerMiddleware$o$handle$slambda($action, $asyncProvider, $jobsProvider, $store, resultContinuation);
|
|
5724
5724
|
var l = function ($this$launchDefault, $completion) {
|
|
5725
|
-
return i.
|
|
5725
|
+
return i.a2b($this$launchDefault, $completion);
|
|
5726
5726
|
};
|
|
5727
5727
|
l.$arity = 1;
|
|
5728
5728
|
return l;
|
|
5729
5729
|
}
|
|
5730
5730
|
function _no_name_provided__qut3iv_0($asyncProvider, $jobsProvider) {
|
|
5731
|
-
this.
|
|
5732
|
-
this.
|
|
5731
|
+
this.r2w_1 = $asyncProvider;
|
|
5732
|
+
this.s2w_1 = $jobsProvider;
|
|
5733
5733
|
}
|
|
5734
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
5734
|
+
protoOf(_no_name_provided__qut3iv_0).s2u = function (action) {
|
|
5735
5735
|
return action instanceof TimerAction;
|
|
5736
5736
|
};
|
|
5737
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
5737
|
+
protoOf(_no_name_provided__qut3iv_0).t2w = function (store, next, action) {
|
|
5738
5738
|
// Inline function 'com.logic.redux.middlewares.timers.timerMiddleware.<anonymous>' call
|
|
5739
5739
|
var action_0 = action instanceof TimerAction ? action : THROW_CCE();
|
|
5740
5740
|
if (action_0 instanceof StartTimerAction) {
|
|
5741
|
-
var job = this.
|
|
5742
|
-
this.
|
|
5741
|
+
var job = this.r2w_1.h2r(VOID, timerMiddleware$o$handle$slambda_0(action_0, this.r2w_1, this.s2w_1, store, null));
|
|
5742
|
+
this.s2w_1.a2t(action_0.n2u(), job);
|
|
5743
5743
|
} else {
|
|
5744
5744
|
if (action_0 instanceof StopTimerAction) {
|
|
5745
|
-
this.
|
|
5745
|
+
this.s2w_1.b2t(action_0.n2u());
|
|
5746
5746
|
} else {
|
|
5747
5747
|
if (action_0 instanceof TimerTickAction) {
|
|
5748
|
-
if (action_0.
|
|
5749
|
-
this.
|
|
5748
|
+
if (action_0.p2u_1.equals(TimerType_DELAY_getInstance())) {
|
|
5749
|
+
this.s2w_1.c2t(action_0.n2u());
|
|
5750
5750
|
}
|
|
5751
5751
|
}
|
|
5752
5752
|
}
|
|
5753
5753
|
}
|
|
5754
5754
|
next(action_0);
|
|
5755
5755
|
};
|
|
5756
|
-
protoOf(_no_name_provided__qut3iv_0).
|
|
5757
|
-
return this.
|
|
5756
|
+
protoOf(_no_name_provided__qut3iv_0).r2u = function (store, next, action) {
|
|
5757
|
+
return this.t2w(store, next, action);
|
|
5758
5758
|
};
|
|
5759
5759
|
function compose(functions) {
|
|
5760
5760
|
return compose$lambda(functions);
|
|
@@ -5790,7 +5790,7 @@
|
|
|
5790
5790
|
}
|
|
5791
5791
|
function createStore$dispatch(currentState, currentReducer, $logger, stateTrigger, action) {
|
|
5792
5792
|
try {
|
|
5793
|
-
currentState._v = currentReducer._v.
|
|
5793
|
+
currentState._v = currentReducer._v.u2w(currentState._v, action);
|
|
5794
5794
|
} catch ($p) {
|
|
5795
5795
|
if ($p instanceof Exception) {
|
|
5796
5796
|
var exception = $p;
|
|
@@ -5799,7 +5799,7 @@
|
|
|
5799
5799
|
throw $p;
|
|
5800
5800
|
}
|
|
5801
5801
|
}
|
|
5802
|
-
stateTrigger.
|
|
5802
|
+
stateTrigger.w27(Unit_instance);
|
|
5803
5803
|
}
|
|
5804
5804
|
function createStore$replaceReducer(currentReducer, currentState, $logger, stateTrigger, nextReducer) {
|
|
5805
5805
|
currentReducer._v = nextReducer;
|
|
@@ -5811,18 +5811,18 @@
|
|
|
5811
5811
|
};
|
|
5812
5812
|
}
|
|
5813
5813
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation) {
|
|
5814
|
-
this.
|
|
5815
|
-
this.
|
|
5814
|
+
this.d2x_1 = $$this$unsafeFlow;
|
|
5815
|
+
this.e2x_1 = this$0;
|
|
5816
5816
|
CoroutineImpl.call(this, resultContinuation);
|
|
5817
5817
|
}
|
|
5818
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
5819
|
-
var tmp = this.
|
|
5818
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).i2x = function (value, $completion) {
|
|
5819
|
+
var tmp = this.j2x(value, $completion);
|
|
5820
5820
|
tmp.na_1 = Unit_instance;
|
|
5821
5821
|
tmp.oa_1 = null;
|
|
5822
5822
|
return tmp.ya();
|
|
5823
5823
|
};
|
|
5824
5824
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).lb = function (p1, $completion) {
|
|
5825
|
-
return this.
|
|
5825
|
+
return this.i2x(p1 instanceof Unit ? p1 : THROW_CCE(), $completion);
|
|
5826
5826
|
};
|
|
5827
5827
|
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).ya = function () {
|
|
5828
5828
|
var suspendResult = this.na_1;
|
|
@@ -5833,12 +5833,12 @@
|
|
|
5833
5833
|
case 0:
|
|
5834
5834
|
this.ma_1 = 2;
|
|
5835
5835
|
var tmp_0 = this;
|
|
5836
|
-
tmp_0.
|
|
5836
|
+
tmp_0.g2x_1 = this.d2x_1;
|
|
5837
5837
|
var tmp_1 = this;
|
|
5838
|
-
tmp_1.
|
|
5838
|
+
tmp_1.h2x_1 = this.f2x_1;
|
|
5839
5839
|
this.la_1 = 1;
|
|
5840
|
-
this.
|
|
5841
|
-
suspendResult = this.
|
|
5840
|
+
this.h2x_1;
|
|
5841
|
+
suspendResult = this.g2x_1.d26(this.e2x_1.state, this);
|
|
5842
5842
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5843
5843
|
return suspendResult;
|
|
5844
5844
|
}
|
|
@@ -5860,23 +5860,23 @@
|
|
|
5860
5860
|
}
|
|
5861
5861
|
while (true);
|
|
5862
5862
|
};
|
|
5863
|
-
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).
|
|
5864
|
-
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.
|
|
5865
|
-
i.
|
|
5863
|
+
protoOf(createStore$o$_get_observe_$o$collect$slambda_h8loug).j2x = function (value, completion) {
|
|
5864
|
+
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug(this.d2x_1, this.e2x_1, completion);
|
|
5865
|
+
i.f2x_1 = value;
|
|
5866
5866
|
return i;
|
|
5867
5867
|
};
|
|
5868
5868
|
function createStore$o$_get_observe_$o$collect$slambda_h8loug_0($$this$unsafeFlow, this$0, resultContinuation) {
|
|
5869
5869
|
var i = new createStore$o$_get_observe_$o$collect$slambda_h8loug($$this$unsafeFlow, this$0, resultContinuation);
|
|
5870
5870
|
var l = function (value, $completion) {
|
|
5871
|
-
return i.
|
|
5871
|
+
return i.i2x(value, $completion);
|
|
5872
5872
|
};
|
|
5873
5873
|
l.$arity = 1;
|
|
5874
5874
|
return l;
|
|
5875
5875
|
}
|
|
5876
5876
|
function $collectCOROUTINE$1(_this__u8e3s4, collector, resultContinuation) {
|
|
5877
5877
|
CoroutineImpl.call(this, resultContinuation);
|
|
5878
|
-
this.
|
|
5879
|
-
this.
|
|
5878
|
+
this.s2x_1 = _this__u8e3s4;
|
|
5879
|
+
this.t2x_1 = collector;
|
|
5880
5880
|
}
|
|
5881
5881
|
protoOf($collectCOROUTINE$1).ya = function () {
|
|
5882
5882
|
var suspendResult = this.na_1;
|
|
@@ -5887,10 +5887,10 @@
|
|
|
5887
5887
|
case 0:
|
|
5888
5888
|
this.ma_1 = 2;
|
|
5889
5889
|
var tmp_0 = this;
|
|
5890
|
-
tmp_0.
|
|
5890
|
+
tmp_0.u2x_1 = this.t2x_1;
|
|
5891
5891
|
this.la_1 = 1;
|
|
5892
|
-
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.
|
|
5893
|
-
suspendResult = this.
|
|
5892
|
+
var tmp_1 = createStore$o$_get_observe_$o$collect$slambda_h8loug_0(this.u2x_1, this.s2x_1.w2x_1, null);
|
|
5893
|
+
suspendResult = this.s2x_1.v2x_1.n25(new sam$kotlinx_coroutines_flow_FlowCollector$0(tmp_1), this);
|
|
5894
5894
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
5895
5895
|
return suspendResult;
|
|
5896
5896
|
}
|
|
@@ -5913,10 +5913,10 @@
|
|
|
5913
5913
|
while (true);
|
|
5914
5914
|
};
|
|
5915
5915
|
function sam$kotlinx_coroutines_flow_FlowCollector$0(function_0) {
|
|
5916
|
-
this.
|
|
5916
|
+
this.x2x_1 = function_0;
|
|
5917
5917
|
}
|
|
5918
|
-
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).
|
|
5919
|
-
return this.
|
|
5918
|
+
protoOf(sam$kotlinx_coroutines_flow_FlowCollector$0).d26 = function (value, $completion) {
|
|
5919
|
+
return this.x2x_1(value, $completion);
|
|
5920
5920
|
};
|
|
5921
5921
|
function createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
5922
5922
|
return function (action) {
|
|
@@ -5931,46 +5931,46 @@
|
|
|
5931
5931
|
};
|
|
5932
5932
|
}
|
|
5933
5933
|
function _no_name_provided__qut3iv_1($this, this$0) {
|
|
5934
|
-
this.
|
|
5935
|
-
this.
|
|
5934
|
+
this.v2x_1 = $this;
|
|
5935
|
+
this.w2x_1 = this$0;
|
|
5936
5936
|
}
|
|
5937
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
5937
|
+
protoOf(_no_name_provided__qut3iv_1).y2x = function (collector, $completion) {
|
|
5938
5938
|
var tmp = new $collectCOROUTINE$1(this, collector, $completion);
|
|
5939
5939
|
tmp.na_1 = Unit_instance;
|
|
5940
5940
|
tmp.oa_1 = null;
|
|
5941
5941
|
return tmp.ya();
|
|
5942
5942
|
};
|
|
5943
|
-
protoOf(_no_name_provided__qut3iv_1).
|
|
5944
|
-
return this.
|
|
5943
|
+
protoOf(_no_name_provided__qut3iv_1).n25 = function (collector, $completion) {
|
|
5944
|
+
return this.y2x(collector, $completion);
|
|
5945
5945
|
};
|
|
5946
5946
|
function createStore$2($currentState, $currentReducer, $logger, $stateTrigger) {
|
|
5947
|
-
this.
|
|
5948
|
-
this.
|
|
5949
|
-
this.
|
|
5947
|
+
this.c2y_1 = $currentState;
|
|
5948
|
+
this.d2y_1 = $stateTrigger;
|
|
5949
|
+
this.z2x_1 = this;
|
|
5950
5950
|
var tmp = this;
|
|
5951
|
-
tmp.
|
|
5951
|
+
tmp.a2y_1 = createStore$o$dispatch$lambda($currentState, $currentReducer, $logger, $stateTrigger);
|
|
5952
5952
|
var tmp_0 = this;
|
|
5953
|
-
tmp_0.
|
|
5953
|
+
tmp_0.b2y_1 = createStore$o$replaceReducer$lambda($currentReducer, $currentState, $logger, $stateTrigger);
|
|
5954
5954
|
}
|
|
5955
|
-
protoOf(createStore$2).
|
|
5956
|
-
return this.
|
|
5955
|
+
protoOf(createStore$2).e2y = function () {
|
|
5956
|
+
return this.z2x_1;
|
|
5957
5957
|
};
|
|
5958
5958
|
protoOf(createStore$2).i1r = function () {
|
|
5959
|
-
return createStore$getState(this.
|
|
5959
|
+
return createStore$getState(this.c2y_1);
|
|
5960
5960
|
};
|
|
5961
|
-
protoOf(createStore$2).
|
|
5962
|
-
this.
|
|
5963
|
-
};
|
|
5964
|
-
protoOf(createStore$2).f2y = function () {
|
|
5965
|
-
return this.z2x_1;
|
|
5961
|
+
protoOf(createStore$2).f2y = function (_set____db54di) {
|
|
5962
|
+
this.a2y_1 = _set____db54di;
|
|
5966
5963
|
};
|
|
5967
5964
|
protoOf(createStore$2).g2y = function () {
|
|
5968
5965
|
return this.a2y_1;
|
|
5969
5966
|
};
|
|
5970
5967
|
protoOf(createStore$2).h2y = function () {
|
|
5968
|
+
return this.b2y_1;
|
|
5969
|
+
};
|
|
5970
|
+
protoOf(createStore$2).i2y = function () {
|
|
5971
5971
|
// Inline function 'kotlinx.coroutines.flow.map' call
|
|
5972
5972
|
// Inline function 'kotlinx.coroutines.flow.unsafeTransform' call
|
|
5973
|
-
var this_0 = this.
|
|
5973
|
+
var this_0 = this.d2y_1;
|
|
5974
5974
|
// Inline function 'kotlinx.coroutines.flow.internal.unsafeFlow' call
|
|
5975
5975
|
return new _no_name_provided__qut3iv_1(this_0, this);
|
|
5976
5976
|
};
|
|
@@ -6048,10 +6048,10 @@
|
|
|
6048
6048
|
return new middleware$1(dispatch);
|
|
6049
6049
|
}
|
|
6050
6050
|
function middleware$1($dispatch) {
|
|
6051
|
-
this.
|
|
6051
|
+
this.j2y_1 = $dispatch;
|
|
6052
6052
|
}
|
|
6053
|
-
protoOf(middleware$1).
|
|
6054
|
-
this.
|
|
6053
|
+
protoOf(middleware$1).r2u = function (store, next, action) {
|
|
6054
|
+
this.j2y_1(store, next, action);
|
|
6055
6055
|
};
|
|
6056
6056
|
function Reducer() {
|
|
6057
6057
|
}
|
|
@@ -6059,13 +6059,13 @@
|
|
|
6059
6059
|
return new combineReducers$1(reducers);
|
|
6060
6060
|
}
|
|
6061
6061
|
function combineReducers$1($reducers) {
|
|
6062
|
-
this.
|
|
6062
|
+
this.k2y_1 = $reducers;
|
|
6063
6063
|
}
|
|
6064
|
-
protoOf(combineReducers$1).
|
|
6064
|
+
protoOf(combineReducers$1).l2y = function (state, action) {
|
|
6065
6065
|
// Inline function 'kotlin.collections.fold' call
|
|
6066
6066
|
// Inline function 'kotlin.collections.filter' call
|
|
6067
6067
|
// Inline function 'kotlin.collections.filterTo' call
|
|
6068
|
-
var this_0 = this.
|
|
6068
|
+
var this_0 = this.k2y_1;
|
|
6069
6069
|
var destination = ArrayList_init_$Create$();
|
|
6070
6070
|
var inductionVariable = 0;
|
|
6071
6071
|
var last = this_0.length;
|
|
@@ -6073,7 +6073,7 @@
|
|
|
6073
6073
|
var element = this_0[inductionVariable];
|
|
6074
6074
|
inductionVariable = inductionVariable + 1 | 0;
|
|
6075
6075
|
// Inline function 'com.logic.redux.store.definitions.<no name provided>.reduce.<anonymous>' call
|
|
6076
|
-
if (element.
|
|
6076
|
+
if (element.s2u(action)) {
|
|
6077
6077
|
destination.s(element);
|
|
6078
6078
|
}
|
|
6079
6079
|
}
|
|
@@ -6083,12 +6083,12 @@
|
|
|
6083
6083
|
var element_0 = tmp0_iterator.y();
|
|
6084
6084
|
// Inline function 'com.logic.redux.store.definitions.<no name provided>.reduce.<anonymous>' call
|
|
6085
6085
|
var s = accumulator;
|
|
6086
|
-
accumulator = element_0.
|
|
6086
|
+
accumulator = element_0.u2w(s, action);
|
|
6087
6087
|
}
|
|
6088
6088
|
return accumulator;
|
|
6089
6089
|
};
|
|
6090
|
-
protoOf(combineReducers$1).
|
|
6091
|
-
return this.
|
|
6090
|
+
protoOf(combineReducers$1).u2w = function (state, action) {
|
|
6091
|
+
return this.l2y((state == null ? true : !(state == null)) ? state : THROW_CCE(), action);
|
|
6092
6092
|
};
|
|
6093
6093
|
function Store() {
|
|
6094
6094
|
}
|
|
@@ -6235,23 +6235,23 @@
|
|
|
6235
6235
|
Category_NONE_instance = new Category('NONE', 1, true);
|
|
6236
6236
|
}
|
|
6237
6237
|
function generateTag($this, tag) {
|
|
6238
|
-
return (!($this.
|
|
6238
|
+
return (!($this.c2u_1 == null) ? !(tag == null) : false) ? '' + $this.c2u_1 + ':' + tag : tag;
|
|
6239
6239
|
}
|
|
6240
6240
|
function Category(name, ordinal, isEnabled) {
|
|
6241
6241
|
Enum.call(this, name, ordinal);
|
|
6242
|
-
this.
|
|
6242
|
+
this.o2y_1 = isEnabled;
|
|
6243
6243
|
}
|
|
6244
6244
|
function Logger$loggerSource$1() {
|
|
6245
|
-
this.
|
|
6245
|
+
this.p2y_1 = new PlatformLogger();
|
|
6246
6246
|
}
|
|
6247
|
-
protoOf(Logger$loggerSource$1).
|
|
6248
|
-
this.
|
|
6247
|
+
protoOf(Logger$loggerSource$1).q2y = function (tag, msg) {
|
|
6248
|
+
this.p2y_1.q2y(tag, msg);
|
|
6249
6249
|
};
|
|
6250
|
-
protoOf(Logger$loggerSource$1).
|
|
6251
|
-
this.
|
|
6250
|
+
protoOf(Logger$loggerSource$1).r2y = function (tag, msg, exception) {
|
|
6251
|
+
this.p2y_1.r2y(tag, msg, exception);
|
|
6252
6252
|
};
|
|
6253
|
-
protoOf(Logger$loggerSource$1).
|
|
6254
|
-
this.
|
|
6253
|
+
protoOf(Logger$loggerSource$1).s2y = function (tag, msg) {
|
|
6254
|
+
this.p2y_1.s2y(tag, msg);
|
|
6255
6255
|
};
|
|
6256
6256
|
function Category_NONE_getInstance() {
|
|
6257
6257
|
Category_initEntries();
|
|
@@ -6260,56 +6260,56 @@
|
|
|
6260
6260
|
function Logger() {
|
|
6261
6261
|
Logger_instance = this;
|
|
6262
6262
|
var tmp = this;
|
|
6263
|
-
tmp.
|
|
6264
|
-
this.
|
|
6265
|
-
this.
|
|
6263
|
+
tmp.a2u_1 = new Logger$loggerSource$1();
|
|
6264
|
+
this.b2u_1 = true;
|
|
6265
|
+
this.c2u_1 = null;
|
|
6266
6266
|
}
|
|
6267
|
-
protoOf(Logger).
|
|
6268
|
-
this.
|
|
6267
|
+
protoOf(Logger).t2y = function (tag, message) {
|
|
6268
|
+
this.u2y(tag, message, Category_NONE_getInstance());
|
|
6269
6269
|
};
|
|
6270
|
-
protoOf(Logger).
|
|
6271
|
-
if (this.
|
|
6272
|
-
this.
|
|
6270
|
+
protoOf(Logger).v2y = function (tag, message, category) {
|
|
6271
|
+
if (this.b2u_1 ? category.o2y_1 : false) {
|
|
6272
|
+
this.a2u_1.s2y(generateTag(this, tag), message);
|
|
6273
6273
|
}
|
|
6274
6274
|
};
|
|
6275
|
-
protoOf(Logger).
|
|
6275
|
+
protoOf(Logger).w2y = function (tag, message, category, $super) {
|
|
6276
6276
|
tag = tag === VOID ? null : tag;
|
|
6277
6277
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
6278
6278
|
var tmp;
|
|
6279
6279
|
if ($super === VOID) {
|
|
6280
|
-
this.
|
|
6280
|
+
this.v2y(tag, message, category);
|
|
6281
6281
|
tmp = Unit_instance;
|
|
6282
6282
|
} else {
|
|
6283
|
-
tmp = $super.
|
|
6283
|
+
tmp = $super.v2y.call(this, tag, message, category);
|
|
6284
6284
|
}
|
|
6285
6285
|
return tmp;
|
|
6286
6286
|
};
|
|
6287
|
-
protoOf(Logger).
|
|
6288
|
-
if (this.
|
|
6289
|
-
this.
|
|
6287
|
+
protoOf(Logger).u2y = function (tag, message, category) {
|
|
6288
|
+
if (this.b2u_1 ? category.o2y_1 : false) {
|
|
6289
|
+
this.a2u_1.q2y(generateTag(this, tag), message);
|
|
6290
6290
|
}
|
|
6291
6291
|
};
|
|
6292
|
-
protoOf(Logger).
|
|
6293
|
-
if (this.
|
|
6292
|
+
protoOf(Logger).x2y = function (tag, message, exception, category) {
|
|
6293
|
+
if (this.b2u_1 ? category.o2y_1 : false) {
|
|
6294
6294
|
if (exception == null)
|
|
6295
6295
|
null;
|
|
6296
6296
|
else {
|
|
6297
6297
|
printStackTrace(exception);
|
|
6298
6298
|
}
|
|
6299
|
-
this.
|
|
6299
|
+
this.a2u_1.r2y(generateTag(this, tag), generateMsg(message, exception), exception);
|
|
6300
6300
|
}
|
|
6301
6301
|
};
|
|
6302
|
-
protoOf(Logger).
|
|
6302
|
+
protoOf(Logger).d2u = function (tag, message, exception, category, $super) {
|
|
6303
6303
|
tag = tag === VOID ? null : tag;
|
|
6304
6304
|
message = message === VOID ? null : message;
|
|
6305
6305
|
exception = exception === VOID ? null : exception;
|
|
6306
6306
|
category = category === VOID ? Category_NONE_getInstance() : category;
|
|
6307
6307
|
var tmp;
|
|
6308
6308
|
if ($super === VOID) {
|
|
6309
|
-
this.
|
|
6309
|
+
this.x2y(tag, message, exception, category);
|
|
6310
6310
|
tmp = Unit_instance;
|
|
6311
6311
|
} else {
|
|
6312
|
-
tmp = $super.
|
|
6312
|
+
tmp = $super.x2y.call(this, tag, message, exception, category);
|
|
6313
6313
|
}
|
|
6314
6314
|
return tmp;
|
|
6315
6315
|
};
|
|
@@ -6342,7 +6342,7 @@
|
|
|
6342
6342
|
}
|
|
6343
6343
|
function Companion_21() {
|
|
6344
6344
|
}
|
|
6345
|
-
protoOf(Companion_21).
|
|
6345
|
+
protoOf(Companion_21).y2y = function () {
|
|
6346
6346
|
return new CombinedGameLogger(mutableListOf([new PlatformGameLogger()]));
|
|
6347
6347
|
};
|
|
6348
6348
|
var Companion_instance_21;
|
|
@@ -6350,32 +6350,32 @@
|
|
|
6350
6350
|
return Companion_instance_21;
|
|
6351
6351
|
}
|
|
6352
6352
|
function CombinedGameLogger(logOutputs) {
|
|
6353
|
-
this.
|
|
6353
|
+
this.z2y_1 = logOutputs;
|
|
6354
6354
|
}
|
|
6355
|
-
protoOf(CombinedGameLogger).
|
|
6356
|
-
this.
|
|
6355
|
+
protoOf(CombinedGameLogger).a2z = function (output) {
|
|
6356
|
+
this.z2y_1.s(output);
|
|
6357
6357
|
};
|
|
6358
|
-
protoOf(CombinedGameLogger).
|
|
6358
|
+
protoOf(CombinedGameLogger).b2z = function (tag, message, payload) {
|
|
6359
6359
|
// Inline function 'kotlin.collections.forEach' call
|
|
6360
|
-
var tmp0_iterator = this.
|
|
6360
|
+
var tmp0_iterator = this.z2y_1.v();
|
|
6361
6361
|
while (tmp0_iterator.w()) {
|
|
6362
6362
|
var element = tmp0_iterator.y();
|
|
6363
6363
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.d.<anonymous>' call
|
|
6364
6364
|
element.d(tag, message, payload);
|
|
6365
6365
|
}
|
|
6366
6366
|
};
|
|
6367
|
-
protoOf(CombinedGameLogger).
|
|
6367
|
+
protoOf(CombinedGameLogger).c2z = function (tag, message, exception, payload) {
|
|
6368
6368
|
// Inline function 'kotlin.collections.forEach' call
|
|
6369
|
-
var tmp0_iterator = this.
|
|
6369
|
+
var tmp0_iterator = this.z2y_1.v();
|
|
6370
6370
|
while (tmp0_iterator.w()) {
|
|
6371
6371
|
var element = tmp0_iterator.y();
|
|
6372
6372
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.e.<anonymous>' call
|
|
6373
6373
|
element.e(tag, message, exception, payload);
|
|
6374
6374
|
}
|
|
6375
6375
|
};
|
|
6376
|
-
protoOf(CombinedGameLogger).
|
|
6376
|
+
protoOf(CombinedGameLogger).d2z = function (tag, message, payload) {
|
|
6377
6377
|
// Inline function 'kotlin.collections.forEach' call
|
|
6378
|
-
var tmp0_iterator = this.
|
|
6378
|
+
var tmp0_iterator = this.z2y_1.v();
|
|
6379
6379
|
while (tmp0_iterator.w()) {
|
|
6380
6380
|
var element = tmp0_iterator.y();
|
|
6381
6381
|
// Inline function 'com.logic.utils.logger.game.CombinedGameLogger.w.<anonymous>' call
|
|
@@ -6388,31 +6388,31 @@
|
|
|
6388
6388
|
}
|
|
6389
6389
|
function PlatformGameLogger(enabled) {
|
|
6390
6390
|
enabled = enabled === VOID ? true : enabled;
|
|
6391
|
-
this.
|
|
6391
|
+
this.e2z_1 = enabled;
|
|
6392
6392
|
}
|
|
6393
|
-
protoOf(PlatformGameLogger).
|
|
6394
|
-
this.
|
|
6393
|
+
protoOf(PlatformGameLogger).f2z = function (_set____db54di) {
|
|
6394
|
+
this.e2z_1 = _set____db54di;
|
|
6395
6395
|
};
|
|
6396
|
-
protoOf(PlatformGameLogger).
|
|
6397
|
-
return this.
|
|
6396
|
+
protoOf(PlatformGameLogger).g2z = function () {
|
|
6397
|
+
return this.e2z_1;
|
|
6398
6398
|
};
|
|
6399
|
-
protoOf(PlatformGameLogger).
|
|
6400
|
-
if (!this.
|
|
6399
|
+
protoOf(PlatformGameLogger).b2z = function (tag, message, payload) {
|
|
6400
|
+
if (!this.e2z_1)
|
|
6401
6401
|
return Unit_instance;
|
|
6402
|
-
Logger_getInstance().
|
|
6402
|
+
Logger_getInstance().t2y(tag, message);
|
|
6403
6403
|
};
|
|
6404
|
-
protoOf(PlatformGameLogger).
|
|
6405
|
-
if (!this.
|
|
6404
|
+
protoOf(PlatformGameLogger).c2z = function (tag, message, exception, payload) {
|
|
6405
|
+
if (!this.e2z_1)
|
|
6406
6406
|
return Unit_instance;
|
|
6407
|
-
Logger_getInstance().
|
|
6407
|
+
Logger_getInstance().d2u(tag, message, exception);
|
|
6408
6408
|
};
|
|
6409
|
-
protoOf(PlatformGameLogger).
|
|
6410
|
-
if (!this.
|
|
6409
|
+
protoOf(PlatformGameLogger).d2z = function (tag, message, payload) {
|
|
6410
|
+
if (!this.e2z_1)
|
|
6411
6411
|
return Unit_instance;
|
|
6412
|
-
Logger_getInstance().
|
|
6412
|
+
Logger_getInstance().w2y(tag, message);
|
|
6413
6413
|
};
|
|
6414
6414
|
function _get_$cachedSerializer__te6jhj_9($this) {
|
|
6415
|
-
return $this.
|
|
6415
|
+
return $this.h2z_1.o2();
|
|
6416
6416
|
}
|
|
6417
6417
|
function LogType$Companion$_anonymous__d4fjnz() {
|
|
6418
6418
|
return createSimpleEnumSerializer('com.logic.utils.logger.outputs.LogType', values_4());
|
|
@@ -6424,7 +6424,7 @@
|
|
|
6424
6424
|
Companion_instance_22 = this;
|
|
6425
6425
|
var tmp = this;
|
|
6426
6426
|
var tmp_0 = LazyThreadSafetyMode_PUBLICATION_getInstance();
|
|
6427
|
-
tmp.
|
|
6427
|
+
tmp.h2z_1 = lazy(tmp_0, LogType$Companion$_anonymous__d4fjnz);
|
|
6428
6428
|
}
|
|
6429
6429
|
protoOf(Companion_22).t16 = function () {
|
|
6430
6430
|
return _get_$cachedSerializer__te6jhj_9(this);
|
|
@@ -6499,7 +6499,7 @@
|
|
|
6499
6499
|
// Inline function 'kotlin.arrayOf' call
|
|
6500
6500
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6501
6501
|
// Inline function 'kotlin.js.asDynamic' call
|
|
6502
|
-
tmp.
|
|
6502
|
+
tmp.l2z_1 = [Companion_getInstance_24().t16(), null, null, null];
|
|
6503
6503
|
}
|
|
6504
6504
|
protoOf(Companion_23).t16 = function () {
|
|
6505
6505
|
return $serializer_getInstance_9();
|
|
@@ -6517,19 +6517,19 @@
|
|
|
6517
6517
|
tmp0_serialDesc.ku('tag', false);
|
|
6518
6518
|
tmp0_serialDesc.ku('message', false);
|
|
6519
6519
|
tmp0_serialDesc.ku('stackTrace', false);
|
|
6520
|
-
this.
|
|
6520
|
+
this.m2z_1 = tmp0_serialDesc;
|
|
6521
6521
|
}
|
|
6522
6522
|
protoOf($serializer_9).pj = function () {
|
|
6523
|
-
return this.
|
|
6523
|
+
return this.m2z_1;
|
|
6524
6524
|
};
|
|
6525
6525
|
protoOf($serializer_9).zu = function () {
|
|
6526
6526
|
// Inline function 'kotlin.arrayOf' call
|
|
6527
6527
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
6528
6528
|
// Inline function 'kotlin.js.asDynamic' call
|
|
6529
|
-
return [Companion_getInstance_25().
|
|
6529
|
+
return [Companion_getInstance_25().l2z_1[0], get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance()), get_nullable(StringSerializer_getInstance())];
|
|
6530
6530
|
};
|
|
6531
6531
|
protoOf($serializer_9).rj = function (decoder) {
|
|
6532
|
-
var tmp0_desc = this.
|
|
6532
|
+
var tmp0_desc = this.m2z_1;
|
|
6533
6533
|
var tmp1_flag = true;
|
|
6534
6534
|
var tmp2_index = 0;
|
|
6535
6535
|
var tmp3_bitMask0 = 0;
|
|
@@ -6538,7 +6538,7 @@
|
|
|
6538
6538
|
var tmp6_local2 = null;
|
|
6539
6539
|
var tmp7_local3 = null;
|
|
6540
6540
|
var tmp8_input = decoder.xm(tmp0_desc);
|
|
6541
|
-
var tmp9_cached = Companion_getInstance_25().
|
|
6541
|
+
var tmp9_cached = Companion_getInstance_25().l2z_1;
|
|
6542
6542
|
if (tmp8_input.nn()) {
|
|
6543
6543
|
tmp4_local0 = tmp8_input.jn(tmp0_desc, 0, tmp9_cached[0], tmp4_local0);
|
|
6544
6544
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -6578,10 +6578,10 @@
|
|
|
6578
6578
|
tmp8_input.ym(tmp0_desc);
|
|
6579
6579
|
return LoggerOutputDataDto_init_$Create$(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, tmp7_local3, null);
|
|
6580
6580
|
};
|
|
6581
|
-
protoOf($serializer_9).
|
|
6582
|
-
var tmp0_desc = this.
|
|
6581
|
+
protoOf($serializer_9).n2z = function (encoder, value) {
|
|
6582
|
+
var tmp0_desc = this.m2z_1;
|
|
6583
6583
|
var tmp1_output = encoder.xm(tmp0_desc);
|
|
6584
|
-
var tmp2_cached = Companion_getInstance_25().
|
|
6584
|
+
var tmp2_cached = Companion_getInstance_25().l2z_1;
|
|
6585
6585
|
tmp1_output.oo(tmp0_desc, 0, tmp2_cached[0], value.type);
|
|
6586
6586
|
tmp1_output.qo(tmp0_desc, 1, StringSerializer_getInstance(), value.tag);
|
|
6587
6587
|
tmp1_output.qo(tmp0_desc, 2, StringSerializer_getInstance(), value.message);
|
|
@@ -6589,7 +6589,7 @@
|
|
|
6589
6589
|
tmp1_output.ym(tmp0_desc);
|
|
6590
6590
|
};
|
|
6591
6591
|
protoOf($serializer_9).qj = function (encoder, value) {
|
|
6592
|
-
return this.
|
|
6592
|
+
return this.n2z(encoder, value instanceof LoggerOutputDataDto ? value : THROW_CCE());
|
|
6593
6593
|
};
|
|
6594
6594
|
var $serializer_instance_9;
|
|
6595
6595
|
function $serializer_getInstance_9() {
|
|
@@ -6599,7 +6599,7 @@
|
|
|
6599
6599
|
}
|
|
6600
6600
|
function LoggerOutputDataDto_init_$Init$(seen1, type, tag, message, stackTrace, serializationConstructorMarker, $this) {
|
|
6601
6601
|
if (!(15 === (15 & seen1))) {
|
|
6602
|
-
throwMissingFieldException(seen1, 15, $serializer_getInstance_9().
|
|
6602
|
+
throwMissingFieldException(seen1, 15, $serializer_getInstance_9().m2z_1);
|
|
6603
6603
|
}
|
|
6604
6604
|
$this.type = type;
|
|
6605
6605
|
$this.tag = tag;
|
|
@@ -6620,13 +6620,13 @@
|
|
|
6620
6620
|
protoOf(LoggerOutputDataDto).k1h = function () {
|
|
6621
6621
|
return this.type;
|
|
6622
6622
|
};
|
|
6623
|
-
protoOf(LoggerOutputDataDto).
|
|
6623
|
+
protoOf(LoggerOutputDataDto).u2k = function () {
|
|
6624
6624
|
return this.tag;
|
|
6625
6625
|
};
|
|
6626
6626
|
protoOf(LoggerOutputDataDto).q5 = function () {
|
|
6627
6627
|
return this.message;
|
|
6628
6628
|
};
|
|
6629
|
-
protoOf(LoggerOutputDataDto).
|
|
6629
|
+
protoOf(LoggerOutputDataDto).o2z = function () {
|
|
6630
6630
|
return this.stackTrace;
|
|
6631
6631
|
};
|
|
6632
6632
|
protoOf(LoggerOutputDataDto).toMessageLog = function () {
|
|
@@ -6642,10 +6642,10 @@
|
|
|
6642
6642
|
protoOf(LoggerOutputDataDto).qh = function () {
|
|
6643
6643
|
return this.message;
|
|
6644
6644
|
};
|
|
6645
|
-
protoOf(LoggerOutputDataDto).
|
|
6645
|
+
protoOf(LoggerOutputDataDto).m2k = function () {
|
|
6646
6646
|
return this.stackTrace;
|
|
6647
6647
|
};
|
|
6648
|
-
protoOf(LoggerOutputDataDto).
|
|
6648
|
+
protoOf(LoggerOutputDataDto).p2z = function (type, tag, message, stackTrace) {
|
|
6649
6649
|
return new LoggerOutputDataDto(type, tag, message, stackTrace);
|
|
6650
6650
|
};
|
|
6651
6651
|
protoOf(LoggerOutputDataDto).copy = function (type, tag, message, stackTrace, $super) {
|
|
@@ -6653,7 +6653,7 @@
|
|
|
6653
6653
|
tag = tag === VOID ? this.tag : tag;
|
|
6654
6654
|
message = message === VOID ? this.message : message;
|
|
6655
6655
|
stackTrace = stackTrace === VOID ? this.stackTrace : stackTrace;
|
|
6656
|
-
return this.
|
|
6656
|
+
return this.p2z(type, tag, message, stackTrace);
|
|
6657
6657
|
};
|
|
6658
6658
|
protoOf(LoggerOutputDataDto).toString = function () {
|
|
6659
6659
|
return 'LoggerOutputDataDto(type=' + this.type + ', tag=' + this.tag + ', message=' + this.message + ', stackTrace=' + this.stackTrace + ')';
|
|
@@ -6683,17 +6683,17 @@
|
|
|
6683
6683
|
};
|
|
6684
6684
|
function PlatformLogger() {
|
|
6685
6685
|
}
|
|
6686
|
-
protoOf(PlatformLogger).
|
|
6686
|
+
protoOf(PlatformLogger).q2y = function (tag, msg) {
|
|
6687
6687
|
console.log(getLogTag(tag) + ': ' + msg);
|
|
6688
6688
|
};
|
|
6689
|
-
protoOf(PlatformLogger).
|
|
6689
|
+
protoOf(PlatformLogger).r2y = function (tag, msg, exception) {
|
|
6690
6690
|
if (!(exception == null)) {
|
|
6691
6691
|
console.error(getLogTag(tag) + ': ' + msg + ', exception: ' + exception);
|
|
6692
6692
|
} else {
|
|
6693
6693
|
console.error(getLogTag(tag) + ': ' + msg);
|
|
6694
6694
|
}
|
|
6695
6695
|
};
|
|
6696
|
-
protoOf(PlatformLogger).
|
|
6696
|
+
protoOf(PlatformLogger).s2y = function (tag, msg) {
|
|
6697
6697
|
console.warn(getLogTag(tag) + ': ' + msg);
|
|
6698
6698
|
};
|
|
6699
6699
|
//region block: post-declaration
|
|
@@ -6706,82 +6706,82 @@
|
|
|
6706
6706
|
protoOf($serializer_3).av = typeParametersSerializers;
|
|
6707
6707
|
protoOf($serializer_4).av = typeParametersSerializers;
|
|
6708
6708
|
defineProp(protoOf(GameUserInfo), 'playerId', function () {
|
|
6709
|
-
return this.
|
|
6709
|
+
return this.t2k();
|
|
6710
6710
|
});
|
|
6711
6711
|
defineProp(protoOf(PlayerIndex), 'playerId', function () {
|
|
6712
|
-
return this.
|
|
6712
|
+
return this.t2k();
|
|
6713
6713
|
});
|
|
6714
|
-
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).
|
|
6715
|
-
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).
|
|
6716
|
-
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).
|
|
6717
|
-
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).
|
|
6718
|
-
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).
|
|
6719
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).
|
|
6720
|
-
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).
|
|
6721
|
-
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).
|
|
6714
|
+
defineProp(protoOf(PlayerConnectionState), 'isLive', protoOf(PlayerConnectionState).c2n);
|
|
6715
|
+
defineProp(protoOf(PlayerConnectionState), 'isTimeOut', protoOf(PlayerConnectionState).d2n);
|
|
6716
|
+
defineProp(protoOf(PlayerConnectionState), 'isLostConnection', protoOf(PlayerConnectionState).e2n);
|
|
6717
|
+
defineProp(protoOf(PlayerConnectionState), 'isLeft', protoOf(PlayerConnectionState).f2n);
|
|
6718
|
+
defineProp(protoOf(PlayerConnectionState), 'isDeleted', protoOf(PlayerConnectionState).g2n);
|
|
6719
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnecting', protoOf(PlayerConnectionState).h2n);
|
|
6720
|
+
defineProp(protoOf(PlayerConnectionState), 'isNotAlive', protoOf(PlayerConnectionState).i2n);
|
|
6721
|
+
defineProp(protoOf(PlayerConnectionState), 'isDisconnected', protoOf(PlayerConnectionState).j2n);
|
|
6722
6722
|
defineProp(protoOf(PlayerConnectionState), 'name', protoOf(PlayerConnectionState).g9);
|
|
6723
6723
|
defineProp(protoOf(PlayerConnectionState), 'ordinal', protoOf(PlayerConnectionState).h9);
|
|
6724
6724
|
defineProp(protoOf(PlayerLuckyFactor), 'playerId', function () {
|
|
6725
|
-
return this.
|
|
6725
|
+
return this.t2k();
|
|
6726
6726
|
});
|
|
6727
6727
|
defineProp(protoOf(RulesSetType), 'name', protoOf(RulesSetType).g9);
|
|
6728
6728
|
defineProp(protoOf(RulesSetType), 'ordinal', protoOf(RulesSetType).h9);
|
|
6729
|
-
protoOf(BufferedActionDto).
|
|
6729
|
+
protoOf(BufferedActionDto).j2p = get_actionTag;
|
|
6730
6730
|
defineProp(protoOf(BufferedActionDto), 'actionTag', function () {
|
|
6731
|
-
return this.
|
|
6731
|
+
return this.j2p();
|
|
6732
6732
|
});
|
|
6733
6733
|
protoOf($serializer_5).av = typeParametersSerializers;
|
|
6734
6734
|
protoOf($serializer_6).av = typeParametersSerializers;
|
|
6735
6735
|
protoOf($serializer_7).av = typeParametersSerializers;
|
|
6736
6736
|
protoOf($serializer_8).av = typeParametersSerializers;
|
|
6737
|
-
protoOf(AsyncProviderImpl).
|
|
6738
|
-
protoOf(AsyncProviderImpl).
|
|
6739
|
-
protoOf(AsyncProviderImpl).
|
|
6740
|
-
protoOf(AsyncProviderImpl).
|
|
6741
|
-
protoOf(TimerAction).
|
|
6737
|
+
protoOf(AsyncProviderImpl).l2r = launchMain$default;
|
|
6738
|
+
protoOf(AsyncProviderImpl).h2r = launchDefault$default;
|
|
6739
|
+
protoOf(AsyncProviderImpl).f2r = launchUnconfinedWithLock$default;
|
|
6740
|
+
protoOf(AsyncProviderImpl).j2r = launchDefaultWithLock$default;
|
|
6741
|
+
protoOf(TimerAction).j2p = get_actionTag;
|
|
6742
6742
|
defineProp(protoOf(TimerAction), 'actionTag', function () {
|
|
6743
|
-
return this.
|
|
6743
|
+
return this.j2p();
|
|
6744
6744
|
});
|
|
6745
6745
|
defineProp(protoOf(StartTimerAction), 'actionTag', function () {
|
|
6746
|
-
return this.
|
|
6746
|
+
return this.j2p();
|
|
6747
6747
|
});
|
|
6748
6748
|
defineProp(protoOf(TimerTickAction), 'actionTag', function () {
|
|
6749
|
-
return this.
|
|
6749
|
+
return this.j2p();
|
|
6750
6750
|
});
|
|
6751
6751
|
protoOf(StopTimerAction).notValidateWhenFinishing = notValidateWhenFinishing;
|
|
6752
6752
|
protoOf(StopTimerAction).notValidateWhenFinished = notValidateWhenFinished;
|
|
6753
6753
|
defineProp(protoOf(StopTimerAction), 'actionTag', function () {
|
|
6754
|
-
return this.
|
|
6754
|
+
return this.j2p();
|
|
6755
6755
|
});
|
|
6756
6756
|
defineProp(protoOf(createStore$2), 'store', function () {
|
|
6757
|
-
return this.
|
|
6757
|
+
return this.e2y();
|
|
6758
6758
|
});
|
|
6759
6759
|
defineProp(protoOf(createStore$2), 'state', function () {
|
|
6760
6760
|
return this.i1r();
|
|
6761
6761
|
});
|
|
6762
6762
|
defineProp(protoOf(createStore$2), 'dispatch', function () {
|
|
6763
|
-
return this.
|
|
6763
|
+
return this.g2y();
|
|
6764
6764
|
}, function (value) {
|
|
6765
|
-
this.
|
|
6765
|
+
this.f2y(value);
|
|
6766
6766
|
});
|
|
6767
6767
|
defineProp(protoOf(createStore$2), 'replaceReducer', function () {
|
|
6768
|
-
return this.
|
|
6768
|
+
return this.h2y();
|
|
6769
6769
|
});
|
|
6770
6770
|
defineProp(protoOf(createStore$2), 'observe', function () {
|
|
6771
|
-
return this.
|
|
6771
|
+
return this.i2y();
|
|
6772
6772
|
});
|
|
6773
|
-
protoOf(ActionTypes).
|
|
6773
|
+
protoOf(ActionTypes).j2p = get_actionTag;
|
|
6774
6774
|
defineProp(protoOf(ActionTypes), 'actionTag', function () {
|
|
6775
|
-
return this.
|
|
6775
|
+
return this.j2p();
|
|
6776
6776
|
});
|
|
6777
6777
|
defineProp(protoOf(INIT), 'actionTag', function () {
|
|
6778
|
-
return this.
|
|
6778
|
+
return this.j2p();
|
|
6779
6779
|
});
|
|
6780
6780
|
defineProp(protoOf(REPLACE), 'actionTag', function () {
|
|
6781
|
-
return this.
|
|
6781
|
+
return this.j2p();
|
|
6782
6782
|
});
|
|
6783
|
-
protoOf(middleware$1).
|
|
6784
|
-
protoOf(combineReducers$1).
|
|
6783
|
+
protoOf(middleware$1).s2u = canHandle;
|
|
6784
|
+
protoOf(combineReducers$1).s2u = canHandle_0;
|
|
6785
6785
|
protoOf(CombinedGameLogger).d = d;
|
|
6786
6786
|
protoOf(CombinedGameLogger).e = e;
|
|
6787
6787
|
protoOf(CombinedGameLogger).w = w;
|
|
@@ -6789,9 +6789,9 @@
|
|
|
6789
6789
|
protoOf(PlatformGameLogger).e = e;
|
|
6790
6790
|
protoOf(PlatformGameLogger).w = w;
|
|
6791
6791
|
defineProp(protoOf(PlatformGameLogger), 'enabled', function () {
|
|
6792
|
-
return this.
|
|
6792
|
+
return this.g2z();
|
|
6793
6793
|
}, function (value) {
|
|
6794
|
-
this.
|
|
6794
|
+
this.f2z(value);
|
|
6795
6795
|
});
|
|
6796
6796
|
defineProp(protoOf(LogType), 'name', protoOf(LogType).g9);
|
|
6797
6797
|
defineProp(protoOf(LogType), 'ordinal', protoOf(LogType).h9);
|